@tu-design/vue 0.4.1 → 0.4.3
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/README.md +2 -2
- package/dist/index.d.mts +355 -260
- package/dist/index.mjs +402 -79
- package/dist/registry/vue/alert-dialog.json +1 -0
- package/dist/registry/vue/alert.json +1 -0
- package/dist/registry/vue/avatar-group.json +1 -0
- package/dist/registry/vue/avatar.json +1 -0
- package/dist/registry/vue/badge.json +1 -0
- package/dist/registry/vue/button.json +1 -0
- package/dist/registry/vue/calendar.json +1 -0
- package/dist/registry/vue/card.json +2 -0
- package/dist/registry/vue/cascader.json +1 -0
- package/dist/registry/vue/checkbox.json +1 -0
- package/dist/registry/vue/context-menu.json +1 -0
- package/dist/registry/vue/currency-input.json +1 -0
- package/dist/registry/vue/date-picker.json +1 -0
- package/dist/registry/vue/date-range-picker.json +1 -0
- package/dist/registry/vue/date-shared.json +1 -0
- package/dist/registry/vue/dialog.json +1 -0
- package/dist/registry/vue/drawer.json +1 -0
- package/dist/registry/vue/dropdown-menu.json +1 -0
- package/dist/registry/vue/empty.json +1 -0
- package/dist/registry/vue/form-render.json +1 -0
- package/dist/registry/vue/form.json +1 -0
- package/dist/registry/vue/input.json +1 -0
- package/dist/registry/vue/label.json +1 -0
- package/dist/registry/vue/month-picker.json +1 -0
- package/dist/registry/vue/number-input.json +1 -0
- package/dist/registry/vue/overlay-shared.json +1 -0
- package/dist/registry/vue/password-input.json +1 -0
- package/dist/registry/vue/pin-input.json +1 -0
- package/dist/registry/vue/popconfirm.json +1 -0
- package/dist/registry/vue/popover.json +1 -0
- package/dist/registry/vue/progress.json +1 -0
- package/dist/registry/vue/radio-group.json +1 -0
- package/dist/registry/vue/registry.json +57 -0
- package/dist/registry/vue/select.json +1 -0
- package/dist/registry/vue/separator.json +1 -0
- package/dist/registry/vue/skeleton.json +1 -0
- package/dist/registry/vue/slider.json +1 -0
- package/dist/registry/vue/slot.json +1 -0
- package/dist/registry/vue/spin.json +1 -0
- package/dist/registry/vue/switch.json +1 -0
- package/dist/registry/vue/table-render.json +1 -0
- package/dist/registry/vue/tabs.json +9 -2
- package/dist/registry/vue/textarea.json +1 -0
- package/dist/registry/vue/timeline.json +23 -0
- package/dist/registry/vue/toast.json +1 -0
- package/dist/registry/vue/tokens.json +1 -0
- package/dist/registry/vue/tooltip.json +1 -0
- package/dist/registry/vue/tree-select.json +1 -0
- package/dist/registry/vue/tree-shared.json +3 -2
- package/dist/registry/vue/utils.json +1 -0
- package/dist/registry/vue/week-picker.json +1 -0
- package/dist/registry/vue/year-picker.json +1 -0
- 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;
|
|
@@ -91,16 +91,16 @@ declare const __VLS_base$31: import("vue").DefineComponent<import("vue").Extract
|
|
|
91
91
|
}>> & Readonly<{
|
|
92
92
|
"onUpdate:checked"?: (checked: boolean) => any;
|
|
93
93
|
}>, {
|
|
94
|
-
disabled: boolean;
|
|
95
94
|
class: string;
|
|
95
|
+
disabled: boolean;
|
|
96
96
|
name: string;
|
|
97
97
|
checked: boolean | "indeterminate";
|
|
98
98
|
defaultChecked: boolean;
|
|
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>;
|
|
@@ -191,18 +191,18 @@ declare const __VLS_export$49: import("vue").DefineComponent<import("vue").Extra
|
|
|
191
191
|
}>> & Readonly<{
|
|
192
192
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
193
193
|
}>, {
|
|
194
|
+
class: string;
|
|
194
195
|
modelValue: number;
|
|
195
196
|
placeholder: string;
|
|
196
197
|
disabled: boolean;
|
|
197
198
|
invalid: boolean;
|
|
198
|
-
class: string;
|
|
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>;
|
|
@@ -337,6 +337,7 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
337
337
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
338
338
|
"onUpdate:open"?: (open: boolean) => any;
|
|
339
339
|
}>, {
|
|
340
|
+
class: string;
|
|
340
341
|
modelValue: string;
|
|
341
342
|
defaultValue: string;
|
|
342
343
|
open: boolean;
|
|
@@ -349,13 +350,12 @@ declare const __VLS_export$48: import("vue").DefineComponent<import("vue").Extra
|
|
|
349
350
|
max: string;
|
|
350
351
|
closeOnSelect: boolean;
|
|
351
352
|
locale: string;
|
|
352
|
-
class: string;
|
|
353
353
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
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>;
|
|
@@ -500,6 +500,7 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
500
500
|
"onUpdate:modelValue"?: (value: [string, string]) => any;
|
|
501
501
|
"onUpdate:open"?: (open: boolean) => any;
|
|
502
502
|
}>, {
|
|
503
|
+
class: string;
|
|
503
504
|
modelValue: [string, string];
|
|
504
505
|
defaultValue: [string, string];
|
|
505
506
|
open: boolean;
|
|
@@ -512,11 +513,10 @@ declare const __VLS_export$47: import("vue").DefineComponent<import("vue").Extra
|
|
|
512
513
|
max: string;
|
|
513
514
|
closeOnSelect: boolean;
|
|
514
515
|
locale: string;
|
|
515
|
-
class: string;
|
|
516
516
|
numOfMonths: number;
|
|
517
517
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
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>;
|
|
@@ -662,6 +662,7 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
662
662
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
663
663
|
"onUpdate:open"?: (open: boolean) => any;
|
|
664
664
|
}>, {
|
|
665
|
+
class: string;
|
|
665
666
|
modelValue: string;
|
|
666
667
|
defaultValue: string;
|
|
667
668
|
open: boolean;
|
|
@@ -674,12 +675,11 @@ declare const __VLS_export$45: import("vue").DefineComponent<import("vue").Extra
|
|
|
674
675
|
max: string;
|
|
675
676
|
closeOnSelect: boolean;
|
|
676
677
|
locale: string;
|
|
677
|
-
class: 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>;
|
|
@@ -816,6 +816,7 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
|
|
|
816
816
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
817
817
|
"onUpdate:open"?: (open: boolean) => any;
|
|
818
818
|
}>, {
|
|
819
|
+
class: string;
|
|
819
820
|
modelValue: string;
|
|
820
821
|
defaultValue: string;
|
|
821
822
|
open: boolean;
|
|
@@ -828,19 +829,18 @@ declare const __VLS_export$44: import("vue").DefineComponent<import("vue").Extra
|
|
|
828
829
|
max: string;
|
|
829
830
|
closeOnSelect: boolean;
|
|
830
831
|
locale: string;
|
|
831
|
-
class: string;
|
|
832
832
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
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>;
|
|
@@ -913,18 +913,18 @@ declare const __VLS_base$30: import("vue").DefineComponent<import("vue").Extract
|
|
|
913
913
|
}>> & Readonly<{
|
|
914
914
|
"onUpdate:modelValue"?: (value: number) => any;
|
|
915
915
|
}>, {
|
|
916
|
+
class: string;
|
|
916
917
|
modelValue: number;
|
|
917
918
|
disabled: boolean;
|
|
918
919
|
invalid: boolean;
|
|
919
920
|
min: number;
|
|
920
921
|
max: number;
|
|
921
|
-
class: string;
|
|
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>;
|
|
@@ -1013,17 +1013,17 @@ declare const __VLS_base$29: import("vue").DefineComponent<import("vue").Extract
|
|
|
1013
1013
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1014
1014
|
"onUpdate:visible"?: (visible: boolean) => any;
|
|
1015
1015
|
}>, {
|
|
1016
|
+
class: string;
|
|
1016
1017
|
modelValue: string;
|
|
1017
1018
|
placeholder: string;
|
|
1018
1019
|
disabled: boolean;
|
|
1019
1020
|
invalid: boolean;
|
|
1020
|
-
class: string;
|
|
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
|
};
|
|
@@ -1083,7 +1083,8 @@ type __VLS_WithSlots$28<T, S> = T & {
|
|
|
1083
1083
|
/*!
|
|
1084
1084
|
* 移植自 treemate v0.3.11 —— https://github.com/07akioni/treemate
|
|
1085
1085
|
* MIT License · Copyright (c) 07akioni
|
|
1086
|
-
*
|
|
1086
|
+
* 本地改动:GetChildren 返回类型由 `Array<R | G | I> | unknown` 塌缩为 `unknown`
|
|
1087
|
+
* (TS 中 `X | unknown` 恒等于 `unknown`,语义不变,消除 no-redundant-type-constituents 告警)。
|
|
1087
1088
|
*/
|
|
1088
1089
|
type Key = string | number;
|
|
1089
1090
|
type CheckStrategy = "all" | "child" | "parent";
|
|
@@ -1100,7 +1101,7 @@ interface TreeOption {
|
|
|
1100
1101
|
}
|
|
1101
1102
|
//#endregion
|
|
1102
1103
|
//#region src/components/cascader/Cascader.vue.d.ts
|
|
1103
|
-
declare const __VLS_export$
|
|
1104
|
+
declare const __VLS_export$41: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1104
1105
|
/** 树形选项(key 必填,label 展示名,children 子级) */
|
|
1105
1106
|
options: {
|
|
1106
1107
|
type: PropType<TreeOption[]>;
|
|
@@ -1271,13 +1272,13 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1271
1272
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1272
1273
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1273
1274
|
}>, {
|
|
1275
|
+
class: string;
|
|
1274
1276
|
modelValue: Key | Key[];
|
|
1275
1277
|
defaultValue: Key | Key[];
|
|
1276
1278
|
open: boolean;
|
|
1277
1279
|
defaultOpen: boolean;
|
|
1278
1280
|
placeholder: string;
|
|
1279
1281
|
disabled: boolean;
|
|
1280
|
-
class: string;
|
|
1281
1282
|
multiple: boolean;
|
|
1282
1283
|
checkable: boolean;
|
|
1283
1284
|
cascade: boolean;
|
|
@@ -1288,10 +1289,10 @@ declare const __VLS_export$40: import("vue").DefineComponent<import("vue").Extra
|
|
|
1288
1289
|
clearable: boolean;
|
|
1289
1290
|
maxTagCount: number;
|
|
1290
1291
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1291
|
-
declare const _default$8: typeof __VLS_export$
|
|
1292
|
+
declare const _default$8: typeof __VLS_export$41;
|
|
1292
1293
|
//#endregion
|
|
1293
1294
|
//#region src/components/tree-select/TreeSelect.vue.d.ts
|
|
1294
|
-
declare const __VLS_export$
|
|
1295
|
+
declare const __VLS_export$40: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1295
1296
|
/** 树选项(key/label/children/disabled) */
|
|
1296
1297
|
options: {
|
|
1297
1298
|
type: PropType<TreeOption[]>;
|
|
@@ -1472,13 +1473,13 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
|
|
|
1472
1473
|
"onUpdate:show"?: (open: boolean) => any;
|
|
1473
1474
|
"onUpdate:expandedKeys"?: (keys: Key[]) => any;
|
|
1474
1475
|
}>, {
|
|
1476
|
+
class: string;
|
|
1475
1477
|
modelValue: Key | Key[];
|
|
1476
1478
|
defaultValue: Key | Key[];
|
|
1477
1479
|
open: boolean;
|
|
1478
1480
|
defaultOpen: boolean;
|
|
1479
1481
|
placeholder: string;
|
|
1480
1482
|
disabled: boolean;
|
|
1481
|
-
class: string;
|
|
1482
1483
|
multiple: boolean;
|
|
1483
1484
|
checkable: boolean;
|
|
1484
1485
|
cascade: boolean;
|
|
@@ -1490,7 +1491,7 @@ declare const __VLS_export$39: import("vue").DefineComponent<import("vue").Extra
|
|
|
1490
1491
|
defaultExpandedKeys: Key[];
|
|
1491
1492
|
defaultExpandAll: boolean;
|
|
1492
1493
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1493
|
-
declare const _default$
|
|
1494
|
+
declare const _default$49: typeof __VLS_export$40;
|
|
1494
1495
|
//#endregion
|
|
1495
1496
|
//#region src/components/select/types.d.ts
|
|
1496
1497
|
interface SelectItemOption {
|
|
@@ -1505,10 +1506,10 @@ declare var __VLS_46: {
|
|
|
1505
1506
|
label: string;
|
|
1506
1507
|
selected: boolean;
|
|
1507
1508
|
};
|
|
1508
|
-
type __VLS_Slots$
|
|
1509
|
+
type __VLS_Slots$28 = {} & {
|
|
1509
1510
|
item?: (props: typeof __VLS_46) => any;
|
|
1510
1511
|
};
|
|
1511
|
-
declare const __VLS_base$
|
|
1512
|
+
declare const __VLS_base$28: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1512
1513
|
/** 选项列表:字符串(label = value)或 { label, value, disabled? } */
|
|
1513
1514
|
items: {
|
|
1514
1515
|
type: PropType<(string | SelectItemOption)[]>;
|
|
@@ -1601,9 +1602,9 @@ declare const __VLS_base$27: import("vue").DefineComponent<import("vue").Extract
|
|
|
1601
1602
|
contentClass: string;
|
|
1602
1603
|
triggerClass: string;
|
|
1603
1604
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1604
|
-
declare const __VLS_export$
|
|
1605
|
-
declare const _default$37: typeof __VLS_export$
|
|
1606
|
-
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 & {
|
|
1607
1608
|
new (): {
|
|
1608
1609
|
$slots: S;
|
|
1609
1610
|
};
|
|
@@ -1622,7 +1623,7 @@ type __VLS_Props$11 = {
|
|
|
1622
1623
|
disabled?: boolean;
|
|
1623
1624
|
class?: string;
|
|
1624
1625
|
};
|
|
1625
|
-
declare const __VLS_export$
|
|
1626
|
+
declare const __VLS_export$38: import("vue").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1626
1627
|
"update:modelValue": (value: number[]) => any;
|
|
1627
1628
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1628
1629
|
"onUpdate:modelValue"?: (value: number[]) => any;
|
|
@@ -1631,14 +1632,14 @@ declare const __VLS_export$37: import("vue").DefineComponent<__VLS_Props$11, {},
|
|
|
1631
1632
|
max: number;
|
|
1632
1633
|
step: number;
|
|
1633
1634
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1634
|
-
declare const _default$40: typeof __VLS_export$
|
|
1635
|
+
declare const _default$40: typeof __VLS_export$38;
|
|
1635
1636
|
//#endregion
|
|
1636
1637
|
//#region src/components/switch/Switch.vue.d.ts
|
|
1637
1638
|
declare var __VLS_32: {};
|
|
1638
|
-
type __VLS_Slots$
|
|
1639
|
+
type __VLS_Slots$27 = {} & {
|
|
1639
1640
|
default?: (props: typeof __VLS_32) => any;
|
|
1640
1641
|
};
|
|
1641
|
-
declare const __VLS_base$
|
|
1642
|
+
declare const __VLS_base$27: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1642
1643
|
checked: {
|
|
1643
1644
|
type: PropType<boolean | undefined>;
|
|
1644
1645
|
default: any;
|
|
@@ -1677,14 +1678,14 @@ declare const __VLS_base$26: import("vue").DefineComponent<import("vue").Extract
|
|
|
1677
1678
|
}>> & Readonly<{
|
|
1678
1679
|
"onUpdate:checked"?: (checked: boolean) => any;
|
|
1679
1680
|
}>, {
|
|
1680
|
-
disabled: boolean;
|
|
1681
1681
|
class: string;
|
|
1682
|
+
disabled: boolean;
|
|
1682
1683
|
checked: boolean;
|
|
1683
1684
|
defaultChecked: boolean;
|
|
1684
1685
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1685
|
-
declare const __VLS_export$
|
|
1686
|
-
declare const _default$42: typeof __VLS_export$
|
|
1687
|
-
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 & {
|
|
1688
1689
|
new (): {
|
|
1689
1690
|
$slots: S;
|
|
1690
1691
|
};
|
|
@@ -1699,15 +1700,15 @@ type __VLS_ModelProps$1 = {
|
|
|
1699
1700
|
modelValue?: string | number;
|
|
1700
1701
|
};
|
|
1701
1702
|
type __VLS_PublicProps$1 = __VLS_Props$10 & __VLS_ModelProps$1;
|
|
1702
|
-
declare const __VLS_export$
|
|
1703
|
+
declare const __VLS_export$36: import("vue").DefineComponent<__VLS_PublicProps$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
1703
1704
|
"update:modelValue": (value: string | number) => any;
|
|
1704
1705
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps$1> & Readonly<{
|
|
1705
1706
|
"onUpdate:modelValue"?: (value: string | number) => any;
|
|
1706
1707
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1707
|
-
declare const _default$45: typeof __VLS_export$
|
|
1708
|
+
declare const _default$45: typeof __VLS_export$36;
|
|
1708
1709
|
//#endregion
|
|
1709
1710
|
//#region src/components/year-picker/YearPicker.vue.d.ts
|
|
1710
|
-
declare const __VLS_export$
|
|
1711
|
+
declare const __VLS_export$35: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1711
1712
|
/** 受控年份("yyyy");undefined 走内部非受控,null 表示空 */
|
|
1712
1713
|
modelValue: {
|
|
1713
1714
|
type: PropType<string | null | undefined>;
|
|
@@ -1834,6 +1835,7 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
|
|
|
1834
1835
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
1835
1836
|
"onUpdate:open"?: (open: boolean) => any;
|
|
1836
1837
|
}>, {
|
|
1838
|
+
class: string;
|
|
1837
1839
|
modelValue: string;
|
|
1838
1840
|
defaultValue: string;
|
|
1839
1841
|
open: boolean;
|
|
@@ -1846,9 +1848,8 @@ declare const __VLS_export$34: import("vue").DefineComponent<import("vue").Extra
|
|
|
1846
1848
|
max: string;
|
|
1847
1849
|
closeOnSelect: boolean;
|
|
1848
1850
|
locale: string;
|
|
1849
|
-
class: string;
|
|
1850
1851
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
1851
|
-
declare const _default$
|
|
1852
|
+
declare const _default$51: typeof __VLS_export$35;
|
|
1852
1853
|
//#endregion
|
|
1853
1854
|
//#region src/components/form-render/types.d.ts
|
|
1854
1855
|
/**
|
|
@@ -1907,15 +1908,15 @@ type RadioGroupWidgetOptions = Omit<SfcOptions<typeof _default$36>, "items"> & {
|
|
|
1907
1908
|
items: SelectItemOption[];
|
|
1908
1909
|
};
|
|
1909
1910
|
/** TreeSelect / Cascader:选项 prop 原名 options,受控走 modelValue(ControlledKey 自动剔除) */
|
|
1910
|
-
type TreeSelectWidgetOptions = SfcOptions<typeof _default$
|
|
1911
|
+
type TreeSelectWidgetOptions = SfcOptions<typeof _default$49>;
|
|
1911
1912
|
type CascaderWidgetOptions = SfcOptions<typeof _default$8>;
|
|
1912
1913
|
type SliderWidgetOptions = SfcOptions<typeof _default$40>;
|
|
1913
1914
|
/** picker 三组件 props 面不同(DatePicker 有 isDateUnavailable/max/min,Month/Year 有 locale),各自派生 */
|
|
1914
1915
|
type DatePickerWidgetOptions = SfcOptions<typeof _default$12>;
|
|
1915
1916
|
type MonthPickerWidgetOptions = SfcOptions<typeof _default$29>;
|
|
1916
|
-
type YearPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1917
|
+
type YearPickerWidgetOptions = SfcOptions<typeof _default$51>;
|
|
1917
1918
|
type DateRangeWidgetOptions = SfcOptions<typeof _default$13>;
|
|
1918
|
-
type WeekPickerWidgetOptions = SfcOptions<typeof _default$
|
|
1919
|
+
type WeekPickerWidgetOptions = SfcOptions<typeof _default$50>;
|
|
1919
1920
|
/**
|
|
1920
1921
|
* widget 注册表类型契约:实现对象在 widgets/index.ts。
|
|
1921
1922
|
* 类型集中于此避免循环依赖(type-only import 无运行时环)。
|
|
@@ -1977,10 +1978,10 @@ interface FormRenderDefinition<T extends object> {
|
|
|
1977
1978
|
//#endregion
|
|
1978
1979
|
//#region src/components/form-render/FormRender.vue.d.ts
|
|
1979
1980
|
declare var __VLS_6: {};
|
|
1980
|
-
type __VLS_Slots$
|
|
1981
|
+
type __VLS_Slots$26 = {} & {
|
|
1981
1982
|
actions?: (props: typeof __VLS_6) => any;
|
|
1982
1983
|
};
|
|
1983
|
-
declare const __VLS_base$
|
|
1984
|
+
declare const __VLS_base$26: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
1984
1985
|
/** 聚合式(推荐):defineForm 返回的定义对象 */
|
|
1985
1986
|
definition: {
|
|
1986
1987
|
type: PropType<FormRenderDefinition<any>>;
|
|
@@ -2086,9 +2087,9 @@ declare const __VLS_base$25: import("vue").DefineComponent<import("vue").Extract
|
|
|
2086
2087
|
resetable: boolean;
|
|
2087
2088
|
cancelable: boolean;
|
|
2088
2089
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2089
|
-
declare const __VLS_export$
|
|
2090
|
-
declare const _default$25: typeof __VLS_export$
|
|
2091
|
-
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 & {
|
|
2092
2093
|
new (): {
|
|
2093
2094
|
$slots: S;
|
|
2094
2095
|
};
|
|
@@ -2175,7 +2176,7 @@ export declare function bindField(field: AnyFieldApi, spec: BindingSpec): {
|
|
|
2175
2176
|
};
|
|
2176
2177
|
//#endregion
|
|
2177
2178
|
//#region src/components/avatar/Avatar.vue.d.ts
|
|
2178
|
-
interface Props$
|
|
2179
|
+
interface Props$8 {
|
|
2179
2180
|
src?: string;
|
|
2180
2181
|
alt?: string;
|
|
2181
2182
|
/** 图片加载失败时的备用图片地址(自动切换;备用图也失败时回落 Fallback 并再次触发 error) */
|
|
@@ -2192,24 +2193,24 @@ interface Props$7 {
|
|
|
2192
2193
|
class?: string;
|
|
2193
2194
|
}
|
|
2194
2195
|
declare var __VLS_21: {}, __VLS_23: {};
|
|
2195
|
-
type __VLS_Slots$
|
|
2196
|
+
type __VLS_Slots$25 = {} & {
|
|
2196
2197
|
placeholder?: (props: typeof __VLS_21) => any;
|
|
2197
2198
|
} & {
|
|
2198
2199
|
default?: (props: typeof __VLS_23) => any;
|
|
2199
2200
|
};
|
|
2200
|
-
declare const __VLS_base$
|
|
2201
|
+
declare const __VLS_base$25: import("vue").DefineComponent<Props$8, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2201
2202
|
error: (details: Avatar.StatusChangeDetails) => any;
|
|
2202
2203
|
load: (details: Avatar.StatusChangeDetails) => any;
|
|
2203
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
2204
|
+
}, string, import("vue").PublicProps, Readonly<Props$8> & Readonly<{
|
|
2204
2205
|
onError?: (details: Avatar.StatusChangeDetails) => any;
|
|
2205
2206
|
onLoad?: (details: Avatar.StatusChangeDetails) => any;
|
|
2206
2207
|
}>, {
|
|
2207
2208
|
shape: AvatarVariants["shape"];
|
|
2208
2209
|
objectFit: "fill" | "contain" | "cover" | "none" | "scale-down";
|
|
2209
2210
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2210
|
-
declare const __VLS_export$
|
|
2211
|
-
declare const _default$2: typeof __VLS_export$
|
|
2212
|
-
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 & {
|
|
2213
2214
|
new (): {
|
|
2214
2215
|
$slots: S;
|
|
2215
2216
|
};
|
|
@@ -2228,7 +2229,7 @@ export interface AvatarGroupContext {
|
|
|
2228
2229
|
export declare const avatarGroupKey: InjectionKey<AvatarGroupContext>;
|
|
2229
2230
|
//#endregion
|
|
2230
2231
|
//#region src/components/avatar-group/AvatarGroup.vue.d.ts
|
|
2231
|
-
interface Props$
|
|
2232
|
+
interface Props$7 {
|
|
2232
2233
|
/** 最多展示的子头像数,超出折叠为 +N 尾巴(按 default 插槽内子 Avatar 计数) */
|
|
2233
2234
|
max?: number;
|
|
2234
2235
|
vertical?: boolean;
|
|
@@ -2243,31 +2244,31 @@ interface Props$6 {
|
|
|
2243
2244
|
declare var __VLS_12: {
|
|
2244
2245
|
rest: number;
|
|
2245
2246
|
};
|
|
2246
|
-
type __VLS_Slots$
|
|
2247
|
+
type __VLS_Slots$24 = {} & {
|
|
2247
2248
|
rest?: (props: typeof __VLS_12) => any;
|
|
2248
2249
|
};
|
|
2249
|
-
declare const __VLS_base$
|
|
2250
|
-
declare const __VLS_export$
|
|
2251
|
-
declare const _default$3: typeof __VLS_export$
|
|
2252
|
-
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 & {
|
|
2253
2254
|
new (): {
|
|
2254
2255
|
$slots: S;
|
|
2255
2256
|
};
|
|
2256
2257
|
};
|
|
2257
2258
|
//#endregion
|
|
2258
2259
|
//#region src/components/badge/Badge.vue.d.ts
|
|
2259
|
-
interface Props$
|
|
2260
|
+
interface Props$6 {
|
|
2260
2261
|
variant?: BadgeVariants["variant"];
|
|
2261
2262
|
class?: string;
|
|
2262
2263
|
}
|
|
2263
|
-
declare var __VLS_1$
|
|
2264
|
-
type __VLS_Slots$
|
|
2265
|
-
default?: (props: typeof __VLS_1$
|
|
2264
|
+
declare var __VLS_1$10: {};
|
|
2265
|
+
type __VLS_Slots$23 = {} & {
|
|
2266
|
+
default?: (props: typeof __VLS_1$10) => any;
|
|
2266
2267
|
};
|
|
2267
|
-
declare const __VLS_base$
|
|
2268
|
-
declare const __VLS_export$
|
|
2269
|
-
declare const _default$4: typeof __VLS_export$
|
|
2270
|
-
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 & {
|
|
2271
2272
|
new (): {
|
|
2272
2273
|
$slots: S;
|
|
2273
2274
|
};
|
|
@@ -2280,7 +2281,7 @@ export declare const badgeVariants: (props?: {
|
|
|
2280
2281
|
export type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
2281
2282
|
//#endregion
|
|
2282
2283
|
//#region src/components/button/Button.vue.d.ts
|
|
2283
|
-
interface Props$
|
|
2284
|
+
interface Props$5 {
|
|
2284
2285
|
variant?: ButtonVariants["variant"];
|
|
2285
2286
|
size?: ButtonVariants["size"];
|
|
2286
2287
|
as?: string;
|
|
@@ -2288,19 +2289,19 @@ interface Props$4 {
|
|
|
2288
2289
|
class?: string;
|
|
2289
2290
|
}
|
|
2290
2291
|
declare var __VLS_8: {}, __VLS_17$1: {}, __VLS_19: {};
|
|
2291
|
-
type __VLS_Slots$
|
|
2292
|
+
type __VLS_Slots$22 = {} & {
|
|
2292
2293
|
default?: (props: typeof __VLS_8) => any;
|
|
2293
2294
|
} & {
|
|
2294
2295
|
icon?: (props: typeof __VLS_17$1) => any;
|
|
2295
2296
|
} & {
|
|
2296
2297
|
default?: (props: typeof __VLS_19) => any;
|
|
2297
2298
|
};
|
|
2298
|
-
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<{}>, {
|
|
2299
2300
|
as: string;
|
|
2300
2301
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2301
|
-
declare const __VLS_export$
|
|
2302
|
-
declare const _default$5: typeof __VLS_export$
|
|
2303
|
-
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 & {
|
|
2304
2305
|
new (): {
|
|
2305
2306
|
$slots: S;
|
|
2306
2307
|
};
|
|
@@ -2314,7 +2315,7 @@ export declare const buttonVariants: (props?: {
|
|
|
2314
2315
|
export type ButtonVariants = VariantProps<typeof buttonVariants>;
|
|
2315
2316
|
//#endregion
|
|
2316
2317
|
//#region src/components/calendar/Calendar.vue.d.ts
|
|
2317
|
-
declare const __VLS_export$
|
|
2318
|
+
declare const __VLS_export$29: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2318
2319
|
/** 视图形态:day=日网格(可切月/年);standalone 时 month/year 同时派生视图锁定 */
|
|
2319
2320
|
mode: {
|
|
2320
2321
|
type: PropType<"day" | "month" | "year">;
|
|
@@ -2411,20 +2412,20 @@ declare const __VLS_export$28: import("vue").DefineComponent<import("vue").Extra
|
|
|
2411
2412
|
}>> & Readonly<{
|
|
2412
2413
|
"onUpdate:modelValue"?: (value: string) => any;
|
|
2413
2414
|
}>, {
|
|
2415
|
+
mode: "day" | "month" | "year";
|
|
2414
2416
|
modelValue: string;
|
|
2415
2417
|
defaultValue: string;
|
|
2416
2418
|
min: string;
|
|
2417
2419
|
max: string;
|
|
2418
2420
|
locale: string;
|
|
2419
|
-
mode: "day" | "month" | "year";
|
|
2420
2421
|
numOfMonths: number;
|
|
2421
2422
|
isDateUnavailable: (date: DateValue) => boolean;
|
|
2422
2423
|
week: boolean;
|
|
2423
2424
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2424
|
-
declare const _default$6: typeof __VLS_export$
|
|
2425
|
+
declare const _default$6: typeof __VLS_export$29;
|
|
2425
2426
|
//#endregion
|
|
2426
2427
|
//#region src/components/card/Card.vue.d.ts
|
|
2427
|
-
interface Props$
|
|
2428
|
+
interface Props$4 {
|
|
2428
2429
|
/** 标题文案,渲染进头部(#title / #header 插槽可覆盖) */
|
|
2429
2430
|
title?: string;
|
|
2430
2431
|
/** 描述文案,渲染进头部(#description / #header 插槽可覆盖) */
|
|
@@ -2445,9 +2446,9 @@ interface Props$3 {
|
|
|
2445
2446
|
closable?: boolean;
|
|
2446
2447
|
class?: string;
|
|
2447
2448
|
}
|
|
2448
|
-
declare var __VLS_1$
|
|
2449
|
-
type __VLS_Slots$
|
|
2450
|
-
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;
|
|
2451
2452
|
} & {
|
|
2452
2453
|
header?: (props: typeof __VLS_3$2) => any;
|
|
2453
2454
|
} & {
|
|
@@ -2461,9 +2462,9 @@ type __VLS_Slots$20 = {} & {
|
|
|
2461
2462
|
} & {
|
|
2462
2463
|
footer?: (props: typeof __VLS_13) => any;
|
|
2463
2464
|
};
|
|
2464
|
-
declare const __VLS_base$
|
|
2465
|
+
declare const __VLS_base$21: import("vue").DefineComponent<Props$4, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
2465
2466
|
close: () => any;
|
|
2466
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
2467
|
+
}, string, import("vue").PublicProps, Readonly<Props$4> & Readonly<{
|
|
2467
2468
|
onClose?: () => any;
|
|
2468
2469
|
}>, {
|
|
2469
2470
|
size: CardVariants["size"];
|
|
@@ -2471,9 +2472,9 @@ declare const __VLS_base$20: import("vue").DefineComponent<Props$3, {}, {}, {},
|
|
|
2471
2472
|
title: string;
|
|
2472
2473
|
description: string;
|
|
2473
2474
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2474
|
-
declare const __VLS_export$
|
|
2475
|
-
declare const _default$7: typeof __VLS_export$
|
|
2476
|
-
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 & {
|
|
2477
2478
|
new (): {
|
|
2478
2479
|
$slots: S;
|
|
2479
2480
|
};
|
|
@@ -2496,7 +2497,7 @@ declare function close$1(): void;
|
|
|
2496
2497
|
declare var __VLS_16$5: {}, __VLS_41$2: {}, __VLS_49$1: {}, __VLS_51$1: {}, __VLS_53$1: {
|
|
2497
2498
|
close: typeof close$1;
|
|
2498
2499
|
};
|
|
2499
|
-
type __VLS_Slots$
|
|
2500
|
+
type __VLS_Slots$20 = {} & {
|
|
2500
2501
|
trigger?: (props: typeof __VLS_16$5) => any;
|
|
2501
2502
|
} & {
|
|
2502
2503
|
title?: (props: typeof __VLS_41$2) => any;
|
|
@@ -2507,7 +2508,7 @@ type __VLS_Slots$19 = {} & {
|
|
|
2507
2508
|
} & {
|
|
2508
2509
|
footer?: (props: typeof __VLS_53$1) => any;
|
|
2509
2510
|
};
|
|
2510
|
-
declare const __VLS_base$
|
|
2511
|
+
declare const __VLS_base$20: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2511
2512
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
2512
2513
|
open: {
|
|
2513
2514
|
type: PropType<boolean | undefined>;
|
|
@@ -2598,14 +2599,14 @@ declare const __VLS_base$19: import("vue").DefineComponent<import("vue").Extract
|
|
|
2598
2599
|
defaultOpen: boolean;
|
|
2599
2600
|
lazyMount: boolean;
|
|
2600
2601
|
unmountOnExit: boolean;
|
|
2601
|
-
contentClass: string;
|
|
2602
2602
|
title: string;
|
|
2603
2603
|
description: string;
|
|
2604
2604
|
showCloseButton: boolean;
|
|
2605
|
+
contentClass: string;
|
|
2605
2606
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2606
|
-
declare const __VLS_export$
|
|
2607
|
-
declare const _default$14: typeof __VLS_export$
|
|
2608
|
-
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 & {
|
|
2609
2610
|
new (): {
|
|
2610
2611
|
$slots: S;
|
|
2611
2612
|
};
|
|
@@ -2639,12 +2640,12 @@ declare var __VLS_17: {}, __VLS_38: {
|
|
|
2639
2640
|
type: "item";
|
|
2640
2641
|
}>;
|
|
2641
2642
|
};
|
|
2642
|
-
type __VLS_Slots$
|
|
2643
|
+
type __VLS_Slots$19 = {} & {
|
|
2643
2644
|
default?: (props: typeof __VLS_17) => any;
|
|
2644
2645
|
} & {
|
|
2645
2646
|
item?: (props: typeof __VLS_38) => any;
|
|
2646
2647
|
};
|
|
2647
|
-
declare const __VLS_base$
|
|
2648
|
+
declare const __VLS_base$19: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2648
2649
|
/** 菜单项描述列表(item/label/separator/group 四种形态,group 可嵌套) */
|
|
2649
2650
|
items: {
|
|
2650
2651
|
type: PropType<MenuItemOption[]>;
|
|
@@ -2728,9 +2729,9 @@ declare const __VLS_base$18: import("vue").DefineComponent<import("vue").Extract
|
|
|
2728
2729
|
contentClass: string;
|
|
2729
2730
|
triggerClass: string;
|
|
2730
2731
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2731
|
-
declare const __VLS_export$
|
|
2732
|
-
declare const _default$16: typeof __VLS_export$
|
|
2733
|
-
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 & {
|
|
2734
2735
|
new (): {
|
|
2735
2736
|
$slots: S;
|
|
2736
2737
|
};
|
|
@@ -2746,14 +2747,14 @@ type __VLS_Props$9 = {
|
|
|
2746
2747
|
form: FormInstance;
|
|
2747
2748
|
class?: string;
|
|
2748
2749
|
};
|
|
2749
|
-
declare var __VLS_1$
|
|
2750
|
-
type __VLS_Slots$
|
|
2751
|
-
default?: (props: typeof __VLS_1$
|
|
2750
|
+
declare var __VLS_1$8: {};
|
|
2751
|
+
type __VLS_Slots$18 = {} & {
|
|
2752
|
+
default?: (props: typeof __VLS_1$8) => any;
|
|
2752
2753
|
};
|
|
2753
|
-
declare const __VLS_base$
|
|
2754
|
-
declare const __VLS_export$
|
|
2755
|
-
declare const _default$18: typeof __VLS_export$
|
|
2756
|
-
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 & {
|
|
2757
2758
|
new (): {
|
|
2758
2759
|
$slots: S;
|
|
2759
2760
|
};
|
|
@@ -2764,8 +2765,8 @@ type __VLS_WithSlots$17<T, S> = T & {
|
|
|
2764
2765
|
* 把 id / aria-invalid / aria-describedby 合并到唯一子元素(cloneVNode)。
|
|
2765
2766
|
* aria 全同步计算:description/message 的 presence 由 FormItem 的 refs 提供。
|
|
2766
2767
|
*/
|
|
2767
|
-
declare const _default$19: typeof __VLS_export$
|
|
2768
|
-
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<{
|
|
2769
2770
|
class: {
|
|
2770
2771
|
type: StringConstructor;
|
|
2771
2772
|
default: any;
|
|
@@ -2785,14 +2786,14 @@ declare const __VLS_export$23: import("vue").DefineComponent<import("vue").Extra
|
|
|
2785
2786
|
type __VLS_Props$8 = {
|
|
2786
2787
|
class?: string;
|
|
2787
2788
|
};
|
|
2788
|
-
declare var __VLS_1$
|
|
2789
|
-
type __VLS_Slots$
|
|
2790
|
-
default?: (props: typeof __VLS_1$
|
|
2789
|
+
declare var __VLS_1$7: {};
|
|
2790
|
+
type __VLS_Slots$17 = {} & {
|
|
2791
|
+
default?: (props: typeof __VLS_1$7) => any;
|
|
2791
2792
|
};
|
|
2792
|
-
declare const __VLS_base$
|
|
2793
|
-
declare const __VLS_export$
|
|
2794
|
-
declare const _default$20: typeof __VLS_export$
|
|
2795
|
-
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 & {
|
|
2796
2797
|
new (): {
|
|
2797
2798
|
$slots: S;
|
|
2798
2799
|
};
|
|
@@ -2804,8 +2805,8 @@ type __VLS_WithSlots$16<T, S> = T & {
|
|
|
2804
2805
|
* field 实例只能在 form.Field 的插槽执行期取得(时序早于子组件 setup),
|
|
2805
2806
|
* 故用 defineComponent + render function 在插槽回调中写入 ShallowRef。
|
|
2806
2807
|
*/
|
|
2807
|
-
declare const _default$21: typeof __VLS_export$
|
|
2808
|
-
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<{
|
|
2809
2810
|
/** 字段名(TanStack 深层 key 的运行时形态) */
|
|
2810
2811
|
name: {
|
|
2811
2812
|
type: StringConstructor;
|
|
@@ -2847,14 +2848,14 @@ declare const __VLS_export$21: import("vue").DefineComponent<import("vue").Extra
|
|
|
2847
2848
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2848
2849
|
//#endregion
|
|
2849
2850
|
//#region src/components/form/FormItem.vue.d.ts
|
|
2850
|
-
declare var __VLS_1$
|
|
2851
|
-
type __VLS_Slots$
|
|
2852
|
-
default?: (props: typeof __VLS_1$
|
|
2851
|
+
declare var __VLS_1$6: {};
|
|
2852
|
+
type __VLS_Slots$16 = {} & {
|
|
2853
|
+
default?: (props: typeof __VLS_1$6) => any;
|
|
2853
2854
|
};
|
|
2854
|
-
declare const __VLS_base$
|
|
2855
|
-
declare const __VLS_export$
|
|
2856
|
-
declare const _default$22: typeof __VLS_export$
|
|
2857
|
-
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 & {
|
|
2858
2859
|
new (): {
|
|
2859
2860
|
$slots: S;
|
|
2860
2861
|
};
|
|
@@ -2864,14 +2865,14 @@ type __VLS_WithSlots$15<T, S> = T & {
|
|
|
2864
2865
|
type __VLS_Props$7 = {
|
|
2865
2866
|
class?: string;
|
|
2866
2867
|
};
|
|
2867
|
-
declare var __VLS_1$
|
|
2868
|
-
type __VLS_Slots$
|
|
2869
|
-
default?: (props: typeof __VLS_1$
|
|
2868
|
+
declare var __VLS_1$5: {};
|
|
2869
|
+
type __VLS_Slots$15 = {} & {
|
|
2870
|
+
default?: (props: typeof __VLS_1$5) => any;
|
|
2870
2871
|
};
|
|
2871
|
-
declare const __VLS_base$
|
|
2872
|
-
declare const __VLS_export$
|
|
2873
|
-
declare const _default$23: typeof __VLS_export$
|
|
2874
|
-
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 & {
|
|
2875
2876
|
new (): {
|
|
2876
2877
|
$slots: S;
|
|
2877
2878
|
};
|
|
@@ -2883,21 +2884,21 @@ type __VLS_Props$6 = {
|
|
|
2883
2884
|
message?: string;
|
|
2884
2885
|
class?: string;
|
|
2885
2886
|
};
|
|
2886
|
-
declare const __VLS_export$
|
|
2887
|
-
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;
|
|
2888
2889
|
//#endregion
|
|
2889
2890
|
//#region src/components/form/FormSubscribe.vue.d.ts
|
|
2890
2891
|
declare var __VLS_9: {
|
|
2891
2892
|
canSubmit: boolean;
|
|
2892
2893
|
isSubmitting: boolean;
|
|
2893
2894
|
};
|
|
2894
|
-
type __VLS_Slots$
|
|
2895
|
+
type __VLS_Slots$14 = {} & {
|
|
2895
2896
|
default?: (props: typeof __VLS_9) => any;
|
|
2896
2897
|
};
|
|
2897
|
-
declare const __VLS_base$
|
|
2898
|
-
declare const __VLS_export$
|
|
2899
|
-
declare const _default$26: typeof __VLS_export$
|
|
2900
|
-
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 & {
|
|
2901
2902
|
new (): {
|
|
2902
2903
|
$slots: S;
|
|
2903
2904
|
};
|
|
@@ -2907,14 +2908,14 @@ type __VLS_WithSlots$13<T, S> = T & {
|
|
|
2907
2908
|
type __VLS_Props$5 = {
|
|
2908
2909
|
class?: string;
|
|
2909
2910
|
};
|
|
2910
|
-
declare var __VLS_1$
|
|
2911
|
-
type __VLS_Slots$
|
|
2912
|
-
default?: (props: typeof __VLS_1$
|
|
2911
|
+
declare var __VLS_1$4: {};
|
|
2912
|
+
type __VLS_Slots$13 = {} & {
|
|
2913
|
+
default?: (props: typeof __VLS_1$4) => any;
|
|
2913
2914
|
};
|
|
2914
|
-
declare const __VLS_base$
|
|
2915
|
-
declare const __VLS_export$
|
|
2916
|
-
declare const _default$28: typeof __VLS_export$
|
|
2917
|
-
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 & {
|
|
2918
2919
|
new (): {
|
|
2919
2920
|
$slots: S;
|
|
2920
2921
|
};
|
|
@@ -2922,10 +2923,10 @@ type __VLS_WithSlots$12<T, S> = T & {
|
|
|
2922
2923
|
//#endregion
|
|
2923
2924
|
//#region src/components/pin-input/PinInput.vue.d.ts
|
|
2924
2925
|
declare var __VLS_16$4: {};
|
|
2925
|
-
type __VLS_Slots$
|
|
2926
|
+
type __VLS_Slots$12 = {} & {
|
|
2926
2927
|
separator?: (props: typeof __VLS_16$4) => any;
|
|
2927
2928
|
};
|
|
2928
|
-
declare const __VLS_base$
|
|
2929
|
+
declare const __VLS_base$12: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2929
2930
|
/** 受控值:每格一个元素的数组;undefined 走内部非受控 */
|
|
2930
2931
|
modelValue: {
|
|
2931
2932
|
type: PropType<string[] | undefined>;
|
|
@@ -3028,21 +3029,21 @@ declare const __VLS_base$11: import("vue").DefineComponent<import("vue").Extract
|
|
|
3028
3029
|
"onUpdate:modelValue"?: (value: string[]) => any;
|
|
3029
3030
|
onComplete?: (value: string[]) => any;
|
|
3030
3031
|
}>, {
|
|
3032
|
+
class: string;
|
|
3031
3033
|
length: number;
|
|
3032
3034
|
modelValue: string[];
|
|
3033
3035
|
type: "numeric" | "alphanumeric";
|
|
3034
3036
|
placeholder: string;
|
|
3035
3037
|
disabled: boolean;
|
|
3036
3038
|
invalid: boolean;
|
|
3037
|
-
class: string;
|
|
3038
3039
|
otp: boolean;
|
|
3039
3040
|
mask: boolean;
|
|
3040
3041
|
autoSubmit: boolean;
|
|
3041
3042
|
blurOnComplete: boolean;
|
|
3042
3043
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3043
|
-
declare const __VLS_export$
|
|
3044
|
-
declare const _default$32: typeof __VLS_export$
|
|
3045
|
-
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 & {
|
|
3046
3047
|
new (): {
|
|
3047
3048
|
$slots: S;
|
|
3048
3049
|
};
|
|
@@ -3052,12 +3053,12 @@ type __VLS_WithSlots$11<T, S> = T & {
|
|
|
3052
3053
|
/** 面板相对触发器的对齐方向 */
|
|
3053
3054
|
type Align = "start" | "center" | "end";
|
|
3054
3055
|
declare var __VLS_16$3: {}, __VLS_30$1: {};
|
|
3055
|
-
type __VLS_Slots$
|
|
3056
|
+
type __VLS_Slots$11 = {} & {
|
|
3056
3057
|
default?: (props: typeof __VLS_16$3) => any;
|
|
3057
3058
|
} & {
|
|
3058
3059
|
content?: (props: typeof __VLS_30$1) => any;
|
|
3059
3060
|
};
|
|
3060
|
-
declare const __VLS_base$
|
|
3061
|
+
declare const __VLS_base$11: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3061
3062
|
/** 受控开关(配合 v-model:open);不传时为非受控 */
|
|
3062
3063
|
open: {
|
|
3063
3064
|
type: PropType<boolean | undefined>;
|
|
@@ -3138,34 +3139,34 @@ declare const __VLS_base$10: import("vue").DefineComponent<import("vue").Extract
|
|
|
3138
3139
|
defaultOpen: boolean;
|
|
3139
3140
|
lazyMount: boolean;
|
|
3140
3141
|
unmountOnExit: boolean;
|
|
3141
|
-
align: Align;
|
|
3142
3142
|
contentClass: string;
|
|
3143
|
+
align: Align;
|
|
3143
3144
|
contentProps: Record<string, unknown>;
|
|
3144
3145
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3145
|
-
declare const __VLS_export$
|
|
3146
|
-
declare const _default$34: typeof __VLS_export$
|
|
3147
|
-
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 & {
|
|
3148
3149
|
new (): {
|
|
3149
3150
|
$slots: S;
|
|
3150
3151
|
};
|
|
3151
3152
|
};
|
|
3152
3153
|
//#endregion
|
|
3153
3154
|
//#region src/components/separator/Separator.vue.d.ts
|
|
3154
|
-
interface Props$
|
|
3155
|
+
interface Props$3 {
|
|
3155
3156
|
orientation?: "horizontal" | "vertical";
|
|
3156
3157
|
class?: string;
|
|
3157
3158
|
}
|
|
3158
|
-
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<{}>, {
|
|
3159
3160
|
orientation: "horizontal" | "vertical";
|
|
3160
3161
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3161
|
-
declare const _default$38: typeof __VLS_export$
|
|
3162
|
+
declare const _default$38: typeof __VLS_export$14;
|
|
3162
3163
|
//#endregion
|
|
3163
3164
|
//#region src/components/skeleton/Skeleton.vue.d.ts
|
|
3164
3165
|
type __VLS_Props$4 = {
|
|
3165
3166
|
class?: string;
|
|
3166
3167
|
};
|
|
3167
|
-
declare const __VLS_export$
|
|
3168
|
-
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;
|
|
3169
3170
|
//#endregion
|
|
3170
3171
|
//#region src/components/slot/Slot.d.ts
|
|
3171
3172
|
/**
|
|
@@ -3423,7 +3424,7 @@ interface TableRenderDefinition<T extends DataRecord = DataRecord> {
|
|
|
3423
3424
|
}
|
|
3424
3425
|
//#endregion
|
|
3425
3426
|
//#region src/components/table-render/TableRender.vue.d.ts
|
|
3426
|
-
type __VLS_Slots$
|
|
3427
|
+
type __VLS_Slots$10 = {
|
|
3427
3428
|
empty?: () => VNodeChild;
|
|
3428
3429
|
/** 错误态占位(服务端模式 onLoad 失败时渲染,优先于数据区) */
|
|
3429
3430
|
error?: (props: {
|
|
@@ -3434,7 +3435,7 @@ type __VLS_Slots$9 = {
|
|
|
3434
3435
|
declare function onSort(key: string): void;
|
|
3435
3436
|
declare function onPageIndex(pageIndex: number): void;
|
|
3436
3437
|
declare function onPageSize(pageSize: number): void;
|
|
3437
|
-
declare const __VLS_base$
|
|
3438
|
+
declare const __VLS_base$10: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3438
3439
|
/** 聚合式(推荐):defineTable 返回的定义对象 */
|
|
3439
3440
|
definition: {
|
|
3440
3441
|
type: PropType<TableRenderDefinition<any>>;
|
|
@@ -3671,9 +3672,9 @@ declare const __VLS_base$9: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3671
3672
|
virtual: boolean;
|
|
3672
3673
|
columnSettings: boolean;
|
|
3673
3674
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3674
|
-
declare const __VLS_export$
|
|
3675
|
-
declare const _default$43: typeof __VLS_export$
|
|
3676
|
-
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 & {
|
|
3677
3678
|
new (): {
|
|
3678
3679
|
$slots: S;
|
|
3679
3680
|
};
|
|
@@ -3705,7 +3706,7 @@ export declare function defineTable<T extends DataRecord>(config: DefineTableOpt
|
|
|
3705
3706
|
*/
|
|
3706
3707
|
export declare function useTableRender<T extends DataRecord>(options: UseTableRenderOptions<T>): TableRenderDefinition<T>;
|
|
3707
3708
|
//#endregion
|
|
3708
|
-
//#region src/components/tabs/
|
|
3709
|
+
//#region src/components/tabs/types.d.ts
|
|
3709
3710
|
/** 单个标签页配置项 */
|
|
3710
3711
|
interface TabItem {
|
|
3711
3712
|
/** 唯一标识,同时作为触发按钮与面板的 value */
|
|
@@ -3720,8 +3721,12 @@ interface TabItem {
|
|
|
3720
3721
|
unmountOnExit?: boolean;
|
|
3721
3722
|
/** 追加到触发按钮的样式类 */
|
|
3722
3723
|
class?: string;
|
|
3724
|
+
/** 显示关闭按钮;点击仅发出 close 事件,移除 items 由使用方处理 */
|
|
3725
|
+
closable?: boolean;
|
|
3723
3726
|
}
|
|
3724
|
-
|
|
3727
|
+
//#endregion
|
|
3728
|
+
//#region src/components/tabs/Tabs.vue.d.ts
|
|
3729
|
+
interface Props$2 {
|
|
3725
3730
|
/** 标签页配置列表(必填) */
|
|
3726
3731
|
items: TabItem[];
|
|
3727
3732
|
/** 当前激活的 tab 值(配合 v-model:value);不传时为非受控 */
|
|
@@ -3733,21 +3738,45 @@ interface Props$1 {
|
|
|
3733
3738
|
lazyMount?: boolean;
|
|
3734
3739
|
/** 组件级默认:面板切走即卸载(item.unmountOnExit 优先) */
|
|
3735
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;
|
|
3736
3755
|
}
|
|
3737
|
-
declare var
|
|
3756
|
+
declare var __VLS_10$1: {}, __VLS_24: {
|
|
3757
|
+
item: TabItem;
|
|
3758
|
+
}, __VLS_31: {}, __VLS_39: {
|
|
3738
3759
|
item: TabItem;
|
|
3739
3760
|
};
|
|
3740
|
-
type __VLS_Slots$
|
|
3741
|
-
|
|
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;
|
|
3742
3769
|
};
|
|
3743
|
-
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;
|
|
3744
3772
|
"update:value": (value: string) => any;
|
|
3745
|
-
}, string, import("vue").PublicProps, Readonly<Props$
|
|
3773
|
+
}, string, import("vue").PublicProps, Readonly<Props$2> & Readonly<{
|
|
3774
|
+
onClose?: (value: string) => any;
|
|
3746
3775
|
"onUpdate:value"?: (value: string) => any;
|
|
3747
3776
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
3748
|
-
declare const __VLS_export$
|
|
3749
|
-
declare const _default$44: typeof __VLS_export$
|
|
3750
|
-
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 & {
|
|
3751
3780
|
new (): {
|
|
3752
3781
|
$slots: S;
|
|
3753
3782
|
};
|
|
@@ -3755,12 +3784,12 @@ type __VLS_WithSlots$8<T, S> = T & {
|
|
|
3755
3784
|
//#endregion
|
|
3756
3785
|
//#region src/components/tooltip/Tooltip.vue.d.ts
|
|
3757
3786
|
declare var __VLS_16$2: {}, __VLS_30: {};
|
|
3758
|
-
type __VLS_Slots$
|
|
3787
|
+
type __VLS_Slots$8 = {} & {
|
|
3759
3788
|
default?: (props: typeof __VLS_16$2) => any;
|
|
3760
3789
|
} & {
|
|
3761
3790
|
content?: (props: typeof __VLS_30) => any;
|
|
3762
3791
|
};
|
|
3763
|
-
declare const __VLS_base$
|
|
3792
|
+
declare const __VLS_base$8: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3764
3793
|
/** 提示文字;#content 插槽可覆盖以渲染富内容 */
|
|
3765
3794
|
content: {
|
|
3766
3795
|
type: StringConstructor;
|
|
@@ -3861,16 +3890,16 @@ declare const __VLS_base$7: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
3861
3890
|
delayDuration: number;
|
|
3862
3891
|
closeDuration: number;
|
|
3863
3892
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3864
|
-
declare const __VLS_export$
|
|
3865
|
-
declare const _default$
|
|
3866
|
-
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 & {
|
|
3867
3896
|
new (): {
|
|
3868
3897
|
$slots: S;
|
|
3869
3898
|
};
|
|
3870
3899
|
};
|
|
3871
3900
|
//#endregion
|
|
3872
3901
|
//#region src/components/alert/Alert.vue.d.ts
|
|
3873
|
-
interface Props {
|
|
3902
|
+
interface Props$1 {
|
|
3874
3903
|
title?: string;
|
|
3875
3904
|
description?: string;
|
|
3876
3905
|
variant?: AlertVariants["variant"];
|
|
@@ -3878,14 +3907,14 @@ interface Props {
|
|
|
3878
3907
|
showIcon?: boolean;
|
|
3879
3908
|
class?: string;
|
|
3880
3909
|
}
|
|
3881
|
-
type __VLS_Props$3 = Props;
|
|
3910
|
+
type __VLS_Props$3 = Props$1;
|
|
3882
3911
|
type __VLS_ModelProps = {
|
|
3883
3912
|
modelValue?: boolean;
|
|
3884
3913
|
};
|
|
3885
3914
|
type __VLS_PublicProps = __VLS_Props$3 & __VLS_ModelProps;
|
|
3886
|
-
declare var __VLS_1$
|
|
3887
|
-
type __VLS_Slots$
|
|
3888
|
-
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;
|
|
3889
3918
|
} & {
|
|
3890
3919
|
title?: (props: typeof __VLS_3$1) => any;
|
|
3891
3920
|
} & {
|
|
@@ -3893,7 +3922,7 @@ type __VLS_Slots$6 = {} & {
|
|
|
3893
3922
|
} & {
|
|
3894
3923
|
close?: (props: typeof __VLS_7) => any;
|
|
3895
3924
|
};
|
|
3896
|
-
declare const __VLS_base$
|
|
3925
|
+
declare const __VLS_base$7: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3897
3926
|
"update:modelValue": (value: boolean) => any;
|
|
3898
3927
|
close: () => any;
|
|
3899
3928
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
@@ -3907,9 +3936,9 @@ declare const __VLS_base$6: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
3907
3936
|
closable: boolean;
|
|
3908
3937
|
showIcon: boolean;
|
|
3909
3938
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3910
|
-
declare const __VLS_export$
|
|
3911
|
-
declare const _default: typeof __VLS_export$
|
|
3912
|
-
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 & {
|
|
3913
3942
|
new (): {
|
|
3914
3943
|
$slots: S;
|
|
3915
3944
|
};
|
|
@@ -3917,11 +3946,11 @@ type __VLS_WithSlots$6<T, S> = T & {
|
|
|
3917
3946
|
//#endregion
|
|
3918
3947
|
//#region src/components/alert/index.d.ts
|
|
3919
3948
|
export declare const alertVariants: (props?: {
|
|
3920
|
-
variant?: "default" | "
|
|
3949
|
+
variant?: "default" | "success" | "warning" | "info" | "error";
|
|
3921
3950
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
3922
3951
|
export type AlertVariants = VariantProps<typeof alertVariants>;
|
|
3923
3952
|
export declare const alertIconVariants: (props?: {
|
|
3924
|
-
variant?: "default" | "
|
|
3953
|
+
variant?: "default" | "success" | "warning" | "info" | "error";
|
|
3925
3954
|
} & import("class-variance-authority/types").ClassProp) => string;
|
|
3926
3955
|
/**
|
|
3927
3956
|
* 内置图标路径(按 variant 形状差异化,保证色弱用户可辨别):
|
|
@@ -3938,18 +3967,18 @@ type __VLS_Props$2 = {
|
|
|
3938
3967
|
class?: string;
|
|
3939
3968
|
description?: string;
|
|
3940
3969
|
};
|
|
3941
|
-
declare var __VLS_1$
|
|
3942
|
-
type __VLS_Slots$
|
|
3943
|
-
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;
|
|
3944
3973
|
} & {
|
|
3945
3974
|
default?: (props: typeof __VLS_3) => any;
|
|
3946
3975
|
};
|
|
3947
|
-
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<{}>, {
|
|
3948
3977
|
description: string;
|
|
3949
3978
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3950
|
-
declare const __VLS_export$
|
|
3951
|
-
declare const _default$17: typeof __VLS_export$
|
|
3952
|
-
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 & {
|
|
3953
3982
|
new (): {
|
|
3954
3983
|
$slots: S;
|
|
3955
3984
|
};
|
|
@@ -3974,7 +4003,7 @@ type __VLS_Props$1 = {
|
|
|
3974
4003
|
/** 追加/覆盖根元素样式类 */
|
|
3975
4004
|
class?: string;
|
|
3976
4005
|
};
|
|
3977
|
-
declare const __VLS_export$
|
|
4006
|
+
declare const __VLS_export$7: import("vue").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
3978
4007
|
"update:value": (value: number) => any;
|
|
3979
4008
|
}, string, import("vue").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
3980
4009
|
"onUpdate:value"?: (value: number) => any;
|
|
@@ -3984,7 +4013,7 @@ declare const __VLS_export$6: import("vue").DefineComponent<__VLS_Props$1, {}, {
|
|
|
3984
4013
|
indeterminate: boolean;
|
|
3985
4014
|
showValue: boolean;
|
|
3986
4015
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
3987
|
-
declare const _default$35: typeof __VLS_export$
|
|
4016
|
+
declare const _default$35: typeof __VLS_export$7;
|
|
3988
4017
|
//#endregion
|
|
3989
4018
|
//#region src/components/spin/Spin.vue.d.ts
|
|
3990
4019
|
type __VLS_Props = {
|
|
@@ -3996,18 +4025,18 @@ type __VLS_Props = {
|
|
|
3996
4025
|
label?: string;
|
|
3997
4026
|
class?: string;
|
|
3998
4027
|
};
|
|
3999
|
-
declare var __VLS_1: {};
|
|
4000
|
-
type __VLS_Slots$
|
|
4001
|
-
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;
|
|
4002
4031
|
};
|
|
4003
|
-
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<{}>, {
|
|
4004
4033
|
size: "sm" | "default" | "lg";
|
|
4005
|
-
label: string;
|
|
4006
4034
|
spinning: boolean;
|
|
4035
|
+
label: string;
|
|
4007
4036
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4008
|
-
declare const __VLS_export$
|
|
4009
|
-
declare const _default$41: typeof __VLS_export$
|
|
4010
|
-
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 & {
|
|
4011
4040
|
new (): {
|
|
4012
4041
|
$slots: S;
|
|
4013
4042
|
};
|
|
@@ -4058,7 +4087,7 @@ export declare function useToast(): {
|
|
|
4058
4087
|
type ToastApi = typeof toastApi;
|
|
4059
4088
|
//#endregion
|
|
4060
4089
|
//#region src/components/toast/ToastProvider.vue.d.ts
|
|
4061
|
-
declare const __VLS_export$
|
|
4090
|
+
declare const __VLS_export$5: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4062
4091
|
/** 弹出位置 */
|
|
4063
4092
|
placement: {
|
|
4064
4093
|
type: () => ToastPlacement;
|
|
@@ -4095,18 +4124,18 @@ declare const __VLS_export$4: import("vue").DefineComponent<import("vue").Extrac
|
|
|
4095
4124
|
placement: Toast.Placement;
|
|
4096
4125
|
duration: number;
|
|
4097
4126
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4098
|
-
declare const _default$
|
|
4127
|
+
declare const _default$47: typeof __VLS_export$5;
|
|
4099
4128
|
//#endregion
|
|
4100
4129
|
//#region src/components/alert-dialog/AlertDialog.vue.d.ts
|
|
4101
4130
|
declare var __VLS_33: {}, __VLS_41$1: {}, __VLS_43: {};
|
|
4102
|
-
type __VLS_Slots$
|
|
4131
|
+
type __VLS_Slots$4 = {} & {
|
|
4103
4132
|
title?: (props: typeof __VLS_33) => any;
|
|
4104
4133
|
} & {
|
|
4105
4134
|
description?: (props: typeof __VLS_41$1) => any;
|
|
4106
4135
|
} & {
|
|
4107
4136
|
default?: (props: typeof __VLS_43) => any;
|
|
4108
4137
|
};
|
|
4109
|
-
declare const __VLS_base$
|
|
4138
|
+
declare const __VLS_base$4: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4110
4139
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4111
4140
|
open: {
|
|
4112
4141
|
type: PropType<boolean | undefined>;
|
|
@@ -4183,9 +4212,9 @@ declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4183
4212
|
confirmText: string;
|
|
4184
4213
|
cancelText: string;
|
|
4185
4214
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4186
|
-
declare const __VLS_export$
|
|
4187
|
-
declare const _default$1: typeof __VLS_export$
|
|
4188
|
-
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 & {
|
|
4189
4218
|
new (): {
|
|
4190
4219
|
$slots: S;
|
|
4191
4220
|
};
|
|
@@ -4193,10 +4222,10 @@ type __VLS_WithSlots$3<T, S> = T & {
|
|
|
4193
4222
|
//#endregion
|
|
4194
4223
|
//#region src/components/context-menu/ContextMenu.vue.d.ts
|
|
4195
4224
|
declare var __VLS_16$1: {};
|
|
4196
|
-
type __VLS_Slots$
|
|
4225
|
+
type __VLS_Slots$3 = {} & {
|
|
4197
4226
|
default?: (props: typeof __VLS_16$1) => any;
|
|
4198
4227
|
};
|
|
4199
|
-
declare const __VLS_base$
|
|
4228
|
+
declare const __VLS_base$3: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4200
4229
|
/** 菜单项描述列表,与 DropdownMenu 的 items 完全同构(item/label/separator/group 四种形态,group 可嵌套) */
|
|
4201
4230
|
items: {
|
|
4202
4231
|
type: PropType<MenuItemOption[]>;
|
|
@@ -4217,9 +4246,9 @@ declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4217
4246
|
value: string;
|
|
4218
4247
|
}) => any;
|
|
4219
4248
|
}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4220
|
-
declare const __VLS_export$
|
|
4221
|
-
declare const _default$10: typeof __VLS_export$
|
|
4222
|
-
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 & {
|
|
4223
4252
|
new (): {
|
|
4224
4253
|
$slots: S;
|
|
4225
4254
|
};
|
|
@@ -4233,7 +4262,7 @@ declare function close(): void;
|
|
|
4233
4262
|
declare var __VLS_16: {}, __VLS_41: {}, __VLS_49: {}, __VLS_51: {}, __VLS_53: {
|
|
4234
4263
|
close: typeof close;
|
|
4235
4264
|
};
|
|
4236
|
-
type __VLS_Slots$
|
|
4265
|
+
type __VLS_Slots$2 = {} & {
|
|
4237
4266
|
trigger?: (props: typeof __VLS_16) => any;
|
|
4238
4267
|
} & {
|
|
4239
4268
|
title?: (props: typeof __VLS_41) => any;
|
|
@@ -4244,7 +4273,7 @@ type __VLS_Slots$1 = {} & {
|
|
|
4244
4273
|
} & {
|
|
4245
4274
|
footer?: (props: typeof __VLS_53) => any;
|
|
4246
4275
|
};
|
|
4247
|
-
declare const __VLS_base$
|
|
4276
|
+
declare const __VLS_base$2: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4248
4277
|
/** 受控开关(配合 v-model:open);不传时为非受控,由内部状态管理 */
|
|
4249
4278
|
open: {
|
|
4250
4279
|
type: PropType<boolean | undefined>;
|
|
@@ -4351,9 +4380,9 @@ declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractP
|
|
|
4351
4380
|
showCloseButton: boolean;
|
|
4352
4381
|
placement: Placement;
|
|
4353
4382
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
4354
|
-
declare const __VLS_export$
|
|
4355
|
-
declare const _default$15: typeof __VLS_export$
|
|
4356
|
-
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 & {
|
|
4357
4386
|
new (): {
|
|
4358
4387
|
$slots: S;
|
|
4359
4388
|
};
|
|
@@ -4361,10 +4390,10 @@ type __VLS_WithSlots$1<T, S> = T & {
|
|
|
4361
4390
|
//#endregion
|
|
4362
4391
|
//#region src/components/popconfirm/Popconfirm.vue.d.ts
|
|
4363
4392
|
declare var __VLS_10: {};
|
|
4364
|
-
type __VLS_Slots = {} & {
|
|
4393
|
+
type __VLS_Slots$1 = {} & {
|
|
4365
4394
|
default?: (props: typeof __VLS_10) => any;
|
|
4366
4395
|
};
|
|
4367
|
-
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4396
|
+
declare const __VLS_base$1: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4368
4397
|
/** 气泡标题(渲染为 Ark Popover.Title,content 自动接线 aria-labelledby) */
|
|
4369
4398
|
title: {
|
|
4370
4399
|
type: StringConstructor;
|
|
@@ -4441,12 +4470,78 @@ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPro
|
|
|
4441
4470
|
confirmText: string;
|
|
4442
4471
|
cancelText: string;
|
|
4443
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>;
|
|
4444
4503
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
4445
|
-
declare const _default$
|
|
4504
|
+
declare const _default$46: typeof __VLS_export;
|
|
4446
4505
|
type __VLS_WithSlots<T, S> = T & {
|
|
4447
4506
|
new (): {
|
|
4448
4507
|
$slots: S;
|
|
4449
4508
|
};
|
|
4450
4509
|
};
|
|
4451
4510
|
//#endregion
|
|
4452
|
-
|
|
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 };
|