vue-data-ui 3.1.1 → 3.1.3

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 (95) hide show
  1. package/dist/{Arrow-xQM7mBzd.js → Arrow-DBaAWGvq.js} +1 -1
  2. package/dist/{BaseDraggableDialog-B2BQC0-h.js → BaseDraggableDialog-BmN9jTP8.js} +2 -2
  3. package/dist/{BaseIcon-DLesaZpW.js → BaseIcon-BcOSijbz.js} +5 -3
  4. package/dist/{ColorPicker-BKvJvFtX.js → ColorPicker-D1yNPt76.js} +2 -2
  5. package/dist/{DataTable-BAf4Obr9.js → DataTable-Cm8Tt9PQ.js} +2 -2
  6. package/dist/Legend-5qvgVkrY.js +85 -0
  7. package/dist/{NonSvgPenAndPaper-Cq4fHmA0.js → NonSvgPenAndPaper-D3QGd7vP.js} +3 -3
  8. package/dist/{PackageVersion-Cv_ypT0N.js → PackageVersion-0XlRFsI_.js} +1 -1
  9. package/dist/{PenAndPaper-B6OvfyHH.js → PenAndPaper-CyH7Ip2i.js} +3 -3
  10. package/dist/{Shape-Cjca5zta.js → Shape-DiplSMFy.js} +1 -1
  11. package/dist/{Slicer-6w3K8gAc.js → Slicer-DG99wPTy.js} +11 -9
  12. package/dist/{SparkTooltip-BV4Z-NMp.js → SparkTooltip-VveQSwlw.js} +1 -1
  13. package/dist/Title-CqYBs02Y.js +88 -0
  14. package/dist/{Tooltip-BTGOEC7w.js → Tooltip-CP0tVHAf.js} +1 -1
  15. package/dist/{UserOptions-CsDlFB0L.js → UserOptions-ZmwlARCV.js} +125 -108
  16. package/dist/{dom-to-png-BOu5-Ohz.js → dom-to-png-DGA4a3xT.js} +1 -1
  17. package/dist/{img-gBDz7xQQ.js → img-DSrvx9J6.js} +1 -1
  18. package/dist/{index-BKQqb9lF.js → index-CaxArMHL.js} +97 -74
  19. package/dist/pdf-BG8PiGFH.js +79 -0
  20. package/dist/style.css +1 -1
  21. package/dist/types/vue-data-ui.d.cts +28 -3
  22. package/dist/types/vue-data-ui.d.ts +28 -3
  23. package/dist/{useAutoSizeLabelsInsideViewbox-IO2dh0Uq.js → useAutoSizeLabelsInsideViewbox-DmtFf4bt.js} +1 -1
  24. package/dist/{useNestedProp-aBOhgs4U.js → useNestedProp-tWT02_6S.js} +1 -1
  25. package/dist/{usePrinter-BzuXiubT.js → usePrinter-BYtPmEo8.js} +13 -12
  26. package/dist/{vue-data-ui-B6eM6hF3.js → vue-data-ui-DVb8r5z7.js} +64 -64
  27. package/dist/vue-data-ui.js +1 -1
  28. package/dist/{vue-ui-3d-bar-DBeWmnvH.js → vue-ui-3d-bar-BLKyWpz7.js} +371 -366
  29. package/dist/{vue-ui-accordion-B5QeV3BK.js → vue-ui-accordion-DUlNpLir.js} +3 -3
  30. package/dist/{vue-ui-age-pyramid-rZFdUsgz.js → vue-ui-age-pyramid-LLqbXP1m.js} +200 -195
  31. package/dist/{vue-ui-annotator-CCCuslrT.js → vue-ui-annotator-CcYIlcKF.js} +2 -2
  32. package/dist/{vue-ui-bullet-DhJf9mvK.js → vue-ui-bullet-BKmts_u4.js} +7 -7
  33. package/dist/{vue-ui-candlestick-CGVtDKqZ.js → vue-ui-candlestick-C9l_NpXu.js} +225 -220
  34. package/dist/{vue-ui-carousel-table-DLAR3WY8.js → vue-ui-carousel-table-H7xS6aBC.js} +4 -4
  35. package/dist/{vue-ui-chestnut-BXnSxoXB.js → vue-ui-chestnut-CAW0IOdY.js} +344 -340
  36. package/dist/{vue-ui-chord-DH_MwAKX.js → vue-ui-chord-CK5YhCqM.js} +272 -266
  37. package/dist/{vue-ui-circle-pack-Cx_E1R63.js → vue-ui-circle-pack-NLyZgTGF.js} +6 -6
  38. package/dist/{vue-ui-cursor-CEvH1qDS.js → vue-ui-cursor-CyGUrKWU.js} +2 -2
  39. package/dist/vue-ui-dashboard-Cf5pvEzD.js +412 -0
  40. package/dist/{vue-ui-digits-PTozKs3l.js → vue-ui-digits-BZWwwp7c.js} +2 -2
  41. package/dist/{vue-ui-donut-evolution-DD7o-CxF.js → vue-ui-donut-evolution-CaEYMVZj.js} +310 -304
  42. package/dist/{vue-ui-donut-CsEtKJJD.js → vue-ui-donut-g1WHrj6G.js} +348 -343
  43. package/dist/{vue-ui-dumbbell-DfPYl3fu.js → vue-ui-dumbbell-BArS1nXS.js} +293 -287
  44. package/dist/{vue-ui-flow-CSTTZHwg.js → vue-ui-flow-BR0CB5qt.js} +263 -257
  45. package/dist/{vue-ui-funnel-C-NUZqIo.js → vue-ui-funnel-D2OCItvq.js} +206 -200
  46. package/dist/{vue-ui-galaxy-BwsZnU6T.js → vue-ui-galaxy-qgGF1AAf.js} +243 -238
  47. package/dist/{vue-ui-gauge-D9MUneq0.js → vue-ui-gauge-BIXmGyQL.js} +7 -7
  48. package/dist/{vue-ui-gizmo-Dnzs9wSf.js → vue-ui-gizmo-DHEoS051.js} +3 -3
  49. package/dist/{vue-ui-heatmap-CYaQIhy8.js → vue-ui-heatmap-tRzq9BnI.js} +405 -401
  50. package/dist/{vue-ui-history-plot-DMTFzl-_.js → vue-ui-history-plot-DmwHhrDk.js} +305 -299
  51. package/dist/{vue-ui-kpi-CkPotdff.js → vue-ui-kpi-C2b2R5i1.js} +3 -3
  52. package/dist/{vue-ui-mini-loader-CCE-bDOJ.js → vue-ui-mini-loader-Bs1Mi1tD.js} +2 -2
  53. package/dist/{vue-ui-molecule-DaN5lroq.js → vue-ui-molecule-BsUvf2v7.js} +188 -183
  54. package/dist/{vue-ui-mood-radar-tM0mmZh8.js → vue-ui-mood-radar-D3JIpVvX.js} +197 -192
  55. package/dist/{vue-ui-nested-donuts-RB4r6beI.js → vue-ui-nested-donuts-dJEgQXTH.js} +326 -320
  56. package/dist/{vue-ui-onion-CxDozHg3.js → vue-ui-onion-D8dF1DdA.js} +8 -8
  57. package/dist/{vue-ui-parallel-coordinate-plot-CK9nNExU.js → vue-ui-parallel-coordinate-plot-LmFsg7UA.js} +401 -395
  58. package/dist/{vue-ui-quadrant-C7tLJYn7.js → vue-ui-quadrant-C4O8ki4N.js} +339 -334
  59. package/dist/{vue-ui-quick-chart-MUBAkrHb.js → vue-ui-quick-chart-6bEtTQBG.js} +6 -6
  60. package/dist/{vue-ui-radar-Br4K80I9.js → vue-ui-radar-CfjGWGk3.js} +248 -243
  61. package/dist/{vue-ui-rating-NtvT9r_M.js → vue-ui-rating-D3WSs2OD.js} +2 -2
  62. package/dist/{vue-ui-relation-circle-CPQjAy1g.js → vue-ui-relation-circle-DzTfi7Tf.js} +7 -7
  63. package/dist/{vue-ui-ridgeline-C2M_Cjlh.js → vue-ui-ridgeline-NtYOJvDy.js} +267 -263
  64. package/dist/{vue-ui-rings-DEru-cWN.js → vue-ui-rings-CYQ4i71V.js} +229 -224
  65. package/dist/{vue-ui-scatter-CJKkiKle.js → vue-ui-scatter-meJEHdAD.js} +359 -354
  66. package/dist/{vue-ui-skeleton--twnjS2t.js → vue-ui-skeleton-BtILTxx-.js} +3 -3
  67. package/dist/{vue-ui-smiley-CNccdPZ7.js → vue-ui-smiley-B5bELpYD.js} +2 -2
  68. package/dist/{vue-ui-spark-trend-9BFkkC0u.js → vue-ui-spark-trend-lixdWq_N.js} +3 -3
  69. package/dist/{vue-ui-sparkbar-RYAThoA4.js → vue-ui-sparkbar-CaGPav-J.js} +3 -3
  70. package/dist/{vue-ui-sparkgauge-DkPlmgMF.js → vue-ui-sparkgauge-BZBGYDjs.js} +3 -3
  71. package/dist/{vue-ui-sparkhistogram-6EkCyYRF.js → vue-ui-sparkhistogram-Bp6KxpjH.js} +4 -4
  72. package/dist/{vue-ui-sparkline-Bl3nj8zd.js → vue-ui-sparkline-CF-EAZa6.js} +3 -3
  73. package/dist/{vue-ui-sparkstackbar-B88lA7iy.js → vue-ui-sparkstackbar-Cj1LAYC8.js} +3 -3
  74. package/dist/{vue-ui-stackbar-Csj7NhT6.js → vue-ui-stackbar-BrzKhqAK.js} +310 -304
  75. package/dist/{vue-ui-strip-plot-yY9NsUUI.js → vue-ui-strip-plot-BfVVaSFn.js} +246 -240
  76. package/dist/{vue-ui-table-Dg6U31ex.js → vue-ui-table-CBzNgzVP.js} +3 -3
  77. package/dist/{vue-ui-table-heatmap-BWU7CAWP.js → vue-ui-table-heatmap-CKz5bA7N.js} +5 -5
  78. package/dist/{vue-ui-table-sparkline-DV4Y9aRL.js → vue-ui-table-sparkline-O-Z0YH6u.js} +4 -4
  79. package/dist/{vue-ui-thermometer-C3fKamV-.js → vue-ui-thermometer-DpNyTGNH.js} +7 -7
  80. package/dist/{vue-ui-timer-6VAK9XyF.js → vue-ui-timer-uvshaRMI.js} +5 -5
  81. package/dist/{vue-ui-tiremarks-BB-KAkF7.js → vue-ui-tiremarks-A8Akuz-q.js} +6 -6
  82. package/dist/{vue-ui-treemap-GrXkD_3Z.js → vue-ui-treemap-Dvmuo3tM.js} +262 -256
  83. package/dist/{vue-ui-vertical-bar-Mmz6u4aX.js → vue-ui-vertical-bar-eMgRMSKN.js} +310 -306
  84. package/dist/{vue-ui-waffle-DzPVRUOA.js → vue-ui-waffle-Cm8VfnG8.js} +257 -252
  85. package/dist/{vue-ui-wheel-idRCvS5t.js → vue-ui-wheel-Bhsklf_m.js} +6 -6
  86. package/dist/vue-ui-word-cloud-C9HGLsG4.js +817 -0
  87. package/dist/{vue-ui-world-D6s5Eph8.js → vue-ui-world-B_MrjwGJ.js} +257 -252
  88. package/dist/{vue-ui-xy-BKTGSvfU.js → vue-ui-xy-DnYJw2aS.js} +1448 -1438
  89. package/dist/{vue-ui-xy-canvas-BOQyxVRl.js → vue-ui-xy-canvas-C0Snw0Dz.js} +235 -229
  90. package/package.json +1 -1
  91. package/dist/Legend-8_V5egWW.js +0 -72
  92. package/dist/Title-Dz-j6ERs.js +0 -61
  93. package/dist/pdf-Cjsn5GEE.js +0 -61
  94. package/dist/vue-ui-dashboard-CvduVgEy.js +0 -325
  95. package/dist/vue-ui-word-cloud-B2641uNP.js +0 -811
@@ -1,20 +1,20 @@
1
- import { defineAsyncComponent as O, ref as v, shallowRef as Re, computed as y, onMounted as St, onBeforeUnmount as Tt, toRefs as Mt, watch as K, watchEffect as zt, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as $, normalizeClass as F, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as he, createSlots as Ye, withCtx as m, normalizeProps as B, guardReactiveProps as R, Fragment as b, renderList as g, toDisplayString as T, Teleport as Nt, resolveDynamicComponent as Ot, mergeProps as It, createTextVNode as Ee, nextTick as Pt } from "vue";
2
- import { u as Ft, c as He, o as We, f as je, g as Dt, t as Xt, d as Bt, e as Rt, p as Q, D as Ue, k as Y, i as E, X as Yt, l as Et, j as Ht, I as Wt, F as jt, E as D, a as Ut, b as Gt, C as ee, v as Vt, w as qt, y as Zt } from "./index-BKQqb9lF.js";
3
- import { t as Ge, u as Jt } from "./useResponsive-DfdjqQps.js";
4
- import { u as Kt, B as Qt } from "./BaseScanner-BgWxam9d.js";
5
- import { u as el } from "./usePrinter-BzuXiubT.js";
6
- import { u as Ve } from "./useNestedProp-aBOhgs4U.js";
7
- import { u as tl } from "./useUserOptionState-BIvW1Kz7.js";
8
- import { u as ll } from "./useChartAccessibility-9icAAmYg.js";
9
- import { u as al } from "./useTimeLabelCollider-CIsgDrl9.js";
10
- import sl from "./img-gBDz7xQQ.js";
11
- import ol from "./Title-Dz-j6ERs.js";
12
- import rl from "./Legend-8_V5egWW.js";
13
- import { _ as nl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
- const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "width", "height"], hl = { key: 1 }, dl = ["id"], yl = ["stop-color"], fl = ["stop-color"], xl = ["stop-color"], pl = { key: 2 }, ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], bl = { key: 3 }, gl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], kl = ["x", "y", "fill", "font-size"], wl = ["transform", "font-size", "fill", "font-weight"], Cl = { key: 6 }, Al = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], _l = { key: 7 }, $l = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Ll = ["transform", "fill", "font-size", "text-anchor"], Sl = ["x", "y", "font-size", "fill", "font-weight"], Tl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ml = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], zl = ["d", "stroke", "stroke-width"], Nl = ["d", "stroke", "stroke-width"], Ol = ["cx", "cy", "fill", "r"], Il = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Pl = { key: 1 }, Fl = ["x", "y", "font-size", "fill", "font-weight"], Dl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Xl = { key: 2 }, Bl = ["x", "y", "font-size", "font-weight", "fill"], Rl = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Yl = {
1
+ import { defineAsyncComponent as O, ref as v, shallowRef as Ee, computed as y, onMounted as Mt, onBeforeUnmount as zt, toRefs as Nt, watch as K, watchEffect as Ot, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as L, normalizeClass as D, renderSlot as p, createBlock as I, createCommentVNode as h, createElementVNode as _, createVNode as de, createSlots as He, withCtx as b, normalizeProps as R, guardReactiveProps as B, Fragment as m, renderList as g, toDisplayString as T, Teleport as It, resolveDynamicComponent as Pt, mergeProps as Dt, createTextVNode as We, nextTick as Ft } from "vue";
2
+ import { u as Xt, c as je, o as Ue, f as Ge, g as Rt, t as Bt, d as Yt, e as Et, p as Q, D as Ve, k as Y, i as E, X as Ht, l as Wt, j as jt, I as Ut, F as Gt, E as F, a as Vt, b as qt, C as ee, v as Zt, w as Jt, y as Kt } from "./index-CaxArMHL.js";
3
+ import { t as qe, u as Qt } from "./useResponsive-DfdjqQps.js";
4
+ import { u as el, B as tl } from "./BaseScanner-BgWxam9d.js";
5
+ import { u as ll } from "./usePrinter-BYtPmEo8.js";
6
+ import { u as Ze } from "./useNestedProp-tWT02_6S.js";
7
+ import { u as al } from "./useUserOptionState-BIvW1Kz7.js";
8
+ import { u as sl } from "./useChartAccessibility-9icAAmYg.js";
9
+ import { u as ol } from "./useTimeLabelCollider-CIsgDrl9.js";
10
+ import rl from "./img-DSrvx9J6.js";
11
+ import nl from "./Title-CqYBs02Y.js";
12
+ import il from "./Legend-5qvgVkrY.js";
13
+ import { _ as ul } from "./_plugin-vue_export-helper-CHgC5LLL.js";
14
+ const cl = ["id"], vl = ["id"], hl = ["xmlns", "viewBox"], dl = ["x", "y", "width", "height"], yl = { key: 1 }, fl = ["id"], xl = ["stop-color"], pl = ["stop-color"], bl = ["stop-color"], ml = { key: 2 }, gl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], kl = { key: 3 }, wl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Cl = ["x", "y", "fill", "font-size"], Al = ["transform", "font-size", "fill", "font-weight"], _l = { key: 6 }, Ll = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], $l = { key: 7 }, Sl = ["stroke", "stroke-width", "x1", "x2", "y1", "y2"], Tl = ["transform", "fill", "font-size", "text-anchor"], Ml = ["x", "y", "font-size", "fill", "font-weight"], zl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Nl = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ol = ["d", "stroke", "stroke-width"], Il = ["d", "stroke", "stroke-width"], Pl = ["cx", "cy", "fill", "r"], Dl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Fl = { key: 1 }, Xl = ["x", "y", "font-size", "fill", "font-weight"], Rl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], Bl = { key: 2 }, Yl = ["x", "y", "font-size", "font-weight", "fill"], El = ["cx", "cy", "r", "onMouseenter", "onMouseleave", "onClick"], Hl = {
15
15
  key: 4,
16
16
  class: "vue-data-ui-watermark"
17
- }, El = ["id"], Hl = ["onClick"], Wl = ["innerHTML"], jl = {
17
+ }, Wl = ["id"], jl = ["onClick"], Ul = ["innerHTML"], Gl = {
18
18
  __name: "vue-ui-history-plot",
19
19
  props: {
20
20
  config: {
@@ -31,80 +31,80 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
31
31
  }
32
32
  },
33
33
  emits: ["selectLegend", "selectDatapoint"],
34
- setup(qe, { expose: Ze, emit: Je }) {
35
- const Ke = O(() => import("./Tooltip-BTGOEC7w.js")), Qe = O(() => import("./BaseIcon-DLesaZpW.js")), et = O(() => import("./vue-ui-accordion-B5QeV3BK.js")), tt = O(() => import("./DataTable-BAf4Obr9.js")), lt = O(() => import("./PenAndPaper-B6OvfyHH.js")), at = O(() => import("./UserOptions-CsDlFB0L.js")), st = O(() => import("./PackageVersion-Cv_ypT0N.js")), ot = O(() => import("./BaseDraggableDialog-B2BQC0-h.js")), { vue_ui_history_plot: rt } = Ft(), d = qe, L = v(null), de = v(null), ye = v(0), fe = v(null), xe = v(0), pe = v(0), me = v(0), M = Re(null), X = Re(null), be = v(null), S = v(He()), te = v(!1), le = v(""), C = v([]), H = v(!1), A = v(null), W = v(!1), ge = v(null), ke = v(!1), j = v(null), ae = v(null), se = v(null), G = v(null), oe = v(null), V = y({
34
+ setup(Je, { expose: Ke, emit: Qe }) {
35
+ const et = O(() => import("./Tooltip-CP0tVHAf.js")), tt = O(() => import("./BaseIcon-BcOSijbz.js")), lt = O(() => import("./vue-ui-accordion-DUlNpLir.js")), at = O(() => import("./DataTable-Cm8Tt9PQ.js")), st = O(() => import("./PenAndPaper-CyH7Ip2i.js")), ot = O(() => import("./UserOptions-ZmwlARCV.js")), rt = O(() => import("./PackageVersion-0XlRFsI_.js")), nt = O(() => import("./BaseDraggableDialog-BmN9jTP8.js")), { vue_ui_history_plot: it } = Xt(), d = Je, $ = v(null), ye = v(null), fe = v(0), xe = v(null), pe = v(0), be = v(0), me = v(0), M = Ee(null), X = Ee(null), ge = v(null), S = v(je()), te = v(!1), le = v(""), w = v([]), H = v(!1), A = v(null), W = v(!1), ke = v(null), we = v(!1), j = v(null), ae = v(null), se = v(null), oe = v(null), G = v(null), re = v(null), V = y({
36
36
  get: () => !!d.dataset && d.dataset.length,
37
37
  set: (t) => t
38
- }), we = Je;
39
- St(() => {
40
- ke.value = !0, Ae();
38
+ }), Ce = Qe;
39
+ Mt(() => {
40
+ we.value = !0, _e();
41
41
  });
42
- const Ce = y(() => !!e.value.debug);
43
- function Ae() {
44
- if (We(d.dataset) ? (je({
42
+ const Ae = y(() => !!e.value.debug);
43
+ function _e() {
44
+ if (Ue(d.dataset) ? (Ge({
45
45
  componentName: "VueUiHistoryPlot",
46
46
  type: "dataset",
47
- debug: Ce.value
48
- }), ne.value = !0) : d.dataset.forEach((t, a) => {
49
- Dt({
47
+ debug: Ae.value
48
+ }), ie.value = !0) : d.dataset.forEach((t, a) => {
49
+ Rt({
50
50
  datasetObject: t,
51
51
  requiredAttributes: ["name", "values"]
52
52
  }).forEach((l) => {
53
- V.value = !1, je({
53
+ V.value = !1, Ge({
54
54
  componentName: "VueUiHistoryPlot",
55
55
  type: "datasetSerieAttribute",
56
56
  property: l,
57
57
  index: a,
58
- debug: Ce.value
58
+ debug: Ae.value
59
59
  });
60
60
  });
61
- }), We(d.dataset) || (ne.value = e.value.loading), e.value.responsive) {
62
- const t = Ge(() => {
63
- const { width: a, height: l } = Jt({
64
- chart: L.value,
65
- title: e.value.style.chart.title.text ? de.value : null,
66
- noTitle: be.value,
67
- legend: e.value.style.chart.legend.show ? fe.value : null,
68
- source: ge.value
61
+ }), Ue(d.dataset) || (ie.value = e.value.loading), e.value.responsive) {
62
+ const t = qe(() => {
63
+ const { width: a, height: l } = Qt({
64
+ chart: $.value,
65
+ title: e.value.style.chart.title.text ? ye.value : null,
66
+ noTitle: ge.value,
67
+ legend: e.value.style.chart.legend.show ? xe.value : null,
68
+ source: ke.value
69
69
  });
70
70
  requestAnimationFrame(() => {
71
- f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = D({
71
+ f.value.width = a, f.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = F({
72
72
  relator: Math.min(a, l),
73
73
  adjuster: 600,
74
74
  source: e.value.style.chart.plots.radius,
75
75
  threshold: 3,
76
76
  fallback: 3
77
- }), n.value.indexLabels = D({
77
+ }), n.value.indexLabels = F({
78
78
  relator: Math.min(a, l),
79
79
  adjuster: 600,
80
80
  source: e.value.style.chart.plots.indexLabels.fontSize,
81
81
  threshold: 6,
82
82
  fallback: 6
83
- }), n.value.labels = D({
83
+ }), n.value.labels = F({
84
84
  relator: Math.min(a, l),
85
85
  adjuster: 600,
86
86
  source: e.value.style.chart.plots.labels.fontSize,
87
87
  threshold: 6,
88
88
  fallback: 6
89
- }), n.value.xAxisLabels = D({
89
+ }), n.value.xAxisLabels = F({
90
90
  relator: Math.min(a, l),
91
91
  adjuster: 600,
92
92
  source: e.value.style.chart.axes.x.labels.fontSize,
93
93
  threshold: 6,
94
94
  fallback: 6
95
- }), n.value.xAxisName = D({
95
+ }), n.value.xAxisName = F({
96
96
  relator: Math.min(a, l),
97
97
  adjuster: 600,
98
98
  source: e.value.style.chart.axes.x.name.fontSize,
99
99
  threshold: 6,
100
100
  fallback: 6
101
- }), n.value.yAxisLabels = D({
101
+ }), n.value.yAxisLabels = F({
102
102
  relator: Math.min(a, l),
103
103
  adjuster: 600,
104
104
  source: e.value.style.chart.axes.y.labels.fontSize,
105
105
  threshold: 6,
106
106
  fallback: 6
107
- }), n.value.yAxisName = D({
107
+ }), n.value.yAxisName = F({
108
108
  relator: Math.min(a, l),
109
109
  adjuster: 600,
110
110
  source: e.value.style.chart.axes.y.name.fontSize,
@@ -113,30 +113,30 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
113
113
  })) : (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);
114
114
  });
115
115
  });
116
- M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = L.value.parentNode, M.value.observe(X.value);
116
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = $.value.parentNode, M.value.observe(X.value);
117
117
  }
118
118
  }
119
- Tt(() => {
119
+ zt(() => {
120
120
  M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
121
121
  });
122
- function re() {
123
- const t = Ve({
122
+ function ne() {
123
+ const t = Ze({
124
124
  userConfig: d.config,
125
- defaultConfig: rt
125
+ defaultConfig: it
126
126
  });
127
127
  let a = {};
128
128
  return t.theme ? a = {
129
- ...Ve({
130
- userConfig: Gt.vue_ui_history_plot[t.theme] || d.config,
129
+ ...Ze({
130
+ userConfig: qt.vue_ui_history_plot[t.theme] || d.config,
131
131
  defaultConfig: t
132
132
  }),
133
- customPalette: Ut[t.theme] || Q
133
+ customPalette: Vt[t.theme] || Q
134
134
  } : a = t, d.config && ee(d.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = d.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, d.config && ee(d.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = d.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, d.config && ee(d.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = d.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, d.config && ee(d.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = d.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
135
135
  }
136
- const e = v(re()), { loading: z, FINAL_DATASET: nt, manualLoading: ne } = Kt({
137
- ...Mt(d),
136
+ const e = v(ne()), { loading: z, FINAL_DATASET: ut, manualLoading: ie } = el({
137
+ ...Nt(d),
138
138
  FINAL_CONFIG: e,
139
- prepareConfig: re,
139
+ prepareConfig: ne,
140
140
  skeletonDataset: [
141
141
  {
142
142
  name: "",
@@ -149,7 +149,7 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
149
149
  ]
150
150
  }
151
151
  ],
152
- skeletonConfig: Xt({
152
+ skeletonConfig: Bt({
153
153
  defaultConfig: e.value,
154
154
  userConfig: {
155
155
  userOptions: { show: !1 },
@@ -201,22 +201,22 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
201
201
  }
202
202
  }
203
203
  })
204
- }), { userOptionsVisible: ie, setUserOptionsVisibility: _e, keepUserOptionState: $e } = tl({ config: e.value }), { svgRef: Le } = ll({ config: e.value.style.chart.title });
204
+ }), { userOptionsVisible: ue, setUserOptionsVisibility: Le, keepUserOptionState: $e } = al({ config: e.value }), { svgRef: Se } = sl({ config: e.value.style.chart.title });
205
205
  K(() => d.config, (t) => {
206
- z.value || (e.value = re()), ie.value = !e.value.userOptions.showOnChartHover, Ae(), ye.value += 1, pe.value += 1, xe.value += 1, f.value.height = e.value.style.chart.height, f.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, k.value.showTable = e.value.table.show, k.value.showTooltip = e.value.style.chart.tooltip.show;
206
+ z.value || (e.value = ne()), ue.value = !e.value.userOptions.showOnChartHover, _e(), fe.value += 1, be.value += 1, pe.value += 1, f.value.height = e.value.style.chart.height, f.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;
207
207
  }, { deep: !0 }), K(() => d.dataset, (t) => {
208
- Array.isArray(t) && t.length > 0 && (ne.value = !1);
208
+ Array.isArray(t) && t.length > 0 && (ie.value = !1);
209
209
  }, { deep: !0 });
210
- const { isPrinting: Se, isImaging: Te, generatePdf: Me, generateImage: ze } = el({
210
+ const { isPrinting: Te, isImaging: Me, generatePdf: ze, generateImage: Ne } = ll({
211
211
  elementId: `history_plot_${S.value}`,
212
212
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
213
213
  options: e.value.userOptions.print
214
- }), it = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), ut = y(() => Bt(e.value.customPalette)), k = v({
214
+ }), ct = y(() => e.value.userOptions.show && !e.value.style.chart.title.text), vt = y(() => Yt(e.value.customPalette)), C = v({
215
215
  showTable: e.value.table.show,
216
216
  showTooltip: e.value.style.chart.tooltip.show
217
217
  });
218
218
  K(e, () => {
219
- k.value = {
219
+ C.value = {
220
220
  showTable: e.value.table.show,
221
221
  showTooltip: e.value.style.chart.tooltip.show
222
222
  };
@@ -224,41 +224,41 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
224
224
  const f = v({
225
225
  height: e.value.style.chart.height,
226
226
  width: e.value.style.chart.width
227
- }), ct = y(() => f.value.width), vt = y(() => f.value.height);
228
- function ht() {
227
+ }), ht = y(() => f.value.width), dt = y(() => f.value.height);
228
+ function yt() {
229
229
  let t = 0;
230
- oe.value && (t = Array.from(oe.value.querySelectorAll("text")).reduce((i, s) => {
231
- const w = s.getComputedTextLength();
232
- return w > i ? w : i;
230
+ re.value && (t = Array.from(re.value.querySelectorAll("text")).reduce((i, s) => {
231
+ const k = s.getComputedTextLength();
232
+ return k > i ? k : i;
233
233
  }, 0));
234
- const a = se.value ? se.value.getBoundingClientRect().width : 0;
234
+ const a = oe.value ? oe.value.getBoundingClientRect().width : 0;
235
235
  return t + a + (a ? 24 : 0);
236
236
  }
237
- const Ne = v(0), dt = Ge((t) => {
238
- Ne.value = t;
237
+ const Oe = v(0), ft = qe((t) => {
238
+ Oe.value = t;
239
239
  });
240
- zt((t) => {
240
+ Ot((t) => {
241
241
  const a = G.value;
242
242
  if (!a) return;
243
243
  const l = new ResizeObserver((i) => {
244
- dt(i[0].contentRect.height);
244
+ ft(i[0].contentRect.height);
245
245
  });
246
246
  l.observe(a), t(() => l.disconnect());
247
247
  });
248
- const Oe = y(() => {
248
+ const Ie = y(() => {
249
249
  let t = 0;
250
- ae.value && (t = ae.value.getBBox().height + n.value.xAxisName / 2);
250
+ se.value && (t = se.value.getBBox().height + n.value.xAxisName / 2);
251
251
  let a = 0;
252
- return G.value && (a = Ne.value), t + a;
252
+ return G.value && (a = Oe.value), t + a;
253
253
  }), c = y(() => {
254
- const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = ht(), i = e.value.style.chart.plots.radius;
254
+ const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top, l = yt(), i = e.value.style.chart.plots.radius;
255
255
  return {
256
256
  left: t + l + e.value.style.chart.axes.y.name.offsetX,
257
257
  top: a + i,
258
258
  right: f.value.width - e.value.style.chart.padding.right - i - e.value.style.chart.axes.y.name.offsetX,
259
- bottom: f.value.height - e.value.style.chart.padding.bottom - Oe.value - i - e.value.style.chart.axes.x.name.offsetY,
259
+ bottom: f.value.height - e.value.style.chart.padding.bottom - Ie.value - i - e.value.style.chart.axes.x.name.offsetY,
260
260
  width: f.value.width - t - e.value.style.chart.padding.right - l - i - e.value.style.chart.axes.y.name.offsetX,
261
- height: f.value.height - a - e.value.style.chart.padding.bottom - Oe.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
261
+ height: f.value.height - a - e.value.style.chart.padding.bottom - Ie.value - i * 2 - e.value.style.chart.axes.x.name.offsetY
262
262
  };
263
263
  }), n = v({
264
264
  plots: e.value.style.chart.plots.radius,
@@ -268,24 +268,24 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
268
268
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
269
269
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
270
270
  yAxisName: e.value.style.chart.axes.y.name.fontSize
271
- }), N = y(() => nt.value.map((t, a) => ({
271
+ }), N = y(() => ut.value.map((t, a) => ({
272
272
  ...t,
273
- color: t.color ? Rt(t.color) : ut.value[a] || Q[a] || Q[a % Q.length],
273
+ color: t.color ? Et(t.color) : vt.value[a] || Q[a] || Q[a % Q.length],
274
274
  seriesIndex: a
275
- }))), yt = y(() => Math.max(...N.value.filter((t) => !C.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), ft = y(() => {
276
- const t = Math.min(...N.value.filter((a) => !C.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
275
+ }))), xt = y(() => Math.max(...N.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x)))), pt = y(() => {
276
+ const t = Math.min(...N.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
277
277
  return t < 0 ? t : 0;
278
- }), xt = y(() => Math.max(...N.value.filter((t) => !C.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), pt = y(() => {
279
- const t = Math.min(...N.value.filter((a) => !C.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
278
+ }), bt = y(() => Math.max(...N.value.filter((t) => !w.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y)))), mt = y(() => {
279
+ const t = Math.min(...N.value.filter((a) => !w.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
280
280
  return t < 0 ? t : 0;
281
281
  }), x = y(() => {
282
- const t = Ue(
283
- e.value.style.chart.axes.x.scaleMin === null ? ft.value : e.value.style.chart.axes.x.scaleMin,
284
- e.value.style.chart.axes.x.scaleMax === null ? yt.value : e.value.style.chart.axes.x.scaleMax,
282
+ const t = Ve(
283
+ e.value.style.chart.axes.x.scaleMin === null ? pt.value : e.value.style.chart.axes.x.scaleMin,
284
+ e.value.style.chart.axes.x.scaleMax === null ? xt.value : e.value.style.chart.axes.x.scaleMax,
285
285
  e.value.style.chart.axes.x.ticks
286
- ), a = Ue(
287
- e.value.style.chart.axes.y.scaleMin === null ? pt.value : e.value.style.chart.axes.y.scaleMin,
288
- e.value.style.chart.axes.y.scaleMax === null ? xt.value : e.value.style.chart.axes.y.scaleMax,
286
+ ), a = Ve(
287
+ e.value.style.chart.axes.y.scaleMin === null ? mt.value : e.value.style.chart.axes.y.scaleMin,
288
+ e.value.style.chart.axes.y.scaleMax === null ? bt.value : e.value.style.chart.axes.y.scaleMax,
289
289
  e.value.style.chart.axes.y.ticks
290
290
  );
291
291
  return {
@@ -305,24 +305,24 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
305
305
  }))
306
306
  };
307
307
  });
308
- function mt(t) {
308
+ function gt(t) {
309
309
  const a = x.value.x.min < 0 ? Math.abs(x.value.x.min) : x.value.x.min > 0 ? -x.value.x.min : 0;
310
310
  return c.value.left + ((t || 0) + a) / (x.value.x.max + a) * c.value.width;
311
311
  }
312
- function bt(t) {
312
+ function kt(t) {
313
313
  const a = x.value.y.min < 0 ? Math.abs(x.value.y.min) : x.value.y.min > 0 ? -x.value.y.min : 0;
314
314
  return c.value.bottom - ((t || 0) + a) / (x.value.y.max + a) * c.value.height;
315
315
  }
316
- const P = y(() => N.value.filter((t) => !C.value.includes(t.seriesIndex)).map((t, a) => {
317
- const l = t.values.map((s, w) => ({
316
+ const P = y(() => N.value.filter((t) => !w.value.includes(t.seriesIndex)).map((t, a) => {
317
+ const l = t.values.map((s, k) => ({
318
318
  valueX: s.x,
319
319
  valueY: s.y,
320
320
  label: s.label,
321
- x: mt(s.x),
322
- y: bt(s.y),
321
+ x: gt(s.x),
322
+ y: kt(s.y),
323
323
  color: t.color,
324
324
  seriesName: t.name,
325
- id: He()
325
+ id: je()
326
326
  })), i = l.map((s) => `${s.x},${s.y} `).join("").trim();
327
327
  return {
328
328
  ...t,
@@ -330,16 +330,16 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
330
330
  path: `M${i}`
331
331
  };
332
332
  }));
333
- function Ie(t) {
334
- C.value.includes(t) ? C.value = C.value.filter((a) => a !== t) : C.value.push(t);
333
+ function Pe(t) {
334
+ w.value.includes(t) ? w.value = w.value.filter((a) => a !== t) : w.value.push(t);
335
335
  }
336
- const Pe = y(() => N.value.map((t) => ({
336
+ const De = y(() => N.value.map((t) => ({
337
337
  ...t,
338
- opacity: C.value.includes(t.seriesIndex) ? 0.5 : 1,
339
- segregate: () => Ie(t.seriesIndex),
340
- isSegregated: C.value.includes(t.seriesIndex),
338
+ opacity: w.value.includes(t.seriesIndex) ? 0.5 : 1,
339
+ segregate: () => Pe(t.seriesIndex),
340
+ isSegregated: w.value.includes(t.seriesIndex),
341
341
  shape: "circle"
342
- }))), gt = y(() => ({
342
+ }))), wt = y(() => ({
343
343
  cy: "history-plot-div-legend",
344
344
  backgroundColor: e.value.style.chart.legend.backgroundColor,
345
345
  color: e.value.style.chart.legend.color,
@@ -347,27 +347,27 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
347
347
  paddingBottom: 12,
348
348
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
349
349
  }));
350
- function kt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
351
- e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), we("selectDatapoint", t);
350
+ function Ct({ datapoint: t, plotIndex: a, seriesIndex: l }) {
351
+ e.value.events.datapointClick && e.value.events.datapointClick({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), Ce("selectDatapoint", t);
352
352
  }
353
353
  function Fe(t) {
354
- we("selectLegend", {
354
+ Ce("selectLegend", {
355
355
  ...t,
356
356
  isSegregated: !t.isSegregated,
357
357
  opacity: t.isSegregated ? 1 : 0.5
358
358
  });
359
359
  }
360
- function De(t) {
360
+ function Xe(t) {
361
361
  H.value = t, me.value += 1;
362
362
  }
363
- const ue = v(null);
364
- function wt({ datapoint: t, plotIndex: a, seriesIndex: l }) {
363
+ const ce = v(null);
364
+ function At({ datapoint: t, plotIndex: a, seriesIndex: l }) {
365
365
  e.value.events.datapointLeave && e.value.events.datapointLeave({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), te.value = !1, A.value = null;
366
366
  }
367
- function Ct({ datapoint: t, plotIndex: a, seriesIndex: l }) {
368
- e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ue.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, A.value = t;
367
+ function _t({ datapoint: t, plotIndex: a, seriesIndex: l }) {
368
+ e.value.events.datapointEnter && e.value.events.datapointEnter({ datapoint: { ...t, plotIndex: a, seriesIndex: l }, seriesIndex: l }), ce.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: N.value }, A.value = t;
369
369
  const i = e.value.style.chart.tooltip.customFormat;
370
- if (W.value = !1, Zt(i))
370
+ if (W.value = !1, Kt(i))
371
371
  try {
372
372
  const s = i({
373
373
  seriesIndex: l,
@@ -460,14 +460,14 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
460
460
  colNames: t
461
461
  };
462
462
  });
463
- function ce(t = null) {
464
- Pt(() => {
463
+ function ve(t = null) {
464
+ Ft(() => {
465
465
  const a = [
466
466
  [e.value.table.columnNames.series],
467
467
  [e.value.table.columnNames.datapoint],
468
468
  [e.value.table.columnNames.x],
469
469
  [e.value.table.columnNames.y]
470
- ], l = P.value.flatMap((w) => w.plots.map((J) => [
470
+ ], l = P.value.flatMap((k) => k.plots.map((J) => [
471
471
  [J.seriesName],
472
472
  [J.label],
473
473
  [J.valueX],
@@ -476,56 +476,56 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
476
476
  [e.value.style.chart.title.text],
477
477
  [e.value.style.chart.title.subtitle.text],
478
478
  a
479
- ].concat(l), s = Vt(i);
480
- t ? t(s) : qt({
479
+ ].concat(l), s = Zt(i);
480
+ t ? t(s) : Jt({
481
481
  csvContent: s,
482
482
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
483
483
  });
484
484
  });
485
485
  }
486
486
  const Z = v(!1);
487
- function ve() {
487
+ function he() {
488
488
  Z.value = !Z.value;
489
489
  }
490
- function Xe() {
491
- k.value.showTable = !k.value.showTable;
490
+ function Re() {
491
+ C.value.showTable = !C.value.showTable;
492
492
  }
493
493
  function Be() {
494
- k.value.showTooltip = !k.value.showTooltip;
494
+ C.value.showTooltip = !C.value.showTooltip;
495
495
  }
496
- function At() {
496
+ function Lt() {
497
497
  return P.value;
498
498
  }
499
- async function _t({ scale: t = 2 } = {}) {
500
- if (!L.value) return;
501
- const { width: a, height: l } = L.value.getBoundingClientRect(), i = a / l, { imageUri: s, base64: w } = await sl({ domElement: L.value, base64: !0, img: !0, scale: t });
499
+ async function $t({ scale: t = 2 } = {}) {
500
+ if (!$.value) return;
501
+ const { width: a, height: l } = $.value.getBoundingClientRect(), i = a / l, { imageUri: s, base64: k } = await rl({ domElement: $.value, base64: !0, img: !0, scale: t });
502
502
  return {
503
503
  imageUri: s,
504
- base64: w,
504
+ base64: k,
505
505
  title: e.value.style.chart.title.text,
506
506
  width: a,
507
507
  height: l,
508
508
  aspectRatio: i
509
509
  };
510
510
  }
511
- const $t = y(() => x.value.tickX), Lt = y(() => ({ start: 0, end: x.value.tickX.length }));
512
- al({
511
+ const St = y(() => x.value.tickX), Tt = y(() => ({ start: 0, end: x.value.tickX.length }));
512
+ ol({
513
513
  timeLabelsEls: G,
514
- timeLabels: $t,
515
- slicer: Lt,
514
+ timeLabels: St,
515
+ slicer: Tt,
516
516
  configRef: e,
517
517
  rotationPath: ["style", "chart", "axes", "x", "labels", "rotation"],
518
518
  autoRotatePath: ["style", "chart", "axes", "x", "labels", "autoRotate", "enable"],
519
519
  isAutoSize: !1,
520
- width: ct,
521
- height: vt,
520
+ width: ht,
521
+ height: dt,
522
522
  targetClass: ".vue-ui-history-plot-x-axis-scale",
523
523
  rotation: e.value.style.chart.axes.x.labels.autoRotate.angle
524
524
  });
525
525
  const U = y(() => {
526
- const t = e.value.table.useDialog && !e.value.table.show, a = k.value.showTable;
526
+ const t = e.value.table.useDialog && !e.value.table.show, a = C.value.showTable;
527
527
  return {
528
- component: t ? ot : et,
528
+ component: t ? nt : lt,
529
529
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? `: ${e.value.style.chart.title.subtitle.text}` : ""}`,
530
530
  props: t ? {
531
531
  backgroundColor: e.value.table.th.backgroundColor,
@@ -533,7 +533,7 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
533
533
  headerColor: e.value.table.th.color,
534
534
  headerBg: e.value.table.th.backgroundColor,
535
535
  isFullscreen: H.value,
536
- fullscreenParent: L.value,
536
+ fullscreenParent: $.value,
537
537
  forcedWidth: Math.min(800, window.innerWidth * 0.8)
538
538
  } : {
539
539
  hideDetails: !0,
@@ -552,52 +552,56 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
552
552
  }
553
553
  };
554
554
  });
555
- return K(() => k.value.showTable, (t) => {
555
+ K(() => C.value.showTable, (t) => {
556
556
  e.value.table.show || (t && e.value.table.useDialog && j.value ? j.value.open() : "close" in j.value && j.value.close());
557
- }), Ze({
558
- getData: At,
559
- getImage: _t,
560
- generatePdf: Me,
561
- generateCsv: ce,
562
- generateImage: ze,
563
- toggleTable: Xe,
557
+ });
558
+ function Ye() {
559
+ C.value.showTable = !1, ae.value && ae.value.setTableIconState(!1);
560
+ }
561
+ return Ke({
562
+ getData: Lt,
563
+ getImage: $t,
564
+ generatePdf: ze,
565
+ generateCsv: ve,
566
+ generateImage: Ne,
567
+ toggleTable: Re,
564
568
  toggleTooltip: Be,
565
- toggleAnnotator: ve,
566
- toggleFullscreen: De
569
+ toggleAnnotator: he,
570
+ toggleFullscreen: Xe
567
571
  }), (t, a) => (o(), r("div", {
568
572
  id: `history_plot_${S.value}`,
569
573
  ref_key: "historyPlotChart",
570
- ref: L,
571
- class: F({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
572
- 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%" : ""}`),
573
- onMouseenter: a[4] || (a[4] = () => u(_e)(!0)),
574
- onMouseleave: a[5] || (a[5] = () => u(_e)(!1))
574
+ ref: $,
575
+ class: D({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
576
+ style: L(`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%" : ""}`),
577
+ onMouseenter: a[2] || (a[2] = () => u(Le)(!0)),
578
+ onMouseleave: a[3] || (a[3] = () => u(Le)(!1))
575
579
  }, [
576
580
  p(t.$slots, "userConfig", {}, void 0, !0),
577
- e.value.userOptions.buttons.annotator ? (o(), I(u(lt), {
581
+ e.value.userOptions.buttons.annotator ? (o(), I(u(st), {
578
582
  key: 0,
579
- svgRef: u(Le),
583
+ svgRef: u(Se),
580
584
  backgroundColor: e.value.style.chart.backgroundColor,
581
585
  color: e.value.style.chart.color,
582
586
  active: Z.value,
583
- onClose: ve
587
+ onClose: he
584
588
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : h("", !0),
585
- it.value ? (o(), r("div", {
589
+ ct.value ? (o(), r("div", {
586
590
  key: 1,
587
591
  ref_key: "noTitle",
588
- ref: be,
592
+ ref: ge,
589
593
  class: "vue-data-ui-no-title-space",
590
594
  style: "height:36px; width: 100%;background:transparent"
591
595
  }, null, 512)) : h("", !0),
592
596
  e.value.style.chart.title.text ? (o(), r("div", {
593
597
  key: 2,
594
598
  ref_key: "chartTitle",
595
- ref: de,
599
+ ref: ye,
596
600
  class: "vue-ui-xy-title",
597
- style: $(`font-family:${e.value.style.fontFamily}`)
601
+ style: L(`font-family:${e.value.style.fontFamily}`)
598
602
  }, [
599
- (o(), I(ol, {
600
- key: `title_${ye.value}`,
603
+ (o(), I(nl, {
604
+ key: `title_${fe.value}`,
601
605
  config: {
602
606
  title: {
603
607
  cy: "history-plot-div-title",
@@ -612,14 +616,15 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
612
616
  ], 4)) : h("", !0),
613
617
  _("div", {
614
618
  id: `legend-top-${S.value}`
615
- }, null, 8, ul),
616
- e.value.userOptions.show && V.value && (u($e) || u(ie)) ? (o(), I(u(at), {
617
- ref: "details",
619
+ }, null, 8, vl),
620
+ e.value.userOptions.show && V.value && (u($e) || u(ue)) ? (o(), I(u(ot), {
621
+ ref_key: "userOptionsRef",
622
+ ref: ae,
618
623
  key: `user_option_${me.value}`,
619
624
  backgroundColor: e.value.style.chart.backgroundColor,
620
625
  color: e.value.style.chart.color,
621
- isPrinting: u(Se),
622
- isImaging: u(Te),
626
+ isPrinting: u(Te),
627
+ isImaging: u(Me),
623
628
  uid: S.value,
624
629
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
625
630
  hasPdf: e.value.userOptions.buttons.pdf,
@@ -629,90 +634,91 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
629
634
  hasLabel: !1,
630
635
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
631
636
  isFullscreen: H.value,
632
- chartElement: L.value,
637
+ chartElement: $.value,
633
638
  position: e.value.userOptions.position,
634
- isTooltip: k.value.showTooltip,
639
+ isTooltip: C.value.showTooltip,
635
640
  titles: { ...e.value.userOptions.buttonTitles },
636
641
  hasAnnotator: e.value.userOptions.buttons.annotator,
637
642
  isAnnotation: Z.value,
638
643
  callbacks: e.value.userOptions.callbacks,
639
644
  printScale: e.value.userOptions.print.scale,
640
- onToggleFullscreen: De,
641
- onGeneratePdf: u(Me),
642
- onGenerateCsv: ce,
643
- onGenerateImage: u(ze),
644
- onToggleTable: Xe,
645
+ tableDialog: e.value.table.useDialog,
646
+ onToggleFullscreen: Xe,
647
+ onGeneratePdf: u(ze),
648
+ onGenerateCsv: ve,
649
+ onGenerateImage: u(Ne),
650
+ onToggleTable: Re,
645
651
  onToggleTooltip: Be,
646
- onToggleAnnotator: ve,
647
- style: $({
648
- visibility: u($e) ? u(ie) ? "visible" : "hidden" : "visible"
652
+ onToggleAnnotator: he,
653
+ style: L({
654
+ visibility: u($e) ? u(ue) ? "visible" : "hidden" : "visible"
649
655
  })
650
- }, Ye({ _: 2 }, [
656
+ }, He({ _: 2 }, [
651
657
  t.$slots.menuIcon ? {
652
658
  name: "menuIcon",
653
- fn: m(({ isOpen: l, color: i }) => [
654
- p(t.$slots, "menuIcon", B(R({ isOpen: l, color: i })), void 0, !0)
659
+ fn: b(({ isOpen: l, color: i }) => [
660
+ p(t.$slots, "menuIcon", R(B({ isOpen: l, color: i })), void 0, !0)
655
661
  ]),
656
662
  key: "0"
657
663
  } : void 0,
658
664
  t.$slots.optionTooltip ? {
659
665
  name: "optionTooltip",
660
- fn: m(() => [
666
+ fn: b(() => [
661
667
  p(t.$slots, "optionTooltip", {}, void 0, !0)
662
668
  ]),
663
669
  key: "1"
664
670
  } : void 0,
665
671
  t.$slots.optionPdf ? {
666
672
  name: "optionPdf",
667
- fn: m(() => [
673
+ fn: b(() => [
668
674
  p(t.$slots, "optionPdf", {}, void 0, !0)
669
675
  ]),
670
676
  key: "2"
671
677
  } : void 0,
672
678
  t.$slots.optionCsv ? {
673
679
  name: "optionCsv",
674
- fn: m(() => [
680
+ fn: b(() => [
675
681
  p(t.$slots, "optionCsv", {}, void 0, !0)
676
682
  ]),
677
683
  key: "3"
678
684
  } : void 0,
679
685
  t.$slots.optionImg ? {
680
686
  name: "optionImg",
681
- fn: m(() => [
687
+ fn: b(() => [
682
688
  p(t.$slots, "optionImg", {}, void 0, !0)
683
689
  ]),
684
690
  key: "4"
685
691
  } : void 0,
686
692
  t.$slots.optionTable ? {
687
693
  name: "optionTable",
688
- fn: m(() => [
694
+ fn: b(() => [
689
695
  p(t.$slots, "optionTable", {}, void 0, !0)
690
696
  ]),
691
697
  key: "5"
692
698
  } : void 0,
693
699
  t.$slots.optionFullscreen ? {
694
700
  name: "optionFullscreen",
695
- fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
696
- p(t.$slots, "optionFullscreen", B(R({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
701
+ fn: b(({ toggleFullscreen: l, isFullscreen: i }) => [
702
+ p(t.$slots, "optionFullscreen", R(B({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
697
703
  ]),
698
704
  key: "6"
699
705
  } : void 0,
700
706
  t.$slots.optionAnnotator ? {
701
707
  name: "optionAnnotator",
702
- fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
703
- p(t.$slots, "optionAnnotator", B(R({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
708
+ fn: b(({ toggleAnnotator: l, isAnnotator: i }) => [
709
+ p(t.$slots, "optionAnnotator", R(B({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
704
710
  ]),
705
711
  key: "7"
706
712
  } : void 0
707
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
713
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "tableDialog", "onGeneratePdf", "onGenerateImage", "style"])) : h("", !0),
708
714
  (o(), r("svg", {
709
715
  ref_key: "svgRef",
710
- ref: Le,
711
- xmlns: u(Yt),
716
+ ref: Se,
717
+ xmlns: u(Ht),
712
718
  viewBox: `0 0 ${f.value.width < 0 ? 0.1 : f.value.width} ${f.value.height < 0 ? 0.1 : f.value.height}`,
713
- style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
719
+ style: L(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
714
720
  }, [
715
- he(u(st)),
721
+ de(u(rt)),
716
722
  t.$slots["chart-background"] ? (o(), r("foreignObject", {
717
723
  key: 0,
718
724
  x: c.value.left,
@@ -724,28 +730,28 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
724
730
  }
725
731
  }, [
726
732
  p(t.$slots, "chart-background", {}, void 0, !0)
727
- ], 8, vl)) : h("", !0),
728
- e.value.style.chart.plots.gradient.show ? (o(), r("defs", hl, [
729
- (o(!0), r(b, null, g(P.value, (l, i) => (o(), r("radialGradient", {
733
+ ], 8, dl)) : h("", !0),
734
+ e.value.style.chart.plots.gradient.show ? (o(), r("defs", yl, [
735
+ (o(!0), r(m, null, g(P.value, (l, i) => (o(), r("radialGradient", {
730
736
  id: `gradient_${i}_${S.value}`,
731
737
  fy: "30%"
732
738
  }, [
733
739
  _("stop", {
734
740
  offset: "10%",
735
- "stop-color": u(Et)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
736
- }, null, 8, yl),
741
+ "stop-color": u(Wt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
742
+ }, null, 8, xl),
737
743
  _("stop", {
738
744
  offset: "90%",
739
- "stop-color": u(Ht)(l.color, 0.1)
740
- }, null, 8, fl),
745
+ "stop-color": u(jt)(l.color, 0.1)
746
+ }, null, 8, pl),
741
747
  _("stop", {
742
748
  offset: "100%",
743
749
  "stop-color": l.color
744
- }, null, 8, xl)
745
- ], 8, dl))), 256))
750
+ }, null, 8, bl)
751
+ ], 8, fl))), 256))
746
752
  ])) : h("", !0),
747
- e.value.style.chart.grid.verticalLines.show ? (o(), r("g", pl, [
748
- (o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
753
+ e.value.style.chart.grid.verticalLines.show ? (o(), r("g", ml, [
754
+ (o(!0), r(m, null, g(x.value.tickX, (l) => (o(), r("line", {
749
755
  x1: l.x,
750
756
  x2: l.x,
751
757
  y1: l.y1,
@@ -753,10 +759,10 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
753
759
  stroke: e.value.style.chart.grid.verticalLines.stroke,
754
760
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
755
761
  "stroke-linecap": "round"
756
- }, null, 8, ml))), 256))
762
+ }, null, 8, gl))), 256))
757
763
  ])) : h("", !0),
758
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", bl, [
759
- (o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
764
+ e.value.style.chart.axes.y.labels.show ? (o(), r("g", kl, [
765
+ (o(!0), r(m, null, g(x.value.tickY, (l) => (o(), r("line", {
760
766
  stroke: e.value.style.chart.grid.verticalLines.stroke,
761
767
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
762
768
  "stroke-linecap": "round",
@@ -764,14 +770,14 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
764
770
  x2: c.value.left,
765
771
  y1: l.y,
766
772
  y2: l.y
767
- }, null, 8, gl))), 256))
773
+ }, null, 8, wl))), 256))
768
774
  ])) : h("", !0),
769
775
  e.value.style.chart.axes.y.labels.show ? (o(), r("g", {
770
776
  key: 4,
771
777
  ref_key: "yAxisScales",
772
- ref: oe
778
+ ref: re
773
779
  }, [
774
- (o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("text", {
780
+ (o(!0), r(m, null, g(x.value.tickY, (l) => (o(), r("text", {
775
781
  x: c.value.left + e.value.style.chart.axes.y.labels.offsetX - 4 - e.value.style.chart.plots.radius,
776
782
  y: l.y + n.value.yAxisLabels / 3,
777
783
  fill: e.value.style.chart.axes.y.labels.color,
@@ -786,20 +792,20 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
786
792
  s: e.value.style.chart.axes.y.labels.suffix,
787
793
  r: e.value.style.chart.axes.y.labels.rounding
788
794
  })
789
- )), 9, kl))), 256))
795
+ )), 9, Cl))), 256))
790
796
  ], 512)) : h("", !0),
791
797
  e.value.style.chart.axes.y.name.text ? (o(), r("text", {
792
798
  key: 5,
793
799
  ref_key: "yAxisLabel",
794
- ref: se,
800
+ ref: oe,
795
801
  transform: `translate(${n.value.yAxisName}, ${f.value.height / 2 + e.value.style.chart.axes.y.name.offsetY}), rotate(-90)`,
796
802
  "font-size": n.value.yAxisName,
797
803
  fill: e.value.style.chart.axes.y.name.color,
798
804
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
799
805
  "text-anchor": "middle"
800
- }, T(e.value.style.chart.axes.y.name.text), 9, wl)) : h("", !0),
801
- e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Cl, [
802
- (o(!0), r(b, null, g(x.value.tickY, (l) => (o(), r("line", {
806
+ }, T(e.value.style.chart.axes.y.name.text), 9, Al)) : h("", !0),
807
+ e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", _l, [
808
+ (o(!0), r(m, null, g(x.value.tickY, (l) => (o(), r("line", {
803
809
  x1: l.x1,
804
810
  x2: l.x2,
805
811
  y1: l.y,
@@ -807,10 +813,10 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
807
813
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
808
814
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
809
815
  "stroke-linecap": "round"
810
- }, null, 8, Al))), 256))
816
+ }, null, 8, Ll))), 256))
811
817
  ])) : h("", !0),
812
- e.value.style.chart.axes.x.labels.show ? (o(), r("g", _l, [
813
- (o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("line", {
818
+ e.value.style.chart.axes.x.labels.show ? (o(), r("g", $l, [
819
+ (o(!0), r(m, null, g(x.value.tickX, (l) => (o(), r("line", {
814
820
  stroke: e.value.style.chart.grid.verticalLines.stroke,
815
821
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
816
822
  "stroke-linecap": "round",
@@ -818,14 +824,14 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
818
824
  x2: l.x,
819
825
  y1: c.value.bottom,
820
826
  y2: c.value.bottom + 5
821
- }, null, 8, $l))), 256))
827
+ }, null, 8, Sl))), 256))
822
828
  ])) : h("", !0),
823
829
  e.value.style.chart.axes.x.labels.show ? (o(), r("g", {
824
830
  key: 8,
825
831
  ref_key: "xAxisScales",
826
832
  ref: G
827
833
  }, [
828
- (o(!0), r(b, null, g(x.value.tickX, (l) => (o(), r("text", {
834
+ (o(!0), r(m, null, g(x.value.tickX, (l) => (o(), r("text", {
829
835
  class: "vue-ui-history-plot-x-axis-scale",
830
836
  transform: `translate(${l.x}, ${c.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels + e.value.style.chart.plots.radius}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
831
837
  fill: e.value.style.chart.axes.x.labels.color,
@@ -840,19 +846,19 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
840
846
  s: e.value.style.chart.axes.x.labels.suffix,
841
847
  r: e.value.style.chart.axes.x.labels.rounding
842
848
  })
843
- )), 9, Ll))), 256))
849
+ )), 9, Tl))), 256))
844
850
  ], 512)) : h("", !0),
845
851
  e.value.style.chart.axes.x.name.text ? (o(), r("text", {
846
852
  key: 9,
847
853
  ref_key: "xAxisLabel",
848
- ref: ae,
854
+ ref: se,
849
855
  x: f.value.width / 2 + e.value.style.chart.axes.x.name.offsetX,
850
856
  y: f.value.height,
851
857
  "font-size": n.value.xAxisName,
852
858
  fill: e.value.style.chart.axes.x.name.color,
853
859
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
854
860
  "text-anchor": "middle"
855
- }, T(e.value.style.chart.axes.x.name.text), 9, Sl)) : h("", !0),
861
+ }, T(e.value.style.chart.axes.x.name.text), 9, Ml)) : h("", !0),
856
862
  e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
857
863
  key: 10,
858
864
  x1: c.value.left,
@@ -862,7 +868,7 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
862
868
  stroke: e.value.style.chart.grid.xAxis.stroke,
863
869
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
864
870
  "stroke-linecap": "round"
865
- }, null, 8, Tl)) : h("", !0),
871
+ }, null, 8, zl)) : h("", !0),
866
872
  e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
867
873
  key: 11,
868
874
  x1: c.value.left,
@@ -872,11 +878,11 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
872
878
  stroke: e.value.style.chart.grid.yAxis.stroke,
873
879
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
874
880
  "stroke-linecap": "round"
875
- }, null, 8, Ml)) : h("", !0),
876
- (o(!0), r(b, null, g(P.value, (l, i) => (o(), r("g", null, [
881
+ }, null, 8, Nl)) : h("", !0),
882
+ (o(!0), r(m, null, g(P.value, (l, i) => (o(), r("g", null, [
877
883
  e.value.style.chart.paths.show ? (o(), r("g", {
878
884
  key: 0,
879
- style: $({
885
+ style: L({
880
886
  opacity: A.value === null ? 1 : 0.3
881
887
  })
882
888
  }, [
@@ -887,8 +893,8 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
887
893
  fill: "none",
888
894
  "stroke-linecap": "round",
889
895
  "stroke-linejoin": "round",
890
- class: F({ animated: e.value.useCssAnimation && !u(z) })
891
- }, null, 10, zl),
896
+ class: D({ animated: e.value.useCssAnimation && !u(z) })
897
+ }, null, 10, Ol),
892
898
  _("path", {
893
899
  d: l.path,
894
900
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
@@ -896,31 +902,31 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
896
902
  fill: "none",
897
903
  "stroke-linecap": "round",
898
904
  "stroke-linejoin": "round",
899
- class: F({ animated: e.value.useCssAnimation && !u(z) })
900
- }, null, 10, Nl)
905
+ class: D({ animated: e.value.useCssAnimation && !u(z) })
906
+ }, null, 10, Il)
901
907
  ], 4)) : h("", !0),
902
- (o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
908
+ (o(!0), r(m, null, g(l.plots, (s) => (o(), r("circle", {
903
909
  cx: s.x,
904
910
  cy: s.y,
905
911
  fill: e.value.style.chart.backgroundColor,
906
912
  r: n.value.plots,
907
913
  stroke: "none"
908
- }, null, 8, Ol))), 256)),
909
- (o(!0), r(b, null, g(l.plots, (s) => (o(), r("circle", {
914
+ }, null, 8, Pl))), 256)),
915
+ (o(!0), r(m, null, g(l.plots, (s) => (o(), r("circle", {
910
916
  cx: s.x,
911
917
  cy: s.y,
912
918
  fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${S.value})` : s.color,
913
919
  r: n.value.plots,
914
920
  stroke: e.value.style.chart.plots.stroke,
915
921
  "stroke-width": e.value.style.chart.plots.strokeWidth,
916
- class: F({ animated: e.value.useCssAnimation && !u(z) }),
917
- style: $({
922
+ class: D({ animated: e.value.useCssAnimation && !u(z) }),
923
+ style: L({
918
924
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
919
925
  transition: "opacity 0.2s ease-in-out"
920
926
  })
921
- }, null, 14, Il))), 256)),
922
- e.value.style.chart.plots.labels.show ? (o(), r("g", Pl, [
923
- (o(!0), r(b, null, g(l.plots, (s) => (o(), r("g", null, [
927
+ }, null, 14, Dl))), 256)),
928
+ e.value.style.chart.plots.labels.show ? (o(), r("g", Fl, [
929
+ (o(!0), r(m, null, g(l.plots, (s) => (o(), r("g", null, [
924
930
  String(s.label).includes(`
925
931
  `) ? (o(), r("text", {
926
932
  key: 1,
@@ -930,19 +936,19 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
930
936
  fill: e.value.style.chart.plots.labels.color,
931
937
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
932
938
  "text-anchor": "middle",
933
- class: F({ animated: e.value.useCssAnimation && !u(z) }),
934
- style: $({
939
+ class: D({ animated: e.value.useCssAnimation && !u(z) }),
940
+ style: L({
935
941
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
936
942
  transition: "opacity 0.2s ease-in-out"
937
943
  }),
938
- innerHTML: u(Wt)({
944
+ innerHTML: u(Ut)({
939
945
  content: String(s.label),
940
946
  fontSize: n.value.labels,
941
947
  fill: e.value.style.chart.plots.labels.color,
942
948
  x: s.x + e.value.style.chart.plots.labels.offsetX,
943
949
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
944
950
  })
945
- }, null, 14, Dl)) : (o(), r("text", {
951
+ }, null, 14, Rl)) : (o(), r("text", {
946
952
  key: 0,
947
953
  x: s.x + e.value.style.chart.plots.labels.offsetX,
948
954
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
@@ -950,103 +956,103 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
950
956
  fill: e.value.style.chart.plots.labels.color,
951
957
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
952
958
  "text-anchor": "middle",
953
- class: F({ animated: e.value.useCssAnimation && !u(z) }),
954
- style: $({
959
+ class: D({ animated: e.value.useCssAnimation && !u(z) }),
960
+ style: L({
955
961
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
956
962
  transition: "opacity 0.2s ease-in-out"
957
963
  })
958
- }, T(s.label), 15, Fl))
964
+ }, T(s.label), 15, Xl))
959
965
  ]))), 256))
960
966
  ])) : h("", !0),
961
- e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Xl, [
962
- (o(!0), r(b, null, g(l.plots, (s, w) => (o(), r("text", {
967
+ e.value.style.chart.plots.indexLabels.show ? (o(), r("g", Bl, [
968
+ (o(!0), r(m, null, g(l.plots, (s, k) => (o(), r("text", {
963
969
  x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
964
970
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
965
971
  "font-size": n.value.indexLabels,
966
972
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
967
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(jt)(l.color) : e.value.style.chart.plots.indexLabels.color,
973
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(Gt)(l.color) : e.value.style.chart.plots.indexLabels.color,
968
974
  "text-anchor": "middle",
969
- class: F({ animated: e.value.useCssAnimation && !u(z) }),
970
- style: $({
975
+ class: D({ animated: e.value.useCssAnimation && !u(z) }),
976
+ style: L({
971
977
  opacity: A.value === null || A.value.id === s.id ? 1 : 0.3,
972
978
  transition: "opacity 0.2s ease-in-out"
973
979
  })
974
- }, T(e.value.style.chart.plots.indexLabels.startAtZero ? w : w + 1), 15, Bl))), 256))
980
+ }, T(e.value.style.chart.plots.indexLabels.startAtZero ? k : k + 1), 15, Yl))), 256))
975
981
  ])) : h("", !0)
976
982
  ]))), 256)),
977
- (o(!0), r(b, null, g(P.value, (l) => (o(), r("g", null, [
978
- (o(!0), r(b, null, g(l.plots, (i, s) => (o(), r("circle", {
983
+ (o(!0), r(m, null, g(P.value, (l) => (o(), r("g", null, [
984
+ (o(!0), r(m, null, g(l.plots, (i, s) => (o(), r("circle", {
979
985
  cx: i.x,
980
986
  cy: i.y,
981
987
  fill: "transparent",
982
988
  r: n.value.plots,
983
989
  stroke: "none",
984
- onMouseenter: (w) => Ct({
990
+ onMouseenter: (k) => _t({
985
991
  datapoint: i,
986
992
  plotIndex: s,
987
993
  seriesIndex: l.seriesIndex
988
994
  }),
989
- onMouseleave: (w) => wt({
995
+ onMouseleave: (k) => At({
990
996
  datapoint: i,
991
997
  plotIndex: s,
992
998
  seriesIndex: l.seriesIndex
993
999
  }),
994
- onClick: (w) => kt({
1000
+ onClick: (k) => Ct({
995
1001
  datapoint: i,
996
1002
  plotIndex: s,
997
1003
  seriesIndex: l.seriesIndex
998
1004
  })
999
- }, null, 40, Rl))), 256))
1005
+ }, null, 40, El))), 256))
1000
1006
  ]))), 256)),
1001
1007
  p(t.$slots, "svg", { svg: f.value }, void 0, !0)
1002
- ], 12, cl)),
1003
- t.$slots.watermark ? (o(), r("div", Yl, [
1004
- p(t.$slots, "watermark", B(R({ isPrinting: u(Se) || u(Te) })), void 0, !0)
1008
+ ], 12, hl)),
1009
+ t.$slots.watermark ? (o(), r("div", Hl, [
1010
+ p(t.$slots, "watermark", R(B({ isPrinting: u(Te) || u(Me) })), void 0, !0)
1005
1011
  ])) : h("", !0),
1006
1012
  _("div", {
1007
1013
  id: `legend-bottom-${S.value}`
1008
- }, null, 8, El),
1009
- ke.value ? (o(), I(Nt, {
1014
+ }, null, 8, Wl),
1015
+ we.value ? (o(), I(It, {
1010
1016
  key: 5,
1011
1017
  to: e.value.style.chart.legend.position === "top" ? `#legend-top-${S.value}` : `#legend-bottom-${S.value}`
1012
1018
  }, [
1013
1019
  _("div", {
1014
1020
  ref_key: "chartLegend",
1015
- ref: fe
1021
+ ref: xe
1016
1022
  }, [
1017
- e.value.style.chart.legend.show && V.value ? (o(), I(rl, {
1018
- key: `legend_${xe.value}`,
1019
- legendSet: Pe.value,
1020
- config: gt.value,
1023
+ e.value.style.chart.legend.show && V.value ? (o(), I(il, {
1024
+ key: `legend_${pe.value}`,
1025
+ legendSet: De.value,
1026
+ config: wt.value,
1021
1027
  onClickMarker: a[0] || (a[0] = ({ legend: l }) => {
1022
- Ie(l.seriesIndex), Fe(l);
1028
+ Pe(l.seriesIndex), Fe(l);
1023
1029
  })
1024
1030
  }, {
1025
- item: m(({ legend: l, index: i }) => [
1031
+ item: b(({ legend: l, index: i }) => [
1026
1032
  _("div", {
1027
1033
  onClick: (s) => {
1028
1034
  l.segregate(), Fe(l);
1029
1035
  },
1030
- style: $(`opacity:${C.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1031
- }, T(l.name), 13, Hl)
1036
+ style: L(`opacity:${w.value.includes(l.seriesIndex) ? 0.5 : 1}`)
1037
+ }, T(l.name), 13, jl)
1032
1038
  ]),
1033
1039
  _: 1
1034
1040
  }, 8, ["legendSet", "config"])) : p(t.$slots, "legend", {
1035
1041
  key: 1,
1036
- legend: Pe.value
1042
+ legend: De.value
1037
1043
  }, void 0, !0)
1038
1044
  ], 512)
1039
1045
  ], 8, ["to"])) : h("", !0),
1040
1046
  t.$slots.source ? (o(), r("div", {
1041
1047
  key: 6,
1042
1048
  ref_key: "source",
1043
- ref: ge,
1049
+ ref: ke,
1044
1050
  dir: "auto"
1045
1051
  }, [
1046
1052
  p(t.$slots, "source", {}, void 0, !0)
1047
1053
  ], 512)) : h("", !0),
1048
- he(u(Ke), {
1049
- show: k.value.showTooltip && te.value,
1054
+ de(u(et), {
1055
+ show: C.value.showTooltip && te.value,
1050
1056
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
1051
1057
  color: e.value.style.chart.tooltip.color,
1052
1058
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -1056,45 +1062,45 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
1056
1062
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
1057
1063
  position: e.value.style.chart.tooltip.position,
1058
1064
  offsetY: e.value.style.chart.tooltip.offsetY,
1059
- parent: L.value,
1065
+ parent: $.value,
1060
1066
  content: le.value,
1061
1067
  isCustom: W.value,
1062
1068
  isFullscreen: H.value,
1063
1069
  smooth: e.value.style.chart.tooltip.smooth,
1064
1070
  backdropFilter: e.value.style.chart.tooltip.backdropFilter
1065
1071
  }, {
1066
- "tooltip-before": m(() => [
1067
- p(t.$slots, "tooltip-before", B(R({ ...ue.value })), void 0, !0)
1072
+ "tooltip-before": b(() => [
1073
+ p(t.$slots, "tooltip-before", R(B({ ...ce.value })), void 0, !0)
1068
1074
  ]),
1069
- "tooltip-after": m(() => [
1070
- p(t.$slots, "tooltip-after", B(R({ ...ue.value })), void 0, !0)
1075
+ "tooltip-after": b(() => [
1076
+ p(t.$slots, "tooltip-after", R(B({ ...ce.value })), void 0, !0)
1071
1077
  ]),
1072
1078
  _: 3
1073
1079
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen", "smooth", "backdropFilter"]),
1074
- V.value ? (o(), I(Ot(U.value.component), It({ key: 7 }, U.value.props, {
1080
+ V.value ? (o(), I(Pt(U.value.component), Dt({ key: 7 }, U.value.props, {
1075
1081
  ref_key: "tableUnit",
1076
1082
  ref: j,
1077
- onClose: a[3] || (a[3] = (l) => k.value.showTable = !1)
1078
- }), Ye({
1079
- content: m(() => [
1080
- (o(), I(u(tt), {
1081
- key: `table_${pe.value}`,
1083
+ onClose: Ye
1084
+ }), He({
1085
+ content: b(() => [
1086
+ (o(), I(u(at), {
1087
+ key: `table_${be.value}`,
1082
1088
  colNames: q.value.colNames,
1083
1089
  head: q.value.head,
1084
1090
  body: q.value.body,
1085
1091
  config: q.value.config,
1086
1092
  title: e.value.table.useDialog ? "" : U.value.title,
1087
1093
  withCloseButton: !e.value.table.useDialog,
1088
- onClose: a[2] || (a[2] = (l) => k.value.showTable = !1)
1094
+ onClose: Ye
1089
1095
  }, {
1090
- th: m(({ th: l }) => [
1096
+ th: b(({ th: l }) => [
1091
1097
  _("div", {
1092
1098
  innerHTML: l,
1093
1099
  style: { display: "flex", "align-items": "center" }
1094
- }, null, 8, Wl)
1100
+ }, null, 8, Ul)
1095
1101
  ]),
1096
- td: m(({ td: l }) => [
1097
- Ee(T(l.name || l), 1)
1102
+ td: b(({ td: l }) => [
1103
+ We(T(l.name || l), 1)
1098
1104
  ]),
1099
1105
  _: 1
1100
1106
  }, 8, ["colNames", "head", "body", "config", "title", "withCloseButton"]))
@@ -1103,20 +1109,20 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
1103
1109
  }, [
1104
1110
  e.value.table.useDialog ? {
1105
1111
  name: "title",
1106
- fn: m(() => [
1107
- Ee(T(U.value.title), 1)
1112
+ fn: b(() => [
1113
+ We(T(U.value.title), 1)
1108
1114
  ]),
1109
1115
  key: "0"
1110
1116
  } : void 0,
1111
1117
  e.value.table.useDialog ? {
1112
1118
  name: "actions",
1113
- fn: m(() => [
1119
+ fn: b(() => [
1114
1120
  _("button", {
1115
1121
  tabindex: "0",
1116
1122
  class: "vue-ui-user-options-button",
1117
- onClick: a[1] || (a[1] = (l) => ce(e.value.userOptions.callbacks.csv))
1123
+ onClick: a[1] || (a[1] = (l) => ve(e.value.userOptions.callbacks.csv))
1118
1124
  }, [
1119
- he(u(Qe), {
1125
+ de(u(tt), {
1120
1126
  name: "excel",
1121
1127
  stroke: U.value.props.color
1122
1128
  }, null, 8, ["stroke"])
@@ -1125,10 +1131,10 @@ const il = ["id"], ul = ["id"], cl = ["xmlns", "viewBox"], vl = ["x", "y", "widt
1125
1131
  key: "1"
1126
1132
  } : void 0
1127
1133
  ]), 1040)) : h("", !0),
1128
- u(z) ? (o(), I(Qt, { key: 8 })) : h("", !0)
1129
- ], 46, il));
1134
+ u(z) ? (o(), I(tl, { key: 8 })) : h("", !0)
1135
+ ], 46, cl));
1130
1136
  }
1131
- }, oa = /* @__PURE__ */ nl(jl, [["__scopeId", "data-v-d76a8a07"]]);
1137
+ }, na = /* @__PURE__ */ ul(Gl, [["__scopeId", "data-v-da96ec4c"]]);
1132
1138
  export {
1133
- oa as default
1139
+ na as default
1134
1140
  };