@byteluck-fe/model-driven-controls 7.0.0-beta.5 → 7.0.0-beta.6
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/BarChart/designer.js +11 -11
- package/dist/esm/baseControls/BarChart/property.js +73 -22
- package/dist/esm/baseControls/BatchDeleteButton/property.js +23 -15
- package/dist/esm/baseControls/BatchPrintListButton/property.js +14 -11
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
- package/dist/esm/baseControls/Button/property.js +27 -17
- package/dist/esm/baseControls/Comment/property.js +7 -7
- package/dist/esm/baseControls/CreateFormListButton/property.js +13 -10
- package/dist/esm/baseControls/Dashboard/property.js +21 -14
- package/dist/esm/baseControls/Divider/property.js +17 -12
- package/dist/esm/baseControls/ExportListButton/property.js +14 -11
- package/dist/esm/baseControls/ExportRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/FormSelectButton/property.js +11 -9
- package/dist/esm/baseControls/Iframe/designer.js +4 -4
- package/dist/esm/baseControls/Iframe/property.js +10 -7
- package/dist/esm/baseControls/ImportRecordListButton/property.js +14 -11
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +24 -16
- package/dist/esm/baseControls/LineChart/designer.js +7 -7
- package/dist/esm/baseControls/LineChart/property.js +73 -22
- package/dist/esm/baseControls/Link/property.js +17 -12
- package/dist/esm/baseControls/ListSelectButton/property.js +15 -11
- package/dist/esm/baseControls/ListViewSelect/property.js +10 -9
- package/dist/esm/baseControls/OperationButton/property.js +17 -12
- package/dist/esm/baseControls/Pagination/property.js +5 -5
- package/dist/esm/baseControls/PieChart/designer.js +10 -10
- package/dist/esm/baseControls/PieChart/property.js +80 -20
- package/dist/esm/baseControls/ReferenceList/property.js +17 -12
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +9 -8
- package/dist/esm/baseControls/Text/designer.js +1 -1
- package/dist/esm/baseControls/Text/property.js +23 -15
- package/dist/esm/baseControls/TextOcrButton/property.js +24 -16
- package/dist/esm/baseControls/Title/property.js +6 -4
- package/dist/esm/baseControls/utils.js +1 -1
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -9
- package/dist/esm/columnControls/ArrayColumn/property.js +13 -10
- package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -8
- package/dist/esm/columnControls/CustomColumn/designer.js +0 -1
- package/dist/esm/columnControls/CustomColumn/property.js +11 -9
- package/dist/esm/columnControls/DecimalColumn/property.js +19 -13
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -8
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -8
- package/dist/esm/columnControls/FileColumn/property.js +9 -8
- package/dist/esm/columnControls/GroupColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/LocationColumn/property.js +9 -8
- package/dist/esm/columnControls/OperationColumn/designer.js +12 -16
- package/dist/esm/columnControls/OperationColumn/property.js +15 -11
- package/dist/esm/columnControls/OrderColumn/property.js +17 -12
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/TextColumn/property.js +13 -10
- package/dist/esm/columnControls/TimescopeColumn/property.js +13 -10
- package/dist/esm/columnControls/TimestampColumn/property.js +13 -10
- package/dist/esm/columnControls/VarcharColumn/property.js +17 -12
- package/dist/esm/formControls/Address/property.js +17 -12
- package/dist/esm/formControls/Amount/property.js +29 -18
- package/dist/esm/formControls/Attachment/property.js +39 -23
- package/dist/esm/formControls/AutoNumber/property.js +11 -9
- package/dist/esm/formControls/Barcode/designer.js +41 -21
- package/dist/esm/formControls/Barcode/property.js +21 -13
- package/dist/esm/formControls/Barcode/schema.json +19 -8
- 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 +31 -17
- package/dist/esm/formControls/Counter/property.js +18 -10
- package/dist/esm/formControls/DatePicker/property.js +32 -20
- package/dist/esm/formControls/DateRange/property.js +28 -18
- package/dist/esm/formControls/Department/property.js +27 -17
- package/dist/esm/formControls/Department2/property.js +40 -24
- package/dist/esm/formControls/ElectronicSignature/property.js +17 -12
- package/dist/esm/formControls/Employee/property.js +23 -15
- package/dist/esm/formControls/Employee2/property.js +38 -22
- package/dist/esm/formControls/Image/designer.js +8 -8
- package/dist/esm/formControls/Image/property.js +17 -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 +41 -24
- package/dist/esm/formControls/QrCode/designer.js +47 -27
- package/dist/esm/formControls/QrCode/property.js +24 -17
- package/dist/esm/formControls/QrCode/schema.json +20 -9
- package/dist/esm/formControls/Radio/property.js +33 -20
- package/dist/esm/formControls/RichText/designer.js +1 -1
- package/dist/esm/formControls/RichText/property.js +22 -12
- package/dist/esm/formControls/Score/property.js +17 -10
- package/dist/esm/formControls/SearchDateRange/property.js +30 -19
- package/dist/esm/formControls/SearchInput/property.js +5 -5
- package/dist/esm/formControls/SearchNumberRange/property.js +17 -12
- package/dist/esm/formControls/Select/property.js +29 -18
- package/dist/esm/formControls/SelectMultiple/property.js +27 -17
- package/dist/esm/formControls/SelectRelation/property.js +31 -19
- package/dist/esm/formControls/Slider/designer.js +2 -1
- package/dist/esm/formControls/Slider/property.js +22 -17
- package/dist/esm/formControls/Switch/designer.js +15 -14
- package/dist/esm/formControls/Switch/property.js +19 -10
- package/dist/esm/formControls/Tag/designer.js +14 -13
- package/dist/esm/formControls/Tag/property.js +23 -15
- package/dist/esm/formControls/Textarea/property.js +20 -11
- package/dist/esm/formControls/TimePicker/property.js +20 -14
- package/dist/esm/formControls/TimeRange/property.js +24 -16
- package/dist/esm/formControls/Tree/property.js +39 -21
- package/dist/esm/formControls/VueFormItem/property.js +15 -11
- package/dist/esm/formControls/VuePage/property.js +15 -11
- package/dist/esm/formControls/WPS/designer.js +9 -9
- package/dist/esm/formControls/WPS/property.js +29 -18
- package/dist/esm/framework.js +135 -81
- package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
- package/dist/esm/layoutControls/ActionBar/property.js +11 -9
- package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
- package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
- package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
- package/dist/esm/layoutControls/BlankContainer/property.js +15 -12
- package/dist/esm/layoutControls/CardGroup/property.js +20 -11
- package/dist/esm/layoutControls/Col/property.js +11 -9
- package/dist/esm/layoutControls/Collapse/designer.js +2 -2
- package/dist/esm/layoutControls/Collapse/property.js +9 -8
- package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
- package/dist/esm/layoutControls/DataView/property.js +19 -13
- package/dist/esm/layoutControls/Grid/property.js +5 -5
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +9 -8
- package/dist/esm/layoutControls/GridRow/property.js +5 -5
- package/dist/esm/layoutControls/GridTableColumn/property.js +25 -16
- package/dist/esm/layoutControls/ListView/property.js +28 -15
- package/dist/esm/layoutControls/Page/property.js +7 -7
- package/dist/esm/layoutControls/Position/property.js +13 -10
- package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
- package/dist/esm/layoutControls/Row/property.js +15 -11
- package/dist/esm/layoutControls/Step/designer.js +2 -2
- package/dist/esm/layoutControls/Step/property.js +27 -17
- package/dist/esm/layoutControls/StepPane/property.js +21 -14
- package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
- package/dist/esm/layoutControls/Tab/designer.js +2 -2
- package/dist/esm/layoutControls/Tab/property.js +15 -11
- package/dist/esm/layoutControls/TabPane/property.js +7 -7
- package/dist/esm/layoutControls/TableLayout/property.js +35 -21
- package/dist/esm/layoutControls/TableLayoutCol/property.js +25 -16
- package/dist/esm/layoutControls/TableLayoutRow/property.js +9 -8
- package/dist/esm/layoutControls/TableLayoutWrapper/property.js +11 -9
- package/dist/esm/layoutControls/Toolbox/property.js +5 -5
- package/dist/esm/listControls/GridTable/designer.js +12 -17
- package/dist/esm/listControls/GridTable/property.js +15 -11
- package/dist/esm/listControls/SubTable/property.js +70 -36
- package/dist/esm/searchControls/SimpleSearch/property.js +29 -18
- 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 +7 -7
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Barcode/property.d.ts +5 -10
- package/dist/types/formControls/QrCode/property.d.ts +5 -10
- package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
- package/package.json +2 -2
|
@@ -220,30 +220,43 @@ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
220
220
|
function ListViewControlProperty(props) {
|
|
221
221
|
_class_call_check(this, ListViewControlProperty);
|
|
222
222
|
var _this;
|
|
223
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
|
|
224
223
|
_this = _call_super(this, ListViewControlProperty, [
|
|
225
224
|
props
|
|
226
225
|
]), _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);
|
|
227
226
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
228
|
-
|
|
229
|
-
_this.
|
|
230
|
-
|
|
231
|
-
_this.
|
|
227
|
+
var _props_isLoading;
|
|
228
|
+
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
229
|
+
var _props_isShowSubList;
|
|
230
|
+
_this.isShowSubList = (_props_isShowSubList = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _props_isShowSubList !== void 0 ? _props_isShowSubList : false;
|
|
231
|
+
var _props_triggerType;
|
|
232
|
+
_this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
|
|
233
|
+
var _props_triggerFieldCode;
|
|
234
|
+
_this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
|
|
232
235
|
_this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
|
|
233
|
-
|
|
236
|
+
var _props_isShowJoinRelation;
|
|
237
|
+
_this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
|
|
234
238
|
_this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
|
|
235
|
-
|
|
236
|
-
_this.
|
|
237
|
-
|
|
238
|
-
_this.
|
|
239
|
-
|
|
240
|
-
_this.
|
|
239
|
+
var _props_showType;
|
|
240
|
+
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'stretch';
|
|
241
|
+
var _props_showFullScreen;
|
|
242
|
+
_this.showFullScreen = (_props_showFullScreen = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _props_showFullScreen !== void 0 ? _props_showFullScreen : false;
|
|
243
|
+
var _props_selectionType;
|
|
244
|
+
_this.selectionType = (_props_selectionType = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _props_selectionType !== void 0 ? _props_selectionType : 'multiple';
|
|
245
|
+
var _props_isFixedHeader;
|
|
246
|
+
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
247
|
+
var _props_isShowSelection;
|
|
248
|
+
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
249
|
+
var _props_isAllLoaded;
|
|
250
|
+
_this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
|
|
241
251
|
_this.countType = props === null || props === void 0 ? void 0 : props.countType;
|
|
242
|
-
|
|
252
|
+
var _props_countLimit;
|
|
253
|
+
_this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
|
|
243
254
|
_this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
|
|
244
|
-
|
|
255
|
+
var _props_isTreeData;
|
|
256
|
+
_this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
|
|
245
257
|
_this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
|
|
246
|
-
|
|
258
|
+
var _props_isMasterDetail;
|
|
259
|
+
_this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
|
|
247
260
|
_this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
|
|
248
261
|
return _this;
|
|
249
262
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_page
|
|
3
|
+
* description: 页面容器组件。用于定义整页内容区域的基础展示结构。支持隐藏页头、背景色、最小/最大宽度和高度填充策略设置。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,21 +73,18 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_page
|
|
75
|
-
* description: 页面容器组件。用于定义整页内容区域的基础展示结构。支持隐藏页头、背景色、最小/最大宽度和高度填充策略设置。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(PageProperty, LayoutControlProperty);
|
|
80
80
|
function PageProperty(props) {
|
|
81
81
|
_class_call_check(this, PageProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref;
|
|
84
83
|
_this = _call_super(this, PageProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _define_property(_this, "hideHeader", void 0), _define_property(_this, "background", '#fff'), _define_property(_this, "minWidth", ''), _define_property(_this, "maxWidth", ''), _define_property(_this, "heightConfig", 'auto');
|
|
87
|
-
|
|
86
|
+
var _props_hideHeader;
|
|
87
|
+
_this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
|
|
88
88
|
return _this;
|
|
89
89
|
}
|
|
90
90
|
return PageProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_position
|
|
3
|
+
* description: 定位布局项组件。用于在定位容器中按坐标和占比放置内容。支持宽高占比以及顶部、左侧偏移,适合自由布局场景。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,24 +73,24 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_position
|
|
75
|
-
* description: 定位布局项组件。用于在定位容器中按坐标和占比放置内容。支持宽高占比以及顶部、左侧偏移,适合自由布局场景。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(PositionProperty, LayoutControlProperty);
|
|
80
80
|
function PositionProperty(props) {
|
|
81
81
|
_class_call_check(this, PositionProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3;
|
|
84
83
|
_this = _call_super(this, PositionProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _define_property(_this, "widthSpan", void 0), _define_property(_this, "heightSpan", void 0), _define_property(_this, "left", void 0), _define_property(_this, "top", void 0);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
86
|
+
var _props_widthSpan;
|
|
87
|
+
_this.widthSpan = (_props_widthSpan = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _props_widthSpan !== void 0 ? _props_widthSpan : 12;
|
|
88
|
+
var _props_heightSpan;
|
|
89
|
+
_this.heightSpan = (_props_heightSpan = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _props_heightSpan !== void 0 ? _props_heightSpan : 12;
|
|
90
|
+
var _props_left;
|
|
91
|
+
_this.left = (_props_left = props === null || props === void 0 ? void 0 : props.left) !== null && _props_left !== void 0 ? _props_left : 0;
|
|
92
|
+
var _props_top;
|
|
93
|
+
_this.top = (_props_top = props === null || props === void 0 ? void 0 : props.top) !== null && _props_top !== void 0 ? _props_top : 0;
|
|
91
94
|
return _this;
|
|
92
95
|
}
|
|
93
96
|
return PositionProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_positioning_container
|
|
3
|
+
* description: 定位容器组件。用于承载自由摆放的定位布局内容。当前继承基础布局属性,适合与定位项配合搭建画布式页面。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -57,10 +60,7 @@ function _is_native_reflect_construct() {
|
|
|
57
60
|
return !!result;
|
|
58
61
|
})();
|
|
59
62
|
}
|
|
60
|
-
|
|
61
|
-
* name: rok_positioning_container
|
|
62
|
-
* description: 定位容器组件。用于承载自由摆放的定位布局内容。当前继承基础布局属性,适合与定位项配合搭建画布式页面。
|
|
63
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
63
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
64
64
|
var PositioningContainerProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
65
65
|
"use strict";
|
|
66
66
|
_inherits(PositioningContainerProperty, LayoutControlProperty);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_row
|
|
3
|
+
* description: 行布局容器组件。用于按行组织多个控件并进行横向编排。支持预设/自定义布局模式、间距、主侧轴对齐、内外边距和整行占满设置。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,27 +73,28 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_row
|
|
75
|
-
* description: 行布局容器组件。用于按行组织多个控件并进行横向编排。支持预设/自定义布局模式、间距、主侧轴对齐、内外边距和整行占满设置。
|
|
76
|
-
*/ import { LayoutControlProperty, Margin, Padding } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty, Margin, Padding } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(RowControlProperty, LayoutControlProperty);
|
|
80
80
|
function RowControlProperty(props) {
|
|
81
81
|
_class_call_check(this, RowControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
84
83
|
_this = _call_super(this, RowControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _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);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
86
|
+
var _props_layoutMode;
|
|
87
|
+
_this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
|
|
88
|
+
var _props_gutter;
|
|
89
|
+
_this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
|
|
90
|
+
var _props_align;
|
|
91
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
92
|
+
var _props_justify;
|
|
93
|
+
_this.justify = (_props_justify = props === null || props === void 0 ? void 0 : props.justify) !== null && _props_justify !== void 0 ? _props_justify : '';
|
|
91
94
|
_this.padding = new Padding(props === null || props === void 0 ? void 0 : props.padding);
|
|
92
95
|
_this.margin = new Margin(props === null || props === void 0 ? void 0 : props.margin);
|
|
93
|
-
|
|
96
|
+
var _props_isFull;
|
|
97
|
+
_this.isFull = (_props_isFull = props === null || props === void 0 ? void 0 : props.isFull) !== null && _props_isFull !== void 0 ? _props_isFull : false;
|
|
94
98
|
return _this;
|
|
95
99
|
}
|
|
96
100
|
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()
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_step
|
|
3
|
+
* description: 步骤条容器组件。用于分步骤表单、流程导航和向导式填写场景。支持方向、标签位置、尺寸、导航样式、粘性展示、步骤状态以及前后切换按钮配置。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,31 +73,38 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_step
|
|
75
|
-
* description: 步骤条容器组件。用于分步骤表单、流程导航和向导式填写场景。支持方向、标签位置、尺寸、导航样式、粘性展示、步骤状态以及前后切换按钮配置。
|
|
76
|
-
*/ import { LayoutControlProperty, StepButtons } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty, StepButtons } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(StepControlProperty, LayoutControlProperty);
|
|
80
80
|
function StepControlProperty(props) {
|
|
81
81
|
_class_call_check(this, StepControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
|
|
84
83
|
_this = _call_super(this, StepControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _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);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
92
|
-
_this.
|
|
93
|
-
|
|
94
|
-
_this.
|
|
95
|
-
|
|
96
|
-
_this.
|
|
97
|
-
|
|
86
|
+
var _props_direction;
|
|
87
|
+
_this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'horizontal';
|
|
88
|
+
var _props_labelPlacement;
|
|
89
|
+
_this.labelPlacement = (_props_labelPlacement = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _props_labelPlacement !== void 0 ? _props_labelPlacement : 'horizontal';
|
|
90
|
+
var _props_size;
|
|
91
|
+
_this.size = (_props_size = props === null || props === void 0 ? void 0 : props.size) !== null && _props_size !== void 0 ? _props_size : 'default';
|
|
92
|
+
var _props_type;
|
|
93
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
|
|
94
|
+
var _props_isSticky;
|
|
95
|
+
_this.isSticky = (_props_isSticky = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _props_isSticky !== void 0 ? _props_isSticky : false;
|
|
96
|
+
var _props_step;
|
|
97
|
+
_this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : '';
|
|
98
|
+
var _props_isCenter;
|
|
99
|
+
_this.isCenter = (_props_isCenter = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _props_isCenter !== void 0 ? _props_isCenter : false;
|
|
100
|
+
var _props_isStopStepClick;
|
|
101
|
+
_this.isStopStepClick = (_props_isStopStepClick = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _props_isStopStepClick !== void 0 ? _props_isStopStepClick : true;
|
|
102
|
+
var _props_status;
|
|
103
|
+
_this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'process';
|
|
104
|
+
var _props_stopStatus;
|
|
105
|
+
_this.stopStatus = (_props_stopStatus = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _props_stopStatus !== void 0 ? _props_stopStatus : 'finish';
|
|
106
|
+
var _props_isShowStepButton;
|
|
107
|
+
_this.isShowStepButton = (_props_isShowStepButton = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _props_isShowStepButton !== void 0 ? _props_isShowStepButton : false;
|
|
98
108
|
_this.stepButtons = new StepButtons(props === null || props === void 0 ? void 0 : props.stepButtons);
|
|
99
109
|
return _this;
|
|
100
110
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_step_pane
|
|
3
|
+
* description: 步骤项组件。用于定义步骤条中的单个步骤内容与状态。支持标题、副标题、图标、颜色、状态、描述、禁用和默认选中设置。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,29 +73,33 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_step_pane
|
|
75
|
-
* description: 步骤项组件。用于定义步骤条中的单个步骤内容与状态。支持标题、副标题、图标、颜色、状态、描述、禁用和默认选中设置。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(StepPaneControlProperty, LayoutControlProperty);
|
|
80
80
|
function StepPaneControlProperty(props) {
|
|
81
81
|
_class_call_check(this, StepPaneControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
84
83
|
_this = _call_super(this, StepPaneControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), // static readonly Rules = StepPaneControlPropertyRules
|
|
87
86
|
_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);
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.
|
|
94
|
-
|
|
95
|
-
_this.
|
|
87
|
+
var _props_title;
|
|
88
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
89
|
+
var _props_subTitle;
|
|
90
|
+
_this.subTitle = (_props_subTitle = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _props_subTitle !== void 0 ? _props_subTitle : '';
|
|
91
|
+
var _props_disabled;
|
|
92
|
+
_this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
|
|
93
|
+
var _props_icon;
|
|
94
|
+
_this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
|
|
95
|
+
var _props_color;
|
|
96
|
+
_this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
97
|
+
var _props_status;
|
|
98
|
+
_this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'wait';
|
|
99
|
+
var _props_description;
|
|
100
|
+
_this.description = (_props_description = props === null || props === void 0 ? void 0 : props.description) !== null && _props_description !== void 0 ? _props_description : '';
|
|
101
|
+
var _props_isDefault;
|
|
102
|
+
_this.isDefault = (_props_isDefault = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
|
|
96
103
|
return _this;
|
|
97
104
|
}
|
|
98
105
|
return StepPaneControlProperty;
|
|
@@ -109,15 +109,19 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
109
109
|
function SubTableColumnControlProperty(props) {
|
|
110
110
|
_class_call_check(this, SubTableColumnControlProperty);
|
|
111
111
|
var _this;
|
|
112
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
113
112
|
_this = _call_super(this, SubTableColumnControlProperty, [
|
|
114
113
|
props
|
|
115
114
|
]), _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);
|
|
116
|
-
|
|
117
|
-
_this.
|
|
118
|
-
|
|
119
|
-
_this.
|
|
120
|
-
|
|
115
|
+
var _props_caption;
|
|
116
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
117
|
+
var _props_fixed;
|
|
118
|
+
_this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
|
|
119
|
+
var _props_isShowCaptionTip;
|
|
120
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
121
|
+
var _props_captionTip;
|
|
122
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
123
|
+
var _props_isHideCaption;
|
|
124
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
121
125
|
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
122
126
|
return _this;
|
|
123
127
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_sub_table_row
|
|
3
|
+
* description: 子表行容器组件。用于组织明细子表中的单行布局内容。当前继承基础布局属性,适合与子表列共同构建明细结构。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -57,10 +60,7 @@ function _is_native_reflect_construct() {
|
|
|
57
60
|
return !!result;
|
|
58
61
|
})();
|
|
59
62
|
}
|
|
60
|
-
|
|
61
|
-
* name: rok_sub_table_row
|
|
62
|
-
* description: 子表行容器组件。用于组织明细子表中的单行布局内容。当前继承基础布局属性,适合与子表列共同构建明细结构。
|
|
63
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
63
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
64
64
|
var SubtableRowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
65
65
|
"use strict";
|
|
66
66
|
_inherits(SubtableRowControlProperty, LayoutControlProperty);
|
|
@@ -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
|
];
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_tab
|
|
3
|
+
* description: 选项卡容器组件。用于将内容分为多个页签按需切换展示。支持移动端展示方式、线条/卡片风格、页签位置、标签撑开和内容延迟渲染。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,25 +73,26 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_tab
|
|
75
|
-
* description: 选项卡容器组件。用于将内容分为多个页签按需切换展示。支持移动端展示方式、线条/卡片风格、页签位置、标签撑开和内容延迟渲染。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TabControlProperty, LayoutControlProperty);
|
|
80
80
|
function TabControlProperty(props) {
|
|
81
81
|
_class_call_check(this, TabControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
84
83
|
_this = _call_super(this, TabControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _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);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
86
|
+
var _props_mobileShowType;
|
|
87
|
+
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'vertical';
|
|
88
|
+
var _props_type;
|
|
89
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'line';
|
|
90
|
+
var _props_tabPosition;
|
|
91
|
+
_this.tabPosition = (_props_tabPosition = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _props_tabPosition !== void 0 ? _props_tabPosition : 'top';
|
|
92
|
+
var _props_isLabelFlat;
|
|
93
|
+
_this.isLabelFlat = (_props_isLabelFlat = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _props_isLabelFlat !== void 0 ? _props_isLabelFlat : false;
|
|
94
|
+
var _props_isDelay;
|
|
95
|
+
_this.isDelay = (_props_isDelay = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _props_isDelay !== void 0 ? _props_isDelay : false;
|
|
92
96
|
return _this;
|
|
93
97
|
}
|
|
94
98
|
return TabControlProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_tab_pane
|
|
3
|
+
* description: 选项卡子页签组件。用于承载单个页签对应的内容区域。支持配置页签标题,适合与选项卡容器组合实现分组切换展示。
|
|
4
|
+
*/ function _assert_this_initialized(self) {
|
|
2
5
|
if (self === void 0) {
|
|
3
6
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
7
|
}
|
|
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_tab_pane
|
|
75
|
-
* description: 选项卡子页签组件。用于承载单个页签对应的内容区域。支持配置页签标题,适合与选项卡容器组合实现分组切换展示。
|
|
76
|
-
*/ import { LayoutControlProperty, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty, PropertyRules } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
import { DesignerTabControl } from '../Tab';
|
|
78
78
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
79
79
|
var TabPaneControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -99,11 +99,11 @@ var TabPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
99
99
|
function TabPaneControlProperty(props) {
|
|
100
100
|
_class_call_check(this, TabPaneControlProperty);
|
|
101
101
|
var _this;
|
|
102
|
-
var _ref;
|
|
103
102
|
_this = _call_super(this, TabPaneControlProperty, [
|
|
104
103
|
props
|
|
105
104
|
]), _define_property(_this, "caption", void 0);
|
|
106
|
-
|
|
105
|
+
var _props_caption;
|
|
106
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTabControl.controlName;
|
|
107
107
|
return _this;
|
|
108
108
|
}
|
|
109
109
|
return TabPaneControlProperty;
|