vue-data-ui 3.22.11 → 3.22.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (148) hide show
  1. package/dist/{PackageVersion-1MNr72Bz.js → PackageVersion-B6Hokxw9.js} +1 -1
  2. package/dist/{SlicerPreview-BIdvqU32.js → SlicerPreview-Cw6WMVhG.js} +434 -434
  3. package/dist/{UserOptions-B69xBEVP.js → UserOptions-DzAFK9cY.js} +438 -438
  4. package/dist/components/vue-ui-3d-bar.js +1 -1
  5. package/dist/components/vue-ui-accordion.js +1 -1
  6. package/dist/components/vue-ui-age-pyramid.js +1 -1
  7. package/dist/components/vue-ui-annotator.js +1 -1
  8. package/dist/components/vue-ui-bullet.js +1 -1
  9. package/dist/components/vue-ui-bump.js +1 -1
  10. package/dist/components/vue-ui-candlestick.js +1 -1
  11. package/dist/components/vue-ui-carousel-table.js +1 -1
  12. package/dist/components/vue-ui-chestnut.js +1 -1
  13. package/dist/components/vue-ui-chord.js +1 -1
  14. package/dist/components/vue-ui-circle-pack.js +1 -1
  15. package/dist/components/vue-ui-cursor.js +1 -1
  16. package/dist/components/vue-ui-dag.js +1 -1
  17. package/dist/components/vue-ui-dashboard.js +1 -1
  18. package/dist/components/vue-ui-digits.js +1 -1
  19. package/dist/components/vue-ui-donut-evolution.js +1 -1
  20. package/dist/components/vue-ui-donut.js +1 -1
  21. package/dist/components/vue-ui-dumbbell.js +1 -1
  22. package/dist/components/vue-ui-flow.js +1 -1
  23. package/dist/components/vue-ui-funnel.js +1 -1
  24. package/dist/components/vue-ui-galaxy.js +1 -1
  25. package/dist/components/vue-ui-gauge.js +1 -1
  26. package/dist/components/vue-ui-geo.js +1 -1
  27. package/dist/components/vue-ui-gizmo.js +1 -1
  28. package/dist/components/vue-ui-heatmap.js +1 -1
  29. package/dist/components/vue-ui-history-plot.js +1 -1
  30. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  31. package/dist/components/vue-ui-kpi.js +1 -1
  32. package/dist/components/vue-ui-molecule.js +1 -1
  33. package/dist/components/vue-ui-mood-radar.js +1 -1
  34. package/dist/components/vue-ui-nested-donuts.js +1 -1
  35. package/dist/components/vue-ui-onion.js +1 -1
  36. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  37. package/dist/components/vue-ui-quadrant.js +1 -1
  38. package/dist/components/vue-ui-quick-chart.js +1 -1
  39. package/dist/components/vue-ui-radar.js +1 -1
  40. package/dist/components/vue-ui-relation-circle.js +1 -1
  41. package/dist/components/vue-ui-ridgeline.js +1 -1
  42. package/dist/components/vue-ui-rings.js +1 -1
  43. package/dist/components/vue-ui-scatter.js +1 -1
  44. package/dist/components/vue-ui-skeleton.js +1 -1
  45. package/dist/components/vue-ui-spark-trend.js +1 -1
  46. package/dist/components/vue-ui-sparkbar.js +1 -1
  47. package/dist/components/vue-ui-sparkgauge.js +1 -1
  48. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  49. package/dist/components/vue-ui-sparkline.js +1 -1
  50. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  51. package/dist/components/vue-ui-stackbar.js +1 -1
  52. package/dist/components/vue-ui-stackline.js +1 -1
  53. package/dist/components/vue-ui-strip-plot.js +1 -1
  54. package/dist/components/vue-ui-table-heatmap.js +1 -1
  55. package/dist/components/vue-ui-table-sparkline.js +1 -1
  56. package/dist/components/vue-ui-table.js +1 -1
  57. package/dist/components/vue-ui-thermometer.js +1 -1
  58. package/dist/components/vue-ui-timer.js +1 -1
  59. package/dist/components/vue-ui-tiremarks.js +1 -1
  60. package/dist/components/vue-ui-treemap.js +1 -1
  61. package/dist/components/vue-ui-vertical-bar.js +1 -1
  62. package/dist/components/vue-ui-waffle.js +1 -1
  63. package/dist/components/vue-ui-wheel.js +1 -1
  64. package/dist/components/vue-ui-word-cloud.js +1 -1
  65. package/dist/components/vue-ui-world.js +1 -1
  66. package/dist/components/vue-ui-xy-canvas.js +1 -1
  67. package/dist/components/vue-ui-xy.js +1 -1
  68. package/dist/{package-Bf-Nk9qU.js → package-DmDydylu.js} +1 -1
  69. package/dist/{render-common-DEb-WjM1.js → render-common-BIG8JYGK.js} +1 -1
  70. package/dist/ssr/vue-ui-donut.js +1 -1
  71. package/dist/ssr/vue-ui-xy.js +1 -1
  72. package/dist/ssr.js +2 -2
  73. package/dist/style.css +1 -1
  74. package/dist/types/composables.d.ts +28 -11
  75. package/dist/types/vue-data-ui.d.ts +26 -9
  76. package/dist/useMountedDelay-BAjrhRJb.js +14 -0
  77. package/dist/{vue-data-ui-Bme9usjG.js → vue-data-ui-rkzh6EkO.js} +64 -64
  78. package/dist/vue-data-ui.js +64 -64
  79. package/dist/{vue-ui-3d-bar-Ds1BPxqb.js → vue-ui-3d-bar-D5xHEWr1.js} +1 -1
  80. package/dist/vue-ui-accordion-UA88lv4d.js +81 -0
  81. package/dist/{vue-ui-age-pyramid-CNCrH8Kd.js → vue-ui-age-pyramid-CAJg01c7.js} +1 -1
  82. package/dist/{vue-ui-annotator-BfZ8RTzJ.js → vue-ui-annotator-q3ZKx6ua.js} +1 -1
  83. package/dist/{vue-ui-bullet-DscMmM2b.js → vue-ui-bullet-ByeaWGfI.js} +1 -1
  84. package/dist/{vue-ui-bump-BvwU1_-N.js → vue-ui-bump-BS7RCf0Z.js} +1 -1
  85. package/dist/{vue-ui-candlestick-Cp6r8ktf.js → vue-ui-candlestick-BZSGDKrM.js} +470 -470
  86. package/dist/{vue-ui-carousel-table-CbtccW1g.js → vue-ui-carousel-table-DO5NRXvX.js} +1 -1
  87. package/dist/{vue-ui-chestnut-C3Hmf1-m.js → vue-ui-chestnut-BfeSPeEh.js} +1 -1
  88. package/dist/{vue-ui-chord-DJk9j45J.js → vue-ui-chord-D6G7ceE-.js} +1 -1
  89. package/dist/{vue-ui-circle-pack-CJe2wETT.js → vue-ui-circle-pack-Cqmlw7AV.js} +3 -6
  90. package/dist/{vue-ui-cursor-BAi9omna.js → vue-ui-cursor-BpN5MsXM.js} +1 -1
  91. package/dist/{vue-ui-dag-D7BEbS71.js → vue-ui-dag-BzgOgXzU.js} +1 -1
  92. package/dist/{vue-ui-dashboard-BYFQjwgC.js → vue-ui-dashboard-DLvGJXJY.js} +63 -64
  93. package/dist/{vue-ui-digits-Bx8nZl9d.js → vue-ui-digits-OMPrn8fb.js} +1 -1
  94. package/dist/{vue-ui-donut-BUX4ybT6.js → vue-ui-donut-Cp5NbZ1r.js} +1 -1
  95. package/dist/{vue-ui-donut-jXRV-3ON.js → vue-ui-donut-ZIRebAWc.js} +1 -1
  96. package/dist/{vue-ui-donut-evolution-MWDjQPQ5.js → vue-ui-donut-evolution-DHVi5rOn.js} +351 -355
  97. package/dist/{vue-ui-dumbbell-CnwsHaIy.js → vue-ui-dumbbell-gDYjU2oF.js} +1 -1
  98. package/dist/{vue-ui-flow-CKXGk4Lm.js → vue-ui-flow-BusUK3H0.js} +1 -1
  99. package/dist/{vue-ui-funnel-CJwD7s7e.js → vue-ui-funnel-BtaYaU0r.js} +1 -1
  100. package/dist/{vue-ui-galaxy-DL85_SWR.js → vue-ui-galaxy-BMp-HzDh.js} +1 -1
  101. package/dist/{vue-ui-gauge-Dkx-aUQr.js → vue-ui-gauge-CBou0cFE.js} +1 -1
  102. package/dist/{vue-ui-geo-fkLF1rHB.js → vue-ui-geo-CyFgFKlh.js} +1 -1
  103. package/dist/{vue-ui-gizmo-S8w_p769.js → vue-ui-gizmo-DdeXwCQp.js} +1 -1
  104. package/dist/{vue-ui-heatmap-Dopkbn2N.js → vue-ui-heatmap-D8-qJ7fg.js} +2 -2
  105. package/dist/{vue-ui-history-plot-DDYpEapS.js → vue-ui-history-plot-C2Aqk2ON.js} +1 -1
  106. package/dist/{vue-ui-horizontal-bar-Bi8WvKeD.js → vue-ui-horizontal-bar-BuwxI7d1.js} +2 -2
  107. package/dist/{vue-ui-kpi-BeJ-ajaS.js → vue-ui-kpi-ByxoO01r.js} +1 -1
  108. package/dist/{vue-ui-molecule-CBTgGZ-s.js → vue-ui-molecule-BqJJq49_.js} +1 -1
  109. package/dist/{vue-ui-mood-radar-CF83PcCx.js → vue-ui-mood-radar-BiOjxFEN.js} +1 -1
  110. package/dist/{vue-ui-nested-donuts-D5dO-Uyg.js → vue-ui-nested-donuts-Cl1HVvDp.js} +1 -1
  111. package/dist/{vue-ui-onion-BxjaQKo8.js → vue-ui-onion-CRQOxurS.js} +1 -1
  112. package/dist/{vue-ui-parallel-coordinate-plot-Dz6ozRAM.js → vue-ui-parallel-coordinate-plot-Dhn18RtR.js} +298 -301
  113. package/dist/{vue-ui-quadrant-Bnxpa6m5.js → vue-ui-quadrant-B21LkUc8.js} +1 -1
  114. package/dist/{vue-ui-quick-chart-CAE0-NYj.js → vue-ui-quick-chart-DAhSXYnp.js} +600 -625
  115. package/dist/{vue-ui-radar-O4BhBOyp.js → vue-ui-radar-CyzAyVos.js} +1 -1
  116. package/dist/{vue-ui-relation-circle-BZ0Xf-Nc.js → vue-ui-relation-circle-Cb33DMZo.js} +5 -11
  117. package/dist/{vue-ui-ridgeline-DHVTPiM6.js → vue-ui-ridgeline-D7aArzQk.js} +1 -1
  118. package/dist/{vue-ui-rings-DAfY1V--.js → vue-ui-rings-FtcdX8xl.js} +1 -1
  119. package/dist/vue-ui-scatter-Cp_-2ahf.js +2409 -0
  120. package/dist/{vue-ui-skeleton-DoIqQtIV.js → vue-ui-skeleton-COytVrfN.js} +1 -1
  121. package/dist/{vue-ui-spark-trend-Db-FsXch.js → vue-ui-spark-trend-DC2KUlEY.js} +1 -1
  122. package/dist/{vue-ui-sparkbar-Ce55FP_3.js → vue-ui-sparkbar-DdxQOFIF.js} +48 -51
  123. package/dist/{vue-ui-sparkgauge-hB59dXm7.js → vue-ui-sparkgauge-DTA-fORH.js} +1 -1
  124. package/dist/{vue-ui-sparkhistogram-DjnaStBw.js → vue-ui-sparkhistogram-D1oFTrvt.js} +1 -1
  125. package/dist/{vue-ui-sparkline-D1dyhLvG.js → vue-ui-sparkline-DcR_N-zT.js} +1 -1
  126. package/dist/{vue-ui-sparkstackbar-BhOBFjts.js → vue-ui-sparkstackbar-BlFio0lP.js} +1 -1
  127. package/dist/vue-ui-stackbar-Cu13EdVa.js +2322 -0
  128. package/dist/{vue-ui-stackline-DLFNVbAz.js → vue-ui-stackline-DKL0o_-3.js} +572 -570
  129. package/dist/vue-ui-strip-plot-NLCwYvyw.js +1736 -0
  130. package/dist/{vue-ui-table-DL_R4ppI.js → vue-ui-table-AM9brdwU.js} +2 -2
  131. package/dist/{vue-ui-table-heatmap-C9gF__Np.js → vue-ui-table-heatmap-CSI482KG.js} +4 -10
  132. package/dist/{vue-ui-table-sparkline-CT-0w9-a.js → vue-ui-table-sparkline-BE6DAvur.js} +1 -1
  133. package/dist/{vue-ui-thermometer-MP0dliC3.js → vue-ui-thermometer-D6Czx7Fb.js} +1 -1
  134. package/dist/{vue-ui-timer-B5S-6Da4.js → vue-ui-timer-BZM5ITG9.js} +1 -1
  135. package/dist/{vue-ui-tiremarks-DcJiLDsm.js → vue-ui-tiremarks-BCncDpHX.js} +1 -1
  136. package/dist/{vue-ui-treemap-CjldCPnX.js → vue-ui-treemap-BOEYCOdk.js} +3 -6
  137. package/dist/{vue-ui-waffle-dZM-9z1J.js → vue-ui-waffle-BrM8IHdG.js} +1 -1
  138. package/dist/{vue-ui-wheel-or7a6-Ce.js → vue-ui-wheel-BNsajigQ.js} +1 -1
  139. package/dist/{vue-ui-word-cloud-8BwQ0cuB.js → vue-ui-word-cloud-D7R7nhk1.js} +1 -1
  140. package/dist/{vue-ui-world-Q0KZb7A_.js → vue-ui-world-DZBt-07p.js} +1 -1
  141. package/dist/{vue-ui-xy-DZIs53tH.js → vue-ui-xy-CluEZ7lS.js} +1253 -1251
  142. package/dist/{vue-ui-xy-4uzwZJcj.js → vue-ui-xy-Dt_1bSBT.js} +1 -1
  143. package/dist/{vue-ui-xy-canvas-Dz9aii7f.js → vue-ui-xy-canvas-7YSYRdwr.js} +3 -3
  144. package/package.json +2 -2
  145. package/dist/vue-ui-accordion-nNxnZTg9.js +0 -81
  146. package/dist/vue-ui-scatter-Cb63SWJT.js +0 -2421
  147. package/dist/vue-ui-stackbar-BZKw8WYn.js +0 -2340
  148. package/dist/vue-ui-strip-plot-DyN2WELD.js +0 -1735
@@ -3,67 +3,67 @@ import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
4
4
  import { t as oe } from "./BaseIcon-CP5RWnqt.js";
5
5
  import { t as se } from "./DefGrad-DVBqDjhO.js";
6
- import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, mergeProps as le, nextTick as ue, normalizeClass as m, normalizeProps as de, normalizeStyle as h, onBeforeUnmount as fe, onMounted as pe, onUpdated as me, openBlock as g, ref as _, renderList as v, renderSlot as he, toDisplayString as ge, unref as _e, useCssVars as ve, vModelText as ye, watch as be, withDirectives as xe, withKeys as Se, withModifiers as Ce } from "vue";
6
+ import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as fe, normalizeProps as pe, normalizeStyle as m, onBeforeUnmount as me, onMounted as he, onUpdated as ge, openBlock as h, ref as g, renderList as _, renderSlot as _e, toDisplayString as ve, unref as ye, useCssVars as be, vModelText as xe, watch as v, withDirectives as Se, withKeys as Ce, withModifiers as we } from "vue";
7
7
  //#region src/atoms/SlicerPreview.vue
8
- var we = ["data-minimap"], Te = {
8
+ var Te = ["data-minimap"], Ee = {
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
- }, Ee = {
15
+ }, De = {
16
16
  key: 0,
17
17
  style: {
18
18
  width: "100%",
19
19
  position: "relative",
20
20
  "pointer-events": "all"
21
21
  }
22
- }, De = {
22
+ }, Oe = {
23
23
  key: 0,
24
24
  class: "minimap",
25
25
  style: { width: "100%" }
26
- }, Oe = ["xmlns", "viewBox"], ke = ["id"], Ae = [
26
+ }, ke = ["xmlns", "viewBox"], Ae = ["id"], je = [
27
27
  "x",
28
28
  "width",
29
29
  "height"
30
- ], je = [
30
+ ], Me = [
31
31
  "width",
32
32
  "height",
33
33
  "stroke"
34
- ], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
34
+ ], Ne = ["d", "stroke"], Pe = ["d", "fill"], Fe = [
35
35
  "x",
36
36
  "y",
37
37
  "width",
38
38
  "height",
39
39
  "fill"
40
- ], Fe = [
40
+ ], Ie = [
41
41
  "d",
42
42
  "stroke",
43
43
  "stroke-dasharray"
44
- ], Ie = [
44
+ ], Le = [
45
45
  "cx",
46
46
  "cy",
47
47
  "fill",
48
48
  "stroke"
49
- ], Le = [
49
+ ], Re = [
50
50
  "cx",
51
51
  "cy",
52
52
  "fill",
53
53
  "stroke"
54
- ], Re = [
54
+ ], ze = [
55
55
  "x",
56
56
  "width",
57
57
  "height",
58
58
  "fill",
59
59
  "rx"
60
- ], ze = [
60
+ ], Be = [
61
61
  "x",
62
62
  "width",
63
63
  "height",
64
64
  "rx",
65
65
  "fill"
66
- ], Be = [
66
+ ], Ve = [
67
67
  "x",
68
68
  "width",
69
69
  "height",
@@ -73,128 +73,128 @@ var we = ["data-minimap"], Te = {
73
73
  "aria-valuemax",
74
74
  "aria-valuenow",
75
75
  "aria-valuetext"
76
- ], Ve = [
76
+ ], He = [
77
77
  "x2",
78
78
  "y1",
79
79
  "y2",
80
80
  "stroke"
81
- ], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
81
+ ], Ue = { key: "merged-tree" }, We = ["d", "stroke"], Ge = [
82
82
  "cx",
83
83
  "cy",
84
84
  "stroke",
85
85
  "fill"
86
- ], Ge = [
86
+ ], Ke = [
87
87
  "cx",
88
88
  "cy",
89
89
  "stroke",
90
90
  "fill"
91
- ], Ke = { key: "split-tree" }, qe = [
91
+ ], qe = { key: "split-tree" }, Je = [
92
92
  "x",
93
93
  "y",
94
94
  "width",
95
95
  "height",
96
96
  "fill"
97
- ], Je = [
97
+ ], Ye = [
98
98
  "d",
99
99
  "stroke",
100
100
  "stroke-dasharray"
101
- ], Ye = [
101
+ ], Xe = [
102
102
  "cx",
103
103
  "cy",
104
104
  "fill",
105
105
  "stroke"
106
- ], Xe = ["width", "height"], Ze = [
106
+ ], Ze = ["width", "height"], Qe = [
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
+ ], $e = ["transform"], et = ["width", "height"], tt = ["fill", "stroke"], nt = ["stroke"], rt = ["fill"], it = [
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
+ ], at = ["transform"], ot = ["width", "height"], st = ["fill", "stroke"], ct = ["stroke"], lt = ["fill"], ut = {
121
121
  key: "merged-tree",
122
122
  style: { "pointer-events": "none" }
123
- }, ut = [
123
+ }, dt = [
124
124
  "cx",
125
125
  "cy",
126
126
  "stroke",
127
127
  "fill"
128
- ], dt = [
128
+ ], ft = [
129
129
  "cx",
130
130
  "cy",
131
131
  "fill"
132
- ], ft = [
132
+ ], pt = [
133
133
  "cx",
134
134
  "cy",
135
135
  "stroke",
136
136
  "fill"
137
- ], pt = [
137
+ ], mt = [
138
138
  "cx",
139
139
  "cy",
140
140
  "fill"
141
- ], mt = {
141
+ ], ht = {
142
142
  key: 1,
143
143
  style: { "pointer-events": "none" }
144
- }, ht = [
144
+ }, gt = [
145
145
  "d",
146
146
  "stroke",
147
147
  "stroke-dasharray"
148
- ], gt = [
148
+ ], _t = [
149
149
  "cx",
150
150
  "cy",
151
151
  "fill",
152
152
  "stroke"
153
- ], _t = [
153
+ ], vt = [
154
154
  "cx",
155
155
  "cy",
156
156
  "stroke",
157
157
  "fill"
158
- ], vt = [
158
+ ], yt = [
159
159
  "cx",
160
160
  "cy",
161
161
  "fill"
162
- ], yt = [
162
+ ], bt = [
163
163
  "cx",
164
164
  "cy",
165
165
  "stroke",
166
166
  "fill"
167
- ], bt = [
167
+ ], xt = [
168
168
  "cx",
169
169
  "cy",
170
170
  "fill"
171
- ], xt = [
171
+ ], St = [
172
172
  "cx",
173
173
  "cy",
174
174
  "fill",
175
175
  "stroke"
176
- ], St = [
176
+ ], Ct = [
177
177
  "step",
178
178
  "min",
179
179
  "max",
180
180
  "tabindex"
181
- ], Ct = [
181
+ ], wt = [
182
182
  "step",
183
183
  "min",
184
184
  "max",
185
185
  "tabindex"
186
- ], wt = {
186
+ ], Tt = {
187
187
  key: 3,
188
188
  class: "minimap-handle-overlay"
189
- }, Tt = ["xmlns", "viewBox"], Et = [
189
+ }, Et = ["xmlns", "viewBox"], Dt = [
190
190
  "x",
191
191
  "width",
192
192
  "height"
193
- ], Dt = [
193
+ ], Ot = [
194
194
  "x",
195
195
  "width",
196
196
  "height"
197
- ], Ot = 48, kt = /*#__PURE__*/ s({
197
+ ], kt = 48, At = /*#__PURE__*/ s({
198
198
  __name: "SlicerPreview",
199
199
  props: {
200
200
  uuid: {
@@ -422,107 +422,107 @@ var we = ["data-minimap"], Te = {
422
422
  "trapMouse",
423
423
  "trapMouseValue"
424
424
  ],
425
- setup(s, { expose: kt, emit: At }) {
426
- ve((e) => ({
427
- v387ab4e8: rn.value,
425
+ setup(s, { expose: At, emit: jt }) {
426
+ be((e) => ({
427
+ v387ab4e8: an.value,
428
428
  v7bb82e00: N.value,
429
- v42303b71: on.value,
429
+ v42303b71: sn.value,
430
430
  v5bed6f30: s.selectColor,
431
- v99127c84: an.value,
431
+ v99127c84: on.value,
432
432
  v27b98ef0: y.additionalMinimapHeight
433
433
  }));
434
434
  let y = s;
435
- function jt(e) {
435
+ function Mt(e) {
436
436
  let t = Number(e) || 0;
437
437
  return y.precision <= 0 ? Math.round(t) : Number(t.toFixed(y.precision));
438
438
  }
439
- let b = _(null), x = _(y.min), S = _(y.max), C = u(() => !!y.allMinimaps.length), Mt = _(r()), w = _(!1), T = u(() => C.value && y.minimapCompact), E = _(null), Nt = _(!1), Pt = _(0), Ft = _(0), It = _(null), Lt = _(!1), Rt = u(() => E.value !== null), zt = u(() => y.useValueRange ? S.value : S.value - 1), Bt = u(() => Math.max(1, Number(y.max) - Number(y.min)));
440
- function Vt(e) {
441
- return (Number(e) - Number(y.min)) / Bt.value * 100;
442
- }
439
+ let b = g(null), x = g(y.min), S = g(y.max), C = u(() => !!y.allMinimaps.length), Nt = g(r()), w = g(!1), T = u(() => C.value && y.minimapCompact), E = g(null), Pt = g(!1), Ft = g(0), It = g(0), Lt = g(null), Rt = g(!1), zt = u(() => E.value !== null), Bt = u(() => y.useValueRange ? S.value : S.value - 1), Vt = u(() => Math.max(1, Number(y.max) - Number(y.min)));
443
440
  function Ht(e) {
444
- return F.value.width * (Vt(e) / 100);
441
+ return (Number(e) - Number(y.min)) / Vt.value * 100;
445
442
  }
446
443
  function Ut(e) {
447
- let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
448
- return jt(Number(y.min) + Bt.value * t);
444
+ return F.value.width * (Ht(e) / 100);
449
445
  }
450
446
  function Wt(e) {
447
+ let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
448
+ return Mt(Number(y.min) + Vt.value * t);
449
+ }
450
+ function Gt(e) {
451
451
  let t = y.useValueRange ? e?.y : e;
452
452
  return a(t) ? Number(t) : null;
453
453
  }
454
- function Gt(e, t) {
454
+ function Kt(e, t) {
455
455
  return y.useValueRange ? Number(e?.x) : t + Number(y.min);
456
456
  }
457
- function Kt(e, t) {
458
- return y.useValueRange ? Ht(Gt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
457
+ function qt(e, t) {
458
+ return y.useValueRange ? Ut(Kt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
459
459
  }
460
- let qt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Jt = _(0), Yt = c((e) => j("futureStart", e), 0), Xt = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
460
+ let Jt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Yt = g(0), Xt = c((e) => j("futureStart", e), 0), Zt = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
461
461
  get: () => x.value,
462
462
  set(e) {
463
463
  let t = Math.min(Number(e), Number(S.value) - D.value);
464
- t !== x.value && (x.value = t, Bn.value && (Bn.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Yt(t));
464
+ t !== x.value && (x.value = t, Vn.value && (Vn.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Xt(t));
465
465
  }
466
466
  }), k = u({
467
467
  get: () => S.value,
468
468
  set(e) {
469
469
  let t = Math.max(Number(e), Number(x.value) + D.value);
470
- t !== S.value && (S.value = t, Vn.value && (Vn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && Xt(t));
470
+ t !== S.value && (S.value = t, Hn.value && (Hn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && Zt(t));
471
471
  }
472
472
  });
473
473
  function A() {
474
474
  clearTimeout(null), y.immediate || (j("update:start", Number(x.value)), j("update:end", Number(S.value))), w.value = !1;
475
475
  }
476
- let Zt = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = At, Qt = u(() => {
477
- if (y.useValueRange) return Vt(x.value);
476
+ let Qt = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = jt, $t = u(() => {
477
+ if (y.useValueRange) return Ht(x.value);
478
478
  if (T.value) {
479
479
  let e = Math.max(1, L.value - 1);
480
- return jn.value / e * 100;
480
+ return Mn.value / e * 100;
481
481
  }
482
482
  let e = Math.max(1, y.max - y.min);
483
483
  return (x.value - y.min) / e * 100;
484
- }), $t = u(() => {
485
- if (y.useValueRange) return Vt(S.value);
484
+ }), en = u(() => {
485
+ if (y.useValueRange) return Ht(S.value);
486
486
  if (T.value) {
487
487
  let e = Math.max(1, L.value - 1);
488
- return Mn.value / e * 100;
488
+ return Nn.value / e * 100;
489
489
  }
490
490
  let e = Math.max(1, y.max - y.min);
491
491
  return (S.value - y.min) / e * 100;
492
- }), en = u(() => (Qt.value + $t.value) / 2), tn = u(() => {
492
+ }), tn = u(() => ($t.value + en.value) / 2), nn = u(() => {
493
493
  if (!b.value) return !1;
494
494
  let e = Math.max(1, y.max - y.min);
495
- return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - hr.value / 2 < 0;
496
- }), nn = u(() => {
495
+ return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - gr.value / 2 < 0;
496
+ }), rn = u(() => {
497
497
  if (!b.value) return !1;
498
498
  let e = Math.max(1, y.max - y.min), t = b.value.getBoundingClientRect().width;
499
- return t * ((S.value - y.min) / e) + gr.value / 2 > t;
499
+ return t * ((S.value - y.min) / e) + _r.value / 2 > t;
500
500
  }), M = u(() => {
501
- let e = nn.value ? `calc(${en.value}% - ${Sr.value.width}px)` : tn.value ? `calc(${en.value}% - 8px)` : `calc(${en.value}% - ${Sr.value.width / 2}px)`;
501
+ let e = rn.value ? `calc(${tn.value}% - ${Cr.value.width}px)` : nn.value ? `calc(${tn.value}% - 8px)` : `calc(${tn.value}% - ${Cr.value.width / 2}px)`;
502
502
  return {
503
- left: `${Qt.value}%`,
504
- width: `${Math.max(0, $t.value - Qt.value)}%`,
503
+ left: `${$t.value}%`,
504
+ width: `${Math.max(0, en.value - $t.value)}%`,
505
505
  background: y.selectColor,
506
- tooltipLeft: `calc(${Qt.value}% - ${tn.value ? 9 : hr.value / 2}px)`,
507
- tooltipRight: `calc(${$t.value}% - ${nn.value ? gr.value - 9 : gr.value / 2}px)`,
506
+ tooltipLeft: `calc(${$t.value}% - ${nn.value ? 9 : gr.value / 2}px)`,
507
+ tooltipRight: `calc(${en.value}% - ${rn.value ? _r.value - 9 : _r.value / 2}px)`,
508
508
  tooltipCenter: e,
509
- arrowLeft: !tn.value,
510
- arrowRight: !nn.value
509
+ arrowLeft: !nn.value,
510
+ arrowRight: !rn.value
511
511
  };
512
- }), rn = u(() => y.inputColor), an = u(() => y.background), on = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), sn = u(() => Number(y.max) > Number(y.min));
513
- function cn() {
512
+ }), an = u(() => y.inputColor), on = u(() => y.background), sn = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), cn = u(() => Number(y.max) > Number(y.min));
513
+ function ln() {
514
514
  j("reset");
515
515
  }
516
- be(() => y.min, (e) => {
516
+ v(() => y.min, (e) => {
517
517
  Number(x.value) < Number(e) && (x.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
518
- }), be(() => y.max, (e) => {
518
+ }), v(() => y.max, (e) => {
519
519
  Number(x.value) > Number(e) && (x.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
520
520
  });
521
- let P = _(null), F = _({
521
+ let P = g(null), F = g({
522
522
  width: 1,
523
523
  height: 1
524
- }), I = _(null);
525
- pe(() => {
524
+ }), I = g(null);
525
+ he(() => {
526
526
  if (C.value) {
527
527
  let e = c(() => {
528
528
  if (!P.value) return;
@@ -531,35 +531,35 @@ var we = ["data-minimap"], Te = {
531
531
  }, 0);
532
532
  I.value = new ResizeObserver(e), I.value.observe(P.value);
533
533
  }
534
- }), fe(() => {
534
+ }), me(() => {
535
535
  I.value && I.value.disconnect();
536
536
  });
537
537
  let L = u(() => Math.max(1, y.max - y.min));
538
- function ln(e) {
538
+ function un(e) {
539
539
  let t = Math.floor(e - y.min);
540
540
  return Math.min(Math.max(0, t), L.value);
541
541
  }
542
- function un(e) {
542
+ function dn(e) {
543
543
  let t = Math.ceil(e - y.min);
544
544
  return Math.min(Math.max(0, t), L.value);
545
545
  }
546
- let R = u(() => ln(x.value)), z = u(() => un(S.value)), dn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), fn = u(() => C.value && y.minimapCompact ? 40 : 0), pn = u(() => fn.value / 2);
547
- u(() => Math.max(1, F.value.width - pn.value * 2));
546
+ let R = u(() => un(x.value)), z = u(() => dn(S.value)), fn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), pn = u(() => C.value && y.minimapCompact ? 40 : 0), mn = u(() => pn.value / 2);
547
+ u(() => Math.max(1, F.value.width - mn.value * 2));
548
548
  let B = u(() => {
549
549
  if (y.minimapCompact && !y.useValueRange) return F.value.width / Math.max(1, L.value - 1);
550
- let e = Math.max(1, dn.value - +!!y.minimapCompact);
550
+ let e = Math.max(1, fn.value - +!!y.minimapCompact);
551
551
  return F.value.width / e;
552
- }), mn = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), hn = u(() => B.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;
552
+ }), hn = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), gn = u(() => B.value / (hn.value || 1) * .8);
553
+ function _n(e, t, n) {
554
+ let r = gn.value, i = Math.max(1, hn.value), a = fn.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 _n(e, t) {
558
- return [0, dn.value - 1].includes(t) ? hn.value / 2 : hn.value;
557
+ function vn(e, t) {
558
+ return [0, fn.value - 1].includes(t) ? gn.value / 2 : gn.value;
559
559
  }
560
- let vn = u(() => {
560
+ let yn = u(() => {
561
561
  let e = [];
562
- if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(Wt).filter(Number.isFinite)), Array.isArray(y.allMinimaps) && y.allMinimaps.length) for (let t of y.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Wt).filter(Number.isFinite));
562
+ if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(Gt).filter(Number.isFinite)), Array.isArray(y.allMinimaps) && y.allMinimaps.length) for (let t of y.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Gt).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 we = ["data-minimap"], Te = {
567
567
  min: 0,
568
568
  max: 1
569
569
  };
570
- }), yn = u(() => {
570
+ }), bn = u(() => {
571
571
  if (y.minScale == null && y.forceZeroCenter) return null;
572
572
  let e = Number(y.minScale);
573
573
  return Number.isFinite(e) ? e : null;
574
- }), bn = u(() => {
574
+ }), xn = u(() => {
575
575
  if (y.maxScale == null && y.forceZeroCenter) return null;
576
576
  let e = Number(y.maxScale);
577
577
  return Number.isFinite(e) ? e : null;
578
- }), xn = u(() => yn.value !== null && bn.value !== null), Sn = u(() => {
579
- let { min: e, max: t } = vn.value, n = yn.value, r = bn.value, i, a;
578
+ }), Sn = u(() => bn.value !== null && xn.value !== null), Cn = u(() => {
579
+ let { min: e, max: t } = yn.value, n = bn.value, r = xn.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
- }), Cn = u(() => Sn.value.min), wn = u(() => Sn.value.max), Tn = u(() => Cn.value < 0 && wn.value > 0 || wn.value <= 0 ? Cn.value : 0), En = (e) => {
584
+ }), wn = u(() => Cn.value.min), Tn = u(() => Cn.value.max), En = u(() => wn.value < 0 && Tn.value > 0 || Tn.value <= 0 ? wn.value : 0), Dn = (e) => {
585
585
  let t = Math.max(1, F.value.height);
586
- return On(Cn.value, wn.value, t, xn.value)(e);
587
- }, Dn = u(() => En(0));
588
- function On(e, t, n, r = !1) {
586
+ return kn(wn.value, Tn.value, t, Sn.value)(e);
587
+ }, On = u(() => Dn(0));
588
+ function kn(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 we = ["data-minimap"], Te = {
599
599
  return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
600
600
  }
601
601
  }
602
- function kn(n, r = !1, a = !1) {
602
+ function An(n, r = !1, a = !1) {
603
603
  if (!n || !n.length) return {
604
604
  fullSet: "",
605
605
  points: [],
@@ -613,8 +613,8 @@ var we = ["data-minimap"], Te = {
613
613
  selectionMarkers: [],
614
614
  dashed: !1
615
615
  };
616
- let ee = Math.max(1, F.value.height), te = On(Cn.value, wn.value, ee, xn.value), ne = n.length, s = Math.min(Math.max(0, R.value), Math.max(0, ne - 1)), ie = Math.min(ne, Math.max(s + 1, z.value)), c = n.map((e, t) => {
617
- let n = Wt(e), r = Number.isFinite(n), i = Kt(e, t), a = xn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Cn.value, wn.value) : 0, o = te(a);
616
+ let ee = Math.max(1, F.value.height), te = kn(wn.value, Tn.value, ee, Sn.value), ne = n.length, s = Math.min(Math.max(0, R.value), Math.max(0, ne - 1)), ie = Math.min(ne, Math.max(s + 1, z.value)), c = n.map((e, t) => {
617
+ let n = Gt(e), r = Number.isFinite(n), i = qt(e, t), a = Sn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, wn.value, Tn.value) : 0, o = te(a);
618
618
  return {
619
619
  x: i,
620
620
  y: r ? te(n) : NaN,
@@ -622,7 +622,7 @@ var we = ["data-minimap"], Te = {
622
622
  value: r ? n : null,
623
623
  y0: o,
624
624
  i: t,
625
- xValue: Gt(e, t)
625
+ xValue: Kt(e, t)
626
626
  };
627
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)), se = y.useValueRange ? oe.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = y.useValueRange ? c.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : c.slice(s, ie);
628
628
  return {
@@ -638,8 +638,8 @@ var we = ["data-minimap"], Te = {
638
638
  selectionMarkers: se
639
639
  };
640
640
  }
641
- let V = u(() => y.minimap.length ? kn(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
642
- let n = kn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
641
+ let V = u(() => y.minimap.length ? An(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
642
+ let n = An(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,
@@ -652,7 +652,7 @@ var we = ["data-minimap"], Te = {
652
652
  };
653
653
  }) : []), U = u(() => {
654
654
  if (y.useValueRange) {
655
- let e = Ht(x.value), t = Ht(S.value);
655
+ let e = Ut(x.value), t = Ut(S.value);
656
656
  return {
657
657
  x: e,
658
658
  width: Math.max(0, t - e)
@@ -663,68 +663,68 @@ var we = ["data-minimap"], Te = {
663
663
  x: B.value * e + (y.minimapCompact ? 0 : B.value / 2),
664
664
  width: B.value * (t - e) - B.value
665
665
  };
666
- }), W = _(y.minimapSelectedIndex), An = (e) => Math.round(y.min + e), jn = u({
666
+ }), W = g(y.minimapSelectedIndex), jn = (e) => Math.round(y.min + e), Mn = u({
667
667
  get() {
668
668
  return T.value ? R.value : Number(O.value);
669
669
  },
670
670
  set(e) {
671
671
  if (T.value) {
672
672
  if (y.useValueRange) {
673
- let t = jt(e);
674
- Wn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
673
+ let t = Mt(e);
674
+ Gn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
675
675
  return;
676
676
  }
677
677
  let t = Math.round(+e || 0);
678
- Wn(An(t));
678
+ Gn(jn(t));
679
679
  } else {
680
- let t = jt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
681
- Bn.value && (Bn.value.valueAsNumber = r), Wn(r);
680
+ let t = Mt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
681
+ Vn.value && (Vn.value.valueAsNumber = r), Gn(r);
682
682
  }
683
683
  }
684
- }), Mn = u({
684
+ }), Nn = u({
685
685
  get() {
686
686
  return T.value ? Math.max(R.value, z.value - 1) : Number(k.value);
687
687
  },
688
688
  set(e) {
689
689
  if (T.value) {
690
690
  if (y.useValueRange) {
691
- let t = jt(e);
692
- Kn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
691
+ let t = Mt(e);
692
+ qn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
693
693
  return;
694
694
  }
695
695
  let t = Math.round(+e || 0);
696
- Kn(An(t + 1));
696
+ qn(jn(t + 1));
697
697
  } else {
698
- let t = jt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
699
- Vn.value && (Vn.value.valueAsNumber = r), Kn(r);
698
+ let t = Mt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
699
+ Hn.value && (Hn.value.valueAsNumber = r), qn(r);
700
700
  }
701
701
  }
702
- }), Nn = 0;
703
- function Pn(e, t) {
704
- if (t === Nn) {
702
+ }), Pn = 0;
703
+ function Fn(e, t) {
704
+ if (t === Pn) {
705
705
  if (y.useValueRange) {
706
- W.value = Number.isFinite(Number(e)) ? Ht(Number(e)) : null;
706
+ W.value = Number.isFinite(Number(e)) ? Ut(Number(e)) : null;
707
707
  return;
708
708
  }
709
- W.value = ln(y.valueStart) + e;
709
+ W.value = un(y.valueStart) + e;
710
710
  }
711
711
  }
712
- let Fn = ie(Pn, 60);
713
- be(() => y.minimapSelectedIndex, (e, t) => {
714
- if (Nn += 1, [null, void 0].includes(e)) {
712
+ let In = ie(Fn, 60);
713
+ v(() => y.minimapSelectedIndex, (e, t) => {
714
+ if (Pn += 1, [null, void 0].includes(e)) {
715
715
  W.value = null;
716
716
  return;
717
717
  }
718
- e !== t && Fn(e, Nn);
718
+ e !== t && In(e, Pn);
719
719
  }, { immediate: !0 });
720
- function In(e) {
721
- if (Rt.value) return;
720
+ function Ln(e) {
721
+ if (zt.value) return;
722
722
  W.value = e;
723
723
  let t = R.value, n = z.value;
724
724
  e >= t && e < n && !X.value && j("trapMouse", e - t);
725
725
  }
726
- function Ln(e) {
727
- let t = Ut(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
726
+ function Rn(e) {
727
+ let t = Wt(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
728
728
  point: e,
729
729
  index: n,
730
730
  x: Number(e?.x),
@@ -732,25 +732,25 @@ var we = ["data-minimap"], Te = {
732
732
  }))).filter((e) => Number.isFinite(e.x));
733
733
  return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
734
734
  }
735
- function Rn(e) {
736
- if (!sn.value || Rt.value) return;
737
- let t = Rr(e.clientX);
735
+ function zn(e) {
736
+ if (!cn.value || zt.value) return;
737
+ let t = zr(e.clientX);
738
738
  if (y.useValueRange) {
739
- let e = Ln(t);
739
+ let e = Rn(t);
740
740
  if (!e) {
741
- zn();
741
+ Bn();
742
742
  return;
743
743
  }
744
- W.value = Ht(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
744
+ W.value = Ut(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
745
745
  return;
746
746
  }
747
- In(zr(t));
747
+ Ln(Br(t));
748
748
  }
749
- function zn() {
750
- W.value = null, !Rt.value && (j("trapMouse", null), j("trapMouseValue", null));
749
+ function Bn() {
750
+ W.value = null, !zt.value && (j("trapMouse", null), j("trapMouseValue", null));
751
751
  }
752
- let Bn = _(null), Vn = _(null);
753
- function Hn(e) {
752
+ let Vn = g(null), Hn = g(null);
753
+ function Un(e) {
754
754
  if (typeof e == "object" && e && "target" in e) {
755
755
  let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
756
756
  return Number.isFinite(n) ? n : NaN;
@@ -758,32 +758,32 @@ var we = ["data-minimap"], Te = {
758
758
  let t = +e;
759
759
  return Number.isFinite(t) ? t : NaN;
760
760
  }
761
- let Un = 0;
762
- function Wn(e) {
761
+ let Wn = 0;
762
+ function Gn(e) {
763
763
  w.value = !0;
764
- let t = Hn(e);
765
- Number.isFinite(t) && (cancelAnimationFrame(Un), Un = requestAnimationFrame(() => {
764
+ let t = Un(e);
765
+ Number.isFinite(t) && (cancelAnimationFrame(Wn), Wn = requestAnimationFrame(() => {
766
766
  O.value = t;
767
767
  }));
768
768
  }
769
- let Gn = 0;
770
- function Kn(e) {
769
+ let Kn = 0;
770
+ function qn(e) {
771
771
  w.value = !0;
772
- let t = Hn(e);
773
- Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
772
+ let t = Un(e);
773
+ Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
774
774
  k.value = t;
775
775
  }));
776
776
  }
777
- fe(() => {
778
- cancelAnimationFrame(Un), cancelAnimationFrame(Gn);
777
+ me(() => {
778
+ cancelAnimationFrame(Wn), cancelAnimationFrame(Kn);
779
779
  });
780
- let qn = u(() => y.valueEnd - y.valueStart), Jn = u(() => qn.value < y.max - y.min), G = _(!1), Yn = _(null), Xn = u(() => (Jt.value - 48) / (y.max - y.min) * qn.value), Zn = u(() => Math.max(1, Jt.value - Ot - Xn.value)), Qn = u(() => Math.max(1, y.max - y.min - qn.value)), $n = u(() => Qn.value / Zn.value), er = _(0), tr = _(0), nr = _(0), rr = _(0), K = null, q = null, J = null, Y = null, ir = _(y.min);
781
- function ar(e) {
780
+ let Jn = u(() => y.valueEnd - y.valueStart), Yn = u(() => Jn.value < y.max - y.min), G = g(!1), Xn = g(null), Zn = u(() => (Yt.value - 48) / (y.max - y.min) * Jn.value), Qn = u(() => Math.max(1, Yt.value - kt - Zn.value)), $n = u(() => Math.max(1, y.max - y.min - Jn.value)), er = u(() => $n.value / Qn.value), tr = g(0), nr = g(0), rr = g(0), ir = g(0), K = null, q = null, J = null, Y = null, ar = g(y.min);
781
+ function or(e) {
782
782
  if (!b.value) return y.min;
783
- let t = b.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, y.max - y.min);
783
+ let t = b.value.getBoundingClientRect(), n = t.left + kt / 2, r = t.right - kt / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, y.max - y.min);
784
784
  return Math.round(y.min + a * o);
785
785
  }
786
- let or = async (e) => {
786
+ let sr = async (e) => {
787
787
  if (w.value = !0, Z.value = !0, !y.enableSelectionDrag) return;
788
788
  let t = e.type === "touchstart";
789
789
  t || e.stopPropagation();
@@ -791,93 +791,93 @@ var we = ["data-minimap"], Te = {
791
791
  if (!i || !(i instanceof Element) || i.classList?.contains("range-handle") || i.classList?.contains("vue-ui-zoom-compact-minimap-handle") || i.closest(".vue-ui-zoom-compact-minimap-handle")) return;
792
792
  G.value = !0;
793
793
  let a = t ? r ? r.clientX : 0 : e.clientX;
794
- if (Yn.value = a, er.value = a, y.focusOnDrag && !Jn.value && b.value && !Lt.value) {
795
- Lt.value = !0;
794
+ if (Xn.value = a, tr.value = a, y.focusOnDrag && !Yn.value && b.value && !Rt.value) {
795
+ Rt.value = !0;
796
796
  try {
797
- ir.value = ar(a);
798
- let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), r = Math.max(1, Math.round(t * e)), i = Math.floor(r / 2), o = ir.value - i;
797
+ ar.value = or(a);
798
+ let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), r = Math.max(1, Math.round(t * e)), i = Math.floor(r / 2), o = ar.value - i;
799
799
  o = Math.max(Number(y.min), Math.min(o, Number(y.max) - r));
800
800
  let ee = Math.min(Number(y.max), o + r);
801
- O.value = o, k.value = ee, Yt(o), Xt(ee), n(b.value, "mouseup"), await ue(), n(b.value, "mousedown", { clientX: a });
801
+ O.value = o, k.value = ee, Xt(o), Zt(ee), n(b.value, "mouseup"), await de(), n(b.value, "mousedown", { clientX: a });
802
802
  } finally {
803
- Lt.value = !1;
803
+ Rt.value = !1;
804
804
  }
805
805
  return;
806
806
  }
807
- tr.value = x.value, nr.value = S.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);
807
+ nr.value = x.value, rr.value = S.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);
808
808
  };
809
- function sr(e) {
810
- G.value && lr(e.clientX);
811
- }
812
809
  function cr(e) {
810
+ G.value && ur(e.clientX);
811
+ }
812
+ function lr(e) {
813
813
  if (!G.value || !b.value) return;
814
814
  let t = e.target;
815
815
  if (!(t instanceof Element) || !b.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
816
816
  e.preventDefault();
817
817
  let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
818
- n && lr(n.clientX);
818
+ n && ur(n.clientX);
819
819
  }
820
- function lr(e) {
820
+ function ur(e) {
821
821
  if (!G.value) return;
822
- let t = ar(er.value), n = ar(e) - t, r = Math.round(tr.value + n);
823
- r = Math.max(y.min, Math.min(r, y.max - qn.value));
824
- let i = r + qn.value;
825
- O.value = r, k.value = i, Yt(r), Xt(i);
826
- }
827
- function ur() {
828
- fr();
822
+ let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
823
+ r = Math.max(y.min, Math.min(r, y.max - Jn.value));
824
+ let i = r + Jn.value;
825
+ O.value = r, k.value = i, Xt(r), Zt(i);
829
826
  }
830
827
  function dr() {
831
- fr();
828
+ pr();
832
829
  }
833
830
  function fr() {
834
- G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
831
+ pr();
835
832
  }
836
- let X = _(!1), pr = _(null), mr = _(null), hr = _(1), gr = _(1), Z = _(!1);
837
- function _r() {
838
- if (pr.value) {
839
- let e = Math.round(pr.value.getBoundingClientRect().width);
840
- e !== hr.value && (hr.value = e);
841
- }
833
+ function pr() {
834
+ G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
842
835
  }
836
+ let X = g(!1), mr = g(null), hr = g(null), gr = g(1), _r = g(1), Z = g(!1);
843
837
  function vr() {
844
838
  if (mr.value) {
845
839
  let e = Math.round(mr.value.getBoundingClientRect().width);
846
840
  e !== gr.value && (gr.value = e);
847
841
  }
848
842
  }
849
- me(() => {
850
- _r(), vr();
843
+ function yr() {
844
+ if (hr.value) {
845
+ let e = Math.round(hr.value.getBoundingClientRect().width);
846
+ e !== _r.value && (_r.value = e);
847
+ }
848
+ }
849
+ ge(() => {
850
+ vr(), yr();
851
851
  });
852
- let yr = _(0);
853
- function br(e) {
854
- yr.value = +(e === "start");
852
+ let br = g(0);
853
+ function xr(e) {
854
+ br.value = +(e === "start");
855
855
  }
856
- let xr = _(!1), Sr = _({
856
+ let Sr = g(!1), Cr = g({
857
857
  width: 0,
858
858
  left: 0
859
859
  });
860
- be([x, S], async () => {
861
- if (await ue(), !pr.value || !mr.value) {
862
- xr.value = !1, Sr.value = {
860
+ v([x, S], async () => {
861
+ if (await de(), !mr.value || !hr.value) {
862
+ Sr.value = !1, Cr.value = {
863
863
  width: 0,
864
864
  left: 0
865
865
  };
866
866
  return;
867
867
  }
868
- let e = pr.value.getBoundingClientRect(), t = mr.value.getBoundingClientRect();
869
- xr.value = e.x + e.width > t.x;
868
+ let e = mr.value.getBoundingClientRect(), t = hr.value.getBoundingClientRect();
869
+ Sr.value = e.x + e.width > t.x;
870
870
  let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
871
- Sr.value = {
871
+ Cr.value = {
872
872
  width: i,
873
873
  left: a - i / 2
874
874
  };
875
- }), me(() => {
876
- _r(), vr();
877
- }), be(() => y.labelLeft, () => {
878
- ue(_r);
879
- }, { deep: !0 }), be(() => y.labelRight, () => {
880
- ue(vr);
875
+ }), ge(() => {
876
+ vr(), yr();
877
+ }), v(() => y.labelLeft, () => {
878
+ de(vr);
879
+ }, { deep: !0 }), v(() => y.labelRight, () => {
880
+ de(yr);
881
881
  }, { deep: !0 });
882
882
  let Q = u(() => {
883
883
  let e = "", t = "", n = !1;
@@ -889,10 +889,10 @@ var we = ["data-minimap"], Te = {
889
889
  timeLabel: y.preciseLabels[x.value],
890
890
  side: "left"
891
891
  }), i = y.customFormat({
892
- absoluteIndex: zt.value,
892
+ absoluteIndex: Bt.value,
893
893
  seriesIndex: -1,
894
894
  datapoint: y.selectedSeries,
895
- timeLabel: y.useValueRange ? null : y.preciseLabels[zt.value],
895
+ timeLabel: y.useValueRange ? null : y.preciseLabels[Bt.value],
896
896
  side: "right"
897
897
  });
898
898
  typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
@@ -900,7 +900,7 @@ var we = ["data-minimap"], Te = {
900
900
  n = !1;
901
901
  }
902
902
  if (!n) {
903
- let n = y.useValueRange ? { text: String(Math.round(x.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === x.value) : y.timeLabels.find((e) => e.absoluteIndex === x.value), r = y.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === zt.value) : y.timeLabels.find((e) => e.absoluteIndex === zt.value);
903
+ let n = y.useValueRange ? { text: String(Math.round(x.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === x.value) : y.timeLabels.find((e) => e.absoluteIndex === x.value), r = y.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === Bt.value) : y.timeLabels.find((e) => e.absoluteIndex === Bt.value);
904
904
  e = n ? n.text : "", t = r ? r.text : "";
905
905
  }
906
906
  return {
@@ -908,11 +908,11 @@ var we = ["data-minimap"], Te = {
908
908
  right: t
909
909
  };
910
910
  });
911
- fe(() => {
911
+ me(() => {
912
912
  I.value && I.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
913
913
  });
914
- let Cr = u(() => {
915
- if (!sn.value || W.value === null) return null;
914
+ let wr = u(() => {
915
+ if (!cn.value || W.value === null) return null;
916
916
  if (y.useValueRange) {
917
917
  let e = W.value;
918
918
  return e < U.value.x || e > U.value.x + U.value.width ? null : {
@@ -940,54 +940,54 @@ var we = ["data-minimap"], Te = {
940
940
  };
941
941
  }
942
942
  return null;
943
- }), wr = u(() => Number(x.value) < Number(S.value) - 1), Tr = u(() => Number(x.value) > Number(y.min)), Er = u(() => Number(S.value) < Number(y.max)), Dr = u(() => Number(S.value) > Number(x.value) + 1);
944
- function Or(e) {
943
+ }), Tr = u(() => Number(x.value) < Number(S.value) - 1), Er = u(() => Number(x.value) > Number(y.min)), Dr = u(() => Number(S.value) < Number(y.max)), Or = u(() => Number(S.value) > Number(x.value) + 1);
944
+ function kr(e) {
945
945
  let t = Number(x.value) + e;
946
- e > 0 && !wr.value || e < 0 && !Tr.value || (w.value = !0, O.value = t, A());
946
+ e > 0 && !Tr.value || e < 0 && !Er.value || (w.value = !0, O.value = t, A());
947
947
  }
948
- function kr(e) {
948
+ function Ar(e) {
949
949
  let t = Number(S.value) + e;
950
- e > 0 && !Er.value || e < 0 && !Dr.value || (w.value = !0, k.value = t, A());
950
+ e > 0 && !Dr.value || e < 0 && !Or.value || (w.value = !0, k.value = t, A());
951
951
  }
952
- let Ar = {
953
- plus: () => Or(1),
954
- minus: () => Or(-1),
955
- canPlus: wr,
956
- canMinus: Tr
957
- }, jr = {
952
+ let jr = {
958
953
  plus: () => kr(1),
959
954
  minus: () => kr(-1),
960
- canPlus: Er,
961
- canMinus: Dr
955
+ canPlus: Tr,
956
+ canMinus: Er
957
+ }, Mr = {
958
+ plus: () => Ar(1),
959
+ minus: () => Ar(-1),
960
+ canPlus: Dr,
961
+ canMinus: Or
962
962
  };
963
- function Mr(e) {
964
- if (!e || Nr(e.target)) return;
963
+ function Nr(e) {
964
+ if (!e || Pr(e.target)) return;
965
965
  let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
966
- !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Ar.plus(), jr.plus()) : (Ar.minus(), jr.minus()));
966
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (jr.plus(), Mr.plus()) : (jr.minus(), Mr.minus()));
967
967
  }
968
- function Nr(e) {
968
+ function Pr(e) {
969
969
  return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
970
970
  }
971
- function Pr(e) {
971
+ function Fr(e) {
972
972
  if (!C.value || !y.minimapCompact) return;
973
973
  let t = b.value;
974
974
  if (!t) return;
975
975
  let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
976
976
  r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
977
977
  }
978
- function Fr(e, t) {
979
- if (!t || Nr(t.target)) return;
978
+ function Ir(e, t) {
979
+ if (!t || Pr(t.target)) return;
980
980
  let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
981
- !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Ar.plus() : Ar.minus() : i ? jr.plus() : jr.minus(), ue(() => Pr(e)));
981
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? jr.plus() : jr.minus() : i ? Mr.plus() : Mr.minus(), de(() => Fr(e)));
982
982
  }
983
- let Ir = u(() => ({
983
+ let Lr = u(() => ({
984
984
  tabindex: 0,
985
985
  role: "slider",
986
986
  "aria-label": "Range start",
987
987
  "aria-valuemin": Number(y.min),
988
988
  "aria-valuemax": Math.max(Number(y.min), Number(S.value) - 1),
989
989
  "aria-valuenow": Number(x.value)
990
- })), Lr = u(() => ({
990
+ })), Rr = u(() => ({
991
991
  tabindex: 0,
992
992
  role: "slider",
993
993
  "aria-label": "Range end",
@@ -995,69 +995,69 @@ var we = ["data-minimap"], Te = {
995
995
  "aria-valuemax": Number(y.max),
996
996
  "aria-valuenow": Number(S.value)
997
997
  }));
998
- function Rr(e) {
999
- if (!It.value) return 0;
1000
- let t = It.value.getBoundingClientRect();
998
+ function zr(e) {
999
+ if (!Lt.value) return 0;
1000
+ let t = Lt.value.getBoundingClientRect();
1001
1001
  if (!t.width) return 0;
1002
1002
  let n = (e - t.left) / t.width;
1003
1003
  return Math.min(1, Math.max(0, n)) * F.value.width;
1004
1004
  }
1005
- function zr(e) {
1005
+ function Br(e) {
1006
1006
  let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
1007
1007
  return Math.min(t, Math.max(0, Math.round(r * t)));
1008
1008
  }
1009
- function Br(e) {
1009
+ function Vr(e) {
1010
1010
  let t = Math.min(Math.max(0, e), Math.max(1, F.value.width));
1011
1011
  if (y.useValueRange) {
1012
- let e = Ut(t);
1012
+ let e = Wt(t);
1013
1013
  if (E.value === "start") {
1014
1014
  let t = Math.min(e, Number(S.value) - D.value);
1015
- O.value = t, Yt(t);
1015
+ O.value = t, Xt(t);
1016
1016
  return;
1017
1017
  }
1018
1018
  if (E.value === "end") {
1019
1019
  let t = Math.max(Number(x.value) + D.value, e), n = Math.min(Number(y.max), t);
1020
- k.value = n, Xt(n);
1020
+ k.value = n, Zt(n);
1021
1021
  return;
1022
1022
  }
1023
1023
  }
1024
- let n = zr(t);
1024
+ let n = Br(t);
1025
1025
  if (E.value === "start") {
1026
1026
  let e = Math.min(y.min + n, Number(S.value) - 1);
1027
- O.value = e, Yt(e);
1027
+ O.value = e, Xt(e);
1028
1028
  return;
1029
1029
  }
1030
1030
  if (E.value === "end") {
1031
1031
  let e = Math.max(Number(x.value) + 1, y.min + n + 1), t = Math.min(y.max, e);
1032
- k.value = t, Xt(t);
1032
+ k.value = t, Zt(t);
1033
1033
  }
1034
1034
  }
1035
- function Vr(e) {
1035
+ function Hr(e) {
1036
1036
  if (!E.value || !P.value) return;
1037
- let t = e.clientX - Pt.value;
1038
- if (!Nt.value) {
1037
+ let t = e.clientX - Ft.value;
1038
+ if (!Pt.value) {
1039
1039
  if (Math.abs(t) < 4) return;
1040
- Nt.value = !0, w.value = !0, Z.value = !0;
1040
+ Pt.value = !0, w.value = !0, Z.value = !0;
1041
1041
  }
1042
- let n = Rr(e.clientX) - Ft.value;
1043
- Br(E.value === "start" ? n + qt.value : n);
1042
+ let n = zr(e.clientX) - It.value;
1043
+ Vr(E.value === "start" ? n + Jt.value : n);
1044
1044
  }
1045
- function Hr() {
1045
+ function Ur() {
1046
1046
  if (!E.value) return;
1047
- window.removeEventListener("mousemove", Vr, !0), window.removeEventListener("mouseup", Hr, !0);
1048
- let e = Nt.value;
1049
- E.value = null, Nt.value = !1, Pt.value = 0, Ft.value = 0, e && A();
1047
+ window.removeEventListener("mousemove", Hr, !0), window.removeEventListener("mouseup", Ur, !0);
1048
+ let e = Pt.value;
1049
+ E.value = null, Pt.value = !1, Ft.value = 0, It.value = 0, e && A();
1050
1050
  }
1051
- function Ur(e, t) {
1051
+ function Wr(e, t) {
1052
1052
  if (!C.value || !y.minimapCompact || !P.value) return;
1053
1053
  t.preventDefault(), t.stopPropagation(), W.value = null;
1054
- let n = Rr(t.clientX), r = e === "start" ? U.value.x - qt.value : U.value.x + U.value.width;
1055
- E.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Vr, !0), window.addEventListener("mouseup", Hr, !0);
1054
+ let n = zr(t.clientX), r = e === "start" ? U.value.x - Jt.value : U.value.x + U.value.width;
1055
+ E.value = e, Pt.value = !1, Ft.value = t.clientX, It.value = n - r, window.addEventListener("mousemove", Hr, !0), window.addEventListener("mouseup", Ur, !0);
1056
1056
  }
1057
- let Wr = u(() => R.value), Gr = u(() => Math.max(R.value, z.value - 1));
1057
+ let Gr = u(() => R.value), Kr = u(() => Math.max(R.value, z.value - 1));
1058
1058
  u(() => {
1059
1059
  if (!C.value || !y.minimapCompact || !y.allMinimaps.length) return [];
1060
- let e = Wr.value, t = Gr.value;
1060
+ let e = Gr.value, t = Kr.value;
1061
1061
  return H.value.flatMap((n) => {
1062
1062
  if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1063
1063
  let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
@@ -1074,32 +1074,32 @@ var we = ["data-minimap"], Te = {
1074
1074
  }), r;
1075
1075
  });
1076
1076
  });
1077
- let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), Kr = u(() => U.value.x - $.value), qr = u(() => U.value.x + U.value.width);
1078
- return kt({
1079
- setStartValue: Wn,
1080
- setEndValue: Kn
1081
- }), (e, t) => (g(), f("div", {
1077
+ let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), qr = u(() => U.value.x - $.value), Jr = u(() => U.value.x + U.value.width);
1078
+ return At({
1079
+ setStartValue: Gn,
1080
+ setEndValue: qn
1081
+ }), (e, t) => (h(), f("div", {
1082
1082
  "data-minimap": C.value,
1083
1083
  "data-dom-to-png-ignore": "",
1084
1084
  "data-dom-to-png-ignore-layout": "",
1085
- style: h([{ padding: "0 48px" }, {
1085
+ style: m([{ padding: "0 48px" }, {
1086
1086
  maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
1087
1087
  margin: s.maxWidth ? "0 auto" : void 0
1088
1088
  }]),
1089
1089
  class: "vue-data-ui-zoom",
1090
1090
  ref_key: "zoomWrapper",
1091
1091
  ref: b,
1092
- onMousedown: or,
1093
- onTouchstart: or
1094
- }, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Zt.value ? (g(), f("div", Ee, [he(e.$slots, "reset-action", { reset: cn }, () => [p("button", {
1092
+ onMousedown: sr,
1093
+ onTouchstart: sr
1094
+ }, [p("div", Ee, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Qt.value ? (h(), f("div", De, [_e(e.$slots, "reset-action", { reset: ln }, () => [p("button", {
1095
1095
  tabindex: "0",
1096
1096
  role: "button",
1097
1097
  class: "vue-data-ui-refresh-button",
1098
- style: h({
1098
+ style: m({
1099
1099
  top: C.value ? "36px" : "-16px",
1100
1100
  cursor: s.isCursorPointer ? "pointer" : "default"
1101
1101
  }),
1102
- onClick: cn
1102
+ onClick: ln
1103
1103
  }, [ce(oe, {
1104
1104
  name: "refresh",
1105
1105
  stroke: s.textColor
@@ -1107,24 +1107,24 @@ var we = ["data-minimap"], Te = {
1107
1107
  class: "double-range-slider",
1108
1108
  ref_key: "minimapWrapper",
1109
1109
  ref: P,
1110
- style: h([{ "z-index": "0" }, C.value ? {
1110
+ style: m([{ "z-index": "0" }, C.value ? {
1111
1111
  "--minimap-unit-px": B.value + "px",
1112
1112
  "--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
1113
1113
  } : void 0]),
1114
1114
  onMouseenter: t[18] ||= (e) => Z.value = !0,
1115
1115
  onMouseleave: t[19] ||= (e) => Z.value = !1
1116
1116
  }, [
1117
- C.value ? (g(), f("div", De, [(g(), f("svg", {
1117
+ C.value ? (h(), f("div", Oe, [(h(), f("svg", {
1118
1118
  ref_key: "minimapSvg",
1119
- ref: It,
1119
+ ref: Lt,
1120
1120
  key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1121
- xmlns: _e(ne),
1121
+ xmlns: ye(ne),
1122
1122
  viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
1123
1123
  preserveAspectRatio: "none"
1124
1124
  }, [
1125
1125
  p("defs", null, [ce(se, {
1126
1126
  t: "linear",
1127
- id: Mt.value,
1127
+ id: Nt.value,
1128
1128
  x1: "0%",
1129
1129
  y1: "0%",
1130
1130
  x2: "0%",
@@ -1138,13 +1138,13 @@ var we = ["data-minimap"], Te = {
1138
1138
  "transparent",
1139
1139
  0
1140
1140
  ]]
1141
- }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Mt.value}` }, [p("rect", {
1141
+ }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Nt.value}` }, [p("rect", {
1142
1142
  x: U.value.x,
1143
1143
  y: "0",
1144
1144
  width: Math.max(0, U.value.width),
1145
1145
  height: Math.max(F.value.height, 0)
1146
- }, null, 8, Ae)], 8, ke)]),
1147
- s.minimapCompact ? (g(), f("rect", {
1146
+ }, null, 8, je)], 8, Ae)]),
1147
+ s.minimapCompact ? (h(), f("rect", {
1148
1148
  key: 0,
1149
1149
  class: "vue-ui-zoom-minimap-frame",
1150
1150
  x: 0,
@@ -1154,8 +1154,8 @@ var we = ["data-minimap"], Te = {
1154
1154
  fill: "none",
1155
1155
  stroke: s.minimapFrameColor,
1156
1156
  rx: 3
1157
- }, null, 8, je)) : d("", !0),
1158
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1157
+ }, null, 8, Me)) : d("", !0),
1158
+ e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 1 }, [s.minimapMerged ? (h(), f("path", {
1159
1159
  key: 0,
1160
1160
  d: `M${V.value.fullSet}`,
1161
1161
  stroke: `${s.minimapLineColor}`,
@@ -1164,30 +1164,30 @@ var we = ["data-minimap"], Te = {
1164
1164
  "stroke-linecap": "round",
1165
1165
  "stroke-linejoin": "round",
1166
1166
  style: { opacity: "0.6" }
1167
- }, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1167
+ }, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (h(), f("path", {
1168
1168
  key: 1,
1169
1169
  d: `M${B.value / 2},${Math.max(F.value.height, 0)} ${V.value.fullSet} L${F.value.width - B.value / 2},${Math.max(F.value.height, 0)}Z`,
1170
- fill: `url(#${Mt.value})`,
1170
+ fill: `url(#${Nt.value})`,
1171
1171
  stroke: "none",
1172
1172
  style: { opacity: "0.6" }
1173
- }, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1174
- (g(!0), f(l, null, v(H.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", {
1173
+ }, null, 8, Pe)) : s.minimapMerged ? d("", !0) : (h(), f(l, { key: 2 }, [
1174
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (n, r) => (h(), f(l, null, [e && !isNaN(n.y) ? (h(), f("rect", {
1175
1175
  key: 0,
1176
- x: gn(n.x, t, r),
1176
+ x: _n(n.x, t, r),
1177
1177
  y: n.v >= 0 ? n.y : n.y0,
1178
- width: _n(t, r),
1178
+ width: vn(t, r),
1179
1179
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1180
1180
  fill: e.color,
1181
1181
  style: { opacity: .6 }
1182
- }, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
1183
- (g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1182
+ }, null, 8, Fe)) : d("", !0)], 64))), 256))]))), 256)),
1183
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e) => (h(), f("g", null, [e.isVisible ? (h(), f("path", {
1184
1184
  key: 0,
1185
1185
  d: `M ${e.fullSet}`,
1186
1186
  fill: "none",
1187
1187
  stroke: e.color,
1188
1188
  style: { opacity: "0.6" },
1189
1189
  "stroke-dasharray": e.dashed ? "2 4" : 0
1190
- }, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1190
+ }, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (h(!0), f(l, { key: 1 }, _(e.fullMarkers, (t) => (h(), f("circle", {
1191
1191
  key: `sel-dot-under-${e.key}-${t.i}`,
1192
1192
  cx: t.x,
1193
1193
  cy: t.y,
@@ -1196,8 +1196,8 @@ var we = ["data-minimap"], Te = {
1196
1196
  stroke: N.value,
1197
1197
  "stroke-width": "0.5",
1198
1198
  style: { opacity: "0.6" }
1199
- }, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
1200
- (g(!0), f(l, null, v(H.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", {
1199
+ }, null, 8, Le))), 128)) : d("", !0)]))), 256)),
1200
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (t) => (h(), f("g", null, [e.isVisible && t.value !== null ? (h(), f("circle", {
1201
1201
  key: `sel-plot-under-${e.key}-${t.i}`,
1202
1202
  cx: t.x,
1203
1203
  cy: t.y,
@@ -1206,7 +1206,7 @@ var we = ["data-minimap"], Te = {
1206
1206
  stroke: N.value,
1207
1207
  "stroke-width": "0.5",
1208
1208
  style: { opacity: "0.6" }
1209
- }, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
1209
+ }, null, 8, Re)) : d("", !0)]))), 256))]))), 256))
1210
1210
  ], 64))], 64)),
1211
1211
  p("rect", {
1212
1212
  x: U.value.x,
@@ -1216,7 +1216,7 @@ var we = ["data-minimap"], Te = {
1216
1216
  fill: N.value,
1217
1217
  rx: s.minimapSelectionRadius,
1218
1218
  stroke: "none"
1219
- }, null, 8, Re),
1219
+ }, null, 8, ze),
1220
1220
  p("rect", {
1221
1221
  x: U.value.x,
1222
1222
  y: 0,
@@ -1224,8 +1224,8 @@ var we = ["data-minimap"], Te = {
1224
1224
  height: Math.max(F.value.height, 0),
1225
1225
  rx: s.minimapSelectionRadius,
1226
1226
  fill: N.value,
1227
- style: h({ opacity: G.value || w.value ? 0 : 1 })
1228
- }, null, 12, ze),
1227
+ style: m({ opacity: G.value || w.value ? 0 : 1 })
1228
+ }, null, 12, Be),
1229
1229
  p("rect", {
1230
1230
  x: U.value.x,
1231
1231
  y: 0,
@@ -1233,7 +1233,7 @@ var we = ["data-minimap"], Te = {
1233
1233
  height: Math.max(F.value.height, 0),
1234
1234
  fill: s.minimapSelectedColor,
1235
1235
  rx: s.minimapSelectionRadius,
1236
- style: h({ opacity: s.minimapSelectedColorOpacity }),
1236
+ style: m({ opacity: s.minimapSelectedColorOpacity }),
1237
1237
  tabindex: "0",
1238
1238
  role: "slider",
1239
1239
  "aria-label": "Selected range",
@@ -1241,20 +1241,20 @@ var we = ["data-minimap"], Te = {
1241
1241
  "aria-valuemax": Number(y.max),
1242
1242
  "aria-valuenow": Number(x.value),
1243
1243
  "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1244
- onKeydown: Mr
1245
- }, null, 44, Be),
1246
- !s.minimapMerged && Tn.value < 0 ? (g(), f("line", {
1244
+ onKeydown: Nr
1245
+ }, null, 44, Ve),
1246
+ !s.minimapMerged && En.value < 0 ? (h(), f("line", {
1247
1247
  key: 2,
1248
1248
  class: "slicer-minimap-zero-line",
1249
1249
  x1: 0,
1250
1250
  x2: F.value.width,
1251
- y1: Dn.value,
1252
- y2: Dn.value,
1251
+ y1: On.value,
1252
+ y2: On.value,
1253
1253
  stroke: s.minimapFrameColor,
1254
1254
  "stroke-width": "0.5"
1255
- }, null, 8, Ve)) : d("", !0),
1256
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
1257
- V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
1255
+ }, null, 8, He)) : d("", !0),
1256
+ e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 3 }, [s.minimapMerged ? (h(), f("g", Ue, [
1257
+ V.value && V.value.sliced && V.value.sliced.length ? (h(), f(l, { key: 0 }, [V.value.selectionSet ? (h(), f("path", {
1258
1258
  key: 0,
1259
1259
  d: `M ${V.value.selectionSet}`,
1260
1260
  stroke: `${s.minimapLineColor}`,
@@ -1262,8 +1262,8 @@ var we = ["data-minimap"], Te = {
1262
1262
  "stroke-width": "2",
1263
1263
  "stroke-linecap": "round",
1264
1264
  "stroke-linejoin": "round"
1265
- }, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
1266
- V.value && V.value.firstPlot ? (g(), f("circle", {
1265
+ }, null, 8, We)) : d("", !0)], 64)) : d("", !0),
1266
+ V.value && V.value.firstPlot ? (h(), f("circle", {
1267
1267
  key: 1,
1268
1268
  cx: V.value.firstPlot.x,
1269
1269
  cy: V.value.firstPlot.y,
@@ -1271,8 +1271,8 @@ var we = ["data-minimap"], Te = {
1271
1271
  stroke: N.value,
1272
1272
  r: "3",
1273
1273
  fill: s.minimapLineColor
1274
- }, null, 8, We)) : d("", !0),
1275
- V.value && V.value.lastPlot ? (g(), f("circle", {
1274
+ }, null, 8, Ge)) : d("", !0),
1275
+ V.value && V.value.lastPlot ? (h(), f("circle", {
1276
1276
  key: 2,
1277
1277
  cx: V.value.lastPlot.x,
1278
1278
  cy: V.value.lastPlot.y,
@@ -1280,18 +1280,18 @@ var we = ["data-minimap"], Te = {
1280
1280
  stroke: N.value,
1281
1281
  r: "3",
1282
1282
  fill: s.minimapLineColor
1283
- }, null, 8, Ge)) : d("", !0)
1284
- ])) : (g(), f("g", Ke, [
1285
- (g(!0), f(l, null, v(H.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", {
1283
+ }, null, 8, Ke)) : d("", !0)
1284
+ ])) : (h(), f("g", qe, [
1285
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (n, r) => (h(), f(l, null, [e && !isNaN(n.y) ? (h(), f("rect", {
1286
1286
  key: 0,
1287
- x: gn(n.x, t, r),
1287
+ x: _n(n.x, t, r),
1288
1288
  y: n.v >= 0 ? n.y : n.y0,
1289
- width: _n(t, r),
1289
+ width: vn(t, r),
1290
1290
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1291
1291
  fill: e.color,
1292
- style: h({ opacity: +(r >= O.value && r < k.value) })
1293
- }, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
1294
- (g(!0), f(l, null, v(H.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", {
1292
+ style: m({ opacity: +(r >= O.value && r < k.value) })
1293
+ }, null, 12, Je)) : d("", !0)], 64))), 256))]))), 256)),
1294
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e, t) => (h(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (h(), f("path", {
1295
1295
  key: 0,
1296
1296
  d: `M ${e.selectionSet}`,
1297
1297
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1300,8 +1300,8 @@ var we = ["data-minimap"], Te = {
1300
1300
  "stroke-linecap": "round",
1301
1301
  "stroke-linejoin": "round",
1302
1302
  "stroke-dasharray": e.dashed ? "2 4" : 0
1303
- }, null, 8, Je)) : d("", !0)]))), 128)),
1304
- (g(!0), f(l, null, v(H.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", {
1303
+ }, null, 8, Ye)) : d("", !0)]))), 128)),
1304
+ (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", { key: String(e.key) }, [(h(!0), f(l, null, _(e.sliced, (t) => (h(), f("g", null, [e.isVisible && t.value !== null ? (h(), f("circle", {
1305
1305
  key: 0,
1306
1306
  cx: t.x,
1307
1307
  cy: t.y,
@@ -1310,31 +1310,31 @@ var we = ["data-minimap"], Te = {
1310
1310
  stroke: N.value,
1311
1311
  "stroke-width": "0.5",
1312
1312
  style: { opacity: "0.6" }
1313
- }, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
1313
+ }, null, 8, Xe)) : d("", !0)]))), 256))]))), 128))
1314
1314
  ]))], 64)),
1315
- e.$slots.slotMap ? he(e.$slots, "slotMap", de(le({ key: 4 }, {
1315
+ e.$slots.slotMap ? _e(e.$slots, "slotMap", pe(le({
1316
1316
  width: Math.max(0, F.value.width),
1317
1317
  height: Math.max(0, F.value.height),
1318
- zeroY: Dn.value,
1318
+ zeroY: On.value,
1319
1319
  unitW: Math.max(0, B.value)
1320
- })), void 0, !0) : d("", !0),
1321
- W.value !== null && !X.value ? (g(), f("line", de(le({ key: 5 }, Cr.value)), null, 16)) : d("", !0),
1320
+ })), void 0, !0, 4) : d("", !0),
1321
+ W.value !== null && !X.value ? (h(), f("line", pe(ue({ key: 5 }, wr.value)), null, 16)) : d("", !0),
1322
1322
  p("rect", {
1323
1323
  x: 0,
1324
1324
  y: 0,
1325
1325
  width: Math.max(0, F.value.width),
1326
1326
  height: Math.max(0, F.value.height),
1327
1327
  fill: "transparent",
1328
- style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1328
+ style: m([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1329
1329
  onMousedown: t[0] ||= (e) => X.value = !0,
1330
1330
  onMouseup: t[1] ||= (e) => X.value = !1,
1331
- onMousemove: Rn,
1332
- onMouseleave: zn
1333
- }, null, 44, Xe),
1334
- C.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1331
+ onMousemove: zn,
1332
+ onMouseleave: Bn
1333
+ }, null, 44, Ze),
1334
+ C.value && s.minimapCompact ? (h(), f(l, { key: 6 }, [
1335
1335
  p("rect", {
1336
1336
  class: "vue-ui-zoom-compact-minimap-handle",
1337
- x: Kr.value,
1337
+ x: qr.value,
1338
1338
  y: 0,
1339
1339
  width: $.value,
1340
1340
  height: F.value.height,
@@ -1342,18 +1342,18 @@ var we = ["data-minimap"], Te = {
1342
1342
  stroke: s.handleBorderColor || s.textColor,
1343
1343
  "stroke-width": s.handleBorderWidth,
1344
1344
  rx: 3
1345
- }, null, 8, Ze),
1346
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1345
+ }, null, 8, Qe),
1346
+ s.handleType && s.handleType !== "empty" ? (h(), f("g", {
1347
1347
  key: 0,
1348
1348
  class: "compact-handle-icon",
1349
- transform: `translate(${Kr.value}, 0)`,
1349
+ transform: `translate(${qr.value}, 0)`,
1350
1350
  style: { "pointer-events": "none" }
1351
- }, [(g(), f("svg", {
1351
+ }, [(h(), f("svg", {
1352
1352
  width: $.value,
1353
1353
  height: F.value.height,
1354
1354
  viewBox: "0 0 20 20",
1355
1355
  preserveAspectRatio: "xMidYMid meet"
1356
- }, [s.handleType === "arrow" ? (g(), f("path", {
1356
+ }, [s.handleType === "arrow" ? (h(), f("path", {
1357
1357
  key: 0,
1358
1358
  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",
1359
1359
  fill: N.value,
@@ -1361,7 +1361,7 @@ var we = ["data-minimap"], Te = {
1361
1361
  "stroke-width": .618,
1362
1362
  "stroke-linejoin": "round",
1363
1363
  "stroke-linecap": "round"
1364
- }, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
1364
+ }, null, 8, tt)) : s.handleType === "chevron" ? (h(), f("path", {
1365
1365
  key: 1,
1366
1366
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1367
1367
  fill: "none",
@@ -1369,16 +1369,16 @@ var we = ["data-minimap"], Te = {
1369
1369
  "stroke-width": .618,
1370
1370
  "stroke-linejoin": "round",
1371
1371
  "stroke-linecap": "round"
1372
- }, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
1372
+ }, null, 8, nt)) : s.handleType === "grab" ? (h(), f("path", {
1373
1373
  key: 2,
1374
1374
  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",
1375
1375
  fill: s.handleIconColor || s.textColor,
1376
1376
  stroke: "none",
1377
1377
  opacity: "0.6"
1378
- }, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
1378
+ }, null, 8, rt)) : d("", !0)], 8, et))], 8, $e)) : d("", !0),
1379
1379
  p("rect", {
1380
1380
  class: "vue-ui-zoom-compact-minimap-handle",
1381
- x: qr.value,
1381
+ x: Jr.value,
1382
1382
  y: 0,
1383
1383
  width: $.value,
1384
1384
  height: F.value.height,
@@ -1386,18 +1386,18 @@ var we = ["data-minimap"], Te = {
1386
1386
  stroke: s.handleBorderColor || s.textColor,
1387
1387
  "stroke-width": s.handleBorderWidth,
1388
1388
  rx: 3
1389
- }, null, 8, rt),
1390
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1389
+ }, null, 8, it),
1390
+ s.handleType && s.handleType !== "empty" ? (h(), f("g", {
1391
1391
  key: 1,
1392
1392
  class: "compact-handle-icon",
1393
- transform: `translate(${qr.value}, 0)`,
1393
+ transform: `translate(${Jr.value}, 0)`,
1394
1394
  style: { "pointer-events": "none" }
1395
- }, [(g(), f("svg", {
1395
+ }, [(h(), f("svg", {
1396
1396
  width: $.value,
1397
1397
  height: F.value.height,
1398
1398
  viewBox: "0 0 20 20",
1399
1399
  preserveAspectRatio: "xMidYMid meet"
1400
- }, [s.handleType === "arrow" ? (g(), f("path", {
1400
+ }, [s.handleType === "arrow" ? (h(), f("path", {
1401
1401
  key: 0,
1402
1402
  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",
1403
1403
  fill: N.value,
@@ -1405,7 +1405,7 @@ var we = ["data-minimap"], Te = {
1405
1405
  "stroke-width": .618,
1406
1406
  "stroke-linejoin": "round",
1407
1407
  "stroke-linecap": "round"
1408
- }, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
1408
+ }, null, 8, st)) : s.handleType === "chevron" ? (h(), f("path", {
1409
1409
  key: 1,
1410
1410
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1411
1411
  fill: "none",
@@ -1413,16 +1413,16 @@ var we = ["data-minimap"], Te = {
1413
1413
  "stroke-width": .618,
1414
1414
  "stroke-linejoin": "round",
1415
1415
  "stroke-linecap": "round"
1416
- }, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
1416
+ }, null, 8, ct)) : s.handleType === "grab" ? (h(), f("path", {
1417
1417
  key: 2,
1418
1418
  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",
1419
1419
  fill: s.handleIconColor || s.textColor,
1420
1420
  stroke: "none",
1421
1421
  opacity: "0.6"
1422
- }, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
1422
+ }, null, 8, lt)) : d("", !0)], 8, ot))], 8, at)) : d("", !0)
1423
1423
  ], 64)) : d("", !0),
1424
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
1425
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1424
+ e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 7 }, [s.minimapMerged ? (h(), f("g", ut, [
1425
+ V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (h(), f("circle", {
1426
1426
  key: 0,
1427
1427
  cx: V.value.firstPlot.x,
1428
1428
  cy: V.value.firstPlot.y,
@@ -1430,15 +1430,15 @@ var we = ["data-minimap"], Te = {
1430
1430
  stroke: N.value,
1431
1431
  r: "4",
1432
1432
  fill: s.minimapLineColor
1433
- }, null, 8, ut)) : d("", !0),
1434
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1433
+ }, null, 8, dt)) : d("", !0),
1434
+ V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (h(), f("circle", {
1435
1435
  key: 1,
1436
1436
  cx: V.value.firstPlot.x,
1437
1437
  cy: V.value.firstPlot.y,
1438
1438
  r: 2,
1439
1439
  fill: N.value
1440
- }, null, 8, dt)) : d("", !0),
1441
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1440
+ }, null, 8, ft)) : d("", !0),
1441
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (h(), f("circle", {
1442
1442
  key: 2,
1443
1443
  cx: V.value.lastPlot.x,
1444
1444
  cy: V.value.lastPlot.y,
@@ -1446,16 +1446,16 @@ var we = ["data-minimap"], Te = {
1446
1446
  stroke: N.value,
1447
1447
  r: "4",
1448
1448
  fill: s.minimapLineColor
1449
- }, null, 8, ft)) : d("", !0),
1450
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1449
+ }, null, 8, pt)) : d("", !0),
1450
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (h(), f("circle", {
1451
1451
  key: 3,
1452
1452
  cx: V.value.lastPlot.x,
1453
1453
  cy: V.value.lastPlot.y,
1454
1454
  r: "2",
1455
1455
  fill: N.value
1456
- }, null, 8, pt)) : d("", !0)
1457
- ])) : (g(), f("g", mt, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1458
- e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1456
+ }, null, 8, mt)) : d("", !0)
1457
+ ])) : (h(), f("g", ht, [(h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e, t) => (h(), f("g", { key: String(e.key) }, [
1458
+ e && e.hasSelection && e.selectionSet && e.isVisible ? (h(), f("path", {
1459
1459
  key: 0,
1460
1460
  d: `M ${e.selectionSet}`,
1461
1461
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1464,8 +1464,8 @@ var we = ["data-minimap"], Te = {
1464
1464
  "stroke-linecap": "round",
1465
1465
  "stroke-linejoin": "round",
1466
1466
  "stroke-dasharray": e.dashed ? "2 4" : 0
1467
- }, null, 8, ht)) : d("", !0),
1468
- e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1467
+ }, null, 8, gt)) : d("", !0),
1468
+ e.isVisible && s.cutNullValues ? (h(!0), f(l, { key: 1 }, _(e.selectionMarkers, (t) => (h(), f("circle", {
1469
1469
  key: `sel-dot-${e.key}-${t.i}`,
1470
1470
  cx: t.x,
1471
1471
  cy: t.y,
@@ -1473,8 +1473,8 @@ var we = ["data-minimap"], Te = {
1473
1473
  fill: e.color,
1474
1474
  stroke: N.value,
1475
1475
  "stroke-width": "0.5"
1476
- }, null, 8, gt))), 128)) : d("", !0),
1477
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1476
+ }, null, 8, _t))), 128)) : d("", !0),
1477
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (h(), f("circle", {
1478
1478
  key: 2,
1479
1479
  cx: e.firstPlot.x,
1480
1480
  cy: e.firstPlot.y,
@@ -1482,15 +1482,15 @@ var we = ["data-minimap"], Te = {
1482
1482
  stroke: N.value,
1483
1483
  r: "4",
1484
1484
  fill: e.color
1485
- }, null, 8, _t)) : d("", !0),
1486
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1485
+ }, null, 8, vt)) : d("", !0),
1486
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (h(), f("circle", {
1487
1487
  key: 3,
1488
1488
  cx: e.firstPlot.x,
1489
1489
  cy: e.firstPlot.y,
1490
1490
  r: "2",
1491
1491
  fill: N.value
1492
- }, null, 8, vt)) : d("", !0),
1493
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1492
+ }, null, 8, yt)) : d("", !0),
1493
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (h(), f("circle", {
1494
1494
  key: 4,
1495
1495
  cx: e.lastPlot.x,
1496
1496
  cy: e.lastPlot.y,
@@ -1498,15 +1498,15 @@ var we = ["data-minimap"], Te = {
1498
1498
  stroke: N.value,
1499
1499
  r: "4",
1500
1500
  fill: e.color
1501
- }, null, 8, yt)) : d("", !0),
1502
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1501
+ }, null, 8, bt)) : d("", !0),
1502
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (h(), f("circle", {
1503
1503
  key: 5,
1504
1504
  cx: e.lastPlot.x,
1505
1505
  cy: e.lastPlot.y,
1506
1506
  r: "2",
1507
1507
  fill: N.value
1508
- }, null, 8, bt)) : d("", !0)
1509
- ]))), 128)), (g(!0), f(l, null, v(H.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", {
1508
+ }, null, 8, xt)) : d("", !0)
1509
+ ]))), 128)), (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", { key: String(e.key) }, [(h(!0), f(l, null, _(e.points, (t) => (h(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (h(), f("circle", {
1510
1510
  key: `sel-plot-${e.key}-${t.i}`,
1511
1511
  cx: t.x,
1512
1512
  cy: t.y,
@@ -1514,33 +1514,33 @@ var we = ["data-minimap"], Te = {
1514
1514
  fill: e.color,
1515
1515
  stroke: N.value,
1516
1516
  "stroke-width": "0.5"
1517
- }, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1518
- ], 8, Oe))])) : d("", !0),
1517
+ }, null, 8, St)) : d("", !0)]))), 256))]))), 128))]))], 64))
1518
+ ], 8, ke))])) : d("", !0),
1519
1519
  p("div", {
1520
1520
  class: "slider-track",
1521
- style: h({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
1521
+ style: m({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
1522
1522
  }, null, 4),
1523
1523
  p("div", {
1524
- class: m({
1524
+ class: fe({
1525
1525
  "range-highlight": !0,
1526
1526
  move: s.enableSelectionDrag
1527
1527
  }),
1528
1528
  onMousedown: t[2] ||= (e) => X.value = !0,
1529
1529
  onMouseup: t[3] ||= (e) => X.value = !1,
1530
- style: h({
1530
+ style: m({
1531
1531
  ...M.value,
1532
1532
  cursor: X.value ? "grabbing" : "grab",
1533
1533
  visibility: C.value && s.minimapCompact ? "hidden" : "visible"
1534
1534
  })
1535
1535
  }, null, 38),
1536
- s.enableRangeHandles ? xe((g(), f("input", {
1536
+ s.enableRangeHandles ? Se((h(), f("input", {
1537
1537
  key: 1,
1538
1538
  "aria-label": "range-handle-left",
1539
1539
  ref_key: "rangeStart",
1540
- ref: Bn,
1540
+ ref: Vn,
1541
1541
  type: "range",
1542
1542
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1543
- class: m({
1543
+ class: fe({
1544
1544
  "range-left": !0,
1545
1545
  "range-handle": !0,
1546
1546
  "range-minimap": C.value && s.verticalHandles,
@@ -1549,28 +1549,28 @@ var we = ["data-minimap"], Te = {
1549
1549
  min: s.min,
1550
1550
  max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1551
1551
  tabindex: C.value ? -1 : 0,
1552
- "onUpdate:modelValue": t[4] ||= (e) => jn.value = e,
1552
+ "onUpdate:modelValue": t[4] ||= (e) => Mn.value = e,
1553
1553
  onFocus: t[5] ||= (e) => C.value && e.target.blur(),
1554
- onInput: t[6] ||= (e) => jn.value = e.target.valueAsNumber,
1554
+ onInput: t[6] ||= (e) => Mn.value = e.target.valueAsNumber,
1555
1555
  onChange: A,
1556
- onKeyup: Se(A, ["enter"]),
1556
+ onKeyup: Ce(A, ["enter"]),
1557
1557
  onBlur: A,
1558
- onMouseenter: t[7] ||= (e) => br("start"),
1558
+ onMouseenter: t[7] ||= (e) => xr("start"),
1559
1559
  onPointerup: A
1560
- }, null, 42, St)), [[
1561
- ye,
1562
- jn.value,
1560
+ }, null, 42, Ct)), [[
1561
+ xe,
1562
+ Mn.value,
1563
1563
  void 0,
1564
1564
  { number: !0 }
1565
1565
  ]]) : d("", !0),
1566
- s.enableRangeHandles ? xe((g(), f("input", {
1566
+ s.enableRangeHandles ? Se((h(), f("input", {
1567
1567
  key: 2,
1568
1568
  "aria-label": "range-handle-right",
1569
1569
  ref_key: "rangeEnd",
1570
- ref: Vn,
1570
+ ref: Hn,
1571
1571
  type: "range",
1572
1572
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1573
- class: m({
1573
+ class: fe({
1574
1574
  "range-right": !0,
1575
1575
  "range-handle": !0,
1576
1576
  "range-minimap": C.value && s.verticalHandles,
@@ -1580,110 +1580,110 @@ var we = ["data-minimap"], Te = {
1580
1580
  max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1581
1581
  tabindex: C.value ? -1 : 0,
1582
1582
  onFocus: t[8] ||= (e) => C.value && e.target.blur(),
1583
- "onUpdate:modelValue": t[9] ||= (e) => Mn.value = e,
1584
- onInput: t[10] ||= (e) => Mn.value = e.target.valueAsNumber,
1583
+ "onUpdate:modelValue": t[9] ||= (e) => Nn.value = e,
1584
+ onInput: t[10] ||= (e) => Nn.value = e.target.valueAsNumber,
1585
1585
  onChange: A,
1586
- onKeyup: Se(A, ["enter"]),
1586
+ onKeyup: Ce(A, ["enter"]),
1587
1587
  onBlur: A,
1588
- onMouseenter: t[11] ||= (e) => br("end"),
1588
+ onMouseenter: t[11] ||= (e) => xr("end"),
1589
1589
  onPointerup: A
1590
- }, null, 42, Ct)), [[
1591
- ye,
1592
- Mn.value,
1590
+ }, null, 42, wt)), [[
1591
+ xe,
1592
+ Nn.value,
1593
1593
  void 0,
1594
1594
  { number: !0 }
1595
1595
  ]]) : d("", !0),
1596
- C.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
1597
- xmlns: _e(ne),
1596
+ C.value && s.minimapCompact ? (h(), f("div", Tt, [(h(), f("svg", {
1597
+ xmlns: ye(ne),
1598
1598
  viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height + 1)}`
1599
- }, [p("rect", le({
1599
+ }, [p("rect", ue({
1600
1600
  class: "vue-ui-zoom-compact-minimap-handle",
1601
- x: Kr.value,
1601
+ x: qr.value,
1602
1602
  y: 0,
1603
1603
  width: $.value,
1604
1604
  height: F.value.height,
1605
1605
  fill: "transparent",
1606
1606
  stroke: "none"
1607
- }, Ir.value, {
1608
- onKeydown: t[12] ||= (e) => Fr("start", e),
1609
- onMousedown: t[13] ||= Ce((e) => Ur("start", e), ["stop", "prevent"]),
1610
- onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
1611
- }), null, 16, Et), p("rect", le({
1607
+ }, Lr.value, {
1608
+ onKeydown: t[12] ||= (e) => Ir("start", e),
1609
+ onMousedown: t[13] ||= we((e) => Wr("start", e), ["stop", "prevent"]),
1610
+ onClick: t[14] ||= we(() => {}, ["stop", "prevent"])
1611
+ }), null, 16, Dt), p("rect", ue({
1612
1612
  class: "vue-ui-zoom-compact-minimap-handle",
1613
- x: qr.value,
1613
+ x: Jr.value,
1614
1614
  y: 0,
1615
1615
  width: $.value,
1616
1616
  height: F.value.height,
1617
1617
  fill: "transparent",
1618
1618
  stroke: "none",
1619
1619
  rx: 3
1620
- }, Lr.value, {
1621
- onKeydown: t[15] ||= (e) => Fr("end", e),
1622
- onMousedown: t[16] ||= Ce((e) => Ur("end", e), ["stop", "prevent"]),
1623
- onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
1624
- }), null, 16, Dt)], 8, Tt))])) : d("", !0),
1625
- Q.value.left ? (g(), f("div", {
1620
+ }, Rr.value, {
1621
+ onKeydown: t[15] ||= (e) => Ir("end", e),
1622
+ onMousedown: t[16] ||= we((e) => Wr("end", e), ["stop", "prevent"]),
1623
+ onClick: t[17] ||= we(() => {}, ["stop", "prevent"])
1624
+ }), null, 16, Ot)], 8, Et))])) : d("", !0),
1625
+ Q.value.left ? (h(), f("div", {
1626
1626
  key: 4,
1627
1627
  ref_key: "tooltipLeft",
1628
- ref: pr,
1629
- class: m({
1628
+ ref: mr,
1629
+ class: fe({
1630
1630
  "range-tooltip": !0,
1631
1631
  "range-tooltip-visible": Z.value,
1632
1632
  "range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
1633
1633
  "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
1634
1634
  }),
1635
- style: h({
1635
+ style: m({
1636
1636
  left: M.value.tooltipLeft,
1637
- color: _e(te)(s.selectColor),
1637
+ color: ye(te)(s.selectColor),
1638
1638
  backgroundColor: s.selectColor,
1639
1639
  border: `1px solid ${N.value}`,
1640
- zIndex: `${yr.value + 4}`,
1641
- visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1640
+ zIndex: `${br.value + 4}`,
1641
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1642
1642
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1643
1643
  })
1644
- }, ge(Q.value.left), 7)) : d("", !0),
1645
- (xr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1644
+ }, ve(Q.value.left), 7)) : d("", !0),
1645
+ (Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (h(), f("div", {
1646
1646
  key: 5,
1647
1647
  ref: "tooltipMerge",
1648
- class: m({
1648
+ class: fe({
1649
1649
  "range-tooltip": !0,
1650
1650
  "range-tooltip-visible": Z.value,
1651
1651
  "range-tooltip-arrow": !0,
1652
1652
  "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
1653
1653
  "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1654
1654
  }),
1655
- style: h({
1655
+ style: m({
1656
1656
  left: M.value.tooltipCenter,
1657
- width: Sr.value.width + "px",
1658
- color: _e(te)(s.selectColor),
1657
+ width: Cr.value.width + "px",
1658
+ color: ye(te)(s.selectColor),
1659
1659
  backgroundColor: s.selectColor,
1660
1660
  border: `1px solid ${N.value}`,
1661
1661
  zIndex: "4",
1662
1662
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1663
1663
  })
1664
- }, ge(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1665
- Q.value.right ? (g(), f("div", {
1664
+ }, ve(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1665
+ Q.value.right ? (h(), f("div", {
1666
1666
  key: 6,
1667
1667
  ref_key: "tooltipRight",
1668
- ref: mr,
1669
- class: m({
1668
+ ref: hr,
1669
+ class: fe({
1670
1670
  "range-tooltip": !0,
1671
1671
  "range-tooltip-visible": Z.value,
1672
1672
  "range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
1673
1673
  "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1674
1674
  }),
1675
- style: h({
1675
+ style: m({
1676
1676
  left: M.value.tooltipRight,
1677
- color: _e(te)(s.selectColor),
1677
+ color: ye(te)(s.selectColor),
1678
1678
  backgroundColor: s.selectColor,
1679
1679
  border: `1px solid ${N.value}`,
1680
1680
  zIndex: "4",
1681
- visibility: xr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1681
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1682
1682
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1683
1683
  })
1684
- }, ge(Q.value.right), 7)) : d("", !0)
1685
- ], 36)], 44, we));
1684
+ }, ve(Q.value.right), 7)) : d("", !0)
1685
+ ], 36)], 44, Te));
1686
1686
  }
1687
1687
  }, [["__scopeId", "data-v-86199147"]]);
1688
1688
  //#endregion
1689
- export { kt as t };
1689
+ export { At as t };