vue-data-ui 3.0.0-next.0 → 3.0.0-next.2
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 +108 -67
- package/dist/{Arrow-CzFtSJ1v.js → Arrow-Dck2Ea5K.js} +1 -1
- package/dist/{BaseDraggableDialog-0S5xhs2P.js → BaseDraggableDialog-CatHZ1ns.js} +2 -2
- package/dist/{BaseIcon-DoDjTdD5.js → BaseIcon-BmZ4MREl.js} +1 -1
- package/dist/{ColorPicker-BGRchgqQ.js → ColorPicker-C1MXyD9Q.js} +2 -2
- package/dist/{DataTable-BBbOgI-a.js → DataTable-CgL0Rz0x.js} +2 -2
- package/dist/{Legend-Q4bOb-Nf.js → Legend-CYbP3Kfg.js} +12 -11
- package/dist/{NonSvgPenAndPaper-DNKRvsBB.js → NonSvgPenAndPaper-CcbcJm_U.js} +3 -3
- package/dist/{PackageVersion-D0VPY8-5.js → PackageVersion-CAkNkiIG.js} +1 -1
- package/dist/{PenAndPaper-DhBJsnob.js → PenAndPaper-Cx1-5zdD.js} +32 -32
- package/dist/{Shape-DbsLJ-SE.js → Shape-DBXkGxKt.js} +1 -1
- package/dist/{Slicer-DZEFp2GU.js → Slicer-nrMi5hzj.js} +2 -2
- package/dist/{SparkTooltip-CoOJR62O.js → SparkTooltip-fNzL4pIU.js} +1 -1
- package/dist/{Title-D29apS4l.js → Title-pVYRzQXY.js} +1 -1
- package/dist/Tooltip-NwATo4ZJ.js +157 -0
- package/dist/{UserOptions-Bdit7AWO.js → UserOptions-DAsRxxrf.js} +137 -129
- package/dist/{dom-to-png-BdPIrHOF.js → dom-to-png-BF_4H_6u.js} +1 -1
- package/dist/img-ku4zevVD.js +33 -0
- package/dist/{index-DMqAxz7R.js → index-BzfnuLnw.js} +1199 -1135
- package/dist/pdf-CguiIsUc.js +58 -0
- package/dist/style.css +1 -1
- package/dist/types/vue-data-ui.d.cts +1051 -217
- package/dist/types/vue-data-ui.d.ts +1051 -217
- package/dist/useLoading-Bt5Doa8m.js +28 -0
- package/dist/{useNestedProp-YgN3FV_8.js → useNestedProp-DorElw91.js} +1 -1
- package/dist/{usePrinter-COkTjv6C.js → usePrinter-C9qkgv0r.js} +2 -2
- package/dist/vue-data-ui-DQef_oFO.js +314 -0
- package/dist/vue-data-ui.js +13 -13
- package/dist/{vue-ui-3d-bar-Ojgjl20n.js → vue-ui-3d-bar-DPSamIA-.js} +261 -245
- package/dist/{vue-ui-accordion-P6eFHGQp.js → vue-ui-accordion-DgZK-qDz.js} +3 -3
- package/dist/{vue-ui-age-pyramid-IcMpAhiw.js → vue-ui-age-pyramid-DVeGKvf9.js} +233 -217
- package/dist/{vue-ui-annotator-Bk7d86-x.js → vue-ui-annotator-6ikkK-FK.js} +2 -2
- package/dist/{vue-ui-bullet-DCvWbCPk.js → vue-ui-bullet-Bg4hfFk2.js} +172 -156
- package/dist/{vue-ui-candlestick-DCf-88Yv.js → vue-ui-candlestick-Bi59FGXn.js} +271 -254
- package/dist/{vue-ui-carousel-table-DEsl0XUh.js → vue-ui-carousel-table-DitKhrFT.js} +17 -16
- package/dist/{vue-ui-chestnut-Cg10-3wu.js → vue-ui-chestnut-D8wGAZod.js} +419 -403
- package/dist/{vue-ui-chord-BWYzR6vf.js → vue-ui-chord-C-uTVCDP.js} +256 -240
- package/dist/{vue-ui-circle-pack-CO2Ra2-5.js → vue-ui-circle-pack-CPy6xcxv.js} +230 -214
- package/dist/{vue-ui-cursor-BbYHJDbV.js → vue-ui-cursor-Dd7vUd0q.js} +2 -2
- package/dist/{vue-ui-dashboard-DkCnNuse.js → vue-ui-dashboard-CKurbu8M.js} +62 -62
- package/dist/{vue-ui-digits-DRsphHt2.js → vue-ui-digits-DfdZI11G.js} +2 -2
- package/dist/{vue-ui-donut-evolution-B5F2-0bh.js → vue-ui-donut-evolution-CKbLO8yR.js} +370 -357
- package/dist/vue-ui-donut-tECBFvud.js +1532 -0
- package/dist/{vue-ui-dumbbell-DqqSxoSh.js → vue-ui-dumbbell-DI5Lj3r_.js} +216 -200
- package/dist/{vue-ui-flow-CTIcUJgV.js → vue-ui-flow-CjU48s9z.js} +217 -201
- package/dist/{vue-ui-funnel-k7KD7Xoc.js → vue-ui-funnel-DM_5vHZ4.js} +213 -197
- package/dist/{vue-ui-galaxy-C9EHaP4I.js → vue-ui-galaxy-ocvZgZJx.js} +215 -202
- package/dist/{vue-ui-gauge-CBiM_1-n.js → vue-ui-gauge-DajNoY-D.js} +220 -204
- package/dist/{vue-ui-gizmo-CAc7b2oK.js → vue-ui-gizmo-DTnzeQbm.js} +3 -3
- package/dist/{vue-ui-heatmap-B3ubrP2v.js → vue-ui-heatmap-CfBS8jQe.js} +244 -224
- package/dist/{vue-ui-history-plot-XCqccO3b.js → vue-ui-history-plot-BuOPWQoP.js} +268 -252
- package/dist/{vue-ui-kpi-DTGMDjaZ.js → vue-ui-kpi-DLGHOIRj.js} +3 -3
- package/dist/{vue-ui-mini-loader-Cn_7nvVq.js → vue-ui-mini-loader-CHAHi4c9.js} +2 -2
- package/dist/{vue-ui-molecule-BugMXFAK.js → vue-ui-molecule-R5-oDFeW.js} +204 -188
- package/dist/{vue-ui-mood-radar-Cv4dHZPL.js → vue-ui-mood-radar-Ddf2gaES.js} +206 -190
- package/dist/vue-ui-nested-donuts-CksklV83.js +1177 -0
- package/dist/{vue-ui-onion-Bha2hRAb.js → vue-ui-onion-D2n4zUkV.js} +196 -180
- package/dist/{vue-ui-parallel-coordinate-plot-DWJ2DWx4.js → vue-ui-parallel-coordinate-plot-CNWQqlxf.js} +194 -178
- package/dist/{vue-ui-quadrant-BKHZoTml.js → vue-ui-quadrant-CxNj2FEx.js} +321 -305
- package/dist/{vue-ui-quick-chart-D_k3lbU8.js → vue-ui-quick-chart-Bm_VmhJR.js} +347 -331
- package/dist/{vue-ui-radar-Co4EOjSk.js → vue-ui-radar-DSYMQJ6K.js} +193 -177
- package/dist/{vue-ui-rating-dtNN0EdX.js → vue-ui-rating-BiQpwXnc.js} +2 -2
- package/dist/{vue-ui-relation-circle-CR4UpQzM.js → vue-ui-relation-circle-Cdxe78Bm.js} +188 -172
- package/dist/{vue-ui-ridgeline-BKX97EnR.js → vue-ui-ridgeline-DpeM2hRi.js} +212 -196
- package/dist/{vue-ui-rings-EPTwyt6D.js → vue-ui-rings-BenmQHKv.js} +223 -210
- package/dist/{vue-ui-scatter-BlxzblSR.js → vue-ui-scatter-mDMY1H6U.js} +288 -273
- package/dist/{vue-ui-skeleton-CjN2ZdgT.js → vue-ui-skeleton-Ch_XkFuP.js} +3 -3
- package/dist/{vue-ui-smiley-DdF_ErYG.js → vue-ui-smiley-DTig5lTU.js} +2 -2
- package/dist/{vue-ui-spark-trend-RdOlCuT9.js → vue-ui-spark-trend-BkDsp8E0.js} +3 -3
- package/dist/{vue-ui-sparkbar-DWufRGcN.js → vue-ui-sparkbar-CgqoyBOm.js} +3 -3
- package/dist/{vue-ui-sparkgauge-IP1O3qyT.js → vue-ui-sparkgauge-B4jR_Y62.js} +3 -3
- package/dist/{vue-ui-sparkhistogram-Cnv9xZ8H.js → vue-ui-sparkhistogram-DfxjglLy.js} +4 -4
- package/dist/{vue-ui-sparkline-CYgeD5V3.js → vue-ui-sparkline-M3QR8xJE.js} +3 -3
- package/dist/{vue-ui-sparkstackbar-BCwoK9xd.js → vue-ui-sparkstackbar-B2Ls-Mb8.js} +3 -3
- package/dist/{vue-ui-stackbar-CqFIvfrK.js → vue-ui-stackbar-DIHkn6__.js} +497 -474
- package/dist/{vue-ui-strip-plot-Dq-kDRai.js → vue-ui-strip-plot-B_ZLbu2D.js} +241 -225
- package/dist/{vue-ui-table-vaIdQnPl.js → vue-ui-table-BhymhDOh.js} +3 -3
- package/dist/{vue-ui-table-heatmap-U_Td0cdh.js → vue-ui-table-heatmap-DokRh4dS.js} +26 -25
- package/dist/{vue-ui-table-sparkline-DkOaHx5L.js → vue-ui-table-sparkline-DxBZGKZJ.js} +8 -7
- package/dist/{vue-ui-thermometer-CzckBZgs.js → vue-ui-thermometer-e2L6IdF-.js} +170 -154
- package/dist/{vue-ui-timer-DSdUshUs.js → vue-ui-timer-BG2EwK3o.js} +5 -5
- package/dist/vue-ui-tiremarks-nzQH7woJ.js +358 -0
- package/dist/vue-ui-treemap-CZxyi6fl.js +965 -0
- package/dist/{vue-ui-vertical-bar-Dd4sYeAC.js → vue-ui-vertical-bar-DahdX1Sn.js} +382 -360
- package/dist/{vue-ui-waffle-DusUVY6y.js → vue-ui-waffle-D399D4UE.js} +234 -221
- package/dist/vue-ui-wheel-DtcwtHzJ.js +352 -0
- package/dist/{vue-ui-word-cloud-_7uYjJ5A.js → vue-ui-word-cloud-CTDceQsf.js} +249 -233
- package/dist/{vue-ui-world-COIyBHII.js → vue-ui-world-BjNSbqMZ.js} +239 -223
- package/dist/vue-ui-xy-BkTP-JpK.js +2958 -0
- package/dist/{vue-ui-xy-canvas-CuYRyub2.js → vue-ui-xy-canvas-BKAowbe0.js} +447 -431
- package/package.json +2 -2
- package/dist/Tooltip-hVZUY_s5.js +0 -149
- package/dist/img-BeMVTwmF.js +0 -20
- package/dist/pdf-DPxOdzfi.js +0 -51
- package/dist/useMouse-AicQS8Vf.js +0 -13
- package/dist/vue-data-ui-nceqWRts.js +0 -301
- package/dist/vue-ui-donut-DSE7ubVv.js +0 -1315
- package/dist/vue-ui-nested-donuts-CYe0Are_.js +0 -1154
- package/dist/vue-ui-tiremarks-B2WWklqG.js +0 -342
- package/dist/vue-ui-treemap-D1dgDhjG.js +0 -952
- package/dist/vue-ui-wheel-ClsKBh52.js +0 -336
- package/dist/vue-ui-xy-C_OUyzTC.js +0 -3135
|
@@ -1,30 +1,31 @@
|
|
|
1
|
-
import { useCssVars as
|
|
2
|
-
import { u as
|
|
3
|
-
import { u as
|
|
4
|
-
import { u as
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
1
|
+
import { useCssVars as $e, computed as d, defineAsyncComponent as A, onMounted as Pe, ref as p, watch as Fe, createElementBlock as u, openBlock as l, unref as i, normalizeStyle as oe, normalizeClass as S, createBlock as M, createCommentVNode as c, createSlots as Oe, withCtx as C, renderSlot as f, normalizeProps as U, guardReactiveProps as Y, createVNode as Ie, createElementVNode as v, Fragment as N, renderList as ae, toDisplayString as Ae } from "vue";
|
|
2
|
+
import { u as Se, o as Me, e as le, g as Ue, c as Ye, t as Ne, p as $, a as Te, b as Ve, v as g, d as T, X as qe, s as Le, i as Ee, f as Ge } from "./index-BzfnuLnw.js";
|
|
3
|
+
import { u as re } from "./useNestedProp-DorElw91.js";
|
|
4
|
+
import { u as We } from "./usePrinter-C9qkgv0r.js";
|
|
5
|
+
import { u as Be } from "./useUserOptionState-BIvW1Kz7.js";
|
|
6
|
+
import { u as Re } from "./useChartAccessibility-9icAAmYg.js";
|
|
7
|
+
import je from "./Title-pVYRzQXY.js";
|
|
8
|
+
import ze from "./img-ku4zevVD.js";
|
|
9
|
+
import { _ as De } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
|
+
const He = ["id"], Xe = {
|
|
10
11
|
key: 1,
|
|
11
12
|
ref: "noTitle",
|
|
12
13
|
class: "vue-data-ui-no-title-space",
|
|
13
14
|
style: "height:36px; width: 100%;background:transparent"
|
|
14
|
-
},
|
|
15
|
+
}, Je = {
|
|
15
16
|
key: 2,
|
|
16
17
|
style: "width:100%"
|
|
17
|
-
},
|
|
18
|
+
}, Ke = ["xmlns", "viewBox"], Qe = ["width", "height"], Ze = {
|
|
18
19
|
id: "vueUiPill",
|
|
19
20
|
clipPathUnits: "objectBoundingBox"
|
|
20
|
-
},
|
|
21
|
+
}, et = ["fill"], tt = ["id"], st = ["stop-color"], ot = ["stop-color"], at = ["stop-color"], lt = { "clip-path": "url(#vueUiPill)" }, rt = ["x", "y", "height", "width"], nt = ["x", "y", "height", "width", "fill"], ut = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], it = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ct = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ht = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], dt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], vt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], yt = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], ft = ["x1", "x2", "y1", "y2", "stroke-width", "stroke"], gt = ["x", "y", "height", "width"], pt = ["y", "x", "fill", "font-size", "font-weight"], mt = {
|
|
21
22
|
key: 5,
|
|
22
23
|
class: "vue-data-ui-watermark"
|
|
23
|
-
},
|
|
24
|
+
}, kt = {
|
|
24
25
|
key: 6,
|
|
25
26
|
ref: "source",
|
|
26
27
|
dir: "auto"
|
|
27
|
-
},
|
|
28
|
+
}, bt = {
|
|
28
29
|
__name: "vue-ui-thermometer",
|
|
29
30
|
props: {
|
|
30
31
|
dataset: {
|
|
@@ -40,22 +41,22 @@ const Re = ["id"], De = {
|
|
|
40
41
|
}
|
|
41
42
|
}
|
|
42
43
|
},
|
|
43
|
-
setup(
|
|
44
|
-
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
44
|
+
setup(P, { expose: ne }) {
|
|
45
|
+
$e((s) => ({
|
|
46
|
+
"7efc96cd": me.value,
|
|
47
|
+
"4d37cb61": pe.value,
|
|
48
|
+
"295a76e4": ge.value
|
|
48
49
|
}));
|
|
49
|
-
const
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
const ue = A(() => import("./PackageVersion-CAkNkiIG.js")), ie = A(() => import("./PenAndPaper-Cx1-5zdD.js")), ce = A(() => import("./vue-ui-skeleton-Ch_XkFuP.js")), he = A(() => import("./UserOptions-DAsRxxrf.js")), { vue_ui_thermometer: de } = Se(), r = P, V = d(() => !!r.dataset && Object.keys(r.dataset).length);
|
|
51
|
+
Pe(() => {
|
|
52
|
+
B();
|
|
52
53
|
});
|
|
53
|
-
function
|
|
54
|
-
Me(
|
|
54
|
+
function B() {
|
|
55
|
+
Me(r.dataset) ? le({
|
|
55
56
|
componentName: "VueUiThermometer",
|
|
56
57
|
type: "dataset"
|
|
57
|
-
}) :
|
|
58
|
-
datasetObject:
|
|
58
|
+
}) : Ue({
|
|
59
|
+
datasetObject: r.dataset,
|
|
59
60
|
requiredAttributes: ["value", "from", "to"]
|
|
60
61
|
}).forEach((s) => {
|
|
61
62
|
le({
|
|
@@ -65,84 +66,84 @@ const Re = ["id"], De = {
|
|
|
65
66
|
});
|
|
66
67
|
});
|
|
67
68
|
}
|
|
68
|
-
const m = p(
|
|
69
|
+
const m = p(Ye()), k = p(null), R = p(0), j = p(0), e = d({
|
|
69
70
|
get: () => X(),
|
|
70
71
|
set: (s) => s
|
|
71
|
-
}), { userOptionsVisible:
|
|
72
|
+
}), { userOptionsVisible: q, setUserOptionsVisibility: z, keepUserOptionState: D } = Be({ config: e.value }), { svgRef: H } = Re({ config: e.value.style.title });
|
|
72
73
|
function X() {
|
|
73
|
-
const s =
|
|
74
|
-
userConfig:
|
|
75
|
-
defaultConfig:
|
|
74
|
+
const s = re({
|
|
75
|
+
userConfig: r.config,
|
|
76
|
+
defaultConfig: de
|
|
76
77
|
});
|
|
77
78
|
return s.theme ? {
|
|
78
|
-
...
|
|
79
|
-
userConfig:
|
|
79
|
+
...re({
|
|
80
|
+
userConfig: Te.vue_ui_thermometer[s.theme] || r.config,
|
|
80
81
|
defaultConfig: s
|
|
81
82
|
}),
|
|
82
|
-
customPalette:
|
|
83
|
+
customPalette: Ne[s.theme] || $
|
|
83
84
|
} : s;
|
|
84
85
|
}
|
|
85
|
-
|
|
86
|
-
e.value = X(),
|
|
86
|
+
Fe(() => r.config, (s) => {
|
|
87
|
+
e.value = X(), q.value = !e.value.userOptions.showOnChartHover, B(), j.value += 1;
|
|
87
88
|
}, { deep: !0 });
|
|
88
|
-
const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } =
|
|
89
|
+
const { isPrinting: J, isImaging: K, generatePdf: Q, generateImage: Z } = We({
|
|
89
90
|
elementId: `thermometer__${m.value}`,
|
|
90
91
|
fileName: e.value.style.title.text || "vue-ui-thermometer",
|
|
91
92
|
options: e.value.userOptions.print
|
|
92
|
-
}),
|
|
93
|
+
}), ve = d(() => e.value.userOptions.show && !e.value.style.title.text), F = d(() => Ve(e.value.customPalette)), ye = d(() => e.value.style.chart.thermometer.width), y = d(() => r.dataset.steps || 10), h = p({
|
|
93
94
|
top: e.value.style.chart.padding.top,
|
|
94
95
|
left: e.value.style.chart.padding.left,
|
|
95
96
|
right: e.value.style.chart.padding.right,
|
|
96
97
|
bottom: e.value.style.chart.padding.bottom
|
|
97
98
|
});
|
|
98
|
-
function
|
|
99
|
-
const n = [],
|
|
100
|
-
for (let
|
|
101
|
-
const
|
|
102
|
-
n.push(
|
|
99
|
+
function O(s, a, t) {
|
|
100
|
+
const n = [], x = ee(s), w = ee(a);
|
|
101
|
+
for (let _ = 0; _ < t; _++) {
|
|
102
|
+
const xe = L(x.red, w.red, _, t), we = L(x.green, w.green, _, t), _e = L(x.blue, w.blue, _, t), Ce = `#${E(xe)}${E(we)}${E(_e)}`;
|
|
103
|
+
n.push(Ce);
|
|
103
104
|
}
|
|
104
105
|
return n;
|
|
105
106
|
}
|
|
106
107
|
function ee(s) {
|
|
107
|
-
const
|
|
108
|
+
const a = s.slice(1);
|
|
108
109
|
return {
|
|
109
|
-
red: parseInt(
|
|
110
|
-
green: parseInt(
|
|
111
|
-
blue: parseInt(
|
|
110
|
+
red: parseInt(a.slice(0, 2), 16),
|
|
111
|
+
green: parseInt(a.slice(2, 4), 16),
|
|
112
|
+
blue: parseInt(a.slice(4, 6), 16)
|
|
112
113
|
};
|
|
113
114
|
}
|
|
114
|
-
function
|
|
115
|
-
return Math.round(s + (
|
|
115
|
+
function L(s, a, t, n) {
|
|
116
|
+
return Math.round(s + (a - s) * t / n);
|
|
116
117
|
}
|
|
117
|
-
function
|
|
118
|
+
function E(s) {
|
|
118
119
|
return s.toString(16).padStart(2, "0");
|
|
119
120
|
}
|
|
120
121
|
const o = d(() => {
|
|
121
|
-
const s =
|
|
122
|
+
const s = ye.value + h.value.left + h.value.right, a = e.value.style.chart.height;
|
|
122
123
|
return {
|
|
123
124
|
width: s,
|
|
124
125
|
left: h.value.left,
|
|
125
126
|
right: s - h.value.right,
|
|
126
127
|
top: h.value.top,
|
|
127
|
-
bottom:
|
|
128
|
-
height:
|
|
128
|
+
bottom: a - h.value.bottom,
|
|
129
|
+
height: a
|
|
129
130
|
};
|
|
130
|
-
}),
|
|
131
|
-
const s = g(
|
|
131
|
+
}), fe = d(() => o.value), G = d(() => {
|
|
132
|
+
const s = g(r.dataset.from) < 0 ? Math.abs(g(r.dataset.from)) : g(r.dataset.from), a = g(r.dataset.to) < 0 ? Math.abs(g(r.dataset.to)) : g(r.dataset.to);
|
|
132
133
|
let t = 0;
|
|
133
|
-
return g(
|
|
134
|
-
}),
|
|
135
|
-
if (
|
|
136
|
-
if (!
|
|
137
|
-
return
|
|
138
|
-
if (!
|
|
139
|
-
return
|
|
134
|
+
return g(r.dataset.to) > 0 ? t = s + a : s > a ? t = s - a : t = a - s, (1 - (Math.abs(g(r.dataset.from)) + g(r.dataset.value)) / t) * (o.value.height - h.value.top - h.value.bottom);
|
|
135
|
+
}), ge = d(() => `${G.value}px`), pe = d(() => `${o.value.height - e.value.style.chart.padding.bottom - h.value.top}px`), me = d(() => `${e.value.style.chart.animation.speedMs}ms`), ke = d(() => {
|
|
136
|
+
if (r.dataset.colors) {
|
|
137
|
+
if (!r.dataset.colors.from)
|
|
138
|
+
return O(F.value[0] || $[0], T(r.dataset.colors.to), y.value || 10);
|
|
139
|
+
if (!r.dataset.colors.to)
|
|
140
|
+
return O(T(r.dataset.colors.from), F.value[1] || $[1], y.value || 10);
|
|
140
141
|
} else
|
|
141
|
-
return
|
|
142
|
-
return
|
|
142
|
+
return O(F.value[1] || $[1], F.value[0] || $[0], y.value || 10);
|
|
143
|
+
return O(T(r.dataset.colors.from), T(r.dataset.colors.to), y.value || 10);
|
|
143
144
|
}), te = d(() => {
|
|
144
145
|
const s = [];
|
|
145
|
-
let
|
|
146
|
+
let a = 0;
|
|
146
147
|
const t = o.value.height - h.value.top - h.value.bottom;
|
|
147
148
|
for (let n = 0; n < t - 1; n += t / y.value)
|
|
148
149
|
s.push({
|
|
@@ -151,43 +152,57 @@ const Re = ["id"], De = {
|
|
|
151
152
|
qYLess: o.value.top + n + t / y.value / 4,
|
|
152
153
|
halfY: o.value.top + n + t / y.value / 2,
|
|
153
154
|
qYMore: o.value.top + n + t / y.value / 4 * 3,
|
|
154
|
-
color:
|
|
155
|
+
color: ke.value[a],
|
|
155
156
|
height: t / y.value
|
|
156
|
-
}),
|
|
157
|
+
}), a += 1;
|
|
157
158
|
return s;
|
|
158
|
-
}),
|
|
159
|
-
function
|
|
160
|
-
|
|
159
|
+
}), b = p(!1);
|
|
160
|
+
function se(s) {
|
|
161
|
+
b.value = s, R.value += 1;
|
|
162
|
+
}
|
|
163
|
+
const I = p(!1);
|
|
164
|
+
function W() {
|
|
165
|
+
I.value = !I.value;
|
|
161
166
|
}
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
167
|
+
async function be({ scale: s = 2 } = {}) {
|
|
168
|
+
if (!k.value) return;
|
|
169
|
+
const { width: a, height: t } = k.value.getBoundingClientRect(), n = a / t, { imageUri: x, base64: w } = await ze({ domElement: k.value, base64: !0, img: !0, scale: s });
|
|
170
|
+
return {
|
|
171
|
+
imageUri: x,
|
|
172
|
+
base64: w,
|
|
173
|
+
title: e.value.style.title.text,
|
|
174
|
+
width: a,
|
|
175
|
+
height: t,
|
|
176
|
+
aspectRatio: n
|
|
177
|
+
};
|
|
165
178
|
}
|
|
166
|
-
return
|
|
179
|
+
return ne({
|
|
180
|
+
getImage: be,
|
|
167
181
|
generatePdf: Q,
|
|
168
182
|
generateImage: Z,
|
|
169
|
-
toggleAnnotator:
|
|
170
|
-
|
|
183
|
+
toggleAnnotator: W,
|
|
184
|
+
toggleFullscreen: se
|
|
185
|
+
}), (s, a) => (l(), u("div", {
|
|
171
186
|
ref_key: "thermoChart",
|
|
172
|
-
ref:
|
|
173
|
-
class:
|
|
174
|
-
style:
|
|
187
|
+
ref: k,
|
|
188
|
+
class: S(`vue-ui-thermometer ${b.value ? "vue-data-ui-wrapper-fullscreen" : ""}`),
|
|
189
|
+
style: oe(`width:100%;background:${e.value.style.chart.backgroundColor};color:${e.value.style.chart.color};font-family:${e.value.style.fontFamily}`),
|
|
175
190
|
id: `thermometer__${m.value}`,
|
|
176
|
-
onMouseenter:
|
|
177
|
-
onMouseleave:
|
|
191
|
+
onMouseenter: a[0] || (a[0] = () => i(z)(!0)),
|
|
192
|
+
onMouseleave: a[1] || (a[1] = () => i(z)(!1))
|
|
178
193
|
}, [
|
|
179
|
-
e.value.userOptions.buttons.annotator ? (l(),
|
|
194
|
+
e.value.userOptions.buttons.annotator ? (l(), M(i(ie), {
|
|
180
195
|
key: 0,
|
|
181
196
|
svgRef: i(H),
|
|
182
197
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
183
198
|
color: e.value.style.chart.color,
|
|
184
|
-
active:
|
|
185
|
-
onClose:
|
|
199
|
+
active: I.value,
|
|
200
|
+
onClose: W
|
|
186
201
|
}, null, 8, ["svgRef", "backgroundColor", "color", "active"])) : c("", !0),
|
|
187
|
-
|
|
188
|
-
e.value.style.title.text ? (l(), u("div",
|
|
189
|
-
(l(),
|
|
190
|
-
key: `title_${
|
|
202
|
+
ve.value ? (l(), u("div", Xe, null, 512)) : c("", !0),
|
|
203
|
+
e.value.style.title.text ? (l(), u("div", Je, [
|
|
204
|
+
(l(), M(je, {
|
|
205
|
+
key: `title_${j.value}`,
|
|
191
206
|
config: {
|
|
192
207
|
title: {
|
|
193
208
|
cy: "thermometer-div-title",
|
|
@@ -200,9 +215,9 @@ const Re = ["id"], De = {
|
|
|
200
215
|
}
|
|
201
216
|
}, null, 8, ["config"]))
|
|
202
217
|
])) : c("", !0),
|
|
203
|
-
e.value.userOptions.show &&
|
|
218
|
+
e.value.userOptions.show && V.value && (i(D) || i(q)) ? (l(), M(i(he), {
|
|
204
219
|
ref: "details",
|
|
205
|
-
key: `user_options_${
|
|
220
|
+
key: `user_options_${R.value}`,
|
|
206
221
|
backgroundColor: e.value.style.chart.backgroundColor,
|
|
207
222
|
color: e.value.style.chart.color,
|
|
208
223
|
isImaging: i(K),
|
|
@@ -212,68 +227,69 @@ const Re = ["id"], De = {
|
|
|
212
227
|
hasImg: e.value.userOptions.buttons.img,
|
|
213
228
|
hasFullscreen: e.value.userOptions.buttons.fullscreen,
|
|
214
229
|
hasXls: !1,
|
|
215
|
-
isFullscreen:
|
|
230
|
+
isFullscreen: b.value,
|
|
216
231
|
titles: { ...e.value.userOptions.buttonTitles },
|
|
217
|
-
chartElement:
|
|
232
|
+
chartElement: k.value,
|
|
218
233
|
position: e.value.userOptions.position,
|
|
219
234
|
hasAnnotator: e.value.userOptions.buttons.annotator,
|
|
220
|
-
isAnnotation:
|
|
235
|
+
isAnnotation: I.value,
|
|
221
236
|
callbacks: e.value.userOptions.callbacks,
|
|
222
|
-
|
|
237
|
+
printScale: e.value.userOptions.print.scale,
|
|
238
|
+
onToggleFullscreen: se,
|
|
223
239
|
onGeneratePdf: i(Q),
|
|
224
240
|
onGenerateImage: i(Z),
|
|
225
|
-
onToggleAnnotator:
|
|
226
|
-
style:
|
|
227
|
-
visibility: i(D) ? i(
|
|
241
|
+
onToggleAnnotator: W,
|
|
242
|
+
style: oe({
|
|
243
|
+
visibility: i(D) ? i(q) ? "visible" : "hidden" : "visible"
|
|
228
244
|
})
|
|
229
|
-
},
|
|
245
|
+
}, Oe({ _: 2 }, [
|
|
230
246
|
s.$slots.menuIcon ? {
|
|
231
247
|
name: "menuIcon",
|
|
232
|
-
fn:
|
|
233
|
-
f(s.$slots, "menuIcon",
|
|
248
|
+
fn: C(({ isOpen: t, color: n }) => [
|
|
249
|
+
f(s.$slots, "menuIcon", U(Y({ isOpen: t, color: n })), void 0, !0)
|
|
234
250
|
]),
|
|
235
251
|
key: "0"
|
|
236
252
|
} : void 0,
|
|
237
253
|
s.$slots.optionPdf ? {
|
|
238
254
|
name: "optionPdf",
|
|
239
|
-
fn:
|
|
255
|
+
fn: C(() => [
|
|
240
256
|
f(s.$slots, "optionPdf", {}, void 0, !0)
|
|
241
257
|
]),
|
|
242
258
|
key: "1"
|
|
243
259
|
} : void 0,
|
|
244
260
|
s.$slots.optionImg ? {
|
|
245
261
|
name: "optionImg",
|
|
246
|
-
fn:
|
|
262
|
+
fn: C(() => [
|
|
247
263
|
f(s.$slots, "optionImg", {}, void 0, !0)
|
|
248
264
|
]),
|
|
249
265
|
key: "2"
|
|
250
266
|
} : void 0,
|
|
251
267
|
s.$slots.optionFullscreen ? {
|
|
252
268
|
name: "optionFullscreen",
|
|
253
|
-
fn:
|
|
254
|
-
f(s.$slots, "optionFullscreen",
|
|
269
|
+
fn: C(({ toggleFullscreen: t, isFullscreen: n }) => [
|
|
270
|
+
f(s.$slots, "optionFullscreen", U(Y({ toggleFullscreen: t, isFullscreen: n })), void 0, !0)
|
|
255
271
|
]),
|
|
256
272
|
key: "3"
|
|
257
273
|
} : void 0,
|
|
258
274
|
s.$slots.optionAnnotator ? {
|
|
259
275
|
name: "optionAnnotator",
|
|
260
|
-
fn:
|
|
261
|
-
f(s.$slots, "optionAnnotator",
|
|
276
|
+
fn: C(({ toggleAnnotator: t, isAnnotator: n }) => [
|
|
277
|
+
f(s.$slots, "optionAnnotator", U(Y({ toggleAnnotator: t, isAnnotator: n })), void 0, !0)
|
|
262
278
|
]),
|
|
263
279
|
key: "4"
|
|
264
280
|
} : void 0
|
|
265
|
-
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
266
|
-
|
|
281
|
+
]), 1032, ["backgroundColor", "color", "isImaging", "isPrinting", "uid", "hasPdf", "hasImg", "hasFullscreen", "isFullscreen", "titles", "chartElement", "position", "hasAnnotator", "isAnnotation", "callbacks", "printScale", "onGeneratePdf", "onGenerateImage", "style"])) : c("", !0),
|
|
282
|
+
V.value ? (l(), u("svg", {
|
|
267
283
|
key: 4,
|
|
268
284
|
ref_key: "svgRef",
|
|
269
285
|
ref: H,
|
|
270
|
-
xmlns: i(
|
|
271
|
-
class:
|
|
286
|
+
xmlns: i(qe),
|
|
287
|
+
class: S({ "vue-data-ui-fullscreen--on": b.value, "vue-data-ui-fulscreen--off": !b.value }),
|
|
272
288
|
width: "100%",
|
|
273
289
|
viewBox: `0 0 ${o.value.width} ${o.value.height}`,
|
|
274
290
|
style: "background:transparent"
|
|
275
291
|
}, [
|
|
276
|
-
|
|
292
|
+
Ie(i(ue)),
|
|
277
293
|
s.$slots["chart-background"] ? (l(), u("foreignObject", {
|
|
278
294
|
key: 0,
|
|
279
295
|
x: 0,
|
|
@@ -285,9 +301,9 @@ const Re = ["id"], De = {
|
|
|
285
301
|
}
|
|
286
302
|
}, [
|
|
287
303
|
f(s.$slots, "chart-background", {}, void 0, !0)
|
|
288
|
-
], 8,
|
|
304
|
+
], 8, Qe)) : c("", !0),
|
|
289
305
|
v("defs", null, [
|
|
290
|
-
v("clipPath",
|
|
306
|
+
v("clipPath", Ze, [
|
|
291
307
|
v("rect", {
|
|
292
308
|
x: "0",
|
|
293
309
|
y: "0",
|
|
@@ -296,9 +312,9 @@ const Re = ["id"], De = {
|
|
|
296
312
|
rx: "0.5",
|
|
297
313
|
ry: "0.07",
|
|
298
314
|
fill: e.value.style.chart.backgroundColor
|
|
299
|
-
}, null, 8,
|
|
315
|
+
}, null, 8, et)
|
|
300
316
|
]),
|
|
301
|
-
(l(!0), u(
|
|
317
|
+
(l(!0), u(N, null, ae(te.value, (t, n) => (l(), u("linearGradient", {
|
|
302
318
|
id: `vueUiThermometerGradient_${n}_${m.value}`,
|
|
303
319
|
x1: "0%",
|
|
304
320
|
y1: "0%",
|
|
@@ -308,26 +324,26 @@ const Re = ["id"], De = {
|
|
|
308
324
|
v("stop", {
|
|
309
325
|
offset: "0%",
|
|
310
326
|
"stop-color": t.color
|
|
311
|
-
}, null, 8,
|
|
327
|
+
}, null, 8, st),
|
|
312
328
|
v("stop", {
|
|
313
329
|
offset: "50%",
|
|
314
|
-
"stop-color": i(
|
|
315
|
-
}, null, 8,
|
|
330
|
+
"stop-color": i(Le)(t.color, 100 - e.value.style.chart.graduations.gradient.intensity)
|
|
331
|
+
}, null, 8, ot),
|
|
316
332
|
v("stop", {
|
|
317
333
|
offset: "100%",
|
|
318
334
|
"stop-color": t.color
|
|
319
|
-
}, null, 8,
|
|
320
|
-
], 8,
|
|
335
|
+
}, null, 8, at)
|
|
336
|
+
], 8, tt))), 256))
|
|
321
337
|
]),
|
|
322
|
-
v("g",
|
|
338
|
+
v("g", lt, [
|
|
323
339
|
v("rect", {
|
|
324
340
|
x: o.value.left,
|
|
325
341
|
y: o.value.top,
|
|
326
342
|
height: o.value.height - h.value.top - h.value.bottom,
|
|
327
343
|
width: o.value.width - h.value.left - h.value.right,
|
|
328
344
|
fill: "#FFFFFF"
|
|
329
|
-
}, null, 8,
|
|
330
|
-
(l(!0), u(
|
|
345
|
+
}, null, 8, rt),
|
|
346
|
+
(l(!0), u(N, null, ae(te.value, (t, n) => (l(), u("g", {
|
|
331
347
|
key: `graduation_${n}`
|
|
332
348
|
}, [
|
|
333
349
|
v("rect", {
|
|
@@ -337,7 +353,7 @@ const Re = ["id"], De = {
|
|
|
337
353
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
338
354
|
fill: e.value.style.chart.graduations.gradient.show ? `url(#vueUiThermometerGradient_${n}_${m.value})` : t.color,
|
|
339
355
|
"shape-rendering": "crispEdges"
|
|
340
|
-
}, null, 8,
|
|
356
|
+
}, null, 8, nt),
|
|
341
357
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
342
358
|
key: 0,
|
|
343
359
|
x1: t.x,
|
|
@@ -347,8 +363,8 @@ const Re = ["id"], De = {
|
|
|
347
363
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
348
364
|
stroke: e.value.style.chart.graduations.stroke,
|
|
349
365
|
"stroke-linecap": "round"
|
|
350
|
-
}, null, 8,
|
|
351
|
-
e.value.style.chart.graduations.showIntermediate ? (l(), u(
|
|
366
|
+
}, null, 8, ut)) : c("", !0),
|
|
367
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(N, { key: 1 }, [
|
|
352
368
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
353
369
|
key: 0,
|
|
354
370
|
x1: t.x,
|
|
@@ -358,7 +374,7 @@ const Re = ["id"], De = {
|
|
|
358
374
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
359
375
|
stroke: e.value.style.chart.graduations.stroke,
|
|
360
376
|
"stroke-linecap": "round"
|
|
361
|
-
}, null, 8,
|
|
377
|
+
}, null, 8, it)) : c("", !0),
|
|
362
378
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
363
379
|
key: 1,
|
|
364
380
|
x1: t.x,
|
|
@@ -368,7 +384,7 @@ const Re = ["id"], De = {
|
|
|
368
384
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
369
385
|
stroke: e.value.style.chart.graduations.stroke,
|
|
370
386
|
"stroke-linecap": "round"
|
|
371
|
-
}, null, 8,
|
|
387
|
+
}, null, 8, ct)) : c("", !0),
|
|
372
388
|
e.value.style.chart.graduations.show && ["both", "left"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
373
389
|
key: 2,
|
|
374
390
|
x1: t.x,
|
|
@@ -378,7 +394,7 @@ const Re = ["id"], De = {
|
|
|
378
394
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
379
395
|
stroke: e.value.style.chart.graduations.stroke,
|
|
380
396
|
"stroke-linecap": "round"
|
|
381
|
-
}, null, 8,
|
|
397
|
+
}, null, 8, ht)) : c("", !0)
|
|
382
398
|
], 64)) : c("", !0),
|
|
383
399
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
384
400
|
key: 2,
|
|
@@ -389,8 +405,8 @@ const Re = ["id"], De = {
|
|
|
389
405
|
"stroke-width": e.value.style.chart.graduations.strokeWidth,
|
|
390
406
|
stroke: e.value.style.chart.graduations.stroke,
|
|
391
407
|
"stroke-linecap": "round"
|
|
392
|
-
}, null, 8,
|
|
393
|
-
e.value.style.chart.graduations.showIntermediate ? (l(), u(
|
|
408
|
+
}, null, 8, dt)) : c("", !0),
|
|
409
|
+
e.value.style.chart.graduations.showIntermediate ? (l(), u(N, { key: 3 }, [
|
|
394
410
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
395
411
|
key: 0,
|
|
396
412
|
x1: o.value.right,
|
|
@@ -400,7 +416,7 @@ const Re = ["id"], De = {
|
|
|
400
416
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
401
417
|
stroke: e.value.style.chart.graduations.stroke,
|
|
402
418
|
"stroke-linecap": "round"
|
|
403
|
-
}, null, 8,
|
|
419
|
+
}, null, 8, vt)) : c("", !0),
|
|
404
420
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
405
421
|
key: 1,
|
|
406
422
|
x1: o.value.right,
|
|
@@ -410,7 +426,7 @@ const Re = ["id"], De = {
|
|
|
410
426
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
411
427
|
stroke: e.value.style.chart.graduations.stroke,
|
|
412
428
|
"stroke-linecap": "round"
|
|
413
|
-
}, null, 8,
|
|
429
|
+
}, null, 8, yt)) : c("", !0),
|
|
414
430
|
e.value.style.chart.graduations.show && ["both", "right"].includes(e.value.style.chart.graduations.sides) ? (l(), u("line", {
|
|
415
431
|
key: 2,
|
|
416
432
|
x1: o.value.right,
|
|
@@ -420,46 +436,46 @@ const Re = ["id"], De = {
|
|
|
420
436
|
"stroke-width": e.value.style.chart.graduations.strokeWidth / 2,
|
|
421
437
|
stroke: e.value.style.chart.graduations.stroke,
|
|
422
438
|
"stroke-linecap": "round"
|
|
423
|
-
}, null, 8,
|
|
439
|
+
}, null, 8, ft)) : c("", !0)
|
|
424
440
|
], 64)) : c("", !0)
|
|
425
441
|
]))), 128)),
|
|
426
442
|
v("rect", {
|
|
427
|
-
class:
|
|
443
|
+
class: S({ "vue-ui-thermometer-temperature": e.value.style.chart.animation.use }),
|
|
428
444
|
x: o.value.left,
|
|
429
445
|
y: o.value.top,
|
|
430
|
-
height:
|
|
446
|
+
height: G.value,
|
|
431
447
|
width: o.value.width - e.value.style.chart.padding.left - e.value.style.chart.padding.right,
|
|
432
448
|
fill: "#FFFFFF66"
|
|
433
|
-
}, null, 10,
|
|
449
|
+
}, null, 10, gt)
|
|
434
450
|
]),
|
|
435
451
|
v("text", {
|
|
436
|
-
class:
|
|
437
|
-
y:
|
|
452
|
+
class: S({ "vue-ui-thermometer-temperature-value": e.value.style.chart.animation.use }),
|
|
453
|
+
y: G.value + o.value.top + e.value.style.chart.label.fontSize / 3,
|
|
438
454
|
x: o.value.left - 10,
|
|
439
455
|
"text-anchor": "end",
|
|
440
456
|
fill: e.value.style.chart.label.color,
|
|
441
457
|
"font-size": e.value.style.chart.label.fontSize,
|
|
442
458
|
"font-weight": e.value.style.chart.label.bold ? "bold" : "normal"
|
|
443
|
-
},
|
|
459
|
+
}, Ae(i(Ee)(
|
|
444
460
|
e.value.style.chart.label.formatter,
|
|
445
|
-
|
|
446
|
-
i(
|
|
461
|
+
P.dataset.value,
|
|
462
|
+
i(Ge)({
|
|
447
463
|
p: e.value.style.chart.label.prefix,
|
|
448
|
-
v:
|
|
464
|
+
v: P.dataset.value,
|
|
449
465
|
s: e.value.style.chart.label.suffix,
|
|
450
466
|
r: e.value.style.chart.label.rounding
|
|
451
467
|
}),
|
|
452
|
-
{ datapoint:
|
|
453
|
-
)), 11,
|
|
454
|
-
f(s.$slots, "svg", { svg:
|
|
455
|
-
], 10,
|
|
456
|
-
s.$slots.watermark ? (l(), u("div",
|
|
457
|
-
f(s.$slots, "watermark",
|
|
468
|
+
{ datapoint: P.dataset }
|
|
469
|
+
)), 11, pt),
|
|
470
|
+
f(s.$slots, "svg", { svg: fe.value }, void 0, !0)
|
|
471
|
+
], 10, Ke)) : c("", !0),
|
|
472
|
+
s.$slots.watermark ? (l(), u("div", mt, [
|
|
473
|
+
f(s.$slots, "watermark", U(Y({ isPrinting: i(J) || i(K) })), void 0, !0)
|
|
458
474
|
])) : c("", !0),
|
|
459
|
-
s.$slots.source ? (l(), u("div",
|
|
475
|
+
s.$slots.source ? (l(), u("div", kt, [
|
|
460
476
|
f(s.$slots, "source", {}, void 0, !0)
|
|
461
477
|
], 512)) : c("", !0),
|
|
462
|
-
|
|
478
|
+
V.value ? c("", !0) : (l(), M(i(ce), {
|
|
463
479
|
key: 7,
|
|
464
480
|
config: {
|
|
465
481
|
type: "thermometer",
|
|
@@ -471,9 +487,9 @@ const Re = ["id"], De = {
|
|
|
471
487
|
}
|
|
472
488
|
}
|
|
473
489
|
}, null, 8, ["config"]))
|
|
474
|
-
], 46,
|
|
490
|
+
], 46, He));
|
|
475
491
|
}
|
|
476
|
-
},
|
|
492
|
+
}, At = /* @__PURE__ */ De(bt, [["__scopeId", "data-v-8985051a"]]);
|
|
477
493
|
export {
|
|
478
|
-
|
|
494
|
+
At as default
|
|
479
495
|
};
|
|
@@ -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-DorElw91.js";
|
|
3
|
+
import { u as ce, c as ve, X as de, E as X } from "./index-BzfnuLnw.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-pVYRzQXY.js";
|
|
7
|
+
import R from "./BaseIcon-BmZ4MREl.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-CAkNkiIG.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
|
});
|