vue-data-ui 3.22.14 → 3.23.1

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 (229) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-Ci7Burxz.js → Arrow-CF0VFcBH.js} +1 -1
  4. package/dist/{BaseDraggableDialog-hyW32gLf.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  5. package/dist/{BaseIcon-DJbOzCDs.js → BaseIcon-BfndwIWE.js} +4 -3
  6. package/dist/{BaseLegendToggle-DJU4VsLO.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  7. package/dist/{BaseZoomControls-CwhpsHIL.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  8. package/dist/{ColorPicker-BVWrKEQl.js → ColorPicker--ayG2YHf.js} +2 -2
  9. package/dist/{DataTable-rIsBpJMt.js → DataTable-BbKgJ5UI.js} +2 -2
  10. package/dist/HillActions-BD9j_sOU.js +187 -0
  11. package/dist/{Legend-DSPDFP3n.js → Legend-CQxUgOd-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-DZyYthbM.js → NonSvgPenAndPaper-4ypecDg1.js} +22 -22
  13. package/dist/{PackageVersion-BUmadjVO.js → PackageVersion-D6d8SCp9.js} +1 -1
  14. package/dist/{PenAndPaper-D--sbRMA.js → PenAndPaper-DAE-tnEQ.js} +14 -14
  15. package/dist/{Shape-Dmh9jBFh.js → Shape-C21CMlWS.js} +3 -3
  16. package/dist/Slicer-CIk57nL4.js +1163 -0
  17. package/dist/{SlicerPreview-CCIb3v8u.js → SlicerPreview-wUw1hFwe.js} +384 -370
  18. package/dist/{SparkTooltip-GjWLZ39s.js → SparkTooltip-CjsbIhzi.js} +6 -6
  19. package/dist/Title-BE3qg9xl.js +87 -0
  20. package/dist/{Tooltip-CEbqzIhL.js → Tooltip-DhjyfHwz.js} +2 -2
  21. package/dist/{UserOptions-BknvMNU1.js → UserOptions-Dt98of5H.js} +2 -2
  22. package/dist/components/arrow.js +1 -1
  23. package/dist/components/vue-ui-3d-bar.js +1 -1
  24. package/dist/components/vue-ui-accordion.js +1 -1
  25. package/dist/components/vue-ui-age-pyramid.js +1 -1
  26. package/dist/components/vue-ui-annotator.js +1 -1
  27. package/dist/components/vue-ui-bullet.js +1 -1
  28. package/dist/components/vue-ui-bump.js +1 -1
  29. package/dist/components/vue-ui-candlestick.js +1 -1
  30. package/dist/components/vue-ui-carousel-table.js +1 -1
  31. package/dist/components/vue-ui-chestnut.js +1 -1
  32. package/dist/components/vue-ui-chord.js +1 -1
  33. package/dist/components/vue-ui-circle-pack.js +1 -1
  34. package/dist/components/vue-ui-cursor.js +1 -1
  35. package/dist/components/vue-ui-dag.js +1 -1
  36. package/dist/components/vue-ui-dashboard.js +1 -1
  37. package/dist/components/vue-ui-digits.js +1 -1
  38. package/dist/components/vue-ui-donut-evolution.js +1 -1
  39. package/dist/components/vue-ui-donut.js +1 -1
  40. package/dist/components/vue-ui-dumbbell.js +1 -1
  41. package/dist/components/vue-ui-flow.js +1 -1
  42. package/dist/components/vue-ui-funnel.js +1 -1
  43. package/dist/components/vue-ui-galaxy.js +1 -1
  44. package/dist/components/vue-ui-gauge.js +1 -1
  45. package/dist/components/vue-ui-geo.js +1 -1
  46. package/dist/components/vue-ui-gizmo.js +1 -1
  47. package/dist/components/vue-ui-heatmap.js +1 -1
  48. package/dist/components/vue-ui-hill.js +2 -0
  49. package/dist/components/vue-ui-history-plot.js +1 -1
  50. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  51. package/dist/components/vue-ui-icon.js +1 -1
  52. package/dist/components/vue-ui-kpi.js +1 -1
  53. package/dist/components/vue-ui-mini-loader.js +1 -1
  54. package/dist/components/vue-ui-molecule.js +1 -1
  55. package/dist/components/vue-ui-mood-radar.js +1 -1
  56. package/dist/components/vue-ui-nested-donuts.js +1 -1
  57. package/dist/components/vue-ui-onion.js +1 -1
  58. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  59. package/dist/components/vue-ui-quadrant.js +1 -1
  60. package/dist/components/vue-ui-quick-chart.js +1 -1
  61. package/dist/components/vue-ui-radar.js +1 -1
  62. package/dist/components/vue-ui-rating.js +1 -1
  63. package/dist/components/vue-ui-relation-circle.js +1 -1
  64. package/dist/components/vue-ui-ridgeline.js +1 -1
  65. package/dist/components/vue-ui-rings.js +1 -1
  66. package/dist/components/vue-ui-scatter.js +1 -1
  67. package/dist/components/vue-ui-skeleton.js +1 -1
  68. package/dist/components/vue-ui-smiley.js +1 -1
  69. package/dist/components/vue-ui-spark-trend.js +1 -1
  70. package/dist/components/vue-ui-sparkbar.js +1 -1
  71. package/dist/components/vue-ui-sparkgauge.js +1 -1
  72. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  73. package/dist/components/vue-ui-sparkline.js +1 -1
  74. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  75. package/dist/components/vue-ui-stackbar.js +1 -1
  76. package/dist/components/vue-ui-stackline.js +1 -1
  77. package/dist/components/vue-ui-strip-plot.js +1 -1
  78. package/dist/components/vue-ui-table-heatmap.js +1 -1
  79. package/dist/components/vue-ui-table-sparkline.js +1 -1
  80. package/dist/components/vue-ui-table.js +1 -1
  81. package/dist/components/vue-ui-thermometer.js +1 -1
  82. package/dist/components/vue-ui-timer.js +1 -1
  83. package/dist/components/vue-ui-tiremarks.js +1 -1
  84. package/dist/components/vue-ui-treemap.js +1 -1
  85. package/dist/components/vue-ui-vertical-bar.js +1 -1
  86. package/dist/components/vue-ui-waffle.js +1 -1
  87. package/dist/components/vue-ui-wheel.js +1 -1
  88. package/dist/components/vue-ui-word-cloud.js +1 -1
  89. package/dist/components/vue-ui-world.js +1 -1
  90. package/dist/components/vue-ui-xy-canvas.js +1 -1
  91. package/dist/components/vue-ui-xy.js +1 -1
  92. package/dist/composables.js +1 -1
  93. package/dist/{dom-to-png-BbPRUKX6.js → dom-to-png-BYIvdTe8.js} +1 -1
  94. package/dist/exposedLib-C0DPCgFj.js +28 -0
  95. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  96. package/dist/{img-zY7_pJz1.js → img-Bnokohej.js} +1 -1
  97. package/dist/{labelUtils-DYdYmN_Q.js → labelUtils-BeVpDvTJ.js} +1 -1
  98. package/dist/{lib-C-QGo8GG.js → lib-Bttd6u5E.js} +27 -12
  99. package/dist/{package-QmuZcjWs.js → package-KvlL5CqE.js} +1 -1
  100. package/dist/{pdf-CuSS-5_j.js → pdf-CVIDfCrS.js} +1 -1
  101. package/dist/{render-common-DasqIYp9.js → render-common-oDYGTc5P.js} +21 -21
  102. package/dist/ssr/vue-ui-donut.js +1 -1
  103. package/dist/ssr/vue-ui-xy.js +1 -1
  104. package/dist/ssr.js +2 -2
  105. package/dist/style.css +1 -1
  106. package/dist/types/vue-data-ui.d.ts +496 -0
  107. package/dist/types/vue-ui-hill.d.ts +90 -0
  108. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  109. package/dist/{useConfig-C0V0eG7L.js → useConfig-D3scuR88.js} +774 -477
  110. package/dist/useHints-Dq_w2E8B.js +66 -0
  111. package/dist/{useNestedProp-BYfiWVP8.js → useNestedProp-vPNvh7rV.js} +5 -3
  112. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Brg8mm5J.js} +3 -2
  113. package/dist/{usePrinter-C5ordS-4.js → usePrinter-DN5bYhTG.js} +2 -2
  114. package/dist/{useSvgExport-Ba9qBr9M.js → useSvgExport-DH-FfcqQ.js} +1 -1
  115. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  116. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  117. package/dist/useTransitions-g_zBREk2.js +39 -0
  118. package/dist/utils.js +14 -14
  119. package/dist/{vue-data-ui-D3jZ4lg1.js → vue-data-ui-DGWDPCwC.js} +85 -81
  120. package/dist/vue-data-ui.js +77 -76
  121. package/dist/vue-ui-3d-bar-C_Su9fve.js +1849 -0
  122. package/dist/{vue-ui-accordion-FimGHtuy.js → vue-ui-accordion-BxGriZik.js} +4 -4
  123. package/dist/vue-ui-age-pyramid-D4k1MkAL.js +1264 -0
  124. package/dist/vue-ui-annotator-CCtnM8Rv.js +2886 -0
  125. package/dist/vue-ui-bullet-DLZr2Uk8.js +724 -0
  126. package/dist/{vue-ui-bump-CG3WTTFy.js → vue-ui-bump-CcdzJZ9n.js} +334 -297
  127. package/dist/{vue-ui-candlestick-C3smYvQA.js → vue-ui-candlestick-EEEt7ORC.js} +468 -442
  128. package/dist/vue-ui-carousel-table-BicIpNAD.js +463 -0
  129. package/dist/{vue-ui-chestnut-i7FYoqi8.js → vue-ui-chestnut-BI7mC5dd.js} +523 -497
  130. package/dist/{vue-ui-chord-DCZo55QA.js → vue-ui-chord-DXaq8ZMu.js} +432 -426
  131. package/dist/vue-ui-circle-pack-XHJBMG51.js +1659 -0
  132. package/dist/{vue-ui-cursor-DEf_l0Xc.js → vue-ui-cursor-BqHr0n1Z.js} +61 -61
  133. package/dist/{vue-ui-dag-beo3-quD.js → vue-ui-dag-jMLVoQkb.js} +677 -674
  134. package/dist/vue-ui-dashboard-DVAUFETR.js +520 -0
  135. package/dist/{vue-ui-digits-BnMqGAhl.js → vue-ui-digits-Dy4gG6qm.js} +59 -51
  136. package/dist/vue-ui-donut-C0cWRLbU.js +2441 -0
  137. package/dist/{vue-ui-donut-Cr0uTWGk.js → vue-ui-donut-CYpxGBhl.js} +117 -116
  138. package/dist/{vue-ui-donut-evolution-D54NP3FP.js → vue-ui-donut-evolution-DwR47A2r.js} +534 -448
  139. package/dist/vue-ui-dumbbell-DxVbRjKR.js +1582 -0
  140. package/dist/{vue-ui-flow-CnateJjc.js → vue-ui-flow-DWaZF4FS.js} +415 -407
  141. package/dist/vue-ui-funnel-Bmpx5GHR.js +797 -0
  142. package/dist/vue-ui-galaxy-CWBP9oH9.js +1111 -0
  143. package/dist/vue-ui-gauge-ByE_txav.js +953 -0
  144. package/dist/{vue-ui-geo-DnO1RIFR.js → vue-ui-geo-ZA7CBy8f.js} +372 -357
  145. package/dist/{vue-ui-gizmo-DyxeSKIk.js → vue-ui-gizmo-SQCou0bQ.js} +57 -49
  146. package/dist/{vue-ui-heatmap-6Ja5LKYE.js → vue-ui-heatmap-CHd9gs_p.js} +473 -465
  147. package/dist/vue-ui-hill-BT183G-_.js +1768 -0
  148. package/dist/vue-ui-history-plot-BwnlC1mx.js +1723 -0
  149. package/dist/vue-ui-horizontal-bar-BUar2HUH.js +1733 -0
  150. package/dist/vue-ui-kpi-BF_9WWoo.js +104 -0
  151. package/dist/vue-ui-mini-loader-CvfukjXi.js +133 -0
  152. package/dist/vue-ui-molecule-Bi2CKHer.js +958 -0
  153. package/dist/{vue-ui-mood-radar-TWo57SKD.js → vue-ui-mood-radar-_zpbmvJs.js} +349 -341
  154. package/dist/{vue-ui-nested-donuts-W0TpPXIQ.js → vue-ui-nested-donuts-qHZAJ70u.js} +452 -416
  155. package/dist/vue-ui-onion-CB5RYIy5.js +1258 -0
  156. package/dist/vue-ui-parallel-coordinate-plot-BUwt-apg.js +1455 -0
  157. package/dist/{vue-ui-quadrant-BM9VLDcC.js → vue-ui-quadrant-CoROD3er.js} +636 -628
  158. package/dist/vue-ui-quick-chart-BcH7eY4-.js +2397 -0
  159. package/dist/{vue-ui-radar-BVz6Uq2k.js → vue-ui-radar-DGbaXGme.js} +380 -334
  160. package/dist/vue-ui-rating-Bo3zD3yW.js +360 -0
  161. package/dist/vue-ui-relation-circle-DaU1eTsG.js +925 -0
  162. package/dist/vue-ui-ridgeline-BCaGcyfk.js +1664 -0
  163. package/dist/{vue-ui-rings-DEZrfBYX.js → vue-ui-rings-BJUBn8_b.js} +450 -424
  164. package/dist/{vue-ui-scatter-owaIOpD0.js → vue-ui-scatter-Pcft1bUt.js} +721 -702
  165. package/dist/{vue-ui-skeleton-Cxszgax7.js → vue-ui-skeleton-EeJcGbCo.js} +395 -387
  166. package/dist/{vue-ui-smiley-DZBPvVeN.js → vue-ui-smiley-D0gibt5c.js} +128 -120
  167. package/dist/{vue-ui-spark-trend-CW4cLUqP.js → vue-ui-spark-trend-BRoQ7JpQ.js} +132 -117
  168. package/dist/{vue-ui-sparkbar-DeSSqv4v.js → vue-ui-sparkbar-DFp2k7-7.js} +119 -111
  169. package/dist/{vue-ui-sparkgauge-VSiPVgUQ.js → vue-ui-sparkgauge-D0Bq85Hs.js} +76 -68
  170. package/dist/vue-ui-sparkhistogram-BPln7v63.js +590 -0
  171. package/dist/{vue-ui-sparkline-DyZdAQMl.js → vue-ui-sparkline-C6Q45Dqp.js} +391 -365
  172. package/dist/vue-ui-sparkstackbar-CjK4bcQg.js +692 -0
  173. package/dist/vue-ui-stackbar-Ca8EPf3e.js +2353 -0
  174. package/dist/vue-ui-stackline-Pz5WWlWT.js +2467 -0
  175. package/dist/{vue-ui-strip-plot-BquHFKHA.js → vue-ui-strip-plot-Dw4MGDSO.js} +508 -487
  176. package/dist/vue-ui-table-Bjg-ujJu.js +1352 -0
  177. package/dist/vue-ui-table-heatmap-ljeYW8Wc.js +364 -0
  178. package/dist/{vue-ui-table-sparkline-CyGqW88t.js → vue-ui-table-sparkline-iRFmtK5S.js} +207 -181
  179. package/dist/vue-ui-thermometer-D8uiOaeA.js +777 -0
  180. package/dist/{vue-ui-timer-BVjydam-.js → vue-ui-timer-CYw983oL.js} +66 -58
  181. package/dist/vue-ui-tiremarks-CekiW2Ru.js +559 -0
  182. package/dist/vue-ui-treemap-h4VbnqPA.js +1760 -0
  183. package/dist/vue-ui-waffle-cu0w_s6L.js +1412 -0
  184. package/dist/{vue-ui-wheel-D-VVxvxY.js → vue-ui-wheel-tLvJadk5.js} +225 -217
  185. package/dist/{vue-ui-word-cloud-CcRch2t2.js → vue-ui-word-cloud-BjpGSsod.js} +440 -432
  186. package/dist/{vue-ui-world-BJq4PZqF.js → vue-ui-world-B4fCS3jN.js} +350 -342
  187. package/dist/{vue-ui-xy-D64AB5Qy.js → vue-ui-xy-7ZT9IRD8.js} +1639 -1595
  188. package/dist/{vue-ui-xy-canvas-mDqjPtxh.js → vue-ui-xy-canvas-BnLEwBpi.js} +459 -431
  189. package/dist/{vue-ui-xy-B8XBn08L.js → vue-ui-xy-gyNS0yH0.js} +216 -213
  190. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  191. package/package.json +4 -4
  192. package/dist/Slicer-JdCzBeYM.js +0 -1149
  193. package/dist/Title-Thf71-8D.js +0 -87
  194. package/dist/exposedLib-CfZhN94x.js +0 -25
  195. package/dist/useAutoSizeLabelsInsideViewbox-CSzmRywi.js +0 -50
  196. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  197. package/dist/vue-ui-3d-bar-D9-jAA5Z.js +0 -1824
  198. package/dist/vue-ui-age-pyramid-D4f-Agb7.js +0 -1246
  199. package/dist/vue-ui-annotator-P9E8hpJl.js +0 -2905
  200. package/dist/vue-ui-bullet-CKg0bShN.js +0 -709
  201. package/dist/vue-ui-carousel-table-BD_fxykj.js +0 -455
  202. package/dist/vue-ui-circle-pack--DUVDQx3.js +0 -1610
  203. package/dist/vue-ui-dashboard-mGLvP0UA.js +0 -512
  204. package/dist/vue-ui-donut-BCLG16Vb.js +0 -2418
  205. package/dist/vue-ui-dumbbell-DZ78WASa.js +0 -1564
  206. package/dist/vue-ui-funnel-DSpUMyDO.js +0 -781
  207. package/dist/vue-ui-galaxy-CxKafV1X.js +0 -1076
  208. package/dist/vue-ui-gauge-CegUK3FD.js +0 -925
  209. package/dist/vue-ui-history-plot-XOexkxeI.js +0 -1725
  210. package/dist/vue-ui-horizontal-bar-BCTdLxjK.js +0 -1689
  211. package/dist/vue-ui-kpi-EenGDZ-l.js +0 -96
  212. package/dist/vue-ui-mini-loader-CA7XxPk7.js +0 -125
  213. package/dist/vue-ui-molecule-5rpD2mlK.js +0 -932
  214. package/dist/vue-ui-onion-CDC9AGh1.js +0 -1199
  215. package/dist/vue-ui-parallel-coordinate-plot-DUOI7HoD.js +0 -1412
  216. package/dist/vue-ui-quick-chart-B8XCKef-.js +0 -2443
  217. package/dist/vue-ui-rating-B7ApWpIJ.js +0 -352
  218. package/dist/vue-ui-relation-circle-LVOR5VZ6.js +0 -917
  219. package/dist/vue-ui-ridgeline-BlyzSJHc.js +0 -1627
  220. package/dist/vue-ui-sparkhistogram-B5252IVr.js +0 -575
  221. package/dist/vue-ui-sparkstackbar-CiLgNzaI.js +0 -674
  222. package/dist/vue-ui-stackbar-Bwz6Z7M4.js +0 -2322
  223. package/dist/vue-ui-stackline-DX3YDRSg.js +0 -2427
  224. package/dist/vue-ui-table-DEhy61ln.js +0 -1339
  225. package/dist/vue-ui-table-heatmap-1LTxQfQX.js +0 -338
  226. package/dist/vue-ui-thermometer-CNvTQJUq.js +0 -769
  227. package/dist/vue-ui-tiremarks-3ZBAE8SA.js +0 -551
  228. package/dist/vue-ui-treemap-FqqXQvZw.js +0 -1727
  229. package/dist/vue-ui-waffle-B37Yx9uw.js +0 -1367
@@ -1,9 +1,9 @@
1
- import { B as e, F as t, Jt as n, K as r, N as i, St as a, V as o, bt as ee, r as te, t as ne, z as re } from "./lib-C-QGo8GG.js";
1
+ import { B as e, Ct as t, H as n, I as r, P as i, V as a, Yt as o, q as ee, r as te, t as ne, xt as re } from "./lib-Bttd6u5E.js";
2
2
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
4
- import { t as oe } from "./BaseIcon-DJbOzCDs.js";
4
+ import { t as oe } from "./BaseIcon-BfndwIWE.js";
5
5
  import { t as se } from "./DefGrad-DVBqDjhO.js";
6
- import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as fe, normalizeProps as pe, normalizeStyle as m, onBeforeUnmount as me, onMounted as he, onUpdated as ge, openBlock as h, ref as g, renderList as _, renderSlot as _e, toDisplayString as ve, unref as ye, useCssVars as be, vModelText as xe, watch as v, withDirectives as Se, withKeys as Ce, withModifiers as we } from "vue";
6
+ import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as xe, withDirectives as Se, withKeys as Ce, withModifiers as we } from "vue";
7
7
  //#region src/atoms/SlicerPreview.vue
8
8
  var Te = ["data-minimap"], Ee = {
9
9
  class: "vue-data-ui-slicer-labels",
@@ -372,6 +372,14 @@ var Te = ["data-minimap"], Ee = {
372
372
  type: Number,
373
373
  default: null
374
374
  },
375
+ minimapLeftInsetRatio: {
376
+ type: Number,
377
+ default: null
378
+ },
379
+ minimapRightInsetRatio: {
380
+ type: Number,
381
+ default: null
382
+ },
375
383
  isCursorPointer: {
376
384
  type: Boolean,
377
385
  default: !1
@@ -423,106 +431,113 @@ var Te = ["data-minimap"], Ee = {
423
431
  "trapMouseValue"
424
432
  ],
425
433
  setup(s, { expose: At, emit: jt }) {
426
- be((e) => ({
427
- v387ab4e8: an.value,
428
- v7bb82e00: N.value,
429
- v42303b71: sn.value,
430
- v5bed6f30: s.selectColor,
431
- v99127c84: on.value,
432
- v27b98ef0: y.additionalMinimapHeight
434
+ ye((e) => ({
435
+ v13222322: sn.value,
436
+ a9d0a8d4: N.value,
437
+ cfb69ef2: ln.value,
438
+ e9662674: s.selectColor,
439
+ v05118454: cn.value,
440
+ de2dd9f4: y.additionalMinimapHeight
433
441
  }));
434
442
  let y = s;
435
443
  function Mt(e) {
436
444
  let t = Number(e) || 0;
437
445
  return y.precision <= 0 ? Math.round(t) : Number(t.toFixed(y.precision));
438
446
  }
439
- let b = g(null), x = g(y.min), S = g(y.max), C = u(() => !!y.allMinimaps.length), Nt = g(r()), w = g(!1), T = u(() => C.value && y.minimapCompact), E = g(null), Pt = g(!1), Ft = g(0), It = g(0), Lt = g(null), Rt = g(!1), zt = u(() => E.value !== null), Bt = u(() => y.useValueRange ? S.value : S.value - 1), Vt = u(() => Math.max(1, Number(y.max) - Number(y.min)));
440
- function Ht(e) {
441
- return (Number(e) - Number(y.min)) / Vt.value * 100;
447
+ let b = _(null), x = _(y.min), S = _(y.max), C = u(() => !!y.allMinimaps.length), Nt = u(() => t(y.minimapLeftInsetRatio) && t(y.minimapRightInsetRatio)), Pt = u(() => {
448
+ let e = Math.min(1, Math.max(0, y.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, y.minimapRightInsetRatio)) * 100;
449
+ return {
450
+ padding: Nt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
451
+ maxWidth: y.maxWidth && !Nt.value ? `${y.maxWidth}px` : void 0,
452
+ margin: y.maxWidth && !Nt.value ? "0 auto" : void 0
453
+ };
454
+ }), Ft = _(ee()), w = _(!1), T = u(() => C.value && y.minimapCompact), E = _(null), It = _(!1), Lt = _(0), Rt = _(0), zt = _(null), Bt = _(!1), Vt = u(() => E.value !== null), Ht = u(() => y.useValueRange ? S.value : S.value - 1), Ut = u(() => Math.max(1, Number(y.max) - Number(y.min)));
455
+ function Wt(e) {
456
+ return (Number(e) - Number(y.min)) / Ut.value * 100;
442
457
  }
443
- function Ut(e) {
444
- return F.value.width * (Ht(e) / 100);
458
+ function Gt(e) {
459
+ return F.value.width * (Wt(e) / 100);
445
460
  }
446
- function Wt(e) {
461
+ function Kt(e) {
447
462
  let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
448
- return Mt(Number(y.min) + Vt.value * t);
463
+ return Mt(Number(y.min) + Ut.value * t);
449
464
  }
450
- function Gt(e) {
451
- let t = y.useValueRange ? e?.y : e;
452
- return a(t) ? Number(t) : null;
465
+ function qt(e) {
466
+ let n = y.useValueRange ? e?.y : e;
467
+ return t(n) ? Number(n) : null;
453
468
  }
454
- function Kt(e, t) {
469
+ function Jt(e, t) {
455
470
  return y.useValueRange ? Number(e?.x) : t + Number(y.min);
456
471
  }
457
- function qt(e, t) {
458
- return y.useValueRange ? Ut(Kt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
472
+ function Yt(e, t) {
473
+ return y.useValueRange ? Gt(Jt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
459
474
  }
460
- let Jt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Yt = g(0), Xt = c((e) => j("futureStart", e), 0), Zt = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
475
+ let Xt = u(() => Math.min(40, Math.max(20, y.handleWidth))), Zt = _(0), Qt = c((e) => j("futureStart", e), 0), $t = c((e) => j("futureEnd", e), 0), D = u(() => y.precision > 0 ? 1 / 10 ** y.precision : 1), O = u({
461
476
  get: () => x.value,
462
477
  set(e) {
463
478
  let t = Math.min(Number(e), Number(S.value) - D.value);
464
- t !== x.value && (x.value = t, Vn.value && (Vn.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Xt(t));
479
+ t !== x.value && (x.value = t, Un.value && (Un.value.value = String(t)), y.immediate ? j("update:start", Number(t)) : w.value && Qt(t));
465
480
  }
466
481
  }), k = u({
467
482
  get: () => S.value,
468
483
  set(e) {
469
484
  let t = Math.max(Number(e), Number(x.value) + D.value);
470
- t !== S.value && (S.value = t, Hn.value && (Hn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && Zt(t));
485
+ t !== S.value && (S.value = t, Wn.value && (Wn.value.value = String(t)), y.immediate ? j("update:end", Number(t)) : w.value && $t(t));
471
486
  }
472
487
  });
473
488
  function A() {
474
489
  clearTimeout(null), y.immediate || (j("update:start", Number(x.value)), j("update:end", Number(S.value))), w.value = !1;
475
490
  }
476
- let Qt = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = jt, $t = u(() => {
477
- if (y.useValueRange) return Ht(x.value);
491
+ let en = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = jt, tn = u(() => {
492
+ if (y.useValueRange) return Wt(x.value);
478
493
  if (T.value) {
479
494
  let e = Math.max(1, L.value - 1);
480
- return Mn.value / e * 100;
495
+ return Pn.value / e * 100;
481
496
  }
482
497
  let e = Math.max(1, y.max - y.min);
483
498
  return (x.value - y.min) / e * 100;
484
- }), en = u(() => {
485
- if (y.useValueRange) return Ht(S.value);
499
+ }), nn = u(() => {
500
+ if (y.useValueRange) return Wt(S.value);
486
501
  if (T.value) {
487
502
  let e = Math.max(1, L.value - 1);
488
- return Nn.value / e * 100;
503
+ return Fn.value / e * 100;
489
504
  }
490
505
  let e = Math.max(1, y.max - y.min);
491
506
  return (S.value - y.min) / e * 100;
492
- }), tn = u(() => ($t.value + en.value) / 2), nn = u(() => {
507
+ }), rn = u(() => (tn.value + nn.value) / 2), an = u(() => {
493
508
  if (!b.value) return !1;
494
509
  let e = Math.max(1, y.max - y.min);
495
- return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - gr.value / 2 < 0;
496
- }), rn = u(() => {
510
+ return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - vr.value / 2 < 0;
511
+ }), on = u(() => {
497
512
  if (!b.value) return !1;
498
513
  let e = Math.max(1, y.max - y.min), t = b.value.getBoundingClientRect().width;
499
- return t * ((S.value - y.min) / e) + _r.value / 2 > t;
514
+ return t * ((S.value - y.min) / e) + yr.value / 2 > t;
500
515
  }), M = u(() => {
501
- let e = rn.value ? `calc(${tn.value}% - ${Cr.value.width}px)` : nn.value ? `calc(${tn.value}% - 8px)` : `calc(${tn.value}% - ${Cr.value.width / 2}px)`;
516
+ let e = on.value ? `calc(${rn.value}% - ${Tr.value.width}px)` : an.value ? `calc(${rn.value}% - 8px)` : `calc(${rn.value}% - ${Tr.value.width / 2}px)`;
502
517
  return {
503
- left: `${$t.value}%`,
504
- width: `${Math.max(0, en.value - $t.value)}%`,
518
+ left: `${tn.value}%`,
519
+ width: `${Math.max(0, nn.value - tn.value)}%`,
505
520
  background: y.selectColor,
506
- tooltipLeft: `calc(${$t.value}% - ${nn.value ? 9 : gr.value / 2}px)`,
507
- tooltipRight: `calc(${en.value}% - ${rn.value ? _r.value - 9 : _r.value / 2}px)`,
521
+ tooltipLeft: `calc(${tn.value}% - ${an.value ? 9 : vr.value / 2}px)`,
522
+ tooltipRight: `calc(${nn.value}% - ${on.value ? yr.value - 9 : yr.value / 2}px)`,
508
523
  tooltipCenter: e,
509
- arrowLeft: !nn.value,
510
- arrowRight: !rn.value
524
+ arrowLeft: !an.value,
525
+ arrowRight: !on.value
511
526
  };
512
- }), an = u(() => y.inputColor), on = u(() => y.background), sn = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), cn = u(() => Number(y.max) > Number(y.min));
513
- function ln() {
527
+ }), sn = u(() => y.inputColor), cn = u(() => y.background), ln = u(() => `${y.selectColor}33`), N = u(() => y.borderColor), un = u(() => Number(y.max) > Number(y.min));
528
+ function dn() {
514
529
  j("reset");
515
530
  }
516
- v(() => y.min, (e) => {
531
+ xe(() => y.min, (e) => {
517
532
  Number(x.value) < Number(e) && (x.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
518
- }), v(() => y.max, (e) => {
533
+ }), xe(() => y.max, (e) => {
519
534
  Number(x.value) > Number(e) && (x.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
520
535
  });
521
- let P = g(null), F = g({
536
+ let P = _(null), F = _({
522
537
  width: 1,
523
538
  height: 1
524
- }), I = g(null);
525
- he(() => {
539
+ }), I = _(null);
540
+ me(() => {
526
541
  if (C.value) {
527
542
  let e = c(() => {
528
543
  if (!P.value) return;
@@ -531,35 +546,35 @@ var Te = ["data-minimap"], Ee = {
531
546
  }, 0);
532
547
  I.value = new ResizeObserver(e), I.value.observe(P.value);
533
548
  }
534
- }), me(() => {
549
+ }), pe(() => {
535
550
  I.value && I.value.disconnect();
536
551
  });
537
552
  let L = u(() => Math.max(1, y.max - y.min));
538
- function un(e) {
553
+ function fn(e) {
539
554
  let t = Math.floor(e - y.min);
540
555
  return Math.min(Math.max(0, t), L.value);
541
556
  }
542
- function dn(e) {
557
+ function pn(e) {
543
558
  let t = Math.ceil(e - y.min);
544
559
  return Math.min(Math.max(0, t), L.value);
545
560
  }
546
- let R = u(() => un(x.value)), z = u(() => dn(S.value)), fn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), pn = u(() => C.value && y.minimapCompact ? 40 : 0), mn = u(() => pn.value / 2);
547
- u(() => Math.max(1, F.value.width - mn.value * 2));
561
+ let R = u(() => fn(x.value)), z = u(() => pn(S.value)), mn = u(() => Math.max(...y.allMinimaps.map((e) => e.series.length))), hn = u(() => C.value && y.minimapCompact ? 40 : 0), gn = u(() => hn.value / 2);
562
+ u(() => Math.max(1, F.value.width - gn.value * 2));
548
563
  let B = u(() => {
549
564
  if (y.minimapCompact && !y.useValueRange) return F.value.width / Math.max(1, L.value - 1);
550
- let e = Math.max(1, fn.value - +!!y.minimapCompact);
565
+ let e = Math.max(1, mn.value - +!!y.minimapCompact);
551
566
  return F.value.width / e;
552
- }), hn = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), gn = u(() => B.value / (hn.value || 1) * .8);
553
- function _n(e, t, n) {
554
- let r = gn.value, i = Math.max(1, hn.value), a = fn.value - 1;
567
+ }), _n = u(() => y.allMinimaps.length ? y.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), vn = u(() => B.value / (_n.value || 1) * .8);
568
+ function yn(e, t, n) {
569
+ let r = vn.value, i = Math.max(1, _n.value), a = mn.value - 1;
555
570
  return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
556
571
  }
557
- function vn(e, t) {
558
- return [0, fn.value - 1].includes(t) ? gn.value / 2 : gn.value;
572
+ function bn(e, t) {
573
+ return [0, mn.value - 1].includes(t) ? vn.value / 2 : vn.value;
559
574
  }
560
- let yn = u(() => {
575
+ let xn = u(() => {
561
576
  let e = [];
562
- if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(Gt).filter(Number.isFinite)), Array.isArray(y.allMinimaps) && y.allMinimaps.length) for (let t of y.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Gt).filter(Number.isFinite));
577
+ if (Array.isArray(y.minimap) && y.minimap.length && y.minimapMerged && e.push(...y.minimap.map(qt).filter(Number.isFinite)), Array.isArray(y.allMinimaps) && y.allMinimaps.length) for (let t of y.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(qt).filter(Number.isFinite));
563
578
  return e.length ? {
564
579
  min: Math.min(...e),
565
580
  max: Math.max(...e)
@@ -567,40 +582,42 @@ var Te = ["data-minimap"], Ee = {
567
582
  min: 0,
568
583
  max: 1
569
584
  };
570
- }), bn = u(() => {
585
+ }), Sn = u(() => {
571
586
  if (y.minScale == null && y.forceZeroCenter) return null;
572
587
  let e = Number(y.minScale);
573
588
  return Number.isFinite(e) ? e : null;
574
- }), xn = u(() => {
589
+ }), Cn = u(() => {
575
590
  if (y.maxScale == null && y.forceZeroCenter) return null;
576
591
  let e = Number(y.maxScale);
577
592
  return Number.isFinite(e) ? e : null;
578
- }), Sn = u(() => bn.value !== null && xn.value !== null), Cn = u(() => {
579
- let { min: e, max: t } = yn.value, n = bn.value, r = xn.value, i, a;
593
+ }), wn = u(() => Sn.value !== null && Cn.value !== null), Tn = u(() => {
594
+ let { min: e, max: t } = xn.value, n = Sn.value, r = Cn.value, i, a;
580
595
  return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
581
596
  min: i,
582
597
  max: a
583
598
  };
584
- }), wn = u(() => Cn.value.min), Tn = u(() => Cn.value.max), En = u(() => wn.value < 0 && Tn.value > 0 || Tn.value <= 0 ? wn.value : 0), Dn = (e) => {
599
+ }), En = u(() => Tn.value.min), Dn = u(() => Tn.value.max), On = u(() => En.value < 0 && Dn.value > 0 || Dn.value <= 0 ? En.value : 0), kn = (e) => {
585
600
  let t = Math.max(1, F.value.height);
586
- return kn(wn.value, Tn.value, t, Sn.value)(e);
587
- }, On = u(() => Dn(0));
588
- function kn(e, t, n, r = !1) {
601
+ return jn(En.value, Dn.value, t, wn.value)(e);
602
+ }, An = u(() => kn(0));
603
+ function jn(e, t, n, r = !1) {
589
604
  let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
590
605
  if (r) return (t) => n - (t - e) / o * n;
591
606
  if (t <= 0) {
592
607
  let t = Math.max(a, 0 - e);
593
608
  return (r) => n - (r - e) / t * n;
594
- } else if (e >= 0) {
609
+ }
610
+ if (e >= 0) {
595
611
  let e = Math.max(a, t - 0);
596
612
  return (t) => n - (t - 0) / e * n;
597
- } else {
613
+ }
614
+ {
598
615
  let r = Math.max(a, Math.max(Math.abs(e), Math.abs(t)));
599
616
  return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
600
617
  }
601
618
  }
602
- function An(n, r = !1, a = !1) {
603
- if (!n || !n.length) return {
619
+ function Mn(t, o = !1, ee = !1) {
620
+ if (!t || !t.length) return {
604
621
  fullSet: "",
605
622
  points: [],
606
623
  selectionSet: "",
@@ -613,22 +630,22 @@ var Te = ["data-minimap"], Ee = {
613
630
  selectionMarkers: [],
614
631
  dashed: !1
615
632
  };
616
- let ee = Math.max(1, F.value.height), te = kn(wn.value, Tn.value, ee, Sn.value), ne = n.length, s = Math.min(Math.max(0, R.value), Math.max(0, ne - 1)), ie = Math.min(ne, Math.max(s + 1, z.value)), c = n.map((e, t) => {
617
- let n = Gt(e), r = Number.isFinite(n), i = qt(e, t), a = Sn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, wn.value, Tn.value) : 0, o = te(a);
633
+ let te = Math.max(1, F.value.height), ne = jn(En.value, Dn.value, te, wn.value), re = t.length, s = Math.min(Math.max(0, R.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, z.value)), c = t.map((e, t) => {
634
+ let n = qt(e), r = Number.isFinite(n), i = Yt(e, t), a = wn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, En.value, Dn.value) : 0, o = ne(a);
618
635
  return {
619
636
  x: i,
620
- y: r ? te(n) : NaN,
637
+ y: r ? ne(n) : NaN,
621
638
  v: n,
622
639
  value: r ? n : null,
623
640
  y0: o,
624
641
  i: t,
625
- xValue: Kt(e, t)
642
+ xValue: Jt(e, t)
626
643
  };
627
644
  }), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se = y.useValueRange ? oe.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = y.useValueRange ? c.filter((e) => e.xValue >= Number(x.value) && e.xValue <= Number(S.value)) : c.slice(s, ie);
628
645
  return {
629
- fullSet: c.length >= 2 ? a ? re(y.cutNullValues ? c : c.filter((e) => e.value != null)) : y.smoothMinimap || r ? y.cutNullValues ? t(c) : i(c.filter((e) => e.value != null)) : y.cutNullValues ? o(c) : e(c.filter((e) => e.value != null)) : "",
646
+ fullSet: c.length >= 2 ? ee ? e(y.cutNullValues ? c : c.filter((e) => e.value != null)) : y.smoothMinimap || o ? y.cutNullValues ? r(c) : i(c.filter((e) => e.value != null)) : y.cutNullValues ? n(c) : a(c.filter((e) => e.value != null)) : "",
630
647
  points: c,
631
- selectionSet: l.length >= 2 ? a ? re(y.cutNullValues ? l : l.filter((e) => e.value != null)) : y.smoothMinimap || r ? y.cutNullValues ? t(l) : i(l.filter((e) => e.value != null)) : y.cutNullValues ? o(l) : e(l.filter((e) => e.value != null)) : "",
648
+ selectionSet: l.length >= 2 ? ee ? e(y.cutNullValues ? l : l.filter((e) => e.value != null)) : y.smoothMinimap || o ? y.cutNullValues ? r(l) : i(l.filter((e) => e.value != null)) : y.cutNullValues ? n(l) : a(l.filter((e) => e.value != null)) : "",
632
649
  sliced: l,
633
650
  firstPlot: y.useValueRange ? l[0] || null : c[s] || null,
634
651
  lastPlot: y.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
@@ -638,8 +655,8 @@ var Te = ["data-minimap"], Ee = {
638
655
  selectionMarkers: se
639
656
  };
640
657
  }
641
- let V = u(() => y.minimap.length ? An(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
642
- let n = An(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
658
+ let V = u(() => y.minimap.length ? Mn(y.minimap) : []), H = u(() => y.allMinimaps.length ? y.allMinimaps.map((e, t) => {
659
+ let n = Mn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
643
660
  return {
644
661
  key: typeof r == "object" ? JSON.stringify(r) : String(r),
645
662
  color: e?.color,
@@ -652,7 +669,7 @@ var Te = ["data-minimap"], Ee = {
652
669
  };
653
670
  }) : []), U = u(() => {
654
671
  if (y.useValueRange) {
655
- let e = Ut(x.value), t = Ut(S.value);
672
+ let e = Gt(x.value), t = Gt(S.value);
656
673
  return {
657
674
  x: e,
658
675
  width: Math.max(0, t - e)
@@ -663,7 +680,7 @@ var Te = ["data-minimap"], Ee = {
663
680
  x: B.value * e + (y.minimapCompact ? 0 : B.value / 2),
664
681
  width: B.value * (t - e) - B.value
665
682
  };
666
- }), W = g(y.minimapSelectedIndex), jn = (e) => Math.round(y.min + e), Mn = u({
683
+ }), W = _(y.minimapSelectedIndex), Nn = (e) => Math.round(y.min + e), Pn = u({
667
684
  get() {
668
685
  return T.value ? R.value : Number(O.value);
669
686
  },
@@ -671,17 +688,17 @@ var Te = ["data-minimap"], Ee = {
671
688
  if (T.value) {
672
689
  if (y.useValueRange) {
673
690
  let t = Mt(e);
674
- Gn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
691
+ qn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
675
692
  return;
676
693
  }
677
694
  let t = Math.round(+e || 0);
678
- Gn(jn(t));
695
+ qn(Nn(t));
679
696
  } else {
680
697
  let t = Mt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
681
- Vn.value && (Vn.value.valueAsNumber = r), Gn(r);
698
+ Un.value && (Un.value.valueAsNumber = r), qn(r);
682
699
  }
683
700
  }
684
- }), Nn = u({
701
+ }), Fn = u({
685
702
  get() {
686
703
  return T.value ? Math.max(R.value, z.value - 1) : Number(k.value);
687
704
  },
@@ -689,42 +706,42 @@ var Te = ["data-minimap"], Ee = {
689
706
  if (T.value) {
690
707
  if (y.useValueRange) {
691
708
  let t = Mt(e);
692
- qn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
709
+ Yn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
693
710
  return;
694
711
  }
695
712
  let t = Math.round(+e || 0);
696
- qn(jn(t + 1));
713
+ Yn(Nn(t + 1));
697
714
  } else {
698
715
  let t = Mt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
699
- Hn.value && (Hn.value.valueAsNumber = r), qn(r);
716
+ Wn.value && (Wn.value.valueAsNumber = r), Yn(r);
700
717
  }
701
718
  }
702
- }), Pn = 0;
703
- function Fn(e, t) {
704
- if (t === Pn) {
719
+ }), In = 0;
720
+ function Ln(e, t) {
721
+ if (t === In) {
705
722
  if (y.useValueRange) {
706
- W.value = Number.isFinite(Number(e)) ? Ut(Number(e)) : null;
723
+ W.value = Number.isFinite(Number(e)) ? Gt(Number(e)) : null;
707
724
  return;
708
725
  }
709
- W.value = un(y.valueStart) + e;
726
+ W.value = fn(y.valueStart) + e;
710
727
  }
711
728
  }
712
- let In = ie(Fn, 60);
713
- v(() => y.minimapSelectedIndex, (e, t) => {
714
- if (Pn += 1, [null, void 0].includes(e)) {
729
+ let Rn = ie(Ln, 60);
730
+ xe(() => y.minimapSelectedIndex, (e, t) => {
731
+ if (In += 1, [null, void 0].includes(e)) {
715
732
  W.value = null;
716
733
  return;
717
734
  }
718
- e !== t && In(e, Pn);
735
+ e !== t && Rn(e, In);
719
736
  }, { immediate: !0 });
720
- function Ln(e) {
721
- if (zt.value) return;
737
+ function zn(e) {
738
+ if (Vt.value) return;
722
739
  W.value = e;
723
740
  let t = R.value, n = z.value;
724
741
  e >= t && e < n && !X.value && j("trapMouse", e - t);
725
742
  }
726
- function Rn(e) {
727
- let t = Wt(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
743
+ function Bn(e) {
744
+ let t = Kt(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
728
745
  point: e,
729
746
  index: n,
730
747
  x: Number(e?.x),
@@ -732,25 +749,25 @@ var Te = ["data-minimap"], Ee = {
732
749
  }))).filter((e) => Number.isFinite(e.x));
733
750
  return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
734
751
  }
735
- function zn(e) {
736
- if (!cn.value || zt.value) return;
737
- let t = zr(e.clientX);
752
+ function Vn(e) {
753
+ if (!un.value || Vt.value) return;
754
+ let t = Vr(e.clientX);
738
755
  if (y.useValueRange) {
739
- let e = Rn(t);
756
+ let e = Bn(t);
740
757
  if (!e) {
741
- Bn();
758
+ Hn();
742
759
  return;
743
760
  }
744
- W.value = Ut(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
761
+ W.value = Gt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
745
762
  return;
746
763
  }
747
- Ln(Br(t));
764
+ zn(Hr(t));
748
765
  }
749
- function Bn() {
750
- W.value = null, !zt.value && (j("trapMouse", null), j("trapMouseValue", null));
766
+ function Hn() {
767
+ W.value = null, !Vt.value && (j("trapMouse", null), j("trapMouseValue", null));
751
768
  }
752
- let Vn = g(null), Hn = g(null);
753
- function Un(e) {
769
+ let Un = _(null), Wn = _(null);
770
+ function Gn(e) {
754
771
  if (typeof e == "object" && e && "target" in e) {
755
772
  let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
756
773
  return Number.isFinite(n) ? n : NaN;
@@ -758,130 +775,130 @@ var Te = ["data-minimap"], Ee = {
758
775
  let t = +e;
759
776
  return Number.isFinite(t) ? t : NaN;
760
777
  }
761
- let Wn = 0;
762
- function Gn(e) {
778
+ let Kn = 0;
779
+ function qn(e) {
763
780
  w.value = !0;
764
- let t = Un(e);
765
- Number.isFinite(t) && (cancelAnimationFrame(Wn), Wn = requestAnimationFrame(() => {
781
+ let t = Gn(e);
782
+ Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
766
783
  O.value = t;
767
784
  }));
768
785
  }
769
- let Kn = 0;
770
- function qn(e) {
786
+ let Jn = 0;
787
+ function Yn(e) {
771
788
  w.value = !0;
772
- let t = Un(e);
773
- Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
789
+ let t = Gn(e);
790
+ Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
774
791
  k.value = t;
775
792
  }));
776
793
  }
777
- me(() => {
778
- cancelAnimationFrame(Wn), cancelAnimationFrame(Kn);
794
+ pe(() => {
795
+ cancelAnimationFrame(Kn), cancelAnimationFrame(Jn);
779
796
  });
780
- let Jn = u(() => y.valueEnd - y.valueStart), Yn = u(() => Jn.value < y.max - y.min), G = g(!1), Xn = g(null), Zn = u(() => (Yt.value - 48) / (y.max - y.min) * Jn.value), Qn = u(() => Math.max(1, Yt.value - kt - Zn.value)), $n = u(() => Math.max(1, y.max - y.min - Jn.value)), er = u(() => $n.value / Qn.value), tr = g(0), nr = g(0), rr = g(0), ir = g(0), K = null, q = null, J = null, Y = null, ar = g(y.min);
781
- function or(e) {
797
+ let Xn = u(() => y.valueEnd - y.valueStart), Zn = u(() => Xn.value < y.max - y.min), G = _(!1), Qn = _(null), $n = u(() => (Zt.value - 48) / (y.max - y.min) * Xn.value), er = u(() => Math.max(1, Zt.value - kt - $n.value)), tr = u(() => Math.max(1, y.max - y.min - Xn.value)), nr = u(() => tr.value / er.value), rr = _(0), ir = _(0), ar = _(0), or = _(0), K = null, q = null, J = null, Y = null, sr = _(y.min);
798
+ function cr(e) {
782
799
  if (!b.value) return y.min;
783
800
  let t = b.value.getBoundingClientRect(), n = t.left + kt / 2, r = t.right - kt / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, y.max - y.min);
784
801
  return Math.round(y.min + a * o);
785
802
  }
786
- let sr = async (e) => {
803
+ let lr = async (e) => {
787
804
  if (w.value = !0, Z.value = !0, !y.enableSelectionDrag) return;
788
805
  let t = e.type === "touchstart";
789
806
  t || e.stopPropagation();
790
- let r = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, i = t ? r ? r.target : null : e.target;
791
- if (!i || !(i instanceof Element) || i.classList?.contains("range-handle") || i.classList?.contains("vue-ui-zoom-compact-minimap-handle") || i.closest(".vue-ui-zoom-compact-minimap-handle")) return;
807
+ let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
808
+ if (!r || !(r instanceof Element) || r.classList?.contains("range-handle") || r.classList?.contains("vue-ui-zoom-compact-minimap-handle") || r.closest(".vue-ui-zoom-compact-minimap-handle")) return;
792
809
  G.value = !0;
793
- let a = t ? r ? r.clientX : 0 : e.clientX;
794
- if (Xn.value = a, tr.value = a, y.focusOnDrag && !Yn.value && b.value && !Rt.value) {
795
- Rt.value = !0;
810
+ let i = t ? n ? n.clientX : 0 : e.clientX;
811
+ if (Qn.value = i, rr.value = i, y.focusOnDrag && !Zn.value && b.value && !Bt.value) {
812
+ Bt.value = !0;
796
813
  try {
797
- ar.value = or(a);
798
- let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), r = Math.max(1, Math.round(t * e)), i = Math.floor(r / 2), o = ar.value - i;
799
- o = Math.max(Number(y.min), Math.min(o, Number(y.max) - r));
800
- let ee = Math.min(Number(y.max), o + r);
801
- O.value = o, k.value = ee, Xt(o), Zt(ee), n(b.value, "mouseup"), await de(), n(b.value, "mousedown", { clientX: a });
814
+ sr.value = cr(i);
815
+ let e = Math.min(.95, Math.max(.05, y.focusRangeRatio)), t = Number(y.max) - Number(y.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = sr.value - r;
816
+ a = Math.max(Number(y.min), Math.min(a, Number(y.max) - n));
817
+ let ee = Math.min(Number(y.max), a + n);
818
+ O.value = a, k.value = ee, Qt(a), $t(ee), o(b.value, "mouseup"), await de(), o(b.value, "mousedown", { clientX: i });
802
819
  } finally {
803
- Rt.value = !1;
820
+ Bt.value = !1;
804
821
  }
805
822
  return;
806
823
  }
807
- nr.value = x.value, rr.value = S.value, ir.value = er.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? lr : cr, Y = t ? fr : dr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
824
+ ir.value = x.value, ar.value = S.value, or.value = nr.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? dr : ur, Y = t ? mr : pr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
808
825
  };
809
- function cr(e) {
810
- G.value && ur(e.clientX);
826
+ function ur(e) {
827
+ G.value && fr(e.clientX);
811
828
  }
812
- function lr(e) {
829
+ function dr(e) {
813
830
  if (!G.value || !b.value) return;
814
831
  let t = e.target;
815
832
  if (!(t instanceof Element) || !b.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
816
833
  e.preventDefault();
817
834
  let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
818
- n && ur(n.clientX);
835
+ n && fr(n.clientX);
819
836
  }
820
- function ur(e) {
837
+ function fr(e) {
821
838
  if (!G.value) return;
822
- let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
823
- r = Math.max(y.min, Math.min(r, y.max - Jn.value));
824
- let i = r + Jn.value;
825
- O.value = r, k.value = i, Xt(r), Zt(i);
839
+ let t = cr(rr.value), n = cr(e) - t, r = Math.round(ir.value + n);
840
+ r = Math.max(y.min, Math.min(r, y.max - Xn.value));
841
+ let i = r + Xn.value;
842
+ O.value = r, k.value = i, Qt(r), $t(i);
826
843
  }
827
- function dr() {
828
- pr();
844
+ function pr() {
845
+ hr();
829
846
  }
830
- function fr() {
831
- pr();
847
+ function mr() {
848
+ hr();
832
849
  }
833
- function pr() {
850
+ function hr() {
834
851
  G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
835
852
  }
836
- let X = g(!1), mr = g(null), hr = g(null), gr = g(1), _r = g(1), Z = g(!1);
837
- function vr() {
838
- if (mr.value) {
839
- let e = Math.round(mr.value.getBoundingClientRect().width);
840
- e !== gr.value && (gr.value = e);
853
+ let X = _(!1), gr = _(null), _r = _(null), vr = _(1), yr = _(1), Z = _(!1);
854
+ function br() {
855
+ if (gr.value) {
856
+ let e = Math.round(gr.value.getBoundingClientRect().width);
857
+ e !== vr.value && (vr.value = e);
841
858
  }
842
859
  }
843
- function yr() {
844
- if (hr.value) {
845
- let e = Math.round(hr.value.getBoundingClientRect().width);
846
- e !== _r.value && (_r.value = e);
860
+ function xr() {
861
+ if (_r.value) {
862
+ let e = Math.round(_r.value.getBoundingClientRect().width);
863
+ e !== yr.value && (yr.value = e);
847
864
  }
848
865
  }
849
- ge(() => {
850
- vr(), yr();
866
+ he(() => {
867
+ br(), xr();
851
868
  });
852
- let br = g(0);
853
- function xr(e) {
854
- br.value = +(e === "start");
869
+ let Sr = _(0);
870
+ function Cr(e) {
871
+ Sr.value = +(e === "start");
855
872
  }
856
- let Sr = g(!1), Cr = g({
873
+ let wr = _(!1), Tr = _({
857
874
  width: 0,
858
875
  left: 0
859
876
  });
860
- v([x, S], async () => {
861
- if (await de(), !mr.value || !hr.value) {
862
- Sr.value = !1, Cr.value = {
877
+ xe([x, S], async () => {
878
+ if (await de(), !gr.value || !_r.value) {
879
+ wr.value = !1, Tr.value = {
863
880
  width: 0,
864
881
  left: 0
865
882
  };
866
883
  return;
867
884
  }
868
- let e = mr.value.getBoundingClientRect(), t = hr.value.getBoundingClientRect();
869
- Sr.value = e.x + e.width > t.x;
885
+ let e = gr.value.getBoundingClientRect(), t = _r.value.getBoundingClientRect();
886
+ wr.value = e.x + e.width > t.x;
870
887
  let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
871
- Cr.value = {
888
+ Tr.value = {
872
889
  width: i,
873
890
  left: a - i / 2
874
891
  };
875
- }), ge(() => {
876
- vr(), yr();
877
- }), v(() => y.labelLeft, () => {
878
- de(vr);
879
- }, { deep: !0 }), v(() => y.labelRight, () => {
880
- de(yr);
892
+ }), he(() => {
893
+ br(), xr();
894
+ }), xe(() => y.labelLeft, () => {
895
+ de(br);
896
+ }, { deep: !0 }), xe(() => y.labelRight, () => {
897
+ de(xr);
881
898
  }, { deep: !0 });
882
899
  let Q = u(() => {
883
900
  let e = "", t = "", n = !1;
884
- if (ee(y.customFormat)) try {
901
+ if (re(y.customFormat)) try {
885
902
  let r = y.customFormat({
886
903
  absoluteIndex: x.value,
887
904
  seriesIndex: x.value,
@@ -889,10 +906,10 @@ var Te = ["data-minimap"], Ee = {
889
906
  timeLabel: y.preciseLabels[x.value],
890
907
  side: "left"
891
908
  }), i = y.customFormat({
892
- absoluteIndex: Bt.value,
909
+ absoluteIndex: Ht.value,
893
910
  seriesIndex: -1,
894
911
  datapoint: y.selectedSeries,
895
- timeLabel: y.useValueRange ? null : y.preciseLabels[Bt.value],
912
+ timeLabel: y.useValueRange ? null : y.preciseLabels[Ht.value],
896
913
  side: "right"
897
914
  });
898
915
  typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
@@ -900,7 +917,7 @@ var Te = ["data-minimap"], Ee = {
900
917
  n = !1;
901
918
  }
902
919
  if (!n) {
903
- let n = y.useValueRange ? { text: String(Math.round(x.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === x.value) : y.timeLabels.find((e) => e.absoluteIndex === x.value), r = y.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === Bt.value) : y.timeLabels.find((e) => e.absoluteIndex === Bt.value);
920
+ let n = y.useValueRange ? { text: String(Math.round(x.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === x.value) : y.timeLabels.find((e) => e.absoluteIndex === x.value), r = y.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : y.usePreciseLabels ? y.preciseLabels.find((e) => e.absoluteIndex === Ht.value) : y.timeLabels.find((e) => e.absoluteIndex === Ht.value);
904
921
  e = n ? n.text : "", t = r ? r.text : "";
905
922
  }
906
923
  return {
@@ -908,11 +925,11 @@ var Te = ["data-minimap"], Ee = {
908
925
  right: t
909
926
  };
910
927
  });
911
- me(() => {
928
+ pe(() => {
912
929
  I.value && I.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
913
930
  });
914
- let wr = u(() => {
915
- if (!cn.value || W.value === null) return null;
931
+ let Er = u(() => {
932
+ if (!un.value || W.value === null) return null;
916
933
  if (y.useValueRange) {
917
934
  let e = W.value;
918
935
  return e < U.value.x || e > U.value.x + U.value.width ? null : {
@@ -940,54 +957,54 @@ var Te = ["data-minimap"], Ee = {
940
957
  };
941
958
  }
942
959
  return null;
943
- }), Tr = u(() => Number(x.value) < Number(S.value) - 1), Er = u(() => Number(x.value) > Number(y.min)), Dr = u(() => Number(S.value) < Number(y.max)), Or = u(() => Number(S.value) > Number(x.value) + 1);
944
- function kr(e) {
960
+ }), Dr = u(() => Number(x.value) < Number(S.value) - 1), Or = u(() => Number(x.value) > Number(y.min)), kr = u(() => Number(S.value) < Number(y.max)), Ar = u(() => Number(S.value) > Number(x.value) + 1);
961
+ function jr(e) {
945
962
  let t = Number(x.value) + e;
946
- e > 0 && !Tr.value || e < 0 && !Er.value || (w.value = !0, O.value = t, A());
963
+ e > 0 && !Dr.value || e < 0 && !Or.value || (w.value = !0, O.value = t, A());
947
964
  }
948
- function Ar(e) {
965
+ function Mr(e) {
949
966
  let t = Number(S.value) + e;
950
- e > 0 && !Dr.value || e < 0 && !Or.value || (w.value = !0, k.value = t, A());
967
+ e > 0 && !kr.value || e < 0 && !Ar.value || (w.value = !0, k.value = t, A());
951
968
  }
952
- let jr = {
953
- plus: () => kr(1),
954
- minus: () => kr(-1),
955
- canPlus: Tr,
956
- canMinus: Er
957
- }, Mr = {
958
- plus: () => Ar(1),
959
- minus: () => Ar(-1),
969
+ let Nr = {
970
+ plus: () => jr(1),
971
+ minus: () => jr(-1),
960
972
  canPlus: Dr,
961
973
  canMinus: Or
974
+ }, Pr = {
975
+ plus: () => Mr(1),
976
+ minus: () => Mr(-1),
977
+ canPlus: kr,
978
+ canMinus: Ar
962
979
  };
963
- function Nr(e) {
964
- if (!e || Pr(e.target)) return;
980
+ function Fr(e) {
981
+ if (!e || Ir(e.target)) return;
965
982
  let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
966
- !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (jr.plus(), Mr.plus()) : (jr.minus(), Mr.minus()));
983
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Nr.plus(), Pr.plus()) : (Nr.minus(), Pr.minus()));
967
984
  }
968
- function Pr(e) {
985
+ function Ir(e) {
969
986
  return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
970
987
  }
971
- function Fr(e) {
988
+ function Lr(e) {
972
989
  if (!C.value || !y.minimapCompact) return;
973
990
  let t = b.value;
974
991
  if (!t) return;
975
992
  let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
976
993
  r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
977
994
  }
978
- function Ir(e, t) {
979
- if (!t || Pr(t.target)) return;
995
+ function Rr(e, t) {
996
+ if (!t || Ir(t.target)) return;
980
997
  let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
981
- !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? jr.plus() : jr.minus() : i ? Mr.plus() : Mr.minus(), de(() => Fr(e)));
998
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Nr.plus() : Nr.minus() : i ? Pr.plus() : Pr.minus(), de(() => Lr(e)));
982
999
  }
983
- let Lr = u(() => ({
1000
+ let zr = u(() => ({
984
1001
  tabindex: 0,
985
1002
  role: "slider",
986
1003
  "aria-label": "Range start",
987
1004
  "aria-valuemin": Number(y.min),
988
1005
  "aria-valuemax": Math.max(Number(y.min), Number(S.value) - 1),
989
1006
  "aria-valuenow": Number(x.value)
990
- })), Rr = u(() => ({
1007
+ })), Br = u(() => ({
991
1008
  tabindex: 0,
992
1009
  role: "slider",
993
1010
  "aria-label": "Range end",
@@ -995,69 +1012,69 @@ var Te = ["data-minimap"], Ee = {
995
1012
  "aria-valuemax": Number(y.max),
996
1013
  "aria-valuenow": Number(S.value)
997
1014
  }));
998
- function zr(e) {
999
- if (!Lt.value) return 0;
1000
- let t = Lt.value.getBoundingClientRect();
1015
+ function Vr(e) {
1016
+ if (!zt.value) return 0;
1017
+ let t = zt.value.getBoundingClientRect();
1001
1018
  if (!t.width) return 0;
1002
1019
  let n = (e - t.left) / t.width;
1003
1020
  return Math.min(1, Math.max(0, n)) * F.value.width;
1004
1021
  }
1005
- function Br(e) {
1022
+ function Hr(e) {
1006
1023
  let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
1007
1024
  return Math.min(t, Math.max(0, Math.round(r * t)));
1008
1025
  }
1009
- function Vr(e) {
1026
+ function Ur(e) {
1010
1027
  let t = Math.min(Math.max(0, e), Math.max(1, F.value.width));
1011
1028
  if (y.useValueRange) {
1012
- let e = Wt(t);
1029
+ let e = Kt(t);
1013
1030
  if (E.value === "start") {
1014
1031
  let t = Math.min(e, Number(S.value) - D.value);
1015
- O.value = t, Xt(t);
1032
+ O.value = t, Qt(t);
1016
1033
  return;
1017
1034
  }
1018
1035
  if (E.value === "end") {
1019
1036
  let t = Math.max(Number(x.value) + D.value, e), n = Math.min(Number(y.max), t);
1020
- k.value = n, Zt(n);
1037
+ k.value = n, $t(n);
1021
1038
  return;
1022
1039
  }
1023
1040
  }
1024
- let n = Br(t);
1041
+ let n = Hr(t);
1025
1042
  if (E.value === "start") {
1026
1043
  let e = Math.min(y.min + n, Number(S.value) - 1);
1027
- O.value = e, Xt(e);
1044
+ O.value = e, Qt(e);
1028
1045
  return;
1029
1046
  }
1030
1047
  if (E.value === "end") {
1031
1048
  let e = Math.max(Number(x.value) + 1, y.min + n + 1), t = Math.min(y.max, e);
1032
- k.value = t, Zt(t);
1049
+ k.value = t, $t(t);
1033
1050
  }
1034
1051
  }
1035
- function Hr(e) {
1052
+ function Wr(e) {
1036
1053
  if (!E.value || !P.value) return;
1037
- let t = e.clientX - Ft.value;
1038
- if (!Pt.value) {
1054
+ let t = e.clientX - Lt.value;
1055
+ if (!It.value) {
1039
1056
  if (Math.abs(t) < 4) return;
1040
- Pt.value = !0, w.value = !0, Z.value = !0;
1057
+ It.value = !0, w.value = !0, Z.value = !0;
1041
1058
  }
1042
- let n = zr(e.clientX) - It.value;
1043
- Vr(E.value === "start" ? n + Jt.value : n);
1059
+ let n = Vr(e.clientX) - Rt.value;
1060
+ Ur(E.value === "start" ? n + Xt.value : n);
1044
1061
  }
1045
- function Ur() {
1062
+ function Gr() {
1046
1063
  if (!E.value) return;
1047
- window.removeEventListener("mousemove", Hr, !0), window.removeEventListener("mouseup", Ur, !0);
1048
- let e = Pt.value;
1049
- E.value = null, Pt.value = !1, Ft.value = 0, It.value = 0, e && A();
1064
+ window.removeEventListener("mousemove", Wr, !0), window.removeEventListener("mouseup", Gr, !0);
1065
+ let e = It.value;
1066
+ E.value = null, It.value = !1, Lt.value = 0, Rt.value = 0, e && A();
1050
1067
  }
1051
- function Wr(e, t) {
1068
+ function Kr(e, t) {
1052
1069
  if (!C.value || !y.minimapCompact || !P.value) return;
1053
1070
  t.preventDefault(), t.stopPropagation(), W.value = null;
1054
- let n = zr(t.clientX), r = e === "start" ? U.value.x - Jt.value : U.value.x + U.value.width;
1055
- E.value = e, Pt.value = !1, Ft.value = t.clientX, It.value = n - r, window.addEventListener("mousemove", Hr, !0), window.addEventListener("mouseup", Ur, !0);
1071
+ let n = Vr(t.clientX), r = e === "start" ? U.value.x - Xt.value : U.value.x + U.value.width;
1072
+ E.value = e, It.value = !1, Lt.value = t.clientX, Rt.value = n - r, window.addEventListener("mousemove", Wr, !0), window.addEventListener("mouseup", Gr, !0);
1056
1073
  }
1057
- let Gr = u(() => R.value), Kr = u(() => Math.max(R.value, z.value - 1));
1074
+ let qr = u(() => R.value), Jr = u(() => Math.max(R.value, z.value - 1));
1058
1075
  u(() => {
1059
1076
  if (!C.value || !y.minimapCompact || !y.allMinimaps.length) return [];
1060
- let e = Gr.value, t = Kr.value;
1077
+ let e = qr.value, t = Jr.value;
1061
1078
  return H.value.flatMap((n) => {
1062
1079
  if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1063
1080
  let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
@@ -1074,32 +1091,29 @@ var Te = ["data-minimap"], Ee = {
1074
1091
  }), r;
1075
1092
  });
1076
1093
  });
1077
- let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), qr = u(() => U.value.x - $.value), Jr = u(() => U.value.x + U.value.width);
1094
+ let $ = u(() => Math.min(40, Math.max(20, y.handleWidth))), Yr = u(() => U.value.x - $.value), Xr = u(() => U.value.x + U.value.width);
1078
1095
  return At({
1079
- setStartValue: Gn,
1080
- setEndValue: qn
1081
- }), (e, t) => (h(), f("div", {
1096
+ setStartValue: qn,
1097
+ setEndValue: Yn
1098
+ }), (e, t) => (g(), f("div", {
1082
1099
  "data-minimap": C.value,
1083
1100
  "data-dom-to-png-ignore": "",
1084
1101
  "data-dom-to-png-ignore-layout": "",
1085
- style: m([{ padding: "0 48px" }, {
1086
- maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
1087
- margin: s.maxWidth ? "0 auto" : void 0
1088
- }]),
1089
1102
  class: "vue-data-ui-zoom",
1090
1103
  ref_key: "zoomWrapper",
1091
1104
  ref: b,
1092
- onMousedown: sr,
1093
- onTouchstart: sr
1094
- }, [p("div", Ee, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Qt.value ? (h(), f("div", De, [_e(e.$slots, "reset-action", { reset: ln }, () => [p("button", {
1105
+ onMousedown: lr,
1106
+ onTouchstart: lr,
1107
+ style: h(Pt.value)
1108
+ }, [p("div", Ee, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== en.value ? (g(), f("div", De, [ge(e.$slots, "reset-action", { reset: dn }, () => [p("button", {
1095
1109
  tabindex: "0",
1096
1110
  role: "button",
1097
1111
  class: "vue-data-ui-refresh-button",
1098
- style: m({
1112
+ style: h({
1099
1113
  top: C.value ? "36px" : "-16px",
1100
1114
  cursor: s.isCursorPointer ? "pointer" : "default"
1101
1115
  }),
1102
- onClick: ln
1116
+ onClick: dn
1103
1117
  }, [ce(oe, {
1104
1118
  name: "refresh",
1105
1119
  stroke: s.textColor
@@ -1107,24 +1121,24 @@ var Te = ["data-minimap"], Ee = {
1107
1121
  class: "double-range-slider",
1108
1122
  ref_key: "minimapWrapper",
1109
1123
  ref: P,
1110
- style: m([{ "z-index": "0" }, C.value ? {
1124
+ style: h([{ "z-index": "0" }, C.value ? {
1111
1125
  "--minimap-unit-px": B.value + "px",
1112
1126
  "--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
1113
1127
  } : void 0]),
1114
1128
  onMouseenter: t[18] ||= (e) => Z.value = !0,
1115
1129
  onMouseleave: t[19] ||= (e) => Z.value = !1
1116
1130
  }, [
1117
- C.value ? (h(), f("div", Oe, [(h(), f("svg", {
1131
+ C.value ? (g(), f("div", Oe, [(g(), f("svg", {
1118
1132
  ref_key: "minimapSvg",
1119
- ref: Lt,
1133
+ ref: zt,
1120
1134
  key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1121
- xmlns: ye(ne),
1135
+ xmlns: ve(ne),
1122
1136
  viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
1123
1137
  preserveAspectRatio: "none"
1124
1138
  }, [
1125
1139
  p("defs", null, [ce(se, {
1126
1140
  t: "linear",
1127
- id: Nt.value,
1141
+ id: Ft.value,
1128
1142
  x1: "0%",
1129
1143
  y1: "0%",
1130
1144
  x2: "0%",
@@ -1138,13 +1152,13 @@ var Te = ["data-minimap"], Ee = {
1138
1152
  "transparent",
1139
1153
  0
1140
1154
  ]]
1141
- }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Nt.value}` }, [p("rect", {
1155
+ }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
1142
1156
  x: U.value.x,
1143
1157
  y: "0",
1144
1158
  width: Math.max(0, U.value.width),
1145
1159
  height: Math.max(F.value.height, 0)
1146
1160
  }, null, 8, je)], 8, Ae)]),
1147
- s.minimapCompact ? (h(), f("rect", {
1161
+ s.minimapCompact ? (g(), f("rect", {
1148
1162
  key: 0,
1149
1163
  class: "vue-ui-zoom-minimap-frame",
1150
1164
  x: 0,
@@ -1155,7 +1169,7 @@ var Te = ["data-minimap"], Ee = {
1155
1169
  stroke: s.minimapFrameColor,
1156
1170
  rx: 3
1157
1171
  }, null, 8, Me)) : d("", !0),
1158
- e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 1 }, [s.minimapMerged ? (h(), f("path", {
1172
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1159
1173
  key: 0,
1160
1174
  d: `M${V.value.fullSet}`,
1161
1175
  stroke: `${s.minimapLineColor}`,
@@ -1164,30 +1178,30 @@ var Te = ["data-minimap"], Ee = {
1164
1178
  "stroke-linecap": "round",
1165
1179
  "stroke-linejoin": "round",
1166
1180
  style: { opacity: "0.6" }
1167
- }, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (h(), f("path", {
1181
+ }, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1168
1182
  key: 1,
1169
1183
  d: `M${B.value / 2},${Math.max(F.value.height, 0)} ${V.value.fullSet} L${F.value.width - B.value / 2},${Math.max(F.value.height, 0)}Z`,
1170
- fill: `url(#${Nt.value})`,
1184
+ fill: `url(#${Ft.value})`,
1171
1185
  stroke: "none",
1172
1186
  style: { opacity: "0.6" }
1173
- }, null, 8, Pe)) : s.minimapMerged ? d("", !0) : (h(), f(l, { key: 2 }, [
1174
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (n, r) => (h(), f(l, null, [e && !isNaN(n.y) ? (h(), f("rect", {
1187
+ }, null, 8, Pe)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1188
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
1175
1189
  key: 0,
1176
- x: _n(n.x, t, r),
1190
+ x: yn(n.x, t, r),
1177
1191
  y: n.v >= 0 ? n.y : n.y0,
1178
- width: vn(t, r),
1192
+ width: bn(t, r),
1179
1193
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1180
1194
  fill: e.color,
1181
1195
  style: { opacity: .6 }
1182
1196
  }, null, 8, Fe)) : d("", !0)], 64))), 256))]))), 256)),
1183
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e) => (h(), f("g", null, [e.isVisible ? (h(), f("path", {
1197
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1184
1198
  key: 0,
1185
1199
  d: `M ${e.fullSet}`,
1186
1200
  fill: "none",
1187
1201
  stroke: e.color,
1188
1202
  style: { opacity: "0.6" },
1189
1203
  "stroke-dasharray": e.dashed ? "2 4" : 0
1190
- }, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (h(!0), f(l, { key: 1 }, _(e.fullMarkers, (t) => (h(), f("circle", {
1204
+ }, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1191
1205
  key: `sel-dot-under-${e.key}-${t.i}`,
1192
1206
  cx: t.x,
1193
1207
  cy: t.y,
@@ -1197,7 +1211,7 @@ var Te = ["data-minimap"], Ee = {
1197
1211
  "stroke-width": "0.5",
1198
1212
  style: { opacity: "0.6" }
1199
1213
  }, null, 8, Le))), 128)) : d("", !0)]))), 256)),
1200
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (t) => (h(), f("g", null, [e.isVisible && t.value !== null ? (h(), f("circle", {
1214
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
1201
1215
  key: `sel-plot-under-${e.key}-${t.i}`,
1202
1216
  cx: t.x,
1203
1217
  cy: t.y,
@@ -1224,7 +1238,7 @@ var Te = ["data-minimap"], Ee = {
1224
1238
  height: Math.max(F.value.height, 0),
1225
1239
  rx: s.minimapSelectionRadius,
1226
1240
  fill: N.value,
1227
- style: m({ opacity: G.value || w.value ? 0 : 1 })
1241
+ style: h({ opacity: G.value || w.value ? 0 : 1 })
1228
1242
  }, null, 12, Be),
1229
1243
  p("rect", {
1230
1244
  x: U.value.x,
@@ -1233,7 +1247,7 @@ var Te = ["data-minimap"], Ee = {
1233
1247
  height: Math.max(F.value.height, 0),
1234
1248
  fill: s.minimapSelectedColor,
1235
1249
  rx: s.minimapSelectionRadius,
1236
- style: m({ opacity: s.minimapSelectedColorOpacity }),
1250
+ style: h({ opacity: s.minimapSelectedColorOpacity }),
1237
1251
  tabindex: "0",
1238
1252
  role: "slider",
1239
1253
  "aria-label": "Selected range",
@@ -1241,20 +1255,20 @@ var Te = ["data-minimap"], Ee = {
1241
1255
  "aria-valuemax": Number(y.max),
1242
1256
  "aria-valuenow": Number(x.value),
1243
1257
  "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1244
- onKeydown: Nr
1258
+ onKeydown: Fr
1245
1259
  }, null, 44, Ve),
1246
- !s.minimapMerged && En.value < 0 ? (h(), f("line", {
1260
+ !s.minimapMerged && On.value < 0 ? (g(), f("line", {
1247
1261
  key: 2,
1248
1262
  class: "slicer-minimap-zero-line",
1249
1263
  x1: 0,
1250
1264
  x2: F.value.width,
1251
- y1: On.value,
1252
- y2: On.value,
1265
+ y1: An.value,
1266
+ y2: An.value,
1253
1267
  stroke: s.minimapFrameColor,
1254
1268
  "stroke-width": "0.5"
1255
1269
  }, null, 8, He)) : d("", !0),
1256
- e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 3 }, [s.minimapMerged ? (h(), f("g", Ue, [
1257
- V.value && V.value.sliced && V.value.sliced.length ? (h(), f(l, { key: 0 }, [V.value.selectionSet ? (h(), f("path", {
1270
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", Ue, [
1271
+ V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
1258
1272
  key: 0,
1259
1273
  d: `M ${V.value.selectionSet}`,
1260
1274
  stroke: `${s.minimapLineColor}`,
@@ -1263,7 +1277,7 @@ var Te = ["data-minimap"], Ee = {
1263
1277
  "stroke-linecap": "round",
1264
1278
  "stroke-linejoin": "round"
1265
1279
  }, null, 8, We)) : d("", !0)], 64)) : d("", !0),
1266
- V.value && V.value.firstPlot ? (h(), f("circle", {
1280
+ V.value && V.value.firstPlot ? (g(), f("circle", {
1267
1281
  key: 1,
1268
1282
  cx: V.value.firstPlot.x,
1269
1283
  cy: V.value.firstPlot.y,
@@ -1272,7 +1286,7 @@ var Te = ["data-minimap"], Ee = {
1272
1286
  r: "3",
1273
1287
  fill: s.minimapLineColor
1274
1288
  }, null, 8, Ge)) : d("", !0),
1275
- V.value && V.value.lastPlot ? (h(), f("circle", {
1289
+ V.value && V.value.lastPlot ? (g(), f("circle", {
1276
1290
  key: 2,
1277
1291
  cx: V.value.lastPlot.x,
1278
1292
  cy: V.value.lastPlot.y,
@@ -1281,17 +1295,17 @@ var Te = ["data-minimap"], Ee = {
1281
1295
  r: "3",
1282
1296
  fill: s.minimapLineColor
1283
1297
  }, null, 8, Ke)) : d("", !0)
1284
- ])) : (h(), f("g", qe, [
1285
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (h(), f("g", null, [(h(!0), f(l, null, _(e.points, (n, r) => (h(), f(l, null, [e && !isNaN(n.y) ? (h(), f("rect", {
1298
+ ])) : (g(), f("g", qe, [
1299
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (g(), f("g", null, [(g(!0), f(l, null, v(e.points, (n, r) => (g(), f(l, null, [e && !isNaN(n.y) ? (g(), f("rect", {
1286
1300
  key: 0,
1287
- x: _n(n.x, t, r),
1301
+ x: yn(n.x, t, r),
1288
1302
  y: n.v >= 0 ? n.y : n.y0,
1289
- width: vn(t, r),
1303
+ width: bn(t, r),
1290
1304
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1291
1305
  fill: e.color,
1292
- style: m({ opacity: +(r >= O.value && r < k.value) })
1306
+ style: h({ opacity: +(r >= O.value && r < k.value) })
1293
1307
  }, null, 12, Je)) : d("", !0)], 64))), 256))]))), 256)),
1294
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e, t) => (h(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (h(), f("path", {
1308
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1295
1309
  key: 0,
1296
1310
  d: `M ${e.selectionSet}`,
1297
1311
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1301,7 +1315,7 @@ var Te = ["data-minimap"], Ee = {
1301
1315
  "stroke-linejoin": "round",
1302
1316
  "stroke-dasharray": e.dashed ? "2 4" : 0
1303
1317
  }, null, 8, Ye)) : d("", !0)]))), 128)),
1304
- (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", { key: String(e.key) }, [(h(!0), f(l, null, _(e.sliced, (t) => (h(), f("g", null, [e.isVisible && t.value !== null ? (h(), f("circle", {
1318
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.sliced, (t) => (g(), f("g", null, [e.isVisible && t.value !== null ? (g(), f("circle", {
1305
1319
  key: 0,
1306
1320
  cx: t.x,
1307
1321
  cy: t.y,
@@ -1312,29 +1326,29 @@ var Te = ["data-minimap"], Ee = {
1312
1326
  style: { opacity: "0.6" }
1313
1327
  }, null, 8, Xe)) : d("", !0)]))), 256))]))), 128))
1314
1328
  ]))], 64)),
1315
- e.$slots.slotMap ? _e(e.$slots, "slotMap", pe(le({
1329
+ e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
1316
1330
  width: Math.max(0, F.value.width),
1317
1331
  height: Math.max(0, F.value.height),
1318
- zeroY: On.value,
1332
+ zeroY: An.value,
1319
1333
  unitW: Math.max(0, B.value)
1320
1334
  })), void 0, !0, 4) : d("", !0),
1321
- W.value !== null && !X.value ? (h(), f("line", pe(ue({ key: 5 }, wr.value)), null, 16)) : d("", !0),
1335
+ W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Er.value)), null, 16)) : d("", !0),
1322
1336
  p("rect", {
1323
1337
  x: 0,
1324
1338
  y: 0,
1325
1339
  width: Math.max(0, F.value.width),
1326
1340
  height: Math.max(0, F.value.height),
1327
1341
  fill: "transparent",
1328
- style: m([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1342
+ style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1329
1343
  onMousedown: t[0] ||= (e) => X.value = !0,
1330
1344
  onMouseup: t[1] ||= (e) => X.value = !1,
1331
- onMousemove: zn,
1332
- onMouseleave: Bn
1345
+ onMousemove: Vn,
1346
+ onMouseleave: Hn
1333
1347
  }, null, 44, Ze),
1334
- C.value && s.minimapCompact ? (h(), f(l, { key: 6 }, [
1348
+ C.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1335
1349
  p("rect", {
1336
1350
  class: "vue-ui-zoom-compact-minimap-handle",
1337
- x: qr.value,
1351
+ x: Yr.value,
1338
1352
  y: 0,
1339
1353
  width: $.value,
1340
1354
  height: F.value.height,
@@ -1343,17 +1357,17 @@ var Te = ["data-minimap"], Ee = {
1343
1357
  "stroke-width": s.handleBorderWidth,
1344
1358
  rx: 3
1345
1359
  }, null, 8, Qe),
1346
- s.handleType && s.handleType !== "empty" ? (h(), f("g", {
1360
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1347
1361
  key: 0,
1348
1362
  class: "compact-handle-icon",
1349
- transform: `translate(${qr.value}, 0)`,
1363
+ transform: `translate(${Yr.value}, 0)`,
1350
1364
  style: { "pointer-events": "none" }
1351
- }, [(h(), f("svg", {
1365
+ }, [(g(), f("svg", {
1352
1366
  width: $.value,
1353
1367
  height: F.value.height,
1354
1368
  viewBox: "0 0 20 20",
1355
1369
  preserveAspectRatio: "xMidYMid meet"
1356
- }, [s.handleType === "arrow" ? (h(), f("path", {
1370
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1357
1371
  key: 0,
1358
1372
  d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1359
1373
  fill: N.value,
@@ -1361,7 +1375,7 @@ var Te = ["data-minimap"], Ee = {
1361
1375
  "stroke-width": .618,
1362
1376
  "stroke-linejoin": "round",
1363
1377
  "stroke-linecap": "round"
1364
- }, null, 8, tt)) : s.handleType === "chevron" ? (h(), f("path", {
1378
+ }, null, 8, tt)) : s.handleType === "chevron" ? (g(), f("path", {
1365
1379
  key: 1,
1366
1380
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1367
1381
  fill: "none",
@@ -1369,7 +1383,7 @@ var Te = ["data-minimap"], Ee = {
1369
1383
  "stroke-width": .618,
1370
1384
  "stroke-linejoin": "round",
1371
1385
  "stroke-linecap": "round"
1372
- }, null, 8, nt)) : s.handleType === "grab" ? (h(), f("path", {
1386
+ }, null, 8, nt)) : s.handleType === "grab" ? (g(), f("path", {
1373
1387
  key: 2,
1374
1388
  d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1375
1389
  fill: s.handleIconColor || s.textColor,
@@ -1378,7 +1392,7 @@ var Te = ["data-minimap"], Ee = {
1378
1392
  }, null, 8, rt)) : d("", !0)], 8, et))], 8, $e)) : d("", !0),
1379
1393
  p("rect", {
1380
1394
  class: "vue-ui-zoom-compact-minimap-handle",
1381
- x: Jr.value,
1395
+ x: Xr.value,
1382
1396
  y: 0,
1383
1397
  width: $.value,
1384
1398
  height: F.value.height,
@@ -1387,17 +1401,17 @@ var Te = ["data-minimap"], Ee = {
1387
1401
  "stroke-width": s.handleBorderWidth,
1388
1402
  rx: 3
1389
1403
  }, null, 8, it),
1390
- s.handleType && s.handleType !== "empty" ? (h(), f("g", {
1404
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1391
1405
  key: 1,
1392
1406
  class: "compact-handle-icon",
1393
- transform: `translate(${Jr.value}, 0)`,
1407
+ transform: `translate(${Xr.value}, 0)`,
1394
1408
  style: { "pointer-events": "none" }
1395
- }, [(h(), f("svg", {
1409
+ }, [(g(), f("svg", {
1396
1410
  width: $.value,
1397
1411
  height: F.value.height,
1398
1412
  viewBox: "0 0 20 20",
1399
1413
  preserveAspectRatio: "xMidYMid meet"
1400
- }, [s.handleType === "arrow" ? (h(), f("path", {
1414
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1401
1415
  key: 0,
1402
1416
  d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1403
1417
  fill: N.value,
@@ -1405,7 +1419,7 @@ var Te = ["data-minimap"], Ee = {
1405
1419
  "stroke-width": .618,
1406
1420
  "stroke-linejoin": "round",
1407
1421
  "stroke-linecap": "round"
1408
- }, null, 8, st)) : s.handleType === "chevron" ? (h(), f("path", {
1422
+ }, null, 8, st)) : s.handleType === "chevron" ? (g(), f("path", {
1409
1423
  key: 1,
1410
1424
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1411
1425
  fill: "none",
@@ -1413,7 +1427,7 @@ var Te = ["data-minimap"], Ee = {
1413
1427
  "stroke-width": .618,
1414
1428
  "stroke-linejoin": "round",
1415
1429
  "stroke-linecap": "round"
1416
- }, null, 8, ct)) : s.handleType === "grab" ? (h(), f("path", {
1430
+ }, null, 8, ct)) : s.handleType === "grab" ? (g(), f("path", {
1417
1431
  key: 2,
1418
1432
  d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1419
1433
  fill: s.handleIconColor || s.textColor,
@@ -1421,8 +1435,8 @@ var Te = ["data-minimap"], Ee = {
1421
1435
  opacity: "0.6"
1422
1436
  }, null, 8, lt)) : d("", !0)], 8, ot))], 8, at)) : d("", !0)
1423
1437
  ], 64)) : d("", !0),
1424
- e.$slots.slotMap ? d("", !0) : (h(), f(l, { key: 7 }, [s.minimapMerged ? (h(), f("g", ut, [
1425
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (h(), f("circle", {
1438
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", ut, [
1439
+ V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1426
1440
  key: 0,
1427
1441
  cx: V.value.firstPlot.x,
1428
1442
  cy: V.value.firstPlot.y,
@@ -1431,14 +1445,14 @@ var Te = ["data-minimap"], Ee = {
1431
1445
  r: "4",
1432
1446
  fill: s.minimapLineColor
1433
1447
  }, null, 8, dt)) : d("", !0),
1434
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (h(), f("circle", {
1448
+ V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1435
1449
  key: 1,
1436
1450
  cx: V.value.firstPlot.x,
1437
1451
  cy: V.value.firstPlot.y,
1438
1452
  r: 2,
1439
1453
  fill: N.value
1440
1454
  }, null, 8, ft)) : d("", !0),
1441
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (h(), f("circle", {
1455
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1442
1456
  key: 2,
1443
1457
  cx: V.value.lastPlot.x,
1444
1458
  cy: V.value.lastPlot.y,
@@ -1447,15 +1461,15 @@ var Te = ["data-minimap"], Ee = {
1447
1461
  r: "4",
1448
1462
  fill: s.minimapLineColor
1449
1463
  }, null, 8, pt)) : d("", !0),
1450
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (h(), f("circle", {
1464
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1451
1465
  key: 3,
1452
1466
  cx: V.value.lastPlot.x,
1453
1467
  cy: V.value.lastPlot.y,
1454
1468
  r: "2",
1455
1469
  fill: N.value
1456
1470
  }, null, 8, mt)) : d("", !0)
1457
- ])) : (h(), f("g", ht, [(h(!0), f(l, null, _(H.value.filter((e) => e.type === "line"), (e, t) => (h(), f("g", { key: String(e.key) }, [
1458
- e && e.hasSelection && e.selectionSet && e.isVisible ? (h(), f("path", {
1471
+ ])) : (g(), f("g", ht, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1472
+ e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1459
1473
  key: 0,
1460
1474
  d: `M ${e.selectionSet}`,
1461
1475
  stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
@@ -1465,7 +1479,7 @@ var Te = ["data-minimap"], Ee = {
1465
1479
  "stroke-linejoin": "round",
1466
1480
  "stroke-dasharray": e.dashed ? "2 4" : 0
1467
1481
  }, null, 8, gt)) : d("", !0),
1468
- e.isVisible && s.cutNullValues ? (h(!0), f(l, { key: 1 }, _(e.selectionMarkers, (t) => (h(), f("circle", {
1482
+ e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1469
1483
  key: `sel-dot-${e.key}-${t.i}`,
1470
1484
  cx: t.x,
1471
1485
  cy: t.y,
@@ -1474,7 +1488,7 @@ var Te = ["data-minimap"], Ee = {
1474
1488
  stroke: N.value,
1475
1489
  "stroke-width": "0.5"
1476
1490
  }, null, 8, _t))), 128)) : d("", !0),
1477
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (h(), f("circle", {
1491
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1478
1492
  key: 2,
1479
1493
  cx: e.firstPlot.x,
1480
1494
  cy: e.firstPlot.y,
@@ -1483,14 +1497,14 @@ var Te = ["data-minimap"], Ee = {
1483
1497
  r: "4",
1484
1498
  fill: e.color
1485
1499
  }, null, 8, vt)) : d("", !0),
1486
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (h(), f("circle", {
1500
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1487
1501
  key: 3,
1488
1502
  cx: e.firstPlot.x,
1489
1503
  cy: e.firstPlot.y,
1490
1504
  r: "2",
1491
1505
  fill: N.value
1492
1506
  }, null, 8, yt)) : d("", !0),
1493
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (h(), f("circle", {
1507
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1494
1508
  key: 4,
1495
1509
  cx: e.lastPlot.x,
1496
1510
  cy: e.lastPlot.y,
@@ -1499,14 +1513,14 @@ var Te = ["data-minimap"], Ee = {
1499
1513
  r: "4",
1500
1514
  fill: e.color
1501
1515
  }, null, 8, bt)) : d("", !0),
1502
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (h(), f("circle", {
1516
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1503
1517
  key: 5,
1504
1518
  cx: e.lastPlot.x,
1505
1519
  cy: e.lastPlot.y,
1506
1520
  r: "2",
1507
1521
  fill: N.value
1508
1522
  }, null, 8, xt)) : d("", !0)
1509
- ]))), 128)), (h(!0), f(l, null, _(H.value.filter((e) => e.type === "plot"), (e) => (h(), f("g", { key: String(e.key) }, [(h(!0), f(l, null, _(e.points, (t) => (h(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (h(), f("circle", {
1523
+ ]))), 128)), (g(!0), f(l, null, v(H.value.filter((e) => e.type === "plot"), (e) => (g(), f("g", { key: String(e.key) }, [(g(!0), f(l, null, v(e.points, (t) => (g(), f("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (g(), f("circle", {
1510
1524
  key: `sel-plot-${e.key}-${t.i}`,
1511
1525
  cx: t.x,
1512
1526
  cy: t.y,
@@ -1518,29 +1532,29 @@ var Te = ["data-minimap"], Ee = {
1518
1532
  ], 8, ke))])) : d("", !0),
1519
1533
  p("div", {
1520
1534
  class: "slider-track",
1521
- style: m({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
1535
+ style: h({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
1522
1536
  }, null, 4),
1523
1537
  p("div", {
1524
- class: fe({
1538
+ class: m({
1525
1539
  "range-highlight": !0,
1526
1540
  move: s.enableSelectionDrag
1527
1541
  }),
1528
1542
  onMousedown: t[2] ||= (e) => X.value = !0,
1529
1543
  onMouseup: t[3] ||= (e) => X.value = !1,
1530
- style: m({
1544
+ style: h({
1531
1545
  ...M.value,
1532
1546
  cursor: X.value ? "grabbing" : "grab",
1533
1547
  visibility: C.value && s.minimapCompact ? "hidden" : "visible"
1534
1548
  })
1535
1549
  }, null, 38),
1536
- s.enableRangeHandles ? Se((h(), f("input", {
1550
+ s.enableRangeHandles ? Se((g(), f("input", {
1537
1551
  key: 1,
1538
1552
  "aria-label": "range-handle-left",
1539
1553
  ref_key: "rangeStart",
1540
- ref: Vn,
1554
+ ref: Un,
1541
1555
  type: "range",
1542
1556
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1543
- class: fe({
1557
+ class: m({
1544
1558
  "range-left": !0,
1545
1559
  "range-handle": !0,
1546
1560
  "range-minimap": C.value && s.verticalHandles,
@@ -1549,28 +1563,28 @@ var Te = ["data-minimap"], Ee = {
1549
1563
  min: s.min,
1550
1564
  max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1551
1565
  tabindex: C.value ? -1 : 0,
1552
- "onUpdate:modelValue": t[4] ||= (e) => Mn.value = e,
1566
+ "onUpdate:modelValue": t[4] ||= (e) => Pn.value = e,
1553
1567
  onFocus: t[5] ||= (e) => C.value && e.target.blur(),
1554
- onInput: t[6] ||= (e) => Mn.value = e.target.valueAsNumber,
1568
+ onInput: t[6] ||= (e) => Pn.value = e.target.valueAsNumber,
1555
1569
  onChange: A,
1556
1570
  onKeyup: Ce(A, ["enter"]),
1557
1571
  onBlur: A,
1558
- onMouseenter: t[7] ||= (e) => xr("start"),
1572
+ onMouseenter: t[7] ||= (e) => Cr("start"),
1559
1573
  onPointerup: A
1560
1574
  }, null, 42, Ct)), [[
1561
- xe,
1562
- Mn.value,
1575
+ be,
1576
+ Pn.value,
1563
1577
  void 0,
1564
1578
  { number: !0 }
1565
1579
  ]]) : d("", !0),
1566
- s.enableRangeHandles ? Se((h(), f("input", {
1580
+ s.enableRangeHandles ? Se((g(), f("input", {
1567
1581
  key: 2,
1568
1582
  "aria-label": "range-handle-right",
1569
1583
  ref_key: "rangeEnd",
1570
- ref: Hn,
1584
+ ref: Wn,
1571
1585
  type: "range",
1572
1586
  step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1573
- class: fe({
1587
+ class: m({
1574
1588
  "range-right": !0,
1575
1589
  "range-handle": !0,
1576
1590
  "range-minimap": C.value && s.verticalHandles,
@@ -1580,110 +1594,110 @@ var Te = ["data-minimap"], Ee = {
1580
1594
  max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1581
1595
  tabindex: C.value ? -1 : 0,
1582
1596
  onFocus: t[8] ||= (e) => C.value && e.target.blur(),
1583
- "onUpdate:modelValue": t[9] ||= (e) => Nn.value = e,
1584
- onInput: t[10] ||= (e) => Nn.value = e.target.valueAsNumber,
1597
+ "onUpdate:modelValue": t[9] ||= (e) => Fn.value = e,
1598
+ onInput: t[10] ||= (e) => Fn.value = e.target.valueAsNumber,
1585
1599
  onChange: A,
1586
1600
  onKeyup: Ce(A, ["enter"]),
1587
1601
  onBlur: A,
1588
- onMouseenter: t[11] ||= (e) => xr("end"),
1602
+ onMouseenter: t[11] ||= (e) => Cr("end"),
1589
1603
  onPointerup: A
1590
1604
  }, null, 42, wt)), [[
1591
- xe,
1592
- Nn.value,
1605
+ be,
1606
+ Fn.value,
1593
1607
  void 0,
1594
1608
  { number: !0 }
1595
1609
  ]]) : d("", !0),
1596
- C.value && s.minimapCompact ? (h(), f("div", Tt, [(h(), f("svg", {
1597
- xmlns: ye(ne),
1610
+ C.value && s.minimapCompact ? (g(), f("div", Tt, [(g(), f("svg", {
1611
+ xmlns: ve(ne),
1598
1612
  viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height + 1)}`
1599
1613
  }, [p("rect", ue({
1600
1614
  class: "vue-ui-zoom-compact-minimap-handle",
1601
- x: qr.value,
1615
+ x: Yr.value,
1602
1616
  y: 0,
1603
1617
  width: $.value,
1604
1618
  height: F.value.height,
1605
1619
  fill: "transparent",
1606
1620
  stroke: "none"
1607
- }, Lr.value, {
1608
- onKeydown: t[12] ||= (e) => Ir("start", e),
1609
- onMousedown: t[13] ||= we((e) => Wr("start", e), ["stop", "prevent"]),
1621
+ }, zr.value, {
1622
+ onKeydown: t[12] ||= (e) => Rr("start", e),
1623
+ onMousedown: t[13] ||= we((e) => Kr("start", e), ["stop", "prevent"]),
1610
1624
  onClick: t[14] ||= we(() => {}, ["stop", "prevent"])
1611
1625
  }), null, 16, Dt), p("rect", ue({
1612
1626
  class: "vue-ui-zoom-compact-minimap-handle",
1613
- x: Jr.value,
1627
+ x: Xr.value,
1614
1628
  y: 0,
1615
1629
  width: $.value,
1616
1630
  height: F.value.height,
1617
1631
  fill: "transparent",
1618
1632
  stroke: "none",
1619
1633
  rx: 3
1620
- }, Rr.value, {
1621
- onKeydown: t[15] ||= (e) => Ir("end", e),
1622
- onMousedown: t[16] ||= we((e) => Wr("end", e), ["stop", "prevent"]),
1634
+ }, Br.value, {
1635
+ onKeydown: t[15] ||= (e) => Rr("end", e),
1636
+ onMousedown: t[16] ||= we((e) => Kr("end", e), ["stop", "prevent"]),
1623
1637
  onClick: t[17] ||= we(() => {}, ["stop", "prevent"])
1624
1638
  }), null, 16, Ot)], 8, Et))])) : d("", !0),
1625
- Q.value.left ? (h(), f("div", {
1639
+ Q.value.left ? (g(), f("div", {
1626
1640
  key: 4,
1627
1641
  ref_key: "tooltipLeft",
1628
- ref: mr,
1629
- class: fe({
1642
+ ref: gr,
1643
+ class: m({
1630
1644
  "range-tooltip": !0,
1631
1645
  "range-tooltip-visible": Z.value,
1632
1646
  "range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
1633
1647
  "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
1634
1648
  }),
1635
- style: m({
1649
+ style: h({
1636
1650
  left: M.value.tooltipLeft,
1637
- color: ye(te)(s.selectColor),
1651
+ color: ve(te)(s.selectColor),
1638
1652
  backgroundColor: s.selectColor,
1639
1653
  border: `1px solid ${N.value}`,
1640
- zIndex: `${br.value + 4}`,
1641
- visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1654
+ zIndex: `${Sr.value + 4}`,
1655
+ visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1642
1656
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1643
1657
  })
1644
- }, ve(Q.value.left), 7)) : d("", !0),
1645
- (Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (h(), f("div", {
1658
+ }, _e(Q.value.left), 7)) : d("", !0),
1659
+ (wr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1646
1660
  key: 5,
1647
1661
  ref: "tooltipMerge",
1648
- class: fe({
1662
+ class: m({
1649
1663
  "range-tooltip": !0,
1650
1664
  "range-tooltip-visible": Z.value,
1651
1665
  "range-tooltip-arrow": !0,
1652
1666
  "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
1653
1667
  "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1654
1668
  }),
1655
- style: m({
1669
+ style: h({
1656
1670
  left: M.value.tooltipCenter,
1657
- width: Cr.value.width + "px",
1658
- color: ye(te)(s.selectColor),
1671
+ width: Tr.value.width + "px",
1672
+ color: ve(te)(s.selectColor),
1659
1673
  backgroundColor: s.selectColor,
1660
1674
  border: `1px solid ${N.value}`,
1661
1675
  zIndex: "4",
1662
1676
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1663
1677
  })
1664
- }, ve(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1665
- Q.value.right ? (h(), f("div", {
1678
+ }, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1679
+ Q.value.right ? (g(), f("div", {
1666
1680
  key: 6,
1667
1681
  ref_key: "tooltipRight",
1668
- ref: hr,
1669
- class: fe({
1682
+ ref: _r,
1683
+ class: m({
1670
1684
  "range-tooltip": !0,
1671
1685
  "range-tooltip-visible": Z.value,
1672
1686
  "range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
1673
1687
  "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1674
1688
  }),
1675
- style: m({
1689
+ style: h({
1676
1690
  left: M.value.tooltipRight,
1677
- color: ye(te)(s.selectColor),
1691
+ color: ve(te)(s.selectColor),
1678
1692
  backgroundColor: s.selectColor,
1679
1693
  border: `1px solid ${N.value}`,
1680
1694
  zIndex: "4",
1681
- visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1695
+ visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1682
1696
  top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1683
1697
  })
1684
- }, ve(Q.value.right), 7)) : d("", !0)
1698
+ }, _e(Q.value.right), 7)) : d("", !0)
1685
1699
  ], 36)], 44, Te));
1686
1700
  }
1687
- }, [["__scopeId", "data-v-86199147"]]);
1701
+ }, [["__scopeId", "data-v-023703bd"]]);
1688
1702
  //#endregion
1689
1703
  export { At as t };