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