vue-data-ui 3.17.13 → 3.18.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 (493) hide show
  1. package/README.md +1 -1
  2. package/dist/A11yDataTable-q2-8fSlJ.js +45 -0
  3. package/dist/Arrow-BU2Z7mfz.js +116 -0
  4. package/dist/BaseDraggableDialog-LE75fWYz.js +272 -0
  5. package/dist/BaseIcon-CL6Y7alf.js +499 -0
  6. package/dist/BaseLegendToggle-BvPOFMVZ.js +56 -0
  7. package/dist/BaseScanner-C7dmAref.js +27 -0
  8. package/dist/BaseZoomControls-DSwf4HhS.js +111 -0
  9. package/dist/ColorPicker-BGbMrtup.js +255 -0
  10. package/dist/DataTable-ZG4GX2Zg.js +150 -0
  11. package/dist/Legend-BPb8i4aC.js +114 -0
  12. package/dist/NonSvgPenAndPaper-BT3YMjgo.js +577 -0
  13. package/dist/PackageVersion-B1cPtZ3Q.js +11 -0
  14. package/dist/PenAndPaper-DxBCVZAx.js +461 -0
  15. package/dist/RecursiveCircles-DPpLel6f.js +117 -0
  16. package/dist/RecursiveLabels-DBMJf_to.js +56 -0
  17. package/dist/RecursiveLinks-D06dBL4a.js +78 -0
  18. package/dist/Shape-Dbug7CtK.js +141 -0
  19. package/dist/Slicer-SEdaKYPX.js +1144 -0
  20. package/dist/SlicerPreview-BLlQTUI_.js +1523 -0
  21. package/dist/SparkTooltip-BaONR2nq.js +93 -0
  22. package/dist/Title-ByyzJzpc.js +87 -0
  23. package/dist/Tooltip-V6Z0Ko-1.js +307 -0
  24. package/dist/UserOptions-Gaw1761w.js +1407 -0
  25. package/dist/_plugin-vue_export-helper-Dq1MygBL.js +8 -0
  26. package/dist/canvas-lib-DTaADQOK.js +79 -0
  27. package/dist/components/arrow.js +2 -5
  28. package/dist/components/vue-ui-3d-bar.js +2 -5
  29. package/dist/components/vue-ui-accordion.js +2 -5
  30. package/dist/components/vue-ui-age-pyramid.js +2 -5
  31. package/dist/components/vue-ui-annotator.js +2 -5
  32. package/dist/components/vue-ui-bullet.js +2 -5
  33. package/dist/components/vue-ui-bump.js +2 -5
  34. package/dist/components/vue-ui-candlestick.js +2 -5
  35. package/dist/components/vue-ui-carousel-table.js +2 -5
  36. package/dist/components/vue-ui-chestnut.js +2 -5
  37. package/dist/components/vue-ui-chord.js +2 -5
  38. package/dist/components/vue-ui-circle-pack.js +2 -5
  39. package/dist/components/vue-ui-cursor.js +2 -5
  40. package/dist/components/vue-ui-dag.js +2 -5
  41. package/dist/components/vue-ui-dashboard.js +2 -5
  42. package/dist/components/vue-ui-digits.js +2 -5
  43. package/dist/components/vue-ui-donut-evolution.js +2 -5
  44. package/dist/components/vue-ui-donut.js +2 -5
  45. package/dist/components/vue-ui-dumbbell.js +2 -5
  46. package/dist/components/vue-ui-flow.js +2 -5
  47. package/dist/components/vue-ui-funnel.js +2 -5
  48. package/dist/components/vue-ui-galaxy.js +2 -5
  49. package/dist/components/vue-ui-gauge.js +2 -5
  50. package/dist/components/vue-ui-geo.js +2 -5
  51. package/dist/components/vue-ui-gizmo.js +2 -5
  52. package/dist/components/vue-ui-heatmap.js +2 -5
  53. package/dist/components/vue-ui-history-plot.js +2 -5
  54. package/dist/components/vue-ui-horizontal-bar.js +2 -5
  55. package/dist/components/vue-ui-icon.js +2 -5
  56. package/dist/components/vue-ui-kpi.js +2 -5
  57. package/dist/components/vue-ui-mini-loader.js +2 -5
  58. package/dist/components/vue-ui-molecule.js +2 -5
  59. package/dist/components/vue-ui-mood-radar.js +2 -5
  60. package/dist/components/vue-ui-nested-donuts.js +2 -5
  61. package/dist/components/vue-ui-onion.js +2 -5
  62. package/dist/components/vue-ui-parallel-coordinate-plot.js +2 -5
  63. package/dist/components/vue-ui-pattern-seed.js +2 -5
  64. package/dist/components/vue-ui-pattern.js +2 -5
  65. package/dist/components/vue-ui-quadrant.js +2 -5
  66. package/dist/components/vue-ui-quick-chart.js +2 -5
  67. package/dist/components/vue-ui-radar.js +2 -5
  68. package/dist/components/vue-ui-rating.js +2 -5
  69. package/dist/components/vue-ui-relation-circle.js +2 -5
  70. package/dist/components/vue-ui-ridgeline.js +2 -5
  71. package/dist/components/vue-ui-rings.js +2 -5
  72. package/dist/components/vue-ui-scatter.js +2 -5
  73. package/dist/components/vue-ui-skeleton.js +2 -5
  74. package/dist/components/vue-ui-smiley.js +2 -5
  75. package/dist/components/vue-ui-spark-trend.js +2 -5
  76. package/dist/components/vue-ui-sparkbar.js +2 -5
  77. package/dist/components/vue-ui-sparkgauge.js +2 -5
  78. package/dist/components/vue-ui-sparkhistogram.js +2 -5
  79. package/dist/components/vue-ui-sparkline.js +2 -5
  80. package/dist/components/vue-ui-sparkstackbar.js +2 -5
  81. package/dist/components/vue-ui-stackbar.js +2 -5
  82. package/dist/components/vue-ui-stackline.js +2 -5
  83. package/dist/components/vue-ui-strip-plot.js +2 -5
  84. package/dist/components/vue-ui-table-heatmap.js +2 -5
  85. package/dist/components/vue-ui-table-sparkline.js +2 -5
  86. package/dist/components/vue-ui-table.js +2 -5
  87. package/dist/components/vue-ui-thermometer.js +2 -5
  88. package/dist/components/vue-ui-timer.js +2 -5
  89. package/dist/components/vue-ui-tiremarks.js +2 -5
  90. package/dist/components/vue-ui-treemap.js +2 -5
  91. package/dist/components/vue-ui-vertical-bar.js +2 -5
  92. package/dist/components/vue-ui-waffle.js +2 -5
  93. package/dist/components/vue-ui-wheel.js +2 -5
  94. package/dist/components/vue-ui-word-cloud.js +2 -5
  95. package/dist/components/vue-ui-world.js +2 -5
  96. package/dist/components/vue-ui-xy-canvas.js +2 -5
  97. package/dist/components/vue-ui-xy.js +2 -5
  98. package/dist/dom-to-png-C9UOX1d2.js +237 -0
  99. package/dist/exposedLib-BQjH823l.js +19 -0
  100. package/dist/geoProjections-CQIkC70z.js +146 -0
  101. package/dist/img-NMY-_LiJ.js +74 -0
  102. package/dist/labelUtils-BiSegLOT.js +19 -0
  103. package/dist/lib-B83ZCydz.js +1879 -0
  104. package/dist/patternUtils-B7BWu5bV.js +258 -0
  105. package/dist/pdf-Ey2KFETK.js +90 -0
  106. package/dist/rolldown-runtime-CAFD8bLK.js +11 -0
  107. package/dist/style.css +2 -1
  108. package/dist/types/arrow.d.ts +1 -1
  109. package/dist/types/utils.d.ts +23 -0
  110. package/dist/types/vue-data-ui.d.ts +4766 -630
  111. package/dist/types/vue-ui-3d-bar.d.ts +64 -9
  112. package/dist/types/vue-ui-accordion.d.ts +4 -3
  113. package/dist/types/vue-ui-age-pyramid.d.ts +79 -9
  114. package/dist/types/vue-ui-annotator.d.ts +3 -5
  115. package/dist/types/vue-ui-bullet.d.ts +60 -9
  116. package/dist/types/vue-ui-bump.d.ts +65 -9
  117. package/dist/types/vue-ui-candlestick.d.ts +83 -9
  118. package/dist/types/vue-ui-carousel-table.d.ts +36 -6
  119. package/dist/types/vue-ui-chestnut.d.ts +66 -9
  120. package/dist/types/vue-ui-chord.d.ts +78 -9
  121. package/dist/types/vue-ui-circle-pack.d.ts +86 -9
  122. package/dist/types/vue-ui-cursor.d.ts +4 -2
  123. package/dist/types/vue-ui-dag.d.ts +92 -9
  124. package/dist/types/vue-ui-dashboard.d.ts +43 -6
  125. package/dist/types/vue-ui-digits.d.ts +4 -2
  126. package/dist/types/vue-ui-donut-evolution.d.ts +70 -9
  127. package/dist/types/vue-ui-donut.d.ts +92 -9
  128. package/dist/types/vue-ui-dumbbell.d.ts +65 -9
  129. package/dist/types/vue-ui-flow.d.ts +79 -9
  130. package/dist/types/vue-ui-funnel.d.ts +55 -9
  131. package/dist/types/vue-ui-galaxy.d.ts +83 -9
  132. package/dist/types/vue-ui-gauge.d.ts +64 -9
  133. package/dist/types/vue-ui-geo.d.ts +71 -9
  134. package/dist/types/vue-ui-gizmo.d.ts +17 -6
  135. package/dist/types/vue-ui-heatmap.d.ts +73 -9
  136. package/dist/types/vue-ui-history-plot.d.ts +82 -9
  137. package/dist/types/vue-ui-horizontal-bar.d.ts +84 -9
  138. package/dist/types/vue-ui-icon.d.ts +2 -2
  139. package/dist/types/vue-ui-kpi.d.ts +21 -7
  140. package/dist/types/vue-ui-mini-loader.d.ts +5 -3
  141. package/dist/types/vue-ui-molecule.d.ts +86 -9
  142. package/dist/types/vue-ui-mood-radar.d.ts +66 -9
  143. package/dist/types/vue-ui-nested-donuts.d.ts +80 -9
  144. package/dist/types/vue-ui-onion.d.ts +77 -9
  145. package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +92 -9
  146. package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
  147. package/dist/types/vue-ui-pattern.d.ts +2 -2
  148. package/dist/types/vue-ui-quadrant.d.ts +86 -9
  149. package/dist/types/vue-ui-quick-chart.d.ts +79 -9
  150. package/dist/types/vue-ui-radar.d.ts +83 -9
  151. package/dist/types/vue-ui-rating.d.ts +22 -6
  152. package/dist/types/vue-ui-relation-circle.d.ts +66 -9
  153. package/dist/types/vue-ui-ridgeline.d.ts +69 -9
  154. package/dist/types/vue-ui-rings.d.ts +70 -9
  155. package/dist/types/vue-ui-scatter.d.ts +67 -9
  156. package/dist/types/vue-ui-skeleton.d.ts +3 -2
  157. package/dist/types/vue-ui-smiley.d.ts +3 -2
  158. package/dist/types/vue-ui-spark-trend.d.ts +14 -6
  159. package/dist/types/vue-ui-sparkbar.d.ts +27 -6
  160. package/dist/types/vue-ui-sparkgauge.d.ts +20 -6
  161. package/dist/types/vue-ui-sparkhistogram.d.ts +24 -6
  162. package/dist/types/vue-ui-sparkline.d.ts +35 -6
  163. package/dist/types/vue-ui-sparkstackbar.d.ts +35 -6
  164. package/dist/types/vue-ui-stackbar.d.ts +85 -9
  165. package/dist/types/vue-ui-stackline.d.ts +81 -9
  166. package/dist/types/vue-ui-strip-plot.d.ts +66 -9
  167. package/dist/types/vue-ui-table-heatmap.d.ts +52 -6
  168. package/dist/types/vue-ui-table-sparkline.d.ts +30 -6
  169. package/dist/types/vue-ui-table.d.ts +10 -2
  170. package/dist/types/vue-ui-thermometer.d.ts +46 -9
  171. package/dist/types/vue-ui-timer.d.ts +31 -5
  172. package/dist/types/vue-ui-tiremarks.d.ts +46 -9
  173. package/dist/types/vue-ui-treemap.d.ts +73 -9
  174. package/dist/types/vue-ui-vertical-bar.d.ts +2 -2
  175. package/dist/types/vue-ui-waffle.d.ts +72 -9
  176. package/dist/types/vue-ui-wheel.d.ts +46 -9
  177. package/dist/types/vue-ui-word-cloud.d.ts +73 -9
  178. package/dist/types/vue-ui-world.d.ts +68 -9
  179. package/dist/types/vue-ui-xy-canvas.d.ts +75 -9
  180. package/dist/types/vue-ui-xy.d.ts +108 -10
  181. package/dist/useAutoSizeLabelsInsideViewbox-De0rTecW.js +50 -0
  182. package/dist/useChartAccessibility-Do37qcw2.js +12 -0
  183. package/dist/useConfig-KnOLHtlJ.js +7419 -0
  184. package/dist/useFitSvgText-C-MEdAfe.js +63 -0
  185. package/dist/useNestedProp-CcxL1gUU.js +10 -0
  186. package/dist/useObjectBindings-Dc8Rf6Qy.js +189 -0
  187. package/dist/usePanZoom-B-4M_gmY.js +157 -0
  188. package/dist/usePrefersMotion-BywLbIko.js +15 -0
  189. package/dist/usePrinter-CMLF900n.js +49 -0
  190. package/dist/useResponsive-CrAInupd.js +19 -0
  191. package/dist/useStableElementSize-0I1IpHPl.js +77 -0
  192. package/dist/useSvgExport-Dtu973wa.js +755 -0
  193. package/dist/useTableResponsive-DrM1xqII.js +24 -0
  194. package/dist/useThemeCheck-rFK9Zlb_.js +24 -0
  195. package/dist/useTimeLabelCollider-Dm55Emzg.js +57 -0
  196. package/dist/useTimeLabels-C0x7zUXP.js +272 -0
  197. package/dist/useUserOptionState-CjPJPTg2.js +15 -0
  198. package/dist/utils.js +27 -44
  199. package/dist/vClickOutside-CbX_bC9A.js +13 -0
  200. package/dist/vue-data-ui-D1REqS_k.js +274 -0
  201. package/dist/vue-data-ui.js +76 -167
  202. package/dist/vue-ui-3d-bar-vO_kSCd6.js +1747 -0
  203. package/dist/vue-ui-accordion-Cf-jZELj.js +81 -0
  204. package/dist/vue-ui-age-pyramid-DHXhrP_3.js +1226 -0
  205. package/dist/vue-ui-annotator-B0o6czmF.js +2899 -0
  206. package/dist/vue-ui-bullet-C93-cf0H.js +700 -0
  207. package/dist/vue-ui-bump-C_Szk9AZ.js +1239 -0
  208. package/dist/vue-ui-candlestick-6JdMEJKO.js +1802 -0
  209. package/dist/vue-ui-carousel-table-CZ_HK0Iw.js +445 -0
  210. package/dist/vue-ui-chestnut-B8ixU585.js +2000 -0
  211. package/dist/vue-ui-chord-DC5sLapz.js +1381 -0
  212. package/dist/vue-ui-circle-pack-CsmSEwt3.js +1183 -0
  213. package/dist/vue-ui-cursor-B-QODIL3.js +283 -0
  214. package/dist/vue-ui-dag-C9LYfjS_.js +2899 -0
  215. package/dist/vue-ui-dashboard-D-f4ZaLi.js +503 -0
  216. package/dist/vue-ui-digits-CcB3odN7.js +209 -0
  217. package/dist/vue-ui-donut-DR0ngnZC.js +2396 -0
  218. package/dist/vue-ui-donut-evolution-BXpOscCe.js +1490 -0
  219. package/dist/vue-ui-dumbbell-CB_clJWA.js +1517 -0
  220. package/dist/vue-ui-flow-CUiOAEy1.js +1223 -0
  221. package/dist/vue-ui-funnel-BAlGDK0o.js +767 -0
  222. package/dist/vue-ui-galaxy-DbYNfSHb.js +1062 -0
  223. package/dist/vue-ui-gauge-Cie7jykM.js +910 -0
  224. package/dist/vue-ui-geo-Ce_gBRye.js +1504 -0
  225. package/dist/vue-ui-gizmo-B9POi_SN.js +225 -0
  226. package/dist/vue-ui-heatmap-DFfRSbnk.js +1556 -0
  227. package/dist/vue-ui-history-plot-DHp5WFgx.js +1551 -0
  228. package/dist/vue-ui-horizontal-bar-DI4yoARv.js +1669 -0
  229. package/dist/vue-ui-kpi-oUfso4UP.js +96 -0
  230. package/dist/vue-ui-mini-loader-aZMi1_uX.js +125 -0
  231. package/dist/vue-ui-molecule-D72kzel_.js +912 -0
  232. package/dist/vue-ui-mood-radar-Tw2ZFP7Y.js +1138 -0
  233. package/dist/vue-ui-nested-donuts-Bza1LczX.js +1472 -0
  234. package/dist/vue-ui-onion-BOuuib5d.js +1188 -0
  235. package/dist/vue-ui-parallel-coordinate-plot-BuQUq6-o.js +1413 -0
  236. package/dist/vue-ui-pattern-Bj-IPFr2.js +154 -0
  237. package/dist/vue-ui-pattern-seed-abRweCDE.js +61 -0
  238. package/dist/vue-ui-quadrant-zNFIXNt9.js +1966 -0
  239. package/dist/vue-ui-quick-chart-B1a8QVUn.js +2459 -0
  240. package/dist/vue-ui-radar-VFn-YP_2.js +1214 -0
  241. package/dist/vue-ui-rating-Dxgn21FA.js +343 -0
  242. package/dist/vue-ui-relation-circle-B0sZaCgX.js +914 -0
  243. package/dist/vue-ui-ridgeline-BsBAbg5V.js +1612 -0
  244. package/dist/vue-ui-rings-CDwUzMF-.js +1231 -0
  245. package/dist/vue-ui-scatter-Du_b-zM8.js +2380 -0
  246. package/dist/vue-ui-skeleton-BAq6J_6G.js +2556 -0
  247. package/dist/vue-ui-smiley-CoHvkS0c.js +356 -0
  248. package/dist/vue-ui-spark-trend-BmCcJ17C.js +438 -0
  249. package/dist/vue-ui-sparkbar-9z05IMx8.js +393 -0
  250. package/dist/vue-ui-sparkgauge-BlWri9DP.js +255 -0
  251. package/dist/vue-ui-sparkhistogram-CHZTt8d8.js +560 -0
  252. package/dist/vue-ui-sparkline-DirLW9Nd.js +1503 -0
  253. package/dist/vue-ui-sparkstackbar-Dk6cEI2o.js +660 -0
  254. package/dist/vue-ui-stackbar-DNIrGHkt.js +2235 -0
  255. package/dist/vue-ui-stackline-HoWn_ur2.js +2362 -0
  256. package/dist/vue-ui-strip-plot-Bi8u_fLr.js +1328 -0
  257. package/dist/vue-ui-table-XLjOOfdI.js +1338 -0
  258. package/dist/vue-ui-table-heatmap-DvnFiveI.js +334 -0
  259. package/dist/vue-ui-table-sparkline-CSZf8XxP.js +697 -0
  260. package/dist/vue-ui-thermometer-7eUO_7CP.js +753 -0
  261. package/dist/vue-ui-timer-DCbxsREb.js +439 -0
  262. package/dist/vue-ui-tiremarks-p_sfTufv.js +542 -0
  263. package/dist/vue-ui-treemap-BdZOW7TM.js +1575 -0
  264. package/dist/vue-ui-waffle-Bf9dWWCM.js +1350 -0
  265. package/dist/vue-ui-wheel-CZrIiB0K.js +875 -0
  266. package/dist/vue-ui-word-cloud-BeLjxoRe.js +1644 -0
  267. package/dist/vue-ui-world-D9ahzEQ2.js +14252 -0
  268. package/dist/vue-ui-xy-DrvbVuHO.js +4063 -0
  269. package/dist/vue-ui-xy-canvas-DU7vFrQr.js +1774 -0
  270. package/dist/vue_ui_3d_bar-CXKqO5Ej.js +185 -0
  271. package/dist/vue_ui_age_pyramid-BON8QI6X.js +301 -0
  272. package/dist/vue_ui_bullet-CE5sFT7u.js +186 -0
  273. package/dist/vue_ui_bump-frnXaXul.js +201 -0
  274. package/dist/vue_ui_candlestick-sY6UtOop.js +374 -0
  275. package/dist/vue_ui_chestnut-BiUZFv40.js +305 -0
  276. package/dist/vue_ui_chord-DpyR_b9A.js +275 -0
  277. package/dist/vue_ui_circle_pack-DBKz_Fi_.js +130 -0
  278. package/dist/vue_ui_dag-Ci_MOnvd.js +258 -0
  279. package/dist/vue_ui_donut-Cx2_BGcQ.js +358 -0
  280. package/dist/vue_ui_donut_evolution-CAJefrHs.js +717 -0
  281. package/dist/vue_ui_dumbbell-CClzAZTN.js +304 -0
  282. package/dist/vue_ui_flow-CCHO1Lo9.js +238 -0
  283. package/dist/vue_ui_funnel-h8q2mRpC.js +234 -0
  284. package/dist/vue_ui_galaxy-70vtkEBw.js +265 -0
  285. package/dist/vue_ui_gauge-C17CgfzN.js +178 -0
  286. package/dist/vue_ui_geo-C0UbQ0Lc.js +248 -0
  287. package/dist/vue_ui_heatmap-BqPP3J4M.js +319 -0
  288. package/dist/vue_ui_history_plot-C5nytDHh.js +413 -0
  289. package/dist/vue_ui_horizontal_bar-Bqxorkc_.js +341 -0
  290. package/dist/vue_ui_molecule-Dka4JBOp.js +231 -0
  291. package/dist/vue_ui_mood_radar-Dg4ijm53.js +281 -0
  292. package/dist/vue_ui_nested_donuts-BY9cOoHF.js +273 -0
  293. package/dist/vue_ui_onion-DTV9cup-.js +293 -0
  294. package/dist/vue_ui_parallel_coordinate_plot-CNWrDh96.js +278 -0
  295. package/dist/vue_ui_quadrant-3kjYvxpj.js +428 -0
  296. package/dist/vue_ui_quick_chart--VaYQuM4.js +139 -0
  297. package/dist/vue_ui_radar-Dxx9GJmj.js +306 -0
  298. package/dist/vue_ui_relation_circle-Cr0I2SoU.js +98 -0
  299. package/dist/vue_ui_ridgeline-CAtYca4b.js +767 -0
  300. package/dist/vue_ui_rings-DXC1VeX5.js +320 -0
  301. package/dist/vue_ui_scatter-D2S2j0ap.js +479 -0
  302. package/dist/vue_ui_spark_trend-BHMQ6_1p.js +82 -0
  303. package/dist/vue_ui_sparkbar-BR6hbuDE.js +64 -0
  304. package/dist/vue_ui_sparkgauge-xfPRHnMv.js +90 -0
  305. package/dist/vue_ui_sparkhistogram-CJRENZ1C.js +123 -0
  306. package/dist/vue_ui_sparkline-wgk7yO7E.js +151 -0
  307. package/dist/vue_ui_sparkstackbar-C5qZMmAl.js +175 -0
  308. package/dist/vue_ui_stackbar-BW_C3MXw.js +412 -0
  309. package/dist/vue_ui_stackline-DpI2LnjO.js +426 -0
  310. package/dist/vue_ui_strip_plot-8ZelqC5b.js +301 -0
  311. package/dist/vue_ui_table_heatmap-BGUjA0WA.js +80 -0
  312. package/dist/vue_ui_table_sparkline-i0Q-N_we.js +124 -0
  313. package/dist/vue_ui_thermometer-CuN7Gpez.js +123 -0
  314. package/dist/vue_ui_tiremarks-A6UHC0c3.js +122 -0
  315. package/dist/vue_ui_treemap-BQp06q-g.js +328 -0
  316. package/dist/vue_ui_vertical_bar-CJSD1FZS.js +247 -0
  317. package/dist/vue_ui_waffle-C_Ev4l7B.js +292 -0
  318. package/dist/vue_ui_wheel-DdkTPXJU.js +133 -0
  319. package/dist/vue_ui_word_cloud-B1PbsYPc.js +254 -0
  320. package/dist/vue_ui_xy-BYPqfYyx.js +482 -0
  321. package/dist/vue_ui_xy_canvas-CMHGNrLf.js +408 -0
  322. package/package.json +7 -7
  323. package/dist/A11yDataTable-BpmuNomI.js +0 -54
  324. package/dist/Arrow-dSvLFssU.js +0 -101
  325. package/dist/BaseDraggableDialog-Di8Hlru3.js +0 -249
  326. package/dist/BaseIcon-DX0hTWa-.js +0 -476
  327. package/dist/BaseLegendToggle-cMP8M2u0.js +0 -47
  328. package/dist/BaseScanner-C2j3TsSY.js +0 -36
  329. package/dist/BaseZoomControls-CVSC1-SU.js +0 -123
  330. package/dist/ColorPicker-bAxGcXK0.js +0 -271
  331. package/dist/DataTable-cMnb68Ik.js +0 -145
  332. package/dist/Legend-DGN5lY60.js +0 -104
  333. package/dist/NonSvgPenAndPaper-B6E0zEYe.js +0 -573
  334. package/dist/PackageVersion-BfrCAH6_.js +0 -10
  335. package/dist/PenAndPaper-CJDoB5H9.js +0 -527
  336. package/dist/RecursiveCircles-BE6GoMmo.js +0 -101
  337. package/dist/RecursiveLabels-BhQMS9Sm.js +0 -55
  338. package/dist/RecursiveLinks-BDwyYfP-.js +0 -83
  339. package/dist/Shape-CxJ5_Rre.js +0 -116
  340. package/dist/Slicer-D7UcO8sN.js +0 -1145
  341. package/dist/SlicerPreview-D_CgrN_7.js +0 -1580
  342. package/dist/SparkTooltip-D4bM-kfz.js +0 -68
  343. package/dist/Title-BbKoiBk2.js +0 -88
  344. package/dist/Tooltip-Cvt7Fi0Q.js +0 -299
  345. package/dist/UserOptions-DVduN6X7.js +0 -1474
  346. package/dist/_plugin-vue_export-helper-CHgC5LLL.js +0 -9
  347. package/dist/dom-to-png-DGvx6i5V.js +0 -262
  348. package/dist/exposedLib-sJvY1pST.js +0 -22
  349. package/dist/geoProjections-BFq2sOBY.js +0 -162
  350. package/dist/img-CjTQXS0U.js +0 -57
  351. package/dist/labelUtils-DX9oyq3C.js +0 -26
  352. package/dist/lib-DMzrGQHK.js +0 -2477
  353. package/dist/patternUtils-BINhU4Ky.js +0 -615
  354. package/dist/pdf-C4H4o1Cj.js +0 -88
  355. package/dist/useAutoSizeLabelsInsideViewbox-izlGDfwu.js +0 -55
  356. package/dist/useChartAccessibility-cp6XQtqi.js +0 -15
  357. package/dist/useConfig-CG4HT3wS.js +0 -7901
  358. package/dist/useFitSvgText-2crs6Fv5.js +0 -69
  359. package/dist/useNestedProp-DH0BEVVS.js +0 -13
  360. package/dist/useObjectBindings-Dixg-RIe.js +0 -228
  361. package/dist/usePanZoom-BbDhcKWf.js +0 -141
  362. package/dist/usePrefersMotion-Co0nj1eS.js +0 -17
  363. package/dist/usePrinter-C4t8DdQ-.js +0 -51
  364. package/dist/useResponsive-DfdjqQps.js +0 -195
  365. package/dist/useStableElementSize-C48ZVcZQ.js +0 -77
  366. package/dist/useSvgExport-BTG4hVPO.js +0 -870
  367. package/dist/useTableResponsive-BpfiEtzR.js +0 -26
  368. package/dist/useThemeCheck-C9Ccl7U9.js +0 -36
  369. package/dist/useTimeLabelCollider-D3JeJ6Ye.js +0 -86
  370. package/dist/useTimeLabels-Cv0tD9In.js +0 -307
  371. package/dist/useUserOptionState-B7Ej974k.js +0 -19
  372. package/dist/vClickOutside-C6WiFswA.js +0 -13
  373. package/dist/vue-data-ui-D1ZI7Y4l.js +0 -433
  374. package/dist/vue-ui-3d-bar-DEjKYzI5.js +0 -1824
  375. package/dist/vue-ui-accordion-DFtpH_16.js +0 -92
  376. package/dist/vue-ui-age-pyramid-LiC9hTjP.js +0 -1179
  377. package/dist/vue-ui-annotator-DrKnQoHf.js +0 -2991
  378. package/dist/vue-ui-bullet-DdxEINdq.js +0 -769
  379. package/dist/vue-ui-bump-CdgO1V7z.js +0 -1250
  380. package/dist/vue-ui-candlestick-DxJnPwto.js +0 -1775
  381. package/dist/vue-ui-carousel-table-CMefu5TI.js +0 -487
  382. package/dist/vue-ui-chestnut-BnGN72PO.js +0 -2001
  383. package/dist/vue-ui-chord-DWyar45U.js +0 -1457
  384. package/dist/vue-ui-circle-pack-CQ8vF2XH.js +0 -1076
  385. package/dist/vue-ui-cursor-HHOdkmyB.js +0 -260
  386. package/dist/vue-ui-dag-BDWPBElq.js +0 -3209
  387. package/dist/vue-ui-dashboard-Dg_I3X2a.js +0 -627
  388. package/dist/vue-ui-digits-CZmdir8V.js +0 -211
  389. package/dist/vue-ui-donut-BKegKHxj.js +0 -2608
  390. package/dist/vue-ui-donut-evolution-047dE4Lu.js +0 -1578
  391. package/dist/vue-ui-dumbbell-BL4ZMChj.js +0 -1552
  392. package/dist/vue-ui-flow-BAqtyunQ.js +0 -1279
  393. package/dist/vue-ui-funnel-Pl2sEOZs.js +0 -823
  394. package/dist/vue-ui-galaxy-CBF5Wsax.js +0 -1108
  395. package/dist/vue-ui-gauge-COV_S0Vp.js +0 -955
  396. package/dist/vue-ui-geo-CaPXElPf.js +0 -1510
  397. package/dist/vue-ui-gizmo-Csn7up96.js +0 -238
  398. package/dist/vue-ui-heatmap-Cpb0BYLa.js +0 -1694
  399. package/dist/vue-ui-history-plot-ZZEdzFCE.js +0 -1564
  400. package/dist/vue-ui-horizontal-bar-BonPYUZf.js +0 -1735
  401. package/dist/vue-ui-kpi-DoHhSsDK.js +0 -130
  402. package/dist/vue-ui-mini-loader-DOTBVCLE.js +0 -138
  403. package/dist/vue-ui-molecule-mVYnXouV.js +0 -945
  404. package/dist/vue-ui-mood-radar-DPvwnc3z.js +0 -1197
  405. package/dist/vue-ui-nested-donuts-C7E6TXrZ.js +0 -1702
  406. package/dist/vue-ui-onion-BGIlFhGB.js +0 -1207
  407. package/dist/vue-ui-parallel-coordinate-plot-C6G_A9ua.js +0 -1432
  408. package/dist/vue-ui-pattern-mXZW_pvA.js +0 -146
  409. package/dist/vue-ui-pattern-seed-BcNlxb2i.js +0 -36
  410. package/dist/vue-ui-quadrant-CVpIeYOB.js +0 -1918
  411. package/dist/vue-ui-quick-chart-CcV8qn9-.js +0 -2514
  412. package/dist/vue-ui-radar-G4AV1rBo.js +0 -1259
  413. package/dist/vue-ui-rating-CqPlP88P.js +0 -370
  414. package/dist/vue-ui-relation-circle-CkZ8oFVV.js +0 -856
  415. package/dist/vue-ui-ridgeline-CBTyYn6Q.js +0 -1737
  416. package/dist/vue-ui-rings-CSIOqFiP.js +0 -1256
  417. package/dist/vue-ui-scatter-AuC46ufT.js +0 -2345
  418. package/dist/vue-ui-skeleton-YD6rZjY_.js +0 -2475
  419. package/dist/vue-ui-smiley-CY0WFv2j.js +0 -391
  420. package/dist/vue-ui-spark-trend-D8KGIt-R.js +0 -423
  421. package/dist/vue-ui-sparkbar-BjWGJjzN.js +0 -424
  422. package/dist/vue-ui-sparkgauge-Dab5mss7.js +0 -285
  423. package/dist/vue-ui-sparkhistogram-D0rsmiPh.js +0 -559
  424. package/dist/vue-ui-sparkline-BCaauQuX.js +0 -1550
  425. package/dist/vue-ui-sparkstackbar-NT5yD6xA.js +0 -672
  426. package/dist/vue-ui-stackbar-ChBk_A1c.js +0 -2393
  427. package/dist/vue-ui-stackline-Cujamlze.js +0 -2490
  428. package/dist/vue-ui-strip-plot-CGBumG6I.js +0 -1293
  429. package/dist/vue-ui-table-BX2iMku4.js +0 -1726
  430. package/dist/vue-ui-table-heatmap-KXgXYVXm.js +0 -353
  431. package/dist/vue-ui-table-sparkline-C3NWnry0.js +0 -803
  432. package/dist/vue-ui-thermometer-DvdceZB1.js +0 -743
  433. package/dist/vue-ui-timer-XWAbvuAY.js +0 -504
  434. package/dist/vue-ui-tiremarks-B-YI1RlT.js +0 -578
  435. package/dist/vue-ui-treemap-AzorGfmd.js +0 -1757
  436. package/dist/vue-ui-waffle-CKtUvdTE.js +0 -1442
  437. package/dist/vue-ui-wheel-CnsLEArZ.js +0 -908
  438. package/dist/vue-ui-word-cloud-iAme2ihe.js +0 -1644
  439. package/dist/vue-ui-world-D5rrC9rw.js +0 -14452
  440. package/dist/vue-ui-xy-C_Q9chQe.js +0 -4468
  441. package/dist/vue-ui-xy-canvas-DG0299qE.js +0 -2107
  442. package/dist/vue_ui_3d_bar-CL0iX8Qi.js +0 -22
  443. package/dist/vue_ui_age_pyramid-8H8WSL7J.js +0 -22
  444. package/dist/vue_ui_bullet-Ckqieba5.js +0 -22
  445. package/dist/vue_ui_bump-CIht647H.js +0 -22
  446. package/dist/vue_ui_candlestick-BAMn-VGw.js +0 -22
  447. package/dist/vue_ui_chestnut-BloFvDuV.js +0 -22
  448. package/dist/vue_ui_chord-Bc1_ocwK.js +0 -22
  449. package/dist/vue_ui_circle_pack-CLmw8nHe.js +0 -22
  450. package/dist/vue_ui_dag-ZOwuDBZ8.js +0 -22
  451. package/dist/vue_ui_donut-CA4dgV8J.js +0 -22
  452. package/dist/vue_ui_donut_evolution-DFQU-rqE.js +0 -22
  453. package/dist/vue_ui_dumbbell-BCOHDiPk.js +0 -22
  454. package/dist/vue_ui_flow-BErINgox.js +0 -22
  455. package/dist/vue_ui_funnel-yuaMZ-yb.js +0 -22
  456. package/dist/vue_ui_galaxy-D95AN4FT.js +0 -22
  457. package/dist/vue_ui_gauge-BMEuRC4J.js +0 -22
  458. package/dist/vue_ui_geo--kg4VoVX.js +0 -22
  459. package/dist/vue_ui_heatmap-C9u993qE.js +0 -22
  460. package/dist/vue_ui_history_plot-BCKk1CrQ.js +0 -22
  461. package/dist/vue_ui_horizontal_bar-BEagrV0T.js +0 -22
  462. package/dist/vue_ui_molecule-BtvlINUh.js +0 -22
  463. package/dist/vue_ui_mood_radar-BUs6Fdn8.js +0 -22
  464. package/dist/vue_ui_nested_donuts-DvTrWT_C.js +0 -22
  465. package/dist/vue_ui_onion-CxWH9_OZ.js +0 -22
  466. package/dist/vue_ui_parallel_coordinate_plot-DH3cFJ3n.js +0 -22
  467. package/dist/vue_ui_quadrant-DjRs--Uz.js +0 -22
  468. package/dist/vue_ui_quick_chart-DMCjEjPe.js +0 -22
  469. package/dist/vue_ui_radar-DryGBOrz.js +0 -22
  470. package/dist/vue_ui_relation_circle-CCroen7h.js +0 -22
  471. package/dist/vue_ui_ridgeline-j4rVmpEp.js +0 -22
  472. package/dist/vue_ui_rings-CxOrekqA.js +0 -22
  473. package/dist/vue_ui_scatter-Bu1EAy9H.js +0 -22
  474. package/dist/vue_ui_spark_trend-3BjrSprO.js +0 -22
  475. package/dist/vue_ui_sparkbar-BsMzz5Um.js +0 -22
  476. package/dist/vue_ui_sparkgauge-KnjASOZs.js +0 -22
  477. package/dist/vue_ui_sparkhistogram-GBdzIVvS.js +0 -22
  478. package/dist/vue_ui_sparkline-CQ8DJVJx.js +0 -22
  479. package/dist/vue_ui_sparkstackbar-BSexvOuM.js +0 -22
  480. package/dist/vue_ui_stackbar-CuDC4O4b.js +0 -22
  481. package/dist/vue_ui_stackline-QTh-nuxE.js +0 -22
  482. package/dist/vue_ui_strip_plot-B9ypi_F3.js +0 -22
  483. package/dist/vue_ui_table_heatmap-CkvipPVy.js +0 -16
  484. package/dist/vue_ui_table_sparkline-yQdijcyJ.js +0 -22
  485. package/dist/vue_ui_thermometer-BTmjRBH8.js +0 -22
  486. package/dist/vue_ui_tiremarks-DBotWfi8.js +0 -22
  487. package/dist/vue_ui_treemap-D9-AIkT-.js +0 -22
  488. package/dist/vue_ui_vertical_bar-CELc39b8.js +0 -18
  489. package/dist/vue_ui_waffle-M2h-uJQ_.js +0 -22
  490. package/dist/vue_ui_wheel-LqBz3lv4.js +0 -22
  491. package/dist/vue_ui_word_cloud-mKAtBxHR.js +0 -22
  492. package/dist/vue_ui_xy-esktmpg-.js +0 -22
  493. package/dist/vue_ui_xy_canvas-6BBDSowT.js +0 -22
@@ -1,1145 +0,0 @@
1
- import { useCssVars as Ot, ref as m, computed as s, onMounted as lt, onBeforeUnmount as $e, watch as U, nextTick as ve, onUpdated as jt, openBlock as i, createElementBlock as o, normalizeStyle as P, createElementVNode as L, renderSlot as Ut, createVNode as Zt, createCommentVNode as c, unref as de, Fragment as b, renderList as $, normalizeProps as Yt, mergeProps as Jt, normalizeClass as Z, withDirectives as at, vModelText as nt, toDisplayString as Ae } from "vue";
2
- import { j as qt, X as Kt, W as Re, L as it, c as ot, M as ut, b as rt, av as st } from "./lib-DMzrGQHK.js";
3
- import { t as ct, u as Qt, d as _t } from "./useResponsive-DfdjqQps.js";
4
- import el from "./BaseIcon-DX0hTWa-.js";
5
- import { _ as tl } from "./_plugin-vue_export-helper-CHgC5LLL.js";
6
- const ll = ["data-minimap"], al = {
7
- class: "vue-data-ui-slicer-labels",
8
- style: { position: "relative", "z-index": "1", "pointer-events": "none" }
9
- }, nl = {
10
- key: 0,
11
- style: { width: "100%", position: "relative", "pointer-events": "all" }
12
- }, il = {
13
- key: 0,
14
- class: "minimap",
15
- style: { width: "100%" }
16
- }, ol = ["xmlns", "viewBox"], ul = ["id"], rl = ["stop-color"], sl = ["width", "height", "stroke"], cl = ["d", "stroke"], vl = ["x", "width", "y", "height", "fill"], dl = ["d", "stroke"], hl = ["cx", "cy", "fill", "stroke"], ml = ["x", "width", "height", "fill", "rx"], fl = ["x", "width", "height", "rx", "fill"], gl = ["x", "width", "height", "fill", "rx"], yl = ["x2", "y1", "y2", "stroke"], xl = ["d", "fill"], Ml = ["d", "stroke"], kl = { key: 6 }, bl = ["x", "width", "y", "height", "fill"], wl = ["d", "stroke"], Cl = ["x", "width", "height", "fill", "stroke", "stroke-width"], pl = ["x", "width", "height"], Sl = ["fill", "stroke"], Ll = ["stroke"], Pl = ["fill"], Nl = ["x", "width", "height", "fill", "stroke", "stroke-width"], $l = ["x", "width", "height"], Al = ["fill", "stroke"], Rl = ["stroke"], Tl = ["fill"], El = ["cx", "cy", "stroke", "fill"], Bl = ["cx", "cy", "fill"], Wl = ["cx", "cy", "stroke", "fill"], Il = ["cx", "cy", "fill"], Fl = { key: 12 }, Vl = ["cx", "cy", "fill", "stroke"], Dl = ["cx", "cy", "stroke", "fill"], zl = ["cx", "cy", "fill"], Hl = ["cx", "cy", "stroke", "fill"], Xl = ["cx", "cy", "fill"], Gl = ["height", "x", "width", "onMouseenter"], Ol = ["min", "max"], jl = ["min", "max"], Te = 48, Ul = {
17
- __name: "Slicer",
18
- props: {
19
- background: {
20
- type: String,
21
- default: "#FFFFFF"
22
- },
23
- borderColor: {
24
- type: String,
25
- default: "#FFFFFF"
26
- },
27
- fontSize: {
28
- type: Number,
29
- default: 14
30
- },
31
- labelLeft: {
32
- type: [String, Number],
33
- default: ""
34
- },
35
- labelRight: {
36
- type: [String, Number],
37
- default: ""
38
- },
39
- textColor: {
40
- type: String,
41
- default: "#1A1A1A"
42
- },
43
- inputColor: {
44
- type: String,
45
- default: "#1A1A1A"
46
- },
47
- max: {
48
- type: Number,
49
- default: 0
50
- },
51
- min: {
52
- type: Number,
53
- default: 0
54
- },
55
- selectColor: {
56
- type: String,
57
- default: "#4A4A4A"
58
- },
59
- useResetSlot: {
60
- type: Boolean,
61
- default: !1
62
- },
63
- valueStart: {
64
- type: [Number, String],
65
- default: 0
66
- },
67
- valueEnd: {
68
- type: [Number, String],
69
- default: 0
70
- },
71
- minimap: {
72
- type: Array,
73
- default: []
74
- },
75
- smoothMinimap: {
76
- type: Boolean,
77
- default: !1
78
- },
79
- minimapSelectedColor: {
80
- type: String,
81
- default: "#1f77b4"
82
- },
83
- minimapSelectionRadius: {
84
- type: Number,
85
- default: 12
86
- },
87
- minimapLineColor: {
88
- type: String,
89
- default: "#2D353C"
90
- },
91
- minimapSelectedColorOpacity: {
92
- type: Number,
93
- default: 0.2
94
- },
95
- minimapSelectedIndex: {
96
- type: Number,
97
- default: null
98
- },
99
- minimapIndicatorColor: {
100
- type: String,
101
- default: "#2D353C"
102
- },
103
- refreshStartPoint: {
104
- type: Number,
105
- default: 0
106
- },
107
- refreshEndPoint: {
108
- type: Number,
109
- default: null
110
- },
111
- enableRangeHandles: {
112
- type: Boolean,
113
- default: !1
114
- },
115
- enableSelectionDrag: {
116
- type: Boolean,
117
- default: !0
118
- },
119
- verticalHandles: {
120
- type: Boolean,
121
- default: !1
122
- },
123
- minimapCompact: {
124
- type: Boolean,
125
- default: !1
126
- },
127
- allMinimaps: {
128
- type: Array,
129
- default() {
130
- return [];
131
- }
132
- },
133
- minimapMerged: {
134
- type: Boolean,
135
- default: !1
136
- },
137
- minimapFrameColor: {
138
- type: String,
139
- default: "#e1e5e8"
140
- },
141
- cutNullValues: {
142
- type: Boolean,
143
- default: !1
144
- },
145
- focusOnDrag: {
146
- type: Boolean,
147
- default: !1
148
- },
149
- focusRangeRatio: {
150
- type: Number,
151
- default: 0.1
152
- },
153
- maxWidth: {
154
- type: Number,
155
- default: null
156
- },
157
- isCursorPointer: {
158
- type: Boolean,
159
- default: !1
160
- },
161
- additionalMinimapHeight: {
162
- type: Number,
163
- default: 0
164
- },
165
- handleType: {
166
- type: String,
167
- default: ""
168
- },
169
- handleWidth: {
170
- type: Number,
171
- default: 20
172
- },
173
- handleBorderWidth: {
174
- type: Number,
175
- default: 1
176
- },
177
- handleIconColor: {
178
- type: String,
179
- default: null
180
- },
181
- handleBorderColor: {
182
- type: String,
183
- default: null
184
- },
185
- handleFill: {
186
- type: String,
187
- default: null
188
- }
189
- },
190
- emits: ["update:start", "update:end", "reset", "trapMouse"],
191
- setup(l, { expose: vt, emit: dt }) {
192
- Ot((e) => ({
193
- b23d0982: gt.value,
194
- v3ed703b3: g.value,
195
- v4316bee4: xt.value,
196
- v1f0c44e3: l.selectColor,
197
- v7afd85f1: yt.value
198
- }));
199
- const n = l, C = m(null), p = m(n.min), S = m(n.max), M = s(() => !!n.allMinimaps.length), Ee = m(qt()), A = s(() => M.value && n.minimapCompact), he = m(0);
200
- lt(() => {
201
- const e = () => {
202
- C.value && (he.value = C.value.getBoundingClientRect().width);
203
- };
204
- e();
205
- const a = ct(e, 50);
206
- window.addEventListener("resize", a), $e(() => {
207
- window.removeEventListener("resize", a);
208
- });
209
- });
210
- const ht = s(() => n.refreshEndPoint === null ? n.max : n.refreshEndPoint), Y = dt, J = s(() => {
211
- if (A.value) {
212
- const a = Math.max(1, oe.value - 1);
213
- return xe.value / a * 100;
214
- }
215
- const e = Math.max(1, n.max - n.min);
216
- return (p.value - n.min) / e * 100;
217
- }), re = s(() => {
218
- if (A.value) {
219
- const a = Math.max(1, oe.value - 1);
220
- return Me.value / a * 100;
221
- }
222
- const e = Math.max(1, n.max - n.min);
223
- return (S.value - n.min) / e * 100;
224
- }), me = s(
225
- () => (J.value + re.value) / 2
226
- ), fe = s(() => {
227
- if (!C.value) return !1;
228
- const e = C.value.getBoundingClientRect().width;
229
- return J.value / 100 * e - Pe.value / 2 < 0;
230
- }), ge = s(() => {
231
- if (!C.value) return !1;
232
- const e = C.value.getBoundingClientRect().width;
233
- return re.value / 100 * e + ce.value / 2 > e;
234
- }), N = s(() => {
235
- const e = ge.value ? `calc(${me.value}% - ${ie.value.width}px)` : fe.value ? `calc(${me.value}% - 8px)` : `calc(${me.value}% - ${ie.value.width / 2}px)`;
236
- return {
237
- left: `${J.value}%`,
238
- width: `${Math.max(0, re.value - J.value)}%`,
239
- background: n.selectColor,
240
- tooltipLeft: `calc(${J.value}% - ${fe.value ? 9 : Pe.value / 2}px)`,
241
- tooltipRight: `calc(${re.value}% - ${ge.value ? ce.value - 9 : ce.value / 2}px)`,
242
- tooltipCenter: e,
243
- arrowLeft: !fe.value,
244
- arrowRight: !ge.value
245
- };
246
- }), q = s(() => Math.max(0, (K.value || 1) - 1)), ye = s(() => Math.max(0, (oe.value || 1) - 1));
247
- function se(e) {
248
- return ye.value === 0 ? 0 : Math.round(e / ye.value * q.value);
249
- }
250
- function Be(e) {
251
- return q.value === 0 ? 0 : Math.round(e / q.value * ye.value);
252
- }
253
- const mt = (e) => Math.floor(n.min + e), ft = (e) => Math.ceil(n.min + e), xe = s({
254
- get() {
255
- return A.value ? se(F.value) : Number(p.value);
256
- },
257
- set(e) {
258
- if (A.value) {
259
- const a = Math.round(+e || 0), t = Math.max(
260
- 0,
261
- se(Math.max(0, H.value - 1))
262
- ), u = Math.min(
263
- Math.max(0, a),
264
- t
265
- ), r = Be(u);
266
- _(mt(r));
267
- } else {
268
- let a = Math.round(+e || 0);
269
- const t = Number(S.value) - 1, u = Math.min(Math.max(n.min, a), t);
270
- _(u);
271
- }
272
- }
273
- }), Me = s({
274
- get() {
275
- return A.value ? se(Math.max(F.value, H.value - 1)) : Number(S.value);
276
- },
277
- set(e) {
278
- if (A.value) {
279
- const a = Math.round(+e || 0), t = se(F.value), u = Math.max(a, t), r = Be(u);
280
- ee(ft(r + 1));
281
- } else {
282
- let a = Math.round(+e || 0);
283
- const t = Number(p.value) + 1, u = Math.max(t, Math.min(a, n.max));
284
- ee(u);
285
- }
286
- }
287
- }), gt = s(() => n.inputColor), yt = s(() => n.background), xt = s(() => `${n.selectColor}33`), g = s(() => n.borderColor), We = s(() => {
288
- const e = [];
289
- for (let a = 0; a < n.max; a += 1)
290
- e.push(a);
291
- return e;
292
- });
293
- function Ie() {
294
- Y("reset");
295
- }
296
- U(
297
- () => n.min,
298
- (e) => {
299
- Number(p.value) < Number(e) && (p.value = Number(e)), Number(S.value) < Number(e) && (S.value = Number(e));
300
- }
301
- ), U(
302
- () => n.max,
303
- (e) => {
304
- Number(p.value) > Number(e) && (p.value = Number(e)), Number(S.value) > Number(e) && (S.value = Number(e));
305
- }
306
- );
307
- const ke = m(null), f = m({
308
- width: 1,
309
- height: 1
310
- }), O = m(null);
311
- lt(() => {
312
- if (M.value) {
313
- const e = ct(() => {
314
- const { width: a, height: t } = Qt({
315
- chart: ke.value
316
- });
317
- f.value.width = a, f.value.height = t - 47;
318
- });
319
- O.value = new ResizeObserver(e), O.value.observe(ke.value);
320
- }
321
- }), $e(() => {
322
- O.value && O.value.disconnect();
323
- });
324
- const K = s(() => Math.max(
325
- ...n.allMinimaps.map((e) => e.series.length),
326
- n.minimap.length || 0
327
- )), k = s(() => {
328
- if (!K.value) return 0;
329
- const e = Math.max(1, K.value - (n.minimapCompact ? 1 : 0));
330
- return f.value.width / e;
331
- }), Fe = s(() => {
332
- const e = [];
333
- if (Array.isArray(n.minimap) && n.minimap.length && n.minimapMerged && e.push(...n.minimap.filter(Number.isFinite)), Array.isArray(n.allMinimaps) && n.allMinimaps.length)
334
- for (const a of n.allMinimaps)
335
- a?.isVisible && Array.isArray(a?.series) && e.push(...a.series.filter(Number.isFinite));
336
- return e.length ? { min: Math.min(...e), max: Math.max(...e) } : { min: 0, max: 1 };
337
- }), D = s(() => Fe.value.min), j = s(() => Fe.value.max), Mt = s(() => D.value < 0 && j.value > 0 || j.value <= 0 ? D.value : 0), kt = s(
338
- () => Math.max(1e-9, Math.max(Math.abs(D.value), Math.abs(j.value)))
339
- ), bt = s(() => D.value < 0 && j.value > 0), wt = (e) => {
340
- const a = Math.max(1, f.value.height);
341
- if (bt.value) {
342
- const t = kt.value;
343
- return (1 - (Math.max(-1, Math.min(1, e / t)) + 1) / 2) * a;
344
- } else {
345
- const t = Math.min(0, D.value), u = Math.max(0, j.value);
346
- return a - (e - t) / Math.max(1e-9, u - t) * a;
347
- }
348
- }, Ve = s(() => wt(0)), De = s(() => n.allMinimaps.length ? n.allMinimaps.filter((e) => e.type === "bar").length : 0), be = s(() => k.value / (De.value || 1) * 0.8);
349
- function ze(e, a, t) {
350
- const u = be.value, r = Math.max(1, De.value), h = K.value - 1;
351
- return t === 0 ? e + u / 2 * a : t === h ? e - u / 2 * (r - a) : e - r * u / 2 + a * u;
352
- }
353
- function He(e, a) {
354
- return [0, K.value - 1].includes(a) ? be.value / 2 : be.value;
355
- }
356
- function Ct(e, a, t) {
357
- const u = (x, d, V) => Math.max(d, Math.min(V, x));
358
- if (a <= 0) {
359
- const x = Math.max(1e-9, 0 - e);
360
- return (d) => t - (d - e) / x * t;
361
- }
362
- if (e >= 0) {
363
- const x = Math.max(1e-9, a - 0);
364
- return (d) => t - (d - 0) / x * t;
365
- }
366
- const h = Math.max(1e-9, Math.max(Math.abs(e), Math.abs(a)));
367
- return (x) => (1 - (u(x / h, -1, 1) + 1) / 2) * t;
368
- }
369
- function Xe(e, a = !1) {
370
- if (!e || !e.length)
371
- return {
372
- fullSet: "",
373
- points: [],
374
- selectionSet: "",
375
- sliced: [],
376
- firstPlot: null,
377
- lastPlot: null,
378
- hasFull: !1,
379
- hasSelection: !1,
380
- fullMarkers: [],
381
- selectionMarkers: []
382
- };
383
- const t = Math.max(1, f.value.height), u = Ct(D.value, j.value, t), r = e.length, h = Math.min(Math.max(0, F.value), Math.max(0, r - 1)), x = Math.min(r, Math.max(h + 1, H.value)), d = e.map((y, et) => {
384
- const ue = y, tt = Number.isFinite(ue), Xt = k.value * et + (n.minimapCompact ? 0 : k.value / 2), Gt = u(0);
385
- return {
386
- x: Xt,
387
- y: tt ? u(ue) : NaN,
388
- v: ue,
389
- value: ue == null ? null : tt ? ue : null,
390
- y0: Gt,
391
- i: et
392
- };
393
- }), V = (y) => y >= 0 && y < d.length && Number.isFinite(d[y]?.value), X = d.filter(
394
- (y) => Number.isFinite(y.value) && !V(y.i - 1) && !V(y.i + 1)
395
- ), Ne = X.filter((y) => y.i >= h && y.i < x), G = d.slice(h, x), zt = d.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(d) : ot(d.filter((y) => y.value != null)) : n.cutNullValues ? ut(d) : rt(d.filter((y) => y.value != null)) : "", Ht = G.length >= 2 ? n.smoothMinimap || a ? n.cutNullValues ? it(G) : ot(G.filter((y) => y.value != null)) : n.cutNullValues ? ut(G) : rt(G.filter((y) => y.value != null)) : "";
396
- return {
397
- fullSet: zt,
398
- points: d,
399
- selectionSet: Ht,
400
- sliced: G,
401
- firstPlot: d[h] || null,
402
- lastPlot: d[Math.max(0, x - 1)] || null,
403
- hasFull: d.length >= 2,
404
- hasSelection: G.length >= 2,
405
- fullMarkers: X,
406
- selectionMarkers: Ne
407
- };
408
- }
409
- const v = s(() => n.minimap.length ? Xe(n.minimap) : {
410
- fullSet: "",
411
- selectionSet: "",
412
- sliced: [],
413
- firstPlot: null,
414
- lastPlot: null,
415
- hasFull: !1,
416
- hasSelection: !1
417
- }), Q = s(() => n.allMinimaps.length ? n.allMinimaps.map((e, a) => {
418
- const t = Xe(e?.series || [], !!e.smooth), u = e?.id ?? e?.name ?? a;
419
- return {
420
- key: typeof u == "object" ? JSON.stringify(u) : String(u),
421
- color: e?.color,
422
- ...t,
423
- isVisible: e.isVisible,
424
- type: e.type || "line"
425
- };
426
- }) : []), w = s(() => {
427
- const e = F.value, a = Math.max(e + 1, H.value);
428
- return {
429
- x: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
430
- width: k.value * (a - e) - k.value
431
- };
432
- }), R = m(n.minimapSelectedIndex);
433
- function pt(e) {
434
- R.value = _e(n.valueStart) + e;
435
- }
436
- const St = _t(pt, 60);
437
- U(
438
- () => n.minimapSelectedIndex,
439
- (e, a) => {
440
- if ([null, void 0].includes(e)) {
441
- R.value = null;
442
- return;
443
- }
444
- e !== a && St(e);
445
- },
446
- { immediate: !0 }
447
- );
448
- function Lt(e) {
449
- R.value = e;
450
- const a = F.value, t = H.value;
451
- e >= a && e < t && !I.value && Y("trapMouse", e - a);
452
- }
453
- const we = m(null), Ce = m(null);
454
- function _(e) {
455
- p.value = e, we.value && (we.value.value = e), Y("update:start", Number(p.value));
456
- }
457
- function ee(e) {
458
- S.value = e, Ce.value && (Ce.value.value = e), Y("update:end", Number(S.value));
459
- }
460
- const pe = s(() => n.valueEnd - n.valueStart), Pt = s(() => pe.value < n.max - n.min), te = m(!1);
461
- let Nt = m(null);
462
- const $t = s(() => (he.value - 48) / (n.max - n.min) * pe.value), At = s(() => Math.max(
463
- 1,
464
- he.value - Te - $t.value
465
- )), Rt = s(() => Math.max(1, n.max - n.min - pe.value)), Tt = s(() => Rt.value / At.value), Ge = m(0), Se = m(0), Oe = m(0), Et = m(0);
466
- let T = null, E = null, B = null, W = null;
467
- const je = m(n.min);
468
- function Le(e) {
469
- if (!C.value) return n.min;
470
- const a = C.value.getBoundingClientRect(), t = a.left + Te / 2, u = a.right - Te / 2, r = Math.max(1, u - t), x = (Math.max(t, Math.min(e, u)) - t) / r, d = Math.max(1, n.max - n.min);
471
- return Math.round(n.min + x * d);
472
- }
473
- const Ue = async (e) => {
474
- if (z.value = !0, !n.enableSelectionDrag) return;
475
- const a = e.type === "touchstart";
476
- a || e.stopPropagation();
477
- const t = a && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, u = a ? t ? t.target : null : e.target;
478
- if (!u || !(u instanceof Element) || u.classList && u.classList.contains("range-handle")) return;
479
- te.value = !0;
480
- const r = a ? t ? t.clientX : 0 : e.clientX;
481
- if (Nt.value = r, Ge.value = r, n.focusOnDrag && !Pt.value && C.value) {
482
- je.value = Le(r);
483
- const h = Math.min(0.95, Math.max(0.05, n.focusRangeRatio)), x = n.max - n.min, d = Math.max(1, Math.round(x * h)), V = Math.floor(d / 2);
484
- let X = je.value - V;
485
- X = Math.max(
486
- n.min,
487
- Math.min(X, n.max - d)
488
- );
489
- const Ne = Math.min(n.max, X + d);
490
- _(X), ee(Ne), st(C.value, "mouseup"), await ve(), st(C.value, "mousedown", { clientX: r });
491
- }
492
- Se.value = Number(p.value), Oe.value = Number(S.value), Et.value = Tt.value, T = a ? "touchmove" : "mousemove", E = a ? "touchend" : "mouseup", B = a ? Wt : Bt, W = a ? Ft : It, window.addEventListener(T, B, {
493
- passive: !1
494
- }), window.addEventListener(E, W);
495
- };
496
- function Bt(e) {
497
- te.value && Ze(e.clientX);
498
- }
499
- function Wt(e) {
500
- if (!te.value || !C.value) return;
501
- const a = e.target;
502
- if (!(a instanceof Element) || !C.value.contains(a) || a.classList && a.classList.contains("range-handle")) return;
503
- e.preventDefault();
504
- const t = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
505
- t && Ze(t.clientX);
506
- }
507
- function Ze(e) {
508
- if (!te.value) return;
509
- const a = Le(Ge.value), u = Le(e) - a, r = Math.max(1, Oe.value - Se.value);
510
- let h = Math.round(Se.value + u);
511
- const x = n.min, d = n.max - r;
512
- h < x && (h = x), h > d && (h = d);
513
- const V = h + r;
514
- _(h), ee(V);
515
- }
516
- function It() {
517
- Ye();
518
- }
519
- function Ft() {
520
- Ye();
521
- }
522
- function Ye() {
523
- te.value = !1, T && B && window.removeEventListener(T, B), E && W && window.removeEventListener(E, W), T = E = null, B = W = null;
524
- }
525
- const I = m(!1), le = m(null), ae = m(null), Pe = m(1), ce = m(1), z = m(!1);
526
- function Je() {
527
- le.value && (Pe.value = le.value.getBoundingClientRect().width);
528
- }
529
- function qe() {
530
- ae.value && (ce.value = ae.value.getBoundingClientRect().width);
531
- }
532
- const Ke = m(0);
533
- function Qe(e) {
534
- Ke.value = e === "start" ? 1 : 0;
535
- }
536
- const ne = m(!1), ie = m({
537
- width: 0,
538
- left: 0
539
- });
540
- U([p, S], async () => {
541
- if (await ve(), !le.value || !ae.value) {
542
- ne.value = !1, ie.value = { width: 0, left: 0 };
543
- return;
544
- }
545
- const e = le.value.getBoundingClientRect(), a = ae.value.getBoundingClientRect();
546
- ne.value = e.x + e.width > a.x;
547
- const t = e.x + e.width / 2, u = a.x + a.width / 2, r = e.width + a.width, h = (t + u) / 2;
548
- ie.value = {
549
- width: r,
550
- left: h - r / 2
551
- };
552
- }), jt(() => {
553
- Je(), qe();
554
- }), U(
555
- () => n.labelLeft,
556
- () => {
557
- ve(Je);
558
- },
559
- { deep: !0 }
560
- ), U(
561
- () => n.labelRight,
562
- () => {
563
- ve(qe);
564
- },
565
- { deep: !0 }
566
- ), vt({
567
- setStartValue: _,
568
- setEndValue: ee
569
- }), $e(() => {
570
- O.value && O.value.disconnect(), T && B && window.removeEventListener(T, B), E && W && window.removeEventListener(E, W), T = E = null, B = W = null;
571
- });
572
- const oe = s(() => Math.max(1, n.max - n.min));
573
- function _e(e) {
574
- const a = Math.floor(e - n.min);
575
- return Math.min(Math.max(0, a), oe.value);
576
- }
577
- function Vt(e) {
578
- const a = Math.ceil(e - n.min);
579
- return Math.min(Math.max(0, a), oe.value);
580
- }
581
- const F = s(() => _e(p.value)), H = s(() => Vt(S.value)), Dt = s(() => {
582
- if (!We.value.length) return null;
583
- if (R.value >= F.value && R.value < H.value) {
584
- const e = R.value;
585
- return {
586
- x1: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
587
- x2: k.value * e + (n.minimapCompact ? 0 : k.value / 2),
588
- y1: 0,
589
- y2: Math.max(f.value.height, 0),
590
- stroke: n.minimapIndicatorColor,
591
- "stroke-linecap": "round",
592
- "stroke-dasharray": 2,
593
- "stroke-width": 1
594
- };
595
- } else
596
- return null;
597
- });
598
- return (e, a) => (i(), o("div", {
599
- "data-minimap": M.value,
600
- "data-dom-to-png-ignore": "",
601
- style: P([{ padding: "0 48px" }, {
602
- maxWidth: l.maxWidth ? l.maxWidth + "px" : void 0,
603
- margin: l.maxWidth ? "0 auto" : void 0
604
- }]),
605
- class: "vue-data-ui-zoom",
606
- ref_key: "zoomWrapper",
607
- ref: C,
608
- onMousedown: Ue,
609
- onTouchstart: Ue,
610
- onTouchend: a[11] || (a[11] = (t) => z.value = !1)
611
- }, [
612
- L("div", al, [
613
- l.valueStart !== l.refreshStartPoint || l.valueEnd !== ht.value ? (i(), o("div", nl, [
614
- Ut(e.$slots, "reset-action", { reset: Ie }, () => [
615
- L("button", {
616
- tabindex: "0",
617
- role: "button",
618
- class: "vue-data-ui-refresh-button",
619
- style: P({
620
- top: M.value ? "36px" : "-16px",
621
- cursor: l.isCursorPointer ? "pointer" : "default"
622
- }),
623
- onClick: Ie
624
- }, [
625
- Zt(el, {
626
- name: "refresh",
627
- stroke: l.textColor
628
- }, null, 8, ["stroke"])
629
- ], 4)
630
- ], !0)
631
- ])) : c("", !0)
632
- ]),
633
- L("div", {
634
- class: "double-range-slider",
635
- ref_key: "minimapWrapper",
636
- ref: ke,
637
- style: P([
638
- { "z-index": "0" },
639
- M.value ? {
640
- "--minimap-unit-px": k.value + "px",
641
- "--minimap-offset-px": (l.minimapCompact ? 0 : k.value / 2) + "px"
642
- } : void 0
643
- ]),
644
- onMouseenter: a[9] || (a[9] = (t) => z.value = !0),
645
- onMouseleave: a[10] || (a[10] = (t) => z.value = !1)
646
- }, [
647
- M.value ? (i(), o("div", il, [
648
- (i(), o("svg", {
649
- key: `mm-${l.minimapMerged ? "merged" : "split"}-${l.minimapCompact ? "compact" : "normal"}`,
650
- xmlns: de(Kt),
651
- viewBox: `0 0 ${Math.max(0, f.value.width)} ${Math.max(0, f.value.height)}`
652
- }, [
653
- L("defs", null, [
654
- L("linearGradient", {
655
- id: Ee.value,
656
- x1: "0%",
657
- y1: "0%",
658
- x2: "0%",
659
- y2: "100%"
660
- }, [
661
- L("stop", {
662
- offset: "0%",
663
- "stop-color": `${l.minimapLineColor}50`
664
- }, null, 8, rl),
665
- a[12] || (a[12] = L("stop", {
666
- offset: "100%",
667
- "stop-color": "transparent"
668
- }, null, -1))
669
- ], 8, ul)
670
- ]),
671
- l.minimapCompact ? (i(), o("rect", {
672
- key: 0,
673
- class: "vue-ui-zoom-minimap-frame",
674
- x: 0,
675
- y: 0,
676
- width: f.value.width,
677
- height: f.value.height,
678
- fill: "none",
679
- stroke: l.minimapFrameColor,
680
- rx: 3
681
- }, null, 8, sl)) : c("", !0),
682
- l.minimapMerged ? (i(), o("path", {
683
- key: 1,
684
- d: `M${v.value.fullSet}`,
685
- stroke: `${l.minimapLineColor}`,
686
- fill: "none",
687
- "stroke-width": "1",
688
- "stroke-linecap": "round",
689
- "stroke-linejoin": "round",
690
- style: { opacity: "0.6" }
691
- }, null, 8, cl)) : (i(), o(b, { key: 2 }, [
692
- (i(!0), o(b, null, $(Q.value.filter(
693
- (t) => t.type === "bar"
694
- ), (t, u) => (i(), o("g", null, [
695
- (i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
696
- t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
697
- key: 0,
698
- x: ze(r.x, u, h),
699
- width: He(u, h),
700
- y: r.v >= 0 ? r.y : r.y0,
701
- height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
702
- fill: t.color,
703
- style: { opacity: "0.6" }
704
- }, null, 8, vl)) : c("", !0)
705
- ], 64))), 256))
706
- ]))), 256)),
707
- (i(!0), o(b, null, $(Q.value.filter(
708
- (t) => t.type === "line"
709
- ), (t) => (i(), o("g", {
710
- key: String(t.key)
711
- }, [
712
- t.isVisible ? (i(), o("path", {
713
- key: 0,
714
- d: `M ${t.fullSet}`,
715
- fill: "none",
716
- stroke: t.color,
717
- style: { opacity: "0.6" }
718
- }, null, 8, dl)) : c("", !0),
719
- t.isVisible ? (i(!0), o(b, { key: 1 }, $(t.fullMarkers, (u) => (i(), o("circle", {
720
- key: `sel-dot-under-${t.key}-${u.i}`,
721
- cx: u.x,
722
- cy: u.y,
723
- r: "2",
724
- fill: t.color,
725
- stroke: g.value,
726
- "stroke-width": "0.5",
727
- style: { opacity: "0.6" }
728
- }, null, 8, hl))), 128)) : c("", !0)
729
- ]))), 128))
730
- ], 64)),
731
- L("rect", {
732
- x: w.value.x,
733
- width: w.value.width < 0 ? 0 : w.value.width,
734
- height: Math.max(f.value.height, 0),
735
- y: 0,
736
- fill: g.value,
737
- rx: l.minimapSelectionRadius,
738
- stroke: "none"
739
- }, null, 8, ml),
740
- L("rect", {
741
- x: w.value.x,
742
- width: w.value.width < 0 ? 0 : w.value.width,
743
- height: Math.max(f.value.height, 0),
744
- y: 0,
745
- rx: l.minimapSelectionRadius,
746
- fill: g.value
747
- }, null, 8, fl),
748
- L("rect", {
749
- x: w.value.x,
750
- width: w.value.width < 0 ? 0 : w.value.width,
751
- height: Math.max(f.value.height, 0),
752
- y: 0,
753
- fill: l.minimapSelectedColor,
754
- rx: l.minimapSelectionRadius,
755
- style: P({
756
- opacity: l.minimapSelectedColorOpacity
757
- })
758
- }, null, 12, gl),
759
- R.value !== null && !I.value ? (i(), o("line", Yt(Jt({ key: 3 }, Dt.value)), null, 16)) : c("", !0),
760
- !l.minimapMerged && Mt.value < 0 ? (i(), o("line", {
761
- key: 4,
762
- class: "slicer-minimap-zero-line",
763
- x1: 0,
764
- x2: f.value.width,
765
- y1: Ve.value,
766
- y2: Ve.value,
767
- stroke: l.minimapFrameColor,
768
- "stroke-width": "0.5"
769
- }, null, 8, yl)) : c("", !0),
770
- l.minimapMerged ? (i(), o(b, { key: 5 }, [
771
- v.value && v.value.sliced && v.value.sliced.length ? (i(), o(b, { key: 0 }, [
772
- v.value.selectionSet ? (i(), o("path", {
773
- key: 0,
774
- d: `M${v.value.sliced[0].x},${Math.max(f.value.height, 0)} ${v.value.selectionSet} L${v.value.sliced[v.value.sliced.length - 1].x},${Math.max(f.value.height, 0)}Z`,
775
- fill: `url(#${Ee.value})`,
776
- stroke: "none",
777
- style: { opacity: "1" }
778
- }, null, 8, xl)) : c("", !0),
779
- v.value.selectionSet ? (i(), o("path", {
780
- key: 1,
781
- d: `M ${v.value.selectionSet}`,
782
- stroke: `${l.minimapLineColor}`,
783
- fill: "transparent",
784
- "stroke-width": "2",
785
- "stroke-linecap": "round",
786
- "stroke-linejoin": "round"
787
- }, null, 8, Ml)) : c("", !0)
788
- ], 64)) : c("", !0)
789
- ], 64)) : (i(), o("g", kl, [
790
- (i(!0), o(b, null, $(Q.value.filter(
791
- (t) => t.type === "bar"
792
- ), (t, u) => (i(), o("g", null, [
793
- (i(!0), o(b, null, $(t.points, (r, h) => (i(), o(b, null, [
794
- t.isVisible && !isNaN(r.y) ? (i(), o("rect", {
795
- key: 0,
796
- x: ze(r.x, u, h),
797
- width: He(u, h),
798
- y: r.v >= 0 ? r.y : r.y0,
799
- height: r.v >= 0 ? r.y0 - r.y : r.y - r.y0,
800
- fill: t.color,
801
- style: P({
802
- opacity: h >= l.valueStart && h <= l.valueEnd - 1 ? 1 : 0
803
- })
804
- }, null, 12, bl)) : c("", !0)
805
- ], 64))), 256))
806
- ]))), 256)),
807
- (i(!0), o(b, null, $(Q.value.filter(
808
- (t) => t.type === "line"
809
- ), (t) => (i(), o("g", {
810
- key: String(t.key)
811
- }, [
812
- t && t.hasSelection && t.selectionSet && t.isVisible ? (i(), o("path", {
813
- key: 0,
814
- d: `M ${t.selectionSet}`,
815
- stroke: t.color,
816
- fill: "transparent",
817
- "stroke-width": "2",
818
- "stroke-linecap": "round",
819
- "stroke-linejoin": "round"
820
- }, null, 8, wl)) : c("", !0)
821
- ]))), 128))
822
- ])),
823
- M.value && l.minimapCompact ? (i(), o("rect", {
824
- key: 7,
825
- class: "vue-ui-zoom-compact-minimap-handle",
826
- x: w.value.x - Math.min(40, Math.max(20, l.handleWidth)),
827
- y: 0,
828
- width: Math.min(40, Math.max(20, l.handleWidth)),
829
- height: f.value.height,
830
- fill: l.handleFill || g.value,
831
- stroke: l.handleBorderColor || l.textColor,
832
- "stroke-width": l.handleBorderWidth,
833
- rx: 3
834
- }, null, 8, Cl)) : c("", !0),
835
- l.handleType && l.handleType !== "empty" ? (i(), o("svg", {
836
- key: 8,
837
- x: w.value.x - Math.min(40, Math.max(20, l.handleWidth)),
838
- y: 0,
839
- width: Math.min(40, Math.max(20, l.handleWidth)),
840
- height: f.value.height,
841
- viewBox: "0 0 20 20"
842
- }, [
843
- l.handleType === "arrow" ? (i(), o("path", {
844
- key: 0,
845
- 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",
846
- fill: g.value,
847
- stroke: l.handleIconColor || l.textColor,
848
- "stroke-width": 0.618,
849
- "stroke-linejoin": "round",
850
- "stroke-linecap": "round"
851
- }, null, 8, Sl)) : l.handleType === "chevron" ? (i(), o("path", {
852
- key: 1,
853
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
854
- fill: "none",
855
- stroke: l.handleIconColor || l.textColor,
856
- "stroke-width": 0.618,
857
- "stroke-linejoin": "round",
858
- "stroke-linecap": "round"
859
- }, null, 8, Ll)) : l.handleType === "grab" ? (i(), o("path", {
860
- key: 2,
861
- 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",
862
- fill: l.handleIconColor || l.textColor,
863
- stroke: "none",
864
- opacity: "0.6"
865
- }, null, 8, Pl)) : c("", !0)
866
- ], 8, pl)) : c("", !0),
867
- M.value && l.minimapCompact ? (i(), o("rect", {
868
- key: 9,
869
- class: "vue-ui-zoom-compact-minimap-handle",
870
- x: w.value.x + w.value.width,
871
- y: 0,
872
- width: Math.min(40, Math.max(20, l.handleWidth)),
873
- height: f.value.height,
874
- fill: l.handleFill || g.value,
875
- stroke: l.handleBorderColor || l.textColor,
876
- "stroke-width": l.handleBorderWidth,
877
- rx: 3
878
- }, null, 8, Nl)) : c("", !0),
879
- l.handleType && l.handleType !== "empty" ? (i(), o("svg", {
880
- key: 10,
881
- x: w.value.x + w.value.width,
882
- y: 0,
883
- width: Math.min(40, Math.max(20, l.handleWidth)),
884
- height: f.value.height,
885
- viewBox: "0 0 20 20"
886
- }, [
887
- l.handleType === "arrow" ? (i(), o("path", {
888
- key: 0,
889
- 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",
890
- fill: g.value,
891
- stroke: l.handleIconColor || l.textColor,
892
- "stroke-width": 0.618,
893
- "stroke-linejoin": "round",
894
- "stroke-linecap": "round"
895
- }, null, 8, Al)) : l.handleType === "chevron" ? (i(), o("path", {
896
- key: 1,
897
- d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
898
- fill: "none",
899
- stroke: l.handleIconColor || l.textColor,
900
- "stroke-width": 0.618,
901
- "stroke-linejoin": "round",
902
- "stroke-linecap": "round"
903
- }, null, 8, Rl)) : l.handleType === "grab" ? (i(), o("path", {
904
- key: 2,
905
- 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",
906
- fill: l.handleIconColor || l.textColor,
907
- stroke: "none",
908
- opacity: "0.6"
909
- }, null, 8, Tl)) : c("", !0)
910
- ], 8, $l)) : c("", !0),
911
- l.minimapMerged ? (i(), o(b, { key: 11 }, [
912
- v.value && v.value.firstPlot && v.value.firstPlot.value !== null ? (i(), o("circle", {
913
- key: 0,
914
- cx: v.value.firstPlot.x,
915
- cy: v.value.firstPlot.y,
916
- "stroke-width": "0.5",
917
- stroke: g.value,
918
- r: "4",
919
- fill: l.minimapLineColor
920
- }, null, 8, El)) : c("", !0),
921
- v.value && v.value.firstPlot && v.value.firstPlot.value !== null ? (i(), o("circle", {
922
- key: 1,
923
- cx: v.value.firstPlot.x,
924
- cy: v.value.firstPlot.y,
925
- r: "2",
926
- fill: g.value
927
- }, null, 8, Bl)) : c("", !0),
928
- v.value && v.value.lastPlot && v.value.lastPlot.value !== null ? (i(), o("circle", {
929
- key: 2,
930
- cx: v.value.lastPlot.x,
931
- cy: v.value.lastPlot.y,
932
- "stroke-width": "0.5",
933
- stroke: g.value,
934
- r: "4",
935
- fill: l.minimapLineColor
936
- }, null, 8, Wl)) : c("", !0),
937
- v.value && v.value.lastPlot && v.value.lastPlot.value !== null ? (i(), o("circle", {
938
- key: 3,
939
- cx: v.value.lastPlot.x,
940
- cy: v.value.lastPlot.y,
941
- r: "2",
942
- fill: g.value
943
- }, null, 8, Il)) : c("", !0)
944
- ], 64)) : (i(), o("g", Fl, [
945
- (i(!0), o(b, null, $(Q.value.filter(
946
- (t) => t.type === "line"
947
- ), (t) => (i(), o("g", {
948
- key: String(t.key)
949
- }, [
950
- t.isVisible ? (i(!0), o(b, { key: 0 }, $(t.selectionMarkers, (u) => (i(), o("circle", {
951
- key: `sel-dot-${t.key}-${u.i}`,
952
- cx: u.x,
953
- cy: u.y,
954
- r: "2.5",
955
- fill: t.color,
956
- stroke: g.value,
957
- "stroke-width": "0.5"
958
- }, null, 8, Vl))), 128)) : c("", !0),
959
- t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (i(), o("circle", {
960
- key: 1,
961
- cx: t.firstPlot.x,
962
- cy: t.firstPlot.y,
963
- "stroke-width": "0.5",
964
- stroke: g.value,
965
- r: "4",
966
- fill: t.color
967
- }, null, 8, Dl)) : c("", !0),
968
- t && t.firstPlot && t.isVisible && t.firstPlot.value !== null ? (i(), o("circle", {
969
- key: 2,
970
- cx: t.firstPlot.x,
971
- cy: t.firstPlot.y,
972
- r: "2",
973
- fill: g.value
974
- }, null, 8, zl)) : c("", !0),
975
- t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (i(), o("circle", {
976
- key: 3,
977
- cx: t.lastPlot.x,
978
- cy: t.lastPlot.y,
979
- "stroke-width": "0.5",
980
- stroke: g.value,
981
- r: "4",
982
- fill: t.color
983
- }, null, 8, Hl)) : c("", !0),
984
- t && t.lastPlot && t.isVisible && t.lastPlot.value !== null ? (i(), o("circle", {
985
- key: 4,
986
- cx: t.lastPlot.x,
987
- cy: t.lastPlot.y,
988
- r: "2",
989
- fill: g.value
990
- }, null, 8, Xl)) : c("", !0)
991
- ]))), 128))
992
- ])),
993
- (i(!0), o(b, null, $(We.value, (t, u) => (i(), o("rect", {
994
- key: `trap-${u}`,
995
- y: 0,
996
- height: Math.max(f.value.height, 0),
997
- fill: "transparent",
998
- style: P([{ "pointer-events": "all !important" }, {
999
- cursor: t >= F.value && t < H.value && l.enableSelectionDrag ? I.value ? "grabbing" : "grab" : "default"
1000
- }]),
1001
- x: k.value * u - (l.minimapCompact ? k.value / 2 : 0),
1002
- width: k.value < 0 ? 0 : k.value,
1003
- onMousedown: a[0] || (a[0] = (r) => I.value = !0),
1004
- onMouseup: a[1] || (a[1] = (r) => I.value = !1),
1005
- onMouseenter: (r) => Lt(t),
1006
- onMouseleave: a[2] || (a[2] = (r) => {
1007
- R.value = null, Y("trapMouse", null);
1008
- })
1009
- }, null, 44, Gl))), 128))
1010
- ], 8, ol))
1011
- ])) : c("", !0),
1012
- L("div", {
1013
- class: "slider-track",
1014
- style: P({
1015
- visibility: M.value && l.minimapCompact ? "hidden" : "visible"
1016
- })
1017
- }, null, 4),
1018
- L("div", {
1019
- class: Z({
1020
- "range-highlight": !0,
1021
- move: l.enableSelectionDrag
1022
- }),
1023
- onMousedown: a[3] || (a[3] = (t) => I.value = !0),
1024
- onMouseup: a[4] || (a[4] = (t) => I.value = !1),
1025
- style: P({
1026
- ...N.value,
1027
- cursor: I.value ? "grabbing" : "grab",
1028
- visibility: M.value && l.minimapCompact ? "hidden" : "visible"
1029
- })
1030
- }, null, 38),
1031
- l.enableRangeHandles ? at((i(), o("input", {
1032
- key: 1,
1033
- ref_key: "rangeStart",
1034
- ref: we,
1035
- type: "range",
1036
- class: Z({
1037
- "range-left": !0,
1038
- "range-handle": !0,
1039
- "range-minimap": M.value && l.verticalHandles,
1040
- "range-invisible": M.value && l.minimapCompact
1041
- }),
1042
- min: l.min,
1043
- max: A.value && l.minimapCompact ? q.value : l.max,
1044
- step: 1,
1045
- "onUpdate:modelValue": a[5] || (a[5] = (t) => xe.value = t),
1046
- onMouseenter: a[6] || (a[6] = (t) => Qe("start"))
1047
- }, null, 42, Ol)), [
1048
- [
1049
- nt,
1050
- xe.value,
1051
- void 0,
1052
- { number: !0 }
1053
- ]
1054
- ]) : c("", !0),
1055
- l.enableRangeHandles ? at((i(), o("input", {
1056
- key: 2,
1057
- ref_key: "rangeEnd",
1058
- ref: Ce,
1059
- type: "range",
1060
- class: Z({
1061
- "range-right": !0,
1062
- "range-handle": !0,
1063
- "range-minimap": M.value && l.verticalHandles,
1064
- "range-invisible": M.value && l.minimapCompact
1065
- }),
1066
- min: l.min,
1067
- max: A.value && l.minimapCompact ? q.value : l.max,
1068
- step: 1,
1069
- "onUpdate:modelValue": a[7] || (a[7] = (t) => Me.value = t),
1070
- onMouseenter: a[8] || (a[8] = (t) => Qe("end"))
1071
- }, null, 42, jl)), [
1072
- [
1073
- nt,
1074
- Me.value,
1075
- void 0,
1076
- { number: !0 }
1077
- ]
1078
- ]) : c("", !0),
1079
- l.labelLeft ? (i(), o("div", {
1080
- key: 3,
1081
- ref_key: "tooltipLeft",
1082
- ref: le,
1083
- class: Z({
1084
- "range-tooltip": !0,
1085
- "range-tooltip-visible": z.value,
1086
- "range-tooltip-arrow": N.value.arrowLeft && !l.verticalHandles,
1087
- "range-tooltip-arrow-left": !N.value.arrowLeft && !l.verticalHandles
1088
- }),
1089
- style: P({
1090
- left: N.value.tooltipLeft,
1091
- color: de(Re)(l.selectColor),
1092
- backgroundColor: l.selectColor,
1093
- border: `1px solid ${g.value}`,
1094
- zIndex: `${Ke.value + 4}`,
1095
- visibility: ne.value || l.labelLeft === l.labelRight ? "hidden" : "visible",
1096
- top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1097
- })
1098
- }, Ae(l.labelLeft), 7)) : c("", !0),
1099
- (ne.value || l.labelLeft === l.labelRight) && (l.labelLeft || l.labelRight) ? (i(), o("div", {
1100
- key: 4,
1101
- ref: "tooltipMerge",
1102
- class: Z({
1103
- "range-tooltip": !0,
1104
- "range-tooltip-visible": z.value,
1105
- "range-tooltip-arrow": !0,
1106
- "range-tooltip-arrow-left": !N.value.arrowLeft && !l.verticalHandles,
1107
- "range-tooltip-arrow-right": !N.value.arrowRight && !l.verticalHandles
1108
- }),
1109
- style: P({
1110
- left: N.value.tooltipCenter,
1111
- width: ie.value.width + "px",
1112
- color: de(Re)(l.selectColor),
1113
- backgroundColor: l.selectColor,
1114
- border: `1px solid ${g.value}`,
1115
- zIndex: "4",
1116
- top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1117
- })
1118
- }, Ae(l.labelLeft === l.labelRight ? l.labelLeft : `${l.labelLeft} - ${l.labelRight}`), 7)) : c("", !0),
1119
- l.labelRight ? (i(), o("div", {
1120
- key: 5,
1121
- ref_key: "tooltipRight",
1122
- ref: ae,
1123
- class: Z({
1124
- "range-tooltip": !0,
1125
- "range-tooltip-visible": z.value,
1126
- "range-tooltip-arrow": N.value.arrowRight && !l.verticalHandles,
1127
- "range-tooltip-arrow-right": !N.value.arrowRight && !l.verticalHandles
1128
- }),
1129
- style: P({
1130
- left: N.value.tooltipRight,
1131
- color: de(Re)(l.selectColor),
1132
- backgroundColor: l.selectColor,
1133
- border: `1px solid ${g.value}`,
1134
- zIndex: "4",
1135
- visibility: ne.value || l.labelLeft === l.labelRight ? "hidden" : "visible",
1136
- top: M.value && l.minimapCompact ? "calc(-100% - 18px)" : "-100%"
1137
- })
1138
- }, Ae(l.labelRight), 7)) : c("", !0)
1139
- ], 36)
1140
- ], 44, ll));
1141
- }
1142
- }, Ql = /* @__PURE__ */ tl(Ul, [["__scopeId", "data-v-f688cd63"]]);
1143
- export {
1144
- Ql as S
1145
- };