@byteluck-fe/model-driven-controls 2.23.0-beta.9 → 3.0.0-beta.1
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/baseControls/BatchDeleteButton/designer.js +2 -2
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +2 -2
- package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +2 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +2 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
- package/dist/esm/baseControls/Button/designer.js +3 -2
- package/dist/esm/baseControls/Button/property.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/designer.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
- package/dist/esm/baseControls/Dashboard/designer.js +2 -2
- package/dist/esm/baseControls/Dashboard/property.js +4 -4
- package/dist/esm/baseControls/Divider/designer.js +2 -2
- package/dist/esm/baseControls/ExportListButton/designer.js +2 -2
- package/dist/esm/baseControls/ExportListButton/property.js +2 -2
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +2 -2
- package/dist/esm/baseControls/FormSelectButton/designer.js +2 -2
- package/dist/esm/baseControls/FormSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +2 -2
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +2 -2
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
- package/dist/esm/baseControls/Link/designer.js +2 -2
- package/dist/esm/baseControls/Link/property.js +2 -2
- package/dist/esm/baseControls/ListSelectButton/designer.js +2 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +4 -4
- package/dist/esm/baseControls/ListViewSelect/designer.js +2 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
- package/dist/esm/baseControls/OperationButton/designer.js +2 -2
- package/dist/esm/baseControls/OperationButton/property.js +3 -3
- package/dist/esm/baseControls/Pagination/designer.js +2 -2
- package/dist/esm/baseControls/ReferenceList/designer.js +158 -0
- package/dist/esm/baseControls/ReferenceList/index.js +11 -0
- package/dist/esm/baseControls/ReferenceList/property.js +139 -0
- package/dist/esm/baseControls/ReferenceList/runtime.js +112 -0
- package/dist/esm/baseControls/ReferenceList/types.js +0 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +2 -2
- package/dist/esm/baseControls/Text/designer.js +6 -2
- package/dist/esm/baseControls/Text/property.js +9 -3
- package/dist/esm/baseControls/TextOcrButton/designer.js +2 -2
- package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
- package/dist/esm/baseControls/Title/designer.js +2 -2
- package/dist/esm/baseControls/Title/property.js +6 -6
- package/dist/esm/baseControls/index.js +1 -0
- package/dist/esm/baseControls/utils.js +4 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +6 -2
- package/dist/esm/columnControls/ArrayColumn/designer.js +7 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +7 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +7 -2
- package/dist/esm/columnControls/CustomColumn/property.js +2 -2
- package/dist/esm/columnControls/DecimalColumn/designer.js +7 -2
- package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
- package/dist/esm/columnControls/DepartmentColumn/designer.js +7 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +7 -2
- package/dist/esm/columnControls/FileColumn/designer.js +12 -9
- package/dist/esm/columnControls/FileColumn/property.js +21 -1
- package/dist/esm/columnControls/ImageColumn/designer.js +7 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +7 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +6 -2
- package/dist/esm/columnControls/OperationColumn/property.js +3 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +6 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +7 -2
- package/dist/esm/columnControls/TextColumn/designer.js +7 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +7 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +7 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +8 -2
- package/dist/esm/formControls/Address/designer.js +3 -2
- package/dist/esm/formControls/Address/property.js +5 -5
- package/dist/esm/formControls/Amount/designer.js +3 -2
- package/dist/esm/formControls/Amount/property.js +8 -8
- package/dist/esm/formControls/Attachment/designer.js +11 -2
- package/dist/esm/formControls/Attachment/property.js +24 -14
- package/dist/esm/formControls/AutoNumber/designer.js +3 -2
- package/dist/esm/formControls/AutoNumber/property.js +2 -2
- package/dist/esm/formControls/Calc/designer.js +3 -2
- package/dist/esm/formControls/Calc/property.js +5 -5
- package/dist/esm/formControls/Checkbox/designer.js +7 -2
- package/dist/esm/formControls/Checkbox/property.js +15 -9
- package/dist/esm/formControls/DatePicker/designer.js +3 -2
- package/dist/esm/formControls/DatePicker/property.js +3 -2
- package/dist/esm/formControls/DateRange/designer.js +3 -2
- package/dist/esm/formControls/DateRange/property.js +4 -3
- package/dist/esm/formControls/Department/designer.js +3 -2
- package/dist/esm/formControls/Department/property.js +2 -2
- package/dist/esm/formControls/Department2/designer.js +3 -2
- package/dist/esm/formControls/Department2/property.js +4 -4
- package/dist/esm/formControls/ElectronicSignature/designer.js +3 -2
- package/dist/esm/formControls/ElectronicSignature/property.js +9 -8
- package/dist/esm/formControls/Employee/designer.js +3 -2
- package/dist/esm/formControls/Employee/property.js +2 -2
- package/dist/esm/formControls/Employee2/designer.js +5 -3
- package/dist/esm/formControls/Employee2/property.js +7 -4
- package/dist/esm/formControls/Image/designer.js +14 -9
- package/dist/esm/formControls/Image/runtime.js +3 -3
- package/dist/esm/formControls/Input/designer.js +7 -2
- package/dist/esm/formControls/Input/property.js +43 -37
- package/dist/esm/formControls/Number/designer.js +3 -2
- package/dist/esm/formControls/Number/property.js +8 -8
- package/dist/esm/formControls/OrganizationSelection/designer.js +3 -2
- package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
- package/dist/esm/formControls/Radio/designer.js +7 -2
- package/dist/esm/formControls/Radio/property.js +14 -7
- package/dist/esm/formControls/RichText/designer.js +11 -2
- package/dist/esm/formControls/RichText/property.js +45 -11
- package/dist/esm/formControls/Score/designer.js +3 -2
- package/dist/esm/formControls/Score/property.js +8 -8
- package/dist/esm/formControls/SearchDateRange/designer.js +3 -2
- package/dist/esm/formControls/SearchDateRange/property.js +4 -3
- package/dist/esm/formControls/SearchInput/designer.js +2 -2
- package/dist/esm/formControls/SearchNumberRange/designer.js +3 -2
- package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
- package/dist/esm/formControls/Select/designer.js +7 -2
- package/dist/esm/formControls/Select/property.js +28 -22
- package/dist/esm/formControls/SelectMultiple/designer.js +7 -2
- package/dist/esm/formControls/SelectMultiple/property.js +28 -22
- package/dist/esm/formControls/SelectRelation/designer.js +7 -2
- package/dist/esm/formControls/SelectRelation/property.js +54 -48
- package/dist/esm/formControls/Textarea/designer.js +11 -2
- package/dist/esm/formControls/Textarea/property.js +76 -30
- package/dist/esm/formControls/Tree/designer.js +3 -2
- package/dist/esm/formControls/Tree/property.js +5 -5
- package/dist/esm/formControls/VueFormItem/designer.js +3 -2
- package/dist/esm/formControls/VuePage/designer.js +3 -2
- package/dist/esm/formControls/WPS/designer.js +3 -2
- package/dist/esm/formControls/WPS/property.js +6 -6
- package/dist/esm/framework.js +40 -2
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +2 -2
- package/dist/esm/layoutControls/CardGroup/designer.js +3 -2
- package/dist/esm/layoutControls/CardGroup/property.js +3 -3
- package/dist/esm/layoutControls/Col/designer.js +3 -2
- package/dist/esm/layoutControls/DataView/designer.js +2 -2
- package/dist/esm/layoutControls/DataView/property.js +5 -5
- package/dist/esm/layoutControls/Grid/designer.js +3 -2
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +3 -2
- package/dist/esm/layoutControls/GridRow/designer.js +3 -2
- package/dist/esm/layoutControls/ListView/designer.js +3 -2
- package/dist/esm/layoutControls/ListView/property.js +10 -10
- package/dist/esm/layoutControls/Page/designer.js +2 -2
- package/dist/esm/layoutControls/Position/designer.js +2 -2
- package/dist/esm/layoutControls/PositioningContainer/designer.js +2 -2
- package/dist/esm/layoutControls/Row/designer.js +3 -2
- package/dist/esm/layoutControls/SubTableColumn/designer.js +3 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
- package/dist/esm/layoutControls/SubTableRow/designer.js +3 -2
- package/dist/esm/layoutControls/Tab/designer.js +3 -2
- package/dist/esm/layoutControls/TabPane/designer.js +4 -4
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +3 -2
- package/dist/esm/listControls/GridTable/designer.js +3 -2
- package/dist/esm/listControls/SubTable/designer.js +2 -2
- package/dist/esm/listControls/SubTable/property.js +15 -15
- package/dist/esm/searchControls/SimpleSearch/property.js +3 -3
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +3 -3
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +2 -2
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -0
- package/dist/types/baseControls/ReferenceList/index.d.ts +12 -0
- package/dist/types/baseControls/ReferenceList/property.d.ts +22 -0
- package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -0
- package/dist/types/baseControls/ReferenceList/types.d.ts +0 -0
- package/dist/types/baseControls/Text/property.d.ts +6 -0
- package/dist/types/baseControls/index.d.ts +1 -0
- package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
- package/dist/types/columnControls/FileColumn/property.d.ts +1 -0
- package/dist/types/formControls/Attachment/property.d.ts +2 -0
- package/dist/types/formControls/Checkbox/property.d.ts +6 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Input/property.d.ts +6 -0
- package/dist/types/formControls/Radio/property.d.ts +6 -0
- package/dist/types/formControls/RichText/property.d.ts +19 -1
- package/dist/types/formControls/Select/property.d.ts +6 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +6 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +6 -0
- package/dist/types/formControls/Textarea/property.d.ts +19 -1
- package/dist/types/framework.d.ts +17 -1
- package/dist/types/type.d.ts +2 -1
- package/package.json +5 -5
|
@@ -86,7 +86,7 @@ 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 {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(BatchDeleteButtonControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.batchDeleteButton', null, '批量删除');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(BatchPrintListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.batchPrintListButton', null, '批量打印');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
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: getLocaleText('CMD.pleaseUploadAtLeastOnePrintTemplate', null, '请至少上传一个打印模版!')
|
|
89
89
|
});
|
|
90
90
|
return _this;
|
|
91
91
|
}
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintRecordListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(BatchPrintRecordListButton, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.batchPrintRecordList', null, '批量打印记录');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchSubmissionListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(BatchSubmissionListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.batchSubmissionListButton', null, '批量提交');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
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: getLocaleText('CMD.isNotString', null, '请输入一个字符串')
|
|
89
89
|
},
|
|
90
90
|
{
|
|
91
91
|
type: 'string',
|
|
92
92
|
required: true,
|
|
93
|
-
message:
|
|
93
|
+
message: getLocaleText('CMD.pleaseEnterProcess', null, '请绑定流程')
|
|
94
94
|
}
|
|
95
95
|
]);
|
|
96
96
|
return _this;
|
|
@@ -86,7 +86,8 @@ 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
|
|
89
|
+
import { DESIGNER_SLOT } from '@byteluck-fe/model-driven-shared';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
91
|
var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
92
|
"use strict";
|
|
92
93
|
_inherits(ButtonControl, DesignerControl);
|
|
@@ -103,7 +104,7 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return
|
|
107
|
+
return getLocaleText('CMD.button', null, '按钮');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
{
|
|
@@ -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';
|
|
73
74
|
import { Property, OptObject } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
75
75
|
var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(ButtonProperty, Property);
|
|
@@ -115,7 +115,7 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
115
115
|
* @defaultValue ''
|
|
116
116
|
*/ _define_property(_this, "optObj", void 0);
|
|
117
117
|
var _props_content;
|
|
118
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
118
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
|
|
119
119
|
var _props_buttonType;
|
|
120
120
|
_this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
|
|
121
121
|
var _props_showType;
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import CreateFormListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(CreateFormListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.createFormListButton', null, '创建单据');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
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: getLocaleText('CMD.pleaseEnterForm', null, '请绑定表单')
|
|
89
89
|
});
|
|
90
90
|
return _this;
|
|
91
91
|
}
|
|
@@ -86,7 +86,7 @@ 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 {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(DashboardControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.dashboard', null, '仪表盘');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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';
|
|
73
74
|
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: getLocaleText('CMD.pleaseSelectDashboard', null, '请选择仪表盘')
|
|
87
87
|
}), _define_property(_this, "caption", {
|
|
88
88
|
type: 'string',
|
|
89
89
|
required: true,
|
|
90
|
-
message:
|
|
90
|
+
message: getLocaleText('CMD.pleaseEnterCaption', null, '请输入标题')
|
|
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: getLocaleText('CMD.pleaseEnterCaptionTip', null, '请输入气泡提示语')
|
|
103
103
|
});
|
|
104
104
|
if (props.isShowCaptionTip) {
|
|
105
105
|
_this.captionTip.required = true;
|
|
@@ -86,7 +86,7 @@ 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 {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(DividerControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.divider', null, '分割线');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(ExportListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.exportListButton', null, '导出');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -73,7 +73,7 @@ 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 {
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
77
|
var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(ExportListButtonProperty, ButtonProperty);
|
|
@@ -96,7 +96,7 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
96
96
|
})) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
|
|
97
97
|
new ExportTemplate({
|
|
98
98
|
id: 'default',
|
|
99
|
-
name:
|
|
99
|
+
name: getLocaleText('CMD.defaultTemplate', null, '默认模版'),
|
|
100
100
|
appId: 'default',
|
|
101
101
|
dataCode: 'default',
|
|
102
102
|
svcCode: 'default',
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportRecordListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(ExportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.exportRecordListButton', null, '导出记录');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -87,7 +87,7 @@ 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 {
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
91
|
var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_inherits(FormSelectButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +104,7 @@ var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
104
|
{
|
|
105
105
|
key: "controlName",
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return getLocaleText('CMD.formSelectButton', null, '表单操作');
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
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: getLocaleText('CMD.pleaseEnterList', null, '请绑定列表')
|
|
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: getLocaleText('CMD.pleaseSelectFillBackMode', null, '请选择回填设置')
|
|
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: getLocaleText('CMD.pleaseSelectControl', null, '请选择控件')
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
131
|
return _this;
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ImportRecordListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(ImportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.importRecordListButton', null, '导入');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -87,7 +87,7 @@ 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 {
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
91
|
var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_inherits(InvoiceCheckButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +104,7 @@ var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
104
|
{
|
|
105
105
|
key: "controlName",
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return getLocaleText('CMD.invoiceCheckButton', null, '发票识别');
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -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';
|
|
73
74
|
import { ButtonProperty } from '../Button';
|
|
74
75
|
import InvoiceCheckButtonControl from './designer';
|
|
75
76
|
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: getLocaleText('CMD.pleaseEnterCaption', null, '请输入标题')
|
|
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(getLocaleText('CMD.pleaseSelectAtLeastOneFieldToFillIn', null, '请至少选择一个字段进行填充'));
|
|
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: getLocaleText('CMD.pleaseEnterCaptionTip', null, '请输入气泡提示语')
|
|
115
115
|
});
|
|
116
116
|
if (props.isShowCaptionTip) {
|
|
117
117
|
_this.captionTip.required = true;
|
|
@@ -86,7 +86,7 @@ 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 {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var LinkControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(LinkControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var LinkControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.link', null, '链接');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -71,7 +71,7 @@ function _is_native_reflect_construct() {
|
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
73
|
import { Property } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import {
|
|
74
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
75
75
|
var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(LinkProperty, Property);
|
|
@@ -82,7 +82,7 @@ var LinkProperty = /*#__PURE__*/ function(Property) {
|
|
|
82
82
|
props
|
|
83
83
|
]), _define_property(_this, "content", void 0), _define_property(_this, "url", void 0), _define_property(_this, "openMode", void 0);
|
|
84
84
|
var _props_content;
|
|
85
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
85
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.linkContent', null, '我是一个链接');
|
|
86
86
|
var _props_url;
|
|
87
87
|
_this.url = (_props_url = props === null || props === void 0 ? void 0 : props.url) !== null && _props_url !== void 0 ? _props_url : '';
|
|
88
88
|
var _props_openMode;
|
|
@@ -87,7 +87,7 @@ 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 {
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
91
|
var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_inherits(ListSelectButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +104,7 @@ var ListSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
104
|
{
|
|
105
105
|
key: "controlName",
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return getLocaleText('CMD.listSelectButton', null, '列表选择');
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -88,8 +88,8 @@ function _is_native_reflect_construct() {
|
|
|
88
88
|
import { ButtonProperty } from '../Button';
|
|
89
89
|
import ListSelectButtonControl from './designer';
|
|
90
90
|
import { PropertyRules, FillBackBind, FillPayloadBind, SelectedContentConfig, ListBind } from '@byteluck-fe/model-driven-core';
|
|
91
|
-
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
92
91
|
import { createFillBindRules } from '../utils';
|
|
92
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
93
93
|
var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
94
94
|
"use strict";
|
|
95
95
|
_inherits(ListSelectButtonPropertyRules, PropertyRules);
|
|
@@ -107,12 +107,12 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
107
107
|
formKey: {
|
|
108
108
|
type: 'string',
|
|
109
109
|
required: true,
|
|
110
|
-
message:
|
|
110
|
+
message: getLocaleText('CMD.pleaseEnterList', null, '请绑定列表')
|
|
111
111
|
},
|
|
112
112
|
headers: {
|
|
113
113
|
type: 'array',
|
|
114
114
|
required: true,
|
|
115
|
-
message:
|
|
115
|
+
message: getLocaleText('CMD.pleaseSelectAtLeastOneColumn', null, '请至少选择一个显示字段')
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}), _define_property(_this, "fillBack", {
|
|
@@ -121,7 +121,7 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
121
121
|
mode: {
|
|
122
122
|
type: 'string',
|
|
123
123
|
required: true,
|
|
124
|
-
message:
|
|
124
|
+
message: getLocaleText('CMD.pleaseSelectFillBackMode', null, '请选择回填设置')
|
|
125
125
|
}
|
|
126
126
|
}, createFillBindRules())
|
|
127
127
|
});
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import ListViewSelectProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var ListViewSelectControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(ListViewSelectControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var ListViewSelectControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.listViewSelect', null, '列表视图');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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';
|
|
73
74
|
import { Property, PropertyRules, ViewOperationItem } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
75
75
|
var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(ListViewSelectPropertyRules, PropertyRules);
|
|
@@ -94,13 +94,13 @@ var ListViewSelectPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
94
94
|
title: {
|
|
95
95
|
type: 'string',
|
|
96
96
|
required: true,
|
|
97
|
-
message:
|
|
97
|
+
message: getLocaleText('CMD.theViewNameCannotBeEmpty', null, '视图名称不能为空')
|
|
98
98
|
},
|
|
99
99
|
headers: {
|
|
100
100
|
type: 'array',
|
|
101
101
|
required: true,
|
|
102
102
|
min: 1,
|
|
103
|
-
message:
|
|
103
|
+
message: getLocaleText('CMD.pleaseSelectAtLeastOneColumn', null, '请至少选择一个显示字段')
|
|
104
104
|
}
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { OperationButtonProperty } from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var OperationButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(OperationButtonControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var OperationButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.operationButton', null, '操作按钮');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|