vue-data-ui 3.22.8 → 3.22.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
  2. package/dist/BaseIcon-UdRAvP2h.js +483 -0
  3. package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
  4. package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
  5. package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
  6. package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
  7. package/dist/DefGrad-DVBqDjhO.js +48 -0
  8. package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
  9. package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
  10. package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
  11. package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
  12. package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
  13. package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.js} +1 -1
  14. package/dist/components/vue-ui-3d-bar.js +1 -1
  15. package/dist/components/vue-ui-accordion.js +1 -1
  16. package/dist/components/vue-ui-age-pyramid.js +1 -1
  17. package/dist/components/vue-ui-annotator.js +1 -1
  18. package/dist/components/vue-ui-bullet.js +1 -1
  19. package/dist/components/vue-ui-bump.js +1 -1
  20. package/dist/components/vue-ui-candlestick.js +1 -1
  21. package/dist/components/vue-ui-carousel-table.js +1 -1
  22. package/dist/components/vue-ui-chestnut.js +1 -1
  23. package/dist/components/vue-ui-chord.js +1 -1
  24. package/dist/components/vue-ui-circle-pack.js +1 -1
  25. package/dist/components/vue-ui-cursor.js +1 -1
  26. package/dist/components/vue-ui-dag.js +1 -1
  27. package/dist/components/vue-ui-dashboard.js +1 -1
  28. package/dist/components/vue-ui-digits.js +1 -1
  29. package/dist/components/vue-ui-donut-evolution.js +1 -1
  30. package/dist/components/vue-ui-donut.js +1 -1
  31. package/dist/components/vue-ui-dumbbell.js +1 -1
  32. package/dist/components/vue-ui-flow.js +1 -1
  33. package/dist/components/vue-ui-funnel.js +1 -1
  34. package/dist/components/vue-ui-galaxy.js +1 -1
  35. package/dist/components/vue-ui-gauge.js +1 -1
  36. package/dist/components/vue-ui-geo.js +1 -1
  37. package/dist/components/vue-ui-gizmo.js +1 -1
  38. package/dist/components/vue-ui-heatmap.js +1 -1
  39. package/dist/components/vue-ui-history-plot.js +1 -1
  40. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  41. package/dist/components/vue-ui-icon.js +1 -1
  42. package/dist/components/vue-ui-kpi.js +1 -1
  43. package/dist/components/vue-ui-molecule.js +1 -1
  44. package/dist/components/vue-ui-mood-radar.js +1 -1
  45. package/dist/components/vue-ui-nested-donuts.js +1 -1
  46. package/dist/components/vue-ui-onion.js +1 -1
  47. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  48. package/dist/components/vue-ui-quadrant.js +1 -1
  49. package/dist/components/vue-ui-quick-chart.js +1 -1
  50. package/dist/components/vue-ui-radar.js +1 -1
  51. package/dist/components/vue-ui-rating.js +1 -1
  52. package/dist/components/vue-ui-relation-circle.js +1 -1
  53. package/dist/components/vue-ui-ridgeline.js +1 -1
  54. package/dist/components/vue-ui-rings.js +1 -1
  55. package/dist/components/vue-ui-scatter.js +1 -1
  56. package/dist/components/vue-ui-skeleton.js +1 -1
  57. package/dist/components/vue-ui-smiley.js +1 -1
  58. package/dist/components/vue-ui-spark-trend.js +1 -1
  59. package/dist/components/vue-ui-sparkbar.js +1 -1
  60. package/dist/components/vue-ui-sparkgauge.js +1 -1
  61. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  62. package/dist/components/vue-ui-sparkline.js +1 -1
  63. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  64. package/dist/components/vue-ui-stackbar.js +1 -1
  65. package/dist/components/vue-ui-stackline.js +1 -1
  66. package/dist/components/vue-ui-strip-plot.js +1 -1
  67. package/dist/components/vue-ui-table-heatmap.js +1 -1
  68. package/dist/components/vue-ui-table-sparkline.js +1 -1
  69. package/dist/components/vue-ui-table.js +1 -1
  70. package/dist/components/vue-ui-thermometer.js +1 -1
  71. package/dist/components/vue-ui-timer.js +1 -1
  72. package/dist/components/vue-ui-tiremarks.js +1 -1
  73. package/dist/components/vue-ui-treemap.js +1 -1
  74. package/dist/components/vue-ui-vertical-bar.js +1 -1
  75. package/dist/components/vue-ui-waffle.js +1 -1
  76. package/dist/components/vue-ui-wheel.js +1 -1
  77. package/dist/components/vue-ui-word-cloud.js +1 -1
  78. package/dist/components/vue-ui-world.js +1 -1
  79. package/dist/components/vue-ui-xy-canvas.js +1 -1
  80. package/dist/components/vue-ui-xy.js +1 -1
  81. package/dist/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
  82. package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
  83. package/dist/ssr/vue-ui-donut.js +1 -1
  84. package/dist/ssr/vue-ui-xy.js +1 -1
  85. package/dist/ssr.js +2 -2
  86. package/dist/style.css +1 -1
  87. package/dist/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
  88. package/dist/vue-data-ui.js +67 -67
  89. package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
  90. package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
  91. package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
  92. package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
  93. package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
  94. package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
  95. package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
  96. package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
  97. package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
  98. package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
  99. package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
  100. package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
  101. package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
  102. package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
  103. package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
  104. package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
  105. package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
  106. package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
  107. package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
  108. package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
  109. package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
  110. package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
  111. package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
  112. package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
  113. package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
  114. package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
  115. package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
  116. package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
  117. package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
  118. package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
  119. package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
  120. package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
  121. package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
  122. package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
  123. package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
  124. package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
  125. package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
  126. package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
  127. package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
  128. package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
  129. package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
  130. package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
  131. package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
  132. package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
  133. package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
  134. package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
  135. package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
  136. package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
  137. package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
  138. package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
  139. package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
  140. package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
  141. package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
  142. package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
  143. package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
  144. package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
  145. package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
  146. package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
  147. package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
  148. package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
  149. package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
  150. package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
  151. package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
  152. package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
  153. package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
  154. package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
  155. package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
  156. package/package.json +1 -1
  157. package/dist/BaseIcon-C2qlyHc7.js +0 -502
  158. package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
  159. package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
  160. package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
  161. package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
  162. package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
  163. package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
  164. package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
  165. package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
  166. package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
  167. package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
  168. package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
  169. package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
@@ -2,140 +2,141 @@ import { B as e, G as t, M as n, P as r, qt as i, r as a, t as o, z as ee } from
2
2
  import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
3
  import { c, r as te } from "./canvas-lib-BOP_HS11.js";
4
4
  import { t as l } from "./useResponsive-BfnK0KxU.js";
5
- import { t as ne } from "./BaseIcon-C2qlyHc7.js";
6
- import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as re, mergeProps as ie, nextTick as ae, normalizeClass as h, normalizeProps as oe, normalizeStyle as g, onBeforeUnmount as se, onMounted as ce, onUpdated as le, openBlock as _, ref as v, renderList as y, renderSlot as ue, toDisplayString as de, unref as fe, useCssVars as pe, vModelText as me, watch as b, withDirectives as he } from "vue";
5
+ import { t as ne } from "./BaseIcon-UdRAvP2h.js";
6
+ import { t as re } from "./DefGrad-DVBqDjhO.js";
7
+ import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as ie, mergeProps as ae, nextTick as oe, normalizeClass as h, normalizeProps as se, normalizeStyle as g, onBeforeUnmount as ce, onMounted as le, onUpdated as ue, openBlock as _, ref as v, renderList as y, renderSlot as de, toDisplayString as fe, unref as pe, useCssVars as me, vModelText as he, watch as b, withDirectives as ge } from "vue";
7
8
  //#region src/atoms/Slicer.vue
8
- var ge = ["data-minimap"], _e = {
9
+ var _e = ["data-minimap"], ve = {
9
10
  class: "vue-data-ui-slicer-labels",
10
11
  style: {
11
12
  position: "relative",
12
13
  "z-index": "1",
13
14
  "pointer-events": "none"
14
15
  }
15
- }, ve = {
16
+ }, ye = {
16
17
  key: 0,
17
18
  style: {
18
19
  width: "100%",
19
20
  position: "relative",
20
21
  "pointer-events": "all"
21
22
  }
22
- }, ye = {
23
+ }, be = {
23
24
  key: 0,
24
25
  class: "minimap",
25
26
  style: { width: "100%" }
26
- }, be = ["xmlns", "viewBox"], xe = ["id"], Se = ["stop-color"], Ce = [
27
+ }, xe = ["xmlns", "viewBox"], Se = [
27
28
  "width",
28
29
  "height",
29
30
  "stroke"
30
- ], we = ["d", "stroke"], Te = [
31
+ ], Ce = ["d", "stroke"], we = [
31
32
  "x",
32
33
  "width",
33
34
  "y",
34
35
  "height",
35
36
  "fill"
36
- ], Ee = ["d", "stroke"], De = [
37
+ ], Te = ["d", "stroke"], Ee = [
37
38
  "cx",
38
39
  "cy",
39
40
  "fill",
40
41
  "stroke"
41
- ], Oe = [
42
+ ], De = [
42
43
  "x",
43
44
  "width",
44
45
  "height",
45
46
  "fill",
46
47
  "rx"
47
- ], ke = [
48
+ ], Oe = [
48
49
  "x",
49
50
  "width",
50
51
  "height",
51
52
  "rx",
52
53
  "fill"
53
- ], Ae = [
54
+ ], ke = [
54
55
  "x",
55
56
  "width",
56
57
  "height",
57
58
  "fill",
58
59
  "rx"
59
- ], je = [
60
+ ], Ae = [
60
61
  "x2",
61
62
  "y1",
62
63
  "y2",
63
64
  "stroke"
64
- ], Me = ["d", "fill"], Ne = ["d", "stroke"], Pe = { key: 6 }, Fe = [
65
+ ], je = ["d", "fill"], Me = ["d", "stroke"], Ne = { key: 6 }, Pe = [
65
66
  "x",
66
67
  "width",
67
68
  "y",
68
69
  "height",
69
70
  "fill"
70
- ], Ie = ["d", "stroke"], Le = [
71
+ ], Fe = ["d", "stroke"], Ie = [
71
72
  "x",
72
73
  "width",
73
74
  "height",
74
75
  "fill",
75
76
  "stroke",
76
77
  "stroke-width"
77
- ], Re = [
78
+ ], Le = [
78
79
  "x",
79
80
  "width",
80
81
  "height"
81
- ], ze = ["fill", "stroke"], Be = ["stroke"], Ve = ["fill"], He = [
82
+ ], Re = ["fill", "stroke"], ze = ["stroke"], Be = ["fill"], Ve = [
82
83
  "x",
83
84
  "width",
84
85
  "height",
85
86
  "fill",
86
87
  "stroke",
87
88
  "stroke-width"
88
- ], Ue = [
89
+ ], He = [
89
90
  "x",
90
91
  "width",
91
92
  "height"
92
- ], We = ["fill", "stroke"], Ge = ["stroke"], Ke = ["fill"], qe = [
93
+ ], Ue = ["fill", "stroke"], We = ["stroke"], Ge = ["fill"], Ke = [
93
94
  "cx",
94
95
  "cy",
95
96
  "stroke",
96
97
  "fill"
97
- ], Je = [
98
+ ], qe = [
98
99
  "cx",
99
100
  "cy",
100
101
  "fill"
101
- ], Ye = [
102
+ ], Je = [
102
103
  "cx",
103
104
  "cy",
104
105
  "stroke",
105
106
  "fill"
106
- ], Xe = [
107
+ ], Ye = [
107
108
  "cx",
108
109
  "cy",
109
110
  "fill"
110
- ], Ze = { key: 12 }, Qe = [
111
+ ], Xe = { key: 12 }, Ze = [
111
112
  "cx",
112
113
  "cy",
113
114
  "fill",
114
115
  "stroke"
115
- ], $e = [
116
+ ], Qe = [
116
117
  "cx",
117
118
  "cy",
118
119
  "stroke",
119
120
  "fill"
120
- ], et = [
121
+ ], $e = [
121
122
  "cx",
122
123
  "cy",
123
124
  "fill"
124
- ], tt = [
125
+ ], et = [
125
126
  "cx",
126
127
  "cy",
127
128
  "stroke",
128
129
  "fill"
129
- ], nt = [
130
+ ], tt = [
130
131
  "cx",
131
132
  "cy",
132
133
  "fill"
133
- ], rt = [
134
+ ], nt = [
134
135
  "height",
135
136
  "x",
136
137
  "width",
137
138
  "onMouseenter"
138
- ], it = ["min", "max"], at = ["min", "max"], ot = 48, st = /*#__PURE__*/ s({
139
+ ], rt = ["min", "max"], it = ["min", "max"], at = 48, ot = /*#__PURE__*/ s({
139
140
  __name: "Slicer",
140
141
  props: {
141
142
  background: {
@@ -315,98 +316,98 @@ var ge = ["data-minimap"], _e = {
315
316
  "reset",
316
317
  "trapMouse"
317
318
  ],
318
- setup(s, { expose: st, emit: ct }) {
319
- pe((e) => ({
320
- e4f226d4: wt.value,
321
- v257c750a: A.value,
322
- v746192fb: Et.value,
323
- v05b1b63a: s.selectColor,
324
- v77671870: Tt.value
319
+ setup(s, { expose: ot, emit: st }) {
320
+ me((e) => ({
321
+ v78171e72: St.value,
322
+ v5be9f93b: j.value,
323
+ v3bad6e6c: wt.value,
324
+ v3c1f3a6b: s.selectColor,
325
+ v430a7779: Ct.value
325
326
  }));
326
- let x = s, S = v(null), C = v(x.min), w = v(x.max), T = d(() => !!x.allMinimaps.length), lt = v(t()), E = d(() => T.value && x.minimapCompact), ut = v(0);
327
- ce(() => {
327
+ let x = s, S = v(null), C = v(x.min), w = v(x.max), T = d(() => !!x.allMinimaps.length), ct = v(t()), E = d(() => T.value && x.minimapCompact), lt = v(0);
328
+ le(() => {
328
329
  let e = () => {
329
- S.value && (ut.value = S.value.getBoundingClientRect().width);
330
+ S.value && (lt.value = S.value.getBoundingClientRect().width);
330
331
  };
331
332
  e();
332
333
  let t = c(e, 50);
333
- window.addEventListener("resize", t), se(() => {
334
+ window.addEventListener("resize", t), ce(() => {
334
335
  window.removeEventListener("resize", t);
335
336
  });
336
337
  });
337
- let dt = d(() => x.refreshEndPoint === null ? x.max : x.refreshEndPoint), D = ct, O = d(() => {
338
+ let ut = d(() => x.refreshEndPoint === null ? x.max : x.refreshEndPoint), D = st, O = d(() => {
338
339
  if (E.value) {
339
- let e = Math.max(1, Sn.value - 1);
340
- return St.value / e * 100;
340
+ let e = Math.max(1, xn.value - 1);
341
+ return bt.value / e * 100;
341
342
  }
342
343
  let e = Math.max(1, x.max - x.min);
343
344
  return (C.value - x.min) / e * 100;
344
- }), ft = d(() => {
345
+ }), dt = d(() => {
345
346
  if (E.value) {
346
- let e = Math.max(1, Sn.value - 1);
347
- return Ct.value / e * 100;
347
+ let e = Math.max(1, xn.value - 1);
348
+ return xt.value / e * 100;
348
349
  }
349
350
  let e = Math.max(1, x.max - x.min);
350
351
  return (w.value - x.min) / e * 100;
351
- }), pt = d(() => (O.value + ft.value) / 2), mt = d(() => {
352
+ }), ft = d(() => (O.value + dt.value) / 2), pt = d(() => {
352
353
  if (!S.value) return !1;
353
354
  let e = S.value.getBoundingClientRect().width;
354
- return O.value / 100 * e - hn.value / 2 < 0;
355
- }), ht = d(() => {
355
+ return O.value / 100 * e - pn.value / 2 < 0;
356
+ }), mt = d(() => {
356
357
  if (!S.value) return !1;
357
358
  let e = S.value.getBoundingClientRect().width;
358
- return ft.value / 100 * e + gn.value / 2 > e;
359
+ return dt.value / 100 * e + mn.value / 2 > e;
359
360
  }), k = d(() => {
360
- let e = ht.value ? `calc(${pt.value}% - ${xn.value.width}px)` : mt.value ? `calc(${pt.value}% - 8px)` : `calc(${pt.value}% - ${xn.value.width / 2}px)`;
361
+ let e = mt.value ? `calc(${ft.value}% - ${bn.value.width}px)` : pt.value ? `calc(${ft.value}% - 8px)` : `calc(${ft.value}% - ${bn.value.width / 2}px)`;
361
362
  return {
362
363
  left: `${O.value}%`,
363
- width: `${Math.max(0, ft.value - O.value)}%`,
364
+ width: `${Math.max(0, dt.value - O.value)}%`,
364
365
  background: x.selectColor,
365
- tooltipLeft: `calc(${O.value}% - ${mt.value ? 9 : hn.value / 2}px)`,
366
- tooltipRight: `calc(${ft.value}% - ${ht.value ? gn.value - 9 : gn.value / 2}px)`,
366
+ tooltipLeft: `calc(${O.value}% - ${pt.value ? 9 : pn.value / 2}px)`,
367
+ tooltipRight: `calc(${dt.value}% - ${mt.value ? mn.value - 9 : mn.value / 2}px)`,
367
368
  tooltipCenter: e,
368
- arrowLeft: !mt.value,
369
- arrowRight: !ht.value
369
+ arrowLeft: !pt.value,
370
+ arrowRight: !mt.value
370
371
  };
371
- }), gt = d(() => Math.max(0, (N.value || 1) - 1)), _t = d(() => Math.max(0, (Sn.value || 1) - 1));
372
- function vt(e) {
373
- return _t.value === 0 ? 0 : Math.round(e / _t.value * gt.value);
372
+ }), A = d(() => Math.max(0, (P.value || 1) - 1)), ht = d(() => Math.max(0, (xn.value || 1) - 1));
373
+ function gt(e) {
374
+ return ht.value === 0 ? 0 : Math.round(e / ht.value * A.value);
374
375
  }
375
- function yt(e) {
376
- return gt.value === 0 ? 0 : Math.round(e / gt.value * _t.value);
376
+ function _t(e) {
377
+ return A.value === 0 ? 0 : Math.round(e / A.value * ht.value);
377
378
  }
378
- let bt = (e) => Math.floor(x.min + e), xt = (e) => Math.ceil(x.min + e), St = d({
379
+ let vt = (e) => Math.floor(x.min + e), yt = (e) => Math.ceil(x.min + e), bt = d({
379
380
  get() {
380
- return E.value ? vt(Q.value) : Number(C.value);
381
+ return E.value ? gt(Q.value) : Number(C.value);
381
382
  },
382
383
  set(e) {
383
384
  if (E.value) {
384
- let t = Math.round(+e || 0), n = Math.max(0, vt(Math.max(0, $.value - 1)));
385
- B(bt(yt(Math.min(Math.max(0, t), n))));
385
+ let t = Math.round(+e || 0), n = Math.max(0, gt(Math.max(0, $.value - 1)));
386
+ H(vt(_t(Math.min(Math.max(0, t), n))));
386
387
  } else {
387
388
  let t = Math.round(+e || 0), n = Number(w.value) - 1;
388
- B(Math.min(Math.max(x.min, t), n));
389
+ H(Math.min(Math.max(x.min, t), n));
389
390
  }
390
391
  }
391
- }), Ct = d({
392
+ }), xt = d({
392
393
  get() {
393
- return E.value ? vt(Math.max(Q.value, $.value - 1)) : Number(w.value);
394
+ return E.value ? gt(Math.max(Q.value, $.value - 1)) : Number(w.value);
394
395
  },
395
396
  set(e) {
396
397
  if (E.value) {
397
- let t = Math.round(+e || 0), n = vt(Q.value);
398
- V(xt(yt(Math.max(t, n)) + 1));
398
+ let t = Math.round(+e || 0), n = gt(Q.value);
399
+ U(yt(_t(Math.max(t, n)) + 1));
399
400
  } else {
400
401
  let t = Math.round(+e || 0), n = Number(C.value) + 1;
401
- V(Math.max(n, Math.min(t, x.max)));
402
+ U(Math.max(n, Math.min(t, x.max)));
402
403
  }
403
404
  }
404
- }), wt = d(() => x.inputColor), Tt = d(() => x.background), Et = d(() => `${x.selectColor}33`), A = d(() => x.borderColor), Dt = d(() => {
405
+ }), St = d(() => x.inputColor), Ct = d(() => x.background), wt = d(() => `${x.selectColor}33`), j = d(() => x.borderColor), Tt = d(() => {
405
406
  let e = [];
406
407
  for (let t = 0; t < x.max; t += 1) e.push(t);
407
408
  return e;
408
409
  });
409
- function Ot() {
410
+ function Et() {
410
411
  D("reset");
411
412
  }
412
413
  b(() => x.min, (e) => {
@@ -414,26 +415,26 @@ var ge = ["data-minimap"], _e = {
414
415
  }), b(() => x.max, (e) => {
415
416
  Number(C.value) > Number(e) && (C.value = Number(e)), Number(w.value) > Number(e) && (w.value = Number(e));
416
417
  });
417
- let kt = v(null), j = v({
418
+ let Dt = v(null), M = v({
418
419
  width: 1,
419
420
  height: 1
420
- }), M = v(null);
421
- ce(() => {
421
+ }), N = v(null);
422
+ le(() => {
422
423
  if (T.value) {
423
424
  let e = c(() => {
424
- let { width: e, height: t } = l({ chart: kt.value });
425
- j.value.width = e, j.value.height = t - 47;
425
+ let { width: e, height: t } = l({ chart: Dt.value });
426
+ M.value.width = e, M.value.height = t - 47;
426
427
  });
427
- M.value = new ResizeObserver(e), M.value.observe(kt.value);
428
+ N.value = new ResizeObserver(e), N.value.observe(Dt.value);
428
429
  }
429
- }), se(() => {
430
- M.value && M.value.disconnect();
430
+ }), ce(() => {
431
+ N.value && N.value.disconnect();
431
432
  });
432
- let N = d(() => Math.max(...x.allMinimaps.map((e) => e.series.length), x.minimap.length || 0)), P = d(() => {
433
- if (!N.value) return 0;
434
- let e = Math.max(1, N.value - +!!x.minimapCompact);
435
- return j.value.width / e;
436
- }), At = d(() => {
433
+ let P = d(() => Math.max(...x.allMinimaps.map((e) => e.series.length), x.minimap.length || 0)), F = d(() => {
434
+ if (!P.value) return 0;
435
+ let e = Math.max(1, P.value - +!!x.minimapCompact);
436
+ return M.value.width / e;
437
+ }), Ot = d(() => {
437
438
  let e = [];
438
439
  if (Array.isArray(x.minimap) && x.minimap.length && x.minimapMerged && e.push(...x.minimap.filter(Number.isFinite)), Array.isArray(x.allMinimaps) && x.allMinimaps.length) for (let t of x.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.filter(Number.isFinite));
439
440
  return e.length ? {
@@ -443,24 +444,24 @@ var ge = ["data-minimap"], _e = {
443
444
  min: 0,
444
445
  max: 1
445
446
  };
446
- }), F = d(() => At.value.min), I = d(() => At.value.max), jt = d(() => F.value < 0 && I.value > 0 || I.value <= 0 ? F.value : 0), Mt = d(() => Math.max(1e-9, Math.max(Math.abs(F.value), Math.abs(I.value)))), Nt = d(() => F.value < 0 && I.value > 0), Pt = (e) => {
447
- let t = Math.max(1, j.value.height);
448
- if (Nt.value) {
449
- let n = Mt.value;
447
+ }), I = d(() => Ot.value.min), L = d(() => Ot.value.max), kt = d(() => I.value < 0 && L.value > 0 || L.value <= 0 ? I.value : 0), At = d(() => Math.max(1e-9, Math.max(Math.abs(I.value), Math.abs(L.value)))), jt = d(() => I.value < 0 && L.value > 0), Mt = (e) => {
448
+ let t = Math.max(1, M.value.height);
449
+ if (jt.value) {
450
+ let n = At.value;
450
451
  return (1 - (Math.max(-1, Math.min(1, e / n)) + 1) / 2) * t;
451
452
  } else {
452
- let n = Math.min(0, F.value), r = Math.max(0, I.value);
453
+ let n = Math.min(0, I.value), r = Math.max(0, L.value);
453
454
  return t - (e - n) / Math.max(1e-9, r - n) * t;
454
455
  }
455
- }, Ft = d(() => Pt(0)), It = d(() => x.allMinimaps.length ? x.allMinimaps.filter((e) => e.type === "bar").length : 0), Lt = d(() => P.value / (It.value || 1) * .8);
456
- function Rt(e, t, n) {
457
- let r = Lt.value, i = Math.max(1, It.value), a = N.value - 1;
456
+ }, Nt = d(() => Mt(0)), Pt = d(() => x.allMinimaps.length ? x.allMinimaps.filter((e) => e.type === "bar").length : 0), Ft = d(() => F.value / (Pt.value || 1) * .8);
457
+ function It(e, t, n) {
458
+ let r = Ft.value, i = Math.max(1, Pt.value), a = P.value - 1;
458
459
  return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
459
460
  }
460
- function zt(e, t) {
461
- return [0, N.value - 1].includes(t) ? Lt.value / 2 : Lt.value;
461
+ function Lt(e, t) {
462
+ return [0, P.value - 1].includes(t) ? Ft.value / 2 : Ft.value;
462
463
  }
463
- function Bt(e, t, n) {
464
+ function Rt(e, t, n) {
464
465
  let r = (e, t, n) => Math.max(t, Math.min(n, e)), i = 1e-9;
465
466
  if (t <= 0) {
466
467
  let t = Math.max(i, 0 - e);
@@ -473,7 +474,7 @@ var ge = ["data-minimap"], _e = {
473
474
  let a = Math.max(i, Math.max(Math.abs(e), Math.abs(t)));
474
475
  return (e) => (1 - (r(e / a, -1, 1) + 1) / 2) * n;
475
476
  }
476
- function Vt(t, i = !1) {
477
+ function zt(t, i = !1) {
477
478
  if (!t || !t.length) return {
478
479
  fullSet: "",
479
480
  points: [],
@@ -486,8 +487,8 @@ var ge = ["data-minimap"], _e = {
486
487
  fullMarkers: [],
487
488
  selectionMarkers: []
488
489
  };
489
- let a = Math.max(1, j.value.height), o = Bt(F.value, I.value, a), s = t.length, c = Math.min(Math.max(0, Q.value), Math.max(0, s - 1)), te = Math.min(s, Math.max(c + 1, $.value)), l = t.map((e, t) => {
490
- let n = e, r = Number.isFinite(n), i = P.value * t + (x.minimapCompact ? 0 : P.value / 2), a = o(0);
490
+ let a = Math.max(1, M.value.height), o = Rt(I.value, L.value, a), s = t.length, c = Math.min(Math.max(0, Q.value), Math.max(0, s - 1)), te = Math.min(s, Math.max(c + 1, $.value)), l = t.map((e, t) => {
491
+ let n = e, r = Number.isFinite(n), i = F.value * t + (x.minimapCompact ? 0 : F.value / 2), a = o(0);
491
492
  return {
492
493
  x: i,
493
494
  y: r ? o(n) : NaN,
@@ -496,21 +497,21 @@ var ge = ["data-minimap"], _e = {
496
497
  y0: a,
497
498
  i: t
498
499
  };
499
- }), ne = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), u = l.filter((e) => Number.isFinite(e.value) && !ne(e.i - 1) && !ne(e.i + 1)), d = u.filter((e) => e.i >= c && e.i < te), f = l.slice(c, te);
500
+ }), ne = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), re = l.filter((e) => Number.isFinite(e.value) && !ne(e.i - 1) && !ne(e.i + 1)), u = re.filter((e) => e.i >= c && e.i < te), d = l.slice(c, te);
500
501
  return {
501
502
  fullSet: l.length >= 2 ? x.smoothMinimap || i ? x.cutNullValues ? r(l) : n(l.filter((e) => e.value != null)) : x.cutNullValues ? e(l) : ee(l.filter((e) => e.value != null)) : "",
502
503
  points: l,
503
- selectionSet: f.length >= 2 ? x.smoothMinimap || i ? x.cutNullValues ? r(f) : n(f.filter((e) => e.value != null)) : x.cutNullValues ? e(f) : ee(f.filter((e) => e.value != null)) : "",
504
- sliced: f,
504
+ selectionSet: d.length >= 2 ? x.smoothMinimap || i ? x.cutNullValues ? r(d) : n(d.filter((e) => e.value != null)) : x.cutNullValues ? e(d) : ee(d.filter((e) => e.value != null)) : "",
505
+ sliced: d,
505
506
  firstPlot: l[c] || null,
506
507
  lastPlot: l[Math.max(0, te - 1)] || null,
507
508
  hasFull: l.length >= 2,
508
- hasSelection: f.length >= 2,
509
- fullMarkers: u,
510
- selectionMarkers: d
509
+ hasSelection: d.length >= 2,
510
+ fullMarkers: re,
511
+ selectionMarkers: u
511
512
  };
512
513
  }
513
- let L = d(() => x.minimap.length ? Vt(x.minimap) : {
514
+ let R = d(() => x.minimap.length ? zt(x.minimap) : {
514
515
  fullSet: "",
515
516
  selectionSet: "",
516
517
  sliced: [],
@@ -518,8 +519,8 @@ var ge = ["data-minimap"], _e = {
518
519
  lastPlot: null,
519
520
  hasFull: !1,
520
521
  hasSelection: !1
521
- }), Ht = d(() => x.allMinimaps.length ? x.allMinimaps.map((e, t) => {
522
- let n = Vt(e?.series || [], !!e.smooth), r = e?.id ?? e?.name ?? t;
522
+ }), z = d(() => x.allMinimaps.length ? x.allMinimaps.map((e, t) => {
523
+ let n = zt(e?.series || [], !!e.smooth), r = e?.id ?? e?.name ?? t;
523
524
  return {
524
525
  key: typeof r == "object" ? JSON.stringify(r) : String(r),
525
526
  color: e?.color,
@@ -527,146 +528,146 @@ var ge = ["data-minimap"], _e = {
527
528
  isVisible: e.isVisible,
528
529
  type: e.type || "line"
529
530
  };
530
- }) : []), R = d(() => {
531
+ }) : []), B = d(() => {
531
532
  let e = Q.value, t = Math.max(e + 1, $.value);
532
533
  return {
533
- x: P.value * e + (x.minimapCompact ? 0 : P.value / 2),
534
- width: P.value * (t - e) - P.value
534
+ x: F.value * e + (x.minimapCompact ? 0 : F.value / 2),
535
+ width: F.value * (t - e) - F.value
535
536
  };
536
- }), z = v(x.minimapSelectedIndex);
537
- function Ut(e) {
538
- z.value = Cn(x.valueStart) + e;
537
+ }), V = v(x.minimapSelectedIndex);
538
+ function Bt(e) {
539
+ V.value = Sn(x.valueStart) + e;
539
540
  }
540
- let Wt = te(Ut, 60);
541
+ let Vt = te(Bt, 60);
541
542
  b(() => x.minimapSelectedIndex, (e, t) => {
542
543
  if ([null, void 0].includes(e)) {
543
- z.value = null;
544
+ V.value = null;
544
545
  return;
545
546
  }
546
- e !== t && Wt(e);
547
+ e !== t && Vt(e);
547
548
  }, { immediate: !0 });
548
- function Gt(e) {
549
- z.value = e;
549
+ function Ht(e) {
550
+ V.value = e;
550
551
  let t = Q.value, n = $.value;
551
- e >= t && e < n && !q.value && D("trapMouse", e - t);
552
+ e >= t && e < n && !Y.value && D("trapMouse", e - t);
552
553
  }
553
- let Kt = v(null), qt = v(null);
554
- function B(e) {
555
- C.value = e, Kt.value && (Kt.value.value = e), D("update:start", Number(C.value));
554
+ let Ut = v(null), Wt = v(null);
555
+ function H(e) {
556
+ C.value = e, Ut.value && (Ut.value.value = e), D("update:start", Number(C.value));
556
557
  }
557
- function V(e) {
558
- w.value = e, qt.value && (qt.value.value = e), D("update:end", Number(w.value));
558
+ function U(e) {
559
+ w.value = e, Wt.value && (Wt.value.value = e), D("update:end", Number(w.value));
559
560
  }
560
- let Jt = d(() => x.valueEnd - x.valueStart), Yt = d(() => Jt.value < x.max - x.min), H = v(!1), Xt = v(null), Zt = d(() => (ut.value - 48) / (x.max - x.min) * Jt.value), Qt = d(() => Math.max(1, ut.value - ot - Zt.value)), $t = d(() => Math.max(1, x.max - x.min - Jt.value)), en = d(() => $t.value / Qt.value), tn = v(0), nn = v(0), rn = v(0), an = v(0), U = null, W = null, G = null, K = null, on = v(x.min);
561
- function sn(e) {
561
+ let Gt = d(() => x.valueEnd - x.valueStart), Kt = d(() => Gt.value < x.max - x.min), W = v(!1), qt = v(null), Jt = d(() => (lt.value - 48) / (x.max - x.min) * Gt.value), Yt = d(() => Math.max(1, lt.value - at - Jt.value)), Xt = d(() => Math.max(1, x.max - x.min - Gt.value)), Zt = d(() => Xt.value / Yt.value), Qt = v(0), $t = v(0), en = v(0), tn = v(0), G = null, K = null, q = null, J = null, nn = v(x.min);
562
+ function rn(e) {
562
563
  if (!S.value) return x.min;
563
- let t = S.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, x.max - x.min);
564
+ let t = S.value.getBoundingClientRect(), n = t.left + at / 2, r = t.right - at / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, x.max - x.min);
564
565
  return Math.round(x.min + a * o);
565
566
  }
566
- let cn = async (e) => {
567
- if (X.value = !0, !x.enableSelectionDrag) return;
567
+ let an = async (e) => {
568
+ if (Z.value = !0, !x.enableSelectionDrag) return;
568
569
  let t = e.type === "touchstart";
569
570
  t || e.stopPropagation();
570
571
  let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
571
572
  if (!r || !(r instanceof Element) || r.classList && r.classList.contains("range-handle")) return;
572
- H.value = !0;
573
+ W.value = !0;
573
574
  let a = t ? n ? n.clientX : 0 : e.clientX;
574
- if (Xt.value = a, tn.value = a, x.focusOnDrag && !Yt.value && S.value) {
575
- on.value = sn(a);
576
- let e = Math.min(.95, Math.max(.05, x.focusRangeRatio)), t = x.max - x.min, n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = on.value - r;
575
+ if (qt.value = a, Qt.value = a, x.focusOnDrag && !Kt.value && S.value) {
576
+ nn.value = rn(a);
577
+ let e = Math.min(.95, Math.max(.05, x.focusRangeRatio)), t = x.max - x.min, n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = nn.value - r;
577
578
  o = Math.max(x.min, Math.min(o, x.max - n));
578
579
  let ee = Math.min(x.max, o + n);
579
- B(o), V(ee), i(S.value, "mouseup"), await ae(), i(S.value, "mousedown", { clientX: a });
580
+ H(o), U(ee), i(S.value, "mouseup"), await oe(), i(S.value, "mousedown", { clientX: a });
580
581
  }
581
- nn.value = Number(C.value), rn.value = Number(w.value), an.value = en.value, U = t ? "touchmove" : "mousemove", W = t ? "touchend" : "mouseup", G = t ? un : ln, K = t ? pn : fn, window.addEventListener(U, G, { passive: !1 }), window.addEventListener(W, K);
582
+ $t.value = Number(C.value), en.value = Number(w.value), tn.value = Zt.value, G = t ? "touchmove" : "mousemove", K = t ? "touchend" : "mouseup", q = t ? sn : on, J = t ? un : ln, window.addEventListener(G, q, { passive: !1 }), window.addEventListener(K, J);
582
583
  };
583
- function ln(e) {
584
- H.value && dn(e.clientX);
584
+ function on(e) {
585
+ W.value && cn(e.clientX);
585
586
  }
586
- function un(e) {
587
- if (!H.value || !S.value) return;
587
+ function sn(e) {
588
+ if (!W.value || !S.value) return;
588
589
  let t = e.target;
589
590
  if (!(t instanceof Element) || !S.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
590
591
  e.preventDefault();
591
592
  let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
592
- n && dn(n.clientX);
593
+ n && cn(n.clientX);
593
594
  }
594
- function dn(e) {
595
- if (!H.value) return;
596
- let t = sn(tn.value), n = sn(e) - t, r = Math.max(1, rn.value - nn.value), i = Math.round(nn.value + n), a = x.min, o = x.max - r;
595
+ function cn(e) {
596
+ if (!W.value) return;
597
+ let t = rn(Qt.value), n = rn(e) - t, r = Math.max(1, en.value - $t.value), i = Math.round($t.value + n), a = x.min, o = x.max - r;
597
598
  i < a && (i = a), i > o && (i = o);
598
599
  let ee = i + r;
599
- B(i), V(ee);
600
+ H(i), U(ee);
600
601
  }
601
- function fn() {
602
- mn();
602
+ function ln() {
603
+ dn();
603
604
  }
604
- function pn() {
605
- mn();
605
+ function un() {
606
+ dn();
606
607
  }
607
- function mn() {
608
- H.value = !1, U && G && window.removeEventListener(U, G), W && K && window.removeEventListener(W, K), U = W = null, G = K = null;
608
+ function dn() {
609
+ W.value = !1, G && q && window.removeEventListener(G, q), K && J && window.removeEventListener(K, J), G = K = null, q = J = null;
609
610
  }
610
- let q = v(!1), J = v(null), Y = v(null), hn = v(1), gn = v(1), X = v(!1);
611
- function _n() {
612
- J.value && (hn.value = J.value.getBoundingClientRect().width);
611
+ let Y = v(!1), X = v(null), fn = v(null), pn = v(1), mn = v(1), Z = v(!1);
612
+ function hn() {
613
+ X.value && (pn.value = X.value.getBoundingClientRect().width);
613
614
  }
614
- function vn() {
615
- Y.value && (gn.value = Y.value.getBoundingClientRect().width);
615
+ function gn() {
616
+ fn.value && (mn.value = fn.value.getBoundingClientRect().width);
616
617
  }
617
- let yn = v(0);
618
- function bn(e) {
619
- yn.value = +(e === "start");
618
+ let _n = v(0);
619
+ function vn(e) {
620
+ _n.value = +(e === "start");
620
621
  }
621
- let Z = v(!1), xn = v({
622
+ let yn = v(!1), bn = v({
622
623
  width: 0,
623
624
  left: 0
624
625
  });
625
626
  b([C, w], async () => {
626
- if (await ae(), !J.value || !Y.value) {
627
- Z.value = !1, xn.value = {
627
+ if (await oe(), !X.value || !fn.value) {
628
+ yn.value = !1, bn.value = {
628
629
  width: 0,
629
630
  left: 0
630
631
  };
631
632
  return;
632
633
  }
633
- let e = J.value.getBoundingClientRect(), t = Y.value.getBoundingClientRect();
634
- Z.value = e.x + e.width > t.x;
634
+ let e = X.value.getBoundingClientRect(), t = fn.value.getBoundingClientRect();
635
+ yn.value = e.x + e.width > t.x;
635
636
  let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
636
- xn.value = {
637
+ bn.value = {
637
638
  width: i,
638
639
  left: (n + r) / 2 - i / 2
639
640
  };
640
- }), le(() => {
641
- _n(), vn();
641
+ }), ue(() => {
642
+ hn(), gn();
642
643
  }), b(() => x.labelLeft, () => {
643
- ae(_n);
644
+ oe(hn);
644
645
  }, { deep: !0 }), b(() => x.labelRight, () => {
645
- ae(vn);
646
- }, { deep: !0 }), st({
647
- setStartValue: B,
648
- setEndValue: V
649
- }), se(() => {
650
- M.value && M.value.disconnect(), U && G && window.removeEventListener(U, G), W && K && window.removeEventListener(W, K), U = W = null, G = K = null;
646
+ oe(gn);
647
+ }, { deep: !0 }), ot({
648
+ setStartValue: H,
649
+ setEndValue: U
650
+ }), ce(() => {
651
+ N.value && N.value.disconnect(), G && q && window.removeEventListener(G, q), K && J && window.removeEventListener(K, J), G = K = null, q = J = null;
651
652
  });
652
- let Sn = d(() => Math.max(1, x.max - x.min));
653
- function Cn(e) {
653
+ let xn = d(() => Math.max(1, x.max - x.min));
654
+ function Sn(e) {
654
655
  let t = Math.floor(e - x.min);
655
- return Math.min(Math.max(0, t), Sn.value);
656
+ return Math.min(Math.max(0, t), xn.value);
656
657
  }
657
- function wn(e) {
658
+ function Cn(e) {
658
659
  let t = Math.ceil(e - x.min);
659
- return Math.min(Math.max(0, t), Sn.value);
660
+ return Math.min(Math.max(0, t), xn.value);
660
661
  }
661
- let Q = d(() => Cn(C.value)), $ = d(() => wn(w.value)), Tn = d(() => {
662
- if (!Dt.value.length) return null;
663
- if (z.value >= Q.value && z.value < $.value) {
664
- let e = z.value;
662
+ let Q = d(() => Sn(C.value)), $ = d(() => Cn(w.value)), wn = d(() => {
663
+ if (!Tt.value.length) return null;
664
+ if (V.value >= Q.value && V.value < $.value) {
665
+ let e = V.value;
665
666
  return {
666
- x1: P.value * e + (x.minimapCompact ? 0 : P.value / 2),
667
- x2: P.value * e + (x.minimapCompact ? 0 : P.value / 2),
667
+ x1: F.value * e + (x.minimapCompact ? 0 : F.value / 2),
668
+ x2: F.value * e + (x.minimapCompact ? 0 : F.value / 2),
668
669
  y1: 0,
669
- y2: Math.max(j.value.height, 0),
670
+ y2: Math.max(M.value.height, 0),
670
671
  stroke: x.minimapIndicatorColor,
671
672
  "stroke-linecap": "round",
672
673
  "stroke-dasharray": 2,
@@ -685,10 +686,10 @@ var ge = ["data-minimap"], _e = {
685
686
  class: "vue-data-ui-zoom",
686
687
  ref_key: "zoomWrapper",
687
688
  ref: S,
688
- onMousedown: cn,
689
- onTouchstart: cn,
690
- onTouchend: t[11] ||= (e) => X.value = !1
691
- }, [m("div", _e, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== dt.value ? (_(), p("div", ve, [ue(e.$slots, "reset-action", { reset: Ot }, () => [m("button", {
689
+ onMousedown: an,
690
+ onTouchstart: an,
691
+ onTouchend: t[11] ||= (e) => Z.value = !1
692
+ }, [m("div", ve, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== ut.value ? (_(), p("div", ye, [de(e.$slots, "reset-action", { reset: Et }, () => [m("button", {
692
693
  tabindex: "0",
693
694
  role: "button",
694
695
  class: "vue-data-ui-refresh-button",
@@ -696,143 +697,147 @@ var ge = ["data-minimap"], _e = {
696
697
  top: T.value ? "36px" : "-16px",
697
698
  cursor: s.isCursorPointer ? "pointer" : "default"
698
699
  }),
699
- onClick: Ot
700
- }, [re(ne, {
700
+ onClick: Et
701
+ }, [ie(ne, {
701
702
  name: "refresh",
702
703
  stroke: s.textColor
703
704
  }, null, 8, ["stroke"])], 4)], !0)])) : f("", !0)]), m("div", {
704
705
  class: "double-range-slider",
705
706
  ref_key: "minimapWrapper",
706
- ref: kt,
707
+ ref: Dt,
707
708
  style: g([{ "z-index": "0" }, T.value ? {
708
- "--minimap-unit-px": P.value + "px",
709
- "--minimap-offset-px": (s.minimapCompact ? 0 : P.value / 2) + "px"
709
+ "--minimap-unit-px": F.value + "px",
710
+ "--minimap-offset-px": (s.minimapCompact ? 0 : F.value / 2) + "px"
710
711
  } : void 0]),
711
- onMouseenter: t[9] ||= (e) => X.value = !0,
712
- onMouseleave: t[10] ||= (e) => X.value = !1
712
+ onMouseenter: t[9] ||= (e) => Z.value = !0,
713
+ onMouseleave: t[10] ||= (e) => Z.value = !1
713
714
  }, [
714
- T.value ? (_(), p("div", ye, [(_(), p("svg", {
715
+ T.value ? (_(), p("div", be, [(_(), p("svg", {
715
716
  key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
716
- xmlns: fe(o),
717
- viewBox: `0 0 ${Math.max(0, j.value.width)} ${Math.max(0, j.value.height)}`
717
+ xmlns: pe(o),
718
+ viewBox: `0 0 ${Math.max(0, M.value.width)} ${Math.max(0, M.value.height)}`
718
719
  }, [
719
- m("defs", null, [m("linearGradient", {
720
- id: lt.value,
720
+ m("defs", null, [ie(re, {
721
+ t: "linear",
722
+ id: ct.value,
721
723
  x1: "0%",
722
724
  y1: "0%",
723
725
  x2: "0%",
724
- y2: "100%"
725
- }, [m("stop", {
726
- offset: "0%",
727
- "stop-color": `${s.minimapLineColor}50`
728
- }, null, 8, Se), t[12] ||= m("stop", {
729
- offset: "100%",
730
- "stop-color": "transparent"
731
- }, null, -1)], 8, xe)]),
726
+ y2: "100%",
727
+ stops: [[
728
+ "0%",
729
+ s.minimapLineColor,
730
+ .31
731
+ ], [
732
+ "100%",
733
+ "transparent",
734
+ 0
735
+ ]]
736
+ }, null, 8, ["id", "stops"])]),
732
737
  s.minimapCompact ? (_(), p("rect", {
733
738
  key: 0,
734
739
  class: "vue-ui-zoom-minimap-frame",
735
740
  x: 0,
736
741
  y: 0,
737
- width: j.value.width,
738
- height: j.value.height,
742
+ width: M.value.width,
743
+ height: M.value.height,
739
744
  fill: "none",
740
745
  stroke: s.minimapFrameColor,
741
746
  rx: 3
742
- }, null, 8, Ce)) : f("", !0),
747
+ }, null, 8, Se)) : f("", !0),
743
748
  s.minimapMerged ? (_(), p("path", {
744
749
  key: 1,
745
- d: `M${L.value.fullSet}`,
750
+ d: `M${R.value.fullSet}`,
746
751
  stroke: `${s.minimapLineColor}`,
747
752
  fill: "none",
748
753
  "stroke-width": "1",
749
754
  "stroke-linecap": "round",
750
755
  "stroke-linejoin": "round",
751
756
  style: { opacity: "0.6" }
752
- }, null, 8, we)) : (_(), p(u, { key: 2 }, [(_(!0), p(u, null, y(Ht.value.filter((e) => e.type === "bar"), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e.isVisible && !isNaN(n.y) ? (_(), p("rect", {
757
+ }, null, 8, Ce)) : (_(), p(u, { key: 2 }, [(_(!0), p(u, null, y(z.value.filter((e) => e.type === "bar"), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e.isVisible && !isNaN(n.y) ? (_(), p("rect", {
753
758
  key: 0,
754
- x: Rt(n.x, t, r),
755
- width: zt(t, r),
759
+ x: It(n.x, t, r),
760
+ width: Lt(t, r),
756
761
  y: n.v >= 0 ? n.y : n.y0,
757
762
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
758
763
  fill: e.color,
759
764
  style: { opacity: "0.6" }
760
- }, null, 8, Te)) : f("", !0)], 64))), 256))]))), 256)), (_(!0), p(u, null, y(Ht.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [e.isVisible ? (_(), p("path", {
765
+ }, null, 8, we)) : f("", !0)], 64))), 256))]))), 256)), (_(!0), p(u, null, y(z.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [e.isVisible ? (_(), p("path", {
761
766
  key: 0,
762
767
  d: `M ${e.fullSet}`,
763
768
  fill: "none",
764
769
  stroke: e.color,
765
770
  style: { opacity: "0.6" }
766
- }, null, 8, Ee)) : f("", !0), e.isVisible ? (_(!0), p(u, { key: 1 }, y(e.fullMarkers, (t) => (_(), p("circle", {
771
+ }, null, 8, Te)) : f("", !0), e.isVisible ? (_(!0), p(u, { key: 1 }, y(e.fullMarkers, (t) => (_(), p("circle", {
767
772
  key: `sel-dot-under-${e.key}-${t.i}`,
768
773
  cx: t.x,
769
774
  cy: t.y,
770
775
  r: "2",
771
776
  fill: e.color,
772
- stroke: A.value,
777
+ stroke: j.value,
773
778
  "stroke-width": "0.5",
774
779
  style: { opacity: "0.6" }
775
- }, null, 8, De))), 128)) : f("", !0)]))), 128))], 64)),
780
+ }, null, 8, Ee))), 128)) : f("", !0)]))), 128))], 64)),
776
781
  m("rect", {
777
- x: R.value.x,
778
- width: R.value.width < 0 ? 0 : R.value.width,
779
- height: Math.max(j.value.height, 0),
782
+ x: B.value.x,
783
+ width: B.value.width < 0 ? 0 : B.value.width,
784
+ height: Math.max(M.value.height, 0),
780
785
  y: 0,
781
- fill: A.value,
786
+ fill: j.value,
782
787
  rx: s.minimapSelectionRadius,
783
788
  stroke: "none"
784
- }, null, 8, Oe),
789
+ }, null, 8, De),
785
790
  m("rect", {
786
- x: R.value.x,
787
- width: R.value.width < 0 ? 0 : R.value.width,
788
- height: Math.max(j.value.height, 0),
791
+ x: B.value.x,
792
+ width: B.value.width < 0 ? 0 : B.value.width,
793
+ height: Math.max(M.value.height, 0),
789
794
  y: 0,
790
795
  rx: s.minimapSelectionRadius,
791
- fill: A.value
792
- }, null, 8, ke),
796
+ fill: j.value
797
+ }, null, 8, Oe),
793
798
  m("rect", {
794
- x: R.value.x,
795
- width: R.value.width < 0 ? 0 : R.value.width,
796
- height: Math.max(j.value.height, 0),
799
+ x: B.value.x,
800
+ width: B.value.width < 0 ? 0 : B.value.width,
801
+ height: Math.max(M.value.height, 0),
797
802
  y: 0,
798
803
  fill: s.minimapSelectedColor,
799
804
  rx: s.minimapSelectionRadius,
800
805
  style: g({ opacity: s.minimapSelectedColorOpacity })
801
- }, null, 12, Ae),
802
- z.value !== null && !q.value ? (_(), p("line", oe(ie({ key: 3 }, Tn.value)), null, 16)) : f("", !0),
803
- !s.minimapMerged && jt.value < 0 ? (_(), p("line", {
806
+ }, null, 12, ke),
807
+ V.value !== null && !Y.value ? (_(), p("line", se(ae({ key: 3 }, wn.value)), null, 16)) : f("", !0),
808
+ !s.minimapMerged && kt.value < 0 ? (_(), p("line", {
804
809
  key: 4,
805
810
  class: "slicer-minimap-zero-line",
806
811
  x1: 0,
807
- x2: j.value.width,
808
- y1: Ft.value,
809
- y2: Ft.value,
812
+ x2: M.value.width,
813
+ y1: Nt.value,
814
+ y2: Nt.value,
810
815
  stroke: s.minimapFrameColor,
811
816
  "stroke-width": "0.5"
812
- }, null, 8, je)) : f("", !0),
813
- s.minimapMerged ? (_(), p(u, { key: 5 }, [L.value && L.value.sliced && L.value.sliced.length ? (_(), p(u, { key: 0 }, [L.value.selectionSet ? (_(), p("path", {
817
+ }, null, 8, Ae)) : f("", !0),
818
+ s.minimapMerged ? (_(), p(u, { key: 5 }, [R.value && R.value.sliced && R.value.sliced.length ? (_(), p(u, { key: 0 }, [R.value.selectionSet ? (_(), p("path", {
814
819
  key: 0,
815
- d: `M${L.value.sliced[0].x},${Math.max(j.value.height, 0)} ${L.value.selectionSet} L${L.value.sliced[L.value.sliced.length - 1].x},${Math.max(j.value.height, 0)}Z`,
816
- fill: `url(#${lt.value})`,
820
+ d: `M${R.value.sliced[0].x},${Math.max(M.value.height, 0)} ${R.value.selectionSet} L${R.value.sliced[R.value.sliced.length - 1].x},${Math.max(M.value.height, 0)}Z`,
821
+ fill: `url(#${ct.value})`,
817
822
  stroke: "none",
818
823
  style: { opacity: "1" }
819
- }, null, 8, Me)) : f("", !0), L.value.selectionSet ? (_(), p("path", {
824
+ }, null, 8, je)) : f("", !0), R.value.selectionSet ? (_(), p("path", {
820
825
  key: 1,
821
- d: `M ${L.value.selectionSet}`,
826
+ d: `M ${R.value.selectionSet}`,
822
827
  stroke: `${s.minimapLineColor}`,
823
828
  fill: "transparent",
824
829
  "stroke-width": "2",
825
830
  "stroke-linecap": "round",
826
831
  "stroke-linejoin": "round"
827
- }, null, 8, Ne)) : f("", !0)], 64)) : f("", !0)], 64)) : (_(), p("g", Pe, [(_(!0), p(u, null, y(Ht.value.filter((e) => e.type === "bar"), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e.isVisible && !isNaN(n.y) ? (_(), p("rect", {
832
+ }, null, 8, Me)) : f("", !0)], 64)) : f("", !0)], 64)) : (_(), p("g", Ne, [(_(!0), p(u, null, y(z.value.filter((e) => e.type === "bar"), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e.isVisible && !isNaN(n.y) ? (_(), p("rect", {
828
833
  key: 0,
829
- x: Rt(n.x, t, r),
830
- width: zt(t, r),
834
+ x: It(n.x, t, r),
835
+ width: Lt(t, r),
831
836
  y: n.v >= 0 ? n.y : n.y0,
832
837
  height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
833
838
  fill: e.color,
834
839
  style: g({ opacity: +(r >= s.valueStart && r <= s.valueEnd - 1) })
835
- }, null, 12, Fe)) : f("", !0)], 64))), 256))]))), 256)), (_(!0), p(u, null, y(Ht.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
840
+ }, null, 12, Pe)) : f("", !0)], 64))), 256))]))), 256)), (_(!0), p(u, null, y(z.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
836
841
  key: 0,
837
842
  d: `M ${e.selectionSet}`,
838
843
  stroke: e.color,
@@ -840,35 +845,35 @@ var ge = ["data-minimap"], _e = {
840
845
  "stroke-width": "2",
841
846
  "stroke-linecap": "round",
842
847
  "stroke-linejoin": "round"
843
- }, null, 8, Ie)) : f("", !0)]))), 128))])),
848
+ }, null, 8, Fe)) : f("", !0)]))), 128))])),
844
849
  T.value && s.minimapCompact ? (_(), p("rect", {
845
850
  key: 7,
846
851
  class: "vue-ui-zoom-compact-minimap-handle",
847
- x: R.value.x - Math.min(40, Math.max(20, s.handleWidth)),
852
+ x: B.value.x - Math.min(40, Math.max(20, s.handleWidth)),
848
853
  y: 0,
849
854
  width: Math.min(40, Math.max(20, s.handleWidth)),
850
- height: j.value.height,
851
- fill: s.handleFill || A.value,
855
+ height: M.value.height,
856
+ fill: s.handleFill || j.value,
852
857
  stroke: s.handleBorderColor || s.textColor,
853
858
  "stroke-width": s.handleBorderWidth,
854
859
  rx: 3
855
- }, null, 8, Le)) : f("", !0),
860
+ }, null, 8, Ie)) : f("", !0),
856
861
  s.handleType && s.handleType !== "empty" ? (_(), p("svg", {
857
862
  key: 8,
858
- x: R.value.x - Math.min(40, Math.max(20, s.handleWidth)),
863
+ x: B.value.x - Math.min(40, Math.max(20, s.handleWidth)),
859
864
  y: 0,
860
865
  width: Math.min(40, Math.max(20, s.handleWidth)),
861
- height: j.value.height,
866
+ height: M.value.height,
862
867
  viewBox: "0 0 20 20"
863
868
  }, [s.handleType === "arrow" ? (_(), p("path", {
864
869
  key: 0,
865
870
  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",
866
- fill: A.value,
871
+ fill: j.value,
867
872
  stroke: s.handleIconColor || s.textColor,
868
873
  "stroke-width": .618,
869
874
  "stroke-linejoin": "round",
870
875
  "stroke-linecap": "round"
871
- }, null, 8, ze)) : s.handleType === "chevron" ? (_(), p("path", {
876
+ }, null, 8, Re)) : s.handleType === "chevron" ? (_(), p("path", {
872
877
  key: 1,
873
878
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
874
879
  fill: "none",
@@ -876,41 +881,41 @@ var ge = ["data-minimap"], _e = {
876
881
  "stroke-width": .618,
877
882
  "stroke-linejoin": "round",
878
883
  "stroke-linecap": "round"
879
- }, null, 8, Be)) : s.handleType === "grab" ? (_(), p("path", {
884
+ }, null, 8, ze)) : s.handleType === "grab" ? (_(), p("path", {
880
885
  key: 2,
881
886
  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",
882
887
  fill: s.handleIconColor || s.textColor,
883
888
  stroke: "none",
884
889
  opacity: "0.6"
885
- }, null, 8, Ve)) : f("", !0)], 8, Re)) : f("", !0),
890
+ }, null, 8, Be)) : f("", !0)], 8, Le)) : f("", !0),
886
891
  T.value && s.minimapCompact ? (_(), p("rect", {
887
892
  key: 9,
888
893
  class: "vue-ui-zoom-compact-minimap-handle",
889
- x: R.value.x + R.value.width,
894
+ x: B.value.x + B.value.width,
890
895
  y: 0,
891
896
  width: Math.min(40, Math.max(20, s.handleWidth)),
892
- height: j.value.height,
893
- fill: s.handleFill || A.value,
897
+ height: M.value.height,
898
+ fill: s.handleFill || j.value,
894
899
  stroke: s.handleBorderColor || s.textColor,
895
900
  "stroke-width": s.handleBorderWidth,
896
901
  rx: 3
897
- }, null, 8, He)) : f("", !0),
902
+ }, null, 8, Ve)) : f("", !0),
898
903
  s.handleType && s.handleType !== "empty" ? (_(), p("svg", {
899
904
  key: 10,
900
- x: R.value.x + R.value.width,
905
+ x: B.value.x + B.value.width,
901
906
  y: 0,
902
907
  width: Math.min(40, Math.max(20, s.handleWidth)),
903
- height: j.value.height,
908
+ height: M.value.height,
904
909
  viewBox: "0 0 20 20"
905
910
  }, [s.handleType === "arrow" ? (_(), p("path", {
906
911
  key: 0,
907
912
  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",
908
- fill: A.value,
913
+ fill: j.value,
909
914
  stroke: s.handleIconColor || s.textColor,
910
915
  "stroke-width": .618,
911
916
  "stroke-linejoin": "round",
912
917
  "stroke-linecap": "round"
913
- }, null, 8, We)) : s.handleType === "chevron" ? (_(), p("path", {
918
+ }, null, 8, Ue)) : s.handleType === "chevron" ? (_(), p("path", {
914
919
  key: 1,
915
920
  d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
916
921
  fill: "none",
@@ -918,105 +923,105 @@ var ge = ["data-minimap"], _e = {
918
923
  "stroke-width": .618,
919
924
  "stroke-linejoin": "round",
920
925
  "stroke-linecap": "round"
921
- }, null, 8, Ge)) : s.handleType === "grab" ? (_(), p("path", {
926
+ }, null, 8, We)) : s.handleType === "grab" ? (_(), p("path", {
922
927
  key: 2,
923
928
  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",
924
929
  fill: s.handleIconColor || s.textColor,
925
930
  stroke: "none",
926
931
  opacity: "0.6"
927
- }, null, 8, Ke)) : f("", !0)], 8, Ue)) : f("", !0),
932
+ }, null, 8, Ge)) : f("", !0)], 8, He)) : f("", !0),
928
933
  s.minimapMerged ? (_(), p(u, { key: 11 }, [
929
- L.value && L.value.firstPlot && L.value.firstPlot.value !== null ? (_(), p("circle", {
934
+ R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (_(), p("circle", {
930
935
  key: 0,
931
- cx: L.value.firstPlot.x,
932
- cy: L.value.firstPlot.y,
936
+ cx: R.value.firstPlot.x,
937
+ cy: R.value.firstPlot.y,
933
938
  "stroke-width": "0.5",
934
- stroke: A.value,
939
+ stroke: j.value,
935
940
  r: "4",
936
941
  fill: s.minimapLineColor
937
- }, null, 8, qe)) : f("", !0),
938
- L.value && L.value.firstPlot && L.value.firstPlot.value !== null ? (_(), p("circle", {
942
+ }, null, 8, Ke)) : f("", !0),
943
+ R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (_(), p("circle", {
939
944
  key: 1,
940
- cx: L.value.firstPlot.x,
941
- cy: L.value.firstPlot.y,
945
+ cx: R.value.firstPlot.x,
946
+ cy: R.value.firstPlot.y,
942
947
  r: "2",
943
- fill: A.value
944
- }, null, 8, Je)) : f("", !0),
945
- L.value && L.value.lastPlot && L.value.lastPlot.value !== null ? (_(), p("circle", {
948
+ fill: j.value
949
+ }, null, 8, qe)) : f("", !0),
950
+ R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (_(), p("circle", {
946
951
  key: 2,
947
- cx: L.value.lastPlot.x,
948
- cy: L.value.lastPlot.y,
952
+ cx: R.value.lastPlot.x,
953
+ cy: R.value.lastPlot.y,
949
954
  "stroke-width": "0.5",
950
- stroke: A.value,
955
+ stroke: j.value,
951
956
  r: "4",
952
957
  fill: s.minimapLineColor
953
- }, null, 8, Ye)) : f("", !0),
954
- L.value && L.value.lastPlot && L.value.lastPlot.value !== null ? (_(), p("circle", {
958
+ }, null, 8, Je)) : f("", !0),
959
+ R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (_(), p("circle", {
955
960
  key: 3,
956
- cx: L.value.lastPlot.x,
957
- cy: L.value.lastPlot.y,
961
+ cx: R.value.lastPlot.x,
962
+ cy: R.value.lastPlot.y,
958
963
  r: "2",
959
- fill: A.value
960
- }, null, 8, Xe)) : f("", !0)
961
- ], 64)) : (_(), p("g", Ze, [(_(!0), p(u, null, y(Ht.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [
964
+ fill: j.value
965
+ }, null, 8, Ye)) : f("", !0)
966
+ ], 64)) : (_(), p("g", Xe, [(_(!0), p(u, null, y(z.value.filter((e) => e.type === "line"), (e) => (_(), p("g", { key: String(e.key) }, [
962
967
  e.isVisible ? (_(!0), p(u, { key: 0 }, y(e.selectionMarkers, (t) => (_(), p("circle", {
963
968
  key: `sel-dot-${e.key}-${t.i}`,
964
969
  cx: t.x,
965
970
  cy: t.y,
966
971
  r: "2.5",
967
972
  fill: e.color,
968
- stroke: A.value,
973
+ stroke: j.value,
969
974
  "stroke-width": "0.5"
970
- }, null, 8, Qe))), 128)) : f("", !0),
975
+ }, null, 8, Ze))), 128)) : f("", !0),
971
976
  e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
972
977
  key: 1,
973
978
  cx: e.firstPlot.x,
974
979
  cy: e.firstPlot.y,
975
980
  "stroke-width": "0.5",
976
- stroke: A.value,
981
+ stroke: j.value,
977
982
  r: "4",
978
983
  fill: e.color
979
- }, null, 8, $e)) : f("", !0),
984
+ }, null, 8, Qe)) : f("", !0),
980
985
  e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
981
986
  key: 2,
982
987
  cx: e.firstPlot.x,
983
988
  cy: e.firstPlot.y,
984
989
  r: "2",
985
- fill: A.value
986
- }, null, 8, et)) : f("", !0),
990
+ fill: j.value
991
+ }, null, 8, $e)) : f("", !0),
987
992
  e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
988
993
  key: 3,
989
994
  cx: e.lastPlot.x,
990
995
  cy: e.lastPlot.y,
991
996
  "stroke-width": "0.5",
992
- stroke: A.value,
997
+ stroke: j.value,
993
998
  r: "4",
994
999
  fill: e.color
995
- }, null, 8, tt)) : f("", !0),
1000
+ }, null, 8, et)) : f("", !0),
996
1001
  e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
997
1002
  key: 4,
998
1003
  cx: e.lastPlot.x,
999
1004
  cy: e.lastPlot.y,
1000
1005
  r: "2",
1001
- fill: A.value
1002
- }, null, 8, nt)) : f("", !0)
1006
+ fill: j.value
1007
+ }, null, 8, tt)) : f("", !0)
1003
1008
  ]))), 128))])),
1004
- (_(!0), p(u, null, y(Dt.value, (e, n) => (_(), p("rect", {
1009
+ (_(!0), p(u, null, y(Tt.value, (e, n) => (_(), p("rect", {
1005
1010
  key: `trap-${n}`,
1006
1011
  y: 0,
1007
- height: Math.max(j.value.height, 0),
1012
+ height: Math.max(M.value.height, 0),
1008
1013
  fill: "transparent",
1009
- style: g([{ "pointer-events": "all !important" }, { cursor: e >= Q.value && e < $.value && s.enableSelectionDrag ? q.value ? "grabbing" : "grab" : "default" }]),
1010
- x: P.value * n - (s.minimapCompact ? P.value / 2 : 0),
1011
- width: P.value < 0 ? 0 : P.value,
1012
- onMousedown: t[0] ||= (e) => q.value = !0,
1013
- onMouseup: t[1] ||= (e) => q.value = !1,
1014
- onMouseenter: (t) => Gt(e),
1014
+ style: g([{ "pointer-events": "all !important" }, { cursor: e >= Q.value && e < $.value && s.enableSelectionDrag ? Y.value ? "grabbing" : "grab" : "default" }]),
1015
+ x: F.value * n - (s.minimapCompact ? F.value / 2 : 0),
1016
+ width: F.value < 0 ? 0 : F.value,
1017
+ onMousedown: t[0] ||= (e) => Y.value = !0,
1018
+ onMouseup: t[1] ||= (e) => Y.value = !1,
1019
+ onMouseenter: (t) => Ht(e),
1015
1020
  onMouseleave: t[2] ||= (e) => {
1016
- z.value = null, D("trapMouse", null);
1021
+ V.value = null, D("trapMouse", null);
1017
1022
  }
1018
- }, null, 44, rt))), 128))
1019
- ], 8, be))])) : f("", !0),
1023
+ }, null, 44, nt))), 128))
1024
+ ], 8, xe))])) : f("", !0),
1020
1025
  m("div", {
1021
1026
  class: "slider-track",
1022
1027
  style: g({ visibility: T.value && s.minimapCompact ? "hidden" : "visible" })
@@ -1026,18 +1031,18 @@ var ge = ["data-minimap"], _e = {
1026
1031
  "range-highlight": !0,
1027
1032
  move: s.enableSelectionDrag
1028
1033
  }),
1029
- onMousedown: t[3] ||= (e) => q.value = !0,
1030
- onMouseup: t[4] ||= (e) => q.value = !1,
1034
+ onMousedown: t[3] ||= (e) => Y.value = !0,
1035
+ onMouseup: t[4] ||= (e) => Y.value = !1,
1031
1036
  style: g({
1032
1037
  ...k.value,
1033
- cursor: q.value ? "grabbing" : "grab",
1038
+ cursor: Y.value ? "grabbing" : "grab",
1034
1039
  visibility: T.value && s.minimapCompact ? "hidden" : "visible"
1035
1040
  })
1036
1041
  }, null, 38),
1037
- s.enableRangeHandles ? he((_(), p("input", {
1042
+ s.enableRangeHandles ? ge((_(), p("input", {
1038
1043
  key: 1,
1039
1044
  ref_key: "rangeStart",
1040
- ref: Kt,
1045
+ ref: Ut,
1041
1046
  type: "range",
1042
1047
  class: h({
1043
1048
  "range-left": !0,
@@ -1046,20 +1051,20 @@ var ge = ["data-minimap"], _e = {
1046
1051
  "range-invisible": T.value && s.minimapCompact
1047
1052
  }),
1048
1053
  min: s.min,
1049
- max: E.value && s.minimapCompact ? gt.value : s.max,
1054
+ max: E.value && s.minimapCompact ? A.value : s.max,
1050
1055
  step: 1,
1051
- "onUpdate:modelValue": t[5] ||= (e) => St.value = e,
1052
- onMouseenter: t[6] ||= (e) => bn("start")
1053
- }, null, 42, it)), [[
1054
- me,
1055
- St.value,
1056
+ "onUpdate:modelValue": t[5] ||= (e) => bt.value = e,
1057
+ onMouseenter: t[6] ||= (e) => vn("start")
1058
+ }, null, 42, rt)), [[
1059
+ he,
1060
+ bt.value,
1056
1061
  void 0,
1057
1062
  { number: !0 }
1058
1063
  ]]) : f("", !0),
1059
- s.enableRangeHandles ? he((_(), p("input", {
1064
+ s.enableRangeHandles ? ge((_(), p("input", {
1060
1065
  key: 2,
1061
1066
  ref_key: "rangeEnd",
1062
- ref: qt,
1067
+ ref: Wt,
1063
1068
  type: "range",
1064
1069
  class: h({
1065
1070
  "range-right": !0,
@@ -1068,78 +1073,78 @@ var ge = ["data-minimap"], _e = {
1068
1073
  "range-invisible": T.value && s.minimapCompact
1069
1074
  }),
1070
1075
  min: s.min,
1071
- max: E.value && s.minimapCompact ? gt.value : s.max,
1076
+ max: E.value && s.minimapCompact ? A.value : s.max,
1072
1077
  step: 1,
1073
- "onUpdate:modelValue": t[7] ||= (e) => Ct.value = e,
1074
- onMouseenter: t[8] ||= (e) => bn("end")
1075
- }, null, 42, at)), [[
1076
- me,
1077
- Ct.value,
1078
+ "onUpdate:modelValue": t[7] ||= (e) => xt.value = e,
1079
+ onMouseenter: t[8] ||= (e) => vn("end")
1080
+ }, null, 42, it)), [[
1081
+ he,
1082
+ xt.value,
1078
1083
  void 0,
1079
1084
  { number: !0 }
1080
1085
  ]]) : f("", !0),
1081
1086
  s.labelLeft ? (_(), p("div", {
1082
1087
  key: 3,
1083
1088
  ref_key: "tooltipLeft",
1084
- ref: J,
1089
+ ref: X,
1085
1090
  class: h({
1086
1091
  "range-tooltip": !0,
1087
- "range-tooltip-visible": X.value,
1092
+ "range-tooltip-visible": Z.value,
1088
1093
  "range-tooltip-arrow": k.value.arrowLeft && !s.verticalHandles,
1089
1094
  "range-tooltip-arrow-left": !k.value.arrowLeft && !s.verticalHandles
1090
1095
  }),
1091
1096
  style: g({
1092
1097
  left: k.value.tooltipLeft,
1093
- color: fe(a)(s.selectColor),
1098
+ color: pe(a)(s.selectColor),
1094
1099
  backgroundColor: s.selectColor,
1095
- border: `1px solid ${A.value}`,
1096
- zIndex: `${yn.value + 4}`,
1097
- visibility: Z.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1100
+ border: `1px solid ${j.value}`,
1101
+ zIndex: `${_n.value + 4}`,
1102
+ visibility: yn.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1098
1103
  top: T.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1099
1104
  })
1100
- }, de(s.labelLeft), 7)) : f("", !0),
1101
- (Z.value || s.labelLeft === s.labelRight) && (s.labelLeft || s.labelRight) ? (_(), p("div", {
1105
+ }, fe(s.labelLeft), 7)) : f("", !0),
1106
+ (yn.value || s.labelLeft === s.labelRight) && (s.labelLeft || s.labelRight) ? (_(), p("div", {
1102
1107
  key: 4,
1103
1108
  ref: "tooltipMerge",
1104
1109
  class: h({
1105
1110
  "range-tooltip": !0,
1106
- "range-tooltip-visible": X.value,
1111
+ "range-tooltip-visible": Z.value,
1107
1112
  "range-tooltip-arrow": !0,
1108
1113
  "range-tooltip-arrow-left": !k.value.arrowLeft && !s.verticalHandles,
1109
1114
  "range-tooltip-arrow-right": !k.value.arrowRight && !s.verticalHandles
1110
1115
  }),
1111
1116
  style: g({
1112
1117
  left: k.value.tooltipCenter,
1113
- width: xn.value.width + "px",
1114
- color: fe(a)(s.selectColor),
1118
+ width: bn.value.width + "px",
1119
+ color: pe(a)(s.selectColor),
1115
1120
  backgroundColor: s.selectColor,
1116
- border: `1px solid ${A.value}`,
1121
+ border: `1px solid ${j.value}`,
1117
1122
  zIndex: "4",
1118
1123
  top: T.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1119
1124
  })
1120
- }, de(s.labelLeft === s.labelRight ? s.labelLeft : `${s.labelLeft} - ${s.labelRight}`), 7)) : f("", !0),
1125
+ }, fe(s.labelLeft === s.labelRight ? s.labelLeft : `${s.labelLeft} - ${s.labelRight}`), 7)) : f("", !0),
1121
1126
  s.labelRight ? (_(), p("div", {
1122
1127
  key: 5,
1123
1128
  ref_key: "tooltipRight",
1124
- ref: Y,
1129
+ ref: fn,
1125
1130
  class: h({
1126
1131
  "range-tooltip": !0,
1127
- "range-tooltip-visible": X.value,
1132
+ "range-tooltip-visible": Z.value,
1128
1133
  "range-tooltip-arrow": k.value.arrowRight && !s.verticalHandles,
1129
1134
  "range-tooltip-arrow-right": !k.value.arrowRight && !s.verticalHandles
1130
1135
  }),
1131
1136
  style: g({
1132
1137
  left: k.value.tooltipRight,
1133
- color: fe(a)(s.selectColor),
1138
+ color: pe(a)(s.selectColor),
1134
1139
  backgroundColor: s.selectColor,
1135
- border: `1px solid ${A.value}`,
1140
+ border: `1px solid ${j.value}`,
1136
1141
  zIndex: "4",
1137
- visibility: Z.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1142
+ visibility: yn.value || s.labelLeft === s.labelRight ? "hidden" : "visible",
1138
1143
  top: T.value && s.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1139
1144
  })
1140
- }, de(s.labelRight), 7)) : f("", !0)
1141
- ], 36)], 44, ge));
1145
+ }, fe(s.labelRight), 7)) : f("", !0)
1146
+ ], 36)], 44, _e));
1142
1147
  }
1143
- }, [["__scopeId", "data-v-8da21d29"]]);
1148
+ }, [["__scopeId", "data-v-902e8a0c"]]);
1144
1149
  //#endregion
1145
- export { st as t };
1150
+ export { ot as t };