@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
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_table_layout
|
|
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,42 +73,50 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_table_layout
|
|
75
|
-
* description: 表格布局容器组件。用于构建按行列对齐的表单编排场景。支持行列数、标题位置、列宽分配、标题宽度、边框背景、圆角和内外边距等表格式布局能力。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TableLayoutControlProperty, LayoutControlProperty);
|
|
80
80
|
function TableLayoutControlProperty(props) {
|
|
81
81
|
_class_call_check(this, TableLayoutControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
|
|
84
83
|
_this = _call_super(this, TableLayoutControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _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), _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);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
90
|
-
_this.
|
|
91
|
-
|
|
92
|
-
_this.
|
|
93
|
-
|
|
94
|
-
_this.
|
|
95
|
-
|
|
96
|
-
_this.
|
|
86
|
+
var _props_rowCount;
|
|
87
|
+
_this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
|
|
88
|
+
var _props_colCount;
|
|
89
|
+
_this.colCount = (_props_colCount = props === null || props === void 0 ? void 0 : props.colCount) !== null && _props_colCount !== void 0 ? _props_colCount : 2;
|
|
90
|
+
var _props_labelPosition;
|
|
91
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'left';
|
|
92
|
+
var _props_colWidthType;
|
|
93
|
+
_this.colWidthType = (_props_colWidthType = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _props_colWidthType !== void 0 ? _props_colWidthType : 'average';
|
|
94
|
+
var _props_colWidth;
|
|
95
|
+
_this.colWidth = (_props_colWidth = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _props_colWidth !== void 0 ? _props_colWidth : '12:12';
|
|
96
|
+
var _props_isLabelBold;
|
|
97
|
+
_this.isLabelBold = (_props_isLabelBold = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _props_isLabelBold !== void 0 ? _props_isLabelBold : false;
|
|
98
|
+
var _props_labelWidth;
|
|
99
|
+
_this.labelWidth = (_props_labelWidth = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _props_labelWidth !== void 0 ? _props_labelWidth : '';
|
|
100
|
+
var _props_align;
|
|
101
|
+
_this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
|
|
102
|
+
var _props_verticalAlign;
|
|
103
|
+
_this.verticalAlign = (_props_verticalAlign = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _props_verticalAlign !== void 0 ? _props_verticalAlign : 'center';
|
|
104
|
+
var _props_padding;
|
|
105
|
+
_this.padding = (_props_padding = props === null || props === void 0 ? void 0 : props.padding) !== null && _props_padding !== void 0 ? _props_padding : {
|
|
97
106
|
paddingTop: '',
|
|
98
107
|
paddingRight: '',
|
|
99
108
|
paddingBottom: '',
|
|
100
109
|
paddingLeft: ''
|
|
101
110
|
};
|
|
102
|
-
|
|
111
|
+
var _props_margin;
|
|
112
|
+
_this.margin = (_props_margin = props === null || props === void 0 ? void 0 : props.margin) !== null && _props_margin !== void 0 ? _props_margin : {
|
|
103
113
|
marginTop: '',
|
|
104
114
|
marginRight: '',
|
|
105
115
|
marginBottom: '',
|
|
106
116
|
marginLeft: ''
|
|
107
117
|
};
|
|
108
|
-
|
|
118
|
+
var _props_border;
|
|
119
|
+
_this.border = (_props_border = props === null || props === void 0 ? void 0 : props.border) !== null && _props_border !== void 0 ? _props_border : {
|
|
109
120
|
borderTop: true,
|
|
110
121
|
borderBottom: true,
|
|
111
122
|
borderLeft: true,
|
|
@@ -114,19 +125,22 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
114
125
|
borderColor: '',
|
|
115
126
|
borderType: 'solid'
|
|
116
127
|
};
|
|
117
|
-
|
|
128
|
+
var _props_borderRadius;
|
|
129
|
+
_this.borderRadius = (_props_borderRadius = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _props_borderRadius !== void 0 ? _props_borderRadius : {
|
|
118
130
|
borderTopLeftRadius: '',
|
|
119
131
|
borderTopRightRadius: '',
|
|
120
132
|
borderBottomRightRadius: '',
|
|
121
133
|
borderBottomLeftRadius: ''
|
|
122
134
|
};
|
|
123
|
-
|
|
135
|
+
var _props_background;
|
|
136
|
+
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
124
137
|
type: 'backgroundColor',
|
|
125
138
|
backgroundColor: '',
|
|
126
139
|
backgroundImage: '',
|
|
127
140
|
placementMode: 'contain'
|
|
128
141
|
};
|
|
129
|
-
|
|
142
|
+
var _props_innerBorder;
|
|
143
|
+
_this.innerBorder = (_props_innerBorder = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _props_innerBorder !== void 0 ? _props_innerBorder : {
|
|
130
144
|
borderWidth: 1,
|
|
131
145
|
borderColor: '',
|
|
132
146
|
borderType: 'solid'
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_table_layout_col
|
|
3
|
+
* description: 表格布局列组件。用于定义表格布局中单元列的占位与样式。支持列跨度、单元格合并、Flex/块级布局、主侧轴对齐、背景和与标题同宽等能力。
|
|
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_table_layout_col
|
|
75
|
-
* description: 表格布局列组件。用于定义表格布局中单元列的占位与样式。支持列跨度、单元格合并、Flex/块级布局、主侧轴对齐、背景和与标题同宽等能力。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var BASE_SPAN = 24;
|
|
78
78
|
var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
79
79
|
"use strict";
|
|
@@ -81,25 +81,34 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
81
81
|
function TableLayoutColControlProperty(props) {
|
|
82
82
|
_class_call_check(this, TableLayoutColControlProperty);
|
|
83
83
|
var _this;
|
|
84
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
85
84
|
_this = _call_super(this, TableLayoutColControlProperty, [
|
|
86
85
|
props
|
|
87
86
|
]), _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);
|
|
88
|
-
|
|
89
|
-
_this.
|
|
90
|
-
|
|
91
|
-
_this.
|
|
92
|
-
|
|
93
|
-
_this.
|
|
94
|
-
|
|
95
|
-
_this.
|
|
96
|
-
|
|
87
|
+
var _props_span;
|
|
88
|
+
_this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
|
|
89
|
+
var _props_offset;
|
|
90
|
+
_this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
|
|
91
|
+
var _props_tableLayoutColSpan;
|
|
92
|
+
_this.tableLayoutColSpan = (_props_tableLayoutColSpan = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _props_tableLayoutColSpan !== void 0 ? _props_tableLayoutColSpan : 0;
|
|
93
|
+
var _props_tableLayoutColSpanType;
|
|
94
|
+
_this.tableLayoutColSpanType = (_props_tableLayoutColSpanType = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _props_tableLayoutColSpanType !== void 0 ? _props_tableLayoutColSpanType : '';
|
|
95
|
+
var _props_layout;
|
|
96
|
+
_this.layout = (_props_layout = props === null || props === void 0 ? void 0 : props.layout) !== null && _props_layout !== void 0 ? _props_layout : 'flex';
|
|
97
|
+
var _props_flexDirection;
|
|
98
|
+
_this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
|
|
99
|
+
var _props_alignItems;
|
|
100
|
+
_this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
|
|
101
|
+
var _props_justifyContent;
|
|
102
|
+
_this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
|
|
103
|
+
var _props_background;
|
|
104
|
+
_this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
|
|
97
105
|
type: 'backgroundColor',
|
|
98
106
|
backgroundColor: '',
|
|
99
107
|
backgroundImage: '',
|
|
100
108
|
placementMode: 'contain'
|
|
101
109
|
};
|
|
102
|
-
|
|
110
|
+
var _props_isLabelCol;
|
|
111
|
+
_this.isLabelCol = (_props_isLabelCol = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _props_isLabelCol !== void 0 ? _props_isLabelCol : false;
|
|
103
112
|
return _this;
|
|
104
113
|
}
|
|
105
114
|
return TableLayoutColControlProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_table_layout_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,22 +73,20 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_table_layout_row
|
|
75
|
-
* description: 表格布局行组件。用于在表格布局中组织一行单元内容。支持预设/自定义布局模式和列间距设置。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var TableLayoutRowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TableLayoutRowControlProperty, LayoutControlProperty);
|
|
80
80
|
function TableLayoutRowControlProperty(props) {
|
|
81
81
|
_class_call_check(this, TableLayoutRowControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1;
|
|
84
83
|
_this = _call_super(this, TableLayoutRowControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
|
|
87
|
-
|
|
88
|
-
_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;
|
|
89
90
|
return _this;
|
|
90
91
|
}
|
|
91
92
|
return TableLayoutRowControlProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_table_layout_wrapper
|
|
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,23 +73,22 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_table_layout_wrapper
|
|
75
|
-
* description: 表格布局外层容器组件。用于控制表格布局整体包裹区域的尺寸与边框表现。支持宽度、宽度单位和表单边框线显示设置。
|
|
76
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var TableLayoutWrapperControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(TableLayoutWrapperControlProperty, LayoutControlProperty);
|
|
80
80
|
function TableLayoutWrapperControlProperty(props) {
|
|
81
81
|
_class_call_check(this, TableLayoutWrapperControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2;
|
|
84
83
|
_this = _call_super(this, TableLayoutWrapperControlProperty, [
|
|
85
84
|
props
|
|
86
85
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthCompany", void 0), _define_property(_this, "showFormBorder", void 0);
|
|
87
|
-
|
|
88
|
-
_this.
|
|
89
|
-
|
|
86
|
+
var _props_width;
|
|
87
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
|
|
88
|
+
var _props_widthCompany;
|
|
89
|
+
_this.widthCompany = (_props_widthCompany = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _props_widthCompany !== void 0 ? _props_widthCompany : 'px';
|
|
90
|
+
var _props_showFormBorder;
|
|
91
|
+
_this.showFormBorder = (_props_showFormBorder = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _props_showFormBorder !== void 0 ? _props_showFormBorder : false;
|
|
90
92
|
return _this;
|
|
91
93
|
}
|
|
92
94
|
return TableLayoutWrapperControlProperty;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_toolbox
|
|
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_toolbox
|
|
62
|
-
* description: 工具箱容器组件。用于承载页面中的辅助工具区、快捷操作区或扩展按钮区域。当前继承基础布局属性,适合作为工具集合承载容器。
|
|
63
|
-
*/ import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
63
|
+
import { LayoutControlProperty } from '@byteluck-fe/model-driven-core';
|
|
64
64
|
var ToolboxControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
65
65
|
"use strict";
|
|
66
66
|
_inherits(ToolboxControlProperty, LayoutControlProperty);
|
|
@@ -105,7 +105,6 @@ function _inherits(subClass, superClass) {
|
|
|
105
105
|
if (superClass) _set_prototype_of(subClass, superClass);
|
|
106
106
|
}
|
|
107
107
|
function _instanceof(left, right) {
|
|
108
|
-
"@swc/helpers - instanceof";
|
|
109
108
|
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
110
109
|
return !!right[Symbol.hasInstance](left);
|
|
111
110
|
} else {
|
|
@@ -184,7 +183,7 @@ function _is_native_reflect_construct() {
|
|
|
184
183
|
})();
|
|
185
184
|
}
|
|
186
185
|
function _ts_generator(thisArg, body) {
|
|
187
|
-
var f, y, t, _ = {
|
|
186
|
+
var f, y, t, g, _ = {
|
|
188
187
|
label: 0,
|
|
189
188
|
sent: function() {
|
|
190
189
|
if (t[0] & 1) throw t[1];
|
|
@@ -192,17 +191,13 @@ function _ts_generator(thisArg, body) {
|
|
|
192
191
|
},
|
|
193
192
|
trys: [],
|
|
194
193
|
ops: []
|
|
195
|
-
}
|
|
196
|
-
return
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
}), typeof Symbol === "function" && d(g, Symbol.iterator, {
|
|
203
|
-
value: function() {
|
|
204
|
-
return this;
|
|
205
|
-
}
|
|
194
|
+
};
|
|
195
|
+
return g = {
|
|
196
|
+
next: verb(0),
|
|
197
|
+
"throw": verb(1),
|
|
198
|
+
"return": verb(2)
|
|
199
|
+
}, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
|
|
200
|
+
return this;
|
|
206
201
|
}), g;
|
|
207
202
|
function verb(n) {
|
|
208
203
|
return function(v) {
|
|
@@ -214,7 +209,7 @@ function _ts_generator(thisArg, body) {
|
|
|
214
209
|
}
|
|
215
210
|
function step(op) {
|
|
216
211
|
if (f) throw new TypeError("Generator is already executing.");
|
|
217
|
-
while(
|
|
212
|
+
while(_)try {
|
|
218
213
|
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
219
214
|
if (y = 0, t) op = [
|
|
220
215
|
op[0] & 2,
|
|
@@ -341,7 +336,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
|
|
|
341
336
|
key: "validate",
|
|
342
337
|
value: function validate(messages, ignore) {
|
|
343
338
|
var _this = this;
|
|
344
|
-
var _this1 = this, _superprop_get_validate = function
|
|
339
|
+
var _this1 = this, _superprop_get_validate = function() {
|
|
345
340
|
return _get(_get_prototype_of(GridTableControl.prototype), "validate", _this);
|
|
346
341
|
};
|
|
347
342
|
return _async_to_generator(function() {
|
|
@@ -356,7 +351,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
|
|
|
356
351
|
_state.sent();
|
|
357
352
|
return [
|
|
358
353
|
4,
|
|
359
|
-
Promise.all(
|
|
354
|
+
Promise.all(_this1.children.map(function(child) {
|
|
360
355
|
return child.validate(messages, ignore);
|
|
361
356
|
}))
|
|
362
357
|
];
|
|
@@ -368,7 +363,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
|
|
|
368
363
|
];
|
|
369
364
|
}
|
|
370
365
|
});
|
|
371
|
-
})
|
|
366
|
+
})();
|
|
372
367
|
}
|
|
373
368
|
}
|
|
374
369
|
], [
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* name: rok_grid_table
|
|
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,17 +73,13 @@ function _is_native_reflect_construct() {
|
|
|
70
73
|
return !!result;
|
|
71
74
|
})();
|
|
72
75
|
}
|
|
73
|
-
|
|
74
|
-
* name: rok_grid_table
|
|
75
|
-
* description: 表格列表组件。用于展示结构化业务数据和批量操作场景。支持冻结表头、单选/多选、工具栏、勾选框以及自定义表头配置。
|
|
76
|
-
*/ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
76
|
+
import { ListControlProperty } from '@byteluck-fe/model-driven-core';
|
|
77
77
|
var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
78
78
|
"use strict";
|
|
79
79
|
_inherits(GridTableControlProperty, ListControlProperty);
|
|
80
80
|
function GridTableControlProperty(parent, props) {
|
|
81
81
|
_class_call_check(this, GridTableControlProperty);
|
|
82
82
|
var _this;
|
|
83
|
-
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
84
83
|
_this = _call_super(this, GridTableControlProperty, [
|
|
85
84
|
parent,
|
|
86
85
|
props
|
|
@@ -104,12 +103,17 @@ var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
|
104
103
|
* @defaultValue true
|
|
105
104
|
* @public
|
|
106
105
|
*/ _define_property(_this, "isShowCustomColumns", void 0);
|
|
107
|
-
|
|
106
|
+
var _props_isFixedHeader;
|
|
107
|
+
_this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
|
|
108
108
|
_this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
|
|
109
|
-
|
|
110
|
-
_this.
|
|
111
|
-
|
|
112
|
-
_this.
|
|
109
|
+
var _props_isShowToolbar;
|
|
110
|
+
_this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
|
|
111
|
+
var _props_isShowSelection;
|
|
112
|
+
_this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
|
|
113
|
+
var _props_isShowCustomColumns;
|
|
114
|
+
_this.isShowCustomColumns = (_props_isShowCustomColumns = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _props_isShowCustomColumns !== void 0 ? _props_isShowCustomColumns : true;
|
|
115
|
+
var _props_pageSizeOptions;
|
|
116
|
+
_this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
|
|
113
117
|
10,
|
|
114
118
|
20,
|
|
115
119
|
50,
|
|
@@ -172,44 +172,74 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
|
172
172
|
function SubTableControlProperty(parent, props) {
|
|
173
173
|
_class_call_check(this, SubTableControlProperty);
|
|
174
174
|
var _this;
|
|
175
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _ref27, _ref28, _ref29, _ref30, _ref31, _ref32, _ref33, _ref34;
|
|
176
175
|
_this = _call_super(this, SubTableControlProperty, [
|
|
177
176
|
parent,
|
|
178
177
|
props,
|
|
179
178
|
SubTableControlProperty.mode
|
|
180
179
|
]), _define_property(_this, "caption", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "isHideCaption", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "limitRows", void 0), _define_property(_this, "maxRows", void 0), _define_property(_this, "defaultRows", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "printMode", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "useCustomHeight", void 0), _define_property(_this, "maxHeight", void 0), _define_property(_this, "canAdd", void 0), _define_property(_this, "canDelete", void 0), _define_property(_this, "canCheck", void 0), _define_property(_this, "canEdit", void 0), _define_property(_this, "canImport", void 0), _define_property(_this, "importConfig", void 0), _define_property(_this, "canExport", void 0), _define_property(_this, "exportConfig", void 0), _define_property(_this, "canClear", void 0), _define_property(_this, "isPaste", void 0), _define_property(_this, "mobileShowType", void 0), _define_property(_this, "mobileDefaultNum", void 0), _define_property(_this, "dataStorageDoc", void 0), _define_property(_this, "serverPagination", void 0), _define_property(_this, "fixedColumn", void 0), _define_property(_this, "mobileRowCaption", void 0), _define_property(_this, "mobileIsTile", void 0), _define_property(_this, "sortable", void 0), _define_property(_this, "sortKey", void 0), _define_property(_this, "showTableIndex", void 0), _define_property(_this, "triggerEdit", void 0);
|
|
181
|
-
|
|
182
|
-
_this.
|
|
183
|
-
|
|
184
|
-
_this.
|
|
185
|
-
|
|
186
|
-
_this.
|
|
187
|
-
|
|
188
|
-
_this.
|
|
189
|
-
|
|
190
|
-
_this.
|
|
191
|
-
|
|
192
|
-
_this.
|
|
180
|
+
var _props_caption;
|
|
181
|
+
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
|
|
182
|
+
var _props_isHideCaption;
|
|
183
|
+
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
184
|
+
var _props_defaultState;
|
|
185
|
+
_this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
186
|
+
var _props_labelPosition;
|
|
187
|
+
_this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
|
|
188
|
+
var _props_openType;
|
|
189
|
+
_this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'default';
|
|
190
|
+
var _props_formKey;
|
|
191
|
+
_this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
192
|
+
var _props_useCustomHeight;
|
|
193
|
+
_this.useCustomHeight = (_props_useCustomHeight = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _props_useCustomHeight !== void 0 ? _props_useCustomHeight : false;
|
|
194
|
+
var _props_maxHeight;
|
|
195
|
+
_this.maxHeight = (_props_maxHeight = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _props_maxHeight !== void 0 ? _props_maxHeight : SUBTABLE_DEFAULT_MAX_HEIGHT;
|
|
196
|
+
var _props_printMode;
|
|
197
|
+
_this.printMode = (_props_printMode = props === null || props === void 0 ? void 0 : props.printMode) !== null && _props_printMode !== void 0 ? _props_printMode : 'row';
|
|
198
|
+
var _props_limitRows;
|
|
199
|
+
_this.limitRows = (_props_limitRows = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _props_limitRows !== void 0 ? _props_limitRows : 1;
|
|
200
|
+
var _props_maxRows;
|
|
201
|
+
_this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : null;
|
|
202
|
+
var _props_defaultRows;
|
|
203
|
+
_this.defaultRows = (_props_defaultRows = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _props_defaultRows !== void 0 ? _props_defaultRows : 1;
|
|
193
204
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
194
|
-
|
|
195
|
-
_this.
|
|
196
|
-
|
|
197
|
-
_this.
|
|
198
|
-
|
|
199
|
-
_this.
|
|
200
|
-
|
|
201
|
-
_this.
|
|
202
|
-
|
|
203
|
-
_this.
|
|
204
|
-
|
|
205
|
-
_this.
|
|
206
|
-
|
|
207
|
-
_this.
|
|
208
|
-
|
|
209
|
-
_this.
|
|
210
|
-
|
|
211
|
-
_this.
|
|
212
|
-
|
|
205
|
+
var _props_canAdd;
|
|
206
|
+
_this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
|
|
207
|
+
var _props_canDelete;
|
|
208
|
+
_this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : true;
|
|
209
|
+
var _props_canCheck;
|
|
210
|
+
_this.canCheck = (_props_canCheck = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _props_canCheck !== void 0 ? _props_canCheck : false;
|
|
211
|
+
var _props_canEdit;
|
|
212
|
+
_this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : false;
|
|
213
|
+
var _props_canImport;
|
|
214
|
+
_this.canImport = (_props_canImport = props === null || props === void 0 ? void 0 : props.canImport) !== null && _props_canImport !== void 0 ? _props_canImport : false;
|
|
215
|
+
var _props_canExport;
|
|
216
|
+
_this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : false;
|
|
217
|
+
var _props_canClear;
|
|
218
|
+
_this.canClear = (_props_canClear = props === null || props === void 0 ? void 0 : props.canClear) !== null && _props_canClear !== void 0 ? _props_canClear : true;
|
|
219
|
+
var _props_serverPagination;
|
|
220
|
+
_this.serverPagination = (_props_serverPagination = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _props_serverPagination !== void 0 ? _props_serverPagination : false;
|
|
221
|
+
var _props_isShowCaptionTip;
|
|
222
|
+
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
223
|
+
var _props_captionTip;
|
|
224
|
+
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
|
|
225
|
+
var _props_mobileShowType;
|
|
226
|
+
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'list';
|
|
227
|
+
var _props_mobileDefaultNum;
|
|
228
|
+
_this.mobileDefaultNum = (_props_mobileDefaultNum = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _props_mobileDefaultNum !== void 0 ? _props_mobileDefaultNum : 10;
|
|
229
|
+
var _props_dataStorageDoc;
|
|
230
|
+
_this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
|
|
231
|
+
var _props_fixedColumn;
|
|
232
|
+
_this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
|
|
233
|
+
var _props_mobileRowCaption;
|
|
234
|
+
_this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : getLocaleText('CMD.detailed', null, '明细');
|
|
235
|
+
var _props_mobileIsTile;
|
|
236
|
+
_this.mobileIsTile = (_props_mobileIsTile = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _props_mobileIsTile !== void 0 ? _props_mobileIsTile : false;
|
|
237
|
+
var _props_isPaste;
|
|
238
|
+
_this.isPaste = (_props_isPaste = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _props_isPaste !== void 0 ? _props_isPaste : false;
|
|
239
|
+
var _props_pageSize;
|
|
240
|
+
_this.pageSize = (_props_pageSize = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _props_pageSize !== void 0 ? _props_pageSize : 10;
|
|
241
|
+
var _props_pageSizeOptions;
|
|
242
|
+
_this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
|
|
213
243
|
10,
|
|
214
244
|
20,
|
|
215
245
|
50,
|
|
@@ -217,10 +247,14 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
|
217
247
|
];
|
|
218
248
|
_this.importConfig = new ImportConfig(props === null || props === void 0 ? void 0 : props.importConfig);
|
|
219
249
|
_this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
|
|
220
|
-
|
|
221
|
-
_this.
|
|
222
|
-
|
|
223
|
-
_this.
|
|
250
|
+
var _props_sortable;
|
|
251
|
+
_this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
|
|
252
|
+
var _props_sortKey;
|
|
253
|
+
_this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
|
|
254
|
+
var _props_showTableIndex;
|
|
255
|
+
_this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
|
|
256
|
+
var _props_triggerEdit;
|
|
257
|
+
_this.triggerEdit = (_props_triggerEdit = props === null || props === void 0 ? void 0 : props.triggerEdit) !== null && _props_triggerEdit !== void 0 ? _props_triggerEdit : 'single';
|
|
224
258
|
return _this;
|
|
225
259
|
}
|
|
226
260
|
return SubTableControlProperty;
|