vue-data-ui 3.22.8 → 3.22.9
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/{BaseDraggableDialog-DcfGlH8A.js → BaseDraggableDialog-Av7Uxq5V.js} +1 -1
- package/dist/BaseIcon-UdRAvP2h.js +483 -0
- package/dist/{BaseLegendToggle-DtQ8vyfr.js → BaseLegendToggle-DWtet-Hh.js} +1 -1
- package/dist/{BaseZoomControls-C6zonwhr.js → BaseZoomControls-BY2KLqs6.js} +1 -1
- package/dist/{ColorPicker-CK2-h611.js → ColorPicker-DR_ummtM.js} +1 -1
- package/dist/{DataTable-D9NvewTT.js → DataTable-BxpTMgfK.js} +1 -1
- package/dist/DefGrad-DVBqDjhO.js +48 -0
- package/dist/{NonSvgPenAndPaper-BHHNsVVP.js → NonSvgPenAndPaper-B6EG_Sga.js} +2 -2
- package/dist/{PackageVersion-DW7zwRcm.js → PackageVersion-D__dRVRA.js} +1 -1
- package/dist/{PenAndPaper-pcgwlYr2.js → PenAndPaper-DsXi7GJ-.js} +2 -2
- package/dist/{Slicer-BZ5VnOOS.js → Slicer-CW_XPIKL.js} +359 -354
- package/dist/{SlicerPreview-BQFeCw0m.js → SlicerPreview-CTz41lOu.js} +471 -466
- package/dist/{UserOptions-16uF1ayB.js → UserOptions-trvJ26nz.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-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/{package-gp9pYCfN.js → package-ByOT60IK.js} +1 -1
- package/dist/{render-common-CLn1VXJ9.js → render-common-D18VrP0h.js} +1 -1
- 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/{vue-data-ui-AZZ9Cq-4.js → vue-data-ui-ub3fCh6P.js} +67 -67
- package/dist/vue-data-ui.js +67 -67
- package/dist/vue-ui-3d-bar-taPI41_I.js +1825 -0
- package/dist/{vue-ui-accordion-YyosvEPo.js → vue-ui-accordion-CjAGqEJg.js} +1 -1
- package/dist/{vue-ui-age-pyramid-DTAOc7fn.js → vue-ui-age-pyramid-jvQZbF8E.js} +306 -297
- package/dist/{vue-ui-annotator-CfJXeAOE.js → vue-ui-annotator-BIucnT0L.js} +3 -3
- package/dist/{vue-ui-bullet-CCLnrOLm.js → vue-ui-bullet-CIATzlsk.js} +1 -1
- package/dist/{vue-ui-bump-Rq7efdoe.js → vue-ui-bump-D8MxltQE.js} +2 -2
- package/dist/{vue-ui-candlestick-D-Z9pEaA.js → vue-ui-candlestick-DULUMU-Q.js} +513 -502
- package/dist/{vue-ui-carousel-table-Lx5Zk4dG.js → vue-ui-carousel-table-BSmdexG7.js} +1 -1
- package/dist/vue-ui-chestnut-BIh1nQ7q.js +2042 -0
- package/dist/{vue-ui-chord-Db1O_diJ.js → vue-ui-chord-DL1M7cgL.js} +1 -1
- package/dist/vue-ui-circle-pack-C1Pgq6si.js +1614 -0
- package/dist/{vue-ui-cursor-DLP7wxsw.js → vue-ui-cursor-d2uLAKTQ.js} +1 -1
- package/dist/{vue-ui-dag-DL3zq0F2.js → vue-ui-dag-CVh9FpZr.js} +2 -2
- package/dist/{vue-ui-dashboard-C2ozZ-LI.js → vue-ui-dashboard-BH0N3ebj.js} +65 -65
- package/dist/{vue-ui-digits-ThFVNO3l.js → vue-ui-digits-R6wi3J-Y.js} +1 -1
- package/dist/{vue-ui-donut-BuTd6dt4.js → vue-ui-donut-BWDeVzLc.js} +1 -1
- package/dist/{vue-ui-donut-C3Rt6j-I.js → vue-ui-donut-BoZdciGh.js} +632 -623
- package/dist/vue-ui-donut-evolution-CpC9EMro.js +1522 -0
- package/dist/{vue-ui-dumbbell-wK7vUB0x.js → vue-ui-dumbbell-DGA5Bfnl.js} +528 -494
- package/dist/{vue-ui-flow-BTUNfWb7.js → vue-ui-flow-CNczKwTh.js} +1 -1
- package/dist/vue-ui-funnel-CaD2tZCT.js +782 -0
- package/dist/{vue-ui-galaxy-DJ2uNYcN.js → vue-ui-galaxy-v3cTbUiM.js} +2 -2
- package/dist/vue-ui-gauge-DxvMjfoc.js +926 -0
- package/dist/{vue-ui-geo-ovHu_Sc9.js → vue-ui-geo-BgmLkZZ2.js} +2 -2
- package/dist/{vue-ui-gizmo-DDxEj-qe.js → vue-ui-gizmo-n1kmcGeE.js} +66 -61
- package/dist/{vue-ui-heatmap-Npqnvb1r.js → vue-ui-heatmap-dSTh8ah_.js} +2 -2
- package/dist/{vue-ui-history-plot-C3Kjy2tc.js → vue-ui-history-plot-N8BqMFVU.js} +395 -384
- package/dist/{vue-ui-horizontal-bar-D1rCsgqt.js → vue-ui-horizontal-bar-CwiQxYzv.js} +360 -354
- package/dist/{vue-ui-kpi-BrlfYO-j.js → vue-ui-kpi-BKrUk9o8.js} +1 -1
- package/dist/{vue-ui-molecule-CExCqZ08.js → vue-ui-molecule--kK1JfnP.js} +295 -289
- package/dist/{vue-ui-mood-radar-DlVh6hwx.js → vue-ui-mood-radar-CpBRHQo_.js} +209 -204
- package/dist/{vue-ui-nested-donuts-3TRV8pN-.js → vue-ui-nested-donuts-8Ehwcuns.js} +307 -301
- package/dist/{vue-ui-onion-DwKK9DXn.js → vue-ui-onion-Cf6JiYTH.js} +2 -2
- package/dist/{vue-ui-parallel-coordinate-plot-DSp_cwU-.js → vue-ui-parallel-coordinate-plot-Blnqp1DB.js} +2 -2
- package/dist/{vue-ui-quadrant-ByVg-NBs.js → vue-ui-quadrant-CxU0jiOm.js} +366 -360
- package/dist/{vue-ui-quick-chart-WMzSJxGZ.js → vue-ui-quick-chart-BO98uEPl.js} +3 -3
- package/dist/{vue-ui-radar-DE-me6OC.js → vue-ui-radar-eH2Qih4_.js} +272 -266
- package/dist/{vue-ui-rating-CzD3EQ3G.js → vue-ui-rating-CN-ZiAES.js} +135 -126
- package/dist/{vue-ui-relation-circle-L7-dTqet.js → vue-ui-relation-circle-BIcP-aAt.js} +1 -1
- package/dist/vue-ui-ridgeline-ChXHzEJw.js +1628 -0
- package/dist/{vue-ui-rings-WzWiEo9W.js → vue-ui-rings-J990vNbX.js} +262 -256
- package/dist/{vue-ui-scatter-DwrAydha.js → vue-ui-scatter-BeJB0EKg.js} +642 -633
- package/dist/{vue-ui-skeleton-CuFm4PtB.js → vue-ui-skeleton-DC2bZ0nk.js} +336 -333
- package/dist/{vue-ui-smiley-D4NnZ1mg.js → vue-ui-smiley-Dyyu1je3.js} +111 -98
- package/dist/{vue-ui-spark-trend-C38ysZ-c.js → vue-ui-spark-trend-CpDX85H3.js} +158 -153
- package/dist/vue-ui-sparkbar-DhIo1qsW.js +398 -0
- package/dist/{vue-ui-sparkgauge-DgPc4vPT.js → vue-ui-sparkgauge-D0Fo3Hts.js} +75 -70
- package/dist/vue-ui-sparkhistogram-CUjFiuAh.js +576 -0
- package/dist/vue-ui-sparkline-ApivEMBP.js +1560 -0
- package/dist/{vue-ui-sparkstackbar-DrmiWFlw.js → vue-ui-sparkstackbar-DsKQJx_n.js} +179 -167
- package/dist/{vue-ui-stackbar-BVdApDnY.js → vue-ui-stackbar-Ds4hXATH.js} +538 -531
- package/dist/vue-ui-stackline-DJbcVvmN.js +2425 -0
- package/dist/{vue-ui-strip-plot-C-TFNvgz.js → vue-ui-strip-plot-C3ZHf4bD.js} +368 -361
- package/dist/{vue-ui-table-heatmap-D0pZbBOH.js → vue-ui-table-heatmap-CNXNXXBU.js} +1 -1
- package/dist/{vue-ui-table-sparkline-Q6BHPKUn.js → vue-ui-table-sparkline-B9JJ4pFF.js} +1 -1
- package/dist/{vue-ui-table-Q3brrivC.js → vue-ui-table-uudidrYt.js} +4 -4
- package/dist/vue-ui-thermometer-Bvw3oQb3.js +770 -0
- package/dist/{vue-ui-timer-BdzKpoRj.js → vue-ui-timer-5NAWw5BN.js} +91 -86
- package/dist/{vue-ui-tiremarks-DWb69ofh.js → vue-ui-tiremarks-Caz_g1c5.js} +1 -1
- package/dist/{vue-ui-treemap-uUz07Prw.js → vue-ui-treemap-F9upPyOI.js} +458 -453
- package/dist/{vue-ui-waffle-Pi9e7Ae7.js → vue-ui-waffle-Bk9AsrPp.js} +296 -290
- package/dist/{vue-ui-wheel-DTfvWYA7.js → vue-ui-wheel-DD6Q39BA.js} +1 -1
- package/dist/{vue-ui-word-cloud-DqfljAqH.js → vue-ui-word-cloud-BZLT5svo.js} +2 -2
- package/dist/{vue-ui-world-BtBrH92Z.js → vue-ui-world-DbEJN5NA.js} +284 -273
- package/dist/{vue-ui-xy-Bvgy2do1.js → vue-ui-xy-BYMAITk_.js} +1294 -1268
- package/dist/{vue-ui-xy-D5KsuNR2.js → vue-ui-xy-Cn9Q8YPr.js} +1 -1
- package/dist/{vue-ui-xy-canvas-BfgeE3TW.js → vue-ui-xy-canvas-Dcm2ftwm.js} +5 -5
- package/package.json +1 -1
- package/dist/BaseIcon-C2qlyHc7.js +0 -502
- package/dist/vue-ui-3d-bar-B3HxJmDI.js +0 -1757
- package/dist/vue-ui-chestnut-RfWMGUD-.js +0 -2010
- package/dist/vue-ui-circle-pack-B4Ro7UuI.js +0 -1608
- package/dist/vue-ui-donut-evolution-DY46UPF_.js +0 -1510
- package/dist/vue-ui-funnel-BhoHzyHa.js +0 -777
- package/dist/vue-ui-gauge-Cf4NqvrO.js +0 -920
- package/dist/vue-ui-ridgeline-Cp3YP0xe.js +0 -1622
- package/dist/vue-ui-sparkbar-B03ndcUe.js +0 -393
- package/dist/vue-ui-sparkhistogram-D02ff7ZI.js +0 -560
- package/dist/vue-ui-sparkline-DlTfNQj8.js +0 -1547
- package/dist/vue-ui-stackline-QzQQ7lTy.js +0 -2419
- package/dist/vue-ui-thermometer-Bg0RR6m4.js +0 -763
|
@@ -6,9 +6,10 @@ import { n as o } from "./Title-CcNiYzEo.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-UdRAvP2h.js";
|
|
10
|
+
import { t as u } from "./DefGrad-DVBqDjhO.js";
|
|
10
11
|
import { t as te } from "./useChartAccessibility-DYqac8yF.js";
|
|
11
|
-
import { computed as
|
|
12
|
+
import { computed as d, createBlock as ne, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createVNode as h, defineAsyncComponent as re, guardReactiveProps as g, mergeProps as _, normalizeProps as v, normalizeStyle as y, onBeforeUnmount as ie, onMounted as ae, openBlock as b, ref as x, renderSlot as S, shallowRef as C, toDisplayString as oe, unref as w, watch as se } from "vue";
|
|
12
13
|
//#region src/timer.js
|
|
13
14
|
var ce = class {
|
|
14
15
|
constructor(e, t, n, r = !0, i = !0) {
|
|
@@ -56,37 +57,37 @@ var ce = class {
|
|
|
56
57
|
n && n(e);
|
|
57
58
|
};
|
|
58
59
|
}
|
|
59
|
-
},
|
|
60
|
+
}, T = /* @__PURE__ */ e({ default: () => E }), le = ["xmlns", "viewBox"], ue = ["width", "height"], de = { key: 1 }, fe = [
|
|
60
61
|
"cx",
|
|
61
62
|
"cy",
|
|
62
63
|
"r",
|
|
63
64
|
"fill",
|
|
64
65
|
"stroke",
|
|
65
66
|
"stroke-width"
|
|
66
|
-
],
|
|
67
|
+
], pe = [
|
|
67
68
|
"d",
|
|
68
69
|
"stroke",
|
|
69
70
|
"stroke-width"
|
|
70
|
-
],
|
|
71
|
+
], me = [
|
|
71
72
|
"r",
|
|
72
73
|
"fill",
|
|
73
74
|
"stroke",
|
|
74
75
|
"stroke-width"
|
|
75
|
-
],
|
|
76
|
+
], he = [
|
|
76
77
|
"r",
|
|
77
78
|
"fill",
|
|
78
79
|
"stroke",
|
|
79
80
|
"stroke-width"
|
|
80
|
-
],
|
|
81
|
+
], ge = ["x", "y"], _e = { key: 5 }, ve = [
|
|
81
82
|
"x",
|
|
82
83
|
"y",
|
|
83
84
|
"font-size",
|
|
84
85
|
"fill",
|
|
85
86
|
"font-weight"
|
|
86
|
-
],
|
|
87
|
+
], ye = {
|
|
87
88
|
key: 0,
|
|
88
89
|
class: "vue-ui-timer-controls"
|
|
89
|
-
},
|
|
90
|
+
}, be = ["title"], xe = ["title"], Se = ["title"], Ce = ["title"], we = ["title"], E = /*#__PURE__*/ s({
|
|
90
91
|
__name: "vue-ui-timer",
|
|
91
92
|
props: { config: {
|
|
92
93
|
type: Object,
|
|
@@ -101,8 +102,8 @@ var ce = class {
|
|
|
101
102
|
"restart",
|
|
102
103
|
"lap"
|
|
103
104
|
],
|
|
104
|
-
setup(e, { expose: s, emit:
|
|
105
|
-
let E = re(() => import("./PackageVersion-
|
|
105
|
+
setup(e, { expose: s, emit: T }) {
|
|
106
|
+
let E = re(() => import("./PackageVersion-D__dRVRA.js").then((e) => e.t)), { vue_ui_timer: Te } = i(), D = e, O = T, k = x(null), A = x(null), j = x(null), M = C(null), N = C(null), P = x(t()), F = x(0);
|
|
106
107
|
ae(() => {
|
|
107
108
|
I();
|
|
108
109
|
});
|
|
@@ -142,25 +143,25 @@ var ce = class {
|
|
|
142
143
|
ie(() => {
|
|
143
144
|
M.value && (N.value && M.value.unobserve(N.value), M.value.disconnect());
|
|
144
145
|
});
|
|
145
|
-
let L =
|
|
146
|
+
let L = d({
|
|
146
147
|
get: () => z(),
|
|
147
148
|
set: (e) => e
|
|
148
|
-
}), R =
|
|
149
|
+
}), R = d(() => L.value.useCursorPointer), { svgRef: Ee } = te({ config: L.value.style.title });
|
|
149
150
|
function z() {
|
|
150
151
|
return a({
|
|
151
152
|
userConfig: D.config,
|
|
152
|
-
defaultConfig:
|
|
153
|
+
defaultConfig: Te
|
|
153
154
|
});
|
|
154
155
|
}
|
|
155
156
|
se(() => D.config, (e) => {
|
|
156
157
|
L.value = z(), I(), F.value += 1;
|
|
157
158
|
}, { deep: !0 });
|
|
158
|
-
let
|
|
159
|
+
let De = d(() => {
|
|
159
160
|
if (L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00:00.00";
|
|
160
161
|
if (L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00:00";
|
|
161
162
|
if (!L.value.stopwatch.showHours && L.value.stopwatch.showHundredth) return "00:00.00";
|
|
162
163
|
if (!L.value.stopwatch.showHours && !L.value.stopwatch.showHundredth) return "00:00";
|
|
163
|
-
}), B =
|
|
164
|
+
}), B = x({
|
|
164
165
|
height: L.value.style.height,
|
|
165
166
|
width: L.value.style.width,
|
|
166
167
|
tracker: {
|
|
@@ -168,7 +169,7 @@ var ce = class {
|
|
|
168
169
|
aura: 12 * L.value.stopwatch.tracker.aura.radiusRatio
|
|
169
170
|
},
|
|
170
171
|
label: L.value.stopwatch.label.fontSize
|
|
171
|
-
}), V =
|
|
172
|
+
}), V = x(0), H = new ce((e) => Oe(e), 10, "", L.value.stopwatch.showHundredth, L.value.stopwatch.showHours), U = x(!0), W = x(!1), G = x(!1);
|
|
172
173
|
function K() {
|
|
173
174
|
O("start"), U.value && H.start(), U.value = !1, W.value = !0;
|
|
174
175
|
}
|
|
@@ -181,32 +182,32 @@ var ce = class {
|
|
|
181
182
|
function Y() {
|
|
182
183
|
W.value && (G.value = !1, O("restart"), X.value = [], H.restart());
|
|
183
184
|
}
|
|
184
|
-
let X =
|
|
185
|
+
let X = x([]);
|
|
185
186
|
async function Z() {
|
|
186
187
|
if (!W.value || G.value) return;
|
|
187
188
|
let e = await H.lap();
|
|
188
189
|
e && (X.value.push(e), O("lap", X.value));
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
+
function Oe({ timestamp: e, elapsed: t, formatted: n }) {
|
|
191
192
|
V.value = {
|
|
192
193
|
timestamp: e,
|
|
193
194
|
elapsed: t,
|
|
194
195
|
formatted: n
|
|
195
196
|
};
|
|
196
197
|
}
|
|
197
|
-
let Q =
|
|
198
|
-
function
|
|
198
|
+
let Q = d(() => Math.min(B.value.width, B.value.height) / 2.5 * L.value.stopwatch.track.radiusRatio);
|
|
199
|
+
function ke(e, t) {
|
|
199
200
|
return e * (360 / (t * 1e3)) % 360;
|
|
200
201
|
}
|
|
201
|
-
function
|
|
202
|
+
function Ae(e) {
|
|
202
203
|
let t = Math.PI / 180 * e;
|
|
203
204
|
return {
|
|
204
205
|
cx: B.value.width / 2 + Q.value * Math.cos(t),
|
|
205
206
|
cy: B.value.height / 2 + Q.value * Math.sin(t)
|
|
206
207
|
};
|
|
207
208
|
}
|
|
208
|
-
let $ =
|
|
209
|
-
let e =
|
|
209
|
+
let $ = d(() => {
|
|
210
|
+
let e = ke(V.value.elapsed, L.value.stopwatch.cycleSeconds), { cx: t, cy: n } = Ae(e - 90), r = +(e > 180);
|
|
210
211
|
return {
|
|
211
212
|
cx: t || B.value.width / 2,
|
|
212
213
|
cy: n || B.value.height / 2 - Q.value,
|
|
@@ -220,26 +221,26 @@ var ce = class {
|
|
|
220
221
|
reset: q,
|
|
221
222
|
restart: Y,
|
|
222
223
|
lap: Z
|
|
223
|
-
}), (e, t) => (
|
|
224
|
+
}), (e, t) => (b(), p("div", {
|
|
224
225
|
ref_key: "timerChart",
|
|
225
226
|
ref: k,
|
|
226
227
|
class: "vue-data-ui-component vue-ui-timer",
|
|
227
|
-
style:
|
|
228
|
+
style: y({
|
|
228
229
|
fontFamily: L.value.style.fontFamily,
|
|
229
230
|
width: "100%",
|
|
230
231
|
height: L.value.responsive ? "100%" : "auto",
|
|
231
232
|
textAlign: "center"
|
|
232
233
|
})
|
|
233
234
|
}, [
|
|
234
|
-
L.value.style.title.text ? (
|
|
235
|
+
L.value.style.title.text ? (b(), p("div", {
|
|
235
236
|
key: 0,
|
|
236
237
|
ref_key: "chartTitle",
|
|
237
238
|
ref: A,
|
|
238
|
-
style:
|
|
239
|
+
style: y({
|
|
239
240
|
width: "100%",
|
|
240
241
|
background: L.value.style.backgroundColor
|
|
241
242
|
})
|
|
242
|
-
}, [(
|
|
243
|
+
}, [(b(), ne(o, {
|
|
243
244
|
key: `title_${F.value}`,
|
|
244
245
|
config: {
|
|
245
246
|
title: {
|
|
@@ -251,83 +252,87 @@ var ce = class {
|
|
|
251
252
|
...L.value.style.title.subtitle
|
|
252
253
|
}
|
|
253
254
|
}
|
|
254
|
-
}, null, 8, ["config"]))], 4)) :
|
|
255
|
-
(
|
|
255
|
+
}, null, 8, ["config"]))], 4)) : f("", !0),
|
|
256
|
+
(b(), p("svg", {
|
|
256
257
|
ref_key: "svgRef",
|
|
257
|
-
ref:
|
|
258
|
-
xmlns:
|
|
258
|
+
ref: Ee,
|
|
259
|
+
xmlns: w(r),
|
|
259
260
|
viewBox: `0 0 ${B.value.width <= 0 ? 10 : B.value.width} ${B.value.height <= 0 ? 10 : B.value.height}`,
|
|
260
|
-
style:
|
|
261
|
+
style: y({
|
|
261
262
|
maxWidth: "100%",
|
|
262
263
|
overflow: "visible",
|
|
263
264
|
background: L.value.style.backgroundColor
|
|
264
265
|
})
|
|
265
266
|
}, [
|
|
266
|
-
|
|
267
|
-
e.$slots["chart-background"] ? (
|
|
267
|
+
h(w(E)),
|
|
268
|
+
e.$slots["chart-background"] ? (b(), p("foreignObject", {
|
|
268
269
|
key: 0,
|
|
269
270
|
x: 0,
|
|
270
271
|
y: 0,
|
|
271
272
|
width: B.value.width <= 0 ? 10 : B.value.width,
|
|
272
273
|
height: B.value.height <= 0 ? 10 : B.value.height,
|
|
273
274
|
style: { pointerEvents: "none" }
|
|
274
|
-
}, [
|
|
275
|
-
L.value.stopwatch.tracker.gradient.show ? (
|
|
275
|
+
}, [S(e.$slots, "chart-background", {}, void 0, !0)], 8, ue)) : f("", !0),
|
|
276
|
+
L.value.stopwatch.tracker.gradient.show ? (b(), p("defs", de, [h(u, {
|
|
277
|
+
t: "radial",
|
|
276
278
|
id: `tracker_gradient_${P.value}`,
|
|
277
279
|
cx: "50%",
|
|
278
280
|
cy: "50%",
|
|
279
281
|
r: "50%",
|
|
280
282
|
fx: "50%",
|
|
281
|
-
fy: "50%"
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
283
|
+
fy: "50%",
|
|
284
|
+
stops: [[
|
|
285
|
+
"0%",
|
|
286
|
+
L.value.stopwatch.tracker.gradient.color,
|
|
287
|
+
1
|
|
288
|
+
], [
|
|
289
|
+
"100%",
|
|
290
|
+
L.value.stopwatch.tracker.fill,
|
|
291
|
+
1
|
|
292
|
+
]]
|
|
293
|
+
}, null, 8, ["id", "stops"])])) : f("", !0),
|
|
294
|
+
m("circle", {
|
|
290
295
|
cx: B.value.width / 2,
|
|
291
296
|
cy: B.value.height / 2,
|
|
292
297
|
r: Q.value,
|
|
293
298
|
fill: L.value.stopwatch.track.fill,
|
|
294
299
|
stroke: L.value.stopwatch.track.stroke,
|
|
295
300
|
"stroke-width": L.value.stopwatch.track.strokeWidth
|
|
296
|
-
}, null, 8,
|
|
297
|
-
L.value.stopwatch.cycleTrack.show ? (
|
|
301
|
+
}, null, 8, fe),
|
|
302
|
+
L.value.stopwatch.cycleTrack.show ? (b(), p("path", {
|
|
298
303
|
key: 2,
|
|
299
304
|
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
305
|
stroke: L.value.stopwatch.cycleTrack.stroke,
|
|
301
306
|
"stroke-width": L.value.stopwatch.cycleTrack.strokeWidth,
|
|
302
307
|
"stroke-linecap": "round",
|
|
303
308
|
fill: "none"
|
|
304
|
-
}, null, 8,
|
|
305
|
-
|
|
309
|
+
}, null, 8, pe)) : f("", !0),
|
|
310
|
+
m("circle", _($.value, {
|
|
306
311
|
r: B.value.tracker.core,
|
|
307
312
|
fill: L.value.stopwatch.tracker.gradient.show ? `url(#tracker_gradient_${P.value})` : L.value.stopwatch.tracker.fill,
|
|
308
313
|
stroke: L.value.stopwatch.tracker.stroke,
|
|
309
314
|
"stroke-width": L.value.stopwatch.tracker.strokeWidth
|
|
310
|
-
}), null, 16,
|
|
311
|
-
L.value.stopwatch.tracker.aura.show ? (
|
|
315
|
+
}), null, 16, me),
|
|
316
|
+
L.value.stopwatch.tracker.aura.show ? (b(), p("circle", _({ key: 3 }, $.value, {
|
|
312
317
|
r: B.value.tracker.aura,
|
|
313
318
|
fill: `${L.value.stopwatch.tracker.aura.fill}20`,
|
|
314
319
|
stroke: L.value.stopwatch.tracker.aura.stroke,
|
|
315
320
|
"stroke-width": L.value.stopwatch.tracker.aura.strokeWidth
|
|
316
|
-
}), null, 16,
|
|
317
|
-
e.$slots.time ? (
|
|
321
|
+
}), null, 16, he)) : f("", !0),
|
|
322
|
+
e.$slots.time ? (b(), p("foreignObject", {
|
|
318
323
|
key: 4,
|
|
319
324
|
x: B.value.width / 2,
|
|
320
325
|
y: B.value.height / 2,
|
|
321
326
|
height: "0.1",
|
|
322
327
|
width: "0.1",
|
|
323
328
|
style: { overflow: "visible" }
|
|
324
|
-
}, [
|
|
329
|
+
}, [S(e.$slots, "time", v(g({
|
|
325
330
|
...V.value,
|
|
326
331
|
...B.value
|
|
327
|
-
})), void 0, !0)], 8,
|
|
332
|
+
})), void 0, !0)], 8, ge)) : e.$slots.timeSvg ? (b(), p("g", _e, [S(e.$slots, "timeSvg", v(g({
|
|
328
333
|
...V.value,
|
|
329
334
|
...B.value
|
|
330
|
-
})), void 0, !0)])) : (
|
|
335
|
+
})), void 0, !0)])) : (b(), p("text", {
|
|
331
336
|
key: 6,
|
|
332
337
|
x: B.value.width / 2,
|
|
333
338
|
y: B.value.height / 2 + B.value.label / 4,
|
|
@@ -336,84 +341,84 @@ var ce = class {
|
|
|
336
341
|
fill: L.value.stopwatch.label.color,
|
|
337
342
|
"font-weight": L.value.stopwatch.label.bold ? "bold" : "normal",
|
|
338
343
|
style: { "font-variant-numeric": "tabular-nums !important" }
|
|
339
|
-
}, oe(V.value.formatted ||
|
|
344
|
+
}, oe(V.value.formatted || De.value), 9, ve))
|
|
340
345
|
], 12, le)),
|
|
341
|
-
|
|
346
|
+
m("div", {
|
|
342
347
|
ref_key: "chartLegend",
|
|
343
348
|
ref: j,
|
|
344
|
-
style:
|
|
349
|
+
style: y({
|
|
345
350
|
width: "100%",
|
|
346
351
|
backgroundColor: L.value.stopwatch.legend.backgroundColor
|
|
347
352
|
})
|
|
348
353
|
}, [
|
|
349
|
-
e.$slots.controls ?
|
|
350
|
-
L.value.stopwatch.legend.buttons.start ? (
|
|
354
|
+
e.$slots.controls ? f("", !0) : (b(), p("div", ye, [
|
|
355
|
+
L.value.stopwatch.legend.buttons.start ? (b(), p("button", {
|
|
351
356
|
key: 0,
|
|
352
357
|
title: L.value.stopwatch.legend.buttonTitles.start,
|
|
353
358
|
onClick: K,
|
|
354
359
|
class: "vue-ui-timer-button",
|
|
355
|
-
style:
|
|
360
|
+
style: y({
|
|
356
361
|
opacity: W.value ? .2 : 1,
|
|
357
362
|
cursor: W.value ? "default" : R.value ? "pointer" : "default"
|
|
358
363
|
})
|
|
359
|
-
}, [
|
|
364
|
+
}, [h(l, {
|
|
360
365
|
name: "play",
|
|
361
366
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
362
|
-
}, null, 8, ["stroke"])], 12,
|
|
363
|
-
L.value.stopwatch.legend.buttons.pause ? (
|
|
367
|
+
}, null, 8, ["stroke"])], 12, be)) : f("", !0),
|
|
368
|
+
L.value.stopwatch.legend.buttons.pause ? (b(), p("button", {
|
|
364
369
|
key: 1,
|
|
365
370
|
title: G.value ? L.value.stopwatch.legend.buttonTitles.resume : L.value.stopwatch.legend.buttonTitles.pause,
|
|
366
371
|
onClick: J,
|
|
367
372
|
class: "vue-ui-timer-button",
|
|
368
|
-
style:
|
|
373
|
+
style: y({
|
|
369
374
|
opacity: W.value ? 1 : .2,
|
|
370
375
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
371
376
|
})
|
|
372
|
-
}, [
|
|
377
|
+
}, [h(l, {
|
|
373
378
|
name: "pause",
|
|
374
379
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
375
|
-
}, null, 8, ["stroke"])], 12,
|
|
376
|
-
L.value.stopwatch.legend.buttons.reset ? (
|
|
380
|
+
}, null, 8, ["stroke"])], 12, xe)) : f("", !0),
|
|
381
|
+
L.value.stopwatch.legend.buttons.reset ? (b(), p("button", {
|
|
377
382
|
key: 2,
|
|
378
383
|
title: L.value.stopwatch.legend.buttonTitles.reset,
|
|
379
384
|
onClick: q,
|
|
380
385
|
class: "vue-ui-timer-button",
|
|
381
|
-
style:
|
|
386
|
+
style: y({
|
|
382
387
|
opacity: W.value ? 1 : .2,
|
|
383
388
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
384
389
|
})
|
|
385
|
-
}, [
|
|
390
|
+
}, [h(l, {
|
|
386
391
|
name: "stop",
|
|
387
392
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
388
|
-
}, null, 8, ["stroke"])], 12,
|
|
389
|
-
L.value.stopwatch.legend.buttons.restart ? (
|
|
393
|
+
}, null, 8, ["stroke"])], 12, Se)) : f("", !0),
|
|
394
|
+
L.value.stopwatch.legend.buttons.restart ? (b(), p("button", {
|
|
390
395
|
key: 3,
|
|
391
396
|
title: L.value.stopwatch.legend.buttonTitles.restart,
|
|
392
397
|
onClick: Y,
|
|
393
398
|
class: "vue-ui-timer-button",
|
|
394
|
-
style:
|
|
399
|
+
style: y({
|
|
395
400
|
opacity: W.value ? 1 : .2,
|
|
396
401
|
cursor: W.value && R.value ? "pointer" : "default"
|
|
397
402
|
})
|
|
398
|
-
}, [
|
|
403
|
+
}, [h(l, {
|
|
399
404
|
name: "restart",
|
|
400
405
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
401
|
-
}, null, 8, ["stroke"])], 12,
|
|
402
|
-
L.value.stopwatch.legend.buttons.lap ? (
|
|
406
|
+
}, null, 8, ["stroke"])], 12, Ce)) : f("", !0),
|
|
407
|
+
L.value.stopwatch.legend.buttons.lap ? (b(), p("button", {
|
|
403
408
|
key: 4,
|
|
404
409
|
title: L.value.stopwatch.legend.buttonTitles.lap,
|
|
405
410
|
onClick: Z,
|
|
406
411
|
class: "vue-ui-timer-button",
|
|
407
|
-
style:
|
|
412
|
+
style: y({
|
|
408
413
|
opacity: W.value && !G.value ? 1 : .2,
|
|
409
414
|
cursor: W.value && !G.value && R.value ? "pointer" : "default"
|
|
410
415
|
})
|
|
411
|
-
}, [
|
|
416
|
+
}, [h(l, {
|
|
412
417
|
name: "lap",
|
|
413
418
|
stroke: L.value.stopwatch.legend.buttons.iconColor
|
|
414
|
-
}, null, 8, ["stroke"])], 12,
|
|
419
|
+
}, null, 8, ["stroke"])], 12, we)) : f("", !0)
|
|
415
420
|
])),
|
|
416
|
-
|
|
421
|
+
S(e.$slots, "controls", v(g({
|
|
417
422
|
start: K,
|
|
418
423
|
pause: J,
|
|
419
424
|
reset: q,
|
|
@@ -424,7 +429,7 @@ var ce = class {
|
|
|
424
429
|
isPaused: G.value,
|
|
425
430
|
...V.value
|
|
426
431
|
})), void 0, !0),
|
|
427
|
-
|
|
432
|
+
S(e.$slots, "laps", v(g({
|
|
428
433
|
laps: X.value,
|
|
429
434
|
lap: Z,
|
|
430
435
|
isRunning: W.value,
|
|
@@ -434,6 +439,6 @@ var ce = class {
|
|
|
434
439
|
], 4)
|
|
435
440
|
], 4));
|
|
436
441
|
}
|
|
437
|
-
}, [["__scopeId", "data-v-
|
|
442
|
+
}, [["__scopeId", "data-v-60031aa0"]]);
|
|
438
443
|
//#endregion
|
|
439
|
-
export {
|
|
444
|
+
export { T as n, E as t };
|
|
@@ -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-DsXi7GJ-.js").then((e) => e.t)), Re = h(() => import("./UserOptions-trvJ26nz.js").then((e) => e.n)), ze = h(() => import("./PackageVersion-D__dRVRA.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(n()), 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(() => i({
|
|
69
69
|
defaultConfig: {
|
|
70
70
|
userOptions: { show: !1 },
|
|
71
71
|
style: { chart: {
|