yc-pro-components 0.0.74 → 0.0.75
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/es/components/check-card/index.d.ts +61 -61
- package/es/components/check-card/src/index.vue.d.ts +4 -4
- package/es/components/check-card-group/index.d.ts +43 -43
- package/es/components/check-card-group/src/index.vue.d.ts +3 -3
- package/es/components/date-picker/index.d.ts +30 -30
- package/es/components/date-picker/src/index.vue.d.ts +22 -22
- package/es/components/dialog/index.d.ts +45 -45
- package/es/components/dialog/src/index.vue.d.ts +3 -3
- package/es/components/dialog-form/index.d.ts +31 -31
- package/es/components/dialog-form/src/index.vue.d.ts +9 -9
- package/es/components/display-item/index.d.ts +41 -41
- package/es/components/display-item/src/index.vue.d.ts +22 -22
- package/es/components/drawer-form/index.d.ts +68 -68
- package/es/components/drawer-form/src/index.vue.d.ts +16 -16
- package/es/components/form/index.d.ts +71 -71
- package/es/components/form/src/form-content.vue.d.ts +21 -21
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +69 -69
- package/es/components/form-item/src/index.vue.d.ts +21 -21
- package/es/components/form-item/src/index.vue2.mjs +2 -2
- package/es/components/header/index.d.ts +19 -19
- package/es/components/header/src/index.vue.d.ts +1 -1
- package/es/components/input-tag/index.d.ts +15 -15
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/layout/index.d.ts +30 -30
- package/es/components/layout/src/index.vue.d.ts +10 -10
- package/es/components/page/index.d.ts +533 -533
- package/es/components/page/src/index.vue.d.ts +181 -181
- package/es/components/pagination/index.d.ts +42 -42
- package/es/components/pagination/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +35 -35
- package/es/components/radio/src/index.vue.d.ts +27 -27
- package/es/components/render/index.d.ts +3 -3
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +243 -243
- package/es/components/search/src/index.vue.d.ts +73 -73
- package/es/components/sidebar/index.d.ts +15 -15
- package/es/components/sidebar/src/index.vue.d.ts +5 -5
- package/es/components/steps-form/index.d.ts +23 -23
- package/es/components/steps-form/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +37 -37
- package/es/components/utils/index.d.ts +2 -2
- package/es/components/yc-dialog/index.d.ts +24 -24
- package/es/components/yc-download-dialog/index.d.ts +19 -19
- package/es/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-form-container-header/index.d.ts +12 -12
- package/es/components/yc-more-actions/index.d.ts +46 -46
- package/es/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/es/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/es/components/yc-segmented/index.d.ts +2 -2
- package/es/components/yc-segmented/src/index.d.ts +2 -2
- package/es/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/es/components/yc-text/src/index.vue.d.ts +2 -2
- package/es/hooks/usePlusFormReset.d.ts +244 -244
- package/es/index.css +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/es/yc-components/version.d.ts +1 -1
- package/index.js +4 -4
- package/index.min.css +1 -0
- package/index.min.js +3 -3
- package/index.min.mjs +3 -3
- package/index.mjs +4 -4
- package/lib/components/check-card/index.d.ts +61 -61
- package/lib/components/check-card/src/index.vue.d.ts +4 -4
- package/lib/components/check-card-group/index.d.ts +43 -43
- package/lib/components/check-card-group/src/index.vue.d.ts +3 -3
- package/lib/components/date-picker/index.d.ts +30 -30
- package/lib/components/date-picker/src/index.vue.d.ts +22 -22
- package/lib/components/dialog/index.d.ts +45 -45
- package/lib/components/dialog/src/index.vue.d.ts +3 -3
- package/lib/components/dialog-form/index.d.ts +31 -31
- package/lib/components/dialog-form/src/index.vue.d.ts +9 -9
- package/lib/components/display-item/index.d.ts +41 -41
- package/lib/components/display-item/src/index.vue.d.ts +22 -22
- package/lib/components/drawer-form/index.d.ts +68 -68
- package/lib/components/drawer-form/src/index.vue.d.ts +16 -16
- package/lib/components/form/index.d.ts +71 -71
- package/lib/components/form/src/form-content.vue.d.ts +21 -21
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +69 -69
- package/lib/components/form-item/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/src/index.vue2.js +2 -2
- package/lib/components/header/index.d.ts +19 -19
- package/lib/components/header/src/index.vue.d.ts +1 -1
- package/lib/components/input-tag/index.d.ts +15 -15
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/layout/index.d.ts +30 -30
- package/lib/components/layout/src/index.vue.d.ts +10 -10
- package/lib/components/page/index.d.ts +533 -533
- package/lib/components/page/src/index.vue.d.ts +181 -181
- package/lib/components/pagination/index.d.ts +42 -42
- package/lib/components/pagination/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +35 -35
- package/lib/components/radio/src/index.vue.d.ts +27 -27
- package/lib/components/render/index.d.ts +3 -3
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +243 -243
- package/lib/components/search/src/index.vue.d.ts +73 -73
- package/lib/components/sidebar/index.d.ts +15 -15
- package/lib/components/sidebar/src/index.vue.d.ts +5 -5
- package/lib/components/steps-form/index.d.ts +23 -23
- package/lib/components/steps-form/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +37 -37
- package/lib/components/utils/index.d.ts +2 -2
- package/lib/components/yc-dialog/index.d.ts +24 -24
- package/lib/components/yc-download-dialog/index.d.ts +19 -19
- package/lib/components/yc-download-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-form-container-header/index.d.ts +12 -12
- package/lib/components/yc-more-actions/index.d.ts +46 -46
- package/lib/components/yc-more-actions/src/index.vue.d.ts +3 -3
- package/lib/components/yc-plus-page/src/index.vue.d.ts +361 -361
- package/lib/components/yc-segmented/index.d.ts +2 -2
- package/lib/components/yc-segmented/src/index.d.ts +2 -2
- package/lib/components/yc-select-v2/src/index.vue.d.ts +3 -3
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-tabs-with-filter/index.d.ts +16 -16
- package/lib/components/yc-text/src/index.vue.d.ts +2 -2
- package/lib/hooks/usePlusFormReset.d.ts +244 -244
- package/lib/index.css +7 -6
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/yc-components/version.d.ts +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
|
@@ -5,14 +5,6 @@ export type PlusDialogInstance = InstanceType<typeof Dialog>;
|
|
|
5
5
|
export * from './src/type';
|
|
6
6
|
export declare const PlusDialog: {
|
|
7
7
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
8
|
-
title: {
|
|
9
|
-
type: PropType<string>;
|
|
10
|
-
default: string;
|
|
11
|
-
};
|
|
12
|
-
width: {
|
|
13
|
-
type: PropType<string | number>;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
8
|
top: {
|
|
17
9
|
type: PropType<string>;
|
|
18
10
|
default: string;
|
|
@@ -21,12 +13,20 @@ export declare const PlusDialog: {
|
|
|
21
13
|
type: PropType<boolean>;
|
|
22
14
|
default: boolean;
|
|
23
15
|
};
|
|
16
|
+
title: {
|
|
17
|
+
type: PropType<string>;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
width: {
|
|
21
|
+
type: PropType<string | number>;
|
|
22
|
+
default: string;
|
|
23
|
+
};
|
|
24
24
|
hasFooter: {
|
|
25
25
|
type: PropType<boolean>;
|
|
26
26
|
default: boolean;
|
|
27
27
|
};
|
|
28
28
|
footerAlign: {
|
|
29
|
-
type: PropType<"
|
|
29
|
+
type: PropType<"left" | "right" | "center">;
|
|
30
30
|
default: string;
|
|
31
31
|
};
|
|
32
32
|
confirmLoading: {
|
|
@@ -53,14 +53,6 @@ export declare const PlusDialog: {
|
|
|
53
53
|
cancel: () => void;
|
|
54
54
|
confirm: () => void;
|
|
55
55
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
56
|
-
title: {
|
|
57
|
-
type: PropType<string>;
|
|
58
|
-
default: string;
|
|
59
|
-
};
|
|
60
|
-
width: {
|
|
61
|
-
type: PropType<string | number>;
|
|
62
|
-
default: string;
|
|
63
|
-
};
|
|
64
56
|
top: {
|
|
65
57
|
type: PropType<string>;
|
|
66
58
|
default: string;
|
|
@@ -69,12 +61,20 @@ export declare const PlusDialog: {
|
|
|
69
61
|
type: PropType<boolean>;
|
|
70
62
|
default: boolean;
|
|
71
63
|
};
|
|
64
|
+
title: {
|
|
65
|
+
type: PropType<string>;
|
|
66
|
+
default: string;
|
|
67
|
+
};
|
|
68
|
+
width: {
|
|
69
|
+
type: PropType<string | number>;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
72
|
hasFooter: {
|
|
73
73
|
type: PropType<boolean>;
|
|
74
74
|
default: boolean;
|
|
75
75
|
};
|
|
76
76
|
footerAlign: {
|
|
77
|
-
type: PropType<"
|
|
77
|
+
type: PropType<"left" | "right" | "center">;
|
|
78
78
|
default: string;
|
|
79
79
|
};
|
|
80
80
|
confirmLoading: {
|
|
@@ -97,12 +97,12 @@ export declare const PlusDialog: {
|
|
|
97
97
|
onCancel?: (() => any) | undefined;
|
|
98
98
|
onConfirm?: (() => any) | undefined;
|
|
99
99
|
}, {
|
|
100
|
-
title: string;
|
|
101
|
-
width: string | number;
|
|
102
100
|
top: string;
|
|
103
101
|
modelValue: boolean;
|
|
102
|
+
title: string;
|
|
103
|
+
width: string | number;
|
|
104
104
|
hasFooter: boolean;
|
|
105
|
-
footerAlign: "
|
|
105
|
+
footerAlign: "left" | "right" | "center";
|
|
106
106
|
confirmLoading: boolean;
|
|
107
107
|
cancelText: string;
|
|
108
108
|
confirmText: string;
|
|
@@ -114,14 +114,6 @@ export declare const PlusDialog: {
|
|
|
114
114
|
M: {};
|
|
115
115
|
Defaults: {};
|
|
116
116
|
}, Readonly< ExtractPropTypes<{
|
|
117
|
-
title: {
|
|
118
|
-
type: PropType<string>;
|
|
119
|
-
default: string;
|
|
120
|
-
};
|
|
121
|
-
width: {
|
|
122
|
-
type: PropType<string | number>;
|
|
123
|
-
default: string;
|
|
124
|
-
};
|
|
125
117
|
top: {
|
|
126
118
|
type: PropType<string>;
|
|
127
119
|
default: string;
|
|
@@ -130,12 +122,20 @@ export declare const PlusDialog: {
|
|
|
130
122
|
type: PropType<boolean>;
|
|
131
123
|
default: boolean;
|
|
132
124
|
};
|
|
125
|
+
title: {
|
|
126
|
+
type: PropType<string>;
|
|
127
|
+
default: string;
|
|
128
|
+
};
|
|
129
|
+
width: {
|
|
130
|
+
type: PropType<string | number>;
|
|
131
|
+
default: string;
|
|
132
|
+
};
|
|
133
133
|
hasFooter: {
|
|
134
134
|
type: PropType<boolean>;
|
|
135
135
|
default: boolean;
|
|
136
136
|
};
|
|
137
137
|
footerAlign: {
|
|
138
|
-
type: PropType<"
|
|
138
|
+
type: PropType<"left" | "right" | "center">;
|
|
139
139
|
default: string;
|
|
140
140
|
};
|
|
141
141
|
confirmLoading: {
|
|
@@ -158,12 +158,12 @@ export declare const PlusDialog: {
|
|
|
158
158
|
onCancel?: (() => any) | undefined;
|
|
159
159
|
onConfirm?: (() => any) | undefined;
|
|
160
160
|
}, {}, {}, {}, {}, {
|
|
161
|
-
title: string;
|
|
162
|
-
width: string | number;
|
|
163
161
|
top: string;
|
|
164
162
|
modelValue: boolean;
|
|
163
|
+
title: string;
|
|
164
|
+
width: string | number;
|
|
165
165
|
hasFooter: boolean;
|
|
166
|
-
footerAlign: "
|
|
166
|
+
footerAlign: "left" | "right" | "center";
|
|
167
167
|
confirmLoading: boolean;
|
|
168
168
|
cancelText: string;
|
|
169
169
|
confirmText: string;
|
|
@@ -172,14 +172,6 @@ export declare const PlusDialog: {
|
|
|
172
172
|
__isTeleport?: undefined;
|
|
173
173
|
__isSuspense?: undefined;
|
|
174
174
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
175
|
-
title: {
|
|
176
|
-
type: PropType<string>;
|
|
177
|
-
default: string;
|
|
178
|
-
};
|
|
179
|
-
width: {
|
|
180
|
-
type: PropType<string | number>;
|
|
181
|
-
default: string;
|
|
182
|
-
};
|
|
183
175
|
top: {
|
|
184
176
|
type: PropType<string>;
|
|
185
177
|
default: string;
|
|
@@ -188,12 +180,20 @@ export declare const PlusDialog: {
|
|
|
188
180
|
type: PropType<boolean>;
|
|
189
181
|
default: boolean;
|
|
190
182
|
};
|
|
183
|
+
title: {
|
|
184
|
+
type: PropType<string>;
|
|
185
|
+
default: string;
|
|
186
|
+
};
|
|
187
|
+
width: {
|
|
188
|
+
type: PropType<string | number>;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
191
|
hasFooter: {
|
|
192
192
|
type: PropType<boolean>;
|
|
193
193
|
default: boolean;
|
|
194
194
|
};
|
|
195
195
|
footerAlign: {
|
|
196
|
-
type: PropType<"
|
|
196
|
+
type: PropType<"left" | "right" | "center">;
|
|
197
197
|
default: string;
|
|
198
198
|
};
|
|
199
199
|
confirmLoading: {
|
|
@@ -220,12 +220,12 @@ export declare const PlusDialog: {
|
|
|
220
220
|
cancel: () => void;
|
|
221
221
|
confirm: () => void;
|
|
222
222
|
}, string, {
|
|
223
|
-
title: string;
|
|
224
|
-
width: string | number;
|
|
225
223
|
top: string;
|
|
226
224
|
modelValue: boolean;
|
|
225
|
+
title: string;
|
|
226
|
+
width: string | number;
|
|
227
227
|
hasFooter: boolean;
|
|
228
|
-
footerAlign: "
|
|
228
|
+
footerAlign: "left" | "right" | "center";
|
|
229
229
|
confirmLoading: boolean;
|
|
230
230
|
cancelText: string;
|
|
231
231
|
confirmText: string;
|
|
@@ -30,12 +30,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
30
30
|
onCancel?: (() => any) | undefined;
|
|
31
31
|
onConfirm?: (() => any) | undefined;
|
|
32
32
|
}, {
|
|
33
|
-
title: string;
|
|
34
|
-
width: string | number;
|
|
35
33
|
top: string;
|
|
36
34
|
modelValue: boolean;
|
|
35
|
+
title: string;
|
|
36
|
+
width: string | number;
|
|
37
37
|
hasFooter: boolean;
|
|
38
|
-
footerAlign: "
|
|
38
|
+
footerAlign: "left" | "right" | "center";
|
|
39
39
|
confirmLoading: boolean;
|
|
40
40
|
cancelText: string;
|
|
41
41
|
confirmText: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EpPropMergeType } from 'element-plus/es/utils';
|
|
2
2
|
import { LooseRequired } from '@vue/shared';
|
|
3
3
|
import { FormInstance, ElTooltipProps, FormItemProps, ProgressFn, CascaderNode, PopperEffect, InputAutoSize, AutocompleteProps, CheckboxGroupProps, ColorPickerProps, DatePickerProps, InputProps, InputNumberProps, RadioGroupProps, RateProps, SelectProps, SliderProps, SwitchProps, TimePickerDefaultProps, TimeSelectProps, TextProps, ImageProps, LinkProps, TagProps, ProgressProps } from 'element-plus';
|
|
4
|
-
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
5
4
|
import { PlusDialogProps, PlusFormProps, PlusFormItemProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from 'packages/yc-components';
|
|
5
|
+
import { FieldValues, PlusColumn, RecordType, Mutable, PropsItemType, OmitTypes, CascaderProps, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from 'yc-pro-components';
|
|
6
6
|
import { CreateComponentPublicInstance, ExtractPropTypes, PropType, ComputedRef, ComponentOptionsMixin, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComponentOptionsBase, Ref, CSSProperties, Component } from 'vue';
|
|
7
7
|
import { default as DialogForm } from './src/index.vue';
|
|
8
8
|
|
|
@@ -10,6 +10,10 @@ export type { PlusDialogFormProps } from './src/index.vue';
|
|
|
10
10
|
export type PlusDialogFormInstance = InstanceType<typeof DialogForm>;
|
|
11
11
|
export declare const PlusDialogForm: {
|
|
12
12
|
new (...args: any[]): CreateComponentPublicInstance<Readonly< ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: PropType<FieldValues>;
|
|
15
|
+
default: () => {};
|
|
16
|
+
};
|
|
13
17
|
dialog: {
|
|
14
18
|
type: PropType<PlusDialogProps>;
|
|
15
19
|
default: () => {};
|
|
@@ -22,18 +26,14 @@ export declare const PlusDialogForm: {
|
|
|
22
26
|
type: PropType<boolean>;
|
|
23
27
|
default: boolean;
|
|
24
28
|
};
|
|
25
|
-
modelValue: {
|
|
26
|
-
type: PropType<FieldValues>;
|
|
27
|
-
default: () => {};
|
|
28
|
-
};
|
|
29
29
|
hasErrorTip: {
|
|
30
30
|
type: PropType<boolean>;
|
|
31
31
|
default: boolean;
|
|
32
32
|
};
|
|
33
33
|
}>> & {
|
|
34
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
34
35
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
35
36
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
36
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
37
37
|
onClose?: (() => any) | undefined;
|
|
38
38
|
onCancel?: (() => any) | undefined;
|
|
39
39
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -51,6 +51,10 @@ export declare const PlusDialogForm: {
|
|
|
51
51
|
close: () => void;
|
|
52
52
|
confirmError: (errors: unknown) => void;
|
|
53
53
|
}, VNodeProps & AllowedComponentProps & ComponentCustomProps & Readonly< ExtractPropTypes<{
|
|
54
|
+
modelValue: {
|
|
55
|
+
type: PropType<FieldValues>;
|
|
56
|
+
default: () => {};
|
|
57
|
+
};
|
|
54
58
|
dialog: {
|
|
55
59
|
type: PropType<PlusDialogProps>;
|
|
56
60
|
default: () => {};
|
|
@@ -63,27 +67,23 @@ export declare const PlusDialogForm: {
|
|
|
63
67
|
type: PropType<boolean>;
|
|
64
68
|
default: boolean;
|
|
65
69
|
};
|
|
66
|
-
modelValue: {
|
|
67
|
-
type: PropType<FieldValues>;
|
|
68
|
-
default: () => {};
|
|
69
|
-
};
|
|
70
70
|
hasErrorTip: {
|
|
71
71
|
type: PropType<boolean>;
|
|
72
72
|
default: boolean;
|
|
73
73
|
};
|
|
74
74
|
}>> & {
|
|
75
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
75
76
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
76
77
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
77
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
78
78
|
onClose?: (() => any) | undefined;
|
|
79
79
|
onCancel?: (() => any) | undefined;
|
|
80
80
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
81
81
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
82
82
|
}, {
|
|
83
|
+
modelValue: FieldValues;
|
|
83
84
|
dialog: PlusDialogProps;
|
|
84
85
|
form: PlusFormProps;
|
|
85
86
|
visible: boolean;
|
|
86
|
-
modelValue: FieldValues;
|
|
87
87
|
hasErrorTip: boolean;
|
|
88
88
|
}, true, {}, {}, {
|
|
89
89
|
P: {};
|
|
@@ -93,6 +93,10 @@ export declare const PlusDialogForm: {
|
|
|
93
93
|
M: {};
|
|
94
94
|
Defaults: {};
|
|
95
95
|
}, Readonly< ExtractPropTypes<{
|
|
96
|
+
modelValue: {
|
|
97
|
+
type: PropType<FieldValues>;
|
|
98
|
+
default: () => {};
|
|
99
|
+
};
|
|
96
100
|
dialog: {
|
|
97
101
|
type: PropType<PlusDialogProps>;
|
|
98
102
|
default: () => {};
|
|
@@ -105,18 +109,14 @@ export declare const PlusDialogForm: {
|
|
|
105
109
|
type: PropType<boolean>;
|
|
106
110
|
default: boolean;
|
|
107
111
|
};
|
|
108
|
-
modelValue: {
|
|
109
|
-
type: PropType<FieldValues>;
|
|
110
|
-
default: () => {};
|
|
111
|
-
};
|
|
112
112
|
hasErrorTip: {
|
|
113
113
|
type: PropType<boolean>;
|
|
114
114
|
default: boolean;
|
|
115
115
|
};
|
|
116
116
|
}>> & {
|
|
117
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
117
118
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
118
119
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
119
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
120
120
|
onClose?: (() => any) | undefined;
|
|
121
121
|
onCancel?: (() => any) | undefined;
|
|
122
122
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -126,16 +126,20 @@ export declare const PlusDialogForm: {
|
|
|
126
126
|
handleCancel: () => void;
|
|
127
127
|
formInstance: ComputedRef<FormInstance>;
|
|
128
128
|
}, {}, {}, {}, {
|
|
129
|
+
modelValue: FieldValues;
|
|
129
130
|
dialog: PlusDialogProps;
|
|
130
131
|
form: PlusFormProps;
|
|
131
132
|
visible: boolean;
|
|
132
|
-
modelValue: FieldValues;
|
|
133
133
|
hasErrorTip: boolean;
|
|
134
134
|
}>;
|
|
135
135
|
__isFragment?: undefined;
|
|
136
136
|
__isTeleport?: undefined;
|
|
137
137
|
__isSuspense?: undefined;
|
|
138
138
|
} & ComponentOptionsBase<Readonly< ExtractPropTypes<{
|
|
139
|
+
modelValue: {
|
|
140
|
+
type: PropType<FieldValues>;
|
|
141
|
+
default: () => {};
|
|
142
|
+
};
|
|
139
143
|
dialog: {
|
|
140
144
|
type: PropType<PlusDialogProps>;
|
|
141
145
|
default: () => {};
|
|
@@ -148,18 +152,14 @@ export declare const PlusDialogForm: {
|
|
|
148
152
|
type: PropType<boolean>;
|
|
149
153
|
default: boolean;
|
|
150
154
|
};
|
|
151
|
-
modelValue: {
|
|
152
|
-
type: PropType<FieldValues>;
|
|
153
|
-
default: () => {};
|
|
154
|
-
};
|
|
155
155
|
hasErrorTip: {
|
|
156
156
|
type: PropType<boolean>;
|
|
157
157
|
default: boolean;
|
|
158
158
|
};
|
|
159
159
|
}>> & {
|
|
160
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
160
161
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
161
162
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
162
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
163
163
|
onClose?: (() => any) | undefined;
|
|
164
164
|
onCancel?: (() => any) | undefined;
|
|
165
165
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
@@ -177,21 +177,21 @@ export declare const PlusDialogForm: {
|
|
|
177
177
|
close: () => void;
|
|
178
178
|
confirmError: (errors: unknown) => void;
|
|
179
179
|
}, string, {
|
|
180
|
+
modelValue: FieldValues;
|
|
180
181
|
dialog: PlusDialogProps;
|
|
181
182
|
form: PlusFormProps;
|
|
182
183
|
visible: boolean;
|
|
183
|
-
modelValue: FieldValues;
|
|
184
184
|
hasErrorTip: boolean;
|
|
185
185
|
}, {}, string, {}> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
186
186
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
187
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
187
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
188
188
|
readonly label: string | ComputedRef<string>;
|
|
189
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
189
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
190
190
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
191
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
191
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
192
192
|
style?: CSSProperties | undefined;
|
|
193
193
|
class?: any;
|
|
194
|
-
} & RecordType> | ComputedRef<
|
|
194
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
195
195
|
style?: CSSProperties | undefined;
|
|
196
196
|
class?: any;
|
|
197
197
|
} & RecordType>>;
|
|
@@ -258,12 +258,12 @@ export declare const PlusDialogForm: {
|
|
|
258
258
|
fieldInstance?: any;
|
|
259
259
|
valueIsReady?: Ref<boolean> | undefined;
|
|
260
260
|
prop: string;
|
|
261
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
261
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
262
262
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
263
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
263
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
264
264
|
style?: CSSProperties | undefined;
|
|
265
265
|
class?: any;
|
|
266
|
-
} & RecordType> | ComputedRef<
|
|
266
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
267
267
|
style?: CSSProperties | undefined;
|
|
268
268
|
class?: any;
|
|
269
269
|
} & RecordType>>;
|
|
@@ -48,28 +48,28 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
48
48
|
dialog: () => {};
|
|
49
49
|
form: () => {};
|
|
50
50
|
}>>> & {
|
|
51
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
51
52
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
52
53
|
"onUpdate:visible"?: ((visible: boolean) => any) | undefined;
|
|
53
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
54
54
|
onClose?: (() => any) | undefined;
|
|
55
55
|
onCancel?: (() => any) | undefined;
|
|
56
56
|
onConfirm?: ((values: FieldValues) => any) | undefined;
|
|
57
57
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
58
58
|
}, {
|
|
59
|
+
modelValue: FieldValues;
|
|
59
60
|
dialog: PlusDialogProps;
|
|
60
61
|
form: PlusFormProps;
|
|
61
62
|
visible: boolean;
|
|
62
|
-
modelValue: FieldValues;
|
|
63
63
|
hasErrorTip: boolean;
|
|
64
64
|
}, {}>, Partial<Record<NonNullable<string | number>, (_: {
|
|
65
|
-
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "
|
|
65
|
+
column: Readonly<Omit< LooseRequired<PlusFormItemProps>, "index" | "modelValue" | "label" | "tooltip" | "formItemProps" | "fieldProps" | "options" | "fieldSlots" | "fieldChildrenSlot" | "hasLabel" | "clearable" | "valueType" | "renderField" | "renderLabel" | "renderErrorMessage" | "optionsMap" | "autoDict">> & {
|
|
66
66
|
readonly label: string | ComputedRef<string>;
|
|
67
|
-
readonly modelValue: string | number | boolean | string[] | [string, string] |
|
|
67
|
+
readonly modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
68
68
|
readonly hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
69
|
-
readonly tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
69
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
70
70
|
style?: CSSProperties | undefined;
|
|
71
71
|
class?: any;
|
|
72
|
-
} & RecordType> | ComputedRef<
|
|
72
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
73
73
|
style?: CSSProperties | undefined;
|
|
74
74
|
class?: any;
|
|
75
75
|
} & RecordType>>;
|
|
@@ -136,12 +136,12 @@ declare const _default: __VLS_WithTemplateSlots< DefineComponent<__VLS_WithDefau
|
|
|
136
136
|
fieldInstance?: any;
|
|
137
137
|
valueIsReady?: Ref<boolean> | undefined;
|
|
138
138
|
prop: string;
|
|
139
|
-
modelValue: string | number | boolean | string[] | [string, string] |
|
|
139
|
+
modelValue: string | number | boolean | string[] | [string, string] | boolean[] | RecordType | Date | number[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
140
140
|
hasLabel: boolean | Ref<boolean> | ComputedRef<boolean>;
|
|
141
|
-
tooltip: string | Partial< Mutable<ElTooltipProps> & {
|
|
141
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<ElTooltipProps> & {
|
|
142
142
|
style?: CSSProperties | undefined;
|
|
143
143
|
class?: any;
|
|
144
|
-
} & RecordType> | ComputedRef<
|
|
144
|
+
} & RecordType> | ComputedRef<Partial< Mutable<ElTooltipProps> & {
|
|
145
145
|
style?: CSSProperties | undefined;
|
|
146
146
|
class?: any;
|
|
147
147
|
} & RecordType>>;
|