vue-data-ui 3.20.0 → 3.20.1
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/package.json +120 -120
- package/dist/A11yDataTable-BCbtxMU6.js +0 -45
- package/dist/Arrow-D6j6ocXm.js +0 -116
- package/dist/BaseDraggableDialog-4hDW-Rj2.js +0 -272
- package/dist/BaseIcon-DfLoHNUj.js +0 -502
- package/dist/BaseLegendToggle-C_Db-y7s.js +0 -56
- package/dist/BaseScanner-Dr2a1Msy.js +0 -27
- package/dist/BaseZoomControls-CG7hI_1P.js +0 -111
- package/dist/ColorPicker-Bjwxnvfh.js +0 -255
- package/dist/DataTable-B--IN22e.js +0 -150
- package/dist/Legend-Cz2uQ5gs.js +0 -114
- package/dist/NonSvgPenAndPaper-gLNJ1Lmr.js +0 -577
- package/dist/PackageVersion-xcyrdRmY.js +0 -11
- package/dist/PenAndPaper-DqrClVfb.js +0 -461
- package/dist/RecursiveCircles-D6aDPmoe.js +0 -117
- package/dist/RecursiveLabels-D9rfID6q.js +0 -56
- package/dist/RecursiveLinks-BygcpDiT.js +0 -78
- package/dist/Shape-BPCJfphn.js +0 -141
- package/dist/Slicer-SHBj0VaV.js +0 -1144
- package/dist/SlicerPreview-DdihbUSJ.js +0 -1668
- package/dist/SparkTooltip-CfE6yCad.js +0 -93
- package/dist/Title-NWp4qB4K.js +0 -87
- package/dist/Tooltip-BENq327o.js +0 -312
- package/dist/UserOptions-C1NgoGu6.js +0 -1411
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/canvas-lib-BOP_HS11.js +0 -79
- package/dist/components/arrow.js +0 -2
- package/dist/components/vue-ui-3d-bar.js +0 -2
- package/dist/components/vue-ui-accordion.js +0 -2
- package/dist/components/vue-ui-age-pyramid.js +0 -2
- package/dist/components/vue-ui-annotator.js +0 -2
- package/dist/components/vue-ui-bullet.js +0 -2
- package/dist/components/vue-ui-bump.js +0 -2
- package/dist/components/vue-ui-candlestick.js +0 -2
- package/dist/components/vue-ui-carousel-table.js +0 -2
- package/dist/components/vue-ui-chestnut.js +0 -2
- package/dist/components/vue-ui-chord.js +0 -2
- package/dist/components/vue-ui-circle-pack.js +0 -2
- package/dist/components/vue-ui-cursor.js +0 -2
- package/dist/components/vue-ui-dag.js +0 -2
- package/dist/components/vue-ui-dashboard.js +0 -2
- package/dist/components/vue-ui-digits.js +0 -2
- package/dist/components/vue-ui-donut-evolution.js +0 -2
- package/dist/components/vue-ui-donut.js +0 -2
- package/dist/components/vue-ui-dumbbell.js +0 -2
- package/dist/components/vue-ui-flow.js +0 -2
- package/dist/components/vue-ui-funnel.js +0 -2
- package/dist/components/vue-ui-galaxy.js +0 -2
- package/dist/components/vue-ui-gauge.js +0 -2
- package/dist/components/vue-ui-geo.js +0 -2
- package/dist/components/vue-ui-gizmo.js +0 -2
- package/dist/components/vue-ui-heatmap.js +0 -2
- package/dist/components/vue-ui-history-plot.js +0 -2
- package/dist/components/vue-ui-horizontal-bar.js +0 -2
- package/dist/components/vue-ui-icon.js +0 -2
- package/dist/components/vue-ui-kpi.js +0 -2
- package/dist/components/vue-ui-mini-loader.js +0 -2
- package/dist/components/vue-ui-molecule.js +0 -2
- package/dist/components/vue-ui-mood-radar.js +0 -2
- package/dist/components/vue-ui-nested-donuts.js +0 -2
- package/dist/components/vue-ui-onion.js +0 -2
- package/dist/components/vue-ui-parallel-coordinate-plot.js +0 -2
- package/dist/components/vue-ui-pattern-seed.js +0 -2
- package/dist/components/vue-ui-pattern.js +0 -2
- package/dist/components/vue-ui-quadrant.js +0 -2
- package/dist/components/vue-ui-quick-chart.js +0 -2
- package/dist/components/vue-ui-radar.js +0 -2
- package/dist/components/vue-ui-rating.js +0 -2
- package/dist/components/vue-ui-relation-circle.js +0 -2
- package/dist/components/vue-ui-ridgeline.js +0 -2
- package/dist/components/vue-ui-rings.js +0 -2
- package/dist/components/vue-ui-scatter.js +0 -2
- package/dist/components/vue-ui-skeleton.js +0 -2
- package/dist/components/vue-ui-smiley.js +0 -2
- package/dist/components/vue-ui-spark-trend.js +0 -2
- package/dist/components/vue-ui-sparkbar.js +0 -2
- package/dist/components/vue-ui-sparkgauge.js +0 -2
- package/dist/components/vue-ui-sparkhistogram.js +0 -2
- package/dist/components/vue-ui-sparkline.js +0 -2
- package/dist/components/vue-ui-sparkstackbar.js +0 -2
- package/dist/components/vue-ui-stackbar.js +0 -2
- package/dist/components/vue-ui-stackline.js +0 -2
- package/dist/components/vue-ui-strip-plot.js +0 -2
- package/dist/components/vue-ui-table-heatmap.js +0 -2
- package/dist/components/vue-ui-table-sparkline.js +0 -2
- package/dist/components/vue-ui-table.js +0 -2
- package/dist/components/vue-ui-thermometer.js +0 -2
- package/dist/components/vue-ui-timer.js +0 -2
- package/dist/components/vue-ui-tiremarks.js +0 -2
- package/dist/components/vue-ui-treemap.js +0 -2
- package/dist/components/vue-ui-vertical-bar.js +0 -2
- package/dist/components/vue-ui-waffle.js +0 -2
- package/dist/components/vue-ui-wheel.js +0 -2
- package/dist/components/vue-ui-word-cloud.js +0 -2
- package/dist/components/vue-ui-world.js +0 -2
- package/dist/components/vue-ui-xy-canvas.js +0 -2
- package/dist/components/vue-ui-xy.js +0 -2
- package/dist/dom-to-png-BYtB4BF3.js +0 -237
- package/dist/exposedLib-CI8ji8G-.js +0 -19
- package/dist/geoProjections-Czak6Jn1.js +0 -145
- package/dist/img-1cKsci8e.js +0 -74
- package/dist/labelUtils-CUctkYoA.js +0 -19
- package/dist/lib-DUeYQsS0.js +0 -1882
- package/dist/llms.txt +0 -232
- package/dist/patternUtils-CS7hn6at.js +0 -258
- package/dist/pdf-D0eZ99cP.js +0 -90
- package/dist/rolldown-runtime-Dy4uBu1J.js +0 -11
- package/dist/style.css +0 -2
- package/dist/types/arrow.d.ts +0 -4
- package/dist/types/utils.d.ts +0 -551
- package/dist/types/vue-data-ui.d.ts +0 -17190
- package/dist/types/vue-ui-3d-bar.d.ts +0 -93
- package/dist/types/vue-ui-accordion.d.ts +0 -11
- package/dist/types/vue-ui-age-pyramid.d.ts +0 -108
- package/dist/types/vue-ui-annotator.d.ts +0 -34
- package/dist/types/vue-ui-bullet.d.ts +0 -85
- package/dist/types/vue-ui-bump.d.ts +0 -92
- package/dist/types/vue-ui-candlestick.d.ts +0 -106
- package/dist/types/vue-ui-carousel-table.d.ts +0 -59
- package/dist/types/vue-ui-chestnut.d.ts +0 -98
- package/dist/types/vue-ui-chord.d.ts +0 -110
- package/dist/types/vue-ui-circle-pack.d.ts +0 -126
- package/dist/types/vue-ui-cursor.d.ts +0 -9
- package/dist/types/vue-ui-dag.d.ts +0 -125
- package/dist/types/vue-ui-dashboard.d.ts +0 -68
- package/dist/types/vue-ui-digits.d.ts +0 -12
- package/dist/types/vue-ui-donut-evolution.d.ts +0 -96
- package/dist/types/vue-ui-donut.d.ts +0 -123
- package/dist/types/vue-ui-dumbbell.d.ts +0 -94
- package/dist/types/vue-ui-flow.d.ts +0 -106
- package/dist/types/vue-ui-funnel.d.ts +0 -79
- package/dist/types/vue-ui-galaxy.d.ts +0 -114
- package/dist/types/vue-ui-gauge.d.ts +0 -89
- package/dist/types/vue-ui-geo.d.ts +0 -94
- package/dist/types/vue-ui-gizmo.d.ts +0 -22
- package/dist/types/vue-ui-heatmap.d.ts +0 -101
- package/dist/types/vue-ui-history-plot.d.ts +0 -114
- package/dist/types/vue-ui-horizontal-bar.d.ts +0 -116
- package/dist/types/vue-ui-icon.d.ts +0 -15
- package/dist/types/vue-ui-kpi.d.ts +0 -25
- package/dist/types/vue-ui-mini-loader.d.ts +0 -15
- package/dist/types/vue-ui-molecule.d.ts +0 -112
- package/dist/types/vue-ui-mood-radar.d.ts +0 -92
- package/dist/types/vue-ui-nested-donuts.d.ts +0 -111
- package/dist/types/vue-ui-onion.d.ts +0 -106
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +0 -125
- package/dist/types/vue-ui-pattern-seed.d.ts +0 -14
- package/dist/types/vue-ui-pattern.d.ts +0 -15
- package/dist/types/vue-ui-quadrant.d.ts +0 -125
- package/dist/types/vue-ui-quick-chart.d.ts +0 -108
- package/dist/types/vue-ui-radar.d.ts +0 -116
- package/dist/types/vue-ui-rating.d.ts +0 -42
- package/dist/types/vue-ui-relation-circle.d.ts +0 -92
- package/dist/types/vue-ui-ridgeline.d.ts +0 -106
- package/dist/types/vue-ui-rings.d.ts +0 -98
- package/dist/types/vue-ui-scatter.d.ts +0 -97
- package/dist/types/vue-ui-skeleton.d.ts +0 -11
- package/dist/types/vue-ui-smiley.d.ts +0 -28
- package/dist/types/vue-ui-spark-trend.d.ts +0 -19
- package/dist/types/vue-ui-sparkbar.d.ts +0 -49
- package/dist/types/vue-ui-sparkgauge.d.ts +0 -28
- package/dist/types/vue-ui-sparkhistogram.d.ts +0 -46
- package/dist/types/vue-ui-sparkline.d.ts +0 -59
- package/dist/types/vue-ui-sparkstackbar.d.ts +0 -60
- package/dist/types/vue-ui-stackbar.d.ts +0 -118
- package/dist/types/vue-ui-stackline.d.ts +0 -114
- package/dist/types/vue-ui-strip-plot.d.ts +0 -96
- package/dist/types/vue-ui-table-heatmap.d.ts +0 -62
- package/dist/types/vue-ui-table-sparkline.d.ts +0 -53
- package/dist/types/vue-ui-table.d.ts +0 -38
- package/dist/types/vue-ui-thermometer.d.ts +0 -70
- package/dist/types/vue-ui-timer.d.ts +0 -49
- package/dist/types/vue-ui-tiremarks.d.ts +0 -70
- package/dist/types/vue-ui-treemap.d.ts +0 -104
- package/dist/types/vue-ui-vertical-bar.d.ts +0 -22
- package/dist/types/vue-ui-waffle.d.ts +0 -101
- package/dist/types/vue-ui-wheel.d.ts +0 -70
- package/dist/types/vue-ui-word-cloud.d.ts +0 -97
- package/dist/types/vue-ui-world.d.ts +0 -98
- package/dist/types/vue-ui-xy-canvas.d.ts +0 -101
- package/dist/types/vue-ui-xy.d.ts +0 -146
- package/dist/useAutoSizeLabelsInsideViewbox-BIVntRZp.js +0 -50
- package/dist/useChartAccessibility-DYqac8yF.js +0 -12
- package/dist/useConfig-DAyQk86L.js +0 -7479
- package/dist/useFitSvgText-CT3nmlaS.js +0 -63
- package/dist/useNestedProp-CNcoy38D.js +0 -10
- package/dist/useObjectBindings-BI7hP-BC.js +0 -189
- package/dist/usePanZoom-CYU3B4T3.js +0 -157
- package/dist/usePrefersMotion-BC-CsqR1.js +0 -15
- package/dist/usePrinter-C1Gqt_Sp.js +0 -49
- package/dist/useResponsive-BfnK0KxU.js +0 -19
- package/dist/useStableElementSize-C7KADDKj.js +0 -77
- package/dist/useSvgExport-SVIsDot8.js +0 -755
- package/dist/useTableResponsive-B24Uwt2E.js +0 -24
- package/dist/useThemeCheck-C43Tcqmk.js +0 -24
- package/dist/useTimeLabelCollider-AEcY4Ioe.js +0 -57
- package/dist/useTimeLabels-BmBRv27Y.js +0 -272
- package/dist/useUserOptionState-DK-_1ddE.js +0 -15
- package/dist/utils.js +0 -28
- package/dist/vClickOutside-DUrZWttG.js +0 -13
- package/dist/vue-data-ui-qpQv-4uP.js +0 -274
- package/dist/vue-data-ui.js +0 -76
- package/dist/vue-ui-3d-bar-C8cputoI.js +0 -1757
- package/dist/vue-ui-accordion-Dw4MHKVB.js +0 -81
- package/dist/vue-ui-age-pyramid-Cv2Ndbb5.js +0 -1238
- package/dist/vue-ui-annotator-DLPUAKlm.js +0 -2899
- package/dist/vue-ui-bullet-DLxmtMJ9.js +0 -710
- package/dist/vue-ui-bump-DVaqtZbd.js +0 -1249
- package/dist/vue-ui-candlestick-CkApimw1.js +0 -1826
- package/dist/vue-ui-carousel-table-CbfIBWl3.js +0 -455
- package/dist/vue-ui-chestnut-CQT4nCFL.js +0 -2010
- package/dist/vue-ui-chord-8IjSrg6f.js +0 -1391
- package/dist/vue-ui-circle-pack-B1CpTtpw.js +0 -1608
- package/dist/vue-ui-cursor-NaTj5i2-.js +0 -283
- package/dist/vue-ui-dag-DH4ocx0S.js +0 -2909
- package/dist/vue-ui-dashboard-Ckff1yim.js +0 -513
- package/dist/vue-ui-digits-DwLlJqbW.js +0 -209
- package/dist/vue-ui-donut-DQdIdwRU.js +0 -2410
- package/dist/vue-ui-donut-evolution-MfM5kK6w.js +0 -1510
- package/dist/vue-ui-dumbbell-B2T4vlK-.js +0 -1530
- package/dist/vue-ui-flow-CJh6f72m.js +0 -1235
- package/dist/vue-ui-funnel-C9gfXNCr.js +0 -777
- package/dist/vue-ui-galaxy-pBR_FESJ.js +0 -1077
- package/dist/vue-ui-gauge-CAemxCGl.js +0 -920
- package/dist/vue-ui-geo-BDQqaukJ.js +0 -1516
- package/dist/vue-ui-gizmo-B1ppjqPj.js +0 -225
- package/dist/vue-ui-heatmap-BiC9xp8L.js +0 -1568
- package/dist/vue-ui-history-plot-iAPjlOja.js +0 -1554
- package/dist/vue-ui-horizontal-bar-CcgClgLg.js +0 -1681
- package/dist/vue-ui-kpi-CJ5oyYLS.js +0 -96
- package/dist/vue-ui-mini-loader-CyqBt2g4.js +0 -125
- package/dist/vue-ui-molecule-Cg9ZHa6b.js +0 -925
- package/dist/vue-ui-mood-radar-N8osOTFR.js +0 -1148
- package/dist/vue-ui-nested-donuts-CwH3wKgX.js +0 -1487
- package/dist/vue-ui-onion-C56gFjO6.js +0 -1200
- package/dist/vue-ui-parallel-coordinate-plot-C-jj819p.js +0 -1416
- package/dist/vue-ui-pattern-DKozfnVn.js +0 -154
- package/dist/vue-ui-pattern-seed-BB1honLm.js +0 -61
- package/dist/vue-ui-quadrant-DYc9xZY3.js +0 -1978
- package/dist/vue-ui-quick-chart-BG7kK_-q.js +0 -2469
- package/dist/vue-ui-radar-CgKog9Xw.js +0 -1229
- package/dist/vue-ui-rating-BG4lf1z8.js +0 -343
- package/dist/vue-ui-relation-circle-D-rUk-0P.js +0 -924
- package/dist/vue-ui-ridgeline-DPrlVJTW.js +0 -1622
- package/dist/vue-ui-rings-CIvvHHsF.js +0 -1246
- package/dist/vue-ui-scatter-CeBQJbGx.js +0 -2413
- package/dist/vue-ui-skeleton-BKoa_G6d.js +0 -2556
- package/dist/vue-ui-smiley-G89TxRU-.js +0 -356
- package/dist/vue-ui-spark-trend-DGOrPr9I.js +0 -438
- package/dist/vue-ui-sparkbar-BVumo-YD.js +0 -393
- package/dist/vue-ui-sparkgauge-BoCwdQcu.js +0 -255
- package/dist/vue-ui-sparkhistogram-4qXY1LXW.js +0 -560
- package/dist/vue-ui-sparkline-C0kzXrwI.js +0 -1507
- package/dist/vue-ui-sparkstackbar-DG7hz_KM.js +0 -662
- package/dist/vue-ui-stackbar-Dnq4l5xs.js +0 -2270
- package/dist/vue-ui-stackline-CaNOHQYl.js +0 -2398
- package/dist/vue-ui-strip-plot-D2CcJw_5.js +0 -1340
- package/dist/vue-ui-table-NBQrkVnO.js +0 -1338
- package/dist/vue-ui-table-heatmap-CCGjbSzQ.js +0 -344
- package/dist/vue-ui-table-sparkline-BZDkOEEl.js +0 -707
- package/dist/vue-ui-thermometer-BXyHOQ7T.js +0 -763
- package/dist/vue-ui-timer-CcLK1wbi.js +0 -439
- package/dist/vue-ui-tiremarks-B6txvBg-.js +0 -552
- package/dist/vue-ui-treemap-O3SBpD3K.js +0 -1587
- package/dist/vue-ui-waffle-DN5zG3b0.js +0 -1362
- package/dist/vue-ui-wheel-CxnJGXkX.js +0 -885
- package/dist/vue-ui-word-cloud-CM5yPCXb.js +0 -1656
- package/dist/vue-ui-world-DCPgXKxh.js +0 -14264
- package/dist/vue-ui-xy-canvas-BUPnRZ3C.js +0 -1787
- package/dist/vue-ui-xy-lfMIx0wK.js +0 -4578
- package/dist/vue_ui_3d_bar-C4R7o-yX.js +0 -185
- package/dist/vue_ui_age_pyramid-BY6c-oX_.js +0 -301
- package/dist/vue_ui_bullet-ClzdLoOv.js +0 -186
- package/dist/vue_ui_bump-Vl-zYAtG.js +0 -201
- package/dist/vue_ui_candlestick-J8jmJvxP.js +0 -374
- package/dist/vue_ui_chestnut-D2oUhad6.js +0 -305
- package/dist/vue_ui_chord-DPfS1Umc.js +0 -275
- package/dist/vue_ui_circle_pack-DZC_rdfn.js +0 -172
- package/dist/vue_ui_dag-TsJ_azQq.js +0 -258
- package/dist/vue_ui_donut-BDGqG07h.js +0 -358
- package/dist/vue_ui_donut_evolution-D1yAAIHr.js +0 -717
- package/dist/vue_ui_dumbbell-Bfe_jFyi.js +0 -304
- package/dist/vue_ui_flow-BewZjjKG.js +0 -238
- package/dist/vue_ui_funnel-_Og4EEkO.js +0 -234
- package/dist/vue_ui_galaxy-Ig0cc1_h.js +0 -265
- package/dist/vue_ui_gauge-Cf1RZc9q.js +0 -178
- package/dist/vue_ui_geo-B8TODs-G.js +0 -248
- package/dist/vue_ui_heatmap-B2BBBSWG.js +0 -319
- package/dist/vue_ui_history_plot-CuN63VEc.js +0 -413
- package/dist/vue_ui_horizontal_bar-C4J4QzXf.js +0 -341
- package/dist/vue_ui_molecule-CO9L59SF.js +0 -231
- package/dist/vue_ui_mood_radar-BA6LAKhk.js +0 -281
- package/dist/vue_ui_nested_donuts-B8csIoVO.js +0 -273
- package/dist/vue_ui_onion-1FTFFS46.js +0 -293
- package/dist/vue_ui_parallel_coordinate_plot-CBiOBira.js +0 -278
- package/dist/vue_ui_quadrant-CDSTKTJz.js +0 -428
- package/dist/vue_ui_quick_chart-mZBdml3Z.js +0 -139
- package/dist/vue_ui_radar-jafTED5j.js +0 -306
- package/dist/vue_ui_relation_circle-D0p4mXmv.js +0 -98
- package/dist/vue_ui_ridgeline-VM8_mx4J.js +0 -767
- package/dist/vue_ui_rings-BVgD2aMn.js +0 -320
- package/dist/vue_ui_scatter-I0POnicu.js +0 -479
- package/dist/vue_ui_spark_trend-DxVmpkmC.js +0 -82
- package/dist/vue_ui_sparkbar-z6qO--Kf.js +0 -64
- package/dist/vue_ui_sparkgauge-BX1MS3bA.js +0 -90
- package/dist/vue_ui_sparkhistogram-BRgvKUH6.js +0 -123
- package/dist/vue_ui_sparkline-auZhap6Y.js +0 -151
- package/dist/vue_ui_sparkstackbar-BOjuQnZd.js +0 -175
- package/dist/vue_ui_stackbar-COOrQQdK.js +0 -412
- package/dist/vue_ui_stackline-DQqKPA9z.js +0 -460
- package/dist/vue_ui_strip_plot-CtJe8_gq.js +0 -301
- package/dist/vue_ui_table_heatmap-w8vx5k6f.js +0 -80
- package/dist/vue_ui_table_sparkline-DAbkUrNz.js +0 -124
- package/dist/vue_ui_thermometer-DxgqWKlE.js +0 -123
- package/dist/vue_ui_tiremarks-CdEPieWV.js +0 -122
- package/dist/vue_ui_treemap-DoEtkRN6.js +0 -328
- package/dist/vue_ui_vertical_bar-CP-MKz1j.js +0 -247
- package/dist/vue_ui_waffle-DIARFc7g.js +0 -292
- package/dist/vue_ui_wheel-DZ_nR--t.js +0 -133
- package/dist/vue_ui_word_cloud-C-qIMNLu.js +0 -254
- package/dist/vue_ui_xy-BLUkWEAm.js +0 -482
- package/dist/vue_ui_xy_canvas-Cb6dg3eK.js +0 -408
|
@@ -1,439 +0,0 @@
|
|
|
1
|
-
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import { H as t, t as n, zt as r } from "./lib-DUeYQsS0.js";
|
|
3
|
-
import { t as i } from "./useConfig-DAyQk86L.js";
|
|
4
|
-
import { t as a } from "./useNestedProp-CNcoy38D.js";
|
|
5
|
-
import { n as o } from "./Title-NWp4qB4K.js";
|
|
6
|
-
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
|
-
import { c } from "./canvas-lib-BOP_HS11.js";
|
|
8
|
-
import { t as ee } from "./useResponsive-BfnK0KxU.js";
|
|
9
|
-
import { t as l } from "./BaseIcon-DfLoHNUj.js";
|
|
10
|
-
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
|
-
import { computed as u, createBlock as ne, createCommentVNode as d, createElementBlock as f, createElementVNode as p, createVNode as m, defineAsyncComponent as re, guardReactiveProps as h, mergeProps as g, normalizeProps as _, normalizeStyle as v, onBeforeUnmount as ie, onMounted as ae, openBlock as y, ref as b, renderSlot as x, shallowRef as S, toDisplayString as C, unref as w, watch as oe } from "vue";
|
|
12
|
-
//#region src/timer.js
|
|
13
|
-
var se = class {
|
|
14
|
-
constructor(e, t, n, r = !0, i = !0) {
|
|
15
|
-
this.interval = t, this.elapsed = 0, this.isPaused = !1;
|
|
16
|
-
let a = new Blob(["\n let interval;\n let elapsed = 0;\n let paused = false;\n let startTime;\n let tickInterval;\n\n onmessage = function(e) {\n const { action, data } = e.data;\n\n switch(action) {\n case 'start':\n startTime = Date.now();\n tickInterval = data.interval;\n elapsed = 0;\n paused = false;\n interval = setInterval(() => {\n elapsed += tickInterval;\n postMessage({ elapsed, timestamp: Date.now() });\n }, tickInterval);\n break;\n \n case 'pause':\n paused = true;\n clearInterval(interval);\n elapsed = Date.now() - startTime;\n break;\n\n case 'resume':\n if (paused) {\n startTime = Date.now() - elapsed;\n interval = setInterval(() => {\n elapsed += tickInterval;\n postMessage({ elapsed, timestamp: Date.now() });\n }, tickInterval);\n }\n paused = false;\n break;\n\n case 'stop':\n clearInterval(interval);\n elapsed = 0;\n postMessage({ elapsed });\n break;\n\n case 'reset':\n elapsed = 0;\n clearInterval(interval);\n postMessage({ elapsed });\n break;\n\n case 'lap':\n postMessage({\n elapsed,\n timestamp: Date.now(),\n action: 'lap'\n });\n break;\n\n default:\n break;\n }\n };\n "], { type: "application/javascript" }), o = URL.createObjectURL(a), s = new Worker(o);
|
|
17
|
-
function c(e) {
|
|
18
|
-
let t = Math.floor(e / 1e3), n = Math.floor(e % 1e3 / 10), a = Math.floor(t / 3600), o = Math.floor(t % 3600 / 60), s = t % 60, c = "";
|
|
19
|
-
return i && (c += String(a).padStart(2, "0") + ":"), c += String(o).padStart(2, "0") + ":", c += String(s).padStart(2, "0"), r && (c += "." + String(n).padStart(2, "0")), c;
|
|
20
|
-
}
|
|
21
|
-
this.start = () => {
|
|
22
|
-
this.isPaused = !1, s.postMessage({
|
|
23
|
-
action: "start",
|
|
24
|
-
data: { interval: this.interval }
|
|
25
|
-
});
|
|
26
|
-
}, this.pause = () => {
|
|
27
|
-
this.isPaused ? this.resume() : (this.isPaused = !0, s.postMessage({ action: "pause" }));
|
|
28
|
-
}, this.resume = () => {
|
|
29
|
-
this.isPaused &&= (s.postMessage({ action: "resume" }), !1);
|
|
30
|
-
}, this.stop = () => {
|
|
31
|
-
s.postMessage({ action: "stop" }), this.isPaused = !1;
|
|
32
|
-
}, this.reset = () => {
|
|
33
|
-
s.postMessage({ action: "reset" }), this.elapsed = 0, this.isPaused = !1;
|
|
34
|
-
}, this.restart = () => {
|
|
35
|
-
this.stop(), this.start();
|
|
36
|
-
}, this.lap = () => new Promise((e) => {
|
|
37
|
-
s.postMessage({ action: "lap" }), s.addEventListener("message", (t) => {
|
|
38
|
-
let { elapsed: n, timestamp: r, action: i } = t.data;
|
|
39
|
-
if (i === "lap") {
|
|
40
|
-
let t = c(n);
|
|
41
|
-
e({
|
|
42
|
-
timestamp: r || 0,
|
|
43
|
-
elapsed: n,
|
|
44
|
-
formatted: t
|
|
45
|
-
});
|
|
46
|
-
}
|
|
47
|
-
}, { once: !0 });
|
|
48
|
-
}), s.onmessage = (t) => {
|
|
49
|
-
let { elapsed: n, timestamp: r } = t.data;
|
|
50
|
-
this.elapsed = n, e({
|
|
51
|
-
timestamp: r || 0,
|
|
52
|
-
elapsed: this.elapsed,
|
|
53
|
-
formatted: c(this.elapsed)
|
|
54
|
-
});
|
|
55
|
-
}, s.onerror = (e) => {
|
|
56
|
-
n && n(e);
|
|
57
|
-
};
|
|
58
|
-
}
|
|
59
|
-
}, T = /* @__PURE__ */ e({ default: () => E }), ce = ["xmlns", "viewBox"], le = ["width", "height"], ue = { key: 1 }, de = ["id"], fe = ["stop-color"], pe = ["stop-color"], me = [
|
|
60
|
-
"cx",
|
|
61
|
-
"cy",
|
|
62
|
-
"r",
|
|
63
|
-
"fill",
|
|
64
|
-
"stroke",
|
|
65
|
-
"stroke-width"
|
|
66
|
-
], he = [
|
|
67
|
-
"d",
|
|
68
|
-
"stroke",
|
|
69
|
-
"stroke-width"
|
|
70
|
-
], ge = [
|
|
71
|
-
"r",
|
|
72
|
-
"fill",
|
|
73
|
-
"stroke",
|
|
74
|
-
"stroke-width"
|
|
75
|
-
], _e = [
|
|
76
|
-
"r",
|
|
77
|
-
"fill",
|
|
78
|
-
"stroke",
|
|
79
|
-
"stroke-width"
|
|
80
|
-
], ve = ["x", "y"], ye = { key: 5 }, be = [
|
|
81
|
-
"x",
|
|
82
|
-
"y",
|
|
83
|
-
"font-size",
|
|
84
|
-
"fill",
|
|
85
|
-
"font-weight"
|
|
86
|
-
], xe = {
|
|
87
|
-
key: 0,
|
|
88
|
-
class: "vue-ui-timer-controls"
|
|
89
|
-
}, Se = ["title"], Ce = ["title"], we = ["title"], Te = ["title"], Ee = ["title"], E = /* @__PURE__ */ s({
|
|
90
|
-
__name: "vue-ui-timer",
|
|
91
|
-
props: { config: {
|
|
92
|
-
type: Object,
|
|
93
|
-
default() {
|
|
94
|
-
return {};
|
|
95
|
-
}
|
|
96
|
-
} },
|
|
97
|
-
emits: [
|
|
98
|
-
"start",
|
|
99
|
-
"pause",
|
|
100
|
-
"reset",
|
|
101
|
-
"restart",
|
|
102
|
-
"lap"
|
|
103
|
-
],
|
|
104
|
-
setup(e, { expose: s, emit: T }) {
|
|
105
|
-
let E = re(() => import("./PackageVersion-xcyrdRmY.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = T, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(t()), F = b(0);
|
|
106
|
-
ae(() => {
|
|
107
|
-
I();
|
|
108
|
-
});
|
|
109
|
-
function I() {
|
|
110
|
-
if (L.value.responsive) {
|
|
111
|
-
let e = c(() => {
|
|
112
|
-
let { width: e, height: t } = ee({
|
|
113
|
-
chart: k.value,
|
|
114
|
-
title: L.value.style.title.text ? A.value : null,
|
|
115
|
-
legend: j.value
|
|
116
|
-
});
|
|
117
|
-
requestAnimationFrame(() => {
|
|
118
|
-
B.value.width = e, B.value.height = t, L.value.responsiveProportionalSizing ? (B.value.tracker.core = r({
|
|
119
|
-
relator: Math.min(e, t),
|
|
120
|
-
adjuster: L.value.style.width,
|
|
121
|
-
source: 6 * L.value.stopwatch.tracker.radiusRatio,
|
|
122
|
-
threshold: 1,
|
|
123
|
-
fallback: 1
|
|
124
|
-
}), B.value.tracker.aura = r({
|
|
125
|
-
relator: Math.min(e, t),
|
|
126
|
-
adjuster: L.value.style.width,
|
|
127
|
-
source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
|
|
128
|
-
threshold: 1,
|
|
129
|
-
fallback: 1
|
|
130
|
-
}), B.value.label = r({
|
|
131
|
-
relator: Math.min(e, t),
|
|
132
|
-
adjuster: L.value.style.width,
|
|
133
|
-
source: L.value.stopwatch.label.fontSize,
|
|
134
|
-
threshold: 10,
|
|
135
|
-
fallback: 10
|
|
136
|
-
})) : B.value.label = L.value.stopwatch.label.fontSize;
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect()), M.value = new ResizeObserver(e), N.value = k.value.parentNode, M.value.observe(N.value);
|
|
140
|
-
}
|
|
141
|
-
}
|
|
142
|
-
ie(() => {
|
|
143
|
-
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
|
|
144
|
-
});
|
|
145
|
-
let L = u({
|
|
146
|
-
get: () => z(),
|
|
147
|
-
set: (e) => e
|
|
148
|
-
}), R = u(() => L.value.useCursorPointer), { svgRef: Oe } = te({ config: L.value.style.title });
|
|
149
|
-
function z() {
|
|
150
|
-
return a({
|
|
151
|
-
userConfig: D.config,
|
|
152
|
-
defaultConfig: De
|
|
153
|
-
});
|
|
154
|
-
}
|
|
155
|
-
oe(() => D.config, (e) => {
|
|
156
|
-
L.value = z(), I(), F.value += 1;
|
|
157
|
-
}, { deep: !0 });
|
|
158
|
-
let ke = u(() => {
|
|
159
|
-
if (L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00:00.00";
|
|
160
|
-
if (L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00:00";
|
|
161
|
-
if (!L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00.00";
|
|
162
|
-
if (!L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00";
|
|
163
|
-
}), B = b({
|
|
164
|
-
height: L.value.style.height,
|
|
165
|
-
width: L.value.style.width,
|
|
166
|
-
tracker: {
|
|
167
|
-
core: 6 * L.value.stopwatch.tracker.radiusRatio,
|
|
168
|
-
aura: 12 * L.value.stopwatch.tracker.aura.radiusRatio
|
|
169
|
-
},
|
|
170
|
-
label: L.value.stopwatch.label.fontSize
|
|
171
|
-
}), V = b(0), H = new se((e) => Ae(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = b(!0), W = b(!1), G = b(!1);
|
|
172
|
-
function K() {
|
|
173
|
-
O("start"), U.value && H.start(), U.value = !1, W.value = !0;
|
|
174
|
-
}
|
|
175
|
-
function q() {
|
|
176
|
-
W.value &&= (O("reset"), H.stop(), X.value = [], U.value = !0, !1);
|
|
177
|
-
}
|
|
178
|
-
function J() {
|
|
179
|
-
G.value = !G.value, O("pause", V.value), H.pause();
|
|
180
|
-
}
|
|
181
|
-
function Y() {
|
|
182
|
-
W.value && (G.value = !1, O("restart"), X.value = [], H.restart());
|
|
183
|
-
}
|
|
184
|
-
let X = b([]);
|
|
185
|
-
async function Z() {
|
|
186
|
-
if (!W.value || G.value) return;
|
|
187
|
-
let e = await H.lap();
|
|
188
|
-
e && (X.value.push(e), O("lap", X.value));
|
|
189
|
-
}
|
|
190
|
-
function Ae({ timestamp: e, elapsed: t, formatted: n }) {
|
|
191
|
-
V.value = {
|
|
192
|
-
timestamp: e,
|
|
193
|
-
elapsed: t,
|
|
194
|
-
formatted: n
|
|
195
|
-
};
|
|
196
|
-
}
|
|
197
|
-
let Q = u(() => Math.min(B.value.width, B.value.height) / 2.5 * L.value.stopwatch.track.radiusRatio);
|
|
198
|
-
function je(e, t) {
|
|
199
|
-
return e * (360 / (t * 1e3)) % 360;
|
|
200
|
-
}
|
|
201
|
-
function Me(e) {
|
|
202
|
-
let t = Math.PI / 180 * e;
|
|
203
|
-
return {
|
|
204
|
-
cx: B.value.width / 2 + Q.value * Math.cos(t),
|
|
205
|
-
cy: B.value.height / 2 + Q.value * Math.sin(t)
|
|
206
|
-
};
|
|
207
|
-
}
|
|
208
|
-
let $ = u(() => {
|
|
209
|
-
let e = je(V.value.elapsed, L.value.stopwatch.cycleSeconds), { cx: t, cy: n } = Me(e - 90), r = +(e > 180);
|
|
210
|
-
return {
|
|
211
|
-
cx: t || B.value.width / 2,
|
|
212
|
-
cy: n || B.value.height / 2 - Q.value,
|
|
213
|
-
largeArcFlag: r,
|
|
214
|
-
sweepFlag: 1
|
|
215
|
-
};
|
|
216
|
-
});
|
|
217
|
-
return s({
|
|
218
|
-
start: K,
|
|
219
|
-
pause: J,
|
|
220
|
-
reset: q,
|
|
221
|
-
restart: Y,
|
|
222
|
-
lap: Z
|
|
223
|
-
}), (e, t) => (y(), f("div", {
|
|
224
|
-
ref_key: "timerChart",
|
|
225
|
-
ref: k,
|
|
226
|
-
class: "vue-data-ui-component vue-ui-timer",
|
|
227
|
-
style: v({
|
|
228
|
-
fontFamily: L.value.style.fontFamily,
|
|
229
|
-
width: "100%",
|
|
230
|
-
height: L.value.responsive ? "100%" : "auto",
|
|
231
|
-
textAlign: "center"
|
|
232
|
-
})
|
|
233
|
-
}, [
|
|
234
|
-
L.value.style.title.text ? (y(), f("div", {
|
|
235
|
-
key: 0,
|
|
236
|
-
ref_key: "chartTitle",
|
|
237
|
-
ref: A,
|
|
238
|
-
style: v({
|
|
239
|
-
width: "100%",
|
|
240
|
-
background: L.value.style.backgroundColor
|
|
241
|
-
})
|
|
242
|
-
}, [(y(), ne(o, {
|
|
243
|
-
key: `title_${F.value}`,
|
|
244
|
-
config: {
|
|
245
|
-
title: {
|
|
246
|
-
cy: "title",
|
|
247
|
-
...L.value.style.title
|
|
248
|
-
},
|
|
249
|
-
subtitle: {
|
|
250
|
-
cy: "subtitle",
|
|
251
|
-
...L.value.style.title.subtitle
|
|
252
|
-
}
|
|
253
|
-
}
|
|
254
|
-
}, null, 8, ["config"]))], 4)) : d("", !0),
|
|
255
|
-
(y(), f("svg", {
|
|
256
|
-
ref_key: "svgRef",
|
|
257
|
-
ref: Oe,
|
|
258
|
-
xmlns: w(n),
|
|
259
|
-
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
260
|
-
style: v({
|
|
261
|
-
maxWidth: "100%",
|
|
262
|
-
overflow: "visible",
|
|
263
|
-
background: L.value.style.backgroundColor
|
|
264
|
-
})
|
|
265
|
-
}, [
|
|
266
|
-
m(w(E)),
|
|
267
|
-
e.$slots["chart-background"] ? (y(), f("foreignObject", {
|
|
268
|
-
key: 0,
|
|
269
|
-
x: 0,
|
|
270
|
-
y: 0,
|
|
271
|
-
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
272
|
-
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
273
|
-
style: { pointerEvents: "none" }
|
|
274
|
-
}, [x(e.$slots, "chart-background", {}, void 0, !0)], 8, le)) : d("", !0),
|
|
275
|
-
L.value.stopwatch.tracker.gradient.show ? (y(), f("defs", ue, [p("radialGradient", {
|
|
276
|
-
id: `tracker_gradient_${P.value}`,
|
|
277
|
-
cx: "50%",
|
|
278
|
-
cy: "50%",
|
|
279
|
-
r: "50%",
|
|
280
|
-
fx: "50%",
|
|
281
|
-
fy: "50%"
|
|
282
|
-
}, [p("stop", {
|
|
283
|
-
offset: "0%",
|
|
284
|
-
"stop-color": L.value.stopwatch.tracker.gradient.color
|
|
285
|
-
}, null, 8, fe), p("stop", {
|
|
286
|
-
offset: "100%",
|
|
287
|
-
"stop-color": L.value.stopwatch.tracker.fill
|
|
288
|
-
}, null, 8, pe)], 8, de)])) : d("", !0),
|
|
289
|
-
p("circle", {
|
|
290
|
-
cx: B.value.width / 2,
|
|
291
|
-
cy: B.value.height / 2,
|
|
292
|
-
r: Q.value,
|
|
293
|
-
fill: L.value.stopwatch.track.fill,
|
|
294
|
-
stroke: L.value.stopwatch.track.stroke,
|
|
295
|
-
"stroke-width": L.value.stopwatch.track.strokeWidth
|
|
296
|
-
}, null, 8, me),
|
|
297
|
-
L.value.stopwatch.cycleTrack.show ? (y(), f("path", {
|
|
298
|
-
key: 2,
|
|
299
|
-
d: `M ${B.value.width / 2},${B.value.height / 2 - Q.value} A ${Q.value},${Q.value} 0 ${$.value.largeArcFlag},${$.value.sweepFlag} ${$.value.cx},${$.value.cy}`,
|
|
300
|
-
stroke: L.value.stopwatch.cycleTrack.stroke,
|
|
301
|
-
"stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
|
|
302
|
-
"stroke-linecap": "round",
|
|
303
|
-
fill: "none"
|
|
304
|
-
}, null, 8, he)) : d("", !0),
|
|
305
|
-
p("circle", g($.value, {
|
|
306
|
-
r: B.value.tracker.core,
|
|
307
|
-
fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
|
|
308
|
-
stroke: L.value.stopwatch.tracker.stroke,
|
|
309
|
-
"stroke-width": L.value.stopwatch.tracker.strokeWidth
|
|
310
|
-
}), null, 16, ge),
|
|
311
|
-
L.value.stopwatch.tracker.aura.show ? (y(), f("circle", g({ key: 3 }, $.value, {
|
|
312
|
-
r: B.value.tracker.aura,
|
|
313
|
-
fill: `${L.value.stopwatch.tracker.aura.fill}20`,
|
|
314
|
-
stroke: L.value.stopwatch.tracker.aura.stroke,
|
|
315
|
-
"stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
|
|
316
|
-
}), null, 16, _e)) : d("", !0),
|
|
317
|
-
e.$slots.time ? (y(), f("foreignObject", {
|
|
318
|
-
key: 4,
|
|
319
|
-
x: B.value.width / 2,
|
|
320
|
-
y: B.value.height / 2,
|
|
321
|
-
height: "0.1",
|
|
322
|
-
width: "0.1",
|
|
323
|
-
style: { overflow: "visible" }
|
|
324
|
-
}, [x(e.$slots, "time", _(h({
|
|
325
|
-
...V.value,
|
|
326
|
-
...B.value
|
|
327
|
-
})), void 0, !0)], 8, ve)) : e.$slots.timeSvg ? (y(), f("g", ye, [x(e.$slots, "timeSvg", _(h({
|
|
328
|
-
...V.value,
|
|
329
|
-
...B.value
|
|
330
|
-
})), void 0, !0)])) : (y(), f("text", {
|
|
331
|
-
key: 6,
|
|
332
|
-
x: B.value.width / 2,
|
|
333
|
-
y: B.value.height / 2 + B.value.label / 4,
|
|
334
|
-
"font-size": B.value.label,
|
|
335
|
-
"text-anchor": "middle",
|
|
336
|
-
fill: L.value.stopwatch.label.color,
|
|
337
|
-
"font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
|
|
338
|
-
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
339
|
-
}, C(V.value.formatted || ke.value), 9, be))
|
|
340
|
-
], 12, ce)),
|
|
341
|
-
p("div", {
|
|
342
|
-
ref_key: "chartLegend",
|
|
343
|
-
ref: j,
|
|
344
|
-
style: v({
|
|
345
|
-
width: "100%",
|
|
346
|
-
backgroundColor: L.value.stopwatch.legend.backgroundColor
|
|
347
|
-
})
|
|
348
|
-
}, [
|
|
349
|
-
e.$slots.controls ? d("", !0) : (y(), f("div", xe, [
|
|
350
|
-
L.value.stopwatch.legend.buttons.start ? (y(), f("button", {
|
|
351
|
-
key: 0,
|
|
352
|
-
title: L.value.stopwatch.legend.buttonTitles.start,
|
|
353
|
-
onClick: K,
|
|
354
|
-
class: "vue-ui-timer-button",
|
|
355
|
-
style: v({
|
|
356
|
-
opacity: W.value ? .2 : 1,
|
|
357
|
-
cursor: W.value ? "default" : R.value ? "pointer" : "default"
|
|
358
|
-
})
|
|
359
|
-
}, [m(l, {
|
|
360
|
-
name: "play",
|
|
361
|
-
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
362
|
-
}, null, 8, ["stroke"])], 12, Se)) : d("", !0),
|
|
363
|
-
L.value.stopwatch.legend.buttons.pause ? (y(), f("button", {
|
|
364
|
-
key: 1,
|
|
365
|
-
title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
|
|
366
|
-
onClick: J,
|
|
367
|
-
class: "vue-ui-timer-button",
|
|
368
|
-
style: v({
|
|
369
|
-
opacity: W.value ? 1 : .2,
|
|
370
|
-
cursor: W.value && R.value ? "pointer" : "default"
|
|
371
|
-
})
|
|
372
|
-
}, [m(l, {
|
|
373
|
-
name: "pause",
|
|
374
|
-
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
375
|
-
}, null, 8, ["stroke"])], 12, Ce)) : d("", !0),
|
|
376
|
-
L.value.stopwatch.legend.buttons.reset ? (y(), f("button", {
|
|
377
|
-
key: 2,
|
|
378
|
-
title: L.value.stopwatch.legend.buttonTitles.reset,
|
|
379
|
-
onClick: q,
|
|
380
|
-
class: "vue-ui-timer-button",
|
|
381
|
-
style: v({
|
|
382
|
-
opacity: W.value ? 1 : .2,
|
|
383
|
-
cursor: W.value && R.value ? "pointer" : "default"
|
|
384
|
-
})
|
|
385
|
-
}, [m(l, {
|
|
386
|
-
name: "stop",
|
|
387
|
-
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
388
|
-
}, null, 8, ["stroke"])], 12, we)) : d("", !0),
|
|
389
|
-
L.value.stopwatch.legend.buttons.restart ? (y(), f("button", {
|
|
390
|
-
key: 3,
|
|
391
|
-
title: L.value.stopwatch.legend.buttonTitles.restart,
|
|
392
|
-
onClick: Y,
|
|
393
|
-
class: "vue-ui-timer-button",
|
|
394
|
-
style: v({
|
|
395
|
-
opacity: W.value ? 1 : .2,
|
|
396
|
-
cursor: W.value && R.value ? "pointer" : "default"
|
|
397
|
-
})
|
|
398
|
-
}, [m(l, {
|
|
399
|
-
name: "restart",
|
|
400
|
-
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
401
|
-
}, null, 8, ["stroke"])], 12, Te)) : d("", !0),
|
|
402
|
-
L.value.stopwatch.legend.buttons.lap ? (y(), f("button", {
|
|
403
|
-
key: 4,
|
|
404
|
-
title: L.value.stopwatch.legend.buttonTitles.lap,
|
|
405
|
-
onClick: Z,
|
|
406
|
-
class: "vue-ui-timer-button",
|
|
407
|
-
style: v({
|
|
408
|
-
opacity: W.value && !G.value ? 1 : .2,
|
|
409
|
-
cursor: W.value && !G.value && R.value ? "pointer" : "default"
|
|
410
|
-
})
|
|
411
|
-
}, [m(l, {
|
|
412
|
-
name: "lap",
|
|
413
|
-
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
414
|
-
}, null, 8, ["stroke"])], 12, Ee)) : d("", !0)
|
|
415
|
-
])),
|
|
416
|
-
x(e.$slots, "controls", _(h({
|
|
417
|
-
start: K,
|
|
418
|
-
pause: J,
|
|
419
|
-
reset: q,
|
|
420
|
-
restart: Y,
|
|
421
|
-
lap: Z,
|
|
422
|
-
laps: X.value,
|
|
423
|
-
isRunning: W.value,
|
|
424
|
-
isPaused: G.value,
|
|
425
|
-
...V.value
|
|
426
|
-
})), void 0, !0),
|
|
427
|
-
x(e.$slots, "laps", _(h({
|
|
428
|
-
laps: X.value,
|
|
429
|
-
lap: Z,
|
|
430
|
-
isRunning: W.value,
|
|
431
|
-
isPaused: G.value,
|
|
432
|
-
...V.value
|
|
433
|
-
})), void 0, !0)
|
|
434
|
-
], 4)
|
|
435
|
-
], 4));
|
|
436
|
-
}
|
|
437
|
-
}, [["__scopeId", "data-v-7cc009e4"]]);
|
|
438
|
-
//#endregion
|
|
439
|
-
export { T as n, E as t };
|