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
|
@@ -0,0 +1,1144 @@
|
|
|
1
|
+
import { Bt as e, H as t, I as n, L as r, j as i, k as a, r as o, t as s } from "./lib-B83ZCydz.js";
|
|
2
|
+
import { t as c } from "./_plugin-vue_export-helper-Dq1MygBL.js";
|
|
3
|
+
import { c as l, r as ee } from "./canvas-lib-DTaADQOK.js";
|
|
4
|
+
import { t as u } from "./useResponsive-CrAInupd.js";
|
|
5
|
+
import { t as te } from "./BaseIcon-CL6Y7alf.js";
|
|
6
|
+
import { Fragment as d, computed as f, createCommentVNode as p, createElementBlock as m, createElementVNode as h, createVNode as ne, mergeProps as re, nextTick as ie, normalizeClass as g, normalizeProps as ae, normalizeStyle as _, onBeforeUnmount as oe, onMounted as se, onUpdated as ce, openBlock as v, ref as y, renderList as b, renderSlot as le, toDisplayString as ue, unref as de, useCssVars as fe, vModelText as pe, watch as x, withDirectives as me } from "vue";
|
|
7
|
+
//#region src/atoms/Slicer.vue
|
|
8
|
+
var he = ["data-minimap"], ge = {
|
|
9
|
+
class: "vue-data-ui-slicer-labels",
|
|
10
|
+
style: {
|
|
11
|
+
position: "relative",
|
|
12
|
+
"z-index": "1",
|
|
13
|
+
"pointer-events": "none"
|
|
14
|
+
}
|
|
15
|
+
}, _e = {
|
|
16
|
+
key: 0,
|
|
17
|
+
style: {
|
|
18
|
+
width: "100%",
|
|
19
|
+
position: "relative",
|
|
20
|
+
"pointer-events": "all"
|
|
21
|
+
}
|
|
22
|
+
}, ve = {
|
|
23
|
+
key: 0,
|
|
24
|
+
class: "minimap",
|
|
25
|
+
style: { width: "100%" }
|
|
26
|
+
}, ye = ["xmlns", "viewBox"], be = ["id"], xe = ["stop-color"], Se = [
|
|
27
|
+
"width",
|
|
28
|
+
"height",
|
|
29
|
+
"stroke"
|
|
30
|
+
], Ce = ["d", "stroke"], we = [
|
|
31
|
+
"x",
|
|
32
|
+
"width",
|
|
33
|
+
"y",
|
|
34
|
+
"height",
|
|
35
|
+
"fill"
|
|
36
|
+
], Te = ["d", "stroke"], Ee = [
|
|
37
|
+
"cx",
|
|
38
|
+
"cy",
|
|
39
|
+
"fill",
|
|
40
|
+
"stroke"
|
|
41
|
+
], De = [
|
|
42
|
+
"x",
|
|
43
|
+
"width",
|
|
44
|
+
"height",
|
|
45
|
+
"fill",
|
|
46
|
+
"rx"
|
|
47
|
+
], Oe = [
|
|
48
|
+
"x",
|
|
49
|
+
"width",
|
|
50
|
+
"height",
|
|
51
|
+
"rx",
|
|
52
|
+
"fill"
|
|
53
|
+
], ke = [
|
|
54
|
+
"x",
|
|
55
|
+
"width",
|
|
56
|
+
"height",
|
|
57
|
+
"fill",
|
|
58
|
+
"rx"
|
|
59
|
+
], Ae = [
|
|
60
|
+
"x2",
|
|
61
|
+
"y1",
|
|
62
|
+
"y2",
|
|
63
|
+
"stroke"
|
|
64
|
+
], je = ["d", "fill"], Me = ["d", "stroke"], Ne = { key: 6 }, Pe = [
|
|
65
|
+
"x",
|
|
66
|
+
"width",
|
|
67
|
+
"y",
|
|
68
|
+
"height",
|
|
69
|
+
"fill"
|
|
70
|
+
], Fe = ["d", "stroke"], Ie = [
|
|
71
|
+
"x",
|
|
72
|
+
"width",
|
|
73
|
+
"height",
|
|
74
|
+
"fill",
|
|
75
|
+
"stroke",
|
|
76
|
+
"stroke-width"
|
|
77
|
+
], Le = [
|
|
78
|
+
"x",
|
|
79
|
+
"width",
|
|
80
|
+
"height"
|
|
81
|
+
], Re = ["fill", "stroke"], ze = ["stroke"], Be = ["fill"], Ve = [
|
|
82
|
+
"x",
|
|
83
|
+
"width",
|
|
84
|
+
"height",
|
|
85
|
+
"fill",
|
|
86
|
+
"stroke",
|
|
87
|
+
"stroke-width"
|
|
88
|
+
], He = [
|
|
89
|
+
"x",
|
|
90
|
+
"width",
|
|
91
|
+
"height"
|
|
92
|
+
], Ue = ["fill", "stroke"], We = ["stroke"], Ge = ["fill"], Ke = [
|
|
93
|
+
"cx",
|
|
94
|
+
"cy",
|
|
95
|
+
"stroke",
|
|
96
|
+
"fill"
|
|
97
|
+
], qe = [
|
|
98
|
+
"cx",
|
|
99
|
+
"cy",
|
|
100
|
+
"fill"
|
|
101
|
+
], Je = [
|
|
102
|
+
"cx",
|
|
103
|
+
"cy",
|
|
104
|
+
"stroke",
|
|
105
|
+
"fill"
|
|
106
|
+
], Ye = [
|
|
107
|
+
"cx",
|
|
108
|
+
"cy",
|
|
109
|
+
"fill"
|
|
110
|
+
], Xe = { key: 12 }, Ze = [
|
|
111
|
+
"cx",
|
|
112
|
+
"cy",
|
|
113
|
+
"fill",
|
|
114
|
+
"stroke"
|
|
115
|
+
], Qe = [
|
|
116
|
+
"cx",
|
|
117
|
+
"cy",
|
|
118
|
+
"stroke",
|
|
119
|
+
"fill"
|
|
120
|
+
], $e = [
|
|
121
|
+
"cx",
|
|
122
|
+
"cy",
|
|
123
|
+
"fill"
|
|
124
|
+
], et = [
|
|
125
|
+
"cx",
|
|
126
|
+
"cy",
|
|
127
|
+
"stroke",
|
|
128
|
+
"fill"
|
|
129
|
+
], tt = [
|
|
130
|
+
"cx",
|
|
131
|
+
"cy",
|
|
132
|
+
"fill"
|
|
133
|
+
], nt = [
|
|
134
|
+
"height",
|
|
135
|
+
"x",
|
|
136
|
+
"width",
|
|
137
|
+
"onMouseenter"
|
|
138
|
+
], rt = ["min", "max"], it = ["min", "max"], at = 48, ot = /* @__PURE__ */ c({
|
|
139
|
+
__name: "Slicer",
|
|
140
|
+
props: {
|
|
141
|
+
background: {
|
|
142
|
+
type: String,
|
|
143
|
+
default: "#FFFFFF"
|
|
144
|
+
},
|
|
145
|
+
borderColor: {
|
|
146
|
+
type: String,
|
|
147
|
+
default: "#FFFFFF"
|
|
148
|
+
},
|
|
149
|
+
fontSize: {
|
|
150
|
+
type: Number,
|
|
151
|
+
default: 14
|
|
152
|
+
},
|
|
153
|
+
labelLeft: {
|
|
154
|
+
type: [String, Number],
|
|
155
|
+
default: ""
|
|
156
|
+
},
|
|
157
|
+
labelRight: {
|
|
158
|
+
type: [String, Number],
|
|
159
|
+
default: ""
|
|
160
|
+
},
|
|
161
|
+
textColor: {
|
|
162
|
+
type: String,
|
|
163
|
+
default: "#1A1A1A"
|
|
164
|
+
},
|
|
165
|
+
inputColor: {
|
|
166
|
+
type: String,
|
|
167
|
+
default: "#1A1A1A"
|
|
168
|
+
},
|
|
169
|
+
max: {
|
|
170
|
+
type: Number,
|
|
171
|
+
default: 0
|
|
172
|
+
},
|
|
173
|
+
min: {
|
|
174
|
+
type: Number,
|
|
175
|
+
default: 0
|
|
176
|
+
},
|
|
177
|
+
selectColor: {
|
|
178
|
+
type: String,
|
|
179
|
+
default: "#4A4A4A"
|
|
180
|
+
},
|
|
181
|
+
useResetSlot: {
|
|
182
|
+
type: Boolean,
|
|
183
|
+
default: !1
|
|
184
|
+
},
|
|
185
|
+
valueStart: {
|
|
186
|
+
type: [Number, String],
|
|
187
|
+
default: 0
|
|
188
|
+
},
|
|
189
|
+
valueEnd: {
|
|
190
|
+
type: [Number, String],
|
|
191
|
+
default: 0
|
|
192
|
+
},
|
|
193
|
+
minimap: {
|
|
194
|
+
type: Array,
|
|
195
|
+
default: []
|
|
196
|
+
},
|
|
197
|
+
smoothMinimap: {
|
|
198
|
+
type: Boolean,
|
|
199
|
+
default: !1
|
|
200
|
+
},
|
|
201
|
+
minimapSelectedColor: {
|
|
202
|
+
type: String,
|
|
203
|
+
default: "#1f77b4"
|
|
204
|
+
},
|
|
205
|
+
minimapSelectionRadius: {
|
|
206
|
+
type: Number,
|
|
207
|
+
default: 12
|
|
208
|
+
},
|
|
209
|
+
minimapLineColor: {
|
|
210
|
+
type: String,
|
|
211
|
+
default: "#2D353C"
|
|
212
|
+
},
|
|
213
|
+
minimapSelectedColorOpacity: {
|
|
214
|
+
type: Number,
|
|
215
|
+
default: .2
|
|
216
|
+
},
|
|
217
|
+
minimapSelectedIndex: {
|
|
218
|
+
type: Number,
|
|
219
|
+
default: null
|
|
220
|
+
},
|
|
221
|
+
minimapIndicatorColor: {
|
|
222
|
+
type: String,
|
|
223
|
+
default: "#2D353C"
|
|
224
|
+
},
|
|
225
|
+
refreshStartPoint: {
|
|
226
|
+
type: Number,
|
|
227
|
+
default: 0
|
|
228
|
+
},
|
|
229
|
+
refreshEndPoint: {
|
|
230
|
+
type: Number,
|
|
231
|
+
default: null
|
|
232
|
+
},
|
|
233
|
+
enableRangeHandles: {
|
|
234
|
+
type: Boolean,
|
|
235
|
+
default: !1
|
|
236
|
+
},
|
|
237
|
+
enableSelectionDrag: {
|
|
238
|
+
type: Boolean,
|
|
239
|
+
default: !0
|
|
240
|
+
},
|
|
241
|
+
verticalHandles: {
|
|
242
|
+
type: Boolean,
|
|
243
|
+
default: !1
|
|
244
|
+
},
|
|
245
|
+
minimapCompact: {
|
|
246
|
+
type: Boolean,
|
|
247
|
+
default: !1
|
|
248
|
+
},
|
|
249
|
+
allMinimaps: {
|
|
250
|
+
type: Array,
|
|
251
|
+
default() {
|
|
252
|
+
return [];
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
minimapMerged: {
|
|
256
|
+
type: Boolean,
|
|
257
|
+
default: !1
|
|
258
|
+
},
|
|
259
|
+
minimapFrameColor: {
|
|
260
|
+
type: String,
|
|
261
|
+
default: "#e1e5e8"
|
|
262
|
+
},
|
|
263
|
+
cutNullValues: {
|
|
264
|
+
type: Boolean,
|
|
265
|
+
default: !1
|
|
266
|
+
},
|
|
267
|
+
focusOnDrag: {
|
|
268
|
+
type: Boolean,
|
|
269
|
+
default: !1
|
|
270
|
+
},
|
|
271
|
+
focusRangeRatio: {
|
|
272
|
+
type: Number,
|
|
273
|
+
default: .1
|
|
274
|
+
},
|
|
275
|
+
maxWidth: {
|
|
276
|
+
type: Number,
|
|
277
|
+
default: null
|
|
278
|
+
},
|
|
279
|
+
isCursorPointer: {
|
|
280
|
+
type: Boolean,
|
|
281
|
+
default: !1
|
|
282
|
+
},
|
|
283
|
+
additionalMinimapHeight: {
|
|
284
|
+
type: Number,
|
|
285
|
+
default: 0
|
|
286
|
+
},
|
|
287
|
+
handleType: {
|
|
288
|
+
type: String,
|
|
289
|
+
default: ""
|
|
290
|
+
},
|
|
291
|
+
handleWidth: {
|
|
292
|
+
type: Number,
|
|
293
|
+
default: 20
|
|
294
|
+
},
|
|
295
|
+
handleBorderWidth: {
|
|
296
|
+
type: Number,
|
|
297
|
+
default: 1
|
|
298
|
+
},
|
|
299
|
+
handleIconColor: {
|
|
300
|
+
type: String,
|
|
301
|
+
default: null
|
|
302
|
+
},
|
|
303
|
+
handleBorderColor: {
|
|
304
|
+
type: String,
|
|
305
|
+
default: null
|
|
306
|
+
},
|
|
307
|
+
handleFill: {
|
|
308
|
+
type: String,
|
|
309
|
+
default: null
|
|
310
|
+
}
|
|
311
|
+
},
|
|
312
|
+
emits: [
|
|
313
|
+
"update:start",
|
|
314
|
+
"update:end",
|
|
315
|
+
"reset",
|
|
316
|
+
"trapMouse"
|
|
317
|
+
],
|
|
318
|
+
setup(c, { expose: ot, emit: st }) {
|
|
319
|
+
fe((e) => ({
|
|
320
|
+
b23d0982: Ct.value,
|
|
321
|
+
v3ed703b3: j.value,
|
|
322
|
+
v4316bee4: Tt.value,
|
|
323
|
+
v1f0c44e3: c.selectColor,
|
|
324
|
+
v7afd85f1: wt.value
|
|
325
|
+
}));
|
|
326
|
+
let S = c, C = y(null), w = y(S.min), T = y(S.max), E = f(() => !!S.allMinimaps.length), ct = y(t()), D = f(() => E.value && S.minimapCompact), lt = y(0);
|
|
327
|
+
se(() => {
|
|
328
|
+
let e = () => {
|
|
329
|
+
C.value && (lt.value = C.value.getBoundingClientRect().width);
|
|
330
|
+
};
|
|
331
|
+
e();
|
|
332
|
+
let t = l(e, 50);
|
|
333
|
+
window.addEventListener("resize", t), oe(() => {
|
|
334
|
+
window.removeEventListener("resize", t);
|
|
335
|
+
});
|
|
336
|
+
});
|
|
337
|
+
let ut = f(() => S.refreshEndPoint === null ? S.max : S.refreshEndPoint), O = st, k = f(() => {
|
|
338
|
+
if (D.value) {
|
|
339
|
+
let e = Math.max(1, Sn.value - 1);
|
|
340
|
+
return xt.value / e * 100;
|
|
341
|
+
}
|
|
342
|
+
let e = Math.max(1, S.max - S.min);
|
|
343
|
+
return (w.value - S.min) / e * 100;
|
|
344
|
+
}), dt = f(() => {
|
|
345
|
+
if (D.value) {
|
|
346
|
+
let e = Math.max(1, Sn.value - 1);
|
|
347
|
+
return St.value / e * 100;
|
|
348
|
+
}
|
|
349
|
+
let e = Math.max(1, S.max - S.min);
|
|
350
|
+
return (T.value - S.min) / e * 100;
|
|
351
|
+
}), ft = f(() => (k.value + dt.value) / 2), pt = f(() => {
|
|
352
|
+
if (!C.value) return !1;
|
|
353
|
+
let e = C.value.getBoundingClientRect().width;
|
|
354
|
+
return k.value / 100 * e - hn.value / 2 < 0;
|
|
355
|
+
}), mt = f(() => {
|
|
356
|
+
if (!C.value) return !1;
|
|
357
|
+
let e = C.value.getBoundingClientRect().width;
|
|
358
|
+
return dt.value / 100 * e + gn.value / 2 > e;
|
|
359
|
+
}), A = f(() => {
|
|
360
|
+
let e = mt.value ? `calc(${ft.value}% - ${xn.value.width}px)` : pt.value ? `calc(${ft.value}% - 8px)` : `calc(${ft.value}% - ${xn.value.width / 2}px)`;
|
|
361
|
+
return {
|
|
362
|
+
left: `${k.value}%`,
|
|
363
|
+
width: `${Math.max(0, dt.value - k.value)}%`,
|
|
364
|
+
background: S.selectColor,
|
|
365
|
+
tooltipLeft: `calc(${k.value}% - ${pt.value ? 9 : hn.value / 2}px)`,
|
|
366
|
+
tooltipRight: `calc(${dt.value}% - ${mt.value ? gn.value - 9 : gn.value / 2}px)`,
|
|
367
|
+
tooltipCenter: e,
|
|
368
|
+
arrowLeft: !pt.value,
|
|
369
|
+
arrowRight: !mt.value
|
|
370
|
+
};
|
|
371
|
+
}), ht = f(() => Math.max(0, (P.value || 1) - 1)), gt = f(() => Math.max(0, (Sn.value || 1) - 1));
|
|
372
|
+
function _t(e) {
|
|
373
|
+
return gt.value === 0 ? 0 : Math.round(e / gt.value * ht.value);
|
|
374
|
+
}
|
|
375
|
+
function vt(e) {
|
|
376
|
+
return ht.value === 0 ? 0 : Math.round(e / ht.value * gt.value);
|
|
377
|
+
}
|
|
378
|
+
let yt = (e) => Math.floor(S.min + e), bt = (e) => Math.ceil(S.min + e), xt = f({
|
|
379
|
+
get() {
|
|
380
|
+
return D.value ? _t(Q.value) : Number(w.value);
|
|
381
|
+
},
|
|
382
|
+
set(e) {
|
|
383
|
+
if (D.value) {
|
|
384
|
+
let t = Math.round(+e || 0), n = Math.max(0, _t(Math.max(0, $.value - 1)));
|
|
385
|
+
V(yt(vt(Math.min(Math.max(0, t), n))));
|
|
386
|
+
} else {
|
|
387
|
+
let t = Math.round(+e || 0), n = Number(T.value) - 1;
|
|
388
|
+
V(Math.min(Math.max(S.min, t), n));
|
|
389
|
+
}
|
|
390
|
+
}
|
|
391
|
+
}), St = f({
|
|
392
|
+
get() {
|
|
393
|
+
return D.value ? _t(Math.max(Q.value, $.value - 1)) : Number(T.value);
|
|
394
|
+
},
|
|
395
|
+
set(e) {
|
|
396
|
+
if (D.value) {
|
|
397
|
+
let t = Math.round(+e || 0), n = _t(Q.value);
|
|
398
|
+
H(bt(vt(Math.max(t, n)) + 1));
|
|
399
|
+
} else {
|
|
400
|
+
let t = Math.round(+e || 0), n = Number(w.value) + 1;
|
|
401
|
+
H(Math.max(n, Math.min(t, S.max)));
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
}), Ct = f(() => S.inputColor), wt = f(() => S.background), Tt = f(() => `${S.selectColor}33`), j = f(() => S.borderColor), Et = f(() => {
|
|
405
|
+
let e = [];
|
|
406
|
+
for (let t = 0; t < S.max; t += 1) e.push(t);
|
|
407
|
+
return e;
|
|
408
|
+
});
|
|
409
|
+
function Dt() {
|
|
410
|
+
O("reset");
|
|
411
|
+
}
|
|
412
|
+
x(() => S.min, (e) => {
|
|
413
|
+
Number(w.value) < Number(e) && (w.value = Number(e)), Number(T.value) < Number(e) && (T.value = Number(e));
|
|
414
|
+
}), x(() => S.max, (e) => {
|
|
415
|
+
Number(w.value) > Number(e) && (w.value = Number(e)), Number(T.value) > Number(e) && (T.value = Number(e));
|
|
416
|
+
});
|
|
417
|
+
let Ot = y(null), M = y({
|
|
418
|
+
width: 1,
|
|
419
|
+
height: 1
|
|
420
|
+
}), N = y(null);
|
|
421
|
+
se(() => {
|
|
422
|
+
if (E.value) {
|
|
423
|
+
let e = l(() => {
|
|
424
|
+
let { width: e, height: t } = u({ chart: Ot.value });
|
|
425
|
+
M.value.width = e, M.value.height = t - 47;
|
|
426
|
+
});
|
|
427
|
+
N.value = new ResizeObserver(e), N.value.observe(Ot.value);
|
|
428
|
+
}
|
|
429
|
+
}), oe(() => {
|
|
430
|
+
N.value && N.value.disconnect();
|
|
431
|
+
});
|
|
432
|
+
let P = f(() => Math.max(...S.allMinimaps.map((e) => e.series.length), S.minimap.length || 0)), F = f(() => {
|
|
433
|
+
if (!P.value) return 0;
|
|
434
|
+
let e = Math.max(1, P.value - +!!S.minimapCompact);
|
|
435
|
+
return M.value.width / e;
|
|
436
|
+
}), kt = f(() => {
|
|
437
|
+
let e = [];
|
|
438
|
+
if (Array.isArray(S.minimap) && S.minimap.length && S.minimapMerged && e.push(...S.minimap.filter(Number.isFinite)), Array.isArray(S.allMinimaps) && S.allMinimaps.length) for (let t of S.allMinimaps) t?.isVisible && Array.isArray(t?.series) && e.push(...t.series.filter(Number.isFinite));
|
|
439
|
+
return e.length ? {
|
|
440
|
+
min: Math.min(...e),
|
|
441
|
+
max: Math.max(...e)
|
|
442
|
+
} : {
|
|
443
|
+
min: 0,
|
|
444
|
+
max: 1
|
|
445
|
+
};
|
|
446
|
+
}), I = f(() => kt.value.min), L = f(() => kt.value.max), At = f(() => I.value < 0 && L.value > 0 || L.value <= 0 ? I.value : 0), jt = f(() => Math.max(1e-9, Math.max(Math.abs(I.value), Math.abs(L.value)))), Mt = f(() => I.value < 0 && L.value > 0), Nt = (e) => {
|
|
447
|
+
let t = Math.max(1, M.value.height);
|
|
448
|
+
if (Mt.value) {
|
|
449
|
+
let n = jt.value;
|
|
450
|
+
return (1 - (Math.max(-1, Math.min(1, e / n)) + 1) / 2) * t;
|
|
451
|
+
} else {
|
|
452
|
+
let n = Math.min(0, I.value), r = Math.max(0, L.value);
|
|
453
|
+
return t - (e - n) / Math.max(1e-9, r - n) * t;
|
|
454
|
+
}
|
|
455
|
+
}, Pt = f(() => Nt(0)), Ft = f(() => S.allMinimaps.length ? S.allMinimaps.filter((e) => e.type === "bar").length : 0), It = f(() => F.value / (Ft.value || 1) * .8);
|
|
456
|
+
function Lt(e, t, n) {
|
|
457
|
+
let r = It.value, i = Math.max(1, Ft.value), a = P.value - 1;
|
|
458
|
+
return n === 0 ? e + r / 2 * t : n === a ? e - r / 2 * (i - t) : e - i * r / 2 + t * r;
|
|
459
|
+
}
|
|
460
|
+
function Rt(e, t) {
|
|
461
|
+
return [0, P.value - 1].includes(t) ? It.value / 2 : It.value;
|
|
462
|
+
}
|
|
463
|
+
function zt(e, t, n) {
|
|
464
|
+
let r = (e, t, n) => Math.max(t, Math.min(n, e)), i = 1e-9;
|
|
465
|
+
if (t <= 0) {
|
|
466
|
+
let t = Math.max(i, 0 - e);
|
|
467
|
+
return (r) => n - (r - e) / t * n;
|
|
468
|
+
}
|
|
469
|
+
if (e >= 0) {
|
|
470
|
+
let e = Math.max(i, t - 0);
|
|
471
|
+
return (t) => n - (t - 0) / e * n;
|
|
472
|
+
}
|
|
473
|
+
let a = Math.max(i, Math.max(Math.abs(e), Math.abs(t)));
|
|
474
|
+
return (e) => (1 - (r(e / a, -1, 1) + 1) / 2) * n;
|
|
475
|
+
}
|
|
476
|
+
function Bt(e, t = !1) {
|
|
477
|
+
if (!e || !e.length) return {
|
|
478
|
+
fullSet: "",
|
|
479
|
+
points: [],
|
|
480
|
+
selectionSet: "",
|
|
481
|
+
sliced: [],
|
|
482
|
+
firstPlot: null,
|
|
483
|
+
lastPlot: null,
|
|
484
|
+
hasFull: !1,
|
|
485
|
+
hasSelection: !1,
|
|
486
|
+
fullMarkers: [],
|
|
487
|
+
selectionMarkers: []
|
|
488
|
+
};
|
|
489
|
+
let o = Math.max(1, M.value.height), s = zt(I.value, L.value, o), c = e.length, l = Math.min(Math.max(0, Q.value), Math.max(0, c - 1)), ee = Math.min(c, Math.max(l + 1, $.value)), u = e.map((e, t) => {
|
|
490
|
+
let n = e, r = Number.isFinite(n), i = F.value * t + (S.minimapCompact ? 0 : F.value / 2), a = s(0);
|
|
491
|
+
return {
|
|
492
|
+
x: i,
|
|
493
|
+
y: r ? s(n) : NaN,
|
|
494
|
+
v: n,
|
|
495
|
+
value: n == null ? null : r ? n : null,
|
|
496
|
+
y0: a,
|
|
497
|
+
i: t
|
|
498
|
+
};
|
|
499
|
+
}), te = (e) => e >= 0 && e < u.length && Number.isFinite(u[e]?.value), d = u.filter((e) => Number.isFinite(e.value) && !te(e.i - 1) && !te(e.i + 1)), f = d.filter((e) => e.i >= l && e.i < ee), p = u.slice(l, ee);
|
|
500
|
+
return {
|
|
501
|
+
fullSet: u.length >= 2 ? S.smoothMinimap || t ? S.cutNullValues ? i(u) : a(u.filter((e) => e.value != null)) : S.cutNullValues ? r(u) : n(u.filter((e) => e.value != null)) : "",
|
|
502
|
+
points: u,
|
|
503
|
+
selectionSet: p.length >= 2 ? S.smoothMinimap || t ? S.cutNullValues ? i(p) : a(p.filter((e) => e.value != null)) : S.cutNullValues ? r(p) : n(p.filter((e) => e.value != null)) : "",
|
|
504
|
+
sliced: p,
|
|
505
|
+
firstPlot: u[l] || null,
|
|
506
|
+
lastPlot: u[Math.max(0, ee - 1)] || null,
|
|
507
|
+
hasFull: u.length >= 2,
|
|
508
|
+
hasSelection: p.length >= 2,
|
|
509
|
+
fullMarkers: d,
|
|
510
|
+
selectionMarkers: f
|
|
511
|
+
};
|
|
512
|
+
}
|
|
513
|
+
let R = f(() => S.minimap.length ? Bt(S.minimap) : {
|
|
514
|
+
fullSet: "",
|
|
515
|
+
selectionSet: "",
|
|
516
|
+
sliced: [],
|
|
517
|
+
firstPlot: null,
|
|
518
|
+
lastPlot: null,
|
|
519
|
+
hasFull: !1,
|
|
520
|
+
hasSelection: !1
|
|
521
|
+
}), Vt = f(() => S.allMinimaps.length ? S.allMinimaps.map((e, t) => {
|
|
522
|
+
let n = Bt(e?.series || [], !!e.smooth), r = e?.id ?? e?.name ?? t;
|
|
523
|
+
return {
|
|
524
|
+
key: typeof r == "object" ? JSON.stringify(r) : String(r),
|
|
525
|
+
color: e?.color,
|
|
526
|
+
...n,
|
|
527
|
+
isVisible: e.isVisible,
|
|
528
|
+
type: e.type || "line"
|
|
529
|
+
};
|
|
530
|
+
}) : []), z = f(() => {
|
|
531
|
+
let e = Q.value, t = Math.max(e + 1, $.value);
|
|
532
|
+
return {
|
|
533
|
+
x: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
|
|
534
|
+
width: F.value * (t - e) - F.value
|
|
535
|
+
};
|
|
536
|
+
}), B = y(S.minimapSelectedIndex);
|
|
537
|
+
function Ht(e) {
|
|
538
|
+
B.value = Cn(S.valueStart) + e;
|
|
539
|
+
}
|
|
540
|
+
let Ut = ee(Ht, 60);
|
|
541
|
+
x(() => S.minimapSelectedIndex, (e, t) => {
|
|
542
|
+
if ([null, void 0].includes(e)) {
|
|
543
|
+
B.value = null;
|
|
544
|
+
return;
|
|
545
|
+
}
|
|
546
|
+
e !== t && Ut(e);
|
|
547
|
+
}, { immediate: !0 });
|
|
548
|
+
function Wt(e) {
|
|
549
|
+
B.value = e;
|
|
550
|
+
let t = Q.value, n = $.value;
|
|
551
|
+
e >= t && e < n && !J.value && O("trapMouse", e - t);
|
|
552
|
+
}
|
|
553
|
+
let Gt = y(null), Kt = y(null);
|
|
554
|
+
function V(e) {
|
|
555
|
+
w.value = e, Gt.value && (Gt.value.value = e), O("update:start", Number(w.value));
|
|
556
|
+
}
|
|
557
|
+
function H(e) {
|
|
558
|
+
T.value = e, Kt.value && (Kt.value.value = e), O("update:end", Number(T.value));
|
|
559
|
+
}
|
|
560
|
+
let qt = f(() => S.valueEnd - S.valueStart), Jt = f(() => qt.value < S.max - S.min), U = y(!1), Yt = y(null), Xt = f(() => (lt.value - 48) / (S.max - S.min) * qt.value), Zt = f(() => Math.max(1, lt.value - at - Xt.value)), Qt = f(() => Math.max(1, S.max - S.min - qt.value)), $t = f(() => Qt.value / Zt.value), en = y(0), tn = y(0), nn = y(0), rn = y(0), W = null, G = null, K = null, q = null, an = y(S.min);
|
|
561
|
+
function on(e) {
|
|
562
|
+
if (!C.value) return S.min;
|
|
563
|
+
let t = C.value.getBoundingClientRect(), n = t.left + at / 2, r = t.right - at / 2, i = Math.max(1, r - n), a = (Math.max(n, Math.min(e, r)) - n) / i, o = Math.max(1, S.max - S.min);
|
|
564
|
+
return Math.round(S.min + a * o);
|
|
565
|
+
}
|
|
566
|
+
let sn = async (t) => {
|
|
567
|
+
if (X.value = !0, !S.enableSelectionDrag) return;
|
|
568
|
+
let n = t.type === "touchstart";
|
|
569
|
+
n || t.stopPropagation();
|
|
570
|
+
let r = n && t.targetTouches && t.targetTouches[0] ? t.targetTouches[0] : null, i = n ? r ? r.target : null : t.target;
|
|
571
|
+
if (!i || !(i instanceof Element) || i.classList && i.classList.contains("range-handle")) return;
|
|
572
|
+
U.value = !0;
|
|
573
|
+
let a = n ? r ? r.clientX : 0 : t.clientX;
|
|
574
|
+
if (Yt.value = a, en.value = a, S.focusOnDrag && !Jt.value && C.value) {
|
|
575
|
+
an.value = on(a);
|
|
576
|
+
let t = Math.min(.95, Math.max(.05, S.focusRangeRatio)), n = S.max - S.min, r = Math.max(1, Math.round(n * t)), i = Math.floor(r / 2), o = an.value - i;
|
|
577
|
+
o = Math.max(S.min, Math.min(o, S.max - r));
|
|
578
|
+
let s = Math.min(S.max, o + r);
|
|
579
|
+
V(o), H(s), e(C.value, "mouseup"), await ie(), e(C.value, "mousedown", { clientX: a });
|
|
580
|
+
}
|
|
581
|
+
tn.value = Number(w.value), nn.value = Number(T.value), rn.value = $t.value, W = n ? "touchmove" : "mousemove", G = n ? "touchend" : "mouseup", K = n ? ln : cn, q = n ? fn : dn, window.addEventListener(W, K, { passive: !1 }), window.addEventListener(G, q);
|
|
582
|
+
};
|
|
583
|
+
function cn(e) {
|
|
584
|
+
U.value && un(e.clientX);
|
|
585
|
+
}
|
|
586
|
+
function ln(e) {
|
|
587
|
+
if (!U.value || !C.value) return;
|
|
588
|
+
let t = e.target;
|
|
589
|
+
if (!(t instanceof Element) || !C.value.contains(t) || t.classList && t.classList.contains("range-handle")) return;
|
|
590
|
+
e.preventDefault();
|
|
591
|
+
let n = e.targetTouches && e.targetTouches[0] ? e.targetTouches[0] : null;
|
|
592
|
+
n && un(n.clientX);
|
|
593
|
+
}
|
|
594
|
+
function un(e) {
|
|
595
|
+
if (!U.value) return;
|
|
596
|
+
let t = on(en.value), n = on(e) - t, r = Math.max(1, nn.value - tn.value), i = Math.round(tn.value + n), a = S.min, o = S.max - r;
|
|
597
|
+
i < a && (i = a), i > o && (i = o);
|
|
598
|
+
let s = i + r;
|
|
599
|
+
V(i), H(s);
|
|
600
|
+
}
|
|
601
|
+
function dn() {
|
|
602
|
+
pn();
|
|
603
|
+
}
|
|
604
|
+
function fn() {
|
|
605
|
+
pn();
|
|
606
|
+
}
|
|
607
|
+
function pn() {
|
|
608
|
+
U.value = !1, W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
|
|
609
|
+
}
|
|
610
|
+
let J = y(!1), Y = y(null), mn = y(null), hn = y(1), gn = y(1), X = y(!1);
|
|
611
|
+
function _n() {
|
|
612
|
+
Y.value && (hn.value = Y.value.getBoundingClientRect().width);
|
|
613
|
+
}
|
|
614
|
+
function vn() {
|
|
615
|
+
mn.value && (gn.value = mn.value.getBoundingClientRect().width);
|
|
616
|
+
}
|
|
617
|
+
let yn = y(0);
|
|
618
|
+
function bn(e) {
|
|
619
|
+
yn.value = +(e === "start");
|
|
620
|
+
}
|
|
621
|
+
let Z = y(!1), xn = y({
|
|
622
|
+
width: 0,
|
|
623
|
+
left: 0
|
|
624
|
+
});
|
|
625
|
+
x([w, T], async () => {
|
|
626
|
+
if (await ie(), !Y.value || !mn.value) {
|
|
627
|
+
Z.value = !1, xn.value = {
|
|
628
|
+
width: 0,
|
|
629
|
+
left: 0
|
|
630
|
+
};
|
|
631
|
+
return;
|
|
632
|
+
}
|
|
633
|
+
let e = Y.value.getBoundingClientRect(), t = mn.value.getBoundingClientRect();
|
|
634
|
+
Z.value = e.x + e.width > t.x;
|
|
635
|
+
let n = e.x + e.width / 2, r = t.x + t.width / 2, i = e.width + t.width;
|
|
636
|
+
xn.value = {
|
|
637
|
+
width: i,
|
|
638
|
+
left: (n + r) / 2 - i / 2
|
|
639
|
+
};
|
|
640
|
+
}), ce(() => {
|
|
641
|
+
_n(), vn();
|
|
642
|
+
}), x(() => S.labelLeft, () => {
|
|
643
|
+
ie(_n);
|
|
644
|
+
}, { deep: !0 }), x(() => S.labelRight, () => {
|
|
645
|
+
ie(vn);
|
|
646
|
+
}, { deep: !0 }), ot({
|
|
647
|
+
setStartValue: V,
|
|
648
|
+
setEndValue: H
|
|
649
|
+
}), oe(() => {
|
|
650
|
+
N.value && N.value.disconnect(), W && K && window.removeEventListener(W, K), G && q && window.removeEventListener(G, q), W = G = null, K = q = null;
|
|
651
|
+
});
|
|
652
|
+
let Sn = f(() => Math.max(1, S.max - S.min));
|
|
653
|
+
function Cn(e) {
|
|
654
|
+
let t = Math.floor(e - S.min);
|
|
655
|
+
return Math.min(Math.max(0, t), Sn.value);
|
|
656
|
+
}
|
|
657
|
+
function wn(e) {
|
|
658
|
+
let t = Math.ceil(e - S.min);
|
|
659
|
+
return Math.min(Math.max(0, t), Sn.value);
|
|
660
|
+
}
|
|
661
|
+
let Q = f(() => Cn(w.value)), $ = f(() => wn(T.value)), Tn = f(() => {
|
|
662
|
+
if (!Et.value.length) return null;
|
|
663
|
+
if (B.value >= Q.value && B.value < $.value) {
|
|
664
|
+
let e = B.value;
|
|
665
|
+
return {
|
|
666
|
+
x1: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
|
|
667
|
+
x2: F.value * e + (S.minimapCompact ? 0 : F.value / 2),
|
|
668
|
+
y1: 0,
|
|
669
|
+
y2: Math.max(M.value.height, 0),
|
|
670
|
+
stroke: S.minimapIndicatorColor,
|
|
671
|
+
"stroke-linecap": "round",
|
|
672
|
+
"stroke-dasharray": 2,
|
|
673
|
+
"stroke-width": 1
|
|
674
|
+
};
|
|
675
|
+
} else return null;
|
|
676
|
+
});
|
|
677
|
+
return (e, t) => (v(), m("div", {
|
|
678
|
+
"data-minimap": E.value,
|
|
679
|
+
"data-dom-to-png-ignore": "",
|
|
680
|
+
style: _([{ padding: "0 48px" }, {
|
|
681
|
+
maxWidth: c.maxWidth ? c.maxWidth + "px" : void 0,
|
|
682
|
+
margin: c.maxWidth ? "0 auto" : void 0
|
|
683
|
+
}]),
|
|
684
|
+
class: "vue-data-ui-zoom",
|
|
685
|
+
ref_key: "zoomWrapper",
|
|
686
|
+
ref: C,
|
|
687
|
+
onMousedown: sn,
|
|
688
|
+
onTouchstart: sn,
|
|
689
|
+
onTouchend: t[11] ||= (e) => X.value = !1
|
|
690
|
+
}, [h("div", ge, [c.valueStart !== c.refreshStartPoint || c.valueEnd !== ut.value ? (v(), m("div", _e, [le(e.$slots, "reset-action", { reset: Dt }, () => [h("button", {
|
|
691
|
+
tabindex: "0",
|
|
692
|
+
role: "button",
|
|
693
|
+
class: "vue-data-ui-refresh-button",
|
|
694
|
+
style: _({
|
|
695
|
+
top: E.value ? "36px" : "-16px",
|
|
696
|
+
cursor: c.isCursorPointer ? "pointer" : "default"
|
|
697
|
+
}),
|
|
698
|
+
onClick: Dt
|
|
699
|
+
}, [ne(te, {
|
|
700
|
+
name: "refresh",
|
|
701
|
+
stroke: c.textColor
|
|
702
|
+
}, null, 8, ["stroke"])], 4)], !0)])) : p("", !0)]), h("div", {
|
|
703
|
+
class: "double-range-slider",
|
|
704
|
+
ref_key: "minimapWrapper",
|
|
705
|
+
ref: Ot,
|
|
706
|
+
style: _([{ "z-index": "0" }, E.value ? {
|
|
707
|
+
"--minimap-unit-px": F.value + "px",
|
|
708
|
+
"--minimap-offset-px": (c.minimapCompact ? 0 : F.value / 2) + "px"
|
|
709
|
+
} : void 0]),
|
|
710
|
+
onMouseenter: t[9] ||= (e) => X.value = !0,
|
|
711
|
+
onMouseleave: t[10] ||= (e) => X.value = !1
|
|
712
|
+
}, [
|
|
713
|
+
E.value ? (v(), m("div", ve, [(v(), m("svg", {
|
|
714
|
+
key: `mm-${c.minimapMerged ? "merged" : "split"}-${c.minimapCompact ? "compact" : "normal"}`,
|
|
715
|
+
xmlns: de(s),
|
|
716
|
+
viewBox: `0 0 ${Math.max(0, M.value.width)} ${Math.max(0, M.value.height)}`
|
|
717
|
+
}, [
|
|
718
|
+
h("defs", null, [h("linearGradient", {
|
|
719
|
+
id: ct.value,
|
|
720
|
+
x1: "0%",
|
|
721
|
+
y1: "0%",
|
|
722
|
+
x2: "0%",
|
|
723
|
+
y2: "100%"
|
|
724
|
+
}, [h("stop", {
|
|
725
|
+
offset: "0%",
|
|
726
|
+
"stop-color": `${c.minimapLineColor}50`
|
|
727
|
+
}, null, 8, xe), t[12] ||= h("stop", {
|
|
728
|
+
offset: "100%",
|
|
729
|
+
"stop-color": "transparent"
|
|
730
|
+
}, null, -1)], 8, be)]),
|
|
731
|
+
c.minimapCompact ? (v(), m("rect", {
|
|
732
|
+
key: 0,
|
|
733
|
+
class: "vue-ui-zoom-minimap-frame",
|
|
734
|
+
x: 0,
|
|
735
|
+
y: 0,
|
|
736
|
+
width: M.value.width,
|
|
737
|
+
height: M.value.height,
|
|
738
|
+
fill: "none",
|
|
739
|
+
stroke: c.minimapFrameColor,
|
|
740
|
+
rx: 3
|
|
741
|
+
}, null, 8, Se)) : p("", !0),
|
|
742
|
+
c.minimapMerged ? (v(), m("path", {
|
|
743
|
+
key: 1,
|
|
744
|
+
d: `M${R.value.fullSet}`,
|
|
745
|
+
stroke: `${c.minimapLineColor}`,
|
|
746
|
+
fill: "none",
|
|
747
|
+
"stroke-width": "1",
|
|
748
|
+
"stroke-linecap": "round",
|
|
749
|
+
"stroke-linejoin": "round",
|
|
750
|
+
style: { opacity: "0.6" }
|
|
751
|
+
}, null, 8, Ce)) : (v(), m(d, { key: 2 }, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "bar"), (e, t) => (v(), m("g", null, [(v(!0), m(d, null, b(e.points, (n, r) => (v(), m(d, null, [e.isVisible && !isNaN(n.y) ? (v(), m("rect", {
|
|
752
|
+
key: 0,
|
|
753
|
+
x: Lt(n.x, t, r),
|
|
754
|
+
width: Rt(t, r),
|
|
755
|
+
y: n.v >= 0 ? n.y : n.y0,
|
|
756
|
+
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
757
|
+
fill: e.color,
|
|
758
|
+
style: { opacity: "0.6" }
|
|
759
|
+
}, null, 8, we)) : p("", !0)], 64))), 256))]))), 256)), (v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [e.isVisible ? (v(), m("path", {
|
|
760
|
+
key: 0,
|
|
761
|
+
d: `M ${e.fullSet}`,
|
|
762
|
+
fill: "none",
|
|
763
|
+
stroke: e.color,
|
|
764
|
+
style: { opacity: "0.6" }
|
|
765
|
+
}, null, 8, Te)) : p("", !0), e.isVisible ? (v(!0), m(d, { key: 1 }, b(e.fullMarkers, (t) => (v(), m("circle", {
|
|
766
|
+
key: `sel-dot-under-${e.key}-${t.i}`,
|
|
767
|
+
cx: t.x,
|
|
768
|
+
cy: t.y,
|
|
769
|
+
r: "2",
|
|
770
|
+
fill: e.color,
|
|
771
|
+
stroke: j.value,
|
|
772
|
+
"stroke-width": "0.5",
|
|
773
|
+
style: { opacity: "0.6" }
|
|
774
|
+
}, null, 8, Ee))), 128)) : p("", !0)]))), 128))], 64)),
|
|
775
|
+
h("rect", {
|
|
776
|
+
x: z.value.x,
|
|
777
|
+
width: z.value.width < 0 ? 0 : z.value.width,
|
|
778
|
+
height: Math.max(M.value.height, 0),
|
|
779
|
+
y: 0,
|
|
780
|
+
fill: j.value,
|
|
781
|
+
rx: c.minimapSelectionRadius,
|
|
782
|
+
stroke: "none"
|
|
783
|
+
}, null, 8, De),
|
|
784
|
+
h("rect", {
|
|
785
|
+
x: z.value.x,
|
|
786
|
+
width: z.value.width < 0 ? 0 : z.value.width,
|
|
787
|
+
height: Math.max(M.value.height, 0),
|
|
788
|
+
y: 0,
|
|
789
|
+
rx: c.minimapSelectionRadius,
|
|
790
|
+
fill: j.value
|
|
791
|
+
}, null, 8, Oe),
|
|
792
|
+
h("rect", {
|
|
793
|
+
x: z.value.x,
|
|
794
|
+
width: z.value.width < 0 ? 0 : z.value.width,
|
|
795
|
+
height: Math.max(M.value.height, 0),
|
|
796
|
+
y: 0,
|
|
797
|
+
fill: c.minimapSelectedColor,
|
|
798
|
+
rx: c.minimapSelectionRadius,
|
|
799
|
+
style: _({ opacity: c.minimapSelectedColorOpacity })
|
|
800
|
+
}, null, 12, ke),
|
|
801
|
+
B.value !== null && !J.value ? (v(), m("line", ae(re({ key: 3 }, Tn.value)), null, 16)) : p("", !0),
|
|
802
|
+
!c.minimapMerged && At.value < 0 ? (v(), m("line", {
|
|
803
|
+
key: 4,
|
|
804
|
+
class: "slicer-minimap-zero-line",
|
|
805
|
+
x1: 0,
|
|
806
|
+
x2: M.value.width,
|
|
807
|
+
y1: Pt.value,
|
|
808
|
+
y2: Pt.value,
|
|
809
|
+
stroke: c.minimapFrameColor,
|
|
810
|
+
"stroke-width": "0.5"
|
|
811
|
+
}, null, 8, Ae)) : p("", !0),
|
|
812
|
+
c.minimapMerged ? (v(), m(d, { key: 5 }, [R.value && R.value.sliced && R.value.sliced.length ? (v(), m(d, { key: 0 }, [R.value.selectionSet ? (v(), m("path", {
|
|
813
|
+
key: 0,
|
|
814
|
+
d: `M${R.value.sliced[0].x},${Math.max(M.value.height, 0)} ${R.value.selectionSet} L${R.value.sliced[R.value.sliced.length - 1].x},${Math.max(M.value.height, 0)}Z`,
|
|
815
|
+
fill: `url(#${ct.value})`,
|
|
816
|
+
stroke: "none",
|
|
817
|
+
style: { opacity: "1" }
|
|
818
|
+
}, null, 8, je)) : p("", !0), R.value.selectionSet ? (v(), m("path", {
|
|
819
|
+
key: 1,
|
|
820
|
+
d: `M ${R.value.selectionSet}`,
|
|
821
|
+
stroke: `${c.minimapLineColor}`,
|
|
822
|
+
fill: "transparent",
|
|
823
|
+
"stroke-width": "2",
|
|
824
|
+
"stroke-linecap": "round",
|
|
825
|
+
"stroke-linejoin": "round"
|
|
826
|
+
}, null, 8, Me)) : p("", !0)], 64)) : p("", !0)], 64)) : (v(), m("g", Ne, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "bar"), (e, t) => (v(), m("g", null, [(v(!0), m(d, null, b(e.points, (n, r) => (v(), m(d, null, [e.isVisible && !isNaN(n.y) ? (v(), m("rect", {
|
|
827
|
+
key: 0,
|
|
828
|
+
x: Lt(n.x, t, r),
|
|
829
|
+
width: Rt(t, r),
|
|
830
|
+
y: n.v >= 0 ? n.y : n.y0,
|
|
831
|
+
height: n.v >= 0 ? n.y0 - n.y : n.y - n.y0,
|
|
832
|
+
fill: e.color,
|
|
833
|
+
style: _({ opacity: +(r >= c.valueStart && r <= c.valueEnd - 1) })
|
|
834
|
+
}, null, 12, Pe)) : p("", !0)], 64))), 256))]))), 256)), (v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [e && e.hasSelection && e.selectionSet && e.isVisible ? (v(), m("path", {
|
|
835
|
+
key: 0,
|
|
836
|
+
d: `M ${e.selectionSet}`,
|
|
837
|
+
stroke: e.color,
|
|
838
|
+
fill: "transparent",
|
|
839
|
+
"stroke-width": "2",
|
|
840
|
+
"stroke-linecap": "round",
|
|
841
|
+
"stroke-linejoin": "round"
|
|
842
|
+
}, null, 8, Fe)) : p("", !0)]))), 128))])),
|
|
843
|
+
E.value && c.minimapCompact ? (v(), m("rect", {
|
|
844
|
+
key: 7,
|
|
845
|
+
class: "vue-ui-zoom-compact-minimap-handle",
|
|
846
|
+
x: z.value.x - Math.min(40, Math.max(20, c.handleWidth)),
|
|
847
|
+
y: 0,
|
|
848
|
+
width: Math.min(40, Math.max(20, c.handleWidth)),
|
|
849
|
+
height: M.value.height,
|
|
850
|
+
fill: c.handleFill || j.value,
|
|
851
|
+
stroke: c.handleBorderColor || c.textColor,
|
|
852
|
+
"stroke-width": c.handleBorderWidth,
|
|
853
|
+
rx: 3
|
|
854
|
+
}, null, 8, Ie)) : p("", !0),
|
|
855
|
+
c.handleType && c.handleType !== "empty" ? (v(), m("svg", {
|
|
856
|
+
key: 8,
|
|
857
|
+
x: z.value.x - Math.min(40, Math.max(20, c.handleWidth)),
|
|
858
|
+
y: 0,
|
|
859
|
+
width: Math.min(40, Math.max(20, c.handleWidth)),
|
|
860
|
+
height: M.value.height,
|
|
861
|
+
viewBox: "0 0 20 20"
|
|
862
|
+
}, [c.handleType === "arrow" ? (v(), m("path", {
|
|
863
|
+
key: 0,
|
|
864
|
+
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
865
|
+
fill: j.value,
|
|
866
|
+
stroke: c.handleIconColor || c.textColor,
|
|
867
|
+
"stroke-width": .618,
|
|
868
|
+
"stroke-linejoin": "round",
|
|
869
|
+
"stroke-linecap": "round"
|
|
870
|
+
}, null, 8, Re)) : c.handleType === "chevron" ? (v(), m("path", {
|
|
871
|
+
key: 1,
|
|
872
|
+
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
873
|
+
fill: "none",
|
|
874
|
+
stroke: c.handleIconColor || c.textColor,
|
|
875
|
+
"stroke-width": .618,
|
|
876
|
+
"stroke-linejoin": "round",
|
|
877
|
+
"stroke-linecap": "round"
|
|
878
|
+
}, null, 8, ze)) : c.handleType === "grab" ? (v(), m("path", {
|
|
879
|
+
key: 2,
|
|
880
|
+
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
881
|
+
fill: c.handleIconColor || c.textColor,
|
|
882
|
+
stroke: "none",
|
|
883
|
+
opacity: "0.6"
|
|
884
|
+
}, null, 8, Be)) : p("", !0)], 8, Le)) : p("", !0),
|
|
885
|
+
E.value && c.minimapCompact ? (v(), m("rect", {
|
|
886
|
+
key: 9,
|
|
887
|
+
class: "vue-ui-zoom-compact-minimap-handle",
|
|
888
|
+
x: z.value.x + z.value.width,
|
|
889
|
+
y: 0,
|
|
890
|
+
width: Math.min(40, Math.max(20, c.handleWidth)),
|
|
891
|
+
height: M.value.height,
|
|
892
|
+
fill: c.handleFill || j.value,
|
|
893
|
+
stroke: c.handleBorderColor || c.textColor,
|
|
894
|
+
"stroke-width": c.handleBorderWidth,
|
|
895
|
+
rx: 3
|
|
896
|
+
}, null, 8, Ve)) : p("", !0),
|
|
897
|
+
c.handleType && c.handleType !== "empty" ? (v(), m("svg", {
|
|
898
|
+
key: 10,
|
|
899
|
+
x: z.value.x + z.value.width,
|
|
900
|
+
y: 0,
|
|
901
|
+
width: Math.min(40, Math.max(20, c.handleWidth)),
|
|
902
|
+
height: M.value.height,
|
|
903
|
+
viewBox: "0 0 20 20"
|
|
904
|
+
}, [c.handleType === "arrow" ? (v(), m("path", {
|
|
905
|
+
key: 0,
|
|
906
|
+
d: "M 7 7 L 3 10 L 7 13 L 7 7 M 13 7 L 17 10 L 13 13 L 13 7",
|
|
907
|
+
fill: j.value,
|
|
908
|
+
stroke: c.handleIconColor || c.textColor,
|
|
909
|
+
"stroke-width": .618,
|
|
910
|
+
"stroke-linejoin": "round",
|
|
911
|
+
"stroke-linecap": "round"
|
|
912
|
+
}, null, 8, Ue)) : c.handleType === "chevron" ? (v(), m("path", {
|
|
913
|
+
key: 1,
|
|
914
|
+
d: "M 6 7 L 4 10 L 6 13 M 14 7 L 16 10 L 14 13",
|
|
915
|
+
fill: "none",
|
|
916
|
+
stroke: c.handleIconColor || c.textColor,
|
|
917
|
+
"stroke-width": .618,
|
|
918
|
+
"stroke-linejoin": "round",
|
|
919
|
+
"stroke-linecap": "round"
|
|
920
|
+
}, null, 8, We)) : c.handleType === "grab" ? (v(), m("path", {
|
|
921
|
+
key: 2,
|
|
922
|
+
d: "M 8 5 A 1 1 0 0 0 8 7 A 1 1 0 0 0 8 5 M 8 9 A 1 1 0 0 0 8 11 A 1 1 0 0 0 8 9 M 8 13 A 1 1 0 0 0 8 15 A 1 1 0 0 0 8 13 M 12 5 A 1 1 0 0 0 12 7 A 1 1 0 0 0 12 5 M 12 9 A 1 1 0 0 0 12 11 A 1 1 0 0 0 12 9 M 12 13 A 1 1 0 0 0 12 15 A 1 1 0 0 0 12 13",
|
|
923
|
+
fill: c.handleIconColor || c.textColor,
|
|
924
|
+
stroke: "none",
|
|
925
|
+
opacity: "0.6"
|
|
926
|
+
}, null, 8, Ge)) : p("", !0)], 8, He)) : p("", !0),
|
|
927
|
+
c.minimapMerged ? (v(), m(d, { key: 11 }, [
|
|
928
|
+
R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (v(), m("circle", {
|
|
929
|
+
key: 0,
|
|
930
|
+
cx: R.value.firstPlot.x,
|
|
931
|
+
cy: R.value.firstPlot.y,
|
|
932
|
+
"stroke-width": "0.5",
|
|
933
|
+
stroke: j.value,
|
|
934
|
+
r: "4",
|
|
935
|
+
fill: c.minimapLineColor
|
|
936
|
+
}, null, 8, Ke)) : p("", !0),
|
|
937
|
+
R.value && R.value.firstPlot && R.value.firstPlot.value !== null ? (v(), m("circle", {
|
|
938
|
+
key: 1,
|
|
939
|
+
cx: R.value.firstPlot.x,
|
|
940
|
+
cy: R.value.firstPlot.y,
|
|
941
|
+
r: "2",
|
|
942
|
+
fill: j.value
|
|
943
|
+
}, null, 8, qe)) : p("", !0),
|
|
944
|
+
R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (v(), m("circle", {
|
|
945
|
+
key: 2,
|
|
946
|
+
cx: R.value.lastPlot.x,
|
|
947
|
+
cy: R.value.lastPlot.y,
|
|
948
|
+
"stroke-width": "0.5",
|
|
949
|
+
stroke: j.value,
|
|
950
|
+
r: "4",
|
|
951
|
+
fill: c.minimapLineColor
|
|
952
|
+
}, null, 8, Je)) : p("", !0),
|
|
953
|
+
R.value && R.value.lastPlot && R.value.lastPlot.value !== null ? (v(), m("circle", {
|
|
954
|
+
key: 3,
|
|
955
|
+
cx: R.value.lastPlot.x,
|
|
956
|
+
cy: R.value.lastPlot.y,
|
|
957
|
+
r: "2",
|
|
958
|
+
fill: j.value
|
|
959
|
+
}, null, 8, Ye)) : p("", !0)
|
|
960
|
+
], 64)) : (v(), m("g", Xe, [(v(!0), m(d, null, b(Vt.value.filter((e) => e.type === "line"), (e) => (v(), m("g", { key: String(e.key) }, [
|
|
961
|
+
e.isVisible ? (v(!0), m(d, { key: 0 }, b(e.selectionMarkers, (t) => (v(), m("circle", {
|
|
962
|
+
key: `sel-dot-${e.key}-${t.i}`,
|
|
963
|
+
cx: t.x,
|
|
964
|
+
cy: t.y,
|
|
965
|
+
r: "2.5",
|
|
966
|
+
fill: e.color,
|
|
967
|
+
stroke: j.value,
|
|
968
|
+
"stroke-width": "0.5"
|
|
969
|
+
}, null, 8, Ze))), 128)) : p("", !0),
|
|
970
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (v(), m("circle", {
|
|
971
|
+
key: 1,
|
|
972
|
+
cx: e.firstPlot.x,
|
|
973
|
+
cy: e.firstPlot.y,
|
|
974
|
+
"stroke-width": "0.5",
|
|
975
|
+
stroke: j.value,
|
|
976
|
+
r: "4",
|
|
977
|
+
fill: e.color
|
|
978
|
+
}, null, 8, Qe)) : p("", !0),
|
|
979
|
+
e && e.firstPlot && e.isVisible && e.firstPlot.value !== null ? (v(), m("circle", {
|
|
980
|
+
key: 2,
|
|
981
|
+
cx: e.firstPlot.x,
|
|
982
|
+
cy: e.firstPlot.y,
|
|
983
|
+
r: "2",
|
|
984
|
+
fill: j.value
|
|
985
|
+
}, null, 8, $e)) : p("", !0),
|
|
986
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (v(), m("circle", {
|
|
987
|
+
key: 3,
|
|
988
|
+
cx: e.lastPlot.x,
|
|
989
|
+
cy: e.lastPlot.y,
|
|
990
|
+
"stroke-width": "0.5",
|
|
991
|
+
stroke: j.value,
|
|
992
|
+
r: "4",
|
|
993
|
+
fill: e.color
|
|
994
|
+
}, null, 8, et)) : p("", !0),
|
|
995
|
+
e && e.lastPlot && e.isVisible && e.lastPlot.value !== null ? (v(), m("circle", {
|
|
996
|
+
key: 4,
|
|
997
|
+
cx: e.lastPlot.x,
|
|
998
|
+
cy: e.lastPlot.y,
|
|
999
|
+
r: "2",
|
|
1000
|
+
fill: j.value
|
|
1001
|
+
}, null, 8, tt)) : p("", !0)
|
|
1002
|
+
]))), 128))])),
|
|
1003
|
+
(v(!0), m(d, null, b(Et.value, (e, n) => (v(), m("rect", {
|
|
1004
|
+
key: `trap-${n}`,
|
|
1005
|
+
y: 0,
|
|
1006
|
+
height: Math.max(M.value.height, 0),
|
|
1007
|
+
fill: "transparent",
|
|
1008
|
+
style: _([{ "pointer-events": "all !important" }, { cursor: e >= Q.value && e < $.value && c.enableSelectionDrag ? J.value ? "grabbing" : "grab" : "default" }]),
|
|
1009
|
+
x: F.value * n - (c.minimapCompact ? F.value / 2 : 0),
|
|
1010
|
+
width: F.value < 0 ? 0 : F.value,
|
|
1011
|
+
onMousedown: t[0] ||= (e) => J.value = !0,
|
|
1012
|
+
onMouseup: t[1] ||= (e) => J.value = !1,
|
|
1013
|
+
onMouseenter: (t) => Wt(e),
|
|
1014
|
+
onMouseleave: t[2] ||= (e) => {
|
|
1015
|
+
B.value = null, O("trapMouse", null);
|
|
1016
|
+
}
|
|
1017
|
+
}, null, 44, nt))), 128))
|
|
1018
|
+
], 8, ye))])) : p("", !0),
|
|
1019
|
+
h("div", {
|
|
1020
|
+
class: "slider-track",
|
|
1021
|
+
style: _({ visibility: E.value && c.minimapCompact ? "hidden" : "visible" })
|
|
1022
|
+
}, null, 4),
|
|
1023
|
+
h("div", {
|
|
1024
|
+
class: g({
|
|
1025
|
+
"range-highlight": !0,
|
|
1026
|
+
move: c.enableSelectionDrag
|
|
1027
|
+
}),
|
|
1028
|
+
onMousedown: t[3] ||= (e) => J.value = !0,
|
|
1029
|
+
onMouseup: t[4] ||= (e) => J.value = !1,
|
|
1030
|
+
style: _({
|
|
1031
|
+
...A.value,
|
|
1032
|
+
cursor: J.value ? "grabbing" : "grab",
|
|
1033
|
+
visibility: E.value && c.minimapCompact ? "hidden" : "visible"
|
|
1034
|
+
})
|
|
1035
|
+
}, null, 38),
|
|
1036
|
+
c.enableRangeHandles ? me((v(), m("input", {
|
|
1037
|
+
key: 1,
|
|
1038
|
+
ref_key: "rangeStart",
|
|
1039
|
+
ref: Gt,
|
|
1040
|
+
type: "range",
|
|
1041
|
+
class: g({
|
|
1042
|
+
"range-left": !0,
|
|
1043
|
+
"range-handle": !0,
|
|
1044
|
+
"range-minimap": E.value && c.verticalHandles,
|
|
1045
|
+
"range-invisible": E.value && c.minimapCompact
|
|
1046
|
+
}),
|
|
1047
|
+
min: c.min,
|
|
1048
|
+
max: D.value && c.minimapCompact ? ht.value : c.max,
|
|
1049
|
+
step: 1,
|
|
1050
|
+
"onUpdate:modelValue": t[5] ||= (e) => xt.value = e,
|
|
1051
|
+
onMouseenter: t[6] ||= (e) => bn("start")
|
|
1052
|
+
}, null, 42, rt)), [[
|
|
1053
|
+
pe,
|
|
1054
|
+
xt.value,
|
|
1055
|
+
void 0,
|
|
1056
|
+
{ number: !0 }
|
|
1057
|
+
]]) : p("", !0),
|
|
1058
|
+
c.enableRangeHandles ? me((v(), m("input", {
|
|
1059
|
+
key: 2,
|
|
1060
|
+
ref_key: "rangeEnd",
|
|
1061
|
+
ref: Kt,
|
|
1062
|
+
type: "range",
|
|
1063
|
+
class: g({
|
|
1064
|
+
"range-right": !0,
|
|
1065
|
+
"range-handle": !0,
|
|
1066
|
+
"range-minimap": E.value && c.verticalHandles,
|
|
1067
|
+
"range-invisible": E.value && c.minimapCompact
|
|
1068
|
+
}),
|
|
1069
|
+
min: c.min,
|
|
1070
|
+
max: D.value && c.minimapCompact ? ht.value : c.max,
|
|
1071
|
+
step: 1,
|
|
1072
|
+
"onUpdate:modelValue": t[7] ||= (e) => St.value = e,
|
|
1073
|
+
onMouseenter: t[8] ||= (e) => bn("end")
|
|
1074
|
+
}, null, 42, it)), [[
|
|
1075
|
+
pe,
|
|
1076
|
+
St.value,
|
|
1077
|
+
void 0,
|
|
1078
|
+
{ number: !0 }
|
|
1079
|
+
]]) : p("", !0),
|
|
1080
|
+
c.labelLeft ? (v(), m("div", {
|
|
1081
|
+
key: 3,
|
|
1082
|
+
ref_key: "tooltipLeft",
|
|
1083
|
+
ref: Y,
|
|
1084
|
+
class: g({
|
|
1085
|
+
"range-tooltip": !0,
|
|
1086
|
+
"range-tooltip-visible": X.value,
|
|
1087
|
+
"range-tooltip-arrow": A.value.arrowLeft && !c.verticalHandles,
|
|
1088
|
+
"range-tooltip-arrow-left": !A.value.arrowLeft && !c.verticalHandles
|
|
1089
|
+
}),
|
|
1090
|
+
style: _({
|
|
1091
|
+
left: A.value.tooltipLeft,
|
|
1092
|
+
color: de(o)(c.selectColor),
|
|
1093
|
+
backgroundColor: c.selectColor,
|
|
1094
|
+
border: `1px solid ${j.value}`,
|
|
1095
|
+
zIndex: `${yn.value + 4}`,
|
|
1096
|
+
visibility: Z.value || c.labelLeft === c.labelRight ? "hidden" : "visible",
|
|
1097
|
+
top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1098
|
+
})
|
|
1099
|
+
}, ue(c.labelLeft), 7)) : p("", !0),
|
|
1100
|
+
(Z.value || c.labelLeft === c.labelRight) && (c.labelLeft || c.labelRight) ? (v(), m("div", {
|
|
1101
|
+
key: 4,
|
|
1102
|
+
ref: "tooltipMerge",
|
|
1103
|
+
class: g({
|
|
1104
|
+
"range-tooltip": !0,
|
|
1105
|
+
"range-tooltip-visible": X.value,
|
|
1106
|
+
"range-tooltip-arrow": !0,
|
|
1107
|
+
"range-tooltip-arrow-left": !A.value.arrowLeft && !c.verticalHandles,
|
|
1108
|
+
"range-tooltip-arrow-right": !A.value.arrowRight && !c.verticalHandles
|
|
1109
|
+
}),
|
|
1110
|
+
style: _({
|
|
1111
|
+
left: A.value.tooltipCenter,
|
|
1112
|
+
width: xn.value.width + "px",
|
|
1113
|
+
color: de(o)(c.selectColor),
|
|
1114
|
+
backgroundColor: c.selectColor,
|
|
1115
|
+
border: `1px solid ${j.value}`,
|
|
1116
|
+
zIndex: "4",
|
|
1117
|
+
top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1118
|
+
})
|
|
1119
|
+
}, ue(c.labelLeft === c.labelRight ? c.labelLeft : `${c.labelLeft} - ${c.labelRight}`), 7)) : p("", !0),
|
|
1120
|
+
c.labelRight ? (v(), m("div", {
|
|
1121
|
+
key: 5,
|
|
1122
|
+
ref_key: "tooltipRight",
|
|
1123
|
+
ref: mn,
|
|
1124
|
+
class: g({
|
|
1125
|
+
"range-tooltip": !0,
|
|
1126
|
+
"range-tooltip-visible": X.value,
|
|
1127
|
+
"range-tooltip-arrow": A.value.arrowRight && !c.verticalHandles,
|
|
1128
|
+
"range-tooltip-arrow-right": !A.value.arrowRight && !c.verticalHandles
|
|
1129
|
+
}),
|
|
1130
|
+
style: _({
|
|
1131
|
+
left: A.value.tooltipRight,
|
|
1132
|
+
color: de(o)(c.selectColor),
|
|
1133
|
+
backgroundColor: c.selectColor,
|
|
1134
|
+
border: `1px solid ${j.value}`,
|
|
1135
|
+
zIndex: "4",
|
|
1136
|
+
visibility: Z.value || c.labelLeft === c.labelRight ? "hidden" : "visible",
|
|
1137
|
+
top: E.value && c.minimapCompact ? "calc(-100% - 18px)" : "-100%"
|
|
1138
|
+
})
|
|
1139
|
+
}, ue(c.labelRight), 7)) : p("", !0)
|
|
1140
|
+
], 36)], 44, he));
|
|
1141
|
+
}
|
|
1142
|
+
}, [["__scopeId", "data-v-f688cd63"]]);
|
|
1143
|
+
//#endregion
|
|
1144
|
+
export { ot as t };
|