@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.
Files changed (152) hide show
  1. package/dist/esm/baseControls/BarChart/designer.js +11 -11
  2. package/dist/esm/baseControls/BarChart/property.js +73 -22
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +23 -15
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +14 -11
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +9 -8
  6. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
  7. package/dist/esm/baseControls/Button/property.js +27 -17
  8. package/dist/esm/baseControls/Comment/property.js +7 -7
  9. package/dist/esm/baseControls/CreateFormListButton/property.js +13 -10
  10. package/dist/esm/baseControls/Dashboard/property.js +21 -14
  11. package/dist/esm/baseControls/Divider/property.js +17 -12
  12. package/dist/esm/baseControls/ExportListButton/property.js +14 -11
  13. package/dist/esm/baseControls/ExportRecordListButton/property.js +9 -8
  14. package/dist/esm/baseControls/FormSelectButton/property.js +11 -9
  15. package/dist/esm/baseControls/Iframe/designer.js +4 -4
  16. package/dist/esm/baseControls/Iframe/property.js +10 -7
  17. package/dist/esm/baseControls/ImportRecordListButton/property.js +14 -11
  18. package/dist/esm/baseControls/InvoiceCheckButton/property.js +24 -16
  19. package/dist/esm/baseControls/LineChart/designer.js +7 -7
  20. package/dist/esm/baseControls/LineChart/property.js +73 -22
  21. package/dist/esm/baseControls/Link/property.js +17 -12
  22. package/dist/esm/baseControls/ListSelectButton/property.js +15 -11
  23. package/dist/esm/baseControls/ListViewSelect/property.js +10 -9
  24. package/dist/esm/baseControls/OperationButton/property.js +17 -12
  25. package/dist/esm/baseControls/Pagination/property.js +5 -5
  26. package/dist/esm/baseControls/PieChart/designer.js +10 -10
  27. package/dist/esm/baseControls/PieChart/property.js +80 -20
  28. package/dist/esm/baseControls/ReferenceList/property.js +17 -12
  29. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +9 -8
  30. package/dist/esm/baseControls/Text/designer.js +1 -1
  31. package/dist/esm/baseControls/Text/property.js +23 -15
  32. package/dist/esm/baseControls/TextOcrButton/property.js +24 -16
  33. package/dist/esm/baseControls/Title/property.js +6 -4
  34. package/dist/esm/baseControls/utils.js +1 -1
  35. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -9
  36. package/dist/esm/columnControls/ArrayColumn/property.js +13 -10
  37. package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -8
  38. package/dist/esm/columnControls/CustomColumn/designer.js +0 -1
  39. package/dist/esm/columnControls/CustomColumn/property.js +11 -9
  40. package/dist/esm/columnControls/DecimalColumn/property.js +19 -13
  41. package/dist/esm/columnControls/DepartmentColumn/property.js +9 -8
  42. package/dist/esm/columnControls/EmployeeColumn/property.js +9 -8
  43. package/dist/esm/columnControls/FileColumn/property.js +9 -8
  44. package/dist/esm/columnControls/GroupColumn/property.js +7 -7
  45. package/dist/esm/columnControls/ImageColumn/property.js +7 -7
  46. package/dist/esm/columnControls/LocationColumn/property.js +9 -8
  47. package/dist/esm/columnControls/OperationColumn/designer.js +12 -16
  48. package/dist/esm/columnControls/OperationColumn/property.js +15 -11
  49. package/dist/esm/columnControls/OrderColumn/property.js +17 -12
  50. package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
  51. package/dist/esm/columnControls/TextColumn/property.js +13 -10
  52. package/dist/esm/columnControls/TimescopeColumn/property.js +13 -10
  53. package/dist/esm/columnControls/TimestampColumn/property.js +13 -10
  54. package/dist/esm/columnControls/VarcharColumn/property.js +17 -12
  55. package/dist/esm/formControls/Address/property.js +17 -12
  56. package/dist/esm/formControls/Amount/property.js +29 -18
  57. package/dist/esm/formControls/Attachment/property.js +39 -23
  58. package/dist/esm/formControls/AutoNumber/property.js +11 -9
  59. package/dist/esm/formControls/Barcode/designer.js +41 -21
  60. package/dist/esm/formControls/Barcode/property.js +21 -13
  61. package/dist/esm/formControls/Barcode/schema.json +19 -8
  62. package/dist/esm/formControls/Calc/property.js +18 -10
  63. package/dist/esm/formControls/Cascader/property.js +31 -17
  64. package/dist/esm/formControls/Checkbox/property.js +31 -17
  65. package/dist/esm/formControls/Counter/property.js +18 -10
  66. package/dist/esm/formControls/DatePicker/property.js +32 -20
  67. package/dist/esm/formControls/DateRange/property.js +28 -18
  68. package/dist/esm/formControls/Department/property.js +27 -17
  69. package/dist/esm/formControls/Department2/property.js +40 -24
  70. package/dist/esm/formControls/ElectronicSignature/property.js +17 -12
  71. package/dist/esm/formControls/Employee/property.js +23 -15
  72. package/dist/esm/formControls/Employee2/property.js +38 -22
  73. package/dist/esm/formControls/Image/designer.js +8 -8
  74. package/dist/esm/formControls/Image/property.js +17 -8
  75. package/dist/esm/formControls/Input/property.js +20 -11
  76. package/dist/esm/formControls/Number/property.js +32 -17
  77. package/dist/esm/formControls/OrganizationSelection/property.js +41 -24
  78. package/dist/esm/formControls/QrCode/designer.js +47 -27
  79. package/dist/esm/formControls/QrCode/property.js +24 -17
  80. package/dist/esm/formControls/QrCode/schema.json +20 -9
  81. package/dist/esm/formControls/Radio/property.js +33 -20
  82. package/dist/esm/formControls/RichText/designer.js +1 -1
  83. package/dist/esm/formControls/RichText/property.js +22 -12
  84. package/dist/esm/formControls/Score/property.js +17 -10
  85. package/dist/esm/formControls/SearchDateRange/property.js +30 -19
  86. package/dist/esm/formControls/SearchInput/property.js +5 -5
  87. package/dist/esm/formControls/SearchNumberRange/property.js +17 -12
  88. package/dist/esm/formControls/Select/property.js +29 -18
  89. package/dist/esm/formControls/SelectMultiple/property.js +27 -17
  90. package/dist/esm/formControls/SelectRelation/property.js +31 -19
  91. package/dist/esm/formControls/Slider/designer.js +2 -1
  92. package/dist/esm/formControls/Slider/property.js +22 -17
  93. package/dist/esm/formControls/Switch/designer.js +15 -14
  94. package/dist/esm/formControls/Switch/property.js +19 -10
  95. package/dist/esm/formControls/Tag/designer.js +14 -13
  96. package/dist/esm/formControls/Tag/property.js +23 -15
  97. package/dist/esm/formControls/Textarea/property.js +20 -11
  98. package/dist/esm/formControls/TimePicker/property.js +20 -14
  99. package/dist/esm/formControls/TimeRange/property.js +24 -16
  100. package/dist/esm/formControls/Tree/property.js +39 -21
  101. package/dist/esm/formControls/VueFormItem/property.js +15 -11
  102. package/dist/esm/formControls/VuePage/property.js +15 -11
  103. package/dist/esm/formControls/WPS/designer.js +9 -9
  104. package/dist/esm/formControls/WPS/property.js +29 -18
  105. package/dist/esm/framework.js +135 -81
  106. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  107. package/dist/esm/layoutControls/ActionBar/property.js +11 -9
  108. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  109. package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
  110. package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
  111. package/dist/esm/layoutControls/BlankContainer/property.js +15 -12
  112. package/dist/esm/layoutControls/CardGroup/property.js +20 -11
  113. package/dist/esm/layoutControls/Col/property.js +11 -9
  114. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  115. package/dist/esm/layoutControls/Collapse/property.js +9 -8
  116. package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
  117. package/dist/esm/layoutControls/DataView/property.js +19 -13
  118. package/dist/esm/layoutControls/Grid/property.js +5 -5
  119. package/dist/esm/layoutControls/GridLayoutContainer/property.js +9 -8
  120. package/dist/esm/layoutControls/GridRow/property.js +5 -5
  121. package/dist/esm/layoutControls/GridTableColumn/property.js +25 -16
  122. package/dist/esm/layoutControls/ListView/property.js +28 -15
  123. package/dist/esm/layoutControls/Page/property.js +7 -7
  124. package/dist/esm/layoutControls/Position/property.js +13 -10
  125. package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
  126. package/dist/esm/layoutControls/Row/property.js +15 -11
  127. package/dist/esm/layoutControls/Step/designer.js +2 -2
  128. package/dist/esm/layoutControls/Step/property.js +27 -17
  129. package/dist/esm/layoutControls/StepPane/property.js +21 -14
  130. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
  131. package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
  132. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  133. package/dist/esm/layoutControls/Tab/property.js +15 -11
  134. package/dist/esm/layoutControls/TabPane/property.js +7 -7
  135. package/dist/esm/layoutControls/TableLayout/property.js +35 -21
  136. package/dist/esm/layoutControls/TableLayoutCol/property.js +25 -16
  137. package/dist/esm/layoutControls/TableLayoutRow/property.js +9 -8
  138. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +11 -9
  139. package/dist/esm/layoutControls/Toolbox/property.js +5 -5
  140. package/dist/esm/listControls/GridTable/designer.js +12 -17
  141. package/dist/esm/listControls/GridTable/property.js +15 -11
  142. package/dist/esm/listControls/SubTable/property.js +70 -36
  143. package/dist/esm/searchControls/SimpleSearch/property.js +29 -18
  144. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  145. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  146. package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -7
  147. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  148. package/dist/index.umd.js +1 -1
  149. package/dist/types/formControls/Barcode/property.d.ts +5 -10
  150. package/dist/types/formControls/QrCode/property.d.ts +5 -10
  151. package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
  152. package/package.json +2 -2
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
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
- _this.rowCount = (_ref = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _ref !== void 0 ? _ref : 2;
88
- _this.colCount = (_ref1 = props === null || props === void 0 ? void 0 : props.colCount) !== null && _ref1 !== void 0 ? _ref1 : 2;
89
- _this.labelPosition = (_ref2 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref2 !== void 0 ? _ref2 : 'left';
90
- _this.colWidthType = (_ref3 = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _ref3 !== void 0 ? _ref3 : 'average';
91
- _this.colWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _ref4 !== void 0 ? _ref4 : '12:12';
92
- _this.isLabelBold = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _ref5 !== void 0 ? _ref5 : false;
93
- _this.labelWidth = (_ref6 = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _ref6 !== void 0 ? _ref6 : '';
94
- _this.align = (_ref7 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref7 !== void 0 ? _ref7 : '';
95
- _this.verticalAlign = (_ref8 = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _ref8 !== void 0 ? _ref8 : 'center';
96
- _this.padding = (_ref9 = props === null || props === void 0 ? void 0 : props.padding) !== null && _ref9 !== void 0 ? _ref9 : {
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
- _this.margin = (_ref10 = props === null || props === void 0 ? void 0 : props.margin) !== null && _ref10 !== void 0 ? _ref10 : {
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
- _this.border = (_ref11 = props === null || props === void 0 ? void 0 : props.border) !== null && _ref11 !== void 0 ? _ref11 : {
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
- _this.borderRadius = (_ref12 = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _ref12 !== void 0 ? _ref12 : {
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
- _this.background = (_ref13 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref13 !== void 0 ? _ref13 : {
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
- _this.innerBorder = (_ref14 = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _ref14 !== void 0 ? _ref14 : {
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
- function _assert_this_initialized(self) {
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
- _this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
89
- _this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
90
- _this.tableLayoutColSpan = (_ref2 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _ref2 !== void 0 ? _ref2 : 0;
91
- _this.tableLayoutColSpanType = (_ref3 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _ref3 !== void 0 ? _ref3 : '';
92
- _this.layout = (_ref4 = props === null || props === void 0 ? void 0 : props.layout) !== null && _ref4 !== void 0 ? _ref4 : 'flex';
93
- _this.flexDirection = (_ref5 = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _ref5 !== void 0 ? _ref5 : 'column';
94
- _this.alignItems = (_ref6 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref6 !== void 0 ? _ref6 : 'flex-start';
95
- _this.justifyContent = (_ref7 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref7 !== void 0 ? _ref7 : 'flex-start';
96
- _this.background = (_ref8 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref8 !== void 0 ? _ref8 : {
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
- _this.isLabelCol = (_ref9 = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _ref9 !== void 0 ? _ref9 : false;
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
- function _assert_this_initialized(self) {
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
- _this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
88
- _this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
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
- function _assert_this_initialized(self) {
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
- _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
88
- _this.widthCompany = (_ref1 = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _ref1 !== void 0 ? _ref1 : 'px';
89
- _this.showFormBorder = (_ref2 = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _ref2 !== void 0 ? _ref2 : false;
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
- function _assert_this_initialized(self) {
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
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
196
- return d(g, "next", {
197
- value: verb(0)
198
- }), d(g, "throw", {
199
- value: verb(1)
200
- }), d(g, "return", {
201
- value: verb(2)
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(g && (g = 0, op[0] && (_ = 0)), _)try {
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 _superprop_get_validate() {
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(this.children.map(function(child) {
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
- }).call(this);
366
+ })();
372
367
  }
373
368
  }
374
369
  ], [
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
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
- _this.isFixedHeader = (_ref = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref !== void 0 ? _ref : false;
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
- _this.isShowToolbar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _ref1 !== void 0 ? _ref1 : true;
110
- _this.isShowSelection = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref2 !== void 0 ? _ref2 : false;
111
- _this.isShowCustomColumns = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _ref3 !== void 0 ? _ref3 : true;
112
- _this.pageSizeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref4 !== void 0 ? _ref4 : [
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
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SubTableControl.controlName;
182
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
183
- _this.defaultState = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref2 !== void 0 ? _ref2 : 'default';
184
- _this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
185
- _this.openType = (_ref4 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref4 !== void 0 ? _ref4 : 'default';
186
- _this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : '';
187
- _this.useCustomHeight = (_ref6 = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _ref6 !== void 0 ? _ref6 : false;
188
- _this.maxHeight = (_ref7 = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _ref7 !== void 0 ? _ref7 : SUBTABLE_DEFAULT_MAX_HEIGHT;
189
- _this.printMode = (_ref8 = props === null || props === void 0 ? void 0 : props.printMode) !== null && _ref8 !== void 0 ? _ref8 : 'row';
190
- _this.limitRows = (_ref9 = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _ref9 !== void 0 ? _ref9 : 1;
191
- _this.maxRows = (_ref10 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref10 !== void 0 ? _ref10 : null;
192
- _this.defaultRows = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _ref11 !== void 0 ? _ref11 : 1;
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
- _this.canAdd = (_ref12 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref12 !== void 0 ? _ref12 : true;
195
- _this.canDelete = (_ref13 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref13 !== void 0 ? _ref13 : true;
196
- _this.canCheck = (_ref14 = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _ref14 !== void 0 ? _ref14 : false;
197
- _this.canEdit = (_ref15 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref15 !== void 0 ? _ref15 : false;
198
- _this.canImport = (_ref16 = props === null || props === void 0 ? void 0 : props.canImport) !== null && _ref16 !== void 0 ? _ref16 : false;
199
- _this.canExport = (_ref17 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref17 !== void 0 ? _ref17 : false;
200
- _this.canClear = (_ref18 = props === null || props === void 0 ? void 0 : props.canClear) !== null && _ref18 !== void 0 ? _ref18 : true;
201
- _this.serverPagination = (_ref19 = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _ref19 !== void 0 ? _ref19 : false;
202
- _this.isShowCaptionTip = (_ref20 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref20 !== void 0 ? _ref20 : false;
203
- _this.captionTip = (_ref21 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref21 !== void 0 ? _ref21 : '';
204
- _this.mobileShowType = (_ref22 = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref22 !== void 0 ? _ref22 : 'list';
205
- _this.mobileDefaultNum = (_ref23 = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _ref23 !== void 0 ? _ref23 : 10;
206
- _this.dataStorageDoc = (_ref24 = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _ref24 !== void 0 ? _ref24 : new DataStorageDoc();
207
- _this.fixedColumn = (_ref25 = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _ref25 !== void 0 ? _ref25 : [];
208
- _this.mobileRowCaption = (_ref26 = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _ref26 !== void 0 ? _ref26 : getLocaleText('CMD.detailed', null, '明细');
209
- _this.mobileIsTile = (_ref27 = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _ref27 !== void 0 ? _ref27 : false;
210
- _this.isPaste = (_ref28 = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _ref28 !== void 0 ? _ref28 : false;
211
- _this.pageSize = (_ref29 = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _ref29 !== void 0 ? _ref29 : 10;
212
- _this.pageSizeOptions = (_ref30 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref30 !== void 0 ? _ref30 : [
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
- _this.sortable = (_ref31 = props === null || props === void 0 ? void 0 : props.sortable) !== null && _ref31 !== void 0 ? _ref31 : false;
221
- _this.sortKey = (_ref32 = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _ref32 !== void 0 ? _ref32 : {};
222
- _this.showTableIndex = (_ref33 = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _ref33 !== void 0 ? _ref33 : true;
223
- _this.triggerEdit = (_ref34 = props === null || props === void 0 ? void 0 : props.triggerEdit) !== null && _ref34 !== void 0 ? _ref34 : 'single';
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;