element-less 0.0.70 → 0.0.72

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.
Files changed (52) hide show
  1. package/components.d.ts +1 -0
  2. package/custom/dynamic/common/interfaces/dynamicComponentType.d.ts +1 -0
  3. package/custom/dynamic/common/propertys/index.d.ts +1 -0
  4. package/custom/dynamic/common/propertys/requestForm.d.ts +456 -0
  5. package/custom/dynamic/designerView/src/responseMappingEditor.vue.d.ts +9 -0
  6. package/custom/dynamic/designerView/src/schemaFieldEditor.vue.d.ts +9 -0
  7. package/custom/requestForm/index.d.ts +97 -0
  8. package/custom/requestForm/src/requestForm.d.ts +13 -0
  9. package/custom/requestForm/src/requestForm.vue.d.ts +51 -0
  10. package/custom/waterFall/index.d.ts +6 -6
  11. package/custom/waterFall/src/lib/components/Waterfall.vue.d.ts +1 -1
  12. package/custom/waterFall/src/waterFall.vue.d.ts +12 -12
  13. package/element-less.cjs +1 -1
  14. package/element-less.iife.js +1 -1
  15. package/element-less.js +110 -108
  16. package/element-less.umd.cjs +1 -1
  17. package/elementui/cascader/index.d.ts +8 -8
  18. package/elementui/cascader/src/cascader.vue.d.ts +2 -2
  19. package/elementui/checkbox/src/checkboxButton.vue.d.ts +1 -1
  20. package/elementui/radio/index.d.ts +10 -10
  21. package/elementui/radio/src/radio.vue.d.ts +1 -1
  22. package/elementui/radio/src/radioButton.vue.d.ts +1 -1
  23. package/elementui/segmented/index.d.ts +1 -1
  24. package/elementui/select/index.d.ts +13 -13
  25. package/elementui/select/src/select.vue.d.ts +3 -3
  26. package/elementui/tree/index.d.ts +4 -4
  27. package/elementui/tree/src/tree.vue.d.ts +1 -1
  28. package/elementui/tree-select/index.d.ts +4 -4
  29. package/elementui/tree-select/src/treeSelect.vue.d.ts +1 -1
  30. package/elementui/upload/index.d.ts +4 -4
  31. package/elementui/upload/src/upload.vue.d.ts +1 -1
  32. package/global.d.ts +1 -0
  33. package/{index-AMD8Nr9_.js → index-Ckj1UiS8.js} +2168 -769
  34. package/index-_ZAzzf-F.cjs +1 -0
  35. package/{inner-D0l83fj6.js → inner-Cn9E8KV4.js} +10 -9
  36. package/inner-jxs-nG3b.cjs +1 -0
  37. package/{innerItem-tLsRiBeT.cjs → innerItem-BhWaV5z6.cjs} +1 -1
  38. package/{innerItem-hCYuS1Ma.js → innerItem-CnLhfK-G.js} +1 -1
  39. package/{mode-csharp-C5KSEWQK.cjs → mode-csharp-BqjzW6u-.cjs} +1 -1
  40. package/{mode-csharp-BlAPRtxP.js → mode-csharp-CWbGgzjG.js} +1 -1
  41. package/{mode-css-CAkG9EHC.cjs → mode-css-BOWKzLQj.cjs} +1 -1
  42. package/{mode-css-C3ZC-V7X.js → mode-css-CorxJdP-.js} +1 -1
  43. package/{mode-javascript-Ce-uXRtx.cjs → mode-javascript-CU4-gDSi.cjs} +1 -1
  44. package/{mode-javascript-lomz8qCz.js → mode-javascript-DE9c49cw.js} +1 -1
  45. package/{mode-json-B8qhc0kL.cjs → mode-json-BM-YsleU.cjs} +1 -1
  46. package/{mode-json-BQVTlnPx.js → mode-json-CIyvEhnr.js} +1 -1
  47. package/{mode-mysql-Cou6xANN.js → mode-mysql-BwT2SuQq.js} +1 -1
  48. package/{mode-mysql-CH-VE50-.cjs → mode-mysql-DPV59SE4.cjs} +1 -1
  49. package/package.json +1 -1
  50. package/style.css +1 -1
  51. package/index-P1FBo0tW.cjs +0 -1
  52. package/inner-DUAGMe9Q.cjs +0 -1
package/components.d.ts CHANGED
@@ -42,6 +42,7 @@ export * from './custom/menu-dropdown';
42
42
  export * from './custom/menu-tool';
43
43
  export * from './custom/mdPreview';
44
44
  export * from './custom/caption';
45
+ export * from './custom/requestForm';
45
46
  export * from './custom/data-modal';
46
47
  export * from './custom/button-select';
47
48
  export * from './custom/button-search';
@@ -21,4 +21,5 @@ export interface DynamicComponentType {
21
21
  isCustom?: boolean;
22
22
  icon?: string;
23
23
  slots?: Array<string>;
24
+ excludeFromResult?: boolean;
24
25
  }
@@ -44,3 +44,4 @@ export * from './image';
44
44
  export * from './link';
45
45
  export * from './tooltip';
46
46
  export * from './cascader';
47
+ export * from './requestForm';
@@ -0,0 +1,456 @@
1
+ export declare const property_requestForm: {
2
+ keyID: string;
3
+ keyName: string;
4
+ keyCode: string;
5
+ children: ({
6
+ keyID: string;
7
+ keyName: string;
8
+ keyCode: string;
9
+ children: {
10
+ keyID: string;
11
+ keyName: string;
12
+ keyCode: string;
13
+ children: never[];
14
+ dataType: string;
15
+ arrayDataType: string;
16
+ componentTypeLabel: string;
17
+ componentType: string;
18
+ formItem: boolean;
19
+ config: {
20
+ arrayConfig: {};
21
+ baseConfig: {
22
+ width: string;
23
+ placeholder: string;
24
+ };
25
+ formConfig: {
26
+ labelWidth: string;
27
+ tip: string;
28
+ tipPosition: string;
29
+ suffixContent: string;
30
+ required: boolean;
31
+ requiredMessage: string;
32
+ validType: string;
33
+ validExpression: string;
34
+ validMessage: string;
35
+ validMethod: string;
36
+ };
37
+ advancedConfig: {
38
+ style: string;
39
+ vif: string;
40
+ disabled: string;
41
+ eventChange: string;
42
+ };
43
+ };
44
+ }[];
45
+ dataType: string;
46
+ arrayDataType: string;
47
+ componentTypeLabel: string;
48
+ componentType: string;
49
+ formItem: boolean;
50
+ config: {
51
+ formConfig: {};
52
+ baseConfig: {
53
+ gutter: number;
54
+ justify: string;
55
+ align: string;
56
+ tag: string;
57
+ buttonLabel?: undefined;
58
+ buttonWidth?: undefined;
59
+ hasInput?: undefined;
60
+ inputWidth?: undefined;
61
+ title?: undefined;
62
+ width?: undefined;
63
+ height?: undefined;
64
+ targetType?: undefined;
65
+ url?: undefined;
66
+ dataUrl?: undefined;
67
+ buttonComponent?: undefined;
68
+ showBadge?: undefined;
69
+ buttonProps?: undefined;
70
+ function_confirm?: undefined;
71
+ };
72
+ advancedConfig: {
73
+ style: string;
74
+ vif: string;
75
+ disabled: string;
76
+ eventChange: string;
77
+ };
78
+ arrayConfig: {};
79
+ };
80
+ icon?: undefined;
81
+ operateType?: undefined;
82
+ slots?: undefined;
83
+ } | {
84
+ keyID: string;
85
+ keyName: string;
86
+ keyCode: string;
87
+ children: {
88
+ keyID: string;
89
+ keyName: string;
90
+ keyCode: string;
91
+ children: never[];
92
+ dataType: string;
93
+ componentType: string;
94
+ defaultValue: string;
95
+ config: {
96
+ arrayConfig: {};
97
+ baseConfig: {
98
+ type: string;
99
+ dataType: number;
100
+ data: {
101
+ label: string;
102
+ value: string;
103
+ }[];
104
+ };
105
+ formConfig: {
106
+ labelWidth: string;
107
+ tip: string;
108
+ tipPosition: string;
109
+ suffixContent: string;
110
+ required: boolean;
111
+ requiredMessage: string;
112
+ validType: string;
113
+ validExpression: string;
114
+ validMessage: string;
115
+ validMethod: string;
116
+ };
117
+ advancedConfig: {
118
+ style: string;
119
+ vif: string;
120
+ disabled: string;
121
+ eventChange: string;
122
+ };
123
+ };
124
+ formItem: boolean;
125
+ }[];
126
+ dataType: string;
127
+ arrayDataType: string;
128
+ componentTypeLabel: string;
129
+ componentType: string;
130
+ formItem: boolean;
131
+ config: {
132
+ formConfig: {};
133
+ baseConfig: {
134
+ gutter: number;
135
+ justify: string;
136
+ align: string;
137
+ tag: string;
138
+ buttonLabel?: undefined;
139
+ buttonWidth?: undefined;
140
+ hasInput?: undefined;
141
+ inputWidth?: undefined;
142
+ title?: undefined;
143
+ width?: undefined;
144
+ height?: undefined;
145
+ targetType?: undefined;
146
+ url?: undefined;
147
+ dataUrl?: undefined;
148
+ buttonComponent?: undefined;
149
+ showBadge?: undefined;
150
+ buttonProps?: undefined;
151
+ function_confirm?: undefined;
152
+ };
153
+ advancedConfig: {
154
+ style: string;
155
+ vif: string;
156
+ disabled: string;
157
+ eventChange: string;
158
+ };
159
+ arrayConfig: {};
160
+ };
161
+ icon?: undefined;
162
+ operateType?: undefined;
163
+ slots?: undefined;
164
+ } | {
165
+ keyID: string;
166
+ keyName: string;
167
+ keyCode: string;
168
+ children: {
169
+ keyID: string;
170
+ keyName: string;
171
+ keyCode: string;
172
+ children: never[];
173
+ dataType: string;
174
+ componentType: string;
175
+ defaultValue: string;
176
+ config: {
177
+ arrayConfig: {};
178
+ baseConfig: {
179
+ width: string;
180
+ placeholder: string;
181
+ };
182
+ formConfig: {
183
+ labelWidth: string;
184
+ tip: string;
185
+ tipPosition: string;
186
+ suffixContent: string;
187
+ required: boolean;
188
+ requiredMessage: string;
189
+ validType: string;
190
+ validExpression: string;
191
+ validMessage: string;
192
+ validMethod: string;
193
+ };
194
+ advancedConfig: {
195
+ style: string;
196
+ vif: string;
197
+ disabled: string;
198
+ eventChange: string;
199
+ };
200
+ };
201
+ formItem: boolean;
202
+ }[];
203
+ dataType: string;
204
+ arrayDataType: string;
205
+ componentTypeLabel: string;
206
+ componentType: string;
207
+ formItem: boolean;
208
+ config: {
209
+ formConfig: {};
210
+ baseConfig: {
211
+ gutter: number;
212
+ justify: string;
213
+ align: string;
214
+ tag: string;
215
+ buttonLabel?: undefined;
216
+ buttonWidth?: undefined;
217
+ hasInput?: undefined;
218
+ inputWidth?: undefined;
219
+ title?: undefined;
220
+ width?: undefined;
221
+ height?: undefined;
222
+ targetType?: undefined;
223
+ url?: undefined;
224
+ dataUrl?: undefined;
225
+ buttonComponent?: undefined;
226
+ showBadge?: undefined;
227
+ buttonProps?: undefined;
228
+ function_confirm?: undefined;
229
+ };
230
+ advancedConfig: {
231
+ style: string;
232
+ vif: string;
233
+ disabled: string;
234
+ eventChange: string;
235
+ };
236
+ arrayConfig: {};
237
+ };
238
+ icon?: undefined;
239
+ operateType?: undefined;
240
+ slots?: undefined;
241
+ } | {
242
+ keyID: string;
243
+ keyName: string;
244
+ keyCode: string;
245
+ children: {
246
+ keyID: string;
247
+ keyName: string;
248
+ keyCode: string;
249
+ children: never[];
250
+ dataType: string;
251
+ componentType: string;
252
+ defaultValue: string;
253
+ config: {
254
+ arrayConfig: {};
255
+ baseConfig: {};
256
+ formConfig: {
257
+ labelWidth: string;
258
+ tip: string;
259
+ tipPosition: string;
260
+ suffixContent: string;
261
+ required: boolean;
262
+ requiredMessage: string;
263
+ validType: string;
264
+ validExpression: string;
265
+ validMessage: string;
266
+ validMethod: string;
267
+ };
268
+ advancedConfig: {
269
+ style: string;
270
+ vif: string;
271
+ disabled: string;
272
+ eventChange: string;
273
+ };
274
+ };
275
+ formItem: boolean;
276
+ }[];
277
+ dataType: string;
278
+ arrayDataType: string;
279
+ componentTypeLabel: string;
280
+ componentType: string;
281
+ formItem: boolean;
282
+ config: {
283
+ formConfig: {};
284
+ baseConfig: {
285
+ gutter: number;
286
+ justify: string;
287
+ align: string;
288
+ tag: string;
289
+ buttonLabel?: undefined;
290
+ buttonWidth?: undefined;
291
+ hasInput?: undefined;
292
+ inputWidth?: undefined;
293
+ title?: undefined;
294
+ width?: undefined;
295
+ height?: undefined;
296
+ targetType?: undefined;
297
+ url?: undefined;
298
+ dataUrl?: undefined;
299
+ buttonComponent?: undefined;
300
+ showBadge?: undefined;
301
+ buttonProps?: undefined;
302
+ function_confirm?: undefined;
303
+ };
304
+ advancedConfig: {
305
+ style: string;
306
+ vif: string;
307
+ disabled: string;
308
+ eventChange: string;
309
+ };
310
+ arrayConfig: {};
311
+ };
312
+ icon?: undefined;
313
+ operateType?: undefined;
314
+ slots?: undefined;
315
+ } | {
316
+ keyID: string;
317
+ keyName: string;
318
+ keyCode: string;
319
+ children: never[];
320
+ dataType: string;
321
+ componentTypeLabel: string;
322
+ componentType: string;
323
+ icon: string;
324
+ operateType: string;
325
+ slots: {
326
+ name: string;
327
+ children: ({
328
+ keyID: string;
329
+ keyName: string;
330
+ keyCode: string;
331
+ children: never[];
332
+ dataType: string;
333
+ dataTypeName: string;
334
+ arrayDataTypeName: string;
335
+ arrayDataType: string;
336
+ componentGroup: string;
337
+ componentTypeLabel: string;
338
+ componentTypeName: string;
339
+ componentName: string;
340
+ componentType: string;
341
+ formItem: boolean;
342
+ componentShow: boolean;
343
+ icon: string;
344
+ slots: never[];
345
+ config: {
346
+ formConfig: {};
347
+ baseConfig: {
348
+ title: string;
349
+ content: string;
350
+ rows?: undefined;
351
+ readonly?: undefined;
352
+ theme?: undefined;
353
+ language?: undefined;
354
+ };
355
+ advancedConfig: {};
356
+ arrayConfig: {};
357
+ };
358
+ } | {
359
+ keyID: string;
360
+ keyName: string;
361
+ keyCode: string;
362
+ children: never[];
363
+ dataType: string;
364
+ dataTypeName: string;
365
+ arrayDataTypeName: string;
366
+ arrayDataType: string;
367
+ componentGroup: string;
368
+ componentTypeLabel: string;
369
+ componentTypeName: string;
370
+ componentName: string;
371
+ componentType: string;
372
+ formItem: boolean;
373
+ componentShow: boolean;
374
+ icon: string;
375
+ slots: never[];
376
+ config: {
377
+ formConfig: {};
378
+ baseConfig: {
379
+ rows: number;
380
+ readonly: boolean;
381
+ theme: string;
382
+ language: string;
383
+ title?: undefined;
384
+ content?: undefined;
385
+ };
386
+ advancedConfig: {};
387
+ arrayConfig: {};
388
+ };
389
+ })[];
390
+ }[];
391
+ config: {
392
+ formConfig: {};
393
+ baseConfig: {
394
+ buttonLabel: string;
395
+ buttonWidth: string;
396
+ hasInput: boolean;
397
+ inputWidth: string;
398
+ title: string;
399
+ width: string;
400
+ height: string;
401
+ targetType: string;
402
+ url: string;
403
+ dataUrl: string;
404
+ buttonComponent: string;
405
+ showBadge: boolean;
406
+ buttonProps: {
407
+ bg: boolean;
408
+ text: boolean;
409
+ type: string;
410
+ };
411
+ function_confirm: string;
412
+ gutter?: undefined;
413
+ justify?: undefined;
414
+ align?: undefined;
415
+ tag?: undefined;
416
+ };
417
+ advancedConfig: {
418
+ style?: undefined;
419
+ vif?: undefined;
420
+ disabled?: undefined;
421
+ eventChange?: undefined;
422
+ };
423
+ arrayConfig: {};
424
+ };
425
+ formItem: boolean;
426
+ arrayDataType?: undefined;
427
+ })[];
428
+ dataType: string;
429
+ arrayDataType: string;
430
+ componentTypeLabel: string;
431
+ componentType: string;
432
+ config: {
433
+ baseConfig: {
434
+ inline: boolean;
435
+ labelPosition: string;
436
+ labelWidth: string;
437
+ labelSuffix: string;
438
+ hideRequiredAsterisk: boolean;
439
+ requireAsteriskPosition: string;
440
+ showMessage: boolean;
441
+ inlineMessage: boolean;
442
+ statusIcon: boolean;
443
+ disabled: boolean;
444
+ scrollToError: boolean;
445
+ scrollIntoViewOptions: boolean;
446
+ };
447
+ advancedConfig: {
448
+ style: string;
449
+ vif: string;
450
+ disabled: string;
451
+ eventChange: string;
452
+ };
453
+ arrayConfig: {};
454
+ };
455
+ formItem: boolean;
456
+ }[];
@@ -0,0 +1,9 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue?: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ export default _default;
@@ -0,0 +1,9 @@
1
+ type __VLS_PublicProps = {
2
+ modelValue?: string;
3
+ };
4
+ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
5
+ "update:modelValue": (value: string) => any;
6
+ }, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
7
+ "onUpdate:modelValue"?: ((value: string) => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
9
+ export default _default;
@@ -0,0 +1,97 @@
1
+ export declare const ElsRequestForm: {
2
+ new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('vue').ExtractPropTypes<{
3
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
4
+ requestUrl: StringConstructor;
5
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
6
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
7
+ returnSchema: StringConstructor;
8
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
9
+ keyCode: StringConstructor;
10
+ }>> & Readonly<{
11
+ "onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
12
+ onSuccess?: ((data: any) => any) | undefined;
13
+ onError?: ((err: any) => any) | undefined;
14
+ }>, {
15
+ submit: () => Promise<void>;
16
+ abort: () => void;
17
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
18
+ "update:modelValue": (value: Record<string, any>) => any;
19
+ success: (data: any) => any;
20
+ error: (err: any) => any;
21
+ }, import('vue').PublicProps, {
22
+ modelValue: Record<string, any>;
23
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown>;
24
+ submitLabel: string;
25
+ responseMappings: string;
26
+ }, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, HTMLDivElement, import('vue').ComponentProvideOptions, {
27
+ P: {};
28
+ B: {};
29
+ D: {};
30
+ C: {};
31
+ M: {};
32
+ Defaults: {};
33
+ }, Readonly<import('vue').ExtractPropTypes<{
34
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
35
+ requestUrl: StringConstructor;
36
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
37
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
38
+ returnSchema: StringConstructor;
39
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
40
+ keyCode: StringConstructor;
41
+ }>> & Readonly<{
42
+ "onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
43
+ onSuccess?: ((data: any) => any) | undefined;
44
+ onError?: ((err: any) => any) | undefined;
45
+ }>, {
46
+ submit: () => Promise<void>;
47
+ abort: () => void;
48
+ }, {}, {}, {}, {
49
+ modelValue: Record<string, any>;
50
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown>;
51
+ submitLabel: string;
52
+ responseMappings: string;
53
+ }>;
54
+ __isFragment?: never;
55
+ __isTeleport?: never;
56
+ __isSuspense?: never;
57
+ } & import('vue').ComponentOptionsBase<Readonly<import('vue').ExtractPropTypes<{
58
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
59
+ requestUrl: StringConstructor;
60
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
61
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
62
+ returnSchema: StringConstructor;
63
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
64
+ keyCode: StringConstructor;
65
+ }>> & Readonly<{
66
+ "onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
67
+ onSuccess?: ((data: any) => any) | undefined;
68
+ onError?: ((err: any) => any) | undefined;
69
+ }>, {
70
+ submit: () => Promise<void>;
71
+ abort: () => void;
72
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
73
+ "update:modelValue": (value: Record<string, any>) => any;
74
+ success: (data: any) => any;
75
+ error: (err: any) => any;
76
+ }, string, {
77
+ modelValue: Record<string, any>;
78
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown>;
79
+ submitLabel: string;
80
+ responseMappings: string;
81
+ }, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
82
+ $slots: {
83
+ default?(_: {}): any;
84
+ };
85
+ }) & import('vue').ObjectPlugin & {
86
+ setPropsDefaults: (defaults: {
87
+ modelValue?: (() => Record<string, any>) | undefined;
88
+ requestMethod?: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown> | (() => "GET" | "POST" | "SSE") | undefined;
89
+ submitLabel?: string | (() => string) | undefined;
90
+ responseMappings?: string | (() => string) | undefined;
91
+ readonly keyCode?: string | (() => string) | undefined;
92
+ readonly requestUrl?: string | (() => string) | undefined;
93
+ readonly returnSchema?: string | (() => string) | undefined;
94
+ }) => void;
95
+ } & Record<string, any>;
96
+ export default ElsRequestForm;
97
+ export * from './src/requestForm';
@@ -0,0 +1,13 @@
1
+ import { ExtractPropTypes } from 'vue';
2
+ import { default as RequestForm } from './requestForm.vue';
3
+ export declare const requestFormProps: {
4
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
5
+ requestUrl: StringConstructor;
6
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
7
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
8
+ returnSchema: StringConstructor;
9
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
10
+ keyCode: StringConstructor;
11
+ };
12
+ export type RequestFormProps = ExtractPropTypes<typeof requestFormProps>;
13
+ export type RequestFormInstance = InstanceType<typeof RequestForm>;
@@ -0,0 +1,51 @@
1
+ declare function handleSubmit(): Promise<void>;
2
+ declare function handleAbort(): void;
3
+ declare function __VLS_template(): {
4
+ attrs: Partial<{}>;
5
+ slots: {
6
+ default?(_: {}): any;
7
+ };
8
+ refs: {};
9
+ rootEl: HTMLDivElement;
10
+ };
11
+ type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
+ declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
13
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
14
+ requestUrl: StringConstructor;
15
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
16
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
17
+ returnSchema: StringConstructor;
18
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
19
+ keyCode: StringConstructor;
20
+ }>, {
21
+ submit: typeof handleSubmit;
22
+ abort: typeof handleAbort;
23
+ }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
24
+ "update:modelValue": (value: Record<string, any>) => any;
25
+ success: (data: any) => any;
26
+ error: (err: any) => any;
27
+ }, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
28
+ modelValue: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => Record<string, any>) | (() => Record<string, any>) | (((new (...args: any[]) => Record<string, any>) | (() => Record<string, any>)) | null)[], unknown, unknown, () => {}, boolean>;
29
+ requestUrl: StringConstructor;
30
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropFinalized<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown, string, boolean>;
31
+ submitLabel: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
32
+ returnSchema: StringConstructor;
33
+ responseMappings: import('element-plus/es/utils/index.mjs').EpPropFinalized<StringConstructor, unknown, unknown, string, boolean>;
34
+ keyCode: StringConstructor;
35
+ }>> & Readonly<{
36
+ "onUpdate:modelValue"?: ((value: Record<string, any>) => any) | undefined;
37
+ onSuccess?: ((data: any) => any) | undefined;
38
+ onError?: ((err: any) => any) | undefined;
39
+ }>, {
40
+ modelValue: Record<string, any>;
41
+ requestMethod: import('element-plus/es/utils/index.mjs').EpPropMergeType<(new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE") | (((new (...args: any[]) => "GET" | "POST" | "SSE") | (() => "GET" | "POST" | "SSE")) | null)[], unknown, unknown>;
42
+ submitLabel: string;
43
+ responseMappings: string;
44
+ }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
45
+ declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
+ export default _default;
47
+ type __VLS_WithTemplateSlots<T, S> = T & {
48
+ new (): {
49
+ $slots: S;
50
+ };
51
+ };