yd-admin 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -1,6 +1,7 @@
1
1
  import * as _$vue from "vue";
2
2
  import { App, Ref } from "vue";
3
3
  import * as _$vue_i18n0 from "vue-i18n";
4
+ import { RouteRecordRaw } from "vue-router";
4
5
  import { PiniaPluginContext } from "pinia";
5
6
 
6
7
  //#region src/types/index.d.ts
@@ -24,9 +25,424 @@ type MaybePromise<T> = T | Promise<T>;
24
25
  type DeepPartial<T> = { [P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P] };
25
26
  /** 字符串字面量工具类型 */
26
27
  type StringLiteral<T> = T extends string ? (string extends T ? never : T) : never;
28
+ /** 深度 Required */
29
+ type DeepRequired<T> = { [P in keyof T]-?: T[P] extends object ? DeepRequired<T[P]> : T[P] };
30
+ /** 深度 Readonly */
31
+ type DeepReadonly<T> = { readonly [P in keyof T]: T[P] extends object ? DeepReadonly<T[P]> : T[P] };
32
+ /** 深度冻结 */
33
+ type DeepFrozen<T> = { readonly [P in keyof T]: T[P] extends object ? DeepFrozen<T[P]> : Readonly<T[P]> };
34
+ /** 键值对 */
35
+ type KeyValuePair<K extends string | number = string, V = unknown> = {
36
+ key: K;
37
+ value: V;
38
+ };
39
+ /** 记录类型简化 */
40
+ type Recordable<T = unknown> = Record<string, T>;
41
+ /** 深度只读数组 */
42
+ type DeepReadonlyArray<T> = ReadonlyArray<DeepReadonlyArray<T> extends infer R ? R : never>;
43
+ /** 无参数函数 */
44
+ type Noop = () => void;
45
+ /** 构造函数 */
46
+ type Constructor<T = unknown> = new (...args: any[]) => T;
47
+ /** 类实例 */
48
+ type Instanceof<T> = T extends Constructor<infer I> ? I : never;
49
+ /** 参数类型 */
50
+ type Parameters$1<T extends (...args: any[]) => unknown> = T extends ((...args: infer P) => unknown) ? P : never;
51
+ /** 返回类型 */
52
+ type ReturnType<T extends (...args: any[]) => unknown> = T extends ((...args: any[]) => infer R) ? R : never;
53
+ /** this 类型 */
54
+ type ThisParameterType<T> = T extends ((this: infer This, ...args: any[]) => unknown) ? This : never;
55
+ /** 箭头函数参数推断 */
56
+ type ArrowFunction<P extends any[] = unknown[], R = unknown> = (...args: P) => R;
57
+ /** 数组项类型 */
58
+ type ArrayElement<T> = T extends (infer U)[] ? U : T extends readonly (infer U)[] ? U : never;
59
+ /** 非空数组 */
60
+ type NonEmptyArray<T> = [T, ...T[]];
61
+ /** 稀疏数组转密集 */
62
+ type DenseArray<T> = { [K in keyof T]: T[K] } & unknown[];
63
+ /** 表单值类型 */
64
+ type FormValue = string | number | boolean | unknown[] | Record<string, unknown> | null | undefined;
65
+ /** 表单模型 */
66
+ type FormModel = Record<string, FormValue>;
67
+ /** 表单规则 (参考 async-validator) - extended version for components */
68
+ interface FormRuleExtra {
69
+ /** 必填验证 */
70
+ required?: boolean;
71
+ /** 消息 */
72
+ message?: string;
73
+ /** 触发事件 */
74
+ trigger?: string | string[];
75
+ /** 类型验证 */
76
+ type?: "string" | "number" | "boolean" | "method" | "regexp" | "integer" | "float" | "array" | "object" | "enum" | "date" | "url" | "hex" | "email";
77
+ /** 最小值 */
78
+ min?: number;
79
+ /** 最大值 */
80
+ max?: number;
81
+ /** 长度 */
82
+ len?: number;
83
+ /** 正则 */
84
+ pattern?: RegExp;
85
+ /** 自定义验证器 */
86
+ validator?: (rule: FormRuleExtra, value: unknown) => Promise<void | string> | ((rule: FormRuleExtra, value: unknown) => void | string);
87
+ /** 异步自定义验证器 */
88
+ transform?: (value: unknown) => unknown;
89
+ /** 枚举值 */
90
+ enum?: unknown[];
91
+ /** whitespace 处理 */
92
+ whitespace?: boolean;
93
+ }
94
+ /** 表单错误 (basic version - use form/types for full version) */
95
+ interface FormError {
96
+ /** 字段名 */
97
+ field: string;
98
+ /** 错误消息 */
99
+ message: string;
100
+ /** 错误规则 */
101
+ rule?: FormRuleExtra;
102
+ }
103
+ /** 表单验证结果 */
104
+ interface FormValidateResult {
105
+ /** 是否有效 */
106
+ valid: boolean;
107
+ /** 错误列表 */
108
+ errors?: FormError[];
109
+ /** 未通过字段 */
110
+ failedFields?: string[];
111
+ }
112
+ /** 表单状态 */
113
+ type FormStatus = "idle" | "validating" | "success" | "error";
114
+ /** 表单尺寸映射 */
115
+ type SizeKeys<T extends ComponentSize> = {
116
+ xs: "xs";
117
+ sm: "sm";
118
+ md: "md";
119
+ lg: "lg";
120
+ xl: "xl";
121
+ }[T];
122
+ /** 树节点 */
123
+ interface TreeNode<T = unknown> {
124
+ /** 唯一键 */
125
+ key: string | number;
126
+ /** 显示标题 */
127
+ title: string;
128
+ /** 子节点 */
129
+ children?: TreeNode<T>[];
130
+ /** 数据 */
131
+ data?: T;
132
+ /** 是否禁用 */
133
+ disabled?: boolean;
134
+ /** 是否叶子 */
135
+ isLeaf?: boolean;
136
+ /** 是否加载中 */
137
+ loading?: boolean;
138
+ /** 展开 */
139
+ expanded?: boolean;
140
+ /** 选择 */
141
+ selected?: boolean;
142
+ /** 勾选 */
143
+ checked?: boolean;
144
+ }
145
+ /** 级联节点 */
146
+ interface CascaderNode<T = unknown> {
147
+ /** 值 */
148
+ value: string | number;
149
+ /** 标签 */
150
+ label: string;
151
+ /** 子节点 */
152
+ children?: CascaderNode<T>[];
153
+ /** 数据 */
154
+ data?: T;
155
+ /** 是否禁用 */
156
+ disabled?: boolean;
157
+ /** 是否叶子 */
158
+ isLeaf?: boolean;
159
+ }
160
+ /** 级联路径 */
161
+ type CascaderOption<T = unknown> = CascaderNode<T> | CascaderNode<T>[];
162
+ /** 表格列 */
163
+ interface TableColumn<T = Record<string, unknown>> {
164
+ /** 列键 */
165
+ key?: string;
166
+ /** 标题 */
167
+ title: string;
168
+ /** 宽度 */
169
+ width?: number | string;
170
+ /** 最小宽度 */
171
+ minWidth?: number | string;
172
+ /** 对齐 */
173
+ align?: Alignment;
174
+ /** 固定列 */
175
+ fixed?: "left" | "right";
176
+ /** 排序 */
177
+ sortable?: boolean;
178
+ /** 筛选 */
179
+ filterable?: boolean;
180
+ /** 自定义渲染 */
181
+ render?: (value: unknown, row: T, index: number) => unknown;
182
+ /** 插槽 */
183
+ slot?: string;
184
+ }
185
+ /** 表格行 */
186
+ interface TableRow<T = Record<string, unknown>> extends Record<string, unknown> {
187
+ /** 唯一键 */
188
+ __key?: string | number;
189
+ /** 展开 */
190
+ __expanded?: boolean;
191
+ /** 层级 */
192
+ __level?: number;
193
+ /** 子行 */
194
+ __children?: TableRow<T>[];
195
+ /** 虚拟索引 (内部使用) */
196
+ __virtualIndex?: number;
197
+ }
198
+ /** 分页参数 */
199
+ interface PaginationParams {
200
+ /** 当前页 */
201
+ page: number;
202
+ /** 每页条数 */
203
+ pageSize: number;
204
+ }
205
+ /** 分页结果 */
206
+ interface PaginationResult<T> {
207
+ /** 数据 */
208
+ list: T[];
209
+ /** 总数 */
210
+ total: number;
211
+ /** 当前页 */
212
+ page: number;
213
+ /** 每页条数 */
214
+ pageSize: number;
215
+ }
216
+ /** 分页配置 */
217
+ interface PaginationConfig extends PaginationParams {
218
+ /** 总数 */
219
+ total: number;
220
+ /** 快速跳转 */
221
+ showQuickJumper?: boolean;
222
+ /** 选择器 */
223
+ showSizeChanger?: boolean;
224
+ /** 页面大小选项 */
225
+ pageSizeOptions?: number[];
226
+ /** 渲染器 */
227
+ pageSizeRender?: (total: number, range: [number, number]) => string;
228
+ }
229
+ /** 选项 */
230
+ interface SelectOption<T = unknown> {
231
+ /** 标签 */
232
+ label: string;
233
+ /** 值 */
234
+ value: string | number;
235
+ /** 是否禁用 */
236
+ disabled?: boolean;
237
+ /** 额外数据 */
238
+ data?: T;
239
+ }
240
+ /** 选项组 */
241
+ interface SelectGroup<T = unknown> {
242
+ /** 组标签 */
243
+ label: string;
244
+ /** 选项 */
245
+ options: SelectOption<T>[];
246
+ }
247
+ /** 选项联合类型 */
248
+ type SelectValue = SelectOption | SelectGroup;
249
+ /** 选中值 */
250
+ type SelectedValue<T = string | number> = T | T[];
251
+ /** 模态框配置 */
252
+ interface ModalConfig {
253
+ /** 标题 */
254
+ title?: string;
255
+ /** 内容 */
256
+ content?: string;
257
+ /** 确认文字 */
258
+ okText?: string;
259
+ /** 取消文字 */
260
+ cancelText?: string;
261
+ /** 确认加载 */
262
+ okLoading?: boolean;
263
+ /** 显示取消 */
264
+ showCancel?: boolean;
265
+ /** 密闭关闭 */
266
+ closable?: boolean;
267
+ /** 遮罩关闭 */
268
+ maskClosable?: boolean;
269
+ /** 宽度 */
270
+ width?: number | string;
271
+ /** 自定义class */
272
+ class?: string;
273
+ }
274
+ /** 抽屉配置 */
275
+ interface DrawerConfig extends ModalConfig {
276
+ /** 位置 */
277
+ placement?: "top" | "right" | "bottom" | "left";
278
+ /** 尺寸 */
279
+ size?: number | string;
280
+ /** 嵌套样式 */
281
+ nested?: boolean;
282
+ }
283
+ /** 消息配置 */
284
+ interface MessageConfig {
285
+ /** 内容 */
286
+ content: string;
287
+ /** 持续时间 */
288
+ duration?: number;
289
+ /** 关闭 */
290
+ closable?: boolean;
291
+ }
292
+ /** 通知配置 */
293
+ interface NotificationConfig extends MessageConfig {
294
+ /** 标题 */
295
+ title?: string;
296
+ /** 图标 */
297
+ icon?: string;
298
+ }
299
+ /** 日期格式 */
300
+ type DateFormat = "date" | "datetime" | "time" | "week" | "month" | "quarter" | "year";
301
+ /** 日期范围 */
302
+ type DateRange = [Date, Date] | [string, string];
303
+ /** 快捷日期选项 */
304
+ interface DateShortcut {
305
+ /** 文本 */
306
+ text: string;
307
+ /** 值 */
308
+ value: Date | DateRange | (() => Date | DateRange);
309
+ }
310
+ /** 文件 */
311
+ interface UploadFile {
312
+ /** 名字 */
313
+ name: string;
314
+ /** 大小 */
315
+ size: number;
316
+ /** 类型 */
317
+ type: string;
318
+ /** 原始文件 */
319
+ raw?: File;
320
+ /** URL */
321
+ url?: string;
322
+ /** 状态 */
323
+ status?: "pending" | "uploading" | "done" | "error";
324
+ /** 百分比 */
325
+ percent?: number;
326
+ /** 错误消息 */
327
+ message?: string;
328
+ }
329
+ /** 上传请求参数 */
330
+ interface UploadRequest {
331
+ /** URL */
332
+ url: string;
333
+ /** 方法 */
334
+ method?: "post" | "put";
335
+ /** 字段名 */
336
+ name?: string;
337
+ /** 请求头 */
338
+ headers?: Record<string, string>;
339
+ /** 数据 */
340
+ data?: Record<string, unknown>;
341
+ /** 凭据 */
342
+ withCredentials?: boolean;
343
+ }
344
+ /** 上传请求结果 */
345
+ interface UploadResponse {
346
+ /** 链接 */
347
+ url?: string;
348
+ /** 文件名 */
349
+ filename?: string;
350
+ /** 自定义数据 */
351
+ data?: unknown;
352
+ }
353
+ /** API 响应 */
354
+ interface ApiResponse<T = unknown> {
355
+ /** 状态码 */
356
+ code: number;
357
+ /** 消息 */
358
+ message: string;
359
+ /** 数据 */
360
+ data: T;
361
+ }
362
+ /** 分页 API 响应 */
363
+ interface PaginatedApiResponse<T> extends ApiResponse<T[]> {
364
+ /** 总数 */
365
+ total: number;
366
+ }
367
+ /** 确保类型 */
368
+ type Known<T, Fallback = never> = T extends unknown ? unknown extends T ? Fallback : T : Fallback;
369
+ /** 延迟类型 (用于递归) */
370
+ type Deferred<T> = T | {
371
+ then(callback: (value: T) => void): void;
372
+ };
373
+ /** 互斥属性 */
374
+ type Exclusive<T, U extends keyof T = keyof T> = T & { [K in U]?: never };
375
+ /** 可转换类型 */
376
+ type Promisable<T> = T | Promise<T>;
377
+ /** 回调类型 */
378
+ type Callback<T, Args extends any[] = unknown[]> = (...args: Args) => T;
379
+ /** 监听器 */
380
+ type Listener<T> = (value: T) => void;
381
+ /** 发布者 */
382
+ interface Emitter<T = unknown> {
383
+ emit(event: string, payload?: T): void;
384
+ on(event: string, listener: Listener<T>): void;
385
+ off(event: string, listener?: Listener<T>): void;
386
+ }
387
+ /** 是否为数组 */
388
+ declare const isArray: (arg: any) => arg is any[];
389
+ /** 是否为对象 */
390
+ declare const isObject: (val: unknown) => val is Record<string, unknown>;
391
+ /** 是否为日期 */
392
+ declare const isDate: (val: unknown) => val is Date;
393
+ /** 是否为函数 */
394
+ declare const isFunction: (val: unknown) => val is (...args: any[]) => unknown;
395
+ /** 是否为空 */
396
+ declare const isEmpty: (val: unknown) => boolean;
397
+ /** 是否为 Promise */
398
+ declare const isPromise: (val: unknown) => val is Promise<unknown>;
399
+ /** 获取属性类型 */
400
+ type GetProp<T, K extends keyof T> = T[K];
401
+ /** 获取属性键 */
402
+ type GetKeys<T> = keyof T;
403
+ /** 属性过滤 */
404
+ type FilterKeys<T, U> = { [K in keyof T as T[K] extends U ? K : never]: T[K] };
405
+ /**omit 简化 */
406
+ type Omit<T, K extends keyof T> = { [P in GetKeys<T> as P extends K ? never : P]: T[P] };
407
+ /**pick 简化 */
408
+ type Pick<T, K extends keyof T> = { [P in K]: T[P] };
409
+ /** 简化交叉 */
410
+ type Intersection<T extends object, U extends object> = T & Pick<U, Exclude<keyof U, keyof T>>;
411
+ /** CSS 属性值对 */
412
+ interface CssProperty {
413
+ /** 属性 */
414
+ property: string;
415
+ /** 值 */
416
+ value: string | number;
417
+ }
418
+ /** 主题令牌 */
419
+ interface ThemeTokens {
420
+ /** 主色 */
421
+ colorPrimary: string;
422
+ /** 成功色 */
423
+ colorSuccess: string;
424
+ /** 警告色 */
425
+ colorWarning: string;
426
+ /** 错误色 */
427
+ colorError: string;
428
+ /** 信息色 */
429
+ colorInfo: string;
430
+ /** 背景色 */
431
+ colorBg: string;
432
+ /** 边框色 */
433
+ colorBorder: string;
434
+ /** 文本色 */
435
+ colorFg: string;
436
+ /** 字号 */
437
+ fontSize: number | string;
438
+ /** 行高 */
439
+ lineHeight: number | string;
440
+ /** 圆角 */
441
+ borderRadius: number | string;
442
+ }
27
443
  //#endregion
28
444
  //#region src/components/base/button/button.vue.d.ts
29
- interface Props$60 {
445
+ interface Props$63 {
30
446
  /** 按钮类型 */
31
447
  variant?: ComponentVariant;
32
448
  /** 按钮尺寸 */
@@ -45,33 +461,33 @@ interface Props$60 {
45
461
  nativeType?: "button" | "submit" | "reset";
46
462
  }
47
463
  declare var __VLS_1$29: {};
48
- type __VLS_Slots$40 = {} & {
464
+ type __VLS_Slots$41 = {} & {
49
465
  default?: (props: typeof __VLS_1$29) => any;
50
466
  };
51
- declare const __VLS_base$40: _$vue.DefineComponent<Props$60, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
467
+ declare const __VLS_base$41: _$vue.DefineComponent<Props$63, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
52
468
  click: (event: MouseEvent) => any;
53
- }, string, _$vue.PublicProps, Readonly<Props$60> & Readonly<{
469
+ }, string, _$vue.PublicProps, Readonly<Props$63> & Readonly<{
54
470
  onClick?: ((event: MouseEvent) => any) | undefined;
55
471
  }>, {
56
472
  size: ComponentSize;
57
- variant: ComponentVariant;
58
- loading: boolean;
59
- circle: boolean;
60
473
  disabled: boolean;
474
+ variant: ComponentVariant;
61
475
  plain: boolean;
62
476
  round: boolean;
477
+ circle: boolean;
478
+ loading: boolean;
63
479
  nativeType: "button" | "submit" | "reset";
64
480
  }, {}, {}, {}, 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 & {
481
+ declare const __VLS_export$63: __VLS_WithSlots$41<typeof __VLS_base$41, __VLS_Slots$41>;
482
+ declare const _default$5: typeof __VLS_export$63;
483
+ type __VLS_WithSlots$41<T, S> = T & {
68
484
  new (): {
69
485
  $slots: S;
70
486
  };
71
487
  };
72
488
  //#endregion
73
489
  //#region src/components/base/input/input.vue.d.ts
74
- interface Props$59 {
490
+ interface Props$62 {
75
491
  modelValue?: string | number;
76
492
  placeholder?: string;
77
493
  disabled?: boolean;
@@ -87,55 +503,55 @@ interface Props$59 {
87
503
  autocomplete?: string;
88
504
  }
89
505
  declare var __VLS_1$28: {}, __VLS_8$4: {};
90
- type __VLS_Slots$39 = {} & {
506
+ type __VLS_Slots$40 = {} & {
91
507
  prefix?: (props: typeof __VLS_1$28) => any;
92
508
  } & {
93
509
  suffix?: (props: typeof __VLS_8$4) => any;
94
510
  };
95
- declare const __VLS_base$39: _$vue.DefineComponent<Props$59, {
511
+ declare const __VLS_base$40: _$vue.DefineComponent<Props$62, {
96
512
  focus: () => void | undefined;
97
513
  blur: () => void | undefined;
98
514
  select: () => void | undefined;
99
515
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
100
- change: (value: string | number) => any;
101
516
  "update:modelValue": (value: string | number) => any;
102
- clear: () => any;
517
+ change: (value: string | number) => any;
103
518
  input: (value: string | number) => any;
104
519
  focus: (event: FocusEvent) => any;
105
520
  blur: (event: FocusEvent) => any;
521
+ clear: () => any;
106
522
  keydown: (event: KeyboardEvent) => any;
107
- }, string, _$vue.PublicProps, Readonly<Props$59> & Readonly<{
108
- onChange?: ((value: string | number) => any) | undefined;
523
+ }, string, _$vue.PublicProps, Readonly<Props$62> & Readonly<{
109
524
  "onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
110
- onClear?: (() => any) | undefined;
525
+ onChange?: ((value: string | number) => any) | undefined;
111
526
  onInput?: ((value: string | number) => any) | undefined;
112
527
  onFocus?: ((event: FocusEvent) => any) | undefined;
113
528
  onBlur?: ((event: FocusEvent) => any) | undefined;
529
+ onClear?: (() => any) | undefined;
114
530
  onKeydown?: ((event: KeyboardEvent) => any) | undefined;
115
531
  }>, {
116
532
  size: ComponentSize;
117
533
  type: "text" | "password" | "number" | "email" | "tel" | "url";
118
- variant: "default" | "bordered" | "filled" | "underlined";
119
534
  modelValue: string | number;
120
- disabled: boolean;
121
535
  placeholder: string;
536
+ disabled: boolean;
122
537
  readonly: boolean;
538
+ variant: "default" | "bordered" | "filled" | "underlined";
539
+ maxlength: number;
540
+ showWordLimit: boolean;
123
541
  clearable: boolean;
124
542
  prefixIcon: object;
125
543
  suffixIcon: object;
126
- maxlength: number;
127
- showWordLimit: boolean;
128
544
  }, {}, {}, {}, 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 & {
545
+ declare const __VLS_export$62: __VLS_WithSlots$40<typeof __VLS_base$40, __VLS_Slots$40>;
546
+ declare const _default$25: typeof __VLS_export$62;
547
+ type __VLS_WithSlots$40<T, S> = T & {
132
548
  new (): {
133
549
  $slots: S;
134
550
  };
135
551
  };
136
552
  //#endregion
137
553
  //#region src/components/base/textarea/textarea.vue.d.ts
138
- interface Props$58 {
554
+ interface Props$61 {
139
555
  modelValue?: string;
140
556
  placeholder?: string;
141
557
  disabled?: boolean;
@@ -150,40 +566,40 @@ interface Props$58 {
150
566
  maxlength?: number;
151
567
  showWordLimit?: boolean;
152
568
  }
153
- declare const __VLS_export$58: _$vue.DefineComponent<Props$58, {
569
+ declare const __VLS_export$61: _$vue.DefineComponent<Props$61, {
154
570
  focus: () => void | undefined;
155
571
  blur: () => void | undefined;
156
572
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
157
- change: (value: string) => any;
158
573
  "update:modelValue": (value: string) => any;
574
+ change: (value: string) => any;
159
575
  input: (value: string) => any;
160
576
  focus: (event: FocusEvent) => any;
161
577
  blur: (event: FocusEvent) => any;
162
- }, string, _$vue.PublicProps, Readonly<Props$58> & Readonly<{
163
- onChange?: ((value: string) => any) | undefined;
578
+ }, string, _$vue.PublicProps, Readonly<Props$61> & Readonly<{
164
579
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
580
+ onChange?: ((value: string) => any) | undefined;
165
581
  onInput?: ((value: string) => any) | undefined;
166
582
  onFocus?: ((event: FocusEvent) => any) | undefined;
167
583
  onBlur?: ((event: FocusEvent) => any) | undefined;
168
584
  }>, {
169
585
  size: ComponentSize;
170
- variant: "default" | "bordered" | "filled" | "underlined";
171
586
  modelValue: string;
172
- rows: number;
173
- disabled: boolean;
174
587
  placeholder: string;
588
+ disabled: boolean;
175
589
  readonly: boolean;
176
- maxlength: number;
177
- showWordLimit: boolean;
590
+ rows: number;
178
591
  autosize: boolean | {
179
592
  minRows?: number;
180
593
  maxRows?: number;
181
594
  };
595
+ variant: "default" | "bordered" | "filled" | "underlined";
596
+ maxlength: number;
597
+ showWordLimit: boolean;
182
598
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
183
- declare const _default$54: typeof __VLS_export$58;
599
+ declare const _default$56: typeof __VLS_export$61;
184
600
  //#endregion
185
601
  //#region src/components/base/input-number/input-number.vue.d.ts
186
- interface Props$57 {
602
+ interface Props$60 {
187
603
  modelValue?: number;
188
604
  min?: number;
189
605
  max?: number;
@@ -194,41 +610,41 @@ interface Props$57 {
194
610
  prefix?: string;
195
611
  suffix?: string;
196
612
  }
197
- declare const __VLS_export$57: _$vue.DefineComponent<Props$57, {
613
+ declare const __VLS_export$60: _$vue.DefineComponent<Props$60, {
198
614
  focus: () => void | undefined;
199
615
  blur: () => void | undefined;
200
616
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
201
- change: (value: number, oldValue: number) => any;
202
617
  "update:modelValue": (value: number) => any;
618
+ change: (value: number, oldValue: number) => any;
203
619
  input: (value: string) => any;
204
- }, string, _$vue.PublicProps, Readonly<Props$57> & Readonly<{
205
- onChange?: ((value: number, oldValue: number) => any) | undefined;
620
+ }, string, _$vue.PublicProps, Readonly<Props$60> & Readonly<{
206
621
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
622
+ onChange?: ((value: number, oldValue: number) => any) | undefined;
207
623
  onInput?: ((value: string) => any) | undefined;
208
624
  }>, {
209
625
  size: ComponentSize;
210
626
  modelValue: number;
211
- prefix: string;
212
- suffix: string;
213
- precision: number;
214
627
  disabled: boolean;
215
628
  min: number;
216
629
  max: number;
217
630
  step: number;
631
+ precision: number;
632
+ prefix: string;
633
+ suffix: string;
218
634
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
219
- declare const _default$25: typeof __VLS_export$57;
635
+ declare const _default$26: typeof __VLS_export$60;
220
636
  //#endregion
221
637
  //#region src/components/base/select/select.vue.d.ts
222
- interface SelectOption {
638
+ interface SelectOption$2 {
223
639
  label: string;
224
640
  value: string | number;
225
641
  disabled?: boolean;
226
642
  }
227
- interface SelectGroup {
643
+ interface SelectGroup$1 {
228
644
  label: string;
229
- options: SelectOption[];
645
+ options: SelectOption$2[];
230
646
  }
231
- interface Props$56 {
647
+ interface Props$59 {
232
648
  modelValue?: string | number | (string | number)[];
233
649
  placeholder?: string;
234
650
  disabled?: boolean;
@@ -239,66 +655,66 @@ interface Props$56 {
239
655
  required?: boolean;
240
656
  error?: string;
241
657
  hint?: string;
242
- options?: (SelectOption | SelectGroup)[];
658
+ options?: (SelectOption$2 | SelectGroup$1)[];
243
659
  filterable?: boolean;
244
660
  remote?: boolean;
245
661
  remoteMethod?: (query: string) => void;
246
662
  clearable?: boolean;
247
663
  dropdownHeight?: number;
248
664
  }
249
- declare const __VLS_export$56: _$vue.DefineComponent<Props$56, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
250
- change: (value: string | number | (string | number)[]) => any;
665
+ declare const __VLS_export$59: _$vue.DefineComponent<Props$59, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
251
666
  "update:modelValue": (value: string | number | (string | number)[]) => any;
252
- search: (query: string) => any;
667
+ change: (value: string | number | (string | number)[]) => any;
253
668
  focus: (event: FocusEvent) => any;
254
669
  blur: (event: FocusEvent) => any;
255
- }, string, _$vue.PublicProps, Readonly<Props$56> & Readonly<{
256
- onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
670
+ search: (query: string) => any;
671
+ }, string, _$vue.PublicProps, Readonly<Props$59> & Readonly<{
257
672
  "onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
258
- onSearch?: ((query: string) => any) | undefined;
673
+ onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
259
674
  onFocus?: ((event: FocusEvent) => any) | undefined;
260
675
  onBlur?: ((event: FocusEvent) => any) | undefined;
676
+ onSearch?: ((query: string) => any) | undefined;
261
677
  }>, {
262
678
  size: ComponentSize;
263
- variant: "default" | "bordered" | "filled";
264
- error: string;
265
679
  modelValue: string | number | (string | number)[];
266
- disabled: boolean;
267
680
  placeholder: string;
681
+ disabled: boolean;
682
+ variant: "default" | "bordered" | "filled";
268
683
  clearable: boolean;
269
684
  multiple: boolean;
270
685
  label: string;
271
686
  required: boolean;
687
+ error: string;
272
688
  hint: string;
273
- options: (SelectOption | SelectGroup)[];
689
+ options: (SelectOption$2 | SelectGroup$1)[];
274
690
  filterable: boolean;
275
691
  remote: boolean;
276
692
  remoteMethod: (query: string) => void;
277
693
  dropdownHeight: number;
278
694
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
279
- declare const _default$43: typeof __VLS_export$56;
695
+ declare const _default$45: typeof __VLS_export$59;
280
696
  //#endregion
281
697
  //#region src/components/base/switch/switch.vue.d.ts
282
- interface Props$55 {
698
+ interface Props$58 {
283
699
  modelValue?: boolean;
284
700
  disabled?: boolean;
285
701
  size?: ComponentSize;
286
702
  }
287
- declare const __VLS_export$55: _$vue.DefineComponent<Props$55, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
288
- change: (value: boolean) => any;
703
+ declare const __VLS_export$58: _$vue.DefineComponent<Props$58, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
289
704
  "update:modelValue": (value: boolean) => any;
290
- }, string, _$vue.PublicProps, Readonly<Props$55> & Readonly<{
291
- onChange?: ((value: boolean) => any) | undefined;
705
+ change: (value: boolean) => any;
706
+ }, string, _$vue.PublicProps, Readonly<Props$58> & Readonly<{
292
707
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
708
+ onChange?: ((value: boolean) => any) | undefined;
293
709
  }>, {
294
710
  size: ComponentSize;
295
711
  modelValue: boolean;
296
712
  disabled: boolean;
297
713
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
298
- declare const _default$50: typeof __VLS_export$55;
714
+ declare const _default$52: typeof __VLS_export$58;
299
715
  //#endregion
300
716
  //#region src/components/base/checkbox/checkbox.vue.d.ts
301
- interface Props$54 {
717
+ interface Props$57 {
302
718
  modelValue?: boolean;
303
719
  label?: string;
304
720
  value?: string | number | boolean;
@@ -306,66 +722,66 @@ interface Props$54 {
306
722
  indeterminate?: boolean;
307
723
  }
308
724
  declare var __VLS_1$27: {};
309
- type __VLS_Slots$38 = {} & {
725
+ type __VLS_Slots$39 = {} & {
310
726
  default?: (props: typeof __VLS_1$27) => any;
311
727
  };
312
- declare const __VLS_base$38: _$vue.DefineComponent<Props$54, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
313
- change: (value: boolean) => any;
728
+ declare const __VLS_base$39: _$vue.DefineComponent<Props$57, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
314
729
  "update:modelValue": (value: boolean) => any;
315
- }, string, _$vue.PublicProps, Readonly<Props$54> & Readonly<{
316
- onChange?: ((value: boolean) => any) | undefined;
730
+ change: (value: boolean) => any;
731
+ }, string, _$vue.PublicProps, Readonly<Props$57> & Readonly<{
317
732
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
733
+ onChange?: ((value: boolean) => any) | undefined;
318
734
  }>, {
319
735
  modelValue: boolean;
320
- value: string | number | boolean;
321
736
  disabled: boolean;
322
737
  label: string;
738
+ value: string | number | boolean;
323
739
  indeterminate: boolean;
324
740
  }, {}, {}, {}, 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 & {
741
+ declare const __VLS_export$57: __VLS_WithSlots$39<typeof __VLS_base$39, __VLS_Slots$39>;
742
+ declare const _default$9: typeof __VLS_export$57;
743
+ type __VLS_WithSlots$39<T, S> = T & {
328
744
  new (): {
329
745
  $slots: S;
330
746
  };
331
747
  };
332
748
  //#endregion
333
749
  //#region src/components/base/checkbox/checkbox-group.vue.d.ts
334
- interface CheckboxOption {
750
+ interface CheckboxOption$1 {
335
751
  label: string;
336
752
  value: string | number | boolean;
337
753
  disabled?: boolean;
338
754
  }
339
- interface Props$53 {
755
+ interface Props$56 {
340
756
  modelValue?: (string | number | boolean)[];
341
- options?: CheckboxOption[];
757
+ options?: CheckboxOption$1[];
342
758
  disabled?: boolean;
343
759
  }
344
760
  declare var __VLS_8$3: {};
345
- type __VLS_Slots$37 = {} & {
761
+ type __VLS_Slots$38 = {} & {
346
762
  default?: (props: typeof __VLS_8$3) => any;
347
763
  };
348
- declare const __VLS_base$37: _$vue.DefineComponent<Props$53, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
349
- change: (value: (string | number | boolean)[]) => any;
764
+ declare const __VLS_base$38: _$vue.DefineComponent<Props$56, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
350
765
  "update:modelValue": (value: (string | number | boolean)[]) => any;
351
- }, string, _$vue.PublicProps, Readonly<Props$53> & Readonly<{
352
- onChange?: ((value: (string | number | boolean)[]) => any) | undefined;
766
+ change: (value: (string | number | boolean)[]) => any;
767
+ }, string, _$vue.PublicProps, Readonly<Props$56> & Readonly<{
353
768
  "onUpdate:modelValue"?: ((value: (string | number | boolean)[]) => any) | undefined;
769
+ onChange?: ((value: (string | number | boolean)[]) => any) | undefined;
354
770
  }>, {
355
771
  modelValue: (string | number | boolean)[];
356
772
  disabled: boolean;
357
- options: CheckboxOption[];
773
+ options: CheckboxOption$1[];
358
774
  }, {}, {}, {}, 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 & {
775
+ declare const __VLS_export$56: __VLS_WithSlots$38<typeof __VLS_base$38, __VLS_Slots$38>;
776
+ declare const _default$10: typeof __VLS_export$56;
777
+ type __VLS_WithSlots$38<T, S> = T & {
362
778
  new (): {
363
779
  $slots: S;
364
780
  };
365
781
  };
366
782
  //#endregion
367
783
  //#region src/components/base/radio/radio.vue.d.ts
368
- interface Props$52 {
784
+ interface Props$55 {
369
785
  modelValue?: string | number | boolean;
370
786
  value?: string | number | boolean;
371
787
  label?: string;
@@ -373,68 +789,68 @@ interface Props$52 {
373
789
  name?: string;
374
790
  }
375
791
  declare var __VLS_1$26: {};
376
- type __VLS_Slots$36 = {} & {
792
+ type __VLS_Slots$37 = {} & {
377
793
  default?: (props: typeof __VLS_1$26) => any;
378
794
  };
379
- declare const __VLS_base$36: _$vue.DefineComponent<Props$52, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
380
- change: (value: string | number | boolean) => any;
795
+ declare const __VLS_base$37: _$vue.DefineComponent<Props$55, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
381
796
  "update:modelValue": (value: string | number | boolean) => any;
382
- }, string, _$vue.PublicProps, Readonly<Props$52> & Readonly<{
383
- onChange?: ((value: string | number | boolean) => any) | undefined;
797
+ change: (value: string | number | boolean) => any;
798
+ }, string, _$vue.PublicProps, Readonly<Props$55> & Readonly<{
384
799
  "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
800
+ onChange?: ((value: string | number | boolean) => any) | undefined;
385
801
  }>, {
386
802
  modelValue: string | number | boolean;
387
- value: string | number | boolean;
388
803
  disabled: boolean;
389
804
  label: string;
805
+ value: string | number | boolean;
390
806
  name: string;
391
807
  }, {}, {}, {}, 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 & {
808
+ declare const __VLS_export$55: __VLS_WithSlots$37<typeof __VLS_base$37, __VLS_Slots$37>;
809
+ declare const _default$40: typeof __VLS_export$55;
810
+ type __VLS_WithSlots$37<T, S> = T & {
395
811
  new (): {
396
812
  $slots: S;
397
813
  };
398
814
  };
399
815
  //#endregion
400
816
  //#region src/components/base/radio/radio-group.vue.d.ts
401
- interface RadioOption {
817
+ interface RadioOption$1 {
402
818
  label: string;
403
819
  value: string | number | boolean;
404
820
  disabled?: boolean;
405
821
  }
406
- interface Props$51 {
822
+ interface Props$54 {
407
823
  modelValue?: string | number | boolean;
408
- options?: RadioOption[];
824
+ options?: RadioOption$1[];
409
825
  disabled?: boolean;
410
826
  name?: string;
411
827
  }
412
828
  declare var __VLS_8$2: {};
413
- type __VLS_Slots$35 = {} & {
829
+ type __VLS_Slots$36 = {} & {
414
830
  default?: (props: typeof __VLS_8$2) => any;
415
831
  };
416
- declare const __VLS_base$35: _$vue.DefineComponent<Props$51, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
417
- change: (value: string | number | boolean) => any;
832
+ declare const __VLS_base$36: _$vue.DefineComponent<Props$54, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
418
833
  "update:modelValue": (value: string | number | boolean) => any;
419
- }, string, _$vue.PublicProps, Readonly<Props$51> & Readonly<{
420
- onChange?: ((value: string | number | boolean) => any) | undefined;
834
+ change: (value: string | number | boolean) => any;
835
+ }, string, _$vue.PublicProps, Readonly<Props$54> & Readonly<{
421
836
  "onUpdate:modelValue"?: ((value: string | number | boolean) => any) | undefined;
837
+ onChange?: ((value: string | number | boolean) => any) | undefined;
422
838
  }>, {
423
839
  modelValue: string | number | boolean;
424
840
  disabled: boolean;
425
- options: RadioOption[];
841
+ options: RadioOption$1[];
426
842
  name: string;
427
843
  }, {}, {}, {}, 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 & {
844
+ declare const __VLS_export$54: __VLS_WithSlots$36<typeof __VLS_base$36, __VLS_Slots$36>;
845
+ declare const _default$41: typeof __VLS_export$54;
846
+ type __VLS_WithSlots$36<T, S> = T & {
431
847
  new (): {
432
848
  $slots: S;
433
849
  };
434
850
  };
435
851
  //#endregion
436
852
  //#region src/components/base/tag/tag.vue.d.ts
437
- interface Props$50 {
853
+ interface Props$53 {
438
854
  variant?: "default" | "primary" | "success" | "warning" | "error" | "info";
439
855
  size?: ComponentSize;
440
856
  plain?: boolean;
@@ -442,30 +858,30 @@ interface Props$50 {
442
858
  closable?: boolean;
443
859
  }
444
860
  declare var __VLS_1$25: {};
445
- type __VLS_Slots$34 = {} & {
861
+ type __VLS_Slots$35 = {} & {
446
862
  default?: (props: typeof __VLS_1$25) => any;
447
863
  };
448
- declare const __VLS_base$34: _$vue.DefineComponent<Props$50, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
864
+ declare const __VLS_base$35: _$vue.DefineComponent<Props$53, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
449
865
  close: () => any;
450
- }, string, _$vue.PublicProps, Readonly<Props$50> & Readonly<{
866
+ }, string, _$vue.PublicProps, Readonly<Props$53> & Readonly<{
451
867
  onClose?: (() => any) | undefined;
452
868
  }>, {
453
869
  size: ComponentSize;
454
870
  variant: "default" | "primary" | "success" | "warning" | "error" | "info";
455
- closable: boolean;
456
871
  plain: boolean;
457
872
  round: boolean;
873
+ closable: boolean;
458
874
  }, {}, {}, {}, 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 & {
875
+ declare const __VLS_export$53: __VLS_WithSlots$35<typeof __VLS_base$35, __VLS_Slots$35>;
876
+ declare const _default$55: typeof __VLS_export$53;
877
+ type __VLS_WithSlots$35<T, S> = T & {
462
878
  new (): {
463
879
  $slots: S;
464
880
  };
465
881
  };
466
882
  //#endregion
467
883
  //#region src/components/base/avatar/avatar.vue.d.ts
468
- interface Props$49 {
884
+ interface Props$52 {
469
885
  src?: string;
470
886
  alt?: string;
471
887
  text?: string;
@@ -474,27 +890,27 @@ interface Props$49 {
474
890
  color?: string;
475
891
  }
476
892
  declare var __VLS_1$24: {};
477
- type __VLS_Slots$33 = {} & {
893
+ type __VLS_Slots$34 = {} & {
478
894
  default?: (props: typeof __VLS_1$24) => any;
479
895
  };
480
- declare const __VLS_base$33: _$vue.DefineComponent<Props$49, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$49> & Readonly<{}>, {
896
+ declare const __VLS_base$34: _$vue.DefineComponent<Props$52, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$52> & Readonly<{}>, {
481
897
  size: ComponentSize;
482
- color: string;
898
+ text: string;
483
899
  src: string;
484
900
  alt: string;
485
- text: string;
486
901
  shape: "circle" | "square";
902
+ color: string;
487
903
  }, {}, {}, {}, 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 & {
904
+ declare const __VLS_export$52: __VLS_WithSlots$34<typeof __VLS_base$34, __VLS_Slots$34>;
905
+ declare const _default$2: typeof __VLS_export$52;
906
+ type __VLS_WithSlots$34<T, S> = T & {
491
907
  new (): {
492
908
  $slots: S;
493
909
  };
494
910
  };
495
911
  //#endregion
496
912
  //#region src/components/base/badge/badge.vue.d.ts
497
- interface Props$48 {
913
+ interface Props$51 {
498
914
  value?: number | string;
499
915
  max?: number;
500
916
  dot?: boolean;
@@ -504,28 +920,28 @@ interface Props$48 {
504
920
  standalone?: boolean;
505
921
  }
506
922
  declare var __VLS_1$23: {};
507
- type __VLS_Slots$32 = {} & {
923
+ type __VLS_Slots$33 = {} & {
508
924
  default?: (props: typeof __VLS_1$23) => any;
509
925
  };
510
- declare const __VLS_base$32: _$vue.DefineComponent<Props$48, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$48> & Readonly<{}>, {
926
+ declare const __VLS_base$33: _$vue.DefineComponent<Props$51, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$51> & Readonly<{}>, {
511
927
  variant: ComponentVariant;
512
- value: number | string;
513
928
  max: number;
929
+ value: number | string;
514
930
  dot: boolean;
515
931
  show: boolean;
516
932
  offset: [number, number];
517
933
  standalone: boolean;
518
934
  }, {}, {}, {}, 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 & {
935
+ declare const __VLS_export$51: __VLS_WithSlots$33<typeof __VLS_base$33, __VLS_Slots$33>;
936
+ declare const _default$3: typeof __VLS_export$51;
937
+ type __VLS_WithSlots$33<T, S> = T & {
522
938
  new (): {
523
939
  $slots: S;
524
940
  };
525
941
  };
526
942
  //#endregion
527
943
  //#region src/components/base/rate/rate.vue.d.ts
528
- interface Props$47 {
944
+ interface Props$50 {
529
945
  modelValue?: number;
530
946
  count?: number;
531
947
  disabled?: boolean;
@@ -534,12 +950,12 @@ interface Props$47 {
534
950
  texts?: string[];
535
951
  size?: "xs" | "sm" | "md" | "lg";
536
952
  }
537
- declare const __VLS_export$47: _$vue.DefineComponent<Props$47, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
538
- change: (value: number) => any;
953
+ declare const __VLS_export$50: _$vue.DefineComponent<Props$50, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
539
954
  "update:modelValue": (value: number) => any;
540
- }, string, _$vue.PublicProps, Readonly<Props$47> & Readonly<{
541
- onChange?: ((value: number) => any) | undefined;
955
+ change: (value: number) => any;
956
+ }, string, _$vue.PublicProps, Readonly<Props$50> & Readonly<{
542
957
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
958
+ onChange?: ((value: number) => any) | undefined;
543
959
  }>, {
544
960
  size: "xs" | "sm" | "md" | "lg";
545
961
  modelValue: number;
@@ -549,10 +965,10 @@ declare const __VLS_export$47: _$vue.DefineComponent<Props$47, {}, {}, {}, {}, _
549
965
  showText: boolean;
550
966
  texts: string[];
551
967
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
552
- declare const _default$41: typeof __VLS_export$47;
968
+ declare const _default$42: typeof __VLS_export$50;
553
969
  //#endregion
554
970
  //#region src/components/base/slider/slider.vue.d.ts
555
- interface Props$46 {
971
+ interface Props$49 {
556
972
  modelValue?: number;
557
973
  min?: number;
558
974
  max?: number;
@@ -561,12 +977,12 @@ interface Props$46 {
561
977
  showTooltip?: boolean;
562
978
  size?: "xs" | "sm" | "md" | "lg";
563
979
  }
564
- declare const __VLS_export$46: _$vue.DefineComponent<Props$46, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
565
- change: (value: number) => any;
980
+ declare const __VLS_export$49: _$vue.DefineComponent<Props$49, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
566
981
  "update:modelValue": (value: number) => any;
567
- }, string, _$vue.PublicProps, Readonly<Props$46> & Readonly<{
568
- onChange?: ((value: number) => any) | undefined;
982
+ change: (value: number) => any;
983
+ }, string, _$vue.PublicProps, Readonly<Props$49> & Readonly<{
569
984
  "onUpdate:modelValue"?: ((value: number) => any) | undefined;
985
+ onChange?: ((value: number) => any) | undefined;
570
986
  }>, {
571
987
  size: "xs" | "sm" | "md" | "lg";
572
988
  modelValue: number;
@@ -576,126 +992,126 @@ declare const __VLS_export$46: _$vue.DefineComponent<Props$46, {}, {}, {}, {}, _
576
992
  step: number;
577
993
  showTooltip: boolean;
578
994
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
579
- declare const _default$45: typeof __VLS_export$46;
995
+ declare const _default$47: typeof __VLS_export$49;
580
996
  //#endregion
581
997
  //#region src/components/base/date-picker/date-picker.vue.d.ts
582
- interface Props$45 {
998
+ interface Props$48 {
583
999
  modelValue?: string;
584
1000
  placeholder?: string;
585
1001
  disabled?: boolean;
586
1002
  type?: "date" | "month" | "year";
587
1003
  }
588
- declare const __VLS_export$45: _$vue.DefineComponent<Props$45, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
589
- change: (value: string) => any;
1004
+ declare const __VLS_export$48: _$vue.DefineComponent<Props$48, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
590
1005
  "update:modelValue": (value: string) => any;
591
- }, string, _$vue.PublicProps, Readonly<Props$45> & Readonly<{
592
- onChange?: ((value: string) => any) | undefined;
1006
+ change: (value: string) => any;
1007
+ }, string, _$vue.PublicProps, Readonly<Props$48> & Readonly<{
593
1008
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1009
+ onChange?: ((value: string) => any) | undefined;
594
1010
  }>, {
595
1011
  type: "date" | "month" | "year";
596
1012
  modelValue: string;
597
- disabled: boolean;
598
1013
  placeholder: string;
1014
+ disabled: boolean;
599
1015
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
600
- declare const _default$14: typeof __VLS_export$45;
1016
+ declare const _default$15: typeof __VLS_export$48;
601
1017
  //#endregion
602
1018
  //#region src/components/base/date-picker/date-range-picker.vue.d.ts
603
- interface Props$44 {
1019
+ interface Props$47 {
604
1020
  modelValue?: [string, string];
605
1021
  placeholder?: string;
606
1022
  disabled?: boolean;
607
1023
  }
608
- declare const __VLS_export$44: _$vue.DefineComponent<Props$44, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
609
- change: (value: [string, string]) => any;
1024
+ declare const __VLS_export$47: _$vue.DefineComponent<Props$47, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
610
1025
  "update:modelValue": (value: [string, string]) => any;
611
- }, string, _$vue.PublicProps, Readonly<Props$44> & Readonly<{
612
- onChange?: ((value: [string, string]) => any) | undefined;
1026
+ change: (value: [string, string]) => any;
1027
+ }, string, _$vue.PublicProps, Readonly<Props$47> & Readonly<{
613
1028
  "onUpdate:modelValue"?: ((value: [string, string]) => any) | undefined;
1029
+ onChange?: ((value: [string, string]) => any) | undefined;
614
1030
  }>, {
615
1031
  modelValue: [string, string];
616
- disabled: boolean;
617
1032
  placeholder: string;
1033
+ disabled: boolean;
618
1034
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
619
- declare const _default$15: typeof __VLS_export$44;
1035
+ declare const _default$16: typeof __VLS_export$47;
620
1036
  //#endregion
621
1037
  //#region src/components/base/time-picker/time-picker.vue.d.ts
622
- interface Props$43 {
1038
+ interface Props$46 {
623
1039
  modelValue?: string;
624
1040
  placeholder?: string;
625
1041
  disabled?: boolean;
626
1042
  showSeconds?: boolean;
627
1043
  format?: string;
628
1044
  }
629
- declare const __VLS_export$43: _$vue.DefineComponent<Props$43, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
630
- change: (value: string) => any;
1045
+ declare const __VLS_export$46: _$vue.DefineComponent<Props$46, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
631
1046
  "update:modelValue": (value: string) => any;
632
- }, string, _$vue.PublicProps, Readonly<Props$43> & Readonly<{
633
- onChange?: ((value: string) => any) | undefined;
1047
+ change: (value: string) => any;
1048
+ }, string, _$vue.PublicProps, Readonly<Props$46> & Readonly<{
634
1049
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1050
+ onChange?: ((value: string) => any) | undefined;
635
1051
  }>, {
636
1052
  modelValue: string;
637
- disabled: boolean;
638
1053
  placeholder: string;
1054
+ disabled: boolean;
639
1055
  showSeconds: boolean;
640
1056
  format: string;
641
1057
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
642
- declare const _default$55: typeof __VLS_export$43;
1058
+ declare const _default$57: typeof __VLS_export$46;
643
1059
  //#endregion
644
1060
  //#region src/components/base/cascader/cascader.vue.d.ts
645
- interface CascaderOption {
1061
+ interface CascaderOption$1 {
646
1062
  label: string;
647
1063
  value: string;
648
- children?: CascaderOption[];
1064
+ children?: CascaderOption$1[];
649
1065
  disabled?: boolean;
650
1066
  }
651
- interface Props$42 {
1067
+ interface Props$45 {
652
1068
  modelValue?: string[] | string[][];
653
- options?: CascaderOption[];
1069
+ options?: CascaderOption$1[];
654
1070
  placeholder?: string;
655
1071
  disabled?: boolean;
656
1072
  filterable?: boolean;
657
1073
  multiple?: boolean;
658
1074
  }
659
- declare const __VLS_export$42: _$vue.DefineComponent<Props$42, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
660
- change: (value: string[] | string[][]) => any;
1075
+ declare const __VLS_export$45: _$vue.DefineComponent<Props$45, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
661
1076
  "update:modelValue": (value: string[] | string[][]) => any;
662
- }, string, _$vue.PublicProps, Readonly<Props$42> & Readonly<{
663
- onChange?: ((value: string[] | string[][]) => any) | undefined;
1077
+ change: (value: string[] | string[][]) => any;
1078
+ }, string, _$vue.PublicProps, Readonly<Props$45> & Readonly<{
664
1079
  "onUpdate:modelValue"?: ((value: string[] | string[][]) => any) | undefined;
1080
+ onChange?: ((value: string[] | string[][]) => any) | undefined;
665
1081
  }>, {
666
1082
  modelValue: string[] | string[][];
667
- disabled: boolean;
668
1083
  placeholder: string;
1084
+ disabled: boolean;
669
1085
  multiple: boolean;
670
- options: CascaderOption[];
1086
+ options: CascaderOption$1[];
671
1087
  filterable: boolean;
672
1088
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
673
- declare const _default$8: typeof __VLS_export$42;
1089
+ declare const _default$8: typeof __VLS_export$45;
674
1090
  //#endregion
675
1091
  //#region src/components/base/auto-complete/auto-complete.vue.d.ts
676
1092
  interface Option {
677
1093
  label: string;
678
1094
  value: string;
679
1095
  }
680
- interface Props$41 {
1096
+ interface Props$44 {
681
1097
  modelValue?: string;
682
1098
  options?: Option[];
683
1099
  placeholder?: string;
684
1100
  disabled?: boolean;
685
1101
  }
686
- declare const __VLS_export$41: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
687
- select: (option: Option) => any;
1102
+ declare const __VLS_export$44: _$vue.DefineComponent<Props$44, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
688
1103
  "update:modelValue": (value: string) => any;
689
- }, string, _$vue.PublicProps, Readonly<Props$41> & Readonly<{
690
- onSelect?: ((option: Option) => any) | undefined;
1104
+ select: (option: Option) => any;
1105
+ }, string, _$vue.PublicProps, Readonly<Props$44> & Readonly<{
691
1106
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1107
+ onSelect?: ((option: Option) => any) | undefined;
692
1108
  }>, {
693
1109
  modelValue: string;
694
- disabled: boolean;
695
1110
  placeholder: string;
1111
+ disabled: boolean;
696
1112
  options: Option[];
697
1113
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
698
- declare const _default$1: typeof __VLS_export$41;
1114
+ declare const _default$1: typeof __VLS_export$44;
699
1115
  //#endregion
700
1116
  //#region src/components/base/transfer/transfer.vue.d.ts
701
1117
  interface TransferOption {
@@ -703,28 +1119,28 @@ interface TransferOption {
703
1119
  value: string | number;
704
1120
  disabled?: boolean;
705
1121
  }
706
- interface Props$40 {
1122
+ interface Props$43 {
707
1123
  modelValue?: (string | number)[];
708
1124
  data?: TransferOption[];
709
1125
  titles?: [string, string];
710
1126
  height?: string | number;
711
1127
  }
712
- declare const __VLS_export$40: _$vue.DefineComponent<Props$40, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
713
- change: (value: (string | number)[]) => any;
1128
+ declare const __VLS_export$43: _$vue.DefineComponent<Props$43, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
714
1129
  "update:modelValue": (value: (string | number)[]) => any;
715
- }, string, _$vue.PublicProps, Readonly<Props$40> & Readonly<{
716
- onChange?: ((value: (string | number)[]) => any) | undefined;
1130
+ change: (value: (string | number)[]) => any;
1131
+ }, string, _$vue.PublicProps, Readonly<Props$43> & Readonly<{
717
1132
  "onUpdate:modelValue"?: ((value: (string | number)[]) => any) | undefined;
1133
+ onChange?: ((value: (string | number)[]) => any) | undefined;
718
1134
  }>, {
719
1135
  modelValue: (string | number)[];
720
- height: string | number;
721
1136
  data: TransferOption[];
722
1137
  titles: [string, string];
1138
+ height: string | number;
723
1139
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
724
- declare const _default$58: typeof __VLS_export$40;
1140
+ declare const _default$60: typeof __VLS_export$43;
725
1141
  //#endregion
726
1142
  //#region src/components/base/upload/upload.vue.d.ts
727
- interface UploadFile {
1143
+ interface UploadFile$1 {
728
1144
  uid: string;
729
1145
  name: string;
730
1146
  size: number;
@@ -732,8 +1148,8 @@ interface UploadFile {
732
1148
  raw?: File;
733
1149
  url?: string;
734
1150
  }
735
- interface Props$39 {
736
- fileList?: UploadFile[];
1151
+ interface Props$42 {
1152
+ fileList?: UploadFile$1[];
737
1153
  multiple?: boolean;
738
1154
  accept?: string;
739
1155
  disabled?: boolean;
@@ -743,32 +1159,32 @@ interface Props$39 {
743
1159
  action?: string;
744
1160
  }
745
1161
  declare var __VLS_6$2: {};
746
- type __VLS_Slots$31 = {} & {
1162
+ type __VLS_Slots$32 = {} & {
747
1163
  default?: (props: typeof __VLS_6$2) => any;
748
1164
  };
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;
1165
+ declare const __VLS_base$32: _$vue.DefineComponent<Props$42, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1166
+ remove: (file: UploadFile$1, fileList: UploadFile$1[]) => any;
1167
+ change: (file: UploadFile$1, fileList: UploadFile$1[]) => any;
1168
+ "update:fileList": (value: UploadFile$1[]) => any;
753
1169
  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;
1170
+ }, string, _$vue.PublicProps, Readonly<Props$42> & Readonly<{
1171
+ onRemove?: ((file: UploadFile$1, fileList: UploadFile$1[]) => any) | undefined;
1172
+ onChange?: ((file: UploadFile$1, fileList: UploadFile$1[]) => any) | undefined;
1173
+ "onUpdate:fileList"?: ((value: UploadFile$1[]) => any) | undefined;
758
1174
  onExceed?: ((file: File) => any) | undefined;
759
1175
  }>, {
760
- tip: string;
761
1176
  disabled: boolean;
762
1177
  multiple: boolean;
763
- fileList: UploadFile[];
1178
+ fileList: UploadFile$1[];
764
1179
  accept: string;
765
1180
  maxSize: number;
766
1181
  maxCount: number;
1182
+ tip: string;
767
1183
  action: string;
768
1184
  }, {}, {}, {}, 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 & {
1185
+ declare const __VLS_export$42: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
1186
+ declare const _default$63: typeof __VLS_export$42;
1187
+ type __VLS_WithSlots$32<T, S> = T & {
772
1188
  new (): {
773
1189
  $slots: S;
774
1190
  };
@@ -796,7 +1212,7 @@ interface TabOption$1 {
796
1212
  key: string;
797
1213
  label: string;
798
1214
  }
799
- interface Props$38 {
1215
+ interface Props$41 {
800
1216
  title?: string;
801
1217
  subtitle?: string;
802
1218
  formTitle?: string;
@@ -820,53 +1236,77 @@ interface Props$38 {
820
1236
  showSocial?: boolean;
821
1237
  showCaptcha?: boolean;
822
1238
  captchaPlaceholder?: string;
1239
+ /** 是否显示选项行(记住我 + 忘记密码) */
1240
+ showOptions?: boolean;
1241
+ /** 是否显示"记住我" */
1242
+ showRemember?: boolean;
1243
+ /** 是否显示"忘记密码" */
1244
+ showForgot?: boolean;
1245
+ /** 是否显示账号登录 */
1246
+ showAccountLogin?: boolean;
1247
+ /** 是否显示手机登录 */
1248
+ showPhoneLogin?: boolean;
1249
+ /** 后端提供的验证码图片地址 */
1250
+ captchaSrc?: string;
1251
+ /** 后端提供的验证码答案 */
1252
+ captchaCode?: string;
1253
+ /** 验证码模式:客户端生成并校验,或后端提供图片由后端校验 */
1254
+ captchaMode?: "client" | "server";
823
1255
  }
824
1256
  declare var __VLS_1$22: {}, __VLS_17: {};
825
- type __VLS_Slots$30 = {} & {
1257
+ type __VLS_Slots$31 = {} & {
826
1258
  logo?: (props: typeof __VLS_1$22) => any;
827
1259
  } & {
828
1260
  footer?: (props: typeof __VLS_17) => any;
829
1261
  };
830
- declare const __VLS_base$30: _$vue.DefineComponent<Props$38, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
831
- "tab-change": (tab: string) => any;
1262
+ declare const __VLS_base$31: _$vue.DefineComponent<Props$41, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
832
1263
  submit: (data: LoginFormData$2) => any;
833
1264
  "send-code": (phone: string) => any;
834
1265
  "forgot-password": () => any;
835
1266
  "social-login": (provider: string) => any;
836
- }, string, _$vue.PublicProps, Readonly<Props$38> & Readonly<{
837
- "onTab-change"?: ((tab: string) => any) | undefined;
1267
+ "tab-change": (tab: string) => any;
1268
+ }, string, _$vue.PublicProps, Readonly<Props$41> & Readonly<{
838
1269
  onSubmit?: ((data: LoginFormData$2) => any) | undefined;
839
1270
  "onSend-code"?: ((phone: string) => any) | undefined;
840
1271
  "onForgot-password"?: (() => any) | undefined;
841
1272
  "onSocial-login"?: ((provider: string) => any) | undefined;
1273
+ "onTab-change"?: ((tab: string) => any) | undefined;
842
1274
  }>, {
843
- title: string;
844
- tabs: TabOption$1[];
845
- footerText: string;
846
- error: string;
847
1275
  loading: boolean;
848
- loadingText: string;
1276
+ error: string;
1277
+ title: string;
849
1278
  subtitle: string;
1279
+ formTitle: string;
850
1280
  usernamePlaceholder: string;
851
1281
  passwordPlaceholder: string;
852
1282
  phonePlaceholder: string;
853
1283
  codePlaceholder: string;
854
- captchaPlaceholder: string;
855
1284
  sendCodeText: string;
856
1285
  rememberText: string;
857
1286
  forgotText: string;
858
1287
  submitText: string;
1288
+ loadingText: string;
859
1289
  socialText: string;
1290
+ footerText: string;
1291
+ features: Feature[];
860
1292
  socials: SocialOption$1[];
1293
+ tabs: TabOption$1[];
861
1294
  showTabs: boolean;
862
1295
  showSocial: boolean;
863
1296
  showCaptcha: boolean;
864
- formTitle: string;
865
- features: Feature[];
1297
+ captchaPlaceholder: string;
1298
+ showOptions: boolean;
1299
+ showRemember: boolean;
1300
+ showForgot: boolean;
1301
+ showAccountLogin: boolean;
1302
+ showPhoneLogin: boolean;
1303
+ captchaSrc: string;
1304
+ captchaCode: string;
1305
+ captchaMode: "client" | "server";
866
1306
  }, {}, {}, {}, 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 & {
1307
+ declare const __VLS_export$41: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
1308
+ declare const _default$32: typeof __VLS_export$41;
1309
+ type __VLS_WithSlots$31<T, S> = T & {
870
1310
  new (): {
871
1311
  $slots: S;
872
1312
  };
@@ -890,7 +1330,7 @@ interface LoginFormData$1 {
890
1330
  captchaCode: string;
891
1331
  remember: boolean;
892
1332
  }
893
- interface Props$37 {
1333
+ interface Props$40 {
894
1334
  title?: string;
895
1335
  subtitle?: string;
896
1336
  usernameLabel?: string;
@@ -920,85 +1360,99 @@ interface Props$37 {
920
1360
  theme?: "default" | "gradient" | "minimal";
921
1361
  }
922
1362
  declare var __VLS_1$21: {}, __VLS_15$2: {};
923
- type __VLS_Slots$29 = {} & {
1363
+ type __VLS_Slots$30 = {} & {
924
1364
  logo?: (props: typeof __VLS_1$21) => any;
925
1365
  } & {
926
1366
  footer?: (props: typeof __VLS_15$2) => any;
927
1367
  };
928
- declare const __VLS_base$29: _$vue.DefineComponent<Props$37, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1368
+ declare const __VLS_base$30: _$vue.DefineComponent<Props$40, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
929
1369
  submit: (data: LoginFormData$1) => any;
930
1370
  "send-code": (phone: string) => any;
931
1371
  "forgot-password": () => any;
932
1372
  "social-login": (provider: string) => any;
933
- }, string, _$vue.PublicProps, Readonly<Props$37> & Readonly<{
1373
+ }, string, _$vue.PublicProps, Readonly<Props$40> & Readonly<{
934
1374
  onSubmit?: ((data: LoginFormData$1) => any) | undefined;
935
1375
  "onSend-code"?: ((phone: string) => any) | undefined;
936
1376
  "onForgot-password"?: (() => any) | undefined;
937
1377
  "onSocial-login"?: ((provider: string) => any) | undefined;
938
1378
  }>, {
939
1379
  theme: "default" | "gradient" | "minimal";
940
- title: string;
941
- tabs: TabOption[];
942
- footerText: string;
943
- error: string;
944
1380
  loading: boolean;
945
- loadingText: string;
1381
+ error: string;
1382
+ title: string;
946
1383
  subtitle: string;
947
- usernameLabel: string;
948
- passwordLabel: string;
949
- phoneLabel: string;
950
- codeLabel: string;
951
- captchaLabel: string;
952
1384
  usernamePlaceholder: string;
953
1385
  passwordPlaceholder: string;
954
1386
  phonePlaceholder: string;
955
1387
  codePlaceholder: string;
956
- captchaPlaceholder: string;
957
1388
  sendCodeText: string;
958
1389
  rememberText: string;
959
1390
  forgotText: string;
960
1391
  submitText: string;
1392
+ loadingText: string;
961
1393
  socialText: string;
1394
+ footerText: string;
962
1395
  socials: SocialOption[];
1396
+ tabs: TabOption[];
963
1397
  showTabs: boolean;
964
1398
  showSocial: boolean;
965
1399
  showCaptcha: boolean;
1400
+ captchaPlaceholder: string;
1401
+ usernameLabel: string;
1402
+ passwordLabel: string;
1403
+ phoneLabel: string;
1404
+ codeLabel: string;
1405
+ captchaLabel: string;
966
1406
  }, {}, {}, {}, 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 & {
1407
+ declare const __VLS_export$40: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
1408
+ declare const _default$33: typeof __VLS_export$40;
1409
+ type __VLS_WithSlots$30<T, S> = T & {
970
1410
  new (): {
971
1411
  $slots: S;
972
1412
  };
973
1413
  };
974
1414
  //#endregion
975
1415
  //#region src/components/base/captcha/captcha.vue.d.ts
976
- interface Props$36 {
1416
+ interface Props$39 {
1417
+ /** 验证码长度(客户端生成时有效) */
977
1418
  length?: number;
1419
+ /** 宽度 */
978
1420
  width?: number;
1421
+ /** 高度 */
979
1422
  height?: number;
1423
+ /** 字体大小(客户端生成时有效) */
980
1424
  fontSize?: number;
1425
+ /** 背景颜色(客户端生成时有效) */
981
1426
  bgColor?: string;
1427
+ /** 后端提供的验证码图片地址 */
1428
+ src?: string;
1429
+ /** 后端提供的验证码答案(用于校验) */
1430
+ code?: string;
1431
+ /** 验证码模式:客户端生成并校验,或后端提供图片由后端校验 */
1432
+ mode?: "client" | "server";
982
1433
  }
983
1434
  declare function refresh(): void;
984
- declare const __VLS_export$36: _$vue.DefineComponent<Props$36, {
1435
+ declare const __VLS_export$39: _$vue.DefineComponent<Props$39, {
985
1436
  code: _$vue.Ref<string, string>;
986
1437
  refresh: typeof refresh;
987
1438
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
988
1439
  change: (code: string) => any;
989
- }, string, _$vue.PublicProps, Readonly<Props$36> & Readonly<{
1440
+ }, string, _$vue.PublicProps, Readonly<Props$39> & Readonly<{
990
1441
  onChange?: ((code: string) => any) | undefined;
991
1442
  }>, {
992
1443
  length: number;
1444
+ mode: "client" | "server";
1445
+ src: string;
993
1446
  height: number;
994
1447
  width: number;
995
1448
  fontSize: number;
996
1449
  bgColor: string;
1450
+ code: string;
997
1451
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
998
- declare const _default$6: typeof __VLS_export$36;
1452
+ declare const _default$6: typeof __VLS_export$39;
999
1453
  //#endregion
1000
1454
  //#region src/components/base/pin-input/pin-input.vue.d.ts
1001
- interface Props$35 {
1455
+ interface Props$38 {
1002
1456
  modelValue?: string;
1003
1457
  length?: number;
1004
1458
  disabled?: boolean;
@@ -1006,24 +1460,138 @@ interface Props$35 {
1006
1460
  errorMessage?: string;
1007
1461
  mask?: boolean;
1008
1462
  }
1009
- declare const __VLS_export$35: _$vue.DefineComponent<Props$35, {
1463
+ declare const __VLS_export$38: _$vue.DefineComponent<Props$38, {
1010
1464
  focus: (index?: number) => void;
1011
1465
  clear: () => void;
1012
1466
  }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1013
1467
  "update:modelValue": (value: string) => any;
1014
1468
  complete: (value: string) => any;
1015
- }, string, _$vue.PublicProps, Readonly<Props$35> & Readonly<{
1469
+ }, string, _$vue.PublicProps, Readonly<Props$38> & Readonly<{
1016
1470
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1017
1471
  onComplete?: ((value: string) => any) | undefined;
1018
1472
  }>, {
1019
1473
  length: number;
1020
- error: boolean;
1021
1474
  modelValue: string;
1022
1475
  disabled: boolean;
1476
+ error: boolean;
1023
1477
  errorMessage: string;
1024
1478
  mask: boolean;
1025
1479
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1026
- declare const _default$36: typeof __VLS_export$35;
1480
+ declare const _default$37: typeof __VLS_export$38;
1481
+ //#endregion
1482
+ //#region src/components/base/tree-select/tree-select.vue.d.ts
1483
+ interface TreeNodeType$1 {
1484
+ key: string;
1485
+ title: string;
1486
+ children?: TreeNodeType$1[];
1487
+ disabled?: boolean;
1488
+ isLeaf?: boolean;
1489
+ }
1490
+ interface Props$37 {
1491
+ modelValue?: string | number | string[] | number[];
1492
+ placeholder?: string;
1493
+ disabled?: boolean;
1494
+ multiple?: boolean;
1495
+ size?: ComponentSize;
1496
+ variant?: "default" | "bordered" | "filled";
1497
+ label?: string;
1498
+ required?: boolean;
1499
+ error?: string;
1500
+ hint?: string;
1501
+ treeData: TreeNodeType$1[];
1502
+ defaultExpandedKeys?: string[];
1503
+ defaultCheckedKeys?: string[];
1504
+ checkable?: boolean;
1505
+ filterable?: boolean;
1506
+ clearable?: boolean;
1507
+ dropdownHeight?: number;
1508
+ /** Enable virtual scroll for large trees */
1509
+ virtualScroll?: boolean;
1510
+ rowHeight?: number;
1511
+ overscan?: number;
1512
+ }
1513
+ declare const __VLS_export$37: _$vue.DefineComponent<Props$37, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1514
+ "update:modelValue": (value: string | number | string[] | number[]) => any;
1515
+ change: (value: string | number | string[] | number[]) => any;
1516
+ focus: (event: FocusEvent) => any;
1517
+ blur: (event: FocusEvent) => any;
1518
+ check: (checkedKeys: string[]) => any;
1519
+ }, string, _$vue.PublicProps, Readonly<Props$37> & Readonly<{
1520
+ "onUpdate:modelValue"?: ((value: string | number | string[] | number[]) => any) | undefined;
1521
+ onChange?: ((value: string | number | string[] | number[]) => any) | undefined;
1522
+ onFocus?: ((event: FocusEvent) => any) | undefined;
1523
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1524
+ onCheck?: ((checkedKeys: string[]) => any) | undefined;
1525
+ }>, {
1526
+ size: ComponentSize;
1527
+ modelValue: string | number | string[] | number[];
1528
+ placeholder: string;
1529
+ disabled: boolean;
1530
+ variant: "default" | "bordered" | "filled";
1531
+ clearable: boolean;
1532
+ multiple: boolean;
1533
+ label: string;
1534
+ required: boolean;
1535
+ error: string;
1536
+ hint: string;
1537
+ filterable: boolean;
1538
+ dropdownHeight: number;
1539
+ treeData: TreeNodeType$1[];
1540
+ defaultExpandedKeys: string[];
1541
+ defaultCheckedKeys: string[];
1542
+ checkable: boolean;
1543
+ virtualScroll: boolean;
1544
+ rowHeight: number;
1545
+ overscan: number;
1546
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1547
+ declare const _default$62: typeof __VLS_export$37;
1548
+ //#endregion
1549
+ //#region src/components/base/color-picker/color-picker.vue.d.ts
1550
+ interface Props$36 {
1551
+ modelValue?: string;
1552
+ placeholder?: string;
1553
+ disabled?: boolean;
1554
+ size?: ComponentSize;
1555
+ variant?: "default" | "bordered" | "filled";
1556
+ label?: string;
1557
+ required?: boolean;
1558
+ error?: string;
1559
+ hint?: string;
1560
+ showAlpha?: boolean;
1561
+ showPreset?: boolean;
1562
+ showPreview?: boolean;
1563
+ editable?: boolean;
1564
+ clearable?: boolean;
1565
+ presetColors?: string[];
1566
+ }
1567
+ declare const __VLS_export$36: _$vue.DefineComponent<Props$36, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1568
+ "update:modelValue": (value: string) => any;
1569
+ change: (value: string) => any;
1570
+ focus: (event: FocusEvent) => any;
1571
+ blur: (event: FocusEvent) => any;
1572
+ }, string, _$vue.PublicProps, Readonly<Props$36> & Readonly<{
1573
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
1574
+ onChange?: ((value: string) => any) | undefined;
1575
+ onFocus?: ((event: FocusEvent) => any) | undefined;
1576
+ onBlur?: ((event: FocusEvent) => any) | undefined;
1577
+ }>, {
1578
+ size: ComponentSize;
1579
+ modelValue: string;
1580
+ editable: boolean;
1581
+ placeholder: string;
1582
+ disabled: boolean;
1583
+ variant: "default" | "bordered" | "filled";
1584
+ clearable: boolean;
1585
+ label: string;
1586
+ required: boolean;
1587
+ error: string;
1588
+ hint: string;
1589
+ showAlpha: boolean;
1590
+ showPreset: boolean;
1591
+ showPreview: boolean;
1592
+ presetColors: string[];
1593
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1594
+ declare const _default$12: typeof __VLS_export$36;
1027
1595
  //#endregion
1028
1596
  //#region src/components/form/types.d.ts
1029
1597
  /**
@@ -1072,9 +1640,150 @@ interface FormItemInstance {
1072
1640
  prop: string;
1073
1641
  modelValue: unknown;
1074
1642
  }
1643
+ /**
1644
+ * 支持的表单项组件类型
1645
+ */
1646
+ type FieldComponent = "Input" | "InputNumber" | "Textarea" | "Select" | "RadioGroup" | "CheckboxGroup" | "Switch" | "DatePicker" | "DateRangePicker" | "TimePicker" | "Cascader" | "AutoComplete" | "Rate" | "Slider";
1647
+ /**
1648
+ * 基础字段接口 - 所有字段schema的公共部分
1649
+ */
1650
+ interface BaseFieldSchema {
1651
+ /** 字段名 */
1652
+ name: string;
1653
+ /** 标签文本 */
1654
+ label?: string;
1655
+ /** 默认值 */
1656
+ defaultValue?: unknown;
1657
+ /** 字段校验规则 */
1658
+ rules?: FormRule[];
1659
+ /** 提示文本 */
1660
+ placeholder?: string;
1661
+ /** 组件类型 */
1662
+ component?: FieldComponent;
1663
+ /** 传递给组件的props */
1664
+ componentProps?: Record<string, unknown>;
1665
+ /** 栅格配置 (ColProps) */
1666
+ colProps?: {
1667
+ span?: number;
1668
+ offset?: number;
1669
+ xs?: number;
1670
+ sm?: number;
1671
+ md?: number;
1672
+ lg?: number;
1673
+ xl?: number;
1674
+ };
1675
+ /** 条件显示 */
1676
+ if?: string | ((values: Record<string, unknown>) => boolean);
1677
+ /** 依赖字段 (用于条件显示) */
1678
+ dependencies?: string[];
1679
+ /** 是否禁用 */
1680
+ disabled?: boolean;
1681
+ /** 是否隐藏 (保留值但不渲染) */
1682
+ hidden?: boolean;
1683
+ }
1684
+ /**
1685
+ * 选择类组件选项
1686
+ */
1687
+ interface SelectOption$1 {
1688
+ label: string;
1689
+ value: string | number;
1690
+ disabled?: boolean;
1691
+ }
1692
+ /**
1693
+ * RadioGroup选项
1694
+ */
1695
+ interface RadioOption {
1696
+ label: string;
1697
+ value: string | number;
1698
+ disabled?: boolean;
1699
+ }
1700
+ /**
1701
+ * CheckboxGroup选项
1702
+ */
1703
+ interface CheckboxOption {
1704
+ label: string;
1705
+ value: string | number;
1706
+ disabled?: boolean;
1707
+ }
1708
+ /**
1709
+ * 基础字段schema
1710
+ */
1711
+ interface FieldSchema extends BaseFieldSchema {
1712
+ /** 下拉选项 (Select/Radio/Checkbox用) */
1713
+ options?: SelectOption$1[] | RadioOption[] | CheckboxOption[];
1714
+ }
1715
+ /**
1716
+ * 分组schema - 用于渲染字段组/fieldset
1717
+ */
1718
+ interface GroupSchema {
1719
+ /** 分组类型标识 */
1720
+ type: "group";
1721
+ /** 分组标题 */
1722
+ title?: string;
1723
+ /** 分组描述 */
1724
+ description?: string;
1725
+ /** 是否可折叠 */
1726
+ collapsible?: boolean;
1727
+ /** 默认折叠状态 */
1728
+ defaultCollapsed?: boolean;
1729
+ /** 组内字段 */
1730
+ children: FormSchema[];
1731
+ }
1732
+ /**
1733
+ * 行容器schema - 用于在一行内渲染多个字段
1734
+ */
1735
+ interface RowSchema {
1736
+ /** 行类型标识 */
1737
+ type: "row";
1738
+ /** 行内 gutter */
1739
+ gutter?: number;
1740
+ /** 行内字段 */
1741
+ children: FormSchema[];
1742
+ }
1743
+ /**
1744
+ * 自定义slot schema
1745
+ */
1746
+ interface SlotSchema {
1747
+ /** slot类型标识 */
1748
+ type: "slot";
1749
+ /** slot名称 */
1750
+ name: string;
1751
+ }
1752
+ /**
1753
+ * Schema表单可用的schema类型
1754
+ */
1755
+ type FormSchema = FieldSchema | GroupSchema | RowSchema | SlotSchema;
1756
+ /**
1757
+ * 表单操作类型 - 暴露给外部的控制方法
1758
+ */
1759
+ interface FormActionType {
1760
+ /** 获取表单值 */
1761
+ getValues: () => Record<string, unknown>;
1762
+ /** 设置单个字段值 */
1763
+ setFieldValue: (name: string, value: unknown) => void;
1764
+ /** 重置表单 */
1765
+ resetFields: () => void;
1766
+ /** 验证表单 */
1767
+ validate: () => Promise<ValidateResult>;
1768
+ /** 滚动到指定字段 */
1769
+ scrollToField: (name: string) => void;
1770
+ /** 提交表单 */
1771
+ submit: () => Promise<Record<string, unknown>>;
1772
+ }
1773
+ /**
1774
+ * useFormSchema 返回类型
1775
+ */
1776
+ interface UseFormSchemaReturn {
1777
+ /** 当前表单值 */
1778
+ modelValue: Record<string, unknown>;
1779
+ /** 解析后的schema (已处理条件逻辑) */
1780
+ schema: FormSchema[];
1781
+ /** 表单操作方法 */
1782
+ actions: FormActionType;
1783
+ }
1075
1784
  //#endregion
1076
1785
  //#region src/components/form/form/form.vue.d.ts
1077
- interface Props$34 {
1786
+ interface Props$35 {
1078
1787
  modelValue?: Record<string, unknown>;
1079
1788
  rules?: FormRules;
1080
1789
  layout?: "horizontal" | "vertical" | "inline";
@@ -1083,16 +1792,16 @@ interface Props$34 {
1083
1792
  disabled?: boolean;
1084
1793
  }
1085
1794
  declare var __VLS_1$20: {};
1086
- type __VLS_Slots$28 = {} & {
1795
+ type __VLS_Slots$29 = {} & {
1087
1796
  default?: (props: typeof __VLS_1$20) => any;
1088
1797
  };
1089
- declare const __VLS_base$28: _$vue.DefineComponent<Props$34, FormInstance, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1798
+ declare const __VLS_base$29: _$vue.DefineComponent<Props$35, FormInstance, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1090
1799
  submit: (values: Record<string, unknown>) => any;
1091
1800
  validate: (result: {
1092
1801
  valid: boolean;
1093
1802
  errors: unknown[];
1094
1803
  }) => any;
1095
- }, string, _$vue.PublicProps, Readonly<Props$34> & Readonly<{
1804
+ }, string, _$vue.PublicProps, Readonly<Props$35> & Readonly<{
1096
1805
  onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
1097
1806
  onValidate?: ((result: {
1098
1807
  valid: boolean;
@@ -1101,44 +1810,92 @@ declare const __VLS_base$28: _$vue.DefineComponent<Props$34, FormInstance, {}, {
1101
1810
  }>, {
1102
1811
  modelValue: Record<string, unknown>;
1103
1812
  disabled: boolean;
1104
- rules: FormRules;
1105
- layout: "horizontal" | "vertical" | "inline";
1106
1813
  labelWidth: string;
1814
+ layout: "horizontal" | "vertical" | "inline";
1107
1815
  labelPosition: "left" | "right" | "top";
1816
+ rules: FormRules;
1108
1817
  }, {}, {}, {}, 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 & {
1818
+ declare const __VLS_export$35: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
1819
+ declare const _default$21: typeof __VLS_export$35;
1820
+ type __VLS_WithSlots$29<T, S> = T & {
1112
1821
  new (): {
1113
1822
  $slots: S;
1114
1823
  };
1115
1824
  };
1116
1825
  //#endregion
1117
1826
  //#region src/components/form/form-item/form-item.vue.d.ts
1118
- interface Props$33 {
1827
+ interface Props$34 {
1119
1828
  prop?: string;
1120
1829
  label?: string;
1121
1830
  required?: boolean;
1122
1831
  extra?: string;
1123
1832
  }
1124
1833
  declare var __VLS_1$19: {};
1125
- type __VLS_Slots$27 = {} & {
1834
+ type __VLS_Slots$28 = {} & {
1126
1835
  default?: (props: typeof __VLS_1$19) => any;
1127
1836
  };
1128
- declare const __VLS_base$27: _$vue.DefineComponent<Props$33, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$33> & Readonly<{}>, {
1837
+ declare const __VLS_base$28: _$vue.DefineComponent<Props$34, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$34> & Readonly<{}>, {
1129
1838
  label: string;
1130
1839
  required: boolean;
1131
1840
  prop: string;
1132
1841
  extra: string;
1133
1842
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1843
+ declare const __VLS_export$34: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
1844
+ declare const _default$22: typeof __VLS_export$34;
1845
+ type __VLS_WithSlots$28<T, S> = T & {
1846
+ new (): {
1847
+ $slots: S;
1848
+ };
1849
+ };
1850
+ //#endregion
1851
+ //#region src/components/form/schema-form/SchemaForm.vue.d.ts
1852
+ interface Props$33 {
1853
+ schema: FormSchema[];
1854
+ modelValue?: Record<string, unknown>;
1855
+ labelWidth?: string;
1856
+ layout?: "horizontal" | "vertical" | "inline";
1857
+ labelPosition?: "left" | "right" | "top";
1858
+ disabled?: boolean;
1859
+ }
1860
+ declare var __VLS_12$2: `group-${string}`, __VLS_13$1: {}, __VLS_22: string, __VLS_23$2: {}, __VLS_33: string, __VLS_34$1: {}, __VLS_43: string, __VLS_44: {}, __VLS_53: {};
1861
+ type __VLS_Slots$27 = {} & { [K in NonNullable<typeof __VLS_12$2>]?: (props: typeof __VLS_13$1) => any } & { [K in NonNullable<typeof __VLS_22>]?: (props: typeof __VLS_23$2) => any } & { [K in NonNullable<typeof __VLS_33>]?: (props: typeof __VLS_34$1) => any } & { [K in NonNullable<typeof __VLS_43>]?: (props: typeof __VLS_44) => any } & {
1862
+ default?: (props: typeof __VLS_53) => any;
1863
+ };
1864
+ declare const __VLS_base$27: _$vue.DefineComponent<Props$33, {
1865
+ validate: () => Promise<ValidateResult>;
1866
+ resetFields: () => void;
1867
+ scrollToField: (name: string) => void;
1868
+ }, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1869
+ "update:modelValue": (value: Record<string, unknown>) => any;
1870
+ change: (name: string, value: unknown) => any;
1871
+ submit: (values: Record<string, unknown>) => any;
1872
+ reset: () => any;
1873
+ }, string, _$vue.PublicProps, Readonly<Props$33> & Readonly<{
1874
+ "onUpdate:modelValue"?: ((value: Record<string, unknown>) => any) | undefined;
1875
+ onChange?: ((name: string, value: unknown) => any) | undefined;
1876
+ onSubmit?: ((values: Record<string, unknown>) => any) | undefined;
1877
+ onReset?: (() => any) | undefined;
1878
+ }>, {
1879
+ modelValue: Record<string, unknown>;
1880
+ disabled: boolean;
1881
+ labelWidth: string;
1882
+ layout: "horizontal" | "vertical" | "inline";
1883
+ labelPosition: "left" | "right" | "top";
1884
+ }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1134
1885
  declare const __VLS_export$33: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
1135
- declare const _default$21: typeof __VLS_export$33;
1886
+ declare const _default$44: typeof __VLS_export$33;
1136
1887
  type __VLS_WithSlots$27<T, S> = T & {
1137
1888
  new (): {
1138
1889
  $slots: S;
1139
1890
  };
1140
1891
  };
1141
1892
  //#endregion
1893
+ //#region src/components/form/useFormSchema.d.ts
1894
+ /**
1895
+ * useFormSchema - Schema驱动的表单生成
1896
+ */
1897
+ declare function useFormSchema(schema: FormSchema[], initialValues?: Record<string, unknown>): UseFormSchemaReturn;
1898
+ //#endregion
1142
1899
  //#region src/components/layout/space/space.vue.d.ts
1143
1900
  interface Props$32 {
1144
1901
  size?: number | string | [number | string, number | string];
@@ -1157,7 +1914,7 @@ declare const __VLS_base$26: _$vue.DefineComponent<Props$32, {}, {}, {}, {}, _$v
1157
1914
  align: "start" | "end" | "center" | "baseline";
1158
1915
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1159
1916
  declare const __VLS_export$32: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
1160
- declare const _default$46: typeof __VLS_export$32;
1917
+ declare const _default$48: typeof __VLS_export$32;
1161
1918
  type __VLS_WithSlots$26<T, S> = T & {
1162
1919
  new (): {
1163
1920
  $slots: S;
@@ -1179,12 +1936,12 @@ type __VLS_Slots$25 = {} & {
1179
1936
  declare const __VLS_base$25: _$vue.DefineComponent<Props$31, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$31> & Readonly<{}>, {
1180
1937
  type: "default" | "dashed" | "dotted";
1181
1938
  direction: Direction;
1939
+ variant: "default" | "primary" | "success" | "warning" | "error";
1182
1940
  orientation: "left" | "center" | "right";
1183
1941
  dashed: boolean;
1184
- variant: "default" | "primary" | "success" | "warning" | "error";
1185
1942
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1186
1943
  declare const __VLS_export$31: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
1187
- declare const _default$16: typeof __VLS_export$31;
1944
+ declare const _default$17: typeof __VLS_export$31;
1188
1945
  type __VLS_WithSlots$25<T, S> = T & {
1189
1946
  new (): {
1190
1947
  $slots: S;
@@ -1225,12 +1982,42 @@ interface MenuItem {
1225
1982
  key: string;
1226
1983
  /** 显示标题 */
1227
1984
  label: string;
1228
- /** 图标 */
1229
- icon?: string;
1985
+ /** 图标 - 支持字符串、组件名或图标对象 */
1986
+ icon?: string | {
1987
+ component: string;
1988
+ props?: Record<string, unknown>;
1989
+ };
1230
1990
  /** 子菜单 */
1231
1991
  children?: MenuItem[];
1232
1992
  /** 是否禁用 */
1233
1993
  disabled?: boolean;
1994
+ /** 路由路径(用于面包屑和路由集成) */
1995
+ path?: string;
1996
+ /** 路由配置(用于 vue-router) */
1997
+ route?: string | Record<string, unknown>;
1998
+ /** 权限标识(需要拥有的权限才能显示) */
1999
+ permission?: string | string[];
2000
+ /** 角色标识(需要拥有的角色才能显示) */
2001
+ roles?: string[];
2002
+ /** 是否隐藏(不显示但保留路径) */
2003
+ hidden?: boolean;
2004
+ /** 是否展开子菜单 */
2005
+ defaultOpen?: boolean;
2006
+ /** 是否新窗口打开 */
2007
+ external?: boolean;
2008
+ /** 打开方式 */
2009
+ target?: "_blank" | "_self" | "_parent" | "_top";
2010
+ /** 描述/提示 */
2011
+ description?: string;
2012
+ }
2013
+ /**
2014
+ * 用户权限信息
2015
+ */
2016
+ interface UserPermissions {
2017
+ /** 用户角色列表 */
2018
+ roles?: string[];
2019
+ /** 用户权限列表 */
2020
+ permissions?: string[];
1234
2021
  }
1235
2022
  /** 用户信息 */
1236
2023
  interface UserInfo {
@@ -1313,20 +2100,20 @@ type __VLS_Slots$24 = {} & {
1313
2100
  default?: (props: typeof __VLS_42) => any;
1314
2101
  };
1315
2102
  declare const __VLS_base$24: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1316
- "update:collapsed": (value: boolean) => any;
2103
+ "update:modelTabs": (value: TabItem[]) => any;
2104
+ "tab-change": (key: string) => any;
1317
2105
  collapse: (collapsed: boolean) => any;
1318
2106
  "menu-click": (key: string) => any;
1319
- "tab-change": (key: string) => any;
1320
2107
  "tab-close": (key: string) => any;
1321
2108
  "tab-add": () => any;
1322
2109
  "tab-reorder": (payload: {
1323
2110
  from: number;
1324
2111
  to: number;
1325
2112
  }) => any;
1326
- "update:modelTabs": (value: TabItem[]) => any;
1327
2113
  "language-change": (lang: string) => any;
1328
2114
  "user-command": (command: string) => any;
1329
2115
  "settings-click": () => any;
2116
+ "update:collapsed": (value: boolean) => any;
1330
2117
  "update:theme": (value: LayoutTheme) => any;
1331
2118
  "theme-change": (theme: LayoutTheme) => any;
1332
2119
  "update:siderWidth": (value: number) => any;
@@ -1334,20 +2121,20 @@ declare const __VLS_base$24: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$v
1334
2121
  "update:headerHeight": (value: number) => any;
1335
2122
  "header-height-change": (height: number) => any;
1336
2123
  }, string, _$vue.PublicProps, Readonly<Props$30> & Readonly<{
1337
- "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
2124
+ "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
2125
+ "onTab-change"?: ((key: string) => any) | undefined;
1338
2126
  onCollapse?: ((collapsed: boolean) => any) | undefined;
1339
2127
  "onMenu-click"?: ((key: string) => any) | undefined;
1340
- "onTab-change"?: ((key: string) => any) | undefined;
1341
2128
  "onTab-close"?: ((key: string) => any) | undefined;
1342
2129
  "onTab-add"?: (() => any) | undefined;
1343
2130
  "onTab-reorder"?: ((payload: {
1344
2131
  from: number;
1345
2132
  to: number;
1346
2133
  }) => any) | undefined;
1347
- "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
1348
2134
  "onLanguage-change"?: ((lang: string) => any) | undefined;
1349
2135
  "onUser-command"?: ((command: string) => any) | undefined;
1350
2136
  "onSettings-click"?: (() => any) | undefined;
2137
+ "onUpdate:collapsed"?: ((value: boolean) => any) | undefined;
1351
2138
  "onUpdate:theme"?: ((value: LayoutTheme) => any) | undefined;
1352
2139
  "onTheme-change"?: ((theme: LayoutTheme) => any) | undefined;
1353
2140
  "onUpdate:siderWidth"?: ((value: number) => any) | undefined;
@@ -1356,29 +2143,29 @@ declare const __VLS_base$24: _$vue.DefineComponent<Props$30, {}, {}, {}, {}, _$v
1356
2143
  "onHeader-height-change"?: ((height: number) => any) | undefined;
1357
2144
  }>, {
1358
2145
  theme: LayoutTheme;
2146
+ modelTabs: TabItem[];
1359
2147
  collapsed: boolean;
1360
- siderWidth: number;
1361
- siderCollapsedWidth: number;
1362
- headerHeight: number;
1363
- logo: string;
2148
+ waterfall: boolean;
2149
+ popupAlign: "trigger" | "container";
1364
2150
  title: string;
2151
+ footerText: string;
2152
+ tabs: TabItem[];
2153
+ logo: string;
1365
2154
  menuItems: MenuItem[];
1366
2155
  activeKey: string;
1367
- tabs: TabItem[];
1368
- modelTabs: TabItem[];
1369
2156
  activeTab: string;
2157
+ siderWidth: number;
2158
+ headerHeight: number;
2159
+ siderCollapsedWidth: number;
1370
2160
  contentPadding: number | string;
1371
2161
  hasSider: boolean;
1372
2162
  hasHeader: boolean;
1373
2163
  hasContent: boolean;
1374
- waterfall: boolean;
1375
- popupAlign: "trigger" | "container";
1376
- footerText: string;
1377
2164
  headerFixed: boolean;
1378
2165
  siderResizable: boolean;
1379
2166
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1380
2167
  declare const __VLS_export$30: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
1381
- declare const _default$26: typeof __VLS_export$30;
2168
+ declare const _default$27: typeof __VLS_export$30;
1382
2169
  type __VLS_WithSlots$24<T, S> = T & {
1383
2170
  new (): {
1384
2171
  $slots: S;
@@ -1417,6 +2204,10 @@ interface Props$29 {
1417
2204
  popupAlign?: "trigger" | "container";
1418
2205
  /** 底部支持文字 */
1419
2206
  footerText?: string;
2207
+ /** 是否显示搜索框 */
2208
+ searchable?: boolean;
2209
+ /** 当前用户角色 - 用于权限过滤 */
2210
+ roles?: string | string[];
1420
2211
  }
1421
2212
  declare var __VLS_1$16: {}, __VLS_9$2: {};
1422
2213
  type __VLS_Slots$23 = {} & {
@@ -1426,30 +2217,34 @@ type __VLS_Slots$23 = {} & {
1426
2217
  };
1427
2218
  declare const __VLS_base$23: _$vue.DefineComponent<Props$29, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1428
2219
  collapse: (collapsed: boolean) => any;
1429
- "menu-click": (key: string) => any;
1430
2220
  "width-change": (width: number) => any;
2221
+ "path-change": (path: string[]) => any;
2222
+ "menu-click": (key: string, item: MenuItem) => any;
1431
2223
  }, string, _$vue.PublicProps, Readonly<Props$29> & Readonly<{
1432
2224
  onCollapse?: ((collapsed: boolean) => any) | undefined;
1433
- "onMenu-click"?: ((key: string) => any) | undefined;
1434
2225
  "onWidth-change"?: ((width: number) => any) | undefined;
2226
+ "onPath-change"?: ((path: string[]) => any) | undefined;
2227
+ "onMenu-click"?: ((key: string, item: MenuItem) => any) | undefined;
1435
2228
  }>, {
1436
2229
  theme: LayoutTheme;
1437
2230
  collapsed: boolean;
1438
- logo: string;
1439
- title: string;
1440
- menuItems: MenuItem[];
1441
- activeKey: string;
1442
2231
  waterfall: boolean;
1443
2232
  popupAlign: "trigger" | "container";
2233
+ title: string;
1444
2234
  footerText: string;
2235
+ logo: string;
2236
+ menuItems: MenuItem[];
2237
+ activeKey: string;
1445
2238
  collapsedWidth: number;
1446
2239
  expandedWidth: number;
1447
2240
  minWidth: number;
1448
2241
  maxWidth: number;
1449
2242
  resizable: boolean;
2243
+ searchable: boolean;
2244
+ roles: string | string[];
1450
2245
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1451
2246
  declare const __VLS_export$29: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
1452
- declare const _default$29: typeof __VLS_export$29;
2247
+ declare const _default$30: typeof __VLS_export$29;
1453
2248
  type __VLS_WithSlots$23<T, S> = T & {
1454
2249
  new (): {
1455
2250
  $slots: S;
@@ -1492,6 +2287,7 @@ type __VLS_Slots$22 = {} & {
1492
2287
  settings?: (props: typeof __VLS_47) => any;
1493
2288
  };
1494
2289
  declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2290
+ "update:modelTabs": (value: TabItem[]) => any;
1495
2291
  "tab-change": (key: string) => any;
1496
2292
  "tab-close": (key: string) => any;
1497
2293
  "tab-add": () => any;
@@ -1499,13 +2295,13 @@ declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$v
1499
2295
  from: number;
1500
2296
  to: number;
1501
2297
  }) => any;
1502
- "update:modelTabs": (value: TabItem[]) => any;
1503
2298
  "language-change": (lang: string) => any;
1504
2299
  "user-command": (command: string) => any;
1505
- "settings-click": () => any;
1506
2300
  "notification-click": () => any;
2301
+ "settings-click": () => any;
1507
2302
  "toggle-sider": () => any;
1508
2303
  }, string, _$vue.PublicProps, Readonly<Props$28> & Readonly<{
2304
+ "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
1509
2305
  "onTab-change"?: ((key: string) => any) | undefined;
1510
2306
  "onTab-close"?: ((key: string) => any) | undefined;
1511
2307
  "onTab-add"?: (() => any) | undefined;
@@ -1513,25 +2309,24 @@ declare const __VLS_base$22: _$vue.DefineComponent<Props$28, {}, {}, {}, {}, _$v
1513
2309
  from: number;
1514
2310
  to: number;
1515
2311
  }) => any) | undefined;
1516
- "onUpdate:modelTabs"?: ((value: TabItem[]) => any) | undefined;
1517
2312
  "onLanguage-change"?: ((lang: string) => any) | undefined;
1518
2313
  "onUser-command"?: ((command: string) => any) | undefined;
1519
- "onSettings-click"?: (() => any) | undefined;
1520
2314
  "onNotification-click"?: (() => any) | undefined;
2315
+ "onSettings-click"?: (() => any) | undefined;
1521
2316
  "onToggle-sider"?: (() => any) | undefined;
1522
2317
  }>, {
1523
2318
  theme: LayoutTheme;
1524
- siderWidth: number;
1525
- headerHeight: number;
1526
- tabs: TabItem[];
1527
2319
  modelTabs: TabItem[];
2320
+ tabs: TabItem[];
1528
2321
  activeTab: string;
2322
+ siderWidth: number;
1529
2323
  notificationCount: number;
1530
2324
  currentLanguage: string;
1531
2325
  fixed: boolean;
2326
+ headerHeight: number;
1532
2327
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1533
2328
  declare const __VLS_export$28: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
1534
- declare const _default$28: typeof __VLS_export$28;
2329
+ declare const _default$29: typeof __VLS_export$28;
1535
2330
  type __VLS_WithSlots$22<T, S> = T & {
1536
2331
  new (): {
1537
2332
  $slots: S;
@@ -1549,7 +2344,7 @@ type __VLS_Slots$21 = {} & {
1549
2344
  };
1550
2345
  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
2346
  declare const __VLS_export$27: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
1552
- declare const _default$27: typeof __VLS_export$27;
2347
+ declare const _default$28: typeof __VLS_export$27;
1553
2348
  type __VLS_WithSlots$21<T, S> = T & {
1554
2349
  new (): {
1555
2350
  $slots: S;
@@ -1572,8 +2367,8 @@ type __VLS_Slots$20 = {} & {
1572
2367
  footer?: (props: typeof __VLS_5$1) => any;
1573
2368
  };
1574
2369
  declare const __VLS_base$20: _$vue.DefineComponent<Props$26, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$26> & Readonly<{}>, {
1575
- title: string;
1576
2370
  bordered: boolean;
2371
+ title: string;
1577
2372
  shadow: "always" | "hover" | "never";
1578
2373
  padding: "xs" | "sm" | "md" | "lg" | "none";
1579
2374
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
@@ -1586,11 +2381,23 @@ type __VLS_WithSlots$20<T, S> = T & {
1586
2381
  };
1587
2382
  //#endregion
1588
2383
  //#region src/components/data-display/table/table.vue.d.ts
2384
+ interface SortState {
2385
+ key: string;
2386
+ order: "asc" | "desc" | null;
2387
+ priority: number;
2388
+ }
1589
2389
  interface Column {
1590
2390
  title: string;
1591
2391
  key: string;
1592
2392
  width?: string;
2393
+ minWidth?: string;
1593
2394
  sortable?: boolean;
2395
+ /** Support multi-column sorting (Shift+click) */
2396
+ multipleSortable?: boolean;
2397
+ /** Support column resizing */
2398
+ resizable?: boolean;
2399
+ /** Support column drag/drop reordering */
2400
+ draggable?: boolean;
1594
2401
  align?: "left" | "center" | "right";
1595
2402
  fixed?: "left" | "right";
1596
2403
  /** Show ellipsis with tooltip when content overflows */
@@ -1623,6 +2430,12 @@ interface Props$25 {
1623
2430
  exportable?: boolean;
1624
2431
  /** Export filename prefix */
1625
2432
  exportFilename?: string;
2433
+ /** Enable remote mode for server-side pagination/sorting */
2434
+ remote?: boolean;
2435
+ /** Total number of records (used in remote mode) */
2436
+ total?: number;
2437
+ /** Trigger load more when scroll reaches end (remote mode with virtual scroll) */
2438
+ loadMore?: boolean;
1626
2439
  }
1627
2440
  declare function exportToCSV(filename?: string): void;
1628
2441
  declare function exportToExcel(filename?: string): void;
@@ -1663,27 +2476,37 @@ declare const __VLS_base$19: _$vue.DefineComponent<Props$25, {
1663
2476
  sort: (key: string, order: string) => any;
1664
2477
  "page-change": (page: number) => any;
1665
2478
  expand: (row: Record<string, unknown>, index: number) => any;
2479
+ "sort-change": (sortStates: SortState[]) => any;
1666
2480
  "row-click": (row: Record<string, unknown>) => any;
2481
+ "scroll-end": () => any;
2482
+ "column-resize": (key: string, width: string) => any;
2483
+ "column-reorder": (fromIndex: number, toIndex: number) => any;
1667
2484
  }, string, _$vue.PublicProps, Readonly<Props$25> & Readonly<{
1668
2485
  onSort?: ((key: string, order: string) => any) | undefined;
1669
2486
  "onPage-change"?: ((page: number) => any) | undefined;
1670
2487
  onExpand?: ((row: Record<string, unknown>, index: number) => any) | undefined;
2488
+ "onSort-change"?: ((sortStates: SortState[]) => any) | undefined;
1671
2489
  "onRow-click"?: ((row: Record<string, unknown>) => any) | undefined;
2490
+ "onScroll-end"?: (() => any) | undefined;
2491
+ "onColumn-resize"?: ((key: string, width: string) => any) | undefined;
2492
+ "onColumn-reorder"?: ((fromIndex: number, toIndex: number) => any) | undefined;
1672
2493
  }>, {
1673
- pageSize: number;
1674
2494
  hover: boolean;
1675
- virtualScroll: boolean;
2495
+ pageSize: number;
2496
+ total: number;
2497
+ bordered: boolean;
2498
+ loading: boolean;
2499
+ remote: boolean;
1676
2500
  height: string | number;
2501
+ loadingText: string;
2502
+ virtualScroll: boolean;
1677
2503
  rowHeight: number;
1678
2504
  overscan: number;
1679
2505
  dataSource: Record<string, unknown>[];
1680
- bordered: boolean;
1681
2506
  emptyText: string;
1682
2507
  skeleton: boolean;
1683
2508
  skeletonRows: number;
1684
- loading: boolean;
1685
2509
  columns: Column[];
1686
- loadingText: string;
1687
2510
  pagination: boolean;
1688
2511
  stripe: boolean;
1689
2512
  stickyHeader: boolean;
@@ -1691,9 +2514,10 @@ declare const __VLS_base$19: _$vue.DefineComponent<Props$25, {
1691
2514
  showOverflowTooltip: boolean;
1692
2515
  exportable: boolean;
1693
2516
  exportFilename: string;
2517
+ loadMore: boolean;
1694
2518
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1695
2519
  declare const __VLS_export$25: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
1696
- declare const _default$51: typeof __VLS_export$25;
2520
+ declare const _default$53: typeof __VLS_export$25;
1697
2521
  type __VLS_WithSlots$19<T, S> = T & {
1698
2522
  new (): {
1699
2523
  $slots: S;
@@ -1723,14 +2547,14 @@ type __VLS_Slots$18 = {} & {
1723
2547
  declare const __VLS_base$18: _$vue.DefineComponent<Props$24, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$24> & Readonly<{}>, {
1724
2548
  size: ComponentSize;
1725
2549
  type: "line" | "circle" | "dashboard";
1726
- percent: number;
1727
2550
  status: "normal" | "success" | "exception";
2551
+ percent: number;
1728
2552
  showInfo: boolean;
1729
2553
  strokeWidth: number;
1730
2554
  strokeColor: string;
1731
2555
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1732
2556
  declare const __VLS_export$24: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
1733
- declare const _default$38: typeof __VLS_export$24;
2557
+ declare const _default$39: typeof __VLS_export$24;
1734
2558
  type __VLS_WithSlots$18<T, S> = T & {
1735
2559
  new (): {
1736
2560
  $slots: S;
@@ -1757,11 +2581,11 @@ type __VLS_Slots$17 = {} & {
1757
2581
  suffix?: (props: typeof __VLS_3$5) => any;
1758
2582
  };
1759
2583
  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;
2584
+ precision: number;
1762
2585
  prefix: string;
1763
2586
  suffix: string;
1764
- precision: number;
2587
+ value: string | number;
2588
+ title: string;
1765
2589
  decimalSeparator: string;
1766
2590
  groupSeparator: string;
1767
2591
  valueStyle: string;
@@ -1769,7 +2593,7 @@ declare const __VLS_base$17: _$vue.DefineComponent<Props$23, {}, {}, {}, {}, _$v
1769
2593
  animationDuration: number;
1770
2594
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1771
2595
  declare const __VLS_export$23: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
1772
- declare const _default$48: typeof __VLS_export$23;
2596
+ declare const _default$50: typeof __VLS_export$23;
1773
2597
  type __VLS_WithSlots$17<T, S> = T & {
1774
2598
  new (): {
1775
2599
  $slots: S;
@@ -1791,14 +2615,14 @@ interface Props$22 {
1791
2615
  declare var __VLS_8: string, __VLS_9$1: {};
1792
2616
  type __VLS_Slots$16 = {} & { [K in NonNullable<typeof __VLS_8>]?: (props: typeof __VLS_9$1) => any };
1793
2617
  declare const __VLS_base$16: _$vue.DefineComponent<Props$22, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1794
- change: (value: string[]) => any;
1795
2618
  "update:modelValue": (value: string[]) => any;
2619
+ change: (value: string[]) => any;
1796
2620
  }, string, _$vue.PublicProps, Readonly<Props$22> & Readonly<{
1797
- onChange?: ((value: string[]) => any) | undefined;
1798
2621
  "onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
2622
+ onChange?: ((value: string[]) => any) | undefined;
1799
2623
  }>, {
1800
- items: CollapseItem[];
1801
2624
  modelValue: string[];
2625
+ items: CollapseItem[];
1802
2626
  accordion: boolean;
1803
2627
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1804
2628
  declare const __VLS_export$22: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
@@ -1832,7 +2656,7 @@ declare const __VLS_base$15: _$vue.DefineComponent<Props$21, {}, {}, {}, {}, _$v
1832
2656
  color: string;
1833
2657
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1834
2658
  declare const __VLS_export$21: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
1835
- declare const _default$56: typeof __VLS_export$21;
2659
+ declare const _default$58: typeof __VLS_export$21;
1836
2660
  type __VLS_WithSlots$15<T, S> = T & {
1837
2661
  new (): {
1838
2662
  $slots: S;
@@ -1868,29 +2692,29 @@ interface Props$20 {
1868
2692
  }
1869
2693
  declare const __VLS_export$20: _$vue.DefineComponent<Props$20, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1870
2694
  select: (node: TreeNodeType) => any;
1871
- expand: (node: TreeNodeType) => any;
1872
2695
  check: (checkedKeys: string[]) => any;
2696
+ expand: (node: TreeNodeType) => any;
1873
2697
  "node-drop": (draggedNode: TreeNodeType, targetNode: TreeNodeType) => any;
1874
2698
  }, string, _$vue.PublicProps, Readonly<Props$20> & Readonly<{
1875
2699
  onSelect?: ((node: TreeNodeType) => any) | undefined;
1876
- onExpand?: ((node: TreeNodeType) => any) | undefined;
1877
2700
  onCheck?: ((checkedKeys: string[]) => any) | undefined;
2701
+ onExpand?: ((node: TreeNodeType) => any) | undefined;
1878
2702
  "onNode-drop"?: ((draggedNode: TreeNodeType, targetNode: TreeNodeType) => any) | undefined;
1879
2703
  }>, {
2704
+ height: string | number;
2705
+ defaultExpandedKeys: string[];
2706
+ defaultCheckedKeys: string[];
2707
+ virtualScroll: boolean;
2708
+ rowHeight: number;
2709
+ overscan: number;
1880
2710
  nodes: TreeNodeType[];
1881
2711
  showLine: boolean;
1882
2712
  selectable: boolean;
1883
2713
  showCheckbox: boolean;
1884
- defaultExpandedKeys: string[];
1885
- defaultCheckedKeys: string[];
1886
2714
  loadFunction: (node: TreeNodeType) => Promise<TreeNodeType[]>;
1887
2715
  draggable: boolean;
1888
- virtualScroll: boolean;
1889
- height: string | number;
1890
- rowHeight: number;
1891
- overscan: number;
1892
2716
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1893
- declare const _default$59: typeof __VLS_export$20;
2717
+ declare const _default$61: typeof __VLS_export$20;
1894
2718
  //#endregion
1895
2719
  //#region src/components/data-display/list/list.vue.d.ts
1896
2720
  interface Props$19 {
@@ -1921,17 +2745,17 @@ declare const __VLS_base$14: _$vue.DefineComponent<Props$19, {}, {}, {}, {}, _$v
1921
2745
  }, string, _$vue.PublicProps, Readonly<Props$19> & Readonly<{
1922
2746
  "onItem-click"?: ((item: Record<string, unknown>, index: number) => any) | undefined;
1923
2747
  }>, {
2748
+ bordered: boolean;
1924
2749
  split: boolean;
1925
2750
  dataSource: Record<string, unknown>[];
1926
2751
  header: string;
1927
2752
  footer: string;
1928
- bordered: boolean;
1929
2753
  emptyText: string;
1930
2754
  skeleton: boolean;
1931
2755
  skeletonRows: number;
1932
2756
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1933
2757
  declare const __VLS_export$19: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
1934
- declare const _default$30: typeof __VLS_export$19;
2758
+ declare const _default$31: typeof __VLS_export$19;
1935
2759
  type __VLS_WithSlots$14<T, S> = T & {
1936
2760
  new (): {
1937
2761
  $slots: S;
@@ -1954,7 +2778,7 @@ declare const __VLS_base$13: _$vue.DefineComponent<Props$18, {}, {}, {}, {}, _$v
1954
2778
  description: string;
1955
2779
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1956
2780
  declare const __VLS_export$18: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
1957
- declare const _default$19: typeof __VLS_export$18;
2781
+ declare const _default$20: typeof __VLS_export$18;
1958
2782
  type __VLS_WithSlots$13<T, S> = T & {
1959
2783
  new (): {
1960
2784
  $slots: S;
@@ -1977,25 +2801,25 @@ type __VLS_Slots$12 = {} & {
1977
2801
  fallback?: (props: typeof __VLS_6) => any;
1978
2802
  };
1979
2803
  declare const __VLS_base$12: _$vue.DefineComponent<Props$17, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
1980
- error: (event: Event) => any;
1981
2804
  click: (event: MouseEvent) => any;
2805
+ error: (event: Event) => any;
1982
2806
  load: (event: Event) => any;
1983
2807
  }, string, _$vue.PublicProps, Readonly<Props$17> & Readonly<{
1984
- onError?: ((event: Event) => any) | undefined;
1985
2808
  onClick?: ((event: MouseEvent) => any) | undefined;
2809
+ onError?: ((event: Event) => any) | undefined;
1986
2810
  onLoad?: ((event: Event) => any) | undefined;
1987
2811
  }>, {
1988
2812
  rounded: boolean;
1989
- height: string | number;
2813
+ loading: boolean;
1990
2814
  src: string;
1991
2815
  alt: string;
2816
+ height: string | number;
1992
2817
  width: string | number;
1993
2818
  fit: "contain" | "cover" | "fill" | "none" | "scale-down";
1994
2819
  preview: boolean;
1995
- loading: boolean;
1996
2820
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
1997
2821
  declare const __VLS_export$17: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
1998
- declare const _default$22: typeof __VLS_export$17;
2822
+ declare const _default$23: typeof __VLS_export$17;
1999
2823
  type __VLS_WithSlots$12<T, S> = T & {
2000
2824
  new (): {
2001
2825
  $slots: S;
@@ -2014,7 +2838,7 @@ declare const __VLS_base$11: _$vue.DefineComponent<Props$16, {}, {}, {}, {}, _$v
2014
2838
  images: string[];
2015
2839
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2016
2840
  declare const __VLS_export$16: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
2017
- declare const _default$23: typeof __VLS_export$16;
2841
+ declare const _default$24: typeof __VLS_export$16;
2018
2842
  type __VLS_WithSlots$11<T, S> = T & {
2019
2843
  new (): {
2020
2844
  $slots: S;
@@ -2025,13 +2849,21 @@ type __VLS_WithSlots$11<T, S> = T & {
2025
2849
  interface MenuItem$1 {
2026
2850
  label: string;
2027
2851
  key: string;
2028
- icon?: string;
2852
+ /** 图标 - 支持字符串、组件名或图标对象 */
2853
+ icon?: string | {
2854
+ component: string;
2855
+ props?: Record<string, unknown>;
2856
+ };
2029
2857
  disabled?: boolean;
2030
2858
  route?: string;
2031
2859
  badge?: string | number;
2032
2860
  badgeType?: "primary" | "success" | "warning" | "danger" | "info";
2033
2861
  image?: string;
2034
2862
  children?: MenuItem$1[];
2863
+ /** 权限标识 */
2864
+ permission?: string | string[];
2865
+ /** 是否隐藏 */
2866
+ hidden?: boolean;
2035
2867
  }
2036
2868
  /**
2037
2869
  * YdMenu Props
@@ -2060,23 +2892,23 @@ interface Props$15 {
2060
2892
  dropdownTheme?: "default" | "glass" | "dark";
2061
2893
  }
2062
2894
  declare const __VLS_export$15: _$vue.DefineComponent<Props$15, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2063
- select: (item: MenuItem$1) => any;
2064
2895
  "update:modelValue": (value: string) => any;
2896
+ select: (item: MenuItem$1) => any;
2065
2897
  }, string, _$vue.PublicProps, Readonly<Props$15> & Readonly<{
2066
- onSelect?: ((item: MenuItem$1) => any) | undefined;
2067
2898
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2899
+ onSelect?: ((item: MenuItem$1) => any) | undefined;
2068
2900
  }>, {
2069
- collapsed: boolean;
2070
- waterfall: boolean;
2071
- popupAlign: "trigger" | "container";
2072
- items: MenuItem$1[];
2073
2901
  modelValue: string;
2902
+ items: MenuItem$1[];
2074
2903
  mode: "vertical" | "horizontal";
2904
+ collapsed: boolean;
2905
+ waterfall: boolean;
2075
2906
  gridStyle: "auto" | "classic";
2076
2907
  router: boolean;
2908
+ popupAlign: "trigger" | "container";
2077
2909
  dropdownTheme: "default" | "glass" | "dark";
2078
2910
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2079
- declare const _default$33: typeof __VLS_export$15;
2911
+ declare const _default$34: typeof __VLS_export$15;
2080
2912
  //#endregion
2081
2913
  //#region src/components/navigation/tabs/tabs.vue.d.ts
2082
2914
  /**
@@ -2119,8 +2951,8 @@ type __VLS_Slots$10 = {} & {
2119
2951
  default?: (props: typeof __VLS_1$7) => any;
2120
2952
  };
2121
2953
  declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2122
- "update:modelTabs": (value: TabItem$1[]) => any;
2123
2954
  "update:modelValue": (value: string) => any;
2955
+ "update:modelTabs": (value: TabItem$1[]) => any;
2124
2956
  reorder: (payload: {
2125
2957
  from: number;
2126
2958
  to: number;
@@ -2134,8 +2966,8 @@ declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$v
2134
2966
  }) => any;
2135
2967
  edit: (action: "add" | "remove", item?: TabItem$1 | undefined) => any;
2136
2968
  }, string, _$vue.PublicProps, Readonly<Props$14> & Readonly<{
2137
- "onUpdate:modelTabs"?: ((value: TabItem$1[]) => any) | undefined;
2138
2969
  "onUpdate:modelValue"?: ((value: string) => any) | undefined;
2970
+ "onUpdate:modelTabs"?: ((value: TabItem$1[]) => any) | undefined;
2139
2971
  onReorder?: ((payload: {
2140
2972
  from: number;
2141
2973
  to: number;
@@ -2151,14 +2983,14 @@ declare const __VLS_base$10: _$vue.DefineComponent<Props$14, {}, {}, {}, {}, _$v
2151
2983
  }>, {
2152
2984
  theme: "light" | "dark" | "corporate";
2153
2985
  type: "line" | "card" | "segment" | "border-card" | "chrome" | "rounded" | "minimal" | "envelope" | "glass";
2986
+ modelValue: string;
2154
2987
  modelTabs: TabItem$1[];
2155
2988
  items: TabItem$1[];
2156
- modelValue: string;
2157
2989
  editable: boolean;
2158
2990
  storageKey: string;
2159
2991
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2160
2992
  declare const __VLS_export$14: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
2161
- declare const _default$52: typeof __VLS_export$14;
2993
+ declare const _default$54: typeof __VLS_export$14;
2162
2994
  type __VLS_WithSlots$10<T, S> = T & {
2163
2995
  new (): {
2164
2996
  $slots: S;
@@ -2226,7 +3058,7 @@ declare const __VLS_export$12: _$vue.DefineComponent<Props$12, {}, {}, {}, {}, _
2226
3058
  showQuickJumper: boolean;
2227
3059
  simple: boolean;
2228
3060
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2229
- declare const _default$35: typeof __VLS_export$12;
3061
+ declare const _default$36: typeof __VLS_export$12;
2230
3062
  //#endregion
2231
3063
  //#region src/components/navigation/dropdown/dropdown.vue.d.ts
2232
3064
  interface DropdownItem {
@@ -2257,13 +3089,13 @@ declare const __VLS_base$8: _$vue.DefineComponent<Props$11, {}, {}, {}, {}, _$vu
2257
3089
  }, string, _$vue.PublicProps, Readonly<Props$11> & Readonly<{
2258
3090
  onSelect?: ((item: DropdownItem) => any) | undefined;
2259
3091
  }>, {
2260
- trigger: "hover" | "click";
2261
3092
  items: DropdownItem[];
3093
+ trigger: "hover" | "click";
2262
3094
  placement: "bottom-start" | "bottom" | "bottom-end" | "top-start" | "top" | "top-end";
2263
3095
  triggerLabel: string;
2264
3096
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2265
3097
  declare const __VLS_export$11: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
2266
- declare const _default$18: typeof __VLS_export$11;
3098
+ declare const _default$19: typeof __VLS_export$11;
2267
3099
  type __VLS_WithSlots$8<T, S> = T & {
2268
3100
  new (): {
2269
3101
  $slots: S;
@@ -2284,11 +3116,11 @@ interface Props$10 {
2284
3116
  }
2285
3117
  declare const __VLS_export$10: _$vue.DefineComponent<Props$10, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$10> & Readonly<{}>, {
2286
3118
  size: "default" | "small";
2287
- direction: "horizontal" | "vertical";
2288
3119
  items: StepItem[];
2289
3120
  current: number;
3121
+ direction: "horizontal" | "vertical";
2290
3122
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2291
- declare const _default$49: typeof __VLS_export$10;
3123
+ declare const _default$51: typeof __VLS_export$10;
2292
3124
  //#endregion
2293
3125
  //#region src/components/navigation/anchor/anchor.vue.d.ts
2294
3126
  interface AnchorItem {
@@ -2347,32 +3179,32 @@ type __VLS_Slots$7 = {} & {
2347
3179
  };
2348
3180
  declare const __VLS_base$7: _$vue.DefineComponent<Props$8, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2349
3181
  "update:modelValue": (value: boolean) => any;
2350
- open: () => any;
2351
3182
  close: () => any;
3183
+ open: () => any;
2352
3184
  confirm: () => any;
2353
3185
  cancel: () => any;
2354
3186
  }, string, _$vue.PublicProps, Readonly<Props$8> & Readonly<{
2355
3187
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2356
- onOpen?: (() => any) | undefined;
2357
3188
  onClose?: (() => any) | undefined;
3189
+ onOpen?: (() => any) | undefined;
2358
3190
  onConfirm?: (() => any) | undefined;
2359
3191
  onCancel?: (() => any) | undefined;
2360
3192
  }>, {
2361
- title: string;
2362
3193
  modelValue: boolean;
3194
+ closable: boolean;
3195
+ title: string;
2363
3196
  width: string | number;
2364
3197
  showHeader: boolean;
2365
- closable: boolean;
3198
+ showFooter: boolean;
2366
3199
  maskClosable: boolean;
2367
3200
  destroyOnClose: boolean;
2368
3201
  teleport: boolean;
2369
- showFooter: boolean;
2370
3202
  cancelText: string;
2371
3203
  confirmText: string;
2372
3204
  confirmLoading: boolean;
2373
3205
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2374
3206
  declare const __VLS_export$8: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
2375
- declare const _default$34: typeof __VLS_export$8;
3207
+ declare const _default$35: typeof __VLS_export$8;
2376
3208
  type __VLS_WithSlots$7<T, S> = T & {
2377
3209
  new (): {
2378
3210
  $slots: S;
@@ -2412,25 +3244,25 @@ type __VLS_Slots$6 = {} & {
2412
3244
  };
2413
3245
  declare const __VLS_base$6: _$vue.DefineComponent<Props$7, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
2414
3246
  "update:modelValue": (value: boolean) => any;
2415
- open: () => any;
2416
3247
  close: () => any;
3248
+ open: () => any;
2417
3249
  }, string, _$vue.PublicProps, Readonly<Props$7> & Readonly<{
2418
3250
  "onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
2419
- onOpen?: (() => any) | undefined;
2420
3251
  onClose?: (() => any) | undefined;
3252
+ onOpen?: (() => any) | undefined;
2421
3253
  }>, {
2422
- title: string;
2423
- placement: "left" | "right" | "top" | "bottom";
2424
3254
  modelValue: boolean;
3255
+ placement: "left" | "right" | "top" | "bottom";
3256
+ closable: boolean;
3257
+ title: string;
2425
3258
  width: string | number;
2426
3259
  showHeader: boolean;
2427
- closable: boolean;
2428
3260
  maskClosable: boolean;
2429
3261
  destroyOnClose: boolean;
2430
3262
  teleport: boolean;
2431
3263
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2432
3264
  declare const __VLS_export$7: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
2433
- declare const _default$17: typeof __VLS_export$7;
3265
+ declare const _default$18: typeof __VLS_export$7;
2434
3266
  type __VLS_WithSlots$6<T, S> = T & {
2435
3267
  new (): {
2436
3268
  $slots: S;
@@ -2496,11 +3328,11 @@ type __VLS_Slots$5 = {} & {
2496
3328
  declare const __VLS_base$5: _$vue.DefineComponent<Props$6, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$6> & Readonly<{}>, {
2497
3329
  trigger: "hover" | "click";
2498
3330
  placement: "top" | "bottom" | "left" | "right";
2499
- delay: number;
2500
3331
  content: string;
3332
+ delay: number;
2501
3333
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2502
3334
  declare const __VLS_export$6: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
2503
- declare const _default$57: typeof __VLS_export$6;
3335
+ declare const _default$59: typeof __VLS_export$6;
2504
3336
  type __VLS_WithSlots$5<T, S> = T & {
2505
3337
  new (): {
2506
3338
  $slots: S;
@@ -2522,12 +3354,12 @@ type __VLS_Slots$4 = {} & {
2522
3354
  };
2523
3355
  declare const __VLS_base$4: _$vue.DefineComponent<Props$5, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$5> & Readonly<{}>, {
2524
3356
  size: number;
2525
- spinning: boolean;
2526
3357
  tip: string;
2527
3358
  delay: number;
3359
+ spinning: boolean;
2528
3360
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2529
3361
  declare const __VLS_export$5: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
2530
- declare const _default$47: typeof __VLS_export$5;
3362
+ declare const _default$49: typeof __VLS_export$5;
2531
3363
  type __VLS_WithSlots$4<T, S> = T & {
2532
3364
  new (): {
2533
3365
  $slots: S;
@@ -2550,17 +3382,17 @@ type __VLS_Slots$3 = {} & {
2550
3382
  default?: (props: typeof __VLS_1$3) => any;
2551
3383
  };
2552
3384
  declare const __VLS_base$3: _$vue.DefineComponent<Props$4, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<Props$4> & Readonly<{}>, {
2553
- title: boolean;
3385
+ rows: number;
2554
3386
  loading: boolean;
3387
+ title: boolean;
2555
3388
  avatar: boolean | number | string;
2556
3389
  titleWidth: string;
2557
3390
  titleHeight: string;
2558
- rows: number;
2559
3391
  lastRowWidth: string;
2560
3392
  animated: boolean;
2561
3393
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2562
3394
  declare const __VLS_export$4: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
2563
- declare const _default$44: typeof __VLS_export$4;
3395
+ declare const _default$46: typeof __VLS_export$4;
2564
3396
  type __VLS_WithSlots$3<T, S> = T & {
2565
3397
  new (): {
2566
3398
  $slots: S;
@@ -2589,7 +3421,7 @@ declare const __VLS_base$2: _$vue.DefineComponent<Props$3, {}, {}, {}, {}, _$vue
2589
3421
  confirmText: string;
2590
3422
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2591
3423
  declare const __VLS_export$3: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
2592
- declare const _default$37: typeof __VLS_export$3;
3424
+ declare const _default$38: typeof __VLS_export$3;
2593
3425
  type __VLS_WithSlots$2<T, S> = T & {
2594
3426
  new (): {
2595
3427
  $slots: S;
@@ -2616,7 +3448,7 @@ declare const __VLS_base$1: _$vue.DefineComponent<Props$2, {}, {}, {}, {}, _$vue
2616
3448
  subTitle: string;
2617
3449
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2618
3450
  declare const __VLS_export$2: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
2619
- declare const _default$42: typeof __VLS_export$2;
3451
+ declare const _default$43: typeof __VLS_export$2;
2620
3452
  type __VLS_WithSlots$1<T, S> = T & {
2621
3453
  new (): {
2622
3454
  $slots: S;
@@ -2652,7 +3484,7 @@ declare const __VLS_export$1: _$vue.DefineComponent<Props$1, {}, {}, {}, {}, _$v
2652
3484
  x: number;
2653
3485
  y: number;
2654
3486
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2655
- declare const _default$13: typeof __VLS_export$1;
3487
+ declare const _default$14: typeof __VLS_export$1;
2656
3488
  //#endregion
2657
3489
  //#region src/components/config-provider/config-provider.vue.d.ts
2658
3490
  interface Props {
@@ -2672,7 +3504,7 @@ declare const __VLS_base: _$vue.DefineComponent<Props, {}, {}, {}, {}, _$vue.Com
2672
3504
  zIndex: number;
2673
3505
  }, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
2674
3506
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
2675
- declare const _default$12: typeof __VLS_export;
3507
+ declare const _default$13: typeof __VLS_export;
2676
3508
  type __VLS_WithSlots<T, S> = T & {
2677
3509
  new (): {
2678
3510
  $slots: S;
@@ -2727,6 +3559,12 @@ interface UseLoginFormOptions {
2727
3559
  defaultTab?: string;
2728
3560
  /** 发送验证码回调 */
2729
3561
  onSendCode?: (phone: string) => void;
3562
+ /** 后端提供的验证码图片地址 */
3563
+ captchaSrc?: Ref<string>;
3564
+ /** 后端提供的验证码答案 */
3565
+ captchaAnswer?: Ref<string>;
3566
+ /** 验证码模式:客户端生成并校验,或后端提供由后端校验 */
3567
+ captchaMode?: "client" | "server";
2730
3568
  }
2731
3569
  interface UseLoginFormReturn {
2732
3570
  /** 表单数据 */
@@ -2759,6 +3597,40 @@ interface UseLoginFormReturn {
2759
3597
  */
2760
3598
  declare function useLoginForm(options?: UseLoginFormOptions): UseLoginFormReturn;
2761
3599
  //#endregion
3600
+ //#region src/composables/use-menu.d.ts
3601
+ /**
3602
+ * 过滤菜单项(根据权限和隐藏状态)
3603
+ */
3604
+ declare function filterMenuItems(items: MenuItem[], userPermissions?: UserPermissions): MenuItem[];
3605
+ /**
3606
+ * 根据菜单生成路由配置
3607
+ */
3608
+ declare function menuToRoutes(items: MenuItem[], basePath?: string): {
3609
+ path: string;
3610
+ name: string;
3611
+ meta: Record<string, unknown>;
3612
+ }[];
3613
+ /**
3614
+ * 从当前激活菜单 key 获取面包屑路径
3615
+ */
3616
+ declare function getBreadcrumbPaths(items: MenuItem[], activeKey: string, currentPath?: MenuItem[]): MenuItem[];
3617
+ /**
3618
+ * 从菜单 key 查找菜单项
3619
+ */
3620
+ declare function findMenuItem(items: MenuItem[], key: string): MenuItem | undefined;
3621
+ /**
3622
+ * 查找菜单项的完整路径
3623
+ */
3624
+ declare function findMenuPath(items: MenuItem[], key: string, parents?: MenuItem[]): MenuItem[];
3625
+ /**
3626
+ * 搜索菜单项(模糊搜索,支持权限过滤)
3627
+ */
3628
+ declare function searchMenuItems(items: MenuItem[], query: string, userPermissions?: UserPermissions): MenuItem[];
3629
+ /**
3630
+ * 获取菜单项的扁平化列表(用于搜索)
3631
+ */
3632
+ declare function flattenMenuItems(items: MenuItem[]): MenuItem[];
3633
+ //#endregion
2762
3634
  //#region src/hooks/use-loading.d.ts
2763
3635
  /**
2764
3636
  * Loading 状态管理 hook
@@ -2830,6 +3702,146 @@ declare class SecureStorage {
2830
3702
  declare const secureLocal: SecureStorage;
2831
3703
  declare const secureSession: SecureStorage;
2832
3704
  //#endregion
3705
+ //#region src/utils/router.d.ts
3706
+ /**
3707
+ * 路由元信息
3708
+ */
3709
+ interface RouteMeta {
3710
+ /** 标题 */
3711
+ title?: string;
3712
+ /** 图标 */
3713
+ icon?: string;
3714
+ /** 是否隐藏 */
3715
+ hidden?: boolean;
3716
+ /** 权限 */
3717
+ roles?: string[];
3718
+ /** 缓存 */
3719
+ keepAlive?: boolean;
3720
+ /** 固定在 tabs */
3721
+ affix?: boolean;
3722
+ }
3723
+ /**
3724
+ * 简单路由记录(基础版本,不依赖 vue-router)
3725
+ */
3726
+ interface SimpleRouteRecord {
3727
+ /** 路由路径 */
3728
+ path: string;
3729
+ /** 路由名称 */
3730
+ name?: string;
3731
+ /** 组件 */
3732
+ component?: unknown;
3733
+ /** 子路由 */
3734
+ children?: SimpleRouteRecord[];
3735
+ /** 重定向 */
3736
+ redirect?: string | SimpleRouteRecord;
3737
+ /** 元信息 */
3738
+ meta?: RouteMeta;
3739
+ /** 是否完全匹配 */
3740
+ exact?: boolean;
3741
+ }
3742
+ /**
3743
+ * 路由配置选项
3744
+ */
3745
+ interface RouterOptions {
3746
+ /** 基础路径 */
3747
+ base?: string;
3748
+ /** 是否使用历史模式 */
3749
+ history?: "hash" | "html5" | "memory";
3750
+ /** 路由列表 */
3751
+ routes?: SimpleRouteRecord[];
3752
+ }
3753
+ /**
3754
+ * 动态路由管理器
3755
+ */
3756
+ declare class DynamicRouter {
3757
+ private routes;
3758
+ private routeMap;
3759
+ /**
3760
+ * 设置路由列表
3761
+ */
3762
+ setRoutes(routes: SimpleRouteRecord[]): void;
3763
+ /**
3764
+ * 获取路由列表
3765
+ */
3766
+ getRoutes(): SimpleRouteRecord[];
3767
+ /**
3768
+ * 构建路由映射
3769
+ */
3770
+ private buildRouteMap;
3771
+ /**
3772
+ * 根据路径获取路由
3773
+ */
3774
+ getRoute(path: string): SimpleRouteRecord | undefined;
3775
+ /**
3776
+ * 检查路由是否存在
3777
+ */
3778
+ hasRoute(path: string): boolean;
3779
+ /**
3780
+ * 添加路由
3781
+ */
3782
+ addRoute(route: SimpleRouteRecord, parentPath?: string): void;
3783
+ /**
3784
+ * 移除路由
3785
+ */
3786
+ removeRoute(path: string): boolean;
3787
+ /**
3788
+ * 获取可见路由(根据 meta.hidden)
3789
+ */
3790
+ getVisibleRoutes(): SimpleRouteRecord[];
3791
+ /**
3792
+ * 根据权限过滤路由
3793
+ */
3794
+ filterByRoles(roles: string[]): SimpleRouteRecord[];
3795
+ /**
3796
+ * 扁平化路由
3797
+ */
3798
+ flattenRoutes(routes?: SimpleRouteRecord[]): SimpleRouteRecord[];
3799
+ /**
3800
+ * 路径匹配
3801
+ */
3802
+ matchPath(path: string, pattern: string | RegExp): boolean;
3803
+ /**
3804
+ * 查找路由名称
3805
+ */
3806
+ findRouteByName(name: string): SimpleRouteRecord | undefined;
3807
+ /**
3808
+ * 查找路由路径
3809
+ */
3810
+ findPathByName(name: string): string | null;
3811
+ }
3812
+ /**
3813
+ * 路由工具单例
3814
+ */
3815
+ declare const dynamicRouter: DynamicRouter;
3816
+ /**
3817
+ * 路径规范化
3818
+ */
3819
+ declare function normalizePath(path: string): string;
3820
+ /**
3821
+ * 路径拼接
3822
+ */
3823
+ declare function joinPath(...parts: string[]): string;
3824
+ /**
3825
+ * 路径匹配检查
3826
+ */
3827
+ declare function isPathMatch(path: string, pattern: string | RegExp): boolean;
3828
+ /**
3829
+ * 路由权限检查
3830
+ */
3831
+ declare function checkRoutePermission(route: SimpleRouteRecord | undefined, userRoles: string[]): boolean;
3832
+ /**
3833
+ * 路由标题生成器
3834
+ */
3835
+ declare function generateRouteTitle(title: string, prefix?: string): string;
3836
+ /**
3837
+ * 构建面包屑
3838
+ */
3839
+ declare function buildBreadcrumb(path: string, routes?: SimpleRouteRecord[]): SimpleRouteRecord[];
3840
+ /**
3841
+ * 路由记录类型转换
3842
+ */
3843
+ declare function convertToSimpleRoute(route: RouteRecordRaw): SimpleRouteRecord;
3844
+ //#endregion
2833
3845
  //#region src/utils/index.d.ts
2834
3846
  /**
2835
3847
  * Utility functions
@@ -2953,19 +3965,72 @@ declare const supportedLocales: readonly [{
2953
3965
  readonly value: "en-US";
2954
3966
  }];
2955
3967
  type SupportedLocale = (typeof supportedLocales)[number]["value"];
3968
+ /**
3969
+ * 注册懒加载的 locale 文件
3970
+ */
3971
+ declare function registerLazyLocale(locale: Locale, loader: () => Promise<Record<string, unknown>>): void;
2956
3972
  /**
2957
3973
  * 设置语言
2958
3974
  */
2959
3975
  declare function setLocale(locale: Locale): void;
3976
+ /**
3977
+ * 获取当前语言
3978
+ */
3979
+ declare function getCurrentLocale(): Locale;
2960
3980
  /**
2961
3981
  * 初始化 i18n
2962
3982
  */
2963
3983
  declare function setupI18n(app: App, options?: {
2964
3984
  defaultLocale?: Locale;
3985
+ lazy?: boolean;
2965
3986
  }): Promise<void>;
2966
3987
  /**
2967
3988
  * 切换语言
2968
3989
  */
2969
3990
  declare function changeLocale(locale: Locale): Promise<void>;
3991
+ /**
3992
+ * 获取翻译文本
3993
+ */
3994
+ declare function t(key: string, params?: Record<string, unknown>): string;
3995
+ /**
3996
+ * 获取翻译文本(复数形式)- 使用 'one' 和 'other' 选择器
3997
+ */
3998
+ declare function tc(key: string, choice?: number, params?: Record<string, unknown>): string;
3999
+ /**
4000
+ * 获取日期时间格式化
4001
+ */
4002
+ declare function dt(value: Date | number | string, options?: Intl.DateTimeFormatOptions, locale?: Locale): string;
4003
+ /**
4004
+ * 获取数字格式化
4005
+ */
4006
+ declare function nf(value: number, options?: Intl.NumberFormatOptions, locale?: Locale): string;
4007
+ //#endregion
4008
+ //#region src/resolver/index.d.ts
4009
+ /**
4010
+ * yd-admin 按需导入解析器
4011
+ * 支持 unplugin-vue-components 自动导入
4012
+ *
4013
+ * 使用方式:
4014
+ * ```ts
4015
+ * // vite.config.ts
4016
+ * import Components from 'unplugin-vue-components/vite'
4017
+ * import { YdAdminResolver } from 'yd-admin/resolver'
4018
+ *
4019
+ * Components({
4020
+ * resolvers: [YdAdminResolver()]
4021
+ * })
4022
+ * ```
4023
+ */
4024
+ interface ResolverResult {
4025
+ name: string;
4026
+ from: string;
4027
+ sideImport?: string;
4028
+ }
4029
+ type ComponentResolverFunc = (componentName: string) => ResolverResult | undefined;
4030
+ /**
4031
+ * YdAdmin 组件库解析器
4032
+ * 将 YdXxx 组件自动映射到 yd-admin 包
4033
+ */
4034
+ declare function YdAdminResolver(): ComponentResolverFunc;
2970
4035
  //#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 };
4036
+ export { ANIMATION_DURATION, Alignment, ApiResponse, ArrayElement, ArrowFunction, COMPONENT_PREFIX, CSS_PREFIX, Callback, CascaderNode, CascaderOption, ComponentSize, ComponentVariant, Constructor, CssProperty, DEBOUNCE_DEFAULTS, DEBOUNCE_DELAY, DEFAULT_LAYOUT_SIZE, DateFormat, DateRange, DateShortcut, DeepFrozen, DeepPartial, DeepReadonly, DeepReadonlyArray, DeepRequired, Deferred, DenseArray, Direction, DrawerConfig, Emitter, EventHandler, Exclusive, FieldComponent, FieldSchema, FilterKeys, FormActionType, FormError, FormInstance$1 as FormInstance, FormItemInstance, FormModel, FormRuleExtra, FormRules, FormSchema, FormStatus, FormValidateResult, FormValue, GetKeys, GetProp, GroupSchema, Instanceof, Intersection, KeyValuePair, Known, LayoutContext, LayoutSize, LayoutTheme, Listener, Locale, MaybePromise, MenuItem, Message, MessageConfig, ModalConfig, NonEmptyArray, Noop, Notification, NotificationConfig, Omit, PaginatedApiResponse, PaginationConfig, PaginationParams, PaginationResult, Parameters$1 as Parameters, Pick, Promisable, Recordable, ReturnType, type RouteMeta, type RouterOptions, RowSchema, SelectGroup, SelectOption, SelectValue, SelectedValue, type SimpleRouteRecord, SizeKeys, SlotSchema, StringLiteral, SupportedLocale, THROTTLE_DEFAULTS, THROTTLE_DELAY, TabItem, TableColumn, TableRow, Theme, ThemeName, ThemeTokens, ThisParameterType, TreeNode, UploadFile, UploadRequest, UploadResponse, UserInfo, ValidateError, ValidateResult, YdAdminResolver, _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 YdColorPicker, _default$13 as YdConfigProvider, _default$14 as YdContextMenu, _default$15 as YdDatePicker, _default$16 as YdDateRangePicker, _default$17 as YdDivider, _default$18 as YdDrawer, _default$19 as YdDropdown, _default$20 as YdEmpty, _default$21 as YdForm, _default$22 as YdFormItem, _default$23 as YdImage, _default$24 as YdImagePreviewGroup, _default$25 as YdInput, _default$26 as YdInputNumber, _default$27 as YdLayout, _default$28 as YdLayoutContent, _default$29 as YdLayoutHeader, _default$30 as YdLayoutSidebar, _default$31 as YdList, _default$32 as YdLogin, _default$33 as YdLoginCentered, _default$34 as YdMenu, _default$35 as YdModal, _default$36 as YdPagination, _default$37 as YdPinInput, _default$38 as YdPopconfirm, _default$39 as YdProgress, _default$40 as YdRadio, _default$41 as YdRadioGroup, _default$42 as YdRate, _default$43 as YdResult, _default$44 as YdSchemaForm, _default$45 as YdSelect, _default$46 as YdSkeleton, _default$47 as YdSlider, _default$48 as YdSpace, _default$49 as YdSpin, _default$50 as YdStatistic, _default$51 as YdSteps, _default$52 as YdSwitch, _default$53 as YdTable, _default$54 as YdTabs, _default$55 as YdTag, _default$56 as YdTextarea, _default$57 as YdTimePicker, _default$58 as YdTimeline, _default$59 as YdTooltip, _default$60 as YdTransfer, _default$61 as YdTree, _default$62 as YdTreeSelect, _default$63 as YdUpload, Z_INDEX, buildBreadcrumb, changeLocale, checkRoutePermission, cn, convertToSimpleRoute, debounce, decrypt, deepClone, dt, dynamicRouter, encrypt, filterMenuItems, findMenuItem, findMenuPath, flattenMenuItems, generateId, generateRouteTitle, generateSessionKey, getBreadcrumbPaths, getCurrentLocale, i18n, initSecureStorage, isArray, isDate, isEmpty, isEmptyObject, isFunction, isObject, isPathMatch, isPromise, joinPath, menuToRoutes, nf, normalizePath, registerLazyLocale, searchMenuItems, secureLocal, secureSession, secureStoragePlugin, setLocale, setupI18n, supportedLocales, t, tc, themes, throttle, useFormSchema, useFormValidate, useLoading, useLoginForm, useNamespace };