vue-data-ui 3.25.13 → 3.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (205) hide show
  1. package/README.md +53 -53
  2. package/dist/{Arrow-BhZDUeMp.js → Arrow-Bt3aGRMb.js} +1 -1
  3. package/dist/{BaseDraggableDialog-Ck6R5Q0K.js → BaseDraggableDialog-C1Slb3Yh.js} +2 -2
  4. package/dist/{BaseIcon-Dlz7gfx0.js → BaseIcon-BV75ei8X.js} +1 -1
  5. package/dist/{BaseLegendToggle-DGG65LAR.js → BaseLegendToggle-DtS_Oj3B.js} +1 -1
  6. package/dist/{BaseZoomControls-BK0PxEa8.js → BaseZoomControls-DIhoeyZu.js} +2 -2
  7. package/dist/{ColorPicker-DMTwxvi_.js → ColorPicker--Y89hTnE.js} +2 -2
  8. package/dist/{DataTable-BD1eZ0zB.js → DataTable-DX5fToAo.js} +2 -2
  9. package/dist/{HillActions-CiP2m7Nz.js → HillActions-D6weVdns.js} +1 -1
  10. package/dist/{Legend-C0Ln0VNe.js → Legend-Dv90gh-6.js} +2 -2
  11. package/dist/{NonSvgPenAndPaper-BjrMLISf.js → NonSvgPenAndPaper-D2BM5C1-.js} +3 -3
  12. package/dist/{PackageVersion-D5QkTJQU.js → PackageVersion-DhXk363L.js} +1 -1
  13. package/dist/{PenAndPaper-XdUD8uB3.js → PenAndPaper-DkQ4sEhs.js} +3 -3
  14. package/dist/{Shape-VCdxvFV9.js → Shape-B_kDj1gF.js} +1 -1
  15. package/dist/SlicerPreview-BgyIezm0.js +1730 -0
  16. package/dist/{SparkTooltip-B1gRxPfb.js → SparkTooltip-BNpyQ021.js} +1 -1
  17. package/dist/{Title-DeqmC-vN.js → Title-C2JKI5td.js} +1 -1
  18. package/dist/{Tooltip-DZ4a3XJQ.js → Tooltip-2NAb_Rrx.js} +1 -1
  19. package/dist/{UserOptions-wFD9vo9g.js → UserOptions-Dgn3StKw.js} +2 -2
  20. package/dist/components/arrow.js +1 -1
  21. package/dist/components/vue-ui-3d-bar.js +1 -1
  22. package/dist/components/vue-ui-accordion.js +1 -1
  23. package/dist/components/vue-ui-age-pyramid.js +1 -1
  24. package/dist/components/vue-ui-annotator.js +1 -1
  25. package/dist/components/vue-ui-bullet.js +1 -1
  26. package/dist/components/vue-ui-bump.js +1 -1
  27. package/dist/components/vue-ui-candlestick.js +1 -1
  28. package/dist/components/vue-ui-carousel-table.js +1 -1
  29. package/dist/components/vue-ui-chestnut.js +1 -1
  30. package/dist/components/vue-ui-chord.js +1 -1
  31. package/dist/components/vue-ui-circle-pack.js +1 -1
  32. package/dist/components/vue-ui-cursor.js +1 -1
  33. package/dist/components/vue-ui-dag.js +1 -1
  34. package/dist/components/vue-ui-dashboard.js +1 -1
  35. package/dist/components/vue-ui-digits.js +1 -1
  36. package/dist/components/vue-ui-donut-evolution.js +1 -1
  37. package/dist/components/vue-ui-donut.js +1 -1
  38. package/dist/components/vue-ui-dumbbell.js +1 -1
  39. package/dist/components/vue-ui-flow.js +1 -1
  40. package/dist/components/vue-ui-funnel.js +1 -1
  41. package/dist/components/vue-ui-galaxy.js +1 -1
  42. package/dist/components/vue-ui-gauge.js +1 -1
  43. package/dist/components/vue-ui-geo.js +1 -1
  44. package/dist/components/vue-ui-gizmo.js +1 -1
  45. package/dist/components/vue-ui-heatmap.js +1 -1
  46. package/dist/components/vue-ui-hill.js +1 -1
  47. package/dist/components/vue-ui-history-plot.js +1 -1
  48. package/dist/components/vue-ui-horizontal-bar.js +1 -1
  49. package/dist/components/vue-ui-icon.js +1 -1
  50. package/dist/components/vue-ui-kpi.js +1 -1
  51. package/dist/components/vue-ui-label.js +1 -1
  52. package/dist/components/vue-ui-mini-loader.js +1 -1
  53. package/dist/components/vue-ui-molecule.js +1 -1
  54. package/dist/components/vue-ui-mood-radar.js +1 -1
  55. package/dist/components/vue-ui-nested-donuts.js +1 -1
  56. package/dist/components/vue-ui-onion.js +1 -1
  57. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
  58. package/dist/components/vue-ui-quadrant.js +1 -1
  59. package/dist/components/vue-ui-quick-chart.js +1 -1
  60. package/dist/components/vue-ui-radar.js +1 -1
  61. package/dist/components/vue-ui-rating.js +1 -1
  62. package/dist/components/vue-ui-relation-circle.js +1 -1
  63. package/dist/components/vue-ui-ridgeline.js +1 -1
  64. package/dist/components/vue-ui-rings.js +1 -1
  65. package/dist/components/vue-ui-scatter.js +1 -1
  66. package/dist/components/vue-ui-skeleton.js +1 -1
  67. package/dist/components/vue-ui-smiley.js +1 -1
  68. package/dist/components/vue-ui-spark-trend.js +1 -1
  69. package/dist/components/vue-ui-sparkbar.js +1 -1
  70. package/dist/components/vue-ui-sparkgauge.js +1 -1
  71. package/dist/components/vue-ui-sparkhistogram.js +1 -1
  72. package/dist/components/vue-ui-sparkline.js +1 -1
  73. package/dist/components/vue-ui-sparkstackbar.js +1 -1
  74. package/dist/components/vue-ui-stackbar.js +1 -1
  75. package/dist/components/vue-ui-stackline.js +1 -1
  76. package/dist/components/vue-ui-strip-plot.js +1 -1
  77. package/dist/components/vue-ui-table-heatmap.js +1 -1
  78. package/dist/components/vue-ui-table-sparkline.js +1 -1
  79. package/dist/components/vue-ui-table.js +1 -1
  80. package/dist/components/vue-ui-thermometer.js +1 -1
  81. package/dist/components/vue-ui-timer.js +1 -1
  82. package/dist/components/vue-ui-tiremarks.js +1 -1
  83. package/dist/components/vue-ui-treemap.js +1 -1
  84. package/dist/components/vue-ui-vertical-bar.js +1 -1
  85. package/dist/components/vue-ui-waffle.js +1 -1
  86. package/dist/components/vue-ui-wheel.js +1 -1
  87. package/dist/components/vue-ui-word-cloud.js +1 -1
  88. package/dist/components/vue-ui-world.js +1 -1
  89. package/dist/components/vue-ui-xy-canvas.js +1 -1
  90. package/dist/components/vue-ui-xy.js +1 -1
  91. package/dist/{dom-to-png-DdqmzDdY.js → dom-to-png-DKdtTkNC.js} +1 -1
  92. package/dist/{exposedLib-BBtjpydc.js → exposedLib-DN6QRAx2.js} +1 -1
  93. package/dist/{img-W50sC9SC.js → img-CaIaBHA0.js} +1 -1
  94. package/dist/{labelUtils-Dvm-7rse.js → labelUtils-CD5XzcAo.js} +1 -1
  95. package/dist/{lib-DOpaUOQx.js → lib-CklJ7rIN.js} +29 -18
  96. package/dist/{package-Cmcke8zR.js → package-BVRea5S_.js} +1 -1
  97. package/dist/{pdf-zGbDDpCi.js → pdf-6hacmnKW.js} +1 -1
  98. package/dist/{render-common-CG1wuHZY.js → render-common-ChwuwzU3.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 +110 -5
  104. package/dist/types/vue-ui-candlestick.d.ts +4 -0
  105. package/dist/types/vue-ui-donut-evolution.d.ts +4 -0
  106. package/dist/types/vue-ui-quick-chart.d.ts +4 -0
  107. package/dist/types/vue-ui-sparkline.d.ts +5 -1
  108. package/dist/types/vue-ui-stackbar.d.ts +4 -0
  109. package/dist/types/vue-ui-stackline.d.ts +4 -0
  110. package/dist/types/vue-ui-xy-canvas.d.ts +2 -0
  111. package/dist/types/vue-ui-xy.d.ts +2 -0
  112. package/dist/{useConfig-C2uy4ltq.js → useConfig-DObkR9Aa.js} +49 -4
  113. package/dist/{useNestedProp-Bux0f4iY.js → useNestedProp-Tc9i6ZcN.js} +1 -1
  114. package/dist/{useObjectBindings-CEuNiBIT.js → useObjectBindings-CPmyIJxB.js} +9 -9
  115. package/dist/{usePrinter-BBBooAGP.js → usePrinter-Dp3X1vqr.js} +2 -2
  116. package/dist/utils.js +3 -3
  117. package/dist/vue-data-ui-Dr0uoRD_.js +191 -0
  118. package/dist/vue-data-ui.js +74 -74
  119. package/dist/{vue-ui-3d-bar-Ckauu3d4.js → vue-ui-3d-bar-BvJwq13N.js} +7 -7
  120. package/dist/{vue-ui-accordion-yHZMJLaY.js → vue-ui-accordion-15kKhkup.js} +4 -4
  121. package/dist/{vue-ui-age-pyramid-BczIt1-U.js → vue-ui-age-pyramid-CVzina7X.js} +7 -7
  122. package/dist/{vue-ui-annotator-BGB6K6u0.js → vue-ui-annotator-J4Wo2_DR.js} +7 -7
  123. package/dist/{vue-ui-bullet-BoTsLccZ.js → vue-ui-bullet-CuI5_uF1.js} +8 -8
  124. package/dist/{vue-ui-bump-B5ztSSQO.js → vue-ui-bump-GGNG4vwu.js} +7 -7
  125. package/dist/vue-ui-candlestick-Ca9dvzvk.js +2144 -0
  126. package/dist/{vue-ui-carousel-table-D-3KSWok.js → vue-ui-carousel-table-DOxh9sEm.js} +5 -5
  127. package/dist/{vue-ui-chestnut-W2l-W0_e.js → vue-ui-chestnut-DQhC_gB8.js} +6 -6
  128. package/dist/{vue-ui-chord-BFPQsMj8.js → vue-ui-chord-Blnvne2p.js} +9 -9
  129. package/dist/{vue-ui-circle-pack-BtPc1BR3.js → vue-ui-circle-pack-mNHA1U8B.js} +7 -7
  130. package/dist/{vue-ui-cursor-CpNOiwkt.js → vue-ui-cursor-D2hgivhn.js} +4 -4
  131. package/dist/{vue-ui-dag-i-zPwLcN.js → vue-ui-dag-DDSyO2ts.js} +8 -8
  132. package/dist/{vue-ui-dashboard-DtaW9a2P.js → vue-ui-dashboard-C9MnWAnE.js} +70 -70
  133. package/dist/{vue-ui-digits-BIlec9af.js → vue-ui-digits-h7H-yHd0.js} +4 -4
  134. package/dist/{vue-ui-donut-CJlBEyxu.js → vue-ui-donut-D-8OekQ5.js} +3 -3
  135. package/dist/vue-ui-donut-evolution-CJ6tIbgl.js +1869 -0
  136. package/dist/{vue-ui-donut-Bgf-n95J.js → vue-ui-donut-oY4iu5pY.js} +11 -11
  137. package/dist/{vue-ui-dumbbell-C112YLkC.js → vue-ui-dumbbell-52gWeLGK.js} +8 -8
  138. package/dist/{vue-ui-flow-j4bDg9Zd.js → vue-ui-flow-edMUCkcr.js} +8 -8
  139. package/dist/{vue-ui-funnel-CVHpfBCW.js → vue-ui-funnel-B08mSlHH.js} +7 -7
  140. package/dist/{vue-ui-galaxy-ChGpUWh8.js → vue-ui-galaxy-CV59UO9t.js} +10 -10
  141. package/dist/{vue-ui-gauge-Cp00vXfG.js → vue-ui-gauge-BnBzapom.js} +7 -7
  142. package/dist/{vue-ui-geo-B4hDk5NO.js → vue-ui-geo-BCmDw5me.js} +8 -8
  143. package/dist/{vue-ui-gizmo-D6nCCsS4.js → vue-ui-gizmo-BZBV8haQ.js} +4 -4
  144. package/dist/{vue-ui-heatmap-scVJc1cw.js → vue-ui-heatmap-CjiffI23.js} +8 -8
  145. package/dist/{vue-ui-hill-DnYUHGAK.js → vue-ui-hill-D5WV6zro.js} +7 -7
  146. package/dist/{vue-ui-history-plot-C5qAMaaW.js → vue-ui-history-plot-Bd06L1Od.js} +9 -9
  147. package/dist/{vue-ui-horizontal-bar-nEG4uvpv.js → vue-ui-horizontal-bar-B5Yp6Uql.js} +11 -11
  148. package/dist/{vue-ui-kpi-DOxId6xg.js → vue-ui-kpi-CNreX8BM.js} +4 -4
  149. package/dist/{vue-ui-label-BDKY7BI7.js → vue-ui-label-BDP67zvQ.js} +4 -4
  150. package/dist/{vue-ui-mini-loader-BknVs9VJ.js → vue-ui-mini-loader-pzS7SsP4.js} +3 -3
  151. package/dist/{vue-ui-molecule-_x232mMu.js → vue-ui-molecule-DqeRhja8.js} +6 -6
  152. package/dist/{vue-ui-mood-radar-D-F4855V.js → vue-ui-mood-radar-Cgl_QD-j.js} +8 -8
  153. package/dist/{vue-ui-nested-donuts-0E5IllFW.js → vue-ui-nested-donuts-MDPBZLnW.js} +10 -10
  154. package/dist/{vue-ui-onion-Eip0S1H7.js → vue-ui-onion-kgZ3uV3c.js} +10 -10
  155. package/dist/{vue-ui-parallel-coordinate-plot-DO0sQdJw.js → vue-ui-parallel-coordinate-plot-CJbZCsPd.js} +10 -10
  156. package/dist/{vue-ui-quadrant-CA0ClWfL.js → vue-ui-quadrant-B9efnVWT.js} +10 -10
  157. package/dist/{vue-ui-quick-chart-D-VuAoll.js → vue-ui-quick-chart-hNOMlqTI.js} +1053 -681
  158. package/dist/{vue-ui-radar-BTD7Y0Ps.js → vue-ui-radar-DJO16PTU.js} +9 -9
  159. package/dist/{vue-ui-rating-C_Qj6gnP.js → vue-ui-rating-BYLWm5aG.js} +3 -3
  160. package/dist/{vue-ui-relation-circle-CcxLBVFV.js → vue-ui-relation-circle-DVF3RlHU.js} +7 -7
  161. package/dist/{vue-ui-ridgeline-BZrzbbhb.js → vue-ui-ridgeline-DvgIu54T.js} +10 -10
  162. package/dist/{vue-ui-rings-CO48GOP2.js → vue-ui-rings-DVU7F6bL.js} +11 -11
  163. package/dist/{vue-ui-scatter-DrxUgZbQ.js → vue-ui-scatter-BtlRfhTt.js} +10 -10
  164. package/dist/{vue-ui-skeleton-CeKjW4MX.js → vue-ui-skeleton-DcMhyC4L.js} +4 -4
  165. package/dist/{vue-ui-smiley-BvRwx69s.js → vue-ui-smiley-qHvZQJcB.js} +3 -3
  166. package/dist/{vue-ui-spark-trend-DnujGRyt.js → vue-ui-spark-trend-BuHZP190.js} +4 -4
  167. package/dist/{vue-ui-sparkbar-Cd_uhYGD.js → vue-ui-sparkbar-MH9VeqdO.js} +4 -4
  168. package/dist/{vue-ui-sparkgauge-hT31YEtt.js → vue-ui-sparkgauge-Bg_IFD0m.js} +4 -4
  169. package/dist/{vue-ui-sparkhistogram-PKlTYhKA.js → vue-ui-sparkhistogram-DZu07vIL.js} +5 -5
  170. package/dist/vue-ui-sparkline-LwEiJPe6.js +2067 -0
  171. package/dist/{vue-ui-sparkstackbar-R0ij2vi1.js → vue-ui-sparkstackbar-hbIoybeq.js} +5 -5
  172. package/dist/vue-ui-stackbar-CaxNkWPz.js +2660 -0
  173. package/dist/vue-ui-stackline-BJqnZXeR.js +2829 -0
  174. package/dist/{vue-ui-strip-plot-DR3N56rS.js → vue-ui-strip-plot-BWK3JQr6.js} +8 -8
  175. package/dist/{vue-ui-table-Bg6BeLrf.js → vue-ui-table-CRWoH6dc.js} +6 -6
  176. package/dist/{vue-ui-table-heatmap-C1b1Pcp8.js → vue-ui-table-heatmap-Bu9RiTU0.js} +6 -6
  177. package/dist/{vue-ui-table-sparkline-CkVXyequ.js → vue-ui-table-sparkline-CTA_6-gu.js} +5 -5
  178. package/dist/{vue-ui-thermometer-CqkaMF7Z.js → vue-ui-thermometer-Y5CnROrM.js} +7 -7
  179. package/dist/{vue-ui-timer-CgJvNwBv.js → vue-ui-timer-BYEpxxDX.js} +6 -6
  180. package/dist/{vue-ui-tiremarks-B078YJ9M.js → vue-ui-tiremarks-DBndWNiA.js} +7 -7
  181. package/dist/{vue-ui-treemap-Cfjf8mDl.js → vue-ui-treemap-Cw8a0oFl.js} +10 -10
  182. package/dist/{vue-ui-waffle-BZIcPa0l.js → vue-ui-waffle-BvfD05mS.js} +11 -11
  183. package/dist/{vue-ui-wheel-CPTm8AHn.js → vue-ui-wheel-D6NsnLRc.js} +7 -7
  184. package/dist/{vue-ui-word-cloud-DnGblUwj.js → vue-ui-word-cloud-YrgMp1Fo.js} +8 -8
  185. package/dist/{vue-ui-world-KkcpeKqp.js → vue-ui-world-BMcqvuJH.js} +8 -8
  186. package/dist/{vue-ui-xy-ClCV7xA5.js → vue-ui-xy-B6wckF4S.js} +4 -4
  187. package/dist/vue-ui-xy-Bv7fhRbS.js +5769 -0
  188. package/dist/{vue-ui-xy-canvas-BlpCbXKR.js → vue-ui-xy-canvas-NzaEYHDR.js} +875 -560
  189. package/dist/{vue_ui_candlestick-J8jmJvxP.js → vue_ui_candlestick-BXSQY82k.js} +96 -9
  190. package/dist/{vue_ui_donut_evolution-D1yAAIHr.js → vue_ui_donut_evolution-C6951a2f.js} +35 -7
  191. package/dist/{vue_ui_quick_chart-mZBdml3Z.js → vue_ui_quick_chart-DByCqSYE.js} +45 -4
  192. package/dist/{vue_ui_sparkline-auZhap6Y.js → vue_ui_sparkline-b9pEUyGF.js} +33 -1
  193. package/dist/{vue_ui_stackbar-COOrQQdK.js → vue_ui_stackbar-DdjDL6aq.js} +88 -9
  194. package/dist/{vue_ui_stackline-DQqKPA9z.js → vue_ui_stackline-Bh0RuInt.js} +88 -9
  195. package/dist/{vue_ui_xy-BA3-_LCx.js → vue_ui_xy-CcJADijP.js} +78 -9
  196. package/dist/{vue_ui_xy_canvas-Cb6dg3eK.js → vue_ui_xy_canvas-DrNSzYWq.js} +88 -9
  197. package/package.json +1 -1
  198. package/dist/SlicerPreview-BJ4usfYd.js +0 -1708
  199. package/dist/vue-data-ui-BVzA0tEV.js +0 -280
  200. package/dist/vue-ui-candlestick-BJtdA4Yu.js +0 -1871
  201. package/dist/vue-ui-donut-evolution-C0BKntfL.js +0 -1552
  202. package/dist/vue-ui-sparkline-BSu1uRvP.js +0 -1610
  203. package/dist/vue-ui-stackbar-BrzzkGFk.js +0 -2369
  204. package/dist/vue-ui-stackline-zEX3gR3y.js +0 -2483
  205. package/dist/vue-ui-xy-C6lVqZnx.js +0 -5367
@@ -1,1708 +0,0 @@
1
- import { Et as e, I as t, Ot as n, P as r, U as i, V as a, W as o, X as ee, nn as te, r as ne, t as re } from "./lib-DOpaUOQx.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-Dlz7gfx0.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 y } from "vue";
7
- //#region src/atoms/SlicerPreview.vue
8
- var we = ["data-minimap"], Te = {
9
- class: "vue-data-ui-slicer-labels",
10
- style: {
11
- position: "relative",
12
- "z-index": "1",
13
- "pointer-events": "none"
14
- }
15
- }, Ee = {
16
- key: 0,
17
- style: {
18
- width: "100%",
19
- position: "relative",
20
- "pointer-events": "all"
21
- }
22
- }, De = {
23
- key: 0,
24
- class: "minimap",
25
- style: { width: "100%" }
26
- }, Oe = ["xmlns", "viewBox"], ke = ["id"], Ae = [
27
- "x",
28
- "width",
29
- "height"
30
- ], je = [
31
- "width",
32
- "height",
33
- "stroke"
34
- ], Me = ["d", "stroke"], Ne = ["d", "fill"], Pe = [
35
- "x",
36
- "y",
37
- "width",
38
- "height",
39
- "fill"
40
- ], Fe = [
41
- "d",
42
- "stroke",
43
- "stroke-dasharray"
44
- ], Ie = [
45
- "cx",
46
- "cy",
47
- "fill",
48
- "stroke"
49
- ], Le = [
50
- "cx",
51
- "cy",
52
- "fill",
53
- "stroke"
54
- ], Re = [
55
- "x",
56
- "width",
57
- "height",
58
- "fill",
59
- "rx"
60
- ], ze = [
61
- "x",
62
- "width",
63
- "height",
64
- "rx",
65
- "fill"
66
- ], Be = [
67
- "x",
68
- "width",
69
- "height",
70
- "fill",
71
- "rx",
72
- "aria-valuemin",
73
- "aria-valuemax",
74
- "aria-valuenow",
75
- "aria-valuetext"
76
- ], Ve = [
77
- "x2",
78
- "y1",
79
- "y2",
80
- "stroke"
81
- ], He = { key: "merged-tree" }, Ue = ["d", "stroke"], We = [
82
- "cx",
83
- "cy",
84
- "stroke",
85
- "fill"
86
- ], Ge = [
87
- "cx",
88
- "cy",
89
- "stroke",
90
- "fill"
91
- ], Ke = { key: "split-tree" }, qe = [
92
- "x",
93
- "y",
94
- "width",
95
- "height",
96
- "fill"
97
- ], Je = [
98
- "d",
99
- "stroke",
100
- "stroke-dasharray"
101
- ], Ye = [
102
- "cx",
103
- "cy",
104
- "fill",
105
- "stroke"
106
- ], Xe = ["width", "height"], Ze = ["transform"], Qe = [
107
- "x",
108
- "y",
109
- "width",
110
- "height"
111
- ], $e = [
112
- "x",
113
- "width",
114
- "height",
115
- "fill",
116
- "stroke",
117
- "stroke-width"
118
- ], et = ["transform"], tt = ["width", "height"], nt = ["fill", "stroke"], rt = ["stroke"], it = ["fill"], at = ["transform"], ot = [
119
- "y",
120
- "width",
121
- "height"
122
- ], st = [
123
- "width",
124
- "height",
125
- "fill",
126
- "stroke",
127
- "stroke-width"
128
- ], ct = {
129
- key: 0,
130
- class: "compact-handle-icon",
131
- style: { "pointer-events": "none" }
132
- }, lt = ["width", "height"], ut = ["fill", "stroke"], dt = ["stroke"], ft = ["fill"], pt = {
133
- key: "merged-tree",
134
- style: { "pointer-events": "none" }
135
- }, mt = [
136
- "cx",
137
- "cy",
138
- "stroke",
139
- "fill"
140
- ], ht = [
141
- "cx",
142
- "cy",
143
- "fill"
144
- ], gt = [
145
- "cx",
146
- "cy",
147
- "stroke",
148
- "fill"
149
- ], _t = [
150
- "cx",
151
- "cy",
152
- "fill"
153
- ], vt = {
154
- key: 1,
155
- style: { "pointer-events": "none" }
156
- }, yt = [
157
- "d",
158
- "stroke",
159
- "stroke-dasharray"
160
- ], bt = [
161
- "cx",
162
- "cy",
163
- "fill",
164
- "stroke"
165
- ], xt = [
166
- "cx",
167
- "cy",
168
- "stroke",
169
- "fill"
170
- ], St = [
171
- "cx",
172
- "cy",
173
- "fill"
174
- ], Ct = [
175
- "cx",
176
- "cy",
177
- "stroke",
178
- "fill"
179
- ], wt = [
180
- "cx",
181
- "cy",
182
- "fill"
183
- ], Tt = [
184
- "cx",
185
- "cy",
186
- "fill",
187
- "stroke"
188
- ], Et = [
189
- "step",
190
- "min",
191
- "max",
192
- "tabindex"
193
- ], Dt = [
194
- "step",
195
- "min",
196
- "max",
197
- "tabindex"
198
- ], Ot = 48, kt = 48, At = /*#__PURE__*/ s({
199
- __name: "SlicerPreview",
200
- props: {
201
- uuid: {
202
- type: String,
203
- default: ""
204
- },
205
- immediate: {
206
- type: Boolean,
207
- default: !0
208
- },
209
- background: {
210
- type: String,
211
- default: "#FFFFFF"
212
- },
213
- borderColor: {
214
- type: String,
215
- default: "#FFFFFF"
216
- },
217
- fontSize: {
218
- type: Number,
219
- default: 14
220
- },
221
- labelLeft: {
222
- type: [String, Number],
223
- default: ""
224
- },
225
- labelRight: {
226
- type: [String, Number],
227
- default: ""
228
- },
229
- textColor: {
230
- type: String,
231
- default: "#1A1A1A"
232
- },
233
- inputColor: {
234
- type: String,
235
- default: "#1A1A1A"
236
- },
237
- max: {
238
- type: Number,
239
- default: 0
240
- },
241
- min: {
242
- type: Number,
243
- default: 0
244
- },
245
- selectColor: {
246
- type: String,
247
- default: "#4A4A4A"
248
- },
249
- useResetSlot: {
250
- type: Boolean,
251
- default: !1
252
- },
253
- valueStart: {
254
- type: [Number, String],
255
- default: 0
256
- },
257
- valueEnd: {
258
- type: [Number, String],
259
- default: 0
260
- },
261
- minimap: {
262
- type: Array,
263
- default: []
264
- },
265
- smoothMinimap: {
266
- type: Boolean,
267
- default: !1
268
- },
269
- minimapSelectedColor: {
270
- type: String,
271
- default: "#1f77b4"
272
- },
273
- minimapSelectionRadius: {
274
- type: Number,
275
- default: 12
276
- },
277
- minimapLineColor: {
278
- type: String,
279
- default: "#2D353C"
280
- },
281
- minimapSelectedColorOpacity: {
282
- type: Number,
283
- default: .2
284
- },
285
- minimapSelectedIndex: {
286
- type: Number,
287
- default: null
288
- },
289
- minimapIndicatorColor: {
290
- type: String,
291
- default: "#2D353C"
292
- },
293
- refreshStartPoint: {
294
- type: Number,
295
- default: 0
296
- },
297
- refreshEndPoint: {
298
- type: Number,
299
- default: null
300
- },
301
- enableRangeHandles: {
302
- type: Boolean,
303
- default: !1
304
- },
305
- enableSelectionDrag: {
306
- type: Boolean,
307
- default: !0
308
- },
309
- verticalHandles: {
310
- type: Boolean,
311
- default: !1
312
- },
313
- timeLabels: { type: Array },
314
- isPreview: {
315
- type: Boolean,
316
- default: !1
317
- },
318
- preciseLabels: {
319
- type: Array,
320
- default() {
321
- return [];
322
- }
323
- },
324
- usePreciseLabels: {
325
- type: Boolean,
326
- default: !1
327
- },
328
- selectedSeries: { type: Object },
329
- customFormat: { type: [Function, null] },
330
- minimapCompact: {
331
- type: Boolean,
332
- default: !1
333
- },
334
- allMinimaps: {
335
- type: Array,
336
- default() {
337
- return [];
338
- }
339
- },
340
- minimapMerged: {
341
- type: Boolean,
342
- default: !1
343
- },
344
- minimapFrameColor: {
345
- type: String,
346
- default: "#e1e5e8"
347
- },
348
- cutNullValues: {
349
- type: Boolean,
350
- default: !1
351
- },
352
- focusOnDrag: {
353
- type: Boolean,
354
- default: !1
355
- },
356
- focusRangeRatio: {
357
- type: Number,
358
- default: .1
359
- },
360
- minScale: {
361
- type: Number,
362
- default: null
363
- },
364
- maxScale: {
365
- type: Number,
366
- default: null
367
- },
368
- forceZeroCenter: {
369
- type: Boolean,
370
- default: !1
371
- },
372
- maxWidth: {
373
- type: Number,
374
- default: null
375
- },
376
- minimapLeftInsetRatio: {
377
- type: Number,
378
- default: null
379
- },
380
- minimapRightInsetRatio: {
381
- type: Number,
382
- default: null
383
- },
384
- isCursorPointer: {
385
- type: Boolean,
386
- default: !1
387
- },
388
- additionalMinimapHeight: {
389
- type: Number,
390
- default: 0
391
- },
392
- handleType: {
393
- type: String,
394
- default: ""
395
- },
396
- handleWidth: {
397
- type: Number,
398
- default: 20
399
- },
400
- handleBorderWidth: {
401
- type: Number,
402
- default: 1
403
- },
404
- handleIconColor: {
405
- type: String,
406
- default: null
407
- },
408
- handleBorderColor: {
409
- type: String,
410
- default: null
411
- },
412
- handleFill: {
413
- type: String,
414
- default: null
415
- },
416
- precision: {
417
- type: Number,
418
- default: 0
419
- },
420
- useValueRange: {
421
- type: Boolean,
422
- default: !1
423
- }
424
- },
425
- emits: [
426
- "futureStart",
427
- "futureEnd",
428
- "update:start",
429
- "update:end",
430
- "reset",
431
- "trapMouse",
432
- "trapMouseValue"
433
- ],
434
- setup(s, { expose: At, emit: jt }) {
435
- ye((e) => ({
436
- v5a8ba0cb: ln.value,
437
- v1afdad82: N.value,
438
- v43b98b70: dn.value,
439
- v5a932b22: s.selectColor,
440
- v5ac2057d: un.value
441
- }));
442
- let b = s;
443
- function Mt(e) {
444
- let t = Number(e) || 0;
445
- return b.precision <= 0 ? Math.round(t) : Number(t.toFixed(b.precision));
446
- }
447
- let x = _(null), S = _(b.min), C = _(b.max), w = u(() => !!b.allMinimaps.length), Nt = u(() => n(b.minimapLeftInsetRatio) && n(b.minimapRightInsetRatio)), Pt = u(() => {
448
- let e = Math.min(1, Math.max(0, b.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, b.minimapRightInsetRatio)) * 100;
449
- return {
450
- padding: Nt.value ? `0 ${t}% 0 ${e}%` : "0 48px",
451
- maxWidth: b.maxWidth && !Nt.value ? `${b.maxWidth}px` : void 0,
452
- margin: b.maxWidth && !Nt.value ? "0 auto" : void 0
453
- };
454
- }), Ft = _(ee()), T = _(!1), E = u(() => w.value && b.minimapCompact), It = _(null), Lt = _(null), Rt = _(!1), zt = _(0), Bt = _(0), Vt = _(null), Ht = _(!1), Ut = u(() => It.value !== null), Wt = u(() => b.useValueRange ? C.value : C.value - 1), Gt = u(() => Math.max(1, Number(b.max) - Number(b.min)));
455
- function Kt(e) {
456
- return (Number(e) - Number(b.min)) / Gt.value * 100;
457
- }
458
- function qt(e) {
459
- return F.value.width * (Kt(e) / 100);
460
- }
461
- function Jt(e) {
462
- let t = Math.min(1, Math.max(0, e / Math.max(1, F.value.width)));
463
- return Mt(Number(b.min) + Gt.value * t);
464
- }
465
- function Yt(e) {
466
- let t = b.useValueRange ? e?.y : e;
467
- return n(t) ? Number(t) : null;
468
- }
469
- function Xt(e, t) {
470
- return b.useValueRange ? Number(e?.x) : t + Number(b.min);
471
- }
472
- function Zt(e, t) {
473
- return b.useValueRange ? qt(Xt(e, t)) : B.value * t + (b.minimapCompact ? 0 : B.value / 2);
474
- }
475
- let Qt = u(() => Math.min(40, Math.max(20, b.handleWidth))), $t = _(0), en = c((e) => j("futureStart", e), 0), tn = c((e) => j("futureEnd", e), 0), D = u(() => b.precision > 0 ? 1 / 10 ** b.precision : 1), O = u({
476
- get: () => S.value,
477
- set(e) {
478
- let t = Math.min(Number(e), Number(C.value) - D.value);
479
- t !== S.value && (S.value = t, Gn.value && (Gn.value.value = String(t)), b.immediate ? j("update:start", Number(t)) : T.value && en(t));
480
- }
481
- }), k = u({
482
- get: () => C.value,
483
- set(e) {
484
- let t = Math.max(Number(e), Number(S.value) + D.value);
485
- t !== C.value && (C.value = t, Kn.value && (Kn.value.value = String(t)), b.immediate ? j("update:end", Number(t)) : T.value && tn(t));
486
- }
487
- });
488
- function A() {
489
- clearTimeout(null), b.immediate || (j("update:start", Number(S.value)), j("update:end", Number(C.value))), T.value = !1;
490
- }
491
- let nn = u(() => b.refreshEndPoint === null ? b.max : b.refreshEndPoint), j = jt, rn = u(() => {
492
- if (b.useValueRange) return Kt(S.value);
493
- if (E.value) {
494
- let e = Math.max(1, L.value - 1);
495
- return In.value / e * 100;
496
- }
497
- let e = Math.max(1, b.max - b.min);
498
- return (S.value - b.min) / e * 100;
499
- }), an = u(() => {
500
- if (b.useValueRange) return Kt(C.value);
501
- if (E.value) {
502
- let e = Math.max(1, L.value - 1);
503
- return Ln.value / e * 100;
504
- }
505
- let e = Math.max(1, b.max - b.min);
506
- return (C.value - b.min) / e * 100;
507
- }), on = u(() => (rn.value + an.value) / 2), sn = u(() => {
508
- if (!x.value) return !1;
509
- let e = Math.max(1, b.max - b.min);
510
- return x.value.getBoundingClientRect().width * ((S.value - b.min) / e) - br.value / 2 < 0;
511
- }), cn = u(() => {
512
- if (!x.value) return !1;
513
- let e = Math.max(1, b.max - b.min), t = x.value.getBoundingClientRect().width;
514
- return t * ((C.value - b.min) / e) + xr.value / 2 > t;
515
- }), M = u(() => {
516
- let e = cn.value ? `calc(${on.value}% - ${Dr.value.width}px)` : sn.value ? `calc(${on.value}% - 8px)` : `calc(${on.value}% - ${Dr.value.width / 2}px)`;
517
- return {
518
- left: `${rn.value}%`,
519
- width: `${Math.max(0, an.value - rn.value)}%`,
520
- background: b.selectColor,
521
- tooltipLeft: `calc(${rn.value}% - ${sn.value ? 9 : br.value / 2}px)`,
522
- tooltipRight: `calc(${an.value}% - ${cn.value ? xr.value - 9 : xr.value / 2}px)`,
523
- tooltipCenter: e,
524
- arrowLeft: !sn.value,
525
- arrowRight: !cn.value
526
- };
527
- }), ln = u(() => b.inputColor), un = u(() => b.background), dn = u(() => `${b.selectColor}33`), N = u(() => b.borderColor), fn = u(() => Number(b.max) > Number(b.min));
528
- function pn() {
529
- j("reset");
530
- }
531
- xe(() => b.min, (e) => {
532
- Number(S.value) < Number(e) && (S.value = Number(e)), Number(C.value) < Number(e) && (C.value = Number(e));
533
- }), xe(() => b.max, (e) => {
534
- Number(S.value) > Number(e) && (S.value = Number(e)), Number(C.value) > Number(e) && (C.value = Number(e));
535
- });
536
- let P = _(null), F = _({
537
- width: 1,
538
- height: 1
539
- }), I = _(null);
540
- me(() => {
541
- if (w.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 + b.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, b.max - b.min));
553
- function mn(e) {
554
- let t = Math.floor(e - b.min);
555
- return Math.min(Math.max(0, t), L.value);
556
- }
557
- function hn(e) {
558
- let t = Math.ceil(e - b.min);
559
- return Math.min(Math.max(0, t), L.value);
560
- }
561
- let R = u(() => mn(S.value)), z = u(() => hn(C.value)), gn = u(() => Math.max(...b.allMinimaps.map((e) => e.series.length))), _n = u(() => w.value && b.minimapCompact ? 40 : 0), vn = u(() => _n.value / 2);
562
- u(() => Math.max(1, F.value.width - vn.value * 2));
563
- let B = u(() => {
564
- if (b.minimapCompact && !b.useValueRange) return F.value.width / Math.max(1, L.value - 1);
565
- let e = Math.max(1, gn.value - +!!b.minimapCompact);
566
- return F.value.width / e;
567
- }), yn = u(() => b.allMinimaps.length ? b.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), bn = u(() => B.value / (yn.value || 1) * .8);
568
- function xn(e, t, n) {
569
- let r = bn.value, i = Math.max(1, yn.value), a = gn.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 Sn(e, t) {
573
- return [0, gn.value - 1].includes(t) ? bn.value / 2 : bn.value;
574
- }
575
- let Cn = u(() => {
576
- let e = [];
577
- if (Array.isArray(b.minimap) && b.minimap.length && b.minimapMerged && e.push(...b.minimap.map(Yt).filter(Number.isFinite)), Array.isArray(b.allMinimaps) && b.allMinimaps.length) for (let t of b.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Yt).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
- }), wn = u(() => {
586
- if (b.minScale == null && b.forceZeroCenter) return null;
587
- let e = Number(b.minScale);
588
- return Number.isFinite(e) ? e : null;
589
- }), Tn = u(() => {
590
- if (b.maxScale == null && b.forceZeroCenter) return null;
591
- let e = Number(b.maxScale);
592
- return Number.isFinite(e) ? e : null;
593
- }), En = u(() => wn.value !== null && Tn.value !== null), Dn = u(() => {
594
- let { min: e, max: t } = Cn.value, n = wn.value, r = Tn.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
- }), On = u(() => Dn.value.min), kn = u(() => Dn.value.max), An = u(() => On.value < 0 && kn.value > 0 || kn.value <= 0 ? On.value : 0), jn = (e) => {
600
- let t = Math.max(1, F.value.height);
601
- return Nn(On.value, kn.value, t, En.value)(e);
602
- }, Mn = u(() => jn(0));
603
- function Nn(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 Pn(e, n = !1, ee = !1) {
620
- if (!e || !e.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 = Nn(On.value, kn.value, te, En.value), re = e.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 = e.map((e, t) => {
634
- let n = Yt(e), r = Number.isFinite(n), i = Zt(e, t), a = En.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, On.value, kn.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: Xt(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 = b.useValueRange ? oe.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : oe.filter((e) => e.i >= s && e.i < ie), l = b.useValueRange ? c.filter((e) => e.xValue >= Number(S.value) && e.xValue <= Number(C.value)) : c.slice(s, ie);
645
- return {
646
- fullSet: c.length >= 2 ? ee ? a(b.cutNullValues ? c : c.filter((e) => e.value != null)) : b.smoothMinimap || n ? b.cutNullValues ? t(c) : r(c.filter((e) => e.value != null)) : b.cutNullValues ? o(c) : i(c.filter((e) => e.value != null)) : "",
647
- points: c,
648
- selectionSet: l.length >= 2 ? ee ? a(b.cutNullValues ? l : l.filter((e) => e.value != null)) : b.smoothMinimap || n ? b.cutNullValues ? t(l) : r(l.filter((e) => e.value != null)) : b.cutNullValues ? o(l) : i(l.filter((e) => e.value != null)) : "",
649
- sliced: l,
650
- firstPlot: b.useValueRange ? l[0] || null : c[s] || null,
651
- lastPlot: b.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(() => b.minimap.length ? Pn(b.minimap) : []), H = u(() => b.allMinimaps.length ? b.allMinimaps.map((e, t) => {
659
- let n = Pn(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 (b.useValueRange) {
672
- let e = qt(S.value), t = qt(C.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 + (b.minimapCompact ? 0 : B.value / 2),
681
- width: B.value * (t - e) - B.value
682
- };
683
- }), W = _(b.minimapSelectedIndex), Fn = (e) => Math.round(b.min + e), In = u({
684
- get() {
685
- return E.value ? R.value : Number(O.value);
686
- },
687
- set(e) {
688
- if (E.value) {
689
- if (b.useValueRange) {
690
- let t = Mt(e);
691
- Yn(Math.min(Math.max(Number(b.min), t), Number(C.value) - D.value));
692
- return;
693
- }
694
- let t = Math.round(+e || 0);
695
- Yn(Fn(t));
696
- } else {
697
- let t = Mt(e), n = Number(C.value) - D.value, r = Math.min(Math.max(b.min, t), n);
698
- Gn.value && (Gn.value.valueAsNumber = r), Yn(r);
699
- }
700
- }
701
- }), Ln = u({
702
- get() {
703
- return E.value ? Math.max(R.value, z.value - 1) : Number(k.value);
704
- },
705
- set(e) {
706
- if (E.value) {
707
- if (b.useValueRange) {
708
- let t = Mt(e);
709
- Zn(Math.max(Number(S.value) + D.value, Math.min(t, Number(b.max))));
710
- return;
711
- }
712
- let t = Math.round(+e || 0);
713
- Zn(Fn(t + 1));
714
- } else {
715
- let t = Mt(e), n = Number(S.value) + D.value, r = Math.max(n, Math.min(t, b.max));
716
- Kn.value && (Kn.value.valueAsNumber = r), Zn(r);
717
- }
718
- }
719
- }), Rn = 0;
720
- function zn(e, t) {
721
- if (t === Rn) {
722
- if (b.useValueRange) {
723
- W.value = Number.isFinite(Number(e)) ? qt(Number(e)) : null;
724
- return;
725
- }
726
- W.value = mn(b.valueStart) + e;
727
- }
728
- }
729
- let Bn = ie(zn, 60);
730
- xe(() => b.minimapSelectedIndex, (e, t) => {
731
- if (Rn += 1, [null, void 0].includes(e)) {
732
- W.value = null;
733
- return;
734
- }
735
- e !== t && Bn(e, Rn);
736
- }, { immediate: !0 });
737
- function Vn(e) {
738
- if (Ut.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 Hn(e) {
744
- let t = Jt(e), n = b.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 Un(e) {
753
- if (!fn.value || Ut.value) return;
754
- let t = Ur(e.clientX);
755
- if (b.useValueRange) {
756
- let e = Hn(t);
757
- if (!e) {
758
- Wn();
759
- return;
760
- }
761
- W.value = qt(e.x), j("trapMouse", e.index), j("trapMouseValue", e.x);
762
- return;
763
- }
764
- Vn(Wr(t));
765
- }
766
- function Wn() {
767
- W.value = null, !Ut.value && (j("trapMouse", null), j("trapMouseValue", null));
768
- }
769
- let Gn = _(null), Kn = _(null);
770
- function qn(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 Jn = 0;
779
- function Yn(e) {
780
- T.value = !0;
781
- let t = qn(e);
782
- Number.isFinite(t) && (cancelAnimationFrame(Jn), Jn = requestAnimationFrame(() => {
783
- O.value = t;
784
- }));
785
- }
786
- let Xn = 0;
787
- function Zn(e) {
788
- T.value = !0;
789
- let t = qn(e);
790
- Number.isFinite(t) && (cancelAnimationFrame(Xn), Xn = requestAnimationFrame(() => {
791
- k.value = t;
792
- }));
793
- }
794
- pe(() => {
795
- cancelAnimationFrame(Jn), cancelAnimationFrame(Xn);
796
- });
797
- let Qn = u(() => b.valueEnd - b.valueStart), $n = u(() => Qn.value < b.max - b.min), G = _(!1), er = _(null), tr = u(() => ($t.value - 48) / (b.max - b.min) * Qn.value), nr = u(() => Math.max(1, $t.value - Ot - tr.value)), rr = u(() => Math.max(1, b.max - b.min - Qn.value)), ir = u(() => rr.value / nr.value), ar = _(0), or = _(0), sr = _(0), cr = _(0), K = null, q = null, J = null, Y = null, lr = _(b.min);
798
- function ur(e) {
799
- if (!x.value) return b.min;
800
- let t = x.value.getBoundingClientRect(), n = t.left + Ot / 2, r = t.right - Ot / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, b.max - b.min);
801
- return Math.round(b.min + a * o);
802
- }
803
- let dr = async (e) => {
804
- if (T.value = !0, Z.value = !0, !b.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 (er.value = i, ar.value = i, b.focusOnDrag && !$n.value && x.value && !Ht.value) {
812
- Ht.value = !0;
813
- try {
814
- lr.value = ur(i);
815
- let e = Math.min(.95, Math.max(.05, b.focusRangeRatio)), t = Number(b.max) - Number(b.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = lr.value - r;
816
- a = Math.max(Number(b.min), Math.min(a, Number(b.max) - n));
817
- let o = Math.min(Number(b.max), a + n);
818
- O.value = a, k.value = o, en(a), tn(o), te(x.value, "mouseup"), await de(), te(x.value, "mousedown", { clientX: i });
819
- } finally {
820
- Ht.value = !1;
821
- }
822
- return;
823
- }
824
- or.value = S.value, sr.value = C.value, cr.value = ir.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? pr : fr, Y = t ? gr : hr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
825
- };
826
- function fr(e) {
827
- G.value && mr(e.clientX);
828
- }
829
- function pr(e) {
830
- if (!G.value || !x.value) return;
831
- let t = e.target;
832
- if (!(t instanceof Element) || !x.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 && mr(n.clientX);
836
- }
837
- function mr(e) {
838
- if (!G.value) return;
839
- let t = ur(ar.value), n = ur(e) - t, r = Math.round(or.value + n);
840
- r = Math.max(b.min, Math.min(r, b.max - Qn.value));
841
- let i = r + Qn.value;
842
- O.value = r, k.value = i, en(r), tn(i);
843
- }
844
- function hr() {
845
- _r();
846
- }
847
- function gr() {
848
- _r();
849
- }
850
- function _r() {
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), vr = _(null), yr = _(null), br = _(1), xr = _(1), Z = _(!1);
854
- function Sr() {
855
- if (vr.value) {
856
- let e = Math.round(vr.value.getBoundingClientRect().width);
857
- e !== br.value && (br.value = e);
858
- }
859
- }
860
- function Cr() {
861
- if (yr.value) {
862
- let e = Math.round(yr.value.getBoundingClientRect().width);
863
- e !== xr.value && (xr.value = e);
864
- }
865
- }
866
- he(() => {
867
- Sr(), Cr();
868
- });
869
- let wr = _(0);
870
- function Tr(e) {
871
- wr.value = +(e === "start");
872
- }
873
- let Er = _(!1), Dr = _({
874
- width: 0,
875
- left: 0
876
- });
877
- xe([S, C], async () => {
878
- if (await de(), !vr.value || !yr.value) {
879
- Er.value = !1, Dr.value = {
880
- width: 0,
881
- left: 0
882
- };
883
- return;
884
- }
885
- let e = vr.value.getBoundingClientRect(), t = yr.value.getBoundingClientRect();
886
- Er.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
- Dr.value = {
889
- width: i,
890
- left: a - i / 2
891
- };
892
- }), he(() => {
893
- Sr(), Cr();
894
- }), xe(() => b.labelLeft, () => {
895
- de(Sr);
896
- }, { deep: !0 }), xe(() => b.labelRight, () => {
897
- de(Cr);
898
- }, { deep: !0 });
899
- let Q = u(() => {
900
- let t = "", n = "", r = !1;
901
- if (e(b.customFormat)) try {
902
- let e = b.customFormat({
903
- absoluteIndex: S.value,
904
- seriesIndex: S.value,
905
- datapoint: b.selectedSeries,
906
- timeLabel: b.preciseLabels[S.value],
907
- side: "left"
908
- }), i = b.customFormat({
909
- absoluteIndex: Wt.value,
910
- seriesIndex: -1,
911
- datapoint: b.selectedSeries,
912
- timeLabel: b.useValueRange ? null : b.preciseLabels[Wt.value],
913
- side: "right"
914
- });
915
- typeof e == "string" && typeof i == "string" && (t = e, n = i, r = !0);
916
- } catch {
917
- r = !1;
918
- }
919
- if (!r) {
920
- let e = b.useValueRange ? { text: String(Math.round(S.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === S.value) : b.timeLabels.find((e) => e.absoluteIndex === S.value), r = b.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : b.usePreciseLabels ? b.preciseLabels.find((e) => e.absoluteIndex === Wt.value) : b.timeLabels.find((e) => e.absoluteIndex === Wt.value);
921
- t = e ? e.text : "", n = r ? r.text : "";
922
- }
923
- return {
924
- left: t,
925
- right: n
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 Or = u(() => {
932
- if (!fn.value || W.value === null) return null;
933
- if (b.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: b.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 + (b.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: b.minimapIndicatorColor,
954
- "stroke-linecap": "round",
955
- "stroke-dasharray": 2,
956
- "stroke-width": 1
957
- };
958
- }
959
- return null;
960
- }), kr = u(() => Number(S.value) < Number(C.value) - 1), Ar = u(() => Number(S.value) > Number(b.min)), jr = u(() => Number(C.value) < Number(b.max)), Mr = u(() => Number(C.value) > Number(S.value) + 1);
961
- function Nr(e) {
962
- let t = Number(S.value) + e;
963
- e > 0 && !kr.value || e < 0 && !Ar.value || (T.value = !0, O.value = t, A());
964
- }
965
- function Pr(e) {
966
- let t = Number(C.value) + e;
967
- e > 0 && !jr.value || e < 0 && !Mr.value || (T.value = !0, k.value = t, A());
968
- }
969
- let Fr = {
970
- plus: () => Nr(1),
971
- minus: () => Nr(-1),
972
- canPlus: kr,
973
- canMinus: Ar
974
- }, Ir = {
975
- plus: () => Pr(1),
976
- minus: () => Pr(-1),
977
- canPlus: jr,
978
- canMinus: Mr
979
- };
980
- function Lr(e) {
981
- if (!e || Rr(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 ? (Fr.plus(), Ir.plus()) : (Fr.minus(), Ir.minus()));
984
- }
985
- function Rr(e) {
986
- return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
987
- }
988
- function zr(e) {
989
- if (!w.value || !b.minimapCompact) return;
990
- let t = x.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 Br(e, t) {
996
- if (!t || Rr(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 ? Fr.plus() : Fr.minus() : i ? Ir.plus() : Ir.minus(), de(() => zr(e)));
999
- }
1000
- let Vr = u(() => ({
1001
- tabindex: 0,
1002
- role: "slider",
1003
- "aria-label": "Range start",
1004
- "aria-valuemin": Number(b.min),
1005
- "aria-valuemax": Math.max(Number(b.min), Number(C.value) - 1),
1006
- "aria-valuenow": Number(S.value)
1007
- })), Hr = u(() => ({
1008
- tabindex: 0,
1009
- role: "slider",
1010
- "aria-label": "Range end",
1011
- "aria-valuemin": Math.min(Number(b.max), Number(S.value) + 1),
1012
- "aria-valuemax": Number(b.max),
1013
- "aria-valuenow": Number(C.value)
1014
- }));
1015
- function Ur(e) {
1016
- if (!Vt.value) return 0;
1017
- let t = Vt.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 Wr(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 Gr(e, t) {
1027
- let n = Math.min(Math.max(0, t), Math.max(1, F.value.width));
1028
- if (b.useValueRange) {
1029
- let t = Jt(n);
1030
- if (e === "start") {
1031
- let e = Math.min(t, Number(C.value) - D.value);
1032
- O.value = e, en(e);
1033
- return;
1034
- }
1035
- if (e === "end") {
1036
- let e = Math.max(Number(S.value) + D.value, t), n = Math.min(Number(b.max), e);
1037
- k.value = n, tn(n);
1038
- return;
1039
- }
1040
- }
1041
- let r = Wr(n);
1042
- if (e === "start") {
1043
- let e = Math.min(b.min + r, Number(C.value) - 1);
1044
- O.value = e, en(e);
1045
- return;
1046
- }
1047
- if (e === "end") {
1048
- let e = Math.max(Number(S.value) + 1, b.min + r + 1), t = Math.min(b.max, e);
1049
- k.value = t, tn(t);
1050
- }
1051
- }
1052
- function Kr(e, t) {
1053
- if (It.value !== e || Lt.value !== t.pointerId || !P.value) return;
1054
- t.preventDefault();
1055
- let n = t.clientX - zt.value;
1056
- if (!Rt.value) {
1057
- if (Math.abs(n) < 4) return;
1058
- Rt.value = !0, T.value = !0, Z.value = !0;
1059
- }
1060
- let r = Ur(t.clientX) - Bt.value;
1061
- Gr(e, e === "start" ? r + Qt.value : r);
1062
- }
1063
- function qr(e, t) {
1064
- if (It.value !== e || Lt.value !== t.pointerId) return;
1065
- let n = t.currentTarget;
1066
- n?.hasPointerCapture?.(t.pointerId) && n.releasePointerCapture(t.pointerId);
1067
- let r = Rt.value;
1068
- It.value = null, Lt.value = null, Rt.value = !1, zt.value = 0, Bt.value = 0, r && A();
1069
- }
1070
- function Jr(e, t) {
1071
- if (!w.value || !b.minimapCompact || !P.value || Lt.value !== null) return;
1072
- t.preventDefault(), t.stopPropagation(), W.value = null;
1073
- let n = Ur(t.clientX), r = e === "start" ? U.value.x - Qt.value : U.value.x + U.value.width;
1074
- It.value = e, Lt.value = t.pointerId, Rt.value = !1, zt.value = t.clientX, Bt.value = n - r, t.currentTarget?.setPointerCapture?.(t.pointerId);
1075
- }
1076
- let Yr = u(() => R.value), Xr = u(() => Math.max(R.value, z.value - 1));
1077
- u(() => {
1078
- if (!w.value || !b.minimapCompact || !b.allMinimaps.length) return [];
1079
- let e = Yr.value, t = Xr.value;
1080
- return H.value.flatMap((n) => {
1081
- if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1082
- let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
1083
- return i && r.push({
1084
- key: `${n.key}-left-${i.i}`,
1085
- x: i.x,
1086
- y: i.y,
1087
- color: n.color
1088
- }), a && t !== e && r.push({
1089
- key: `${n.key}-right-${a.i}`,
1090
- x: a.x,
1091
- y: a.y,
1092
- color: n.color
1093
- }), r;
1094
- });
1095
- });
1096
- let $ = u(() => Math.min(40, Math.max(20, b.handleWidth))), Zr = u(() => Math.max(kt, $.value)), Qr = u(() => Math.max(kt, Number(F.value.height) || 0)), $r = u(() => (F.value.height - Qr.value) / 2), ei = u(() => U.value.x), ti = u(() => U.value.x + U.value.width);
1097
- return At({
1098
- setStartValue: Yn,
1099
- setEndValue: Zn
1100
- }), (e, t) => (g(), f("div", {
1101
- "data-minimap": w.value,
1102
- "data-dom-to-png-ignore": "",
1103
- "data-dom-to-png-ignore-layout": "",
1104
- class: "vue-data-ui-zoom",
1105
- ref_key: "zoomWrapper",
1106
- ref: x,
1107
- onMousedown: dr,
1108
- onTouchstart: dr,
1109
- style: h(Pt.value)
1110
- }, [p("div", Te, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== nn.value ? (g(), f("div", Ee, [ge(e.$slots, "reset-action", { reset: pn }, () => [p("button", {
1111
- tabindex: "0",
1112
- role: "button",
1113
- class: "vue-data-ui-refresh-button",
1114
- style: h({
1115
- top: w.value ? "36px" : "-16px",
1116
- cursor: s.isCursorPointer ? "pointer" : "default"
1117
- }),
1118
- onClick: pn
1119
- }, [ce(oe, {
1120
- name: "refresh",
1121
- stroke: s.textColor
1122
- }, null, 8, ["stroke"])], 4)], !0)])) : d("", !0)]), p("div", {
1123
- class: "double-range-slider",
1124
- ref_key: "minimapWrapper",
1125
- ref: P,
1126
- style: h([{ "z-index": "0" }, w.value ? {
1127
- "--minimap-unit-px": B.value + "px",
1128
- "--minimap-offset-px": (s.minimapCompact ? 0 : B.value / 2) + "px"
1129
- } : void 0]),
1130
- onMouseenter: t[24] ||= (e) => Z.value = !0,
1131
- onMouseleave: t[25] ||= (e) => Z.value = !1
1132
- }, [
1133
- w.value ? (g(), f("div", De, [(g(), f("svg", {
1134
- ref_key: "minimapSvg",
1135
- ref: Vt,
1136
- key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
1137
- xmlns: ve(re),
1138
- viewBox: `0 0 ${Math.max(0, F.value.width)} ${Math.max(0, F.value.height)}`,
1139
- preserveAspectRatio: "none"
1140
- }, [
1141
- p("defs", null, [ce(se, {
1142
- t: "linear",
1143
- id: Ft.value,
1144
- x1: "0%",
1145
- y1: "0%",
1146
- x2: "0%",
1147
- y2: "100%",
1148
- stops: [[
1149
- "0%",
1150
- s.minimapLineColor,
1151
- .31
1152
- ], [
1153
- "100%",
1154
- "transparent",
1155
- 0
1156
- ]]
1157
- }, null, 8, ["id", "stops"]), p("clipPath", { id: `selection_clip_${Ft.value}` }, [p("rect", {
1158
- x: U.value.x,
1159
- y: "0",
1160
- width: Math.max(0, U.value.width),
1161
- height: Math.max(F.value.height, 0)
1162
- }, null, 8, Ae)], 8, ke)]),
1163
- s.minimapCompact ? (g(), f("rect", {
1164
- key: 0,
1165
- class: "vue-ui-zoom-minimap-frame",
1166
- x: 0,
1167
- y: 0,
1168
- width: F.value.width,
1169
- height: F.value.height,
1170
- fill: "none",
1171
- stroke: s.minimapFrameColor,
1172
- rx: 3
1173
- }, null, 8, je)) : d("", !0),
1174
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 1 }, [s.minimapMerged ? (g(), f("path", {
1175
- key: 0,
1176
- d: `M${V.value.fullSet}`,
1177
- stroke: `${s.minimapLineColor}`,
1178
- fill: "none",
1179
- "stroke-width": "1",
1180
- "stroke-linecap": "round",
1181
- "stroke-linejoin": "round",
1182
- style: { opacity: "0.6" }
1183
- }, null, 8, Me)) : d("", !0), s.minimapMerged && !s.minimapCompact ? (g(), f("path", {
1184
- key: 1,
1185
- 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`,
1186
- fill: `url(#${Ft.value})`,
1187
- stroke: "none",
1188
- style: { opacity: "0.6" }
1189
- }, null, 8, Ne)) : s.minimapMerged ? d("", !0) : (g(), f(l, { key: 2 }, [
1190
- (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", {
1191
- key: 0,
1192
- x: xn(n.x, t, r),
1193
- y: n.v >= 0 ? n.y : n.y0,
1194
- width: Sn(t, r),
1195
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1196
- fill: e.color,
1197
- style: { opacity: .6 }
1198
- }, null, 8, Pe)) : d("", !0)], 64))), 256))]))), 256)),
1199
- (g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e) => (g(), f("g", null, [e.isVisible ? (g(), f("path", {
1200
- key: 0,
1201
- d: `M ${e.fullSet}`,
1202
- fill: "none",
1203
- stroke: e.color,
1204
- style: { opacity: "0.6" },
1205
- "stroke-dasharray": e.dashed ? "2 4" : 0
1206
- }, null, 8, Fe)) : d("", !0), e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.fullMarkers, (t) => (g(), f("circle", {
1207
- key: `sel-dot-under-${e.key}-${t.i}`,
1208
- cx: t.x,
1209
- cy: t.y,
1210
- r: "2",
1211
- fill: e.color,
1212
- stroke: N.value,
1213
- "stroke-width": "0.5",
1214
- style: { opacity: "0.6" }
1215
- }, null, 8, Ie))), 128)) : d("", !0)]))), 256)),
1216
- (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", {
1217
- key: `sel-plot-under-${e.key}-${t.i}`,
1218
- cx: t.x,
1219
- cy: t.y,
1220
- r: "2",
1221
- fill: e.color,
1222
- stroke: N.value,
1223
- "stroke-width": "0.5",
1224
- style: { opacity: "0.6" }
1225
- }, null, 8, Le)) : d("", !0)]))), 256))]))), 256))
1226
- ], 64))], 64)),
1227
- p("rect", {
1228
- x: U.value.x,
1229
- y: 0,
1230
- width: Math.max(0, U.value.width),
1231
- height: Math.max(F.value.height, 0),
1232
- fill: N.value,
1233
- rx: s.minimapSelectionRadius,
1234
- stroke: "none"
1235
- }, null, 8, Re),
1236
- p("rect", {
1237
- x: U.value.x,
1238
- y: 0,
1239
- width: U.value.width < 0 ? 0 : U.value.width,
1240
- height: Math.max(F.value.height, 0),
1241
- rx: s.minimapSelectionRadius,
1242
- fill: N.value,
1243
- style: h({ opacity: G.value || T.value ? 0 : 1 })
1244
- }, null, 12, ze),
1245
- p("rect", {
1246
- x: U.value.x,
1247
- y: 0,
1248
- width: U.value.width < 0 ? 0 : U.value.width,
1249
- height: Math.max(F.value.height, 0),
1250
- fill: s.minimapSelectedColor,
1251
- rx: s.minimapSelectionRadius,
1252
- style: h({ opacity: s.minimapSelectedColorOpacity }),
1253
- tabindex: "0",
1254
- role: "slider",
1255
- "aria-label": "Selected range",
1256
- "aria-valuemin": Number(b.min),
1257
- "aria-valuemax": Number(b.max),
1258
- "aria-valuenow": Number(S.value),
1259
- "aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
1260
- onKeydown: Lr
1261
- }, null, 44, Be),
1262
- !s.minimapMerged && An.value < 0 ? (g(), f("line", {
1263
- key: 2,
1264
- class: "slicer-minimap-zero-line",
1265
- x1: 0,
1266
- x2: F.value.width,
1267
- y1: Mn.value,
1268
- y2: Mn.value,
1269
- stroke: s.minimapFrameColor,
1270
- "stroke-width": "0.5"
1271
- }, null, 8, Ve)) : d("", !0),
1272
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 3 }, [s.minimapMerged ? (g(), f("g", He, [
1273
- V.value && V.value.sliced && V.value.sliced.length ? (g(), f(l, { key: 0 }, [V.value.selectionSet ? (g(), f("path", {
1274
- key: 0,
1275
- d: `M ${V.value.selectionSet}`,
1276
- stroke: `${s.minimapLineColor}`,
1277
- fill: "transparent",
1278
- "stroke-width": "2",
1279
- "stroke-linecap": "round",
1280
- "stroke-linejoin": "round"
1281
- }, null, 8, Ue)) : d("", !0)], 64)) : d("", !0),
1282
- V.value && V.value.firstPlot ? (g(), f("circle", {
1283
- key: 1,
1284
- cx: V.value.firstPlot.x,
1285
- cy: V.value.firstPlot.y,
1286
- "stroke-width": "0.5",
1287
- stroke: N.value,
1288
- r: "3",
1289
- fill: s.minimapLineColor
1290
- }, null, 8, We)) : d("", !0),
1291
- V.value && V.value.lastPlot ? (g(), f("circle", {
1292
- key: 2,
1293
- cx: V.value.lastPlot.x,
1294
- cy: V.value.lastPlot.y,
1295
- "stroke-width": "0.5",
1296
- stroke: N.value,
1297
- r: "3",
1298
- fill: s.minimapLineColor
1299
- }, null, 8, Ge)) : d("", !0)
1300
- ])) : (g(), f("g", Ke, [
1301
- (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", {
1302
- key: 0,
1303
- x: xn(n.x, t, r),
1304
- y: n.v >= 0 ? n.y : n.y0,
1305
- width: Sn(t, r),
1306
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1307
- fill: e.color,
1308
- style: h({ opacity: +(r >= O.value && r < k.value) })
1309
- }, null, 12, qe)) : d("", !0)], 64))), 256))]))), 256)),
1310
- (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", {
1311
- key: 0,
1312
- d: `M ${e.selectionSet}`,
1313
- stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1314
- fill: "transparent",
1315
- "stroke-width": "2",
1316
- "stroke-linecap": "round",
1317
- "stroke-linejoin": "round",
1318
- "stroke-dasharray": e.dashed ? "2 4" : 0
1319
- }, null, 8, Je)) : d("", !0)]))), 128)),
1320
- (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", {
1321
- key: 0,
1322
- cx: t.x,
1323
- cy: t.y,
1324
- r: "2",
1325
- fill: e.color,
1326
- stroke: N.value,
1327
- "stroke-width": "0.5",
1328
- style: { opacity: "0.6" }
1329
- }, null, 8, Ye)) : d("", !0)]))), 256))]))), 128))
1330
- ]))], 64)),
1331
- e.$slots.slotMap ? ge(e.$slots, "slotMap", fe(le({
1332
- width: Math.max(0, F.value.width),
1333
- height: Math.max(0, F.value.height),
1334
- zeroY: Mn.value,
1335
- unitW: Math.max(0, B.value)
1336
- })), void 0, !0, 4) : d("", !0),
1337
- W.value !== null && !X.value ? (g(), f("line", fe(ue({ key: 5 }, Or.value)), null, 16)) : d("", !0),
1338
- p("rect", {
1339
- x: 0,
1340
- y: 0,
1341
- width: Math.max(0, F.value.width),
1342
- height: Math.max(0, F.value.height),
1343
- fill: "transparent",
1344
- style: h([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
1345
- onMousedown: t[0] ||= (e) => X.value = !0,
1346
- onMouseup: t[1] ||= (e) => X.value = !1,
1347
- onMousemove: Un,
1348
- onMouseleave: Wn
1349
- }, null, 44, Xe),
1350
- w.value && s.minimapCompact ? (g(), f(l, { key: 6 }, [p("g", ue({
1351
- class: "vue-ui-zoom-compact-minimap-handle",
1352
- transform: `translate(${ei.value}, 0)`
1353
- }, Vr.value, {
1354
- onKeydown: t[2] ||= (e) => Br("start", e),
1355
- onPointerdown: t[3] ||= y((e) => Jr("start", e), ["stop", "prevent"]),
1356
- onPointermove: t[4] ||= y((e) => Kr("start", e), ["stop", "prevent"]),
1357
- onPointerup: t[5] ||= y((e) => qr("start", e), ["stop", "prevent"]),
1358
- onPointercancel: t[6] ||= y((e) => qr("start", e), ["stop", "prevent"]),
1359
- onClick: t[7] ||= y(() => {}, ["stop", "prevent"])
1360
- }), [
1361
- p("rect", {
1362
- class: "vue-ui-zoom-compact-minimap-handle-hit",
1363
- x: -Zr.value,
1364
- y: $r.value,
1365
- width: Zr.value,
1366
- height: Qr.value,
1367
- fill: "transparent"
1368
- }, null, 8, Qe),
1369
- p("rect", {
1370
- class: "vue-ui-zoom-compact-minimap-handle-visual",
1371
- x: -$.value,
1372
- y: 0,
1373
- width: $.value,
1374
- height: F.value.height,
1375
- fill: s.handleFill || N.value,
1376
- stroke: s.handleBorderColor || s.textColor,
1377
- "stroke-width": s.handleBorderWidth,
1378
- rx: 3
1379
- }, null, 8, $e),
1380
- s.handleType && s.handleType !== "empty" ? (g(), f("g", {
1381
- key: 0,
1382
- class: "compact-handle-icon",
1383
- transform: `translate(${-$.value}, 0)`,
1384
- style: { "pointer-events": "none" }
1385
- }, [(g(), f("svg", {
1386
- width: $.value,
1387
- height: F.value.height,
1388
- viewBox: "0 0 20 20",
1389
- preserveAspectRatio: "xMidYMid meet"
1390
- }, [s.handleType === "arrow" ? (g(), f("path", {
1391
- key: 0,
1392
- 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",
1393
- fill: N.value,
1394
- stroke: s.handleIconColor || s.textColor,
1395
- "stroke-width": .618,
1396
- "stroke-linejoin": "round",
1397
- "stroke-linecap": "round"
1398
- }, null, 8, nt)) : s.handleType === "chevron" ? (g(), f("path", {
1399
- key: 1,
1400
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1401
- fill: "none",
1402
- stroke: s.handleIconColor || s.textColor,
1403
- "stroke-width": .618,
1404
- "stroke-linejoin": "round",
1405
- "stroke-linecap": "round"
1406
- }, null, 8, rt)) : s.handleType === "grab" ? (g(), f("path", {
1407
- key: 2,
1408
- 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",
1409
- fill: s.handleIconColor || s.textColor,
1410
- stroke: "none",
1411
- opacity: "0.6"
1412
- }, null, 8, it)) : d("", !0)], 8, tt))], 8, et)) : d("", !0)
1413
- ], 16, Ze), p("g", ue({
1414
- class: "vue-ui-zoom-compact-minimap-handle",
1415
- transform: `translate(${ti.value}, 0)`
1416
- }, Hr.value, {
1417
- onKeydown: t[8] ||= (e) => Br("end", e),
1418
- onPointerdown: t[9] ||= y((e) => Jr("end", e), ["stop", "prevent"]),
1419
- onPointermove: t[10] ||= y((e) => Kr("end", e), ["stop", "prevent"]),
1420
- onPointerup: t[11] ||= y((e) => qr("end", e), ["stop", "prevent"]),
1421
- onPointercancel: t[12] ||= y((e) => qr("end", e), ["stop", "prevent"]),
1422
- onClick: t[13] ||= y(() => {}, ["stop", "prevent"])
1423
- }), [
1424
- p("rect", {
1425
- class: "vue-ui-zoom-compact-minimap-handle-hit",
1426
- x: 0,
1427
- y: $r.value,
1428
- width: Zr.value,
1429
- height: Qr.value,
1430
- fill: "transparent"
1431
- }, null, 8, ot),
1432
- p("rect", {
1433
- class: "vue-ui-zoom-compact-minimap-handle-visual",
1434
- x: 0,
1435
- y: 0,
1436
- width: $.value,
1437
- height: F.value.height,
1438
- fill: s.handleFill || N.value,
1439
- stroke: s.handleBorderColor || s.textColor,
1440
- "stroke-width": s.handleBorderWidth,
1441
- rx: 3
1442
- }, null, 8, st),
1443
- s.handleType && s.handleType !== "empty" ? (g(), f("g", ct, [(g(), f("svg", {
1444
- width: $.value,
1445
- height: F.value.height,
1446
- viewBox: "0 0 20 20",
1447
- preserveAspectRatio: "xMidYMid meet"
1448
- }, [s.handleType === "arrow" ? (g(), f("path", {
1449
- key: 0,
1450
- 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",
1451
- fill: N.value,
1452
- stroke: s.handleIconColor || s.textColor,
1453
- "stroke-width": .618,
1454
- "stroke-linejoin": "round",
1455
- "stroke-linecap": "round"
1456
- }, null, 8, ut)) : s.handleType === "chevron" ? (g(), f("path", {
1457
- key: 1,
1458
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1459
- fill: "none",
1460
- stroke: s.handleIconColor || s.textColor,
1461
- "stroke-width": .618,
1462
- "stroke-linejoin": "round",
1463
- "stroke-linecap": "round"
1464
- }, null, 8, dt)) : s.handleType === "grab" ? (g(), f("path", {
1465
- key: 2,
1466
- 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",
1467
- fill: s.handleIconColor || s.textColor,
1468
- stroke: "none",
1469
- opacity: "0.6"
1470
- }, null, 8, ft)) : d("", !0)], 8, lt))])) : d("", !0)
1471
- ], 16, at)], 64)) : d("", !0),
1472
- e.$slots.slotMap ? d("", !0) : (g(), f(l, { key: 7 }, [s.minimapMerged ? (g(), f("g", pt, [
1473
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1474
- key: 0,
1475
- cx: V.value.firstPlot.x,
1476
- cy: V.value.firstPlot.y,
1477
- "stroke-width": "0.5",
1478
- stroke: N.value,
1479
- r: "4",
1480
- fill: s.minimapLineColor
1481
- }, null, 8, mt)) : d("", !0),
1482
- V.value && V.value.firstPlot && V.value.firstPlot.value !== null ? (g(), f("circle", {
1483
- key: 1,
1484
- cx: V.value.firstPlot.x,
1485
- cy: V.value.firstPlot.y,
1486
- r: 2,
1487
- fill: N.value
1488
- }, null, 8, ht)) : d("", !0),
1489
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1490
- key: 2,
1491
- cx: V.value.lastPlot.x,
1492
- cy: V.value.lastPlot.y,
1493
- "stroke-width": "0.5",
1494
- stroke: N.value,
1495
- r: "4",
1496
- fill: s.minimapLineColor
1497
- }, null, 8, gt)) : d("", !0),
1498
- V.value && V.value.lastPlot && V.value.lastPlot.value !== null ? (g(), f("circle", {
1499
- key: 3,
1500
- cx: V.value.lastPlot.x,
1501
- cy: V.value.lastPlot.y,
1502
- r: "2",
1503
- fill: N.value
1504
- }, null, 8, _t)) : d("", !0)
1505
- ])) : (g(), f("g", vt, [(g(!0), f(l, null, v(H.value.filter((e) => e.type === "line"), (e, t) => (g(), f("g", { key: String(e.key) }, [
1506
- e && e.hasSelection && e.selectionSet && e.isVisible ? (g(), f("path", {
1507
- key: 0,
1508
- d: `M ${e.selectionSet}`,
1509
- stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${s.uuid})` : e.color,
1510
- fill: "transparent",
1511
- "stroke-width": "2",
1512
- "stroke-linecap": "round",
1513
- "stroke-linejoin": "round",
1514
- "stroke-dasharray": e.dashed ? "2 4" : 0
1515
- }, null, 8, yt)) : d("", !0),
1516
- e.isVisible && s.cutNullValues ? (g(!0), f(l, { key: 1 }, v(e.selectionMarkers, (t) => (g(), f("circle", {
1517
- key: `sel-dot-${e.key}-${t.i}`,
1518
- cx: t.x,
1519
- cy: t.y,
1520
- r: "2.5",
1521
- fill: e.color,
1522
- stroke: N.value,
1523
- "stroke-width": "0.5"
1524
- }, null, 8, bt))), 128)) : d("", !0),
1525
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1526
- key: 2,
1527
- cx: e.firstPlot.x,
1528
- cy: e.firstPlot.y,
1529
- "stroke-width": "0.5",
1530
- stroke: N.value,
1531
- r: "4",
1532
- fill: e.color
1533
- }, null, 8, xt)) : d("", !0),
1534
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (g(), f("circle", {
1535
- key: 3,
1536
- cx: e.firstPlot.x,
1537
- cy: e.firstPlot.y,
1538
- r: "2",
1539
- fill: N.value
1540
- }, null, 8, St)) : d("", !0),
1541
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1542
- key: 4,
1543
- cx: e.lastPlot.x,
1544
- cy: e.lastPlot.y,
1545
- "stroke-width": "0.5",
1546
- stroke: N.value,
1547
- r: "4",
1548
- fill: e.color
1549
- }, null, 8, Ct)) : d("", !0),
1550
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (g(), f("circle", {
1551
- key: 5,
1552
- cx: e.lastPlot.x,
1553
- cy: e.lastPlot.y,
1554
- r: "2",
1555
- fill: N.value
1556
- }, null, 8, wt)) : d("", !0)
1557
- ]))), 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", {
1558
- key: `sel-plot-${e.key}-${t.i}`,
1559
- cx: t.x,
1560
- cy: t.y,
1561
- r: "2.5",
1562
- fill: e.color,
1563
- stroke: N.value,
1564
- "stroke-width": "0.5"
1565
- }, null, 8, Tt)) : d("", !0)]))), 256))]))), 128))]))], 64))
1566
- ], 8, Oe))])) : d("", !0),
1567
- p("div", {
1568
- class: "slider-track",
1569
- style: h({ visibility: w.value && s.minimapCompact ? "hidden" : "visible" })
1570
- }, null, 4),
1571
- p("div", {
1572
- class: m({
1573
- "range-highlight": !0,
1574
- move: s.enableSelectionDrag
1575
- }),
1576
- onMousedown: t[14] ||= (e) => X.value = !0,
1577
- onMouseup: t[15] ||= (e) => X.value = !1,
1578
- style: h({
1579
- ...M.value,
1580
- cursor: X.value ? "grabbing" : "grab",
1581
- visibility: w.value && s.minimapCompact ? "hidden" : "visible"
1582
- })
1583
- }, null, 38),
1584
- s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
1585
- key: 1,
1586
- "aria-label": "range-handle-left",
1587
- ref_key: "rangeStart",
1588
- ref: Gn,
1589
- type: "range",
1590
- step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1591
- class: m({
1592
- "range-left": !0,
1593
- "range-handle": !0,
1594
- "range-minimap": w.value && s.verticalHandles,
1595
- "range-invisible": w.value && s.minimapCompact
1596
- }),
1597
- min: s.min,
1598
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1599
- tabindex: w.value ? -1 : 0,
1600
- "onUpdate:modelValue": t[16] ||= (e) => In.value = e,
1601
- onFocus: t[17] ||= (e) => w.value && e.target.blur(),
1602
- onInput: t[18] ||= (e) => In.value = e.target.valueAsNumber,
1603
- onChange: A,
1604
- onKeyup: Ce(A, ["enter"]),
1605
- onBlur: A,
1606
- onMouseenter: t[19] ||= (e) => Tr("start"),
1607
- onPointerup: A
1608
- }, null, 42, Et)), [[
1609
- be,
1610
- In.value,
1611
- void 0,
1612
- { number: !0 }
1613
- ]]) : d("", !0),
1614
- s.enableRangeHandles && !(w.value && s.minimapCompact) ? Se((g(), f("input", {
1615
- key: 2,
1616
- "aria-label": "range-handle-right",
1617
- ref_key: "rangeEnd",
1618
- ref: Kn,
1619
- type: "range",
1620
- step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
1621
- class: m({
1622
- "range-right": !0,
1623
- "range-handle": !0,
1624
- "range-minimap": w.value && s.verticalHandles,
1625
- "range-invisible": w.value && s.minimapCompact
1626
- }),
1627
- min: s.min,
1628
- max: s.minimapCompact && w.value && !s.useValueRange ? Math.max(0, L.value - 1) : s.max,
1629
- tabindex: w.value ? -1 : 0,
1630
- onFocus: t[20] ||= (e) => w.value && e.target.blur(),
1631
- "onUpdate:modelValue": t[21] ||= (e) => Ln.value = e,
1632
- onInput: t[22] ||= (e) => Ln.value = e.target.valueAsNumber,
1633
- onChange: A,
1634
- onKeyup: Ce(A, ["enter"]),
1635
- onBlur: A,
1636
- onMouseenter: t[23] ||= (e) => Tr("end"),
1637
- onPointerup: A
1638
- }, null, 42, Dt)), [[
1639
- be,
1640
- Ln.value,
1641
- void 0,
1642
- { number: !0 }
1643
- ]]) : d("", !0),
1644
- Q.value.left ? (g(), f("div", {
1645
- key: 3,
1646
- ref_key: "tooltipLeft",
1647
- ref: vr,
1648
- class: m({
1649
- "range-tooltip": !0,
1650
- "range-tooltip-visible": Z.value,
1651
- "range-tooltip-arrow": M.value.arrowLeft && !s.verticalHandles,
1652
- "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles
1653
- }),
1654
- style: h({
1655
- left: M.value.tooltipLeft,
1656
- color: ve(ne)(s.selectColor),
1657
- backgroundColor: s.selectColor,
1658
- border: `1px solid ${N.value}`,
1659
- zIndex: `${wr.value + 4}`,
1660
- visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1661
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1662
- })
1663
- }, _e(Q.value.left), 7)) : d("", !0),
1664
- (Er.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (g(), f("div", {
1665
- key: 4,
1666
- ref: "tooltipMerge",
1667
- class: m({
1668
- "range-tooltip": !0,
1669
- "range-tooltip-visible": Z.value,
1670
- "range-tooltip-arrow": !0,
1671
- "range-tooltip-arrow-left": !M.value.arrowLeft && !s.verticalHandles,
1672
- "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1673
- }),
1674
- style: h({
1675
- left: M.value.tooltipCenter,
1676
- width: Dr.value.width + "px",
1677
- color: ve(ne)(s.selectColor),
1678
- backgroundColor: s.selectColor,
1679
- border: `1px solid ${N.value}`,
1680
- zIndex: "4",
1681
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1682
- })
1683
- }, _e(Q.value.left === Q.value.right ? Q.value.left : `${Q.value.left} - ${Q.value.right}`), 7)) : d("", !0),
1684
- Q.value.right ? (g(), f("div", {
1685
- key: 5,
1686
- ref_key: "tooltipRight",
1687
- ref: yr,
1688
- class: m({
1689
- "range-tooltip": !0,
1690
- "range-tooltip-visible": Z.value,
1691
- "range-tooltip-arrow": M.value.arrowRight && !s.verticalHandles,
1692
- "range-tooltip-arrow-right": !M.value.arrowRight && !s.verticalHandles
1693
- }),
1694
- style: h({
1695
- left: M.value.tooltipRight,
1696
- color: ve(ne)(s.selectColor),
1697
- backgroundColor: s.selectColor,
1698
- border: `1px solid ${N.value}`,
1699
- zIndex: "4",
1700
- visibility: Er.value || Q.value.left === Q.value.right ? "hidden" : "visible",
1701
- top: w.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1702
- })
1703
- }, _e(Q.value.right), 7)) : d("", !0)
1704
- ], 36)], 44, we));
1705
- }
1706
- }, [["__scopeId", "data-v-730e8b18"]]);
1707
- //#endregion
1708
- export { At as t };