vue-data-ui 3.19.9 → 3.20.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (322) hide show
  1. package/package.json +120 -120
  2. package/dist/A11yDataTable-q2-8fSlJ.js +0 -45
  3. package/dist/Arrow-Cj6W6Xbi.js +0 -116
  4. package/dist/BaseDraggableDialog-DUUu2E2Q.js +0 -272
  5. package/dist/BaseIcon-DM1x8hQF.js +0 -502
  6. package/dist/BaseLegendToggle-CJTwLGXL.js +0 -56
  7. package/dist/BaseScanner-C7dmAref.js +0 -27
  8. package/dist/BaseZoomControls-BkajQ8q9.js +0 -111
  9. package/dist/ColorPicker-DTQeqKUV.js +0 -255
  10. package/dist/DataTable-DmE8Oo4i.js +0 -150
  11. package/dist/Legend-Gg5Q4Clb.js +0 -114
  12. package/dist/NonSvgPenAndPaper-tvWXeCsd.js +0 -577
  13. package/dist/PackageVersion-Dl9W5zJD.js +0 -11
  14. package/dist/PenAndPaper-DNgm6y3l.js +0 -461
  15. package/dist/RecursiveCircles-DPpLel6f.js +0 -117
  16. package/dist/RecursiveLabels-DBMJf_to.js +0 -56
  17. package/dist/RecursiveLinks-D06dBL4a.js +0 -78
  18. package/dist/Shape-DEGOZ6GG.js +0 -141
  19. package/dist/Slicer-CPWGgGSp.js +0 -1144
  20. package/dist/SlicerPreview-BU3ZeHjR.js +0 -1555
  21. package/dist/SparkTooltip-c2DL7gqD.js +0 -93
  22. package/dist/Title-__gWq2g6.js +0 -87
  23. package/dist/Tooltip-CuWEYGr3.js +0 -312
  24. package/dist/UserOptions-D7zR0tnR.js +0 -1411
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +0 -8
  26. package/dist/canvas-lib-DTaADQOK.js +0 -79
  27. package/dist/components/arrow.js +0 -2
  28. package/dist/components/vue-ui-3d-bar.js +0 -2
  29. package/dist/components/vue-ui-accordion.js +0 -2
  30. package/dist/components/vue-ui-age-pyramid.js +0 -2
  31. package/dist/components/vue-ui-annotator.js +0 -2
  32. package/dist/components/vue-ui-bullet.js +0 -2
  33. package/dist/components/vue-ui-bump.js +0 -2
  34. package/dist/components/vue-ui-candlestick.js +0 -2
  35. package/dist/components/vue-ui-carousel-table.js +0 -2
  36. package/dist/components/vue-ui-chestnut.js +0 -2
  37. package/dist/components/vue-ui-chord.js +0 -2
  38. package/dist/components/vue-ui-circle-pack.js +0 -2
  39. package/dist/components/vue-ui-cursor.js +0 -2
  40. package/dist/components/vue-ui-dag.js +0 -2
  41. package/dist/components/vue-ui-dashboard.js +0 -2
  42. package/dist/components/vue-ui-digits.js +0 -2
  43. package/dist/components/vue-ui-donut-evolution.js +0 -2
  44. package/dist/components/vue-ui-donut.js +0 -2
  45. package/dist/components/vue-ui-dumbbell.js +0 -2
  46. package/dist/components/vue-ui-flow.js +0 -2
  47. package/dist/components/vue-ui-funnel.js +0 -2
  48. package/dist/components/vue-ui-galaxy.js +0 -2
  49. package/dist/components/vue-ui-gauge.js +0 -2
  50. package/dist/components/vue-ui-geo.js +0 -2
  51. package/dist/components/vue-ui-gizmo.js +0 -2
  52. package/dist/components/vue-ui-heatmap.js +0 -2
  53. package/dist/components/vue-ui-history-plot.js +0 -2
  54. package/dist/components/vue-ui-horizontal-bar.js +0 -2
  55. package/dist/components/vue-ui-icon.js +0 -2
  56. package/dist/components/vue-ui-kpi.js +0 -2
  57. package/dist/components/vue-ui-mini-loader.js +0 -2
  58. package/dist/components/vue-ui-molecule.js +0 -2
  59. package/dist/components/vue-ui-mood-radar.js +0 -2
  60. package/dist/components/vue-ui-nested-donuts.js +0 -2
  61. package/dist/components/vue-ui-onion.js +0 -2
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
  63. package/dist/components/vue-ui-pattern-seed.js +0 -2
  64. package/dist/components/vue-ui-pattern.js +0 -2
  65. package/dist/components/vue-ui-quadrant.js +0 -2
  66. package/dist/components/vue-ui-quick-chart.js +0 -2
  67. package/dist/components/vue-ui-radar.js +0 -2
  68. package/dist/components/vue-ui-rating.js +0 -2
  69. package/dist/components/vue-ui-relation-circle.js +0 -2
  70. package/dist/components/vue-ui-ridgeline.js +0 -2
  71. package/dist/components/vue-ui-rings.js +0 -2
  72. package/dist/components/vue-ui-scatter.js +0 -2
  73. package/dist/components/vue-ui-skeleton.js +0 -2
  74. package/dist/components/vue-ui-smiley.js +0 -2
  75. package/dist/components/vue-ui-spark-trend.js +0 -2
  76. package/dist/components/vue-ui-sparkbar.js +0 -2
  77. package/dist/components/vue-ui-sparkgauge.js +0 -2
  78. package/dist/components/vue-ui-sparkhistogram.js +0 -2
  79. package/dist/components/vue-ui-sparkline.js +0 -2
  80. package/dist/components/vue-ui-sparkstackbar.js +0 -2
  81. package/dist/components/vue-ui-stackbar.js +0 -2
  82. package/dist/components/vue-ui-stackline.js +0 -2
  83. package/dist/components/vue-ui-strip-plot.js +0 -2
  84. package/dist/components/vue-ui-table-heatmap.js +0 -2
  85. package/dist/components/vue-ui-table-sparkline.js +0 -2
  86. package/dist/components/vue-ui-table.js +0 -2
  87. package/dist/components/vue-ui-thermometer.js +0 -2
  88. package/dist/components/vue-ui-timer.js +0 -2
  89. package/dist/components/vue-ui-tiremarks.js +0 -2
  90. package/dist/components/vue-ui-treemap.js +0 -2
  91. package/dist/components/vue-ui-vertical-bar.js +0 -2
  92. package/dist/components/vue-ui-waffle.js +0 -2
  93. package/dist/components/vue-ui-wheel.js +0 -2
  94. package/dist/components/vue-ui-word-cloud.js +0 -2
  95. package/dist/components/vue-ui-world.js +0 -2
  96. package/dist/components/vue-ui-xy-canvas.js +0 -2
  97. package/dist/components/vue-ui-xy.js +0 -2
  98. package/dist/dom-to-png-9WSt6hXe.js +0 -237
  99. package/dist/exposedLib-CwWU4zv-.js +0 -19
  100. package/dist/geoProjections-CQIkC70z.js +0 -146
  101. package/dist/img-BjOr008R.js +0 -74
  102. package/dist/labelUtils-Cr97N8E1.js +0 -19
  103. package/dist/lib-BkiwukKO.js +0 -1879
  104. package/dist/llms.txt +0 -232
  105. package/dist/patternUtils-B7BWu5bV.js +0 -258
  106. package/dist/pdf-DSXSFUnK.js +0 -90
  107. package/dist/rolldown-runtime-CAFD8bLK.js +0 -11
  108. package/dist/style.css +0 -2
  109. package/dist/types/arrow.d.ts +0 -4
  110. package/dist/types/utils.d.ts +0 -551
  111. package/dist/types/vue-data-ui.d.ts +0 -15826
  112. package/dist/types/vue-ui-3d-bar.d.ts +0 -78
  113. package/dist/types/vue-ui-accordion.d.ts +0 -11
  114. package/dist/types/vue-ui-age-pyramid.d.ts +0 -95
  115. package/dist/types/vue-ui-annotator.d.ts +0 -12
  116. package/dist/types/vue-ui-bullet.d.ts +0 -72
  117. package/dist/types/vue-ui-bump.d.ts +0 -77
  118. package/dist/types/vue-ui-candlestick.d.ts +0 -93
  119. package/dist/types/vue-ui-carousel-table.d.ts +0 -46
  120. package/dist/types/vue-ui-chestnut.d.ts +0 -79
  121. package/dist/types/vue-ui-chord.d.ts +0 -91
  122. package/dist/types/vue-ui-circle-pack.d.ts +0 -111
  123. package/dist/types/vue-ui-cursor.d.ts +0 -9
  124. package/dist/types/vue-ui-dag.d.ts +0 -106
  125. package/dist/types/vue-ui-dashboard.d.ts +0 -53
  126. package/dist/types/vue-ui-digits.d.ts +0 -12
  127. package/dist/types/vue-ui-donut-evolution.d.ts +0 -81
  128. package/dist/types/vue-ui-donut.d.ts +0 -106
  129. package/dist/types/vue-ui-dumbbell.d.ts +0 -79
  130. package/dist/types/vue-ui-flow.d.ts +0 -93
  131. package/dist/types/vue-ui-funnel.d.ts +0 -66
  132. package/dist/types/vue-ui-galaxy.d.ts +0 -97
  133. package/dist/types/vue-ui-gauge.d.ts +0 -76
  134. package/dist/types/vue-ui-geo.d.ts +0 -81
  135. package/dist/types/vue-ui-gizmo.d.ts +0 -22
  136. package/dist/types/vue-ui-heatmap.d.ts +0 -86
  137. package/dist/types/vue-ui-history-plot.d.ts +0 -97
  138. package/dist/types/vue-ui-horizontal-bar.d.ts +0 -99
  139. package/dist/types/vue-ui-icon.d.ts +0 -15
  140. package/dist/types/vue-ui-kpi.d.ts +0 -25
  141. package/dist/types/vue-ui-mini-loader.d.ts +0 -15
  142. package/dist/types/vue-ui-molecule.d.ts +0 -97
  143. package/dist/types/vue-ui-mood-radar.d.ts +0 -79
  144. package/dist/types/vue-ui-nested-donuts.d.ts +0 -94
  145. package/dist/types/vue-ui-onion.d.ts +0 -91
  146. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -108
  147. package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
  148. package/dist/types/vue-ui-pattern.d.ts +0 -15
  149. package/dist/types/vue-ui-quadrant.d.ts +0 -102
  150. package/dist/types/vue-ui-quick-chart.d.ts +0 -89
  151. package/dist/types/vue-ui-radar.d.ts +0 -101
  152. package/dist/types/vue-ui-rating.d.ts +0 -31
  153. package/dist/types/vue-ui-relation-circle.d.ts +0 -79
  154. package/dist/types/vue-ui-ridgeline.d.ts +0 -85
  155. package/dist/types/vue-ui-rings.d.ts +0 -83
  156. package/dist/types/vue-ui-scatter.d.ts +0 -82
  157. package/dist/types/vue-ui-skeleton.d.ts +0 -11
  158. package/dist/types/vue-ui-smiley.d.ts +0 -12
  159. package/dist/types/vue-ui-spark-trend.d.ts +0 -19
  160. package/dist/types/vue-ui-sparkbar.d.ts +0 -36
  161. package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
  162. package/dist/types/vue-ui-sparkhistogram.d.ts +0 -33
  163. package/dist/types/vue-ui-sparkline.d.ts +0 -44
  164. package/dist/types/vue-ui-sparkstackbar.d.ts +0 -45
  165. package/dist/types/vue-ui-stackbar.d.ts +0 -97
  166. package/dist/types/vue-ui-stackline.d.ts +0 -93
  167. package/dist/types/vue-ui-strip-plot.d.ts +0 -81
  168. package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
  169. package/dist/types/vue-ui-table-sparkline.d.ts +0 -40
  170. package/dist/types/vue-ui-table.d.ts +0 -25
  171. package/dist/types/vue-ui-thermometer.d.ts +0 -57
  172. package/dist/types/vue-ui-timer.d.ts +0 -36
  173. package/dist/types/vue-ui-tiremarks.d.ts +0 -57
  174. package/dist/types/vue-ui-treemap.d.ts +0 -87
  175. package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
  176. package/dist/types/vue-ui-waffle.d.ts +0 -86
  177. package/dist/types/vue-ui-wheel.d.ts +0 -57
  178. package/dist/types/vue-ui-word-cloud.d.ts +0 -84
  179. package/dist/types/vue-ui-world.d.ts +0 -81
  180. package/dist/types/vue-ui-xy-canvas.d.ts +0 -84
  181. package/dist/types/vue-ui-xy.d.ts +0 -125
  182. package/dist/useAutoSizeLabelsInsideViewbox-dp-3Gg97.js +0 -50
  183. package/dist/useChartAccessibility-Do37qcw2.js +0 -12
  184. package/dist/useConfig-ByaaSKhz.js +0 -7471
  185. package/dist/useFitSvgText-C-MEdAfe.js +0 -63
  186. package/dist/useNestedProp-Ck4hsrpu.js +0 -10
  187. package/dist/useObjectBindings-BR1sGimd.js +0 -189
  188. package/dist/usePanZoom-B-4M_gmY.js +0 -157
  189. package/dist/usePrefersMotion-BywLbIko.js +0 -15
  190. package/dist/usePrinter-X0yWOynH.js +0 -49
  191. package/dist/useResponsive-CrAInupd.js +0 -19
  192. package/dist/useStableElementSize-0I1IpHPl.js +0 -77
  193. package/dist/useSvgExport-Dtu973wa.js +0 -755
  194. package/dist/useTableResponsive-DrM1xqII.js +0 -24
  195. package/dist/useThemeCheck-rFK9Zlb_.js +0 -24
  196. package/dist/useTimeLabelCollider-Dm55Emzg.js +0 -57
  197. package/dist/useTimeLabels-C0x7zUXP.js +0 -272
  198. package/dist/useUserOptionState-CjPJPTg2.js +0 -15
  199. package/dist/utils.js +0 -28
  200. package/dist/vClickOutside-CbX_bC9A.js +0 -13
  201. package/dist/vue-data-ui-nsosW-n5.js +0 -274
  202. package/dist/vue-data-ui.js +0 -76
  203. package/dist/vue-ui-3d-bar-CTvvvgBE.js +0 -1757
  204. package/dist/vue-ui-accordion-BX9WL-QF.js +0 -81
  205. package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
  206. package/dist/vue-ui-annotator-Be3VpH8Z.js +0 -2899
  207. package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
  208. package/dist/vue-ui-bump-LQuPTOlm.js +0 -1249
  209. package/dist/vue-ui-candlestick-BeO06tlH.js +0 -1826
  210. package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
  211. package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
  212. package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
  213. package/dist/vue-ui-circle-pack-DyTYvEg3.js +0 -1608
  214. package/dist/vue-ui-cursor-C5_wkWul.js +0 -283
  215. package/dist/vue-ui-dag-mH0baWM3.js +0 -2909
  216. package/dist/vue-ui-dashboard-F7pEuJDh.js +0 -513
  217. package/dist/vue-ui-digits-BYBtwXy_.js +0 -209
  218. package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
  219. package/dist/vue-ui-donut-evolution-C46h0gLy.js +0 -1510
  220. package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
  221. package/dist/vue-ui-flow-BYYyk5KL.js +0 -1235
  222. package/dist/vue-ui-funnel-BfY509t-.js +0 -777
  223. package/dist/vue-ui-galaxy-D061gTYS.js +0 -1077
  224. package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
  225. package/dist/vue-ui-geo-BwOMFUVr.js +0 -1516
  226. package/dist/vue-ui-gizmo-CQsP8Nd3.js +0 -225
  227. package/dist/vue-ui-heatmap-DOsulVoP.js +0 -1568
  228. package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
  229. package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
  230. package/dist/vue-ui-kpi-CE-JFZ1o.js +0 -96
  231. package/dist/vue-ui-mini-loader-DDJUya9e.js +0 -125
  232. package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
  233. package/dist/vue-ui-mood-radar-B29gVcTN.js +0 -1148
  234. package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
  235. package/dist/vue-ui-onion-MN-PjNJq.js +0 -1200
  236. package/dist/vue-ui-parallel-coordinate-plot-C9zU7MP5.js +0 -1421
  237. package/dist/vue-ui-pattern-Bj-IPFr2.js +0 -154
  238. package/dist/vue-ui-pattern-seed-abRweCDE.js +0 -61
  239. package/dist/vue-ui-quadrant-h-QFG9O4.js +0 -1978
  240. package/dist/vue-ui-quick-chart-PAVz4c9z.js +0 -2469
  241. package/dist/vue-ui-radar-D2pVd53z.js +0 -1229
  242. package/dist/vue-ui-rating-D_QR_A3V.js +0 -343
  243. package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
  244. package/dist/vue-ui-ridgeline-DamvqiyJ.js +0 -1622
  245. package/dist/vue-ui-rings-DkHS5dwd.js +0 -1246
  246. package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
  247. package/dist/vue-ui-skeleton-zhkS1cmh.js +0 -2556
  248. package/dist/vue-ui-smiley-rFdGxZK6.js +0 -356
  249. package/dist/vue-ui-spark-trend-fQ10-UvM.js +0 -438
  250. package/dist/vue-ui-sparkbar-D5toou8V.js +0 -393
  251. package/dist/vue-ui-sparkgauge-DRZcIPYf.js +0 -255
  252. package/dist/vue-ui-sparkhistogram-YizEqFdN.js +0 -560
  253. package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
  254. package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
  255. package/dist/vue-ui-stackbar-BFLCEsRk.js +0 -2267
  256. package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
  257. package/dist/vue-ui-strip-plot-ByaDLFSL.js +0 -1340
  258. package/dist/vue-ui-table-DuA_CfGn.js +0 -1338
  259. package/dist/vue-ui-table-heatmap-BFKyJTr1.js +0 -344
  260. package/dist/vue-ui-table-sparkline-Dfei_QrJ.js +0 -707
  261. package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
  262. package/dist/vue-ui-timer-9LNNDl4q.js +0 -439
  263. package/dist/vue-ui-tiremarks-kF0Baqia.js +0 -552
  264. package/dist/vue-ui-treemap-BexKMBhz.js +0 -1587
  265. package/dist/vue-ui-waffle-Dq50j_uw.js +0 -1362
  266. package/dist/vue-ui-wheel-BETHlWsO.js +0 -885
  267. package/dist/vue-ui-word-cloud-D1AQtzmT.js +0 -1656
  268. package/dist/vue-ui-world-CcgbuSp_.js +0 -14264
  269. package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
  270. package/dist/vue-ui-xy-canvas-4ABYnasj.js +0 -1786
  271. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +0 -185
  272. package/dist/vue_ui_age_pyramid-BON8QI6X.js +0 -301
  273. package/dist/vue_ui_bullet-CE5sFT7u.js +0 -186
  274. package/dist/vue_ui_bump-frnXaXul.js +0 -201
  275. package/dist/vue_ui_candlestick-sY6UtOop.js +0 -374
  276. package/dist/vue_ui_chestnut-BiUZFv40.js +0 -305
  277. package/dist/vue_ui_chord-DpyR_b9A.js +0 -275
  278. package/dist/vue_ui_circle_pack-FjH0ZQeb.js +0 -172
  279. package/dist/vue_ui_dag-Ci_MOnvd.js +0 -258
  280. package/dist/vue_ui_donut-Cx2_BGcQ.js +0 -358
  281. package/dist/vue_ui_donut_evolution-CAJefrHs.js +0 -717
  282. package/dist/vue_ui_dumbbell-CClzAZTN.js +0 -304
  283. package/dist/vue_ui_flow-CCHO1Lo9.js +0 -238
  284. package/dist/vue_ui_funnel-h8q2mRpC.js +0 -234
  285. package/dist/vue_ui_galaxy-70vtkEBw.js +0 -265
  286. package/dist/vue_ui_gauge-C17CgfzN.js +0 -178
  287. package/dist/vue_ui_geo-C0UbQ0Lc.js +0 -248
  288. package/dist/vue_ui_heatmap-BqPP3J4M.js +0 -319
  289. package/dist/vue_ui_history_plot-C5nytDHh.js +0 -413
  290. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +0 -341
  291. package/dist/vue_ui_molecule-Dka4JBOp.js +0 -231
  292. package/dist/vue_ui_mood_radar-Dg4ijm53.js +0 -281
  293. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +0 -273
  294. package/dist/vue_ui_onion-DTV9cup-.js +0 -293
  295. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +0 -278
  296. package/dist/vue_ui_quadrant-3kjYvxpj.js +0 -428
  297. package/dist/vue_ui_quick_chart--VaYQuM4.js +0 -139
  298. package/dist/vue_ui_radar-Dxx9GJmj.js +0 -306
  299. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +0 -98
  300. package/dist/vue_ui_ridgeline-CAtYca4b.js +0 -767
  301. package/dist/vue_ui_rings-DXC1VeX5.js +0 -320
  302. package/dist/vue_ui_scatter-D2S2j0ap.js +0 -479
  303. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +0 -82
  304. package/dist/vue_ui_sparkbar-BR6hbuDE.js +0 -64
  305. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +0 -90
  306. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +0 -123
  307. package/dist/vue_ui_sparkline-wgk7yO7E.js +0 -151
  308. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +0 -175
  309. package/dist/vue_ui_stackbar-BW_C3MXw.js +0 -412
  310. package/dist/vue_ui_stackline-DXxzibUd.js +0 -460
  311. package/dist/vue_ui_strip_plot-8ZelqC5b.js +0 -301
  312. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +0 -80
  313. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +0 -124
  314. package/dist/vue_ui_thermometer-CuN7Gpez.js +0 -123
  315. package/dist/vue_ui_tiremarks-A6UHC0c3.js +0 -122
  316. package/dist/vue_ui_treemap-BQp06q-g.js +0 -328
  317. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +0 -247
  318. package/dist/vue_ui_waffle-C_Ev4l7B.js +0 -292
  319. package/dist/vue_ui_wheel-DdkTPXJU.js +0 -133
  320. package/dist/vue_ui_word_cloud-B1PbsYPc.js +0 -254
  321. package/dist/vue_ui_xy-BYPqfYyx.js +0 -482
  322. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +0 -408
@@ -1,1144 +0,0 @@
1
- import { Bt as e, H as t, I as n, L as r, j as i, k as a, r as o, t as s } from "./lib-BkiwukKO.js";
2
- import { t as c } from "./_plugin-vue_export-helper-Dq1MygBL.js";
3
- import { c as l, r as ee } from "./canvas-lib-DTaADQOK.js";
4
- import { t as u } from "./useResponsive-CrAInupd.js";
5
- import { t as te } from "./BaseIcon-DM1x8hQF.js";
6
- import { Fragment as d, computed as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as ne, mergeProps as re, nextTick as ie, normalizeClass as g, normalizeProps as ae, normalizeStyle as _, onBeforeUnmount as oe, onMounted as se, onUpdated as ce, openBlock as v, ref as y, renderList as b, renderSlot as le, toDisplayString as ue, unref as de, useCssVars as fe, vModelText as pe, watch as x, withDirectives as me } from "vue";
7
- //#region src/atoms/Slicer.vue
8
- var he = ["data-minimap"], ge = {
9
- class: "vue-data-ui-slicer-labels",
10
- style: {
11
- position: "relative",
12
- "z-index": "1",
13
- "pointer-events": "none"
14
- }
15
- }, _e = {
16
- key: 0,
17
- style: {
18
- width: "100%",
19
- position: "relative",
20
- "pointer-events": "all"
21
- }
22
- }, ve = {
23
- key: 0,
24
- class: "minimap",
25
- style: { width: "100%" }
26
- }, ye = ["xmlns", "viewBox"], be = ["id"], xe = ["stop-color"], Se = [
27
- "width",
28
- "height",
29
- "stroke"
30
- ], Ce = ["d", "stroke"], we = [
31
- "x",
32
- "width",
33
- "y",
34
- "height",
35
- "fill"
36
- ], Te = ["d", "stroke"], Ee = [
37
- "cx",
38
- "cy",
39
- "fill",
40
- "stroke"
41
- ], De = [
42
- "x",
43
- "width",
44
- "height",
45
- "fill",
46
- "rx"
47
- ], Oe = [
48
- "x",
49
- "width",
50
- "height",
51
- "rx",
52
- "fill"
53
- ], ke = [
54
- "x",
55
- "width",
56
- "height",
57
- "fill",
58
- "rx"
59
- ], Ae = [
60
- "x2",
61
- "y1",
62
- "y2",
63
- "stroke"
64
- ], je = ["d", "fill"], Me = ["d", "stroke"], Ne = { key: 6 }, Pe = [
65
- "x",
66
- "width",
67
- "y",
68
- "height",
69
- "fill"
70
- ], Fe = ["d", "stroke"], Ie = [
71
- "x",
72
- "width",
73
- "height",
74
- "fill",
75
- "stroke",
76
- "stroke-width"
77
- ], Le = [
78
- "x",
79
- "width",
80
- "height"
81
- ], Re = ["fill", "stroke"], ze = ["stroke"], Be = ["fill"], Ve = [
82
- "x",
83
- "width",
84
- "height",
85
- "fill",
86
- "stroke",
87
- "stroke-width"
88
- ], He = [
89
- "x",
90
- "width",
91
- "height"
92
- ], Ue = ["fill", "stroke"], We = ["stroke"], Ge = ["fill"], Ke = [
93
- "cx",
94
- "cy",
95
- "stroke",
96
- "fill"
97
- ], qe = [
98
- "cx",
99
- "cy",
100
- "fill"
101
- ], Je = [
102
- "cx",
103
- "cy",
104
- "stroke",
105
- "fill"
106
- ], Ye = [
107
- "cx",
108
- "cy",
109
- "fill"
110
- ], Xe = { key: 12 }, Ze = [
111
- "cx",
112
- "cy",
113
- "fill",
114
- "stroke"
115
- ], Qe = [
116
- "cx",
117
- "cy",
118
- "stroke",
119
- "fill"
120
- ], $e = [
121
- "cx",
122
- "cy",
123
- "fill"
124
- ], et = [
125
- "cx",
126
- "cy",
127
- "stroke",
128
- "fill"
129
- ], tt = [
130
- "cx",
131
- "cy",
132
- "fill"
133
- ], nt = [
134
- "height",
135
- "x",
136
- "width",
137
- "onMouseenter"
138
- ], rt = ["min", "max"], it = ["min", "max"], at = 48, ot = /* @__PURE__ */ c({
139
- __name: "Slicer",
140
- props: {
141
- background: {
142
- type: String,
143
- default: "#FFFFFF"
144
- },
145
- borderColor: {
146
- type: String,
147
- default: "#FFFFFF"
148
- },
149
- fontSize: {
150
- type: Number,
151
- default: 14
152
- },
153
- labelLeft: {
154
- type: [String, Number],
155
- default: ""
156
- },
157
- labelRight: {
158
- type: [String, Number],
159
- default: ""
160
- },
161
- textColor: {
162
- type: String,
163
- default: "#1A1A1A"
164
- },
165
- inputColor: {
166
- type: String,
167
- default: "#1A1A1A"
168
- },
169
- max: {
170
- type: Number,
171
- default: 0
172
- },
173
- min: {
174
- type: Number,
175
- default: 0
176
- },
177
- selectColor: {
178
- type: String,
179
- default: "#4A4A4A"
180
- },
181
- useResetSlot: {
182
- type: Boolean,
183
- default: !1
184
- },
185
- valueStart: {
186
- type: [Number, String],
187
- default: 0
188
- },
189
- valueEnd: {
190
- type: [Number, String],
191
- default: 0
192
- },
193
- minimap: {
194
- type: Array,
195
- default: []
196
- },
197
- smoothMinimap: {
198
- type: Boolean,
199
- default: !1
200
- },
201
- minimapSelectedColor: {
202
- type: String,
203
- default: "#1f77b4"
204
- },
205
- minimapSelectionRadius: {
206
- type: Number,
207
- default: 12
208
- },
209
- minimapLineColor: {
210
- type: String,
211
- default: "#2D353C"
212
- },
213
- minimapSelectedColorOpacity: {
214
- type: Number,
215
- default: .2
216
- },
217
- minimapSelectedIndex: {
218
- type: Number,
219
- default: null
220
- },
221
- minimapIndicatorColor: {
222
- type: String,
223
- default: "#2D353C"
224
- },
225
- refreshStartPoint: {
226
- type: Number,
227
- default: 0
228
- },
229
- refreshEndPoint: {
230
- type: Number,
231
- default: null
232
- },
233
- enableRangeHandles: {
234
- type: Boolean,
235
- default: !1
236
- },
237
- enableSelectionDrag: {
238
- type: Boolean,
239
- default: !0
240
- },
241
- verticalHandles: {
242
- type: Boolean,
243
- default: !1
244
- },
245
- minimapCompact: {
246
- type: Boolean,
247
- default: !1
248
- },
249
- allMinimaps: {
250
- type: Array,
251
- default() {
252
- return [];
253
- }
254
- },
255
- minimapMerged: {
256
- type: Boolean,
257
- default: !1
258
- },
259
- minimapFrameColor: {
260
- type: String,
261
- default: "#e1e5e8"
262
- },
263
- cutNullValues: {
264
- type: Boolean,
265
- default: !1
266
- },
267
- focusOnDrag: {
268
- type: Boolean,
269
- default: !1
270
- },
271
- focusRangeRatio: {
272
- type: Number,
273
- default: .1
274
- },
275
- maxWidth: {
276
- type: Number,
277
- default: null
278
- },
279
- isCursorPointer: {
280
- type: Boolean,
281
- default: !1
282
- },
283
- additionalMinimapHeight: {
284
- type: Number,
285
- default: 0
286
- },
287
- handleType: {
288
- type: String,
289
- default: ""
290
- },
291
- handleWidth: {
292
- type: Number,
293
- default: 20
294
- },
295
- handleBorderWidth: {
296
- type: Number,
297
- default: 1
298
- },
299
- handleIconColor: {
300
- type: String,
301
- default: null
302
- },
303
- handleBorderColor: {
304
- type: String,
305
- default: null
306
- },
307
- handleFill: {
308
- type: String,
309
- default: null
310
- }
311
- },
312
- emits: [
313
- "update:start",
314
- "update:end",
315
- "reset",
316
- "trapMouse"
317
- ],
318
- setup(c, { expose: ot, emit: st }) {
319
- fe((e) => ({
320
- b23d0982: Ct.value,
321
- v3ed703b3: j.value,
322
- v4316bee4: Tt.value,
323
- v1f0c44e3: c.selectColor,
324
- v7afd85f1: wt.value
325
- }));
326
- let S = c, C = y(null), w = y(S.min), T = y(S.max), E = f(() => !!S.allMinimaps.length), ct = y(t()), D = f(() => E.value && S.minimapCompact), lt = y(0);
327
- se(() => {
328
- let e = () => {
329
- C.value && (lt.value = C.value.getBoundingClientRect().width);
330
- };
331
- e();
332
- let t = l(e, 50);
333
- window.addEventListener("resize", t), oe(() => {
334
- window.removeEventListener("resize", t);
335
- });
336
- });
337
- let ut = f(() => S.refreshEndPoint === null ? S.max : S.refreshEndPoint), O = st, k = f(() => {
338
- if (D.value) {
339
- let e = Math.max(1, Sn.value - 1);
340
- return xt.value / e * 100;
341
- }
342
- let e = Math.max(1, S.max - S.min);
343
- return (w.value - S.min) / e * 100;
344
- }), dt = f(() => {
345
- if (D.value) {
346
- let e = Math.max(1, Sn.value - 1);
347
- return St.value / e * 100;
348
- }
349
- let e = Math.max(1, S.max - S.min);
350
- return (T.value - S.min) / e * 100;
351
- }), ft = f(() => (k.value + dt.value) / 2), pt = f(() => {
352
- if (!C.value) return !1;
353
- let e = C.value.getBoundingClientRect().width;
354
- return k.value / 100 * e - hn.value / 2 < 0;
355
- }), mt = f(() => {
356
- if (!C.value) return !1;
357
- let e = C.value.getBoundingClientRect().width;
358
- return dt.value / 100 * e + gn.value / 2 > e;
359
- }), A = f(() => {
360
- let e = mt.value ? `calc(${ft.value}% - ${xn.value.width}px)` : pt.value ? `calc(${ft.value}% - 8px)` : `calc(${ft.value}% - ${xn.value.width / 2}px)`;
361
- return {
362
- left: `${k.value}%`,
363
- width: `${Math.max(0, dt.value - k.value)}%`,
364
- background: S.selectColor,
365
- tooltipLeft: `calc(${k.value}% - ${pt.value ? 9 : hn.value / 2}px)`,
366
- tooltipRight: `calc(${dt.value}% - ${mt.value ? gn.value - 9 : gn.value / 2}px)`,
367
- tooltipCenter: e,
368
- arrowLeft: !pt.value,
369
- arrowRight: !mt.value
370
- };
371
- }), ht = f(() => Math.max(0, (P.value || 1) - 1)), gt = f(() => Math.max(0, (Sn.value || 1) - 1));
372
- function _t(e) {
373
- return gt.value === 0 ? 0 : Math.round(e / gt.value * ht.value);
374
- }
375
- function vt(e) {
376
- return ht.value === 0 ? 0 : Math.round(e / ht.value * gt.value);
377
- }
378
- let yt = (e) => Math.floor(S.min + e), bt = (e) => Math.ceil(S.min + e), xt = f({
379
- get() {
380
- return D.value ? _t(Q.value) : Number(w.value);
381
- },
382
- set(e) {
383
- if (D.value) {
384
- let t = Math.round(+e || 0), n = Math.max(0, _t(Math.max(0, $.value - 1)));
385
- V(yt(vt(Math.min(Math.max(0, t), n))));
386
- } else {
387
- let t = Math.round(+e || 0), n = Number(T.value) - 1;
388
- V(Math.min(Math.max(S.min, t), n));
389
- }
390
- }
391
- }), St = f({
392
- get() {
393
- return D.value ? _t(Math.max(Q.value, $.value - 1)) : Number(T.value);
394
- },
395
- set(e) {
396
- if (D.value) {
397
- let t = Math.round(+e || 0), n = _t(Q.value);
398
- H(bt(vt(Math.max(t, n)) + 1));
399
- } else {
400
- let t = Math.round(+e || 0), n = Number(w.value) + 1;
401
- H(Math.max(n, Math.min(t, S.max)));
402
- }
403
- }
404
- }), Ct = f(() => S.inputColor), wt = f(() => S.background), Tt = f(() => `${S.selectColor}33`), j = f(() => S.borderColor), Et = f(() => {
405
- let e = [];
406
- for (let t = 0; t < S.max; t += 1) e.push(t);
407
- return e;
408
- });
409
- function Dt() {
410
- O("reset");
411
- }
412
- x(() => S.min, (e) => {
413
- Number(w.value) < Number(e) && (w.value = Number(e)), Number(T.value) < Number(e) && (T.value = Number(e));
414
- }), x(() => S.max, (e) => {
415
- Number(w.value) > Number(e) && (w.value = Number(e)), Number(T.value) > Number(e) && (T.value = Number(e));
416
- });
417
- let Ot = y(null), M = y({
418
- width: 1,
419
- height: 1
420
- }), N = y(null);
421
- se(() => {
422
- if (E.value) {
423
- let e = l(() => {
424
- let { width: e, height: t } = u({ chart: Ot.value });
425
- M.value.width = e, M.value.height = t - 47;
426
- });
427
- N.value = new ResizeObserver(e), N.value.observe(Ot.value);
428
- }
429
- }), oe(() => {
430
- N.value && N.value.disconnect();
431
- });
432
- let P = f(() => Math.max(...S.allMinimaps.map((e) => e.series.length), S.minimap.length || 0)), F = f(() => {
433
- if (!P.value) return 0;
434
- let e = Math.max(1, P.value - +!!S.minimapCompact);
435
- return M.value.width / e;
436
- }), kt = f(() => {
437
- let e = [];
438
- if (Array.isArray(S.minimap) && S.minimap.length && S.minimapMerged && e.push(...S.minimap.filter(Number.isFinite)), Array.isArray(S.allMinimaps) && S.allMinimaps.length) for (let t of S.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.filter(Number.isFinite));
439
- return e.length ? {
440
- min: Math.min(...e),
441
- max: Math.max(...e)
442
- } : {
443
- min: 0,
444
- max: 1
445
- };
446
- }), I = f(() => kt.value.min), L = f(() => kt.value.max), At = f(() => I.value < 0 && L.value > 0 || L.value <= 0 ? I.value : 0), jt = f(() => Math.max(1e-9, Math.max(Math.abs(I.value), Math.abs(L.value)))), Mt = f(() => I.value < 0 && L.value > 0), Nt = (e) => {
447
- let t = Math.max(1, M.value.height);
448
- if (Mt.value) {
449
- let n = jt.value;
450
- return (1 - (Math.max(-1, Math.min(1, e / n)) + 1) / 2) * t;
451
- } else {
452
- let n = Math.min(0, I.value), r = Math.max(0, L.value);
453
- return t - (e - n) / Math.max(1e-9, r - n) * t;
454
- }
455
- }, Pt = f(() => Nt(0)), Ft = f(() => S.allMinimaps.length ? S.allMinimaps.filter((e) => e.type === "bar").length : 0), It = f(() => F.value / (Ft.value || 1) * .8);
456
- function Lt(e, t, n) {
457
- let r = It.value, i = Math.max(1, Ft.value), a = P.value - 1;
458
- return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
459
- }
460
- function Rt(e, t) {
461
- return [0, P.value - 1].includes(t) ? It.value / 2 : It.value;
462
- }
463
- function zt(e, t, n) {
464
- let r = (e, t, n) => Math.max(t, Math.min(n, e)), i = 1e-9;
465
- if (t <= 0) {
466
- let t = Math.max(i, 0 - e);
467
- return (r) => n - (r - e) / t * n;
468
- }
469
- if (e >= 0) {
470
- let e = Math.max(i, t - 0);
471
- return (t) => n - (t - 0) / e * n;
472
- }
473
- let a = Math.max(i, Math.max(Math.abs(e), Math.abs(t)));
474
- return (e) => (1 - (r(e / a, -1, 1) + 1) / 2) * n;
475
- }
476
- function Bt(e, t = !1) {
477
- if (!e || !e.length) return {
478
- fullSet: "",
479
- points: [],
480
- selectionSet: "",
481
- sliced: [],
482
- firstPlot: null,
483
- lastPlot: null,
484
- hasFull: !1,
485
- hasSelection: !1,
486
- fullMarkers: [],
487
- selectionMarkers: []
488
- };
489
- let o = Math.max(1, M.value.height), s = zt(I.value, L.value, o), c = e.length, l = Math.min(Math.max(0, Q.value), Math.max(0, c - 1)), ee = Math.min(c, Math.max(l + 1, $.value)), u = e.map((e, t) => {
490
- let n = e, r = Number.isFinite(n), i = F.value * t + (S.minimapCompact ? 0 : F.value / 2), a = s(0);
491
- return {
492
- x: i,
493
- y: r ? s(n) : NaN,
494
- v: n,
495
- value: n == null ? null : r ? n : null,
496
- y0: a,
497
- i: t
498
- };
499
- }), te = (e) => e >= 0 && e < u.length && Number.isFinite(u[e]?.value), d = u.filter((e) => Number.isFinite(e.value) && !te(e.i - 1) && !te(e.i + 1)), f = d.filter((e) => e.i >= l && e.i < ee), p = u.slice(l, ee);
500
- return {
501
- fullSet: u.length >= 2 ? S.smoothMinimap || t ? S.cutNullValues ? i(u) : a(u.filter((e) => e.value != null)) : S.cutNullValues ? r(u) : n(u.filter((e) => e.value != null)) : "",
502
- points: u,
503
- selectionSet: p.length >= 2 ? S.smoothMinimap || t ? S.cutNullValues ? i(p) : a(p.filter((e) => e.value != null)) : S.cutNullValues ? r(p) : n(p.filter((e) => e.value != null)) : "",
504
- sliced: p,
505
- firstPlot: u[l] || null,
506
- lastPlot: u[Math.max(0, ee - 1)] || null,
507
- hasFull: u.length >= 2,
508
- hasSelection: p.length >= 2,
509
- fullMarkers: d,
510
- selectionMarkers: f
511
- };
512
- }
513
- let R = f(() => S.minimap.length ? Bt(S.minimap) : {
514
- fullSet: "",
515
- selectionSet: "",
516
- sliced: [],
517
- firstPlot: null,
518
- lastPlot: null,
519
- hasFull: !1,
520
- hasSelection: !1
521
- }), Vt = f(() => S.allMinimaps.length ? S.allMinimaps.map((e, t) => {
522
- let n = Bt(e?.series || [], !!e.smooth), r = e?.id ?? e?.name ?? t;
523
- return {
524
- key: typeof r == "object" ? JSON.stringify(r) : String(r),
525
- color: e?.color,
526
- ...n,
527
- isVisible: e.isVisible,
528
- type: e.type || "line"
529
- };
530
- }) : []), z = f(() => {
531
- let e = Q.value, t = Math.max(e + 1, $.value);
532
- return {
533
- x: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
534
- width: F.value * (t - e) - F.value
535
- };
536
- }), B = y(S.minimapSelectedIndex);
537
- function Ht(e) {
538
- B.value = Cn(S.valueStart) + e;
539
- }
540
- let Ut = ee(Ht, 60);
541
- x(() => S.minimapSelectedIndex, (e, t) => {
542
- if ([null, void 0].includes(e)) {
543
- B.value = null;
544
- return;
545
- }
546
- e !== t && Ut(e);
547
- }, { immediate: !0 });
548
- function Wt(e) {
549
- B.value = e;
550
- let t = Q.value, n = $.value;
551
- e >= t && e < n && !J.value && O("trapMouse", e - t);
552
- }
553
- let Gt = y(null), Kt = y(null);
554
- function V(e) {
555
- w.value = e, Gt.value && (Gt.value.value = e), O("update:start", Number(w.value));
556
- }
557
- function H(e) {
558
- T.value = e, Kt.value && (Kt.value.value = e), O("update:end", Number(T.value));
559
- }
560
- let qt = f(() => S.valueEnd - S.valueStart), Jt = f(() => qt.value < S.max - S.min), U = y(!1), Yt = y(null), Xt = f(() => (lt.value - 48) / (S.max - S.min) * qt.value), Zt = f(() => Math.max(1, lt.value - at - Xt.value)), Qt = f(() => Math.max(1, S.max - S.min - qt.value)), $t = f(() => Qt.value / Zt.value), en = y(0), tn = y(0), nn = y(0), rn = y(0), W = null, G = null, K = null, q = null, an = y(S.min);
561
- function on(e) {
562
- if (!C.value) return S.min;
563
- let t = C.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, S.max - S.min);
564
- return Math.round(S.min + a * o);
565
- }
566
- let sn = async (t) => {
567
- if (X.value = !0, !S.enableSelectionDrag) return;
568
- let n = t.type === "touchstart";
569
- n || t.stopPropagation();
570
- let r = n && t.targetTouches && t.targetTouches[0] ? t.targetTouches[0] : null, i = n ? r ? r.target : null : t.target;
571
- if (!i || !(i instanceof Element) || i.classList && i.classList.contains("range-handle")) return;
572
- U.value = !0;
573
- let a = n ? r ? r.clientX : 0 : t.clientX;
574
- if (Yt.value = a, en.value = a, S.focusOnDrag && !Jt.value && C.value) {
575
- an.value = on(a);
576
- let t = Math.min(.95, Math.max(.05, S.focusRangeRatio)), n = S.max - S.min, r = Math.max(1, Math.round(n * t)), i = Math.floor(r / 2), o = an.value - i;
577
- o = Math.max(S.min, Math.min(o, S.max - r));
578
- let s = Math.min(S.max, o + r);
579
- V(o), H(s), e(C.value, "mouseup"), await ie(), e(C.value, "mousedown", { clientX: a });
580
- }
581
- tn.value = Number(w.value), nn.value = Number(T.value), rn.value = $t.value, W = n ? "touchmove" : "mousemove", G = n ? "touchend" : "mouseup", K = n ? ln : cn, q = n ? fn : dn, window.addEventListener(W, K, { passive: !1 }), window.addEventListener(G, q);
582
- };
583
- function cn(e) {
584
- U.value && un(e.clientX);
585
- }
586
- function ln(e) {
587
- if (!U.value || !C.value) return;
588
- let t = e.target;
589
- if (!(t instanceof Element) || !C.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
590
- e.preventDefault();
591
- let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
592
- n && un(n.clientX);
593
- }
594
- function un(e) {
595
- if (!U.value) return;
596
- let t = on(en.value), n = on(e) - t, r = Math.max(1, nn.value - tn.value), i = Math.round(tn.value + n), a = S.min, o = S.max - r;
597
- i < a && (i = a), i > o && (i = o);
598
- let s = i + r;
599
- V(i), H(s);
600
- }
601
- function dn() {
602
- pn();
603
- }
604
- function fn() {
605
- pn();
606
- }
607
- function pn() {
608
- U.value = !1, W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
609
- }
610
- let J = y(!1), Y = y(null), mn = y(null), hn = y(1), gn = y(1), X = y(!1);
611
- function _n() {
612
- Y.value && (hn.value = Y.value.getBoundingClientRect().width);
613
- }
614
- function vn() {
615
- mn.value && (gn.value = mn.value.getBoundingClientRect().width);
616
- }
617
- let yn = y(0);
618
- function bn(e) {
619
- yn.value = +(e === "start");
620
- }
621
- let Z = y(!1), xn = y({
622
- width: 0,
623
- left: 0
624
- });
625
- x([w, T], async () => {
626
- if (await ie(), !Y.value || !mn.value) {
627
- Z.value = !1, xn.value = {
628
- width: 0,
629
- left: 0
630
- };
631
- return;
632
- }
633
- let e = Y.value.getBoundingClientRect(), t = mn.value.getBoundingClientRect();
634
- Z.value = e.x + e.width > t.x;
635
- let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
636
- xn.value = {
637
- width: i,
638
- left: (n + r) / 2 - i / 2
639
- };
640
- }), ce(() => {
641
- _n(), vn();
642
- }), x(() => S.labelLeft, () => {
643
- ie(_n);
644
- }, { deep: !0 }), x(() => S.labelRight, () => {
645
- ie(vn);
646
- }, { deep: !0 }), ot({
647
- setStartValue: V,
648
- setEndValue: H
649
- }), oe(() => {
650
- N.value && N.value.disconnect(), W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
651
- });
652
- let Sn = f(() => Math.max(1, S.max - S.min));
653
- function Cn(e) {
654
- let t = Math.floor(e - S.min);
655
- return Math.min(Math.max(0, t), Sn.value);
656
- }
657
- function wn(e) {
658
- let t = Math.ceil(e - S.min);
659
- return Math.min(Math.max(0, t), Sn.value);
660
- }
661
- let Q = f(() => Cn(w.value)), $ = f(() => wn(T.value)), Tn = f(() => {
662
- if (!Et.value.length) return null;
663
- if (B.value >= Q.value && B.value < $.value) {
664
- let e = B.value;
665
- return {
666
- x1: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
667
- x2: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
668
- y1: 0,
669
- y2: Math.max(M.value.height, 0),
670
- stroke: S.minimapIndicatorColor,
671
- "stroke-linecap": "round",
672
- "stroke-dasharray": 2,
673
- "stroke-width": 1
674
- };
675
- } else return null;
676
- });
677
- return (e, t) => (v(), m("div", {
678
- "data-minimap": E.value,
679
- "data-dom-to-png-ignore": "",
680
- style: _([{ padding: "0 48px" }, {
681
- maxWidth: c.maxWidth ? c.maxWidth + "px" : void 0,
682
- margin: c.maxWidth ? "0 auto" : void 0
683
- }]),
684
- class: "vue-data-ui-zoom",
685
- ref_key: "zoomWrapper",
686
- ref: C,
687
- onMousedown: sn,
688
- onTouchstart: sn,
689
- onTouchend: t[11] ||= (e) => X.value = !1
690
- }, [h("div", ge, [c.valueStart !== c.refreshStartPoint || c.valueEnd !== ut.value ? (v(), m("div", _e, [le(e.$slots, "reset-action", { reset: Dt }, () => [h("button", {
691
- tabindex: "0",
692
- role: "button",
693
- class: "vue-data-ui-refresh-button",
694
- style: _({
695
- top: E.value ? "36px" : "-16px",
696
- cursor: c.isCursorPointer ? "pointer" : "default"
697
- }),
698
- onClick: Dt
699
- }, [ne(te, {
700
- name: "refresh",
701
- stroke: c.textColor
702
- }, null, 8, ["stroke"])], 4)], !0)])) : p("", !0)]), h("div", {
703
- class: "double-range-slider",
704
- ref_key: "minimapWrapper",
705
- ref: Ot,
706
- style: _([{ "z-index": "0" }, E.value ? {
707
- "--minimap-unit-px": F.value + "px",
708
- "--minimap-offset-px": (c.minimapCompact ? 0 : F.value / 2) + "px"
709
- } : void 0]),
710
- onMouseenter: t[9] ||= (e) => X.value = !0,
711
- onMouseleave: t[10] ||= (e) => X.value = !1
712
- }, [
713
- E.value ? (v(), m("div", ve, [(v(), m("svg", {
714
- key: `mm-${c.minimapMerged ? "merged" : "split"}-${c.minimapCompact ? "compact" : "normal"}`,
715
- xmlns: de(s),
716
- viewBox: `0 0 ${Math.max(0, M.value.width)} ${Math.max(0, M.value.height)}`
717
- }, [
718
- h("defs", null, [h("linearGradient", {
719
- id: ct.value,
720
- x1: "0%",
721
- y1: "0%",
722
- x2: "0%",
723
- y2: "100%"
724
- }, [h("stop", {
725
- offset: "0%",
726
- "stop-color": `${c.minimapLineColor}50`
727
- }, null, 8, xe), t[12] ||= h("stop", {
728
- offset: "100%",
729
- "stop-color": "transparent"
730
- }, null, -1)], 8, be)]),
731
- c.minimapCompact ? (v(), m("rect", {
732
- key: 0,
733
- class: "vue-ui-zoom-minimap-frame",
734
- x: 0,
735
- y: 0,
736
- width: M.value.width,
737
- height: M.value.height,
738
- fill: "none",
739
- stroke: c.minimapFrameColor,
740
- rx: 3
741
- }, null, 8, Se)) : p("", !0),
742
- c.minimapMerged ? (v(), m("path", {
743
- key: 1,
744
- d: `M${R.value.fullSet}`,
745
- stroke: `${c.minimapLineColor}`,
746
- fill: "none",
747
- "stroke-width": "1",
748
- "stroke-linecap": "round",
749
- "stroke-linejoin": "round",
750
- style: { opacity: "0.6" }
751
- }, null, 8, Ce)) : (v(), m(d, { key: 2 }, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "bar"), (e, t) => (v(), m("g", null, [(v(!0), m(d, null, b(e.points, (n, r) => (v(), m(d, null, [e.isVisible && !isNaN(n.y) ? (v(), m("rect", {
752
- key: 0,
753
- x: Lt(n.x, t, r),
754
- width: Rt(t, r),
755
- y: n.v >= 0 ? n.y : n.y0,
756
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
757
- fill: e.color,
758
- style: { opacity: "0.6" }
759
- }, null, 8, we)) : p("", !0)], 64))), 256))]))), 256)), (v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [e.isVisible ? (v(), m("path", {
760
- key: 0,
761
- d: `M ${e.fullSet}`,
762
- fill: "none",
763
- stroke: e.color,
764
- style: { opacity: "0.6" }
765
- }, null, 8, Te)) : p("", !0), e.isVisible ? (v(!0), m(d, { key: 1 }, b(e.fullMarkers, (t) => (v(), m("circle", {
766
- key: `sel-dot-under-${e.key}-${t.i}`,
767
- cx: t.x,
768
- cy: t.y,
769
- r: "2",
770
- fill: e.color,
771
- stroke: j.value,
772
- "stroke-width": "0.5",
773
- style: { opacity: "0.6" }
774
- }, null, 8, Ee))), 128)) : p("", !0)]))), 128))], 64)),
775
- h("rect", {
776
- x: z.value.x,
777
- width: z.value.width < 0 ? 0 : z.value.width,
778
- height: Math.max(M.value.height, 0),
779
- y: 0,
780
- fill: j.value,
781
- rx: c.minimapSelectionRadius,
782
- stroke: "none"
783
- }, null, 8, De),
784
- h("rect", {
785
- x: z.value.x,
786
- width: z.value.width < 0 ? 0 : z.value.width,
787
- height: Math.max(M.value.height, 0),
788
- y: 0,
789
- rx: c.minimapSelectionRadius,
790
- fill: j.value
791
- }, null, 8, Oe),
792
- h("rect", {
793
- x: z.value.x,
794
- width: z.value.width < 0 ? 0 : z.value.width,
795
- height: Math.max(M.value.height, 0),
796
- y: 0,
797
- fill: c.minimapSelectedColor,
798
- rx: c.minimapSelectionRadius,
799
- style: _({ opacity: c.minimapSelectedColorOpacity })
800
- }, null, 12, ke),
801
- B.value !== null && !J.value ? (v(), m("line", ae(re({ key: 3 }, Tn.value)), null, 16)) : p("", !0),
802
- !c.minimapMerged && At.value < 0 ? (v(), m("line", {
803
- key: 4,
804
- class: "slicer-minimap-zero-line",
805
- x1: 0,
806
- x2: M.value.width,
807
- y1: Pt.value,
808
- y2: Pt.value,
809
- stroke: c.minimapFrameColor,
810
- "stroke-width": "0.5"
811
- }, null, 8, Ae)) : p("", !0),
812
- c.minimapMerged ? (v(), m(d, { key: 5 }, [R.value && R.value.sliced && R.value.sliced.length ? (v(), m(d, { key: 0 }, [R.value.selectionSet ? (v(), m("path", {
813
- key: 0,
814
- 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`,
815
- fill: `url(#${ct.value})`,
816
- stroke: "none",
817
- style: { opacity: "1" }
818
- }, null, 8, je)) : p("", !0), R.value.selectionSet ? (v(), m("path", {
819
- key: 1,
820
- d: `M ${R.value.selectionSet}`,
821
- stroke: `${c.minimapLineColor}`,
822
- fill: "transparent",
823
- "stroke-width": "2",
824
- "stroke-linecap": "round",
825
- "stroke-linejoin": "round"
826
- }, null, 8, Me)) : p("", !0)], 64)) : p("", !0)], 64)) : (v(), m("g", Ne, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "bar"), (e, t) => (v(), m("g", null, [(v(!0), m(d, null, b(e.points, (n, r) => (v(), m(d, null, [e.isVisible && !isNaN(n.y) ? (v(), m("rect", {
827
- key: 0,
828
- x: Lt(n.x, t, r),
829
- width: Rt(t, r),
830
- y: n.v >= 0 ? n.y : n.y0,
831
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
832
- fill: e.color,
833
- style: _({ opacity: +(r >= c.valueStart && r <= c.valueEnd - 1) })
834
- }, null, 12, Pe)) : p("", !0)], 64))), 256))]))), 256)), (v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (v(), m("path", {
835
- key: 0,
836
- d: `M ${e.selectionSet}`,
837
- stroke: e.color,
838
- fill: "transparent",
839
- "stroke-width": "2",
840
- "stroke-linecap": "round",
841
- "stroke-linejoin": "round"
842
- }, null, 8, Fe)) : p("", !0)]))), 128))])),
843
- E.value && c.minimapCompact ? (v(), m("rect", {
844
- key: 7,
845
- class: "vue-ui-zoom-compact-minimap-handle",
846
- x: z.value.x - Math.min(40, Math.max(20, c.handleWidth)),
847
- y: 0,
848
- width: Math.min(40, Math.max(20, c.handleWidth)),
849
- height: M.value.height,
850
- fill: c.handleFill || j.value,
851
- stroke: c.handleBorderColor || c.textColor,
852
- "stroke-width": c.handleBorderWidth,
853
- rx: 3
854
- }, null, 8, Ie)) : p("", !0),
855
- c.handleType && c.handleType !== "empty" ? (v(), m("svg", {
856
- key: 8,
857
- x: z.value.x - Math.min(40, Math.max(20, c.handleWidth)),
858
- y: 0,
859
- width: Math.min(40, Math.max(20, c.handleWidth)),
860
- height: M.value.height,
861
- viewBox: "0 0 20 20"
862
- }, [c.handleType === "arrow" ? (v(), m("path", {
863
- key: 0,
864
- 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",
865
- fill: j.value,
866
- stroke: c.handleIconColor || c.textColor,
867
- "stroke-width": .618,
868
- "stroke-linejoin": "round",
869
- "stroke-linecap": "round"
870
- }, null, 8, Re)) : c.handleType === "chevron" ? (v(), m("path", {
871
- key: 1,
872
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
873
- fill: "none",
874
- stroke: c.handleIconColor || c.textColor,
875
- "stroke-width": .618,
876
- "stroke-linejoin": "round",
877
- "stroke-linecap": "round"
878
- }, null, 8, ze)) : c.handleType === "grab" ? (v(), m("path", {
879
- key: 2,
880
- 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",
881
- fill: c.handleIconColor || c.textColor,
882
- stroke: "none",
883
- opacity: "0.6"
884
- }, null, 8, Be)) : p("", !0)], 8, Le)) : p("", !0),
885
- E.value && c.minimapCompact ? (v(), m("rect", {
886
- key: 9,
887
- class: "vue-ui-zoom-compact-minimap-handle",
888
- x: z.value.x + z.value.width,
889
- y: 0,
890
- width: Math.min(40, Math.max(20, c.handleWidth)),
891
- height: M.value.height,
892
- fill: c.handleFill || j.value,
893
- stroke: c.handleBorderColor || c.textColor,
894
- "stroke-width": c.handleBorderWidth,
895
- rx: 3
896
- }, null, 8, Ve)) : p("", !0),
897
- c.handleType && c.handleType !== "empty" ? (v(), m("svg", {
898
- key: 10,
899
- x: z.value.x + z.value.width,
900
- y: 0,
901
- width: Math.min(40, Math.max(20, c.handleWidth)),
902
- height: M.value.height,
903
- viewBox: "0 0 20 20"
904
- }, [c.handleType === "arrow" ? (v(), m("path", {
905
- key: 0,
906
- 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",
907
- fill: j.value,
908
- stroke: c.handleIconColor || c.textColor,
909
- "stroke-width": .618,
910
- "stroke-linejoin": "round",
911
- "stroke-linecap": "round"
912
- }, null, 8, Ue)) : c.handleType === "chevron" ? (v(), m("path", {
913
- key: 1,
914
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
915
- fill: "none",
916
- stroke: c.handleIconColor || c.textColor,
917
- "stroke-width": .618,
918
- "stroke-linejoin": "round",
919
- "stroke-linecap": "round"
920
- }, null, 8, We)) : c.handleType === "grab" ? (v(), m("path", {
921
- key: 2,
922
- 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",
923
- fill: c.handleIconColor || c.textColor,
924
- stroke: "none",
925
- opacity: "0.6"
926
- }, null, 8, Ge)) : p("", !0)], 8, He)) : p("", !0),
927
- c.minimapMerged ? (v(), m(d, { key: 11 }, [
928
- R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (v(), m("circle", {
929
- key: 0,
930
- cx: R.value.firstPlot.x,
931
- cy: R.value.firstPlot.y,
932
- "stroke-width": "0.5",
933
- stroke: j.value,
934
- r: "4",
935
- fill: c.minimapLineColor
936
- }, null, 8, Ke)) : p("", !0),
937
- R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (v(), m("circle", {
938
- key: 1,
939
- cx: R.value.firstPlot.x,
940
- cy: R.value.firstPlot.y,
941
- r: "2",
942
- fill: j.value
943
- }, null, 8, qe)) : p("", !0),
944
- R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (v(), m("circle", {
945
- key: 2,
946
- cx: R.value.lastPlot.x,
947
- cy: R.value.lastPlot.y,
948
- "stroke-width": "0.5",
949
- stroke: j.value,
950
- r: "4",
951
- fill: c.minimapLineColor
952
- }, null, 8, Je)) : p("", !0),
953
- R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (v(), m("circle", {
954
- key: 3,
955
- cx: R.value.lastPlot.x,
956
- cy: R.value.lastPlot.y,
957
- r: "2",
958
- fill: j.value
959
- }, null, 8, Ye)) : p("", !0)
960
- ], 64)) : (v(), m("g", Xe, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [
961
- e.isVisible ? (v(!0), m(d, { key: 0 }, b(e.selectionMarkers, (t) => (v(), m("circle", {
962
- key: `sel-dot-${e.key}-${t.i}`,
963
- cx: t.x,
964
- cy: t.y,
965
- r: "2.5",
966
- fill: e.color,
967
- stroke: j.value,
968
- "stroke-width": "0.5"
969
- }, null, 8, Ze))), 128)) : p("", !0),
970
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (v(), m("circle", {
971
- key: 1,
972
- cx: e.firstPlot.x,
973
- cy: e.firstPlot.y,
974
- "stroke-width": "0.5",
975
- stroke: j.value,
976
- r: "4",
977
- fill: e.color
978
- }, null, 8, Qe)) : p("", !0),
979
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (v(), m("circle", {
980
- key: 2,
981
- cx: e.firstPlot.x,
982
- cy: e.firstPlot.y,
983
- r: "2",
984
- fill: j.value
985
- }, null, 8, $e)) : p("", !0),
986
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (v(), m("circle", {
987
- key: 3,
988
- cx: e.lastPlot.x,
989
- cy: e.lastPlot.y,
990
- "stroke-width": "0.5",
991
- stroke: j.value,
992
- r: "4",
993
- fill: e.color
994
- }, null, 8, et)) : p("", !0),
995
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (v(), m("circle", {
996
- key: 4,
997
- cx: e.lastPlot.x,
998
- cy: e.lastPlot.y,
999
- r: "2",
1000
- fill: j.value
1001
- }, null, 8, tt)) : p("", !0)
1002
- ]))), 128))])),
1003
- (v(!0), m(d, null, b(Et.value, (e, n) => (v(), m("rect", {
1004
- key: `trap-${n}`,
1005
- y: 0,
1006
- height: Math.max(M.value.height, 0),
1007
- fill: "transparent",
1008
- style: _([{ "pointer-events": "all !important" }, { cursor: e >= Q.value && e < $.value && c.enableSelectionDrag ? J.value ? "grabbing" : "grab" : "default" }]),
1009
- x: F.value * n - (c.minimapCompact ? F.value / 2 : 0),
1010
- width: F.value < 0 ? 0 : F.value,
1011
- onMousedown: t[0] ||= (e) => J.value = !0,
1012
- onMouseup: t[1] ||= (e) => J.value = !1,
1013
- onMouseenter: (t) => Wt(e),
1014
- onMouseleave: t[2] ||= (e) => {
1015
- B.value = null, O("trapMouse", null);
1016
- }
1017
- }, null, 44, nt))), 128))
1018
- ], 8, ye))])) : p("", !0),
1019
- h("div", {
1020
- class: "slider-track",
1021
- style: _({ visibility: E.value && c.minimapCompact ? "hidden" : "visible" })
1022
- }, null, 4),
1023
- h("div", {
1024
- class: g({
1025
- "range-highlight": !0,
1026
- move: c.enableSelectionDrag
1027
- }),
1028
- onMousedown: t[3] ||= (e) => J.value = !0,
1029
- onMouseup: t[4] ||= (e) => J.value = !1,
1030
- style: _({
1031
- ...A.value,
1032
- cursor: J.value ? "grabbing" : "grab",
1033
- visibility: E.value && c.minimapCompact ? "hidden" : "visible"
1034
- })
1035
- }, null, 38),
1036
- c.enableRangeHandles ? me((v(), m("input", {
1037
- key: 1,
1038
- ref_key: "rangeStart",
1039
- ref: Gt,
1040
- type: "range",
1041
- class: g({
1042
- "range-left": !0,
1043
- "range-handle": !0,
1044
- "range-minimap": E.value && c.verticalHandles,
1045
- "range-invisible": E.value && c.minimapCompact
1046
- }),
1047
- min: c.min,
1048
- max: D.value && c.minimapCompact ? ht.value : c.max,
1049
- step: 1,
1050
- "onUpdate:modelValue": t[5] ||= (e) => xt.value = e,
1051
- onMouseenter: t[6] ||= (e) => bn("start")
1052
- }, null, 42, rt)), [[
1053
- pe,
1054
- xt.value,
1055
- void 0,
1056
- { number: !0 }
1057
- ]]) : p("", !0),
1058
- c.enableRangeHandles ? me((v(), m("input", {
1059
- key: 2,
1060
- ref_key: "rangeEnd",
1061
- ref: Kt,
1062
- type: "range",
1063
- class: g({
1064
- "range-right": !0,
1065
- "range-handle": !0,
1066
- "range-minimap": E.value && c.verticalHandles,
1067
- "range-invisible": E.value && c.minimapCompact
1068
- }),
1069
- min: c.min,
1070
- max: D.value && c.minimapCompact ? ht.value : c.max,
1071
- step: 1,
1072
- "onUpdate:modelValue": t[7] ||= (e) => St.value = e,
1073
- onMouseenter: t[8] ||= (e) => bn("end")
1074
- }, null, 42, it)), [[
1075
- pe,
1076
- St.value,
1077
- void 0,
1078
- { number: !0 }
1079
- ]]) : p("", !0),
1080
- c.labelLeft ? (v(), m("div", {
1081
- key: 3,
1082
- ref_key: "tooltipLeft",
1083
- ref: Y,
1084
- class: g({
1085
- "range-tooltip": !0,
1086
- "range-tooltip-visible": X.value,
1087
- "range-tooltip-arrow": A.value.arrowLeft && !c.verticalHandles,
1088
- "range-tooltip-arrow-left": !A.value.arrowLeft && !c.verticalHandles
1089
- }),
1090
- style: _({
1091
- left: A.value.tooltipLeft,
1092
- color: de(o)(c.selectColor),
1093
- backgroundColor: c.selectColor,
1094
- border: `1px solid ${j.value}`,
1095
- zIndex: `${yn.value + 4}`,
1096
- visibility: Z.value || c.labelLeft === c.labelRight ? "hidden" : "visible",
1097
- top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1098
- })
1099
- }, ue(c.labelLeft), 7)) : p("", !0),
1100
- (Z.value || c.labelLeft === c.labelRight) && (c.labelLeft || c.labelRight) ? (v(), m("div", {
1101
- key: 4,
1102
- ref: "tooltipMerge",
1103
- class: g({
1104
- "range-tooltip": !0,
1105
- "range-tooltip-visible": X.value,
1106
- "range-tooltip-arrow": !0,
1107
- "range-tooltip-arrow-left": !A.value.arrowLeft && !c.verticalHandles,
1108
- "range-tooltip-arrow-right": !A.value.arrowRight && !c.verticalHandles
1109
- }),
1110
- style: _({
1111
- left: A.value.tooltipCenter,
1112
- width: xn.value.width + "px",
1113
- color: de(o)(c.selectColor),
1114
- backgroundColor: c.selectColor,
1115
- border: `1px solid ${j.value}`,
1116
- zIndex: "4",
1117
- top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1118
- })
1119
- }, ue(c.labelLeft === c.labelRight ? c.labelLeft : `${c.labelLeft} - ${c.labelRight}`), 7)) : p("", !0),
1120
- c.labelRight ? (v(), m("div", {
1121
- key: 5,
1122
- ref_key: "tooltipRight",
1123
- ref: mn,
1124
- class: g({
1125
- "range-tooltip": !0,
1126
- "range-tooltip-visible": X.value,
1127
- "range-tooltip-arrow": A.value.arrowRight && !c.verticalHandles,
1128
- "range-tooltip-arrow-right": !A.value.arrowRight && !c.verticalHandles
1129
- }),
1130
- style: _({
1131
- left: A.value.tooltipRight,
1132
- color: de(o)(c.selectColor),
1133
- backgroundColor: c.selectColor,
1134
- border: `1px solid ${j.value}`,
1135
- zIndex: "4",
1136
- visibility: Z.value || c.labelLeft === c.labelRight ? "hidden" : "visible",
1137
- top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1138
- })
1139
- }, ue(c.labelRight), 7)) : p("", !0)
1140
- ], 36)], 44, he));
1141
- }
1142
- }, [["__scopeId", "data-v-f688cd63"]]);
1143
- //#endregion
1144
- export { ot as t };