@byteluck-fe/model-driven-controls 7.0.0-props.13 → 7.0.0-props.15

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (116) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +18 -10
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +9 -6
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +4 -3
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
  5. package/dist/esm/baseControls/Button/property.js +18 -10
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +8 -5
  8. package/dist/esm/baseControls/Dashboard/property.js +16 -9
  9. package/dist/esm/baseControls/Divider/designer.js +25 -0
  10. package/dist/esm/baseControls/Divider/property.js +14 -8
  11. package/dist/esm/baseControls/ExportListButton/property.js +9 -6
  12. package/dist/esm/baseControls/ExportRecordListButton/property.js +4 -3
  13. package/dist/esm/baseControls/FormSelectButton/property.js +6 -4
  14. package/dist/esm/baseControls/ImportRecordListButton/property.js +9 -6
  15. package/dist/esm/baseControls/InvoiceCheckButton/property.js +19 -11
  16. package/dist/esm/baseControls/Link/property.js +18 -10
  17. package/dist/esm/baseControls/ListSelectButton/property.js +10 -6
  18. package/dist/esm/baseControls/ListViewSelect/property.js +5 -4
  19. package/dist/esm/baseControls/OperationButton/property.js +12 -7
  20. package/dist/esm/baseControls/ReferenceList/property.js +12 -7
  21. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +4 -3
  22. package/dist/esm/baseControls/Text/property.js +16 -9
  23. package/dist/esm/baseControls/TextOcrButton/property.js +19 -11
  24. package/dist/esm/baseControls/Title/property.js +6 -4
  25. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +6 -4
  26. package/dist/esm/columnControls/ArrayColumn/property.js +8 -5
  27. package/dist/esm/columnControls/AutoNumberColumn/property.js +4 -3
  28. package/dist/esm/columnControls/CustomColumn/property.js +6 -4
  29. package/dist/esm/columnControls/DecimalColumn/property.js +14 -8
  30. package/dist/esm/columnControls/DepartmentColumn/property.js +4 -3
  31. package/dist/esm/columnControls/EmployeeColumn/property.js +4 -3
  32. package/dist/esm/columnControls/FileColumn/property.js +4 -3
  33. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  34. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  35. package/dist/esm/columnControls/LocationColumn/property.js +4 -3
  36. package/dist/esm/columnControls/OperationColumn/designer.js +4 -12
  37. package/dist/esm/columnControls/OperationColumn/property.js +10 -6
  38. package/dist/esm/columnControls/OrderColumn/property.js +12 -7
  39. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  40. package/dist/esm/columnControls/TextColumn/property.js +8 -5
  41. package/dist/esm/columnControls/TimescopeColumn/property.js +8 -5
  42. package/dist/esm/columnControls/TimestampColumn/property.js +8 -5
  43. package/dist/esm/columnControls/VarcharColumn/property.js +12 -7
  44. package/dist/esm/formControls/Address/property.js +10 -6
  45. package/dist/esm/formControls/Amount/property.js +24 -13
  46. package/dist/esm/formControls/Attachment/property.js +42 -26
  47. package/dist/esm/formControls/AutoNumber/property.js +6 -4
  48. package/dist/esm/formControls/Calc/property.js +18 -10
  49. package/dist/esm/formControls/Cascader/property.js +31 -17
  50. package/dist/esm/formControls/Checkbox/property.js +33 -18
  51. package/dist/esm/formControls/DatePicker/property.js +27 -15
  52. package/dist/esm/formControls/DateRange/property.js +23 -13
  53. package/dist/esm/formControls/Department/property.js +22 -12
  54. package/dist/esm/formControls/Department2/property.js +37 -20
  55. package/dist/esm/formControls/ElectronicSignature/property.js +12 -7
  56. package/dist/esm/formControls/Employee/property.js +18 -10
  57. package/dist/esm/formControls/Employee2/property.js +34 -18
  58. package/dist/esm/formControls/Image/designer.js +8 -8
  59. package/dist/esm/formControls/Image/property.js +14 -8
  60. package/dist/esm/formControls/Input/property.js +20 -11
  61. package/dist/esm/formControls/Number/property.js +32 -17
  62. package/dist/esm/formControls/OrganizationSelection/property.js +36 -19
  63. package/dist/esm/formControls/Radio/property.js +28 -15
  64. package/dist/esm/formControls/RichText/property.js +24 -13
  65. package/dist/esm/formControls/Score/property.js +19 -11
  66. package/dist/esm/formControls/SearchDateRange/property.js +25 -14
  67. package/dist/esm/formControls/SearchNumberRange/property.js +12 -7
  68. package/dist/esm/formControls/Select/property.js +26 -14
  69. package/dist/esm/formControls/SelectMultiple/property.js +24 -13
  70. package/dist/esm/formControls/SelectRelation/property.js +26 -14
  71. package/dist/esm/formControls/Textarea/property.js +20 -11
  72. package/dist/esm/formControls/TimePicker/property.js +15 -9
  73. package/dist/esm/formControls/TimeRange/property.js +19 -11
  74. package/dist/esm/formControls/Tree/property.js +39 -21
  75. package/dist/esm/formControls/VueFormItem/property.js +10 -6
  76. package/dist/esm/formControls/VuePage/property.js +10 -6
  77. package/dist/esm/formControls/WPS/designer.js +9 -9
  78. package/dist/esm/formControls/WPS/property.js +24 -13
  79. package/dist/esm/framework.js +121 -74
  80. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  81. package/dist/esm/layoutControls/ActionBar/property.js +6 -4
  82. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  83. package/dist/esm/layoutControls/CardGroup/property.js +20 -11
  84. package/dist/esm/layoutControls/Col/property.js +6 -4
  85. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  86. package/dist/esm/layoutControls/Collapse/property.js +6 -4
  87. package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
  88. package/dist/esm/layoutControls/DataView/property.js +14 -8
  89. package/dist/esm/layoutControls/GridLayoutContainer/property.js +4 -3
  90. package/dist/esm/layoutControls/GridTableColumn/property.js +20 -11
  91. package/dist/esm/layoutControls/ListView/property.js +28 -15
  92. package/dist/esm/layoutControls/Page/property.js +2 -2
  93. package/dist/esm/layoutControls/Position/property.js +8 -5
  94. package/dist/esm/layoutControls/Row/property.js +10 -6
  95. package/dist/esm/layoutControls/Step/designer.js +2 -2
  96. package/dist/esm/layoutControls/Step/property.js +22 -12
  97. package/dist/esm/layoutControls/StepPane/property.js +16 -9
  98. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
  99. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  100. package/dist/esm/layoutControls/Tab/property.js +10 -6
  101. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  102. package/dist/esm/layoutControls/TableLayout/property.js +30 -16
  103. package/dist/esm/layoutControls/TableLayoutCol/property.js +20 -11
  104. package/dist/esm/layoutControls/TableLayoutRow/property.js +4 -3
  105. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +6 -4
  106. package/dist/esm/listControls/GridTable/designer.js +4 -12
  107. package/dist/esm/listControls/GridTable/property.js +19 -15
  108. package/dist/esm/listControls/SubTable/property.js +70 -36
  109. package/dist/esm/searchControls/SimpleSearch/property.js +24 -13
  110. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  111. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  112. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  113. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  114. package/dist/index.umd.js +1 -1
  115. package/dist/types/baseControls/Divider/property.d.ts +7 -0
  116. package/package.json +5 -5
@@ -1,4 +1,11 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: Elvis shuaiqy@hotmail.com
3
+ * @Date: 2022-01-11 22:20:55
4
+ * @LastEditors: changjiaqi hypocrite_chang@163.com
5
+ * @LastEditTime: 2023-05-31 10:33:27
6
+ * @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
7
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
+ */ function _assert_this_initialized(self) {
2
9
  if (self === void 0) {
3
10
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
11
  }
@@ -70,21 +77,13 @@ function _is_native_reflect_construct() {
70
77
  return !!result;
71
78
  })();
72
79
  }
73
- /*
74
- * @Author: Elvis shuaiqy@hotmail.com
75
- * @Date: 2022-01-11 22:20:55
76
- * @LastEditors: changjiaqi hypocrite_chang@163.com
77
- * @LastEditTime: 2023-05-31 10:33:27
78
- * @FilePath: /model-driven/packages/controls/src/listControls/GridTable/property.ts
79
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
80
- */ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
80
+ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
81
81
  var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
82
82
  "use strict";
83
83
  _inherits(GridTableControlProperty, ListControlProperty);
84
84
  function GridTableControlProperty(parent, props) {
85
85
  _class_call_check(this, GridTableControlProperty);
86
86
  var _this;
87
- var _ref, _ref1, _ref2, _ref3, _ref4;
88
87
  _this = _call_super(this, GridTableControlProperty, [
89
88
  parent,
90
89
  props
@@ -108,12 +107,17 @@ var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
108
107
  * @defaultValue true
109
108
  * @public
110
109
  */ _define_property(_this, "isShowCustomColumns", void 0);
111
- _this.isFixedHeader = (_ref = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref !== void 0 ? _ref : false;
110
+ var _props_isFixedHeader;
111
+ _this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
112
112
  _this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
113
- _this.isShowToolbar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _ref1 !== void 0 ? _ref1 : true;
114
- _this.isShowSelection = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref2 !== void 0 ? _ref2 : false;
115
- _this.isShowCustomColumns = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _ref3 !== void 0 ? _ref3 : true;
116
- _this.pageSizeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref4 !== void 0 ? _ref4 : [
113
+ var _props_isShowToolbar;
114
+ _this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
115
+ var _props_isShowSelection;
116
+ _this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
117
+ var _props_isShowCustomColumns;
118
+ _this.isShowCustomColumns = (_props_isShowCustomColumns = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _props_isShowCustomColumns !== void 0 ? _props_isShowCustomColumns : true;
119
+ var _props_pageSizeOptions;
120
+ _this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
117
121
  10,
118
122
  20,
119
123
  50,
@@ -169,44 +169,74 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
169
169
  function SubTableControlProperty(parent, props) {
170
170
  _class_call_check(this, SubTableControlProperty);
171
171
  var _this;
172
- 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;
173
172
  _this = _call_super(this, SubTableControlProperty, [
174
173
  parent,
175
174
  props,
176
175
  SubTableControlProperty.mode
177
176
  ]), _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);
178
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SubTableControl.controlName;
179
- _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
180
- _this.defaultState = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref2 !== void 0 ? _ref2 : 'default';
181
- _this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
182
- _this.openType = (_ref4 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref4 !== void 0 ? _ref4 : 'default';
183
- _this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : '';
184
- _this.useCustomHeight = (_ref6 = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _ref6 !== void 0 ? _ref6 : false;
185
- _this.maxHeight = (_ref7 = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _ref7 !== void 0 ? _ref7 : SUBTABLE_DEFAULT_MAX_HEIGHT;
186
- _this.printMode = (_ref8 = props === null || props === void 0 ? void 0 : props.printMode) !== null && _ref8 !== void 0 ? _ref8 : 'row';
187
- _this.limitRows = (_ref9 = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _ref9 !== void 0 ? _ref9 : 1;
188
- _this.maxRows = (_ref10 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref10 !== void 0 ? _ref10 : null;
189
- _this.defaultRows = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _ref11 !== void 0 ? _ref11 : 1;
177
+ var _props_caption;
178
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
179
+ var _props_isHideCaption;
180
+ _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
181
+ var _props_defaultState;
182
+ _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
183
+ var _props_labelPosition;
184
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
185
+ var _props_openType;
186
+ _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'default';
187
+ var _props_formKey;
188
+ _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
189
+ var _props_useCustomHeight;
190
+ _this.useCustomHeight = (_props_useCustomHeight = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _props_useCustomHeight !== void 0 ? _props_useCustomHeight : false;
191
+ var _props_maxHeight;
192
+ _this.maxHeight = (_props_maxHeight = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _props_maxHeight !== void 0 ? _props_maxHeight : SUBTABLE_DEFAULT_MAX_HEIGHT;
193
+ var _props_printMode;
194
+ _this.printMode = (_props_printMode = props === null || props === void 0 ? void 0 : props.printMode) !== null && _props_printMode !== void 0 ? _props_printMode : 'row';
195
+ var _props_limitRows;
196
+ _this.limitRows = (_props_limitRows = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _props_limitRows !== void 0 ? _props_limitRows : 1;
197
+ var _props_maxRows;
198
+ _this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : null;
199
+ var _props_defaultRows;
200
+ _this.defaultRows = (_props_defaultRows = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _props_defaultRows !== void 0 ? _props_defaultRows : 1;
190
201
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
191
- _this.canAdd = (_ref12 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref12 !== void 0 ? _ref12 : true;
192
- _this.canDelete = (_ref13 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref13 !== void 0 ? _ref13 : true;
193
- _this.canCheck = (_ref14 = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _ref14 !== void 0 ? _ref14 : false;
194
- _this.canEdit = (_ref15 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref15 !== void 0 ? _ref15 : false;
195
- _this.canImport = (_ref16 = props === null || props === void 0 ? void 0 : props.canImport) !== null && _ref16 !== void 0 ? _ref16 : false;
196
- _this.canExport = (_ref17 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref17 !== void 0 ? _ref17 : false;
197
- _this.canClear = (_ref18 = props === null || props === void 0 ? void 0 : props.canClear) !== null && _ref18 !== void 0 ? _ref18 : true;
198
- _this.serverPagination = (_ref19 = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _ref19 !== void 0 ? _ref19 : false;
199
- _this.isShowCaptionTip = (_ref20 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref20 !== void 0 ? _ref20 : false;
200
- _this.captionTip = (_ref21 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref21 !== void 0 ? _ref21 : '';
201
- _this.mobileShowType = (_ref22 = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref22 !== void 0 ? _ref22 : 'list';
202
- _this.mobileDefaultNum = (_ref23 = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _ref23 !== void 0 ? _ref23 : 10;
203
- _this.dataStorageDoc = (_ref24 = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _ref24 !== void 0 ? _ref24 : new DataStorageDoc();
204
- _this.fixedColumn = (_ref25 = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _ref25 !== void 0 ? _ref25 : [];
205
- _this.mobileRowCaption = (_ref26 = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _ref26 !== void 0 ? _ref26 : getLocaleText('CMD.detailed', null, '明细');
206
- _this.mobileIsTile = (_ref27 = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _ref27 !== void 0 ? _ref27 : false;
207
- _this.isPaste = (_ref28 = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _ref28 !== void 0 ? _ref28 : false;
208
- _this.pageSize = (_ref29 = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _ref29 !== void 0 ? _ref29 : 10;
209
- _this.pageSizeOptions = (_ref30 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref30 !== void 0 ? _ref30 : [
202
+ var _props_canAdd;
203
+ _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
204
+ var _props_canDelete;
205
+ _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : true;
206
+ var _props_canCheck;
207
+ _this.canCheck = (_props_canCheck = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _props_canCheck !== void 0 ? _props_canCheck : false;
208
+ var _props_canEdit;
209
+ _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : false;
210
+ var _props_canImport;
211
+ _this.canImport = (_props_canImport = props === null || props === void 0 ? void 0 : props.canImport) !== null && _props_canImport !== void 0 ? _props_canImport : false;
212
+ var _props_canExport;
213
+ _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : false;
214
+ var _props_canClear;
215
+ _this.canClear = (_props_canClear = props === null || props === void 0 ? void 0 : props.canClear) !== null && _props_canClear !== void 0 ? _props_canClear : true;
216
+ var _props_serverPagination;
217
+ _this.serverPagination = (_props_serverPagination = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _props_serverPagination !== void 0 ? _props_serverPagination : false;
218
+ var _props_isShowCaptionTip;
219
+ _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
220
+ var _props_captionTip;
221
+ _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
222
+ var _props_mobileShowType;
223
+ _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'list';
224
+ var _props_mobileDefaultNum;
225
+ _this.mobileDefaultNum = (_props_mobileDefaultNum = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _props_mobileDefaultNum !== void 0 ? _props_mobileDefaultNum : 10;
226
+ var _props_dataStorageDoc;
227
+ _this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
228
+ var _props_fixedColumn;
229
+ _this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
230
+ var _props_mobileRowCaption;
231
+ _this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : getLocaleText('CMD.detailed', null, '明细');
232
+ var _props_mobileIsTile;
233
+ _this.mobileIsTile = (_props_mobileIsTile = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _props_mobileIsTile !== void 0 ? _props_mobileIsTile : false;
234
+ var _props_isPaste;
235
+ _this.isPaste = (_props_isPaste = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _props_isPaste !== void 0 ? _props_isPaste : false;
236
+ var _props_pageSize;
237
+ _this.pageSize = (_props_pageSize = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _props_pageSize !== void 0 ? _props_pageSize : 10;
238
+ var _props_pageSizeOptions;
239
+ _this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
210
240
  10,
211
241
  20,
212
242
  50,
@@ -214,10 +244,14 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
214
244
  ];
215
245
  _this.importConfig = new ImportConfig(props === null || props === void 0 ? void 0 : props.importConfig);
216
246
  _this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
217
- _this.sortable = (_ref31 = props === null || props === void 0 ? void 0 : props.sortable) !== null && _ref31 !== void 0 ? _ref31 : false;
218
- _this.sortKey = (_ref32 = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _ref32 !== void 0 ? _ref32 : {};
219
- _this.showTableIndex = (_ref33 = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _ref33 !== void 0 ? _ref33 : true;
220
- _this.triggerEdit = (_ref34 = props === null || props === void 0 ? void 0 : props.triggerEdit) !== null && _ref34 !== void 0 ? _ref34 : 'single';
247
+ var _props_sortable;
248
+ _this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
249
+ var _props_sortKey;
250
+ _this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
251
+ var _props_showTableIndex;
252
+ _this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
253
+ var _props_triggerEdit;
254
+ _this.triggerEdit = (_props_triggerEdit = props === null || props === void 0 ? void 0 : props.triggerEdit) !== null && _props_triggerEdit !== void 0 ? _props_triggerEdit : 'single';
221
255
  return _this;
222
256
  }
223
257
  return SubTableControlProperty;
@@ -95,30 +95,41 @@ var SimpleSearchControlProperty = /*#__PURE__*/ function(SearchControlProperty)
95
95
  function SimpleSearchControlProperty(props) {
96
96
  _class_call_check(this, SimpleSearchControlProperty);
97
97
  var _this;
98
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
99
98
  _this = _call_super(this, SimpleSearchControlProperty, [
100
99
  props
101
100
  ]), _define_property(_this, "search", void 0), _define_property(_this, "cancel", void 0), _define_property(_this, "searchType", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "viewType", void 0), _define_property(_this, "isLoading", void 0), _define_property(_this, "custom", void 0), _define_property(_this, "queryTypeMap", void 0), _define_property(_this, "childMinWidth", void 0), _define_property(_this, "colGap", void 0), _define_property(_this, "viewConfig", void 0), _define_property(_this, "simpleConfig", void 0);
102
- _this.searchType = (_ref = props === null || props === void 0 ? void 0 : props.searchType) !== null && _ref !== void 0 ? _ref : 'model';
103
- _this.labelPosition = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref1 !== void 0 ? _ref1 : 'top';
104
- _this.viewType = (_ref2 = props === null || props === void 0 ? void 0 : props.viewType) !== null && _ref2 !== void 0 ? _ref2 : 'mini';
105
- _this.search = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.search) !== null && _ref3 !== void 0 ? _ref3 : {
101
+ var _props_searchType;
102
+ _this.searchType = (_props_searchType = props === null || props === void 0 ? void 0 : props.searchType) !== null && _props_searchType !== void 0 ? _props_searchType : 'model';
103
+ var _props_labelPosition;
104
+ _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
105
+ var _props_viewType;
106
+ _this.viewType = (_props_viewType = props === null || props === void 0 ? void 0 : props.viewType) !== null && _props_viewType !== void 0 ? _props_viewType : 'mini';
107
+ var _props_search;
108
+ _this.search = new OperationItem((_props_search = props === null || props === void 0 ? void 0 : props.search) !== null && _props_search !== void 0 ? _props_search : {
106
109
  content: getLocaleText('CMD.query', null, '查询'),
107
110
  isShow: true
108
111
  });
109
- _this.cancel = new OperationItem((_ref4 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref4 !== void 0 ? _ref4 : {
112
+ var _props_cancel;
113
+ _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
110
114
  content: getLocaleText('CMD.reset', null, '重置'),
111
115
  isShow: true
112
116
  });
113
- _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
114
- _this.custom = ((_ref6 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref6 !== void 0 ? _ref6 : []).map(function(item) {
117
+ var _props_isLoading;
118
+ _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
119
+ var _props_custom;
120
+ _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
115
121
  return new OperationItem(item);
116
122
  });
117
- _this.queryTypeMap = (_ref7 = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _ref7 !== void 0 ? _ref7 : [];
118
- _this.childMinWidth = (_ref8 = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref8 !== void 0 ? _ref8 : 230;
119
- _this.colGap = (_ref9 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref9 !== void 0 ? _ref9 : 24;
120
- _this.viewConfig = (_ref10 = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _ref10 !== void 0 ? _ref10 : [];
121
- _this.simpleConfig = (_ref11 = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _ref11 !== void 0 ? _ref11 : [];
123
+ var _props_queryTypeMap;
124
+ _this.queryTypeMap = (_props_queryTypeMap = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _props_queryTypeMap !== void 0 ? _props_queryTypeMap : [];
125
+ var _props_childMinWidth;
126
+ _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
127
+ var _props_colGap;
128
+ _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
129
+ var _props_viewConfig;
130
+ _this.viewConfig = (_props_viewConfig = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _props_viewConfig !== void 0 ? _props_viewConfig : [];
131
+ var _props_simpleConfig;
132
+ _this.simpleConfig = (_props_simpleConfig = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _props_simpleConfig !== void 0 ? _props_simpleConfig : [];
122
133
  return _this;
123
134
  }
124
135
  return SimpleSearchControlProperty;
@@ -78,12 +78,12 @@ var SimpleSearchControl = /*#__PURE__*/ function(RuntimeSearchControl) {
78
78
  function SimpleSearchControl(props) {
79
79
  _class_call_check(this, SimpleSearchControl);
80
80
  var _this;
81
- var _ref;
82
81
  _this = _call_super(this, SimpleSearchControl, [
83
82
  props
84
83
  ]), _define_property(_this, "props", void 0), _define_property(_this, "children", void 0);
85
84
  _this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
86
- _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [];
85
+ var _props_children;
86
+ _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [];
87
87
  return _this;
88
88
  }
89
89
  return SimpleSearchControl;
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-08-08 11:13:49
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-08-09 11:26:04
6
+ * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -84,13 +90,7 @@ function _is_native_reflect_construct() {
84
90
  return !!result;
85
91
  })();
86
92
  }
87
- /*
88
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
89
- * @Date: 2023-08-08 11:13:49
90
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
91
- * @LastEditTime: 2023-08-09 11:26:04
92
- * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/designer.ts
93
- */ import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
93
+ import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
94
94
  import GridLayoutWrapProperty from './property';
95
95
  // import Setting from './Setting'
96
96
  import { getLocaleText } from '@byteluck-fe/locale-message';
@@ -77,11 +77,11 @@ var GridLayoutWrapProperty = /*#__PURE__*/ function(WrapControlProperty) {
77
77
  function GridLayoutWrapProperty(props) {
78
78
  _class_call_check(this, GridLayoutWrapProperty);
79
79
  var _this;
80
- var _ref;
81
80
  _this = _call_super(this, GridLayoutWrapProperty, [
82
81
  props
83
82
  ]), _define_property(_this, "wholeRow", void 0);
84
- _this.wholeRow = (_ref = props === null || props === void 0 ? void 0 : props.wholeRow) !== null && _ref !== void 0 ? _ref : false;
83
+ var _props_wholeRow;
84
+ _this.wholeRow = (_props_wholeRow = props === null || props === void 0 ? void 0 : props.wholeRow) !== null && _props_wholeRow !== void 0 ? _props_wholeRow : false;
85
85
  return _this;
86
86
  }
87
87
  return GridLayoutWrapProperty;
@@ -1,4 +1,10 @@
1
- function _assert_this_initialized(self) {
1
+ /*
2
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
+ * @Date: 2023-08-08 11:13:49
4
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
+ * @LastEditTime: 2023-08-09 11:09:36
6
+ * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/runtime.ts
7
+ */ function _assert_this_initialized(self) {
2
8
  if (self === void 0) {
3
9
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
10
  }
@@ -84,13 +90,7 @@ function _is_native_reflect_construct() {
84
90
  return !!result;
85
91
  })();
86
92
  }
87
- /*
88
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
89
- * @Date: 2023-08-08 11:13:49
90
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
91
- * @LastEditTime: 2023-08-09 11:09:36
92
- * @FilePath: /model-driven/packages/controls/src/wrapControls/gridLayoutWrap/runtime.ts
93
- */ import { RuntimeWrapControl } from '@byteluck-fe/model-driven-core';
93
+ import { RuntimeWrapControl } from '@byteluck-fe/model-driven-core';
94
94
  import GridLayoutWrapProperty from './property';
95
95
  var GridLayoutWrapControl = /*#__PURE__*/ function(RuntimeWrapControl) {
96
96
  "use strict";