cnhis-design-vue 3.1.26-beta.3 → 3.1.26-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/form-config/index.d.ts +888 -872
- package/es/components/form-config/src/FormConfig.vue.d.ts +888 -872
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +444 -436
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +444 -436
- package/es/components/form-render/index.d.ts +445 -436
- package/es/components/form-render/index.js +5 -1
- package/es/components/form-render/src/FormRender.js +23 -9
- package/es/components/form-render/src/FormRender.vue.d.ts +1 -0
- package/es/components/form-render/src/FormRenderWrapper.js +46 -0
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +621 -0
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +2 -2
- package/es/components/form-render/src/components/renderer/simpleComponent.js +2 -2
- package/es/components/form-render/src/hooks/useFormContext.js +2 -2
- package/es/components/form-render/src/types/index.d.ts +3 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -1
- package/es/components/form-render/src/utils/index.js +26 -4
- package/es/components/iho-table/src/IhoTable.js +2 -1
- package/es/components/iho-table/src/constants/index.d.ts +4 -2
- package/es/components/iho-table/src/constants/index.js +9 -1
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +7 -0
- package/es/components/iho-table/src/hooks/useTableContext.js +15 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/types/index.d.ts +6 -2
- package/es/components/index.js +4 -0
- package/es/components/shortcut-setter/index.d.ts +444 -436
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +444 -436
- package/package.json +2 -2
|
@@ -153,38 +153,256 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
153
153
|
NButton: any;
|
|
154
154
|
NButtonGroup: any;
|
|
155
155
|
NPopconfirm: any;
|
|
156
|
-
CFormRender: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
156
|
+
CFormRender: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
157
|
+
formRenderRef: import("vue").Ref<import("../..").FormRenderExpose | undefined>;
|
|
158
|
+
key: import("vue").Ref<number>;
|
|
159
|
+
reload: () => Promise<void>;
|
|
160
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFieldState", "resetFields", "queryWidget"];
|
|
161
|
+
exposed: import("../../../../es/shared/types").AnyObject;
|
|
162
|
+
FormRender: import("vue").DefineComponent<{
|
|
163
|
+
fieldList: {
|
|
164
|
+
type: PropType<import("../..").FieldItem[]>;
|
|
165
|
+
};
|
|
166
|
+
initialData: {
|
|
167
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
168
|
+
default: () => {};
|
|
169
|
+
};
|
|
170
|
+
fieldVisitor: {
|
|
171
|
+
type: PropType<import("../..").FieldVisitor>;
|
|
172
|
+
};
|
|
173
|
+
column: {
|
|
174
|
+
type: NumberConstructor;
|
|
175
|
+
default: number;
|
|
176
|
+
};
|
|
177
|
+
maxHeight: {
|
|
178
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
179
|
+
default: string;
|
|
180
|
+
};
|
|
181
|
+
anchor: {
|
|
182
|
+
type: BooleanConstructor;
|
|
183
|
+
default: boolean;
|
|
184
|
+
};
|
|
185
|
+
parallelism: {
|
|
186
|
+
type: NumberConstructor;
|
|
187
|
+
default: number;
|
|
188
|
+
};
|
|
189
|
+
businessFormatter: {
|
|
190
|
+
type: PropType<import("../..").FormBusinessFormatter>;
|
|
191
|
+
};
|
|
192
|
+
schema: {
|
|
193
|
+
type: PropType<import("@formily/json-schema").Stringify<{
|
|
194
|
+
[key: symbol]: any;
|
|
195
|
+
[key: `x-${string}`]: any;
|
|
196
|
+
[key: `x-${number}`]: any;
|
|
197
|
+
version?: string | undefined;
|
|
198
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
199
|
+
title?: any;
|
|
200
|
+
description?: any;
|
|
201
|
+
default?: any;
|
|
202
|
+
readOnly?: boolean | undefined;
|
|
203
|
+
writeOnly?: boolean | undefined;
|
|
204
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
205
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
206
|
+
const?: any;
|
|
207
|
+
multipleOf?: number | undefined;
|
|
208
|
+
maximum?: number | undefined;
|
|
209
|
+
exclusiveMaximum?: number | undefined;
|
|
210
|
+
minimum?: number | undefined;
|
|
211
|
+
exclusiveMinimum?: number | undefined;
|
|
212
|
+
maxLength?: number | undefined;
|
|
213
|
+
minLength?: number | undefined;
|
|
214
|
+
pattern?: string | RegExp | undefined;
|
|
215
|
+
maxItems?: number | undefined;
|
|
216
|
+
minItems?: number | undefined;
|
|
217
|
+
uniqueItems?: boolean | undefined;
|
|
218
|
+
maxProperties?: number | undefined;
|
|
219
|
+
minProperties?: number | undefined;
|
|
220
|
+
required?: string | boolean | string[] | undefined;
|
|
221
|
+
format?: string | undefined;
|
|
222
|
+
$ref?: string | undefined;
|
|
223
|
+
$namespace?: string | undefined;
|
|
224
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
225
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
226
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
227
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
228
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
229
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
230
|
+
"x-value"?: any;
|
|
231
|
+
"x-index"?: number | undefined;
|
|
232
|
+
"x-pattern"?: any;
|
|
233
|
+
"x-display"?: any;
|
|
234
|
+
"x-validator"?: any;
|
|
235
|
+
"x-decorator"?: any;
|
|
236
|
+
"x-decorator-props"?: any;
|
|
237
|
+
"x-component"?: any;
|
|
238
|
+
"x-component-props"?: any;
|
|
239
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
240
|
+
"x-content"?: any;
|
|
241
|
+
"x-data"?: any;
|
|
242
|
+
"x-visible"?: boolean | undefined;
|
|
243
|
+
"x-hidden"?: boolean | undefined;
|
|
244
|
+
"x-disabled"?: boolean | undefined;
|
|
245
|
+
"x-editable"?: boolean | undefined;
|
|
246
|
+
"x-read-only"?: boolean | undefined;
|
|
247
|
+
"x-read-pretty"?: boolean | undefined;
|
|
248
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
249
|
+
}>>;
|
|
250
|
+
};
|
|
251
|
+
components: {
|
|
252
|
+
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
253
|
+
default: () => {};
|
|
254
|
+
};
|
|
255
|
+
scope: {
|
|
256
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
257
|
+
default: () => {};
|
|
258
|
+
};
|
|
259
|
+
annotation: {
|
|
260
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
261
|
+
};
|
|
262
|
+
consumer: {
|
|
263
|
+
type: BooleanConstructor;
|
|
264
|
+
default: boolean;
|
|
265
|
+
};
|
|
266
|
+
uuid: {
|
|
267
|
+
type: StringConstructor;
|
|
268
|
+
};
|
|
269
|
+
lifeCycle: {
|
|
270
|
+
type: PropType<Partial<{
|
|
271
|
+
onSetup(): void;
|
|
272
|
+
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
273
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
274
|
+
}>>;
|
|
275
|
+
};
|
|
276
|
+
}, {
|
|
277
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
278
|
+
fieldList: {
|
|
279
|
+
type: PropType<import("../..").FieldItem[]>;
|
|
280
|
+
};
|
|
281
|
+
initialData: {
|
|
282
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
283
|
+
default: () => {};
|
|
284
|
+
};
|
|
285
|
+
fieldVisitor: {
|
|
286
|
+
type: PropType<import("../..").FieldVisitor>;
|
|
287
|
+
};
|
|
288
|
+
column: {
|
|
289
|
+
type: NumberConstructor;
|
|
290
|
+
default: number;
|
|
291
|
+
};
|
|
292
|
+
maxHeight: {
|
|
293
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
anchor: {
|
|
297
|
+
type: BooleanConstructor;
|
|
298
|
+
default: boolean;
|
|
299
|
+
};
|
|
300
|
+
parallelism: {
|
|
301
|
+
type: NumberConstructor;
|
|
302
|
+
default: number;
|
|
303
|
+
};
|
|
304
|
+
businessFormatter: {
|
|
305
|
+
type: PropType<import("../..").FormBusinessFormatter>;
|
|
306
|
+
};
|
|
307
|
+
schema: {
|
|
308
|
+
type: PropType<import("@formily/json-schema").Stringify<{
|
|
309
|
+
[key: symbol]: any;
|
|
310
|
+
[key: `x-${string}`]: any;
|
|
311
|
+
[key: `x-${number}`]: any;
|
|
312
|
+
version?: string | undefined;
|
|
313
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
314
|
+
title?: any;
|
|
315
|
+
description?: any;
|
|
316
|
+
default?: any;
|
|
317
|
+
readOnly?: boolean | undefined;
|
|
318
|
+
writeOnly?: boolean | undefined;
|
|
319
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
320
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
321
|
+
const?: any;
|
|
322
|
+
multipleOf?: number | undefined;
|
|
323
|
+
maximum?: number | undefined;
|
|
324
|
+
exclusiveMaximum?: number | undefined;
|
|
325
|
+
minimum?: number | undefined;
|
|
326
|
+
exclusiveMinimum?: number | undefined;
|
|
327
|
+
maxLength?: number | undefined;
|
|
328
|
+
minLength?: number | undefined;
|
|
329
|
+
pattern?: string | RegExp | undefined;
|
|
330
|
+
maxItems?: number | undefined;
|
|
331
|
+
minItems?: number | undefined;
|
|
332
|
+
uniqueItems?: boolean | undefined;
|
|
333
|
+
maxProperties?: number | undefined;
|
|
334
|
+
minProperties?: number | undefined;
|
|
335
|
+
required?: string | boolean | string[] | undefined;
|
|
336
|
+
format?: string | undefined;
|
|
337
|
+
$ref?: string | undefined;
|
|
338
|
+
$namespace?: string | undefined;
|
|
339
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
340
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
341
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
342
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
343
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
344
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
345
|
+
"x-value"?: any;
|
|
346
|
+
"x-index"?: number | undefined;
|
|
347
|
+
"x-pattern"?: any;
|
|
348
|
+
"x-display"?: any;
|
|
349
|
+
"x-validator"?: any;
|
|
350
|
+
"x-decorator"?: any;
|
|
351
|
+
"x-decorator-props"?: any;
|
|
352
|
+
"x-component"?: any;
|
|
353
|
+
"x-component-props"?: any;
|
|
354
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
355
|
+
"x-content"?: any;
|
|
356
|
+
"x-data"?: any;
|
|
357
|
+
"x-visible"?: boolean | undefined;
|
|
358
|
+
"x-hidden"?: boolean | undefined;
|
|
359
|
+
"x-disabled"?: boolean | undefined;
|
|
360
|
+
"x-editable"?: boolean | undefined;
|
|
361
|
+
"x-read-only"?: boolean | undefined;
|
|
362
|
+
"x-read-pretty"?: boolean | undefined;
|
|
363
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
364
|
+
}>>;
|
|
365
|
+
};
|
|
366
|
+
components: {
|
|
367
|
+
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
368
|
+
default: () => {};
|
|
369
|
+
};
|
|
370
|
+
scope: {
|
|
371
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
372
|
+
default: () => {};
|
|
373
|
+
};
|
|
374
|
+
annotation: {
|
|
375
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
376
|
+
};
|
|
377
|
+
consumer: {
|
|
378
|
+
type: BooleanConstructor;
|
|
379
|
+
default: boolean;
|
|
380
|
+
};
|
|
381
|
+
uuid: {
|
|
382
|
+
type: StringConstructor;
|
|
383
|
+
};
|
|
384
|
+
lifeCycle: {
|
|
385
|
+
type: PropType<Partial<{
|
|
386
|
+
onSetup(): void;
|
|
387
|
+
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
388
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
389
|
+
}>>;
|
|
390
|
+
};
|
|
391
|
+
}>> & {
|
|
392
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
393
|
+
}>>;
|
|
394
|
+
emit: (event: "formChange", ...args: any[]) => void;
|
|
395
|
+
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
396
|
+
formModel: import("@formily/core").Form<{
|
|
397
|
+
[x: string]: any;
|
|
398
|
+
}>;
|
|
399
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
400
|
+
businessCollector: import("../..").BusinessCollector;
|
|
401
|
+
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
402
|
+
changeContextCollector: import("../..").ContextCollector;
|
|
403
|
+
formUUID: string;
|
|
404
|
+
scrollbarRef: import("vue").Ref<HTMLElement | undefined>;
|
|
405
|
+
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
188
406
|
[key: symbol]: any;
|
|
189
407
|
[key: `x-${string}`]: any;
|
|
190
408
|
[key: `x-${number}`]: any;
|
|
@@ -241,34 +459,192 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
241
459
|
"x-read-pretty"?: boolean | undefined;
|
|
242
460
|
"x-compile-omitted"?: string[] | undefined;
|
|
243
461
|
}>>;
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
462
|
+
_fieldList: import("../..").FieldItem[];
|
|
463
|
+
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
464
|
+
[key: symbol]: any;
|
|
465
|
+
[key: `x-${string}`]: any;
|
|
466
|
+
[key: `x-${number}`]: any;
|
|
467
|
+
version?: string | undefined;
|
|
468
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
469
|
+
title?: any;
|
|
470
|
+
description?: any;
|
|
471
|
+
default?: any;
|
|
472
|
+
readOnly?: boolean | undefined;
|
|
473
|
+
writeOnly?: boolean | undefined;
|
|
474
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
475
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
476
|
+
const?: any;
|
|
477
|
+
multipleOf?: number | undefined;
|
|
478
|
+
maximum?: number | undefined;
|
|
479
|
+
exclusiveMaximum?: number | undefined;
|
|
480
|
+
minimum?: number | undefined;
|
|
481
|
+
exclusiveMinimum?: number | undefined;
|
|
482
|
+
maxLength?: number | undefined;
|
|
483
|
+
minLength?: number | undefined;
|
|
484
|
+
pattern?: string | RegExp | undefined;
|
|
485
|
+
maxItems?: number | undefined;
|
|
486
|
+
minItems?: number | undefined;
|
|
487
|
+
uniqueItems?: boolean | undefined;
|
|
488
|
+
maxProperties?: number | undefined;
|
|
489
|
+
minProperties?: number | undefined;
|
|
490
|
+
required?: string | boolean | string[] | undefined;
|
|
491
|
+
format?: string | undefined;
|
|
492
|
+
$ref?: string | undefined;
|
|
493
|
+
$namespace?: string | undefined;
|
|
494
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
495
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
496
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
497
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
498
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
499
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
500
|
+
"x-value"?: any;
|
|
501
|
+
"x-index"?: number | undefined;
|
|
502
|
+
"x-pattern"?: any;
|
|
503
|
+
"x-display"?: any;
|
|
504
|
+
"x-validator"?: any;
|
|
505
|
+
"x-decorator"?: any;
|
|
506
|
+
"x-decorator-props"?: any;
|
|
507
|
+
"x-component"?: any;
|
|
508
|
+
"x-component-props"?: any;
|
|
509
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
510
|
+
"x-content"?: any;
|
|
511
|
+
"x-data"?: any;
|
|
512
|
+
"x-visible"?: boolean | undefined;
|
|
513
|
+
"x-hidden"?: boolean | undefined;
|
|
514
|
+
"x-disabled"?: boolean | undefined;
|
|
515
|
+
"x-editable"?: boolean | undefined;
|
|
516
|
+
"x-read-only"?: boolean | undefined;
|
|
517
|
+
"x-read-pretty"?: boolean | undefined;
|
|
518
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
268
519
|
}>>;
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
520
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
521
|
+
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
522
|
+
[key: symbol]: any;
|
|
523
|
+
[key: `x-${string}`]: any;
|
|
524
|
+
[key: `x-${number}`]: any;
|
|
525
|
+
version?: string | undefined;
|
|
526
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
527
|
+
title?: any;
|
|
528
|
+
description?: any;
|
|
529
|
+
default?: any;
|
|
530
|
+
readOnly?: boolean | undefined;
|
|
531
|
+
writeOnly?: boolean | undefined;
|
|
532
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
533
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
534
|
+
const?: any;
|
|
535
|
+
multipleOf?: number | undefined;
|
|
536
|
+
maximum?: number | undefined;
|
|
537
|
+
exclusiveMaximum?: number | undefined;
|
|
538
|
+
minimum?: number | undefined;
|
|
539
|
+
exclusiveMinimum?: number | undefined;
|
|
540
|
+
maxLength?: number | undefined;
|
|
541
|
+
minLength?: number | undefined;
|
|
542
|
+
pattern?: string | RegExp | undefined;
|
|
543
|
+
maxItems?: number | undefined;
|
|
544
|
+
minItems?: number | undefined;
|
|
545
|
+
uniqueItems?: boolean | undefined;
|
|
546
|
+
maxProperties?: number | undefined;
|
|
547
|
+
minProperties?: number | undefined;
|
|
548
|
+
required?: string | boolean | string[] | undefined;
|
|
549
|
+
format?: string | undefined;
|
|
550
|
+
$ref?: string | undefined;
|
|
551
|
+
$namespace?: string | undefined;
|
|
552
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
553
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
554
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
555
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
556
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
557
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
558
|
+
"x-value"?: any;
|
|
559
|
+
"x-index"?: number | undefined;
|
|
560
|
+
"x-pattern"?: any;
|
|
561
|
+
"x-display"?: any;
|
|
562
|
+
"x-validator"?: any;
|
|
563
|
+
"x-decorator"?: any;
|
|
564
|
+
"x-decorator-props"?: any;
|
|
565
|
+
"x-component"?: any;
|
|
566
|
+
"x-component-props"?: any;
|
|
567
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
568
|
+
"x-content"?: any;
|
|
569
|
+
"x-data"?: any;
|
|
570
|
+
"x-visible"?: boolean | undefined;
|
|
571
|
+
"x-hidden"?: boolean | undefined;
|
|
572
|
+
"x-disabled"?: boolean | undefined;
|
|
573
|
+
"x-editable"?: boolean | undefined;
|
|
574
|
+
"x-read-only"?: boolean | undefined;
|
|
575
|
+
"x-read-pretty"?: boolean | undefined;
|
|
576
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
577
|
+
}>) => void;
|
|
578
|
+
anchorIdList: import("vue").Ref<{
|
|
579
|
+
name: string;
|
|
580
|
+
title: string;
|
|
581
|
+
}[]>;
|
|
582
|
+
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
583
|
+
onScroll: () => void;
|
|
584
|
+
queryWidget: (key: string, wrapperElement: HTMLElement, fieldList: import("../..").FieldItem[]) => Promise<{
|
|
585
|
+
widgetElement: HTMLInputElement | null | undefined;
|
|
586
|
+
widgetElementList: HTMLInputElement[];
|
|
587
|
+
decoratorElement: HTMLElement | null | undefined;
|
|
588
|
+
}>;
|
|
589
|
+
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
590
|
+
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
591
|
+
form: any;
|
|
592
|
+
}>;
|
|
593
|
+
NForm: any;
|
|
594
|
+
NTabPane: import("vue").DefineComponent<{
|
|
595
|
+
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
596
|
+
[key: string]: any;
|
|
597
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
598
|
+
readonly name: {
|
|
599
|
+
readonly type: PropType<string | number>;
|
|
600
|
+
readonly required: true;
|
|
601
|
+
};
|
|
602
|
+
readonly disabled: BooleanConstructor;
|
|
603
|
+
readonly displayDirective: {
|
|
604
|
+
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
605
|
+
readonly default: "if";
|
|
606
|
+
};
|
|
607
|
+
readonly closable: {
|
|
608
|
+
readonly type: PropType<boolean | undefined>;
|
|
609
|
+
readonly default: undefined;
|
|
610
|
+
};
|
|
611
|
+
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
612
|
+
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
613
|
+
[key: string]: any;
|
|
614
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
615
|
+
}, {
|
|
616
|
+
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
617
|
+
class: import("vue").Ref<string | undefined>;
|
|
618
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
619
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
620
|
+
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
621
|
+
[key: string]: any;
|
|
622
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
623
|
+
readonly name: {
|
|
624
|
+
readonly type: PropType<string | number>;
|
|
625
|
+
readonly required: true;
|
|
626
|
+
};
|
|
627
|
+
readonly disabled: BooleanConstructor;
|
|
628
|
+
readonly displayDirective: {
|
|
629
|
+
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
630
|
+
readonly default: "if";
|
|
631
|
+
};
|
|
632
|
+
readonly closable: {
|
|
633
|
+
readonly type: PropType<boolean | undefined>;
|
|
634
|
+
readonly default: undefined;
|
|
635
|
+
};
|
|
636
|
+
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
637
|
+
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
638
|
+
[key: string]: any;
|
|
639
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
640
|
+
}>>, {
|
|
641
|
+
readonly disabled: boolean;
|
|
642
|
+
readonly closable: boolean | undefined;
|
|
643
|
+
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
644
|
+
}>;
|
|
645
|
+
NTabs: any;
|
|
646
|
+
NConfigProvider: any;
|
|
647
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "formChange"[], "formChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
272
648
|
fieldList: {
|
|
273
649
|
type: PropType<import("../..").FieldItem[]>;
|
|
274
650
|
};
|
|
@@ -384,385 +760,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
384
760
|
};
|
|
385
761
|
}>> & {
|
|
386
762
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
387
|
-
}>>;
|
|
388
|
-
emit: (event: "formChange", ...args: any[]) => void;
|
|
389
|
-
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
390
|
-
formModel: import("@formily/core").Form<{
|
|
391
|
-
[x: string]: any;
|
|
392
|
-
}>;
|
|
393
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
394
|
-
businessCollector: import("../..").BusinessCollector;
|
|
395
|
-
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
396
|
-
changeContextCollector: import("../..").ContextCollector;
|
|
397
|
-
formUUID: string;
|
|
398
|
-
scrollbarRef: import("vue").Ref<HTMLElement | undefined>;
|
|
399
|
-
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
400
|
-
[key: symbol]: any;
|
|
401
|
-
[key: `x-${string}`]: any;
|
|
402
|
-
[key: `x-${number}`]: any;
|
|
403
|
-
version?: string | undefined;
|
|
404
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
405
|
-
title?: any;
|
|
406
|
-
description?: any;
|
|
407
|
-
default?: any;
|
|
408
|
-
readOnly?: boolean | undefined;
|
|
409
|
-
writeOnly?: boolean | undefined;
|
|
410
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
411
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
412
|
-
const?: any;
|
|
413
|
-
multipleOf?: number | undefined;
|
|
414
|
-
maximum?: number | undefined;
|
|
415
|
-
exclusiveMaximum?: number | undefined;
|
|
416
|
-
minimum?: number | undefined;
|
|
417
|
-
exclusiveMinimum?: number | undefined;
|
|
418
|
-
maxLength?: number | undefined;
|
|
419
|
-
minLength?: number | undefined;
|
|
420
|
-
pattern?: string | RegExp | undefined;
|
|
421
|
-
maxItems?: number | undefined;
|
|
422
|
-
minItems?: number | undefined;
|
|
423
|
-
uniqueItems?: boolean | undefined;
|
|
424
|
-
maxProperties?: number | undefined;
|
|
425
|
-
minProperties?: number | undefined;
|
|
426
|
-
required?: string | boolean | string[] | undefined;
|
|
427
|
-
format?: string | undefined;
|
|
428
|
-
$ref?: string | undefined;
|
|
429
|
-
$namespace?: string | undefined;
|
|
430
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
431
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
432
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
433
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
434
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
435
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
436
|
-
"x-value"?: any;
|
|
437
|
-
"x-index"?: number | undefined;
|
|
438
|
-
"x-pattern"?: any;
|
|
439
|
-
"x-display"?: any;
|
|
440
|
-
"x-validator"?: any;
|
|
441
|
-
"x-decorator"?: any;
|
|
442
|
-
"x-decorator-props"?: any;
|
|
443
|
-
"x-component"?: any;
|
|
444
|
-
"x-component-props"?: any;
|
|
445
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
446
|
-
"x-content"?: any;
|
|
447
|
-
"x-data"?: any;
|
|
448
|
-
"x-visible"?: boolean | undefined;
|
|
449
|
-
"x-hidden"?: boolean | undefined;
|
|
450
|
-
"x-disabled"?: boolean | undefined;
|
|
451
|
-
"x-editable"?: boolean | undefined;
|
|
452
|
-
"x-read-only"?: boolean | undefined;
|
|
453
|
-
"x-read-pretty"?: boolean | undefined;
|
|
454
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
455
|
-
}>>;
|
|
456
|
-
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
457
|
-
[key: symbol]: any;
|
|
458
|
-
[key: `x-${string}`]: any;
|
|
459
|
-
[key: `x-${number}`]: any;
|
|
460
|
-
version?: string | undefined;
|
|
461
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
462
|
-
title?: any;
|
|
463
|
-
description?: any;
|
|
464
|
-
default?: any;
|
|
465
|
-
readOnly?: boolean | undefined;
|
|
466
|
-
writeOnly?: boolean | undefined;
|
|
467
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
468
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
469
|
-
const?: any;
|
|
470
|
-
multipleOf?: number | undefined;
|
|
471
|
-
maximum?: number | undefined;
|
|
472
|
-
exclusiveMaximum?: number | undefined;
|
|
473
|
-
minimum?: number | undefined;
|
|
474
|
-
exclusiveMinimum?: number | undefined;
|
|
475
|
-
maxLength?: number | undefined;
|
|
476
|
-
minLength?: number | undefined;
|
|
477
|
-
pattern?: string | RegExp | undefined;
|
|
478
|
-
maxItems?: number | undefined;
|
|
479
|
-
minItems?: number | undefined;
|
|
480
|
-
uniqueItems?: boolean | undefined;
|
|
481
|
-
maxProperties?: number | undefined;
|
|
482
|
-
minProperties?: number | undefined;
|
|
483
|
-
required?: string | boolean | string[] | undefined;
|
|
484
|
-
format?: string | undefined;
|
|
485
|
-
$ref?: string | undefined;
|
|
486
|
-
$namespace?: string | undefined;
|
|
487
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
488
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
489
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
490
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
491
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
492
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
493
|
-
"x-value"?: any;
|
|
494
|
-
"x-index"?: number | undefined;
|
|
495
|
-
"x-pattern"?: any;
|
|
496
|
-
"x-display"?: any;
|
|
497
|
-
"x-validator"?: any;
|
|
498
|
-
"x-decorator"?: any;
|
|
499
|
-
"x-decorator-props"?: any;
|
|
500
|
-
"x-component"?: any;
|
|
501
|
-
"x-component-props"?: any;
|
|
502
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
503
|
-
"x-content"?: any;
|
|
504
|
-
"x-data"?: any;
|
|
505
|
-
"x-visible"?: boolean | undefined;
|
|
506
|
-
"x-hidden"?: boolean | undefined;
|
|
507
|
-
"x-disabled"?: boolean | undefined;
|
|
508
|
-
"x-editable"?: boolean | undefined;
|
|
509
|
-
"x-read-only"?: boolean | undefined;
|
|
510
|
-
"x-read-pretty"?: boolean | undefined;
|
|
511
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
512
|
-
}>>;
|
|
513
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
514
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
515
|
-
[key: symbol]: any;
|
|
516
|
-
[key: `x-${string}`]: any;
|
|
517
|
-
[key: `x-${number}`]: any;
|
|
518
|
-
version?: string | undefined;
|
|
519
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
520
|
-
title?: any;
|
|
521
|
-
description?: any;
|
|
522
|
-
default?: any;
|
|
523
|
-
readOnly?: boolean | undefined;
|
|
524
|
-
writeOnly?: boolean | undefined;
|
|
525
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
526
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
527
|
-
const?: any;
|
|
528
|
-
multipleOf?: number | undefined;
|
|
529
|
-
maximum?: number | undefined;
|
|
530
|
-
exclusiveMaximum?: number | undefined;
|
|
531
|
-
minimum?: number | undefined;
|
|
532
|
-
exclusiveMinimum?: number | undefined;
|
|
533
|
-
maxLength?: number | undefined;
|
|
534
|
-
minLength?: number | undefined;
|
|
535
|
-
pattern?: string | RegExp | undefined;
|
|
536
|
-
maxItems?: number | undefined;
|
|
537
|
-
minItems?: number | undefined;
|
|
538
|
-
uniqueItems?: boolean | undefined;
|
|
539
|
-
maxProperties?: number | undefined;
|
|
540
|
-
minProperties?: number | undefined;
|
|
541
|
-
required?: string | boolean | string[] | undefined;
|
|
542
|
-
format?: string | undefined;
|
|
543
|
-
$ref?: string | undefined;
|
|
544
|
-
$namespace?: string | undefined;
|
|
545
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
546
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
547
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
548
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
549
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
550
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
551
|
-
"x-value"?: any;
|
|
552
|
-
"x-index"?: number | undefined;
|
|
553
|
-
"x-pattern"?: any;
|
|
554
|
-
"x-display"?: any;
|
|
555
|
-
"x-validator"?: any;
|
|
556
|
-
"x-decorator"?: any;
|
|
557
|
-
"x-decorator-props"?: any;
|
|
558
|
-
"x-component"?: any;
|
|
559
|
-
"x-component-props"?: any;
|
|
560
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
561
|
-
"x-content"?: any;
|
|
562
|
-
"x-data"?: any;
|
|
563
|
-
"x-visible"?: boolean | undefined;
|
|
564
|
-
"x-hidden"?: boolean | undefined;
|
|
565
|
-
"x-disabled"?: boolean | undefined;
|
|
566
|
-
"x-editable"?: boolean | undefined;
|
|
567
|
-
"x-read-only"?: boolean | undefined;
|
|
568
|
-
"x-read-pretty"?: boolean | undefined;
|
|
569
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
570
|
-
}>) => void;
|
|
571
|
-
anchorIdList: import("vue").Ref<{
|
|
572
|
-
name: string;
|
|
573
|
-
title: string;
|
|
574
|
-
}[]>;
|
|
575
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
576
|
-
onScroll: () => void;
|
|
577
|
-
queryWidget: (key: string, wrapperElement: HTMLElement, fieldList: import("../..").FieldItem[]) => Promise<{
|
|
578
|
-
widgetElement: HTMLInputElement | null | undefined;
|
|
579
|
-
widgetElementList: HTMLInputElement[];
|
|
580
|
-
decoratorElement: HTMLElement | null | undefined;
|
|
581
|
-
}>;
|
|
582
|
-
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
583
|
-
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
584
|
-
form: any;
|
|
585
|
-
}>;
|
|
586
|
-
NForm: any;
|
|
587
|
-
NTabPane: import("vue").DefineComponent<{
|
|
588
|
-
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
589
|
-
[key: string]: any;
|
|
590
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
591
|
-
readonly name: {
|
|
592
|
-
readonly type: PropType<string | number>;
|
|
593
|
-
readonly required: true;
|
|
594
|
-
};
|
|
595
|
-
readonly disabled: BooleanConstructor;
|
|
596
|
-
readonly displayDirective: {
|
|
597
|
-
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
598
|
-
readonly default: "if";
|
|
599
|
-
};
|
|
600
|
-
readonly closable: {
|
|
601
|
-
readonly type: PropType<boolean | undefined>;
|
|
602
|
-
readonly default: undefined;
|
|
603
|
-
};
|
|
604
|
-
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
605
|
-
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
606
|
-
[key: string]: any;
|
|
607
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
608
763
|
}, {
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
readonly type: PropType<string | number>;
|
|
618
|
-
readonly required: true;
|
|
619
|
-
};
|
|
620
|
-
readonly disabled: BooleanConstructor;
|
|
621
|
-
readonly displayDirective: {
|
|
622
|
-
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
623
|
-
readonly default: "if";
|
|
624
|
-
};
|
|
625
|
-
readonly closable: {
|
|
626
|
-
readonly type: PropType<boolean | undefined>;
|
|
627
|
-
readonly default: undefined;
|
|
628
|
-
};
|
|
629
|
-
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
630
|
-
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
631
|
-
[key: string]: any;
|
|
632
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
633
|
-
}>>, {
|
|
634
|
-
readonly disabled: boolean;
|
|
635
|
-
readonly closable: boolean | undefined;
|
|
636
|
-
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
764
|
+
anchor: boolean;
|
|
765
|
+
maxHeight: string | number;
|
|
766
|
+
column: number;
|
|
767
|
+
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
768
|
+
initialData: import("../../../../es/shared/types").AnyObject;
|
|
769
|
+
parallelism: number;
|
|
770
|
+
scope: import("../../../../es/shared/types").AnyObject;
|
|
771
|
+
consumer: boolean;
|
|
637
772
|
}>;
|
|
638
|
-
|
|
639
|
-
NConfigProvider: any;
|
|
640
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "formChange"[], "formChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
641
|
-
fieldList: {
|
|
642
|
-
type: PropType<import("../..").FieldItem[]>;
|
|
643
|
-
};
|
|
644
|
-
initialData: {
|
|
645
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
646
|
-
default: () => {};
|
|
647
|
-
};
|
|
648
|
-
fieldVisitor: {
|
|
649
|
-
type: PropType<import("../..").FieldVisitor>;
|
|
650
|
-
};
|
|
651
|
-
column: {
|
|
652
|
-
type: NumberConstructor;
|
|
653
|
-
default: number;
|
|
654
|
-
};
|
|
655
|
-
maxHeight: {
|
|
656
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
657
|
-
default: string;
|
|
658
|
-
};
|
|
659
|
-
anchor: {
|
|
660
|
-
type: BooleanConstructor;
|
|
661
|
-
default: boolean;
|
|
662
|
-
};
|
|
663
|
-
parallelism: {
|
|
664
|
-
type: NumberConstructor;
|
|
665
|
-
default: number;
|
|
666
|
-
};
|
|
667
|
-
businessFormatter: {
|
|
668
|
-
type: PropType<import("../..").FormBusinessFormatter>;
|
|
669
|
-
};
|
|
670
|
-
schema: {
|
|
671
|
-
type: PropType<import("@formily/json-schema").Stringify<{
|
|
672
|
-
[key: symbol]: any;
|
|
673
|
-
[key: `x-${string}`]: any;
|
|
674
|
-
[key: `x-${number}`]: any;
|
|
675
|
-
version?: string | undefined;
|
|
676
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
677
|
-
title?: any;
|
|
678
|
-
description?: any;
|
|
679
|
-
default?: any;
|
|
680
|
-
readOnly?: boolean | undefined;
|
|
681
|
-
writeOnly?: boolean | undefined;
|
|
682
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
683
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
684
|
-
const?: any;
|
|
685
|
-
multipleOf?: number | undefined;
|
|
686
|
-
maximum?: number | undefined;
|
|
687
|
-
exclusiveMaximum?: number | undefined;
|
|
688
|
-
minimum?: number | undefined;
|
|
689
|
-
exclusiveMinimum?: number | undefined;
|
|
690
|
-
maxLength?: number | undefined;
|
|
691
|
-
minLength?: number | undefined;
|
|
692
|
-
pattern?: string | RegExp | undefined;
|
|
693
|
-
maxItems?: number | undefined;
|
|
694
|
-
minItems?: number | undefined;
|
|
695
|
-
uniqueItems?: boolean | undefined;
|
|
696
|
-
maxProperties?: number | undefined;
|
|
697
|
-
minProperties?: number | undefined;
|
|
698
|
-
required?: string | boolean | string[] | undefined;
|
|
699
|
-
format?: string | undefined;
|
|
700
|
-
$ref?: string | undefined;
|
|
701
|
-
$namespace?: string | undefined;
|
|
702
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
703
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
704
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
705
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
706
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
707
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
708
|
-
"x-value"?: any;
|
|
709
|
-
"x-index"?: number | undefined;
|
|
710
|
-
"x-pattern"?: any;
|
|
711
|
-
"x-display"?: any;
|
|
712
|
-
"x-validator"?: any;
|
|
713
|
-
"x-decorator"?: any;
|
|
714
|
-
"x-decorator-props"?: any;
|
|
715
|
-
"x-component"?: any;
|
|
716
|
-
"x-component-props"?: any;
|
|
717
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
718
|
-
"x-content"?: any;
|
|
719
|
-
"x-data"?: any;
|
|
720
|
-
"x-visible"?: boolean | undefined;
|
|
721
|
-
"x-hidden"?: boolean | undefined;
|
|
722
|
-
"x-disabled"?: boolean | undefined;
|
|
723
|
-
"x-editable"?: boolean | undefined;
|
|
724
|
-
"x-read-only"?: boolean | undefined;
|
|
725
|
-
"x-read-pretty"?: boolean | undefined;
|
|
726
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
727
|
-
}>>;
|
|
728
|
-
};
|
|
729
|
-
components: {
|
|
730
|
-
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
731
|
-
default: () => {};
|
|
732
|
-
};
|
|
733
|
-
scope: {
|
|
734
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
735
|
-
default: () => {};
|
|
736
|
-
};
|
|
737
|
-
annotation: {
|
|
738
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
739
|
-
};
|
|
740
|
-
consumer: {
|
|
741
|
-
type: BooleanConstructor;
|
|
742
|
-
default: boolean;
|
|
743
|
-
};
|
|
744
|
-
uuid: {
|
|
745
|
-
type: StringConstructor;
|
|
746
|
-
};
|
|
747
|
-
lifeCycle: {
|
|
748
|
-
type: PropType<Partial<{
|
|
749
|
-
onSetup(): void;
|
|
750
|
-
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
751
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
752
|
-
}>>;
|
|
753
|
-
};
|
|
754
|
-
}>> & {
|
|
755
|
-
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
756
|
-
}, {
|
|
757
|
-
anchor: boolean;
|
|
758
|
-
maxHeight: string | number;
|
|
759
|
-
column: number;
|
|
760
|
-
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
761
|
-
initialData: import("../../../../es/shared/types").AnyObject;
|
|
762
|
-
parallelism: number;
|
|
763
|
-
scope: import("../../../../es/shared/types").AnyObject;
|
|
764
|
-
consumer: boolean;
|
|
765
|
-
}>>;
|
|
773
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
766
774
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
767
775
|
submit: (payload: FormConfigItem) => FormConfigItem;
|
|
768
776
|
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
@@ -2580,38 +2588,256 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2580
2588
|
prevOldField: null;
|
|
2581
2589
|
onFormChange: ({ fieldKey, value }: import("../..").FormChangePayload) => void;
|
|
2582
2590
|
NModal: any;
|
|
2583
|
-
CFormRender: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2606
|
-
|
|
2607
|
-
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2611
|
-
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2591
|
+
CFormRender: import("../../../../es/shared/types").SFCWithInstall<import("vue").DefineComponent<{}, {
|
|
2592
|
+
formRenderRef: import("vue").Ref<import("../..").FormRenderExpose | undefined>;
|
|
2593
|
+
key: import("vue").Ref<number>;
|
|
2594
|
+
reload: () => Promise<void>;
|
|
2595
|
+
formRenderExposeKeyList: readonly ["validate", "getFormValues", "setFormValues", "setFieldState", "resetFieldState", "resetFields", "queryWidget"];
|
|
2596
|
+
exposed: import("../../../../es/shared/types").AnyObject;
|
|
2597
|
+
FormRender: import("vue").DefineComponent<{
|
|
2598
|
+
fieldList: {
|
|
2599
|
+
type: PropType<import("../..").FieldItem[]>;
|
|
2600
|
+
};
|
|
2601
|
+
initialData: {
|
|
2602
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2603
|
+
default: () => {};
|
|
2604
|
+
};
|
|
2605
|
+
fieldVisitor: {
|
|
2606
|
+
type: PropType<import("../..").FieldVisitor>;
|
|
2607
|
+
};
|
|
2608
|
+
column: {
|
|
2609
|
+
type: NumberConstructor;
|
|
2610
|
+
default: number;
|
|
2611
|
+
};
|
|
2612
|
+
maxHeight: {
|
|
2613
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2614
|
+
default: string;
|
|
2615
|
+
};
|
|
2616
|
+
anchor: {
|
|
2617
|
+
type: BooleanConstructor;
|
|
2618
|
+
default: boolean;
|
|
2619
|
+
};
|
|
2620
|
+
parallelism: {
|
|
2621
|
+
type: NumberConstructor;
|
|
2622
|
+
default: number;
|
|
2623
|
+
};
|
|
2624
|
+
businessFormatter: {
|
|
2625
|
+
type: PropType<import("../..").FormBusinessFormatter>;
|
|
2626
|
+
};
|
|
2627
|
+
schema: {
|
|
2628
|
+
type: PropType<import("@formily/json-schema").Stringify<{
|
|
2629
|
+
[key: symbol]: any;
|
|
2630
|
+
[key: `x-${string}`]: any;
|
|
2631
|
+
[key: `x-${number}`]: any;
|
|
2632
|
+
version?: string | undefined;
|
|
2633
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2634
|
+
title?: any;
|
|
2635
|
+
description?: any;
|
|
2636
|
+
default?: any;
|
|
2637
|
+
readOnly?: boolean | undefined;
|
|
2638
|
+
writeOnly?: boolean | undefined;
|
|
2639
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2640
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2641
|
+
const?: any;
|
|
2642
|
+
multipleOf?: number | undefined;
|
|
2643
|
+
maximum?: number | undefined;
|
|
2644
|
+
exclusiveMaximum?: number | undefined;
|
|
2645
|
+
minimum?: number | undefined;
|
|
2646
|
+
exclusiveMinimum?: number | undefined;
|
|
2647
|
+
maxLength?: number | undefined;
|
|
2648
|
+
minLength?: number | undefined;
|
|
2649
|
+
pattern?: string | RegExp | undefined;
|
|
2650
|
+
maxItems?: number | undefined;
|
|
2651
|
+
minItems?: number | undefined;
|
|
2652
|
+
uniqueItems?: boolean | undefined;
|
|
2653
|
+
maxProperties?: number | undefined;
|
|
2654
|
+
minProperties?: number | undefined;
|
|
2655
|
+
required?: string | boolean | string[] | undefined;
|
|
2656
|
+
format?: string | undefined;
|
|
2657
|
+
$ref?: string | undefined;
|
|
2658
|
+
$namespace?: string | undefined;
|
|
2659
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2660
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2661
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2662
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2663
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2664
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2665
|
+
"x-value"?: any;
|
|
2666
|
+
"x-index"?: number | undefined;
|
|
2667
|
+
"x-pattern"?: any;
|
|
2668
|
+
"x-display"?: any;
|
|
2669
|
+
"x-validator"?: any;
|
|
2670
|
+
"x-decorator"?: any;
|
|
2671
|
+
"x-decorator-props"?: any;
|
|
2672
|
+
"x-component"?: any;
|
|
2673
|
+
"x-component-props"?: any;
|
|
2674
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2675
|
+
"x-content"?: any;
|
|
2676
|
+
"x-data"?: any;
|
|
2677
|
+
"x-visible"?: boolean | undefined;
|
|
2678
|
+
"x-hidden"?: boolean | undefined;
|
|
2679
|
+
"x-disabled"?: boolean | undefined;
|
|
2680
|
+
"x-editable"?: boolean | undefined;
|
|
2681
|
+
"x-read-only"?: boolean | undefined;
|
|
2682
|
+
"x-read-pretty"?: boolean | undefined;
|
|
2683
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
2684
|
+
}>>;
|
|
2685
|
+
};
|
|
2686
|
+
components: {
|
|
2687
|
+
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
2688
|
+
default: () => {};
|
|
2689
|
+
};
|
|
2690
|
+
scope: {
|
|
2691
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2692
|
+
default: () => {};
|
|
2693
|
+
};
|
|
2694
|
+
annotation: {
|
|
2695
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2696
|
+
};
|
|
2697
|
+
consumer: {
|
|
2698
|
+
type: BooleanConstructor;
|
|
2699
|
+
default: boolean;
|
|
2700
|
+
};
|
|
2701
|
+
uuid: {
|
|
2702
|
+
type: StringConstructor;
|
|
2703
|
+
};
|
|
2704
|
+
lifeCycle: {
|
|
2705
|
+
type: PropType<Partial<{
|
|
2706
|
+
onSetup(): void;
|
|
2707
|
+
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
2708
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
2709
|
+
}>>;
|
|
2710
|
+
};
|
|
2711
|
+
}, {
|
|
2712
|
+
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2713
|
+
fieldList: {
|
|
2714
|
+
type: PropType<import("../..").FieldItem[]>;
|
|
2715
|
+
};
|
|
2716
|
+
initialData: {
|
|
2717
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2718
|
+
default: () => {};
|
|
2719
|
+
};
|
|
2720
|
+
fieldVisitor: {
|
|
2721
|
+
type: PropType<import("../..").FieldVisitor>;
|
|
2722
|
+
};
|
|
2723
|
+
column: {
|
|
2724
|
+
type: NumberConstructor;
|
|
2725
|
+
default: number;
|
|
2726
|
+
};
|
|
2727
|
+
maxHeight: {
|
|
2728
|
+
type: (NumberConstructor | StringConstructor)[];
|
|
2729
|
+
default: string;
|
|
2730
|
+
};
|
|
2731
|
+
anchor: {
|
|
2732
|
+
type: BooleanConstructor;
|
|
2733
|
+
default: boolean;
|
|
2734
|
+
};
|
|
2735
|
+
parallelism: {
|
|
2736
|
+
type: NumberConstructor;
|
|
2737
|
+
default: number;
|
|
2738
|
+
};
|
|
2739
|
+
businessFormatter: {
|
|
2740
|
+
type: PropType<import("../..").FormBusinessFormatter>;
|
|
2741
|
+
};
|
|
2742
|
+
schema: {
|
|
2743
|
+
type: PropType<import("@formily/json-schema").Stringify<{
|
|
2744
|
+
[key: symbol]: any;
|
|
2745
|
+
[key: `x-${string}`]: any;
|
|
2746
|
+
[key: `x-${number}`]: any;
|
|
2747
|
+
version?: string | undefined;
|
|
2748
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2749
|
+
title?: any;
|
|
2750
|
+
description?: any;
|
|
2751
|
+
default?: any;
|
|
2752
|
+
readOnly?: boolean | undefined;
|
|
2753
|
+
writeOnly?: boolean | undefined;
|
|
2754
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2755
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2756
|
+
const?: any;
|
|
2757
|
+
multipleOf?: number | undefined;
|
|
2758
|
+
maximum?: number | undefined;
|
|
2759
|
+
exclusiveMaximum?: number | undefined;
|
|
2760
|
+
minimum?: number | undefined;
|
|
2761
|
+
exclusiveMinimum?: number | undefined;
|
|
2762
|
+
maxLength?: number | undefined;
|
|
2763
|
+
minLength?: number | undefined;
|
|
2764
|
+
pattern?: string | RegExp | undefined;
|
|
2765
|
+
maxItems?: number | undefined;
|
|
2766
|
+
minItems?: number | undefined;
|
|
2767
|
+
uniqueItems?: boolean | undefined;
|
|
2768
|
+
maxProperties?: number | undefined;
|
|
2769
|
+
minProperties?: number | undefined;
|
|
2770
|
+
required?: string | boolean | string[] | undefined;
|
|
2771
|
+
format?: string | undefined;
|
|
2772
|
+
$ref?: string | undefined;
|
|
2773
|
+
$namespace?: string | undefined;
|
|
2774
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2775
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2776
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2777
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2778
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2779
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2780
|
+
"x-value"?: any;
|
|
2781
|
+
"x-index"?: number | undefined;
|
|
2782
|
+
"x-pattern"?: any;
|
|
2783
|
+
"x-display"?: any;
|
|
2784
|
+
"x-validator"?: any;
|
|
2785
|
+
"x-decorator"?: any;
|
|
2786
|
+
"x-decorator-props"?: any;
|
|
2787
|
+
"x-component"?: any;
|
|
2788
|
+
"x-component-props"?: any;
|
|
2789
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2790
|
+
"x-content"?: any;
|
|
2791
|
+
"x-data"?: any;
|
|
2792
|
+
"x-visible"?: boolean | undefined;
|
|
2793
|
+
"x-hidden"?: boolean | undefined;
|
|
2794
|
+
"x-disabled"?: boolean | undefined;
|
|
2795
|
+
"x-editable"?: boolean | undefined;
|
|
2796
|
+
"x-read-only"?: boolean | undefined;
|
|
2797
|
+
"x-read-pretty"?: boolean | undefined;
|
|
2798
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
2799
|
+
}>>;
|
|
2800
|
+
};
|
|
2801
|
+
components: {
|
|
2802
|
+
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
2803
|
+
default: () => {};
|
|
2804
|
+
};
|
|
2805
|
+
scope: {
|
|
2806
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2807
|
+
default: () => {};
|
|
2808
|
+
};
|
|
2809
|
+
annotation: {
|
|
2810
|
+
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
2811
|
+
};
|
|
2812
|
+
consumer: {
|
|
2813
|
+
type: BooleanConstructor;
|
|
2814
|
+
default: boolean;
|
|
2815
|
+
};
|
|
2816
|
+
uuid: {
|
|
2817
|
+
type: StringConstructor;
|
|
2818
|
+
};
|
|
2819
|
+
lifeCycle: {
|
|
2820
|
+
type: PropType<Partial<{
|
|
2821
|
+
onSetup(): void;
|
|
2822
|
+
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
2823
|
+
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
2824
|
+
}>>;
|
|
2825
|
+
};
|
|
2826
|
+
}>> & {
|
|
2827
|
+
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2828
|
+
}>>;
|
|
2829
|
+
emit: (event: "formChange", ...args: any[]) => void;
|
|
2830
|
+
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2831
|
+
formModel: import("@formily/core").Form<{
|
|
2832
|
+
[x: string]: any;
|
|
2833
|
+
}>;
|
|
2834
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
2835
|
+
businessCollector: import("../..").BusinessCollector;
|
|
2836
|
+
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
2837
|
+
changeContextCollector: import("../..").ContextCollector;
|
|
2838
|
+
formUUID: string;
|
|
2839
|
+
scrollbarRef: import("vue").Ref<HTMLElement | undefined>;
|
|
2840
|
+
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2615
2841
|
[key: symbol]: any;
|
|
2616
2842
|
[key: `x-${string}`]: any;
|
|
2617
2843
|
[key: `x-${number}`]: any;
|
|
@@ -2668,34 +2894,192 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2668
2894
|
"x-read-pretty"?: boolean | undefined;
|
|
2669
2895
|
"x-compile-omitted"?: string[] | undefined;
|
|
2670
2896
|
}>>;
|
|
2671
|
-
|
|
2672
|
-
|
|
2673
|
-
|
|
2674
|
-
|
|
2675
|
-
|
|
2676
|
-
|
|
2677
|
-
|
|
2678
|
-
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2685
|
-
|
|
2686
|
-
|
|
2687
|
-
|
|
2688
|
-
|
|
2689
|
-
|
|
2690
|
-
|
|
2691
|
-
|
|
2692
|
-
|
|
2693
|
-
|
|
2694
|
-
|
|
2897
|
+
_fieldList: import("../..").FieldItem[];
|
|
2898
|
+
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
2899
|
+
[key: symbol]: any;
|
|
2900
|
+
[key: `x-${string}`]: any;
|
|
2901
|
+
[key: `x-${number}`]: any;
|
|
2902
|
+
version?: string | undefined;
|
|
2903
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2904
|
+
title?: any;
|
|
2905
|
+
description?: any;
|
|
2906
|
+
default?: any;
|
|
2907
|
+
readOnly?: boolean | undefined;
|
|
2908
|
+
writeOnly?: boolean | undefined;
|
|
2909
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2910
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2911
|
+
const?: any;
|
|
2912
|
+
multipleOf?: number | undefined;
|
|
2913
|
+
maximum?: number | undefined;
|
|
2914
|
+
exclusiveMaximum?: number | undefined;
|
|
2915
|
+
minimum?: number | undefined;
|
|
2916
|
+
exclusiveMinimum?: number | undefined;
|
|
2917
|
+
maxLength?: number | undefined;
|
|
2918
|
+
minLength?: number | undefined;
|
|
2919
|
+
pattern?: string | RegExp | undefined;
|
|
2920
|
+
maxItems?: number | undefined;
|
|
2921
|
+
minItems?: number | undefined;
|
|
2922
|
+
uniqueItems?: boolean | undefined;
|
|
2923
|
+
maxProperties?: number | undefined;
|
|
2924
|
+
minProperties?: number | undefined;
|
|
2925
|
+
required?: string | boolean | string[] | undefined;
|
|
2926
|
+
format?: string | undefined;
|
|
2927
|
+
$ref?: string | undefined;
|
|
2928
|
+
$namespace?: string | undefined;
|
|
2929
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2930
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2931
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2932
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2933
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2934
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2935
|
+
"x-value"?: any;
|
|
2936
|
+
"x-index"?: number | undefined;
|
|
2937
|
+
"x-pattern"?: any;
|
|
2938
|
+
"x-display"?: any;
|
|
2939
|
+
"x-validator"?: any;
|
|
2940
|
+
"x-decorator"?: any;
|
|
2941
|
+
"x-decorator-props"?: any;
|
|
2942
|
+
"x-component"?: any;
|
|
2943
|
+
"x-component-props"?: any;
|
|
2944
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2945
|
+
"x-content"?: any;
|
|
2946
|
+
"x-data"?: any;
|
|
2947
|
+
"x-visible"?: boolean | undefined;
|
|
2948
|
+
"x-hidden"?: boolean | undefined;
|
|
2949
|
+
"x-disabled"?: boolean | undefined;
|
|
2950
|
+
"x-editable"?: boolean | undefined;
|
|
2951
|
+
"x-read-only"?: boolean | undefined;
|
|
2952
|
+
"x-read-pretty"?: boolean | undefined;
|
|
2953
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
2695
2954
|
}>>;
|
|
2696
|
-
|
|
2697
|
-
|
|
2698
|
-
|
|
2955
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
2956
|
+
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
2957
|
+
[key: symbol]: any;
|
|
2958
|
+
[key: `x-${string}`]: any;
|
|
2959
|
+
[key: `x-${number}`]: any;
|
|
2960
|
+
version?: string | undefined;
|
|
2961
|
+
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2962
|
+
title?: any;
|
|
2963
|
+
description?: any;
|
|
2964
|
+
default?: any;
|
|
2965
|
+
readOnly?: boolean | undefined;
|
|
2966
|
+
writeOnly?: boolean | undefined;
|
|
2967
|
+
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2968
|
+
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2969
|
+
const?: any;
|
|
2970
|
+
multipleOf?: number | undefined;
|
|
2971
|
+
maximum?: number | undefined;
|
|
2972
|
+
exclusiveMaximum?: number | undefined;
|
|
2973
|
+
minimum?: number | undefined;
|
|
2974
|
+
exclusiveMinimum?: number | undefined;
|
|
2975
|
+
maxLength?: number | undefined;
|
|
2976
|
+
minLength?: number | undefined;
|
|
2977
|
+
pattern?: string | RegExp | undefined;
|
|
2978
|
+
maxItems?: number | undefined;
|
|
2979
|
+
minItems?: number | undefined;
|
|
2980
|
+
uniqueItems?: boolean | undefined;
|
|
2981
|
+
maxProperties?: number | undefined;
|
|
2982
|
+
minProperties?: number | undefined;
|
|
2983
|
+
required?: string | boolean | string[] | undefined;
|
|
2984
|
+
format?: string | undefined;
|
|
2985
|
+
$ref?: string | undefined;
|
|
2986
|
+
$namespace?: string | undefined;
|
|
2987
|
+
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2988
|
+
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2989
|
+
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2990
|
+
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2991
|
+
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2992
|
+
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2993
|
+
"x-value"?: any;
|
|
2994
|
+
"x-index"?: number | undefined;
|
|
2995
|
+
"x-pattern"?: any;
|
|
2996
|
+
"x-display"?: any;
|
|
2997
|
+
"x-validator"?: any;
|
|
2998
|
+
"x-decorator"?: any;
|
|
2999
|
+
"x-decorator-props"?: any;
|
|
3000
|
+
"x-component"?: any;
|
|
3001
|
+
"x-component-props"?: any;
|
|
3002
|
+
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
3003
|
+
"x-content"?: any;
|
|
3004
|
+
"x-data"?: any;
|
|
3005
|
+
"x-visible"?: boolean | undefined;
|
|
3006
|
+
"x-hidden"?: boolean | undefined;
|
|
3007
|
+
"x-disabled"?: boolean | undefined;
|
|
3008
|
+
"x-editable"?: boolean | undefined;
|
|
3009
|
+
"x-read-only"?: boolean | undefined;
|
|
3010
|
+
"x-read-pretty"?: boolean | undefined;
|
|
3011
|
+
"x-compile-omitted"?: string[] | undefined;
|
|
3012
|
+
}>) => void;
|
|
3013
|
+
anchorIdList: import("vue").Ref<{
|
|
3014
|
+
name: string;
|
|
3015
|
+
title: string;
|
|
3016
|
+
}[]>;
|
|
3017
|
+
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
3018
|
+
onScroll: () => void;
|
|
3019
|
+
queryWidget: (key: string, wrapperElement: HTMLElement, fieldList: import("../..").FieldItem[]) => Promise<{
|
|
3020
|
+
widgetElement: HTMLInputElement | null | undefined;
|
|
3021
|
+
widgetElementList: HTMLInputElement[];
|
|
3022
|
+
decoratorElement: HTMLElement | null | undefined;
|
|
3023
|
+
}>;
|
|
3024
|
+
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3025
|
+
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
3026
|
+
form: any;
|
|
3027
|
+
}>;
|
|
3028
|
+
NForm: any;
|
|
3029
|
+
NTabPane: import("vue").DefineComponent<{
|
|
3030
|
+
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3031
|
+
[key: string]: any;
|
|
3032
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
3033
|
+
readonly name: {
|
|
3034
|
+
readonly type: PropType<string | number>;
|
|
3035
|
+
readonly required: true;
|
|
3036
|
+
};
|
|
3037
|
+
readonly disabled: BooleanConstructor;
|
|
3038
|
+
readonly displayDirective: {
|
|
3039
|
+
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
3040
|
+
readonly default: "if";
|
|
3041
|
+
};
|
|
3042
|
+
readonly closable: {
|
|
3043
|
+
readonly type: PropType<boolean | undefined>;
|
|
3044
|
+
readonly default: undefined;
|
|
3045
|
+
};
|
|
3046
|
+
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
3047
|
+
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3048
|
+
[key: string]: any;
|
|
3049
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
3050
|
+
}, {
|
|
3051
|
+
style: import("vue").Ref<string | import("vue").CSSProperties | undefined>;
|
|
3052
|
+
class: import("vue").Ref<string | undefined>;
|
|
3053
|
+
mergedClsPrefix: import("vue").Ref<string>;
|
|
3054
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3055
|
+
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3056
|
+
[key: string]: any;
|
|
3057
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
3058
|
+
readonly name: {
|
|
3059
|
+
readonly type: PropType<string | number>;
|
|
3060
|
+
readonly required: true;
|
|
3061
|
+
};
|
|
3062
|
+
readonly disabled: BooleanConstructor;
|
|
3063
|
+
readonly displayDirective: {
|
|
3064
|
+
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
3065
|
+
readonly default: "if";
|
|
3066
|
+
};
|
|
3067
|
+
readonly closable: {
|
|
3068
|
+
readonly type: PropType<boolean | undefined>;
|
|
3069
|
+
readonly default: undefined;
|
|
3070
|
+
};
|
|
3071
|
+
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
3072
|
+
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3073
|
+
[key: string]: any;
|
|
3074
|
+
}> | (() => import("vue").VNodeChild)>;
|
|
3075
|
+
}>>, {
|
|
3076
|
+
readonly disabled: boolean;
|
|
3077
|
+
readonly closable: boolean | undefined;
|
|
3078
|
+
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
3079
|
+
}>;
|
|
3080
|
+
NTabs: any;
|
|
3081
|
+
NConfigProvider: any;
|
|
3082
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "formChange"[], "formChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2699
3083
|
fieldList: {
|
|
2700
3084
|
type: PropType<import("../..").FieldItem[]>;
|
|
2701
3085
|
};
|
|
@@ -2811,385 +3195,17 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2811
3195
|
};
|
|
2812
3196
|
}>> & {
|
|
2813
3197
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
2814
|
-
}>>;
|
|
2815
|
-
emit: (event: "formChange", ...args: any[]) => void;
|
|
2816
|
-
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2817
|
-
formModel: import("@formily/core").Form<{
|
|
2818
|
-
[x: string]: any;
|
|
2819
|
-
}>;
|
|
2820
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
2821
|
-
businessCollector: import("../..").BusinessCollector;
|
|
2822
|
-
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
2823
|
-
changeContextCollector: import("../..").ContextCollector;
|
|
2824
|
-
formUUID: string;
|
|
2825
|
-
scrollbarRef: import("vue").Ref<HTMLElement | undefined>;
|
|
2826
|
-
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
2827
|
-
[key: symbol]: any;
|
|
2828
|
-
[key: `x-${string}`]: any;
|
|
2829
|
-
[key: `x-${number}`]: any;
|
|
2830
|
-
version?: string | undefined;
|
|
2831
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2832
|
-
title?: any;
|
|
2833
|
-
description?: any;
|
|
2834
|
-
default?: any;
|
|
2835
|
-
readOnly?: boolean | undefined;
|
|
2836
|
-
writeOnly?: boolean | undefined;
|
|
2837
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2838
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2839
|
-
const?: any;
|
|
2840
|
-
multipleOf?: number | undefined;
|
|
2841
|
-
maximum?: number | undefined;
|
|
2842
|
-
exclusiveMaximum?: number | undefined;
|
|
2843
|
-
minimum?: number | undefined;
|
|
2844
|
-
exclusiveMinimum?: number | undefined;
|
|
2845
|
-
maxLength?: number | undefined;
|
|
2846
|
-
minLength?: number | undefined;
|
|
2847
|
-
pattern?: string | RegExp | undefined;
|
|
2848
|
-
maxItems?: number | undefined;
|
|
2849
|
-
minItems?: number | undefined;
|
|
2850
|
-
uniqueItems?: boolean | undefined;
|
|
2851
|
-
maxProperties?: number | undefined;
|
|
2852
|
-
minProperties?: number | undefined;
|
|
2853
|
-
required?: string | boolean | string[] | undefined;
|
|
2854
|
-
format?: string | undefined;
|
|
2855
|
-
$ref?: string | undefined;
|
|
2856
|
-
$namespace?: string | undefined;
|
|
2857
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2858
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2859
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2860
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2861
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2862
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2863
|
-
"x-value"?: any;
|
|
2864
|
-
"x-index"?: number | undefined;
|
|
2865
|
-
"x-pattern"?: any;
|
|
2866
|
-
"x-display"?: any;
|
|
2867
|
-
"x-validator"?: any;
|
|
2868
|
-
"x-decorator"?: any;
|
|
2869
|
-
"x-decorator-props"?: any;
|
|
2870
|
-
"x-component"?: any;
|
|
2871
|
-
"x-component-props"?: any;
|
|
2872
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2873
|
-
"x-content"?: any;
|
|
2874
|
-
"x-data"?: any;
|
|
2875
|
-
"x-visible"?: boolean | undefined;
|
|
2876
|
-
"x-hidden"?: boolean | undefined;
|
|
2877
|
-
"x-disabled"?: boolean | undefined;
|
|
2878
|
-
"x-editable"?: boolean | undefined;
|
|
2879
|
-
"x-read-only"?: boolean | undefined;
|
|
2880
|
-
"x-read-pretty"?: boolean | undefined;
|
|
2881
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
2882
|
-
}>>;
|
|
2883
|
-
parsedSchema: import("vue").ComputedRef<import("@formily/json-schema").Stringify<{
|
|
2884
|
-
[key: symbol]: any;
|
|
2885
|
-
[key: `x-${string}`]: any;
|
|
2886
|
-
[key: `x-${number}`]: any;
|
|
2887
|
-
version?: string | undefined;
|
|
2888
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2889
|
-
title?: any;
|
|
2890
|
-
description?: any;
|
|
2891
|
-
default?: any;
|
|
2892
|
-
readOnly?: boolean | undefined;
|
|
2893
|
-
writeOnly?: boolean | undefined;
|
|
2894
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2895
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2896
|
-
const?: any;
|
|
2897
|
-
multipleOf?: number | undefined;
|
|
2898
|
-
maximum?: number | undefined;
|
|
2899
|
-
exclusiveMaximum?: number | undefined;
|
|
2900
|
-
minimum?: number | undefined;
|
|
2901
|
-
exclusiveMinimum?: number | undefined;
|
|
2902
|
-
maxLength?: number | undefined;
|
|
2903
|
-
minLength?: number | undefined;
|
|
2904
|
-
pattern?: string | RegExp | undefined;
|
|
2905
|
-
maxItems?: number | undefined;
|
|
2906
|
-
minItems?: number | undefined;
|
|
2907
|
-
uniqueItems?: boolean | undefined;
|
|
2908
|
-
maxProperties?: number | undefined;
|
|
2909
|
-
minProperties?: number | undefined;
|
|
2910
|
-
required?: string | boolean | string[] | undefined;
|
|
2911
|
-
format?: string | undefined;
|
|
2912
|
-
$ref?: string | undefined;
|
|
2913
|
-
$namespace?: string | undefined;
|
|
2914
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2915
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2916
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2917
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2918
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2919
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2920
|
-
"x-value"?: any;
|
|
2921
|
-
"x-index"?: number | undefined;
|
|
2922
|
-
"x-pattern"?: any;
|
|
2923
|
-
"x-display"?: any;
|
|
2924
|
-
"x-validator"?: any;
|
|
2925
|
-
"x-decorator"?: any;
|
|
2926
|
-
"x-decorator-props"?: any;
|
|
2927
|
-
"x-component"?: any;
|
|
2928
|
-
"x-component-props"?: any;
|
|
2929
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2930
|
-
"x-content"?: any;
|
|
2931
|
-
"x-data"?: any;
|
|
2932
|
-
"x-visible"?: boolean | undefined;
|
|
2933
|
-
"x-hidden"?: boolean | undefined;
|
|
2934
|
-
"x-disabled"?: boolean | undefined;
|
|
2935
|
-
"x-editable"?: boolean | undefined;
|
|
2936
|
-
"x-read-only"?: boolean | undefined;
|
|
2937
|
-
"x-read-pretty"?: boolean | undefined;
|
|
2938
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
2939
|
-
}>>;
|
|
2940
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
2941
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
2942
|
-
[key: symbol]: any;
|
|
2943
|
-
[key: `x-${string}`]: any;
|
|
2944
|
-
[key: `x-${number}`]: any;
|
|
2945
|
-
version?: string | undefined;
|
|
2946
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
2947
|
-
title?: any;
|
|
2948
|
-
description?: any;
|
|
2949
|
-
default?: any;
|
|
2950
|
-
readOnly?: boolean | undefined;
|
|
2951
|
-
writeOnly?: boolean | undefined;
|
|
2952
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
2953
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
2954
|
-
const?: any;
|
|
2955
|
-
multipleOf?: number | undefined;
|
|
2956
|
-
maximum?: number | undefined;
|
|
2957
|
-
exclusiveMaximum?: number | undefined;
|
|
2958
|
-
minimum?: number | undefined;
|
|
2959
|
-
exclusiveMinimum?: number | undefined;
|
|
2960
|
-
maxLength?: number | undefined;
|
|
2961
|
-
minLength?: number | undefined;
|
|
2962
|
-
pattern?: string | RegExp | undefined;
|
|
2963
|
-
maxItems?: number | undefined;
|
|
2964
|
-
minItems?: number | undefined;
|
|
2965
|
-
uniqueItems?: boolean | undefined;
|
|
2966
|
-
maxProperties?: number | undefined;
|
|
2967
|
-
minProperties?: number | undefined;
|
|
2968
|
-
required?: string | boolean | string[] | undefined;
|
|
2969
|
-
format?: string | undefined;
|
|
2970
|
-
$ref?: string | undefined;
|
|
2971
|
-
$namespace?: string | undefined;
|
|
2972
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2973
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2974
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
2975
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2976
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
2977
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
2978
|
-
"x-value"?: any;
|
|
2979
|
-
"x-index"?: number | undefined;
|
|
2980
|
-
"x-pattern"?: any;
|
|
2981
|
-
"x-display"?: any;
|
|
2982
|
-
"x-validator"?: any;
|
|
2983
|
-
"x-decorator"?: any;
|
|
2984
|
-
"x-decorator-props"?: any;
|
|
2985
|
-
"x-component"?: any;
|
|
2986
|
-
"x-component-props"?: any;
|
|
2987
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
2988
|
-
"x-content"?: any;
|
|
2989
|
-
"x-data"?: any;
|
|
2990
|
-
"x-visible"?: boolean | undefined;
|
|
2991
|
-
"x-hidden"?: boolean | undefined;
|
|
2992
|
-
"x-disabled"?: boolean | undefined;
|
|
2993
|
-
"x-editable"?: boolean | undefined;
|
|
2994
|
-
"x-read-only"?: boolean | undefined;
|
|
2995
|
-
"x-read-pretty"?: boolean | undefined;
|
|
2996
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
2997
|
-
}>) => void;
|
|
2998
|
-
anchorIdList: import("vue").Ref<{
|
|
2999
|
-
name: string;
|
|
3000
|
-
title: string;
|
|
3001
|
-
}[]>;
|
|
3002
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
3003
|
-
onScroll: () => void;
|
|
3004
|
-
queryWidget: (key: string, wrapperElement: HTMLElement, fieldList: import("../..").FieldItem[]) => Promise<{
|
|
3005
|
-
widgetElement: HTMLInputElement | null | undefined;
|
|
3006
|
-
widgetElementList: HTMLInputElement[];
|
|
3007
|
-
decoratorElement: HTMLElement | null | undefined;
|
|
3008
|
-
}>;
|
|
3009
|
-
FormConsumer: import("vue").DefineComponent<{}, () => any, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3010
|
-
FormProvider: import("vue").DefineComponent<Record<"form", any>, unknown, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, Record<string, any>, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<Record<"form", any>>>, {
|
|
3011
|
-
form: any;
|
|
3012
|
-
}>;
|
|
3013
|
-
NForm: any;
|
|
3014
|
-
NTabPane: import("vue").DefineComponent<{
|
|
3015
|
-
readonly tab: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3016
|
-
[key: string]: any;
|
|
3017
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
3018
|
-
readonly name: {
|
|
3019
|
-
readonly type: PropType<string | number>;
|
|
3020
|
-
readonly required: true;
|
|
3021
|
-
};
|
|
3022
|
-
readonly disabled: BooleanConstructor;
|
|
3023
|
-
readonly displayDirective: {
|
|
3024
|
-
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
3025
|
-
readonly default: "if";
|
|
3026
|
-
};
|
|
3027
|
-
readonly closable: {
|
|
3028
|
-
readonly type: PropType<boolean | undefined>;
|
|
3029
|
-
readonly default: undefined;
|
|
3030
|
-
};
|
|
3031
|
-
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
3032
|
-
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3033
|
-
[key: string]: any;
|
|
3034
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
3035
3198
|
}, {
|
|
3036
|
-
|
|
3037
|
-
|
|
3038
|
-
|
|
3039
|
-
|
|
3040
|
-
|
|
3041
|
-
|
|
3042
|
-
|
|
3043
|
-
|
|
3044
|
-
readonly type: PropType<string | number>;
|
|
3045
|
-
readonly required: true;
|
|
3046
|
-
};
|
|
3047
|
-
readonly disabled: BooleanConstructor;
|
|
3048
|
-
readonly displayDirective: {
|
|
3049
|
-
readonly type: PropType<"if" | "show" | "show:lazy">;
|
|
3050
|
-
readonly default: "if";
|
|
3051
|
-
};
|
|
3052
|
-
readonly closable: {
|
|
3053
|
-
readonly type: PropType<boolean | undefined>;
|
|
3054
|
-
readonly default: undefined;
|
|
3055
|
-
};
|
|
3056
|
-
readonly tabProps: PropType<import("vue").HTMLAttributes>;
|
|
3057
|
-
readonly label: PropType<string | number | import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
3058
|
-
[key: string]: any;
|
|
3059
|
-
}> | (() => import("vue").VNodeChild)>;
|
|
3060
|
-
}>>, {
|
|
3061
|
-
readonly disabled: boolean;
|
|
3062
|
-
readonly closable: boolean | undefined;
|
|
3063
|
-
readonly displayDirective: "if" | "show" | "show:lazy";
|
|
3199
|
+
anchor: boolean;
|
|
3200
|
+
maxHeight: string | number;
|
|
3201
|
+
column: number;
|
|
3202
|
+
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
3203
|
+
initialData: import("../../../../es/shared/types").AnyObject;
|
|
3204
|
+
parallelism: number;
|
|
3205
|
+
scope: import("../../../../es/shared/types").AnyObject;
|
|
3206
|
+
consumer: boolean;
|
|
3064
3207
|
}>;
|
|
3065
|
-
|
|
3066
|
-
NConfigProvider: any;
|
|
3067
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "formChange"[], "formChange", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
3068
|
-
fieldList: {
|
|
3069
|
-
type: PropType<import("../..").FieldItem[]>;
|
|
3070
|
-
};
|
|
3071
|
-
initialData: {
|
|
3072
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
3073
|
-
default: () => {};
|
|
3074
|
-
};
|
|
3075
|
-
fieldVisitor: {
|
|
3076
|
-
type: PropType<import("../..").FieldVisitor>;
|
|
3077
|
-
};
|
|
3078
|
-
column: {
|
|
3079
|
-
type: NumberConstructor;
|
|
3080
|
-
default: number;
|
|
3081
|
-
};
|
|
3082
|
-
maxHeight: {
|
|
3083
|
-
type: (NumberConstructor | StringConstructor)[];
|
|
3084
|
-
default: string;
|
|
3085
|
-
};
|
|
3086
|
-
anchor: {
|
|
3087
|
-
type: BooleanConstructor;
|
|
3088
|
-
default: boolean;
|
|
3089
|
-
};
|
|
3090
|
-
parallelism: {
|
|
3091
|
-
type: NumberConstructor;
|
|
3092
|
-
default: number;
|
|
3093
|
-
};
|
|
3094
|
-
businessFormatter: {
|
|
3095
|
-
type: PropType<import("../..").FormBusinessFormatter>;
|
|
3096
|
-
};
|
|
3097
|
-
schema: {
|
|
3098
|
-
type: PropType<import("@formily/json-schema").Stringify<{
|
|
3099
|
-
[key: symbol]: any;
|
|
3100
|
-
[key: `x-${string}`]: any;
|
|
3101
|
-
[key: `x-${number}`]: any;
|
|
3102
|
-
version?: string | undefined;
|
|
3103
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
3104
|
-
title?: any;
|
|
3105
|
-
description?: any;
|
|
3106
|
-
default?: any;
|
|
3107
|
-
readOnly?: boolean | undefined;
|
|
3108
|
-
writeOnly?: boolean | undefined;
|
|
3109
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3110
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
3111
|
-
const?: any;
|
|
3112
|
-
multipleOf?: number | undefined;
|
|
3113
|
-
maximum?: number | undefined;
|
|
3114
|
-
exclusiveMaximum?: number | undefined;
|
|
3115
|
-
minimum?: number | undefined;
|
|
3116
|
-
exclusiveMinimum?: number | undefined;
|
|
3117
|
-
maxLength?: number | undefined;
|
|
3118
|
-
minLength?: number | undefined;
|
|
3119
|
-
pattern?: string | RegExp | undefined;
|
|
3120
|
-
maxItems?: number | undefined;
|
|
3121
|
-
minItems?: number | undefined;
|
|
3122
|
-
uniqueItems?: boolean | undefined;
|
|
3123
|
-
maxProperties?: number | undefined;
|
|
3124
|
-
minProperties?: number | undefined;
|
|
3125
|
-
required?: string | boolean | string[] | undefined;
|
|
3126
|
-
format?: string | undefined;
|
|
3127
|
-
$ref?: string | undefined;
|
|
3128
|
-
$namespace?: string | undefined;
|
|
3129
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3130
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3131
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
3132
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3133
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3134
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3135
|
-
"x-value"?: any;
|
|
3136
|
-
"x-index"?: number | undefined;
|
|
3137
|
-
"x-pattern"?: any;
|
|
3138
|
-
"x-display"?: any;
|
|
3139
|
-
"x-validator"?: any;
|
|
3140
|
-
"x-decorator"?: any;
|
|
3141
|
-
"x-decorator-props"?: any;
|
|
3142
|
-
"x-component"?: any;
|
|
3143
|
-
"x-component-props"?: any;
|
|
3144
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
3145
|
-
"x-content"?: any;
|
|
3146
|
-
"x-data"?: any;
|
|
3147
|
-
"x-visible"?: boolean | undefined;
|
|
3148
|
-
"x-hidden"?: boolean | undefined;
|
|
3149
|
-
"x-disabled"?: boolean | undefined;
|
|
3150
|
-
"x-editable"?: boolean | undefined;
|
|
3151
|
-
"x-read-only"?: boolean | undefined;
|
|
3152
|
-
"x-read-pretty"?: boolean | undefined;
|
|
3153
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
3154
|
-
}>>;
|
|
3155
|
-
};
|
|
3156
|
-
components: {
|
|
3157
|
-
type: PropType<Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>>;
|
|
3158
|
-
default: () => {};
|
|
3159
|
-
};
|
|
3160
|
-
scope: {
|
|
3161
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
3162
|
-
default: () => {};
|
|
3163
|
-
};
|
|
3164
|
-
annotation: {
|
|
3165
|
-
type: PropType<import("../../../../es/shared/types").AnyObject>;
|
|
3166
|
-
};
|
|
3167
|
-
consumer: {
|
|
3168
|
-
type: BooleanConstructor;
|
|
3169
|
-
default: boolean;
|
|
3170
|
-
};
|
|
3171
|
-
uuid: {
|
|
3172
|
-
type: StringConstructor;
|
|
3173
|
-
};
|
|
3174
|
-
lifeCycle: {
|
|
3175
|
-
type: PropType<Partial<{
|
|
3176
|
-
onSetup(): void;
|
|
3177
|
-
beforeRequest(fieldKey: string, params?: import("../../../../es/shared/types").AnyObject | undefined): void | import("../../../../es/shared/types").UndefinedAble<import("../../../../es/shared/types").AnyObject>;
|
|
3178
|
-
afterRequest(fieldKey: string, payload?: any): import("../../../../es/shared/types").AnyObject[];
|
|
3179
|
-
}>>;
|
|
3180
|
-
};
|
|
3181
|
-
}>> & {
|
|
3182
|
-
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3183
|
-
}, {
|
|
3184
|
-
anchor: boolean;
|
|
3185
|
-
maxHeight: string | number;
|
|
3186
|
-
column: number;
|
|
3187
|
-
components: Record<string, import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions> | import("vue").FunctionalComponent<{}, {}>>;
|
|
3188
|
-
initialData: import("../../../../es/shared/types").AnyObject;
|
|
3189
|
-
parallelism: number;
|
|
3190
|
-
scope: import("../../../../es/shared/types").AnyObject;
|
|
3191
|
-
consumer: boolean;
|
|
3192
|
-
}>>;
|
|
3208
|
+
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
3193
3209
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
3194
3210
|
layoutWidthEnum2Column: typeof layoutWidthEnum2Column;
|
|
3195
3211
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|