vue-data-ui 3.19.9 → 3.20.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.
- package/dist/{A11yDataTable-q2-8fSlJ.js → A11yDataTable-BCbtxMU6.js} +1 -1
- package/dist/{Arrow-Cj6W6Xbi.js → Arrow-D6j6ocXm.js} +1 -1
- package/dist/{BaseDraggableDialog-DUUu2E2Q.js → BaseDraggableDialog-4hDW-Rj2.js} +4 -4
- package/dist/{BaseIcon-DM1x8hQF.js → BaseIcon-DfLoHNUj.js} +3 -3
- package/dist/{BaseLegendToggle-CJTwLGXL.js → BaseLegendToggle-C_Db-y7s.js} +2 -2
- package/dist/{BaseScanner-C7dmAref.js → BaseScanner-Dr2a1Msy.js} +1 -1
- package/dist/{BaseZoomControls-BkajQ8q9.js → BaseZoomControls-CG7hI_1P.js} +3 -3
- package/dist/{ColorPicker-DTQeqKUV.js → ColorPicker-Bjwxnvfh.js} +4 -4
- package/dist/{DataTable-DmE8Oo4i.js → DataTable-B--IN22e.js} +3 -3
- package/dist/{Legend-Gg5Q4Clb.js → Legend-Cz2uQ5gs.js} +4 -4
- package/dist/{NonSvgPenAndPaper-tvWXeCsd.js → NonSvgPenAndPaper-gLNJ1Lmr.js} +28 -28
- package/dist/{PackageVersion-Dl9W5zJD.js → PackageVersion-xcyrdRmY.js} +2 -2
- package/dist/{PenAndPaper-DNgm6y3l.js → PenAndPaper-DqrClVfb.js} +11 -11
- package/dist/{Shape-DEGOZ6GG.js → Shape-BPCJfphn.js} +1 -1
- package/dist/{Slicer-CPWGgGSp.js → Slicer-SHBj0VaV.js} +19 -19
- package/dist/{SlicerPreview-BU3ZeHjR.js → SlicerPreview-DdihbUSJ.js} +474 -361
- package/dist/{SparkTooltip-c2DL7gqD.js → SparkTooltip-CfE6yCad.js} +7 -7
- package/dist/{Title-__gWq2g6.js → Title-NWp4qB4K.js} +2 -2
- package/dist/{Tooltip-CuWEYGr3.js → Tooltip-BENq327o.js} +1 -1
- package/dist/{UserOptions-D7zR0tnR.js → UserOptions-C1NgoGu6.js} +5 -5
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-pattern.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-9WSt6hXe.js → dom-to-png-BYtB4BF3.js} +1 -1
- package/dist/exposedLib-CI8ji8G-.js +19 -0
- package/dist/{geoProjections-CQIkC70z.js → geoProjections-Czak6Jn1.js} +3 -4
- package/dist/{img-BjOr008R.js → img-1cKsci8e.js} +2 -2
- package/dist/{labelUtils-Cr97N8E1.js → labelUtils-CUctkYoA.js} +1 -1
- package/dist/{lib-BkiwukKO.js → lib-DUeYQsS0.js} +4 -1
- package/dist/{pdf-DSXSFUnK.js → pdf-D0eZ99cP.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +1557 -193
- package/dist/types/vue-ui-3d-bar.d.ts +16 -1
- package/dist/types/vue-ui-age-pyramid.d.ts +14 -1
- package/dist/types/vue-ui-annotator.d.ts +28 -6
- package/dist/types/vue-ui-bullet.d.ts +14 -1
- package/dist/types/vue-ui-bump.d.ts +16 -1
- package/dist/types/vue-ui-candlestick.d.ts +16 -3
- package/dist/types/vue-ui-carousel-table.d.ts +14 -1
- package/dist/types/vue-ui-chestnut.d.ts +20 -1
- package/dist/types/vue-ui-chord.d.ts +20 -1
- package/dist/types/vue-ui-circle-pack.d.ts +16 -1
- package/dist/types/vue-ui-dag.d.ts +20 -1
- package/dist/types/vue-ui-dashboard.d.ts +16 -1
- package/dist/types/vue-ui-donut-evolution.d.ts +16 -1
- package/dist/types/vue-ui-donut.d.ts +18 -1
- package/dist/types/vue-ui-dumbbell.d.ts +16 -1
- package/dist/types/vue-ui-flow.d.ts +14 -1
- package/dist/types/vue-ui-funnel.d.ts +14 -1
- package/dist/types/vue-ui-galaxy.d.ts +18 -1
- package/dist/types/vue-ui-gauge.d.ts +14 -1
- package/dist/types/vue-ui-geo.d.ts +14 -1
- package/dist/types/vue-ui-heatmap.d.ts +16 -1
- package/dist/types/vue-ui-history-plot.d.ts +18 -1
- package/dist/types/vue-ui-horizontal-bar.d.ts +18 -1
- package/dist/types/vue-ui-molecule.d.ts +16 -1
- package/dist/types/vue-ui-mood-radar.d.ts +14 -1
- package/dist/types/vue-ui-nested-donuts.d.ts +18 -1
- package/dist/types/vue-ui-onion.d.ts +16 -1
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +18 -1
- package/dist/types/vue-ui-quadrant.d.ts +24 -1
- package/dist/types/vue-ui-quick-chart.d.ts +20 -1
- package/dist/types/vue-ui-radar.d.ts +16 -1
- package/dist/types/vue-ui-rating.d.ts +12 -1
- package/dist/types/vue-ui-relation-circle.d.ts +14 -1
- package/dist/types/vue-ui-ridgeline.d.ts +22 -1
- package/dist/types/vue-ui-rings.d.ts +16 -1
- package/dist/types/vue-ui-scatter.d.ts +16 -1
- package/dist/types/vue-ui-smiley.d.ts +22 -6
- package/dist/types/vue-ui-sparkbar.d.ts +14 -1
- package/dist/types/vue-ui-sparkhistogram.d.ts +14 -1
- package/dist/types/vue-ui-sparkline.d.ts +16 -1
- package/dist/types/vue-ui-sparkstackbar.d.ts +16 -1
- package/dist/types/vue-ui-stackbar.d.ts +22 -1
- package/dist/types/vue-ui-stackline.d.ts +22 -1
- package/dist/types/vue-ui-strip-plot.d.ts +16 -1
- package/dist/types/vue-ui-table-sparkline.d.ts +14 -1
- package/dist/types/vue-ui-table.d.ts +17 -4
- package/dist/types/vue-ui-thermometer.d.ts +14 -1
- package/dist/types/vue-ui-timer.d.ts +14 -1
- package/dist/types/vue-ui-tiremarks.d.ts +14 -1
- package/dist/types/vue-ui-treemap.d.ts +18 -1
- package/dist/types/vue-ui-waffle.d.ts +16 -1
- package/dist/types/vue-ui-wheel.d.ts +14 -1
- package/dist/types/vue-ui-word-cloud.d.ts +14 -1
- package/dist/types/vue-ui-world.d.ts +18 -1
- package/dist/types/vue-ui-xy-canvas.d.ts +18 -1
- package/dist/types/vue-ui-xy.d.ts +22 -1
- package/dist/{useAutoSizeLabelsInsideViewbox-dp-3Gg97.js → useAutoSizeLabelsInsideViewbox-BIVntRZp.js} +1 -1
- package/dist/{useConfig-ByaaSKhz.js → useConfig-DAyQk86L.js} +9 -1
- package/dist/{useNestedProp-Ck4hsrpu.js → useNestedProp-CNcoy38D.js} +2 -2
- package/dist/{useObjectBindings-BR1sGimd.js → useObjectBindings-BI7hP-BC.js} +53 -53
- package/dist/{usePrinter-X0yWOynH.js → usePrinter-C1Gqt_Sp.js} +2 -2
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-nsosW-n5.js → vue-data-ui-qpQv-4uP.js} +69 -69
- package/dist/vue-data-ui.js +75 -75
- package/dist/{vue-ui-3d-bar-CTvvvgBE.js → vue-ui-3d-bar-C8cputoI.js} +312 -312
- package/dist/{vue-ui-accordion-BX9WL-QF.js → vue-ui-accordion-Dw4MHKVB.js} +6 -6
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +1238 -0
- package/dist/{vue-ui-annotator-Be3VpH8Z.js → vue-ui-annotator-DLPUAKlm.js} +66 -66
- package/dist/vue-ui-bullet-DLxmtMJ9.js +710 -0
- package/dist/{vue-ui-bump-LQuPTOlm.js → vue-ui-bump-DVaqtZbd.js} +260 -260
- package/dist/{vue-ui-candlestick-BeO06tlH.js → vue-ui-candlestick-CkApimw1.js} +81 -81
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +455 -0
- package/dist/vue-ui-chestnut-CQT4nCFL.js +2010 -0
- package/dist/vue-ui-chord-8IjSrg6f.js +1391 -0
- package/dist/{vue-ui-circle-pack-DyTYvEg3.js → vue-ui-circle-pack-B1CpTtpw.js} +51 -51
- package/dist/{vue-ui-cursor-C5_wkWul.js → vue-ui-cursor-NaTj5i2-.js} +6 -6
- package/dist/{vue-ui-dag-mH0baWM3.js → vue-ui-dag-DH4ocx0S.js} +46 -46
- package/dist/{vue-ui-dashboard-F7pEuJDh.js → vue-ui-dashboard-Ckff1yim.js} +73 -73
- package/dist/{vue-ui-digits-BYBtwXy_.js → vue-ui-digits-DwLlJqbW.js} +6 -6
- package/dist/vue-ui-donut-DQdIdwRU.js +2410 -0
- package/dist/{vue-ui-donut-evolution-C46h0gLy.js → vue-ui-donut-evolution-MfM5kK6w.js} +417 -417
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +1530 -0
- package/dist/{vue-ui-flow-BYYyk5KL.js → vue-ui-flow-CJh6f72m.js} +107 -107
- package/dist/vue-ui-funnel-C9gfXNCr.js +777 -0
- package/dist/{vue-ui-galaxy-D061gTYS.js → vue-ui-galaxy-pBR_FESJ.js} +302 -302
- package/dist/vue-ui-gauge-CAemxCGl.js +920 -0
- package/dist/{vue-ui-geo-BwOMFUVr.js → vue-ui-geo-BDQqaukJ.js} +35 -35
- package/dist/{vue-ui-gizmo-CQsP8Nd3.js → vue-ui-gizmo-B1ppjqPj.js} +63 -63
- package/dist/{vue-ui-heatmap-DOsulVoP.js → vue-ui-heatmap-BiC9xp8L.js} +259 -259
- package/dist/vue-ui-history-plot-iAPjlOja.js +1554 -0
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +1681 -0
- package/dist/{vue-ui-kpi-CE-JFZ1o.js → vue-ui-kpi-CJ5oyYLS.js} +6 -6
- package/dist/{vue-ui-mini-loader-DDJUya9e.js → vue-ui-mini-loader-CyqBt2g4.js} +5 -5
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +925 -0
- package/dist/{vue-ui-mood-radar-B29gVcTN.js → vue-ui-mood-radar-N8osOTFR.js} +36 -36
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +1487 -0
- package/dist/{vue-ui-onion-MN-PjNJq.js → vue-ui-onion-C56gFjO6.js} +294 -294
- package/dist/{vue-ui-parallel-coordinate-plot-C9zU7MP5.js → vue-ui-parallel-coordinate-plot-C-jj819p.js} +123 -128
- package/dist/{vue-ui-pattern-seed-abRweCDE.js → vue-ui-pattern-seed-BB1honLm.js} +1 -1
- package/dist/{vue-ui-quadrant-h-QFG9O4.js → vue-ui-quadrant-DYc9xZY3.js} +443 -443
- package/dist/{vue-ui-quick-chart-PAVz4c9z.js → vue-ui-quick-chart-BG7kK_-q.js} +193 -193
- package/dist/{vue-ui-radar-D2pVd53z.js → vue-ui-radar-CgKog9Xw.js} +77 -77
- package/dist/{vue-ui-rating-D_QR_A3V.js → vue-ui-rating-BG4lf1z8.js} +41 -41
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +924 -0
- package/dist/{vue-ui-ridgeline-DamvqiyJ.js → vue-ui-ridgeline-DPrlVJTW.js} +376 -376
- package/dist/{vue-ui-rings-DkHS5dwd.js → vue-ui-rings-CIvvHHsF.js} +107 -107
- package/dist/vue-ui-scatter-CeBQJbGx.js +2413 -0
- package/dist/{vue-ui-skeleton-zhkS1cmh.js → vue-ui-skeleton-BKoa_G6d.js} +44 -44
- package/dist/{vue-ui-smiley-rFdGxZK6.js → vue-ui-smiley-G89TxRU-.js} +14 -14
- package/dist/{vue-ui-spark-trend-fQ10-UvM.js → vue-ui-spark-trend-DGOrPr9I.js} +121 -121
- package/dist/{vue-ui-sparkbar-D5toou8V.js → vue-ui-sparkbar-BVumo-YD.js} +107 -107
- package/dist/{vue-ui-sparkgauge-DRZcIPYf.js → vue-ui-sparkgauge-BoCwdQcu.js} +56 -56
- package/dist/{vue-ui-sparkhistogram-YizEqFdN.js → vue-ui-sparkhistogram-4qXY1LXW.js} +112 -112
- package/dist/vue-ui-sparkline-C0kzXrwI.js +1507 -0
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +662 -0
- package/dist/{vue-ui-stackbar-BFLCEsRk.js → vue-ui-stackbar-Dnq4l5xs.js} +296 -293
- package/dist/vue-ui-stackline-CaNOHQYl.js +2398 -0
- package/dist/{vue-ui-strip-plot-ByaDLFSL.js → vue-ui-strip-plot-D2CcJw_5.js} +79 -79
- package/dist/{vue-ui-table-DuA_CfGn.js → vue-ui-table-NBQrkVnO.js} +84 -84
- package/dist/{vue-ui-table-heatmap-BFKyJTr1.js → vue-ui-table-heatmap-CCGjbSzQ.js} +22 -22
- package/dist/{vue-ui-table-sparkline-Dfei_QrJ.js → vue-ui-table-sparkline-BZDkOEEl.js} +125 -125
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +763 -0
- package/dist/{vue-ui-timer-9LNNDl4q.js → vue-ui-timer-CcLK1wbi.js} +29 -29
- package/dist/{vue-ui-tiremarks-kF0Baqia.js → vue-ui-tiremarks-B6txvBg-.js} +25 -25
- package/dist/{vue-ui-treemap-BexKMBhz.js → vue-ui-treemap-O3SBpD3K.js} +416 -416
- package/dist/{vue-ui-waffle-Dq50j_uw.js → vue-ui-waffle-DN5zG3b0.js} +289 -289
- package/dist/{vue-ui-wheel-BETHlWsO.js → vue-ui-wheel-CxnJGXkX.js} +134 -134
- package/dist/{vue-ui-word-cloud-D1AQtzmT.js → vue-ui-word-cloud-CM5yPCXb.js} +54 -54
- package/dist/{vue-ui-world-CcgbuSp_.js → vue-ui-world-DCPgXKxh.js} +447 -447
- package/dist/{vue-ui-xy-canvas-4ABYnasj.js → vue-ui-xy-canvas-BUPnRZ3C.js} +89 -88
- package/dist/vue-ui-xy-lfMIx0wK.js +4578 -0
- package/dist/{vue_ui_3d_bar-CXKqO5Ej.js → vue_ui_3d_bar-C4R7o-yX.js} +1 -1
- package/dist/{vue_ui_age_pyramid-BON8QI6X.js → vue_ui_age_pyramid-BY6c-oX_.js} +1 -1
- package/dist/{vue_ui_bullet-CE5sFT7u.js → vue_ui_bullet-ClzdLoOv.js} +1 -1
- package/dist/{vue_ui_bump-frnXaXul.js → vue_ui_bump-Vl-zYAtG.js} +1 -1
- package/dist/{vue_ui_candlestick-sY6UtOop.js → vue_ui_candlestick-J8jmJvxP.js} +1 -1
- package/dist/{vue_ui_chestnut-BiUZFv40.js → vue_ui_chestnut-D2oUhad6.js} +1 -1
- package/dist/{vue_ui_chord-DpyR_b9A.js → vue_ui_chord-DPfS1Umc.js} +1 -1
- package/dist/{vue_ui_circle_pack-FjH0ZQeb.js → vue_ui_circle_pack-DZC_rdfn.js} +1 -1
- package/dist/{vue_ui_dag-Ci_MOnvd.js → vue_ui_dag-TsJ_azQq.js} +1 -1
- package/dist/{vue_ui_donut-Cx2_BGcQ.js → vue_ui_donut-BDGqG07h.js} +1 -1
- package/dist/{vue_ui_donut_evolution-CAJefrHs.js → vue_ui_donut_evolution-D1yAAIHr.js} +1 -1
- package/dist/{vue_ui_dumbbell-CClzAZTN.js → vue_ui_dumbbell-Bfe_jFyi.js} +1 -1
- package/dist/{vue_ui_flow-CCHO1Lo9.js → vue_ui_flow-BewZjjKG.js} +1 -1
- package/dist/{vue_ui_funnel-h8q2mRpC.js → vue_ui_funnel-_Og4EEkO.js} +1 -1
- package/dist/{vue_ui_galaxy-70vtkEBw.js → vue_ui_galaxy-Ig0cc1_h.js} +1 -1
- package/dist/{vue_ui_gauge-C17CgfzN.js → vue_ui_gauge-Cf1RZc9q.js} +1 -1
- package/dist/{vue_ui_geo-C0UbQ0Lc.js → vue_ui_geo-B8TODs-G.js} +1 -1
- package/dist/{vue_ui_heatmap-BqPP3J4M.js → vue_ui_heatmap-B2BBBSWG.js} +1 -1
- package/dist/{vue_ui_history_plot-C5nytDHh.js → vue_ui_history_plot-CuN63VEc.js} +1 -1
- package/dist/{vue_ui_horizontal_bar-Bqxorkc_.js → vue_ui_horizontal_bar-C4J4QzXf.js} +1 -1
- package/dist/{vue_ui_molecule-Dka4JBOp.js → vue_ui_molecule-CO9L59SF.js} +1 -1
- package/dist/{vue_ui_mood_radar-Dg4ijm53.js → vue_ui_mood_radar-BA6LAKhk.js} +1 -1
- package/dist/{vue_ui_nested_donuts-BY9cOoHF.js → vue_ui_nested_donuts-B8csIoVO.js} +1 -1
- package/dist/{vue_ui_onion-DTV9cup-.js → vue_ui_onion-1FTFFS46.js} +1 -1
- package/dist/{vue_ui_parallel_coordinate_plot-CNWrDh96.js → vue_ui_parallel_coordinate_plot-CBiOBira.js} +1 -1
- package/dist/{vue_ui_quadrant-3kjYvxpj.js → vue_ui_quadrant-CDSTKTJz.js} +1 -1
- package/dist/{vue_ui_quick_chart--VaYQuM4.js → vue_ui_quick_chart-mZBdml3Z.js} +1 -1
- package/dist/{vue_ui_radar-Dxx9GJmj.js → vue_ui_radar-jafTED5j.js} +1 -1
- package/dist/{vue_ui_relation_circle-Cr0I2SoU.js → vue_ui_relation_circle-D0p4mXmv.js} +1 -1
- package/dist/{vue_ui_ridgeline-CAtYca4b.js → vue_ui_ridgeline-VM8_mx4J.js} +1 -1
- package/dist/{vue_ui_rings-DXC1VeX5.js → vue_ui_rings-BVgD2aMn.js} +1 -1
- package/dist/{vue_ui_scatter-D2S2j0ap.js → vue_ui_scatter-I0POnicu.js} +1 -1
- package/dist/{vue_ui_spark_trend-BHMQ6_1p.js → vue_ui_spark_trend-DxVmpkmC.js} +1 -1
- package/dist/{vue_ui_sparkbar-BR6hbuDE.js → vue_ui_sparkbar-z6qO--Kf.js} +1 -1
- package/dist/{vue_ui_sparkgauge-xfPRHnMv.js → vue_ui_sparkgauge-BX1MS3bA.js} +1 -1
- package/dist/{vue_ui_sparkhistogram-CJRENZ1C.js → vue_ui_sparkhistogram-BRgvKUH6.js} +1 -1
- package/dist/{vue_ui_sparkline-wgk7yO7E.js → vue_ui_sparkline-auZhap6Y.js} +1 -1
- package/dist/{vue_ui_sparkstackbar-C5qZMmAl.js → vue_ui_sparkstackbar-BOjuQnZd.js} +1 -1
- package/dist/{vue_ui_stackbar-BW_C3MXw.js → vue_ui_stackbar-COOrQQdK.js} +1 -1
- package/dist/{vue_ui_stackline-DXxzibUd.js → vue_ui_stackline-DQqKPA9z.js} +1 -1
- package/dist/{vue_ui_strip_plot-8ZelqC5b.js → vue_ui_strip_plot-CtJe8_gq.js} +1 -1
- package/dist/{vue_ui_table_heatmap-BGUjA0WA.js → vue_ui_table_heatmap-w8vx5k6f.js} +1 -1
- package/dist/{vue_ui_table_sparkline-i0Q-N_we.js → vue_ui_table_sparkline-DAbkUrNz.js} +1 -1
- package/dist/{vue_ui_thermometer-CuN7Gpez.js → vue_ui_thermometer-DxgqWKlE.js} +1 -1
- package/dist/{vue_ui_tiremarks-A6UHC0c3.js → vue_ui_tiremarks-CdEPieWV.js} +1 -1
- package/dist/{vue_ui_treemap-BQp06q-g.js → vue_ui_treemap-DoEtkRN6.js} +1 -1
- package/dist/{vue_ui_waffle-C_Ev4l7B.js → vue_ui_waffle-DIARFc7g.js} +1 -1
- package/dist/{vue_ui_wheel-DdkTPXJU.js → vue_ui_wheel-DZ_nR--t.js} +1 -1
- package/dist/{vue_ui_word_cloud-B1PbsYPc.js → vue_ui_word_cloud-C-qIMNLu.js} +1 -1
- package/dist/{vue_ui_xy-BYPqfYyx.js → vue_ui_xy-BLUkWEAm.js} +1 -1
- package/dist/{vue_ui_xy_canvas-CMHGNrLf.js → vue_ui_xy_canvas-Cb6dg3eK.js} +1 -1
- package/package.json +6 -6
- package/dist/exposedLib-CwWU4zv-.js +0 -19
- package/dist/vue-ui-age-pyramid-ckZtLlmH.js +0 -1238
- package/dist/vue-ui-bullet-3CkhGOSb.js +0 -710
- package/dist/vue-ui-carousel-table-nZJ1k6se.js +0 -455
- package/dist/vue-ui-chestnut-BWItE1hg.js +0 -2010
- package/dist/vue-ui-chord-YflKRyWK.js +0 -1391
- package/dist/vue-ui-donut-B3L7jeHL.js +0 -2410
- package/dist/vue-ui-dumbbell-xekp1obI.js +0 -1527
- package/dist/vue-ui-funnel-BfY509t-.js +0 -777
- package/dist/vue-ui-gauge-BRxZNBBS.js +0 -920
- package/dist/vue-ui-history-plot-CXW6lF42.js +0 -1559
- package/dist/vue-ui-horizontal-bar-CideXtlg.js +0 -1681
- package/dist/vue-ui-molecule-B1Prm5Lk.js +0 -925
- package/dist/vue-ui-nested-donuts-Bsx5f9Gv.js +0 -1487
- package/dist/vue-ui-relation-circle-BjB0J53V.js +0 -924
- package/dist/vue-ui-scatter-dFDowCVQ.js +0 -2413
- package/dist/vue-ui-sparkline-w2nclIW0.js +0 -1507
- package/dist/vue-ui-sparkstackbar-CTShNXhW.js +0 -662
- package/dist/vue-ui-stackline-CU6s-hhv.js +0 -2395
- package/dist/vue-ui-thermometer-biw3ivMI.js +0 -763
- package/dist/vue-ui-xy-BQ1YONCq.js +0 -4219
- /package/dist/{RecursiveCircles-DPpLel6f.js → RecursiveCircles-D6aDPmoe.js} +0 -0
- /package/dist/{RecursiveLabels-DBMJf_to.js → RecursiveLabels-D9rfID6q.js} +0 -0
- /package/dist/{RecursiveLinks-D06dBL4a.js → RecursiveLinks-BygcpDiT.js} +0 -0
- /package/dist/{_plugin-vue_export-helper-Dq1MygBL.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
- /package/dist/{canvas-lib-DTaADQOK.js → canvas-lib-BOP_HS11.js} +0 -0
- /package/dist/{patternUtils-B7BWu5bV.js → patternUtils-CS7hn6at.js} +0 -0
- /package/dist/{rolldown-runtime-CAFD8bLK.js → rolldown-runtime-Dy4uBu1J.js} +0 -0
- /package/dist/{useChartAccessibility-Do37qcw2.js → useChartAccessibility-DYqac8yF.js} +0 -0
- /package/dist/{useFitSvgText-C-MEdAfe.js → useFitSvgText-CT3nmlaS.js} +0 -0
- /package/dist/{usePanZoom-B-4M_gmY.js → usePanZoom-CYU3B4T3.js} +0 -0
- /package/dist/{usePrefersMotion-BywLbIko.js → usePrefersMotion-BC-CsqR1.js} +0 -0
- /package/dist/{useResponsive-CrAInupd.js → useResponsive-BfnK0KxU.js} +0 -0
- /package/dist/{useStableElementSize-0I1IpHPl.js → useStableElementSize-C7KADDKj.js} +0 -0
- /package/dist/{useSvgExport-Dtu973wa.js → useSvgExport-SVIsDot8.js} +0 -0
- /package/dist/{useTableResponsive-DrM1xqII.js → useTableResponsive-B24Uwt2E.js} +0 -0
- /package/dist/{useThemeCheck-rFK9Zlb_.js → useThemeCheck-C43Tcqmk.js} +0 -0
- /package/dist/{useTimeLabelCollider-Dm55Emzg.js → useTimeLabelCollider-AEcY4Ioe.js} +0 -0
- /package/dist/{useTimeLabels-C0x7zUXP.js → useTimeLabels-BmBRv27Y.js} +0 -0
- /package/dist/{useUserOptionState-CjPJPTg2.js → useUserOptionState-DK-_1ddE.js} +0 -0
- /package/dist/{vClickOutside-CbX_bC9A.js → vClickOutside-DUrZWttG.js} +0 -0
- /package/dist/{vue-ui-pattern-Bj-IPFr2.js → vue-ui-pattern-DKozfnVn.js} +0 -0
- /package/dist/{vue_ui_vertical_bar-CJSD1FZS.js → vue_ui_vertical_bar-CP-MKz1j.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { t as s } from "./_plugin-vue_export-helper-
|
|
3
|
-
import { c, r as re } from "./canvas-lib-
|
|
4
|
-
import { t as l } from "./useResponsive-
|
|
5
|
-
import { t as ie } from "./BaseIcon-
|
|
1
|
+
import { F as e, H as t, I as n, L as r, Vt as i, j as a, k as o, pt as ee, r as te, t as ne } from "./lib-DUeYQsS0.js";
|
|
2
|
+
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
3
|
+
import { c, r as re } from "./canvas-lib-BOP_HS11.js";
|
|
4
|
+
import { t as l } from "./useResponsive-BfnK0KxU.js";
|
|
5
|
+
import { t as ie } from "./BaseIcon-DfLoHNUj.js";
|
|
6
6
|
import { Fragment as u, computed as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as ae, mergeProps as oe, nextTick as se, normalizeClass as h, normalizeProps as ce, normalizeStyle as g, onBeforeUnmount as le, onMounted as ue, onUpdated as de, openBlock as _, ref as v, renderList as y, renderSlot as fe, toDisplayString as pe, unref as me, useCssVars as he, vModelText as ge, watch as b, withDirectives as _e, withKeys as ve, withModifiers as ye } from "vue";
|
|
7
7
|
//#region src/atoms/SlicerPreview.vue
|
|
8
8
|
var be = ["data-minimap"], xe = {
|
|
@@ -23,43 +23,47 @@ var be = ["data-minimap"], xe = {
|
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "minimap",
|
|
25
25
|
style: { width: "100%" }
|
|
26
|
-
}, we = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], De = [
|
|
26
|
+
}, we = ["xmlns", "viewBox"], Te = ["id"], Ee = ["stop-color"], De = ["id"], Oe = [
|
|
27
|
+
"x",
|
|
28
|
+
"width",
|
|
29
|
+
"height"
|
|
30
|
+
], ke = [
|
|
27
31
|
"width",
|
|
28
32
|
"height",
|
|
29
33
|
"stroke"
|
|
30
|
-
],
|
|
34
|
+
], Ae = ["d", "stroke"], je = ["d", "fill"], Me = [
|
|
31
35
|
"x",
|
|
32
36
|
"y",
|
|
33
37
|
"width",
|
|
34
38
|
"height",
|
|
35
39
|
"fill"
|
|
36
|
-
],
|
|
40
|
+
], Ne = [
|
|
37
41
|
"d",
|
|
38
42
|
"stroke",
|
|
39
43
|
"stroke-dasharray"
|
|
40
|
-
],
|
|
44
|
+
], Pe = [
|
|
41
45
|
"cx",
|
|
42
46
|
"cy",
|
|
43
47
|
"fill",
|
|
44
48
|
"stroke"
|
|
45
|
-
],
|
|
49
|
+
], Fe = [
|
|
46
50
|
"cx",
|
|
47
51
|
"cy",
|
|
48
52
|
"fill",
|
|
49
53
|
"stroke"
|
|
50
|
-
],
|
|
54
|
+
], Ie = [
|
|
51
55
|
"x",
|
|
52
56
|
"width",
|
|
53
57
|
"height",
|
|
54
58
|
"fill",
|
|
55
59
|
"rx"
|
|
56
|
-
],
|
|
60
|
+
], Le = [
|
|
57
61
|
"x",
|
|
58
62
|
"width",
|
|
59
63
|
"height",
|
|
60
64
|
"rx",
|
|
61
65
|
"fill"
|
|
62
|
-
],
|
|
66
|
+
], Re = [
|
|
63
67
|
"x",
|
|
64
68
|
"width",
|
|
65
69
|
"height",
|
|
@@ -69,126 +73,128 @@ var be = ["data-minimap"], xe = {
|
|
|
69
73
|
"aria-valuemax",
|
|
70
74
|
"aria-valuenow",
|
|
71
75
|
"aria-valuetext"
|
|
72
|
-
],
|
|
76
|
+
], ze = [
|
|
73
77
|
"x2",
|
|
74
78
|
"y1",
|
|
75
79
|
"y2",
|
|
76
80
|
"stroke"
|
|
77
|
-
],
|
|
81
|
+
], Be = { key: "merged-tree" }, Ve = ["d", "stroke"], He = [
|
|
78
82
|
"cx",
|
|
79
83
|
"cy",
|
|
80
84
|
"stroke",
|
|
81
85
|
"fill"
|
|
82
|
-
],
|
|
86
|
+
], Ue = [
|
|
83
87
|
"cx",
|
|
84
88
|
"cy",
|
|
85
89
|
"stroke",
|
|
86
90
|
"fill"
|
|
87
|
-
],
|
|
91
|
+
], We = { key: "split-tree" }, Ge = [
|
|
88
92
|
"x",
|
|
89
93
|
"y",
|
|
90
94
|
"width",
|
|
91
95
|
"height",
|
|
92
96
|
"fill"
|
|
93
|
-
],
|
|
97
|
+
], Ke = [
|
|
94
98
|
"d",
|
|
95
99
|
"stroke",
|
|
96
100
|
"stroke-dasharray"
|
|
97
|
-
],
|
|
101
|
+
], qe = [
|
|
98
102
|
"cx",
|
|
99
103
|
"cy",
|
|
100
104
|
"fill",
|
|
101
105
|
"stroke"
|
|
102
|
-
],
|
|
106
|
+
], Je = ["width", "height"], Ye = [
|
|
103
107
|
"x",
|
|
104
108
|
"width",
|
|
105
109
|
"height",
|
|
106
110
|
"fill",
|
|
107
111
|
"stroke",
|
|
108
112
|
"stroke-width"
|
|
109
|
-
],
|
|
113
|
+
], Xe = ["transform"], Ze = ["width", "height"], Qe = ["fill", "stroke"], $e = ["stroke"], et = ["fill"], tt = [
|
|
110
114
|
"x",
|
|
111
115
|
"width",
|
|
112
116
|
"height",
|
|
113
117
|
"fill",
|
|
114
118
|
"stroke",
|
|
115
119
|
"stroke-width"
|
|
116
|
-
],
|
|
120
|
+
], nt = ["transform"], rt = ["width", "height"], it = ["fill", "stroke"], at = ["stroke"], ot = ["fill"], st = {
|
|
117
121
|
key: "merged-tree",
|
|
118
122
|
style: { "pointer-events": "none" }
|
|
119
|
-
},
|
|
123
|
+
}, ct = [
|
|
120
124
|
"cx",
|
|
121
125
|
"cy",
|
|
122
126
|
"stroke",
|
|
123
127
|
"fill"
|
|
124
|
-
],
|
|
128
|
+
], lt = [
|
|
125
129
|
"cx",
|
|
126
130
|
"cy",
|
|
127
131
|
"fill"
|
|
128
|
-
],
|
|
132
|
+
], ut = [
|
|
129
133
|
"cx",
|
|
130
134
|
"cy",
|
|
131
135
|
"stroke",
|
|
132
136
|
"fill"
|
|
133
|
-
],
|
|
137
|
+
], dt = [
|
|
134
138
|
"cx",
|
|
135
139
|
"cy",
|
|
136
140
|
"fill"
|
|
137
|
-
],
|
|
141
|
+
], ft = {
|
|
138
142
|
key: 1,
|
|
139
143
|
style: { "pointer-events": "none" }
|
|
140
|
-
},
|
|
144
|
+
}, pt = [
|
|
141
145
|
"d",
|
|
142
146
|
"stroke",
|
|
143
147
|
"stroke-dasharray"
|
|
144
|
-
],
|
|
148
|
+
], mt = [
|
|
145
149
|
"cx",
|
|
146
150
|
"cy",
|
|
147
151
|
"fill",
|
|
148
152
|
"stroke"
|
|
149
|
-
],
|
|
153
|
+
], ht = [
|
|
150
154
|
"cx",
|
|
151
155
|
"cy",
|
|
152
156
|
"stroke",
|
|
153
157
|
"fill"
|
|
154
|
-
],
|
|
158
|
+
], gt = [
|
|
155
159
|
"cx",
|
|
156
160
|
"cy",
|
|
157
161
|
"fill"
|
|
158
|
-
],
|
|
162
|
+
], _t = [
|
|
159
163
|
"cx",
|
|
160
164
|
"cy",
|
|
161
165
|
"stroke",
|
|
162
166
|
"fill"
|
|
163
|
-
],
|
|
167
|
+
], vt = [
|
|
164
168
|
"cx",
|
|
165
169
|
"cy",
|
|
166
170
|
"fill"
|
|
167
|
-
],
|
|
171
|
+
], yt = [
|
|
168
172
|
"cx",
|
|
169
173
|
"cy",
|
|
170
174
|
"fill",
|
|
171
175
|
"stroke"
|
|
172
|
-
],
|
|
176
|
+
], bt = [
|
|
177
|
+
"step",
|
|
173
178
|
"min",
|
|
174
179
|
"max",
|
|
175
180
|
"tabindex"
|
|
176
|
-
],
|
|
181
|
+
], xt = [
|
|
182
|
+
"step",
|
|
177
183
|
"min",
|
|
178
184
|
"max",
|
|
179
185
|
"tabindex"
|
|
180
|
-
],
|
|
186
|
+
], St = {
|
|
181
187
|
key: 3,
|
|
182
188
|
class: "minimap-handle-overlay"
|
|
183
|
-
},
|
|
189
|
+
}, Ct = ["xmlns", "viewBox"], wt = [
|
|
184
190
|
"x",
|
|
185
191
|
"width",
|
|
186
192
|
"height"
|
|
187
|
-
],
|
|
193
|
+
], Tt = [
|
|
188
194
|
"x",
|
|
189
195
|
"width",
|
|
190
196
|
"height"
|
|
191
|
-
],
|
|
197
|
+
], Et = 48, Dt = /* @__PURE__ */ s({
|
|
192
198
|
__name: "SlicerPreview",
|
|
193
199
|
props: {
|
|
194
200
|
uuid: {
|
|
@@ -397,6 +403,14 @@ var be = ["data-minimap"], xe = {
|
|
|
397
403
|
handleFill: {
|
|
398
404
|
type: String,
|
|
399
405
|
default: null
|
|
406
|
+
},
|
|
407
|
+
precision: {
|
|
408
|
+
type: Number,
|
|
409
|
+
default: 0
|
|
410
|
+
},
|
|
411
|
+
useValueRange: {
|
|
412
|
+
type: Boolean,
|
|
413
|
+
default: !1
|
|
400
414
|
}
|
|
401
415
|
},
|
|
402
416
|
emits: [
|
|
@@ -405,69 +419,97 @@ var be = ["data-minimap"], xe = {
|
|
|
405
419
|
"update:start",
|
|
406
420
|
"update:end",
|
|
407
421
|
"reset",
|
|
408
|
-
"trapMouse"
|
|
422
|
+
"trapMouse",
|
|
423
|
+
"trapMouseValue"
|
|
409
424
|
],
|
|
410
|
-
setup(s, { expose:
|
|
425
|
+
setup(s, { expose: Dt, emit: Ot }) {
|
|
411
426
|
he((e) => ({
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
427
|
+
v2549f374: en.value,
|
|
428
|
+
f55ee28c: P.value,
|
|
429
|
+
v7f47a8ab: nn.value,
|
|
430
|
+
v6585cfea: s.selectColor,
|
|
431
|
+
f7c79510: tn.value,
|
|
432
|
+
v4dc4f52a: x.additionalMinimapHeight
|
|
418
433
|
}));
|
|
419
|
-
let x = s
|
|
434
|
+
let x = s;
|
|
435
|
+
function kt(e) {
|
|
436
|
+
let t = Number(e) || 0;
|
|
437
|
+
return x.precision <= 0 ? Math.round(t) : Number(t.toFixed(x.precision));
|
|
438
|
+
}
|
|
439
|
+
let S = v(null), C = v(x.min), w = v(x.max), T = d(() => !!x.allMinimaps.length), At = v(t()), E = v(!1), jt = d(() => T.value && x.minimapCompact), D = v(null), Mt = v(!1), Nt = v(0), Pt = v(0), Ft = v(null), It = d(() => x.useValueRange ? w.value : w.value - 1), Lt = d(() => Math.max(1, Number(x.max) - Number(x.min)));
|
|
440
|
+
function Rt(e) {
|
|
441
|
+
return (Number(e) - Number(x.min)) / Lt.value * 100;
|
|
442
|
+
}
|
|
443
|
+
function zt(e) {
|
|
444
|
+
return I.value.width * (Rt(e) / 100);
|
|
445
|
+
}
|
|
446
|
+
function Bt(e) {
|
|
447
|
+
let t = Math.min(1, Math.max(0, e / Math.max(1, I.value.width)));
|
|
448
|
+
return kt(Number(x.min) + Lt.value * t);
|
|
449
|
+
}
|
|
450
|
+
function Vt(e) {
|
|
451
|
+
return x.useValueRange ? Number(e?.y) : Number(e);
|
|
452
|
+
}
|
|
453
|
+
function Ht(e, t) {
|
|
454
|
+
return x.useValueRange ? Number(e?.x) : t + Number(x.min);
|
|
455
|
+
}
|
|
456
|
+
function Ut(e, t) {
|
|
457
|
+
return x.useValueRange ? zt(Ht(e, t)) : V.value * t + (x.minimapCompact ? 0 : V.value / 2);
|
|
458
|
+
}
|
|
459
|
+
let Wt = d(() => Math.min(40, Math.max(20, x.handleWidth))), Gt = v(0), Kt = c((e) => M("futureStart", e), 0), qt = c((e) => M("futureEnd", e), 0), O = d(() => x.precision > 0 ? 1 / 10 ** x.precision : 1), k = d({
|
|
420
460
|
get: () => C.value,
|
|
421
461
|
set(e) {
|
|
422
|
-
let t = Math.min(e, w.value -
|
|
423
|
-
t !== C.value && (C.value = t,
|
|
462
|
+
let t = Math.min(Number(e), Number(w.value) - O.value);
|
|
463
|
+
t !== C.value && (C.value = t, In.value && (In.value.value = String(t)), x.immediate ? M("update:start", Number(t)) : E.value && Kt(t));
|
|
424
464
|
}
|
|
425
465
|
}), A = d({
|
|
426
466
|
get: () => w.value,
|
|
427
467
|
set(e) {
|
|
428
|
-
let t = Math.max(e, C.value +
|
|
429
|
-
t !== w.value && (w.value = t,
|
|
468
|
+
let t = Math.max(Number(e), Number(C.value) + O.value);
|
|
469
|
+
t !== w.value && (w.value = t, Ln.value && (Ln.value.value = String(t)), x.immediate ? M("update:end", Number(t)) : E.value && qt(t));
|
|
430
470
|
}
|
|
431
471
|
});
|
|
432
472
|
function j() {
|
|
433
473
|
clearTimeout(null), x.immediate || (M("update:start", Number(C.value)), M("update:end", Number(w.value))), E.value = !1;
|
|
434
474
|
}
|
|
435
|
-
let
|
|
436
|
-
if (
|
|
475
|
+
let Jt = d(() => x.refreshEndPoint === null ? x.max : x.refreshEndPoint), M = Ot, Yt = d(() => {
|
|
476
|
+
if (x.useValueRange) return Rt(C.value);
|
|
477
|
+
if (jt.value) {
|
|
437
478
|
let e = Math.max(1, R.value - 1);
|
|
438
|
-
return
|
|
479
|
+
return On.value / e * 100;
|
|
439
480
|
}
|
|
440
481
|
let e = Math.max(1, x.max - x.min);
|
|
441
482
|
return (C.value - x.min) / e * 100;
|
|
442
|
-
}),
|
|
443
|
-
if (
|
|
483
|
+
}), Xt = d(() => {
|
|
484
|
+
if (x.useValueRange) return Rt(w.value);
|
|
485
|
+
if (jt.value) {
|
|
444
486
|
let e = Math.max(1, R.value - 1);
|
|
445
|
-
return
|
|
487
|
+
return kn.value / e * 100;
|
|
446
488
|
}
|
|
447
489
|
let e = Math.max(1, x.max - x.min);
|
|
448
490
|
return (w.value - x.min) / e * 100;
|
|
449
|
-
}),
|
|
491
|
+
}), Zt = d(() => (Yt.value + Xt.value) / 2), Qt = d(() => {
|
|
450
492
|
if (!S.value) return !1;
|
|
451
493
|
let e = Math.max(1, x.max - x.min);
|
|
452
|
-
return S.value.getBoundingClientRect().width * ((C.value - x.min) / e) -
|
|
453
|
-
}),
|
|
494
|
+
return S.value.getBoundingClientRect().width * ((C.value - x.min) / e) - fr.value / 2 < 0;
|
|
495
|
+
}), $t = d(() => {
|
|
454
496
|
if (!S.value) return !1;
|
|
455
497
|
let e = Math.max(1, x.max - x.min), t = S.value.getBoundingClientRect().width;
|
|
456
|
-
return t * ((w.value - x.min) / e) +
|
|
498
|
+
return t * ((w.value - x.min) / e) + pr.value / 2 > t;
|
|
457
499
|
}), N = d(() => {
|
|
458
|
-
let e =
|
|
500
|
+
let e = $t.value ? `calc(${Zt.value}% - ${yr.value.width}px)` : Qt.value ? `calc(${Zt.value}% - 8px)` : `calc(${Zt.value}% - ${yr.value.width / 2}px)`;
|
|
459
501
|
return {
|
|
460
|
-
left: `${
|
|
461
|
-
width: `${Math.max(0,
|
|
502
|
+
left: `${Yt.value}%`,
|
|
503
|
+
width: `${Math.max(0, Xt.value - Yt.value)}%`,
|
|
462
504
|
background: x.selectColor,
|
|
463
|
-
tooltipLeft: `calc(${
|
|
464
|
-
tooltipRight: `calc(${
|
|
505
|
+
tooltipLeft: `calc(${Yt.value}% - ${Qt.value ? 9 : fr.value / 2}px)`,
|
|
506
|
+
tooltipRight: `calc(${Xt.value}% - ${$t.value ? pr.value - 9 : pr.value / 2}px)`,
|
|
465
507
|
tooltipCenter: e,
|
|
466
|
-
arrowLeft: !
|
|
467
|
-
arrowRight:
|
|
508
|
+
arrowLeft: !Qt.value,
|
|
509
|
+
arrowRight: !$t.value
|
|
468
510
|
};
|
|
469
|
-
}),
|
|
470
|
-
function
|
|
511
|
+
}), en = d(() => x.inputColor), tn = d(() => x.background), nn = d(() => `${x.selectColor}33`), P = d(() => x.borderColor), rn = d(() => Number(x.max) > Number(x.min));
|
|
512
|
+
function an() {
|
|
471
513
|
M("reset");
|
|
472
514
|
}
|
|
473
515
|
b(() => x.min, (e) => {
|
|
@@ -492,30 +534,30 @@ var be = ["data-minimap"], xe = {
|
|
|
492
534
|
L.value && L.value.disconnect();
|
|
493
535
|
});
|
|
494
536
|
let R = d(() => Math.max(1, x.max - x.min));
|
|
495
|
-
function
|
|
537
|
+
function on(e) {
|
|
496
538
|
let t = Math.floor(e - x.min);
|
|
497
539
|
return Math.min(Math.max(0, t), R.value);
|
|
498
540
|
}
|
|
499
|
-
function
|
|
541
|
+
function sn(e) {
|
|
500
542
|
let t = Math.ceil(e - x.min);
|
|
501
543
|
return Math.min(Math.max(0, t), R.value);
|
|
502
544
|
}
|
|
503
|
-
let z = d(() =>
|
|
504
|
-
d(() => Math.max(1, I.value.width -
|
|
545
|
+
let z = d(() => on(C.value)), B = d(() => sn(w.value)), cn = d(() => Math.max(...x.allMinimaps.map((e) => e.series.length))), ln = d(() => T.value && x.minimapCompact ? 40 : 0), un = d(() => ln.value / 2);
|
|
546
|
+
d(() => Math.max(1, I.value.width - un.value * 2));
|
|
505
547
|
let V = d(() => {
|
|
506
|
-
let e = Math.max(1,
|
|
548
|
+
let e = Math.max(1, cn.value - +!!x.minimapCompact);
|
|
507
549
|
return I.value.width / e;
|
|
508
|
-
}),
|
|
509
|
-
function
|
|
510
|
-
let r =
|
|
550
|
+
}), dn = d(() => x.allMinimaps.length ? x.allMinimaps.filter((e) => e.type === "bar" && e.isVisible).length : 0), fn = d(() => V.value / (dn.value || 1) * .8);
|
|
551
|
+
function pn(e, t, n) {
|
|
552
|
+
let r = fn.value, i = Math.max(1, dn.value), a = cn.value - 1;
|
|
511
553
|
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
512
554
|
}
|
|
513
|
-
function
|
|
514
|
-
return [0,
|
|
555
|
+
function mn(e, t) {
|
|
556
|
+
return [0, cn.value - 1].includes(t) ? fn.value / 2 : fn.value;
|
|
515
557
|
}
|
|
516
|
-
let
|
|
558
|
+
let hn = d(() => {
|
|
517
559
|
let e = [];
|
|
518
|
-
if (Array.isArray(x.minimap) && x.minimap.length && x.minimapMerged && e.push(...x.minimap.filter(Number.isFinite)), Array.isArray(x.allMinimaps) && x.allMinimaps.length) for (let t of x.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.filter(Number.isFinite));
|
|
560
|
+
if (Array.isArray(x.minimap) && x.minimap.length && x.minimapMerged && e.push(...x.minimap.map(Vt).filter(Number.isFinite)), Array.isArray(x.allMinimaps) && x.allMinimaps.length) for (let t of x.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.map(Vt).filter(Number.isFinite));
|
|
519
561
|
return e.length ? {
|
|
520
562
|
min: Math.min(...e),
|
|
521
563
|
max: Math.max(...e)
|
|
@@ -523,25 +565,25 @@ var be = ["data-minimap"], xe = {
|
|
|
523
565
|
min: 0,
|
|
524
566
|
max: 1
|
|
525
567
|
};
|
|
526
|
-
}),
|
|
568
|
+
}), gn = d(() => {
|
|
527
569
|
if (x.minScale == null && x.forceZeroCenter) return null;
|
|
528
570
|
let e = Number(x.minScale);
|
|
529
571
|
return Number.isFinite(e) ? e : null;
|
|
530
|
-
}),
|
|
572
|
+
}), _n = d(() => {
|
|
531
573
|
if (x.maxScale == null && x.forceZeroCenter) return null;
|
|
532
574
|
let e = Number(x.maxScale);
|
|
533
575
|
return Number.isFinite(e) ? e : null;
|
|
534
|
-
}),
|
|
535
|
-
let { min: e, max: t } =
|
|
576
|
+
}), vn = d(() => gn.value !== null && _n.value !== null), yn = d(() => {
|
|
577
|
+
let { min: e, max: t } = hn.value, n = gn.value, r = _n.value, i, a;
|
|
536
578
|
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]), {
|
|
537
579
|
min: i,
|
|
538
580
|
max: a
|
|
539
581
|
};
|
|
540
|
-
}),
|
|
582
|
+
}), bn = d(() => yn.value.min), xn = d(() => yn.value.max), Sn = d(() => bn.value < 0 && xn.value > 0 || xn.value <= 0 ? bn.value : 0), Cn = (e) => {
|
|
541
583
|
let t = Math.max(1, I.value.height);
|
|
542
|
-
return
|
|
543
|
-
},
|
|
544
|
-
function
|
|
584
|
+
return Tn(bn.value, xn.value, t, vn.value)(e);
|
|
585
|
+
}, wn = d(() => Cn(0));
|
|
586
|
+
function Tn(e, t, n, r = !1) {
|
|
545
587
|
let i = (e, t, n) => Math.max(t, Math.min(n, e)), a = 1e-9, o = Math.max(a, t - e);
|
|
546
588
|
if (r) return (t) => n - (t - e) / o * n;
|
|
547
589
|
if (t <= 0) {
|
|
@@ -555,8 +597,8 @@ var be = ["data-minimap"], xe = {
|
|
|
555
597
|
return (e) => (1 - (i(e / r, -1, 1) + 1) / 2) * n;
|
|
556
598
|
}
|
|
557
599
|
}
|
|
558
|
-
function
|
|
559
|
-
if (!
|
|
600
|
+
function En(t, i = !1, ee = !1) {
|
|
601
|
+
if (!t || !t.length) return {
|
|
560
602
|
fullSet: "",
|
|
561
603
|
points: [],
|
|
562
604
|
selectionSet: "",
|
|
@@ -569,32 +611,33 @@ var be = ["data-minimap"], xe = {
|
|
|
569
611
|
selectionMarkers: [],
|
|
570
612
|
dashed: !1
|
|
571
613
|
};
|
|
572
|
-
let te = Math.max(1, I.value.height), ne =
|
|
573
|
-
let n = e, r = Number.isFinite(n), i =
|
|
614
|
+
let te = Math.max(1, I.value.height), ne = Tn(bn.value, xn.value, te, vn.value), s = t.length, c = Math.min(Math.max(0, z.value), Math.max(0, s - 1)), re = Math.min(s, Math.max(c + 1, B.value)), l = t.map((e, t) => {
|
|
615
|
+
let n = Vt(e), r = Number.isFinite(n), i = Ut(e, t), a = ne(vn.value ? ((e, t, n) => Math.max(t, Math.min(n, e)))(0, bn.value, xn.value) : 0);
|
|
574
616
|
return {
|
|
575
617
|
x: i,
|
|
576
618
|
y: r ? ne(n) : NaN,
|
|
577
619
|
v: n,
|
|
578
|
-
value:
|
|
620
|
+
value: r ? n : null,
|
|
579
621
|
y0: a,
|
|
580
|
-
i: t
|
|
622
|
+
i: t,
|
|
623
|
+
xValue: Ht(e, t)
|
|
581
624
|
};
|
|
582
|
-
}), ie = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), u = l.filter((e) => Number.isFinite(e.value) && !ie(e.i - 1) && !ie(e.i + 1)), d = u.filter((e) => e.i >= c && e.i < re), f = l.slice(c, re);
|
|
625
|
+
}), ie = (e) => e >= 0 && e < l.length && Number.isFinite(l[e]?.value), u = l.filter((e) => Number.isFinite(e.value) && !ie(e.i - 1) && !ie(e.i + 1)), d = x.useValueRange ? u.filter((e) => e.xValue >= Number(C.value) && e.xValue <= Number(w.value)) : u.filter((e) => e.i >= c && e.i < re), f = x.useValueRange ? l.filter((e) => e.xValue >= Number(C.value) && e.xValue <= Number(w.value)) : l.slice(c, re);
|
|
583
626
|
return {
|
|
584
|
-
fullSet: l.length >= 2 ? ee ?
|
|
627
|
+
fullSet: l.length >= 2 ? ee ? e(x.cutNullValues ? l : l.filter((e) => e.value != null)) : x.smoothMinimap || i ? x.cutNullValues ? a(l) : o(l.filter((e) => e.value != null)) : x.cutNullValues ? r(l) : n(l.filter((e) => e.value != null)) : "",
|
|
585
628
|
points: l,
|
|
586
|
-
selectionSet: f.length >= 2 ? ee ?
|
|
629
|
+
selectionSet: f.length >= 2 ? ee ? e(x.cutNullValues ? f : f.filter((e) => e.value != null)) : x.smoothMinimap || i ? x.cutNullValues ? a(f) : o(f.filter((e) => e.value != null)) : x.cutNullValues ? r(f) : n(f.filter((e) => e.value != null)) : "",
|
|
587
630
|
sliced: f,
|
|
588
|
-
firstPlot: l[c] || null,
|
|
589
|
-
lastPlot: l[Math.max(0, re - 1)] || null,
|
|
631
|
+
firstPlot: x.useValueRange ? f[0] || null : l[c] || null,
|
|
632
|
+
lastPlot: x.useValueRange ? f[f.length - 1] || null : l[Math.max(0, re - 1)] || null,
|
|
590
633
|
hasFull: l.length >= 2,
|
|
591
634
|
hasSelection: f.length >= 2,
|
|
592
635
|
fullMarkers: u,
|
|
593
636
|
selectionMarkers: d
|
|
594
637
|
};
|
|
595
638
|
}
|
|
596
|
-
let H = d(() => x.minimap.length ?
|
|
597
|
-
let n =
|
|
639
|
+
let H = d(() => x.minimap.length ? En(x.minimap) : []), U = d(() => x.allMinimaps.length ? x.allMinimaps.map((e, t) => {
|
|
640
|
+
let n = En(e?.series || [], !!e.smooth, !!e.useStepper), r = e?.id ?? e?.name ?? t;
|
|
598
641
|
return {
|
|
599
642
|
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
600
643
|
color: e?.color,
|
|
@@ -606,58 +649,101 @@ var be = ["data-minimap"], xe = {
|
|
|
606
649
|
useStepper: !!e.useStepper
|
|
607
650
|
};
|
|
608
651
|
}) : []), W = d(() => {
|
|
652
|
+
if (x.useValueRange) {
|
|
653
|
+
let e = zt(C.value), t = zt(w.value);
|
|
654
|
+
return {
|
|
655
|
+
x: e,
|
|
656
|
+
width: Math.max(0, t - e)
|
|
657
|
+
};
|
|
658
|
+
}
|
|
609
659
|
let e = z.value, t = Math.max(e + 1, B.value);
|
|
610
660
|
return {
|
|
611
661
|
x: V.value * e + (x.minimapCompact ? 0 : V.value / 2),
|
|
612
662
|
width: V.value * (t - e) - V.value
|
|
613
663
|
};
|
|
614
|
-
}), G = v(x.minimapSelectedIndex),
|
|
664
|
+
}), G = v(x.minimapSelectedIndex), Dn = (e) => Math.round(x.min + e), On = d({
|
|
615
665
|
get() {
|
|
616
|
-
return
|
|
666
|
+
return jt.value ? z.value : Number(k.value);
|
|
617
667
|
},
|
|
618
668
|
set(e) {
|
|
619
|
-
if (
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
669
|
+
if (jt.value) {
|
|
670
|
+
if (x.useValueRange) {
|
|
671
|
+
let t = kt(e);
|
|
672
|
+
Bn(Math.min(Math.max(Number(x.min), t), Number(w.value) - O.value));
|
|
673
|
+
return;
|
|
674
|
+
}
|
|
675
|
+
Bn(Dn(Math.round(+e || 0)));
|
|
676
|
+
} else {
|
|
677
|
+
let t = kt(e), n = Number(w.value) - O.value, r = Math.min(Math.max(x.min, t), n);
|
|
678
|
+
In.value && (In.value.valueAsNumber = r), Bn(r);
|
|
623
679
|
}
|
|
624
680
|
}
|
|
625
|
-
}),
|
|
681
|
+
}), kn = d({
|
|
626
682
|
get() {
|
|
627
|
-
return
|
|
683
|
+
return jt.value ? Math.max(z.value, B.value - 1) : Number(A.value);
|
|
628
684
|
},
|
|
629
685
|
set(e) {
|
|
630
|
-
if (
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
686
|
+
if (jt.value) {
|
|
687
|
+
if (x.useValueRange) {
|
|
688
|
+
let t = kt(e);
|
|
689
|
+
Hn(Math.max(Number(C.value) + O.value, Math.min(t, Number(x.max))));
|
|
690
|
+
return;
|
|
691
|
+
}
|
|
692
|
+
Hn(Dn(Math.round(+e || 0) + 1));
|
|
693
|
+
} else {
|
|
694
|
+
let t = kt(e), n = Number(C.value) + O.value, r = Math.max(n, Math.min(t, x.max));
|
|
695
|
+
Ln.value && (Ln.value.valueAsNumber = r), Hn(r);
|
|
634
696
|
}
|
|
635
697
|
}
|
|
636
698
|
});
|
|
637
|
-
function
|
|
638
|
-
|
|
699
|
+
function An(e) {
|
|
700
|
+
if (x.useValueRange) {
|
|
701
|
+
G.value = Number.isFinite(Number(e)) ? zt(Number(e)) : null;
|
|
702
|
+
return;
|
|
703
|
+
}
|
|
704
|
+
G.value = on(x.valueStart) + e;
|
|
639
705
|
}
|
|
640
|
-
let
|
|
706
|
+
let jn = re(An, 60);
|
|
641
707
|
b(() => x.minimapSelectedIndex, (e, t) => {
|
|
642
708
|
if ([null, void 0].includes(e)) {
|
|
643
709
|
G.value = null;
|
|
644
710
|
return;
|
|
645
711
|
}
|
|
646
|
-
e !== t &&
|
|
712
|
+
e !== t && jn(e);
|
|
647
713
|
}, { immediate: !0 });
|
|
648
|
-
function
|
|
714
|
+
function Mn(e) {
|
|
649
715
|
G.value = e;
|
|
650
716
|
let t = z.value, n = B.value;
|
|
651
717
|
e >= t && e < n && !X.value && M("trapMouse", e - t);
|
|
652
718
|
}
|
|
653
|
-
function
|
|
654
|
-
|
|
719
|
+
function Nn(e) {
|
|
720
|
+
let t = Bt(e), n = x.allMinimaps.flatMap((e) => (e.series || []).map((e, n) => ({
|
|
721
|
+
point: e,
|
|
722
|
+
index: n,
|
|
723
|
+
x: Number(e?.x),
|
|
724
|
+
distance: Math.abs(Number(e?.x) - t)
|
|
725
|
+
}))).filter((e) => Number.isFinite(e.x));
|
|
726
|
+
return n.length ? n.reduce((e, t) => t.distance < e.distance ? t : e, n[0]) : null;
|
|
727
|
+
}
|
|
728
|
+
function Pn(e) {
|
|
729
|
+
if (!rn.value) return;
|
|
730
|
+
let t = Fr(e.clientX);
|
|
731
|
+
if (x.useValueRange) {
|
|
732
|
+
let e = Nn(t);
|
|
733
|
+
if (!e) {
|
|
734
|
+
Fn();
|
|
735
|
+
return;
|
|
736
|
+
}
|
|
737
|
+
G.value = zt(e.x), M("trapMouse", e.index), M("trapMouseValue", e.x);
|
|
738
|
+
return;
|
|
739
|
+
}
|
|
740
|
+
Mn(Ir(t));
|
|
655
741
|
}
|
|
656
|
-
function
|
|
657
|
-
G.value = null, M("trapMouse", null);
|
|
742
|
+
function Fn() {
|
|
743
|
+
G.value = null, M("trapMouse", null), M("trapMouseValue", null);
|
|
658
744
|
}
|
|
659
|
-
let
|
|
660
|
-
function
|
|
745
|
+
let In = v(null), Ln = v(null);
|
|
746
|
+
function Rn(e) {
|
|
661
747
|
if (typeof e == "object" && e && "target" in e) {
|
|
662
748
|
let t = e.target, n = "valueAsNumber" in t ? t.valueAsNumber : +t.value;
|
|
663
749
|
return Number.isFinite(n) ? n : NaN;
|
|
@@ -665,120 +751,120 @@ var be = ["data-minimap"], xe = {
|
|
|
665
751
|
let t = +e;
|
|
666
752
|
return Number.isFinite(t) ? t : NaN;
|
|
667
753
|
}
|
|
668
|
-
let
|
|
669
|
-
function
|
|
754
|
+
let zn = 0;
|
|
755
|
+
function Bn(e) {
|
|
670
756
|
E.value = !0;
|
|
671
|
-
let t =
|
|
672
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
757
|
+
let t = Rn(e);
|
|
758
|
+
Number.isFinite(t) && (cancelAnimationFrame(zn), zn = requestAnimationFrame(() => {
|
|
673
759
|
k.value = t;
|
|
674
760
|
}));
|
|
675
761
|
}
|
|
676
|
-
let
|
|
677
|
-
function
|
|
762
|
+
let Vn = 0;
|
|
763
|
+
function Hn(e) {
|
|
678
764
|
E.value = !0;
|
|
679
|
-
let t =
|
|
680
|
-
Number.isFinite(t) && (cancelAnimationFrame(
|
|
765
|
+
let t = Rn(e);
|
|
766
|
+
Number.isFinite(t) && (cancelAnimationFrame(Vn), Vn = requestAnimationFrame(() => {
|
|
681
767
|
A.value = t;
|
|
682
768
|
}));
|
|
683
769
|
}
|
|
684
770
|
le(() => {
|
|
685
|
-
cancelAnimationFrame(
|
|
771
|
+
cancelAnimationFrame(zn), cancelAnimationFrame(Vn);
|
|
686
772
|
});
|
|
687
|
-
let
|
|
688
|
-
function
|
|
773
|
+
let Un = d(() => x.valueEnd - x.valueStart), Wn = d(() => Un.value < x.max - x.min), Gn = v(!1), Kn = v(null), qn = d(() => (Gt.value - 48) / (x.max - x.min) * Un.value), Jn = d(() => Math.max(1, Gt.value - Et - qn.value)), Yn = d(() => Math.max(1, x.max - x.min - Un.value)), Xn = d(() => Yn.value / Jn.value), Zn = v(0), Qn = v(0), $n = v(0), er = v(0), K = null, q = null, J = null, Y = null, tr = v(x.min);
|
|
774
|
+
function nr(e) {
|
|
689
775
|
if (!S.value) return x.min;
|
|
690
|
-
let t = S.value.getBoundingClientRect(), n = t.left +
|
|
776
|
+
let t = S.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, x.max - x.min);
|
|
691
777
|
return Math.round(x.min + a * o);
|
|
692
778
|
}
|
|
693
|
-
let
|
|
779
|
+
let rr = async (e) => {
|
|
694
780
|
if (E.value = !0, Z.value = !0, !x.enableSelectionDrag) return;
|
|
695
|
-
let
|
|
696
|
-
|
|
697
|
-
let
|
|
698
|
-
if (!
|
|
699
|
-
|
|
700
|
-
let a =
|
|
701
|
-
if (
|
|
702
|
-
|
|
703
|
-
let
|
|
704
|
-
o = Math.max(x.min, Math.min(o, x.max -
|
|
705
|
-
let ee = Math.min(x.max, o +
|
|
706
|
-
k.value = o, A.value = ee,
|
|
781
|
+
let t = e.type === "touchstart";
|
|
782
|
+
t || e.stopPropagation();
|
|
783
|
+
let n = t && e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null, r = t ? n ? n.target : null : e.target;
|
|
784
|
+
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;
|
|
785
|
+
Gn.value = !0;
|
|
786
|
+
let a = t ? n ? n.clientX : 0 : e.clientX;
|
|
787
|
+
if (Kn.value = a, Zn.value = a, x.focusOnDrag && !Wn.value && S.value) {
|
|
788
|
+
tr.value = nr(a);
|
|
789
|
+
let e = Math.min(.95, Math.max(.05, x.focusRangeRatio)), t = x.max - x.min, n = Math.max(1, Math.round(t * e)), r = Math.floor(n / 2), o = tr.value - r;
|
|
790
|
+
o = Math.max(x.min, Math.min(o, x.max - n));
|
|
791
|
+
let ee = Math.min(x.max, o + n);
|
|
792
|
+
k.value = o, A.value = ee, Kt(o), qt(ee), i(S.value, "mouseup"), await se(), i(S.value, "mousedown", { clientX: a });
|
|
707
793
|
}
|
|
708
|
-
|
|
794
|
+
Qn.value = C.value, $n.value = w.value, er.value = Xn.value, K = t ? "touchmove" : "mousemove", q = t ? "touchend" : "mouseup", J = t ? ar : ir, Y = t ? cr : sr, window.addEventListener(K, J, { passive: !1 }), window.addEventListener(q, Y);
|
|
709
795
|
};
|
|
710
|
-
function
|
|
711
|
-
|
|
796
|
+
function ir(e) {
|
|
797
|
+
Gn.value && or(e.clientX);
|
|
712
798
|
}
|
|
713
|
-
function
|
|
714
|
-
if (!
|
|
799
|
+
function ar(e) {
|
|
800
|
+
if (!Gn.value || !S.value) return;
|
|
715
801
|
let t = e.target;
|
|
716
802
|
if (!(t instanceof Element) || !S.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
717
803
|
e.preventDefault();
|
|
718
804
|
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
719
|
-
n &&
|
|
805
|
+
n && or(n.clientX);
|
|
720
806
|
}
|
|
721
|
-
function
|
|
722
|
-
if (!
|
|
723
|
-
let t =
|
|
724
|
-
r = Math.max(x.min, Math.min(r, x.max -
|
|
725
|
-
let i = r +
|
|
726
|
-
k.value = r, A.value = i,
|
|
807
|
+
function or(e) {
|
|
808
|
+
if (!Gn.value) return;
|
|
809
|
+
let t = nr(Zn.value), n = nr(e) - t, r = Math.round(Qn.value + n);
|
|
810
|
+
r = Math.max(x.min, Math.min(r, x.max - Un.value));
|
|
811
|
+
let i = r + Un.value;
|
|
812
|
+
k.value = r, A.value = i, Kt(r), qt(i);
|
|
727
813
|
}
|
|
728
|
-
function
|
|
729
|
-
|
|
814
|
+
function sr() {
|
|
815
|
+
lr();
|
|
730
816
|
}
|
|
731
|
-
function
|
|
732
|
-
|
|
817
|
+
function cr() {
|
|
818
|
+
lr();
|
|
733
819
|
}
|
|
734
|
-
function
|
|
735
|
-
|
|
820
|
+
function lr() {
|
|
821
|
+
Gn.value = !1, K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, j();
|
|
736
822
|
}
|
|
737
|
-
let X = v(!1),
|
|
738
|
-
function
|
|
739
|
-
if (
|
|
740
|
-
let e = Math.round(
|
|
741
|
-
e !==
|
|
823
|
+
let X = v(!1), ur = v(null), dr = v(null), fr = v(1), pr = v(1), Z = v(!1);
|
|
824
|
+
function mr() {
|
|
825
|
+
if (ur.value) {
|
|
826
|
+
let e = Math.round(ur.value.getBoundingClientRect().width);
|
|
827
|
+
e !== fr.value && (fr.value = e);
|
|
742
828
|
}
|
|
743
829
|
}
|
|
744
|
-
function
|
|
745
|
-
if (
|
|
746
|
-
let e = Math.round(
|
|
747
|
-
e !==
|
|
830
|
+
function hr() {
|
|
831
|
+
if (dr.value) {
|
|
832
|
+
let e = Math.round(dr.value.getBoundingClientRect().width);
|
|
833
|
+
e !== pr.value && (pr.value = e);
|
|
748
834
|
}
|
|
749
835
|
}
|
|
750
836
|
de(() => {
|
|
751
|
-
|
|
837
|
+
mr(), hr();
|
|
752
838
|
});
|
|
753
|
-
let
|
|
754
|
-
function
|
|
755
|
-
|
|
839
|
+
let gr = v(0);
|
|
840
|
+
function _r(e) {
|
|
841
|
+
gr.value = +(e === "start");
|
|
756
842
|
}
|
|
757
|
-
let
|
|
843
|
+
let vr = v(!1), yr = v({
|
|
758
844
|
width: 0,
|
|
759
845
|
left: 0
|
|
760
846
|
});
|
|
761
847
|
b([C, w], async () => {
|
|
762
|
-
if (await se(), !
|
|
763
|
-
|
|
848
|
+
if (await se(), !ur.value || !dr.value) {
|
|
849
|
+
vr.value = !1, yr.value = {
|
|
764
850
|
width: 0,
|
|
765
851
|
left: 0
|
|
766
852
|
};
|
|
767
853
|
return;
|
|
768
854
|
}
|
|
769
|
-
let e =
|
|
770
|
-
|
|
855
|
+
let e = ur.value.getBoundingClientRect(), t = dr.value.getBoundingClientRect();
|
|
856
|
+
vr.value = e.x + e.width > t.x;
|
|
771
857
|
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
|
|
772
|
-
|
|
858
|
+
yr.value = {
|
|
773
859
|
width: i,
|
|
774
860
|
left: (n + r) / 2 - i / 2
|
|
775
861
|
};
|
|
776
862
|
}), de(() => {
|
|
777
|
-
|
|
863
|
+
mr(), hr();
|
|
778
864
|
}), b(() => x.labelLeft, () => {
|
|
779
|
-
se(
|
|
865
|
+
se(mr);
|
|
780
866
|
}, { deep: !0 }), b(() => x.labelRight, () => {
|
|
781
|
-
se(
|
|
867
|
+
se(hr);
|
|
782
868
|
}, { deep: !0 });
|
|
783
869
|
let Q = d(() => {
|
|
784
870
|
let e = "", t = "", n = !1;
|
|
@@ -790,10 +876,10 @@ var be = ["data-minimap"], xe = {
|
|
|
790
876
|
timeLabel: x.preciseLabels[C.value],
|
|
791
877
|
side: "left"
|
|
792
878
|
}), i = x.customFormat({
|
|
793
|
-
absoluteIndex:
|
|
879
|
+
absoluteIndex: It.value,
|
|
794
880
|
seriesIndex: -1,
|
|
795
881
|
datapoint: x.selectedSeries,
|
|
796
|
-
timeLabel: x.preciseLabels[
|
|
882
|
+
timeLabel: x.useValueRange ? null : x.preciseLabels[It.value],
|
|
797
883
|
side: "right"
|
|
798
884
|
});
|
|
799
885
|
typeof r == "string" && typeof i == "string" && (e = r, t = i, n = !0);
|
|
@@ -801,7 +887,7 @@ var be = ["data-minimap"], xe = {
|
|
|
801
887
|
n = !1;
|
|
802
888
|
}
|
|
803
889
|
if (!n) {
|
|
804
|
-
let n = x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex === C.value) : x.timeLabels.find((e) => e.absoluteIndex === C.value), r = x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex ===
|
|
890
|
+
let n = x.useValueRange ? { text: String(Math.round(C.value * 1e3) / 1e3) } : x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex === C.value) : x.timeLabels.find((e) => e.absoluteIndex === C.value), r = x.useValueRange ? { text: String(Math.round(w.value * 1e3) / 1e3) } : x.usePreciseLabels ? x.preciseLabels.find((e) => e.absoluteIndex === It.value) : x.timeLabels.find((e) => e.absoluteIndex === It.value);
|
|
805
891
|
e = n ? n.text : "", t = r ? r.text : "";
|
|
806
892
|
}
|
|
807
893
|
return {
|
|
@@ -812,8 +898,21 @@ var be = ["data-minimap"], xe = {
|
|
|
812
898
|
le(() => {
|
|
813
899
|
L.value && L.value.disconnect(), K && J && window.removeEventListener(K, J), q && Y && window.removeEventListener(q, Y), K = q = null, J = Y = null, clearTimeout(null);
|
|
814
900
|
});
|
|
815
|
-
let
|
|
816
|
-
if (!
|
|
901
|
+
let br = d(() => {
|
|
902
|
+
if (!rn.value || G.value === null) return null;
|
|
903
|
+
if (x.useValueRange) {
|
|
904
|
+
let e = G.value;
|
|
905
|
+
return e < W.value.x || e > W.value.x + W.value.width ? null : {
|
|
906
|
+
x1: e,
|
|
907
|
+
x2: e,
|
|
908
|
+
y1: 0,
|
|
909
|
+
y2: Math.max(I.value.height, 0),
|
|
910
|
+
stroke: x.minimapIndicatorColor,
|
|
911
|
+
"stroke-linecap": "round",
|
|
912
|
+
"stroke-dasharray": 2,
|
|
913
|
+
"stroke-width": 1
|
|
914
|
+
};
|
|
915
|
+
}
|
|
817
916
|
if (G.value >= z.value && G.value < B.value) {
|
|
818
917
|
let e = G.value, t = V.value * e + (x.minimapCompact ? 0 : V.value / 2);
|
|
819
918
|
return {
|
|
@@ -828,54 +927,54 @@ var be = ["data-minimap"], xe = {
|
|
|
828
927
|
};
|
|
829
928
|
}
|
|
830
929
|
return null;
|
|
831
|
-
}),
|
|
832
|
-
function
|
|
930
|
+
}), xr = d(() => Number(C.value) < Number(w.value) - 1), Sr = d(() => Number(C.value) > Number(x.min)), Cr = d(() => Number(w.value) < Number(x.max)), wr = d(() => Number(w.value) > Number(C.value) + 1);
|
|
931
|
+
function Tr(e) {
|
|
833
932
|
let t = Number(C.value) + e;
|
|
834
|
-
e > 0 && !
|
|
933
|
+
e > 0 && !xr.value || e < 0 && !Sr.value || (E.value = !0, k.value = t, j());
|
|
835
934
|
}
|
|
836
|
-
function
|
|
935
|
+
function Er(e) {
|
|
837
936
|
let t = Number(w.value) + e;
|
|
838
|
-
e > 0 && !
|
|
937
|
+
e > 0 && !Cr.value || e < 0 && !wr.value || (E.value = !0, A.value = t, j());
|
|
839
938
|
}
|
|
840
|
-
let
|
|
841
|
-
plus: () =>
|
|
842
|
-
minus: () =>
|
|
843
|
-
canPlus:
|
|
844
|
-
canMinus:
|
|
845
|
-
},
|
|
846
|
-
plus: () =>
|
|
847
|
-
minus: () =>
|
|
848
|
-
canPlus:
|
|
849
|
-
canMinus:
|
|
939
|
+
let Dr = {
|
|
940
|
+
plus: () => Tr(1),
|
|
941
|
+
minus: () => Tr(-1),
|
|
942
|
+
canPlus: xr,
|
|
943
|
+
canMinus: Sr
|
|
944
|
+
}, Or = {
|
|
945
|
+
plus: () => Er(1),
|
|
946
|
+
minus: () => Er(-1),
|
|
947
|
+
canPlus: Cr,
|
|
948
|
+
canMinus: wr
|
|
850
949
|
};
|
|
851
|
-
function
|
|
852
|
-
if (!e ||
|
|
950
|
+
function kr(e) {
|
|
951
|
+
if (!e || Ar(e.target)) return;
|
|
853
952
|
let t = e.key, n = t === "ArrowLeft" || t === "ArrowDown" || t === "-" || t === "Subtract", r = t === "ArrowRight" || t === "ArrowUp" || t === "+" || t === "Add";
|
|
854
|
-
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (
|
|
953
|
+
!n && !r || (e.preventDefault(), e.stopPropagation(), r ? (Dr.plus(), Or.plus()) : (Dr.minus(), Or.minus()));
|
|
855
954
|
}
|
|
856
|
-
function
|
|
955
|
+
function Ar(e) {
|
|
857
956
|
return e instanceof HTMLElement && (e.isContentEditable || e.tagName === "INPUT" || e.tagName === "TEXTAREA" || e.tagName === "SELECT");
|
|
858
957
|
}
|
|
859
|
-
function
|
|
958
|
+
function jr(e) {
|
|
860
959
|
if (!T.value || !x.minimapCompact) return;
|
|
861
960
|
let t = S.value;
|
|
862
961
|
if (!t) return;
|
|
863
962
|
let n = e === "start" ? "[data-cy=\"slicer-compact-handle-left\"]" : "[data-cy=\"slicer-compact-handle-right\"]", r = t.querySelector(n);
|
|
864
963
|
r && r instanceof SVGElement && typeof r.focus == "function" && r.focus();
|
|
865
964
|
}
|
|
866
|
-
function
|
|
867
|
-
if (!t ||
|
|
965
|
+
function Mr(e, t) {
|
|
966
|
+
if (!t || Ar(t.target)) return;
|
|
868
967
|
let n = t.key, r = n === "ArrowLeft" || n === "ArrowDown" || n === "-" || n === "Subtract", i = n === "ArrowRight" || n === "ArrowUp" || n === "+" || n === "Add";
|
|
869
|
-
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ?
|
|
968
|
+
!r && !i || (t.preventDefault(), t.stopPropagation(), e === "start" ? i ? Dr.plus() : Dr.minus() : i ? Or.plus() : Or.minus(), se(() => jr(e)));
|
|
870
969
|
}
|
|
871
|
-
let
|
|
970
|
+
let Nr = d(() => ({
|
|
872
971
|
tabindex: 0,
|
|
873
972
|
role: "slider",
|
|
874
973
|
"aria-label": "Range start",
|
|
875
974
|
"aria-valuemin": Number(x.min),
|
|
876
975
|
"aria-valuemax": Math.max(Number(x.min), Number(w.value) - 1),
|
|
877
976
|
"aria-valuenow": Number(C.value)
|
|
878
|
-
})),
|
|
977
|
+
})), Pr = d(() => ({
|
|
879
978
|
tabindex: 0,
|
|
880
979
|
role: "slider",
|
|
881
980
|
"aria-label": "Range end",
|
|
@@ -883,53 +982,66 @@ var be = ["data-minimap"], xe = {
|
|
|
883
982
|
"aria-valuemax": Number(x.max),
|
|
884
983
|
"aria-valuenow": Number(w.value)
|
|
885
984
|
}));
|
|
886
|
-
function
|
|
887
|
-
if (!
|
|
888
|
-
let t =
|
|
985
|
+
function Fr(e) {
|
|
986
|
+
if (!Ft.value) return 0;
|
|
987
|
+
let t = Ft.value.getBoundingClientRect();
|
|
889
988
|
return t.width ? (e - t.left) / t.width * I.value.width : 0;
|
|
890
989
|
}
|
|
891
|
-
function
|
|
990
|
+
function Ir(e) {
|
|
892
991
|
let t = (e - (x.minimapCompact ? 0 : V.value / 2)) / Math.max(1, V.value);
|
|
893
992
|
return Math.max(0, Math.min(Math.max(0, R.value - 1), Math.round(t)));
|
|
894
993
|
}
|
|
895
|
-
function
|
|
896
|
-
|
|
897
|
-
|
|
994
|
+
function Lr(e) {
|
|
995
|
+
if (x.useValueRange) {
|
|
996
|
+
let t = Bt(e);
|
|
997
|
+
if (D.value === "start") {
|
|
998
|
+
let e = Math.min(t, Number(w.value) - O.value);
|
|
999
|
+
k.value = e, Kt(e);
|
|
1000
|
+
return;
|
|
1001
|
+
}
|
|
1002
|
+
if (D.value === "end") {
|
|
1003
|
+
let e = Math.max(Number(C.value) + O.value, t), n = Math.min(Number(x.max), e);
|
|
1004
|
+
A.value = n, qt(n);
|
|
1005
|
+
return;
|
|
1006
|
+
}
|
|
1007
|
+
}
|
|
1008
|
+
let t = Ir(e);
|
|
1009
|
+
if (D.value === "start") {
|
|
898
1010
|
let e = Math.min(x.min + t, Number(w.value) - 1);
|
|
899
|
-
k.value = e,
|
|
1011
|
+
k.value = e, Kt(e);
|
|
900
1012
|
return;
|
|
901
1013
|
}
|
|
902
|
-
if (
|
|
1014
|
+
if (D.value === "end") {
|
|
903
1015
|
let e = Math.max(Number(C.value) + 1, x.min + t + 1), n = Math.min(x.max, e);
|
|
904
|
-
A.value = n,
|
|
1016
|
+
A.value = n, qt(n);
|
|
905
1017
|
}
|
|
906
1018
|
}
|
|
907
|
-
function
|
|
908
|
-
if (!
|
|
909
|
-
let t = e.clientX -
|
|
910
|
-
if (!
|
|
1019
|
+
function Rr(e) {
|
|
1020
|
+
if (!D.value || !F.value) return;
|
|
1021
|
+
let t = e.clientX - Nt.value;
|
|
1022
|
+
if (!Mt.value) {
|
|
911
1023
|
if (Math.abs(t) < 4) return;
|
|
912
|
-
|
|
1024
|
+
Mt.value = !0, E.value = !0, Z.value = !0;
|
|
913
1025
|
}
|
|
914
|
-
let n =
|
|
915
|
-
|
|
1026
|
+
let n = Fr(e.clientX) - Pt.value;
|
|
1027
|
+
Lr(D.value === "start" ? n + Wt.value : n);
|
|
916
1028
|
}
|
|
917
|
-
function
|
|
918
|
-
if (!
|
|
919
|
-
window.removeEventListener("mousemove",
|
|
920
|
-
let e =
|
|
921
|
-
|
|
1029
|
+
function zr() {
|
|
1030
|
+
if (!D.value) return;
|
|
1031
|
+
window.removeEventListener("mousemove", Rr, !0), window.removeEventListener("mouseup", zr, !0);
|
|
1032
|
+
let e = Mt.value;
|
|
1033
|
+
D.value = null, Mt.value = !1, Nt.value = 0, Pt.value = 0, e && j();
|
|
922
1034
|
}
|
|
923
|
-
function
|
|
1035
|
+
function Br(e, t) {
|
|
924
1036
|
if (!T.value || !x.minimapCompact || !F.value) return;
|
|
925
1037
|
t.preventDefault(), t.stopPropagation();
|
|
926
|
-
let n =
|
|
927
|
-
|
|
1038
|
+
let n = Fr(t.clientX), r = e === "start" ? W.value.x - Wt.value : W.value.x + W.value.width;
|
|
1039
|
+
D.value = e, Mt.value = !1, Nt.value = t.clientX, Pt.value = n - r, window.addEventListener("mousemove", Rr, !0), window.addEventListener("mouseup", zr, !0);
|
|
928
1040
|
}
|
|
929
|
-
let
|
|
1041
|
+
let Vr = d(() => z.value), Hr = d(() => Math.max(z.value, B.value - 1));
|
|
930
1042
|
d(() => {
|
|
931
1043
|
if (!T.value || !x.minimapCompact || !x.allMinimaps.length) return [];
|
|
932
|
-
let e =
|
|
1044
|
+
let e = Vr.value, t = Hr.value;
|
|
933
1045
|
return U.value.flatMap((n) => {
|
|
934
1046
|
if (!n?.isVisible || !["line", "plot"].includes(n.type) || !n.type) return [];
|
|
935
1047
|
let r = [], i = n.points?.find((t) => t.i === e && t.value !== null), a = n.points?.find((e) => e.i === t && e.value !== null);
|
|
@@ -946,10 +1058,10 @@ var be = ["data-minimap"], xe = {
|
|
|
946
1058
|
}), r;
|
|
947
1059
|
});
|
|
948
1060
|
});
|
|
949
|
-
let $ = d(() => Math.min(40, Math.max(20, x.handleWidth))),
|
|
950
|
-
return
|
|
951
|
-
setStartValue:
|
|
952
|
-
setEndValue:
|
|
1061
|
+
let $ = d(() => Math.min(40, Math.max(20, x.handleWidth))), Ur = d(() => W.value.x - $.value), Wr = d(() => W.value.x + W.value.width);
|
|
1062
|
+
return Dt({
|
|
1063
|
+
setStartValue: Bn,
|
|
1064
|
+
setEndValue: Hn
|
|
953
1065
|
}), (e, t) => (_(), p("div", {
|
|
954
1066
|
"data-minimap": T.value,
|
|
955
1067
|
"data-dom-to-png-ignore": "",
|
|
@@ -960,9 +1072,9 @@ var be = ["data-minimap"], xe = {
|
|
|
960
1072
|
class: "vue-data-ui-zoom",
|
|
961
1073
|
ref_key: "zoomWrapper",
|
|
962
1074
|
ref: S,
|
|
963
|
-
onMousedown:
|
|
964
|
-
onTouchstart:
|
|
965
|
-
}, [m("div", xe, [s.valueStart !== s.refreshStartPoint || s.valueEnd !==
|
|
1075
|
+
onMousedown: rr,
|
|
1076
|
+
onTouchstart: rr
|
|
1077
|
+
}, [m("div", xe, [s.valueStart !== s.refreshStartPoint || s.valueEnd !== Jt.value ? (_(), p("div", Se, [fe(e.$slots, "reset-action", { reset: an }, () => [m("button", {
|
|
966
1078
|
tabindex: "0",
|
|
967
1079
|
role: "button",
|
|
968
1080
|
class: "vue-data-ui-refresh-button",
|
|
@@ -970,7 +1082,7 @@ var be = ["data-minimap"], xe = {
|
|
|
970
1082
|
top: T.value ? "36px" : "-16px",
|
|
971
1083
|
cursor: s.isCursorPointer ? "pointer" : "default"
|
|
972
1084
|
}),
|
|
973
|
-
onClick:
|
|
1085
|
+
onClick: an
|
|
974
1086
|
}, [ae(ie, {
|
|
975
1087
|
name: "refresh",
|
|
976
1088
|
stroke: s.textColor
|
|
@@ -987,14 +1099,14 @@ var be = ["data-minimap"], xe = {
|
|
|
987
1099
|
}, [
|
|
988
1100
|
T.value ? (_(), p("div", Ce, [(_(), p("svg", {
|
|
989
1101
|
ref_key: "minimapSvg",
|
|
990
|
-
ref:
|
|
1102
|
+
ref: Ft,
|
|
991
1103
|
key: `mm-${s.minimapMerged ? "merged" : "split"}-${s.minimapCompact ? "compact" : "normal"}`,
|
|
992
1104
|
xmlns: me(ne),
|
|
993
1105
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height)}`,
|
|
994
1106
|
preserveAspectRatio: "none"
|
|
995
1107
|
}, [
|
|
996
1108
|
m("defs", null, [m("linearGradient", {
|
|
997
|
-
id:
|
|
1109
|
+
id: At.value,
|
|
998
1110
|
x1: "0%",
|
|
999
1111
|
y1: "0%",
|
|
1000
1112
|
x2: "0%",
|
|
@@ -1005,7 +1117,12 @@ var be = ["data-minimap"], xe = {
|
|
|
1005
1117
|
}, null, 8, Ee), t[20] ||= m("stop", {
|
|
1006
1118
|
offset: "100%",
|
|
1007
1119
|
"stop-color": "transparent"
|
|
1008
|
-
}, null, -1)], 8, Te)
|
|
1120
|
+
}, null, -1)], 8, Te), m("clipPath", { id: `selection_clip_${At.value}` }, [m("rect", {
|
|
1121
|
+
x: W.value.x,
|
|
1122
|
+
y: "0",
|
|
1123
|
+
width: Math.max(0, W.value.width),
|
|
1124
|
+
height: Math.max(I.value.height, 0)
|
|
1125
|
+
}, null, 8, Oe)], 8, De)]),
|
|
1009
1126
|
s.minimapCompact ? (_(), p("rect", {
|
|
1010
1127
|
key: 0,
|
|
1011
1128
|
class: "vue-ui-zoom-minimap-frame",
|
|
@@ -1016,7 +1133,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1016
1133
|
fill: "none",
|
|
1017
1134
|
stroke: s.minimapFrameColor,
|
|
1018
1135
|
rx: 3
|
|
1019
|
-
}, null, 8,
|
|
1136
|
+
}, null, 8, ke)) : f("", !0),
|
|
1020
1137
|
e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 1 }, [s.minimapMerged ? (_(), p("path", {
|
|
1021
1138
|
key: 0,
|
|
1022
1139
|
d: `M${H.value.fullSet}`,
|
|
@@ -1026,22 +1143,22 @@ var be = ["data-minimap"], xe = {
|
|
|
1026
1143
|
"stroke-linecap": "round",
|
|
1027
1144
|
"stroke-linejoin": "round",
|
|
1028
1145
|
style: { opacity: "0.6" }
|
|
1029
|
-
}, null, 8,
|
|
1146
|
+
}, null, 8, Ae)) : f("", !0), s.minimapMerged && !s.minimapCompact ? (_(), p("path", {
|
|
1030
1147
|
key: 1,
|
|
1031
1148
|
d: `M${V.value / 2},${Math.max(I.value.height, 0)} ${H.value.fullSet} L${I.value.width - V.value / 2},${Math.max(I.value.height, 0)}Z`,
|
|
1032
|
-
fill: `url(#${
|
|
1149
|
+
fill: `url(#${At.value})`,
|
|
1033
1150
|
stroke: "none",
|
|
1034
1151
|
style: { opacity: "0.6" }
|
|
1035
|
-
}, null, 8,
|
|
1152
|
+
}, null, 8, je)) : s.minimapMerged ? f("", !0) : (_(), p(u, { key: 2 }, [
|
|
1036
1153
|
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e && !isNaN(n.y) ? (_(), p("rect", {
|
|
1037
1154
|
key: 0,
|
|
1038
|
-
x:
|
|
1155
|
+
x: pn(n.x, t, r),
|
|
1039
1156
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1040
|
-
width:
|
|
1157
|
+
width: mn(t, r),
|
|
1041
1158
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1042
1159
|
fill: e.color,
|
|
1043
1160
|
style: { opacity: .6 }
|
|
1044
|
-
}, null, 8,
|
|
1161
|
+
}, null, 8, Me)) : f("", !0)], 64))), 256))]))), 256)),
|
|
1045
1162
|
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e) => (_(), p("g", null, [e.isVisible ? (_(), p("path", {
|
|
1046
1163
|
key: 0,
|
|
1047
1164
|
d: `M ${e.fullSet}`,
|
|
@@ -1049,7 +1166,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1049
1166
|
stroke: e.color,
|
|
1050
1167
|
style: { opacity: "0.6" },
|
|
1051
1168
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1052
|
-
}, null, 8,
|
|
1169
|
+
}, null, 8, Ne)) : f("", !0), e.isVisible && s.cutNullValues ? (_(!0), p(u, { key: 1 }, y(e.fullMarkers, (t) => (_(), p("circle", {
|
|
1053
1170
|
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
1054
1171
|
cx: t.x,
|
|
1055
1172
|
cy: t.y,
|
|
@@ -1058,7 +1175,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1058
1175
|
stroke: P.value,
|
|
1059
1176
|
"stroke-width": "0.5",
|
|
1060
1177
|
style: { opacity: "0.6" }
|
|
1061
|
-
}, null, 8,
|
|
1178
|
+
}, null, 8, Pe))), 128)) : f("", !0)]))), 256)),
|
|
1062
1179
|
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (t) => (_(), p("g", null, [e.isVisible && t.value !== null ? (_(), p("circle", {
|
|
1063
1180
|
key: `sel-plot-under-${e.key}-${t.i}`,
|
|
1064
1181
|
cx: t.x,
|
|
@@ -1068,7 +1185,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1068
1185
|
stroke: P.value,
|
|
1069
1186
|
"stroke-width": "0.5",
|
|
1070
1187
|
style: { opacity: "0.6" }
|
|
1071
|
-
}, null, 8,
|
|
1188
|
+
}, null, 8, Fe)) : f("", !0)]))), 256))]))), 256))
|
|
1072
1189
|
], 64))], 64)),
|
|
1073
1190
|
m("rect", {
|
|
1074
1191
|
x: W.value.x,
|
|
@@ -1078,7 +1195,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1078
1195
|
fill: P.value,
|
|
1079
1196
|
rx: s.minimapSelectionRadius,
|
|
1080
1197
|
stroke: "none"
|
|
1081
|
-
}, null, 8,
|
|
1198
|
+
}, null, 8, Ie),
|
|
1082
1199
|
m("rect", {
|
|
1083
1200
|
x: W.value.x,
|
|
1084
1201
|
y: 0,
|
|
@@ -1086,8 +1203,8 @@ var be = ["data-minimap"], xe = {
|
|
|
1086
1203
|
height: Math.max(I.value.height, 0),
|
|
1087
1204
|
rx: s.minimapSelectionRadius,
|
|
1088
1205
|
fill: P.value,
|
|
1089
|
-
style: g({ opacity:
|
|
1090
|
-
}, null, 12,
|
|
1206
|
+
style: g({ opacity: Gn.value || E.value ? 0 : 1 })
|
|
1207
|
+
}, null, 12, Le),
|
|
1091
1208
|
m("rect", {
|
|
1092
1209
|
x: W.value.x,
|
|
1093
1210
|
y: 0,
|
|
@@ -1103,34 +1220,28 @@ var be = ["data-minimap"], xe = {
|
|
|
1103
1220
|
"aria-valuemax": Number(x.max),
|
|
1104
1221
|
"aria-valuenow": Number(C.value),
|
|
1105
1222
|
"aria-valuetext": Q.value.left && Q.value.right ? `${Q.value.left} – ${Q.value.right}` : void 0,
|
|
1106
|
-
onKeydown:
|
|
1107
|
-
}, null, 44,
|
|
1108
|
-
!s.minimapMerged &&
|
|
1223
|
+
onKeydown: kr
|
|
1224
|
+
}, null, 44, Re),
|
|
1225
|
+
!s.minimapMerged && Sn.value < 0 ? (_(), p("line", {
|
|
1109
1226
|
key: 2,
|
|
1110
1227
|
class: "slicer-minimap-zero-line",
|
|
1111
1228
|
x1: 0,
|
|
1112
1229
|
x2: I.value.width,
|
|
1113
|
-
y1:
|
|
1114
|
-
y2:
|
|
1230
|
+
y1: wn.value,
|
|
1231
|
+
y2: wn.value,
|
|
1115
1232
|
stroke: s.minimapFrameColor,
|
|
1116
1233
|
"stroke-width": "0.5"
|
|
1117
|
-
}, null, 8,
|
|
1118
|
-
e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 3 }, [s.minimapMerged ? (_(), p("g",
|
|
1234
|
+
}, null, 8, ze)) : f("", !0),
|
|
1235
|
+
e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 3 }, [s.minimapMerged ? (_(), p("g", Be, [
|
|
1119
1236
|
H.value && H.value.sliced && H.value.sliced.length ? (_(), p(u, { key: 0 }, [H.value.selectionSet ? (_(), p("path", {
|
|
1120
1237
|
key: 0,
|
|
1121
|
-
d: `M${H.value.sliced[0].x},${Math.max(I.value.height, 0)} ${H.value.selectionSet} L${H.value.sliced[H.value.sliced.length - 1].x},${Math.max(I.value.height, 0)}Z`,
|
|
1122
|
-
fill: `url(#${Ot.value})`,
|
|
1123
|
-
stroke: "none",
|
|
1124
|
-
style: { opacity: "1" }
|
|
1125
|
-
}, null, 8, ze)) : f("", !0), H.value.selectionSet ? (_(), p("path", {
|
|
1126
|
-
key: 1,
|
|
1127
1238
|
d: `M ${H.value.selectionSet}`,
|
|
1128
1239
|
stroke: `${s.minimapLineColor}`,
|
|
1129
1240
|
fill: "transparent",
|
|
1130
1241
|
"stroke-width": "2",
|
|
1131
1242
|
"stroke-linecap": "round",
|
|
1132
1243
|
"stroke-linejoin": "round"
|
|
1133
|
-
}, null, 8,
|
|
1244
|
+
}, null, 8, Ve)) : f("", !0)], 64)) : f("", !0),
|
|
1134
1245
|
H.value && H.value.firstPlot ? (_(), p("circle", {
|
|
1135
1246
|
key: 1,
|
|
1136
1247
|
cx: H.value.firstPlot.x,
|
|
@@ -1139,7 +1250,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1139
1250
|
stroke: P.value,
|
|
1140
1251
|
r: "3",
|
|
1141
1252
|
fill: s.minimapLineColor
|
|
1142
|
-
}, null, 8,
|
|
1253
|
+
}, null, 8, He)) : f("", !0),
|
|
1143
1254
|
H.value && H.value.lastPlot ? (_(), p("circle", {
|
|
1144
1255
|
key: 2,
|
|
1145
1256
|
cx: H.value.lastPlot.x,
|
|
@@ -1148,17 +1259,17 @@ var be = ["data-minimap"], xe = {
|
|
|
1148
1259
|
stroke: P.value,
|
|
1149
1260
|
r: "3",
|
|
1150
1261
|
fill: s.minimapLineColor
|
|
1151
|
-
}, null, 8,
|
|
1152
|
-
])) : (_(), p("g",
|
|
1262
|
+
}, null, 8, Ue)) : f("", !0)
|
|
1263
|
+
])) : (_(), p("g", We, [
|
|
1153
1264
|
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "bar" && e.isVisible), (e, t) => (_(), p("g", null, [(_(!0), p(u, null, y(e.points, (n, r) => (_(), p(u, null, [e && !isNaN(n.y) ? (_(), p("rect", {
|
|
1154
1265
|
key: 0,
|
|
1155
|
-
x:
|
|
1266
|
+
x: pn(n.x, t, r),
|
|
1156
1267
|
y: n.v >= 0 ? n.y : n.y0,
|
|
1157
|
-
width:
|
|
1268
|
+
width: mn(t, r),
|
|
1158
1269
|
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
1159
1270
|
fill: e.color,
|
|
1160
1271
|
style: g({ opacity: +(r >= k.value && r < A.value) })
|
|
1161
|
-
}, null, 12,
|
|
1272
|
+
}, null, 12, Ge)) : f("", !0)], 64))), 256))]))), 256)),
|
|
1162
1273
|
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), p("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
|
|
1163
1274
|
key: 0,
|
|
1164
1275
|
d: `M ${e.selectionSet}`,
|
|
@@ -1168,8 +1279,8 @@ var be = ["data-minimap"], xe = {
|
|
|
1168
1279
|
"stroke-linecap": "round",
|
|
1169
1280
|
"stroke-linejoin": "round",
|
|
1170
1281
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1171
|
-
}, null, 8,
|
|
1172
|
-
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", { key: String(e.key) }, [(_(!0), p(u, null, y(e.
|
|
1282
|
+
}, null, 8, Ke)) : f("", !0)]))), 128)),
|
|
1283
|
+
(_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", { key: String(e.key) }, [(_(!0), p(u, null, y(e.sliced, (t) => (_(), p("g", null, [e.isVisible && t.value !== null ? (_(), p("circle", {
|
|
1173
1284
|
key: 0,
|
|
1174
1285
|
cx: t.x,
|
|
1175
1286
|
cy: t.y,
|
|
@@ -1178,15 +1289,15 @@ var be = ["data-minimap"], xe = {
|
|
|
1178
1289
|
stroke: P.value,
|
|
1179
1290
|
"stroke-width": "0.5",
|
|
1180
1291
|
style: { opacity: "0.6" }
|
|
1181
|
-
}, null, 8,
|
|
1292
|
+
}, null, 8, qe)) : f("", !0)]))), 256))]))), 128))
|
|
1182
1293
|
]))], 64)),
|
|
1183
1294
|
e.$slots.slotMap ? fe(e.$slots, "slotMap", ce(oe({ key: 4 }, {
|
|
1184
1295
|
width: Math.max(0, I.value.width),
|
|
1185
1296
|
height: Math.max(0, I.value.height),
|
|
1186
|
-
zeroY:
|
|
1297
|
+
zeroY: wn.value,
|
|
1187
1298
|
unitW: Math.max(0, V.value)
|
|
1188
1299
|
})), void 0, !0) : f("", !0),
|
|
1189
|
-
G.value !== null && !X.value ? (_(), p("line", ce(oe({ key: 5 },
|
|
1300
|
+
G.value !== null && !X.value ? (_(), p("line", ce(oe({ key: 5 }, br.value)), null, 16)) : f("", !0),
|
|
1190
1301
|
m("rect", {
|
|
1191
1302
|
x: 0,
|
|
1192
1303
|
y: 0,
|
|
@@ -1196,13 +1307,13 @@ var be = ["data-minimap"], xe = {
|
|
|
1196
1307
|
style: g([{ "pointer-events": "all !important" }, { cursor: s.enableSelectionDrag ? X.value ? "grabbing" : "grab" : "default" }]),
|
|
1197
1308
|
onMousedown: t[0] ||= (e) => X.value = !0,
|
|
1198
1309
|
onMouseup: t[1] ||= (e) => X.value = !1,
|
|
1199
|
-
onMousemove:
|
|
1200
|
-
onMouseleave:
|
|
1201
|
-
}, null, 44,
|
|
1310
|
+
onMousemove: Pn,
|
|
1311
|
+
onMouseleave: Fn
|
|
1312
|
+
}, null, 44, Je),
|
|
1202
1313
|
T.value && s.minimapCompact ? (_(), p(u, { key: 6 }, [
|
|
1203
1314
|
m("rect", {
|
|
1204
1315
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1205
|
-
x:
|
|
1316
|
+
x: Ur.value,
|
|
1206
1317
|
y: 0,
|
|
1207
1318
|
width: $.value,
|
|
1208
1319
|
height: I.value.height,
|
|
@@ -1210,11 +1321,11 @@ var be = ["data-minimap"], xe = {
|
|
|
1210
1321
|
stroke: s.handleBorderColor || s.textColor,
|
|
1211
1322
|
"stroke-width": s.handleBorderWidth,
|
|
1212
1323
|
rx: 3
|
|
1213
|
-
}, null, 8,
|
|
1324
|
+
}, null, 8, Ye),
|
|
1214
1325
|
s.handleType && s.handleType !== "empty" ? (_(), p("g", {
|
|
1215
1326
|
key: 0,
|
|
1216
1327
|
class: "compact-handle-icon",
|
|
1217
|
-
transform: `translate(${
|
|
1328
|
+
transform: `translate(${Ur.value}, 0)`,
|
|
1218
1329
|
style: { "pointer-events": "none" }
|
|
1219
1330
|
}, [(_(), p("svg", {
|
|
1220
1331
|
width: $.value,
|
|
@@ -1229,7 +1340,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1229
1340
|
"stroke-width": .618,
|
|
1230
1341
|
"stroke-linejoin": "round",
|
|
1231
1342
|
"stroke-linecap": "round"
|
|
1232
|
-
}, null, 8,
|
|
1343
|
+
}, null, 8, Qe)) : s.handleType === "chevron" ? (_(), p("path", {
|
|
1233
1344
|
key: 1,
|
|
1234
1345
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1235
1346
|
fill: "none",
|
|
@@ -1237,16 +1348,16 @@ var be = ["data-minimap"], xe = {
|
|
|
1237
1348
|
"stroke-width": .618,
|
|
1238
1349
|
"stroke-linejoin": "round",
|
|
1239
1350
|
"stroke-linecap": "round"
|
|
1240
|
-
}, null, 8,
|
|
1351
|
+
}, null, 8, $e)) : s.handleType === "grab" ? (_(), p("path", {
|
|
1241
1352
|
key: 2,
|
|
1242
1353
|
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",
|
|
1243
1354
|
fill: s.handleIconColor || s.textColor,
|
|
1244
1355
|
stroke: "none",
|
|
1245
1356
|
opacity: "0.6"
|
|
1246
|
-
}, null, 8,
|
|
1357
|
+
}, null, 8, et)) : f("", !0)], 8, Ze))], 8, Xe)) : f("", !0),
|
|
1247
1358
|
m("rect", {
|
|
1248
1359
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1249
|
-
x:
|
|
1360
|
+
x: Wr.value,
|
|
1250
1361
|
y: 0,
|
|
1251
1362
|
width: $.value,
|
|
1252
1363
|
height: I.value.height,
|
|
@@ -1254,11 +1365,11 @@ var be = ["data-minimap"], xe = {
|
|
|
1254
1365
|
stroke: s.handleBorderColor || s.textColor,
|
|
1255
1366
|
"stroke-width": s.handleBorderWidth,
|
|
1256
1367
|
rx: 3
|
|
1257
|
-
}, null, 8,
|
|
1368
|
+
}, null, 8, tt),
|
|
1258
1369
|
s.handleType && s.handleType !== "empty" ? (_(), p("g", {
|
|
1259
1370
|
key: 1,
|
|
1260
1371
|
class: "compact-handle-icon",
|
|
1261
|
-
transform: `translate(${
|
|
1372
|
+
transform: `translate(${Wr.value}, 0)`,
|
|
1262
1373
|
style: { "pointer-events": "none" }
|
|
1263
1374
|
}, [(_(), p("svg", {
|
|
1264
1375
|
width: $.value,
|
|
@@ -1273,7 +1384,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1273
1384
|
"stroke-width": .618,
|
|
1274
1385
|
"stroke-linejoin": "round",
|
|
1275
1386
|
"stroke-linecap": "round"
|
|
1276
|
-
}, null, 8,
|
|
1387
|
+
}, null, 8, it)) : s.handleType === "chevron" ? (_(), p("path", {
|
|
1277
1388
|
key: 1,
|
|
1278
1389
|
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
1279
1390
|
fill: "none",
|
|
@@ -1281,15 +1392,15 @@ var be = ["data-minimap"], xe = {
|
|
|
1281
1392
|
"stroke-width": .618,
|
|
1282
1393
|
"stroke-linejoin": "round",
|
|
1283
1394
|
"stroke-linecap": "round"
|
|
1284
|
-
}, null, 8,
|
|
1395
|
+
}, null, 8, at)) : s.handleType === "grab" ? (_(), p("path", {
|
|
1285
1396
|
key: 2,
|
|
1286
1397
|
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",
|
|
1287
1398
|
fill: s.handleIconColor || s.textColor,
|
|
1288
1399
|
stroke: "none",
|
|
1289
1400
|
opacity: "0.6"
|
|
1290
|
-
}, null, 8,
|
|
1401
|
+
}, null, 8, ot)) : f("", !0)], 8, rt))], 8, nt)) : f("", !0)
|
|
1291
1402
|
], 64)) : f("", !0),
|
|
1292
|
-
e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 7 }, [s.minimapMerged ? (_(), p("g",
|
|
1403
|
+
e.$slots.slotMap ? f("", !0) : (_(), p(u, { key: 7 }, [s.minimapMerged ? (_(), p("g", st, [
|
|
1293
1404
|
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), p("circle", {
|
|
1294
1405
|
key: 0,
|
|
1295
1406
|
cx: H.value.firstPlot.x,
|
|
@@ -1298,14 +1409,14 @@ var be = ["data-minimap"], xe = {
|
|
|
1298
1409
|
stroke: P.value,
|
|
1299
1410
|
r: "4",
|
|
1300
1411
|
fill: s.minimapLineColor
|
|
1301
|
-
}, null, 8,
|
|
1412
|
+
}, null, 8, ct)) : f("", !0),
|
|
1302
1413
|
H.value && H.value.firstPlot && H.value.firstPlot.value !== null ? (_(), p("circle", {
|
|
1303
1414
|
key: 1,
|
|
1304
1415
|
cx: H.value.firstPlot.x,
|
|
1305
1416
|
cy: H.value.firstPlot.y,
|
|
1306
1417
|
r: 2,
|
|
1307
1418
|
fill: P.value
|
|
1308
|
-
}, null, 8,
|
|
1419
|
+
}, null, 8, lt)) : f("", !0),
|
|
1309
1420
|
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), p("circle", {
|
|
1310
1421
|
key: 2,
|
|
1311
1422
|
cx: H.value.lastPlot.x,
|
|
@@ -1314,15 +1425,15 @@ var be = ["data-minimap"], xe = {
|
|
|
1314
1425
|
stroke: P.value,
|
|
1315
1426
|
r: "4",
|
|
1316
1427
|
fill: s.minimapLineColor
|
|
1317
|
-
}, null, 8,
|
|
1428
|
+
}, null, 8, ut)) : f("", !0),
|
|
1318
1429
|
H.value && H.value.lastPlot && H.value.lastPlot.value !== null ? (_(), p("circle", {
|
|
1319
1430
|
key: 3,
|
|
1320
1431
|
cx: H.value.lastPlot.x,
|
|
1321
1432
|
cy: H.value.lastPlot.y,
|
|
1322
1433
|
r: "2",
|
|
1323
1434
|
fill: P.value
|
|
1324
|
-
}, null, 8,
|
|
1325
|
-
])) : (_(), p("g",
|
|
1435
|
+
}, null, 8, dt)) : f("", !0)
|
|
1436
|
+
])) : (_(), p("g", ft, [(_(!0), p(u, null, y(U.value.filter((e) => e.type === "line"), (e, t) => (_(), p("g", { key: String(e.key) }, [
|
|
1326
1437
|
e && e.hasSelection && e.selectionSet && e.isVisible ? (_(), p("path", {
|
|
1327
1438
|
key: 0,
|
|
1328
1439
|
d: `M ${e.selectionSet}`,
|
|
@@ -1332,7 +1443,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1332
1443
|
"stroke-linecap": "round",
|
|
1333
1444
|
"stroke-linejoin": "round",
|
|
1334
1445
|
"stroke-dasharray": e.dashed ? "2 4" : 0
|
|
1335
|
-
}, null, 8,
|
|
1446
|
+
}, null, 8, pt)) : f("", !0),
|
|
1336
1447
|
e.isVisible && s.cutNullValues ? (_(!0), p(u, { key: 1 }, y(e.selectionMarkers, (t) => (_(), p("circle", {
|
|
1337
1448
|
key: `sel-dot-${e.key}-${t.i}`,
|
|
1338
1449
|
cx: t.x,
|
|
@@ -1341,7 +1452,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1341
1452
|
fill: e.color,
|
|
1342
1453
|
stroke: P.value,
|
|
1343
1454
|
"stroke-width": "0.5"
|
|
1344
|
-
}, null, 8,
|
|
1455
|
+
}, null, 8, mt))), 128)) : f("", !0),
|
|
1345
1456
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
|
|
1346
1457
|
key: 2,
|
|
1347
1458
|
cx: e.firstPlot.x,
|
|
@@ -1350,14 +1461,14 @@ var be = ["data-minimap"], xe = {
|
|
|
1350
1461
|
stroke: P.value,
|
|
1351
1462
|
r: "4",
|
|
1352
1463
|
fill: e.color
|
|
1353
|
-
}, null, 8,
|
|
1464
|
+
}, null, 8, ht)) : f("", !0),
|
|
1354
1465
|
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (_(), p("circle", {
|
|
1355
1466
|
key: 3,
|
|
1356
1467
|
cx: e.firstPlot.x,
|
|
1357
1468
|
cy: e.firstPlot.y,
|
|
1358
1469
|
r: "2",
|
|
1359
1470
|
fill: P.value
|
|
1360
|
-
}, null, 8,
|
|
1471
|
+
}, null, 8, gt)) : f("", !0),
|
|
1361
1472
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
|
|
1362
1473
|
key: 4,
|
|
1363
1474
|
cx: e.lastPlot.x,
|
|
@@ -1366,14 +1477,14 @@ var be = ["data-minimap"], xe = {
|
|
|
1366
1477
|
stroke: P.value,
|
|
1367
1478
|
r: "4",
|
|
1368
1479
|
fill: e.color
|
|
1369
|
-
}, null, 8,
|
|
1480
|
+
}, null, 8, _t)) : f("", !0),
|
|
1370
1481
|
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (_(), p("circle", {
|
|
1371
1482
|
key: 5,
|
|
1372
1483
|
cx: e.lastPlot.x,
|
|
1373
1484
|
cy: e.lastPlot.y,
|
|
1374
1485
|
r: "2",
|
|
1375
1486
|
fill: P.value
|
|
1376
|
-
}, null, 8,
|
|
1487
|
+
}, null, 8, vt)) : f("", !0)
|
|
1377
1488
|
]))), 128)), (_(!0), p(u, null, y(U.value.filter((e) => e.type === "plot"), (e) => (_(), p("g", { key: String(e.key) }, [(_(!0), p(u, null, y(e.points, (t) => (_(), p("g", null, [e.isVisible && s.cutNullValues && t.value !== null ? (_(), p("circle", {
|
|
1378
1489
|
key: `sel-plot-${e.key}-${t.i}`,
|
|
1379
1490
|
cx: t.x,
|
|
@@ -1382,7 +1493,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1382
1493
|
fill: e.color,
|
|
1383
1494
|
stroke: P.value,
|
|
1384
1495
|
"stroke-width": "0.5"
|
|
1385
|
-
}, null, 8,
|
|
1496
|
+
}, null, 8, yt)) : f("", !0)]))), 256))]))), 128))]))], 64))
|
|
1386
1497
|
], 8, we))])) : f("", !0),
|
|
1387
1498
|
m("div", {
|
|
1388
1499
|
class: "slider-track",
|
|
@@ -1405,8 +1516,9 @@ var be = ["data-minimap"], xe = {
|
|
|
1405
1516
|
key: 1,
|
|
1406
1517
|
"aria-label": "range-handle-left",
|
|
1407
1518
|
ref_key: "rangeStart",
|
|
1408
|
-
ref:
|
|
1519
|
+
ref: In,
|
|
1409
1520
|
type: "range",
|
|
1521
|
+
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1410
1522
|
class: h({
|
|
1411
1523
|
"range-left": !0,
|
|
1412
1524
|
"range-handle": !0,
|
|
@@ -1414,19 +1526,19 @@ var be = ["data-minimap"], xe = {
|
|
|
1414
1526
|
"range-invisible": T.value && s.minimapCompact
|
|
1415
1527
|
}),
|
|
1416
1528
|
min: s.min,
|
|
1417
|
-
max: s.minimapCompact && T.value ? Math.max(0, R.value - 1) : s.max,
|
|
1529
|
+
max: s.minimapCompact && T.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1418
1530
|
tabindex: T.value ? -1 : 0,
|
|
1419
|
-
"onUpdate:modelValue": t[4] ||= (e) =>
|
|
1531
|
+
"onUpdate:modelValue": t[4] ||= (e) => On.value = e,
|
|
1420
1532
|
onFocus: t[5] ||= (e) => T.value && e.target.blur(),
|
|
1421
|
-
onInput: t[6] ||= (e) =>
|
|
1533
|
+
onInput: t[6] ||= (e) => On.value = e.target.valueAsNumber,
|
|
1422
1534
|
onChange: j,
|
|
1423
1535
|
onKeyup: ve(j, ["enter"]),
|
|
1424
1536
|
onBlur: j,
|
|
1425
|
-
onMouseenter: t[7] ||= (e) =>
|
|
1537
|
+
onMouseenter: t[7] ||= (e) => _r("start"),
|
|
1426
1538
|
onPointerup: j
|
|
1427
|
-
}, null, 42,
|
|
1539
|
+
}, null, 42, bt)), [[
|
|
1428
1540
|
ge,
|
|
1429
|
-
|
|
1541
|
+
On.value,
|
|
1430
1542
|
void 0,
|
|
1431
1543
|
{ number: !0 }
|
|
1432
1544
|
]]) : f("", !0),
|
|
@@ -1434,8 +1546,9 @@ var be = ["data-minimap"], xe = {
|
|
|
1434
1546
|
key: 2,
|
|
1435
1547
|
"aria-label": "range-handle-right",
|
|
1436
1548
|
ref_key: "rangeEnd",
|
|
1437
|
-
ref:
|
|
1549
|
+
ref: Ln,
|
|
1438
1550
|
type: "range",
|
|
1551
|
+
step: s.precision > 0 ? 1 / 10 ** s.precision : 1,
|
|
1439
1552
|
class: h({
|
|
1440
1553
|
"range-right": !0,
|
|
1441
1554
|
"range-handle": !0,
|
|
@@ -1443,55 +1556,55 @@ var be = ["data-minimap"], xe = {
|
|
|
1443
1556
|
"range-invisible": T.value && s.minimapCompact
|
|
1444
1557
|
}),
|
|
1445
1558
|
min: s.min,
|
|
1446
|
-
max: s.minimapCompact && T.value ? Math.max(0, R.value - 1) : s.max,
|
|
1559
|
+
max: s.minimapCompact && T.value && !s.useValueRange ? Math.max(0, R.value - 1) : s.max,
|
|
1447
1560
|
tabindex: T.value ? -1 : 0,
|
|
1448
1561
|
onFocus: t[8] ||= (e) => T.value && e.target.blur(),
|
|
1449
|
-
"onUpdate:modelValue": t[9] ||= (e) =>
|
|
1450
|
-
onInput: t[10] ||= (e) =>
|
|
1562
|
+
"onUpdate:modelValue": t[9] ||= (e) => kn.value = e,
|
|
1563
|
+
onInput: t[10] ||= (e) => kn.value = e.target.valueAsNumber,
|
|
1451
1564
|
onChange: j,
|
|
1452
1565
|
onKeyup: ve(j, ["enter"]),
|
|
1453
1566
|
onBlur: j,
|
|
1454
|
-
onMouseenter: t[11] ||= (e) =>
|
|
1567
|
+
onMouseenter: t[11] ||= (e) => _r("end"),
|
|
1455
1568
|
onPointerup: j
|
|
1456
|
-
}, null, 42,
|
|
1569
|
+
}, null, 42, xt)), [[
|
|
1457
1570
|
ge,
|
|
1458
|
-
|
|
1571
|
+
kn.value,
|
|
1459
1572
|
void 0,
|
|
1460
1573
|
{ number: !0 }
|
|
1461
1574
|
]]) : f("", !0),
|
|
1462
|
-
T.value && s.minimapCompact ? (_(), p("div",
|
|
1575
|
+
T.value && s.minimapCompact ? (_(), p("div", St, [(_(), p("svg", {
|
|
1463
1576
|
xmlns: me(ne),
|
|
1464
1577
|
viewBox: `0 0 ${Math.max(0, I.value.width)} ${Math.max(0, I.value.height + 1)}`
|
|
1465
1578
|
}, [m("rect", oe({
|
|
1466
1579
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1467
|
-
x:
|
|
1580
|
+
x: Ur.value,
|
|
1468
1581
|
y: 0,
|
|
1469
1582
|
width: $.value,
|
|
1470
1583
|
height: I.value.height,
|
|
1471
1584
|
fill: "transparent",
|
|
1472
1585
|
stroke: "none"
|
|
1473
|
-
},
|
|
1474
|
-
onKeydown: t[12] ||= (e) =>
|
|
1475
|
-
onMousedown: t[13] ||= ye((e) =>
|
|
1586
|
+
}, Nr.value, {
|
|
1587
|
+
onKeydown: t[12] ||= (e) => Mr("start", e),
|
|
1588
|
+
onMousedown: t[13] ||= ye((e) => Br("start", e), ["stop", "prevent"]),
|
|
1476
1589
|
onClick: t[14] ||= ye(() => {}, ["stop", "prevent"])
|
|
1477
|
-
}), null, 16,
|
|
1590
|
+
}), null, 16, wt), m("rect", oe({
|
|
1478
1591
|
class: "vue-ui-zoom-compact-minimap-handle",
|
|
1479
|
-
x:
|
|
1592
|
+
x: Wr.value,
|
|
1480
1593
|
y: 0,
|
|
1481
1594
|
width: $.value,
|
|
1482
1595
|
height: I.value.height,
|
|
1483
1596
|
fill: "transparent",
|
|
1484
1597
|
stroke: "none",
|
|
1485
1598
|
rx: 3
|
|
1486
|
-
},
|
|
1487
|
-
onKeydown: t[15] ||= (e) =>
|
|
1488
|
-
onMousedown: t[16] ||= ye((e) =>
|
|
1599
|
+
}, Pr.value, {
|
|
1600
|
+
onKeydown: t[15] ||= (e) => Mr("end", e),
|
|
1601
|
+
onMousedown: t[16] ||= ye((e) => Br("end", e), ["stop", "prevent"]),
|
|
1489
1602
|
onClick: t[17] ||= ye(() => {}, ["stop", "prevent"])
|
|
1490
|
-
}), null, 16,
|
|
1603
|
+
}), null, 16, Tt)], 8, Ct))])) : f("", !0),
|
|
1491
1604
|
Q.value.left ? (_(), p("div", {
|
|
1492
1605
|
key: 4,
|
|
1493
1606
|
ref_key: "tooltipLeft",
|
|
1494
|
-
ref:
|
|
1607
|
+
ref: ur,
|
|
1495
1608
|
class: h({
|
|
1496
1609
|
"range-tooltip": !0,
|
|
1497
1610
|
"range-tooltip-visible": Z.value,
|
|
@@ -1503,12 +1616,12 @@ var be = ["data-minimap"], xe = {
|
|
|
1503
1616
|
color: me(te)(s.selectColor),
|
|
1504
1617
|
backgroundColor: s.selectColor,
|
|
1505
1618
|
border: `1px solid ${P.value}`,
|
|
1506
|
-
zIndex: `${
|
|
1507
|
-
visibility:
|
|
1619
|
+
zIndex: `${gr.value + 4}`,
|
|
1620
|
+
visibility: vr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1508
1621
|
top: T.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1509
1622
|
})
|
|
1510
1623
|
}, pe(Q.value.left), 7)) : f("", !0),
|
|
1511
|
-
(
|
|
1624
|
+
(vr.value || Q.value.left === Q.value.right) && (Q.value.left || Q.value.right) ? (_(), p("div", {
|
|
1512
1625
|
key: 5,
|
|
1513
1626
|
ref: "tooltipMerge",
|
|
1514
1627
|
class: h({
|
|
@@ -1520,7 +1633,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1520
1633
|
}),
|
|
1521
1634
|
style: g({
|
|
1522
1635
|
left: N.value.tooltipCenter,
|
|
1523
|
-
width:
|
|
1636
|
+
width: yr.value.width + "px",
|
|
1524
1637
|
color: me(te)(s.selectColor),
|
|
1525
1638
|
backgroundColor: s.selectColor,
|
|
1526
1639
|
border: `1px solid ${P.value}`,
|
|
@@ -1531,7 +1644,7 @@ var be = ["data-minimap"], xe = {
|
|
|
1531
1644
|
Q.value.right ? (_(), p("div", {
|
|
1532
1645
|
key: 6,
|
|
1533
1646
|
ref_key: "tooltipRight",
|
|
1534
|
-
ref:
|
|
1647
|
+
ref: dr,
|
|
1535
1648
|
class: h({
|
|
1536
1649
|
"range-tooltip": !0,
|
|
1537
1650
|
"range-tooltip-visible": Z.value,
|
|
@@ -1544,12 +1657,12 @@ var be = ["data-minimap"], xe = {
|
|
|
1544
1657
|
backgroundColor: s.selectColor,
|
|
1545
1658
|
border: `1px solid ${P.value}`,
|
|
1546
1659
|
zIndex: "4",
|
|
1547
|
-
visibility:
|
|
1660
|
+
visibility: vr.value || Q.value.left === Q.value.right ? "hidden" : "visible",
|
|
1548
1661
|
top: T.value && s.minimapCompact ? "calc(-100% - 12px)" : "-100%"
|
|
1549
1662
|
})
|
|
1550
1663
|
}, pe(Q.value.right), 7)) : f("", !0)
|
|
1551
1664
|
], 36)], 44, be));
|
|
1552
1665
|
}
|
|
1553
|
-
}, [["__scopeId", "data-v-
|
|
1666
|
+
}, [["__scopeId", "data-v-0cedccd9"]]);
|
|
1554
1667
|
//#endregion
|
|
1555
|
-
export {
|
|
1668
|
+
export { Dt as t };
|