@byteluck-fe/model-driven-controls 2.22.2-beta.17 → 2.22.2-beta.18
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 +10 -10
- package/dist/esm/baseControls/Button/designer.js +3 -2
- package/dist/esm/baseControls/Button/property.js +34 -34
- 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 +19 -19
- 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 +5 -5
- 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 +9 -8
- 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 +14 -14
- 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 +16 -16
- package/dist/esm/formControls/Amount/designer.js +3 -2
- package/dist/esm/formControls/Amount/property.js +42 -42
- package/dist/esm/formControls/Attachment/designer.js +3 -2
- package/dist/esm/formControls/Attachment/property.js +13 -13
- 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 +30 -30
- 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 +49 -48
- package/dist/esm/formControls/Department/designer.js +3 -2
- package/dist/esm/formControls/Department/property.js +20 -20
- package/dist/esm/formControls/Department2/designer.js +3 -2
- package/dist/esm/formControls/Department2/property.js +26 -26
- 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 +4 -4
- package/dist/esm/formControls/Employee2/designer.js +3 -2
- package/dist/esm/formControls/Employee2/property.js +6 -6
- package/dist/esm/formControls/Image/designer.js +10 -9
- 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 +36 -36
- package/dist/esm/formControls/Number/designer.js +3 -2
- package/dist/esm/formControls/Number/property.js +58 -58
- package/dist/esm/formControls/OrganizationSelection/designer.js +3 -2
- package/dist/esm/formControls/OrganizationSelection/property.js +29 -29
- 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 +15 -15
- package/dist/esm/formControls/SelectMultiple/designer.js +3 -2
- package/dist/esm/formControls/SelectMultiple/property.js +15 -15
- package/dist/esm/formControls/SelectRelation/designer.js +3 -2
- package/dist/esm/formControls/SelectRelation/property.js +47 -47
- package/dist/esm/formControls/Textarea/designer.js +3 -2
- package/dist/esm/formControls/Textarea/property.js +28 -28
- 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 +10 -9
- package/dist/esm/formControls/WPS/property.js +6 -6
- package/dist/esm/framework.js +27 -26
- 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 +8 -8
- 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 +17 -17
- 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 +76 -76
- 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 +17 -17
- 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 +128 -128
- package/dist/esm/searchControls/SimpleSearch/property.js +48 -48
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +9 -9
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/index.umd.js +1 -1
- package/package.json +5 -5
|
@@ -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
|
});
|
|
@@ -129,9 +129,9 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
129
129
|
}
|
|
130
130
|
return ListSelectButtonPropertyRules;
|
|
131
131
|
}(PropertyRules);
|
|
132
|
-
/**
|
|
133
|
-
* ListSelectButton 列表选择
|
|
134
|
-
* @public
|
|
132
|
+
/**
|
|
133
|
+
* ListSelectButton 列表选择
|
|
134
|
+
* @public
|
|
135
135
|
*/ var ListSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
136
136
|
"use strict";
|
|
137
137
|
_inherits(ListSelectButtonProperty, ButtonProperty);
|
|
@@ -140,18 +140,18 @@ var ListSelectButtonPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _call_super(this, ListSelectButtonProperty, [
|
|
142
142
|
props
|
|
143
|
-
]), /**
|
|
144
|
-
* 数据过滤
|
|
145
|
-
* @public
|
|
146
|
-
*/ _define_property(_this, "fillPayload", void 0), /**
|
|
147
|
-
* 绑定列表页
|
|
148
|
-
* @public
|
|
149
|
-
*/ _define_property(_this, "listPageBind", void 0), /**
|
|
150
|
-
* 禁用填充
|
|
151
|
-
* @public
|
|
152
|
-
*/ _define_property(_this, "disableFilling", void 0), /**
|
|
153
|
-
* 回填配置
|
|
154
|
-
* @public
|
|
143
|
+
]), /**
|
|
144
|
+
* 数据过滤
|
|
145
|
+
* @public
|
|
146
|
+
*/ _define_property(_this, "fillPayload", void 0), /**
|
|
147
|
+
* 绑定列表页
|
|
148
|
+
* @public
|
|
149
|
+
*/ _define_property(_this, "listPageBind", void 0), /**
|
|
150
|
+
* 禁用填充
|
|
151
|
+
* @public
|
|
152
|
+
*/ _define_property(_this, "disableFilling", void 0), /**
|
|
153
|
+
* 回填配置
|
|
154
|
+
* @public
|
|
155
155
|
*/ _define_property(_this, "fillBack", void 0), // 展示已选明细
|
|
156
156
|
_define_property(_this, "showSelectedDetail", void 0), // 是否使用选中行填充
|
|
157
157
|
_define_property(_this, "isSelectedRowFill", void 0), // 展示已选内容配置字段
|
|
@@ -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
|
{
|
|
@@ -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;
|
|
@@ -92,9 +92,9 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
|
|
|
92
92
|
}
|
|
93
93
|
return CustomColumnControlPropertyRules;
|
|
94
94
|
}(ColumnControlPropertyRules);
|
|
95
|
-
/**
|
|
96
|
-
* CustomColumn 自定义列
|
|
97
|
-
* @public
|
|
95
|
+
/**
|
|
96
|
+
* CustomColumn 自定义列
|
|
97
|
+
* @public
|
|
98
98
|
*/ var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
99
99
|
"use strict";
|
|
100
100
|
_inherits(CustomColumnControlProperty, ColumnControlProperty);
|
|
@@ -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", [
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* @Description:
|
|
3
|
-
* @Autor: SuperLucky-Q
|
|
4
|
-
* @Date: 2022-12-15 10:48:27
|
|
5
|
-
* @LastEditors: SuperLucky-Q
|
|
6
|
-
* @LastEditTime: 2022-12-15 15:08:08
|
|
1
|
+
/*
|
|
2
|
+
* @Description:
|
|
3
|
+
* @Autor: SuperLucky-Q
|
|
4
|
+
* @Date: 2022-12-15 10:48:27
|
|
5
|
+
* @LastEditors: SuperLucky-Q
|
|
6
|
+
* @LastEditTime: 2022-12-15 15:08:08
|
|
7
7
|
*/ function _assert_this_initialized(self) {
|
|
8
8
|
if (self === void 0) {
|
|
9
9
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
@@ -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", [
|