vue-data-ui 3.19.4 → 3.19.6

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 (180) hide show
  1. package/dist/{PackageVersion-DvDLFw4Z.js → PackageVersion-C7CvErYQ.js} +1 -1
  2. package/dist/{SlicerPreview-7pKvVSTr.js → SlicerPreview-CG1jpZqZ.js} +7 -7
  3. package/dist/{UserOptions-DMw8EZEo.js → UserOptions-B57xo6D2.js} +7 -3
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-age-pyramid.js +1 -1
  6. package/dist/components/vue-ui-bullet.js +1 -1
  7. package/dist/components/vue-ui-bump.js +1 -1
  8. package/dist/components/vue-ui-candlestick.js +1 -1
  9. package/dist/components/vue-ui-carousel-table.js +1 -1
  10. package/dist/components/vue-ui-chestnut.js +1 -1
  11. package/dist/components/vue-ui-chord.js +1 -1
  12. package/dist/components/vue-ui-circle-pack.js +1 -1
  13. package/dist/components/vue-ui-cursor.js +1 -1
  14. package/dist/components/vue-ui-dag.js +1 -1
  15. package/dist/components/vue-ui-dashboard.js +1 -1
  16. package/dist/components/vue-ui-digits.js +1 -1
  17. package/dist/components/vue-ui-donut-evolution.js +1 -1
  18. package/dist/components/vue-ui-donut.js +1 -1
  19. package/dist/components/vue-ui-dumbbell.js +1 -1
  20. package/dist/components/vue-ui-flow.js +1 -1
  21. package/dist/components/vue-ui-funnel.js +1 -1
  22. package/dist/components/vue-ui-galaxy.js +1 -1
  23. package/dist/components/vue-ui-gauge.js +1 -1
  24. package/dist/components/vue-ui-geo.js +1 -1
  25. package/dist/components/vue-ui-gizmo.js +1 -1
  26. package/dist/components/vue-ui-heatmap.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-molecule.js +1 -1
  31. package/dist/components/vue-ui-mood-radar.js +1 -1
  32. package/dist/components/vue-ui-nested-donuts.js +1 -1
  33. package/dist/components/vue-ui-onion.js +1 -1
  34. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  35. package/dist/components/vue-ui-quadrant.js +1 -1
  36. package/dist/components/vue-ui-quick-chart.js +1 -1
  37. package/dist/components/vue-ui-radar.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-spark-trend.js +1 -1
  44. package/dist/components/vue-ui-sparkbar.js +1 -1
  45. package/dist/components/vue-ui-sparkgauge.js +1 -1
  46. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  47. package/dist/components/vue-ui-sparkline.js +1 -1
  48. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  49. package/dist/components/vue-ui-stackbar.js +1 -1
  50. package/dist/components/vue-ui-stackline.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-heatmap.js +1 -1
  53. package/dist/components/vue-ui-table-sparkline.js +1 -1
  54. package/dist/components/vue-ui-table.js +1 -1
  55. package/dist/components/vue-ui-thermometer.js +1 -1
  56. package/dist/components/vue-ui-timer.js +1 -1
  57. package/dist/components/vue-ui-tiremarks.js +1 -1
  58. package/dist/components/vue-ui-treemap.js +1 -1
  59. package/dist/components/vue-ui-vertical-bar.js +1 -1
  60. package/dist/components/vue-ui-waffle.js +1 -1
  61. package/dist/components/vue-ui-wheel.js +1 -1
  62. package/dist/components/vue-ui-word-cloud.js +1 -1
  63. package/dist/components/vue-ui-world.js +1 -1
  64. package/dist/components/vue-ui-xy-canvas.js +1 -1
  65. package/dist/components/vue-ui-xy.js +1 -1
  66. package/dist/style.css +1 -1
  67. package/dist/types/vue-data-ui.d.ts +96 -0
  68. package/dist/types/vue-ui-3d-bar.d.ts +2 -0
  69. package/dist/types/vue-ui-age-pyramid.d.ts +2 -0
  70. package/dist/types/vue-ui-bullet.d.ts +2 -0
  71. package/dist/types/vue-ui-bump.d.ts +2 -0
  72. package/dist/types/vue-ui-candlestick.d.ts +2 -0
  73. package/dist/types/vue-ui-carousel-table.d.ts +2 -0
  74. package/dist/types/vue-ui-chestnut.d.ts +2 -0
  75. package/dist/types/vue-ui-chord.d.ts +2 -0
  76. package/dist/types/vue-ui-circle-pack.d.ts +2 -0
  77. package/dist/types/vue-ui-dag.d.ts +2 -0
  78. package/dist/types/vue-ui-dashboard.d.ts +2 -0
  79. package/dist/types/vue-ui-donut-evolution.d.ts +2 -0
  80. package/dist/types/vue-ui-donut.d.ts +2 -0
  81. package/dist/types/vue-ui-dumbbell.d.ts +2 -0
  82. package/dist/types/vue-ui-flow.d.ts +2 -0
  83. package/dist/types/vue-ui-funnel.d.ts +2 -0
  84. package/dist/types/vue-ui-galaxy.d.ts +2 -0
  85. package/dist/types/vue-ui-gauge.d.ts +2 -0
  86. package/dist/types/vue-ui-geo.d.ts +2 -0
  87. package/dist/types/vue-ui-heatmap.d.ts +2 -0
  88. package/dist/types/vue-ui-history-plot.d.ts +2 -0
  89. package/dist/types/vue-ui-horizontal-bar.d.ts +2 -0
  90. package/dist/types/vue-ui-molecule.d.ts +2 -0
  91. package/dist/types/vue-ui-mood-radar.d.ts +2 -0
  92. package/dist/types/vue-ui-nested-donuts.d.ts +2 -0
  93. package/dist/types/vue-ui-onion.d.ts +2 -0
  94. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +2 -0
  95. package/dist/types/vue-ui-quadrant.d.ts +2 -0
  96. package/dist/types/vue-ui-quick-chart.d.ts +2 -0
  97. package/dist/types/vue-ui-radar.d.ts +2 -0
  98. package/dist/types/vue-ui-relation-circle.d.ts +2 -0
  99. package/dist/types/vue-ui-ridgeline.d.ts +2 -0
  100. package/dist/types/vue-ui-rings.d.ts +2 -0
  101. package/dist/types/vue-ui-scatter.d.ts +2 -0
  102. package/dist/types/vue-ui-stackbar.d.ts +2 -0
  103. package/dist/types/vue-ui-stackline.d.ts +2 -0
  104. package/dist/types/vue-ui-strip-plot.d.ts +2 -0
  105. package/dist/types/vue-ui-table-heatmap.d.ts +2 -0
  106. package/dist/types/vue-ui-table-sparkline.d.ts +2 -0
  107. package/dist/types/vue-ui-thermometer.d.ts +2 -0
  108. package/dist/types/vue-ui-tiremarks.d.ts +2 -0
  109. package/dist/types/vue-ui-treemap.d.ts +2 -0
  110. package/dist/types/vue-ui-waffle.d.ts +2 -0
  111. package/dist/types/vue-ui-wheel.d.ts +2 -0
  112. package/dist/types/vue-ui-word-cloud.d.ts +2 -0
  113. package/dist/types/vue-ui-world.d.ts +2 -0
  114. package/dist/types/vue-ui-xy-canvas.d.ts +2 -0
  115. package/dist/types/vue-ui-xy.d.ts +2 -0
  116. package/dist/{vue-data-ui-Dwrs581h.js → vue-data-ui-BBnKbdCT.js} +62 -62
  117. package/dist/vue-data-ui.js +62 -62
  118. package/dist/{vue-ui-3d-bar-Dzul1YtG.js → vue-ui-3d-bar-gMuK6OMP.js} +12 -2
  119. package/dist/{vue-ui-age-pyramid-CnJpG89s.js → vue-ui-age-pyramid-B_D1wPY4.js} +12 -2
  120. package/dist/{vue-ui-bullet-DOw-FBkt.js → vue-ui-bullet-Ci3tqx6A.js} +12 -2
  121. package/dist/{vue-ui-bump-1296K-_D.js → vue-ui-bump-31Kryh02.js} +12 -2
  122. package/dist/{vue-ui-candlestick-CI90c-dv.js → vue-ui-candlestick-DU0MXtKT.js} +13 -3
  123. package/dist/vue-ui-carousel-table-D3j0UTQ1.js +455 -0
  124. package/dist/{vue-ui-chestnut-DkY3aAza.js → vue-ui-chestnut-Cgf0vAxo.js} +13 -3
  125. package/dist/{vue-ui-chord-Cg7dZhyY.js → vue-ui-chord-DGma5NsS.js} +13 -3
  126. package/dist/{vue-ui-circle-pack-37xBIDxu.js → vue-ui-circle-pack-EvRfcXnZ.js} +13 -3
  127. package/dist/{vue-ui-cursor-CxWjtVO8.js → vue-ui-cursor-BX8kHXVE.js} +1 -1
  128. package/dist/{vue-ui-dag-DR7C6gpM.js → vue-ui-dag-DuOokTx4.js} +12 -2
  129. package/dist/{vue-ui-dashboard-DnIT0CqG.js → vue-ui-dashboard-BeZCujZv.js} +73 -63
  130. package/dist/{vue-ui-digits-D5q58aw1.js → vue-ui-digits-nIgbeL-K.js} +1 -1
  131. package/dist/{vue-ui-donut-Cpb7TZkJ.js → vue-ui-donut-FzQwgIbN.js} +12 -2
  132. package/dist/{vue-ui-donut-evolution-BBI4VfQj.js → vue-ui-donut-evolution-CwLYRDws.js} +12 -2
  133. package/dist/{vue-ui-dumbbell-C9x0-rY8.js → vue-ui-dumbbell-BmujSKH2.js} +12 -2
  134. package/dist/{vue-ui-flow-CxDcHmcp.js → vue-ui-flow-D4jeyY5a.js} +12 -2
  135. package/dist/{vue-ui-funnel-Cw0bqpEh.js → vue-ui-funnel-DQ1fOfXW.js} +13 -3
  136. package/dist/{vue-ui-galaxy-CRM_RYNS.js → vue-ui-galaxy-Wldw6HHG.js} +12 -2
  137. package/dist/{vue-ui-gauge-Bb41G91j.js → vue-ui-gauge-BzV3y_h3.js} +12 -2
  138. package/dist/{vue-ui-geo-C1yboyh7.js → vue-ui-geo-WLEkf2a9.js} +12 -2
  139. package/dist/{vue-ui-gizmo-ByZeWi5a.js → vue-ui-gizmo-C0vr-wLL.js} +1 -1
  140. package/dist/{vue-ui-heatmap-81urWl8N.js → vue-ui-heatmap-RmaAnr9m.js} +13 -3
  141. package/dist/{vue-ui-history-plot-jY_t-j8l.js → vue-ui-history-plot-Dyf2Atb2.js} +12 -2
  142. package/dist/{vue-ui-horizontal-bar-DPz36eo8.js → vue-ui-horizontal-bar-DG4paRTj.js} +13 -3
  143. package/dist/{vue-ui-kpi-D3B6aH4f.js → vue-ui-kpi-TBQhSM0a.js} +1 -1
  144. package/dist/{vue-ui-molecule-DSrL2Xud.js → vue-ui-molecule-Df4zCHL5.js} +13 -3
  145. package/dist/{vue-ui-mood-radar-B0eX1hbk.js → vue-ui-mood-radar-RQqmJU_9.js} +12 -2
  146. package/dist/{vue-ui-nested-donuts-5krUsJOl.js → vue-ui-nested-donuts-C7VIp7mz.js} +12 -2
  147. package/dist/{vue-ui-onion-BCAkjL1C.js → vue-ui-onion-DP4NWU3Y.js} +12 -2
  148. package/dist/{vue-ui-parallel-coordinate-plot-TyRTDqCv.js → vue-ui-parallel-coordinate-plot-a7OvbsVh.js} +12 -2
  149. package/dist/{vue-ui-quadrant-BZ2xUGmX.js → vue-ui-quadrant-C4GxyyE3.js} +12 -2
  150. package/dist/{vue-ui-quick-chart-BfqPcddN.js → vue-ui-quick-chart-BNCkZiiG.js} +12 -2
  151. package/dist/{vue-ui-radar-DMN97Hh0.js → vue-ui-radar-Dcq3bWA4.js} +12 -2
  152. package/dist/{vue-ui-relation-circle-BLXtfPaW.js → vue-ui-relation-circle-CZ1UtEIM.js} +15 -5
  153. package/dist/{vue-ui-ridgeline-BI95AwXT.js → vue-ui-ridgeline-CsNDB48W.js} +12 -2
  154. package/dist/{vue-ui-rings-DPkUAULM.js → vue-ui-rings-Bwd_i2eo.js} +12 -2
  155. package/dist/{vue-ui-scatter-B7TJLai5.js → vue-ui-scatter-DAa8MnhH.js} +12 -2
  156. package/dist/{vue-ui-skeleton-DfmwfoiV.js → vue-ui-skeleton-CPy9DsSC.js} +1 -1
  157. package/dist/{vue-ui-spark-trend-yuTWmJP1.js → vue-ui-spark-trend-CM06cEvG.js} +1 -1
  158. package/dist/{vue-ui-sparkbar-ybtZMa0p.js → vue-ui-sparkbar-CSDRWMhb.js} +1 -1
  159. package/dist/{vue-ui-sparkgauge-B7Hqa_80.js → vue-ui-sparkgauge-CKeKTyBH.js} +1 -1
  160. package/dist/{vue-ui-sparkhistogram-CEQ7Pm3F.js → vue-ui-sparkhistogram-BSnU2_Q0.js} +1 -1
  161. package/dist/{vue-ui-sparkline-D8cWq4uX.js → vue-ui-sparkline-DhkrfLYf.js} +1 -1
  162. package/dist/{vue-ui-sparkstackbar-D9gswj7E.js → vue-ui-sparkstackbar-D3vn49rn.js} +1 -1
  163. package/dist/{vue-ui-stackbar-D-3efid2.js → vue-ui-stackbar-BR7tZmWR.js} +35 -19
  164. package/dist/{vue-ui-stackline-CKYIzXwW.js → vue-ui-stackline-Dj9N60Js.js} +202 -185
  165. package/dist/{vue-ui-strip-plot-HslKryIg.js → vue-ui-strip-plot-DLH2Jc91.js} +12 -2
  166. package/dist/{vue-ui-table-DLkjqaWN.js → vue-ui-table-DBWGRgw6.js} +2 -2
  167. package/dist/{vue-ui-table-heatmap-CvHoeUmu.js → vue-ui-table-heatmap-D0SM6A1L.js} +14 -4
  168. package/dist/{vue-ui-table-sparkline-Br_TS18u.js → vue-ui-table-sparkline-BShpt1UR.js} +13 -3
  169. package/dist/{vue-ui-thermometer-BbDER4uz.js → vue-ui-thermometer-BIH00QYu.js} +15 -5
  170. package/dist/{vue-ui-timer-BRLnG2PT.js → vue-ui-timer-vcaC2CGp.js} +1 -1
  171. package/dist/{vue-ui-tiremarks-CyxBpd-s.js → vue-ui-tiremarks-BmhvsqeP.js} +12 -2
  172. package/dist/{vue-ui-treemap-C4xT6aQB.js → vue-ui-treemap-C-M5PHTS.js} +12 -2
  173. package/dist/{vue-ui-waffle-C6EUywI5.js → vue-ui-waffle-DnpUe9aj.js} +12 -2
  174. package/dist/{vue-ui-wheel-6L2JNsHt.js → vue-ui-wheel-D21hTOn0.js} +15 -5
  175. package/dist/{vue-ui-word-cloud-CCvNo143.js → vue-ui-word-cloud-C4SPxSlX.js} +12 -2
  176. package/dist/{vue-ui-world-DLXGPAHr.js → vue-ui-world-DSq_cPCv.js} +12 -2
  177. package/dist/{vue-ui-xy-D2KUL-zN.js → vue-ui-xy-Iep0AjyV.js} +13 -3
  178. package/dist/{vue-ui-xy-canvas-DmZd3f1x.js → vue-ui-xy-canvas-DjTurM4m.js} +13 -3
  179. package/package.json +1 -1
  180. package/dist/vue-ui-carousel-table-ebgWqQoO.js +0 -445
@@ -15,25 +15,25 @@ import { t as Ee } from "./Shape-DEGOZ6GG.js";
15
15
  import { t as De } from "./_plugin-vue_export-helper-Dq1MygBL.js";
16
16
  import { c as Oe } from "./canvas-lib-DTaADQOK.js";
17
17
  import { t as ke } from "./useResponsive-CrAInupd.js";
18
- import { t as Ae } from "./SlicerPreview-7pKvVSTr.js";
18
+ import { t as Ae } from "./SlicerPreview-CG1jpZqZ.js";
19
19
  import { t as je } from "./BaseLegendToggle-DUIqQmwM.js";
20
20
  import { t as Me } from "./A11yDataTable-q2-8fSlJ.js";
21
21
  import { t as Ne } from "./useUserOptionState-CjPJPTg2.js";
22
22
  import { t as Pe } from "./useChartAccessibility-Do37qcw2.js";
23
23
  import { t as Fe } from "./Legend-Gg5Q4Clb.js";
24
24
  import { t as Ie } from "./vue_ui_stackline-DXxzibUd.js";
25
- import { Fragment as y, Teleport as Le, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as T, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as E, normalizeStyle as Ge, onBeforeUnmount as Ke, onMounted as qe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as j, toRefs as Xe, unref as M, useSlots as Ze, watch as Qe, watchEffect as $e, withCtx as N } from "vue";
25
+ import { Fragment as y, Teleport as Le, computed as b, createBlock as x, createCommentVNode as S, createElementBlock as C, createElementVNode as w, createSlots as Re, createTextVNode as ze, createVNode as Be, defineAsyncComponent as Ve, guardReactiveProps as T, mergeProps as He, nextTick as Ue, normalizeClass as We, normalizeProps as E, normalizeStyle as Ge, onBeforeUnmount as Ke, onMounted as qe, openBlock as D, ref as O, renderList as k, renderSlot as A, resolveDynamicComponent as Je, shallowRef as Ye, toDisplayString as Xe, toRefs as Ze, unref as j, useSlots as Qe, watch as $e, watchEffect as et, withCtx as M } from "vue";
26
26
  //#region src/components/vue-ui-stackline.vue
27
- var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt = ["id"], it = { style: { position: "relative" } }, at = [
27
+ var tt = /* @__PURE__ */ e({ default: () => Vt }), nt = ["id"], rt = ["id"], it = ["id"], at = { style: { position: "relative" } }, ot = [
28
28
  "aria-describedby",
29
29
  "xmlns",
30
30
  "viewBox"
31
- ], ot = { key: 0 }, st = [
31
+ ], st = { key: 0 }, ct = [
32
32
  "x",
33
33
  "y",
34
34
  "width",
35
35
  "height"
36
- ], ct = { key: 1 }, lt = ["id"], ut = ["stop-color"], dt = ["stop-color"], ft = [
36
+ ], lt = { key: 1 }, ut = ["id"], dt = ["stop-color"], ft = ["stop-color"], pt = [
37
37
  "x1",
38
38
  "x2",
39
39
  "y1",
@@ -41,7 +41,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
41
41
  "stroke",
42
42
  "stroke-width",
43
43
  "stroke-dasharray"
44
- ], pt = [
44
+ ], mt = [
45
45
  "x1",
46
46
  "x2",
47
47
  "y1",
@@ -49,32 +49,32 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
49
49
  "stroke",
50
50
  "stroke-width",
51
51
  "stroke-dasharray"
52
- ], mt = [
52
+ ], ht = [
53
53
  "x1",
54
54
  "x2",
55
55
  "y1",
56
56
  "y2",
57
57
  "stroke",
58
58
  "stroke-width"
59
- ], ht = [
59
+ ], gt = [
60
60
  "x1",
61
61
  "x2",
62
62
  "y1",
63
63
  "y2",
64
64
  "stroke",
65
65
  "stroke-width"
66
- ], gt = [
66
+ ], _t = [
67
67
  "x",
68
68
  "y",
69
69
  "font-size",
70
70
  "fill",
71
71
  "font-weight"
72
- ], _t = [
72
+ ], vt = [
73
73
  "transform",
74
74
  "font-size",
75
75
  "fill",
76
76
  "font-weight"
77
- ], vt = [
77
+ ], yt = [
78
78
  "x",
79
79
  "y",
80
80
  "width",
@@ -84,47 +84,47 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
84
84
  "stroke-linecap",
85
85
  "stroke-linejoin",
86
86
  "stroke-dasharray"
87
- ], yt = [
87
+ ], bt = [
88
88
  "d",
89
89
  "fill",
90
90
  "opacity"
91
- ], bt = [
91
+ ], xt = [
92
92
  "d",
93
93
  "stroke",
94
94
  "stroke-width"
95
- ], xt = [
95
+ ], St = [
96
96
  "x1",
97
97
  "x2",
98
98
  "y1",
99
99
  "y2",
100
100
  "stroke"
101
- ], St = [
101
+ ], Ct = [
102
102
  "x",
103
103
  "y",
104
104
  "font-size",
105
105
  "font-weight",
106
106
  "fill"
107
- ], Ct = { key: 0 }, wt = { key: 1 }, Tt = [
107
+ ], wt = { key: 0 }, Tt = { key: 1 }, Et = [
108
108
  "text-anchor",
109
109
  "font-size",
110
110
  "font-weight",
111
111
  "fill",
112
112
  "transform",
113
113
  "onClick"
114
- ], Et = [
114
+ ], Dt = [
115
115
  "text-anchor",
116
116
  "font-size",
117
117
  "fill",
118
118
  "transform",
119
119
  "innerHTML",
120
120
  "onClick"
121
- ], Dt = [
121
+ ], Ot = [
122
122
  "x",
123
123
  "y",
124
124
  "height",
125
125
  "width",
126
126
  "fill"
127
- ], Ot = { key: 0 }, kt = [
127
+ ], kt = { key: 0 }, At = [
128
128
  "x1",
129
129
  "x2",
130
130
  "y1",
@@ -132,19 +132,19 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
132
132
  "stroke",
133
133
  "stroke-width",
134
134
  "stroke-dasharray"
135
- ], At = { key: 0 }, jt = [
135
+ ], jt = { key: 0 }, Mt = [
136
136
  "x",
137
137
  "y",
138
138
  "font-size",
139
139
  "fill",
140
140
  "font-weight"
141
- ], Mt = [
141
+ ], Nt = [
142
142
  "x",
143
143
  "y",
144
144
  "font-size",
145
145
  "font-weight",
146
146
  "fill"
147
- ], Nt = ["data-start", "data-end"], Pt = {
147
+ ], Pt = ["data-start", "data-end"], Ft = {
148
148
  key: 0,
149
149
  style: {
150
150
  position: "absolute",
@@ -154,10 +154,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
154
154
  },
155
155
  "data-dom-to-png-ignore": "",
156
156
  "aria-hidden": "true"
157
- }, Ft = {
157
+ }, It = {
158
158
  key: 5,
159
159
  class: "vue-data-ui-watermark"
160
- }, It = ["onClick"], Lt = ["innerHTML"], Rt = ["innerHTML"], zt = ["id"], Bt = /* @__PURE__ */ De({
160
+ }, Lt = ["onClick"], Rt = ["innerHTML"], zt = ["innerHTML"], Bt = ["id"], Vt = /* @__PURE__ */ De({
161
161
  __name: "vue-ui-stackline",
162
162
  props: {
163
163
  config: {
@@ -184,15 +184,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
184
184
  "selectX",
185
185
  "copyAlt"
186
186
  ],
187
- setup(e, { expose: De, emit: et }) {
188
- let Bt = Ve(() => import("./Tooltip-CuWEYGr3.js")), Vt = Ve(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ht = Ve(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), Ut = Ve(() => import("./DataTable-BvDJEAma.js")), Wt = Ve(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Gt = Ve(() => import("./UserOptions-DMw8EZEo.js").then((e) => e.n)), Kt = Ve(() => import("./PackageVersion-DvDLFw4Z.js").then((e) => e.t)), qt = Ve(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_stackline: Jt } = he(), { isThemeValid: Yt, warnInvalidTheme: Xt } = xe(), Zt = Ze(), P = e, Qt = et, $t = b({
187
+ setup(e, { expose: De, emit: tt }) {
188
+ let Vt = Ve(() => import("./Tooltip-CuWEYGr3.js")), Ht = Ve(() => import("./BaseIcon-CEmt3Ifx.js").then((e) => e.n)), Ut = Ve(() => import("./vue-ui-accordion-CNtzLReQ.js").then((e) => e.n)), Wt = Ve(() => import("./DataTable-BvDJEAma.js")), Gt = Ve(() => import("./PenAndPaper-DwpL8Z0l.js").then((e) => e.t)), Kt = Ve(() => import("./UserOptions-B57xo6D2.js").then((e) => e.n)), qt = Ve(() => import("./PackageVersion-C7CvErYQ.js").then((e) => e.t)), Jt = Ve(() => import("./BaseDraggableDialog-BQcmQAK5.js").then((e) => e.n)), { vue_ui_stackline: Yt } = he(), { isThemeValid: Xt, warnInvalidTheme: Zt } = xe(), Qt = Qe(), N = e, $t = tt, en = b({
189
189
  get() {
190
- return !!P.dataset && P.dataset.length;
190
+ return !!N.dataset && N.dataset.length;
191
191
  },
192
192
  set(e) {
193
193
  return e;
194
194
  }
195
- }), en = O(null), F = O(i()), tn = O(!1), I = O([]), nn = O(0), rn = O(null), an = O(null), on = O(null), sn = O(null), cn = O(null), ln = O(!1), un = O(!1), dn = O(0), fn = O(0), pn = O(0), mn = O(!1), hn = O(null), gn = O(null), _n = O(!1), vn = O(!1), yn = O(!1), bn = O(null), xn = O(null), Sn = O(null), Cn = O(null), wn = O(null), Tn = Ye(null), En = O(!1), Dn = O(0), On = O(0), L = O(null), kn = O({
195
+ }), P = O(null), F = O(i()), tn = O(!1), I = O([]), nn = O(0), rn = O(null), an = O(null), on = O(null), sn = O(null), cn = O(null), ln = O(!1), un = O(!1), dn = O(0), fn = O(0), pn = O(0), mn = O(!1), hn = O(null), gn = O(null), _n = O(!1), vn = O(!1), yn = O(!1), bn = O(null), xn = O(null), Sn = O(null), Cn = O(null), wn = O(null), Tn = Ye(null), En = O(!1), Dn = O(0), On = O(0), L = O(null), kn = O({
196
196
  x: 0,
197
197
  y: 0
198
198
  }), An = O("pointer"), jn = Se({
@@ -206,7 +206,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
206
206
  }
207
207
  });
208
208
  function Mn() {
209
- Tn.value = en.value?.parentNode ?? null;
209
+ Tn.value = P.value?.parentNode ?? null;
210
210
  }
211
211
  function Nn() {
212
212
  return new Promise((e) => {
@@ -266,21 +266,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
266
266
  zoom: {
267
267
  show: !1,
268
268
  startIndex: null,
269
- endIndex: null
269
+ endIndex: null,
270
+ keepState: !1
270
271
  }
271
272
  } }
272
273
  },
273
274
  userConfig: R.value.skeletonConfig ?? {}
274
275
  })), { loading: B, FINAL_DATASET: zn, manualLoading: Bn } = _e({
275
- ...Xe(P),
276
+ ...Ze(N),
276
277
  FINAL_CONFIG: R,
277
278
  prepareConfig: Kn,
278
279
  callback: () => {
279
280
  Promise.resolve().then(async () => {
280
- await Qr();
281
+ (!R.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0) && await Qr();
281
282
  });
282
283
  },
283
- skeletonDataset: P.config?.skeletonDataset ?? [{
284
+ skeletonDataset: N.config?.skeletonDataset ?? [{
284
285
  name: "",
285
286
  series: [
286
287
  3,
@@ -320,25 +321,25 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
320
321
  _n.value = !0, Hn(!0);
321
322
  }
322
323
  function Gn() {
323
- Hn(!1), _n.value = !1, L.value = null, An.value = "pointer", tn.value = !1, $.value = null, Qt("selectX", {
324
+ Hn(!1), _n.value = !1, L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
324
325
  seriesIndex: null,
325
326
  datapoint: null
326
327
  });
327
328
  }
328
329
  function Kn() {
329
330
  let e = be({
330
- userConfig: P.config,
331
- defaultConfig: Jt
331
+ userConfig: N.config,
332
+ defaultConfig: Yt
332
333
  }), t = {}, n = e.theme;
333
- if (n) if (!Yt.value(e)) Xt(e), t = e;
334
+ if (n) if (!Xt.value(e)) Zt(e), t = e;
334
335
  else {
335
336
  let r = be({
336
- userConfig: Ie[n] || P.config,
337
+ userConfig: Ie[n] || N.config,
337
338
  defaultConfig: e
338
339
  });
339
340
  t = {
340
341
  ...be({
341
- userConfig: P.config,
342
+ userConfig: N.config,
342
343
  defaultConfig: r
343
344
  }),
344
345
  customPalette: e.customPalette.length ? e.customPalette : c[n] || f
@@ -348,22 +349,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
348
349
  return t;
349
350
  }
350
351
  let qn = b(() => R.value.style.chart.lines.dataLabels.hideUnderValue !== null), Jn = b(() => R.value.style.chart.lines.dataLabels.hideUnderPercentage !== null);
351
- Qe(() => P.config, (e) => {
352
- B.value || (R.value = Kn()), Vn.value = !R.value.userOptions.showOnChartHover, ar(), dn.value += 1, fn.value += 1, pn.value += 1, H.value.dataLabels.show = R.value.style.chart.lines.dataLabels.show, H.value.showTable = R.value.table.show, H.value.showTooltip = R.value.style.chart.tooltip.show, U.value.width = R.value.style.chart.width, U.value.height = R.value.style.chart.height, U.value.paddingRatio = {
352
+ $e(() => N.config, (e) => {
353
+ B.value || (R.value = Kn()), Vn.value = !R.value.userOptions.showOnChartHover, ar({ resetSlicer: !R.value.style.chart.zoom.keepState }), dn.value += 1, fn.value += 1, pn.value += 1, H.value.dataLabels.show = R.value.style.chart.lines.dataLabels.show, H.value.showTable = R.value.table.show, H.value.showTooltip = R.value.style.chart.tooltip.show, U.value.width = R.value.style.chart.width, U.value.height = R.value.style.chart.height, U.value.paddingRatio = {
353
354
  top: R.value.style.chart.padding.top / R.value.style.chart.height,
354
355
  right: R.value.style.chart.padding.right / R.value.style.chart.width,
355
356
  bottom: R.value.style.chart.padding.bottom / R.value.style.chart.height,
356
357
  left: R.value.style.chart.padding.left / R.value.style.chart.width
357
- }, Mn(), Pn(), br();
358
- }, { deep: !0 }), Qe(() => P.dataset, (e) => {
359
- Array.isArray(e) && e.length > 0 && (Bn.value = !1), Cr(), Mn(), Pn();
358
+ }, Mn(), Pn(), !R.value.style.chart.zoom.keepState || !Xr.value || q.value.start === 0 && q.value.end === 0 ? Qr() : br();
359
+ }, { deep: !0 }), $e(() => N.dataset, (e) => {
360
+ Array.isArray(e) && e.length > 0 && (Bn.value = !1), R.value.style.chart.zoom.keepState ? br() : Cr(), Mn(), Pn();
360
361
  }, { deep: !0 });
361
362
  let H = O({
362
363
  dataLabels: { show: R.value.style.chart.lines.dataLabels.show },
363
364
  showTable: R.value.table.show,
364
365
  showTooltip: R.value.style.chart.tooltip.show
365
366
  });
366
- Qe(R, () => {
367
+ $e(R, () => {
367
368
  H.value = {
368
369
  dataLabels: { show: R.value.style.chart.lines.dataLabels.show },
369
370
  showTable: R.value.table.show,
@@ -384,17 +385,17 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
384
385
  left: R.value.style.chart.padding.left / R.value.style.chart.width
385
386
  }
386
387
  }), er = b(() => ce(R.value.customPalette)), tr = Ye(null), nr = Ye(null), rr = O(null), ir = b(() => !!R.value.debug);
387
- function ar() {
388
- if (d(P.dataset) ? (p({
388
+ function ar({ resetSlicer: e = !0 } = {}) {
389
+ if (d(N.dataset) ? (p({
389
390
  componentName: "VueUiStackline",
390
391
  type: "dataset",
391
392
  debug: ir.value
392
- }), Bn.value = !0) : P.dataset.forEach((e, t) => {
393
+ }), Bn.value = !0) : N.dataset.forEach((e, t) => {
393
394
  re({
394
395
  datasetObject: e,
395
396
  requiredAttributes: ["name", "series"]
396
397
  }).forEach((e) => {
397
- $t.value = !1, p({
398
+ en.value = !1, p({
398
399
  componentName: "VueUiStackline",
399
400
  type: "datasetSerieAttribute",
400
401
  property: e,
@@ -402,13 +403,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
402
403
  debug: ir.value
403
404
  }), Bn.value = !0;
404
405
  });
405
- }), d(P.dataset) || (Bn.value = R.value.loading), setTimeout(() => {
406
+ }), d(N.dataset) || (Bn.value = R.value.loading), setTimeout(() => {
406
407
  un.value = !0;
407
408
  }, 10), R.value.responsive) {
408
409
  let e = Oe(() => {
409
410
  un.value = !1;
410
411
  let { width: e, height: t } = ke({
411
- chart: en.value,
412
+ chart: P.value,
412
413
  noTitle: sn.value,
413
414
  title: R.value.style.chart.title.text ? rn.value : null,
414
415
  legend: R.value.style.chart.legend.show ? an.value : null,
@@ -421,9 +422,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
421
422
  }, 10);
422
423
  });
423
424
  });
424
- tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value = en.value.parentNode, tr.value.observe(nr.value);
425
+ tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect()), tr.value = new ResizeObserver(e), nr.value = P.value.parentNode, tr.value.observe(nr.value);
425
426
  }
426
- Qr();
427
+ e && Qr();
427
428
  }
428
429
  Ke(() => {
429
430
  jn.stop(), tr.value && (nr.value && tr.value.unobserve(nr.value), tr.value.disconnect());
@@ -472,7 +473,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
472
473
  return e + t;
473
474
  }), W = b(() => {
474
475
  Dn.value;
475
- let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = R.value.style.chart.lines.totalValues.show && P.dataset && P.dataset.length > 1 ? R.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0;
476
+ let { height: e, width: t } = U.value, { right: n } = U.value.paddingRatio, r = R.value.style.chart.lines.totalValues.show && N.dataset && N.dataset.length > 1 ? R.value.style.chart.lines.totalValues.fontSize * 1.3 : 0, i = 0;
476
477
  R.value.style.chart.grid.y.axisLabels.show && (i = or());
477
478
  let a = R.value.style.chart.padding.top + r, o = t - t * n - sr.value, s = e - R.value.style.chart.padding.bottom - fr.value - r, c = R.value.style.chart.padding.left + i, l = t - c - t * n - sr.value, u = e - a - R.value.style.chart.padding.bottom - fr.value - r;
478
479
  return {
@@ -507,7 +508,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
507
508
  ...u
508
509
  };
509
510
  }), G = b(() => zn.value.map((e, t) => {
510
- let n = le(e.color) || er.value[t] || f[t] || f[t % f.length];
511
+ let n = `stackline_serie_${t}`, r = le(e.color) || er.value[t] || f[t] || f[t % f.length];
511
512
  return {
512
513
  ...e,
513
514
  shape: e.shape || "circle",
@@ -516,8 +517,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
516
517
  seriesSource: e.series,
517
518
  signedSeries: e.series.map((e) => e >= 0 ? 1 : -1),
518
519
  absoluteIndex: t,
519
- id: i(),
520
- color: n
520
+ id: n,
521
+ color: r
521
522
  };
522
523
  })), mr = b(() => G.value.filter((e) => !I.value.includes(e.id) && !e.standalone)), hr = b(() => G.value.filter((e) => !I.value.includes(e.id) && e.standalone)), K = b(() => {
523
524
  let e = Math.max(...G.value.filter((e) => !I.value.includes(e.id)).map((e) => e.series.length));
@@ -551,7 +552,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
551
552
  Ke(() => {
552
553
  xr.value && cancelAnimationFrame(xr.value);
553
554
  });
554
- async function Cr() {
555
+ async function Cr({ force: e = !1 } = {}) {
556
+ if (R.value.style.chart.zoom.keepState && !e && Xr.value && !(q.value.start === 0 && q.value.end === 0)) {
557
+ br();
558
+ return;
559
+ }
555
560
  Qr(), await Ue(), xr.value && cancelAnimationFrame(xr.value), xr.value = requestAnimationFrame(async () => {
556
561
  await Sr(), Qr();
557
562
  });
@@ -656,7 +661,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
656
661
  };
657
662
  });
658
663
  }), Ir = O([]), Lr = O([]), Rr = 0;
659
- $e(() => {
664
+ et(() => {
660
665
  let e = ++Rr;
661
666
  (async () => {
662
667
  let t = await me({
@@ -670,7 +675,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
670
675
  })();
671
676
  });
672
677
  let zr = 0;
673
- $e(() => {
678
+ et(() => {
674
679
  let e = ++zr;
675
680
  (async () => {
676
681
  let t = await me({
@@ -690,7 +695,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
690
695
  let e = R.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 ?? "");
691
696
  return ae(!!e.showOnlyFirstAndLast, !!e.showOnlyAtModulo, Math.max(1, Br.value || 1), o, s, r, i, a);
692
697
  });
693
- $e(() => {
698
+ et(() => {
694
699
  R.value.style.chart.grid.x.timeLabels.show, R.value.style.chart.grid.x.timeLabels.fontSize, R.value.style.chart.grid.x.timeLabels.rotation, R.value.style.chart.grid.x.timeLabels.offsetY, (Vr.value || []).map((e) => e?.text ?? "").join("|"), U.value.width, U.value.height, Cn.value, bn.value, dr();
695
700
  }, { flush: "post" });
696
701
  let Hr = O({
@@ -699,7 +704,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
699
704
  days: [],
700
705
  shortDays: []
701
706
  }), Ur = 0;
702
- $e(() => {
707
+ et(() => {
703
708
  let e = ++Ur, t = R.value.style.chart.grid.x.timeLabels.datetimeFormatter;
704
709
  (async () => {
705
710
  let n = await pe(t.locale).catch(() => pe("en"));
@@ -723,7 +728,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
723
728
  text: Wr.value(t, R.value.style.chart.tooltip.timeFormat),
724
729
  absoluteIndex: t
725
730
  }))), qr = b(() => {
726
- if (!$t.value && !B.value) return [];
731
+ if (!en.value && !B.value) return [];
727
732
  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 } = !R.value.style.chart.lines.distributed && (R.value.style.chart.grid.scale.scaleMax !== null || R.value.style.chart.grid.scale.scaleMin !== null) ? h(R.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks) : g(R.value.style.chart.grid.scale.scaleMin === null ? u > 0 ? 0 : u : R.value.style.chart.grid.scale.scaleMin, R.value.style.chart.grid.scale.scaleMax === null ? l < 0 ? 0 : l : R.value.style.chart.grid.scale.scaleMax, R.value.style.chart.grid.scale.ticks), p = f + (d >= 0 ? 0 : Math.abs(d)) || 1, m = Array(i).fill(0), _ = Array(i).fill(0), ee = (e) => i <= 1 ? W.value.left + W.value.width / 2 : W.value.left + e / (i - 1) * W.value.width;
728
733
  return G.value.filter((e) => !I.value.includes(e.id)).map((r) => {
729
734
  let a = [], o = [], s = [], c = Array(i).fill(null), l = Array(i).fill(null);
@@ -836,8 +841,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
836
841
  if (!Yr.value) {
837
842
  Yr.value = !0;
838
843
  try {
839
- let { startIndex: e, endIndex: t } = R.value.style.chart.zoom, n = K.value, r = e ?? 0, i = t == null ? n : Math.min(Zr(t + 1), n);
840
- ti.value = !0, q.value.start = r, q.value.end = i, J.value.start = r, J.value.end = i, br(), Xr.value = !0;
844
+ let { startIndex: e, endIndex: t, keepState: n } = R.value.style.chart.zoom, r = n ? Math.max(0, K.value) : K.value;
845
+ if (n && r <= 0) return;
846
+ let i = e ?? 0, a = t == null ? r : Math.min(Zr(t + 1), r);
847
+ ti.value = !0, q.value.start = i, q.value.end = a, J.value.start = i, J.value.end = a, br(), Xr.value = !0;
841
848
  } finally {
842
849
  queueMicrotask(() => {
843
850
  ti.value = !1;
@@ -976,12 +983,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
976
983
  R.value.events.datapointClick && R.value.events.datapointClick({
977
984
  datapoint: t,
978
985
  seriesIndex: e + q.value.start
979
- }), Qt("selectDatapoint", {
986
+ }), $t("selectDatapoint", {
980
987
  datapoint: t,
981
988
  period: Ir.value[e]
982
989
  });
983
990
  }
984
- Qe(() => [
991
+ $e(() => [
985
992
  q.value.start,
986
993
  q.value.end,
987
994
  Y.value.length
@@ -1139,7 +1146,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1139
1146
  }), R.value.events.datapointEnter && R.value.events.datapointEnter({
1140
1147
  datapoint: r,
1141
1148
  seriesIndex: t + q.value.start
1142
- })) : (L.value = null, $.value = null, Qt("selectX", {
1149
+ })) : (L.value = null, $.value = null, $t("selectX", {
1143
1150
  seriesIndex: null,
1144
1151
  dataset: null,
1145
1152
  indexLabel: null
@@ -1149,7 +1156,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1149
1156
  }));
1150
1157
  }
1151
1158
  function hi(e, t) {
1152
- Qt("selectTimeLabel", {
1159
+ $t("selectTimeLabel", {
1153
1160
  datapoint: JSON.parse(JSON.stringify(Y.value)).map((e) => ({
1154
1161
  name: e.name,
1155
1162
  value: e.series[t] === 0 ? 0 : (e.signedSeries[t] === -1 && e.series[t] >= 0 ? -e.series[t] : e.series[t]) || null,
@@ -1172,7 +1179,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1172
1179
  if (I.value.length === G.value.length - 1) return;
1173
1180
  I.value.push(e.id);
1174
1181
  }
1175
- Qt("selectLegend", Y.value);
1182
+ $t("selectLegend", Y.value);
1176
1183
  }
1177
1184
  let vi = b(() => G.value.map((e) => ({
1178
1185
  ...e,
@@ -1282,9 +1289,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1282
1289
  }
1283
1290
  }
1284
1291
  async function ji({ scale: e = 2 } = {}) {
1285
- if (!en.value) return;
1286
- let { width: t, height: n } = en.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
1287
- domElement: en.value,
1292
+ if (!P.value) return;
1293
+ let { width: t, height: n } = P.value.getBoundingClientRect(), r = t / n, { imageUri: i, base64: a } = await we({
1294
+ domElement: P.value,
1288
1295
  base64: !0,
1289
1296
  img: !0,
1290
1297
  scale: e
@@ -1301,7 +1308,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1301
1308
  let Mi = b(() => {
1302
1309
  let e = R.value.table.useDialog && !R.value.table.show, t = H.value.showTable;
1303
1310
  return {
1304
- component: e ? qt : Ht,
1311
+ component: e ? Jt : Ut,
1305
1312
  title: `${R.value.style.chart.title.text}${R.value.style.chart.title.subtitle.text ? `: ${R.value.style.chart.title.subtitle.text}` : ""}`,
1306
1313
  props: e ? {
1307
1314
  backgroundColor: R.value.table.th.backgroundColor,
@@ -1309,7 +1316,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1309
1316
  headerColor: R.value.table.th.color,
1310
1317
  headerBg: R.value.table.th.backgroundColor,
1311
1318
  isFullscreen: ln.value,
1312
- fullscreenParent: en.value,
1319
+ fullscreenParent: P.value,
1313
1320
  forcedWidth: Math.min(800, window.innerWidth * .8),
1314
1321
  isCursorPointer: z.value
1315
1322
  } : {
@@ -1329,7 +1336,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1329
1336
  }
1330
1337
  };
1331
1338
  });
1332
- Qe(() => H.value.showTable, (e) => {
1339
+ $e(() => H.value.showTable, (e) => {
1333
1340
  R.value.table.show || (e && R.value.table.useDialog && hn.value ? hn.value.open() : "close" in hn.value && hn.value.close());
1334
1341
  });
1335
1342
  function Ni() {
@@ -1366,8 +1373,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1366
1373
  });
1367
1374
  }
1368
1375
  let Bi = b(() => Array(K.value).fill(0).map((e, t) => zi(t)));
1369
- Qe(() => P.selectedXIndex, (e) => {
1370
- if ([null, void 0].includes(P.selectedXIndex)) {
1376
+ $e(() => N.selectedXIndex, (e) => {
1377
+ if ([null, void 0].includes(N.selectedXIndex)) {
1371
1378
  $.value = null;
1372
1379
  return;
1373
1380
  }
@@ -1429,7 +1436,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1429
1436
  if (R.value.style.chart.lines.useArea) {
1430
1437
  let t = R.value.style.chart.lines.smooth ? `M${m[0].x},${m[0].y} ${n(g)} L${ne.x},${ne.y} ${n(_)} Z` : `M${m[0].x},${m[0].y} ${n(ee)} L${ne.x},${ne.y} ${n(te)} Z`;
1431
1438
  l.push(`<path d="${t}"
1432
- fill="${Zt.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, e.color)}"
1439
+ fill="${Qt.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, e.color)}"
1433
1440
  opacity="${R.value.style.chart.lines.areaOpacity}"
1434
1441
  stroke="none" />`);
1435
1442
  }
@@ -1470,7 +1477,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1470
1477
  if (R.value.style.chart.lines.useArea) {
1471
1478
  let e = R.value.style.chart.lines.smooth ? `M${f[0].x},${f[0].y} ${n(g)} L${ne.x},${ne.y} ${n(_)} Z` : `M${f[0].x},${f[0].y} ${n(ee)} L${ne.x},${ne.y} ${n(te)} Z`;
1472
1479
  m.push(`<path d="${e}"
1473
- fill="${Zt.pattern ? `url(#pattern_${F.value}_${r.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, r.color)}"
1480
+ fill="${Qt.pattern ? `url(#pattern_${F.value}_${r.absoluteIndex})` : (R.value.style.chart.lines.gradient.show, r.color)}"
1474
1481
  opacity="${R.value.style.chart.lines.areaOpacity}"
1475
1482
  stroke="none" />`);
1476
1483
  }
@@ -1525,7 +1532,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1525
1532
  }
1526
1533
  function qi({ seriesIndex: e, datapoint: t }) {
1527
1534
  let n = q.value.start + e;
1528
- Qt("selectX", {
1535
+ $t("selectX", {
1529
1536
  dataset: t,
1530
1537
  index: n,
1531
1538
  indexLabel: R.value.style.chart.grid.x.timeLabels.values[n]
@@ -1543,7 +1550,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1543
1550
  Qn();
1544
1551
  }
1545
1552
  async function Yi() {
1546
- if (Qt("copyAlt", {
1553
+ if ($t("copyAlt", {
1547
1554
  config: R.value,
1548
1555
  dataset: Y.value
1549
1556
  }), !R.value.userOptions.callbacks.altCopy) {
@@ -1560,7 +1567,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1560
1567
  L.value = null, Xi.value = !0;
1561
1568
  }
1562
1569
  function Qi() {
1563
- L.value = null, An.value = "pointer", tn.value = !1, $.value = null, Qt("selectX", {
1570
+ L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
1564
1571
  seriesIndex: null,
1565
1572
  datapoint: null
1566
1573
  }), Xi.value = !1;
@@ -1570,7 +1577,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1570
1577
  let t = e.key === "ArrowLeft", n = e.key === "ArrowRight", r = e.key === "Enter" || e.key === " ", i = e.key === "Escape";
1571
1578
  if (!t && !n && !r && !i) return;
1572
1579
  if (e.preventDefault(), e.stopPropagation(), i) {
1573
- L.value = null, An.value = "pointer", tn.value = !1, $.value = null, Qt("selectX", {
1580
+ L.value = null, An.value = "pointer", tn.value = !1, $.value = null, $t("selectX", {
1574
1581
  seriesIndex: null,
1575
1582
  datapoint: null
1576
1583
  });
@@ -1611,7 +1618,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1611
1618
  }), (t, n) => (D(), C("div", {
1612
1619
  id: `stackline_${F.value}`,
1613
1620
  ref_key: "stacklineChart",
1614
- ref: en,
1621
+ ref: P,
1615
1622
  class: We({
1616
1623
  "vue-data-ui-component": !0,
1617
1624
  "vue-ui-stackline": !0,
@@ -1624,7 +1631,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1624
1631
  w("div", {
1625
1632
  id: `chart-instructions-${F.value}`,
1626
1633
  class: "sr-only"
1627
- }, [w("p", null, j(R.value.a11y.translations.keyboardNavigation), 1)], 8, nt),
1634
+ }, [w("p", null, Xe(R.value.a11y.translations.keyboardNavigation), 1)], 8, rt),
1628
1635
  ta.value?.rows?.length ? (D(), x(Me, {
1629
1636
  key: 0,
1630
1637
  uid: F.value,
@@ -1639,21 +1646,21 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1639
1646
  "notice",
1640
1647
  "caption"
1641
1648
  ])) : S("", !0),
1642
- R.value.userOptions.buttons.annotator ? (D(), x(M(Wt), {
1649
+ R.value.userOptions.buttons.annotator ? (D(), x(j(Gt), {
1643
1650
  key: 1,
1644
- svgRef: M(V),
1651
+ svgRef: j(V),
1645
1652
  backgroundColor: R.value.style.chart.backgroundColor,
1646
1653
  color: R.value.style.chart.color,
1647
1654
  active: In.value,
1648
1655
  isCursorPointer: z.value,
1649
1656
  onClose: Ln
1650
1657
  }, {
1651
- "annotator-action-close": N(() => [A(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1652
- "annotator-action-color": N(({ color: e }) => [A(t.$slots, "annotator-action-color", E(T({ color: e })), void 0, !0)]),
1653
- "annotator-action-draw": N(({ mode: e }) => [A(t.$slots, "annotator-action-draw", E(T({ mode: e })), void 0, !0)]),
1654
- "annotator-action-undo": N(({ disabled: e }) => [A(t.$slots, "annotator-action-undo", E(T({ disabled: e })), void 0, !0)]),
1655
- "annotator-action-redo": N(({ disabled: e }) => [A(t.$slots, "annotator-action-redo", E(T({ disabled: e })), void 0, !0)]),
1656
- "annotator-action-delete": N(({ disabled: e }) => [A(t.$slots, "annotator-action-delete", E(T({ disabled: e })), void 0, !0)]),
1658
+ "annotator-action-close": M(() => [A(t.$slots, "annotator-action-close", {}, void 0, !0)]),
1659
+ "annotator-action-color": M(({ color: e }) => [A(t.$slots, "annotator-action-color", E(T({ color: e })), void 0, !0)]),
1660
+ "annotator-action-draw": M(({ mode: e }) => [A(t.$slots, "annotator-action-draw", E(T({ mode: e })), void 0, !0)]),
1661
+ "annotator-action-undo": M(({ disabled: e }) => [A(t.$slots, "annotator-action-undo", E(T({ disabled: e })), void 0, !0)]),
1662
+ "annotator-action-redo": M(({ disabled: e }) => [A(t.$slots, "annotator-action-redo", E(T({ disabled: e })), void 0, !0)]),
1663
+ "annotator-action-delete": M(({ disabled: e }) => [A(t.$slots, "annotator-action-delete", E(T({ disabled: e })), void 0, !0)]),
1657
1664
  _: 3
1658
1665
  }, 8, [
1659
1666
  "svgRef",
@@ -1688,15 +1695,15 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1688
1695
  }
1689
1696
  }
1690
1697
  }, null, 8, ["config"]))], 512)) : S("", !0),
1691
- w("div", { id: `legend-top-${F.value}` }, null, 8, rt),
1692
- R.value.userOptions.show && $t.value && (M(Un) || M(Vn)) ? (D(), x(M(Gt), {
1698
+ w("div", { id: `legend-top-${F.value}` }, null, 8, it),
1699
+ R.value.userOptions.show && en.value && (j(Un) || j(Vn)) ? (D(), x(j(Kt), {
1693
1700
  ref_key: "userOptionsRef",
1694
1701
  ref: gn,
1695
1702
  key: `user_option_${nn.value}`,
1696
1703
  backgroundColor: R.value.style.chart.backgroundColor,
1697
1704
  color: R.value.style.chart.color,
1698
- isPrinting: M(Yn),
1699
- isImaging: M(Xn),
1705
+ isPrinting: j(Yn),
1706
+ isImaging: j(Xn),
1700
1707
  uid: F.value,
1701
1708
  hasTooltip: R.value.style.chart.tooltip.show && R.value.userOptions.buttons.tooltip,
1702
1709
  hasPdf: R.value.userOptions.buttons.pdf,
@@ -1708,7 +1715,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1708
1715
  hasFullscreen: R.value.userOptions.buttons.fullscreen,
1709
1716
  hasAltCopy: R.value.userOptions.buttons.altCopy,
1710
1717
  isFullscreen: ln.value,
1711
- chartElement: en.value,
1718
+ chartElement: P.value,
1712
1719
  position: R.value.userOptions.position,
1713
1720
  isTooltip: H.value.showTooltip,
1714
1721
  titles: { ...R.value.userOptions.buttonTitles },
@@ -1719,7 +1726,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1719
1726
  tableDialog: R.value.table.useDialog,
1720
1727
  isCursorPointer: z.value,
1721
1728
  onToggleFullscreen: Pi,
1722
- onGeneratePdf: M(Zn),
1729
+ onGeneratePdf: j(Zn),
1723
1730
  onGenerateCsv: wi,
1724
1731
  onGenerateImage: Ji,
1725
1732
  onGenerateSvg: Ai,
@@ -1728,11 +1735,11 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1728
1735
  onToggleTooltip: Li,
1729
1736
  onToggleAnnotator: Ln,
1730
1737
  onCopyAlt: Yi,
1731
- style: Ge({ visibility: M(Un) ? M(Vn) ? "visible" : "hidden" : "visible" })
1738
+ style: Ge({ visibility: j(Un) ? j(Vn) ? "visible" : "hidden" : "visible" })
1732
1739
  }, Re({ _: 2 }, [
1733
1740
  t.$slots.menuIcon ? {
1734
1741
  name: "menuIcon",
1735
- fn: N(({ isOpen: e, color: n }) => [A(t.$slots, "menuIcon", E(T({
1742
+ fn: M(({ isOpen: e, color: n }) => [A(t.$slots, "menuIcon", E(T({
1736
1743
  isOpen: e,
1737
1744
  color: n
1738
1745
  })), void 0, !0)]),
@@ -1740,42 +1747,42 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1740
1747
  } : void 0,
1741
1748
  t.$slots.optionTooltip ? {
1742
1749
  name: "optionTooltip",
1743
- fn: N(() => [A(t.$slots, "optionTooltip", {}, void 0, !0)]),
1750
+ fn: M(() => [A(t.$slots, "optionTooltip", {}, void 0, !0)]),
1744
1751
  key: "1"
1745
1752
  } : void 0,
1746
1753
  t.$slots.optionPdf ? {
1747
1754
  name: "optionPdf",
1748
- fn: N(() => [A(t.$slots, "optionPdf", {}, void 0, !0)]),
1755
+ fn: M(() => [A(t.$slots, "optionPdf", {}, void 0, !0)]),
1749
1756
  key: "2"
1750
1757
  } : void 0,
1751
1758
  t.$slots.optionCsv ? {
1752
1759
  name: "optionCsv",
1753
- fn: N(() => [A(t.$slots, "optionCsv", {}, void 0, !0)]),
1760
+ fn: M(() => [A(t.$slots, "optionCsv", {}, void 0, !0)]),
1754
1761
  key: "3"
1755
1762
  } : void 0,
1756
1763
  t.$slots.optionImg ? {
1757
1764
  name: "optionImg",
1758
- fn: N(() => [A(t.$slots, "optionImg", {}, void 0, !0)]),
1765
+ fn: M(() => [A(t.$slots, "optionImg", {}, void 0, !0)]),
1759
1766
  key: "4"
1760
1767
  } : void 0,
1761
1768
  t.$slots.optionSvg ? {
1762
1769
  name: "optionSvg",
1763
- fn: N(() => [A(t.$slots, "optionSvg", {}, void 0, !0)]),
1770
+ fn: M(() => [A(t.$slots, "optionSvg", {}, void 0, !0)]),
1764
1771
  key: "5"
1765
1772
  } : void 0,
1766
1773
  t.$slots.optionTable ? {
1767
1774
  name: "optionTable",
1768
- fn: N(() => [A(t.$slots, "optionTable", {}, void 0, !0)]),
1775
+ fn: M(() => [A(t.$slots, "optionTable", {}, void 0, !0)]),
1769
1776
  key: "6"
1770
1777
  } : void 0,
1771
1778
  t.$slots.optionLabels ? {
1772
1779
  name: "optionLabels",
1773
- fn: N(() => [A(t.$slots, "optionLabels", {}, void 0, !0)]),
1780
+ fn: M(() => [A(t.$slots, "optionLabels", {}, void 0, !0)]),
1774
1781
  key: "7"
1775
1782
  } : void 0,
1776
1783
  t.$slots.optionFullscreen ? {
1777
1784
  name: "optionFullscreen",
1778
- fn: N(({ toggleFullscreen: e, isFullscreen: n }) => [A(t.$slots, "optionFullscreen", E(T({
1785
+ fn: M(({ toggleFullscreen: e, isFullscreen: n }) => [A(t.$slots, "optionFullscreen", E(T({
1779
1786
  toggleFullscreen: e,
1780
1787
  isFullscreen: n
1781
1788
  })), void 0, !0)]),
@@ -1783,7 +1790,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1783
1790
  } : void 0,
1784
1791
  t.$slots.optionAnnotator ? {
1785
1792
  name: "optionAnnotator",
1786
- fn: N(({ toggleAnnotator: e, isAnnotator: n }) => [A(t.$slots, "optionAnnotator", E(T({
1793
+ fn: M(({ toggleAnnotator: e, isAnnotator: n }) => [A(t.$slots, "optionAnnotator", E(T({
1787
1794
  toggleAnnotator: e,
1788
1795
  isAnnotator: n
1789
1796
  })), void 0, !0)]),
@@ -1791,18 +1798,28 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1791
1798
  } : void 0,
1792
1799
  t.$slots.optionAltCopy ? {
1793
1800
  name: "optionAltCopy",
1794
- fn: N(({ altCopy: e }) => [A(t.$slots, "optionAltCopy", E(T({ altCopy: e })), void 0, !0)]),
1801
+ fn: M(({ altCopy: e }) => [A(t.$slots, "optionAltCopy", E(T({ altCopy: e })), void 0, !0)]),
1795
1802
  key: "10"
1803
+ } : void 0,
1804
+ t.$slots["custom-menu-before"] ? {
1805
+ name: "custom-menu-before",
1806
+ fn: M(() => [A(t.$slots, "custom-menu-before", {}, void 0, !0)]),
1807
+ key: "11"
1808
+ } : void 0,
1809
+ t.$slots["custom-menu-after"] ? {
1810
+ name: "custom-menu-after",
1811
+ fn: M(() => [A(t.$slots, "custom-menu-after", {}, void 0, !0)]),
1812
+ key: "12"
1796
1813
  } : void 0
1797
1814
  ]), 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("."))) : S("", !0),
1798
- w("div", it, [(D(), C("svg", {
1815
+ w("div", at, [(D(), C("svg", {
1799
1816
  ref_key: "svgRef",
1800
1817
  ref: V,
1801
1818
  "aria-describedby": `chart-instructions-${F.value}`,
1802
- xmlns: M(oe),
1819
+ xmlns: j(oe),
1803
1820
  viewBox: `0 0 ${W.value.chartWidth <= 0 ? 10 : W.value.chartWidth} ${W.value.chartHeight <= 0 ? 10 : W.value.chartHeight}`,
1804
1821
  class: We({
1805
- "vue-data-ui-loading": M(B),
1822
+ "vue-data-ui-loading": j(B),
1806
1823
  "no-transition": !R.value.useCssAnimation
1807
1824
  }),
1808
1825
  style: Ge(`max-width:100%;overflow:visible;background:transparent;color:${R.value.style.chart.color}`),
@@ -1817,8 +1834,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1817
1834
  onBlur: Qi,
1818
1835
  onKeydown: $i
1819
1836
  }, [
1820
- Be(M(Kt)),
1821
- (D(!0), C(y, null, k(mr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs", ot, [A(t.$slots, "pattern", He({ ref_for: !0 }, {
1837
+ Be(j(qt)),
1838
+ (D(!0), C(y, null, k(mr.value, (e) => (D(), C(y, null, [t.$slots.pattern ? (D(), C("defs", st, [A(t.$slots, "pattern", He({ ref_for: !0 }, {
1822
1839
  seriesIndex: e.absoluteIndex,
1823
1840
  patternId: `pattern_${F.value}_${e.absoluteIndex}`
1824
1841
  }), void 0, !0)])) : S("", !0)], 64))), 256)),
@@ -1829,8 +1846,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1829
1846
  width: X.value.width,
1830
1847
  height: W.value.height,
1831
1848
  style: { pointerEvents: "none" }
1832
- }, [A(t.$slots, "chart-background", {}, void 0, !0)], 8, st)) : S("", !0),
1833
- R.value.style.chart.lines.gradient.show ? (D(), C("defs", ct, [(D(!0), C(y, null, k(Y.value, (e, t) => (D(), C("linearGradient", {
1849
+ }, [A(t.$slots, "chart-background", {}, void 0, !0)], 8, ct)) : S("", !0),
1850
+ R.value.style.chart.lines.gradient.show ? (D(), C("defs", lt, [(D(!0), C(y, null, k(Y.value, (e, t) => (D(), C("linearGradient", {
1834
1851
  id: `gradient_${e.id}`,
1835
1852
  x1: "0%",
1836
1853
  y1: "0%",
@@ -1839,10 +1856,10 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1839
1856
  }, [w("stop", {
1840
1857
  offset: "0%",
1841
1858
  "stop-color": e.color
1842
- }, null, 8, ut), w("stop", {
1859
+ }, null, 8, dt), w("stop", {
1843
1860
  offset: "100%",
1844
- "stop-color": M(ue)(e.color, R.value.style.chart.lines.gradient.intensity / 100)
1845
- }, null, 8, dt)], 8, lt))), 256))])) : S("", !0),
1861
+ "stop-color": j(ue)(e.color, R.value.style.chart.lines.gradient.intensity / 100)
1862
+ }, null, 8, ft)], 8, ut))), 256))])) : S("", !0),
1846
1863
  R.value.style.chart.grid.x.showHorizontalLines ? (D(!0), C(y, { key: 2 }, k(Fr.value, (e, t) => (D(), C("line", {
1847
1864
  x1: X.value.left,
1848
1865
  x2: X.value.right,
@@ -1852,7 +1869,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1852
1869
  "stroke-width": R.value.style.chart.grid.x.linesThickness,
1853
1870
  "stroke-dasharray": R.value.style.chart.grid.x.linesStrokeDasharray,
1854
1871
  "stroke-linecap": "round"
1855
- }, null, 8, ft))), 256)) : S("", !0),
1872
+ }, null, 8, pt))), 256)) : S("", !0),
1856
1873
  R.value.style.chart.grid.y.showVerticalLines ? (D(!0), C(y, { key: 3 }, k(q.value.end - q.value.start, (e, t) => (D(), C("line", {
1857
1874
  x1: Q(t),
1858
1875
  x2: Q(t),
@@ -1862,7 +1879,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1862
1879
  "stroke-width": R.value.style.chart.grid.y.linesThickness,
1863
1880
  "stroke-dasharray": R.value.style.chart.grid.y.linesStrokeDasharray,
1864
1881
  "stroke-linecap": "round"
1865
- }, null, 8, pt))), 256)) : S("", !0),
1882
+ }, null, 8, mt))), 256)) : S("", !0),
1866
1883
  R.value.style.chart.grid.x.showAxis ? (D(), C("line", {
1867
1884
  key: 4,
1868
1885
  x1: X.value.left,
@@ -1873,7 +1890,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1873
1890
  "stroke-width": R.value.style.chart.grid.x.axisThickness,
1874
1891
  "stroke-linecap": "round",
1875
1892
  "stroke-linejoin": "round"
1876
- }, null, 8, mt)) : S("", !0),
1893
+ }, null, 8, ht)) : S("", !0),
1877
1894
  R.value.style.chart.grid.y.showAxis && !R.value.style.chart.lines.distributed ? (D(), C("line", {
1878
1895
  key: 5,
1879
1896
  x1: X.value.left,
@@ -1884,7 +1901,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1884
1901
  "stroke-width": R.value.style.chart.grid.y.axisThickness,
1885
1902
  "stroke-linecap": "round",
1886
1903
  "stroke-linejoin": "round"
1887
- }, null, 8, ht)) : S("", !0),
1904
+ }, null, 8, gt)) : S("", !0),
1888
1905
  R.value.style.chart.grid.x.axisName.show && R.value.style.chart.grid.x.axisName.text ? (D(), C("text", {
1889
1906
  key: 6,
1890
1907
  ref_key: "xAxisLabel",
@@ -1895,7 +1912,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1895
1912
  fill: R.value.style.chart.grid.x.axisName.color,
1896
1913
  "font-weight": R.value.style.chart.grid.x.axisName.bold ? "bold" : "normal",
1897
1914
  "text-anchor": "middle"
1898
- }, j(R.value.style.chart.grid.x.axisName.text), 9, gt)) : S("", !0),
1915
+ }, Xe(R.value.style.chart.grid.x.axisName.text), 9, _t)) : S("", !0),
1899
1916
  R.value.style.chart.grid.y.axisName.show && R.value.style.chart.grid.y.axisName.text ? (D(), C("text", {
1900
1917
  key: 7,
1901
1918
  ref_key: "yAxisLabel",
@@ -1905,7 +1922,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1905
1922
  fill: R.value.style.chart.grid.y.axisName.color,
1906
1923
  "font-weight": R.value.style.chart.grid.y.axisName.bold ? "bold" : "normal",
1907
1924
  "text-anchor": "middle"
1908
- }, j(R.value.style.chart.grid.y.axisName.text), 9, _t)) : S("", !0),
1925
+ }, Xe(R.value.style.chart.grid.y.axisName.text), 9, vt)) : S("", !0),
1909
1926
  R.value.style.chart.grid.frame.show ? (D(), C("rect", {
1910
1927
  key: 8,
1911
1928
  style: {
@@ -1923,22 +1940,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1923
1940
  "stroke-linecap": R.value.style.chart.grid.frame.strokeLinecap,
1924
1941
  "stroke-linejoin": R.value.style.chart.grid.frame.strokeLinejoin,
1925
1942
  "stroke-dasharray": R.value.style.chart.grid.frame.strokeDasharray
1926
- }, null, 8, vt)) : S("", !0),
1943
+ }, null, 8, yt)) : S("", !0),
1927
1944
  (D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [R.value.style.chart.lines.useArea && !e.standalone ? (D(), C("path", {
1928
1945
  key: 0,
1929
1946
  d: R.value.style.chart.lines.smooth ? e.smoothArea : e.straightArea,
1930
1947
  fill: t.$slots.pattern ? `url(#pattern_${F.value}_${e.absoluteIndex})` : R.value.style.chart.lines.gradient.show ? `url(#gradient_${e.id})` : e.color,
1931
1948
  opacity: R.value.style.chart.lines.areaOpacity,
1932
- style: Ge({ transition: M(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1933
- }, null, 12, yt)) : S("", !0)], 64))), 256)),
1949
+ style: Ge({ transition: j(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1950
+ }, null, 12, bt)) : S("", !0)], 64))), 256)),
1934
1951
  (D(!0), C(y, null, k(Y.value, (e) => (D(), C("path", {
1935
1952
  d: R.value.style.chart.lines.smooth ? e.smoothPath : e.straightPath,
1936
1953
  stroke: R.value.style.chart.lines.path.useSerieColor ? e.color : R.value.style.chart.lines.path.stroke,
1937
1954
  "stroke-width": R.value.style.chart.lines.strokeWidth,
1938
1955
  fill: "none",
1939
1956
  "stroke-linecap": "round",
1940
- style: Ge({ transition: M(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1941
- }, null, 12, bt))), 256)),
1957
+ style: Ge({ transition: j(B) || !R.value.useCssAnimation ? void 0 : "all 0.3s ease-in-out" })
1958
+ }, null, 12, xt))), 256)),
1942
1959
  R.value.style.chart.grid.y.axisLabels.show && !R.value.style.chart.lines.distributed ? (D(), C("g", {
1943
1960
  key: 9,
1944
1961
  ref_key: "scaleLabels",
@@ -1950,24 +1967,24 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1950
1967
  y2: e.y,
1951
1968
  stroke: R.value.style.chart.grid.x.axisColor,
1952
1969
  "stroke-width": 1
1953
- }, null, 8, xt))), 256)), (D(!0), C(y, null, k(Fr.value, (e, t) => (D(), C("text", {
1970
+ }, null, 8, St))), 256)), (D(!0), C(y, null, k(Fr.value, (e, t) => (D(), C("text", {
1954
1971
  x: e.x,
1955
1972
  y: e.y + R.value.style.chart.grid.y.axisLabels.fontSize / 3,
1956
1973
  "font-size": R.value.style.chart.grid.y.axisLabels.fontSize,
1957
1974
  "font-weight": R.value.style.chart.grid.y.axisLabels.bold ? "bold" : "normal",
1958
1975
  fill: R.value.style.chart.grid.y.axisLabels.color,
1959
1976
  "text-anchor": "end"
1960
- }, j(M(_)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, M(r)({
1977
+ }, Xe(j(_)(R.value.style.chart.grid.y.axisLabels.formatter, e.value, j(r)({
1961
1978
  p: R.value.style.chart.lines.dataLabels.prefix,
1962
1979
  v: e.value,
1963
1980
  s: R.value.style.chart.lines.dataLabels.suffix,
1964
1981
  r: R.value.style.chart.grid.y.axisLabels.rounding
1965
- }), { datapoint: e })), 9, St))), 256))], 512)) : S("", !0),
1982
+ }), { datapoint: e })), 9, Ct))), 256))], 512)) : S("", !0),
1966
1983
  R.value.style.chart.grid.x.timeLabels.show ? (D(), C("g", {
1967
1984
  key: 10,
1968
1985
  ref_key: "timeLabelsEls",
1969
1986
  ref: Cn
1970
- }, [t.$slots["time-label"] ? (D(), C("g", Ct, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [A(t.$slots, "time-label", He({ ref_for: !0 }, {
1987
+ }, [t.$slots["time-label"] ? (D(), C("g", wt, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [A(t.$slots, "time-label", He({ ref_for: !0 }, {
1971
1988
  x: W.value.left + wr.value * n + wr.value / 2,
1972
1989
  y: W.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY,
1973
1990
  fontSize: R.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1977,7 +1994,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1977
1994
  content: e.text,
1978
1995
  textAnchor: R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1979
1996
  show: !0
1980
- }), void 0, !0)]))), 256))])) : (D(), C("g", wt, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [String(e.text).includes("\n") ? (D(), C("text", {
1997
+ }), void 0, !0)]))), 256))])) : (D(), C("g", Tt, [(D(!0), C(y, null, k(Vr.value, (e, n) => (D(), C("g", null, [String(e.text).includes("\n") ? (D(), C("text", {
1981
1998
  key: n + "-multi",
1982
1999
  "text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
1983
2000
  "font-size": R.value.style.chart.grid.x.timeLabels.fontSize,
@@ -1998,7 +2015,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
1998
2015
  y: 0
1999
2016
  }),
2000
2017
  onClick: () => hi(e, n)
2001
- }, null, 12, Et)) : (D(), C("text", {
2018
+ }, null, 12, Dt)) : (D(), C("text", {
2002
2019
  class: "vue-data-ui-time-label",
2003
2020
  key: n,
2004
2021
  "text-anchor": R.value.style.chart.grid.x.timeLabels.rotation > 0 ? "start" : R.value.style.chart.grid.x.timeLabels.rotation < 0 ? "end" : "middle",
@@ -2008,23 +2025,23 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2008
2025
  transform: `translate(${Q(n)}, ${W.value.bottom + R.value.style.chart.grid.x.timeLabels.fontSize * 1.3 + R.value.style.chart.grid.x.timeLabels.offsetY}), rotate(${R.value.style.chart.grid.x.timeLabels.rotation})`,
2009
2026
  style: Ge({ cursor: z.value ? "pointer" : "default" }),
2010
2027
  onClick: () => hi(e, n)
2011
- }, j(e.text), 13, Tt))]))), 256))]))], 512)) : S("", !0),
2028
+ }, Xe(e.text), 13, Et))]))), 256))]))], 512)) : S("", !0),
2012
2029
  (_n.value || ![null, void 0].includes($.value)) && !R.value.style.chart.highlighter.useLine ? (D(!0), C(y, { key: 11 }, k(q.value.end - q.value.start, (e, t) => (D(), C("g", { key: `tooltip_trap_highlighter_${t}` }, [w("rect", {
2013
2030
  x: oi(t).x,
2014
2031
  y: W.value.top,
2015
2032
  height: W.value.height,
2016
2033
  width: oi(t).width,
2017
- fill: [Fn.value, $.value].includes(t) ? M(ee)(R.value.style.chart.highlighter.color, R.value.style.chart.highlighter.opacity) : "transparent",
2034
+ fill: [Fn.value, $.value].includes(t) ? j(ee)(R.value.style.chart.highlighter.color, R.value.style.chart.highlighter.opacity) : "transparent",
2018
2035
  style: {
2019
2036
  transition: "none !important",
2020
2037
  animation: "none !important"
2021
2038
  }
2022
- }, null, 8, Dt)]))), 128)) : S("", !0),
2023
- (_n.value || ![null, void 0].includes($.value)) && R.value.style.chart.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Fn.value) ? (D(), C("g", Ot, [w("line", {
2039
+ }, null, 8, Ot)]))), 128)) : S("", !0),
2040
+ (_n.value || ![null, void 0].includes($.value)) && R.value.style.chart.highlighter.useLine ? (D(), C(y, { key: 12 }, [![null, void 0].includes($.value) || ![null, void 0].includes(Fn.value) ? (D(), C("g", kt, [w("line", {
2024
2041
  x1: Q(($.value ?? Fn.value) || 0),
2025
2042
  x2: Q(($.value ?? Fn.value) || 0),
2026
- y1: M(m)(W.value.top),
2027
- y2: M(m)(W.value.bottom),
2043
+ y1: j(m)(W.value.top),
2044
+ y2: j(m)(W.value.bottom),
2028
2045
  stroke: R.value.style.chart.highlighter.color,
2029
2046
  "stroke-width": R.value.style.chart.highlighter.lineWidth,
2030
2047
  "stroke-dasharray": R.value.style.chart.highlighter.lineDasharray,
@@ -2034,8 +2051,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2034
2051
  animation: "none !important",
2035
2052
  "pointer-events": "none"
2036
2053
  }
2037
- }, null, 8, kt)])) : S("", !0)], 64)) : S("", !0),
2038
- (D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [_n.value && q.value.end - q.value.start > R.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (D(), C("g", At, [$.value == null ? S("", !0) : (D(), C(y, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (D(), x(Ee, {
2054
+ }, null, 8, At)])) : S("", !0)], 64)) : S("", !0),
2055
+ (D(!0), C(y, null, k(Y.value, (e) => (D(), C(y, null, [_n.value && q.value.end - q.value.start > R.value.style.chart.lines.dot.hideAboveMaxSerieLength ? (D(), C("g", jt, [$.value == null ? S("", !0) : (D(), C(y, { key: 0 }, [e.rel.includes($.value) && e.fullSeries?.[q.value.start + $.value] != null && !Number.isNaN(e.fullSeries?.[q.value.start + $.value]) ? (D(), x(Ee, {
2039
2056
  key: 0,
2040
2057
  shape: [
2041
2058
  "triangle",
@@ -2047,13 +2064,13 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2047
2064
  ].includes(e.shape) ? e.shape : "circle",
2048
2065
  color: R.value.style.chart.lines.dot.useSerieColor ? e.color : R.value.style.chart.lines.dot.fill,
2049
2066
  plot: {
2050
- x: M(se)(e.points[e.rel.indexOf($.value)].x),
2051
- y: M(se)(e.points[e.rel.indexOf($.value)].y)
2067
+ x: j(se)(e.points[e.rel.indexOf($.value)].x),
2068
+ y: j(se)(e.points[e.rel.indexOf($.value)].y)
2052
2069
  },
2053
2070
  radius: R.value.style.chart.lines.dot.radius * 1.3,
2054
2071
  stroke: R.value.style.chart.lines.dot.useSerieColor ? R.value.style.chart.lines.dot.stroke : e.color,
2055
2072
  strokeWidth: R.value.style.chart.lines.dot.strokeWidth,
2056
- transition: M(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2073
+ transition: j(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2057
2074
  }, null, 8, [
2058
2075
  "shape",
2059
2076
  "color",
@@ -2081,7 +2098,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2081
2098
  radius: _n.value && $.value === e.rel[n] ? R.value.style.chart.lines.dot.radius * 1.3 : R.value.style.chart.lines.dot.radius,
2082
2099
  stroke: R.value.style.chart.lines.dot.useSerieColor ? R.value.style.chart.lines.dot.stroke : e.color,
2083
2100
  strokeWidth: R.value.style.chart.lines.dot.strokeWidth,
2084
- transition: M(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2101
+ transition: j(B) ? void 0 : `all ${R.value.style.chart.lines.transitionDurationMs}ms ease-in-out`
2085
2102
  }, null, 8, [
2086
2103
  "shape",
2087
2104
  "color",
@@ -2099,7 +2116,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2099
2116
  fill: R.value.style.chart.lines.dataLabels.color,
2100
2117
  "font-weight": R.value.style.chart.lines.dataLabels.bold ? "bold" : "normal",
2101
2118
  "text-anchor": "middle"
2102
- }, j(R.value.style.chart.lines.showDistributedPercentage && R.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, jt)) : S("", !0)], 64))), 128))]))), 128)), R.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
2119
+ }, Xe(R.value.style.chart.lines.showDistributedPercentage && R.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, Mt)) : S("", !0)], 64))), 128))]))), 128)), R.value.style.chart.lines.totalValues.show && Y.value.length > 1 ? (D(), C("g", {
2103
2120
  key: 0,
2104
2121
  ref_key: "sumTop",
2105
2122
  ref: wn
@@ -2111,22 +2128,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2111
2128
  "font-size": R.value.style.chart.lines.totalValues.fontSize,
2112
2129
  "font-weight": R.value.style.chart.lines.totalValues.bold ? "bold" : "normal",
2113
2130
  fill: R.value.style.chart.lines.totalValues.color
2114
- }, j(Gi(e.value, e, t, t, e.sign)), 9, Mt)) : S("", !0)], 64))), 256))], 512)) : S("", !0)], 64)) : S("", !0),
2131
+ }, Xe(Gi(e.value, e, t, t, e.sign)), 9, Nt)) : S("", !0)], 64))), 256))], 512)) : S("", !0)], 64)) : S("", !0),
2115
2132
  vr.value ? (D(), C("rect", He({ key: 14 }, pr.value, {
2116
2133
  "data-start": q.value.start,
2117
2134
  "data-end": q.value.end
2118
- }), null, 16, Nt)) : S("", !0),
2135
+ }), null, 16, Pt)) : S("", !0),
2119
2136
  A(t.$slots, "svg", { svg: {
2120
2137
  drawingArea: W.value,
2121
2138
  data: Y.value,
2122
- isPrintingImg: M(Yn) || M(Xn) || vn.value,
2139
+ isPrintingImg: j(Yn) || j(Xn) || vn.value,
2123
2140
  isPrintingSvg: yn.value
2124
2141
  } }, void 0, !0)
2125
- ], 46, at)), t.$slots.hint ? (D(), C("div", Pt, [A(t.$slots, "hint", E(T({
2142
+ ], 46, ot)), t.$slots.hint ? (D(), C("div", Ft, [A(t.$slots, "hint", E(T({
2126
2143
  hint: R.value.a11y.translations.keyboardNavigation,
2127
2144
  isVisible: Xi.value
2128
2145
  })), void 0, !0)])) : S("", !0)]),
2129
- t.$slots.watermark ? (D(), C("div", Ft, [A(t.$slots, "watermark", E(T({ isPrinting: M(Yn) || M(Xn) || vn.value || yn.value })), void 0, !0)])) : S("", !0),
2146
+ t.$slots.watermark ? (D(), C("div", It, [A(t.$slots, "watermark", E(T({ isPrinting: j(Yn) || j(Xn) || vn.value || yn.value })), void 0, !0)])) : S("", !0),
2130
2147
  mn.value && (R.value.style.chart.legend.show || t.$slots.legend) ? (D(), x(Le, {
2131
2148
  key: 6,
2132
2149
  to: R.value.style.chart.legend.position === "top" ? `#legend-top-${F.value}` : `#legend-bottom-${F.value}`
@@ -2140,12 +2157,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2140
2157
  isCursorPointer: z.value,
2141
2158
  onClickMarker: n[0] ||= ({ legend: e }) => e.segregate()
2142
2159
  }, Re({
2143
- item: N(({ legend: e }) => [M(B) ? S("", !0) : (D(), C("div", {
2160
+ item: M(({ legend: e }) => [j(B) ? S("", !0) : (D(), C("div", {
2144
2161
  key: 0,
2145
2162
  onClick: (t) => e.segregate(),
2146
2163
  style: Ge(`opacity:${I.value.includes(e.id) ? .5 : 1}`)
2147
- }, j(e.name), 13, It))]),
2148
- legendToggle: N(() => [vi.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !M(B) ? (D(), x(je, {
2164
+ }, Xe(e.name), 13, Lt))]),
2165
+ legendToggle: M(() => [vi.value.length > 2 && R.value.style.chart.legend.selectAllToggle.show && !j(B) ? (D(), x(je, {
2149
2166
  key: 0,
2150
2167
  backgroundColor: R.value.style.chart.legend.selectAllToggle.backgroundColor,
2151
2168
  color: R.value.style.chart.legend.selectAllToggle.color,
@@ -2163,7 +2180,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2163
2180
  _: 2
2164
2181
  }, [t.$slots.pattern ? {
2165
2182
  name: "legend-pattern",
2166
- fn: N(({ legend: e, index: t }) => [Be(Ee, {
2183
+ fn: M(({ legend: e, index: t }) => [Be(Ee, {
2167
2184
  shape: e.shape,
2168
2185
  radius: 30,
2169
2186
  stroke: "none",
@@ -2179,12 +2196,12 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2179
2196
  "config",
2180
2197
  "isCursorPointer"
2181
2198
  ])) : S("", !0)], !0)], 512)], 8, ["to"])) : S("", !0),
2182
- $t.value && R.value.userOptions.buttons.table ? (D(), x(Je(Mi.value.component), He({ key: 7 }, Mi.value.props, {
2199
+ en.value && R.value.userOptions.buttons.table ? (D(), x(Je(Mi.value.component), He({ key: 7 }, Mi.value.props, {
2183
2200
  ref_key: "tableUnit",
2184
2201
  ref: hn,
2185
2202
  onClose: Ni
2186
2203
  }), Re({
2187
- content: N(() => [Be(M(Ut), {
2204
+ content: M(() => [Be(j(Wt), {
2188
2205
  colNames: Ti.value.colNames,
2189
2206
  head: Ti.value.head,
2190
2207
  body: Ti.value.body,
@@ -2194,8 +2211,8 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2194
2211
  isCursorPointer: z.value,
2195
2212
  onClose: Ni
2196
2213
  }, {
2197
- th: N(({ th: e }) => [w("div", { innerHTML: e }, null, 8, Lt)]),
2198
- td: N(({ td: e }) => [ze(j(isNaN(Number(e)) ? e : M(r)({
2214
+ th: M(({ th: e }) => [w("div", { innerHTML: e }, null, 8, Rt)]),
2215
+ td: M(({ td: e }) => [ze(Xe(isNaN(Number(e)) ? e : j(r)({
2199
2216
  p: R.value.style.chart.lines.dataLabels.prefix,
2200
2217
  v: e,
2201
2218
  s: R.value.style.chart.lines.dataLabels.suffix,
@@ -2214,22 +2231,22 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2214
2231
  _: 2
2215
2232
  }, [R.value.table.useDialog ? {
2216
2233
  name: "title",
2217
- fn: N(() => [ze(j(Mi.value.title), 1)]),
2234
+ fn: M(() => [ze(Xe(Mi.value.title), 1)]),
2218
2235
  key: "0"
2219
2236
  } : void 0, R.value.table.useDialog ? {
2220
2237
  name: "actions",
2221
- fn: N(() => [w("button", {
2238
+ fn: M(() => [w("button", {
2222
2239
  tabindex: "0",
2223
2240
  class: "vue-ui-user-options-button",
2224
2241
  onClick: n[1] ||= (e) => wi(R.value.userOptions.callbacks.csv),
2225
2242
  style: Ge({ cursor: z.value ? "pointer" : "default" })
2226
- }, [Be(M(Vt), {
2243
+ }, [Be(j(Ht), {
2227
2244
  name: "fileCsv",
2228
2245
  stroke: Mi.value.props.color
2229
2246
  }, null, 8, ["stroke"])], 4)]),
2230
2247
  key: "1"
2231
2248
  } : void 0]), 1040)) : S("", !0),
2232
- R.value.style.chart.zoom.show && $t.value && Xr.value && K.value > 6 ? (D(), x(Ae, {
2249
+ R.value.style.chart.zoom.show && en.value && Xr.value && K.value > 6 ? (D(), x(Ae, {
2233
2250
  key: 8,
2234
2251
  ref_key: "chartSlicer",
2235
2252
  ref: on,
@@ -2285,20 +2302,20 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2285
2302
  "onUpdate:end": ei,
2286
2303
  "onUpdate:start": $r,
2287
2304
  onTrapMouse: gr,
2288
- onReset: Cr,
2289
- onFutureEnd: n[2] ||= (e) => yr("end", e),
2290
- onFutureStart: n[3] ||= (e) => yr("start", e)
2305
+ onReset: n[2] ||= () => Cr({ force: !0 }),
2306
+ onFutureEnd: n[3] ||= (e) => yr("end", e),
2307
+ onFutureStart: n[4] ||= (e) => yr("start", e)
2291
2308
  }, {
2292
- "reset-action": N(({ reset: e }) => [A(t.$slots, "reset-action", E(T({ reset: e })), void 0, !0)]),
2293
- slotMap: N(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: Hi({
2309
+ "reset-action": M(({ reset: e }) => [A(t.$slots, "reset-action", E(T({ reset: e })), void 0, !0)]),
2310
+ slotMap: M(({ width: e, height: t, unitW: n }) => [w("g", { innerHTML: Hi({
2294
2311
  minimapW: e,
2295
2312
  minimapH: t,
2296
2313
  unitW: n
2297
- }) }, null, 8, Rt)]),
2314
+ }) }, null, 8, zt)]),
2298
2315
  _: 3
2299
2316
  }, 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("."))) : S("", !0),
2300
- w("div", { id: `legend-bottom-${F.value}` }, null, 8, zt),
2301
- Be(M(Bt), {
2317
+ w("div", { id: `legend-bottom-${F.value}` }, null, 8, Bt),
2318
+ Be(j(Vt), {
2302
2319
  teleportTo: R.value.style.chart.tooltip.teleportTo,
2303
2320
  show: H.value.showTooltip && tn.value,
2304
2321
  backgroundColor: R.value.style.chart.tooltip.backgroundColor,
@@ -2311,7 +2328,7 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2311
2328
  position: R.value.style.chart.tooltip.position,
2312
2329
  offsetX: R.value.style.chart.tooltip.offsetX,
2313
2330
  offsetY: R.value.style.chart.tooltip.offsetY,
2314
- parent: en.value,
2331
+ parent: P.value,
2315
2332
  content: pi.value,
2316
2333
  isFullscreen: ln.value,
2317
2334
  isCustom: R.value.style.chart.tooltip.customFormat && typeof R.value.style.chart.tooltip.customFormat == "function",
@@ -2322,9 +2339,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2322
2339
  isA11yMode: An.value === "keyboard",
2323
2340
  a11yPosition: kn.value
2324
2341
  }, {
2325
- "tooltip-before": N(() => [A(t.$slots, "tooltip-before", E(T({ ...Jr.value })), void 0, !0)]),
2326
- tooltip: N(() => [A(t.$slots, "tooltip", E(T({ ...Jr.value })), void 0, !0)]),
2327
- "tooltip-after": N(() => [A(t.$slots, "tooltip-after", E(T({ ...Jr.value })), void 0, !0)]),
2342
+ "tooltip-before": M(() => [A(t.$slots, "tooltip-before", E(T({ ...Jr.value })), void 0, !0)]),
2343
+ tooltip: M(() => [A(t.$slots, "tooltip", E(T({ ...Jr.value })), void 0, !0)]),
2344
+ "tooltip-after": M(() => [A(t.$slots, "tooltip-after", E(T({ ...Jr.value })), void 0, !0)]),
2328
2345
  _: 3
2329
2346
  }, 8, [
2330
2347
  "teleportTo",
@@ -2356,9 +2373,9 @@ var et = /* @__PURE__ */ e({ default: () => Bt }), tt = ["id"], nt = ["id"], rt
2356
2373
  ref: cn,
2357
2374
  dir: "auto"
2358
2375
  }, [A(t.$slots, "source", {}, void 0, !0)], 512)) : S("", !0),
2359
- A(t.$slots, "skeleton", {}, () => [M(B) ? (D(), x(ve, { key: 0 })) : S("", !0)], !0)
2360
- ], 46, tt));
2376
+ A(t.$slots, "skeleton", {}, () => [j(B) ? (D(), x(ve, { key: 0 })) : S("", !0)], !0)
2377
+ ], 46, nt));
2361
2378
  }
2362
- }, [["__scopeId", "data-v-143ad551"]]);
2379
+ }, [["__scopeId", "data-v-a565866d"]]);
2363
2380
  //#endregion
2364
- export { et as n, Bt as t };
2381
+ export { tt as n, Vt as t };