@tu-design/vue 0.4.2 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +390 -296
- package/dist/index.mjs +408 -85
- package/dist/registry/vue/alert-dialog.json +1 -1
- package/dist/registry/vue/alert.json +2 -2
- package/dist/registry/vue/avatar-group.json +1 -1
- package/dist/registry/vue/avatar.json +1 -1
- package/dist/registry/vue/badge.json +2 -2
- package/dist/registry/vue/button.json +2 -2
- package/dist/registry/vue/calendar.json +1 -1
- package/dist/registry/vue/card.json +2 -1
- package/dist/registry/vue/cascader.json +1 -1
- package/dist/registry/vue/checkbox.json +1 -1
- package/dist/registry/vue/context-menu.json +1 -1
- package/dist/registry/vue/currency-input.json +1 -1
- package/dist/registry/vue/date-picker.json +1 -1
- package/dist/registry/vue/date-range-picker.json +1 -1
- package/dist/registry/vue/date-shared.json +1 -1
- package/dist/registry/vue/dialog.json +1 -1
- package/dist/registry/vue/drawer.json +1 -1
- package/dist/registry/vue/dropdown-menu.json +1 -1
- package/dist/registry/vue/empty.json +1 -1
- package/dist/registry/vue/form-render.json +1 -1
- package/dist/registry/vue/form.json +1 -1
- package/dist/registry/vue/input.json +1 -1
- package/dist/registry/vue/label.json +1 -1
- package/dist/registry/vue/month-picker.json +1 -1
- package/dist/registry/vue/number-input.json +1 -1
- package/dist/registry/vue/overlay-shared.json +1 -1
- package/dist/registry/vue/password-input.json +1 -1
- package/dist/registry/vue/pin-input.json +1 -1
- package/dist/registry/vue/popconfirm.json +1 -1
- package/dist/registry/vue/popover.json +1 -1
- package/dist/registry/vue/progress.json +1 -1
- package/dist/registry/vue/radio-group.json +1 -1
- package/dist/registry/vue/registry.json +57 -50
- package/dist/registry/vue/select.json +1 -1
- package/dist/registry/vue/separator.json +1 -1
- package/dist/registry/vue/skeleton.json +1 -1
- package/dist/registry/vue/slider.json +1 -1
- package/dist/registry/vue/slot.json +1 -1
- package/dist/registry/vue/spin.json +1 -1
- package/dist/registry/vue/switch.json +1 -1
- package/dist/registry/vue/table-render.json +1 -1
- package/dist/registry/vue/tabs.json +9 -3
- package/dist/registry/vue/textarea.json +1 -1
- package/dist/registry/vue/timeline.json +23 -0
- package/dist/registry/vue/toast.json +2 -2
- package/dist/registry/vue/tokens.json +2 -2
- package/dist/registry/vue/tooltip.json +1 -1
- package/dist/registry/vue/tree-select.json +1 -1
- package/dist/registry/vue/tree-shared.json +1 -1
- package/dist/registry/vue/utils.json +1 -1
- package/dist/registry/vue/week-picker.json +1 -1
- package/dist/registry/vue/year-picker.json +1 -1
- package/dist/style.css +10 -0
- package/package.json +3 -2
package/dist/index.d.mts
CHANGED
|
@@ -18,7 +18,7 @@ export declare function cn(...inputs: ClassValue[]): string;
|
|
|
18
18
|
* (Transition/Teleport 等 T 开头名称会被 slice(1) 解析成错误导入)。
|
|
19
19
|
* 白名单与 index.ts 的组件导出保持同步(resolver.test.ts 强制校验)。
|
|
20
20
|
*/
|
|
21
|
-
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TableRender", "Tabs", "Textarea", "ToastProvider", "TreeSelect", "Tooltip", "WeekPicker", "YearPicker"];
|
|
21
|
+
export declare const COMPONENT_NAMES: readonly ["Alert", "AlertDialog", "Avatar", "AvatarGroup", "Badge", "Button", "Calendar", "Card", "Cascader", "Checkbox", "ContextMenu", "CurrencyInput", "DatePicker", "DateRangePicker", "Dialog", "Drawer", "DropdownMenu", "Empty", "Form", "FormControl", "FormDescription", "FormField", "FormItem", "FormLabel", "FormMessage", "FormRender", "FormSubscribe", "Input", "Label", "MonthPicker", "NumberInput", "PasswordInput", "PinInput", "Popconfirm", "Popover", "Progress", "RadioGroup", "Select", "Separator", "Skeleton", "Slider", "Slot", "Spin", "Switch", "TableRender", "Tabs", "Textarea", "Timeline", "ToastProvider", "TreeSelect", "Tooltip", "WeekPicker", "YearPicker"];
|
|
22
22
|
/** 结构兼容 unplugin-vue-components 的 ComponentResolveResult,无需依赖其类型 */
|
|
23
23
|
export interface ComponentResolveResult {
|
|
24
24
|
name: string;
|
|
@@ -29,10 +29,10 @@ export declare function TuDesignResolver(): ComponentResolver;
|
|
|
29
29
|
//#endregion
|
|
30
30
|
//#region src/components/checkbox/Checkbox.vue.d.ts
|
|
31
31
|
declare var __VLS_33$1: {};
|
|
32
|
-
type __VLS_Slots$
|
|
32
|
+
type __VLS_Slots$32 = {} & {
|
|
33
33
|
default?: (props: typeof __VLS_33$1) => any;
|
|
34
34
|
};
|
|
35
|
-
declare const __VLS_base$
|
|
35
|
+
declare const __VLS_base$32: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
36
36
|
checked: {
|
|
37
37
|
type: PropType<boolean | "indeterminate" | undefined>;
|
|
38
38
|
default: any;
|
|
@@ -92,15 +92,15 @@ declare const __VLS_base$31: import("vue").DefineComponent<import("vue").Extract
|
|
|
92
92
|
"onUpdate:checked"?: (checked: boolean) => any;
|
|
93
93
|
}>, {
|
|
94
94
|
class: string;
|
|
95
|
-
name: string;
|
|
96
95
|
checked: boolean | "indeterminate";
|
|
97
96
|
defaultChecked: boolean;
|
|
98
97
|
disabled: boolean;
|
|
98
|
+
name: string;
|
|
99
99
|
form: string;
|
|
100
100
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
101
|
-
declare const __VLS_export$
|
|
102
|
-
declare const _default$9: typeof __VLS_export$
|
|
103
|
-
type __VLS_WithSlots$
|
|
101
|
+
declare const __VLS_export$51: __VLS_WithSlots$32<typeof __VLS_base$32, __VLS_Slots$32>;
|
|
102
|
+
declare const _default$9: typeof __VLS_export$51;
|
|
103
|
+
type __VLS_WithSlots$32<T, S> = T & {
|
|
104
104
|
new (): {
|
|
105
105
|
$slots: S;
|
|
106
106
|
};
|
|
@@ -122,7 +122,7 @@ export declare function parseCurrency(raw: string, labelUnit: CurrencyUnit, valu
|
|
|
122
122
|
export declare function formatCurrency(value: number, valueUnit: CurrencyUnit, labelUnit: CurrencyUnit): string;
|
|
123
123
|
//#endregion
|
|
124
124
|
//#region src/components/currency-input/CurrencyInput.vue.d.ts
|
|
125
|
-
declare const __VLS_export$
|
|
125
|
+
declare const __VLS_export$50: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
126
126
|
/** 受控值(valueUnit 单位);undefined 走内部非受控,null 表示空 */
|
|
127
127
|
modelValue: {
|
|
128
128
|
type: PropType<number | null | undefined>;
|
|
@@ -199,10 +199,10 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
199
199
|
labelUnit: CurrencyUnit;
|
|
200
200
|
valueUnit: CurrencyUnit;
|
|
201
201
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
202
|
-
declare const _default$11: typeof __VLS_export$
|
|
202
|
+
declare const _default$11: typeof __VLS_export$50;
|
|
203
203
|
//#endregion
|
|
204
204
|
//#region src/components/date-picker/DatePicker.vue.d.ts
|
|
205
|
-
declare const __VLS_export$
|
|
205
|
+
declare const __VLS_export$49: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
206
206
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
207
207
|
modelValue: {
|
|
208
208
|
type: PropType<string | null | undefined>;
|
|
@@ -267,8 +267,8 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
267
267
|
default: any;
|
|
268
268
|
};
|
|
269
269
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
270
|
-
"update:open": (open: boolean) => any;
|
|
271
270
|
"update:modelValue": (value: string) => any;
|
|
271
|
+
"update:open": (open: boolean) => any;
|
|
272
272
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
273
273
|
/** 受控值("yyyy-MM-dd");undefined 走内部非受控,null 表示空 */
|
|
274
274
|
modelValue: {
|
|
@@ -334,28 +334,28 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
334
334
|
default: any;
|
|
335
335
|
};
|
|
336
336
|
}>> & Readonly<{
|
|
337
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
338
337
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
338
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
339
339
|
}>, {
|
|
340
340
|
class: string;
|
|
341
|
-
max: string;
|
|
342
|
-
open: boolean;
|
|
343
341
|
disabled: boolean;
|
|
344
342
|
modelValue: string;
|
|
345
343
|
defaultValue: string;
|
|
344
|
+
open: boolean;
|
|
346
345
|
defaultOpen: boolean;
|
|
347
346
|
placeholder: string;
|
|
348
347
|
invalid: boolean;
|
|
349
348
|
readOnly: boolean;
|
|
350
349
|
min: string;
|
|
350
|
+
max: string;
|
|
351
351
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
352
352
|
closeOnSelect: boolean;
|
|
353
353
|
locale: string;
|
|
354
354
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
355
|
-
declare const _default$12: typeof __VLS_export$
|
|
355
|
+
declare const _default$12: typeof __VLS_export$49;
|
|
356
356
|
//#endregion
|
|
357
357
|
//#region src/components/date-range-picker/DateRangePicker.vue.d.ts
|
|
358
|
-
declare const __VLS_export$
|
|
358
|
+
declare const __VLS_export$48: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
359
359
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
360
360
|
modelValue: {
|
|
361
361
|
type: PropType<[string, string] | null | undefined>;
|
|
@@ -425,8 +425,8 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
425
425
|
default: any;
|
|
426
426
|
};
|
|
427
427
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
428
|
-
"update:open": (open: boolean) => any;
|
|
429
428
|
"update:modelValue": (value: [string, string]) => any;
|
|
429
|
+
"update:open": (open: boolean) => any;
|
|
430
430
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
431
431
|
/** 受控值 [start, end]("yyyy-MM-dd",start ≤ end);undefined 走内部非受控,null 表示空 */
|
|
432
432
|
modelValue: {
|
|
@@ -497,26 +497,26 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
497
497
|
default: any;
|
|
498
498
|
};
|
|
499
499
|
}>> & Readonly<{
|
|
500
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
501
500
|
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
501
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
502
502
|
}>, {
|
|
503
503
|
class: string;
|
|
504
|
-
max: string;
|
|
505
|
-
open: boolean;
|
|
506
504
|
disabled: boolean;
|
|
507
505
|
modelValue: [string, string];
|
|
508
506
|
defaultValue: [string, string];
|
|
507
|
+
open: boolean;
|
|
509
508
|
defaultOpen: boolean;
|
|
510
509
|
placeholder: string;
|
|
511
510
|
invalid: boolean;
|
|
512
511
|
readOnly: boolean;
|
|
513
512
|
min: string;
|
|
513
|
+
max: string;
|
|
514
514
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
515
515
|
closeOnSelect: boolean;
|
|
516
516
|
locale: string;
|
|
517
517
|
numOfMonths: number;
|
|
518
518
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
519
|
-
declare const _default$13: typeof __VLS_export$
|
|
519
|
+
declare const _default$13: typeof __VLS_export$48;
|
|
520
520
|
//#endregion
|
|
521
521
|
//#region src/components/input/Input.vue.d.ts
|
|
522
522
|
type __VLS_Props$12 = {
|
|
@@ -527,15 +527,15 @@ type __VLS_ModelProps$2 = {
|
|
|
527
527
|
modelValue?: string | number;
|
|
528
528
|
};
|
|
529
529
|
type __VLS_PublicProps$2 = __VLS_Props$12 & __VLS_ModelProps$2;
|
|
530
|
-
declare const __VLS_export$
|
|
530
|
+
declare const __VLS_export$47: import("vue").DefineComponent<__VLS_PublicProps$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
531
531
|
"update:modelValue": (value: string | number) => any;
|
|
532
532
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$2> & Readonly<{
|
|
533
533
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
534
534
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
535
|
-
declare const _default$27: typeof __VLS_export$
|
|
535
|
+
declare const _default$27: typeof __VLS_export$47;
|
|
536
536
|
//#endregion
|
|
537
537
|
//#region src/components/month-picker/MonthPicker.vue.d.ts
|
|
538
|
-
declare const __VLS_export$
|
|
538
|
+
declare const __VLS_export$46: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
539
539
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
540
540
|
modelValue: {
|
|
541
541
|
type: PropType<string | null | undefined>;
|
|
@@ -596,8 +596,8 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
596
596
|
default: any;
|
|
597
597
|
};
|
|
598
598
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
599
|
-
"update:open": (open: boolean) => any;
|
|
600
599
|
"update:modelValue": (value: string) => any;
|
|
600
|
+
"update:open": (open: boolean) => any;
|
|
601
601
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
602
602
|
/** 受控月份("yyyy-MM");undefined 走内部非受控,null 表示空 */
|
|
603
603
|
modelValue: {
|
|
@@ -659,27 +659,27 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
659
659
|
default: any;
|
|
660
660
|
};
|
|
661
661
|
}>> & Readonly<{
|
|
662
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
663
662
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
663
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
664
664
|
}>, {
|
|
665
665
|
class: string;
|
|
666
|
-
max: string;
|
|
667
|
-
open: boolean;
|
|
668
666
|
disabled: boolean;
|
|
669
667
|
modelValue: string;
|
|
670
668
|
defaultValue: string;
|
|
669
|
+
open: boolean;
|
|
671
670
|
defaultOpen: boolean;
|
|
672
671
|
placeholder: string;
|
|
673
672
|
invalid: boolean;
|
|
674
673
|
readOnly: boolean;
|
|
675
674
|
min: string;
|
|
675
|
+
max: string;
|
|
676
676
|
closeOnSelect: boolean;
|
|
677
677
|
locale: string;
|
|
678
678
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
679
|
-
declare const _default$29: typeof __VLS_export$
|
|
679
|
+
declare const _default$29: typeof __VLS_export$46;
|
|
680
680
|
//#endregion
|
|
681
681
|
//#region src/components/week-picker/WeekPicker.vue.d.ts
|
|
682
|
-
declare const __VLS_export$
|
|
682
|
+
declare const __VLS_export$45: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
683
683
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
684
684
|
modelValue: {
|
|
685
685
|
type: PropType<string | null | undefined>;
|
|
@@ -745,8 +745,8 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
|
|
|
745
745
|
default: any;
|
|
746
746
|
};
|
|
747
747
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
748
|
-
"update:open": (open: boolean) => any;
|
|
749
748
|
"update:modelValue": (value: string) => any;
|
|
749
|
+
"update:open": (open: boolean) => any;
|
|
750
750
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
751
751
|
/** 受控值("yyyy-MM-dd",语义=所在周起始日);undefined 走内部非受控,null 表示空 */
|
|
752
752
|
modelValue: {
|
|
@@ -813,34 +813,34 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
|
|
|
813
813
|
default: any;
|
|
814
814
|
};
|
|
815
815
|
}>> & Readonly<{
|
|
816
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
817
816
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
817
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
818
818
|
}>, {
|
|
819
819
|
class: string;
|
|
820
|
-
max: string;
|
|
821
|
-
open: boolean;
|
|
822
820
|
disabled: boolean;
|
|
823
821
|
modelValue: string;
|
|
824
822
|
defaultValue: string;
|
|
823
|
+
open: boolean;
|
|
825
824
|
defaultOpen: boolean;
|
|
826
825
|
placeholder: string;
|
|
827
826
|
invalid: boolean;
|
|
828
827
|
readOnly: boolean;
|
|
829
828
|
min: string;
|
|
829
|
+
max: string;
|
|
830
830
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
831
831
|
closeOnSelect: boolean;
|
|
832
832
|
locale: string;
|
|
833
833
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
834
|
-
declare const _default$
|
|
834
|
+
declare const _default$50: typeof __VLS_export$45;
|
|
835
835
|
//#endregion
|
|
836
836
|
//#region src/components/number-input/NumberInput.vue.d.ts
|
|
837
837
|
declare var __VLS_16$6: {}, __VLS_29: {};
|
|
838
|
-
type __VLS_Slots$
|
|
838
|
+
type __VLS_Slots$31 = {} & {
|
|
839
839
|
decrement?: (props: typeof __VLS_16$6) => any;
|
|
840
840
|
} & {
|
|
841
841
|
increment?: (props: typeof __VLS_29) => any;
|
|
842
842
|
};
|
|
843
|
-
declare const __VLS_base$
|
|
843
|
+
declare const __VLS_base$31: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
844
844
|
/** 受控值:number 或 null(空);undefined 走内部非受控 */
|
|
845
845
|
modelValue: {
|
|
846
846
|
type: PropType<number | null | undefined>;
|
|
@@ -914,17 +914,17 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
914
914
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
915
915
|
}>, {
|
|
916
916
|
class: string;
|
|
917
|
-
max: number;
|
|
918
917
|
disabled: boolean;
|
|
919
918
|
modelValue: number;
|
|
920
919
|
invalid: boolean;
|
|
921
920
|
min: number;
|
|
921
|
+
max: number;
|
|
922
922
|
step: number;
|
|
923
923
|
formatOptions: Intl.NumberFormatOptions;
|
|
924
924
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
925
|
-
declare const __VLS_export$
|
|
926
|
-
declare const _default$30: typeof __VLS_export$
|
|
927
|
-
type __VLS_WithSlots$
|
|
925
|
+
declare const __VLS_export$44: __VLS_WithSlots$31<typeof __VLS_base$31, __VLS_Slots$31>;
|
|
926
|
+
declare const _default$30: typeof __VLS_export$44;
|
|
927
|
+
type __VLS_WithSlots$31<T, S> = T & {
|
|
928
928
|
new (): {
|
|
929
929
|
$slots: S;
|
|
930
930
|
};
|
|
@@ -938,13 +938,13 @@ export declare function numberOrNull(details: {
|
|
|
938
938
|
}): number | null;
|
|
939
939
|
//#endregion
|
|
940
940
|
//#region src/components/password-input/PasswordInput.vue.d.ts
|
|
941
|
-
declare var __VLS_1$
|
|
941
|
+
declare var __VLS_1$11: {
|
|
942
942
|
visible: boolean;
|
|
943
943
|
};
|
|
944
|
-
type __VLS_Slots$
|
|
945
|
-
'visibility-icon'?: (props: typeof __VLS_1$
|
|
944
|
+
type __VLS_Slots$30 = {} & {
|
|
945
|
+
'visibility-icon'?: (props: typeof __VLS_1$11) => any;
|
|
946
946
|
};
|
|
947
|
-
declare const __VLS_base$
|
|
947
|
+
declare const __VLS_base$30: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
948
948
|
/** 受控值;undefined 走内部非受控 */
|
|
949
949
|
modelValue: {
|
|
950
950
|
type: PropType<string | undefined>;
|
|
@@ -1021,9 +1021,9 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1021
1021
|
visible: boolean;
|
|
1022
1022
|
autoComplete: "current-password" | "new-password";
|
|
1023
1023
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1024
|
-
declare const __VLS_export$
|
|
1025
|
-
declare const _default$31: typeof __VLS_export$
|
|
1026
|
-
type __VLS_WithSlots$
|
|
1024
|
+
declare const __VLS_export$43: __VLS_WithSlots$30<typeof __VLS_base$30, __VLS_Slots$30>;
|
|
1025
|
+
declare const _default$31: typeof __VLS_export$43;
|
|
1026
|
+
type __VLS_WithSlots$30<T, S> = T & {
|
|
1027
1027
|
new (): {
|
|
1028
1028
|
$slots: S;
|
|
1029
1029
|
};
|
|
@@ -1041,7 +1041,7 @@ interface RadioGroupOption {
|
|
|
1041
1041
|
/** 追加到选项根元素的样式类 */
|
|
1042
1042
|
class?: string;
|
|
1043
1043
|
}
|
|
1044
|
-
interface Props$
|
|
1044
|
+
interface Props$9 {
|
|
1045
1045
|
/** 选项列表(必填) */
|
|
1046
1046
|
items: RadioGroupOption[];
|
|
1047
1047
|
/** 当前值(配合 v-model:value);不传时为非受控(内部 ref 维护) */
|
|
@@ -1063,17 +1063,17 @@ declare var __VLS_21$1: {
|
|
|
1063
1063
|
item: RadioGroupOption;
|
|
1064
1064
|
checked: boolean;
|
|
1065
1065
|
};
|
|
1066
|
-
type __VLS_Slots$
|
|
1066
|
+
type __VLS_Slots$29 = {} & {
|
|
1067
1067
|
item?: (props: typeof __VLS_21$1) => any;
|
|
1068
1068
|
};
|
|
1069
|
-
declare const __VLS_base$
|
|
1069
|
+
declare const __VLS_base$29: import("vue").DefineComponent<Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1070
1070
|
"update:value": (value: string) => any;
|
|
1071
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
1071
|
+
}, string, import("vue").PublicProps, Readonly<Props$9> & Readonly<{
|
|
1072
1072
|
"onUpdate:value"?: (value: string) => any;
|
|
1073
1073
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
1074
|
-
declare const __VLS_export$
|
|
1075
|
-
declare const _default$36: typeof __VLS_export$
|
|
1076
|
-
type __VLS_WithSlots$
|
|
1074
|
+
declare const __VLS_export$42: __VLS_WithSlots$29<typeof __VLS_base$29, __VLS_Slots$29>;
|
|
1075
|
+
declare const _default$36: typeof __VLS_export$42;
|
|
1076
|
+
type __VLS_WithSlots$29<T, S> = T & {
|
|
1077
1077
|
new (): {
|
|
1078
1078
|
$slots: S;
|
|
1079
1079
|
};
|
|
@@ -1101,7 +1101,7 @@ interface TreeOption {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
//#endregion
|
|
1103
1103
|
//#region src/components/cascader/Cascader.vue.d.ts
|
|
1104
|
-
declare const __VLS_export$
|
|
1104
|
+
declare const __VLS_export$41: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1105
1105
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
1106
1106
|
options: {
|
|
1107
1107
|
type: PropType<TreeOption[]>;
|
|
@@ -1183,8 +1183,8 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1183
1183
|
default: any;
|
|
1184
1184
|
};
|
|
1185
1185
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1186
|
-
"update:open": (open: boolean) => any;
|
|
1187
1186
|
"update:modelValue": (value: Key | Key[]) => any;
|
|
1187
|
+
"update:open": (open: boolean) => any;
|
|
1188
1188
|
"update:show": (open: boolean) => any;
|
|
1189
1189
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1190
1190
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
@@ -1268,15 +1268,15 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1268
1268
|
default: any;
|
|
1269
1269
|
};
|
|
1270
1270
|
}>> & Readonly<{
|
|
1271
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1272
1271
|
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1272
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1273
1273
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1274
1274
|
}>, {
|
|
1275
1275
|
class: string;
|
|
1276
|
-
open: boolean;
|
|
1277
1276
|
disabled: boolean;
|
|
1278
1277
|
modelValue: Key | Key[];
|
|
1279
1278
|
defaultValue: Key | Key[];
|
|
1279
|
+
open: boolean;
|
|
1280
1280
|
defaultOpen: boolean;
|
|
1281
1281
|
placeholder: string;
|
|
1282
1282
|
multiple: boolean;
|
|
@@ -1289,10 +1289,10 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1289
1289
|
clearable: boolean;
|
|
1290
1290
|
maxTagCount: number;
|
|
1291
1291
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1292
|
-
declare const _default$8: typeof __VLS_export$
|
|
1292
|
+
declare const _default$8: typeof __VLS_export$41;
|
|
1293
1293
|
//#endregion
|
|
1294
1294
|
//#region src/components/tree-select/TreeSelect.vue.d.ts
|
|
1295
|
-
declare const __VLS_export$
|
|
1295
|
+
declare const __VLS_export$40: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1296
1296
|
/** 树选项(key/label/children/disabled) */
|
|
1297
1297
|
options: {
|
|
1298
1298
|
type: PropType<TreeOption[]>;
|
|
@@ -1378,8 +1378,8 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
|
|
|
1378
1378
|
default: any;
|
|
1379
1379
|
};
|
|
1380
1380
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1381
|
-
"update:open": (open: boolean) => any;
|
|
1382
1381
|
"update:modelValue": (value: Key | Key[]) => any;
|
|
1382
|
+
"update:open": (open: boolean) => any;
|
|
1383
1383
|
"update:show": (open: boolean) => any;
|
|
1384
1384
|
"update:expandedKeys": (keys: Key[]) => any;
|
|
1385
1385
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -1468,16 +1468,16 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
|
|
|
1468
1468
|
default: any;
|
|
1469
1469
|
};
|
|
1470
1470
|
}>> & Readonly<{
|
|
1471
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1472
1471
|
"onUpdate:modelValue"?: (value: Key | Key[]) => any;
|
|
1472
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1473
1473
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1474
1474
|
"onUpdate:expandedKeys"?: (keys: Key[]) => any;
|
|
1475
1475
|
}>, {
|
|
1476
1476
|
class: string;
|
|
1477
|
-
open: boolean;
|
|
1478
1477
|
disabled: boolean;
|
|
1479
1478
|
modelValue: Key | Key[];
|
|
1480
1479
|
defaultValue: Key | Key[];
|
|
1480
|
+
open: boolean;
|
|
1481
1481
|
defaultOpen: boolean;
|
|
1482
1482
|
placeholder: string;
|
|
1483
1483
|
multiple: boolean;
|
|
@@ -1491,7 +1491,7 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
|
|
|
1491
1491
|
defaultExpandedKeys: Key[];
|
|
1492
1492
|
defaultExpandAll: boolean;
|
|
1493
1493
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1494
|
-
declare const _default$
|
|
1494
|
+
declare const _default$49: typeof __VLS_export$40;
|
|
1495
1495
|
//#endregion
|
|
1496
1496
|
//#region src/components/select/types.d.ts
|
|
1497
1497
|
interface SelectItemOption {
|
|
@@ -1506,10 +1506,10 @@ declare var __VLS_46: {
|
|
|
1506
1506
|
label: string;
|
|
1507
1507
|
selected: boolean;
|
|
1508
1508
|
};
|
|
1509
|
-
type __VLS_Slots$
|
|
1509
|
+
type __VLS_Slots$28 = {} & {
|
|
1510
1510
|
item?: (props: typeof __VLS_46) => any;
|
|
1511
1511
|
};
|
|
1512
|
-
declare const __VLS_base$
|
|
1512
|
+
declare const __VLS_base$28: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1513
1513
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1514
1514
|
items: {
|
|
1515
1515
|
type: PropType<(string | SelectItemOption)[]>;
|
|
@@ -1549,8 +1549,8 @@ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").Extract
|
|
|
1549
1549
|
default: any;
|
|
1550
1550
|
};
|
|
1551
1551
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1552
|
-
"update:open": (open: boolean) => any;
|
|
1553
1552
|
"update:modelValue": (value: string) => any;
|
|
1553
|
+
"update:open": (open: boolean) => any;
|
|
1554
1554
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1555
1555
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1556
1556
|
items: {
|
|
@@ -1591,20 +1591,20 @@ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").Extract
|
|
|
1591
1591
|
default: any;
|
|
1592
1592
|
};
|
|
1593
1593
|
}>> & Readonly<{
|
|
1594
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1595
1594
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1595
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1596
1596
|
}>, {
|
|
1597
|
-
open: boolean;
|
|
1598
1597
|
modelValue: string;
|
|
1599
1598
|
defaultValue: string;
|
|
1599
|
+
open: boolean;
|
|
1600
1600
|
defaultOpen: boolean;
|
|
1601
1601
|
placeholder: string;
|
|
1602
1602
|
contentClass: string;
|
|
1603
1603
|
triggerClass: string;
|
|
1604
1604
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1605
|
-
declare const __VLS_export$
|
|
1606
|
-
declare const _default$37: typeof __VLS_export$
|
|
1607
|
-
type __VLS_WithSlots$
|
|
1605
|
+
declare const __VLS_export$39: __VLS_WithSlots$28<typeof __VLS_base$28, __VLS_Slots$28>;
|
|
1606
|
+
declare const _default$37: typeof __VLS_export$39;
|
|
1607
|
+
type __VLS_WithSlots$28<T, S> = T & {
|
|
1608
1608
|
new (): {
|
|
1609
1609
|
$slots: S;
|
|
1610
1610
|
};
|
|
@@ -1623,23 +1623,23 @@ type __VLS_Props$11 = {
|
|
|
1623
1623
|
disabled?: boolean;
|
|
1624
1624
|
class?: string;
|
|
1625
1625
|
};
|
|
1626
|
-
declare const __VLS_export$
|
|
1626
|
+
declare const __VLS_export$38: import("vue").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1627
1627
|
"update:modelValue": (value: number[]) => any;
|
|
1628
1628
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1629
1629
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
1630
1630
|
}>, {
|
|
1631
|
-
max: number;
|
|
1632
1631
|
min: number;
|
|
1632
|
+
max: number;
|
|
1633
1633
|
step: number;
|
|
1634
1634
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1635
|
-
declare const _default$40: typeof __VLS_export$
|
|
1635
|
+
declare const _default$40: typeof __VLS_export$38;
|
|
1636
1636
|
//#endregion
|
|
1637
1637
|
//#region src/components/switch/Switch.vue.d.ts
|
|
1638
1638
|
declare var __VLS_32: {};
|
|
1639
|
-
type __VLS_Slots$
|
|
1639
|
+
type __VLS_Slots$27 = {} & {
|
|
1640
1640
|
default?: (props: typeof __VLS_32) => any;
|
|
1641
1641
|
};
|
|
1642
|
-
declare const __VLS_base$
|
|
1642
|
+
declare const __VLS_base$27: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1643
1643
|
checked: {
|
|
1644
1644
|
type: PropType<boolean | undefined>;
|
|
1645
1645
|
default: any;
|
|
@@ -1683,9 +1683,9 @@ declare const __VLS_base$26: import("vue").DefineComponent<import("vue").Extract
|
|
|
1683
1683
|
defaultChecked: boolean;
|
|
1684
1684
|
disabled: boolean;
|
|
1685
1685
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1686
|
-
declare const __VLS_export$
|
|
1687
|
-
declare const _default$42: typeof __VLS_export$
|
|
1688
|
-
type __VLS_WithSlots$
|
|
1686
|
+
declare const __VLS_export$37: __VLS_WithSlots$27<typeof __VLS_base$27, __VLS_Slots$27>;
|
|
1687
|
+
declare const _default$42: typeof __VLS_export$37;
|
|
1688
|
+
type __VLS_WithSlots$27<T, S> = T & {
|
|
1689
1689
|
new (): {
|
|
1690
1690
|
$slots: S;
|
|
1691
1691
|
};
|
|
@@ -1700,15 +1700,15 @@ type __VLS_ModelProps$1 = {
|
|
|
1700
1700
|
modelValue?: string | number;
|
|
1701
1701
|
};
|
|
1702
1702
|
type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
|
|
1703
|
-
declare const __VLS_export$
|
|
1703
|
+
declare const __VLS_export$36: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1704
1704
|
"update:modelValue": (value: string | number) => any;
|
|
1705
1705
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
1706
1706
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
1707
1707
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1708
|
-
declare const _default$45: typeof __VLS_export$
|
|
1708
|
+
declare const _default$45: typeof __VLS_export$36;
|
|
1709
1709
|
//#endregion
|
|
1710
1710
|
//#region src/components/year-picker/YearPicker.vue.d.ts
|
|
1711
|
-
declare const __VLS_export$
|
|
1711
|
+
declare const __VLS_export$35: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1712
1712
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1713
1713
|
modelValue: {
|
|
1714
1714
|
type: PropType<string | null | undefined>;
|
|
@@ -1769,8 +1769,8 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
|
|
|
1769
1769
|
default: any;
|
|
1770
1770
|
};
|
|
1771
1771
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1772
|
-
"update:open": (open: boolean) => any;
|
|
1773
1772
|
"update:modelValue": (value: string) => any;
|
|
1773
|
+
"update:open": (open: boolean) => any;
|
|
1774
1774
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1775
1775
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1776
1776
|
modelValue: {
|
|
@@ -1832,24 +1832,24 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
|
|
|
1832
1832
|
default: any;
|
|
1833
1833
|
};
|
|
1834
1834
|
}>> & Readonly<{
|
|
1835
|
-
"onUpdate:open"?: (open: boolean) => any;
|
|
1836
1835
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1836
|
+
"onUpdate:open"?: (open: boolean) => any;
|
|
1837
1837
|
}>, {
|
|
1838
1838
|
class: string;
|
|
1839
|
-
max: string;
|
|
1840
|
-
open: boolean;
|
|
1841
1839
|
disabled: boolean;
|
|
1842
1840
|
modelValue: string;
|
|
1843
1841
|
defaultValue: string;
|
|
1842
|
+
open: boolean;
|
|
1844
1843
|
defaultOpen: boolean;
|
|
1845
1844
|
placeholder: string;
|
|
1846
1845
|
invalid: boolean;
|
|
1847
1846
|
readOnly: boolean;
|
|
1848
1847
|
min: string;
|
|
1848
|
+
max: string;
|
|
1849
1849
|
closeOnSelect: boolean;
|
|
1850
1850
|
locale: string;
|
|
1851
1851
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1852
|
-
declare const _default$
|
|
1852
|
+
declare const _default$51: typeof __VLS_export$35;
|
|
1853
1853
|
//#endregion
|
|
1854
1854
|
//#region src/components/form-render/types.d.ts
|
|
1855
1855
|
/**
|
|
@@ -1908,15 +1908,15 @@ type RadioGroupWidgetOptions = Omit<SfcOptions<typeof _default$36>, "items"> & {
|
|
|
1908
1908
|
items: SelectItemOption[];
|
|
1909
1909
|
};
|
|
1910
1910
|
/** TreeSelect / Cascader:选项 prop 原名 options,受控走 modelValue(ControlledKey 自动剔除) */
|
|
1911
|
-
type TreeSelectWidgetOptions = SfcOptions<typeof _default$
|
|
1911
|
+
type TreeSelectWidgetOptions = SfcOptions<typeof _default$49>;
|
|
1912
1912
|
type CascaderWidgetOptions = SfcOptions<typeof _default$8>;
|
|
1913
1913
|
type SliderWidgetOptions = SfcOptions<typeof _default$40>;
|
|
1914
1914
|
/** picker 三组件 props 面不同(DatePicker 有 isDateUnavailable/max/min,Month/Year 有 locale),各自派生 */
|
|
1915
1915
|
type DatePickerWidgetOptions = SfcOptions<typeof _default$12>;
|
|
1916
1916
|
type MonthPickerWidgetOptions = SfcOptions<typeof _default$29>;
|
|
1917
|
-
type YearPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1917
|
+
type YearPickerWidgetOptions = SfcOptions<typeof _default$51>;
|
|
1918
1918
|
type DateRangeWidgetOptions = SfcOptions<typeof _default$13>;
|
|
1919
|
-
type WeekPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1919
|
+
type WeekPickerWidgetOptions = SfcOptions<typeof _default$50>;
|
|
1920
1920
|
/**
|
|
1921
1921
|
* widget 注册表类型契约:实现对象在 widgets/index.ts。
|
|
1922
1922
|
* 类型集中于此避免循环依赖(type-only import 无运行时环)。
|
|
@@ -1978,10 +1978,10 @@ interface FormRenderDefinition<T extends object> {
|
|
|
1978
1978
|
//#endregion
|
|
1979
1979
|
//#region src/components/form-render/FormRender.vue.d.ts
|
|
1980
1980
|
declare var __VLS_6: {};
|
|
1981
|
-
type __VLS_Slots$
|
|
1981
|
+
type __VLS_Slots$26 = {} & {
|
|
1982
1982
|
actions?: (props: typeof __VLS_6) => any;
|
|
1983
1983
|
};
|
|
1984
|
-
declare const __VLS_base$
|
|
1984
|
+
declare const __VLS_base$26: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1985
1985
|
/** 聚合式(推荐):defineForm 返回的定义对象 */
|
|
1986
1986
|
definition: {
|
|
1987
1987
|
type: PropType<FormRenderDefinition<any>>;
|
|
@@ -2087,9 +2087,9 @@ declare const __VLS_base$25: import("vue").DefineComponent<import("vue").Extract
|
|
|
2087
2087
|
resetable: boolean;
|
|
2088
2088
|
cancelable: boolean;
|
|
2089
2089
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2090
|
-
declare const __VLS_export$
|
|
2091
|
-
declare const _default$25: typeof __VLS_export$
|
|
2092
|
-
type __VLS_WithSlots$
|
|
2090
|
+
declare const __VLS_export$34: __VLS_WithSlots$26<typeof __VLS_base$26, __VLS_Slots$26>;
|
|
2091
|
+
declare const _default$25: typeof __VLS_export$34;
|
|
2092
|
+
type __VLS_WithSlots$26<T, S> = T & {
|
|
2093
2093
|
new (): {
|
|
2094
2094
|
$slots: S;
|
|
2095
2095
|
};
|
|
@@ -2176,7 +2176,7 @@ export declare function bindField(field: AnyFieldApi, spec: BindingSpec): {
|
|
|
2176
2176
|
};
|
|
2177
2177
|
//#endregion
|
|
2178
2178
|
//#region src/components/avatar/Avatar.vue.d.ts
|
|
2179
|
-
interface Props$
|
|
2179
|
+
interface Props$8 {
|
|
2180
2180
|
src?: string;
|
|
2181
2181
|
alt?: string;
|
|
2182
2182
|
/** 图片加载失败时的备用图片地址(自动切换;备用图也失败时回落 Fallback 并再次触发 error) */
|
|
@@ -2193,24 +2193,24 @@ interface Props$7 {
|
|
|
2193
2193
|
class?: string;
|
|
2194
2194
|
}
|
|
2195
2195
|
declare var __VLS_21: {}, __VLS_23: {};
|
|
2196
|
-
type __VLS_Slots$
|
|
2196
|
+
type __VLS_Slots$25 = {} & {
|
|
2197
2197
|
placeholder?: (props: typeof __VLS_21) => any;
|
|
2198
2198
|
} & {
|
|
2199
2199
|
default?: (props: typeof __VLS_23) => any;
|
|
2200
2200
|
};
|
|
2201
|
-
declare const __VLS_base$
|
|
2201
|
+
declare const __VLS_base$25: import("vue").DefineComponent<Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2202
2202
|
error: (details: Avatar.StatusChangeDetails) => any;
|
|
2203
2203
|
load: (details: Avatar.StatusChangeDetails) => any;
|
|
2204
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
2204
|
+
}, string, import("vue").PublicProps, Readonly<Props$8> & Readonly<{
|
|
2205
2205
|
onError?: (details: Avatar.StatusChangeDetails) => any;
|
|
2206
2206
|
onLoad?: (details: Avatar.StatusChangeDetails) => any;
|
|
2207
2207
|
}>, {
|
|
2208
2208
|
shape: AvatarVariants["shape"];
|
|
2209
2209
|
objectFit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
2210
2210
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2211
|
-
declare const __VLS_export$
|
|
2212
|
-
declare const _default$2: typeof __VLS_export$
|
|
2213
|
-
type __VLS_WithSlots$
|
|
2211
|
+
declare const __VLS_export$33: __VLS_WithSlots$25<typeof __VLS_base$25, __VLS_Slots$25>;
|
|
2212
|
+
declare const _default$2: typeof __VLS_export$33;
|
|
2213
|
+
type __VLS_WithSlots$25<T, S> = T & {
|
|
2214
2214
|
new (): {
|
|
2215
2215
|
$slots: S;
|
|
2216
2216
|
};
|
|
@@ -2218,7 +2218,7 @@ type __VLS_WithSlots$24<T, S> = T & {
|
|
|
2218
2218
|
//#endregion
|
|
2219
2219
|
//#region src/components/avatar/index.d.ts
|
|
2220
2220
|
export declare const avatarVariants: (props?: {
|
|
2221
|
-
size?: "
|
|
2221
|
+
size?: "xs" | "sm" | "md" | "lg";
|
|
2222
2222
|
shape?: "circle" | "square";
|
|
2223
2223
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2224
2224
|
export type AvatarVariants = VariantProps<typeof avatarVariants>;
|
|
@@ -2229,7 +2229,7 @@ export interface AvatarGroupContext {
|
|
|
2229
2229
|
export declare const avatarGroupKey: InjectionKey<AvatarGroupContext>;
|
|
2230
2230
|
//#endregion
|
|
2231
2231
|
//#region src/components/avatar-group/AvatarGroup.vue.d.ts
|
|
2232
|
-
interface Props$
|
|
2232
|
+
interface Props$7 {
|
|
2233
2233
|
/** 最多展示的子头像数,超出折叠为 +N 尾巴(按 default 插槽内子 Avatar 计数) */
|
|
2234
2234
|
max?: number;
|
|
2235
2235
|
vertical?: boolean;
|
|
@@ -2244,31 +2244,31 @@ interface Props$6 {
|
|
|
2244
2244
|
declare var __VLS_12: {
|
|
2245
2245
|
rest: number;
|
|
2246
2246
|
};
|
|
2247
|
-
type __VLS_Slots$
|
|
2247
|
+
type __VLS_Slots$24 = {} & {
|
|
2248
2248
|
rest?: (props: typeof __VLS_12) => any;
|
|
2249
2249
|
};
|
|
2250
|
-
declare const __VLS_base$
|
|
2251
|
-
declare const __VLS_export$
|
|
2252
|
-
declare const _default$3: typeof __VLS_export$
|
|
2253
|
-
type __VLS_WithSlots$
|
|
2250
|
+
declare const __VLS_base$24: import("vue").DefineComponent<Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2251
|
+
declare const __VLS_export$32: __VLS_WithSlots$24<typeof __VLS_base$24, __VLS_Slots$24>;
|
|
2252
|
+
declare const _default$3: typeof __VLS_export$32;
|
|
2253
|
+
type __VLS_WithSlots$24<T, S> = T & {
|
|
2254
2254
|
new (): {
|
|
2255
2255
|
$slots: S;
|
|
2256
2256
|
};
|
|
2257
2257
|
};
|
|
2258
2258
|
//#endregion
|
|
2259
2259
|
//#region src/components/badge/Badge.vue.d.ts
|
|
2260
|
-
interface Props$
|
|
2260
|
+
interface Props$6 {
|
|
2261
2261
|
variant?: BadgeVariants["variant"];
|
|
2262
2262
|
class?: string;
|
|
2263
2263
|
}
|
|
2264
|
-
declare var __VLS_1$
|
|
2265
|
-
type __VLS_Slots$
|
|
2266
|
-
default?: (props: typeof __VLS_1$
|
|
2264
|
+
declare var __VLS_1$10: {};
|
|
2265
|
+
type __VLS_Slots$23 = {} & {
|
|
2266
|
+
default?: (props: typeof __VLS_1$10) => any;
|
|
2267
2267
|
};
|
|
2268
|
-
declare const __VLS_base$
|
|
2269
|
-
declare const __VLS_export$
|
|
2270
|
-
declare const _default$4: typeof __VLS_export$
|
|
2271
|
-
type __VLS_WithSlots$
|
|
2268
|
+
declare const __VLS_base$23: import("vue").DefineComponent<Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2269
|
+
declare const __VLS_export$31: __VLS_WithSlots$23<typeof __VLS_base$23, __VLS_Slots$23>;
|
|
2270
|
+
declare const _default$4: typeof __VLS_export$31;
|
|
2271
|
+
type __VLS_WithSlots$23<T, S> = T & {
|
|
2272
2272
|
new (): {
|
|
2273
2273
|
$slots: S;
|
|
2274
2274
|
};
|
|
@@ -2281,7 +2281,7 @@ export declare const badgeVariants: (props?: {
|
|
|
2281
2281
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
2282
2282
|
//#endregion
|
|
2283
2283
|
//#region src/components/button/Button.vue.d.ts
|
|
2284
|
-
interface Props$
|
|
2284
|
+
interface Props$5 {
|
|
2285
2285
|
variant?: ButtonVariants["variant"];
|
|
2286
2286
|
size?: ButtonVariants["size"];
|
|
2287
2287
|
as?: string;
|
|
@@ -2289,19 +2289,19 @@ interface Props$4 {
|
|
|
2289
2289
|
class?: string;
|
|
2290
2290
|
}
|
|
2291
2291
|
declare var __VLS_8: {}, __VLS_17$1: {}, __VLS_19: {};
|
|
2292
|
-
type __VLS_Slots$
|
|
2292
|
+
type __VLS_Slots$22 = {} & {
|
|
2293
2293
|
default?: (props: typeof __VLS_8) => any;
|
|
2294
2294
|
} & {
|
|
2295
2295
|
icon?: (props: typeof __VLS_17$1) => any;
|
|
2296
2296
|
} & {
|
|
2297
2297
|
default?: (props: typeof __VLS_19) => any;
|
|
2298
2298
|
};
|
|
2299
|
-
declare const __VLS_base$
|
|
2299
|
+
declare const __VLS_base$22: import("vue").DefineComponent<Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$5> & Readonly<{}>, {
|
|
2300
2300
|
as: string;
|
|
2301
2301
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2302
|
-
declare const __VLS_export$
|
|
2303
|
-
declare const _default$5: typeof __VLS_export$
|
|
2304
|
-
type __VLS_WithSlots$
|
|
2302
|
+
declare const __VLS_export$30: __VLS_WithSlots$22<typeof __VLS_base$22, __VLS_Slots$22>;
|
|
2303
|
+
declare const _default$5: typeof __VLS_export$30;
|
|
2304
|
+
type __VLS_WithSlots$22<T, S> = T & {
|
|
2305
2305
|
new (): {
|
|
2306
2306
|
$slots: S;
|
|
2307
2307
|
};
|
|
@@ -2310,12 +2310,12 @@ type __VLS_WithSlots$21<T, S> = T & {
|
|
|
2310
2310
|
//#region src/components/button/index.d.ts
|
|
2311
2311
|
export declare const buttonVariants: (props?: {
|
|
2312
2312
|
variant?: "default" | "secondary" | "destructive" | "outline" | "ghost" | "link";
|
|
2313
|
-
size?: "sm" | "
|
|
2313
|
+
size?: "sm" | "lg" | "default" | "icon";
|
|
2314
2314
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
2315
2315
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
2316
2316
|
//#endregion
|
|
2317
2317
|
//#region src/components/calendar/Calendar.vue.d.ts
|
|
2318
|
-
declare const __VLS_export$
|
|
2318
|
+
declare const __VLS_export$29: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2319
2319
|
/** 视图形态:day=日网格(可切月/年);standalone 时 month/year 同时派生视图锁定 */
|
|
2320
2320
|
mode: {
|
|
2321
2321
|
type: PropType<"day" | "month" | "year">;
|
|
@@ -2412,20 +2412,20 @@ declare const __VLS_export$28: import("vue").DefineComponent<import("vue").Extra
|
|
|
2412
2412
|
}>> & Readonly<{
|
|
2413
2413
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
2414
2414
|
}>, {
|
|
2415
|
-
|
|
2415
|
+
mode: "day" | "month" | "year";
|
|
2416
2416
|
modelValue: string;
|
|
2417
2417
|
defaultValue: string;
|
|
2418
2418
|
min: string;
|
|
2419
|
+
max: string;
|
|
2419
2420
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2420
2421
|
locale: string;
|
|
2421
|
-
mode: "day" | "month" | "year";
|
|
2422
2422
|
numOfMonths: number;
|
|
2423
2423
|
week: boolean;
|
|
2424
2424
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2425
|
-
declare const _default$6: typeof __VLS_export$
|
|
2425
|
+
declare const _default$6: typeof __VLS_export$29;
|
|
2426
2426
|
//#endregion
|
|
2427
2427
|
//#region src/components/card/Card.vue.d.ts
|
|
2428
|
-
interface Props$
|
|
2428
|
+
interface Props$4 {
|
|
2429
2429
|
/** 标题文案,渲染进头部(#title / #header 插槽可覆盖) */
|
|
2430
2430
|
title?: string;
|
|
2431
2431
|
/** 描述文案,渲染进头部(#description / #header 插槽可覆盖) */
|
|
@@ -2446,9 +2446,9 @@ interface Props$3 {
|
|
|
2446
2446
|
closable?: boolean;
|
|
2447
2447
|
class?: string;
|
|
2448
2448
|
}
|
|
2449
|
-
declare var __VLS_1$
|
|
2450
|
-
type __VLS_Slots$
|
|
2451
|
-
cover?: (props: typeof __VLS_1$
|
|
2449
|
+
declare var __VLS_1$9: {}, __VLS_3$2: {}, __VLS_5$1: {}, __VLS_7$1: {}, __VLS_9$1: {}, __VLS_11: {}, __VLS_13: {};
|
|
2450
|
+
type __VLS_Slots$21 = {} & {
|
|
2451
|
+
cover?: (props: typeof __VLS_1$9) => any;
|
|
2452
2452
|
} & {
|
|
2453
2453
|
header?: (props: typeof __VLS_3$2) => any;
|
|
2454
2454
|
} & {
|
|
@@ -2462,9 +2462,9 @@ type __VLS_Slots$20 = {} & {
|
|
|
2462
2462
|
} & {
|
|
2463
2463
|
footer?: (props: typeof __VLS_13) => any;
|
|
2464
2464
|
};
|
|
2465
|
-
declare const __VLS_base$
|
|
2465
|
+
declare const __VLS_base$21: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2466
2466
|
close: () => any;
|
|
2467
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
2467
|
+
}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{
|
|
2468
2468
|
onClose?: () => any;
|
|
2469
2469
|
}>, {
|
|
2470
2470
|
size: CardVariants["size"];
|
|
@@ -2472,9 +2472,9 @@ declare const __VLS_base$20: import("vue").DefineComponent<Props$3, {}, {}, {},
|
|
|
2472
2472
|
title: string;
|
|
2473
2473
|
description: string;
|
|
2474
2474
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2475
|
-
declare const __VLS_export$
|
|
2476
|
-
declare const _default$7: typeof __VLS_export$
|
|
2477
|
-
type __VLS_WithSlots$
|
|
2475
|
+
declare const __VLS_export$28: __VLS_WithSlots$21<typeof __VLS_base$21, __VLS_Slots$21>;
|
|
2476
|
+
declare const _default$7: typeof __VLS_export$28;
|
|
2477
|
+
type __VLS_WithSlots$21<T, S> = T & {
|
|
2478
2478
|
new (): {
|
|
2479
2479
|
$slots: S;
|
|
2480
2480
|
};
|
|
@@ -2482,7 +2482,7 @@ type __VLS_WithSlots$20<T, S> = T & {
|
|
|
2482
2482
|
//#endregion
|
|
2483
2483
|
//#region src/components/card/index.d.ts
|
|
2484
2484
|
export declare const cardVariants: (props?: {
|
|
2485
|
-
size?: "sm" | "
|
|
2485
|
+
size?: "sm" | "lg" | "default";
|
|
2486
2486
|
bordered?: boolean;
|
|
2487
2487
|
hoverable?: boolean;
|
|
2488
2488
|
interactive?: boolean;
|
|
@@ -2497,7 +2497,7 @@ declare function close$1(): void;
|
|
|
2497
2497
|
declare var __VLS_16$5: {}, __VLS_41$2: {}, __VLS_49$1: {}, __VLS_51$1: {}, __VLS_53$1: {
|
|
2498
2498
|
close: typeof close$1;
|
|
2499
2499
|
};
|
|
2500
|
-
type __VLS_Slots$
|
|
2500
|
+
type __VLS_Slots$20 = {} & {
|
|
2501
2501
|
trigger?: (props: typeof __VLS_16$5) => any;
|
|
2502
2502
|
} & {
|
|
2503
2503
|
title?: (props: typeof __VLS_41$2) => any;
|
|
@@ -2508,7 +2508,7 @@ type __VLS_Slots$19 = {} & {
|
|
|
2508
2508
|
} & {
|
|
2509
2509
|
footer?: (props: typeof __VLS_53$1) => any;
|
|
2510
2510
|
};
|
|
2511
|
-
declare const __VLS_base$
|
|
2511
|
+
declare const __VLS_base$20: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2512
2512
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
2513
2513
|
open: {
|
|
2514
2514
|
type: PropType<boolean | undefined>;
|
|
@@ -2595,18 +2595,18 @@ declare const __VLS_base$19: import("vue").DefineComponent<import("vue").Extract
|
|
|
2595
2595
|
}>> & Readonly<{
|
|
2596
2596
|
"onUpdate:open"?: (open: boolean) => any;
|
|
2597
2597
|
}>, {
|
|
2598
|
-
title: string;
|
|
2599
|
-
description: string;
|
|
2600
2598
|
open: boolean;
|
|
2601
2599
|
defaultOpen: boolean;
|
|
2602
2600
|
lazyMount: boolean;
|
|
2603
2601
|
unmountOnExit: boolean;
|
|
2604
|
-
|
|
2602
|
+
title: string;
|
|
2603
|
+
description: string;
|
|
2605
2604
|
showCloseButton: boolean;
|
|
2605
|
+
contentClass: string;
|
|
2606
2606
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2607
|
-
declare const __VLS_export$
|
|
2608
|
-
declare const _default$14: typeof __VLS_export$
|
|
2609
|
-
type __VLS_WithSlots$
|
|
2607
|
+
declare const __VLS_export$27: __VLS_WithSlots$20<typeof __VLS_base$20, __VLS_Slots$20>;
|
|
2608
|
+
declare const _default$14: typeof __VLS_export$27;
|
|
2609
|
+
type __VLS_WithSlots$20<T, S> = T & {
|
|
2610
2610
|
new (): {
|
|
2611
2611
|
$slots: S;
|
|
2612
2612
|
};
|
|
@@ -2640,12 +2640,12 @@ declare var __VLS_17: {}, __VLS_38: {
|
|
|
2640
2640
|
type: "item";
|
|
2641
2641
|
}>;
|
|
2642
2642
|
};
|
|
2643
|
-
type __VLS_Slots$
|
|
2643
|
+
type __VLS_Slots$19 = {} & {
|
|
2644
2644
|
default?: (props: typeof __VLS_17) => any;
|
|
2645
2645
|
} & {
|
|
2646
2646
|
item?: (props: typeof __VLS_38) => any;
|
|
2647
2647
|
};
|
|
2648
|
-
declare const __VLS_base$
|
|
2648
|
+
declare const __VLS_base$19: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2649
2649
|
/** 菜单项描述列表(item/label/separator/group 四种形态,group 可嵌套) */
|
|
2650
2650
|
items: {
|
|
2651
2651
|
type: PropType<MenuItemOption[]>;
|
|
@@ -2729,9 +2729,9 @@ declare const __VLS_base$18: import("vue").DefineComponent<import("vue").Extract
|
|
|
2729
2729
|
contentClass: string;
|
|
2730
2730
|
triggerClass: string;
|
|
2731
2731
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2732
|
-
declare const __VLS_export$
|
|
2733
|
-
declare const _default$16: typeof __VLS_export$
|
|
2734
|
-
type __VLS_WithSlots$
|
|
2732
|
+
declare const __VLS_export$26: __VLS_WithSlots$19<typeof __VLS_base$19, __VLS_Slots$19>;
|
|
2733
|
+
declare const _default$16: typeof __VLS_export$26;
|
|
2734
|
+
type __VLS_WithSlots$19<T, S> = T & {
|
|
2735
2735
|
new (): {
|
|
2736
2736
|
$slots: S;
|
|
2737
2737
|
};
|
|
@@ -2747,14 +2747,14 @@ type __VLS_Props$9 = {
|
|
|
2747
2747
|
form: FormInstance;
|
|
2748
2748
|
class?: string;
|
|
2749
2749
|
};
|
|
2750
|
-
declare var __VLS_1$
|
|
2751
|
-
type __VLS_Slots$
|
|
2752
|
-
default?: (props: typeof __VLS_1$
|
|
2750
|
+
declare var __VLS_1$8: {};
|
|
2751
|
+
type __VLS_Slots$18 = {} & {
|
|
2752
|
+
default?: (props: typeof __VLS_1$8) => any;
|
|
2753
2753
|
};
|
|
2754
|
-
declare const __VLS_base$
|
|
2755
|
-
declare const __VLS_export$
|
|
2756
|
-
declare const _default$18: typeof __VLS_export$
|
|
2757
|
-
type __VLS_WithSlots$
|
|
2754
|
+
declare const __VLS_base$18: import("vue").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$9> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
2755
|
+
declare const __VLS_export$25: __VLS_WithSlots$18<typeof __VLS_base$18, __VLS_Slots$18>;
|
|
2756
|
+
declare const _default$18: typeof __VLS_export$25;
|
|
2757
|
+
type __VLS_WithSlots$18<T, S> = T & {
|
|
2758
2758
|
new (): {
|
|
2759
2759
|
$slots: S;
|
|
2760
2760
|
};
|
|
@@ -2765,8 +2765,8 @@ type __VLS_WithSlots$17<T, S> = T & {
|
|
|
2765
2765
|
* 把 id / aria-invalid / aria-describedby 合并到唯一子元素(cloneVNode)。
|
|
2766
2766
|
* aria 全同步计算:description/message 的 presence 由 FormItem 的 refs 提供。
|
|
2767
2767
|
*/
|
|
2768
|
-
declare const _default$19: typeof __VLS_export$
|
|
2769
|
-
declare const __VLS_export$
|
|
2768
|
+
declare const _default$19: typeof __VLS_export$24;
|
|
2769
|
+
declare const __VLS_export$24: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2770
2770
|
class: {
|
|
2771
2771
|
type: StringConstructor;
|
|
2772
2772
|
default: any;
|
|
@@ -2786,14 +2786,14 @@ declare const __VLS_export$23: import("vue").DefineComponent<import("vue").Extra
|
|
|
2786
2786
|
type __VLS_Props$8 = {
|
|
2787
2787
|
class?: string;
|
|
2788
2788
|
};
|
|
2789
|
-
declare var __VLS_1$
|
|
2790
|
-
type __VLS_Slots$
|
|
2791
|
-
default?: (props: typeof __VLS_1$
|
|
2789
|
+
declare var __VLS_1$7: {};
|
|
2790
|
+
type __VLS_Slots$17 = {} & {
|
|
2791
|
+
default?: (props: typeof __VLS_1$7) => any;
|
|
2792
2792
|
};
|
|
2793
|
-
declare const __VLS_base$
|
|
2794
|
-
declare const __VLS_export$
|
|
2795
|
-
declare const _default$20: typeof __VLS_export$
|
|
2796
|
-
type __VLS_WithSlots$
|
|
2793
|
+
declare const __VLS_base$17: import("vue").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$8> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2794
|
+
declare const __VLS_export$23: __VLS_WithSlots$17<typeof __VLS_base$17, __VLS_Slots$17>;
|
|
2795
|
+
declare const _default$20: typeof __VLS_export$23;
|
|
2796
|
+
type __VLS_WithSlots$17<T, S> = T & {
|
|
2797
2797
|
new (): {
|
|
2798
2798
|
$slots: S;
|
|
2799
2799
|
};
|
|
@@ -2805,8 +2805,8 @@ type __VLS_WithSlots$16<T, S> = T & {
|
|
|
2805
2805
|
* field 实例只能在 form.Field 的插槽执行期取得(时序早于子组件 setup),
|
|
2806
2806
|
* 故用 defineComponent + render function 在插槽回调中写入 ShallowRef。
|
|
2807
2807
|
*/
|
|
2808
|
-
declare const _default$21: typeof __VLS_export$
|
|
2809
|
-
declare const __VLS_export$
|
|
2808
|
+
declare const _default$21: typeof __VLS_export$22;
|
|
2809
|
+
declare const __VLS_export$22: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2810
2810
|
/** 字段名(TanStack 深层 key 的运行时形态) */
|
|
2811
2811
|
name: {
|
|
2812
2812
|
type: StringConstructor;
|
|
@@ -2848,14 +2848,14 @@ declare const __VLS_export$21: import("vue").DefineComponent<import("vue").Extra
|
|
|
2848
2848
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2849
2849
|
//#endregion
|
|
2850
2850
|
//#region src/components/form/FormItem.vue.d.ts
|
|
2851
|
-
declare var __VLS_1$
|
|
2852
|
-
type __VLS_Slots$
|
|
2853
|
-
default?: (props: typeof __VLS_1$
|
|
2851
|
+
declare var __VLS_1$6: {};
|
|
2852
|
+
type __VLS_Slots$16 = {} & {
|
|
2853
|
+
default?: (props: typeof __VLS_1$6) => any;
|
|
2854
2854
|
};
|
|
2855
|
-
declare const __VLS_base$
|
|
2856
|
-
declare const __VLS_export$
|
|
2857
|
-
declare const _default$22: typeof __VLS_export$
|
|
2858
|
-
type __VLS_WithSlots$
|
|
2855
|
+
declare const __VLS_base$16: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2856
|
+
declare const __VLS_export$21: __VLS_WithSlots$16<typeof __VLS_base$16, __VLS_Slots$16>;
|
|
2857
|
+
declare const _default$22: typeof __VLS_export$21;
|
|
2858
|
+
type __VLS_WithSlots$16<T, S> = T & {
|
|
2859
2859
|
new (): {
|
|
2860
2860
|
$slots: S;
|
|
2861
2861
|
};
|
|
@@ -2865,14 +2865,14 @@ type __VLS_WithSlots$15<T, S> = T & {
|
|
|
2865
2865
|
type __VLS_Props$7 = {
|
|
2866
2866
|
class?: string;
|
|
2867
2867
|
};
|
|
2868
|
-
declare var __VLS_1$
|
|
2869
|
-
type __VLS_Slots$
|
|
2870
|
-
default?: (props: typeof __VLS_1$
|
|
2868
|
+
declare var __VLS_1$5: {};
|
|
2869
|
+
type __VLS_Slots$15 = {} & {
|
|
2870
|
+
default?: (props: typeof __VLS_1$5) => any;
|
|
2871
2871
|
};
|
|
2872
|
-
declare const __VLS_base$
|
|
2873
|
-
declare const __VLS_export$
|
|
2874
|
-
declare const _default$23: typeof __VLS_export$
|
|
2875
|
-
type __VLS_WithSlots$
|
|
2872
|
+
declare const __VLS_base$15: import("vue").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$7> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2873
|
+
declare const __VLS_export$20: __VLS_WithSlots$15<typeof __VLS_base$15, __VLS_Slots$15>;
|
|
2874
|
+
declare const _default$23: typeof __VLS_export$20;
|
|
2875
|
+
type __VLS_WithSlots$15<T, S> = T & {
|
|
2876
2876
|
new (): {
|
|
2877
2877
|
$slots: S;
|
|
2878
2878
|
};
|
|
@@ -2884,21 +2884,21 @@ type __VLS_Props$6 = {
|
|
|
2884
2884
|
message?: string;
|
|
2885
2885
|
class?: string;
|
|
2886
2886
|
};
|
|
2887
|
-
declare const __VLS_export$
|
|
2888
|
-
declare const _default$24: typeof __VLS_export$
|
|
2887
|
+
declare const __VLS_export$19: import("vue").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$6> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2888
|
+
declare const _default$24: typeof __VLS_export$19;
|
|
2889
2889
|
//#endregion
|
|
2890
2890
|
//#region src/components/form/FormSubscribe.vue.d.ts
|
|
2891
2891
|
declare var __VLS_9: {
|
|
2892
2892
|
canSubmit: boolean;
|
|
2893
2893
|
isSubmitting: boolean;
|
|
2894
2894
|
};
|
|
2895
|
-
type __VLS_Slots$
|
|
2895
|
+
type __VLS_Slots$14 = {} & {
|
|
2896
2896
|
default?: (props: typeof __VLS_9) => any;
|
|
2897
2897
|
};
|
|
2898
|
-
declare const __VLS_base$
|
|
2899
|
-
declare const __VLS_export$
|
|
2900
|
-
declare const _default$26: typeof __VLS_export$
|
|
2901
|
-
type __VLS_WithSlots$
|
|
2898
|
+
declare const __VLS_base$14: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2899
|
+
declare const __VLS_export$18: __VLS_WithSlots$14<typeof __VLS_base$14, __VLS_Slots$14>;
|
|
2900
|
+
declare const _default$26: typeof __VLS_export$18;
|
|
2901
|
+
type __VLS_WithSlots$14<T, S> = T & {
|
|
2902
2902
|
new (): {
|
|
2903
2903
|
$slots: S;
|
|
2904
2904
|
};
|
|
@@ -2908,14 +2908,14 @@ type __VLS_WithSlots$13<T, S> = T & {
|
|
|
2908
2908
|
type __VLS_Props$5 = {
|
|
2909
2909
|
class?: string;
|
|
2910
2910
|
};
|
|
2911
|
-
declare var __VLS_1$
|
|
2912
|
-
type __VLS_Slots$
|
|
2913
|
-
default?: (props: typeof __VLS_1$
|
|
2911
|
+
declare var __VLS_1$4: {};
|
|
2912
|
+
type __VLS_Slots$13 = {} & {
|
|
2913
|
+
default?: (props: typeof __VLS_1$4) => any;
|
|
2914
2914
|
};
|
|
2915
|
-
declare const __VLS_base$
|
|
2916
|
-
declare const __VLS_export$
|
|
2917
|
-
declare const _default$28: typeof __VLS_export$
|
|
2918
|
-
type __VLS_WithSlots$
|
|
2915
|
+
declare const __VLS_base$13: import("vue").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$5> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2916
|
+
declare const __VLS_export$17: __VLS_WithSlots$13<typeof __VLS_base$13, __VLS_Slots$13>;
|
|
2917
|
+
declare const _default$28: typeof __VLS_export$17;
|
|
2918
|
+
type __VLS_WithSlots$13<T, S> = T & {
|
|
2919
2919
|
new (): {
|
|
2920
2920
|
$slots: S;
|
|
2921
2921
|
};
|
|
@@ -2923,10 +2923,10 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
2923
2923
|
//#endregion
|
|
2924
2924
|
//#region src/components/pin-input/PinInput.vue.d.ts
|
|
2925
2925
|
declare var __VLS_16$4: {};
|
|
2926
|
-
type __VLS_Slots$
|
|
2926
|
+
type __VLS_Slots$12 = {} & {
|
|
2927
2927
|
separator?: (props: typeof __VLS_16$4) => any;
|
|
2928
2928
|
};
|
|
2929
|
-
declare const __VLS_base$
|
|
2929
|
+
declare const __VLS_base$12: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2930
2930
|
/** 受控值:每格一个元素的数组;undefined 走内部非受控 */
|
|
2931
2931
|
modelValue: {
|
|
2932
2932
|
type: PropType<string[] | undefined>;
|
|
@@ -3030,8 +3030,8 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3030
3030
|
onComplete?: (value: string[]) => any;
|
|
3031
3031
|
}>, {
|
|
3032
3032
|
class: string;
|
|
3033
|
-
type: "numeric" | "alphanumeric";
|
|
3034
3033
|
length: number;
|
|
3034
|
+
type: "numeric" | "alphanumeric";
|
|
3035
3035
|
disabled: boolean;
|
|
3036
3036
|
modelValue: string[];
|
|
3037
3037
|
placeholder: string;
|
|
@@ -3041,9 +3041,9 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3041
3041
|
autoSubmit: boolean;
|
|
3042
3042
|
blurOnComplete: boolean;
|
|
3043
3043
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3044
|
-
declare const __VLS_export$
|
|
3045
|
-
declare const _default$32: typeof __VLS_export$
|
|
3046
|
-
type __VLS_WithSlots$
|
|
3044
|
+
declare const __VLS_export$16: __VLS_WithSlots$12<typeof __VLS_base$12, __VLS_Slots$12>;
|
|
3045
|
+
declare const _default$32: typeof __VLS_export$16;
|
|
3046
|
+
type __VLS_WithSlots$12<T, S> = T & {
|
|
3047
3047
|
new (): {
|
|
3048
3048
|
$slots: S;
|
|
3049
3049
|
};
|
|
@@ -3053,12 +3053,12 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
3053
3053
|
/** 面板相对触发器的对齐方向 */
|
|
3054
3054
|
type Align = "start" | "center" | "end";
|
|
3055
3055
|
declare var __VLS_16$3: {}, __VLS_30$1: {};
|
|
3056
|
-
type __VLS_Slots$
|
|
3056
|
+
type __VLS_Slots$11 = {} & {
|
|
3057
3057
|
default?: (props: typeof __VLS_16$3) => any;
|
|
3058
3058
|
} & {
|
|
3059
3059
|
content?: (props: typeof __VLS_30$1) => any;
|
|
3060
3060
|
};
|
|
3061
|
-
declare const __VLS_base$
|
|
3061
|
+
declare const __VLS_base$11: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3062
3062
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
3063
3063
|
open: {
|
|
3064
3064
|
type: PropType<boolean | undefined>;
|
|
@@ -3140,33 +3140,33 @@ declare const __VLS_base$10: import("vue").DefineComponent<import("vue").Extract
|
|
|
3140
3140
|
lazyMount: boolean;
|
|
3141
3141
|
unmountOnExit: boolean;
|
|
3142
3142
|
contentClass: string;
|
|
3143
|
-
contentProps: Record<string, unknown>;
|
|
3144
3143
|
align: Align;
|
|
3144
|
+
contentProps: Record<string, unknown>;
|
|
3145
3145
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3146
|
-
declare const __VLS_export$
|
|
3147
|
-
declare const _default$34: typeof __VLS_export$
|
|
3148
|
-
type __VLS_WithSlots$
|
|
3146
|
+
declare const __VLS_export$15: __VLS_WithSlots$11<typeof __VLS_base$11, __VLS_Slots$11>;
|
|
3147
|
+
declare const _default$34: typeof __VLS_export$15;
|
|
3148
|
+
type __VLS_WithSlots$11<T, S> = T & {
|
|
3149
3149
|
new (): {
|
|
3150
3150
|
$slots: S;
|
|
3151
3151
|
};
|
|
3152
3152
|
};
|
|
3153
3153
|
//#endregion
|
|
3154
3154
|
//#region src/components/separator/Separator.vue.d.ts
|
|
3155
|
-
interface Props$
|
|
3155
|
+
interface Props$3 {
|
|
3156
3156
|
orientation?: "horizontal" | "vertical";
|
|
3157
3157
|
class?: string;
|
|
3158
3158
|
}
|
|
3159
|
-
declare const __VLS_export$
|
|
3159
|
+
declare const __VLS_export$14: import("vue").DefineComponent<Props$3, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props$3> & Readonly<{}>, {
|
|
3160
3160
|
orientation: "horizontal" | "vertical";
|
|
3161
3161
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3162
|
-
declare const _default$38: typeof __VLS_export$
|
|
3162
|
+
declare const _default$38: typeof __VLS_export$14;
|
|
3163
3163
|
//#endregion
|
|
3164
3164
|
//#region src/components/skeleton/Skeleton.vue.d.ts
|
|
3165
3165
|
type __VLS_Props$4 = {
|
|
3166
3166
|
class?: string;
|
|
3167
3167
|
};
|
|
3168
|
-
declare const __VLS_export$
|
|
3169
|
-
declare const _default$39: typeof __VLS_export$
|
|
3168
|
+
declare const __VLS_export$13: import("vue").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3169
|
+
declare const _default$39: typeof __VLS_export$13;
|
|
3170
3170
|
//#endregion
|
|
3171
3171
|
//#region src/components/slot/Slot.d.ts
|
|
3172
3172
|
/**
|
|
@@ -3424,7 +3424,7 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3424
3424
|
}
|
|
3425
3425
|
//#endregion
|
|
3426
3426
|
//#region src/components/table-render/TableRender.vue.d.ts
|
|
3427
|
-
type __VLS_Slots$
|
|
3427
|
+
type __VLS_Slots$10 = {
|
|
3428
3428
|
empty?: () => VNodeChild;
|
|
3429
3429
|
/** 错误态占位(服务端模式 onLoad 失败时渲染,优先于数据区) */
|
|
3430
3430
|
error?: (props: {
|
|
@@ -3435,7 +3435,7 @@ type __VLS_Slots$9 = {
|
|
|
3435
3435
|
declare function onSort(key: string): void;
|
|
3436
3436
|
declare function onPageIndex(pageIndex: number): void;
|
|
3437
3437
|
declare function onPageSize(pageSize: number): void;
|
|
3438
|
-
declare const __VLS_base$
|
|
3438
|
+
declare const __VLS_base$10: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3439
3439
|
/** 聚合式(推荐):defineTable 返回的定义对象 */
|
|
3440
3440
|
definition: {
|
|
3441
3441
|
type: PropType<TableRenderDefinition<any>>;
|
|
@@ -3672,9 +3672,9 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3672
3672
|
virtual: boolean;
|
|
3673
3673
|
columnSettings: boolean;
|
|
3674
3674
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3675
|
-
declare const __VLS_export$
|
|
3676
|
-
declare const _default$43: typeof __VLS_export$
|
|
3677
|
-
type __VLS_WithSlots$
|
|
3675
|
+
declare const __VLS_export$12: __VLS_WithSlots$10<typeof __VLS_base$10, __VLS_Slots$10>;
|
|
3676
|
+
declare const _default$43: typeof __VLS_export$12;
|
|
3677
|
+
type __VLS_WithSlots$10<T, S> = T & {
|
|
3678
3678
|
new (): {
|
|
3679
3679
|
$slots: S;
|
|
3680
3680
|
};
|
|
@@ -3706,7 +3706,7 @@ export declare function defineTable<T extends DataRecord>(config: DefineTableOpt
|
|
|
3706
3706
|
*/
|
|
3707
3707
|
export declare function useTableRender<T extends DataRecord>(options: UseTableRenderOptions<T>): TableRenderDefinition<T>;
|
|
3708
3708
|
//#endregion
|
|
3709
|
-
//#region src/components/tabs/
|
|
3709
|
+
//#region src/components/tabs/types.d.ts
|
|
3710
3710
|
/** 单个标签页配置项 */
|
|
3711
3711
|
interface TabItem {
|
|
3712
3712
|
/** 唯一标识,同时作为触发按钮与面板的 value */
|
|
@@ -3721,8 +3721,12 @@ interface TabItem {
|
|
|
3721
3721
|
unmountOnExit?: boolean;
|
|
3722
3722
|
/** 追加到触发按钮的样式类 */
|
|
3723
3723
|
class?: string;
|
|
3724
|
+
/** 显示关闭按钮;点击仅发出 close 事件,移除 items 由使用方处理 */
|
|
3725
|
+
closable?: boolean;
|
|
3724
3726
|
}
|
|
3725
|
-
|
|
3727
|
+
//#endregion
|
|
3728
|
+
//#region src/components/tabs/Tabs.vue.d.ts
|
|
3729
|
+
interface Props$2 {
|
|
3726
3730
|
/** 标签页配置列表(必填) */
|
|
3727
3731
|
items: TabItem[];
|
|
3728
3732
|
/** 当前激活的 tab 值(配合 v-model:value);不传时为非受控 */
|
|
@@ -3734,21 +3738,45 @@ interface Props$1 {
|
|
|
3734
3738
|
lazyMount?: boolean;
|
|
3735
3739
|
/** 组件级默认:面板切走即卸载(item.unmountOnExit 优先) */
|
|
3736
3740
|
unmountOnExit?: boolean;
|
|
3741
|
+
/** 方向:horizontal 用 ←/→ 导航,vertical 用 ↑/↓ 导航(透传 Ark,原生默认 horizontal) */
|
|
3742
|
+
orientation?: "horizontal" | "vertical";
|
|
3743
|
+
/** 焦点是否首尾循环(透传 Ark,原生默认 true) */
|
|
3744
|
+
loopFocus?: boolean;
|
|
3745
|
+
/** 点击已选中项是否可取消选中(透传 Ark,原生默认关闭;启用后取消选中时 update:value 载荷为 null) */
|
|
3746
|
+
deselectable?: boolean;
|
|
3747
|
+
/** 切换前守卫:返回 false 或 resolve false 阻止切换;仅拦截用户交互切换(受控外部赋值与自动选邻居不经过守卫) */
|
|
3748
|
+
beforeLeave?: (next: string | null, prev: string | null) => boolean | Promise<boolean>;
|
|
3749
|
+
/** 款式:segment 分段块(默认,现有外观)/ line 下划线 */
|
|
3750
|
+
type?: "segment" | "line";
|
|
3751
|
+
/** 标签栏位置:bottom/right 通过布局反转实现;与 orientation 同传时 placement 优先(勿向根元素传布局类) */
|
|
3752
|
+
placement?: "top" | "left" | "right" | "bottom";
|
|
3753
|
+
/** 面板激活时淡入过渡;对 unmountOnExit 卸载型面板无过渡 */
|
|
3754
|
+
animated?: boolean;
|
|
3737
3755
|
}
|
|
3738
|
-
declare var
|
|
3756
|
+
declare var __VLS_10$1: {}, __VLS_24: {
|
|
3757
|
+
item: TabItem;
|
|
3758
|
+
}, __VLS_31: {}, __VLS_39: {
|
|
3739
3759
|
item: TabItem;
|
|
3740
3760
|
};
|
|
3741
|
-
type __VLS_Slots$
|
|
3742
|
-
|
|
3761
|
+
type __VLS_Slots$9 = {} & {
|
|
3762
|
+
prefix?: (props: typeof __VLS_10$1) => any;
|
|
3763
|
+
} & {
|
|
3764
|
+
trigger?: (props: typeof __VLS_24) => any;
|
|
3765
|
+
} & {
|
|
3766
|
+
suffix?: (props: typeof __VLS_31) => any;
|
|
3767
|
+
} & {
|
|
3768
|
+
panel?: (props: typeof __VLS_39) => any;
|
|
3743
3769
|
};
|
|
3744
|
-
declare const __VLS_base$
|
|
3770
|
+
declare const __VLS_base$9: import("vue").DefineComponent<Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3771
|
+
close: (value: string) => any;
|
|
3745
3772
|
"update:value": (value: string) => any;
|
|
3746
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
3773
|
+
}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{
|
|
3774
|
+
onClose?: (value: string) => any;
|
|
3747
3775
|
"onUpdate:value"?: (value: string) => any;
|
|
3748
3776
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3749
|
-
declare const __VLS_export$
|
|
3750
|
-
declare const _default$44: typeof __VLS_export$
|
|
3751
|
-
type __VLS_WithSlots$
|
|
3777
|
+
declare const __VLS_export$11: __VLS_WithSlots$9<typeof __VLS_base$9, __VLS_Slots$9>;
|
|
3778
|
+
declare const _default$44: typeof __VLS_export$11;
|
|
3779
|
+
type __VLS_WithSlots$9<T, S> = T & {
|
|
3752
3780
|
new (): {
|
|
3753
3781
|
$slots: S;
|
|
3754
3782
|
};
|
|
@@ -3756,12 +3784,12 @@ type __VLS_WithSlots$8<T, S> = T & {
|
|
|
3756
3784
|
//#endregion
|
|
3757
3785
|
//#region src/components/tooltip/Tooltip.vue.d.ts
|
|
3758
3786
|
declare var __VLS_16$2: {}, __VLS_30: {};
|
|
3759
|
-
type __VLS_Slots$
|
|
3787
|
+
type __VLS_Slots$8 = {} & {
|
|
3760
3788
|
default?: (props: typeof __VLS_16$2) => any;
|
|
3761
3789
|
} & {
|
|
3762
3790
|
content?: (props: typeof __VLS_30) => any;
|
|
3763
3791
|
};
|
|
3764
|
-
declare const __VLS_base$
|
|
3792
|
+
declare const __VLS_base$8: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3765
3793
|
/** 提示文字;#content 插槽可覆盖以渲染富内容 */
|
|
3766
3794
|
content: {
|
|
3767
3795
|
type: StringConstructor;
|
|
@@ -3854,24 +3882,24 @@ declare const __VLS_base$7: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3854
3882
|
}>, {
|
|
3855
3883
|
open: boolean;
|
|
3856
3884
|
defaultOpen: boolean;
|
|
3857
|
-
content: string;
|
|
3858
|
-
delayDuration: number;
|
|
3859
|
-
closeDuration: number;
|
|
3860
3885
|
lazyMount: boolean;
|
|
3861
3886
|
unmountOnExit: boolean;
|
|
3862
3887
|
contentClass: string;
|
|
3863
3888
|
contentProps: Record<string, unknown>;
|
|
3889
|
+
content: string;
|
|
3890
|
+
delayDuration: number;
|
|
3891
|
+
closeDuration: number;
|
|
3864
3892
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3865
|
-
declare const __VLS_export$
|
|
3866
|
-
declare const _default$
|
|
3867
|
-
type __VLS_WithSlots$
|
|
3893
|
+
declare const __VLS_export$10: __VLS_WithSlots$8<typeof __VLS_base$8, __VLS_Slots$8>;
|
|
3894
|
+
declare const _default$48: typeof __VLS_export$10;
|
|
3895
|
+
type __VLS_WithSlots$8<T, S> = T & {
|
|
3868
3896
|
new (): {
|
|
3869
3897
|
$slots: S;
|
|
3870
3898
|
};
|
|
3871
3899
|
};
|
|
3872
3900
|
//#endregion
|
|
3873
3901
|
//#region src/components/alert/Alert.vue.d.ts
|
|
3874
|
-
interface Props {
|
|
3902
|
+
interface Props$1 {
|
|
3875
3903
|
title?: string;
|
|
3876
3904
|
description?: string;
|
|
3877
3905
|
variant?: AlertVariants["variant"];
|
|
@@ -3879,14 +3907,14 @@ interface Props {
|
|
|
3879
3907
|
showIcon?: boolean;
|
|
3880
3908
|
class?: string;
|
|
3881
3909
|
}
|
|
3882
|
-
type __VLS_Props$3 = Props;
|
|
3910
|
+
type __VLS_Props$3 = Props$1;
|
|
3883
3911
|
type __VLS_ModelProps = {
|
|
3884
3912
|
modelValue?: boolean;
|
|
3885
3913
|
};
|
|
3886
3914
|
type __VLS_PublicProps = __VLS_Props$3 & __VLS_ModelProps;
|
|
3887
|
-
declare var __VLS_1$
|
|
3888
|
-
type __VLS_Slots$
|
|
3889
|
-
icon?: (props: typeof __VLS_1$
|
|
3915
|
+
declare var __VLS_1$3: {}, __VLS_3$1: {}, __VLS_5: {}, __VLS_7: {};
|
|
3916
|
+
type __VLS_Slots$7 = {} & {
|
|
3917
|
+
icon?: (props: typeof __VLS_1$3) => any;
|
|
3890
3918
|
} & {
|
|
3891
3919
|
title?: (props: typeof __VLS_3$1) => any;
|
|
3892
3920
|
} & {
|
|
@@ -3894,7 +3922,7 @@ type __VLS_Slots$6 = {} & {
|
|
|
3894
3922
|
} & {
|
|
3895
3923
|
close?: (props: typeof __VLS_7) => any;
|
|
3896
3924
|
};
|
|
3897
|
-
declare const __VLS_base$
|
|
3925
|
+
declare const __VLS_base$7: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3898
3926
|
"update:modelValue": (value: boolean) => any;
|
|
3899
3927
|
close: () => any;
|
|
3900
3928
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -3908,9 +3936,9 @@ declare const __VLS_base$6: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
3908
3936
|
closable: boolean;
|
|
3909
3937
|
showIcon: boolean;
|
|
3910
3938
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3911
|
-
declare const __VLS_export$
|
|
3912
|
-
declare const _default: typeof __VLS_export$
|
|
3913
|
-
type __VLS_WithSlots$
|
|
3939
|
+
declare const __VLS_export$9: __VLS_WithSlots$7<typeof __VLS_base$7, __VLS_Slots$7>;
|
|
3940
|
+
declare const _default: typeof __VLS_export$9;
|
|
3941
|
+
type __VLS_WithSlots$7<T, S> = T & {
|
|
3914
3942
|
new (): {
|
|
3915
3943
|
$slots: S;
|
|
3916
3944
|
};
|
|
@@ -3918,11 +3946,11 @@ type __VLS_WithSlots$6<T, S> = T & {
|
|
|
3918
3946
|
//#endregion
|
|
3919
3947
|
//#region src/components/alert/index.d.ts
|
|
3920
3948
|
export declare const alertVariants: (props?: {
|
|
3921
|
-
variant?: "default" | "
|
|
3949
|
+
variant?: "default" | "success" | "warning" | "info" | "error";
|
|
3922
3950
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
3923
3951
|
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
3924
3952
|
export declare const alertIconVariants: (props?: {
|
|
3925
|
-
variant?: "default" | "
|
|
3953
|
+
variant?: "default" | "success" | "warning" | "info" | "error";
|
|
3926
3954
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
3927
3955
|
/**
|
|
3928
3956
|
* 内置图标路径(按 variant 形状差异化,保证色弱用户可辨别):
|
|
@@ -3939,18 +3967,18 @@ type __VLS_Props$2 = {
|
|
|
3939
3967
|
class?: string;
|
|
3940
3968
|
description?: string;
|
|
3941
3969
|
};
|
|
3942
|
-
declare var __VLS_1$
|
|
3943
|
-
type __VLS_Slots$
|
|
3944
|
-
icon?: (props: typeof __VLS_1$
|
|
3970
|
+
declare var __VLS_1$2: {}, __VLS_3: {};
|
|
3971
|
+
type __VLS_Slots$6 = {} & {
|
|
3972
|
+
icon?: (props: typeof __VLS_1$2) => any;
|
|
3945
3973
|
} & {
|
|
3946
3974
|
default?: (props: typeof __VLS_3) => any;
|
|
3947
3975
|
};
|
|
3948
|
-
declare const __VLS_base$
|
|
3976
|
+
declare const __VLS_base$6: import("vue").DefineComponent<__VLS_Props$2, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props$2> & Readonly<{}>, {
|
|
3949
3977
|
description: string;
|
|
3950
3978
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3951
|
-
declare const __VLS_export$
|
|
3952
|
-
declare const _default$17: typeof __VLS_export$
|
|
3953
|
-
type __VLS_WithSlots$
|
|
3979
|
+
declare const __VLS_export$8: __VLS_WithSlots$6<typeof __VLS_base$6, __VLS_Slots$6>;
|
|
3980
|
+
declare const _default$17: typeof __VLS_export$8;
|
|
3981
|
+
type __VLS_WithSlots$6<T, S> = T & {
|
|
3954
3982
|
new (): {
|
|
3955
3983
|
$slots: S;
|
|
3956
3984
|
};
|
|
@@ -3975,17 +4003,17 @@ type __VLS_Props$1 = {
|
|
|
3975
4003
|
/** 追加/覆盖根元素样式类 */
|
|
3976
4004
|
class?: string;
|
|
3977
4005
|
};
|
|
3978
|
-
declare const __VLS_export$
|
|
4006
|
+
declare const __VLS_export$7: import("vue").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3979
4007
|
"update:value": (value: number) => any;
|
|
3980
4008
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
3981
4009
|
"onUpdate:value"?: (value: number) => any;
|
|
3982
4010
|
}>, {
|
|
3983
4011
|
variant: ProgressVariant;
|
|
3984
|
-
max: number;
|
|
3985
4012
|
indeterminate: boolean;
|
|
4013
|
+
max: number;
|
|
3986
4014
|
showValue: boolean;
|
|
3987
4015
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3988
|
-
declare const _default$35: typeof __VLS_export$
|
|
4016
|
+
declare const _default$35: typeof __VLS_export$7;
|
|
3989
4017
|
//#endregion
|
|
3990
4018
|
//#region src/components/spin/Spin.vue.d.ts
|
|
3991
4019
|
type __VLS_Props = {
|
|
@@ -3997,18 +4025,18 @@ type __VLS_Props = {
|
|
|
3997
4025
|
label?: string;
|
|
3998
4026
|
class?: string;
|
|
3999
4027
|
};
|
|
4000
|
-
declare var __VLS_1: {};
|
|
4001
|
-
type __VLS_Slots$
|
|
4002
|
-
default?: (props: typeof __VLS_1) => any;
|
|
4028
|
+
declare var __VLS_1$1: {};
|
|
4029
|
+
type __VLS_Slots$5 = {} & {
|
|
4030
|
+
default?: (props: typeof __VLS_1$1) => any;
|
|
4003
4031
|
};
|
|
4004
|
-
declare const __VLS_base$
|
|
4032
|
+
declare const __VLS_base$5: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
4005
4033
|
size: "sm" | "default" | "lg";
|
|
4006
4034
|
label: string;
|
|
4007
4035
|
spinning: boolean;
|
|
4008
4036
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4009
|
-
declare const __VLS_export$
|
|
4010
|
-
declare const _default$41: typeof __VLS_export$
|
|
4011
|
-
type __VLS_WithSlots$
|
|
4037
|
+
declare const __VLS_export$6: __VLS_WithSlots$5<typeof __VLS_base$5, __VLS_Slots$5>;
|
|
4038
|
+
declare const _default$41: typeof __VLS_export$6;
|
|
4039
|
+
type __VLS_WithSlots$5<T, S> = T & {
|
|
4012
4040
|
new (): {
|
|
4013
4041
|
$slots: S;
|
|
4014
4042
|
};
|
|
@@ -4059,7 +4087,7 @@ export declare function useToast(): {
|
|
|
4059
4087
|
type ToastApi = typeof toastApi;
|
|
4060
4088
|
//#endregion
|
|
4061
4089
|
//#region src/components/toast/ToastProvider.vue.d.ts
|
|
4062
|
-
declare const __VLS_export$
|
|
4090
|
+
declare const __VLS_export$5: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4063
4091
|
/** 弹出位置 */
|
|
4064
4092
|
placement: {
|
|
4065
4093
|
type: () => ToastPlacement;
|
|
@@ -4096,18 +4124,18 @@ declare const __VLS_export$4: import("vue").DefineComponent<import("vue").Extrac
|
|
|
4096
4124
|
placement: Toast.Placement;
|
|
4097
4125
|
duration: number;
|
|
4098
4126
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4099
|
-
declare const _default$
|
|
4127
|
+
declare const _default$47: typeof __VLS_export$5;
|
|
4100
4128
|
//#endregion
|
|
4101
4129
|
//#region src/components/alert-dialog/AlertDialog.vue.d.ts
|
|
4102
4130
|
declare var __VLS_33: {}, __VLS_41$1: {}, __VLS_43: {};
|
|
4103
|
-
type __VLS_Slots$
|
|
4131
|
+
type __VLS_Slots$4 = {} & {
|
|
4104
4132
|
title?: (props: typeof __VLS_33) => any;
|
|
4105
4133
|
} & {
|
|
4106
4134
|
description?: (props: typeof __VLS_41$1) => any;
|
|
4107
4135
|
} & {
|
|
4108
4136
|
default?: (props: typeof __VLS_43) => any;
|
|
4109
4137
|
};
|
|
4110
|
-
declare const __VLS_base$
|
|
4138
|
+
declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4111
4139
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4112
4140
|
open: {
|
|
4113
4141
|
type: PropType<boolean | undefined>;
|
|
@@ -4140,8 +4168,8 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4140
4168
|
};
|
|
4141
4169
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4142
4170
|
"update:open": (open: boolean) => any;
|
|
4143
|
-
confirm: () => any;
|
|
4144
4171
|
cancel: () => any;
|
|
4172
|
+
confirm: () => any;
|
|
4145
4173
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4146
4174
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4147
4175
|
open: {
|
|
@@ -4175,18 +4203,18 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4175
4203
|
};
|
|
4176
4204
|
}>> & Readonly<{
|
|
4177
4205
|
"onUpdate:open"?: (open: boolean) => any;
|
|
4178
|
-
onConfirm?: () => any;
|
|
4179
4206
|
onCancel?: () => any;
|
|
4207
|
+
onConfirm?: () => any;
|
|
4180
4208
|
}>, {
|
|
4181
4209
|
destructive: boolean;
|
|
4210
|
+
open: boolean;
|
|
4182
4211
|
description: string;
|
|
4183
4212
|
confirmText: string;
|
|
4184
4213
|
cancelText: string;
|
|
4185
|
-
open: boolean;
|
|
4186
4214
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4187
|
-
declare const __VLS_export$
|
|
4188
|
-
declare const _default$1: typeof __VLS_export$
|
|
4189
|
-
type __VLS_WithSlots$
|
|
4215
|
+
declare const __VLS_export$4: __VLS_WithSlots$4<typeof __VLS_base$4, __VLS_Slots$4>;
|
|
4216
|
+
declare const _default$1: typeof __VLS_export$4;
|
|
4217
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
4190
4218
|
new (): {
|
|
4191
4219
|
$slots: S;
|
|
4192
4220
|
};
|
|
@@ -4194,10 +4222,10 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
4194
4222
|
//#endregion
|
|
4195
4223
|
//#region src/components/context-menu/ContextMenu.vue.d.ts
|
|
4196
4224
|
declare var __VLS_16$1: {};
|
|
4197
|
-
type __VLS_Slots$
|
|
4225
|
+
type __VLS_Slots$3 = {} & {
|
|
4198
4226
|
default?: (props: typeof __VLS_16$1) => any;
|
|
4199
4227
|
};
|
|
4200
|
-
declare const __VLS_base$
|
|
4228
|
+
declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4201
4229
|
/** 菜单项描述列表,与 DropdownMenu 的 items 完全同构(item/label/separator/group 四种形态,group 可嵌套) */
|
|
4202
4230
|
items: {
|
|
4203
4231
|
type: PropType<MenuItemOption[]>;
|
|
@@ -4218,9 +4246,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4218
4246
|
value: string;
|
|
4219
4247
|
}) => any;
|
|
4220
4248
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4221
|
-
declare const __VLS_export$
|
|
4222
|
-
declare const _default$10: typeof __VLS_export$
|
|
4223
|
-
type __VLS_WithSlots$
|
|
4249
|
+
declare const __VLS_export$3: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
4250
|
+
declare const _default$10: typeof __VLS_export$3;
|
|
4251
|
+
type __VLS_WithSlots$3<T, S> = T & {
|
|
4224
4252
|
new (): {
|
|
4225
4253
|
$slots: S;
|
|
4226
4254
|
};
|
|
@@ -4234,7 +4262,7 @@ declare function close(): void;
|
|
|
4234
4262
|
declare var __VLS_16: {}, __VLS_41: {}, __VLS_49: {}, __VLS_51: {}, __VLS_53: {
|
|
4235
4263
|
close: typeof close;
|
|
4236
4264
|
};
|
|
4237
|
-
type __VLS_Slots$
|
|
4265
|
+
type __VLS_Slots$2 = {} & {
|
|
4238
4266
|
trigger?: (props: typeof __VLS_16) => any;
|
|
4239
4267
|
} & {
|
|
4240
4268
|
title?: (props: typeof __VLS_41) => any;
|
|
@@ -4245,7 +4273,7 @@ type __VLS_Slots$1 = {} & {
|
|
|
4245
4273
|
} & {
|
|
4246
4274
|
footer?: (props: typeof __VLS_53) => any;
|
|
4247
4275
|
};
|
|
4248
|
-
declare const __VLS_base$
|
|
4276
|
+
declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4249
4277
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4250
4278
|
open: {
|
|
4251
4279
|
type: PropType<boolean | undefined>;
|
|
@@ -4343,18 +4371,18 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4343
4371
|
"onUpdate:open"?: (open: boolean) => any;
|
|
4344
4372
|
}>, {
|
|
4345
4373
|
size: Size;
|
|
4346
|
-
title: string;
|
|
4347
|
-
description: string;
|
|
4348
4374
|
open: boolean;
|
|
4349
4375
|
defaultOpen: boolean;
|
|
4350
4376
|
lazyMount: boolean;
|
|
4351
4377
|
unmountOnExit: boolean;
|
|
4378
|
+
title: string;
|
|
4379
|
+
description: string;
|
|
4352
4380
|
showCloseButton: boolean;
|
|
4353
4381
|
placement: Placement;
|
|
4354
4382
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4355
|
-
declare const __VLS_export$
|
|
4356
|
-
declare const _default$15: typeof __VLS_export$
|
|
4357
|
-
type __VLS_WithSlots$
|
|
4383
|
+
declare const __VLS_export$2: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
4384
|
+
declare const _default$15: typeof __VLS_export$2;
|
|
4385
|
+
type __VLS_WithSlots$2<T, S> = T & {
|
|
4358
4386
|
new (): {
|
|
4359
4387
|
$slots: S;
|
|
4360
4388
|
};
|
|
@@ -4362,10 +4390,10 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
4362
4390
|
//#endregion
|
|
4363
4391
|
//#region src/components/popconfirm/Popconfirm.vue.d.ts
|
|
4364
4392
|
declare var __VLS_10: {};
|
|
4365
|
-
type __VLS_Slots = {} & {
|
|
4393
|
+
type __VLS_Slots$1 = {} & {
|
|
4366
4394
|
default?: (props: typeof __VLS_10) => any;
|
|
4367
4395
|
};
|
|
4368
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4396
|
+
declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4369
4397
|
/** 气泡标题(渲染为 Ark Popover.Title,content 自动接线 aria-labelledby) */
|
|
4370
4398
|
title: {
|
|
4371
4399
|
type: StringConstructor;
|
|
@@ -4398,8 +4426,8 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
4398
4426
|
};
|
|
4399
4427
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
4400
4428
|
"update:open": (open: boolean) => any;
|
|
4401
|
-
confirm: () => any;
|
|
4402
4429
|
cancel: () => any;
|
|
4430
|
+
confirm: () => any;
|
|
4403
4431
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4404
4432
|
/** 气泡标题(渲染为 Ark Popover.Title,content 自动接线 aria-labelledby) */
|
|
4405
4433
|
title: {
|
|
@@ -4433,21 +4461,87 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
4433
4461
|
};
|
|
4434
4462
|
}>> & Readonly<{
|
|
4435
4463
|
"onUpdate:open"?: (open: boolean) => any;
|
|
4436
|
-
onConfirm?: () => any;
|
|
4437
4464
|
onCancel?: () => any;
|
|
4465
|
+
onConfirm?: () => any;
|
|
4438
4466
|
}>, {
|
|
4439
4467
|
variant: "default" | "destructive";
|
|
4468
|
+
open: boolean;
|
|
4440
4469
|
description: string;
|
|
4441
4470
|
confirmText: string;
|
|
4442
4471
|
cancelText: string;
|
|
4443
|
-
open: boolean;
|
|
4444
4472
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4473
|
+
declare const __VLS_export$1: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
4474
|
+
declare const _default$33: typeof __VLS_export$1;
|
|
4475
|
+
type __VLS_WithSlots$1<T, S> = T & {
|
|
4476
|
+
new (): {
|
|
4477
|
+
$slots: S;
|
|
4478
|
+
};
|
|
4479
|
+
};
|
|
4480
|
+
//#endregion
|
|
4481
|
+
//#region src/components/timeline/Timeline.vue.d.ts
|
|
4482
|
+
interface Props {
|
|
4483
|
+
/** 数据源:按数组顺序自上而下渲染 */
|
|
4484
|
+
items: TimelineItemData[];
|
|
4485
|
+
/** 布局模式:right 单列(节点靠左)/ alternate 沿中轴左右交替 */
|
|
4486
|
+
mode?: TimelineVariants["mode"];
|
|
4487
|
+
/** 尺寸:联动节点大小、连线位置与字号间距 */
|
|
4488
|
+
size?: TimelineItemVariants["size"];
|
|
4489
|
+
/** 追加/覆盖样式(经 cn 合并) */
|
|
4490
|
+
class?: string;
|
|
4491
|
+
}
|
|
4492
|
+
declare var __VLS_1: {
|
|
4493
|
+
item: TimelineItemData;
|
|
4494
|
+
index: number;
|
|
4495
|
+
};
|
|
4496
|
+
type __VLS_Slots = {} & {
|
|
4497
|
+
item?: (props: typeof __VLS_1) => any;
|
|
4498
|
+
};
|
|
4499
|
+
declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
4500
|
+
size: TimelineItemVariants["size"];
|
|
4501
|
+
mode: TimelineVariants["mode"];
|
|
4502
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
4445
4503
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4446
|
-
declare const _default$
|
|
4504
|
+
declare const _default$46: typeof __VLS_export;
|
|
4447
4505
|
type __VLS_WithSlots<T, S> = T & {
|
|
4448
4506
|
new (): {
|
|
4449
4507
|
$slots: S;
|
|
4450
4508
|
};
|
|
4451
4509
|
};
|
|
4452
4510
|
//#endregion
|
|
4453
|
-
|
|
4511
|
+
//#region src/components/timeline/index.d.ts
|
|
4512
|
+
/** 时间轴单项数据 */
|
|
4513
|
+
export interface TimelineItemData {
|
|
4514
|
+
/** 事件标题 */
|
|
4515
|
+
title?: string;
|
|
4516
|
+
/** 事件描述文本 */
|
|
4517
|
+
content?: string;
|
|
4518
|
+
/** 时间戳文案(纯展示,不解析日期) */
|
|
4519
|
+
timestamp?: string;
|
|
4520
|
+
/** 时间戳位置:内容上方(默认)或内容下方 */
|
|
4521
|
+
timestampPlacement?: "top" | "bottom";
|
|
4522
|
+
/** 节点颜色(语义 token) */
|
|
4523
|
+
dotColor?: "primary" | "success" | "warning" | "destructive" | "muted";
|
|
4524
|
+
/** 空心节点(描边 + 背景填充,颜色跟随 dotColor) */
|
|
4525
|
+
hollow?: boolean;
|
|
4526
|
+
}
|
|
4527
|
+
/** 容器变体:alternate 模式加 isolate 隔离堆叠上下文,避免连线/节点受外部 z-index 干扰 */
|
|
4528
|
+
export declare const timelineVariants: (props?: {
|
|
4529
|
+
mode?: "right" | "alternate";
|
|
4530
|
+
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4531
|
+
export type TimelineVariants = VariantProps<typeof timelineVariants>;
|
|
4532
|
+
/** 项变体:li 的 last:pb-0 相对 ol 语义正确;首末项连线裁切在模板内按 index 计算,不用伪类 */
|
|
4533
|
+
export declare const timelineItemVariants: (props?: {
|
|
4534
|
+
mode?: "right" | "alternate";
|
|
4535
|
+
size?: "sm" | "default";
|
|
4536
|
+
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4537
|
+
export type TimelineItemVariants = VariantProps<typeof timelineItemVariants>;
|
|
4538
|
+
/** 节点变体:hollow × color 经 compoundVariants 配对出边框色,实心直接配底色 */
|
|
4539
|
+
export declare const timelineDotVariants: (props?: {
|
|
4540
|
+
mode?: "right" | "alternate";
|
|
4541
|
+
size?: "sm" | "default";
|
|
4542
|
+
color?: "destructive" | "primary" | "success" | "warning" | "muted";
|
|
4543
|
+
hollow?: boolean;
|
|
4544
|
+
} & import("class-variance-authority/types").ClassProp) => string;
|
|
4545
|
+
export type TimelineDotVariants = VariantProps<typeof timelineDotVariants>;
|
|
4546
|
+
//#endregion
|
|
4547
|
+
export { _default as Alert, _default$1 as AlertDialog, _default$2 as Avatar, _default$3 as AvatarGroup, _default$4 as Badge, type BindingSpec, _default$5 as Button, _default$6 as Calendar, _default$7 as Card, _default$8 as Cascader, type CheckStrategy, _default$9 as Checkbox, type CheckboxWidgetOptions, type ColumnRenders, _default$10 as ContextMenu, _default$11 as CurrencyInput, type CurrencyUnit, type CurrencyWidgetOptions, type DataRecord, _default$12 as DatePicker, type DatePickerWidgetOptions, _default$13 as DateRangePicker, type DateRangeWidgetOptions, type DefineFormOptions, type DefineTableOptions, _default$14 as Dialog, type DictColumnMapping, type DictColumnOptions, type DictEntryVariant, _default$15 as Drawer, _default$16 as DropdownMenu, _default$17 as Empty, _default$18 as Form, _default$19 as FormControl, _default$20 as FormDescription, _default$21 as FormField, _default$22 as FormItem, _default$23 as FormLabel, _default$24 as FormMessage, _default$25 as FormRender, type FormRenderDefinition, type FormRenderFormApi, type FormRenderItem, _default$26 as FormSubscribe, _default$27 as Input, type InputWidgetOptions, type Key, _default$28 as Label, type MenuItemOption, _default$29 as MonthPicker, type MonthPickerWidgetOptions, _default$30 as NumberInput, type NumberWidgetOptions, type PageableOptions, _default$31 as PasswordInput, type PasswordWidgetOptions, _default$32 as PinInput, _default$33 as Popconfirm, _default$34 as Popover, _default$35 as Progress, _default$36 as RadioGroup, type RadioGroupWidgetOptions, _default$37 as Select, type SelectItemOption, type SelectWidgetOptions, _default$38 as Separator, type SerialColumnOptions, type SfcOptions, _default$39 as Skeleton, _default$40 as Slider, type SliderWidgetOptions, type SortableOptions, _default$41 as Spin, _default$42 as Switch, type SwitchWidgetOptions, type TabItem, type TableActionButton, type TableColumnOptions, type TableLoadParams, _default$43 as TableRender, type TableRenderDefinition, _default$44 as Tabs, _default$45 as Textarea, type TextareaWidgetOptions, _default$46 as Timeline, type ToastApi, type ToastOptions, type ToastPlacement, type ToastPromiseOptions, _default$47 as ToastProvider, _default$48 as Tooltip, type TreeOption, type TreeOptions, _default$49 as TreeSelect, type UseFormRenderOptions, type UseTableRenderOptions, _default$50 as WeekPicker, type WidgetContext, type WidgetItemOption, type WidgetRenderReturn, type WidgetRenders, _default$51 as YearPicker, type YearPickerWidgetOptions };
|