vue-data-ui 3.0.0-next.6 → 3.0.0-next.60
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-Ul64M9UV.js → Arrow-Dt0ZxTK2.js} +1 -1
- package/dist/{BaseDraggableDialog-Q2ajCztp.js → BaseDraggableDialog-Bl-2tw3H.js} +2 -2
- package/dist/{BaseIcon-BKR7AGeP.js → BaseIcon-C3ljqn8J.js} +1 -1
- package/dist/{ColorPicker-BagIs8-K.js → ColorPicker-0d0whOB3.js} +2 -2
- package/dist/{DataTable-CDwApkI_.js → DataTable-C_tJHvMd.js} +2 -2
- package/dist/{Legend-BSLj7tYc.js → Legend-VD0VB7l7.js} +2 -2
- package/dist/{NonSvgPenAndPaper-DjJe5fXu.js → NonSvgPenAndPaper-DQsHc_AG.js} +3 -3
- package/dist/{PackageVersion-BsKpz6KS.js → PackageVersion-5S8ajCUS.js} +1 -1
- package/dist/{PenAndPaper-BYRk8xrS.js → PenAndPaper-D6wazxlT.js} +3 -3
- package/dist/{Shape-DK7zYTKa.js → Shape-DDSX29LV.js} +43 -37
- package/dist/Slicer-D3SbIarX.js +602 -0
- package/dist/{SparkTooltip-Dy2sVTb_.js → SparkTooltip-BCdP3VDl.js} +1 -1
- package/dist/{Title-Cednydse.js → Title-DEKAfzRX.js} +1 -1
- package/dist/{Tooltip-DJlwW-XP.js → Tooltip-DJlC-n25.js} +23 -19
- package/dist/{UserOptions-DxIzWere.js → UserOptions-D2G7II3G.js} +2 -2
- package/dist/{dom-to-png-lZcM-YfK.js → dom-to-png-Y0tASTWQ.js} +1 -1
- package/dist/{img-DqlIAUF6.js → img-ChLGv8nO.js} +1 -1
- package/dist/{index-BQcLOx39.js → index-BLtc1AIS.js} +1707 -1131
- package/dist/{pdf-CjIXhsyg.js → pdf-DNiq-xsc.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +481 -21
- package/dist/types/vue-data-ui.d.ts +481 -21
- package/dist/useAutoSizeLabelsInsideViewbox-BJDcwsoB.js +41 -0
- package/dist/useNestedProp-DExlTpuj.js +13 -0
- package/dist/usePanZoom-BVca3eMk.js +122 -0
- package/dist/{usePrinter-BRY5saEA.js → usePrinter-fqbzwh0l.js} +2 -2
- package/dist/useTimeLabelCollider-CIsgDrl9.js +78 -0
- package/dist/{useTimeLabels-Mrr0jrpL.js → useTimeLabels-DkzmKfZn.js} +211 -152
- package/dist/{vue-data-ui-CWRlSsiN.js → vue-data-ui-B8bRwUEL.js} +105 -100
- package/dist/vue-data-ui.js +23 -22
- package/dist/vue-ui-3d-bar-Dddx5kJW.js +1323 -0
- package/dist/{vue-ui-accordion-Df-5BRRg.js → vue-ui-accordion-EMAj3Ykx.js} +3 -3
- package/dist/vue-ui-age-pyramid-CMzKOGfv.js +834 -0
- package/dist/{vue-ui-annotator-BxC5dcIv.js → vue-ui-annotator-BQxXVdZW.js} +2 -2
- package/dist/vue-ui-bullet-DIie_6-T.js +571 -0
- package/dist/vue-ui-candlestick-DU796IGE.js +999 -0
- package/dist/{vue-ui-carousel-table-NTDzafWQ.js → vue-ui-carousel-table-xDItqzuw.js} +29 -29
- package/dist/{vue-ui-chestnut-k21Qqjjq.js → vue-ui-chestnut-DnQ494SU.js} +5 -5
- package/dist/{vue-ui-chord-BVoA6nfI.js → vue-ui-chord-DTs9gQ-R.js} +8 -8
- package/dist/{vue-ui-circle-pack-CEBgImRX.js → vue-ui-circle-pack-D73gxFJW.js} +24 -24
- package/dist/{vue-ui-cursor-BQcz8xw2.js → vue-ui-cursor-CNXTFeSs.js} +2 -2
- package/dist/{vue-ui-dashboard-CyzEpJoI.js → vue-ui-dashboard-Duph5Yta.js} +62 -62
- package/dist/{vue-ui-digits-Dafw1UsT.js → vue-ui-digits-D7qOSGZ-.js} +2 -2
- package/dist/{vue-ui-donut-DKfux8XT.js → vue-ui-donut-EfxITdHJ.js} +320 -308
- package/dist/vue-ui-donut-evolution-H6nfW_kx.js +1075 -0
- package/dist/vue-ui-dumbbell-DCUR8kl_.js +1119 -0
- package/dist/vue-ui-flow-DUENWmgc.js +841 -0
- package/dist/{vue-ui-funnel-CuN8HWwP.js → vue-ui-funnel-BSGUxWhW.js} +16 -16
- package/dist/{vue-ui-galaxy-BHCLFlmy.js → vue-ui-galaxy-D8PBQfbb.js} +60 -58
- package/dist/vue-ui-gauge-C8v8wKJO.js +791 -0
- package/dist/{vue-ui-gizmo-DHEEfdp9.js → vue-ui-gizmo-DmguslRh.js} +3 -3
- package/dist/vue-ui-heatmap-BM5Gfdzz.js +1078 -0
- package/dist/vue-ui-history-plot-CF6SlpwK.js +1073 -0
- package/dist/{vue-ui-kpi-C4i2w_Yd.js → vue-ui-kpi-BCyX-Zu-.js} +7 -7
- package/dist/{vue-ui-mini-loader-BeetGv_m.js → vue-ui-mini-loader-ByMff4PK.js} +2 -2
- package/dist/{vue-ui-molecule-F_gDXjJr.js → vue-ui-molecule-Cxnf2xDy.js} +53 -51
- package/dist/{vue-ui-mood-radar-BJMOEqlu.js → vue-ui-mood-radar-DEfJWXE7.js} +15 -15
- package/dist/vue-ui-nested-donuts-Bt7Pw9l0.js +1286 -0
- package/dist/vue-ui-onion-Bk3KL1Nk.js +776 -0
- package/dist/vue-ui-parallel-coordinate-plot-BpKRlOYy.js +915 -0
- package/dist/{vue-ui-quadrant-DTyRC1_v.js → vue-ui-quadrant-D1dgOAp2.js} +59 -57
- package/dist/vue-ui-quick-chart-_I6OrH-J.js +1761 -0
- package/dist/{vue-ui-radar-De2iznwo.js → vue-ui-radar-BWnhxayf.js} +30 -28
- package/dist/{vue-ui-rating-CarXXyD-.js → vue-ui-rating-I08lL1Nb.js} +2 -2
- package/dist/{vue-ui-relation-circle-CKkK9D4E.js → vue-ui-relation-circle-CMF5FSha.js} +6 -6
- package/dist/vue-ui-ridgeline-prYrXNYF.js +1153 -0
- package/dist/vue-ui-rings-DmbUIw9S.js +728 -0
- package/dist/vue-ui-scatter-srTVLcUK.js +1178 -0
- package/dist/{vue-ui-skeleton-C7maR60-.js → vue-ui-skeleton-FanSnKr8.js} +3 -3
- package/dist/{vue-ui-smiley-DzCCn5Oc.js → vue-ui-smiley-CWA0Y6wM.js} +26 -26
- package/dist/{vue-ui-spark-trend-Db-Fnp8C.js → vue-ui-spark-trend-EiEzMoPj.js} +3 -3
- package/dist/vue-ui-sparkbar-CCe0U_o0.js +351 -0
- package/dist/{vue-ui-sparkgauge-DAQ4zozy.js → vue-ui-sparkgauge-Cdcirik_.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-CMEaO0CW.js → vue-ui-sparkhistogram-CEj9qz9m.js} +4 -4
- package/dist/vue-ui-sparkline-B2-YztKx.js +489 -0
- package/dist/vue-ui-sparkstackbar-BGMtc_HC.js +421 -0
- package/dist/vue-ui-stackbar-DrKaioRS.js +1370 -0
- package/dist/vue-ui-strip-plot-C4qWoDEh.js +915 -0
- package/dist/{vue-ui-table-Dck8Pyg9.js → vue-ui-table-CXqyTj_Z.js} +11 -11
- package/dist/{vue-ui-table-heatmap-DknIGf9_.js → vue-ui-table-heatmap-BZTn3qnM.js} +5 -5
- package/dist/{vue-ui-table-sparkline-G4HAzUt6.js → vue-ui-table-sparkline-CIBdN_KF.js} +14 -14
- package/dist/vue-ui-thermometer-DPIpWKUI.js +541 -0
- package/dist/{vue-ui-timer-Dmr-HCSc.js → vue-ui-timer-Cha-Gb1x.js} +5 -5
- package/dist/vue-ui-tiremarks-B4SjQyS7.js +406 -0
- package/dist/vue-ui-treemap-1twI_ag-.js +1035 -0
- package/dist/{vue-ui-vertical-bar--QFtoFje.js → vue-ui-vertical-bar-C31Jqkbw.js} +318 -302
- package/dist/vue-ui-waffle-DkZykFPK.js +910 -0
- package/dist/vue-ui-wheel-CYOrBHBD.js +379 -0
- package/dist/vue-ui-word-cloud-Clyg0CRZ.js +765 -0
- package/dist/{vue-ui-world-BcK_brDq.js → vue-ui-world-BYgMbS-e.js} +11 -9
- package/dist/vue-ui-xy-BMszd4wZ.js +3760 -0
- package/dist/{vue-ui-xy-canvas--88oKdGN.js → vue-ui-xy-canvas-DwXvZ311.js} +265 -264
- package/package.json +1 -1
- package/dist/Slicer-B_Hb6qSk.js +0 -577
- package/dist/useNestedProp-DefBVltl.js +0 -13
- package/dist/usePanZoom-BQMvRXEQ.js +0 -115
- package/dist/vue-ui-3d-bar-CJMZqDo1.js +0 -1227
- package/dist/vue-ui-age-pyramid-B6WAMtPk.js +0 -746
- package/dist/vue-ui-bullet-NmtltFbU.js +0 -513
- package/dist/vue-ui-candlestick-BzqQtynP.js +0 -873
- package/dist/vue-ui-donut-evolution-D7cNk_6l.js +0 -903
- package/dist/vue-ui-dumbbell--H80zebk.js +0 -753
- package/dist/vue-ui-flow-lk_HU5NB.js +0 -765
- package/dist/vue-ui-gauge-DWlCh2_B.js +0 -738
- package/dist/vue-ui-heatmap-BK6BNOY_.js +0 -877
- package/dist/vue-ui-history-plot-CGF6lE-7.js +0 -924
- package/dist/vue-ui-nested-donuts-BX0Z0rb1.js +0 -1177
- package/dist/vue-ui-onion-BhjUET_W.js +0 -701
- package/dist/vue-ui-parallel-coordinate-plot-n7QPVLrW.js +0 -807
- package/dist/vue-ui-quick-chart-5xX-yBIY.js +0 -1612
- package/dist/vue-ui-ridgeline-DQ8RQf3E.js +0 -969
- package/dist/vue-ui-rings-Cze6OsmO.js +0 -685
- package/dist/vue-ui-scatter-CwI3_Dn7.js +0 -1045
- package/dist/vue-ui-sparkbar-C6wsNMMO.js +0 -301
- package/dist/vue-ui-sparkline-R7pfxRWN.js +0 -459
- package/dist/vue-ui-sparkstackbar-DV_XqJQ2.js +0 -381
- package/dist/vue-ui-stackbar-gReSujA_.js +0 -1207
- package/dist/vue-ui-strip-plot-8fsm3nn2.js +0 -761
- package/dist/vue-ui-thermometer-BIkXa4hY.js +0 -495
- package/dist/vue-ui-tiremarks-YWbRk0dm.js +0 -358
- package/dist/vue-ui-treemap-D2OnG3Fh.js +0 -965
- package/dist/vue-ui-waffle-BdaCXuWc.js +0 -863
- package/dist/vue-ui-wheel-Bw3XSa8N.js +0 -352
- package/dist/vue-ui-word-cloud-BH8UZH_J.js +0 -659
- package/dist/vue-ui-xy-Be--zwe9.js +0 -2980
|
@@ -0,0 +1,541 @@
|
|
|
1
|
+
import { useCssVars as ze, computed as c, defineAsyncComponent as j, ref as v, onMounted as We, toRefs as Ue, watch as Le, createElementBlock as u, openBlock as a, unref as n, normalizeStyle as ve, normalizeClass as z, createBlock as W, createCommentVNode as i, createSlots as Ne, withCtx as A, renderSlot as y, normalizeProps as U, guardReactiveProps as L, createVNode as Ye, createElementVNode as d, Fragment as N, renderList as de, toDisplayString as He } from "vue";
|
|
2
|
+
import { u as qe, c as Ee, t as Re, o as Ve, f as me, g as Ge, a as Be, p as F, b as De, d as je, h as f, e as Y, X as Xe, s as Je, k as Ke, i as Qe } from "./index-BLtc1AIS.js";
|
|
3
|
+
import { t as Ze, u as et } from "./useResponsive-DfdjqQps.js";
|
|
4
|
+
import { u as tt, B as st } from "./useLoading-Bt5Doa8m.js";
|
|
5
|
+
import { u as ot } from "./usePrinter-fqbzwh0l.js";
|
|
6
|
+
import { u as ye } from "./useNestedProp-DExlTpuj.js";
|
|
7
|
+
import { u as lt } from "./useUserOptionState-BIvW1Kz7.js";
|
|
8
|
+
import { u as at } from "./useChartAccessibility-9icAAmYg.js";
|
|
9
|
+
import { u as rt } from "./useAutoSizeLabelsInsideViewbox-BJDcwsoB.js";
|
|
10
|
+
import ut from "./Title-DEKAfzRX.js";
|
|
11
|
+
import nt from "./img-ChLGv8nO.js";
|
|
12
|
+
import { _ as it } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
13
|
+
const ht = ["id"], ct = {
|
|
14
|
+
key: 1,
|
|
15
|
+
ref: "noTitle",
|
|
16
|
+
class: "vue-data-ui-no-title-space",
|
|
17
|
+
style: "height:36px; width: 100%;background:transparent"
|
|
18
|
+
}, vt = ["xmlns", "viewBox"], dt = ["width", "height"], mt = ["id"], yt = ["x", "y", "width", "height", "rx", "ry"], ft = ["id"], gt = ["stop-color"], pt = ["stop-color"], kt = ["stop-color"], bt = ["clip-path"], xt = ["x", "y", "height", "width"], wt = ["x", "y", "height", "width", "fill"], _t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], $t = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], At = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Ot = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], It = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], Pt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], St = ["x", "y", "height", "width"], Mt = { key: 1 }, Tt = ["x", "y", "height"], zt = ["y", "x", "fill", "font-size", "font-weight"], Wt = {
|
|
19
|
+
key: 4,
|
|
20
|
+
class: "vue-data-ui-watermark"
|
|
21
|
+
}, Ut = {
|
|
22
|
+
__name: "vue-ui-thermometer",
|
|
23
|
+
props: {
|
|
24
|
+
dataset: {
|
|
25
|
+
type: Object,
|
|
26
|
+
default() {
|
|
27
|
+
return {};
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
config: {
|
|
31
|
+
type: Object,
|
|
32
|
+
default() {
|
|
33
|
+
return {};
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
setup(O, { expose: fe }) {
|
|
38
|
+
ze((s) => ({
|
|
39
|
+
"98327f62": Fe.value,
|
|
40
|
+
"94da5bc2": Ae.value,
|
|
41
|
+
"3f9c62cc": $e.value
|
|
42
|
+
}));
|
|
43
|
+
const ge = j(() => import("./PackageVersion-5S8ajCUS.js")), pe = j(() => import("./PenAndPaper-D6wazxlT.js")), ke = j(() => import("./UserOptions-D2G7II3G.js")), { vue_ui_thermometer: be } = qe(), g = O, p = v(Ee()), k = v(null), X = v(0), J = v(0), K = v(null), Q = v(null), b = v(null), I = v(null), xe = c(() => !!g.dataset && Object.keys(g.dataset).length);
|
|
44
|
+
We(() => {
|
|
45
|
+
te();
|
|
46
|
+
});
|
|
47
|
+
const e = v(V()), we = v(e.value.style.chart.thermometer.width), H = v(e.value.style.chart.height), q = v(e.value.style.chart.width), { loading: Z, FINAL_DATASET: h } = tt({
|
|
48
|
+
...Ue(g),
|
|
49
|
+
FINAL_CONFIG: e,
|
|
50
|
+
prepareConfig: V,
|
|
51
|
+
skeletonDataset: { value: 0, from: -100, to: 100, steps: 20, colors: { from: "#A1A1A1", to: "#CACACA" } },
|
|
52
|
+
skeletonConfig: Re({
|
|
53
|
+
defaultConfig: e.value,
|
|
54
|
+
userConfig: {
|
|
55
|
+
userOptions: { show: !1 },
|
|
56
|
+
style: {
|
|
57
|
+
chart: {
|
|
58
|
+
animation: { use: !1 },
|
|
59
|
+
backgroundColor: "#99999930",
|
|
60
|
+
graduations: {
|
|
61
|
+
stroke: "#6A6A6A"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
})
|
|
67
|
+
}), ee = c(() => !!e.value.debug);
|
|
68
|
+
function te() {
|
|
69
|
+
if (Ve(g.dataset) ? me({
|
|
70
|
+
componentName: "VueUiThermometer",
|
|
71
|
+
type: "dataset",
|
|
72
|
+
debug: ee.value
|
|
73
|
+
}) : Ge({
|
|
74
|
+
datasetObject: g.dataset,
|
|
75
|
+
requiredAttributes: ["value", "from", "to"]
|
|
76
|
+
}).forEach((s) => {
|
|
77
|
+
me({
|
|
78
|
+
componentName: "VueUiThermometer",
|
|
79
|
+
type: "datasetAttribute",
|
|
80
|
+
property: s,
|
|
81
|
+
debug: ee.value
|
|
82
|
+
});
|
|
83
|
+
}), e.value.responsive) {
|
|
84
|
+
const s = Ze(() => {
|
|
85
|
+
const { width: l, height: t } = et({
|
|
86
|
+
chart: k.value,
|
|
87
|
+
title: e.value.style.title.text ? K.value : null,
|
|
88
|
+
source: Q.value
|
|
89
|
+
});
|
|
90
|
+
requestAnimationFrame(() => {
|
|
91
|
+
H.value = Math.max(0.1, t - 12), q.value = l, ce();
|
|
92
|
+
});
|
|
93
|
+
});
|
|
94
|
+
b.value && (I.value && b.value.unobserve(I.value), b.value.disconnect()), b.value = new ResizeObserver(s), I.value = k.value, b.value.observe(I.value);
|
|
95
|
+
}
|
|
96
|
+
requestAnimationFrame(ce);
|
|
97
|
+
}
|
|
98
|
+
const { userOptionsVisible: E, setUserOptionsVisibility: se, keepUserOptionState: oe } = lt({ config: e.value }), { svgRef: R } = at({ config: e.value.style.title });
|
|
99
|
+
function V() {
|
|
100
|
+
const s = ye({
|
|
101
|
+
userConfig: g.config,
|
|
102
|
+
defaultConfig: be
|
|
103
|
+
});
|
|
104
|
+
return s.theme ? {
|
|
105
|
+
...ye({
|
|
106
|
+
userConfig: De.vue_ui_thermometer[s.theme] || g.config,
|
|
107
|
+
defaultConfig: s
|
|
108
|
+
}),
|
|
109
|
+
customPalette: Be[s.theme] || F
|
|
110
|
+
} : s;
|
|
111
|
+
}
|
|
112
|
+
Le(() => g.config, (s) => {
|
|
113
|
+
e.value = V(), E.value = !e.value.userOptions.showOnChartHover, we.value = e.value.style.chart.thermometer.width, H.value = e.value.style.chart.height, q.value = e.value.style.chart.width, te(), J.value += 1;
|
|
114
|
+
}, { deep: !0 });
|
|
115
|
+
const { isPrinting: le, isImaging: ae, generatePdf: re, generateImage: ue } = ot({
|
|
116
|
+
elementId: `thermometer__${p.value}`,
|
|
117
|
+
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
118
|
+
options: e.value.userOptions.print
|
|
119
|
+
}), _e = c(() => e.value.userOptions.show && !e.value.style.title.text), P = c(() => je(e.value.customPalette)), m = c(() => h.value.steps || 10);
|
|
120
|
+
function S(s, l, t) {
|
|
121
|
+
const r = [], _ = ne(s), C = ne(l);
|
|
122
|
+
for (let $ = 0; $ < t; $++) {
|
|
123
|
+
const Pe = G(_.red, C.red, $, t), Se = G(_.green, C.green, $, t), Me = G(_.blue, C.blue, $, t), Te = `#${B(Pe)}${B(Se)}${B(Me)}`;
|
|
124
|
+
r.push(Te);
|
|
125
|
+
}
|
|
126
|
+
return r;
|
|
127
|
+
}
|
|
128
|
+
function ne(s) {
|
|
129
|
+
const l = s.slice(1);
|
|
130
|
+
return {
|
|
131
|
+
red: parseInt(l.slice(0, 2), 16),
|
|
132
|
+
green: parseInt(l.slice(2, 4), 16),
|
|
133
|
+
blue: parseInt(l.slice(4, 6), 16)
|
|
134
|
+
};
|
|
135
|
+
}
|
|
136
|
+
function G(s, l, t, r) {
|
|
137
|
+
return Math.round(s + (l - s) * t / r);
|
|
138
|
+
}
|
|
139
|
+
function B(s) {
|
|
140
|
+
return s.toString(16).padStart(2, "0");
|
|
141
|
+
}
|
|
142
|
+
const o = c(() => {
|
|
143
|
+
const s = Math.max(0.1, q.value), l = Math.max(0.1, H.value), t = e.value.style.chart.padding;
|
|
144
|
+
return {
|
|
145
|
+
width: s,
|
|
146
|
+
left: s / 2 - e.value.style.chart.thermometer.width / 2,
|
|
147
|
+
right: s / 2 + e.value.style.chart.thermometer.width / 2,
|
|
148
|
+
top: t.top,
|
|
149
|
+
bottom: l - t.bottom - t.top,
|
|
150
|
+
height: l,
|
|
151
|
+
thermoHeight: l - t.top - t.bottom,
|
|
152
|
+
thermoWidth: e.value.style.chart.thermometer.width
|
|
153
|
+
};
|
|
154
|
+
}), Ce = c(() => o.value), M = c(() => {
|
|
155
|
+
const s = f(h.value.from) < 0 ? Math.abs(f(h.value.from)) : f(h.value.from), l = f(h.value.to) < 0 ? Math.abs(f(h.value.to)) : f(h.value.to);
|
|
156
|
+
let t = 0;
|
|
157
|
+
return f(h.value.to) > 0 ? t = s + l : s > l ? t = s - l : t = l - s, (1 - (Math.abs(f(h.value.from)) + f(h.value.value)) / t) * o.value.thermoHeight;
|
|
158
|
+
}), $e = c(() => `${M.value}px`), Ae = c(() => `${o.value.thermoHeight}px`), Fe = c(() => `${e.value.style.chart.animation.speedMs}ms`), Oe = c(() => {
|
|
159
|
+
if (h.value.colors) {
|
|
160
|
+
if (!h.value.colors.from)
|
|
161
|
+
return S(P.value[0] || F[0], Y(h.value.colors.to), m.value || 10);
|
|
162
|
+
if (!h.value.colors.to)
|
|
163
|
+
return S(Y(h.value.colors.from), P.value[1] || F[1], m.value || 10);
|
|
164
|
+
} else
|
|
165
|
+
return S(P.value[1] || F[1], P.value[0] || F[0], m.value || 10);
|
|
166
|
+
return S(Y(h.value.colors.from), Y(h.value.colors.to), m.value || 10);
|
|
167
|
+
}), ie = c(() => {
|
|
168
|
+
const s = [];
|
|
169
|
+
let l = 0;
|
|
170
|
+
const t = o.value.thermoHeight;
|
|
171
|
+
for (let r = 0; r < t - 1; r += t / m.value)
|
|
172
|
+
s.push({
|
|
173
|
+
x: o.value.left,
|
|
174
|
+
y: o.value.top + r,
|
|
175
|
+
qYLess: o.value.top + r + t / m.value / 4,
|
|
176
|
+
halfY: o.value.top + r + t / m.value / 2,
|
|
177
|
+
qYMore: o.value.top + r + t / m.value / 4 * 3,
|
|
178
|
+
color: Oe.value[l],
|
|
179
|
+
height: Math.max(0.1, t / m.value)
|
|
180
|
+
}), l += 1;
|
|
181
|
+
return s;
|
|
182
|
+
}), x = v(!1);
|
|
183
|
+
function he(s) {
|
|
184
|
+
x.value = s, X.value += 1;
|
|
185
|
+
}
|
|
186
|
+
const T = v(!1);
|
|
187
|
+
function D() {
|
|
188
|
+
T.value = !T.value;
|
|
189
|
+
}
|
|
190
|
+
async function Ie({ scale: s = 2 } = {}) {
|
|
191
|
+
if (!k.value) return;
|
|
192
|
+
const { width: l, height: t } = k.value.getBoundingClientRect(), r = l / t, { imageUri: _, base64: C } = await nt({ domElement: k.value, base64: !0, img: !0, scale: s });
|
|
193
|
+
return {
|
|
194
|
+
imageUri: _,
|
|
195
|
+
base64: C,
|
|
196
|
+
title: e.value.style.title.text,
|
|
197
|
+
width: l,
|
|
198
|
+
height: t,
|
|
199
|
+
aspectRatio: r
|
|
200
|
+
};
|
|
201
|
+
}
|
|
202
|
+
const w = c({
|
|
203
|
+
get: () => e.value.style.chart.label.fontSize,
|
|
204
|
+
set: (s) => s
|
|
205
|
+
}), { autoSizeLabels: ce } = rt({
|
|
206
|
+
svgRef: R,
|
|
207
|
+
fontSize: e.value.style.chart.label.fontSize,
|
|
208
|
+
minFontSize: e.value.style.chart.label.minFontSize,
|
|
209
|
+
sizeRef: w,
|
|
210
|
+
labelClass: ".vue-ui-thermometer-label"
|
|
211
|
+
});
|
|
212
|
+
return fe({
|
|
213
|
+
getImage: Ie,
|
|
214
|
+
generatePdf: re,
|
|
215
|
+
generateImage: ue,
|
|
216
|
+
toggleAnnotator: D,
|
|
217
|
+
toggleFullscreen: he
|
|
218
|
+
}), (s, l) => (a(), u("div", {
|
|
219
|
+
ref_key: "thermoChart",
|
|
220
|
+
ref: k,
|
|
221
|
+
class: z(`vue-ui-thermometer ${x.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
222
|
+
style: ve(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
223
|
+
id: `thermometer__${p.value}`,
|
|
224
|
+
onMouseenter: l[0] || (l[0] = () => n(se)(!0)),
|
|
225
|
+
onMouseleave: l[1] || (l[1] = () => n(se)(!1))
|
|
226
|
+
}, [
|
|
227
|
+
e.value.userOptions.buttons.annotator ? (a(), W(n(pe), {
|
|
228
|
+
key: 0,
|
|
229
|
+
svgRef: n(R),
|
|
230
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
231
|
+
color: e.value.style.chart.color,
|
|
232
|
+
active: T.value,
|
|
233
|
+
onClose: D
|
|
234
|
+
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : i("", !0),
|
|
235
|
+
_e.value ? (a(), u("div", ct, null, 512)) : i("", !0),
|
|
236
|
+
e.value.style.title.text ? (a(), u("div", {
|
|
237
|
+
key: 2,
|
|
238
|
+
ref_key: "chartTitle",
|
|
239
|
+
ref: K,
|
|
240
|
+
style: "width:100%"
|
|
241
|
+
}, [
|
|
242
|
+
(a(), W(ut, {
|
|
243
|
+
key: `title_${J.value}`,
|
|
244
|
+
config: {
|
|
245
|
+
title: {
|
|
246
|
+
cy: "thermometer-div-title",
|
|
247
|
+
...e.value.style.title
|
|
248
|
+
},
|
|
249
|
+
subtitle: {
|
|
250
|
+
cy: "thermometer-div-subtitle",
|
|
251
|
+
...e.value.style.title.subtitle
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}, null, 8, ["config"]))
|
|
255
|
+
], 512)) : i("", !0),
|
|
256
|
+
e.value.userOptions.show && xe.value && (n(oe) || n(E)) ? (a(), W(n(ke), {
|
|
257
|
+
ref: "details",
|
|
258
|
+
key: `user_options_${X.value}`,
|
|
259
|
+
backgroundColor: e.value.style.chart.backgroundColor,
|
|
260
|
+
color: e.value.style.chart.color,
|
|
261
|
+
isImaging: n(ae),
|
|
262
|
+
isPrinting: n(le),
|
|
263
|
+
uid: p.value,
|
|
264
|
+
hasPdf: e.value.userOptions.buttons.pdf,
|
|
265
|
+
hasImg: e.value.userOptions.buttons.img,
|
|
266
|
+
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
267
|
+
hasXls: !1,
|
|
268
|
+
isFullscreen: x.value,
|
|
269
|
+
titles: { ...e.value.userOptions.buttonTitles },
|
|
270
|
+
chartElement: k.value,
|
|
271
|
+
position: e.value.userOptions.position,
|
|
272
|
+
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
273
|
+
isAnnotation: T.value,
|
|
274
|
+
callbacks: e.value.userOptions.callbacks,
|
|
275
|
+
printScale: e.value.userOptions.print.scale,
|
|
276
|
+
onToggleFullscreen: he,
|
|
277
|
+
onGeneratePdf: n(re),
|
|
278
|
+
onGenerateImage: n(ue),
|
|
279
|
+
onToggleAnnotator: D,
|
|
280
|
+
style: ve({
|
|
281
|
+
visibility: n(oe) ? n(E) ? "visible" : "hidden" : "visible"
|
|
282
|
+
})
|
|
283
|
+
}, Ne({ _: 2 }, [
|
|
284
|
+
s.$slots.menuIcon ? {
|
|
285
|
+
name: "menuIcon",
|
|
286
|
+
fn: A(({ isOpen: t, color: r }) => [
|
|
287
|
+
y(s.$slots, "menuIcon", U(L({ isOpen: t, color: r })), void 0, !0)
|
|
288
|
+
]),
|
|
289
|
+
key: "0"
|
|
290
|
+
} : void 0,
|
|
291
|
+
s.$slots.optionPdf ? {
|
|
292
|
+
name: "optionPdf",
|
|
293
|
+
fn: A(() => [
|
|
294
|
+
y(s.$slots, "optionPdf", {}, void 0, !0)
|
|
295
|
+
]),
|
|
296
|
+
key: "1"
|
|
297
|
+
} : void 0,
|
|
298
|
+
s.$slots.optionImg ? {
|
|
299
|
+
name: "optionImg",
|
|
300
|
+
fn: A(() => [
|
|
301
|
+
y(s.$slots, "optionImg", {}, void 0, !0)
|
|
302
|
+
]),
|
|
303
|
+
key: "2"
|
|
304
|
+
} : void 0,
|
|
305
|
+
s.$slots.optionFullscreen ? {
|
|
306
|
+
name: "optionFullscreen",
|
|
307
|
+
fn: A(({ toggleFullscreen: t, isFullscreen: r }) => [
|
|
308
|
+
y(s.$slots, "optionFullscreen", U(L({ toggleFullscreen: t, isFullscreen: r })), void 0, !0)
|
|
309
|
+
]),
|
|
310
|
+
key: "3"
|
|
311
|
+
} : void 0,
|
|
312
|
+
s.$slots.optionAnnotator ? {
|
|
313
|
+
name: "optionAnnotator",
|
|
314
|
+
fn: A(({ toggleAnnotator: t, isAnnotator: r }) => [
|
|
315
|
+
y(s.$slots, "optionAnnotator", U(L({ toggleAnnotator: t, isAnnotator: r })), void 0, !0)
|
|
316
|
+
]),
|
|
317
|
+
key: "4"
|
|
318
|
+
} : void 0
|
|
319
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : i("", !0),
|
|
320
|
+
(a(), u("svg", {
|
|
321
|
+
ref_key: "svgRef",
|
|
322
|
+
ref: R,
|
|
323
|
+
xmlns: n(Xe),
|
|
324
|
+
class: z({ "vue-data-ui-fullscreen--on": x.value, "vue-data-ui-fulscreen--off": !x.value }),
|
|
325
|
+
width: "100%",
|
|
326
|
+
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
327
|
+
style: "background:transparent"
|
|
328
|
+
}, [
|
|
329
|
+
Ye(n(ge)),
|
|
330
|
+
s.$slots["chart-background"] ? (a(), u("foreignObject", {
|
|
331
|
+
key: 0,
|
|
332
|
+
x: 0,
|
|
333
|
+
y: 0,
|
|
334
|
+
width: o.value.width,
|
|
335
|
+
height: o.value.height,
|
|
336
|
+
style: {
|
|
337
|
+
pointerEvents: "none"
|
|
338
|
+
}
|
|
339
|
+
}, [
|
|
340
|
+
y(s.$slots, "chart-background", {}, void 0, !0)
|
|
341
|
+
], 8, dt)) : i("", !0),
|
|
342
|
+
d("defs", null, [
|
|
343
|
+
d("clipPath", {
|
|
344
|
+
id: `vueUiPill-${p.value}`,
|
|
345
|
+
clipPathUnits: "userSpaceOnUse"
|
|
346
|
+
}, [
|
|
347
|
+
d("rect", {
|
|
348
|
+
x: o.value.left,
|
|
349
|
+
y: o.value.top,
|
|
350
|
+
width: o.value.thermoWidth,
|
|
351
|
+
height: o.value.thermoHeight,
|
|
352
|
+
rx: o.value.thermoWidth / 2,
|
|
353
|
+
ry: o.value.thermoWidth / 2
|
|
354
|
+
}, null, 8, yt)
|
|
355
|
+
], 8, mt),
|
|
356
|
+
(a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("linearGradient", {
|
|
357
|
+
id: `vueUiThermometerGradient_${r}_${p.value}`,
|
|
358
|
+
x1: "0%",
|
|
359
|
+
y1: "0%",
|
|
360
|
+
x2: "100%",
|
|
361
|
+
y2: "0%"
|
|
362
|
+
}, [
|
|
363
|
+
d("stop", {
|
|
364
|
+
offset: "0%",
|
|
365
|
+
"stop-color": t.color
|
|
366
|
+
}, null, 8, gt),
|
|
367
|
+
d("stop", {
|
|
368
|
+
offset: "50%",
|
|
369
|
+
"stop-color": n(Je)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
370
|
+
}, null, 8, pt),
|
|
371
|
+
d("stop", {
|
|
372
|
+
offset: "100%",
|
|
373
|
+
"stop-color": t.color
|
|
374
|
+
}, null, 8, kt)
|
|
375
|
+
], 8, ft))), 256))
|
|
376
|
+
]),
|
|
377
|
+
d("g", {
|
|
378
|
+
"clip-path": `url(#vueUiPill-${p.value})`
|
|
379
|
+
}, [
|
|
380
|
+
d("rect", {
|
|
381
|
+
x: o.value.left,
|
|
382
|
+
y: o.value.top,
|
|
383
|
+
height: o.value.thermoHeight,
|
|
384
|
+
width: o.value.thermoWidth,
|
|
385
|
+
fill: "#FFFFFF"
|
|
386
|
+
}, null, 8, xt),
|
|
387
|
+
(a(!0), u(N, null, de(ie.value, (t, r) => (a(), u("g", {
|
|
388
|
+
key: `graduation_${r}`
|
|
389
|
+
}, [
|
|
390
|
+
d("rect", {
|
|
391
|
+
x: t.x,
|
|
392
|
+
y: t.y,
|
|
393
|
+
height: t.height,
|
|
394
|
+
width: o.value.thermoWidth,
|
|
395
|
+
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${r}_${p.value})` : t.color,
|
|
396
|
+
"shape-rendering": "crispEdges"
|
|
397
|
+
}, null, 8, wt),
|
|
398
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
399
|
+
key: 0,
|
|
400
|
+
x1: t.x,
|
|
401
|
+
x2: t.x + 10,
|
|
402
|
+
y1: t.y,
|
|
403
|
+
y2: t.y,
|
|
404
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
405
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
406
|
+
"stroke-linecap": "round"
|
|
407
|
+
}, null, 8, _t)) : i("", !0),
|
|
408
|
+
e.value.style.chart.graduations.showIntermediate ? (a(), u(N, { key: 1 }, [
|
|
409
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
410
|
+
key: 0,
|
|
411
|
+
x1: t.x,
|
|
412
|
+
x2: t.x + 5,
|
|
413
|
+
y1: t.halfY,
|
|
414
|
+
y2: t.halfY,
|
|
415
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
416
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
417
|
+
"stroke-linecap": "round"
|
|
418
|
+
}, null, 8, Ct)) : i("", !0),
|
|
419
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
420
|
+
key: 1,
|
|
421
|
+
x1: t.x,
|
|
422
|
+
x2: t.x + 2.5,
|
|
423
|
+
y1: t.qYLess,
|
|
424
|
+
y2: t.qYLess,
|
|
425
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
426
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
427
|
+
"stroke-linecap": "round"
|
|
428
|
+
}, null, 8, $t)) : i("", !0),
|
|
429
|
+
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
430
|
+
key: 2,
|
|
431
|
+
x1: t.x,
|
|
432
|
+
x2: t.x + 2.5,
|
|
433
|
+
y1: t.qYMore,
|
|
434
|
+
y2: t.qYMore,
|
|
435
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
436
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
437
|
+
"stroke-linecap": "round"
|
|
438
|
+
}, null, 8, At)) : i("", !0)
|
|
439
|
+
], 64)) : i("", !0),
|
|
440
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
441
|
+
key: 2,
|
|
442
|
+
x1: o.value.right,
|
|
443
|
+
x2: o.value.right - 10,
|
|
444
|
+
y1: t.y,
|
|
445
|
+
y2: t.y,
|
|
446
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
447
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
448
|
+
"stroke-linecap": "round"
|
|
449
|
+
}, null, 8, Ft)) : i("", !0),
|
|
450
|
+
e.value.style.chart.graduations.showIntermediate ? (a(), u(N, { key: 3 }, [
|
|
451
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
452
|
+
key: 0,
|
|
453
|
+
x1: o.value.right,
|
|
454
|
+
x2: o.value.right - 5,
|
|
455
|
+
y1: t.halfY,
|
|
456
|
+
y2: t.halfY,
|
|
457
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
458
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
459
|
+
"stroke-linecap": "round"
|
|
460
|
+
}, null, 8, Ot)) : i("", !0),
|
|
461
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
462
|
+
key: 1,
|
|
463
|
+
x1: o.value.right,
|
|
464
|
+
x2: o.value.right - 2.5,
|
|
465
|
+
y1: t.qYLess,
|
|
466
|
+
y2: t.qYLess,
|
|
467
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
468
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
469
|
+
"stroke-linecap": "round"
|
|
470
|
+
}, null, 8, It)) : i("", !0),
|
|
471
|
+
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (a(), u("line", {
|
|
472
|
+
key: 2,
|
|
473
|
+
x1: o.value.right,
|
|
474
|
+
x2: o.value.right - 2.5,
|
|
475
|
+
y1: t.qYMore,
|
|
476
|
+
y2: t.qYMore,
|
|
477
|
+
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
478
|
+
stroke: e.value.style.chart.graduations.stroke,
|
|
479
|
+
"stroke-linecap": "round"
|
|
480
|
+
}, null, 8, Pt)) : i("", !0)
|
|
481
|
+
], 64)) : i("", !0)
|
|
482
|
+
]))), 128)),
|
|
483
|
+
d("rect", {
|
|
484
|
+
class: z({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
485
|
+
x: o.value.left,
|
|
486
|
+
y: o.value.top,
|
|
487
|
+
height: M.value,
|
|
488
|
+
width: o.value.thermoWidth,
|
|
489
|
+
fill: "#FFFFFF66"
|
|
490
|
+
}, null, 10, St)
|
|
491
|
+
], 8, bt),
|
|
492
|
+
e.value.style.chart.label.show ? (a(), u("g", Mt, [
|
|
493
|
+
n(Z) ? (a(), u("rect", {
|
|
494
|
+
key: 0,
|
|
495
|
+
x: o.value.left - 60,
|
|
496
|
+
y: M.value + o.value.top - w.value / 2,
|
|
497
|
+
width: 50,
|
|
498
|
+
height: w.value,
|
|
499
|
+
fill: "#6A6A6A40",
|
|
500
|
+
rx: "3"
|
|
501
|
+
}, null, 8, Tt)) : (a(), u("text", {
|
|
502
|
+
key: 1,
|
|
503
|
+
class: z({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use, "vue-ui-thermometer-label": !0 }),
|
|
504
|
+
y: M.value + o.value.top + w.value / 3,
|
|
505
|
+
x: o.value.left - 10,
|
|
506
|
+
"text-anchor": "end",
|
|
507
|
+
fill: e.value.style.chart.label.color,
|
|
508
|
+
"font-size": w.value,
|
|
509
|
+
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
510
|
+
}, He(n(Ke)(
|
|
511
|
+
e.value.style.chart.label.formatter,
|
|
512
|
+
O.dataset.value,
|
|
513
|
+
n(Qe)({
|
|
514
|
+
p: e.value.style.chart.label.prefix,
|
|
515
|
+
v: O.dataset.value,
|
|
516
|
+
s: e.value.style.chart.label.suffix,
|
|
517
|
+
r: e.value.style.chart.label.rounding
|
|
518
|
+
}),
|
|
519
|
+
{ datapoint: O.dataset }
|
|
520
|
+
)), 11, zt))
|
|
521
|
+
])) : i("", !0),
|
|
522
|
+
y(s.$slots, "svg", { svg: Ce.value }, void 0, !0)
|
|
523
|
+
], 10, vt)),
|
|
524
|
+
s.$slots.watermark ? (a(), u("div", Wt, [
|
|
525
|
+
y(s.$slots, "watermark", U(L({ isPrinting: n(le) || n(ae) })), void 0, !0)
|
|
526
|
+
])) : i("", !0),
|
|
527
|
+
s.$slots.source ? (a(), u("div", {
|
|
528
|
+
key: 5,
|
|
529
|
+
ref_key: "source",
|
|
530
|
+
ref: Q,
|
|
531
|
+
dir: "auto"
|
|
532
|
+
}, [
|
|
533
|
+
y(s.$slots, "source", {}, void 0, !0)
|
|
534
|
+
], 512)) : i("", !0),
|
|
535
|
+
n(Z) ? (a(), W(st, { key: 6 })) : i("", !0)
|
|
536
|
+
], 46, ht));
|
|
537
|
+
}
|
|
538
|
+
}, Xt = /* @__PURE__ */ it(Ut, [["__scopeId", "data-v-25e957fb"]]);
|
|
539
|
+
export {
|
|
540
|
+
Xt as default
|
|
541
|
+
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { defineAsyncComponent as se, ref as v, shallowRef as K, onMounted as le, computed as F, onBeforeUnmount as oe, watch as re, createElementBlock as r, openBlock as l, normalizeStyle as w, createCommentVNode as d, createElementVNode as M, createBlock as ue, unref as Q, createVNode as T, renderSlot as H, mergeProps as Y, normalizeProps as V, guardReactiveProps as G, toDisplayString as ie } from "vue";
|
|
2
|
-
import { u as ne } from "./useNestedProp-
|
|
3
|
-
import { u as ce, c as ve, X as de, E as X } from "./index-
|
|
2
|
+
import { u as ne } from "./useNestedProp-DExlTpuj.js";
|
|
3
|
+
import { u as ce, c as ve, X as de, E as X } from "./index-BLtc1AIS.js";
|
|
4
4
|
import { t as he, u as pe } from "./useResponsive-DfdjqQps.js";
|
|
5
5
|
import { u as fe } from "./useChartAccessibility-9icAAmYg.js";
|
|
6
|
-
import we from "./Title-
|
|
7
|
-
import R from "./BaseIcon-
|
|
6
|
+
import we from "./Title-DEKAfzRX.js";
|
|
7
|
+
import R from "./BaseIcon-C3ljqn8J.js";
|
|
8
8
|
import { _ as ke } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
9
9
|
class ge {
|
|
10
10
|
constructor(L, E, S, N = !0, A = !0) {
|
|
@@ -130,7 +130,7 @@ const me = ["xmlns", "viewBox"], ye = ["width", "height"], be = { key: 1 }, _e =
|
|
|
130
130
|
},
|
|
131
131
|
emits: ["start", "pause", "reset", "restart", "lap"],
|
|
132
132
|
setup(q, { expose: L, emit: E }) {
|
|
133
|
-
const S = se(() => import("./PackageVersion-
|
|
133
|
+
const S = se(() => import("./PackageVersion-5S8ajCUS.js")), { vue_ui_timer: N } = ce(), A = q, g = E, $ = v(null), D = v(null), i = v(null), n = K(null), o = K(null), h = v(ve()), k = v(0);
|
|
134
134
|
le(() => {
|
|
135
135
|
m();
|
|
136
136
|
});
|