vue-data-ui 3.21.9 → 3.21.10

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 (134) hide show
  1. package/dist/{PackageVersion-CIojmGa_.js → PackageVersion-B5nhq8qZ.js} +1 -1
  2. package/dist/{SlicerPreview-CZOlZJWD.js → SlicerPreview-BA_RDgVn.js} +574 -568
  3. package/dist/components/vue-ui-3d-bar.js +1 -1
  4. package/dist/components/vue-ui-age-pyramid.js +1 -1
  5. package/dist/components/vue-ui-bullet.js +1 -1
  6. package/dist/components/vue-ui-bump.js +1 -1
  7. package/dist/components/vue-ui-candlestick.js +1 -1
  8. package/dist/components/vue-ui-carousel-table.js +1 -1
  9. package/dist/components/vue-ui-chestnut.js +1 -1
  10. package/dist/components/vue-ui-chord.js +1 -1
  11. package/dist/components/vue-ui-circle-pack.js +1 -1
  12. package/dist/components/vue-ui-cursor.js +1 -1
  13. package/dist/components/vue-ui-dag.js +1 -1
  14. package/dist/components/vue-ui-dashboard.js +1 -1
  15. package/dist/components/vue-ui-digits.js +1 -1
  16. package/dist/components/vue-ui-donut-evolution.js +1 -1
  17. package/dist/components/vue-ui-donut.js +1 -1
  18. package/dist/components/vue-ui-dumbbell.js +1 -1
  19. package/dist/components/vue-ui-flow.js +1 -1
  20. package/dist/components/vue-ui-funnel.js +1 -1
  21. package/dist/components/vue-ui-galaxy.js +1 -1
  22. package/dist/components/vue-ui-gauge.js +1 -1
  23. package/dist/components/vue-ui-geo.js +1 -1
  24. package/dist/components/vue-ui-gizmo.js +1 -1
  25. package/dist/components/vue-ui-heatmap.js +1 -1
  26. package/dist/components/vue-ui-history-plot.js +1 -1
  27. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  28. package/dist/components/vue-ui-kpi.js +1 -1
  29. package/dist/components/vue-ui-molecule.js +1 -1
  30. package/dist/components/vue-ui-mood-radar.js +1 -1
  31. package/dist/components/vue-ui-nested-donuts.js +1 -1
  32. package/dist/components/vue-ui-onion.js +1 -1
  33. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  34. package/dist/components/vue-ui-quadrant.js +1 -1
  35. package/dist/components/vue-ui-quick-chart.js +1 -1
  36. package/dist/components/vue-ui-radar.js +1 -1
  37. package/dist/components/vue-ui-relation-circle.js +1 -1
  38. package/dist/components/vue-ui-ridgeline.js +1 -1
  39. package/dist/components/vue-ui-rings.js +1 -1
  40. package/dist/components/vue-ui-scatter.js +1 -1
  41. package/dist/components/vue-ui-skeleton.js +1 -1
  42. package/dist/components/vue-ui-spark-trend.js +1 -1
  43. package/dist/components/vue-ui-sparkbar.js +1 -1
  44. package/dist/components/vue-ui-sparkgauge.js +1 -1
  45. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  46. package/dist/components/vue-ui-sparkline.js +1 -1
  47. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  48. package/dist/components/vue-ui-stackbar.js +1 -1
  49. package/dist/components/vue-ui-stackline.js +1 -1
  50. package/dist/components/vue-ui-strip-plot.js +1 -1
  51. package/dist/components/vue-ui-table-sparkline.js +1 -1
  52. package/dist/components/vue-ui-table.js +1 -1
  53. package/dist/components/vue-ui-thermometer.js +1 -1
  54. package/dist/components/vue-ui-timer.js +1 -1
  55. package/dist/components/vue-ui-tiremarks.js +1 -1
  56. package/dist/components/vue-ui-treemap.js +1 -1
  57. package/dist/components/vue-ui-vertical-bar.js +1 -1
  58. package/dist/components/vue-ui-waffle.js +1 -1
  59. package/dist/components/vue-ui-wheel.js +1 -1
  60. package/dist/components/vue-ui-word-cloud.js +1 -1
  61. package/dist/components/vue-ui-world.js +1 -1
  62. package/dist/components/vue-ui-xy-canvas.js +1 -1
  63. package/dist/components/vue-ui-xy.js +1 -1
  64. package/dist/{package-WJqzsiKY.js → package-DVlow_N3.js} +1 -1
  65. package/dist/{render-common-aNNTJvOw.js → render-common-DeW6Cjh5.js} +1 -1
  66. package/dist/ssr/vue-ui-donut.js +1 -1
  67. package/dist/ssr/vue-ui-xy.js +1 -1
  68. package/dist/ssr.js +2 -2
  69. package/dist/style.css +1 -1
  70. package/dist/{vue-data-ui-BIr6l_HF.js → vue-data-ui-aTXHuue7.js} +61 -61
  71. package/dist/vue-data-ui.js +61 -61
  72. package/dist/{vue-ui-3d-bar-DMMkeh_A.js → vue-ui-3d-bar-BtOf_bBY.js} +1 -1
  73. package/dist/{vue-ui-age-pyramid-D4bDrkiR.js → vue-ui-age-pyramid-BykZGzIl.js} +1 -1
  74. package/dist/{vue-ui-bullet-BhguyBxj.js → vue-ui-bullet-DVwUBkxK.js} +1 -1
  75. package/dist/{vue-ui-bump-CwnBlNCg.js → vue-ui-bump-BF6JQnwo.js} +1 -1
  76. package/dist/{vue-ui-candlestick-BAWICBCq.js → vue-ui-candlestick-BgjLnRhs.js} +2 -2
  77. package/dist/{vue-ui-carousel-table-P7mYvHYL.js → vue-ui-carousel-table-DhsxkpMY.js} +1 -1
  78. package/dist/{vue-ui-chestnut-D28FaW45.js → vue-ui-chestnut-D-HgOk4p.js} +1 -1
  79. package/dist/{vue-ui-chord-DdvwhJ24.js → vue-ui-chord-Du1GLWyH.js} +1 -1
  80. package/dist/{vue-ui-circle-pack-B79wNkoj.js → vue-ui-circle-pack-CLufGHlE.js} +1 -1
  81. package/dist/{vue-ui-cursor-D3H_Qf7p.js → vue-ui-cursor-CWwzkSlM.js} +1 -1
  82. package/dist/{vue-ui-dag-hr4Ss8l6.js → vue-ui-dag-CVPnqgqo.js} +1 -1
  83. package/dist/{vue-ui-dashboard-CL4bzd2D.js → vue-ui-dashboard-br5nOObp.js} +58 -58
  84. package/dist/{vue-ui-digits-CEOk7574.js → vue-ui-digits-BnmAIDCU.js} +1 -1
  85. package/dist/{vue-ui-donut-EjSLbIAW.js → vue-ui-donut-CD6dYF1s.js} +1 -1
  86. package/dist/{vue-ui-donut-FBWZg1uw.js → vue-ui-donut-DbcXY5II.js} +1 -1
  87. package/dist/{vue-ui-donut-evolution-B7WE5Lgt.js → vue-ui-donut-evolution-BtV8cDv6.js} +1 -1
  88. package/dist/{vue-ui-dumbbell-L7_or9bl.js → vue-ui-dumbbell-rM9BzUtU.js} +1 -1
  89. package/dist/{vue-ui-flow-D9FORJGE.js → vue-ui-flow-CWZWCU77.js} +1 -1
  90. package/dist/{vue-ui-funnel-OGqICn6H.js → vue-ui-funnel-MjqZdBv8.js} +1 -1
  91. package/dist/{vue-ui-galaxy-NmVt74F4.js → vue-ui-galaxy-UmM7jDTM.js} +1 -1
  92. package/dist/{vue-ui-gauge-CPMWMceV.js → vue-ui-gauge-Cfr79Cbf.js} +1 -1
  93. package/dist/{vue-ui-geo-PJ1_i_Lk.js → vue-ui-geo-BylKAdA5.js} +1 -1
  94. package/dist/{vue-ui-gizmo-fQsrdhuo.js → vue-ui-gizmo-1OxCNhwu.js} +1 -1
  95. package/dist/{vue-ui-heatmap-DgJ_kKdY.js → vue-ui-heatmap-BIeKHW1h.js} +1 -1
  96. package/dist/{vue-ui-history-plot-roDxoIHG.js → vue-ui-history-plot-CxkHExN-.js} +1 -1
  97. package/dist/{vue-ui-horizontal-bar-DIxjAek3.js → vue-ui-horizontal-bar-9zgfh71b.js} +1 -1
  98. package/dist/{vue-ui-kpi-CkwWKcZz.js → vue-ui-kpi-Cm8jjtzx.js} +1 -1
  99. package/dist/{vue-ui-molecule-ntN8sWCx.js → vue-ui-molecule-Bgv3WLvn.js} +1 -1
  100. package/dist/{vue-ui-mood-radar-BYLCsNZ9.js → vue-ui-mood-radar-QXU8ST95.js} +1 -1
  101. package/dist/{vue-ui-nested-donuts-BlC-4Lhn.js → vue-ui-nested-donuts-D2pU46kh.js} +1 -1
  102. package/dist/{vue-ui-onion-Bt7tFuTt.js → vue-ui-onion-BHWPFv-0.js} +1 -1
  103. package/dist/{vue-ui-parallel-coordinate-plot-Bai5P5wb.js → vue-ui-parallel-coordinate-plot-s7yZAT3W.js} +1 -1
  104. package/dist/{vue-ui-quadrant-BRtjiH_e.js → vue-ui-quadrant-CKRRuGCF.js} +1 -1
  105. package/dist/{vue-ui-quick-chart-7BFN6O03.js → vue-ui-quick-chart-D8fm9T3A.js} +1 -1
  106. package/dist/{vue-ui-radar-DrDtkofg.js → vue-ui-radar-BPz21YAk.js} +1 -1
  107. package/dist/{vue-ui-relation-circle-ByY-D-QH.js → vue-ui-relation-circle-C6Mio1JL.js} +1 -1
  108. package/dist/{vue-ui-ridgeline-D3BQhP64.js → vue-ui-ridgeline-AJ5uGbWy.js} +1 -1
  109. package/dist/{vue-ui-rings-BCW-WqvZ.js → vue-ui-rings-DU_0odfi.js} +1 -1
  110. package/dist/{vue-ui-scatter-ZLVgItib.js → vue-ui-scatter-BF9H3xLI.js} +1 -1
  111. package/dist/{vue-ui-skeleton-CVxGJH6s.js → vue-ui-skeleton-BMYHExcG.js} +1 -1
  112. package/dist/{vue-ui-spark-trend-BaOA26BE.js → vue-ui-spark-trend-BwWCrl2j.js} +1 -1
  113. package/dist/{vue-ui-sparkbar-Ck4lq2tm.js → vue-ui-sparkbar-BBzET58q.js} +1 -1
  114. package/dist/{vue-ui-sparkgauge-C6Yodnmt.js → vue-ui-sparkgauge-CKdbsQU-.js} +1 -1
  115. package/dist/{vue-ui-sparkhistogram-CE_FHxu1.js → vue-ui-sparkhistogram-CkIUUsvX.js} +1 -1
  116. package/dist/{vue-ui-sparkline-9XAxUj-V.js → vue-ui-sparkline-D6-Xl3qa.js} +1 -1
  117. package/dist/{vue-ui-sparkstackbar-DbsxNM9w.js → vue-ui-sparkstackbar-DipFsCWm.js} +1 -1
  118. package/dist/{vue-ui-stackbar-Cl64BZCO.js → vue-ui-stackbar-CRA3NMRP.js} +2 -2
  119. package/dist/{vue-ui-stackline-B5T2IB_Q.js → vue-ui-stackline-C9rAMrSg.js} +2 -2
  120. package/dist/{vue-ui-strip-plot-BZwdGtN_.js → vue-ui-strip-plot-DbU-sxvD.js} +1 -1
  121. package/dist/{vue-ui-table-Bli1rIbH.js → vue-ui-table-CN9X7iMX.js} +2 -2
  122. package/dist/{vue-ui-table-sparkline-C6YBMUhZ.js → vue-ui-table-sparkline-nGC8nrgh.js} +1 -1
  123. package/dist/{vue-ui-thermometer-BvWe_SbX.js → vue-ui-thermometer-l4jYbztY.js} +1 -1
  124. package/dist/{vue-ui-timer-D1jJae5y.js → vue-ui-timer-D22cu-e4.js} +1 -1
  125. package/dist/{vue-ui-tiremarks-BbWlc8S5.js → vue-ui-tiremarks-BwVpjA0x.js} +1 -1
  126. package/dist/{vue-ui-treemap-kBDsFDs5.js → vue-ui-treemap-Bt6RETYZ.js} +1 -1
  127. package/dist/{vue-ui-waffle-YdmWD2ct.js → vue-ui-waffle-DLK0MFGY.js} +1 -1
  128. package/dist/{vue-ui-wheel-oCVOwRxg.js → vue-ui-wheel-BcpPx5zx.js} +1 -1
  129. package/dist/{vue-ui-word-cloud-BlBLdDwP.js → vue-ui-word-cloud-Bgtzkl4m.js} +1 -1
  130. package/dist/{vue-ui-world-Dp0u6R4u.js → vue-ui-world-Cpfb4MQx.js} +1 -1
  131. package/dist/{vue-ui-xy-MZkL62pQ.js → vue-ui-xy-BPGRTHTA.js} +2 -2
  132. package/dist/{vue-ui-xy-Co7U6Be6.js → vue-ui-xy-BRLKyCkI.js} +1 -1
  133. package/dist/{vue-ui-xy-canvas-CJG8yIx5.js → vue-ui-xy-canvas-CYQF5hVa.js} +1 -1
  134. package/package.json +1 -1
@@ -1,69 +1,69 @@
1
1
  import { F as e, H as t, I as n, L as r, Ut as i, _t as a, ht as o, j as ee, k as te, r as ne, t as re } from "./lib-AJRHFE5U.js";
2
2
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { c as ie, r as c } from "./canvas-lib-BOP_HS11.js";
4
- import { t as ae } from "./useResponsive-BfnK0KxU.js";
5
- import { t as oe } from "./BaseIcon-CWXbczu_.js";
6
- import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as se, mergeProps as ce, nextTick as le, normalizeClass as m, normalizeProps as ue, normalizeStyle as h, onBeforeUnmount as de, onMounted as fe, onUpdated as pe, openBlock as g, ref as _, renderList as v, renderSlot as me, toDisplayString as he, unref as ge, useCssVars as _e, vModelText as ve, watch as y, withDirectives as ye, withKeys as be, withModifiers as xe } from "vue";
3
+ import { c, r as l } from "./canvas-lib-BOP_HS11.js";
4
+ import { t as ie } from "./useResponsive-BfnK0KxU.js";
5
+ import { t as ae } from "./BaseIcon-CWXbczu_.js";
6
+ import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as oe, mergeProps as se, nextTick as ce, normalizeClass as h, normalizeProps as le, normalizeStyle as g, onBeforeUnmount as ue, onMounted as de, onUpdated as fe, openBlock as _, ref as v, renderList as y, renderSlot as pe, toDisplayString as me, unref as he, useCssVars as ge, vModelText as _e, watch as b, withDirectives as ve, withKeys as ye, withModifiers as be } from "vue";
7
7
  //#region src/atoms/SlicerPreview.vue
8
- var Se = ["data-minimap"], Ce = {
8
+ var xe = ["data-minimap"], Se = {
9
9
  class: "vue-data-ui-slicer-labels",
10
10
  style: {
11
11
  position: "relative",
12
12
  "z-index": "1",
13
13
  "pointer-events": "none"
14
14
  }
15
- }, we = {
15
+ }, Ce = {
16
16
  key: 0,
17
17
  style: {
18
18
  width: "100%",
19
19
  position: "relative",
20
20
  "pointer-events": "all"
21
21
  }
22
- }, Te = {
22
+ }, we = {
23
23
  key: 0,
24
24
  class: "minimap",
25
25
  style: { width: "100%" }
26
- }, Ee = ["xmlns", "viewBox"], De = ["id"], Oe = ["stop-color"], ke = ["id"], Ae = [
26
+ }, Te = ["xmlns", "viewBox"], Ee = ["id"], De = ["stop-color"], Oe = ["id"], ke = [
27
27
  "x",
28
28
  "width",
29
29
  "height"
30
- ], je = [
30
+ ], Ae = [
31
31
  "width",
32
32
  "height",
33
33
  "stroke"
34
- ], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
34
+ ], je = ["d", "stroke"], Me = ["d", "fill"], Ne = [
35
35
  "x",
36
36
  "y",
37
37
  "width",
38
38
  "height",
39
39
  "fill"
40
- ], Fe = [
40
+ ], Pe = [
41
41
  "d",
42
42
  "stroke",
43
43
  "stroke-dasharray"
44
- ], Ie = [
44
+ ], Fe = [
45
45
  "cx",
46
46
  "cy",
47
47
  "fill",
48
48
  "stroke"
49
- ], Le = [
49
+ ], Ie = [
50
50
  "cx",
51
51
  "cy",
52
52
  "fill",
53
53
  "stroke"
54
- ], Re = [
54
+ ], Le = [
55
55
  "x",
56
56
  "width",
57
57
  "height",
58
58
  "fill",
59
59
  "rx"
60
- ], ze = [
60
+ ], Re = [
61
61
  "x",
62
62
  "width",
63
63
  "height",
64
64
  "rx",
65
65
  "fill"
66
- ], Be = [
66
+ ], ze = [
67
67
  "x",
68
68
  "width",
69
69
  "height",
@@ -73,128 +73,128 @@ var Se = ["data-minimap"], Ce = {
73
73
  "aria-valuemax",
74
74
  "aria-valuenow",
75
75
  "aria-valuetext"
76
- ], Ve = [
76
+ ], Be = [
77
77
  "x2",
78
78
  "y1",
79
79
  "y2",
80
80
  "stroke"
81
- ], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
81
+ ], Ve = { key: "merged-tree" }, He = ["d", "stroke"], Ue = [
82
82
  "cx",
83
83
  "cy",
84
84
  "stroke",
85
85
  "fill"
86
- ], Ge = [
86
+ ], We = [
87
87
  "cx",
88
88
  "cy",
89
89
  "stroke",
90
90
  "fill"
91
- ], Ke = { key: "split-tree" }, qe = [
91
+ ], Ge = { key: "split-tree" }, Ke = [
92
92
  "x",
93
93
  "y",
94
94
  "width",
95
95
  "height",
96
96
  "fill"
97
- ], Je = [
97
+ ], qe = [
98
98
  "d",
99
99
  "stroke",
100
100
  "stroke-dasharray"
101
- ], Ye = [
101
+ ], Je = [
102
102
  "cx",
103
103
  "cy",
104
104
  "fill",
105
105
  "stroke"
106
- ], Xe = ["width", "height"], Ze = [
106
+ ], Ye = ["width", "height"], Xe = [
107
107
  "x",
108
108
  "width",
109
109
  "height",
110
110
  "fill",
111
111
  "stroke",
112
112
  "stroke-width"
113
- ], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = [
113
+ ], Ze = ["transform"], Qe = ["width", "height"], $e = ["fill", "stroke"], et = ["stroke"], tt = ["fill"], nt = [
114
114
  "x",
115
115
  "width",
116
116
  "height",
117
117
  "fill",
118
118
  "stroke",
119
119
  "stroke-width"
120
- ], it = ["transform"], at = ["width", "height"], ot = ["fill", "stroke"], st = ["stroke"], ct = ["fill"], lt = {
120
+ ], rt = ["transform"], it = ["width", "height"], at = ["fill", "stroke"], ot = ["stroke"], st = ["fill"], ct = {
121
121
  key: "merged-tree",
122
122
  style: { "pointer-events": "none" }
123
- }, ut = [
123
+ }, lt = [
124
124
  "cx",
125
125
  "cy",
126
126
  "stroke",
127
127
  "fill"
128
- ], dt = [
128
+ ], ut = [
129
129
  "cx",
130
130
  "cy",
131
131
  "fill"
132
- ], ft = [
132
+ ], dt = [
133
133
  "cx",
134
134
  "cy",
135
135
  "stroke",
136
136
  "fill"
137
- ], pt = [
137
+ ], ft = [
138
138
  "cx",
139
139
  "cy",
140
140
  "fill"
141
- ], mt = {
141
+ ], pt = {
142
142
  key: 1,
143
143
  style: { "pointer-events": "none" }
144
- }, ht = [
144
+ }, mt = [
145
145
  "d",
146
146
  "stroke",
147
147
  "stroke-dasharray"
148
- ], gt = [
148
+ ], ht = [
149
149
  "cx",
150
150
  "cy",
151
151
  "fill",
152
152
  "stroke"
153
- ], _t = [
153
+ ], gt = [
154
154
  "cx",
155
155
  "cy",
156
156
  "stroke",
157
157
  "fill"
158
- ], vt = [
158
+ ], _t = [
159
159
  "cx",
160
160
  "cy",
161
161
  "fill"
162
- ], yt = [
162
+ ], vt = [
163
163
  "cx",
164
164
  "cy",
165
165
  "stroke",
166
166
  "fill"
167
- ], bt = [
167
+ ], yt = [
168
168
  "cx",
169
169
  "cy",
170
170
  "fill"
171
- ], xt = [
171
+ ], bt = [
172
172
  "cx",
173
173
  "cy",
174
174
  "fill",
175
175
  "stroke"
176
- ], St = [
176
+ ], xt = [
177
177
  "step",
178
178
  "min",
179
179
  "max",
180
180
  "tabindex"
181
- ], Ct = [
181
+ ], St = [
182
182
  "step",
183
183
  "min",
184
184
  "max",
185
185
  "tabindex"
186
- ], wt = {
186
+ ], Ct = {
187
187
  key: 3,
188
188
  class: "minimap-handle-overlay"
189
- }, Tt = ["xmlns", "viewBox"], Et = [
189
+ }, wt = ["xmlns", "viewBox"], Tt = [
190
190
  "x",
191
191
  "width",
192
192
  "height"
193
- ], Dt = [
193
+ ], Et = [
194
194
  "x",
195
195
  "width",
196
196
  "height"
197
- ], Ot = 48, kt = /*#__PURE__*/ s({
197
+ ], Dt = 48, Ot = /*#__PURE__*/ s({
198
198
  __name: "SlicerPreview",
199
199
  props: {
200
200
  uuid: {
@@ -422,144 +422,144 @@ var Se = ["data-minimap"], Ce = {
422
422
  "trapMouse",
423
423
  "trapMouseValue"
424
424
  ],
425
- setup(s, { expose: kt, emit: At }) {
426
- _e((e) => ({
427
- v227eb602: nn.value,
428
- f293a51a: P.value,
429
- v73df98a4: an.value,
430
- v66eb6ea3: s.selectColor,
431
- v07b1cfb1: rn.value,
432
- v685fb7a3: b.additionalMinimapHeight
425
+ setup(s, { expose: Ot, emit: kt }) {
426
+ ge((e) => ({
427
+ v366f9d1f: rn.value,
428
+ v6335b4da: P.value,
429
+ v673bf8c4: on.value,
430
+ a2cb327a: s.selectColor,
431
+ v70e7b7d1: an.value,
432
+ v248ce7c3: x.additionalMinimapHeight
433
433
  }));
434
- let b = s;
435
- function jt(e) {
434
+ let x = s;
435
+ function At(e) {
436
436
  let t = Number(e) || 0;
437
- return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
438
- }
439
- let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Mt = _(t()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Nt = _(!1), Pt = _(0), Ft = _(0), It = _(null), Lt = u(() => D.value !== null), Rt = u(() => b.useValueRange ? C.value : C.value - 1), zt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
440
- function Bt(e) {
441
- return (Number(e) - Number(b.min)) / zt.value * 100;
437
+ return x.precision <= 0 ? Math.round(t) : Number(t.toFixed(x.precision));
442
438
  }
439
+ let S = v(null), C = v(x.min), w = v(x.max), T = d(() => !!x.allMinimaps.length), jt = v(t()), E = v(!1), Mt = d(() => T.value && x.minimapCompact), D = v(null), Nt = v(!1), Pt = v(0), Ft = v(0), It = v(null), Lt = v(!1), Rt = d(() => D.value !== null), zt = d(() => x.useValueRange ? w.value : w.value - 1), Bt = d(() => Math.max(1, Number(x.max) - Number(x.min)));
443
440
  function Vt(e) {
444
- return I.value.width * (Bt(e) / 100);
441
+ return (Number(e) - Number(x.min)) / Bt.value * 100;
445
442
  }
446
443
  function Ht(e) {
447
- let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
448
- return jt(Number(b.min) + zt.value * t);
444
+ return I.value.width * (Vt(e) / 100);
449
445
  }
450
446
  function Ut(e) {
451
- let t = b.useValueRange ? e?.y : e;
452
- return a(t) ? Number(t) : null;
447
+ let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
448
+ return At(Number(x.min) + Bt.value * t);
453
449
  }
454
- function Wt(e, t) {
455
- return b.useValueRange ? Number(e?.x) : t + Number(b.min);
450
+ function Wt(e) {
451
+ let t = x.useValueRange ? e?.y : e;
452
+ return a(t) ? Number(t) : null;
456
453
  }
457
454
  function Gt(e, t) {
458
- return b.useValueRange ? Vt(Wt(e, t)) : V.value * t + (b.minimapCompact ? 0 : V.value / 2);
455
+ return x.useValueRange ? Number(e?.x) : t + Number(x.min);
459
456
  }
460
- let Kt = u(() => Math.min(40, Math.max(20, b.handleWidth))), qt = _(0), Jt = ie((e) => M("futureStart", e), 0), Yt = ie((e) => M("futureEnd", e), 0), O = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = u({
461
- get: () => S.value,
457
+ function Kt(e, t) {
458
+ return x.useValueRange ? Ht(Gt(e, t)) : V.value * t + (x.minimapCompact ? 0 : V.value / 2);
459
+ }
460
+ let qt = d(() => Math.min(40, Math.max(20, x.handleWidth))), Jt = v(0), Yt = c((e) => M("futureStart", e), 0), Xt = c((e) => M("futureEnd", e), 0), O = d(() => x.precision > 0 ? 1 / 10 ** x.precision : 1), k = d({
461
+ get: () => C.value,
462
462
  set(e) {
463
- let t = Math.min(Number(e), Number(C.value) - O.value);
464
- t !== S.value && (S.value = t, zn.value && (zn.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Jt(t));
463
+ let t = Math.min(Number(e), Number(w.value) - O.value);
464
+ t !== C.value && (C.value = t, Bn.value && (Bn.value.value = String(t)), x.immediate ? M("update:start", Number(t)) : E.value && Yt(t));
465
465
  }
466
- }), A = u({
467
- get: () => C.value,
466
+ }), A = d({
467
+ get: () => w.value,
468
468
  set(e) {
469
- let t = Math.max(Number(e), Number(S.value) + O.value);
470
- t !== C.value && (C.value = t, Bn.value && (Bn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Yt(t));
469
+ let t = Math.max(Number(e), Number(C.value) + O.value);
470
+ t !== w.value && (w.value = t, Vn.value && (Vn.value.value = String(t)), x.immediate ? M("update:end", Number(t)) : E.value && Xt(t));
471
471
  }
472
472
  });
473
473
  function j() {
474
- clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
474
+ clearTimeout(null), x.immediate || (M("update:start", Number(C.value)), M("update:end", Number(w.value))), E.value = !1;
475
475
  }
476
- let Xt = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = At, Zt = u(() => {
477
- if (b.useValueRange) return Bt(S.value);
478
- if (E.value) {
476
+ let Zt = d(() => x.refreshEndPoint === null ? x.max : x.refreshEndPoint), M = kt, Qt = d(() => {
477
+ if (x.useValueRange) return Vt(C.value);
478
+ if (Mt.value) {
479
479
  let e = Math.max(1, R.value - 1);
480
- return An.value / e * 100;
480
+ return jn.value / e * 100;
481
481
  }
482
- let e = Math.max(1, b.max - b.min);
483
- return (S.value - b.min) / e * 100;
484
- }), Qt = u(() => {
485
- if (b.useValueRange) return Bt(C.value);
486
- if (E.value) {
482
+ let e = Math.max(1, x.max - x.min);
483
+ return (C.value - x.min) / e * 100;
484
+ }), $t = d(() => {
485
+ if (x.useValueRange) return Vt(w.value);
486
+ if (Mt.value) {
487
487
  let e = Math.max(1, R.value - 1);
488
- return jn.value / e * 100;
488
+ return Mn.value / e * 100;
489
489
  }
490
- let e = Math.max(1, b.max - b.min);
491
- return (C.value - b.min) / e * 100;
492
- }), $t = u(() => (Zt.value + Qt.value) / 2), en = u(() => {
493
- if (!x.value) return !1;
494
- let e = Math.max(1, b.max - b.min);
495
- return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - hr.value / 2 < 0;
496
- }), tn = u(() => {
497
- if (!x.value) return !1;
498
- let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
499
- return t * ((C.value - b.min) / e) + gr.value / 2 > t;
500
- }), N = u(() => {
501
- let e = tn.value ? `calc(${$t.value}% - ${Sr.value.width}px)` : en.value ? `calc(${$t.value}% - 8px)` : `calc(${$t.value}% - ${Sr.value.width / 2}px)`;
490
+ let e = Math.max(1, x.max - x.min);
491
+ return (w.value - x.min) / e * 100;
492
+ }), en = d(() => (Qt.value + $t.value) / 2), tn = d(() => {
493
+ if (!S.value) return !1;
494
+ let e = Math.max(1, x.max - x.min);
495
+ return S.value.getBoundingClientRect().width * ((C.value - x.min) / e) - gr.value / 2 < 0;
496
+ }), nn = d(() => {
497
+ if (!S.value) return !1;
498
+ let e = Math.max(1, x.max - x.min), t = S.value.getBoundingClientRect().width;
499
+ return t * ((w.value - x.min) / e) + _r.value / 2 > t;
500
+ }), N = d(() => {
501
+ let e = nn.value ? `calc(${en.value}% - ${Cr.value.width}px)` : tn.value ? `calc(${en.value}% - 8px)` : `calc(${en.value}% - ${Cr.value.width / 2}px)`;
502
502
  return {
503
- left: `${Zt.value}%`,
504
- width: `${Math.max(0, Qt.value - Zt.value)}%`,
505
- background: b.selectColor,
506
- tooltipLeft: `calc(${Zt.value}% - ${en.value ? 9 : hr.value / 2}px)`,
507
- tooltipRight: `calc(${Qt.value}% - ${tn.value ? gr.value - 9 : gr.value / 2}px)`,
503
+ left: `${Qt.value}%`,
504
+ width: `${Math.max(0, $t.value - Qt.value)}%`,
505
+ background: x.selectColor,
506
+ tooltipLeft: `calc(${Qt.value}% - ${tn.value ? 9 : gr.value / 2}px)`,
507
+ tooltipRight: `calc(${$t.value}% - ${nn.value ? _r.value - 9 : _r.value / 2}px)`,
508
508
  tooltipCenter: e,
509
- arrowLeft: !en.value,
510
- arrowRight: !tn.value
509
+ arrowLeft: !tn.value,
510
+ arrowRight: !nn.value
511
511
  };
512
- }), nn = u(() => b.inputColor), rn = u(() => b.background), an = u(() => `${b.selectColor}33`), P = u(() => b.borderColor), on = u(() => Number(b.max) > Number(b.min));
513
- function sn() {
512
+ }), rn = d(() => x.inputColor), an = d(() => x.background), on = d(() => `${x.selectColor}33`), P = d(() => x.borderColor), sn = d(() => Number(x.max) > Number(x.min));
513
+ function cn() {
514
514
  M("reset");
515
515
  }
516
- y(() => b.min, (e) => {
517
- Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
518
- }), y(() => b.max, (e) => {
519
- Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
516
+ b(() => x.min, (e) => {
517
+ Number(C.value) < Number(e) && (C.value = Number(e)), Number(w.value) < Number(e) && (w.value = Number(e));
518
+ }), b(() => x.max, (e) => {
519
+ Number(C.value) > Number(e) && (C.value = Number(e)), Number(w.value) > Number(e) && (w.value = Number(e));
520
520
  });
521
- let F = _(null), I = _({
521
+ let F = v(null), I = v({
522
522
  width: 1,
523
523
  height: 1
524
- }), L = _(null);
525
- fe(() => {
526
- if (w.value) {
527
- let e = ie(() => {
524
+ }), L = v(null);
525
+ de(() => {
526
+ if (T.value) {
527
+ let e = c(() => {
528
528
  if (!F.value) return;
529
- let { width: e, height: t } = ae({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
530
- (n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + b.additionalMinimapHeight);
529
+ let { width: e, height: t } = ie({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
530
+ (n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + x.additionalMinimapHeight);
531
531
  }, 0);
532
532
  L.value = new ResizeObserver(e), L.value.observe(F.value);
533
533
  }
534
- }), de(() => {
534
+ }), ue(() => {
535
535
  L.value && L.value.disconnect();
536
536
  });
537
- let R = u(() => Math.max(1, b.max - b.min));
538
- function cn(e) {
539
- let t = Math.floor(e - b.min);
537
+ let R = d(() => Math.max(1, x.max - x.min));
538
+ function ln(e) {
539
+ let t = Math.floor(e - x.min);
540
540
  return Math.min(Math.max(0, t), R.value);
541
541
  }
542
- function ln(e) {
543
- let t = Math.ceil(e - b.min);
542
+ function un(e) {
543
+ let t = Math.ceil(e - x.min);
544
544
  return Math.min(Math.max(0, t), R.value);
545
545
  }
546
- let z = u(() => cn(S.value)), B = u(() => ln(C.value)), un = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), dn = u(() => w.value && b.minimapCompact ? 40 : 0), fn = u(() => dn.value / 2);
547
- u(() => Math.max(1, I.value.width - fn.value * 2));
548
- let V = u(() => {
549
- if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
550
- let e = Math.max(1, un.value - +!!b.minimapCompact);
546
+ let z = d(() => ln(C.value)), B = d(() => un(w.value)), dn = d(() => Math.max(...x.allMinimaps.map((e) => e.series.length))), fn = d(() => T.value && x.minimapCompact ? 40 : 0), pn = d(() => fn.value / 2);
547
+ d(() => Math.max(1, I.value.width - pn.value * 2));
548
+ let V = d(() => {
549
+ if (x.minimapCompact && !x.useValueRange) return I.value.width / Math.max(1, R.value - 1);
550
+ let e = Math.max(1, dn.value - +!!x.minimapCompact);
551
551
  return I.value.width / e;
552
- }), pn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), mn = u(() => V.value / (pn.value || 1) * .8);
553
- function hn(e, t, n) {
554
- let r = mn.value, i = Math.max(1, pn.value), a = un.value - 1;
552
+ }), mn = d(() => x.allMinimaps.length ? x.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), hn = d(() => V.value / (mn.value || 1) * .8);
553
+ function gn(e, t, n) {
554
+ let r = hn.value, i = Math.max(1, mn.value), a = dn.value - 1;
555
555
  return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
556
556
  }
557
- function gn(e, t) {
558
- return [0, un.value - 1].includes(t) ? mn.value / 2 : mn.value;
557
+ function _n(e, t) {
558
+ return [0, dn.value - 1].includes(t) ? hn.value / 2 : hn.value;
559
559
  }
560
- let _n = u(() => {
560
+ let vn = d(() => {
561
561
  let e = [];
562
- if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Ut).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Ut).filter(Number.isFinite));
562
+ if (Array.isArray(x.minimap) && x.minimap.length && x.minimapMerged && e.push(...x.minimap.map(Wt).filter(Number.isFinite)), Array.isArray(x.allMinimaps) && x.allMinimaps.length) for (let t of x.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Wt).filter(Number.isFinite));
563
563
  return e.length ? {
564
564
  min: Math.min(...e),
565
565
  max: Math.max(...e)
@@ -567,25 +567,25 @@ var Se = ["data-minimap"], Ce = {
567
567
  min: 0,
568
568
  max: 1
569
569
  };
570
- }), vn = u(() => {
571
- if (b.minScale == null && b.forceZeroCenter) return null;
572
- let e = Number(b.minScale);
570
+ }), yn = d(() => {
571
+ if (x.minScale == null && x.forceZeroCenter) return null;
572
+ let e = Number(x.minScale);
573
573
  return Number.isFinite(e) ? e : null;
574
- }), yn = u(() => {
575
- if (b.maxScale == null && b.forceZeroCenter) return null;
576
- let e = Number(b.maxScale);
574
+ }), bn = d(() => {
575
+ if (x.maxScale == null && x.forceZeroCenter) return null;
576
+ let e = Number(x.maxScale);
577
577
  return Number.isFinite(e) ? e : null;
578
- }), bn = u(() => vn.value !== null && yn.value !== null), xn = u(() => {
579
- let { min: e, max: t } = _n.value, n = vn.value, r = yn.value, i, a;
578
+ }), xn = d(() => yn.value !== null && bn.value !== null), Sn = d(() => {
579
+ let { min: e, max: t } = vn.value, n = yn.value, r = bn.value, i, a;
580
580
  return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
581
581
  min: i,
582
582
  max: a
583
583
  };
584
- }), Sn = u(() => xn.value.min), Cn = u(() => xn.value.max), wn = u(() => Sn.value < 0 && Cn.value > 0 || Cn.value <= 0 ? Sn.value : 0), Tn = (e) => {
584
+ }), Cn = d(() => Sn.value.min), wn = d(() => Sn.value.max), Tn = d(() => Cn.value < 0 && wn.value > 0 || wn.value <= 0 ? Cn.value : 0), En = (e) => {
585
585
  let t = Math.max(1, I.value.height);
586
- return Dn(Sn.value, Cn.value, t, bn.value)(e);
587
- }, En = u(() => Tn(0));
588
- function Dn(e, t, n, r = !1) {
586
+ return On(Cn.value, wn.value, t, xn.value)(e);
587
+ }, Dn = d(() => En(0));
588
+ function On(e, t, n, r = !1) {
589
589
  let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
590
590
  if (r) return (t) => n - (t - e) / o * n;
591
591
  if (t <= 0) {
@@ -599,7 +599,7 @@ var Se = ["data-minimap"], Ce = {
599
599
  return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
600
600
  }
601
601
  }
602
- function On(t, i = !1, a = !1) {
602
+ function kn(t, i = !1, a = !1) {
603
603
  if (!t || !t.length) return {
604
604
  fullSet: "",
605
605
  points: [],
@@ -613,8 +613,8 @@ var Se = ["data-minimap"], Ce = {
613
613
  selectionMarkers: [],
614
614
  dashed: !1
615
615
  };
616
- let o = Math.max(1, I.value.height), ne = Dn(Sn.value, Cn.value, o, bn.value), re = t.length, s = Math.min(Math.max(0, z.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, B.value)), c = t.map((e, t) => {
617
- let n = Ut(e), r = Number.isFinite(n), i = Gt(e, t), a = ne(bn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Sn.value, Cn.value) : 0);
616
+ let o = Math.max(1, I.value.height), ne = On(Cn.value, wn.value, o, xn.value), re = t.length, s = Math.min(Math.max(0, z.value), Math.max(0, re - 1)), c = Math.min(re, Math.max(s + 1, B.value)), l = t.map((e, t) => {
617
+ let n = Wt(e), r = Number.isFinite(n), i = Kt(e, t), a = ne(xn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Cn.value, wn.value) : 0);
618
618
  return {
619
619
  x: i,
620
620
  y: r ? ne(n) : NaN,
@@ -622,24 +622,24 @@ var Se = ["data-minimap"], Ce = {
622
622
  value: r ? n : null,
623
623
  y0: a,
624
624
  i: t,
625
- xValue: Wt(e, t)
625
+ xValue: Gt(e, t)
626
626
  };
627
- }), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), l = b.useValueRange ? oe.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : oe.filter((e) => e.i >= s && e.i < ie), u = b.useValueRange ? c.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : c.slice(s, ie);
627
+ }), ie = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), ae = l.filter((e) => Number.isFinite(e.value) && !ie(e.i - 1) && !ie(e.i + 1)), u = x.useValueRange ? ae.filter((e) => e.xValue >= Number(C.value) && e.xValue <= Number(w.value)) : ae.filter((e) => e.i >= s && e.i < c), d = x.useValueRange ? l.filter((e) => e.xValue >= Number(C.value) && e.xValue <= Number(w.value)) : l.slice(s, c);
628
628
  return {
629
- fullSet: c.length >= 2 ? a ? e(b.cutNullValues ? c : c.filter((e) => e.value != null)) : b.smoothMinimap || i ? b.cutNullValues ? ee(c) : te(c.filter((e) => e.value != null)) : b.cutNullValues ? r(c) : n(c.filter((e) => e.value != null)) : "",
630
- points: c,
631
- selectionSet: u.length >= 2 ? a ? e(b.cutNullValues ? u : u.filter((e) => e.value != null)) : b.smoothMinimap || i ? b.cutNullValues ? ee(u) : te(u.filter((e) => e.value != null)) : b.cutNullValues ? r(u) : n(u.filter((e) => e.value != null)) : "",
632
- sliced: u,
633
- firstPlot: b.useValueRange ? u[0] || null : c[s] || null,
634
- lastPlot: b.useValueRange ? u[u.length - 1] || null : c[Math.max(0, ie - 1)] || null,
635
- hasFull: c.length >= 2,
636
- hasSelection: u.length >= 2,
637
- fullMarkers: oe,
638
- selectionMarkers: l
629
+ fullSet: l.length >= 2 ? a ? e(x.cutNullValues ? l : l.filter((e) => e.value != null)) : x.smoothMinimap || i ? x.cutNullValues ? ee(l) : te(l.filter((e) => e.value != null)) : x.cutNullValues ? r(l) : n(l.filter((e) => e.value != null)) : "",
630
+ points: l,
631
+ selectionSet: d.length >= 2 ? a ? e(x.cutNullValues ? d : d.filter((e) => e.value != null)) : x.smoothMinimap || i ? x.cutNullValues ? ee(d) : te(d.filter((e) => e.value != null)) : x.cutNullValues ? r(d) : n(d.filter((e) => e.value != null)) : "",
632
+ sliced: d,
633
+ firstPlot: x.useValueRange ? d[0] || null : l[s] || null,
634
+ lastPlot: x.useValueRange ? d[d.length - 1] || null : l[Math.max(0, c - 1)] || null,
635
+ hasFull: l.length >= 2,
636
+ hasSelection: d.length >= 2,
637
+ fullMarkers: ae,
638
+ selectionMarkers: u
639
639
  };
640
640
  }
641
- let H = u(() => b.minimap.length ? On(b.minimap) : []), U = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
642
- let n = On(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
641
+ let H = d(() => x.minimap.length ? kn(x.minimap) : []), U = d(() => x.allMinimaps.length ? x.allMinimaps.map((e, t) => {
642
+ let n = kn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
643
643
  return {
644
644
  key: typeof r == "object" ? JSON.stringify(r) : String(r),
645
645
  color: e?.color,
@@ -650,9 +650,9 @@ var Se = ["data-minimap"], Ce = {
650
650
  dashed: e.dashed ?? !1,
651
651
  useStepper: !!e.useStepper
652
652
  };
653
- }) : []), W = u(() => {
654
- if (b.useValueRange) {
655
- let e = Vt(S.value), t = Vt(C.value);
653
+ }) : []), W = d(() => {
654
+ if (x.useValueRange) {
655
+ let e = Ht(C.value), t = Ht(w.value);
656
656
  return {
657
657
  x: e,
658
658
  width: Math.max(0, t - e)
@@ -660,69 +660,69 @@ var Se = ["data-minimap"], Ce = {
660
660
  }
661
661
  let e = z.value, t = Math.max(e + 1, B.value);
662
662
  return {
663
- x: V.value * e + (b.minimapCompact ? 0 : V.value / 2),
663
+ x: V.value * e + (x.minimapCompact ? 0 : V.value / 2),
664
664
  width: V.value * (t - e) - V.value
665
665
  };
666
- }), G = _(b.minimapSelectedIndex), kn = (e) => Math.round(b.min + e), An = u({
666
+ }), G = v(x.minimapSelectedIndex), An = (e) => Math.round(x.min + e), jn = d({
667
667
  get() {
668
- return E.value ? z.value : Number(k.value);
668
+ return Mt.value ? z.value : Number(k.value);
669
669
  },
670
670
  set(e) {
671
- if (E.value) {
672
- if (b.useValueRange) {
673
- let t = jt(e);
674
- Un(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
671
+ if (Mt.value) {
672
+ if (x.useValueRange) {
673
+ let t = At(e);
674
+ Wn(Math.min(Math.max(Number(x.min), t), Number(w.value) - O.value));
675
675
  return;
676
676
  }
677
- Un(kn(Math.round(+e || 0)));
677
+ Wn(An(Math.round(+e || 0)));
678
678
  } else {
679
- let t = jt(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
680
- zn.value && (zn.value.valueAsNumber = r), Un(r);
679
+ let t = At(e), n = Number(w.value) - O.value, r = Math.min(Math.max(x.min, t), n);
680
+ Bn.value && (Bn.value.valueAsNumber = r), Wn(r);
681
681
  }
682
682
  }
683
- }), jn = u({
683
+ }), Mn = d({
684
684
  get() {
685
- return E.value ? Math.max(z.value, B.value - 1) : Number(A.value);
685
+ return Mt.value ? Math.max(z.value, B.value - 1) : Number(A.value);
686
686
  },
687
687
  set(e) {
688
- if (E.value) {
689
- if (b.useValueRange) {
690
- let t = jt(e);
691
- Gn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
688
+ if (Mt.value) {
689
+ if (x.useValueRange) {
690
+ let t = At(e);
691
+ Kn(Math.max(Number(C.value) + O.value, Math.min(t, Number(x.max))));
692
692
  return;
693
693
  }
694
- Gn(kn(Math.round(+e || 0) + 1));
694
+ Kn(An(Math.round(+e || 0) + 1));
695
695
  } else {
696
- let t = jt(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
697
- Bn.value && (Bn.value.valueAsNumber = r), Gn(r);
696
+ let t = At(e), n = Number(C.value) + O.value, r = Math.max(n, Math.min(t, x.max));
697
+ Vn.value && (Vn.value.valueAsNumber = r), Kn(r);
698
698
  }
699
699
  }
700
- }), Mn = 0;
701
- function Nn(e, t) {
702
- if (t === Mn) {
703
- if (b.useValueRange) {
704
- G.value = Number.isFinite(Number(e)) ? Vt(Number(e)) : null;
700
+ }), Nn = 0;
701
+ function Pn(e, t) {
702
+ if (t === Nn) {
703
+ if (x.useValueRange) {
704
+ G.value = Number.isFinite(Number(e)) ? Ht(Number(e)) : null;
705
705
  return;
706
706
  }
707
- G.value = cn(b.valueStart) + e;
707
+ G.value = ln(x.valueStart) + e;
708
708
  }
709
709
  }
710
- let Pn = c(Nn, 60);
711
- y(() => b.minimapSelectedIndex, (e, t) => {
712
- if (Mn += 1, [null, void 0].includes(e)) {
710
+ let Fn = l(Pn, 60);
711
+ b(() => x.minimapSelectedIndex, (e, t) => {
712
+ if (Nn += 1, [null, void 0].includes(e)) {
713
713
  G.value = null;
714
714
  return;
715
715
  }
716
- e !== t && Pn(e, Mn);
716
+ e !== t && Fn(e, Nn);
717
717
  }, { immediate: !0 });
718
- function Fn(e) {
719
- if (Lt.value) return;
718
+ function In(e) {
719
+ if (Rt.value) return;
720
720
  G.value = e;
721
721
  let t = z.value, n = B.value;
722
722
  e >= t && e < n && !X.value && M("trapMouse", e - t);
723
723
  }
724
- function In(e) {
725
- let t = Ht(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
724
+ function Ln(e) {
725
+ let t = Ut(e), n = x.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
726
726
  point: e,
727
727
  index: n,
728
728
  x: Number(e?.x),
@@ -730,25 +730,25 @@ var Se = ["data-minimap"], Ce = {
730
730
  }))).filter((e) => Number.isFinite(e.x));
731
731
  return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
732
732
  }
733
- function Ln(e) {
734
- if (!on.value || Lt.value) return;
735
- let t = Rr(e.clientX);
736
- if (b.useValueRange) {
737
- let e = In(t);
733
+ function Rn(e) {
734
+ if (!sn.value || Rt.value) return;
735
+ let t = zr(e.clientX);
736
+ if (x.useValueRange) {
737
+ let e = Ln(t);
738
738
  if (!e) {
739
- Rn();
739
+ zn();
740
740
  return;
741
741
  }
742
- G.value = Vt(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
742
+ G.value = Ht(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
743
743
  return;
744
744
  }
745
- Fn(zr(t));
745
+ In(Br(t));
746
746
  }
747
- function Rn() {
748
- G.value = null, !Lt.value && (M("trapMouse", null), M("trapMouseValue", null));
747
+ function zn() {
748
+ G.value = null, !Rt.value && (M("trapMouse", null), M("trapMouseValue", null));
749
749
  }
750
- let zn = _(null), Bn = _(null);
751
- function Vn(e) {
750
+ let Bn = v(null), Vn = v(null);
751
+ function Hn(e) {
752
752
  if (typeof e == "object" && e && "target" in e) {
753
753
  let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
754
754
  return Number.isFinite(n) ? n : NaN;
@@ -756,135 +756,141 @@ var Se = ["data-minimap"], Ce = {
756
756
  let t = +e;
757
757
  return Number.isFinite(t) ? t : NaN;
758
758
  }
759
- let Hn = 0;
760
- function Un(e) {
761
- T.value = !0;
762
- let t = Vn(e);
763
- Number.isFinite(t) && (cancelAnimationFrame(Hn), Hn = requestAnimationFrame(() => {
759
+ let Un = 0;
760
+ function Wn(e) {
761
+ E.value = !0;
762
+ let t = Hn(e);
763
+ Number.isFinite(t) && (cancelAnimationFrame(Un), Un = requestAnimationFrame(() => {
764
764
  k.value = t;
765
765
  }));
766
766
  }
767
- let Wn = 0;
768
- function Gn(e) {
769
- T.value = !0;
770
- let t = Vn(e);
771
- Number.isFinite(t) && (cancelAnimationFrame(Wn), Wn = requestAnimationFrame(() => {
767
+ let Gn = 0;
768
+ function Kn(e) {
769
+ E.value = !0;
770
+ let t = Hn(e);
771
+ Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
772
772
  A.value = t;
773
773
  }));
774
774
  }
775
- de(() => {
776
- cancelAnimationFrame(Hn), cancelAnimationFrame(Wn);
775
+ ue(() => {
776
+ cancelAnimationFrame(Un), cancelAnimationFrame(Gn);
777
777
  });
778
- let Kn = u(() => b.valueEnd - b.valueStart), qn = u(() => Kn.value < b.max - b.min), Jn = _(!1), Yn = _(null), Xn = u(() => (qt.value - 48) / (b.max - b.min) * Kn.value), Zn = u(() => Math.max(1, qt.value - Ot - Xn.value)), Qn = u(() => Math.max(1, b.max - b.min - Kn.value)), $n = u(() => Qn.value / Zn.value), er = _(0), tr = _(0), nr = _(0), rr = _(0), K = null, q = null, J = null, Y = null, ir = _(b.min);
779
- function ar(e) {
780
- if (!x.value) return b.min;
781
- let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
782
- return Math.round(b.min + a * o);
778
+ let qn = d(() => x.valueEnd - x.valueStart), Jn = d(() => qn.value < x.max - x.min), Yn = v(!1), Xn = v(null), Zn = d(() => (Jt.value - 48) / (x.max - x.min) * qn.value), Qn = d(() => Math.max(1, Jt.value - Dt - Zn.value)), $n = d(() => Math.max(1, x.max - x.min - qn.value)), er = d(() => $n.value / Qn.value), tr = v(0), nr = v(0), rr = v(0), ir = v(0), K = null, q = null, J = null, Y = null, ar = v(x.min);
779
+ function or(e) {
780
+ if (!S.value) return x.min;
781
+ let t = S.value.getBoundingClientRect(), n = t.left + Dt / 2, r = t.right - Dt / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, x.max - x.min);
782
+ return Math.round(x.min + a * o);
783
783
  }
784
- let or = async (e) => {
785
- if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
784
+ let sr = async (e) => {
785
+ if (E.value = !0, Z.value = !0, !x.enableSelectionDrag) return;
786
786
  let t = e.type === "touchstart";
787
787
  t || e.stopPropagation();
788
788
  let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
789
789
  if (!r || !(r instanceof Element) || r.classList?.contains("range-handle") || r.classList?.contains("vue-ui-zoom-compact-minimap-handle") || r.closest(".vue-ui-zoom-compact-minimap-handle")) return;
790
- Jn.value = !0;
790
+ Yn.value = !0;
791
791
  let a = t ? n ? n.clientX : 0 : e.clientX;
792
- if (Yn.value = a, er.value = a, b.focusOnDrag && !qn.value && x.value) {
793
- ir.value = ar(a);
794
- let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = b.max - b.min, n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = ir.value - r;
795
- o = Math.max(b.min, Math.min(o, b.max - n));
796
- let ee = Math.min(b.max, o + n);
797
- k.value = o, A.value = ee, Jt(o), Yt(ee), i(x.value, "mouseup"), await le(), i(x.value, "mousedown", { clientX: a });
792
+ if (Xn.value = a, tr.value = a, x.focusOnDrag && !Jn.value && S.value && !Lt.value) {
793
+ Lt.value = !0;
794
+ try {
795
+ ar.value = or(a);
796
+ let e = Math.min(.95, Math.max(.05, x.focusRangeRatio)), t = Number(x.max) - Number(x.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = ar.value - r;
797
+ o = Math.max(Number(x.min), Math.min(o, Number(x.max) - n));
798
+ let ee = Math.min(Number(x.max), o + n);
799
+ k.value = o, A.value = ee, Yt(o), Xt(ee), i(S.value, "mouseup"), await ce(), i(S.value, "mousedown", { clientX: a });
800
+ } finally {
801
+ Lt.value = !1;
802
+ }
803
+ return;
798
804
  }
799
- tr.value = S.value, nr.value = C.value, rr.value = $n.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? cr : sr, Y = t ? dr : ur, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
805
+ nr.value = C.value, rr.value = w.value, ir.value = er.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? lr : cr, Y = t ? fr : dr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
800
806
  };
801
- function sr(e) {
802
- Jn.value && lr(e.clientX);
803
- }
804
807
  function cr(e) {
805
- if (!Jn.value || !x.value) return;
808
+ Yn.value && ur(e.clientX);
809
+ }
810
+ function lr(e) {
811
+ if (!Yn.value || !S.value) return;
806
812
  let t = e.target;
807
- if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
813
+ if (!(t instanceof Element) || !S.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
808
814
  e.preventDefault();
809
815
  let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
810
- n && lr(n.clientX);
811
- }
812
- function lr(e) {
813
- if (!Jn.value) return;
814
- let t = ar(er.value), n = ar(e) - t, r = Math.round(tr.value + n);
815
- r = Math.max(b.min, Math.min(r, b.max - Kn.value));
816
- let i = r + Kn.value;
817
- k.value = r, A.value = i, Jt(r), Yt(i);
816
+ n && ur(n.clientX);
818
817
  }
819
- function ur() {
820
- fr();
818
+ function ur(e) {
819
+ if (!Yn.value) return;
820
+ let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
821
+ r = Math.max(x.min, Math.min(r, x.max - qn.value));
822
+ let i = r + qn.value;
823
+ k.value = r, A.value = i, Yt(r), Xt(i);
821
824
  }
822
825
  function dr() {
823
- fr();
826
+ pr();
824
827
  }
825
828
  function fr() {
826
- Jn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
829
+ pr();
827
830
  }
828
- let X = _(!1), pr = _(null), mr = _(null), hr = _(1), gr = _(1), Z = _(!1);
829
- function _r() {
830
- if (pr.value) {
831
- let e = Math.round(pr.value.getBoundingClientRect().width);
832
- e !== hr.value && (hr.value = e);
833
- }
831
+ function pr() {
832
+ Yn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
834
833
  }
834
+ let X = v(!1), mr = v(null), hr = v(null), gr = v(1), _r = v(1), Z = v(!1);
835
835
  function vr() {
836
836
  if (mr.value) {
837
837
  let e = Math.round(mr.value.getBoundingClientRect().width);
838
838
  e !== gr.value && (gr.value = e);
839
839
  }
840
840
  }
841
- pe(() => {
842
- _r(), vr();
841
+ function yr() {
842
+ if (hr.value) {
843
+ let e = Math.round(hr.value.getBoundingClientRect().width);
844
+ e !== _r.value && (_r.value = e);
845
+ }
846
+ }
847
+ fe(() => {
848
+ vr(), yr();
843
849
  });
844
- let yr = _(0);
845
- function br(e) {
846
- yr.value = +(e === "start");
850
+ let br = v(0);
851
+ function xr(e) {
852
+ br.value = +(e === "start");
847
853
  }
848
- let xr = _(!1), Sr = _({
854
+ let Sr = v(!1), Cr = v({
849
855
  width: 0,
850
856
  left: 0
851
857
  });
852
- y([S, C], async () => {
853
- if (await le(), !pr.value || !mr.value) {
854
- xr.value = !1, Sr.value = {
858
+ b([C, w], async () => {
859
+ if (await ce(), !mr.value || !hr.value) {
860
+ Sr.value = !1, Cr.value = {
855
861
  width: 0,
856
862
  left: 0
857
863
  };
858
864
  return;
859
865
  }
860
- let e = pr.value.getBoundingClientRect(), t = mr.value.getBoundingClientRect();
861
- xr.value = e.x + e.width > t.x;
866
+ let e = mr.value.getBoundingClientRect(), t = hr.value.getBoundingClientRect();
867
+ Sr.value = e.x + e.width > t.x;
862
868
  let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
863
- Sr.value = {
869
+ Cr.value = {
864
870
  width: i,
865
871
  left: (n + r) / 2 - i / 2
866
872
  };
867
- }), pe(() => {
868
- _r(), vr();
869
- }), y(() => b.labelLeft, () => {
870
- le(_r);
871
- }, { deep: !0 }), y(() => b.labelRight, () => {
872
- le(vr);
873
+ }), fe(() => {
874
+ vr(), yr();
875
+ }), b(() => x.labelLeft, () => {
876
+ ce(vr);
877
+ }, { deep: !0 }), b(() => x.labelRight, () => {
878
+ ce(yr);
873
879
  }, { deep: !0 });
874
- let Q = u(() => {
880
+ let Q = d(() => {
875
881
  let e = "", t = "", n = !1;
876
- if (o(b.customFormat)) try {
877
- let r = b.customFormat({
878
- absoluteIndex: S.value,
879
- seriesIndex: S.value,
880
- datapoint: b.selectedSeries,
881
- timeLabel: b.preciseLabels[S.value],
882
+ if (o(x.customFormat)) try {
883
+ let r = x.customFormat({
884
+ absoluteIndex: C.value,
885
+ seriesIndex: C.value,
886
+ datapoint: x.selectedSeries,
887
+ timeLabel: x.preciseLabels[C.value],
882
888
  side: "left"
883
- }), i = b.customFormat({
884
- absoluteIndex: Rt.value,
889
+ }), i = x.customFormat({
890
+ absoluteIndex: zt.value,
885
891
  seriesIndex: -1,
886
- datapoint: b.selectedSeries,
887
- timeLabel: b.useValueRange ? null : b.preciseLabels[Rt.value],
892
+ datapoint: x.selectedSeries,
893
+ timeLabel: x.useValueRange ? null : x.preciseLabels[zt.value],
888
894
  side: "right"
889
895
  });
890
896
  typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
@@ -892,7 +898,7 @@ var Se = ["data-minimap"], Ce = {
892
898
  n = !1;
893
899
  }
894
900
  if (!n) {
895
- let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Rt.value) : b.timeLabels.find((e) => e.absoluteIndex === Rt.value);
901
+ let n = x.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex === C.value) : x.timeLabels.find((e) => e.absoluteIndex === C.value), r = x.useValueRange ? { text: String(Math.round(w.value * 1e3) / 1e3) } : x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex === zt.value) : x.timeLabels.find((e) => e.absoluteIndex === zt.value);
896
902
  e = n ? n.text : "", t = r ? r.text : "";
897
903
  }
898
904
  return {
@@ -900,156 +906,156 @@ var Se = ["data-minimap"], Ce = {
900
906
  right: t
901
907
  };
902
908
  });
903
- de(() => {
909
+ ue(() => {
904
910
  L.value && L.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
905
911
  });
906
- let Cr = u(() => {
907
- if (!on.value || G.value === null) return null;
908
- if (b.useValueRange) {
912
+ let wr = d(() => {
913
+ if (!sn.value || G.value === null) return null;
914
+ if (x.useValueRange) {
909
915
  let e = G.value;
910
916
  return e < W.value.x || e > W.value.x + W.value.width ? null : {
911
917
  x1: e,
912
918
  x2: e,
913
919
  y1: 0,
914
920
  y2: Math.max(I.value.height, 0),
915
- stroke: b.minimapIndicatorColor,
921
+ stroke: x.minimapIndicatorColor,
916
922
  "stroke-linecap": "round",
917
923
  "stroke-dasharray": 2,
918
924
  "stroke-width": 1
919
925
  };
920
926
  }
921
927
  if (G.value >= z.value && G.value < B.value) {
922
- let e = G.value, t = V.value * e + (b.minimapCompact ? 0 : V.value / 2);
928
+ let e = G.value, t = V.value * e + (x.minimapCompact ? 0 : V.value / 2);
923
929
  return {
924
930
  x1: t,
925
931
  x2: t,
926
932
  y1: 0,
927
933
  y2: Math.max(I.value.height, 0),
928
- stroke: b.minimapIndicatorColor,
934
+ stroke: x.minimapIndicatorColor,
929
935
  "stroke-linecap": "round",
930
936
  "stroke-dasharray": 2,
931
937
  "stroke-width": 1
932
938
  };
933
939
  }
934
940
  return null;
935
- }), wr = u(() => Number(S.value) < Number(C.value) - 1), Tr = u(() => Number(S.value) > Number(b.min)), Er = u(() => Number(C.value) < Number(b.max)), Dr = u(() => Number(C.value) > Number(S.value) + 1);
936
- function Or(e) {
937
- let t = Number(S.value) + e;
938
- e > 0 && !wr.value || e < 0 && !Tr.value || (T.value = !0, k.value = t, j());
939
- }
941
+ }), Tr = d(() => Number(C.value) < Number(w.value) - 1), Er = d(() => Number(C.value) > Number(x.min)), Dr = d(() => Number(w.value) < Number(x.max)), Or = d(() => Number(w.value) > Number(C.value) + 1);
940
942
  function kr(e) {
941
943
  let t = Number(C.value) + e;
942
- e > 0 && !Er.value || e < 0 && !Dr.value || (T.value = !0, A.value = t, j());
944
+ e > 0 && !Tr.value || e < 0 && !Er.value || (E.value = !0, k.value = t, j());
943
945
  }
944
- let Ar = {
945
- plus: () => Or(1),
946
- minus: () => Or(-1),
947
- canPlus: wr,
948
- canMinus: Tr
949
- }, jr = {
946
+ function Ar(e) {
947
+ let t = Number(w.value) + e;
948
+ e > 0 && !Dr.value || e < 0 && !Or.value || (E.value = !0, A.value = t, j());
949
+ }
950
+ let jr = {
950
951
  plus: () => kr(1),
951
952
  minus: () => kr(-1),
952
- canPlus: Er,
953
- canMinus: Dr
953
+ canPlus: Tr,
954
+ canMinus: Er
955
+ }, Mr = {
956
+ plus: () => Ar(1),
957
+ minus: () => Ar(-1),
958
+ canPlus: Dr,
959
+ canMinus: Or
954
960
  };
955
- function Mr(e) {
956
- if (!e || Nr(e.target)) return;
961
+ function Nr(e) {
962
+ if (!e || Pr(e.target)) return;
957
963
  let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
958
- !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Ar.plus(), jr.plus()) : (Ar.minus(), jr.minus()));
964
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (jr.plus(), Mr.plus()) : (jr.minus(), Mr.minus()));
959
965
  }
960
- function Nr(e) {
966
+ function Pr(e) {
961
967
  return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
962
968
  }
963
- function Pr(e) {
964
- if (!w.value || !b.minimapCompact) return;
965
- let t = x.value;
969
+ function Fr(e) {
970
+ if (!T.value || !x.minimapCompact) return;
971
+ let t = S.value;
966
972
  if (!t) return;
967
973
  let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
968
974
  r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
969
975
  }
970
- function Fr(e, t) {
971
- if (!t || Nr(t.target)) return;
976
+ function Ir(e, t) {
977
+ if (!t || Pr(t.target)) return;
972
978
  let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
973
- !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Ar.plus() : Ar.minus() : i ? jr.plus() : jr.minus(), le(() => Pr(e)));
979
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? jr.plus() : jr.minus() : i ? Mr.plus() : Mr.minus(), ce(() => Fr(e)));
974
980
  }
975
- let Ir = u(() => ({
981
+ let Lr = d(() => ({
976
982
  tabindex: 0,
977
983
  role: "slider",
978
984
  "aria-label": "Range start",
979
- "aria-valuemin": Number(b.min),
980
- "aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
981
- "aria-valuenow": Number(S.value)
982
- })), Lr = u(() => ({
985
+ "aria-valuemin": Number(x.min),
986
+ "aria-valuemax": Math.max(Number(x.min), Number(w.value) - 1),
987
+ "aria-valuenow": Number(C.value)
988
+ })), Rr = d(() => ({
983
989
  tabindex: 0,
984
990
  role: "slider",
985
991
  "aria-label": "Range end",
986
- "aria-valuemin": Math.min(Number(b.max), Number(S.value) + 1),
987
- "aria-valuemax": Number(b.max),
988
- "aria-valuenow": Number(C.value)
992
+ "aria-valuemin": Math.min(Number(x.max), Number(C.value) + 1),
993
+ "aria-valuemax": Number(x.max),
994
+ "aria-valuenow": Number(w.value)
989
995
  }));
990
- function Rr(e) {
996
+ function zr(e) {
991
997
  if (!It.value) return 0;
992
998
  let t = It.value.getBoundingClientRect();
993
999
  if (!t.width) return 0;
994
1000
  let n = (e - t.left) / t.width;
995
1001
  return Math.min(1, Math.max(0, n)) * I.value.width;
996
1002
  }
997
- function zr(e) {
1003
+ function Br(e) {
998
1004
  let t = Math.max(0, R.value - 1), n = Math.max(1, I.value.width), r = Math.min(1, Math.max(0, e / n));
999
1005
  return Math.min(t, Math.max(0, Math.round(r * t)));
1000
1006
  }
1001
- function Br(e) {
1007
+ function Vr(e) {
1002
1008
  let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
1003
- if (b.useValueRange) {
1004
- let e = Ht(t);
1009
+ if (x.useValueRange) {
1010
+ let e = Ut(t);
1005
1011
  if (D.value === "start") {
1006
- let t = Math.min(e, Number(C.value) - O.value);
1007
- k.value = t, Jt(t);
1012
+ let t = Math.min(e, Number(w.value) - O.value);
1013
+ k.value = t, Yt(t);
1008
1014
  return;
1009
1015
  }
1010
1016
  if (D.value === "end") {
1011
- let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
1012
- A.value = n, Yt(n);
1017
+ let t = Math.max(Number(C.value) + O.value, e), n = Math.min(Number(x.max), t);
1018
+ A.value = n, Xt(n);
1013
1019
  return;
1014
1020
  }
1015
1021
  }
1016
- let n = zr(t);
1022
+ let n = Br(t);
1017
1023
  if (D.value === "start") {
1018
- let e = Math.min(b.min + n, Number(C.value) - 1);
1019
- k.value = e, Jt(e);
1024
+ let e = Math.min(x.min + n, Number(w.value) - 1);
1025
+ k.value = e, Yt(e);
1020
1026
  return;
1021
1027
  }
1022
1028
  if (D.value === "end") {
1023
- let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
1024
- A.value = t, Yt(t);
1029
+ let e = Math.max(Number(C.value) + 1, x.min + n + 1), t = Math.min(x.max, e);
1030
+ A.value = t, Xt(t);
1025
1031
  }
1026
1032
  }
1027
- function Vr(e) {
1033
+ function Hr(e) {
1028
1034
  if (!D.value || !F.value) return;
1029
1035
  let t = e.clientX - Pt.value;
1030
1036
  if (!Nt.value) {
1031
1037
  if (Math.abs(t) < 4) return;
1032
- Nt.value = !0, T.value = !0, Z.value = !0;
1038
+ Nt.value = !0, E.value = !0, Z.value = !0;
1033
1039
  }
1034
- let n = Rr(e.clientX) - Ft.value;
1035
- Br(D.value === "start" ? n + Kt.value : n);
1040
+ let n = zr(e.clientX) - Ft.value;
1041
+ Vr(D.value === "start" ? n + qt.value : n);
1036
1042
  }
1037
- function Hr() {
1043
+ function Ur() {
1038
1044
  if (!D.value) return;
1039
- window.removeEventListener("mousemove", Vr, !0), window.removeEventListener("mouseup", Hr, !0);
1045
+ window.removeEventListener("mousemove", Hr, !0), window.removeEventListener("mouseup", Ur, !0);
1040
1046
  let e = Nt.value;
1041
1047
  D.value = null, Nt.value = !1, Pt.value = 0, Ft.value = 0, e && j();
1042
1048
  }
1043
- function Ur(e, t) {
1044
- if (!w.value || !b.minimapCompact || !F.value) return;
1049
+ function Wr(e, t) {
1050
+ if (!T.value || !x.minimapCompact || !F.value) return;
1045
1051
  t.preventDefault(), t.stopPropagation(), G.value = null;
1046
- let n = Rr(t.clientX), r = e === "start" ? W.value.x - Kt.value : W.value.x + W.value.width;
1047
- D.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Vr, !0), window.addEventListener("mouseup", Hr, !0);
1052
+ let n = zr(t.clientX), r = e === "start" ? W.value.x - qt.value : W.value.x + W.value.width;
1053
+ D.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Hr, !0), window.addEventListener("mouseup", Ur, !0);
1048
1054
  }
1049
- let Wr = u(() => z.value), Gr = u(() => Math.max(z.value, B.value - 1));
1050
- u(() => {
1051
- if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
1052
- let e = Wr.value, t = Gr.value;
1055
+ let Gr = d(() => z.value), Kr = d(() => Math.max(z.value, B.value - 1));
1056
+ d(() => {
1057
+ if (!T.value || !x.minimapCompact || !x.allMinimaps.length) return [];
1058
+ let e = Gr.value, t = Kr.value;
1053
1059
  return U.value.flatMap((n) => {
1054
1060
  if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1055
1061
  let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
@@ -1066,72 +1072,72 @@ var Se = ["data-minimap"], Ce = {
1066
1072
  }), r;
1067
1073
  });
1068
1074
  });
1069
- let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Kr = u(() => W.value.x - $.value), qr = u(() => W.value.x + W.value.width);
1070
- return kt({
1071
- setStartValue: Un,
1072
- setEndValue: Gn
1073
- }), (e, t) => (g(), f("div", {
1074
- "data-minimap": w.value,
1075
+ let $ = d(() => Math.min(40, Math.max(20, x.handleWidth))), qr = d(() => W.value.x - $.value), Jr = d(() => W.value.x + W.value.width);
1076
+ return Ot({
1077
+ setStartValue: Wn,
1078
+ setEndValue: Kn
1079
+ }), (e, t) => (_(), p("div", {
1080
+ "data-minimap": T.value,
1075
1081
  "data-dom-to-png-ignore": "",
1076
- style: h([{ padding: "0 48px" }, {
1082
+ style: g([{ padding: "0 48px" }, {
1077
1083
  maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
1078
1084
  margin: s.maxWidth ? "0 auto" : void 0
1079
1085
  }]),
1080
1086
  class: "vue-data-ui-zoom",
1081
1087
  ref_key: "zoomWrapper",
1082
- ref: x,
1083
- onMousedown: or,
1084
- onTouchstart: or
1085
- }, [p("div", Ce, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Xt.value ? (g(), f("div", we, [me(e.$slots, "reset-action", { reset: sn }, () => [p("button", {
1088
+ ref: S,
1089
+ onMousedown: sr,
1090
+ onTouchstart: sr
1091
+ }, [m("div", Se, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Zt.value ? (_(), p("div", Ce, [pe(e.$slots, "reset-action", { reset: cn }, () => [m("button", {
1086
1092
  tabindex: "0",
1087
1093
  role: "button",
1088
1094
  class: "vue-data-ui-refresh-button",
1089
- style: h({
1090
- top: w.value ? "36px" : "-16px",
1095
+ style: g({
1096
+ top: T.value ? "36px" : "-16px",
1091
1097
  cursor: s.isCursorPointer ? "pointer" : "default"
1092
1098
  }),
1093
- onClick: sn
1094
- }, [se(oe, {
1099
+ onClick: cn
1100
+ }, [oe(ae, {
1095
1101
  name: "refresh",
1096
1102
  stroke: s.textColor
1097
- }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
1103
+ }, null, 8, ["stroke"])], 4)], !0)])) : f("", !0)]), m("div", {
1098
1104
  class: "double-range-slider",
1099
1105
  ref_key: "minimapWrapper",
1100
1106
  ref: F,
1101
- style: h([{ "z-index": "0" }, w.value ? {
1107
+ style: g([{ "z-index": "0" }, T.value ? {
1102
1108
  "--minimap-unit-px": V.value + "px",
1103
1109
  "--minimap-offset-px": (s.minimapCompact ? 0 : V.value / 2) + "px"
1104
1110
  } : void 0]),
1105
1111
  onMouseenter: t[18] ||= (e) => Z.value = !0,
1106
1112
  onMouseleave: t[19] ||= (e) => Z.value = !1
1107
1113
  }, [
1108
- w.value ? (g(), f("div", Te, [(g(), f("svg", {
1114
+ T.value ? (_(), p("div", we, [(_(), p("svg", {
1109
1115
  ref_key: "minimapSvg",
1110
1116
  ref: It,
1111
1117
  key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1112
- xmlns: ge(re),
1118
+ xmlns: he(re),
1113
1119
  viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
1114
1120
  preserveAspectRatio: "none"
1115
1121
  }, [
1116
- p("defs", null, [p("linearGradient", {
1117
- id: Mt.value,
1122
+ m("defs", null, [m("linearGradient", {
1123
+ id: jt.value,
1118
1124
  x1: "0%",
1119
1125
  y1: "0%",
1120
1126
  x2: "0%",
1121
1127
  y2: "100%"
1122
- }, [p("stop", {
1128
+ }, [m("stop", {
1123
1129
  offset: "0%",
1124
1130
  "stop-color": `${s.minimapLineColor}50`
1125
- }, null, 8, Oe), t[20] ||= p("stop", {
1131
+ }, null, 8, De), t[20] ||= m("stop", {
1126
1132
  offset: "100%",
1127
1133
  "stop-color": "transparent"
1128
- }, null, -1)], 8, De), p("clipPath", { id: `selection_clip_${Mt.value}` }, [p("rect", {
1134
+ }, null, -1)], 8, Ee), m("clipPath", { id: `selection_clip_${jt.value}` }, [m("rect", {
1129
1135
  x: W.value.x,
1130
1136
  y: "0",
1131
1137
  width: Math.max(0, W.value.width),
1132
1138
  height: Math.max(I.value.height, 0)
1133
- }, null, 8, Ae)], 8, ke)]),
1134
- s.minimapCompact ? (g(), f("rect", {
1139
+ }, null, 8, ke)], 8, Oe)]),
1140
+ s.minimapCompact ? (_(), p("rect", {
1135
1141
  key: 0,
1136
1142
  class: "vue-ui-zoom-minimap-frame",
1137
1143
  x: 0,
@@ -1141,8 +1147,8 @@ var Se = ["data-minimap"], Ce = {
1141
1147
  fill: "none",
1142
1148
  stroke: s.minimapFrameColor,
1143
1149
  rx: 3
1144
- }, null, 8, je)) : d("", !0),
1145
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1150
+ }, null, 8, Ae)) : f("", !0),
1151
+ e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 1 }, [s.minimapMerged ? (_(), p("path", {
1146
1152
  key: 0,
1147
1153
  d: `M${H.value.fullSet}`,
1148
1154
  stroke: `${s.minimapLineColor}`,
@@ -1151,30 +1157,30 @@ var Se = ["data-minimap"], Ce = {
1151
1157
  "stroke-linecap": "round",
1152
1158
  "stroke-linejoin": "round",
1153
1159
  style: { opacity: "0.6" }
1154
- }, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1160
+ }, null, 8, je)) : f("", !0), s.minimapMerged && !s.minimapCompact ? (_(), p("path", {
1155
1161
  key: 1,
1156
1162
  d: `M${V.value / 2},${Math.max(I.value.height, 0)} ${H.value.fullSet} L${I.value.width - V.value / 2},${Math.max(I.value.height, 0)}Z`,
1157
- fill: `url(#${Mt.value})`,
1163
+ fill: `url(#${jt.value})`,
1158
1164
  stroke: "none",
1159
1165
  style: { opacity: "0.6" }
1160
- }, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1161
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
1166
+ }, null, 8, Me)) : s.minimapMerged ? f("", !0) : (_(), p(u, { key: 2 }, [
1167
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e && !isNaN(n.y) ? (_(), p("rect", {
1162
1168
  key: 0,
1163
- x: hn(n.x, t, r),
1169
+ x: gn(n.x, t, r),
1164
1170
  y: n.v >= 0 ? n.y : n.y0,
1165
- width: gn(t, r),
1171
+ width: _n(t, r),
1166
1172
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1167
1173
  fill: e.color,
1168
1174
  style: { opacity: .6 }
1169
- }, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
1170
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1175
+ }, null, 8, Ne)) : f("", !0)], 64))), 256))]))), 256)),
1176
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e) => (_(), p("g", null, [e.isVisible ? (_(), p("path", {
1171
1177
  key: 0,
1172
1178
  d: `M ${e.fullSet}`,
1173
1179
  fill: "none",
1174
1180
  stroke: e.color,
1175
1181
  style: { opacity: "0.6" },
1176
1182
  "stroke-dasharray": e.dashed ? "2 4" : 0
1177
- }, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1183
+ }, null, 8, Pe)) : f("", !0), e.isVisible && s.cutNullValues ? (_(!0), p(u, { key: 1 }, y(e.fullMarkers, (t) => (_(), p("circle", {
1178
1184
  key: `sel-dot-under-${e.key}-${t.i}`,
1179
1185
  cx: t.x,
1180
1186
  cy: t.y,
@@ -1183,8 +1189,8 @@ var Se = ["data-minimap"], Ce = {
1183
1189
  stroke: P.value,
1184
1190
  "stroke-width": "0.5",
1185
1191
  style: { opacity: "0.6" }
1186
- }, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
1187
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
1192
+ }, null, 8, Fe))), 128)) : f("", !0)]))), 256)),
1193
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (t) => (_(), p("g", null, [e.isVisible && t.value !== null ? (_(), p("circle", {
1188
1194
  key: `sel-plot-under-${e.key}-${t.i}`,
1189
1195
  cx: t.x,
1190
1196
  cy: t.y,
@@ -1193,9 +1199,9 @@ var Se = ["data-minimap"], Ce = {
1193
1199
  stroke: P.value,
1194
1200
  "stroke-width": "0.5",
1195
1201
  style: { opacity: "0.6" }
1196
- }, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
1202
+ }, null, 8, Ie)) : f("", !0)]))), 256))]))), 256))
1197
1203
  ], 64))], 64)),
1198
- p("rect", {
1204
+ m("rect", {
1199
1205
  x: W.value.x,
1200
1206
  y: 0,
1201
1207
  width: Math.max(0, W.value.width),
@@ -1203,45 +1209,45 @@ var Se = ["data-minimap"], Ce = {
1203
1209
  fill: P.value,
1204
1210
  rx: s.minimapSelectionRadius,
1205
1211
  stroke: "none"
1206
- }, null, 8, Re),
1207
- p("rect", {
1212
+ }, null, 8, Le),
1213
+ m("rect", {
1208
1214
  x: W.value.x,
1209
1215
  y: 0,
1210
1216
  width: W.value.width < 0 ? 0 : W.value.width,
1211
1217
  height: Math.max(I.value.height, 0),
1212
1218
  rx: s.minimapSelectionRadius,
1213
1219
  fill: P.value,
1214
- style: h({ opacity: Jn.value || T.value ? 0 : 1 })
1215
- }, null, 12, ze),
1216
- p("rect", {
1220
+ style: g({ opacity: Yn.value || E.value ? 0 : 1 })
1221
+ }, null, 12, Re),
1222
+ m("rect", {
1217
1223
  x: W.value.x,
1218
1224
  y: 0,
1219
1225
  width: W.value.width < 0 ? 0 : W.value.width,
1220
1226
  height: Math.max(I.value.height, 0),
1221
1227
  fill: s.minimapSelectedColor,
1222
1228
  rx: s.minimapSelectionRadius,
1223
- style: h({ opacity: s.minimapSelectedColorOpacity }),
1229
+ style: g({ opacity: s.minimapSelectedColorOpacity }),
1224
1230
  tabindex: "0",
1225
1231
  role: "slider",
1226
1232
  "aria-label": "Selected range",
1227
- "aria-valuemin": Number(b.min),
1228
- "aria-valuemax": Number(b.max),
1229
- "aria-valuenow": Number(S.value),
1233
+ "aria-valuemin": Number(x.min),
1234
+ "aria-valuemax": Number(x.max),
1235
+ "aria-valuenow": Number(C.value),
1230
1236
  "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1231
- onKeydown: Mr
1232
- }, null, 44, Be),
1233
- !s.minimapMerged && wn.value < 0 ? (g(), f("line", {
1237
+ onKeydown: Nr
1238
+ }, null, 44, ze),
1239
+ !s.minimapMerged && Tn.value < 0 ? (_(), p("line", {
1234
1240
  key: 2,
1235
1241
  class: "slicer-minimap-zero-line",
1236
1242
  x1: 0,
1237
1243
  x2: I.value.width,
1238
- y1: En.value,
1239
- y2: En.value,
1244
+ y1: Dn.value,
1245
+ y2: Dn.value,
1240
1246
  stroke: s.minimapFrameColor,
1241
1247
  "stroke-width": "0.5"
1242
- }, null, 8, Ve)) : d("", !0),
1243
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
1244
- H.value && H.value.sliced && H.value.sliced.length ? (g(), f(l, { key: 0 }, [H.value.selectionSet ? (g(), f("path", {
1248
+ }, null, 8, Be)) : f("", !0),
1249
+ e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 3 }, [s.minimapMerged ? (_(), p("g", Ve, [
1250
+ H.value && H.value.sliced && H.value.sliced.length ? (_(), p(u, { key: 0 }, [H.value.selectionSet ? (_(), p("path", {
1245
1251
  key: 0,
1246
1252
  d: `M ${H.value.selectionSet}`,
1247
1253
  stroke: `${s.minimapLineColor}`,
@@ -1249,8 +1255,8 @@ var Se = ["data-minimap"], Ce = {
1249
1255
  "stroke-width": "2",
1250
1256
  "stroke-linecap": "round",
1251
1257
  "stroke-linejoin": "round"
1252
- }, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
1253
- H.value && H.value.firstPlot ? (g(), f("circle", {
1258
+ }, null, 8, He)) : f("", !0)], 64)) : f("", !0),
1259
+ H.value && H.value.firstPlot ? (_(), p("circle", {
1254
1260
  key: 1,
1255
1261
  cx: H.value.firstPlot.x,
1256
1262
  cy: H.value.firstPlot.y,
@@ -1258,8 +1264,8 @@ var Se = ["data-minimap"], Ce = {
1258
1264
  stroke: P.value,
1259
1265
  r: "3",
1260
1266
  fill: s.minimapLineColor
1261
- }, null, 8, We)) : d("", !0),
1262
- H.value && H.value.lastPlot ? (g(), f("circle", {
1267
+ }, null, 8, Ue)) : f("", !0),
1268
+ H.value && H.value.lastPlot ? (_(), p("circle", {
1263
1269
  key: 2,
1264
1270
  cx: H.value.lastPlot.x,
1265
1271
  cy: H.value.lastPlot.y,
@@ -1267,18 +1273,18 @@ var Se = ["data-minimap"], Ce = {
1267
1273
  stroke: P.value,
1268
1274
  r: "3",
1269
1275
  fill: s.minimapLineColor
1270
- }, null, 8, Ge)) : d("", !0)
1271
- ])) : (g(), f("g", Ke, [
1272
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
1276
+ }, null, 8, We)) : f("", !0)
1277
+ ])) : (_(), p("g", Ge, [
1278
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e && !isNaN(n.y) ? (_(), p("rect", {
1273
1279
  key: 0,
1274
- x: hn(n.x, t, r),
1280
+ x: gn(n.x, t, r),
1275
1281
  y: n.v >= 0 ? n.y : n.y0,
1276
- width: gn(t, r),
1282
+ width: _n(t, r),
1277
1283
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1278
1284
  fill: e.color,
1279
- style: h({ opacity: +(r >= k.value && r < A.value) })
1280
- }, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
1281
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1285
+ style: g({ opacity: +(r >= k.value && r < A.value) })
1286
+ }, null, 12, Ke)) : f("", !0)], 64))), 256))]))), 256)),
1287
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), p("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
1282
1288
  key: 0,
1283
1289
  d: `M ${e.selectionSet}`,
1284
1290
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1287,8 +1293,8 @@ var Se = ["data-minimap"], Ce = {
1287
1293
  "stroke-linecap": "round",
1288
1294
  "stroke-linejoin": "round",
1289
1295
  "stroke-dasharray": e.dashed ? "2 4" : 0
1290
- }, null, 8, Je)) : d("", !0)]))), 128)),
1291
- (g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.sliced, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
1296
+ }, null, 8, qe)) : f("", !0)]))), 128)),
1297
+ (_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", { key: String(e.key) }, [(_(!0), p(u, null, y(e.sliced, (t) => (_(), p("g", null, [e.isVisible && t.value !== null ? (_(), p("circle", {
1292
1298
  key: 0,
1293
1299
  cx: t.x,
1294
1300
  cy: t.y,
@@ -1297,31 +1303,31 @@ var Se = ["data-minimap"], Ce = {
1297
1303
  stroke: P.value,
1298
1304
  "stroke-width": "0.5",
1299
1305
  style: { opacity: "0.6" }
1300
- }, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
1306
+ }, null, 8, Je)) : f("", !0)]))), 256))]))), 128))
1301
1307
  ]))], 64)),
1302
- e.$slots.slotMap ? me(e.$slots, "slotMap", ue(ce({ key: 4 }, {
1308
+ e.$slots.slotMap ? pe(e.$slots, "slotMap", le(se({ key: 4 }, {
1303
1309
  width: Math.max(0, I.value.width),
1304
1310
  height: Math.max(0, I.value.height),
1305
- zeroY: En.value,
1311
+ zeroY: Dn.value,
1306
1312
  unitW: Math.max(0, V.value)
1307
- })), void 0, !0) : d("", !0),
1308
- G.value !== null && !X.value ? (g(), f("line", ue(ce({ key: 5 }, Cr.value)), null, 16)) : d("", !0),
1309
- p("rect", {
1313
+ })), void 0, !0) : f("", !0),
1314
+ G.value !== null && !X.value ? (_(), p("line", le(se({ key: 5 }, wr.value)), null, 16)) : f("", !0),
1315
+ m("rect", {
1310
1316
  x: 0,
1311
1317
  y: 0,
1312
1318
  width: Math.max(0, I.value.width),
1313
1319
  height: Math.max(0, I.value.height),
1314
1320
  fill: "transparent",
1315
- style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1321
+ style: g([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1316
1322
  onMousedown: t[0] ||= (e) => X.value = !0,
1317
1323
  onMouseup: t[1] ||= (e) => X.value = !1,
1318
- onMousemove: Ln,
1319
- onMouseleave: Rn
1320
- }, null, 44, Xe),
1321
- w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1322
- p("rect", {
1324
+ onMousemove: Rn,
1325
+ onMouseleave: zn
1326
+ }, null, 44, Ye),
1327
+ T.value && s.minimapCompact ? (_(), p(u, { key: 6 }, [
1328
+ m("rect", {
1323
1329
  class: "vue-ui-zoom-compact-minimap-handle",
1324
- x: Kr.value,
1330
+ x: qr.value,
1325
1331
  y: 0,
1326
1332
  width: $.value,
1327
1333
  height: I.value.height,
@@ -1329,18 +1335,18 @@ var Se = ["data-minimap"], Ce = {
1329
1335
  stroke: s.handleBorderColor || s.textColor,
1330
1336
  "stroke-width": s.handleBorderWidth,
1331
1337
  rx: 3
1332
- }, null, 8, Ze),
1333
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1338
+ }, null, 8, Xe),
1339
+ s.handleType && s.handleType !== "empty" ? (_(), p("g", {
1334
1340
  key: 0,
1335
1341
  class: "compact-handle-icon",
1336
- transform: `translate(${Kr.value}, 0)`,
1342
+ transform: `translate(${qr.value}, 0)`,
1337
1343
  style: { "pointer-events": "none" }
1338
- }, [(g(), f("svg", {
1344
+ }, [(_(), p("svg", {
1339
1345
  width: $.value,
1340
1346
  height: I.value.height,
1341
1347
  viewBox: "0 0 20 20",
1342
1348
  preserveAspectRatio: "xMidYMid meet"
1343
- }, [s.handleType === "arrow" ? (g(), f("path", {
1349
+ }, [s.handleType === "arrow" ? (_(), p("path", {
1344
1350
  key: 0,
1345
1351
  d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1346
1352
  fill: P.value,
@@ -1348,7 +1354,7 @@ var Se = ["data-minimap"], Ce = {
1348
1354
  "stroke-width": .618,
1349
1355
  "stroke-linejoin": "round",
1350
1356
  "stroke-linecap": "round"
1351
- }, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
1357
+ }, null, 8, $e)) : s.handleType === "chevron" ? (_(), p("path", {
1352
1358
  key: 1,
1353
1359
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1354
1360
  fill: "none",
@@ -1356,16 +1362,16 @@ var Se = ["data-minimap"], Ce = {
1356
1362
  "stroke-width": .618,
1357
1363
  "stroke-linejoin": "round",
1358
1364
  "stroke-linecap": "round"
1359
- }, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
1365
+ }, null, 8, et)) : s.handleType === "grab" ? (_(), p("path", {
1360
1366
  key: 2,
1361
1367
  d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1362
1368
  fill: s.handleIconColor || s.textColor,
1363
1369
  stroke: "none",
1364
1370
  opacity: "0.6"
1365
- }, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
1366
- p("rect", {
1371
+ }, null, 8, tt)) : f("", !0)], 8, Qe))], 8, Ze)) : f("", !0),
1372
+ m("rect", {
1367
1373
  class: "vue-ui-zoom-compact-minimap-handle",
1368
- x: qr.value,
1374
+ x: Jr.value,
1369
1375
  y: 0,
1370
1376
  width: $.value,
1371
1377
  height: I.value.height,
@@ -1373,18 +1379,18 @@ var Se = ["data-minimap"], Ce = {
1373
1379
  stroke: s.handleBorderColor || s.textColor,
1374
1380
  "stroke-width": s.handleBorderWidth,
1375
1381
  rx: 3
1376
- }, null, 8, rt),
1377
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1382
+ }, null, 8, nt),
1383
+ s.handleType && s.handleType !== "empty" ? (_(), p("g", {
1378
1384
  key: 1,
1379
1385
  class: "compact-handle-icon",
1380
- transform: `translate(${qr.value}, 0)`,
1386
+ transform: `translate(${Jr.value}, 0)`,
1381
1387
  style: { "pointer-events": "none" }
1382
- }, [(g(), f("svg", {
1388
+ }, [(_(), p("svg", {
1383
1389
  width: $.value,
1384
1390
  height: I.value.height,
1385
1391
  viewBox: "0 0 20 20",
1386
1392
  preserveAspectRatio: "xMidYMid meet"
1387
- }, [s.handleType === "arrow" ? (g(), f("path", {
1393
+ }, [s.handleType === "arrow" ? (_(), p("path", {
1388
1394
  key: 0,
1389
1395
  d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1390
1396
  fill: P.value,
@@ -1392,7 +1398,7 @@ var Se = ["data-minimap"], Ce = {
1392
1398
  "stroke-width": .618,
1393
1399
  "stroke-linejoin": "round",
1394
1400
  "stroke-linecap": "round"
1395
- }, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
1401
+ }, null, 8, at)) : s.handleType === "chevron" ? (_(), p("path", {
1396
1402
  key: 1,
1397
1403
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1398
1404
  fill: "none",
@@ -1400,16 +1406,16 @@ var Se = ["data-minimap"], Ce = {
1400
1406
  "stroke-width": .618,
1401
1407
  "stroke-linejoin": "round",
1402
1408
  "stroke-linecap": "round"
1403
- }, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
1409
+ }, null, 8, ot)) : s.handleType === "grab" ? (_(), p("path", {
1404
1410
  key: 2,
1405
1411
  d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1406
1412
  fill: s.handleIconColor || s.textColor,
1407
1413
  stroke: "none",
1408
1414
  opacity: "0.6"
1409
- }, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
1410
- ], 64)) : d("", !0),
1411
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
1412
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
1415
+ }, null, 8, st)) : f("", !0)], 8, it))], 8, rt)) : f("", !0)
1416
+ ], 64)) : f("", !0),
1417
+ e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 7 }, [s.minimapMerged ? (_(), p("g", ct, [
1418
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), p("circle", {
1413
1419
  key: 0,
1414
1420
  cx: H.value.firstPlot.x,
1415
1421
  cy: H.value.firstPlot.y,
@@ -1417,15 +1423,15 @@ var Se = ["data-minimap"], Ce = {
1417
1423
  stroke: P.value,
1418
1424
  r: "4",
1419
1425
  fill: s.minimapLineColor
1420
- }, null, 8, ut)) : d("", !0),
1421
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
1426
+ }, null, 8, lt)) : f("", !0),
1427
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), p("circle", {
1422
1428
  key: 1,
1423
1429
  cx: H.value.firstPlot.x,
1424
1430
  cy: H.value.firstPlot.y,
1425
1431
  r: 2,
1426
1432
  fill: P.value
1427
- }, null, 8, dt)) : d("", !0),
1428
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
1433
+ }, null, 8, ut)) : f("", !0),
1434
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), p("circle", {
1429
1435
  key: 2,
1430
1436
  cx: H.value.lastPlot.x,
1431
1437
  cy: H.value.lastPlot.y,
@@ -1433,16 +1439,16 @@ var Se = ["data-minimap"], Ce = {
1433
1439
  stroke: P.value,
1434
1440
  r: "4",
1435
1441
  fill: s.minimapLineColor
1436
- }, null, 8, ft)) : d("", !0),
1437
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
1442
+ }, null, 8, dt)) : f("", !0),
1443
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), p("circle", {
1438
1444
  key: 3,
1439
1445
  cx: H.value.lastPlot.x,
1440
1446
  cy: H.value.lastPlot.y,
1441
1447
  r: "2",
1442
1448
  fill: P.value
1443
- }, null, 8, pt)) : d("", !0)
1444
- ])) : (g(), f("g", mt, [(g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1445
- e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1449
+ }, null, 8, ft)) : f("", !0)
1450
+ ])) : (_(), p("g", pt, [(_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), p("g", { key: String(e.key) }, [
1451
+ e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
1446
1452
  key: 0,
1447
1453
  d: `M ${e.selectionSet}`,
1448
1454
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1451,8 +1457,8 @@ var Se = ["data-minimap"], Ce = {
1451
1457
  "stroke-linecap": "round",
1452
1458
  "stroke-linejoin": "round",
1453
1459
  "stroke-dasharray": e.dashed ? "2 4" : 0
1454
- }, null, 8, ht)) : d("", !0),
1455
- e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1460
+ }, null, 8, mt)) : f("", !0),
1461
+ e.isVisible && s.cutNullValues ? (_(!0), p(u, { key: 1 }, y(e.selectionMarkers, (t) => (_(), p("circle", {
1456
1462
  key: `sel-dot-${e.key}-${t.i}`,
1457
1463
  cx: t.x,
1458
1464
  cy: t.y,
@@ -1460,8 +1466,8 @@ var Se = ["data-minimap"], Ce = {
1460
1466
  fill: e.color,
1461
1467
  stroke: P.value,
1462
1468
  "stroke-width": "0.5"
1463
- }, null, 8, gt))), 128)) : d("", !0),
1464
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1469
+ }, null, 8, ht))), 128)) : f("", !0),
1470
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
1465
1471
  key: 2,
1466
1472
  cx: e.firstPlot.x,
1467
1473
  cy: e.firstPlot.y,
@@ -1469,15 +1475,15 @@ var Se = ["data-minimap"], Ce = {
1469
1475
  stroke: P.value,
1470
1476
  r: "4",
1471
1477
  fill: e.color
1472
- }, null, 8, _t)) : d("", !0),
1473
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1478
+ }, null, 8, gt)) : f("", !0),
1479
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
1474
1480
  key: 3,
1475
1481
  cx: e.firstPlot.x,
1476
1482
  cy: e.firstPlot.y,
1477
1483
  r: "2",
1478
1484
  fill: P.value
1479
- }, null, 8, vt)) : d("", !0),
1480
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1485
+ }, null, 8, _t)) : f("", !0),
1486
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
1481
1487
  key: 4,
1482
1488
  cx: e.lastPlot.x,
1483
1489
  cy: e.lastPlot.y,
@@ -1485,15 +1491,15 @@ var Se = ["data-minimap"], Ce = {
1485
1491
  stroke: P.value,
1486
1492
  r: "4",
1487
1493
  fill: e.color
1488
- }, null, 8, yt)) : d("", !0),
1489
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1494
+ }, null, 8, vt)) : f("", !0),
1495
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
1490
1496
  key: 5,
1491
1497
  cx: e.lastPlot.x,
1492
1498
  cy: e.lastPlot.y,
1493
1499
  r: "2",
1494
1500
  fill: P.value
1495
- }, null, 8, bt)) : d("", !0)
1496
- ]))), 128)), (g(!0), f(l, null, v(U.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), f("circle", {
1501
+ }, null, 8, yt)) : f("", !0)
1502
+ ]))), 128)), (_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", { key: String(e.key) }, [(_(!0), p(u, null, y(e.points, (t) => (_(), p("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (_(), p("circle", {
1497
1503
  key: `sel-plot-${e.key}-${t.i}`,
1498
1504
  cx: t.x,
1499
1505
  cy: t.y,
@@ -1501,176 +1507,176 @@ var Se = ["data-minimap"], Ce = {
1501
1507
  fill: e.color,
1502
1508
  stroke: P.value,
1503
1509
  "stroke-width": "0.5"
1504
- }, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1505
- ], 8, Ee))])) : d("", !0),
1506
- p("div", {
1510
+ }, null, 8, bt)) : f("", !0)]))), 256))]))), 128))]))], 64))
1511
+ ], 8, Te))])) : f("", !0),
1512
+ m("div", {
1507
1513
  class: "slider-track",
1508
- style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
1514
+ style: g({ visibility: T.value && s.minimapCompact ? "hidden" : "visible" })
1509
1515
  }, null, 4),
1510
- p("div", {
1511
- class: m({
1516
+ m("div", {
1517
+ class: h({
1512
1518
  "range-highlight": !0,
1513
1519
  move: s.enableSelectionDrag
1514
1520
  }),
1515
1521
  onMousedown: t[2] ||= (e) => X.value = !0,
1516
1522
  onMouseup: t[3] ||= (e) => X.value = !1,
1517
- style: h({
1523
+ style: g({
1518
1524
  ...N.value,
1519
1525
  cursor: X.value ? "grabbing" : "grab",
1520
- visibility: w.value && s.minimapCompact ? "hidden" : "visible"
1526
+ visibility: T.value && s.minimapCompact ? "hidden" : "visible"
1521
1527
  })
1522
1528
  }, null, 38),
1523
- s.enableRangeHandles ? ye((g(), f("input", {
1529
+ s.enableRangeHandles ? ve((_(), p("input", {
1524
1530
  key: 1,
1525
1531
  "aria-label": "range-handle-left",
1526
1532
  ref_key: "rangeStart",
1527
- ref: zn,
1533
+ ref: Bn,
1528
1534
  type: "range",
1529
1535
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1530
- class: m({
1536
+ class: h({
1531
1537
  "range-left": !0,
1532
1538
  "range-handle": !0,
1533
- "range-minimap": w.value && s.verticalHandles,
1534
- "range-invisible": w.value && s.minimapCompact
1539
+ "range-minimap": T.value && s.verticalHandles,
1540
+ "range-invisible": T.value && s.minimapCompact
1535
1541
  }),
1536
1542
  min: s.min,
1537
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1538
- tabindex: w.value ? -1 : 0,
1539
- "onUpdate:modelValue": t[4] ||= (e) => An.value = e,
1540
- onFocus: t[5] ||= (e) => w.value && e.target.blur(),
1541
- onInput: t[6] ||= (e) => An.value = e.target.valueAsNumber,
1543
+ max: s.minimapCompact && T.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1544
+ tabindex: T.value ? -1 : 0,
1545
+ "onUpdate:modelValue": t[4] ||= (e) => jn.value = e,
1546
+ onFocus: t[5] ||= (e) => T.value && e.target.blur(),
1547
+ onInput: t[6] ||= (e) => jn.value = e.target.valueAsNumber,
1542
1548
  onChange: j,
1543
- onKeyup: be(j, ["enter"]),
1549
+ onKeyup: ye(j, ["enter"]),
1544
1550
  onBlur: j,
1545
- onMouseenter: t[7] ||= (e) => br("start"),
1551
+ onMouseenter: t[7] ||= (e) => xr("start"),
1546
1552
  onPointerup: j
1547
- }, null, 42, St)), [[
1548
- ve,
1549
- An.value,
1553
+ }, null, 42, xt)), [[
1554
+ _e,
1555
+ jn.value,
1550
1556
  void 0,
1551
1557
  { number: !0 }
1552
- ]]) : d("", !0),
1553
- s.enableRangeHandles ? ye((g(), f("input", {
1558
+ ]]) : f("", !0),
1559
+ s.enableRangeHandles ? ve((_(), p("input", {
1554
1560
  key: 2,
1555
1561
  "aria-label": "range-handle-right",
1556
1562
  ref_key: "rangeEnd",
1557
- ref: Bn,
1563
+ ref: Vn,
1558
1564
  type: "range",
1559
1565
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1560
- class: m({
1566
+ class: h({
1561
1567
  "range-right": !0,
1562
1568
  "range-handle": !0,
1563
- "range-minimap": w.value && s.verticalHandles,
1564
- "range-invisible": w.value && s.minimapCompact
1569
+ "range-minimap": T.value && s.verticalHandles,
1570
+ "range-invisible": T.value && s.minimapCompact
1565
1571
  }),
1566
1572
  min: s.min,
1567
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1568
- tabindex: w.value ? -1 : 0,
1569
- onFocus: t[8] ||= (e) => w.value && e.target.blur(),
1570
- "onUpdate:modelValue": t[9] ||= (e) => jn.value = e,
1571
- onInput: t[10] ||= (e) => jn.value = e.target.valueAsNumber,
1573
+ max: s.minimapCompact && T.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1574
+ tabindex: T.value ? -1 : 0,
1575
+ onFocus: t[8] ||= (e) => T.value && e.target.blur(),
1576
+ "onUpdate:modelValue": t[9] ||= (e) => Mn.value = e,
1577
+ onInput: t[10] ||= (e) => Mn.value = e.target.valueAsNumber,
1572
1578
  onChange: j,
1573
- onKeyup: be(j, ["enter"]),
1579
+ onKeyup: ye(j, ["enter"]),
1574
1580
  onBlur: j,
1575
- onMouseenter: t[11] ||= (e) => br("end"),
1581
+ onMouseenter: t[11] ||= (e) => xr("end"),
1576
1582
  onPointerup: j
1577
- }, null, 42, Ct)), [[
1578
- ve,
1579
- jn.value,
1583
+ }, null, 42, St)), [[
1584
+ _e,
1585
+ Mn.value,
1580
1586
  void 0,
1581
1587
  { number: !0 }
1582
- ]]) : d("", !0),
1583
- w.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
1584
- xmlns: ge(re),
1588
+ ]]) : f("", !0),
1589
+ T.value && s.minimapCompact ? (_(), p("div", Ct, [(_(), p("svg", {
1590
+ xmlns: he(re),
1585
1591
  viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
1586
- }, [p("rect", ce({
1592
+ }, [m("rect", se({
1587
1593
  class: "vue-ui-zoom-compact-minimap-handle",
1588
- x: Kr.value,
1594
+ x: qr.value,
1589
1595
  y: 0,
1590
1596
  width: $.value,
1591
1597
  height: I.value.height,
1592
1598
  fill: "transparent",
1593
1599
  stroke: "none"
1594
- }, Ir.value, {
1595
- onKeydown: t[12] ||= (e) => Fr("start", e),
1596
- onMousedown: t[13] ||= xe((e) => Ur("start", e), ["stop", "prevent"]),
1597
- onClick: t[14] ||= xe(() => {}, ["stop", "prevent"])
1598
- }), null, 16, Et), p("rect", ce({
1600
+ }, Lr.value, {
1601
+ onKeydown: t[12] ||= (e) => Ir("start", e),
1602
+ onMousedown: t[13] ||= be((e) => Wr("start", e), ["stop", "prevent"]),
1603
+ onClick: t[14] ||= be(() => {}, ["stop", "prevent"])
1604
+ }), null, 16, Tt), m("rect", se({
1599
1605
  class: "vue-ui-zoom-compact-minimap-handle",
1600
- x: qr.value,
1606
+ x: Jr.value,
1601
1607
  y: 0,
1602
1608
  width: $.value,
1603
1609
  height: I.value.height,
1604
1610
  fill: "transparent",
1605
1611
  stroke: "none",
1606
1612
  rx: 3
1607
- }, Lr.value, {
1608
- onKeydown: t[15] ||= (e) => Fr("end", e),
1609
- onMousedown: t[16] ||= xe((e) => Ur("end", e), ["stop", "prevent"]),
1610
- onClick: t[17] ||= xe(() => {}, ["stop", "prevent"])
1611
- }), null, 16, Dt)], 8, Tt))])) : d("", !0),
1612
- Q.value.left ? (g(), f("div", {
1613
+ }, Rr.value, {
1614
+ onKeydown: t[15] ||= (e) => Ir("end", e),
1615
+ onMousedown: t[16] ||= be((e) => Wr("end", e), ["stop", "prevent"]),
1616
+ onClick: t[17] ||= be(() => {}, ["stop", "prevent"])
1617
+ }), null, 16, Et)], 8, wt))])) : f("", !0),
1618
+ Q.value.left ? (_(), p("div", {
1613
1619
  key: 4,
1614
1620
  ref_key: "tooltipLeft",
1615
- ref: pr,
1616
- class: m({
1621
+ ref: mr,
1622
+ class: h({
1617
1623
  "range-tooltip": !0,
1618
1624
  "range-tooltip-visible": Z.value,
1619
1625
  "range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
1620
1626
  "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles
1621
1627
  }),
1622
- style: h({
1628
+ style: g({
1623
1629
  left: N.value.tooltipLeft,
1624
- color: ge(ne)(s.selectColor),
1630
+ color: he(ne)(s.selectColor),
1625
1631
  backgroundColor: s.selectColor,
1626
1632
  border: `1px solid ${P.value}`,
1627
- zIndex: `${yr.value + 4}`,
1628
- visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1629
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1633
+ zIndex: `${br.value + 4}`,
1634
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1635
+ top: T.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1630
1636
  })
1631
- }, he(Q.value.left), 7)) : d("", !0),
1632
- (xr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1637
+ }, me(Q.value.left), 7)) : f("", !0),
1638
+ (Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (_(), p("div", {
1633
1639
  key: 5,
1634
1640
  ref: "tooltipMerge",
1635
- class: m({
1641
+ class: h({
1636
1642
  "range-tooltip": !0,
1637
1643
  "range-tooltip-visible": Z.value,
1638
1644
  "range-tooltip-arrow": !0,
1639
1645
  "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles,
1640
1646
  "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1641
1647
  }),
1642
- style: h({
1648
+ style: g({
1643
1649
  left: N.value.tooltipCenter,
1644
- width: Sr.value.width + "px",
1645
- color: ge(ne)(s.selectColor),
1650
+ width: Cr.value.width + "px",
1651
+ color: he(ne)(s.selectColor),
1646
1652
  backgroundColor: s.selectColor,
1647
1653
  border: `1px solid ${P.value}`,
1648
1654
  zIndex: "4",
1649
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1655
+ top: T.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1650
1656
  })
1651
- }, he(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1652
- Q.value.right ? (g(), f("div", {
1657
+ }, me(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : f("", !0),
1658
+ Q.value.right ? (_(), p("div", {
1653
1659
  key: 6,
1654
1660
  ref_key: "tooltipRight",
1655
- ref: mr,
1656
- class: m({
1661
+ ref: hr,
1662
+ class: h({
1657
1663
  "range-tooltip": !0,
1658
1664
  "range-tooltip-visible": Z.value,
1659
1665
  "range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
1660
1666
  "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1661
1667
  }),
1662
- style: h({
1668
+ style: g({
1663
1669
  left: N.value.tooltipRight,
1664
- color: ge(ne)(s.selectColor),
1670
+ color: he(ne)(s.selectColor),
1665
1671
  backgroundColor: s.selectColor,
1666
1672
  border: `1px solid ${P.value}`,
1667
1673
  zIndex: "4",
1668
- visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1669
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1674
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1675
+ top: T.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1670
1676
  })
1671
- }, he(Q.value.right), 7)) : d("", !0)
1672
- ], 36)], 44, Se));
1677
+ }, me(Q.value.right), 7)) : f("", !0)
1678
+ ], 36)], 44, xe));
1673
1679
  }
1674
- }, [["__scopeId", "data-v-9797fb0f"]]);
1680
+ }, [["__scopeId", "data-v-cfe327a9"]]);
1675
1681
  //#endregion
1676
- export { kt as t };
1682
+ export { Ot as t };