3h1-ui 3.0.0-next.249 → 3.0.0-next.250
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/index.js +26 -24
- package/es/style.css +21 -33
- package/es/ui/src/AdvancedSearch/src/AdvancedSearch.vue.d.ts +279 -0
- package/es/ui/src/Basic/src/BasicHelp.d.ts +2 -2
- package/es/ui/src/Basic/src/BasicTitle.vue.d.ts +2 -2
- package/es/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +1 -1
- package/es/ui/src/Button/index.d.ts +7 -7
- package/es/ui/src/Button/src/BasicButton.d.ts +3 -3
- package/es/ui/src/Button/src/props.d.ts +1 -1
- package/es/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +1 -1
- package/es/ui/src/Container/src/LazyContainer.vue.d.ts +2 -2
- package/es/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +1 -384
- package/es/ui/src/ContextMenu/src/ContextMenu.d.ts +2 -2
- package/es/ui/src/Cropper/src/CopperModal.vue.d.ts +2 -2
- package/es/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/es/ui/src/Description/src/Description.d.ts +1 -1
- package/es/ui/src/Descriptions/index.d.ts +3 -3
- package/es/ui/src/Descriptions/src/ShyDescriptions.d.ts +1 -1
- package/es/ui/src/DescriptionsForm/index.d.ts +426 -0
- package/es/ui/src/DescriptionsForm/src/DescriptionsForm.vue.d.ts +106 -0
- package/es/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/es/ui/src/Modal/index.d.ts +7 -7
- package/es/ui/src/Modal/src/BasicModal.vue.d.ts +2 -2
- package/es/ui/src/Modal/src/components/BasicTitle.vue.d.ts +2 -2
- package/es/ui/src/Modal/src/components/Modal.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalFooter.vue.d.ts +1 -1
- package/es/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/es/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/es/ui/src/Process/src/Process.d.ts +1 -1
- package/es/ui/src/ShyContainer/src/ShyContainer.d.ts +4 -4
- package/es/ui/src/ShyContainer/src/props.d.ts +1 -1
- package/es/ui/src/ShyForm/src/ShyForm.d.ts +161 -161
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +2211 -0
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +13 -13
- package/es/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +2 -2
- package/es/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +3 -3
- package/es/ui/src/ShyForm/src/components/FormAction.vue.d.ts +1 -1
- package/es/ui/src/ShyForm/src/components/Table.d.ts +2 -2
- package/es/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -13
- package/es/ui/src/ShyForm/src/props.d.ts +80 -80
- package/es/ui/src/ShyTable/src/ShyTable.d.ts +2 -2
- package/es/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +2 -2
- package/es/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/es/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/es/ui/src/TablePlus/TablePlus.vue.d.ts +163 -606
- package/es/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +1 -1
- package/es/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/es/ui/src/Upload/index.d.ts +9574 -0
- package/es/ui/src/Upload/src/BasicUpload.vue.d.ts +2949 -0
- package/es/ui/src/Upload/src/components/FileList.d.ts +18 -18
- package/es/ui/src/Upload/src/components/ImageUpload.vue.d.ts +410 -0
- package/es/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +25 -0
- package/es/ui/src/Upload/src/components/UploadModal.vue.d.ts +1350 -0
- package/es/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +25 -25
- package/lib/index.js +26 -24
- package/lib/style.css +21 -33
- package/lib/ui/src/AdvancedSearch/src/AdvancedSearch.vue.d.ts +279 -0
- package/lib/ui/src/Basic/src/BasicHelp.d.ts +2 -2
- package/lib/ui/src/Basic/src/BasicTitle.vue.d.ts +2 -2
- package/lib/ui/src/BasicContainer/src/BasicContainer.vue.d.ts +1 -1
- package/lib/ui/src/Button/index.d.ts +7 -7
- package/lib/ui/src/Button/src/BasicButton.d.ts +3 -3
- package/lib/ui/src/Button/src/props.d.ts +1 -1
- package/lib/ui/src/ColorPickerPopover/src/ColorPickerPopover.d.ts +1 -1
- package/lib/ui/src/Container/src/LazyContainer.vue.d.ts +2 -2
- package/lib/ui/src/Container/src/collapse/CollapseContainer.vue.d.ts +1 -384
- package/lib/ui/src/ContextMenu/src/ContextMenu.d.ts +2 -2
- package/lib/ui/src/Cropper/src/CopperModal.vue.d.ts +2 -2
- package/lib/ui/src/Cropper/src/CropperAvatar.vue.d.ts +3 -3
- package/lib/ui/src/Description/src/Description.d.ts +1 -1
- package/lib/ui/src/Descriptions/index.d.ts +3 -3
- package/lib/ui/src/Descriptions/src/ShyDescriptions.d.ts +1 -1
- package/lib/ui/src/DescriptionsForm/index.d.ts +426 -0
- package/lib/ui/src/DescriptionsForm/src/DescriptionsForm.vue.d.ts +106 -0
- package/lib/ui/src/Drawer/src/BasicDrawer.vue.d.ts +1 -1
- package/lib/ui/src/Modal/index.d.ts +7 -7
- package/lib/ui/src/Modal/src/BasicModal.vue.d.ts +2 -2
- package/lib/ui/src/Modal/src/components/BasicTitle.vue.d.ts +2 -2
- package/lib/ui/src/Modal/src/components/Modal.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalFooter.vue.d.ts +1 -1
- package/lib/ui/src/Modal/src/components/ModalWrapper.vue.d.ts +1 -1
- package/lib/ui/src/Page/src/PageSecond.d.ts +1 -1
- package/lib/ui/src/Process/src/Process.d.ts +1 -1
- package/lib/ui/src/ShyContainer/src/ShyContainer.d.ts +4 -4
- package/lib/ui/src/ShyContainer/src/props.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/ShyForm.d.ts +161 -161
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/ApiModalSelect.vue.d.ts +2211 -0
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/DeptTree.vue.d.ts +4 -4
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Modal.vue.d.ts +13 -13
- package/lib/ui/src/ShyForm/src/components/ApiModalSelect/Table.vue.d.ts +2 -2
- package/lib/ui/src/ShyForm/src/components/ApiSelect.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/ApiTransfer.vue.d.ts +3 -3
- package/lib/ui/src/ShyForm/src/components/FormAction.vue.d.ts +1 -1
- package/lib/ui/src/ShyForm/src/components/Table.d.ts +2 -2
- package/lib/ui/src/ShyForm/src/hooks/useLabelWidth.d.ts +13 -13
- package/lib/ui/src/ShyForm/src/props.d.ts +80 -80
- package/lib/ui/src/ShyTable/src/ShyTable.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/components/HeaderCell.vue.d.ts +2 -2
- package/lib/ui/src/ShyTable/src/components/ShyTableAction.d.ts +1 -1
- package/lib/ui/src/ShyTable/src/components/TableImg.vue.d.ts +1 -1
- package/lib/ui/src/TablePlus/TablePlus.vue.d.ts +163 -606
- package/lib/ui/src/TablePlus/components/ButtonGroupEdit.vue.d.ts +1 -1
- package/lib/ui/src/Tree/src/BasicTree.d.ts +3 -3
- package/lib/ui/src/Upload/index.d.ts +9574 -0
- package/lib/ui/src/Upload/src/BasicUpload.vue.d.ts +2949 -0
- package/lib/ui/src/Upload/src/components/FileList.d.ts +18 -18
- package/lib/ui/src/Upload/src/components/ImageUpload.vue.d.ts +410 -0
- package/lib/ui/src/Upload/src/components/ThumbUrl.vue.d.ts +25 -0
- package/lib/ui/src/Upload/src/components/UploadModal.vue.d.ts +1350 -0
- package/lib/ui/src/Upload/src/components/UploadPreviewModal.vue.d.ts +25 -25
- package/package.json +3 -3
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import descriptionsForm from './src/DescriptionsForm.vue';
|
|
2
|
+
export declare const DescriptionsForm: {
|
|
3
|
+
new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
|
|
4
|
+
schema: {
|
|
5
|
+
type: ArrayConstructor;
|
|
6
|
+
required: true;
|
|
7
|
+
default: () => {
|
|
8
|
+
label: string;
|
|
9
|
+
field: string;
|
|
10
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
11
|
+
component?: ComponentType;
|
|
12
|
+
componentProps?: Recordable<any>;
|
|
13
|
+
bind?: string[];
|
|
14
|
+
alias?: string;
|
|
15
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
16
|
+
slot?: string;
|
|
17
|
+
span?: number;
|
|
18
|
+
required?: boolean;
|
|
19
|
+
metaMap?: {
|
|
20
|
+
[key: string]: string;
|
|
21
|
+
};
|
|
22
|
+
bindApiFieldMap?: string[];
|
|
23
|
+
}[];
|
|
24
|
+
};
|
|
25
|
+
column: {
|
|
26
|
+
type: NumberConstructor;
|
|
27
|
+
required: false;
|
|
28
|
+
default: number;
|
|
29
|
+
};
|
|
30
|
+
bordered: {
|
|
31
|
+
type: BooleanConstructor;
|
|
32
|
+
required: true;
|
|
33
|
+
default: () => boolean;
|
|
34
|
+
};
|
|
35
|
+
labelWidth: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
required: false;
|
|
38
|
+
default: () => string;
|
|
39
|
+
};
|
|
40
|
+
readonly: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
required: false;
|
|
43
|
+
default: () => boolean;
|
|
44
|
+
};
|
|
45
|
+
}>>, {
|
|
46
|
+
props: any;
|
|
47
|
+
form: import("vue").Ref<{
|
|
48
|
+
[key: string]: any;
|
|
49
|
+
}>;
|
|
50
|
+
formRef: import("vue").Ref<import("ant-design-vue").FormInstance>;
|
|
51
|
+
formSelectOption: {
|
|
52
|
+
[key: string]: any;
|
|
53
|
+
};
|
|
54
|
+
handleApiOptions: (api: (params?: object) => Promise<any[]>, item: {
|
|
55
|
+
label: string;
|
|
56
|
+
field: string;
|
|
57
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
58
|
+
component?: ComponentType;
|
|
59
|
+
componentProps?: Recordable<any>;
|
|
60
|
+
bind?: string[];
|
|
61
|
+
alias?: string;
|
|
62
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
63
|
+
slot?: string;
|
|
64
|
+
span?: number;
|
|
65
|
+
required?: boolean;
|
|
66
|
+
metaMap?: {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
bindApiFieldMap?: string[];
|
|
70
|
+
}) => any;
|
|
71
|
+
handleChangeBinding: (value: any, item: {
|
|
72
|
+
label: string;
|
|
73
|
+
field: string;
|
|
74
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
75
|
+
component?: ComponentType;
|
|
76
|
+
componentProps?: Recordable<any>;
|
|
77
|
+
bind?: string[];
|
|
78
|
+
alias?: string;
|
|
79
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
80
|
+
slot?: string;
|
|
81
|
+
span?: number;
|
|
82
|
+
required?: boolean;
|
|
83
|
+
metaMap?: {
|
|
84
|
+
[key: string]: string;
|
|
85
|
+
};
|
|
86
|
+
bindApiFieldMap?: string[];
|
|
87
|
+
}) => void;
|
|
88
|
+
filterOption: (input: string, option: any) => boolean;
|
|
89
|
+
isFormatter: (params: any[]) => any;
|
|
90
|
+
isBindApiFieldMap: (bindApiFieldMap: string[]) => any;
|
|
91
|
+
metaFormValue: (item: {
|
|
92
|
+
label: string;
|
|
93
|
+
field: string;
|
|
94
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
95
|
+
component?: ComponentType;
|
|
96
|
+
componentProps?: Recordable<any>;
|
|
97
|
+
bind?: string[];
|
|
98
|
+
alias?: string;
|
|
99
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
100
|
+
slot?: string;
|
|
101
|
+
span?: number;
|
|
102
|
+
required?: boolean;
|
|
103
|
+
metaMap?: {
|
|
104
|
+
[key: string]: string;
|
|
105
|
+
};
|
|
106
|
+
bindApiFieldMap?: string[];
|
|
107
|
+
}) => any;
|
|
108
|
+
validate: import("vue").ComputedRef<(nameList?: string | import("ant-design-vue/es/form/interface").NamePath[], options?: import("ant-design-vue/es/form/interface").ValidateOptions) => Promise<{
|
|
109
|
+
[key: string]: any;
|
|
110
|
+
}>>;
|
|
111
|
+
getFieldsValue: () => {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
};
|
|
114
|
+
resetFieldsValue: () => void;
|
|
115
|
+
setFieldValue: (params: object) => void;
|
|
116
|
+
readonly Descriptions: any;
|
|
117
|
+
readonly DescriptionsItem: any;
|
|
118
|
+
readonly Form: any;
|
|
119
|
+
readonly FormItem: any;
|
|
120
|
+
readonly Tooltip: any;
|
|
121
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & Readonly<import("vue").ExtractPropTypes<{
|
|
122
|
+
schema: {
|
|
123
|
+
type: ArrayConstructor;
|
|
124
|
+
required: true;
|
|
125
|
+
default: () => {
|
|
126
|
+
label: string;
|
|
127
|
+
field: string;
|
|
128
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
129
|
+
component?: ComponentType;
|
|
130
|
+
componentProps?: Recordable<any>;
|
|
131
|
+
bind?: string[];
|
|
132
|
+
alias?: string;
|
|
133
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
134
|
+
slot?: string;
|
|
135
|
+
span?: number;
|
|
136
|
+
required?: boolean;
|
|
137
|
+
metaMap?: {
|
|
138
|
+
[key: string]: string;
|
|
139
|
+
};
|
|
140
|
+
bindApiFieldMap?: string[];
|
|
141
|
+
}[];
|
|
142
|
+
};
|
|
143
|
+
column: {
|
|
144
|
+
type: NumberConstructor;
|
|
145
|
+
required: false;
|
|
146
|
+
default: number;
|
|
147
|
+
};
|
|
148
|
+
bordered: {
|
|
149
|
+
type: BooleanConstructor;
|
|
150
|
+
required: true;
|
|
151
|
+
default: () => boolean;
|
|
152
|
+
};
|
|
153
|
+
labelWidth: {
|
|
154
|
+
type: StringConstructor;
|
|
155
|
+
required: false;
|
|
156
|
+
default: () => string;
|
|
157
|
+
};
|
|
158
|
+
readonly: {
|
|
159
|
+
type: BooleanConstructor;
|
|
160
|
+
required: false;
|
|
161
|
+
default: () => boolean;
|
|
162
|
+
};
|
|
163
|
+
}>>, {
|
|
164
|
+
readonly: boolean;
|
|
165
|
+
schema: unknown[];
|
|
166
|
+
labelWidth: string;
|
|
167
|
+
column: number;
|
|
168
|
+
}, true, {}, {}, {
|
|
169
|
+
P: {};
|
|
170
|
+
B: {};
|
|
171
|
+
D: {};
|
|
172
|
+
C: {};
|
|
173
|
+
M: {};
|
|
174
|
+
Defaults: {};
|
|
175
|
+
}, Readonly<import("vue").ExtractPropTypes<{
|
|
176
|
+
schema: {
|
|
177
|
+
type: ArrayConstructor;
|
|
178
|
+
required: true;
|
|
179
|
+
default: () => {
|
|
180
|
+
label: string;
|
|
181
|
+
field: string;
|
|
182
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
183
|
+
component?: ComponentType;
|
|
184
|
+
componentProps?: Recordable<any>;
|
|
185
|
+
bind?: string[];
|
|
186
|
+
alias?: string;
|
|
187
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
188
|
+
slot?: string;
|
|
189
|
+
span?: number;
|
|
190
|
+
required?: boolean;
|
|
191
|
+
metaMap?: {
|
|
192
|
+
[key: string]: string;
|
|
193
|
+
};
|
|
194
|
+
bindApiFieldMap?: string[];
|
|
195
|
+
}[];
|
|
196
|
+
};
|
|
197
|
+
column: {
|
|
198
|
+
type: NumberConstructor;
|
|
199
|
+
required: false;
|
|
200
|
+
default: number;
|
|
201
|
+
};
|
|
202
|
+
bordered: {
|
|
203
|
+
type: BooleanConstructor;
|
|
204
|
+
required: true;
|
|
205
|
+
default: () => boolean;
|
|
206
|
+
};
|
|
207
|
+
labelWidth: {
|
|
208
|
+
type: StringConstructor;
|
|
209
|
+
required: false;
|
|
210
|
+
default: () => string;
|
|
211
|
+
};
|
|
212
|
+
readonly: {
|
|
213
|
+
type: BooleanConstructor;
|
|
214
|
+
required: false;
|
|
215
|
+
default: () => boolean;
|
|
216
|
+
};
|
|
217
|
+
}>>, {
|
|
218
|
+
props: any;
|
|
219
|
+
form: import("vue").Ref<{
|
|
220
|
+
[key: string]: any;
|
|
221
|
+
}>;
|
|
222
|
+
formRef: import("vue").Ref<import("ant-design-vue").FormInstance>;
|
|
223
|
+
formSelectOption: {
|
|
224
|
+
[key: string]: any;
|
|
225
|
+
};
|
|
226
|
+
handleApiOptions: (api: (params?: object) => Promise<any[]>, item: {
|
|
227
|
+
label: string;
|
|
228
|
+
field: string;
|
|
229
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
230
|
+
component?: ComponentType;
|
|
231
|
+
componentProps?: Recordable<any>;
|
|
232
|
+
bind?: string[];
|
|
233
|
+
alias?: string;
|
|
234
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
235
|
+
slot?: string;
|
|
236
|
+
span?: number;
|
|
237
|
+
required?: boolean;
|
|
238
|
+
metaMap?: {
|
|
239
|
+
[key: string]: string;
|
|
240
|
+
};
|
|
241
|
+
bindApiFieldMap?: string[];
|
|
242
|
+
}) => any;
|
|
243
|
+
handleChangeBinding: (value: any, item: {
|
|
244
|
+
label: string;
|
|
245
|
+
field: string;
|
|
246
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
247
|
+
component?: ComponentType;
|
|
248
|
+
componentProps?: Recordable<any>;
|
|
249
|
+
bind?: string[];
|
|
250
|
+
alias?: string;
|
|
251
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
252
|
+
slot?: string;
|
|
253
|
+
span?: number;
|
|
254
|
+
required?: boolean;
|
|
255
|
+
metaMap?: {
|
|
256
|
+
[key: string]: string;
|
|
257
|
+
};
|
|
258
|
+
bindApiFieldMap?: string[];
|
|
259
|
+
}) => void;
|
|
260
|
+
filterOption: (input: string, option: any) => boolean;
|
|
261
|
+
isFormatter: (params: any[]) => any;
|
|
262
|
+
isBindApiFieldMap: (bindApiFieldMap: string[]) => any;
|
|
263
|
+
metaFormValue: (item: {
|
|
264
|
+
label: string;
|
|
265
|
+
field: string;
|
|
266
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
267
|
+
component?: ComponentType;
|
|
268
|
+
componentProps?: Recordable<any>;
|
|
269
|
+
bind?: string[];
|
|
270
|
+
alias?: string;
|
|
271
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
272
|
+
slot?: string;
|
|
273
|
+
span?: number;
|
|
274
|
+
required?: boolean;
|
|
275
|
+
metaMap?: {
|
|
276
|
+
[key: string]: string;
|
|
277
|
+
};
|
|
278
|
+
bindApiFieldMap?: string[];
|
|
279
|
+
}) => any;
|
|
280
|
+
validate: import("vue").ComputedRef<(nameList?: string | import("ant-design-vue/es/form/interface").NamePath[], options?: import("ant-design-vue/es/form/interface").ValidateOptions) => Promise<{
|
|
281
|
+
[key: string]: any;
|
|
282
|
+
}>>;
|
|
283
|
+
getFieldsValue: () => {
|
|
284
|
+
[key: string]: any;
|
|
285
|
+
};
|
|
286
|
+
resetFieldsValue: () => void;
|
|
287
|
+
setFieldValue: (params: object) => void;
|
|
288
|
+
readonly Descriptions: any;
|
|
289
|
+
readonly DescriptionsItem: any;
|
|
290
|
+
readonly Form: any;
|
|
291
|
+
readonly FormItem: any;
|
|
292
|
+
readonly Tooltip: any;
|
|
293
|
+
}, {}, {}, {}, {
|
|
294
|
+
readonly: boolean;
|
|
295
|
+
schema: unknown[];
|
|
296
|
+
labelWidth: string;
|
|
297
|
+
column: number;
|
|
298
|
+
}>;
|
|
299
|
+
__isFragment?: never;
|
|
300
|
+
__isTeleport?: never;
|
|
301
|
+
__isSuspense?: never;
|
|
302
|
+
} & import("vue").ComponentOptionsBase<Readonly<import("vue").ExtractPropTypes<{
|
|
303
|
+
schema: {
|
|
304
|
+
type: ArrayConstructor;
|
|
305
|
+
required: true;
|
|
306
|
+
default: () => {
|
|
307
|
+
label: string;
|
|
308
|
+
field: string;
|
|
309
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
310
|
+
component?: ComponentType;
|
|
311
|
+
componentProps?: Recordable<any>;
|
|
312
|
+
bind?: string[];
|
|
313
|
+
alias?: string;
|
|
314
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
315
|
+
slot?: string;
|
|
316
|
+
span?: number;
|
|
317
|
+
required?: boolean;
|
|
318
|
+
metaMap?: {
|
|
319
|
+
[key: string]: string;
|
|
320
|
+
};
|
|
321
|
+
bindApiFieldMap?: string[];
|
|
322
|
+
}[];
|
|
323
|
+
};
|
|
324
|
+
column: {
|
|
325
|
+
type: NumberConstructor;
|
|
326
|
+
required: false;
|
|
327
|
+
default: number;
|
|
328
|
+
};
|
|
329
|
+
bordered: {
|
|
330
|
+
type: BooleanConstructor;
|
|
331
|
+
required: true;
|
|
332
|
+
default: () => boolean;
|
|
333
|
+
};
|
|
334
|
+
labelWidth: {
|
|
335
|
+
type: StringConstructor;
|
|
336
|
+
required: false;
|
|
337
|
+
default: () => string;
|
|
338
|
+
};
|
|
339
|
+
readonly: {
|
|
340
|
+
type: BooleanConstructor;
|
|
341
|
+
required: false;
|
|
342
|
+
default: () => boolean;
|
|
343
|
+
};
|
|
344
|
+
}>>, {
|
|
345
|
+
props: any;
|
|
346
|
+
form: import("vue").Ref<{
|
|
347
|
+
[key: string]: any;
|
|
348
|
+
}>;
|
|
349
|
+
formRef: import("vue").Ref<import("ant-design-vue").FormInstance>;
|
|
350
|
+
formSelectOption: {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
};
|
|
353
|
+
handleApiOptions: (api: (params?: object) => Promise<any[]>, item: {
|
|
354
|
+
label: string;
|
|
355
|
+
field: string;
|
|
356
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
357
|
+
component?: ComponentType;
|
|
358
|
+
componentProps?: Recordable<any>;
|
|
359
|
+
bind?: string[];
|
|
360
|
+
alias?: string;
|
|
361
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
362
|
+
slot?: string;
|
|
363
|
+
span?: number;
|
|
364
|
+
required?: boolean;
|
|
365
|
+
metaMap?: {
|
|
366
|
+
[key: string]: string;
|
|
367
|
+
};
|
|
368
|
+
bindApiFieldMap?: string[];
|
|
369
|
+
}) => any;
|
|
370
|
+
handleChangeBinding: (value: any, item: {
|
|
371
|
+
label: string;
|
|
372
|
+
field: string;
|
|
373
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
374
|
+
component?: ComponentType;
|
|
375
|
+
componentProps?: Recordable<any>;
|
|
376
|
+
bind?: string[];
|
|
377
|
+
alias?: string;
|
|
378
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
379
|
+
slot?: string;
|
|
380
|
+
span?: number;
|
|
381
|
+
required?: boolean;
|
|
382
|
+
metaMap?: {
|
|
383
|
+
[key: string]: string;
|
|
384
|
+
};
|
|
385
|
+
bindApiFieldMap?: string[];
|
|
386
|
+
}) => void;
|
|
387
|
+
filterOption: (input: string, option: any) => boolean;
|
|
388
|
+
isFormatter: (params: any[]) => any;
|
|
389
|
+
isBindApiFieldMap: (bindApiFieldMap: string[]) => any;
|
|
390
|
+
metaFormValue: (item: {
|
|
391
|
+
label: string;
|
|
392
|
+
field: string;
|
|
393
|
+
api?: [] | ((params?: object) => [] | Promise<any[]>);
|
|
394
|
+
component?: ComponentType;
|
|
395
|
+
componentProps?: Recordable<any>;
|
|
396
|
+
bind?: string[];
|
|
397
|
+
alias?: string;
|
|
398
|
+
formatter?: (value: any, record?: Recordable<any>, sourceValue?: any) => any;
|
|
399
|
+
slot?: string;
|
|
400
|
+
span?: number;
|
|
401
|
+
required?: boolean;
|
|
402
|
+
metaMap?: {
|
|
403
|
+
[key: string]: string;
|
|
404
|
+
};
|
|
405
|
+
bindApiFieldMap?: string[];
|
|
406
|
+
}) => any;
|
|
407
|
+
validate: import("vue").ComputedRef<(nameList?: string | import("ant-design-vue/es/form/interface").NamePath[], options?: import("ant-design-vue/es/form/interface").ValidateOptions) => Promise<{
|
|
408
|
+
[key: string]: any;
|
|
409
|
+
}>>;
|
|
410
|
+
getFieldsValue: () => {
|
|
411
|
+
[key: string]: any;
|
|
412
|
+
};
|
|
413
|
+
resetFieldsValue: () => void;
|
|
414
|
+
setFieldValue: (params: object) => void;
|
|
415
|
+
readonly Descriptions: any;
|
|
416
|
+
readonly DescriptionsItem: any;
|
|
417
|
+
readonly Form: any;
|
|
418
|
+
readonly FormItem: any;
|
|
419
|
+
readonly Tooltip: any;
|
|
420
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, {
|
|
421
|
+
readonly: boolean;
|
|
422
|
+
schema: unknown[];
|
|
423
|
+
labelWidth: string;
|
|
424
|
+
column: number;
|
|
425
|
+
}, {}, string, {}> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & import("vue").Plugin<any[]>;
|
|
426
|
+
export { descriptionsForm };
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { FormInstance } from 'ant-design-vue';
|
|
2
|
+
import type { ComponentType } from '../../Form/src/types/index';
|
|
3
|
+
type FormSchema = {
|
|
4
|
+
label: string;
|
|
5
|
+
field: string;
|
|
6
|
+
api?: ((params?: object) => Promise<any[]> | []) | [];
|
|
7
|
+
component?: ComponentType;
|
|
8
|
+
componentProps?: Recordable;
|
|
9
|
+
bind?: string[];
|
|
10
|
+
alias?: string;
|
|
11
|
+
formatter?: (value: any, record?: Recordable, sourceValue?: any) => any;
|
|
12
|
+
slot?: string;
|
|
13
|
+
span?: number;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
metaMap?: {
|
|
16
|
+
[key: string]: string;
|
|
17
|
+
};
|
|
18
|
+
bindApiFieldMap?: string[];
|
|
19
|
+
};
|
|
20
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
21
|
+
schema: {
|
|
22
|
+
type: ArrayConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
default: () => FormSchema[];
|
|
25
|
+
};
|
|
26
|
+
column: {
|
|
27
|
+
type: NumberConstructor;
|
|
28
|
+
required: false;
|
|
29
|
+
default: number;
|
|
30
|
+
};
|
|
31
|
+
bordered: {
|
|
32
|
+
type: BooleanConstructor;
|
|
33
|
+
required: true;
|
|
34
|
+
default: () => boolean;
|
|
35
|
+
};
|
|
36
|
+
labelWidth: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
required: false;
|
|
39
|
+
default: () => string;
|
|
40
|
+
};
|
|
41
|
+
readonly: {
|
|
42
|
+
type: BooleanConstructor;
|
|
43
|
+
required: false;
|
|
44
|
+
default: () => boolean;
|
|
45
|
+
};
|
|
46
|
+
}, {
|
|
47
|
+
props: any;
|
|
48
|
+
form: import("vue").Ref<{
|
|
49
|
+
[key: string]: any;
|
|
50
|
+
}>;
|
|
51
|
+
formRef: import("vue").Ref<FormInstance>;
|
|
52
|
+
formSelectOption: {
|
|
53
|
+
[key: string]: any;
|
|
54
|
+
};
|
|
55
|
+
handleApiOptions: (api: (params?: object) => Promise<any[]>, item: FormSchema) => any;
|
|
56
|
+
handleChangeBinding: (value: any, item: FormSchema) => void;
|
|
57
|
+
filterOption: (input: string, option: any) => boolean;
|
|
58
|
+
isFormatter: (params: any[]) => any;
|
|
59
|
+
isBindApiFieldMap: (bindApiFieldMap: string[]) => any;
|
|
60
|
+
metaFormValue: (item: FormSchema) => any;
|
|
61
|
+
validate: import("vue").ComputedRef<(nameList?: string | import("ant-design-vue/es/form/interface").NamePath[], options?: import("ant-design-vue/es/form/interface").ValidateOptions) => Promise<{
|
|
62
|
+
[key: string]: any;
|
|
63
|
+
}>>;
|
|
64
|
+
getFieldsValue: () => {
|
|
65
|
+
[key: string]: any;
|
|
66
|
+
};
|
|
67
|
+
resetFieldsValue: () => void;
|
|
68
|
+
setFieldValue: (params: object) => void;
|
|
69
|
+
readonly Descriptions: any;
|
|
70
|
+
readonly DescriptionsItem: any;
|
|
71
|
+
readonly Form: any;
|
|
72
|
+
readonly FormItem: any;
|
|
73
|
+
readonly Tooltip: any;
|
|
74
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
75
|
+
schema: {
|
|
76
|
+
type: ArrayConstructor;
|
|
77
|
+
required: true;
|
|
78
|
+
default: () => FormSchema[];
|
|
79
|
+
};
|
|
80
|
+
column: {
|
|
81
|
+
type: NumberConstructor;
|
|
82
|
+
required: false;
|
|
83
|
+
default: number;
|
|
84
|
+
};
|
|
85
|
+
bordered: {
|
|
86
|
+
type: BooleanConstructor;
|
|
87
|
+
required: true;
|
|
88
|
+
default: () => boolean;
|
|
89
|
+
};
|
|
90
|
+
labelWidth: {
|
|
91
|
+
type: StringConstructor;
|
|
92
|
+
required: false;
|
|
93
|
+
default: () => string;
|
|
94
|
+
};
|
|
95
|
+
readonly: {
|
|
96
|
+
type: BooleanConstructor;
|
|
97
|
+
required: false;
|
|
98
|
+
default: () => boolean;
|
|
99
|
+
};
|
|
100
|
+
}>>, {
|
|
101
|
+
readonly: boolean;
|
|
102
|
+
schema: unknown[];
|
|
103
|
+
labelWidth: string;
|
|
104
|
+
column: number;
|
|
105
|
+
}, {}>;
|
|
106
|
+
export default _sfc_main;
|
|
@@ -152,9 +152,9 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
152
152
|
}, {
|
|
153
153
|
title: string;
|
|
154
154
|
loading: boolean;
|
|
155
|
-
visible: boolean;
|
|
156
155
|
showCancelBtn: boolean;
|
|
157
156
|
showOkBtn: boolean;
|
|
157
|
+
visible: boolean;
|
|
158
158
|
confirmLoading: boolean;
|
|
159
159
|
destroyOnClose: boolean;
|
|
160
160
|
maskClosable: boolean;
|
|
@@ -140,12 +140,12 @@ export declare const BasicModal: {
|
|
|
140
140
|
readonly prototype: any;
|
|
141
141
|
})[];
|
|
142
142
|
}>> & {
|
|
143
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
144
143
|
onCancel?: (...args: any[]) => any;
|
|
145
144
|
"onHeight-change"?: (...args: any[]) => any;
|
|
146
145
|
onOk?: (...args: any[]) => any;
|
|
147
146
|
"onVisible-change"?: (...args: any[]) => any;
|
|
148
147
|
onRegister?: (...args: any[]) => any;
|
|
148
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
149
149
|
}, {
|
|
150
150
|
prefixCls: string;
|
|
151
151
|
handleCancel: (e: Event) => Promise<void>;
|
|
@@ -301,23 +301,23 @@ export declare const BasicModal: {
|
|
|
301
301
|
readonly prototype: any;
|
|
302
302
|
})[];
|
|
303
303
|
}>> & {
|
|
304
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
305
304
|
onCancel?: (...args: any[]) => any;
|
|
306
305
|
"onHeight-change"?: (...args: any[]) => any;
|
|
307
306
|
onOk?: (...args: any[]) => any;
|
|
308
307
|
"onVisible-change"?: (...args: any[]) => any;
|
|
309
308
|
onRegister?: (...args: any[]) => any;
|
|
309
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
310
310
|
}, {
|
|
311
311
|
size: "small" | "default" | "large";
|
|
312
312
|
mask: boolean;
|
|
313
313
|
loading: boolean;
|
|
314
|
-
visible: boolean;
|
|
315
314
|
defaultFullscreen: boolean;
|
|
316
315
|
canFullscreen: boolean;
|
|
317
316
|
wrapperFooterOffset: number;
|
|
318
317
|
useWrapper: boolean;
|
|
319
318
|
showCancelBtn: boolean;
|
|
320
319
|
showOkBtn: boolean;
|
|
320
|
+
visible: boolean;
|
|
321
321
|
closable: boolean;
|
|
322
322
|
confirmLoading: boolean;
|
|
323
323
|
destroyOnClose: boolean;
|
|
@@ -474,12 +474,12 @@ export declare const BasicModal: {
|
|
|
474
474
|
readonly prototype: any;
|
|
475
475
|
})[];
|
|
476
476
|
}>> & {
|
|
477
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
478
477
|
onCancel?: (...args: any[]) => any;
|
|
479
478
|
"onHeight-change"?: (...args: any[]) => any;
|
|
480
479
|
onOk?: (...args: any[]) => any;
|
|
481
480
|
"onVisible-change"?: (...args: any[]) => any;
|
|
482
481
|
onRegister?: (...args: any[]) => any;
|
|
482
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
483
483
|
}, {
|
|
484
484
|
prefixCls: string;
|
|
485
485
|
handleCancel: (e: Event) => Promise<void>;
|
|
@@ -501,13 +501,13 @@ export declare const BasicModal: {
|
|
|
501
501
|
size: "small" | "default" | "large";
|
|
502
502
|
mask: boolean;
|
|
503
503
|
loading: boolean;
|
|
504
|
-
visible: boolean;
|
|
505
504
|
defaultFullscreen: boolean;
|
|
506
505
|
canFullscreen: boolean;
|
|
507
506
|
wrapperFooterOffset: number;
|
|
508
507
|
useWrapper: boolean;
|
|
509
508
|
showCancelBtn: boolean;
|
|
510
509
|
showOkBtn: boolean;
|
|
510
|
+
visible: boolean;
|
|
511
511
|
closable: boolean;
|
|
512
512
|
confirmLoading: boolean;
|
|
513
513
|
destroyOnClose: boolean;
|
|
@@ -661,12 +661,12 @@ export declare const BasicModal: {
|
|
|
661
661
|
readonly prototype: any;
|
|
662
662
|
})[];
|
|
663
663
|
}>> & {
|
|
664
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
665
664
|
onCancel?: (...args: any[]) => any;
|
|
666
665
|
"onHeight-change"?: (...args: any[]) => any;
|
|
667
666
|
onOk?: (...args: any[]) => any;
|
|
668
667
|
"onVisible-change"?: (...args: any[]) => any;
|
|
669
668
|
onRegister?: (...args: any[]) => any;
|
|
669
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
670
670
|
}, {
|
|
671
671
|
prefixCls: string;
|
|
672
672
|
handleCancel: (e: Event) => Promise<void>;
|
|
@@ -688,13 +688,13 @@ export declare const BasicModal: {
|
|
|
688
688
|
size: "small" | "default" | "large";
|
|
689
689
|
mask: boolean;
|
|
690
690
|
loading: boolean;
|
|
691
|
-
visible: boolean;
|
|
692
691
|
defaultFullscreen: boolean;
|
|
693
692
|
canFullscreen: boolean;
|
|
694
693
|
wrapperFooterOffset: number;
|
|
695
694
|
useWrapper: boolean;
|
|
696
695
|
showCancelBtn: boolean;
|
|
697
696
|
showOkBtn: boolean;
|
|
697
|
+
visible: boolean;
|
|
698
698
|
closable: boolean;
|
|
699
699
|
confirmLoading: boolean;
|
|
700
700
|
destroyOnClose: boolean;
|
|
@@ -290,23 +290,23 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
290
290
|
readonly prototype: any;
|
|
291
291
|
})[];
|
|
292
292
|
}>> & {
|
|
293
|
-
"onUpdate:visible"?: (...args: any[]) => any;
|
|
294
293
|
onCancel?: (...args: any[]) => any;
|
|
295
294
|
"onHeight-change"?: (...args: any[]) => any;
|
|
296
295
|
onOk?: (...args: any[]) => any;
|
|
297
296
|
"onVisible-change"?: (...args: any[]) => any;
|
|
298
297
|
onRegister?: (...args: any[]) => any;
|
|
298
|
+
"onUpdate:visible"?: (...args: any[]) => any;
|
|
299
299
|
}, {
|
|
300
300
|
size: "small" | "default" | "large";
|
|
301
301
|
mask: boolean;
|
|
302
302
|
loading: boolean;
|
|
303
|
-
visible: boolean;
|
|
304
303
|
defaultFullscreen: boolean;
|
|
305
304
|
canFullscreen: boolean;
|
|
306
305
|
wrapperFooterOffset: number;
|
|
307
306
|
useWrapper: boolean;
|
|
308
307
|
showCancelBtn: boolean;
|
|
309
308
|
showOkBtn: boolean;
|
|
309
|
+
visible: boolean;
|
|
310
310
|
closable: boolean;
|
|
311
311
|
confirmLoading: boolean;
|
|
312
312
|
destroyOnClose: boolean;
|
|
@@ -88,11 +88,11 @@ declare const _sfc_main: import("vue").DefineComponent<{
|
|
|
88
88
|
default: string;
|
|
89
89
|
};
|
|
90
90
|
}>>, {
|
|
91
|
-
placement: import("ant-design-vue/es/tooltip").TooltipPlacement;
|
|
92
|
-
color: string;
|
|
93
91
|
maxWidth: string;
|
|
94
92
|
showIndex: boolean;
|
|
93
|
+
color: string;
|
|
95
94
|
fontSize: string;
|
|
95
|
+
placement: import("ant-design-vue/es/tooltip").TooltipPlacement;
|
|
96
96
|
iconSize: string;
|
|
97
97
|
}, {}>;
|
|
98
98
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -278,13 +278,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
278
278
|
size: "small" | "default" | "large";
|
|
279
279
|
mask: boolean;
|
|
280
280
|
loading: boolean;
|
|
281
|
-
visible: boolean;
|
|
282
281
|
defaultFullscreen: boolean;
|
|
283
282
|
canFullscreen: boolean;
|
|
284
283
|
wrapperFooterOffset: number;
|
|
285
284
|
useWrapper: boolean;
|
|
286
285
|
showCancelBtn: boolean;
|
|
287
286
|
showOkBtn: boolean;
|
|
287
|
+
visible: boolean;
|
|
288
288
|
closable: boolean;
|
|
289
289
|
confirmLoading: boolean;
|
|
290
290
|
destroyOnClose: boolean;
|