@byteluck-fe/model-driven-controls 4.38.0-lx0 → 6.1.0-1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/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 +6 -1
- package/dist/esm/baseControls/Text/property.js +9 -2
- 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 +16 -50
- package/dist/esm/formControls/Attachment/property.js +22 -17
- 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 +10 -10
- package/dist/esm/formControls/Checkbox/property.js +15 -9
- 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 +12 -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 +6 -10
- package/dist/esm/formControls/Input/property.js +18 -12
- 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 +10 -10
- package/dist/esm/formControls/Radio/property.js +14 -7
- package/dist/esm/formControls/RichText/designer.js +10 -10
- package/dist/esm/formControls/RichText/property.js +45 -11
- 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 +10 -10
- package/dist/esm/formControls/Select/property.js +16 -10
- package/dist/esm/formControls/SelectMultiple/designer.js +10 -10
- package/dist/esm/formControls/SelectMultiple/property.js +16 -10
- package/dist/esm/formControls/SelectRelation/designer.js +52 -12
- package/dist/esm/formControls/SelectRelation/property.js +18 -7
- package/dist/esm/formControls/Textarea/designer.js +12 -11
- package/dist/esm/formControls/Textarea/property.js +67 -24
- 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/Text/property.d.ts +6 -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 +4 -10
- package/dist/types/formControls/Calc/property.d.ts +6 -0
- package/dist/types/formControls/Checkbox/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/Input/property.d.ts +6 -0
- package/dist/types/formControls/Number/property.d.ts +2 -2
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/dist/types/formControls/Radio/property.d.ts +6 -0
- package/dist/types/formControls/RichText/property.d.ts +19 -1
- package/dist/types/formControls/Select/property.d.ts +6 -0
- package/dist/types/formControls/SelectMultiple/property.d.ts +6 -0
- package/dist/types/formControls/SelectRelation/designer.d.ts +1 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +9 -1
- package/dist/types/formControls/Textarea/property.d.ts +15 -9
- 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
|
@@ -72,7 +72,7 @@ function _is_native_reflect_construct() {
|
|
|
72
72
|
}
|
|
73
73
|
import TreeControl from './designer';
|
|
74
74
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, TreeDataSourceBind, initSuperDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
75
|
-
import {
|
|
75
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
76
|
var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
77
77
|
"use strict";
|
|
78
78
|
_inherits(TreePropertyRules, BaseControlPropertyRules);
|
|
@@ -84,7 +84,7 @@ var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
84
84
|
]), _define_property(_this, "datasourceBind", [
|
|
85
85
|
{
|
|
86
86
|
type: 'object',
|
|
87
|
-
message:
|
|
87
|
+
message: getLocaleText('CMD.isNotObject', null, '请输入一个对象')
|
|
88
88
|
}
|
|
89
89
|
]);
|
|
90
90
|
initSuperDataSourceRules.call(_this, props, TreeControl.controlCustomAttributes, true);
|
|
@@ -93,7 +93,7 @@ var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
93
93
|
{
|
|
94
94
|
type: 'object',
|
|
95
95
|
required: true,
|
|
96
|
-
message:
|
|
96
|
+
message: getLocaleText('CMD.isNotObject', null, '请输入一个对象')
|
|
97
97
|
},
|
|
98
98
|
{
|
|
99
99
|
type: 'object',
|
|
@@ -112,7 +112,7 @@ var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
112
112
|
type: 'array',
|
|
113
113
|
required: true,
|
|
114
114
|
min: 1,
|
|
115
|
-
message:
|
|
115
|
+
message: getLocaleText('CMD.rootNodeIsRequired', null, '请选择根节点')
|
|
116
116
|
}
|
|
117
117
|
}
|
|
118
118
|
}
|
|
@@ -157,7 +157,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
157
157
|
var _props_caption;
|
|
158
158
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TreeControl.controlName;
|
|
159
159
|
var _props_placeholder;
|
|
160
|
-
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : '请选择';
|
|
160
|
+
_this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
|
|
161
161
|
var _props_multiple;
|
|
162
162
|
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
163
163
|
var _props_canSearch;
|
|
@@ -86,7 +86,8 @@ function _is_native_reflect_construct() {
|
|
|
86
86
|
}
|
|
87
87
|
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
88
88
|
import VueFormItemProperty from './property';
|
|
89
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
|
+
import { DESIGNER_SLOT, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
90
91
|
var VueFormItemControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
91
92
|
"use strict";
|
|
92
93
|
_inherits(VueFormItemControl, DesignerFormControl);
|
|
@@ -103,7 +104,7 @@ var VueFormItemControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
103
104
|
{
|
|
104
105
|
key: "controlName",
|
|
105
106
|
get: function get() {
|
|
106
|
-
return 'Vue容器';
|
|
107
|
+
return getLocaleText('CMD.vueFormItem', null, 'Vue容器');
|
|
107
108
|
}
|
|
108
109
|
},
|
|
109
110
|
{
|
|
@@ -123,6 +124,10 @@ var VueFormItemControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
123
124
|
}(DesignerFormControl);
|
|
124
125
|
_define_property(VueFormItemControl, "controlFieldType", FieldTypes.ANY);
|
|
125
126
|
_define_property(VueFormItemControl, "controlEventKeys", []);
|
|
127
|
+
_define_property(VueFormItemControl, "slots", [
|
|
128
|
+
'grid-table-toolbar-slot',
|
|
129
|
+
DESIGNER_SLOT.DEFAULT
|
|
130
|
+
]);
|
|
126
131
|
_define_property(VueFormItemControl, "setting", [
|
|
127
132
|
{
|
|
128
133
|
key: 'data-bind-vue',
|
|
@@ -136,15 +141,6 @@ _define_property(VueFormItemControl, "setting", [
|
|
|
136
141
|
],
|
|
137
142
|
visible: true
|
|
138
143
|
},
|
|
139
|
-
{
|
|
140
|
-
key: 'caption-style',
|
|
141
|
-
showItems: [
|
|
142
|
-
COMMON_SETTING_TYPE.CAPTION_SIZE,
|
|
143
|
-
COMMON_SETTING_TYPE.CAPTION_COLOR,
|
|
144
|
-
COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
|
|
145
|
-
],
|
|
146
|
-
visible: true
|
|
147
|
-
},
|
|
148
144
|
{
|
|
149
145
|
key: 'label-position',
|
|
150
146
|
visible: true
|
|
@@ -0,0 +1,129 @@
|
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) {
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _defineProperties(target, props) {
|
|
17
|
+
for(var i = 0; i < props.length; i++){
|
|
18
|
+
var descriptor = props[i];
|
|
19
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
20
|
+
descriptor.configurable = true;
|
|
21
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
22
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
function _create_class(Constructor, protoProps, staticProps) {
|
|
26
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
27
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
28
|
+
return Constructor;
|
|
29
|
+
}
|
|
30
|
+
function _define_property(obj, key, value) {
|
|
31
|
+
if (key in obj) {
|
|
32
|
+
Object.defineProperty(obj, key, {
|
|
33
|
+
value: value,
|
|
34
|
+
enumerable: true,
|
|
35
|
+
configurable: true,
|
|
36
|
+
writable: true
|
|
37
|
+
});
|
|
38
|
+
} else {
|
|
39
|
+
obj[key] = value;
|
|
40
|
+
}
|
|
41
|
+
return obj;
|
|
42
|
+
}
|
|
43
|
+
function _get_prototype_of(o) {
|
|
44
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
45
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
46
|
+
};
|
|
47
|
+
return _get_prototype_of(o);
|
|
48
|
+
}
|
|
49
|
+
function _inherits(subClass, superClass) {
|
|
50
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
51
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
52
|
+
}
|
|
53
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
54
|
+
constructor: {
|
|
55
|
+
value: subClass,
|
|
56
|
+
writable: true,
|
|
57
|
+
configurable: true
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
61
|
+
}
|
|
62
|
+
function _possible_constructor_return(self, call) {
|
|
63
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
64
|
+
return call;
|
|
65
|
+
}
|
|
66
|
+
return _assert_this_initialized(self);
|
|
67
|
+
}
|
|
68
|
+
function _set_prototype_of(o, p) {
|
|
69
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
70
|
+
o.__proto__ = p;
|
|
71
|
+
return o;
|
|
72
|
+
};
|
|
73
|
+
return _set_prototype_of(o, p);
|
|
74
|
+
}
|
|
75
|
+
function _type_of(obj) {
|
|
76
|
+
"@swc/helpers - typeof";
|
|
77
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
78
|
+
}
|
|
79
|
+
function _is_native_reflect_construct() {
|
|
80
|
+
try {
|
|
81
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
82
|
+
} catch (_) {}
|
|
83
|
+
return (_is_native_reflect_construct = function() {
|
|
84
|
+
return !!result;
|
|
85
|
+
})();
|
|
86
|
+
}
|
|
87
|
+
import { DesignerFormControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
+
import VuePageProperty from './property';
|
|
89
|
+
import { FieldTypes, CONTROL_TYPE } from '@byteluck-fe/model-driven-shared';
|
|
90
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
91
|
+
var VuePageControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
92
|
+
"use strict";
|
|
93
|
+
_inherits(VuePageControl, DesignerFormControl);
|
|
94
|
+
function VuePageControl(props) {
|
|
95
|
+
_class_call_check(this, VuePageControl);
|
|
96
|
+
var _this;
|
|
97
|
+
_this = _call_super(this, VuePageControl, [
|
|
98
|
+
props
|
|
99
|
+
]), _define_property(_this, "props", void 0);
|
|
100
|
+
_this.props = new VuePageProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
101
|
+
return _this;
|
|
102
|
+
}
|
|
103
|
+
_create_class(VuePageControl, null, [
|
|
104
|
+
{
|
|
105
|
+
key: "controlName",
|
|
106
|
+
get: function get() {
|
|
107
|
+
return getLocaleText('CMD.vuePage', null, 'Vue页面');
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
key: "controlIcon",
|
|
112
|
+
get: function get() {
|
|
113
|
+
return 'iconvuerongqi';
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
key: "controlType",
|
|
118
|
+
get: function get() {
|
|
119
|
+
return CONTROL_TYPE.VUE_PAGE;
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
]);
|
|
123
|
+
return VuePageControl;
|
|
124
|
+
}(DesignerFormControl);
|
|
125
|
+
_define_property(VuePageControl, "controlFieldType", FieldTypes.ANY);
|
|
126
|
+
_define_property(VuePageControl, "controlEventKeys", []);
|
|
127
|
+
_define_property(VuePageControl, "setting", []);
|
|
128
|
+
export default VuePageControl;
|
|
129
|
+
export { VuePageControl as DesignerVuePageControl };
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import Designer from './designer';
|
|
2
|
+
import Runtime from './runtime';
|
|
3
|
+
import Property from './property';
|
|
4
|
+
export default {
|
|
5
|
+
Designer: Designer,
|
|
6
|
+
Runtime: Runtime,
|
|
7
|
+
Property: Property
|
|
8
|
+
};
|
|
9
|
+
export * from './designer';
|
|
10
|
+
export * from './runtime';
|
|
11
|
+
export * from './property';
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
function _assert_this_initialized(self) {
|
|
2
|
+
if (self === void 0) {
|
|
3
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
|
+
}
|
|
5
|
+
return self;
|
|
6
|
+
}
|
|
7
|
+
function _call_super(_this, derived, args) {
|
|
8
|
+
derived = _get_prototype_of(derived);
|
|
9
|
+
return _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
|
|
10
|
+
}
|
|
11
|
+
function _class_call_check(instance, Constructor) {
|
|
12
|
+
if (!(instance instanceof Constructor)) {
|
|
13
|
+
throw new TypeError("Cannot call a class as a function");
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
function _define_property(obj, key, value) {
|
|
17
|
+
if (key in obj) {
|
|
18
|
+
Object.defineProperty(obj, key, {
|
|
19
|
+
value: value,
|
|
20
|
+
enumerable: true,
|
|
21
|
+
configurable: true,
|
|
22
|
+
writable: true
|
|
23
|
+
});
|
|
24
|
+
} else {
|
|
25
|
+
obj[key] = value;
|
|
26
|
+
}
|
|
27
|
+
return obj;
|
|
28
|
+
}
|
|
29
|
+
function _get_prototype_of(o) {
|
|
30
|
+
_get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
|
|
31
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
32
|
+
};
|
|
33
|
+
return _get_prototype_of(o);
|
|
34
|
+
}
|
|
35
|
+
function _inherits(subClass, superClass) {
|
|
36
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
37
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
38
|
+
}
|
|
39
|
+
subClass.prototype = Object.create(superClass && superClass.prototype, {
|
|
40
|
+
constructor: {
|
|
41
|
+
value: subClass,
|
|
42
|
+
writable: true,
|
|
43
|
+
configurable: true
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
if (superClass) _set_prototype_of(subClass, superClass);
|
|
47
|
+
}
|
|
48
|
+
function _possible_constructor_return(self, call) {
|
|
49
|
+
if (call && (_type_of(call) === "object" || typeof call === "function")) {
|
|
50
|
+
return call;
|
|
51
|
+
}
|
|
52
|
+
return _assert_this_initialized(self);
|
|
53
|
+
}
|
|
54
|
+
function _set_prototype_of(o, p) {
|
|
55
|
+
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
56
|
+
o.__proto__ = p;
|
|
57
|
+
return o;
|
|
58
|
+
};
|
|
59
|
+
return _set_prototype_of(o, p);
|
|
60
|
+
}
|
|
61
|
+
function _type_of(obj) {
|
|
62
|
+
"@swc/helpers - typeof";
|
|
63
|
+
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
64
|
+
}
|
|
65
|
+
function _is_native_reflect_construct() {
|
|
66
|
+
try {
|
|
67
|
+
var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
68
|
+
} catch (_) {}
|
|
69
|
+
return (_is_native_reflect_construct = function() {
|
|
70
|
+
return !!result;
|
|
71
|
+
})();
|
|
72
|
+
}
|
|
73
|
+
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
74
|
+
import VuePageControl from './designer';
|
|
75
|
+
var VuePagePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
76
|
+
"use strict";
|
|
77
|
+
_inherits(VuePagePropertyRules, BaseControlPropertyRules);
|
|
78
|
+
function VuePagePropertyRules(props) {
|
|
79
|
+
_class_call_check(this, VuePagePropertyRules);
|
|
80
|
+
var _this;
|
|
81
|
+
_this = _call_super(this, VuePagePropertyRules, [
|
|
82
|
+
props
|
|
83
|
+
]);
|
|
84
|
+
_this.dataBind = {
|
|
85
|
+
type: 'any'
|
|
86
|
+
};
|
|
87
|
+
return _this;
|
|
88
|
+
}
|
|
89
|
+
return VuePagePropertyRules;
|
|
90
|
+
}(BaseControlPropertyRules);
|
|
91
|
+
var VuePagePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRuntimeRules) {
|
|
92
|
+
"use strict";
|
|
93
|
+
_inherits(VuePagePropertyRuntimeRules, BaseControlPropertyRuntimeRules);
|
|
94
|
+
function VuePagePropertyRuntimeRules(props) {
|
|
95
|
+
_class_call_check(this, VuePagePropertyRuntimeRules);
|
|
96
|
+
var _this;
|
|
97
|
+
_this = _call_super(this, VuePagePropertyRuntimeRules, [
|
|
98
|
+
props
|
|
99
|
+
]);
|
|
100
|
+
if (_this[0] !== undefined) {
|
|
101
|
+
_this[0].type = 'any';
|
|
102
|
+
}
|
|
103
|
+
return _this;
|
|
104
|
+
}
|
|
105
|
+
return VuePagePropertyRuntimeRules;
|
|
106
|
+
}(BaseControlPropertyRuntimeRules);
|
|
107
|
+
var VuePageProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
108
|
+
"use strict";
|
|
109
|
+
_inherits(VuePageProperty, BaseControlProperty);
|
|
110
|
+
function VuePageProperty(props) {
|
|
111
|
+
_class_call_check(this, VuePageProperty);
|
|
112
|
+
var _this;
|
|
113
|
+
_this = _call_super(this, VuePageProperty, [
|
|
114
|
+
props
|
|
115
|
+
]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
|
|
116
|
+
var _props_caption;
|
|
117
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VuePageControl.controlName;
|
|
118
|
+
var _props_defaultValue;
|
|
119
|
+
_this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
|
|
120
|
+
var _props_controlExportName;
|
|
121
|
+
_this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
|
|
122
|
+
var _props_permissions;
|
|
123
|
+
_this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
|
|
124
|
+
var _props_isInlineEdit;
|
|
125
|
+
_this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
|
|
126
|
+
return _this;
|
|
127
|
+
}
|
|
128
|
+
return VuePageProperty;
|
|
129
|
+
}(BaseControlProperty);
|
|
130
|
+
_define_property(VuePageProperty, "Rules", VuePagePropertyRules);
|
|
131
|
+
_define_property(VuePageProperty, "RuntimeRules", VuePagePropertyRuntimeRules);
|
|
132
|
+
export default VuePageProperty;
|
|
133
|
+
export { VuePageProperty, VuePagePropertyRules, VuePagePropertyRuntimeRules };
|
|
@@ -85,30 +85,30 @@ function _is_native_reflect_construct() {
|
|
|
85
85
|
})();
|
|
86
86
|
}
|
|
87
87
|
import { RuntimeFormControl } from '@byteluck-fe/model-driven-core';
|
|
88
|
-
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
|
-
import
|
|
90
|
-
var
|
|
88
|
+
import { CONTROL_TYPE, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
89
|
+
import VuePageProperty from './property';
|
|
90
|
+
var VuePageControl = /*#__PURE__*/ function(RuntimeFormControl) {
|
|
91
91
|
"use strict";
|
|
92
|
-
_inherits(
|
|
93
|
-
function
|
|
94
|
-
_class_call_check(this,
|
|
92
|
+
_inherits(VuePageControl, RuntimeFormControl);
|
|
93
|
+
function VuePageControl(props) {
|
|
94
|
+
_class_call_check(this, VuePageControl);
|
|
95
95
|
var _this;
|
|
96
|
-
_this = _call_super(this,
|
|
96
|
+
_this = _call_super(this, VuePageControl, [
|
|
97
97
|
props
|
|
98
98
|
]), _define_property(_this, "props", void 0);
|
|
99
|
-
_this.props = new
|
|
99
|
+
_this.props = new VuePageProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
100
100
|
return _this;
|
|
101
101
|
}
|
|
102
|
-
_create_class(
|
|
102
|
+
_create_class(VuePageControl, null, [
|
|
103
103
|
{
|
|
104
104
|
key: "controlType",
|
|
105
105
|
get: function get() {
|
|
106
|
-
return
|
|
106
|
+
return CONTROL_TYPE.VUE_PAGE;
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
109
|
]);
|
|
110
|
-
return
|
|
110
|
+
return VuePageControl;
|
|
111
111
|
}(RuntimeFormControl);
|
|
112
|
-
_define_property(
|
|
113
|
-
export default
|
|
114
|
-
export {
|
|
112
|
+
_define_property(VuePageControl, "controlFieldType", FieldTypes.ANY);
|
|
113
|
+
export default VuePageControl;
|
|
114
|
+
export { VuePageControl as RuntimeVuePageControl };
|
|
@@ -94,6 +94,7 @@ function _is_native_reflect_construct() {
|
|
|
94
94
|
import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
|
|
95
95
|
import { FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
96
96
|
import WPSProperty from './property';
|
|
97
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
97
98
|
var WPSControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
98
99
|
"use strict";
|
|
99
100
|
_inherits(WPSControl, DesignerFormControl);
|
|
@@ -110,7 +111,7 @@ var WPSControl = /*#__PURE__*/ function(DesignerFormControl) {
|
|
|
110
111
|
{
|
|
111
112
|
key: "controlName",
|
|
112
113
|
get: function get() {
|
|
113
|
-
return '在线文档';
|
|
114
|
+
return getLocaleText('CMD.WPS', null, '在线文档');
|
|
114
115
|
}
|
|
115
116
|
},
|
|
116
117
|
{
|
|
@@ -146,15 +147,6 @@ _define_property(WPSControl, "setting", [
|
|
|
146
147
|
],
|
|
147
148
|
visible: true
|
|
148
149
|
},
|
|
149
|
-
{
|
|
150
|
-
key: 'caption-style',
|
|
151
|
-
showItems: [
|
|
152
|
-
COMMON_SETTING_TYPE.CAPTION_SIZE,
|
|
153
|
-
COMMON_SETTING_TYPE.CAPTION_COLOR,
|
|
154
|
-
COMMON_SETTING_TYPE.IS_CAPTION_ITALIC
|
|
155
|
-
],
|
|
156
|
-
visible: true
|
|
157
|
-
},
|
|
158
150
|
{
|
|
159
151
|
key: 'label-position',
|
|
160
152
|
visible: true
|
|
@@ -74,7 +74,7 @@ import WPSControl from './designer';
|
|
|
74
74
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
|
|
75
75
|
import { MB10 } from '../Attachment';
|
|
76
76
|
import { WPSSetting } from '../../framework';
|
|
77
|
-
import {
|
|
77
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
78
78
|
var WPSControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_inherits(WPSControlPropertyRules, BaseControlPropertyRules);
|
|
@@ -86,7 +86,7 @@ var WPSControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
86
86
|
]), _define_property(_this, "content", {
|
|
87
87
|
type: 'string',
|
|
88
88
|
required: true,
|
|
89
|
-
message:
|
|
89
|
+
message: getLocaleText('CMD.pleaseEnterButtonContent', null, '请输入按钮标题')
|
|
90
90
|
}), _define_property(_this, "canAdd", void 0), _define_property(_this, "wpsSetting", {
|
|
91
91
|
type: 'object',
|
|
92
92
|
fields: {
|
|
@@ -94,7 +94,7 @@ var WPSControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
94
94
|
type: 'object',
|
|
95
95
|
validator: function validator(rules, item, callback) {
|
|
96
96
|
if (item.active && !item.text) {
|
|
97
|
-
callback(
|
|
97
|
+
callback(getLocaleText('CMD.pleaseEnterWatermark', null, '水印不能为空'));
|
|
98
98
|
return;
|
|
99
99
|
}
|
|
100
100
|
callback();
|
|
@@ -104,7 +104,7 @@ var WPSControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
104
104
|
type: 'object',
|
|
105
105
|
validator: function validator(rules, item, callback) {
|
|
106
106
|
if (item.active && !item.text) {
|
|
107
|
-
callback(
|
|
107
|
+
callback(getLocaleText('CMD.pleaseEnterFileName', null, '文件名称不能为空'));
|
|
108
108
|
return;
|
|
109
109
|
}
|
|
110
110
|
callback();
|
|
@@ -116,7 +116,7 @@ var WPSControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
|
116
116
|
type: 'boolean',
|
|
117
117
|
validator: function validator(rules, value, callback) {
|
|
118
118
|
if (props.canAdd && !props.addLocal && !props.addOnline) {
|
|
119
|
-
callback(
|
|
119
|
+
callback(getLocaleText('CMD.pleaseChooseAtLeastOne', null, '请至少选择一个'));
|
|
120
120
|
return;
|
|
121
121
|
}
|
|
122
122
|
callback();
|
|
@@ -154,7 +154,7 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
154
154
|
var _props_caption;
|
|
155
155
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : WPSControl.controlName;
|
|
156
156
|
var _props_content;
|
|
157
|
-
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : '新建文档';
|
|
157
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.createWPS', null, '新建文档');
|
|
158
158
|
var _props_canAdd;
|
|
159
159
|
_this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
|
|
160
160
|
var _props_addLocal;
|
|
@@ -28,5 +28,4 @@ export { default as ElectronicSignature } from './ElectronicSignature';
|
|
|
28
28
|
export { default as WPS } from './WPS';
|
|
29
29
|
export { default as Department2 } from './Department2';
|
|
30
30
|
export { default as OrganizationSelection } from './OrganizationSelection';
|
|
31
|
-
export { default as
|
|
32
|
-
export { default as Link } from './Link';
|
|
31
|
+
export { default as VuePage } from './VuePage';
|