vue-data-ui 3.22.4 → 3.22.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{Arrow-CgzmXCW_.js → Arrow-Ds4xmpiQ.js} +1 -1
- package/dist/{BaseDraggableDialog-DjzNWkiE.js → BaseDraggableDialog-VbypEaAa.js} +2 -2
- package/dist/{BaseIcon-xBuW2jjI.js → BaseIcon-DcUvOfxf.js} +1 -1
- package/dist/{BaseLegendToggle-C4Usj0LI.js → BaseLegendToggle-DFwIY5bE.js} +1 -1
- package/dist/{BaseZoomControls-Cg9o2J-q.js → BaseZoomControls-DwolSINF.js} +2 -2
- package/dist/{ColorPicker-Usv7badH.js → ColorPicker-UVDPcrjE.js} +2 -2
- package/dist/{DataTable-PidUPOit.js → DataTable-CXfvIulC.js} +2 -2
- package/dist/{Legend-DXOzbXb-.js → Legend-D-635Kag.js} +2 -2
- package/dist/{NonSvgPenAndPaper-OIs8I25K.js → NonSvgPenAndPaper-pR_1qp3s.js} +29 -29
- package/dist/{PackageVersion-Cm-3hwIF.js → PackageVersion-Da7hl-34.js} +1 -1
- package/dist/{PenAndPaper-ISUbDKXq.js → PenAndPaper-Bk2-E7V4.js} +18 -18
- package/dist/{Shape-BnF9aMPX.js → Shape-BSetplwm.js} +1 -1
- package/dist/{Slicer-hEvKOLw3.js → Slicer-ClIGOuoX.js} +2 -2
- package/dist/{SlicerPreview-BDI-aCXE.js → SlicerPreview-D1n9AW39.js} +4 -4
- package/dist/{SparkTooltip-DaWSTzfA.js → SparkTooltip-CjDAyolg.js} +1 -1
- package/dist/{Title-DDEEO-Nr.js → Title-C-p0ilWB.js} +1 -1
- package/dist/{Tooltip-BhKov422.js → Tooltip-YabpoXo1.js} +1 -1
- package/dist/{UserOptions-BxT1XHzN.js → UserOptions-BO4VFL8O.js} +2 -2
- 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-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-ZOysoMwu.js → dom-to-png-CVJfsfwL.js} +1 -1
- package/dist/exposedLib-CjwriUaG.js +19 -0
- package/dist/{img-B29J8tV5.js → img-B_y5qDdm.js} +1 -1
- package/dist/{labelUtils-BFcL_t-A.js → labelUtils-CyVwqXSh.js} +1 -1
- package/dist/{lib-CuwHGt1j.js → lib-DRBJCmHW.js} +6 -9
- package/dist/{package-CRlwXCDr.js → package-DyQ_PQis.js} +1 -1
- package/dist/{pdf-ymYt9Lee.js → pdf-CG02qhAH.js} +1 -1
- package/dist/{render-common-D6ny-Fwu.js → render-common-CUAlQvAQ.js} +22 -22
- package/dist/ssr/vue-ui-donut.js +1 -1
- package/dist/ssr/vue-ui-xy.js +1 -1
- package/dist/ssr.js +2 -2
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.ts +14 -0
- package/dist/types/vue-ui-treemap.d.ts +3 -0
- package/dist/{useAutoSizeLabelsInsideViewbox-DzAZ-MeY.js → useAutoSizeLabelsInsideViewbox-DPMOys9n.js} +1 -1
- package/dist/{useConfig-pVLia3dt.js → useConfig-DYM3f6EI.js} +5 -3
- package/dist/{useNestedProp-BjkuFaz1.js → useNestedProp-BEo2N1Db.js} +1 -1
- package/dist/{useObjectBindings-C1XuDxFr.js → useObjectBindings-CD31syQb.js} +1 -1
- package/dist/{usePrinter-C0wAS8yc.js → usePrinter-CRp5IW3v.js} +2 -2
- package/dist/utils.js +10 -10
- package/dist/{vue-data-ui-DTWqd0R2.js → vue-data-ui-Bpu4kxlm.js} +68 -68
- package/dist/vue-data-ui.js +73 -73
- package/dist/vue-ui-3d-bar-BAH0jNtT.js +1757 -0
- package/dist/{vue-ui-accordion-B64IJyPU.js → vue-ui-accordion-CfMrbDoq.js} +4 -4
- package/dist/vue-ui-age-pyramid-BF5ZuuyI.js +1238 -0
- package/dist/{vue-ui-annotator-CU4CdKMm.js → vue-ui-annotator-CG6rhFpy.js} +68 -68
- package/dist/{vue-ui-bullet-tlj5_z_z.js → vue-ui-bullet-C_oBS1cr.js} +18 -18
- package/dist/{vue-ui-bump-BD0Uq3As.js → vue-ui-bump-BZB1Na8h.js} +243 -243
- package/dist/{vue-ui-candlestick-CZxsNGKS.js → vue-ui-candlestick-8d_1xO8X.js} +27 -27
- package/dist/{vue-ui-carousel-table-ycbcmBKt.js → vue-ui-carousel-table-BfZNcwmY.js} +43 -43
- package/dist/vue-ui-chestnut-Cx8T3NEl.js +2010 -0
- package/dist/vue-ui-chord-B-sauvLo.js +1391 -0
- package/dist/{vue-ui-circle-pack-BPC6zUis.js → vue-ui-circle-pack-BLh8HnGK.js} +32 -32
- package/dist/{vue-ui-cursor-DF_e5k1s.js → vue-ui-cursor-DVsEm_4l.js} +4 -4
- package/dist/{vue-ui-dag-BIo4-Oa8.js → vue-ui-dag-Cfi0b9qm.js} +24 -24
- package/dist/{vue-ui-dashboard-BEtF6UX2.js → vue-ui-dashboard-F_NZ1xoQ.js} +70 -70
- package/dist/{vue-ui-digits-07IxTlNO.js → vue-ui-digits-BfP1kbj3.js} +4 -4
- package/dist/vue-ui-donut-BwAyvV3-.js +2410 -0
- package/dist/{vue-ui-donut-C5oRCxAO.js → vue-ui-donut-DlVRnVr_.js} +120 -120
- package/dist/{vue-ui-donut-evolution-BSeyPC9k.js → vue-ui-donut-evolution-D1k4u6cA.js} +419 -419
- package/dist/vue-ui-dumbbell-DgmvPpK2.js +1530 -0
- package/dist/{vue-ui-flow-R_dLE1WS.js → vue-ui-flow-D_7Idmmw.js} +84 -84
- package/dist/vue-ui-funnel-BYCFV5TD.js +777 -0
- package/dist/vue-ui-galaxy-Bjxbg5_B.js +1077 -0
- package/dist/{vue-ui-gauge-AbzY-7Gg.js → vue-ui-gauge-Dt0H7DgC.js} +217 -217
- package/dist/{vue-ui-geo-DVT9XEC3.js → vue-ui-geo-89DEQb5l.js} +18 -18
- package/dist/{vue-ui-gizmo-DJTRXao8.js → vue-ui-gizmo-CQyLK18v.js} +62 -62
- package/dist/{vue-ui-heatmap-BCFId15K.js → vue-ui-heatmap-o6MvoxBK.js} +247 -247
- package/dist/vue-ui-history-plot-B7zuCfdg.js +1715 -0
- package/dist/{vue-ui-horizontal-bar-j3jszojt.js → vue-ui-horizontal-bar-CwB4sc6M.js} +275 -275
- package/dist/{vue-ui-kpi-DJjF6tcf.js → vue-ui-kpi-4C-j92D-.js} +4 -4
- package/dist/{vue-ui-mini-loader-nOsOsA2V.js → vue-ui-mini-loader-Bj4Wv-i8.js} +3 -3
- package/dist/vue-ui-molecule-BDrRmwmm.js +925 -0
- package/dist/{vue-ui-mood-radar-DP_4LHfZ.js → vue-ui-mood-radar-B5W35Fvp.js} +30 -30
- package/dist/{vue-ui-nested-donuts-DFsLZEqx.js → vue-ui-nested-donuts-wfesrzle.js} +105 -105
- package/dist/{vue-ui-onion-CzXx3Rme.js → vue-ui-onion-B8-psLbF.js} +40 -40
- package/dist/vue-ui-parallel-coordinate-plot-DBpHCFxa.js +1416 -0
- package/dist/vue-ui-quadrant-BzyGOJR2.js +1978 -0
- package/dist/{vue-ui-quick-chart-CnIFPFPv.js → vue-ui-quick-chart-so_8PzvS.js} +663 -663
- package/dist/{vue-ui-radar-CNwKFbHc.js → vue-ui-radar-5fQ5AAWD.js} +63 -63
- package/dist/{vue-ui-rating-CRziryE2.js → vue-ui-rating-CKWHDKOT.js} +34 -34
- package/dist/vue-ui-relation-circle-Bd_ONHCz.js +924 -0
- package/dist/{vue-ui-ridgeline-Kw50zROq.js → vue-ui-ridgeline-DVbYznRz.js} +102 -102
- package/dist/vue-ui-rings-c-yLWFHr.js +1246 -0
- package/dist/{vue-ui-scatter-DoL5Kh1Y.js → vue-ui-scatter-QhmE7n1H.js} +87 -87
- package/dist/{vue-ui-skeleton-BOHwJSdz.js → vue-ui-skeleton-BkxB6Dik.js} +4 -4
- package/dist/{vue-ui-smiley-BTvDy8Fm.js → vue-ui-smiley-C4g0iaF7.js} +10 -10
- package/dist/{vue-ui-spark-trend-OgSFIFh0.js → vue-ui-spark-trend-0FELlq4x.js} +98 -98
- package/dist/{vue-ui-sparkbar-D8FdqMB_.js → vue-ui-sparkbar-D-i_VLO6.js} +87 -87
- package/dist/{vue-ui-sparkgauge-CBpPbVkw.js → vue-ui-sparkgauge-CWw6w_ng.js} +48 -48
- package/dist/{vue-ui-sparkhistogram-BQjbLa2k.js → vue-ui-sparkhistogram-DuGpkfma.js} +105 -105
- package/dist/{vue-ui-sparkline-BJfh5Lje.js → vue-ui-sparkline-Bi06lHQd.js} +252 -252
- package/dist/vue-ui-sparkstackbar-DrKgBUmt.js +662 -0
- package/dist/{vue-ui-stackbar-Dqs7_g8D.js → vue-ui-stackbar-DDvuDGQ_.js} +85 -85
- package/dist/vue-ui-stackline-C0NHBUaE.js +2416 -0
- package/dist/{vue-ui-strip-plot-B7D6Hk8R.js → vue-ui-strip-plot-_6LL45i9.js} +369 -369
- package/dist/{vue-ui-table-Bqi9XNvY.js → vue-ui-table-DBlZswRi.js} +26 -26
- package/dist/{vue-ui-table-heatmap-D38YSxhJ.js → vue-ui-table-heatmap-3xYIDKcP.js} +6 -6
- package/dist/{vue-ui-table-sparkline-0Ffb2jdf.js → vue-ui-table-sparkline-BH5PzEnJ.js} +201 -201
- package/dist/{vue-ui-thermometer-Di5PXtEO.js → vue-ui-thermometer-BxMzAqoT.js} +119 -119
- package/dist/{vue-ui-timer-9CDcd-gP.js → vue-ui-timer-ONSitYDm.js} +30 -30
- package/dist/{vue-ui-tiremarks-BAQ-cCSq.js → vue-ui-tiremarks-DWXM-9nR.js} +15 -15
- package/dist/vue-ui-treemap-B03c4RIy.js +1713 -0
- package/dist/{vue-ui-waffle-DG2IfACo.js → vue-ui-waffle-afa8HSxz.js} +160 -160
- package/dist/{vue-ui-wheel-BfXJFCjv.js → vue-ui-wheel-DRP7X8S2.js} +37 -37
- package/dist/{vue-ui-word-cloud-3NJy1z6d.js → vue-ui-word-cloud-AKpMO97a.js} +38 -38
- package/dist/{vue-ui-world-vrGT5g1H.js → vue-ui-world-CqS-HhZl.js} +400 -400
- package/dist/{vue-ui-xy-Dg0wxSeC.js → vue-ui-xy-Bmd11BxR.js} +656 -656
- package/dist/{vue-ui-xy-Cb7u46JN.js → vue-ui-xy-DJ8YKPgs.js} +244 -244
- package/dist/{vue-ui-xy-canvas-CjbjJ70r.js → vue-ui-xy-canvas-DO_PDGKf.js} +47 -47
- package/package.json +1 -1
- package/dist/exposedLib-C2U48XK7.js +0 -19
- package/dist/vue-ui-3d-bar-DBpSRV-C.js +0 -1757
- package/dist/vue-ui-age-pyramid-e09oK-Fp.js +0 -1238
- package/dist/vue-ui-chestnut-CnEsjvh4.js +0 -2010
- package/dist/vue-ui-chord-BZhXsZXp.js +0 -1391
- package/dist/vue-ui-donut-C4FcvXm3.js +0 -2410
- package/dist/vue-ui-dumbbell-Cykw4WYn.js +0 -1530
- package/dist/vue-ui-funnel-Ct5xQdak.js +0 -777
- package/dist/vue-ui-galaxy-B5BkdIt5.js +0 -1077
- package/dist/vue-ui-history-plot-DCeroetw.js +0 -1700
- package/dist/vue-ui-molecule-2pfoR63d.js +0 -925
- package/dist/vue-ui-parallel-coordinate-plot-BY6dptUG.js +0 -1416
- package/dist/vue-ui-quadrant-Br_iZmcw.js +0 -1978
- package/dist/vue-ui-relation-circle-BVDIikGi.js +0 -924
- package/dist/vue-ui-rings-BDJyoWvT.js +0 -1246
- package/dist/vue-ui-sparkstackbar-1WUQrqd7.js +0 -662
- package/dist/vue-ui-stackline-IRjugedp.js +0 -2416
- package/dist/vue-ui-treemap-CLOlWiDE.js +0 -1587
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as i } from "./useConfig-
|
|
4
|
-
import { t as a } from "./useNestedProp-
|
|
5
|
-
import { n as o } from "./Title-
|
|
2
|
+
import { Ut as t, W as n, t as r } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as i } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as a } from "./useNestedProp-BEo2N1Db.js";
|
|
5
|
+
import { n as o } from "./Title-C-p0ilWB.js";
|
|
6
6
|
import { t as s } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
7
7
|
import { c } from "./canvas-lib-BOP_HS11.js";
|
|
8
8
|
import { t as ee } from "./useResponsive-BfnK0KxU.js";
|
|
9
|
-
import { t as l } from "./BaseIcon-
|
|
9
|
+
import { t as l } from "./BaseIcon-DcUvOfxf.js";
|
|
10
10
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
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 oe, unref as C, watch as se } from "vue";
|
|
12
12
|
//#region src/timer.js
|
|
@@ -56,37 +56,37 @@ var ce = class {
|
|
|
56
56
|
n && n(e);
|
|
57
57
|
};
|
|
58
58
|
}
|
|
59
|
-
}, w = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = ["id"], pe = ["stop-color"],
|
|
59
|
+
}, w = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = ["id"], pe = ["stop-color"], me = ["stop-color"], he = [
|
|
60
60
|
"cx",
|
|
61
61
|
"cy",
|
|
62
62
|
"r",
|
|
63
63
|
"fill",
|
|
64
64
|
"stroke",
|
|
65
65
|
"stroke-width"
|
|
66
|
-
],
|
|
66
|
+
], ge = [
|
|
67
67
|
"d",
|
|
68
68
|
"stroke",
|
|
69
69
|
"stroke-width"
|
|
70
|
-
],
|
|
70
|
+
], _e = [
|
|
71
71
|
"r",
|
|
72
72
|
"fill",
|
|
73
73
|
"stroke",
|
|
74
74
|
"stroke-width"
|
|
75
|
-
],
|
|
75
|
+
], ve = [
|
|
76
76
|
"r",
|
|
77
77
|
"fill",
|
|
78
78
|
"stroke",
|
|
79
79
|
"stroke-width"
|
|
80
|
-
],
|
|
80
|
+
], ye = ["x", "y"], be = { key: 5 }, xe = [
|
|
81
81
|
"x",
|
|
82
82
|
"y",
|
|
83
83
|
"font-size",
|
|
84
84
|
"fill",
|
|
85
85
|
"font-weight"
|
|
86
|
-
],
|
|
86
|
+
], Se = {
|
|
87
87
|
key: 0,
|
|
88
88
|
class: "vue-ui-timer-controls"
|
|
89
|
-
},
|
|
89
|
+
}, Ce = ["title"], T = ["title"], we = ["title"], Te = ["title"], Ee = ["title"], E = /*#__PURE__*/ s({
|
|
90
90
|
__name: "vue-ui-timer",
|
|
91
91
|
props: { config: {
|
|
92
92
|
type: Object,
|
|
@@ -102,33 +102,33 @@ var ce = class {
|
|
|
102
102
|
"lap"
|
|
103
103
|
],
|
|
104
104
|
setup(e, { expose: s, emit: w }) {
|
|
105
|
-
let E = re(() => import("./PackageVersion-
|
|
105
|
+
let E = re(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), { vue_ui_timer: De } = i(), D = e, O = w, k = b(null), A = b(null), j = b(null), M = S(null), N = S(null), P = b(n()), F = b(0);
|
|
106
106
|
ae(() => {
|
|
107
107
|
I();
|
|
108
108
|
});
|
|
109
109
|
function I() {
|
|
110
110
|
if (L.value.responsive) {
|
|
111
111
|
let e = c(() => {
|
|
112
|
-
let { width: e, height:
|
|
112
|
+
let { width: e, height: n } = ee({
|
|
113
113
|
chart: k.value,
|
|
114
114
|
title: L.value.style.title.text ? A.value : null,
|
|
115
115
|
legend: j.value
|
|
116
116
|
});
|
|
117
117
|
requestAnimationFrame(() => {
|
|
118
|
-
B.value.width = e, B.value.height =
|
|
119
|
-
relator: Math.min(e,
|
|
118
|
+
B.value.width = e, B.value.height = n, L.value.responsiveProportionalSizing ? (B.value.tracker.core = t({
|
|
119
|
+
relator: Math.min(e, n),
|
|
120
120
|
adjuster: L.value.style.width,
|
|
121
121
|
source: 6 * L.value.stopwatch.tracker.radiusRatio,
|
|
122
122
|
threshold: 1,
|
|
123
123
|
fallback: 1
|
|
124
|
-
}), B.value.tracker.aura =
|
|
125
|
-
relator: Math.min(e,
|
|
124
|
+
}), B.value.tracker.aura = t({
|
|
125
|
+
relator: Math.min(e, n),
|
|
126
126
|
adjuster: L.value.style.width,
|
|
127
127
|
source: 12 * L.value.stopwatch.tracker.aura.radiusRatio,
|
|
128
128
|
threshold: 1,
|
|
129
129
|
fallback: 1
|
|
130
|
-
}), B.value.label =
|
|
131
|
-
relator: Math.min(e,
|
|
130
|
+
}), B.value.label = t({
|
|
131
|
+
relator: Math.min(e, n),
|
|
132
132
|
adjuster: L.value.style.width,
|
|
133
133
|
source: L.value.stopwatch.label.fontSize,
|
|
134
134
|
threshold: 10,
|
|
@@ -285,7 +285,7 @@ var ce = class {
|
|
|
285
285
|
}, null, 8, pe), p("stop", {
|
|
286
286
|
offset: "100%",
|
|
287
287
|
"stop-color": L.value.stopwatch.tracker.fill
|
|
288
|
-
}, null, 8,
|
|
288
|
+
}, null, 8, me)], 8, fe)])) : d("", !0),
|
|
289
289
|
p("circle", {
|
|
290
290
|
cx: B.value.width / 2,
|
|
291
291
|
cy: B.value.height / 2,
|
|
@@ -293,7 +293,7 @@ var ce = class {
|
|
|
293
293
|
fill: L.value.stopwatch.track.fill,
|
|
294
294
|
stroke: L.value.stopwatch.track.stroke,
|
|
295
295
|
"stroke-width": L.value.stopwatch.track.strokeWidth
|
|
296
|
-
}, null, 8,
|
|
296
|
+
}, null, 8, he),
|
|
297
297
|
L.value.stopwatch.cycleTrack.show ? (y(), f("path", {
|
|
298
298
|
key: 2,
|
|
299
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}`,
|
|
@@ -301,19 +301,19 @@ var ce = class {
|
|
|
301
301
|
"stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
|
|
302
302
|
"stroke-linecap": "round",
|
|
303
303
|
fill: "none"
|
|
304
|
-
}, null, 8,
|
|
304
|
+
}, null, 8, ge)) : d("", !0),
|
|
305
305
|
p("circle", g($.value, {
|
|
306
306
|
r: B.value.tracker.core,
|
|
307
307
|
fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
|
|
308
308
|
stroke: L.value.stopwatch.tracker.stroke,
|
|
309
309
|
"stroke-width": L.value.stopwatch.tracker.strokeWidth
|
|
310
|
-
}), null, 16,
|
|
310
|
+
}), null, 16, _e),
|
|
311
311
|
L.value.stopwatch.tracker.aura.show ? (y(), f("circle", g({ key: 3 }, $.value, {
|
|
312
312
|
r: B.value.tracker.aura,
|
|
313
313
|
fill: `${L.value.stopwatch.tracker.aura.fill}20`,
|
|
314
314
|
stroke: L.value.stopwatch.tracker.aura.stroke,
|
|
315
315
|
"stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
|
|
316
|
-
}), null, 16,
|
|
316
|
+
}), null, 16, ve)) : d("", !0),
|
|
317
317
|
e.$slots.time ? (y(), f("foreignObject", {
|
|
318
318
|
key: 4,
|
|
319
319
|
x: B.value.width / 2,
|
|
@@ -324,7 +324,7 @@ var ce = class {
|
|
|
324
324
|
}, [x(e.$slots, "time", _(h({
|
|
325
325
|
...V.value,
|
|
326
326
|
...B.value
|
|
327
|
-
})), void 0, !0)], 8,
|
|
327
|
+
})), void 0, !0)], 8, ye)) : e.$slots.timeSvg ? (y(), f("g", be, [x(e.$slots, "timeSvg", _(h({
|
|
328
328
|
...V.value,
|
|
329
329
|
...B.value
|
|
330
330
|
})), void 0, !0)])) : (y(), f("text", {
|
|
@@ -336,7 +336,7 @@ var ce = class {
|
|
|
336
336
|
fill: L.value.stopwatch.label.color,
|
|
337
337
|
"font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
|
|
338
338
|
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
339
|
-
}, oe(V.value.formatted || ke.value), 9,
|
|
339
|
+
}, oe(V.value.formatted || ke.value), 9, xe))
|
|
340
340
|
], 12, le)),
|
|
341
341
|
p("div", {
|
|
342
342
|
ref_key: "chartLegend",
|
|
@@ -346,7 +346,7 @@ var ce = class {
|
|
|
346
346
|
backgroundColor: L.value.stopwatch.legend.backgroundColor
|
|
347
347
|
})
|
|
348
348
|
}, [
|
|
349
|
-
e.$slots.controls ? d("", !0) : (y(), f("div",
|
|
349
|
+
e.$slots.controls ? d("", !0) : (y(), f("div", Se, [
|
|
350
350
|
L.value.stopwatch.legend.buttons.start ? (y(), f("button", {
|
|
351
351
|
key: 0,
|
|
352
352
|
title: L.value.stopwatch.legend.buttonTitles.start,
|
|
@@ -359,7 +359,7 @@ var ce = class {
|
|
|
359
359
|
}, [m(l, {
|
|
360
360
|
name: "play",
|
|
361
361
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
362
|
-
}, null, 8, ["stroke"])], 12,
|
|
362
|
+
}, null, 8, ["stroke"])], 12, Ce)) : d("", !0),
|
|
363
363
|
L.value.stopwatch.legend.buttons.pause ? (y(), f("button", {
|
|
364
364
|
key: 1,
|
|
365
365
|
title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
|
|
@@ -372,7 +372,7 @@ var ce = class {
|
|
|
372
372
|
}, [m(l, {
|
|
373
373
|
name: "pause",
|
|
374
374
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
375
|
-
}, null, 8, ["stroke"])], 12,
|
|
375
|
+
}, null, 8, ["stroke"])], 12, T)) : d("", !0),
|
|
376
376
|
L.value.stopwatch.legend.buttons.reset ? (y(), f("button", {
|
|
377
377
|
key: 2,
|
|
378
378
|
title: L.value.stopwatch.legend.buttonTitles.reset,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { t as e } from "./rolldown-runtime-Dy4uBu1J.js";
|
|
2
|
-
import {
|
|
3
|
-
import { t as ee } from "./useConfig-
|
|
4
|
-
import { t as te } from "./usePrinter-
|
|
2
|
+
import { Dt as t, Lt as n, Q as r, W as i, Wt as a, i as o, q as s, t as c, v as l } from "./lib-DRBJCmHW.js";
|
|
3
|
+
import { t as ee } from "./useConfig-DYM3f6EI.js";
|
|
4
|
+
import { t as te } from "./usePrinter-CRp5IW3v.js";
|
|
5
5
|
import { n as ne, t as re } from "./BaseScanner-DZvpgOjM.js";
|
|
6
6
|
import { t as ie } from "./useSvgExport-SVIsDot8.js";
|
|
7
|
-
import { t as u } from "./useNestedProp-
|
|
7
|
+
import { t as u } from "./useNestedProp-BEo2N1Db.js";
|
|
8
8
|
import { t as ae } from "./useThemeCheck-C43Tcqmk.js";
|
|
9
|
-
import { t as oe } from "./img-
|
|
10
|
-
import { n as se } from "./Title-
|
|
9
|
+
import { t as oe } from "./img-B_y5qDdm.js";
|
|
10
|
+
import { n as se } from "./Title-C-p0ilWB.js";
|
|
11
11
|
import { t as ce } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
12
12
|
import { c as le } from "./canvas-lib-BOP_HS11.js";
|
|
13
13
|
import { t as ue } from "./useResponsive-BfnK0KxU.js";
|
|
@@ -65,7 +65,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
65
65
|
},
|
|
66
66
|
emits: ["copyAlt"],
|
|
67
67
|
setup(e, { expose: ce, emit: we }) {
|
|
68
|
-
let E = h(() => import("./PenAndPaper-
|
|
68
|
+
let E = h(() => import("./PenAndPaper-Bk2-E7V4.js").then((e) => e.t)), Re = h(() => import("./UserOptions-BO4VFL8O.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-Da7hl-34.js").then((e) => e.t)), { vue_ui_tiremarks: Be } = ee(), { isThemeValid: Ve, warnInvalidTheme: He } = ae(), D = pe(), O = e, Ue = we, We = d(() => !!O.dataset && Object.keys(O.dataset).length), k = x(i()), A = x(null), Ge = x(null), Ke = x(null), qe = x(null), Je = x(0), Ye = x(0), j = x(null), M = x(null), N = x(!1), P = x(!1), F = x(B()), Xe = d(() => F.value.userOptions.useCursorPointer), Ze = d(() => a({
|
|
69
69
|
defaultConfig: {
|
|
70
70
|
userOptions: { show: !1 },
|
|
71
71
|
style: { chart: {
|
|
@@ -84,7 +84,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
84
84
|
FINAL_CONFIG: F,
|
|
85
85
|
prepareConfig: B,
|
|
86
86
|
skeletonDataset: O.config?.skeletonDataset ?? { percentage: 50 },
|
|
87
|
-
skeletonConfig:
|
|
87
|
+
skeletonConfig: a({
|
|
88
88
|
defaultConfig: F.value,
|
|
89
89
|
userConfig: Ze.value
|
|
90
90
|
})
|
|
@@ -127,7 +127,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
127
127
|
}
|
|
128
128
|
let it = d(() => !!F.value.debug);
|
|
129
129
|
function at() {
|
|
130
|
-
if (
|
|
130
|
+
if (t(O.dataset) && r({
|
|
131
131
|
componentName: "VueUiTiremarks",
|
|
132
132
|
type: "dataset",
|
|
133
133
|
debug: it.value
|
|
@@ -185,26 +185,26 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
185
185
|
}), st = d(() => {
|
|
186
186
|
let e = [];
|
|
187
187
|
for (let t = 0; t < 100; t += 1) {
|
|
188
|
-
let
|
|
188
|
+
let r = F.value.style.chart.layout.ticks.gradient.show ? n(F.value.style.chart.layout.activeColor, t / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.layout.activeColor;
|
|
189
189
|
if (W.value) {
|
|
190
|
-
let
|
|
190
|
+
let n = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.width - G.value.left - G.value.right) / 100 / 3 : 0, i = G.value.left + 4 + n, a = Y.value.width - G.value.right - 4 - n, o = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, s = Y.value.height - G.value.bottom - t * X.value.mark - t * X.value.space - X.value.mark, c = (a - i) / F.value.style.chart.layout.curveAngleX, l = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100);
|
|
191
191
|
e.push({
|
|
192
192
|
x1: i,
|
|
193
193
|
x2: a,
|
|
194
194
|
y1: o,
|
|
195
195
|
y2: s,
|
|
196
196
|
curve: `M ${i} ${o} C ${i + c} ${o - l}, ${a - c} ${s - l}, ${a} ${s}`,
|
|
197
|
-
color:
|
|
197
|
+
color: r
|
|
198
198
|
});
|
|
199
199
|
} else {
|
|
200
|
-
let
|
|
200
|
+
let n = F.value.style.chart.layout.crescendo ? (100 - t) * (Y.value.height - G.value.top - G.value.bottom) / 100 / 3 : 0, i = G.value.left + t * X.value.mark + t * X.value.space - X.value.mark, a = i, o = G.value.top + 4 + n, s = Y.value.height - G.value.bottom - 4 - n, c = F.value.style.chart.layout.curveAngleY * ((1 + t) / 100), l = (s - o) / F.value.style.chart.layout.curveAngleX;
|
|
201
201
|
e.push({
|
|
202
202
|
x1: i,
|
|
203
203
|
x2: a,
|
|
204
204
|
y1: o,
|
|
205
205
|
y2: s,
|
|
206
206
|
curve: `M ${i} ${o} C ${i + c} ${o + l}, ${a + c} ${s - l}, ${a} ${s}`,
|
|
207
|
-
color:
|
|
207
|
+
color: r
|
|
208
208
|
});
|
|
209
209
|
}
|
|
210
210
|
}
|
|
@@ -527,7 +527,7 @@ var we = /* @__PURE__ */ e({ default: () => E }), Te = ["id"], Ee = [
|
|
|
527
527
|
x: Z.value.x,
|
|
528
528
|
y: Z.value.y,
|
|
529
529
|
"font-size": Z.value.fontSize,
|
|
530
|
-
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(
|
|
530
|
+
fill: F.value.style.chart.layout.ticks.gradient.show && F.value.style.chart.percentage.useGradientColor ? w(n)(F.value.style.chart.layout.activeColor, U.value / 100 * (F.value.style.chart.layout.ticks.gradient.shiftHueIntensity / 100)) : F.value.style.chart.percentage.color,
|
|
531
531
|
"font-weight": Z.value.bold ? "bold" : "normal",
|
|
532
532
|
"text-anchor": Z.value.textAnchor
|
|
533
533
|
}, C(yt.value), 9, Ie))], 8, Pe)) : p("", !0),
|