vue-data-ui 3.0.0-next.0 → 3.0.0-next.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) hide show
  1. package/README.md +108 -67
  2. package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
  3. package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
  4. package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
  5. package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
  6. package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
  7. package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
  8. package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
  9. package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
  10. package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
  11. package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
  12. package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
  13. package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
  14. package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
  15. package/dist/Tooltip-NwATo4ZJ.js +157 -0
  16. package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
  17. package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
  18. package/dist/img-ku4zevVD.js +33 -0
  19. package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
  20. package/dist/pdf-CguiIsUc.js +58 -0
  21. package/dist/style.css +1 -1
  22. package/dist/types/vue-data-ui.d.cts +1051 -217
  23. package/dist/types/vue-data-ui.d.ts +1051 -217
  24. package/dist/useLoading-Bt5Doa8m.js +28 -0
  25. package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
  26. package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
  27. package/dist/vue-data-ui-DQef_oFO.js +314 -0
  28. package/dist/vue-data-ui.js +13 -13
  29. package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
  30. package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
  31. package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
  32. package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
  33. package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
  34. package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
  35. package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
  36. package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
  37. package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
  38. package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
  39. package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
  40. package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
  41. package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
  42. package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
  43. package/dist/vue-ui-donut-tECBFvud.js +1532 -0
  44. package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
  45. package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
  46. package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
  47. package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
  48. package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
  49. package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
  50. package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
  51. package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
  52. package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
  53. package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
  54. package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
  55. package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
  56. package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
  57. package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
  58. package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
  59. package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
  60. package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
  61. package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
  62. package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
  63. package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
  64. package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
  65. package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
  66. package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
  67. package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
  68. package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
  69. package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
  70. package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
  71. package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
  72. package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
  73. package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
  74. package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
  75. package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
  76. package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
  77. package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
  78. package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
  79. package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
  80. package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
  81. package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
  82. package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
  83. package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
  84. package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
  85. package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
  86. package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
  87. package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
  88. package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
  89. package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
  90. package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
  91. package/package.json +2 -2
  92. package/dist/Tooltip-hVZUY_s5.js +0 -149
  93. package/dist/img-BeMVTwmF.js +0 -20
  94. package/dist/pdf-DPxOdzfi.js +0 -51
  95. package/dist/useMouse-AicQS8Vf.js +0 -13
  96. package/dist/vue-data-ui-nceqWRts.js +0 -301
  97. package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
  98. package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
  99. package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
  100. package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
  101. package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
  102. package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
@@ -1,17 +1,18 @@
1
- import { defineAsyncComponent as N, ref as h, shallowRef as $e, computed as f, onMounted as tt, onBeforeUnmount as lt, watch as at, createElementBlock as r, openBlock as o, unref as i, normalizeStyle as $, normalizeClass as O, renderSlot as x, createBlock as I, createCommentVNode as v, createElementVNode as M, createVNode as Ae, createSlots as st, withCtx as m, normalizeProps as X, guardReactiveProps as Y, Fragment as g, renderList as k, toDisplayString as z, createTextVNode as ot, nextTick as rt } from "vue";
2
- import { u as nt, c as Se, o as ut, e as Me, g as it, b as ct, d as vt, p as G, D as ze, i as D, f as j, X as ht, l as yt, h as dt, I as ft, F as xt, E as P, t as pt, a as mt, C as q, q as bt, r as gt, x as kt } from "./index-DMqAxz7R.js";
3
- import { u as Te } from "./useNestedProp-YgN3FV_8.js";
4
- import { u as wt } from "./usePrinter-COkTjv6C.js";
5
- import { t as Ct, u as _t } from "./useResponsive-DfdjqQps.js";
6
- import { u as $t } from "./useUserOptionState-BIvW1Kz7.js";
1
+ import { defineAsyncComponent as O, ref as h, shallowRef as Se, computed as f, onMounted as lt, onBeforeUnmount as at, watch as st, createElementBlock as r, openBlock as o, unref as u, normalizeStyle as $, normalizeClass as I, renderSlot as x, createBlock as P, createCommentVNode as v, createElementVNode as T, createVNode as Ae, createSlots as ot, withCtx as m, normalizeProps as Y, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as rt, nextTick as nt } from "vue";
2
+ import { u as it, c as Me, o as ut, e as ze, g as ct, b as vt, d as ht, p as G, D as Te, i as j, f as R, X as yt, l as dt, h as ft, I as xt, F as pt, E as F, t as mt, a as gt, C as q, q as bt, r as kt, x as wt } from "./index-BzfnuLnw.js";
3
+ import { u as Le } from "./useNestedProp-DorElw91.js";
4
+ import { u as Ct } from "./usePrinter-C9qkgv0r.js";
5
+ import { t as _t, u as $t } from "./useResponsive-DfdjqQps.js";
6
+ import { u as St } from "./useUserOptionState-BIvW1Kz7.js";
7
7
  import { u as At } from "./useChartAccessibility-9icAAmYg.js";
8
- import St from "./Legend-Q4bOb-Nf.js";
9
- import Mt from "./Title-D29apS4l.js";
10
- import { _ as zt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
- const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"], Ot = { key: 1 }, It = ["id"], Pt = ["stop-color"], Ft = ["stop-color"], Xt = ["stop-color"], Yt = { key: 2 }, Dt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 3 }, Bt = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Et = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Ut = ["transform", "fill", "font-size", "text-anchor"], Vt = ["x", "y", "font-size", "fill", "font-weight"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], qt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Zt = ["d", "stroke", "stroke-width"], Jt = ["d", "stroke", "stroke-width"], Kt = ["cx", "cy", "fill", "r"], Qt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], el = { key: 1 }, tl = ["x", "y", "font-size", "fill", "font-weight"], ll = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], al = { key: 2 }, sl = ["x", "y", "font-size", "font-weight", "fill"], ol = ["cx", "cy", "r", "onMouseenter", "onClick"], rl = {
8
+ import Mt from "./Legend-CYbP3Kfg.js";
9
+ import zt from "./Title-pVYRzQXY.js";
10
+ import Tt from "./img-ku4zevVD.js";
11
+ import { _ as Lt } from "./_plugin-vue_export-helper-CHgC5LLL.js";
12
+ const Nt = ["id"], Ot = ["xmlns", "viewBox"], It = ["x", "y", "width", "height"], Pt = { key: 1 }, Ft = ["id"], Xt = ["stop-color"], Yt = ["stop-color"], Dt = ["stop-color"], jt = { key: 2 }, Rt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Bt = { key: 3 }, Et = ["x", "y", "fill", "font-size"], Ht = ["transform", "font-size", "fill", "font-weight"], Ut = { key: 5 }, Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = { key: 6 }, Gt = ["transform", "fill", "font-size", "text-anchor"], qt = ["x", "y", "font-size", "fill", "font-weight"], Zt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Jt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Kt = ["d", "stroke", "stroke-width"], Qt = ["d", "stroke", "stroke-width"], el = ["cx", "cy", "fill", "r"], tl = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], ll = { key: 1 }, al = ["x", "y", "font-size", "fill", "font-weight"], sl = ["x", "y", "font-size", "fill", "font-weight", "innerHTML"], ol = { key: 2 }, rl = ["x", "y", "font-size", "font-weight", "fill"], nl = ["cx", "cy", "r", "onMouseenter", "onClick"], il = {
12
13
  key: 5,
13
14
  class: "vue-data-ui-watermark"
14
- }, nl = ["onClick"], ul = ["innerHTML"], il = {
15
+ }, ul = ["onClick"], cl = ["innerHTML"], vl = {
15
16
  __name: "vue-ui-history-plot",
16
17
  props: {
17
18
  config: {
@@ -28,22 +29,22 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
28
29
  }
29
30
  },
30
31
  emits: ["selectLegend", "selectDatapoint"],
31
- setup(Le, { expose: Ne, emit: Oe }) {
32
- const Ie = N(() => import("./vue-ui-accordion-P6eFHGQp.js")), Pe = N(() => import("./DataTable-BBbOgI-a.js")), Fe = N(() => import("./PackageVersion-D0VPY8-5.js")), Xe = N(() => import("./PenAndPaper-DhBJsnob.js")), Ye = N(() => import("./vue-ui-skeleton-CjN2ZdgT.js")), De = N(() => import("./Tooltip-hVZUY_s5.js")), je = N(() => import("./UserOptions-Bdit7AWO.js")), { vue_ui_history_plot: Be } = nt(), y = Le, B = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), A = $e(null), F = $e(null), ne = h(null), H = h(Se()), Z = h(!1), J = h(""), b = h([]), E = h(!1), w = h(null), R = h(!1), ue = h(null), C = f({
32
+ setup(Ne, { expose: Oe, emit: Ie }) {
33
+ const Pe = O(() => import("./vue-ui-accordion-DgZK-qDz.js")), Fe = O(() => import("./DataTable-CgL0Rz0x.js")), Xe = O(() => import("./PackageVersion-CAkNkiIG.js")), Ye = O(() => import("./PenAndPaper-Cx1-5zdD.js")), De = O(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), je = O(() => import("./Tooltip-NwATo4ZJ.js")), Re = O(() => import("./UserOptions-DAsRxxrf.js")), { vue_ui_history_plot: Be } = it(), y = Ne, A = h(null), te = h(null), le = h(0), ae = h(null), se = h(0), oe = h(0), re = h(0), M = Se(null), X = Se(null), ne = h(null), B = h(Me()), Z = h(!1), J = h(""), g = h([]), H = h(!1), w = h(null), E = h(!1), ie = h(null), C = f({
33
34
  get: () => !!y.dataset && y.dataset.length,
34
35
  set: (t) => t
35
- }), ie = Oe;
36
- tt(ce);
36
+ }), ue = Ie;
37
+ lt(ce);
37
38
  function ce() {
38
- if (ut(y.dataset) ? Me({
39
+ if (ut(y.dataset) ? ze({
39
40
  componentName: "VueUiHistoryPlot",
40
41
  type: "dataset"
41
42
  }) : y.dataset.forEach((t, a) => {
42
- it({
43
+ ct({
43
44
  datasetObject: t,
44
45
  requiredAttributes: ["name", "values"]
45
46
  }).forEach((l) => {
46
- C.value = !1, Me({
47
+ C.value = !1, ze({
47
48
  componentName: "VueUiHistoryPlot",
48
49
  type: "datasetSerieAttribute",
49
50
  property: l,
@@ -51,52 +52,52 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
51
52
  });
52
53
  });
53
54
  }), e.value.responsive) {
54
- const t = Ct(() => {
55
- const { width: a, height: l } = _t({
56
- chart: B.value,
55
+ const t = _t(() => {
56
+ const { width: a, height: l } = $t({
57
+ chart: A.value,
57
58
  title: e.value.style.chart.title.text ? te.value : null,
58
59
  noTitle: ne.value,
59
60
  legend: e.value.style.chart.legend.show ? ae.value : null,
60
- source: ue.value
61
+ source: ie.value
61
62
  });
62
63
  requestAnimationFrame(() => {
63
- d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = P({
64
+ d.value.width = a, d.value.height = l, e.value.responsiveProportionalSizing ? (n.value.plots = F({
64
65
  relator: Math.min(a, l),
65
66
  adjuster: 600,
66
67
  source: e.value.style.chart.plots.radius,
67
68
  threshold: 3,
68
69
  fallback: 3
69
- }), n.value.indexLabels = P({
70
+ }), n.value.indexLabels = F({
70
71
  relator: Math.min(a, l),
71
72
  adjuster: 600,
72
73
  source: e.value.style.chart.plots.indexLabels.fontSize,
73
74
  threshold: 6,
74
75
  fallback: 6
75
- }), n.value.labels = P({
76
+ }), n.value.labels = F({
76
77
  relator: Math.min(a, l),
77
78
  adjuster: 600,
78
79
  source: e.value.style.chart.plots.labels.fontSize,
79
80
  threshold: 6,
80
81
  fallback: 6
81
- }), n.value.xAxisLabels = P({
82
+ }), n.value.xAxisLabels = F({
82
83
  relator: Math.min(a, l),
83
84
  adjuster: 600,
84
85
  source: e.value.style.chart.axes.x.labels.fontSize,
85
86
  threshold: 6,
86
87
  fallback: 6
87
- }), n.value.xAxisName = P({
88
+ }), n.value.xAxisName = F({
88
89
  relator: Math.min(a, l),
89
90
  adjuster: 600,
90
91
  source: e.value.style.chart.axes.x.name.fontSize,
91
92
  threshold: 6,
92
93
  fallback: 6
93
- }), n.value.yAxisLabels = P({
94
+ }), n.value.yAxisLabels = F({
94
95
  relator: Math.min(a, l),
95
96
  adjuster: 600,
96
97
  source: e.value.style.chart.axes.y.labels.fontSize,
97
98
  threshold: 6,
98
99
  fallback: 6
99
- }), n.value.yAxisName = P({
100
+ }), n.value.yAxisName = F({
100
101
  relator: Math.min(a, l),
101
102
  adjuster: 600,
102
103
  source: e.value.style.chart.axes.y.name.fontSize,
@@ -105,44 +106,44 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
105
106
  })) : (n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize);
106
107
  });
107
108
  });
108
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect()), A.value = new ResizeObserver(t), F.value = B.value.parentNode, A.value.observe(F.value);
109
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect()), M.value = new ResizeObserver(t), X.value = A.value.parentNode, M.value.observe(X.value);
109
110
  }
110
111
  }
111
- lt(() => {
112
- A.value && (F.value && A.value.unobserve(F.value), A.value.disconnect());
112
+ at(() => {
113
+ M.value && (X.value && M.value.unobserve(X.value), M.value.disconnect());
113
114
  });
114
115
  function ve() {
115
- const t = Te({
116
+ const t = Le({
116
117
  userConfig: y.config,
117
118
  defaultConfig: Be
118
119
  });
119
120
  let a = {};
120
121
  return t.theme ? a = {
121
- ...Te({
122
- userConfig: mt.vue_ui_history_plot[t.theme] || y.config,
122
+ ...Le({
123
+ userConfig: gt.vue_ui_history_plot[t.theme] || y.config,
123
124
  defaultConfig: t
124
125
  }),
125
- customPalette: pt[t.theme] || G
126
+ customPalette: mt[t.theme] || G
126
127
  } : a = t, y.config && q(y.config, "style.chart.axes.x.scaleMin") ? a.style.chart.axes.x.scaleMin = y.config.style.chart.axes.x.scaleMin : a.style.chart.axes.x.scaleMin = null, y.config && q(y.config, "style.chart.axes.x.scaleMax") ? a.style.chart.axes.x.scaleMax = y.config.style.chart.axes.x.scaleMax : a.style.chart.axes.x.scaleMax = null, y.config && q(y.config, "style.chart.axes.y.scaleMin") ? a.style.chart.axes.y.scaleMin = y.config.style.chart.axes.y.scaleMin : a.style.chart.axes.y.scaleMin = null, y.config && q(y.config, "style.chart.axes.y.scaleMax") ? a.style.chart.axes.y.scaleMax = y.config.style.chart.axes.y.scaleMax : a.style.chart.axes.y.scaleMax = null, a;
127
128
  }
128
129
  const e = f({
129
130
  get: () => ve(),
130
131
  set: (t) => t
131
- }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = $t({ config: e.value }), { svgRef: de } = At({ config: e.value.style.chart.title });
132
- at(() => y.config, (t) => {
132
+ }), { userOptionsVisible: K, setUserOptionsVisibility: he, keepUserOptionState: ye } = St({ config: e.value }), { svgRef: de } = At({ config: e.value.style.chart.title });
133
+ st(() => y.config, (t) => {
133
134
  e.value = ve(), K.value = !e.value.userOptions.showOnChartHover, ce(), le.value += 1, oe.value += 1, se.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, n.value.plots = e.value.style.chart.plots.radius, n.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, n.value.labels = e.value.style.chart.plots.labels.fontSize, n.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, n.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, n.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, n.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, _.value.showTable = e.value.table.show, _.value.showTooltip = e.value.style.chart.tooltip.show;
134
135
  }, { deep: !0 });
135
- const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = wt({
136
- elementId: `history_plot_${H.value}`,
136
+ const { isPrinting: fe, isImaging: xe, generatePdf: pe, generateImage: me } = Ct({
137
+ elementId: `history_plot_${B.value}`,
137
138
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
138
139
  options: e.value.userOptions.print
139
- }), He = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Re = f(() => ct(e.value.customPalette)), _ = h({
140
+ }), Ee = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), He = f(() => vt(e.value.customPalette)), _ = h({
140
141
  showTable: e.value.table.show,
141
142
  showTooltip: e.value.style.chart.tooltip.show
142
143
  }), d = h({
143
144
  height: e.value.style.chart.height,
144
145
  width: e.value.style.chart.width
145
- }), u = f(() => {
146
+ }), i = f(() => {
146
147
  const t = e.value.style.chart.padding.left, a = e.value.style.chart.padding.top;
147
148
  return {
148
149
  left: t,
@@ -160,63 +161,63 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
160
161
  xAxisName: e.value.style.chart.axes.x.name.fontSize,
161
162
  yAxisLabels: e.value.style.chart.axes.y.labels.fontSize,
162
163
  yAxisName: e.value.style.chart.axes.y.name.fontSize
163
- }), S = f(() => C.value ? y.dataset.map((t, a) => ({
164
+ }), z = f(() => C.value ? y.dataset.map((t, a) => ({
164
165
  ...t,
165
- color: t.color ? vt(t.color) : Re.value[a] || G[a] || G[a % G.length],
166
+ color: t.color ? ht(t.color) : He.value[a] || G[a] || G[a % G.length],
166
167
  seriesIndex: a
167
- })) : []), Ee = f(() => C.value ? Math.max(...S.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
168
+ })) : []), Ue = f(() => C.value ? Math.max(...z.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), We = f(() => {
168
169
  if (!C.value) return 1;
169
- const t = Math.min(...S.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
+ const t = Math.min(...z.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
170
171
  return t < 0 ? t : 0;
171
- }), Ue = f(() => C.value ? Math.max(...S.value.filter((t) => !b.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ve = f(() => {
172
+ }), Ve = f(() => C.value ? Math.max(...z.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ge = f(() => {
172
173
  if (!C.value) return 1;
173
- const t = Math.min(...S.value.filter((a) => !b.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
+ const t = Math.min(...z.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
174
175
  return t < 0 ? t : 0;
175
176
  }), p = f(() => {
176
- const t = ze(
177
+ const t = Te(
177
178
  e.value.style.chart.axes.x.scaleMin === null ? We.value : e.value.style.chart.axes.x.scaleMin,
178
- e.value.style.chart.axes.x.scaleMax === null ? Ee.value : e.value.style.chart.axes.x.scaleMax,
179
+ e.value.style.chart.axes.x.scaleMax === null ? Ue.value : e.value.style.chart.axes.x.scaleMax,
179
180
  e.value.style.chart.axes.x.ticks
180
- ), a = ze(
181
- e.value.style.chart.axes.y.scaleMin === null ? Ve.value : e.value.style.chart.axes.y.scaleMin,
182
- e.value.style.chart.axes.y.scaleMax === null ? Ue.value : e.value.style.chart.axes.y.scaleMax,
181
+ ), a = Te(
182
+ e.value.style.chart.axes.y.scaleMin === null ? Ge.value : e.value.style.chart.axes.y.scaleMin,
183
+ e.value.style.chart.axes.y.scaleMax === null ? Ve.value : e.value.style.chart.axes.y.scaleMax,
183
184
  e.value.style.chart.axes.y.ticks
184
185
  );
185
186
  return {
186
187
  x: t,
187
188
  y: a,
188
189
  tickX: t.ticks.map((l) => ({
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,
190
+ x: i.value.left + (l - t.min) / (t.max - t.min) * i.value.width,
191
+ y1: i.value.top,
192
+ y2: i.value.bottom,
192
193
  value: l
193
194
  })),
194
195
  tickY: a.ticks.map((l) => ({
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,
196
+ y: i.value.bottom - (l - a.min) / (a.max - a.min) * i.value.height,
197
+ x1: i.value.left,
198
+ x2: i.value.right,
198
199
  value: l
199
200
  }))
200
201
  };
201
202
  });
202
- function Ge(t) {
203
+ function qe(t) {
203
204
  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 u.value.left + ((t || 0) + a) / (p.value.x.max + a) * u.value.width;
205
+ return i.value.left + ((t || 0) + a) / (p.value.x.max + a) * i.value.width;
205
206
  }
206
- function qe(t) {
207
+ function Ze(t) {
207
208
  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 u.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * u.value.height;
209
+ return i.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * i.value.height;
209
210
  }
210
- const T = f(() => S.value.filter((t) => !b.value.includes(t.seriesIndex)).map((t, a) => {
211
- const l = t.values.map((s, L) => ({
211
+ const N = f(() => z.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
212
+ const l = t.values.map((s, S) => ({
212
213
  valueX: s.x,
213
214
  valueY: s.y,
214
215
  label: s.label,
215
- x: Ge(s.x),
216
- y: qe(s.y),
216
+ x: qe(s.x),
217
+ y: Ze(s.y),
217
218
  color: t.color,
218
219
  seriesName: t.name,
219
- id: Se()
220
+ id: Me()
220
221
  })), c = l.map((s) => `${s.x},${s.y} `).join("").trim();
221
222
  return {
222
223
  ...t,
@@ -224,16 +225,16 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
224
225
  path: `M${c}`
225
226
  };
226
227
  }));
227
- function be(t) {
228
- b.value.includes(t) ? b.value = b.value.filter((a) => a !== t) : b.value.push(t);
228
+ function ge(t) {
229
+ g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
229
230
  }
230
- const ge = f(() => S.value.map((t) => ({
231
+ const be = f(() => z.value.map((t) => ({
231
232
  ...t,
232
- opacity: b.value.includes(t.seriesIndex) ? 0.5 : 1,
233
- segregate: () => be(t.seriesIndex),
234
- isSegregated: b.value.includes(t.seriesIndex),
233
+ opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
234
+ segregate: () => ge(t.seriesIndex),
235
+ isSegregated: g.value.includes(t.seriesIndex),
235
236
  shape: "circle"
236
- }))), Ze = f(() => ({
237
+ }))), Je = f(() => ({
237
238
  cy: "history-plot-div-legend",
238
239
  backgroundColor: e.value.style.chart.legend.backgroundColor,
239
240
  color: e.value.style.chart.legend.color,
@@ -241,51 +242,51 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
241
242
  paddingBottom: 12,
242
243
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
243
244
  }));
244
- function Je(t) {
245
- ie("selectDatapoint", t);
245
+ function Ke(t) {
246
+ ue("selectDatapoint", t);
246
247
  }
247
248
  function ke(t) {
248
- ie("selectLegend", {
249
+ ue("selectLegend", {
249
250
  ...t,
250
251
  isSegregated: !t.isSegregated,
251
252
  opacity: t.isSegregated ? 1 : 0.5
252
253
  });
253
254
  }
254
- function Ke(t) {
255
- E.value = t, re.value += 1;
255
+ function we(t) {
256
+ H.value = t, re.value += 1;
256
257
  }
257
258
  const Q = h(null);
258
259
  function Qe({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
- Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: S.value }, w.value = t;
260
+ Q.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: z.value }, w.value = t;
260
261
  const c = e.value.style.chart.tooltip.customFormat;
261
- if (R.value = !1, kt(c))
262
+ if (E.value = !1, wt(c))
262
263
  try {
263
264
  const s = c({
264
265
  seriesIndex: l,
265
266
  datapoint: t,
266
267
  plotIndex: a,
267
- series: S.value,
268
+ series: z.value,
268
269
  config: e.value
269
270
  });
270
- typeof s == "string" && (J.value = s, R.value = !0);
271
+ typeof s == "string" && (J.value = s, E.value = !0);
271
272
  } catch {
272
- console.warn("Custom format cannot be applied."), R.value = !1;
273
+ console.warn("Custom format cannot be applied."), E.value = !1;
273
274
  }
274
- if (!R.value) {
275
+ if (!E.value) {
275
276
  let s = "";
276
- s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${D(
277
+ s += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, s += `<div>${t.label}</div>`, s += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${j(
277
278
  e.value.style.chart.axes.x.labels.formatter,
278
279
  t.valueX,
279
- j({
280
+ R({
280
281
  p: e.value.style.chart.axes.x.labels.prefix,
281
282
  v: t.valueX,
282
283
  s: e.value.style.chart.axes.x.labels.suffix,
283
284
  r: e.value.style.chart.axes.x.labels.rounding
284
285
  })
285
- )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${D(
286
+ )}</div>`, s += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${j(
286
287
  e.value.style.chart.axes.y.labels.formatter,
287
288
  t.valueY,
288
- j({
289
+ R({
289
290
  p: e.value.style.chart.axes.y.labels.prefix,
290
291
  v: t.valueY,
291
292
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -295,36 +296,36 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
295
296
  }
296
297
  Z.value = !0;
297
298
  }
298
- f(() => ({ head: T.value.map((a) => ({
299
+ f(() => ({ head: N.value.map((a) => ({
299
300
  name: a.name,
300
301
  color: a.color
301
302
  })) }));
302
- const W = f(() => {
303
+ const U = f(() => {
303
304
  const t = [
304
305
  e.value.table.columnNames.series,
305
306
  e.value.table.columnNames.datapoint,
306
307
  e.value.table.columnNames.x,
307
308
  e.value.table.columnNames.y
308
- ], a = T.value.flatMap((c) => c.plots.map((s) => [
309
+ ], a = N.value.flatMap((c) => c.plots.map((s) => [
309
310
  {
310
311
  color: s.color,
311
312
  name: s.seriesName
312
313
  },
313
314
  s.label,
314
- D(
315
+ j(
315
316
  e.value.style.chart.axes.x.labels.formatter,
316
317
  s.valueX,
317
- j({
318
+ R({
318
319
  p: e.value.style.chart.axes.x.labels.prefix,
319
320
  v: s.valueX,
320
321
  s: e.value.style.chart.axes.x.labels.suffix,
321
322
  r: e.value.style.chart.axes.x.labels.rounding
322
323
  })
323
324
  ),
324
- D(
325
+ j(
325
326
  e.value.style.chart.axes.y.labels.formatter,
326
327
  s.valueY,
327
- j({
328
+ R({
328
329
  p: e.value.style.chart.axes.y.labels.prefix,
329
330
  v: s.valueY,
330
331
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -351,14 +352,14 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
351
352
  colNames: t
352
353
  };
353
354
  });
354
- function we(t = null) {
355
- rt(() => {
355
+ function Ce(t = null) {
356
+ nt(() => {
356
357
  const a = [
357
358
  [e.value.table.columnNames.series],
358
359
  [e.value.table.columnNames.datapoint],
359
360
  [e.value.table.columnNames.x],
360
361
  [e.value.table.columnNames.y]
361
- ], l = T.value.flatMap((L) => L.plots.map((V) => [
362
+ ], l = N.value.flatMap((S) => S.plots.map((V) => [
362
363
  [V.seriesName],
363
364
  [V.label],
364
365
  [V.valueX],
@@ -368,52 +369,66 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
368
369
  [e.value.style.chart.title.subtitle.text],
369
370
  a
370
371
  ].concat(l), s = bt(c);
371
- t ? t(s) : gt({
372
+ t ? t(s) : kt({
372
373
  csvContent: s,
373
374
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
374
375
  });
375
376
  });
376
377
  }
377
- const U = h(!1);
378
+ const W = h(!1);
378
379
  function ee() {
379
- U.value = !U.value;
380
+ W.value = !W.value;
380
381
  }
381
- function Ce() {
382
+ function _e() {
382
383
  _.value.showTable = !_.value.showTable;
383
384
  }
384
- function _e() {
385
+ function $e() {
385
386
  _.value.showTooltip = !_.value.showTooltip;
386
387
  }
387
388
  function et() {
388
- return T.value;
389
+ return N.value;
390
+ }
391
+ async function tt({ scale: t = 2 } = {}) {
392
+ if (!A.value) return;
393
+ const { width: a, height: l } = A.value.getBoundingClientRect(), c = a / l, { imageUri: s, base64: S } = await Tt({ domElement: A.value, base64: !0, img: !0, scale: t });
394
+ return {
395
+ imageUri: s,
396
+ base64: S,
397
+ title: e.value.style.chart.title.text,
398
+ width: a,
399
+ height: l,
400
+ aspectRatio: c
401
+ };
389
402
  }
390
- return Ne({
403
+ return Oe({
391
404
  getData: et,
405
+ getImage: tt,
392
406
  generatePdf: pe,
393
- generateCsv: we,
407
+ generateCsv: Ce,
394
408
  generateImage: me,
395
- toggleTable: Ce,
396
- toggleTooltip: _e,
397
- toggleAnnotator: ee
409
+ toggleTable: _e,
410
+ toggleTooltip: $e,
411
+ toggleAnnotator: ee,
412
+ toggleFullscreen: we
398
413
  }), (t, a) => (o(), r("div", {
399
- id: `history_plot_${H.value}`,
414
+ id: `history_plot_${B.value}`,
400
415
  ref_key: "historyPlotChart",
401
- ref: B,
402
- class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
416
+ ref: A,
417
+ class: I({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": H.value }),
403
418
  style: $(`background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}; position: relative; ${e.value.responsive ? "height: 100%" : ""}`),
404
- onMouseenter: a[3] || (a[3] = () => i(he)(!0)),
405
- onMouseleave: a[4] || (a[4] = () => i(he)(!1))
419
+ onMouseenter: a[3] || (a[3] = () => u(he)(!0)),
420
+ onMouseleave: a[4] || (a[4] = () => u(he)(!1))
406
421
  }, [
407
422
  x(t.$slots, "userConfig", {}, void 0, !0),
408
- e.value.userOptions.buttons.annotator ? (o(), I(i(Xe), {
423
+ e.value.userOptions.buttons.annotator ? (o(), P(u(Ye), {
409
424
  key: 0,
410
- svgRef: i(de),
425
+ svgRef: u(de),
411
426
  backgroundColor: e.value.style.chart.backgroundColor,
412
427
  color: e.value.style.chart.color,
413
- active: U.value,
428
+ active: W.value,
414
429
  onClose: ee
415
430
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
416
- He.value ? (o(), r("div", {
431
+ Ee.value ? (o(), r("div", {
417
432
  key: 1,
418
433
  ref_key: "noTitle",
419
434
  ref: ne,
@@ -427,7 +442,7 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
427
442
  class: "vue-ui-xy-title",
428
443
  style: $(`font-family:${e.value.style.fontFamily}`)
429
444
  }, [
430
- (o(), I(Mt, {
445
+ (o(), P(zt, {
431
446
  key: `title_${le.value}`,
432
447
  config: {
433
448
  title: {
@@ -441,14 +456,14 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
441
456
  }
442
457
  }, null, 8, ["config"]))
443
458
  ], 4)) : v("", !0),
444
- e.value.userOptions.show && C.value && (i(ye) || i(K)) ? (o(), I(i(je), {
459
+ e.value.userOptions.show && C.value && (u(ye) || u(K)) ? (o(), P(u(Re), {
445
460
  ref: "details",
446
461
  key: `user_option_${re.value}`,
447
462
  backgroundColor: e.value.style.chart.backgroundColor,
448
463
  color: e.value.style.chart.color,
449
- isPrinting: i(fe),
450
- isImaging: i(xe),
451
- uid: H.value,
464
+ isPrinting: u(fe),
465
+ isImaging: u(xe),
466
+ uid: B.value,
452
467
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
453
468
  hasPdf: e.value.userOptions.buttons.pdf,
454
469
  hasImg: e.value.userOptions.buttons.img,
@@ -456,29 +471,30 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
456
471
  hasTable: e.value.userOptions.buttons.table,
457
472
  hasLabel: !1,
458
473
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
459
- isFullscreen: E.value,
460
- chartElement: B.value,
474
+ isFullscreen: H.value,
475
+ chartElement: A.value,
461
476
  position: e.value.userOptions.position,
462
477
  isTooltip: _.value.showTooltip,
463
478
  titles: { ...e.value.userOptions.buttonTitles },
464
479
  hasAnnotator: e.value.userOptions.buttons.annotator,
465
- isAnnotation: U.value,
480
+ isAnnotation: W.value,
466
481
  callbacks: e.value.userOptions.callbacks,
467
- onToggleFullscreen: Ke,
468
- onGeneratePdf: i(pe),
469
- onGenerateCsv: we,
470
- onGenerateImage: i(me),
471
- onToggleTable: Ce,
472
- onToggleTooltip: _e,
482
+ printScale: e.value.userOptions.print.scale,
483
+ onToggleFullscreen: we,
484
+ onGeneratePdf: u(pe),
485
+ onGenerateCsv: Ce,
486
+ onGenerateImage: u(me),
487
+ onToggleTable: _e,
488
+ onToggleTooltip: $e,
473
489
  onToggleAnnotator: ee,
474
490
  style: $({
475
- visibility: i(ye) ? i(K) ? "visible" : "hidden" : "visible"
491
+ visibility: u(ye) ? u(K) ? "visible" : "hidden" : "visible"
476
492
  })
477
- }, st({ _: 2 }, [
493
+ }, ot({ _: 2 }, [
478
494
  t.$slots.menuIcon ? {
479
495
  name: "menuIcon",
480
496
  fn: m(({ isOpen: l, color: c }) => [
481
- x(t.$slots, "menuIcon", X(Y({ isOpen: l, color: c })), void 0, !0)
497
+ x(t.$slots, "menuIcon", Y(D({ isOpen: l, color: c })), void 0, !0)
482
498
  ]),
483
499
  key: "0"
484
500
  } : void 0,
@@ -520,60 +536,60 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
520
536
  t.$slots.optionFullscreen ? {
521
537
  name: "optionFullscreen",
522
538
  fn: m(({ toggleFullscreen: l, isFullscreen: c }) => [
523
- x(t.$slots, "optionFullscreen", X(Y({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
539
+ x(t.$slots, "optionFullscreen", Y(D({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
524
540
  ]),
525
541
  key: "6"
526
542
  } : void 0,
527
543
  t.$slots.optionAnnotator ? {
528
544
  name: "optionAnnotator",
529
545
  fn: m(({ toggleAnnotator: l, isAnnotator: c }) => [
530
- x(t.$slots, "optionAnnotator", X(Y({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
546
+ x(t.$slots, "optionAnnotator", Y(D({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
531
547
  ]),
532
548
  key: "7"
533
549
  } : void 0
534
- ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
550
+ ]), 1032, ["backgroundColor", "color", "isPrinting", "isImaging", "uid", "hasTooltip", "hasPdf", "hasImg", "hasXls", "hasTable", "hasFullscreen", "isFullscreen", "chartElement", "position", "isTooltip", "titles", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : v("", !0),
535
551
  C.value ? (o(), r("svg", {
536
552
  key: 4,
537
553
  ref_key: "svgRef",
538
554
  ref: de,
539
- xmlns: i(ht),
555
+ xmlns: u(yt),
540
556
  viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
541
557
  style: $(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
542
558
  }, [
543
- Ae(i(Fe)),
559
+ Ae(u(Xe)),
544
560
  t.$slots["chart-background"] ? (o(), r("foreignObject", {
545
561
  key: 0,
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,
562
+ x: i.value.left,
563
+ y: i.value.top,
564
+ width: i.value.width <= 0 ? 10 : i.value.width,
565
+ height: i.value.height <= 0 ? 10 : i.value.height,
550
566
  style: {
551
567
  pointerEvents: "none"
552
568
  }
553
569
  }, [
554
570
  x(t.$slots, "chart-background", {}, void 0, !0)
555
- ], 8, Nt)) : v("", !0),
556
- e.value.style.chart.plots.gradient.show ? (o(), r("defs", Ot, [
557
- (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("radialGradient", {
558
- id: `gradient_${c}_${H.value}`,
571
+ ], 8, It)) : v("", !0),
572
+ e.value.style.chart.plots.gradient.show ? (o(), r("defs", Pt, [
573
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("radialGradient", {
574
+ id: `gradient_${c}_${B.value}`,
559
575
  fy: "30%"
560
576
  }, [
561
- M("stop", {
577
+ T("stop", {
562
578
  offset: "10%",
563
- "stop-color": i(yt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
564
- }, null, 8, Pt),
565
- M("stop", {
579
+ "stop-color": u(dt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
580
+ }, null, 8, Xt),
581
+ T("stop", {
566
582
  offset: "90%",
567
- "stop-color": i(dt)(l.color, 0.1)
568
- }, null, 8, Ft),
569
- M("stop", {
583
+ "stop-color": u(ft)(l.color, 0.1)
584
+ }, null, 8, Yt),
585
+ T("stop", {
570
586
  offset: "100%",
571
587
  "stop-color": l.color
572
- }, null, 8, Xt)
573
- ], 8, It))), 256))
588
+ }, null, 8, Dt)
589
+ ], 8, Ft))), 256))
574
590
  ])) : v("", !0),
575
- e.value.style.chart.grid.verticalLines.show ? (o(), r("g", Yt, [
576
- (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("line", {
591
+ e.value.style.chart.grid.verticalLines.show ? (o(), r("g", jt, [
592
+ (o(!0), r(b, null, k(p.value.tickX, (l) => (o(), r("line", {
577
593
  x1: l.x,
578
594
  x2: l.x,
579
595
  y1: l.y1,
@@ -581,25 +597,25 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
581
597
  stroke: e.value.style.chart.grid.verticalLines.stroke,
582
598
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
583
599
  "stroke-linecap": "round"
584
- }, null, 8, Dt))), 256))
600
+ }, null, 8, Rt))), 256))
585
601
  ])) : v("", !0),
586
- e.value.style.chart.axes.y.labels.show ? (o(), r("g", jt, [
587
- (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("text", {
588
- x: u.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
602
+ e.value.style.chart.axes.y.labels.show ? (o(), r("g", Bt, [
603
+ (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("text", {
604
+ x: i.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
589
605
  y: l.y + n.value.yAxisLabels / 3,
590
606
  fill: e.value.style.chart.axes.y.labels.color,
591
607
  "font-size": n.value.yAxisLabels,
592
608
  "text-anchor": "end"
593
- }, z(i(D)(
609
+ }, L(u(j)(
594
610
  e.value.style.chart.axes.y.labels.formatter,
595
611
  l.value,
596
- i(j)({
612
+ u(R)({
597
613
  p: e.value.style.chart.axes.y.labels.prefix,
598
614
  v: l.value,
599
615
  s: e.value.style.chart.axes.y.labels.suffix,
600
616
  r: e.value.style.chart.axes.y.labels.rounding
601
617
  })
602
- )), 9, Bt))), 256))
618
+ )), 9, Et))), 256))
603
619
  ])) : v("", !0),
604
620
  e.value.style.chart.axes.y.name.text ? (o(), r("text", {
605
621
  key: 4,
@@ -608,9 +624,9 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
608
624
  fill: e.value.style.chart.axes.y.name.color,
609
625
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
610
626
  "text-anchor": "middle"
611
- }, z(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
612
- e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Rt, [
613
- (o(!0), r(g, null, k(p.value.tickY, (l) => (o(), r("line", {
627
+ }, L(e.value.style.chart.axes.y.name.text), 9, Ht)) : v("", !0),
628
+ e.value.style.chart.grid.horizontalLines.show ? (o(), r("g", Ut, [
629
+ (o(!0), r(b, null, k(p.value.tickY, (l) => (o(), r("line", {
614
630
  x1: l.x1,
615
631
  x2: l.x2,
616
632
  y1: l.y,
@@ -618,24 +634,24 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
618
634
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
619
635
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
620
636
  "stroke-linecap": "round"
621
- }, null, 8, Et))), 256))
637
+ }, null, 8, Wt))), 256))
622
638
  ])) : v("", !0),
623
- e.value.style.chart.axes.x.labels.show ? (o(), r("g", Wt, [
624
- (o(!0), r(g, null, k(p.value.tickX, (l) => (o(), r("text", {
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})`,
639
+ e.value.style.chart.axes.x.labels.show ? (o(), r("g", Vt, [
640
+ (o(!0), r(b, null, k(p.value.tickX, (l) => (o(), r("text", {
641
+ transform: `translate(${l.x}, ${i.value.bottom + e.value.style.chart.axes.x.labels.offsetY + n.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
626
642
  fill: e.value.style.chart.axes.x.labels.color,
627
643
  "font-size": n.value.xAxisLabels,
628
644
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
629
- }, z(i(D)(
645
+ }, L(u(j)(
630
646
  e.value.style.chart.axes.x.labels.formatter,
631
647
  l.value,
632
- i(j)({
648
+ u(R)({
633
649
  p: e.value.style.chart.axes.x.labels.prefix,
634
650
  v: l.value,
635
651
  s: e.value.style.chart.axes.x.labels.suffix,
636
652
  r: e.value.style.chart.axes.x.labels.rounding
637
653
  })
638
- )), 9, Ut))), 256))
654
+ )), 9, Gt))), 256))
639
655
  ])) : v("", !0),
640
656
  e.value.style.chart.axes.x.name.text ? (o(), r("text", {
641
657
  key: 7,
@@ -645,75 +661,75 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
645
661
  fill: e.value.style.chart.axes.x.name.color,
646
662
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
647
663
  "text-anchor": "middle"
648
- }, z(e.value.style.chart.axes.x.name.text), 9, Vt)) : v("", !0),
664
+ }, L(e.value.style.chart.axes.x.name.text), 9, qt)) : v("", !0),
649
665
  e.value.style.chart.grid.xAxis.show ? (o(), r("line", {
650
666
  key: 8,
651
- x1: u.value.left,
652
- x2: u.value.left + u.value.width,
653
- y1: u.value.bottom,
654
- y2: u.value.bottom,
667
+ x1: i.value.left,
668
+ x2: i.value.left + i.value.width,
669
+ y1: i.value.bottom,
670
+ y2: i.value.bottom,
655
671
  stroke: e.value.style.chart.grid.xAxis.stroke,
656
672
  "stroke-width": e.value.style.chart.grid.xAxis.strokeWidth,
657
673
  "stroke-linecap": "round"
658
- }, null, 8, Gt)) : v("", !0),
674
+ }, null, 8, Zt)) : v("", !0),
659
675
  e.value.style.chart.grid.yAxis.show ? (o(), r("line", {
660
676
  key: 9,
661
- x1: u.value.left,
662
- x2: u.value.left,
663
- y1: u.value.top,
664
- y2: u.value.bottom,
677
+ x1: i.value.left,
678
+ x2: i.value.left,
679
+ y1: i.value.top,
680
+ y2: i.value.bottom,
665
681
  stroke: e.value.style.chart.grid.yAxis.stroke,
666
682
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
667
683
  "stroke-linecap": "round"
668
- }, null, 8, qt)) : v("", !0),
669
- (o(!0), r(g, null, k(T.value, (l, c) => (o(), r("g", null, [
684
+ }, null, 8, Jt)) : v("", !0),
685
+ (o(!0), r(b, null, k(N.value, (l, c) => (o(), r("g", null, [
670
686
  e.value.style.chart.paths.show ? (o(), r("g", {
671
687
  key: 0,
672
688
  style: $({
673
689
  opacity: w.value === null ? 1 : 0.3
674
690
  })
675
691
  }, [
676
- M("path", {
692
+ T("path", {
677
693
  d: l.path,
678
694
  stroke: e.value.style.chart.backgroundColor,
679
695
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
680
696
  fill: "none",
681
697
  "stroke-linecap": "round",
682
698
  "stroke-linejoin": "round",
683
- class: O({ animated: e.value.useCssAnimation })
684
- }, null, 10, Zt),
685
- M("path", {
699
+ class: I({ animated: e.value.useCssAnimation })
700
+ }, null, 10, Kt),
701
+ T("path", {
686
702
  d: l.path,
687
703
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
688
704
  "stroke-width": e.value.style.chart.paths.strokeWidth,
689
705
  fill: "none",
690
706
  "stroke-linecap": "round",
691
707
  "stroke-linejoin": "round",
692
- class: O({ animated: e.value.useCssAnimation })
693
- }, null, 10, Jt)
708
+ class: I({ animated: e.value.useCssAnimation })
709
+ }, null, 10, Qt)
694
710
  ], 4)) : v("", !0),
695
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
711
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("circle", {
696
712
  cx: s.x,
697
713
  cy: s.y,
698
714
  fill: e.value.style.chart.backgroundColor,
699
715
  r: n.value.plots,
700
716
  stroke: "none"
701
- }, null, 8, Kt))), 256)),
702
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("circle", {
717
+ }, null, 8, el))), 256)),
718
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("circle", {
703
719
  cx: s.x,
704
720
  cy: s.y,
705
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${H.value})` : s.color,
721
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : s.color,
706
722
  r: n.value.plots,
707
723
  stroke: e.value.style.chart.plots.stroke,
708
724
  "stroke-width": e.value.style.chart.plots.strokeWidth,
709
- class: O({ animated: e.value.useCssAnimation }),
725
+ class: I({ animated: e.value.useCssAnimation }),
710
726
  style: $({
711
727
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
712
728
  transition: "opacity 0.2s ease-in-out"
713
729
  })
714
- }, null, 14, Qt))), 256)),
715
- e.value.style.chart.plots.labels.show ? (o(), r("g", el, [
716
- (o(!0), r(g, null, k(l.plots, (s) => (o(), r("g", null, [
730
+ }, null, 14, tl))), 256)),
731
+ e.value.style.chart.plots.labels.show ? (o(), r("g", ll, [
732
+ (o(!0), r(b, null, k(l.plots, (s) => (o(), r("g", null, [
717
733
  String(s.label).includes(`
718
734
  `) ? (o(), r("text", {
719
735
  key: 1,
@@ -723,19 +739,19 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
723
739
  fill: e.value.style.chart.plots.labels.color,
724
740
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
725
741
  "text-anchor": "middle",
726
- class: O({ animated: e.value.useCssAnimation }),
742
+ class: I({ animated: e.value.useCssAnimation }),
727
743
  style: $({
728
744
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
729
745
  transition: "opacity 0.2s ease-in-out"
730
746
  }),
731
- innerHTML: i(ft)({
747
+ innerHTML: u(xt)({
732
748
  content: String(s.label),
733
749
  fontSize: n.value.labels,
734
750
  fill: e.value.style.chart.plots.labels.color,
735
751
  x: s.x + e.value.style.chart.plots.labels.offsetX,
736
752
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels
737
753
  })
738
- }, null, 14, ll)) : (o(), r("text", {
754
+ }, null, 14, sl)) : (o(), r("text", {
739
755
  key: 0,
740
756
  x: s.x + e.value.style.chart.plots.labels.offsetX,
741
757
  y: s.y + e.value.style.chart.plots.labels.offsetY + n.value.plots + n.value.labels,
@@ -743,54 +759,54 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
743
759
  fill: e.value.style.chart.plots.labels.color,
744
760
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
745
761
  "text-anchor": "middle",
746
- class: O({ animated: e.value.useCssAnimation }),
762
+ class: I({ animated: e.value.useCssAnimation }),
747
763
  style: $({
748
764
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
749
765
  transition: "opacity 0.2s ease-in-out"
750
766
  })
751
- }, z(s.label), 15, tl))
767
+ }, L(s.label), 15, al))
752
768
  ]))), 256))
753
769
  ])) : v("", !0),
754
- e.value.style.chart.plots.indexLabels.show ? (o(), r("g", al, [
755
- (o(!0), r(g, null, k(l.plots, (s, L) => (o(), r("text", {
770
+ e.value.style.chart.plots.indexLabels.show ? (o(), r("g", ol, [
771
+ (o(!0), r(b, null, k(l.plots, (s, S) => (o(), r("text", {
756
772
  x: s.x + e.value.style.chart.plots.indexLabels.offsetX,
757
773
  y: s.y + e.value.style.chart.plots.indexLabels.offsetY + n.value.indexLabels / 3,
758
774
  "font-size": n.value.indexLabels,
759
775
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
760
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(xt)(l.color) : e.value.style.chart.plots.indexLabels.color,
776
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? u(pt)(l.color) : e.value.style.chart.plots.indexLabels.color,
761
777
  "text-anchor": "middle",
762
- class: O({ animated: e.value.useCssAnimation }),
778
+ class: I({ animated: e.value.useCssAnimation }),
763
779
  style: $({
764
780
  opacity: w.value === null || w.value.id === s.id ? 1 : 0.3,
765
781
  transition: "opacity 0.2s ease-in-out"
766
782
  })
767
- }, z(e.value.style.chart.plots.indexLabels.startAtZero ? L : L + 1), 15, sl))), 256))
783
+ }, L(e.value.style.chart.plots.indexLabels.startAtZero ? S : S + 1), 15, rl))), 256))
768
784
  ])) : v("", !0)
769
785
  ]))), 256)),
770
- (o(!0), r(g, null, k(T.value, (l) => (o(), r("g", null, [
771
- (o(!0), r(g, null, k(l.plots, (c, s) => (o(), r("circle", {
786
+ (o(!0), r(b, null, k(N.value, (l) => (o(), r("g", null, [
787
+ (o(!0), r(b, null, k(l.plots, (c, s) => (o(), r("circle", {
772
788
  cx: c.x,
773
789
  cy: c.y,
774
790
  fill: "transparent",
775
791
  r: n.value.plots,
776
792
  stroke: "none",
777
- onMouseenter: (L) => Qe({
793
+ onMouseenter: (S) => Qe({
778
794
  datapoint: c,
779
795
  plotIndex: s,
780
796
  seriesIndex: l.seriesIndex
781
797
  }),
782
- onMouseleave: a[0] || (a[0] = (L) => {
798
+ onMouseleave: a[0] || (a[0] = (S) => {
783
799
  Z.value = !1, w.value = null;
784
800
  }),
785
- onClick: () => Je(c)
786
- }, null, 40, ol))), 256))
801
+ onClick: () => Ke(c)
802
+ }, null, 40, nl))), 256))
787
803
  ]))), 256)),
788
804
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
789
- ], 12, Lt)) : v("", !0),
790
- t.$slots.watermark ? (o(), r("div", rl, [
791
- x(t.$slots, "watermark", X(Y({ isPrinting: i(fe) || i(xe) })), void 0, !0)
805
+ ], 12, Ot)) : v("", !0),
806
+ t.$slots.watermark ? (o(), r("div", il, [
807
+ x(t.$slots, "watermark", Y(D({ isPrinting: u(fe) || u(xe) })), void 0, !0)
792
808
  ])) : v("", !0),
793
- C.value ? v("", !0) : (o(), I(i(Ye), {
809
+ C.value ? v("", !0) : (o(), P(u(De), {
794
810
  key: 6,
795
811
  config: {
796
812
  type: "historyPlot",
@@ -802,41 +818,41 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
802
818
  }
803
819
  }
804
820
  }, null, 8, ["config"])),
805
- M("div", {
821
+ T("div", {
806
822
  ref_key: "chartLegend",
807
823
  ref: ae
808
824
  }, [
809
- e.value.style.chart.legend.show && C.value ? (o(), I(St, {
825
+ e.value.style.chart.legend.show && C.value ? (o(), P(Mt, {
810
826
  key: `legend_${se.value}`,
811
- legendSet: ge.value,
812
- config: Ze.value,
827
+ legendSet: be.value,
828
+ config: Je.value,
813
829
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
814
- be(l.seriesIndex), ke(l);
830
+ ge(l.seriesIndex), ke(l);
815
831
  })
816
832
  }, {
817
833
  item: m(({ legend: l, index: c }) => [
818
- M("div", {
834
+ T("div", {
819
835
  onClick: (s) => {
820
836
  l.segregate(), ke(l);
821
837
  },
822
- style: $(`opacity:${b.value.includes(l.seriesIndex) ? 0.5 : 1}`)
823
- }, z(l.name), 13, nl)
838
+ style: $(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
839
+ }, L(l.name), 13, ul)
824
840
  ]),
825
841
  _: 1
826
842
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
827
843
  key: 1,
828
- legend: ge.value
844
+ legend: be.value
829
845
  }, void 0, !0)
830
846
  ], 512),
831
847
  t.$slots.source ? (o(), r("div", {
832
848
  key: 7,
833
849
  ref_key: "source",
834
- ref: ue,
850
+ ref: ie,
835
851
  dir: "auto"
836
852
  }, [
837
853
  x(t.$slots, "source", {}, void 0, !0)
838
854
  ], 512)) : v("", !0),
839
- Ae(i(De), {
855
+ Ae(u(je), {
840
856
  show: _.value.showTooltip && Z.value,
841
857
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
842
858
  color: e.value.style.chart.tooltip.color,
@@ -847,20 +863,20 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
847
863
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
848
864
  position: e.value.style.chart.tooltip.position,
849
865
  offsetY: e.value.style.chart.tooltip.offsetY,
850
- parent: B.value,
866
+ parent: A.value,
851
867
  content: J.value,
852
- isCustom: R.value,
853
- isFullscreen: E.value
868
+ isCustom: E.value,
869
+ isFullscreen: H.value
854
870
  }, {
855
871
  "tooltip-before": m(() => [
856
- x(t.$slots, "tooltip-before", X(Y({ ...Q.value })), void 0, !0)
872
+ x(t.$slots, "tooltip-before", Y(D({ ...Q.value })), void 0, !0)
857
873
  ]),
858
874
  "tooltip-after": m(() => [
859
- x(t.$slots, "tooltip-after", X(Y({ ...Q.value })), void 0, !0)
875
+ x(t.$slots, "tooltip-after", Y(D({ ...Q.value })), void 0, !0)
860
876
  ]),
861
877
  _: 3
862
878
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
863
- C.value ? (o(), I(i(Ie), {
879
+ C.value ? (o(), P(u(Pe), {
864
880
  key: 8,
865
881
  hideDetails: "",
866
882
  config: {
@@ -877,32 +893,32 @@ const Tt = ["id"], Lt = ["xmlns", "viewBox"], Nt = ["x", "y", "width", "height"]
877
893
  }
878
894
  }, {
879
895
  content: m(() => [
880
- (o(), I(i(Pe), {
896
+ (o(), P(u(Fe), {
881
897
  key: `table_${oe.value}`,
882
- colNames: W.value.colNames,
883
- head: W.value.head,
884
- body: W.value.body,
885
- config: W.value.config,
898
+ colNames: U.value.colNames,
899
+ head: U.value.head,
900
+ body: U.value.body,
901
+ config: U.value.config,
886
902
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
887
903
  onClose: a[2] || (a[2] = (l) => _.value.showTable = !1)
888
904
  }, {
889
905
  th: m(({ th: l }) => [
890
- M("div", {
906
+ T("div", {
891
907
  innerHTML: l,
892
908
  style: { display: "flex", "align-items": "center" }
893
- }, null, 8, ul)
909
+ }, null, 8, cl)
894
910
  ]),
895
911
  td: m(({ td: l }) => [
896
- ot(z(l.name || l), 1)
912
+ rt(L(l.name || l), 1)
897
913
  ]),
898
914
  _: 1
899
915
  }, 8, ["colNames", "head", "body", "config", "title"]))
900
916
  ]),
901
917
  _: 1
902
918
  }, 8, ["config"])) : v("", !0)
903
- ], 46, Tt));
919
+ ], 46, Nt));
904
920
  }
905
- }, gl = /* @__PURE__ */ zt(il, [["__scopeId", "data-v-f6dac43f"]]);
921
+ }, Cl = /* @__PURE__ */ Lt(vl, [["__scopeId", "data-v-dcfeda78"]]);
906
922
  export {
907
- gl as default
923
+ Cl as default
908
924
  };