@tmagic/form 1.7.14-beta.1 → 1.7.14-beta.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/Form.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/FormBox.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/es/FormDialog.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/es/FormDrawer.vue_vue_type_script_setup_true_lang.js +5 -2
- package/dist/es/containers/Container.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/containers/table-group-list/useAdd.js +1 -1
- package/dist/es/fields/Cascader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/CheckboxGroup.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/Date.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/DateTime.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/Daterange.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/Display.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/Select.vue_vue_type_script_setup_true_lang.js +27 -9
- package/dist/es/fields/Text.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/es/fields/Timerange.vue_vue_type_script_setup_true_lang.js +2 -2
- package/dist/es/index.js +3 -2
- package/dist/es/submitForm.js +87 -0
- package/dist/es/utils/form.js +2 -2
- package/dist/tmagic-form.umd.cjs +178 -66
- package/package.json +5 -5
- package/src/FormBox.vue +3 -1
- package/src/FormDialog.vue +4 -1
- package/src/FormDrawer.vue +4 -1
- package/src/containers/table-group-list/useAdd.ts +1 -1
- package/src/fields/Select.vue +43 -8
- package/src/index.ts +1 -0
- package/src/submitForm.ts +161 -0
- package/types/index.d.ts +269 -211
package/types/index.d.ts
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import * as _$_tmagic_form_schema0 from "@tmagic/form-schema";
|
|
2
1
|
import { FlexLayoutConfig, GroupListConfig, TableConfig } from "@tmagic/form-schema";
|
|
3
|
-
import
|
|
4
|
-
import * as _$_vue_runtime_core0 from "@vue/runtime-core";
|
|
5
|
-
import * as _$_tmagic_editor0 from "@tmagic/editor";
|
|
6
|
-
import { App, Component } from "vue";
|
|
2
|
+
import { App, AppContext, Component } from "vue";
|
|
7
3
|
export * from "@tmagic/form-schema";
|
|
8
4
|
|
|
9
5
|
//#region \0rolldown/runtime.js
|
|
@@ -24,6 +20,65 @@ interface ContainerChangeEventData {
|
|
|
24
20
|
changeRecords?: ChangeRecord[];
|
|
25
21
|
}
|
|
26
22
|
//#endregion
|
|
23
|
+
//#region temp/packages/form/src/submitForm.d.ts
|
|
24
|
+
/**
|
|
25
|
+
* submitForm 函数参数(与 Form.vue 组件 props 对齐)
|
|
26
|
+
*/
|
|
27
|
+
interface SubmitFormOptions {
|
|
28
|
+
/** 表单配置 */
|
|
29
|
+
config: schema_d_exports.FormConfig;
|
|
30
|
+
/** 表单初始值 */
|
|
31
|
+
initValues?: Record<string, any>;
|
|
32
|
+
/** 需对比的值(开启对比模式时传入) */
|
|
33
|
+
lastValues?: Record<string, any>;
|
|
34
|
+
/** 是否开启对比模式 */
|
|
35
|
+
isCompare?: boolean;
|
|
36
|
+
parentValues?: Record<string, any>;
|
|
37
|
+
labelWidth?: string;
|
|
38
|
+
disabled?: boolean;
|
|
39
|
+
height?: string;
|
|
40
|
+
stepActive?: string | number;
|
|
41
|
+
size?: 'small' | 'default' | 'large';
|
|
42
|
+
inline?: boolean;
|
|
43
|
+
labelPosition?: string;
|
|
44
|
+
keyProp?: string;
|
|
45
|
+
popperClass?: string;
|
|
46
|
+
preventSubmitDefault?: boolean;
|
|
47
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
48
|
+
/** 透传给 Form.submitForm 的参数:是否直接返回原始响应式 values */
|
|
49
|
+
native?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* 父级应用上下文,用于继承全局组件、指令、provide 等。
|
|
52
|
+
* 通常通过 `app._context` 或 `getCurrentInstance()?.appContext` 获取。
|
|
53
|
+
*/
|
|
54
|
+
appContext?: AppContext | null;
|
|
55
|
+
/** 等待表单初始化的最长时间(毫秒),超时将以错误 reject。默认 10000ms */
|
|
56
|
+
timeout?: number;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* 以命令式方式调用 Form.vue 完成一次表单校验/提交。
|
|
60
|
+
*
|
|
61
|
+
* 类似 ElMessage 的用法:传入 props(包含 `config`/`initValues` 等),函数内部会临时挂载
|
|
62
|
+
* 一个不可见的 Form 组件实例,等待初始化完成后调用其 `submitForm` 方法,
|
|
63
|
+
* 校验通过则 resolve 表单值,校验失败则 reject 错误信息,最后自动卸载实例。
|
|
64
|
+
*
|
|
65
|
+
* @example
|
|
66
|
+
* ```ts
|
|
67
|
+
* import { submitForm } from '@tmagic/form';
|
|
68
|
+
*
|
|
69
|
+
* try {
|
|
70
|
+
* const values = await submitForm({
|
|
71
|
+
* config: [...],
|
|
72
|
+
* initValues: { name: 'foo' },
|
|
73
|
+
* });
|
|
74
|
+
* console.log(values);
|
|
75
|
+
* } catch (e) {
|
|
76
|
+
* console.error(e);
|
|
77
|
+
* }
|
|
78
|
+
* ```
|
|
79
|
+
*/
|
|
80
|
+
declare const submitForm: (options: SubmitFormOptions) => Promise<any>;
|
|
81
|
+
//#endregion
|
|
27
82
|
//#region temp/packages/form/src/utils/form.d.ts
|
|
28
83
|
declare const createValues: (mForm: schema_d_exports.FormState | undefined, config?: schema_d_exports.FormConfig | schema_d_exports.TabPaneConfig[], initValue?: schema_d_exports.FormValue, value?: schema_d_exports.FormValue) => schema_d_exports.FormValue;
|
|
29
84
|
declare const filterFunction: <T = any>(mForm: schema_d_exports.FormState | undefined, config: T | schema_d_exports.FilterFunction<T> | undefined, props: any) => T | undefined;
|
|
@@ -67,23 +122,23 @@ type __VLS_Props$30 = {
|
|
|
67
122
|
preventSubmitDefault?: boolean;
|
|
68
123
|
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
69
124
|
};
|
|
70
|
-
declare const __VLS_export$30:
|
|
71
|
-
values:
|
|
72
|
-
lastValuesProcessed:
|
|
125
|
+
declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {
|
|
126
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
127
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
73
128
|
formState: schema_d_exports.FormState;
|
|
74
|
-
initialized:
|
|
75
|
-
changeRecords:
|
|
129
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
130
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
76
131
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
77
132
|
resetForm: () => void;
|
|
78
133
|
submitForm: (native?: boolean) => Promise<any>;
|
|
79
134
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
80
|
-
}, {}, {}, {},
|
|
135
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
81
136
|
error: (...args: any[]) => void;
|
|
82
137
|
change: (...args: any[]) => void;
|
|
83
138
|
"field-input": (...args: any[]) => void;
|
|
84
139
|
"field-change": (...args: any[]) => void;
|
|
85
140
|
"update:stepActive": (...args: any[]) => void;
|
|
86
|
-
}, string,
|
|
141
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
|
|
87
142
|
onError?: ((...args: any[]) => any) | undefined;
|
|
88
143
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
144
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
@@ -102,7 +157,7 @@ declare const __VLS_export$30: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
102
157
|
keyProp: string;
|
|
103
158
|
parentValues: Record<string, any>;
|
|
104
159
|
stepActive: string | number;
|
|
105
|
-
}, {}, {}, {}, string,
|
|
160
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
106
161
|
declare const _default$12: typeof __VLS_export$30;
|
|
107
162
|
//#endregion
|
|
108
163
|
//#region temp/packages/form/src/FormDialog.vue.d.ts
|
|
@@ -125,7 +180,8 @@ type __VLS_Props$29 = {
|
|
|
125
180
|
closeOnPressEscape?: boolean;
|
|
126
181
|
destroyOnClose?: boolean;
|
|
127
182
|
showClose?: boolean;
|
|
128
|
-
showCancel?: boolean;
|
|
183
|
+
showCancel?: boolean; /** 透传给内部 `MForm`,用于扩展 `formState`(如注入 `$message` / `$store` 等) */
|
|
184
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
129
185
|
};
|
|
130
186
|
declare var __VLS_19: {}, __VLS_34: {}, __VLS_42: {};
|
|
131
187
|
type __VLS_Slots$3 = {} & {
|
|
@@ -135,8 +191,8 @@ type __VLS_Slots$3 = {} & {
|
|
|
135
191
|
} & {
|
|
136
192
|
footer?: (props: typeof __VLS_42) => any;
|
|
137
193
|
};
|
|
138
|
-
declare const __VLS_base$3:
|
|
139
|
-
form:
|
|
194
|
+
declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {
|
|
195
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
140
196
|
config: schema_d_exports.FormConfig;
|
|
141
197
|
initValues: Record<string, any>;
|
|
142
198
|
lastValues?: Record<string, any>;
|
|
@@ -152,7 +208,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
152
208
|
keyProp?: string;
|
|
153
209
|
popperClass?: string;
|
|
154
210
|
preventSubmitDefault?: boolean;
|
|
155
|
-
extendState?: (_state:
|
|
211
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
156
212
|
}> & Readonly<{
|
|
157
213
|
onError?: ((...args: any[]) => any) | undefined;
|
|
158
214
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -160,22 +216,22 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
160
216
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
161
217
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
162
218
|
}>, {
|
|
163
|
-
values:
|
|
164
|
-
lastValuesProcessed:
|
|
165
|
-
formState:
|
|
166
|
-
initialized:
|
|
167
|
-
changeRecords:
|
|
219
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
220
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
221
|
+
formState: schema_d_exports.FormState;
|
|
222
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
223
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
168
224
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
169
225
|
resetForm: () => void;
|
|
170
226
|
submitForm: (native?: boolean) => Promise<any>;
|
|
171
227
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
172
|
-
}, {}, {}, {},
|
|
228
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
173
229
|
error: (...args: any[]) => void;
|
|
174
230
|
change: (...args: any[]) => void;
|
|
175
231
|
"field-input": (...args: any[]) => void;
|
|
176
232
|
"field-change": (...args: any[]) => void;
|
|
177
233
|
"update:stepActive": (...args: any[]) => void;
|
|
178
|
-
},
|
|
234
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
179
235
|
disabled: boolean;
|
|
180
236
|
labelWidth: string;
|
|
181
237
|
inline: boolean;
|
|
@@ -188,7 +244,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
188
244
|
keyProp: string;
|
|
189
245
|
parentValues: Record<string, any>;
|
|
190
246
|
stepActive: string | number;
|
|
191
|
-
}, false, {}, {},
|
|
247
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
192
248
|
P: {};
|
|
193
249
|
B: {};
|
|
194
250
|
D: {};
|
|
@@ -211,7 +267,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
211
267
|
keyProp?: string;
|
|
212
268
|
popperClass?: string;
|
|
213
269
|
preventSubmitDefault?: boolean;
|
|
214
|
-
extendState?: (_state:
|
|
270
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
215
271
|
}> & Readonly<{
|
|
216
272
|
onError?: ((...args: any[]) => any) | undefined;
|
|
217
273
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -219,11 +275,11 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
219
275
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
220
276
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
221
277
|
}>, {
|
|
222
|
-
values:
|
|
223
|
-
lastValuesProcessed:
|
|
224
|
-
formState:
|
|
225
|
-
initialized:
|
|
226
|
-
changeRecords:
|
|
278
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
279
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
280
|
+
formState: schema_d_exports.FormState;
|
|
281
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
282
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
227
283
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
228
284
|
resetForm: () => void;
|
|
229
285
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -241,7 +297,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
241
297
|
keyProp: string;
|
|
242
298
|
parentValues: Record<string, any>;
|
|
243
299
|
stepActive: string | number;
|
|
244
|
-
}> | undefined,
|
|
300
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
245
301
|
config: schema_d_exports.FormConfig;
|
|
246
302
|
initValues: Record<string, any>;
|
|
247
303
|
lastValues?: Record<string, any>;
|
|
@@ -257,7 +313,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
257
313
|
keyProp?: string;
|
|
258
314
|
popperClass?: string;
|
|
259
315
|
preventSubmitDefault?: boolean;
|
|
260
|
-
extendState?: (_state:
|
|
316
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
261
317
|
}> & Readonly<{
|
|
262
318
|
onError?: ((...args: any[]) => any) | undefined;
|
|
263
319
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -265,22 +321,22 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
265
321
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
266
322
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
267
323
|
}>, {
|
|
268
|
-
values:
|
|
269
|
-
lastValuesProcessed:
|
|
270
|
-
formState:
|
|
271
|
-
initialized:
|
|
272
|
-
changeRecords:
|
|
324
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
325
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
326
|
+
formState: schema_d_exports.FormState;
|
|
327
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
328
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
273
329
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
274
330
|
resetForm: () => void;
|
|
275
331
|
submitForm: (native?: boolean) => Promise<any>;
|
|
276
332
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
277
|
-
}, {}, {}, {},
|
|
333
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
278
334
|
error: (...args: any[]) => void;
|
|
279
335
|
change: (...args: any[]) => void;
|
|
280
336
|
"field-input": (...args: any[]) => void;
|
|
281
337
|
"field-change": (...args: any[]) => void;
|
|
282
338
|
"update:stepActive": (...args: any[]) => void;
|
|
283
|
-
},
|
|
339
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
284
340
|
disabled: boolean;
|
|
285
341
|
labelWidth: string;
|
|
286
342
|
inline: boolean;
|
|
@@ -293,7 +349,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
293
349
|
keyProp: string;
|
|
294
350
|
parentValues: Record<string, any>;
|
|
295
351
|
stepActive: string | number;
|
|
296
|
-
}, false, {}, {},
|
|
352
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
297
353
|
P: {};
|
|
298
354
|
B: {};
|
|
299
355
|
D: {};
|
|
@@ -316,7 +372,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
316
372
|
keyProp?: string;
|
|
317
373
|
popperClass?: string;
|
|
318
374
|
preventSubmitDefault?: boolean;
|
|
319
|
-
extendState?: (_state:
|
|
375
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
320
376
|
}> & Readonly<{
|
|
321
377
|
onError?: ((...args: any[]) => any) | undefined;
|
|
322
378
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -324,11 +380,11 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
324
380
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
325
381
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
326
382
|
}>, {
|
|
327
|
-
values:
|
|
328
|
-
lastValuesProcessed:
|
|
329
|
-
formState:
|
|
330
|
-
initialized:
|
|
331
|
-
changeRecords:
|
|
383
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
384
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
385
|
+
formState: schema_d_exports.FormState;
|
|
386
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
387
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
332
388
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
333
389
|
resetForm: () => void;
|
|
334
390
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -347,18 +403,18 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
347
403
|
parentValues: Record<string, any>;
|
|
348
404
|
stepActive: string | number;
|
|
349
405
|
}> | undefined>;
|
|
350
|
-
saveFetch:
|
|
351
|
-
dialogVisible:
|
|
406
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
407
|
+
dialogVisible: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
352
408
|
cancel: () => void;
|
|
353
409
|
save: () => Promise<void>;
|
|
354
410
|
show: () => void;
|
|
355
411
|
hide: () => void;
|
|
356
|
-
}, {}, {}, {},
|
|
412
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
357
413
|
error: (...args: any[]) => void;
|
|
358
414
|
change: (...args: any[]) => void;
|
|
359
415
|
close: (...args: any[]) => void;
|
|
360
416
|
submit: (...args: any[]) => void;
|
|
361
|
-
}, string,
|
|
417
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
|
|
362
418
|
onError?: ((...args: any[]) => any) | undefined;
|
|
363
419
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
364
420
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -372,7 +428,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
372
428
|
config: schema_d_exports.FormConfig;
|
|
373
429
|
confirmText: string;
|
|
374
430
|
showCancel: boolean;
|
|
375
|
-
}, {}, {}, {}, string,
|
|
431
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
376
432
|
declare const __VLS_export$29: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
377
433
|
declare const _default$14: typeof __VLS_export$29;
|
|
378
434
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -397,7 +453,8 @@ type __VLS_Props$28 = {
|
|
|
397
453
|
inline?: boolean;
|
|
398
454
|
labelPosition?: string;
|
|
399
455
|
preventSubmitDefault?: boolean; /** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
400
|
-
beforeClose?: (_done: (_cancel?: boolean) => void) => void;
|
|
456
|
+
beforeClose?: (_done: (_cancel?: boolean) => void) => void; /** 透传给内部 `MForm`,用于扩展 `formState`(如注入 `$message` / `$store` 等) */
|
|
457
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
401
458
|
};
|
|
402
459
|
declare var __VLS_23: {}, __VLS_38: {}, __VLS_46: {};
|
|
403
460
|
type __VLS_Slots$2 = {} & {
|
|
@@ -407,8 +464,8 @@ type __VLS_Slots$2 = {} & {
|
|
|
407
464
|
} & {
|
|
408
465
|
footer?: (props: typeof __VLS_46) => any;
|
|
409
466
|
};
|
|
410
|
-
declare const __VLS_base$2:
|
|
411
|
-
form:
|
|
467
|
+
declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$28, {
|
|
468
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
412
469
|
config: schema_d_exports.FormConfig;
|
|
413
470
|
initValues: Record<string, any>;
|
|
414
471
|
lastValues?: Record<string, any>;
|
|
@@ -424,7 +481,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
424
481
|
keyProp?: string;
|
|
425
482
|
popperClass?: string;
|
|
426
483
|
preventSubmitDefault?: boolean;
|
|
427
|
-
extendState?: (_state:
|
|
484
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
428
485
|
}> & Readonly<{
|
|
429
486
|
onError?: ((...args: any[]) => any) | undefined;
|
|
430
487
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -432,22 +489,22 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
432
489
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
433
490
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
434
491
|
}>, {
|
|
435
|
-
values:
|
|
436
|
-
lastValuesProcessed:
|
|
437
|
-
formState:
|
|
438
|
-
initialized:
|
|
439
|
-
changeRecords:
|
|
492
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
493
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
494
|
+
formState: schema_d_exports.FormState;
|
|
495
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
496
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
440
497
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
441
498
|
resetForm: () => void;
|
|
442
499
|
submitForm: (native?: boolean) => Promise<any>;
|
|
443
500
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
444
|
-
}, {}, {}, {},
|
|
501
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
445
502
|
error: (...args: any[]) => void;
|
|
446
503
|
change: (...args: any[]) => void;
|
|
447
504
|
"field-input": (...args: any[]) => void;
|
|
448
505
|
"field-change": (...args: any[]) => void;
|
|
449
506
|
"update:stepActive": (...args: any[]) => void;
|
|
450
|
-
},
|
|
507
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
451
508
|
disabled: boolean;
|
|
452
509
|
labelWidth: string;
|
|
453
510
|
inline: boolean;
|
|
@@ -460,7 +517,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
460
517
|
keyProp: string;
|
|
461
518
|
parentValues: Record<string, any>;
|
|
462
519
|
stepActive: string | number;
|
|
463
|
-
}, false, {}, {},
|
|
520
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
464
521
|
P: {};
|
|
465
522
|
B: {};
|
|
466
523
|
D: {};
|
|
@@ -483,7 +540,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
483
540
|
keyProp?: string;
|
|
484
541
|
popperClass?: string;
|
|
485
542
|
preventSubmitDefault?: boolean;
|
|
486
|
-
extendState?: (_state:
|
|
543
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
487
544
|
}> & Readonly<{
|
|
488
545
|
onError?: ((...args: any[]) => any) | undefined;
|
|
489
546
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -491,11 +548,11 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
491
548
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
492
549
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
493
550
|
}>, {
|
|
494
|
-
values:
|
|
495
|
-
lastValuesProcessed:
|
|
496
|
-
formState:
|
|
497
|
-
initialized:
|
|
498
|
-
changeRecords:
|
|
551
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
552
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
553
|
+
formState: schema_d_exports.FormState;
|
|
554
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
555
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
499
556
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
500
557
|
resetForm: () => void;
|
|
501
558
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -513,7 +570,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
513
570
|
keyProp: string;
|
|
514
571
|
parentValues: Record<string, any>;
|
|
515
572
|
stepActive: string | number;
|
|
516
|
-
}> | undefined,
|
|
573
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
517
574
|
config: schema_d_exports.FormConfig;
|
|
518
575
|
initValues: Record<string, any>;
|
|
519
576
|
lastValues?: Record<string, any>;
|
|
@@ -529,7 +586,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
529
586
|
keyProp?: string;
|
|
530
587
|
popperClass?: string;
|
|
531
588
|
preventSubmitDefault?: boolean;
|
|
532
|
-
extendState?: (_state:
|
|
589
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
533
590
|
}> & Readonly<{
|
|
534
591
|
onError?: ((...args: any[]) => any) | undefined;
|
|
535
592
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -537,22 +594,22 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
537
594
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
538
595
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
539
596
|
}>, {
|
|
540
|
-
values:
|
|
541
|
-
lastValuesProcessed:
|
|
542
|
-
formState:
|
|
543
|
-
initialized:
|
|
544
|
-
changeRecords:
|
|
597
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
598
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
599
|
+
formState: schema_d_exports.FormState;
|
|
600
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
601
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
545
602
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
546
603
|
resetForm: () => void;
|
|
547
604
|
submitForm: (native?: boolean) => Promise<any>;
|
|
548
605
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
549
|
-
}, {}, {}, {},
|
|
606
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
550
607
|
error: (...args: any[]) => void;
|
|
551
608
|
change: (...args: any[]) => void;
|
|
552
609
|
"field-input": (...args: any[]) => void;
|
|
553
610
|
"field-change": (...args: any[]) => void;
|
|
554
611
|
"update:stepActive": (...args: any[]) => void;
|
|
555
|
-
},
|
|
612
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
556
613
|
disabled: boolean;
|
|
557
614
|
labelWidth: string;
|
|
558
615
|
inline: boolean;
|
|
@@ -565,7 +622,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
565
622
|
keyProp: string;
|
|
566
623
|
parentValues: Record<string, any>;
|
|
567
624
|
stepActive: string | number;
|
|
568
|
-
}, false, {}, {},
|
|
625
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
569
626
|
P: {};
|
|
570
627
|
B: {};
|
|
571
628
|
D: {};
|
|
@@ -588,7 +645,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
588
645
|
keyProp?: string;
|
|
589
646
|
popperClass?: string;
|
|
590
647
|
preventSubmitDefault?: boolean;
|
|
591
|
-
extendState?: (_state:
|
|
648
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
592
649
|
}> & Readonly<{
|
|
593
650
|
onError?: ((...args: any[]) => any) | undefined;
|
|
594
651
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -596,11 +653,11 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
596
653
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
597
654
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
598
655
|
}>, {
|
|
599
|
-
values:
|
|
600
|
-
lastValuesProcessed:
|
|
601
|
-
formState:
|
|
602
|
-
initialized:
|
|
603
|
-
changeRecords:
|
|
656
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
657
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
658
|
+
formState: schema_d_exports.FormState;
|
|
659
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
660
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
604
661
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
605
662
|
resetForm: () => void;
|
|
606
663
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -619,12 +676,12 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
619
676
|
parentValues: Record<string, any>;
|
|
620
677
|
stepActive: string | number;
|
|
621
678
|
}> | undefined>;
|
|
622
|
-
saveFetch:
|
|
623
|
-
bodyHeight:
|
|
679
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
680
|
+
bodyHeight: import("@vue/reactivity").Ref<number, number>;
|
|
624
681
|
show: () => void;
|
|
625
682
|
hide: () => void;
|
|
626
683
|
handleClose: () => void;
|
|
627
|
-
}, {}, {}, {},
|
|
684
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
628
685
|
error: (...args: any[]) => void;
|
|
629
686
|
change: (...args: any[]) => void;
|
|
630
687
|
close: (...args: any[]) => void;
|
|
@@ -632,7 +689,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
632
689
|
open: (...args: any[]) => void;
|
|
633
690
|
opened: (...args: any[]) => void;
|
|
634
691
|
closed: (...args: any[]) => void;
|
|
635
|
-
}, string,
|
|
692
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$28> & Readonly<{
|
|
636
693
|
onError?: ((...args: any[]) => any) | undefined;
|
|
637
694
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
638
695
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -645,7 +702,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
645
702
|
closeOnPressEscape: boolean;
|
|
646
703
|
config: schema_d_exports.FormConfig;
|
|
647
704
|
confirmText: string;
|
|
648
|
-
}, {}, {}, {}, string,
|
|
705
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
649
706
|
declare const __VLS_export$28: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
650
707
|
declare const _default$15: typeof __VLS_export$28;
|
|
651
708
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -668,6 +725,7 @@ type __VLS_Props$27 = {
|
|
|
668
725
|
inline?: boolean;
|
|
669
726
|
labelPosition?: string;
|
|
670
727
|
preventSubmitDefault?: boolean;
|
|
728
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
671
729
|
};
|
|
672
730
|
declare var __VLS_16$1: {}, __VLS_18$1: {}, __VLS_20: {};
|
|
673
731
|
type __VLS_Slots$1 = {} & {
|
|
@@ -677,8 +735,8 @@ type __VLS_Slots$1 = {} & {
|
|
|
677
735
|
} & {
|
|
678
736
|
footer?: (props: typeof __VLS_20) => any;
|
|
679
737
|
};
|
|
680
|
-
declare const __VLS_base$1:
|
|
681
|
-
form:
|
|
738
|
+
declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {
|
|
739
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
682
740
|
config: schema_d_exports.FormConfig;
|
|
683
741
|
initValues: Record<string, any>;
|
|
684
742
|
lastValues?: Record<string, any>;
|
|
@@ -694,7 +752,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
694
752
|
keyProp?: string;
|
|
695
753
|
popperClass?: string;
|
|
696
754
|
preventSubmitDefault?: boolean;
|
|
697
|
-
extendState?: (_state:
|
|
755
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
698
756
|
}> & Readonly<{
|
|
699
757
|
onError?: ((...args: any[]) => any) | undefined;
|
|
700
758
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -702,22 +760,22 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
702
760
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
703
761
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
704
762
|
}>, {
|
|
705
|
-
values:
|
|
706
|
-
lastValuesProcessed:
|
|
707
|
-
formState:
|
|
708
|
-
initialized:
|
|
709
|
-
changeRecords:
|
|
763
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
764
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
765
|
+
formState: schema_d_exports.FormState;
|
|
766
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
767
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
710
768
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
711
769
|
resetForm: () => void;
|
|
712
770
|
submitForm: (native?: boolean) => Promise<any>;
|
|
713
771
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
714
|
-
}, {}, {}, {},
|
|
772
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
715
773
|
error: (...args: any[]) => void;
|
|
716
774
|
change: (...args: any[]) => void;
|
|
717
775
|
"field-input": (...args: any[]) => void;
|
|
718
776
|
"field-change": (...args: any[]) => void;
|
|
719
777
|
"update:stepActive": (...args: any[]) => void;
|
|
720
|
-
},
|
|
778
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
721
779
|
disabled: boolean;
|
|
722
780
|
labelWidth: string;
|
|
723
781
|
inline: boolean;
|
|
@@ -730,7 +788,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
730
788
|
keyProp: string;
|
|
731
789
|
parentValues: Record<string, any>;
|
|
732
790
|
stepActive: string | number;
|
|
733
|
-
}, false, {}, {},
|
|
791
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
734
792
|
P: {};
|
|
735
793
|
B: {};
|
|
736
794
|
D: {};
|
|
@@ -753,7 +811,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
753
811
|
keyProp?: string;
|
|
754
812
|
popperClass?: string;
|
|
755
813
|
preventSubmitDefault?: boolean;
|
|
756
|
-
extendState?: (_state:
|
|
814
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
757
815
|
}> & Readonly<{
|
|
758
816
|
onError?: ((...args: any[]) => any) | undefined;
|
|
759
817
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -761,11 +819,11 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
761
819
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
762
820
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
763
821
|
}>, {
|
|
764
|
-
values:
|
|
765
|
-
lastValuesProcessed:
|
|
766
|
-
formState:
|
|
767
|
-
initialized:
|
|
768
|
-
changeRecords:
|
|
822
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
823
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
824
|
+
formState: schema_d_exports.FormState;
|
|
825
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
826
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
769
827
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
770
828
|
resetForm: () => void;
|
|
771
829
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -783,7 +841,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
783
841
|
keyProp: string;
|
|
784
842
|
parentValues: Record<string, any>;
|
|
785
843
|
stepActive: string | number;
|
|
786
|
-
}> | undefined,
|
|
844
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
787
845
|
config: schema_d_exports.FormConfig;
|
|
788
846
|
initValues: Record<string, any>;
|
|
789
847
|
lastValues?: Record<string, any>;
|
|
@@ -799,7 +857,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
799
857
|
keyProp?: string;
|
|
800
858
|
popperClass?: string;
|
|
801
859
|
preventSubmitDefault?: boolean;
|
|
802
|
-
extendState?: (_state:
|
|
860
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
803
861
|
}> & Readonly<{
|
|
804
862
|
onError?: ((...args: any[]) => any) | undefined;
|
|
805
863
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -807,22 +865,22 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
807
865
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
808
866
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
809
867
|
}>, {
|
|
810
|
-
values:
|
|
811
|
-
lastValuesProcessed:
|
|
812
|
-
formState:
|
|
813
|
-
initialized:
|
|
814
|
-
changeRecords:
|
|
868
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
869
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
870
|
+
formState: schema_d_exports.FormState;
|
|
871
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
872
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
815
873
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
816
874
|
resetForm: () => void;
|
|
817
875
|
submitForm: (native?: boolean) => Promise<any>;
|
|
818
876
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
819
|
-
}, {}, {}, {},
|
|
877
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
820
878
|
error: (...args: any[]) => void;
|
|
821
879
|
change: (...args: any[]) => void;
|
|
822
880
|
"field-input": (...args: any[]) => void;
|
|
823
881
|
"field-change": (...args: any[]) => void;
|
|
824
882
|
"update:stepActive": (...args: any[]) => void;
|
|
825
|
-
},
|
|
883
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
826
884
|
disabled: boolean;
|
|
827
885
|
labelWidth: string;
|
|
828
886
|
inline: boolean;
|
|
@@ -835,7 +893,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
835
893
|
keyProp: string;
|
|
836
894
|
parentValues: Record<string, any>;
|
|
837
895
|
stepActive: string | number;
|
|
838
|
-
}, false, {}, {},
|
|
896
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
839
897
|
P: {};
|
|
840
898
|
B: {};
|
|
841
899
|
D: {};
|
|
@@ -858,7 +916,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
858
916
|
keyProp?: string;
|
|
859
917
|
popperClass?: string;
|
|
860
918
|
preventSubmitDefault?: boolean;
|
|
861
|
-
extendState?: (_state:
|
|
919
|
+
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
862
920
|
}> & Readonly<{
|
|
863
921
|
onError?: ((...args: any[]) => any) | undefined;
|
|
864
922
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -866,11 +924,11 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
866
924
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
867
925
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
868
926
|
}>, {
|
|
869
|
-
values:
|
|
870
|
-
lastValuesProcessed:
|
|
871
|
-
formState:
|
|
872
|
-
initialized:
|
|
873
|
-
changeRecords:
|
|
927
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
928
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
929
|
+
formState: schema_d_exports.FormState;
|
|
930
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
931
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
874
932
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
875
933
|
resetForm: () => void;
|
|
876
934
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -889,14 +947,14 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
889
947
|
parentValues: Record<string, any>;
|
|
890
948
|
stepActive: string | number;
|
|
891
949
|
}> | undefined>;
|
|
892
|
-
saveFetch:
|
|
950
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
893
951
|
show: () => void;
|
|
894
952
|
hide: () => void;
|
|
895
|
-
}, {}, {}, {},
|
|
953
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
896
954
|
error: (e: any) => any;
|
|
897
955
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
898
956
|
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
899
|
-
}, string,
|
|
957
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
900
958
|
onError?: ((e: any) => any) | undefined;
|
|
901
959
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
902
960
|
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
@@ -904,7 +962,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
904
962
|
values: Object;
|
|
905
963
|
config: schema_d_exports.FormConfig;
|
|
906
964
|
confirmText: string;
|
|
907
|
-
}, {}, {}, {}, string,
|
|
965
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
908
966
|
declare const __VLS_export$27: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
909
967
|
declare const _default$13: typeof __VLS_export$27;
|
|
910
968
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -926,10 +984,10 @@ type __VLS_Props$26 = {
|
|
|
926
984
|
size?: string; /** 是否开启对比模式 */
|
|
927
985
|
isCompare?: boolean;
|
|
928
986
|
};
|
|
929
|
-
declare const __VLS_export$26:
|
|
987
|
+
declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
930
988
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
931
989
|
addDiffCount: () => any;
|
|
932
|
-
}, string,
|
|
990
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
|
|
933
991
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
934
992
|
onAddDiffCount?: (() => any) | undefined;
|
|
935
993
|
}>, {
|
|
@@ -938,7 +996,7 @@ declare const __VLS_export$26: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
938
996
|
lastValues: schema_d_exports.FormValue;
|
|
939
997
|
isCompare: boolean;
|
|
940
998
|
expandMore: boolean;
|
|
941
|
-
}, {}, {}, {}, string,
|
|
999
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
942
1000
|
declare const _default$4: typeof __VLS_export$26;
|
|
943
1001
|
//#endregion
|
|
944
1002
|
//#region temp/packages/form/src/containers/Fieldset.vue.d.ts
|
|
@@ -953,10 +1011,10 @@ type __VLS_Props$25 = {
|
|
|
953
1011
|
rules?: any;
|
|
954
1012
|
disabled?: boolean;
|
|
955
1013
|
};
|
|
956
|
-
declare const __VLS_export$25:
|
|
1014
|
+
declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
957
1015
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
958
1016
|
addDiffCount: () => any;
|
|
959
|
-
}, string,
|
|
1017
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
960
1018
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
961
1019
|
onAddDiffCount?: (() => any) | undefined;
|
|
962
1020
|
}>, {
|
|
@@ -964,7 +1022,7 @@ declare const __VLS_export$25: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
964
1022
|
rules: any;
|
|
965
1023
|
lastValues: Record<string, any>;
|
|
966
1024
|
isCompare: boolean;
|
|
967
|
-
}, {}, {}, {}, string,
|
|
1025
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
968
1026
|
declare const _default$10: typeof __VLS_export$25;
|
|
969
1027
|
//#endregion
|
|
970
1028
|
//#region temp/packages/form/src/containers/FlexLayout.vue.d.ts
|
|
@@ -979,13 +1037,13 @@ type __VLS_Props$24 = {
|
|
|
979
1037
|
size?: string;
|
|
980
1038
|
disabled?: boolean;
|
|
981
1039
|
};
|
|
982
|
-
declare const __VLS_export$24:
|
|
1040
|
+
declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
983
1041
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
984
1042
|
addDiffCount: () => any;
|
|
985
|
-
}, string,
|
|
1043
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
|
|
986
1044
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
987
1045
|
onAddDiffCount?: (() => any) | undefined;
|
|
988
|
-
}>, {}, {}, {}, {}, string,
|
|
1046
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
989
1047
|
declare const _default$11: typeof __VLS_export$24;
|
|
990
1048
|
//#endregion
|
|
991
1049
|
//#region temp/packages/form/src/containers/Panel.vue.d.ts
|
|
@@ -1006,16 +1064,16 @@ type __VLS_Slots = {} & {
|
|
|
1006
1064
|
} & {
|
|
1007
1065
|
default?: (props: typeof __VLS_18) => any;
|
|
1008
1066
|
};
|
|
1009
|
-
declare const __VLS_base:
|
|
1067
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {
|
|
1010
1068
|
getExpand: () => boolean;
|
|
1011
1069
|
setExpand: (v: boolean) => void;
|
|
1012
|
-
}, {}, {}, {},
|
|
1070
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1013
1071
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1014
1072
|
addDiffCount: () => any;
|
|
1015
|
-
}, string,
|
|
1073
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
|
|
1016
1074
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1017
1075
|
onAddDiffCount?: (() => any) | undefined;
|
|
1018
|
-
}>, {}, {}, {}, {}, string,
|
|
1076
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1019
1077
|
declare const __VLS_export$23: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1020
1078
|
declare const _default$21: typeof __VLS_export$23;
|
|
1021
1079
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1037,13 +1095,13 @@ type __VLS_Props$22 = {
|
|
|
1037
1095
|
expandMore?: boolean;
|
|
1038
1096
|
disabled?: boolean;
|
|
1039
1097
|
};
|
|
1040
|
-
declare const __VLS_export$22:
|
|
1098
|
+
declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1041
1099
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1042
1100
|
addDiffCount: () => any;
|
|
1043
|
-
}, string,
|
|
1101
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
|
|
1044
1102
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1045
1103
|
onAddDiffCount?: (() => any) | undefined;
|
|
1046
|
-
}>, {}, {}, {}, {}, string,
|
|
1104
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1047
1105
|
declare const _default$23: typeof __VLS_export$22;
|
|
1048
1106
|
//#endregion
|
|
1049
1107
|
//#region temp/packages/form/src/containers/Tabs.vue.d.ts
|
|
@@ -1059,17 +1117,17 @@ type __VLS_Props$21 = {
|
|
|
1059
1117
|
expandMore?: boolean;
|
|
1060
1118
|
disabled?: boolean;
|
|
1061
1119
|
};
|
|
1062
|
-
declare const __VLS_export$21:
|
|
1120
|
+
declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1063
1121
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1064
1122
|
addDiffCount: () => any;
|
|
1065
|
-
}, string,
|
|
1123
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
|
|
1066
1124
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1067
1125
|
onAddDiffCount?: (() => any) | undefined;
|
|
1068
1126
|
}>, {
|
|
1069
1127
|
prop: string;
|
|
1070
1128
|
lastValues: any;
|
|
1071
1129
|
isCompare: boolean;
|
|
1072
|
-
}, {}, {}, {}, string,
|
|
1130
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1073
1131
|
declare const _default$26: typeof __VLS_export$21;
|
|
1074
1132
|
//#endregion
|
|
1075
1133
|
//#region temp/packages/form/src/containers/table-group-list/TableGroupList.vue.d.ts
|
|
@@ -1088,59 +1146,59 @@ type __VLS_Props$20 = {
|
|
|
1088
1146
|
sortKey?: string;
|
|
1089
1147
|
sort?: boolean;
|
|
1090
1148
|
};
|
|
1091
|
-
declare const __VLS_export$20:
|
|
1149
|
+
declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
|
|
1092
1150
|
toggleRowSelection: (row: any, selected: boolean) => void | undefined;
|
|
1093
|
-
}, {}, {}, {},
|
|
1151
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1094
1152
|
change: (...args: any[]) => void;
|
|
1095
1153
|
select: (...args: any[]) => void;
|
|
1096
1154
|
addDiffCount: (...args: any[]) => void;
|
|
1097
|
-
}, string,
|
|
1155
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
|
|
1098
1156
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1099
1157
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1100
1158
|
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
1101
|
-
}>, {}, {}, {}, {}, string,
|
|
1159
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1102
1160
|
declare const _default$16: typeof __VLS_export$20;
|
|
1103
1161
|
//#endregion
|
|
1104
1162
|
//#region temp/packages/form/src/fields/Text.vue.d.ts
|
|
1105
1163
|
type __VLS_Props$19 = schema_d_exports.FieldProps<schema_d_exports.TextConfig>;
|
|
1106
|
-
declare const __VLS_export$19:
|
|
1164
|
+
declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1107
1165
|
change: (value: string, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1108
1166
|
input: (value: string) => any;
|
|
1109
|
-
}, string,
|
|
1167
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
|
|
1110
1168
|
onChange?: ((value: string, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1111
1169
|
onInput?: ((value: string) => any) | undefined;
|
|
1112
|
-
}>, {}, {}, {}, {}, string,
|
|
1170
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1113
1171
|
declare const _default$27: typeof __VLS_export$19;
|
|
1114
1172
|
//#endregion
|
|
1115
1173
|
//#region temp/packages/form/src/fields/Number.vue.d.ts
|
|
1116
1174
|
type __VLS_Props$18 = schema_d_exports.FieldProps<schema_d_exports.NumberConfig>;
|
|
1117
|
-
declare const __VLS_export$18:
|
|
1175
|
+
declare const __VLS_export$18: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1118
1176
|
change: (values: number) => any;
|
|
1119
1177
|
input: (values: number) => any;
|
|
1120
|
-
}, string,
|
|
1178
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{
|
|
1121
1179
|
onChange?: ((values: number) => any) | undefined;
|
|
1122
1180
|
onInput?: ((values: number) => any) | undefined;
|
|
1123
|
-
}>, {}, {}, {}, {}, string,
|
|
1181
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1124
1182
|
declare const _default$19: typeof __VLS_export$18;
|
|
1125
1183
|
//#endregion
|
|
1126
1184
|
//#region temp/packages/form/src/fields/NumberRange.vue.d.ts
|
|
1127
1185
|
type __VLS_Props$17 = schema_d_exports.FieldProps<schema_d_exports.NumberRangeConfig>;
|
|
1128
|
-
declare const __VLS_export$17:
|
|
1186
|
+
declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1129
1187
|
change: (values: [number, number]) => any;
|
|
1130
|
-
}, string,
|
|
1188
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
|
|
1131
1189
|
onChange?: ((values: [number, number]) => any) | undefined;
|
|
1132
|
-
}>, {}, {}, {}, {}, string,
|
|
1190
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1133
1191
|
declare const _default$20: typeof __VLS_export$17;
|
|
1134
1192
|
//#endregion
|
|
1135
1193
|
//#region temp/packages/form/src/fields/Textarea.vue.d.ts
|
|
1136
1194
|
type __VLS_Props$16 = schema_d_exports.FieldProps<schema_d_exports.TextareaConfig>;
|
|
1137
|
-
declare const __VLS_export$16:
|
|
1195
|
+
declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1138
1196
|
change: (value: string) => any;
|
|
1139
1197
|
input: (value: string) => any;
|
|
1140
|
-
}, string,
|
|
1198
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
|
|
1141
1199
|
onChange?: ((value: string) => any) | undefined;
|
|
1142
1200
|
onInput?: ((value: string) => any) | undefined;
|
|
1143
|
-
}>, {}, {}, {}, {}, string,
|
|
1201
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1144
1202
|
declare const _default$28: typeof __VLS_export$16;
|
|
1145
1203
|
//#endregion
|
|
1146
1204
|
//#region temp/packages/form/src/fields/Hidden.vue.d.ts
|
|
@@ -1149,117 +1207,117 @@ type __VLS_Props$15 = {
|
|
|
1149
1207
|
name: string;
|
|
1150
1208
|
prop: string;
|
|
1151
1209
|
};
|
|
1152
|
-
declare const __VLS_export$15:
|
|
1210
|
+
declare const __VLS_export$15: import("@vue/runtime-core").DefineComponent<__VLS_Props$15, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$15> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1153
1211
|
declare const _default$17: typeof __VLS_export$15;
|
|
1154
1212
|
//#endregion
|
|
1155
1213
|
//#region temp/packages/form/src/fields/Date.vue.d.ts
|
|
1156
1214
|
type __VLS_Props$14 = schema_d_exports.FieldProps<schema_d_exports.DateConfig>;
|
|
1157
|
-
declare const __VLS_export$14:
|
|
1215
|
+
declare const __VLS_export$14: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1158
1216
|
change: (value: string) => any;
|
|
1159
|
-
}, string,
|
|
1217
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
|
|
1160
1218
|
onChange?: ((value: string) => any) | undefined;
|
|
1161
|
-
}>, {}, {}, {}, {}, string,
|
|
1219
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1162
1220
|
declare const _default$5: typeof __VLS_export$14;
|
|
1163
1221
|
//#endregion
|
|
1164
1222
|
//#region temp/packages/form/src/fields/DateTime.vue.d.ts
|
|
1165
1223
|
type __VLS_Props$13 = schema_d_exports.FieldProps<schema_d_exports.DateTimeConfig>;
|
|
1166
|
-
declare const __VLS_export$13:
|
|
1224
|
+
declare const __VLS_export$13: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1167
1225
|
change: (value: string) => any;
|
|
1168
|
-
}, string,
|
|
1226
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
|
|
1169
1227
|
onChange?: ((value: string) => any) | undefined;
|
|
1170
|
-
}>, {}, {}, {}, {}, string,
|
|
1228
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1171
1229
|
declare const _default$6: typeof __VLS_export$13;
|
|
1172
1230
|
//#endregion
|
|
1173
1231
|
//#region temp/packages/form/src/fields/Time.vue.d.ts
|
|
1174
1232
|
type __VLS_Props$12 = schema_d_exports.FieldProps<schema_d_exports.TimeConfig>;
|
|
1175
|
-
declare const __VLS_export$12:
|
|
1233
|
+
declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1176
1234
|
change: (value: string) => any;
|
|
1177
|
-
}, string,
|
|
1235
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{
|
|
1178
1236
|
onChange?: ((value: string) => any) | undefined;
|
|
1179
|
-
}>, {}, {}, {}, {}, string,
|
|
1237
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1180
1238
|
declare const _default$29: typeof __VLS_export$12;
|
|
1181
1239
|
//#endregion
|
|
1182
1240
|
//#region temp/packages/form/src/fields/Checkbox.vue.d.ts
|
|
1183
1241
|
type __VLS_Props$11 = schema_d_exports.FieldProps<schema_d_exports.CheckboxConfig>;
|
|
1184
|
-
declare const __VLS_export$11:
|
|
1242
|
+
declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1185
1243
|
change: (...args: any[]) => void;
|
|
1186
|
-
}, string,
|
|
1244
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1187
1245
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1188
|
-
}>, {}, {}, {}, {}, string,
|
|
1246
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1189
1247
|
declare const _default$1: typeof __VLS_export$11;
|
|
1190
1248
|
//#endregion
|
|
1191
1249
|
//#region temp/packages/form/src/fields/Switch.vue.d.ts
|
|
1192
1250
|
type __VLS_Props$10 = schema_d_exports.FieldProps<schema_d_exports.SwitchConfig>;
|
|
1193
|
-
declare const __VLS_export$10:
|
|
1251
|
+
declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1194
1252
|
change: (value: any) => any;
|
|
1195
|
-
}, string,
|
|
1253
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{
|
|
1196
1254
|
onChange?: ((value: any) => any) | undefined;
|
|
1197
|
-
}>, {}, {}, {}, {}, string,
|
|
1255
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1198
1256
|
declare const _default$25: typeof __VLS_export$10;
|
|
1199
1257
|
//#endregion
|
|
1200
1258
|
//#region temp/packages/form/src/fields/Daterange.vue.d.ts
|
|
1201
1259
|
type __VLS_Props$9 = schema_d_exports.FieldProps<schema_d_exports.DaterangeConfig>;
|
|
1202
|
-
declare const __VLS_export$9:
|
|
1260
|
+
declare const __VLS_export$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1203
1261
|
change: (...args: any[]) => void;
|
|
1204
|
-
}, string,
|
|
1262
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{
|
|
1205
1263
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1206
|
-
}>, {}, {}, {}, {}, string,
|
|
1264
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1207
1265
|
declare const _default$7: typeof __VLS_export$9;
|
|
1208
1266
|
//#endregion
|
|
1209
1267
|
//#region temp/packages/form/src/fields/Timerange.vue.d.ts
|
|
1210
1268
|
type __VLS_Props$8 = schema_d_exports.FieldProps<schema_d_exports.TimerangeConfig>;
|
|
1211
|
-
declare const __VLS_export$8:
|
|
1269
|
+
declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1212
1270
|
change: (...args: any[]) => void;
|
|
1213
|
-
}, string,
|
|
1271
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
1214
1272
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1215
|
-
}>, {}, {}, {}, {}, string,
|
|
1273
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1216
1274
|
declare const _default$30: typeof __VLS_export$8;
|
|
1217
1275
|
//#endregion
|
|
1218
1276
|
//#region temp/packages/form/src/fields/ColorPicker.vue.d.ts
|
|
1219
1277
|
type __VLS_Props$7 = schema_d_exports.FieldProps<schema_d_exports.ColorPickConfig>;
|
|
1220
|
-
declare const __VLS_export$7:
|
|
1278
|
+
declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1221
1279
|
change: (value: string) => any;
|
|
1222
|
-
}, string,
|
|
1280
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
1223
1281
|
onChange?: ((value: string) => any) | undefined;
|
|
1224
|
-
}>, {}, {}, {}, {}, string,
|
|
1282
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1225
1283
|
declare const _default$3: typeof __VLS_export$7;
|
|
1226
1284
|
//#endregion
|
|
1227
1285
|
//#region temp/packages/form/src/fields/CheckboxGroup.vue.d.ts
|
|
1228
1286
|
type __VLS_Props$6 = schema_d_exports.FieldProps<schema_d_exports.CheckboxGroupConfig>;
|
|
1229
|
-
declare const __VLS_export$6:
|
|
1287
|
+
declare const __VLS_export$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1230
1288
|
change: (...args: any[]) => void;
|
|
1231
|
-
}, string,
|
|
1289
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$6> & Readonly<{
|
|
1232
1290
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1233
|
-
}>, {}, {}, {}, {}, string,
|
|
1291
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1234
1292
|
declare const _default$2: typeof __VLS_export$6;
|
|
1235
1293
|
//#endregion
|
|
1236
1294
|
//#region temp/packages/form/src/fields/RadioGroup.vue.d.ts
|
|
1237
1295
|
type __VLS_Props$5 = schema_d_exports.FieldProps<schema_d_exports.RadioGroupConfig>;
|
|
1238
|
-
declare const __VLS_export$5:
|
|
1296
|
+
declare const __VLS_export$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1239
1297
|
change: (...args: any[]) => void;
|
|
1240
|
-
}, string,
|
|
1298
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
1241
1299
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1242
|
-
}>, {}, {}, {}, {}, string,
|
|
1300
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1243
1301
|
declare const _default$22: typeof __VLS_export$5;
|
|
1244
1302
|
//#endregion
|
|
1245
1303
|
//#region temp/packages/form/src/fields/Display.vue.d.ts
|
|
1246
1304
|
type __VLS_Props$4 = schema_d_exports.FieldProps<schema_d_exports.DisplayConfig>;
|
|
1247
|
-
declare const __VLS_export$4:
|
|
1305
|
+
declare const __VLS_export$4: import("@vue/runtime-core").DefineComponent<__VLS_Props$4, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1248
1306
|
declare const _default$8: typeof __VLS_export$4;
|
|
1249
1307
|
//#endregion
|
|
1250
1308
|
//#region temp/packages/form/src/fields/Link.vue.d.ts
|
|
1251
1309
|
type __VLS_Props$3 = schema_d_exports.FieldProps<schema_d_exports.LinkConfig>;
|
|
1252
|
-
declare const __VLS_export$3:
|
|
1310
|
+
declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_Props$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1253
1311
|
change: (...args: any[]) => void;
|
|
1254
|
-
}, string,
|
|
1312
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
1255
1313
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1256
|
-
}>, {}, {}, {}, {}, string,
|
|
1314
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1257
1315
|
declare const _default$18: typeof __VLS_export$3;
|
|
1258
1316
|
//#endregion
|
|
1259
1317
|
//#region temp/packages/form/src/fields/Select.vue.d.ts
|
|
1260
1318
|
type __VLS_Props$2 = schema_d_exports.FieldProps<schema_d_exports.SelectConfig>;
|
|
1261
|
-
declare const __VLS_export$2:
|
|
1262
|
-
options:
|
|
1319
|
+
declare const __VLS_export$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$2, {
|
|
1320
|
+
options: import("@vue/reactivity").Ref<{
|
|
1263
1321
|
text: string;
|
|
1264
1322
|
value: any;
|
|
1265
1323
|
disabled?: boolean | undefined;
|
|
@@ -1287,29 +1345,29 @@ declare const __VLS_export$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$2
|
|
|
1287
1345
|
}[];
|
|
1288
1346
|
}[]>;
|
|
1289
1347
|
setOptions: (data: schema_d_exports.SelectOption[] | schema_d_exports.SelectGroupOption[]) => void;
|
|
1290
|
-
}, {}, {}, {},
|
|
1348
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1291
1349
|
change: (...args: any[]) => void;
|
|
1292
|
-
}, string,
|
|
1350
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
1293
1351
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1294
|
-
}>, {}, {}, {}, {}, string,
|
|
1352
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1295
1353
|
declare const _default$24: typeof __VLS_export$2;
|
|
1296
1354
|
//#endregion
|
|
1297
1355
|
//#region temp/packages/form/src/fields/Cascader.vue.d.ts
|
|
1298
1356
|
type __VLS_Props$1 = schema_d_exports.FieldProps<schema_d_exports.CascaderConfig>;
|
|
1299
|
-
declare const __VLS_export$1:
|
|
1357
|
+
declare const __VLS_export$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1300
1358
|
change: (...args: any[]) => void;
|
|
1301
|
-
}, string,
|
|
1359
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
1302
1360
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1303
|
-
}>, {}, {}, {}, {}, string,
|
|
1361
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1304
1362
|
declare const _default: typeof __VLS_export$1;
|
|
1305
1363
|
//#endregion
|
|
1306
1364
|
//#region temp/packages/form/src/fields/DynamicField.vue.d.ts
|
|
1307
1365
|
type __VLS_Props = schema_d_exports.FieldProps<schema_d_exports.DynamicFieldConfig>;
|
|
1308
|
-
declare const __VLS_export:
|
|
1366
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1309
1367
|
change: (...args: any[]) => void;
|
|
1310
|
-
}, string,
|
|
1368
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
1311
1369
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1312
|
-
}>, {}, {}, {}, {}, string,
|
|
1370
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1313
1371
|
declare const _default$9: typeof __VLS_export;
|
|
1314
1372
|
//#endregion
|
|
1315
1373
|
//#region temp/packages/form/src/utils/config.d.ts
|
|
@@ -1325,8 +1383,8 @@ declare const _default$31: {
|
|
|
1325
1383
|
install(app: App, opt?: FormInstallOptions): void;
|
|
1326
1384
|
};
|
|
1327
1385
|
declare namespace index_d_exports {
|
|
1328
|
-
export { ChangeRecord, ContainerChangeEventData, FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$16 as MTable, _default$16 as MTableGroupList, _default$26 as MTabs, _default$27 as MText, _default$28 as MTextarea, _default$29 as MTime, _default$30 as MTimerange, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$31 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, useAddField };
|
|
1386
|
+
export { ChangeRecord, ContainerChangeEventData, FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$16 as MTable, _default$16 as MTableGroupList, _default$26 as MTabs, _default$27 as MText, _default$28 as MTextarea, _default$29 as MTime, _default$30 as MTimerange, SubmitFormOptions, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$31 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, submitForm, useAddField };
|
|
1329
1387
|
}
|
|
1330
1388
|
declare const createForm: <T extends [] = []>(config: schema_d_exports.FormConfig | T) => schema_d_exports.FormConfig | T;
|
|
1331
1389
|
//#endregion
|
|
1332
|
-
export { ChangeRecord, ContainerChangeEventData, type FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$16 as MTable, _default$16 as MTableGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$26 as MTabs, _default$27 as MText, _default$28 as MTextarea, _default$29 as MTime, _default$30 as MTimerange, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$31 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, useAddField };
|
|
1390
|
+
export { ChangeRecord, ContainerChangeEventData, type FormInstallOptions, _default as MCascader, _default$1 as MCheckbox, _default$2 as MCheckboxGroup, _default$3 as MColorPicker, _default$4 as MContainer, _default$5 as MDate, _default$6 as MDateTime, _default$7 as MDaterange, _default$8 as MDisplay, _default$9 as MDynamicField, _default$10 as MFieldset, _default$11 as MFlexLayout, _default$12 as MForm, _default$13 as MFormBox, _default$14 as MFormDialog, _default$15 as MFormDrawer, _default$16 as MGroupList, _default$16 as MTable, _default$16 as MTableGroupList, _default$17 as MHidden, _default$18 as MLink, _default$19 as MNumber, _default$20 as MNumberRange, _default$21 as MPanel, _default$22 as MRadioGroup, _default$23 as MRow, _default$24 as MSelect, _default$25 as MSwitch, _default$26 as MTabs, _default$27 as MText, _default$28 as MTextarea, _default$29 as MTime, _default$30 as MTimerange, SubmitFormOptions, ValidateError, createForm, createObjectProp, createValues, datetimeFormatter, _default$31 as default, deleteField as deleteFormField, display, filterFunction, getDataByPage, getField as getFormField, getRules, initValue, registerField as registerFormField, sortArray, sortChange, submitForm, useAddField };
|