@tu-design/vue 0.0.0-stage → 0.2.1

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.
@@ -0,0 +1,1150 @@
1
+ import { ClassValue } from "clsx";
2
+ import { PropType, VNode } from "vue";
3
+ import { VariantProps } from "class-variance-authority";
4
+ //#region src/lib/utils.d.ts
5
+ export declare function cn(...inputs: ClassValue[]): string;
6
+ //#endregion
7
+ //#region src/resolver.d.ts
8
+ /**
9
+ * unplugin-vue-components 专用 Resolver:
10
+ * 消费者配置后可在模板中直接使用 <TButton> / <t-button>,无需手动 import。
11
+ *
12
+ * 采用白名单而非裸 /^T[A-Z]/ 正则,避免误捕 Vue 内置组件
13
+ * (Transition/Teleport 等 T 开头名称会被 slice(1) 解析成错误导入)。
14
+ * 白名单与 index.ts 的组件导出保持同步(resolver.test.ts 强制校验)。
15
+ */
16
+ export declare const COMPONENT_NAMES: readonly ["Avatar", "Badge", "Button", "Card", "CardContent", "CardDescription", "CardFooter", "CardHeader", "CardTitle", "Checkbox", "Dialog", "DialogClose", "DialogContent", "DialogDescription", "DialogFooter", "DialogHeader", "DialogTitle", "DialogTrigger", "DropdownMenu", "DropdownMenuContent", "DropdownMenuGroup", "DropdownMenuItem", "DropdownMenuLabel", "DropdownMenuSeparator", "DropdownMenuTrigger", "Input", "Label", "RadioGroup", "RadioGroupItem", "Select", "SelectContent", "SelectItem", "SelectTrigger", "SelectValueText", "Separator", "Skeleton", "Slider", "Slot", "Switch", "Tabs", "TabsContent", "TabsList", "TabsTrigger", "Tooltip", "TooltipContent", "TooltipTrigger"];
17
+ /** 结构兼容 unplugin-vue-components 的 ComponentResolveResult,无需依赖其类型 */
18
+ export interface ComponentResolveResult {
19
+ name: string;
20
+ from: string;
21
+ }
22
+ export type ComponentResolver = (name: string) => ComponentResolveResult | undefined;
23
+ export declare function TuDesignResolver(): ComponentResolver;
24
+ //#endregion
25
+ //#region src/components/avatar/Avatar.vue.d.ts
26
+ interface Props$27 {
27
+ src?: string;
28
+ alt?: string;
29
+ class?: string;
30
+ }
31
+ declare var __VLS_19$1: {};
32
+ type __VLS_Slots$37 = {} & {
33
+ default?: (props: typeof __VLS_19$1) => any;
34
+ };
35
+ declare const __VLS_base$37: import("vue").DefineComponent<Props$27, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$27> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
36
+ declare const __VLS_export$44: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
37
+ declare const _default: typeof __VLS_export$44;
38
+ type __VLS_WithSlots$37<T, S> = T & {
39
+ new (): {
40
+ $slots: S;
41
+ };
42
+ };
43
+ //#endregion
44
+ //#region src/components/badge/Badge.vue.d.ts
45
+ interface Props$26 {
46
+ variant?: BadgeVariants["variant"];
47
+ class?: string;
48
+ }
49
+ declare var __VLS_1$10: {};
50
+ type __VLS_Slots$36 = {} & {
51
+ default?: (props: typeof __VLS_1$10) => any;
52
+ };
53
+ declare const __VLS_base$36: import("vue").DefineComponent<Props$26, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$26> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
54
+ declare const __VLS_export$43: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
55
+ declare const _default$1: typeof __VLS_export$43;
56
+ type __VLS_WithSlots$36<T, S> = T & {
57
+ new (): {
58
+ $slots: S;
59
+ };
60
+ };
61
+ //#endregion
62
+ //#region src/components/badge/index.d.ts
63
+ export declare const badgeVariants: (props?: {
64
+ variant?: "default" | "secondary" | "destructive" | "outline";
65
+ } & import("class-variance-authority/types").ClassProp) => string;
66
+ export type BadgeVariants = VariantProps<typeof badgeVariants>;
67
+ //#endregion
68
+ //#region src/components/button/Button.vue.d.ts
69
+ interface Props$25 {
70
+ variant?: ButtonVariants["variant"];
71
+ size?: ButtonVariants["size"];
72
+ as?: string;
73
+ asChild?: boolean;
74
+ class?: string;
75
+ }
76
+ declare var __VLS_8$11: {}, __VLS_17: {}, __VLS_19: {};
77
+ type __VLS_Slots$35 = {} & {
78
+ default?: (props: typeof __VLS_8$11) => any;
79
+ } & {
80
+ icon?: (props: typeof __VLS_17) => any;
81
+ } & {
82
+ default?: (props: typeof __VLS_19) => any;
83
+ };
84
+ declare const __VLS_base$35: import("vue").DefineComponent<Props$25, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$25> & Readonly<{}>, {
85
+ as: string;
86
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
87
+ declare const __VLS_export$42: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
88
+ declare const _default$2: typeof __VLS_export$42;
89
+ type __VLS_WithSlots$35<T, S> = T & {
90
+ new (): {
91
+ $slots: S;
92
+ };
93
+ };
94
+ //#endregion
95
+ //#region src/components/button/index.d.ts
96
+ export declare const buttonVariants: (props?: {
97
+ variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
98
+ size?: "default" | "sm" | "lg" | "icon";
99
+ } & import("class-variance-authority/types").ClassProp) => string;
100
+ export type ButtonVariants = VariantProps<typeof buttonVariants>;
101
+ //#endregion
102
+ //#region src/components/card/Card.vue.d.ts
103
+ type __VLS_Props$9 = {
104
+ class?: string;
105
+ };
106
+ declare var __VLS_1$9: {};
107
+ type __VLS_Slots$34 = {} & {
108
+ default?: (props: typeof __VLS_1$9) => any;
109
+ };
110
+ declare const __VLS_base$34: import("vue").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
111
+ declare const __VLS_export$41: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
112
+ declare const _default$3: typeof __VLS_export$41;
113
+ type __VLS_WithSlots$34<T, S> = T & {
114
+ new (): {
115
+ $slots: S;
116
+ };
117
+ };
118
+ //#endregion
119
+ //#region src/components/card/CardContent.vue.d.ts
120
+ type __VLS_Props$8 = {
121
+ class?: string;
122
+ };
123
+ declare var __VLS_1$8: {};
124
+ type __VLS_Slots$33 = {} & {
125
+ default?: (props: typeof __VLS_1$8) => any;
126
+ };
127
+ declare const __VLS_base$33: import("vue").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
128
+ declare const __VLS_export$40: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
129
+ declare const _default$4: typeof __VLS_export$40;
130
+ type __VLS_WithSlots$33<T, S> = T & {
131
+ new (): {
132
+ $slots: S;
133
+ };
134
+ };
135
+ //#endregion
136
+ //#region src/components/card/CardDescription.vue.d.ts
137
+ type __VLS_Props$7 = {
138
+ class?: string;
139
+ };
140
+ declare var __VLS_1$7: {};
141
+ type __VLS_Slots$32 = {} & {
142
+ default?: (props: typeof __VLS_1$7) => any;
143
+ };
144
+ declare const __VLS_base$32: import("vue").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
145
+ declare const __VLS_export$39: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
146
+ declare const _default$5: typeof __VLS_export$39;
147
+ type __VLS_WithSlots$32<T, S> = T & {
148
+ new (): {
149
+ $slots: S;
150
+ };
151
+ };
152
+ //#endregion
153
+ //#region src/components/card/CardFooter.vue.d.ts
154
+ type __VLS_Props$6 = {
155
+ class?: string;
156
+ };
157
+ declare var __VLS_1$6: {};
158
+ type __VLS_Slots$31 = {} & {
159
+ default?: (props: typeof __VLS_1$6) => any;
160
+ };
161
+ declare const __VLS_base$31: import("vue").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
162
+ declare const __VLS_export$38: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
163
+ declare const _default$6: typeof __VLS_export$38;
164
+ type __VLS_WithSlots$31<T, S> = T & {
165
+ new (): {
166
+ $slots: S;
167
+ };
168
+ };
169
+ //#endregion
170
+ //#region src/components/card/CardHeader.vue.d.ts
171
+ type __VLS_Props$5 = {
172
+ class?: string;
173
+ };
174
+ declare var __VLS_1$5: {};
175
+ type __VLS_Slots$30 = {} & {
176
+ default?: (props: typeof __VLS_1$5) => any;
177
+ };
178
+ declare const __VLS_base$30: import("vue").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
179
+ declare const __VLS_export$37: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
180
+ declare const _default$7: typeof __VLS_export$37;
181
+ type __VLS_WithSlots$30<T, S> = T & {
182
+ new (): {
183
+ $slots: S;
184
+ };
185
+ };
186
+ //#endregion
187
+ //#region src/components/card/CardTitle.vue.d.ts
188
+ type __VLS_Props$4 = {
189
+ class?: string;
190
+ };
191
+ declare var __VLS_1$4: {};
192
+ type __VLS_Slots$29 = {} & {
193
+ default?: (props: typeof __VLS_1$4) => any;
194
+ };
195
+ declare const __VLS_base$29: import("vue").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
196
+ declare const __VLS_export$36: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
197
+ declare const _default$8: typeof __VLS_export$36;
198
+ type __VLS_WithSlots$29<T, S> = T & {
199
+ new (): {
200
+ $slots: S;
201
+ };
202
+ };
203
+ //#endregion
204
+ //#region src/components/checkbox/Checkbox.vue.d.ts
205
+ declare var __VLS_33: {};
206
+ type __VLS_Slots$28 = {} & {
207
+ default?: (props: typeof __VLS_33) => any;
208
+ };
209
+ declare const __VLS_base$28: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
210
+ checked: {
211
+ type: PropType<boolean | undefined>;
212
+ default: any;
213
+ };
214
+ defaultChecked: {
215
+ type: BooleanConstructor;
216
+ default: boolean;
217
+ };
218
+ disabled: {
219
+ type: BooleanConstructor;
220
+ default: boolean;
221
+ };
222
+ class: {
223
+ type: StringConstructor;
224
+ default: any;
225
+ };
226
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
227
+ "update:checked": (checked: boolean) => any;
228
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
229
+ checked: {
230
+ type: PropType<boolean | undefined>;
231
+ default: any;
232
+ };
233
+ defaultChecked: {
234
+ type: BooleanConstructor;
235
+ default: boolean;
236
+ };
237
+ disabled: {
238
+ type: BooleanConstructor;
239
+ default: boolean;
240
+ };
241
+ class: {
242
+ type: StringConstructor;
243
+ default: any;
244
+ };
245
+ }>> & Readonly<{
246
+ "onUpdate:checked"?: (checked: boolean) => any;
247
+ }>, {
248
+ class: string;
249
+ checked: boolean;
250
+ defaultChecked: boolean;
251
+ disabled: boolean;
252
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
253
+ declare const __VLS_export$35: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
254
+ declare const _default$9: typeof __VLS_export$35;
255
+ type __VLS_WithSlots$28<T, S> = T & {
256
+ new (): {
257
+ $slots: S;
258
+ };
259
+ };
260
+ //#endregion
261
+ //#region src/components/dialog/Dialog.vue.d.ts
262
+ declare var __VLS_10$3: {};
263
+ type __VLS_Slots$27 = {} & {
264
+ default?: (props: typeof __VLS_10$3) => any;
265
+ };
266
+ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
267
+ open: {
268
+ type: PropType<boolean | undefined>;
269
+ default: any;
270
+ };
271
+ defaultOpen: {
272
+ type: BooleanConstructor;
273
+ default: boolean;
274
+ };
275
+ lazyMount: {
276
+ type: BooleanConstructor;
277
+ default: boolean;
278
+ };
279
+ unmountOnExit: {
280
+ type: BooleanConstructor;
281
+ default: boolean;
282
+ };
283
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
284
+ "update:open": (open: boolean) => any;
285
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
286
+ open: {
287
+ type: PropType<boolean | undefined>;
288
+ default: any;
289
+ };
290
+ defaultOpen: {
291
+ type: BooleanConstructor;
292
+ default: boolean;
293
+ };
294
+ lazyMount: {
295
+ type: BooleanConstructor;
296
+ default: boolean;
297
+ };
298
+ unmountOnExit: {
299
+ type: BooleanConstructor;
300
+ default: boolean;
301
+ };
302
+ }>> & Readonly<{
303
+ "onUpdate:open"?: (open: boolean) => any;
304
+ }>, {
305
+ open: boolean;
306
+ defaultOpen: boolean;
307
+ lazyMount: boolean;
308
+ unmountOnExit: boolean;
309
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
310
+ declare const __VLS_export$34: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
311
+ declare const _default$10: typeof __VLS_export$34;
312
+ type __VLS_WithSlots$27<T, S> = T & {
313
+ new (): {
314
+ $slots: S;
315
+ };
316
+ };
317
+ //#endregion
318
+ //#region src/components/dialog/DialogClose.vue.d.ts
319
+ interface Props$24 {
320
+ /** 以默认插槽子元素为渲染目标,不渲染额外按钮 */
321
+ asChild?: boolean;
322
+ }
323
+ declare var __VLS_8$10: {};
324
+ type __VLS_Slots$26 = {} & {
325
+ default?: (props: typeof __VLS_8$10) => any;
326
+ };
327
+ declare const __VLS_base$26: import("vue").DefineComponent<Props$24, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$24> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
328
+ declare const __VLS_export$33: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
329
+ declare const _default$11: typeof __VLS_export$33;
330
+ type __VLS_WithSlots$26<T, S> = T & {
331
+ new (): {
332
+ $slots: S;
333
+ };
334
+ };
335
+ //#endregion
336
+ //#region src/components/dialog/DialogContent.vue.d.ts
337
+ interface Props$23 {
338
+ /** 是否在内容右上角渲染关闭按钮 */
339
+ showCloseButton?: boolean;
340
+ class?: string;
341
+ }
342
+ declare var __VLS_18: {};
343
+ type __VLS_Slots$25 = {} & {
344
+ default?: (props: typeof __VLS_18) => any;
345
+ };
346
+ declare const __VLS_base$25: import("vue").DefineComponent<Props$23, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$23> & Readonly<{}>, {
347
+ showCloseButton: boolean;
348
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
349
+ declare const __VLS_export$32: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
350
+ declare const _default$12: typeof __VLS_export$32;
351
+ type __VLS_WithSlots$25<T, S> = T & {
352
+ new (): {
353
+ $slots: S;
354
+ };
355
+ };
356
+ //#endregion
357
+ //#region src/components/dialog/DialogDescription.vue.d.ts
358
+ interface Props$22 {
359
+ class?: string;
360
+ }
361
+ declare var __VLS_8$9: {};
362
+ type __VLS_Slots$24 = {} & {
363
+ default?: (props: typeof __VLS_8$9) => any;
364
+ };
365
+ declare const __VLS_base$24: import("vue").DefineComponent<Props$22, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$22> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
366
+ declare const __VLS_export$31: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
367
+ declare const _default$13: typeof __VLS_export$31;
368
+ type __VLS_WithSlots$24<T, S> = T & {
369
+ new (): {
370
+ $slots: S;
371
+ };
372
+ };
373
+ //#endregion
374
+ //#region src/components/dialog/DialogFooter.vue.d.ts
375
+ interface Props$21 {
376
+ class?: string;
377
+ }
378
+ declare var __VLS_1$3: {};
379
+ type __VLS_Slots$23 = {} & {
380
+ default?: (props: typeof __VLS_1$3) => any;
381
+ };
382
+ declare const __VLS_base$23: import("vue").DefineComponent<Props$21, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$21> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
383
+ declare const __VLS_export$30: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
384
+ declare const _default$14: typeof __VLS_export$30;
385
+ type __VLS_WithSlots$23<T, S> = T & {
386
+ new (): {
387
+ $slots: S;
388
+ };
389
+ };
390
+ //#endregion
391
+ //#region src/components/dialog/DialogHeader.vue.d.ts
392
+ interface Props$20 {
393
+ class?: string;
394
+ }
395
+ declare var __VLS_1$2: {};
396
+ type __VLS_Slots$22 = {} & {
397
+ default?: (props: typeof __VLS_1$2) => any;
398
+ };
399
+ declare const __VLS_base$22: import("vue").DefineComponent<Props$20, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$20> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
400
+ declare const __VLS_export$29: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
401
+ declare const _default$15: typeof __VLS_export$29;
402
+ type __VLS_WithSlots$22<T, S> = T & {
403
+ new (): {
404
+ $slots: S;
405
+ };
406
+ };
407
+ //#endregion
408
+ //#region src/components/dialog/DialogTitle.vue.d.ts
409
+ interface Props$19 {
410
+ class?: string;
411
+ }
412
+ declare var __VLS_8$8: {};
413
+ type __VLS_Slots$21 = {} & {
414
+ default?: (props: typeof __VLS_8$8) => any;
415
+ };
416
+ declare const __VLS_base$21: import("vue").DefineComponent<Props$19, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$19> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
417
+ declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
418
+ declare const _default$16: typeof __VLS_export$28;
419
+ type __VLS_WithSlots$21<T, S> = T & {
420
+ new (): {
421
+ $slots: S;
422
+ };
423
+ };
424
+ //#endregion
425
+ //#region src/components/dialog/DialogTrigger.vue.d.ts
426
+ interface Props$18 {
427
+ /** 以默认插槽子元素为渲染目标(样式与行为合并其上),不渲染额外按钮 */
428
+ asChild?: boolean;
429
+ }
430
+ declare var __VLS_8$7: {};
431
+ type __VLS_Slots$20 = {} & {
432
+ default?: (props: typeof __VLS_8$7) => any;
433
+ };
434
+ declare const __VLS_base$20: import("vue").DefineComponent<Props$18, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$18> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
435
+ declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
436
+ declare const _default$17: typeof __VLS_export$27;
437
+ type __VLS_WithSlots$20<T, S> = T & {
438
+ new (): {
439
+ $slots: S;
440
+ };
441
+ };
442
+ //#endregion
443
+ //#region src/components/dropdown-menu/DropdownMenu.vue.d.ts
444
+ declare var __VLS_11$1: {};
445
+ type __VLS_Slots$19 = {} & {
446
+ default?: (props: typeof __VLS_11$1) => any;
447
+ };
448
+ declare const __VLS_base$19: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
449
+ open: {
450
+ type: PropType<boolean | undefined>;
451
+ default: any;
452
+ };
453
+ defaultOpen: {
454
+ type: BooleanConstructor;
455
+ default: boolean;
456
+ };
457
+ lazyMount: {
458
+ type: BooleanConstructor;
459
+ default: boolean;
460
+ };
461
+ unmountOnExit: {
462
+ type: BooleanConstructor;
463
+ default: boolean;
464
+ };
465
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
466
+ select: (details: {
467
+ value: string;
468
+ }) => any;
469
+ "update:open": (open: boolean) => any;
470
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
471
+ open: {
472
+ type: PropType<boolean | undefined>;
473
+ default: any;
474
+ };
475
+ defaultOpen: {
476
+ type: BooleanConstructor;
477
+ default: boolean;
478
+ };
479
+ lazyMount: {
480
+ type: BooleanConstructor;
481
+ default: boolean;
482
+ };
483
+ unmountOnExit: {
484
+ type: BooleanConstructor;
485
+ default: boolean;
486
+ };
487
+ }>> & Readonly<{
488
+ onSelect?: (details: {
489
+ value: string;
490
+ }) => any;
491
+ "onUpdate:open"?: (open: boolean) => any;
492
+ }>, {
493
+ open: boolean;
494
+ defaultOpen: boolean;
495
+ lazyMount: boolean;
496
+ unmountOnExit: boolean;
497
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
498
+ declare const __VLS_export$26: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
499
+ declare const _default$18: typeof __VLS_export$26;
500
+ type __VLS_WithSlots$19<T, S> = T & {
501
+ new (): {
502
+ $slots: S;
503
+ };
504
+ };
505
+ //#endregion
506
+ //#region src/components/dropdown-menu/DropdownMenuContent.vue.d.ts
507
+ interface Props$17 {
508
+ class?: string;
509
+ }
510
+ declare var __VLS_14$3: {};
511
+ type __VLS_Slots$18 = {} & {
512
+ default?: (props: typeof __VLS_14$3) => any;
513
+ };
514
+ declare const __VLS_base$18: import("vue").DefineComponent<Props$17, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$17> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
515
+ declare const __VLS_export$25: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
516
+ declare const _default$19: typeof __VLS_export$25;
517
+ type __VLS_WithSlots$18<T, S> = T & {
518
+ new (): {
519
+ $slots: S;
520
+ };
521
+ };
522
+ //#endregion
523
+ //#region src/components/dropdown-menu/DropdownMenuGroup.vue.d.ts
524
+ interface Props$16 {
525
+ /** 分组的可访问名称 */
526
+ label?: string;
527
+ }
528
+ declare var __VLS_8$6: {};
529
+ type __VLS_Slots$17 = {} & {
530
+ default?: (props: typeof __VLS_8$6) => any;
531
+ };
532
+ declare const __VLS_base$17: import("vue").DefineComponent<Props$16, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$16> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
533
+ declare const __VLS_export$24: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
534
+ declare const _default$20: typeof __VLS_export$24;
535
+ type __VLS_WithSlots$17<T, S> = T & {
536
+ new (): {
537
+ $slots: S;
538
+ };
539
+ };
540
+ //#endregion
541
+ //#region src/components/dropdown-menu/DropdownMenuItem.vue.d.ts
542
+ interface Props$15 {
543
+ /** 选中回调里回传的标识;缺省自动生成 */
544
+ value?: string;
545
+ disabled?: boolean;
546
+ class?: string;
547
+ }
548
+ declare var __VLS_8$5: {};
549
+ type __VLS_Slots$16 = {} & {
550
+ default?: (props: typeof __VLS_8$5) => any;
551
+ };
552
+ declare const __VLS_base$16: import("vue").DefineComponent<Props$15, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$15> & Readonly<{}>, {
553
+ value: string;
554
+ disabled: boolean;
555
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
556
+ declare const __VLS_export$23: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
557
+ declare const _default$21: typeof __VLS_export$23;
558
+ type __VLS_WithSlots$16<T, S> = T & {
559
+ new (): {
560
+ $slots: S;
561
+ };
562
+ };
563
+ //#endregion
564
+ //#region src/components/dropdown-menu/DropdownMenuLabel.vue.d.ts
565
+ interface Props$14 {
566
+ class?: string;
567
+ }
568
+ declare var __VLS_1$1: {};
569
+ type __VLS_Slots$15 = {} & {
570
+ default?: (props: typeof __VLS_1$1) => any;
571
+ };
572
+ declare const __VLS_base$15: import("vue").DefineComponent<Props$14, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$14> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
573
+ declare const __VLS_export$22: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
574
+ declare const _default$22: typeof __VLS_export$22;
575
+ type __VLS_WithSlots$15<T, S> = T & {
576
+ new (): {
577
+ $slots: S;
578
+ };
579
+ };
580
+ //#endregion
581
+ //#region src/components/dropdown-menu/DropdownMenuSeparator.vue.d.ts
582
+ interface Props$13 {
583
+ class?: string;
584
+ }
585
+ declare const __VLS_export$21: import("vue").DefineComponent<Props$13, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$13> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
586
+ declare const _default$23: typeof __VLS_export$21;
587
+ //#endregion
588
+ //#region src/components/dropdown-menu/DropdownMenuTrigger.vue.d.ts
589
+ interface Props$12 {
590
+ /** 以默认插槽子元素为渲染目标,行为合并其上 */
591
+ asChild?: boolean;
592
+ }
593
+ declare var __VLS_8$4: {};
594
+ type __VLS_Slots$14 = {} & {
595
+ default?: (props: typeof __VLS_8$4) => any;
596
+ };
597
+ declare const __VLS_base$14: import("vue").DefineComponent<Props$12, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$12> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
598
+ declare const __VLS_export$20: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
599
+ declare const _default$24: typeof __VLS_export$20;
600
+ type __VLS_WithSlots$14<T, S> = T & {
601
+ new (): {
602
+ $slots: S;
603
+ };
604
+ };
605
+ //#endregion
606
+ //#region src/components/input/Input.vue.d.ts
607
+ type __VLS_Props$3 = {
608
+ class?: string;
609
+ };
610
+ type __VLS_ModelProps = {
611
+ modelValue?: string | number;
612
+ };
613
+ type __VLS_PublicProps = __VLS_Props$3 & __VLS_ModelProps;
614
+ declare const __VLS_export$19: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
615
+ "update:modelValue": (value: string | number) => any;
616
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
617
+ "onUpdate:modelValue"?: (value: string | number) => any;
618
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
619
+ declare const _default$25: typeof __VLS_export$19;
620
+ //#endregion
621
+ //#region src/components/label/Label.vue.d.ts
622
+ type __VLS_Props$2 = {
623
+ class?: string;
624
+ };
625
+ declare var __VLS_1: {};
626
+ type __VLS_Slots$13 = {} & {
627
+ default?: (props: typeof __VLS_1) => any;
628
+ };
629
+ declare const __VLS_base$13: import("vue").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$2> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
630
+ declare const __VLS_export$18: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
631
+ declare const _default$26: typeof __VLS_export$18;
632
+ type __VLS_WithSlots$13<T, S> = T & {
633
+ new (): {
634
+ $slots: S;
635
+ };
636
+ };
637
+ //#endregion
638
+ //#region src/components/radio-group/RadioGroup.vue.d.ts
639
+ interface Props$11 {
640
+ /** 当前值(配合 v-model:value);不传时为非受控 */
641
+ value?: string;
642
+ defaultValue?: string;
643
+ disabled?: boolean;
644
+ orientation?: "horizontal" | "vertical";
645
+ class?: string;
646
+ }
647
+ declare var __VLS_10$2: {};
648
+ type __VLS_Slots$12 = {} & {
649
+ default?: (props: typeof __VLS_10$2) => any;
650
+ };
651
+ declare const __VLS_base$12: import("vue").DefineComponent<Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
652
+ "update:value": (value: string) => any;
653
+ }, string, import("vue").PublicProps, Readonly<Props$11> & Readonly<{
654
+ "onUpdate:value"?: (value: string) => any;
655
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
656
+ declare const __VLS_export$17: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
657
+ declare const _default$27: typeof __VLS_export$17;
658
+ type __VLS_WithSlots$12<T, S> = T & {
659
+ new (): {
660
+ $slots: S;
661
+ };
662
+ };
663
+ //#endregion
664
+ //#region src/components/radio-group/RadioGroupItem.vue.d.ts
665
+ interface Props$10 {
666
+ value: string;
667
+ disabled?: boolean;
668
+ class?: string;
669
+ }
670
+ declare var __VLS_25: {};
671
+ type __VLS_Slots$11 = {} & {
672
+ default?: (props: typeof __VLS_25) => any;
673
+ };
674
+ declare const __VLS_base$11: import("vue").DefineComponent<Props$10, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$10> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
675
+ declare const __VLS_export$16: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
676
+ declare const _default$28: typeof __VLS_export$16;
677
+ type __VLS_WithSlots$11<T, S> = T & {
678
+ new (): {
679
+ $slots: S;
680
+ };
681
+ };
682
+ //#endregion
683
+ //#region src/components/select/types.d.ts
684
+ interface SelectItemOption {
685
+ label: string;
686
+ value: string;
687
+ disabled?: boolean;
688
+ }
689
+ //#endregion
690
+ //#region src/components/select/Select.vue.d.ts
691
+ declare var __VLS_11: {};
692
+ type __VLS_Slots$10 = {} & {
693
+ default?: (props: typeof __VLS_11) => any;
694
+ };
695
+ declare const __VLS_base$10: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
696
+ /** 选项列表(构建键盘导航/回显所需的 collection) */
697
+ items: {
698
+ type: PropType<(string | SelectItemOption)[]>;
699
+ required: true;
700
+ };
701
+ /** 当前值(配合 v-model);不传时为非受控 */
702
+ modelValue: {
703
+ type: PropType<string | undefined>;
704
+ default: any;
705
+ };
706
+ defaultValue: {
707
+ type: StringConstructor;
708
+ default: any;
709
+ };
710
+ open: {
711
+ type: PropType<boolean | undefined>;
712
+ default: any;
713
+ };
714
+ defaultOpen: {
715
+ type: BooleanConstructor;
716
+ default: boolean;
717
+ };
718
+ lazyMount: {
719
+ type: BooleanConstructor;
720
+ default: boolean;
721
+ };
722
+ unmountOnExit: {
723
+ type: BooleanConstructor;
724
+ default: boolean;
725
+ };
726
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
727
+ "update:modelValue": (value: string) => any;
728
+ "update:open": (open: boolean) => any;
729
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
730
+ /** 选项列表(构建键盘导航/回显所需的 collection) */
731
+ items: {
732
+ type: PropType<(string | SelectItemOption)[]>;
733
+ required: true;
734
+ };
735
+ /** 当前值(配合 v-model);不传时为非受控 */
736
+ modelValue: {
737
+ type: PropType<string | undefined>;
738
+ default: any;
739
+ };
740
+ defaultValue: {
741
+ type: StringConstructor;
742
+ default: any;
743
+ };
744
+ open: {
745
+ type: PropType<boolean | undefined>;
746
+ default: any;
747
+ };
748
+ defaultOpen: {
749
+ type: BooleanConstructor;
750
+ default: boolean;
751
+ };
752
+ lazyMount: {
753
+ type: BooleanConstructor;
754
+ default: boolean;
755
+ };
756
+ unmountOnExit: {
757
+ type: BooleanConstructor;
758
+ default: boolean;
759
+ };
760
+ }>> & Readonly<{
761
+ "onUpdate:modelValue"?: (value: string) => any;
762
+ "onUpdate:open"?: (open: boolean) => any;
763
+ }>, {
764
+ modelValue: string;
765
+ defaultValue: string;
766
+ open: boolean;
767
+ defaultOpen: boolean;
768
+ lazyMount: boolean;
769
+ unmountOnExit: boolean;
770
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
771
+ declare const __VLS_export$15: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
772
+ declare const _default$29: typeof __VLS_export$15;
773
+ type __VLS_WithSlots$10<T, S> = T & {
774
+ new (): {
775
+ $slots: S;
776
+ };
777
+ };
778
+ //#endregion
779
+ //#region src/components/select/SelectContent.vue.d.ts
780
+ interface Props$9 {
781
+ class?: string;
782
+ }
783
+ declare var __VLS_14$2: {};
784
+ type __VLS_Slots$9 = {} & {
785
+ default?: (props: typeof __VLS_14$2) => any;
786
+ };
787
+ declare const __VLS_base$9: import("vue").DefineComponent<Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
788
+ declare const __VLS_export$14: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
789
+ declare const _default$30: typeof __VLS_export$14;
790
+ type __VLS_WithSlots$9<T, S> = T & {
791
+ new (): {
792
+ $slots: S;
793
+ };
794
+ };
795
+ //#endregion
796
+ //#region src/components/select/SelectItem.vue.d.ts
797
+ declare const __VLS_export$13: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
798
+ item: {
799
+ type: PropType<string | SelectItemOption>;
800
+ required: true;
801
+ };
802
+ class: {
803
+ type: StringConstructor;
804
+ default: any;
805
+ };
806
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
807
+ item: {
808
+ type: PropType<string | SelectItemOption>;
809
+ required: true;
810
+ };
811
+ class: {
812
+ type: StringConstructor;
813
+ default: any;
814
+ };
815
+ }>> & Readonly<{}>, {
816
+ class: string;
817
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
818
+ declare const _default$31: typeof __VLS_export$13;
819
+ //#endregion
820
+ //#region src/components/select/SelectTrigger.vue.d.ts
821
+ interface Props$8 {
822
+ /** 以默认插槽子元素为渲染目标(chevron 需自行放置) */
823
+ asChild?: boolean;
824
+ class?: string;
825
+ }
826
+ declare var __VLS_14$1: {};
827
+ type __VLS_Slots$8 = {} & {
828
+ default?: (props: typeof __VLS_14$1) => any;
829
+ };
830
+ declare const __VLS_base$8: import("vue").DefineComponent<Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$8> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
831
+ declare const __VLS_export$12: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
832
+ declare const _default$32: typeof __VLS_export$12;
833
+ type __VLS_WithSlots$8<T, S> = T & {
834
+ new (): {
835
+ $slots: S;
836
+ };
837
+ };
838
+ //#endregion
839
+ //#region src/components/select/SelectValueText.vue.d.ts
840
+ interface Props$7 {
841
+ placeholder?: string;
842
+ }
843
+ declare const __VLS_export$11: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
844
+ declare const _default$33: typeof __VLS_export$11;
845
+ //#endregion
846
+ //#region src/components/separator/Separator.vue.d.ts
847
+ interface Props$6 {
848
+ orientation?: "horizontal" | "vertical";
849
+ class?: string;
850
+ }
851
+ declare const __VLS_export$10: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {
852
+ orientation: "horizontal" | "vertical";
853
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
854
+ declare const _default$34: typeof __VLS_export$10;
855
+ //#endregion
856
+ //#region src/components/skeleton/Skeleton.vue.d.ts
857
+ type __VLS_Props$1 = {
858
+ class?: string;
859
+ };
860
+ declare const __VLS_export$9: import("vue").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
861
+ declare const _default$35: typeof __VLS_export$9;
862
+ //#endregion
863
+ //#region src/components/slot/Slot.d.ts
864
+ /**
865
+ * asChild 组合原语:把落在自身上的 attrs(class、事件、透传属性)合并到默认插槽的
866
+ * 第一个元素子节点上,而不是渲染额外 DOM。Button 的 asChild 与后续交互组件批次的
867
+ * 组合能力都以此为基础。
868
+ *
869
+ * 合并语义(对齐 radix Slot):
870
+ * - 子元素自身标量 props 优先于注入的同名属性;
871
+ * - class 经 cn 做 tailwind-merge 冲突合并(注入方的变体类可被子元素同类覆盖),
872
+ * 且以 createVNode 重建子节点,避免 cloneVNode 拼接造成 class 重复;
873
+ * - 事件处理器链式合并(子元素先触发,注入方后触发);
874
+ * - 子节点为文本/注释(如 v-if 为 false)时原样渲染,class 等注入丢弃;
875
+ * - 默认插槽展平后为空时抛错。
876
+ */
877
+ export declare const Slot: import("vue").DefineComponent<{}, () => VNode<import("vue").RendererNode, import("vue").RendererElement, {
878
+ [key: string]: any;
879
+ }>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
880
+ //#endregion
881
+ //#region src/components/slider/Slider.vue.d.ts
882
+ type __VLS_Props = {
883
+ value?: number | number[];
884
+ defaultValue?: number | number[];
885
+ min?: number;
886
+ max?: number;
887
+ step?: number;
888
+ disabled?: boolean;
889
+ class?: string;
890
+ };
891
+ declare const __VLS_export$8: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
892
+ "update:modelValue": (value: number[]) => any;
893
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
894
+ "onUpdate:modelValue"?: (value: number[]) => any;
895
+ }>, {
896
+ min: number;
897
+ max: number;
898
+ step: number;
899
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
900
+ declare const _default$36: typeof __VLS_export$8;
901
+ //#endregion
902
+ //#region src/components/switch/Switch.vue.d.ts
903
+ declare var __VLS_32: {};
904
+ type __VLS_Slots$7 = {} & {
905
+ default?: (props: typeof __VLS_32) => any;
906
+ };
907
+ declare const __VLS_base$7: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
908
+ checked: {
909
+ type: PropType<boolean | undefined>;
910
+ default: any;
911
+ };
912
+ defaultChecked: {
913
+ type: BooleanConstructor;
914
+ default: boolean;
915
+ };
916
+ disabled: {
917
+ type: BooleanConstructor;
918
+ default: boolean;
919
+ };
920
+ class: {
921
+ type: StringConstructor;
922
+ default: any;
923
+ };
924
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
925
+ "update:checked": (checked: boolean) => any;
926
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
927
+ checked: {
928
+ type: PropType<boolean | undefined>;
929
+ default: any;
930
+ };
931
+ defaultChecked: {
932
+ type: BooleanConstructor;
933
+ default: boolean;
934
+ };
935
+ disabled: {
936
+ type: BooleanConstructor;
937
+ default: boolean;
938
+ };
939
+ class: {
940
+ type: StringConstructor;
941
+ default: any;
942
+ };
943
+ }>> & Readonly<{
944
+ "onUpdate:checked"?: (checked: boolean) => any;
945
+ }>, {
946
+ class: string;
947
+ checked: boolean;
948
+ defaultChecked: boolean;
949
+ disabled: boolean;
950
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
951
+ declare const __VLS_export$7: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
952
+ declare const _default$37: typeof __VLS_export$7;
953
+ type __VLS_WithSlots$7<T, S> = T & {
954
+ new (): {
955
+ $slots: S;
956
+ };
957
+ };
958
+ //#endregion
959
+ //#region src/components/tabs/Tabs.vue.d.ts
960
+ interface Props$5 {
961
+ /** 当前激活的 tab 值(配合 v-model:value);不传时为非受控 */
962
+ value?: string;
963
+ defaultValue?: string;
964
+ /** 切换模式:automatic 悬停聚焦即切换 / manual 需点击或 Enter */
965
+ activationMode?: "automatic" | "manual";
966
+ lazyMount?: boolean;
967
+ unmountOnExit?: boolean;
968
+ }
969
+ declare var __VLS_10$1: {};
970
+ type __VLS_Slots$6 = {} & {
971
+ default?: (props: typeof __VLS_10$1) => any;
972
+ };
973
+ declare const __VLS_base$6: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
974
+ "update:value": (value: string) => any;
975
+ }, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{
976
+ "onUpdate:value"?: (value: string) => any;
977
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
978
+ declare const __VLS_export$6: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
979
+ declare const _default$38: typeof __VLS_export$6;
980
+ type __VLS_WithSlots$6<T, S> = T & {
981
+ new (): {
982
+ $slots: S;
983
+ };
984
+ };
985
+ //#endregion
986
+ //#region src/components/tabs/TabsContent.vue.d.ts
987
+ interface Props$4 {
988
+ value: string;
989
+ class?: string;
990
+ }
991
+ declare var __VLS_8$3: {};
992
+ type __VLS_Slots$5 = {} & {
993
+ default?: (props: typeof __VLS_8$3) => any;
994
+ };
995
+ declare const __VLS_base$5: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
996
+ declare const __VLS_export$5: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
997
+ declare const _default$39: typeof __VLS_export$5;
998
+ type __VLS_WithSlots$5<T, S> = T & {
999
+ new (): {
1000
+ $slots: S;
1001
+ };
1002
+ };
1003
+ //#endregion
1004
+ //#region src/components/tabs/TabsList.vue.d.ts
1005
+ interface Props$3 {
1006
+ class?: string;
1007
+ }
1008
+ declare var __VLS_8$2: {};
1009
+ type __VLS_Slots$4 = {} & {
1010
+ default?: (props: typeof __VLS_8$2) => any;
1011
+ };
1012
+ declare const __VLS_base$4: import("vue").DefineComponent<Props$3, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$3> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1013
+ declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
1014
+ declare const _default$40: typeof __VLS_export$4;
1015
+ type __VLS_WithSlots$4<T, S> = T & {
1016
+ new (): {
1017
+ $slots: S;
1018
+ };
1019
+ };
1020
+ //#endregion
1021
+ //#region src/components/tabs/TabsTrigger.vue.d.ts
1022
+ interface Props$2 {
1023
+ value: string;
1024
+ disabled?: boolean;
1025
+ class?: string;
1026
+ }
1027
+ declare var __VLS_8$1: {};
1028
+ type __VLS_Slots$3 = {} & {
1029
+ default?: (props: typeof __VLS_8$1) => any;
1030
+ };
1031
+ declare const __VLS_base$3: import("vue").DefineComponent<Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
1032
+ declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
1033
+ declare const _default$41: typeof __VLS_export$3;
1034
+ type __VLS_WithSlots$3<T, S> = T & {
1035
+ new (): {
1036
+ $slots: S;
1037
+ };
1038
+ };
1039
+ //#endregion
1040
+ //#region src/components/tooltip/Tooltip.vue.d.ts
1041
+ declare var __VLS_10: {};
1042
+ type __VLS_Slots$2 = {} & {
1043
+ default?: (props: typeof __VLS_10) => any;
1044
+ };
1045
+ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
1046
+ open: {
1047
+ type: PropType<boolean | undefined>;
1048
+ default: any;
1049
+ };
1050
+ defaultOpen: {
1051
+ type: BooleanConstructor;
1052
+ default: boolean;
1053
+ };
1054
+ delayDuration: {
1055
+ type: NumberConstructor;
1056
+ default: any;
1057
+ };
1058
+ closeDuration: {
1059
+ type: NumberConstructor;
1060
+ default: any;
1061
+ };
1062
+ lazyMount: {
1063
+ type: BooleanConstructor;
1064
+ default: boolean;
1065
+ };
1066
+ unmountOnExit: {
1067
+ type: BooleanConstructor;
1068
+ default: boolean;
1069
+ };
1070
+ }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
1071
+ "update:open": (open: boolean) => any;
1072
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
1073
+ open: {
1074
+ type: PropType<boolean | undefined>;
1075
+ default: any;
1076
+ };
1077
+ defaultOpen: {
1078
+ type: BooleanConstructor;
1079
+ default: boolean;
1080
+ };
1081
+ delayDuration: {
1082
+ type: NumberConstructor;
1083
+ default: any;
1084
+ };
1085
+ closeDuration: {
1086
+ type: NumberConstructor;
1087
+ default: any;
1088
+ };
1089
+ lazyMount: {
1090
+ type: BooleanConstructor;
1091
+ default: boolean;
1092
+ };
1093
+ unmountOnExit: {
1094
+ type: BooleanConstructor;
1095
+ default: boolean;
1096
+ };
1097
+ }>> & Readonly<{
1098
+ "onUpdate:open"?: (open: boolean) => any;
1099
+ }>, {
1100
+ open: boolean;
1101
+ defaultOpen: boolean;
1102
+ delayDuration: number;
1103
+ closeDuration: number;
1104
+ lazyMount: boolean;
1105
+ unmountOnExit: boolean;
1106
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1107
+ declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
1108
+ declare const _default$42: typeof __VLS_export$2;
1109
+ type __VLS_WithSlots$2<T, S> = T & {
1110
+ new (): {
1111
+ $slots: S;
1112
+ };
1113
+ };
1114
+ //#endregion
1115
+ //#region src/components/tooltip/TooltipContent.vue.d.ts
1116
+ interface Props$1 {
1117
+ class?: string;
1118
+ }
1119
+ declare var __VLS_14: {};
1120
+ type __VLS_Slots$1 = {} & {
1121
+ default?: (props: typeof __VLS_14) => any;
1122
+ };
1123
+ declare const __VLS_base$1: import("vue").DefineComponent<Props$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$1> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1124
+ declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
1125
+ declare const _default$43: typeof __VLS_export$1;
1126
+ type __VLS_WithSlots$1<T, S> = T & {
1127
+ new (): {
1128
+ $slots: S;
1129
+ };
1130
+ };
1131
+ //#endregion
1132
+ //#region src/components/tooltip/TooltipTrigger.vue.d.ts
1133
+ interface Props {
1134
+ /** 以默认插槽子元素为渲染目标,行为合并其上 */
1135
+ asChild?: boolean;
1136
+ }
1137
+ declare var __VLS_8: {};
1138
+ type __VLS_Slots = {} & {
1139
+ default?: (props: typeof __VLS_8) => any;
1140
+ };
1141
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1142
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
1143
+ declare const _default$44: typeof __VLS_export;
1144
+ type __VLS_WithSlots<T, S> = T & {
1145
+ new (): {
1146
+ $slots: S;
1147
+ };
1148
+ };
1149
+ //#endregion
1150
+ export { _default as Avatar, _default$1 as Badge, _default$2 as Button, _default$3 as Card, _default$4 as CardContent, _default$5 as CardDescription, _default$6 as CardFooter, _default$7 as CardHeader, _default$8 as CardTitle, _default$9 as Checkbox, _default$10 as Dialog, _default$11 as DialogClose, _default$12 as DialogContent, _default$13 as DialogDescription, _default$14 as DialogFooter, _default$15 as DialogHeader, _default$16 as DialogTitle, _default$17 as DialogTrigger, _default$18 as DropdownMenu, _default$19 as DropdownMenuContent, _default$20 as DropdownMenuGroup, _default$21 as DropdownMenuItem, _default$22 as DropdownMenuLabel, _default$23 as DropdownMenuSeparator, _default$24 as DropdownMenuTrigger, _default$25 as Input, _default$26 as Label, _default$27 as RadioGroup, _default$28 as RadioGroupItem, _default$29 as Select, _default$30 as SelectContent, _default$31 as SelectItem, type SelectItemOption, _default$32 as SelectTrigger, _default$33 as SelectValueText, _default$34 as Separator, _default$35 as Skeleton, _default$36 as Slider, _default$37 as Switch, _default$38 as Tabs, _default$39 as TabsContent, _default$40 as TabsList, _default$41 as TabsTrigger, _default$42 as Tooltip, _default$43 as TooltipContent, _default$44 as TooltipTrigger };