vue-data-ui 3.26.5 → 3.27.1-beta.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 (531) hide show
  1. package/dist/A11yDataTable-DWNlWXzs.js +1 -0
  2. package/dist/Arrow-CJeSufxg.js +1 -0
  3. package/dist/BaseDraggableDialog-T1gEsQid.js +1 -0
  4. package/dist/BaseIcon-Cz30ODFA.js +1 -0
  5. package/dist/BaseLegendToggle-Dn_tNvn4.js +1 -0
  6. package/dist/BaseScanner-8NdoBs7B.js +1 -0
  7. package/dist/BaseZoomControls-xq3tWD3j.js +1 -0
  8. package/dist/ColorPicker-CUjEw53A.js +1 -0
  9. package/dist/DataTable-DSUA5M9p.js +1 -0
  10. package/dist/DefGrad-DKMq1REY.js +1 -0
  11. package/dist/HillActions-DdvXld3a.js +1 -0
  12. package/dist/Legend-DokTll4u.js +1 -0
  13. package/dist/NonSvgPenAndPaper-BLzQuIm6.js +1 -0
  14. package/dist/PackageVersion-D6pKL176.js +1 -0
  15. package/dist/PenAndPaper-DvJJaeU2.js +1 -0
  16. package/dist/RecursiveCircles-BftI1kwF.js +1 -0
  17. package/dist/RecursiveLabels-B0d04xSj.js +1 -0
  18. package/dist/RecursiveLinks-CZtG6uWg.js +1 -0
  19. package/dist/Shape-tkp65OcG.js +1 -0
  20. package/dist/SlicerPreview-GFRs2EWB.js +1 -0
  21. package/dist/SparkTooltip-BlJLvizH.js +1 -0
  22. package/dist/Title-BRAjxtjG.js +1 -0
  23. package/dist/Tooltip-BUXB0i6z.js +1 -0
  24. package/dist/UserOptions-D65t74CM.js +1 -0
  25. package/dist/_plugin-vue_export-helper-BDNMzG2s.js +1 -0
  26. package/dist/annotationSlots-BRR85CqJ.js +1 -0
  27. package/dist/chartImage-NwZO-elv.js +1 -0
  28. package/dist/components/arrow.js +1 -2
  29. package/dist/components/vue-ui-3d-bar.js +1 -2
  30. package/dist/components/vue-ui-accordion.js +1 -2
  31. package/dist/components/vue-ui-age-pyramid.js +1 -2
  32. package/dist/components/vue-ui-annotator.js +1 -2
  33. package/dist/components/vue-ui-bullet.js +1 -2
  34. package/dist/components/vue-ui-bump.js +1 -2
  35. package/dist/components/vue-ui-candlestick.js +1 -2
  36. package/dist/components/vue-ui-carousel-table.js +1 -2
  37. package/dist/components/vue-ui-chestnut.js +1 -2
  38. package/dist/components/vue-ui-chord.js +1 -2
  39. package/dist/components/vue-ui-circle-pack.js +1 -2
  40. package/dist/components/vue-ui-cursor.js +1 -2
  41. package/dist/components/vue-ui-dag.js +1 -2
  42. package/dist/components/vue-ui-dashboard.js +1 -2
  43. package/dist/components/vue-ui-digits.js +1 -2
  44. package/dist/components/vue-ui-donut-evolution.js +1 -2
  45. package/dist/components/vue-ui-donut.js +1 -2
  46. package/dist/components/vue-ui-dumbbell.js +1 -2
  47. package/dist/components/vue-ui-flow.js +1 -2
  48. package/dist/components/vue-ui-funnel.js +1 -2
  49. package/dist/components/vue-ui-galaxy.js +1 -2
  50. package/dist/components/vue-ui-gauge.js +1 -2
  51. package/dist/components/vue-ui-geo.js +1 -2
  52. package/dist/components/vue-ui-gizmo.js +1 -2
  53. package/dist/components/vue-ui-heatmap.js +1 -2
  54. package/dist/components/vue-ui-hill.js +1 -2
  55. package/dist/components/vue-ui-history-plot.js +1 -2
  56. package/dist/components/vue-ui-horizontal-bar.js +1 -2
  57. package/dist/components/vue-ui-icon.js +1 -2
  58. package/dist/components/vue-ui-kpi.js +1 -2
  59. package/dist/components/vue-ui-label.js +1 -2
  60. package/dist/components/vue-ui-mini-loader.js +1 -2
  61. package/dist/components/vue-ui-molecule.js +1 -2
  62. package/dist/components/vue-ui-mood-radar.js +1 -2
  63. package/dist/components/vue-ui-nested-donuts.js +1 -2
  64. package/dist/components/vue-ui-onion.js +1 -2
  65. package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -2
  66. package/dist/components/vue-ui-pattern-seed.js +1 -2
  67. package/dist/components/vue-ui-pattern.js +1 -2
  68. package/dist/components/vue-ui-quadrant.js +1 -2
  69. package/dist/components/vue-ui-quick-chart.js +1 -2
  70. package/dist/components/vue-ui-radar.js +1 -2
  71. package/dist/components/vue-ui-rating.js +1 -2
  72. package/dist/components/vue-ui-relation-circle.js +1 -2
  73. package/dist/components/vue-ui-ridgeline.js +1 -2
  74. package/dist/components/vue-ui-rings.js +1 -2
  75. package/dist/components/vue-ui-scatter.js +1 -2
  76. package/dist/components/vue-ui-skeleton.js +1 -2
  77. package/dist/components/vue-ui-smiley.js +1 -2
  78. package/dist/components/vue-ui-spark-trend.js +1 -2
  79. package/dist/components/vue-ui-sparkbar.js +1 -2
  80. package/dist/components/vue-ui-sparkgauge.js +1 -2
  81. package/dist/components/vue-ui-sparkhistogram.js +1 -2
  82. package/dist/components/vue-ui-sparkline.js +1 -2
  83. package/dist/components/vue-ui-sparkstackbar.js +1 -2
  84. package/dist/components/vue-ui-stackbar.js +1 -2
  85. package/dist/components/vue-ui-stackline.js +1 -2
  86. package/dist/components/vue-ui-strip-plot.js +1 -2
  87. package/dist/components/vue-ui-table-heatmap.js +1 -2
  88. package/dist/components/vue-ui-table-sparkline.js +1 -2
  89. package/dist/components/vue-ui-table.js +1 -2
  90. package/dist/components/vue-ui-thermometer.js +1 -2
  91. package/dist/components/vue-ui-timer.js +1 -2
  92. package/dist/components/vue-ui-tiremarks.js +1 -2
  93. package/dist/components/vue-ui-treemap.js +1 -2
  94. package/dist/components/vue-ui-vertical-bar.js +1 -2
  95. package/dist/components/vue-ui-waffle.js +1 -2
  96. package/dist/components/vue-ui-wheel.js +1 -2
  97. package/dist/components/vue-ui-word-cloud.js +1 -2
  98. package/dist/components/vue-ui-world.js +1 -2
  99. package/dist/components/vue-ui-xy-canvas.js +1 -2
  100. package/dist/components/vue-ui-xy.js +1 -2
  101. package/dist/composables.js +1 -5
  102. package/dist/dom-to-png-Cp3WLHmJ.js +3 -0
  103. package/dist/exposedLib-CMTeSmyW.js +1 -0
  104. package/dist/geoProjections-Bvj-eMvq.js +1 -0
  105. package/dist/img-8sM3sVWU.js +1 -0
  106. package/dist/labelUtils-Djp5nJtN.js +1 -0
  107. package/dist/lib-zDxoqrgo.js +12 -0
  108. package/dist/package-DIR2F6AE.js +1 -0
  109. package/dist/patternUtils-_q3ArM3g.js +1 -0
  110. package/dist/pdf-Dlv_ks7R.js +1 -0
  111. package/dist/render-common-DOYi0f4Z.js +1 -0
  112. package/dist/resolveChartConfig-BSo1Oe9n.js +1 -0
  113. package/dist/rolldown-runtime-DK3Fl9T5.js +1 -0
  114. package/dist/ssr/vue-ui-donut.js +1 -2
  115. package/dist/ssr/vue-ui-xy.js +1 -2
  116. package/dist/ssr.js +1 -3
  117. package/dist/style.css +1 -1
  118. package/dist/tableIntegration-CNoJ1CIY.js +1 -0
  119. package/dist/types/composables.d.ts +12 -12
  120. package/dist/types/ssr.d.ts +84 -84
  121. package/dist/types/utils.d.ts +82 -73
  122. package/dist/types/vue-data-ui.d.ts +17969 -17813
  123. package/dist/types/vue-ui-3d-bar.d.ts +24 -91
  124. package/dist/types/vue-ui-accordion.d.ts +2 -10
  125. package/dist/types/vue-ui-age-pyramid.d.ts +27 -106
  126. package/dist/types/vue-ui-annotator.d.ts +12 -88
  127. package/dist/types/vue-ui-bullet.d.ts +21 -83
  128. package/dist/types/vue-ui-bump.d.ts +23 -90
  129. package/dist/types/vue-ui-candlestick.d.ts +27 -108
  130. package/dist/types/vue-ui-carousel-table.d.ts +11 -57
  131. package/dist/types/vue-ui-chestnut.d.ts +27 -96
  132. package/dist/types/vue-ui-chord.d.ts +31 -108
  133. package/dist/types/vue-ui-circle-pack.d.ts +30 -124
  134. package/dist/types/vue-ui-cursor.d.ts +2 -8
  135. package/dist/types/vue-ui-dag.d.ts +35 -125
  136. package/dist/types/vue-ui-dashboard.d.ts +18 -66
  137. package/dist/types/vue-ui-digits.d.ts +2 -11
  138. package/dist/types/vue-ui-donut-evolution.d.ts +31 -100
  139. package/dist/types/vue-ui-donut.d.ts +31 -121
  140. package/dist/types/vue-ui-dumbbell.d.ts +24 -92
  141. package/dist/types/vue-ui-flow.d.ts +28 -104
  142. package/dist/types/vue-ui-funnel.d.ts +18 -77
  143. package/dist/types/vue-ui-galaxy.d.ts +30 -112
  144. package/dist/types/vue-ui-gauge.d.ts +22 -87
  145. package/dist/types/vue-ui-geo.d.ts +22 -92
  146. package/dist/types/vue-ui-gizmo.d.ts +5 -20
  147. package/dist/types/vue-ui-heatmap.d.ts +25 -101
  148. package/dist/types/vue-ui-hill.d.ts +22 -88
  149. package/dist/types/vue-ui-history-plot.d.ts +30 -112
  150. package/dist/types/vue-ui-horizontal-bar.d.ts +30 -114
  151. package/dist/types/vue-ui-icon.d.ts +1 -13
  152. package/dist/types/vue-ui-kpi.d.ts +5 -23
  153. package/dist/types/vue-ui-label.d.ts +11 -48
  154. package/dist/types/vue-ui-mini-loader.d.ts +4 -13
  155. package/dist/types/vue-ui-molecule.d.ts +27 -110
  156. package/dist/types/vue-ui-mood-radar.d.ts +23 -90
  157. package/dist/types/vue-ui-nested-donuts.d.ts +28 -109
  158. package/dist/types/vue-ui-onion.d.ts +26 -104
  159. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +34 -123
  160. package/dist/types/vue-ui-pattern-seed.d.ts +1 -14
  161. package/dist/types/vue-ui-pattern.d.ts +1 -13
  162. package/dist/types/vue-ui-quadrant.d.ts +33 -123
  163. package/dist/types/vue-ui-quick-chart.d.ts +30 -110
  164. package/dist/types/vue-ui-radar.d.ts +31 -114
  165. package/dist/types/vue-ui-rating.d.ts +8 -40
  166. package/dist/types/vue-ui-relation-circle.d.ts +26 -90
  167. package/dist/types/vue-ui-ridgeline.d.ts +27 -104
  168. package/dist/types/vue-ui-rings.d.ts +21 -96
  169. package/dist/types/vue-ui-scatter.d.ts +22 -95
  170. package/dist/types/vue-ui-skeleton.d.ts +2 -10
  171. package/dist/types/vue-ui-smiley.d.ts +6 -26
  172. package/dist/types/vue-ui-spark-trend.d.ts +2 -18
  173. package/dist/types/vue-ui-sparkbar.d.ts +10 -47
  174. package/dist/types/vue-ui-sparkgauge.d.ts +5 -26
  175. package/dist/types/vue-ui-sparkhistogram.d.ts +12 -44
  176. package/dist/types/vue-ui-sparkline.d.ts +16 -61
  177. package/dist/types/vue-ui-sparkstackbar.d.ts +13 -58
  178. package/dist/types/vue-ui-stackbar.d.ts +36 -120
  179. package/dist/types/vue-ui-stackline.d.ts +29 -116
  180. package/dist/types/vue-ui-strip-plot.d.ts +22 -96
  181. package/dist/types/vue-ui-table-heatmap.d.ts +14 -60
  182. package/dist/types/vue-ui-table-sparkline.d.ts +12 -51
  183. package/dist/types/vue-ui-table.d.ts +9 -36
  184. package/dist/types/vue-ui-thermometer.d.ts +14 -68
  185. package/dist/types/vue-ui-timer.d.ts +10 -47
  186. package/dist/types/vue-ui-tiremarks.d.ts +14 -68
  187. package/dist/types/vue-ui-treemap.d.ts +26 -105
  188. package/dist/types/vue-ui-vertical-bar.d.ts +8 -19
  189. package/dist/types/vue-ui-waffle.d.ts +23 -99
  190. package/dist/types/vue-ui-wheel.d.ts +14 -68
  191. package/dist/types/vue-ui-word-cloud.d.ts +20 -95
  192. package/dist/types/vue-ui-world.d.ts +22 -96
  193. package/dist/types/vue-ui-xy-canvas.d.ts +24 -101
  194. package/dist/types/vue-ui-xy.d.ts +42 -146
  195. package/dist/unpackTheme-CNsFKCeq.js +1 -0
  196. package/dist/useAutoSizeLabelsInsideViewbox-AIRF0PlD.js +1 -0
  197. package/dist/useChartAccessibility-DOMuYJfm.js +1 -0
  198. package/dist/useChartExport-DtPNpc9M.js +1 -0
  199. package/dist/useConfig-CKdzPrcf.js +1 -0
  200. package/dist/useFitSvgText-C1QC4P5G.js +1 -0
  201. package/dist/useHints-BH9r_0Vd.js +6 -0
  202. package/dist/useNestedProp-CT9phgWx.js +1 -0
  203. package/dist/useObjectBindings-DM3xDKV3.js +1 -0
  204. package/dist/usePanZoom-BdjP5Suc.js +1 -0
  205. package/dist/usePrefersMotion-XLHwega2.js +1 -0
  206. package/dist/usePrinter-CnyKPIFM.js +1 -0
  207. package/dist/useResponsive-D2CPcpda.js +1 -0
  208. package/dist/useStableElementSize-CegFbRlF.js +1 -0
  209. package/dist/useTableResponsive-uSz_qZOB.js +1 -0
  210. package/dist/useThemeCheck-BKNRbGeC.js +1 -0
  211. package/dist/useTimeLabelCollider-XQf_S7-z.js +1 -0
  212. package/dist/useTimeLabels-Das5O74F.js +1 -0
  213. package/dist/useTooltipPosition-aoV8pZZ9.js +1 -0
  214. package/dist/useTransitions-DfSHzsdz.js +1 -0
  215. package/dist/useUserOptionState-CXlFnwPv.js +1 -0
  216. package/dist/userOptionsSlots-DYuo-E5m.js +1 -0
  217. package/dist/utils.js +1 -30
  218. package/dist/vClickOutside-BxNzkY17.js +1 -0
  219. package/dist/vue-data-ui-BG41UScx.js +1 -0
  220. package/dist/vue-data-ui.js +1 -79
  221. package/dist/vue-ui-3d-bar-DiaiNy-k.js +19 -0
  222. package/dist/vue-ui-accordion-Dy5OVFKr.js +1 -0
  223. package/dist/vue-ui-age-pyramid-OeUr1yxi.js +1 -0
  224. package/dist/vue-ui-annotator-DA_xAFql.js +331 -0
  225. package/dist/vue-ui-bullet-B9lcCTVb.js +34 -0
  226. package/dist/vue-ui-bump-DYajIrva.js +10 -0
  227. package/dist/vue-ui-candlestick-CdAZuNxo.js +22 -0
  228. package/dist/vue-ui-carousel-table-ihGH0LDH.js +1 -0
  229. package/dist/vue-ui-chestnut-B2aNXFNO.js +1 -0
  230. package/dist/vue-ui-chord-fAckHfOW.js +21 -0
  231. package/dist/vue-ui-circle-pack-BWHVImkS.js +13 -0
  232. package/dist/vue-ui-cursor-DdXKXmhr.js +1 -0
  233. package/dist/vue-ui-dag-a0fNoIcJ.js +9 -0
  234. package/dist/vue-ui-dashboard-DkdYMB7n.js +1 -0
  235. package/dist/vue-ui-digits-CL9SuIEI.js +42 -0
  236. package/dist/vue-ui-donut-BaEodt-3.js +22 -0
  237. package/dist/vue-ui-donut-DaYxdQmP.js +47 -0
  238. package/dist/vue-ui-donut-evolution-T8cRXKRQ.js +2 -0
  239. package/dist/vue-ui-dumbbell-B6HJxEZp.js +9 -0
  240. package/dist/vue-ui-flow-BlTCVFr3.js +3 -0
  241. package/dist/vue-ui-funnel-WgLFJadZ.js +1 -0
  242. package/dist/vue-ui-galaxy-B3nuI6E8.js +1 -0
  243. package/dist/vue-ui-gauge-BwTP65O4.js +1 -0
  244. package/dist/vue-ui-geo-CX3yH18H.js +1 -0
  245. package/dist/vue-ui-gizmo-CNHcBsku.js +1 -0
  246. package/dist/vue-ui-heatmap-CTdeoar7.js +1 -0
  247. package/dist/vue-ui-hill-DR5k8GWZ.js +1 -0
  248. package/dist/vue-ui-history-plot-C-9uH-Uj.js +2 -0
  249. package/dist/vue-ui-horizontal-bar-qqF7pL7U.js +4 -0
  250. package/dist/vue-ui-kpi-DVcLXGqG.js +1 -0
  251. package/dist/vue-ui-label-D1Aog-zO.js +7 -0
  252. package/dist/vue-ui-mini-loader-CX0Dx9tT.js +1 -0
  253. package/dist/vue-ui-molecule-B13qVX71.js +1 -0
  254. package/dist/vue-ui-mood-radar-C1BtB8lg.js +1 -0
  255. package/dist/vue-ui-nested-donuts-B90yrlJG.js +19 -0
  256. package/dist/vue-ui-onion-UMVO2DE_.js +5 -0
  257. package/dist/vue-ui-parallel-coordinate-plot-C0ofFivm.js +9 -0
  258. package/dist/vue-ui-pattern-DrPCu32G.js +1 -0
  259. package/dist/vue-ui-pattern-seed-B8YjAAEH.js +1 -0
  260. package/dist/vue-ui-quadrant-CPG6yAiu.js +2 -0
  261. package/dist/vue-ui-quick-chart-BTPb-Iz8.js +17 -0
  262. package/dist/vue-ui-radar-Hd-pE9ih.js +1 -0
  263. package/dist/vue-ui-rating-C_YxQYa_.js +1 -0
  264. package/dist/vue-ui-relation-circle-CHYG7ZJl.js +1 -0
  265. package/dist/vue-ui-ridgeline-DS1Gvljt.js +2 -0
  266. package/dist/vue-ui-rings-B-Hb13Uu.js +1 -0
  267. package/dist/vue-ui-scatter-BTgvOmuo.js +9 -0
  268. package/dist/vue-ui-skeleton-B-Acw3CC.js +41 -0
  269. package/dist/vue-ui-smiley-Ciwqt6ek.js +1 -0
  270. package/dist/vue-ui-spark-trend-CYqy6c0S.js +1 -0
  271. package/dist/vue-ui-sparkbar-CTXIgjmP.js +1 -0
  272. package/dist/vue-ui-sparkgauge-CObOL6s2.js +1 -0
  273. package/dist/vue-ui-sparkhistogram-ClFyDez-.js +1 -0
  274. package/dist/vue-ui-sparkline-DP_nYlW8.js +1 -0
  275. package/dist/vue-ui-sparkstackbar-B2f0ePMg.js +1 -0
  276. package/dist/vue-ui-stackbar-nMWHZ-f0.js +29 -0
  277. package/dist/vue-ui-stackline-B95y6Zc5.js +39 -0
  278. package/dist/vue-ui-strip-plot-gFNC4r-X.js +2 -0
  279. package/dist/vue-ui-table-Br2JgD_L.js +14 -0
  280. package/dist/vue-ui-table-heatmap-Btu2ejF4.js +1 -0
  281. package/dist/vue-ui-table-sparkline-B9mYHAxp.js +1 -0
  282. package/dist/vue-ui-thermometer-C6u1eLfo.js +1 -0
  283. package/dist/vue-ui-timer-DLgsfB1U.js +64 -0
  284. package/dist/vue-ui-tiremarks-8B9uE1Bx.js +1 -0
  285. package/dist/vue-ui-treemap-C4Mot-Os.js +1 -0
  286. package/dist/vue-ui-waffle-BwcwNpf7.js +1 -0
  287. package/dist/vue-ui-wheel-B3OGCXg7.js +1 -0
  288. package/dist/vue-ui-word-cloud-BPIyMBXq.js +4 -0
  289. package/dist/vue-ui-world-Cp0DeauH.js +19 -0
  290. package/dist/vue-ui-xy-BOE1jvUS.js +31 -0
  291. package/dist/vue-ui-xy-DSyKSn4L.js +24 -0
  292. package/dist/vue-ui-xy-canvas-CaxxiKSa.js +9 -0
  293. package/dist/vue_ui_3d_bar-DmAve5Ri.js +1 -0
  294. package/dist/vue_ui_age_pyramid-CL0Ef8Ov.js +1 -0
  295. package/dist/vue_ui_bullet-CwVYkpjd.js +1 -0
  296. package/dist/vue_ui_bump-KJL9GYr4.js +1 -0
  297. package/dist/vue_ui_candlestick-DKvha_Ab.js +1 -0
  298. package/dist/vue_ui_chestnut-BxxivKN7.js +1 -0
  299. package/dist/vue_ui_chord-Fq6VBRT1.js +1 -0
  300. package/dist/vue_ui_circle_pack-CfXkXi7v.js +1 -0
  301. package/dist/vue_ui_dag-1b_dLSym.js +1 -0
  302. package/dist/vue_ui_donut-T5PeOqvf.js +1 -0
  303. package/dist/vue_ui_donut_evolution-nzVwNQYv.js +1 -0
  304. package/dist/vue_ui_dumbbell-BMcxK0N3.js +1 -0
  305. package/dist/vue_ui_flow-kvV56Es9.js +1 -0
  306. package/dist/vue_ui_funnel-CaEV5hG7.js +1 -0
  307. package/dist/vue_ui_galaxy-B94QInxc.js +1 -0
  308. package/dist/vue_ui_gauge-BJhb6yqE.js +1 -0
  309. package/dist/vue_ui_geo-DL1SMQHp.js +1 -0
  310. package/dist/vue_ui_heatmap-kh5NMmwf.js +1 -0
  311. package/dist/vue_ui_hill-DQi4pQCG.js +1 -0
  312. package/dist/vue_ui_history_plot-soyqUW4Y.js +1 -0
  313. package/dist/vue_ui_horizontal_bar-C4ulIxeT.js +1 -0
  314. package/dist/vue_ui_label-dtPqyFsj.js +1 -0
  315. package/dist/vue_ui_molecule-Bw1UW1Na.js +1 -0
  316. package/dist/vue_ui_mood_radar-CXaBdJnv.js +1 -0
  317. package/dist/vue_ui_nested_donuts-CRtGsJcz.js +1 -0
  318. package/dist/vue_ui_onion-C9BedU_-.js +1 -0
  319. package/dist/vue_ui_parallel_coordinate_plot-Cs_xXAG5.js +1 -0
  320. package/dist/vue_ui_quadrant-BUv-SqzP.js +1 -0
  321. package/dist/vue_ui_quick_chart-Da1GwklM.js +1 -0
  322. package/dist/vue_ui_radar-68iK9Fam.js +1 -0
  323. package/dist/vue_ui_relation_circle-Dkv-cSB6.js +1 -0
  324. package/dist/vue_ui_ridgeline-Di26JtQu.js +1 -0
  325. package/dist/vue_ui_rings-BcDDXHpQ.js +1 -0
  326. package/dist/vue_ui_scatter-C50uFYQL.js +1 -0
  327. package/dist/vue_ui_spark_trend-BOM3zo64.js +1 -0
  328. package/dist/vue_ui_sparkbar-Bpx7QrFq.js +1 -0
  329. package/dist/vue_ui_sparkgauge-D2Hk6bvS.js +1 -0
  330. package/dist/vue_ui_sparkhistogram-ChwOkoMb.js +1 -0
  331. package/dist/vue_ui_sparkline-CvL_e9L8.js +1 -0
  332. package/dist/vue_ui_sparkstackbar-Chtog7hC.js +1 -0
  333. package/dist/vue_ui_stackbar-BkBIi_bL.js +1 -0
  334. package/dist/vue_ui_stackline-D7b63K84.js +1 -0
  335. package/dist/vue_ui_strip_plot-CwMowrhT.js +1 -0
  336. package/dist/vue_ui_table_heatmap-vfeY6r97.js +1 -0
  337. package/dist/vue_ui_table_sparkline-Dlfbza49.js +1 -0
  338. package/dist/vue_ui_thermometer-CRijq6H6.js +1 -0
  339. package/dist/vue_ui_tiremarks-8HFfABNF.js +1 -0
  340. package/dist/vue_ui_treemap-Bv4Rdl5_.js +1 -0
  341. package/dist/vue_ui_vertical_bar-BLyflvlz.js +1 -0
  342. package/dist/vue_ui_waffle-BbBLSluB.js +1 -0
  343. package/dist/vue_ui_wheel-C-479bvJ.js +1 -0
  344. package/dist/vue_ui_word_cloud-DBiJtSyL.js +1 -0
  345. package/dist/vue_ui_xy-CJBM9F6W.js +1 -0
  346. package/dist/vue_ui_xy_canvas-CT-FN9rU.js +1 -0
  347. package/package.json +2 -2
  348. package/dist/A11yDataTable-DdRsVULz.js +0 -45
  349. package/dist/Arrow-BQbcOtfC.js +0 -116
  350. package/dist/BaseDraggableDialog-BCFCiP_6.js +0 -272
  351. package/dist/BaseIcon-CIK6Sqo3.js +0 -484
  352. package/dist/BaseLegendToggle-Doa5rYP2.js +0 -56
  353. package/dist/BaseScanner-Dzc8VT3j.js +0 -30
  354. package/dist/BaseZoomControls-BGQM8B5F.js +0 -111
  355. package/dist/ColorPicker-Cb7qpvFt.js +0 -257
  356. package/dist/DataTable-B6LDCXBz.js +0 -150
  357. package/dist/DefGrad-DVBqDjhO.js +0 -48
  358. package/dist/HillActions-CwdgCb7Q.js +0 -187
  359. package/dist/Legend-D9FGXIbQ.js +0 -156
  360. package/dist/NonSvgPenAndPaper-9T4MSwXC.js +0 -577
  361. package/dist/PackageVersion-CslTvFsC.js +0 -12
  362. package/dist/PenAndPaper-C1EcBgJW.js +0 -906
  363. package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
  364. package/dist/RecursiveLabels-D9rfID6q.js +0 -56
  365. package/dist/RecursiveLinks-BygcpDiT.js +0 -78
  366. package/dist/Shape-BZgQLgu5.js +0 -143
  367. package/dist/SlicerPreview-DyYv_G-_.js +0 -1730
  368. package/dist/SparkTooltip-D4cRlyuq.js +0 -93
  369. package/dist/Title-Bd98RysU.js +0 -87
  370. package/dist/Tooltip-DmQeI5WE.js +0 -312
  371. package/dist/UserOptions-B_yBcZ1-.js +0 -1412
  372. package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
  373. package/dist/dom-to-png-B_RJohlM.js +0 -237
  374. package/dist/exposedLib-C-JlvWAt.js +0 -28
  375. package/dist/geoProjections-BYthUA8l.js +0 -302
  376. package/dist/img-KURaWjZI.js +0 -129
  377. package/dist/labelUtils-DShv2Mbg.js +0 -19
  378. package/dist/lib-TWIH5fGr.js +0 -2152
  379. package/dist/package-DbTqd5lc.js +0 -4
  380. package/dist/patternUtils-CS7hn6at.js +0 -258
  381. package/dist/pdf-CLl24Afl.js +0 -90
  382. package/dist/render-common-CKv-jztN.js +0 -152
  383. package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
  384. package/dist/useAutoSizeLabelsInsideViewbox-DvDwcwi_.js +0 -122
  385. package/dist/useChartAccessibility-DYqac8yF.js +0 -12
  386. package/dist/useChartExport-iwOqiIWX.js +0 -803
  387. package/dist/useConfig-DObkR9Aa.js +0 -8008
  388. package/dist/useFitSvgText-CXTzBplU.js +0 -65
  389. package/dist/useHints-Dq_w2E8B.js +0 -66
  390. package/dist/useNestedProp-BxOdWM0c.js +0 -12
  391. package/dist/useObjectBindings-CPmyIJxB.js +0 -191
  392. package/dist/usePanZoom-CYU3B4T3.js +0 -157
  393. package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
  394. package/dist/usePrinter-8Y1Rju0Y.js +0 -49
  395. package/dist/useResponsive-ZtArZtUf.js +0 -97
  396. package/dist/useStableElementSize-C7KADDKj.js +0 -77
  397. package/dist/useTableResponsive-BAqJPR68.js +0 -25
  398. package/dist/useThemeCheck-C43Tcqmk.js +0 -24
  399. package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
  400. package/dist/useTimeLabels-d2f-W1L4.js +0 -270
  401. package/dist/useTooltipPosition-BCrtQa9H.js +0 -189
  402. package/dist/useTransitions-g_zBREk2.js +0 -39
  403. package/dist/useUserOptionState-DK-_1ddE.js +0 -15
  404. package/dist/vClickOutside-DUrZWttG.js +0 -13
  405. package/dist/vue-data-ui-C3G5Zdl5.js +0 -191
  406. package/dist/vue-ui-3d-bar-Cl6-fBV8.js +0 -1831
  407. package/dist/vue-ui-accordion-AyyZDab3.js +0 -81
  408. package/dist/vue-ui-age-pyramid-DOtWAL8s.js +0 -1305
  409. package/dist/vue-ui-annotator-BCVjlojM.js +0 -3325
  410. package/dist/vue-ui-bullet-B_1Ctjvq.js +0 -702
  411. package/dist/vue-ui-bump-kOK6x4al.js +0 -1242
  412. package/dist/vue-ui-candlestick-KvhjbAxt.js +0 -2144
  413. package/dist/vue-ui-carousel-table-ArMiO0cG.js +0 -467
  414. package/dist/vue-ui-chestnut-DSM0U27X.js +0 -2016
  415. package/dist/vue-ui-chord-64akfaem.js +0 -1347
  416. package/dist/vue-ui-circle-pack-CaR_aNEh.js +0 -1647
  417. package/dist/vue-ui-cursor-DCgqYZiz.js +0 -283
  418. package/dist/vue-ui-dag-8uKK0Rlp.js +0 -2931
  419. package/dist/vue-ui-dashboard-DeccYtSY.js +0 -522
  420. package/dist/vue-ui-digits-BvK7bVuJ.js +0 -217
  421. package/dist/vue-ui-donut-8joMj08Z.js +0 -974
  422. package/dist/vue-ui-donut-CvbfzzdT.js +0 -2427
  423. package/dist/vue-ui-donut-evolution-DgITf95R.js +0 -1869
  424. package/dist/vue-ui-dumbbell-U2L4ZYhB.js +0 -1533
  425. package/dist/vue-ui-flow-DD20fJu_.js +0 -1229
  426. package/dist/vue-ui-funnel-Cx8hVlZV.js +0 -749
  427. package/dist/vue-ui-galaxy-VZFZnHPv.js +0 -1097
  428. package/dist/vue-ui-gauge-Copa7G58.js +0 -934
  429. package/dist/vue-ui-geo-DeDQ6ubl.js +0 -1495
  430. package/dist/vue-ui-gizmo-D5oUKIsP.js +0 -238
  431. package/dist/vue-ui-heatmap-BukWtNsd.js +0 -1613
  432. package/dist/vue-ui-hill-DONFacXR.js +0 -1747
  433. package/dist/vue-ui-history-plot-BMy_y9S6.js +0 -1710
  434. package/dist/vue-ui-horizontal-bar-bcPSs999.js +0 -1723
  435. package/dist/vue-ui-kpi-Bol0OWs3.js +0 -104
  436. package/dist/vue-ui-label-cwjXaEDQ.js +0 -1451
  437. package/dist/vue-ui-mini-loader-kdpasmXb.js +0 -133
  438. package/dist/vue-ui-molecule-BiAI5lbh.js +0 -941
  439. package/dist/vue-ui-mood-radar-f4xXkiBs.js +0 -1111
  440. package/dist/vue-ui-nested-donuts-ZmGGEvRk.js +0 -1515
  441. package/dist/vue-ui-onion-D6IKPpL-.js +0 -1247
  442. package/dist/vue-ui-parallel-coordinate-plot-BbfModz3.js +0 -1444
  443. package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
  444. package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
  445. package/dist/vue-ui-quadrant-CueHa1Pm.js +0 -1979
  446. package/dist/vue-ui-quick-chart-C8ZxX1Zw.js +0 -2775
  447. package/dist/vue-ui-radar-BcD7Zqvb.js +0 -1386
  448. package/dist/vue-ui-rating-V_OnJN9Y.js +0 -359
  449. package/dist/vue-ui-relation-circle-DlN4r83K.js +0 -905
  450. package/dist/vue-ui-ridgeline-BlQnTWXi.js +0 -1630
  451. package/dist/vue-ui-rings-Bf9IKwDr.js +0 -1264
  452. package/dist/vue-ui-scatter-arPbS9MH.js +0 -2418
  453. package/dist/vue-ui-skeleton-dyXWT6JX.js +0 -2567
  454. package/dist/vue-ui-smiley-w6nH1I0E.js +0 -376
  455. package/dist/vue-ui-spark-trend-Bso9bwmY.js +0 -457
  456. package/dist/vue-ui-sparkbar-CL06Yt56.js +0 -401
  457. package/dist/vue-ui-sparkgauge-BHDM5Hbr.js +0 -268
  458. package/dist/vue-ui-sparkhistogram-3Tw8PEms.js +0 -589
  459. package/dist/vue-ui-sparkline-znaswFQj.js +0 -2067
  460. package/dist/vue-ui-sparkstackbar-BOzVoWoa.js +0 -750
  461. package/dist/vue-ui-stackbar-BTOvMsP8.js +0 -2755
  462. package/dist/vue-ui-stackline-qcLrNL09.js +0 -2829
  463. package/dist/vue-ui-strip-plot-BLNaCPm8.js +0 -1752
  464. package/dist/vue-ui-table-D295mJIf.js +0 -1352
  465. package/dist/vue-ui-table-heatmap-CXeMKqKz.js +0 -363
  466. package/dist/vue-ui-table-sparkline-BYuwQrwA.js +0 -738
  467. package/dist/vue-ui-thermometer-BwJ0oF-H.js +0 -758
  468. package/dist/vue-ui-timer-BULpjYiI.js +0 -451
  469. package/dist/vue-ui-tiremarks-B7bTeU8h.js +0 -540
  470. package/dist/vue-ui-treemap-DkqDz9W4.js +0 -1745
  471. package/dist/vue-ui-waffle-Cn7WBzqh.js +0 -1633
  472. package/dist/vue-ui-wheel-Cy7kBvEx.js +0 -873
  473. package/dist/vue-ui-word-cloud-tRqc2ZMR.js +0 -1723
  474. package/dist/vue-ui-world-B755-zji.js +0 -3021
  475. package/dist/vue-ui-xy-BiHIJ7rK.js +0 -1387
  476. package/dist/vue-ui-xy-DWYTZz_v.js +0 -5777
  477. package/dist/vue-ui-xy-canvas-DGuMC_Rf.js +0 -2151
  478. package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
  479. package/dist/vue_ui_age_pyramid-B2R66DgQ.js +0 -310
  480. package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
  481. package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
  482. package/dist/vue_ui_candlestick-BXSQY82k.js +0 -461
  483. package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
  484. package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
  485. package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
  486. package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
  487. package/dist/vue_ui_donut-BDGqG07h.js +0 -358
  488. package/dist/vue_ui_donut_evolution-C6951a2f.js +0 -745
  489. package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
  490. package/dist/vue_ui_flow-BewZjjKG.js +0 -238
  491. package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
  492. package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
  493. package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
  494. package/dist/vue_ui_geo-B8TODs-G.js +0 -248
  495. package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
  496. package/dist/vue_ui_hill-dnltu0L-.js +0 -368
  497. package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
  498. package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
  499. package/dist/vue_ui_label-B0QoxQrJ.js +0 -115
  500. package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
  501. package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
  502. package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
  503. package/dist/vue_ui_onion-1FTFFS46.js +0 -293
  504. package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
  505. package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
  506. package/dist/vue_ui_quick_chart-DByCqSYE.js +0 -180
  507. package/dist/vue_ui_radar-jafTED5j.js +0 -306
  508. package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
  509. package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
  510. package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
  511. package/dist/vue_ui_scatter-I0POnicu.js +0 -479
  512. package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
  513. package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
  514. package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
  515. package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
  516. package/dist/vue_ui_sparkline-b9pEUyGF.js +0 -183
  517. package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
  518. package/dist/vue_ui_stackbar-DdjDL6aq.js +0 -491
  519. package/dist/vue_ui_stackline-Bh0RuInt.js +0 -539
  520. package/dist/vue_ui_strip_plot-BaHbnnwN.js +0 -308
  521. package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
  522. package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
  523. package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
  524. package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
  525. package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
  526. package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
  527. package/dist/vue_ui_waffle-DE_DiSVP.js +0 -299
  528. package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
  529. package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
  530. package/dist/vue_ui_xy-CcJADijP.js +0 -614
  531. package/dist/vue_ui_xy_canvas-DrNSzYWq.js +0 -487
@@ -1,1730 +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 s, nn as c, r as ee, t as te } from "./lib-TWIH5fGr.js";
2
- import { t as l } from "./_plugin-vue_export-helper-B3ysoDQm.js";
3
- import { i as ne, l as u, t as re } from "./useResponsive-ZtArZtUf.js";
4
- import { t as ie } from "./BaseIcon-CIK6Sqo3.js";
5
- import { t as ae } from "./DefGrad-DVBqDjhO.js";
6
- import { Fragment as d, computed as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as oe, guardReactiveProps as se, mergeProps as ce, nextTick as le, normalizeClass as ue, normalizeProps as de, normalizeStyle as g, onBeforeUnmount as fe, onMounted as pe, onUpdated as me, openBlock as _, ref as v, renderList as y, renderSlot as he, toDisplayString as ge, unref as _e, useCssVars as ve, vModelText as ye, watch as b, withDirectives as be, withKeys as xe, withModifiers as x } from "vue";
7
- //#region src/atoms/SlicerPreview.vue
8
- var Se = ["data-minimap"], Ce = {
9
- class: "vue-data-ui-slicer-labels",
10
- style: {
11
- position: "relative",
12
- "z-index": "1",
13
- "pointer-events": "none"
14
- }
15
- }, we = {
16
- key: 0,
17
- style: {
18
- width: "100%",
19
- position: "relative",
20
- "pointer-events": "all"
21
- }
22
- }, Te = {
23
- key: 0,
24
- class: "minimap",
25
- style: { width: "100%" }
26
- }, Ee = ["xmlns", "viewBox"], De = ["id"], Oe = [
27
- "x",
28
- "width",
29
- "height"
30
- ], ke = [
31
- "width",
32
- "height",
33
- "stroke"
34
- ], Ae = ["d", "stroke"], je = ["d", "fill"], Me = [
35
- "x",
36
- "y",
37
- "width",
38
- "height",
39
- "fill"
40
- ], Ne = [
41
- "d",
42
- "stroke",
43
- "stroke-dasharray"
44
- ], Pe = [
45
- "cx",
46
- "cy",
47
- "fill",
48
- "stroke"
49
- ], Fe = [
50
- "cx",
51
- "cy",
52
- "fill",
53
- "stroke"
54
- ], Ie = [
55
- "x",
56
- "width",
57
- "height",
58
- "fill",
59
- "rx"
60
- ], Le = [
61
- "x",
62
- "width",
63
- "height",
64
- "rx",
65
- "fill"
66
- ], Re = [
67
- "x",
68
- "width",
69
- "height",
70
- "fill",
71
- "rx",
72
- "aria-valuemin",
73
- "aria-valuemax",
74
- "aria-valuenow",
75
- "aria-valuetext"
76
- ], ze = [
77
- "x2",
78
- "y1",
79
- "y2",
80
- "stroke"
81
- ], Be = { key: "merged-tree" }, Ve = ["d", "stroke"], He = [
82
- "cx",
83
- "cy",
84
- "stroke",
85
- "fill"
86
- ], Ue = [
87
- "cx",
88
- "cy",
89
- "stroke",
90
- "fill"
91
- ], We = { key: "split-tree" }, Ge = [
92
- "x",
93
- "y",
94
- "width",
95
- "height",
96
- "fill"
97
- ], Ke = [
98
- "d",
99
- "stroke",
100
- "stroke-dasharray"
101
- ], qe = [
102
- "cx",
103
- "cy",
104
- "fill",
105
- "stroke"
106
- ], Je = ["width", "height"], Ye = ["transform"], Xe = [
107
- "x",
108
- "y",
109
- "width",
110
- "height"
111
- ], Ze = [
112
- "x",
113
- "width",
114
- "height",
115
- "fill",
116
- "stroke",
117
- "stroke-width"
118
- ], Qe = ["transform"], $e = ["width", "height"], et = ["fill", "stroke"], tt = ["stroke"], nt = ["fill"], rt = ["transform"], it = [
119
- "y",
120
- "width",
121
- "height"
122
- ], at = [
123
- "width",
124
- "height",
125
- "fill",
126
- "stroke",
127
- "stroke-width"
128
- ], ot = {
129
- key: 0,
130
- class: "compact-handle-icon",
131
- style: { "pointer-events": "none" }
132
- }, st = ["width", "height"], ct = ["fill", "stroke"], lt = ["stroke"], ut = ["fill"], dt = {
133
- key: "merged-tree",
134
- style: { "pointer-events": "none" }
135
- }, ft = [
136
- "cx",
137
- "cy",
138
- "stroke",
139
- "fill"
140
- ], pt = [
141
- "cx",
142
- "cy",
143
- "fill"
144
- ], mt = [
145
- "cx",
146
- "cy",
147
- "stroke",
148
- "fill"
149
- ], ht = [
150
- "cx",
151
- "cy",
152
- "fill"
153
- ], gt = {
154
- key: 1,
155
- style: { "pointer-events": "none" }
156
- }, _t = [
157
- "d",
158
- "stroke",
159
- "stroke-dasharray"
160
- ], vt = [
161
- "cx",
162
- "cy",
163
- "fill",
164
- "stroke"
165
- ], yt = [
166
- "cx",
167
- "cy",
168
- "stroke",
169
- "fill"
170
- ], bt = [
171
- "cx",
172
- "cy",
173
- "fill"
174
- ], xt = [
175
- "cx",
176
- "cy",
177
- "stroke",
178
- "fill"
179
- ], St = [
180
- "cx",
181
- "cy",
182
- "fill"
183
- ], Ct = [
184
- "cx",
185
- "cy",
186
- "fill",
187
- "stroke"
188
- ], wt = [
189
- "step",
190
- "min",
191
- "max",
192
- "tabindex"
193
- ], Tt = [
194
- "step",
195
- "min",
196
- "max",
197
- "tabindex"
198
- ], Et = 48, Dt = 48, Ot = /*#__PURE__*/ l({
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(l, { expose: Ot, emit: kt }) {
435
- ve((e) => ({
436
- v056d5e0e: an.value,
437
- c53a32fc: L.value,
438
- v53db0a73: sn.value,
439
- v7d9827b2: l.selectColor,
440
- v182d6940: on.value
441
- }));
442
- let S = l;
443
- function C(e) {
444
- let t = Number(e) || 0;
445
- return S.precision <= 0 ? Math.round(t) : Number(t.toFixed(S.precision));
446
- }
447
- let w = v(null), T = v(S.min), E = v(S.max), D = f(() => !!S.allMinimaps.length), At = f(() => n(S.minimapLeftInsetRatio) && n(S.minimapRightInsetRatio)), jt = f(() => {
448
- let e = Math.min(1, Math.max(0, S.minimapLeftInsetRatio)) * 100, t = Math.min(1, Math.max(0, S.minimapRightInsetRatio)) * 100;
449
- return {
450
- padding: At.value ? `0 ${t}% 0 ${e}%` : "0 48px",
451
- maxWidth: S.maxWidth && !At.value ? `${S.maxWidth}px` : void 0,
452
- margin: S.maxWidth && !At.value ? "0 auto" : void 0
453
- };
454
- }), Mt = v(s()), O = v(!1), k = f(() => D.value && S.minimapCompact), Nt = v(null), A = v(null), Pt = v(!1), Ft = v(0), It = v(0), Lt = v(null), Rt = v(!1), zt = f(() => Nt.value !== null), Bt = f(() => S.useValueRange ? E.value : E.value - 1), Vt = f(() => Math.max(1, Number(S.max) - Number(S.min)));
455
- function Ht(e) {
456
- return (Number(e) - Number(S.min)) / Vt.value * 100;
457
- }
458
- function Ut(e) {
459
- return R.value.width * (Ht(e) / 100);
460
- }
461
- function Wt(e) {
462
- let t = Math.min(1, Math.max(0, e / Math.max(1, R.value.width)));
463
- return C(Number(S.min) + Vt.value * t);
464
- }
465
- function Gt(e) {
466
- let t = S.useValueRange ? e?.y : e;
467
- return n(t) ? Number(t) : null;
468
- }
469
- function Kt(e, t) {
470
- return S.useValueRange ? Number(e?.x) : t + Number(S.min);
471
- }
472
- function qt(e, t) {
473
- return S.useValueRange ? Ut(Kt(e, t)) : V.value * t + (S.minimapCompact ? 0 : V.value / 2);
474
- }
475
- let Jt = f(() => Math.min(40, Math.max(20, S.handleWidth))), Yt = v(0), Xt = u((e) => F("futureStart", e), 0), Zt = u((e) => F("futureEnd", e), 0), j = f(() => S.precision > 0 ? 1 / 10 ** S.precision : 1), M = f({
476
- get: () => T.value,
477
- set(e) {
478
- let t = Math.min(Number(e), Number(E.value) - j.value);
479
- t !== T.value && (T.value = t, K.value && (K.value.value = String(t)), S.immediate ? F("update:start", Number(t)) : O.value && Xt(t));
480
- }
481
- }), N = f({
482
- get: () => E.value,
483
- set(e) {
484
- let t = Math.max(Number(e), Number(T.value) + j.value);
485
- t !== E.value && (E.value = t, q.value && (q.value.value = String(t)), S.immediate ? F("update:end", Number(t)) : O.value && Zt(t));
486
- }
487
- });
488
- function P() {
489
- clearTimeout(null), S.immediate || (F("update:start", Number(T.value)), F("update:end", Number(E.value))), O.value = !1;
490
- }
491
- let Qt = f(() => S.refreshEndPoint === null ? S.max : S.refreshEndPoint), F = kt, $t = f(() => {
492
- if (S.useValueRange) return Ht(T.value);
493
- if (k.value) {
494
- let e = Math.max(1, z.value - 1);
495
- return Fn.value / e * 100;
496
- }
497
- let e = Math.max(1, S.max - S.min);
498
- return (T.value - S.min) / e * 100;
499
- }), en = f(() => {
500
- if (S.useValueRange) return Ht(E.value);
501
- if (k.value) {
502
- let e = Math.max(1, z.value - 1);
503
- return In.value / e * 100;
504
- }
505
- let e = Math.max(1, S.max - S.min);
506
- return (E.value - S.min) / e * 100;
507
- }), tn = f(() => ($t.value + en.value) / 2), nn = f(() => {
508
- if (!w.value) return !1;
509
- let e = Math.max(1, S.max - S.min);
510
- return w.value.getBoundingClientRect().width * ((T.value - S.min) / e) - yr.value / 2 < 0;
511
- }), rn = f(() => {
512
- if (!w.value) return !1;
513
- let e = Math.max(1, S.max - S.min), t = w.value.getBoundingClientRect().width;
514
- return t * ((E.value - S.min) / e) + br.value / 2 > t;
515
- }), I = f(() => {
516
- let e = rn.value ? `calc(${tn.value}% - ${Dr.value.width}px)` : nn.value ? `calc(${tn.value}% - 8px)` : `calc(${tn.value}% - ${Dr.value.width / 2}px)`;
517
- return {
518
- left: `${$t.value}%`,
519
- width: `${Math.max(0, en.value - $t.value)}%`,
520
- background: S.selectColor,
521
- tooltipLeft: `calc(${$t.value}% - ${nn.value ? 9 : yr.value / 2}px)`,
522
- tooltipRight: `calc(${en.value}% - ${rn.value ? br.value - 9 : br.value / 2}px)`,
523
- tooltipCenter: e,
524
- arrowLeft: !nn.value,
525
- arrowRight: !rn.value
526
- };
527
- }), an = f(() => S.inputColor), on = f(() => S.background), sn = f(() => `${S.selectColor}33`), L = f(() => S.borderColor), cn = f(() => Number(S.max) > Number(S.min));
528
- function ln() {
529
- F("reset");
530
- }
531
- b(() => S.min, (e) => {
532
- Number(T.value) < Number(e) && (T.value = Number(e)), Number(E.value) < Number(e) && (E.value = Number(e));
533
- }), b(() => S.max, (e) => {
534
- Number(T.value) > Number(e) && (T.value = Number(e)), Number(E.value) > Number(e) && (E.value = Number(e));
535
- });
536
- let un = v(null), R = v({
537
- width: 1,
538
- height: 1
539
- }), dn = v(null);
540
- pe(() => {
541
- if (D.value) {
542
- let e = u(() => {
543
- if (!un.value) return;
544
- let { width: e, height: t } = re({ chart: un.value }), n = Math.max(0, Math.round(e)), r = Math.max(0, Math.round(t - 47));
545
- (n !== R.value.width || r !== R.value.height) && (R.value.width = n, R.value.height = r + S.additionalMinimapHeight);
546
- }, 0);
547
- dn.value = new ResizeObserver(e), dn.value.observe(un.value);
548
- }
549
- }), fe(() => {
550
- dn.value && dn.value.disconnect();
551
- });
552
- let z = f(() => Math.max(1, S.max - S.min));
553
- function fn(e) {
554
- let t = Math.floor(e - S.min);
555
- return Math.min(Math.max(0, t), z.value);
556
- }
557
- function pn(e) {
558
- let t = Math.ceil(e - S.min);
559
- return Math.min(Math.max(0, t), z.value);
560
- }
561
- let B = f(() => fn(T.value)), mn = f(() => pn(E.value)), hn = f(() => Math.max(...S.allMinimaps.map((e) => e.series.length))), gn = f(() => D.value && S.minimapCompact ? 40 : 0), _n = f(() => gn.value / 2);
562
- f(() => Math.max(1, R.value.width - _n.value * 2));
563
- let V = f(() => {
564
- if (S.minimapCompact && !S.useValueRange) return R.value.width / Math.max(1, z.value - 1);
565
- let e = Math.max(1, hn.value - +!!S.minimapCompact);
566
- return R.value.width / e;
567
- }), vn = f(() => S.allMinimaps.length ? S.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), yn = f(() => V.value / (vn.value || 1) * .8);
568
- function bn(e, t, n) {
569
- let r = yn.value, i = Math.max(1, vn.value), a = hn.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 xn(e, t) {
573
- return [0, hn.value - 1].includes(t) ? yn.value / 2 : yn.value;
574
- }
575
- let Sn = f(() => {
576
- let e = [];
577
- if (Array.isArray(S.minimap) && S.minimap.length && S.minimapMerged && e.push(...S.minimap.map(Gt).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.map(Gt).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
- }), Cn = f(() => {
586
- if (S.minScale == null && S.forceZeroCenter) return null;
587
- let e = Number(S.minScale);
588
- return Number.isFinite(e) ? e : null;
589
- }), wn = f(() => {
590
- if (S.maxScale == null && S.forceZeroCenter) return null;
591
- let e = Number(S.maxScale);
592
- return Number.isFinite(e) ? e : null;
593
- }), Tn = f(() => Cn.value !== null && wn.value !== null), En = f(() => {
594
- let { min: e, max: t } = Sn.value, n = Cn.value, r = wn.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
- }), Dn = f(() => En.value.min), On = f(() => En.value.max), kn = f(() => Dn.value < 0 && On.value > 0 || On.value <= 0 ? Dn.value : 0), An = (e) => {
600
- let t = Math.max(1, R.value.height);
601
- return Mn(Dn.value, On.value, t, Tn.value)(e);
602
- }, jn = f(() => An(0));
603
- function Mn(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 Nn(e, n = !1, s = !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 c = Math.max(1, R.value.height), ee = Mn(Dn.value, On.value, c, Tn.value), te = e.length, l = Math.min(Math.max(0, B.value), Math.max(0, te - 1)), ne = Math.min(te, Math.max(l + 1, mn.value)), u = e.map((e, t) => {
634
- let n = Gt(e), r = Number.isFinite(n), i = qt(e, t), a = Tn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, Dn.value, On.value) : 0, o = ee(a);
635
- return {
636
- x: i,
637
- y: r ? ee(n) : NaN,
638
- v: n,
639
- value: r ? n : null,
640
- y0: o,
641
- i: t,
642
- xValue: Kt(e, t)
643
- };
644
- }), re = (e) => e >= 0 && e < u.length && Number.isFinite(u[e]?.value), ie = u.filter((e) => Number.isFinite(e.value) && !re(e.i - 1) && !re(e.i + 1)), ae = S.useValueRange ? ie.filter((e) => e.xValue >= Number(T.value) && e.xValue <= Number(E.value)) : ie.filter((e) => e.i >= l && e.i < ne), d = S.useValueRange ? u.filter((e) => e.xValue >= Number(T.value) && e.xValue <= Number(E.value)) : u.slice(l, ne);
645
- return {
646
- fullSet: u.length >= 2 ? s ? a(S.cutNullValues ? u : u.filter((e) => e.value != null)) : S.smoothMinimap || n ? S.cutNullValues ? t(u) : r(u.filter((e) => e.value != null)) : S.cutNullValues ? o(u) : i(u.filter((e) => e.value != null)) : "",
647
- points: u,
648
- selectionSet: d.length >= 2 ? s ? a(S.cutNullValues ? d : d.filter((e) => e.value != null)) : S.smoothMinimap || n ? S.cutNullValues ? t(d) : r(d.filter((e) => e.value != null)) : S.cutNullValues ? o(d) : i(d.filter((e) => e.value != null)) : "",
649
- sliced: d,
650
- firstPlot: S.useValueRange ? d[0] || null : u[l] || null,
651
- lastPlot: S.useValueRange ? d[d.length - 1] || null : u[Math.max(0, ne - 1)] || null,
652
- hasFull: u.length >= 2,
653
- hasSelection: d.length >= 2,
654
- fullMarkers: ie,
655
- selectionMarkers: ae
656
- };
657
- }
658
- let H = f(() => S.minimap.length ? Nn(S.minimap) : []), U = f(() => S.allMinimaps.length ? S.allMinimaps.map((e, t) => {
659
- let n = Nn(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
- }) : []), W = f(() => {
671
- if (S.useValueRange) {
672
- let e = Ut(T.value), t = Ut(E.value);
673
- return {
674
- x: e,
675
- width: Math.max(0, t - e)
676
- };
677
- }
678
- let e = B.value, t = Math.max(e + 1, mn.value);
679
- return {
680
- x: V.value * e + (S.minimapCompact ? 0 : V.value / 2),
681
- width: V.value * (t - e) - V.value
682
- };
683
- }), G = v(S.minimapSelectedIndex), Pn = (e) => Math.round(S.min + e), Fn = f({
684
- get() {
685
- return k.value ? B.value : Number(M.value);
686
- },
687
- set(e) {
688
- if (k.value) {
689
- if (S.useValueRange) {
690
- let t = C(e);
691
- Kn(Math.min(Math.max(Number(S.min), t), Number(E.value) - j.value));
692
- return;
693
- }
694
- let t = Math.round(+e || 0);
695
- Kn(Pn(t));
696
- } else {
697
- let t = C(e), n = Number(E.value) - j.value, r = Math.min(Math.max(S.min, t), n);
698
- K.value && (K.value.valueAsNumber = r), Kn(r);
699
- }
700
- }
701
- }), In = f({
702
- get() {
703
- return k.value ? Math.max(B.value, mn.value - 1) : Number(N.value);
704
- },
705
- set(e) {
706
- if (k.value) {
707
- if (S.useValueRange) {
708
- let t = C(e);
709
- Jn(Math.max(Number(T.value) + j.value, Math.min(t, Number(S.max))));
710
- return;
711
- }
712
- let t = Math.round(+e || 0);
713
- Jn(Pn(t + 1));
714
- } else {
715
- let t = C(e), n = Number(T.value) + j.value, r = Math.max(n, Math.min(t, S.max));
716
- q.value && (q.value.valueAsNumber = r), Jn(r);
717
- }
718
- }
719
- }), Ln = 0;
720
- function Rn(e, t) {
721
- if (t === Ln) {
722
- if (S.useValueRange) {
723
- G.value = Number.isFinite(Number(e)) ? Ut(Number(e)) : null;
724
- return;
725
- }
726
- G.value = fn(S.valueStart) + e;
727
- }
728
- }
729
- let zn = ne(Rn, 60);
730
- b(() => S.minimapSelectedIndex, (e, t) => {
731
- if (Ln += 1, [null, void 0].includes(e)) {
732
- G.value = null;
733
- return;
734
- }
735
- e !== t && zn(e, Ln);
736
- }, { immediate: !0 });
737
- function Bn(e) {
738
- if (zt.value) return;
739
- G.value = e;
740
- let t = B.value, n = mn.value;
741
- e >= t && e < n && !Q.value && F("trapMouse", e - t);
742
- }
743
- function Vn(e) {
744
- let t = Wt(e), n = S.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 Hn(e) {
753
- if (!cn.value || zt.value) return;
754
- let t = Ur(e.clientX);
755
- if (S.useValueRange) {
756
- let e = Vn(t);
757
- if (!e) {
758
- Un();
759
- return;
760
- }
761
- G.value = Ut(e.x), F("trapMouse", e.index), F("trapMouseValue", e.x);
762
- return;
763
- }
764
- Bn(Wr(t));
765
- }
766
- function Un() {
767
- G.value = null, !zt.value && (F("trapMouse", null), F("trapMouseValue", null));
768
- }
769
- let K = v(null), q = v(null);
770
- function Wn(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 Gn = 0;
779
- function Kn(e) {
780
- O.value = !0;
781
- let t = Wn(e);
782
- Number.isFinite(t) && (cancelAnimationFrame(Gn), Gn = requestAnimationFrame(() => {
783
- M.value = t;
784
- }));
785
- }
786
- let qn = 0;
787
- function Jn(e) {
788
- O.value = !0;
789
- let t = Wn(e);
790
- Number.isFinite(t) && (cancelAnimationFrame(qn), qn = requestAnimationFrame(() => {
791
- N.value = t;
792
- }));
793
- }
794
- function Yn(e, t) {
795
- let n = Wn(e), r = Wn(t);
796
- if (!Number.isFinite(n) || !Number.isFinite(r)) return;
797
- cancelAnimationFrame(Gn), cancelAnimationFrame(qn);
798
- let i = Number(S.min), a = Number(S.max), o = j.value, s = C(Math.max(i, Math.min(n, a))), c = C(Math.max(i, Math.min(r, a)));
799
- s = Math.min(s, a - o), c = Math.max(c, s + o), c = Math.min(c, a), c <= s && (s = i, c = a), T.value = s, E.value = c, K.value && (K.value.value = String(s)), q.value && (q.value.value = String(c));
800
- }
801
- fe(() => {
802
- cancelAnimationFrame(Gn), cancelAnimationFrame(qn);
803
- });
804
- let Xn = f(() => S.valueEnd - S.valueStart), Zn = f(() => Xn.value < S.max - S.min), Qn = v(!1), $n = v(null), er = f(() => (Yt.value - 48) / (S.max - S.min) * Xn.value), tr = f(() => Math.max(1, Yt.value - Et - er.value)), nr = f(() => Math.max(1, S.max - S.min - Xn.value)), rr = f(() => nr.value / tr.value), ir = v(0), ar = v(0), or = v(0), sr = v(0), J = null, Y = null, X = null, Z = null, cr = v(S.min);
805
- function lr(e) {
806
- if (!w.value) return S.min;
807
- let t = w.value.getBoundingClientRect(), n = t.left + Et / 2, r = t.right - Et / 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);
808
- return Math.round(S.min + a * o);
809
- }
810
- let ur = async (e) => {
811
- if (O.value = !0, xr.value = !0, !S.enableSelectionDrag) return;
812
- let t = e.type === "touchstart";
813
- t || e.stopPropagation();
814
- let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
815
- 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;
816
- Qn.value = !0;
817
- let i = t ? n ? n.clientX : 0 : e.clientX;
818
- if ($n.value = i, ir.value = i, S.focusOnDrag && !Zn.value && w.value && !Rt.value) {
819
- Rt.value = !0;
820
- try {
821
- cr.value = lr(i);
822
- let e = Math.min(.95, Math.max(.05, S.focusRangeRatio)), t = Number(S.max) - Number(S.min), n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), a = cr.value - r;
823
- a = Math.max(Number(S.min), Math.min(a, Number(S.max) - n));
824
- let o = Math.min(Number(S.max), a + n);
825
- M.value = a, N.value = o, Xt(a), Zt(o), c(w.value, "mouseup"), await le(), c(w.value, "mousedown", { clientX: i });
826
- } finally {
827
- Rt.value = !1;
828
- }
829
- return;
830
- }
831
- ar.value = T.value, or.value = E.value, sr.value = rr.value, J = t ? "touchmove" : "mousemove", Y = t ? "touchend" : "mouseup", X = t ? fr : dr, Z = t ? hr : mr, window.addEventListener(J, X, { passive: !1 }), window.addEventListener(Y, Z);
832
- };
833
- function dr(e) {
834
- Qn.value && pr(e.clientX);
835
- }
836
- function fr(e) {
837
- if (!Qn.value || !w.value) return;
838
- let t = e.target;
839
- if (!(t instanceof Element) || !w.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
840
- e.preventDefault();
841
- let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
842
- n && pr(n.clientX);
843
- }
844
- function pr(e) {
845
- if (!Qn.value) return;
846
- let t = lr(ir.value), n = lr(e) - t, r = Math.round(ar.value + n);
847
- r = Math.max(S.min, Math.min(r, S.max - Xn.value));
848
- let i = r + Xn.value;
849
- M.value = r, N.value = i, Xt(r), Zt(i);
850
- }
851
- function mr() {
852
- gr();
853
- }
854
- function hr() {
855
- gr();
856
- }
857
- function gr() {
858
- Qn.value = !1, J && X && window.removeEventListener(J, X), Y && Z && window.removeEventListener(Y, Z), J = Y = null, X = Z = null, P();
859
- }
860
- let Q = v(!1), _r = v(null), vr = v(null), yr = v(1), br = v(1), xr = v(!1);
861
- function Sr() {
862
- if (_r.value) {
863
- let e = Math.round(_r.value.getBoundingClientRect().width);
864
- e !== yr.value && (yr.value = e);
865
- }
866
- }
867
- function Cr() {
868
- if (vr.value) {
869
- let e = Math.round(vr.value.getBoundingClientRect().width);
870
- e !== br.value && (br.value = e);
871
- }
872
- }
873
- me(() => {
874
- Sr(), Cr();
875
- });
876
- let wr = v(0);
877
- function Tr(e) {
878
- wr.value = +(e === "start");
879
- }
880
- let Er = v(!1), Dr = v({
881
- width: 0,
882
- left: 0
883
- });
884
- b([T, E], async () => {
885
- if (await le(), !_r.value || !vr.value) {
886
- Er.value = !1, Dr.value = {
887
- width: 0,
888
- left: 0
889
- };
890
- return;
891
- }
892
- let e = _r.value.getBoundingClientRect(), t = vr.value.getBoundingClientRect();
893
- Er.value = e.x + e.width > t.x;
894
- let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width, a = (n + r) / 2;
895
- Dr.value = {
896
- width: i,
897
- left: a - i / 2
898
- };
899
- }), me(() => {
900
- Sr(), Cr();
901
- }), b(() => S.labelLeft, () => {
902
- le(Sr);
903
- }, { deep: !0 }), b(() => S.labelRight, () => {
904
- le(Cr);
905
- }, { deep: !0 });
906
- let $ = f(() => {
907
- let t = "", n = "", r = !1;
908
- if (e(S.customFormat)) try {
909
- let e = S.customFormat({
910
- absoluteIndex: T.value,
911
- seriesIndex: T.value,
912
- datapoint: S.selectedSeries,
913
- timeLabel: S.preciseLabels[T.value],
914
- side: "left"
915
- }), i = S.customFormat({
916
- absoluteIndex: Bt.value,
917
- seriesIndex: -1,
918
- datapoint: S.selectedSeries,
919
- timeLabel: S.useValueRange ? null : S.preciseLabels[Bt.value],
920
- side: "right"
921
- });
922
- typeof e == "string" && typeof i == "string" && (t = e, n = i, r = !0);
923
- } catch {
924
- r = !1;
925
- }
926
- if (!r) {
927
- let e = S.useValueRange ? { text: String(Math.round(T.value * 1e3) / 1e3) } : S.usePreciseLabels ? S.preciseLabels.find((e) => e.absoluteIndex === T.value) : S.timeLabels.find((e) => e.absoluteIndex === T.value), r = S.useValueRange ? { text: String(Math.round(E.value * 1e3) / 1e3) } : S.usePreciseLabels ? S.preciseLabels.find((e) => e.absoluteIndex === Bt.value) : S.timeLabels.find((e) => e.absoluteIndex === Bt.value);
928
- t = e ? e.text : "", n = r ? r.text : "";
929
- }
930
- return {
931
- left: t,
932
- right: n
933
- };
934
- });
935
- fe(() => {
936
- dn.value && dn.value.disconnect(), J && X && window.removeEventListener(J, X), Y && Z && window.removeEventListener(Y, Z), J = Y = null, X = Z = null, clearTimeout(null);
937
- });
938
- let Or = f(() => {
939
- if (!cn.value || G.value === null) return null;
940
- if (S.useValueRange) {
941
- let e = G.value;
942
- return e < W.value.x || e > W.value.x + W.value.width ? null : {
943
- x1: e,
944
- x2: e,
945
- y1: 0,
946
- y2: Math.max(R.value.height, 0),
947
- stroke: S.minimapIndicatorColor,
948
- "stroke-linecap": "round",
949
- "stroke-dasharray": 2,
950
- "stroke-width": 1
951
- };
952
- }
953
- if (G.value >= B.value && G.value < mn.value) {
954
- let e = G.value, t = V.value * e + (S.minimapCompact ? 0 : V.value / 2);
955
- return {
956
- x1: t,
957
- x2: t,
958
- y1: 0,
959
- y2: Math.max(R.value.height, 0),
960
- stroke: S.minimapIndicatorColor,
961
- "stroke-linecap": "round",
962
- "stroke-dasharray": 2,
963
- "stroke-width": 1
964
- };
965
- }
966
- return null;
967
- }), kr = f(() => Number(T.value) < Number(E.value) - 1), Ar = f(() => Number(T.value) > Number(S.min)), jr = f(() => Number(E.value) < Number(S.max)), Mr = f(() => Number(E.value) > Number(T.value) + 1);
968
- function Nr(e) {
969
- let t = Number(T.value) + e;
970
- e > 0 && !kr.value || e < 0 && !Ar.value || (O.value = !0, M.value = t, P());
971
- }
972
- function Pr(e) {
973
- let t = Number(E.value) + e;
974
- e > 0 && !jr.value || e < 0 && !Mr.value || (O.value = !0, N.value = t, P());
975
- }
976
- let Fr = {
977
- plus: () => Nr(1),
978
- minus: () => Nr(-1),
979
- canPlus: kr,
980
- canMinus: Ar
981
- }, Ir = {
982
- plus: () => Pr(1),
983
- minus: () => Pr(-1),
984
- canPlus: jr,
985
- canMinus: Mr
986
- };
987
- function Lr(e) {
988
- if (!e || Rr(e.target)) return;
989
- let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
990
- (n || r) && (e.preventDefault(), e.stopPropagation(), r ? (Fr.plus(), Ir.plus()) : (Fr.minus(), Ir.minus()));
991
- }
992
- function Rr(e) {
993
- return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
994
- }
995
- function zr(e) {
996
- if (!D.value || !S.minimapCompact) return;
997
- let t = w.value;
998
- if (!t) return;
999
- let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
1000
- r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
1001
- }
1002
- function Br(e, t) {
1003
- if (!t || Rr(t.target)) return;
1004
- let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
1005
- (r || i) && (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Fr.plus() : Fr.minus() : i ? Ir.plus() : Ir.minus(), le(() => zr(e)));
1006
- }
1007
- let Vr = f(() => ({
1008
- tabindex: 0,
1009
- role: "slider",
1010
- "aria-label": "Range start",
1011
- "aria-valuemin": Number(S.min),
1012
- "aria-valuemax": Math.max(Number(S.min), Number(E.value) - 1),
1013
- "aria-valuenow": Number(T.value)
1014
- })), Hr = f(() => ({
1015
- tabindex: 0,
1016
- role: "slider",
1017
- "aria-label": "Range end",
1018
- "aria-valuemin": Math.min(Number(S.max), Number(T.value) + 1),
1019
- "aria-valuemax": Number(S.max),
1020
- "aria-valuenow": Number(E.value)
1021
- }));
1022
- function Ur(e) {
1023
- if (!Lt.value) return 0;
1024
- let t = Lt.value.getBoundingClientRect();
1025
- if (!t.width) return 0;
1026
- let n = (e - t.left) / t.width;
1027
- return Math.min(1, Math.max(0, n)) * R.value.width;
1028
- }
1029
- function Wr(e) {
1030
- let t = Math.max(0, z.value - 1), n = Math.max(1, R.value.width), r = Math.min(1, Math.max(0, e / n));
1031
- return Math.min(t, Math.max(0, Math.round(r * t)));
1032
- }
1033
- function Gr(e, t) {
1034
- let n = Math.min(Math.max(0, t), Math.max(1, R.value.width));
1035
- if (S.useValueRange) {
1036
- let t = Wt(n);
1037
- if (e === "start") {
1038
- let e = Math.min(t, Number(E.value) - j.value);
1039
- M.value = e, Xt(e);
1040
- return;
1041
- }
1042
- if (e === "end") {
1043
- let e = Math.max(Number(T.value) + j.value, t), n = Math.min(Number(S.max), e);
1044
- N.value = n, Zt(n);
1045
- return;
1046
- }
1047
- }
1048
- let r = Wr(n);
1049
- if (e === "start") {
1050
- let e = Math.min(S.min + r, Number(E.value) - 1);
1051
- M.value = e, Xt(e);
1052
- return;
1053
- }
1054
- if (e === "end") {
1055
- let e = Math.max(Number(T.value) + 1, S.min + r + 1), t = Math.min(S.max, e);
1056
- N.value = t, Zt(t);
1057
- }
1058
- }
1059
- function Kr(e = !1) {
1060
- let t = Pt.value;
1061
- Nt.value = null, A.value = null, Pt.value = !1, Ft.value = 0, It.value = 0, e && t && P();
1062
- }
1063
- function qr(e, t) {
1064
- if (Nt.value !== e || A.value !== t.pointerId || !un.value) return;
1065
- if (t.pointerType === "mouse" && !(t.buttons & 1)) {
1066
- Kr(!0);
1067
- return;
1068
- }
1069
- t.preventDefault();
1070
- let n = t.clientX - Ft.value;
1071
- if (!Pt.value) {
1072
- if (Math.abs(n) < 4) return;
1073
- Pt.value = !0, O.value = !0, xr.value = !0;
1074
- }
1075
- let r = Ur(t.clientX) - It.value;
1076
- Gr(e, e === "start" ? r + Jt.value : r);
1077
- }
1078
- function Jr(e, t) {
1079
- if (Nt.value !== e || A.value !== t.pointerId) return;
1080
- let n = t.currentTarget, r = t.pointerId;
1081
- Kr(!0), n?.hasPointerCapture?.(r) && n.releasePointerCapture(r);
1082
- }
1083
- function Yr(e, t) {
1084
- Nt.value === e && A.value === t.pointerId && Kr(!0);
1085
- }
1086
- function Xr(e, t) {
1087
- if (!D.value || !S.minimapCompact || !un.value || t.pointerType === "mouse" && t.button !== 0 || A.value !== null) return;
1088
- t.preventDefault(), t.stopPropagation(), G.value = null;
1089
- let n = Ur(t.clientX), r = e === "start" ? W.value.x - Jt.value : W.value.x + W.value.width;
1090
- Nt.value = e, A.value = t.pointerId, Pt.value = !1, Ft.value = t.clientX, It.value = n - r, t.currentTarget?.setPointerCapture?.(t.pointerId);
1091
- }
1092
- b(k, (e) => {
1093
- !e && A.value !== null && Kr(!0);
1094
- });
1095
- let Zr = f(() => B.value), Qr = f(() => Math.max(B.value, mn.value - 1));
1096
- f(() => {
1097
- if (!D.value || !S.minimapCompact || !S.allMinimaps.length) return [];
1098
- let e = Zr.value, t = Qr.value;
1099
- return U.value.flatMap((n) => {
1100
- if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
1101
- let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
1102
- return i && r.push({
1103
- key: `${n.key}-left-${i.i}`,
1104
- x: i.x,
1105
- y: i.y,
1106
- color: n.color
1107
- }), a && t !== e && r.push({
1108
- key: `${n.key}-right-${a.i}`,
1109
- x: a.x,
1110
- y: a.y,
1111
- color: n.color
1112
- }), r;
1113
- });
1114
- });
1115
- let $r = f(() => Math.min(40, Math.max(20, S.handleWidth))), ei = f(() => Math.max(Dt, $r.value)), ti = f(() => Math.max(Dt, Number(R.value.height) || 0)), ni = f(() => (R.value.height - ti.value) / 2), ri = f(() => W.value.x), ii = f(() => W.value.x + W.value.width);
1116
- return Ot({
1117
- setStartValue: Kn,
1118
- setEndValue: Jn,
1119
- setRangeValues: Yn
1120
- }), (e, t) => (_(), m("div", {
1121
- "data-minimap": D.value,
1122
- "data-dom-to-png-ignore": "",
1123
- "data-dom-to-png-ignore-layout": "",
1124
- class: "vue-data-ui-zoom",
1125
- ref_key: "zoomWrapper",
1126
- ref: w,
1127
- onMousedown: ur,
1128
- onTouchstart: ur,
1129
- style: g(jt.value)
1130
- }, [h("div", Ce, [l.valueStart !== l.refreshStartPoint || l.valueEnd !== Qt.value ? (_(), m("div", we, [he(e.$slots, "reset-action", { reset: ln }, () => [h("button", {
1131
- tabindex: "0",
1132
- role: "button",
1133
- class: "vue-data-ui-refresh-button",
1134
- style: g({
1135
- top: D.value ? "36px" : "-16px",
1136
- cursor: l.isCursorPointer ? "pointer" : "default"
1137
- }),
1138
- onClick: ln
1139
- }, [oe(ie, {
1140
- name: "refresh",
1141
- stroke: l.textColor
1142
- }, null, 8, ["stroke"])], 4)], !0)])) : p("", !0)]), h("div", {
1143
- class: "double-range-slider",
1144
- ref_key: "minimapWrapper",
1145
- ref: un,
1146
- style: g([{ "z-index": "0" }, D.value ? {
1147
- "--minimap-unit-px": V.value + "px",
1148
- "--minimap-offset-px": (l.minimapCompact ? 0 : V.value / 2) + "px"
1149
- } : void 0]),
1150
- onMouseenter: t[26] ||= (e) => xr.value = !0,
1151
- onMouseleave: t[27] ||= (e) => xr.value = !1
1152
- }, [
1153
- D.value ? (_(), m("div", Te, [(_(), m("svg", {
1154
- ref_key: "minimapSvg",
1155
- ref: Lt,
1156
- key: `mm-${l.minimapMerged ? "merged" : "split"}-${l.minimapCompact ? "compact" : "normal"}`,
1157
- xmlns: _e(te),
1158
- viewBox: `0 0 ${Math.max(0, R.value.width)} ${Math.max(0, R.value.height)}`,
1159
- preserveAspectRatio: "none"
1160
- }, [
1161
- h("defs", null, [oe(ae, {
1162
- t: "linear",
1163
- id: Mt.value,
1164
- x1: "0%",
1165
- y1: "0%",
1166
- x2: "0%",
1167
- y2: "100%",
1168
- stops: [[
1169
- "0%",
1170
- l.minimapLineColor,
1171
- .31
1172
- ], [
1173
- "100%",
1174
- "transparent",
1175
- 0
1176
- ]]
1177
- }, null, 8, ["id", "stops"]), h("clipPath", { id: `selection_clip_${Mt.value}` }, [h("rect", {
1178
- x: W.value.x,
1179
- y: "0",
1180
- width: Math.max(0, W.value.width),
1181
- height: Math.max(R.value.height, 0)
1182
- }, null, 8, Oe)], 8, De)]),
1183
- l.minimapCompact ? (_(), m("rect", {
1184
- key: 0,
1185
- class: "vue-ui-zoom-minimap-frame",
1186
- x: 0,
1187
- y: 0,
1188
- width: R.value.width,
1189
- height: R.value.height,
1190
- fill: "none",
1191
- stroke: l.minimapFrameColor,
1192
- rx: 3
1193
- }, null, 8, ke)) : p("", !0),
1194
- e.$slots.slotMap ? p("", !0) : (_(), m(d, { key: 1 }, [l.minimapMerged ? (_(), m("path", {
1195
- key: 0,
1196
- d: `M${H.value.fullSet}`,
1197
- stroke: `${l.minimapLineColor}`,
1198
- fill: "none",
1199
- "stroke-width": "1",
1200
- "stroke-linecap": "round",
1201
- "stroke-linejoin": "round",
1202
- style: { opacity: "0.6" }
1203
- }, null, 8, Ae)) : p("", !0), l.minimapMerged && !l.minimapCompact ? (_(), m("path", {
1204
- key: 1,
1205
- d: `M${V.value / 2},${Math.max(R.value.height, 0)} ${H.value.fullSet} L${R.value.width - V.value / 2},${Math.max(R.value.height, 0)}Z`,
1206
- fill: `url(#${Mt.value})`,
1207
- stroke: "none",
1208
- style: { opacity: "0.6" }
1209
- }, null, 8, je)) : l.minimapMerged ? p("", !0) : (_(), m(d, { key: 2 }, [
1210
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), m("g", null, [(_(!0), m(d, null, y(e.points, (n, r) => (_(), m(d, null, [e && !isNaN(n.y) ? (_(), m("rect", {
1211
- key: 0,
1212
- x: bn(n.x, t, r),
1213
- y: n.v >= 0 ? n.y : n.y0,
1214
- width: xn(t, r),
1215
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1216
- fill: e.color,
1217
- style: { opacity: .6 }
1218
- }, null, 8, Me)) : p("", !0)], 64))), 256))]))), 256)),
1219
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "line"), (e) => (_(), m("g", null, [e.isVisible ? (_(), m("path", {
1220
- key: 0,
1221
- d: `M ${e.fullSet}`,
1222
- fill: "none",
1223
- stroke: e.color,
1224
- style: { opacity: "0.6" },
1225
- "stroke-dasharray": e.dashed ? "2 4" : 0
1226
- }, null, 8, Ne)) : p("", !0), e.isVisible && l.cutNullValues ? (_(!0), m(d, { key: 1 }, y(e.fullMarkers, (t) => (_(), m("circle", {
1227
- key: `sel-dot-under-${e.key}-${t.i}`,
1228
- cx: t.x,
1229
- cy: t.y,
1230
- r: "2",
1231
- fill: e.color,
1232
- stroke: L.value,
1233
- "stroke-width": "0.5",
1234
- style: { opacity: "0.6" }
1235
- }, null, 8, Pe))), 128)) : p("", !0)]))), 256)),
1236
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), m("g", null, [(_(!0), m(d, null, y(e.points, (t) => (_(), m("g", null, [e.isVisible && t.value !== null ? (_(), m("circle", {
1237
- key: `sel-plot-under-${e.key}-${t.i}`,
1238
- cx: t.x,
1239
- cy: t.y,
1240
- r: "2",
1241
- fill: e.color,
1242
- stroke: L.value,
1243
- "stroke-width": "0.5",
1244
- style: { opacity: "0.6" }
1245
- }, null, 8, Fe)) : p("", !0)]))), 256))]))), 256))
1246
- ], 64))], 64)),
1247
- h("rect", {
1248
- x: W.value.x,
1249
- y: 0,
1250
- width: Math.max(0, W.value.width),
1251
- height: Math.max(R.value.height, 0),
1252
- fill: L.value,
1253
- rx: l.minimapSelectionRadius,
1254
- stroke: "none"
1255
- }, null, 8, Ie),
1256
- h("rect", {
1257
- x: W.value.x,
1258
- y: 0,
1259
- width: W.value.width < 0 ? 0 : W.value.width,
1260
- height: Math.max(R.value.height, 0),
1261
- rx: l.minimapSelectionRadius,
1262
- fill: L.value,
1263
- style: g({ opacity: Qn.value || O.value ? 0 : 1 })
1264
- }, null, 12, Le),
1265
- h("rect", {
1266
- x: W.value.x,
1267
- y: 0,
1268
- width: W.value.width < 0 ? 0 : W.value.width,
1269
- height: Math.max(R.value.height, 0),
1270
- fill: l.minimapSelectedColor,
1271
- rx: l.minimapSelectionRadius,
1272
- style: g({ opacity: l.minimapSelectedColorOpacity }),
1273
- tabindex: "0",
1274
- role: "slider",
1275
- "aria-label": "Selected range",
1276
- "aria-valuemin": Number(S.min),
1277
- "aria-valuemax": Number(S.max),
1278
- "aria-valuenow": Number(T.value),
1279
- "aria-valuetext": $.value.left && $.value.right ? `${$.value.left} – ${$.value.right}` : void 0,
1280
- onKeydown: Lr
1281
- }, null, 44, Re),
1282
- !l.minimapMerged && kn.value < 0 ? (_(), m("line", {
1283
- key: 2,
1284
- class: "slicer-minimap-zero-line",
1285
- x1: 0,
1286
- x2: R.value.width,
1287
- y1: jn.value,
1288
- y2: jn.value,
1289
- stroke: l.minimapFrameColor,
1290
- "stroke-width": "0.5"
1291
- }, null, 8, ze)) : p("", !0),
1292
- e.$slots.slotMap ? p("", !0) : (_(), m(d, { key: 3 }, [l.minimapMerged ? (_(), m("g", Be, [
1293
- H.value && H.value.sliced && H.value.sliced.length ? (_(), m(d, { key: 0 }, [H.value.selectionSet ? (_(), m("path", {
1294
- key: 0,
1295
- d: `M ${H.value.selectionSet}`,
1296
- stroke: `${l.minimapLineColor}`,
1297
- fill: "transparent",
1298
- "stroke-width": "2",
1299
- "stroke-linecap": "round",
1300
- "stroke-linejoin": "round"
1301
- }, null, 8, Ve)) : p("", !0)], 64)) : p("", !0),
1302
- H.value && H.value.firstPlot ? (_(), m("circle", {
1303
- key: 1,
1304
- cx: H.value.firstPlot.x,
1305
- cy: H.value.firstPlot.y,
1306
- "stroke-width": "0.5",
1307
- stroke: L.value,
1308
- r: "3",
1309
- fill: l.minimapLineColor
1310
- }, null, 8, He)) : p("", !0),
1311
- H.value && H.value.lastPlot ? (_(), m("circle", {
1312
- key: 2,
1313
- cx: H.value.lastPlot.x,
1314
- cy: H.value.lastPlot.y,
1315
- "stroke-width": "0.5",
1316
- stroke: L.value,
1317
- r: "3",
1318
- fill: l.minimapLineColor
1319
- }, null, 8, Ue)) : p("", !0)
1320
- ])) : (_(), m("g", We, [
1321
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), m("g", null, [(_(!0), m(d, null, y(e.points, (n, r) => (_(), m(d, null, [e && !isNaN(n.y) ? (_(), m("rect", {
1322
- key: 0,
1323
- x: bn(n.x, t, r),
1324
- y: n.v >= 0 ? n.y : n.y0,
1325
- width: xn(t, r),
1326
- height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
1327
- fill: e.color,
1328
- style: g({ opacity: +(r >= M.value && r < N.value) })
1329
- }, null, 12, Ge)) : p("", !0)], 64))), 256))]))), 256)),
1330
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), m("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), m("path", {
1331
- key: 0,
1332
- d: `M ${e.selectionSet}`,
1333
- stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${l.uuid})` : e.color,
1334
- fill: "transparent",
1335
- "stroke-width": "2",
1336
- "stroke-linecap": "round",
1337
- "stroke-linejoin": "round",
1338
- "stroke-dasharray": e.dashed ? "2 4" : 0
1339
- }, null, 8, Ke)) : p("", !0)]))), 128)),
1340
- (_(!0), m(d, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), m("g", { key: String(e.key) }, [(_(!0), m(d, null, y(e.sliced, (t) => (_(), m("g", null, [e.isVisible && t.value !== null ? (_(), m("circle", {
1341
- key: 0,
1342
- cx: t.x,
1343
- cy: t.y,
1344
- r: "2",
1345
- fill: e.color,
1346
- stroke: L.value,
1347
- "stroke-width": "0.5",
1348
- style: { opacity: "0.6" }
1349
- }, null, 8, qe)) : p("", !0)]))), 256))]))), 128))
1350
- ]))], 64)),
1351
- e.$slots.slotMap ? he(e.$slots, "slotMap", de(se({
1352
- width: Math.max(0, R.value.width),
1353
- height: Math.max(0, R.value.height),
1354
- zeroY: jn.value,
1355
- unitW: Math.max(0, V.value)
1356
- })), void 0, !0, 4) : p("", !0),
1357
- G.value !== null && !Q.value ? (_(), m("line", de(ce({ key: 5 }, Or.value)), null, 16)) : p("", !0),
1358
- h("rect", {
1359
- x: 0,
1360
- y: 0,
1361
- width: Math.max(0, R.value.width),
1362
- height: Math.max(0, R.value.height),
1363
- fill: "transparent",
1364
- style: g([{ "pointer-events": "all !important" }, { cursor: l.enableSelectionDrag ? Q.value ? "grabbing" : "grab" : "default" }]),
1365
- onMousedown: t[0] ||= (e) => Q.value = !0,
1366
- onMouseup: t[1] ||= (e) => Q.value = !1,
1367
- onMousemove: Hn,
1368
- onMouseleave: Un
1369
- }, null, 44, Je),
1370
- D.value && l.minimapCompact ? (_(), m(d, { key: 6 }, [h("g", ce({
1371
- class: "vue-ui-zoom-compact-minimap-handle",
1372
- transform: `translate(${ri.value}, 0)`
1373
- }, Vr.value, {
1374
- onKeydown: t[2] ||= (e) => Br("start", e),
1375
- onPointerdown: t[3] ||= x((e) => Xr("start", e), ["stop", "prevent"]),
1376
- onPointermove: t[4] ||= x((e) => qr("start", e), ["stop", "prevent"]),
1377
- onPointerup: t[5] ||= x((e) => Jr("start", e), ["stop", "prevent"]),
1378
- onPointercancel: t[6] ||= x((e) => Jr("start", e), ["stop", "prevent"]),
1379
- onLostpointercapture: t[7] ||= (e) => Yr("start", e),
1380
- onClick: t[8] ||= x(() => {}, ["stop", "prevent"])
1381
- }), [
1382
- h("rect", {
1383
- class: "vue-ui-zoom-compact-minimap-handle-hit",
1384
- x: -ei.value,
1385
- y: ni.value,
1386
- width: ei.value,
1387
- height: ti.value,
1388
- fill: "transparent"
1389
- }, null, 8, Xe),
1390
- h("rect", {
1391
- class: "vue-ui-zoom-compact-minimap-handle-visual",
1392
- x: -$r.value,
1393
- y: 0,
1394
- width: $r.value,
1395
- height: R.value.height,
1396
- fill: l.handleFill || L.value,
1397
- stroke: l.handleBorderColor || l.textColor,
1398
- "stroke-width": l.handleBorderWidth,
1399
- rx: 3
1400
- }, null, 8, Ze),
1401
- l.handleType && l.handleType !== "empty" ? (_(), m("g", {
1402
- key: 0,
1403
- class: "compact-handle-icon",
1404
- transform: `translate(${-$r.value}, 0)`,
1405
- style: { "pointer-events": "none" }
1406
- }, [(_(), m("svg", {
1407
- width: $r.value,
1408
- height: R.value.height,
1409
- viewBox: "0 0 20 20",
1410
- preserveAspectRatio: "xMidYMid meet"
1411
- }, [l.handleType === "arrow" ? (_(), m("path", {
1412
- key: 0,
1413
- 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",
1414
- fill: L.value,
1415
- stroke: l.handleIconColor || l.textColor,
1416
- "stroke-width": .618,
1417
- "stroke-linejoin": "round",
1418
- "stroke-linecap": "round"
1419
- }, null, 8, et)) : l.handleType === "chevron" ? (_(), m("path", {
1420
- key: 1,
1421
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1422
- fill: "none",
1423
- stroke: l.handleIconColor || l.textColor,
1424
- "stroke-width": .618,
1425
- "stroke-linejoin": "round",
1426
- "stroke-linecap": "round"
1427
- }, null, 8, tt)) : l.handleType === "grab" ? (_(), m("path", {
1428
- key: 2,
1429
- 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",
1430
- fill: l.handleIconColor || l.textColor,
1431
- stroke: "none",
1432
- opacity: "0.6"
1433
- }, null, 8, nt)) : p("", !0)], 8, $e))], 8, Qe)) : p("", !0)
1434
- ], 16, Ye), h("g", ce({
1435
- class: "vue-ui-zoom-compact-minimap-handle",
1436
- transform: `translate(${ii.value}, 0)`
1437
- }, Hr.value, {
1438
- onKeydown: t[9] ||= (e) => Br("end", e),
1439
- onPointerdown: t[10] ||= x((e) => Xr("end", e), ["stop", "prevent"]),
1440
- onPointermove: t[11] ||= x((e) => qr("end", e), ["stop", "prevent"]),
1441
- onPointerup: t[12] ||= x((e) => Jr("end", e), ["stop", "prevent"]),
1442
- onPointercancel: t[13] ||= x((e) => Jr("end", e), ["stop", "prevent"]),
1443
- onLostpointercapture: t[14] ||= (e) => Yr("end", e),
1444
- onClick: t[15] ||= x(() => {}, ["stop", "prevent"])
1445
- }), [
1446
- h("rect", {
1447
- class: "vue-ui-zoom-compact-minimap-handle-hit",
1448
- x: 0,
1449
- y: ni.value,
1450
- width: ei.value,
1451
- height: ti.value,
1452
- fill: "transparent"
1453
- }, null, 8, it),
1454
- h("rect", {
1455
- class: "vue-ui-zoom-compact-minimap-handle-visual",
1456
- x: 0,
1457
- y: 0,
1458
- width: $r.value,
1459
- height: R.value.height,
1460
- fill: l.handleFill || L.value,
1461
- stroke: l.handleBorderColor || l.textColor,
1462
- "stroke-width": l.handleBorderWidth,
1463
- rx: 3
1464
- }, null, 8, at),
1465
- l.handleType && l.handleType !== "empty" ? (_(), m("g", ot, [(_(), m("svg", {
1466
- width: $r.value,
1467
- height: R.value.height,
1468
- viewBox: "0 0 20 20",
1469
- preserveAspectRatio: "xMidYMid meet"
1470
- }, [l.handleType === "arrow" ? (_(), m("path", {
1471
- key: 0,
1472
- 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",
1473
- fill: L.value,
1474
- stroke: l.handleIconColor || l.textColor,
1475
- "stroke-width": .618,
1476
- "stroke-linejoin": "round",
1477
- "stroke-linecap": "round"
1478
- }, null, 8, ct)) : l.handleType === "chevron" ? (_(), m("path", {
1479
- key: 1,
1480
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
1481
- fill: "none",
1482
- stroke: l.handleIconColor || l.textColor,
1483
- "stroke-width": .618,
1484
- "stroke-linejoin": "round",
1485
- "stroke-linecap": "round"
1486
- }, null, 8, lt)) : l.handleType === "grab" ? (_(), m("path", {
1487
- key: 2,
1488
- 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",
1489
- fill: l.handleIconColor || l.textColor,
1490
- stroke: "none",
1491
- opacity: "0.6"
1492
- }, null, 8, ut)) : p("", !0)], 8, st))])) : p("", !0)
1493
- ], 16, rt)], 64)) : p("", !0),
1494
- e.$slots.slotMap ? p("", !0) : (_(), m(d, { key: 7 }, [l.minimapMerged ? (_(), m("g", dt, [
1495
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), m("circle", {
1496
- key: 0,
1497
- cx: H.value.firstPlot.x,
1498
- cy: H.value.firstPlot.y,
1499
- "stroke-width": "0.5",
1500
- stroke: L.value,
1501
- r: "4",
1502
- fill: l.minimapLineColor
1503
- }, null, 8, ft)) : p("", !0),
1504
- H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), m("circle", {
1505
- key: 1,
1506
- cx: H.value.firstPlot.x,
1507
- cy: H.value.firstPlot.y,
1508
- r: 2,
1509
- fill: L.value
1510
- }, null, 8, pt)) : p("", !0),
1511
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), m("circle", {
1512
- key: 2,
1513
- cx: H.value.lastPlot.x,
1514
- cy: H.value.lastPlot.y,
1515
- "stroke-width": "0.5",
1516
- stroke: L.value,
1517
- r: "4",
1518
- fill: l.minimapLineColor
1519
- }, null, 8, mt)) : p("", !0),
1520
- H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), m("circle", {
1521
- key: 3,
1522
- cx: H.value.lastPlot.x,
1523
- cy: H.value.lastPlot.y,
1524
- r: "2",
1525
- fill: L.value
1526
- }, null, 8, ht)) : p("", !0)
1527
- ])) : (_(), m("g", gt, [(_(!0), m(d, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), m("g", { key: String(e.key) }, [
1528
- e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), m("path", {
1529
- key: 0,
1530
- d: `M ${e.selectionSet}`,
1531
- stroke: e.temperatureColors ? `url(#temperature_grad_line_${t}_${l.uuid})` : e.color,
1532
- fill: "transparent",
1533
- "stroke-width": "2",
1534
- "stroke-linecap": "round",
1535
- "stroke-linejoin": "round",
1536
- "stroke-dasharray": e.dashed ? "2 4" : 0
1537
- }, null, 8, _t)) : p("", !0),
1538
- e.isVisible && l.cutNullValues ? (_(!0), m(d, { key: 1 }, y(e.selectionMarkers, (t) => (_(), m("circle", {
1539
- key: `sel-dot-${e.key}-${t.i}`,
1540
- cx: t.x,
1541
- cy: t.y,
1542
- r: "2.5",
1543
- fill: e.color,
1544
- stroke: L.value,
1545
- "stroke-width": "0.5"
1546
- }, null, 8, vt))), 128)) : p("", !0),
1547
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), m("circle", {
1548
- key: 2,
1549
- cx: e.firstPlot.x,
1550
- cy: e.firstPlot.y,
1551
- "stroke-width": "0.5",
1552
- stroke: L.value,
1553
- r: "4",
1554
- fill: e.color
1555
- }, null, 8, yt)) : p("", !0),
1556
- e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), m("circle", {
1557
- key: 3,
1558
- cx: e.firstPlot.x,
1559
- cy: e.firstPlot.y,
1560
- r: "2",
1561
- fill: L.value
1562
- }, null, 8, bt)) : p("", !0),
1563
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), m("circle", {
1564
- key: 4,
1565
- cx: e.lastPlot.x,
1566
- cy: e.lastPlot.y,
1567
- "stroke-width": "0.5",
1568
- stroke: L.value,
1569
- r: "4",
1570
- fill: e.color
1571
- }, null, 8, xt)) : p("", !0),
1572
- e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), m("circle", {
1573
- key: 5,
1574
- cx: e.lastPlot.x,
1575
- cy: e.lastPlot.y,
1576
- r: "2",
1577
- fill: L.value
1578
- }, null, 8, St)) : p("", !0)
1579
- ]))), 128)), (_(!0), m(d, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), m("g", { key: String(e.key) }, [(_(!0), m(d, null, y(e.points, (t) => (_(), m("g", null, [e.isVisible && l.cutNullValues && t.value !== null ? (_(), m("circle", {
1580
- key: `sel-plot-${e.key}-${t.i}`,
1581
- cx: t.x,
1582
- cy: t.y,
1583
- r: "2.5",
1584
- fill: e.color,
1585
- stroke: L.value,
1586
- "stroke-width": "0.5"
1587
- }, null, 8, Ct)) : p("", !0)]))), 256))]))), 128))]))], 64))
1588
- ], 8, Ee))])) : p("", !0),
1589
- h("div", {
1590
- class: "slider-track",
1591
- style: g({ visibility: D.value && l.minimapCompact ? "hidden" : "visible" })
1592
- }, null, 4),
1593
- h("div", {
1594
- class: ue({
1595
- "range-highlight": !0,
1596
- move: l.enableSelectionDrag
1597
- }),
1598
- onMousedown: t[16] ||= (e) => Q.value = !0,
1599
- onMouseup: t[17] ||= (e) => Q.value = !1,
1600
- style: g({
1601
- ...I.value,
1602
- cursor: Q.value ? "grabbing" : "grab",
1603
- visibility: D.value && l.minimapCompact ? "hidden" : "visible"
1604
- })
1605
- }, null, 38),
1606
- l.enableRangeHandles && !(D.value && l.minimapCompact) ? be((_(), m("input", {
1607
- key: 1,
1608
- "aria-label": "range-handle-left",
1609
- ref_key: "rangeStart",
1610
- ref: K,
1611
- type: "range",
1612
- step: l.precision > 0 ? 1 / 10 ** l.precision : 1,
1613
- class: ue({
1614
- "range-left": !0,
1615
- "range-handle": !0,
1616
- "range-minimap": D.value && l.verticalHandles,
1617
- "range-invisible": D.value && l.minimapCompact
1618
- }),
1619
- min: l.min,
1620
- max: l.minimapCompact && D.value && !l.useValueRange ? Math.max(0, z.value - 1) : l.max,
1621
- tabindex: D.value ? -1 : 0,
1622
- "onUpdate:modelValue": t[18] ||= (e) => Fn.value = e,
1623
- onFocus: t[19] ||= (e) => D.value && e.target.blur(),
1624
- onInput: t[20] ||= (e) => Fn.value = e.target.valueAsNumber,
1625
- onChange: P,
1626
- onKeyup: xe(P, ["enter"]),
1627
- onBlur: P,
1628
- onMouseenter: t[21] ||= (e) => Tr("start"),
1629
- onPointerup: P
1630
- }, null, 42, wt)), [[
1631
- ye,
1632
- Fn.value,
1633
- void 0,
1634
- { number: !0 }
1635
- ]]) : p("", !0),
1636
- l.enableRangeHandles && !(D.value && l.minimapCompact) ? be((_(), m("input", {
1637
- key: 2,
1638
- "aria-label": "range-handle-right",
1639
- ref_key: "rangeEnd",
1640
- ref: q,
1641
- type: "range",
1642
- step: l.precision > 0 ? 1 / 10 ** l.precision : 1,
1643
- class: ue({
1644
- "range-right": !0,
1645
- "range-handle": !0,
1646
- "range-minimap": D.value && l.verticalHandles,
1647
- "range-invisible": D.value && l.minimapCompact
1648
- }),
1649
- min: l.min,
1650
- max: l.minimapCompact && D.value && !l.useValueRange ? Math.max(0, z.value - 1) : l.max,
1651
- tabindex: D.value ? -1 : 0,
1652
- onFocus: t[22] ||= (e) => D.value && e.target.blur(),
1653
- "onUpdate:modelValue": t[23] ||= (e) => In.value = e,
1654
- onInput: t[24] ||= (e) => In.value = e.target.valueAsNumber,
1655
- onChange: P,
1656
- onKeyup: xe(P, ["enter"]),
1657
- onBlur: P,
1658
- onMouseenter: t[25] ||= (e) => Tr("end"),
1659
- onPointerup: P
1660
- }, null, 42, Tt)), [[
1661
- ye,
1662
- In.value,
1663
- void 0,
1664
- { number: !0 }
1665
- ]]) : p("", !0),
1666
- $.value.left ? (_(), m("div", {
1667
- key: 3,
1668
- ref_key: "tooltipLeft",
1669
- ref: _r,
1670
- class: ue({
1671
- "range-tooltip": !0,
1672
- "range-tooltip-visible": xr.value,
1673
- "range-tooltip-arrow": I.value.arrowLeft && !l.verticalHandles,
1674
- "range-tooltip-arrow-left": !I.value.arrowLeft && !l.verticalHandles
1675
- }),
1676
- style: g({
1677
- left: I.value.tooltipLeft,
1678
- color: _e(ee)(l.selectColor),
1679
- backgroundColor: l.selectColor,
1680
- border: `1px solid ${L.value}`,
1681
- zIndex: `${wr.value + 4}`,
1682
- visibility: Er.value || $.value.left === $.value.right ? "hidden" : "visible",
1683
- top: D.value && l.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1684
- })
1685
- }, ge($.value.left), 7)) : p("", !0),
1686
- (Er.value || $.value.left === $.value.right) && ($.value.left || $.value.right) ? (_(), m("div", {
1687
- key: 4,
1688
- ref: "tooltipMerge",
1689
- class: ue({
1690
- "range-tooltip": !0,
1691
- "range-tooltip-visible": xr.value,
1692
- "range-tooltip-arrow": !0,
1693
- "range-tooltip-arrow-left": !I.value.arrowLeft && !l.verticalHandles,
1694
- "range-tooltip-arrow-right": !I.value.arrowRight && !l.verticalHandles
1695
- }),
1696
- style: g({
1697
- left: I.value.tooltipCenter,
1698
- width: Dr.value.width + "px",
1699
- color: _e(ee)(l.selectColor),
1700
- backgroundColor: l.selectColor,
1701
- border: `1px solid ${L.value}`,
1702
- zIndex: "4",
1703
- top: D.value && l.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1704
- })
1705
- }, ge($.value.left === $.value.right ? $.value.left : `${$.value.left} - ${$.value.right}`), 7)) : p("", !0),
1706
- $.value.right ? (_(), m("div", {
1707
- key: 5,
1708
- ref_key: "tooltipRight",
1709
- ref: vr,
1710
- class: ue({
1711
- "range-tooltip": !0,
1712
- "range-tooltip-visible": xr.value,
1713
- "range-tooltip-arrow": I.value.arrowRight && !l.verticalHandles,
1714
- "range-tooltip-arrow-right": !I.value.arrowRight && !l.verticalHandles
1715
- }),
1716
- style: g({
1717
- left: I.value.tooltipRight,
1718
- color: _e(ee)(l.selectColor),
1719
- backgroundColor: l.selectColor,
1720
- border: `1px solid ${L.value}`,
1721
- zIndex: "4",
1722
- visibility: Er.value || $.value.left === $.value.right ? "hidden" : "visible",
1723
- top: D.value && l.minimapCompact ? "calc(-100% - 12px)" : "-100%"
1724
- })
1725
- }, ge($.value.right), 7)) : p("", !0)
1726
- ], 36)], 44, Se));
1727
- }
1728
- }, [["__scopeId", "data-v-a479b5b9"]]);
1729
- //#endregion
1730
- export { Ot as t };