cnhis-design-vue 3.1.16-beta.6 → 3.1.16-beta.7
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/packages/form-config/index.d.ts +18 -0
- package/es/packages/form-config/src/FormConfig.vue.d.ts +18 -0
- package/es/packages/form-config/src/components/FormConfigCreator.vue.d.ts +9 -0
- package/es/packages/form-config/src/components/FormConfigEdit.vue.d.ts +9 -0
- package/es/packages/form-render/index.d.ts +9 -0
- package/es/packages/form-render/src/FormRender.js +1 -0
- package/es/packages/form-render/src/FormRender.vue.d.ts +10 -1
- package/es/packages/form-render/src/hooks/useBusinessBinding.d.ts +5 -2
- package/es/packages/form-render/src/hooks/useBusinessBinding.js +9 -5
- package/es/packages/form-render/src/hooks/useFormContext.js +1 -1
- package/es/packages/form-render/src/types/index.d.ts +7 -0
- package/es/packages/shortcut-setter/index.d.ts +9 -0
- package/es/packages/shortcut-setter/src/ShortcutSetter.vue.d.ts +9 -0
- package/package.json +1 -1
|
@@ -7038,6 +7038,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7038
7038
|
type: NumberConstructor;
|
|
7039
7039
|
default: number;
|
|
7040
7040
|
};
|
|
7041
|
+
businessFormatter: {
|
|
7042
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
7043
|
+
};
|
|
7041
7044
|
schema: {
|
|
7042
7045
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
7043
7046
|
[key: symbol]: any;
|
|
@@ -7150,6 +7153,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
7150
7153
|
type: NumberConstructor;
|
|
7151
7154
|
default: number;
|
|
7152
7155
|
};
|
|
7156
|
+
businessFormatter: {
|
|
7157
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
7158
|
+
};
|
|
7153
7159
|
schema: {
|
|
7154
7160
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
7155
7161
|
[key: symbol]: any;
|
|
@@ -8647,6 +8653,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
8647
8653
|
type: NumberConstructor;
|
|
8648
8654
|
default: number;
|
|
8649
8655
|
};
|
|
8656
|
+
businessFormatter: {
|
|
8657
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
8658
|
+
};
|
|
8650
8659
|
schema: {
|
|
8651
8660
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
8652
8661
|
[key: symbol]: any;
|
|
@@ -12114,6 +12123,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12114
12123
|
type: NumberConstructor;
|
|
12115
12124
|
default: number;
|
|
12116
12125
|
};
|
|
12126
|
+
businessFormatter: {
|
|
12127
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
12128
|
+
};
|
|
12117
12129
|
schema: {
|
|
12118
12130
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
12119
12131
|
[key: symbol]: any;
|
|
@@ -12226,6 +12238,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
12226
12238
|
type: NumberConstructor;
|
|
12227
12239
|
default: number;
|
|
12228
12240
|
};
|
|
12241
|
+
businessFormatter: {
|
|
12242
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
12243
|
+
};
|
|
12229
12244
|
schema: {
|
|
12230
12245
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
12231
12246
|
[key: symbol]: any;
|
|
@@ -13723,6 +13738,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
13723
13738
|
type: NumberConstructor;
|
|
13724
13739
|
default: number;
|
|
13725
13740
|
};
|
|
13741
|
+
businessFormatter: {
|
|
13742
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
13743
|
+
};
|
|
13726
13744
|
schema: {
|
|
13727
13745
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
13728
13746
|
[key: symbol]: any;
|
|
@@ -7040,6 +7040,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7040
7040
|
type: NumberConstructor;
|
|
7041
7041
|
default: number;
|
|
7042
7042
|
};
|
|
7043
|
+
businessFormatter: {
|
|
7044
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
7045
|
+
};
|
|
7043
7046
|
schema: {
|
|
7044
7047
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
7045
7048
|
[key: symbol]: any;
|
|
@@ -7152,6 +7155,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
7152
7155
|
type: NumberConstructor;
|
|
7153
7156
|
default: number;
|
|
7154
7157
|
};
|
|
7158
|
+
businessFormatter: {
|
|
7159
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
7160
|
+
};
|
|
7155
7161
|
schema: {
|
|
7156
7162
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
7157
7163
|
[key: symbol]: any;
|
|
@@ -8649,6 +8655,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
8649
8655
|
type: NumberConstructor;
|
|
8650
8656
|
default: number;
|
|
8651
8657
|
};
|
|
8658
|
+
businessFormatter: {
|
|
8659
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
8660
|
+
};
|
|
8652
8661
|
schema: {
|
|
8653
8662
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
8654
8663
|
[key: symbol]: any;
|
|
@@ -12116,6 +12125,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12116
12125
|
type: NumberConstructor;
|
|
12117
12126
|
default: number;
|
|
12118
12127
|
};
|
|
12128
|
+
businessFormatter: {
|
|
12129
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
12130
|
+
};
|
|
12119
12131
|
schema: {
|
|
12120
12132
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
12121
12133
|
[key: symbol]: any;
|
|
@@ -12228,6 +12240,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
12228
12240
|
type: NumberConstructor;
|
|
12229
12241
|
default: number;
|
|
12230
12242
|
};
|
|
12243
|
+
businessFormatter: {
|
|
12244
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
12245
|
+
};
|
|
12231
12246
|
schema: {
|
|
12232
12247
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
12233
12248
|
[key: symbol]: any;
|
|
@@ -13725,6 +13740,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
13725
13740
|
type: NumberConstructor;
|
|
13726
13741
|
default: number;
|
|
13727
13742
|
};
|
|
13743
|
+
businessFormatter: {
|
|
13744
|
+
type: PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
13745
|
+
};
|
|
13728
13746
|
schema: {
|
|
13729
13747
|
type: PropType<import("@formily/json-schema").Stringify<{
|
|
13730
13748
|
[key: symbol]: any;
|
|
@@ -3370,6 +3370,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3370
3370
|
type: NumberConstructor;
|
|
3371
3371
|
default: number;
|
|
3372
3372
|
};
|
|
3373
|
+
businessFormatter: {
|
|
3374
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3375
|
+
};
|
|
3373
3376
|
schema: {
|
|
3374
3377
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3375
3378
|
[key: symbol]: any;
|
|
@@ -3482,6 +3485,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3482
3485
|
type: NumberConstructor;
|
|
3483
3486
|
default: number;
|
|
3484
3487
|
};
|
|
3488
|
+
businessFormatter: {
|
|
3489
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3490
|
+
};
|
|
3485
3491
|
schema: {
|
|
3486
3492
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3487
3493
|
[key: symbol]: any;
|
|
@@ -4979,6 +4985,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
4979
4985
|
type: NumberConstructor;
|
|
4980
4986
|
default: number;
|
|
4981
4987
|
};
|
|
4988
|
+
businessFormatter: {
|
|
4989
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
4990
|
+
};
|
|
4982
4991
|
schema: {
|
|
4983
4992
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
4984
4993
|
[key: symbol]: any;
|
|
@@ -3616,6 +3616,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3616
3616
|
type: NumberConstructor;
|
|
3617
3617
|
default: number;
|
|
3618
3618
|
};
|
|
3619
|
+
businessFormatter: {
|
|
3620
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3621
|
+
};
|
|
3619
3622
|
schema: {
|
|
3620
3623
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3621
3624
|
[key: symbol]: any;
|
|
@@ -3728,6 +3731,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
3728
3731
|
type: NumberConstructor;
|
|
3729
3732
|
default: number;
|
|
3730
3733
|
};
|
|
3734
|
+
businessFormatter: {
|
|
3735
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3736
|
+
};
|
|
3731
3737
|
schema: {
|
|
3732
3738
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3733
3739
|
[key: symbol]: any;
|
|
@@ -5225,6 +5231,9 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
5225
5231
|
type: NumberConstructor;
|
|
5226
5232
|
default: number;
|
|
5227
5233
|
};
|
|
5234
|
+
businessFormatter: {
|
|
5235
|
+
type: import("vue").PropType<import("../../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
5236
|
+
};
|
|
5228
5237
|
schema: {
|
|
5229
5238
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
5230
5239
|
[key: symbol]: any;
|
|
@@ -29,6 +29,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
31
31
|
};
|
|
32
|
+
businessFormatter: {
|
|
33
|
+
type: import("vue").PropType<import("./src/types").FormBusinessFormatter>;
|
|
34
|
+
};
|
|
32
35
|
schema: {
|
|
33
36
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
34
37
|
[key: symbol]: any;
|
|
@@ -141,6 +144,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
141
144
|
type: NumberConstructor;
|
|
142
145
|
default: number;
|
|
143
146
|
};
|
|
147
|
+
businessFormatter: {
|
|
148
|
+
type: import("vue").PropType<import("./src/types").FormBusinessFormatter>;
|
|
149
|
+
};
|
|
144
150
|
schema: {
|
|
145
151
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
146
152
|
[key: symbol]: any;
|
|
@@ -1638,6 +1644,9 @@ declare const FormRender: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1638
1644
|
type: NumberConstructor;
|
|
1639
1645
|
default: number;
|
|
1640
1646
|
};
|
|
1647
|
+
businessFormatter: {
|
|
1648
|
+
type: import("vue").PropType<import("./src/types").FormBusinessFormatter>;
|
|
1649
|
+
};
|
|
1641
1650
|
schema: {
|
|
1642
1651
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
1643
1652
|
[key: symbol]: any;
|
|
@@ -30,6 +30,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
30
30
|
maxHeight: { type: [Number, String], default: "" },
|
|
31
31
|
anchor: { type: Boolean, default: false },
|
|
32
32
|
parallelism: { type: Number, default: 3 },
|
|
33
|
+
businessFormatter: { type: Function },
|
|
33
34
|
schema: { type: Object },
|
|
34
35
|
components: {
|
|
35
36
|
type: Object,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="lodash" />
|
|
2
2
|
import { AnyObject } from '../../../../es/src/types';
|
|
3
3
|
import { Component, FunctionalComponent, nextTick, PropType } from 'vue';
|
|
4
|
-
import { FieldItem, FieldVisitor } from './types';
|
|
4
|
+
import { FieldItem, FieldVisitor, FormBusinessFormatter } from './types';
|
|
5
5
|
declare const _default: import("vue").DefineComponent<{
|
|
6
6
|
fieldList: {
|
|
7
7
|
type: PropType<FieldItem[]>;
|
|
@@ -29,6 +29,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
29
29
|
type: NumberConstructor;
|
|
30
30
|
default: number;
|
|
31
31
|
};
|
|
32
|
+
businessFormatter: {
|
|
33
|
+
type: PropType<FormBusinessFormatter>;
|
|
34
|
+
};
|
|
32
35
|
schema: {
|
|
33
36
|
type: PropType<import("@formily/vue").Stringify<{
|
|
34
37
|
[key: symbol]: any;
|
|
@@ -141,6 +144,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
141
144
|
type: NumberConstructor;
|
|
142
145
|
default: number;
|
|
143
146
|
};
|
|
147
|
+
businessFormatter: {
|
|
148
|
+
type: PropType<FormBusinessFormatter>;
|
|
149
|
+
};
|
|
144
150
|
schema: {
|
|
145
151
|
type: PropType<import("@formily/vue").Stringify<{
|
|
146
152
|
[key: symbol]: any;
|
|
@@ -1638,6 +1644,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1638
1644
|
type: NumberConstructor;
|
|
1639
1645
|
default: number;
|
|
1640
1646
|
};
|
|
1647
|
+
businessFormatter: {
|
|
1648
|
+
type: PropType<FormBusinessFormatter>;
|
|
1649
|
+
};
|
|
1641
1650
|
schema: {
|
|
1642
1651
|
type: PropType<import("@formily/vue").Stringify<{
|
|
1643
1652
|
[key: symbol]: any;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
import { Form } from '@formily/core';
|
|
2
|
+
import { FormBusinessFormatter } from '../../../../../es/packages/form-render';
|
|
2
3
|
import { FIELD_BUSINESS_TYPE } from '../constants';
|
|
3
4
|
export declare class BusinessCollector {
|
|
4
5
|
private formModel;
|
|
6
|
+
private businessFormatter?;
|
|
5
7
|
private readonly typeCollector;
|
|
6
8
|
private readonly fieldNameCollector;
|
|
7
|
-
constructor(formModel: Form);
|
|
9
|
+
constructor(formModel: Form, businessFormatter?: FormBusinessFormatter | undefined);
|
|
10
|
+
private formatter;
|
|
8
11
|
collect(type: FIELD_BUSINESS_TYPE, fieldName: string): void;
|
|
9
12
|
private getField;
|
|
10
13
|
private getType;
|
|
@@ -19,5 +22,5 @@ export declare class BusinessCollector {
|
|
|
19
22
|
trigger(fieldName: string, triggerType?: 'change' | 'blur'): void;
|
|
20
23
|
}
|
|
21
24
|
export declare function useBusinessBinding(): {
|
|
22
|
-
create: (formModel: Form) => BusinessCollector;
|
|
25
|
+
create: (formModel: Form, formatter?: FormBusinessFormatter) => BusinessCollector;
|
|
23
26
|
};
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { isField } from '@formily/core';
|
|
2
2
|
import { isString } from '@vueuse/core';
|
|
3
|
-
import { isNumber } from 'lodash-es';
|
|
3
|
+
import { isFunction, isNumber } from 'lodash-es';
|
|
4
4
|
import { FIELD_BUSINESS_TYPE } from '../constants/index.js';
|
|
5
5
|
import { isIdCard, parseIdCard, parseAge2FromContext, parseBirthday, parseAge2Birthday } from '../utils/business.js';
|
|
6
6
|
|
|
7
7
|
class BusinessCollector {
|
|
8
|
-
constructor(formModel) {
|
|
8
|
+
constructor(formModel, businessFormatter) {
|
|
9
9
|
this.formModel = formModel;
|
|
10
|
+
this.businessFormatter = businessFormatter;
|
|
10
11
|
this.typeCollector = /* @__PURE__ */ new Map();
|
|
11
12
|
this.fieldNameCollector = /* @__PURE__ */ new Map();
|
|
12
13
|
this.handlerChangeMap = /* @__PURE__ */ new Map([
|
|
@@ -18,6 +19,9 @@ class BusinessCollector {
|
|
|
18
19
|
[FIELD_BUSINESS_TYPE.AGE, this.handlerAgeType.bind(this)]
|
|
19
20
|
]);
|
|
20
21
|
}
|
|
22
|
+
formatter(...args) {
|
|
23
|
+
return isFunction(this.businessFormatter) ? this.businessFormatter(...args) : args[0].value;
|
|
24
|
+
}
|
|
21
25
|
collect(type, fieldName) {
|
|
22
26
|
this.typeCollector.set(type, fieldName);
|
|
23
27
|
this.fieldNameCollector.set(fieldName, type);
|
|
@@ -41,7 +45,7 @@ class BusinessCollector {
|
|
|
41
45
|
field && this.formModel.setFieldState(field, (state) => {
|
|
42
46
|
if (!force && state.value)
|
|
43
47
|
return;
|
|
44
|
-
state.value = value;
|
|
48
|
+
state.value = this.formatter({ value, type, fieldKey: field });
|
|
45
49
|
});
|
|
46
50
|
}
|
|
47
51
|
handlerIdCardType() {
|
|
@@ -80,8 +84,8 @@ class BusinessCollector {
|
|
|
80
84
|
}
|
|
81
85
|
}
|
|
82
86
|
function useBusinessBinding() {
|
|
83
|
-
function create(formModel) {
|
|
84
|
-
return new BusinessCollector(formModel);
|
|
87
|
+
function create(formModel, formatter) {
|
|
88
|
+
return new BusinessCollector(formModel, formatter);
|
|
85
89
|
}
|
|
86
90
|
return { create };
|
|
87
91
|
}
|
|
@@ -34,7 +34,7 @@ function useFormContext(props, formModel) {
|
|
|
34
34
|
},
|
|
35
35
|
scope: Object.assign({}, usePresetScope(), props.scope)
|
|
36
36
|
}).SchemaField);
|
|
37
|
-
const businessCollector = useBusinessBinding().create(formModel);
|
|
37
|
+
const businessCollector = useBusinessBinding().create(formModel, props.businessFormatter);
|
|
38
38
|
provide(InjectionBusinessCollector, businessCollector);
|
|
39
39
|
const changeContextCollector = useChangeContext().create();
|
|
40
40
|
provide(InjectionChangeContextCollector, changeContextCollector);
|
|
@@ -2,6 +2,7 @@ import { AnyObject, WithUndefined } from '../../../../../es/src/types';
|
|
|
2
2
|
import { DataField, Field } from '@formily/core';
|
|
3
3
|
import { ISchema } from '@formily/json-schema/esm/types';
|
|
4
4
|
import { Component, FunctionalComponent } from 'vue';
|
|
5
|
+
import { FIELD_BUSINESS_TYPE } from '../../../../../es/packages/form-render/src/constants';
|
|
5
6
|
import { FieldItem } from '../types';
|
|
6
7
|
import { AsyncQueue } from '../hooks';
|
|
7
8
|
export * from './fieldItem';
|
|
@@ -69,4 +70,10 @@ export declare type FormRenderProps = Partial<{
|
|
|
69
70
|
consumer: boolean;
|
|
70
71
|
uuid: string;
|
|
71
72
|
lifeCycle: FormRenderLifeCycle;
|
|
73
|
+
businessFormatter: FormBusinessFormatter;
|
|
72
74
|
}>;
|
|
75
|
+
export declare type FormBusinessFormatter = (payload: {
|
|
76
|
+
fieldKey: string;
|
|
77
|
+
value: unknown;
|
|
78
|
+
type: FIELD_BUSINESS_TYPE;
|
|
79
|
+
}) => unknown;
|
|
@@ -1724,6 +1724,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1724
1724
|
type: NumberConstructor;
|
|
1725
1725
|
default: number;
|
|
1726
1726
|
};
|
|
1727
|
+
businessFormatter: {
|
|
1728
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
1729
|
+
};
|
|
1727
1730
|
schema: {
|
|
1728
1731
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
1729
1732
|
[key: symbol]: any;
|
|
@@ -1836,6 +1839,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1836
1839
|
type: NumberConstructor;
|
|
1837
1840
|
default: number;
|
|
1838
1841
|
};
|
|
1842
|
+
businessFormatter: {
|
|
1843
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
1844
|
+
};
|
|
1839
1845
|
schema: {
|
|
1840
1846
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
1841
1847
|
[key: symbol]: any;
|
|
@@ -3333,6 +3339,9 @@ declare const ShortcutSetter: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3333
3339
|
type: NumberConstructor;
|
|
3334
3340
|
default: number;
|
|
3335
3341
|
};
|
|
3342
|
+
businessFormatter: {
|
|
3343
|
+
type: import("vue").PropType<import("..").FormBusinessFormatter>;
|
|
3344
|
+
};
|
|
3336
3345
|
schema: {
|
|
3337
3346
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3338
3347
|
[key: symbol]: any;
|
|
@@ -1726,6 +1726,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1726
1726
|
type: NumberConstructor;
|
|
1727
1727
|
default: number;
|
|
1728
1728
|
};
|
|
1729
|
+
businessFormatter: {
|
|
1730
|
+
type: import("vue").PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
1731
|
+
};
|
|
1729
1732
|
schema: {
|
|
1730
1733
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
1731
1734
|
[key: symbol]: any;
|
|
@@ -1838,6 +1841,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1838
1841
|
type: NumberConstructor;
|
|
1839
1842
|
default: number;
|
|
1840
1843
|
};
|
|
1844
|
+
businessFormatter: {
|
|
1845
|
+
type: import("vue").PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
1846
|
+
};
|
|
1841
1847
|
schema: {
|
|
1842
1848
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
1843
1849
|
[key: symbol]: any;
|
|
@@ -3335,6 +3341,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
3335
3341
|
type: NumberConstructor;
|
|
3336
3342
|
default: number;
|
|
3337
3343
|
};
|
|
3344
|
+
businessFormatter: {
|
|
3345
|
+
type: import("vue").PropType<import("../../../../es/packages/form-render").FormBusinessFormatter>;
|
|
3346
|
+
};
|
|
3338
3347
|
schema: {
|
|
3339
3348
|
type: import("vue").PropType<import("@formily/json-schema").Stringify<{
|
|
3340
3349
|
[key: symbol]: any;
|