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