vue-data-ui 3.22.11 → 3.22.13

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 (148) hide show
  1. package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
  2. package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
  3. package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-annotator.js +1 -1
  8. package/dist/components/vue-ui-bullet.js +1 -1
  9. package/dist/components/vue-ui-bump.js +1 -1
  10. package/dist/components/vue-ui-candlestick.js +1 -1
  11. package/dist/components/vue-ui-carousel-table.js +1 -1
  12. package/dist/components/vue-ui-chestnut.js +1 -1
  13. package/dist/components/vue-ui-chord.js +1 -1
  14. package/dist/components/vue-ui-circle-pack.js +1 -1
  15. package/dist/components/vue-ui-cursor.js +1 -1
  16. package/dist/components/vue-ui-dag.js +1 -1
  17. package/dist/components/vue-ui-dashboard.js +1 -1
  18. package/dist/components/vue-ui-digits.js +1 -1
  19. package/dist/components/vue-ui-donut-evolution.js +1 -1
  20. package/dist/components/vue-ui-donut.js +1 -1
  21. package/dist/components/vue-ui-dumbbell.js +1 -1
  22. package/dist/components/vue-ui-flow.js +1 -1
  23. package/dist/components/vue-ui-funnel.js +1 -1
  24. package/dist/components/vue-ui-galaxy.js +1 -1
  25. package/dist/components/vue-ui-gauge.js +1 -1
  26. package/dist/components/vue-ui-geo.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-spark-trend.js +1 -1
  46. package/dist/components/vue-ui-sparkbar.js +1 -1
  47. package/dist/components/vue-ui-sparkgauge.js +1 -1
  48. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  49. package/dist/components/vue-ui-sparkline.js +1 -1
  50. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  51. package/dist/components/vue-ui-stackbar.js +1 -1
  52. package/dist/components/vue-ui-stackline.js +1 -1
  53. package/dist/components/vue-ui-strip-plot.js +1 -1
  54. package/dist/components/vue-ui-table-heatmap.js +1 -1
  55. package/dist/components/vue-ui-table-sparkline.js +1 -1
  56. package/dist/components/vue-ui-table.js +1 -1
  57. package/dist/components/vue-ui-thermometer.js +1 -1
  58. package/dist/components/vue-ui-timer.js +1 -1
  59. package/dist/components/vue-ui-tiremarks.js +1 -1
  60. package/dist/components/vue-ui-treemap.js +1 -1
  61. package/dist/components/vue-ui-vertical-bar.js +1 -1
  62. package/dist/components/vue-ui-waffle.js +1 -1
  63. package/dist/components/vue-ui-wheel.js +1 -1
  64. package/dist/components/vue-ui-word-cloud.js +1 -1
  65. package/dist/components/vue-ui-world.js +1 -1
  66. package/dist/components/vue-ui-xy-canvas.js +1 -1
  67. package/dist/components/vue-ui-xy.js +1 -1
  68. package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
  69. package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
  70. package/dist/ssr/vue-ui-donut.js +1 -1
  71. package/dist/ssr/vue-ui-xy.js +1 -1
  72. package/dist/ssr.js +2 -2
  73. package/dist/style.css +1 -1
  74. package/dist/types/composables.d.ts +28 -11
  75. package/dist/types/vue-data-ui.d.ts +26 -9
  76. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  77. package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
  78. package/dist/vue-data-ui.js +64 -64
  79. package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
  80. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  81. package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
  82. package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
  83. package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
  84. package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
  85. package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
  86. package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
  87. package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
  88. package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
  90. package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
  91. package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
  92. package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
  93. package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
  94. package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
  95. package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
  96. package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
  97. package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
  98. package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
  99. package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
  100. package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
  101. package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
  102. package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
  103. package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
  104. package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
  105. package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
  106. package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
  107. package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
  108. package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
  109. package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
  110. package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
  111. package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
  112. package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
  113. package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
  114. package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
  115. package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
  116. package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
  117. package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
  118. package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
  119. package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
  120. package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
  122. package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
  123. package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
  124. package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
  125. package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
  127. package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
  128. package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
  129. package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
  130. package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
  131. package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
  132. package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
  133. package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
  134. package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
  135. package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
  136. package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
  137. package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
  138. package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
  139. package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
  140. package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
  141. package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
  142. package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
  143. package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
  144. package/package.json +2 -2
  145. package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
  146. package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
  147. package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
  148. package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
@@ -7,33 +7,34 @@ import { n as _e, t as ve } from "./BaseScanner-DZvpgOjM.js";
7
7
  import { t as ye } from "./useSvgExport-Ba9qBr9M.js";
8
8
  import { t as be } from "./useNestedProp-BY6DNN3i.js";
9
9
  import { t as xe } from "./useThemeCheck-C43Tcqmk.js";
10
- import { t as Se } from "./useStableElementSize-C7KADDKj.js";
11
- import { t as Ce } from "./useTimeLabelCollider-AEcY4Ioe.js";
12
- import { t as we } from "./img-Bikk1dGb.js";
13
- import { n as Te } from "./Title-BuPs74IB.js";
14
- import { t as Ee } from "./Shape-BfnXr1nJ.js";
15
- import { t as De } from "./_plugin-vue_export-helper-B3ysoDQm.js";
16
- import { l as Oe, t as ke } from "./useResponsive-ZtArZtUf.js";
17
- import { t as Ae } from "./DefGrad-DVBqDjhO.js";
18
- import { t as je } from "./SlicerPreview-BIdvqU32.js";
19
- import { t as Me } from "./BaseLegendToggle-DsWphmIb.js";
20
- import { t as Ne } from "./A11yDataTable-DdRsVULz.js";
21
- import { t as Pe } from "./useUserOptionState-DK-_1ddE.js";
22
- import { t as Fe } from "./useChartAccessibility-DYqac8yF.js";
23
- import { t as Ie } from "./Legend-C0xAnJdO.js";
24
- import { t as Le } from "./vue_ui_stackline-DQqKPA9z.js";
25
- import { Fragment as b, Teleport as Re, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as ze, createTextVNode as Be, createVNode as Ve, defineAsyncComponent as He, guardReactiveProps as E, mergeProps as Ue, nextTick as We, normalizeClass as Ge, normalizeProps as D, normalizeStyle as Ke, onBeforeUnmount as qe, onMounted as Je, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as Ye, shallowRef as Xe, toDisplayString as Ze, toRefs as Qe, unref as M, useSlots as $e, watch as et, watchEffect as tt, withCtx as N } from "vue";
10
+ import { t as Se } from "./useMountedDelay-BAjrhRJb.js";
11
+ import { t as Ce } from "./useStableElementSize-C7KADDKj.js";
12
+ import { t as we } from "./useTimeLabelCollider-AEcY4Ioe.js";
13
+ import { t as Te } from "./img-Bikk1dGb.js";
14
+ import { n as Ee } from "./Title-BuPs74IB.js";
15
+ import { t as De } from "./Shape-BfnXr1nJ.js";
16
+ import { t as Oe } from "./_plugin-vue_export-helper-B3ysoDQm.js";
17
+ import { l as ke, t as Ae } from "./useResponsive-ZtArZtUf.js";
18
+ import { t as je } from "./DefGrad-DVBqDjhO.js";
19
+ import { t as Me } from "./SlicerPreview-Cw6WMVhG.js";
20
+ import { t as Ne } from "./BaseLegendToggle-DsWphmIb.js";
21
+ import { t as Pe } from "./A11yDataTable-DdRsVULz.js";
22
+ import { t as Fe } from "./useUserOptionState-DK-_1ddE.js";
23
+ import { t as Ie } from "./useChartAccessibility-DYqac8yF.js";
24
+ import { t as Le } from "./Legend-C0xAnJdO.js";
25
+ import { t as Re } from "./vue_ui_stackline-DQqKPA9z.js";
26
+ import { Fragment as b, Teleport as ze, computed as x, createBlock as S, createCommentVNode as C, createElementBlock as w, createElementVNode as T, createSlots as Be, createTextVNode as Ve, createVNode as He, defineAsyncComponent as Ue, guardReactiveProps as E, mergeProps as We, nextTick as Ge, normalizeClass as Ke, normalizeProps as D, normalizeStyle as qe, onBeforeUnmount as Je, onMounted as Ye, openBlock as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as Xe, shallowRef as Ze, toDisplayString as Qe, toRefs as $e, unref as M, useSlots as et, watch as tt, watchEffect as nt, withCtx as N } from "vue";
26
27
  //#region src/components/vue-ui-stackline.vue
27
- var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at = ["id"], ot = { style: { position: "relative" } }, st = [
28
+ var rt = /* @__PURE__ */ e({ default: () => Bt }), it = ["id"], at = ["id"], ot = ["id"], st = { style: { position: "relative" } }, ct = [
28
29
  "aria-describedby",
29
30
  "xmlns",
30
31
  "viewBox"
31
- ], ct = { key: 0 }, lt = [
32
+ ], lt = { key: 0 }, ut = [
32
33
  "x",
33
34
  "y",
34
35
  "width",
35
36
  "height"
36
- ], ut = { key: 1 }, dt = [
37
+ ], dt = { key: 1 }, ft = [
37
38
  "x1",
38
39
  "x2",
39
40
  "y1",
@@ -41,7 +42,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
41
42
  "stroke",
42
43
  "stroke-width",
43
44
  "stroke-dasharray"
44
- ], ft = [
45
+ ], pt = [
45
46
  "x1",
46
47
  "x2",
47
48
  "y1",
@@ -49,32 +50,32 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
49
50
  "stroke",
50
51
  "stroke-width",
51
52
  "stroke-dasharray"
52
- ], pt = [
53
+ ], mt = [
53
54
  "x1",
54
55
  "x2",
55
56
  "y1",
56
57
  "y2",
57
58
  "stroke",
58
59
  "stroke-width"
59
- ], mt = [
60
+ ], ht = [
60
61
  "x1",
61
62
  "x2",
62
63
  "y1",
63
64
  "y2",
64
65
  "stroke",
65
66
  "stroke-width"
66
- ], ht = [
67
+ ], gt = [
67
68
  "x",
68
69
  "y",
69
70
  "font-size",
70
71
  "fill",
71
72
  "font-weight"
72
- ], gt = [
73
+ ], _t = [
73
74
  "transform",
74
75
  "font-size",
75
76
  "fill",
76
77
  "font-weight"
77
- ], _t = [
78
+ ], vt = [
78
79
  "x",
79
80
  "y",
80
81
  "width",
@@ -84,48 +85,47 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
84
85
  "stroke-linecap",
85
86
  "stroke-linejoin",
86
87
  "stroke-dasharray"
87
- ], vt = [
88
+ ], yt = [
88
89
  "d",
89
90
  "fill",
90
91
  "opacity"
91
- ], yt = [
92
+ ], bt = [
92
93
  "d",
93
94
  "stroke",
94
95
  "stroke-width"
95
- ], bt = [
96
+ ], xt = [
96
97
  "x1",
97
98
  "x2",
98
99
  "y1",
99
100
  "y2",
100
101
  "stroke"
101
- ], xt = [
102
- "x",
103
- "y",
102
+ ], St = [
103
+ "transform",
104
104
  "font-size",
105
105
  "font-weight",
106
106
  "fill",
107
107
  "text-anchor"
108
- ], St = { key: 0 }, Ct = { key: 1 }, wt = [
108
+ ], Ct = { key: 0 }, wt = { key: 1 }, Tt = [
109
109
  "text-anchor",
110
110
  "font-size",
111
111
  "font-weight",
112
112
  "fill",
113
113
  "transform",
114
114
  "onClick"
115
- ], Tt = [
115
+ ], Et = [
116
116
  "text-anchor",
117
117
  "font-size",
118
118
  "fill",
119
119
  "transform",
120
120
  "innerHTML",
121
121
  "onClick"
122
- ], Et = [
122
+ ], Dt = [
123
123
  "x",
124
124
  "y",
125
125
  "height",
126
126
  "width",
127
127
  "fill"
128
- ], Dt = { key: 0 }, Ot = [
128
+ ], Ot = { key: 0 }, kt = [
129
129
  "x1",
130
130
  "x2",
131
131
  "y1",
@@ -133,19 +133,17 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
133
133
  "stroke",
134
134
  "stroke-width",
135
135
  "stroke-dasharray"
136
- ], kt = { key: 0 }, At = [
137
- "x",
138
- "y",
136
+ ], At = { key: 0 }, jt = [
137
+ "transform",
139
138
  "font-size",
140
139
  "fill",
141
140
  "font-weight"
142
- ], jt = [
143
- "x",
144
- "y",
141
+ ], Mt = [
142
+ "transform",
145
143
  "font-size",
146
144
  "font-weight",
147
145
  "fill"
148
- ], Mt = ["data-start", "data-end"], Nt = {
146
+ ], Nt = ["data-start", "data-end"], Pt = {
149
147
  key: 0,
150
148
  style: {
151
149
  position: "absolute",
@@ -155,10 +153,10 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
155
153
  },
156
154
  "data-dom-to-png-ignore": "",
157
155
  "aria-hidden": "true"
158
- }, Pt = {
156
+ }, Ft = {
159
157
  key: 5,
160
158
  class: "vue-data-ui-watermark"
161
- }, Ft = ["onClick"], It = ["innerHTML"], Lt = ["innerHTML"], Rt = ["id"], zt = /*#__PURE__*/ De({
159
+ }, It = ["onClick"], Lt = ["innerHTML"], Rt = ["innerHTML"], zt = ["id"], Bt = /*#__PURE__*/ Oe({
162
160
  __name: "vue-ui-stackline",
163
161
  props: {
164
162
  config: {
@@ -185,49 +183,49 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
185
183
  "selectX",
186
184
  "copyAlt"
187
185
  ],
188
- setup(e, { expose: De, emit: nt }) {
189
- let zt = He(() => import("./Tooltip-CA1rtSyl.js")), Bt = He(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Vt = He(() => import("./vue-ui-accordion-nNxnZTg9.js").then((e) => e.n)), Ht = He(() => import("./DataTable-DzPEVvSo.js")), Ut = He(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Wt = He(() => import("./UserOptions-B69xBEVP.js").then((e) => e.n)), Gt = He(() => import("./PackageVersion-1MNr72Bz.js").then((e) => e.t)), Kt = He(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_stackline: qt } = he(), { isThemeValid: Jt, warnInvalidTheme: Yt } = xe(), Xt = $e(), P = e, F = nt, Zt = x({
186
+ setup(e, { expose: Oe, emit: rt }) {
187
+ let Bt = Ue(() => import("./Tooltip-CA1rtSyl.js")), Vt = Ue(() => import("./BaseIcon-CP5RWnqt.js").then((e) => e.n)), Ht = Ue(() => import("./vue-ui-accordion-UA88lv4d.js").then((e) => e.n)), Ut = Ue(() => import("./DataTable-DzPEVvSo.js")), Wt = Ue(() => import("./PenAndPaper-CSMVXpg2.js").then((e) => e.t)), Gt = Ue(() => import("./UserOptions-DzAFK9cY.js").then((e) => e.n)), Kt = Ue(() => import("./PackageVersion-B6Hokxw9.js").then((e) => e.t)), qt = Ue(() => import("./BaseDraggableDialog-3n8udWmh.js").then((e) => e.n)), { vue_ui_stackline: Jt } = he(), { isThemeValid: Yt, warnInvalidTheme: Xt } = xe(), { isReady: Zt } = Se(300), Qt = et(), P = e, F = rt, $t = x({
190
188
  get() {
191
189
  return !!P.dataset && P.dataset.length;
192
190
  },
193
191
  set(e) {
194
192
  return e;
195
193
  }
196
- }), I = k(null), L = k(s()), Qt = k(!1), R = k([]), $t = k(0), en = k(null), tn = k(null), nn = k(null), rn = k(null), an = k(null), on = k(!1), sn = k(!1), cn = k(0), ln = k(0), un = k(0), dn = k(!1), fn = k(null), pn = k(null), mn = k(!1), hn = k(!1), gn = k(!1), _n = k(null), vn = k(null), yn = k(null), bn = k(null), xn = k(null), Sn = Xe(null), Cn = k(!1), wn = k(0), Tn = k(0), z = k(null), En = k({
194
+ }), I = k(null), L = k(s()), en = k(!1), R = k([]), tn = k(0), nn = k(null), rn = k(null), an = k(null), on = k(null), sn = k(null), cn = k(!1), ln = k(!1), un = k(0), dn = k(0), fn = k(0), pn = k(!1), mn = k(null), hn = k(null), gn = k(!1), _n = k(!1), vn = k(!1), yn = k(null), bn = k(null), xn = k(null), Sn = k(null), Cn = k(null), wn = Ze(null), Tn = k(!1), En = k(0), Dn = k(0), z = k(null), On = k({
197
195
  x: 0,
198
196
  y: 0
199
- }), Dn = k("pointer"), On = Se({
200
- elementRef: Sn,
197
+ }), kn = k("pointer"), An = Ce({
198
+ elementRef: wn,
201
199
  minimumWidth: 2,
202
200
  minimumHeight: 2,
203
201
  stableFramesRequired: 2,
204
202
  once: !1,
205
203
  onSizeAccepted: () => {
206
- jn();
204
+ Nn();
207
205
  }
208
206
  });
209
- function kn() {
210
- Sn.value = I.value?.parentNode ?? null;
207
+ function jn() {
208
+ wn.value = I.value?.parentNode ?? null;
211
209
  }
212
- function An() {
210
+ function Mn() {
213
211
  return new Promise((e) => {
214
212
  requestAnimationFrame(() => {
215
213
  requestAnimationFrame(e);
216
214
  });
217
215
  });
218
216
  }
219
- async function jn() {
220
- let e = ++Tn.value;
221
- Cn.value = !1, await We(), await An(), await An(), e === Tn.value && (wn.value += 1, Cn.value = !0);
217
+ async function Nn() {
218
+ let e = ++Dn.value;
219
+ Tn.value = !1, await Ge(), await Mn(), await Mn(), e === Dn.value && (En.value += 1, Tn.value = !0);
222
220
  }
223
- let Mn = k(null), Nn = k(!1);
224
- function Pn() {
225
- Nn.value = !Nn.value;
221
+ let Pn = k(null), Fn = k(!1);
222
+ function In() {
223
+ Fn.value = !Fn.value;
226
224
  }
227
- Je(() => {
228
- kn(), On.start(), dn.value = !0, ir(), jn();
225
+ Ye(() => {
226
+ jn(), An.start(), pn.value = !0, or(), Nn();
229
227
  });
230
- let B = k(Gn()), V = x(() => B.value.userOptions.useCursorPointer), Fn = x(() => re({
228
+ let B = k(qn()), Ln = x(() => B.value.userOptions.useCursorPointer), Rn = x(() => re({
231
229
  defaultConfig: {
232
230
  userOptions: { show: !1 },
233
231
  useCssAnimation: !1,
@@ -273,13 +271,13 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
273
271
  } }
274
272
  },
275
273
  userConfig: B.value.skeletonConfig ?? {}
276
- })), { loading: In, FINAL_DATASET: Ln, manualLoading: Rn } = _e({
277
- ...Qe(P),
274
+ })), { loading: V, FINAL_DATASET: zn, manualLoading: Bn } = _e({
275
+ ...$e(P),
278
276
  FINAL_CONFIG: B,
279
- prepareConfig: Gn,
277
+ prepareConfig: qn,
280
278
  callback: () => {
281
279
  Promise.resolve().then(async () => {
282
- (!B.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0) && await Qr();
280
+ (!B.value.style.chart.zoom.keepState || !Qr.value || q.value.start === 0 && q.value.end === 0) && await ei();
283
281
  });
284
282
  },
285
283
  skeletonDataset: P.config?.skeletonDataset ?? [{
@@ -315,28 +313,28 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
315
313
  }],
316
314
  skeletonConfig: re({
317
315
  defaultConfig: B.value,
318
- userConfig: Fn.value
316
+ userConfig: Rn.value
319
317
  })
320
- }), { userOptionsVisible: zn, setUserOptionsVisibility: Bn, keepUserOptionState: Vn } = Pe({ config: B.value }), { svgRef: Hn } = Fe({ config: B.value.style.chart.title });
321
- function Un() {
322
- mn.value = !0, Bn(!0);
318
+ }), { userOptionsVisible: Vn, setUserOptionsVisibility: Hn, keepUserOptionState: Un } = Fe({ config: B.value }), { svgRef: Wn } = Ie({ config: B.value.style.chart.title });
319
+ function Gn() {
320
+ gn.value = !0, Hn(!0);
323
321
  }
324
- function Wn() {
325
- Bn(!1), mn.value = !1, z.value = null, Dn.value = "pointer", Qt.value = !1, $.value = null, F("selectX", {
322
+ function Kn() {
323
+ Hn(!1), gn.value = !1, z.value = null, kn.value = "pointer", en.value = !1, $.value = null, F("selectX", {
326
324
  index: null,
327
325
  indexLabel: null,
328
326
  dataset: null
329
327
  });
330
328
  }
331
- function Gn() {
329
+ function qn() {
332
330
  let e = be({
333
331
  userConfig: P.config,
334
- defaultConfig: qt
332
+ defaultConfig: Jt
335
333
  }), t = {}, n = e.theme;
336
- if (n) if (!Jt.value(e)) Yt(e), t = e;
334
+ if (n) if (!Yt.value(e)) Xt(e), t = e;
337
335
  else {
338
336
  let r = be({
339
- userConfig: Le[n] || P.config,
337
+ userConfig: Re[n] || P.config,
340
338
  defaultConfig: e
341
339
  });
342
340
  t = {
@@ -350,34 +348,34 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
350
348
  else t = e;
351
349
  return t;
352
350
  }
353
- let Kn = x(() => B.value.style.chart.lines.dataLabels.hideUnderValue !== null), qn = x(() => B.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
354
- et(() => P.config, (e) => {
355
- In.value || (B.value = Gn()), zn.value = !B.value.userOptions.showOnChartHover, ir({ resetSlicer: !B.value.style.chart.zoom.keepState }), cn.value += 1, ln.value += 1, un.value += 1, H.value.dataLabels.show = B.value.style.chart.lines.dataLabels.show, H.value.showTable = B.value.table.show, H.value.showTooltip = B.value.style.chart.tooltip.show, U.value.width = B.value.style.chart.width, U.value.height = B.value.style.chart.height, U.value.paddingRatio = {
351
+ let Jn = x(() => B.value.style.chart.lines.dataLabels.hideUnderValue !== null), Yn = x(() => B.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
352
+ tt(() => P.config, (e) => {
353
+ V.value || (B.value = qn()), Vn.value = !B.value.userOptions.showOnChartHover, or({ resetSlicer: !B.value.style.chart.zoom.keepState }), un.value += 1, dn.value += 1, fn.value += 1, H.value.dataLabels.show = B.value.style.chart.lines.dataLabels.show, H.value.showTable = B.value.table.show, H.value.showTooltip = B.value.style.chart.tooltip.show, U.value.width = B.value.style.chart.width, U.value.height = B.value.style.chart.height, U.value.paddingRatio = {
356
354
  top: B.value.style.chart.padding.top / B.value.style.chart.height,
357
355
  right: B.value.style.chart.padding.right / B.value.style.chart.width,
358
356
  bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
359
357
  left: B.value.style.chart.padding.left / B.value.style.chart.width
360
- }, kn(), jn(), !B.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0 ? Qr() : br();
361
- }, { deep: !0 }), et(() => P.dataset, (e) => {
362
- Array.isArray(e) && e.length > 0 && (Rn.value = !1), B.value.style.chart.zoom.keepState ? br() : Cr(), kn(), jn();
358
+ }, jn(), Nn(), !B.value.style.chart.zoom.keepState || !Qr.value || q.value.start === 0 && q.value.end === 0 ? ei() : Sr();
359
+ }, { deep: !0 }), tt(() => P.dataset, (e) => {
360
+ Array.isArray(e) && e.length > 0 && (Bn.value = !1), B.value.style.chart.zoom.keepState ? Sr() : Tr(), jn(), Nn();
363
361
  }, { deep: !0 });
364
362
  let H = k({
365
363
  dataLabels: { show: B.value.style.chart.lines.dataLabels.show },
366
364
  showTable: B.value.table.show,
367
365
  showTooltip: B.value.style.chart.tooltip.show
368
366
  });
369
- et(B, () => {
367
+ tt(B, () => {
370
368
  H.value = {
371
369
  dataLabels: { show: B.value.style.chart.lines.dataLabels.show },
372
370
  showTable: B.value.table.show,
373
371
  showTooltip: B.value.style.chart.tooltip.show
374
372
  };
375
373
  }, { immediate: !0 });
376
- let { isPrinting: Jn, isImaging: Yn, generatePdf: Xn, generateImage: Zn } = ge({
374
+ let { isPrinting: Xn, isImaging: Zn, generatePdf: Qn, generateImage: $n } = ge({
377
375
  elementId: `stackline_${L.value}`,
378
376
  fileName: B.value.style.chart.title.text || "vue-ui-stackline",
379
377
  options: B.value.userOptions.print
380
- }), Qn = x(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = k({
378
+ }), er = x(() => B.value.userOptions.show && !B.value.style.chart.title.text), U = k({
381
379
  width: B.value.style.chart.width,
382
380
  height: B.value.style.chart.height,
383
381
  paddingRatio: {
@@ -386,107 +384,107 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
386
384
  bottom: B.value.style.chart.padding.bottom / B.value.style.chart.height,
387
385
  left: B.value.style.chart.padding.left / B.value.style.chart.width
388
386
  }
389
- }), $n = x(() => r(B.value.customPalette)), er = Xe(null), tr = Xe(null), nr = k(null), rr = x(() => !!B.value.debug);
390
- function ir({ resetSlicer: e = !0 } = {}) {
387
+ }), tr = x(() => r(B.value.customPalette)), nr = Ze(null), rr = Ze(null), ir = k(null), ar = x(() => !!B.value.debug);
388
+ function or({ resetSlicer: e = !0 } = {}) {
391
389
  if (t(P.dataset) ? (v({
392
390
  componentName: "VueUiStackline",
393
391
  type: "dataset",
394
- debug: rr.value
395
- }), Rn.value = !0) : P.dataset.forEach((e, t) => {
392
+ debug: ar.value
393
+ }), Bn.value = !0) : P.dataset.forEach((e, t) => {
396
394
  ee({
397
395
  datasetObject: e,
398
396
  requiredAttributes: ["name", "series"]
399
397
  }).forEach((e) => {
400
- Zt.value = !1, v({
398
+ $t.value = !1, v({
401
399
  componentName: "VueUiStackline",
402
400
  type: "datasetSerieAttribute",
403
401
  property: e,
404
402
  index: t,
405
- debug: rr.value
406
- }), Rn.value = !0;
403
+ debug: ar.value
404
+ }), Bn.value = !0;
407
405
  });
408
- }), t(P.dataset) || (Rn.value = B.value.loading), setTimeout(() => {
409
- sn.value = !0;
406
+ }), t(P.dataset) || (Bn.value = B.value.loading), setTimeout(() => {
407
+ ln.value = !0;
410
408
  }, 10), B.value.responsive) {
411
- let e = Oe(() => {
412
- sn.value = !1;
413
- let { width: e, height: t } = ke({
409
+ let e = ke(() => {
410
+ ln.value = !1;
411
+ let { width: e, height: t } = Ae({
414
412
  chart: I.value,
415
- noTitle: rn.value,
416
- title: B.value.style.chart.title.text ? en.value : null,
417
- legend: B.value.style.chart.legend.show ? tn.value : null,
418
- slicer: B.value.style.chart.zoom.show && K.value > 6 ? nn.value.$el : null,
419
- source: an.value
413
+ noTitle: on.value,
414
+ title: B.value.style.chart.title.text ? nn.value : null,
415
+ legend: B.value.style.chart.legend.show ? rn.value : null,
416
+ slicer: B.value.style.chart.zoom.show && K.value > 6 ? an.value.$el : null,
417
+ source: sn.value
420
418
  });
421
419
  requestAnimationFrame(() => {
422
- U.value.width = e, U.value.height = t - 12, clearTimeout(nr.value), nr.value = setTimeout(() => {
423
- sn.value = !0;
420
+ U.value.width = e, U.value.height = t - 12, clearTimeout(ir.value), ir.value = setTimeout(() => {
421
+ ln.value = !0;
424
422
  }, 10);
425
423
  });
426
424
  });
427
- er.value && (tr.value && er.value.unobserve(tr.value), er.value.disconnect()), er.value = new ResizeObserver(e), tr.value = I.value.parentNode, er.value.observe(tr.value);
425
+ nr.value && (rr.value && nr.value.unobserve(rr.value), nr.value.disconnect()), nr.value = new ResizeObserver(e), rr.value = I.value.parentNode, nr.value.observe(rr.value);
428
426
  }
429
- e && Qr();
427
+ e && ei();
430
428
  }
431
- qe(() => {
432
- On.stop(), er.value && (tr.value && er.value.unobserve(tr.value), er.value.disconnect());
429
+ Je(() => {
430
+ An.stop(), nr.value && (rr.value && nr.value.unobserve(rr.value), nr.value.disconnect());
433
431
  });
434
- let ar = x(() => B.value.style.chart.grid.y.position === "right");
435
- function or() {
432
+ let sr = x(() => B.value.style.chart.grid.y.position === "right");
433
+ function cr() {
436
434
  let e = 0;
437
- yn.value && (e = Array.from(yn.value.querySelectorAll("text")).reduce((e, t) => {
435
+ xn.value && (e = Array.from(xn.value.querySelectorAll("text")).reduce((e, t) => {
438
436
  let n = t.getComputedTextLength();
439
437
  return n > e ? n : e;
440
438
  }, 0));
441
- let t = vn.value ? vn.value.getBoundingClientRect().width + B.value.style.chart.grid.y.axisName.fontSize + B.value.style.chart.grid.y.axisName.offsetX : 0;
439
+ let t = bn.value ? bn.value.getBoundingClientRect().width + B.value.style.chart.grid.y.axisName.fontSize + B.value.style.chart.grid.y.axisName.offsetX : 0;
442
440
  return {
443
- left: ar.value ? 0 : e + t,
444
- right: ar.value ? e + t : 0,
441
+ left: sr.value ? 0 : e + t,
442
+ right: sr.value ? e + t : 0,
445
443
  scaleLabelsWidth: e,
446
444
  yAxisLabelWidth: t
447
445
  };
448
446
  }
449
- let sr = k(0), cr = k(0), lr = k(0);
450
- function ur() {
451
- let e = bn.value;
447
+ let lr = k(0), ur = k(0), dr = k(0);
448
+ function fr() {
449
+ let e = Sn.value;
452
450
  if (!e) {
453
- cr.value = 0;
451
+ ur.value = 0;
454
452
  return;
455
453
  }
456
454
  try {
457
455
  let t = e.getBBox();
458
- cr.value = Number.isFinite(t?.height) ? t.height : 0;
456
+ ur.value = Number.isFinite(t?.height) ? t.height : 0;
459
457
  } catch {
460
- cr.value = 0;
458
+ ur.value = 0;
461
459
  }
462
460
  }
463
- function dr() {
464
- lr.value && cancelAnimationFrame(lr.value), lr.value = requestAnimationFrame(() => {
461
+ function pr() {
462
+ dr.value && cancelAnimationFrame(dr.value), dr.value = requestAnimationFrame(() => {
465
463
  requestAnimationFrame(() => {
466
- ur();
464
+ fr();
467
465
  });
468
466
  });
469
467
  }
470
- qe(() => {
471
- lr.value && cancelAnimationFrame(lr.value), cr.value = 0, sr.value = 0;
468
+ Je(() => {
469
+ dr.value && cancelAnimationFrame(dr.value), ur.value = 0, lr.value = 0;
472
470
  });
473
- let fr = x(() => {
471
+ let mr = x(() => {
474
472
  let e = 0;
475
- if (_n.value) try {
476
- e = _n.value.getBBox().height;
473
+ if (yn.value) try {
474
+ e = yn.value.getBBox().height;
477
475
  } catch {
478
476
  e = 0;
479
477
  }
480
- let t = B.value.style.chart.grid.x.timeLabels.show ? cr.value : 0;
478
+ let t = B.value.style.chart.grid.x.timeLabels.show ? ur.value : 0;
481
479
  return e + t;
482
480
  }), W = x(() => {
483
- wn.value;
481
+ En.value;
484
482
  let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = B.value.style.chart.lines.totalValues.show && P.dataset && P.dataset.length > 1 ? B.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0, a = 0, o = 0, s = 0;
485
483
  if (B.value.style.chart.grid.y.axisLabels.show) {
486
- let e = or();
484
+ let e = cr();
487
485
  i = e.left, a = e.right, o = e.scaleLabelsWidth, s = e.yAxisLabelWidth;
488
486
  }
489
- let c = B.value.style.chart.padding.top + r, l = t - t * n - sr.value - a, u = e - B.value.style.chart.padding.bottom - fr.value - r, d = B.value.style.chart.padding.left + i, f = t - d - t * n - sr.value - a, p = e - c - B.value.style.chart.padding.bottom - fr.value - r;
487
+ let c = B.value.style.chart.padding.top + r, l = t - t * n - lr.value - a, u = e - B.value.style.chart.padding.bottom - mr.value - r, d = B.value.style.chart.padding.left + i, f = t - d - t * n - lr.value - a, p = e - c - B.value.style.chart.padding.bottom - mr.value - r;
490
488
  return {
491
489
  chartHeight: Math.max(0, e),
492
490
  chartWidth: Math.max(0, t),
@@ -501,7 +499,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
501
499
  scaleLabelsWidth: o,
502
500
  yAxisLabelWidth: s
503
501
  };
504
- }), pr = x(() => {
502
+ }), hr = x(() => {
505
503
  let { left: e, top: t, width: n, height: r } = W.value, i = q.value.start, a = q.value.end, o = Math.max(1, a - i), s = Math.max(0, Math.min(o, (J.value.start ?? i) - i)), c = Math.max(0, Math.min(o, (J.value.end ?? a) - i)), l = Math.max(0, c - s), u = {
506
504
  fill: B.value.style.chart.zoom.preview.fill,
507
505
  stroke: B.value.style.chart.zoom.preview.stroke,
@@ -522,8 +520,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
522
520
  height: r,
523
521
  ...u
524
522
  };
525
- }), G = x(() => Ln.value.map((e, t) => {
526
- let n = `stackline_serie_${t}`, r = ce(e.color) || $n.value[t] || l[t] || l[t % l.length];
523
+ }), G = x(() => zn.value.map((e, t) => {
524
+ let n = s(), r = ce(e.color) || tr.value[t] || l[t] || l[t % l.length];
527
525
  return {
528
526
  ...e,
529
527
  shape: e.shape || "circle",
@@ -535,66 +533,66 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
535
533
  id: n,
536
534
  color: r
537
535
  };
538
- })), mr = x(() => G.value.filter((e) => !R.value.includes(e.id) && !e.standalone)), hr = x(() => G.value.filter((e) => !R.value.includes(e.id) && e.standalone)), K = x(() => {
536
+ })), gr = x(() => G.value.filter((e) => !R.value.includes(e.id) && !e.standalone)), _r = x(() => G.value.filter((e) => !R.value.includes(e.id) && e.standalone)), K = x(() => {
539
537
  let e = Math.max(...G.value.filter((e) => !R.value.includes(e.id)).map((e) => e.series.length));
540
538
  return isFinite(e) ? e : Math.max(...G.value.map((e) => e.series.length));
541
539
  });
542
- function gr(e) {
543
- Mn.value = e;
540
+ function vr(e) {
541
+ Pn.value = e;
544
542
  }
545
543
  let q = k({
546
544
  start: 0,
547
- end: Math.max(...Ln.value.map((e) => e.series.length))
545
+ end: Math.max(...zn.value.map((e) => e.series.length))
548
546
  }), J = k({
549
547
  start: 0,
550
- end: Math.max(...Ln.value.map((e) => e.series.length))
548
+ end: Math.max(...zn.value.map((e) => e.series.length))
551
549
  });
552
- function _r(e) {
550
+ function yr(e) {
553
551
  return (q.value.start ?? 0) + (e ?? 0);
554
552
  }
555
- let vr = x(() => B.value.style.chart.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
556
- function yr(e, t) {
553
+ let br = x(() => B.value.style.chart.zoom.preview.enable && (J.value.start !== q.value.start || J.value.end !== q.value.end));
554
+ function xr(e, t) {
557
555
  J.value[e] = t;
558
556
  }
559
- function br() {
557
+ function Sr() {
560
558
  let e = K.value, t = Math.max(0, Math.min(q.value.start ?? 0, e - 1)), n = Math.max(t + 1, Math.min(q.value.end ?? e, e));
561
- (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), q.value.start = t, q.value.end = n, J.value.start = t, J.value.end = n, nn.value && (nn.value.setStartValue(t), nn.value.setEndValue(n));
559
+ (!Number.isFinite(t) || !Number.isFinite(n) || n <= t) && (t = 0, n = e), q.value.start = t, q.value.end = n, J.value.start = t, J.value.end = n, an.value && (an.value.setStartValue(t), an.value.setEndValue(n));
562
560
  }
563
- let xr = k(null);
564
- function Sr() {
561
+ let Cr = k(null);
562
+ function wr() {
565
563
  return new Promise((e) => requestAnimationFrame(() => requestAnimationFrame(() => e())));
566
564
  }
567
- qe(() => {
568
- xr.value && cancelAnimationFrame(xr.value);
565
+ Je(() => {
566
+ Cr.value && cancelAnimationFrame(Cr.value);
569
567
  });
570
- async function Cr({ force: e = !1 } = {}) {
571
- if (B.value.style.chart.zoom.keepState && !e && Xr.value && !(q.value.start === 0 && q.value.end === 0)) {
572
- br();
568
+ async function Tr({ force: e = !1 } = {}) {
569
+ if (B.value.style.chart.zoom.keepState && !e && Qr.value && !(q.value.start === 0 && q.value.end === 0)) {
570
+ Sr();
573
571
  return;
574
572
  }
575
- Qr(), await We(), xr.value && cancelAnimationFrame(xr.value), xr.value = requestAnimationFrame(async () => {
576
- await Sr(), Qr();
573
+ ei(), await Ge(), Cr.value && cancelAnimationFrame(Cr.value), Cr.value = requestAnimationFrame(async () => {
574
+ await wr(), ei();
577
575
  });
578
576
  }
579
- let wr = x(() => Math.max(0, W.value.width / (q.value.end - q.value.start))), Tr = x(() => f(mr.value.map((e) => ({
577
+ let Er = x(() => Math.max(0, W.value.width / (q.value.end - q.value.start))), Dr = x(() => f(gr.value.map((e) => ({
580
578
  ...e,
581
579
  series: e.series.map((e) => e ?? 0)
582
- }))).slice(q.value.start, q.value.end)), Er = x(() => R.value.length === G.value.length), Dr = x(() => {
580
+ }))).slice(q.value.start, q.value.end)), Or = x(() => R.value.length === G.value.length), kr = x(() => {
583
581
  if (!B.value.style.chart.zoom.minimap.show) return [];
584
- let e = G.value.filter((e) => Er.value ? !0 : !R.value.includes(e.id) && !e.standalone);
582
+ let e = G.value.filter((e) => Or.value ? !0 : !R.value.includes(e.id) && !e.standalone);
585
583
  if (e.length) return f(e.map((e) => ({
586
584
  ...e,
587
585
  series: (e.series || []).map((e) => e ?? 0)
588
586
  })));
589
- let t = hr.value;
587
+ let t = _r.value;
590
588
  if (!t.length) return [];
591
589
  let n = Math.max(...t.map((e) => e.series.length || 0));
592
590
  return Array.from({ length: n }, (e, n) => t.reduce((e, t) => e + Math.abs(t.series[n] ?? 0), 0));
593
- }), Or = x(() => {
591
+ }), Ar = x(() => {
594
592
  if (!B.value.style.chart.zoom.minimap.show) return [];
595
- let e = G.value.filter((e) => Er.value ? !0 : !R.value.includes(e.id) && !e.standalone), t = hr.value, n = e.length ? [{
593
+ let e = G.value.filter((e) => Or.value ? !0 : !R.value.includes(e.id) && !e.standalone), t = _r.value, n = e.length ? [{
596
594
  name: "",
597
- series: Dr.value,
595
+ series: kr.value,
598
596
  color: "#000000",
599
597
  isVisible: !0
600
598
  }] : [], r = t.map((e) => ({
@@ -604,14 +602,14 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
604
602
  isVisible: !0
605
603
  }));
606
604
  return n.concat(r);
607
- }), kr = x(() => f(mr.value.filter((e) => !R.value.includes(e.id)).map((e) => ({
605
+ }), jr = x(() => f(gr.value.filter((e) => !R.value.includes(e.id)).map((e) => ({
608
606
  ...e,
609
607
  series: e.series.map((t, n) => {
610
608
  let r = t ?? 0;
611
609
  return e.signedSeries[n] === -1 && r >= 0 ? -r : r;
612
610
  })
613
- }))).slice(q.value.start, q.value.end)), Ar = x(() => {
614
- let e = mr.value.filter((e) => !R.value.includes(e.id));
611
+ }))).slice(q.value.start, q.value.end)), Mr = x(() => {
612
+ let e = gr.value.filter((e) => !R.value.includes(e.id));
615
613
  return {
616
614
  positive: f(e.map((e) => ({
617
615
  ...e,
@@ -622,9 +620,9 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
622
620
  series: e.series.slice(q.value.start, q.value.end).map((e) => (e ?? 0) < 0 ? e ?? 0 : 0)
623
621
  })))
624
622
  };
625
- }), jr = x(() => {
623
+ }), Nr = x(() => {
626
624
  let e = Math.max(0, q.value.end - q.value.start), t = Array(e).fill(0), n = Array(e).fill(0);
627
- return hr.value.forEach((r) => {
625
+ return _r.value.forEach((r) => {
628
626
  for (let i = 0; i < e; i += 1) {
629
627
  let e = r.series[q.value.start + i] ?? 0;
630
628
  e > 0 && (t[i] = Math.max(t[i], e)), e < 0 && (n[i] = Math.min(n[i], e));
@@ -633,16 +631,16 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
633
631
  positive: t,
634
632
  negative: n
635
633
  };
636
- }), Mr = x(() => kr.value.map((e, t) => ({
634
+ }), Pr = x(() => jr.value.map((e, t) => ({
637
635
  value: e,
638
636
  sign: e >= 0 ? 1 : -1
639
637
  })));
640
- function Nr() {
641
- return { y0: Fr.value?.[0]?.zero ?? W.value.bottom };
638
+ function Fr() {
639
+ return { y0: Lr.value?.[0]?.zero ?? W.value.bottom };
642
640
  }
643
- function Pr(e) {
644
- let { y0: t } = Nr(), n = B.value.style.chart.lines.totalValues, r = Math.max(2, n.fontSize * 1.3 + n.offsetY), i = (e) => Math.min(Math.max(e, W.value.top - B.value.style.chart.lines.totalValues.fontSize * 1.3), W.value.bottom + B.value.style.chart.lines.totalValues.fontSize * 2);
645
- if ((Mr.value?.[e]?.value ?? 0) >= 0 || B.value.style.chart.lines.distributed) {
641
+ function Ir(e) {
642
+ let { y0: t } = Fr(), n = B.value.style.chart.lines.totalValues, r = Math.max(2, n.fontSize * 1.3 + n.offsetY), i = (e) => Math.min(Math.max(e, W.value.top - B.value.style.chart.lines.totalValues.fontSize * 1.3), W.value.bottom + B.value.style.chart.lines.totalValues.fontSize * 2);
643
+ if ((Pr.value?.[e]?.value ?? 0) >= 0 || B.value.style.chart.lines.distributed) {
646
644
  let n = Infinity;
647
645
  for (let t of Y.value || []) {
648
646
  let r = t?.series?.[e], i = t?.topY?.[e];
@@ -658,8 +656,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
658
656
  return i((Number.isFinite(a) ? a : t) + r + n.fontSize * .7 + B.value.style.chart.lines.totalValues.offsetY);
659
657
  }
660
658
  }
661
- let Fr = x(() => {
662
- let e = Math.max(...Ar.value.positive, 0), t = Math.min(...Ar.value.negative, 0), n = Math.max(...jr.value.positive, 0), r = Math.min(...jr.value.negative, 0), i = Math.max(e, n), a = Math.min(t, r), o = [
659
+ let Lr = x(() => {
660
+ let e = Math.max(...Mr.value.positive, 0), t = Math.min(...Mr.value.negative, 0), n = Math.max(...Nr.value.positive, 0), r = Math.min(...Nr.value.negative, 0), i = Math.max(e, n), a = Math.min(t, r), o = [
663
661
  -Infinity,
664
662
  Infinity,
665
663
  NaN,
@@ -671,13 +669,13 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
671
669
  return {
672
670
  zero: v,
673
671
  y: n,
674
- x: ar.value ? X.value.right + 8 : X.value.left - 8,
672
+ x: sr.value ? X.value.right + 8 : X.value.left - 8,
675
673
  value: t
676
674
  };
677
675
  });
678
- }), Ir = k([]), Lr = k([]), Rr = 0;
679
- tt(() => {
680
- let e = ++Rr;
676
+ }), Rr = k([]), zr = k([]), Br = 0;
677
+ nt(() => {
678
+ let e = ++Br;
681
679
  (async () => {
682
680
  let t = await me({
683
681
  values: B.value.style.chart.grid.x.timeLabels.values,
@@ -686,12 +684,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
686
684
  start: q.value.start,
687
685
  end: q.value.end
688
686
  });
689
- e === Rr && (Ir.value = t);
687
+ e === Br && (Rr.value = t);
690
688
  })();
691
689
  });
692
- let zr = 0;
693
- tt(() => {
694
- let e = ++zr;
690
+ let Vr = 0;
691
+ nt(() => {
692
+ let e = ++Vr;
695
693
  (async () => {
696
694
  let t = await me({
697
695
  values: B.value.style.chart.grid.x.timeLabels.values,
@@ -700,55 +698,55 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
700
698
  start: 0,
701
699
  end: K.value
702
700
  });
703
- e === zr && (Lr.value = t);
701
+ e === Vr && (zr.value = t);
704
702
  })();
705
703
  });
706
- let Br = x(() => {
704
+ let Hr = x(() => {
707
705
  let e = B.value.style.chart.grid.x.timeLabels.modulo;
708
- return Ir.value.length ? Math.min(e, [...new Set(Ir.value.map((e) => e.text))].length) : e;
709
- }), Vr = x(() => {
710
- let e = B.value.style.chart.grid.x.timeLabels, t = Ir.value || [], n = Lr.value || [], r = q.value.start ?? 0, i = $.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
711
- return ie(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Br.value || 1), o, s, r, i, a);
706
+ return Rr.value.length ? Math.min(e, [...new Set(Rr.value.map((e) => e.text))].length) : e;
707
+ }), Ur = x(() => {
708
+ let e = B.value.style.chart.grid.x.timeLabels, t = Rr.value || [], n = zr.value || [], r = q.value.start ?? 0, i = $.value, a = K.value, o = t.map((e) => e?.text ?? ""), s = n.map((e) => e?.text ?? "");
709
+ return ie(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Hr.value || 1), o, s, r, i, a);
712
710
  });
713
- tt(() => {
714
- B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.fontSize, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, (Vr.value || []).map((e) => e?.text ?? "").join("|"), U.value.width, U.value.height, bn.value, _n.value, dr();
711
+ nt(() => {
712
+ B.value.style.chart.grid.x.timeLabels.show, B.value.style.chart.grid.x.timeLabels.fontSize, B.value.style.chart.grid.x.timeLabels.rotation, B.value.style.chart.grid.x.timeLabels.offsetY, (Ur.value || []).map((e) => e?.text ?? "").join("|"), U.value.width, U.value.height, Sn.value, yn.value, pr();
715
713
  }, { flush: "post" });
716
- let Hr = k({
714
+ let Wr = k({
717
715
  months: [],
718
716
  shortMonths: [],
719
717
  days: [],
720
718
  shortDays: []
721
- }), Ur = 0;
722
- tt(() => {
723
- let e = ++Ur, t = B.value.style.chart.grid.x.timeLabels.datetimeFormatter;
719
+ }), Gr = 0;
720
+ nt(() => {
721
+ let e = ++Gr, t = B.value.style.chart.grid.x.timeLabels.datetimeFormatter;
724
722
  (async () => {
725
723
  let n = await pe(t.locale).catch(() => pe("en"));
726
- e === Ur && (Hr.value = n.data);
724
+ e === Gr && (Wr.value = n.data);
727
725
  })();
728
726
  });
729
- let Wr = x(() => {
727
+ let Kr = x(() => {
730
728
  let e = B.value.style.chart.grid.x.timeLabels.datetimeFormatter, t = fe({
731
729
  useUTC: e.useUTC,
732
- locale: Hr.value,
730
+ locale: Wr.value,
733
731
  januaryAsYear: e.januaryAsYear
734
732
  });
735
733
  return (e, n) => {
736
734
  let r = B.value.style.chart.grid.x.timeLabels.values?.[e];
737
735
  return r == null ? "" : t.formatDate(new Date(r), n);
738
736
  };
739
- }), Gr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
740
- text: Wr.value(t, B.value.style.chart.zoom.timeFormat),
737
+ }), qr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
738
+ text: Kr.value(t, B.value.style.chart.zoom.timeFormat),
741
739
  absoluteIndex: t
742
- }))), Kr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
743
- text: Wr.value(t, B.value.style.chart.tooltip.timeFormat),
740
+ }))), Jr = x(() => (B.value.style.chart.grid.x.timeLabels.values || []).map((e, t) => ({
741
+ text: Kr.value(t, B.value.style.chart.tooltip.timeFormat),
744
742
  absoluteIndex: t
745
- }))), qr = x(() => {
746
- if (!Zt.value && !In.value) return [];
747
- let e = W.value.height, t = Fr.value[0] ? Fr.value[0].zero : W.value.bottom, n = q.value.start ?? 0, r = q.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Ar.value.positive, 0), o = Math.min(...Ar.value.negative, 0), s = Math.max(...jr.value.positive, 0), c = Math.min(...jr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : te(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), g = Array(i).fill(0), _ = (e) => i <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
743
+ }))), Yr = x(() => {
744
+ if (!$t.value && !V.value) return [];
745
+ let e = W.value.height, t = Lr.value[0] ? Lr.value[0].zero : W.value.bottom, n = q.value.start ?? 0, r = q.value.end ?? 0, i = Math.max(1, r - n), a = Math.max(...Mr.value.positive, 0), o = Math.min(...Mr.value.negative, 0), s = Math.max(...Nr.value.positive, 0), c = Math.min(...Nr.value.negative, 0), l = Math.max(a, s), u = Math.min(o, c), { min: d, max: f } = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : te(B.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), g = Array(i).fill(0), _ = (e) => i <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
748
746
  return G.value.filter((e) => !R.value.includes(e.id)).map((r) => {
749
747
  let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
750
748
  for (let u = 0; u < i; u += 1) {
751
- let i = n + u, d = r.series?.[i], f = r.signedSeries?.[i], h = d == null || Number.isNaN(d) ? 0 : d, _ = r.standalone ? h / p : B.value.style.chart.lines.distributed ? h / (Tr.value[u] || 1) : h / p;
749
+ let i = n + u, d = r.series?.[i], f = r.signedSeries?.[i], h = d == null || Number.isNaN(d) ? 0 : d, _ = r.standalone ? h / p : B.value.style.chart.lines.distributed ? h / (Dr.value[u] || 1) : h / p;
752
750
  if (h >= 0) {
753
751
  let n = e * Math.abs(_);
754
752
  if (r.standalone) c[u] = t, l[u] = t - n;
@@ -771,7 +769,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
771
769
  y: l[e]
772
770
  })), d = u.map((e) => e.x), f = o.reduce((e, t) => e + Math.abs(t || 0), 0), h = f === 0 ? 1 : f, v = o.map((e, t) => {
773
771
  if (B.value.style.chart.lines.distributed && !r.standalone) {
774
- let n = a[t], r = Tr.value[n] || 1;
772
+ let n = a[t], r = Dr.value[n] || 1;
775
773
  return (e || 0) / r;
776
774
  }
777
775
  return (e || 0) / h;
@@ -790,14 +788,14 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
790
788
  };
791
789
  });
792
790
  }), Y = x(() => {
793
- let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...Ar.value.positive, 0), r = Math.min(...Ar.value.negative, 0), i = Math.max(...jr.value.positive, 0), a = Math.min(...jr.value.negative, 0), o = Math.max(t, i), s = Math.min(r, a), l = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? o < 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : te(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? o < 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = Number(l.min) || 0, d = Number(l.max) || 0, f = Math.abs(u), p = d + f || 1, m = (e) => {
791
+ let e = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "", t = Math.max(...Mr.value.positive, 0), r = Math.min(...Mr.value.negative, 0), i = Math.max(...Nr.value.positive, 0), a = Math.min(...Nr.value.negative, 0), o = Math.max(t, i), s = Math.min(r, a), l = !B.value.style.chart.lines.distributed && (B.value.style.chart.grid.scale.scaleMax !== null || B.value.style.chart.grid.scale.scaleMin !== null) ? h(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? o < 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks) : te(B.value.style.chart.grid.scale.scaleMin === null ? s > 0 ? 0 : s : B.value.style.chart.grid.scale.scaleMin, B.value.style.chart.grid.scale.scaleMax === null ? o < 0 ? 0 : o : B.value.style.chart.grid.scale.scaleMax, B.value.style.chart.grid.scale.ticks), u = Number(l.min) || 0, d = Number(l.max) || 0, f = Math.abs(u), p = d + f || 1, m = (e) => {
794
792
  if (B.value.style.chart.lines.distributed) {
795
793
  let t = Math.max(0, Math.min(1, e));
796
794
  return minimapH - minimapH * t;
797
795
  }
798
796
  return clampY(minimapH - minimapH * (((e ?? 0) + f) / p));
799
797
  };
800
- return qr.value.map((t) => {
798
+ return Yr.value.map((t) => {
801
799
  let r = t.x.length, i = Array.isArray(t.fullSeries) ? t.fullSeries : t.series, a = ({ left: e = 0, unitW: t }) => {
802
800
  let n = i.length;
803
801
  return !Number.isFinite(t) || t <= 0 || n <= 0 ? [] : n === 1 ? [e + t * .5] : i.map((n, r) => e + r * t);
@@ -840,50 +838,50 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
840
838
  yMinimapBase: s
841
839
  };
842
840
  });
843
- }), Jr = x(() => $.value === null || $.value === void 0 ? null : {
844
- timeLabel: fi($.value),
841
+ }), Xr = x(() => $.value === null || $.value === void 0 ? null : {
842
+ timeLabel: mi($.value),
845
843
  absoluteIndex: $.value + q.value.start,
846
844
  seriesIndex: $.value,
847
- datapoint: di.value,
845
+ datapoint: pi.value,
848
846
  series: Y.value,
849
847
  config: B.value
850
- }), Yr = k(!1), Xr = k(!1);
851
- function Zr(e) {
848
+ }), Zr = k(!1), Qr = k(!1);
849
+ function $r(e) {
852
850
  let t = K.value;
853
851
  return e > t ? t : e < 0 || e < q.value.start ? B.value.style.chart.zoom.startIndex === null ? 1 : q.value.start + 1 : e;
854
852
  }
855
- function Qr() {
856
- if (!Yr.value) {
857
- Yr.value = !0;
853
+ function ei() {
854
+ if (!Zr.value) {
855
+ Zr.value = !0;
858
856
  try {
859
857
  let { startIndex: e, endIndex: t, keepState: n } = B.value.style.chart.zoom, r = n ? Math.max(0, K.value) : K.value;
860
858
  if (n && r <= 0) return;
861
- let i = e ?? 0, a = t == null ? r : Math.min(Zr(t + 1), r);
862
- ti.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, br(), Xr.value = !0;
859
+ let i = e ?? 0, a = t == null ? r : Math.min($r(t + 1), r);
860
+ ri.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, Sr(), Qr.value = !0;
863
861
  } finally {
864
862
  queueMicrotask(() => {
865
- ti.value = !1;
866
- }), Yr.value = !1;
863
+ ri.value = !1;
864
+ }), Zr.value = !1;
867
865
  }
868
866
  }
869
867
  }
870
- function $r(e) {
871
- Yr.value || ti.value || e !== q.value.start && (q.value.start = e, J.value.start = e, br());
868
+ function ti(e) {
869
+ Zr.value || ri.value || e !== q.value.start && (q.value.start = e, J.value.start = e, Sr());
872
870
  }
873
- function ei(e) {
874
- if (Yr.value || ti.value) return;
875
- let t = Zr(e);
876
- t !== q.value.end && (q.value.end = t, J.value.end = t, br());
871
+ function ni(e) {
872
+ if (Zr.value || ri.value) return;
873
+ let t = $r(e);
874
+ t !== q.value.end && (q.value.end = t, J.value.end = t, Sr());
877
875
  }
878
876
  let X = x(() => ({
879
877
  left: W.value.left,
880
878
  right: W.value.right,
881
879
  width: W.value.width
882
880
  }));
883
- et([
881
+ tt([
884
882
  x(() => {
885
883
  let e = B.value.style.chart.grid.y.axisLabels, { prefix: t, suffix: n } = B.value.style.chart.lines.dataLabels;
886
- return Fr.value.map((r) => String(y(e.formatter, r.value, m({
884
+ return Lr.value.map((r) => String(y(e.formatter, r.value, m({
887
885
  p: t,
888
886
  v: r.value,
889
887
  s: n,
@@ -895,12 +893,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
895
893
  () => B.value.style.chart.grid.y.axisLabels.bold,
896
894
  () => B.value.style.chart.grid.y.position
897
895
  ], () => {
898
- B.value.style.chart.grid.y.axisLabels.show && jn();
896
+ B.value.style.chart.grid.y.axisLabels.show && Nn();
899
897
  }, { flush: "post" });
900
- let ti = k(!1);
901
- Ce({
902
- timeLabelsEls: bn,
903
- timeLabels: Ir,
898
+ let ri = k(!1);
899
+ we({
900
+ timeLabelsEls: Sn,
901
+ timeLabels: Rr,
904
902
  slicer: q,
905
903
  configRef: B,
906
904
  rotationPath: [
@@ -925,9 +923,9 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
925
923
  height: x(() => U.value.height),
926
924
  rotation: B.value.style.chart.grid.x.timeLabels.autoRotate.angle
927
925
  });
928
- let ni = k(null);
929
- function ri(e) {
930
- let t = Hn.value;
926
+ let ii = k(null);
927
+ function ai(e) {
928
+ let t = Wn.value;
931
929
  if (!t) return null;
932
930
  if (t.createSVGPoint && t.getScreenCTM) {
933
931
  let n = t.createSVGPoint();
@@ -954,11 +952,11 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
954
952
  ok: !0
955
953
  };
956
954
  }
957
- let ii = 0, Z = x(() => Math.max(1, q.value.end - q.value.start)), ai = x(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
955
+ let oi = 0, Z = x(() => Math.max(1, q.value.end - q.value.start)), si = x(() => Z.value > 1 ? W.value.width / (Z.value - 1) : 0);
958
956
  function Q(e) {
959
- return Z.value <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e * ai.value;
957
+ return Z.value <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e * si.value;
960
958
  }
961
- function oi(e) {
959
+ function ci(e) {
962
960
  if (Z.value <= 1) return {
963
961
  x: W.value.left,
964
962
  width: W.value.width
@@ -969,43 +967,43 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
969
967
  width: Math.max(0, n - t)
970
968
  };
971
969
  }
972
- function si(e) {
973
- Nn.value || (ii && cancelAnimationFrame(ii), ii = requestAnimationFrame(() => {
974
- ii = 0;
975
- let t = ri(e);
976
- if (!t || !Hn.value) {
977
- ui();
970
+ function li(e) {
971
+ Fn.value || (oi && cancelAnimationFrame(oi), oi = requestAnimationFrame(() => {
972
+ oi = 0;
973
+ let t = ai(e);
974
+ if (!t || !Wn.value) {
975
+ fi();
978
976
  return;
979
977
  }
980
978
  let { left: n, right: r, top: i, bottom: a } = W.value;
981
979
  if (t.x < n || t.x > r || t.y < i || t.y > a) {
982
- ui();
980
+ fi();
983
981
  return;
984
982
  }
985
983
  let o = 0;
986
984
  if (Z.value > 1) {
987
- let e = (t.x - n) / ai.value;
985
+ let e = (t.x - n) / si.value;
988
986
  o = Math.round(e);
989
987
  } else o = 0;
990
- o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), ni.value !== o && (ni.value = o, mi(!0, o));
988
+ o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), ii.value !== o && (ii.value = o, gi(!0, o));
991
989
  }));
992
990
  }
993
- function ci(e) {
994
- let t = ri(e);
995
- if (!t || !Hn.value) return;
991
+ function ui(e) {
992
+ let t = ai(e);
993
+ if (!t || !Wn.value) return;
996
994
  let { left: n, right: r, top: i, bottom: a } = W.value;
997
995
  if (t.x < n || t.x > r || t.y < i || t.y > a) return;
998
996
  let o = 0;
999
997
  if (Z.value > 1) {
1000
- let e = (t.x - n) / ai.value;
998
+ let e = (t.x - n) / si.value;
1001
999
  o = Math.round(e);
1002
1000
  } else o = 0;
1003
- o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), qi({
1001
+ o < 0 && (o = 0), o > Z.value - 1 && (o = Z.value - 1), Yi({
1004
1002
  seriesIndex: o,
1005
- datapoint: zi(o)
1006
- }), li(o);
1003
+ datapoint: Vi(o)
1004
+ }), di(o);
1007
1005
  }
1008
- function li(e) {
1006
+ function di(e) {
1009
1007
  let t = JSON.parse(JSON.stringify(Y.value)).map((t) => ({
1010
1008
  name: t.name,
1011
1009
  value: t.series[e] === 0 ? 0 : t.series[e] || null,
@@ -1018,10 +1016,10 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1018
1016
  seriesIndex: e + q.value.start
1019
1017
  }), F("selectDatapoint", {
1020
1018
  datapoint: t,
1021
- period: Ir.value[e]
1019
+ period: Rr.value[e]
1022
1020
  });
1023
1021
  }
1024
- et(() => [
1022
+ tt(() => [
1025
1023
  q.value.start,
1026
1024
  q.value.end,
1027
1025
  Y.value.length
@@ -1035,11 +1033,11 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1035
1033
  $.value < 0 && ($.value = 0), $.value > e - 1 && ($.value = e - 1);
1036
1034
  }
1037
1035
  });
1038
- function ui() {
1039
- ii &&= (cancelAnimationFrame(ii), 0), ni.value = null, mi(!1, null);
1036
+ function fi() {
1037
+ oi &&= (cancelAnimationFrame(oi), 0), ii.value = null, gi(!1, null);
1040
1038
  }
1041
- let $ = k(null), di = x(() => {
1042
- let e = $.value, t = e == null ? null : _r(e);
1039
+ let $ = k(null), pi = x(() => {
1040
+ let e = $.value, t = e == null ? null : yr(e);
1043
1041
  return Y.value.map((n) => ({
1044
1042
  slotAbsoluteIndex: n.absoluteIndex,
1045
1043
  shape: n.shape || "circle",
@@ -1052,23 +1050,23 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1052
1050
  standalone: !!n.standalone
1053
1051
  }));
1054
1052
  });
1055
- function fi(e) {
1053
+ function mi(e) {
1056
1054
  if (e == null || !B.value.style.chart.tooltip.showTimeLabel) return null;
1057
- let t = Ir.value?.[e]?.text || null, n = Kr.value?.[e]?.text || null, r = Lr.value?.[e]?.text || null;
1055
+ let t = Rr.value?.[e]?.text || null, n = Jr.value?.[e]?.text || null, r = zr.value?.[e]?.text || null;
1058
1056
  return B.value.style.chart.tooltip.useDefaultTimeFormat ? t : n || r;
1059
1057
  }
1060
- let pi = x(() => {
1061
- let e = B.value.style.chart.tooltip.customFormat, t = [...di.value].reverse(), n = t.filter((e) => !e.standalone), r = t.filter((e) => e.standalone), i = n.map((e) => e.value).filter((e) => le(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1058
+ let hi = x(() => {
1059
+ let e = B.value.style.chart.tooltip.customFormat, t = [...pi.value].reverse(), n = t.filter((e) => !e.standalone), r = t.filter((e) => e.standalone), i = n.map((e) => e.value).filter((e) => le(e) && e !== null).reduce((e, t) => Math.abs(e) + Math.abs(t), 0);
1062
1060
  if (_(e) && ae(() => e({
1063
1061
  absoluteIndex: $.value + q.value.start,
1064
1062
  seriesIndex: $.value,
1065
- datapoint: di.value,
1063
+ datapoint: pi.value,
1066
1064
  series: G.value,
1067
1065
  config: B.value
1068
1066
  }))) return e({
1069
1067
  absoluteIndex: $.value + q.value.start,
1070
1068
  seriesIndex: $.value,
1071
- datapoint: di.value,
1069
+ datapoint: pi.value,
1072
1070
  series: G.value,
1073
1071
  config: B.value
1074
1072
  });
@@ -1143,7 +1141,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1143
1141
  }, { datapoint: e })) : ""} ${r}${n}${o}
1144
1142
  </div>
1145
1143
  `;
1146
- }, v = "", ee = fi($.value);
1144
+ }, v = "", ee = mi($.value);
1147
1145
  return ee && (v += `<div style="width:100%;text-align:center;border-bottom:1px solid ${l};padding-bottom:6px;margin-bottom:3px;">${ee}</div>`), o && n.length > 1 && (v += `<div class="vue-data-ui-tooltip-total" style="display:flex;flex-direction:row;align-items:center;gap:4px">
1148
1146
  <span>${s}:</span>
1149
1147
  <span>${y(B.value.style.chart.lines.dataLabels.formatter, g(i), m({
@@ -1157,13 +1155,13 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1157
1155
  } })}</span>
1158
1156
  </div>`), n.forEach((e) => {
1159
1157
  v += h(e, c);
1160
- }), r.length && (v += `<div style="border-top:1px solid ${mr.value.length ? l : "transparent"}; margin:${mr.value.length ? "6px 0" : "0"};"></div>`, r.forEach((e) => {
1158
+ }), r.length && (v += `<div style="border-top:1px solid ${gr.value.length ? l : "transparent"}; margin:${gr.value.length ? "6px 0" : "0"};"></div>`, r.forEach((e) => {
1161
1159
  v += h(e, !1);
1162
1160
  })), `<div>${v}</div>`;
1163
1161
  });
1164
- function mi(e, t = null, n = "pointer") {
1165
- if (Er.value) return;
1166
- Dn.value = n, Qt.value = e;
1162
+ function gi(e, t = null, n = "pointer") {
1163
+ if (Or.value) return;
1164
+ kn.value = n, en.value = e;
1167
1165
  let r = Y.value.map((e) => ({
1168
1166
  name: e.name,
1169
1167
  value: [
@@ -1173,7 +1171,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1173
1171
  ].includes(e.series[t]) ? null : e.series[t],
1174
1172
  color: e.color
1175
1173
  }));
1176
- e ? (z.value = t, $.value = t, qi({
1174
+ e ? (z.value = t, $.value = t, Yi({
1177
1175
  seriesIndex: t,
1178
1176
  datapoint: r
1179
1177
  }), B.value.events.datapointEnter && B.value.events.datapointEnter({
@@ -1188,7 +1186,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1188
1186
  seriesIndex: t + q.value.start
1189
1187
  }));
1190
1188
  }
1191
- function hi(e, t) {
1189
+ function _i(e, t) {
1192
1190
  let n = JSON.parse(JSON.stringify(Y.value)).map((e) => ({
1193
1191
  name: e.name,
1194
1192
  value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
@@ -1202,12 +1200,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1202
1200
  label: e.text
1203
1201
  });
1204
1202
  }
1205
- function gi() {
1206
- R.value.length ? R.value = [] : vi.value.forEach((e) => {
1203
+ function vi() {
1204
+ R.value.length ? R.value = [] : bi.value.forEach((e) => {
1207
1205
  R.value.push(e.id);
1208
1206
  }), F("selectLegend", Y.value);
1209
1207
  }
1210
- function _i(e) {
1208
+ function yi(e) {
1211
1209
  if (R.value.includes(e.id)) R.value = R.value.filter((t) => t !== e.id);
1212
1210
  else {
1213
1211
  if (R.value.length === G.value.length - 1) return;
@@ -1215,12 +1213,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1215
1213
  }
1216
1214
  F("selectLegend", Y.value);
1217
1215
  }
1218
- let vi = x(() => G.value.map((e) => ({
1216
+ let bi = x(() => G.value.map((e) => ({
1219
1217
  ...e,
1220
1218
  opacity: R.value.includes(e.id) ? .5 : 1,
1221
- segregate: () => _i(e),
1219
+ segregate: () => yi(e),
1222
1220
  isSegregated: R.value.includes(e.id)
1223
- }))), yi = x(() => ({
1221
+ }))), xi = x(() => ({
1224
1222
  cy: "stackline-legend",
1225
1223
  backgroundColor: B.value.style.chart.legend.backgroundColor,
1226
1224
  color: B.value.style.chart.legend.color,
@@ -1228,18 +1226,18 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1228
1226
  paddingBottom: 12,
1229
1227
  fontWeight: B.value.style.chart.legend.bold ? "bold" : ""
1230
1228
  }));
1231
- function bi(e) {
1229
+ function Si(e) {
1232
1230
  return G.value.length ? G.value.find((t) => t.name === e) || (B.value.debug && console.warn(`VueUiStackline - Series name not found "${e}"`), null) : (B.value.debug && console.warn("VueUiStackline - There are no series to show."), null);
1233
1231
  }
1234
- function xi(e) {
1235
- let t = bi(e);
1236
- t !== null && R.value.includes(t.id) && _i({ id: t.id });
1232
+ function Ci(e) {
1233
+ let t = Si(e);
1234
+ t !== null && R.value.includes(t.id) && yi({ id: t.id });
1237
1235
  }
1238
- function Si(e) {
1239
- let t = bi(e);
1240
- t !== null && (R.value.includes(t.id) || _i({ id: t.id }));
1236
+ function wi(e) {
1237
+ let t = Si(e);
1238
+ t !== null && (R.value.includes(t.id) || yi({ id: t.id }));
1241
1239
  }
1242
- let Ci = x(() => {
1240
+ let Ti = x(() => {
1243
1241
  if (Y.value.length === 0) return {
1244
1242
  head: [],
1245
1243
  body: [],
@@ -1250,7 +1248,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1250
1248
  label: e,
1251
1249
  color: t
1252
1250
  })), t = [];
1253
- return Vr.value.forEach((e) => {
1251
+ return Ur.value.forEach((e) => {
1254
1252
  let n = e.absoluteIndex, r = [B.value.style.chart.grid.x.timeLabels.values?.[n] ? e.text : n + 1];
1255
1253
  G.value.forEach((e) => {
1256
1254
  let t = e.series?.[n], i = Number((t ?? 0).toFixed(B.value.table.td.roundingValue));
@@ -1261,21 +1259,21 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1261
1259
  body: t
1262
1260
  };
1263
1261
  });
1264
- function wi(e = null) {
1262
+ function Ei(e = null) {
1265
1263
  let t = [
1266
1264
  [B.value.style.chart.title.text],
1267
1265
  [B.value.style.chart.title.subtitle.text],
1268
1266
  [""]
1269
- ], n = ["", ...Ci.value.head.map((e) => e.label)], r = Ci.value.body, i = a(t.concat([n]).concat(r));
1267
+ ], n = ["", ...Ti.value.head.map((e) => e.label)], r = Ti.value.body, i = a(t.concat([n]).concat(r));
1270
1268
  e ? e(i) : u({
1271
1269
  csvContent: i,
1272
1270
  title: B.value.style.chart.title.text || "vue-ui-stackline"
1273
1271
  });
1274
1272
  }
1275
- let Ti = x(() => {
1273
+ let Di = x(() => {
1276
1274
  let e = [""].concat(Y.value.map((e) => e.name), " <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" viewBox=\"0 0 24 24\" stroke-width=\"1.5\" stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\"><path stroke=\"none\" d=\"M0 0h24v24H0z\" fill=\"none\"/><path d=\"M18 16v2a1 1 0 0 1 -1 1h-11l6 -7l-6 -7h11a1 1 0 0 1 1 1v2\" /></svg>"), t = [], n = Math.max(0, q.value.end - q.value.start);
1277
1275
  for (let e = 0; e < n; e += 1) {
1278
- let n = _r(e), r = B.value.style.chart.grid.x.timeLabels.values?.[n] ? Ir.value?.[e]?.text ?? n + 1 : n + 1, i = Y.value.map((t) => {
1276
+ let n = yr(e), r = B.value.style.chart.grid.x.timeLabels.values?.[n] ? Rr.value?.[e]?.text ?? n + 1 : n + 1, i = Y.value.map((t) => {
1279
1277
  let n = t.series?.[e] ?? 0;
1280
1278
  return Number(n.toFixed(B.value.table.td.roundingValue));
1281
1279
  }), a = Y.value.filter((e) => !e.standalone).map((t) => t.series?.[e] ?? 0).reduce((e, t) => e + t, 0);
@@ -1299,32 +1297,32 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1299
1297
  },
1300
1298
  colNames: [B.value.table.columnNames.period].concat(Y.value.map((e) => e.name), B.value.table.columnNames.total)
1301
1299
  };
1302
- }), Ei = x(() => B.value.style.chart.backgroundColor), Di = x(() => B.value.style.chart.legend), { exportSvg: Oi, getSvg: ki } = ye({
1303
- svg: Hn,
1300
+ }), Oi = x(() => B.value.style.chart.backgroundColor), ki = x(() => B.value.style.chart.legend), { exportSvg: Ai, getSvg: ji } = ye({
1301
+ svg: Wn,
1304
1302
  title: x(() => B.value.style.chart.title),
1305
- legend: Di,
1306
- legendItems: vi,
1307
- backgroundColor: Ei
1303
+ legend: ki,
1304
+ legendItems: bi,
1305
+ backgroundColor: Oi
1308
1306
  });
1309
- async function Ai({ isCb: e }) {
1310
- gn.value = !0, await We();
1307
+ async function Mi({ isCb: e }) {
1308
+ vn.value = !0, await Ge();
1311
1309
  try {
1312
1310
  if (e) {
1313
- let { blob: e, url: t, text: n, dataUrl: r } = await ki();
1311
+ let { blob: e, url: t, text: n, dataUrl: r } = await ji();
1314
1312
  await Promise.resolve(B.value.userOptions.callbacks.svg({
1315
1313
  blob: e,
1316
1314
  url: t,
1317
1315
  text: n,
1318
1316
  dataUrl: r
1319
1317
  }));
1320
- } else await Promise.resolve(Oi());
1318
+ } else await Promise.resolve(Ai());
1321
1319
  } finally {
1322
- gn.value = !1;
1320
+ vn.value = !1;
1323
1321
  }
1324
1322
  }
1325
- async function ji({ scale: e = 2 } = {}) {
1323
+ async function Ni({ scale: e = 2 } = {}) {
1326
1324
  if (!I.value) return;
1327
- let { imageUri: t, base64: n } = await we({
1325
+ let { imageUri: t, base64: n } = await Te({
1328
1326
  domElement: I.value,
1329
1327
  base64: !0,
1330
1328
  img: !0,
@@ -1341,20 +1339,20 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1341
1339
  ...a
1342
1340
  };
1343
1341
  }
1344
- let Mi = x(() => {
1342
+ let Pi = x(() => {
1345
1343
  let e = B.value.table.useDialog && !B.value.table.show, t = H.value.showTable;
1346
1344
  return {
1347
- component: e ? Kt : Vt,
1345
+ component: e ? qt : Ht,
1348
1346
  title: `${B.value.style.chart.title.text}${B.value.style.chart.title.subtitle.text ? `: ${B.value.style.chart.title.subtitle.text}` : ""}`,
1349
1347
  props: e ? {
1350
1348
  backgroundColor: B.value.table.th.backgroundColor,
1351
1349
  color: B.value.table.th.color,
1352
1350
  headerColor: B.value.table.th.color,
1353
1351
  headerBg: B.value.table.th.backgroundColor,
1354
- isFullscreen: on.value,
1352
+ isFullscreen: cn.value,
1355
1353
  fullscreenParent: I.value,
1356
1354
  forcedWidth: Math.min(800, window.innerWidth * .8),
1357
- isCursorPointer: V.value
1355
+ isCursorPointer: Ln.value
1358
1356
  } : {
1359
1357
  hideDetails: !0,
1360
1358
  config: {
@@ -1372,29 +1370,29 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1372
1370
  }
1373
1371
  };
1374
1372
  });
1375
- et(() => H.value.showTable, (e) => {
1376
- B.value.table.show || (e && B.value.table.useDialog && fn.value ? fn.value.open() : "close" in fn.value && fn.value.close());
1373
+ tt(() => H.value.showTable, (e) => {
1374
+ B.value.table.show || (e && B.value.table.useDialog && mn.value ? mn.value.open() : "close" in mn.value && mn.value.close());
1377
1375
  });
1378
- function Ni() {
1379
- H.value.showTable = !1, pn.value && pn.value.setTableIconState(!1);
1376
+ function Fi() {
1377
+ H.value.showTable = !1, hn.value && hn.value.setTableIconState(!1);
1380
1378
  }
1381
- function Pi(e) {
1382
- on.value = e, $t.value += 1;
1379
+ function Ii(e) {
1380
+ cn.value = e, tn.value += 1;
1383
1381
  }
1384
- function Fi() {
1382
+ function Li() {
1385
1383
  H.value.showTable = !H.value.showTable;
1386
1384
  }
1387
- function Ii() {
1385
+ function Ri() {
1388
1386
  H.value.dataLabels.show = !H.value.dataLabels.show;
1389
1387
  }
1390
- function Li() {
1388
+ function zi() {
1391
1389
  H.value.showTooltip = !H.value.showTooltip;
1392
1390
  }
1393
- function Ri() {
1391
+ function Bi() {
1394
1392
  return Y.value;
1395
1393
  }
1396
- function zi(e) {
1397
- let t = e ?? 0, n = _r(t);
1394
+ function Vi(e) {
1395
+ let t = e ?? 0, n = yr(t);
1398
1396
  return JSON.parse(JSON.stringify(Y.value)).map((e) => {
1399
1397
  let r = e.series[t], i = e.signedSeries?.[t], a = r === 0 ? 0 : (i === -1 && r >= 0 ? -r : r) || null;
1400
1398
  return {
@@ -1404,12 +1402,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1404
1402
  proportion: e.proportions?.[t] || null,
1405
1403
  color: e.color,
1406
1404
  id: e.id,
1407
- timeLabel: Lr.value?.[n] || null
1405
+ timeLabel: zr.value?.[n] || null
1408
1406
  };
1409
1407
  });
1410
1408
  }
1411
- let Bi = x(() => Array(K.value).fill(0).map((e, t) => zi(t)));
1412
- et(() => P.selectedXIndex, (e) => {
1409
+ let Hi = x(() => Array(K.value).fill(0).map((e, t) => Vi(t)));
1410
+ tt(() => P.selectedXIndex, (e) => {
1413
1411
  if ([null, void 0].includes(P.selectedXIndex)) {
1414
1412
  $.value = null;
1415
1413
  return;
@@ -1417,12 +1415,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1417
1415
  let t = e - q.value.start;
1418
1416
  t < 0 || e >= q.value.end ? $.value = null : $.value = t ?? null;
1419
1417
  }, { immediate: !0 });
1420
- let Vi = x(() => {
1418
+ let Ui = x(() => {
1421
1419
  if (B.value.style.chart.lines.distributed) return {
1422
1420
  min: -1,
1423
1421
  max: 1
1424
1422
  };
1425
- let e = mr.value, t = hr.value, n = Math.max(1, ...[...e, ...t].map((e) => e.series?.length || 0)), r = Array(n).fill(0), i = Array(n).fill(0);
1423
+ let e = gr.value, t = _r.value, n = Math.max(1, ...[...e, ...t].map((e) => e.series?.length || 0)), r = Array(n).fill(0), i = Array(n).fill(0);
1426
1424
  e.forEach((e) => {
1427
1425
  for (let t = 0; t < n; t += 1) {
1428
1426
  let n = e.series[t] ?? 0;
@@ -1442,7 +1440,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1442
1440
  max: Number(f.max) || 0
1443
1441
  };
1444
1442
  });
1445
- function Hi({ minimapH: e, unitW: t }) {
1443
+ function Wi({ minimapH: e, unitW: t }) {
1446
1444
  let r = (e) => typeof e == "string" ? e.replace(/^M\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*,?\s*[-+]?[\d.]+(?:e[-+]?\d+)?\s*/i, "").trim() : "";
1447
1445
  if (!Number.isFinite(e) || e <= 0 || !Number.isFinite(t) || t <= 0) return "";
1448
1446
  let i = Y.value.filter((e) => !e.standalone), a = Y.value.filter((e) => e.standalone), o = Math.max(0, ...Y.value.map((e) => Array.isArray(e.fullSeries) ? e.fullSeries.length : e.series.length));
@@ -1472,7 +1470,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1472
1470
  if (B.value.style.chart.lines.useArea) {
1473
1471
  let t = B.value.style.chart.lines.smooth ? `M${h[0].x},${h[0].y} ${r(_)} L${y.x},${y.y} ${r(v)} Z` : `M${h[0].x},${h[0].y} ${r(ee)} L${y.x},${y.y} ${r(te)} Z`;
1474
1472
  u.push(`<path d="${t}"
1475
- fill="${Xt.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, e.color)}"
1473
+ fill="${Qt.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, e.color)}"
1476
1474
  opacity="${B.value.style.chart.lines.areaOpacity}"
1477
1475
  stroke="none" />`);
1478
1476
  }
@@ -1494,7 +1492,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1494
1492
  stroke-linecap="round" />`);
1495
1493
  }), u.join("");
1496
1494
  }
1497
- let l = Vi.value.min, u = Vi.value.max, d = Math.abs(l), f = u + d || 1, p = (t) => Math.max(0, Math.min(e, t)), m = (t) => p(e - e * (((t ?? 0) + d) / f)), h = [];
1495
+ let l = Ui.value.min, u = Ui.value.max, d = Math.abs(l), f = u + d || 1, p = (t) => Math.max(0, Math.min(e, t)), m = (t) => p(e - e * (((t ?? 0) + d) / f)), h = [];
1498
1496
  if (i.length) {
1499
1497
  let e = Array(o).fill(0), t = Array(o).fill(0);
1500
1498
  i.forEach((i) => {
@@ -1513,7 +1511,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1513
1511
  if (B.value.style.chart.lines.useArea) {
1514
1512
  let e = B.value.style.chart.lines.smooth ? `M${p[0].x},${p[0].y} ${r(_)} L${y.x},${y.y} ${r(v)} Z` : `M${p[0].x},${p[0].y} ${r(ee)} L${y.x},${y.y} ${r(te)} Z`;
1515
1513
  h.push(`<path d="${e}"
1516
- fill="${Xt.pattern ? `url(#pattern_${L.value}_${i.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, i.color)}"
1514
+ fill="${Qt.pattern ? `url(#pattern_${L.value}_${i.absoluteIndex})` : (B.value.style.chart.lines.gradient.show, i.color)}"
1517
1515
  opacity="${B.value.style.chart.lines.areaOpacity}"
1518
1516
  stroke="none" />`);
1519
1517
  }
@@ -1537,12 +1535,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1537
1535
  stroke-linecap="round" />`);
1538
1536
  }), h.join("");
1539
1537
  }
1540
- function Ui(e, t) {
1538
+ function Gi(e, t) {
1541
1539
  let n = B.value.style.chart.lines, r = n.dataLabels;
1542
- return n.showDistributedPercentage && n.distributed ? qn.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : !r.hideEmptyPercentages || Math.abs(t) > 0 : qn.value ? (Kn.value && rr.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > Wi.value * r.hideUnderPercentage / 100) : Kn.value ? Math.abs(e) >= r.hideUnderValue : !r.hideEmptyValues || e !== 0;
1540
+ return n.showDistributedPercentage && n.distributed ? Yn.value ? t === 0 ? !r.hideEmptyPercentages : Math.abs(t) * 100 >= r.hideUnderPercentage : !r.hideEmptyPercentages || Math.abs(t) > 0 : Yn.value ? (Jn.value && ar.value && console.warn("Vue Data UI - VueUiStackline - You cannot set both dataLabels.hideUnderPercentage and dataLabels.hideUnderValue. Note that dataLabels.hideUnderPercentage takes precedence in this case."), Math.abs(e) > Ki.value * r.hideUnderPercentage / 100) : Jn.value ? Math.abs(e) >= r.hideUnderValue : !r.hideEmptyValues || e !== 0;
1543
1541
  }
1544
- let Wi = x(() => Math.max(...Y.value.flatMap((e) => e.series)));
1545
- function Gi(e, t, n, r, i) {
1542
+ let Ki = x(() => Math.max(...Y.value.flatMap((e) => e.series)));
1543
+ function qi(e, t, n, r, i) {
1546
1544
  let a = i === -1 && e >= 0 ? -e : e;
1547
1545
  return y(B.value.style.chart.lines.dataLabels.formatter, a, m({
1548
1546
  p: B.value.style.chart.lines.dataLabels.prefix,
@@ -1555,7 +1553,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1555
1553
  datapointIndex: r
1556
1554
  });
1557
1555
  }
1558
- function Ki(e, t, n, r) {
1556
+ function Ji(e, t, n, r) {
1559
1557
  return y(B.value.style.chart.lines.dataLabels.formatter, e, m({
1560
1558
  v: isNaN(e) ? 0 : e,
1561
1559
  s: "%",
@@ -1566,7 +1564,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1566
1564
  datapointIndex: r
1567
1565
  });
1568
1566
  }
1569
- function qi({ seriesIndex: e, datapoint: t }) {
1567
+ function Yi({ seriesIndex: e, datapoint: t }) {
1570
1568
  let n = q.value.start + e;
1571
1569
  F("selectX", {
1572
1570
  dataset: t,
@@ -1574,18 +1572,18 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1574
1572
  indexLabel: B.value.style.chart.grid.x.timeLabels.values[n]
1575
1573
  });
1576
1574
  }
1577
- function Ji(e) {
1575
+ function Xi(e) {
1578
1576
  if (e?.stage === "start") {
1579
- hn.value = !0;
1577
+ _n.value = !0;
1580
1578
  return;
1581
1579
  }
1582
1580
  if (e?.stage === "end") {
1583
- hn.value = !1;
1581
+ _n.value = !1;
1584
1582
  return;
1585
1583
  }
1586
- Zn();
1584
+ $n();
1587
1585
  }
1588
- async function Yi() {
1586
+ async function Zi() {
1589
1587
  if (F("copyAlt", {
1590
1588
  config: B.value,
1591
1589
  dataset: Y.value
@@ -1598,23 +1596,23 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1598
1596
  dataset: Y.value
1599
1597
  }));
1600
1598
  }
1601
- let Xi = k(!1);
1602
- function Zi() {
1603
- z.value = null, Xi.value = !0;
1599
+ let Qi = k(!1);
1600
+ function $i() {
1601
+ z.value = null, Qi.value = !0;
1604
1602
  }
1605
- function Qi() {
1606
- z.value = null, Dn.value = "pointer", Qt.value = !1, $.value = null, F("selectX", {
1603
+ function ea() {
1604
+ z.value = null, kn.value = "pointer", en.value = !1, $.value = null, F("selectX", {
1607
1605
  index: null,
1608
1606
  indexLabel: null,
1609
1607
  dataset: null
1610
- }), Xi.value = !1;
1608
+ }), Qi.value = !1;
1611
1609
  }
1612
- function $i(e) {
1613
- if (!Hn.value || Nn.value || document.activeElement !== Hn.value || Er.value || !Z.value) return;
1610
+ function ta(e) {
1611
+ if (!Wn.value || Fn.value || document.activeElement !== Wn.value || Or.value || !Z.value) return;
1614
1612
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1615
1613
  if (!t && !n && !r && !i) return;
1616
1614
  if (e.preventDefault(), e.stopPropagation(), i) {
1617
- z.value = null, Dn.value = "pointer", Qt.value = !1, $.value = null, F("selectX", {
1615
+ z.value = null, kn.value = "pointer", en.value = !1, $.value = null, F("selectX", {
1618
1616
  index: null,
1619
1617
  indexLabel: null,
1620
1618
  dataset: null
@@ -1623,58 +1621,58 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1623
1621
  }
1624
1622
  if (r) {
1625
1623
  if (z.value === null) return;
1626
- li(z.value);
1624
+ di(z.value);
1627
1625
  return;
1628
1626
  }
1629
- let a = z.value, o = ni.value, s = a !== null && a >= 0 && a < Z.value, c = o !== null && o >= 0 && o < Z.value;
1630
- s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1, z.value = a, ea(a), mi(!0, a, "keyboard");
1627
+ let a = z.value, o = ii.value, s = a !== null && a >= 0 && a < Z.value, c = o !== null && o >= 0 && o < Z.value;
1628
+ s ? n ? (a += 1, a >= Z.value && (a = 0)) : t && (--a, a < 0 && (a = Z.value - 1)) : c ? (a = n ? o + 1 : o - 1, a >= Z.value && (a = 0), a < 0 && (a = Z.value - 1)) : a = n ? 0 : Z.value - 1, z.value = a, na(a), gi(!0, a, "keyboard");
1631
1629
  }
1632
- function ea(e) {
1633
- if (!Number.isFinite(e) || !Hn.value) return;
1634
- let t = p(W.value.left + e * ai.value, W.value.top + W.value.height / 2, Hn.value);
1635
- t && (En.value = t);
1630
+ function na(e) {
1631
+ if (!Number.isFinite(e) || !Wn.value) return;
1632
+ let t = p(W.value.left + e * si.value, W.value.top + W.value.height / 2, Wn.value);
1633
+ t && (On.value = t);
1636
1634
  }
1637
- let ta = x(() => ({
1638
- headers: Ti.value?.colNames ?? [],
1639
- rows: Ti.value?.body ?? []
1635
+ let ra = x(() => ({
1636
+ headers: Di.value?.colNames ?? [],
1637
+ rows: Di.value?.body ?? []
1640
1638
  }));
1641
- return De({
1642
- getData: Ri,
1643
- getImage: ji,
1644
- generatePdf: Xn,
1645
- generateCsv: wi,
1646
- generateImage: Zn,
1647
- generateSvg: Ai,
1648
- hideSeries: Si,
1649
- showSeries: xi,
1650
- toggleTable: Fi,
1651
- toggleLabels: Ii,
1652
- toggleTooltip: Li,
1653
- toggleAnnotator: Pn,
1654
- toggleFullscreen: Pi,
1655
- copyAlt: Yi
1639
+ return Oe({
1640
+ getData: Bi,
1641
+ getImage: Ni,
1642
+ generatePdf: Qn,
1643
+ generateCsv: Ei,
1644
+ generateImage: $n,
1645
+ generateSvg: Mi,
1646
+ hideSeries: wi,
1647
+ showSeries: Ci,
1648
+ toggleTable: Li,
1649
+ toggleLabels: Ri,
1650
+ toggleTooltip: zi,
1651
+ toggleAnnotator: In,
1652
+ toggleFullscreen: Ii,
1653
+ copyAlt: Zi
1656
1654
  }), (t, n) => (O(), w("div", {
1657
1655
  id: `stackline_${L.value}`,
1658
1656
  ref_key: "stacklineChart",
1659
1657
  ref: I,
1660
- class: Ge({
1658
+ class: Ke({
1661
1659
  "vue-data-ui-component": !0,
1662
1660
  "vue-ui-stackline": !0,
1663
- "vue-data-ui-wrapper-fullscreen": on.value
1661
+ "vue-data-ui-wrapper-fullscreen": cn.value
1664
1662
  }),
1665
- style: Ke(`background:${B.value.style.chart.backgroundColor};color:${B.value.style.chart.color};font-family:${B.value.style.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1666
- onMouseenter: Un,
1667
- onMouseleave: Wn
1663
+ style: qe(`background:${B.value.style.chart.backgroundColor};color:${B.value.style.chart.color};font-family:${B.value.style.fontFamily}; position: relative; ${B.value.responsive ? "height: 100%" : ""}`),
1664
+ onMouseenter: Gn,
1665
+ onMouseleave: Kn
1668
1666
  }, [
1669
1667
  T("div", {
1670
1668
  id: `chart-instructions-${L.value}`,
1671
1669
  class: "sr-only"
1672
- }, [T("p", null, Ze(B.value.a11y.translations.keyboardNavigation), 1)], 8, it),
1673
- ta.value?.rows?.length ? (O(), S(Ne, {
1670
+ }, [T("p", null, Qe(B.value.a11y.translations.keyboardNavigation), 1)], 8, at),
1671
+ ra.value?.rows?.length ? (O(), S(Pe, {
1674
1672
  key: 0,
1675
1673
  uid: L.value,
1676
- head: ta.value.headers,
1677
- body: ta.value.rows,
1674
+ head: ra.value.headers,
1675
+ body: ra.value.rows,
1678
1676
  notice: B.value.a11y.translations.tableAvailable,
1679
1677
  caption: B.value.a11y.translations.tableCaption
1680
1678
  }, null, 8, [
@@ -1684,14 +1682,14 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1684
1682
  "notice",
1685
1683
  "caption"
1686
1684
  ])) : C("", !0),
1687
- B.value.userOptions.buttons.annotator ? (O(), S(M(Ut), {
1685
+ B.value.userOptions.buttons.annotator ? (O(), S(M(Wt), {
1688
1686
  key: 1,
1689
- svgRef: M(Hn),
1687
+ svgRef: M(Wn),
1690
1688
  backgroundColor: B.value.style.chart.backgroundColor,
1691
1689
  color: B.value.style.chart.color,
1692
- active: Nn.value,
1693
- isCursorPointer: V.value,
1694
- onClose: Pn
1690
+ active: Fn.value,
1691
+ isCursorPointer: Ln.value,
1692
+ onClose: In
1695
1693
  }, {
1696
1694
  "annotator-action-close": N(() => [j(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1697
1695
  "annotator-action-color": N(({ color: e }) => [j(t.$slots, "annotator-action-color", D(E({ color: e })), void 0, !0)]),
@@ -1708,20 +1706,20 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1708
1706
  "isCursorPointer"
1709
1707
  ])) : C("", !0),
1710
1708
  j(t.$slots, "userConfig", {}, void 0, !0),
1711
- Qn.value ? (O(), w("div", {
1709
+ er.value ? (O(), w("div", {
1712
1710
  key: 2,
1713
1711
  ref_key: "noTitle",
1714
- ref: rn,
1712
+ ref: on,
1715
1713
  class: "vue-data-ui-no-title-space",
1716
1714
  style: "height:36px; width: 100%;background:transparent"
1717
1715
  }, null, 512)) : C("", !0),
1718
1716
  B.value.style.chart.title.text ? (O(), w("div", {
1719
1717
  key: 3,
1720
1718
  ref_key: "chartTitle",
1721
- ref: en,
1719
+ ref: nn,
1722
1720
  style: "width:100%;background:transparent;"
1723
- }, [(O(), S(Te, {
1724
- key: `title_${cn.value}`,
1721
+ }, [(O(), S(Ee, {
1722
+ key: `title_${un.value}`,
1725
1723
  config: {
1726
1724
  title: {
1727
1725
  cy: "stackline-title",
@@ -1733,15 +1731,15 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1733
1731
  }
1734
1732
  }
1735
1733
  }, null, 8, ["config"]))], 512)) : C("", !0),
1736
- T("div", { id: `legend-top-${L.value}` }, null, 8, at),
1737
- B.value.userOptions.show && Zt.value && (M(Vn) || M(zn)) ? (O(), S(M(Wt), {
1734
+ T("div", { id: `legend-top-${L.value}` }, null, 8, ot),
1735
+ B.value.userOptions.show && $t.value && (M(Un) || M(Vn)) ? (O(), S(M(Gt), {
1738
1736
  ref_key: "userOptionsRef",
1739
- ref: pn,
1740
- key: `user_option_${$t.value}`,
1737
+ ref: hn,
1738
+ key: `user_option_${tn.value}`,
1741
1739
  backgroundColor: B.value.style.chart.backgroundColor,
1742
1740
  color: B.value.style.chart.color,
1743
- isPrinting: M(Jn),
1744
- isImaging: M(Yn),
1741
+ isPrinting: M(Xn),
1742
+ isImaging: M(Zn),
1745
1743
  uid: L.value,
1746
1744
  hasTooltip: B.value.style.chart.tooltip.show && B.value.userOptions.buttons.tooltip,
1747
1745
  hasPdf: B.value.userOptions.buttons.pdf,
@@ -1752,29 +1750,29 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1752
1750
  hasLabel: B.value.userOptions.buttons.labels,
1753
1751
  hasFullscreen: B.value.userOptions.buttons.fullscreen,
1754
1752
  hasAltCopy: B.value.userOptions.buttons.altCopy,
1755
- isFullscreen: on.value,
1753
+ isFullscreen: cn.value,
1756
1754
  chartElement: I.value,
1757
1755
  position: B.value.userOptions.position,
1758
1756
  isTooltip: H.value.showTooltip,
1759
1757
  titles: { ...B.value.userOptions.buttonTitles },
1760
1758
  hasAnnotator: B.value.userOptions.buttons.annotator,
1761
- isAnnotation: Nn.value,
1759
+ isAnnotation: Fn.value,
1762
1760
  callbacks: B.value.userOptions.callbacks,
1763
1761
  printScale: B.value.userOptions.print.scale,
1764
1762
  tableDialog: B.value.table.useDialog,
1765
- isCursorPointer: V.value,
1766
- onToggleFullscreen: Pi,
1767
- onGeneratePdf: M(Xn),
1768
- onGenerateCsv: wi,
1769
- onGenerateImage: Ji,
1770
- onGenerateSvg: Ai,
1771
- onToggleTable: Fi,
1772
- onToggleLabels: Ii,
1773
- onToggleTooltip: Li,
1774
- onToggleAnnotator: Pn,
1775
- onCopyAlt: Yi,
1776
- style: Ke({ visibility: M(Vn) ? M(zn) ? "visible" : "hidden" : "visible" })
1777
- }, ze({ _: 2 }, [
1763
+ isCursorPointer: Ln.value,
1764
+ onToggleFullscreen: Ii,
1765
+ onGeneratePdf: M(Qn),
1766
+ onGenerateCsv: Ei,
1767
+ onGenerateImage: Xi,
1768
+ onGenerateSvg: Mi,
1769
+ onToggleTable: Li,
1770
+ onToggleLabels: Ri,
1771
+ onToggleTooltip: zi,
1772
+ onToggleAnnotator: In,
1773
+ onCopyAlt: Zi,
1774
+ style: qe({ visibility: M(Un) ? M(Vn) ? "visible" : "hidden" : "visible" })
1775
+ }, Be({ _: 2 }, [
1778
1776
  t.$slots.menuIcon ? {
1779
1777
  name: "menuIcon",
1780
1778
  fn: N(({ isOpen: e, color: n }) => [j(t.$slots, "menuIcon", D(E({
@@ -1850,30 +1848,30 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1850
1848
  key: "12"
1851
1849
  } : void 0
1852
1850
  ]), 1032, /* @__PURE__ */ "backgroundColor.color.isPrinting.isImaging.uid.hasTooltip.hasPdf.hasImg.hasSvg.hasXls.hasTable.hasLabel.hasFullscreen.hasAltCopy.isFullscreen.chartElement.position.isTooltip.titles.hasAnnotator.isAnnotation.callbacks.printScale.tableDialog.isCursorPointer.onGeneratePdf.style".split("."))) : C("", !0),
1853
- T("div", ot, [(O(), w("svg", {
1851
+ T("div", st, [(O(), w("svg", {
1854
1852
  ref_key: "svgRef",
1855
- ref: Hn,
1853
+ ref: Wn,
1856
1854
  "aria-describedby": `chart-instructions-${L.value}`,
1857
1855
  xmlns: M(oe),
1858
1856
  viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
1859
- class: Ge({
1860
- "vue-data-ui-loading": M(In),
1857
+ class: Ke({
1858
+ "vue-data-ui-loading": M(V),
1861
1859
  "no-transition": !B.value.useCssAnimation
1862
1860
  }),
1863
- style: Ke(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
1861
+ style: qe(`max-width:100%;overflow:visible;background:transparent;color:${B.value.style.chart.color}`),
1864
1862
  role: "img",
1865
1863
  "aria-live": "polite",
1866
1864
  tabindex: "0",
1867
1865
  preserveAspectRatio: "xMidYMid",
1868
- onMousemove: si,
1869
- onMouseleave: ui,
1870
- onClick: ci,
1871
- onFocus: Zi,
1872
- onBlur: Qi,
1873
- onKeydown: $i
1866
+ onMousemove: li,
1867
+ onMouseleave: fi,
1868
+ onClick: ui,
1869
+ onFocus: $i,
1870
+ onBlur: ea,
1871
+ onKeydown: ta
1874
1872
  }, [
1875
- Ve(M(Gt)),
1876
- (O(!0), w(b, null, A(mr.value, (e) => (O(), w(b, null, [t.$slots.pattern ? (O(), w("defs", ct, [j(t.$slots, "pattern", Ue({ ref_for: !0 }, {
1873
+ He(M(Kt)),
1874
+ (O(!0), w(b, null, A(gr.value, (e) => (O(), w(b, null, [t.$slots.pattern ? (O(), w("defs", lt, [j(t.$slots, "pattern", We({ ref_for: !0 }, {
1877
1875
  seriesIndex: e.absoluteIndex,
1878
1876
  patternId: `pattern_${L.value}_${e.absoluteIndex}`
1879
1877
  }), void 0, !0)])) : C("", !0)], 64))), 256)),
@@ -1884,8 +1882,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1884
1882
  width: X.value.width,
1885
1883
  height: W.value.height,
1886
1884
  style: { pointerEvents: "none" }
1887
- }, [j(t.$slots, "chart-background", {}, void 0, !0)], 8, lt)) : C("", !0),
1888
- B.value.style.chart.lines.gradient.show ? (O(), w("defs", ut, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), S(Ae, {
1885
+ }, [j(t.$slots, "chart-background", {}, void 0, !0)], 8, ut)) : C("", !0),
1886
+ B.value.style.chart.lines.gradient.show ? (O(), w("defs", dt, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), S(je, {
1889
1887
  t: "linear",
1890
1888
  id: `gradient_${e.id}`,
1891
1889
  key: `gradient_${e.id}_${t}`,
@@ -1903,7 +1901,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1903
1901
  1
1904
1902
  ]]
1905
1903
  }, null, 8, ["id", "stops"]))), 128))])) : C("", !0),
1906
- B.value.style.chart.grid.x.showHorizontalLines ? (O(!0), w(b, { key: 2 }, A(Fr.value, (e, t) => (O(), w("line", {
1904
+ B.value.style.chart.grid.x.showHorizontalLines ? (O(!0), w(b, { key: 2 }, A(Lr.value, (e, t) => (O(), w("line", {
1907
1905
  x1: X.value.left,
1908
1906
  x2: X.value.right,
1909
1907
  y1: e.y,
@@ -1912,7 +1910,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1912
1910
  "stroke-width": B.value.style.chart.grid.x.linesThickness,
1913
1911
  "stroke-dasharray": B.value.style.chart.grid.x.linesStrokeDasharray,
1914
1912
  "stroke-linecap": "round"
1915
- }, null, 8, dt))), 256)) : C("", !0),
1913
+ }, null, 8, ft))), 256)) : C("", !0),
1916
1914
  B.value.style.chart.grid.y.showVerticalLines ? (O(!0), w(b, { key: 3 }, A(q.value.end - q.value.start, (e, t) => (O(), w("line", {
1917
1915
  x1: Q(t),
1918
1916
  x2: Q(t),
@@ -1922,7 +1920,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1922
1920
  "stroke-width": B.value.style.chart.grid.y.linesThickness,
1923
1921
  "stroke-dasharray": B.value.style.chart.grid.y.linesStrokeDasharray,
1924
1922
  "stroke-linecap": "round"
1925
- }, null, 8, ft))), 256)) : C("", !0),
1923
+ }, null, 8, pt))), 256)) : C("", !0),
1926
1924
  B.value.style.chart.grid.x.showAxis ? (O(), w("line", {
1927
1925
  key: 4,
1928
1926
  x1: X.value.left,
@@ -1933,39 +1931,39 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1933
1931
  "stroke-width": B.value.style.chart.grid.x.axisThickness,
1934
1932
  "stroke-linecap": "round",
1935
1933
  "stroke-linejoin": "round"
1936
- }, null, 8, pt)) : C("", !0),
1934
+ }, null, 8, mt)) : C("", !0),
1937
1935
  B.value.style.chart.grid.y.showAxis && !B.value.style.chart.lines.distributed ? (O(), w("line", {
1938
1936
  key: 5,
1939
- x1: ar.value ? X.value.right : X.value.left,
1940
- x2: ar.value ? X.value.right : X.value.left,
1937
+ x1: sr.value ? X.value.right : X.value.left,
1938
+ x2: sr.value ? X.value.right : X.value.left,
1941
1939
  y1: W.value.top,
1942
1940
  y2: W.value.bottom,
1943
1941
  stroke: B.value.style.chart.grid.y.axisColor,
1944
1942
  "stroke-width": B.value.style.chart.grid.y.axisThickness,
1945
1943
  "stroke-linecap": "round",
1946
1944
  "stroke-linejoin": "round"
1947
- }, null, 8, mt)) : C("", !0),
1945
+ }, null, 8, ht)) : C("", !0),
1948
1946
  B.value.style.chart.grid.x.axisName.show && B.value.style.chart.grid.x.axisName.text ? (O(), w("text", {
1949
1947
  key: 6,
1950
1948
  ref_key: "xAxisLabel",
1951
- ref: _n,
1949
+ ref: yn,
1952
1950
  x: W.value.left + W.value.width / 2,
1953
1951
  y: W.value.chartHeight - 3,
1954
1952
  "font-size": B.value.style.chart.grid.x.axisName.fontSize,
1955
1953
  fill: B.value.style.chart.grid.x.axisName.color,
1956
1954
  "font-weight": B.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1957
1955
  "text-anchor": "middle"
1958
- }, Ze(B.value.style.chart.grid.x.axisName.text), 9, ht)) : C("", !0),
1956
+ }, Qe(B.value.style.chart.grid.x.axisName.text), 9, gt)) : C("", !0),
1959
1957
  B.value.style.chart.grid.y.axisName.show && B.value.style.chart.grid.y.axisName.text ? (O(), w("text", {
1960
1958
  key: 7,
1961
1959
  ref_key: "yAxisLabel",
1962
- ref: vn,
1963
- transform: `translate(${ar.value ? W.value.chartWidth - B.value.style.chart.grid.y.axisName.fontSize / 2 - B.value.style.chart.grid.y.axisName.offsetX : B.value.style.chart.grid.y.axisName.fontSize + B.value.style.chart.grid.y.axisName.offsetX}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1960
+ ref: bn,
1961
+ transform: `translate(${sr.value ? W.value.chartWidth - B.value.style.chart.grid.y.axisName.fontSize / 2 - B.value.style.chart.grid.y.axisName.offsetX : B.value.style.chart.grid.y.axisName.fontSize + B.value.style.chart.grid.y.axisName.offsetX}, ${W.value.top + W.value.height / 2}) rotate(-90)`,
1964
1962
  "font-size": B.value.style.chart.grid.y.axisName.fontSize,
1965
1963
  fill: B.value.style.chart.grid.y.axisName.color,
1966
1964
  "font-weight": B.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1967
1965
  "text-anchor": "middle"
1968
- }, Ze(B.value.style.chart.grid.y.axisName.text), 9, gt)) : C("", !0),
1966
+ }, Qe(B.value.style.chart.grid.y.axisName.text), 9, _t)) : C("", !0),
1969
1967
  B.value.style.chart.grid.frame.show ? (O(), w("rect", {
1970
1968
  key: 8,
1971
1969
  style: {
@@ -1983,61 +1981,61 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
1983
1981
  "stroke-linecap": B.value.style.chart.grid.frame.strokeLinecap,
1984
1982
  "stroke-linejoin": B.value.style.chart.grid.frame.strokeLinejoin,
1985
1983
  "stroke-dasharray": B.value.style.chart.grid.frame.strokeDasharray
1986
- }, null, 8, _t)) : C("", !0),
1984
+ }, null, 8, vt)) : C("", !0),
1987
1985
  (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [B.value.style.chart.lines.useArea && !e.standalone ? (O(), w("path", {
1988
1986
  key: 0,
1989
1987
  d: B.value.style.chart.lines.smooth ? e.smoothArea : e.straightArea,
1990
1988
  fill: t.$slots.pattern ? `url(#pattern_${L.value}_${e.absoluteIndex})` : B.value.style.chart.lines.gradient.show ? `url(#gradient_${e.id})` : e.color,
1991
1989
  opacity: B.value.style.chart.lines.areaOpacity,
1992
- style: Ke({ transition: M(In) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1993
- }, null, 12, vt)) : C("", !0)], 64))), 256)),
1990
+ style: qe({ transition: M(V) ? void 0 : "all 0.2s ease-in-out" })
1991
+ }, null, 12, yt)) : C("", !0)], 64))), 256)),
1994
1992
  (O(!0), w(b, null, A(Y.value, (e) => (O(), w("path", {
1995
1993
  d: B.value.style.chart.lines.smooth ? e.smoothPath : e.straightPath,
1996
1994
  stroke: B.value.style.chart.lines.path.useSerieColor ? e.color : B.value.style.chart.lines.path.stroke,
1997
1995
  "stroke-width": B.value.style.chart.lines.strokeWidth,
1998
1996
  fill: "none",
1999
1997
  "stroke-linecap": "round",
2000
- style: Ke({ transition: M(In) || !B.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
2001
- }, null, 12, yt))), 256)),
1998
+ style: qe({ transition: M(V) ? void 0 : "all 0.2s ease-in-out" })
1999
+ }, null, 12, bt))), 256)),
2002
2000
  B.value.style.chart.grid.y.axisLabels.show && !B.value.style.chart.lines.distributed ? (O(), w("g", {
2003
2001
  key: 9,
2004
2002
  ref_key: "scaleLabels",
2005
- ref: yn
2006
- }, [(O(!0), w(b, null, A(Fr.value, (e, t) => (O(), w("line", {
2007
- x1: ar.value ? X.value.right : X.value.left,
2008
- x2: ar.value ? X.value.right + 6 : X.value.left - 6,
2003
+ ref: xn
2004
+ }, [(O(!0), w(b, null, A(Lr.value, (e, t) => (O(), w("line", {
2005
+ x1: sr.value ? X.value.right : X.value.left,
2006
+ x2: sr.value ? X.value.right + 6 : X.value.left - 6,
2009
2007
  y1: e.y,
2010
2008
  y2: e.y,
2011
2009
  stroke: B.value.style.chart.grid.x.axisColor,
2012
2010
  "stroke-width": 1
2013
- }, null, 8, bt))), 256)), (O(!0), w(b, null, A(Fr.value, (e, t) => (O(), w("text", {
2014
- x: e.x,
2015
- y: e.y + B.value.style.chart.grid.y.axisLabels.fontSize / 3,
2011
+ }, null, 8, xt))), 256)), (O(!0), w(b, null, A(Lr.value, (e, t) => (O(), w("text", {
2012
+ class: "vue-data-ui-datalabel",
2013
+ transform: `translate(${e.x}, ${e.y + B.value.style.chart.grid.y.axisLabels.fontSize / 3})`,
2016
2014
  "font-size": B.value.style.chart.grid.y.axisLabels.fontSize,
2017
2015
  "font-weight": B.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
2018
2016
  fill: B.value.style.chart.grid.y.axisLabels.color,
2019
- "text-anchor": ar.value ? "start" : "end"
2020
- }, Ze(M(y)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, M(m)({
2017
+ "text-anchor": sr.value ? "start" : "end"
2018
+ }, Qe(M(y)(B.value.style.chart.grid.y.axisLabels.formatter, e.value, M(m)({
2021
2019
  p: B.value.style.chart.lines.dataLabels.prefix,
2022
2020
  v: e.value,
2023
2021
  s: B.value.style.chart.lines.dataLabels.suffix,
2024
2022
  r: B.value.style.chart.grid.y.axisLabels.rounding
2025
- }), { datapoint: e })), 9, xt))), 256))], 512)) : C("", !0),
2023
+ }), { datapoint: e })), 9, St))), 256))], 512)) : C("", !0),
2026
2024
  B.value.style.chart.grid.x.timeLabels.show ? (O(), w("g", {
2027
2025
  key: 10,
2028
2026
  ref_key: "timeLabelsEls",
2029
- ref: bn
2030
- }, [t.$slots["time-label"] ? (O(), w("g", St, [(O(!0), w(b, null, A(Vr.value, (e, n) => (O(), w("g", null, [j(t.$slots, "time-label", Ue({ ref_for: !0 }, {
2031
- x: W.value.left + wr.value * n + wr.value / 2,
2027
+ ref: Sn
2028
+ }, [t.$slots["time-label"] ? (O(), w("g", Ct, [(O(!0), w(b, null, A(Ur.value, (e, n) => (O(), w("g", null, [j(t.$slots, "time-label", We({ ref_for: !0 }, {
2029
+ x: W.value.left + Er.value * n + Er.value / 2,
2032
2030
  y: W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY,
2033
2031
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
2034
2032
  fill: B.value.style.chart.grid.x.timeLabels.color,
2035
- transform: `translate(${W.value.left + wr.value * n + wr.value / 2}, ${W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
2033
+ transform: `translate(${W.value.left + Er.value * n + Er.value / 2}, ${W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
2036
2034
  absoluteIndex: e.absoluteIndex,
2037
2035
  content: e.text,
2038
2036
  textAnchor: B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
2039
2037
  show: !0
2040
- }), void 0, !0)]))), 256))])) : (O(), w("g", Ct, [(O(!0), w(b, null, A(Vr.value, (e, n) => (O(), w("g", null, [String(e.text).includes("\n") ? (O(), w("text", {
2038
+ }), void 0, !0)]))), 256))])) : (O(), w("g", wt, [(O(!0), w(b, null, A(Ur.value, (e, n) => (O(), w("g", null, [String(e.text).includes("\n") ? (O(), w("text", {
2041
2039
  key: n + "-multi",
2042
2040
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
2043
2041
  "font-size": B.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2049,7 +2047,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2049
2047
  ),
2050
2048
  rotate(${B.value.style.chart.grid.x.timeLabels.rotation})
2051
2049
  `,
2052
- style: Ke({ cursor: V.value ? "pointer" : "default" }),
2050
+ style: qe({ cursor: Ln.value ? "pointer" : "default" }),
2053
2051
  innerHTML: t.createTSpansFromLineBreaksOnX({
2054
2052
  content: String(e.text),
2055
2053
  fontSize: B.value.style.chart.grid.x.timeLabels.fontSize,
@@ -2057,8 +2055,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2057
2055
  x: 0,
2058
2056
  y: 0
2059
2057
  }),
2060
- onClick: () => hi(e, n)
2061
- }, null, 12, Tt)) : (O(), w("text", {
2058
+ onClick: () => _i(e, n)
2059
+ }, null, 12, Et)) : (O(), w("text", {
2062
2060
  class: "vue-data-ui-time-label",
2063
2061
  key: n,
2064
2062
  "text-anchor": B.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : B.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -2066,23 +2064,23 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2066
2064
  "font-weight": B.value.style.chart.grid.x.timeLabels.bold ? "bold" : "normal",
2067
2065
  fill: B.value.style.chart.grid.x.timeLabels.color,
2068
2066
  transform: `translate(${Q(n)}, ${W.value.bottom + B.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + B.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${B.value.style.chart.grid.x.timeLabels.rotation})`,
2069
- style: Ke({ cursor: V.value ? "pointer" : "default" }),
2070
- onClick: () => hi(e, n)
2071
- }, Ze(e.text), 13, wt))]))), 256))]))], 512)) : C("", !0),
2072
- (mn.value || ![null, void 0].includes($.value)) && !B.value.style.chart.highlighter.useLine ? (O(!0), w(b, { key: 11 }, A(q.value.end - q.value.start, (e, t) => (O(), w("g", { key: `tooltip_trap_highlighter_${t}` }, [T("rect", {
2073
- x: oi(t).x,
2067
+ style: qe({ cursor: Ln.value ? "pointer" : "default" }),
2068
+ onClick: () => _i(e, n)
2069
+ }, Qe(e.text), 13, Tt))]))), 256))]))], 512)) : C("", !0),
2070
+ (gn.value || ![null, void 0].includes($.value)) && !B.value.style.chart.highlighter.useLine ? (O(!0), w(b, { key: 11 }, A(q.value.end - q.value.start, (e, t) => (O(), w("g", { key: `tooltip_trap_highlighter_${t}` }, [T("rect", {
2071
+ x: ci(t).x,
2074
2072
  y: W.value.top,
2075
2073
  height: W.value.height,
2076
- width: oi(t).width,
2077
- fill: [Mn.value, $.value].includes(t) ? M(de)(B.value.style.chart.highlighter.color, B.value.style.chart.highlighter.opacity) : "transparent",
2074
+ width: ci(t).width,
2075
+ fill: [Pn.value, $.value].includes(t) ? M(de)(B.value.style.chart.highlighter.color, B.value.style.chart.highlighter.opacity) : "transparent",
2078
2076
  style: {
2079
2077
  transition: "none !important",
2080
2078
  animation: "none !important"
2081
2079
  }
2082
- }, null, 8, Et)]))), 128)) : C("", !0),
2083
- (mn.value || ![null, void 0].includes($.value)) && B.value.style.chart.highlighter.useLine ? (O(), w(b, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Mn.value) ? (O(), w("g", Dt, [T("line", {
2084
- x1: Q(($.value ?? Mn.value) || 0),
2085
- x2: Q(($.value ?? Mn.value) || 0),
2080
+ }, null, 8, Dt)]))), 128)) : C("", !0),
2081
+ (gn.value || ![null, void 0].includes($.value)) && B.value.style.chart.highlighter.useLine ? (O(), w(b, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Pn.value) ? (O(), w("g", Ot, [T("line", {
2082
+ x1: Q(($.value ?? Pn.value) || 0),
2083
+ x2: Q(($.value ?? Pn.value) || 0),
2086
2084
  y1: M(g)(W.value.top),
2087
2085
  y2: M(g)(W.value.bottom),
2088
2086
  stroke: B.value.style.chart.highlighter.color,
@@ -2094,8 +2092,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2094
2092
  animation: "none !important",
2095
2093
  "pointer-events": "none"
2096
2094
  }
2097
- }, null, 8, Ot)])) : C("", !0)], 64)) : C("", !0),
2098
- (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [mn.value && q.value.end - q.value.start > B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(), w("g", kt, [$.value == null ? C("", !0) : (O(), w(b, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (O(), S(Ee, {
2095
+ }, null, 8, kt)])) : C("", !0)], 64)) : C("", !0),
2096
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, { key: `shp_sel_${e.id}` }, [gn.value && q.value.end - q.value.start > B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(), w("g", At, [$.value == null ? C("", !0) : (O(), w(b, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (O(), S(De, {
2099
2097
  key: 0,
2100
2098
  shape: [
2101
2099
  "triangle",
@@ -2113,7 +2111,8 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2113
2111
  radius: B.value.style.chart.lines.dot.radius * 1.3,
2114
2112
  stroke: B.value.style.chart.lines.dot.useSerieColor ? B.value.style.chart.lines.dot.stroke : e.color,
2115
2113
  strokeWidth: B.value.style.chart.lines.dot.strokeWidth,
2116
- transition: M(In) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2114
+ transition: M(V) ? void 0 : "all 0.2ms ease-in-out",
2115
+ still: M(V)
2117
2116
  }, null, 8, [
2118
2117
  "shape",
2119
2118
  "color",
@@ -2121,9 +2120,10 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2121
2120
  "radius",
2122
2121
  "stroke",
2123
2122
  "strokeWidth",
2124
- "transition"
2125
- ])) : C("", !0)], 64))])) : C("", !0)], 64))), 256)),
2126
- (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, null, [q.value.end - q.value.start < B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(!0), w(b, { key: 0 }, A(e.points, (t, n) => (O(), w("g", { key: n }, [e.fullSeries?.[q.value.start + e.rel[n]] != null && !Number.isNaN(e.fullSeries?.[q.value.start + e.rel[n]]) ? (O(), S(Ee, {
2123
+ "transition",
2124
+ "still"
2125
+ ])) : C("", !0)], 64))])) : C("", !0)], 64))), 128)),
2126
+ (O(!0), w(b, null, A(Y.value, (e) => (O(), w(b, { key: `shp_${e.id}` }, [q.value.end - q.value.start < B.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (O(!0), w(b, { key: 0 }, A(e.points, (t, n) => (O(), w("g", { key: `shp_${e.id}_${q.value.start + n}` }, [e.fullSeries?.[q.value.start + e.rel[n]] != null && !Number.isNaN(e.fullSeries?.[q.value.start + e.rel[n]]) ? (O(), S(De, {
2127
2127
  key: 0,
2128
2128
  shape: [
2129
2129
  "triangle",
@@ -2138,10 +2138,11 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2138
2138
  x: t.x,
2139
2139
  y: t.y
2140
2140
  },
2141
- radius: mn.value && $.value === e.rel[n] ? B.value.style.chart.lines.dot.radius * 1.3 : B.value.style.chart.lines.dot.radius,
2141
+ radius: gn.value && $.value === e.rel[n] ? B.value.style.chart.lines.dot.radius * 1.3 : B.value.style.chart.lines.dot.radius,
2142
2142
  stroke: B.value.style.chart.lines.dot.useSerieColor ? B.value.style.chart.lines.dot.stroke : e.color,
2143
2143
  strokeWidth: B.value.style.chart.lines.dot.strokeWidth,
2144
- transition: M(In) ? void 0 : `all ${B.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2144
+ transition: M(V) ? void 0 : "all 0.2ms ease-in-out",
2145
+ still: M(V)
2145
2146
  }, null, 8, [
2146
2147
  "shape",
2147
2148
  "color",
@@ -2149,70 +2150,71 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2149
2150
  "radius",
2150
2151
  "stroke",
2151
2152
  "strokeWidth",
2152
- "transition"
2153
- ])) : C("", !0)]))), 128)) : C("", !0)], 64))), 256)),
2154
- H.value.dataLabels.show && B.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (O(), w(b, { key: 13 }, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), w("g", { key: t }, [(O(!0), w(b, null, A(e.points, (n, r) => (O(), w(b, { key: r }, [Ui(e.series[r], e.proportions[r]) ? (O(), w("text", {
2153
+ "transition",
2154
+ "still"
2155
+ ])) : C("", !0)]))), 128)) : C("", !0)], 64))), 128)),
2156
+ H.value.dataLabels.show && B.value.style.chart.lines.dataLabels.hideAboveMaxSerieLength > q.value.end - q.value.start ? (O(), w(b, { key: 13 }, [(O(!0), w(b, null, A(Y.value, (e, t) => (O(), w("g", { key: `dl_${e.id}` }, [(O(!0), w(b, null, A(e.points, (n, r) => (O(), w(b, { key: `dp_${e.id}_${q.value.start + r}` }, [Gi(e.series[r], e.proportions[r]) ? (O(), w("text", {
2155
2157
  key: 0,
2156
- x: n.x,
2157
- y: n.y + (e.series[r] >= 0 ? -B.value.style.chart.lines.dataLabels.fontSize / 2 + B.value.style.chart.lines.dataLabels.offsetY : B.value.style.chart.lines.dataLabels.fontSize * 1.2 - B.value.style.chart.lines.dataLabels.offsetY),
2158
+ class: Ke({ "vue-data-ui-datalabel": M(Zt) }),
2159
+ transform: `translate(${n.x}, ${n.y + (e.series[r] >= 0 ? -B.value.style.chart.lines.dataLabels.fontSize / 2 + B.value.style.chart.lines.dataLabels.offsetY : B.value.style.chart.lines.dataLabels.fontSize * 1.2 - B.value.style.chart.lines.dataLabels.offsetY)})`,
2158
2160
  "font-size": B.value.style.chart.lines.dataLabels.fontSize,
2159
2161
  fill: B.value.style.chart.lines.dataLabels.color,
2160
2162
  "font-weight": B.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
2161
2163
  "text-anchor": "middle"
2162
- }, Ze(B.value.style.chart.lines.showDistributedPercentage && B.value.style.chart.lines.distributed ? Ki(e.proportions[r] * 100, e, t, e.rel[r]) : Gi(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 9, At)) : C("", !0)], 64))), 128))]))), 128)), B.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (O(), w("g", {
2164
+ }, Qe(B.value.style.chart.lines.showDistributedPercentage && B.value.style.chart.lines.distributed ? Ji(e.proportions[r] * 100, e, t, e.rel[r]) : qi(e.series[r], e, t, e.rel[r], e.signedSeries[r])), 11, jt)) : C("", !0)], 64))), 128))]))), 128)), B.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (O(), w("g", {
2163
2165
  key: 0,
2164
2166
  ref_key: "sumTop",
2165
- ref: xn
2166
- }, [(O(!0), w(b, null, A(Mr.value, (e, t) => (O(), w(b, null, [!B.value.style.chart.lines.dataLabels.hideEmptyValues || e.value !== 0 ? (O(), w("text", {
2167
+ ref: Cn
2168
+ }, [(O(!0), w(b, null, A(Pr.value, (e, t) => (O(), w(b, { key: `total_l_${t + q.value.start}` }, [!B.value.style.chart.lines.dataLabels.hideEmptyValues || e.value !== 0 ? (O(), w("text", {
2167
2169
  key: 0,
2168
- x: Q(t),
2169
- y: Pr(t),
2170
+ class: Ke({ "vue-data-ui-datalabel": M(Zt) }),
2171
+ transform: `translate(${Q(t)}, ${Ir(t)})`,
2170
2172
  "text-anchor": "middle",
2171
2173
  "font-size": B.value.style.chart.lines.totalValues.fontSize,
2172
2174
  "font-weight": B.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
2173
2175
  fill: B.value.style.chart.lines.totalValues.color
2174
- }, Ze(Gi(e.value, e, t, t, e.sign)), 9, jt)) : C("", !0)], 64))), 256))], 512)) : C("", !0)], 64)) : C("", !0),
2175
- vr.value ? (O(), w("rect", Ue({ key: 14 }, pr.value, {
2176
+ }, Qe(qi(e.value, e, t, t, e.sign)), 11, Mt)) : C("", !0)], 64))), 128))], 512)) : C("", !0)], 64)) : C("", !0),
2177
+ br.value ? (O(), w("rect", We({ key: 14 }, hr.value, {
2176
2178
  "data-start": q.value.start,
2177
2179
  "data-end": q.value.end
2178
- }), null, 16, Mt)) : C("", !0),
2180
+ }), null, 16, Nt)) : C("", !0),
2179
2181
  j(t.$slots, "svg", { svg: {
2180
2182
  drawingArea: W.value,
2181
2183
  data: Y.value,
2182
- isPrintingImg: M(Jn) || M(Yn) || hn.value,
2183
- isPrintingSvg: gn.value
2184
+ isPrintingImg: M(Xn) || M(Zn) || _n.value,
2185
+ isPrintingSvg: vn.value
2184
2186
  } }, void 0, !0)
2185
- ], 46, st)), t.$slots.hint ? (O(), w("div", Nt, [j(t.$slots, "hint", D(E({
2187
+ ], 46, ct)), t.$slots.hint ? (O(), w("div", Pt, [j(t.$slots, "hint", D(E({
2186
2188
  hint: B.value.a11y.translations.keyboardNavigation,
2187
- isVisible: Xi.value
2189
+ isVisible: Qi.value
2188
2190
  })), void 0, !0)])) : C("", !0)]),
2189
- t.$slots.watermark ? (O(), w("div", Pt, [j(t.$slots, "watermark", D(E({ isPrinting: M(Jn) || M(Yn) || hn.value || gn.value })), void 0, !0)])) : C("", !0),
2190
- dn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (O(), S(Re, {
2191
+ t.$slots.watermark ? (O(), w("div", Ft, [j(t.$slots, "watermark", D(E({ isPrinting: M(Xn) || M(Zn) || _n.value || vn.value })), void 0, !0)])) : C("", !0),
2192
+ pn.value && (B.value.style.chart.legend.show || t.$slots.legend) ? (O(), S(ze, {
2191
2193
  key: 6,
2192
2194
  to: B.value.style.chart.legend.position === "top" ? `#legend-top-${L.value}` : `#legend-bottom-${L.value}`
2193
2195
  }, [T("div", {
2194
2196
  ref_key: "chartLegend",
2195
- ref: tn
2196
- }, [j(t.$slots, "legend", { legend: vi.value }, () => [B.value.style.chart.legend.show ? (O(), S(Ie, {
2197
+ ref: rn
2198
+ }, [j(t.$slots, "legend", { legend: bi.value }, () => [B.value.style.chart.legend.show ? (O(), S(Le, {
2197
2199
  key: 0,
2198
- legendSet: vi.value,
2199
- config: yi.value,
2200
- isCursorPointer: V.value,
2200
+ legendSet: bi.value,
2201
+ config: xi.value,
2202
+ isCursorPointer: Ln.value,
2201
2203
  onClickMarker: n[0] ||= ({ legend: e }) => e.segregate()
2202
- }, ze({
2203
- item: N(({ legend: e }) => [M(In) ? C("", !0) : (O(), w("div", {
2204
+ }, Be({
2205
+ item: N(({ legend: e }) => [M(V) ? C("", !0) : (O(), w("div", {
2204
2206
  key: 0,
2205
2207
  onClick: (t) => e.segregate(),
2206
- style: Ke(`opacity:${R.value.includes(e.id) ? .5 : 1}`)
2207
- }, Ze(e.name), 13, Ft))]),
2208
- legendToggle: N(() => [vi.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !M(In) ? (O(), S(Me, {
2208
+ style: qe(`opacity:${R.value.includes(e.id) ? .5 : 1}`)
2209
+ }, Qe(e.name), 13, It))]),
2210
+ legendToggle: N(() => [bi.value.length > 2 && B.value.style.chart.legend.selectAllToggle.show && !M(V) ? (O(), S(Ne, {
2209
2211
  key: 0,
2210
2212
  backgroundColor: B.value.style.chart.legend.selectAllToggle.backgroundColor,
2211
2213
  color: B.value.style.chart.legend.selectAllToggle.color,
2212
2214
  fontSize: B.value.style.chart.legend.fontSize,
2213
2215
  checked: R.value.length > 0,
2214
- isCursorPointer: V.value,
2215
- onToggle: gi
2216
+ isCursorPointer: Ln.value,
2217
+ onToggle: vi
2216
2218
  }, null, 8, [
2217
2219
  "backgroundColor",
2218
2220
  "color",
@@ -2223,7 +2225,7 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2223
2225
  _: 2
2224
2226
  }, [t.$slots.pattern ? {
2225
2227
  name: "legend-pattern",
2226
- fn: N(({ legend: e, index: t }) => [Ve(Ee, {
2228
+ fn: N(({ legend: e, index: t }) => [He(De, {
2227
2229
  shape: e.shape,
2228
2230
  radius: 30,
2229
2231
  stroke: "none",
@@ -2239,23 +2241,23 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2239
2241
  "config",
2240
2242
  "isCursorPointer"
2241
2243
  ])) : C("", !0)], !0)], 512)], 8, ["to"])) : C("", !0),
2242
- Zt.value && B.value.userOptions.buttons.table ? (O(), S(Ye(Mi.value.component), Ue({ key: 7 }, Mi.value.props, {
2244
+ $t.value && B.value.userOptions.buttons.table ? (O(), S(Xe(Pi.value.component), We({ key: 7 }, Pi.value.props, {
2243
2245
  ref_key: "tableUnit",
2244
- ref: fn,
2245
- onClose: Ni
2246
- }), ze({
2247
- content: N(() => [Ve(M(Ht), {
2248
- colNames: Ti.value.colNames,
2249
- head: Ti.value.head,
2250
- body: Ti.value.body,
2251
- config: Ti.value.config,
2252
- title: B.value.table.useDialog ? "" : Mi.value.title,
2246
+ ref: mn,
2247
+ onClose: Fi
2248
+ }), Be({
2249
+ content: N(() => [He(M(Ut), {
2250
+ colNames: Di.value.colNames,
2251
+ head: Di.value.head,
2252
+ body: Di.value.body,
2253
+ config: Di.value.config,
2254
+ title: B.value.table.useDialog ? "" : Pi.value.title,
2253
2255
  withCloseButton: !B.value.table.useDialog,
2254
- isCursorPointer: V.value,
2255
- onClose: Ni
2256
+ isCursorPointer: Ln.value,
2257
+ onClose: Fi
2256
2258
  }, {
2257
- th: N(({ th: e }) => [T("div", { innerHTML: e }, null, 8, It)]),
2258
- td: N(({ td: e }) => [Be(Ze(isNaN(Number(e)) ? e : M(m)({
2259
+ th: N(({ th: e }) => [T("div", { innerHTML: e }, null, 8, Lt)]),
2260
+ td: N(({ td: e }) => [Ve(Qe(isNaN(Number(e)) ? e : M(m)({
2259
2261
  p: B.value.style.chart.lines.dataLabels.prefix,
2260
2262
  v: e,
2261
2263
  s: B.value.style.chart.lines.dataLabels.suffix,
@@ -2274,27 +2276,27 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2274
2276
  _: 2
2275
2277
  }, [B.value.table.useDialog ? {
2276
2278
  name: "title",
2277
- fn: N(() => [Be(Ze(Mi.value.title), 1)]),
2279
+ fn: N(() => [Ve(Qe(Pi.value.title), 1)]),
2278
2280
  key: "0"
2279
2281
  } : void 0, B.value.table.useDialog ? {
2280
2282
  name: "actions",
2281
2283
  fn: N(() => [T("button", {
2282
2284
  tabindex: "0",
2283
2285
  class: "vue-ui-user-options-button",
2284
- onClick: n[1] ||= (e) => wi(B.value.userOptions.callbacks.csv),
2285
- style: Ke({ cursor: V.value ? "pointer" : "default" })
2286
- }, [Ve(M(Bt), {
2286
+ onClick: n[1] ||= (e) => Ei(B.value.userOptions.callbacks.csv),
2287
+ style: qe({ cursor: Ln.value ? "pointer" : "default" })
2288
+ }, [He(M(Vt), {
2287
2289
  name: "fileCsv",
2288
- stroke: Mi.value.props.color
2290
+ stroke: Pi.value.props.color
2289
2291
  }, null, 8, ["stroke"])], 4)]),
2290
2292
  key: "1"
2291
2293
  } : void 0]), 1040)) : C("", !0),
2292
- B.value.style.chart.zoom.show && Zt.value && Xr.value && K.value > 6 ? (O(), S(je, {
2294
+ B.value.style.chart.zoom.show && $t.value && Qr.value && K.value > 6 ? (O(), S(Me, {
2293
2295
  key: 8,
2294
2296
  ref_key: "chartSlicer",
2295
- ref: nn,
2297
+ ref: an,
2296
2298
  "data-dom-to-png-ignore-layout": "",
2297
- allMinimaps: Or.value,
2299
+ allMinimaps: Ar.value,
2298
2300
  background: B.value.style.chart.zoom.color,
2299
2301
  borderColor: B.value.style.chart.backgroundColor,
2300
2302
  customFormat: B.value.style.chart.zoom.customFormat,
@@ -2307,12 +2309,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2307
2309
  fontSize: B.value.style.chart.zoom.fontSize,
2308
2310
  immediate: !B.value.style.chart.zoom.preview.enable,
2309
2311
  inputColor: B.value.style.chart.zoom.color,
2310
- isPreview: vr.value,
2311
- labelLeft: B.value.style.chart.grid.x.timeLabels.values[q.value.start] ? Ir.value?.[0]?.text ?? "" : "",
2312
- labelRight: B.value.style.chart.grid.x.timeLabels.values[q.value.end - 1] ? Ir.value?.at(-1)?.text ?? "" : "",
2312
+ isPreview: br.value,
2313
+ labelLeft: B.value.style.chart.grid.x.timeLabels.values[q.value.start] ? Rr.value?.[0]?.text ?? "" : "",
2314
+ labelRight: B.value.style.chart.grid.x.timeLabels.values[q.value.end - 1] ? Rr.value?.at(-1)?.text ?? "" : "",
2313
2315
  max: Math.max(...e.dataset.map((e) => e.series.length)),
2314
2316
  min: 0,
2315
- minimap: Dr.value,
2317
+ minimap: kr.value,
2316
2318
  minimapCompact: B.value.style.chart.zoom.minimap.compact,
2317
2319
  minimapFrameColor: B.value.style.chart.zoom.minimap.frameColor,
2318
2320
  minimapIndicatorColor: B.value.style.chart.zoom.minimap.indicatorColor,
@@ -2321,21 +2323,21 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2321
2323
  minimapSelectedColorOpacity: B.value.style.chart.zoom.minimap.selectedColorOpacity,
2322
2324
  minimapSelectedIndex: $.value,
2323
2325
  minimapSelectionRadius: 1,
2324
- preciseLabels: Gr.value.length ? Gr.value : Lr.value,
2326
+ preciseLabels: qr.value.length ? qr.value : zr.value,
2325
2327
  refreshEndPoint: B.value.style.chart.zoom.endIndex === null ? Math.max(...e.dataset.map((e) => e.series.length)) : B.value.style.chart.zoom.endIndex + 1,
2326
2328
  refreshStartPoint: B.value.style.chart.zoom.startIndex === null ? 0 : B.value.style.chart.zoom.startIndex,
2327
2329
  selectColor: B.value.style.chart.zoom.highlightColor,
2328
- selectedSeries: Bi.value,
2330
+ selectedSeries: Hi.value,
2329
2331
  smoothMinimap: !1,
2330
2332
  start: q.value.start,
2331
2333
  textColor: B.value.style.chart.color,
2332
- timeLabels: Lr.value,
2334
+ timeLabels: zr.value,
2333
2335
  usePreciseLabels: B.value.style.chart.grid.x.timeLabels.datetimeFormatter.enable && !B.value.style.chart.zoom.useDefaultFormat,
2334
2336
  valueEnd: q.value.end,
2335
2337
  valueStart: q.value.start,
2336
2338
  verticalHandles: B.value.style.chart.zoom.minimap.verticalHandles,
2337
2339
  maxWidth: B.value.style.chart.zoom.maxWidth,
2338
- isCursorPointer: V.value,
2340
+ isCursorPointer: Ln.value,
2339
2341
  additionalMinimapHeight: B.value.style.chart.zoom.minimap.additionalHeight,
2340
2342
  handleType: B.value.style.chart.zoom.minimap.handleType,
2341
2343
  handleIconColor: B.value.style.chart.zoom.minimap.handleIconColor,
@@ -2343,25 +2345,25 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2343
2345
  handleBorderColor: B.value.style.chart.zoom.minimap.handleBorderColor,
2344
2346
  handleFill: B.value.style.chart.zoom.minimap.handleFill,
2345
2347
  handleWidth: B.value.style.chart.zoom.minimap.handleWidth,
2346
- "onUpdate:end": ei,
2347
- "onUpdate:start": $r,
2348
- onTrapMouse: gr,
2349
- onReset: n[2] ||= () => Cr({ force: !0 }),
2350
- onFutureEnd: n[3] ||= (e) => yr("end", e),
2351
- onFutureStart: n[4] ||= (e) => yr("start", e)
2348
+ "onUpdate:end": ni,
2349
+ "onUpdate:start": ti,
2350
+ onTrapMouse: vr,
2351
+ onReset: n[2] ||= () => Tr({ force: !0 }),
2352
+ onFutureEnd: n[3] ||= (e) => xr("end", e),
2353
+ onFutureStart: n[4] ||= (e) => xr("start", e)
2352
2354
  }, {
2353
2355
  "reset-action": N(({ reset: e }) => [j(t.$slots, "reset-action", D(E({ reset: e })), void 0, !0)]),
2354
- slotMap: N(({ width: e, height: t, unitW: n }) => [T("g", { innerHTML: Hi({
2356
+ slotMap: N(({ width: e, height: t, unitW: n }) => [T("g", { innerHTML: Wi({
2355
2357
  minimapW: e,
2356
2358
  minimapH: t,
2357
2359
  unitW: n
2358
- }) }, null, 8, Lt)]),
2360
+ }) }, null, 8, Rt)]),
2359
2361
  _: 3
2360
2362
  }, 8, /* @__PURE__ */ "allMinimaps.background.borderColor.customFormat.enableRangeHandles.enableSelectionDrag.end.focusOnDrag.focusRangeRatio.fontSize.immediate.inputColor.isPreview.labelLeft.labelRight.max.minimap.minimapCompact.minimapFrameColor.minimapIndicatorColor.minimapSelectedColor.minimapSelectedColorOpacity.minimapSelectedIndex.preciseLabels.refreshEndPoint.refreshStartPoint.selectColor.selectedSeries.start.textColor.timeLabels.usePreciseLabels.valueEnd.valueStart.verticalHandles.maxWidth.isCursorPointer.additionalMinimapHeight.handleType.handleIconColor.handleBorderWidth.handleBorderColor.handleFill.handleWidth".split("."))) : C("", !0),
2361
- T("div", { id: `legend-bottom-${L.value}` }, null, 8, Rt),
2362
- Ve(M(zt), {
2363
+ T("div", { id: `legend-bottom-${L.value}` }, null, 8, zt),
2364
+ He(M(Bt), {
2363
2365
  teleportTo: B.value.style.chart.tooltip.teleportTo,
2364
- show: H.value.showTooltip && Qt.value,
2366
+ show: H.value.showTooltip && en.value,
2365
2367
  backgroundColor: B.value.style.chart.tooltip.backgroundColor,
2366
2368
  color: B.value.style.chart.tooltip.color,
2367
2369
  fontSize: B.value.style.chart.tooltip.fontSize,
@@ -2373,19 +2375,19 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2373
2375
  offsetX: B.value.style.chart.tooltip.offsetX,
2374
2376
  offsetY: B.value.style.chart.tooltip.offsetY,
2375
2377
  parent: I.value,
2376
- content: pi.value,
2377
- isFullscreen: on.value,
2378
+ content: hi.value,
2379
+ isFullscreen: cn.value,
2378
2380
  isCustom: B.value.style.chart.tooltip.customFormat && typeof B.value.style.chart.tooltip.customFormat == "function",
2379
2381
  smooth: B.value.style.chart.tooltip.smooth,
2380
2382
  backdropFilter: B.value.style.chart.tooltip.backdropFilter,
2381
2383
  smoothForce: B.value.style.chart.tooltip.smoothForce,
2382
2384
  smoothSnapThreshold: B.value.style.chart.tooltip.smoothSnapThreshold,
2383
- isA11yMode: Dn.value === "keyboard",
2384
- a11yPosition: En.value
2385
+ isA11yMode: kn.value === "keyboard",
2386
+ a11yPosition: On.value
2385
2387
  }, {
2386
- "tooltip-before": N(() => [j(t.$slots, "tooltip-before", D(E({ ...Jr.value })), void 0, !0)]),
2387
- tooltip: N(() => [j(t.$slots, "tooltip", D(E({ ...Jr.value })), void 0, !0)]),
2388
- "tooltip-after": N(() => [j(t.$slots, "tooltip-after", D(E({ ...Jr.value })), void 0, !0)]),
2388
+ "tooltip-before": N(() => [j(t.$slots, "tooltip-before", D(E({ ...Xr.value })), void 0, !0)]),
2389
+ tooltip: N(() => [j(t.$slots, "tooltip", D(E({ ...Xr.value })), void 0, !0)]),
2390
+ "tooltip-after": N(() => [j(t.$slots, "tooltip-after", D(E({ ...Xr.value })), void 0, !0)]),
2389
2391
  _: 3
2390
2392
  }, 8, [
2391
2393
  "teleportTo",
@@ -2414,12 +2416,12 @@ var nt = /* @__PURE__ */ e({ default: () => zt }), rt = ["id"], it = ["id"], at
2414
2416
  t.$slots.source ? (O(), w("div", {
2415
2417
  key: 9,
2416
2418
  ref_key: "source",
2417
- ref: an,
2419
+ ref: sn,
2418
2420
  dir: "auto"
2419
2421
  }, [j(t.$slots, "source", {}, void 0, !0)], 512)) : C("", !0),
2420
- j(t.$slots, "skeleton", {}, () => [M(In) ? (O(), S(ve, { key: 0 })) : C("", !0)], !0)
2421
- ], 46, rt));
2422
+ j(t.$slots, "skeleton", {}, () => [M(V) ? (O(), S(ve, { key: 0 })) : C("", !0)], !0)
2423
+ ], 46, it));
2422
2424
  }
2423
- }, [["__scopeId", "data-v-43380774"]]);
2425
+ }, [["__scopeId", "data-v-1ef6a7ee"]]);
2424
2426
  //#endregion
2425
- export { nt as n, zt as t };
2427
+ export { rt as n, Bt as t };