vue-data-ui 3.22.7 → 3.22.9

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