@byteluck-fe/model-driven-controls 2.7.0-beta → 2.7.0-beta.2
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 +1 -2
- package/dist/esm/baseControls/BatchDeleteButton/property.js +9 -10
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchPrintListButton/property.js +5 -5
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +6 -7
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Button/designer.js +1 -2
- package/dist/esm/baseControls/Button/property.js +8 -9
- package/dist/esm/baseControls/Button/runtime.js +1 -2
- package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +4 -5
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Dashboard/designer.js +1 -2
- package/dist/esm/baseControls/Dashboard/property.js +6 -7
- package/dist/esm/baseControls/Dashboard/runtime.js +1 -2
- package/dist/esm/baseControls/Divider/designer.js +1 -2
- package/dist/esm/baseControls/Divider/property.js +2 -3
- package/dist/esm/baseControls/Divider/runtime.js +1 -2
- package/dist/esm/baseControls/ExportListButton/designer.js +1 -2
- package/dist/esm/baseControls/ExportListButton/property.js +4 -4
- package/dist/esm/baseControls/ExportListButton/runtime.js +1 -2
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/ExportRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -7
- package/dist/esm/baseControls/FormSelectButton/runtime.js +1 -2
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/ImportRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +10 -10
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +1 -2
- package/dist/esm/baseControls/Link/designer.js +1 -2
- package/dist/esm/baseControls/Link/property.js +3 -4
- package/dist/esm/baseControls/Link/runtime.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +7 -8
- package/dist/esm/baseControls/ListSelectButton/runtime.js +1 -2
- package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
- package/dist/esm/baseControls/ListViewSelect/runtime.js +1 -2
- package/dist/esm/baseControls/OperationButton/designer.js +1 -2
- package/dist/esm/baseControls/OperationButton/property.js +13 -14
- package/dist/esm/baseControls/OperationButton/runtime.js +1 -2
- package/dist/esm/baseControls/Pagination/designer.js +1 -2
- package/dist/esm/baseControls/Pagination/runtime.js +1 -2
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Text/designer.js +1 -2
- package/dist/esm/baseControls/Text/property.js +5 -6
- package/dist/esm/baseControls/Text/runtime.js +1 -2
- package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
- package/dist/esm/baseControls/TextOcrButton/property.js +10 -10
- package/dist/esm/baseControls/TextOcrButton/runtime.js +1 -2
- package/dist/esm/baseControls/Title/designer.js +1 -2
- package/dist/esm/baseControls/Title/property.js +4 -5
- package/dist/esm/baseControls/Title/runtime.js +1 -2
- package/dist/esm/columnControls/ArrayColumn/designer.js +1 -2
- package/dist/esm/columnControls/ArrayColumn/property.js +4 -5
- package/dist/esm/columnControls/ArrayColumn/runtime.js +1 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -2
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +1 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +2 -3
- package/dist/esm/columnControls/CustomColumn/property.js +2 -3
- package/dist/esm/columnControls/CustomColumn/runtime.js +2 -3
- package/dist/esm/columnControls/DecimalColumn/designer.js +1 -2
- package/dist/esm/columnControls/DecimalColumn/property.js +9 -10
- package/dist/esm/columnControls/DecimalColumn/runtime.js +1 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -2
- package/dist/esm/columnControls/DepartmentColumn/property.js +2 -3
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +1 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -2
- package/dist/esm/columnControls/EmployeeColumn/property.js +2 -3
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +1 -2
- package/dist/esm/columnControls/FileColumn/designer.js +1 -2
- package/dist/esm/columnControls/FileColumn/property.js +1 -2
- package/dist/esm/columnControls/FileColumn/runtime.js +1 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +1 -2
- package/dist/esm/columnControls/ImageColumn/property.js +1 -2
- package/dist/esm/columnControls/ImageColumn/runtime.js +1 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +1 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/LocationColumn/runtime.js +1 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +2 -3
- package/dist/esm/columnControls/OperationColumn/property.js +6 -6
- package/dist/esm/columnControls/OperationColumn/runtime.js +2 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +1 -2
- package/dist/esm/columnControls/OrderColumn/property.js +7 -7
- package/dist/esm/columnControls/OrderColumn/runtime.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/property.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TextColumn/designer.js +1 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -6
- package/dist/esm/columnControls/TextColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -2
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -5
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +1 -2
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -5
- package/dist/esm/columnControls/TimestampColumn/runtime.js +1 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +1 -2
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -8
- package/dist/esm/columnControls/VarcharColumn/runtime.js +1 -2
- package/dist/esm/formControls/Address/designer.js +1 -2
- package/dist/esm/formControls/Address/property.js +5 -6
- package/dist/esm/formControls/Address/runtime.js +1 -2
- package/dist/esm/formControls/Amount/designer.js +1 -2
- package/dist/esm/formControls/Amount/property.js +13 -14
- package/dist/esm/formControls/Amount/runtime.js +1 -2
- package/dist/esm/formControls/Attachment/designer.js +1 -2
- package/dist/esm/formControls/Attachment/property.js +15 -10
- package/dist/esm/formControls/Attachment/runtime.js +1 -2
- package/dist/esm/formControls/AutoNumber/designer.js +1 -2
- package/dist/esm/formControls/AutoNumber/property.js +3 -4
- package/dist/esm/formControls/AutoNumber/runtime.js +1 -2
- package/dist/esm/formControls/Calc/designer.js +1 -2
- package/dist/esm/formControls/Calc/property.js +9 -10
- package/dist/esm/formControls/Calc/runtime.js +1 -2
- package/dist/esm/formControls/Checkbox/designer.js +1 -2
- package/dist/esm/formControls/Checkbox/property.js +16 -18
- package/dist/esm/formControls/Checkbox/runtime.js +1 -2
- package/dist/esm/formControls/DatePicker/designer.js +1 -2
- package/dist/esm/formControls/DatePicker/property.js +11 -11
- package/dist/esm/formControls/DatePicker/runtime.js +1 -2
- package/dist/esm/formControls/DateRange/designer.js +1 -2
- package/dist/esm/formControls/DateRange/property.js +13 -13
- package/dist/esm/formControls/DateRange/runtime.js +1 -2
- package/dist/esm/formControls/Department/designer.js +1 -2
- package/dist/esm/formControls/Department/property.js +13 -15
- package/dist/esm/formControls/Department/runtime.js +1 -2
- package/dist/esm/formControls/Department2/designer.js +1 -2
- package/dist/esm/formControls/Department2/property.js +17 -19
- package/dist/esm/formControls/Department2/runtime.js +1 -2
- package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
- package/dist/esm/formControls/ElectronicSignature/runtime.js +1 -2
- package/dist/esm/formControls/Employee/designer.js +1 -2
- package/dist/esm/formControls/Employee/property.js +11 -13
- package/dist/esm/formControls/Employee/runtime.js +1 -2
- package/dist/esm/formControls/Employee2/designer.js +1 -2
- package/dist/esm/formControls/Employee2/property.js +16 -18
- package/dist/esm/formControls/Employee2/runtime.js +1 -2
- package/dist/esm/formControls/Image/designer.js +4 -4
- package/dist/esm/formControls/Image/property.js +30 -2
- package/dist/esm/formControls/Image/runtime.js +4 -4
- package/dist/esm/formControls/Input/designer.js +1 -2
- package/dist/esm/formControls/Input/property.js +8 -9
- package/dist/esm/formControls/Input/runtime.js +1 -2
- package/dist/esm/formControls/Number/designer.js +1 -2
- package/dist/esm/formControls/Number/property.js +14 -15
- package/dist/esm/formControls/Number/runtime.js +1 -2
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -2
- package/dist/esm/formControls/OrganizationSelection/property.js +22 -24
- package/dist/esm/formControls/OrganizationSelection/runtime.js +1 -2
- package/dist/esm/formControls/Radio/designer.js +1 -2
- package/dist/esm/formControls/Radio/property.js +14 -16
- package/dist/esm/formControls/Radio/runtime.js +1 -2
- package/dist/esm/formControls/RichText/designer.js +1 -2
- package/dist/esm/formControls/RichText/property.js +5 -6
- package/dist/esm/formControls/RichText/runtime.js +1 -2
- package/dist/esm/formControls/Score/designer.js +1 -2
- package/dist/esm/formControls/Score/property.js +7 -7
- package/dist/esm/formControls/Score/runtime.js +1 -2
- package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
- package/dist/esm/formControls/SearchDateRange/property.js +12 -12
- package/dist/esm/formControls/SearchDateRange/runtime.js +1 -2
- package/dist/esm/formControls/SearchInput/designer.js +1 -2
- package/dist/esm/formControls/SearchInput/runtime.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/property.js +6 -7
- package/dist/esm/formControls/SearchNumberRange/runtime.js +1 -2
- package/dist/esm/formControls/Select/designer.js +1 -2
- package/dist/esm/formControls/Select/property.js +11 -13
- package/dist/esm/formControls/Select/runtime.js +1 -2
- package/dist/esm/formControls/SelectMultiple/designer.js +1 -2
- package/dist/esm/formControls/SelectMultiple/property.js +10 -12
- package/dist/esm/formControls/SelectMultiple/runtime.js +1 -2
- package/dist/esm/formControls/SelectRelation/designer.js +1 -2
- package/dist/esm/formControls/SelectRelation/property.js +14 -16
- package/dist/esm/formControls/SelectRelation/runtime.js +1 -2
- package/dist/esm/formControls/Textarea/designer.js +1 -2
- package/dist/esm/formControls/Textarea/property.js +6 -7
- package/dist/esm/formControls/Textarea/runtime.js +1 -2
- package/dist/esm/formControls/Tree/designer.js +1 -2
- package/dist/esm/formControls/Tree/property.js +19 -19
- package/dist/esm/formControls/Tree/runtime.js +1 -2
- package/dist/esm/formControls/VueFormItem/designer.js +1 -2
- package/dist/esm/formControls/VueFormItem/property.js +5 -6
- package/dist/esm/formControls/VueFormItem/runtime.js +1 -2
- package/dist/esm/formControls/WPS/designer.js +1 -2
- package/dist/esm/formControls/WPS/property.js +13 -14
- package/dist/esm/formControls/WPS/runtime.js +1 -2
- package/dist/esm/framework.js +35 -42
- package/dist/esm/layoutControls/AdvancedContainer/property.js +2 -3
- package/dist/esm/layoutControls/CardGroup/designer.js +1 -2
- package/dist/esm/layoutControls/CardGroup/property.js +2 -3
- package/dist/esm/layoutControls/CardGroup/runtime.js +1 -2
- package/dist/esm/layoutControls/Col/designer.js +1 -2
- package/dist/esm/layoutControls/Col/property.js +2 -3
- package/dist/esm/layoutControls/Col/runtime.js +1 -2
- package/dist/esm/layoutControls/DataView/designer.js +1 -2
- package/dist/esm/layoutControls/DataView/property.js +7 -8
- package/dist/esm/layoutControls/DataView/runtime.js +1 -2
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/GridTableColumn/property.js +12 -13
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +1 -2
- package/dist/esm/layoutControls/ListView/designer.js +1 -2
- package/dist/esm/layoutControls/ListView/property.js +13 -14
- package/dist/esm/layoutControls/ListView/runtime.js +1 -2
- package/dist/esm/layoutControls/Page/property.js +1 -2
- package/dist/esm/layoutControls/Position/property.js +4 -5
- package/dist/esm/layoutControls/Row/designer.js +1 -2
- package/dist/esm/layoutControls/Row/property.js +2 -3
- package/dist/esm/layoutControls/Row/runtime.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -7
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +1 -2
- package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableRow/runtime.js +1 -2
- package/dist/esm/layoutControls/Tab/designer.js +2 -3
- package/dist/esm/layoutControls/Tab/property.js +1 -2
- package/dist/esm/layoutControls/Tab/runtime.js +1 -2
- package/dist/esm/layoutControls/TabPane/designer.js +1 -2
- package/dist/esm/layoutControls/TabPane/property.js +1 -2
- package/dist/esm/layoutControls/TabPane/runtime.js +1 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
- package/dist/esm/layoutControls/Toolbox/runtime.js +1 -2
- package/dist/esm/listControls/GridTable/designer.js +3 -4
- package/dist/esm/listControls/GridTable/property.js +5 -6
- package/dist/esm/listControls/GridTable/runtime.js +1 -2
- package/dist/esm/listControls/SubTable/designer.js +3 -3
- package/dist/esm/listControls/SubTable/property.js +30 -31
- package/dist/esm/listControls/SubTable/runtime.js +1 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +1 -2
- package/dist/esm/searchControls/SimpleSearch/property.js +8 -9
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Image/property.d.ts +2 -0
- package/package.json +2 -2
|
@@ -105,10 +105,9 @@ var BatchDeleteButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
105
105
|
function BatchDeleteButtonControl(props) {
|
|
106
106
|
_class_call_check(this, BatchDeleteButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchDeleteButtonProperty(
|
|
110
|
+
_this.props = new BatchDeleteButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchDeleteButtonControl, null, [
|
|
@@ -91,7 +91,6 @@ var BatchDeleteButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
91
91
|
function BatchDeleteButtonProperty(props) {
|
|
92
92
|
_class_call_check(this, BatchDeleteButtonProperty);
|
|
93
93
|
var _this;
|
|
94
|
-
var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7, _props8;
|
|
95
94
|
_this = _super.call(this, props);
|
|
96
95
|
_define_property(_assert_this_initialized(_this), "content", void 0);
|
|
97
96
|
// public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
|
|
@@ -103,24 +102,24 @@ var BatchDeleteButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
103
102
|
_define_property(_assert_this_initialized(_this), "command", void 0);
|
|
104
103
|
_define_property(_assert_this_initialized(_this), "isLoading", void 0);
|
|
105
104
|
var _props_content;
|
|
106
|
-
_this.content = (_props_content =
|
|
105
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchDeleteButtonControl.controlName;
|
|
107
106
|
var _props_icon;
|
|
108
|
-
_this.icon = (_props_icon =
|
|
107
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchDeleteButtonControl.controlIcon;
|
|
109
108
|
var _props_buttonType;
|
|
110
|
-
_this.buttonType = (_props_buttonType =
|
|
109
|
+
_this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
|
|
111
110
|
var _props_showType;
|
|
112
|
-
_this.showType = (_props_showType =
|
|
111
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "iconText";
|
|
113
112
|
var _props_color;
|
|
114
|
-
_this.color = (_props_color =
|
|
113
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "danger";
|
|
115
114
|
var _props_isHide;
|
|
116
|
-
_this.isHide = (_props_isHide =
|
|
115
|
+
_this.isHide = (_props_isHide = props === null || props === void 0 ? void 0 : props.isHide) !== null && _props_isHide !== void 0 ? _props_isHide : false;
|
|
117
116
|
var _props_defaultState;
|
|
118
117
|
// @余石伟 按钮需要有默认icon
|
|
119
|
-
_this.defaultState = (_props_defaultState =
|
|
118
|
+
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
|
|
120
119
|
var _props_command;
|
|
121
|
-
_this.command = (_props_command =
|
|
120
|
+
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "custom";
|
|
122
121
|
var _props_isLoading;
|
|
123
|
-
_this.isLoading = (_props_isLoading =
|
|
122
|
+
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
124
123
|
return _this;
|
|
125
124
|
}
|
|
126
125
|
return BatchDeleteButtonProperty;
|
|
@@ -105,10 +105,9 @@ var ButtonControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
|
105
105
|
function ButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchDeleteButtonProperty(
|
|
110
|
+
_this.props = new BatchDeleteButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
105
105
|
function BatchPrintListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, BatchPrintListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchPrintListButtonProperty(
|
|
110
|
+
_this.props = new BatchPrintListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchPrintListButtonControl, null, [
|
|
@@ -112,21 +112,21 @@ var BatchPrintListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
112
112
|
function BatchPrintListButtonProperty(props) {
|
|
113
113
|
_class_call_check(this, BatchPrintListButtonProperty);
|
|
114
114
|
var _this;
|
|
115
|
-
var
|
|
115
|
+
var _props_printTemplates;
|
|
116
116
|
_this = _super.call(this, props);
|
|
117
117
|
_define_property(_assert_this_initialized(_this), "printTemplates", void 0);
|
|
118
118
|
_define_property(_assert_this_initialized(_this), "autoSelectTemplate", void 0 //自动选择模板 默认 false
|
|
119
119
|
);
|
|
120
120
|
var _props_icon;
|
|
121
|
-
_this.icon = (_props_icon =
|
|
121
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintListButtonControl.controlIcon;
|
|
122
122
|
var _props_content;
|
|
123
|
-
_this.content = (_props_content =
|
|
123
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintListButtonControl.controlName;
|
|
124
124
|
var _props_printTemplates_map;
|
|
125
|
-
_this.printTemplates = (_props_printTemplates_map =
|
|
125
|
+
_this.printTemplates = (_props_printTemplates_map = props === null || props === void 0 ? void 0 : (_props_printTemplates = props.printTemplates) === null || _props_printTemplates === void 0 ? void 0 : _props_printTemplates.map(function(item) {
|
|
126
126
|
return new PrintTemplate(item);
|
|
127
127
|
})) !== null && _props_printTemplates_map !== void 0 ? _props_printTemplates_map : [];
|
|
128
128
|
var _props_autoSelectTemplate;
|
|
129
|
-
_this.autoSelectTemplate = (_props_autoSelectTemplate =
|
|
129
|
+
_this.autoSelectTemplate = (_props_autoSelectTemplate = props === null || props === void 0 ? void 0 : props.autoSelectTemplate) !== null && _props_autoSelectTemplate !== void 0 ? _props_autoSelectTemplate : false;
|
|
130
130
|
return _this;
|
|
131
131
|
}
|
|
132
132
|
return BatchPrintListButtonProperty;
|
|
@@ -105,10 +105,9 @@ var BatchPrintListButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
|
105
105
|
function BatchPrintListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, BatchPrintListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchPrintListButtonProperty(
|
|
110
|
+
_this.props = new BatchPrintListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchPrintListButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
105
105
|
function BatchPrintRecordListButton(props) {
|
|
106
106
|
_class_call_check(this, BatchPrintRecordListButton);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchPrintRecordListButtonProperty(
|
|
110
|
+
_this.props = new BatchPrintRecordListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchPrintRecordListButton, null, [
|
|
@@ -78,12 +78,11 @@ var BatchPrintRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty)
|
|
|
78
78
|
function BatchPrintRecordListButtonProperty(props) {
|
|
79
79
|
_class_call_check(this, BatchPrintRecordListButtonProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _props, _props1;
|
|
82
81
|
_this = _super.call(this, props);
|
|
83
82
|
var _props_content;
|
|
84
|
-
_this.content = (_props_content =
|
|
83
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchPrintRecordListButton.controlName;
|
|
85
84
|
var _props_icon;
|
|
86
|
-
_this.icon = (_props_icon =
|
|
85
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchPrintRecordListButton.controlIcon;
|
|
87
86
|
return _this;
|
|
88
87
|
}
|
|
89
88
|
return BatchPrintRecordListButtonProperty;
|
|
@@ -105,10 +105,9 @@ var BatchPrintRecordListButton = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
|
105
105
|
function BatchPrintRecordListButton(props) {
|
|
106
106
|
_class_call_check(this, BatchPrintRecordListButton);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchPrintRecordListButtonProperty(
|
|
110
|
+
_this.props = new BatchPrintRecordListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchPrintRecordListButton, null, [
|
|
@@ -105,10 +105,9 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(DesignerButtonCont
|
|
|
105
105
|
function BatchSubmissionListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, BatchSubmissionListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchSubmissionListButtonProperty(
|
|
110
|
+
_this.props = new BatchSubmissionListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchSubmissionListButtonControl, null, [
|
|
@@ -116,7 +116,6 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
116
116
|
function BatchSubmissionListButtonProperty(props) {
|
|
117
117
|
_class_call_check(this, BatchSubmissionListButtonProperty);
|
|
118
118
|
var _this;
|
|
119
|
-
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
120
119
|
_this = _super.call(this, props);
|
|
121
120
|
/**
|
|
122
121
|
* 绑定的流程key
|
|
@@ -131,17 +130,17 @@ var BatchSubmissionListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
131
130
|
* 指定人员的id
|
|
132
131
|
* */ _define_property(_assert_this_initialized(_this), "employeeId", void 0);
|
|
133
132
|
var _props_icon;
|
|
134
|
-
_this.icon = (_props_icon =
|
|
133
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : BatchSubmissionListButtonControl.controlIcon;
|
|
135
134
|
var _props_content;
|
|
136
|
-
_this.content = (_props_content =
|
|
135
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : BatchSubmissionListButtonControl.controlName;
|
|
137
136
|
var _props_initiatorMode;
|
|
138
|
-
_this.initiatorMode = (_props_initiatorMode =
|
|
137
|
+
_this.initiatorMode = (_props_initiatorMode = props === null || props === void 0 ? void 0 : props.initiatorMode) !== null && _props_initiatorMode !== void 0 ? _props_initiatorMode : "currentInitiator";
|
|
139
138
|
var _props_processKey;
|
|
140
|
-
_this.processKey = (_props_processKey =
|
|
139
|
+
_this.processKey = (_props_processKey = props === null || props === void 0 ? void 0 : props.processKey) !== null && _props_processKey !== void 0 ? _props_processKey : "";
|
|
141
140
|
var _props_fieldCode;
|
|
142
|
-
_this.fieldCode = (_props_fieldCode =
|
|
141
|
+
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
143
142
|
var _props_employeeId;
|
|
144
|
-
_this.employeeId = (_props_employeeId =
|
|
143
|
+
_this.employeeId = (_props_employeeId = props === null || props === void 0 ? void 0 : props.employeeId) !== null && _props_employeeId !== void 0 ? _props_employeeId : "";
|
|
145
144
|
return _this;
|
|
146
145
|
}
|
|
147
146
|
return BatchSubmissionListButtonProperty;
|
|
@@ -105,10 +105,9 @@ var BatchSubmissionListButtonControl = /*#__PURE__*/ function(RuntimeButtonContr
|
|
|
105
105
|
function BatchSubmissionListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, BatchSubmissionListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new BatchSubmissionListButtonProperty(
|
|
110
|
+
_this.props = new BatchSubmissionListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(BatchSubmissionListButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var ButtonControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
105
105
|
function ButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ButtonProperty(
|
|
110
|
+
_this.props = new ButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ButtonControl, null, [
|
|
@@ -90,7 +90,6 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
90
90
|
function ButtonProperty(props) {
|
|
91
91
|
_class_call_check(this, ButtonProperty);
|
|
92
92
|
var _this;
|
|
93
|
-
var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7;
|
|
94
93
|
_this = _super.call(this, props);
|
|
95
94
|
_define_property(_assert_this_initialized(_this), "content", void 0);
|
|
96
95
|
// public buttonType: 'primary' | 'secondary' | 'default' | 'danger'
|
|
@@ -102,22 +101,22 @@ var ButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
102
101
|
_define_property(_assert_this_initialized(_this), "command", void 0);
|
|
103
102
|
_define_property(_assert_this_initialized(_this), "isLoading", void 0);
|
|
104
103
|
var _props_content;
|
|
105
|
-
_this.content = (_props_content =
|
|
104
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "按钮";
|
|
106
105
|
var _props_buttonType;
|
|
107
|
-
_this.buttonType = (_props_buttonType =
|
|
106
|
+
_this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : "primary";
|
|
108
107
|
var _props_showType;
|
|
109
|
-
_this.showType = (_props_showType =
|
|
108
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "text";
|
|
110
109
|
var _props_color;
|
|
111
|
-
_this.color = (_props_color =
|
|
110
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
|
|
112
111
|
var _props_icon;
|
|
113
112
|
// @余石伟 按钮需要有默认icon
|
|
114
|
-
_this.icon = (_props_icon =
|
|
113
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconfenlei2";
|
|
115
114
|
var _props_defaultState;
|
|
116
|
-
_this.defaultState = (_props_defaultState =
|
|
115
|
+
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
|
|
117
116
|
var _props_command;
|
|
118
|
-
_this.command = (_props_command =
|
|
117
|
+
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "custom";
|
|
119
118
|
var _props_isLoading;
|
|
120
|
-
_this.isLoading = (_props_isLoading =
|
|
119
|
+
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
121
120
|
return _this;
|
|
122
121
|
}
|
|
123
122
|
return ButtonProperty;
|
|
@@ -105,10 +105,9 @@ var ButtonControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
|
105
105
|
function ButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ButtonProperty(
|
|
110
|
+
_this.props = new ButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(DesignerButtonControl)
|
|
|
105
105
|
function CreateFormListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, CreateFormListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new CreateFormListButtonProperty(
|
|
110
|
+
_this.props = new CreateFormListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(CreateFormListButtonControl, null, [
|
|
@@ -110,18 +110,17 @@ var CreateFormListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
110
110
|
function CreateFormListButtonProperty(props) {
|
|
111
111
|
_class_call_check(this, CreateFormListButtonProperty);
|
|
112
112
|
var _this;
|
|
113
|
-
var _props, _props1, _props2, _props3;
|
|
114
113
|
_this = _super.call(this, props);
|
|
115
114
|
_define_property(_assert_this_initialized(_this), "formKey", void 0);
|
|
116
115
|
_define_property(_assert_this_initialized(_this), "openType", void 0);
|
|
117
116
|
var _props_icon;
|
|
118
|
-
_this.icon = (_props_icon =
|
|
117
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : CreateFormListButtonControl.controlIcon;
|
|
119
118
|
var _props_content;
|
|
120
|
-
_this.content = (_props_content =
|
|
119
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : CreateFormListButtonControl.controlName;
|
|
121
120
|
var _props_formKey;
|
|
122
|
-
_this.formKey = (_props_formKey =
|
|
121
|
+
_this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
123
122
|
var _props_openType;
|
|
124
|
-
_this.openType = (_props_openType =
|
|
123
|
+
_this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
125
124
|
return _this;
|
|
126
125
|
}
|
|
127
126
|
return CreateFormListButtonProperty;
|
|
@@ -105,10 +105,9 @@ var CreateFormListButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
|
105
105
|
function CreateFormListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, CreateFormListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ListButtonProperty(
|
|
110
|
+
_this.props = new ListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(CreateFormListButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var DashboardControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
105
105
|
function DashboardControl(props) {
|
|
106
106
|
_class_call_check(this, DashboardControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new DashboardProperty(
|
|
110
|
+
_this.props = new DashboardProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(DashboardControl, null, [
|
|
@@ -131,7 +131,6 @@ var DashboardProperty = /*#__PURE__*/ function(Property) {
|
|
|
131
131
|
function DashboardProperty(props) {
|
|
132
132
|
_class_call_check(this, DashboardProperty);
|
|
133
133
|
var _this;
|
|
134
|
-
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
135
134
|
_this = _super.call(this, props);
|
|
136
135
|
_define_property(_assert_this_initialized(_this), "dashboardKey", void 0);
|
|
137
136
|
_define_property(_assert_this_initialized(_this), "caption", void 0);
|
|
@@ -140,17 +139,17 @@ var DashboardProperty = /*#__PURE__*/ function(Property) {
|
|
|
140
139
|
_define_property(_assert_this_initialized(_this), "captionTip", void 0);
|
|
141
140
|
_define_property(_assert_this_initialized(_this), "labelPosition", void 0);
|
|
142
141
|
var _props_dashboardKey;
|
|
143
|
-
_this.dashboardKey = (_props_dashboardKey =
|
|
142
|
+
_this.dashboardKey = (_props_dashboardKey = props === null || props === void 0 ? void 0 : props.dashboardKey) !== null && _props_dashboardKey !== void 0 ? _props_dashboardKey : "";
|
|
144
143
|
var _props_caption;
|
|
145
|
-
_this.caption = (_props_caption =
|
|
144
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
|
|
146
145
|
var _props_isHideCaption;
|
|
147
|
-
_this.isHideCaption = (_props_isHideCaption =
|
|
146
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
148
147
|
var _props_isShowCaptionTip;
|
|
149
|
-
_this.isShowCaptionTip = (_props_isShowCaptionTip =
|
|
148
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
150
149
|
var _props_captionTip;
|
|
151
|
-
_this.captionTip = (_props_captionTip =
|
|
150
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
152
151
|
var _props_labelPosition;
|
|
153
|
-
_this.labelPosition = (_props_labelPosition =
|
|
152
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : "top";
|
|
154
153
|
return _this;
|
|
155
154
|
}
|
|
156
155
|
return DashboardProperty;
|
|
@@ -105,10 +105,9 @@ var DashboardControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
|
105
105
|
function DashboardControl(props) {
|
|
106
106
|
_class_call_check(this, DashboardControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new DashboardProperty(
|
|
110
|
+
_this.props = new DashboardProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(DashboardControl, null, [
|
|
@@ -105,10 +105,9 @@ var DividerControl = /*#__PURE__*/ function(DesignerControl) {
|
|
|
105
105
|
function DividerControl(props) {
|
|
106
106
|
_class_call_check(this, DividerControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new DividerProperty(
|
|
110
|
+
_this.props = new DividerProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(DividerControl, null, [
|
|
@@ -92,14 +92,13 @@ var DividerProperty = /*#__PURE__*/ function(Property) {
|
|
|
92
92
|
function DividerProperty(props) {
|
|
93
93
|
_class_call_check(this, DividerProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var _props, _props1;
|
|
96
95
|
_this = _super.call(this, props);
|
|
97
96
|
_define_property(_assert_this_initialized(_this), "color", void 0);
|
|
98
97
|
_define_property(_assert_this_initialized(_this), "lineStyle", void 0);
|
|
99
98
|
var _props_color;
|
|
100
|
-
_this.color = (_props_color =
|
|
99
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "#000";
|
|
101
100
|
var _props_lineStyle;
|
|
102
|
-
_this.lineStyle = (_props_lineStyle =
|
|
101
|
+
_this.lineStyle = (_props_lineStyle = props === null || props === void 0 ? void 0 : props.lineStyle) !== null && _props_lineStyle !== void 0 ? _props_lineStyle : LINE_STYLE.SOLID;
|
|
103
102
|
return _this;
|
|
104
103
|
}
|
|
105
104
|
return DividerProperty;
|
|
@@ -105,10 +105,9 @@ var DividerControl = /*#__PURE__*/ function(RuntimeControl) {
|
|
|
105
105
|
function DividerControl(props) {
|
|
106
106
|
_class_call_check(this, DividerControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new DividerProperty(
|
|
110
|
+
_this.props = new DividerProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(DividerControl, null, [
|
|
@@ -105,10 +105,9 @@ var ExportListButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
105
105
|
function ExportListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ExportListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ExportListButtonProperty(
|
|
110
|
+
_this.props = new ExportListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ExportListButtonControl, null, [
|
|
@@ -92,15 +92,15 @@ var ExportListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
92
92
|
function ExportListButtonProperty(props) {
|
|
93
93
|
_class_call_check(this, ExportListButtonProperty);
|
|
94
94
|
var _this;
|
|
95
|
-
var
|
|
95
|
+
var _props_templateList;
|
|
96
96
|
_this = _super.call(this, props);
|
|
97
97
|
_define_property(_assert_this_initialized(_this), "templateList", void 0);
|
|
98
98
|
var _props_icon;
|
|
99
|
-
_this.icon = (_props_icon =
|
|
99
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportListButtonControl.controlIcon;
|
|
100
100
|
var _props_content;
|
|
101
|
-
_this.content = (_props_content =
|
|
101
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportListButtonControl.controlName;
|
|
102
102
|
var _props_templateList_map;
|
|
103
|
-
_this.templateList = (_props_templateList_map =
|
|
103
|
+
_this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
|
|
104
104
|
return new ExportTemplate(item);
|
|
105
105
|
})) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
|
|
106
106
|
new ExportTemplate({
|
|
@@ -105,10 +105,9 @@ var ExportListButtonControl = /*#__PURE__*/ function(RuntimeButtonControl) {
|
|
|
105
105
|
function ExportListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ExportListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ExportListButtonProperty(
|
|
110
|
+
_this.props = new ExportListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ExportListButtonControl, null, [
|
|
@@ -105,10 +105,9 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(DesignerButtonControl
|
|
|
105
105
|
function ExportRecordListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ExportRecordListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ExportRecordListButtonProperty(
|
|
110
|
+
_this.props = new ExportRecordListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ExportRecordListButtonControl, null, [
|
|
@@ -78,12 +78,11 @@ var ExportRecordListButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
78
78
|
function ExportRecordListButtonProperty(props) {
|
|
79
79
|
_class_call_check(this, ExportRecordListButtonProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _props, _props1;
|
|
82
81
|
_this = _super.call(this, props);
|
|
83
82
|
var _props_content;
|
|
84
|
-
_this.content = (_props_content =
|
|
83
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : ExportRecordListButtonControl.controlName;
|
|
85
84
|
var _props_icon;
|
|
86
|
-
_this.icon = (_props_icon =
|
|
85
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : ExportRecordListButtonControl.controlIcon;
|
|
87
86
|
return _this;
|
|
88
87
|
}
|
|
89
88
|
return ExportRecordListButtonProperty;
|
|
@@ -105,10 +105,9 @@ var ExportRecordListButtonControl = /*#__PURE__*/ function(RuntimeButtonControl)
|
|
|
105
105
|
function ExportRecordListButtonControl(props) {
|
|
106
106
|
_class_call_check(this, ExportRecordListButtonControl);
|
|
107
107
|
var _this;
|
|
108
|
-
var _props;
|
|
109
108
|
_this = _super.call(this, props);
|
|
110
109
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
111
|
-
_this.props = new ExportRecordListButtonProperty(
|
|
110
|
+
_this.props = new ExportRecordListButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
112
111
|
return _this;
|
|
113
112
|
}
|
|
114
113
|
_create_class(ExportRecordListButtonControl, null, [
|
|
@@ -106,10 +106,9 @@ var FormSelectButtonControl = /*#__PURE__*/ function(DesignerButtonControl) {
|
|
|
106
106
|
function FormSelectButtonControl(props) {
|
|
107
107
|
_class_call_check(this, FormSelectButtonControl);
|
|
108
108
|
var _this;
|
|
109
|
-
var _props;
|
|
110
109
|
_this = _super.call(this, props);
|
|
111
110
|
_define_property(_assert_this_initialized(_this), "props", void 0);
|
|
112
|
-
_this.props = new FormSelectButtonProperty(
|
|
111
|
+
_this.props = new FormSelectButtonProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
113
112
|
return _this;
|
|
114
113
|
}
|
|
115
114
|
_create_class(FormSelectButtonControl, null, [
|
|
@@ -153,21 +153,20 @@ var FormSelectButtonProperty = /*#__PURE__*/ function(ButtonProperty) {
|
|
|
153
153
|
function FormSelectButtonProperty(props) {
|
|
154
154
|
_class_call_check(this, FormSelectButtonProperty);
|
|
155
155
|
var _this;
|
|
156
|
-
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
157
156
|
_this = _super.call(this, props);
|
|
158
157
|
_define_property(_assert_this_initialized(_this), "fillPayload", void 0);
|
|
159
158
|
_define_property(_assert_this_initialized(_this), "formBind", void 0);
|
|
160
159
|
_define_property(_assert_this_initialized(_this), "fillBack", void 0);
|
|
161
160
|
_define_property(_assert_this_initialized(_this), "command", void 0);
|
|
162
161
|
var _props_content;
|
|
163
|
-
_this.content = (_props_content =
|
|
162
|
+
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : FormSelectButtonControl.controlName;
|
|
164
163
|
var _props_icon;
|
|
165
|
-
_this.icon = (_props_icon =
|
|
164
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : FormSelectButtonControl.controlIcon;
|
|
166
165
|
var _props_command;
|
|
167
|
-
_this.command = (_props_command =
|
|
168
|
-
_this.fillPayload = new FillPayloadBind(
|
|
169
|
-
_this.formBind = new FormSelectBind(
|
|
170
|
-
_this.fillBack = new FillBackBind(
|
|
166
|
+
_this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "create";
|
|
167
|
+
_this.fillPayload = new FillPayloadBind(props === null || props === void 0 ? void 0 : props.fillPayload);
|
|
168
|
+
_this.formBind = new FormSelectBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
169
|
+
_this.fillBack = new FillBackBind(props === null || props === void 0 ? void 0 : props.fillBack);
|
|
171
170
|
return _this;
|
|
172
171
|
}
|
|
173
172
|
return FormSelectButtonProperty;
|