vue-data-ui 3.23.0 → 3.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (206) hide show
  1. package/dist/{Arrow-o2qHNvrC.js → Arrow-CF0VFcBH.js} +1 -1
  2. package/dist/{BaseDraggableDialog-qTnfhLBz.js → BaseDraggableDialog-LoqqwRtV.js} +2 -2
  3. package/dist/{BaseIcon-91MZoczJ.js → BaseIcon-BfndwIWE.js} +1 -1
  4. package/dist/{BaseLegendToggle-CtAPwzr2.js → BaseLegendToggle-DZVucLnv.js} +1 -1
  5. package/dist/{BaseZoomControls-rdzlicuz.js → BaseZoomControls-BZvCnZEi.js} +2 -2
  6. package/dist/{ColorPicker-CIAkdPrj.js → ColorPicker--ayG2YHf.js} +2 -2
  7. package/dist/{DataTable-D4tM9s5Y.js → DataTable-BbKgJ5UI.js} +2 -2
  8. package/dist/{HillActions-BWhxHlrj.js → HillActions-BD9j_sOU.js} +1 -1
  9. package/dist/{Legend-CQTRlzK-.js → Legend-CQxUgOd-.js} +2 -2
  10. package/dist/{NonSvgPenAndPaper-Cawacw1W.js → NonSvgPenAndPaper-4ypecDg1.js} +6 -6
  11. package/dist/{PackageVersion--QCMh5k_.js → PackageVersion-DXU7nRr9.js} +1 -1
  12. package/dist/{PenAndPaper-cE4J8-rA.js → PenAndPaper-DAE-tnEQ.js} +6 -6
  13. package/dist/{Shape-BPMV94Ij.js → Shape-C21CMlWS.js} +1 -1
  14. package/dist/SlicerPreview-wUw1hFwe.js +1703 -0
  15. package/dist/{SparkTooltip-BaYtEKS6.js → SparkTooltip-CjsbIhzi.js} +1 -1
  16. package/dist/{Title-BODtwViI.js → Title-BE3qg9xl.js} +1 -1
  17. package/dist/{Tooltip-CMTGxeYO.js → Tooltip-DhjyfHwz.js} +2 -2
  18. package/dist/{UserOptions-3ujTo3LD.js → UserOptions-Dt98of5H.js} +2 -2
  19. package/dist/components/arrow.js +1 -1
  20. package/dist/components/vue-ui-3d-bar.js +1 -1
  21. package/dist/components/vue-ui-accordion.js +1 -1
  22. package/dist/components/vue-ui-age-pyramid.js +1 -1
  23. package/dist/components/vue-ui-annotator.js +1 -1
  24. package/dist/components/vue-ui-bullet.js +1 -1
  25. package/dist/components/vue-ui-bump.js +1 -1
  26. package/dist/components/vue-ui-candlestick.js +1 -1
  27. package/dist/components/vue-ui-carousel-table.js +1 -1
  28. package/dist/components/vue-ui-chestnut.js +1 -1
  29. package/dist/components/vue-ui-chord.js +1 -1
  30. package/dist/components/vue-ui-circle-pack.js +1 -1
  31. package/dist/components/vue-ui-cursor.js +1 -1
  32. package/dist/components/vue-ui-dag.js +1 -1
  33. package/dist/components/vue-ui-dashboard.js +1 -1
  34. package/dist/components/vue-ui-digits.js +1 -1
  35. package/dist/components/vue-ui-donut-evolution.js +1 -1
  36. package/dist/components/vue-ui-donut.js +1 -1
  37. package/dist/components/vue-ui-dumbbell.js +1 -1
  38. package/dist/components/vue-ui-flow.js +1 -1
  39. package/dist/components/vue-ui-funnel.js +1 -1
  40. package/dist/components/vue-ui-galaxy.js +1 -1
  41. package/dist/components/vue-ui-gauge.js +1 -1
  42. package/dist/components/vue-ui-geo.js +1 -1
  43. package/dist/components/vue-ui-gizmo.js +1 -1
  44. package/dist/components/vue-ui-heatmap.js +1 -1
  45. package/dist/components/vue-ui-hill.js +1 -1
  46. package/dist/components/vue-ui-history-plot.js +1 -1
  47. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  48. package/dist/components/vue-ui-icon.js +1 -1
  49. package/dist/components/vue-ui-kpi.js +1 -1
  50. package/dist/components/vue-ui-mini-loader.js +1 -1
  51. package/dist/components/vue-ui-molecule.js +1 -1
  52. package/dist/components/vue-ui-mood-radar.js +1 -1
  53. package/dist/components/vue-ui-nested-donuts.js +1 -1
  54. package/dist/components/vue-ui-onion.js +1 -1
  55. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  56. package/dist/components/vue-ui-quadrant.js +1 -1
  57. package/dist/components/vue-ui-quick-chart.js +1 -1
  58. package/dist/components/vue-ui-radar.js +1 -1
  59. package/dist/components/vue-ui-rating.js +1 -1
  60. package/dist/components/vue-ui-relation-circle.js +1 -1
  61. package/dist/components/vue-ui-ridgeline.js +1 -1
  62. package/dist/components/vue-ui-rings.js +1 -1
  63. package/dist/components/vue-ui-scatter.js +1 -1
  64. package/dist/components/vue-ui-skeleton.js +1 -1
  65. package/dist/components/vue-ui-smiley.js +1 -1
  66. package/dist/components/vue-ui-spark-trend.js +1 -1
  67. package/dist/components/vue-ui-sparkbar.js +1 -1
  68. package/dist/components/vue-ui-sparkgauge.js +1 -1
  69. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  70. package/dist/components/vue-ui-sparkline.js +1 -1
  71. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  72. package/dist/components/vue-ui-stackbar.js +1 -1
  73. package/dist/components/vue-ui-stackline.js +1 -1
  74. package/dist/components/vue-ui-strip-plot.js +1 -1
  75. package/dist/components/vue-ui-table-heatmap.js +1 -1
  76. package/dist/components/vue-ui-table-sparkline.js +1 -1
  77. package/dist/components/vue-ui-table.js +1 -1
  78. package/dist/components/vue-ui-thermometer.js +1 -1
  79. package/dist/components/vue-ui-timer.js +1 -1
  80. package/dist/components/vue-ui-tiremarks.js +1 -1
  81. package/dist/components/vue-ui-treemap.js +1 -1
  82. package/dist/components/vue-ui-vertical-bar.js +1 -1
  83. package/dist/components/vue-ui-waffle.js +1 -1
  84. package/dist/components/vue-ui-wheel.js +1 -1
  85. package/dist/components/vue-ui-word-cloud.js +1 -1
  86. package/dist/components/vue-ui-world.js +1 -1
  87. package/dist/components/vue-ui-xy-canvas.js +1 -1
  88. package/dist/components/vue-ui-xy.js +1 -1
  89. package/dist/composables.js +1 -1
  90. package/dist/{dom-to-png-4tdMNGPX.js → dom-to-png-BYIvdTe8.js} +1 -1
  91. package/dist/{exposedLib-DWLRqRhv.js → exposedLib-C0DPCgFj.js} +7 -4
  92. package/dist/{geoProjections-BCP_PoiB.js → geoProjections-CEo3dVaL.js} +1 -1
  93. package/dist/{img-DIQG5q8T.js → img-Bnokohej.js} +1 -1
  94. package/dist/{labelUtils-C5lnc_xc.js → labelUtils-BeVpDvTJ.js} +1 -1
  95. package/dist/{lib-BuMGJ_a0.js → lib-Bttd6u5E.js} +21 -11
  96. package/dist/{package-BMc_ZieJ.js → package-bsfpO6y3.js} +1 -1
  97. package/dist/{pdf-Cnz4NKM9.js → pdf-CVIDfCrS.js} +1 -1
  98. package/dist/{render-common-Ktg2LZFG.js → render-common-C0PEe9so.js} +2 -2
  99. package/dist/ssr/vue-ui-donut.js +1 -1
  100. package/dist/ssr/vue-ui-xy.js +1 -1
  101. package/dist/ssr.js +2 -2
  102. package/dist/style.css +1 -1
  103. package/dist/types/vue-data-ui.d.ts +9 -0
  104. package/dist/{useSvgExport-Ba9qBr9M.js → useChartExport-DNiwdPmb.js} +48 -2
  105. package/dist/{useConfig-BilxnBNr.js → useConfig-DlNpz6P8.js} +13 -1
  106. package/dist/{useNestedProp--NSEmhOH.js → useNestedProp-vPNvh7rV.js} +5 -3
  107. package/dist/{useObjectBindings-Cwq7NcQz.js → useObjectBindings-BeWS5v0i.js} +1 -1
  108. package/dist/{usePrinter-BFvi4jVy.js → usePrinter-DN5bYhTG.js} +2 -2
  109. package/dist/{useTimeLabels-B9CEuiLZ.js → useTimeLabels-d2f-W1L4.js} +2 -4
  110. package/dist/{useTooltipPosition-BsRysTrw.js → useTooltipPosition-DifeoeQW.js} +13 -13
  111. package/dist/utils.js +3 -3
  112. package/dist/{vue-data-ui-EsawKe_W.js → vue-data-ui-BNxtW8pK.js} +69 -69
  113. package/dist/vue-data-ui.js +74 -74
  114. package/dist/{vue-ui-3d-bar-RSUS2xpL.js → vue-ui-3d-bar-BYumVxZG.js} +147 -165
  115. package/dist/{vue-ui-accordion-61MlW-Ge.js → vue-ui-accordion-DegI2lzR.js} +4 -4
  116. package/dist/vue-ui-age-pyramid-tJx_hCsS.js +1241 -0
  117. package/dist/{vue-ui-annotator-DBRT85HG.js → vue-ui-annotator-DfG79D4r.js} +41 -68
  118. package/dist/vue-ui-bullet-DrWG4jRy.js +700 -0
  119. package/dist/{vue-ui-bump-Dvv3iSKr.js → vue-ui-bump-mKysp0KO.js} +222 -272
  120. package/dist/vue-ui-candlestick-PgKcBZdy.js +1837 -0
  121. package/dist/vue-ui-carousel-table-DRvycNBl.js +467 -0
  122. package/dist/{vue-ui-chestnut-ArloORzP.js → vue-ui-chestnut-Dpklo-VE.js} +311 -365
  123. package/dist/vue-ui-chord-7PPVH_iG.js +1345 -0
  124. package/dist/vue-ui-circle-pack-DW4Os6_8.js +1636 -0
  125. package/dist/{vue-ui-cursor-CxgE6Phh.js → vue-ui-cursor-DIt7vOwc.js} +4 -4
  126. package/dist/{vue-ui-dag-C9Sf9vH7.js → vue-ui-dag-Cl0WdSLb.js} +812 -840
  127. package/dist/{vue-ui-dashboard-bGmaglAj.js → vue-ui-dashboard-BwxRLR4E.js} +70 -70
  128. package/dist/{vue-ui-digits-DgDE-_Fn.js → vue-ui-digits-Bp1OH_t1.js} +5 -5
  129. package/dist/{vue-ui-donut-B_n6wF6B.js → vue-ui-donut-BZUT7QYt.js} +352 -377
  130. package/dist/vue-ui-donut-evolution-CQy3ZKXk.js +1549 -0
  131. package/dist/{vue-ui-donut-Bmo149AR.js → vue-ui-donut-y6tOAVyY.js} +18 -17
  132. package/dist/{vue-ui-dumbbell-BX4Ao_wR.js → vue-ui-dumbbell-BtKZcAOV.js} +370 -420
  133. package/dist/{vue-ui-flow-Bshw8pT_.js → vue-ui-flow-BF_cndsv.js} +191 -216
  134. package/dist/vue-ui-funnel-z3AeiDu6.js +750 -0
  135. package/dist/{vue-ui-galaxy-CvXgy-dy.js → vue-ui-galaxy-ClWaSOmM.js} +276 -302
  136. package/dist/vue-ui-gauge-CJstpakj.js +932 -0
  137. package/dist/{vue-ui-geo-C-gSZL2q.js → vue-ui-geo-B1tOD3HC.js} +398 -449
  138. package/dist/{vue-ui-gizmo-CJdxyPID.js → vue-ui-gizmo-foatosAv.js} +4 -4
  139. package/dist/{vue-ui-heatmap-DEEKv8ip.js → vue-ui-heatmap-By33A9dZ.js} +479 -502
  140. package/dist/{vue-ui-hill-D7LYAgAL.js → vue-ui-hill-ewqkK9s5.js} +570 -593
  141. package/dist/vue-ui-history-plot-FEIwXlsz.js +1698 -0
  142. package/dist/{vue-ui-horizontal-bar-CfFye5tL.js → vue-ui-horizontal-bar-D51sAeVu.js} +307 -332
  143. package/dist/{vue-ui-kpi-DCBnNfTb.js → vue-ui-kpi-y3EkgqJQ.js} +4 -4
  144. package/dist/{vue-ui-mini-loader-CtWpqnLW.js → vue-ui-mini-loader-CtTewZJG.js} +3 -3
  145. package/dist/vue-ui-molecule-paWHp18h.js +935 -0
  146. package/dist/{vue-ui-mood-radar-sl6DMxqR.js → vue-ui-mood-radar-wBRTZI5k.js} +341 -390
  147. package/dist/vue-ui-nested-donuts-CB-HOLo2.js +1503 -0
  148. package/dist/vue-ui-onion-B2Q2n55x.js +1233 -0
  149. package/dist/{vue-ui-parallel-coordinate-plot-DE9wTmQQ.js → vue-ui-parallel-coordinate-plot-GpkXiIZA.js} +189 -214
  150. package/dist/{vue-ui-quadrant-SaY_RPSE.js → vue-ui-quadrant-DOPuejDE.js} +254 -284
  151. package/dist/{vue-ui-quick-chart-CJ9rejnj.js → vue-ui-quick-chart-CgHX9njq.js} +108 -109
  152. package/dist/{vue-ui-radar-CaNen5Fj.js → vue-ui-radar-BLvG-_zE.js} +407 -434
  153. package/dist/{vue-ui-rating--K7rX2an.js → vue-ui-rating-BDVSVFA0.js} +10 -11
  154. package/dist/vue-ui-relation-circle-plOXwxJ5.js +903 -0
  155. package/dist/vue-ui-ridgeline-BbrnXvBo.js +1614 -0
  156. package/dist/{vue-ui-rings-BevKD8P-.js → vue-ui-rings-B3cKfMWy.js} +419 -444
  157. package/dist/vue-ui-scatter-BY7waF2T.js +2403 -0
  158. package/dist/{vue-ui-skeleton-B9ZP1w-i.js → vue-ui-skeleton-DwKxd7fk.js} +4 -4
  159. package/dist/{vue-ui-smiley-DYnqqk6u.js → vue-ui-smiley-5iHJeTPc.js} +64 -65
  160. package/dist/{vue-ui-spark-trend-R0ebpg-G.js → vue-ui-spark-trend-MpvrV5Wd.js} +11 -11
  161. package/dist/{vue-ui-sparkbar-DYC3By0v.js → vue-ui-sparkbar-s-2rBmEz.js} +97 -100
  162. package/dist/{vue-ui-sparkgauge-Bw6no-In.js → vue-ui-sparkgauge-B-BYVv4p.js} +4 -4
  163. package/dist/{vue-ui-sparkhistogram-DvRKy8rq.js → vue-ui-sparkhistogram-D7D4NHdi.js} +18 -19
  164. package/dist/{vue-ui-sparkline-Dz1uzBos.js → vue-ui-sparkline-RbeYtLWp.js} +11 -11
  165. package/dist/{vue-ui-sparkstackbar-DlnPdZih.js → vue-ui-sparkstackbar-ohN7mtbg.js} +194 -198
  166. package/dist/{vue-ui-stackbar-B-THcavY.js → vue-ui-stackbar-D2bpvQYt.js} +530 -552
  167. package/dist/{vue-ui-stackline-3dBPoI0h.js → vue-ui-stackline-Bo1oE8yq.js} +592 -614
  168. package/dist/vue-ui-strip-plot-CZ-C4a5x.js +1734 -0
  169. package/dist/vue-ui-table-3PPiJPV6.js +1352 -0
  170. package/dist/{vue-ui-table-heatmap-DVwMqzje.js → vue-ui-table-heatmap-D1bbPXKG.js} +56 -57
  171. package/dist/{vue-ui-table-sparkline-CABJzK8p.js → vue-ui-table-sparkline-l1cUX3ny.js} +13 -15
  172. package/dist/{vue-ui-thermometer-CVQ-H69Q.js → vue-ui-thermometer-DltAELO7.js} +240 -261
  173. package/dist/{vue-ui-timer-Bm8LpsnI.js → vue-ui-timer-DWNdx47q.js} +6 -6
  174. package/dist/vue-ui-tiremarks-GYhji_fa.js +538 -0
  175. package/dist/{vue-ui-treemap-DP0Sx8Y8.js → vue-ui-treemap-DjNlnOG5.js} +521 -547
  176. package/dist/vue-ui-waffle-BAA9EX6O.js +1386 -0
  177. package/dist/vue-ui-wheel-DrefGLos.js +871 -0
  178. package/dist/{vue-ui-word-cloud-B2sxtel9.js → vue-ui-word-cloud-CQZ8AyOi.js} +382 -405
  179. package/dist/{vue-ui-world-BBQZLnzm.js → vue-ui-world-Y7a3VEjq.js} +426 -451
  180. package/dist/{vue-ui-xy-DZj5DT-q.js → vue-ui-xy-CJcdttNL.js} +879 -905
  181. package/dist/{vue-ui-xy-ChZg7AtI.js → vue-ui-xy-DPxtkYGc.js} +329 -326
  182. package/dist/{vue-ui-xy-canvas-BN2u0bOJ.js → vue-ui-xy-canvas-1rbwMA1m.js} +30 -27
  183. package/package.json +4 -4
  184. package/dist/Slicer-5yIrdoJv.js +0 -1149
  185. package/dist/SlicerPreview-DvjLV2TW.js +0 -1689
  186. package/dist/vue-ui-age-pyramid-CgnPWA93.js +0 -1263
  187. package/dist/vue-ui-bullet-Bc3-WaN1.js +0 -724
  188. package/dist/vue-ui-candlestick-DvvsrIdp.js +0 -1864
  189. package/dist/vue-ui-carousel-table-DtsNVim8.js +0 -463
  190. package/dist/vue-ui-chord-xX5gWZy8.js +0 -1396
  191. package/dist/vue-ui-circle-pack-D8wykmqg.js +0 -1638
  192. package/dist/vue-ui-donut-evolution-D6vH_hfx.js +0 -1598
  193. package/dist/vue-ui-funnel-CjYosIik.js +0 -797
  194. package/dist/vue-ui-gauge-CByT0_vF.js +0 -953
  195. package/dist/vue-ui-history-plot-BhcU94Pt.js +0 -1722
  196. package/dist/vue-ui-molecule-D3igGyOy.js +0 -958
  197. package/dist/vue-ui-nested-donuts-aS4YzaB3.js +0 -1528
  198. package/dist/vue-ui-onion-EhPTZpW_.js +0 -1258
  199. package/dist/vue-ui-relation-circle-FLs8vOxQ.js +0 -925
  200. package/dist/vue-ui-ridgeline-Beg5hshN.js +0 -1663
  201. package/dist/vue-ui-scatter-CNA7jF-o.js +0 -2428
  202. package/dist/vue-ui-strip-plot-ACeYOoHj.js +0 -1757
  203. package/dist/vue-ui-table-rFy16bp0.js +0 -1347
  204. package/dist/vue-ui-tiremarks-DB3f5qiz.js +0 -559
  205. package/dist/vue-ui-waffle-iPpdk1Bm.js +0 -1412
  206. package/dist/vue-ui-wheel-BJkEYfLj.js +0 -892
@@ -0,0 +1,1703 @@
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
+ 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-BfndwIWE.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 xe, withDirectives as Se, withKeys as Ce, withModifiers as we } from "vue";
7
+ //#region src/atoms/SlicerPreview.vue
8
+ var Te = ["data-minimap"], Ee = {
9
+ class: "vue-data-ui-slicer-labels",
10
+ style: {
11
+ position: "relative",
12
+ "z-index": "1",
13
+ "pointer-events": "none"
14
+ }
15
+ }, De = {
16
+ key: 0,
17
+ style: {
18
+ width: "100%",
19
+ position: "relative",
20
+ "pointer-events": "all"
21
+ }
22
+ }, Oe = {
23
+ key: 0,
24
+ class: "minimap",
25
+ style: { width: "100%" }
26
+ }, ke = ["xmlns", "viewBox"], Ae = ["id"], je = [
27
+ "x",
28
+ "width",
29
+ "height"
30
+ ], Me = [
31
+ "width",
32
+ "height",
33
+ "stroke"
34
+ ], Ne = ["d", "stroke"], Pe = ["d", "fill"], Fe = [
35
+ "x",
36
+ "y",
37
+ "width",
38
+ "height",
39
+ "fill"
40
+ ], Ie = [
41
+ "d",
42
+ "stroke",
43
+ "stroke-dasharray"
44
+ ], Le = [
45
+ "cx",
46
+ "cy",
47
+ "fill",
48
+ "stroke"
49
+ ], Re = [
50
+ "cx",
51
+ "cy",
52
+ "fill",
53
+ "stroke"
54
+ ], ze = [
55
+ "x",
56
+ "width",
57
+ "height",
58
+ "fill",
59
+ "rx"
60
+ ], Be = [
61
+ "x",
62
+ "width",
63
+ "height",
64
+ "rx",
65
+ "fill"
66
+ ], Ve = [
67
+ "x",
68
+ "width",
69
+ "height",
70
+ "fill",
71
+ "rx",
72
+ "aria-valuemin",
73
+ "aria-valuemax",
74
+ "aria-valuenow",
75
+ "aria-valuetext"
76
+ ], He = [
77
+ "x2",
78
+ "y1",
79
+ "y2",
80
+ "stroke"
81
+ ], Ue = { key: "merged-tree" }, We = ["d", "stroke"], Ge = [
82
+ "cx",
83
+ "cy",
84
+ "stroke",
85
+ "fill"
86
+ ], Ke = [
87
+ "cx",
88
+ "cy",
89
+ "stroke",
90
+ "fill"
91
+ ], qe = { key: "split-tree" }, Je = [
92
+ "x",
93
+ "y",
94
+ "width",
95
+ "height",
96
+ "fill"
97
+ ], Ye = [
98
+ "d",
99
+ "stroke",
100
+ "stroke-dasharray"
101
+ ], Xe = [
102
+ "cx",
103
+ "cy",
104
+ "fill",
105
+ "stroke"
106
+ ], Ze = ["width", "height"], Qe = [
107
+ "x",
108
+ "width",
109
+ "height",
110
+ "fill",
111
+ "stroke",
112
+ "stroke-width"
113
+ ], $e = ["transform"], et = ["width", "height"], tt = ["fill", "stroke"], nt = ["stroke"], rt = ["fill"], it = [
114
+ "x",
115
+ "width",
116
+ "height",
117
+ "fill",
118
+ "stroke",
119
+ "stroke-width"
120
+ ], at = ["transform"], ot = ["width", "height"], st = ["fill", "stroke"], ct = ["stroke"], lt = ["fill"], ut = {
121
+ key: "merged-tree",
122
+ style: { "pointer-events": "none" }
123
+ }, dt = [
124
+ "cx",
125
+ "cy",
126
+ "stroke",
127
+ "fill"
128
+ ], ft = [
129
+ "cx",
130
+ "cy",
131
+ "fill"
132
+ ], pt = [
133
+ "cx",
134
+ "cy",
135
+ "stroke",
136
+ "fill"
137
+ ], mt = [
138
+ "cx",
139
+ "cy",
140
+ "fill"
141
+ ], ht = {
142
+ key: 1,
143
+ style: { "pointer-events": "none" }
144
+ }, gt = [
145
+ "d",
146
+ "stroke",
147
+ "stroke-dasharray"
148
+ ], _t = [
149
+ "cx",
150
+ "cy",
151
+ "fill",
152
+ "stroke"
153
+ ], vt = [
154
+ "cx",
155
+ "cy",
156
+ "stroke",
157
+ "fill"
158
+ ], yt = [
159
+ "cx",
160
+ "cy",
161
+ "fill"
162
+ ], bt = [
163
+ "cx",
164
+ "cy",
165
+ "stroke",
166
+ "fill"
167
+ ], xt = [
168
+ "cx",
169
+ "cy",
170
+ "fill"
171
+ ], St = [
172
+ "cx",
173
+ "cy",
174
+ "fill",
175
+ "stroke"
176
+ ], Ct = [
177
+ "step",
178
+ "min",
179
+ "max",
180
+ "tabindex"
181
+ ], wt = [
182
+ "step",
183
+ "min",
184
+ "max",
185
+ "tabindex"
186
+ ], Tt = {
187
+ key: 3,
188
+ class: "minimap-handle-overlay"
189
+ }, Et = ["xmlns", "viewBox"], Dt = [
190
+ "x",
191
+ "width",
192
+ "height"
193
+ ], Ot = [
194
+ "x",
195
+ "width",
196
+ "height"
197
+ ], kt = 48, At = /*#__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
+ minimapLeftInsetRatio: {
376
+ type: Number,
377
+ default: null
378
+ },
379
+ minimapRightInsetRatio: {
380
+ type: Number,
381
+ default: null
382
+ },
383
+ isCursorPointer: {
384
+ type: Boolean,
385
+ default: !1
386
+ },
387
+ additionalMinimapHeight: {
388
+ type: Number,
389
+ default: 0
390
+ },
391
+ handleType: {
392
+ type: String,
393
+ default: ""
394
+ },
395
+ handleWidth: {
396
+ type: Number,
397
+ default: 20
398
+ },
399
+ handleBorderWidth: {
400
+ type: Number,
401
+ default: 1
402
+ },
403
+ handleIconColor: {
404
+ type: String,
405
+ default: null
406
+ },
407
+ handleBorderColor: {
408
+ type: String,
409
+ default: null
410
+ },
411
+ handleFill: {
412
+ type: String,
413
+ default: null
414
+ },
415
+ precision: {
416
+ type: Number,
417
+ default: 0
418
+ },
419
+ useValueRange: {
420
+ type: Boolean,
421
+ default: !1
422
+ }
423
+ },
424
+ emits: [
425
+ "futureStart",
426
+ "futureEnd",
427
+ "update:start",
428
+ "update:end",
429
+ "reset",
430
+ "trapMouse",
431
+ "trapMouseValue"
432
+ ],
433
+ setup(s, { expose: At, emit: jt }) {
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
441
+ }));
442
+ let y = s;
443
+ function Mt(e) {
444
+ let t = Number(e) || 0;
445
+ return y.precision <= 0 ? Math.round(t) : Number(t.toFixed(y.precision));
446
+ }
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;
457
+ }
458
+ function Gt(e) {
459
+ return F.value.width * (Wt(e) / 100);
460
+ }
461
+ function Kt(e) {
462
+ let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
463
+ return Mt(Number(y.min) + Ut.value * t);
464
+ }
465
+ function qt(e) {
466
+ let n = y.useValueRange ? e?.y : e;
467
+ return t(n) ? Number(n) : null;
468
+ }
469
+ function Jt(e, t) {
470
+ return y.useValueRange ? Number(e?.x) : t + Number(y.min);
471
+ }
472
+ function Yt(e, t) {
473
+ return y.useValueRange ? Gt(Jt(e, t)) : B.value * t + (y.minimapCompact ? 0 : B.value / 2);
474
+ }
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({
476
+ get: () => x.value,
477
+ set(e) {
478
+ let t = Math.min(Number(e), Number(S.value) - D.value);
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));
480
+ }
481
+ }), k = u({
482
+ get: () => S.value,
483
+ set(e) {
484
+ let t = Math.max(Number(e), Number(x.value) + D.value);
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));
486
+ }
487
+ });
488
+ function A() {
489
+ clearTimeout(null), y.immediate || (j("update:start", Number(x.value)), j("update:end", Number(S.value))), w.value = !1;
490
+ }
491
+ let en = u(() => y.refreshEndPoint === null ? y.max : y.refreshEndPoint), j = jt, tn = u(() => {
492
+ if (y.useValueRange) return Wt(x.value);
493
+ if (T.value) {
494
+ let e = Math.max(1, L.value - 1);
495
+ return Pn.value / e * 100;
496
+ }
497
+ let e = Math.max(1, y.max - y.min);
498
+ return (x.value - y.min) / e * 100;
499
+ }), nn = u(() => {
500
+ if (y.useValueRange) return Wt(S.value);
501
+ if (T.value) {
502
+ let e = Math.max(1, L.value - 1);
503
+ return Fn.value / e * 100;
504
+ }
505
+ let e = Math.max(1, y.max - y.min);
506
+ return (S.value - y.min) / e * 100;
507
+ }), rn = u(() => (tn.value + nn.value) / 2), an = u(() => {
508
+ if (!b.value) return !1;
509
+ let e = Math.max(1, y.max - y.min);
510
+ return b.value.getBoundingClientRect().width * ((x.value - y.min) / e) - vr.value / 2 < 0;
511
+ }), on = u(() => {
512
+ if (!b.value) return !1;
513
+ let e = Math.max(1, y.max - y.min), t = b.value.getBoundingClientRect().width;
514
+ return t * ((S.value - y.min) / e) + yr.value / 2 > t;
515
+ }), M = u(() => {
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)`;
517
+ return {
518
+ left: `${tn.value}%`,
519
+ width: `${Math.max(0, nn.value - tn.value)}%`,
520
+ background: y.selectColor,
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)`,
523
+ tooltipCenter: e,
524
+ arrowLeft: !an.value,
525
+ arrowRight: !on.value
526
+ };
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() {
529
+ j("reset");
530
+ }
531
+ xe(() => y.min, (e) => {
532
+ Number(x.value) < Number(e) && (x.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
533
+ }), xe(() => y.max, (e) => {
534
+ Number(x.value) > Number(e) && (x.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
535
+ });
536
+ let P = _(null), F = _({
537
+ width: 1,
538
+ height: 1
539
+ }), I = _(null);
540
+ me(() => {
541
+ if (C.value) {
542
+ let e = c(() => {
543
+ if (!P.value) return;
544
+ let { width: e, height: t } = ae({ chart: P.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
545
+ (n !== F.value.width || r !== F.value.height) && (F.value.width = n, F.value.height = r + y.additionalMinimapHeight);
546
+ }, 0);
547
+ I.value = new ResizeObserver(e), I.value.observe(P.value);
548
+ }
549
+ }), pe(() => {
550
+ I.value && I.value.disconnect();
551
+ });
552
+ let L = u(() => Math.max(1, y.max - y.min));
553
+ function fn(e) {
554
+ let t = Math.floor(e - y.min);
555
+ return Math.min(Math.max(0, t), L.value);
556
+ }
557
+ function pn(e) {
558
+ let t = Math.ceil(e - y.min);
559
+ return Math.min(Math.max(0, t), L.value);
560
+ }
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));
563
+ let B = u(() => {
564
+ if (y.minimapCompact && !y.useValueRange) return F.value.width / Math.max(1, L.value - 1);
565
+ let e = Math.max(1, mn.value - +!!y.minimapCompact);
566
+ return F.value.width / e;
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;
570
+ return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
571
+ }
572
+ function bn(e, t) {
573
+ return [0, mn.value - 1].includes(t) ? vn.value / 2 : vn.value;
574
+ }
575
+ let xn = u(() => {
576
+ let e = [];
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));
578
+ return e.length ? {
579
+ min: Math.min(...e),
580
+ max: Math.max(...e)
581
+ } : {
582
+ min: 0,
583
+ max: 1
584
+ };
585
+ }), Sn = u(() => {
586
+ if (y.minScale == null && y.forceZeroCenter) return null;
587
+ let e = Number(y.minScale);
588
+ return Number.isFinite(e) ? e : null;
589
+ }), Cn = u(() => {
590
+ if (y.maxScale == null && y.forceZeroCenter) return null;
591
+ let e = Number(y.maxScale);
592
+ return Number.isFinite(e) ? e : null;
593
+ }), wn = u(() => Sn.value !== null && Cn.value !== null), Tn = u(() => {
594
+ let { min: e, max: t } = xn.value, n = Sn.value, r = Cn.value, i, a;
595
+ return n !== null && r !== null ? (i = Math.min(n, e), a = Math.max(r, t)) : (i = n === null ? e : n, a = r === null ? t : r), Number.isFinite(i) || (i = 0), Number.isFinite(a) || (a = 1), i === a ? a = i + 1 : i > a && ([i, a] = [a, i]), {
596
+ min: i,
597
+ max: a
598
+ };
599
+ }), En = u(() => Tn.value.min), Dn = u(() => Tn.value.max), On = u(() => En.value < 0 && Dn.value > 0 || Dn.value <= 0 ? En.value : 0), kn = (e) => {
600
+ let t = Math.max(1, F.value.height);
601
+ return jn(En.value, Dn.value, t, wn.value)(e);
602
+ }, An = u(() => kn(0));
603
+ function jn(e, t, n, r = !1) {
604
+ let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
605
+ if (r) return (t) => n - (t - e) / o * n;
606
+ if (t <= 0) {
607
+ let t = Math.max(a, 0 - e);
608
+ return (r) => n - (r - e) / t * n;
609
+ }
610
+ if (e >= 0) {
611
+ let e = Math.max(a, t - 0);
612
+ return (t) => n - (t - 0) / e * n;
613
+ }
614
+ {
615
+ let r = Math.max(a, Math.max(Math.abs(e), Math.abs(t)));
616
+ return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
617
+ }
618
+ }
619
+ function Mn(t, o = !1, ee = !1) {
620
+ if (!t || !t.length) return {
621
+ fullSet: "",
622
+ points: [],
623
+ selectionSet: "",
624
+ sliced: [],
625
+ firstPlot: null,
626
+ lastPlot: null,
627
+ hasFull: !1,
628
+ hasSelection: !1,
629
+ fullMarkers: [],
630
+ selectionMarkers: [],
631
+ dashed: !1
632
+ };
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);
635
+ return {
636
+ x: i,
637
+ y: r ? ne(n) : NaN,
638
+ v: n,
639
+ value: r ? n : null,
640
+ y0: o,
641
+ i: t,
642
+ xValue: Jt(e, t)
643
+ };
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);
645
+ return {
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)) : "",
647
+ points: c,
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)) : "",
649
+ sliced: l,
650
+ firstPlot: y.useValueRange ? l[0] || null : c[s] || null,
651
+ lastPlot: y.useValueRange ? l[l.length - 1] || null : c[Math.max(0, ie - 1)] || null,
652
+ hasFull: c.length >= 2,
653
+ hasSelection: l.length >= 2,
654
+ fullMarkers: oe,
655
+ selectionMarkers: se
656
+ };
657
+ }
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;
660
+ return {
661
+ key: typeof r == "object" ? JSON.stringify(r) : String(r),
662
+ color: e?.color,
663
+ ...n,
664
+ temperatureColors: e?.temperatureColors ?? null,
665
+ isVisible: e.isVisible,
666
+ type: e.type || void 0,
667
+ dashed: e.dashed ?? !1,
668
+ useStepper: !!e.useStepper
669
+ };
670
+ }) : []), U = u(() => {
671
+ if (y.useValueRange) {
672
+ let e = Gt(x.value), t = Gt(S.value);
673
+ return {
674
+ x: e,
675
+ width: Math.max(0, t - e)
676
+ };
677
+ }
678
+ let e = R.value, t = Math.max(e + 1, z.value);
679
+ return {
680
+ x: B.value * e + (y.minimapCompact ? 0 : B.value / 2),
681
+ width: B.value * (t - e) - B.value
682
+ };
683
+ }), W = _(y.minimapSelectedIndex), Nn = (e) => Math.round(y.min + e), Pn = u({
684
+ get() {
685
+ return T.value ? R.value : Number(O.value);
686
+ },
687
+ set(e) {
688
+ if (T.value) {
689
+ if (y.useValueRange) {
690
+ let t = Mt(e);
691
+ qn(Math.min(Math.max(Number(y.min), t), Number(S.value) - D.value));
692
+ return;
693
+ }
694
+ let t = Math.round(+e || 0);
695
+ qn(Nn(t));
696
+ } else {
697
+ let t = Mt(e), n = Number(S.value) - D.value, r = Math.min(Math.max(y.min, t), n);
698
+ Un.value && (Un.value.valueAsNumber = r), qn(r);
699
+ }
700
+ }
701
+ }), Fn = u({
702
+ get() {
703
+ return T.value ? Math.max(R.value, z.value - 1) : Number(k.value);
704
+ },
705
+ set(e) {
706
+ if (T.value) {
707
+ if (y.useValueRange) {
708
+ let t = Mt(e);
709
+ Yn(Math.max(Number(x.value) + D.value, Math.min(t, Number(y.max))));
710
+ return;
711
+ }
712
+ let t = Math.round(+e || 0);
713
+ Yn(Nn(t + 1));
714
+ } else {
715
+ let t = Mt(e), n = Number(x.value) + D.value, r = Math.max(n, Math.min(t, y.max));
716
+ Wn.value && (Wn.value.valueAsNumber = r), Yn(r);
717
+ }
718
+ }
719
+ }), In = 0;
720
+ function Ln(e, t) {
721
+ if (t === In) {
722
+ if (y.useValueRange) {
723
+ W.value = Number.isFinite(Number(e)) ? Gt(Number(e)) : null;
724
+ return;
725
+ }
726
+ W.value = fn(y.valueStart) + e;
727
+ }
728
+ }
729
+ let Rn = ie(Ln, 60);
730
+ xe(() => y.minimapSelectedIndex, (e, t) => {
731
+ if (In += 1, [null, void 0].includes(e)) {
732
+ W.value = null;
733
+ return;
734
+ }
735
+ e !== t && Rn(e, In);
736
+ }, { immediate: !0 });
737
+ function zn(e) {
738
+ if (Vt.value) return;
739
+ W.value = e;
740
+ let t = R.value, n = z.value;
741
+ e >= t && e < n && !X.value && j("trapMouse", e - t);
742
+ }
743
+ function Bn(e) {
744
+ let t = Kt(e), n = y.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
745
+ point: e,
746
+ index: n,
747
+ x: Number(e?.x),
748
+ distance: Math.abs(Number(e?.x) - t)
749
+ }))).filter((e) => Number.isFinite(e.x));
750
+ return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
751
+ }
752
+ function Vn(e) {
753
+ if (!un.value || Vt.value) return;
754
+ let t = Vr(e.clientX);
755
+ if (y.useValueRange) {
756
+ let e = Bn(t);
757
+ if (!e) {
758
+ Hn();
759
+ return;
760
+ }
761
+ W.value = Gt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
762
+ return;
763
+ }
764
+ zn(Hr(t));
765
+ }
766
+ function Hn() {
767
+ W.value = null, !Vt.value && (j("trapMouse", null), j("trapMouseValue", null));
768
+ }
769
+ let Un = _(null), Wn = _(null);
770
+ function Gn(e) {
771
+ if (typeof e == "object" && e && "target" in e) {
772
+ let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
773
+ return Number.isFinite(n) ? n : NaN;
774
+ }
775
+ let t = +e;
776
+ return Number.isFinite(t) ? t : NaN;
777
+ }
778
+ let Kn = 0;
779
+ function qn(e) {
780
+ w.value = !0;
781
+ let t = Gn(e);
782
+ Number.isFinite(t) && (cancelAnimationFrame(Kn), Kn = requestAnimationFrame(() => {
783
+ O.value = t;
784
+ }));
785
+ }
786
+ let Jn = 0;
787
+ function Yn(e) {
788
+ w.value = !0;
789
+ let t = Gn(e);
790
+ Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
791
+ k.value = t;
792
+ }));
793
+ }
794
+ pe(() => {
795
+ cancelAnimationFrame(Kn), cancelAnimationFrame(Jn);
796
+ });
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) {
799
+ if (!b.value) return y.min;
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);
801
+ return Math.round(y.min + a * o);
802
+ }
803
+ let lr = async (e) => {
804
+ if (w.value = !0, Z.value = !0, !y.enableSelectionDrag) return;
805
+ let t = e.type === "touchstart";
806
+ t || e.stopPropagation();
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;
809
+ G.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;
813
+ try {
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 });
819
+ } finally {
820
+ Bt.value = !1;
821
+ }
822
+ return;
823
+ }
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);
825
+ };
826
+ function ur(e) {
827
+ G.value && fr(e.clientX);
828
+ }
829
+ function dr(e) {
830
+ if (!G.value || !b.value) return;
831
+ let t = e.target;
832
+ if (!(t instanceof Element) || !b.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
833
+ e.preventDefault();
834
+ let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
835
+ n && fr(n.clientX);
836
+ }
837
+ function fr(e) {
838
+ if (!G.value) return;
839
+ let t = cr(rr.value), n = cr(e) - t, r = Math.round(ir.value + n);
840
+ r = Math.max(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);
843
+ }
844
+ function pr() {
845
+ hr();
846
+ }
847
+ function mr() {
848
+ hr();
849
+ }
850
+ function hr() {
851
+ G.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, A();
852
+ }
853
+ let X = _(!1), gr = _(null), _r = _(null), vr = _(1), yr = _(1), Z = _(!1);
854
+ function br() {
855
+ if (gr.value) {
856
+ let e = Math.round(gr.value.getBoundingClientRect().width);
857
+ e !== vr.value && (vr.value = e);
858
+ }
859
+ }
860
+ function xr() {
861
+ if (_r.value) {
862
+ let e = Math.round(_r.value.getBoundingClientRect().width);
863
+ e !== yr.value && (yr.value = e);
864
+ }
865
+ }
866
+ he(() => {
867
+ br(), xr();
868
+ });
869
+ let Sr = _(0);
870
+ function Cr(e) {
871
+ Sr.value = +(e === "start");
872
+ }
873
+ let wr = _(!1), Tr = _({
874
+ width: 0,
875
+ left: 0
876
+ });
877
+ xe([x, S], async () => {
878
+ if (await de(), !gr.value || !_r.value) {
879
+ wr.value = !1, Tr.value = {
880
+ width: 0,
881
+ left: 0
882
+ };
883
+ return;
884
+ }
885
+ let e = gr.value.getBoundingClientRect(), t = _r.value.getBoundingClientRect();
886
+ wr.value = e.x + e.width > t.x;
887
+ let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
888
+ Tr.value = {
889
+ width: i,
890
+ left: a - i / 2
891
+ };
892
+ }), he(() => {
893
+ br(), xr();
894
+ }), xe(() => y.labelLeft, () => {
895
+ de(br);
896
+ }, { deep: !0 }), xe(() => y.labelRight, () => {
897
+ de(xr);
898
+ }, { deep: !0 });
899
+ let Q = u(() => {
900
+ let e = "", t = "", n = !1;
901
+ if (re(y.customFormat)) try {
902
+ let r = y.customFormat({
903
+ absoluteIndex: x.value,
904
+ seriesIndex: x.value,
905
+ datapoint: y.selectedSeries,
906
+ timeLabel: y.preciseLabels[x.value],
907
+ side: "left"
908
+ }), i = y.customFormat({
909
+ absoluteIndex: Ht.value,
910
+ seriesIndex: -1,
911
+ datapoint: y.selectedSeries,
912
+ timeLabel: y.useValueRange ? null : y.preciseLabels[Ht.value],
913
+ side: "right"
914
+ });
915
+ typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
916
+ } catch {
917
+ n = !1;
918
+ }
919
+ if (!n) {
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);
921
+ e = n ? n.text : "", t = r ? r.text : "";
922
+ }
923
+ return {
924
+ left: e,
925
+ right: t
926
+ };
927
+ });
928
+ pe(() => {
929
+ I.value && I.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
930
+ });
931
+ let Er = u(() => {
932
+ if (!un.value || W.value === null) return null;
933
+ if (y.useValueRange) {
934
+ let e = W.value;
935
+ return e < U.value.x || e > U.value.x + U.value.width ? null : {
936
+ x1: e,
937
+ x2: e,
938
+ y1: 0,
939
+ y2: Math.max(F.value.height, 0),
940
+ stroke: y.minimapIndicatorColor,
941
+ "stroke-linecap": "round",
942
+ "stroke-dasharray": 2,
943
+ "stroke-width": 1
944
+ };
945
+ }
946
+ if (W.value >= R.value && W.value < z.value) {
947
+ let e = W.value, t = B.value * e + (y.minimapCompact ? 0 : B.value / 2);
948
+ return {
949
+ x1: t,
950
+ x2: t,
951
+ y1: 0,
952
+ y2: Math.max(F.value.height, 0),
953
+ stroke: y.minimapIndicatorColor,
954
+ "stroke-linecap": "round",
955
+ "stroke-dasharray": 2,
956
+ "stroke-width": 1
957
+ };
958
+ }
959
+ return null;
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) {
962
+ let t = Number(x.value) + e;
963
+ e > 0 && !Dr.value || e < 0 && !Or.value || (w.value = !0, O.value = t, A());
964
+ }
965
+ function Mr(e) {
966
+ let t = Number(S.value) + e;
967
+ e > 0 && !kr.value || e < 0 && !Ar.value || (w.value = !0, k.value = t, A());
968
+ }
969
+ let Nr = {
970
+ plus: () => jr(1),
971
+ minus: () => jr(-1),
972
+ canPlus: Dr,
973
+ canMinus: Or
974
+ }, Pr = {
975
+ plus: () => Mr(1),
976
+ minus: () => Mr(-1),
977
+ canPlus: kr,
978
+ canMinus: Ar
979
+ };
980
+ function Fr(e) {
981
+ if (!e || Ir(e.target)) return;
982
+ let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
983
+ !n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Nr.plus(), Pr.plus()) : (Nr.minus(), Pr.minus()));
984
+ }
985
+ function Ir(e) {
986
+ return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
987
+ }
988
+ function Lr(e) {
989
+ if (!C.value || !y.minimapCompact) return;
990
+ let t = b.value;
991
+ if (!t) return;
992
+ let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
993
+ r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
994
+ }
995
+ function Rr(e, t) {
996
+ if (!t || Ir(t.target)) return;
997
+ let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
998
+ !r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Nr.plus() : Nr.minus() : i ? Pr.plus() : Pr.minus(), de(() => Lr(e)));
999
+ }
1000
+ let zr = u(() => ({
1001
+ tabindex: 0,
1002
+ role: "slider",
1003
+ "aria-label": "Range start",
1004
+ "aria-valuemin": Number(y.min),
1005
+ "aria-valuemax": Math.max(Number(y.min), Number(S.value) - 1),
1006
+ "aria-valuenow": Number(x.value)
1007
+ })), Br = u(() => ({
1008
+ tabindex: 0,
1009
+ role: "slider",
1010
+ "aria-label": "Range end",
1011
+ "aria-valuemin": Math.min(Number(y.max), Number(x.value) + 1),
1012
+ "aria-valuemax": Number(y.max),
1013
+ "aria-valuenow": Number(S.value)
1014
+ }));
1015
+ function Vr(e) {
1016
+ if (!zt.value) return 0;
1017
+ let t = zt.value.getBoundingClientRect();
1018
+ if (!t.width) return 0;
1019
+ let n = (e - t.left) / t.width;
1020
+ return Math.min(1, Math.max(0, n)) * F.value.width;
1021
+ }
1022
+ function Hr(e) {
1023
+ let t = Math.max(0, L.value - 1), n = Math.max(1, F.value.width), r = Math.min(1, Math.max(0, e / n));
1024
+ return Math.min(t, Math.max(0, Math.round(r * t)));
1025
+ }
1026
+ function Ur(e) {
1027
+ let t = Math.min(Math.max(0, e), Math.max(1, F.value.width));
1028
+ if (y.useValueRange) {
1029
+ let e = Kt(t);
1030
+ if (E.value === "start") {
1031
+ let t = Math.min(e, Number(S.value) - D.value);
1032
+ O.value = t, Qt(t);
1033
+ return;
1034
+ }
1035
+ if (E.value === "end") {
1036
+ let t = Math.max(Number(x.value) + D.value, e), n = Math.min(Number(y.max), t);
1037
+ k.value = n, $t(n);
1038
+ return;
1039
+ }
1040
+ }
1041
+ let n = Hr(t);
1042
+ if (E.value === "start") {
1043
+ let e = Math.min(y.min + n, Number(S.value) - 1);
1044
+ O.value = e, Qt(e);
1045
+ return;
1046
+ }
1047
+ if (E.value === "end") {
1048
+ let e = Math.max(Number(x.value) + 1, y.min + n + 1), t = Math.min(y.max, e);
1049
+ k.value = t, $t(t);
1050
+ }
1051
+ }
1052
+ function Wr(e) {
1053
+ if (!E.value || !P.value) return;
1054
+ let t = e.clientX - Lt.value;
1055
+ if (!It.value) {
1056
+ if (Math.abs(t) < 4) return;
1057
+ It.value = !0, w.value = !0, Z.value = !0;
1058
+ }
1059
+ let n = Vr(e.clientX) - Rt.value;
1060
+ Ur(E.value === "start" ? n + Xt.value : n);
1061
+ }
1062
+ function Gr() {
1063
+ if (!E.value) return;
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();
1067
+ }
1068
+ function Kr(e, t) {
1069
+ if (!C.value || !y.minimapCompact || !P.value) return;
1070
+ t.preventDefault(), t.stopPropagation(), W.value = null;
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);
1073
+ }
1074
+ let qr = u(() => R.value), Jr = u(() => Math.max(R.value, z.value - 1));
1075
+ u(() => {
1076
+ if (!C.value || !y.minimapCompact || !y.allMinimaps.length) return [];
1077
+ let e = qr.value, t = Jr.value;
1078
+ return H.value.flatMap((n) => {
1079
+ if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
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);
1081
+ return i && r.push({
1082
+ key: `${n.key}-left-${i.i}`,
1083
+ x: i.x,
1084
+ y: i.y,
1085
+ color: n.color
1086
+ }), a && t !== e && r.push({
1087
+ key: `${n.key}-right-${a.i}`,
1088
+ x: a.x,
1089
+ y: a.y,
1090
+ color: n.color
1091
+ }), r;
1092
+ });
1093
+ });
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);
1095
+ return At({
1096
+ setStartValue: qn,
1097
+ setEndValue: Yn
1098
+ }), (e, t) => (g(), f("div", {
1099
+ "data-minimap": C.value,
1100
+ "data-dom-to-png-ignore": "",
1101
+ "data-dom-to-png-ignore-layout": "",
1102
+ class: "vue-data-ui-zoom",
1103
+ ref_key: "zoomWrapper",
1104
+ ref: b,
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", {
1109
+ tabindex: "0",
1110
+ role: "button",
1111
+ class: "vue-data-ui-refresh-button",
1112
+ style: h({
1113
+ top: C.value ? "36px" : "-16px",
1114
+ cursor: s.isCursorPointer ? "pointer" : "default"
1115
+ }),
1116
+ onClick: dn
1117
+ }, [ce(oe, {
1118
+ name: "refresh",
1119
+ stroke: s.textColor
1120
+ }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
1121
+ class: "double-range-slider",
1122
+ ref_key: "minimapWrapper",
1123
+ ref: P,
1124
+ style: h([{ "z-index": "0" }, C.value ? {
1125
+ "--minimap-unit-px": B.value + "px",
1126
+ "--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
1127
+ } : void 0]),
1128
+ onMouseenter: t[18] ||= (e) => Z.value = !0,
1129
+ onMouseleave: t[19] ||= (e) => Z.value = !1
1130
+ }, [
1131
+ C.value ? (g(), f("div", Oe, [(g(), f("svg", {
1132
+ ref_key: "minimapSvg",
1133
+ ref: zt,
1134
+ key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1135
+ xmlns: ve(ne),
1136
+ viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
1137
+ preserveAspectRatio: "none"
1138
+ }, [
1139
+ p("defs", null, [ce(se, {
1140
+ t: "linear",
1141
+ id: Ft.value,
1142
+ x1: "0%",
1143
+ y1: "0%",
1144
+ x2: "0%",
1145
+ y2: "100%",
1146
+ stops: [[
1147
+ "0%",
1148
+ s.minimapLineColor,
1149
+ .31
1150
+ ], [
1151
+ "100%",
1152
+ "transparent",
1153
+ 0
1154
+ ]]
1155
+ }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
1156
+ x: U.value.x,
1157
+ y: "0",
1158
+ width: Math.max(0, U.value.width),
1159
+ height: Math.max(F.value.height, 0)
1160
+ }, null, 8, je)], 8, Ae)]),
1161
+ s.minimapCompact ? (g(), f("rect", {
1162
+ key: 0,
1163
+ class: "vue-ui-zoom-minimap-frame",
1164
+ x: 0,
1165
+ y: 0,
1166
+ width: F.value.width,
1167
+ height: F.value.height,
1168
+ fill: "none",
1169
+ stroke: s.minimapFrameColor,
1170
+ rx: 3
1171
+ }, null, 8, Me)) : d("", !0),
1172
+ e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1173
+ key: 0,
1174
+ d: `M${V.value.fullSet}`,
1175
+ stroke: `${s.minimapLineColor}`,
1176
+ fill: "none",
1177
+ "stroke-width": "1",
1178
+ "stroke-linecap": "round",
1179
+ "stroke-linejoin": "round",
1180
+ style: { opacity: "0.6" }
1181
+ }, null, 8, Ne)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1182
+ key: 1,
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`,
1184
+ fill: `url(#${Ft.value})`,
1185
+ stroke: "none",
1186
+ style: { opacity: "0.6" }
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", {
1189
+ key: 0,
1190
+ x: yn(n.x, t, r),
1191
+ y: n.v >= 0 ? n.y : n.y0,
1192
+ width: bn(t, r),
1193
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1194
+ fill: e.color,
1195
+ style: { opacity: .6 }
1196
+ }, null, 8, Fe)) : d("", !0)], 64))), 256))]))), 256)),
1197
+ (g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1198
+ key: 0,
1199
+ d: `M ${e.fullSet}`,
1200
+ fill: "none",
1201
+ stroke: e.color,
1202
+ style: { opacity: "0.6" },
1203
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1204
+ }, null, 8, Ie)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1205
+ key: `sel-dot-under-${e.key}-${t.i}`,
1206
+ cx: t.x,
1207
+ cy: t.y,
1208
+ r: "2",
1209
+ fill: e.color,
1210
+ stroke: N.value,
1211
+ "stroke-width": "0.5",
1212
+ style: { opacity: "0.6" }
1213
+ }, null, 8, Le))), 128)) : d("", !0)]))), 256)),
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", {
1215
+ key: `sel-plot-under-${e.key}-${t.i}`,
1216
+ cx: t.x,
1217
+ cy: t.y,
1218
+ r: "2",
1219
+ fill: e.color,
1220
+ stroke: N.value,
1221
+ "stroke-width": "0.5",
1222
+ style: { opacity: "0.6" }
1223
+ }, null, 8, Re)) : d("", !0)]))), 256))]))), 256))
1224
+ ], 64))], 64)),
1225
+ p("rect", {
1226
+ x: U.value.x,
1227
+ y: 0,
1228
+ width: Math.max(0, U.value.width),
1229
+ height: Math.max(F.value.height, 0),
1230
+ fill: N.value,
1231
+ rx: s.minimapSelectionRadius,
1232
+ stroke: "none"
1233
+ }, null, 8, ze),
1234
+ p("rect", {
1235
+ x: U.value.x,
1236
+ y: 0,
1237
+ width: U.value.width < 0 ? 0 : U.value.width,
1238
+ height: Math.max(F.value.height, 0),
1239
+ rx: s.minimapSelectionRadius,
1240
+ fill: N.value,
1241
+ style: h({ opacity: G.value || w.value ? 0 : 1 })
1242
+ }, null, 12, Be),
1243
+ p("rect", {
1244
+ x: U.value.x,
1245
+ y: 0,
1246
+ width: U.value.width < 0 ? 0 : U.value.width,
1247
+ height: Math.max(F.value.height, 0),
1248
+ fill: s.minimapSelectedColor,
1249
+ rx: s.minimapSelectionRadius,
1250
+ style: h({ opacity: s.minimapSelectedColorOpacity }),
1251
+ tabindex: "0",
1252
+ role: "slider",
1253
+ "aria-label": "Selected range",
1254
+ "aria-valuemin": Number(y.min),
1255
+ "aria-valuemax": Number(y.max),
1256
+ "aria-valuenow": Number(x.value),
1257
+ "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1258
+ onKeydown: Fr
1259
+ }, null, 44, Ve),
1260
+ !s.minimapMerged && On.value < 0 ? (g(), f("line", {
1261
+ key: 2,
1262
+ class: "slicer-minimap-zero-line",
1263
+ x1: 0,
1264
+ x2: F.value.width,
1265
+ y1: An.value,
1266
+ y2: An.value,
1267
+ stroke: s.minimapFrameColor,
1268
+ "stroke-width": "0.5"
1269
+ }, null, 8, He)) : d("", !0),
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", {
1272
+ key: 0,
1273
+ d: `M ${V.value.selectionSet}`,
1274
+ stroke: `${s.minimapLineColor}`,
1275
+ fill: "transparent",
1276
+ "stroke-width": "2",
1277
+ "stroke-linecap": "round",
1278
+ "stroke-linejoin": "round"
1279
+ }, null, 8, We)) : d("", !0)], 64)) : d("", !0),
1280
+ V.value && V.value.firstPlot ? (g(), f("circle", {
1281
+ key: 1,
1282
+ cx: V.value.firstPlot.x,
1283
+ cy: V.value.firstPlot.y,
1284
+ "stroke-width": "0.5",
1285
+ stroke: N.value,
1286
+ r: "3",
1287
+ fill: s.minimapLineColor
1288
+ }, null, 8, Ge)) : d("", !0),
1289
+ V.value && V.value.lastPlot ? (g(), f("circle", {
1290
+ key: 2,
1291
+ cx: V.value.lastPlot.x,
1292
+ cy: V.value.lastPlot.y,
1293
+ "stroke-width": "0.5",
1294
+ stroke: N.value,
1295
+ r: "3",
1296
+ fill: s.minimapLineColor
1297
+ }, null, 8, Ke)) : d("", !0)
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", {
1300
+ key: 0,
1301
+ x: yn(n.x, t, r),
1302
+ y: n.v >= 0 ? n.y : n.y0,
1303
+ width: bn(t, r),
1304
+ height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1305
+ fill: e.color,
1306
+ style: h({ opacity: +(r >= O.value && r < k.value) })
1307
+ }, null, 12, Je)) : d("", !0)], 64))), 256))]))), 256)),
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", {
1309
+ key: 0,
1310
+ d: `M ${e.selectionSet}`,
1311
+ stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1312
+ fill: "transparent",
1313
+ "stroke-width": "2",
1314
+ "stroke-linecap": "round",
1315
+ "stroke-linejoin": "round",
1316
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1317
+ }, null, 8, Ye)) : d("", !0)]))), 128)),
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", {
1319
+ key: 0,
1320
+ cx: t.x,
1321
+ cy: t.y,
1322
+ r: "2",
1323
+ fill: e.color,
1324
+ stroke: N.value,
1325
+ "stroke-width": "0.5",
1326
+ style: { opacity: "0.6" }
1327
+ }, null, 8, Xe)) : d("", !0)]))), 256))]))), 128))
1328
+ ]))], 64)),
1329
+ e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
1330
+ width: Math.max(0, F.value.width),
1331
+ height: Math.max(0, F.value.height),
1332
+ zeroY: An.value,
1333
+ unitW: Math.max(0, B.value)
1334
+ })), void 0, !0, 4) : d("", !0),
1335
+ W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Er.value)), null, 16)) : d("", !0),
1336
+ p("rect", {
1337
+ x: 0,
1338
+ y: 0,
1339
+ width: Math.max(0, F.value.width),
1340
+ height: Math.max(0, F.value.height),
1341
+ fill: "transparent",
1342
+ style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1343
+ onMousedown: t[0] ||= (e) => X.value = !0,
1344
+ onMouseup: t[1] ||= (e) => X.value = !1,
1345
+ onMousemove: Vn,
1346
+ onMouseleave: Hn
1347
+ }, null, 44, Ze),
1348
+ C.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [
1349
+ p("rect", {
1350
+ class: "vue-ui-zoom-compact-minimap-handle",
1351
+ x: Yr.value,
1352
+ y: 0,
1353
+ width: $.value,
1354
+ height: F.value.height,
1355
+ fill: s.handleFill || N.value,
1356
+ stroke: s.handleBorderColor || s.textColor,
1357
+ "stroke-width": s.handleBorderWidth,
1358
+ rx: 3
1359
+ }, null, 8, Qe),
1360
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1361
+ key: 0,
1362
+ class: "compact-handle-icon",
1363
+ transform: `translate(${Yr.value}, 0)`,
1364
+ style: { "pointer-events": "none" }
1365
+ }, [(g(), f("svg", {
1366
+ width: $.value,
1367
+ height: F.value.height,
1368
+ viewBox: "0 0 20 20",
1369
+ preserveAspectRatio: "xMidYMid meet"
1370
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1371
+ key: 0,
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",
1373
+ fill: N.value,
1374
+ stroke: s.handleIconColor || s.textColor,
1375
+ "stroke-width": .618,
1376
+ "stroke-linejoin": "round",
1377
+ "stroke-linecap": "round"
1378
+ }, null, 8, tt)) : s.handleType === "chevron" ? (g(), f("path", {
1379
+ key: 1,
1380
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1381
+ fill: "none",
1382
+ stroke: s.handleIconColor || s.textColor,
1383
+ "stroke-width": .618,
1384
+ "stroke-linejoin": "round",
1385
+ "stroke-linecap": "round"
1386
+ }, null, 8, nt)) : s.handleType === "grab" ? (g(), f("path", {
1387
+ key: 2,
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",
1389
+ fill: s.handleIconColor || s.textColor,
1390
+ stroke: "none",
1391
+ opacity: "0.6"
1392
+ }, null, 8, rt)) : d("", !0)], 8, et))], 8, $e)) : d("", !0),
1393
+ p("rect", {
1394
+ class: "vue-ui-zoom-compact-minimap-handle",
1395
+ x: Xr.value,
1396
+ y: 0,
1397
+ width: $.value,
1398
+ height: F.value.height,
1399
+ fill: s.handleFill || N.value,
1400
+ stroke: s.handleBorderColor || s.textColor,
1401
+ "stroke-width": s.handleBorderWidth,
1402
+ rx: 3
1403
+ }, null, 8, it),
1404
+ s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1405
+ key: 1,
1406
+ class: "compact-handle-icon",
1407
+ transform: `translate(${Xr.value}, 0)`,
1408
+ style: { "pointer-events": "none" }
1409
+ }, [(g(), f("svg", {
1410
+ width: $.value,
1411
+ height: F.value.height,
1412
+ viewBox: "0 0 20 20",
1413
+ preserveAspectRatio: "xMidYMid meet"
1414
+ }, [s.handleType === "arrow" ? (g(), f("path", {
1415
+ key: 0,
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",
1417
+ fill: N.value,
1418
+ stroke: s.handleIconColor || s.textColor,
1419
+ "stroke-width": .618,
1420
+ "stroke-linejoin": "round",
1421
+ "stroke-linecap": "round"
1422
+ }, null, 8, st)) : s.handleType === "chevron" ? (g(), f("path", {
1423
+ key: 1,
1424
+ d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1425
+ fill: "none",
1426
+ stroke: s.handleIconColor || s.textColor,
1427
+ "stroke-width": .618,
1428
+ "stroke-linejoin": "round",
1429
+ "stroke-linecap": "round"
1430
+ }, null, 8, ct)) : s.handleType === "grab" ? (g(), f("path", {
1431
+ key: 2,
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",
1433
+ fill: s.handleIconColor || s.textColor,
1434
+ stroke: "none",
1435
+ opacity: "0.6"
1436
+ }, null, 8, lt)) : d("", !0)], 8, ot))], 8, at)) : d("", !0)
1437
+ ], 64)) : d("", !0),
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", {
1440
+ key: 0,
1441
+ cx: V.value.firstPlot.x,
1442
+ cy: V.value.firstPlot.y,
1443
+ "stroke-width": "0.5",
1444
+ stroke: N.value,
1445
+ r: "4",
1446
+ fill: s.minimapLineColor
1447
+ }, null, 8, dt)) : d("", !0),
1448
+ V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1449
+ key: 1,
1450
+ cx: V.value.firstPlot.x,
1451
+ cy: V.value.firstPlot.y,
1452
+ r: 2,
1453
+ fill: N.value
1454
+ }, null, 8, ft)) : d("", !0),
1455
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1456
+ key: 2,
1457
+ cx: V.value.lastPlot.x,
1458
+ cy: V.value.lastPlot.y,
1459
+ "stroke-width": "0.5",
1460
+ stroke: N.value,
1461
+ r: "4",
1462
+ fill: s.minimapLineColor
1463
+ }, null, 8, pt)) : d("", !0),
1464
+ V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1465
+ key: 3,
1466
+ cx: V.value.lastPlot.x,
1467
+ cy: V.value.lastPlot.y,
1468
+ r: "2",
1469
+ fill: N.value
1470
+ }, null, 8, mt)) : d("", !0)
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", {
1473
+ key: 0,
1474
+ d: `M ${e.selectionSet}`,
1475
+ stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1476
+ fill: "transparent",
1477
+ "stroke-width": "2",
1478
+ "stroke-linecap": "round",
1479
+ "stroke-linejoin": "round",
1480
+ "stroke-dasharray": e.dashed ? "2 4" : 0
1481
+ }, null, 8, gt)) : d("", !0),
1482
+ e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1483
+ key: `sel-dot-${e.key}-${t.i}`,
1484
+ cx: t.x,
1485
+ cy: t.y,
1486
+ r: "2.5",
1487
+ fill: e.color,
1488
+ stroke: N.value,
1489
+ "stroke-width": "0.5"
1490
+ }, null, 8, _t))), 128)) : d("", !0),
1491
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1492
+ key: 2,
1493
+ cx: e.firstPlot.x,
1494
+ cy: e.firstPlot.y,
1495
+ "stroke-width": "0.5",
1496
+ stroke: N.value,
1497
+ r: "4",
1498
+ fill: e.color
1499
+ }, null, 8, vt)) : d("", !0),
1500
+ e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1501
+ key: 3,
1502
+ cx: e.firstPlot.x,
1503
+ cy: e.firstPlot.y,
1504
+ r: "2",
1505
+ fill: N.value
1506
+ }, null, 8, yt)) : d("", !0),
1507
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1508
+ key: 4,
1509
+ cx: e.lastPlot.x,
1510
+ cy: e.lastPlot.y,
1511
+ "stroke-width": "0.5",
1512
+ stroke: N.value,
1513
+ r: "4",
1514
+ fill: e.color
1515
+ }, null, 8, bt)) : d("", !0),
1516
+ e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1517
+ key: 5,
1518
+ cx: e.lastPlot.x,
1519
+ cy: e.lastPlot.y,
1520
+ r: "2",
1521
+ fill: N.value
1522
+ }, null, 8, xt)) : d("", !0)
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", {
1524
+ key: `sel-plot-${e.key}-${t.i}`,
1525
+ cx: t.x,
1526
+ cy: t.y,
1527
+ r: "2.5",
1528
+ fill: e.color,
1529
+ stroke: N.value,
1530
+ "stroke-width": "0.5"
1531
+ }, null, 8, St)) : d("", !0)]))), 256))]))), 128))]))], 64))
1532
+ ], 8, ke))])) : d("", !0),
1533
+ p("div", {
1534
+ class: "slider-track",
1535
+ style: h({ visibility: C.value && s.minimapCompact ? "hidden" : "visible" })
1536
+ }, null, 4),
1537
+ p("div", {
1538
+ class: m({
1539
+ "range-highlight": !0,
1540
+ move: s.enableSelectionDrag
1541
+ }),
1542
+ onMousedown: t[2] ||= (e) => X.value = !0,
1543
+ onMouseup: t[3] ||= (e) => X.value = !1,
1544
+ style: h({
1545
+ ...M.value,
1546
+ cursor: X.value ? "grabbing" : "grab",
1547
+ visibility: C.value && s.minimapCompact ? "hidden" : "visible"
1548
+ })
1549
+ }, null, 38),
1550
+ s.enableRangeHandles ? Se((g(), f("input", {
1551
+ key: 1,
1552
+ "aria-label": "range-handle-left",
1553
+ ref_key: "rangeStart",
1554
+ ref: Un,
1555
+ type: "range",
1556
+ step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1557
+ class: m({
1558
+ "range-left": !0,
1559
+ "range-handle": !0,
1560
+ "range-minimap": C.value && s.verticalHandles,
1561
+ "range-invisible": C.value && s.minimapCompact
1562
+ }),
1563
+ min: s.min,
1564
+ max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1565
+ tabindex: C.value ? -1 : 0,
1566
+ "onUpdate:modelValue": t[4] ||= (e) => Pn.value = e,
1567
+ onFocus: t[5] ||= (e) => C.value && e.target.blur(),
1568
+ onInput: t[6] ||= (e) => Pn.value = e.target.valueAsNumber,
1569
+ onChange: A,
1570
+ onKeyup: Ce(A, ["enter"]),
1571
+ onBlur: A,
1572
+ onMouseenter: t[7] ||= (e) => Cr("start"),
1573
+ onPointerup: A
1574
+ }, null, 42, Ct)), [[
1575
+ be,
1576
+ Pn.value,
1577
+ void 0,
1578
+ { number: !0 }
1579
+ ]]) : d("", !0),
1580
+ s.enableRangeHandles ? Se((g(), f("input", {
1581
+ key: 2,
1582
+ "aria-label": "range-handle-right",
1583
+ ref_key: "rangeEnd",
1584
+ ref: Wn,
1585
+ type: "range",
1586
+ step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1587
+ class: m({
1588
+ "range-right": !0,
1589
+ "range-handle": !0,
1590
+ "range-minimap": C.value && s.verticalHandles,
1591
+ "range-invisible": C.value && s.minimapCompact
1592
+ }),
1593
+ min: s.min,
1594
+ max: s.minimapCompact && C.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1595
+ tabindex: C.value ? -1 : 0,
1596
+ onFocus: t[8] ||= (e) => C.value && e.target.blur(),
1597
+ "onUpdate:modelValue": t[9] ||= (e) => Fn.value = e,
1598
+ onInput: t[10] ||= (e) => Fn.value = e.target.valueAsNumber,
1599
+ onChange: A,
1600
+ onKeyup: Ce(A, ["enter"]),
1601
+ onBlur: A,
1602
+ onMouseenter: t[11] ||= (e) => Cr("end"),
1603
+ onPointerup: A
1604
+ }, null, 42, wt)), [[
1605
+ be,
1606
+ Fn.value,
1607
+ void 0,
1608
+ { number: !0 }
1609
+ ]]) : d("", !0),
1610
+ C.value && s.minimapCompact ? (g(), f("div", Tt, [(g(), f("svg", {
1611
+ xmlns: ve(ne),
1612
+ viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height + 1)}`
1613
+ }, [p("rect", ue({
1614
+ class: "vue-ui-zoom-compact-minimap-handle",
1615
+ x: Yr.value,
1616
+ y: 0,
1617
+ width: $.value,
1618
+ height: F.value.height,
1619
+ fill: "transparent",
1620
+ stroke: "none"
1621
+ }, zr.value, {
1622
+ onKeydown: t[12] ||= (e) => Rr("start", e),
1623
+ onMousedown: t[13] ||= we((e) => Kr("start", e), ["stop", "prevent"]),
1624
+ onClick: t[14] ||= we(() => {}, ["stop", "prevent"])
1625
+ }), null, 16, Dt), p("rect", ue({
1626
+ class: "vue-ui-zoom-compact-minimap-handle",
1627
+ x: Xr.value,
1628
+ y: 0,
1629
+ width: $.value,
1630
+ height: F.value.height,
1631
+ fill: "transparent",
1632
+ stroke: "none",
1633
+ rx: 3
1634
+ }, Br.value, {
1635
+ onKeydown: t[15] ||= (e) => Rr("end", e),
1636
+ onMousedown: t[16] ||= we((e) => Kr("end", e), ["stop", "prevent"]),
1637
+ onClick: t[17] ||= we(() => {}, ["stop", "prevent"])
1638
+ }), null, 16, Ot)], 8, Et))])) : d("", !0),
1639
+ Q.value.left ? (g(), f("div", {
1640
+ key: 4,
1641
+ ref_key: "tooltipLeft",
1642
+ ref: gr,
1643
+ class: m({
1644
+ "range-tooltip": !0,
1645
+ "range-tooltip-visible": Z.value,
1646
+ "range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
1647
+ "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
1648
+ }),
1649
+ style: h({
1650
+ left: M.value.tooltipLeft,
1651
+ color: ve(te)(s.selectColor),
1652
+ backgroundColor: s.selectColor,
1653
+ border: `1px solid ${N.value}`,
1654
+ zIndex: `${Sr.value + 4}`,
1655
+ visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1656
+ top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1657
+ })
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", {
1660
+ key: 5,
1661
+ ref: "tooltipMerge",
1662
+ class: m({
1663
+ "range-tooltip": !0,
1664
+ "range-tooltip-visible": Z.value,
1665
+ "range-tooltip-arrow": !0,
1666
+ "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
1667
+ "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1668
+ }),
1669
+ style: h({
1670
+ left: M.value.tooltipCenter,
1671
+ width: Tr.value.width + "px",
1672
+ color: ve(te)(s.selectColor),
1673
+ backgroundColor: s.selectColor,
1674
+ border: `1px solid ${N.value}`,
1675
+ zIndex: "4",
1676
+ top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1677
+ })
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", {
1680
+ key: 6,
1681
+ ref_key: "tooltipRight",
1682
+ ref: _r,
1683
+ class: m({
1684
+ "range-tooltip": !0,
1685
+ "range-tooltip-visible": Z.value,
1686
+ "range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
1687
+ "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1688
+ }),
1689
+ style: h({
1690
+ left: M.value.tooltipRight,
1691
+ color: ve(te)(s.selectColor),
1692
+ backgroundColor: s.selectColor,
1693
+ border: `1px solid ${N.value}`,
1694
+ zIndex: "4",
1695
+ visibility: wr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1696
+ top: C.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1697
+ })
1698
+ }, _e(Q.value.right), 7)) : d("", !0)
1699
+ ], 36)], 44, Te));
1700
+ }
1701
+ }, [["__scopeId", "data-v-023703bd"]]);
1702
+ //#endregion
1703
+ export { At as t };