cnhis-design-vue 3.1.40-beta.6 → 3.1.40-beta.8
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 +38 -142
- package/es/components/form-config/src/FormConfig.vue.d.ts +38 -142
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +19 -71
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +19 -71
- package/es/components/form-render/index.d.ts +19 -71
- package/es/components/form-render/src/FormRender.vue.d.ts +19 -71
- package/es/components/form-render/src/FormRender.vue.js +31 -22
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +19 -71
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -0
- package/es/components/form-render/src/hooks/useAnchor.d.ts +6 -3
- package/es/components/form-render/src/hooks/useAnchor.js +26 -26
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +7 -10
- package/es/components/form-render/src/hooks/useBusinessBinding.js +38 -36
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +2 -6
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -2
- package/es/components/form-render/src/hooks/useFormContext.js +2 -2
- package/es/components/keyboard/index.d.ts +20 -2
- package/es/components/keyboard/src/Keyboard.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +19 -2
- package/es/components/keyboard/src/components/InputNumber.vue.js +15 -5
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/NumberPanel.vue.js +14 -10
- package/es/components/shortcut-setter/index.d.ts +19 -71
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +19 -71
- package/package.json +2 -2
|
@@ -433,18 +433,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
433
433
|
}>>;
|
|
434
434
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
435
435
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
436
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
437
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
438
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
439
|
+
businessCollector: import("..").BusinessCollector;
|
|
440
|
+
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
441
|
+
changeContextCollector: import("..").ContextCollector;
|
|
442
|
+
formUUID: string;
|
|
443
|
+
anchorBarRef: import("vue").Ref<{
|
|
444
|
+
syncBarPosition: import("../../../es/shared/types").Func<any[], any>;
|
|
445
|
+
} | undefined>;
|
|
446
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
447
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
448
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
449
|
+
anchorIdList: import("vue").Ref<{
|
|
450
|
+
name: string;
|
|
451
|
+
title: string;
|
|
452
|
+
}[]>;
|
|
453
|
+
onScroll: (scrollEvent: Event) => void;
|
|
436
454
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
437
455
|
formModel: import("@formily/core").Form<{
|
|
438
456
|
[x: string]: any;
|
|
439
457
|
}>;
|
|
440
458
|
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
441
459
|
triggerAllReactionsHandler: () => void;
|
|
442
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
443
|
-
businessCollector: import("..").BusinessCollector;
|
|
444
|
-
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
445
|
-
changeContextCollector: import("..").ContextCollector;
|
|
446
|
-
formUUID: string;
|
|
447
|
-
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
448
460
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
449
461
|
[key: symbol]: any;
|
|
450
462
|
[key: `x-${string}`]: any;
|
|
@@ -560,70 +572,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
560
572
|
"x-read-pretty"?: boolean | undefined;
|
|
561
573
|
"x-compile-omitted"?: string[] | undefined;
|
|
562
574
|
}>>;
|
|
563
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
564
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
565
|
-
[key: symbol]: any;
|
|
566
|
-
[key: `x-${string}`]: any;
|
|
567
|
-
[key: `x-${number}`]: any;
|
|
568
|
-
version?: string | undefined;
|
|
569
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
570
|
-
title?: any;
|
|
571
|
-
description?: any;
|
|
572
|
-
default?: any;
|
|
573
|
-
readOnly?: boolean | undefined;
|
|
574
|
-
writeOnly?: boolean | undefined;
|
|
575
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
576
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
577
|
-
const?: any;
|
|
578
|
-
multipleOf?: number | undefined;
|
|
579
|
-
maximum?: number | undefined;
|
|
580
|
-
exclusiveMaximum?: number | undefined;
|
|
581
|
-
minimum?: number | undefined;
|
|
582
|
-
exclusiveMinimum?: number | undefined;
|
|
583
|
-
maxLength?: number | undefined;
|
|
584
|
-
minLength?: number | undefined;
|
|
585
|
-
pattern?: string | RegExp | undefined;
|
|
586
|
-
maxItems?: number | undefined;
|
|
587
|
-
minItems?: number | undefined;
|
|
588
|
-
uniqueItems?: boolean | undefined;
|
|
589
|
-
maxProperties?: number | undefined;
|
|
590
|
-
minProperties?: number | undefined;
|
|
591
|
-
required?: string | boolean | string[] | undefined;
|
|
592
|
-
format?: string | undefined;
|
|
593
|
-
$ref?: string | undefined;
|
|
594
|
-
$namespace?: string | undefined;
|
|
595
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
596
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
597
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
598
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
599
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
600
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
601
|
-
"x-value"?: any;
|
|
602
|
-
"x-index"?: number | undefined;
|
|
603
|
-
"x-pattern"?: any;
|
|
604
|
-
"x-display"?: any;
|
|
605
|
-
"x-validator"?: any;
|
|
606
|
-
"x-decorator"?: any;
|
|
607
|
-
"x-decorator-props"?: any;
|
|
608
|
-
"x-component"?: any;
|
|
609
|
-
"x-component-props"?: any;
|
|
610
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
611
|
-
"x-content"?: any;
|
|
612
|
-
"x-data"?: any;
|
|
613
|
-
"x-visible"?: boolean | undefined;
|
|
614
|
-
"x-hidden"?: boolean | undefined;
|
|
615
|
-
"x-disabled"?: boolean | undefined;
|
|
616
|
-
"x-editable"?: boolean | undefined;
|
|
617
|
-
"x-read-only"?: boolean | undefined;
|
|
618
|
-
"x-read-pretty"?: boolean | undefined;
|
|
619
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
620
|
-
}>) => void;
|
|
621
|
-
anchorIdList: import("vue").Ref<{
|
|
622
|
-
name: string;
|
|
623
|
-
title: string;
|
|
624
|
-
}[]>;
|
|
625
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
626
|
-
onScroll: (scrollEvent: Event) => void;
|
|
627
575
|
onKeydown: (event: KeyboardEvent) => void;
|
|
628
576
|
clearSpan: (uuid: string) => void;
|
|
629
577
|
exposeEvent: {
|
|
@@ -663,6 +611,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
663
611
|
editable: boolean;
|
|
664
612
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
665
613
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
614
|
+
readPretty: boolean;
|
|
666
615
|
validating: boolean;
|
|
667
616
|
submitting: boolean;
|
|
668
617
|
visited: boolean;
|
|
@@ -706,7 +655,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
706
655
|
designable: boolean;
|
|
707
656
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
708
657
|
readonly parent: import("@formily/core").GeneralField;
|
|
709
|
-
readPretty: boolean;
|
|
710
658
|
setTitle: (title?: string | undefined) => void;
|
|
711
659
|
setDescription: (description?: string | undefined) => void;
|
|
712
660
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -3048,18 +2996,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3048
2996
|
}>>;
|
|
3049
2997
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
3050
2998
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
2999
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3000
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
3001
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3002
|
+
businessCollector: import("..").BusinessCollector;
|
|
3003
|
+
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
3004
|
+
changeContextCollector: import("..").ContextCollector;
|
|
3005
|
+
formUUID: string;
|
|
3006
|
+
anchorBarRef: import("vue").Ref<{
|
|
3007
|
+
syncBarPosition: import("../../../es/shared/types").Func<any[], any>;
|
|
3008
|
+
} | undefined>;
|
|
3009
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3010
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
3011
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
3012
|
+
anchorIdList: import("vue").Ref<{
|
|
3013
|
+
name: string;
|
|
3014
|
+
title: string;
|
|
3015
|
+
}[]>;
|
|
3016
|
+
onScroll: (scrollEvent: Event) => void;
|
|
3051
3017
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
3052
3018
|
formModel: import("@formily/core").Form<{
|
|
3053
3019
|
[x: string]: any;
|
|
3054
3020
|
}>;
|
|
3055
3021
|
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
3056
3022
|
triggerAllReactionsHandler: () => void;
|
|
3057
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3058
|
-
businessCollector: import("..").BusinessCollector;
|
|
3059
|
-
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
3060
|
-
changeContextCollector: import("..").ContextCollector;
|
|
3061
|
-
formUUID: string;
|
|
3062
|
-
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3063
3023
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
3064
3024
|
[key: symbol]: any;
|
|
3065
3025
|
[key: `x-${string}`]: any;
|
|
@@ -3175,70 +3135,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3175
3135
|
"x-read-pretty"?: boolean | undefined;
|
|
3176
3136
|
"x-compile-omitted"?: string[] | undefined;
|
|
3177
3137
|
}>>;
|
|
3178
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3179
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
3180
|
-
[key: symbol]: any;
|
|
3181
|
-
[key: `x-${string}`]: any;
|
|
3182
|
-
[key: `x-${number}`]: any;
|
|
3183
|
-
version?: string | undefined;
|
|
3184
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
3185
|
-
title?: any;
|
|
3186
|
-
description?: any;
|
|
3187
|
-
default?: any;
|
|
3188
|
-
readOnly?: boolean | undefined;
|
|
3189
|
-
writeOnly?: boolean | undefined;
|
|
3190
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3191
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
3192
|
-
const?: any;
|
|
3193
|
-
multipleOf?: number | undefined;
|
|
3194
|
-
maximum?: number | undefined;
|
|
3195
|
-
exclusiveMaximum?: number | undefined;
|
|
3196
|
-
minimum?: number | undefined;
|
|
3197
|
-
exclusiveMinimum?: number | undefined;
|
|
3198
|
-
maxLength?: number | undefined;
|
|
3199
|
-
minLength?: number | undefined;
|
|
3200
|
-
pattern?: string | RegExp | undefined;
|
|
3201
|
-
maxItems?: number | undefined;
|
|
3202
|
-
minItems?: number | undefined;
|
|
3203
|
-
uniqueItems?: boolean | undefined;
|
|
3204
|
-
maxProperties?: number | undefined;
|
|
3205
|
-
minProperties?: number | undefined;
|
|
3206
|
-
required?: string | boolean | string[] | undefined;
|
|
3207
|
-
format?: string | undefined;
|
|
3208
|
-
$ref?: string | undefined;
|
|
3209
|
-
$namespace?: string | undefined;
|
|
3210
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3211
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3212
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
3213
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3214
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3215
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3216
|
-
"x-value"?: any;
|
|
3217
|
-
"x-index"?: number | undefined;
|
|
3218
|
-
"x-pattern"?: any;
|
|
3219
|
-
"x-display"?: any;
|
|
3220
|
-
"x-validator"?: any;
|
|
3221
|
-
"x-decorator"?: any;
|
|
3222
|
-
"x-decorator-props"?: any;
|
|
3223
|
-
"x-component"?: any;
|
|
3224
|
-
"x-component-props"?: any;
|
|
3225
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
3226
|
-
"x-content"?: any;
|
|
3227
|
-
"x-data"?: any;
|
|
3228
|
-
"x-visible"?: boolean | undefined;
|
|
3229
|
-
"x-hidden"?: boolean | undefined;
|
|
3230
|
-
"x-disabled"?: boolean | undefined;
|
|
3231
|
-
"x-editable"?: boolean | undefined;
|
|
3232
|
-
"x-read-only"?: boolean | undefined;
|
|
3233
|
-
"x-read-pretty"?: boolean | undefined;
|
|
3234
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
3235
|
-
}>) => void;
|
|
3236
|
-
anchorIdList: import("vue").Ref<{
|
|
3237
|
-
name: string;
|
|
3238
|
-
title: string;
|
|
3239
|
-
}[]>;
|
|
3240
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
3241
|
-
onScroll: (scrollEvent: Event) => void;
|
|
3242
3138
|
onKeydown: (event: KeyboardEvent) => void;
|
|
3243
3139
|
clearSpan: (uuid: string) => void;
|
|
3244
3140
|
exposeEvent: {
|
|
@@ -3278,6 +3174,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3278
3174
|
editable: boolean;
|
|
3279
3175
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
3280
3176
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
3177
|
+
readPretty: boolean;
|
|
3281
3178
|
validating: boolean;
|
|
3282
3179
|
submitting: boolean;
|
|
3283
3180
|
visited: boolean;
|
|
@@ -3321,7 +3218,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3321
3218
|
designable: boolean;
|
|
3322
3219
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
3323
3220
|
readonly parent: import("@formily/core").GeneralField;
|
|
3324
|
-
readPretty: boolean;
|
|
3325
3221
|
setTitle: (title?: string | undefined) => void;
|
|
3326
3222
|
setDescription: (description?: string | undefined) => void;
|
|
3327
3223
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -434,18 +434,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
434
434
|
}>>;
|
|
435
435
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
436
436
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
437
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
438
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
439
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
440
|
+
businessCollector: import("../..").BusinessCollector;
|
|
441
|
+
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
442
|
+
changeContextCollector: import("../..").ContextCollector;
|
|
443
|
+
formUUID: string;
|
|
444
|
+
anchorBarRef: import("vue").Ref<{
|
|
445
|
+
syncBarPosition: Func<any[], any>;
|
|
446
|
+
} | undefined>;
|
|
447
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
448
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
449
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
450
|
+
anchorIdList: import("vue").Ref<{
|
|
451
|
+
name: string;
|
|
452
|
+
title: string;
|
|
453
|
+
}[]>;
|
|
454
|
+
onScroll: (scrollEvent: Event) => void;
|
|
437
455
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
438
456
|
formModel: import("@formily/core").Form<{
|
|
439
457
|
[x: string]: any;
|
|
440
458
|
}>;
|
|
441
459
|
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
442
460
|
triggerAllReactionsHandler: () => void;
|
|
443
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
444
|
-
businessCollector: import("../..").BusinessCollector;
|
|
445
|
-
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
446
|
-
changeContextCollector: import("../..").ContextCollector;
|
|
447
|
-
formUUID: string;
|
|
448
|
-
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
449
461
|
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
450
462
|
[key: symbol]: any;
|
|
451
463
|
[key: `x-${string}`]: any;
|
|
@@ -561,70 +573,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
561
573
|
"x-read-pretty"?: boolean | undefined;
|
|
562
574
|
"x-compile-omitted"?: string[] | undefined;
|
|
563
575
|
}>>;
|
|
564
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
565
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
566
|
-
[key: symbol]: any;
|
|
567
|
-
[key: `x-${string}`]: any;
|
|
568
|
-
[key: `x-${number}`]: any;
|
|
569
|
-
version?: string | undefined;
|
|
570
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
571
|
-
title?: any;
|
|
572
|
-
description?: any;
|
|
573
|
-
default?: any;
|
|
574
|
-
readOnly?: boolean | undefined;
|
|
575
|
-
writeOnly?: boolean | undefined;
|
|
576
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
577
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
578
|
-
const?: any;
|
|
579
|
-
multipleOf?: number | undefined;
|
|
580
|
-
maximum?: number | undefined;
|
|
581
|
-
exclusiveMaximum?: number | undefined;
|
|
582
|
-
minimum?: number | undefined;
|
|
583
|
-
exclusiveMinimum?: number | undefined;
|
|
584
|
-
maxLength?: number | undefined;
|
|
585
|
-
minLength?: number | undefined;
|
|
586
|
-
pattern?: string | RegExp | undefined;
|
|
587
|
-
maxItems?: number | undefined;
|
|
588
|
-
minItems?: number | undefined;
|
|
589
|
-
uniqueItems?: boolean | undefined;
|
|
590
|
-
maxProperties?: number | undefined;
|
|
591
|
-
minProperties?: number | undefined;
|
|
592
|
-
required?: string | boolean | string[] | undefined;
|
|
593
|
-
format?: string | undefined;
|
|
594
|
-
$ref?: string | undefined;
|
|
595
|
-
$namespace?: string | undefined;
|
|
596
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
597
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
598
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
599
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
600
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
601
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
602
|
-
"x-value"?: any;
|
|
603
|
-
"x-index"?: number | undefined;
|
|
604
|
-
"x-pattern"?: any;
|
|
605
|
-
"x-display"?: any;
|
|
606
|
-
"x-validator"?: any;
|
|
607
|
-
"x-decorator"?: any;
|
|
608
|
-
"x-decorator-props"?: any;
|
|
609
|
-
"x-component"?: any;
|
|
610
|
-
"x-component-props"?: any;
|
|
611
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
612
|
-
"x-content"?: any;
|
|
613
|
-
"x-data"?: any;
|
|
614
|
-
"x-visible"?: boolean | undefined;
|
|
615
|
-
"x-hidden"?: boolean | undefined;
|
|
616
|
-
"x-disabled"?: boolean | undefined;
|
|
617
|
-
"x-editable"?: boolean | undefined;
|
|
618
|
-
"x-read-only"?: boolean | undefined;
|
|
619
|
-
"x-read-pretty"?: boolean | undefined;
|
|
620
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
621
|
-
}>) => void;
|
|
622
|
-
anchorIdList: import("vue").Ref<{
|
|
623
|
-
name: string;
|
|
624
|
-
title: string;
|
|
625
|
-
}[]>;
|
|
626
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
627
|
-
onScroll: (scrollEvent: Event) => void;
|
|
628
576
|
onKeydown: (event: KeyboardEvent) => void;
|
|
629
577
|
clearSpan: (uuid: string) => void;
|
|
630
578
|
exposeEvent: {
|
|
@@ -664,6 +612,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
664
612
|
editable: boolean;
|
|
665
613
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
666
614
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
615
|
+
readPretty: boolean;
|
|
667
616
|
validating: boolean;
|
|
668
617
|
submitting: boolean;
|
|
669
618
|
visited: boolean;
|
|
@@ -707,7 +656,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
707
656
|
designable: boolean;
|
|
708
657
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
709
658
|
readonly parent: import("@formily/core").GeneralField;
|
|
710
|
-
readPretty: boolean;
|
|
711
659
|
setTitle: (title?: string | undefined) => void;
|
|
712
660
|
setDescription: (description?: string | undefined) => void;
|
|
713
661
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -3049,18 +2997,30 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3049
2997
|
}>>;
|
|
3050
2998
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
3051
2999
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
3000
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3001
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
3002
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3003
|
+
businessCollector: import("../..").BusinessCollector;
|
|
3004
|
+
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
3005
|
+
changeContextCollector: import("../..").ContextCollector;
|
|
3006
|
+
formUUID: string;
|
|
3007
|
+
anchorBarRef: import("vue").Ref<{
|
|
3008
|
+
syncBarPosition: Func<any[], any>;
|
|
3009
|
+
} | undefined>;
|
|
3010
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3011
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
3012
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
3013
|
+
anchorIdList: import("vue").Ref<{
|
|
3014
|
+
name: string;
|
|
3015
|
+
title: string;
|
|
3016
|
+
}[]>;
|
|
3017
|
+
onScroll: (scrollEvent: Event) => void;
|
|
3052
3018
|
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
3053
3019
|
formModel: import("@formily/core").Form<{
|
|
3054
3020
|
[x: string]: any;
|
|
3055
3021
|
}>;
|
|
3056
3022
|
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
3057
3023
|
triggerAllReactionsHandler: () => void;
|
|
3058
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3059
|
-
businessCollector: import("../..").BusinessCollector;
|
|
3060
|
-
formItemDepsCollector: import("../..").FormItemDepsCollector;
|
|
3061
|
-
changeContextCollector: import("../..").ContextCollector;
|
|
3062
|
-
formUUID: string;
|
|
3063
|
-
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3064
3024
|
schemaAdaptor: (fieldList: import("../..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
3065
3025
|
[key: symbol]: any;
|
|
3066
3026
|
[key: `x-${string}`]: any;
|
|
@@ -3176,70 +3136,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3176
3136
|
"x-read-pretty"?: boolean | undefined;
|
|
3177
3137
|
"x-compile-omitted"?: string[] | undefined;
|
|
3178
3138
|
}>>;
|
|
3179
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3180
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
3181
|
-
[key: symbol]: any;
|
|
3182
|
-
[key: `x-${string}`]: any;
|
|
3183
|
-
[key: `x-${number}`]: any;
|
|
3184
|
-
version?: string | undefined;
|
|
3185
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
3186
|
-
title?: any;
|
|
3187
|
-
description?: any;
|
|
3188
|
-
default?: any;
|
|
3189
|
-
readOnly?: boolean | undefined;
|
|
3190
|
-
writeOnly?: boolean | undefined;
|
|
3191
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3192
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
3193
|
-
const?: any;
|
|
3194
|
-
multipleOf?: number | undefined;
|
|
3195
|
-
maximum?: number | undefined;
|
|
3196
|
-
exclusiveMaximum?: number | undefined;
|
|
3197
|
-
minimum?: number | undefined;
|
|
3198
|
-
exclusiveMinimum?: number | undefined;
|
|
3199
|
-
maxLength?: number | undefined;
|
|
3200
|
-
minLength?: number | undefined;
|
|
3201
|
-
pattern?: string | RegExp | undefined;
|
|
3202
|
-
maxItems?: number | undefined;
|
|
3203
|
-
minItems?: number | undefined;
|
|
3204
|
-
uniqueItems?: boolean | undefined;
|
|
3205
|
-
maxProperties?: number | undefined;
|
|
3206
|
-
minProperties?: number | undefined;
|
|
3207
|
-
required?: string | boolean | string[] | undefined;
|
|
3208
|
-
format?: string | undefined;
|
|
3209
|
-
$ref?: string | undefined;
|
|
3210
|
-
$namespace?: string | undefined;
|
|
3211
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3212
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3213
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
3214
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3215
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3216
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3217
|
-
"x-value"?: any;
|
|
3218
|
-
"x-index"?: number | undefined;
|
|
3219
|
-
"x-pattern"?: any;
|
|
3220
|
-
"x-display"?: any;
|
|
3221
|
-
"x-validator"?: any;
|
|
3222
|
-
"x-decorator"?: any;
|
|
3223
|
-
"x-decorator-props"?: any;
|
|
3224
|
-
"x-component"?: any;
|
|
3225
|
-
"x-component-props"?: any;
|
|
3226
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
3227
|
-
"x-content"?: any;
|
|
3228
|
-
"x-data"?: any;
|
|
3229
|
-
"x-visible"?: boolean | undefined;
|
|
3230
|
-
"x-hidden"?: boolean | undefined;
|
|
3231
|
-
"x-disabled"?: boolean | undefined;
|
|
3232
|
-
"x-editable"?: boolean | undefined;
|
|
3233
|
-
"x-read-only"?: boolean | undefined;
|
|
3234
|
-
"x-read-pretty"?: boolean | undefined;
|
|
3235
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
3236
|
-
}>) => void;
|
|
3237
|
-
anchorIdList: import("vue").Ref<{
|
|
3238
|
-
name: string;
|
|
3239
|
-
title: string;
|
|
3240
|
-
}[]>;
|
|
3241
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
3242
|
-
onScroll: (scrollEvent: Event) => void;
|
|
3243
3139
|
onKeydown: (event: KeyboardEvent) => void;
|
|
3244
3140
|
clearSpan: (uuid: string) => void;
|
|
3245
3141
|
exposeEvent: {
|
|
@@ -3279,6 +3175,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3279
3175
|
editable: boolean;
|
|
3280
3176
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
3281
3177
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
3178
|
+
readPretty: boolean;
|
|
3282
3179
|
validating: boolean;
|
|
3283
3180
|
submitting: boolean;
|
|
3284
3181
|
visited: boolean;
|
|
@@ -3322,7 +3219,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3322
3219
|
designable: boolean;
|
|
3323
3220
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
3324
3221
|
readonly parent: import("@formily/core").GeneralField;
|
|
3325
|
-
readPretty: boolean;
|
|
3326
3222
|
setTitle: (title?: string | undefined) => void;
|
|
3327
3223
|
setDescription: (description?: string | undefined) => void;
|
|
3328
3224
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -283,18 +283,30 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
283
283
|
}>>;
|
|
284
284
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
285
285
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
286
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
287
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
288
|
+
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
289
|
+
businessCollector: import("../../../../../es/components/form-render").BusinessCollector;
|
|
290
|
+
formItemDepsCollector: import("../../../../../es/components/form-render").FormItemDepsCollector;
|
|
291
|
+
changeContextCollector: import("../../../../../es/components/form-render").ContextCollector;
|
|
292
|
+
formUUID: string;
|
|
293
|
+
anchorBarRef: import("vue").Ref<{
|
|
294
|
+
syncBarPosition: import("../../../../shared/types").Func<any[], any>;
|
|
295
|
+
} | undefined>;
|
|
296
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
297
|
+
generateAnchorList: (formModel: import("../../../../../es/components/form-render").Form<any>) => Promise<void>;
|
|
298
|
+
updateAnchorList: (field: import("../../../../../es/components/form-render").GeneralField) => void;
|
|
299
|
+
anchorIdList: import("vue").Ref<{
|
|
300
|
+
name: string;
|
|
301
|
+
title: string;
|
|
302
|
+
}[]>;
|
|
303
|
+
onScroll: (scrollEvent: Event) => void;
|
|
286
304
|
triggerAutoHidden: (field: import("../../../../../es/components/form-render").GeneralField) => Promise<void>;
|
|
287
305
|
formModel: import("../../../../../es/components/form-render").Form<{
|
|
288
306
|
[x: string]: any;
|
|
289
307
|
}>;
|
|
290
308
|
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
291
309
|
triggerAllReactionsHandler: () => void;
|
|
292
|
-
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
293
|
-
businessCollector: import("../../../../../es/components/form-render").BusinessCollector;
|
|
294
|
-
formItemDepsCollector: import("../../../../../es/components/form-render").FormItemDepsCollector;
|
|
295
|
-
changeContextCollector: import("../../../../../es/components/form-render").ContextCollector;
|
|
296
|
-
formUUID: string;
|
|
297
|
-
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
298
310
|
schemaAdaptor: (fieldList: FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
299
311
|
[key: symbol]: any;
|
|
300
312
|
[key: `x-${string}`]: any;
|
|
@@ -410,70 +422,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
410
422
|
"x-read-pretty"?: boolean | undefined;
|
|
411
423
|
"x-compile-omitted"?: string[] | undefined;
|
|
412
424
|
}>>;
|
|
413
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
414
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
415
|
-
[key: symbol]: any;
|
|
416
|
-
[key: `x-${string}`]: any;
|
|
417
|
-
[key: `x-${number}`]: any;
|
|
418
|
-
version?: string | undefined;
|
|
419
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
420
|
-
title?: any;
|
|
421
|
-
description?: any;
|
|
422
|
-
default?: any;
|
|
423
|
-
readOnly?: boolean | undefined;
|
|
424
|
-
writeOnly?: boolean | undefined;
|
|
425
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
426
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
427
|
-
const?: any;
|
|
428
|
-
multipleOf?: number | undefined;
|
|
429
|
-
maximum?: number | undefined;
|
|
430
|
-
exclusiveMaximum?: number | undefined;
|
|
431
|
-
minimum?: number | undefined;
|
|
432
|
-
exclusiveMinimum?: number | undefined;
|
|
433
|
-
maxLength?: number | undefined;
|
|
434
|
-
minLength?: number | undefined;
|
|
435
|
-
pattern?: string | RegExp | undefined;
|
|
436
|
-
maxItems?: number | undefined;
|
|
437
|
-
minItems?: number | undefined;
|
|
438
|
-
uniqueItems?: boolean | undefined;
|
|
439
|
-
maxProperties?: number | undefined;
|
|
440
|
-
minProperties?: number | undefined;
|
|
441
|
-
required?: string | boolean | string[] | undefined;
|
|
442
|
-
format?: string | undefined;
|
|
443
|
-
$ref?: string | undefined;
|
|
444
|
-
$namespace?: string | undefined;
|
|
445
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
446
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
447
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
448
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
449
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
450
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
451
|
-
"x-value"?: any;
|
|
452
|
-
"x-index"?: number | undefined;
|
|
453
|
-
"x-pattern"?: any;
|
|
454
|
-
"x-display"?: any;
|
|
455
|
-
"x-validator"?: any;
|
|
456
|
-
"x-decorator"?: any;
|
|
457
|
-
"x-decorator-props"?: any;
|
|
458
|
-
"x-component"?: any;
|
|
459
|
-
"x-component-props"?: any;
|
|
460
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
461
|
-
"x-content"?: any;
|
|
462
|
-
"x-data"?: any;
|
|
463
|
-
"x-visible"?: boolean | undefined;
|
|
464
|
-
"x-hidden"?: boolean | undefined;
|
|
465
|
-
"x-disabled"?: boolean | undefined;
|
|
466
|
-
"x-editable"?: boolean | undefined;
|
|
467
|
-
"x-read-only"?: boolean | undefined;
|
|
468
|
-
"x-read-pretty"?: boolean | undefined;
|
|
469
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
470
|
-
}>) => void;
|
|
471
|
-
anchorIdList: import("vue").Ref<{
|
|
472
|
-
name: string;
|
|
473
|
-
title: string;
|
|
474
|
-
}[]>;
|
|
475
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
476
|
-
onScroll: (scrollEvent: Event) => void;
|
|
477
425
|
onKeydown: (event: KeyboardEvent) => void;
|
|
478
426
|
clearSpan: (uuid: string) => void;
|
|
479
427
|
exposeEvent: {
|
|
@@ -513,6 +461,7 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
513
461
|
editable: boolean;
|
|
514
462
|
component: import("../../../../../es/components/form-render").FieldComponent<any, any>;
|
|
515
463
|
decorator: import("../../../../../es/components/form-render").FieldDecorator<any, any>;
|
|
464
|
+
readPretty: boolean;
|
|
516
465
|
validating: boolean;
|
|
517
466
|
submitting: boolean;
|
|
518
467
|
visited: boolean;
|
|
@@ -556,7 +505,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
556
505
|
designable: boolean;
|
|
557
506
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
558
507
|
readonly parent: import("../../../../../es/components/form-render").GeneralField;
|
|
559
|
-
readPretty: boolean;
|
|
560
508
|
setTitle: (title?: string | undefined) => void;
|
|
561
509
|
setDescription: (description?: string | undefined) => void;
|
|
562
510
|
setDisplay: (type?: import("../../../../../es/components/form-render").FieldDisplayTypes | undefined) => void;
|