@byteluck-fe/model-driven-controls 2.23.0-beta.11 → 2.23.0-beta.12
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/SubmissionRecordListButton/designer.js +2 -2
- package/dist/esm/baseControls/Text/designer.js +2 -2
- package/dist/esm/baseControls/Text/property.js +2 -2
- 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/utils.js +4 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +2 -2
- package/dist/esm/columnControls/ArrayColumn/designer.js +3 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +3 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +3 -2
- package/dist/esm/columnControls/CustomColumn/property.js +2 -2
- package/dist/esm/columnControls/DecimalColumn/designer.js +3 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +3 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +3 -2
- package/dist/esm/columnControls/FileColumn/designer.js +3 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +3 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +3 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +2 -2
- package/dist/esm/columnControls/OperationColumn/property.js +3 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +2 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +3 -2
- package/dist/esm/columnControls/TextColumn/designer.js +3 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +3 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +3 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +3 -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 +3 -2
- package/dist/esm/formControls/Attachment/property.js +5 -5
- 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 +3 -2
- package/dist/esm/formControls/Checkbox/property.js +2 -2
- 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 +3 -2
- package/dist/esm/formControls/Employee2/property.js +4 -4
- package/dist/esm/formControls/Image/designer.js +4 -3
- package/dist/esm/formControls/Image/runtime.js +3 -3
- package/dist/esm/formControls/Input/designer.js +3 -2
- package/dist/esm/formControls/Input/property.js +10 -10
- 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 +3 -2
- package/dist/esm/formControls/RichText/designer.js +3 -2
- package/dist/esm/formControls/RichText/property.js +9 -9
- 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 +3 -2
- package/dist/esm/formControls/Select/property.js +3 -3
- package/dist/esm/formControls/SelectMultiple/designer.js +3 -2
- package/dist/esm/formControls/SelectMultiple/property.js +3 -3
- package/dist/esm/formControls/SelectRelation/designer.js +3 -2
- package/dist/esm/formControls/SelectRelation/property.js +6 -6
- package/dist/esm/formControls/Textarea/designer.js +3 -2
- package/dist/esm/formControls/Textarea/property.js +9 -9
- 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 +3 -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/package.json +5 -5
|
@@ -71,7 +71,7 @@ function _is_native_reflect_construct() {
|
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
73
|
import { Property, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import {
|
|
74
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
75
75
|
var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(OperationButtonPropertyRules, PropertyRules);
|
|
@@ -88,7 +88,7 @@ var OperationButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
88
88
|
_this.formKey = {
|
|
89
89
|
type: 'string',
|
|
90
90
|
required: true,
|
|
91
|
-
message:
|
|
91
|
+
message: getLocaleText('CMD.pleaseEnterForm', null, '请绑定表单')
|
|
92
92
|
};
|
|
93
93
|
}
|
|
94
94
|
return _this;
|
|
@@ -105,7 +105,7 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
105
105
|
props
|
|
106
106
|
]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0);
|
|
107
107
|
var _props_content;
|
|
108
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
108
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
|
|
109
109
|
_this.code = props === null || props === void 0 ? void 0 : props.code;
|
|
110
110
|
var _props_command;
|
|
111
111
|
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : 'custom';
|
|
@@ -86,7 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerControl } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import PaginationProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var PaginationControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(PaginationControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var PaginationControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.pagination', 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 SubmissionRecordListButtonProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var SubmissionRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(SubmissionRecordListButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +103,7 @@ var SubmissionRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonCon
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.submissionRecordListButton', null, '批量提交记录');
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
109
|
{
|
|
@@ -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 TextProperty from './property';
|
|
89
|
-
import {
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
90
|
var TextControl = /*#__PURE__*/ function(DesignerControl) {
|
|
91
91
|
"use strict";
|
|
92
92
|
_inherits(TextControl, DesignerControl);
|
|
@@ -103,7 +103,7 @@ var TextControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
103
103
|
{
|
|
104
104
|
key: "controlName",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return getLocaleText('CMD.text', 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 } from '@byteluck-fe/model-driven-core';
|
|
74
|
-
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
75
75
|
var TextProperty = /*#__PURE__*/ function(Property) {
|
|
76
76
|
"use strict";
|
|
77
77
|
_inherits(TextProperty, Property);
|
|
@@ -92,7 +92,7 @@ var TextProperty = /*#__PURE__*/ function(Property) {
|
|
|
92
92
|
var _props_showState;
|
|
93
93
|
_this.showState = (_props_showState = props === null || props === void 0 ? void 0 : props.showState) !== null && _props_showState !== void 0 ? _props_showState : 'text';
|
|
94
94
|
var _props_content;
|
|
95
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content :
|
|
95
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.text', null, '说明文字');
|
|
96
96
|
var _props_align;
|
|
97
97
|
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
98
98
|
return _this;
|
|
@@ -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 TextOcrButtonProperty from './property';
|
|
90
|
-
import {
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
91
|
var TextOcrButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_inherits(TextOcrButtonControl, DesignerButtonControl);
|
|
@@ -104,7 +104,7 @@ var TextOcrButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
104
104
|
{
|
|
105
105
|
key: "controlName",
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return getLocaleText('CMD.textOcrButton', null, '文字识别');
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -73,7 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import TextOcrButtonControl from './designer';
|
|
75
75
|
import { PropertyRules, MultistageFillingItem } from '@byteluck-fe/model-driven-core';
|
|
76
|
-
import {
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
77
|
var TextOcrButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TextOcrButtonPropertyRules, PropertyRules);
|
|
@@ -85,7 +85,7 @@ var TextOcrButtonPropertyRules = /*#__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", {
|
|
@@ -97,7 +97,7 @@ var TextOcrButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
97
97
|
}), _define_property(_this, "ocrType", {
|
|
98
98
|
type: 'string',
|
|
99
99
|
required: true,
|
|
100
|
-
message:
|
|
100
|
+
message: getLocaleText('CMD.pleaseSelectOcrType', null, '请选择识别类型')
|
|
101
101
|
}), _define_property(_this, "fillList", {
|
|
102
102
|
type: 'array',
|
|
103
103
|
validator: function validator(rule, value, callback) {
|
|
@@ -105,7 +105,7 @@ var TextOcrButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
105
105
|
return !item.controlId;
|
|
106
106
|
});
|
|
107
107
|
if (isEveryEmpty) {
|
|
108
|
-
callback(
|
|
108
|
+
callback(getLocaleText('CMD.pleaseSelectAtLeastOneFieldToFillIn', null, '请至少选择一个字段进行填充'));
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
callback();
|
|
@@ -113,7 +113,7 @@ var TextOcrButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
113
113
|
}), _define_property(_this, "captionTip", {
|
|
114
114
|
type: 'string',
|
|
115
115
|
required: false,
|
|
116
|
-
message:
|
|
116
|
+
message: getLocaleText('CMD.pleaseEnterCaptionTip', null, '请输入气泡提示语')
|
|
117
117
|
});
|
|
118
118
|
if (props.isShowCaptionTip) {
|
|
119
119
|
_this.captionTip.required = true;
|
|
@@ -87,7 +87,7 @@ function _is_native_reflect_construct() {
|
|
|
87
87
|
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import TitleProperty from './property';
|
|
89
89
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
90
|
-
import {
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
91
|
var TitleControl = /*#__PURE__*/ function(DesignerControl) {
|
|
92
92
|
"use strict";
|
|
93
93
|
_inherits(TitleControl, DesignerControl);
|
|
@@ -104,7 +104,7 @@ var TitleControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
104
104
|
{
|
|
105
105
|
key: "controlName",
|
|
106
106
|
get: function get() {
|
|
107
|
-
return
|
|
107
|
+
return getLocaleText('CMD.title', null, '标题组件');
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
{
|
|
@@ -72,8 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { Property, PropertyRules, DataBind } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import { DesignerTitleControl } from './designer';
|
|
75
|
-
import { RulesMessage } from '@byteluck-fe/model-driven-shared';
|
|
76
75
|
import { TitleConfigEnum } from '../../framework';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
77
77
|
var TitleControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TitleControlPropertyRules, PropertyRules);
|
|
@@ -85,7 +85,7 @@ var TitleControlPropertyRules = /*#__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, "dataBind", {
|
|
90
90
|
type: 'any'
|
|
91
91
|
}), _define_property(_this, "config", {
|
|
@@ -99,15 +99,15 @@ var TitleControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
99
99
|
fieldCode: {
|
|
100
100
|
type: 'string',
|
|
101
101
|
required: true,
|
|
102
|
-
message:
|
|
102
|
+
message: getLocaleText('CMD.bizKeyNotBindFiled', null, '单据编号未绑定数据项')
|
|
103
103
|
},
|
|
104
104
|
dataCode: {
|
|
105
105
|
type: 'string',
|
|
106
106
|
required: true,
|
|
107
|
-
message:
|
|
107
|
+
message: getLocaleText('CMD.bizKeyNotBindFiled', null, '单据编号未绑定数据项')
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
|
-
message:
|
|
110
|
+
message: getLocaleText('CMD.bizKeyNotBindFiled', null, '单据编号未绑定数据项')
|
|
111
111
|
};
|
|
112
112
|
}
|
|
113
113
|
if (!props.isHide && props.config.length === 0) {
|
|
@@ -115,7 +115,7 @@ var TitleControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
115
115
|
type: 'array',
|
|
116
116
|
min: 1,
|
|
117
117
|
required: true,
|
|
118
|
-
message:
|
|
118
|
+
message: getLocaleText('CMD.pleaseSelectOneField', null, '请至少选择一个显示字段!')
|
|
119
119
|
};
|
|
120
120
|
}
|
|
121
121
|
return _this;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
2
2
|
export function createFillBindRules() {
|
|
3
3
|
return {
|
|
4
4
|
dataCode: {
|
|
5
5
|
type: 'string',
|
|
6
6
|
required: true,
|
|
7
|
-
message:
|
|
7
|
+
message: getLocaleText('CMD.pleaseEnterDataCode', null, '请绑定业务模型')
|
|
8
8
|
},
|
|
9
9
|
fillList: {
|
|
10
10
|
type: 'array',
|
|
@@ -14,12 +14,12 @@ export function createFillBindRules() {
|
|
|
14
14
|
fieldCode: {
|
|
15
15
|
type: 'string',
|
|
16
16
|
required: true,
|
|
17
|
-
message:
|
|
17
|
+
message: getLocaleText('CMD.pleaseEnterFieldCode', null, '请绑定数据项')
|
|
18
18
|
},
|
|
19
19
|
controlId: {
|
|
20
20
|
type: 'string',
|
|
21
21
|
required: true,
|
|
22
|
-
message:
|
|
22
|
+
message: getLocaleText('CMD.pleaseSelectControl', null, '请选择控件')
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -72,7 +72,7 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import ApprovalStatusColumnControlProperty from './property';
|
|
75
|
-
import {
|
|
75
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
76
|
var ApprovalStatusColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
77
|
"use strict";
|
|
78
78
|
_inherits(ApprovalStatusColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +88,7 @@ var ApprovalStatusColumnControl = /*#__PURE__*/ function(DesignerColumnControl)
|
|
|
88
88
|
return ApprovalStatusColumnControl;
|
|
89
89
|
}(DesignerColumnControl);
|
|
90
90
|
_define_property(ApprovalStatusColumnControl, "controlType", 'approval-status-column');
|
|
91
|
-
_define_property(ApprovalStatusColumnControl, "controlName",
|
|
91
|
+
_define_property(ApprovalStatusColumnControl, "controlName", getLocaleText('CMD.approvalStatusColumn', null, '当前审批状态'));
|
|
92
92
|
_define_property(ApprovalStatusColumnControl, "controlIcon", 'approval-status-column');
|
|
93
93
|
_define_property(ApprovalStatusColumnControl, "excludes", []);
|
|
94
94
|
_define_property(ApprovalStatusColumnControl, "setting", [
|
|
@@ -72,7 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import ArrayColumnControlProperty from './property';
|
|
75
|
-
import { FieldTypes
|
|
75
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var ArrayColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(ArrayColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +89,7 @@ var ArrayColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
89
|
return ArrayColumnControl;
|
|
89
90
|
}(DesignerColumnControl);
|
|
90
91
|
_define_property(ArrayColumnControl, "controlType", 'array-column');
|
|
91
|
-
_define_property(ArrayColumnControl, "controlName",
|
|
92
|
+
_define_property(ArrayColumnControl, "controlName", getLocaleText('CMD.array', null, '数组'));
|
|
92
93
|
_define_property(ArrayColumnControl, "controlIcon", 'array-column');
|
|
93
94
|
_define_property(ArrayColumnControl, "controlFieldType", FieldTypes.ARRAY);
|
|
94
95
|
_define_property(ArrayColumnControl, "setting", [
|
|
@@ -72,7 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import AutoNumberColumnControlProperty from './property';
|
|
75
|
-
import { FieldTypes
|
|
75
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var AutoNumberColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(AutoNumberColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +89,7 @@ var AutoNumberColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
89
|
return AutoNumberColumnControl;
|
|
89
90
|
}(DesignerColumnControl);
|
|
90
91
|
_define_property(AutoNumberColumnControl, "controlType", 'auto-number-column');
|
|
91
|
-
_define_property(AutoNumberColumnControl, "controlName",
|
|
92
|
+
_define_property(AutoNumberColumnControl, "controlName", getLocaleText('CMD.autoNumber', null, '自动编号'));
|
|
92
93
|
_define_property(AutoNumberColumnControl, "controlIcon", 'auto-number-column');
|
|
93
94
|
_define_property(AutoNumberColumnControl, "controlFieldType", FieldTypes.AUTO_NUMBER);
|
|
94
95
|
_define_property(AutoNumberColumnControl, "setting", [
|
|
@@ -116,7 +116,8 @@ function _is_native_reflect_construct() {
|
|
|
116
116
|
}
|
|
117
117
|
import { DesignerColumnControl, COMMON_SETTING_TYPE, defineControlArrayToProperty } from '@byteluck-fe/model-driven-core';
|
|
118
118
|
import CustomColumnControlProperty from './property';
|
|
119
|
-
import { JSONCopy
|
|
119
|
+
import { JSONCopy } from '@byteluck-fe/model-driven-shared';
|
|
120
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
120
121
|
var CHILDREN_MAX_LENGTH = 1;
|
|
121
122
|
var CustomColumnControl = /*#__PURE__*/ function _target(DesignerColumnControl) {
|
|
122
123
|
"use strict";
|
|
@@ -160,7 +161,7 @@ var CustomColumnControl = /*#__PURE__*/ function _target(DesignerColumnControl)
|
|
|
160
161
|
return CustomColumnControl;
|
|
161
162
|
}(DesignerColumnControl);
|
|
162
163
|
_define_property(CustomColumnControl, "controlType", 'custom-column');
|
|
163
|
-
_define_property(CustomColumnControl, "controlName",
|
|
164
|
+
_define_property(CustomColumnControl, "controlName", getLocaleText('CMD.custom', null, '自定义'));
|
|
164
165
|
_define_property(CustomColumnControl, "controlIcon", 'custom-column');
|
|
165
166
|
_define_property(CustomColumnControl, "slots", [
|
|
166
167
|
'column-column-slot'
|
|
@@ -72,7 +72,7 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { ColumnControlProperty, ColumnControlPropertyRules } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import { DesignerCustomColumnControl } from './designer';
|
|
75
|
-
import {
|
|
75
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
76
|
var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPropertyRules) {
|
|
77
77
|
"use strict";
|
|
78
78
|
_inherits(CustomColumnControlPropertyRules, ColumnControlPropertyRules);
|
|
@@ -83,7 +83,7 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
|
|
|
83
83
|
props
|
|
84
84
|
]), _define_property(_this, "sortFieldCode", {
|
|
85
85
|
type: 'string',
|
|
86
|
-
message:
|
|
86
|
+
message: getLocaleText('pleaseSelectSortFieldCode', null, '请选择排序字段')
|
|
87
87
|
});
|
|
88
88
|
if (props.sort === true) {
|
|
89
89
|
_this.sortFieldCode.required = true;
|
|
@@ -109,7 +109,8 @@ function _is_native_reflect_construct() {
|
|
|
109
109
|
}
|
|
110
110
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
111
|
import DecimalColumnControlProperty from './property';
|
|
112
|
-
import { FieldTypes
|
|
112
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
113
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
113
114
|
var DecimalColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
114
115
|
"use strict";
|
|
115
116
|
_inherits(DecimalColumnControl, DesignerColumnControl);
|
|
@@ -139,7 +140,7 @@ var DecimalColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
139
140
|
return DecimalColumnControl;
|
|
140
141
|
}(DesignerColumnControl);
|
|
141
142
|
_define_property(DecimalColumnControl, "controlType", 'decimal-column');
|
|
142
|
-
_define_property(DecimalColumnControl, "controlName",
|
|
143
|
+
_define_property(DecimalColumnControl, "controlName", getLocaleText('CMD.decimal', null, '数值'));
|
|
143
144
|
_define_property(DecimalColumnControl, "controlIcon", 'decimal-column');
|
|
144
145
|
_define_property(DecimalColumnControl, "controlFieldType", FieldTypes.DECIMAL);
|
|
145
146
|
_define_property(DecimalColumnControl, "setting", [
|
|
@@ -109,7 +109,8 @@ function _is_native_reflect_construct() {
|
|
|
109
109
|
}
|
|
110
110
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
111
|
import DepartmentColumnControlProperty from './property';
|
|
112
|
-
import { FieldTypes
|
|
112
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
113
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
113
114
|
var DepartmentColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
114
115
|
"use strict";
|
|
115
116
|
_inherits(DepartmentColumnControl, DesignerColumnControl);
|
|
@@ -138,7 +139,7 @@ var DepartmentColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
138
139
|
return DepartmentColumnControl;
|
|
139
140
|
}(DesignerColumnControl);
|
|
140
141
|
_define_property(DepartmentColumnControl, "controlType", 'department-column');
|
|
141
|
-
_define_property(DepartmentColumnControl, "controlName",
|
|
142
|
+
_define_property(DepartmentColumnControl, "controlName", getLocaleText('CMD.department', null, '部门'));
|
|
142
143
|
_define_property(DepartmentColumnControl, "controlIcon", 'department-column');
|
|
143
144
|
_define_property(DepartmentColumnControl, "controlFieldType", FieldTypes.DEPARTMENTS);
|
|
144
145
|
_define_property(DepartmentColumnControl, "setting", [
|
|
@@ -86,7 +86,8 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import EmployeeColumnControlProperty from './property';
|
|
89
|
-
import { FieldTypes
|
|
89
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
91
|
var EmployeeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
91
92
|
"use strict";
|
|
92
93
|
_inherits(EmployeeColumnControl, DesignerColumnControl);
|
|
@@ -116,7 +117,7 @@ var EmployeeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
116
117
|
return EmployeeColumnControl;
|
|
117
118
|
}(DesignerColumnControl);
|
|
118
119
|
_define_property(EmployeeColumnControl, "controlType", 'employee-column');
|
|
119
|
-
_define_property(EmployeeColumnControl, "controlName",
|
|
120
|
+
_define_property(EmployeeColumnControl, "controlName", getLocaleText('CMD.employee', null, '人员'));
|
|
120
121
|
_define_property(EmployeeColumnControl, "controlIcon", 'employee-column');
|
|
121
122
|
_define_property(EmployeeColumnControl, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
122
123
|
_define_property(EmployeeColumnControl, "setting", [
|
|
@@ -78,7 +78,8 @@ function _is_native_reflect_construct() {
|
|
|
78
78
|
}
|
|
79
79
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
80
80
|
import FileColumnControlProperty from './property';
|
|
81
|
-
import { FieldTypes
|
|
81
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
82
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
82
83
|
var FileColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
83
84
|
"use strict";
|
|
84
85
|
_inherits(FileColumnControl, DesignerColumnControl);
|
|
@@ -94,7 +95,7 @@ var FileColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
94
95
|
return FileColumnControl;
|
|
95
96
|
}(DesignerColumnControl);
|
|
96
97
|
_define_property(FileColumnControl, "controlType", 'file-column');
|
|
97
|
-
_define_property(FileColumnControl, "controlName",
|
|
98
|
+
_define_property(FileColumnControl, "controlName", getLocaleText('CMD.file', null, '附件'));
|
|
98
99
|
_define_property(FileColumnControl, "controlIcon", 'file-column');
|
|
99
100
|
_define_property(FileColumnControl, "controlFieldType", FieldTypes.FILE);
|
|
100
101
|
_define_property(FileColumnControl, "setting", [
|
|
@@ -72,7 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import ImageColumnControlProperty from './property';
|
|
75
|
-
import { FieldTypes
|
|
75
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var ImageColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(ImageColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +89,7 @@ var ImageColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
89
|
return ImageColumnControl;
|
|
89
90
|
}(DesignerColumnControl);
|
|
90
91
|
_define_property(ImageColumnControl, "controlType", 'image-column');
|
|
91
|
-
_define_property(ImageColumnControl, "controlName",
|
|
92
|
+
_define_property(ImageColumnControl, "controlName", getLocaleText('CMD.image', null, '图片'));
|
|
92
93
|
_define_property(ImageColumnControl, "controlIcon", 'image-column');
|
|
93
94
|
_define_property(ImageColumnControl, "controlFieldType", FieldTypes.IMAGE);
|
|
94
95
|
_define_property(ImageColumnControl, "setting", [
|
|
@@ -72,7 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import LocationColumnControlProperty from './property';
|
|
75
|
-
import { FieldTypes
|
|
75
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var LocationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(LocationColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +89,7 @@ var LocationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
89
|
return LocationColumnControl;
|
|
89
90
|
}(DesignerColumnControl);
|
|
90
91
|
_define_property(LocationColumnControl, "controlType", 'location-column');
|
|
91
|
-
_define_property(LocationColumnControl, "controlName",
|
|
92
|
+
_define_property(LocationColumnControl, "controlName", getLocaleText('CMD.location', null, '地址'));
|
|
92
93
|
_define_property(LocationColumnControl, "controlIcon", 'location-column');
|
|
93
94
|
_define_property(LocationColumnControl, "controlFieldType", FieldTypes.ADDRESS);
|
|
94
95
|
_define_property(LocationColumnControl, "setting", [
|
|
@@ -234,7 +234,7 @@ function _ts_generator(thisArg, body) {
|
|
|
234
234
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
235
235
|
import { DesignerOperationButtonControl } from '../../baseControls/OperationButton';
|
|
236
236
|
import OperationColumnControlProperty from './property';
|
|
237
|
-
import {
|
|
237
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
238
238
|
var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
239
239
|
"use strict";
|
|
240
240
|
_inherits(OperationColumnControl, DesignerColumnControl);
|
|
@@ -311,7 +311,7 @@ var OperationColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
311
311
|
return OperationColumnControl;
|
|
312
312
|
}(DesignerColumnControl);
|
|
313
313
|
_define_property(OperationColumnControl, "controlType", 'operation-column');
|
|
314
|
-
_define_property(OperationColumnControl, "controlName",
|
|
314
|
+
_define_property(OperationColumnControl, "controlName", getLocaleText('CMD.operation', null, '操作'));
|
|
315
315
|
_define_property(OperationColumnControl, "controlIcon", 'operation-column');
|
|
316
316
|
_define_property(OperationColumnControl, "setting", [
|
|
317
317
|
{
|
|
@@ -77,13 +77,13 @@ import { DesignerOperationColumnControl } from './designer';
|
|
|
77
77
|
// public check: RuleItem[] = [
|
|
78
78
|
// {
|
|
79
79
|
// type: 'object',
|
|
80
|
-
// message:
|
|
80
|
+
// message: getLocaleText('CMD.isNotObject'),
|
|
81
81
|
// },
|
|
82
82
|
// ]
|
|
83
83
|
// public edit: RuleItem[] = [
|
|
84
84
|
// {
|
|
85
85
|
// type: 'object',
|
|
86
|
-
// message:
|
|
86
|
+
// message: getLocaleText('CMD.isNotObject'),
|
|
87
87
|
// },
|
|
88
88
|
// ]
|
|
89
89
|
// constructor(props: OperationColumnControlProperty) {
|
|
@@ -95,7 +95,7 @@ import { DesignerOperationColumnControl } from './designer';
|
|
|
95
95
|
// formKey: {
|
|
96
96
|
// type: 'string',
|
|
97
97
|
// required: true,
|
|
98
|
-
// message:
|
|
98
|
+
// message: getLocaleText('CMD.pleaseEnterForm'),
|
|
99
99
|
// },
|
|
100
100
|
// },
|
|
101
101
|
// } as RuleItem)
|
|
@@ -72,7 +72,7 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import OrderColumnControlProperty from './property';
|
|
75
|
-
import {
|
|
75
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
76
|
var OrderColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
77
|
"use strict";
|
|
78
78
|
_inherits(OrderColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +88,7 @@ var OrderColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
88
|
return OrderColumnControl;
|
|
89
89
|
}(DesignerColumnControl);
|
|
90
90
|
_define_property(OrderColumnControl, "controlType", 'order-column');
|
|
91
|
-
_define_property(OrderColumnControl, "controlName",
|
|
91
|
+
_define_property(OrderColumnControl, "controlName", getLocaleText('CMD.order', null, '序号'));
|
|
92
92
|
_define_property(OrderColumnControl, "controlIcon", 'order-column');
|
|
93
93
|
_define_property(OrderColumnControl, "setting", [
|
|
94
94
|
{
|
|
@@ -72,7 +72,8 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
74
74
|
import PeopleColumnControlProperty from './property';
|
|
75
|
-
import { FieldTypes
|
|
75
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
76
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var PeopleColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(PeopleColumnControl, DesignerColumnControl);
|
|
@@ -88,7 +89,7 @@ var PeopleColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
88
89
|
return PeopleColumnControl;
|
|
89
90
|
}(DesignerColumnControl);
|
|
90
91
|
_define_property(PeopleColumnControl, "controlType", 'people-column');
|
|
91
|
-
_define_property(PeopleColumnControl, "controlName",
|
|
92
|
+
_define_property(PeopleColumnControl, "controlName", getLocaleText('CMD.people', null, '人员'));
|
|
92
93
|
_define_property(PeopleColumnControl, "controlIcon", 'people-column');
|
|
93
94
|
_define_property(PeopleColumnControl, "controlFieldType", FieldTypes.EMPLOYEES);
|
|
94
95
|
_define_property(PeopleColumnControl, "setting", [
|
|
@@ -109,7 +109,8 @@ function _is_native_reflect_construct() {
|
|
|
109
109
|
}
|
|
110
110
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
111
|
import TextColumnControlProperty from './property';
|
|
112
|
-
import { FieldTypes
|
|
112
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
113
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
113
114
|
var TextColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
114
115
|
"use strict";
|
|
115
116
|
_inherits(TextColumnControl, DesignerColumnControl);
|
|
@@ -138,7 +139,7 @@ var TextColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
138
139
|
return TextColumnControl;
|
|
139
140
|
}(DesignerColumnControl);
|
|
140
141
|
_define_property(TextColumnControl, "controlType", 'text-column');
|
|
141
|
-
_define_property(TextColumnControl, "controlName",
|
|
142
|
+
_define_property(TextColumnControl, "controlName", getLocaleText('CMD.long', null, '长文本'));
|
|
142
143
|
_define_property(TextColumnControl, "controlIcon", 'text-column');
|
|
143
144
|
_define_property(TextColumnControl, "controlFieldType", FieldTypes.TEXT);
|
|
144
145
|
_define_property(TextColumnControl, "setting", [
|
|
@@ -109,7 +109,8 @@ function _is_native_reflect_construct() {
|
|
|
109
109
|
}
|
|
110
110
|
import { DesignerColumnControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
111
111
|
import TimescopeColumnControlProperty from './property';
|
|
112
|
-
import { FieldTypes
|
|
112
|
+
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
113
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
113
114
|
var TimescopeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
114
115
|
"use strict";
|
|
115
116
|
_inherits(TimescopeColumnControl, DesignerColumnControl);
|
|
@@ -138,7 +139,7 @@ var TimescopeColumnControl = /*#__PURE__*/ function(DesignerColumnControl) {
|
|
|
138
139
|
return TimescopeColumnControl;
|
|
139
140
|
}(DesignerColumnControl);
|
|
140
141
|
_define_property(TimescopeColumnControl, "controlType", 'timescope-column');
|
|
141
|
-
_define_property(TimescopeColumnControl, "controlName",
|
|
142
|
+
_define_property(TimescopeColumnControl, "controlName", getLocaleText('CMD.timescope', null, '日期区间'));
|
|
142
143
|
_define_property(TimescopeColumnControl, "controlIcon", 'timescope-column');
|
|
143
144
|
_define_property(TimescopeColumnControl, "controlFieldType", FieldTypes.TIMESCOPE);
|
|
144
145
|
_define_property(TimescopeColumnControl, "setting", [
|