yd-admin 0.1.4

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,2971 @@
1
+ import * as _$vue from "vue";
2
+ import { App, Ref } from "vue";
3
+ import * as _$vue_i18n0 from "vue-i18n";
4
+ import { PiniaPluginContext } from "pinia";
5
+
6
+ //#region src/types/index.d.ts
7
+ /**
8
+ * Global type definitions
9
+ * 全局 TypeScript 类型
10
+ */
11
+ /** 组件尺寸 */
12
+ type ComponentSize = "xs" | "sm" | "md" | "lg" | "xl";
13
+ /** 组件变体 */
14
+ type ComponentVariant = "default" | "primary" | "success" | "warning" | "error" | "info";
15
+ /** 对齐方式 */
16
+ type Alignment = "start" | "center" | "end" | "stretch";
17
+ /** 方向 */
18
+ type Direction = "horizontal" | "vertical";
19
+ /** 事件处理函数 */
20
+ type EventHandler<T = Event> = (event: T) => void | Promise<void>;
21
+ /** 可选的 Promise */
22
+ type MaybePromise<T> = T | Promise<T>;
23
+ /** 深度部分可选 */
24
+ type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P] };
25
+ /** 字符串字面量工具类型 */
26
+ type StringLiteral<T> = T extends string ? (string extends T ? never : T) : never;
27
+ //#endregion
28
+ //#region src/components/base/button/button.vue.d.ts
29
+ interface Props$60 {
30
+ /** 按钮类型 */
31
+ variant?: ComponentVariant;
32
+ /** 按钮尺寸 */
33
+ size?: ComponentSize;
34
+ /** 是否为朴素按钮 */
35
+ plain?: boolean;
36
+ /** 是否为圆角按钮 */
37
+ round?: boolean;
38
+ /** 是否为圆形按钮 */
39
+ circle?: boolean;
40
+ /** 是否禁用 */
41
+ disabled?: boolean;
42
+ /** 是否加载中 */
43
+ loading?: boolean;
44
+ /** 原生 type 属性 */
45
+ nativeType?: "button" | "submit" | "reset";
46
+ }
47
+ declare var __VLS_1$29: {};
48
+ type __VLS_Slots$40 = {} & {
49
+ default?: (props: typeof __VLS_1$29) => any;
50
+ };
51
+ declare const __VLS_base$40: _$vue.DefineComponent<Props$60, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
52
+ click: (event: MouseEvent) => any;
53
+ }, string, _$vue.PublicProps, Readonly<Props$60> & Readonly<{
54
+ onClick?: ((event: MouseEvent) => any) | undefined;
55
+ }>, {
56
+ size: ComponentSize;
57
+ variant: ComponentVariant;
58
+ loading: boolean;
59
+ circle: boolean;
60
+ disabled: boolean;
61
+ plain: boolean;
62
+ round: boolean;
63
+ nativeType: "button" | "submit" | "reset";
64
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
65
+ declare const __VLS_export$60: __VLS_WithSlots$40<typeof __VLS_base$40, __VLS_Slots$40>;
66
+ declare const _default$5: typeof __VLS_export$60;
67
+ type __VLS_WithSlots$40<T, S> = T & {
68
+ new (): {
69
+ $slots: S;
70
+ };
71
+ };
72
+ //#endregion
73
+ //#region src/components/base/input/input.vue.d.ts
74
+ interface Props$59 {
75
+ modelValue?: string | number;
76
+ placeholder?: string;
77
+ disabled?: boolean;
78
+ readonly?: boolean;
79
+ clearable?: boolean;
80
+ size?: ComponentSize;
81
+ variant?: "default" | "bordered" | "filled" | "underlined";
82
+ type?: "text" | "password" | "number" | "email" | "tel" | "url";
83
+ prefixIcon?: object;
84
+ suffixIcon?: object;
85
+ maxlength?: number;
86
+ showWordLimit?: boolean;
87
+ autocomplete?: string;
88
+ }
89
+ declare var __VLS_1$28: {}, __VLS_8$4: {};
90
+ type __VLS_Slots$39 = {} & {
91
+ prefix?: (props: typeof __VLS_1$28) => any;
92
+ } & {
93
+ suffix?: (props: typeof __VLS_8$4) => any;
94
+ };
95
+ declare const __VLS_base$39: _$vue.DefineComponent<Props$59, {
96
+ focus: () => void | undefined;
97
+ blur: () => void | undefined;
98
+ select: () => void | undefined;
99
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
100
+ change: (value: string | number) => any;
101
+ "update:modelValue": (value: string | number) => any;
102
+ clear: () => any;
103
+ input: (value: string | number) => any;
104
+ focus: (event: FocusEvent) => any;
105
+ blur: (event: FocusEvent) => any;
106
+ keydown: (event: KeyboardEvent) => any;
107
+ }, string, _$vue.PublicProps, Readonly<Props$59> & Readonly<{
108
+ onChange?: ((value: string | number) => any) | undefined;
109
+ "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
110
+ onClear?: (() => any) | undefined;
111
+ onInput?: ((value: string | number) => any) | undefined;
112
+ onFocus?: ((event: FocusEvent) => any) | undefined;
113
+ onBlur?: ((event: FocusEvent) => any) | undefined;
114
+ onKeydown?: ((event: KeyboardEvent) => any) | undefined;
115
+ }>, {
116
+ size: ComponentSize;
117
+ type: "text" | "password" | "number" | "email" | "tel" | "url";
118
+ variant: "default" | "bordered" | "filled" | "underlined";
119
+ modelValue: string | number;
120
+ disabled: boolean;
121
+ placeholder: string;
122
+ readonly: boolean;
123
+ clearable: boolean;
124
+ prefixIcon: object;
125
+ suffixIcon: object;
126
+ maxlength: number;
127
+ showWordLimit: boolean;
128
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
129
+ declare const __VLS_export$59: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
130
+ declare const _default$24: typeof __VLS_export$59;
131
+ type __VLS_WithSlots$39<T, S> = T & {
132
+ new (): {
133
+ $slots: S;
134
+ };
135
+ };
136
+ //#endregion
137
+ //#region src/components/base/textarea/textarea.vue.d.ts
138
+ interface Props$58 {
139
+ modelValue?: string;
140
+ placeholder?: string;
141
+ disabled?: boolean;
142
+ readonly?: boolean;
143
+ rows?: number;
144
+ autosize?: boolean | {
145
+ minRows?: number;
146
+ maxRows?: number;
147
+ };
148
+ size?: ComponentSize;
149
+ variant?: "default" | "bordered" | "filled" | "underlined";
150
+ maxlength?: number;
151
+ showWordLimit?: boolean;
152
+ }
153
+ declare const __VLS_export$58: _$vue.DefineComponent<Props$58, {
154
+ focus: () => void | undefined;
155
+ blur: () => void | undefined;
156
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
157
+ change: (value: string) => any;
158
+ "update:modelValue": (value: string) => any;
159
+ input: (value: string) => any;
160
+ focus: (event: FocusEvent) => any;
161
+ blur: (event: FocusEvent) => any;
162
+ }, string, _$vue.PublicProps, Readonly<Props$58> & Readonly<{
163
+ onChange?: ((value: string) => any) | undefined;
164
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
165
+ onInput?: ((value: string) => any) | undefined;
166
+ onFocus?: ((event: FocusEvent) => any) | undefined;
167
+ onBlur?: ((event: FocusEvent) => any) | undefined;
168
+ }>, {
169
+ size: ComponentSize;
170
+ variant: "default" | "bordered" | "filled" | "underlined";
171
+ modelValue: string;
172
+ rows: number;
173
+ disabled: boolean;
174
+ placeholder: string;
175
+ readonly: boolean;
176
+ maxlength: number;
177
+ showWordLimit: boolean;
178
+ autosize: boolean | {
179
+ minRows?: number;
180
+ maxRows?: number;
181
+ };
182
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
183
+ declare const _default$54: typeof __VLS_export$58;
184
+ //#endregion
185
+ //#region src/components/base/input-number/input-number.vue.d.ts
186
+ interface Props$57 {
187
+ modelValue?: number;
188
+ min?: number;
189
+ max?: number;
190
+ step?: number;
191
+ disabled?: boolean;
192
+ size?: ComponentSize;
193
+ precision?: number;
194
+ prefix?: string;
195
+ suffix?: string;
196
+ }
197
+ declare const __VLS_export$57: _$vue.DefineComponent<Props$57, {
198
+ focus: () => void | undefined;
199
+ blur: () => void | undefined;
200
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
201
+ change: (value: number, oldValue: number) => any;
202
+ "update:modelValue": (value: number) => any;
203
+ input: (value: string) => any;
204
+ }, string, _$vue.PublicProps, Readonly<Props$57> & Readonly<{
205
+ onChange?: ((value: number, oldValue: number) => any) | undefined;
206
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
207
+ onInput?: ((value: string) => any) | undefined;
208
+ }>, {
209
+ size: ComponentSize;
210
+ modelValue: number;
211
+ prefix: string;
212
+ suffix: string;
213
+ precision: number;
214
+ disabled: boolean;
215
+ min: number;
216
+ max: number;
217
+ step: number;
218
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
219
+ declare const _default$25: typeof __VLS_export$57;
220
+ //#endregion
221
+ //#region src/components/base/select/select.vue.d.ts
222
+ interface SelectOption {
223
+ label: string;
224
+ value: string | number;
225
+ disabled?: boolean;
226
+ }
227
+ interface SelectGroup {
228
+ label: string;
229
+ options: SelectOption[];
230
+ }
231
+ interface Props$56 {
232
+ modelValue?: string | number | (string | number)[];
233
+ placeholder?: string;
234
+ disabled?: boolean;
235
+ multiple?: boolean;
236
+ size?: ComponentSize;
237
+ variant?: "default" | "bordered" | "filled";
238
+ label?: string;
239
+ required?: boolean;
240
+ error?: string;
241
+ hint?: string;
242
+ options?: (SelectOption | SelectGroup)[];
243
+ filterable?: boolean;
244
+ remote?: boolean;
245
+ remoteMethod?: (query: string) => void;
246
+ clearable?: boolean;
247
+ dropdownHeight?: number;
248
+ }
249
+ declare const __VLS_export$56: _$vue.DefineComponent<Props$56, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
250
+ change: (value: string | number | (string | number)[]) => any;
251
+ "update:modelValue": (value: string | number | (string | number)[]) => any;
252
+ search: (query: string) => any;
253
+ focus: (event: FocusEvent) => any;
254
+ blur: (event: FocusEvent) => any;
255
+ }, string, _$vue.PublicProps, Readonly<Props$56> & Readonly<{
256
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
257
+ "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
258
+ onSearch?: ((query: string) => any) | undefined;
259
+ onFocus?: ((event: FocusEvent) => any) | undefined;
260
+ onBlur?: ((event: FocusEvent) => any) | undefined;
261
+ }>, {
262
+ size: ComponentSize;
263
+ variant: "default" | "bordered" | "filled";
264
+ error: string;
265
+ modelValue: string | number | (string | number)[];
266
+ disabled: boolean;
267
+ placeholder: string;
268
+ clearable: boolean;
269
+ multiple: boolean;
270
+ label: string;
271
+ required: boolean;
272
+ hint: string;
273
+ options: (SelectOption | SelectGroup)[];
274
+ filterable: boolean;
275
+ remote: boolean;
276
+ remoteMethod: (query: string) => void;
277
+ dropdownHeight: number;
278
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
279
+ declare const _default$43: typeof __VLS_export$56;
280
+ //#endregion
281
+ //#region src/components/base/switch/switch.vue.d.ts
282
+ interface Props$55 {
283
+ modelValue?: boolean;
284
+ disabled?: boolean;
285
+ size?: ComponentSize;
286
+ }
287
+ declare const __VLS_export$55: _$vue.DefineComponent<Props$55, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
288
+ change: (value: boolean) => any;
289
+ "update:modelValue": (value: boolean) => any;
290
+ }, string, _$vue.PublicProps, Readonly<Props$55> & Readonly<{
291
+ onChange?: ((value: boolean) => any) | undefined;
292
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
293
+ }>, {
294
+ size: ComponentSize;
295
+ modelValue: boolean;
296
+ disabled: boolean;
297
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
298
+ declare const _default$50: typeof __VLS_export$55;
299
+ //#endregion
300
+ //#region src/components/base/checkbox/checkbox.vue.d.ts
301
+ interface Props$54 {
302
+ modelValue?: boolean;
303
+ label?: string;
304
+ value?: string | number | boolean;
305
+ disabled?: boolean;
306
+ indeterminate?: boolean;
307
+ }
308
+ declare var __VLS_1$27: {};
309
+ type __VLS_Slots$38 = {} & {
310
+ default?: (props: typeof __VLS_1$27) => any;
311
+ };
312
+ declare const __VLS_base$38: _$vue.DefineComponent<Props$54, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
313
+ change: (value: boolean) => any;
314
+ "update:modelValue": (value: boolean) => any;
315
+ }, string, _$vue.PublicProps, Readonly<Props$54> & Readonly<{
316
+ onChange?: ((value: boolean) => any) | undefined;
317
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
318
+ }>, {
319
+ modelValue: boolean;
320
+ value: string | number | boolean;
321
+ disabled: boolean;
322
+ label: string;
323
+ indeterminate: boolean;
324
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
325
+ declare const __VLS_export$54: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
326
+ declare const _default$9: typeof __VLS_export$54;
327
+ type __VLS_WithSlots$38<T, S> = T & {
328
+ new (): {
329
+ $slots: S;
330
+ };
331
+ };
332
+ //#endregion
333
+ //#region src/components/base/checkbox/checkbox-group.vue.d.ts
334
+ interface CheckboxOption {
335
+ label: string;
336
+ value: string | number | boolean;
337
+ disabled?: boolean;
338
+ }
339
+ interface Props$53 {
340
+ modelValue?: (string | number | boolean)[];
341
+ options?: CheckboxOption[];
342
+ disabled?: boolean;
343
+ }
344
+ declare var __VLS_8$3: {};
345
+ type __VLS_Slots$37 = {} & {
346
+ default?: (props: typeof __VLS_8$3) => any;
347
+ };
348
+ declare const __VLS_base$37: _$vue.DefineComponent<Props$53, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
349
+ change: (value: (string | number | boolean)[]) => any;
350
+ "update:modelValue": (value: (string | number | boolean)[]) => any;
351
+ }, string, _$vue.PublicProps, Readonly<Props$53> & Readonly<{
352
+ onChange?: ((value: (string | number | boolean)[]) => any) | undefined;
353
+ "onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
354
+ }>, {
355
+ modelValue: (string | number | boolean)[];
356
+ disabled: boolean;
357
+ options: CheckboxOption[];
358
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
359
+ declare const __VLS_export$53: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
360
+ declare const _default$10: typeof __VLS_export$53;
361
+ type __VLS_WithSlots$37<T, S> = T & {
362
+ new (): {
363
+ $slots: S;
364
+ };
365
+ };
366
+ //#endregion
367
+ //#region src/components/base/radio/radio.vue.d.ts
368
+ interface Props$52 {
369
+ modelValue?: string | number | boolean;
370
+ value?: string | number | boolean;
371
+ label?: string;
372
+ disabled?: boolean;
373
+ name?: string;
374
+ }
375
+ declare var __VLS_1$26: {};
376
+ type __VLS_Slots$36 = {} & {
377
+ default?: (props: typeof __VLS_1$26) => any;
378
+ };
379
+ declare const __VLS_base$36: _$vue.DefineComponent<Props$52, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
380
+ change: (value: string | number | boolean) => any;
381
+ "update:modelValue": (value: string | number | boolean) => any;
382
+ }, string, _$vue.PublicProps, Readonly<Props$52> & Readonly<{
383
+ onChange?: ((value: string | number | boolean) => any) | undefined;
384
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
385
+ }>, {
386
+ modelValue: string | number | boolean;
387
+ value: string | number | boolean;
388
+ disabled: boolean;
389
+ label: string;
390
+ name: string;
391
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
392
+ declare const __VLS_export$52: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
393
+ declare const _default$39: typeof __VLS_export$52;
394
+ type __VLS_WithSlots$36<T, S> = T & {
395
+ new (): {
396
+ $slots: S;
397
+ };
398
+ };
399
+ //#endregion
400
+ //#region src/components/base/radio/radio-group.vue.d.ts
401
+ interface RadioOption {
402
+ label: string;
403
+ value: string | number | boolean;
404
+ disabled?: boolean;
405
+ }
406
+ interface Props$51 {
407
+ modelValue?: string | number | boolean;
408
+ options?: RadioOption[];
409
+ disabled?: boolean;
410
+ name?: string;
411
+ }
412
+ declare var __VLS_8$2: {};
413
+ type __VLS_Slots$35 = {} & {
414
+ default?: (props: typeof __VLS_8$2) => any;
415
+ };
416
+ declare const __VLS_base$35: _$vue.DefineComponent<Props$51, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
417
+ change: (value: string | number | boolean) => any;
418
+ "update:modelValue": (value: string | number | boolean) => any;
419
+ }, string, _$vue.PublicProps, Readonly<Props$51> & Readonly<{
420
+ onChange?: ((value: string | number | boolean) => any) | undefined;
421
+ "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
422
+ }>, {
423
+ modelValue: string | number | boolean;
424
+ disabled: boolean;
425
+ options: RadioOption[];
426
+ name: string;
427
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
428
+ declare const __VLS_export$51: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
429
+ declare const _default$40: typeof __VLS_export$51;
430
+ type __VLS_WithSlots$35<T, S> = T & {
431
+ new (): {
432
+ $slots: S;
433
+ };
434
+ };
435
+ //#endregion
436
+ //#region src/components/base/tag/tag.vue.d.ts
437
+ interface Props$50 {
438
+ variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
439
+ size?: ComponentSize;
440
+ plain?: boolean;
441
+ round?: boolean;
442
+ closable?: boolean;
443
+ }
444
+ declare var __VLS_1$25: {};
445
+ type __VLS_Slots$34 = {} & {
446
+ default?: (props: typeof __VLS_1$25) => any;
447
+ };
448
+ declare const __VLS_base$34: _$vue.DefineComponent<Props$50, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
449
+ close: () => any;
450
+ }, string, _$vue.PublicProps, Readonly<Props$50> & Readonly<{
451
+ onClose?: (() => any) | undefined;
452
+ }>, {
453
+ size: ComponentSize;
454
+ variant: "default" | "primary" | "success" | "warning" | "error" | "info";
455
+ closable: boolean;
456
+ plain: boolean;
457
+ round: boolean;
458
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
459
+ declare const __VLS_export$50: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
460
+ declare const _default$53: typeof __VLS_export$50;
461
+ type __VLS_WithSlots$34<T, S> = T & {
462
+ new (): {
463
+ $slots: S;
464
+ };
465
+ };
466
+ //#endregion
467
+ //#region src/components/base/avatar/avatar.vue.d.ts
468
+ interface Props$49 {
469
+ src?: string;
470
+ alt?: string;
471
+ text?: string;
472
+ size?: ComponentSize;
473
+ shape?: "circle" | "square";
474
+ color?: string;
475
+ }
476
+ declare var __VLS_1$24: {};
477
+ type __VLS_Slots$33 = {} & {
478
+ default?: (props: typeof __VLS_1$24) => any;
479
+ };
480
+ declare const __VLS_base$33: _$vue.DefineComponent<Props$49, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$49> & Readonly<{}>, {
481
+ size: ComponentSize;
482
+ color: string;
483
+ src: string;
484
+ alt: string;
485
+ text: string;
486
+ shape: "circle" | "square";
487
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
488
+ declare const __VLS_export$49: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
489
+ declare const _default$2: typeof __VLS_export$49;
490
+ type __VLS_WithSlots$33<T, S> = T & {
491
+ new (): {
492
+ $slots: S;
493
+ };
494
+ };
495
+ //#endregion
496
+ //#region src/components/base/badge/badge.vue.d.ts
497
+ interface Props$48 {
498
+ value?: number | string;
499
+ max?: number;
500
+ dot?: boolean;
501
+ show?: boolean;
502
+ variant?: ComponentVariant;
503
+ offset?: [number, number];
504
+ standalone?: boolean;
505
+ }
506
+ declare var __VLS_1$23: {};
507
+ type __VLS_Slots$32 = {} & {
508
+ default?: (props: typeof __VLS_1$23) => any;
509
+ };
510
+ declare const __VLS_base$32: _$vue.DefineComponent<Props$48, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$48> & Readonly<{}>, {
511
+ variant: ComponentVariant;
512
+ value: number | string;
513
+ max: number;
514
+ dot: boolean;
515
+ show: boolean;
516
+ offset: [number, number];
517
+ standalone: boolean;
518
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
519
+ declare const __VLS_export$48: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
520
+ declare const _default$3: typeof __VLS_export$48;
521
+ type __VLS_WithSlots$32<T, S> = T & {
522
+ new (): {
523
+ $slots: S;
524
+ };
525
+ };
526
+ //#endregion
527
+ //#region src/components/base/rate/rate.vue.d.ts
528
+ interface Props$47 {
529
+ modelValue?: number;
530
+ count?: number;
531
+ disabled?: boolean;
532
+ allowHalf?: boolean;
533
+ showText?: boolean;
534
+ texts?: string[];
535
+ size?: "xs" | "sm" | "md" | "lg";
536
+ }
537
+ declare const __VLS_export$47: _$vue.DefineComponent<Props$47, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
538
+ change: (value: number) => any;
539
+ "update:modelValue": (value: number) => any;
540
+ }, string, _$vue.PublicProps, Readonly<Props$47> & Readonly<{
541
+ onChange?: ((value: number) => any) | undefined;
542
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
543
+ }>, {
544
+ size: "xs" | "sm" | "md" | "lg";
545
+ modelValue: number;
546
+ disabled: boolean;
547
+ count: number;
548
+ allowHalf: boolean;
549
+ showText: boolean;
550
+ texts: string[];
551
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
552
+ declare const _default$41: typeof __VLS_export$47;
553
+ //#endregion
554
+ //#region src/components/base/slider/slider.vue.d.ts
555
+ interface Props$46 {
556
+ modelValue?: number;
557
+ min?: number;
558
+ max?: number;
559
+ step?: number;
560
+ disabled?: boolean;
561
+ showTooltip?: boolean;
562
+ size?: "xs" | "sm" | "md" | "lg";
563
+ }
564
+ declare const __VLS_export$46: _$vue.DefineComponent<Props$46, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
565
+ change: (value: number) => any;
566
+ "update:modelValue": (value: number) => any;
567
+ }, string, _$vue.PublicProps, Readonly<Props$46> & Readonly<{
568
+ onChange?: ((value: number) => any) | undefined;
569
+ "onUpdate:modelValue"?: ((value: number) => any) | undefined;
570
+ }>, {
571
+ size: "xs" | "sm" | "md" | "lg";
572
+ modelValue: number;
573
+ disabled: boolean;
574
+ min: number;
575
+ max: number;
576
+ step: number;
577
+ showTooltip: boolean;
578
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
579
+ declare const _default$45: typeof __VLS_export$46;
580
+ //#endregion
581
+ //#region src/components/base/date-picker/date-picker.vue.d.ts
582
+ interface Props$45 {
583
+ modelValue?: string;
584
+ placeholder?: string;
585
+ disabled?: boolean;
586
+ type?: "date" | "month" | "year";
587
+ }
588
+ declare const __VLS_export$45: _$vue.DefineComponent<Props$45, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
589
+ change: (value: string) => any;
590
+ "update:modelValue": (value: string) => any;
591
+ }, string, _$vue.PublicProps, Readonly<Props$45> & Readonly<{
592
+ onChange?: ((value: string) => any) | undefined;
593
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
594
+ }>, {
595
+ type: "date" | "month" | "year";
596
+ modelValue: string;
597
+ disabled: boolean;
598
+ placeholder: string;
599
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
600
+ declare const _default$14: typeof __VLS_export$45;
601
+ //#endregion
602
+ //#region src/components/base/date-picker/date-range-picker.vue.d.ts
603
+ interface Props$44 {
604
+ modelValue?: [string, string];
605
+ placeholder?: string;
606
+ disabled?: boolean;
607
+ }
608
+ declare const __VLS_export$44: _$vue.DefineComponent<Props$44, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
609
+ change: (value: [string, string]) => any;
610
+ "update:modelValue": (value: [string, string]) => any;
611
+ }, string, _$vue.PublicProps, Readonly<Props$44> & Readonly<{
612
+ onChange?: ((value: [string, string]) => any) | undefined;
613
+ "onUpdate:modelValue"?: ((value: [string, string]) => any) | undefined;
614
+ }>, {
615
+ modelValue: [string, string];
616
+ disabled: boolean;
617
+ placeholder: string;
618
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
619
+ declare const _default$15: typeof __VLS_export$44;
620
+ //#endregion
621
+ //#region src/components/base/time-picker/time-picker.vue.d.ts
622
+ interface Props$43 {
623
+ modelValue?: string;
624
+ placeholder?: string;
625
+ disabled?: boolean;
626
+ showSeconds?: boolean;
627
+ format?: string;
628
+ }
629
+ declare const __VLS_export$43: _$vue.DefineComponent<Props$43, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
630
+ change: (value: string) => any;
631
+ "update:modelValue": (value: string) => any;
632
+ }, string, _$vue.PublicProps, Readonly<Props$43> & Readonly<{
633
+ onChange?: ((value: string) => any) | undefined;
634
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
635
+ }>, {
636
+ modelValue: string;
637
+ disabled: boolean;
638
+ placeholder: string;
639
+ showSeconds: boolean;
640
+ format: string;
641
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
642
+ declare const _default$55: typeof __VLS_export$43;
643
+ //#endregion
644
+ //#region src/components/base/cascader/cascader.vue.d.ts
645
+ interface CascaderOption {
646
+ label: string;
647
+ value: string;
648
+ children?: CascaderOption[];
649
+ disabled?: boolean;
650
+ }
651
+ interface Props$42 {
652
+ modelValue?: string[] | string[][];
653
+ options?: CascaderOption[];
654
+ placeholder?: string;
655
+ disabled?: boolean;
656
+ filterable?: boolean;
657
+ multiple?: boolean;
658
+ }
659
+ declare const __VLS_export$42: _$vue.DefineComponent<Props$42, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
660
+ change: (value: string[] | string[][]) => any;
661
+ "update:modelValue": (value: string[] | string[][]) => any;
662
+ }, string, _$vue.PublicProps, Readonly<Props$42> & Readonly<{
663
+ onChange?: ((value: string[] | string[][]) => any) | undefined;
664
+ "onUpdate:modelValue"?: ((value: string[] | string[][]) => any) | undefined;
665
+ }>, {
666
+ modelValue: string[] | string[][];
667
+ disabled: boolean;
668
+ placeholder: string;
669
+ multiple: boolean;
670
+ options: CascaderOption[];
671
+ filterable: boolean;
672
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
673
+ declare const _default$8: typeof __VLS_export$42;
674
+ //#endregion
675
+ //#region src/components/base/auto-complete/auto-complete.vue.d.ts
676
+ interface Option {
677
+ label: string;
678
+ value: string;
679
+ }
680
+ interface Props$41 {
681
+ modelValue?: string;
682
+ options?: Option[];
683
+ placeholder?: string;
684
+ disabled?: boolean;
685
+ }
686
+ declare const __VLS_export$41: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
687
+ select: (option: Option) => any;
688
+ "update:modelValue": (value: string) => any;
689
+ }, string, _$vue.PublicProps, Readonly<Props$41> & Readonly<{
690
+ onSelect?: ((option: Option) => any) | undefined;
691
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
692
+ }>, {
693
+ modelValue: string;
694
+ disabled: boolean;
695
+ placeholder: string;
696
+ options: Option[];
697
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
698
+ declare const _default$1: typeof __VLS_export$41;
699
+ //#endregion
700
+ //#region src/components/base/transfer/transfer.vue.d.ts
701
+ interface TransferOption {
702
+ label: string;
703
+ value: string | number;
704
+ disabled?: boolean;
705
+ }
706
+ interface Props$40 {
707
+ modelValue?: (string | number)[];
708
+ data?: TransferOption[];
709
+ titles?: [string, string];
710
+ height?: string | number;
711
+ }
712
+ declare const __VLS_export$40: _$vue.DefineComponent<Props$40, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
713
+ change: (value: (string | number)[]) => any;
714
+ "update:modelValue": (value: (string | number)[]) => any;
715
+ }, string, _$vue.PublicProps, Readonly<Props$40> & Readonly<{
716
+ onChange?: ((value: (string | number)[]) => any) | undefined;
717
+ "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
718
+ }>, {
719
+ modelValue: (string | number)[];
720
+ height: string | number;
721
+ data: TransferOption[];
722
+ titles: [string, string];
723
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
724
+ declare const _default$58: typeof __VLS_export$40;
725
+ //#endregion
726
+ //#region src/components/base/upload/upload.vue.d.ts
727
+ interface UploadFile {
728
+ uid: string;
729
+ name: string;
730
+ size: number;
731
+ status: "uploading" | "success" | "error";
732
+ raw?: File;
733
+ url?: string;
734
+ }
735
+ interface Props$39 {
736
+ fileList?: UploadFile[];
737
+ multiple?: boolean;
738
+ accept?: string;
739
+ disabled?: boolean;
740
+ maxSize?: number;
741
+ maxCount?: number;
742
+ tip?: string;
743
+ action?: string;
744
+ }
745
+ declare var __VLS_6$2: {};
746
+ type __VLS_Slots$31 = {} & {
747
+ default?: (props: typeof __VLS_6$2) => any;
748
+ };
749
+ declare const __VLS_base$31: _$vue.DefineComponent<Props$39, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
750
+ change: (file: UploadFile, fileList: UploadFile[]) => any;
751
+ remove: (file: UploadFile, fileList: UploadFile[]) => any;
752
+ "update:fileList": (value: UploadFile[]) => any;
753
+ exceed: (file: File) => any;
754
+ }, string, _$vue.PublicProps, Readonly<Props$39> & Readonly<{
755
+ onChange?: ((file: UploadFile, fileList: UploadFile[]) => any) | undefined;
756
+ onRemove?: ((file: UploadFile, fileList: UploadFile[]) => any) | undefined;
757
+ "onUpdate:fileList"?: ((value: UploadFile[]) => any) | undefined;
758
+ onExceed?: ((file: File) => any) | undefined;
759
+ }>, {
760
+ tip: string;
761
+ disabled: boolean;
762
+ multiple: boolean;
763
+ fileList: UploadFile[];
764
+ accept: string;
765
+ maxSize: number;
766
+ maxCount: number;
767
+ action: string;
768
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
769
+ declare const __VLS_export$39: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
770
+ declare const _default$60: typeof __VLS_export$39;
771
+ type __VLS_WithSlots$31<T, S> = T & {
772
+ new (): {
773
+ $slots: S;
774
+ };
775
+ };
776
+ //#endregion
777
+ //#region src/components/base/login/login.vue.d.ts
778
+ interface LoginFormData$2 {
779
+ username: string;
780
+ password: string;
781
+ phone: string;
782
+ code: string;
783
+ captchaCode: string;
784
+ remember: boolean;
785
+ }
786
+ interface Feature {
787
+ icon: string;
788
+ text: string;
789
+ }
790
+ interface SocialOption$1 {
791
+ key: string;
792
+ label: string;
793
+ icon: string;
794
+ }
795
+ interface TabOption$1 {
796
+ key: string;
797
+ label: string;
798
+ }
799
+ interface Props$38 {
800
+ title?: string;
801
+ subtitle?: string;
802
+ formTitle?: string;
803
+ usernamePlaceholder?: string;
804
+ passwordPlaceholder?: string;
805
+ phonePlaceholder?: string;
806
+ codePlaceholder?: string;
807
+ sendCodeText?: string;
808
+ rememberText?: string;
809
+ forgotText?: string;
810
+ submitText?: string;
811
+ loadingText?: string;
812
+ socialText?: string;
813
+ footerText?: string;
814
+ features?: Feature[];
815
+ socials?: SocialOption$1[];
816
+ tabs?: TabOption$1[];
817
+ loading?: boolean;
818
+ error?: string;
819
+ showTabs?: boolean;
820
+ showSocial?: boolean;
821
+ showCaptcha?: boolean;
822
+ captchaPlaceholder?: string;
823
+ }
824
+ declare var __VLS_1$22: {}, __VLS_17: {};
825
+ type __VLS_Slots$30 = {} & {
826
+ logo?: (props: typeof __VLS_1$22) => any;
827
+ } & {
828
+ footer?: (props: typeof __VLS_17) => any;
829
+ };
830
+ declare const __VLS_base$30: _$vue.DefineComponent<Props$38, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
831
+ "tab-change": (tab: string) => any;
832
+ submit: (data: LoginFormData$2) => any;
833
+ "send-code": (phone: string) => any;
834
+ "forgot-password": () => any;
835
+ "social-login": (provider: string) => any;
836
+ }, string, _$vue.PublicProps, Readonly<Props$38> & Readonly<{
837
+ "onTab-change"?: ((tab: string) => any) | undefined;
838
+ onSubmit?: ((data: LoginFormData$2) => any) | undefined;
839
+ "onSend-code"?: ((phone: string) => any) | undefined;
840
+ "onForgot-password"?: (() => any) | undefined;
841
+ "onSocial-login"?: ((provider: string) => any) | undefined;
842
+ }>, {
843
+ title: string;
844
+ tabs: TabOption$1[];
845
+ footerText: string;
846
+ error: string;
847
+ loading: boolean;
848
+ loadingText: string;
849
+ subtitle: string;
850
+ usernamePlaceholder: string;
851
+ passwordPlaceholder: string;
852
+ phonePlaceholder: string;
853
+ codePlaceholder: string;
854
+ captchaPlaceholder: string;
855
+ sendCodeText: string;
856
+ rememberText: string;
857
+ forgotText: string;
858
+ submitText: string;
859
+ socialText: string;
860
+ socials: SocialOption$1[];
861
+ showTabs: boolean;
862
+ showSocial: boolean;
863
+ showCaptcha: boolean;
864
+ formTitle: string;
865
+ features: Feature[];
866
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
867
+ declare const __VLS_export$38: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
868
+ declare const _default$31: typeof __VLS_export$38;
869
+ type __VLS_WithSlots$30<T, S> = T & {
870
+ new (): {
871
+ $slots: S;
872
+ };
873
+ };
874
+ //#endregion
875
+ //#region src/components/base/login/login-centered.vue.d.ts
876
+ interface SocialOption {
877
+ key: string;
878
+ label: string;
879
+ icon: any;
880
+ }
881
+ interface TabOption {
882
+ key: string;
883
+ label: string;
884
+ }
885
+ interface LoginFormData$1 {
886
+ username: string;
887
+ password: string;
888
+ phone: string;
889
+ code: string;
890
+ captchaCode: string;
891
+ remember: boolean;
892
+ }
893
+ interface Props$37 {
894
+ title?: string;
895
+ subtitle?: string;
896
+ usernameLabel?: string;
897
+ passwordLabel?: string;
898
+ phoneLabel?: string;
899
+ codeLabel?: string;
900
+ captchaLabel?: string;
901
+ usernamePlaceholder?: string;
902
+ passwordPlaceholder?: string;
903
+ phonePlaceholder?: string;
904
+ codePlaceholder?: string;
905
+ captchaPlaceholder?: string;
906
+ sendCodeText?: string;
907
+ rememberText?: string;
908
+ forgotText?: string;
909
+ submitText?: string;
910
+ loadingText?: string;
911
+ socialText?: string;
912
+ footerText?: string;
913
+ socials?: SocialOption[];
914
+ tabs?: TabOption[];
915
+ loading?: boolean;
916
+ error?: string;
917
+ showTabs?: boolean;
918
+ showSocial?: boolean;
919
+ showCaptcha?: boolean;
920
+ theme?: "default" | "gradient" | "minimal";
921
+ }
922
+ declare var __VLS_1$21: {}, __VLS_15$2: {};
923
+ type __VLS_Slots$29 = {} & {
924
+ logo?: (props: typeof __VLS_1$21) => any;
925
+ } & {
926
+ footer?: (props: typeof __VLS_15$2) => any;
927
+ };
928
+ declare const __VLS_base$29: _$vue.DefineComponent<Props$37, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
929
+ submit: (data: LoginFormData$1) => any;
930
+ "send-code": (phone: string) => any;
931
+ "forgot-password": () => any;
932
+ "social-login": (provider: string) => any;
933
+ }, string, _$vue.PublicProps, Readonly<Props$37> & Readonly<{
934
+ onSubmit?: ((data: LoginFormData$1) => any) | undefined;
935
+ "onSend-code"?: ((phone: string) => any) | undefined;
936
+ "onForgot-password"?: (() => any) | undefined;
937
+ "onSocial-login"?: ((provider: string) => any) | undefined;
938
+ }>, {
939
+ theme: "default" | "gradient" | "minimal";
940
+ title: string;
941
+ tabs: TabOption[];
942
+ footerText: string;
943
+ error: string;
944
+ loading: boolean;
945
+ loadingText: string;
946
+ subtitle: string;
947
+ usernameLabel: string;
948
+ passwordLabel: string;
949
+ phoneLabel: string;
950
+ codeLabel: string;
951
+ captchaLabel: string;
952
+ usernamePlaceholder: string;
953
+ passwordPlaceholder: string;
954
+ phonePlaceholder: string;
955
+ codePlaceholder: string;
956
+ captchaPlaceholder: string;
957
+ sendCodeText: string;
958
+ rememberText: string;
959
+ forgotText: string;
960
+ submitText: string;
961
+ socialText: string;
962
+ socials: SocialOption[];
963
+ showTabs: boolean;
964
+ showSocial: boolean;
965
+ showCaptcha: boolean;
966
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
967
+ declare const __VLS_export$37: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
968
+ declare const _default$32: typeof __VLS_export$37;
969
+ type __VLS_WithSlots$29<T, S> = T & {
970
+ new (): {
971
+ $slots: S;
972
+ };
973
+ };
974
+ //#endregion
975
+ //#region src/components/base/captcha/captcha.vue.d.ts
976
+ interface Props$36 {
977
+ length?: number;
978
+ width?: number;
979
+ height?: number;
980
+ fontSize?: number;
981
+ bgColor?: string;
982
+ }
983
+ declare function refresh(): void;
984
+ declare const __VLS_export$36: _$vue.DefineComponent<Props$36, {
985
+ code: _$vue.Ref<string, string>;
986
+ refresh: typeof refresh;
987
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
988
+ change: (code: string) => any;
989
+ }, string, _$vue.PublicProps, Readonly<Props$36> & Readonly<{
990
+ onChange?: ((code: string) => any) | undefined;
991
+ }>, {
992
+ length: number;
993
+ height: number;
994
+ width: number;
995
+ fontSize: number;
996
+ bgColor: string;
997
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
998
+ declare const _default$6: typeof __VLS_export$36;
999
+ //#endregion
1000
+ //#region src/components/base/pin-input/pin-input.vue.d.ts
1001
+ interface Props$35 {
1002
+ modelValue?: string;
1003
+ length?: number;
1004
+ disabled?: boolean;
1005
+ error?: boolean;
1006
+ errorMessage?: string;
1007
+ mask?: boolean;
1008
+ }
1009
+ declare const __VLS_export$35: _$vue.DefineComponent<Props$35, {
1010
+ focus: (index?: number) => void;
1011
+ clear: () => void;
1012
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1013
+ "update:modelValue": (value: string) => any;
1014
+ complete: (value: string) => any;
1015
+ }, string, _$vue.PublicProps, Readonly<Props$35> & Readonly<{
1016
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1017
+ onComplete?: ((value: string) => any) | undefined;
1018
+ }>, {
1019
+ length: number;
1020
+ error: boolean;
1021
+ modelValue: string;
1022
+ disabled: boolean;
1023
+ errorMessage: string;
1024
+ mask: boolean;
1025
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1026
+ declare const _default$36: typeof __VLS_export$35;
1027
+ //#endregion
1028
+ //#region src/components/form/types.d.ts
1029
+ /**
1030
+ * 表单校验规则类型
1031
+ */
1032
+ interface FormRule {
1033
+ required?: boolean;
1034
+ type?: string;
1035
+ min?: number;
1036
+ max?: number;
1037
+ pattern?: RegExp;
1038
+ message?: string;
1039
+ trigger?: string | string[];
1040
+ validator?: (rule: FormRule, value: unknown, callback: (error?: string) => void) => void;
1041
+ }
1042
+ type FormRules = Record<string, FormRule | FormRule[]>;
1043
+ /**
1044
+ * 校验错误信息
1045
+ */
1046
+ interface ValidateError {
1047
+ message: string;
1048
+ field: string;
1049
+ }
1050
+ /**
1051
+ * 校验结果
1052
+ */
1053
+ interface ValidateResult {
1054
+ valid: boolean;
1055
+ errors: ValidateError[];
1056
+ }
1057
+ /**
1058
+ * 表单实例接口
1059
+ */
1060
+ interface FormInstance$1 {
1061
+ validate: () => Promise<ValidateResult>;
1062
+ resetFields: () => void;
1063
+ clearValidate: (fields?: string[]) => void;
1064
+ }
1065
+ /**
1066
+ * 表单项实例接口
1067
+ */
1068
+ interface FormItemInstance {
1069
+ validate: (value: unknown) => Promise<ValidateError | null>;
1070
+ resetField: () => void;
1071
+ clearValidate: () => void;
1072
+ prop: string;
1073
+ modelValue: unknown;
1074
+ }
1075
+ //#endregion
1076
+ //#region src/components/form/form/form.vue.d.ts
1077
+ interface Props$34 {
1078
+ modelValue?: Record<string, unknown>;
1079
+ rules?: FormRules;
1080
+ layout?: "horizontal" | "vertical" | "inline";
1081
+ labelWidth?: string;
1082
+ labelPosition?: "left" | "right" | "top";
1083
+ disabled?: boolean;
1084
+ }
1085
+ declare var __VLS_1$20: {};
1086
+ type __VLS_Slots$28 = {} & {
1087
+ default?: (props: typeof __VLS_1$20) => any;
1088
+ };
1089
+ declare const __VLS_base$28: _$vue.DefineComponent<Props$34, FormInstance, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1090
+ submit: (values: Record<string, unknown>) => any;
1091
+ validate: (result: {
1092
+ valid: boolean;
1093
+ errors: unknown[];
1094
+ }) => any;
1095
+ }, string, _$vue.PublicProps, Readonly<Props$34> & Readonly<{
1096
+ onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
1097
+ onValidate?: ((result: {
1098
+ valid: boolean;
1099
+ errors: unknown[];
1100
+ }) => any) | undefined;
1101
+ }>, {
1102
+ modelValue: Record<string, unknown>;
1103
+ disabled: boolean;
1104
+ rules: FormRules;
1105
+ layout: "horizontal" | "vertical" | "inline";
1106
+ labelWidth: string;
1107
+ labelPosition: "left" | "right" | "top";
1108
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1109
+ declare const __VLS_export$34: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
1110
+ declare const _default$20: typeof __VLS_export$34;
1111
+ type __VLS_WithSlots$28<T, S> = T & {
1112
+ new (): {
1113
+ $slots: S;
1114
+ };
1115
+ };
1116
+ //#endregion
1117
+ //#region src/components/form/form-item/form-item.vue.d.ts
1118
+ interface Props$33 {
1119
+ prop?: string;
1120
+ label?: string;
1121
+ required?: boolean;
1122
+ extra?: string;
1123
+ }
1124
+ declare var __VLS_1$19: {};
1125
+ type __VLS_Slots$27 = {} & {
1126
+ default?: (props: typeof __VLS_1$19) => any;
1127
+ };
1128
+ declare const __VLS_base$27: _$vue.DefineComponent<Props$33, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$33> & Readonly<{}>, {
1129
+ label: string;
1130
+ required: boolean;
1131
+ prop: string;
1132
+ extra: string;
1133
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1134
+ declare const __VLS_export$33: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
1135
+ declare const _default$21: typeof __VLS_export$33;
1136
+ type __VLS_WithSlots$27<T, S> = T & {
1137
+ new (): {
1138
+ $slots: S;
1139
+ };
1140
+ };
1141
+ //#endregion
1142
+ //#region src/components/layout/space/space.vue.d.ts
1143
+ interface Props$32 {
1144
+ size?: number | string | [number | string, number | string];
1145
+ direction?: Direction;
1146
+ wrap?: boolean;
1147
+ align?: "start" | "end" | "center" | "baseline";
1148
+ }
1149
+ declare var __VLS_1$18: {};
1150
+ type __VLS_Slots$26 = {} & {
1151
+ default?: (props: typeof __VLS_1$18) => any;
1152
+ };
1153
+ declare const __VLS_base$26: _$vue.DefineComponent<Props$32, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$32> & Readonly<{}>, {
1154
+ size: number | string | [number | string, number | string];
1155
+ direction: Direction;
1156
+ wrap: boolean;
1157
+ align: "start" | "end" | "center" | "baseline";
1158
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1159
+ declare const __VLS_export$32: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
1160
+ declare const _default$46: typeof __VLS_export$32;
1161
+ type __VLS_WithSlots$26<T, S> = T & {
1162
+ new (): {
1163
+ $slots: S;
1164
+ };
1165
+ };
1166
+ //#endregion
1167
+ //#region src/components/layout/divider/divider.vue.d.ts
1168
+ interface Props$31 {
1169
+ direction?: Direction;
1170
+ type?: "default" | "dashed" | "dotted";
1171
+ orientation?: "left" | "center" | "right";
1172
+ dashed?: boolean;
1173
+ variant?: "default" | "primary" | "success" | "warning" | "error";
1174
+ }
1175
+ declare var __VLS_1$17: {};
1176
+ type __VLS_Slots$25 = {} & {
1177
+ default?: (props: typeof __VLS_1$17) => any;
1178
+ };
1179
+ declare const __VLS_base$25: _$vue.DefineComponent<Props$31, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$31> & Readonly<{}>, {
1180
+ type: "default" | "dashed" | "dotted";
1181
+ direction: Direction;
1182
+ orientation: "left" | "center" | "right";
1183
+ dashed: boolean;
1184
+ variant: "default" | "primary" | "success" | "warning" | "error";
1185
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1186
+ declare const __VLS_export$31: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
1187
+ declare const _default$16: typeof __VLS_export$31;
1188
+ type __VLS_WithSlots$25<T, S> = T & {
1189
+ new (): {
1190
+ $slots: S;
1191
+ };
1192
+ };
1193
+ //#endregion
1194
+ //#region src/components/layout/layout/layout-types.d.ts
1195
+ /**
1196
+ * Layout Component Types
1197
+ * 布局组件类型定义
1198
+ */
1199
+ /** 布局主题 */
1200
+ type LayoutTheme = "light" | "dark" | "corporate";
1201
+ /** 布局尺寸 */
1202
+ interface LayoutSize {
1203
+ siderWidth: number;
1204
+ siderCollapsedWidth: number;
1205
+ headerHeight: number;
1206
+ }
1207
+ /** 默认尺寸 */
1208
+ declare const DEFAULT_LAYOUT_SIZE: LayoutSize;
1209
+ /** 标签页项 */
1210
+ interface TabItem {
1211
+ /** 唯一标识 */
1212
+ key: string;
1213
+ /** 显示标题 */
1214
+ title: string;
1215
+ /** 是否可关闭 */
1216
+ closable?: boolean;
1217
+ /** 图标/favicon */
1218
+ icon?: string;
1219
+ /** 描述(鼠标悬停提示) */
1220
+ description?: string;
1221
+ }
1222
+ /** 菜单项 */
1223
+ interface MenuItem {
1224
+ /** 唯一标识 */
1225
+ key: string;
1226
+ /** 显示标题 */
1227
+ label: string;
1228
+ /** 图标 */
1229
+ icon?: string;
1230
+ /** 子菜单 */
1231
+ children?: MenuItem[];
1232
+ /** 是否禁用 */
1233
+ disabled?: boolean;
1234
+ }
1235
+ /** 用户信息 */
1236
+ interface UserInfo {
1237
+ /** 用户名 */
1238
+ name: string;
1239
+ /** 头像 */
1240
+ avatar?: string;
1241
+ /** 角色 */
1242
+ role?: string;
1243
+ }
1244
+ /** 布局上下文 */
1245
+ interface LayoutContext {
1246
+ /** 是否折叠 */
1247
+ collapsed: boolean;
1248
+ /** 主题 */
1249
+ theme: LayoutTheme;
1250
+ /** 切换折叠 */
1251
+ toggleCollapsed: () => void;
1252
+ /** 设置折叠 */
1253
+ setCollapsed: (collapsed: boolean) => void;
1254
+ }
1255
+ //#endregion
1256
+ //#region src/components/layout/layout/layout.vue.d.ts
1257
+ interface Props$30 {
1258
+ /** 是否折叠侧边栏 */
1259
+ collapsed?: boolean;
1260
+ /** 侧边栏宽度 */
1261
+ siderWidth?: number;
1262
+ /** 折叠时侧边栏宽度 */
1263
+ siderCollapsedWidth?: number;
1264
+ /** 头部高度 */
1265
+ headerHeight?: number;
1266
+ /** 主题 */
1267
+ theme?: LayoutTheme;
1268
+ /** Logo */
1269
+ logo?: string;
1270
+ /** 系统标题 */
1271
+ title?: string;
1272
+ /** 菜单数据 */
1273
+ menuItems?: MenuItem[];
1274
+ /** 当前激活菜单 */
1275
+ activeKey?: string;
1276
+ /** 标签页数据 */
1277
+ tabs?: TabItem[];
1278
+ /** 标签页双向绑定(支持拖拽排序) */
1279
+ modelTabs?: TabItem[];
1280
+ /** 当前激活标签 */
1281
+ activeTab?: string;
1282
+ /** 用户信息 */
1283
+ userInfo?: UserInfo;
1284
+ /** 内容区内边距 */
1285
+ contentPadding?: number | string;
1286
+ /** 是否显示侧边栏 */
1287
+ hasSider?: boolean;
1288
+ /** 是否显示头部 */
1289
+ hasHeader?: boolean;
1290
+ /** 是否显示内容区 */
1291
+ hasContent?: boolean;
1292
+ /** 是否移动端模式(可选,不传则自动检测) */
1293
+ isMobile?: boolean;
1294
+ /** 菜单瀑布流模式 - 子菜单横向展开为网格 */
1295
+ waterfall?: boolean;
1296
+ /** 弹窗对齐方式: 'trigger' 对齐触发项, 'container' 对齐整个菜单容器 */
1297
+ popupAlign?: "trigger" | "container";
1298
+ /** 侧边栏底部支持文字 */
1299
+ footerText?: string;
1300
+ /** Header 是否固定定位 */
1301
+ headerFixed?: boolean;
1302
+ /** 是否允许侧边栏拖拽调整宽度 */
1303
+ siderResizable?: boolean;
1304
+ }
1305
+ declare var __VLS_12$1: {}, __VLS_15$1: {}, __VLS_34: {}, __VLS_42: {};
1306
+ type __VLS_Slots$24 = {} & {
1307
+ logo?: (props: typeof __VLS_12$1) => any;
1308
+ } & {
1309
+ sider?: (props: typeof __VLS_15$1) => any;
1310
+ } & {
1311
+ header?: (props: typeof __VLS_34) => any;
1312
+ } & {
1313
+ default?: (props: typeof __VLS_42) => any;
1314
+ };
1315
+ declare const __VLS_base$24: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1316
+ "update:collapsed": (value: boolean) => any;
1317
+ collapse: (collapsed: boolean) => any;
1318
+ "menu-click": (key: string) => any;
1319
+ "tab-change": (key: string) => any;
1320
+ "tab-close": (key: string) => any;
1321
+ "tab-add": () => any;
1322
+ "tab-reorder": (payload: {
1323
+ from: number;
1324
+ to: number;
1325
+ }) => any;
1326
+ "update:modelTabs": (value: TabItem[]) => any;
1327
+ "language-change": (lang: string) => any;
1328
+ "user-command": (command: string) => any;
1329
+ "settings-click": () => any;
1330
+ "update:theme": (value: LayoutTheme) => any;
1331
+ "theme-change": (theme: LayoutTheme) => any;
1332
+ "update:siderWidth": (value: number) => any;
1333
+ "sider-width-change": (width: number) => any;
1334
+ "update:headerHeight": (value: number) => any;
1335
+ "header-height-change": (height: number) => any;
1336
+ }, string, _$vue.PublicProps, Readonly<Props$30> & Readonly<{
1337
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
1338
+ onCollapse?: ((collapsed: boolean) => any) | undefined;
1339
+ "onMenu-click"?: ((key: string) => any) | undefined;
1340
+ "onTab-change"?: ((key: string) => any) | undefined;
1341
+ "onTab-close"?: ((key: string) => any) | undefined;
1342
+ "onTab-add"?: (() => any) | undefined;
1343
+ "onTab-reorder"?: ((payload: {
1344
+ from: number;
1345
+ to: number;
1346
+ }) => any) | undefined;
1347
+ "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
1348
+ "onLanguage-change"?: ((lang: string) => any) | undefined;
1349
+ "onUser-command"?: ((command: string) => any) | undefined;
1350
+ "onSettings-click"?: (() => any) | undefined;
1351
+ "onUpdate:theme"?: ((value: LayoutTheme) => any) | undefined;
1352
+ "onTheme-change"?: ((theme: LayoutTheme) => any) | undefined;
1353
+ "onUpdate:siderWidth"?: ((value: number) => any) | undefined;
1354
+ "onSider-width-change"?: ((width: number) => any) | undefined;
1355
+ "onUpdate:headerHeight"?: ((value: number) => any) | undefined;
1356
+ "onHeader-height-change"?: ((height: number) => any) | undefined;
1357
+ }>, {
1358
+ theme: LayoutTheme;
1359
+ collapsed: boolean;
1360
+ siderWidth: number;
1361
+ siderCollapsedWidth: number;
1362
+ headerHeight: number;
1363
+ logo: string;
1364
+ title: string;
1365
+ menuItems: MenuItem[];
1366
+ activeKey: string;
1367
+ tabs: TabItem[];
1368
+ modelTabs: TabItem[];
1369
+ activeTab: string;
1370
+ contentPadding: number | string;
1371
+ hasSider: boolean;
1372
+ hasHeader: boolean;
1373
+ hasContent: boolean;
1374
+ waterfall: boolean;
1375
+ popupAlign: "trigger" | "container";
1376
+ footerText: string;
1377
+ headerFixed: boolean;
1378
+ siderResizable: boolean;
1379
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1380
+ declare const __VLS_export$30: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
1381
+ declare const _default$26: typeof __VLS_export$30;
1382
+ type __VLS_WithSlots$24<T, S> = T & {
1383
+ new (): {
1384
+ $slots: S;
1385
+ };
1386
+ };
1387
+ //#endregion
1388
+ //#region src/components/layout/layout/layout-sidebar.vue.d.ts
1389
+ interface Props$29 {
1390
+ /** Logo 图片 */
1391
+ logo?: string;
1392
+ /** 标题 */
1393
+ title?: string;
1394
+ /** 是否折叠 */
1395
+ collapsed?: boolean;
1396
+ /** 主题 */
1397
+ theme?: LayoutTheme;
1398
+ /** 菜单数据 */
1399
+ menuItems?: MenuItem[];
1400
+ /** 当前激活菜单 */
1401
+ activeKey?: string;
1402
+ /** 折叠时的宽度 */
1403
+ collapsedWidth?: number;
1404
+ /** 展开时的宽度 */
1405
+ expandedWidth?: number;
1406
+ /** 最小宽度 */
1407
+ minWidth?: number;
1408
+ /** 最大宽度 */
1409
+ maxWidth?: number;
1410
+ /** 是否允许拖拽调整宽度 */
1411
+ resizable?: boolean;
1412
+ /** 是否移动端模式 */
1413
+ isMobile?: boolean;
1414
+ /** 菜单瀑布流模式 - 子菜单横向展开为网格 */
1415
+ waterfall?: boolean;
1416
+ /** 弹窗对齐方式: 'trigger' 对齐触发项, 'container' 对齐整个菜单容器 */
1417
+ popupAlign?: "trigger" | "container";
1418
+ /** 底部支持文字 */
1419
+ footerText?: string;
1420
+ }
1421
+ declare var __VLS_1$16: {}, __VLS_9$2: {};
1422
+ type __VLS_Slots$23 = {} & {
1423
+ logo?: (props: typeof __VLS_1$16) => any;
1424
+ } & {
1425
+ sider?: (props: typeof __VLS_9$2) => any;
1426
+ };
1427
+ declare const __VLS_base$23: _$vue.DefineComponent<Props$29, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1428
+ collapse: (collapsed: boolean) => any;
1429
+ "menu-click": (key: string) => any;
1430
+ "width-change": (width: number) => any;
1431
+ }, string, _$vue.PublicProps, Readonly<Props$29> & Readonly<{
1432
+ onCollapse?: ((collapsed: boolean) => any) | undefined;
1433
+ "onMenu-click"?: ((key: string) => any) | undefined;
1434
+ "onWidth-change"?: ((width: number) => any) | undefined;
1435
+ }>, {
1436
+ theme: LayoutTheme;
1437
+ collapsed: boolean;
1438
+ logo: string;
1439
+ title: string;
1440
+ menuItems: MenuItem[];
1441
+ activeKey: string;
1442
+ waterfall: boolean;
1443
+ popupAlign: "trigger" | "container";
1444
+ footerText: string;
1445
+ collapsedWidth: number;
1446
+ expandedWidth: number;
1447
+ minWidth: number;
1448
+ maxWidth: number;
1449
+ resizable: boolean;
1450
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1451
+ declare const __VLS_export$29: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
1452
+ declare const _default$29: typeof __VLS_export$29;
1453
+ type __VLS_WithSlots$23<T, S> = T & {
1454
+ new (): {
1455
+ $slots: S;
1456
+ };
1457
+ };
1458
+ //#endregion
1459
+ //#region src/components/layout/layout/layout-header.vue.d.ts
1460
+ interface Props$28 {
1461
+ /** 主题 */
1462
+ theme?: LayoutTheme;
1463
+ /** 标签页数据 */
1464
+ tabs?: TabItem[];
1465
+ /** 标签页双向绑定(支持拖拽排序) */
1466
+ modelTabs?: TabItem[];
1467
+ /** 当前激活标签 */
1468
+ activeTab?: string;
1469
+ /** 用户信息 */
1470
+ userInfo?: UserInfo;
1471
+ /** 侧边栏宽度(用于计算 margin) */
1472
+ siderWidth?: number;
1473
+ /** 通知数量 */
1474
+ notificationCount?: number;
1475
+ /** 当前语言 */
1476
+ currentLanguage?: string;
1477
+ /** Header 是否固定定位 */
1478
+ fixed?: boolean;
1479
+ /** 头部高度 */
1480
+ headerHeight?: number;
1481
+ }
1482
+ declare var __VLS_1$15: {}, __VLS_13: {}, __VLS_23$1: {}, __VLS_31: {}, __VLS_47: {};
1483
+ type __VLS_Slots$22 = {} & {
1484
+ tabs?: (props: typeof __VLS_1$15) => any;
1485
+ } & {
1486
+ language?: (props: typeof __VLS_13) => any;
1487
+ } & {
1488
+ notification?: (props: typeof __VLS_23$1) => any;
1489
+ } & {
1490
+ user?: (props: typeof __VLS_31) => any;
1491
+ } & {
1492
+ settings?: (props: typeof __VLS_47) => any;
1493
+ };
1494
+ declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1495
+ "tab-change": (key: string) => any;
1496
+ "tab-close": (key: string) => any;
1497
+ "tab-add": () => any;
1498
+ "tab-reorder": (payload: {
1499
+ from: number;
1500
+ to: number;
1501
+ }) => any;
1502
+ "update:modelTabs": (value: TabItem[]) => any;
1503
+ "language-change": (lang: string) => any;
1504
+ "user-command": (command: string) => any;
1505
+ "settings-click": () => any;
1506
+ "notification-click": () => any;
1507
+ "toggle-sider": () => any;
1508
+ }, string, _$vue.PublicProps, Readonly<Props$28> & Readonly<{
1509
+ "onTab-change"?: ((key: string) => any) | undefined;
1510
+ "onTab-close"?: ((key: string) => any) | undefined;
1511
+ "onTab-add"?: (() => any) | undefined;
1512
+ "onTab-reorder"?: ((payload: {
1513
+ from: number;
1514
+ to: number;
1515
+ }) => any) | undefined;
1516
+ "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
1517
+ "onLanguage-change"?: ((lang: string) => any) | undefined;
1518
+ "onUser-command"?: ((command: string) => any) | undefined;
1519
+ "onSettings-click"?: (() => any) | undefined;
1520
+ "onNotification-click"?: (() => any) | undefined;
1521
+ "onToggle-sider"?: (() => any) | undefined;
1522
+ }>, {
1523
+ theme: LayoutTheme;
1524
+ siderWidth: number;
1525
+ headerHeight: number;
1526
+ tabs: TabItem[];
1527
+ modelTabs: TabItem[];
1528
+ activeTab: string;
1529
+ notificationCount: number;
1530
+ currentLanguage: string;
1531
+ fixed: boolean;
1532
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1533
+ declare const __VLS_export$28: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
1534
+ declare const _default$28: typeof __VLS_export$28;
1535
+ type __VLS_WithSlots$22<T, S> = T & {
1536
+ new (): {
1537
+ $slots: S;
1538
+ };
1539
+ };
1540
+ //#endregion
1541
+ //#region src/components/layout/layout/layout-content.vue.d.ts
1542
+ interface Props$27 {
1543
+ /** 自定义样式 */
1544
+ style?: Record<string, string | number>;
1545
+ }
1546
+ declare var __VLS_1$14: {};
1547
+ type __VLS_Slots$21 = {} & {
1548
+ default?: (props: typeof __VLS_1$14) => any;
1549
+ };
1550
+ declare const __VLS_base$21: _$vue.DefineComponent<Props$27, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$27> & Readonly<{}>, {}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1551
+ declare const __VLS_export$27: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
1552
+ declare const _default$27: typeof __VLS_export$27;
1553
+ type __VLS_WithSlots$21<T, S> = T & {
1554
+ new (): {
1555
+ $slots: S;
1556
+ };
1557
+ };
1558
+ //#endregion
1559
+ //#region src/components/data-display/card/card.vue.d.ts
1560
+ interface Props$26 {
1561
+ title?: string;
1562
+ bordered?: boolean;
1563
+ shadow?: "always" | "hover" | "never";
1564
+ padding?: "xs" | "sm" | "md" | "lg" | "none";
1565
+ }
1566
+ declare var __VLS_1$13: {}, __VLS_3$7: {}, __VLS_5$1: {};
1567
+ type __VLS_Slots$20 = {} & {
1568
+ header?: (props: typeof __VLS_1$13) => any;
1569
+ } & {
1570
+ default?: (props: typeof __VLS_3$7) => any;
1571
+ } & {
1572
+ footer?: (props: typeof __VLS_5$1) => any;
1573
+ };
1574
+ declare const __VLS_base$20: _$vue.DefineComponent<Props$26, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$26> & Readonly<{}>, {
1575
+ title: string;
1576
+ bordered: boolean;
1577
+ shadow: "always" | "hover" | "never";
1578
+ padding: "xs" | "sm" | "md" | "lg" | "none";
1579
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1580
+ declare const __VLS_export$26: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
1581
+ declare const _default$7: typeof __VLS_export$26;
1582
+ type __VLS_WithSlots$20<T, S> = T & {
1583
+ new (): {
1584
+ $slots: S;
1585
+ };
1586
+ };
1587
+ //#endregion
1588
+ //#region src/components/data-display/table/table.vue.d.ts
1589
+ interface Column {
1590
+ title: string;
1591
+ key: string;
1592
+ width?: string;
1593
+ sortable?: boolean;
1594
+ align?: "left" | "center" | "right";
1595
+ fixed?: "left" | "right";
1596
+ /** Show ellipsis with tooltip when content overflows */
1597
+ showOverflowTooltip?: boolean;
1598
+ }
1599
+ interface Props$25 {
1600
+ dataSource?: Record<string, unknown>[];
1601
+ columns?: Column[];
1602
+ loading?: boolean;
1603
+ loadingText?: string;
1604
+ /** Show skeleton placeholder while loading */
1605
+ skeleton?: boolean;
1606
+ /** Number of skeleton rows to display */
1607
+ skeletonRows?: number;
1608
+ pagination?: boolean;
1609
+ pageSize?: number;
1610
+ hover?: boolean;
1611
+ stripe?: boolean;
1612
+ bordered?: boolean;
1613
+ emptyText?: string;
1614
+ height?: string | number;
1615
+ stickyHeader?: boolean;
1616
+ expandable?: boolean;
1617
+ virtualScroll?: boolean;
1618
+ rowHeight?: number;
1619
+ overscan?: number;
1620
+ /** Global: show ellipsis with tooltip for all cells */
1621
+ showOverflowTooltip?: boolean;
1622
+ /** Enable export toolbar */
1623
+ exportable?: boolean;
1624
+ /** Export filename prefix */
1625
+ exportFilename?: string;
1626
+ }
1627
+ declare function exportToCSV(filename?: string): void;
1628
+ declare function exportToExcel(filename?: string): void;
1629
+ declare function exportToJSON(filename?: string): void;
1630
+ declare var __VLS_7$1: string, __VLS_8$1: {
1631
+ row: Record<string, unknown> | {
1632
+ __virtualIndex: number;
1633
+ };
1634
+ column: Column;
1635
+ index: number;
1636
+ }, __VLS_10$1: {
1637
+ row: Record<string, unknown> | {
1638
+ __virtualIndex: number;
1639
+ };
1640
+ index: number;
1641
+ }, __VLS_12: {}, __VLS_20: string, __VLS_21: {
1642
+ row: Record<string, unknown>;
1643
+ column: Column;
1644
+ index: number;
1645
+ }, __VLS_23: {
1646
+ row: Record<string, unknown>;
1647
+ index: number;
1648
+ }, __VLS_25: {};
1649
+ type __VLS_Slots$19 = {} & { [K in NonNullable<typeof __VLS_7$1>]?: (props: typeof __VLS_8$1) => any } & { [K in NonNullable<typeof __VLS_20>]?: (props: typeof __VLS_21) => any } & {
1650
+ expand?: (props: typeof __VLS_10$1) => any;
1651
+ } & {
1652
+ empty?: (props: typeof __VLS_12) => any;
1653
+ } & {
1654
+ expand?: (props: typeof __VLS_23) => any;
1655
+ } & {
1656
+ empty?: (props: typeof __VLS_25) => any;
1657
+ };
1658
+ declare const __VLS_base$19: _$vue.DefineComponent<Props$25, {
1659
+ exportToCSV: typeof exportToCSV;
1660
+ exportToExcel: typeof exportToExcel;
1661
+ exportToJSON: typeof exportToJSON;
1662
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1663
+ sort: (key: string, order: string) => any;
1664
+ "page-change": (page: number) => any;
1665
+ expand: (row: Record<string, unknown>, index: number) => any;
1666
+ "row-click": (row: Record<string, unknown>) => any;
1667
+ }, string, _$vue.PublicProps, Readonly<Props$25> & Readonly<{
1668
+ onSort?: ((key: string, order: string) => any) | undefined;
1669
+ "onPage-change"?: ((page: number) => any) | undefined;
1670
+ onExpand?: ((row: Record<string, unknown>, index: number) => any) | undefined;
1671
+ "onRow-click"?: ((row: Record<string, unknown>) => any) | undefined;
1672
+ }>, {
1673
+ pageSize: number;
1674
+ hover: boolean;
1675
+ virtualScroll: boolean;
1676
+ height: string | number;
1677
+ rowHeight: number;
1678
+ overscan: number;
1679
+ dataSource: Record<string, unknown>[];
1680
+ bordered: boolean;
1681
+ emptyText: string;
1682
+ skeleton: boolean;
1683
+ skeletonRows: number;
1684
+ loading: boolean;
1685
+ columns: Column[];
1686
+ loadingText: string;
1687
+ pagination: boolean;
1688
+ stripe: boolean;
1689
+ stickyHeader: boolean;
1690
+ expandable: boolean;
1691
+ showOverflowTooltip: boolean;
1692
+ exportable: boolean;
1693
+ exportFilename: string;
1694
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1695
+ declare const __VLS_export$25: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
1696
+ declare const _default$51: typeof __VLS_export$25;
1697
+ type __VLS_WithSlots$19<T, S> = T & {
1698
+ new (): {
1699
+ $slots: S;
1700
+ };
1701
+ };
1702
+ //#endregion
1703
+ //#region src/components/data-display/progress/progress.vue.d.ts
1704
+ interface Props$24 {
1705
+ percent?: number;
1706
+ type?: "line" | "circle" | "dashboard";
1707
+ size?: ComponentSize;
1708
+ status?: "normal" | "success" | "exception";
1709
+ showInfo?: boolean;
1710
+ strokeWidth?: number;
1711
+ strokeColor?: string;
1712
+ }
1713
+ declare var __VLS_1$12: {
1714
+ percent: number;
1715
+ }, __VLS_3$6: {
1716
+ percent: number;
1717
+ };
1718
+ type __VLS_Slots$18 = {} & {
1719
+ format?: (props: typeof __VLS_1$12) => any;
1720
+ } & {
1721
+ format?: (props: typeof __VLS_3$6) => any;
1722
+ };
1723
+ declare const __VLS_base$18: _$vue.DefineComponent<Props$24, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$24> & Readonly<{}>, {
1724
+ size: ComponentSize;
1725
+ type: "line" | "circle" | "dashboard";
1726
+ percent: number;
1727
+ status: "normal" | "success" | "exception";
1728
+ showInfo: boolean;
1729
+ strokeWidth: number;
1730
+ strokeColor: string;
1731
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1732
+ declare const __VLS_export$24: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
1733
+ declare const _default$38: typeof __VLS_export$24;
1734
+ type __VLS_WithSlots$18<T, S> = T & {
1735
+ new (): {
1736
+ $slots: S;
1737
+ };
1738
+ };
1739
+ //#endregion
1740
+ //#region src/components/data-display/statistic/statistic.vue.d.ts
1741
+ interface Props$23 {
1742
+ value?: string | number;
1743
+ title?: string;
1744
+ prefix?: string;
1745
+ suffix?: string;
1746
+ precision?: number;
1747
+ decimalSeparator?: string;
1748
+ groupSeparator?: string;
1749
+ valueStyle?: string;
1750
+ animation?: boolean;
1751
+ animationDuration?: number;
1752
+ }
1753
+ declare var __VLS_1$11: {}, __VLS_3$5: {};
1754
+ type __VLS_Slots$17 = {} & {
1755
+ prefix?: (props: typeof __VLS_1$11) => any;
1756
+ } & {
1757
+ suffix?: (props: typeof __VLS_3$5) => any;
1758
+ };
1759
+ declare const __VLS_base$17: _$vue.DefineComponent<Props$23, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$23> & Readonly<{}>, {
1760
+ title: string;
1761
+ value: string | number;
1762
+ prefix: string;
1763
+ suffix: string;
1764
+ precision: number;
1765
+ decimalSeparator: string;
1766
+ groupSeparator: string;
1767
+ valueStyle: string;
1768
+ animation: boolean;
1769
+ animationDuration: number;
1770
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1771
+ declare const __VLS_export$23: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
1772
+ declare const _default$48: typeof __VLS_export$23;
1773
+ type __VLS_WithSlots$17<T, S> = T & {
1774
+ new (): {
1775
+ $slots: S;
1776
+ };
1777
+ };
1778
+ //#endregion
1779
+ //#region src/components/data-display/collapse/collapse.vue.d.ts
1780
+ interface CollapseItem {
1781
+ key: string;
1782
+ title: string;
1783
+ content?: string;
1784
+ disabled?: boolean;
1785
+ }
1786
+ interface Props$22 {
1787
+ items?: CollapseItem[];
1788
+ accordion?: boolean;
1789
+ modelValue?: string[];
1790
+ }
1791
+ declare var __VLS_8: string, __VLS_9$1: {};
1792
+ type __VLS_Slots$16 = {} & { [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9$1) => any };
1793
+ declare const __VLS_base$16: _$vue.DefineComponent<Props$22, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1794
+ change: (value: string[]) => any;
1795
+ "update:modelValue": (value: string[]) => any;
1796
+ }, string, _$vue.PublicProps, Readonly<Props$22> & Readonly<{
1797
+ onChange?: ((value: string[]) => any) | undefined;
1798
+ "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
1799
+ }>, {
1800
+ items: CollapseItem[];
1801
+ modelValue: string[];
1802
+ accordion: boolean;
1803
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1804
+ declare const __VLS_export$22: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
1805
+ declare const _default$11: typeof __VLS_export$22;
1806
+ type __VLS_WithSlots$16<T, S> = T & {
1807
+ new (): {
1808
+ $slots: S;
1809
+ };
1810
+ };
1811
+ //#endregion
1812
+ //#region src/components/data-display/timeline/timeline.vue.d.ts
1813
+ interface TimelineItem {
1814
+ label?: string;
1815
+ description?: string;
1816
+ content?: string;
1817
+ dot?: string;
1818
+ color?: string;
1819
+ }
1820
+ interface Props$21 {
1821
+ items?: TimelineItem[];
1822
+ type?: "default" | "alternate";
1823
+ mode?: "left" | "alternate";
1824
+ color?: string;
1825
+ }
1826
+ declare var __VLS_2: `dot-${number}`, __VLS_3$4: {}, __VLS_6$1: `content-${number}`, __VLS_7: {};
1827
+ type __VLS_Slots$15 = {} & { [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3$4) => any } & { [K in NonNullable<typeof __VLS_6$1>]?: (props: typeof __VLS_7) => any };
1828
+ declare const __VLS_base$15: _$vue.DefineComponent<Props$21, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$21> & Readonly<{}>, {
1829
+ type: "default" | "alternate";
1830
+ items: TimelineItem[];
1831
+ mode: "left" | "alternate";
1832
+ color: string;
1833
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1834
+ declare const __VLS_export$21: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
1835
+ declare const _default$56: typeof __VLS_export$21;
1836
+ type __VLS_WithSlots$15<T, S> = T & {
1837
+ new (): {
1838
+ $slots: S;
1839
+ };
1840
+ };
1841
+ //#endregion
1842
+ //#region src/components/data-display/tree/tree.vue.d.ts
1843
+ interface TreeNodeType {
1844
+ key: string;
1845
+ title: string;
1846
+ children?: TreeNodeType[];
1847
+ disabled?: boolean;
1848
+ isLeaf?: boolean;
1849
+ loading?: boolean;
1850
+ }
1851
+ interface Props$20 {
1852
+ nodes?: TreeNodeType[];
1853
+ showLine?: boolean;
1854
+ selectable?: boolean;
1855
+ showCheckbox?: boolean;
1856
+ defaultExpandedKeys?: string[];
1857
+ defaultCheckedKeys?: string[];
1858
+ loadFunction?: (node: TreeNodeType) => Promise<TreeNodeType[]>;
1859
+ draggable?: boolean;
1860
+ /** Enable virtual scroll */
1861
+ virtualScroll?: boolean;
1862
+ /** Container height for virtual scroll */
1863
+ height?: string | number;
1864
+ /** Row height in pixels */
1865
+ rowHeight?: number;
1866
+ /** Overscan row count */
1867
+ overscan?: number;
1868
+ }
1869
+ declare const __VLS_export$20: _$vue.DefineComponent<Props$20, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1870
+ select: (node: TreeNodeType) => any;
1871
+ expand: (node: TreeNodeType) => any;
1872
+ check: (checkedKeys: string[]) => any;
1873
+ "node-drop": (draggedNode: TreeNodeType, targetNode: TreeNodeType) => any;
1874
+ }, string, _$vue.PublicProps, Readonly<Props$20> & Readonly<{
1875
+ onSelect?: ((node: TreeNodeType) => any) | undefined;
1876
+ onExpand?: ((node: TreeNodeType) => any) | undefined;
1877
+ onCheck?: ((checkedKeys: string[]) => any) | undefined;
1878
+ "onNode-drop"?: ((draggedNode: TreeNodeType, targetNode: TreeNodeType) => any) | undefined;
1879
+ }>, {
1880
+ nodes: TreeNodeType[];
1881
+ showLine: boolean;
1882
+ selectable: boolean;
1883
+ showCheckbox: boolean;
1884
+ defaultExpandedKeys: string[];
1885
+ defaultCheckedKeys: string[];
1886
+ loadFunction: (node: TreeNodeType) => Promise<TreeNodeType[]>;
1887
+ draggable: boolean;
1888
+ virtualScroll: boolean;
1889
+ height: string | number;
1890
+ rowHeight: number;
1891
+ overscan: number;
1892
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1893
+ declare const _default$59: typeof __VLS_export$20;
1894
+ //#endregion
1895
+ //#region src/components/data-display/list/list.vue.d.ts
1896
+ interface Props$19 {
1897
+ dataSource?: Record<string, unknown>[];
1898
+ header?: string;
1899
+ footer?: string;
1900
+ bordered?: boolean;
1901
+ split?: boolean;
1902
+ emptyText?: string;
1903
+ /** Show skeleton placeholder while loading */
1904
+ skeleton?: boolean;
1905
+ /** Number of skeleton rows */
1906
+ skeletonRows?: number;
1907
+ }
1908
+ declare var __VLS_1$10: {}, __VLS_3$3: {
1909
+ item: Record<string, unknown>;
1910
+ index: number;
1911
+ }, __VLS_10: {};
1912
+ type __VLS_Slots$14 = {} & {
1913
+ header?: (props: typeof __VLS_1$10) => any;
1914
+ } & {
1915
+ default?: (props: typeof __VLS_3$3) => any;
1916
+ } & {
1917
+ footer?: (props: typeof __VLS_10) => any;
1918
+ };
1919
+ declare const __VLS_base$14: _$vue.DefineComponent<Props$19, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1920
+ "item-click": (item: Record<string, unknown>, index: number) => any;
1921
+ }, string, _$vue.PublicProps, Readonly<Props$19> & Readonly<{
1922
+ "onItem-click"?: ((item: Record<string, unknown>, index: number) => any) | undefined;
1923
+ }>, {
1924
+ split: boolean;
1925
+ dataSource: Record<string, unknown>[];
1926
+ header: string;
1927
+ footer: string;
1928
+ bordered: boolean;
1929
+ emptyText: string;
1930
+ skeleton: boolean;
1931
+ skeletonRows: number;
1932
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1933
+ declare const __VLS_export$19: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
1934
+ declare const _default$30: typeof __VLS_export$19;
1935
+ type __VLS_WithSlots$14<T, S> = T & {
1936
+ new (): {
1937
+ $slots: S;
1938
+ };
1939
+ };
1940
+ //#endregion
1941
+ //#region src/components/data-display/empty/empty.vue.d.ts
1942
+ interface Props$18 {
1943
+ description?: string;
1944
+ imageStyle?: string;
1945
+ }
1946
+ declare var __VLS_1$9: {}, __VLS_3$2: {};
1947
+ type __VLS_Slots$13 = {} & {
1948
+ image?: (props: typeof __VLS_1$9) => any;
1949
+ } & {
1950
+ default?: (props: typeof __VLS_3$2) => any;
1951
+ };
1952
+ declare const __VLS_base$13: _$vue.DefineComponent<Props$18, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$18> & Readonly<{}>, {
1953
+ imageStyle: string;
1954
+ description: string;
1955
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1956
+ declare const __VLS_export$18: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
1957
+ declare const _default$19: typeof __VLS_export$18;
1958
+ type __VLS_WithSlots$13<T, S> = T & {
1959
+ new (): {
1960
+ $slots: S;
1961
+ };
1962
+ };
1963
+ //#endregion
1964
+ //#region src/components/data-display/image/image.vue.d.ts
1965
+ interface Props$17 {
1966
+ src?: string;
1967
+ alt?: string;
1968
+ width?: string | number;
1969
+ height?: string | number;
1970
+ fit?: "contain" | "cover" | "fill" | "none" | "scale-down";
1971
+ rounded?: boolean;
1972
+ preview?: boolean;
1973
+ loading?: boolean;
1974
+ }
1975
+ declare var __VLS_6: {};
1976
+ type __VLS_Slots$12 = {} & {
1977
+ fallback?: (props: typeof __VLS_6) => any;
1978
+ };
1979
+ declare const __VLS_base$12: _$vue.DefineComponent<Props$17, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1980
+ error: (event: Event) => any;
1981
+ click: (event: MouseEvent) => any;
1982
+ load: (event: Event) => any;
1983
+ }, string, _$vue.PublicProps, Readonly<Props$17> & Readonly<{
1984
+ onError?: ((event: Event) => any) | undefined;
1985
+ onClick?: ((event: MouseEvent) => any) | undefined;
1986
+ onLoad?: ((event: Event) => any) | undefined;
1987
+ }>, {
1988
+ rounded: boolean;
1989
+ height: string | number;
1990
+ src: string;
1991
+ alt: string;
1992
+ width: string | number;
1993
+ fit: "contain" | "cover" | "fill" | "none" | "scale-down";
1994
+ preview: boolean;
1995
+ loading: boolean;
1996
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1997
+ declare const __VLS_export$17: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
1998
+ declare const _default$22: typeof __VLS_export$17;
1999
+ type __VLS_WithSlots$12<T, S> = T & {
2000
+ new (): {
2001
+ $slots: S;
2002
+ };
2003
+ };
2004
+ //#endregion
2005
+ //#region src/components/data-display/image/image-preview-group.vue.d.ts
2006
+ interface Props$16 {
2007
+ images?: string[];
2008
+ }
2009
+ declare var __VLS_1$8: {};
2010
+ type __VLS_Slots$11 = {} & {
2011
+ default?: (props: typeof __VLS_1$8) => any;
2012
+ };
2013
+ declare const __VLS_base$11: _$vue.DefineComponent<Props$16, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$16> & Readonly<{}>, {
2014
+ images: string[];
2015
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2016
+ declare const __VLS_export$16: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
2017
+ declare const _default$23: typeof __VLS_export$16;
2018
+ type __VLS_WithSlots$11<T, S> = T & {
2019
+ new (): {
2020
+ $slots: S;
2021
+ };
2022
+ };
2023
+ //#endregion
2024
+ //#region src/components/navigation/menu/menu.vue.d.ts
2025
+ interface MenuItem$1 {
2026
+ label: string;
2027
+ key: string;
2028
+ icon?: string;
2029
+ disabled?: boolean;
2030
+ route?: string;
2031
+ badge?: string | number;
2032
+ badgeType?: "primary" | "success" | "warning" | "danger" | "info";
2033
+ image?: string;
2034
+ children?: MenuItem$1[];
2035
+ }
2036
+ /**
2037
+ * YdMenu Props
2038
+ * @description 导航菜单组件
2039
+ */
2040
+ interface Props$15 {
2041
+ /** 当前选中的菜单项 key */
2042
+ modelValue?: string;
2043
+ /** 菜单项列表 */
2044
+ items?: MenuItem$1[];
2045
+ /** 菜单模式 */
2046
+ mode?: "vertical" | "horizontal";
2047
+ /** 是否折叠 */
2048
+ collapsed?: boolean;
2049
+ /** 是否使用瀑布式下拉 */
2050
+ waterfall?: boolean;
2051
+ /** 瀑布式网格布局风格: auto-自动列数(新), classic-列布局(旧) */
2052
+ gridStyle?: "auto" | "classic";
2053
+ /** 图片风格瀑布式布局: 以图片为主的卡片式展示 */
2054
+ imageStyle?: "default" | "cover" | "contain" | "fill" | "elegant";
2055
+ /** 是否启用路由 */
2056
+ router?: boolean;
2057
+ /** 瀑布式下拉对齐方式 */
2058
+ popupAlign?: "trigger" | "container";
2059
+ /** 下拉主题 */
2060
+ dropdownTheme?: "default" | "glass" | "dark";
2061
+ }
2062
+ declare const __VLS_export$15: _$vue.DefineComponent<Props$15, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2063
+ select: (item: MenuItem$1) => any;
2064
+ "update:modelValue": (value: string) => any;
2065
+ }, string, _$vue.PublicProps, Readonly<Props$15> & Readonly<{
2066
+ onSelect?: ((item: MenuItem$1) => any) | undefined;
2067
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2068
+ }>, {
2069
+ collapsed: boolean;
2070
+ waterfall: boolean;
2071
+ popupAlign: "trigger" | "container";
2072
+ items: MenuItem$1[];
2073
+ modelValue: string;
2074
+ mode: "vertical" | "horizontal";
2075
+ gridStyle: "auto" | "classic";
2076
+ router: boolean;
2077
+ dropdownTheme: "default" | "glass" | "dark";
2078
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2079
+ declare const _default$33: typeof __VLS_export$15;
2080
+ //#endregion
2081
+ //#region src/components/navigation/tabs/tabs.vue.d.ts
2082
+ /**
2083
+ * Tab item interface
2084
+ */
2085
+ interface TabItem$1 {
2086
+ /** Tab 显示文本 */
2087
+ label: string;
2088
+ /** Tab 唯一标识 */
2089
+ key: string;
2090
+ /** 是否可关闭 */
2091
+ closable?: boolean;
2092
+ /** 是否禁用 */
2093
+ disabled?: boolean;
2094
+ /** 图标(用于 chrome 风格) */
2095
+ icon?: string;
2096
+ /** 悬停提示内容 */
2097
+ description?: string;
2098
+ }
2099
+ /**
2100
+ * YdTabs Props
2101
+ * @description 标签页组件,支持多种样式和拖拽排序
2102
+ */
2103
+ interface Props$14 {
2104
+ /** 当前激活的 tab key */
2105
+ modelValue?: string;
2106
+ /** 受控的 tabs 数据(双向绑定) */
2107
+ modelTabs?: TabItem$1[];
2108
+ /** 非受控的 tabs 数据 */
2109
+ items?: TabItem$1[];
2110
+ /** Tabs 样式类型 */
2111
+ type?: "line" | "card" | "segment" | "border-card" | "chrome" | "rounded" | "minimal" | "envelope" | "glass";
2112
+ editable?: boolean;
2113
+ theme?: "light" | "dark" | "corporate";
2114
+ /** localStorage key for persisting tab order */
2115
+ storageKey?: string;
2116
+ }
2117
+ declare var __VLS_1$7: {};
2118
+ type __VLS_Slots$10 = {} & {
2119
+ default?: (props: typeof __VLS_1$7) => any;
2120
+ };
2121
+ declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2122
+ "update:modelTabs": (value: TabItem$1[]) => any;
2123
+ "update:modelValue": (value: string) => any;
2124
+ reorder: (payload: {
2125
+ from: number;
2126
+ to: number;
2127
+ }) => any;
2128
+ "context-menu": (action: string, item: TabItem$1) => any;
2129
+ "drag-start": (index: number, item: TabItem$1) => any;
2130
+ "drag-end": (payload: {
2131
+ from: number;
2132
+ to: number;
2133
+ success: boolean;
2134
+ }) => any;
2135
+ edit: (action: "add" | "remove", item?: TabItem$1 | undefined) => any;
2136
+ }, string, _$vue.PublicProps, Readonly<Props$14> & Readonly<{
2137
+ "onUpdate:modelTabs"?: ((value: TabItem$1[]) => any) | undefined;
2138
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2139
+ onReorder?: ((payload: {
2140
+ from: number;
2141
+ to: number;
2142
+ }) => any) | undefined;
2143
+ "onContext-menu"?: ((action: string, item: TabItem$1) => any) | undefined;
2144
+ "onDrag-start"?: ((index: number, item: TabItem$1) => any) | undefined;
2145
+ "onDrag-end"?: ((payload: {
2146
+ from: number;
2147
+ to: number;
2148
+ success: boolean;
2149
+ }) => any) | undefined;
2150
+ onEdit?: ((action: "add" | "remove", item?: TabItem$1 | undefined) => any) | undefined;
2151
+ }>, {
2152
+ theme: "light" | "dark" | "corporate";
2153
+ type: "line" | "card" | "segment" | "border-card" | "chrome" | "rounded" | "minimal" | "envelope" | "glass";
2154
+ modelTabs: TabItem$1[];
2155
+ items: TabItem$1[];
2156
+ modelValue: string;
2157
+ editable: boolean;
2158
+ storageKey: string;
2159
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2160
+ declare const __VLS_export$14: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
2161
+ declare const _default$52: typeof __VLS_export$14;
2162
+ type __VLS_WithSlots$10<T, S> = T & {
2163
+ new (): {
2164
+ $slots: S;
2165
+ };
2166
+ };
2167
+ //#endregion
2168
+ //#region src/components/navigation/breadcrumb/breadcrumb.vue.d.ts
2169
+ interface BreadcrumbItem {
2170
+ label: string;
2171
+ to?: string;
2172
+ disabled?: boolean;
2173
+ }
2174
+ interface Props$13 {
2175
+ items?: BreadcrumbItem[];
2176
+ separator?: string;
2177
+ }
2178
+ declare var __VLS_9: {};
2179
+ type __VLS_Slots$9 = {} & {
2180
+ separator?: (props: typeof __VLS_9) => any;
2181
+ };
2182
+ declare const __VLS_base$9: _$vue.DefineComponent<Props$13, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2183
+ navigate: (item: BreadcrumbItem) => any;
2184
+ }, string, _$vue.PublicProps, Readonly<Props$13> & Readonly<{
2185
+ onNavigate?: ((item: BreadcrumbItem) => any) | undefined;
2186
+ }>, {
2187
+ items: BreadcrumbItem[];
2188
+ separator: string;
2189
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2190
+ declare const __VLS_export$13: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
2191
+ declare const _default$4: typeof __VLS_export$13;
2192
+ type __VLS_WithSlots$9<T, S> = T & {
2193
+ new (): {
2194
+ $slots: S;
2195
+ };
2196
+ };
2197
+ //#endregion
2198
+ //#region src/components/navigation/pagination/pagination.vue.d.ts
2199
+ interface Props$12 {
2200
+ currentPage?: number;
2201
+ pageSize?: number;
2202
+ total?: number;
2203
+ pageSizes?: number[];
2204
+ showTotal?: boolean;
2205
+ showSizeChanger?: boolean;
2206
+ showQuickJumper?: boolean;
2207
+ simple?: boolean;
2208
+ }
2209
+ declare const __VLS_export$12: _$vue.DefineComponent<Props$12, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2210
+ "update:currentPage": (value: number) => any;
2211
+ "update:pageSize": (value: number) => any;
2212
+ "page-change": (page: number) => any;
2213
+ "size-change": (size: number) => any;
2214
+ }, string, _$vue.PublicProps, Readonly<Props$12> & Readonly<{
2215
+ "onUpdate:currentPage"?: ((value: number) => any) | undefined;
2216
+ "onUpdate:pageSize"?: ((value: number) => any) | undefined;
2217
+ "onPage-change"?: ((page: number) => any) | undefined;
2218
+ "onSize-change"?: ((size: number) => any) | undefined;
2219
+ }>, {
2220
+ currentPage: number;
2221
+ pageSize: number;
2222
+ total: number;
2223
+ pageSizes: number[];
2224
+ showTotal: boolean;
2225
+ showSizeChanger: boolean;
2226
+ showQuickJumper: boolean;
2227
+ simple: boolean;
2228
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2229
+ declare const _default$35: typeof __VLS_export$12;
2230
+ //#endregion
2231
+ //#region src/components/navigation/dropdown/dropdown.vue.d.ts
2232
+ interface DropdownItem {
2233
+ label: string;
2234
+ key: string;
2235
+ disabled?: boolean;
2236
+ }
2237
+ /**
2238
+ * YdDropdown Props
2239
+ * @description 下拉菜单组件
2240
+ */
2241
+ interface Props$11 {
2242
+ /** 菜单项列表 */
2243
+ items?: DropdownItem[];
2244
+ /** 触发方式 */
2245
+ trigger?: "hover" | "click";
2246
+ /** 菜单位置 */
2247
+ placement?: "bottom-start" | "bottom" | "bottom-end" | "top-start" | "top" | "top-end";
2248
+ /** 触发器 aria-label */
2249
+ triggerLabel?: string;
2250
+ }
2251
+ declare var __VLS_1$6: {};
2252
+ type __VLS_Slots$8 = {} & {
2253
+ default?: (props: typeof __VLS_1$6) => any;
2254
+ };
2255
+ declare const __VLS_base$8: _$vue.DefineComponent<Props$11, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2256
+ select: (item: DropdownItem) => any;
2257
+ }, string, _$vue.PublicProps, Readonly<Props$11> & Readonly<{
2258
+ onSelect?: ((item: DropdownItem) => any) | undefined;
2259
+ }>, {
2260
+ trigger: "hover" | "click";
2261
+ items: DropdownItem[];
2262
+ placement: "bottom-start" | "bottom" | "bottom-end" | "top-start" | "top" | "top-end";
2263
+ triggerLabel: string;
2264
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2265
+ declare const __VLS_export$11: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
2266
+ declare const _default$18: typeof __VLS_export$11;
2267
+ type __VLS_WithSlots$8<T, S> = T & {
2268
+ new (): {
2269
+ $slots: S;
2270
+ };
2271
+ };
2272
+ //#endregion
2273
+ //#region src/components/navigation/steps/steps.vue.d.ts
2274
+ interface StepItem {
2275
+ title: string;
2276
+ description?: string;
2277
+ status?: "wait" | "process" | "finish" | "error";
2278
+ }
2279
+ interface Props$10 {
2280
+ items?: StepItem[];
2281
+ current?: number;
2282
+ direction?: "horizontal" | "vertical";
2283
+ size?: "default" | "small";
2284
+ }
2285
+ declare const __VLS_export$10: _$vue.DefineComponent<Props$10, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$10> & Readonly<{}>, {
2286
+ size: "default" | "small";
2287
+ direction: "horizontal" | "vertical";
2288
+ items: StepItem[];
2289
+ current: number;
2290
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2291
+ declare const _default$49: typeof __VLS_export$10;
2292
+ //#endregion
2293
+ //#region src/components/navigation/anchor/anchor.vue.d.ts
2294
+ interface AnchorItem {
2295
+ title: string;
2296
+ href: string;
2297
+ children?: AnchorItem[];
2298
+ }
2299
+ interface Props$9 {
2300
+ items?: AnchorItem[];
2301
+ }
2302
+ declare const __VLS_export$9: _$vue.DefineComponent<Props$9, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2303
+ change: (href: string) => any;
2304
+ }, string, _$vue.PublicProps, Readonly<Props$9> & Readonly<{
2305
+ onChange?: ((href: string) => any) | undefined;
2306
+ }>, {
2307
+ items: AnchorItem[];
2308
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2309
+ declare const _default: typeof __VLS_export$9;
2310
+ //#endregion
2311
+ //#region src/components/feedback/modal/modal.vue.d.ts
2312
+ /**
2313
+ * YdModal Props
2314
+ * @description 模态对话框组件,支持聚焦管理、ARIA 属性和键盘导航
2315
+ */
2316
+ interface Props$8 {
2317
+ /** 绑定值,控制对话框显示 */
2318
+ modelValue?: boolean;
2319
+ /** 对话框标题 */
2320
+ title?: string;
2321
+ /** 对话框宽度 */
2322
+ width?: string | number;
2323
+ /** 是否显示头部 */
2324
+ showHeader?: boolean;
2325
+ /** 是否显示底部按钮区 */
2326
+ showFooter?: boolean;
2327
+ /** 是否显示关闭按钮 */
2328
+ closable?: boolean;
2329
+ /** 点击遮罩是否可关闭 */
2330
+ maskClosable?: boolean;
2331
+ /** 关闭时是否销毁内容 */
2332
+ destroyOnClose?: boolean;
2333
+ /** 是否使用 Teleport 渲染到 body */
2334
+ teleport?: boolean;
2335
+ /** 取消按钮文本 */
2336
+ cancelText?: string;
2337
+ /** 确认按钮文本 */
2338
+ confirmText?: string;
2339
+ /** 确认按钮加载状态 */
2340
+ confirmLoading?: boolean;
2341
+ }
2342
+ declare var __VLS_16$1: {}, __VLS_18$1: {};
2343
+ type __VLS_Slots$7 = {} & {
2344
+ default?: (props: typeof __VLS_16$1) => any;
2345
+ } & {
2346
+ footer?: (props: typeof __VLS_18$1) => any;
2347
+ };
2348
+ declare const __VLS_base$7: _$vue.DefineComponent<Props$8, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2349
+ "update:modelValue": (value: boolean) => any;
2350
+ open: () => any;
2351
+ close: () => any;
2352
+ confirm: () => any;
2353
+ cancel: () => any;
2354
+ }, string, _$vue.PublicProps, Readonly<Props$8> & Readonly<{
2355
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2356
+ onOpen?: (() => any) | undefined;
2357
+ onClose?: (() => any) | undefined;
2358
+ onConfirm?: (() => any) | undefined;
2359
+ onCancel?: (() => any) | undefined;
2360
+ }>, {
2361
+ title: string;
2362
+ modelValue: boolean;
2363
+ width: string | number;
2364
+ showHeader: boolean;
2365
+ closable: boolean;
2366
+ maskClosable: boolean;
2367
+ destroyOnClose: boolean;
2368
+ teleport: boolean;
2369
+ showFooter: boolean;
2370
+ cancelText: string;
2371
+ confirmText: string;
2372
+ confirmLoading: boolean;
2373
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2374
+ declare const __VLS_export$8: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
2375
+ declare const _default$34: typeof __VLS_export$8;
2376
+ type __VLS_WithSlots$7<T, S> = T & {
2377
+ new (): {
2378
+ $slots: S;
2379
+ };
2380
+ };
2381
+ //#endregion
2382
+ //#region src/components/feedback/drawer/drawer.vue.d.ts
2383
+ /**
2384
+ * YdDrawer Props
2385
+ * @description 抽屉组件,从一侧滑入的对话框
2386
+ */
2387
+ interface Props$7 {
2388
+ /** 绑定值,控制抽屉显示 */
2389
+ modelValue?: boolean;
2390
+ /** 抽屉标题 */
2391
+ title?: string;
2392
+ /** 抽屉位置 */
2393
+ placement?: "left" | "right" | "top" | "bottom";
2394
+ /** 抽屉宽度/高度 */
2395
+ width?: string | number;
2396
+ /** 是否显示头部 */
2397
+ showHeader?: boolean;
2398
+ /** 是否显示关闭按钮 */
2399
+ closable?: boolean;
2400
+ /** 点击遮罩是否可关闭 */
2401
+ maskClosable?: boolean;
2402
+ /** 关闭时是否销毁内容 */
2403
+ destroyOnClose?: boolean;
2404
+ /** 是否使用 Teleport */
2405
+ teleport?: boolean;
2406
+ }
2407
+ declare var __VLS_16: {}, __VLS_18: {};
2408
+ type __VLS_Slots$6 = {} & {
2409
+ default?: (props: typeof __VLS_16) => any;
2410
+ } & {
2411
+ footer?: (props: typeof __VLS_18) => any;
2412
+ };
2413
+ declare const __VLS_base$6: _$vue.DefineComponent<Props$7, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2414
+ "update:modelValue": (value: boolean) => any;
2415
+ open: () => any;
2416
+ close: () => any;
2417
+ }, string, _$vue.PublicProps, Readonly<Props$7> & Readonly<{
2418
+ "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2419
+ onOpen?: (() => any) | undefined;
2420
+ onClose?: (() => any) | undefined;
2421
+ }>, {
2422
+ title: string;
2423
+ placement: "left" | "right" | "top" | "bottom";
2424
+ modelValue: boolean;
2425
+ width: string | number;
2426
+ showHeader: boolean;
2427
+ closable: boolean;
2428
+ maskClosable: boolean;
2429
+ destroyOnClose: boolean;
2430
+ teleport: boolean;
2431
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2432
+ declare const __VLS_export$7: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
2433
+ declare const _default$17: typeof __VLS_export$7;
2434
+ type __VLS_WithSlots$6<T, S> = T & {
2435
+ new (): {
2436
+ $slots: S;
2437
+ };
2438
+ };
2439
+ //#endregion
2440
+ //#region src/components/feedback/message/index.d.ts
2441
+ interface MessageOptions {
2442
+ content: string;
2443
+ duration?: number;
2444
+ closable?: boolean;
2445
+ }
2446
+ declare const Message: {
2447
+ info: (options: string | MessageOptions) => {
2448
+ id: string;
2449
+ };
2450
+ success: (options: string | MessageOptions) => {
2451
+ id: string;
2452
+ };
2453
+ warning: (options: string | MessageOptions) => {
2454
+ id: string;
2455
+ };
2456
+ error: (options: string | MessageOptions) => {
2457
+ id: string;
2458
+ };
2459
+ };
2460
+ //#endregion
2461
+ //#region src/components/feedback/notification/index.d.ts
2462
+ interface NotificationOptions {
2463
+ title?: string;
2464
+ message?: string;
2465
+ duration?: number;
2466
+ closable?: boolean;
2467
+ }
2468
+ declare const Notification: {
2469
+ info: (options: string | NotificationOptions) => {
2470
+ id: string;
2471
+ };
2472
+ success: (options: string | NotificationOptions) => {
2473
+ id: string;
2474
+ };
2475
+ warning: (options: string | NotificationOptions) => {
2476
+ id: string;
2477
+ };
2478
+ error: (options: string | NotificationOptions) => {
2479
+ id: string;
2480
+ };
2481
+ };
2482
+ //#endregion
2483
+ //#region src/components/feedback/tooltip/tooltip.vue.d.ts
2484
+ interface Props$6 {
2485
+ content?: string;
2486
+ placement?: "top" | "bottom" | "left" | "right";
2487
+ trigger?: "hover" | "click";
2488
+ delay?: number;
2489
+ }
2490
+ declare var __VLS_1$5: {}, __VLS_15: {};
2491
+ type __VLS_Slots$5 = {} & {
2492
+ default?: (props: typeof __VLS_1$5) => any;
2493
+ } & {
2494
+ content?: (props: typeof __VLS_15) => any;
2495
+ };
2496
+ declare const __VLS_base$5: _$vue.DefineComponent<Props$6, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$6> & Readonly<{}>, {
2497
+ trigger: "hover" | "click";
2498
+ placement: "top" | "bottom" | "left" | "right";
2499
+ delay: number;
2500
+ content: string;
2501
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2502
+ declare const __VLS_export$6: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
2503
+ declare const _default$57: typeof __VLS_export$6;
2504
+ type __VLS_WithSlots$5<T, S> = T & {
2505
+ new (): {
2506
+ $slots: S;
2507
+ };
2508
+ };
2509
+ //#endregion
2510
+ //#region src/components/feedback/spin/spin.vue.d.ts
2511
+ interface Props$5 {
2512
+ spinning?: boolean;
2513
+ size?: number;
2514
+ tip?: string;
2515
+ delay?: number;
2516
+ }
2517
+ declare var __VLS_1$4: {}, __VLS_3$1: {};
2518
+ type __VLS_Slots$4 = {} & {
2519
+ indicator?: (props: typeof __VLS_1$4) => any;
2520
+ } & {
2521
+ default?: (props: typeof __VLS_3$1) => any;
2522
+ };
2523
+ declare const __VLS_base$4: _$vue.DefineComponent<Props$5, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$5> & Readonly<{}>, {
2524
+ size: number;
2525
+ spinning: boolean;
2526
+ tip: string;
2527
+ delay: number;
2528
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2529
+ declare const __VLS_export$5: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
2530
+ declare const _default$47: typeof __VLS_export$5;
2531
+ type __VLS_WithSlots$4<T, S> = T & {
2532
+ new (): {
2533
+ $slots: S;
2534
+ };
2535
+ };
2536
+ //#endregion
2537
+ //#region src/components/feedback/skeleton/skeleton.vue.d.ts
2538
+ interface Props$4 {
2539
+ loading?: boolean;
2540
+ avatar?: boolean | number | string;
2541
+ title?: boolean;
2542
+ titleWidth?: string;
2543
+ titleHeight?: string;
2544
+ rows?: number;
2545
+ lastRowWidth?: string;
2546
+ animated?: boolean;
2547
+ }
2548
+ declare var __VLS_1$3: {};
2549
+ type __VLS_Slots$3 = {} & {
2550
+ default?: (props: typeof __VLS_1$3) => any;
2551
+ };
2552
+ declare const __VLS_base$3: _$vue.DefineComponent<Props$4, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$4> & Readonly<{}>, {
2553
+ title: boolean;
2554
+ loading: boolean;
2555
+ avatar: boolean | number | string;
2556
+ titleWidth: string;
2557
+ titleHeight: string;
2558
+ rows: number;
2559
+ lastRowWidth: string;
2560
+ animated: boolean;
2561
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2562
+ declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
2563
+ declare const _default$44: typeof __VLS_export$4;
2564
+ type __VLS_WithSlots$3<T, S> = T & {
2565
+ new (): {
2566
+ $slots: S;
2567
+ };
2568
+ };
2569
+ //#endregion
2570
+ //#region src/components/feedback/popconfirm/popconfirm.vue.d.ts
2571
+ interface Props$3 {
2572
+ title?: string;
2573
+ confirmText?: string;
2574
+ cancelText?: string;
2575
+ }
2576
+ declare var __VLS_1$2: {};
2577
+ type __VLS_Slots$2 = {} & {
2578
+ default?: (props: typeof __VLS_1$2) => any;
2579
+ };
2580
+ declare const __VLS_base$2: _$vue.DefineComponent<Props$3, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2581
+ confirm: () => any;
2582
+ cancel: () => any;
2583
+ }, string, _$vue.PublicProps, Readonly<Props$3> & Readonly<{
2584
+ onConfirm?: (() => any) | undefined;
2585
+ onCancel?: (() => any) | undefined;
2586
+ }>, {
2587
+ title: string;
2588
+ cancelText: string;
2589
+ confirmText: string;
2590
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2591
+ declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
2592
+ declare const _default$37: typeof __VLS_export$3;
2593
+ type __VLS_WithSlots$2<T, S> = T & {
2594
+ new (): {
2595
+ $slots: S;
2596
+ };
2597
+ };
2598
+ //#endregion
2599
+ //#region src/components/feedback/result/result.vue.d.ts
2600
+ interface Props$2 {
2601
+ status?: "success" | "error" | "warning" | "info" | "404" | "403" | "500";
2602
+ title?: string;
2603
+ subTitle?: string;
2604
+ }
2605
+ declare var __VLS_1$1: {}, __VLS_3: {}, __VLS_5: {};
2606
+ type __VLS_Slots$1 = {} & {
2607
+ icon?: (props: typeof __VLS_1$1) => any;
2608
+ } & {
2609
+ default?: (props: typeof __VLS_3) => any;
2610
+ } & {
2611
+ extra?: (props: typeof __VLS_5) => any;
2612
+ };
2613
+ declare const __VLS_base$1: _$vue.DefineComponent<Props$2, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$2> & Readonly<{}>, {
2614
+ title: string;
2615
+ status: "success" | "error" | "warning" | "info" | "404" | "403" | "500";
2616
+ subTitle: string;
2617
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2618
+ declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
2619
+ declare const _default$42: typeof __VLS_export$2;
2620
+ type __VLS_WithSlots$1<T, S> = T & {
2621
+ new (): {
2622
+ $slots: S;
2623
+ };
2624
+ };
2625
+ //#endregion
2626
+ //#region src/components/feedback/context-menu/context-menu.vue.d.ts
2627
+ interface ContextMenuItem {
2628
+ key?: string;
2629
+ label: string;
2630
+ icon?: string;
2631
+ shortcut?: string;
2632
+ disabled?: boolean;
2633
+ active?: boolean;
2634
+ separator?: boolean;
2635
+ children?: ContextMenuItem[];
2636
+ }
2637
+ interface Props$1 {
2638
+ items?: ContextMenuItem[];
2639
+ visible?: boolean;
2640
+ x?: number;
2641
+ y?: number;
2642
+ }
2643
+ declare const __VLS_export$1: _$vue.DefineComponent<Props$1, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2644
+ select: (item: ContextMenuItem) => any;
2645
+ "update:visible": (value: boolean) => any;
2646
+ }, string, _$vue.PublicProps, Readonly<Props$1> & Readonly<{
2647
+ onSelect?: ((item: ContextMenuItem) => any) | undefined;
2648
+ "onUpdate:visible"?: ((value: boolean) => any) | undefined;
2649
+ }>, {
2650
+ items: ContextMenuItem[];
2651
+ visible: boolean;
2652
+ x: number;
2653
+ y: number;
2654
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2655
+ declare const _default$13: typeof __VLS_export$1;
2656
+ //#endregion
2657
+ //#region src/components/config-provider/config-provider.vue.d.ts
2658
+ interface Props {
2659
+ theme?: "light" | "dark" | "auto";
2660
+ locale?: string;
2661
+ size?: "xs" | "sm" | "md" | "lg";
2662
+ zIndex?: number;
2663
+ }
2664
+ declare var __VLS_1: {};
2665
+ type __VLS_Slots = {} & {
2666
+ default?: (props: typeof __VLS_1) => any;
2667
+ };
2668
+ declare const __VLS_base: _$vue.DefineComponent<Props, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props> & Readonly<{}>, {
2669
+ locale: string;
2670
+ theme: "light" | "dark" | "auto";
2671
+ size: "xs" | "sm" | "md" | "lg";
2672
+ zIndex: number;
2673
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2674
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
2675
+ declare const _default$12: typeof __VLS_export;
2676
+ type __VLS_WithSlots<T, S> = T & {
2677
+ new (): {
2678
+ $slots: S;
2679
+ };
2680
+ };
2681
+ //#endregion
2682
+ //#region src/composables/use-namespace.d.ts
2683
+ /**
2684
+ * 创建命名空间,用于生成 BEM 风格的 class 名称
2685
+ * @param namespace - 命名空间前缀
2686
+ * @returns 命名空间工具对象
2687
+ */
2688
+ declare function useNamespace(namespace: string): {
2689
+ b: (element?: string) => string;
2690
+ e: (element: string) => string;
2691
+ m: (modifier: string) => string;
2692
+ bem: (element?: string, modifier?: string) => string;
2693
+ };
2694
+ //#endregion
2695
+ //#region src/composables/use-form-validate.d.ts
2696
+ /**
2697
+ * 表单校验 composable
2698
+ */
2699
+ declare function useFormValidate(rules: Ref<FormRules> | FormRules, model: Ref<Record<string, unknown>> | Record<string, unknown>): {
2700
+ errors: Record<string, ValidateError[]>;
2701
+ items: Ref<FormItemInstance[]>;
2702
+ validate: () => Promise<ValidateResult>;
2703
+ validateField: (prop: string) => Promise<ValidateError | null>;
2704
+ resetFields: () => void;
2705
+ clearValidate: (fields?: string[]) => void;
2706
+ registerItem: (item: FormItemInstance) => void;
2707
+ unregisterItem: (item: FormItemInstance) => void;
2708
+ };
2709
+ //#endregion
2710
+ //#region src/composables/use-login-form.d.ts
2711
+ interface LoginFormData {
2712
+ username: string;
2713
+ password: string;
2714
+ phone: string;
2715
+ code: string;
2716
+ captchaCode: string;
2717
+ remember: boolean;
2718
+ }
2719
+ interface UseLoginFormOptions {
2720
+ /** 是否显示验证码 */
2721
+ showCaptcha?: boolean;
2722
+ /** 验证码实例 */
2723
+ captchaCode?: Ref<string>;
2724
+ /** 验证码 key (用于刷新) */
2725
+ captchaKey?: Ref<number>;
2726
+ /** 表单类型: account | phone */
2727
+ defaultTab?: string;
2728
+ /** 发送验证码回调 */
2729
+ onSendCode?: (phone: string) => void;
2730
+ }
2731
+ interface UseLoginFormReturn {
2732
+ /** 表单数据 */
2733
+ formData: LoginFormData;
2734
+ /** 当前 tab */
2735
+ activeTab: Ref<string>;
2736
+ /** 错误消息 */
2737
+ errorMsg: Ref<string>;
2738
+ /** 密码可见性 */
2739
+ showPassword: Ref<boolean>;
2740
+ /** 验证码倒计时 */
2741
+ countdown: Ref<number>;
2742
+ /** 提交中 */
2743
+ loading: Ref<boolean>;
2744
+ /** 验证并提交 */
2745
+ handleSubmit: () => boolean;
2746
+ /** 刷新验证码 */
2747
+ refreshCaptcha: () => void;
2748
+ /** 发送验证码 */
2749
+ handleSendCode: () => void;
2750
+ /** 重置表单 */
2751
+ resetForm: () => void;
2752
+ /** 设置加载状态 */
2753
+ setLoading: (loading: boolean) => void;
2754
+ /** 设置错误消息 */
2755
+ setError: (error: string) => void;
2756
+ }
2757
+ /**
2758
+ * 登录表单逻辑
2759
+ */
2760
+ declare function useLoginForm(options?: UseLoginFormOptions): UseLoginFormReturn;
2761
+ //#endregion
2762
+ //#region src/hooks/use-loading.d.ts
2763
+ /**
2764
+ * Loading 状态管理 hook
2765
+ * @param initialValue - 初始加载状态
2766
+ * @returns 响应式 loading 状态和控制方法
2767
+ */
2768
+ declare function useLoading(initialValue?: boolean): {
2769
+ loading: _$vue.Ref<boolean, boolean>;
2770
+ isLoading: _$vue.ComputedRef<boolean>;
2771
+ startLoading: () => void;
2772
+ stopLoading: () => void;
2773
+ withLoading: <T>(fn: () => Promise<T>) => Promise<T>;
2774
+ };
2775
+ //#endregion
2776
+ //#region src/utils/crypto.d.ts
2777
+ /**
2778
+ * Web Crypto API 加密工具
2779
+ * 使用 AES-GCM 算法进行对称加密
2780
+ */
2781
+ /**
2782
+ * 生成随机会话密钥 (AES-GCM 256位)
2783
+ */
2784
+ declare function generateSessionKey(): Promise<CryptoKey>;
2785
+ /**
2786
+ * 加密数据
2787
+ * @param data 要加密的字符串
2788
+ * @param key 加密密钥 (CryptoKey 或 字符串)
2789
+ * @returns Base64 编码的密文 (包含 IV)
2790
+ */
2791
+ declare function encrypt(data: string, key: CryptoKey | string): Promise<string>;
2792
+ /**
2793
+ * 解密数据
2794
+ * @param base64Data Base64 编码的密文
2795
+ * @param key 解密密钥
2796
+ * @returns 解密后的字符串,失败返回 null
2797
+ */
2798
+ declare function decrypt(base64Data: string, key: CryptoKey | string): Promise<string | null>;
2799
+ //#endregion
2800
+ //#region src/utils/secure-storage.d.ts
2801
+ /**
2802
+ * 初始化安全存储
2803
+ * 必须在应用启动时调用
2804
+ */
2805
+ declare function initSecureStorage(): Promise<void>;
2806
+ /**
2807
+ * 混合加密存储类
2808
+ */
2809
+ declare class SecureStorage {
2810
+ private storage;
2811
+ private key;
2812
+ constructor(type: "local" | "session");
2813
+ /**
2814
+ * 异步写入
2815
+ */
2816
+ setItem<T = unknown>(key: string, value: T): Promise<void>;
2817
+ /**
2818
+ * 异步读取
2819
+ */
2820
+ getItem<T>(key: string): Promise<T | null>;
2821
+ /**
2822
+ * 同步删除
2823
+ */
2824
+ removeItem(key: string): void;
2825
+ /**
2826
+ * 同步清空
2827
+ */
2828
+ clear(): void;
2829
+ }
2830
+ declare const secureLocal: SecureStorage;
2831
+ declare const secureSession: SecureStorage;
2832
+ //#endregion
2833
+ //#region src/utils/index.d.ts
2834
+ /**
2835
+ * Utility functions
2836
+ * 工具函数集合
2837
+ */
2838
+ declare const THROTTLE_DEFAULTS: {
2839
+ default: number;
2840
+ tooltip: number;
2841
+ scroll: number;
2842
+ resize: number;
2843
+ input: number;
2844
+ };
2845
+ declare const DEBOUNCE_DEFAULTS: {
2846
+ default: number;
2847
+ search: number;
2848
+ resize: number;
2849
+ form: number;
2850
+ };
2851
+ /**
2852
+ * 合并 class 名称
2853
+ */
2854
+ declare function cn(...classes: (string | undefined | null | false)[]): string;
2855
+ /**
2856
+ * 生成唯一 ID
2857
+ */
2858
+ declare function generateId(prefix?: string): string;
2859
+ /**
2860
+ * 防抖函数
2861
+ */
2862
+ declare function debounce<T extends (...args: unknown[]) => unknown>(fn: T, delay?: number): (...args: Parameters<T>) => void;
2863
+ /**
2864
+ * 节流函数
2865
+ */
2866
+ declare function throttle<T extends (...args: unknown[]) => unknown>(fn: T, limit?: number): (...args: Parameters<T>) => void;
2867
+ /**
2868
+ * 深拷贝
2869
+ */
2870
+ declare function deepClone<T>(obj: T): T;
2871
+ /**
2872
+ * 判断是否为空对象
2873
+ */
2874
+ declare function isEmptyObject(obj: Record<string, unknown>): boolean;
2875
+ //#endregion
2876
+ //#region src/styles/themes/index.d.ts
2877
+ /**
2878
+ * Theme definitions
2879
+ * 主题变体:light/dark 等
2880
+ */
2881
+ declare const themes: {
2882
+ readonly light: {
2883
+ readonly colors: {
2884
+ readonly background: "#ffffff";
2885
+ readonly foreground: "#111827";
2886
+ readonly muted: "#f3f4f6";
2887
+ readonly "muted-foreground": "#6b7280";
2888
+ readonly border: "#e5e7eb";
2889
+ readonly input: "#e5e7eb";
2890
+ readonly ring: "#3b82f6";
2891
+ };
2892
+ };
2893
+ readonly dark: {
2894
+ readonly colors: {
2895
+ readonly background: "#111827";
2896
+ readonly foreground: "#f9fafb";
2897
+ readonly muted: "#1f2937";
2898
+ readonly "muted-foreground": "#9ca3af";
2899
+ readonly border: "#374151";
2900
+ readonly input: "#374151";
2901
+ readonly ring: "#60a5fa";
2902
+ };
2903
+ };
2904
+ };
2905
+ type ThemeName = keyof typeof themes;
2906
+ type Theme = (typeof themes)[ThemeName];
2907
+ //#endregion
2908
+ //#region src/constants/index.d.ts
2909
+ /**
2910
+ * Application constants
2911
+ * 常量定义
2912
+ */
2913
+ /** 组件库前缀 */
2914
+ declare const COMPONENT_PREFIX: "Yd";
2915
+ /** CSS 类名前缀 */
2916
+ declare const CSS_PREFIX: "yd";
2917
+ /** 默认动画时长 (ms) */
2918
+ declare const ANIMATION_DURATION: 200;
2919
+ /** 默认防抖延迟 (ms) */
2920
+ declare const DEBOUNCE_DELAY: 300;
2921
+ /** 默认节流间隔 (ms) */
2922
+ declare const THROTTLE_DELAY: 300;
2923
+ /** z-index 层级 */
2924
+ declare const Z_INDEX: {
2925
+ readonly DROPDOWN: 1000;
2926
+ readonly STICKY: 1020;
2927
+ readonly FIXED: 1030;
2928
+ readonly MODAL_BACKDROP: 1040;
2929
+ readonly MODAL: 1050;
2930
+ readonly POPOVER: 1060;
2931
+ readonly TOOLTIP: 1070;
2932
+ };
2933
+ //#endregion
2934
+ //#region src/stores/plugins/secure-storage.d.ts
2935
+ /**
2936
+ * 安全存储 Pinia 插件
2937
+ */
2938
+ declare function secureStoragePlugin({
2939
+ store
2940
+ }: PiniaPluginContext): void;
2941
+ //#endregion
2942
+ //#region src/locales/index.d.ts
2943
+ type Locale = string;
2944
+ declare const i18n: _$vue_i18n0.I18n<{}, {}, {}, string, false>;
2945
+ /**
2946
+ * 支持的语言
2947
+ */
2948
+ declare const supportedLocales: readonly [{
2949
+ readonly label: "简体中文";
2950
+ readonly value: "zh-CN";
2951
+ }, {
2952
+ readonly label: "English";
2953
+ readonly value: "en-US";
2954
+ }];
2955
+ type SupportedLocale = (typeof supportedLocales)[number]["value"];
2956
+ /**
2957
+ * 设置语言
2958
+ */
2959
+ declare function setLocale(locale: Locale): void;
2960
+ /**
2961
+ * 初始化 i18n
2962
+ */
2963
+ declare function setupI18n(app: App, options?: {
2964
+ defaultLocale?: Locale;
2965
+ }): Promise<void>;
2966
+ /**
2967
+ * 切换语言
2968
+ */
2969
+ declare function changeLocale(locale: Locale): Promise<void>;
2970
+ //#endregion
2971
+ export { ANIMATION_DURATION, Alignment, COMPONENT_PREFIX, CSS_PREFIX, ComponentSize, ComponentVariant, DEBOUNCE_DEFAULTS, DEBOUNCE_DELAY, DEFAULT_LAYOUT_SIZE, DeepPartial, Direction, EventHandler, type FormInstance$1 as FormInstance, type FormItemInstance, type FormRules, type LayoutContext, type LayoutSize, type LayoutTheme, MaybePromise, type MenuItem, Message, Notification, StringLiteral, SupportedLocale, THROTTLE_DEFAULTS, THROTTLE_DELAY, type TabItem, Theme, ThemeName, type UserInfo, type ValidateError, type ValidateResult, _default as YdAnchor, _default$1 as YdAutoComplete, _default$2 as YdAvatar, _default$3 as YdBadge, _default$4 as YdBreadcrumb, _default$5 as YdButton, _default$6 as YdCaptcha, _default$7 as YdCard, _default$8 as YdCascader, _default$9 as YdCheckbox, _default$10 as YdCheckboxGroup, _default$11 as YdCollapse, _default$12 as YdConfigProvider, _default$13 as YdContextMenu, _default$14 as YdDatePicker, _default$15 as YdDateRangePicker, _default$16 as YdDivider, _default$17 as YdDrawer, _default$18 as YdDropdown, _default$19 as YdEmpty, _default$20 as YdForm, _default$21 as YdFormItem, _default$22 as YdImage, _default$23 as YdImagePreviewGroup, _default$24 as YdInput, _default$25 as YdInputNumber, _default$26 as YdLayout, _default$27 as YdLayoutContent, _default$28 as YdLayoutHeader, _default$29 as YdLayoutSidebar, _default$30 as YdList, _default$31 as YdLogin, _default$32 as YdLoginCentered, _default$33 as YdMenu, _default$34 as YdModal, _default$35 as YdPagination, _default$36 as YdPinInput, _default$37 as YdPopconfirm, _default$38 as YdProgress, _default$39 as YdRadio, _default$40 as YdRadioGroup, _default$41 as YdRate, _default$42 as YdResult, _default$43 as YdSelect, _default$44 as YdSkeleton, _default$45 as YdSlider, _default$46 as YdSpace, _default$47 as YdSpin, _default$48 as YdStatistic, _default$49 as YdSteps, _default$50 as YdSwitch, _default$51 as YdTable, _default$52 as YdTabs, _default$53 as YdTag, _default$54 as YdTextarea, _default$55 as YdTimePicker, _default$56 as YdTimeline, _default$57 as YdTooltip, _default$58 as YdTransfer, _default$59 as YdTree, _default$60 as YdUpload, Z_INDEX, changeLocale, cn, debounce, decrypt, deepClone, encrypt, generateId, generateSessionKey, i18n, initSecureStorage, isEmptyObject, secureLocal, secureSession, secureStoragePlugin, setLocale, setupI18n, supportedLocales, themes, throttle, useFormValidate, useLoading, useLoginForm, useNamespace };