@dhccmobile/vue3-lo-form 1.1.41 → 2.0.0
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/.env.local.bak +6 -6
- package/.eslintrc.js +28 -28
- package/README.md +70 -62
- package/babel.config.js +3 -3
- package/dist/vue3-lo-form.common.js +7700 -107778
- package/dist/vue3-lo-form.common.js.map +1 -1
- package/dist/vue3-lo-form.css +1 -1
- package/dist/vue3-lo-form.umd.js +7773 -107851
- package/dist/vue3-lo-form.umd.js.map +1 -1
- package/dist/vue3-lo-form.umd.min.js +1 -56
- package/dist/vue3-lo-form.umd.min.js.map +1 -1
- package/package.json +65 -61
- package/public/index.html +17 -17
- package/public/js/pinyin.ts +101 -101
- package/src/App.vue +741 -741
- package/src/components/form/DvForm.vue +642 -642
- package/src/components/form/DvFormLayout.vue +1569 -1569
- package/src/components/form/StretchText.vue +90 -90
- package/src/components/index.ts +3 -3
- package/src/constants/config/form-template.config.ts +32 -32
- package/src/constants/config/form.config.ts +4 -4
- package/src/constants/config/storage.config.ts +4 -4
- package/src/constants/encode-assets/svg.ts +11 -11
- package/src/constants/enum/builtIn-label.enum.ts +5 -5
- package/src/constants/enum/cache-type.enum.ts +7 -7
- package/src/constants/enum/control-format-type.enum.ts +9 -9
- package/src/constants/enum/dynamic-option-type.enum.ts +6 -6
- package/src/constants/enum/form-bus-attr.enum.ts +8 -8
- package/src/constants/enum/form-field-class.enum.ts +7 -7
- package/src/constants/enum/form-field-type.enum.ts +25 -25
- package/src/constants/enum/form-type.enum.ts +5 -5
- package/src/constants/enum/index.ts +19 -19
- package/src/constants/enum/lateral-arrangement.enum.ts +9 -9
- package/src/constants/enum/money-unit.enum.ts +6 -6
- package/src/constants/enum/option-type.enum.ts +5 -5
- package/src/constants/enum/submitted-type.enum.ts +32 -31
- package/src/constants/enum/support-upload-type.enum.ts +5 -5
- package/src/constants/enum/switch.enum.ts +5 -5
- package/src/constants/enum/upload-type.enum.ts +17 -17
- package/src/constants/enum/validate-rules.enum.ts +25 -25
- package/src/constants/enum/validate-status.enum.ts +8 -8
- package/src/constants/enum/vertical-arrangement.enum.ts +7 -7
- package/src/constants/enum/zoom-type.ts +6 -6
- package/src/constants/index.ts +3 -3
- package/src/core/FormApi.ts +1238 -1238
- package/src/core/index.ts +1 -1
- package/src/domain/AbstractControl.ts +6 -6
- package/src/domain/Control.ts +14 -14
- package/src/domain/CustomFormat.ts +6 -6
- package/src/domain/DesForm.ts +48 -48
- package/src/domain/DesFormControl.ts +241 -241
- package/src/domain/DesFormLayout.ts +51 -51
- package/src/domain/FieldChangeHistory.ts +9 -9
- package/src/domain/FormConfig.ts +15 -15
- package/src/domain/FormControl.ts +125 -125
- package/src/domain/FormEnum.ts +9 -9
- package/src/domain/FormGroup.ts +42 -42
- package/src/domain/FormRestfulResponse.ts +6 -6
- package/src/domain/ProvideInjectData.ts +10 -10
- package/src/domain/SysDictDetail.ts +38 -38
- package/src/domain/SysDictInfo.ts +40 -40
- package/src/domain/SysDictTreeDetail.ts +52 -52
- package/src/domain/index.ts +12 -12
- package/src/filtres/amount-capitalization.filter.ts +154 -147
- package/src/filtres/extract-options.filter.ts +53 -53
- package/src/filtres/generate-grid-column-end.filter.ts +22 -22
- package/src/filtres/generate-grid-template-columns.filter.ts +24 -24
- package/src/filtres/switch-enum-convert.filter.ts +18 -18
- package/src/filtres/zoom-multiple.filter.ts +32 -32
- package/src/index.ts +73 -73
- package/src/main.ts +17 -17
- package/src/services/api.service.ts +73 -73
- package/src/services/clean-local-forage.service.ts +58 -58
- package/src/services/date-format.service.ts +74 -74
- package/src/services/dict-local-forage.service.ts +58 -58
- package/src/services/form-bean-utils.service.ts +41 -41
- package/src/services/form-local-forage.service.ts +59 -59
- package/src/services/form-tools.service.ts +739 -659
- package/src/services/form-tree-node-convert.service.ts +240 -240
- package/src/services/form-validate.service.ts +103 -103
- package/src/services/index.ts +9 -9
- package/src/services/router.service.ts +96 -96
- package/src/services/validate-generator.service.ts +710 -710
- package/src/shims-vue.d.ts +6 -6
- package/src/store/dict.store.ts +63 -63
- package/src/store/form.store.ts +32 -32
- package/src/store/index.ts +2 -2
- package/src/styles/datePicker.scss +125 -125
- package/src/styles/index.scss +195 -195
- package/src/styles/theme1.scss +277 -277
- package/src/styles/theme2.scss +376 -376
- package/src/styles/themes.scss +9 -9
- package/src/types/vfForm.ts +11 -11
- package/tsconfig.json +40 -40
- package/types/components/index.d.ts +3 -3
- package/types/constants/config/form-template.config.d.ts +30 -30
- package/types/constants/config/form.config.d.ts +4 -4
- package/types/constants/config/storage.config.d.ts +4 -4
- package/types/constants/encode-assets/svg.d.ts +5 -5
- package/types/constants/enum/builtIn-label.enum.d.ts +7 -7
- package/types/constants/enum/cache-type.enum.d.ts +15 -15
- package/types/constants/enum/control-format-type.enum.d.ts +23 -23
- package/types/constants/enum/dynamic-option-type.enum.d.ts +11 -11
- package/types/constants/enum/form-bus-attr.enum.d.ts +19 -19
- package/types/constants/enum/form-field-class.enum.d.ts +18 -18
- package/types/constants/enum/form-field-type.enum.d.ts +111 -111
- package/types/constants/enum/form-type.enum.d.ts +11 -11
- package/types/constants/enum/index.d.ts +19 -19
- package/types/constants/enum/lateral-arrangement.enum.d.ts +23 -23
- package/types/constants/enum/money-unit.enum.d.ts +15 -15
- package/types/constants/enum/option-type.enum.d.ts +11 -11
- package/types/constants/enum/submitted-type.enum.d.ts +115 -111
- package/types/constants/enum/support-upload-type.enum.d.ts +11 -11
- package/types/constants/enum/switch.enum.d.ts +11 -11
- package/types/constants/enum/upload-type.enum.d.ts +59 -59
- package/types/constants/enum/validate-rules.enum.d.ts +2 -2
- package/types/constants/enum/validate-status.enum.d.ts +2 -2
- package/types/constants/enum/vertical-arrangement.enum.d.ts +21 -21
- package/types/constants/enum/zoom-type.d.ts +15 -15
- package/types/constants/index.d.ts +3 -3
- package/types/core/FormApi.d.ts +376 -376
- package/types/core/index.d.ts +1 -1
- package/types/domain/AbstractControl.d.ts +5 -5
- package/types/domain/Control.d.ts +13 -13
- package/types/domain/CustomFormat.d.ts +5 -5
- package/types/domain/DesForm.d.ts +32 -32
- package/types/domain/DesFormControl.d.ts +160 -160
- package/types/domain/DesFormLayout.d.ts +33 -33
- package/types/domain/FieldChangeHistory.d.ts +9 -9
- package/types/domain/FormConfig.d.ts +15 -15
- package/types/domain/FormControl.d.ts +60 -60
- package/types/domain/FormEnum.d.ts +10 -10
- package/types/domain/FormGroup.d.ts +27 -27
- package/types/domain/FormRestfulResponse.d.ts +6 -6
- package/types/domain/ProvideInjectData.d.ts +10 -10
- package/types/domain/SysDictDetail.d.ts +24 -24
- package/types/domain/SysDictInfo.d.ts +26 -26
- package/types/domain/SysDictTreeDetail.d.ts +34 -34
- package/types/domain/index.d.ts +12 -12
- package/types/filtres/amount-capitalization.filter.d.ts +7 -7
- package/types/filtres/extract-options.filter.d.ts +13 -13
- package/types/filtres/generate-grid-column-end.filter.d.ts +11 -11
- package/types/filtres/generate-grid-template-columns.filter.d.ts +11 -11
- package/types/filtres/switch-enum-convert.filter.d.ts +2 -2
- package/types/filtres/zoom-multiple.filter.d.ts +3 -3
- package/types/index.d.ts +13 -13
- package/types/main.d.ts +2 -2
- package/types/services/api.service.d.ts +25 -25
- package/types/services/clean-local-forage.service.d.ts +28 -28
- package/types/services/date-format.service.d.ts +21 -21
- package/types/services/dict-local-forage.service.d.ts +28 -28
- package/types/services/form-bean-utils.service.d.ts +23 -23
- package/types/services/form-local-forage.service.d.ts +28 -28
- package/types/services/form-tools.service.d.ts +153 -144
- package/types/services/form-tree-node-convert.service.d.ts +104 -104
- package/types/services/form-validate.service.d.ts +32 -32
- package/types/services/index.d.ts +9 -9
- package/types/services/router.service.d.ts +40 -40
- package/types/services/validate-generator.service.d.ts +154 -154
- package/types/store/dict.store.d.ts +29 -29
- package/types/store/form.store.d.ts +17 -17
- package/types/store/index.d.ts +2 -2
- package/types/types/vfForm.d.ts +10 -10
- package/vue.config.js +38 -29
- package/dhccmobile-vue3-lo-form-1.1.41.tgz +0 -0
package/types/core/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./FormApi";
|
|
1
|
+
export * from "./FormApi";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare abstract class AbstractControl {
|
|
2
|
-
value: any;
|
|
3
|
-
[key: string]: any;
|
|
4
|
-
abstract get(path: Array<string | number> | string): AbstractControl | null;
|
|
5
|
-
}
|
|
1
|
+
export declare abstract class AbstractControl {
|
|
2
|
+
value: any;
|
|
3
|
+
[key: string]: any;
|
|
4
|
+
abstract get(path: Array<string | number> | string): AbstractControl | null;
|
|
5
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { DesFormControl } from "./DesFormControl";
|
|
2
|
-
import { DesFormLayout } from "./DesFormLayout";
|
|
3
|
-
import { FormControl } from "./FormControl";
|
|
4
|
-
export interface Control {
|
|
5
|
-
code: string;
|
|
6
|
-
name: string;
|
|
7
|
-
type: string;
|
|
8
|
-
active: boolean;
|
|
9
|
-
order?: number;
|
|
10
|
-
subControls?: Control[];
|
|
11
|
-
formControl?: FormControl;
|
|
12
|
-
controlAttr: Partial<DesFormControl> | Partial<DesFormLayout>;
|
|
13
|
-
}
|
|
1
|
+
import { DesFormControl } from "./DesFormControl";
|
|
2
|
+
import { DesFormLayout } from "./DesFormLayout";
|
|
3
|
+
import { FormControl } from "./FormControl";
|
|
4
|
+
export interface Control {
|
|
5
|
+
code: string;
|
|
6
|
+
name: string;
|
|
7
|
+
type: string;
|
|
8
|
+
active: boolean;
|
|
9
|
+
order?: number;
|
|
10
|
+
subControls?: Control[];
|
|
11
|
+
formControl?: FormControl;
|
|
12
|
+
controlAttr: Partial<DesFormControl> | Partial<DesFormLayout>;
|
|
13
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DesFormControl } from "./DesFormControl";
|
|
2
|
-
export interface CustomFormat {
|
|
3
|
-
display?: (val: any, desFormControl: DesFormControl) => any;
|
|
4
|
-
output?: (val: any, desFormControl: DesFormControl) => any;
|
|
5
|
-
}
|
|
1
|
+
import { DesFormControl } from "./DesFormControl";
|
|
2
|
+
export interface CustomFormat {
|
|
3
|
+
display?: (val: any, desFormControl: DesFormControl) => any;
|
|
4
|
+
output?: (val: any, desFormControl: DesFormControl) => any;
|
|
5
|
+
}
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { DesFormLayout } from "./DesFormLayout";
|
|
2
|
-
import { Control } from "./Control";
|
|
3
|
-
import { FormGroup } from "./FormGroup";
|
|
4
|
-
export declare class DesForm {
|
|
5
|
-
formId: string;
|
|
6
|
-
appId: string;
|
|
7
|
-
domainClassId: string;
|
|
8
|
-
objectId: string;
|
|
9
|
-
formType: string;
|
|
10
|
-
formName: string;
|
|
11
|
-
formAlias: string;
|
|
12
|
-
formDescribe: string;
|
|
13
|
-
useState: string;
|
|
14
|
-
desFormLayouts: DesFormLayout[];
|
|
15
|
-
controls: Control[];
|
|
16
|
-
formGroup: FormGroup | undefined;
|
|
17
|
-
[key: string]: any;
|
|
18
|
-
constructor(options?: {
|
|
19
|
-
formId?: string;
|
|
20
|
-
appId?: string;
|
|
21
|
-
domainClassId?: string;
|
|
22
|
-
objectId?: string;
|
|
23
|
-
formType?: string;
|
|
24
|
-
formName?: string;
|
|
25
|
-
formAlias?: string;
|
|
26
|
-
formDescribe?: string;
|
|
27
|
-
useState?: string;
|
|
28
|
-
controls?: Control[];
|
|
29
|
-
formGroup?: FormGroup;
|
|
30
|
-
desFormLayouts?: DesFormLayout[];
|
|
31
|
-
});
|
|
32
|
-
}
|
|
1
|
+
import { DesFormLayout } from "./DesFormLayout";
|
|
2
|
+
import { Control } from "./Control";
|
|
3
|
+
import { FormGroup } from "./FormGroup";
|
|
4
|
+
export declare class DesForm {
|
|
5
|
+
formId: string;
|
|
6
|
+
appId: string;
|
|
7
|
+
domainClassId: string;
|
|
8
|
+
objectId: string;
|
|
9
|
+
formType: string;
|
|
10
|
+
formName: string;
|
|
11
|
+
formAlias: string;
|
|
12
|
+
formDescribe: string;
|
|
13
|
+
useState: string;
|
|
14
|
+
desFormLayouts: DesFormLayout[];
|
|
15
|
+
controls: Control[];
|
|
16
|
+
formGroup: FormGroup | undefined;
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
constructor(options?: {
|
|
19
|
+
formId?: string;
|
|
20
|
+
appId?: string;
|
|
21
|
+
domainClassId?: string;
|
|
22
|
+
objectId?: string;
|
|
23
|
+
formType?: string;
|
|
24
|
+
formName?: string;
|
|
25
|
+
formAlias?: string;
|
|
26
|
+
formDescribe?: string;
|
|
27
|
+
useState?: string;
|
|
28
|
+
controls?: Control[];
|
|
29
|
+
formGroup?: FormGroup;
|
|
30
|
+
desFormLayouts?: DesFormLayout[];
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -1,160 +1,160 @@
|
|
|
1
|
-
export declare class DesFormControl {
|
|
2
|
-
formFieldId: string;
|
|
3
|
-
formId: string;
|
|
4
|
-
layoutId: string;
|
|
5
|
-
boundProperty: string;
|
|
6
|
-
extendBoundPropertyOne: string;
|
|
7
|
-
extendBoundPropertyTwo: string;
|
|
8
|
-
formFieldDescribe: string;
|
|
9
|
-
controlType: string;
|
|
10
|
-
tableFieldOrder: number | undefined;
|
|
11
|
-
fieldDefaultValue: any;
|
|
12
|
-
titleWidth: string;
|
|
13
|
-
isBoldTitle: string | boolean;
|
|
14
|
-
isHideTitle: string | boolean;
|
|
15
|
-
titleColor: string;
|
|
16
|
-
placeholder: string;
|
|
17
|
-
tips: string;
|
|
18
|
-
isNotEdit: string | boolean;
|
|
19
|
-
bindingPrefix: string;
|
|
20
|
-
bindingSuffix: string;
|
|
21
|
-
builtInFrontLabel: string;
|
|
22
|
-
builtInPostLabel: string;
|
|
23
|
-
isHideControl: string | boolean;
|
|
24
|
-
isShowHoliday: string | boolean;
|
|
25
|
-
controlWidth: string;
|
|
26
|
-
isPasswordBox: string | boolean;
|
|
27
|
-
initRowHeight: number | undefined;
|
|
28
|
-
isFixedRowHeight: string | boolean;
|
|
29
|
-
formatType: string;
|
|
30
|
-
minValue: number | undefined;
|
|
31
|
-
maxValue: number | undefined;
|
|
32
|
-
step: number | undefined;
|
|
33
|
-
decimalPlaces: number | undefined;
|
|
34
|
-
thousandthPercentileFormat: string | boolean;
|
|
35
|
-
unit: string;
|
|
36
|
-
moneyUnit: string;
|
|
37
|
-
defineOptionalUnits: string;
|
|
38
|
-
defineOptionalUnitsDefault: string;
|
|
39
|
-
zoomType: string;
|
|
40
|
-
zoomMultiple: number | undefined;
|
|
41
|
-
isShowCapitalization: string | boolean;
|
|
42
|
-
isLineFeedDisplay: string | boolean;
|
|
43
|
-
isOptionType: string | boolean;
|
|
44
|
-
optionConfig: any;
|
|
45
|
-
dynamicOptionType: string;
|
|
46
|
-
generalDictionary: string;
|
|
47
|
-
generalDictionaryOptions: any;
|
|
48
|
-
treeShape: string;
|
|
49
|
-
treeShapeOptions: any;
|
|
50
|
-
disableNonLeafNodes: string | boolean;
|
|
51
|
-
dateFormat: string;
|
|
52
|
-
timeFormat: string;
|
|
53
|
-
isSupportMultiple: string | boolean;
|
|
54
|
-
maxUploadNumber: number | undefined;
|
|
55
|
-
limitSize: number | undefined;
|
|
56
|
-
supportUploadType: string;
|
|
57
|
-
customUploadType: any;
|
|
58
|
-
extendUploadType: string;
|
|
59
|
-
attachmentExtendProperties: string;
|
|
60
|
-
isMultipleChoice: string | boolean;
|
|
61
|
-
isSearchable: string | boolean;
|
|
62
|
-
canAddEntry: string | boolean;
|
|
63
|
-
isClearButton: string | boolean;
|
|
64
|
-
hiddenDropdown: string | boolean;
|
|
65
|
-
onOpeningValue: string;
|
|
66
|
-
whenClosedValue: string;
|
|
67
|
-
onOpeningText: string;
|
|
68
|
-
whenClosedText: string;
|
|
69
|
-
customFieldName: string;
|
|
70
|
-
textFold: string | boolean;
|
|
71
|
-
enableAutoComplete: string | boolean;
|
|
72
|
-
autoCompleteOptions: any[];
|
|
73
|
-
verificationRules: any;
|
|
74
|
-
busAttr: any;
|
|
75
|
-
checkboxStyle: string | boolean;
|
|
76
|
-
itemWidth: string | boolean;
|
|
77
|
-
|
|
78
|
-
changeOnSelect: string | boolean;
|
|
79
|
-
textareaRows: number | undefined;
|
|
80
|
-
constructor(options?: {
|
|
81
|
-
formFieldId?: string;
|
|
82
|
-
formId?: string;
|
|
83
|
-
layoutId?: string;
|
|
84
|
-
boundProperty?: string;
|
|
85
|
-
extendBoundPropertyOne?: string;
|
|
86
|
-
extendBoundPropertyTwo?: string;
|
|
87
|
-
formFieldDescribe?: string;
|
|
88
|
-
controlType?: string;
|
|
89
|
-
tableFieldOrder?: number;
|
|
90
|
-
fieldDefaultValue?: any;
|
|
91
|
-
titleWidth?: string;
|
|
92
|
-
isBoldTitle?: string;
|
|
93
|
-
isHideTitle?: string;
|
|
94
|
-
titleColor?: string;
|
|
95
|
-
placeholder?: string;
|
|
96
|
-
tips?: string;
|
|
97
|
-
isNotEdit?: string;
|
|
98
|
-
bindingPrefix?: string;
|
|
99
|
-
bindingSuffix?: string;
|
|
100
|
-
builtInFrontLabel?: string;
|
|
101
|
-
builtInPostLabel?: string;
|
|
102
|
-
isHideControl?: string;
|
|
103
|
-
isShowHoliday?: string;
|
|
104
|
-
controlWidth?: string;
|
|
105
|
-
isPasswordBox?: string;
|
|
106
|
-
initRowHeight?: number;
|
|
107
|
-
isFixedRowHeight?: string;
|
|
108
|
-
formatType?: string;
|
|
109
|
-
minValue?: number;
|
|
110
|
-
maxValue?: number;
|
|
111
|
-
step?: number;
|
|
112
|
-
decimalPlaces?: number;
|
|
113
|
-
thousandthPercentileFormat?: string;
|
|
114
|
-
unit?: string;
|
|
115
|
-
moneyUnit?: string;
|
|
116
|
-
defineOptionalUnits?: string;
|
|
117
|
-
defineOptionalUnitsDefault?: string;
|
|
118
|
-
zoomType?: string;
|
|
119
|
-
zoomMultiple?: number;
|
|
120
|
-
isShowCapitalization?: string;
|
|
121
|
-
isLineFeedDisplay?: string;
|
|
122
|
-
isOptionType?: string;
|
|
123
|
-
optionConfig?: any;
|
|
124
|
-
dynamicOptionType?: string;
|
|
125
|
-
generalDictionary?: string;
|
|
126
|
-
generalDictionaryOptions?: any;
|
|
127
|
-
treeShape?: string;
|
|
128
|
-
treeShapeOptions?: any;
|
|
129
|
-
disableNonLeafNodes?: string | boolean;
|
|
130
|
-
dateFormat?: string;
|
|
131
|
-
timeFormat?: string;
|
|
132
|
-
isSupportMultiple?: string;
|
|
133
|
-
maxUploadNumber?: number;
|
|
134
|
-
limitSize?: number;
|
|
135
|
-
supportUploadType?: string;
|
|
136
|
-
customUploadType?: any;
|
|
137
|
-
extendUploadType?: string;
|
|
138
|
-
attachmentExtendProperties?: string;
|
|
139
|
-
isMultipleChoice?: string;
|
|
140
|
-
isSearchable?: string;
|
|
141
|
-
canAddEntry?: string;
|
|
142
|
-
isClearButton?: string;
|
|
143
|
-
hiddenDropdown?: string;
|
|
144
|
-
onOpeningValue?: string;
|
|
145
|
-
whenClosedValue?: string;
|
|
146
|
-
onOpeningText?: string;
|
|
147
|
-
whenClosedText?: string;
|
|
148
|
-
customFieldName?: string;
|
|
149
|
-
textFold?: string;
|
|
150
|
-
enableAutoComplete?: string;
|
|
151
|
-
autoCompleteOptions?: any[];
|
|
152
|
-
verificationRules?: any;
|
|
153
|
-
busAttr?: any;
|
|
154
|
-
checkboxStyle?: string | boolean;
|
|
155
|
-
|
|
156
|
-
itemWidth?: string | boolean;
|
|
157
|
-
changeOnSelect?: string | boolean;
|
|
158
|
-
textareaRows?: number | undefined;
|
|
159
|
-
});
|
|
160
|
-
}
|
|
1
|
+
export declare class DesFormControl {
|
|
2
|
+
formFieldId: string;
|
|
3
|
+
formId: string;
|
|
4
|
+
layoutId: string;
|
|
5
|
+
boundProperty: string;
|
|
6
|
+
extendBoundPropertyOne: string;
|
|
7
|
+
extendBoundPropertyTwo: string;
|
|
8
|
+
formFieldDescribe: string;
|
|
9
|
+
controlType: string;
|
|
10
|
+
tableFieldOrder: number | undefined;
|
|
11
|
+
fieldDefaultValue: any;
|
|
12
|
+
titleWidth: string;
|
|
13
|
+
isBoldTitle: string | boolean;
|
|
14
|
+
isHideTitle: string | boolean;
|
|
15
|
+
titleColor: string;
|
|
16
|
+
placeholder: string;
|
|
17
|
+
tips: string;
|
|
18
|
+
isNotEdit: string | boolean;
|
|
19
|
+
bindingPrefix: string;
|
|
20
|
+
bindingSuffix: string;
|
|
21
|
+
builtInFrontLabel: string;
|
|
22
|
+
builtInPostLabel: string;
|
|
23
|
+
isHideControl: string | boolean;
|
|
24
|
+
isShowHoliday: string | boolean;
|
|
25
|
+
controlWidth: string;
|
|
26
|
+
isPasswordBox: string | boolean;
|
|
27
|
+
initRowHeight: number | undefined;
|
|
28
|
+
isFixedRowHeight: string | boolean;
|
|
29
|
+
formatType: string;
|
|
30
|
+
minValue: number | undefined;
|
|
31
|
+
maxValue: number | undefined;
|
|
32
|
+
step: number | undefined;
|
|
33
|
+
decimalPlaces: number | undefined;
|
|
34
|
+
thousandthPercentileFormat: string | boolean;
|
|
35
|
+
unit: string;
|
|
36
|
+
moneyUnit: string;
|
|
37
|
+
defineOptionalUnits: string;
|
|
38
|
+
defineOptionalUnitsDefault: string;
|
|
39
|
+
zoomType: string;
|
|
40
|
+
zoomMultiple: number | undefined;
|
|
41
|
+
isShowCapitalization: string | boolean;
|
|
42
|
+
isLineFeedDisplay: string | boolean;
|
|
43
|
+
isOptionType: string | boolean;
|
|
44
|
+
optionConfig: any;
|
|
45
|
+
dynamicOptionType: string;
|
|
46
|
+
generalDictionary: string;
|
|
47
|
+
generalDictionaryOptions: any;
|
|
48
|
+
treeShape: string;
|
|
49
|
+
treeShapeOptions: any;
|
|
50
|
+
disableNonLeafNodes: string | boolean;
|
|
51
|
+
dateFormat: string;
|
|
52
|
+
timeFormat: string;
|
|
53
|
+
isSupportMultiple: string | boolean;
|
|
54
|
+
maxUploadNumber: number | undefined;
|
|
55
|
+
limitSize: number | undefined;
|
|
56
|
+
supportUploadType: string;
|
|
57
|
+
customUploadType: any;
|
|
58
|
+
extendUploadType: string;
|
|
59
|
+
attachmentExtendProperties: string;
|
|
60
|
+
isMultipleChoice: string | boolean;
|
|
61
|
+
isSearchable: string | boolean;
|
|
62
|
+
canAddEntry: string | boolean;
|
|
63
|
+
isClearButton: string | boolean;
|
|
64
|
+
hiddenDropdown: string | boolean;
|
|
65
|
+
onOpeningValue: string;
|
|
66
|
+
whenClosedValue: string;
|
|
67
|
+
onOpeningText: string;
|
|
68
|
+
whenClosedText: string;
|
|
69
|
+
customFieldName: string;
|
|
70
|
+
textFold: string | boolean;
|
|
71
|
+
enableAutoComplete: string | boolean;
|
|
72
|
+
autoCompleteOptions: any[];
|
|
73
|
+
verificationRules: any;
|
|
74
|
+
busAttr: any;
|
|
75
|
+
checkboxStyle: string | boolean;
|
|
76
|
+
itemWidth: string | boolean;
|
|
77
|
+
isTreeOpen: string | boolean;
|
|
78
|
+
changeOnSelect: string | boolean;
|
|
79
|
+
textareaRows: number | undefined;
|
|
80
|
+
constructor(options?: {
|
|
81
|
+
formFieldId?: string;
|
|
82
|
+
formId?: string;
|
|
83
|
+
layoutId?: string;
|
|
84
|
+
boundProperty?: string;
|
|
85
|
+
extendBoundPropertyOne?: string;
|
|
86
|
+
extendBoundPropertyTwo?: string;
|
|
87
|
+
formFieldDescribe?: string;
|
|
88
|
+
controlType?: string;
|
|
89
|
+
tableFieldOrder?: number;
|
|
90
|
+
fieldDefaultValue?: any;
|
|
91
|
+
titleWidth?: string;
|
|
92
|
+
isBoldTitle?: string;
|
|
93
|
+
isHideTitle?: string;
|
|
94
|
+
titleColor?: string;
|
|
95
|
+
placeholder?: string;
|
|
96
|
+
tips?: string;
|
|
97
|
+
isNotEdit?: string;
|
|
98
|
+
bindingPrefix?: string;
|
|
99
|
+
bindingSuffix?: string;
|
|
100
|
+
builtInFrontLabel?: string;
|
|
101
|
+
builtInPostLabel?: string;
|
|
102
|
+
isHideControl?: string;
|
|
103
|
+
isShowHoliday?: string;
|
|
104
|
+
controlWidth?: string;
|
|
105
|
+
isPasswordBox?: string;
|
|
106
|
+
initRowHeight?: number;
|
|
107
|
+
isFixedRowHeight?: string;
|
|
108
|
+
formatType?: string;
|
|
109
|
+
minValue?: number;
|
|
110
|
+
maxValue?: number;
|
|
111
|
+
step?: number;
|
|
112
|
+
decimalPlaces?: number;
|
|
113
|
+
thousandthPercentileFormat?: string;
|
|
114
|
+
unit?: string;
|
|
115
|
+
moneyUnit?: string;
|
|
116
|
+
defineOptionalUnits?: string;
|
|
117
|
+
defineOptionalUnitsDefault?: string;
|
|
118
|
+
zoomType?: string;
|
|
119
|
+
zoomMultiple?: number;
|
|
120
|
+
isShowCapitalization?: string;
|
|
121
|
+
isLineFeedDisplay?: string;
|
|
122
|
+
isOptionType?: string;
|
|
123
|
+
optionConfig?: any;
|
|
124
|
+
dynamicOptionType?: string;
|
|
125
|
+
generalDictionary?: string;
|
|
126
|
+
generalDictionaryOptions?: any;
|
|
127
|
+
treeShape?: string;
|
|
128
|
+
treeShapeOptions?: any;
|
|
129
|
+
disableNonLeafNodes?: string | boolean;
|
|
130
|
+
dateFormat?: string;
|
|
131
|
+
timeFormat?: string;
|
|
132
|
+
isSupportMultiple?: string;
|
|
133
|
+
maxUploadNumber?: number;
|
|
134
|
+
limitSize?: number;
|
|
135
|
+
supportUploadType?: string;
|
|
136
|
+
customUploadType?: any;
|
|
137
|
+
extendUploadType?: string;
|
|
138
|
+
attachmentExtendProperties?: string;
|
|
139
|
+
isMultipleChoice?: string;
|
|
140
|
+
isSearchable?: string;
|
|
141
|
+
canAddEntry?: string;
|
|
142
|
+
isClearButton?: string;
|
|
143
|
+
hiddenDropdown?: string;
|
|
144
|
+
onOpeningValue?: string;
|
|
145
|
+
whenClosedValue?: string;
|
|
146
|
+
onOpeningText?: string;
|
|
147
|
+
whenClosedText?: string;
|
|
148
|
+
customFieldName?: string;
|
|
149
|
+
textFold?: string;
|
|
150
|
+
enableAutoComplete?: string;
|
|
151
|
+
autoCompleteOptions?: any[];
|
|
152
|
+
verificationRules?: any;
|
|
153
|
+
busAttr?: any;
|
|
154
|
+
checkboxStyle?: string | boolean;
|
|
155
|
+
isTreeOpen?: string | boolean;
|
|
156
|
+
itemWidth?: string | boolean;
|
|
157
|
+
changeOnSelect?: string | boolean;
|
|
158
|
+
textareaRows?: number | undefined;
|
|
159
|
+
});
|
|
160
|
+
}
|
|
@@ -1,33 +1,33 @@
|
|
|
1
|
-
import { DesFormControl } from "./DesFormControl";
|
|
2
|
-
export declare class DesFormLayout {
|
|
3
|
-
layoutId: string;
|
|
4
|
-
formId: string;
|
|
5
|
-
parentLayoutId: string;
|
|
6
|
-
layoutName: string;
|
|
7
|
-
layoutType: string;
|
|
8
|
-
gridSpace: number | undefined;
|
|
9
|
-
gridColumnConfig: any;
|
|
10
|
-
gridLateralArrangement: string;
|
|
11
|
-
gridVerticalArrangement: string;
|
|
12
|
-
layoutOrder: number | undefined;
|
|
13
|
-
labelSpan: string;
|
|
14
|
-
controlSpan: string;
|
|
15
|
-
desFormControls: DesFormControl[];
|
|
16
|
-
subDesFormLayout: DesFormLayout[];
|
|
17
|
-
constructor(options?: {
|
|
18
|
-
layoutId?: string;
|
|
19
|
-
formId?: string;
|
|
20
|
-
parentLayoutId?: string;
|
|
21
|
-
layoutName?: string;
|
|
22
|
-
layoutType?: string;
|
|
23
|
-
gridSpace?: number;
|
|
24
|
-
gridColumnConfig?: any;
|
|
25
|
-
gridLateralArrangement?: string;
|
|
26
|
-
gridVerticalArrangement?: string;
|
|
27
|
-
layoutOrder?: number;
|
|
28
|
-
labelSpan?: string;
|
|
29
|
-
controlSpan?: string;
|
|
30
|
-
desFormControls?: DesFormControl[];
|
|
31
|
-
subDesFormLayout?: DesFormLayout[];
|
|
32
|
-
});
|
|
33
|
-
}
|
|
1
|
+
import { DesFormControl } from "./DesFormControl";
|
|
2
|
+
export declare class DesFormLayout {
|
|
3
|
+
layoutId: string;
|
|
4
|
+
formId: string;
|
|
5
|
+
parentLayoutId: string;
|
|
6
|
+
layoutName: string;
|
|
7
|
+
layoutType: string;
|
|
8
|
+
gridSpace: number | undefined;
|
|
9
|
+
gridColumnConfig: any;
|
|
10
|
+
gridLateralArrangement: string;
|
|
11
|
+
gridVerticalArrangement: string;
|
|
12
|
+
layoutOrder: number | undefined;
|
|
13
|
+
labelSpan: string;
|
|
14
|
+
controlSpan: string;
|
|
15
|
+
desFormControls: DesFormControl[];
|
|
16
|
+
subDesFormLayout: DesFormLayout[];
|
|
17
|
+
constructor(options?: {
|
|
18
|
+
layoutId?: string;
|
|
19
|
+
formId?: string;
|
|
20
|
+
parentLayoutId?: string;
|
|
21
|
+
layoutName?: string;
|
|
22
|
+
layoutType?: string;
|
|
23
|
+
gridSpace?: number;
|
|
24
|
+
gridColumnConfig?: any;
|
|
25
|
+
gridLateralArrangement?: string;
|
|
26
|
+
gridVerticalArrangement?: string;
|
|
27
|
+
layoutOrder?: number;
|
|
28
|
+
labelSpan?: string;
|
|
29
|
+
controlSpan?: string;
|
|
30
|
+
desFormControls?: DesFormControl[];
|
|
31
|
+
subDesFormLayout?: DesFormLayout[];
|
|
32
|
+
});
|
|
33
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export interface FieldChangeHistory {
|
|
2
|
-
[key: string]: FieldChangeHistoryItem[];
|
|
3
|
-
}
|
|
4
|
-
export interface FieldChangeHistoryItem {
|
|
5
|
-
time: string;
|
|
6
|
-
before: string;
|
|
7
|
-
after: string;
|
|
8
|
-
author: string;
|
|
9
|
-
}
|
|
1
|
+
export interface FieldChangeHistory {
|
|
2
|
+
[key: string]: FieldChangeHistoryItem[];
|
|
3
|
+
}
|
|
4
|
+
export interface FieldChangeHistoryItem {
|
|
5
|
+
time: string;
|
|
6
|
+
before: string;
|
|
7
|
+
after: string;
|
|
8
|
+
author: string;
|
|
9
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare type LoadMode = "static" | "dynamic";
|
|
2
|
-
export interface FormConfig {
|
|
3
|
-
url?: string;
|
|
4
|
-
dictUrl?: string;
|
|
5
|
-
dictRestLoadMode?: string;
|
|
6
|
-
dictRestLoadBody?: any;
|
|
7
|
-
dictRestLoadHeaders?: any;
|
|
8
|
-
dictRestLoadOnlyBody?: boolean;
|
|
9
|
-
loadMode?: LoadMode;
|
|
10
|
-
appId?: string;
|
|
11
|
-
onlySimpleLoadConfig?: boolean;
|
|
12
|
-
appIds?: string[];
|
|
13
|
-
urls?: string[];
|
|
14
|
-
dictUrls?: string[];
|
|
15
|
-
}
|
|
1
|
+
export declare type LoadMode = "static" | "dynamic";
|
|
2
|
+
export interface FormConfig {
|
|
3
|
+
url?: string;
|
|
4
|
+
dictUrl?: string;
|
|
5
|
+
dictRestLoadMode?: string;
|
|
6
|
+
dictRestLoadBody?: any;
|
|
7
|
+
dictRestLoadHeaders?: any;
|
|
8
|
+
dictRestLoadOnlyBody?: boolean;
|
|
9
|
+
loadMode?: LoadMode;
|
|
10
|
+
appId?: string;
|
|
11
|
+
onlySimpleLoadConfig?: boolean;
|
|
12
|
+
appIds?: string[];
|
|
13
|
+
urls?: string[];
|
|
14
|
+
dictUrls?: string[];
|
|
15
|
+
}
|