@byteluck-fe/model-driven-controls 4.38.0-lx0 → 5.5.0-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/api-doc-index.js +2 -1
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +5 -1
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +5 -1
- package/dist/esm/baseControls/BatchPrintListButton/property.js +2 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +5 -1
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +5 -1
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +3 -3
- package/dist/esm/baseControls/Button/designer.js +12 -1
- package/dist/esm/baseControls/Button/property.js +2 -1
- package/dist/esm/baseControls/CreateFormListButton/designer.js +5 -1
- package/dist/esm/baseControls/CreateFormListButton/property.js +2 -2
- package/dist/esm/baseControls/Dashboard/designer.js +2 -1
- package/dist/esm/baseControls/Dashboard/property.js +4 -4
- package/dist/esm/baseControls/Divider/designer.js +2 -1
- package/dist/esm/baseControls/ExportListButton/designer.js +5 -1
- package/dist/esm/baseControls/ExportListButton/property.js +2 -1
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +5 -1
- package/dist/esm/baseControls/FormSelectButton/designer.js +2 -1
- package/dist/esm/baseControls/FormSelectButton/property.js +5 -7
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +5 -1
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +2 -1
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +4 -4
- package/dist/esm/{formControls → baseControls}/Link/designer.js +6 -30
- package/dist/esm/{formControls → baseControls}/Link/property.js +6 -5
- package/dist/esm/baseControls/ListSelectButton/designer.js +2 -1
- package/dist/esm/baseControls/ListSelectButton/property.js +8 -5
- package/dist/esm/baseControls/ListViewSelect/designer.js +2 -1
- package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
- package/dist/esm/baseControls/OperationButton/designer.js +2 -1
- package/dist/esm/baseControls/OperationButton/property.js +3 -3
- package/dist/esm/baseControls/Pagination/designer.js +2 -1
- package/dist/esm/{formControls/SensitivenInformation → baseControls/ReferenceList}/designer.js +25 -66
- package/dist/esm/baseControls/ReferenceList/property.js +139 -0
- package/dist/esm/baseControls/ReferenceList/runtime.js +112 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +5 -1
- package/dist/esm/baseControls/Text/designer.js +2 -1
- package/dist/esm/baseControls/Text/property.js +2 -1
- package/dist/esm/baseControls/TextOcrButton/designer.js +2 -1
- package/dist/esm/baseControls/TextOcrButton/property.js +5 -5
- package/dist/esm/baseControls/Title/designer.js +2 -1
- package/dist/esm/baseControls/Title/property.js +6 -6
- package/dist/esm/baseControls/index.js +2 -0
- package/dist/esm/baseControls/utils.js +4 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +6 -1
- package/dist/esm/columnControls/ArrayColumn/designer.js +6 -1
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +6 -1
- package/dist/esm/columnControls/CustomColumn/designer.js +9 -1
- package/dist/esm/columnControls/CustomColumn/property.js +2 -2
- package/dist/esm/columnControls/DecimalColumn/designer.js +6 -1
- package/dist/esm/columnControls/DecimalColumn/property.js +4 -4
- package/dist/esm/columnControls/DepartmentColumn/designer.js +6 -1
- package/dist/esm/columnControls/EmployeeColumn/designer.js +7 -2
- package/dist/esm/columnControls/FileColumn/designer.js +11 -8
- package/dist/esm/columnControls/FileColumn/property.js +21 -1
- package/dist/esm/columnControls/ImageColumn/designer.js +6 -1
- package/dist/esm/columnControls/LocationColumn/designer.js +6 -1
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -11
- package/dist/esm/columnControls/OperationColumn/property.js +3 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +6 -1
- package/dist/esm/columnControls/PeopleColumn/designer.js +6 -1
- package/dist/esm/columnControls/TextColumn/designer.js +6 -1
- package/dist/esm/columnControls/TimescopeColumn/designer.js +6 -1
- package/dist/esm/columnControls/TimestampColumn/designer.js +6 -1
- package/dist/esm/columnControls/VarcharColumn/designer.js +4 -2
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -4
- package/dist/esm/formControls/Address/designer.js +2 -10
- package/dist/esm/formControls/Address/property.js +5 -5
- package/dist/esm/formControls/Address/runtime.js +2 -1
- package/dist/esm/formControls/Amount/designer.js +6 -10
- package/dist/esm/formControls/Amount/property.js +14 -8
- package/dist/esm/formControls/Attachment/designer.js +8 -50
- package/dist/esm/formControls/Attachment/property.js +13 -16
- package/dist/esm/formControls/AutoNumber/designer.js +2 -10
- package/dist/esm/formControls/AutoNumber/property.js +2 -1
- package/dist/esm/formControls/Calc/designer.js +6 -10
- package/dist/esm/formControls/Calc/property.js +11 -5
- package/dist/esm/formControls/Checkbox/designer.js +6 -10
- package/dist/esm/formControls/Checkbox/property.js +8 -8
- package/dist/esm/formControls/DatePicker/designer.js +2 -10
- package/dist/esm/formControls/DatePicker/property.js +2 -1
- package/dist/esm/formControls/DateRange/designer.js +2 -10
- package/dist/esm/formControls/DateRange/property.js +3 -2
- package/dist/esm/formControls/Department/designer.js +2 -10
- package/dist/esm/formControls/Department/property.js +2 -1
- package/dist/esm/formControls/Department2/designer.js +3 -11
- package/dist/esm/formControls/Department2/property.js +4 -4
- package/dist/esm/formControls/ElectronicSignature/designer.js +2 -10
- package/dist/esm/formControls/ElectronicSignature/property.js +21 -7
- package/dist/esm/formControls/Employee/designer.js +2 -10
- package/dist/esm/formControls/Employee/property.js +2 -1
- package/dist/esm/formControls/Employee2/designer.js +11 -12
- package/dist/esm/formControls/Employee2/property.js +7 -4
- package/dist/esm/formControls/Image/designer.js +4 -17
- package/dist/esm/formControls/Image/property.js +2 -22
- package/dist/esm/formControls/Image/runtime.js +3 -2
- package/dist/esm/formControls/Input/designer.js +2 -10
- package/dist/esm/formControls/Input/property.js +11 -11
- package/dist/esm/formControls/Number/designer.js +2 -10
- package/dist/esm/formControls/Number/property.js +9 -9
- package/dist/esm/formControls/OrganizationSelection/designer.js +8 -11
- package/dist/esm/formControls/OrganizationSelection/property.js +4 -4
- package/dist/esm/formControls/Radio/designer.js +6 -10
- package/dist/esm/formControls/Radio/property.js +7 -6
- package/dist/esm/formControls/RichText/designer.js +2 -10
- package/dist/esm/formControls/RichText/property.js +9 -9
- package/dist/esm/formControls/Score/designer.js +2 -10
- package/dist/esm/formControls/Score/property.js +8 -8
- package/dist/esm/formControls/SearchDateRange/designer.js +2 -10
- package/dist/esm/formControls/SearchDateRange/property.js +3 -2
- package/dist/esm/formControls/SearchInput/designer.js +2 -10
- package/dist/esm/formControls/SearchNumberRange/designer.js +2 -10
- package/dist/esm/formControls/SearchNumberRange/property.js +5 -5
- package/dist/esm/formControls/Select/designer.js +6 -10
- package/dist/esm/formControls/Select/property.js +9 -9
- package/dist/esm/formControls/SelectMultiple/designer.js +6 -10
- package/dist/esm/formControls/SelectMultiple/property.js +9 -9
- package/dist/esm/formControls/SelectRelation/designer.js +48 -12
- package/dist/esm/formControls/SelectRelation/property.js +12 -7
- package/dist/esm/formControls/Textarea/designer.js +4 -11
- package/dist/esm/formControls/Textarea/property.js +24 -27
- package/dist/esm/formControls/Tree/designer.js +8 -12
- package/dist/esm/formControls/Tree/property.js +5 -5
- package/dist/esm/formControls/VueFormItem/designer.js +7 -11
- package/dist/esm/formControls/VuePage/designer.js +129 -0
- package/dist/esm/formControls/VuePage/index.js +11 -0
- package/dist/esm/formControls/VuePage/property.js +133 -0
- package/dist/esm/formControls/{SensitivenInformation → VuePage}/runtime.js +14 -14
- package/dist/esm/formControls/WPS/designer.js +2 -10
- package/dist/esm/formControls/WPS/property.js +6 -6
- package/dist/esm/formControls/index.js +1 -2
- package/dist/esm/framework.js +138 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +21 -6
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +4 -3
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +2 -1
- package/dist/esm/layoutControls/CardGroup/designer.js +4 -2
- package/dist/esm/layoutControls/CardGroup/property.js +6 -4
- package/dist/esm/layoutControls/Col/designer.js +3 -2
- package/dist/esm/layoutControls/DataView/designer.js +2 -1
- package/dist/esm/layoutControls/DataView/property.js +5 -4
- package/dist/esm/layoutControls/Grid/designer.js +2 -1
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +2 -1
- package/dist/esm/layoutControls/GridRow/designer.js +2 -1
- package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -1
- package/dist/esm/layoutControls/ListView/designer.js +5 -1
- package/dist/esm/layoutControls/ListView/property.js +13 -28
- package/dist/esm/layoutControls/Page/Setting.js +6 -5
- package/dist/esm/layoutControls/Page/designer.js +2 -1
- package/dist/esm/layoutControls/Position/designer.js +2 -1
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +4 -3
- package/dist/esm/layoutControls/PositioningContainer/designer.js +2 -1
- package/dist/esm/layoutControls/Row/designer.js +2 -1
- package/dist/esm/layoutControls/SubTableColumn/designer.js +4 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +4 -4
- package/dist/esm/layoutControls/SubTableRow/designer.js +2 -1
- package/dist/esm/layoutControls/Tab/designer.js +2 -1
- package/dist/esm/layoutControls/TabPane/designer.js +3 -3
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +2 -1
- package/dist/esm/listControls/GridTable/designer.js +40 -17
- package/dist/esm/listControls/SubTable/designer.js +8 -6
- package/dist/esm/listControls/SubTable/property.js +33 -17
- package/dist/esm/searchControls/SimpleSearch/designer.js +3 -0
- package/dist/esm/searchControls/SimpleSearch/property.js +16 -3
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +3 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +2 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +2 -1
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +1 -0
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/Button/designer.d.ts +1 -0
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/ExportListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/FormSelectButton/property.d.ts +0 -1
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +1 -0
- package/dist/types/{formControls → baseControls}/Link/designer.d.ts +2 -2
- package/dist/types/{formControls → baseControls}/Link/property.d.ts +2 -2
- package/dist/types/baseControls/ListSelectButton/property.d.ts +1 -0
- package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -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/SubmissionRecordListButton/designer.d.ts +1 -0
- package/dist/types/baseControls/index.d.ts +2 -0
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/CustomColumn/designer.d.ts +2 -1
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/DecimalColumn/property.d.ts +2 -2
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/FileColumn/property.d.ts +1 -0
- package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/VarcharColumn/property.d.ts +7 -1
- package/dist/types/formControls/Amount/property.d.ts +6 -0
- package/dist/types/formControls/Attachment/designer.d.ts +0 -1
- package/dist/types/formControls/Attachment/property.d.ts +1 -10
- package/dist/types/formControls/Calc/property.d.ts +6 -0
- package/dist/types/formControls/Employee2/designer.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Image/designer.d.ts +0 -2
- package/dist/types/formControls/Image/property.d.ts +0 -5
- package/dist/types/formControls/Number/property.d.ts +2 -2
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/dist/types/formControls/SelectRelation/designer.d.ts +1 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +3 -1
- package/dist/types/formControls/Textarea/property.d.ts +4 -16
- package/dist/types/formControls/VueFormItem/designer.d.ts +1 -0
- package/dist/types/formControls/VuePage/designer.d.ts +15 -0
- package/dist/types/formControls/VuePage/index.d.ts +12 -0
- package/dist/types/formControls/VuePage/property.d.ts +18 -0
- package/dist/types/formControls/VuePage/runtime.d.ts +12 -0
- package/dist/types/formControls/VuePage/types.d.ts +0 -0
- package/dist/types/formControls/index.d.ts +1 -2
- package/dist/types/framework.d.ts +75 -1
- package/dist/types/layoutControls/ActionBar/designer.d.ts +3 -0
- package/dist/types/layoutControls/CardGroup/property.d.ts +1 -0
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +1 -1
- package/dist/types/layoutControls/ListView/designer.d.ts +3 -0
- package/dist/types/layoutControls/ListView/property.d.ts +2 -9
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
- package/dist/types/listControls/GridTable/designer.d.ts +8 -0
- package/dist/types/listControls/GridTable/property.d.ts +1 -1
- package/dist/types/listControls/SubTable/designer.d.ts +3 -0
- package/dist/types/listControls/SubTable/property.d.ts +19 -0
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +3 -0
- package/dist/types/searchControls/SimpleSearch/property.d.ts +13 -1
- package/dist/types/type.d.ts +5 -4
- package/package.json +5 -5
- package/dist/esm/formControls/SensitivenInformation/property.js +0 -206
- package/dist/types/formControls/SensitivenInformation/designer.d.ts +0 -15
- package/dist/types/formControls/SensitivenInformation/property.d.ts +0 -57
- package/dist/types/formControls/SensitivenInformation/runtime.d.ts +0 -12
- /package/dist/esm/{formControls → baseControls}/Link/index.js +0 -0
- /package/dist/esm/{formControls → baseControls}/Link/runtime.js +0 -0
- /package/dist/esm/{formControls → baseControls}/Link/types.js +0 -0
- /package/dist/esm/{formControls/SensitivenInformation → baseControls/ReferenceList}/index.js +0 -0
- /package/dist/esm/{formControls/SensitivenInformation → baseControls/ReferenceList}/types.js +0 -0
- /package/dist/{types/formControls/Link/types.d.ts → esm/formControls/VuePage/types.js} +0 -0
- /package/dist/types/{formControls → baseControls}/Link/index.d.ts +0 -0
- /package/dist/types/{formControls → baseControls}/Link/runtime.d.ts +0 -0
- /package/dist/types/{formControls/SensitivenInformation → baseControls/Link}/types.d.ts +0 -0
- /package/dist/types/{formControls/SensitivenInformation → baseControls/ReferenceList}/index.d.ts +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { default as Text } from './baseControls/Text/property';
|
|
2
|
-
export { default as Link } from './
|
|
2
|
+
export { default as Link } from './baseControls/Link/property';
|
|
3
3
|
export { default as Button } from './baseControls/Button/property';
|
|
4
4
|
export { default as Divider } from './baseControls/Divider/property';
|
|
5
5
|
export { default as Title } from './baseControls/Title/property';
|
|
@@ -86,4 +86,5 @@ export { default as Position } from './layoutControls/Position/property';
|
|
|
86
86
|
export { default as SubTable } from './listControls/SubTable/property';
|
|
87
87
|
export { default as GridTable } from './listControls/GridTable/property';
|
|
88
88
|
export { default as SimpleSearch } from './searchControls/SimpleSearch/property';
|
|
89
|
+
export { default as VuePage } from './formControls/VuePage/property';
|
|
89
90
|
export * from './framework';
|
|
@@ -86,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(BatchDeleteButtonControl, DesignerControl);
|
|
@@ -102,7 +103,7 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '批量删除';
|
|
106
|
+
return getLocaleText('CMD.batchDeleteButton', null, '批量删除');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
120
121
|
]);
|
|
121
122
|
return BatchDeleteButtonControl;
|
|
122
123
|
}(DesignerControl);
|
|
124
|
+
_define_property(BatchDeleteButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(BatchDeleteButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click'
|
|
125
129
|
]);
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(BatchPrintListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '批量打印';
|
|
106
|
+
return getLocaleText('CMD.batchPrintListButton', null, '批量打印');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
120
121
|
]);
|
|
121
122
|
return BatchPrintListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(BatchPrintListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(BatchPrintListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click',
|
|
125
129
|
'on_click_finish'
|
|
@@ -74,7 +74,7 @@ import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
|
74
74
|
import { ButtonProperty } from '../Button';
|
|
75
75
|
import BatchPrintListButtonControl from './designer';
|
|
76
76
|
import { PrintTemplate } from '../../framework';
|
|
77
|
-
import {
|
|
77
|
+
import { 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,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchPrintRecordListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(BatchPrintRecordListButton, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '批量打印记录';
|
|
106
|
+
return getLocaleText('CMD.batchPrintRecordList', null, '批量打印记录');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
120
121
|
]);
|
|
121
122
|
return BatchPrintRecordListButton;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(BatchPrintRecordListButton, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(BatchPrintRecordListButton, "controlEventKeys", [
|
|
124
128
|
'on_click'
|
|
125
129
|
]);
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import BatchSubmissionListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(BatchSubmissionListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '批量提交';
|
|
106
|
+
return getLocaleText('CMD.batchSubmissionListButton', null, '批量提交');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
120
121
|
]);
|
|
121
122
|
return BatchSubmissionListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(BatchSubmissionListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(BatchSubmissionListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click',
|
|
125
129
|
'on_click_finish'
|
|
@@ -73,7 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import BatchSubmissionListButtonControl from './designer';
|
|
75
75
|
import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
76
|
-
import {
|
|
76
|
+
import { 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,6 +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 } from '@byteluck-fe/model-driven-shared';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
91
|
var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
90
92
|
"use strict";
|
|
91
93
|
_inherits(ButtonControl, DesignerControl);
|
|
@@ -102,7 +104,7 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
102
104
|
{
|
|
103
105
|
key: "controlName",
|
|
104
106
|
get: function get() {
|
|
105
|
-
return '按钮';
|
|
107
|
+
return getLocaleText('CMD.button', null, '按钮');
|
|
106
108
|
}
|
|
107
109
|
},
|
|
108
110
|
{
|
|
@@ -120,6 +122,11 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
120
122
|
]);
|
|
121
123
|
return ButtonControl;
|
|
122
124
|
}(DesignerControl);
|
|
125
|
+
_define_property(ButtonControl, "slots", [
|
|
126
|
+
'grid-table-toolbar-slot',
|
|
127
|
+
'action-bar-slot',
|
|
128
|
+
DESIGNER_SLOT.DEFAULT
|
|
129
|
+
]);
|
|
123
130
|
//普通按钮去掉执行完成时事件
|
|
124
131
|
_define_property(ButtonControl, "controlEventKeys", [
|
|
125
132
|
'on_click'
|
|
@@ -129,6 +136,10 @@ _define_property(ButtonControl, "setting", [
|
|
|
129
136
|
key: 'button-content',
|
|
130
137
|
visible: true
|
|
131
138
|
},
|
|
139
|
+
{
|
|
140
|
+
key: 'button-opt-type',
|
|
141
|
+
visible: true
|
|
142
|
+
},
|
|
132
143
|
{
|
|
133
144
|
key: 'button-type',
|
|
134
145
|
visible: true
|
|
@@ -70,6 +70,7 @@ 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
75
|
var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
75
76
|
"use strict";
|
|
@@ -114,7 +115,7 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
114
115
|
* @defaultValue ''
|
|
115
116
|
*/ _define_property(_this, "optObj", void 0);
|
|
116
117
|
var _props_content;
|
|
117
|
-
_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, '按钮');
|
|
118
119
|
var _props_buttonType;
|
|
119
120
|
_this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
|
|
120
121
|
var _props_showType;
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import CreateFormListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(CreateFormListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '创建单据';
|
|
106
|
+
return getLocaleText('CMD.createFormListButton', null, '创建单据');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
120
121
|
]);
|
|
121
122
|
return CreateFormListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(CreateFormListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(CreateFormListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click',
|
|
125
129
|
'on_click_finish'
|
|
@@ -73,7 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import { ButtonProperty } from '../Button';
|
|
74
74
|
import CreateFormListButtonControl from './designer';
|
|
75
75
|
import { PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
76
|
-
import {
|
|
76
|
+
import { 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,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(DashboardControl, DesignerControl);
|
|
@@ -102,7 +103,7 @@ var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '仪表盘';
|
|
106
|
+
return getLocaleText('CMD.dashboard', null, '仪表盘');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
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,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(DividerControl, DesignerControl);
|
|
@@ -102,7 +103,7 @@ var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '分割线';
|
|
106
|
+
return getLocaleText('CMD.divider', null, '分割线');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(ExportListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '导出';
|
|
106
|
+
return getLocaleText('CMD.exportListButton', null, '导出');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
120
121
|
]);
|
|
121
122
|
return ExportListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(ExportListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(ExportListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click',
|
|
125
129
|
'on_click_finish'
|
|
@@ -73,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
77
|
var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
77
78
|
"use strict";
|
|
78
79
|
_inherits(ExportListButtonProperty, ButtonProperty);
|
|
@@ -95,7 +96,7 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
95
96
|
})) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
|
|
96
97
|
new ExportTemplate({
|
|
97
98
|
id: 'default',
|
|
98
|
-
name: '
|
|
99
|
+
name: getLocaleText('CMD.defaultTemplate', null, '默认模版'),
|
|
99
100
|
appId: 'default',
|
|
100
101
|
dataCode: 'default',
|
|
101
102
|
svcCode: 'default',
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ExportRecordListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(ExportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '导出记录';
|
|
106
|
+
return getLocaleText('CMD.exportRecordListButton', null, '导出记录');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
120
121
|
]);
|
|
121
122
|
return ExportRecordListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(ExportRecordListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(ExportRecordListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click'
|
|
125
129
|
]);
|
|
@@ -87,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
91
|
var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
92
|
"use strict";
|
|
92
93
|
_inherits(FormSelectButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +104,7 @@ var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return '表单操作';
|
|
107
|
+
return getLocaleText('CMD.formSelectButton', null, '表单操作');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
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;
|
|
@@ -140,7 +140,7 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _call_super(this, FormSelectButtonProperty, [
|
|
142
142
|
props
|
|
143
|
-
]), _define_property(_this, "fillPayload", void 0), _define_property(_this, "formBind", void 0), _define_property(_this, "fillBack", void 0), _define_property(_this, "command", void 0)
|
|
143
|
+
]), _define_property(_this, "fillPayload", void 0), _define_property(_this, "formBind", void 0), _define_property(_this, "fillBack", void 0), _define_property(_this, "command", void 0);
|
|
144
144
|
var _props_content;
|
|
145
145
|
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
|
|
146
146
|
var _props_icon;
|
|
@@ -150,8 +150,6 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
150
150
|
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
151
151
|
_this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
152
152
|
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
153
|
-
var _props_pageDisplay;
|
|
154
|
-
_this.pageDisplay = (_props_pageDisplay = props === null || props === void 0 ? void 0 : props.pageDisplay) !== null && _props_pageDisplay !== void 0 ? _props_pageDisplay : false;
|
|
155
153
|
return _this;
|
|
156
154
|
}
|
|
157
155
|
return FormSelectButtonProperty;
|
|
@@ -86,6 +86,7 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerButtonControl } from '../Button';
|
|
88
88
|
import ImportRecordListButtonProperty from './property';
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
89
90
|
var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
90
91
|
"use strict";
|
|
91
92
|
_inherits(ImportRecordListButtonControl, DesignerButtonControl);
|
|
@@ -102,7 +103,7 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '导入';
|
|
106
|
+
return getLocaleText('CMD.importRecordListButton', null, '导入');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -120,6 +121,9 @@ var ImportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
120
121
|
]);
|
|
121
122
|
return ImportRecordListButtonControl;
|
|
122
123
|
}(DesignerButtonControl);
|
|
124
|
+
_define_property(ImportRecordListButtonControl, "slots", [
|
|
125
|
+
'grid-table-toolbar-slot'
|
|
126
|
+
]);
|
|
123
127
|
_define_property(ImportRecordListButtonControl, "controlEventKeys", [
|
|
124
128
|
'on_click',
|
|
125
129
|
'on_click_finish'
|
|
@@ -87,6 +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 { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
91
|
var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
91
92
|
"use strict";
|
|
92
93
|
_inherits(InvoiceCheckButtonControl, DesignerButtonControl);
|
|
@@ -103,7 +104,7 @@ var InvoiceCheckButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return '发票识别';
|
|
107
|
+
return getLocaleText('CMD.invoiceCheckButton', null, '发票识别');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
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;
|
|
@@ -84,11 +84,12 @@ function _is_native_reflect_construct() {
|
|
|
84
84
|
return !!result;
|
|
85
85
|
})();
|
|
86
86
|
}
|
|
87
|
-
import {
|
|
87
|
+
import { DesignerControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import { LinkProperty } from './property';
|
|
89
|
-
|
|
89
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
|
+
var LinkControl = /*#__PURE__*/ function(DesignerControl) {
|
|
90
91
|
"use strict";
|
|
91
|
-
_inherits(LinkControl,
|
|
92
|
+
_inherits(LinkControl, DesignerControl);
|
|
92
93
|
function LinkControl(props) {
|
|
93
94
|
_class_call_check(this, LinkControl);
|
|
94
95
|
var _this;
|
|
@@ -102,7 +103,7 @@ var LinkControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
102
103
|
{
|
|
103
104
|
key: "controlName",
|
|
104
105
|
get: function get() {
|
|
105
|
-
return '链接';
|
|
106
|
+
return getLocaleText('CMD.link', null, '链接');
|
|
106
107
|
}
|
|
107
108
|
},
|
|
108
109
|
{
|
|
@@ -119,44 +120,19 @@ var LinkControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
119
120
|
}
|
|
120
121
|
]);
|
|
121
122
|
return LinkControl;
|
|
122
|
-
}(
|
|
123
|
+
}(DesignerControl);
|
|
123
124
|
_define_property(LinkControl, "controlEventKeys", [
|
|
124
125
|
'on_click'
|
|
125
126
|
]);
|
|
126
127
|
_define_property(LinkControl, "setting", [
|
|
127
|
-
{
|
|
128
|
-
key: 'data-bind',
|
|
129
|
-
visible: true
|
|
130
|
-
},
|
|
131
128
|
{
|
|
132
129
|
key: 'content',
|
|
133
130
|
visible: true
|
|
134
131
|
},
|
|
135
|
-
{
|
|
136
|
-
key: 'caption',
|
|
137
|
-
showItems: [
|
|
138
|
-
COMMON_SETTING_TYPE.CAPTION,
|
|
139
|
-
COMMON_SETTING_TYPE.IS_HIDE_CAPTION
|
|
140
|
-
],
|
|
141
|
-
visible: true
|
|
142
|
-
},
|
|
143
|
-
{
|
|
144
|
-
key: 'caption-style',
|
|
145
|
-
showItems: [
|
|
146
|
-
COMMON_SETTING_TYPE.CAPTION_SIZE,
|
|
147
|
-
COMMON_SETTING_TYPE.CAPTION_COLOR,
|
|
148
|
-
COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
|
|
149
|
-
],
|
|
150
|
-
visible: true
|
|
151
|
-
},
|
|
152
132
|
{
|
|
153
133
|
key: 'link-url',
|
|
154
134
|
visible: true
|
|
155
135
|
},
|
|
156
|
-
{
|
|
157
|
-
key: 'default-state',
|
|
158
|
-
visible: true
|
|
159
|
-
},
|
|
160
136
|
{
|
|
161
137
|
key: 'common-setting',
|
|
162
138
|
visible: true,
|