vue-data-ui 2.12.6 → 2.12.7-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/{Arrow-Bd9ZVBnX.js → Arrow-CmqjRRUl.js} +1 -1
  2. package/dist/BaseDraggableDialog-BMlyvt7E.js +180 -0
  3. package/dist/{BaseIcon-CNbwMh_-.js → BaseIcon-CZdMutjs.js} +1 -1
  4. package/dist/{ColorPicker-B_FoQwtO.js → ColorPicker-DvVKgyAl.js} +23 -24
  5. package/dist/{DataTable-Rajdtaf6.js → DataTable-Cv9CIz-a.js} +11 -11
  6. package/dist/{Legend-BxtDQCIv.js → Legend-DFunFf8i.js} +8 -8
  7. package/dist/NonSvgPenAndPaper-pVuHj6_A.js +467 -0
  8. package/dist/PackageVersion-CLY-udAA.js +10 -0
  9. package/dist/{PenAndPaper-BkP3J-Ft.js → PenAndPaper-B9na2mbr.js} +8 -10
  10. package/dist/RecursiveCircles-Dn3TGoL6.js +96 -0
  11. package/dist/RecursiveLabels-NTMB9w5C.js +49 -0
  12. package/dist/RecursiveLinks-ld_gDZH4.js +64 -0
  13. package/dist/{Shape-C69a0f29.js → Shape-D3w9qas1.js} +2 -2
  14. package/dist/{Slicer-7qFdY-bT.js → Slicer-ncY8krrM.js} +2 -2
  15. package/dist/SparkTooltip-CwThutH2.js +68 -0
  16. package/dist/{Title-CzaCeCOm.js → Title-B5qqUI3M.js} +2 -2
  17. package/dist/Tooltip-C9rxJ-Ru.js +149 -0
  18. package/dist/{usePrinter-C5bLp34h.js → UserOptions-Ddy6CuLC.js} +172 -231
  19. package/dist/{dom-to-png-Bm0D0yPL.js → dom-to-png-DDlooC9r.js} +1 -1
  20. package/dist/{img-BN9AzqUr.js → img-m9g7lR5d.js} +1 -1
  21. package/dist/{index-BFzQMJda.js → index-BiHmNd1-.js} +21 -21
  22. package/dist/{pdf-uTbs813M.js → pdf-BqM953uL.js} +1 -1
  23. package/dist/style.css +1 -1
  24. package/dist/useChartAccessibility-9icAAmYg.js +12 -0
  25. package/dist/useMouse-AicQS8Vf.js +13 -0
  26. package/dist/{useNestedProp-v7KPpwuP.js → useNestedProp-tRqS0ZAM.js} +1 -1
  27. package/dist/{usePanZoom-CUkkqW81.js → usePanZoom-BQMvRXEQ.js} +16 -17
  28. package/dist/usePrinter-CRCbl1WG.js +53 -0
  29. package/dist/vClickOutside-C6WiFswA.js +13 -0
  30. package/dist/{vue-data-ui-D1k8FeRp.js → vue-data-ui-D9uTDt73.js} +63 -63
  31. package/dist/vue-data-ui.js +19 -19
  32. package/dist/{vue-ui-3d-bar-DoklA4DT.js → vue-ui-3d-bar-rtuSc8FS.js} +397 -402
  33. package/dist/{vue-ui-accordion-BUz4JIIX.js → vue-ui-accordion-CmCs2yR2.js} +3 -3
  34. package/dist/{vue-ui-age-pyramid-4kyBq-Dy.js → vue-ui-age-pyramid-BrzMSiyu.js} +215 -218
  35. package/dist/{vue-ui-annotator-Bq1ZeFfb.js → vue-ui-annotator-CYxmTpf6.js} +2 -2
  36. package/dist/{vue-ui-bullet-DU10avvA.js → vue-ui-bullet-D25qNQfb.js} +137 -140
  37. package/dist/{vue-ui-candlestick-BI1t3flz.js → vue-ui-candlestick-BuerNa-r.js} +265 -271
  38. package/dist/{vue-ui-carousel-table-VowLf_oc.js → vue-ui-carousel-table-aN0HLsOO.js} +137 -137
  39. package/dist/{vue-ui-chestnut-BHjV3d94.js → vue-ui-chestnut-oUj2ocsZ.js} +397 -400
  40. package/dist/{vue-ui-chord-CPr7r-2_.js → vue-ui-chord-C4evlXYB.js} +356 -365
  41. package/dist/vue-ui-circle-pack-CWrNiKTY.js +656 -0
  42. package/dist/{vue-ui-cursor-C9teAbVI.js → vue-ui-cursor-DgpSttlt.js} +2 -2
  43. package/dist/{vue-ui-dashboard-CwDYB8tP.js → vue-ui-dashboard-BN2ha1Eh.js} +62 -62
  44. package/dist/{vue-ui-digits-CHmkL0hn.js → vue-ui-digits-BhjAxXgm.js} +2 -2
  45. package/dist/vue-ui-donut-D3_z61HI.js +1291 -0
  46. package/dist/vue-ui-donut-evolution-oKtmZPx4.js +864 -0
  47. package/dist/{vue-ui-dumbbell-DTKLLd1N.js → vue-ui-dumbbell-C8Lokx-F.js} +265 -270
  48. package/dist/{vue-ui-flow-BLBhsU2n.js → vue-ui-flow-BVRkH0PS.js} +291 -300
  49. package/dist/{vue-ui-funnel-CIrWdeBk.js → vue-ui-funnel-DFxcmAB5.js} +216 -219
  50. package/dist/{vue-ui-galaxy-ByhKyIV4.js → vue-ui-galaxy-CGE0hlBC.js} +227 -235
  51. package/dist/{vue-ui-gauge-BbfBMpng.js → vue-ui-gauge-B48eMvOR.js} +240 -243
  52. package/dist/{vue-ui-gizmo-BM-_QfHM.js → vue-ui-gizmo-zTKNpjvv.js} +57 -58
  53. package/dist/{vue-ui-heatmap-BA4z4hsw.js → vue-ui-heatmap-UNfTt8SM.js} +239 -242
  54. package/dist/{vue-ui-history-plot-8vM_IUy8.js → vue-ui-history-plot-CbCWmvtg.js} +257 -262
  55. package/dist/{vue-ui-kpi-D57QLK6A.js → vue-ui-kpi-Drf_lrlh.js} +29 -30
  56. package/dist/{vue-ui-mini-loader-CR4c-xJQ.js → vue-ui-mini-loader-DU3G6BVs.js} +2 -2
  57. package/dist/vue-ui-molecule-B5MOXYEA.js +580 -0
  58. package/dist/{vue-ui-mood-radar-Brc9cxoD.js → vue-ui-mood-radar-CC_CVLvn.js} +180 -186
  59. package/dist/{vue-ui-nested-donuts-W3Z5F--L.js → vue-ui-nested-donuts-D_H962kk.js} +366 -374
  60. package/dist/{vue-ui-onion-BNBlGNlF.js → vue-ui-onion-P8k6T724.js} +252 -258
  61. package/dist/{vue-ui-parallel-coordinate-plot-B5G3jyvg.js → vue-ui-parallel-coordinate-plot-B5Los0vX.js} +296 -303
  62. package/dist/{vue-ui-quadrant-CUy9mVIA.js → vue-ui-quadrant-B3wzCTxK.js} +402 -409
  63. package/dist/{vue-ui-quick-chart-D4_8mRXU.js → vue-ui-quick-chart-oucj6hXk.js} +611 -616
  64. package/dist/{vue-ui-radar-BUk56jGL.js → vue-ui-radar-Cjqlyu6d.js} +270 -277
  65. package/dist/{vue-ui-rating-B9TQl5KP.js → vue-ui-rating-gryk_h_6.js} +2 -2
  66. package/dist/vue-ui-relation-circle-ielvWC-1.js +525 -0
  67. package/dist/{vue-ui-ridgeline-Cl06bGom.js → vue-ui-ridgeline-Dydqo68b.js} +321 -326
  68. package/dist/{vue-ui-rings-B6bpFlFp.js → vue-ui-rings-BRBXektJ.js} +262 -269
  69. package/dist/{vue-ui-scatter--WUuVw5G.js → vue-ui-scatter-Df-BM7Ts.js} +372 -379
  70. package/dist/{vue-ui-skeleton-B_YI7Yuc.js → vue-ui-skeleton-CbYQYRvD.js} +19 -19
  71. package/dist/{vue-ui-smiley-Bbam2fDz.js → vue-ui-smiley-BfHaQMaW.js} +2 -2
  72. package/dist/{vue-ui-spark-trend-DavXuwGt.js → vue-ui-spark-trend-z3fUChs_.js} +114 -117
  73. package/dist/{vue-ui-sparkbar-9N1FU9-J.js → vue-ui-sparkbar-ChtFIugH.js} +104 -106
  74. package/dist/{vue-ui-sparkgauge-_9ntq4EK.js → vue-ui-sparkgauge-DtpODCww.js} +72 -74
  75. package/dist/{vue-ui-sparkhistogram-BEzOV4HV.js → vue-ui-sparkhistogram-C3XnYiXI.js} +83 -86
  76. package/dist/vue-ui-sparkline-CoL8jiX8.js +459 -0
  77. package/dist/{vue-ui-sparkstackbar-BSWcs3v0.js → vue-ui-sparkstackbar-CYk3mZJH.js} +102 -105
  78. package/dist/{vue-ui-stackbar-gG5BLlAr.js → vue-ui-stackbar-D9LGbuG5.js} +433 -437
  79. package/dist/{vue-ui-strip-plot-BJouRmxh.js → vue-ui-strip-plot-C5r1Ee2R.js} +245 -252
  80. package/dist/{vue-ui-table-D9Ry8s4N.js → vue-ui-table-DBaT_TfA.js} +3 -3
  81. package/dist/{vue-ui-table-heatmap-Bizzpi31.js → vue-ui-table-heatmap-CYW4YfKN.js} +93 -94
  82. package/dist/{vue-ui-table-sparkline-Dg54Ovs2.js → vue-ui-table-sparkline-Di0MYR4p.js} +212 -212
  83. package/dist/{vue-ui-thermometer-6MSdF_Gm.js → vue-ui-thermometer-BF1btHY2.js} +154 -157
  84. package/dist/{vue-ui-timer-ByaKokk8.js → vue-ui-timer-D9FfRWN5.js} +180 -181
  85. package/dist/vue-ui-tiremarks-CQ0lk8fJ.js +341 -0
  86. package/dist/vue-ui-treemap-1Lx7YRtc.js +947 -0
  87. package/dist/{vue-ui-vertical-bar-CE4oBwBv.js → vue-ui-vertical-bar-DdVVQ1ED.js} +397 -403
  88. package/dist/{vue-ui-waffle-DNEEnY_G.js → vue-ui-waffle-BhnuPiRD.js} +317 -324
  89. package/dist/vue-ui-wheel-BIjJ0fg8.js +335 -0
  90. package/dist/vue-ui-word-cloud-3-r8HwO_.js +642 -0
  91. package/dist/{vue-ui-world-Brhq17TE.js → vue-ui-world-CPIGEswq.js} +430 -442
  92. package/dist/{vue-ui-xy-K2G7QQxG.js → vue-ui-xy-9e_epIN4.js} +845 -846
  93. package/dist/vue-ui-xy-canvas-DcGgQ7s4.js +1206 -0
  94. package/package.json +6 -6
  95. package/dist/BaseDraggableDialog-Bzwlfmy1.js +0 -186
  96. package/dist/PackageVersion-BjrblLPQ.js +0 -10
  97. package/dist/Tooltip-CWmRmhJr.js +0 -158
  98. package/dist/useChartAccessibility-BWojgys7.js +0 -13
  99. package/dist/vue-ui-circle-pack-D_jYpsuD.js +0 -659
  100. package/dist/vue-ui-donut-WRUDvvZa.js +0 -1292
  101. package/dist/vue-ui-donut-evolution-BQxV5D_L.js +0 -871
  102. package/dist/vue-ui-molecule-Bq69N7rC.js +0 -782
  103. package/dist/vue-ui-relation-circle-T6aTibIU.js +0 -528
  104. package/dist/vue-ui-sparkline-D__GCUAz.js +0 -519
  105. package/dist/vue-ui-tiremarks-Z8pjUT1g.js +0 -344
  106. package/dist/vue-ui-treemap-pRJ3be5l.js +0 -956
  107. package/dist/vue-ui-wheel-DWPYZxdT.js +0 -338
  108. package/dist/vue-ui-word-cloud-DAR7R8F8.js +0 -648
  109. package/dist/vue-ui-xy-canvas-ml44sPHS.js +0 -1673
@@ -1,23 +1,17 @@
1
- import { ref as c, computed as f, onMounted as We, onBeforeUnmount as He, watch as Ee, createElementBlock as r, openBlock as s, unref as h, normalizeStyle as M, normalizeClass as O, renderSlot as x, createBlock as z, createCommentVNode as v, createElementVNode as A, createVNode as we, createSlots as Ge, withCtx as m, normalizeProps as I, guardReactiveProps as P, Fragment as b, renderList as k, toDisplayString as L, createTextVNode as Ve, nextTick as qe } from "vue";
2
- import { u as Ze, c as Ce, o as Je, e as _e, g as Ke, b as Qe, d as et, p as H, D as $e, i as F, f as X, X as tt, l as lt, h as at, G as st, F as N, t as ot, a as rt, C as E, q as nt, r as ut, x as it } from "./index-BFzQMJda.js";
3
- import { u as Me } from "./useNestedProp-v7KPpwuP.js";
4
- import { u as ct, U as vt } from "./usePrinter-C5bLp34h.js";
5
- import { _ as ht } from "./PackageVersion-BjrblLPQ.js";
6
- import { L as yt } from "./Legend-BxtDQCIv.js";
7
- import { _ as dt } from "./Title-CzaCeCOm.js";
8
- import { _ as ft } from "./Tooltip-CWmRmhJr.js";
9
- import { D as xt } from "./DataTable-Rajdtaf6.js";
10
- import pt from "./vue-ui-accordion-BUz4JIIX.js";
11
- import { _ as mt } from "./PenAndPaper-BkP3J-Ft.js";
12
- import gt from "./vue-ui-skeleton-B_YI7Yuc.js";
13
- import { t as bt, u as kt } from "./useResponsive-JZ9xq-JV.js";
14
- import { u as wt } from "./useUserOptionState-BIvW1Kz7.js";
15
- import { u as Ct } from "./useChartAccessibility-BWojgys7.js";
16
- import { _ as _t } from "./_plugin-vue_export-helper-CHgC5LLL.js";
17
- const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"], At = { key: 1 }, Lt = ["id"], St = ["stop-color"], zt = ["stop-color"], Nt = ["stop-color"], Ot = { key: 2 }, It = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Pt = { key: 3 }, Ft = ["x", "y", "fill", "font-size"], Xt = ["transform", "font-size", "fill", "font-weight"], Dt = { key: 5 }, Yt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], jt = { key: 6 }, Bt = ["transform", "fill", "font-size", "text-anchor"], Rt = ["x", "y", "font-size", "fill", "font-weight"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Ht = ["d", "stroke", "stroke-width"], Et = ["d", "stroke", "stroke-width"], Gt = ["cx", "cy", "fill", "r"], Vt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], qt = { key: 1 }, Zt = ["x", "y", "font-size", "fill", "font-weight"], Jt = { key: 2 }, Kt = ["x", "y", "font-size", "font-weight", "fill"], Qt = ["cx", "cy", "r", "onMouseenter", "onClick"], el = {
1
+ import { defineAsyncComponent as N, ref as h, shallowRef as _e, computed as f, onMounted as et, onBeforeUnmount as tt, watch as lt, createElementBlock as r, openBlock as s, unref as i, normalizeStyle as M, normalizeClass as F, renderSlot as x, createBlock as O, createCommentVNode as v, createElementVNode as S, createVNode as $e, createSlots as at, withCtx as m, normalizeProps as X, guardReactiveProps as D, Fragment as b, renderList as k, toDisplayString as z, createTextVNode as st, nextTick as ot } from "vue";
2
+ import { u as rt, c as Me, o as nt, e as Ae, g as ut, b as it, d as ct, p as G, D as Te, i as Y, f as j, X as vt, l as ht, h as yt, G as dt, F as I, t as ft, a as xt, C as V, q as pt, r as mt, x as gt } from "./index-BiHmNd1-.js";
3
+ import { u as Se } from "./useNestedProp-tRqS0ZAM.js";
4
+ import { u as bt } from "./usePrinter-CRCbl1WG.js";
5
+ import { t as kt, u as wt } from "./useResponsive-JZ9xq-JV.js";
6
+ import { u as Ct } from "./useUserOptionState-BIvW1Kz7.js";
7
+ import { u as _t } from "./useChartAccessibility-9icAAmYg.js";
8
+ import $t from "./Legend-DFunFf8i.js";
9
+ import Mt from "./Title-B5qqUI3M.js";
10
+ import { _ as At } from "./_plugin-vue_export-helper-CHgC5LLL.js";
11
+ const Tt = ["id"], St = ["xmlns", "viewBox"], zt = ["x", "y", "width", "height"], Lt = { key: 1 }, Nt = ["id"], Ot = ["stop-color"], It = ["stop-color"], Pt = ["stop-color"], Ft = { key: 2 }, Xt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Dt = { key: 3 }, Yt = ["x", "y", "fill", "font-size"], jt = ["transform", "font-size", "fill", "font-weight"], Rt = { key: 5 }, Bt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Wt = { key: 6 }, Et = ["transform", "fill", "font-size", "text-anchor"], Ht = ["x", "y", "font-size", "fill", "font-weight"], Ut = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Gt = ["x1", "x2", "y1", "y2", "stroke", "stroke-width"], Vt = ["d", "stroke", "stroke-width"], qt = ["d", "stroke", "stroke-width"], Zt = ["cx", "cy", "fill", "r"], Jt = ["cx", "cy", "fill", "r", "stroke", "stroke-width"], Kt = { key: 1 }, Qt = ["x", "y", "font-size", "fill", "font-weight"], el = { key: 2 }, tl = ["x", "y", "font-size", "font-weight", "fill"], ll = ["cx", "cy", "r", "onMouseenter", "onClick"], al = {
18
12
  key: 5,
19
13
  class: "vue-data-ui-watermark"
20
- }, tl = ["onClick"], ll = ["innerHTML"], al = {
14
+ }, sl = ["onClick"], ol = ["innerHTML"], rl = {
21
15
  __name: "vue-ui-history-plot",
22
16
  props: {
23
17
  config: {
@@ -34,24 +28,22 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
34
28
  }
35
29
  },
36
30
  emits: ["selectLegend", "selectDatapoint"],
37
- setup(Te, { expose: Ae, emit: Le }) {
38
- const { vue_ui_history_plot: Se } = Ze(), y = Te, D = c(null), K = c(null), Q = c(0), ee = c(null), te = c(0), le = c(0), ae = c(0), B = c(null), se = c(null), Y = c(Ce()), G = c(!1), V = c(""), g = c([]), R = c(!1), $ = c(null), j = c(!1), oe = c(null), w = f({
31
+ setup(ze, { expose: Le, emit: Ne }) {
32
+ const Oe = N(() => import("./vue-ui-accordion-CmCs2yR2.js")), Ie = N(() => import("./DataTable-Cv9CIz-a.js")), Pe = N(() => import("./PackageVersion-CLY-udAA.js")), Fe = N(() => import("./PenAndPaper-B9na2mbr.js")), Xe = N(() => import("./vue-ui-skeleton-CbYQYRvD.js")), De = N(() => import("./Tooltip-C9rxJ-Ru.js")), Ye = N(() => import("./UserOptions-Ddy6CuLC.js")), { vue_ui_history_plot: je } = rt(), y = ze, R = h(null), ee = h(null), te = h(0), le = h(null), ae = h(0), se = h(0), oe = h(0), A = _e(null), P = _e(null), re = h(null), B = h(Me()), q = h(!1), Z = h(""), g = h([]), E = h(!1), $ = h(null), W = h(!1), ne = h(null), w = f({
39
33
  get: () => !!y.dataset && y.dataset.length,
40
34
  set: (t) => t
41
- }), re = Le;
42
- We(ne), He(() => {
43
- B.value && B.value.disconnect();
44
- });
45
- function ne() {
46
- if (Je(y.dataset) ? _e({
35
+ }), ue = Ne;
36
+ et(ie);
37
+ function ie() {
38
+ if (nt(y.dataset) ? Ae({
47
39
  componentName: "VueUiHistoryPlot",
48
40
  type: "dataset"
49
41
  }) : y.dataset.forEach((t, a) => {
50
- Ke({
42
+ ut({
51
43
  datasetObject: t,
52
44
  requiredAttributes: ["name", "values"]
53
45
  }).forEach((l) => {
54
- w.value = !1, _e({
46
+ w.value = !1, Ae({
55
47
  componentName: "VueUiHistoryPlot",
56
48
  type: "datasetSerieAttribute",
57
49
  property: l,
@@ -59,52 +51,52 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
59
51
  });
60
52
  });
61
53
  }), e.value.responsive) {
62
- const t = bt(() => {
63
- const { width: a, height: l } = kt({
64
- chart: D.value,
65
- title: e.value.style.chart.title.text ? K.value : null,
66
- noTitle: se.value,
67
- legend: e.value.style.chart.legend.show ? ee.value : null,
68
- source: oe.value
54
+ const t = kt(() => {
55
+ const { width: a, height: l } = wt({
56
+ chart: R.value,
57
+ title: e.value.style.chart.title.text ? ee.value : null,
58
+ noTitle: re.value,
59
+ legend: e.value.style.chart.legend.show ? le.value : null,
60
+ source: ne.value
69
61
  });
70
62
  requestAnimationFrame(() => {
71
- d.value.width = a, d.value.height = l, u.value.plots = N({
63
+ d.value.width = a, d.value.height = l, u.value.plots = I({
72
64
  relator: Math.min(a, l),
73
65
  adjuster: 600,
74
66
  source: e.value.style.chart.plots.radius,
75
67
  threshold: 3,
76
68
  fallback: 3
77
- }), u.value.indexLabels = N({
69
+ }), u.value.indexLabels = I({
78
70
  relator: Math.min(a, l),
79
71
  adjuster: 600,
80
72
  source: e.value.style.chart.plots.indexLabels.fontSize,
81
73
  threshold: 6,
82
74
  fallback: 6
83
- }), u.value.labels = N({
75
+ }), u.value.labels = I({
84
76
  relator: Math.min(a, l),
85
77
  adjuster: 600,
86
78
  source: e.value.style.chart.plots.labels.fontSize,
87
79
  threshold: 6,
88
80
  fallback: 6
89
- }), u.value.xAxisLabels = N({
81
+ }), u.value.xAxisLabels = I({
90
82
  relator: Math.min(a, l),
91
83
  adjuster: 600,
92
84
  source: e.value.style.chart.axes.x.labels.fontSize,
93
85
  threshold: 6,
94
86
  fallback: 6
95
- }), u.value.xAxisName = N({
87
+ }), u.value.xAxisName = I({
96
88
  relator: Math.min(a, l),
97
89
  adjuster: 600,
98
90
  source: e.value.style.chart.axes.x.name.fontSize,
99
91
  threshold: 6,
100
92
  fallback: 6
101
- }), u.value.yAxisLabels = N({
93
+ }), u.value.yAxisLabels = I({
102
94
  relator: Math.min(a, l),
103
95
  adjuster: 600,
104
96
  source: e.value.style.chart.axes.y.labels.fontSize,
105
97
  threshold: 6,
106
98
  fallback: 6
107
- }), u.value.yAxisName = N({
99
+ }), u.value.yAxisName = I({
108
100
  relator: Math.min(a, l),
109
101
  adjuster: 600,
110
102
  source: e.value.style.chart.axes.y.name.fontSize,
@@ -113,38 +105,41 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
113
105
  });
114
106
  });
115
107
  });
116
- B.value = new ResizeObserver(t), B.value.observe(D.value.parentNode);
108
+ A.value && (P.value && A.value.unobserve(P.value), A.value.disconnect()), A.value = new ResizeObserver(t), P.value = R.value.parentNode, A.value.observe(P.value);
117
109
  }
118
110
  }
119
- function ue() {
120
- const t = Me({
111
+ tt(() => {
112
+ A.value && (P.value && A.value.unobserve(P.value), A.value.disconnect());
113
+ });
114
+ function ce() {
115
+ const t = Se({
121
116
  userConfig: y.config,
122
- defaultConfig: Se
117
+ defaultConfig: je
123
118
  });
124
119
  let a = {};
125
120
  return t.theme ? a = {
126
- ...Me({
127
- userConfig: rt.vue_ui_history_plot[t.theme] || y.config,
121
+ ...Se({
122
+ userConfig: xt.vue_ui_history_plot[t.theme] || y.config,
128
123
  defaultConfig: t
129
124
  }),
130
- customPalette: ot[t.theme] || H
131
- } : a = t, y.config && E(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 && E(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 && E(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 && E(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;
125
+ customPalette: ft[t.theme] || G
126
+ } : a = t, y.config && V(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 && V(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 && V(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 && V(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;
132
127
  }
133
128
  const e = f({
134
- get: () => ue(),
129
+ get: () => ce(),
135
130
  set: (t) => t
136
- }), { userOptionsVisible: q, setUserOptionsVisibility: ie, keepUserOptionState: ce } = wt({ config: e.value }), { svgRef: ve } = Ct({ config: e.value.style.chart.title });
137
- Ee(() => y.config, (t) => {
138
- e.value = ue(), q.value = !e.value.userOptions.showOnChartHover, ne(), Q.value += 1, le.value += 1, te.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
131
+ }), { userOptionsVisible: J, setUserOptionsVisibility: ve, keepUserOptionState: he } = Ct({ config: e.value }), { svgRef: ye } = _t({ config: e.value.style.chart.title });
132
+ lt(() => y.config, (t) => {
133
+ e.value = ce(), J.value = !e.value.userOptions.showOnChartHover, ie(), te.value += 1, se.value += 1, ae.value += 1, d.value.height = e.value.style.chart.height, d.value.width = e.value.style.chart.width, u.value.plots = e.value.style.chart.plots.radius, u.value.indexLabels = e.value.style.chart.plots.indexLabels.fontSize, u.value.labels = e.value.style.chart.plots.labels.fontSize, u.value.xAxisLabels = e.value.style.chart.axes.x.labels.fontSize, u.value.xAxisName = e.value.style.chart.axes.x.name.fontSize, u.value.yAxisLabels = e.value.style.chart.axes.y.labels.fontSize, u.value.yAxisName = e.value.style.chart.axes.y.name.fontSize, C.value.showTable = e.value.table.show, C.value.showTooltip = e.value.style.chart.tooltip.show;
139
134
  }, { deep: !0 });
140
- const { isPrinting: he, isImaging: ye, generatePdf: de, generateImage: fe } = ct({
141
- elementId: `history_plot_${Y.value}`,
135
+ const { isPrinting: de, isImaging: fe, generatePdf: xe, generateImage: pe } = bt({
136
+ elementId: `history_plot_${B.value}`,
142
137
  fileName: e.value.style.chart.title.text || "vue-ui-history-plot",
143
138
  options: e.value.userOptions.print
144
- }), ze = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Ne = f(() => Qe(e.value.customPalette)), C = c({
139
+ }), Re = f(() => e.value.userOptions.show && !e.value.style.chart.title.text), Be = f(() => it(e.value.customPalette)), C = h({
145
140
  showTable: e.value.table.show,
146
141
  showTooltip: e.value.style.chart.tooltip.show
147
- }), d = c({
142
+ }), d = h({
148
143
  height: e.value.style.chart.height,
149
144
  width: e.value.style.chart.width
150
145
  }), n = f(() => {
@@ -157,7 +152,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
157
152
  width: d.value.width - t - e.value.style.chart.padding.right,
158
153
  height: d.value.height - a - e.value.style.chart.padding.bottom
159
154
  };
160
- }), u = c({
155
+ }), u = h({
161
156
  plots: e.value.style.chart.plots.radius,
162
157
  indexLabels: e.value.style.chart.plots.indexLabels.fontSize,
163
158
  labels: e.value.style.chart.plots.labels.fontSize,
@@ -167,24 +162,24 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
167
162
  yAxisName: e.value.style.chart.axes.y.name.fontSize
168
163
  }), T = f(() => w.value ? y.dataset.map((t, a) => ({
169
164
  ...t,
170
- color: t.color ? et(t.color) : Ne.value[a] || H[a] || H[a % H.length],
165
+ color: t.color ? ct(t.color) : Be.value[a] || G[a] || G[a % G.length],
171
166
  seriesIndex: a
172
- })) : []), Oe = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Ie = f(() => {
167
+ })) : []), We = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.x))) : 1), Ee = f(() => {
173
168
  if (!w.value) return 1;
174
169
  const t = Math.min(...T.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.x)));
175
170
  return t < 0 ? t : 0;
176
- }), Pe = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Fe = f(() => {
171
+ }), He = f(() => w.value ? Math.max(...T.value.filter((t) => !g.value.includes(t.seriesIndex)).flatMap((t) => t.values.map((a) => a.y))) : 1), Ue = f(() => {
177
172
  if (!w.value) return 1;
178
173
  const t = Math.min(...T.value.filter((a) => !g.value.includes(a.seriesIndex)).flatMap((a) => a.values.map((l) => l.y)));
179
174
  return t < 0 ? t : 0;
180
175
  }), p = f(() => {
181
- const t = $e(
182
- e.value.style.chart.axes.x.scaleMin === null ? Ie.value : e.value.style.chart.axes.x.scaleMin,
183
- e.value.style.chart.axes.x.scaleMax === null ? Oe.value : e.value.style.chart.axes.x.scaleMax,
176
+ const t = Te(
177
+ e.value.style.chart.axes.x.scaleMin === null ? Ee.value : e.value.style.chart.axes.x.scaleMin,
178
+ e.value.style.chart.axes.x.scaleMax === null ? We.value : e.value.style.chart.axes.x.scaleMax,
184
179
  e.value.style.chart.axes.x.ticks
185
- ), a = $e(
186
- e.value.style.chart.axes.y.scaleMin === null ? Fe.value : e.value.style.chart.axes.y.scaleMin,
187
- e.value.style.chart.axes.y.scaleMax === null ? Pe.value : e.value.style.chart.axes.y.scaleMax,
180
+ ), a = Te(
181
+ e.value.style.chart.axes.y.scaleMin === null ? Ue.value : e.value.style.chart.axes.y.scaleMin,
182
+ e.value.style.chart.axes.y.scaleMax === null ? He.value : e.value.style.chart.axes.y.scaleMax,
188
183
  e.value.style.chart.axes.y.ticks
189
184
  );
190
185
  return {
@@ -204,41 +199,41 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
204
199
  }))
205
200
  };
206
201
  });
207
- function Xe(t) {
202
+ function Ge(t) {
208
203
  const a = p.value.x.min < 0 ? Math.abs(p.value.x.min) : p.value.x.min > 0 ? -p.value.x.min : 0;
209
204
  return n.value.left + ((t || 0) + a) / (p.value.x.max + a) * n.value.width;
210
205
  }
211
- function De(t) {
206
+ function Ve(t) {
212
207
  const a = p.value.y.min < 0 ? Math.abs(p.value.y.min) : p.value.y.min > 0 ? -p.value.y.min : 0;
213
208
  return n.value.bottom - ((t || 0) + a) / (p.value.y.max + a) * n.value.height;
214
209
  }
215
- const S = f(() => T.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
210
+ const L = f(() => T.value.filter((t) => !g.value.includes(t.seriesIndex)).map((t, a) => {
216
211
  const l = t.values.map((o, _) => ({
217
212
  valueX: o.x,
218
213
  valueY: o.y,
219
214
  label: o.label,
220
- x: Xe(o.x),
221
- y: De(o.y),
215
+ x: Ge(o.x),
216
+ y: Ve(o.y),
222
217
  color: t.color,
223
218
  seriesName: t.name,
224
- id: Ce()
225
- })), i = l.map((o) => `${o.x},${o.y} `).join("").trim();
219
+ id: Me()
220
+ })), c = l.map((o) => `${o.x},${o.y} `).join("").trim();
226
221
  return {
227
222
  ...t,
228
223
  plots: l,
229
- path: `M${i}`
224
+ path: `M${c}`
230
225
  };
231
226
  }));
232
- function xe(t) {
227
+ function me(t) {
233
228
  g.value.includes(t) ? g.value = g.value.filter((a) => a !== t) : g.value.push(t);
234
229
  }
235
- const pe = f(() => T.value.map((t) => ({
230
+ const ge = f(() => T.value.map((t) => ({
236
231
  ...t,
237
232
  opacity: g.value.includes(t.seriesIndex) ? 0.5 : 1,
238
- segregate: () => xe(t.seriesIndex),
233
+ segregate: () => me(t.seriesIndex),
239
234
  isSegregated: g.value.includes(t.seriesIndex),
240
235
  shape: "circle"
241
- }))), Ye = f(() => ({
236
+ }))), qe = f(() => ({
242
237
  cy: "history-plot-div-legend",
243
238
  backgroundColor: e.value.style.chart.legend.backgroundColor,
244
239
  color: e.value.style.chart.legend.color,
@@ -246,90 +241,90 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
246
241
  paddingBottom: 12,
247
242
  fontWeight: e.value.style.chart.legend.bold ? "bold" : ""
248
243
  }));
249
- function je(t) {
250
- re("selectDatapoint", t);
244
+ function Ze(t) {
245
+ ue("selectDatapoint", t);
251
246
  }
252
- function me(t) {
253
- re("selectLegend", {
247
+ function be(t) {
248
+ ue("selectLegend", {
254
249
  ...t,
255
250
  isSegregated: !t.isSegregated,
256
251
  opacity: t.isSegregated ? 1 : 0.5
257
252
  });
258
253
  }
259
- function Be(t) {
260
- R.value = t, ae.value += 1;
254
+ function Je(t) {
255
+ E.value = t, oe.value += 1;
261
256
  }
262
- const Z = c(null);
263
- function Re({ datapoint: t, plotIndex: a, seriesIndex: l }) {
264
- Z.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: T.value }, $.value = t;
265
- const i = e.value.style.chart.tooltip.customFormat;
266
- if (j.value = !1, it(i))
257
+ const K = h(null);
258
+ function Ke({ datapoint: t, plotIndex: a, seriesIndex: l }) {
259
+ K.value = { datapoint: t, seriesIndex: l, plotIndex: a, config: e.value, series: T.value }, $.value = t;
260
+ const c = e.value.style.chart.tooltip.customFormat;
261
+ if (W.value = !1, gt(c))
267
262
  try {
268
- const o = i({
263
+ const o = c({
269
264
  seriesIndex: l,
270
265
  datapoint: t,
271
266
  plotIndex: a,
272
267
  series: T.value,
273
268
  config: e.value
274
269
  });
275
- typeof o == "string" && (V.value = o, j.value = !0);
270
+ typeof o == "string" && (Z.value = o, W.value = !0);
276
271
  } catch {
277
- console.warn("Custom format cannot be applied."), j.value = !1;
272
+ console.warn("Custom format cannot be applied."), W.value = !1;
278
273
  }
279
- if (!j.value) {
274
+ if (!W.value) {
280
275
  let o = "";
281
- o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${F(
276
+ o += `<div style="display:flex;flex-direction:row;gap:6px;align-items:center;border-bottom:1px solid ${e.value.style.chart.tooltip.borderColor};margin-bottom:3px;padding-bottom:6px;"><svg viewBox="0 0 12 12" height="14" width="14"><circle cx="6" cy="6" r="6" stroke="none" fill="${t.color}"/></svg><span>${t.seriesName}</span></div>`, o += `<div>${t.label}</div>`, o += `<div>${e.value.style.chart.axes.x.name.text || "x"}: ${Y(
282
277
  e.value.style.chart.axes.x.labels.formatter,
283
278
  t.valueX,
284
- X({
279
+ j({
285
280
  p: e.value.style.chart.axes.x.labels.prefix,
286
281
  v: t.valueX,
287
282
  s: e.value.style.chart.axes.x.labels.suffix,
288
283
  r: e.value.style.chart.axes.x.labels.rounding
289
284
  })
290
- )}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${F(
285
+ )}</div>`, o += `<div>${e.value.style.chart.axes.y.name.text || "y"}: ${Y(
291
286
  e.value.style.chart.axes.y.labels.formatter,
292
287
  t.valueY,
293
- X({
288
+ j({
294
289
  p: e.value.style.chart.axes.y.labels.prefix,
295
290
  v: t.valueY,
296
291
  s: e.value.style.chart.axes.y.labels.suffix,
297
292
  r: e.value.style.chart.axes.y.labels.rounding
298
293
  })
299
- )}</div>`, V.value = `<div>${o}</div>`;
294
+ )}</div>`, Z.value = `<div>${o}</div>`;
300
295
  }
301
- G.value = !0;
296
+ q.value = !0;
302
297
  }
303
- f(() => ({ head: S.value.map((a) => ({
298
+ f(() => ({ head: L.value.map((a) => ({
304
299
  name: a.name,
305
300
  color: a.color
306
301
  })) }));
307
- const U = f(() => {
302
+ const H = f(() => {
308
303
  const t = [
309
304
  e.value.table.columnNames.series,
310
305
  e.value.table.columnNames.datapoint,
311
306
  e.value.table.columnNames.x,
312
307
  e.value.table.columnNames.y
313
- ], a = S.value.flatMap((i) => i.plots.map((o) => [
308
+ ], a = L.value.flatMap((c) => c.plots.map((o) => [
314
309
  {
315
310
  color: o.color,
316
311
  name: o.seriesName
317
312
  },
318
313
  o.label,
319
- F(
314
+ Y(
320
315
  e.value.style.chart.axes.x.labels.formatter,
321
316
  o.valueX,
322
- X({
317
+ j({
323
318
  p: e.value.style.chart.axes.x.labels.prefix,
324
319
  v: o.valueX,
325
320
  s: e.value.style.chart.axes.x.labels.suffix,
326
321
  r: e.value.style.chart.axes.x.labels.rounding
327
322
  })
328
323
  ),
329
- F(
324
+ Y(
330
325
  e.value.style.chart.axes.y.labels.formatter,
331
326
  o.valueY,
332
- X({
327
+ j({
333
328
  p: e.value.style.chart.axes.y.labels.prefix,
334
329
  v: o.valueY,
335
330
  s: e.value.style.chart.axes.y.labels.suffix,
@@ -356,14 +351,14 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
356
351
  colNames: t
357
352
  };
358
353
  });
359
- function ge() {
360
- qe(() => {
354
+ function ke() {
355
+ ot(() => {
361
356
  const t = [
362
357
  [e.value.table.columnNames.series],
363
358
  [e.value.table.columnNames.datapoint],
364
359
  [e.value.table.columnNames.x],
365
360
  [e.value.table.columnNames.y]
366
- ], a = S.value.flatMap((o) => o.plots.map((_) => [
361
+ ], a = L.value.flatMap((o) => o.plots.map((_) => [
367
362
  [_.seriesName],
368
363
  [_.label],
369
364
  [_.valueX],
@@ -372,68 +367,68 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
372
367
  [e.value.style.chart.title.text],
373
368
  [e.value.style.chart.title.subtitle.text],
374
369
  t
375
- ].concat(a), i = nt(l);
376
- ut({
377
- csvContent: i,
370
+ ].concat(a), c = pt(l);
371
+ mt({
372
+ csvContent: c,
378
373
  title: e.value.style.chart.title.text || "vue-ui-history-plot"
379
374
  });
380
375
  });
381
376
  }
382
- const W = c(!1);
383
- function J() {
384
- W.value = !W.value;
377
+ const U = h(!1);
378
+ function Q() {
379
+ U.value = !U.value;
385
380
  }
386
- function be() {
381
+ function we() {
387
382
  C.value.showTable = !C.value.showTable;
388
383
  }
389
- function ke() {
384
+ function Ce() {
390
385
  C.value.showTooltip = !C.value.showTooltip;
391
386
  }
392
- function Ue() {
393
- return S.value;
387
+ function Qe() {
388
+ return L.value;
394
389
  }
395
- return Ae({
396
- getData: Ue,
397
- generatePdf: de,
398
- generateCsv: ge,
399
- generateImage: fe,
400
- toggleTable: be,
401
- toggleTooltip: ke,
402
- toggleAnnotator: J
390
+ return Le({
391
+ getData: Qe,
392
+ generatePdf: xe,
393
+ generateCsv: ke,
394
+ generateImage: pe,
395
+ toggleTable: we,
396
+ toggleTooltip: Ce,
397
+ toggleAnnotator: Q
403
398
  }), (t, a) => (s(), r("div", {
404
- id: `history_plot_${Y.value}`,
399
+ id: `history_plot_${B.value}`,
405
400
  ref_key: "historyPlotChart",
406
- ref: D,
407
- class: O({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": R.value }),
401
+ ref: R,
402
+ class: F({ "vue-ui-history-plot": !0, "vue-data-ui-wrapper-fullscreen": E.value }),
408
403
  style: M(`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%" : ""}`),
409
- onMouseenter: a[3] || (a[3] = () => h(ie)(!0)),
410
- onMouseleave: a[4] || (a[4] = () => h(ie)(!1))
404
+ onMouseenter: a[3] || (a[3] = () => i(ve)(!0)),
405
+ onMouseleave: a[4] || (a[4] = () => i(ve)(!1))
411
406
  }, [
412
407
  x(t.$slots, "userConfig", {}, void 0, !0),
413
- e.value.userOptions.buttons.annotator ? (s(), z(mt, {
408
+ e.value.userOptions.buttons.annotator ? (s(), O(i(Fe), {
414
409
  key: 0,
415
- svgRef: h(ve),
410
+ svgRef: i(ye),
416
411
  backgroundColor: e.value.style.chart.backgroundColor,
417
412
  color: e.value.style.chart.color,
418
- active: W.value,
419
- onClose: J
413
+ active: U.value,
414
+ onClose: Q
420
415
  }, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : v("", !0),
421
- ze.value ? (s(), r("div", {
416
+ Re.value ? (s(), r("div", {
422
417
  key: 1,
423
418
  ref_key: "noTitle",
424
- ref: se,
419
+ ref: re,
425
420
  class: "vue-data-ui-no-title-space",
426
421
  style: "height:36px; width: 100%;background:transparent"
427
422
  }, null, 512)) : v("", !0),
428
423
  e.value.style.chart.title.text ? (s(), r("div", {
429
424
  key: 2,
430
425
  ref_key: "chartTitle",
431
- ref: K,
426
+ ref: ee,
432
427
  class: "vue-ui-xy-title",
433
428
  style: M(`font-family:${e.value.style.fontFamily}`)
434
429
  }, [
435
- (s(), z(dt, {
436
- key: `title_${Q.value}`,
430
+ (s(), O(Mt, {
431
+ key: `title_${te.value}`,
437
432
  config: {
438
433
  title: {
439
434
  cy: "history-plot-div-title",
@@ -446,14 +441,14 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
446
441
  }
447
442
  }, null, 8, ["config"]))
448
443
  ], 4)) : v("", !0),
449
- e.value.userOptions.show && w.value && (h(ce) || h(q)) ? (s(), z(vt, {
444
+ e.value.userOptions.show && w.value && (i(he) || i(J)) ? (s(), O(i(Ye), {
450
445
  ref: "details",
451
- key: `user_option_${ae.value}`,
446
+ key: `user_option_${oe.value}`,
452
447
  backgroundColor: e.value.style.chart.backgroundColor,
453
448
  color: e.value.style.chart.color,
454
- isPrinting: h(he),
455
- isImaging: h(ye),
456
- uid: Y.value,
449
+ isPrinting: i(de),
450
+ isImaging: i(fe),
451
+ uid: B.value,
457
452
  hasTooltip: e.value.style.chart.tooltip.show && e.value.userOptions.buttons.tooltip,
458
453
  hasPdf: e.value.userOptions.buttons.pdf,
459
454
  hasImg: e.value.userOptions.buttons.img,
@@ -461,28 +456,28 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
461
456
  hasTable: e.value.userOptions.buttons.table,
462
457
  hasLabel: !1,
463
458
  hasFullscreen: e.value.userOptions.buttons.fullscreen,
464
- isFullscreen: R.value,
465
- chartElement: D.value,
459
+ isFullscreen: E.value,
460
+ chartElement: R.value,
466
461
  position: e.value.userOptions.position,
467
462
  isTooltip: C.value.showTooltip,
468
463
  titles: { ...e.value.userOptions.buttonTitles },
469
464
  hasAnnotator: e.value.userOptions.buttons.annotator,
470
- isAnnotation: W.value,
471
- onToggleFullscreen: Be,
472
- onGeneratePdf: h(de),
473
- onGenerateCsv: ge,
474
- onGenerateImage: h(fe),
475
- onToggleTable: be,
476
- onToggleTooltip: ke,
477
- onToggleAnnotator: J,
465
+ isAnnotation: U.value,
466
+ onToggleFullscreen: Je,
467
+ onGeneratePdf: i(xe),
468
+ onGenerateCsv: ke,
469
+ onGenerateImage: i(pe),
470
+ onToggleTable: we,
471
+ onToggleTooltip: Ce,
472
+ onToggleAnnotator: Q,
478
473
  style: M({
479
- visibility: h(ce) ? h(q) ? "visible" : "hidden" : "visible"
474
+ visibility: i(he) ? i(J) ? "visible" : "hidden" : "visible"
480
475
  })
481
- }, Ge({ _: 2 }, [
476
+ }, at({ _: 2 }, [
482
477
  t.$slots.menuIcon ? {
483
478
  name: "menuIcon",
484
- fn: m(({ isOpen: l, color: i }) => [
485
- x(t.$slots, "menuIcon", I(P({ isOpen: l, color: i })), void 0, !0)
479
+ fn: m(({ isOpen: l, color: c }) => [
480
+ x(t.$slots, "menuIcon", X(D({ isOpen: l, color: c })), void 0, !0)
486
481
  ]),
487
482
  key: "0"
488
483
  } : void 0,
@@ -523,15 +518,15 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
523
518
  } : void 0,
524
519
  t.$slots.optionFullscreen ? {
525
520
  name: "optionFullscreen",
526
- fn: m(({ toggleFullscreen: l, isFullscreen: i }) => [
527
- x(t.$slots, "optionFullscreen", I(P({ toggleFullscreen: l, isFullscreen: i })), void 0, !0)
521
+ fn: m(({ toggleFullscreen: l, isFullscreen: c }) => [
522
+ x(t.$slots, "optionFullscreen", X(D({ toggleFullscreen: l, isFullscreen: c })), void 0, !0)
528
523
  ]),
529
524
  key: "6"
530
525
  } : void 0,
531
526
  t.$slots.optionAnnotator ? {
532
527
  name: "optionAnnotator",
533
- fn: m(({ toggleAnnotator: l, isAnnotator: i }) => [
534
- x(t.$slots, "optionAnnotator", I(P({ toggleAnnotator: l, isAnnotator: i })), void 0, !0)
528
+ fn: m(({ toggleAnnotator: l, isAnnotator: c }) => [
529
+ x(t.$slots, "optionAnnotator", X(D({ toggleAnnotator: l, isAnnotator: c })), void 0, !0)
535
530
  ]),
536
531
  key: "7"
537
532
  } : void 0
@@ -539,12 +534,12 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
539
534
  w.value ? (s(), r("svg", {
540
535
  key: 4,
541
536
  ref_key: "svgRef",
542
- ref: ve,
543
- xmlns: h(tt),
537
+ ref: ye,
538
+ xmlns: i(vt),
544
539
  viewBox: `0 0 ${d.value.width < 0 ? 0.1 : d.value.width} ${d.value.height < 0 ? 0.1 : d.value.height}`,
545
540
  style: M(`max-width:100%;overflow:visible;background:transparent;color:${e.value.style.chart.color}`)
546
541
  }, [
547
- we(ht),
542
+ $e(i(Pe)),
548
543
  t.$slots["chart-background"] ? (s(), r("foreignObject", {
549
544
  key: 0,
550
545
  x: n.value.left,
@@ -556,27 +551,27 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
556
551
  }
557
552
  }, [
558
553
  x(t.$slots, "chart-background", {}, void 0, !0)
559
- ], 8, Tt)) : v("", !0),
560
- e.value.style.chart.plots.gradient.show ? (s(), r("defs", At, [
561
- (s(!0), r(b, null, k(S.value, (l, i) => (s(), r("radialGradient", {
562
- id: `gradient_${i}_${Y.value}`,
554
+ ], 8, zt)) : v("", !0),
555
+ e.value.style.chart.plots.gradient.show ? (s(), r("defs", Lt, [
556
+ (s(!0), r(b, null, k(L.value, (l, c) => (s(), r("radialGradient", {
557
+ id: `gradient_${c}_${B.value}`,
563
558
  fy: "30%"
564
559
  }, [
565
- A("stop", {
560
+ S("stop", {
566
561
  offset: "10%",
567
- "stop-color": h(lt)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
568
- }, null, 8, St),
569
- A("stop", {
562
+ "stop-color": i(ht)(l.color, e.value.style.chart.plots.gradient.intensity / 100)
563
+ }, null, 8, Ot),
564
+ S("stop", {
570
565
  offset: "90%",
571
- "stop-color": h(at)(l.color, 0.1)
572
- }, null, 8, zt),
573
- A("stop", {
566
+ "stop-color": i(yt)(l.color, 0.1)
567
+ }, null, 8, It),
568
+ S("stop", {
574
569
  offset: "100%",
575
570
  "stop-color": l.color
576
- }, null, 8, Nt)
577
- ], 8, Lt))), 256))
571
+ }, null, 8, Pt)
572
+ ], 8, Nt))), 256))
578
573
  ])) : v("", !0),
579
- e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Ot, [
574
+ e.value.style.chart.grid.verticalLines.show ? (s(), r("g", Ft, [
580
575
  (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("line", {
581
576
  x1: l.x,
582
577
  x2: l.x,
@@ -585,25 +580,25 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
585
580
  stroke: e.value.style.chart.grid.verticalLines.stroke,
586
581
  "stroke-width": e.value.style.chart.grid.verticalLines.strokeWidth,
587
582
  "stroke-linecap": "round"
588
- }, null, 8, It))), 256))
583
+ }, null, 8, Xt))), 256))
589
584
  ])) : v("", !0),
590
- e.value.style.chart.axes.y.labels.show ? (s(), r("g", Pt, [
585
+ e.value.style.chart.axes.y.labels.show ? (s(), r("g", Dt, [
591
586
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("text", {
592
587
  x: n.value.left + e.value.style.chart.axes.y.labels.offsetX - 4,
593
588
  y: l.y + u.value.yAxisLabels / 3,
594
589
  fill: e.value.style.chart.axes.y.labels.color,
595
590
  "font-size": u.value.yAxisLabels,
596
591
  "text-anchor": "end"
597
- }, L(h(F)(
592
+ }, z(i(Y)(
598
593
  e.value.style.chart.axes.y.labels.formatter,
599
594
  l.value,
600
- h(X)({
595
+ i(j)({
601
596
  p: e.value.style.chart.axes.y.labels.prefix,
602
597
  v: l.value,
603
598
  s: e.value.style.chart.axes.y.labels.suffix,
604
599
  r: e.value.style.chart.axes.y.labels.rounding
605
600
  })
606
- )), 9, Ft))), 256))
601
+ )), 9, Yt))), 256))
607
602
  ])) : v("", !0),
608
603
  e.value.style.chart.axes.y.name.text ? (s(), r("text", {
609
604
  key: 4,
@@ -612,8 +607,8 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
612
607
  fill: e.value.style.chart.axes.y.name.color,
613
608
  "font-weight": e.value.style.chart.axes.y.name.bold ? "bold" : "normal",
614
609
  "text-anchor": "middle"
615
- }, L(e.value.style.chart.axes.y.name.text), 9, Xt)) : v("", !0),
616
- e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Dt, [
610
+ }, z(e.value.style.chart.axes.y.name.text), 9, jt)) : v("", !0),
611
+ e.value.style.chart.grid.horizontalLines.show ? (s(), r("g", Rt, [
617
612
  (s(!0), r(b, null, k(p.value.tickY, (l) => (s(), r("line", {
618
613
  x1: l.x1,
619
614
  x2: l.x2,
@@ -622,24 +617,24 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
622
617
  stroke: e.value.style.chart.grid.horizontalLines.stroke,
623
618
  "stroke-width": e.value.style.chart.grid.horizontalLines.strokeWidth,
624
619
  "stroke-linecap": "round"
625
- }, null, 8, Yt))), 256))
620
+ }, null, 8, Bt))), 256))
626
621
  ])) : v("", !0),
627
- e.value.style.chart.axes.x.labels.show ? (s(), r("g", jt, [
622
+ e.value.style.chart.axes.x.labels.show ? (s(), r("g", Wt, [
628
623
  (s(!0), r(b, null, k(p.value.tickX, (l) => (s(), r("text", {
629
624
  transform: `translate(${l.x}, ${n.value.bottom + e.value.style.chart.axes.x.labels.offsetY + u.value.xAxisLabels}), rotate(${e.value.style.chart.axes.x.labels.rotation})`,
630
625
  fill: e.value.style.chart.axes.x.labels.color,
631
626
  "font-size": u.value.xAxisLabels,
632
627
  "text-anchor": e.value.style.chart.axes.x.labels.rotation > 0 ? "start" : e.value.style.chart.axes.x.labels.rotation < 0 ? "end" : "middle"
633
- }, L(h(F)(
628
+ }, z(i(Y)(
634
629
  e.value.style.chart.axes.x.labels.formatter,
635
630
  l.value,
636
- h(X)({
631
+ i(j)({
637
632
  p: e.value.style.chart.axes.x.labels.prefix,
638
633
  v: l.value,
639
634
  s: e.value.style.chart.axes.x.labels.suffix,
640
635
  r: e.value.style.chart.axes.x.labels.rounding
641
636
  })
642
- )), 9, Bt))), 256))
637
+ )), 9, Et))), 256))
643
638
  ])) : v("", !0),
644
639
  e.value.style.chart.axes.x.name.text ? (s(), r("text", {
645
640
  key: 7,
@@ -649,7 +644,7 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
649
644
  fill: e.value.style.chart.axes.x.name.color,
650
645
  "font-weight": e.value.style.chart.axes.x.name.bold ? "bold" : "normal",
651
646
  "text-anchor": "middle"
652
- }, L(e.value.style.chart.axes.x.name.text), 9, Rt)) : v("", !0),
647
+ }, z(e.value.style.chart.axes.x.name.text), 9, Ht)) : v("", !0),
653
648
  e.value.style.chart.grid.xAxis.show ? (s(), r("line", {
654
649
  key: 8,
655
650
  x1: n.value.left,
@@ -669,32 +664,32 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
669
664
  stroke: e.value.style.chart.grid.yAxis.stroke,
670
665
  "stroke-width": e.value.style.chart.grid.yAxis.strokeWidth,
671
666
  "stroke-linecap": "round"
672
- }, null, 8, Wt)) : v("", !0),
673
- (s(!0), r(b, null, k(S.value, (l, i) => (s(), r("g", null, [
667
+ }, null, 8, Gt)) : v("", !0),
668
+ (s(!0), r(b, null, k(L.value, (l, c) => (s(), r("g", null, [
674
669
  e.value.style.chart.paths.show ? (s(), r("g", {
675
670
  key: 0,
676
671
  style: M({
677
672
  opacity: $.value === null ? 1 : 0.3
678
673
  })
679
674
  }, [
680
- A("path", {
675
+ S("path", {
681
676
  d: l.path,
682
677
  stroke: e.value.style.chart.backgroundColor,
683
678
  "stroke-width": e.value.style.chart.paths.strokeWidth + 4,
684
679
  fill: "none",
685
680
  "stroke-linecap": "round",
686
681
  "stroke-linejoin": "round",
687
- class: O({ animated: e.value.useCssAnimation })
688
- }, null, 10, Ht),
689
- A("path", {
682
+ class: F({ animated: e.value.useCssAnimation })
683
+ }, null, 10, Vt),
684
+ S("path", {
690
685
  d: l.path,
691
686
  stroke: e.value.style.chart.paths.useSerieColor ? l.color : e.value.style.chart.paths.stroke,
692
687
  "stroke-width": e.value.style.chart.paths.strokeWidth,
693
688
  fill: "none",
694
689
  "stroke-linecap": "round",
695
690
  "stroke-linejoin": "round",
696
- class: O({ animated: e.value.useCssAnimation })
697
- }, null, 10, Et)
691
+ class: F({ animated: e.value.useCssAnimation })
692
+ }, null, 10, qt)
698
693
  ], 4)) : v("", !0),
699
694
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
700
695
  cx: o.x,
@@ -702,21 +697,21 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
702
697
  fill: e.value.style.chart.backgroundColor,
703
698
  r: u.value.plots,
704
699
  stroke: "none"
705
- }, null, 8, Gt))), 256)),
700
+ }, null, 8, Zt))), 256)),
706
701
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("circle", {
707
702
  cx: o.x,
708
703
  cy: o.y,
709
- fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${i}_${Y.value})` : o.color,
704
+ fill: e.value.style.chart.plots.gradient.show ? `url(#gradient_${c}_${B.value})` : o.color,
710
705
  r: u.value.plots,
711
706
  stroke: e.value.style.chart.plots.stroke,
712
707
  "stroke-width": e.value.style.chart.plots.strokeWidth,
713
- class: O({ animated: e.value.useCssAnimation }),
708
+ class: F({ animated: e.value.useCssAnimation }),
714
709
  style: M({
715
710
  opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
716
711
  transition: "opacity 0.2s ease-in-out"
717
712
  })
718
- }, null, 14, Vt))), 256)),
719
- e.value.style.chart.plots.labels.show ? (s(), r("g", qt, [
713
+ }, null, 14, Jt))), 256)),
714
+ e.value.style.chart.plots.labels.show ? (s(), r("g", Kt, [
720
715
  (s(!0), r(b, null, k(l.plots, (o) => (s(), r("text", {
721
716
  x: o.x + e.value.style.chart.plots.labels.offsetX,
722
717
  y: o.y + e.value.style.chart.plots.labels.offsetY + u.value.plots + u.value.labels,
@@ -724,53 +719,53 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
724
719
  fill: e.value.style.chart.plots.labels.color,
725
720
  "font-weight": e.value.style.chart.plots.labels.bold ? "bold" : "normal",
726
721
  "text-anchor": "middle",
727
- class: O({ animated: e.value.useCssAnimation }),
722
+ class: F({ animated: e.value.useCssAnimation }),
728
723
  style: M({
729
724
  opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
730
725
  transition: "opacity 0.2s ease-in-out"
731
726
  })
732
- }, L(o.label), 15, Zt))), 256))
727
+ }, z(o.label), 15, Qt))), 256))
733
728
  ])) : v("", !0),
734
- e.value.style.chart.plots.indexLabels.show ? (s(), r("g", Jt, [
729
+ e.value.style.chart.plots.indexLabels.show ? (s(), r("g", el, [
735
730
  (s(!0), r(b, null, k(l.plots, (o, _) => (s(), r("text", {
736
731
  x: o.x + e.value.style.chart.plots.indexLabels.offsetX,
737
732
  y: o.y + e.value.style.chart.plots.indexLabels.offsetY + u.value.indexLabels / 3,
738
733
  "font-size": u.value.indexLabels,
739
734
  "font-weight": e.value.style.chart.plots.indexLabels.bold ? "bold" : "normal",
740
- fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? h(st)(l.color) : e.value.style.chart.plots.indexLabels.color,
735
+ fill: e.value.style.chart.plots.indexLabels.adaptColorToBackground ? i(dt)(l.color) : e.value.style.chart.plots.indexLabels.color,
741
736
  "text-anchor": "middle",
742
- class: O({ animated: e.value.useCssAnimation }),
737
+ class: F({ animated: e.value.useCssAnimation }),
743
738
  style: M({
744
739
  opacity: $.value === null || $.value.id === o.id ? 1 : 0.3,
745
740
  transition: "opacity 0.2s ease-in-out"
746
741
  })
747
- }, L(e.value.style.chart.plots.indexLabels.startAtZero ? _ : _ + 1), 15, Kt))), 256))
742
+ }, z(e.value.style.chart.plots.indexLabels.startAtZero ? _ : _ + 1), 15, tl))), 256))
748
743
  ])) : v("", !0)
749
744
  ]))), 256)),
750
- (s(!0), r(b, null, k(S.value, (l) => (s(), r("g", null, [
751
- (s(!0), r(b, null, k(l.plots, (i, o) => (s(), r("circle", {
752
- cx: i.x,
753
- cy: i.y,
745
+ (s(!0), r(b, null, k(L.value, (l) => (s(), r("g", null, [
746
+ (s(!0), r(b, null, k(l.plots, (c, o) => (s(), r("circle", {
747
+ cx: c.x,
748
+ cy: c.y,
754
749
  fill: "transparent",
755
750
  r: u.value.plots,
756
751
  stroke: "none",
757
- onMouseenter: (_) => Re({
758
- datapoint: i,
752
+ onMouseenter: (_) => Ke({
753
+ datapoint: c,
759
754
  plotIndex: o,
760
755
  seriesIndex: l.seriesIndex
761
756
  }),
762
757
  onMouseleave: a[0] || (a[0] = (_) => {
763
- G.value = !1, $.value = null;
758
+ q.value = !1, $.value = null;
764
759
  }),
765
- onClick: () => je(i)
766
- }, null, 40, Qt))), 256))
760
+ onClick: () => Ze(c)
761
+ }, null, 40, ll))), 256))
767
762
  ]))), 256)),
768
763
  x(t.$slots, "svg", { svg: d.value }, void 0, !0)
769
- ], 12, Mt)) : v("", !0),
770
- t.$slots.watermark ? (s(), r("div", el, [
771
- x(t.$slots, "watermark", I(P({ isPrinting: h(he) || h(ye) })), void 0, !0)
764
+ ], 12, St)) : v("", !0),
765
+ t.$slots.watermark ? (s(), r("div", al, [
766
+ x(t.$slots, "watermark", X(D({ isPrinting: i(de) || i(fe) })), void 0, !0)
772
767
  ])) : v("", !0),
773
- w.value ? v("", !0) : (s(), z(gt, {
768
+ w.value ? v("", !0) : (s(), O(i(Xe), {
774
769
  key: 6,
775
770
  config: {
776
771
  type: "historyPlot",
@@ -782,42 +777,42 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
782
777
  }
783
778
  }
784
779
  }, null, 8, ["config"])),
785
- A("div", {
780
+ S("div", {
786
781
  ref_key: "chartLegend",
787
- ref: ee
782
+ ref: le
788
783
  }, [
789
- e.value.style.chart.legend.show && w.value ? (s(), z(yt, {
790
- key: `legend_${te.value}`,
791
- legendSet: pe.value,
792
- config: Ye.value,
784
+ e.value.style.chart.legend.show && w.value ? (s(), O($t, {
785
+ key: `legend_${ae.value}`,
786
+ legendSet: ge.value,
787
+ config: qe.value,
793
788
  onClickMarker: a[1] || (a[1] = ({ legend: l }) => {
794
- xe(l.seriesIndex), me(l);
789
+ me(l.seriesIndex), be(l);
795
790
  })
796
791
  }, {
797
- item: m(({ legend: l, index: i }) => [
798
- A("div", {
792
+ item: m(({ legend: l, index: c }) => [
793
+ S("div", {
799
794
  onClick: (o) => {
800
- l.segregate(), me(l);
795
+ l.segregate(), be(l);
801
796
  },
802
797
  style: M(`opacity:${g.value.includes(l.seriesIndex) ? 0.5 : 1}`)
803
- }, L(l.name), 13, tl)
798
+ }, z(l.name), 13, sl)
804
799
  ]),
805
800
  _: 1
806
801
  }, 8, ["legendSet", "config"])) : x(t.$slots, "legend", {
807
802
  key: 1,
808
- legend: pe.value
803
+ legend: ge.value
809
804
  }, void 0, !0)
810
805
  ], 512),
811
806
  t.$slots.source ? (s(), r("div", {
812
807
  key: 7,
813
808
  ref_key: "source",
814
- ref: oe,
809
+ ref: ne,
815
810
  dir: "auto"
816
811
  }, [
817
812
  x(t.$slots, "source", {}, void 0, !0)
818
813
  ], 512)) : v("", !0),
819
- we(ft, {
820
- show: C.value.showTooltip && G.value,
814
+ $e(i(De), {
815
+ show: C.value.showTooltip && q.value,
821
816
  backgroundColor: e.value.style.chart.tooltip.backgroundColor,
822
817
  color: e.value.style.chart.tooltip.color,
823
818
  fontSize: e.value.style.chart.tooltip.fontSize,
@@ -827,20 +822,20 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
827
822
  backgroundOpacity: e.value.style.chart.tooltip.backgroundOpacity,
828
823
  position: e.value.style.chart.tooltip.position,
829
824
  offsetY: e.value.style.chart.tooltip.offsetY,
830
- parent: D.value,
831
- content: V.value,
832
- isCustom: j.value,
833
- isFullscreen: R.value
825
+ parent: R.value,
826
+ content: Z.value,
827
+ isCustom: W.value,
828
+ isFullscreen: E.value
834
829
  }, {
835
830
  "tooltip-before": m(() => [
836
- x(t.$slots, "tooltip-before", I(P({ ...Z.value })), void 0, !0)
831
+ x(t.$slots, "tooltip-before", X(D({ ...K.value })), void 0, !0)
837
832
  ]),
838
833
  "tooltip-after": m(() => [
839
- x(t.$slots, "tooltip-after", I(P({ ...Z.value })), void 0, !0)
834
+ x(t.$slots, "tooltip-after", X(D({ ...K.value })), void 0, !0)
840
835
  ]),
841
836
  _: 3
842
837
  }, 8, ["show", "backgroundColor", "color", "fontSize", "borderRadius", "borderColor", "borderWidth", "backgroundOpacity", "position", "offsetY", "parent", "content", "isCustom", "isFullscreen"]),
843
- w.value ? (s(), z(pt, {
838
+ w.value ? (s(), O(i(Oe), {
844
839
  key: 8,
845
840
  hideDetails: "",
846
841
  config: {
@@ -857,32 +852,32 @@ const $t = ["id"], Mt = ["xmlns", "viewBox"], Tt = ["x", "y", "width", "height"]
857
852
  }
858
853
  }, {
859
854
  content: m(() => [
860
- (s(), z(xt, {
861
- key: `table_${le.value}`,
862
- colNames: U.value.colNames,
863
- head: U.value.head,
864
- body: U.value.body,
865
- config: U.value.config,
855
+ (s(), O(i(Ie), {
856
+ key: `table_${se.value}`,
857
+ colNames: H.value.colNames,
858
+ head: H.value.head,
859
+ body: H.value.body,
860
+ config: H.value.config,
866
861
  title: `${e.value.style.chart.title.text}${e.value.style.chart.title.subtitle.text ? ` : ${e.value.style.chart.title.subtitle.text}` : ""}`,
867
862
  onClose: a[2] || (a[2] = (l) => C.value.showTable = !1)
868
863
  }, {
869
864
  th: m(({ th: l }) => [
870
- A("div", {
865
+ S("div", {
871
866
  innerHTML: l,
872
867
  style: { display: "flex", "align-items": "center" }
873
- }, null, 8, ll)
868
+ }, null, 8, ol)
874
869
  ]),
875
870
  td: m(({ td: l }) => [
876
- Ve(L(l.name || l), 1)
871
+ st(z(l.name || l), 1)
877
872
  ]),
878
873
  _: 1
879
874
  }, 8, ["colNames", "head", "body", "config", "title"]))
880
875
  ]),
881
876
  _: 1
882
877
  }, 8, ["config"])) : v("", !0)
883
- ], 46, $t));
878
+ ], 46, Tt));
884
879
  }
885
- }, bl = /* @__PURE__ */ _t(al, [["__scopeId", "data-v-56983f81"]]);
880
+ }, pl = /* @__PURE__ */ At(rl, [["__scopeId", "data-v-f41b6552"]]);
886
881
  export {
887
- bl as default
882
+ pl as default
888
883
  };