@byteluck-fe/model-driven-controls 3.0.0-beta.4 → 4.34.0-lx1
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/dist/esm/api-doc-index.js +0 -1
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -5
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -5
- package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -5
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -5
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
- package/dist/esm/baseControls/Button/designer.js +1 -12
- package/dist/esm/baseControls/Button/property.js +1 -2
- package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -5
- package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
- package/dist/esm/baseControls/Dashboard/designer.js +1 -2
- package/dist/esm/baseControls/Dashboard/property.js +4 -4
- package/dist/esm/baseControls/Divider/designer.js +1 -2
- package/dist/esm/baseControls/ExportListButton/designer.js +1 -5
- package/dist/esm/baseControls/ExportListButton/property.js +1 -2
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -5
- package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -5
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
- package/dist/esm/baseControls/Link/designer.js +1 -2
- package/dist/esm/baseControls/Link/property.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +5 -8
- package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
- package/dist/esm/baseControls/OperationButton/designer.js +1 -2
- package/dist/esm/baseControls/OperationButton/property.js +3 -3
- package/dist/esm/baseControls/Pagination/designer.js +1 -2
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -5
- package/dist/esm/baseControls/Text/designer.js +1 -6
- package/dist/esm/baseControls/Text/property.js +2 -9
- package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
- package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
- package/dist/esm/baseControls/Title/designer.js +1 -2
- package/dist/esm/baseControls/Title/property.js +6 -6
- package/dist/esm/baseControls/index.js +0 -1
- package/dist/esm/baseControls/utils.js +4 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +1 -6
- package/dist/esm/columnControls/ArrayColumn/designer.js +1 -6
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -6
- package/dist/esm/columnControls/CustomColumn/designer.js +1 -9
- package/dist/esm/columnControls/CustomColumn/property.js +2 -2
- package/dist/esm/columnControls/DecimalColumn/designer.js +1 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
- package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -6
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -6
- package/dist/esm/columnControls/FileColumn/designer.js +8 -11
- package/dist/esm/columnControls/FileColumn/property.js +1 -21
- package/dist/esm/columnControls/ImageColumn/designer.js +1 -6
- package/dist/esm/columnControls/LocationColumn/designer.js +1 -6
- package/dist/esm/columnControls/OperationColumn/designer.js +1 -6
- package/dist/esm/columnControls/OperationColumn/property.js +3 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +1 -6
- package/dist/esm/columnControls/PeopleColumn/designer.js +1 -6
- package/dist/esm/columnControls/TextColumn/designer.js +1 -6
- package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -6
- package/dist/esm/columnControls/TimestampColumn/designer.js +1 -6
- package/dist/esm/columnControls/VarcharColumn/designer.js +2 -4
- package/dist/esm/columnControls/VarcharColumn/property.js +4 -7
- package/dist/esm/formControls/Address/designer.js +1 -2
- package/dist/esm/formControls/Address/property.js +5 -5
- package/dist/esm/formControls/Amount/designer.js +1 -6
- package/dist/esm/formControls/Amount/property.js +8 -14
- package/dist/esm/formControls/Attachment/designer.js +1 -10
- package/dist/esm/formControls/Attachment/property.js +16 -19
- package/dist/esm/formControls/AutoNumber/designer.js +1 -2
- package/dist/esm/formControls/AutoNumber/property.js +1 -2
- package/dist/esm/formControls/Calc/designer.js +1 -6
- package/dist/esm/formControls/Calc/property.js +5 -11
- package/dist/esm/formControls/Checkbox/designer.js +1 -10
- package/dist/esm/formControls/Checkbox/property.js +9 -15
- package/dist/esm/formControls/DatePicker/designer.js +1 -2
- package/dist/esm/formControls/DatePicker/property.js +1 -2
- package/dist/esm/formControls/DateRange/designer.js +1 -2
- package/dist/esm/formControls/DateRange/property.js +2 -3
- package/dist/esm/formControls/Department/designer.js +1 -2
- package/dist/esm/formControls/Department/property.js +1 -2
- package/dist/esm/formControls/Department2/designer.js +1 -2
- package/dist/esm/formControls/Department2/property.js +4 -4
- package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
- package/dist/esm/formControls/Employee/designer.js +1 -2
- package/dist/esm/formControls/Employee/property.js +1 -2
- package/dist/esm/formControls/Employee2/designer.js +2 -4
- package/dist/esm/formControls/Employee2/property.js +4 -7
- package/dist/esm/formControls/Image/designer.js +2 -7
- package/dist/esm/formControls/Image/property.js +22 -2
- package/dist/esm/formControls/Image/runtime.js +2 -3
- package/dist/esm/formControls/Input/designer.js +1 -6
- package/dist/esm/formControls/Input/property.js +23 -17
- package/dist/esm/formControls/Number/designer.js +1 -2
- package/dist/esm/formControls/Number/property.js +9 -9
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -7
- package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
- package/dist/esm/formControls/Radio/designer.js +1 -10
- package/dist/esm/formControls/Radio/property.js +7 -14
- package/dist/esm/formControls/RichText/designer.js +1 -10
- package/dist/esm/formControls/RichText/property.js +11 -45
- package/dist/esm/formControls/Score/designer.js +1 -2
- package/dist/esm/formControls/Score/property.js +8 -8
- package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
- package/dist/esm/formControls/SearchDateRange/property.js +2 -3
- package/dist/esm/formControls/SearchInput/designer.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
- package/dist/esm/formControls/Select/designer.js +1 -10
- package/dist/esm/formControls/Select/property.js +10 -16
- package/dist/esm/formControls/SelectMultiple/designer.js +1 -10
- package/dist/esm/formControls/SelectMultiple/property.js +10 -16
- package/dist/esm/formControls/SelectRelation/designer.js +3 -52
- package/dist/esm/formControls/SelectRelation/property.js +7 -18
- package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/designer.js +57 -25
- package/dist/esm/formControls/SensitivenInformation/property.js +206 -0
- package/dist/esm/formControls/{VuePage → SensitivenInformation}/runtime.js +14 -14
- package/dist/esm/formControls/Textarea/designer.js +2 -12
- package/dist/esm/formControls/Textarea/property.js +36 -67
- package/dist/esm/formControls/Tree/designer.js +1 -6
- package/dist/esm/formControls/Tree/property.js +5 -5
- package/dist/esm/formControls/VueFormItem/designer.js +2 -7
- package/dist/esm/formControls/WPS/designer.js +1 -2
- package/dist/esm/formControls/WPS/property.js +6 -6
- package/dist/esm/formControls/index.js +1 -1
- package/dist/esm/framework.js +0 -82
- package/dist/esm/layoutControls/ActionBar/designer.js +6 -21
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +1 -2
- package/dist/esm/layoutControls/CardGroup/designer.js +2 -4
- package/dist/esm/layoutControls/CardGroup/property.js +4 -6
- package/dist/esm/layoutControls/Col/designer.js +2 -3
- package/dist/esm/layoutControls/DataView/designer.js +1 -2
- package/dist/esm/layoutControls/DataView/property.js +4 -5
- package/dist/esm/layoutControls/Grid/designer.js +1 -2
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +1 -2
- package/dist/esm/layoutControls/GridRow/designer.js +1 -2
- package/dist/esm/layoutControls/ListView/designer.js +1 -5
- package/dist/esm/layoutControls/ListView/property.js +28 -13
- package/dist/esm/layoutControls/Page/designer.js +1 -2
- package/dist/esm/layoutControls/Position/designer.js +1 -2
- package/dist/esm/layoutControls/PositioningContainer/designer.js +1 -2
- package/dist/esm/layoutControls/Row/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
- package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
- package/dist/esm/layoutControls/Tab/designer.js +1 -2
- package/dist/esm/layoutControls/TabPane/designer.js +3 -3
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
- package/dist/esm/listControls/GridTable/designer.js +7 -34
- package/dist/esm/listControls/SubTable/designer.js +6 -8
- package/dist/esm/listControls/SubTable/property.js +17 -33
- package/dist/esm/searchControls/SimpleSearch/designer.js +0 -3
- package/dist/esm/searchControls/SimpleSearch/property.js +3 -16
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +2 -3
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +1 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +0 -1
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +0 -1
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/Button/designer.d.ts +0 -1
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/ExportListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/ListSelectButton/property.d.ts +0 -1
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +0 -1
- package/dist/types/baseControls/Text/property.d.ts +0 -6
- package/dist/types/baseControls/index.d.ts +0 -1
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -2
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/FileColumn/property.d.ts +0 -1
- package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/VarcharColumn/property.d.ts +1 -7
- package/dist/types/formControls/Amount/property.d.ts +0 -6
- package/dist/types/formControls/Attachment/property.d.ts +10 -3
- package/dist/types/formControls/Calc/property.d.ts +0 -6
- package/dist/types/formControls/Checkbox/property.d.ts +0 -6
- package/dist/types/formControls/Employee2/property.d.ts +0 -1
- package/dist/types/formControls/Image/property.d.ts +5 -0
- package/dist/types/formControls/Input/property.d.ts +9 -3
- package/dist/types/formControls/Number/property.d.ts +2 -2
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/dist/types/formControls/Radio/property.d.ts +0 -6
- package/dist/types/formControls/RichText/property.d.ts +1 -19
- package/dist/types/formControls/Select/property.d.ts +0 -6
- package/dist/types/formControls/SelectMultiple/property.d.ts +0 -6
- package/dist/types/formControls/SelectRelation/designer.d.ts +0 -1
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -9
- package/dist/types/formControls/SensitivenInformation/designer.d.ts +15 -0
- package/dist/types/formControls/SensitivenInformation/property.d.ts +57 -0
- package/dist/types/formControls/SensitivenInformation/runtime.d.ts +12 -0
- package/dist/types/formControls/Textarea/property.d.ts +18 -12
- package/dist/types/formControls/VueFormItem/designer.d.ts +0 -1
- package/dist/types/formControls/index.d.ts +1 -1
- package/dist/types/framework.d.ts +1 -31
- package/dist/types/layoutControls/ActionBar/designer.d.ts +0 -3
- package/dist/types/layoutControls/CardGroup/property.d.ts +0 -1
- package/dist/types/layoutControls/ListView/designer.d.ts +0 -3
- package/dist/types/layoutControls/ListView/property.d.ts +9 -2
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
- package/dist/types/listControls/GridTable/designer.d.ts +0 -8
- package/dist/types/listControls/GridTable/property.d.ts +1 -1
- package/dist/types/listControls/SubTable/designer.d.ts +0 -3
- package/dist/types/listControls/SubTable/property.d.ts +0 -19
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +0 -3
- package/dist/types/searchControls/SimpleSearch/property.d.ts +1 -13
- package/dist/types/type.d.ts +3 -4
- package/package.json +35 -35
- package/dist/esm/baseControls/ReferenceList/property.js +0 -139
- package/dist/esm/baseControls/ReferenceList/runtime.js +0 -112
- package/dist/esm/formControls/VuePage/designer.js +0 -129
- package/dist/esm/formControls/VuePage/index.js +0 -11
- package/dist/esm/formControls/VuePage/property.js +0 -133
- package/dist/esm/formControls/VuePage/types.js +0 -0
- package/dist/types/baseControls/ReferenceList/designer.d.ts +0 -14
- package/dist/types/baseControls/ReferenceList/property.d.ts +0 -22
- package/dist/types/baseControls/ReferenceList/runtime.d.ts +0 -9
- package/dist/types/formControls/VuePage/designer.d.ts +0 -15
- package/dist/types/formControls/VuePage/index.d.ts +0 -12
- package/dist/types/formControls/VuePage/property.d.ts +0 -18
- package/dist/types/formControls/VuePage/runtime.d.ts +0 -12
- package/dist/types/formControls/VuePage/types.d.ts +0 -0
- /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.js +0 -0
- /package/dist/esm/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.js +0 -0
- /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/index.d.ts +0 -0
- /package/dist/types/{baseControls/ReferenceList → formControls/SensitivenInformation}/types.d.ts +0 -0
|
@@ -86,5 +86,4 @@ export { default as Position } from './layoutControls/Position/property';
|
|
|
86
86
|
export { default as SubTable } from './listControls/SubTable/property';
|
|
87
87
|
export { default as GridTable } from './listControls/GridTable/property';
|
|
88
88
|
export { default as SimpleSearch } from './searchControls/SimpleSearch/property';
|
|
89
|
-
export { default as VuePage } from './formControls/VuePage/property';
|
|
90
89
|
export * from './framework';
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { BatchDeleteButtonProperty } from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(BatchDeleteButtonControl, DesignerControl);
|
|
@@ -103,7 +102,7 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '批量删除';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
121
120
|
]);
|
|
122
121
|
return BatchDeleteButtonControl;
|
|
123
122
|
}(DesignerControl);
|
|
124
|
-
_define_property(BatchDeleteButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(BatchDeleteButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click'
|
|
129
125
|
]);
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(BatchPrintListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '批量打印';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
121
120
|
]);
|
|
122
121
|
return BatchPrintListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(BatchPrintListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(BatchPrintListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click',
|
|
129
125
|
'on_click_finish'
|
|
@@ -74,7 +74,7 @@ import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
|
74
74
|
import { ButtonProperty } from '../Button';
|
|
75
75
|
import BatchPrintListButtonControl from './designer';
|
|
76
76
|
import { PrintTemplate } from '../../framework';
|
|
77
|
-
import {
|
|
77
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
78
78
|
var BatchPrintListButtonRules = /*#__PURE__*/ function(PropertyRules) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_inherits(BatchPrintListButtonRules, PropertyRules);
|
|
@@ -85,7 +85,7 @@ var BatchPrintListButtonRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
85
85
|
type: 'array',
|
|
86
86
|
min: 1,
|
|
87
87
|
required: true,
|
|
88
|
-
message:
|
|
88
|
+
message: RulesMessage.getMessage('pleaseUploadAtLeastOnePrintTemplate')
|
|
89
89
|
});
|
|
90
90
|
return _this;
|
|
91
91
|
}
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintRecordListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(BatchPrintRecordListButton, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '批量打印记录';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
121
120
|
]);
|
|
122
121
|
return BatchPrintRecordListButton;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(BatchPrintRecordListButton, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(BatchPrintRecordListButton, "controlEventKeys", [
|
|
128
124
|
'on_click'
|
|
129
125
|
]);
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchSubmissionListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(BatchSubmissionListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '批量提交';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
121
120
|
]);
|
|
122
121
|
return BatchSubmissionListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(BatchSubmissionListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(BatchSubmissionListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click',
|
|
129
125
|
'on_click_finish'
|
|
@@ -73,7 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import BatchSubmissionListButtonControl from './designer';
|
|
75
75
|
import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
76
|
-
import {
|
|
76
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
77
77
|
var BatchSubmissionListButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(BatchSubmissionListButtonPropertyRules, PropertyRules);
|
|
@@ -85,12 +85,12 @@ var BatchSubmissionListButtonPropertyRules = /*#__PURE__*/ function(PropertyRule
|
|
|
85
85
|
]), _define_property(_this, "processKey", [
|
|
86
86
|
{
|
|
87
87
|
type: 'string',
|
|
88
|
-
message:
|
|
88
|
+
message: RulesMessage.getMessage('isNotString')
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
type: 'string',
|
|
92
92
|
required: true,
|
|
93
|
-
message:
|
|
93
|
+
message: RulesMessage.getMessage('pleaseEnterProcess')
|
|
94
94
|
}
|
|
95
95
|
]);
|
|
96
96
|
return _this;
|
|
@@ -86,8 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { ButtonProperty } from './property';
|
|
89
|
-
import { DESIGNER_SLOT } from '@byteluck-fe/model-driven-shared';
|
|
90
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
89
|
var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
92
90
|
"use strict";
|
|
93
91
|
_inherits(ButtonControl, DesignerControl);
|
|
@@ -104,7 +102,7 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
104
102
|
{
|
|
105
103
|
key: "controlName",
|
|
106
104
|
get: function get() {
|
|
107
|
-
return
|
|
105
|
+
return '按钮';
|
|
108
106
|
}
|
|
109
107
|
},
|
|
110
108
|
{
|
|
@@ -122,11 +120,6 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
122
120
|
]);
|
|
123
121
|
return ButtonControl;
|
|
124
122
|
}(DesignerControl);
|
|
125
|
-
_define_property(ButtonControl, "slots", [
|
|
126
|
-
'grid-table-toolbar-slot',
|
|
127
|
-
'action-bar-slot',
|
|
128
|
-
DESIGNER_SLOT.DEFAULT
|
|
129
|
-
]);
|
|
130
123
|
//普通按钮去掉执行完成时事件
|
|
131
124
|
_define_property(ButtonControl, "controlEventKeys", [
|
|
132
125
|
'on_click'
|
|
@@ -136,10 +129,6 @@ _define_property(ButtonControl, "setting", [
|
|
|
136
129
|
key: 'button-content',
|
|
137
130
|
visible: true
|
|
138
131
|
},
|
|
139
|
-
{
|
|
140
|
-
key: 'button-opt-type',
|
|
141
|
-
visible: true
|
|
142
|
-
},
|
|
143
132
|
{
|
|
144
133
|
key: 'button-type',
|
|
145
134
|
visible: true
|
|
@@ -70,7 +70,6 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
74
73
|
import { Property, OptObject } from '@byteluck-fe/model-driven-core';
|
|
75
74
|
var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
76
75
|
"use strict";
|
|
@@ -115,7 +114,7 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
115
114
|
* @defaultValue ''
|
|
116
115
|
*/ _define_property(_this, "optObj", void 0);
|
|
117
116
|
var _props_content;
|
|
118
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
117
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '按钮';
|
|
119
118
|
var _props_buttonType;
|
|
120
119
|
_this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
|
|
121
120
|
var _props_showType;
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import CreateFormListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(CreateFormListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '创建单据';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
121
120
|
]);
|
|
122
121
|
return CreateFormListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(CreateFormListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(CreateFormListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click',
|
|
129
125
|
'on_click_finish'
|
|
@@ -73,7 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import CreateFormListButtonControl from './designer';
|
|
75
75
|
import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
76
|
-
import {
|
|
76
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
77
77
|
var CreateFormListButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(CreateFormListButtonPropertyRules, PropertyRules);
|
|
@@ -85,7 +85,7 @@ var CreateFormListButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
85
85
|
]), _define_property(_this, "formKey", {
|
|
86
86
|
type: 'string',
|
|
87
87
|
required: true,
|
|
88
|
-
message:
|
|
88
|
+
message: RulesMessage.getMessage('pleaseEnterForm')
|
|
89
89
|
});
|
|
90
90
|
return _this;
|
|
91
91
|
}
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import DashboardProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(DashboardControl, DesignerControl);
|
|
@@ -103,7 +102,7 @@ var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '仪表盘';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -70,8 +70,8 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
74
73
|
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
74
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
75
75
|
var DashboardPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(DashboardPropertyRules, PropertyRules);
|
|
@@ -83,11 +83,11 @@ var DashboardPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
83
83
|
]), _define_property(_this, "dashboardKey", {
|
|
84
84
|
type: 'string',
|
|
85
85
|
required: true,
|
|
86
|
-
message:
|
|
86
|
+
message: RulesMessage.getMessage('pleaseSelectDashboard')
|
|
87
87
|
}), _define_property(_this, "caption", {
|
|
88
88
|
type: 'string',
|
|
89
89
|
required: true,
|
|
90
|
-
message:
|
|
90
|
+
message: RulesMessage.getMessage('pleaseEnterCaption')
|
|
91
91
|
}), _define_property(_this, "isHideCaption", {
|
|
92
92
|
type: 'boolean'
|
|
93
93
|
}), _define_property(_this, "labelPosition", {
|
|
@@ -99,7 +99,7 @@ var DashboardPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
99
99
|
}), _define_property(_this, "captionTip", {
|
|
100
100
|
type: 'string',
|
|
101
101
|
required: false,
|
|
102
|
-
message:
|
|
102
|
+
message: RulesMessage.getMessage('pleaseEnterCaptionTip')
|
|
103
103
|
});
|
|
104
104
|
if (props.isShowCaptionTip) {
|
|
105
105
|
_this.captionTip.required = true;
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import DividerProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(DividerControl, DesignerControl);
|
|
@@ -103,7 +102,7 @@ var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '分割线';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(ExportListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '导出';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
121
120
|
]);
|
|
122
121
|
return ExportListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(ExportListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(ExportListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click',
|
|
129
125
|
'on_click_finish'
|
|
@@ -73,7 +73,6 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import ExportListButtonControl from './designer';
|
|
75
75
|
import { ExportTemplate } from '../../framework';
|
|
76
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
76
|
var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
78
77
|
"use strict";
|
|
79
78
|
_inherits(ExportListButtonProperty, ButtonProperty);
|
|
@@ -96,7 +95,7 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
96
95
|
})) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
|
|
97
96
|
new ExportTemplate({
|
|
98
97
|
id: 'default',
|
|
99
|
-
name:
|
|
98
|
+
name: '默认模板',
|
|
100
99
|
appId: 'default',
|
|
101
100
|
dataCode: 'default',
|
|
102
101
|
svcCode: 'default',
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportRecordListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(ExportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '导出记录';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
121
120
|
]);
|
|
122
121
|
return ExportRecordListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(ExportRecordListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(ExportRecordListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click'
|
|
129
125
|
]);
|
|
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
|
|
|
87
87
|
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { DesignerButtonControl } from '../Button';
|
|
89
89
|
import FormSelectButtonProperty from './property';
|
|
90
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
90
|
var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
91
|
"use strict";
|
|
93
92
|
_inherits(FormSelectButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +103,7 @@ var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
103
|
{
|
|
105
104
|
key: "controlName",
|
|
106
105
|
get: function get() {
|
|
107
|
-
return
|
|
106
|
+
return '表单操作';
|
|
108
107
|
}
|
|
109
108
|
},
|
|
110
109
|
{
|
|
@@ -89,7 +89,7 @@ import { ButtonProperty } from '../Button';
|
|
|
89
89
|
import FormSelectButtonControl from './designer';
|
|
90
90
|
import { PropertyRules, FillBackBind, FillPayloadBind, FormSelectBind } from '@byteluck-fe/model-driven-core';
|
|
91
91
|
import { createFillBindRules } from '../utils';
|
|
92
|
-
import {
|
|
92
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
93
93
|
var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
94
94
|
"use strict";
|
|
95
95
|
_inherits(FormSelectButtonPropertyRules, PropertyRules);
|
|
@@ -107,7 +107,7 @@ var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
107
107
|
formKey: {
|
|
108
108
|
type: 'string',
|
|
109
109
|
required: true,
|
|
110
|
-
message:
|
|
110
|
+
message: RulesMessage.getMessage('pleaseEnterList')
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
}), _define_property(_this, "fillBack", {
|
|
@@ -116,7 +116,7 @@ var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
116
116
|
mode: {
|
|
117
117
|
type: 'string',
|
|
118
118
|
required: true,
|
|
119
|
-
message:
|
|
119
|
+
message: RulesMessage.getMessage('pleaseSelectFillBackMode')
|
|
120
120
|
}
|
|
121
121
|
}, createFillBindRules())
|
|
122
122
|
});
|
|
@@ -125,7 +125,7 @@ var FormSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
125
125
|
_this.formBind.fields.primaryControlId = {
|
|
126
126
|
type: 'string',
|
|
127
127
|
required: true,
|
|
128
|
-
message:
|
|
128
|
+
message: RulesMessage.getMessage('pleaseSelectControl')
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
return _this;
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ImportRecordListButtonProperty from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(ImportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +102,7 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '导入';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -121,9 +120,6 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
121
120
|
]);
|
|
122
121
|
return ImportRecordListButtonControl;
|
|
123
122
|
}(DesignerButtonControl);
|
|
124
|
-
_define_property(ImportRecordListButtonControl, "slots", [
|
|
125
|
-
'grid-table-toolbar-slot'
|
|
126
|
-
]);
|
|
127
123
|
_define_property(ImportRecordListButtonControl, "controlEventKeys", [
|
|
128
124
|
'on_click',
|
|
129
125
|
'on_click_finish'
|
|
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
|
|
|
87
87
|
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { DesignerButtonControl } from '../Button';
|
|
89
89
|
import InvoiceCheckButtonProperty from './property';
|
|
90
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
90
|
var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
91
|
"use strict";
|
|
93
92
|
_inherits(InvoiceCheckButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +103,7 @@ var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
103
|
{
|
|
105
104
|
key: "controlName",
|
|
106
105
|
get: function get() {
|
|
107
|
-
return
|
|
106
|
+
return '发票识别';
|
|
108
107
|
}
|
|
109
108
|
},
|
|
110
109
|
{
|
|
@@ -70,10 +70,10 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
74
73
|
import { ButtonProperty } from '../Button';
|
|
75
74
|
import InvoiceCheckButtonControl from './designer';
|
|
76
75
|
import { PropertyRules, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
77
77
|
var InvoiceCheckButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(InvoiceCheckButtonPropertyRules, PropertyRules);
|
|
@@ -85,7 +85,7 @@ var InvoiceCheckButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
85
85
|
]), _define_property(_this, "caption", {
|
|
86
86
|
type: 'string',
|
|
87
87
|
required: true,
|
|
88
|
-
message:
|
|
88
|
+
message: RulesMessage.getMessage('pleaseEnterCaption')
|
|
89
89
|
}), _define_property(_this, "isHideCaption", {
|
|
90
90
|
type: 'boolean'
|
|
91
91
|
}), _define_property(_this, "labelPosition", {
|
|
@@ -103,7 +103,7 @@ var InvoiceCheckButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
103
103
|
return !item.controlId;
|
|
104
104
|
});
|
|
105
105
|
if (isEveryEmpty) {
|
|
106
|
-
callback(
|
|
106
|
+
callback(RulesMessage.getMessage('pleaseSelectAtLeastOneFieldToFillIn'));
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
callback();
|
|
@@ -111,7 +111,7 @@ var InvoiceCheckButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
111
111
|
}), _define_property(_this, "captionTip", {
|
|
112
112
|
type: 'string',
|
|
113
113
|
required: false,
|
|
114
|
-
message:
|
|
114
|
+
message: RulesMessage.getMessage('pleaseEnterCaptionTip')
|
|
115
115
|
});
|
|
116
116
|
if (props.isShowCaptionTip) {
|
|
117
117
|
_this.captionTip.required = true;
|
|
@@ -86,7 +86,6 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { LinkProperty } from './property';
|
|
89
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
89
|
var LinkControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
90
|
"use strict";
|
|
92
91
|
_inherits(LinkControl, DesignerControl);
|
|
@@ -103,7 +102,7 @@ var LinkControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
102
|
{
|
|
104
103
|
key: "controlName",
|
|
105
104
|
get: function get() {
|
|
106
|
-
return
|
|
105
|
+
return '链接';
|
|
107
106
|
}
|
|
108
107
|
},
|
|
109
108
|
{
|
|
@@ -71,7 +71,6 @@ function _is_native_reflect_construct() {
|
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
73
|
import { Property } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
75
74
|
var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
76
75
|
"use strict";
|
|
77
76
|
_inherits(LinkProperty, Property);
|
|
@@ -82,7 +81,7 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
|
|
84
83
|
var _props_content;
|
|
85
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
84
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '我是一个链接';
|
|
86
85
|
var _props_url;
|
|
87
86
|
_this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
|
|
88
87
|
var _props_openMode;
|
|
@@ -87,7 +87,6 @@ function _is_native_reflect_construct() {
|
|
|
87
87
|
import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { DesignerButtonControl } from '../Button';
|
|
89
89
|
import ListSelectButtonProperty from './property';
|
|
90
|
-
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
90
|
var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
91
|
"use strict";
|
|
93
92
|
_inherits(ListSelectButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +103,7 @@ var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
103
|
{
|
|
105
104
|
key: "controlName",
|
|
106
105
|
get: function get() {
|
|
107
|
-
return
|
|
106
|
+
return '列表选择';
|
|
108
107
|
}
|
|
109
108
|
},
|
|
110
109
|
{
|