vue-data-ui 3.17.3 → 3.17.4
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 +228 -228
- package/dist/{A11yDataTable-KcVAX2cP.js → A11yDataTable-BpmuNomI.js} +1 -1
- package/dist/{Arrow-Bn-9n3bm.js → Arrow-dSvLFssU.js} +1 -1
- package/dist/{BaseDraggableDialog-CIb-iD9g.js → BaseDraggableDialog-Di8Hlru3.js} +26 -24
- package/dist/{BaseIcon-Cb3zzG6s.js → BaseIcon-DX0hTWa-.js} +11 -5
- package/dist/{BaseLegendToggle-BQVIawmA.js → BaseLegendToggle-cMP8M2u0.js} +4 -4
- package/dist/BaseScanner-BON3d_Sx.js +38 -0
- package/dist/{BaseZoomControls-DievbOeJ.js → BaseZoomControls-CVSC1-SU.js} +11 -5
- package/dist/{ColorPicker-B0mV4xzu.js → ColorPicker-bAxGcXK0.js} +38 -22
- package/dist/{DataTable-DT2kIdQ6.js → DataTable-cMnb68Ik.js} +15 -11
- package/dist/{Legend-CS7Xo5LK.js → Legend-DGN5lY60.js} +15 -12
- package/dist/{NonSvgPenAndPaper-VyJFyJ6X.js → NonSvgPenAndPaper-B6E0zEYe.js} +34 -12
- package/dist/{PackageVersion-DP_kfXUM.js → PackageVersion-DVvvyQXB.js} +1 -1
- package/dist/{PenAndPaper-Ct3qJ4lA.js → PenAndPaper-CJDoB5H9.js} +87 -27
- package/dist/{Shape-BKRUOeKk.js → Shape-CxJ5_Rre.js} +1 -1
- package/dist/{Slicer-CIHwwuNR.js → Slicer-D7UcO8sN.js} +75 -33
- package/dist/{SlicerPreview-BMx3cqgX.js → SlicerPreview-D_CgrN_7.js} +198 -102
- package/dist/{SparkTooltip-BorBpltj.js → SparkTooltip-D4bM-kfz.js} +5 -5
- package/dist/{Title-BeMKE1cj.js → Title-BbKoiBk2.js} +1 -1
- package/dist/{Tooltip-C8KGyqQk.js → Tooltip-Cvt7Fi0Q.js} +9 -2
- package/dist/{UserOptions-rW2fRf3V.js → UserOptions-DVduN6X7.js} +48 -14
- package/dist/components/arrow.js +1 -1
- package/dist/components/vue-ui-3d-bar.js +1 -1
- package/dist/components/vue-ui-accordion.js +1 -1
- package/dist/components/vue-ui-age-pyramid.js +1 -1
- package/dist/components/vue-ui-annotator.js +1 -1
- package/dist/components/vue-ui-bullet.js +1 -1
- package/dist/components/vue-ui-bump.js +1 -1
- package/dist/components/vue-ui-candlestick.js +1 -1
- package/dist/components/vue-ui-carousel-table.js +1 -1
- package/dist/components/vue-ui-chestnut.js +1 -1
- package/dist/components/vue-ui-chord.js +1 -1
- package/dist/components/vue-ui-circle-pack.js +1 -1
- package/dist/components/vue-ui-cursor.js +1 -1
- package/dist/components/vue-ui-dag.js +1 -1
- package/dist/components/vue-ui-dashboard.js +1 -1
- package/dist/components/vue-ui-digits.js +1 -1
- package/dist/components/vue-ui-donut-evolution.js +1 -1
- package/dist/components/vue-ui-donut.js +1 -1
- package/dist/components/vue-ui-dumbbell.js +1 -1
- package/dist/components/vue-ui-flow.js +1 -1
- package/dist/components/vue-ui-funnel.js +1 -1
- package/dist/components/vue-ui-galaxy.js +1 -1
- package/dist/components/vue-ui-gauge.js +1 -1
- package/dist/components/vue-ui-geo.js +1 -1
- package/dist/components/vue-ui-gizmo.js +1 -1
- package/dist/components/vue-ui-heatmap.js +1 -1
- package/dist/components/vue-ui-history-plot.js +1 -1
- package/dist/components/vue-ui-horizontal-bar.js +1 -1
- package/dist/components/vue-ui-icon.js +1 -1
- package/dist/components/vue-ui-kpi.js +1 -1
- package/dist/components/vue-ui-mini-loader.js +1 -1
- package/dist/components/vue-ui-molecule.js +1 -1
- package/dist/components/vue-ui-mood-radar.js +1 -1
- package/dist/components/vue-ui-nested-donuts.js +1 -1
- package/dist/components/vue-ui-onion.js +1 -1
- package/dist/components/vue-ui-parallel-coordinate-plot.js +1 -1
- package/dist/components/vue-ui-pattern-seed.js +1 -1
- package/dist/components/vue-ui-quadrant.js +1 -1
- package/dist/components/vue-ui-quick-chart.js +1 -1
- package/dist/components/vue-ui-radar.js +1 -1
- package/dist/components/vue-ui-rating.js +1 -1
- package/dist/components/vue-ui-relation-circle.js +1 -1
- package/dist/components/vue-ui-ridgeline.js +1 -1
- package/dist/components/vue-ui-rings.js +1 -1
- package/dist/components/vue-ui-scatter.js +1 -1
- package/dist/components/vue-ui-skeleton.js +1 -1
- package/dist/components/vue-ui-smiley.js +1 -1
- package/dist/components/vue-ui-spark-trend.js +1 -1
- package/dist/components/vue-ui-sparkbar.js +1 -1
- package/dist/components/vue-ui-sparkgauge.js +1 -1
- package/dist/components/vue-ui-sparkhistogram.js +1 -1
- package/dist/components/vue-ui-sparkline.js +1 -1
- package/dist/components/vue-ui-sparkstackbar.js +1 -1
- package/dist/components/vue-ui-stackbar.js +1 -1
- package/dist/components/vue-ui-stackline.js +1 -1
- package/dist/components/vue-ui-strip-plot.js +1 -1
- package/dist/components/vue-ui-table-heatmap.js +1 -1
- package/dist/components/vue-ui-table-sparkline.js +1 -1
- package/dist/components/vue-ui-table.js +1 -1
- package/dist/components/vue-ui-thermometer.js +1 -1
- package/dist/components/vue-ui-timer.js +1 -1
- package/dist/components/vue-ui-tiremarks.js +1 -1
- package/dist/components/vue-ui-treemap.js +1 -1
- package/dist/components/vue-ui-vertical-bar.js +1 -1
- package/dist/components/vue-ui-waffle.js +1 -1
- package/dist/components/vue-ui-wheel.js +1 -1
- package/dist/components/vue-ui-word-cloud.js +1 -1
- package/dist/components/vue-ui-world.js +1 -1
- package/dist/components/vue-ui-xy-canvas.js +1 -1
- package/dist/components/vue-ui-xy.js +1 -1
- package/dist/{dom-to-png-CtxhhdWb.js → dom-to-png-DGvx6i5V.js} +21 -6
- package/dist/{exposedLib-DlqmhBx3.js → exposedLib-sJvY1pST.js} +1 -1
- package/dist/{geoProjections-D0Vxsz_O.js → geoProjections-BFq2sOBY.js} +19 -11
- package/dist/{img-LXxMLmCg.js → img-CjTQXS0U.js} +31 -7
- package/dist/{labelUtils-CqTHa20R.js → labelUtils-DX9oyq3C.js} +2 -6
- package/dist/{lib-DBptbyyI.js → lib-DMzrGQHK.js} +337 -124
- package/dist/{patternUtils-DtjWtDHU.js → patternUtils-BINhU4Ky.js} +149 -66
- package/dist/{pdf-B4tTdfvl.js → pdf-C4H4o1Cj.js} +11 -2
- package/dist/style.css +1 -1
- package/dist/types/arrow.d.ts +1 -1
- package/dist/types/utils.d.ts +499 -498
- package/dist/types/vue-data-ui.d.ts +2115 -1787
- package/dist/types/vue-ui-3d-bar.d.ts +10 -7
- package/dist/types/vue-ui-accordion.d.ts +2 -4
- package/dist/types/vue-ui-age-pyramid.d.ts +10 -8
- package/dist/types/vue-ui-annotator.d.ts +3 -3
- package/dist/types/vue-ui-bullet.d.ts +10 -7
- package/dist/types/vue-ui-bump.d.ts +9 -6
- package/dist/types/vue-ui-candlestick.d.ts +10 -7
- package/dist/types/vue-ui-carousel-table.d.ts +2 -2
- package/dist/types/vue-ui-chestnut.d.ts +9 -6
- package/dist/types/vue-ui-chord.d.ts +10 -7
- package/dist/types/vue-ui-circle-pack.d.ts +10 -7
- package/dist/types/vue-ui-cursor.d.ts +2 -2
- package/dist/types/vue-ui-dag.d.ts +10 -7
- package/dist/types/vue-ui-dashboard.d.ts +3 -3
- package/dist/types/vue-ui-digits.d.ts +2 -2
- package/dist/types/vue-ui-donut-evolution.d.ts +11 -8
- package/dist/types/vue-ui-donut.d.ts +11 -8
- package/dist/types/vue-ui-dumbbell.d.ts +11 -8
- package/dist/types/vue-ui-flow.d.ts +11 -8
- package/dist/types/vue-ui-funnel.d.ts +11 -8
- package/dist/types/vue-ui-galaxy.d.ts +11 -8
- package/dist/types/vue-ui-gauge.d.ts +11 -8
- package/dist/types/vue-ui-geo.d.ts +13 -6
- package/dist/types/vue-ui-gizmo.d.ts +2 -5
- package/dist/types/vue-ui-heatmap.d.ts +11 -8
- package/dist/types/vue-ui-history-plot.d.ts +11 -8
- package/dist/types/vue-ui-horizontal-bar.d.ts +11 -8
- package/dist/types/vue-ui-icon.d.ts +2 -4
- package/dist/types/vue-ui-kpi.d.ts +2 -4
- package/dist/types/vue-ui-mini-loader.d.ts +4 -4
- package/dist/types/vue-ui-molecule.d.ts +11 -8
- package/dist/types/vue-ui-mood-radar.d.ts +11 -8
- package/dist/types/vue-ui-nested-donuts.d.ts +11 -8
- package/dist/types/vue-ui-onion.d.ts +11 -8
- package/dist/types/vue-ui-parallel-coordinate-plot.d.ts +11 -8
- package/dist/types/vue-ui-pattern-seed.d.ts +1 -1
- package/dist/types/vue-ui-pattern.d.ts +2 -4
- package/dist/types/vue-ui-quadrant.d.ts +11 -8
- package/dist/types/vue-ui-quick-chart.d.ts +11 -8
- package/dist/types/vue-ui-radar.d.ts +11 -8
- package/dist/types/vue-ui-rating.d.ts +4 -4
- package/dist/types/vue-ui-relation-circle.d.ts +11 -8
- package/dist/types/vue-ui-ridgeline.d.ts +11 -8
- package/dist/types/vue-ui-rings.d.ts +11 -8
- package/dist/types/vue-ui-scatter.d.ts +11 -8
- package/dist/types/vue-ui-skeleton.d.ts +2 -4
- package/dist/types/vue-ui-smiley.d.ts +2 -5
- package/dist/types/vue-ui-spark-trend.d.ts +2 -4
- package/dist/types/vue-ui-sparkbar.d.ts +4 -4
- package/dist/types/vue-ui-sparkgauge.d.ts +4 -4
- package/dist/types/vue-ui-sparkhistogram.d.ts +4 -4
- package/dist/types/vue-ui-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-sparkstackbar.d.ts +4 -4
- package/dist/types/vue-ui-stackbar.d.ts +11 -8
- package/dist/types/vue-ui-stackline.d.ts +11 -8
- package/dist/types/vue-ui-strip-plot.d.ts +11 -8
- package/dist/types/vue-ui-table-heatmap.d.ts +4 -4
- package/dist/types/vue-ui-table-sparkline.d.ts +4 -4
- package/dist/types/vue-ui-table.d.ts +4 -4
- package/dist/types/vue-ui-thermometer.d.ts +11 -8
- package/dist/types/vue-ui-timer.d.ts +2 -4
- package/dist/types/vue-ui-tiremarks.d.ts +11 -8
- package/dist/types/vue-ui-treemap.d.ts +11 -8
- package/dist/types/vue-ui-vertical-bar.d.ts +11 -8
- package/dist/types/vue-ui-waffle.d.ts +11 -8
- package/dist/types/vue-ui-wheel.d.ts +11 -8
- package/dist/types/vue-ui-word-cloud.d.ts +11 -8
- package/dist/types/vue-ui-world.d.ts +11 -8
- package/dist/types/vue-ui-xy-canvas.d.ts +11 -8
- package/dist/types/vue-ui-xy.d.ts +9 -6
- package/dist/{useAutoSizeLabelsInsideViewbox-DX7LdvFX.js → useAutoSizeLabelsInsideViewbox-izlGDfwu.js} +1 -1
- package/dist/{useChartAccessibility-9icAAmYg.js → useChartAccessibility-cp6XQtqi.js} +4 -1
- package/dist/{useConfig-C40HvGpD.js → useConfig-DTHxOX6V.js} +2 -8
- package/dist/{useNestedProp-Bf5XFbs8.js → useNestedProp-DH0BEVVS.js} +1 -1
- package/dist/{useObjectBindings-DOokNdQ_.js → useObjectBindings-BjkVidN3.js} +17 -6
- package/dist/{usePanZoom-CDF7rb3o.js → usePanZoom-BbDhcKWf.js} +11 -2
- package/dist/{usePrefersMotion-CUKm8_t8.js → usePrefersMotion-Co0nj1eS.js} +3 -1
- package/dist/{usePrinter-CEpYU3r5.js → usePrinter-C4t8DdQ-.js} +3 -8
- package/dist/{useStableElementSize-DCNs0Tx7.js → useStableElementSize-C48ZVcZQ.js} +4 -1
- package/dist/{useSvgExport-ByUukOZt.js → useSvgExport-BTG4hVPO.js} +154 -34
- package/dist/{useTableResponsive-Cbx-ACcP.js → useTableResponsive-BpfiEtzR.js} +7 -3
- package/dist/{useThemeCheck-D1ZYXUwG.js → useThemeCheck-C9Ccl7U9.js} +4 -2
- package/dist/{useTimeLabelCollider-CIsgDrl9.js → useTimeLabelCollider-D3JeJ6Ye.js} +13 -5
- package/dist/{useTimeLabels-C-A2uZKi.js → useTimeLabels-Cv0tD9In.js} +22 -6
- package/dist/{useUserOptionState-BIvW1Kz7.js → useUserOptionState-B7Ej974k.js} +6 -4
- package/dist/utils.js +4 -4
- package/dist/{vue-data-ui-kiw3y7gG.js → vue-data-ui-C0aMSe2G.js} +138 -72
- package/dist/vue-data-ui.js +74 -74
- package/dist/{vue-ui-3d-bar-CWaSxiqw.js → vue-ui-3d-bar-CzXlsUEJ.js} +328 -101
- package/dist/{vue-ui-accordion-DDuJT1xA.js → vue-ui-accordion-BHmfmb_6.js} +26 -14
- package/dist/{vue-ui-age-pyramid-B6S8XYmi.js → vue-ui-age-pyramid-DMZ9oYFv.js} +180 -73
- package/dist/{vue-ui-annotator-BdmTltyl.js → vue-ui-annotator-Db4eooqI.js} +162 -53
- package/dist/{vue-ui-bullet-_zHE8JoR.js → vue-ui-bullet-CEH6eppC.js} +92 -35
- package/dist/{vue-ui-bump-BX-bnhix.js → vue-ui-bump-JbKFEe2A.js} +205 -102
- package/dist/{vue-ui-candlestick-CgtRA-EI.js → vue-ui-candlestick-BX01sTaY.js} +285 -100
- package/dist/{vue-ui-carousel-table-BnwS5nMG.js → vue-ui-carousel-table-BOAti3gd.js} +66 -29
- package/dist/{vue-ui-chestnut-3JG1dMba.js → vue-ui-chestnut-B0rhAzCA.js} +277 -88
- package/dist/{vue-ui-chord-DsA-qrl6.js → vue-ui-chord-DKIHZ39Z.js} +226 -96
- package/dist/{vue-ui-circle-pack-BSHUo-L7.js → vue-ui-circle-pack-Ct2roluW.js} +196 -111
- package/dist/{vue-ui-cursor-Gqh_JBGA.js → vue-ui-cursor-B3cJoPku.js} +14 -7
- package/dist/{vue-ui-dag-BTB1DCrs.js → vue-ui-dag-DCq1VMNd.js} +261 -99
- package/dist/{vue-ui-dashboard-xAW1vWaB.js → vue-ui-dashboard-BqAYr0Fr.js} +261 -94
- package/dist/{vue-ui-digits-D2wQOhMt.js → vue-ui-digits-D16SQQ4M.js} +6 -6
- package/dist/{vue-ui-donut-UUgV1d0_.js → vue-ui-donut-d0LLrlKG.js} +532 -157
- package/dist/{vue-ui-donut-evolution-B0EEKpQC.js → vue-ui-donut-evolution-6sMhQduN.js} +311 -92
- package/dist/{vue-ui-dumbbell-Ct2RXkIX.js → vue-ui-dumbbell-CUybhrwj.js} +266 -93
- package/dist/{vue-ui-flow-Ci_h8KNf.js → vue-ui-flow-BZ-9RFsy.js} +121 -48
- package/dist/{vue-ui-funnel-Ciy-udDH.js → vue-ui-funnel-BJgvIvlz.js} +91 -39
- package/dist/{vue-ui-galaxy-DJ6_911b.js → vue-ui-galaxy-DR9WL985.js} +161 -69
- package/dist/{vue-ui-gauge-CJ5OH_wa.js → vue-ui-gauge-x96W5OPx.js} +95 -37
- package/dist/{vue-ui-geo-B-8UJvBt.js → vue-ui-geo-qTfYs5qi.js} +113 -43
- package/dist/{vue-ui-gizmo-BgdUIouA.js → vue-ui-gizmo-C8HOirN9.js} +25 -12
- package/dist/{vue-ui-heatmap-ZdZ22EDj.js → vue-ui-heatmap-Cy9o-A7B.js} +316 -125
- package/dist/{vue-ui-history-plot-D1vpgQ8I.js → vue-ui-history-plot-j0DMfNPJ.js} +186 -73
- package/dist/{vue-ui-horizontal-bar-C1gYSz7t.js → vue-ui-horizontal-bar-CRScV3rx.js} +151 -56
- package/dist/{vue-ui-kpi-B0sOyO7s.js → vue-ui-kpi-CEx3P3Do.js} +35 -14
- package/dist/{vue-ui-mini-loader-DrROXJIX.js → vue-ui-mini-loader-CyDOoarO.js} +17 -11
- package/dist/{vue-ui-molecule-C2wW_JqJ.js → vue-ui-molecule-B_19tjnI.js} +226 -120
- package/dist/{vue-ui-mood-radar-Bgd30qfN.js → vue-ui-mood-radar-DrkGtt7m.js} +166 -56
- package/dist/{vue-ui-nested-donuts-CDtrnUDs.js → vue-ui-nested-donuts-C3enuKq1.js} +196 -89
- package/dist/{vue-ui-onion-CeLy3EjT.js → vue-ui-onion-DMMLNXVu.js} +155 -74
- package/dist/{vue-ui-parallel-coordinate-plot-rRuHDWD1.js → vue-ui-parallel-coordinate-plot-YokoI6TP.js} +262 -84
- package/dist/{vue-ui-pattern-seed-lL5yS7nX.js → vue-ui-pattern-seed-BcNlxb2i.js} +1 -1
- package/dist/{vue-ui-quadrant-CqcWTgh-.js → vue-ui-quadrant-D8vI4gIT.js} +240 -88
- package/dist/{vue-ui-quick-chart-Bbdoq3j3.js → vue-ui-quick-chart-BdwHAQyA.js} +445 -150
- package/dist/{vue-ui-radar-BF2eWMEl.js → vue-ui-radar-DQWyecSD.js} +186 -68
- package/dist/{vue-ui-rating-C1f6x_PD.js → vue-ui-rating-DKmEn0VK.js} +30 -11
- package/dist/{vue-ui-relation-circle-D3jsasRD.js → vue-ui-relation-circle-XQH3QkrI.js} +119 -45
- package/dist/{vue-ui-ridgeline-Lhxi4BNZ.js → vue-ui-ridgeline-ksI62sSU.js} +349 -85
- package/dist/{vue-ui-rings-D0tnHXEe.js → vue-ui-rings-Dwbo1Fro.js} +179 -81
- package/dist/{vue-ui-scatter-CIK8j5sT.js → vue-ui-scatter-GFzM-YYz.js} +282 -102
- package/dist/{vue-ui-skeleton-BD5hXmIt.js → vue-ui-skeleton-xLPY1FKW.js} +161 -144
- package/dist/{vue-ui-smiley-M5Gn70_Z.js → vue-ui-smiley-BLMl69Ca.js} +28 -17
- package/dist/{vue-ui-spark-trend-exj63CUB.js → vue-ui-spark-trend-Bkxd18l5.js} +76 -31
- package/dist/{vue-ui-sparkbar-D3UXwhmT.js → vue-ui-sparkbar-D2abFa-u.js} +113 -59
- package/dist/{vue-ui-sparkgauge-BsQY5Cwp.js → vue-ui-sparkgauge-D6IF3ZQR.js} +47 -18
- package/dist/{vue-ui-sparkhistogram-4oHi6IHt.js → vue-ui-sparkhistogram-Dl8WlJLW.js} +145 -60
- package/dist/{vue-ui-sparkline-BypShxpX.js → vue-ui-sparkline-BY05SDNv.js} +226 -68
- package/dist/{vue-ui-sparkstackbar-8dpxOXr_.js → vue-ui-sparkstackbar-BLFjfklb.js} +84 -36
- package/dist/{vue-ui-stackbar-BKLo9L3P.js → vue-ui-stackbar-Dw-CI94e.js} +482 -169
- package/dist/{vue-ui-stackline-CSBogzBf.js → vue-ui-stackline-CkgSbKkp.js} +473 -164
- package/dist/{vue-ui-strip-plot-BQiNmxPk.js → vue-ui-strip-plot-P16Y5yN1.js} +239 -132
- package/dist/{vue-ui-table-CKlHkISC.js → vue-ui-table-BPLypaeX.js} +339 -122
- package/dist/{vue-ui-table-heatmap-C6rSAGDu.js → vue-ui-table-heatmap-CWp_5d1z.js} +89 -25
- package/dist/{vue-ui-table-sparkline-DHPemUVJ.js → vue-ui-table-sparkline-CpjyrPic.js} +127 -47
- package/dist/{vue-ui-thermometer-Cy1oHbQ-.js → vue-ui-thermometer-B9nc954A.js} +129 -48
- package/dist/{vue-ui-timer-DsYVGo-1.js → vue-ui-timer-BDfbM4vl.js} +32 -15
- package/dist/{vue-ui-tiremarks-BvEM8AvM.js → vue-ui-tiremarks-DHV_oSQ0.js} +90 -35
- package/dist/vue-ui-treemap-DLWOi_EG.js +1748 -0
- package/dist/{vue-ui-waffle-Uo1RM5Yy.js → vue-ui-waffle-CpNJSzAD.js} +206 -87
- package/dist/{vue-ui-wheel-Cood5EN7.js → vue-ui-wheel-DqBmaQ6h.js} +231 -61
- package/dist/{vue-ui-word-cloud-BrQKo4eQ.js → vue-ui-word-cloud-DexRxuh1.js} +443 -350
- package/dist/vue-ui-world-DAJgtvpz.js +14451 -0
- package/dist/{vue-ui-xy-BAlrZ3W9.js → vue-ui-xy-Cv-50xHj.js} +840 -252
- package/dist/{vue-ui-xy-canvas-BR-Qogdl.js → vue-ui-xy-canvas-BNUX13xH.js} +448 -159
- package/package.json +120 -119
- package/dist/BaseScanner-BhhkKVoj.js +0 -30
- package/dist/vue-ui-treemap-5qrvks6n.js +0 -1726
- package/dist/vue-ui-world-Cjm9SD0h.js +0 -1011
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { useCssVars as st, defineAsyncComponent as Z, ref as d, computed as i, onMounted as at, toRefs as lt, watch as rt, openBlock as r, createElementBlock as u, unref as c, normalizeStyle as we, normalizeClass as V, createBlock as N, withCtx as f, renderSlot as h, normalizeProps as p, guardReactiveProps as k, createCommentVNode as v, createSlots as nt, createElementVNode as m, toDisplayString as ee, createVNode as ut, Fragment as Y, renderList as xe, nextTick as it } from "vue";
|
|
2
|
-
import { j as ct, t as Ce, o as vt, q as _e, r as ht, m as dt, p as I, n as ft, K as y, s as E, k as mt, l as yt, X as gt, u as pt } from "./lib-
|
|
2
|
+
import { j as ct, t as Ce, o as vt, q as _e, r as ht, m as dt, p as I, n as ft, K as y, s as E, k as mt, l as yt, X as gt, u as pt } from "./lib-DMzrGQHK.js";
|
|
3
3
|
import { t as kt, u as bt } from "./useResponsive-DfdjqQps.js";
|
|
4
|
-
import { u as wt } from "./useConfig-
|
|
5
|
-
import { u as xt, B as Ct } from "./BaseScanner-
|
|
6
|
-
import { u as _t } from "./usePrinter-
|
|
7
|
-
import { u as $t } from "./useSvgExport-
|
|
8
|
-
import { u as te } from "./useNestedProp-
|
|
9
|
-
import { u as At } from "./useThemeCheck-
|
|
10
|
-
import { u as Pt } from "./useUserOptionState-
|
|
11
|
-
import { u as Ot } from "./useChartAccessibility-
|
|
12
|
-
import { u as It } from "./usePrefersMotion-
|
|
13
|
-
import { u as St } from "./useAutoSizeLabelsInsideViewbox-
|
|
4
|
+
import { u as wt } from "./useConfig-DTHxOX6V.js";
|
|
5
|
+
import { u as xt, B as Ct } from "./BaseScanner-BON3d_Sx.js";
|
|
6
|
+
import { u as _t } from "./usePrinter-C4t8DdQ-.js";
|
|
7
|
+
import { u as $t } from "./useSvgExport-BTG4hVPO.js";
|
|
8
|
+
import { u as te } from "./useNestedProp-DH0BEVVS.js";
|
|
9
|
+
import { u as At } from "./useThemeCheck-C9Ccl7U9.js";
|
|
10
|
+
import { u as Pt } from "./useUserOptionState-B7Ej974k.js";
|
|
11
|
+
import { u as Ot } from "./useChartAccessibility-cp6XQtqi.js";
|
|
12
|
+
import { u as It } from "./usePrefersMotion-Co0nj1eS.js";
|
|
13
|
+
import { u as St } from "./useAutoSizeLabelsInsideViewbox-izlGDfwu.js";
|
|
14
14
|
import Ft from "./vue_ui_thermometer-BTmjRBH8.js";
|
|
15
|
-
import Tt from "./Title-
|
|
16
|
-
import Mt from "./img-
|
|
15
|
+
import Tt from "./Title-BbKoiBk2.js";
|
|
16
|
+
import Mt from "./img-CjTQXS0U.js";
|
|
17
17
|
import { _ as Ut } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
const zt = ["id"], Wt = {
|
|
19
19
|
key: 1,
|
|
@@ -42,15 +42,23 @@ const zt = ["id"], Wt = {
|
|
|
42
42
|
emits: ["copyAlt"],
|
|
43
43
|
setup($e, { expose: Ae, emit: Pe }) {
|
|
44
44
|
st((o) => ({
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
45
|
+
v5a0c02a0: He.value,
|
|
46
|
+
v78e75fde: Ee.value,
|
|
47
|
+
v69e7544b: Ye.value
|
|
48
48
|
}));
|
|
49
|
-
const Oe = Z(
|
|
49
|
+
const Oe = Z(
|
|
50
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
51
|
+
), Ie = Z(
|
|
52
|
+
() => import("./PenAndPaper-CJDoB5H9.js")
|
|
53
|
+
), Se = Z(
|
|
54
|
+
() => import("./UserOptions-DVduN6X7.js")
|
|
55
|
+
), { vue_ui_thermometer: Fe } = wt(), { isThemeValid: Te, warnInvalidTheme: Me } = At(), Ue = It(), g = $e, ze = Pe, b = d(ct()), x = d(null), oe = d(0), se = d(0), ae = d(null), le = d(null), _ = d(null), S = d(null), F = d(!1), T = d(!1), We = i(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
50
56
|
at(() => {
|
|
51
57
|
ue();
|
|
52
58
|
});
|
|
53
|
-
const e = d(G()), Le = d(e.value.style.chart.thermometer.width), H = d(e.value.style.chart.height), q = d(e.value.style.chart.width), re = i(
|
|
59
|
+
const e = d(G()), Le = d(e.value.style.chart.thermometer.width), H = d(e.value.style.chart.height), q = d(e.value.style.chart.width), re = i(
|
|
60
|
+
() => e.value.userOptions.useCursorPointer
|
|
61
|
+
), Re = i(() => Ce({
|
|
54
62
|
defaultConfig: {
|
|
55
63
|
userOptions: { show: !1 },
|
|
56
64
|
style: {
|
|
@@ -68,7 +76,13 @@ const zt = ["id"], Wt = {
|
|
|
68
76
|
...lt(g),
|
|
69
77
|
FINAL_CONFIG: e,
|
|
70
78
|
prepareConfig: G,
|
|
71
|
-
skeletonDataset: g.config?.skeletonDataset ?? {
|
|
79
|
+
skeletonDataset: g.config?.skeletonDataset ?? {
|
|
80
|
+
value: 0,
|
|
81
|
+
from: -100,
|
|
82
|
+
to: 100,
|
|
83
|
+
steps: 20,
|
|
84
|
+
colors: { from: "#A1A1A1", to: "#CACACA" }
|
|
85
|
+
},
|
|
72
86
|
skeletonConfig: Ce({
|
|
73
87
|
defaultConfig: e.value,
|
|
74
88
|
userConfig: Re.value
|
|
@@ -104,7 +118,9 @@ const zt = ["id"], Wt = {
|
|
|
104
118
|
}
|
|
105
119
|
ye();
|
|
106
120
|
}
|
|
107
|
-
const { userOptionsVisible: D, setUserOptionsVisibility: ie, keepUserOptionState: ce } = Pt({ config: e.value }), { svgRef: U } = Ot({
|
|
121
|
+
const { userOptionsVisible: D, setUserOptionsVisibility: ie, keepUserOptionState: ce } = Pt({ config: e.value }), { svgRef: U } = Ot({
|
|
122
|
+
config: e.value.style.title
|
|
123
|
+
});
|
|
108
124
|
function G() {
|
|
109
125
|
const o = te({
|
|
110
126
|
userConfig: g.config,
|
|
@@ -125,9 +141,13 @@ const zt = ["id"], Wt = {
|
|
|
125
141
|
customPalette: l.customPalette.length ? l.customPalette : dt[a] || I
|
|
126
142
|
};
|
|
127
143
|
}
|
|
128
|
-
rt(
|
|
129
|
-
|
|
130
|
-
|
|
144
|
+
rt(
|
|
145
|
+
() => g.config,
|
|
146
|
+
(o) => {
|
|
147
|
+
e.value = G(), D.value = !e.value.userOptions.showOnChartHover, Le.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, ue(), se.value += 1;
|
|
148
|
+
},
|
|
149
|
+
{ deep: !0 }
|
|
150
|
+
);
|
|
131
151
|
const { isPrinting: B, isImaging: j, generatePdf: ve, generateImage: he } = _t({
|
|
132
152
|
elementId: `thermometer__${b.value}`,
|
|
133
153
|
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
@@ -174,12 +194,28 @@ const zt = ["id"], Wt = {
|
|
|
174
194
|
}), Ye = i(() => `${L.value}px`), Ee = i(() => `${s.value.thermoHeight}px`), He = i(() => Ue.value ? "0ms" : `${e.value.style.chart.animation.speedMs}ms`), qe = i(() => {
|
|
175
195
|
if (n.value.colors) {
|
|
176
196
|
if (!n.value.colors.from)
|
|
177
|
-
return W(
|
|
197
|
+
return W(
|
|
198
|
+
z.value[0] || I[0],
|
|
199
|
+
E(n.value.colors.to),
|
|
200
|
+
w.value || 10
|
|
201
|
+
);
|
|
178
202
|
if (!n.value.colors.to)
|
|
179
|
-
return W(
|
|
203
|
+
return W(
|
|
204
|
+
E(n.value.colors.from),
|
|
205
|
+
z.value[1] || I[1],
|
|
206
|
+
w.value || 10
|
|
207
|
+
);
|
|
180
208
|
} else
|
|
181
|
-
return W(
|
|
182
|
-
|
|
209
|
+
return W(
|
|
210
|
+
z.value[1] || I[1],
|
|
211
|
+
z.value[0] || I[0],
|
|
212
|
+
w.value || 10
|
|
213
|
+
);
|
|
214
|
+
return W(
|
|
215
|
+
E(n.value.colors.from),
|
|
216
|
+
E(n.value.colors.to),
|
|
217
|
+
w.value || 10
|
|
218
|
+
);
|
|
183
219
|
}), fe = i(() => {
|
|
184
220
|
const o = [];
|
|
185
221
|
let a = 0;
|
|
@@ -205,7 +241,12 @@ const zt = ["id"], Wt = {
|
|
|
205
241
|
}
|
|
206
242
|
async function De({ scale: o = 2 } = {}) {
|
|
207
243
|
if (!x.value) return;
|
|
208
|
-
const { width: a, height: t } = x.value.getBoundingClientRect(), l = a / t, { imageUri: C, base64: P } = await Mt({
|
|
244
|
+
const { width: a, height: t } = x.value.getBoundingClientRect(), l = a / t, { imageUri: C, base64: P } = await Mt({
|
|
245
|
+
domElement: x.value,
|
|
246
|
+
base64: !0,
|
|
247
|
+
img: !0,
|
|
248
|
+
scale: o
|
|
249
|
+
});
|
|
209
250
|
return {
|
|
210
251
|
imageUri: C,
|
|
211
252
|
base64: P,
|
|
@@ -234,7 +275,14 @@ const zt = ["id"], Wt = {
|
|
|
234
275
|
try {
|
|
235
276
|
if (o) {
|
|
236
277
|
const { blob: a, url: t, text: l, dataUrl: C } = await Xe();
|
|
237
|
-
await Promise.resolve(
|
|
278
|
+
await Promise.resolve(
|
|
279
|
+
e.value.userOptions.callbacks.svg({
|
|
280
|
+
blob: a,
|
|
281
|
+
url: t,
|
|
282
|
+
text: l,
|
|
283
|
+
dataUrl: C
|
|
284
|
+
})
|
|
285
|
+
);
|
|
238
286
|
} else
|
|
239
287
|
await Promise.resolve(je());
|
|
240
288
|
} finally {
|
|
@@ -257,13 +305,17 @@ const zt = ["id"], Wt = {
|
|
|
257
305
|
config: e.value,
|
|
258
306
|
dataset: n.value
|
|
259
307
|
}), !e.value.userOptions.callbacks.altCopy) {
|
|
260
|
-
console.warn(
|
|
308
|
+
console.warn(
|
|
309
|
+
"Vue Data UI - A callback must be set for `altCopy` in userOptions."
|
|
310
|
+
);
|
|
261
311
|
return;
|
|
262
312
|
}
|
|
263
|
-
await Promise.resolve(
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
313
|
+
await Promise.resolve(
|
|
314
|
+
e.value.userOptions.callbacks.altCopy({
|
|
315
|
+
config: e.value,
|
|
316
|
+
dataset: n.value
|
|
317
|
+
})
|
|
318
|
+
);
|
|
267
319
|
}
|
|
268
320
|
const ke = i(() => `${b.value}-title`), be = i(() => `${b.value}-desc`), Q = i(() => mt(
|
|
269
321
|
e.value.style.chart.label.formatter,
|
|
@@ -434,7 +486,10 @@ const zt = ["id"], Wt = {
|
|
|
434
486
|
ref_key: "svgRef",
|
|
435
487
|
ref: U,
|
|
436
488
|
xmlns: c(gt),
|
|
437
|
-
class: V({
|
|
489
|
+
class: V({
|
|
490
|
+
"vue-data-ui-fullscreen--on": $.value,
|
|
491
|
+
"vue-data-ui-fulscreen--off": !$.value
|
|
492
|
+
}),
|
|
438
493
|
width: "100%",
|
|
439
494
|
viewBox: `0 0 ${s.value.width} ${s.value.height}`,
|
|
440
495
|
style: "background:transparent",
|
|
@@ -483,7 +538,10 @@ const zt = ["id"], Wt = {
|
|
|
483
538
|
}, null, 8, qt),
|
|
484
539
|
m("stop", {
|
|
485
540
|
offset: "50%",
|
|
486
|
-
"stop-color": c(pt)(
|
|
541
|
+
"stop-color": c(pt)(
|
|
542
|
+
t.color,
|
|
543
|
+
100 - e.value.style.chart.graduations.gradient.intensity
|
|
544
|
+
)
|
|
487
545
|
}, null, 8, Dt),
|
|
488
546
|
m("stop", {
|
|
489
547
|
offset: "100%",
|
|
@@ -512,7 +570,9 @@ const zt = ["id"], Wt = {
|
|
|
512
570
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${l}_${b.value})` : t.color,
|
|
513
571
|
"shape-rendering": "crispEdges"
|
|
514
572
|
}, null, 8, Xt),
|
|
515
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
573
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
574
|
+
e.value.style.chart.graduations.sides
|
|
575
|
+
) ? (r(), u("line", {
|
|
516
576
|
key: 0,
|
|
517
577
|
x1: t.x,
|
|
518
578
|
x2: t.x + 10,
|
|
@@ -523,7 +583,9 @@ const zt = ["id"], Wt = {
|
|
|
523
583
|
"stroke-linecap": "round"
|
|
524
584
|
}, null, 8, Kt)) : v("", !0),
|
|
525
585
|
e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 1 }, [
|
|
526
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
586
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
587
|
+
e.value.style.chart.graduations.sides
|
|
588
|
+
) ? (r(), u("line", {
|
|
527
589
|
key: 0,
|
|
528
590
|
x1: t.x,
|
|
529
591
|
x2: t.x + 5,
|
|
@@ -533,7 +595,9 @@ const zt = ["id"], Wt = {
|
|
|
533
595
|
stroke: e.value.style.chart.graduations.stroke,
|
|
534
596
|
"stroke-linecap": "round"
|
|
535
597
|
}, null, 8, Jt)) : v("", !0),
|
|
536
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
598
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
599
|
+
e.value.style.chart.graduations.sides
|
|
600
|
+
) ? (r(), u("line", {
|
|
537
601
|
key: 1,
|
|
538
602
|
x1: t.x,
|
|
539
603
|
x2: t.x + 2.5,
|
|
@@ -543,7 +607,9 @@ const zt = ["id"], Wt = {
|
|
|
543
607
|
stroke: e.value.style.chart.graduations.stroke,
|
|
544
608
|
"stroke-linecap": "round"
|
|
545
609
|
}, null, 8, Qt)) : v("", !0),
|
|
546
|
-
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
610
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(
|
|
611
|
+
e.value.style.chart.graduations.sides
|
|
612
|
+
) ? (r(), u("line", {
|
|
547
613
|
key: 2,
|
|
548
614
|
x1: t.x,
|
|
549
615
|
x2: t.x + 2.5,
|
|
@@ -554,7 +620,9 @@ const zt = ["id"], Wt = {
|
|
|
554
620
|
"stroke-linecap": "round"
|
|
555
621
|
}, null, 8, Zt)) : v("", !0)
|
|
556
622
|
], 64)) : v("", !0),
|
|
557
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
623
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
624
|
+
e.value.style.chart.graduations.sides
|
|
625
|
+
) ? (r(), u("line", {
|
|
558
626
|
key: 2,
|
|
559
627
|
x1: s.value.right,
|
|
560
628
|
x2: s.value.right - 10,
|
|
@@ -565,7 +633,9 @@ const zt = ["id"], Wt = {
|
|
|
565
633
|
"stroke-linecap": "round"
|
|
566
634
|
}, null, 8, eo)) : v("", !0),
|
|
567
635
|
e.value.style.chart.graduations.showIntermediate ? (r(), u(Y, { key: 3 }, [
|
|
568
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
636
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
637
|
+
e.value.style.chart.graduations.sides
|
|
638
|
+
) ? (r(), u("line", {
|
|
569
639
|
key: 0,
|
|
570
640
|
x1: s.value.right,
|
|
571
641
|
x2: s.value.right - 5,
|
|
@@ -575,7 +645,9 @@ const zt = ["id"], Wt = {
|
|
|
575
645
|
stroke: e.value.style.chart.graduations.stroke,
|
|
576
646
|
"stroke-linecap": "round"
|
|
577
647
|
}, null, 8, to)) : v("", !0),
|
|
578
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
648
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
649
|
+
e.value.style.chart.graduations.sides
|
|
650
|
+
) ? (r(), u("line", {
|
|
579
651
|
key: 1,
|
|
580
652
|
x1: s.value.right,
|
|
581
653
|
x2: s.value.right - 2.5,
|
|
@@ -585,7 +657,9 @@ const zt = ["id"], Wt = {
|
|
|
585
657
|
stroke: e.value.style.chart.graduations.stroke,
|
|
586
658
|
"stroke-linecap": "round"
|
|
587
659
|
}, null, 8, oo)) : v("", !0),
|
|
588
|
-
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
660
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(
|
|
661
|
+
e.value.style.chart.graduations.sides
|
|
662
|
+
) ? (r(), u("line", {
|
|
589
663
|
key: 2,
|
|
590
664
|
x1: s.value.right,
|
|
591
665
|
x2: s.value.right - 2.5,
|
|
@@ -598,7 +672,9 @@ const zt = ["id"], Wt = {
|
|
|
598
672
|
], 64)) : v("", !0)
|
|
599
673
|
]))), 128)),
|
|
600
674
|
m("rect", {
|
|
601
|
-
class: V({
|
|
675
|
+
class: V({
|
|
676
|
+
"vue-ui-thermometer-temperature": e.value.style.chart.animation.use
|
|
677
|
+
}),
|
|
602
678
|
x: s.value.left,
|
|
603
679
|
y: s.value.top,
|
|
604
680
|
height: L.value,
|
|
@@ -623,7 +699,10 @@ const zt = ["id"], Wt = {
|
|
|
623
699
|
}, null, 8, ro)) : (r(), u("text", {
|
|
624
700
|
key: 1,
|
|
625
701
|
"aria-hidden": "true",
|
|
626
|
-
class: V({
|
|
702
|
+
class: V({
|
|
703
|
+
"vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use,
|
|
704
|
+
"vue-ui-thermometer-label": !0
|
|
705
|
+
}),
|
|
627
706
|
y: L.value + s.value.top + A.value / 3,
|
|
628
707
|
x: s.value.left - 10,
|
|
629
708
|
"text-anchor": "end",
|
|
@@ -641,7 +720,9 @@ const zt = ["id"], Wt = {
|
|
|
641
720
|
}, void 0, !0)
|
|
642
721
|
], 10, Lt)),
|
|
643
722
|
o.$slots.watermark ? (r(), u("div", uo, [
|
|
644
|
-
h(o.$slots, "watermark", p(k({
|
|
723
|
+
h(o.$slots, "watermark", p(k({
|
|
724
|
+
isPrinting: c(B) || c(j) || F.value || T.value
|
|
725
|
+
})), void 0, !0)
|
|
645
726
|
])) : v("", !0),
|
|
646
727
|
o.$slots.source ? (r(), u("div", {
|
|
647
728
|
key: 5,
|
|
@@ -656,7 +737,7 @@ const zt = ["id"], Wt = {
|
|
|
656
737
|
], !0)
|
|
657
738
|
], 46, zt));
|
|
658
739
|
}
|
|
659
|
-
}, Oo = /* @__PURE__ */ Ut(io, [["__scopeId", "data-v-
|
|
740
|
+
}, Oo = /* @__PURE__ */ Ut(io, [["__scopeId", "data-v-f8485423"]]);
|
|
660
741
|
export {
|
|
661
742
|
Oo as default
|
|
662
743
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineAsyncComponent as le, ref as v, shallowRef as K, onMounted as oe, onBeforeUnmount as re, computed as R, watch as ue, openBlock as l, createElementBlock as r, normalizeStyle as k, createBlock as ie, createCommentVNode as d, unref as Q, createVNode as T, renderSlot as H, createElementVNode as P, mergeProps as Y, normalizeProps as G, guardReactiveProps as X, toDisplayString as ne } from "vue";
|
|
2
|
-
import { u as ce } from "./useNestedProp-
|
|
3
|
-
import { j as ve, X as de, a2 as q } from "./lib-
|
|
2
|
+
import { u as ce } from "./useNestedProp-DH0BEVVS.js";
|
|
3
|
+
import { j as ve, X as de, a2 as q } from "./lib-DMzrGQHK.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
|
-
import { u as fe } from "./useConfig-
|
|
6
|
-
import { u as we } from "./useChartAccessibility-
|
|
7
|
-
import ke from "./Title-
|
|
8
|
-
import S from "./BaseIcon-
|
|
5
|
+
import { u as fe } from "./useConfig-DTHxOX6V.js";
|
|
6
|
+
import { u as we } from "./useChartAccessibility-cp6XQtqi.js";
|
|
7
|
+
import ke from "./Title-BbKoiBk2.js";
|
|
8
|
+
import S from "./BaseIcon-DX0hTWa-.js";
|
|
9
9
|
import { _ as ge } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
class me {
|
|
11
11
|
constructor(L, j, A, N = !0, D = !0) {
|
|
@@ -79,7 +79,10 @@ class me {
|
|
|
79
79
|
return D && (f += String(y).padStart(2, "0") + ":"), f += String(e).padStart(2, "0") + ":", f += String(p).padStart(2, "0"), N && (f += "." + String(g).padStart(2, "0")), f;
|
|
80
80
|
}
|
|
81
81
|
this.start = () => {
|
|
82
|
-
this.isPaused = !1, i.postMessage({
|
|
82
|
+
this.isPaused = !1, i.postMessage({
|
|
83
|
+
action: "start",
|
|
84
|
+
data: { interval: this.interval }
|
|
85
|
+
});
|
|
83
86
|
}, this.pause = () => {
|
|
84
87
|
this.isPaused ? this.resume() : (this.isPaused = !0, i.postMessage({ action: "pause" }));
|
|
85
88
|
}, this.resume = () => {
|
|
@@ -131,7 +134,9 @@ const ye = ["xmlns", "viewBox"], be = ["width", "height"], _e = { key: 1 }, Ce =
|
|
|
131
134
|
},
|
|
132
135
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
133
136
|
setup(J, { expose: L, emit: j }) {
|
|
134
|
-
const A = le(
|
|
137
|
+
const A = le(
|
|
138
|
+
() => import("./PackageVersion-DVvvyQXB.js")
|
|
139
|
+
), { vue_ui_timer: N } = fe(), D = J, m = j, $ = v(null), z = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), g = v(0);
|
|
135
140
|
oe(() => {
|
|
136
141
|
y();
|
|
137
142
|
});
|
|
@@ -174,16 +179,22 @@ const ye = ["xmlns", "viewBox"], be = ["width", "height"], _e = { key: 1 }, Ce =
|
|
|
174
179
|
const e = R({
|
|
175
180
|
get: () => B(),
|
|
176
181
|
set: (a) => a
|
|
177
|
-
}), p = R(() => e.value.useCursorPointer), { svgRef: f } = we({
|
|
182
|
+
}), p = R(() => e.value.useCursorPointer), { svgRef: f } = we({
|
|
183
|
+
config: e.value.style.title
|
|
184
|
+
});
|
|
178
185
|
function B() {
|
|
179
186
|
return ce({
|
|
180
187
|
userConfig: D.config,
|
|
181
188
|
defaultConfig: N
|
|
182
189
|
});
|
|
183
190
|
}
|
|
184
|
-
ue(
|
|
185
|
-
|
|
186
|
-
|
|
191
|
+
ue(
|
|
192
|
+
() => D.config,
|
|
193
|
+
(a) => {
|
|
194
|
+
e.value = B(), y(), g.value += 1;
|
|
195
|
+
},
|
|
196
|
+
{ deep: !0 }
|
|
197
|
+
);
|
|
187
198
|
const Z = R(() => {
|
|
188
199
|
if (e.value.stopwatch.showHours && e.value.stopwatch.showHundredth)
|
|
189
200
|
return "00:00:00.00";
|
|
@@ -239,7 +250,10 @@ const ye = ["xmlns", "viewBox"], be = ["width", "height"], _e = { key: 1 }, Ce =
|
|
|
239
250
|
return { cx: c, cy: I };
|
|
240
251
|
}
|
|
241
252
|
const M = R(() => {
|
|
242
|
-
const a = te(
|
|
253
|
+
const a = te(
|
|
254
|
+
b.value.elapsed,
|
|
255
|
+
e.value.stopwatch.cycleSeconds
|
|
256
|
+
), { cx: u, cy: c } = ae(a - 90), I = a > 180 ? 1 : 0;
|
|
243
257
|
return {
|
|
244
258
|
cx: u || t.value.width / 2,
|
|
245
259
|
cy: c || t.value.height / 2 - _.value,
|
|
@@ -381,7 +395,10 @@ const ye = ["xmlns", "viewBox"], be = ["width", "height"], _e = { key: 1 }, Ce =
|
|
|
381
395
|
P("div", {
|
|
382
396
|
ref_key: "chartLegend",
|
|
383
397
|
ref: i,
|
|
384
|
-
style: k({
|
|
398
|
+
style: k({
|
|
399
|
+
width: "100%",
|
|
400
|
+
backgroundColor: e.value.stopwatch.legend.backgroundColor
|
|
401
|
+
})
|
|
385
402
|
}, [
|
|
386
403
|
a.$slots.controls ? d("", !0) : (l(), r("div", Ae, [
|
|
387
404
|
e.value.stopwatch.legend.buttons.start ? (l(), r("button", {
|
|
@@ -481,7 +498,7 @@ const ye = ["xmlns", "viewBox"], be = ["width", "height"], _e = { key: 1 }, Ce =
|
|
|
481
498
|
], 4)
|
|
482
499
|
], 4));
|
|
483
500
|
}
|
|
484
|
-
}, qe = /* @__PURE__ */ ge(je, [["__scopeId", "data-v-
|
|
501
|
+
}, qe = /* @__PURE__ */ ge(je, [["__scopeId", "data-v-595aa4b2"]]);
|
|
485
502
|
export {
|
|
486
503
|
qe as default
|
|
487
504
|
};
|