@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
|
@@ -1,31 +1,32 @@
|
|
|
1
|
-
// 报送信息类型
|
|
2
|
-
const SubmittedType = {
|
|
3
|
-
EAST: { code: "1", name: "EAST" },
|
|
4
|
-
CITIC: { code: "2", name: "中信登" },
|
|
5
|
-
TOTAL_ELEMENTS: { code: "3", name: "全要素" },
|
|
6
|
-
PBC_CAPITAL_DECLARATION: { code: "4", name: "人行资金申报" },
|
|
7
|
-
ENTERPRISE_CREDIT_REFERENCE: { code: "5", name: "企业征信" },
|
|
8
|
-
OTOHAF_SUBMISSION: { code: "6", name: "1104报送" },
|
|
9
|
-
EAST_F: { code: "7", name: "EAST4.0" },
|
|
10
|
-
PERSONAL_CREDIT: { code: "8", name: "个人征信" },
|
|
11
|
-
BS_09: { code: "9", name: "非现场监管报表" },
|
|
12
|
-
BS_10: { code: "10", name: "银监其他" },
|
|
13
|
-
BS_11: { code: "11", name: "人行资管产品统计逐产品采集" },
|
|
14
|
-
BS_12: { code: "12", name: "人行其他" },
|
|
15
|
-
BS_13: { code: "13", name: "其他报表" },
|
|
16
|
-
BS_14: { code: "14", name: "反洗钱" },
|
|
17
|
-
BS_15: { code: "15", name: "关联交易" },
|
|
18
|
-
BS_16: { code: "16", name: "事前报告" },
|
|
19
|
-
BS_17: { code: "17", name: "银监风险项目要素表" },
|
|
20
|
-
BS_18: { code: "18", name: "金控重点监测项目数据报送" },
|
|
21
|
-
BS_19: { code: "19", name: "中央企业金融风险事项统计表" },
|
|
22
|
-
BS_20: { code: "20", name: "主动管理项目清单" },
|
|
23
|
-
BS_21: { code: "21", name: "风险项目要素表(重大预警及关注不良)" },
|
|
24
|
-
BS_22: { code: "22", name: "人行金融基础数据报送" },
|
|
25
|
-
BS_23: { code: "23", name: "人行利率报备" },
|
|
26
|
-
BS_24: { code: "24", name: "EAST5.0" },
|
|
27
|
-
BS_25: { code: "25", name: "新中信登" },
|
|
28
|
-
BS_26: { code: "26", name: "集团司库资金系统投融资数据报送" },
|
|
29
|
-
BS_27: { code: "27", name: "金控客户协同" },
|
|
30
|
-
}
|
|
31
|
-
|
|
1
|
+
// 报送信息类型
|
|
2
|
+
const SubmittedType = {
|
|
3
|
+
EAST: { code: "1", name: "EAST" },
|
|
4
|
+
CITIC: { code: "2", name: "中信登" },
|
|
5
|
+
TOTAL_ELEMENTS: { code: "3", name: "全要素" },
|
|
6
|
+
PBC_CAPITAL_DECLARATION: { code: "4", name: "人行资金申报" },
|
|
7
|
+
ENTERPRISE_CREDIT_REFERENCE: { code: "5", name: "企业征信" },
|
|
8
|
+
OTOHAF_SUBMISSION: { code: "6", name: "1104报送" },
|
|
9
|
+
EAST_F: { code: "7", name: "EAST4.0" },
|
|
10
|
+
PERSONAL_CREDIT: { code: "8", name: "个人征信" },
|
|
11
|
+
BS_09: { code: "9", name: "非现场监管报表" },
|
|
12
|
+
BS_10: { code: "10", name: "银监其他" },
|
|
13
|
+
BS_11: { code: "11", name: "人行资管产品统计逐产品采集" },
|
|
14
|
+
BS_12: { code: "12", name: "人行其他" },
|
|
15
|
+
BS_13: { code: "13", name: "其他报表" },
|
|
16
|
+
BS_14: { code: "14", name: "反洗钱" },
|
|
17
|
+
BS_15: { code: "15", name: "关联交易" },
|
|
18
|
+
BS_16: { code: "16", name: "事前报告" },
|
|
19
|
+
BS_17: { code: "17", name: "银监风险项目要素表" },
|
|
20
|
+
BS_18: { code: "18", name: "金控重点监测项目数据报送" },
|
|
21
|
+
BS_19: { code: "19", name: "中央企业金融风险事项统计表" },
|
|
22
|
+
BS_20: { code: "20", name: "主动管理项目清单" },
|
|
23
|
+
BS_21: { code: "21", name: "风险项目要素表(重大预警及关注不良)" },
|
|
24
|
+
BS_22: { code: "22", name: "人行金融基础数据报送" },
|
|
25
|
+
BS_23: { code: "23", name: "人行利率报备" },
|
|
26
|
+
BS_24: { code: "24", name: "EAST5.0" },
|
|
27
|
+
BS_25: { code: "25", name: "新中信登" },
|
|
28
|
+
BS_26: { code: "26", name: "集团司库资金系统投融资数据报送" },
|
|
29
|
+
BS_27: { code: "27", name: "金控客户协同" },
|
|
30
|
+
BS_28: { code: "28", name: "金控大额交易" },
|
|
31
|
+
};
|
|
32
|
+
export { SubmittedType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const SupportUploadType = {
|
|
2
|
-
Arbitrarily: { code: "1", name: "任意类型" },
|
|
3
|
-
Custom: { code: "2", name: "自定义类型" },
|
|
4
|
-
};
|
|
5
|
-
export { SupportUploadType };
|
|
1
|
+
const SupportUploadType = {
|
|
2
|
+
Arbitrarily: { code: "1", name: "任意类型" },
|
|
3
|
+
Custom: { code: "2", name: "自定义类型" },
|
|
4
|
+
};
|
|
5
|
+
export { SupportUploadType };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const Switch = {
|
|
2
|
-
Disable: { code: "0", name: "禁用" },
|
|
3
|
-
Enable: { code: "1", name: "启用" },
|
|
4
|
-
};
|
|
5
|
-
export { Switch };
|
|
1
|
+
const Switch = {
|
|
2
|
+
Disable: { code: "0", name: "禁用" },
|
|
3
|
+
Enable: { code: "1", name: "启用" },
|
|
4
|
+
};
|
|
5
|
+
export { Switch };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
const UploadType = {
|
|
2
|
-
Jpeg: { code: "image/jpeg", name: "jpeg/jpg/jpe" },
|
|
3
|
-
Png: { code: "image/png", name: "png" },
|
|
4
|
-
Gif: { code: "image/gif", name: "gif" },
|
|
5
|
-
Bmp: { code: "image/bmp", name: "bmp" },
|
|
6
|
-
Doc: { code: "application/msword", name: "doc" },
|
|
7
|
-
html: { code: "text/html", name: "html" },
|
|
8
|
-
Mp3: { code: "audio/mpeg", name: "mp3" },
|
|
9
|
-
Mp4: { code: "audio/mp4", name: "mp4" },
|
|
10
|
-
Pdf: { code: "application/pdf", name: "pdf" },
|
|
11
|
-
Ppt: { code: "application/vnd.ms-powerpoint", name: "ppt" },
|
|
12
|
-
Xls: { code: "application/vnd.ms-excel", name: "xls" },
|
|
13
|
-
Xml: { code: "application/xml", name: "xml" },
|
|
14
|
-
Zip: { code: "aplication/zip", name: "zip" },
|
|
15
|
-
Wps: { code: "application/vnd.ms-works", name: "wps" },
|
|
16
|
-
};
|
|
17
|
-
export { UploadType };
|
|
1
|
+
const UploadType = {
|
|
2
|
+
Jpeg: { code: "image/jpeg", name: "jpeg/jpg/jpe" },
|
|
3
|
+
Png: { code: "image/png", name: "png" },
|
|
4
|
+
Gif: { code: "image/gif", name: "gif" },
|
|
5
|
+
Bmp: { code: "image/bmp", name: "bmp" },
|
|
6
|
+
Doc: { code: "application/msword", name: "doc" },
|
|
7
|
+
html: { code: "text/html", name: "html" },
|
|
8
|
+
Mp3: { code: "audio/mpeg", name: "mp3" },
|
|
9
|
+
Mp4: { code: "audio/mp4", name: "mp4" },
|
|
10
|
+
Pdf: { code: "application/pdf", name: "pdf" },
|
|
11
|
+
Ppt: { code: "application/vnd.ms-powerpoint", name: "ppt" },
|
|
12
|
+
Xls: { code: "application/vnd.ms-excel", name: "xls" },
|
|
13
|
+
Xml: { code: "application/xml", name: "xml" },
|
|
14
|
+
Zip: { code: "aplication/zip", name: "zip" },
|
|
15
|
+
Wps: { code: "application/vnd.ms-works", name: "wps" },
|
|
16
|
+
};
|
|
17
|
+
export { UploadType };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
// 校验规则
|
|
2
|
-
const ValidateRules: any = {
|
|
3
|
-
SameValue: { code: "1", name: "相同的值", hasContent: true, hasDescribe: false },
|
|
4
|
-
MailBox: { code: "2", name: "电子邮箱", hasContent: false, hasDescribe: false },
|
|
5
|
-
RegEx: { code: "3", name: "正则表达式", hasContent: true, hasDescribe: true },
|
|
6
|
-
MinTextLength: { code: "4", name: "最小文本长度", hasContent: true, hasDescribe: false },
|
|
7
|
-
MaxTextLength: { code: "5", name: "最大文本长度", hasContent: true, hasDescribe: false },
|
|
8
|
-
MinValue: { code: "6", name: "最小数值", hasContent: true, hasDescribe: false },
|
|
9
|
-
MaxValue: { code: "7", name: "最大数值", hasContent: true, hasDescribe: false },
|
|
10
|
-
SpecifiedValue: { code: "8", name: "指定的值", hasContent: true, hasDescribe: false },
|
|
11
|
-
SpecifiedDigitsNumber: { code: "9", name: "指定位数的数字", hasContent: true, hasDescribe: false },
|
|
12
|
-
DateNotEarlierThan: { code: "10", name: "日期不早于", hasContent: true, hasDescribe: false },
|
|
13
|
-
DateNoLaterThan: { code: "11", name: "日期不晚于", hasContent: true, hasDescribe: false },
|
|
14
|
-
SpecifiedRangeNumber: { code: "12", name: "指定范围的数字(包含最小/大值)", hasContent: true, hasDescribe: false },
|
|
15
|
-
PhoneNumber: { code: "13", name: "手机号码", hasContent: false, hasDescribe: false },
|
|
16
|
-
Required: { code: "14", name: "必填", hasContent: false, hasDescribe: false },
|
|
17
|
-
LineUnique: { code: "15", name: "行唯一", hasContent: false, hasDescribe: false },
|
|
18
|
-
LetterSpace: { code: "16", name: "字母空格", hasContent: false, hasDescribe: false },
|
|
19
|
-
AlphanumericUnderline: { code: "17", name: "字母数字横线下划线", hasContent: false, hasDescribe: false },
|
|
20
|
-
Alphanumeric: { code: "18", name: "字母数字", hasContent: false, hasDescribe: false },
|
|
21
|
-
JsMethodVerification: { code: "19", name: "JS方法校验", hasContent: true, hasDescribe: true },
|
|
22
|
-
BackEndVerification: { code: "20", name: "后端校验", hasContent: false, hasDescribe: false },
|
|
23
|
-
LandlineNumber: { code: "21", name: "座机校验", hasContent: false, hasDescribe: false },
|
|
24
|
-
};
|
|
25
|
-
export { ValidateRules };
|
|
1
|
+
// 校验规则
|
|
2
|
+
const ValidateRules: any = {
|
|
3
|
+
SameValue: { code: "1", name: "相同的值", hasContent: true, hasDescribe: false },
|
|
4
|
+
MailBox: { code: "2", name: "电子邮箱", hasContent: false, hasDescribe: false },
|
|
5
|
+
RegEx: { code: "3", name: "正则表达式", hasContent: true, hasDescribe: true },
|
|
6
|
+
MinTextLength: { code: "4", name: "最小文本长度", hasContent: true, hasDescribe: false },
|
|
7
|
+
MaxTextLength: { code: "5", name: "最大文本长度", hasContent: true, hasDescribe: false },
|
|
8
|
+
MinValue: { code: "6", name: "最小数值", hasContent: true, hasDescribe: false },
|
|
9
|
+
MaxValue: { code: "7", name: "最大数值", hasContent: true, hasDescribe: false },
|
|
10
|
+
SpecifiedValue: { code: "8", name: "指定的值", hasContent: true, hasDescribe: false },
|
|
11
|
+
SpecifiedDigitsNumber: { code: "9", name: "指定位数的数字", hasContent: true, hasDescribe: false },
|
|
12
|
+
DateNotEarlierThan: { code: "10", name: "日期不早于", hasContent: true, hasDescribe: false },
|
|
13
|
+
DateNoLaterThan: { code: "11", name: "日期不晚于", hasContent: true, hasDescribe: false },
|
|
14
|
+
SpecifiedRangeNumber: { code: "12", name: "指定范围的数字(包含最小/大值)", hasContent: true, hasDescribe: false },
|
|
15
|
+
PhoneNumber: { code: "13", name: "手机号码", hasContent: false, hasDescribe: false },
|
|
16
|
+
Required: { code: "14", name: "必填", hasContent: false, hasDescribe: false },
|
|
17
|
+
LineUnique: { code: "15", name: "行唯一", hasContent: false, hasDescribe: false },
|
|
18
|
+
LetterSpace: { code: "16", name: "字母空格", hasContent: false, hasDescribe: false },
|
|
19
|
+
AlphanumericUnderline: { code: "17", name: "字母数字横线下划线", hasContent: false, hasDescribe: false },
|
|
20
|
+
Alphanumeric: { code: "18", name: "字母数字", hasContent: false, hasDescribe: false },
|
|
21
|
+
JsMethodVerification: { code: "19", name: "JS方法校验", hasContent: true, hasDescribe: true },
|
|
22
|
+
BackEndVerification: { code: "20", name: "后端校验", hasContent: false, hasDescribe: false },
|
|
23
|
+
LandlineNumber: { code: "21", name: "座机校验", hasContent: false, hasDescribe: false },
|
|
24
|
+
};
|
|
25
|
+
export { ValidateRules };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// 校验状态
|
|
2
|
-
const ValidateStatus: any = {
|
|
3
|
-
Success: { code: "success", name: "通过" },
|
|
4
|
-
Warning: { code: "warning", name: "警告" },
|
|
5
|
-
Error: { code: "error", name: "未通过" },
|
|
6
|
-
Validating: { code: "validating", name: "校验中" },
|
|
7
|
-
};
|
|
8
|
-
export { ValidateStatus };
|
|
1
|
+
// 校验状态
|
|
2
|
+
const ValidateStatus: any = {
|
|
3
|
+
Success: { code: "success", name: "通过" },
|
|
4
|
+
Warning: { code: "warning", name: "警告" },
|
|
5
|
+
Error: { code: "error", name: "未通过" },
|
|
6
|
+
Validating: { code: "validating", name: "校验中" },
|
|
7
|
+
};
|
|
8
|
+
export { ValidateStatus };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
// 标签对齐方式
|
|
2
|
-
const VerticalArrangement = {
|
|
3
|
-
AlignRight: { code: "1", name: "右对齐", value: "horizontal", textAlign: "right" },
|
|
4
|
-
AlignTop: { code: "2", name: "顶部对齐", value: "vertical", textAlign: "left" },
|
|
5
|
-
AlignLeft: { code: "3", name: "左对齐", value: "horizontal", textAlign: "left" },
|
|
6
|
-
};
|
|
7
|
-
export { VerticalArrangement };
|
|
1
|
+
// 标签对齐方式
|
|
2
|
+
const VerticalArrangement = {
|
|
3
|
+
AlignRight: { code: "1", name: "右对齐", value: "horizontal", textAlign: "right" },
|
|
4
|
+
AlignTop: { code: "2", name: "顶部对齐", value: "vertical", textAlign: "left" },
|
|
5
|
+
AlignLeft: { code: "3", name: "左对齐", value: "horizontal", textAlign: "left" },
|
|
6
|
+
};
|
|
7
|
+
export { VerticalArrangement };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
const ZoomType = {
|
|
2
|
-
enlarge: { code: "1", name: "放大" },
|
|
3
|
-
narrow: { code: "2", name: "缩小" },
|
|
4
|
-
automatic: { code: "3", name: "自动" },
|
|
5
|
-
};
|
|
6
|
-
export { ZoomType };
|
|
1
|
+
const ZoomType = {
|
|
2
|
+
enlarge: { code: "1", name: "放大" },
|
|
3
|
+
narrow: { code: "2", name: "缩小" },
|
|
4
|
+
automatic: { code: "3", name: "自动" },
|
|
5
|
+
};
|
|
6
|
+
export { ZoomType };
|
package/src/constants/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from "./config/form-template.config";
|
|
2
|
-
export * from "./encode-assets/svg";
|
|
3
|
-
export * from "./enum/index";
|
|
1
|
+
export * from "./config/form-template.config";
|
|
2
|
+
export * from "./encode-assets/svg";
|
|
3
|
+
export * from "./enum/index";
|