@tmagic/form 1.7.14-beta.1 → 1.7.14-beta.2
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.
|
@@ -145,6 +145,7 @@ var Select_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineC
|
|
|
145
145
|
let options = [];
|
|
146
146
|
let url = option.initUrl;
|
|
147
147
|
if (!url) return getInitLocalOption();
|
|
148
|
+
if (typeof props.model[props.name] === "undefined" || props.model[props.name] === "" || props.model[props.name] === null) return [];
|
|
148
149
|
if (typeof url === "function") url = await url(mForm, {
|
|
149
150
|
model: props.model,
|
|
150
151
|
formValue: mForm?.values
|
package/dist/tmagic-form.umd.cjs
CHANGED
|
@@ -7176,6 +7176,7 @@
|
|
|
7176
7176
|
let options = [];
|
|
7177
7177
|
let url = option.initUrl;
|
|
7178
7178
|
if (!url) return getInitLocalOption();
|
|
7179
|
+
if (typeof props.model[props.name] === "undefined" || props.model[props.name] === "" || props.model[props.name] === null) return [];
|
|
7179
7180
|
if (typeof url === "function") url = await url(mForm, {
|
|
7180
7181
|
model: props.model,
|
|
7181
7182
|
formValue: mForm?.values
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.7.14-beta.
|
|
2
|
+
"version": "1.7.14-beta.2",
|
|
3
3
|
"name": "@tmagic/form",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": [
|
|
@@ -50,11 +50,11 @@
|
|
|
50
50
|
"@vue/test-utils": "^2.4.6"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"vue": "^3.5.
|
|
53
|
+
"vue": "^3.5.34",
|
|
54
54
|
"typescript": "^6.0.3",
|
|
55
|
-
"@tmagic/design": "1.7.14-beta.
|
|
56
|
-
"@tmagic/
|
|
57
|
-
"@tmagic/
|
|
55
|
+
"@tmagic/design": "1.7.14-beta.2",
|
|
56
|
+
"@tmagic/utils": "1.7.14-beta.2",
|
|
57
|
+
"@tmagic/form-schema": "1.7.14-beta.2"
|
|
58
58
|
},
|
|
59
59
|
"peerDependenciesMeta": {
|
|
60
60
|
"typescript": {
|
package/src/fields/Select.vue
CHANGED
|
@@ -291,6 +291,14 @@ const getInitOption = async () => {
|
|
|
291
291
|
return getInitLocalOption();
|
|
292
292
|
}
|
|
293
293
|
|
|
294
|
+
if (
|
|
295
|
+
typeof props.model[props.name] === 'undefined' ||
|
|
296
|
+
props.model[props.name] === '' ||
|
|
297
|
+
props.model[props.name] === null
|
|
298
|
+
) {
|
|
299
|
+
return [];
|
|
300
|
+
}
|
|
301
|
+
|
|
294
302
|
if (typeof url === 'function') {
|
|
295
303
|
url = await url(mForm, { model: props.model, formValue: mForm?.values });
|
|
296
304
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -1,8 +1,4 @@
|
|
|
1
|
-
import * as _$_tmagic_form_schema0 from "@tmagic/form-schema";
|
|
2
1
|
import { FlexLayoutConfig, GroupListConfig, TableConfig } from "@tmagic/form-schema";
|
|
3
|
-
import * as _$_vue_reactivity0 from "@vue/reactivity";
|
|
4
|
-
import * as _$_vue_runtime_core0 from "@vue/runtime-core";
|
|
5
|
-
import * as _$_tmagic_editor0 from "@tmagic/editor";
|
|
6
2
|
import { App, Component } from "vue";
|
|
7
3
|
export * from "@tmagic/form-schema";
|
|
8
4
|
|
|
@@ -67,23 +63,23 @@ type __VLS_Props$30 = {
|
|
|
67
63
|
preventSubmitDefault?: boolean;
|
|
68
64
|
extendState?: (_state: schema_d_exports.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
69
65
|
};
|
|
70
|
-
declare const __VLS_export$30:
|
|
71
|
-
values:
|
|
72
|
-
lastValuesProcessed:
|
|
66
|
+
declare const __VLS_export$30: import("@vue/runtime-core").DefineComponent<__VLS_Props$30, {
|
|
67
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
68
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
73
69
|
formState: schema_d_exports.FormState;
|
|
74
|
-
initialized:
|
|
75
|
-
changeRecords:
|
|
70
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
71
|
+
changeRecords: import("@vue/reactivity").ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
76
72
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
77
73
|
resetForm: () => void;
|
|
78
74
|
submitForm: (native?: boolean) => Promise<any>;
|
|
79
75
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
80
|
-
}, {}, {}, {},
|
|
76
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
81
77
|
error: (...args: any[]) => void;
|
|
82
78
|
change: (...args: any[]) => void;
|
|
83
79
|
"field-input": (...args: any[]) => void;
|
|
84
80
|
"field-change": (...args: any[]) => void;
|
|
85
81
|
"update:stepActive": (...args: any[]) => void;
|
|
86
|
-
}, string,
|
|
82
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$30> & Readonly<{
|
|
87
83
|
onError?: ((...args: any[]) => any) | undefined;
|
|
88
84
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
89
85
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
@@ -102,7 +98,7 @@ declare const __VLS_export$30: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
102
98
|
keyProp: string;
|
|
103
99
|
parentValues: Record<string, any>;
|
|
104
100
|
stepActive: string | number;
|
|
105
|
-
}, {}, {}, {}, string,
|
|
101
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
106
102
|
declare const _default$12: typeof __VLS_export$30;
|
|
107
103
|
//#endregion
|
|
108
104
|
//#region temp/packages/form/src/FormDialog.vue.d.ts
|
|
@@ -135,8 +131,8 @@ type __VLS_Slots$3 = {} & {
|
|
|
135
131
|
} & {
|
|
136
132
|
footer?: (props: typeof __VLS_42) => any;
|
|
137
133
|
};
|
|
138
|
-
declare const __VLS_base$3:
|
|
139
|
-
form:
|
|
134
|
+
declare const __VLS_base$3: import("@vue/runtime-core").DefineComponent<__VLS_Props$29, {
|
|
135
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
140
136
|
config: schema_d_exports.FormConfig;
|
|
141
137
|
initValues: Record<string, any>;
|
|
142
138
|
lastValues?: Record<string, any>;
|
|
@@ -152,7 +148,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
152
148
|
keyProp?: string;
|
|
153
149
|
popperClass?: string;
|
|
154
150
|
preventSubmitDefault?: boolean;
|
|
155
|
-
extendState?: (_state:
|
|
151
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
156
152
|
}> & Readonly<{
|
|
157
153
|
onError?: ((...args: any[]) => any) | undefined;
|
|
158
154
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -160,22 +156,22 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
160
156
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
161
157
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
162
158
|
}>, {
|
|
163
|
-
values:
|
|
164
|
-
lastValuesProcessed:
|
|
165
|
-
formState:
|
|
166
|
-
initialized:
|
|
167
|
-
changeRecords:
|
|
159
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
160
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
161
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
162
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
163
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
168
164
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
169
165
|
resetForm: () => void;
|
|
170
166
|
submitForm: (native?: boolean) => Promise<any>;
|
|
171
167
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
172
|
-
}, {}, {}, {},
|
|
168
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
173
169
|
error: (...args: any[]) => void;
|
|
174
170
|
change: (...args: any[]) => void;
|
|
175
171
|
"field-input": (...args: any[]) => void;
|
|
176
172
|
"field-change": (...args: any[]) => void;
|
|
177
173
|
"update:stepActive": (...args: any[]) => void;
|
|
178
|
-
},
|
|
174
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
179
175
|
disabled: boolean;
|
|
180
176
|
labelWidth: string;
|
|
181
177
|
inline: boolean;
|
|
@@ -188,7 +184,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
188
184
|
keyProp: string;
|
|
189
185
|
parentValues: Record<string, any>;
|
|
190
186
|
stepActive: string | number;
|
|
191
|
-
}, false, {}, {},
|
|
187
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
192
188
|
P: {};
|
|
193
189
|
B: {};
|
|
194
190
|
D: {};
|
|
@@ -211,7 +207,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
211
207
|
keyProp?: string;
|
|
212
208
|
popperClass?: string;
|
|
213
209
|
preventSubmitDefault?: boolean;
|
|
214
|
-
extendState?: (_state:
|
|
210
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
215
211
|
}> & Readonly<{
|
|
216
212
|
onError?: ((...args: any[]) => any) | undefined;
|
|
217
213
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -219,11 +215,11 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
219
215
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
220
216
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
221
217
|
}>, {
|
|
222
|
-
values:
|
|
223
|
-
lastValuesProcessed:
|
|
224
|
-
formState:
|
|
225
|
-
initialized:
|
|
226
|
-
changeRecords:
|
|
218
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
219
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
220
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
221
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
222
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
227
223
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
228
224
|
resetForm: () => void;
|
|
229
225
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -241,7 +237,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
241
237
|
keyProp: string;
|
|
242
238
|
parentValues: Record<string, any>;
|
|
243
239
|
stepActive: string | number;
|
|
244
|
-
}> | undefined,
|
|
240
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
245
241
|
config: schema_d_exports.FormConfig;
|
|
246
242
|
initValues: Record<string, any>;
|
|
247
243
|
lastValues?: Record<string, any>;
|
|
@@ -257,7 +253,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
257
253
|
keyProp?: string;
|
|
258
254
|
popperClass?: string;
|
|
259
255
|
preventSubmitDefault?: boolean;
|
|
260
|
-
extendState?: (_state:
|
|
256
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
261
257
|
}> & Readonly<{
|
|
262
258
|
onError?: ((...args: any[]) => any) | undefined;
|
|
263
259
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -265,22 +261,22 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
265
261
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
266
262
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
267
263
|
}>, {
|
|
268
|
-
values:
|
|
269
|
-
lastValuesProcessed:
|
|
270
|
-
formState:
|
|
271
|
-
initialized:
|
|
272
|
-
changeRecords:
|
|
264
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
265
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
266
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
267
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
268
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
273
269
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
274
270
|
resetForm: () => void;
|
|
275
271
|
submitForm: (native?: boolean) => Promise<any>;
|
|
276
272
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
277
|
-
}, {}, {}, {},
|
|
273
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
278
274
|
error: (...args: any[]) => void;
|
|
279
275
|
change: (...args: any[]) => void;
|
|
280
276
|
"field-input": (...args: any[]) => void;
|
|
281
277
|
"field-change": (...args: any[]) => void;
|
|
282
278
|
"update:stepActive": (...args: any[]) => void;
|
|
283
|
-
},
|
|
279
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
284
280
|
disabled: boolean;
|
|
285
281
|
labelWidth: string;
|
|
286
282
|
inline: boolean;
|
|
@@ -293,7 +289,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
293
289
|
keyProp: string;
|
|
294
290
|
parentValues: Record<string, any>;
|
|
295
291
|
stepActive: string | number;
|
|
296
|
-
}, false, {}, {},
|
|
292
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
297
293
|
P: {};
|
|
298
294
|
B: {};
|
|
299
295
|
D: {};
|
|
@@ -316,7 +312,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
316
312
|
keyProp?: string;
|
|
317
313
|
popperClass?: string;
|
|
318
314
|
preventSubmitDefault?: boolean;
|
|
319
|
-
extendState?: (_state:
|
|
315
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
320
316
|
}> & Readonly<{
|
|
321
317
|
onError?: ((...args: any[]) => any) | undefined;
|
|
322
318
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -324,11 +320,11 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
324
320
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
325
321
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
326
322
|
}>, {
|
|
327
|
-
values:
|
|
328
|
-
lastValuesProcessed:
|
|
329
|
-
formState:
|
|
330
|
-
initialized:
|
|
331
|
-
changeRecords:
|
|
323
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
324
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
325
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
326
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
327
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
332
328
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
333
329
|
resetForm: () => void;
|
|
334
330
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -347,18 +343,18 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
347
343
|
parentValues: Record<string, any>;
|
|
348
344
|
stepActive: string | number;
|
|
349
345
|
}> | undefined>;
|
|
350
|
-
saveFetch:
|
|
351
|
-
dialogVisible:
|
|
346
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
347
|
+
dialogVisible: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
352
348
|
cancel: () => void;
|
|
353
349
|
save: () => Promise<void>;
|
|
354
350
|
show: () => void;
|
|
355
351
|
hide: () => void;
|
|
356
|
-
}, {}, {}, {},
|
|
352
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
357
353
|
error: (...args: any[]) => void;
|
|
358
354
|
change: (...args: any[]) => void;
|
|
359
355
|
close: (...args: any[]) => void;
|
|
360
356
|
submit: (...args: any[]) => void;
|
|
361
|
-
}, string,
|
|
357
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$29> & Readonly<{
|
|
362
358
|
onError?: ((...args: any[]) => any) | undefined;
|
|
363
359
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
364
360
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -372,7 +368,7 @@ declare const __VLS_base$3: _$_vue_runtime_core0.DefineComponent<__VLS_Props$29,
|
|
|
372
368
|
config: schema_d_exports.FormConfig;
|
|
373
369
|
confirmText: string;
|
|
374
370
|
showCancel: boolean;
|
|
375
|
-
}, {}, {}, {}, string,
|
|
371
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
376
372
|
declare const __VLS_export$29: __VLS_WithSlots$3<typeof __VLS_base$3, __VLS_Slots$3>;
|
|
377
373
|
declare const _default$14: typeof __VLS_export$29;
|
|
378
374
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -407,8 +403,8 @@ type __VLS_Slots$2 = {} & {
|
|
|
407
403
|
} & {
|
|
408
404
|
footer?: (props: typeof __VLS_46) => any;
|
|
409
405
|
};
|
|
410
|
-
declare const __VLS_base$2:
|
|
411
|
-
form:
|
|
406
|
+
declare const __VLS_base$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$28, {
|
|
407
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
412
408
|
config: schema_d_exports.FormConfig;
|
|
413
409
|
initValues: Record<string, any>;
|
|
414
410
|
lastValues?: Record<string, any>;
|
|
@@ -424,7 +420,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
424
420
|
keyProp?: string;
|
|
425
421
|
popperClass?: string;
|
|
426
422
|
preventSubmitDefault?: boolean;
|
|
427
|
-
extendState?: (_state:
|
|
423
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
428
424
|
}> & Readonly<{
|
|
429
425
|
onError?: ((...args: any[]) => any) | undefined;
|
|
430
426
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -432,22 +428,22 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
432
428
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
433
429
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
434
430
|
}>, {
|
|
435
|
-
values:
|
|
436
|
-
lastValuesProcessed:
|
|
437
|
-
formState:
|
|
438
|
-
initialized:
|
|
439
|
-
changeRecords:
|
|
431
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
432
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
433
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
434
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
435
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
440
436
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
441
437
|
resetForm: () => void;
|
|
442
438
|
submitForm: (native?: boolean) => Promise<any>;
|
|
443
439
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
444
|
-
}, {}, {}, {},
|
|
440
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
445
441
|
error: (...args: any[]) => void;
|
|
446
442
|
change: (...args: any[]) => void;
|
|
447
443
|
"field-input": (...args: any[]) => void;
|
|
448
444
|
"field-change": (...args: any[]) => void;
|
|
449
445
|
"update:stepActive": (...args: any[]) => void;
|
|
450
|
-
},
|
|
446
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
451
447
|
disabled: boolean;
|
|
452
448
|
labelWidth: string;
|
|
453
449
|
inline: boolean;
|
|
@@ -460,7 +456,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
460
456
|
keyProp: string;
|
|
461
457
|
parentValues: Record<string, any>;
|
|
462
458
|
stepActive: string | number;
|
|
463
|
-
}, false, {}, {},
|
|
459
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
464
460
|
P: {};
|
|
465
461
|
B: {};
|
|
466
462
|
D: {};
|
|
@@ -483,7 +479,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
483
479
|
keyProp?: string;
|
|
484
480
|
popperClass?: string;
|
|
485
481
|
preventSubmitDefault?: boolean;
|
|
486
|
-
extendState?: (_state:
|
|
482
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
487
483
|
}> & Readonly<{
|
|
488
484
|
onError?: ((...args: any[]) => any) | undefined;
|
|
489
485
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -491,11 +487,11 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
491
487
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
492
488
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
493
489
|
}>, {
|
|
494
|
-
values:
|
|
495
|
-
lastValuesProcessed:
|
|
496
|
-
formState:
|
|
497
|
-
initialized:
|
|
498
|
-
changeRecords:
|
|
490
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
491
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
492
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
493
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
494
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
499
495
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
500
496
|
resetForm: () => void;
|
|
501
497
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -513,7 +509,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
513
509
|
keyProp: string;
|
|
514
510
|
parentValues: Record<string, any>;
|
|
515
511
|
stepActive: string | number;
|
|
516
|
-
}> | undefined,
|
|
512
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
517
513
|
config: schema_d_exports.FormConfig;
|
|
518
514
|
initValues: Record<string, any>;
|
|
519
515
|
lastValues?: Record<string, any>;
|
|
@@ -529,7 +525,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
529
525
|
keyProp?: string;
|
|
530
526
|
popperClass?: string;
|
|
531
527
|
preventSubmitDefault?: boolean;
|
|
532
|
-
extendState?: (_state:
|
|
528
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
533
529
|
}> & Readonly<{
|
|
534
530
|
onError?: ((...args: any[]) => any) | undefined;
|
|
535
531
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -537,22 +533,22 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
537
533
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
538
534
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
539
535
|
}>, {
|
|
540
|
-
values:
|
|
541
|
-
lastValuesProcessed:
|
|
542
|
-
formState:
|
|
543
|
-
initialized:
|
|
544
|
-
changeRecords:
|
|
536
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
537
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
538
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
539
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
540
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
545
541
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
546
542
|
resetForm: () => void;
|
|
547
543
|
submitForm: (native?: boolean) => Promise<any>;
|
|
548
544
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
549
|
-
}, {}, {}, {},
|
|
545
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
550
546
|
error: (...args: any[]) => void;
|
|
551
547
|
change: (...args: any[]) => void;
|
|
552
548
|
"field-input": (...args: any[]) => void;
|
|
553
549
|
"field-change": (...args: any[]) => void;
|
|
554
550
|
"update:stepActive": (...args: any[]) => void;
|
|
555
|
-
},
|
|
551
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
556
552
|
disabled: boolean;
|
|
557
553
|
labelWidth: string;
|
|
558
554
|
inline: boolean;
|
|
@@ -565,7 +561,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
565
561
|
keyProp: string;
|
|
566
562
|
parentValues: Record<string, any>;
|
|
567
563
|
stepActive: string | number;
|
|
568
|
-
}, false, {}, {},
|
|
564
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
569
565
|
P: {};
|
|
570
566
|
B: {};
|
|
571
567
|
D: {};
|
|
@@ -588,7 +584,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
588
584
|
keyProp?: string;
|
|
589
585
|
popperClass?: string;
|
|
590
586
|
preventSubmitDefault?: boolean;
|
|
591
|
-
extendState?: (_state:
|
|
587
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
592
588
|
}> & Readonly<{
|
|
593
589
|
onError?: ((...args: any[]) => any) | undefined;
|
|
594
590
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -596,11 +592,11 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
596
592
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
597
593
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
598
594
|
}>, {
|
|
599
|
-
values:
|
|
600
|
-
lastValuesProcessed:
|
|
601
|
-
formState:
|
|
602
|
-
initialized:
|
|
603
|
-
changeRecords:
|
|
595
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
596
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
597
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
598
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
599
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
604
600
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
605
601
|
resetForm: () => void;
|
|
606
602
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -619,12 +615,12 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
619
615
|
parentValues: Record<string, any>;
|
|
620
616
|
stepActive: string | number;
|
|
621
617
|
}> | undefined>;
|
|
622
|
-
saveFetch:
|
|
623
|
-
bodyHeight:
|
|
618
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
619
|
+
bodyHeight: import("@vue/reactivity").Ref<number, number>;
|
|
624
620
|
show: () => void;
|
|
625
621
|
hide: () => void;
|
|
626
622
|
handleClose: () => void;
|
|
627
|
-
}, {}, {}, {},
|
|
623
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
628
624
|
error: (...args: any[]) => void;
|
|
629
625
|
change: (...args: any[]) => void;
|
|
630
626
|
close: (...args: any[]) => void;
|
|
@@ -632,7 +628,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
632
628
|
open: (...args: any[]) => void;
|
|
633
629
|
opened: (...args: any[]) => void;
|
|
634
630
|
closed: (...args: any[]) => void;
|
|
635
|
-
}, string,
|
|
631
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$28> & Readonly<{
|
|
636
632
|
onError?: ((...args: any[]) => any) | undefined;
|
|
637
633
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
638
634
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
@@ -645,7 +641,7 @@ declare const __VLS_base$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$28,
|
|
|
645
641
|
closeOnPressEscape: boolean;
|
|
646
642
|
config: schema_d_exports.FormConfig;
|
|
647
643
|
confirmText: string;
|
|
648
|
-
}, {}, {}, {}, string,
|
|
644
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
649
645
|
declare const __VLS_export$28: __VLS_WithSlots$2<typeof __VLS_base$2, __VLS_Slots$2>;
|
|
650
646
|
declare const _default$15: typeof __VLS_export$28;
|
|
651
647
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -677,8 +673,8 @@ type __VLS_Slots$1 = {} & {
|
|
|
677
673
|
} & {
|
|
678
674
|
footer?: (props: typeof __VLS_20) => any;
|
|
679
675
|
};
|
|
680
|
-
declare const __VLS_base$1:
|
|
681
|
-
form:
|
|
676
|
+
declare const __VLS_base$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$27, {
|
|
677
|
+
form: import("@vue/reactivity").Ref<import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
682
678
|
config: schema_d_exports.FormConfig;
|
|
683
679
|
initValues: Record<string, any>;
|
|
684
680
|
lastValues?: Record<string, any>;
|
|
@@ -694,7 +690,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
694
690
|
keyProp?: string;
|
|
695
691
|
popperClass?: string;
|
|
696
692
|
preventSubmitDefault?: boolean;
|
|
697
|
-
extendState?: (_state:
|
|
693
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
698
694
|
}> & Readonly<{
|
|
699
695
|
onError?: ((...args: any[]) => any) | undefined;
|
|
700
696
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -702,22 +698,22 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
702
698
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
703
699
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
704
700
|
}>, {
|
|
705
|
-
values:
|
|
706
|
-
lastValuesProcessed:
|
|
707
|
-
formState:
|
|
708
|
-
initialized:
|
|
709
|
-
changeRecords:
|
|
701
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
702
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
703
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
704
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
705
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
710
706
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
711
707
|
resetForm: () => void;
|
|
712
708
|
submitForm: (native?: boolean) => Promise<any>;
|
|
713
709
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
714
|
-
}, {}, {}, {},
|
|
710
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
715
711
|
error: (...args: any[]) => void;
|
|
716
712
|
change: (...args: any[]) => void;
|
|
717
713
|
"field-input": (...args: any[]) => void;
|
|
718
714
|
"field-change": (...args: any[]) => void;
|
|
719
715
|
"update:stepActive": (...args: any[]) => void;
|
|
720
|
-
},
|
|
716
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
721
717
|
disabled: boolean;
|
|
722
718
|
labelWidth: string;
|
|
723
719
|
inline: boolean;
|
|
@@ -730,7 +726,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
730
726
|
keyProp: string;
|
|
731
727
|
parentValues: Record<string, any>;
|
|
732
728
|
stepActive: string | number;
|
|
733
|
-
}, false, {}, {},
|
|
729
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
734
730
|
P: {};
|
|
735
731
|
B: {};
|
|
736
732
|
D: {};
|
|
@@ -753,7 +749,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
753
749
|
keyProp?: string;
|
|
754
750
|
popperClass?: string;
|
|
755
751
|
preventSubmitDefault?: boolean;
|
|
756
|
-
extendState?: (_state:
|
|
752
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
757
753
|
}> & Readonly<{
|
|
758
754
|
onError?: ((...args: any[]) => any) | undefined;
|
|
759
755
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -761,11 +757,11 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
761
757
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
762
758
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
763
759
|
}>, {
|
|
764
|
-
values:
|
|
765
|
-
lastValuesProcessed:
|
|
766
|
-
formState:
|
|
767
|
-
initialized:
|
|
768
|
-
changeRecords:
|
|
760
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
761
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
762
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
763
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
764
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
769
765
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
770
766
|
resetForm: () => void;
|
|
771
767
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -783,7 +779,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
783
779
|
keyProp: string;
|
|
784
780
|
parentValues: Record<string, any>;
|
|
785
781
|
stepActive: string | number;
|
|
786
|
-
}> | undefined,
|
|
782
|
+
}> | undefined, import("@vue/runtime-core").CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
787
783
|
config: schema_d_exports.FormConfig;
|
|
788
784
|
initValues: Record<string, any>;
|
|
789
785
|
lastValues?: Record<string, any>;
|
|
@@ -799,7 +795,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
799
795
|
keyProp?: string;
|
|
800
796
|
popperClass?: string;
|
|
801
797
|
preventSubmitDefault?: boolean;
|
|
802
|
-
extendState?: (_state:
|
|
798
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
803
799
|
}> & Readonly<{
|
|
804
800
|
onError?: ((...args: any[]) => any) | undefined;
|
|
805
801
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -807,22 +803,22 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
807
803
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
808
804
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
809
805
|
}>, {
|
|
810
|
-
values:
|
|
811
|
-
lastValuesProcessed:
|
|
812
|
-
formState:
|
|
813
|
-
initialized:
|
|
814
|
-
changeRecords:
|
|
806
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
807
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
808
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
809
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
810
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
815
811
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
816
812
|
resetForm: () => void;
|
|
817
813
|
submitForm: (native?: boolean) => Promise<any>;
|
|
818
814
|
getTextByName: (name: string, config?: schema_d_exports.FormConfig) => string | undefined;
|
|
819
|
-
}, {}, {}, {},
|
|
815
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
820
816
|
error: (...args: any[]) => void;
|
|
821
817
|
change: (...args: any[]) => void;
|
|
822
818
|
"field-input": (...args: any[]) => void;
|
|
823
819
|
"field-change": (...args: any[]) => void;
|
|
824
820
|
"update:stepActive": (...args: any[]) => void;
|
|
825
|
-
},
|
|
821
|
+
}, import("@vue/runtime-core").PublicProps, {
|
|
826
822
|
disabled: boolean;
|
|
827
823
|
labelWidth: string;
|
|
828
824
|
inline: boolean;
|
|
@@ -835,7 +831,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
835
831
|
keyProp: string;
|
|
836
832
|
parentValues: Record<string, any>;
|
|
837
833
|
stepActive: string | number;
|
|
838
|
-
}, false, {}, {},
|
|
834
|
+
}, false, {}, {}, import("@vue/runtime-core").GlobalComponents, import("@vue/runtime-core").GlobalDirectives, string, {}, any, import("@vue/runtime-core").ComponentProvideOptions, {
|
|
839
835
|
P: {};
|
|
840
836
|
B: {};
|
|
841
837
|
D: {};
|
|
@@ -858,7 +854,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
858
854
|
keyProp?: string;
|
|
859
855
|
popperClass?: string;
|
|
860
856
|
preventSubmitDefault?: boolean;
|
|
861
|
-
extendState?: (_state:
|
|
857
|
+
extendState?: (_state: import("@tmagic/form-schema").FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
862
858
|
}> & Readonly<{
|
|
863
859
|
onError?: ((...args: any[]) => any) | undefined;
|
|
864
860
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
@@ -866,11 +862,11 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
866
862
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
867
863
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
868
864
|
}>, {
|
|
869
|
-
values:
|
|
870
|
-
lastValuesProcessed:
|
|
871
|
-
formState:
|
|
872
|
-
initialized:
|
|
873
|
-
changeRecords:
|
|
865
|
+
values: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
866
|
+
lastValuesProcessed: import("@vue/reactivity").Ref<schema_d_exports.FormValue, schema_d_exports.FormValue>;
|
|
867
|
+
formState: import("@tmagic/form-schema").FormState;
|
|
868
|
+
initialized: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
869
|
+
changeRecords: import("@vue/reactivity").ShallowRef<import("@tmagic/editor").ChangeRecord[], import("@tmagic/editor").ChangeRecord[]>;
|
|
874
870
|
changeHandler: (v: schema_d_exports.FormValue, eventData: ContainerChangeEventData) => void;
|
|
875
871
|
resetForm: () => void;
|
|
876
872
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -889,14 +885,14 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
889
885
|
parentValues: Record<string, any>;
|
|
890
886
|
stepActive: string | number;
|
|
891
887
|
}> | undefined>;
|
|
892
|
-
saveFetch:
|
|
888
|
+
saveFetch: import("@vue/reactivity").Ref<boolean, boolean>;
|
|
893
889
|
show: () => void;
|
|
894
890
|
hide: () => void;
|
|
895
|
-
}, {}, {}, {},
|
|
891
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
896
892
|
error: (e: any) => any;
|
|
897
893
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
898
894
|
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
899
|
-
}, string,
|
|
895
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$27> & Readonly<{
|
|
900
896
|
onError?: ((e: any) => any) | undefined;
|
|
901
897
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
902
898
|
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
@@ -904,7 +900,7 @@ declare const __VLS_base$1: _$_vue_runtime_core0.DefineComponent<__VLS_Props$27,
|
|
|
904
900
|
values: Object;
|
|
905
901
|
config: schema_d_exports.FormConfig;
|
|
906
902
|
confirmText: string;
|
|
907
|
-
}, {}, {}, {}, string,
|
|
903
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
908
904
|
declare const __VLS_export$27: __VLS_WithSlots$1<typeof __VLS_base$1, __VLS_Slots$1>;
|
|
909
905
|
declare const _default$13: typeof __VLS_export$27;
|
|
910
906
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -926,10 +922,10 @@ type __VLS_Props$26 = {
|
|
|
926
922
|
size?: string; /** 是否开启对比模式 */
|
|
927
923
|
isCompare?: boolean;
|
|
928
924
|
};
|
|
929
|
-
declare const __VLS_export$26:
|
|
925
|
+
declare const __VLS_export$26: import("@vue/runtime-core").DefineComponent<__VLS_Props$26, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
930
926
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
931
927
|
addDiffCount: () => any;
|
|
932
|
-
}, string,
|
|
928
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$26> & Readonly<{
|
|
933
929
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
934
930
|
onAddDiffCount?: (() => any) | undefined;
|
|
935
931
|
}>, {
|
|
@@ -938,7 +934,7 @@ declare const __VLS_export$26: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
938
934
|
lastValues: schema_d_exports.FormValue;
|
|
939
935
|
isCompare: boolean;
|
|
940
936
|
expandMore: boolean;
|
|
941
|
-
}, {}, {}, {}, string,
|
|
937
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
942
938
|
declare const _default$4: typeof __VLS_export$26;
|
|
943
939
|
//#endregion
|
|
944
940
|
//#region temp/packages/form/src/containers/Fieldset.vue.d.ts
|
|
@@ -953,10 +949,10 @@ type __VLS_Props$25 = {
|
|
|
953
949
|
rules?: any;
|
|
954
950
|
disabled?: boolean;
|
|
955
951
|
};
|
|
956
|
-
declare const __VLS_export$25:
|
|
952
|
+
declare const __VLS_export$25: import("@vue/runtime-core").DefineComponent<__VLS_Props$25, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
957
953
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
958
954
|
addDiffCount: () => any;
|
|
959
|
-
}, string,
|
|
955
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$25> & Readonly<{
|
|
960
956
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
961
957
|
onAddDiffCount?: (() => any) | undefined;
|
|
962
958
|
}>, {
|
|
@@ -964,7 +960,7 @@ declare const __VLS_export$25: _$_vue_runtime_core0.DefineComponent<__VLS_Props$
|
|
|
964
960
|
rules: any;
|
|
965
961
|
lastValues: Record<string, any>;
|
|
966
962
|
isCompare: boolean;
|
|
967
|
-
}, {}, {}, {}, string,
|
|
963
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
968
964
|
declare const _default$10: typeof __VLS_export$25;
|
|
969
965
|
//#endregion
|
|
970
966
|
//#region temp/packages/form/src/containers/FlexLayout.vue.d.ts
|
|
@@ -979,13 +975,13 @@ type __VLS_Props$24 = {
|
|
|
979
975
|
size?: string;
|
|
980
976
|
disabled?: boolean;
|
|
981
977
|
};
|
|
982
|
-
declare const __VLS_export$24:
|
|
978
|
+
declare const __VLS_export$24: import("@vue/runtime-core").DefineComponent<__VLS_Props$24, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
983
979
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
984
980
|
addDiffCount: () => any;
|
|
985
|
-
}, string,
|
|
981
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$24> & Readonly<{
|
|
986
982
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
987
983
|
onAddDiffCount?: (() => any) | undefined;
|
|
988
|
-
}>, {}, {}, {}, {}, string,
|
|
984
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
989
985
|
declare const _default$11: typeof __VLS_export$24;
|
|
990
986
|
//#endregion
|
|
991
987
|
//#region temp/packages/form/src/containers/Panel.vue.d.ts
|
|
@@ -1006,16 +1002,16 @@ type __VLS_Slots = {} & {
|
|
|
1006
1002
|
} & {
|
|
1007
1003
|
default?: (props: typeof __VLS_18) => any;
|
|
1008
1004
|
};
|
|
1009
|
-
declare const __VLS_base:
|
|
1005
|
+
declare const __VLS_base: import("@vue/runtime-core").DefineComponent<__VLS_Props$23, {
|
|
1010
1006
|
getExpand: () => boolean;
|
|
1011
1007
|
setExpand: (v: boolean) => void;
|
|
1012
|
-
}, {}, {}, {},
|
|
1008
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1013
1009
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1014
1010
|
addDiffCount: () => any;
|
|
1015
|
-
}, string,
|
|
1011
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$23> & Readonly<{
|
|
1016
1012
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1017
1013
|
onAddDiffCount?: (() => any) | undefined;
|
|
1018
|
-
}>, {}, {}, {}, {}, string,
|
|
1014
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1019
1015
|
declare const __VLS_export$23: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
1020
1016
|
declare const _default$21: typeof __VLS_export$23;
|
|
1021
1017
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -1037,13 +1033,13 @@ type __VLS_Props$22 = {
|
|
|
1037
1033
|
expandMore?: boolean;
|
|
1038
1034
|
disabled?: boolean;
|
|
1039
1035
|
};
|
|
1040
|
-
declare const __VLS_export$22:
|
|
1036
|
+
declare const __VLS_export$22: import("@vue/runtime-core").DefineComponent<__VLS_Props$22, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1041
1037
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1042
1038
|
addDiffCount: () => any;
|
|
1043
|
-
}, string,
|
|
1039
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$22> & Readonly<{
|
|
1044
1040
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1045
1041
|
onAddDiffCount?: (() => any) | undefined;
|
|
1046
|
-
}>, {}, {}, {}, {}, string,
|
|
1042
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1047
1043
|
declare const _default$23: typeof __VLS_export$22;
|
|
1048
1044
|
//#endregion
|
|
1049
1045
|
//#region temp/packages/form/src/containers/Tabs.vue.d.ts
|
|
@@ -1059,17 +1055,17 @@ type __VLS_Props$21 = {
|
|
|
1059
1055
|
expandMore?: boolean;
|
|
1060
1056
|
disabled?: boolean;
|
|
1061
1057
|
};
|
|
1062
|
-
declare const __VLS_export$21:
|
|
1058
|
+
declare const __VLS_export$21: import("@vue/runtime-core").DefineComponent<__VLS_Props$21, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1063
1059
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1064
1060
|
addDiffCount: () => any;
|
|
1065
|
-
}, string,
|
|
1061
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$21> & Readonly<{
|
|
1066
1062
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1067
1063
|
onAddDiffCount?: (() => any) | undefined;
|
|
1068
1064
|
}>, {
|
|
1069
1065
|
prop: string;
|
|
1070
1066
|
lastValues: any;
|
|
1071
1067
|
isCompare: boolean;
|
|
1072
|
-
}, {}, {}, {}, string,
|
|
1068
|
+
}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1073
1069
|
declare const _default$26: typeof __VLS_export$21;
|
|
1074
1070
|
//#endregion
|
|
1075
1071
|
//#region temp/packages/form/src/containers/table-group-list/TableGroupList.vue.d.ts
|
|
@@ -1088,59 +1084,59 @@ type __VLS_Props$20 = {
|
|
|
1088
1084
|
sortKey?: string;
|
|
1089
1085
|
sort?: boolean;
|
|
1090
1086
|
};
|
|
1091
|
-
declare const __VLS_export$20:
|
|
1087
|
+
declare const __VLS_export$20: import("@vue/runtime-core").DefineComponent<__VLS_Props$20, {
|
|
1092
1088
|
toggleRowSelection: (row: any, selected: boolean) => void | undefined;
|
|
1093
|
-
}, {}, {}, {},
|
|
1089
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1094
1090
|
change: (...args: any[]) => void;
|
|
1095
1091
|
select: (...args: any[]) => void;
|
|
1096
1092
|
addDiffCount: (...args: any[]) => void;
|
|
1097
|
-
}, string,
|
|
1093
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$20> & Readonly<{
|
|
1098
1094
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1099
1095
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
1100
1096
|
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
1101
|
-
}>, {}, {}, {}, {}, string,
|
|
1097
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1102
1098
|
declare const _default$16: typeof __VLS_export$20;
|
|
1103
1099
|
//#endregion
|
|
1104
1100
|
//#region temp/packages/form/src/fields/Text.vue.d.ts
|
|
1105
1101
|
type __VLS_Props$19 = schema_d_exports.FieldProps<schema_d_exports.TextConfig>;
|
|
1106
|
-
declare const __VLS_export$19:
|
|
1102
|
+
declare const __VLS_export$19: import("@vue/runtime-core").DefineComponent<__VLS_Props$19, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1107
1103
|
change: (value: string, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1108
1104
|
input: (value: string) => any;
|
|
1109
|
-
}, string,
|
|
1105
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$19> & Readonly<{
|
|
1110
1106
|
onChange?: ((value: string, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1111
1107
|
onInput?: ((value: string) => any) | undefined;
|
|
1112
|
-
}>, {}, {}, {}, {}, string,
|
|
1108
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1113
1109
|
declare const _default$27: typeof __VLS_export$19;
|
|
1114
1110
|
//#endregion
|
|
1115
1111
|
//#region temp/packages/form/src/fields/Number.vue.d.ts
|
|
1116
1112
|
type __VLS_Props$18 = schema_d_exports.FieldProps<schema_d_exports.NumberConfig>;
|
|
1117
|
-
declare const __VLS_export$18:
|
|
1113
|
+
declare const __VLS_export$18: import("@vue/runtime-core").DefineComponent<__VLS_Props$18, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1118
1114
|
change: (values: number) => any;
|
|
1119
1115
|
input: (values: number) => any;
|
|
1120
|
-
}, string,
|
|
1116
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$18> & Readonly<{
|
|
1121
1117
|
onChange?: ((values: number) => any) | undefined;
|
|
1122
1118
|
onInput?: ((values: number) => any) | undefined;
|
|
1123
|
-
}>, {}, {}, {}, {}, string,
|
|
1119
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1124
1120
|
declare const _default$19: typeof __VLS_export$18;
|
|
1125
1121
|
//#endregion
|
|
1126
1122
|
//#region temp/packages/form/src/fields/NumberRange.vue.d.ts
|
|
1127
1123
|
type __VLS_Props$17 = schema_d_exports.FieldProps<schema_d_exports.NumberRangeConfig>;
|
|
1128
|
-
declare const __VLS_export$17:
|
|
1124
|
+
declare const __VLS_export$17: import("@vue/runtime-core").DefineComponent<__VLS_Props$17, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1129
1125
|
change: (values: [number, number]) => any;
|
|
1130
|
-
}, string,
|
|
1126
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$17> & Readonly<{
|
|
1131
1127
|
onChange?: ((values: [number, number]) => any) | undefined;
|
|
1132
|
-
}>, {}, {}, {}, {}, string,
|
|
1128
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1133
1129
|
declare const _default$20: typeof __VLS_export$17;
|
|
1134
1130
|
//#endregion
|
|
1135
1131
|
//#region temp/packages/form/src/fields/Textarea.vue.d.ts
|
|
1136
1132
|
type __VLS_Props$16 = schema_d_exports.FieldProps<schema_d_exports.TextareaConfig>;
|
|
1137
|
-
declare const __VLS_export$16:
|
|
1133
|
+
declare const __VLS_export$16: import("@vue/runtime-core").DefineComponent<__VLS_Props$16, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1138
1134
|
change: (value: string) => any;
|
|
1139
1135
|
input: (value: string) => any;
|
|
1140
|
-
}, string,
|
|
1136
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$16> & Readonly<{
|
|
1141
1137
|
onChange?: ((value: string) => any) | undefined;
|
|
1142
1138
|
onInput?: ((value: string) => any) | undefined;
|
|
1143
|
-
}>, {}, {}, {}, {}, string,
|
|
1139
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1144
1140
|
declare const _default$28: typeof __VLS_export$16;
|
|
1145
1141
|
//#endregion
|
|
1146
1142
|
//#region temp/packages/form/src/fields/Hidden.vue.d.ts
|
|
@@ -1149,117 +1145,117 @@ type __VLS_Props$15 = {
|
|
|
1149
1145
|
name: string;
|
|
1150
1146
|
prop: string;
|
|
1151
1147
|
};
|
|
1152
|
-
declare const __VLS_export$15:
|
|
1148
|
+
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
1149
|
declare const _default$17: typeof __VLS_export$15;
|
|
1154
1150
|
//#endregion
|
|
1155
1151
|
//#region temp/packages/form/src/fields/Date.vue.d.ts
|
|
1156
1152
|
type __VLS_Props$14 = schema_d_exports.FieldProps<schema_d_exports.DateConfig>;
|
|
1157
|
-
declare const __VLS_export$14:
|
|
1153
|
+
declare const __VLS_export$14: import("@vue/runtime-core").DefineComponent<__VLS_Props$14, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1158
1154
|
change: (value: string) => any;
|
|
1159
|
-
}, string,
|
|
1155
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$14> & Readonly<{
|
|
1160
1156
|
onChange?: ((value: string) => any) | undefined;
|
|
1161
|
-
}>, {}, {}, {}, {}, string,
|
|
1157
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1162
1158
|
declare const _default$5: typeof __VLS_export$14;
|
|
1163
1159
|
//#endregion
|
|
1164
1160
|
//#region temp/packages/form/src/fields/DateTime.vue.d.ts
|
|
1165
1161
|
type __VLS_Props$13 = schema_d_exports.FieldProps<schema_d_exports.DateTimeConfig>;
|
|
1166
|
-
declare const __VLS_export$13:
|
|
1162
|
+
declare const __VLS_export$13: import("@vue/runtime-core").DefineComponent<__VLS_Props$13, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1167
1163
|
change: (value: string) => any;
|
|
1168
|
-
}, string,
|
|
1164
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$13> & Readonly<{
|
|
1169
1165
|
onChange?: ((value: string) => any) | undefined;
|
|
1170
|
-
}>, {}, {}, {}, {}, string,
|
|
1166
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1171
1167
|
declare const _default$6: typeof __VLS_export$13;
|
|
1172
1168
|
//#endregion
|
|
1173
1169
|
//#region temp/packages/form/src/fields/Time.vue.d.ts
|
|
1174
1170
|
type __VLS_Props$12 = schema_d_exports.FieldProps<schema_d_exports.TimeConfig>;
|
|
1175
|
-
declare const __VLS_export$12:
|
|
1171
|
+
declare const __VLS_export$12: import("@vue/runtime-core").DefineComponent<__VLS_Props$12, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1176
1172
|
change: (value: string) => any;
|
|
1177
|
-
}, string,
|
|
1173
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$12> & Readonly<{
|
|
1178
1174
|
onChange?: ((value: string) => any) | undefined;
|
|
1179
|
-
}>, {}, {}, {}, {}, string,
|
|
1175
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1180
1176
|
declare const _default$29: typeof __VLS_export$12;
|
|
1181
1177
|
//#endregion
|
|
1182
1178
|
//#region temp/packages/form/src/fields/Checkbox.vue.d.ts
|
|
1183
1179
|
type __VLS_Props$11 = schema_d_exports.FieldProps<schema_d_exports.CheckboxConfig>;
|
|
1184
|
-
declare const __VLS_export$11:
|
|
1180
|
+
declare const __VLS_export$11: import("@vue/runtime-core").DefineComponent<__VLS_Props$11, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1185
1181
|
change: (...args: any[]) => void;
|
|
1186
|
-
}, string,
|
|
1182
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$11> & Readonly<{
|
|
1187
1183
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1188
|
-
}>, {}, {}, {}, {}, string,
|
|
1184
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1189
1185
|
declare const _default$1: typeof __VLS_export$11;
|
|
1190
1186
|
//#endregion
|
|
1191
1187
|
//#region temp/packages/form/src/fields/Switch.vue.d.ts
|
|
1192
1188
|
type __VLS_Props$10 = schema_d_exports.FieldProps<schema_d_exports.SwitchConfig>;
|
|
1193
|
-
declare const __VLS_export$10:
|
|
1189
|
+
declare const __VLS_export$10: import("@vue/runtime-core").DefineComponent<__VLS_Props$10, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1194
1190
|
change: (value: any) => any;
|
|
1195
|
-
}, string,
|
|
1191
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$10> & Readonly<{
|
|
1196
1192
|
onChange?: ((value: any) => any) | undefined;
|
|
1197
|
-
}>, {}, {}, {}, {}, string,
|
|
1193
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1198
1194
|
declare const _default$25: typeof __VLS_export$10;
|
|
1199
1195
|
//#endregion
|
|
1200
1196
|
//#region temp/packages/form/src/fields/Daterange.vue.d.ts
|
|
1201
1197
|
type __VLS_Props$9 = schema_d_exports.FieldProps<schema_d_exports.DaterangeConfig>;
|
|
1202
|
-
declare const __VLS_export$9:
|
|
1198
|
+
declare const __VLS_export$9: import("@vue/runtime-core").DefineComponent<__VLS_Props$9, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1203
1199
|
change: (...args: any[]) => void;
|
|
1204
|
-
}, string,
|
|
1200
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$9> & Readonly<{
|
|
1205
1201
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1206
|
-
}>, {}, {}, {}, {}, string,
|
|
1202
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1207
1203
|
declare const _default$7: typeof __VLS_export$9;
|
|
1208
1204
|
//#endregion
|
|
1209
1205
|
//#region temp/packages/form/src/fields/Timerange.vue.d.ts
|
|
1210
1206
|
type __VLS_Props$8 = schema_d_exports.FieldProps<schema_d_exports.TimerangeConfig>;
|
|
1211
|
-
declare const __VLS_export$8:
|
|
1207
|
+
declare const __VLS_export$8: import("@vue/runtime-core").DefineComponent<__VLS_Props$8, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1212
1208
|
change: (...args: any[]) => void;
|
|
1213
|
-
}, string,
|
|
1209
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
1214
1210
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1215
|
-
}>, {}, {}, {}, {}, string,
|
|
1211
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1216
1212
|
declare const _default$30: typeof __VLS_export$8;
|
|
1217
1213
|
//#endregion
|
|
1218
1214
|
//#region temp/packages/form/src/fields/ColorPicker.vue.d.ts
|
|
1219
1215
|
type __VLS_Props$7 = schema_d_exports.FieldProps<schema_d_exports.ColorPickConfig>;
|
|
1220
|
-
declare const __VLS_export$7:
|
|
1216
|
+
declare const __VLS_export$7: import("@vue/runtime-core").DefineComponent<__VLS_Props$7, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1221
1217
|
change: (value: string) => any;
|
|
1222
|
-
}, string,
|
|
1218
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
1223
1219
|
onChange?: ((value: string) => any) | undefined;
|
|
1224
|
-
}>, {}, {}, {}, {}, string,
|
|
1220
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1225
1221
|
declare const _default$3: typeof __VLS_export$7;
|
|
1226
1222
|
//#endregion
|
|
1227
1223
|
//#region temp/packages/form/src/fields/CheckboxGroup.vue.d.ts
|
|
1228
1224
|
type __VLS_Props$6 = schema_d_exports.FieldProps<schema_d_exports.CheckboxGroupConfig>;
|
|
1229
|
-
declare const __VLS_export$6:
|
|
1225
|
+
declare const __VLS_export$6: import("@vue/runtime-core").DefineComponent<__VLS_Props$6, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1230
1226
|
change: (...args: any[]) => void;
|
|
1231
|
-
}, string,
|
|
1227
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$6> & Readonly<{
|
|
1232
1228
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1233
|
-
}>, {}, {}, {}, {}, string,
|
|
1229
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1234
1230
|
declare const _default$2: typeof __VLS_export$6;
|
|
1235
1231
|
//#endregion
|
|
1236
1232
|
//#region temp/packages/form/src/fields/RadioGroup.vue.d.ts
|
|
1237
1233
|
type __VLS_Props$5 = schema_d_exports.FieldProps<schema_d_exports.RadioGroupConfig>;
|
|
1238
|
-
declare const __VLS_export$5:
|
|
1234
|
+
declare const __VLS_export$5: import("@vue/runtime-core").DefineComponent<__VLS_Props$5, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1239
1235
|
change: (...args: any[]) => void;
|
|
1240
|
-
}, string,
|
|
1236
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
1241
1237
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1242
|
-
}>, {}, {}, {}, {}, string,
|
|
1238
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1243
1239
|
declare const _default$22: typeof __VLS_export$5;
|
|
1244
1240
|
//#endregion
|
|
1245
1241
|
//#region temp/packages/form/src/fields/Display.vue.d.ts
|
|
1246
1242
|
type __VLS_Props$4 = schema_d_exports.FieldProps<schema_d_exports.DisplayConfig>;
|
|
1247
|
-
declare const __VLS_export$4:
|
|
1243
|
+
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
1244
|
declare const _default$8: typeof __VLS_export$4;
|
|
1249
1245
|
//#endregion
|
|
1250
1246
|
//#region temp/packages/form/src/fields/Link.vue.d.ts
|
|
1251
1247
|
type __VLS_Props$3 = schema_d_exports.FieldProps<schema_d_exports.LinkConfig>;
|
|
1252
|
-
declare const __VLS_export$3:
|
|
1248
|
+
declare const __VLS_export$3: import("@vue/runtime-core").DefineComponent<__VLS_Props$3, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1253
1249
|
change: (...args: any[]) => void;
|
|
1254
|
-
}, string,
|
|
1250
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
1255
1251
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1256
|
-
}>, {}, {}, {}, {}, string,
|
|
1252
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1257
1253
|
declare const _default$18: typeof __VLS_export$3;
|
|
1258
1254
|
//#endregion
|
|
1259
1255
|
//#region temp/packages/form/src/fields/Select.vue.d.ts
|
|
1260
1256
|
type __VLS_Props$2 = schema_d_exports.FieldProps<schema_d_exports.SelectConfig>;
|
|
1261
|
-
declare const __VLS_export$2:
|
|
1262
|
-
options:
|
|
1257
|
+
declare const __VLS_export$2: import("@vue/runtime-core").DefineComponent<__VLS_Props$2, {
|
|
1258
|
+
options: import("@vue/reactivity").Ref<{
|
|
1263
1259
|
text: string;
|
|
1264
1260
|
value: any;
|
|
1265
1261
|
disabled?: boolean | undefined;
|
|
@@ -1287,29 +1283,29 @@ declare const __VLS_export$2: _$_vue_runtime_core0.DefineComponent<__VLS_Props$2
|
|
|
1287
1283
|
}[];
|
|
1288
1284
|
}[]>;
|
|
1289
1285
|
setOptions: (data: schema_d_exports.SelectOption[] | schema_d_exports.SelectGroupOption[]) => void;
|
|
1290
|
-
}, {}, {}, {},
|
|
1286
|
+
}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1291
1287
|
change: (...args: any[]) => void;
|
|
1292
|
-
}, string,
|
|
1288
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
1293
1289
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1294
|
-
}>, {}, {}, {}, {}, string,
|
|
1290
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1295
1291
|
declare const _default$24: typeof __VLS_export$2;
|
|
1296
1292
|
//#endregion
|
|
1297
1293
|
//#region temp/packages/form/src/fields/Cascader.vue.d.ts
|
|
1298
1294
|
type __VLS_Props$1 = schema_d_exports.FieldProps<schema_d_exports.CascaderConfig>;
|
|
1299
|
-
declare const __VLS_export$1:
|
|
1295
|
+
declare const __VLS_export$1: import("@vue/runtime-core").DefineComponent<__VLS_Props$1, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1300
1296
|
change: (...args: any[]) => void;
|
|
1301
|
-
}, string,
|
|
1297
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
1302
1298
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1303
|
-
}>, {}, {}, {}, {}, string,
|
|
1299
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1304
1300
|
declare const _default: typeof __VLS_export$1;
|
|
1305
1301
|
//#endregion
|
|
1306
1302
|
//#region temp/packages/form/src/fields/DynamicField.vue.d.ts
|
|
1307
1303
|
type __VLS_Props = schema_d_exports.FieldProps<schema_d_exports.DynamicFieldConfig>;
|
|
1308
|
-
declare const __VLS_export:
|
|
1304
|
+
declare const __VLS_export: import("@vue/runtime-core").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("@vue/runtime-core").ComponentOptionsMixin, import("@vue/runtime-core").ComponentOptionsMixin, {
|
|
1309
1305
|
change: (...args: any[]) => void;
|
|
1310
|
-
}, string,
|
|
1306
|
+
}, string, import("@vue/runtime-core").PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
1311
1307
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1312
|
-
}>, {}, {}, {}, {}, string,
|
|
1308
|
+
}>, {}, {}, {}, {}, string, import("@vue/runtime-core").ComponentProvideOptions, false, {}, any>;
|
|
1313
1309
|
declare const _default$9: typeof __VLS_export;
|
|
1314
1310
|
//#endregion
|
|
1315
1311
|
//#region temp/packages/form/src/utils/config.d.ts
|