cd-form 2.0.21 → 2.0.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/CdForm.vue.d.ts +1 -1
- package/dist/cd-form.js +5058 -5066
- package/dist/cd-form.umd.cjs +22 -22
- package/dist/components/CdRelationForm/RelationForm.vue.d.ts +1 -12
- package/dist/components/CdRelationForm/index.d.ts +6 -12
- package/dist/components/RenderFormItem.vue.d.ts +6 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,7 @@ interface Props {
|
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
clearable?: boolean;
|
|
7
|
+
fieldName?: string;
|
|
7
8
|
searchLoading?: boolean;
|
|
8
9
|
searchResults?: any[];
|
|
9
10
|
dialogTableData?: any[];
|
|
@@ -37,10 +38,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
37
38
|
multiple: boolean;
|
|
38
39
|
rowKey: string;
|
|
39
40
|
dialogWidth: string;
|
|
40
|
-
cdFormConfig: () => {
|
|
41
|
-
formData: null;
|
|
42
|
-
columnData: null;
|
|
43
|
-
};
|
|
44
41
|
}>>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
45
42
|
change: (value: any) => void;
|
|
46
43
|
search: (data: {
|
|
@@ -62,10 +59,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
62
59
|
multiple: boolean;
|
|
63
60
|
rowKey: string;
|
|
64
61
|
dialogWidth: string;
|
|
65
|
-
cdFormConfig: () => {
|
|
66
|
-
formData: null;
|
|
67
|
-
columnData: null;
|
|
68
|
-
};
|
|
69
62
|
}>>> & Readonly<{
|
|
70
63
|
onChange?: ((value: any) => any) | undefined;
|
|
71
64
|
onSearch?: ((data: {
|
|
@@ -87,10 +80,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
87
80
|
dialogLoading: boolean;
|
|
88
81
|
columnOptions: any[];
|
|
89
82
|
rowKey: string;
|
|
90
|
-
cdFormConfig: {
|
|
91
|
-
formData?: any;
|
|
92
|
-
columnData?: any;
|
|
93
|
-
};
|
|
94
83
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
95
84
|
export default _default;
|
|
96
85
|
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
@@ -24,6 +24,9 @@ export declare const CdRelationForm: DefineComponent<ExtractPropTypes<{
|
|
|
24
24
|
type: PropType<boolean>;
|
|
25
25
|
default: boolean;
|
|
26
26
|
};
|
|
27
|
+
fieldName: {
|
|
28
|
+
type: PropType<string>;
|
|
29
|
+
};
|
|
27
30
|
searchLoading: {
|
|
28
31
|
type: PropType<boolean>;
|
|
29
32
|
default: boolean;
|
|
@@ -72,10 +75,6 @@ export declare const CdRelationForm: DefineComponent<ExtractPropTypes<{
|
|
|
72
75
|
formData?: any;
|
|
73
76
|
columnData?: any;
|
|
74
77
|
}>;
|
|
75
|
-
default: () => {
|
|
76
|
-
formData: null;
|
|
77
|
-
columnData: null;
|
|
78
|
-
};
|
|
79
78
|
};
|
|
80
79
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
81
80
|
change: (value: any) => void;
|
|
@@ -113,6 +112,9 @@ export declare const CdRelationForm: DefineComponent<ExtractPropTypes<{
|
|
|
113
112
|
type: PropType<boolean>;
|
|
114
113
|
default: boolean;
|
|
115
114
|
};
|
|
115
|
+
fieldName: {
|
|
116
|
+
type: PropType<string>;
|
|
117
|
+
};
|
|
116
118
|
searchLoading: {
|
|
117
119
|
type: PropType<boolean>;
|
|
118
120
|
default: boolean;
|
|
@@ -161,10 +163,6 @@ export declare const CdRelationForm: DefineComponent<ExtractPropTypes<{
|
|
|
161
163
|
formData?: any;
|
|
162
164
|
columnData?: any;
|
|
163
165
|
}>;
|
|
164
|
-
default: () => {
|
|
165
|
-
formData: null;
|
|
166
|
-
columnData: null;
|
|
167
|
-
};
|
|
168
166
|
};
|
|
169
167
|
}>> & Readonly<{
|
|
170
168
|
onChange?: ((value: any) => any) | undefined;
|
|
@@ -187,10 +185,6 @@ export declare const CdRelationForm: DefineComponent<ExtractPropTypes<{
|
|
|
187
185
|
dialogLoading: boolean;
|
|
188
186
|
columnOptions: any[];
|
|
189
187
|
rowKey: string;
|
|
190
|
-
cdFormConfig: {
|
|
191
|
-
formData?: any;
|
|
192
|
-
columnData?: any;
|
|
193
|
-
};
|
|
194
188
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
195
189
|
export default CdRelationForm;
|
|
196
190
|
export interface RelationFormApi {
|
|
@@ -114,6 +114,9 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
114
114
|
type: PropType<boolean>;
|
|
115
115
|
default: boolean;
|
|
116
116
|
};
|
|
117
|
+
fieldName: {
|
|
118
|
+
type: PropType<string>;
|
|
119
|
+
};
|
|
117
120
|
searchLoading: {
|
|
118
121
|
type: PropType<boolean>;
|
|
119
122
|
default: boolean;
|
|
@@ -162,10 +165,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
162
165
|
formData?: any;
|
|
163
166
|
columnData?: any;
|
|
164
167
|
}>;
|
|
165
|
-
default: () => {
|
|
166
|
-
formData: null;
|
|
167
|
-
columnData: null;
|
|
168
|
-
};
|
|
169
168
|
};
|
|
170
169
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
171
170
|
change: (value: any) => void;
|
|
@@ -203,6 +202,9 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
203
202
|
type: PropType<boolean>;
|
|
204
203
|
default: boolean;
|
|
205
204
|
};
|
|
205
|
+
fieldName: {
|
|
206
|
+
type: PropType<string>;
|
|
207
|
+
};
|
|
206
208
|
searchLoading: {
|
|
207
209
|
type: PropType<boolean>;
|
|
208
210
|
default: boolean;
|
|
@@ -251,10 +253,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
251
253
|
formData?: any;
|
|
252
254
|
columnData?: any;
|
|
253
255
|
}>;
|
|
254
|
-
default: () => {
|
|
255
|
-
formData: null;
|
|
256
|
-
columnData: null;
|
|
257
|
-
};
|
|
258
256
|
};
|
|
259
257
|
}>> & Readonly<{
|
|
260
258
|
onChange?: ((value: any) => any) | undefined;
|
|
@@ -277,10 +275,6 @@ declare const _default: DefineComponent<ExtractPropTypes<__VLS_WithDefaults<__VL
|
|
|
277
275
|
dialogLoading: boolean;
|
|
278
276
|
columnOptions: any[];
|
|
279
277
|
rowKey: string;
|
|
280
|
-
cdFormConfig: {
|
|
281
|
-
formData?: any;
|
|
282
|
-
columnData?: any;
|
|
283
|
-
};
|
|
284
278
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
285
279
|
}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
286
280
|
export default _default;
|