vue-data-ui 3.23.11 → 3.23.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 (136) hide show
  1. package/dist/{PackageVersion-C0b7KAMa.js → PackageVersion-DH9mKo1i.js} +1 -1
  2. package/dist/{SlicerPreview-BRRyc1p7.js → SlicerPreview-lCGvUNUH.js} +491 -486
  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-hill.js +1 -1
  27. package/dist/components/vue-ui-history-plot.js +1 -1
  28. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  29. package/dist/components/vue-ui-kpi.js +1 -1
  30. package/dist/components/vue-ui-molecule.js +1 -1
  31. package/dist/components/vue-ui-mood-radar.js +1 -1
  32. package/dist/components/vue-ui-nested-donuts.js +1 -1
  33. package/dist/components/vue-ui-onion.js +1 -1
  34. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  35. package/dist/components/vue-ui-quadrant.js +1 -1
  36. package/dist/components/vue-ui-quick-chart.js +1 -1
  37. package/dist/components/vue-ui-radar.js +1 -1
  38. package/dist/components/vue-ui-relation-circle.js +1 -1
  39. package/dist/components/vue-ui-ridgeline.js +1 -1
  40. package/dist/components/vue-ui-rings.js +1 -1
  41. package/dist/components/vue-ui-scatter.js +1 -1
  42. package/dist/components/vue-ui-skeleton.js +1 -1
  43. package/dist/components/vue-ui-spark-trend.js +1 -1
  44. package/dist/components/vue-ui-sparkbar.js +1 -1
  45. package/dist/components/vue-ui-sparkgauge.js +1 -1
  46. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  47. package/dist/components/vue-ui-sparkline.js +1 -1
  48. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  49. package/dist/components/vue-ui-stackbar.js +1 -1
  50. package/dist/components/vue-ui-stackline.js +1 -1
  51. package/dist/components/vue-ui-strip-plot.js +1 -1
  52. package/dist/components/vue-ui-table-sparkline.js +1 -1
  53. package/dist/components/vue-ui-table.js +1 -1
  54. package/dist/components/vue-ui-thermometer.js +1 -1
  55. package/dist/components/vue-ui-timer.js +1 -1
  56. package/dist/components/vue-ui-tiremarks.js +1 -1
  57. package/dist/components/vue-ui-treemap.js +1 -1
  58. package/dist/components/vue-ui-vertical-bar.js +1 -1
  59. package/dist/components/vue-ui-waffle.js +1 -1
  60. package/dist/components/vue-ui-wheel.js +1 -1
  61. package/dist/components/vue-ui-word-cloud.js +1 -1
  62. package/dist/components/vue-ui-world.js +1 -1
  63. package/dist/components/vue-ui-xy-canvas.js +1 -1
  64. package/dist/components/vue-ui-xy.js +1 -1
  65. package/dist/{package-D7_0M69J.js → package-LqzHoybL.js} +1 -1
  66. package/dist/{render-common-B0f5NTO9.js → render-common-w-CDlMO6.js} +1 -1
  67. package/dist/ssr/vue-ui-donut.js +1 -1
  68. package/dist/ssr/vue-ui-xy.js +1 -1
  69. package/dist/ssr.js +2 -2
  70. package/dist/style.css +1 -1
  71. package/dist/{vue-data-ui-BlZHZHoH.js → vue-data-ui-D9mXY0al.js} +62 -62
  72. package/dist/vue-data-ui.js +62 -62
  73. package/dist/{vue-ui-3d-bar-CtT2BovY.js → vue-ui-3d-bar-DRPuSQ4e.js} +1 -1
  74. package/dist/{vue-ui-age-pyramid-BhGNgnLB.js → vue-ui-age-pyramid-B8vOvI_t.js} +1 -1
  75. package/dist/{vue-ui-bullet-BI7KJyJx.js → vue-ui-bullet-DVNmzl4P.js} +1 -1
  76. package/dist/{vue-ui-bump-BCQ97z1G.js → vue-ui-bump-DWh2Z5YJ.js} +1 -1
  77. package/dist/{vue-ui-candlestick-Cs7I5MQS.js → vue-ui-candlestick-CsNB1k8H.js} +2 -2
  78. package/dist/{vue-ui-carousel-table-CDjAjc4b.js → vue-ui-carousel-table-CoVW5Fdg.js} +1 -1
  79. package/dist/{vue-ui-chestnut-d6GxjfcP.js → vue-ui-chestnut-HfJunSSz.js} +1 -1
  80. package/dist/{vue-ui-chord-BuConnPN.js → vue-ui-chord-BN8GOPjO.js} +1 -1
  81. package/dist/{vue-ui-circle-pack-CmxANHap.js → vue-ui-circle-pack-CADmtvmt.js} +1 -1
  82. package/dist/{vue-ui-cursor-CQcnZYBv.js → vue-ui-cursor-BBTOC9ZH.js} +1 -1
  83. package/dist/{vue-ui-dag-DKUZN-aQ.js → vue-ui-dag-CwscLfEg.js} +1 -1
  84. package/dist/{vue-ui-dashboard-ciI4wMe6.js → vue-ui-dashboard-Cp7LV9rM.js} +58 -58
  85. package/dist/{vue-ui-digits-DWf1vzYE.js → vue-ui-digits-C1ZVKDGy.js} +1 -1
  86. package/dist/{vue-ui-donut-CvCViwSI.js → vue-ui-donut-CqRDChWd.js} +1 -1
  87. package/dist/{vue-ui-donut-DZTtuFAG.js → vue-ui-donut-DCWdRYf0.js} +1 -1
  88. package/dist/{vue-ui-donut-evolution-BvZX3Gi8.js → vue-ui-donut-evolution-DXxpjREd.js} +2 -2
  89. package/dist/{vue-ui-dumbbell-BZywCpHd.js → vue-ui-dumbbell-MghLKpiu.js} +1 -1
  90. package/dist/{vue-ui-flow-D5jcKr_S.js → vue-ui-flow-DXzy_ciZ.js} +1 -1
  91. package/dist/{vue-ui-funnel-7zX5QnQx.js → vue-ui-funnel-BwDy1TQS.js} +1 -1
  92. package/dist/{vue-ui-galaxy-BuGd-Ojm.js → vue-ui-galaxy-yv4i3B6M.js} +1 -1
  93. package/dist/{vue-ui-gauge-BlDQIpBk.js → vue-ui-gauge-BL4r7lrw.js} +1 -1
  94. package/dist/{vue-ui-geo-PWGZw4Un.js → vue-ui-geo-BRAAm6-Y.js} +1 -1
  95. package/dist/{vue-ui-gizmo-CTxB3PAl.js → vue-ui-gizmo-D_jY1FrX.js} +1 -1
  96. package/dist/{vue-ui-heatmap-sFF5IbM8.js → vue-ui-heatmap-DVDTivK7.js} +1 -1
  97. package/dist/{vue-ui-hill-DO3r2s-i.js → vue-ui-hill-DAvWt1UH.js} +1 -1
  98. package/dist/{vue-ui-history-plot-Cj-Olvhn.js → vue-ui-history-plot-DZWZLj6d.js} +1 -1
  99. package/dist/{vue-ui-horizontal-bar-B34aYuDZ.js → vue-ui-horizontal-bar-BWJ0Dj9K.js} +1 -1
  100. package/dist/{vue-ui-kpi-Co6y1YlE.js → vue-ui-kpi-BNHQb-0T.js} +1 -1
  101. package/dist/{vue-ui-molecule-ERAB4YzZ.js → vue-ui-molecule-2eqpaNzM.js} +1 -1
  102. package/dist/{vue-ui-mood-radar-BPp7L6OP.js → vue-ui-mood-radar-9UgxqJAM.js} +1 -1
  103. package/dist/{vue-ui-nested-donuts-CX5ut2yp.js → vue-ui-nested-donuts-DT37jVnx.js} +1 -1
  104. package/dist/{vue-ui-onion-CWYJTUCq.js → vue-ui-onion-DFYQimLN.js} +1 -1
  105. package/dist/{vue-ui-parallel-coordinate-plot-DJrV-dVt.js → vue-ui-parallel-coordinate-plot-DMMp9SSg.js} +1 -1
  106. package/dist/{vue-ui-quadrant-wj8Up03L.js → vue-ui-quadrant-CLQkz37n.js} +1 -1
  107. package/dist/{vue-ui-quick-chart-CPYdScHL.js → vue-ui-quick-chart-BHURITQ2.js} +2 -2
  108. package/dist/{vue-ui-radar-D3gLQcI5.js → vue-ui-radar-BQDSBbBl.js} +1 -1
  109. package/dist/{vue-ui-relation-circle-DeNBOPjz.js → vue-ui-relation-circle-D7Jomt1J.js} +1 -1
  110. package/dist/{vue-ui-ridgeline-DQcZJ_hv.js → vue-ui-ridgeline-OnHk7xFR.js} +1 -1
  111. package/dist/{vue-ui-rings-CF9NfFW2.js → vue-ui-rings-BysAPudl.js} +1 -1
  112. package/dist/{vue-ui-scatter-U_xxKOte.js → vue-ui-scatter-DyxIiCT5.js} +1 -1
  113. package/dist/{vue-ui-skeleton-GA4wzjXV.js → vue-ui-skeleton-BQSKB3hE.js} +1 -1
  114. package/dist/{vue-ui-spark-trend-BXRGMn5-.js → vue-ui-spark-trend-RxPrDIxb.js} +1 -1
  115. package/dist/{vue-ui-sparkbar-96D0eR-o.js → vue-ui-sparkbar-BocQ3skK.js} +1 -1
  116. package/dist/{vue-ui-sparkgauge-BWBek2u2.js → vue-ui-sparkgauge-YrGOiB_b.js} +1 -1
  117. package/dist/{vue-ui-sparkhistogram-Cqs068RX.js → vue-ui-sparkhistogram-BlyPOiWe.js} +1 -1
  118. package/dist/{vue-ui-sparkline-B8cyY_P1.js → vue-ui-sparkline-DSXRUonI.js} +1 -1
  119. package/dist/{vue-ui-sparkstackbar-C0BkLc2b.js → vue-ui-sparkstackbar-CKhn03L6.js} +1 -1
  120. package/dist/{vue-ui-stackbar-DtsOc7B_.js → vue-ui-stackbar-Cf9sJP68.js} +2 -2
  121. package/dist/{vue-ui-stackline-MSs0pdhE.js → vue-ui-stackline-Tcfr3gJO.js} +2 -2
  122. package/dist/{vue-ui-strip-plot-Df-TomML.js → vue-ui-strip-plot-CrDJXSM_.js} +1 -1
  123. package/dist/{vue-ui-table-BKSRQGVK.js → vue-ui-table-iheXH88R.js} +2 -2
  124. package/dist/{vue-ui-table-sparkline-B7Dh-fN2.js → vue-ui-table-sparkline-LEjMz8F4.js} +1 -1
  125. package/dist/{vue-ui-thermometer-DXuLn8NC.js → vue-ui-thermometer-D8TwvkuL.js} +1 -1
  126. package/dist/{vue-ui-timer-orCjVwS4.js → vue-ui-timer-CmWhKatt.js} +1 -1
  127. package/dist/{vue-ui-tiremarks-DNoQ6Fl2.js → vue-ui-tiremarks-DQS-i-Sx.js} +1 -1
  128. package/dist/{vue-ui-treemap-90_Clj0e.js → vue-ui-treemap-CjxYVEzN.js} +1 -1
  129. package/dist/{vue-ui-waffle-BSQXyJ1S.js → vue-ui-waffle-BxMdiOcp.js} +313 -304
  130. package/dist/{vue-ui-wheel-CfU0Nnn0.js → vue-ui-wheel-CLyRoRSt.js} +1 -1
  131. package/dist/{vue-ui-word-cloud-AgMvmPlI.js → vue-ui-word-cloud-CqP1ohPS.js} +1 -1
  132. package/dist/{vue-ui-world-D0Z9B6M2.js → vue-ui-world-TUOWS-qf.js} +1 -1
  133. package/dist/{vue-ui-xy-ua_mFu_a.js → vue-ui-xy-DwiTsq1m.js} +1 -1
  134. package/dist/{vue-ui-xy-canvas-BHpBO5dS.js → vue-ui-xy-canvas-D0ox__3z.js} +1 -1
  135. package/dist/{vue-ui-xy-5Te2TfRK.js → vue-ui-xy-zgQAxUgJ.js} +2 -2
  136. package/package.json +1 -1
@@ -3,7 +3,7 @@ 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-BbElSC8_.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, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as y, 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 m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as xe, withDirectives as Se, withKeys as Ce, withModifiers as y } from "vue";
7
7
  //#region src/atoms/SlicerPreview.vue
8
8
  var we = ["data-minimap"], Te = {
9
9
  class: "vue-data-ui-slicer-labels",
@@ -103,98 +103,99 @@ var we = ["data-minimap"], Te = {
103
103
  "cy",
104
104
  "fill",
105
105
  "stroke"
106
- ], Xe = ["width", "height"], Ze = [
106
+ ], Xe = ["width", "height"], Ze = ["transform"], Qe = [
107
+ "x",
108
+ "y",
109
+ "width",
110
+ "height"
111
+ ], $e = [
107
112
  "x",
108
113
  "width",
109
114
  "height",
110
115
  "fill",
111
116
  "stroke",
112
117
  "stroke-width"
113
- ], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = [
114
- "x",
118
+ ], et = ["transform"], tt = ["width", "height"], nt = ["fill", "stroke"], rt = ["stroke"], it = ["fill"], at = ["transform"], ot = [
119
+ "y",
120
+ "width",
121
+ "height"
122
+ ], st = [
115
123
  "width",
116
124
  "height",
117
125
  "fill",
118
126
  "stroke",
119
127
  "stroke-width"
120
- ], it = ["transform"], at = ["width", "height"], ot = ["fill", "stroke"], st = ["stroke"], ct = ["fill"], lt = {
128
+ ], ct = {
129
+ key: 0,
130
+ class: "compact-handle-icon",
131
+ style: { "pointer-events": "none" }
132
+ }, lt = ["width", "height"], ut = ["fill", "stroke"], dt = ["stroke"], ft = ["fill"], pt = {
121
133
  key: "merged-tree",
122
134
  style: { "pointer-events": "none" }
123
- }, ut = [
135
+ }, mt = [
124
136
  "cx",
125
137
  "cy",
126
138
  "stroke",
127
139
  "fill"
128
- ], dt = [
140
+ ], ht = [
129
141
  "cx",
130
142
  "cy",
131
143
  "fill"
132
- ], ft = [
144
+ ], gt = [
133
145
  "cx",
134
146
  "cy",
135
147
  "stroke",
136
148
  "fill"
137
- ], pt = [
149
+ ], _t = [
138
150
  "cx",
139
151
  "cy",
140
152
  "fill"
141
- ], mt = {
153
+ ], vt = {
142
154
  key: 1,
143
155
  style: { "pointer-events": "none" }
144
- }, ht = [
156
+ }, yt = [
145
157
  "d",
146
158
  "stroke",
147
159
  "stroke-dasharray"
148
- ], gt = [
160
+ ], bt = [
149
161
  "cx",
150
162
  "cy",
151
163
  "fill",
152
164
  "stroke"
153
- ], _t = [
165
+ ], xt = [
154
166
  "cx",
155
167
  "cy",
156
168
  "stroke",
157
169
  "fill"
158
- ], vt = [
170
+ ], St = [
159
171
  "cx",
160
172
  "cy",
161
173
  "fill"
162
- ], yt = [
174
+ ], Ct = [
163
175
  "cx",
164
176
  "cy",
165
177
  "stroke",
166
178
  "fill"
167
- ], bt = [
179
+ ], wt = [
168
180
  "cx",
169
181
  "cy",
170
182
  "fill"
171
- ], xt = [
183
+ ], Tt = [
172
184
  "cx",
173
185
  "cy",
174
186
  "fill",
175
187
  "stroke"
176
- ], St = [
188
+ ], Et = [
177
189
  "step",
178
190
  "min",
179
191
  "max",
180
192
  "tabindex"
181
- ], Ct = [
193
+ ], Dt = [
182
194
  "step",
183
195
  "min",
184
196
  "max",
185
197
  "tabindex"
186
- ], wt = {
187
- key: 3,
188
- class: "minimap-handle-overlay"
189
- }, Tt = ["xmlns", "viewBox"], Et = [
190
- "x",
191
- "width",
192
- "height"
193
- ], Dt = [
194
- "x",
195
- "width",
196
- "height"
197
- ], Ot = 48, kt = /*#__PURE__*/ s({
198
+ ], Ot = 48, kt = 48, At = /*#__PURE__*/ s({
198
199
  __name: "SlicerPreview",
199
200
  props: {
200
201
  uuid: {
@@ -430,151 +431,150 @@ var we = ["data-minimap"], Te = {
430
431
  "trapMouse",
431
432
  "trapMouseValue"
432
433
  ],
433
- setup(s, { expose: kt, emit: At }) {
434
+ setup(s, { expose: At, emit: jt }) {
434
435
  ye((e) => ({
435
- v13222322: on.value,
436
- a9d0a8d4: P.value,
437
- cfb69ef2: cn.value,
438
- e9662674: s.selectColor,
439
- v05118454: sn.value,
440
- de2dd9f4: b.additionalMinimapHeight
436
+ v4dabb502: ln.value,
437
+ v711fadf3: N.value,
438
+ v87728db8: dn.value,
439
+ v5154ef23: s.selectColor,
440
+ af31df9e: un.value
441
441
  }));
442
442
  let b = s;
443
- function jt(e) {
443
+ function Mt(e) {
444
444
  let t = Number(e) || 0;
445
445
  return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
446
446
  }
447
- let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Mt = u(() => re(b.minimapLeftInsetRatio) && re(b.minimapRightInsetRatio)), Nt = u(() => {
447
+ let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Nt = u(() => re(b.minimapLeftInsetRatio) && re(b.minimapRightInsetRatio)), Pt = u(() => {
448
448
  let e = Math.min(1, Math.max(0, b.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, b.minimapRightInsetRatio)) * 100;
449
449
  return {
450
- padding: Mt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
451
- maxWidth: b.maxWidth && !Mt.value ? `${b.maxWidth}px` : void 0,
452
- margin: b.maxWidth && !Mt.value ? "0 auto" : void 0
450
+ padding: Nt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
451
+ maxWidth: b.maxWidth && !Nt.value ? `${b.maxWidth}px` : void 0,
452
+ margin: b.maxWidth && !Nt.value ? "0 auto" : void 0
453
453
  };
454
- }), Pt = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Ft = _(!1), It = _(0), Lt = _(0), Rt = _(null), zt = _(!1), Bt = u(() => D.value !== null), Vt = u(() => b.useValueRange ? C.value : C.value - 1), Ht = u(() => Math.max(1, Number(b.max) - Number(b.min)));
455
- function Ut(e) {
456
- return (Number(e) - Number(b.min)) / Ht.value * 100;
454
+ }), Ft = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), It = _(null), Lt = _(null), Rt = _(!1), zt = _(0), Bt = _(0), Vt = _(null), Ht = _(!1), Ut = u(() => It.value !== null), Wt = u(() => b.useValueRange ? C.value : C.value - 1), Gt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
455
+ function Kt(e) {
456
+ return (Number(e) - Number(b.min)) / Gt.value * 100;
457
457
  }
458
- function Wt(e) {
459
- return I.value.width * (Ut(e) / 100);
458
+ function qt(e) {
459
+ return F.value.width * (Kt(e) / 100);
460
460
  }
461
- function Gt(e) {
462
- let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
463
- return jt(Number(b.min) + Ht.value * t);
461
+ function Jt(e) {
462
+ let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
463
+ return Mt(Number(b.min) + Gt.value * t);
464
464
  }
465
- function Kt(e) {
465
+ function Yt(e) {
466
466
  let t = b.useValueRange ? e?.y : e;
467
467
  return re(t) ? Number(t) : null;
468
468
  }
469
- function qt(e, t) {
469
+ function Xt(e, t) {
470
470
  return b.useValueRange ? Number(e?.x) : t + Number(b.min);
471
471
  }
472
- function Jt(e, t) {
473
- return b.useValueRange ? Wt(qt(e, t)) : B.value * t + (b.minimapCompact ? 0 : B.value / 2);
472
+ function Zt(e, t) {
473
+ return b.useValueRange ? qt(Xt(e, t)) : B.value * t + (b.minimapCompact ? 0 : B.value / 2);
474
474
  }
475
- let Yt = u(() => Math.min(40, Math.max(20, b.handleWidth))), Xt = _(0), Zt = c((e) => M("futureStart", e), 0), Qt = c((e) => M("futureEnd", e), 0), O = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = u({
475
+ let Qt = u(() => Math.min(40, Math.max(20, b.handleWidth))), $t = _(0), en = c((e) => j("futureStart", e), 0), tn = c((e) => j("futureEnd", e), 0), D = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), O = u({
476
476
  get: () => S.value,
477
477
  set(e) {
478
- let t = Math.min(Number(e), Number(C.value) - O.value);
479
- t !== S.value && (S.value = t, Un.value && (Un.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Zt(t));
478
+ let t = Math.min(Number(e), Number(C.value) - D.value);
479
+ t !== S.value && (S.value = t, Gn.value && (Gn.value.value = String(t)), b.immediate ? j("update:start", Number(t)) : T.value && en(t));
480
480
  }
481
- }), A = u({
481
+ }), k = u({
482
482
  get: () => C.value,
483
483
  set(e) {
484
- let t = Math.max(Number(e), Number(S.value) + O.value);
485
- t !== C.value && (C.value = t, Wn.value && (Wn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Qt(t));
484
+ let t = Math.max(Number(e), Number(S.value) + D.value);
485
+ t !== C.value && (C.value = t, Kn.value && (Kn.value.value = String(t)), b.immediate ? j("update:end", Number(t)) : T.value && tn(t));
486
486
  }
487
487
  });
488
- function j() {
489
- clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
488
+ function A() {
489
+ clearTimeout(null), b.immediate || (j("update:start", Number(S.value)), j("update:end", Number(C.value))), T.value = !1;
490
490
  }
491
- let $t = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = At, en = u(() => {
492
- if (b.useValueRange) return Ut(S.value);
491
+ let nn = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), j = jt, rn = u(() => {
492
+ if (b.useValueRange) return Kt(S.value);
493
493
  if (E.value) {
494
- let e = Math.max(1, R.value - 1);
495
- return Pn.value / e * 100;
494
+ let e = Math.max(1, L.value - 1);
495
+ return In.value / e * 100;
496
496
  }
497
497
  let e = Math.max(1, b.max - b.min);
498
498
  return (S.value - b.min) / e * 100;
499
- }), tn = u(() => {
500
- if (b.useValueRange) return Ut(C.value);
499
+ }), an = u(() => {
500
+ if (b.useValueRange) return Kt(C.value);
501
501
  if (E.value) {
502
- let e = Math.max(1, R.value - 1);
503
- return Fn.value / e * 100;
502
+ let e = Math.max(1, L.value - 1);
503
+ return Ln.value / e * 100;
504
504
  }
505
505
  let e = Math.max(1, b.max - b.min);
506
506
  return (C.value - b.min) / e * 100;
507
- }), nn = u(() => (en.value + tn.value) / 2), rn = u(() => {
507
+ }), on = u(() => (rn.value + an.value) / 2), sn = u(() => {
508
508
  if (!x.value) return !1;
509
509
  let e = Math.max(1, b.max - b.min);
510
- return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - vr.value / 2 < 0;
511
- }), an = u(() => {
510
+ return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - br.value / 2 < 0;
511
+ }), cn = u(() => {
512
512
  if (!x.value) return !1;
513
513
  let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
514
- return t * ((C.value - b.min) / e) + yr.value / 2 > t;
515
- }), N = u(() => {
516
- let e = an.value ? `calc(${nn.value}% - ${Tr.value.width}px)` : rn.value ? `calc(${nn.value}% - 8px)` : `calc(${nn.value}% - ${Tr.value.width / 2}px)`;
514
+ return t * ((C.value - b.min) / e) + xr.value / 2 > t;
515
+ }), M = u(() => {
516
+ let e = cn.value ? `calc(${on.value}% - ${Dr.value.width}px)` : sn.value ? `calc(${on.value}% - 8px)` : `calc(${on.value}% - ${Dr.value.width / 2}px)`;
517
517
  return {
518
- left: `${en.value}%`,
519
- width: `${Math.max(0, tn.value - en.value)}%`,
518
+ left: `${rn.value}%`,
519
+ width: `${Math.max(0, an.value - rn.value)}%`,
520
520
  background: b.selectColor,
521
- tooltipLeft: `calc(${en.value}% - ${rn.value ? 9 : vr.value / 2}px)`,
522
- tooltipRight: `calc(${tn.value}% - ${an.value ? yr.value - 9 : yr.value / 2}px)`,
521
+ tooltipLeft: `calc(${rn.value}% - ${sn.value ? 9 : br.value / 2}px)`,
522
+ tooltipRight: `calc(${an.value}% - ${cn.value ? xr.value - 9 : xr.value / 2}px)`,
523
523
  tooltipCenter: e,
524
- arrowLeft: !rn.value,
525
- arrowRight: !an.value
524
+ arrowLeft: !sn.value,
525
+ arrowRight: !cn.value
526
526
  };
527
- }), on = u(() => b.inputColor), sn = u(() => b.background), cn = u(() => `${b.selectColor}33`), P = u(() => b.borderColor), ln = u(() => Number(b.max) > Number(b.min));
528
- function un() {
529
- M("reset");
527
+ }), ln = u(() => b.inputColor), un = u(() => b.background), dn = u(() => `${b.selectColor}33`), N = u(() => b.borderColor), fn = u(() => Number(b.max) > Number(b.min));
528
+ function pn() {
529
+ j("reset");
530
530
  }
531
- y(() => b.min, (e) => {
531
+ xe(() => b.min, (e) => {
532
532
  Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
533
- }), y(() => b.max, (e) => {
533
+ }), xe(() => b.max, (e) => {
534
534
  Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
535
535
  });
536
- let F = _(null), I = _({
536
+ let P = _(null), F = _({
537
537
  width: 1,
538
538
  height: 1
539
- }), L = _(null);
539
+ }), I = _(null);
540
540
  me(() => {
541
541
  if (w.value) {
542
542
  let e = c(() => {
543
- if (!F.value) return;
544
- let { width: e, height: t } = ae({ chart: F.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
545
- (n !== I.value.width || r !== I.value.height) && (I.value.width = n, I.value.height = r + b.additionalMinimapHeight);
543
+ if (!P.value) return;
544
+ let { width: e, height: t } = ae({ chart: P.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
545
+ (n !== F.value.width || r !== F.value.height) && (F.value.width = n, F.value.height = r + b.additionalMinimapHeight);
546
546
  }, 0);
547
- L.value = new ResizeObserver(e), L.value.observe(F.value);
547
+ I.value = new ResizeObserver(e), I.value.observe(P.value);
548
548
  }
549
549
  }), pe(() => {
550
- L.value && L.value.disconnect();
550
+ I.value && I.value.disconnect();
551
551
  });
552
- let R = u(() => Math.max(1, b.max - b.min));
553
- function dn(e) {
552
+ let L = u(() => Math.max(1, b.max - b.min));
553
+ function mn(e) {
554
554
  let t = Math.floor(e - b.min);
555
- return Math.min(Math.max(0, t), R.value);
555
+ return Math.min(Math.max(0, t), L.value);
556
556
  }
557
- function fn(e) {
557
+ function hn(e) {
558
558
  let t = Math.ceil(e - b.min);
559
- return Math.min(Math.max(0, t), R.value);
559
+ return Math.min(Math.max(0, t), L.value);
560
560
  }
561
- let z = u(() => dn(S.value)), pn = u(() => fn(C.value)), mn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), hn = u(() => w.value && b.minimapCompact ? 40 : 0), gn = u(() => hn.value / 2);
562
- u(() => Math.max(1, I.value.width - gn.value * 2));
561
+ let R = u(() => mn(S.value)), z = u(() => hn(C.value)), gn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), _n = u(() => w.value && b.minimapCompact ? 40 : 0), vn = u(() => _n.value / 2);
562
+ u(() => Math.max(1, F.value.width - vn.value * 2));
563
563
  let B = u(() => {
564
- if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
565
- let e = Math.max(1, mn.value - +!!b.minimapCompact);
566
- return I.value.width / e;
567
- }), _n = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), vn = u(() => B.value / (_n.value || 1) * .8);
568
- function yn(e, t, n) {
569
- let r = vn.value, i = Math.max(1, _n.value), a = mn.value - 1;
564
+ if (b.minimapCompact && !b.useValueRange) return F.value.width / Math.max(1, L.value - 1);
565
+ let e = Math.max(1, gn.value - +!!b.minimapCompact);
566
+ return F.value.width / e;
567
+ }), yn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), bn = u(() => B.value / (yn.value || 1) * .8);
568
+ function xn(e, t, n) {
569
+ let r = bn.value, i = Math.max(1, yn.value), a = gn.value - 1;
570
570
  return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
571
571
  }
572
- function bn(e, t) {
573
- return [0, mn.value - 1].includes(t) ? vn.value / 2 : vn.value;
572
+ function Sn(e, t) {
573
+ return [0, gn.value - 1].includes(t) ? bn.value / 2 : bn.value;
574
574
  }
575
- let xn = u(() => {
575
+ let Cn = u(() => {
576
576
  let e = [];
577
- if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Kt).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Kt).filter(Number.isFinite));
577
+ if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Yt).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Yt).filter(Number.isFinite));
578
578
  return e.length ? {
579
579
  min: Math.min(...e),
580
580
  max: Math.max(...e)
@@ -582,25 +582,25 @@ var we = ["data-minimap"], Te = {
582
582
  min: 0,
583
583
  max: 1
584
584
  };
585
- }), Sn = u(() => {
585
+ }), wn = u(() => {
586
586
  if (b.minScale == null && b.forceZeroCenter) return null;
587
587
  let e = Number(b.minScale);
588
588
  return Number.isFinite(e) ? e : null;
589
- }), Cn = u(() => {
589
+ }), Tn = u(() => {
590
590
  if (b.maxScale == null && b.forceZeroCenter) return null;
591
591
  let e = Number(b.maxScale);
592
592
  return Number.isFinite(e) ? e : null;
593
- }), wn = u(() => Sn.value !== null && Cn.value !== null), Tn = u(() => {
594
- let { min: e, max: t } = xn.value, n = Sn.value, r = Cn.value, i, a;
593
+ }), En = u(() => wn.value !== null && Tn.value !== null), Dn = u(() => {
594
+ let { min: e, max: t } = Cn.value, n = wn.value, r = Tn.value, i, a;
595
595
  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]), {
596
596
  min: i,
597
597
  max: a
598
598
  };
599
- }), En = u(() => Tn.value.min), Dn = u(() => Tn.value.max), On = u(() => En.value < 0 && Dn.value > 0 || Dn.value <= 0 ? En.value : 0), kn = (e) => {
600
- let t = Math.max(1, I.value.height);
601
- return jn(En.value, Dn.value, t, wn.value)(e);
602
- }, An = u(() => kn(0));
603
- function jn(e, t, n, r = !1) {
599
+ }), On = u(() => Dn.value.min), kn = u(() => Dn.value.max), An = u(() => On.value < 0 && kn.value > 0 || kn.value <= 0 ? On.value : 0), jn = (e) => {
600
+ let t = Math.max(1, F.value.height);
601
+ return Nn(On.value, kn.value, t, En.value)(e);
602
+ }, Mn = u(() => jn(0));
603
+ function Nn(e, t, n, r = !1) {
604
604
  let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
605
605
  if (r) return (t) => n - (t - e) / o * n;
606
606
  if (t <= 0) {
@@ -616,7 +616,7 @@ var we = ["data-minimap"], Te = {
616
616
  return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
617
617
  }
618
618
  }
619
- function Mn(i, o = !1, ee = !1) {
619
+ function Pn(i, o = !1, ee = !1) {
620
620
  if (!i || !i.length) return {
621
621
  fullSet: "",
622
622
  points: [],
@@ -630,8 +630,8 @@ var we = ["data-minimap"], Te = {
630
630
  selectionMarkers: [],
631
631
  dashed: !1
632
632
  };
633
- let te = Math.max(1, I.value.height), ne = jn(En.value, Dn.value, te, wn.value), re = i.length, s = Math.min(Math.max(0, z.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, pn.value)), c = i.map((e, t) => {
634
- let n = Kt(e), r = Number.isFinite(n), i = Jt(e, t), a = wn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, En.value, Dn.value) : 0, o = ne(a);
633
+ let te = Math.max(1, F.value.height), ne = Nn(On.value, kn.value, te, En.value), re = i.length, s = Math.min(Math.max(0, R.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, z.value)), c = i.map((e, t) => {
634
+ let n = Yt(e), r = Number.isFinite(n), i = Zt(e, t), a = En.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, On.value, kn.value) : 0, o = ne(a);
635
635
  return {
636
636
  x: i,
637
637
  y: r ? ne(n) : NaN,
@@ -639,7 +639,7 @@ var we = ["data-minimap"], Te = {
639
639
  value: r ? n : null,
640
640
  y0: o,
641
641
  i: t,
642
- xValue: qt(e, t)
642
+ xValue: Xt(e, t)
643
643
  };
644
644
  }), 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 = b.useValueRange ? oe.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = b.useValueRange ? c.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : c.slice(s, ie);
645
645
  return {
@@ -655,8 +655,8 @@ var we = ["data-minimap"], Te = {
655
655
  selectionMarkers: se
656
656
  };
657
657
  }
658
- let V = u(() => b.minimap.length ? Mn(b.minimap) : []), H = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
659
- let n = Mn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
658
+ let V = u(() => b.minimap.length ? Pn(b.minimap) : []), H = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
659
+ let n = Pn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
660
660
  return {
661
661
  key: typeof r == "object" ? JSON.stringify(r) : String(r),
662
662
  color: e?.color,
@@ -669,79 +669,79 @@ var we = ["data-minimap"], Te = {
669
669
  };
670
670
  }) : []), U = u(() => {
671
671
  if (b.useValueRange) {
672
- let e = Wt(S.value), t = Wt(C.value);
672
+ let e = qt(S.value), t = qt(C.value);
673
673
  return {
674
674
  x: e,
675
675
  width: Math.max(0, t - e)
676
676
  };
677
677
  }
678
- let e = z.value, t = Math.max(e + 1, pn.value);
678
+ let e = R.value, t = Math.max(e + 1, z.value);
679
679
  return {
680
680
  x: B.value * e + (b.minimapCompact ? 0 : B.value / 2),
681
681
  width: B.value * (t - e) - B.value
682
682
  };
683
- }), W = _(b.minimapSelectedIndex), Nn = (e) => Math.round(b.min + e), Pn = u({
683
+ }), W = _(b.minimapSelectedIndex), Fn = (e) => Math.round(b.min + e), In = u({
684
684
  get() {
685
- return E.value ? z.value : Number(k.value);
685
+ return E.value ? R.value : Number(O.value);
686
686
  },
687
687
  set(e) {
688
688
  if (E.value) {
689
689
  if (b.useValueRange) {
690
- let t = jt(e);
691
- qn(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
690
+ let t = Mt(e);
691
+ Yn(Math.min(Math.max(Number(b.min), t), Number(C.value) - D.value));
692
692
  return;
693
693
  }
694
694
  let t = Math.round(+e || 0);
695
- qn(Nn(t));
695
+ Yn(Fn(t));
696
696
  } else {
697
- let t = jt(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
698
- Un.value && (Un.value.valueAsNumber = r), qn(r);
697
+ let t = Mt(e), n = Number(C.value) - D.value, r = Math.min(Math.max(b.min, t), n);
698
+ Gn.value && (Gn.value.valueAsNumber = r), Yn(r);
699
699
  }
700
700
  }
701
- }), Fn = u({
701
+ }), Ln = u({
702
702
  get() {
703
- return E.value ? Math.max(z.value, pn.value - 1) : Number(A.value);
703
+ return E.value ? Math.max(R.value, z.value - 1) : Number(k.value);
704
704
  },
705
705
  set(e) {
706
706
  if (E.value) {
707
707
  if (b.useValueRange) {
708
- let t = jt(e);
709
- Yn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
708
+ let t = Mt(e);
709
+ Zn(Math.max(Number(S.value) + D.value, Math.min(t, Number(b.max))));
710
710
  return;
711
711
  }
712
712
  let t = Math.round(+e || 0);
713
- Yn(Nn(t + 1));
713
+ Zn(Fn(t + 1));
714
714
  } else {
715
- let t = jt(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
716
- Wn.value && (Wn.value.valueAsNumber = r), Yn(r);
715
+ let t = Mt(e), n = Number(S.value) + D.value, r = Math.max(n, Math.min(t, b.max));
716
+ Kn.value && (Kn.value.valueAsNumber = r), Zn(r);
717
717
  }
718
718
  }
719
- }), In = 0;
720
- function Ln(e, t) {
721
- if (t === In) {
719
+ }), Rn = 0;
720
+ function zn(e, t) {
721
+ if (t === Rn) {
722
722
  if (b.useValueRange) {
723
- W.value = Number.isFinite(Number(e)) ? Wt(Number(e)) : null;
723
+ W.value = Number.isFinite(Number(e)) ? qt(Number(e)) : null;
724
724
  return;
725
725
  }
726
- W.value = dn(b.valueStart) + e;
726
+ W.value = mn(b.valueStart) + e;
727
727
  }
728
728
  }
729
- let Rn = ie(Ln, 60);
730
- y(() => b.minimapSelectedIndex, (e, t) => {
731
- if (In += 1, [null, void 0].includes(e)) {
729
+ let Bn = ie(zn, 60);
730
+ xe(() => b.minimapSelectedIndex, (e, t) => {
731
+ if (Rn += 1, [null, void 0].includes(e)) {
732
732
  W.value = null;
733
733
  return;
734
734
  }
735
- e !== t && Rn(e, In);
735
+ e !== t && Bn(e, Rn);
736
736
  }, { immediate: !0 });
737
- function zn(e) {
738
- if (Bt.value) return;
737
+ function Vn(e) {
738
+ if (Ut.value) return;
739
739
  W.value = e;
740
- let t = z.value, n = pn.value;
741
- e >= t && e < n && !X.value && M("trapMouse", e - t);
740
+ let t = R.value, n = z.value;
741
+ e >= t && e < n && !X.value && j("trapMouse", e - t);
742
742
  }
743
- function Bn(e) {
744
- let t = Gt(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
743
+ function Hn(e) {
744
+ let t = Jt(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
745
745
  point: e,
746
746
  index: n,
747
747
  x: Number(e?.x),
@@ -749,25 +749,25 @@ var we = ["data-minimap"], Te = {
749
749
  }))).filter((e) => Number.isFinite(e.x));
750
750
  return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
751
751
  }
752
- function Vn(e) {
753
- if (!ln.value || Bt.value) return;
754
- let t = Vr(e.clientX);
752
+ function Un(e) {
753
+ if (!fn.value || Ut.value) return;
754
+ let t = Ur(e.clientX);
755
755
  if (b.useValueRange) {
756
- let e = Bn(t);
756
+ let e = Hn(t);
757
757
  if (!e) {
758
- Hn();
758
+ Wn();
759
759
  return;
760
760
  }
761
- W.value = Wt(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
761
+ W.value = qt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
762
762
  return;
763
763
  }
764
- zn(Hr(t));
764
+ Vn(Wr(t));
765
765
  }
766
- function Hn() {
767
- W.value = null, !Bt.value && (M("trapMouse", null), M("trapMouseValue", null));
766
+ function Wn() {
767
+ W.value = null, !Ut.value && (j("trapMouse", null), j("trapMouseValue", null));
768
768
  }
769
- let Un = _(null), Wn = _(null);
770
- function Gn(e) {
769
+ let Gn = _(null), Kn = _(null);
770
+ function qn(e) {
771
771
  if (typeof e == "object" && e && "target" in e) {
772
772
  let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
773
773
  return Number.isFinite(n) ? n : NaN;
@@ -775,32 +775,32 @@ var we = ["data-minimap"], Te = {
775
775
  let t = +e;
776
776
  return Number.isFinite(t) ? t : NaN;
777
777
  }
778
- let Kn = 0;
779
- function qn(e) {
780
- T.value = !0;
781
- let t = Gn(e);
782
- Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
783
- k.value = t;
784
- }));
785
- }
786
778
  let Jn = 0;
787
779
  function Yn(e) {
788
780
  T.value = !0;
789
- let t = Gn(e);
781
+ let t = qn(e);
790
782
  Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
791
- A.value = t;
783
+ O.value = t;
784
+ }));
785
+ }
786
+ let Xn = 0;
787
+ function Zn(e) {
788
+ T.value = !0;
789
+ let t = qn(e);
790
+ Number.isFinite(t) && (cancelAnimationFrame(Xn), Xn = requestAnimationFrame(() => {
791
+ k.value = t;
792
792
  }));
793
793
  }
794
794
  pe(() => {
795
- cancelAnimationFrame(Kn), cancelAnimationFrame(Jn);
795
+ cancelAnimationFrame(Jn), cancelAnimationFrame(Xn);
796
796
  });
797
- let Xn = u(() => b.valueEnd - b.valueStart), Zn = u(() => Xn.value < b.max - b.min), G = _(!1), Qn = _(null), $n = u(() => (Xt.value - 48) / (b.max - b.min) * Xn.value), er = u(() => Math.max(1, Xt.value - Ot - $n.value)), tr = u(() => Math.max(1, b.max - b.min - Xn.value)), nr = u(() => tr.value / er.value), rr = _(0), ir = _(0), ar = _(0), or = _(0), K = null, q = null, J = null, Y = null, sr = _(b.min);
798
- function cr(e) {
797
+ let Qn = u(() => b.valueEnd - b.valueStart), $n = u(() => Qn.value < b.max - b.min), G = _(!1), er = _(null), tr = u(() => ($t.value - 48) / (b.max - b.min) * Qn.value), nr = u(() => Math.max(1, $t.value - Ot - tr.value)), rr = u(() => Math.max(1, b.max - b.min - Qn.value)), ir = u(() => rr.value / nr.value), ar = _(0), or = _(0), sr = _(0), cr = _(0), K = null, q = null, J = null, Y = null, lr = _(b.min);
798
+ function ur(e) {
799
799
  if (!x.value) return b.min;
800
800
  let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
801
801
  return Math.round(b.min + a * o);
802
802
  }
803
- let lr = async (e) => {
803
+ let dr = async (e) => {
804
804
  if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
805
805
  let t = e.type === "touchstart";
806
806
  t || e.stopPropagation();
@@ -808,93 +808,93 @@ var we = ["data-minimap"], Te = {
808
808
  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;
809
809
  G.value = !0;
810
810
  let i = t ? n ? n.clientX : 0 : e.clientX;
811
- if (Qn.value = i, rr.value = i, b.focusOnDrag && !Zn.value && x.value && !zt.value) {
812
- zt.value = !0;
811
+ if (er.value = i, ar.value = i, b.focusOnDrag && !$n.value && x.value && !Ht.value) {
812
+ Ht.value = !0;
813
813
  try {
814
- sr.value = cr(i);
815
- let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = sr.value - r;
814
+ lr.value = ur(i);
815
+ let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = lr.value - r;
816
816
  a = Math.max(Number(b.min), Math.min(a, Number(b.max) - n));
817
817
  let ee = Math.min(Number(b.max), a + n);
818
- k.value = a, A.value = ee, Zt(a), Qt(ee), o(x.value, "mouseup"), await de(), o(x.value, "mousedown", { clientX: i });
818
+ O.value = a, k.value = ee, en(a), tn(ee), o(x.value, "mouseup"), await de(), o(x.value, "mousedown", { clientX: i });
819
819
  } finally {
820
- zt.value = !1;
820
+ Ht.value = !1;
821
821
  }
822
822
  return;
823
823
  }
824
- ir.value = S.value, ar.value = C.value, or.value = nr.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? dr : ur, Y = t ? mr : pr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
824
+ or.value = S.value, sr.value = C.value, cr.value = ir.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? pr : fr, Y = t ? gr : hr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
825
825
  };
826
- function ur(e) {
827
- G.value && fr(e.clientX);
826
+ function fr(e) {
827
+ G.value && mr(e.clientX);
828
828
  }
829
- function dr(e) {
829
+ function pr(e) {
830
830
  if (!G.value || !x.value) return;
831
831
  let t = e.target;
832
832
  if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
833
833
  e.preventDefault();
834
834
  let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
835
- n && fr(n.clientX);
835
+ n && mr(n.clientX);
836
836
  }
837
- function fr(e) {
837
+ function mr(e) {
838
838
  if (!G.value) return;
839
- let t = cr(rr.value), n = cr(e) - t, r = Math.round(ir.value + n);
840
- r = Math.max(b.min, Math.min(r, b.max - Xn.value));
841
- let i = r + Xn.value;
842
- k.value = r, A.value = i, Zt(r), Qt(i);
839
+ let t = ur(ar.value), n = ur(e) - t, r = Math.round(or.value + n);
840
+ r = Math.max(b.min, Math.min(r, b.max - Qn.value));
841
+ let i = r + Qn.value;
842
+ O.value = r, k.value = i, en(r), tn(i);
843
843
  }
844
- function pr() {
845
- hr();
844
+ function hr() {
845
+ _r();
846
846
  }
847
- function mr() {
848
- hr();
847
+ function gr() {
848
+ _r();
849
849
  }
850
- function hr() {
851
- G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
850
+ function _r() {
851
+ G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
852
852
  }
853
- let X = _(!1), gr = _(null), _r = _(null), vr = _(1), yr = _(1), Z = _(!1);
854
- function br() {
855
- if (gr.value) {
856
- let e = Math.round(gr.value.getBoundingClientRect().width);
857
- e !== vr.value && (vr.value = e);
853
+ let X = _(!1), vr = _(null), yr = _(null), br = _(1), xr = _(1), Z = _(!1);
854
+ function Sr() {
855
+ if (vr.value) {
856
+ let e = Math.round(vr.value.getBoundingClientRect().width);
857
+ e !== br.value && (br.value = e);
858
858
  }
859
859
  }
860
- function xr() {
861
- if (_r.value) {
862
- let e = Math.round(_r.value.getBoundingClientRect().width);
863
- e !== yr.value && (yr.value = e);
860
+ function Cr() {
861
+ if (yr.value) {
862
+ let e = Math.round(yr.value.getBoundingClientRect().width);
863
+ e !== xr.value && (xr.value = e);
864
864
  }
865
865
  }
866
866
  he(() => {
867
- br(), xr();
867
+ Sr(), Cr();
868
868
  });
869
- let Sr = _(0);
870
- function Cr(e) {
871
- Sr.value = +(e === "start");
869
+ let wr = _(0);
870
+ function Tr(e) {
871
+ wr.value = +(e === "start");
872
872
  }
873
- let wr = _(!1), Tr = _({
873
+ let Er = _(!1), Dr = _({
874
874
  width: 0,
875
875
  left: 0
876
876
  });
877
- y([S, C], async () => {
878
- if (await de(), !gr.value || !_r.value) {
879
- wr.value = !1, Tr.value = {
877
+ xe([S, C], async () => {
878
+ if (await de(), !vr.value || !yr.value) {
879
+ Er.value = !1, Dr.value = {
880
880
  width: 0,
881
881
  left: 0
882
882
  };
883
883
  return;
884
884
  }
885
- let e = gr.value.getBoundingClientRect(), t = _r.value.getBoundingClientRect();
886
- wr.value = e.x + e.width > t.x;
885
+ let e = vr.value.getBoundingClientRect(), t = yr.value.getBoundingClientRect();
886
+ Er.value = e.x + e.width > t.x;
887
887
  let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
888
- Tr.value = {
888
+ Dr.value = {
889
889
  width: i,
890
890
  left: a - i / 2
891
891
  };
892
892
  }), he(() => {
893
- br(), xr();
894
- }), y(() => b.labelLeft, () => {
895
- de(br);
896
- }, { deep: !0 }), y(() => b.labelRight, () => {
897
- de(xr);
893
+ Sr(), Cr();
894
+ }), xe(() => b.labelLeft, () => {
895
+ de(Sr);
896
+ }, { deep: !0 }), xe(() => b.labelRight, () => {
897
+ de(Cr);
898
898
  }, { deep: !0 });
899
899
  let Q = u(() => {
900
900
  let e = "", t = "", n = !1;
@@ -906,10 +906,10 @@ var we = ["data-minimap"], Te = {
906
906
  timeLabel: b.preciseLabels[S.value],
907
907
  side: "left"
908
908
  }), i = b.customFormat({
909
- absoluteIndex: Vt.value,
909
+ absoluteIndex: Wt.value,
910
910
  seriesIndex: -1,
911
911
  datapoint: b.selectedSeries,
912
- timeLabel: b.useValueRange ? null : b.preciseLabels[Vt.value],
912
+ timeLabel: b.useValueRange ? null : b.preciseLabels[Wt.value],
913
913
  side: "right"
914
914
  });
915
915
  typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
@@ -917,7 +917,7 @@ var we = ["data-minimap"], Te = {
917
917
  n = !1;
918
918
  }
919
919
  if (!n) {
920
- let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Vt.value) : b.timeLabels.find((e) => e.absoluteIndex === Vt.value);
920
+ let n = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Wt.value) : b.timeLabels.find((e) => e.absoluteIndex === Wt.value);
921
921
  e = n ? n.text : "", t = r ? r.text : "";
922
922
  }
923
923
  return {
@@ -926,30 +926,30 @@ var we = ["data-minimap"], Te = {
926
926
  };
927
927
  });
928
928
  pe(() => {
929
- 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);
929
+ 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);
930
930
  });
931
- let Er = u(() => {
932
- if (!ln.value || W.value === null) return null;
931
+ let Or = u(() => {
932
+ if (!fn.value || W.value === null) return null;
933
933
  if (b.useValueRange) {
934
934
  let e = W.value;
935
935
  return e < U.value.x || e > U.value.x + U.value.width ? null : {
936
936
  x1: e,
937
937
  x2: e,
938
938
  y1: 0,
939
- y2: Math.max(I.value.height, 0),
939
+ y2: Math.max(F.value.height, 0),
940
940
  stroke: b.minimapIndicatorColor,
941
941
  "stroke-linecap": "round",
942
942
  "stroke-dasharray": 2,
943
943
  "stroke-width": 1
944
944
  };
945
945
  }
946
- if (W.value >= z.value && W.value < pn.value) {
946
+ if (W.value >= R.value && W.value < z.value) {
947
947
  let e = W.value, t = B.value * e + (b.minimapCompact ? 0 : B.value / 2);
948
948
  return {
949
949
  x1: t,
950
950
  x2: t,
951
951
  y1: 0,
952
- y2: Math.max(I.value.height, 0),
952
+ y2: Math.max(F.value.height, 0),
953
953
  stroke: b.minimapIndicatorColor,
954
954
  "stroke-linecap": "round",
955
955
  "stroke-dasharray": 2,
@@ -957,54 +957,54 @@ var we = ["data-minimap"], Te = {
957
957
  };
958
958
  }
959
959
  return null;
960
- }), Dr = u(() => Number(S.value) < Number(C.value) - 1), Or = u(() => Number(S.value) > Number(b.min)), kr = u(() => Number(C.value) < Number(b.max)), Ar = u(() => Number(C.value) > Number(S.value) + 1);
961
- function jr(e) {
960
+ }), kr = u(() => Number(S.value) < Number(C.value) - 1), Ar = u(() => Number(S.value) > Number(b.min)), jr = u(() => Number(C.value) < Number(b.max)), Mr = u(() => Number(C.value) > Number(S.value) + 1);
961
+ function Nr(e) {
962
962
  let t = Number(S.value) + e;
963
- e > 0 && !Dr.value || e < 0 && !Or.value || (T.value = !0, k.value = t, j());
963
+ e > 0 && !kr.value || e < 0 && !Ar.value || (T.value = !0, O.value = t, A());
964
964
  }
965
- function Mr(e) {
965
+ function Pr(e) {
966
966
  let t = Number(C.value) + e;
967
- e > 0 && !kr.value || e < 0 && !Ar.value || (T.value = !0, A.value = t, j());
967
+ e > 0 && !jr.value || e < 0 && !Mr.value || (T.value = !0, k.value = t, A());
968
968
  }
969
- let Nr = {
970
- plus: () => jr(1),
971
- minus: () => jr(-1),
972
- canPlus: Dr,
973
- canMinus: Or
974
- }, Pr = {
975
- plus: () => Mr(1),
976
- minus: () => Mr(-1),
969
+ let Fr = {
970
+ plus: () => Nr(1),
971
+ minus: () => Nr(-1),
977
972
  canPlus: kr,
978
973
  canMinus: Ar
974
+ }, Ir = {
975
+ plus: () => Pr(1),
976
+ minus: () => Pr(-1),
977
+ canPlus: jr,
978
+ canMinus: Mr
979
979
  };
980
- function Fr(e) {
981
- if (!e || Ir(e.target)) return;
980
+ function Lr(e) {
981
+ if (!e || Rr(e.target)) return;
982
982
  let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
983
- !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Nr.plus(), Pr.plus()) : (Nr.minus(), Pr.minus()));
983
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Fr.plus(), Ir.plus()) : (Fr.minus(), Ir.minus()));
984
984
  }
985
- function Ir(e) {
985
+ function Rr(e) {
986
986
  return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
987
987
  }
988
- function Lr(e) {
988
+ function zr(e) {
989
989
  if (!w.value || !b.minimapCompact) return;
990
990
  let t = x.value;
991
991
  if (!t) return;
992
992
  let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
993
993
  r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
994
994
  }
995
- function Rr(e, t) {
996
- if (!t || Ir(t.target)) return;
995
+ function Br(e, t) {
996
+ if (!t || Rr(t.target)) return;
997
997
  let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
998
- !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Nr.plus() : Nr.minus() : i ? Pr.plus() : Pr.minus(), de(() => Lr(e)));
998
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Fr.plus() : Fr.minus() : i ? Ir.plus() : Ir.minus(), de(() => zr(e)));
999
999
  }
1000
- let zr = u(() => ({
1000
+ let Vr = u(() => ({
1001
1001
  tabindex: 0,
1002
1002
  role: "slider",
1003
1003
  "aria-label": "Range start",
1004
1004
  "aria-valuemin": Number(b.min),
1005
1005
  "aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
1006
1006
  "aria-valuenow": Number(S.value)
1007
- })), Br = u(() => ({
1007
+ })), Hr = u(() => ({
1008
1008
  tabindex: 0,
1009
1009
  role: "slider",
1010
1010
  "aria-label": "Range end",
@@ -1012,69 +1012,71 @@ var we = ["data-minimap"], Te = {
1012
1012
  "aria-valuemax": Number(b.max),
1013
1013
  "aria-valuenow": Number(C.value)
1014
1014
  }));
1015
- function Vr(e) {
1016
- if (!Rt.value) return 0;
1017
- let t = Rt.value.getBoundingClientRect();
1015
+ function Ur(e) {
1016
+ if (!Vt.value) return 0;
1017
+ let t = Vt.value.getBoundingClientRect();
1018
1018
  if (!t.width) return 0;
1019
1019
  let n = (e - t.left) / t.width;
1020
- return Math.min(1, Math.max(0, n)) * I.value.width;
1020
+ return Math.min(1, Math.max(0, n)) * F.value.width;
1021
1021
  }
1022
- function Hr(e) {
1023
- let t = Math.max(0, R.value - 1), n = Math.max(1, I.value.width), r = Math.min(1, Math.max(0, e / n));
1022
+ function Wr(e) {
1023
+ let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
1024
1024
  return Math.min(t, Math.max(0, Math.round(r * t)));
1025
1025
  }
1026
- function Ur(e) {
1027
- let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
1026
+ function Gr(e, t) {
1027
+ let n = Math.min(Math.max(0, t), Math.max(1, F.value.width));
1028
1028
  if (b.useValueRange) {
1029
- let e = Gt(t);
1030
- if (D.value === "start") {
1031
- let t = Math.min(e, Number(C.value) - O.value);
1032
- k.value = t, Zt(t);
1029
+ let t = Jt(n);
1030
+ if (e === "start") {
1031
+ let e = Math.min(t, Number(C.value) - D.value);
1032
+ O.value = e, en(e);
1033
1033
  return;
1034
1034
  }
1035
- if (D.value === "end") {
1036
- let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
1037
- A.value = n, Qt(n);
1035
+ if (e === "end") {
1036
+ let e = Math.max(Number(S.value) + D.value, t), n = Math.min(Number(b.max), e);
1037
+ k.value = n, tn(n);
1038
1038
  return;
1039
1039
  }
1040
1040
  }
1041
- let n = Hr(t);
1042
- if (D.value === "start") {
1043
- let e = Math.min(b.min + n, Number(C.value) - 1);
1044
- k.value = e, Zt(e);
1041
+ let r = Wr(n);
1042
+ if (e === "start") {
1043
+ let e = Math.min(b.min + r, Number(C.value) - 1);
1044
+ O.value = e, en(e);
1045
1045
  return;
1046
1046
  }
1047
- if (D.value === "end") {
1048
- let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
1049
- A.value = t, Qt(t);
1047
+ if (e === "end") {
1048
+ let e = Math.max(Number(S.value) + 1, b.min + r + 1), t = Math.min(b.max, e);
1049
+ k.value = t, tn(t);
1050
1050
  }
1051
1051
  }
1052
- function Wr(e) {
1053
- if (!D.value || !F.value) return;
1054
- let t = e.clientX - It.value;
1055
- if (!Ft.value) {
1056
- if (Math.abs(t) < 4) return;
1057
- Ft.value = !0, T.value = !0, Z.value = !0;
1052
+ function Kr(e, t) {
1053
+ if (It.value !== e || Lt.value !== t.pointerId || !P.value) return;
1054
+ t.preventDefault();
1055
+ let n = t.clientX - zt.value;
1056
+ if (!Rt.value) {
1057
+ if (Math.abs(n) < 4) return;
1058
+ Rt.value = !0, T.value = !0, Z.value = !0;
1058
1059
  }
1059
- let n = Vr(e.clientX) - Lt.value;
1060
- Ur(D.value === "start" ? n + Yt.value : n);
1060
+ let r = Ur(t.clientX) - Bt.value;
1061
+ Gr(e, e === "start" ? r + Qt.value : r);
1061
1062
  }
1062
- function Gr() {
1063
- if (!D.value) return;
1064
- window.removeEventListener("mousemove", Wr, !0), window.removeEventListener("mouseup", Gr, !0);
1065
- let e = Ft.value;
1066
- D.value = null, Ft.value = !1, It.value = 0, Lt.value = 0, e && j();
1063
+ function qr(e, t) {
1064
+ if (It.value !== e || Lt.value !== t.pointerId) return;
1065
+ let n = t.currentTarget;
1066
+ n?.hasPointerCapture?.(t.pointerId) && n.releasePointerCapture(t.pointerId);
1067
+ let r = Rt.value;
1068
+ It.value = null, Lt.value = null, Rt.value = !1, zt.value = 0, Bt.value = 0, r && A();
1067
1069
  }
1068
- function Kr(e, t) {
1069
- if (!w.value || !b.minimapCompact || !F.value) return;
1070
+ function Jr(e, t) {
1071
+ if (!w.value || !b.minimapCompact || !P.value || Lt.value !== null) return;
1070
1072
  t.preventDefault(), t.stopPropagation(), W.value = null;
1071
- let n = Vr(t.clientX), r = e === "start" ? U.value.x - Yt.value : U.value.x + U.value.width;
1072
- D.value = e, Ft.value = !1, It.value = t.clientX, Lt.value = n - r, window.addEventListener("mousemove", Wr, !0), window.addEventListener("mouseup", Gr, !0);
1073
+ let n = Ur(t.clientX), r = e === "start" ? U.value.x - Qt.value : U.value.x + U.value.width;
1074
+ It.value = e, Lt.value = t.pointerId, Rt.value = !1, zt.value = t.clientX, Bt.value = n - r, t.currentTarget?.setPointerCapture?.(t.pointerId);
1073
1075
  }
1074
- let qr = u(() => z.value), Jr = u(() => Math.max(z.value, pn.value - 1));
1076
+ let Yr = u(() => R.value), Xr = u(() => Math.max(R.value, z.value - 1));
1075
1077
  u(() => {
1076
1078
  if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
1077
- let e = qr.value, t = Jr.value;
1079
+ let e = Yr.value, t = Xr.value;
1078
1080
  return H.value.flatMap((n) => {
1079
1081
  if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1080
1082
  let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
@@ -1091,10 +1093,10 @@ var we = ["data-minimap"], Te = {
1091
1093
  }), r;
1092
1094
  });
1093
1095
  });
1094
- let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Yr = u(() => U.value.x - $.value), Xr = u(() => U.value.x + U.value.width);
1095
- return kt({
1096
- setStartValue: qn,
1097
- setEndValue: Yn
1096
+ let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Zr = u(() => Math.max(kt, $.value)), Qr = u(() => Math.max(kt, Number(F.value.height) || 0)), $r = u(() => (F.value.height - Qr.value) / 2), ei = u(() => U.value.x), ti = u(() => U.value.x + U.value.width);
1097
+ return At({
1098
+ setStartValue: Yn,
1099
+ setEndValue: Zn
1098
1100
  }), (e, t) => (g(), f("div", {
1099
1101
  "data-minimap": w.value,
1100
1102
  "data-dom-to-png-ignore": "",
@@ -1102,10 +1104,10 @@ var we = ["data-minimap"], Te = {
1102
1104
  class: "vue-data-ui-zoom",
1103
1105
  ref_key: "zoomWrapper",
1104
1106
  ref: x,
1105
- onMousedown: lr,
1106
- onTouchstart: lr,
1107
- style: h(Nt.value)
1108
- }, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== $t.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: un }, () => [p("button", {
1107
+ onMousedown: dr,
1108
+ onTouchstart: dr,
1109
+ style: h(Pt.value)
1110
+ }, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== nn.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: pn }, () => [p("button", {
1109
1111
  tabindex: "0",
1110
1112
  role: "button",
1111
1113
  class: "vue-data-ui-refresh-button",
@@ -1113,32 +1115,32 @@ var we = ["data-minimap"], Te = {
1113
1115
  top: w.value ? "36px" : "-16px",
1114
1116
  cursor: s.isCursorPointer ? "pointer" : "default"
1115
1117
  }),
1116
- onClick: un
1118
+ onClick: pn
1117
1119
  }, [ce(oe, {
1118
1120
  name: "refresh",
1119
1121
  stroke: s.textColor
1120
1122
  }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
1121
1123
  class: "double-range-slider",
1122
1124
  ref_key: "minimapWrapper",
1123
- ref: F,
1125
+ ref: P,
1124
1126
  style: h([{ "z-index": "0" }, w.value ? {
1125
1127
  "--minimap-unit-px": B.value + "px",
1126
1128
  "--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
1127
1129
  } : void 0]),
1128
- onMouseenter: t[18] ||= (e) => Z.value = !0,
1129
- onMouseleave: t[19] ||= (e) => Z.value = !1
1130
+ onMouseenter: t[24] ||= (e) => Z.value = !0,
1131
+ onMouseleave: t[25] ||= (e) => Z.value = !1
1130
1132
  }, [
1131
1133
  w.value ? (g(), f("div", De, [(g(), f("svg", {
1132
1134
  ref_key: "minimapSvg",
1133
- ref: Rt,
1135
+ ref: Vt,
1134
1136
  key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1135
1137
  xmlns: ve(ne),
1136
- viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
1138
+ viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
1137
1139
  preserveAspectRatio: "none"
1138
1140
  }, [
1139
1141
  p("defs", null, [ce(se, {
1140
1142
  t: "linear",
1141
- id: Pt.value,
1143
+ id: Ft.value,
1142
1144
  x1: "0%",
1143
1145
  y1: "0%",
1144
1146
  x2: "0%",
@@ -1152,19 +1154,19 @@ var we = ["data-minimap"], Te = {
1152
1154
  "transparent",
1153
1155
  0
1154
1156
  ]]
1155
- }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Pt.value}` }, [p("rect", {
1157
+ }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
1156
1158
  x: U.value.x,
1157
1159
  y: "0",
1158
1160
  width: Math.max(0, U.value.width),
1159
- height: Math.max(I.value.height, 0)
1161
+ height: Math.max(F.value.height, 0)
1160
1162
  }, null, 8, Ae)], 8, ke)]),
1161
1163
  s.minimapCompact ? (g(), f("rect", {
1162
1164
  key: 0,
1163
1165
  class: "vue-ui-zoom-minimap-frame",
1164
1166
  x: 0,
1165
1167
  y: 0,
1166
- width: I.value.width,
1167
- height: I.value.height,
1168
+ width: F.value.width,
1169
+ height: F.value.height,
1168
1170
  fill: "none",
1169
1171
  stroke: s.minimapFrameColor,
1170
1172
  rx: 3
@@ -1180,16 +1182,16 @@ var we = ["data-minimap"], Te = {
1180
1182
  style: { opacity: "0.6" }
1181
1183
  }, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1182
1184
  key: 1,
1183
- d: `M${B.value / 2},${Math.max(I.value.height, 0)} ${V.value.fullSet} L${I.value.width - B.value / 2},${Math.max(I.value.height, 0)}Z`,
1184
- fill: `url(#${Pt.value})`,
1185
+ 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`,
1186
+ fill: `url(#${Ft.value})`,
1185
1187
  stroke: "none",
1186
1188
  style: { opacity: "0.6" }
1187
1189
  }, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1188
1190
  (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", {
1189
1191
  key: 0,
1190
- x: yn(n.x, t, r),
1192
+ x: xn(n.x, t, r),
1191
1193
  y: n.v >= 0 ? n.y : n.y0,
1192
- width: bn(t, r),
1194
+ width: Sn(t, r),
1193
1195
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1194
1196
  fill: e.color,
1195
1197
  style: { opacity: .6 }
@@ -1207,7 +1209,7 @@ var we = ["data-minimap"], Te = {
1207
1209
  cy: t.y,
1208
1210
  r: "2",
1209
1211
  fill: e.color,
1210
- stroke: P.value,
1212
+ stroke: N.value,
1211
1213
  "stroke-width": "0.5",
1212
1214
  style: { opacity: "0.6" }
1213
1215
  }, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
@@ -1217,7 +1219,7 @@ var we = ["data-minimap"], Te = {
1217
1219
  cy: t.y,
1218
1220
  r: "2",
1219
1221
  fill: e.color,
1220
- stroke: P.value,
1222
+ stroke: N.value,
1221
1223
  "stroke-width": "0.5",
1222
1224
  style: { opacity: "0.6" }
1223
1225
  }, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
@@ -1226,8 +1228,8 @@ var we = ["data-minimap"], Te = {
1226
1228
  x: U.value.x,
1227
1229
  y: 0,
1228
1230
  width: Math.max(0, U.value.width),
1229
- height: Math.max(I.value.height, 0),
1230
- fill: P.value,
1231
+ height: Math.max(F.value.height, 0),
1232
+ fill: N.value,
1231
1233
  rx: s.minimapSelectionRadius,
1232
1234
  stroke: "none"
1233
1235
  }, null, 8, Re),
@@ -1235,16 +1237,16 @@ var we = ["data-minimap"], Te = {
1235
1237
  x: U.value.x,
1236
1238
  y: 0,
1237
1239
  width: U.value.width < 0 ? 0 : U.value.width,
1238
- height: Math.max(I.value.height, 0),
1240
+ height: Math.max(F.value.height, 0),
1239
1241
  rx: s.minimapSelectionRadius,
1240
- fill: P.value,
1242
+ fill: N.value,
1241
1243
  style: h({ opacity: G.value || T.value ? 0 : 1 })
1242
1244
  }, null, 12, ze),
1243
1245
  p("rect", {
1244
1246
  x: U.value.x,
1245
1247
  y: 0,
1246
1248
  width: U.value.width < 0 ? 0 : U.value.width,
1247
- height: Math.max(I.value.height, 0),
1249
+ height: Math.max(F.value.height, 0),
1248
1250
  fill: s.minimapSelectedColor,
1249
1251
  rx: s.minimapSelectionRadius,
1250
1252
  style: h({ opacity: s.minimapSelectedColorOpacity }),
@@ -1255,15 +1257,15 @@ var we = ["data-minimap"], Te = {
1255
1257
  "aria-valuemax": Number(b.max),
1256
1258
  "aria-valuenow": Number(S.value),
1257
1259
  "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1258
- onKeydown: Fr
1260
+ onKeydown: Lr
1259
1261
  }, null, 44, Be),
1260
- !s.minimapMerged && On.value < 0 ? (g(), f("line", {
1262
+ !s.minimapMerged && An.value < 0 ? (g(), f("line", {
1261
1263
  key: 2,
1262
1264
  class: "slicer-minimap-zero-line",
1263
1265
  x1: 0,
1264
- x2: I.value.width,
1265
- y1: An.value,
1266
- y2: An.value,
1266
+ x2: F.value.width,
1267
+ y1: Mn.value,
1268
+ y2: Mn.value,
1267
1269
  stroke: s.minimapFrameColor,
1268
1270
  "stroke-width": "0.5"
1269
1271
  }, null, 8, Ve)) : d("", !0),
@@ -1282,7 +1284,7 @@ var we = ["data-minimap"], Te = {
1282
1284
  cx: V.value.firstPlot.x,
1283
1285
  cy: V.value.firstPlot.y,
1284
1286
  "stroke-width": "0.5",
1285
- stroke: P.value,
1287
+ stroke: N.value,
1286
1288
  r: "3",
1287
1289
  fill: s.minimapLineColor
1288
1290
  }, null, 8, We)) : d("", !0),
@@ -1291,19 +1293,19 @@ var we = ["data-minimap"], Te = {
1291
1293
  cx: V.value.lastPlot.x,
1292
1294
  cy: V.value.lastPlot.y,
1293
1295
  "stroke-width": "0.5",
1294
- stroke: P.value,
1296
+ stroke: N.value,
1295
1297
  r: "3",
1296
1298
  fill: s.minimapLineColor
1297
1299
  }, null, 8, Ge)) : d("", !0)
1298
1300
  ])) : (g(), f("g", Ke, [
1299
1301
  (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", {
1300
1302
  key: 0,
1301
- x: yn(n.x, t, r),
1303
+ x: xn(n.x, t, r),
1302
1304
  y: n.v >= 0 ? n.y : n.y0,
1303
- width: bn(t, r),
1305
+ width: Sn(t, r),
1304
1306
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1305
1307
  fill: e.color,
1306
- style: h({ opacity: +(r >= k.value && r < A.value) })
1308
+ style: h({ opacity: +(r >= O.value && r < k.value) })
1307
1309
  }, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
1308
1310
  (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", {
1309
1311
  key: 0,
@@ -1321,61 +1323,79 @@ var we = ["data-minimap"], Te = {
1321
1323
  cy: t.y,
1322
1324
  r: "2",
1323
1325
  fill: e.color,
1324
- stroke: P.value,
1326
+ stroke: N.value,
1325
1327
  "stroke-width": "0.5",
1326
1328
  style: { opacity: "0.6" }
1327
1329
  }, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
1328
1330
  ]))], 64)),
1329
1331
  e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
1330
- width: Math.max(0, I.value.width),
1331
- height: Math.max(0, I.value.height),
1332
- zeroY: An.value,
1332
+ width: Math.max(0, F.value.width),
1333
+ height: Math.max(0, F.value.height),
1334
+ zeroY: Mn.value,
1333
1335
  unitW: Math.max(0, B.value)
1334
1336
  })), void 0, !0, 4) : d("", !0),
1335
- W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Er.value)), null, 16)) : d("", !0),
1337
+ W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Or.value)), null, 16)) : d("", !0),
1336
1338
  p("rect", {
1337
1339
  x: 0,
1338
1340
  y: 0,
1339
- width: Math.max(0, I.value.width),
1340
- height: Math.max(0, I.value.height),
1341
+ width: Math.max(0, F.value.width),
1342
+ height: Math.max(0, F.value.height),
1341
1343
  fill: "transparent",
1342
1344
  style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1343
1345
  onMousedown: t[0] ||= (e) => X.value = !0,
1344
1346
  onMouseup: t[1] ||= (e) => X.value = !1,
1345
- onMousemove: Vn,
1346
- onMouseleave: Hn
1347
+ onMousemove: Un,
1348
+ onMouseleave: Wn
1347
1349
  }, null, 44, Xe),
1348
- w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1350
+ w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [p("g", ue({
1351
+ class: "vue-ui-zoom-compact-minimap-handle",
1352
+ transform: `translate(${ei.value}, 0)`
1353
+ }, Vr.value, {
1354
+ onKeydown: t[2] ||= (e) => Br("start", e),
1355
+ onPointerdown: t[3] ||= y((e) => Jr("start", e), ["stop", "prevent"]),
1356
+ onPointermove: t[4] ||= y((e) => Kr("start", e), ["stop", "prevent"]),
1357
+ onPointerup: t[5] ||= y((e) => qr("start", e), ["stop", "prevent"]),
1358
+ onPointercancel: t[6] ||= y((e) => qr("start", e), ["stop", "prevent"]),
1359
+ onClick: t[7] ||= y(() => {}, ["stop", "prevent"])
1360
+ }), [
1349
1361
  p("rect", {
1350
- class: "vue-ui-zoom-compact-minimap-handle",
1351
- x: Yr.value,
1362
+ class: "vue-ui-zoom-compact-minimap-handle-hit",
1363
+ x: -Zr.value,
1364
+ y: $r.value,
1365
+ width: Zr.value,
1366
+ height: Qr.value,
1367
+ fill: "transparent"
1368
+ }, null, 8, Qe),
1369
+ p("rect", {
1370
+ class: "vue-ui-zoom-compact-minimap-handle-visual",
1371
+ x: -$.value,
1352
1372
  y: 0,
1353
1373
  width: $.value,
1354
- height: I.value.height,
1355
- fill: s.handleFill || P.value,
1374
+ height: F.value.height,
1375
+ fill: s.handleFill || N.value,
1356
1376
  stroke: s.handleBorderColor || s.textColor,
1357
1377
  "stroke-width": s.handleBorderWidth,
1358
1378
  rx: 3
1359
- }, null, 8, Ze),
1379
+ }, null, 8, $e),
1360
1380
  s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1361
1381
  key: 0,
1362
1382
  class: "compact-handle-icon",
1363
- transform: `translate(${Yr.value}, 0)`,
1383
+ transform: `translate(${-$.value}, 0)`,
1364
1384
  style: { "pointer-events": "none" }
1365
1385
  }, [(g(), f("svg", {
1366
1386
  width: $.value,
1367
- height: I.value.height,
1387
+ height: F.value.height,
1368
1388
  viewBox: "0 0 20 20",
1369
1389
  preserveAspectRatio: "xMidYMid meet"
1370
1390
  }, [s.handleType === "arrow" ? (g(), f("path", {
1371
1391
  key: 0,
1372
1392
  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",
1373
- fill: P.value,
1393
+ fill: N.value,
1374
1394
  stroke: s.handleIconColor || s.textColor,
1375
1395
  "stroke-width": .618,
1376
1396
  "stroke-linejoin": "round",
1377
1397
  "stroke-linecap": "round"
1378
- }, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
1398
+ }, null, 8, nt)) : s.handleType === "chevron" ? (g(), f("path", {
1379
1399
  key: 1,
1380
1400
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1381
1401
  fill: "none",
@@ -1383,43 +1403,57 @@ var we = ["data-minimap"], Te = {
1383
1403
  "stroke-width": .618,
1384
1404
  "stroke-linejoin": "round",
1385
1405
  "stroke-linecap": "round"
1386
- }, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
1406
+ }, null, 8, rt)) : s.handleType === "grab" ? (g(), f("path", {
1387
1407
  key: 2,
1388
1408
  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",
1389
1409
  fill: s.handleIconColor || s.textColor,
1390
1410
  stroke: "none",
1391
1411
  opacity: "0.6"
1392
- }, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
1412
+ }, null, 8, it)) : d("", !0)], 8, tt))], 8, et)) : d("", !0)
1413
+ ], 16, Ze), p("g", ue({
1414
+ class: "vue-ui-zoom-compact-minimap-handle",
1415
+ transform: `translate(${ti.value}, 0)`
1416
+ }, Hr.value, {
1417
+ onKeydown: t[8] ||= (e) => Br("end", e),
1418
+ onPointerdown: t[9] ||= y((e) => Jr("end", e), ["stop", "prevent"]),
1419
+ onPointermove: t[10] ||= y((e) => Kr("end", e), ["stop", "prevent"]),
1420
+ onPointerup: t[11] ||= y((e) => qr("end", e), ["stop", "prevent"]),
1421
+ onPointercancel: t[12] ||= y((e) => qr("end", e), ["stop", "prevent"]),
1422
+ onClick: t[13] ||= y(() => {}, ["stop", "prevent"])
1423
+ }), [
1424
+ p("rect", {
1425
+ class: "vue-ui-zoom-compact-minimap-handle-hit",
1426
+ x: 0,
1427
+ y: $r.value,
1428
+ width: Zr.value,
1429
+ height: Qr.value,
1430
+ fill: "transparent"
1431
+ }, null, 8, ot),
1393
1432
  p("rect", {
1394
- class: "vue-ui-zoom-compact-minimap-handle",
1395
- x: Xr.value,
1433
+ class: "vue-ui-zoom-compact-minimap-handle-visual",
1434
+ x: 0,
1396
1435
  y: 0,
1397
1436
  width: $.value,
1398
- height: I.value.height,
1399
- fill: s.handleFill || P.value,
1437
+ height: F.value.height,
1438
+ fill: s.handleFill || N.value,
1400
1439
  stroke: s.handleBorderColor || s.textColor,
1401
1440
  "stroke-width": s.handleBorderWidth,
1402
1441
  rx: 3
1403
- }, null, 8, rt),
1404
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1405
- key: 1,
1406
- class: "compact-handle-icon",
1407
- transform: `translate(${Xr.value}, 0)`,
1408
- style: { "pointer-events": "none" }
1409
- }, [(g(), f("svg", {
1442
+ }, null, 8, st),
1443
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", ct, [(g(), f("svg", {
1410
1444
  width: $.value,
1411
- height: I.value.height,
1445
+ height: F.value.height,
1412
1446
  viewBox: "0 0 20 20",
1413
1447
  preserveAspectRatio: "xMidYMid meet"
1414
1448
  }, [s.handleType === "arrow" ? (g(), f("path", {
1415
1449
  key: 0,
1416
1450
  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",
1417
- fill: P.value,
1451
+ fill: N.value,
1418
1452
  stroke: s.handleIconColor || s.textColor,
1419
1453
  "stroke-width": .618,
1420
1454
  "stroke-linejoin": "round",
1421
1455
  "stroke-linecap": "round"
1422
- }, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
1456
+ }, null, 8, ut)) : s.handleType === "chevron" ? (g(), f("path", {
1423
1457
  key: 1,
1424
1458
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1425
1459
  fill: "none",
@@ -1427,48 +1461,48 @@ var we = ["data-minimap"], Te = {
1427
1461
  "stroke-width": .618,
1428
1462
  "stroke-linejoin": "round",
1429
1463
  "stroke-linecap": "round"
1430
- }, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
1464
+ }, null, 8, dt)) : s.handleType === "grab" ? (g(), f("path", {
1431
1465
  key: 2,
1432
1466
  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",
1433
1467
  fill: s.handleIconColor || s.textColor,
1434
1468
  stroke: "none",
1435
1469
  opacity: "0.6"
1436
- }, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
1437
- ], 64)) : d("", !0),
1438
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
1470
+ }, null, 8, ft)) : d("", !0)], 8, lt))])) : d("", !0)
1471
+ ], 16, at)], 64)) : d("", !0),
1472
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", pt, [
1439
1473
  V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1440
1474
  key: 0,
1441
1475
  cx: V.value.firstPlot.x,
1442
1476
  cy: V.value.firstPlot.y,
1443
1477
  "stroke-width": "0.5",
1444
- stroke: P.value,
1478
+ stroke: N.value,
1445
1479
  r: "4",
1446
1480
  fill: s.minimapLineColor
1447
- }, null, 8, ut)) : d("", !0),
1481
+ }, null, 8, mt)) : d("", !0),
1448
1482
  V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1449
1483
  key: 1,
1450
1484
  cx: V.value.firstPlot.x,
1451
1485
  cy: V.value.firstPlot.y,
1452
1486
  r: 2,
1453
- fill: P.value
1454
- }, null, 8, dt)) : d("", !0),
1487
+ fill: N.value
1488
+ }, null, 8, ht)) : d("", !0),
1455
1489
  V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1456
1490
  key: 2,
1457
1491
  cx: V.value.lastPlot.x,
1458
1492
  cy: V.value.lastPlot.y,
1459
1493
  "stroke-width": "0.5",
1460
- stroke: P.value,
1494
+ stroke: N.value,
1461
1495
  r: "4",
1462
1496
  fill: s.minimapLineColor
1463
- }, null, 8, ft)) : d("", !0),
1497
+ }, null, 8, gt)) : d("", !0),
1464
1498
  V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1465
1499
  key: 3,
1466
1500
  cx: V.value.lastPlot.x,
1467
1501
  cy: V.value.lastPlot.y,
1468
1502
  r: "2",
1469
- fill: P.value
1470
- }, null, 8, pt)) : d("", !0)
1471
- ])) : (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) }, [
1503
+ fill: N.value
1504
+ }, null, 8, _t)) : d("", !0)
1505
+ ])) : (g(), f("g", vt, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1472
1506
  e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1473
1507
  key: 0,
1474
1508
  d: `M ${e.selectionSet}`,
@@ -1478,57 +1512,57 @@ var we = ["data-minimap"], Te = {
1478
1512
  "stroke-linecap": "round",
1479
1513
  "stroke-linejoin": "round",
1480
1514
  "stroke-dasharray": e.dashed ? "2 4" : 0
1481
- }, null, 8, ht)) : d("", !0),
1515
+ }, null, 8, yt)) : d("", !0),
1482
1516
  e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1483
1517
  key: `sel-dot-${e.key}-${t.i}`,
1484
1518
  cx: t.x,
1485
1519
  cy: t.y,
1486
1520
  r: "2.5",
1487
1521
  fill: e.color,
1488
- stroke: P.value,
1522
+ stroke: N.value,
1489
1523
  "stroke-width": "0.5"
1490
- }, null, 8, gt))), 128)) : d("", !0),
1524
+ }, null, 8, bt))), 128)) : d("", !0),
1491
1525
  e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1492
1526
  key: 2,
1493
1527
  cx: e.firstPlot.x,
1494
1528
  cy: e.firstPlot.y,
1495
1529
  "stroke-width": "0.5",
1496
- stroke: P.value,
1530
+ stroke: N.value,
1497
1531
  r: "4",
1498
1532
  fill: e.color
1499
- }, null, 8, _t)) : d("", !0),
1533
+ }, null, 8, xt)) : d("", !0),
1500
1534
  e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1501
1535
  key: 3,
1502
1536
  cx: e.firstPlot.x,
1503
1537
  cy: e.firstPlot.y,
1504
1538
  r: "2",
1505
- fill: P.value
1506
- }, null, 8, vt)) : d("", !0),
1539
+ fill: N.value
1540
+ }, null, 8, St)) : d("", !0),
1507
1541
  e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1508
1542
  key: 4,
1509
1543
  cx: e.lastPlot.x,
1510
1544
  cy: e.lastPlot.y,
1511
1545
  "stroke-width": "0.5",
1512
- stroke: P.value,
1546
+ stroke: N.value,
1513
1547
  r: "4",
1514
1548
  fill: e.color
1515
- }, null, 8, yt)) : d("", !0),
1549
+ }, null, 8, Ct)) : d("", !0),
1516
1550
  e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1517
1551
  key: 5,
1518
1552
  cx: e.lastPlot.x,
1519
1553
  cy: e.lastPlot.y,
1520
1554
  r: "2",
1521
- fill: P.value
1522
- }, null, 8, bt)) : d("", !0)
1555
+ fill: N.value
1556
+ }, null, 8, wt)) : d("", !0)
1523
1557
  ]))), 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", {
1524
1558
  key: `sel-plot-${e.key}-${t.i}`,
1525
1559
  cx: t.x,
1526
1560
  cy: t.y,
1527
1561
  r: "2.5",
1528
1562
  fill: e.color,
1529
- stroke: P.value,
1563
+ stroke: N.value,
1530
1564
  "stroke-width": "0.5"
1531
- }, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1565
+ }, null, 8, Tt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1532
1566
  ], 8, Oe))])) : d("", !0),
1533
1567
  p("div", {
1534
1568
  class: "slider-track",
@@ -1539,19 +1573,19 @@ var we = ["data-minimap"], Te = {
1539
1573
  "range-highlight": !0,
1540
1574
  move: s.enableSelectionDrag
1541
1575
  }),
1542
- onMousedown: t[2] ||= (e) => X.value = !0,
1543
- onMouseup: t[3] ||= (e) => X.value = !1,
1576
+ onMousedown: t[14] ||= (e) => X.value = !0,
1577
+ onMouseup: t[15] ||= (e) => X.value = !1,
1544
1578
  style: h({
1545
- ...N.value,
1579
+ ...M.value,
1546
1580
  cursor: X.value ? "grabbing" : "grab",
1547
1581
  visibility: w.value && s.minimapCompact ? "hidden" : "visible"
1548
1582
  })
1549
1583
  }, null, 38),
1550
- s.enableRangeHandles ? xe((g(), f("input", {
1584
+ s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
1551
1585
  key: 1,
1552
1586
  "aria-label": "range-handle-left",
1553
1587
  ref_key: "rangeStart",
1554
- ref: Un,
1588
+ ref: Gn,
1555
1589
  type: "range",
1556
1590
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1557
1591
  class: m({
@@ -1561,27 +1595,27 @@ var we = ["data-minimap"], Te = {
1561
1595
  "range-invisible": w.value && s.minimapCompact
1562
1596
  }),
1563
1597
  min: s.min,
1564
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1598
+ max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1565
1599
  tabindex: w.value ? -1 : 0,
1566
- "onUpdate:modelValue": t[4] ||= (e) => Pn.value = e,
1567
- onFocus: t[5] ||= (e) => w.value && e.target.blur(),
1568
- onInput: t[6] ||= (e) => Pn.value = e.target.valueAsNumber,
1569
- onChange: j,
1570
- onKeyup: Se(j, ["enter"]),
1571
- onBlur: j,
1572
- onMouseenter: t[7] ||= (e) => Cr("start"),
1573
- onPointerup: j
1574
- }, null, 42, St)), [[
1600
+ "onUpdate:modelValue": t[16] ||= (e) => In.value = e,
1601
+ onFocus: t[17] ||= (e) => w.value && e.target.blur(),
1602
+ onInput: t[18] ||= (e) => In.value = e.target.valueAsNumber,
1603
+ onChange: A,
1604
+ onKeyup: Ce(A, ["enter"]),
1605
+ onBlur: A,
1606
+ onMouseenter: t[19] ||= (e) => Tr("start"),
1607
+ onPointerup: A
1608
+ }, null, 42, Et)), [[
1575
1609
  be,
1576
- Pn.value,
1610
+ In.value,
1577
1611
  void 0,
1578
1612
  { number: !0 }
1579
1613
  ]]) : d("", !0),
1580
- s.enableRangeHandles ? xe((g(), f("input", {
1614
+ s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
1581
1615
  key: 2,
1582
1616
  "aria-label": "range-handle-right",
1583
1617
  ref_key: "rangeEnd",
1584
- ref: Wn,
1618
+ ref: Kn,
1585
1619
  type: "range",
1586
1620
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1587
1621
  class: m({
@@ -1591,113 +1625,84 @@ var we = ["data-minimap"], Te = {
1591
1625
  "range-invisible": w.value && s.minimapCompact
1592
1626
  }),
1593
1627
  min: s.min,
1594
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1628
+ max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1595
1629
  tabindex: w.value ? -1 : 0,
1596
- onFocus: t[8] ||= (e) => w.value && e.target.blur(),
1597
- "onUpdate:modelValue": t[9] ||= (e) => Fn.value = e,
1598
- onInput: t[10] ||= (e) => Fn.value = e.target.valueAsNumber,
1599
- onChange: j,
1600
- onKeyup: Se(j, ["enter"]),
1601
- onBlur: j,
1602
- onMouseenter: t[11] ||= (e) => Cr("end"),
1603
- onPointerup: j
1604
- }, null, 42, Ct)), [[
1630
+ onFocus: t[20] ||= (e) => w.value && e.target.blur(),
1631
+ "onUpdate:modelValue": t[21] ||= (e) => Ln.value = e,
1632
+ onInput: t[22] ||= (e) => Ln.value = e.target.valueAsNumber,
1633
+ onChange: A,
1634
+ onKeyup: Ce(A, ["enter"]),
1635
+ onBlur: A,
1636
+ onMouseenter: t[23] ||= (e) => Tr("end"),
1637
+ onPointerup: A
1638
+ }, null, 42, Dt)), [[
1605
1639
  be,
1606
- Fn.value,
1640
+ Ln.value,
1607
1641
  void 0,
1608
1642
  { number: !0 }
1609
1643
  ]]) : d("", !0),
1610
- w.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
1611
- xmlns: ve(ne),
1612
- viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
1613
- }, [p("rect", ue({
1614
- class: "vue-ui-zoom-compact-minimap-handle",
1615
- x: Yr.value,
1616
- y: 0,
1617
- width: $.value,
1618
- height: I.value.height,
1619
- fill: "transparent",
1620
- stroke: "none"
1621
- }, zr.value, {
1622
- onKeydown: t[12] ||= (e) => Rr("start", e),
1623
- onMousedown: t[13] ||= Ce((e) => Kr("start", e), ["stop", "prevent"]),
1624
- onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
1625
- }), null, 16, Et), p("rect", ue({
1626
- class: "vue-ui-zoom-compact-minimap-handle",
1627
- x: Xr.value,
1628
- y: 0,
1629
- width: $.value,
1630
- height: I.value.height,
1631
- fill: "transparent",
1632
- stroke: "none",
1633
- rx: 3
1634
- }, Br.value, {
1635
- onKeydown: t[15] ||= (e) => Rr("end", e),
1636
- onMousedown: t[16] ||= Ce((e) => Kr("end", e), ["stop", "prevent"]),
1637
- onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
1638
- }), null, 16, Dt)], 8, Tt))])) : d("", !0),
1639
1644
  Q.value.left ? (g(), f("div", {
1640
- key: 4,
1645
+ key: 3,
1641
1646
  ref_key: "tooltipLeft",
1642
- ref: gr,
1647
+ ref: vr,
1643
1648
  class: m({
1644
1649
  "range-tooltip": !0,
1645
1650
  "range-tooltip-visible": Z.value,
1646
- "range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
1647
- "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles
1651
+ "range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
1652
+ "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
1648
1653
  }),
1649
1654
  style: h({
1650
- left: N.value.tooltipLeft,
1655
+ left: M.value.tooltipLeft,
1651
1656
  color: ve(te)(s.selectColor),
1652
1657
  backgroundColor: s.selectColor,
1653
- border: `1px solid ${P.value}`,
1654
- zIndex: `${Sr.value + 4}`,
1655
- visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1658
+ border: `1px solid ${N.value}`,
1659
+ zIndex: `${wr.value + 4}`,
1660
+ visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1656
1661
  top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1657
1662
  })
1658
1663
  }, _e(Q.value.left), 7)) : d("", !0),
1659
- (wr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1660
- key: 5,
1664
+ (Er.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1665
+ key: 4,
1661
1666
  ref: "tooltipMerge",
1662
1667
  class: m({
1663
1668
  "range-tooltip": !0,
1664
1669
  "range-tooltip-visible": Z.value,
1665
1670
  "range-tooltip-arrow": !0,
1666
- "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles,
1667
- "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1671
+ "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
1672
+ "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1668
1673
  }),
1669
1674
  style: h({
1670
- left: N.value.tooltipCenter,
1671
- width: Tr.value.width + "px",
1675
+ left: M.value.tooltipCenter,
1676
+ width: Dr.value.width + "px",
1672
1677
  color: ve(te)(s.selectColor),
1673
1678
  backgroundColor: s.selectColor,
1674
- border: `1px solid ${P.value}`,
1679
+ border: `1px solid ${N.value}`,
1675
1680
  zIndex: "4",
1676
1681
  top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1677
1682
  })
1678
1683
  }, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1679
1684
  Q.value.right ? (g(), f("div", {
1680
- key: 6,
1685
+ key: 5,
1681
1686
  ref_key: "tooltipRight",
1682
- ref: _r,
1687
+ ref: yr,
1683
1688
  class: m({
1684
1689
  "range-tooltip": !0,
1685
1690
  "range-tooltip-visible": Z.value,
1686
- "range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
1687
- "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1691
+ "range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
1692
+ "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1688
1693
  }),
1689
1694
  style: h({
1690
- left: N.value.tooltipRight,
1695
+ left: M.value.tooltipRight,
1691
1696
  color: ve(te)(s.selectColor),
1692
1697
  backgroundColor: s.selectColor,
1693
- border: `1px solid ${P.value}`,
1698
+ border: `1px solid ${N.value}`,
1694
1699
  zIndex: "4",
1695
- visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1700
+ visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1696
1701
  top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1697
1702
  })
1698
1703
  }, _e(Q.value.right), 7)) : d("", !0)
1699
1704
  ], 36)], 44, we));
1700
1705
  }
1701
- }, [["__scopeId", "data-v-023703bd"]]);
1706
+ }, [["__scopeId", "data-v-cb690903"]]);
1702
1707
  //#endregion
1703
- export { kt as t };
1708
+ export { At as t };