vue-data-ui 3.22.13 → 3.23.0

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 (224) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +13 -1
  3. package/dist/{Arrow-DKx74WtM.js → Arrow-o2qHNvrC.js} +1 -1
  4. package/dist/{BaseDraggableDialog-3n8udWmh.js → BaseDraggableDialog-qTnfhLBz.js} +2 -2
  5. package/dist/{BaseIcon-CP5RWnqt.js → BaseIcon-91MZoczJ.js} +4 -3
  6. package/dist/{BaseLegendToggle-DsWphmIb.js → BaseLegendToggle-CtAPwzr2.js} +1 -1
  7. package/dist/{BaseZoomControls-C9_ygNN4.js → BaseZoomControls-rdzlicuz.js} +2 -2
  8. package/dist/{ColorPicker-3N_HVgXs.js → ColorPicker-CIAkdPrj.js} +2 -2
  9. package/dist/{DataTable-DzPEVvSo.js → DataTable-D4tM9s5Y.js} +2 -2
  10. package/dist/HillActions-BWhxHlrj.js +187 -0
  11. package/dist/{Legend-C0xAnJdO.js → Legend-CQTRlzK-.js} +2 -2
  12. package/dist/{NonSvgPenAndPaper-B_mE5UbR.js → NonSvgPenAndPaper-Cawacw1W.js} +19 -19
  13. package/dist/{PackageVersion-B6Hokxw9.js → PackageVersion--QCMh5k_.js} +1 -1
  14. package/dist/{PenAndPaper-CSMVXpg2.js → PenAndPaper-cE4J8-rA.js} +11 -11
  15. package/dist/{Shape-BfnXr1nJ.js → Shape-BPMV94Ij.js} +3 -3
  16. package/dist/{Slicer-C6qNUmZ4.js → Slicer-5yIrdoJv.js} +15 -15
  17. package/dist/SlicerPreview-DvjLV2TW.js +1689 -0
  18. package/dist/{SparkTooltip-uoUiL_P8.js → SparkTooltip-BaYtEKS6.js} +6 -6
  19. package/dist/Title-BODtwViI.js +87 -0
  20. package/dist/{Tooltip-CA1rtSyl.js → Tooltip-CMTGxeYO.js} +1 -1
  21. package/dist/{UserOptions-DzAFK9cY.js → UserOptions-3ujTo3LD.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/{dom-to-png-BdAFKZQg.js → dom-to-png-4tdMNGPX.js} +1 -1
  93. package/dist/exposedLib-DWLRqRhv.js +25 -0
  94. package/dist/{img-Bikk1dGb.js → img-DIQG5q8T.js} +1 -1
  95. package/dist/{labelUtils-BUhssos9.js → labelUtils-C5lnc_xc.js} +1 -1
  96. package/dist/{lib-CFm_J26b.js → lib-BuMGJ_a0.js} +216 -173
  97. package/dist/{package-DmDydylu.js → package-BMc_ZieJ.js} +1 -1
  98. package/dist/{pdf-zmz3l2uy.js → pdf-Cnz4NKM9.js} +1 -1
  99. package/dist/{render-common-BIG8JYGK.js → render-common-Ktg2LZFG.js} +21 -21
  100. package/dist/ssr/vue-ui-donut.js +1 -1
  101. package/dist/ssr/vue-ui-xy.js +1 -1
  102. package/dist/ssr.js +2 -2
  103. package/dist/style.css +1 -1
  104. package/dist/types/vue-data-ui.d.ts +493 -0
  105. package/dist/types/vue-ui-hill.d.ts +90 -0
  106. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +122 -0
  107. package/dist/{useConfig-C0V0eG7L.js → useConfig-BilxnBNr.js} +767 -476
  108. package/dist/useHints-Dq_w2E8B.js +66 -0
  109. package/dist/{useNestedProp-BY6DNN3i.js → useNestedProp--NSEmhOH.js} +1 -1
  110. package/dist/{useObjectBindings-Djwpii4d.js → useObjectBindings-Cwq7NcQz.js} +3 -2
  111. package/dist/{usePrinter-BH-xle1O.js → usePrinter-BFvi4jVy.js} +2 -2
  112. package/dist/useTransitions-g_zBREk2.js +39 -0
  113. package/dist/utils.js +14 -14
  114. package/dist/{vue-data-ui-rkzh6EkO.js → vue-data-ui-EsawKe_W.js} +85 -81
  115. package/dist/vue-data-ui.js +77 -76
  116. package/dist/vue-ui-3d-bar-RSUS2xpL.js +1849 -0
  117. package/dist/{vue-ui-accordion-UA88lv4d.js → vue-ui-accordion-61MlW-Ge.js} +4 -4
  118. package/dist/vue-ui-age-pyramid-CgnPWA93.js +1263 -0
  119. package/dist/vue-ui-annotator-DBRT85HG.js +2913 -0
  120. package/dist/vue-ui-bullet-Bc3-WaN1.js +724 -0
  121. package/dist/{vue-ui-bump-BS7RCf0Z.js → vue-ui-bump-Dvv3iSKr.js} +332 -295
  122. package/dist/{vue-ui-candlestick-BZSGDKrM.js → vue-ui-candlestick-DvvsrIdp.js} +464 -440
  123. package/dist/vue-ui-carousel-table-DtsNVim8.js +463 -0
  124. package/dist/vue-ui-chestnut-ArloORzP.js +2068 -0
  125. package/dist/{vue-ui-chord-D6G7ceE-.js → vue-ui-chord-xX5gWZy8.js} +430 -424
  126. package/dist/vue-ui-circle-pack-D8wykmqg.js +1638 -0
  127. package/dist/{vue-ui-cursor-BpN5MsXM.js → vue-ui-cursor-CxgE6Phh.js} +61 -61
  128. package/dist/{vue-ui-dag-BzgOgXzU.js → vue-ui-dag-C9Sf9vH7.js} +924 -916
  129. package/dist/vue-ui-dashboard-bGmaglAj.js +520 -0
  130. package/dist/{vue-ui-digits-OMPrn8fb.js → vue-ui-digits-DgDE-_Fn.js} +58 -50
  131. package/dist/vue-ui-donut-B_n6wF6B.js +2440 -0
  132. package/dist/{vue-ui-donut-Cp5NbZ1r.js → vue-ui-donut-Bmo149AR.js} +113 -113
  133. package/dist/{vue-ui-donut-evolution-DHVi5rOn.js → vue-ui-donut-evolution-D6vH_hfx.js} +528 -447
  134. package/dist/vue-ui-dumbbell-BX4Ao_wR.js +1582 -0
  135. package/dist/{vue-ui-flow-BusUK3H0.js → vue-ui-flow-Bshw8pT_.js} +415 -407
  136. package/dist/vue-ui-funnel-CjYosIik.js +797 -0
  137. package/dist/vue-ui-galaxy-CvXgy-dy.js +1111 -0
  138. package/dist/vue-ui-gauge-CByT0_vF.js +953 -0
  139. package/dist/{vue-ui-geo-CyFgFKlh.js → vue-ui-geo-C-gSZL2q.js} +378 -363
  140. package/dist/{vue-ui-gizmo-DdeXwCQp.js → vue-ui-gizmo-CJdxyPID.js} +57 -49
  141. package/dist/{vue-ui-heatmap-D8-qJ7fg.js → vue-ui-heatmap-DEEKv8ip.js} +498 -490
  142. package/dist/vue-ui-hill-D7LYAgAL.js +1768 -0
  143. package/dist/{vue-ui-history-plot-C2Aqk2ON.js → vue-ui-history-plot-BhcU94Pt.js} +553 -556
  144. package/dist/vue-ui-horizontal-bar-CfFye5tL.js +1733 -0
  145. package/dist/vue-ui-kpi-DCBnNfTb.js +104 -0
  146. package/dist/vue-ui-mini-loader-CtWpqnLW.js +133 -0
  147. package/dist/vue-ui-molecule-D3igGyOy.js +958 -0
  148. package/dist/{vue-ui-mood-radar-BiOjxFEN.js → vue-ui-mood-radar-sl6DMxqR.js} +349 -341
  149. package/dist/{vue-ui-nested-donuts-Cl1HVvDp.js → vue-ui-nested-donuts-aS4YzaB3.js} +449 -413
  150. package/dist/vue-ui-onion-EhPTZpW_.js +1258 -0
  151. package/dist/vue-ui-parallel-coordinate-plot-DE9wTmQQ.js +1455 -0
  152. package/dist/{vue-ui-quadrant-B21LkUc8.js → vue-ui-quadrant-SaY_RPSE.js} +625 -617
  153. package/dist/vue-ui-quick-chart-CJ9rejnj.js +2389 -0
  154. package/dist/{vue-ui-radar-CyzAyVos.js → vue-ui-radar-CaNen5Fj.js} +356 -310
  155. package/dist/vue-ui-rating--K7rX2an.js +360 -0
  156. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +925 -0
  157. package/dist/vue-ui-ridgeline-Beg5hshN.js +1663 -0
  158. package/dist/{vue-ui-rings-FtcdX8xl.js → vue-ui-rings-BevKD8P-.js} +449 -423
  159. package/dist/{vue-ui-scatter-Cp_-2ahf.js → vue-ui-scatter-CNA7jF-o.js} +721 -702
  160. package/dist/{vue-ui-skeleton-COytVrfN.js → vue-ui-skeleton-B9ZP1w-i.js} +395 -387
  161. package/dist/{vue-ui-smiley-Da2jgkb7.js → vue-ui-smiley-DYnqqk6u.js} +128 -120
  162. package/dist/{vue-ui-spark-trend-DC2KUlEY.js → vue-ui-spark-trend-R0ebpg-G.js} +132 -117
  163. package/dist/{vue-ui-sparkbar-DdxQOFIF.js → vue-ui-sparkbar-DYC3By0v.js} +119 -111
  164. package/dist/{vue-ui-sparkgauge-DTA-fORH.js → vue-ui-sparkgauge-Bw6no-In.js} +76 -68
  165. package/dist/vue-ui-sparkhistogram-DvRKy8rq.js +590 -0
  166. package/dist/{vue-ui-sparkline-DcR_N-zT.js → vue-ui-sparkline-Dz1uzBos.js} +389 -364
  167. package/dist/vue-ui-sparkstackbar-DlnPdZih.js +692 -0
  168. package/dist/vue-ui-stackbar-B-THcavY.js +2350 -0
  169. package/dist/vue-ui-stackline-3dBPoI0h.js +2464 -0
  170. package/dist/{vue-ui-strip-plot-NLCwYvyw.js → vue-ui-strip-plot-ACeYOoHj.js} +505 -484
  171. package/dist/vue-ui-table-heatmap-DVwMqzje.js +364 -0
  172. package/dist/{vue-ui-table-AM9brdwU.js → vue-ui-table-rFy16bp0.js} +512 -504
  173. package/dist/{vue-ui-table-sparkline-BE6DAvur.js → vue-ui-table-sparkline-CABJzK8p.js} +207 -181
  174. package/dist/vue-ui-thermometer-CVQ-H69Q.js +777 -0
  175. package/dist/{vue-ui-timer-BZM5ITG9.js → vue-ui-timer-Bm8LpsnI.js} +66 -58
  176. package/dist/{vue-ui-tiremarks-BCncDpHX.js → vue-ui-tiremarks-DB3f5qiz.js} +127 -119
  177. package/dist/vue-ui-treemap-DP0Sx8Y8.js +1760 -0
  178. package/dist/vue-ui-waffle-iPpdk1Bm.js +1412 -0
  179. package/dist/vue-ui-wheel-BJkEYfLj.js +892 -0
  180. package/dist/{vue-ui-word-cloud-D7R7nhk1.js → vue-ui-word-cloud-B2sxtel9.js} +440 -432
  181. package/dist/{vue-ui-world-DZBt-07p.js → vue-ui-world-BBQZLnzm.js} +343 -335
  182. package/dist/vue-ui-xy-ChZg7AtI.js +1364 -0
  183. package/dist/{vue-ui-xy-CluEZ7lS.js → vue-ui-xy-DZj5DT-q.js} +1633 -1587
  184. package/dist/{vue-ui-xy-canvas-7YSYRdwr.js → vue-ui-xy-canvas-BN2u0bOJ.js} +456 -430
  185. package/dist/vue_ui_hill-dnltu0L-.js +368 -0
  186. package/package.json +2 -2
  187. package/dist/SlicerPreview-Cw6WMVhG.js +0 -1689
  188. package/dist/Title-BuPs74IB.js +0 -87
  189. package/dist/exposedLib-Ciw6TGtP.js +0 -25
  190. package/dist/useAutoSizeLabelsInsideViewbox-C9RNjsGv.js +0 -50
  191. package/dist/useMountedDelay-BAjrhRJb.js +0 -14
  192. package/dist/vue-ui-3d-bar-D5xHEWr1.js +0 -1824
  193. package/dist/vue-ui-age-pyramid-CAJg01c7.js +0 -1246
  194. package/dist/vue-ui-annotator-q3ZKx6ua.js +0 -2905
  195. package/dist/vue-ui-bullet-ByeaWGfI.js +0 -709
  196. package/dist/vue-ui-carousel-table-DO5NRXvX.js +0 -455
  197. package/dist/vue-ui-chestnut-BfeSPeEh.js +0 -2042
  198. package/dist/vue-ui-circle-pack-Cqmlw7AV.js +0 -1610
  199. package/dist/vue-ui-dashboard-DLvGJXJY.js +0 -512
  200. package/dist/vue-ui-donut-ZIRebAWc.js +0 -2418
  201. package/dist/vue-ui-dumbbell-gDYjU2oF.js +0 -1564
  202. package/dist/vue-ui-funnel-BtaYaU0r.js +0 -781
  203. package/dist/vue-ui-galaxy-BMp-HzDh.js +0 -1076
  204. package/dist/vue-ui-gauge-CBou0cFE.js +0 -925
  205. package/dist/vue-ui-horizontal-bar-BuwxI7d1.js +0 -1689
  206. package/dist/vue-ui-kpi-ByxoO01r.js +0 -96
  207. package/dist/vue-ui-mini-loader-D9pprk2c.js +0 -125
  208. package/dist/vue-ui-molecule-BqJJq49_.js +0 -932
  209. package/dist/vue-ui-onion-CRQOxurS.js +0 -1199
  210. package/dist/vue-ui-parallel-coordinate-plot-Dhn18RtR.js +0 -1412
  211. package/dist/vue-ui-quick-chart-DAhSXYnp.js +0 -2443
  212. package/dist/vue-ui-rating-DbxK-ftN.js +0 -352
  213. package/dist/vue-ui-relation-circle-Cb33DMZo.js +0 -917
  214. package/dist/vue-ui-ridgeline-D7aArzQk.js +0 -1627
  215. package/dist/vue-ui-sparkhistogram-D1oFTrvt.js +0 -575
  216. package/dist/vue-ui-sparkstackbar-BlFio0lP.js +0 -674
  217. package/dist/vue-ui-stackbar-Cu13EdVa.js +0 -2322
  218. package/dist/vue-ui-stackline-DKL0o_-3.js +0 -2427
  219. package/dist/vue-ui-table-heatmap-CSI482KG.js +0 -338
  220. package/dist/vue-ui-thermometer-D6Czx7Fb.js +0 -769
  221. package/dist/vue-ui-treemap-BOEYCOdk.js +0 -1727
  222. package/dist/vue-ui-waffle-BrM8IHdG.js +0 -1367
  223. package/dist/vue-ui-wheel-BNsajigQ.js +0 -884
  224. package/dist/vue-ui-xy-Dt_1bSBT.js +0 -1364
@@ -0,0 +1,1689 @@
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-BuMGJ_a0.js";
2
+ import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
+ import { i as ie, l as c, t as ae } from "./useResponsive-ZtArZtUf.js";
4
+ import { t as oe } from "./BaseIcon-91MZoczJ.js";
5
+ import { t as se } from "./DefGrad-DVBqDjhO.js";
6
+ import { Fragment as l, computed as u, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as ce, guardReactiveProps as le, mergeProps as ue, nextTick as de, normalizeClass as m, normalizeProps as fe, normalizeStyle as h, onBeforeUnmount as pe, onMounted as me, onUpdated as he, openBlock as g, ref as _, renderList as v, renderSlot as ge, toDisplayString as _e, unref as ve, useCssVars as ye, vModelText as be, watch as y, withDirectives as xe, withKeys as Se, withModifiers as Ce } from "vue";
7
+ //#region src/atoms/SlicerPreview.vue
8
+ var we = ["data-minimap"], Te = {
9
+ class: "vue-data-ui-slicer-labels",
10
+ style: {
11
+ position: "relative",
12
+ "z-index": "1",
13
+ "pointer-events": "none"
14
+ }
15
+ }, Ee = {
16
+ key: 0,
17
+ style: {
18
+ width: "100%",
19
+ position: "relative",
20
+ "pointer-events": "all"
21
+ }
22
+ }, De = {
23
+ key: 0,
24
+ class: "minimap",
25
+ style: { width: "100%" }
26
+ }, Oe = ["xmlns", "viewBox"], ke = ["id"], Ae = [
27
+ "x",
28
+ "width",
29
+ "height"
30
+ ], je = [
31
+ "width",
32
+ "height",
33
+ "stroke"
34
+ ], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
35
+ "x",
36
+ "y",
37
+ "width",
38
+ "height",
39
+ "fill"
40
+ ], Fe = [
41
+ "d",
42
+ "stroke",
43
+ "stroke-dasharray"
44
+ ], Ie = [
45
+ "cx",
46
+ "cy",
47
+ "fill",
48
+ "stroke"
49
+ ], Le = [
50
+ "cx",
51
+ "cy",
52
+ "fill",
53
+ "stroke"
54
+ ], Re = [
55
+ "x",
56
+ "width",
57
+ "height",
58
+ "fill",
59
+ "rx"
60
+ ], ze = [
61
+ "x",
62
+ "width",
63
+ "height",
64
+ "rx",
65
+ "fill"
66
+ ], Be = [
67
+ "x",
68
+ "width",
69
+ "height",
70
+ "fill",
71
+ "rx",
72
+ "aria-valuemin",
73
+ "aria-valuemax",
74
+ "aria-valuenow",
75
+ "aria-valuetext"
76
+ ], Ve = [
77
+ "x2",
78
+ "y1",
79
+ "y2",
80
+ "stroke"
81
+ ], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
82
+ "cx",
83
+ "cy",
84
+ "stroke",
85
+ "fill"
86
+ ], Ge = [
87
+ "cx",
88
+ "cy",
89
+ "stroke",
90
+ "fill"
91
+ ], Ke = { key: "split-tree" }, qe = [
92
+ "x",
93
+ "y",
94
+ "width",
95
+ "height",
96
+ "fill"
97
+ ], Je = [
98
+ "d",
99
+ "stroke",
100
+ "stroke-dasharray"
101
+ ], Ye = [
102
+ "cx",
103
+ "cy",
104
+ "fill",
105
+ "stroke"
106
+ ], Xe = ["width", "height"], Ze = [
107
+ "x",
108
+ "width",
109
+ "height",
110
+ "fill",
111
+ "stroke",
112
+ "stroke-width"
113
+ ], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = [
114
+ "x",
115
+ "width",
116
+ "height",
117
+ "fill",
118
+ "stroke",
119
+ "stroke-width"
120
+ ], it = ["transform"], at = ["width", "height"], ot = ["fill", "stroke"], st = ["stroke"], ct = ["fill"], lt = {
121
+ key: "merged-tree",
122
+ style: { "pointer-events": "none" }
123
+ }, ut = [
124
+ "cx",
125
+ "cy",
126
+ "stroke",
127
+ "fill"
128
+ ], dt = [
129
+ "cx",
130
+ "cy",
131
+ "fill"
132
+ ], ft = [
133
+ "cx",
134
+ "cy",
135
+ "stroke",
136
+ "fill"
137
+ ], pt = [
138
+ "cx",
139
+ "cy",
140
+ "fill"
141
+ ], mt = {
142
+ key: 1,
143
+ style: { "pointer-events": "none" }
144
+ }, ht = [
145
+ "d",
146
+ "stroke",
147
+ "stroke-dasharray"
148
+ ], gt = [
149
+ "cx",
150
+ "cy",
151
+ "fill",
152
+ "stroke"
153
+ ], _t = [
154
+ "cx",
155
+ "cy",
156
+ "stroke",
157
+ "fill"
158
+ ], vt = [
159
+ "cx",
160
+ "cy",
161
+ "fill"
162
+ ], yt = [
163
+ "cx",
164
+ "cy",
165
+ "stroke",
166
+ "fill"
167
+ ], bt = [
168
+ "cx",
169
+ "cy",
170
+ "fill"
171
+ ], xt = [
172
+ "cx",
173
+ "cy",
174
+ "fill",
175
+ "stroke"
176
+ ], St = [
177
+ "step",
178
+ "min",
179
+ "max",
180
+ "tabindex"
181
+ ], Ct = [
182
+ "step",
183
+ "min",
184
+ "max",
185
+ "tabindex"
186
+ ], wt = {
187
+ key: 3,
188
+ class: "minimap-handle-overlay"
189
+ }, Tt = ["xmlns", "viewBox"], Et = [
190
+ "x",
191
+ "width",
192
+ "height"
193
+ ], Dt = [
194
+ "x",
195
+ "width",
196
+ "height"
197
+ ], Ot = 48, kt = /*#__PURE__*/ s({
198
+ __name: "SlicerPreview",
199
+ props: {
200
+ uuid: {
201
+ type: String,
202
+ default: ""
203
+ },
204
+ immediate: {
205
+ type: Boolean,
206
+ default: !0
207
+ },
208
+ background: {
209
+ type: String,
210
+ default: "#FFFFFF"
211
+ },
212
+ borderColor: {
213
+ type: String,
214
+ default: "#FFFFFF"
215
+ },
216
+ fontSize: {
217
+ type: Number,
218
+ default: 14
219
+ },
220
+ labelLeft: {
221
+ type: [String, Number],
222
+ default: ""
223
+ },
224
+ labelRight: {
225
+ type: [String, Number],
226
+ default: ""
227
+ },
228
+ textColor: {
229
+ type: String,
230
+ default: "#1A1A1A"
231
+ },
232
+ inputColor: {
233
+ type: String,
234
+ default: "#1A1A1A"
235
+ },
236
+ max: {
237
+ type: Number,
238
+ default: 0
239
+ },
240
+ min: {
241
+ type: Number,
242
+ default: 0
243
+ },
244
+ selectColor: {
245
+ type: String,
246
+ default: "#4A4A4A"
247
+ },
248
+ useResetSlot: {
249
+ type: Boolean,
250
+ default: !1
251
+ },
252
+ valueStart: {
253
+ type: [Number, String],
254
+ default: 0
255
+ },
256
+ valueEnd: {
257
+ type: [Number, String],
258
+ default: 0
259
+ },
260
+ minimap: {
261
+ type: Array,
262
+ default: []
263
+ },
264
+ smoothMinimap: {
265
+ type: Boolean,
266
+ default: !1
267
+ },
268
+ minimapSelectedColor: {
269
+ type: String,
270
+ default: "#1f77b4"
271
+ },
272
+ minimapSelectionRadius: {
273
+ type: Number,
274
+ default: 12
275
+ },
276
+ minimapLineColor: {
277
+ type: String,
278
+ default: "#2D353C"
279
+ },
280
+ minimapSelectedColorOpacity: {
281
+ type: Number,
282
+ default: .2
283
+ },
284
+ minimapSelectedIndex: {
285
+ type: Number,
286
+ default: null
287
+ },
288
+ minimapIndicatorColor: {
289
+ type: String,
290
+ default: "#2D353C"
291
+ },
292
+ refreshStartPoint: {
293
+ type: Number,
294
+ default: 0
295
+ },
296
+ refreshEndPoint: {
297
+ type: Number,
298
+ default: null
299
+ },
300
+ enableRangeHandles: {
301
+ type: Boolean,
302
+ default: !1
303
+ },
304
+ enableSelectionDrag: {
305
+ type: Boolean,
306
+ default: !0
307
+ },
308
+ verticalHandles: {
309
+ type: Boolean,
310
+ default: !1
311
+ },
312
+ timeLabels: { type: Array },
313
+ isPreview: {
314
+ type: Boolean,
315
+ default: !1
316
+ },
317
+ preciseLabels: {
318
+ type: Array,
319
+ default() {
320
+ return [];
321
+ }
322
+ },
323
+ usePreciseLabels: {
324
+ type: Boolean,
325
+ default: !1
326
+ },
327
+ selectedSeries: { type: Object },
328
+ customFormat: { type: [Function, null] },
329
+ minimapCompact: {
330
+ type: Boolean,
331
+ default: !1
332
+ },
333
+ allMinimaps: {
334
+ type: Array,
335
+ default() {
336
+ return [];
337
+ }
338
+ },
339
+ minimapMerged: {
340
+ type: Boolean,
341
+ default: !1
342
+ },
343
+ minimapFrameColor: {
344
+ type: String,
345
+ default: "#e1e5e8"
346
+ },
347
+ cutNullValues: {
348
+ type: Boolean,
349
+ default: !1
350
+ },
351
+ focusOnDrag: {
352
+ type: Boolean,
353
+ default: !1
354
+ },
355
+ focusRangeRatio: {
356
+ type: Number,
357
+ default: .1
358
+ },
359
+ minScale: {
360
+ type: Number,
361
+ default: null
362
+ },
363
+ maxScale: {
364
+ type: Number,
365
+ default: null
366
+ },
367
+ forceZeroCenter: {
368
+ type: Boolean,
369
+ default: !1
370
+ },
371
+ maxWidth: {
372
+ type: Number,
373
+ default: null
374
+ },
375
+ isCursorPointer: {
376
+ type: Boolean,
377
+ default: !1
378
+ },
379
+ additionalMinimapHeight: {
380
+ type: Number,
381
+ default: 0
382
+ },
383
+ handleType: {
384
+ type: String,
385
+ default: ""
386
+ },
387
+ handleWidth: {
388
+ type: Number,
389
+ default: 20
390
+ },
391
+ handleBorderWidth: {
392
+ type: Number,
393
+ default: 1
394
+ },
395
+ handleIconColor: {
396
+ type: String,
397
+ default: null
398
+ },
399
+ handleBorderColor: {
400
+ type: String,
401
+ default: null
402
+ },
403
+ handleFill: {
404
+ type: String,
405
+ default: null
406
+ },
407
+ precision: {
408
+ type: Number,
409
+ default: 0
410
+ },
411
+ useValueRange: {
412
+ type: Boolean,
413
+ default: !1
414
+ }
415
+ },
416
+ emits: [
417
+ "futureStart",
418
+ "futureEnd",
419
+ "update:start",
420
+ "update:end",
421
+ "reset",
422
+ "trapMouse",
423
+ "trapMouseValue"
424
+ ],
425
+ setup(s, { expose: kt, emit: At }) {
426
+ ye((e) => ({
427
+ v387ab4e8: rn.value,
428
+ v7bb82e00: P.value,
429
+ v42303b71: on.value,
430
+ v5bed6f30: s.selectColor,
431
+ v99127c84: an.value,
432
+ v27b98ef0: b.additionalMinimapHeight
433
+ }));
434
+ let b = s;
435
+ function jt(e) {
436
+ let t = Number(e) || 0;
437
+ return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
438
+ }
439
+ let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Mt = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), D = _(null), Nt = _(!1), Pt = _(0), Ft = _(0), It = _(null), Lt = _(!1), Rt = u(() => D.value !== null), zt = u(() => b.useValueRange ? C.value : C.value - 1), Bt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
440
+ function Vt(e) {
441
+ return (Number(e) - Number(b.min)) / Bt.value * 100;
442
+ }
443
+ function Ht(e) {
444
+ return I.value.width * (Vt(e) / 100);
445
+ }
446
+ function Ut(e) {
447
+ let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
448
+ return jt(Number(b.min) + Bt.value * t);
449
+ }
450
+ function Wt(e) {
451
+ let n = b.useValueRange ? e?.y : e;
452
+ return t(n) ? Number(n) : null;
453
+ }
454
+ function Gt(e, t) {
455
+ return b.useValueRange ? Number(e?.x) : t + Number(b.min);
456
+ }
457
+ function Kt(e, t) {
458
+ return b.useValueRange ? Ht(Gt(e, t)) : V.value * t + (b.minimapCompact ? 0 : V.value / 2);
459
+ }
460
+ let qt = u(() => Math.min(40, Math.max(20, b.handleWidth))), Jt = _(0), Yt = c((e) => M("futureStart", e), 0), Xt = c((e) => M("futureEnd", e), 0), O = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), k = u({
461
+ get: () => S.value,
462
+ set(e) {
463
+ let t = Math.min(Number(e), Number(C.value) - O.value);
464
+ t !== S.value && (S.value = t, Bn.value && (Bn.value.value = String(t)), b.immediate ? M("update:start", Number(t)) : T.value && Yt(t));
465
+ }
466
+ }), A = u({
467
+ get: () => C.value,
468
+ set(e) {
469
+ let t = Math.max(Number(e), Number(S.value) + O.value);
470
+ t !== C.value && (C.value = t, Vn.value && (Vn.value.value = String(t)), b.immediate ? M("update:end", Number(t)) : T.value && Xt(t));
471
+ }
472
+ });
473
+ function j() {
474
+ clearTimeout(null), b.immediate || (M("update:start", Number(S.value)), M("update:end", Number(C.value))), T.value = !1;
475
+ }
476
+ let Zt = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), M = At, Qt = u(() => {
477
+ if (b.useValueRange) return Vt(S.value);
478
+ if (E.value) {
479
+ let e = Math.max(1, R.value - 1);
480
+ return jn.value / e * 100;
481
+ }
482
+ let e = Math.max(1, b.max - b.min);
483
+ return (S.value - b.min) / e * 100;
484
+ }), $t = u(() => {
485
+ if (b.useValueRange) return Vt(C.value);
486
+ if (E.value) {
487
+ let e = Math.max(1, R.value - 1);
488
+ return Mn.value / e * 100;
489
+ }
490
+ let e = Math.max(1, b.max - b.min);
491
+ return (C.value - b.min) / e * 100;
492
+ }), en = u(() => (Qt.value + $t.value) / 2), tn = u(() => {
493
+ if (!x.value) return !1;
494
+ let e = Math.max(1, b.max - b.min);
495
+ return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - gr.value / 2 < 0;
496
+ }), nn = u(() => {
497
+ if (!x.value) return !1;
498
+ let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
499
+ return t * ((C.value - b.min) / e) + _r.value / 2 > t;
500
+ }), N = u(() => {
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)`;
502
+ return {
503
+ left: `${Qt.value}%`,
504
+ width: `${Math.max(0, $t.value - Qt.value)}%`,
505
+ background: b.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)`,
508
+ tooltipCenter: e,
509
+ arrowLeft: !tn.value,
510
+ arrowRight: !nn.value
511
+ };
512
+ }), rn = u(() => b.inputColor), an = u(() => b.background), on = u(() => `${b.selectColor}33`), P = u(() => b.borderColor), sn = u(() => Number(b.max) > Number(b.min));
513
+ function cn() {
514
+ M("reset");
515
+ }
516
+ y(() => b.min, (e) => {
517
+ Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
518
+ }), y(() => b.max, (e) => {
519
+ Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
520
+ });
521
+ let F = _(null), I = _({
522
+ width: 1,
523
+ height: 1
524
+ }), L = _(null);
525
+ me(() => {
526
+ if (w.value) {
527
+ let e = c(() => {
528
+ if (!F.value) return;
529
+ let { width: e, height: t } = ae({ 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 + b.additionalMinimapHeight);
531
+ }, 0);
532
+ L.value = new ResizeObserver(e), L.value.observe(F.value);
533
+ }
534
+ }), pe(() => {
535
+ L.value && L.value.disconnect();
536
+ });
537
+ let R = u(() => Math.max(1, b.max - b.min));
538
+ function ln(e) {
539
+ let t = Math.floor(e - b.min);
540
+ return Math.min(Math.max(0, t), R.value);
541
+ }
542
+ function un(e) {
543
+ let t = Math.ceil(e - b.min);
544
+ return Math.min(Math.max(0, t), R.value);
545
+ }
546
+ let z = u(() => ln(S.value)), B = u(() => un(C.value)), dn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), fn = u(() => w.value && b.minimapCompact ? 40 : 0), pn = u(() => fn.value / 2);
547
+ u(() => Math.max(1, I.value.width - pn.value * 2));
548
+ let V = u(() => {
549
+ if (b.minimapCompact && !b.useValueRange) return I.value.width / Math.max(1, R.value - 1);
550
+ let e = Math.max(1, dn.value - +!!b.minimapCompact);
551
+ return I.value.width / e;
552
+ }), mn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), hn = u(() => 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;
555
+ return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
556
+ }
557
+ function _n(e, t) {
558
+ return [0, dn.value - 1].includes(t) ? hn.value / 2 : hn.value;
559
+ }
560
+ let vn = u(() => {
561
+ let e = [];
562
+ if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Wt).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(Wt).filter(Number.isFinite));
563
+ return e.length ? {
564
+ min: Math.min(...e),
565
+ max: Math.max(...e)
566
+ } : {
567
+ min: 0,
568
+ max: 1
569
+ };
570
+ }), yn = u(() => {
571
+ if (b.minScale == null && b.forceZeroCenter) return null;
572
+ let e = Number(b.minScale);
573
+ return Number.isFinite(e) ? e : null;
574
+ }), bn = u(() => {
575
+ if (b.maxScale == null && b.forceZeroCenter) return null;
576
+ let e = Number(b.maxScale);
577
+ return Number.isFinite(e) ? e : null;
578
+ }), xn = u(() => yn.value !== null && bn.value !== null), Sn = u(() => {
579
+ let { min: e, max: t } = vn.value, n = yn.value, r = bn.value, i, a;
580
+ return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
581
+ min: i,
582
+ max: a
583
+ };
584
+ }), Cn = u(() => Sn.value.min), wn = u(() => Sn.value.max), Tn = u(() => Cn.value < 0 && wn.value > 0 || wn.value <= 0 ? Cn.value : 0), En = (e) => {
585
+ let t = Math.max(1, I.value.height);
586
+ return On(Cn.value, wn.value, t, xn.value)(e);
587
+ }, Dn = u(() => En(0));
588
+ function On(e, t, n, r = !1) {
589
+ let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
590
+ if (r) return (t) => n - (t - e) / o * n;
591
+ if (t <= 0) {
592
+ let t = Math.max(a, 0 - e);
593
+ return (r) => n - (r - e) / t * n;
594
+ } else if (e >= 0) {
595
+ let e = Math.max(a, t - 0);
596
+ return (t) => n - (t - 0) / e * n;
597
+ } else {
598
+ let r = Math.max(a, Math.max(Math.abs(e), Math.abs(t)));
599
+ return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
600
+ }
601
+ }
602
+ function kn(t, o = !1, ee = !1) {
603
+ if (!t || !t.length) return {
604
+ fullSet: "",
605
+ points: [],
606
+ selectionSet: "",
607
+ sliced: [],
608
+ firstPlot: null,
609
+ lastPlot: null,
610
+ hasFull: !1,
611
+ hasSelection: !1,
612
+ fullMarkers: [],
613
+ selectionMarkers: [],
614
+ dashed: !1
615
+ };
616
+ let te = Math.max(1, I.value.height), ne = On(Cn.value, wn.value, te, xn.value), re = t.length, s = Math.min(Math.max(0, z.value), Math.max(0, re - 1)), ie = Math.min(re, Math.max(s + 1, B.value)), c = t.map((e, t) => {
617
+ let n = Wt(e), r = Number.isFinite(n), i = Kt(e, t), a = xn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Cn.value, wn.value) : 0, o = ne(a);
618
+ return {
619
+ x: i,
620
+ y: r ? ne(n) : NaN,
621
+ v: n,
622
+ value: r ? n : null,
623
+ y0: o,
624
+ i: t,
625
+ xValue: Gt(e, t)
626
+ };
627
+ }), ae = (e) => e >= 0 && e < c.length && Number.isFinite(c[e]?.value), oe = c.filter((e) => Number.isFinite(e.value) && !ae(e.i - 1) && !ae(e.i + 1)), se = 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
+ return {
629
+ fullSet: c.length >= 2 ? ee ? e(b.cutNullValues ? c : c.filter((e) => e.value != null)) : b.smoothMinimap || o ? b.cutNullValues ? r(c) : i(c.filter((e) => e.value != null)) : b.cutNullValues ? n(c) : a(c.filter((e) => e.value != null)) : "",
630
+ points: c,
631
+ selectionSet: l.length >= 2 ? ee ? e(b.cutNullValues ? l : l.filter((e) => e.value != null)) : b.smoothMinimap || o ? b.cutNullValues ? r(l) : i(l.filter((e) => e.value != null)) : b.cutNullValues ? n(l) : a(l.filter((e) => e.value != null)) : "",
632
+ sliced: l,
633
+ firstPlot: b.useValueRange ? l[0] || null : c[s] || null,
634
+ lastPlot: b.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
635
+ hasFull: c.length >= 2,
636
+ hasSelection: l.length >= 2,
637
+ fullMarkers: oe,
638
+ selectionMarkers: se
639
+ };
640
+ }
641
+ let H = u(() => b.minimap.length ? kn(b.minimap) : []), U = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
642
+ let n = kn(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
643
+ return {
644
+ key: typeof r == "object" ? JSON.stringify(r) : String(r),
645
+ color: e?.color,
646
+ ...n,
647
+ temperatureColors: e?.temperatureColors ?? null,
648
+ isVisible: e.isVisible,
649
+ type: e.type || void 0,
650
+ dashed: e.dashed ?? !1,
651
+ useStepper: !!e.useStepper
652
+ };
653
+ }) : []), W = u(() => {
654
+ if (b.useValueRange) {
655
+ let e = Ht(S.value), t = Ht(C.value);
656
+ return {
657
+ x: e,
658
+ width: Math.max(0, t - e)
659
+ };
660
+ }
661
+ let e = z.value, t = Math.max(e + 1, B.value);
662
+ return {
663
+ x: V.value * e + (b.minimapCompact ? 0 : V.value / 2),
664
+ width: V.value * (t - e) - V.value
665
+ };
666
+ }), G = _(b.minimapSelectedIndex), An = (e) => Math.round(b.min + e), jn = u({
667
+ get() {
668
+ return E.value ? z.value : Number(k.value);
669
+ },
670
+ set(e) {
671
+ if (E.value) {
672
+ if (b.useValueRange) {
673
+ let t = jt(e);
674
+ Wn(Math.min(Math.max(Number(b.min), t), Number(C.value) - O.value));
675
+ return;
676
+ }
677
+ let t = Math.round(+e || 0);
678
+ Wn(An(t));
679
+ } else {
680
+ let t = jt(e), n = Number(C.value) - O.value, r = Math.min(Math.max(b.min, t), n);
681
+ Bn.value && (Bn.value.valueAsNumber = r), Wn(r);
682
+ }
683
+ }
684
+ }), Mn = u({
685
+ get() {
686
+ return E.value ? Math.max(z.value, B.value - 1) : Number(A.value);
687
+ },
688
+ set(e) {
689
+ if (E.value) {
690
+ if (b.useValueRange) {
691
+ let t = jt(e);
692
+ Kn(Math.max(Number(S.value) + O.value, Math.min(t, Number(b.max))));
693
+ return;
694
+ }
695
+ let t = Math.round(+e || 0);
696
+ Kn(An(t + 1));
697
+ } else {
698
+ let t = jt(e), n = Number(S.value) + O.value, r = Math.max(n, Math.min(t, b.max));
699
+ Vn.value && (Vn.value.valueAsNumber = r), Kn(r);
700
+ }
701
+ }
702
+ }), Nn = 0;
703
+ function Pn(e, t) {
704
+ if (t === Nn) {
705
+ if (b.useValueRange) {
706
+ G.value = Number.isFinite(Number(e)) ? Ht(Number(e)) : null;
707
+ return;
708
+ }
709
+ G.value = ln(b.valueStart) + e;
710
+ }
711
+ }
712
+ let Fn = ie(Pn, 60);
713
+ y(() => b.minimapSelectedIndex, (e, t) => {
714
+ if (Nn += 1, [null, void 0].includes(e)) {
715
+ G.value = null;
716
+ return;
717
+ }
718
+ e !== t && Fn(e, Nn);
719
+ }, { immediate: !0 });
720
+ function In(e) {
721
+ if (Rt.value) return;
722
+ G.value = e;
723
+ let t = z.value, n = B.value;
724
+ e >= t && e < n && !X.value && M("trapMouse", e - t);
725
+ }
726
+ function Ln(e) {
727
+ let t = Ut(e), n = b.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
728
+ point: e,
729
+ index: n,
730
+ x: Number(e?.x),
731
+ distance: Math.abs(Number(e?.x) - t)
732
+ }))).filter((e) => Number.isFinite(e.x));
733
+ return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
734
+ }
735
+ function Rn(e) {
736
+ if (!sn.value || Rt.value) return;
737
+ let t = zr(e.clientX);
738
+ if (b.useValueRange) {
739
+ let e = Ln(t);
740
+ if (!e) {
741
+ zn();
742
+ return;
743
+ }
744
+ G.value = Ht(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
745
+ return;
746
+ }
747
+ In(Br(t));
748
+ }
749
+ function zn() {
750
+ G.value = null, !Rt.value && (M("trapMouse", null), M("trapMouseValue", null));
751
+ }
752
+ let Bn = _(null), Vn = _(null);
753
+ function Hn(e) {
754
+ if (typeof e == "object" && e && "target" in e) {
755
+ let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
756
+ return Number.isFinite(n) ? n : NaN;
757
+ }
758
+ let t = +e;
759
+ return Number.isFinite(t) ? t : NaN;
760
+ }
761
+ let Un = 0;
762
+ function Wn(e) {
763
+ T.value = !0;
764
+ let t = Hn(e);
765
+ Number.isFinite(t) && (cancelAnimationFrame(Un), Un = requestAnimationFrame(() => {
766
+ k.value = t;
767
+ }));
768
+ }
769
+ let Gn = 0;
770
+ function Kn(e) {
771
+ T.value = !0;
772
+ let t = Hn(e);
773
+ Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
774
+ A.value = t;
775
+ }));
776
+ }
777
+ pe(() => {
778
+ cancelAnimationFrame(Un), cancelAnimationFrame(Gn);
779
+ });
780
+ let qn = u(() => b.valueEnd - b.valueStart), Jn = u(() => qn.value < b.max - b.min), Yn = _(!1), Xn = _(null), Zn = u(() => (Jt.value - 48) / (b.max - b.min) * qn.value), Qn = u(() => Math.max(1, Jt.value - Ot - Zn.value)), $n = u(() => Math.max(1, b.max - b.min - qn.value)), er = u(() => $n.value / Qn.value), tr = _(0), nr = _(0), rr = _(0), ir = _(0), K = null, q = null, J = null, Y = null, ar = _(b.min);
781
+ function or(e) {
782
+ if (!x.value) return b.min;
783
+ let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
784
+ return Math.round(b.min + a * o);
785
+ }
786
+ let sr = async (e) => {
787
+ if (T.value = !0, Z.value = !0, !b.enableSelectionDrag) return;
788
+ let t = e.type === "touchstart";
789
+ t || e.stopPropagation();
790
+ let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
791
+ 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
+ Yn.value = !0;
793
+ let i = t ? n ? n.clientX : 0 : e.clientX;
794
+ if (Xn.value = i, tr.value = i, b.focusOnDrag && !Jn.value && x.value && !Lt.value) {
795
+ Lt.value = !0;
796
+ try {
797
+ ar.value = or(i);
798
+ let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = ar.value - r;
799
+ a = Math.max(Number(b.min), Math.min(a, Number(b.max) - n));
800
+ let ee = Math.min(Number(b.max), a + n);
801
+ k.value = a, A.value = ee, Yt(a), Xt(ee), o(x.value, "mouseup"), await de(), o(x.value, "mousedown", { clientX: i });
802
+ } finally {
803
+ Lt.value = !1;
804
+ }
805
+ return;
806
+ }
807
+ nr.value = S.value, rr.value = C.value, ir.value = er.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? lr : cr, Y = t ? fr : dr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
808
+ };
809
+ function cr(e) {
810
+ Yn.value && ur(e.clientX);
811
+ }
812
+ function lr(e) {
813
+ if (!Yn.value || !x.value) return;
814
+ let t = e.target;
815
+ if (!(t instanceof Element) || !x.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
816
+ e.preventDefault();
817
+ let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
818
+ n && ur(n.clientX);
819
+ }
820
+ function ur(e) {
821
+ if (!Yn.value) return;
822
+ let t = or(tr.value), n = or(e) - t, r = Math.round(nr.value + n);
823
+ r = Math.max(b.min, Math.min(r, b.max - qn.value));
824
+ let i = r + qn.value;
825
+ k.value = r, A.value = i, Yt(r), Xt(i);
826
+ }
827
+ function dr() {
828
+ pr();
829
+ }
830
+ function fr() {
831
+ pr();
832
+ }
833
+ function pr() {
834
+ Yn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
835
+ }
836
+ let X = _(!1), mr = _(null), hr = _(null), gr = _(1), _r = _(1), Z = _(!1);
837
+ function vr() {
838
+ if (mr.value) {
839
+ let e = Math.round(mr.value.getBoundingClientRect().width);
840
+ e !== gr.value && (gr.value = e);
841
+ }
842
+ }
843
+ function yr() {
844
+ if (hr.value) {
845
+ let e = Math.round(hr.value.getBoundingClientRect().width);
846
+ e !== _r.value && (_r.value = e);
847
+ }
848
+ }
849
+ he(() => {
850
+ vr(), yr();
851
+ });
852
+ let br = _(0);
853
+ function xr(e) {
854
+ br.value = +(e === "start");
855
+ }
856
+ let Sr = _(!1), Cr = _({
857
+ width: 0,
858
+ left: 0
859
+ });
860
+ y([S, C], async () => {
861
+ if (await de(), !mr.value || !hr.value) {
862
+ Sr.value = !1, Cr.value = {
863
+ width: 0,
864
+ left: 0
865
+ };
866
+ return;
867
+ }
868
+ let e = mr.value.getBoundingClientRect(), t = hr.value.getBoundingClientRect();
869
+ Sr.value = e.x + e.width > t.x;
870
+ 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 = {
872
+ width: i,
873
+ left: a - i / 2
874
+ };
875
+ }), he(() => {
876
+ vr(), yr();
877
+ }), y(() => b.labelLeft, () => {
878
+ de(vr);
879
+ }, { deep: !0 }), y(() => b.labelRight, () => {
880
+ de(yr);
881
+ }, { deep: !0 });
882
+ let Q = u(() => {
883
+ let e = "", t = "", n = !1;
884
+ if (re(b.customFormat)) try {
885
+ let r = b.customFormat({
886
+ absoluteIndex: S.value,
887
+ seriesIndex: S.value,
888
+ datapoint: b.selectedSeries,
889
+ timeLabel: b.preciseLabels[S.value],
890
+ side: "left"
891
+ }), i = b.customFormat({
892
+ absoluteIndex: zt.value,
893
+ seriesIndex: -1,
894
+ datapoint: b.selectedSeries,
895
+ timeLabel: b.useValueRange ? null : b.preciseLabels[zt.value],
896
+ side: "right"
897
+ });
898
+ typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
899
+ } catch {
900
+ n = !1;
901
+ }
902
+ if (!n) {
903
+ 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 === zt.value) : b.timeLabels.find((e) => e.absoluteIndex === zt.value);
904
+ e = n ? n.text : "", t = r ? r.text : "";
905
+ }
906
+ return {
907
+ left: e,
908
+ right: t
909
+ };
910
+ });
911
+ pe(() => {
912
+ 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);
913
+ });
914
+ let wr = u(() => {
915
+ if (!sn.value || G.value === null) return null;
916
+ if (b.useValueRange) {
917
+ let e = G.value;
918
+ return e < W.value.x || e > W.value.x + W.value.width ? null : {
919
+ x1: e,
920
+ x2: e,
921
+ y1: 0,
922
+ y2: Math.max(I.value.height, 0),
923
+ stroke: b.minimapIndicatorColor,
924
+ "stroke-linecap": "round",
925
+ "stroke-dasharray": 2,
926
+ "stroke-width": 1
927
+ };
928
+ }
929
+ if (G.value >= z.value && G.value < B.value) {
930
+ let e = G.value, t = V.value * e + (b.minimapCompact ? 0 : V.value / 2);
931
+ return {
932
+ x1: t,
933
+ x2: t,
934
+ y1: 0,
935
+ y2: Math.max(I.value.height, 0),
936
+ stroke: b.minimapIndicatorColor,
937
+ "stroke-linecap": "round",
938
+ "stroke-dasharray": 2,
939
+ "stroke-width": 1
940
+ };
941
+ }
942
+ return null;
943
+ }), Tr = u(() => Number(S.value) < Number(C.value) - 1), Er = u(() => Number(S.value) > Number(b.min)), Dr = u(() => Number(C.value) < Number(b.max)), Or = u(() => Number(C.value) > Number(S.value) + 1);
944
+ function kr(e) {
945
+ let t = Number(S.value) + e;
946
+ e > 0 && !Tr.value || e < 0 && !Er.value || (T.value = !0, k.value = t, j());
947
+ }
948
+ function Ar(e) {
949
+ let t = Number(C.value) + e;
950
+ e > 0 && !Dr.value || e < 0 && !Or.value || (T.value = !0, A.value = t, j());
951
+ }
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),
960
+ canPlus: Dr,
961
+ canMinus: Or
962
+ };
963
+ function Nr(e) {
964
+ if (!e || Pr(e.target)) return;
965
+ let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
966
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (jr.plus(), Mr.plus()) : (jr.minus(), Mr.minus()));
967
+ }
968
+ function Pr(e) {
969
+ return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
970
+ }
971
+ function Fr(e) {
972
+ if (!w.value || !b.minimapCompact) return;
973
+ let t = x.value;
974
+ if (!t) return;
975
+ let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
976
+ r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
977
+ }
978
+ function Ir(e, t) {
979
+ if (!t || Pr(t.target)) return;
980
+ let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
981
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? jr.plus() : jr.minus() : i ? Mr.plus() : Mr.minus(), de(() => Fr(e)));
982
+ }
983
+ let Lr = u(() => ({
984
+ tabindex: 0,
985
+ role: "slider",
986
+ "aria-label": "Range start",
987
+ "aria-valuemin": Number(b.min),
988
+ "aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
989
+ "aria-valuenow": Number(S.value)
990
+ })), Rr = u(() => ({
991
+ tabindex: 0,
992
+ role: "slider",
993
+ "aria-label": "Range end",
994
+ "aria-valuemin": Math.min(Number(b.max), Number(S.value) + 1),
995
+ "aria-valuemax": Number(b.max),
996
+ "aria-valuenow": Number(C.value)
997
+ }));
998
+ function zr(e) {
999
+ if (!It.value) return 0;
1000
+ let t = It.value.getBoundingClientRect();
1001
+ if (!t.width) return 0;
1002
+ let n = (e - t.left) / t.width;
1003
+ return Math.min(1, Math.max(0, n)) * I.value.width;
1004
+ }
1005
+ function Br(e) {
1006
+ let t = Math.max(0, R.value - 1), n = Math.max(1, I.value.width), r = Math.min(1, Math.max(0, e / n));
1007
+ return Math.min(t, Math.max(0, Math.round(r * t)));
1008
+ }
1009
+ function Vr(e) {
1010
+ let t = Math.min(Math.max(0, e), Math.max(1, I.value.width));
1011
+ if (b.useValueRange) {
1012
+ let e = Ut(t);
1013
+ if (D.value === "start") {
1014
+ let t = Math.min(e, Number(C.value) - O.value);
1015
+ k.value = t, Yt(t);
1016
+ return;
1017
+ }
1018
+ if (D.value === "end") {
1019
+ let t = Math.max(Number(S.value) + O.value, e), n = Math.min(Number(b.max), t);
1020
+ A.value = n, Xt(n);
1021
+ return;
1022
+ }
1023
+ }
1024
+ let n = Br(t);
1025
+ if (D.value === "start") {
1026
+ let e = Math.min(b.min + n, Number(C.value) - 1);
1027
+ k.value = e, Yt(e);
1028
+ return;
1029
+ }
1030
+ if (D.value === "end") {
1031
+ let e = Math.max(Number(S.value) + 1, b.min + n + 1), t = Math.min(b.max, e);
1032
+ A.value = t, Xt(t);
1033
+ }
1034
+ }
1035
+ function Hr(e) {
1036
+ if (!D.value || !F.value) return;
1037
+ let t = e.clientX - Pt.value;
1038
+ if (!Nt.value) {
1039
+ if (Math.abs(t) < 4) return;
1040
+ Nt.value = !0, T.value = !0, Z.value = !0;
1041
+ }
1042
+ let n = zr(e.clientX) - Ft.value;
1043
+ Vr(D.value === "start" ? n + qt.value : n);
1044
+ }
1045
+ function Ur() {
1046
+ if (!D.value) return;
1047
+ window.removeEventListener("mousemove", Hr, !0), window.removeEventListener("mouseup", Ur, !0);
1048
+ let e = Nt.value;
1049
+ D.value = null, Nt.value = !1, Pt.value = 0, Ft.value = 0, e && j();
1050
+ }
1051
+ function Wr(e, t) {
1052
+ if (!w.value || !b.minimapCompact || !F.value) return;
1053
+ t.preventDefault(), t.stopPropagation(), G.value = null;
1054
+ let n = zr(t.clientX), r = e === "start" ? W.value.x - qt.value : W.value.x + W.value.width;
1055
+ D.value = e, Nt.value = !1, Pt.value = t.clientX, Ft.value = n - r, window.addEventListener("mousemove", Hr, !0), window.addEventListener("mouseup", Ur, !0);
1056
+ }
1057
+ let Gr = u(() => z.value), Kr = u(() => Math.max(z.value, B.value - 1));
1058
+ u(() => {
1059
+ if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
1060
+ let e = Gr.value, t = Kr.value;
1061
+ return U.value.flatMap((n) => {
1062
+ if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1063
+ let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
1064
+ return i && r.push({
1065
+ key: `${n.key}-left-${i.i}`,
1066
+ x: i.x,
1067
+ y: i.y,
1068
+ color: n.color
1069
+ }), a && t !== e && r.push({
1070
+ key: `${n.key}-right-${a.i}`,
1071
+ x: a.x,
1072
+ y: a.y,
1073
+ color: n.color
1074
+ }), r;
1075
+ });
1076
+ });
1077
+ let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), qr = u(() => W.value.x - $.value), Jr = u(() => W.value.x + W.value.width);
1078
+ return kt({
1079
+ setStartValue: Wn,
1080
+ setEndValue: Kn
1081
+ }), (e, t) => (g(), f("div", {
1082
+ "data-minimap": w.value,
1083
+ "data-dom-to-png-ignore": "",
1084
+ "data-dom-to-png-ignore-layout": "",
1085
+ style: h([{ padding: "0 48px" }, {
1086
+ maxWidth: s.maxWidth ? s.maxWidth + "px" : void 0,
1087
+ margin: s.maxWidth ? "0 auto" : void 0
1088
+ }]),
1089
+ class: "vue-data-ui-zoom",
1090
+ ref_key: "zoomWrapper",
1091
+ ref: x,
1092
+ onMousedown: sr,
1093
+ onTouchstart: sr
1094
+ }, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Zt.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: cn }, () => [p("button", {
1095
+ tabindex: "0",
1096
+ role: "button",
1097
+ class: "vue-data-ui-refresh-button",
1098
+ style: h({
1099
+ top: w.value ? "36px" : "-16px",
1100
+ cursor: s.isCursorPointer ? "pointer" : "default"
1101
+ }),
1102
+ onClick: cn
1103
+ }, [ce(oe, {
1104
+ name: "refresh",
1105
+ stroke: s.textColor
1106
+ }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
1107
+ class: "double-range-slider",
1108
+ ref_key: "minimapWrapper",
1109
+ ref: F,
1110
+ style: h([{ "z-index": "0" }, w.value ? {
1111
+ "--minimap-unit-px": V.value + "px",
1112
+ "--minimap-offset-px": (s.minimapCompact ? 0 : V.value / 2) + "px"
1113
+ } : void 0]),
1114
+ onMouseenter: t[18] ||= (e) => Z.value = !0,
1115
+ onMouseleave: t[19] ||= (e) => Z.value = !1
1116
+ }, [
1117
+ w.value ? (g(), f("div", De, [(g(), f("svg", {
1118
+ ref_key: "minimapSvg",
1119
+ ref: It,
1120
+ key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1121
+ xmlns: ve(ne),
1122
+ viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
1123
+ preserveAspectRatio: "none"
1124
+ }, [
1125
+ p("defs", null, [ce(se, {
1126
+ t: "linear",
1127
+ id: Mt.value,
1128
+ x1: "0%",
1129
+ y1: "0%",
1130
+ x2: "0%",
1131
+ y2: "100%",
1132
+ stops: [[
1133
+ "0%",
1134
+ s.minimapLineColor,
1135
+ .31
1136
+ ], [
1137
+ "100%",
1138
+ "transparent",
1139
+ 0
1140
+ ]]
1141
+ }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Mt.value}` }, [p("rect", {
1142
+ x: W.value.x,
1143
+ y: "0",
1144
+ width: Math.max(0, W.value.width),
1145
+ height: Math.max(I.value.height, 0)
1146
+ }, null, 8, Ae)], 8, ke)]),
1147
+ s.minimapCompact ? (g(), f("rect", {
1148
+ key: 0,
1149
+ class: "vue-ui-zoom-minimap-frame",
1150
+ x: 0,
1151
+ y: 0,
1152
+ width: I.value.width,
1153
+ height: I.value.height,
1154
+ fill: "none",
1155
+ stroke: s.minimapFrameColor,
1156
+ rx: 3
1157
+ }, null, 8, je)) : d("", !0),
1158
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1159
+ key: 0,
1160
+ d: `M${H.value.fullSet}`,
1161
+ stroke: `${s.minimapLineColor}`,
1162
+ fill: "none",
1163
+ "stroke-width": "1",
1164
+ "stroke-linecap": "round",
1165
+ "stroke-linejoin": "round",
1166
+ style: { opacity: "0.6" }
1167
+ }, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1168
+ key: 1,
1169
+ 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`,
1170
+ fill: `url(#${Mt.value})`,
1171
+ stroke: "none",
1172
+ style: { opacity: "0.6" }
1173
+ }, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1174
+ (g(!0), f(l, null, v(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", {
1175
+ key: 0,
1176
+ x: gn(n.x, t, r),
1177
+ y: n.v >= 0 ? n.y : n.y0,
1178
+ width: _n(t, r),
1179
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1180
+ fill: e.color,
1181
+ style: { opacity: .6 }
1182
+ }, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
1183
+ (g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1184
+ key: 0,
1185
+ d: `M ${e.fullSet}`,
1186
+ fill: "none",
1187
+ stroke: e.color,
1188
+ style: { opacity: "0.6" },
1189
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1190
+ }, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1191
+ key: `sel-dot-under-${e.key}-${t.i}`,
1192
+ cx: t.x,
1193
+ cy: t.y,
1194
+ r: "2",
1195
+ fill: e.color,
1196
+ stroke: P.value,
1197
+ "stroke-width": "0.5",
1198
+ style: { opacity: "0.6" }
1199
+ }, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
1200
+ (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", {
1201
+ key: `sel-plot-under-${e.key}-${t.i}`,
1202
+ cx: t.x,
1203
+ cy: t.y,
1204
+ r: "2",
1205
+ fill: e.color,
1206
+ stroke: P.value,
1207
+ "stroke-width": "0.5",
1208
+ style: { opacity: "0.6" }
1209
+ }, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
1210
+ ], 64))], 64)),
1211
+ p("rect", {
1212
+ x: W.value.x,
1213
+ y: 0,
1214
+ width: Math.max(0, W.value.width),
1215
+ height: Math.max(I.value.height, 0),
1216
+ fill: P.value,
1217
+ rx: s.minimapSelectionRadius,
1218
+ stroke: "none"
1219
+ }, null, 8, Re),
1220
+ p("rect", {
1221
+ x: W.value.x,
1222
+ y: 0,
1223
+ width: W.value.width < 0 ? 0 : W.value.width,
1224
+ height: Math.max(I.value.height, 0),
1225
+ rx: s.minimapSelectionRadius,
1226
+ fill: P.value,
1227
+ style: h({ opacity: Yn.value || T.value ? 0 : 1 })
1228
+ }, null, 12, ze),
1229
+ p("rect", {
1230
+ x: W.value.x,
1231
+ y: 0,
1232
+ width: W.value.width < 0 ? 0 : W.value.width,
1233
+ height: Math.max(I.value.height, 0),
1234
+ fill: s.minimapSelectedColor,
1235
+ rx: s.minimapSelectionRadius,
1236
+ style: h({ opacity: s.minimapSelectedColorOpacity }),
1237
+ tabindex: "0",
1238
+ role: "slider",
1239
+ "aria-label": "Selected range",
1240
+ "aria-valuemin": Number(b.min),
1241
+ "aria-valuemax": Number(b.max),
1242
+ "aria-valuenow": Number(S.value),
1243
+ "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1244
+ onKeydown: Nr
1245
+ }, null, 44, Be),
1246
+ !s.minimapMerged && Tn.value < 0 ? (g(), f("line", {
1247
+ key: 2,
1248
+ class: "slicer-minimap-zero-line",
1249
+ x1: 0,
1250
+ x2: I.value.width,
1251
+ y1: Dn.value,
1252
+ y2: Dn.value,
1253
+ stroke: s.minimapFrameColor,
1254
+ "stroke-width": "0.5"
1255
+ }, null, 8, Ve)) : d("", !0),
1256
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
1257
+ H.value && H.value.sliced && H.value.sliced.length ? (g(), f(l, { key: 0 }, [H.value.selectionSet ? (g(), f("path", {
1258
+ key: 0,
1259
+ d: `M ${H.value.selectionSet}`,
1260
+ stroke: `${s.minimapLineColor}`,
1261
+ fill: "transparent",
1262
+ "stroke-width": "2",
1263
+ "stroke-linecap": "round",
1264
+ "stroke-linejoin": "round"
1265
+ }, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
1266
+ H.value && H.value.firstPlot ? (g(), f("circle", {
1267
+ key: 1,
1268
+ cx: H.value.firstPlot.x,
1269
+ cy: H.value.firstPlot.y,
1270
+ "stroke-width": "0.5",
1271
+ stroke: P.value,
1272
+ r: "3",
1273
+ fill: s.minimapLineColor
1274
+ }, null, 8, We)) : d("", !0),
1275
+ H.value && H.value.lastPlot ? (g(), f("circle", {
1276
+ key: 2,
1277
+ cx: H.value.lastPlot.x,
1278
+ cy: H.value.lastPlot.y,
1279
+ "stroke-width": "0.5",
1280
+ stroke: P.value,
1281
+ r: "3",
1282
+ fill: s.minimapLineColor
1283
+ }, null, 8, Ge)) : d("", !0)
1284
+ ])) : (g(), f("g", Ke, [
1285
+ (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", {
1286
+ key: 0,
1287
+ x: gn(n.x, t, r),
1288
+ y: n.v >= 0 ? n.y : n.y0,
1289
+ width: _n(t, r),
1290
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1291
+ fill: e.color,
1292
+ style: h({ opacity: +(r >= k.value && r < A.value) })
1293
+ }, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
1294
+ (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", {
1295
+ key: 0,
1296
+ d: `M ${e.selectionSet}`,
1297
+ stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1298
+ fill: "transparent",
1299
+ "stroke-width": "2",
1300
+ "stroke-linecap": "round",
1301
+ "stroke-linejoin": "round",
1302
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1303
+ }, null, 8, Je)) : d("", !0)]))), 128)),
1304
+ (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", {
1305
+ key: 0,
1306
+ cx: t.x,
1307
+ cy: t.y,
1308
+ r: "2",
1309
+ fill: e.color,
1310
+ stroke: P.value,
1311
+ "stroke-width": "0.5",
1312
+ style: { opacity: "0.6" }
1313
+ }, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
1314
+ ]))], 64)),
1315
+ e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
1316
+ width: Math.max(0, I.value.width),
1317
+ height: Math.max(0, I.value.height),
1318
+ zeroY: Dn.value,
1319
+ unitW: Math.max(0, V.value)
1320
+ })), void 0, !0, 4) : d("", !0),
1321
+ G.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, wr.value)), null, 16)) : d("", !0),
1322
+ p("rect", {
1323
+ x: 0,
1324
+ y: 0,
1325
+ width: Math.max(0, I.value.width),
1326
+ height: Math.max(0, I.value.height),
1327
+ fill: "transparent",
1328
+ style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1329
+ onMousedown: t[0] ||= (e) => X.value = !0,
1330
+ onMouseup: t[1] ||= (e) => X.value = !1,
1331
+ onMousemove: Rn,
1332
+ onMouseleave: zn
1333
+ }, null, 44, Xe),
1334
+ w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1335
+ p("rect", {
1336
+ class: "vue-ui-zoom-compact-minimap-handle",
1337
+ x: qr.value,
1338
+ y: 0,
1339
+ width: $.value,
1340
+ height: I.value.height,
1341
+ fill: s.handleFill || P.value,
1342
+ stroke: s.handleBorderColor || s.textColor,
1343
+ "stroke-width": s.handleBorderWidth,
1344
+ rx: 3
1345
+ }, null, 8, Ze),
1346
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1347
+ key: 0,
1348
+ class: "compact-handle-icon",
1349
+ transform: `translate(${qr.value}, 0)`,
1350
+ style: { "pointer-events": "none" }
1351
+ }, [(g(), f("svg", {
1352
+ width: $.value,
1353
+ height: I.value.height,
1354
+ viewBox: "0 0 20 20",
1355
+ preserveAspectRatio: "xMidYMid meet"
1356
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1357
+ key: 0,
1358
+ d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1359
+ fill: P.value,
1360
+ stroke: s.handleIconColor || s.textColor,
1361
+ "stroke-width": .618,
1362
+ "stroke-linejoin": "round",
1363
+ "stroke-linecap": "round"
1364
+ }, null, 8, et)) : s.handleType === "chevron" ? (g(), f("path", {
1365
+ key: 1,
1366
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1367
+ fill: "none",
1368
+ stroke: s.handleIconColor || s.textColor,
1369
+ "stroke-width": .618,
1370
+ "stroke-linejoin": "round",
1371
+ "stroke-linecap": "round"
1372
+ }, null, 8, tt)) : s.handleType === "grab" ? (g(), f("path", {
1373
+ key: 2,
1374
+ d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1375
+ fill: s.handleIconColor || s.textColor,
1376
+ stroke: "none",
1377
+ opacity: "0.6"
1378
+ }, null, 8, nt)) : d("", !0)], 8, $e))], 8, Qe)) : d("", !0),
1379
+ p("rect", {
1380
+ class: "vue-ui-zoom-compact-minimap-handle",
1381
+ x: Jr.value,
1382
+ y: 0,
1383
+ width: $.value,
1384
+ height: I.value.height,
1385
+ fill: s.handleFill || P.value,
1386
+ stroke: s.handleBorderColor || s.textColor,
1387
+ "stroke-width": s.handleBorderWidth,
1388
+ rx: 3
1389
+ }, null, 8, rt),
1390
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1391
+ key: 1,
1392
+ class: "compact-handle-icon",
1393
+ transform: `translate(${Jr.value}, 0)`,
1394
+ style: { "pointer-events": "none" }
1395
+ }, [(g(), f("svg", {
1396
+ width: $.value,
1397
+ height: I.value.height,
1398
+ viewBox: "0 0 20 20",
1399
+ preserveAspectRatio: "xMidYMid meet"
1400
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1401
+ key: 0,
1402
+ d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
1403
+ fill: P.value,
1404
+ stroke: s.handleIconColor || s.textColor,
1405
+ "stroke-width": .618,
1406
+ "stroke-linejoin": "round",
1407
+ "stroke-linecap": "round"
1408
+ }, null, 8, ot)) : s.handleType === "chevron" ? (g(), f("path", {
1409
+ key: 1,
1410
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1411
+ fill: "none",
1412
+ stroke: s.handleIconColor || s.textColor,
1413
+ "stroke-width": .618,
1414
+ "stroke-linejoin": "round",
1415
+ "stroke-linecap": "round"
1416
+ }, null, 8, st)) : s.handleType === "grab" ? (g(), f("path", {
1417
+ key: 2,
1418
+ d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
1419
+ fill: s.handleIconColor || s.textColor,
1420
+ stroke: "none",
1421
+ opacity: "0.6"
1422
+ }, null, 8, ct)) : d("", !0)], 8, at))], 8, it)) : d("", !0)
1423
+ ], 64)) : d("", !0),
1424
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", lt, [
1425
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
1426
+ key: 0,
1427
+ cx: H.value.firstPlot.x,
1428
+ cy: H.value.firstPlot.y,
1429
+ "stroke-width": "0.5",
1430
+ stroke: P.value,
1431
+ r: "4",
1432
+ fill: s.minimapLineColor
1433
+ }, null, 8, ut)) : d("", !0),
1434
+ H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (g(), f("circle", {
1435
+ key: 1,
1436
+ cx: H.value.firstPlot.x,
1437
+ cy: H.value.firstPlot.y,
1438
+ r: 2,
1439
+ fill: P.value
1440
+ }, null, 8, dt)) : d("", !0),
1441
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
1442
+ key: 2,
1443
+ cx: H.value.lastPlot.x,
1444
+ cy: H.value.lastPlot.y,
1445
+ "stroke-width": "0.5",
1446
+ stroke: P.value,
1447
+ r: "4",
1448
+ fill: s.minimapLineColor
1449
+ }, null, 8, ft)) : d("", !0),
1450
+ H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (g(), f("circle", {
1451
+ key: 3,
1452
+ cx: H.value.lastPlot.x,
1453
+ cy: H.value.lastPlot.y,
1454
+ r: "2",
1455
+ fill: P.value
1456
+ }, null, 8, pt)) : d("", !0)
1457
+ ])) : (g(), f("g", mt, [(g(!0), f(l, null, v(U.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1458
+ e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1459
+ key: 0,
1460
+ d: `M ${e.selectionSet}`,
1461
+ stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1462
+ fill: "transparent",
1463
+ "stroke-width": "2",
1464
+ "stroke-linecap": "round",
1465
+ "stroke-linejoin": "round",
1466
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1467
+ }, null, 8, ht)) : d("", !0),
1468
+ e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1469
+ key: `sel-dot-${e.key}-${t.i}`,
1470
+ cx: t.x,
1471
+ cy: t.y,
1472
+ r: "2.5",
1473
+ fill: e.color,
1474
+ stroke: P.value,
1475
+ "stroke-width": "0.5"
1476
+ }, null, 8, gt))), 128)) : d("", !0),
1477
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1478
+ key: 2,
1479
+ cx: e.firstPlot.x,
1480
+ cy: e.firstPlot.y,
1481
+ "stroke-width": "0.5",
1482
+ stroke: P.value,
1483
+ r: "4",
1484
+ fill: e.color
1485
+ }, null, 8, _t)) : d("", !0),
1486
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1487
+ key: 3,
1488
+ cx: e.firstPlot.x,
1489
+ cy: e.firstPlot.y,
1490
+ r: "2",
1491
+ fill: P.value
1492
+ }, null, 8, vt)) : d("", !0),
1493
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1494
+ key: 4,
1495
+ cx: e.lastPlot.x,
1496
+ cy: e.lastPlot.y,
1497
+ "stroke-width": "0.5",
1498
+ stroke: P.value,
1499
+ r: "4",
1500
+ fill: e.color
1501
+ }, null, 8, yt)) : d("", !0),
1502
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1503
+ key: 5,
1504
+ cx: e.lastPlot.x,
1505
+ cy: e.lastPlot.y,
1506
+ r: "2",
1507
+ fill: P.value
1508
+ }, null, 8, bt)) : d("", !0)
1509
+ ]))), 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", {
1510
+ key: `sel-plot-${e.key}-${t.i}`,
1511
+ cx: t.x,
1512
+ cy: t.y,
1513
+ r: "2.5",
1514
+ fill: e.color,
1515
+ stroke: P.value,
1516
+ "stroke-width": "0.5"
1517
+ }, null, 8, xt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1518
+ ], 8, Oe))])) : d("", !0),
1519
+ p("div", {
1520
+ class: "slider-track",
1521
+ style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
1522
+ }, null, 4),
1523
+ p("div", {
1524
+ class: m({
1525
+ "range-highlight": !0,
1526
+ move: s.enableSelectionDrag
1527
+ }),
1528
+ onMousedown: t[2] ||= (e) => X.value = !0,
1529
+ onMouseup: t[3] ||= (e) => X.value = !1,
1530
+ style: h({
1531
+ ...N.value,
1532
+ cursor: X.value ? "grabbing" : "grab",
1533
+ visibility: w.value && s.minimapCompact ? "hidden" : "visible"
1534
+ })
1535
+ }, null, 38),
1536
+ s.enableRangeHandles ? xe((g(), f("input", {
1537
+ key: 1,
1538
+ "aria-label": "range-handle-left",
1539
+ ref_key: "rangeStart",
1540
+ ref: Bn,
1541
+ type: "range",
1542
+ step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1543
+ class: m({
1544
+ "range-left": !0,
1545
+ "range-handle": !0,
1546
+ "range-minimap": w.value && s.verticalHandles,
1547
+ "range-invisible": w.value && s.minimapCompact
1548
+ }),
1549
+ min: s.min,
1550
+ max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1551
+ tabindex: w.value ? -1 : 0,
1552
+ "onUpdate:modelValue": t[4] ||= (e) => jn.value = e,
1553
+ onFocus: t[5] ||= (e) => w.value && e.target.blur(),
1554
+ onInput: t[6] ||= (e) => jn.value = e.target.valueAsNumber,
1555
+ onChange: j,
1556
+ onKeyup: Se(j, ["enter"]),
1557
+ onBlur: j,
1558
+ onMouseenter: t[7] ||= (e) => xr("start"),
1559
+ onPointerup: j
1560
+ }, null, 42, St)), [[
1561
+ be,
1562
+ jn.value,
1563
+ void 0,
1564
+ { number: !0 }
1565
+ ]]) : d("", !0),
1566
+ s.enableRangeHandles ? xe((g(), f("input", {
1567
+ key: 2,
1568
+ "aria-label": "range-handle-right",
1569
+ ref_key: "rangeEnd",
1570
+ ref: Vn,
1571
+ type: "range",
1572
+ step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1573
+ class: m({
1574
+ "range-right": !0,
1575
+ "range-handle": !0,
1576
+ "range-minimap": w.value && s.verticalHandles,
1577
+ "range-invisible": w.value && s.minimapCompact
1578
+ }),
1579
+ min: s.min,
1580
+ max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
1581
+ tabindex: w.value ? -1 : 0,
1582
+ onFocus: t[8] ||= (e) => w.value && e.target.blur(),
1583
+ "onUpdate:modelValue": t[9] ||= (e) => Mn.value = e,
1584
+ onInput: t[10] ||= (e) => Mn.value = e.target.valueAsNumber,
1585
+ onChange: j,
1586
+ onKeyup: Se(j, ["enter"]),
1587
+ onBlur: j,
1588
+ onMouseenter: t[11] ||= (e) => xr("end"),
1589
+ onPointerup: j
1590
+ }, null, 42, Ct)), [[
1591
+ be,
1592
+ Mn.value,
1593
+ void 0,
1594
+ { number: !0 }
1595
+ ]]) : d("", !0),
1596
+ w.value && s.minimapCompact ? (g(), f("div", wt, [(g(), f("svg", {
1597
+ xmlns: ve(ne),
1598
+ viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
1599
+ }, [p("rect", ue({
1600
+ class: "vue-ui-zoom-compact-minimap-handle",
1601
+ x: qr.value,
1602
+ y: 0,
1603
+ width: $.value,
1604
+ height: I.value.height,
1605
+ fill: "transparent",
1606
+ stroke: "none"
1607
+ }, Lr.value, {
1608
+ onKeydown: t[12] ||= (e) => Ir("start", e),
1609
+ onMousedown: t[13] ||= Ce((e) => Wr("start", e), ["stop", "prevent"]),
1610
+ onClick: t[14] ||= Ce(() => {}, ["stop", "prevent"])
1611
+ }), null, 16, Et), p("rect", ue({
1612
+ class: "vue-ui-zoom-compact-minimap-handle",
1613
+ x: Jr.value,
1614
+ y: 0,
1615
+ width: $.value,
1616
+ height: I.value.height,
1617
+ fill: "transparent",
1618
+ stroke: "none",
1619
+ rx: 3
1620
+ }, Rr.value, {
1621
+ onKeydown: t[15] ||= (e) => Ir("end", e),
1622
+ onMousedown: t[16] ||= Ce((e) => Wr("end", e), ["stop", "prevent"]),
1623
+ onClick: t[17] ||= Ce(() => {}, ["stop", "prevent"])
1624
+ }), null, 16, Dt)], 8, Tt))])) : d("", !0),
1625
+ Q.value.left ? (g(), f("div", {
1626
+ key: 4,
1627
+ ref_key: "tooltipLeft",
1628
+ ref: mr,
1629
+ class: m({
1630
+ "range-tooltip": !0,
1631
+ "range-tooltip-visible": Z.value,
1632
+ "range-tooltip-arrow": N.value.arrowLeft && !s.verticalHandles,
1633
+ "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles
1634
+ }),
1635
+ style: h({
1636
+ left: N.value.tooltipLeft,
1637
+ color: ve(te)(s.selectColor),
1638
+ backgroundColor: s.selectColor,
1639
+ border: `1px solid ${P.value}`,
1640
+ zIndex: `${br.value + 4}`,
1641
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1642
+ top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1643
+ })
1644
+ }, _e(Q.value.left), 7)) : d("", !0),
1645
+ (Sr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1646
+ key: 5,
1647
+ ref: "tooltipMerge",
1648
+ class: m({
1649
+ "range-tooltip": !0,
1650
+ "range-tooltip-visible": Z.value,
1651
+ "range-tooltip-arrow": !0,
1652
+ "range-tooltip-arrow-left": !N.value.arrowLeft && !s.verticalHandles,
1653
+ "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1654
+ }),
1655
+ style: h({
1656
+ left: N.value.tooltipCenter,
1657
+ width: Cr.value.width + "px",
1658
+ color: ve(te)(s.selectColor),
1659
+ backgroundColor: s.selectColor,
1660
+ border: `1px solid ${P.value}`,
1661
+ zIndex: "4",
1662
+ top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1663
+ })
1664
+ }, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1665
+ Q.value.right ? (g(), f("div", {
1666
+ key: 6,
1667
+ ref_key: "tooltipRight",
1668
+ ref: hr,
1669
+ class: m({
1670
+ "range-tooltip": !0,
1671
+ "range-tooltip-visible": Z.value,
1672
+ "range-tooltip-arrow": N.value.arrowRight && !s.verticalHandles,
1673
+ "range-tooltip-arrow-right": !N.value.arrowRight && !s.verticalHandles
1674
+ }),
1675
+ style: h({
1676
+ left: N.value.tooltipRight,
1677
+ color: ve(te)(s.selectColor),
1678
+ backgroundColor: s.selectColor,
1679
+ border: `1px solid ${P.value}`,
1680
+ zIndex: "4",
1681
+ visibility: Sr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1682
+ top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1683
+ })
1684
+ }, _e(Q.value.right), 7)) : d("", !0)
1685
+ ], 36)], 44, we));
1686
+ }
1687
+ }, [["__scopeId", "data-v-86199147"]]);
1688
+ //#endregion
1689
+ export { kt as t };