@ug666/ui-vue 0.1.0 → 0.2.0
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/aliases-CKe0wVQy.cjs +2 -0
- package/dist/aliases-CKe0wVQy.cjs.map +1 -0
- package/dist/aliases-u3xep8jx.js +2732 -0
- package/dist/aliases-u3xep8jx.js.map +1 -0
- package/dist/aliases.d.ts +49 -0
- package/dist/aliases.d.ts.map +1 -0
- package/dist/blocks/feature-grid.vue.d.ts +44 -0
- package/dist/blocks/feature-grid.vue.d.ts.map +1 -0
- package/dist/blocks/index.cjs +2 -0
- package/dist/blocks/index.cjs.map +1 -0
- package/dist/blocks/index.d.ts +10 -0
- package/dist/blocks/index.d.ts.map +1 -0
- package/dist/blocks/index.js +137 -0
- package/dist/blocks/index.js.map +1 -0
- package/dist/blocks/landing-hero.vue.d.ts +59 -0
- package/dist/blocks/landing-hero.vue.d.ts.map +1 -0
- package/dist/button-C10AiP5_.cjs +2 -0
- package/dist/button-C10AiP5_.cjs.map +1 -0
- package/dist/button-Sy9e0tiI.js +1742 -0
- package/dist/button-Sy9e0tiI.js.map +1 -0
- package/dist/component-layers.d.ts +199 -0
- package/dist/component-layers.d.ts.map +1 -0
- package/dist/components/card.vue.d.ts.map +1 -1
- package/dist/components/checkbox.vue.d.ts.map +1 -1
- package/dist/components/context-menu.vue.d.ts.map +1 -1
- package/dist/components/descriptions.vue.d.ts.map +1 -1
- package/dist/components/dropdown.vue.d.ts.map +1 -1
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.ts +50 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +5 -0
- package/dist/components/pagination.vue.d.ts.map +1 -1
- package/dist/components/popover.vue.d.ts.map +1 -1
- package/dist/components/progress.vue.d.ts +4 -3
- package/dist/components/progress.vue.d.ts.map +1 -1
- package/dist/components/radio.vue.d.ts.map +1 -1
- package/dist/components/select.vue.d.ts +2 -0
- package/dist/components/select.vue.d.ts.map +1 -1
- package/dist/components/sidebar.vue.d.ts +39 -5
- package/dist/components/sidebar.vue.d.ts.map +1 -1
- package/dist/components/steps.vue.d.ts.map +1 -1
- package/dist/components/switch.vue.d.ts.map +1 -1
- package/dist/components/tag.vue.d.ts +1 -1
- package/dist/components/tag.vue.d.ts.map +1 -1
- package/dist/components/tooltip.vue.d.ts.map +1 -1
- package/dist/composables/index.cjs +1 -1
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/composables/index.js +3 -2
- package/dist/composables-GXmQiqgg.cjs +2 -0
- package/dist/composables-GXmQiqgg.cjs.map +1 -0
- package/dist/{composables-BwdwEG7n.js → composables-YMNfao5g.js} +68 -113
- package/dist/composables-YMNfao5g.js.map +1 -0
- package/dist/global.cjs +1 -0
- package/dist/global.d.ts +107 -0
- package/dist/global.d.ts.map +1 -0
- package/dist/global.js +0 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +5 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +321 -2927
- package/dist/index.js.map +1 -1
- package/dist/internal/cn.d.ts +3 -0
- package/dist/internal/cn.d.ts.map +1 -0
- package/dist/labs/index.cjs +2 -0
- package/dist/labs/index.cjs.map +1 -0
- package/dist/labs/index.d.ts +10 -0
- package/dist/labs/index.d.ts.map +1 -0
- package/dist/labs/index.js +9 -0
- package/dist/labs/index.js.map +1 -0
- package/dist/patterns/admin-shell.vue.d.ts +73 -0
- package/dist/patterns/admin-shell.vue.d.ts.map +1 -0
- package/dist/patterns/confirm-dialog.vue.d.ts +62 -0
- package/dist/patterns/confirm-dialog.vue.d.ts.map +1 -0
- package/dist/patterns/copy-field.vue.d.ts +51 -0
- package/dist/patterns/copy-field.vue.d.ts.map +1 -0
- package/dist/patterns/index.cjs +2 -0
- package/dist/patterns/index.cjs.map +1 -0
- package/dist/patterns/index.d.ts +14 -0
- package/dist/patterns/index.d.ts.map +1 -0
- package/dist/patterns/index.js +295 -0
- package/dist/patterns/index.js.map +1 -0
- package/dist/patterns/page-header.vue.d.ts +46 -0
- package/dist/patterns/page-header.vue.d.ts.map +1 -0
- package/dist/plugin.d.ts +5 -0
- package/dist/plugin.d.ts.map +1 -0
- package/dist/primitives/index.cjs +1 -0
- package/dist/primitives/index.d.ts +14 -0
- package/dist/primitives/index.d.ts.map +1 -0
- package/dist/primitives/index.js +3 -0
- package/dist/resolver.cjs +2 -0
- package/dist/resolver.cjs.map +1 -0
- package/dist/resolver.d.ts +20 -0
- package/dist/resolver.d.ts.map +1 -0
- package/dist/resolver.js +33 -0
- package/dist/resolver.js.map +1 -0
- package/dist/separator-BnNQAp6A.js +259 -0
- package/dist/separator-BnNQAp6A.js.map +1 -0
- package/dist/separator-Bynwn-we.cjs +2 -0
- package/dist/separator-Bynwn-we.cjs.map +1 -0
- package/dist/sidebar-BnZB7vlK.js +344 -0
- package/dist/sidebar-BnZB7vlK.js.map +1 -0
- package/dist/sidebar-xKPzL0NQ.cjs +2 -0
- package/dist/sidebar-xKPzL0NQ.cjs.map +1 -0
- package/dist/styles.css +2502 -0
- package/dist/theme.d.ts +77 -0
- package/dist/theme.d.ts.map +1 -0
- package/dist/toast-state-BBoVvR0u.cjs +2 -0
- package/dist/toast-state-BBoVvR0u.cjs.map +1 -0
- package/dist/toast-state-Crugc-IE.js +50 -0
- package/dist/toast-state-Crugc-IE.js.map +1 -0
- package/dist/tokens.css +86 -9
- package/package.json +46 -6
- package/dist/composables-BwdwEG7n.js.map +0 -1
- package/dist/composables-Cxcf-3ov.cjs +0 -2
- package/dist/composables-Cxcf-3ov.cjs.map +0 -1
|
@@ -1,67 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
var d = i({ items: [] });
|
|
4
|
-
function f() {
|
|
5
|
-
return Math.random().toString(36).slice(2);
|
|
6
|
-
}
|
|
7
|
-
function p(e) {
|
|
8
|
-
let t = d.items.filter((t) => t.id !== e);
|
|
9
|
-
d.items.splice(0, d.items.length, ...t);
|
|
10
|
-
}
|
|
11
|
-
function m(e, t) {
|
|
12
|
-
let n = f();
|
|
13
|
-
d.items.push({
|
|
14
|
-
id: n,
|
|
15
|
-
message: e,
|
|
16
|
-
type: t
|
|
17
|
-
}), typeof window < "u" && window.setTimeout(() => {
|
|
18
|
-
p(n);
|
|
19
|
-
}, 3e3);
|
|
20
|
-
}
|
|
21
|
-
function h() {
|
|
22
|
-
return {
|
|
23
|
-
items: a(d.items),
|
|
24
|
-
success(e) {
|
|
25
|
-
m(e, "success");
|
|
26
|
-
},
|
|
27
|
-
error(e) {
|
|
28
|
-
m(e, "error");
|
|
29
|
-
},
|
|
30
|
-
info(e) {
|
|
31
|
-
m(e, "info");
|
|
32
|
-
},
|
|
33
|
-
remove: p
|
|
34
|
-
};
|
|
35
|
-
}
|
|
36
|
-
var g = {
|
|
37
|
-
success(e) {
|
|
38
|
-
m(e, "success");
|
|
39
|
-
},
|
|
40
|
-
error(e) {
|
|
41
|
-
m(e, "error");
|
|
42
|
-
},
|
|
43
|
-
info(e) {
|
|
44
|
-
m(e, "info");
|
|
45
|
-
}
|
|
46
|
-
};
|
|
47
|
-
//#endregion
|
|
1
|
+
import { r as e } from "./toast-state-Crugc-IE.js";
|
|
2
|
+
import { computed as t, isRef as n, onMounted as r, onUnmounted as i, readonly as a, ref as o, shallowRef as s, toValue as c, unref as l, watch as u } from "vue";
|
|
48
3
|
//#region src/composables/use-debounce.ts
|
|
49
|
-
function
|
|
50
|
-
let
|
|
51
|
-
return u(
|
|
4
|
+
function d(e, t = 500) {
|
|
5
|
+
let r = n(e) ? e : o(e), a = o(l(r)), s = null;
|
|
6
|
+
return u(r, (e) => {
|
|
52
7
|
s !== null && clearTimeout(s), s = setTimeout(() => {
|
|
53
8
|
a.value = e;
|
|
54
|
-
},
|
|
55
|
-
}, { flush: "post" }), u(() =>
|
|
9
|
+
}, t);
|
|
10
|
+
}, { flush: "post" }), u(() => t, () => {
|
|
56
11
|
s !== null && (clearTimeout(s), s = null);
|
|
57
|
-
}),
|
|
12
|
+
}), i(() => {
|
|
58
13
|
s !== null && (clearTimeout(s), s = null);
|
|
59
14
|
}), a;
|
|
60
15
|
}
|
|
61
16
|
//#endregion
|
|
62
17
|
//#region src/composables/use-local-storage.ts
|
|
63
|
-
function
|
|
64
|
-
let
|
|
18
|
+
function f(e, t) {
|
|
19
|
+
let n = o(t);
|
|
65
20
|
function i(e) {
|
|
66
21
|
if (typeof window > "u") return t;
|
|
67
22
|
try {
|
|
@@ -72,58 +27,58 @@ function v(e, t) {
|
|
|
72
27
|
}
|
|
73
28
|
}
|
|
74
29
|
function a(t) {
|
|
75
|
-
if (
|
|
30
|
+
if (n.value = t, !(typeof window > "u")) try {
|
|
76
31
|
window.localStorage.setItem(e, JSON.stringify(t));
|
|
77
32
|
} catch {
|
|
78
|
-
|
|
33
|
+
n.value = t;
|
|
79
34
|
}
|
|
80
35
|
}
|
|
81
|
-
return
|
|
82
|
-
|
|
36
|
+
return r(() => {
|
|
37
|
+
n.value = i(e);
|
|
83
38
|
}), u(() => e, (e) => {
|
|
84
|
-
|
|
85
|
-
}), [
|
|
39
|
+
n.value = i(e);
|
|
40
|
+
}), [n, a];
|
|
86
41
|
}
|
|
87
42
|
//#endregion
|
|
88
43
|
//#region src/composables/use-media-query.ts
|
|
89
|
-
function
|
|
90
|
-
let t = o(!1),
|
|
44
|
+
function p(e) {
|
|
45
|
+
let t = o(!1), n = null;
|
|
91
46
|
function a(e) {
|
|
92
47
|
t.value = e;
|
|
93
48
|
}
|
|
94
49
|
function s(e) {
|
|
95
50
|
a(e.matches);
|
|
96
51
|
}
|
|
97
|
-
return
|
|
98
|
-
|
|
99
|
-
}),
|
|
100
|
-
|
|
52
|
+
return r(() => {
|
|
53
|
+
n = window.matchMedia(e), a(n.matches), n.addEventListener("change", s);
|
|
54
|
+
}), i(() => {
|
|
55
|
+
n !== null && n.removeEventListener("change", s);
|
|
101
56
|
}), t;
|
|
102
57
|
}
|
|
103
58
|
//#endregion
|
|
104
59
|
//#region src/composables/use-click-outside.ts
|
|
105
|
-
function
|
|
60
|
+
function m(e) {
|
|
106
61
|
let t = s(null);
|
|
107
|
-
function
|
|
62
|
+
function n(n) {
|
|
108
63
|
let r = t.value, i = n.target;
|
|
109
64
|
r === null || !(i instanceof Node) || r.contains(i) || e();
|
|
110
65
|
}
|
|
111
|
-
return
|
|
112
|
-
document.addEventListener("click",
|
|
113
|
-
}),
|
|
114
|
-
document.removeEventListener("click",
|
|
66
|
+
return r(() => {
|
|
67
|
+
document.addEventListener("click", n);
|
|
68
|
+
}), i(() => {
|
|
69
|
+
document.removeEventListener("click", n);
|
|
115
70
|
}), t;
|
|
116
71
|
}
|
|
117
72
|
//#endregion
|
|
118
73
|
//#region src/composables/use-copy-to-clipboard.ts
|
|
119
|
-
function
|
|
74
|
+
function h() {
|
|
120
75
|
let e = o(!1), t = null;
|
|
121
76
|
async function n(n) {
|
|
122
77
|
typeof navigator > "u" || !navigator.clipboard || (await navigator.clipboard.writeText(n), e.value = !0, t !== null && clearTimeout(t), t = setTimeout(() => {
|
|
123
78
|
e.value = !1, t = null;
|
|
124
79
|
}, 2e3));
|
|
125
80
|
}
|
|
126
|
-
return
|
|
81
|
+
return i(() => {
|
|
127
82
|
t !== null && (clearTimeout(t), t = null);
|
|
128
83
|
}), {
|
|
129
84
|
copied: e,
|
|
@@ -132,7 +87,7 @@ function x() {
|
|
|
132
87
|
}
|
|
133
88
|
//#endregion
|
|
134
89
|
//#region src/composables/use-toggle.ts
|
|
135
|
-
function
|
|
90
|
+
function g(e = !1) {
|
|
136
91
|
let t = o(e);
|
|
137
92
|
function n() {
|
|
138
93
|
t.value = !t.value;
|
|
@@ -152,38 +107,38 @@ function S(e = !1) {
|
|
|
152
107
|
}
|
|
153
108
|
//#endregion
|
|
154
109
|
//#region src/composables/use-pagination.ts
|
|
155
|
-
function
|
|
110
|
+
function _(e, t) {
|
|
156
111
|
return Math.min(Math.max(1, e), t);
|
|
157
112
|
}
|
|
158
|
-
function
|
|
159
|
-
let n =
|
|
113
|
+
function v(e) {
|
|
114
|
+
let n = e.pageSize ?? 10, r = e.initialPage ?? 1, i = t(() => Math.max(1, Math.ceil(e.total / n))), a = o(_(r, i.value));
|
|
160
115
|
function s(e) {
|
|
161
|
-
a.value =
|
|
116
|
+
a.value = _(e, i.value);
|
|
162
117
|
}
|
|
163
118
|
return {
|
|
164
119
|
page: a,
|
|
165
120
|
totalPages: i,
|
|
166
121
|
setPage: s,
|
|
167
|
-
offset:
|
|
122
|
+
offset: t(() => (a.value - 1) * n)
|
|
168
123
|
};
|
|
169
124
|
}
|
|
170
125
|
//#endregion
|
|
171
126
|
//#region src/composables/use-form.ts
|
|
172
|
-
function
|
|
127
|
+
function y(e) {
|
|
173
128
|
return { ...e };
|
|
174
129
|
}
|
|
175
|
-
function
|
|
130
|
+
function b(e) {
|
|
176
131
|
return e instanceof HTMLInputElement || e instanceof HTMLTextAreaElement || e instanceof HTMLSelectElement;
|
|
177
132
|
}
|
|
178
|
-
function
|
|
133
|
+
function x(e) {
|
|
179
134
|
return e instanceof HTMLInputElement && e.type === "checkbox" ? e.checked : e.value;
|
|
180
135
|
}
|
|
181
|
-
function
|
|
182
|
-
let t = s(
|
|
136
|
+
function S(e) {
|
|
137
|
+
let t = s(y(e)), n = s({});
|
|
183
138
|
function r(e) {
|
|
184
139
|
return (r) => {
|
|
185
|
-
if (!
|
|
186
|
-
let i =
|
|
140
|
+
if (!b(r.target)) return;
|
|
141
|
+
let i = x(r.target);
|
|
187
142
|
if (t.value = {
|
|
188
143
|
...t.value,
|
|
189
144
|
[e]: i
|
|
@@ -200,7 +155,7 @@ function O(e) {
|
|
|
200
155
|
};
|
|
201
156
|
}
|
|
202
157
|
function a() {
|
|
203
|
-
t.value =
|
|
158
|
+
t.value = y(e), n.value = {};
|
|
204
159
|
}
|
|
205
160
|
return {
|
|
206
161
|
values: t,
|
|
@@ -212,42 +167,42 @@ function O(e) {
|
|
|
212
167
|
}
|
|
213
168
|
//#endregion
|
|
214
169
|
//#region src/composables/use-toast.ts
|
|
215
|
-
function
|
|
216
|
-
return
|
|
170
|
+
function C() {
|
|
171
|
+
return e();
|
|
217
172
|
}
|
|
218
173
|
//#endregion
|
|
219
174
|
//#region src/composables/use-mounted.ts
|
|
220
|
-
function
|
|
175
|
+
function w() {
|
|
221
176
|
let e = o(!1);
|
|
222
|
-
return
|
|
177
|
+
return r(() => {
|
|
223
178
|
e.value = !0;
|
|
224
179
|
}), a(e);
|
|
225
180
|
}
|
|
226
181
|
//#endregion
|
|
227
182
|
//#region src/composables/use-interval.ts
|
|
228
|
-
function
|
|
183
|
+
function T(e, t) {
|
|
229
184
|
let n = null;
|
|
230
|
-
function
|
|
185
|
+
function r() {
|
|
231
186
|
n !== null && (clearInterval(n), n = null);
|
|
232
187
|
}
|
|
233
188
|
u(() => c(t), (t) => {
|
|
234
|
-
|
|
235
|
-
}, { immediate: !0 }), r
|
|
189
|
+
r(), t !== null && (n = setInterval(() => e(), t));
|
|
190
|
+
}, { immediate: !0 }), i(r);
|
|
236
191
|
}
|
|
237
192
|
//#endregion
|
|
238
193
|
//#region src/composables/use-timeout.ts
|
|
239
|
-
function
|
|
194
|
+
function E(e, t) {
|
|
240
195
|
let n = null;
|
|
241
|
-
function
|
|
196
|
+
function r() {
|
|
242
197
|
n !== null && (clearTimeout(n), n = null);
|
|
243
198
|
}
|
|
244
199
|
u(() => c(t), (t) => {
|
|
245
|
-
|
|
246
|
-
}, { immediate: !0 }), r
|
|
200
|
+
r(), t !== null && (n = setTimeout(() => e(), t));
|
|
201
|
+
}, { immediate: !0 }), i(r);
|
|
247
202
|
}
|
|
248
203
|
//#endregion
|
|
249
204
|
//#region src/composables/use-hotkeys.ts
|
|
250
|
-
function
|
|
205
|
+
function D(e) {
|
|
251
206
|
let t = e.toLowerCase().split("+").map((e) => e.trim());
|
|
252
207
|
return {
|
|
253
208
|
ctrl: t.includes("ctrl"),
|
|
@@ -263,34 +218,34 @@ function N(e) {
|
|
|
263
218
|
].includes(e)) ?? ""
|
|
264
219
|
};
|
|
265
220
|
}
|
|
266
|
-
function
|
|
267
|
-
let { preventDefault: a = !1, target: o = null } =
|
|
221
|
+
function O(e, t, n = {}) {
|
|
222
|
+
let { preventDefault: a = !1, target: o = null } = n, s = D(e);
|
|
268
223
|
function c(e) {
|
|
269
224
|
e.key.toLowerCase() === s.key && e.ctrlKey === s.ctrl && e.metaKey === s.meta && e.altKey === s.alt && e.shiftKey === s.shift && (a && e.preventDefault(), t(e));
|
|
270
225
|
}
|
|
271
|
-
|
|
226
|
+
r(() => {
|
|
272
227
|
o === null && typeof window > "u" || (o ?? window).addEventListener("keydown", c);
|
|
273
|
-
}),
|
|
228
|
+
}), i(() => {
|
|
274
229
|
o === null && typeof window > "u" || (o ?? window).removeEventListener("keydown", c);
|
|
275
230
|
});
|
|
276
231
|
}
|
|
277
232
|
//#endregion
|
|
278
233
|
//#region src/composables/use-event-listener.ts
|
|
279
|
-
function
|
|
280
|
-
function
|
|
234
|
+
function k(e, t, n) {
|
|
235
|
+
function r(e) {
|
|
281
236
|
t(e);
|
|
282
237
|
}
|
|
283
238
|
function a() {
|
|
284
239
|
return n === void 0 ? typeof window < "u" ? window : null : c(n);
|
|
285
240
|
}
|
|
286
241
|
u(() => a(), (t, n) => {
|
|
287
|
-
n && n.removeEventListener(e,
|
|
288
|
-
}, { immediate: !0 }),
|
|
242
|
+
n && n.removeEventListener(e, r), t && t.addEventListener(e, r);
|
|
243
|
+
}, { immediate: !0 }), i(() => {
|
|
289
244
|
let t = a();
|
|
290
|
-
t && t.removeEventListener(e,
|
|
245
|
+
t && t.removeEventListener(e, r);
|
|
291
246
|
});
|
|
292
247
|
}
|
|
293
248
|
//#endregion
|
|
294
|
-
export {
|
|
249
|
+
export { w as a, v as c, m as d, p as f, T as i, g as l, d as m, O as n, C as o, f as p, E as r, S as s, k as t, h as u };
|
|
295
250
|
|
|
296
|
-
//# sourceMappingURL=composables-
|
|
251
|
+
//# sourceMappingURL=composables-YMNfao5g.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"composables-YMNfao5g.js","names":[],"sources":["../src/composables/use-debounce.ts","../src/composables/use-local-storage.ts","../src/composables/use-media-query.ts","../src/composables/use-click-outside.ts","../src/composables/use-copy-to-clipboard.ts","../src/composables/use-toggle.ts","../src/composables/use-pagination.ts","../src/composables/use-form.ts","../src/composables/use-toast.ts","../src/composables/use-mounted.ts","../src/composables/use-interval.ts","../src/composables/use-timeout.ts","../src/composables/use-hotkeys.ts","../src/composables/use-event-listener.ts"],"sourcesContent":["/**\n * @description: 对值进行防抖处理的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { isRef, onUnmounted, ref, unref, watch, type Ref } from 'vue'\n\n/**\n * 对值进行防抖处理,在延迟时间内多次变化时只在最后一次更新。\n *\n * @typeParam T 值的类型\n * @param value 需要防抖的值或 ref\n * @param delay 防抖延迟毫秒数,默认 500ms\n * @returns 防抖后的 ref 值\n *\n * @example\n * ```ts\n * const search = ref('')\n * const debouncedSearch = useDebounce(search, 500)\n * ```\n */\nexport function useDebounce<T>(value: Ref<T> | T, delay = 500): Ref<T> {\n const sourceValue = isRef(value) ? value : ref(value)\n const debouncedValue = ref<T>(unref(sourceValue)) as Ref<T>\n let timer: ReturnType<typeof setTimeout> | null = null\n\n watch(\n sourceValue,\n nextValue => {\n if (timer !== null) {\n clearTimeout(timer)\n }\n\n timer = setTimeout(() => {\n debouncedValue.value = nextValue\n }, delay)\n },\n {\n flush: 'post',\n },\n )\n\n watch(\n () => delay,\n () => {\n if (timer !== null) {\n clearTimeout(timer)\n timer = null\n }\n },\n )\n\n onUnmounted(() => {\n if (timer !== null) {\n clearTimeout(timer)\n timer = null\n }\n })\n\n return debouncedValue\n}\n","/**\n * @description: 与 localStorage 同步的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { onMounted, ref, watch, type Ref } from 'vue'\n\n/**\n * 与 localStorage 同步的状态,支持 SSR 安全读取。\n *\n * @typeParam T 存储值的类型\n * @param key localStorage 键名\n * @param initialValue 初始值\n * @returns 当前值 ref 与设置函数\n *\n * @example\n * ```ts\n * const [theme, setTheme] = useLocalStorage('theme', 'light')\n * setTheme('dark')\n * ```\n */\nexport function useLocalStorage<T>(\n key: string,\n initialValue: T,\n): [Ref<T>, (value: T) => void] {\n const storedValue = ref(initialValue) as Ref<T>\n\n function readValue(currentKey: string): T {\n if (typeof window === 'undefined') {\n return initialValue\n }\n\n try {\n const item = window.localStorage.getItem(currentKey)\n return item === null ? initialValue : (JSON.parse(item) as T)\n } catch {\n return initialValue\n }\n }\n\n function setValue(value: T): void {\n storedValue.value = value\n\n if (typeof window === 'undefined') {\n return\n }\n\n try {\n window.localStorage.setItem(key, JSON.stringify(value))\n } catch {\n storedValue.value = value\n }\n }\n\n onMounted(() => {\n storedValue.value = readValue(key)\n })\n\n watch(\n () => key,\n newKey => {\n storedValue.value = readValue(newKey)\n },\n )\n\n return [storedValue, setValue]\n}\n","/**\n * @description: 监听 CSS 媒体查询的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { onMounted, onUnmounted, ref, type Ref } from 'vue'\n\n/**\n * 监听 CSS 媒体查询的匹配状态。\n *\n * @param query CSS 媒体查询字符串\n * @returns 当前是否匹配该查询的 ref,SSR 环境默认返回 false\n *\n * @example\n * ```ts\n * const isMobile = useMediaQuery('(max-width: 768px)')\n * ```\n */\nexport function useMediaQuery(query: string): Ref<boolean> {\n const matches = ref(false)\n let mediaQueryList: MediaQueryList | null = null\n\n function updateMatches(nextMatches: boolean): void {\n matches.value = nextMatches\n }\n\n function handleChange(event: MediaQueryListEvent): void {\n updateMatches(event.matches)\n }\n\n onMounted(() => {\n mediaQueryList = window.matchMedia(query)\n updateMatches(mediaQueryList.matches)\n mediaQueryList.addEventListener('change', handleChange)\n })\n\n onUnmounted(() => {\n if (mediaQueryList !== null) {\n mediaQueryList.removeEventListener('change', handleChange)\n }\n })\n\n return matches\n}\n","/**\n * @description: 检测点击元素外部的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { onMounted, onUnmounted, shallowRef, type Ref } from 'vue'\n\n/**\n * 检测点击目标元素外部的行为,常用于关闭弹层或下拉菜单。\n *\n * @typeParam T 目标元素类型\n * @param handler 点击元素外部时触发的回调\n * @returns 绑定到目标元素的 ref\n *\n * @example\n * ```ts\n * const targetRef = useClickOutside<HTMLDivElement>(() => {\n * isOpen.value = false\n * })\n * ```\n */\nexport function useClickOutside<T extends HTMLElement>(handler: () => void): Ref<T | null> {\n const targetRef: Ref<T | null> = shallowRef<T | null>(null)\n\n function handleClick(event: MouseEvent): void {\n const targetElement = targetRef.value\n const eventTarget = event.target\n\n if (targetElement === null || !(eventTarget instanceof Node)) {\n return\n }\n\n if (!targetElement.contains(eventTarget)) {\n handler()\n }\n }\n\n onMounted(() => {\n document.addEventListener('click', handleClick)\n })\n\n onUnmounted(() => {\n document.removeEventListener('click', handleClick)\n })\n\n return targetRef\n}\n","/**\n * @description: 复制文本到剪贴板的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { onUnmounted, ref, type Ref } from 'vue'\n\ninterface UseCopyToClipboardReturn {\n /** 是否处于已复制状态 */\n copied: Ref<boolean>\n /** 复制文本到剪贴板 */\n copy: (text: string) => Promise<void>\n}\n\n/**\n * 复制文本到剪贴板,并在成功后将 copied 状态维持 2 秒。\n *\n * @returns 包含 copied 状态与 copy 方法的对象\n *\n * @example\n * ```ts\n * const { copied, copy } = useCopyToClipboard()\n * await copy('https://example.com')\n * ```\n */\nexport function useCopyToClipboard(): UseCopyToClipboardReturn {\n const copied = ref(false)\n let resetTimer: ReturnType<typeof setTimeout> | null = null\n\n async function copy(text: string): Promise<void> {\n if (typeof navigator === 'undefined' || !navigator.clipboard) {\n return\n }\n\n await navigator.clipboard.writeText(text)\n copied.value = true\n\n if (resetTimer !== null) {\n clearTimeout(resetTimer)\n }\n\n resetTimer = setTimeout(() => {\n copied.value = false\n resetTimer = null\n }, 2000)\n }\n\n onUnmounted(() => {\n if (resetTimer !== null) {\n clearTimeout(resetTimer)\n resetTimer = null\n }\n })\n\n return {\n copied,\n copy,\n }\n}\n","/**\n * @description: 布尔值切换的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { ref, type Ref } from 'vue'\n\ninterface UseToggleReturn {\n /** 当前布尔值 */\n value: Ref<boolean>\n /** 切换当前布尔值 */\n toggle: () => void\n /** 设置为开启状态 */\n setOn: () => void\n /** 设置为关闭状态 */\n setOff: () => void\n}\n\n/**\n * 管理可切换的布尔状态。\n *\n * @param initialValue 初始值,默认 false\n * @returns 当前值与切换方法集合\n *\n * @example\n * ```ts\n * const { value, toggle, setOn, setOff } = useToggle(false)\n * ```\n */\nexport function useToggle(initialValue = false): UseToggleReturn {\n const value = ref(initialValue)\n\n function toggle(): void {\n value.value = !value.value\n }\n\n function setOn(): void {\n value.value = true\n }\n\n function setOff(): void {\n value.value = false\n }\n\n return {\n value,\n toggle,\n setOn,\n setOff,\n }\n}\n","/**\n * @description: 分页逻辑管理的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { computed, ref, type ComputedRef, type Ref } from 'vue'\n\ninterface UsePaginationOptions {\n /** 数据总条数 */\n total: number\n /** 每页条数,默认 10 */\n pageSize?: number\n /** 初始页码,默认 1 */\n initialPage?: number\n}\n\ninterface UsePaginationReturn {\n /** 当前页码 */\n page: Ref<number>\n /** 总页数 */\n totalPages: ComputedRef<number>\n /** 设置页码 */\n setPage: (page: number) => void\n /** 当前页起始偏移量 */\n offset: ComputedRef<number>\n}\n\nfunction clampPage(page: number, totalPages: number): number {\n return Math.min(Math.max(1, page), totalPages)\n}\n\n/**\n * 管理分页状态并计算当前页偏移量。\n *\n * @param options 分页配置项\n * @returns 分页状态与操作方法\n *\n * @example\n * ```ts\n * const { page, totalPages, setPage, offset } = usePagination({\n * total: 100,\n * pageSize: 10,\n * })\n * ```\n */\nexport function usePagination(options: UsePaginationOptions): UsePaginationReturn {\n const pageSize = options.pageSize ?? 10\n const initialPage = options.initialPage ?? 1\n const totalPages = computed<number>(() => Math.max(1, Math.ceil(options.total / pageSize)))\n const page = ref(clampPage(initialPage, totalPages.value))\n\n function setPage(nextPage: number): void {\n page.value = clampPage(nextPage, totalPages.value)\n }\n\n const offset = computed<number>(() => (page.value - 1) * pageSize)\n\n return {\n page,\n totalPages,\n setPage,\n offset,\n }\n}\n","/**\n * @description: 轻量表单状态管理的 Vue composable\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\n\nimport { shallowRef, type Ref } from 'vue'\n\ninterface UseFormReturn<T extends Record<string, unknown>> {\n /** 当前表单值 */\n values: Ref<T>\n /** 字段错误信息 */\n errors: Ref<Partial<Record<keyof T, string>>>\n /** 生成字段变更处理器 */\n handleChange: (field: keyof T) => (event: Event) => void\n /** 设置字段错误 */\n setError: (field: keyof T, message: string) => void\n /** 重置表单 */\n reset: () => void\n}\n\nfunction cloneValues<T extends Record<string, unknown>>(values: T): T {\n return { ...values }\n}\n\nfunction isFormFieldElement(\n target: EventTarget | null,\n): target is HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement {\n return (\n target instanceof HTMLInputElement\n || target instanceof HTMLTextAreaElement\n || target instanceof HTMLSelectElement\n )\n}\n\nfunction getFieldValue(\n target: HTMLInputElement | HTMLTextAreaElement | HTMLSelectElement,\n): unknown {\n if (target instanceof HTMLInputElement && target.type === 'checkbox') {\n return target.checked\n }\n\n return target.value\n}\n\n/**\n * 管理轻量表单状态,包含字段值、错误信息和重置能力。\n *\n * @typeParam T 表单值对象类型\n * @param initialValues 表单初始值\n * @returns 表单状态与操作方法\n *\n * @example\n * ```ts\n * const { values, errors, handleChange, setError, reset } = useForm({\n * username: '',\n * email: '',\n * })\n * ```\n */\nexport function useForm<T extends Record<string, unknown>>(initialValues: T): UseFormReturn<T> {\n const values: Ref<T> = shallowRef(cloneValues(initialValues))\n const errors: Ref<Partial<Record<keyof T, string>>> = shallowRef({})\n\n function handleChange(field: keyof T): (event: Event) => void {\n return (event: Event): void => {\n if (!isFormFieldElement(event.target)) {\n return\n }\n\n const nextValue = getFieldValue(event.target) as T[keyof T]\n values.value = {\n ...values.value,\n [field]: nextValue,\n }\n\n if (errors.value[field] !== undefined) {\n const nextErrors = { ...errors.value }\n delete nextErrors[field]\n errors.value = nextErrors\n }\n }\n }\n\n function setError(field: keyof T, message: string): void {\n errors.value = {\n ...errors.value,\n [field]: message,\n }\n }\n\n function reset(): void {\n values.value = cloneValues(initialValues)\n errors.value = {}\n }\n\n return {\n values,\n errors,\n handleChange,\n setError,\n reset,\n }\n}\n","/**\n * @description: useToast 通知组合式函数 — 复用全局 toast 状态并暴露快捷通知方法\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-15\n */\nimport { toast, useToast as useToastState } from '../components/toast-state'\nimport type { ToastItem, ToastType, UseToastReturn } from '../components/toast-state'\n\nexport { toast }\nexport type { ToastItem, ToastType, UseToastReturn }\n\n/**\n * 访问全局 toast 状态,并提供 success、error、info 等快捷通知方法。\n *\n * @returns 通知列表与通知操作方法\n *\n * @example\n * ```ts\n * const { items, success, error, remove } = useToast()\n * success('保存成功')\n * ```\n */\nexport function useToast(): UseToastReturn {\n return useToastState()\n}\n","/**\n * @description: 组件挂载状态 composable — 用于避免 SSR 环境下的 hydration 报错\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-17\n */\nimport { readonly, ref, onMounted, type Ref } from 'vue'\n\n/**\n * 返回组件是否已在客户端挂载完成的只读 ref。\n *\n * 在 SSR 场景中,服务端渲染时始终为 false,\n * 客户端 onMounted 执行后变为 true,可用于条件渲染仅客户端内容。\n *\n * @returns 只读 Ref<boolean>,挂载后变为 true\n *\n * @example\n * ```ts\n * const isMounted = useMounted()\n *\n * // 模板中:\n * // <ClientOnlyWidget v-if=\"isMounted\" />\n * ```\n */\nexport function useMounted(): Readonly<Ref<boolean>> {\n const mounted = ref(false)\n\n onMounted(() => {\n mounted.value = true\n })\n\n return readonly(mounted)\n}\n","/**\n * @description: 定时间隔 composable — delay 为 null 时暂停,支持响应式间隔值\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-17\n */\nimport { watch, onUnmounted, toValue, type MaybeRefOrGetter } from 'vue'\n\n/**\n * 以指定间隔重复调用回调函数。\n *\n * delay 支持响应式值(Ref / Getter / 原始值),变化时自动重置定时器。\n * 当 delay 为 null 时定时器暂停;组件卸载时自动清理。\n *\n * @param callback 每次触发时调用的函数\n * @param delay 间隔毫秒数;传入 null 则暂停定时器(支持响应式)\n *\n * @example\n * ```ts\n * const running = ref(true)\n * const count = ref(0)\n *\n * useInterval(() => count.value++, computed(() => running.value ? 1000 : null))\n * ```\n */\nexport function useInterval(\n callback: () => void,\n delay: MaybeRefOrGetter<number | null>,\n): void {\n let timerId: ReturnType<typeof setInterval> | null = null\n\n function clear(): void {\n if (timerId !== null) {\n clearInterval(timerId)\n timerId = null\n }\n }\n\n watch(\n () => toValue(delay),\n (value) => {\n clear()\n if (value === null) return\n timerId = setInterval(() => callback(), value)\n },\n { immediate: true },\n )\n\n onUnmounted(clear)\n}\n","/**\n * @description: 延迟执行 composable — delay 为 null 时暂停,组件卸载自动清理\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-17\n */\nimport { watch, onUnmounted, toValue, type MaybeRefOrGetter } from 'vue'\n\n/**\n * 在指定延迟后执行一次回调函数。\n *\n * delay 支持响应式值(Ref / Getter / 原始值),每次 delay 变化都会重置定时器。\n * 当 delay 为 null 时不启动;组件卸载时自动清理。\n *\n * @param callback 延迟结束后调用的函数\n * @param delay 延迟毫秒数;传入 null 则不执行(支持响应式)\n *\n * @example\n * ```ts\n * const show = ref(true)\n *\n * // 3 秒后自动隐藏提示\n * useTimeout(() => { show.value = false }, computed(() => show.value ? 3000 : null))\n * ```\n */\nexport function useTimeout(\n callback: () => void,\n delay: MaybeRefOrGetter<number | null>,\n): void {\n let timerId: ReturnType<typeof setTimeout> | null = null\n\n function clear(): void {\n if (timerId !== null) {\n clearTimeout(timerId)\n timerId = null\n }\n }\n\n watch(\n () => toValue(delay),\n (value) => {\n clear()\n if (value === null) return\n timerId = setTimeout(() => callback(), value)\n },\n { immediate: true },\n )\n\n onUnmounted(clear)\n}\n","/**\n * @description: 快捷键绑定 composable — 支持 \"ctrl+k\"、\"cmd+s\"、\"escape\" 等组合键\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-17\n */\nimport { onMounted, onUnmounted } from 'vue'\n\nexport interface UseHotkeysOptions {\n /** 是否阻止默认浏览器行为,默认 false */\n preventDefault?: boolean\n /** 监听目标,默认 window;传 null 则跳过绑定 */\n target?: HTMLElement | null\n}\n\n/**\n * 解析快捷键字符串,返回规范化的修饰键 + 主键结构。\n */\nfunction parseHotkey(keys: string): {\n ctrl: boolean\n meta: boolean\n alt: boolean\n shift: boolean\n key: string\n} {\n const parts = keys.toLowerCase().split('+').map((s) => s.trim())\n const ctrl = parts.includes('ctrl')\n const meta = parts.includes('cmd') || parts.includes('meta')\n const alt = parts.includes('alt')\n const shift = parts.includes('shift')\n const key = parts.find(\n (p) => !['ctrl', 'cmd', 'meta', 'alt', 'shift'].includes(p),\n ) ?? ''\n\n return { ctrl, meta, alt, shift, key }\n}\n\n/**\n * 将快捷键字符串绑定到回调函数。\n *\n * 支持修饰键组合:ctrl、cmd(Meta)、alt、shift,加主键(不区分大小写)。\n * 组件挂载时绑定,卸载时自动解绑。\n *\n * @param keys 快捷键字符串,如 \"ctrl+k\"、\"cmd+s\"、\"escape\"\n * @param callback 触发时调用的函数\n * @param options 额外配置项\n *\n * @example\n * ```ts\n * // 全局搜索快捷键\n * useHotkeys('ctrl+k', () => { searchOpen.value = true }, { preventDefault: true })\n *\n * // ESC 关闭弹窗\n * useHotkeys('escape', () => { dialogOpen.value = false })\n * ```\n */\nexport function useHotkeys(\n keys: string,\n callback: (event: KeyboardEvent) => void,\n options: UseHotkeysOptions = {},\n): void {\n const { preventDefault = false, target = null } = options\n const parsed = parseHotkey(keys)\n\n function handler(event: KeyboardEvent): void {\n const eventKey = event.key.toLowerCase()\n const match =\n eventKey === parsed.key &&\n event.ctrlKey === parsed.ctrl &&\n event.metaKey === parsed.meta &&\n event.altKey === parsed.alt &&\n event.shiftKey === parsed.shift\n\n if (match) {\n if (preventDefault) event.preventDefault()\n callback(event)\n }\n }\n\n onMounted(() => {\n if (target === null && typeof window === 'undefined') return\n const eventTarget: EventTarget = target ?? window\n eventTarget.addEventListener('keydown', handler as EventListener)\n })\n\n onUnmounted(() => {\n if (target === null && typeof window === 'undefined') return\n const eventTarget: EventTarget = target ?? window\n eventTarget.removeEventListener('keydown', handler as EventListener)\n })\n}\n","/**\n * @description: 事件监听 composable — 自动管理事件绑定与清理,支持 Window/Document/HTMLElement\n * @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。\n * @date: 2026-04-17\n */\nimport { onMounted, onUnmounted, toValue, watch, type MaybeRefOrGetter } from 'vue'\n\n/**\n * 在指定目标上绑定事件监听器,组件卸载时自动清理。\n *\n * target 支持响应式值(Ref / Getter / 原始值);\n * 传入 null 时跳过绑定,适合 ref 尚未挂载的场景。\n * target 变化时自动解绑旧目标并绑定新目标。\n *\n * @typeParam K WindowEventMap 中的事件名称\n * @param event 事件名称,如 \"scroll\"、\"resize\"、\"click\"\n * @param handler 事件处理函数\n * @param target 监听目标;默认 window;传 null 跳过绑定(支持响应式)\n *\n * @example\n * ```ts\n * // 监听全局滚动\n * useEventListener('scroll', () => { scrollY.value = window.scrollY })\n *\n * // 监听特定元素的点击(响应式 ref)\n * const divRef = ref<HTMLDivElement | null>(null)\n * useEventListener('click', handleClick, divRef)\n * ```\n */\nexport function useEventListener<K extends keyof WindowEventMap>(\n event: K,\n handler: (event: WindowEventMap[K]) => void,\n target?: MaybeRefOrGetter<EventTarget | null>,\n): void {\n function listener(e: Event): void {\n handler(e as WindowEventMap[K])\n }\n\n function getTarget(): EventTarget | null {\n if (target === undefined) return typeof window !== 'undefined' ? window : null\n return toValue(target)\n }\n\n // 用 watch 响应 target 变化:先解绑旧目标,再绑新目标\n watch(\n () => getTarget(),\n (newTarget, oldTarget) => {\n if (oldTarget) {\n oldTarget.removeEventListener(event, listener)\n }\n if (newTarget) {\n newTarget.addEventListener(event, listener)\n }\n },\n { immediate: true },\n )\n\n onUnmounted(() => {\n const t = getTarget()\n if (t) t.removeEventListener(event, listener)\n })\n}\n"],"mappings":";;;AAsBA,SAAgB,EAAe,GAAmB,IAAQ,KAAa;CACrE,IAAM,IAAc,EAAM,EAAM,GAAG,IAAQ,EAAI,EAAM,EAC/C,IAAiB,EAAO,EAAM,EAAY,CAAC,EAC7C,IAA8C;AAmClD,QAjCA,EACE,IACA,MAAa;AAKX,EAJI,MAAU,QACZ,aAAa,EAAM,EAGrB,IAAQ,iBAAiB;AACvB,KAAe,QAAQ;KACtB,EAAM;IAEX,EACE,OAAO,QACR,CACF,EAED,QACQ,SACA;AACJ,EAAI,MAAU,SACZ,aAAa,EAAM,EACnB,IAAQ;GAGb,EAED,QAAkB;AAChB,EAAI,MAAU,SACZ,aAAa,EAAM,EACnB,IAAQ;GAEV,EAEK;;;;ACtCT,SAAgB,EACd,GACA,GAC8B;CAC9B,IAAM,IAAc,EAAI,EAAa;CAErC,SAAS,EAAU,GAAuB;AACxC,MAAI,OAAO,SAAW,IACpB,QAAO;AAGT,MAAI;GACF,IAAM,IAAO,OAAO,aAAa,QAAQ,EAAW;AACpD,UAAO,MAAS,OAAO,IAAgB,KAAK,MAAM,EAAK;UACjD;AACN,UAAO;;;CAIX,SAAS,EAAS,GAAgB;AAChC,QAAY,QAAQ,GAEhB,SAAO,SAAW,KAItB,KAAI;AACF,UAAO,aAAa,QAAQ,GAAK,KAAK,UAAU,EAAM,CAAC;UACjD;AACN,KAAY,QAAQ;;;AAexB,QAX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@@ -0,0 +1,107 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @description: Vue 全局组件类型声明
|
|
3
|
+
* @author: UG - 一个斗码大陆苦逼的三段码之气的少年,并没有神秘戒指中码老的帮助,但总有一天,我会成为斗码大陆中码帝一样的存在。三十年河东,三十年河西,莫欺少年穷。
|
|
4
|
+
* @date: 2026-05-27
|
|
5
|
+
*/
|
|
6
|
+
declare module 'vue' {
|
|
7
|
+
interface GlobalComponents {
|
|
8
|
+
UGAccordion: typeof import('./aliases')['UGAccordion'];
|
|
9
|
+
UGAccordionContent: typeof import('./aliases')['UGAccordionContent'];
|
|
10
|
+
UGAccordionItem: typeof import('./aliases')['UGAccordionItem'];
|
|
11
|
+
UGAccordionTrigger: typeof import('./aliases')['UGAccordionTrigger'];
|
|
12
|
+
UGAlert: typeof import('./aliases')['UGAlert'];
|
|
13
|
+
UGAlertDescription: typeof import('./aliases')['UGAlertDescription'];
|
|
14
|
+
UGAlertTitle: typeof import('./aliases')['UGAlertTitle'];
|
|
15
|
+
UGAvatar: typeof import('./aliases')['UGAvatar'];
|
|
16
|
+
UGAvatarFallback: typeof import('./aliases')['UGAvatarFallback'];
|
|
17
|
+
UGAvatarGroup: typeof import('./aliases')['UGAvatarGroup'];
|
|
18
|
+
UGAvatarImage: typeof import('./aliases')['UGAvatarImage'];
|
|
19
|
+
UGBadge: typeof import('./aliases')['UGBadge'];
|
|
20
|
+
UGBreadcrumb: typeof import('./aliases')['UGBreadcrumb'];
|
|
21
|
+
UGBreadcrumbItem: typeof import('./aliases')['UGBreadcrumbItem'];
|
|
22
|
+
UGBreadcrumbLink: typeof import('./aliases')['UGBreadcrumbLink'];
|
|
23
|
+
UGBreadcrumbSeparator: typeof import('./aliases')['UGBreadcrumbSeparator'];
|
|
24
|
+
UGButton: typeof import('./aliases')['UGButton'];
|
|
25
|
+
UGCard: typeof import('./aliases')['UGCard'];
|
|
26
|
+
UGCardContent: typeof import('./aliases')['UGCardContent'];
|
|
27
|
+
UGCardDescription: typeof import('./aliases')['UGCardDescription'];
|
|
28
|
+
UGCardFooter: typeof import('./aliases')['UGCardFooter'];
|
|
29
|
+
UGCardHeader: typeof import('./aliases')['UGCardHeader'];
|
|
30
|
+
UGCardTitle: typeof import('./aliases')['UGCardTitle'];
|
|
31
|
+
UGCheckbox: typeof import('./aliases')['UGCheckbox'];
|
|
32
|
+
UGContextMenu: typeof import('./aliases')['UGContextMenu'];
|
|
33
|
+
UGContextMenuContent: typeof import('./aliases')['UGContextMenuContent'];
|
|
34
|
+
UGContextMenuItem: typeof import('./aliases')['UGContextMenuItem'];
|
|
35
|
+
UGContextMenuSeparator: typeof import('./aliases')['UGContextMenuSeparator'];
|
|
36
|
+
UGContextMenuTrigger: typeof import('./aliases')['UGContextMenuTrigger'];
|
|
37
|
+
UGDescriptions: typeof import('./aliases')['UGDescriptions'];
|
|
38
|
+
UGDescriptionsItem: typeof import('./aliases')['UGDescriptionsItem'];
|
|
39
|
+
UGDialog: typeof import('./aliases')['UGDialog'];
|
|
40
|
+
UGDrawer: typeof import('./aliases')['UGDrawer'];
|
|
41
|
+
UGDrawerClose: typeof import('./aliases')['UGDrawerClose'];
|
|
42
|
+
UGDrawerContent: typeof import('./aliases')['UGDrawerContent'];
|
|
43
|
+
UGDrawerDescription: typeof import('./aliases')['UGDrawerDescription'];
|
|
44
|
+
UGDrawerFooter: typeof import('./aliases')['UGDrawerFooter'];
|
|
45
|
+
UGDrawerHeader: typeof import('./aliases')['UGDrawerHeader'];
|
|
46
|
+
UGDrawerTitle: typeof import('./aliases')['UGDrawerTitle'];
|
|
47
|
+
UGDropdown: typeof import('./aliases')['UGDropdown'];
|
|
48
|
+
UGDropdownContent: typeof import('./aliases')['UGDropdownContent'];
|
|
49
|
+
UGDropdownItem: typeof import('./aliases')['UGDropdownItem'];
|
|
50
|
+
UGDropdownMenu: typeof import('./aliases')['UGDropdownMenu'];
|
|
51
|
+
UGDropdownSeparator: typeof import('./aliases')['UGDropdownSeparator'];
|
|
52
|
+
UGDropdownTrigger: typeof import('./aliases')['UGDropdownTrigger'];
|
|
53
|
+
UGEmptyState: typeof import('./aliases')['UGEmptyState'];
|
|
54
|
+
UGForm: typeof import('./aliases')['UGForm'];
|
|
55
|
+
UGFormControl: typeof import('./aliases')['UGFormControl'];
|
|
56
|
+
UGFormDescription: typeof import('./aliases')['UGFormDescription'];
|
|
57
|
+
UGFormField: typeof import('./aliases')['UGFormField'];
|
|
58
|
+
UGFormItem: typeof import('./aliases')['UGFormItem'];
|
|
59
|
+
UGFormLabel: typeof import('./aliases')['UGFormLabel'];
|
|
60
|
+
UGFormMessage: typeof import('./aliases')['UGFormMessage'];
|
|
61
|
+
UGInput: typeof import('./aliases')['UGInput'];
|
|
62
|
+
UGLabel: typeof import('./aliases')['UGLabel'];
|
|
63
|
+
UGModal: typeof import('./aliases')['UGModal'];
|
|
64
|
+
UGNavigationMenu: typeof import('./aliases')['UGNavigationMenu'];
|
|
65
|
+
UGNavigationMenuContent: typeof import('./aliases')['UGNavigationMenuContent'];
|
|
66
|
+
UGNavigationMenuItem: typeof import('./aliases')['UGNavigationMenuItem'];
|
|
67
|
+
UGNavigationMenuLink: typeof import('./aliases')['UGNavigationMenuLink'];
|
|
68
|
+
UGNavigationMenuTrigger: typeof import('./aliases')['UGNavigationMenuTrigger'];
|
|
69
|
+
UGNumberInput: typeof import('./aliases')['UGNumberInput'];
|
|
70
|
+
UGOTPInput: typeof import('./aliases')['UGOTPInput'];
|
|
71
|
+
UGPagination: typeof import('./aliases')['UGPagination'];
|
|
72
|
+
UGPopover: typeof import('./aliases')['UGPopover'];
|
|
73
|
+
UGPopoverContent: typeof import('./aliases')['UGPopoverContent'];
|
|
74
|
+
UGPopoverTrigger: typeof import('./aliases')['UGPopoverTrigger'];
|
|
75
|
+
UGProgress: typeof import('./aliases')['UGProgress'];
|
|
76
|
+
UGRadio: typeof import('./aliases')['UGRadio'];
|
|
77
|
+
UGRadioGroup: typeof import('./aliases')['UGRadioGroup'];
|
|
78
|
+
UGSelect: typeof import('./aliases')['UGSelect'];
|
|
79
|
+
UGSeparator: typeof import('./aliases')['UGSeparator'];
|
|
80
|
+
UGSheet: typeof import('./aliases')['UGSheet'];
|
|
81
|
+
UGSidebar: typeof import('./aliases')['UGSidebar'];
|
|
82
|
+
UGSkeleton: typeof import('./aliases')['UGSkeleton'];
|
|
83
|
+
UGSlider: typeof import('./aliases')['UGSlider'];
|
|
84
|
+
UGSpinner: typeof import('./aliases')['UGSpinner'];
|
|
85
|
+
UGStatistic: typeof import('./aliases')['UGStatistic'];
|
|
86
|
+
UGSteps: typeof import('./aliases')['UGSteps'];
|
|
87
|
+
UGSwitch: typeof import('./aliases')['UGSwitch'];
|
|
88
|
+
UGTable: typeof import('./aliases')['UGTable'];
|
|
89
|
+
UGTableBody: typeof import('./aliases')['UGTableBody'];
|
|
90
|
+
UGTableCell: typeof import('./aliases')['UGTableCell'];
|
|
91
|
+
UGTableHead: typeof import('./aliases')['UGTableHead'];
|
|
92
|
+
UGTableHeader: typeof import('./aliases')['UGTableHeader'];
|
|
93
|
+
UGTableRow: typeof import('./aliases')['UGTableRow'];
|
|
94
|
+
UGTabs: typeof import('./aliases')['UGTabs'];
|
|
95
|
+
UGTabsContent: typeof import('./aliases')['UGTabsContent'];
|
|
96
|
+
UGTabsList: typeof import('./aliases')['UGTabsList'];
|
|
97
|
+
UGTabsTrigger: typeof import('./aliases')['UGTabsTrigger'];
|
|
98
|
+
UGTag: typeof import('./aliases')['UGTag'];
|
|
99
|
+
UGTextarea: typeof import('./aliases')['UGTextarea'];
|
|
100
|
+
UGToaster: typeof import('./aliases')['UGToaster'];
|
|
101
|
+
UGTooltip: typeof import('./aliases')['UGTooltip'];
|
|
102
|
+
UGTooltipContent: typeof import('./aliases')['UGTooltipContent'];
|
|
103
|
+
UGTooltipTrigger: typeof import('./aliases')['UGTooltipTrigger'];
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export {};
|
|
107
|
+
//# sourceMappingURL=global.d.ts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