@tmagic/form 1.5.21 → 1.5.23
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tmagic-form.js +52 -55
- package/dist/tmagic-form.umd.cjs +52 -55
- package/package.json +6 -6
- package/src/containers/GroupListItem.vue +3 -1
- package/types/index.d.ts +253 -1502
package/types/index.d.ts
CHANGED
|
@@ -1,13 +1,10 @@
|
|
|
1
|
-
import * as vue from 'vue';
|
|
2
1
|
import { App } from 'vue';
|
|
3
2
|
import * as _tmagic_form_schema from '@tmagic/form-schema';
|
|
4
|
-
import { FormState, FormConfig, TabPaneConfig, FormValue, FilterFunction, Rule, ChildConfig, FieldsetConfig, PanelConfig, RowConfig, TabConfig, TableConfig,
|
|
3
|
+
import { FormState, FormConfig, TabPaneConfig, FormValue, FilterFunction, Rule, ChildConfig, FieldsetConfig, PanelConfig, RowConfig, TabConfig, TableConfig, GroupListConfig, FieldProps, TextConfig, NumberConfig, NumberRangeConfig, TextareaConfig, HiddenConfig, DateConfig, DateTimeConfig, TimeConfig, CheckboxConfig, SwitchConfig, DaterangeConfig, ColorPickConfig, CheckboxGroupConfig, RadioGroupConfig, DisplayConfig, LinkConfig, SelectConfig, SelectOption, SelectGroupOption, CascaderConfig, DynamicFieldConfig } from '@tmagic/form-schema';
|
|
5
4
|
export * from '@tmagic/form-schema';
|
|
6
|
-
import * as
|
|
7
|
-
import * as _tmagic_design from '@tmagic/design';
|
|
8
|
-
import { TMagicButton, TMagicCol, TMagicDialog, TMagicRow, TMagicDrawer, TMagicScrollbar, TMagicCard, TMagicPagination, TMagicTable, TMagicTableColumn, TMagicTooltip, TMagicUpload } from '@tmagic/design';
|
|
5
|
+
import * as _vue_runtime_core from '@vue/runtime-core';
|
|
9
6
|
import * as _vue_reactivity from '@vue/reactivity';
|
|
10
|
-
import
|
|
7
|
+
import * as _tmagic_editor from '@tmagic/editor';
|
|
11
8
|
|
|
12
9
|
interface ValidateError {
|
|
13
10
|
message: string;
|
|
@@ -24,7 +21,7 @@ interface ContainerChangeEventData {
|
|
|
24
21
|
|
|
25
22
|
declare const createValues: (mForm: FormState | undefined, config?: FormConfig | TabPaneConfig[], initValue?: FormValue, value?: FormValue) => FormValue;
|
|
26
23
|
declare const filterFunction: <T = any>(mForm: FormState | undefined, config: T | FilterFunction<T> | undefined, props: any) => T | undefined;
|
|
27
|
-
declare const display
|
|
24
|
+
declare const display: (mForm: FormState | undefined, config: any, props: any) => any;
|
|
28
25
|
declare const getRules: (mForm: FormState | undefined, rules: (Rule[] | Rule) | undefined, props: any) => Rule[];
|
|
29
26
|
declare const initValue: (mForm: FormState | undefined, { initValues, config }: {
|
|
30
27
|
initValues: FormValue;
|
|
@@ -56,22 +53,22 @@ type __VLS_Props$u = {
|
|
|
56
53
|
preventSubmitDefault?: boolean;
|
|
57
54
|
extendState?: (_state: FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
58
55
|
};
|
|
59
|
-
declare const _default$v:
|
|
60
|
-
values:
|
|
61
|
-
lastValuesProcessed:
|
|
56
|
+
declare const _default$v: _vue_runtime_core.DefineComponent<__VLS_Props$u, {
|
|
57
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
58
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
62
59
|
formState: FormState;
|
|
63
|
-
initialized:
|
|
64
|
-
changeRecords:
|
|
60
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
61
|
+
changeRecords: _vue_reactivity.ShallowRef<ChangeRecord[], ChangeRecord[]>;
|
|
65
62
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
66
63
|
resetForm: () => void;
|
|
67
64
|
submitForm: (native?: boolean) => Promise<any>;
|
|
68
|
-
}, {}, {}, {},
|
|
65
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
69
66
|
change: (...args: any[]) => void;
|
|
70
67
|
error: (...args: any[]) => void;
|
|
71
68
|
"update:stepActive": (...args: any[]) => void;
|
|
72
69
|
"field-change": (...args: any[]) => void;
|
|
73
70
|
"field-input": (...args: any[]) => void;
|
|
74
|
-
}, string,
|
|
71
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$u> & Readonly<{
|
|
75
72
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
76
73
|
onError?: ((...args: any[]) => any) | undefined;
|
|
77
74
|
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
@@ -90,7 +87,7 @@ declare const _default$v: vue.DefineComponent<__VLS_Props$u, {
|
|
|
90
87
|
keyProp: string;
|
|
91
88
|
parentValues: Record<string, any>;
|
|
92
89
|
stepActive: string | number;
|
|
93
|
-
}, {}, {}, {}, string,
|
|
90
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
94
91
|
|
|
95
92
|
type __VLS_Props$t = {
|
|
96
93
|
config?: FormConfig;
|
|
@@ -108,272 +105,18 @@ type __VLS_Props$t = {
|
|
|
108
105
|
confirmText?: string;
|
|
109
106
|
preventSubmitDefault?: boolean;
|
|
110
107
|
};
|
|
111
|
-
declare
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
parentValues?: Record<string, any>;
|
|
117
|
-
labelWidth?: string;
|
|
118
|
-
disabled?: boolean;
|
|
119
|
-
height?: string;
|
|
120
|
-
stepActive?: string | number;
|
|
121
|
-
size?: "small" | "default" | "large";
|
|
122
|
-
inline?: boolean;
|
|
123
|
-
labelPosition?: string;
|
|
124
|
-
keyProp?: string;
|
|
125
|
-
popperClass?: string;
|
|
126
|
-
preventSubmitDefault?: boolean;
|
|
127
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
128
|
-
}> & Readonly<{
|
|
129
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
130
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
131
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
132
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
133
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
134
|
-
}>, {
|
|
135
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
136
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
137
|
-
formState: _tmagic_form_schema.FormState;
|
|
138
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
139
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
140
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
141
|
-
resetForm: () => void;
|
|
142
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
143
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
144
|
-
change: (...args: any[]) => void;
|
|
145
|
-
error: (...args: any[]) => void;
|
|
146
|
-
"update:stepActive": (...args: any[]) => void;
|
|
147
|
-
"field-change": (...args: any[]) => void;
|
|
148
|
-
"field-input": (...args: any[]) => void;
|
|
149
|
-
}, vue.PublicProps, {
|
|
150
|
-
disabled: boolean;
|
|
151
|
-
labelWidth: string;
|
|
152
|
-
inline: boolean;
|
|
153
|
-
labelPosition: string;
|
|
154
|
-
config: FormConfig;
|
|
155
|
-
height: string;
|
|
156
|
-
initValues: Record<string, any>;
|
|
157
|
-
lastValues: Record<string, any>;
|
|
158
|
-
isCompare: boolean;
|
|
159
|
-
keyProp: string;
|
|
160
|
-
parentValues: Record<string, any>;
|
|
161
|
-
stepActive: string | number;
|
|
162
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
163
|
-
P: {};
|
|
164
|
-
B: {};
|
|
165
|
-
D: {};
|
|
166
|
-
C: {};
|
|
167
|
-
M: {};
|
|
168
|
-
Defaults: {};
|
|
169
|
-
}, Readonly<{
|
|
170
|
-
config: FormConfig;
|
|
171
|
-
initValues: Record<string, any>;
|
|
172
|
-
lastValues?: Record<string, any>;
|
|
173
|
-
isCompare?: boolean;
|
|
174
|
-
parentValues?: Record<string, any>;
|
|
175
|
-
labelWidth?: string;
|
|
176
|
-
disabled?: boolean;
|
|
177
|
-
height?: string;
|
|
178
|
-
stepActive?: string | number;
|
|
179
|
-
size?: "small" | "default" | "large";
|
|
180
|
-
inline?: boolean;
|
|
181
|
-
labelPosition?: string;
|
|
182
|
-
keyProp?: string;
|
|
183
|
-
popperClass?: string;
|
|
184
|
-
preventSubmitDefault?: boolean;
|
|
185
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
186
|
-
}> & Readonly<{
|
|
187
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
188
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
189
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
190
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
192
|
-
}>, {
|
|
193
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
194
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
195
|
-
formState: _tmagic_form_schema.FormState;
|
|
196
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
197
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
198
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
199
|
-
resetForm: () => void;
|
|
200
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
201
|
-
}, {}, {}, {}, {
|
|
202
|
-
disabled: boolean;
|
|
203
|
-
labelWidth: string;
|
|
204
|
-
inline: boolean;
|
|
205
|
-
labelPosition: string;
|
|
206
|
-
config: FormConfig;
|
|
207
|
-
height: string;
|
|
208
|
-
initValues: Record<string, any>;
|
|
209
|
-
lastValues: Record<string, any>;
|
|
210
|
-
isCompare: boolean;
|
|
211
|
-
keyProp: string;
|
|
212
|
-
parentValues: Record<string, any>;
|
|
213
|
-
stepActive: string | number;
|
|
214
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
215
|
-
config: FormConfig;
|
|
216
|
-
initValues: Record<string, any>;
|
|
217
|
-
lastValues?: Record<string, any>;
|
|
218
|
-
isCompare?: boolean;
|
|
219
|
-
parentValues?: Record<string, any>;
|
|
220
|
-
labelWidth?: string;
|
|
221
|
-
disabled?: boolean;
|
|
222
|
-
height?: string;
|
|
223
|
-
stepActive?: string | number;
|
|
224
|
-
size?: "small" | "default" | "large";
|
|
225
|
-
inline?: boolean;
|
|
226
|
-
labelPosition?: string;
|
|
227
|
-
keyProp?: string;
|
|
228
|
-
popperClass?: string;
|
|
229
|
-
preventSubmitDefault?: boolean;
|
|
230
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
231
|
-
}> & Readonly<{
|
|
232
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
233
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
234
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
235
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
236
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
237
|
-
}>, {
|
|
238
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
239
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
240
|
-
formState: _tmagic_form_schema.FormState;
|
|
241
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
242
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
243
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
244
|
-
resetForm: () => void;
|
|
245
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
246
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
247
|
-
change: (...args: any[]) => void;
|
|
248
|
-
error: (...args: any[]) => void;
|
|
249
|
-
"update:stepActive": (...args: any[]) => void;
|
|
250
|
-
"field-change": (...args: any[]) => void;
|
|
251
|
-
"field-input": (...args: any[]) => void;
|
|
252
|
-
}, vue.PublicProps, {
|
|
253
|
-
disabled: boolean;
|
|
254
|
-
labelWidth: string;
|
|
255
|
-
inline: boolean;
|
|
256
|
-
labelPosition: string;
|
|
257
|
-
config: FormConfig;
|
|
258
|
-
height: string;
|
|
259
|
-
initValues: Record<string, any>;
|
|
260
|
-
lastValues: Record<string, any>;
|
|
261
|
-
isCompare: boolean;
|
|
262
|
-
keyProp: string;
|
|
263
|
-
parentValues: Record<string, any>;
|
|
264
|
-
stepActive: string | number;
|
|
265
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
266
|
-
P: {};
|
|
267
|
-
B: {};
|
|
268
|
-
D: {};
|
|
269
|
-
C: {};
|
|
270
|
-
M: {};
|
|
271
|
-
Defaults: {};
|
|
272
|
-
}, Readonly<{
|
|
273
|
-
config: FormConfig;
|
|
274
|
-
initValues: Record<string, any>;
|
|
275
|
-
lastValues?: Record<string, any>;
|
|
276
|
-
isCompare?: boolean;
|
|
277
|
-
parentValues?: Record<string, any>;
|
|
278
|
-
labelWidth?: string;
|
|
279
|
-
disabled?: boolean;
|
|
280
|
-
height?: string;
|
|
281
|
-
stepActive?: string | number;
|
|
282
|
-
size?: "small" | "default" | "large";
|
|
283
|
-
inline?: boolean;
|
|
284
|
-
labelPosition?: string;
|
|
285
|
-
keyProp?: string;
|
|
286
|
-
popperClass?: string;
|
|
287
|
-
preventSubmitDefault?: boolean;
|
|
288
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
289
|
-
}> & Readonly<{
|
|
290
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
291
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
292
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
293
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
294
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
295
|
-
}>, {
|
|
296
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
297
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
298
|
-
formState: _tmagic_form_schema.FormState;
|
|
299
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
300
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
301
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
302
|
-
resetForm: () => void;
|
|
303
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
304
|
-
}, {}, {}, {}, {
|
|
305
|
-
disabled: boolean;
|
|
306
|
-
labelWidth: string;
|
|
307
|
-
inline: boolean;
|
|
308
|
-
labelPosition: string;
|
|
309
|
-
config: FormConfig;
|
|
310
|
-
height: string;
|
|
311
|
-
initValues: Record<string, any>;
|
|
312
|
-
lastValues: Record<string, any>;
|
|
313
|
-
isCompare: boolean;
|
|
314
|
-
keyProp: string;
|
|
315
|
-
parentValues: Record<string, any>;
|
|
316
|
-
stepActive: string | number;
|
|
317
|
-
}> | undefined>;
|
|
318
|
-
declare const dialogVisible: vue.Ref<boolean, boolean>;
|
|
319
|
-
declare const saveFetch$2: vue.Ref<boolean, boolean>;
|
|
320
|
-
declare const stepActive: vue.Ref<number, number>;
|
|
321
|
-
declare const bodyHeight$1: vue.Ref<string, string>;
|
|
322
|
-
declare const stepCount: vue.ComputedRef<number>;
|
|
323
|
-
declare const hasStep: vue.ComputedRef<boolean>;
|
|
324
|
-
declare const closeHandler$1: () => void;
|
|
325
|
-
declare const save: () => Promise<void>;
|
|
326
|
-
declare const preStep: () => void;
|
|
327
|
-
declare const nextStep: () => void;
|
|
328
|
-
declare const changeHandler$4: (value: FormValue, eventData: ContainerChangeEventData) => void;
|
|
329
|
-
declare const cancel: () => void;
|
|
330
|
-
declare const __VLS_ctx$4: InstanceType<__VLS_PickNotAny<typeof __VLS_self$4, new () => {}>>;
|
|
331
|
-
declare var __VLS_19: {};
|
|
332
|
-
declare var __VLS_29: {};
|
|
333
|
-
declare var __VLS_35: {};
|
|
334
|
-
type __VLS_Slots$4 = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx$4.$slots> & {
|
|
335
|
-
default?: (props: typeof __VLS_19) => any;
|
|
108
|
+
declare var __VLS_19$1: {};
|
|
109
|
+
declare var __VLS_32: {};
|
|
110
|
+
declare var __VLS_39: {};
|
|
111
|
+
type __VLS_Slots$4 = {} & {
|
|
112
|
+
default?: (props: typeof __VLS_19$1) => any;
|
|
336
113
|
} & {
|
|
337
|
-
left?: (props: typeof
|
|
114
|
+
left?: (props: typeof __VLS_32) => any;
|
|
338
115
|
} & {
|
|
339
|
-
footer?: (props: typeof
|
|
340
|
-
}
|
|
341
|
-
declare const
|
|
342
|
-
|
|
343
|
-
TMagicCol: typeof TMagicCol;
|
|
344
|
-
TMagicDialog: typeof TMagicDialog;
|
|
345
|
-
TMagicRow: typeof TMagicRow;
|
|
346
|
-
Form: typeof _default$v;
|
|
347
|
-
form: typeof form$2;
|
|
348
|
-
dialogVisible: typeof dialogVisible;
|
|
349
|
-
saveFetch: typeof saveFetch$2;
|
|
350
|
-
stepActive: typeof stepActive;
|
|
351
|
-
bodyHeight: typeof bodyHeight$1;
|
|
352
|
-
stepCount: typeof stepCount;
|
|
353
|
-
hasStep: typeof hasStep;
|
|
354
|
-
closeHandler: typeof closeHandler$1;
|
|
355
|
-
save: typeof save;
|
|
356
|
-
preStep: typeof preStep;
|
|
357
|
-
nextStep: typeof nextStep;
|
|
358
|
-
changeHandler: typeof changeHandler$4;
|
|
359
|
-
cancel: typeof cancel;
|
|
360
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
361
|
-
change: (...args: any[]) => void;
|
|
362
|
-
close: (...args: any[]) => void;
|
|
363
|
-
error: (...args: any[]) => void;
|
|
364
|
-
submit: (...args: any[]) => void;
|
|
365
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
366
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
367
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
368
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
369
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
370
|
-
}>, {
|
|
371
|
-
values: Object;
|
|
372
|
-
config: FormConfig;
|
|
373
|
-
confirmText: string;
|
|
374
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
375
|
-
declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
376
|
-
form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
116
|
+
footer?: (props: typeof __VLS_39) => any;
|
|
117
|
+
};
|
|
118
|
+
declare const __VLS_component$4: _vue_runtime_core.DefineComponent<__VLS_Props$t, {
|
|
119
|
+
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
377
120
|
config: FormConfig;
|
|
378
121
|
initValues: Record<string, any>;
|
|
379
122
|
lastValues?: Record<string, any>;
|
|
@@ -397,21 +140,21 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
397
140
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
398
141
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
399
142
|
}>, {
|
|
400
|
-
values:
|
|
401
|
-
lastValuesProcessed:
|
|
143
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
144
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
402
145
|
formState: _tmagic_form_schema.FormState;
|
|
403
|
-
initialized:
|
|
404
|
-
changeRecords:
|
|
146
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
147
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
405
148
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
406
149
|
resetForm: () => void;
|
|
407
150
|
submitForm: (native?: boolean) => Promise<any>;
|
|
408
|
-
}, {}, {}, {},
|
|
151
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
409
152
|
change: (...args: any[]) => void;
|
|
410
153
|
error: (...args: any[]) => void;
|
|
411
154
|
"update:stepActive": (...args: any[]) => void;
|
|
412
155
|
"field-change": (...args: any[]) => void;
|
|
413
156
|
"field-input": (...args: any[]) => void;
|
|
414
|
-
},
|
|
157
|
+
}, _vue_runtime_core.PublicProps, {
|
|
415
158
|
disabled: boolean;
|
|
416
159
|
labelWidth: string;
|
|
417
160
|
inline: boolean;
|
|
@@ -424,7 +167,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
424
167
|
keyProp: string;
|
|
425
168
|
parentValues: Record<string, any>;
|
|
426
169
|
stepActive: string | number;
|
|
427
|
-
}, false, {}, {},
|
|
170
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
428
171
|
P: {};
|
|
429
172
|
B: {};
|
|
430
173
|
D: {};
|
|
@@ -455,11 +198,11 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
455
198
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
456
199
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
457
200
|
}>, {
|
|
458
|
-
values:
|
|
459
|
-
lastValuesProcessed:
|
|
201
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
202
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
460
203
|
formState: _tmagic_form_schema.FormState;
|
|
461
|
-
initialized:
|
|
462
|
-
changeRecords:
|
|
204
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
205
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
463
206
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
464
207
|
resetForm: () => void;
|
|
465
208
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -476,7 +219,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
476
219
|
keyProp: string;
|
|
477
220
|
parentValues: Record<string, any>;
|
|
478
221
|
stepActive: string | number;
|
|
479
|
-
}> | undefined,
|
|
222
|
+
}> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
480
223
|
config: FormConfig;
|
|
481
224
|
initValues: Record<string, any>;
|
|
482
225
|
lastValues?: Record<string, any>;
|
|
@@ -500,21 +243,21 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
500
243
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
501
244
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
502
245
|
}>, {
|
|
503
|
-
values:
|
|
504
|
-
lastValuesProcessed:
|
|
246
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
247
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
505
248
|
formState: _tmagic_form_schema.FormState;
|
|
506
|
-
initialized:
|
|
507
|
-
changeRecords:
|
|
249
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
250
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
508
251
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
509
252
|
resetForm: () => void;
|
|
510
253
|
submitForm: (native?: boolean) => Promise<any>;
|
|
511
|
-
}, {}, {}, {},
|
|
254
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
512
255
|
change: (...args: any[]) => void;
|
|
513
256
|
error: (...args: any[]) => void;
|
|
514
257
|
"update:stepActive": (...args: any[]) => void;
|
|
515
258
|
"field-change": (...args: any[]) => void;
|
|
516
259
|
"field-input": (...args: any[]) => void;
|
|
517
|
-
},
|
|
260
|
+
}, _vue_runtime_core.PublicProps, {
|
|
518
261
|
disabled: boolean;
|
|
519
262
|
labelWidth: string;
|
|
520
263
|
inline: boolean;
|
|
@@ -527,7 +270,7 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
527
270
|
keyProp: string;
|
|
528
271
|
parentValues: Record<string, any>;
|
|
529
272
|
stepActive: string | number;
|
|
530
|
-
}, false, {}, {},
|
|
273
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
531
274
|
P: {};
|
|
532
275
|
B: {};
|
|
533
276
|
D: {};
|
|
@@ -558,11 +301,11 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
558
301
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
559
302
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
560
303
|
}>, {
|
|
561
|
-
values:
|
|
562
|
-
lastValuesProcessed:
|
|
304
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
305
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
563
306
|
formState: _tmagic_form_schema.FormState;
|
|
564
|
-
initialized:
|
|
565
|
-
changeRecords:
|
|
307
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
308
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
566
309
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
567
310
|
resetForm: () => void;
|
|
568
311
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -580,487 +323,65 @@ declare const __VLS_component$4: vue.DefineComponent<__VLS_Props$t, {
|
|
|
580
323
|
parentValues: Record<string, any>;
|
|
581
324
|
stepActive: string | number;
|
|
582
325
|
}> | undefined>;
|
|
583
|
-
saveFetch:
|
|
584
|
-
dialogVisible:
|
|
585
|
-
cancel: () => void;
|
|
586
|
-
save: () => Promise<void>;
|
|
587
|
-
show: () => void;
|
|
588
|
-
hide: () => void;
|
|
589
|
-
}, {}, {}, {},
|
|
590
|
-
change: (...args: any[]) => void;
|
|
591
|
-
close: (...args: any[]) => void;
|
|
592
|
-
error: (...args: any[]) => void;
|
|
593
|
-
submit: (...args: any[]) => void;
|
|
594
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
595
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
596
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
597
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
598
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
599
|
-
}>, {
|
|
600
|
-
values: Object;
|
|
601
|
-
config: FormConfig;
|
|
602
|
-
confirmText: string;
|
|
603
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
604
|
-
declare const _default$u: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
|
|
605
|
-
|
|
606
|
-
type __VLS_WithSlots$4<T, S> = T & {
|
|
607
|
-
new (): {
|
|
608
|
-
$slots: S;
|
|
609
|
-
};
|
|
610
|
-
};
|
|
611
|
-
|
|
612
|
-
type __VLS_Props$s = {
|
|
613
|
-
config?: FormConfig;
|
|
614
|
-
values?: Object;
|
|
615
|
-
parentValues?: Object;
|
|
616
|
-
width?: string | number;
|
|
617
|
-
labelWidth?: string;
|
|
618
|
-
disabled?: boolean;
|
|
619
|
-
closeOnPressEscape?: boolean;
|
|
620
|
-
title?: string;
|
|
621
|
-
zIndex?: number;
|
|
622
|
-
size?: 'small' | 'default' | 'large';
|
|
623
|
-
confirmText?: string;
|
|
624
|
-
inline?: boolean;
|
|
625
|
-
labelPosition?: string;
|
|
626
|
-
preventSubmitDefault?: boolean;
|
|
627
|
-
/** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
628
|
-
beforeClose?: (_done: (_cancel?: boolean) => void) => void;
|
|
629
|
-
};
|
|
630
|
-
declare const drawer: vue.Ref<({
|
|
631
|
-
$: vue.ComponentInternalInstance;
|
|
632
|
-
$data: {};
|
|
633
|
-
$props: {
|
|
634
|
-
readonly modelValue?: boolean | undefined;
|
|
635
|
-
readonly appendToBody?: boolean | undefined;
|
|
636
|
-
readonly beforeClose?: any;
|
|
637
|
-
readonly title?: string | undefined;
|
|
638
|
-
readonly size?: string | number | undefined;
|
|
639
|
-
readonly fullscreen?: boolean | undefined;
|
|
640
|
-
readonly closeOnClickModal?: boolean | undefined;
|
|
641
|
-
readonly closeOnPressEscape?: boolean | undefined;
|
|
642
|
-
readonly direction?: "rtl" | "ltr" | "ttb" | "bt" | undefined;
|
|
643
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
644
|
-
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
645
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
646
|
-
readonly onOpened?: ((...args: any[]) => any) | undefined;
|
|
647
|
-
readonly onClosed?: ((...args: any[]) => any) | undefined;
|
|
648
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
649
|
-
$attrs: {
|
|
650
|
-
[x: string]: unknown;
|
|
651
|
-
};
|
|
652
|
-
$refs: {
|
|
653
|
-
[x: string]: unknown;
|
|
654
|
-
};
|
|
655
|
-
$slots: Readonly<{
|
|
656
|
-
[name: string]: vue.Slot<any> | undefined;
|
|
657
|
-
}>;
|
|
658
|
-
$root: vue.ComponentPublicInstance | null;
|
|
659
|
-
$parent: vue.ComponentPublicInstance | null;
|
|
660
|
-
$host: Element | null;
|
|
661
|
-
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "opened", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void);
|
|
662
|
-
$el: any;
|
|
663
|
-
$options: vue.ComponentOptionsBase<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
664
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
665
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
666
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
667
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
668
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
669
|
-
}>, {
|
|
670
|
-
handleClose: () => any;
|
|
671
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
672
|
-
"update:modelValue": (...args: any[]) => void;
|
|
673
|
-
close: (...args: any[]) => void;
|
|
674
|
-
open: (...args: any[]) => void;
|
|
675
|
-
opened: (...args: any[]) => void;
|
|
676
|
-
closed: (...args: any[]) => void;
|
|
677
|
-
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
678
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
679
|
-
created?: (() => void) | (() => void)[];
|
|
680
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
681
|
-
mounted?: (() => void) | (() => void)[];
|
|
682
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
683
|
-
updated?: (() => void) | (() => void)[];
|
|
684
|
-
activated?: (() => void) | (() => void)[];
|
|
685
|
-
deactivated?: (() => void) | (() => void)[];
|
|
686
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
687
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
688
|
-
destroyed?: (() => void) | (() => void)[];
|
|
689
|
-
unmounted?: (() => void) | (() => void)[];
|
|
690
|
-
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
691
|
-
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
692
|
-
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
693
|
-
};
|
|
694
|
-
$forceUpdate: () => void;
|
|
695
|
-
$nextTick: typeof vue.nextTick;
|
|
696
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
|
|
697
|
-
} & Readonly<{}> & Omit<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
698
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
699
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
700
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
701
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
702
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
703
|
-
}>, "handleClose"> & vue.ShallowUnwrapRef<{
|
|
704
|
-
handleClose: () => any;
|
|
705
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
706
|
-
$slots: {
|
|
707
|
-
default?: ((props: {}) => any) | undefined;
|
|
708
|
-
header?: ((props: {}) => any) | undefined;
|
|
709
|
-
footer?: ((props: {}) => any) | undefined;
|
|
710
|
-
};
|
|
711
|
-
}) | undefined, ({
|
|
712
|
-
$: vue.ComponentInternalInstance;
|
|
713
|
-
$data: {};
|
|
714
|
-
$props: {
|
|
715
|
-
readonly modelValue?: boolean | undefined;
|
|
716
|
-
readonly appendToBody?: boolean | undefined;
|
|
717
|
-
readonly beforeClose?: any;
|
|
718
|
-
readonly title?: string | undefined;
|
|
719
|
-
readonly size?: string | number | undefined;
|
|
720
|
-
readonly fullscreen?: boolean | undefined;
|
|
721
|
-
readonly closeOnClickModal?: boolean | undefined;
|
|
722
|
-
readonly closeOnPressEscape?: boolean | undefined;
|
|
723
|
-
readonly direction?: "rtl" | "ltr" | "ttb" | "bt" | undefined;
|
|
724
|
-
readonly "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
725
|
-
readonly onClose?: ((...args: any[]) => any) | undefined;
|
|
726
|
-
readonly onOpen?: ((...args: any[]) => any) | undefined;
|
|
727
|
-
readonly onOpened?: ((...args: any[]) => any) | undefined;
|
|
728
|
-
readonly onClosed?: ((...args: any[]) => any) | undefined;
|
|
729
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
730
|
-
$attrs: {
|
|
731
|
-
[x: string]: unknown;
|
|
732
|
-
};
|
|
733
|
-
$refs: {
|
|
734
|
-
[x: string]: unknown;
|
|
735
|
-
};
|
|
736
|
-
$slots: Readonly<{
|
|
737
|
-
[name: string]: vue.Slot<any> | undefined;
|
|
738
|
-
}>;
|
|
739
|
-
$root: vue.ComponentPublicInstance | null;
|
|
740
|
-
$parent: vue.ComponentPublicInstance | null;
|
|
741
|
-
$host: Element | null;
|
|
742
|
-
$emit: ((event: "update:modelValue", ...args: any[]) => void) & ((event: "close", ...args: any[]) => void) & ((event: "open", ...args: any[]) => void) & ((event: "opened", ...args: any[]) => void) & ((event: "closed", ...args: any[]) => void);
|
|
743
|
-
$el: any;
|
|
744
|
-
$options: vue.ComponentOptionsBase<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
745
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
746
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
747
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
748
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
749
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
750
|
-
}>, {
|
|
751
|
-
handleClose: () => any;
|
|
752
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
753
|
-
"update:modelValue": (...args: any[]) => void;
|
|
754
|
-
close: (...args: any[]) => void;
|
|
755
|
-
open: (...args: any[]) => void;
|
|
756
|
-
opened: (...args: any[]) => void;
|
|
757
|
-
closed: (...args: any[]) => void;
|
|
758
|
-
}, string, {}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
759
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
760
|
-
created?: (() => void) | (() => void)[];
|
|
761
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
762
|
-
mounted?: (() => void) | (() => void)[];
|
|
763
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
764
|
-
updated?: (() => void) | (() => void)[];
|
|
765
|
-
activated?: (() => void) | (() => void)[];
|
|
766
|
-
deactivated?: (() => void) | (() => void)[];
|
|
767
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
768
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
769
|
-
destroyed?: (() => void) | (() => void)[];
|
|
770
|
-
unmounted?: (() => void) | (() => void)[];
|
|
771
|
-
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
772
|
-
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
773
|
-
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
774
|
-
};
|
|
775
|
-
$forceUpdate: () => void;
|
|
776
|
-
$nextTick: typeof vue.nextTick;
|
|
777
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
|
|
778
|
-
} & Readonly<{}> & Omit<Readonly<_tmagic_design.DrawerProps> & Readonly<{
|
|
779
|
-
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
780
|
-
onClose?: ((...args: any[]) => any) | undefined;
|
|
781
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
782
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
783
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
784
|
-
}>, "handleClose"> & vue.ShallowUnwrapRef<{
|
|
785
|
-
handleClose: () => any;
|
|
786
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
787
|
-
$slots: {
|
|
788
|
-
default?: ((props: {}) => any) | undefined;
|
|
789
|
-
header?: ((props: {}) => any) | undefined;
|
|
790
|
-
footer?: ((props: {}) => any) | undefined;
|
|
791
|
-
};
|
|
792
|
-
}) | undefined>;
|
|
793
|
-
declare const form$1: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
794
|
-
config: FormConfig;
|
|
795
|
-
initValues: Record<string, any>;
|
|
796
|
-
lastValues?: Record<string, any>;
|
|
797
|
-
isCompare?: boolean;
|
|
798
|
-
parentValues?: Record<string, any>;
|
|
799
|
-
labelWidth?: string;
|
|
800
|
-
disabled?: boolean;
|
|
801
|
-
height?: string;
|
|
802
|
-
stepActive?: string | number;
|
|
803
|
-
size?: "small" | "default" | "large";
|
|
804
|
-
inline?: boolean;
|
|
805
|
-
labelPosition?: string;
|
|
806
|
-
keyProp?: string;
|
|
807
|
-
popperClass?: string;
|
|
808
|
-
preventSubmitDefault?: boolean;
|
|
809
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
810
|
-
}> & Readonly<{
|
|
811
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
812
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
813
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
814
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
815
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
816
|
-
}>, {
|
|
817
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
818
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
819
|
-
formState: _tmagic_form_schema.FormState;
|
|
820
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
821
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
822
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
823
|
-
resetForm: () => void;
|
|
824
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
825
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
826
|
-
change: (...args: any[]) => void;
|
|
827
|
-
error: (...args: any[]) => void;
|
|
828
|
-
"update:stepActive": (...args: any[]) => void;
|
|
829
|
-
"field-change": (...args: any[]) => void;
|
|
830
|
-
"field-input": (...args: any[]) => void;
|
|
831
|
-
}, vue.PublicProps, {
|
|
832
|
-
disabled: boolean;
|
|
833
|
-
labelWidth: string;
|
|
834
|
-
inline: boolean;
|
|
835
|
-
labelPosition: string;
|
|
836
|
-
config: FormConfig;
|
|
837
|
-
height: string;
|
|
838
|
-
initValues: Record<string, any>;
|
|
839
|
-
lastValues: Record<string, any>;
|
|
840
|
-
isCompare: boolean;
|
|
841
|
-
keyProp: string;
|
|
842
|
-
parentValues: Record<string, any>;
|
|
843
|
-
stepActive: string | number;
|
|
844
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
845
|
-
P: {};
|
|
846
|
-
B: {};
|
|
847
|
-
D: {};
|
|
848
|
-
C: {};
|
|
849
|
-
M: {};
|
|
850
|
-
Defaults: {};
|
|
851
|
-
}, Readonly<{
|
|
852
|
-
config: FormConfig;
|
|
853
|
-
initValues: Record<string, any>;
|
|
854
|
-
lastValues?: Record<string, any>;
|
|
855
|
-
isCompare?: boolean;
|
|
856
|
-
parentValues?: Record<string, any>;
|
|
857
|
-
labelWidth?: string;
|
|
858
|
-
disabled?: boolean;
|
|
859
|
-
height?: string;
|
|
860
|
-
stepActive?: string | number;
|
|
861
|
-
size?: "small" | "default" | "large";
|
|
862
|
-
inline?: boolean;
|
|
863
|
-
labelPosition?: string;
|
|
864
|
-
keyProp?: string;
|
|
865
|
-
popperClass?: string;
|
|
866
|
-
preventSubmitDefault?: boolean;
|
|
867
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
868
|
-
}> & Readonly<{
|
|
869
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
870
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
871
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
872
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
873
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
874
|
-
}>, {
|
|
875
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
876
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
877
|
-
formState: _tmagic_form_schema.FormState;
|
|
878
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
879
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
880
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
881
|
-
resetForm: () => void;
|
|
882
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
883
|
-
}, {}, {}, {}, {
|
|
884
|
-
disabled: boolean;
|
|
885
|
-
labelWidth: string;
|
|
886
|
-
inline: boolean;
|
|
887
|
-
labelPosition: string;
|
|
888
|
-
config: FormConfig;
|
|
889
|
-
height: string;
|
|
890
|
-
initValues: Record<string, any>;
|
|
891
|
-
lastValues: Record<string, any>;
|
|
892
|
-
isCompare: boolean;
|
|
893
|
-
keyProp: string;
|
|
894
|
-
parentValues: Record<string, any>;
|
|
895
|
-
stepActive: string | number;
|
|
896
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
897
|
-
config: FormConfig;
|
|
898
|
-
initValues: Record<string, any>;
|
|
899
|
-
lastValues?: Record<string, any>;
|
|
900
|
-
isCompare?: boolean;
|
|
901
|
-
parentValues?: Record<string, any>;
|
|
902
|
-
labelWidth?: string;
|
|
903
|
-
disabled?: boolean;
|
|
904
|
-
height?: string;
|
|
905
|
-
stepActive?: string | number;
|
|
906
|
-
size?: "small" | "default" | "large";
|
|
907
|
-
inline?: boolean;
|
|
908
|
-
labelPosition?: string;
|
|
909
|
-
keyProp?: string;
|
|
910
|
-
popperClass?: string;
|
|
911
|
-
preventSubmitDefault?: boolean;
|
|
912
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
913
|
-
}> & Readonly<{
|
|
914
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
915
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
916
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
917
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
918
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
919
|
-
}>, {
|
|
920
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
921
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
922
|
-
formState: _tmagic_form_schema.FormState;
|
|
923
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
924
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
925
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
926
|
-
resetForm: () => void;
|
|
927
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
928
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
929
|
-
change: (...args: any[]) => void;
|
|
930
|
-
error: (...args: any[]) => void;
|
|
931
|
-
"update:stepActive": (...args: any[]) => void;
|
|
932
|
-
"field-change": (...args: any[]) => void;
|
|
933
|
-
"field-input": (...args: any[]) => void;
|
|
934
|
-
}, vue.PublicProps, {
|
|
935
|
-
disabled: boolean;
|
|
936
|
-
labelWidth: string;
|
|
937
|
-
inline: boolean;
|
|
938
|
-
labelPosition: string;
|
|
939
|
-
config: FormConfig;
|
|
940
|
-
height: string;
|
|
941
|
-
initValues: Record<string, any>;
|
|
942
|
-
lastValues: Record<string, any>;
|
|
943
|
-
isCompare: boolean;
|
|
944
|
-
keyProp: string;
|
|
945
|
-
parentValues: Record<string, any>;
|
|
946
|
-
stepActive: string | number;
|
|
947
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
948
|
-
P: {};
|
|
949
|
-
B: {};
|
|
950
|
-
D: {};
|
|
951
|
-
C: {};
|
|
952
|
-
M: {};
|
|
953
|
-
Defaults: {};
|
|
954
|
-
}, Readonly<{
|
|
955
|
-
config: FormConfig;
|
|
956
|
-
initValues: Record<string, any>;
|
|
957
|
-
lastValues?: Record<string, any>;
|
|
958
|
-
isCompare?: boolean;
|
|
959
|
-
parentValues?: Record<string, any>;
|
|
960
|
-
labelWidth?: string;
|
|
961
|
-
disabled?: boolean;
|
|
962
|
-
height?: string;
|
|
963
|
-
stepActive?: string | number;
|
|
964
|
-
size?: "small" | "default" | "large";
|
|
965
|
-
inline?: boolean;
|
|
966
|
-
labelPosition?: string;
|
|
967
|
-
keyProp?: string;
|
|
968
|
-
popperClass?: string;
|
|
969
|
-
preventSubmitDefault?: boolean;
|
|
970
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
971
|
-
}> & Readonly<{
|
|
972
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
973
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
974
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
975
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
976
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
977
|
-
}>, {
|
|
978
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
979
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
980
|
-
formState: _tmagic_form_schema.FormState;
|
|
981
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
982
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
983
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
984
|
-
resetForm: () => void;
|
|
985
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
986
|
-
}, {}, {}, {}, {
|
|
987
|
-
disabled: boolean;
|
|
988
|
-
labelWidth: string;
|
|
989
|
-
inline: boolean;
|
|
990
|
-
labelPosition: string;
|
|
991
|
-
config: FormConfig;
|
|
992
|
-
height: string;
|
|
993
|
-
initValues: Record<string, any>;
|
|
994
|
-
lastValues: Record<string, any>;
|
|
995
|
-
isCompare: boolean;
|
|
996
|
-
keyProp: string;
|
|
997
|
-
parentValues: Record<string, any>;
|
|
998
|
-
stepActive: string | number;
|
|
999
|
-
}> | undefined>;
|
|
1000
|
-
declare const drawerBody: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
1001
|
-
declare const visible: vue.Ref<boolean, boolean>;
|
|
1002
|
-
declare const saveFetch$1: vue.Ref<boolean, boolean>;
|
|
1003
|
-
declare const submitHandler$1: () => Promise<void>;
|
|
1004
|
-
declare const changeHandler$3: (value: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1005
|
-
declare const openHandler: () => void;
|
|
1006
|
-
declare const openedHandler: () => void;
|
|
1007
|
-
declare const closeHandler: () => void;
|
|
1008
|
-
declare const closedHandler: () => void;
|
|
1009
|
-
/** 用于关闭 Drawer, 该方法会调用传入的 before-close 方法 */
|
|
1010
|
-
declare const handleClose: () => void;
|
|
1011
|
-
declare const __VLS_ctx$3: InstanceType<__VLS_PickNotAny<typeof __VLS_self$3, new () => {}>>;
|
|
1012
|
-
declare var __VLS_23: {};
|
|
1013
|
-
declare var __VLS_33: {};
|
|
1014
|
-
declare var __VLS_39: {};
|
|
1015
|
-
type __VLS_Slots$3 = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx$3.$slots> & {
|
|
1016
|
-
default?: (props: typeof __VLS_23) => any;
|
|
1017
|
-
} & {
|
|
1018
|
-
left?: (props: typeof __VLS_33) => any;
|
|
1019
|
-
} & {
|
|
1020
|
-
footer?: (props: typeof __VLS_39) => any;
|
|
1021
|
-
}>;
|
|
1022
|
-
declare const __VLS_self$3: vue.DefineComponent<__VLS_Props$s, {
|
|
1023
|
-
TMagicButton: typeof TMagicButton;
|
|
1024
|
-
TMagicCol: typeof TMagicCol;
|
|
1025
|
-
TMagicDrawer: typeof TMagicDrawer;
|
|
1026
|
-
TMagicRow: typeof TMagicRow;
|
|
1027
|
-
Form: typeof _default$v;
|
|
1028
|
-
drawer: typeof drawer;
|
|
1029
|
-
form: typeof form$1;
|
|
1030
|
-
drawerBody: typeof drawerBody;
|
|
1031
|
-
visible: typeof visible;
|
|
1032
|
-
saveFetch: typeof saveFetch$1;
|
|
1033
|
-
submitHandler: typeof submitHandler$1;
|
|
1034
|
-
changeHandler: typeof changeHandler$3;
|
|
1035
|
-
openHandler: typeof openHandler;
|
|
1036
|
-
openedHandler: typeof openedHandler;
|
|
1037
|
-
closeHandler: typeof closeHandler;
|
|
1038
|
-
closedHandler: typeof closedHandler;
|
|
1039
|
-
handleClose: typeof handleClose;
|
|
1040
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
326
|
+
saveFetch: _vue_reactivity.Ref<boolean, boolean>;
|
|
327
|
+
dialogVisible: _vue_reactivity.Ref<boolean, boolean>;
|
|
328
|
+
cancel: () => void;
|
|
329
|
+
save: () => Promise<void>;
|
|
330
|
+
show: () => void;
|
|
331
|
+
hide: () => void;
|
|
332
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1041
333
|
change: (...args: any[]) => void;
|
|
1042
334
|
close: (...args: any[]) => void;
|
|
1043
|
-
open: (...args: any[]) => void;
|
|
1044
|
-
opened: (...args: any[]) => void;
|
|
1045
|
-
closed: (...args: any[]) => void;
|
|
1046
335
|
error: (...args: any[]) => void;
|
|
1047
336
|
submit: (...args: any[]) => void;
|
|
1048
|
-
}, string,
|
|
337
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$t> & Readonly<{
|
|
1049
338
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1050
339
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
1051
|
-
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1052
|
-
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1053
|
-
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1054
340
|
onError?: ((...args: any[]) => any) | undefined;
|
|
1055
341
|
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1056
342
|
}>, {
|
|
1057
343
|
values: Object;
|
|
1058
|
-
closeOnPressEscape: boolean;
|
|
1059
344
|
config: FormConfig;
|
|
1060
345
|
confirmText: string;
|
|
1061
|
-
}, {}, {}, {}, string,
|
|
1062
|
-
declare const
|
|
1063
|
-
|
|
346
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
347
|
+
declare const _default$u: __VLS_WithSlots$4<typeof __VLS_component$4, __VLS_Slots$4>;
|
|
348
|
+
|
|
349
|
+
type __VLS_WithSlots$4<T, S> = T & {
|
|
350
|
+
new (): {
|
|
351
|
+
$slots: S;
|
|
352
|
+
};
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
type __VLS_Props$s = {
|
|
356
|
+
config?: FormConfig;
|
|
357
|
+
values?: Object;
|
|
358
|
+
parentValues?: Object;
|
|
359
|
+
width?: string | number;
|
|
360
|
+
labelWidth?: string;
|
|
361
|
+
disabled?: boolean;
|
|
362
|
+
closeOnPressEscape?: boolean;
|
|
363
|
+
title?: string;
|
|
364
|
+
zIndex?: number;
|
|
365
|
+
size?: 'small' | 'default' | 'large';
|
|
366
|
+
confirmText?: string;
|
|
367
|
+
inline?: boolean;
|
|
368
|
+
labelPosition?: string;
|
|
369
|
+
preventSubmitDefault?: boolean;
|
|
370
|
+
/** 关闭前的回调,会暂停 Drawer 的关闭; done 是个 function type 接受一个 boolean 参数, 执行 done 使用 true 参数或不提供参数将会终止关闭 */
|
|
371
|
+
beforeClose?: (_done: (_cancel?: boolean) => void) => void;
|
|
372
|
+
};
|
|
373
|
+
declare var __VLS_23: {};
|
|
374
|
+
declare var __VLS_36: {};
|
|
375
|
+
declare var __VLS_43: {};
|
|
376
|
+
type __VLS_Slots$3 = {} & {
|
|
377
|
+
default?: (props: typeof __VLS_23) => any;
|
|
378
|
+
} & {
|
|
379
|
+
left?: (props: typeof __VLS_36) => any;
|
|
380
|
+
} & {
|
|
381
|
+
footer?: (props: typeof __VLS_43) => any;
|
|
382
|
+
};
|
|
383
|
+
declare const __VLS_component$3: _vue_runtime_core.DefineComponent<__VLS_Props$s, {
|
|
384
|
+
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1064
385
|
config: FormConfig;
|
|
1065
386
|
initValues: Record<string, any>;
|
|
1066
387
|
lastValues?: Record<string, any>;
|
|
@@ -1084,21 +405,21 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1084
405
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1085
406
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1086
407
|
}>, {
|
|
1087
|
-
values:
|
|
1088
|
-
lastValuesProcessed:
|
|
408
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
409
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1089
410
|
formState: _tmagic_form_schema.FormState;
|
|
1090
|
-
initialized:
|
|
1091
|
-
changeRecords:
|
|
411
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
412
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1092
413
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1093
414
|
resetForm: () => void;
|
|
1094
415
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1095
|
-
}, {}, {}, {},
|
|
416
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1096
417
|
change: (...args: any[]) => void;
|
|
1097
418
|
error: (...args: any[]) => void;
|
|
1098
419
|
"update:stepActive": (...args: any[]) => void;
|
|
1099
420
|
"field-change": (...args: any[]) => void;
|
|
1100
421
|
"field-input": (...args: any[]) => void;
|
|
1101
|
-
},
|
|
422
|
+
}, _vue_runtime_core.PublicProps, {
|
|
1102
423
|
disabled: boolean;
|
|
1103
424
|
labelWidth: string;
|
|
1104
425
|
inline: boolean;
|
|
@@ -1111,7 +432,7 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1111
432
|
keyProp: string;
|
|
1112
433
|
parentValues: Record<string, any>;
|
|
1113
434
|
stepActive: string | number;
|
|
1114
|
-
}, false, {}, {},
|
|
435
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1115
436
|
P: {};
|
|
1116
437
|
B: {};
|
|
1117
438
|
D: {};
|
|
@@ -1142,11 +463,11 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1142
463
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1143
464
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1144
465
|
}>, {
|
|
1145
|
-
values:
|
|
1146
|
-
lastValuesProcessed:
|
|
466
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
467
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1147
468
|
formState: _tmagic_form_schema.FormState;
|
|
1148
|
-
initialized:
|
|
1149
|
-
changeRecords:
|
|
469
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
470
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1150
471
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1151
472
|
resetForm: () => void;
|
|
1152
473
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -1163,7 +484,7 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1163
484
|
keyProp: string;
|
|
1164
485
|
parentValues: Record<string, any>;
|
|
1165
486
|
stepActive: string | number;
|
|
1166
|
-
}> | undefined,
|
|
487
|
+
}> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1167
488
|
config: FormConfig;
|
|
1168
489
|
initValues: Record<string, any>;
|
|
1169
490
|
lastValues?: Record<string, any>;
|
|
@@ -1187,21 +508,21 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1187
508
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1188
509
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1189
510
|
}>, {
|
|
1190
|
-
values:
|
|
1191
|
-
lastValuesProcessed:
|
|
511
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
512
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1192
513
|
formState: _tmagic_form_schema.FormState;
|
|
1193
|
-
initialized:
|
|
1194
|
-
changeRecords:
|
|
514
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
515
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1195
516
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1196
517
|
resetForm: () => void;
|
|
1197
518
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1198
|
-
}, {}, {}, {},
|
|
519
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1199
520
|
change: (...args: any[]) => void;
|
|
1200
521
|
error: (...args: any[]) => void;
|
|
1201
522
|
"update:stepActive": (...args: any[]) => void;
|
|
1202
523
|
"field-change": (...args: any[]) => void;
|
|
1203
524
|
"field-input": (...args: any[]) => void;
|
|
1204
|
-
},
|
|
525
|
+
}, _vue_runtime_core.PublicProps, {
|
|
1205
526
|
disabled: boolean;
|
|
1206
527
|
labelWidth: string;
|
|
1207
528
|
inline: boolean;
|
|
@@ -1214,7 +535,7 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1214
535
|
keyProp: string;
|
|
1215
536
|
parentValues: Record<string, any>;
|
|
1216
537
|
stepActive: string | number;
|
|
1217
|
-
}, false, {}, {},
|
|
538
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1218
539
|
P: {};
|
|
1219
540
|
B: {};
|
|
1220
541
|
D: {};
|
|
@@ -1245,11 +566,11 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1245
566
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1246
567
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1247
568
|
}>, {
|
|
1248
|
-
values:
|
|
1249
|
-
lastValuesProcessed:
|
|
569
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
570
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1250
571
|
formState: _tmagic_form_schema.FormState;
|
|
1251
|
-
initialized:
|
|
1252
|
-
changeRecords:
|
|
572
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
573
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1253
574
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1254
575
|
resetForm: () => void;
|
|
1255
576
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -1267,33 +588,33 @@ declare const __VLS_component$3: vue.DefineComponent<__VLS_Props$s, {
|
|
|
1267
588
|
parentValues: Record<string, any>;
|
|
1268
589
|
stepActive: string | number;
|
|
1269
590
|
}> | undefined>;
|
|
1270
|
-
saveFetch:
|
|
1271
|
-
bodyHeight:
|
|
591
|
+
saveFetch: _vue_reactivity.Ref<boolean, boolean>;
|
|
592
|
+
bodyHeight: _vue_reactivity.Ref<number, number>;
|
|
1272
593
|
show: () => void;
|
|
1273
594
|
hide: () => void;
|
|
1274
595
|
handleClose: () => void;
|
|
1275
|
-
}, {}, {}, {},
|
|
596
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1276
597
|
change: (...args: any[]) => void;
|
|
1277
598
|
close: (...args: any[]) => void;
|
|
599
|
+
error: (...args: any[]) => void;
|
|
600
|
+
submit: (...args: any[]) => void;
|
|
1278
601
|
open: (...args: any[]) => void;
|
|
1279
602
|
opened: (...args: any[]) => void;
|
|
1280
603
|
closed: (...args: any[]) => void;
|
|
1281
|
-
|
|
1282
|
-
submit: (...args: any[]) => void;
|
|
1283
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
|
|
604
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$s> & Readonly<{
|
|
1284
605
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
1285
606
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
607
|
+
onError?: ((...args: any[]) => any) | undefined;
|
|
608
|
+
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1286
609
|
onOpen?: ((...args: any[]) => any) | undefined;
|
|
1287
610
|
onOpened?: ((...args: any[]) => any) | undefined;
|
|
1288
611
|
onClosed?: ((...args: any[]) => any) | undefined;
|
|
1289
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1290
|
-
onSubmit?: ((...args: any[]) => any) | undefined;
|
|
1291
612
|
}>, {
|
|
1292
613
|
values: Object;
|
|
1293
614
|
closeOnPressEscape: boolean;
|
|
1294
615
|
config: FormConfig;
|
|
1295
616
|
confirmText: string;
|
|
1296
|
-
}, {}, {}, {}, string,
|
|
617
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1297
618
|
declare const _default$t: __VLS_WithSlots$3<typeof __VLS_component$3, __VLS_Slots$3>;
|
|
1298
619
|
|
|
1299
620
|
type __VLS_WithSlots$3<T, S> = T & {
|
|
@@ -1316,259 +637,18 @@ type __VLS_Props$r = {
|
|
|
1316
637
|
labelPosition?: string;
|
|
1317
638
|
preventSubmitDefault?: boolean;
|
|
1318
639
|
};
|
|
1319
|
-
declare
|
|
1320
|
-
declare
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
declare const form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1325
|
-
config: FormConfig;
|
|
1326
|
-
initValues: Record<string, any>;
|
|
1327
|
-
lastValues?: Record<string, any>;
|
|
1328
|
-
isCompare?: boolean;
|
|
1329
|
-
parentValues?: Record<string, any>;
|
|
1330
|
-
labelWidth?: string;
|
|
1331
|
-
disabled?: boolean;
|
|
1332
|
-
height?: string;
|
|
1333
|
-
stepActive?: string | number;
|
|
1334
|
-
size?: "small" | "default" | "large";
|
|
1335
|
-
inline?: boolean;
|
|
1336
|
-
labelPosition?: string;
|
|
1337
|
-
keyProp?: string;
|
|
1338
|
-
popperClass?: string;
|
|
1339
|
-
preventSubmitDefault?: boolean;
|
|
1340
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1341
|
-
}> & Readonly<{
|
|
1342
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1343
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1344
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1345
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1346
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1347
|
-
}>, {
|
|
1348
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
1349
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1350
|
-
formState: _tmagic_form_schema.FormState;
|
|
1351
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
1352
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1353
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1354
|
-
resetForm: () => void;
|
|
1355
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
1356
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1357
|
-
change: (...args: any[]) => void;
|
|
1358
|
-
error: (...args: any[]) => void;
|
|
1359
|
-
"update:stepActive": (...args: any[]) => void;
|
|
1360
|
-
"field-change": (...args: any[]) => void;
|
|
1361
|
-
"field-input": (...args: any[]) => void;
|
|
1362
|
-
}, vue.PublicProps, {
|
|
1363
|
-
disabled: boolean;
|
|
1364
|
-
labelWidth: string;
|
|
1365
|
-
inline: boolean;
|
|
1366
|
-
labelPosition: string;
|
|
1367
|
-
config: FormConfig;
|
|
1368
|
-
height: string;
|
|
1369
|
-
initValues: Record<string, any>;
|
|
1370
|
-
lastValues: Record<string, any>;
|
|
1371
|
-
isCompare: boolean;
|
|
1372
|
-
keyProp: string;
|
|
1373
|
-
parentValues: Record<string, any>;
|
|
1374
|
-
stepActive: string | number;
|
|
1375
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1376
|
-
P: {};
|
|
1377
|
-
B: {};
|
|
1378
|
-
D: {};
|
|
1379
|
-
C: {};
|
|
1380
|
-
M: {};
|
|
1381
|
-
Defaults: {};
|
|
1382
|
-
}, Readonly<{
|
|
1383
|
-
config: FormConfig;
|
|
1384
|
-
initValues: Record<string, any>;
|
|
1385
|
-
lastValues?: Record<string, any>;
|
|
1386
|
-
isCompare?: boolean;
|
|
1387
|
-
parentValues?: Record<string, any>;
|
|
1388
|
-
labelWidth?: string;
|
|
1389
|
-
disabled?: boolean;
|
|
1390
|
-
height?: string;
|
|
1391
|
-
stepActive?: string | number;
|
|
1392
|
-
size?: "small" | "default" | "large";
|
|
1393
|
-
inline?: boolean;
|
|
1394
|
-
labelPosition?: string;
|
|
1395
|
-
keyProp?: string;
|
|
1396
|
-
popperClass?: string;
|
|
1397
|
-
preventSubmitDefault?: boolean;
|
|
1398
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1399
|
-
}> & Readonly<{
|
|
1400
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1401
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1402
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1403
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1404
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1405
|
-
}>, {
|
|
1406
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
1407
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1408
|
-
formState: _tmagic_form_schema.FormState;
|
|
1409
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
1410
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1411
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1412
|
-
resetForm: () => void;
|
|
1413
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
1414
|
-
}, {}, {}, {}, {
|
|
1415
|
-
disabled: boolean;
|
|
1416
|
-
labelWidth: string;
|
|
1417
|
-
inline: boolean;
|
|
1418
|
-
labelPosition: string;
|
|
1419
|
-
config: FormConfig;
|
|
1420
|
-
height: string;
|
|
1421
|
-
initValues: Record<string, any>;
|
|
1422
|
-
lastValues: Record<string, any>;
|
|
1423
|
-
isCompare: boolean;
|
|
1424
|
-
keyProp: string;
|
|
1425
|
-
parentValues: Record<string, any>;
|
|
1426
|
-
stepActive: string | number;
|
|
1427
|
-
}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1428
|
-
config: FormConfig;
|
|
1429
|
-
initValues: Record<string, any>;
|
|
1430
|
-
lastValues?: Record<string, any>;
|
|
1431
|
-
isCompare?: boolean;
|
|
1432
|
-
parentValues?: Record<string, any>;
|
|
1433
|
-
labelWidth?: string;
|
|
1434
|
-
disabled?: boolean;
|
|
1435
|
-
height?: string;
|
|
1436
|
-
stepActive?: string | number;
|
|
1437
|
-
size?: "small" | "default" | "large";
|
|
1438
|
-
inline?: boolean;
|
|
1439
|
-
labelPosition?: string;
|
|
1440
|
-
keyProp?: string;
|
|
1441
|
-
popperClass?: string;
|
|
1442
|
-
preventSubmitDefault?: boolean;
|
|
1443
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1444
|
-
}> & Readonly<{
|
|
1445
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1446
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1447
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1448
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1449
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1450
|
-
}>, {
|
|
1451
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
1452
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1453
|
-
formState: _tmagic_form_schema.FormState;
|
|
1454
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
1455
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1456
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1457
|
-
resetForm: () => void;
|
|
1458
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
1459
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1460
|
-
change: (...args: any[]) => void;
|
|
1461
|
-
error: (...args: any[]) => void;
|
|
1462
|
-
"update:stepActive": (...args: any[]) => void;
|
|
1463
|
-
"field-change": (...args: any[]) => void;
|
|
1464
|
-
"field-input": (...args: any[]) => void;
|
|
1465
|
-
}, vue.PublicProps, {
|
|
1466
|
-
disabled: boolean;
|
|
1467
|
-
labelWidth: string;
|
|
1468
|
-
inline: boolean;
|
|
1469
|
-
labelPosition: string;
|
|
1470
|
-
config: FormConfig;
|
|
1471
|
-
height: string;
|
|
1472
|
-
initValues: Record<string, any>;
|
|
1473
|
-
lastValues: Record<string, any>;
|
|
1474
|
-
isCompare: boolean;
|
|
1475
|
-
keyProp: string;
|
|
1476
|
-
parentValues: Record<string, any>;
|
|
1477
|
-
stepActive: string | number;
|
|
1478
|
-
}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
1479
|
-
P: {};
|
|
1480
|
-
B: {};
|
|
1481
|
-
D: {};
|
|
1482
|
-
C: {};
|
|
1483
|
-
M: {};
|
|
1484
|
-
Defaults: {};
|
|
1485
|
-
}, Readonly<{
|
|
1486
|
-
config: FormConfig;
|
|
1487
|
-
initValues: Record<string, any>;
|
|
1488
|
-
lastValues?: Record<string, any>;
|
|
1489
|
-
isCompare?: boolean;
|
|
1490
|
-
parentValues?: Record<string, any>;
|
|
1491
|
-
labelWidth?: string;
|
|
1492
|
-
disabled?: boolean;
|
|
1493
|
-
height?: string;
|
|
1494
|
-
stepActive?: string | number;
|
|
1495
|
-
size?: "small" | "default" | "large";
|
|
1496
|
-
inline?: boolean;
|
|
1497
|
-
labelPosition?: string;
|
|
1498
|
-
keyProp?: string;
|
|
1499
|
-
popperClass?: string;
|
|
1500
|
-
preventSubmitDefault?: boolean;
|
|
1501
|
-
extendState?: (_state: _tmagic_form_schema.FormState) => Record<string, any> | Promise<Record<string, any>>;
|
|
1502
|
-
}> & Readonly<{
|
|
1503
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
1504
|
-
onError?: ((...args: any[]) => any) | undefined;
|
|
1505
|
-
"onUpdate:stepActive"?: ((...args: any[]) => any) | undefined;
|
|
1506
|
-
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1507
|
-
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1508
|
-
}>, {
|
|
1509
|
-
values: vue.Ref<FormValue, FormValue>;
|
|
1510
|
-
lastValuesProcessed: vue.Ref<FormValue, FormValue>;
|
|
1511
|
-
formState: _tmagic_form_schema.FormState;
|
|
1512
|
-
initialized: vue.Ref<boolean, boolean>;
|
|
1513
|
-
changeRecords: vue.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1514
|
-
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1515
|
-
resetForm: () => void;
|
|
1516
|
-
submitForm: (native?: boolean) => Promise<any>;
|
|
1517
|
-
}, {}, {}, {}, {
|
|
1518
|
-
disabled: boolean;
|
|
1519
|
-
labelWidth: string;
|
|
1520
|
-
inline: boolean;
|
|
1521
|
-
labelPosition: string;
|
|
1522
|
-
config: FormConfig;
|
|
1523
|
-
height: string;
|
|
1524
|
-
initValues: Record<string, any>;
|
|
1525
|
-
lastValues: Record<string, any>;
|
|
1526
|
-
isCompare: boolean;
|
|
1527
|
-
keyProp: string;
|
|
1528
|
-
parentValues: Record<string, any>;
|
|
1529
|
-
stepActive: string | number;
|
|
1530
|
-
}> | undefined>;
|
|
1531
|
-
declare const saveFetch: vue.Ref<boolean, boolean>;
|
|
1532
|
-
declare const bodyHeight: vue.Ref<number, number>;
|
|
1533
|
-
declare const submitHandler: () => Promise<void>;
|
|
1534
|
-
declare const changeHandler$2: (value: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1535
|
-
declare const __VLS_ctx$2: InstanceType<__VLS_PickNotAny<typeof __VLS_self$2, new () => {}>>;
|
|
1536
|
-
declare var __VLS_14$1: {};
|
|
1537
|
-
declare var __VLS_16$1: {};
|
|
1538
|
-
declare var __VLS_18: {};
|
|
1539
|
-
type __VLS_Slots$2 = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx$2.$slots> & {
|
|
1540
|
-
default?: (props: typeof __VLS_14$1) => any;
|
|
640
|
+
declare var __VLS_15: {};
|
|
641
|
+
declare var __VLS_17: {};
|
|
642
|
+
declare var __VLS_19: {};
|
|
643
|
+
type __VLS_Slots$2 = {} & {
|
|
644
|
+
default?: (props: typeof __VLS_15) => any;
|
|
1541
645
|
} & {
|
|
1542
|
-
left?: (props: typeof
|
|
646
|
+
left?: (props: typeof __VLS_17) => any;
|
|
1543
647
|
} & {
|
|
1544
|
-
footer?: (props: typeof
|
|
1545
|
-
}
|
|
1546
|
-
declare const
|
|
1547
|
-
|
|
1548
|
-
TMagicScrollbar: typeof TMagicScrollbar;
|
|
1549
|
-
Form: typeof _default$v;
|
|
1550
|
-
footerHeight: typeof footerHeight;
|
|
1551
|
-
style: typeof style;
|
|
1552
|
-
form: typeof form;
|
|
1553
|
-
saveFetch: typeof saveFetch;
|
|
1554
|
-
bodyHeight: typeof bodyHeight;
|
|
1555
|
-
submitHandler: typeof submitHandler;
|
|
1556
|
-
changeHandler: typeof changeHandler$2;
|
|
1557
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1558
|
-
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1559
|
-
error: (e: any) => any;
|
|
1560
|
-
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1561
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
1562
|
-
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1563
|
-
onError?: ((e: any) => any) | undefined;
|
|
1564
|
-
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1565
|
-
}>, {
|
|
1566
|
-
values: Object;
|
|
1567
|
-
config: FormConfig;
|
|
1568
|
-
confirmText: string;
|
|
1569
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1570
|
-
declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
1571
|
-
form: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
648
|
+
footer?: (props: typeof __VLS_19) => any;
|
|
649
|
+
};
|
|
650
|
+
declare const __VLS_component$2: _vue_runtime_core.DefineComponent<__VLS_Props$r, {
|
|
651
|
+
form: _vue_reactivity.Ref<_vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1572
652
|
config: FormConfig;
|
|
1573
653
|
initValues: Record<string, any>;
|
|
1574
654
|
lastValues?: Record<string, any>;
|
|
@@ -1592,21 +672,21 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1592
672
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1593
673
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1594
674
|
}>, {
|
|
1595
|
-
values:
|
|
1596
|
-
lastValuesProcessed:
|
|
675
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
676
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1597
677
|
formState: _tmagic_form_schema.FormState;
|
|
1598
|
-
initialized:
|
|
1599
|
-
changeRecords:
|
|
678
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
679
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1600
680
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1601
681
|
resetForm: () => void;
|
|
1602
682
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1603
|
-
}, {}, {}, {},
|
|
683
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1604
684
|
change: (...args: any[]) => void;
|
|
1605
685
|
error: (...args: any[]) => void;
|
|
1606
686
|
"update:stepActive": (...args: any[]) => void;
|
|
1607
687
|
"field-change": (...args: any[]) => void;
|
|
1608
688
|
"field-input": (...args: any[]) => void;
|
|
1609
|
-
},
|
|
689
|
+
}, _vue_runtime_core.PublicProps, {
|
|
1610
690
|
disabled: boolean;
|
|
1611
691
|
labelWidth: string;
|
|
1612
692
|
inline: boolean;
|
|
@@ -1619,7 +699,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1619
699
|
keyProp: string;
|
|
1620
700
|
parentValues: Record<string, any>;
|
|
1621
701
|
stepActive: string | number;
|
|
1622
|
-
}, false, {}, {},
|
|
702
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1623
703
|
P: {};
|
|
1624
704
|
B: {};
|
|
1625
705
|
D: {};
|
|
@@ -1650,11 +730,11 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1650
730
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1651
731
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1652
732
|
}>, {
|
|
1653
|
-
values:
|
|
1654
|
-
lastValuesProcessed:
|
|
733
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
734
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1655
735
|
formState: _tmagic_form_schema.FormState;
|
|
1656
|
-
initialized:
|
|
1657
|
-
changeRecords:
|
|
736
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
737
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1658
738
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1659
739
|
resetForm: () => void;
|
|
1660
740
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -1671,7 +751,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1671
751
|
keyProp: string;
|
|
1672
752
|
parentValues: Record<string, any>;
|
|
1673
753
|
stepActive: string | number;
|
|
1674
|
-
}> | undefined,
|
|
754
|
+
}> | undefined, _vue_runtime_core.CreateComponentPublicInstanceWithMixins<Readonly<{
|
|
1675
755
|
config: FormConfig;
|
|
1676
756
|
initValues: Record<string, any>;
|
|
1677
757
|
lastValues?: Record<string, any>;
|
|
@@ -1695,21 +775,21 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1695
775
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1696
776
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1697
777
|
}>, {
|
|
1698
|
-
values:
|
|
1699
|
-
lastValuesProcessed:
|
|
778
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
779
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1700
780
|
formState: _tmagic_form_schema.FormState;
|
|
1701
|
-
initialized:
|
|
1702
|
-
changeRecords:
|
|
781
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
782
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1703
783
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1704
784
|
resetForm: () => void;
|
|
1705
785
|
submitForm: (native?: boolean) => Promise<any>;
|
|
1706
|
-
}, {}, {}, {},
|
|
786
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1707
787
|
change: (...args: any[]) => void;
|
|
1708
788
|
error: (...args: any[]) => void;
|
|
1709
789
|
"update:stepActive": (...args: any[]) => void;
|
|
1710
790
|
"field-change": (...args: any[]) => void;
|
|
1711
791
|
"field-input": (...args: any[]) => void;
|
|
1712
|
-
},
|
|
792
|
+
}, _vue_runtime_core.PublicProps, {
|
|
1713
793
|
disabled: boolean;
|
|
1714
794
|
labelWidth: string;
|
|
1715
795
|
inline: boolean;
|
|
@@ -1722,7 +802,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1722
802
|
keyProp: string;
|
|
1723
803
|
parentValues: Record<string, any>;
|
|
1724
804
|
stepActive: string | number;
|
|
1725
|
-
}, false, {}, {},
|
|
805
|
+
}, false, {}, {}, _vue_runtime_core.GlobalComponents, _vue_runtime_core.GlobalDirectives, string, {}, any, _vue_runtime_core.ComponentProvideOptions, {
|
|
1726
806
|
P: {};
|
|
1727
807
|
B: {};
|
|
1728
808
|
D: {};
|
|
@@ -1753,11 +833,11 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1753
833
|
"onField-change"?: ((...args: any[]) => any) | undefined;
|
|
1754
834
|
"onField-input"?: ((...args: any[]) => any) | undefined;
|
|
1755
835
|
}>, {
|
|
1756
|
-
values:
|
|
1757
|
-
lastValuesProcessed:
|
|
836
|
+
values: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
837
|
+
lastValuesProcessed: _vue_reactivity.Ref<FormValue, FormValue>;
|
|
1758
838
|
formState: _tmagic_form_schema.FormState;
|
|
1759
|
-
initialized:
|
|
1760
|
-
changeRecords:
|
|
839
|
+
initialized: _vue_reactivity.Ref<boolean, boolean>;
|
|
840
|
+
changeRecords: _vue_reactivity.ShallowRef<_tmagic_editor.ChangeRecord[], _tmagic_editor.ChangeRecord[]>;
|
|
1761
841
|
changeHandler: (v: FormValue, eventData: ContainerChangeEventData) => void;
|
|
1762
842
|
resetForm: () => void;
|
|
1763
843
|
submitForm: (native?: boolean) => Promise<any>;
|
|
@@ -1775,14 +855,14 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1775
855
|
parentValues: Record<string, any>;
|
|
1776
856
|
stepActive: string | number;
|
|
1777
857
|
}> | undefined>;
|
|
1778
|
-
saveFetch:
|
|
858
|
+
saveFetch: _vue_reactivity.Ref<boolean, boolean>;
|
|
1779
859
|
show: () => void;
|
|
1780
860
|
hide: () => void;
|
|
1781
|
-
}, {}, {}, {},
|
|
861
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1782
862
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1783
863
|
error: (e: any) => any;
|
|
1784
864
|
submit: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1785
|
-
}, string,
|
|
865
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$r> & Readonly<{
|
|
1786
866
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1787
867
|
onError?: ((e: any) => any) | undefined;
|
|
1788
868
|
onSubmit?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
@@ -1790,7 +870,7 @@ declare const __VLS_component$2: vue.DefineComponent<__VLS_Props$r, {
|
|
|
1790
870
|
values: Object;
|
|
1791
871
|
config: FormConfig;
|
|
1792
872
|
confirmText: string;
|
|
1793
|
-
}, {}, {}, {}, string,
|
|
873
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1794
874
|
declare const _default$s: __VLS_WithSlots$2<typeof __VLS_component$2, __VLS_Slots$2>;
|
|
1795
875
|
|
|
1796
876
|
type __VLS_WithSlots$2<T, S> = T & {
|
|
@@ -1814,10 +894,10 @@ type __VLS_Props$q = {
|
|
|
1814
894
|
/** 是否开启对比模式 */
|
|
1815
895
|
isCompare?: boolean;
|
|
1816
896
|
};
|
|
1817
|
-
declare const _default$r:
|
|
897
|
+
declare const _default$r: _vue_runtime_core.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1818
898
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1819
899
|
addDiffCount: () => any;
|
|
1820
|
-
}, string,
|
|
900
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$q> & Readonly<{
|
|
1821
901
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1822
902
|
onAddDiffCount?: (() => any) | undefined;
|
|
1823
903
|
}>, {
|
|
@@ -1826,7 +906,7 @@ declare const _default$r: vue.DefineComponent<__VLS_Props$q, {}, {}, {}, {}, vue
|
|
|
1826
906
|
lastValues: FormValue;
|
|
1827
907
|
isCompare: boolean;
|
|
1828
908
|
expandMore: boolean;
|
|
1829
|
-
}, {}, {}, {}, string,
|
|
909
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1830
910
|
|
|
1831
911
|
type __VLS_Props$p = {
|
|
1832
912
|
labelWidth?: string;
|
|
@@ -1839,10 +919,10 @@ type __VLS_Props$p = {
|
|
|
1839
919
|
rules?: any;
|
|
1840
920
|
disabled?: boolean;
|
|
1841
921
|
};
|
|
1842
|
-
declare const _default$q:
|
|
922
|
+
declare const _default$q: _vue_runtime_core.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1843
923
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1844
924
|
addDiffCount: () => any;
|
|
1845
|
-
}, string,
|
|
925
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$p> & Readonly<{
|
|
1846
926
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1847
927
|
onAddDiffCount?: (() => any) | undefined;
|
|
1848
928
|
}>, {
|
|
@@ -1850,7 +930,7 @@ declare const _default$q: vue.DefineComponent<__VLS_Props$p, {}, {}, {}, {}, vue
|
|
|
1850
930
|
rules: any;
|
|
1851
931
|
lastValues: Record<string, any>;
|
|
1852
932
|
isCompare: boolean;
|
|
1853
|
-
}, {}, {}, {}, string,
|
|
933
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1854
934
|
|
|
1855
935
|
type __VLS_Props$o = {
|
|
1856
936
|
model: any;
|
|
@@ -1863,46 +943,20 @@ type __VLS_Props$o = {
|
|
|
1863
943
|
size?: string;
|
|
1864
944
|
disabled?: boolean;
|
|
1865
945
|
};
|
|
1866
|
-
declare const mForm$1: FormState | undefined;
|
|
1867
|
-
declare const expand: vue.Ref<boolean, boolean>;
|
|
1868
|
-
declare const items: vue.ComputedRef<_tmagic_form_schema.FormConfig>;
|
|
1869
|
-
declare const filter: (config: any) => any;
|
|
1870
|
-
declare const changeHandler$1: (v: any, eventData: ContainerChangeEventData) => void;
|
|
1871
|
-
declare const onAddDiffCount$1: () => void;
|
|
1872
|
-
declare const __VLS_ctx$1: InstanceType<__VLS_PickNotAny<typeof __VLS_self$1, new () => {}>>;
|
|
1873
|
-
declare var __VLS_14: {};
|
|
1874
946
|
declare var __VLS_16: {};
|
|
1875
|
-
|
|
1876
|
-
|
|
947
|
+
declare var __VLS_18: {};
|
|
948
|
+
type __VLS_Slots$1 = {} & {
|
|
949
|
+
header?: (props: typeof __VLS_16) => any;
|
|
1877
950
|
} & {
|
|
1878
|
-
default?: (props: typeof
|
|
1879
|
-
}
|
|
1880
|
-
declare const
|
|
1881
|
-
CaretBottom: typeof CaretBottom;
|
|
1882
|
-
CaretRight: typeof CaretRight;
|
|
1883
|
-
TMagicButton: typeof TMagicButton;
|
|
1884
|
-
TMagicCard: typeof TMagicCard;
|
|
1885
|
-
Container: typeof _default$r;
|
|
1886
|
-
mForm: typeof mForm$1;
|
|
1887
|
-
expand: typeof expand;
|
|
1888
|
-
items: typeof items;
|
|
1889
|
-
filter: typeof filter;
|
|
1890
|
-
changeHandler: typeof changeHandler$1;
|
|
1891
|
-
onAddDiffCount: typeof onAddDiffCount$1;
|
|
1892
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
1893
|
-
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1894
|
-
addDiffCount: () => any;
|
|
1895
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
|
|
1896
|
-
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1897
|
-
onAddDiffCount?: (() => any) | undefined;
|
|
1898
|
-
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
1899
|
-
declare const __VLS_component$1: vue.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
951
|
+
default?: (props: typeof __VLS_18) => any;
|
|
952
|
+
};
|
|
953
|
+
declare const __VLS_component$1: _vue_runtime_core.DefineComponent<__VLS_Props$o, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1900
954
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1901
955
|
addDiffCount: () => any;
|
|
1902
|
-
}, string,
|
|
956
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$o> & Readonly<{
|
|
1903
957
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1904
958
|
onAddDiffCount?: (() => any) | undefined;
|
|
1905
|
-
}>, {}, {}, {}, {}, string,
|
|
959
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1906
960
|
declare const _default$p: __VLS_WithSlots$1<typeof __VLS_component$1, __VLS_Slots$1>;
|
|
1907
961
|
|
|
1908
962
|
type __VLS_WithSlots$1<T, S> = T & {
|
|
@@ -1923,13 +977,13 @@ type __VLS_Props$n = {
|
|
|
1923
977
|
expandMore?: boolean;
|
|
1924
978
|
disabled?: boolean;
|
|
1925
979
|
};
|
|
1926
|
-
declare const _default$o:
|
|
980
|
+
declare const _default$o: _vue_runtime_core.DefineComponent<__VLS_Props$n, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1927
981
|
change: (v: any, eventData: ContainerChangeEventData) => any;
|
|
1928
982
|
addDiffCount: () => any;
|
|
1929
|
-
}, string,
|
|
983
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$n> & Readonly<{
|
|
1930
984
|
onChange?: ((v: any, eventData: ContainerChangeEventData) => any) | undefined;
|
|
1931
985
|
onAddDiffCount?: (() => any) | undefined;
|
|
1932
|
-
}>, {}, {}, {}, {}, string,
|
|
986
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1933
987
|
|
|
1934
988
|
type __VLS_Props$m = {
|
|
1935
989
|
model: any;
|
|
@@ -1943,16 +997,16 @@ type __VLS_Props$m = {
|
|
|
1943
997
|
expandMore?: boolean;
|
|
1944
998
|
disabled?: boolean;
|
|
1945
999
|
};
|
|
1946
|
-
declare const _default$n:
|
|
1000
|
+
declare const _default$n: _vue_runtime_core.DefineComponent<__VLS_Props$m, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
1947
1001
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
1948
1002
|
addDiffCount: () => any;
|
|
1949
|
-
}, string,
|
|
1003
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$m> & Readonly<{
|
|
1950
1004
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
1951
1005
|
onAddDiffCount?: (() => any) | undefined;
|
|
1952
1006
|
}>, {
|
|
1953
1007
|
lastValues: any;
|
|
1954
1008
|
isCompare: boolean;
|
|
1955
|
-
}, {}, {}, {}, string,
|
|
1009
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
1956
1010
|
|
|
1957
1011
|
type __VLS_Props$l = {
|
|
1958
1012
|
model: any;
|
|
@@ -1970,328 +1024,25 @@ type __VLS_Props$l = {
|
|
|
1970
1024
|
enableToggleMode?: boolean;
|
|
1971
1025
|
showIndex?: boolean;
|
|
1972
1026
|
};
|
|
1973
|
-
declare
|
|
1974
|
-
declare const tMagicTable: vue.Ref<({
|
|
1975
|
-
$: vue.ComponentInternalInstance;
|
|
1976
|
-
$data: {};
|
|
1977
|
-
$props: {
|
|
1978
|
-
readonly data?: any[] | undefined;
|
|
1979
|
-
readonly border?: boolean | undefined;
|
|
1980
|
-
readonly maxHeight?: number | string | undefined;
|
|
1981
|
-
readonly defaultExpandAll?: boolean | undefined;
|
|
1982
|
-
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
1983
|
-
readonly "onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
1984
|
-
readonly "onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
1985
|
-
readonly "onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
1986
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
1987
|
-
$attrs: {
|
|
1988
|
-
[x: string]: unknown;
|
|
1989
|
-
};
|
|
1990
|
-
$refs: {
|
|
1991
|
-
[x: string]: unknown;
|
|
1992
|
-
};
|
|
1993
|
-
$slots: Readonly<{
|
|
1994
|
-
[name: string]: vue.Slot<any> | undefined;
|
|
1995
|
-
}>;
|
|
1996
|
-
$root: vue.ComponentPublicInstance | null;
|
|
1997
|
-
$parent: vue.ComponentPublicInstance | null;
|
|
1998
|
-
$host: Element | null;
|
|
1999
|
-
$emit: ((event: "select", ...args: any[]) => void) & ((event: "sort-change", ...args: any[]) => void) & ((event: "expand-change", ...args: any[]) => void) & ((event: "cell-click", ...args: any[]) => void);
|
|
2000
|
-
$el: any;
|
|
2001
|
-
$options: vue.ComponentOptionsBase<Readonly<_tmagic_design.TableProps> & Readonly<{
|
|
2002
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2003
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2004
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2005
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2006
|
-
}>, {
|
|
2007
|
-
instance: vue.Ref<any, any>;
|
|
2008
|
-
$el: HTMLDivElement | undefined;
|
|
2009
|
-
clearSelection(...args: any[]): any;
|
|
2010
|
-
toggleRowSelection(...args: any[]): any;
|
|
2011
|
-
toggleRowExpansion(...args: any[]): any;
|
|
2012
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2013
|
-
select: (...args: any[]) => void;
|
|
2014
|
-
"sort-change": (...args: any[]) => void;
|
|
2015
|
-
"expand-change": (...args: any[]) => void;
|
|
2016
|
-
"cell-click": (...args: any[]) => void;
|
|
2017
|
-
}, string, {
|
|
2018
|
-
data: any[];
|
|
2019
|
-
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
2020
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
2021
|
-
created?: (() => void) | (() => void)[];
|
|
2022
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
2023
|
-
mounted?: (() => void) | (() => void)[];
|
|
2024
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
2025
|
-
updated?: (() => void) | (() => void)[];
|
|
2026
|
-
activated?: (() => void) | (() => void)[];
|
|
2027
|
-
deactivated?: (() => void) | (() => void)[];
|
|
2028
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
2029
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
2030
|
-
destroyed?: (() => void) | (() => void)[];
|
|
2031
|
-
unmounted?: (() => void) | (() => void)[];
|
|
2032
|
-
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2033
|
-
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2034
|
-
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2035
|
-
};
|
|
2036
|
-
$forceUpdate: () => void;
|
|
2037
|
-
$nextTick: typeof vue.nextTick;
|
|
2038
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
|
|
2039
|
-
} & Readonly<{
|
|
2040
|
-
data: any[];
|
|
2041
|
-
}> & Omit<Readonly<_tmagic_design.TableProps> & Readonly<{
|
|
2042
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2043
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2044
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2045
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2046
|
-
}>, "instance" | "data" | "$el" | "clearSelection" | "toggleRowSelection" | "toggleRowExpansion"> & vue.ShallowUnwrapRef<{
|
|
2047
|
-
instance: vue.Ref<any, any>;
|
|
2048
|
-
$el: HTMLDivElement | undefined;
|
|
2049
|
-
clearSelection(...args: any[]): any;
|
|
2050
|
-
toggleRowSelection(...args: any[]): any;
|
|
2051
|
-
toggleRowExpansion(...args: any[]): any;
|
|
2052
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
2053
|
-
$slots: {
|
|
2054
|
-
default?: ((props: {}) => any) | undefined;
|
|
2055
|
-
};
|
|
2056
|
-
}) | undefined, ({
|
|
2057
|
-
$: vue.ComponentInternalInstance;
|
|
2058
|
-
$data: {};
|
|
2059
|
-
$props: {
|
|
2060
|
-
readonly data?: any[] | undefined;
|
|
2061
|
-
readonly border?: boolean | undefined;
|
|
2062
|
-
readonly maxHeight?: number | string | undefined;
|
|
2063
|
-
readonly defaultExpandAll?: boolean | undefined;
|
|
2064
|
-
readonly onSelect?: ((...args: any[]) => any) | undefined;
|
|
2065
|
-
readonly "onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2066
|
-
readonly "onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2067
|
-
readonly "onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2068
|
-
} & vue.VNodeProps & vue.AllowedComponentProps & vue.ComponentCustomProps;
|
|
2069
|
-
$attrs: {
|
|
2070
|
-
[x: string]: unknown;
|
|
2071
|
-
};
|
|
2072
|
-
$refs: {
|
|
2073
|
-
[x: string]: unknown;
|
|
2074
|
-
};
|
|
2075
|
-
$slots: Readonly<{
|
|
2076
|
-
[name: string]: vue.Slot<any> | undefined;
|
|
2077
|
-
}>;
|
|
2078
|
-
$root: vue.ComponentPublicInstance | null;
|
|
2079
|
-
$parent: vue.ComponentPublicInstance | null;
|
|
2080
|
-
$host: Element | null;
|
|
2081
|
-
$emit: ((event: "select", ...args: any[]) => void) & ((event: "sort-change", ...args: any[]) => void) & ((event: "expand-change", ...args: any[]) => void) & ((event: "cell-click", ...args: any[]) => void);
|
|
2082
|
-
$el: any;
|
|
2083
|
-
$options: vue.ComponentOptionsBase<Readonly<_tmagic_design.TableProps> & Readonly<{
|
|
2084
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2085
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2086
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2087
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2088
|
-
}>, {
|
|
2089
|
-
instance: vue.Ref<any, any>;
|
|
2090
|
-
$el: HTMLDivElement | undefined;
|
|
2091
|
-
clearSelection(...args: any[]): any;
|
|
2092
|
-
toggleRowSelection(...args: any[]): any;
|
|
2093
|
-
toggleRowExpansion(...args: any[]): any;
|
|
2094
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2095
|
-
select: (...args: any[]) => void;
|
|
2096
|
-
"sort-change": (...args: any[]) => void;
|
|
2097
|
-
"expand-change": (...args: any[]) => void;
|
|
2098
|
-
"cell-click": (...args: any[]) => void;
|
|
2099
|
-
}, string, {
|
|
2100
|
-
data: any[];
|
|
2101
|
-
}, {}, string, {}, vue.GlobalComponents, vue.GlobalDirectives, string, vue.ComponentProvideOptions> & {
|
|
2102
|
-
beforeCreate?: (() => void) | (() => void)[];
|
|
2103
|
-
created?: (() => void) | (() => void)[];
|
|
2104
|
-
beforeMount?: (() => void) | (() => void)[];
|
|
2105
|
-
mounted?: (() => void) | (() => void)[];
|
|
2106
|
-
beforeUpdate?: (() => void) | (() => void)[];
|
|
2107
|
-
updated?: (() => void) | (() => void)[];
|
|
2108
|
-
activated?: (() => void) | (() => void)[];
|
|
2109
|
-
deactivated?: (() => void) | (() => void)[];
|
|
2110
|
-
beforeDestroy?: (() => void) | (() => void)[];
|
|
2111
|
-
beforeUnmount?: (() => void) | (() => void)[];
|
|
2112
|
-
destroyed?: (() => void) | (() => void)[];
|
|
2113
|
-
unmounted?: (() => void) | (() => void)[];
|
|
2114
|
-
renderTracked?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2115
|
-
renderTriggered?: ((e: vue.DebuggerEvent) => void) | ((e: vue.DebuggerEvent) => void)[];
|
|
2116
|
-
errorCaptured?: ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: vue.ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
2117
|
-
};
|
|
2118
|
-
$forceUpdate: () => void;
|
|
2119
|
-
$nextTick: typeof vue.nextTick;
|
|
2120
|
-
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, _vue_reactivity.OnCleanup]) => any : (...args: [any, any, _vue_reactivity.OnCleanup]) => any, options?: vue.WatchOptions): vue.WatchStopHandle;
|
|
2121
|
-
} & Readonly<{
|
|
2122
|
-
data: any[];
|
|
2123
|
-
}> & Omit<Readonly<_tmagic_design.TableProps> & Readonly<{
|
|
2124
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2125
|
-
"onSort-change"?: ((...args: any[]) => any) | undefined;
|
|
2126
|
-
"onExpand-change"?: ((...args: any[]) => any) | undefined;
|
|
2127
|
-
"onCell-click"?: ((...args: any[]) => any) | undefined;
|
|
2128
|
-
}>, "instance" | "data" | "$el" | "clearSelection" | "toggleRowSelection" | "toggleRowExpansion"> & vue.ShallowUnwrapRef<{
|
|
2129
|
-
instance: vue.Ref<any, any>;
|
|
2130
|
-
$el: HTMLDivElement | undefined;
|
|
2131
|
-
clearSelection(...args: any[]): any;
|
|
2132
|
-
toggleRowSelection(...args: any[]): any;
|
|
2133
|
-
toggleRowExpansion(...args: any[]): any;
|
|
2134
|
-
}> & {} & vue.ComponentCustomProperties & {} & {
|
|
2135
|
-
$slots: {
|
|
2136
|
-
default?: ((props: {}) => any) | undefined;
|
|
2137
|
-
};
|
|
2138
|
-
}) | undefined>;
|
|
2139
|
-
declare const excelBtn: vue.Ref<vue.CreateComponentPublicInstanceWithMixins<Readonly<_tmagic_design.UploadProps> & Readonly<{
|
|
2140
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2141
|
-
}>, {
|
|
2142
|
-
clearFiles(...args: any[]): any;
|
|
2143
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2144
|
-
change: (...args: any[]) => void;
|
|
2145
|
-
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2146
|
-
P: {};
|
|
2147
|
-
B: {};
|
|
2148
|
-
D: {};
|
|
2149
|
-
C: {};
|
|
2150
|
-
M: {};
|
|
2151
|
-
Defaults: {};
|
|
2152
|
-
}, Readonly<_tmagic_design.UploadProps> & Readonly<{
|
|
2153
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2154
|
-
}>, {
|
|
2155
|
-
clearFiles(...args: any[]): any;
|
|
2156
|
-
}, {}, {}, {}, {}> | undefined, vue.CreateComponentPublicInstanceWithMixins<Readonly<_tmagic_design.UploadProps> & Readonly<{
|
|
2157
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2158
|
-
}>, {
|
|
2159
|
-
clearFiles(...args: any[]): any;
|
|
2160
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2161
|
-
change: (...args: any[]) => void;
|
|
2162
|
-
}, vue.PublicProps, {}, false, {}, {}, vue.GlobalComponents, vue.GlobalDirectives, string, {}, any, vue.ComponentProvideOptions, {
|
|
2163
|
-
P: {};
|
|
2164
|
-
B: {};
|
|
2165
|
-
D: {};
|
|
2166
|
-
C: {};
|
|
2167
|
-
M: {};
|
|
2168
|
-
Defaults: {};
|
|
2169
|
-
}, Readonly<_tmagic_design.UploadProps> & Readonly<{
|
|
2170
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2171
|
-
}>, {
|
|
2172
|
-
clearFiles(...args: any[]): any;
|
|
2173
|
-
}, {}, {}, {}, {}> | undefined>;
|
|
2174
|
-
declare const mTable: vue.Ref<HTMLDivElement | undefined, HTMLDivElement | undefined>;
|
|
2175
|
-
declare const pagesize: vue.Ref<number, number>;
|
|
2176
|
-
declare const pagecontext: vue.Ref<number, number>;
|
|
2177
|
-
declare const updateKey: vue.Ref<number, number>;
|
|
2178
|
-
declare const isFullscreen: vue.Ref<boolean, boolean>;
|
|
2179
|
-
declare const modelName: vue.ComputedRef<string | number>;
|
|
2180
|
-
declare const data: vue.ComputedRef<any>;
|
|
2181
|
-
declare const lastData: vue.ComputedRef<any>;
|
|
2182
|
-
declare const sortChange: ({ prop, order }: SortProp) => void;
|
|
2183
|
-
declare const newHandler: (row?: any) => Promise<void>;
|
|
2184
|
-
declare const addable: vue.ComputedRef<boolean | "undefined">;
|
|
2185
|
-
declare const selection: vue.ComputedRef<boolean | "single" | undefined>;
|
|
2186
|
-
declare const importable: vue.ComputedRef<boolean | "undefined">;
|
|
2187
|
-
declare const display: (fuc: any) => any;
|
|
2188
|
-
declare const itemExtra: (fuc: any, index: number) => any;
|
|
2189
|
-
declare const removeHandler: (index: number) => void;
|
|
2190
|
-
declare const selectHandle: (selection: any, row: any) => void;
|
|
2191
|
-
declare const makeConfig: (config: TableColumnConfig, row: any) => TableColumnConfig;
|
|
2192
|
-
declare const upHandler: (index: number) => void;
|
|
2193
|
-
declare const topHandler: (index: number) => void;
|
|
2194
|
-
declare const downHandler: (index: number) => void;
|
|
2195
|
-
declare const bottomHandler: (index: number) => void;
|
|
2196
|
-
declare const showDelete: (index: number) => boolean;
|
|
2197
|
-
declare const copyable: (index: number) => boolean;
|
|
2198
|
-
declare const clearHandler: () => void;
|
|
2199
|
-
declare const excelHandler: (file: any) => Promise<boolean>;
|
|
2200
|
-
declare const handleSizeChange: (val: number) => void;
|
|
2201
|
-
declare const handleCurrentChange: (val: number) => void;
|
|
2202
|
-
declare const copyHandler: (index: number) => void;
|
|
2203
|
-
declare const toggleMode: () => void;
|
|
2204
|
-
declare const toggleFullscreen: () => void;
|
|
2205
|
-
declare const getProp: (index: number) => string;
|
|
2206
|
-
declare const onAddDiffCount: () => void;
|
|
2207
|
-
declare const changeHandler: (v: any, eventData: ContainerChangeEventData) => void;
|
|
2208
|
-
declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>;
|
|
2209
|
-
declare var __VLS_28: {
|
|
1027
|
+
declare var __VLS_34: {
|
|
2210
1028
|
scope: {
|
|
2211
1029
|
$index: any;
|
|
2212
1030
|
row: any;
|
|
2213
1031
|
};
|
|
2214
1032
|
};
|
|
2215
|
-
declare var
|
|
2216
|
-
type __VLS_Slots =
|
|
2217
|
-
operateCol?: (props: typeof
|
|
1033
|
+
declare var __VLS_111: {};
|
|
1034
|
+
type __VLS_Slots = {} & {
|
|
1035
|
+
operateCol?: (props: typeof __VLS_34) => any;
|
|
2218
1036
|
} & {
|
|
2219
|
-
default?: (props: typeof
|
|
2220
|
-
}
|
|
2221
|
-
declare const
|
|
2222
|
-
ArrowDown: typeof ArrowDown;
|
|
2223
|
-
ArrowUp: typeof ArrowUp;
|
|
2224
|
-
Delete: typeof Delete;
|
|
2225
|
-
DocumentCopy: typeof DocumentCopy;
|
|
2226
|
-
FullScreen: typeof FullScreen;
|
|
2227
|
-
Grid: typeof Grid;
|
|
2228
|
-
TMagicButton: typeof TMagicButton;
|
|
2229
|
-
TMagicPagination: typeof TMagicPagination;
|
|
2230
|
-
TMagicTable: typeof TMagicTable;
|
|
2231
|
-
TMagicTableColumn: typeof TMagicTableColumn;
|
|
2232
|
-
TMagicTooltip: typeof TMagicTooltip;
|
|
2233
|
-
TMagicUpload: typeof TMagicUpload;
|
|
2234
|
-
Container: typeof _default$r;
|
|
2235
|
-
mForm: typeof mForm;
|
|
2236
|
-
tMagicTable: typeof tMagicTable;
|
|
2237
|
-
excelBtn: typeof excelBtn;
|
|
2238
|
-
mTable: typeof mTable;
|
|
2239
|
-
pagesize: typeof pagesize;
|
|
2240
|
-
pagecontext: typeof pagecontext;
|
|
2241
|
-
updateKey: typeof updateKey;
|
|
2242
|
-
isFullscreen: typeof isFullscreen;
|
|
2243
|
-
modelName: typeof modelName;
|
|
2244
|
-
data: typeof data;
|
|
2245
|
-
lastData: typeof lastData;
|
|
2246
|
-
sortChange: typeof sortChange;
|
|
2247
|
-
newHandler: typeof newHandler;
|
|
2248
|
-
addable: typeof addable;
|
|
2249
|
-
selection: typeof selection;
|
|
2250
|
-
importable: typeof importable;
|
|
2251
|
-
display: typeof display;
|
|
2252
|
-
itemExtra: typeof itemExtra;
|
|
2253
|
-
removeHandler: typeof removeHandler;
|
|
2254
|
-
selectHandle: typeof selectHandle;
|
|
2255
|
-
makeConfig: typeof makeConfig;
|
|
2256
|
-
upHandler: typeof upHandler;
|
|
2257
|
-
topHandler: typeof topHandler;
|
|
2258
|
-
downHandler: typeof downHandler;
|
|
2259
|
-
bottomHandler: typeof bottomHandler;
|
|
2260
|
-
showDelete: typeof showDelete;
|
|
2261
|
-
copyable: typeof copyable;
|
|
2262
|
-
clearHandler: typeof clearHandler;
|
|
2263
|
-
excelHandler: typeof excelHandler;
|
|
2264
|
-
handleSizeChange: typeof handleSizeChange;
|
|
2265
|
-
handleCurrentChange: typeof handleCurrentChange;
|
|
2266
|
-
copyHandler: typeof copyHandler;
|
|
2267
|
-
toggleMode: typeof toggleMode;
|
|
2268
|
-
toggleFullscreen: typeof toggleFullscreen;
|
|
2269
|
-
getProp: typeof getProp;
|
|
2270
|
-
onAddDiffCount: typeof onAddDiffCount;
|
|
2271
|
-
changeHandler: typeof changeHandler;
|
|
2272
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
2273
|
-
change: (...args: any[]) => void;
|
|
2274
|
-
select: (...args: any[]) => void;
|
|
2275
|
-
addDiffCount: (...args: any[]) => void;
|
|
2276
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
2277
|
-
onChange?: ((...args: any[]) => any) | undefined;
|
|
2278
|
-
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2279
|
-
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
2280
|
-
}>, {
|
|
2281
|
-
prop: string;
|
|
2282
|
-
lastValues: any;
|
|
2283
|
-
isCompare: boolean;
|
|
2284
|
-
enableToggleMode: boolean;
|
|
2285
|
-
showIndex: boolean;
|
|
2286
|
-
sortKey: string;
|
|
2287
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
2288
|
-
declare const __VLS_component: vue.DefineComponent<__VLS_Props$l, {
|
|
1037
|
+
default?: (props: typeof __VLS_111) => any;
|
|
1038
|
+
};
|
|
1039
|
+
declare const __VLS_component: _vue_runtime_core.DefineComponent<__VLS_Props$l, {
|
|
2289
1040
|
toggleRowSelection: (row: any, selected: boolean) => void;
|
|
2290
|
-
}, {}, {}, {},
|
|
1041
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2291
1042
|
change: (...args: any[]) => void;
|
|
2292
1043
|
select: (...args: any[]) => void;
|
|
2293
1044
|
addDiffCount: (...args: any[]) => void;
|
|
2294
|
-
}, string,
|
|
1045
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$l> & Readonly<{
|
|
2295
1046
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2296
1047
|
onSelect?: ((...args: any[]) => any) | undefined;
|
|
2297
1048
|
onAddDiffCount?: ((...args: any[]) => any) | undefined;
|
|
@@ -2302,7 +1053,7 @@ declare const __VLS_component: vue.DefineComponent<__VLS_Props$l, {
|
|
|
2302
1053
|
enableToggleMode: boolean;
|
|
2303
1054
|
showIndex: boolean;
|
|
2304
1055
|
sortKey: string;
|
|
2305
|
-
}, {}, {}, {}, string,
|
|
1056
|
+
}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2306
1057
|
declare const _default$m: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
|
|
2307
1058
|
|
|
2308
1059
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -2322,134 +1073,134 @@ type __VLS_Props$k = {
|
|
|
2322
1073
|
size?: string;
|
|
2323
1074
|
disabled?: boolean;
|
|
2324
1075
|
};
|
|
2325
|
-
declare const _default$l:
|
|
1076
|
+
declare const _default$l: _vue_runtime_core.DefineComponent<__VLS_Props$k, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2326
1077
|
change: (v: any, eventData?: ContainerChangeEventData | undefined) => any;
|
|
2327
1078
|
addDiffCount: () => any;
|
|
2328
|
-
}, string,
|
|
1079
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$k> & Readonly<{
|
|
2329
1080
|
onChange?: ((v: any, eventData?: ContainerChangeEventData | undefined) => any) | undefined;
|
|
2330
1081
|
onAddDiffCount?: (() => any) | undefined;
|
|
2331
|
-
}>, {}, {}, {}, {}, string,
|
|
1082
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2332
1083
|
|
|
2333
1084
|
type __VLS_Props$j = FieldProps<TextConfig>;
|
|
2334
|
-
declare const _default$k:
|
|
1085
|
+
declare const _default$k: _vue_runtime_core.DefineComponent<__VLS_Props$j, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2335
1086
|
change: (value: string) => any;
|
|
2336
1087
|
input: (value: string) => any;
|
|
2337
|
-
}, string,
|
|
1088
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$j> & Readonly<{
|
|
2338
1089
|
onChange?: ((value: string) => any) | undefined;
|
|
2339
1090
|
onInput?: ((value: string) => any) | undefined;
|
|
2340
|
-
}>, {}, {}, {}, {}, string,
|
|
1091
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2341
1092
|
|
|
2342
1093
|
type __VLS_Props$i = FieldProps<NumberConfig>;
|
|
2343
|
-
declare const _default$j:
|
|
1094
|
+
declare const _default$j: _vue_runtime_core.DefineComponent<__VLS_Props$i, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2344
1095
|
change: (values: number) => any;
|
|
2345
1096
|
input: (values: number) => any;
|
|
2346
|
-
}, string,
|
|
1097
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$i> & Readonly<{
|
|
2347
1098
|
onChange?: ((values: number) => any) | undefined;
|
|
2348
1099
|
onInput?: ((values: number) => any) | undefined;
|
|
2349
|
-
}>, {}, {}, {}, {}, string,
|
|
1100
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2350
1101
|
|
|
2351
1102
|
type __VLS_Props$h = FieldProps<NumberRangeConfig>;
|
|
2352
|
-
declare const _default$i:
|
|
1103
|
+
declare const _default$i: _vue_runtime_core.DefineComponent<__VLS_Props$h, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2353
1104
|
change: (values: [number, number]) => any;
|
|
2354
|
-
}, string,
|
|
1105
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$h> & Readonly<{
|
|
2355
1106
|
onChange?: ((values: [number, number]) => any) | undefined;
|
|
2356
|
-
}>, {}, {}, {}, {}, string,
|
|
1107
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2357
1108
|
|
|
2358
1109
|
type __VLS_Props$g = FieldProps<TextareaConfig>;
|
|
2359
|
-
declare const _default$h:
|
|
1110
|
+
declare const _default$h: _vue_runtime_core.DefineComponent<__VLS_Props$g, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2360
1111
|
change: (value: string) => any;
|
|
2361
1112
|
input: (value: string) => any;
|
|
2362
|
-
}, string,
|
|
1113
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$g> & Readonly<{
|
|
2363
1114
|
onChange?: ((value: string) => any) | undefined;
|
|
2364
1115
|
onInput?: ((value: string) => any) | undefined;
|
|
2365
|
-
}>, {}, {}, {}, {}, string,
|
|
1116
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2366
1117
|
|
|
2367
1118
|
type __VLS_Props$f = FieldProps<HiddenConfig>;
|
|
2368
|
-
declare const _default$g:
|
|
1119
|
+
declare const _default$g: _vue_runtime_core.DefineComponent<__VLS_Props$f, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$f> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2369
1120
|
|
|
2370
1121
|
type __VLS_Props$e = FieldProps<DateConfig>;
|
|
2371
|
-
declare const _default$f:
|
|
1122
|
+
declare const _default$f: _vue_runtime_core.DefineComponent<__VLS_Props$e, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2372
1123
|
change: (value: string) => any;
|
|
2373
|
-
}, string,
|
|
1124
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$e> & Readonly<{
|
|
2374
1125
|
onChange?: ((value: string) => any) | undefined;
|
|
2375
|
-
}>, {}, {}, {}, {}, string,
|
|
1126
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2376
1127
|
|
|
2377
1128
|
type __VLS_Props$d = FieldProps<DateTimeConfig>;
|
|
2378
|
-
declare const _default$e:
|
|
1129
|
+
declare const _default$e: _vue_runtime_core.DefineComponent<__VLS_Props$d, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2379
1130
|
change: (value: string) => any;
|
|
2380
|
-
}, string,
|
|
1131
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$d> & Readonly<{
|
|
2381
1132
|
onChange?: ((value: string) => any) | undefined;
|
|
2382
|
-
}>, {}, {}, {}, {}, string,
|
|
1133
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2383
1134
|
|
|
2384
1135
|
type __VLS_Props$c = FieldProps<TimeConfig>;
|
|
2385
|
-
declare const _default$d:
|
|
1136
|
+
declare const _default$d: _vue_runtime_core.DefineComponent<__VLS_Props$c, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2386
1137
|
change: (value: string) => any;
|
|
2387
|
-
}, string,
|
|
1138
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$c> & Readonly<{
|
|
2388
1139
|
onChange?: ((value: string) => any) | undefined;
|
|
2389
|
-
}>, {}, {}, {}, {}, string,
|
|
1140
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2390
1141
|
|
|
2391
1142
|
type __VLS_Props$b = FieldProps<CheckboxConfig>;
|
|
2392
|
-
declare const _default$c:
|
|
1143
|
+
declare const _default$c: _vue_runtime_core.DefineComponent<__VLS_Props$b, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2393
1144
|
change: (...args: any[]) => void;
|
|
2394
|
-
}, string,
|
|
1145
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$b> & Readonly<{
|
|
2395
1146
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2396
|
-
}>, {}, {}, {}, {}, string,
|
|
1147
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2397
1148
|
|
|
2398
1149
|
type __VLS_Props$a = FieldProps<SwitchConfig>;
|
|
2399
|
-
declare const _default$b:
|
|
1150
|
+
declare const _default$b: _vue_runtime_core.DefineComponent<__VLS_Props$a, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2400
1151
|
change: (value: any) => any;
|
|
2401
|
-
}, string,
|
|
1152
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$a> & Readonly<{
|
|
2402
1153
|
onChange?: ((value: any) => any) | undefined;
|
|
2403
|
-
}>, {}, {}, {}, {}, string,
|
|
1154
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2404
1155
|
|
|
2405
1156
|
type __VLS_Props$9 = FieldProps<DaterangeConfig>;
|
|
2406
|
-
declare const _default$a:
|
|
1157
|
+
declare const _default$a: _vue_runtime_core.DefineComponent<__VLS_Props$9, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2407
1158
|
change: (...args: any[]) => void;
|
|
2408
|
-
}, string,
|
|
1159
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$9> & Readonly<{
|
|
2409
1160
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2410
|
-
}>, {}, {}, {}, {}, string,
|
|
1161
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2411
1162
|
|
|
2412
1163
|
type __VLS_Props$8 = FieldProps<DaterangeConfig>;
|
|
2413
|
-
declare const _default$9:
|
|
1164
|
+
declare const _default$9: _vue_runtime_core.DefineComponent<__VLS_Props$8, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2414
1165
|
change: (...args: any[]) => void;
|
|
2415
|
-
}, string,
|
|
1166
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$8> & Readonly<{
|
|
2416
1167
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2417
|
-
}>, {}, {}, {}, {}, string,
|
|
1168
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2418
1169
|
|
|
2419
1170
|
type __VLS_Props$7 = FieldProps<ColorPickConfig>;
|
|
2420
|
-
declare const _default$8:
|
|
1171
|
+
declare const _default$8: _vue_runtime_core.DefineComponent<__VLS_Props$7, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2421
1172
|
change: (value: string) => any;
|
|
2422
|
-
}, string,
|
|
1173
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$7> & Readonly<{
|
|
2423
1174
|
onChange?: ((value: string) => any) | undefined;
|
|
2424
|
-
}>, {}, {}, {}, {}, string,
|
|
1175
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2425
1176
|
|
|
2426
1177
|
type __VLS_Props$6 = FieldProps<CheckboxGroupConfig>;
|
|
2427
|
-
declare const _default$7:
|
|
1178
|
+
declare const _default$7: _vue_runtime_core.DefineComponent<__VLS_Props$6, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2428
1179
|
change: (...args: any[]) => void;
|
|
2429
|
-
}, string,
|
|
1180
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$6> & Readonly<{
|
|
2430
1181
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2431
|
-
}>, {}, {}, {}, {}, string,
|
|
1182
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2432
1183
|
|
|
2433
1184
|
type __VLS_Props$5 = FieldProps<RadioGroupConfig>;
|
|
2434
|
-
declare const _default$6:
|
|
1185
|
+
declare const _default$6: _vue_runtime_core.DefineComponent<__VLS_Props$5, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2435
1186
|
change: (...args: any[]) => void;
|
|
2436
|
-
}, string,
|
|
1187
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$5> & Readonly<{
|
|
2437
1188
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2438
|
-
}>, {}, {}, {}, {}, string,
|
|
1189
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2439
1190
|
|
|
2440
1191
|
type __VLS_Props$4 = FieldProps<DisplayConfig>;
|
|
2441
|
-
declare const _default$5:
|
|
1192
|
+
declare const _default$5: _vue_runtime_core.DefineComponent<__VLS_Props$4, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$4> & Readonly<{}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2442
1193
|
|
|
2443
1194
|
type __VLS_Props$3 = FieldProps<LinkConfig>;
|
|
2444
|
-
declare const _default$4:
|
|
1195
|
+
declare const _default$4: _vue_runtime_core.DefineComponent<__VLS_Props$3, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2445
1196
|
change: (...args: any[]) => void;
|
|
2446
|
-
}, string,
|
|
1197
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$3> & Readonly<{
|
|
2447
1198
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2448
|
-
}>, {}, {}, {}, {}, string,
|
|
1199
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2449
1200
|
|
|
2450
1201
|
type __VLS_Props$2 = FieldProps<SelectConfig>;
|
|
2451
|
-
declare const _default$3:
|
|
2452
|
-
options:
|
|
1202
|
+
declare const _default$3: _vue_runtime_core.DefineComponent<__VLS_Props$2, {
|
|
1203
|
+
options: _vue_reactivity.Ref<{
|
|
2453
1204
|
text: string;
|
|
2454
1205
|
value: any;
|
|
2455
1206
|
disabled?: boolean | undefined;
|
|
@@ -2477,25 +1228,25 @@ declare const _default$3: vue.DefineComponent<__VLS_Props$2, {
|
|
|
2477
1228
|
}[];
|
|
2478
1229
|
}[]>;
|
|
2479
1230
|
setOptions: (data: SelectOption[] | SelectGroupOption[]) => void;
|
|
2480
|
-
}, {}, {}, {},
|
|
1231
|
+
}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2481
1232
|
change: (...args: any[]) => void;
|
|
2482
|
-
}, string,
|
|
1233
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$2> & Readonly<{
|
|
2483
1234
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2484
|
-
}>, {}, {}, {}, {}, string,
|
|
1235
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2485
1236
|
|
|
2486
1237
|
type __VLS_Props$1 = FieldProps<CascaderConfig>;
|
|
2487
|
-
declare const _default$2:
|
|
1238
|
+
declare const _default$2: _vue_runtime_core.DefineComponent<__VLS_Props$1, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2488
1239
|
change: (...args: any[]) => void;
|
|
2489
|
-
}, string,
|
|
1240
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props$1> & Readonly<{
|
|
2490
1241
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2491
|
-
}>, {}, {}, {}, {}, string,
|
|
1242
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2492
1243
|
|
|
2493
1244
|
type __VLS_Props = FieldProps<DynamicFieldConfig>;
|
|
2494
|
-
declare const _default$1:
|
|
1245
|
+
declare const _default$1: _vue_runtime_core.DefineComponent<__VLS_Props, {}, {}, {}, {}, _vue_runtime_core.ComponentOptionsMixin, _vue_runtime_core.ComponentOptionsMixin, {
|
|
2495
1246
|
change: (...args: any[]) => void;
|
|
2496
|
-
}, string,
|
|
1247
|
+
}, string, _vue_runtime_core.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
2497
1248
|
onChange?: ((...args: any[]) => any) | undefined;
|
|
2498
|
-
}>, {}, {}, {}, {}, string,
|
|
1249
|
+
}>, {}, {}, {}, {}, string, _vue_runtime_core.ComponentProvideOptions, false, {}, any>;
|
|
2499
1250
|
|
|
2500
1251
|
declare const createForm: <T extends [] = []>(config: FormConfig | T) => FormConfig | T;
|
|
2501
1252
|
interface FormInstallOptions {
|
|
@@ -2505,5 +1256,5 @@ declare const _default: {
|
|
|
2505
1256
|
install(app: App, opt?: FormInstallOptions): void;
|
|
2506
1257
|
};
|
|
2507
1258
|
|
|
2508
|
-
export { _default$2 as MCascader, _default$c as MCheckbox, _default$7 as MCheckboxGroup, _default$8 as MColorPicker, _default$r as MContainer, _default$f as MDate, _default$e as MDateTime, _default$a as MDaterange, _default$5 as MDisplay, _default$1 as MDynamicField, _default$q as MFieldset, _default$v as MForm, _default$s as MFormBox, _default$u as MFormDialog, _default$t as MFormDrawer, _default$l as MGroupList, _default$g as MHidden, _default$4 as MLink, _default$j as MNumber, _default$i as MNumberRange, _default$p as MPanel, _default$6 as MRadioGroup, _default$o as MRow, _default$3 as MSelect, _default$b as MSwitch, _default$m as MTable, _default$n as MTabs, _default$k as MText, _default$h as MTextarea, _default$d as MTime, _default$9 as MTimerange, createForm, createValues, datetimeFormatter, _default as default, display
|
|
1259
|
+
export { _default$2 as MCascader, _default$c as MCheckbox, _default$7 as MCheckboxGroup, _default$8 as MColorPicker, _default$r as MContainer, _default$f as MDate, _default$e as MDateTime, _default$a as MDaterange, _default$5 as MDisplay, _default$1 as MDynamicField, _default$q as MFieldset, _default$v as MForm, _default$s as MFormBox, _default$u as MFormDialog, _default$t as MFormDrawer, _default$l as MGroupList, _default$g as MHidden, _default$4 as MLink, _default$j as MNumber, _default$i as MNumberRange, _default$p as MPanel, _default$6 as MRadioGroup, _default$o as MRow, _default$3 as MSelect, _default$b as MSwitch, _default$m as MTable, _default$n as MTabs, _default$k as MText, _default$h as MTextarea, _default$d as MTime, _default$9 as MTimerange, createForm, createValues, datetimeFormatter, _default as default, display, filterFunction, getRules, initValue, useAddField };
|
|
2509
1260
|
export type { ChangeRecord, ContainerChangeEventData, FormInstallOptions, ValidateError };
|