@byteluck-fe/model-driven-controls 7.0.0-props.13 → 7.0.0-props.15
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/property.js +18 -10
- package/dist/esm/baseControls/BatchPrintListButton/property.js +9 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
- package/dist/esm/baseControls/Button/property.js +18 -10
- package/dist/esm/baseControls/Comment/property.js +2 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +8 -5
- package/dist/esm/baseControls/Dashboard/property.js +16 -9
- package/dist/esm/baseControls/Divider/designer.js +25 -0
- package/dist/esm/baseControls/Divider/property.js +14 -8
- package/dist/esm/baseControls/ExportListButton/property.js +9 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +9 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +19 -11
- package/dist/esm/baseControls/Link/property.js +18 -10
- package/dist/esm/baseControls/ListSelectButton/property.js +10 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +5 -4
- package/dist/esm/baseControls/OperationButton/property.js +12 -7
- package/dist/esm/baseControls/ReferenceList/property.js +12 -7
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -3
- package/dist/esm/baseControls/Text/property.js +16 -9
- package/dist/esm/baseControls/TextOcrButton/property.js +19 -11
- package/dist/esm/baseControls/Title/property.js +6 -4
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +6 -4
- package/dist/esm/columnControls/ArrayColumn/property.js +8 -5
- package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -3
- package/dist/esm/columnControls/CustomColumn/property.js +6 -4
- package/dist/esm/columnControls/DecimalColumn/property.js +14 -8
- package/dist/esm/columnControls/DepartmentColumn/property.js +4 -3
- package/dist/esm/columnControls/EmployeeColumn/property.js +4 -3
- package/dist/esm/columnControls/FileColumn/property.js +4 -3
- package/dist/esm/columnControls/GroupColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +4 -3
- package/dist/esm/columnControls/OperationColumn/designer.js +4 -12
- package/dist/esm/columnControls/OperationColumn/property.js +10 -6
- package/dist/esm/columnControls/OrderColumn/property.js +12 -7
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +8 -5
- package/dist/esm/columnControls/TimescopeColumn/property.js +8 -5
- package/dist/esm/columnControls/TimestampColumn/property.js +8 -5
- package/dist/esm/columnControls/VarcharColumn/property.js +12 -7
- package/dist/esm/formControls/Address/property.js +10 -6
- package/dist/esm/formControls/Amount/property.js +24 -13
- package/dist/esm/formControls/Attachment/property.js +42 -26
- package/dist/esm/formControls/AutoNumber/property.js +6 -4
- package/dist/esm/formControls/Calc/property.js +18 -10
- package/dist/esm/formControls/Cascader/property.js +31 -17
- package/dist/esm/formControls/Checkbox/property.js +33 -18
- package/dist/esm/formControls/DatePicker/property.js +27 -15
- package/dist/esm/formControls/DateRange/property.js +23 -13
- package/dist/esm/formControls/Department/property.js +22 -12
- package/dist/esm/formControls/Department2/property.js +37 -20
- package/dist/esm/formControls/ElectronicSignature/property.js +12 -7
- package/dist/esm/formControls/Employee/property.js +18 -10
- package/dist/esm/formControls/Employee2/property.js +34 -18
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +14 -8
- package/dist/esm/formControls/Input/property.js +20 -11
- package/dist/esm/formControls/Number/property.js +32 -17
- package/dist/esm/formControls/OrganizationSelection/property.js +36 -19
- package/dist/esm/formControls/Radio/property.js +28 -15
- package/dist/esm/formControls/RichText/property.js +24 -13
- package/dist/esm/formControls/Score/property.js +19 -11
- package/dist/esm/formControls/SearchDateRange/property.js +25 -14
- package/dist/esm/formControls/SearchNumberRange/property.js +12 -7
- package/dist/esm/formControls/Select/property.js +26 -14
- package/dist/esm/formControls/SelectMultiple/property.js +24 -13
- package/dist/esm/formControls/SelectRelation/property.js +26 -14
- package/dist/esm/formControls/Textarea/property.js +20 -11
- package/dist/esm/formControls/TimePicker/property.js +15 -9
- package/dist/esm/formControls/TimeRange/property.js +19 -11
- package/dist/esm/formControls/Tree/property.js +39 -21
- package/dist/esm/formControls/VueFormItem/property.js +10 -6
- package/dist/esm/formControls/VuePage/property.js +10 -6
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +24 -13
- package/dist/esm/framework.js +121 -74
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +6 -4
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/CardGroup/property.js +20 -11
- package/dist/esm/layoutControls/Col/property.js +6 -4
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +6 -4
- package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
- package/dist/esm/layoutControls/DataView/property.js +14 -8
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +4 -3
- package/dist/esm/layoutControls/GridTableColumn/property.js +20 -11
- package/dist/esm/layoutControls/ListView/property.js +28 -15
- package/dist/esm/layoutControls/Page/property.js +2 -2
- package/dist/esm/layoutControls/Position/property.js +8 -5
- package/dist/esm/layoutControls/Row/property.js +10 -6
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +22 -12
- package/dist/esm/layoutControls/StepPane/property.js +16 -9
- package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +10 -6
- package/dist/esm/layoutControls/TabPane/property.js +2 -2
- package/dist/esm/layoutControls/TableLayout/property.js +30 -16
- package/dist/esm/layoutControls/TableLayoutCol/property.js +20 -11
- package/dist/esm/layoutControls/TableLayoutRow/property.js +4 -3
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +6 -4
- package/dist/esm/listControls/GridTable/designer.js +4 -12
- package/dist/esm/listControls/GridTable/property.js +19 -15
- package/dist/esm/listControls/SubTable/property.js +70 -36
- package/dist/esm/searchControls/SimpleSearch/property.js +24 -13
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/Divider/property.d.ts +7 -0
- package/package.json +5 -5
|
@@ -78,22 +78,31 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
|
|
|
78
78
|
function GridTableColumnControlProperty(props) {
|
|
79
79
|
_class_call_check(this, GridTableColumnControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
82
81
|
_this = _call_super(this, GridTableColumnControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
|
|
85
|
-
|
|
84
|
+
var _props_width;
|
|
85
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
|
|
86
86
|
_this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
87
|
+
var _props_caption;
|
|
88
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
89
|
+
var _props_fixed;
|
|
90
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
|
|
91
|
+
var _props_fieldCode;
|
|
92
|
+
_this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
93
|
+
var _props_fieldType;
|
|
94
|
+
_this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
95
|
+
var _props_fieldName;
|
|
96
|
+
_this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
|
|
92
97
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
93
|
-
|
|
94
|
-
_this.
|
|
95
|
-
|
|
96
|
-
_this.
|
|
98
|
+
var _props_textCleanFormart;
|
|
99
|
+
_this.textCleanFormart = (_props_textCleanFormart = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _props_textCleanFormart !== void 0 ? _props_textCleanFormart : false;
|
|
100
|
+
var _props_decimalKeepPrecision;
|
|
101
|
+
_this.decimalKeepPrecision = (_props_decimalKeepPrecision = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _props_decimalKeepPrecision !== void 0 ? _props_decimalKeepPrecision : 0;
|
|
102
|
+
var _props_timestampDateType;
|
|
103
|
+
_this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
|
|
104
|
+
var _props_departmentDisplayLevel;
|
|
105
|
+
_this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
|
|
97
106
|
return _this;
|
|
98
107
|
}
|
|
99
108
|
return GridTableColumnControlProperty;
|
|
@@ -213,30 +213,43 @@ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
213
213
|
function ListViewControlProperty(props) {
|
|
214
214
|
_class_call_check(this, ListViewControlProperty);
|
|
215
215
|
var _this;
|
|
216
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
217
216
|
_this = _call_super(this, ListViewControlProperty, [
|
|
218
217
|
props
|
|
219
218
|
]), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "isLoading", void 0), _define_property(_this, "isShowSubList", void 0), _define_property(_this, "triggerType", void 0), _define_property(_this, "triggerFieldCode", void 0), _define_property(_this, "sublistPage", void 0), _define_property(_this, "isShowJoinRelation", void 0), _define_property(_this, "joinRelation", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "showFullScreen", void 0), _define_property(_this, "isFixedHeader", void 0), _define_property(_this, "selectionType", void 0), _define_property(_this, "isShowSelection", void 0), _define_property(_this, "isAllLoaded", void 0), _define_property(_this, "countType", void 0), _define_property(_this, "countLimit", void 0), _define_property(_this, "rowStyle", void 0), _define_property(_this, "isTreeData", void 0), _define_property(_this, "treeData", void 0), _define_property(_this, "isMasterDetail", void 0), _define_property(_this, "masterDetail", void 0);
|
|
220
219
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
221
|
-
|
|
222
|
-
_this.
|
|
223
|
-
|
|
224
|
-
_this.
|
|
220
|
+
var _props_isLoading;
|
|
221
|
+
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
222
|
+
var _props_isShowSubList;
|
|
223
|
+
_this.isShowSubList = (_props_isShowSubList = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _props_isShowSubList !== void 0 ? _props_isShowSubList : false;
|
|
224
|
+
var _props_triggerType;
|
|
225
|
+
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
226
|
+
var _props_triggerFieldCode;
|
|
227
|
+
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
225
228
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
226
|
-
|
|
229
|
+
var _props_isShowJoinRelation;
|
|
230
|
+
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
227
231
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
228
|
-
|
|
229
|
-
_this.
|
|
230
|
-
|
|
231
|
-
_this.
|
|
232
|
-
|
|
233
|
-
_this.
|
|
232
|
+
var _props_showType;
|
|
233
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'stretch';
|
|
234
|
+
var _props_showFullScreen;
|
|
235
|
+
_this.showFullScreen = (_props_showFullScreen = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _props_showFullScreen !== void 0 ? _props_showFullScreen : false;
|
|
236
|
+
var _props_selectionType;
|
|
237
|
+
_this.selectionType = (_props_selectionType = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _props_selectionType !== void 0 ? _props_selectionType : 'multiple';
|
|
238
|
+
var _props_isFixedHeader;
|
|
239
|
+
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
240
|
+
var _props_isShowSelection;
|
|
241
|
+
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
242
|
+
var _props_isAllLoaded;
|
|
243
|
+
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
234
244
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
235
|
-
|
|
245
|
+
var _props_countLimit;
|
|
246
|
+
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
236
247
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
237
|
-
|
|
248
|
+
var _props_isTreeData;
|
|
249
|
+
_this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
|
|
238
250
|
_this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
|
|
239
|
-
|
|
251
|
+
var _props_isMasterDetail;
|
|
252
|
+
_this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
|
|
240
253
|
_this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
|
|
241
254
|
return _this;
|
|
242
255
|
}
|
|
@@ -77,11 +77,11 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PageProperty(props) {
|
|
78
78
|
_class_call_check(this, PageProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref;
|
|
81
80
|
_this = _call_super(this, PageProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "hideHeader", void 0), _define_property(_this, "background", '#fff'), _define_property(_this, "minWidth", ''), _define_property(_this, "maxWidth", ''), _define_property(_this, "heightConfig", 'auto');
|
|
84
|
-
|
|
83
|
+
var _props_hideHeader;
|
|
84
|
+
_this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
|
|
85
85
|
return _this;
|
|
86
86
|
}
|
|
87
87
|
return PageProperty;
|
|
@@ -77,14 +77,17 @@ var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function PositionProperty(props) {
|
|
78
78
|
_class_call_check(this, PositionProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
81
80
|
_this = _call_super(this, PositionProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "widthSpan", void 0), _define_property(_this, "heightSpan", void 0), _define_property(_this, "left", void 0), _define_property(_this, "top", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.
|
|
83
|
+
var _props_widthSpan;
|
|
84
|
+
_this.widthSpan = (_props_widthSpan = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _props_widthSpan !== void 0 ? _props_widthSpan : 12;
|
|
85
|
+
var _props_heightSpan;
|
|
86
|
+
_this.heightSpan = (_props_heightSpan = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _props_heightSpan !== void 0 ? _props_heightSpan : 12;
|
|
87
|
+
var _props_left;
|
|
88
|
+
_this.left = (_props_left = props === null || props === void 0 ? void 0 : props.left) !== null && _props_left !== void 0 ? _props_left : 0;
|
|
89
|
+
var _props_top;
|
|
90
|
+
_this.top = (_props_top = props === null || props === void 0 ? void 0 : props.top) !== null && _props_top !== void 0 ? _props_top : 0;
|
|
88
91
|
return _this;
|
|
89
92
|
}
|
|
90
93
|
return PositionProperty;
|
|
@@ -77,17 +77,21 @@ var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function RowControlProperty(props) {
|
|
78
78
|
_class_call_check(this, RowControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
81
80
|
_this = _call_super(this, RowControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0), _define_property(_this, "align", void 0), _define_property(_this, "justify", void 0), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "isFull", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.
|
|
83
|
+
var _props_layoutMode;
|
|
84
|
+
_this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
|
|
85
|
+
var _props_gutter;
|
|
86
|
+
_this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
|
|
87
|
+
var _props_align;
|
|
88
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
89
|
+
var _props_justify;
|
|
90
|
+
_this.justify = (_props_justify = props === null || props === void 0 ? void 0 : props.justify) !== null && _props_justify !== void 0 ? _props_justify : '';
|
|
88
91
|
_this.padding = new Padding(props === null || props === void 0 ? void 0 : props.padding);
|
|
89
92
|
_this.margin = new Margin(props === null || props === void 0 ? void 0 : props.margin);
|
|
90
|
-
|
|
93
|
+
var _props_isFull;
|
|
94
|
+
_this.isFull = (_props_isFull = props === null || props === void 0 ? void 0 : props.isFull) !== null && _props_isFull !== void 0 ? _props_isFull : false;
|
|
91
95
|
return _this;
|
|
92
96
|
}
|
|
93
97
|
return RowControlProperty;
|
|
@@ -94,12 +94,12 @@ var StepControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
94
94
|
function StepControl(props) {
|
|
95
95
|
_class_call_check(this, StepControl);
|
|
96
96
|
var _this;
|
|
97
|
-
var _ref;
|
|
98
97
|
_this = _call_super(this, StepControl, [
|
|
99
98
|
props
|
|
100
99
|
]), _define_property(_this, "props", void 0);
|
|
101
100
|
_this.props = new StepControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
102
|
-
|
|
101
|
+
var _props_children;
|
|
102
|
+
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
103
103
|
new DesignerStepPaneControl(),
|
|
104
104
|
new DesignerStepPaneControl(),
|
|
105
105
|
new DesignerStepPaneControl()
|
|
@@ -77,21 +77,31 @@ var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function StepControlProperty(props) {
|
|
78
78
|
_class_call_check(this, StepControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
81
80
|
_this = _call_super(this, StepControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "direction", void 0), _define_property(_this, "labelPlacement", void 0), _define_property(_this, "size", void 0), _define_property(_this, "type", void 0), _define_property(_this, "isSticky", void 0), _define_property(_this, "step", void 0), _define_property(_this, "isCenter", void 0), _define_property(_this, "isStopStepClick", void 0), _define_property(_this, "status", void 0), _define_property(_this, "stopStatus", void 0), _define_property(_this, "isShowStepButton", void 0), _define_property(_this, "stepButtons", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.
|
|
94
|
-
|
|
83
|
+
var _props_direction;
|
|
84
|
+
_this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'horizontal';
|
|
85
|
+
var _props_labelPlacement;
|
|
86
|
+
_this.labelPlacement = (_props_labelPlacement = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _props_labelPlacement !== void 0 ? _props_labelPlacement : 'horizontal';
|
|
87
|
+
var _props_size;
|
|
88
|
+
_this.size = (_props_size = props === null || props === void 0 ? void 0 : props.size) !== null && _props_size !== void 0 ? _props_size : 'default';
|
|
89
|
+
var _props_type;
|
|
90
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
|
|
91
|
+
var _props_isSticky;
|
|
92
|
+
_this.isSticky = (_props_isSticky = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _props_isSticky !== void 0 ? _props_isSticky : false;
|
|
93
|
+
var _props_step;
|
|
94
|
+
_this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : '';
|
|
95
|
+
var _props_isCenter;
|
|
96
|
+
_this.isCenter = (_props_isCenter = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _props_isCenter !== void 0 ? _props_isCenter : false;
|
|
97
|
+
var _props_isStopStepClick;
|
|
98
|
+
_this.isStopStepClick = (_props_isStopStepClick = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _props_isStopStepClick !== void 0 ? _props_isStopStepClick : false;
|
|
99
|
+
var _props_status;
|
|
100
|
+
_this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'process';
|
|
101
|
+
var _props_stopStatus;
|
|
102
|
+
_this.stopStatus = (_props_stopStatus = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _props_stopStatus !== void 0 ? _props_stopStatus : 'finish';
|
|
103
|
+
var _props_isShowStepButton;
|
|
104
|
+
_this.isShowStepButton = (_props_isShowStepButton = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _props_isShowStepButton !== void 0 ? _props_isShowStepButton : false;
|
|
95
105
|
_this.stepButtons = new StepButtons(props === null || props === void 0 ? void 0 : props.stepButtons);
|
|
96
106
|
return _this;
|
|
97
107
|
}
|
|
@@ -77,19 +77,26 @@ var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function StepPaneControlProperty(props) {
|
|
78
78
|
_class_call_check(this, StepPaneControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
81
80
|
_this = _call_super(this, StepPaneControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), // static readonly Rules = StepPaneControlPropertyRules
|
|
84
83
|
_define_property(_this, "title", void 0), _define_property(_this, "subTitle", void 0), _define_property(_this, "disabled", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "color", void 0), _define_property(_this, "status", void 0), _define_property(_this, "description", void 0), _define_property(_this, "isDefault", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
92
|
-
_this.
|
|
84
|
+
var _props_title;
|
|
85
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
86
|
+
var _props_subTitle;
|
|
87
|
+
_this.subTitle = (_props_subTitle = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _props_subTitle !== void 0 ? _props_subTitle : '';
|
|
88
|
+
var _props_disabled;
|
|
89
|
+
_this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
|
|
90
|
+
var _props_icon;
|
|
91
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
|
|
92
|
+
var _props_color;
|
|
93
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
94
|
+
var _props_status;
|
|
95
|
+
_this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'wait';
|
|
96
|
+
var _props_description;
|
|
97
|
+
_this.description = (_props_description = props === null || props === void 0 ? void 0 : props.description) !== null && _props_description !== void 0 ? _props_description : '';
|
|
98
|
+
var _props_isDefault;
|
|
99
|
+
_this.isDefault = (_props_isDefault = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
|
|
93
100
|
return _this;
|
|
94
101
|
}
|
|
95
102
|
return StepPaneControlProperty;
|
|
@@ -106,15 +106,19 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
106
106
|
function SubTableColumnControlProperty(props) {
|
|
107
107
|
_class_call_check(this, SubTableColumnControlProperty);
|
|
108
108
|
var _this;
|
|
109
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
110
109
|
_this = _call_super(this, SubTableColumnControlProperty, [
|
|
111
110
|
props
|
|
112
111
|
]), _define_property(_this, "metaAutoWidth", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "isHideCaption", void 0);
|
|
113
|
-
|
|
114
|
-
_this.
|
|
115
|
-
|
|
116
|
-
_this.
|
|
117
|
-
|
|
112
|
+
var _props_caption;
|
|
113
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
114
|
+
var _props_fixed;
|
|
115
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
|
|
116
|
+
var _props_isShowCaptionTip;
|
|
117
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
118
|
+
var _props_captionTip;
|
|
119
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
120
|
+
var _props_isHideCaption;
|
|
121
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
118
122
|
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
119
123
|
return _this;
|
|
120
124
|
}
|
|
@@ -95,12 +95,12 @@ var TabControl = /*#__PURE__*/ function(DesignerLayoutControl) {
|
|
|
95
95
|
function TabControl(props) {
|
|
96
96
|
_class_call_check(this, TabControl);
|
|
97
97
|
var _this;
|
|
98
|
-
var _ref;
|
|
99
98
|
_this = _call_super(this, TabControl, [
|
|
100
99
|
props
|
|
101
100
|
]), _define_property(_this, "props", void 0);
|
|
102
101
|
_this.props = new TabControlProperty(props === null || props === void 0 ? void 0 : props.props);
|
|
103
|
-
|
|
102
|
+
var _props_children;
|
|
103
|
+
_this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
|
|
104
104
|
new DesignerTabPaneControl(),
|
|
105
105
|
new DesignerTabPaneControl()
|
|
106
106
|
];
|
|
@@ -77,15 +77,19 @@ var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function TabControlProperty(props) {
|
|
78
78
|
_class_call_check(this, TabControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
81
80
|
_this = _call_super(this, TabControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "mobileShowType", void 0), _define_property(_this, "type", void 0), _define_property(_this, "tabPosition", void 0), _define_property(_this, "isLabelFlat", void 0), _define_property(_this, "isDelay", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
87
|
-
_this.
|
|
88
|
-
|
|
83
|
+
var _props_mobileShowType;
|
|
84
|
+
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'vertical';
|
|
85
|
+
var _props_type;
|
|
86
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'line';
|
|
87
|
+
var _props_tabPosition;
|
|
88
|
+
_this.tabPosition = (_props_tabPosition = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _props_tabPosition !== void 0 ? _props_tabPosition : 'top';
|
|
89
|
+
var _props_isLabelFlat;
|
|
90
|
+
_this.isLabelFlat = (_props_isLabelFlat = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _props_isLabelFlat !== void 0 ? _props_isLabelFlat : false;
|
|
91
|
+
var _props_isDelay;
|
|
92
|
+
_this.isDelay = (_props_isDelay = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _props_isDelay !== void 0 ? _props_isDelay : false;
|
|
89
93
|
return _this;
|
|
90
94
|
}
|
|
91
95
|
return TabControlProperty;
|
|
@@ -96,11 +96,11 @@ var TabPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
96
96
|
function TabPaneControlProperty(props) {
|
|
97
97
|
_class_call_check(this, TabPaneControlProperty);
|
|
98
98
|
var _this;
|
|
99
|
-
var _ref;
|
|
100
99
|
_this = _call_super(this, TabPaneControlProperty, [
|
|
101
100
|
props
|
|
102
101
|
]), _define_property(_this, "caption", void 0);
|
|
103
|
-
|
|
102
|
+
var _props_caption;
|
|
103
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTabControl.controlName;
|
|
104
104
|
return _this;
|
|
105
105
|
}
|
|
106
106
|
return TabPaneControlProperty;
|
|
@@ -77,33 +77,44 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
77
77
|
function TableLayoutControlProperty(props) {
|
|
78
78
|
_class_call_check(this, TableLayoutControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
|
|
81
80
|
_this = _call_super(this, TableLayoutControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "rowCount", void 0), _define_property(_this, "colCount", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "colWidthType", void 0), _define_property(_this, "colWidth", void 0), _define_property(_this, "labelWidth", void 0), _define_property(_this, "isLabelBold", void 0 // label是否加粗
|
|
84
83
|
), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "border", void 0), _define_property(_this, "background", void 0), _define_property(_this, "borderRadius", void 0), _define_property(_this, "align", void 0), _define_property(_this, "verticalAlign", void 0), _define_property(_this, "innerBorder", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
92
|
-
_this.
|
|
93
|
-
|
|
94
|
-
_this.
|
|
84
|
+
var _props_rowCount;
|
|
85
|
+
_this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
|
|
86
|
+
var _props_colCount;
|
|
87
|
+
_this.colCount = (_props_colCount = props === null || props === void 0 ? void 0 : props.colCount) !== null && _props_colCount !== void 0 ? _props_colCount : 2;
|
|
88
|
+
var _props_labelPosition;
|
|
89
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'left';
|
|
90
|
+
var _props_colWidthType;
|
|
91
|
+
_this.colWidthType = (_props_colWidthType = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _props_colWidthType !== void 0 ? _props_colWidthType : 'average';
|
|
92
|
+
var _props_colWidth;
|
|
93
|
+
_this.colWidth = (_props_colWidth = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _props_colWidth !== void 0 ? _props_colWidth : '12:12';
|
|
94
|
+
var _props_isLabelBold;
|
|
95
|
+
_this.isLabelBold = (_props_isLabelBold = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _props_isLabelBold !== void 0 ? _props_isLabelBold : false;
|
|
96
|
+
var _props_labelWidth;
|
|
97
|
+
_this.labelWidth = (_props_labelWidth = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _props_labelWidth !== void 0 ? _props_labelWidth : '';
|
|
98
|
+
var _props_align;
|
|
99
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
100
|
+
var _props_verticalAlign;
|
|
101
|
+
_this.verticalAlign = (_props_verticalAlign = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _props_verticalAlign !== void 0 ? _props_verticalAlign : 'center';
|
|
102
|
+
var _props_padding;
|
|
103
|
+
_this.padding = (_props_padding = props === null || props === void 0 ? void 0 : props.padding) !== null && _props_padding !== void 0 ? _props_padding : {
|
|
95
104
|
paddingTop: '',
|
|
96
105
|
paddingRight: '',
|
|
97
106
|
paddingBottom: '',
|
|
98
107
|
paddingLeft: ''
|
|
99
108
|
};
|
|
100
|
-
|
|
109
|
+
var _props_margin;
|
|
110
|
+
_this.margin = (_props_margin = props === null || props === void 0 ? void 0 : props.margin) !== null && _props_margin !== void 0 ? _props_margin : {
|
|
101
111
|
marginTop: '',
|
|
102
112
|
marginRight: '',
|
|
103
113
|
marginBottom: '',
|
|
104
114
|
marginLeft: ''
|
|
105
115
|
};
|
|
106
|
-
|
|
116
|
+
var _props_border;
|
|
117
|
+
_this.border = (_props_border = props === null || props === void 0 ? void 0 : props.border) !== null && _props_border !== void 0 ? _props_border : {
|
|
107
118
|
borderTop: true,
|
|
108
119
|
borderBottom: true,
|
|
109
120
|
borderLeft: true,
|
|
@@ -112,19 +123,22 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
112
123
|
borderColor: '',
|
|
113
124
|
borderType: 'solid'
|
|
114
125
|
};
|
|
115
|
-
|
|
126
|
+
var _props_borderRadius;
|
|
127
|
+
_this.borderRadius = (_props_borderRadius = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _props_borderRadius !== void 0 ? _props_borderRadius : {
|
|
116
128
|
borderTopLeftRadius: '',
|
|
117
129
|
borderTopRightRadius: '',
|
|
118
130
|
borderBottomRightRadius: '',
|
|
119
131
|
borderBottomLeftRadius: ''
|
|
120
132
|
};
|
|
121
|
-
|
|
133
|
+
var _props_background;
|
|
134
|
+
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
122
135
|
type: 'backgroundColor',
|
|
123
136
|
backgroundColor: '',
|
|
124
137
|
backgroundImage: '',
|
|
125
138
|
placementMode: 'contain'
|
|
126
139
|
};
|
|
127
|
-
|
|
140
|
+
var _props_innerBorder;
|
|
141
|
+
_this.innerBorder = (_props_innerBorder = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _props_innerBorder !== void 0 ? _props_innerBorder : {
|
|
128
142
|
borderWidth: 1,
|
|
129
143
|
borderColor: '',
|
|
130
144
|
borderType: 'solid'
|
|
@@ -78,25 +78,34 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
78
78
|
function TableLayoutColControlProperty(props) {
|
|
79
79
|
_class_call_check(this, TableLayoutColControlProperty);
|
|
80
80
|
var _this;
|
|
81
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
82
81
|
_this = _call_super(this, TableLayoutColControlProperty, [
|
|
83
82
|
props
|
|
84
83
|
]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0), _define_property(_this, "tableLayoutColSpan", void 0), _define_property(_this, "tableLayoutColSpanType", void 0), _define_property(_this, "layout", void 0), _define_property(_this, "flexDirection", void 0), _define_property(_this, "alignItems", void 0), _define_property(_this, "justifyContent", void 0), _define_property(_this, "background", void 0), _define_property(_this, "isLabelCol", void 0);
|
|
85
|
-
|
|
86
|
-
_this.
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
92
|
-
_this.
|
|
93
|
-
|
|
84
|
+
var _props_span;
|
|
85
|
+
_this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
|
|
86
|
+
var _props_offset;
|
|
87
|
+
_this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
|
|
88
|
+
var _props_tableLayoutColSpan;
|
|
89
|
+
_this.tableLayoutColSpan = (_props_tableLayoutColSpan = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _props_tableLayoutColSpan !== void 0 ? _props_tableLayoutColSpan : 0;
|
|
90
|
+
var _props_tableLayoutColSpanType;
|
|
91
|
+
_this.tableLayoutColSpanType = (_props_tableLayoutColSpanType = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _props_tableLayoutColSpanType !== void 0 ? _props_tableLayoutColSpanType : '';
|
|
92
|
+
var _props_layout;
|
|
93
|
+
_this.layout = (_props_layout = props === null || props === void 0 ? void 0 : props.layout) !== null && _props_layout !== void 0 ? _props_layout : 'flex';
|
|
94
|
+
var _props_flexDirection;
|
|
95
|
+
_this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
|
|
96
|
+
var _props_alignItems;
|
|
97
|
+
_this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
|
|
98
|
+
var _props_justifyContent;
|
|
99
|
+
_this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
|
|
100
|
+
var _props_background;
|
|
101
|
+
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
94
102
|
type: 'backgroundColor',
|
|
95
103
|
backgroundColor: '',
|
|
96
104
|
backgroundImage: '',
|
|
97
105
|
placementMode: 'contain'
|
|
98
106
|
};
|
|
99
|
-
|
|
107
|
+
var _props_isLabelCol;
|
|
108
|
+
_this.isLabelCol = (_props_isLabelCol = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _props_isLabelCol !== void 0 ? _props_isLabelCol : false;
|
|
100
109
|
return _this;
|
|
101
110
|
}
|
|
102
111
|
return TableLayoutColControlProperty;
|
|
@@ -77,12 +77,13 @@ var TableLayoutRowControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
77
77
|
function TableLayoutRowControlProperty(props) {
|
|
78
78
|
_class_call_check(this, TableLayoutRowControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1;
|
|
81
80
|
_this = _call_super(this, TableLayoutRowControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
83
|
+
var _props_layoutMode;
|
|
84
|
+
_this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
|
|
85
|
+
var _props_gutter;
|
|
86
|
+
_this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
|
|
86
87
|
return _this;
|
|
87
88
|
}
|
|
88
89
|
return TableLayoutRowControlProperty;
|
|
@@ -77,13 +77,15 @@ var TableLayoutWrapperControlProperty = /*#__PURE__*/ function(LayoutControlProp
|
|
|
77
77
|
function TableLayoutWrapperControlProperty(props) {
|
|
78
78
|
_class_call_check(this, TableLayoutWrapperControlProperty);
|
|
79
79
|
var _this;
|
|
80
|
-
var _ref, _ref1, _ref2;
|
|
81
80
|
_this = _call_super(this, TableLayoutWrapperControlProperty, [
|
|
82
81
|
props
|
|
83
82
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthCompany", void 0), _define_property(_this, "showFormBorder", void 0);
|
|
84
|
-
|
|
85
|
-
_this.
|
|
86
|
-
|
|
83
|
+
var _props_width;
|
|
84
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
|
|
85
|
+
var _props_widthCompany;
|
|
86
|
+
_this.widthCompany = (_props_widthCompany = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _props_widthCompany !== void 0 ? _props_widthCompany : 'px';
|
|
87
|
+
var _props_showFormBorder;
|
|
88
|
+
_this.showFormBorder = (_props_showFormBorder = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _props_showFormBorder !== void 0 ? _props_showFormBorder : false;
|
|
87
89
|
return _this;
|
|
88
90
|
}
|
|
89
91
|
return TableLayoutWrapperControlProperty;
|
|
@@ -191,17 +191,9 @@ function _ts_generator(thisArg, body) {
|
|
|
191
191
|
},
|
|
192
192
|
trys: [],
|
|
193
193
|
ops: []
|
|
194
|
-
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype)
|
|
195
|
-
return
|
|
196
|
-
|
|
197
|
-
}), d(g, "throw", {
|
|
198
|
-
value: verb(1)
|
|
199
|
-
}), d(g, "return", {
|
|
200
|
-
value: verb(2)
|
|
201
|
-
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
202
|
-
value: function() {
|
|
203
|
-
return this;
|
|
204
|
-
}
|
|
194
|
+
}, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
|
|
195
|
+
return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
196
|
+
return this;
|
|
205
197
|
}), g;
|
|
206
198
|
function verb(n) {
|
|
207
199
|
return function(v) {
|
|
@@ -340,7 +332,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
|
|
|
340
332
|
key: "validate",
|
|
341
333
|
value: function validate(messages, ignore) {
|
|
342
334
|
var _this = this;
|
|
343
|
-
var _this1 = this, _superprop_get_validate = function
|
|
335
|
+
var _this1 = this, _superprop_get_validate = function() {
|
|
344
336
|
return _get(_get_prototype_of(GridTableControl.prototype), "validate", _this);
|
|
345
337
|
};
|
|
346
338
|
return _async_to_generator(function() {
|