@byteluck-fe/model-driven-controls 6.2.0-beta.12 → 6.2.0-beta.13

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 (111) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
  5. package/dist/esm/baseControls/Button/property.js +10 -18
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
  8. package/dist/esm/baseControls/Dashboard/property.js +9 -16
  9. package/dist/esm/baseControls/Divider/property.js +4 -5
  10. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  11. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  12. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  13. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  14. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  15. package/dist/esm/baseControls/Link/property.js +4 -6
  16. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  17. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  18. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  19. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  20. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  21. package/dist/esm/baseControls/Text/property.js +7 -12
  22. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  23. package/dist/esm/baseControls/Title/property.js +4 -6
  24. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  25. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  26. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  27. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  28. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  29. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  30. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  31. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  32. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  33. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  34. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  35. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  36. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  37. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  38. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  39. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  40. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  41. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  42. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  43. package/dist/esm/formControls/Address/property.js +6 -10
  44. package/dist/esm/formControls/Amount/property.js +13 -24
  45. package/dist/esm/formControls/Attachment/property.js +25 -40
  46. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  47. package/dist/esm/formControls/Calc/property.js +10 -18
  48. package/dist/esm/formControls/Checkbox/property.js +16 -29
  49. package/dist/esm/formControls/DatePicker/property.js +15 -27
  50. package/dist/esm/formControls/DateRange/property.js +13 -23
  51. package/dist/esm/formControls/Department/property.js +12 -22
  52. package/dist/esm/formControls/Department2/property.js +19 -35
  53. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  54. package/dist/esm/formControls/Employee/property.js +10 -18
  55. package/dist/esm/formControls/Employee2/property.js +17 -32
  56. package/dist/esm/formControls/Image/designer.js +8 -8
  57. package/dist/esm/formControls/Image/property.js +7 -12
  58. package/dist/esm/formControls/Input/property.js +11 -20
  59. package/dist/esm/formControls/Number/property.js +14 -26
  60. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  61. package/dist/esm/formControls/Radio/property.js +13 -24
  62. package/dist/esm/formControls/RichText/property.js +11 -20
  63. package/dist/esm/formControls/Score/property.js +8 -13
  64. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  65. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  66. package/dist/esm/formControls/Select/property.js +12 -22
  67. package/dist/esm/formControls/SelectMultiple/property.js +11 -20
  68. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  69. package/dist/esm/formControls/Textarea/property.js +11 -20
  70. package/dist/esm/formControls/Tree/designer.js +2 -1
  71. package/dist/esm/formControls/Tree/property.js +20 -37
  72. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  73. package/dist/esm/formControls/VuePage/property.js +6 -10
  74. package/dist/esm/formControls/WPS/designer.js +9 -9
  75. package/dist/esm/formControls/WPS/property.js +13 -24
  76. package/dist/esm/framework.js +69 -113
  77. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  78. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  79. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  80. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  81. package/dist/esm/layoutControls/Col/property.js +5 -8
  82. package/dist/esm/layoutControls/DataView/property.js +8 -14
  83. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  84. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  85. package/dist/esm/layoutControls/ListView/property.js +15 -28
  86. package/dist/esm/layoutControls/Page/property.js +2 -2
  87. package/dist/esm/layoutControls/Position/property.js +5 -8
  88. package/dist/esm/layoutControls/Row/property.js +3 -4
  89. package/dist/esm/layoutControls/Step/designer.js +2 -2
  90. package/dist/esm/layoutControls/Step/property.js +6 -10
  91. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  92. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  93. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  94. package/dist/esm/layoutControls/Tab/property.js +2 -2
  95. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  96. package/dist/esm/layoutControls/TableLayout/property.js +16 -30
  97. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  98. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  99. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  100. package/dist/esm/listControls/GridTable/designer.js +12 -4
  101. package/dist/esm/listControls/GridTable/property.js +15 -19
  102. package/dist/esm/listControls/SubTable/property.js +35 -68
  103. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  104. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  105. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  106. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  107. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  108. package/dist/index.umd.js +1 -1
  109. package/dist/types/framework.d.ts +19 -19
  110. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  111. package/package.json +5 -5
@@ -1,11 +1,4 @@
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) {
1
+ function _assert_this_initialized(self) {
9
2
  if (self === void 0) {
10
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11
4
  }
@@ -77,7 +70,14 @@ function _is_native_reflect_construct() {
77
70
  return !!result;
78
71
  })();
79
72
  }
80
- import { ListControlProperty } from '@byteluck-fe/model-driven-core';
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';
81
81
  /**
82
82
  * GridTable 表格组件
83
83
  * @public
@@ -87,6 +87,7 @@ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
87
87
  function GridTableControlProperty(parent, props) {
88
88
  _class_call_check(this, GridTableControlProperty);
89
89
  var _this;
90
+ var _ref, _ref1, _ref2, _ref3, _ref4;
90
91
  _this = _call_super(this, GridTableControlProperty, [
91
92
  parent,
92
93
  props
@@ -110,17 +111,12 @@ import { ListControlProperty } from '@byteluck-fe/model-driven-core';
110
111
  * @defaultValue true
111
112
  * @public
112
113
  */ _define_property(_this, "isShowCustomColumns", void 0);
113
- var _props_isFixedHeader;
114
- _this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
114
+ _this.isFixedHeader = (_ref = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref !== void 0 ? _ref : false;
115
115
  _this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
116
- var _props_isShowToolbar;
117
- _this.isShowToolbar = (_props_isShowToolbar = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _props_isShowToolbar !== void 0 ? _props_isShowToolbar : true;
118
- var _props_isShowSelection;
119
- _this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
120
- var _props_isShowCustomColumns;
121
- _this.isShowCustomColumns = (_props_isShowCustomColumns = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _props_isShowCustomColumns !== void 0 ? _props_isShowCustomColumns : true;
122
- var _props_pageSizeOptions;
123
- _this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
116
+ _this.isShowToolbar = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowToolbar) !== null && _ref1 !== void 0 ? _ref1 : true;
117
+ _this.isShowSelection = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref2 !== void 0 ? _ref2 : false;
118
+ _this.isShowCustomColumns = (_ref3 = props === null || props === void 0 ? void 0 : props.isShowCustomColumns) !== null && _ref3 !== void 0 ? _ref3 : true;
119
+ _this.pageSizeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref4 !== void 0 ? _ref4 : [
124
120
  10,
125
121
  20,
126
122
  50,
@@ -172,6 +172,7 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
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;
175
176
  _this = _call_super(this, SubTableControlProperty, [
176
177
  parent,
177
178
  props,
@@ -288,69 +289,38 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
288
289
  * 排序or筛选字段
289
290
  * */ _define_property(_this, "sortKey", void 0), // 是否展示序号
290
291
  _define_property(_this, "showTableIndex", void 0);
291
- var _props_caption;
292
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
293
- var _props_isHideCaption;
294
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
295
- var _props_defaultState;
296
- _this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
297
- var _props_labelPosition;
298
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
299
- var _props_openType;
300
- _this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'default';
301
- var _props_formKey;
302
- _this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
303
- var _props_useCustomHeight;
304
- _this.useCustomHeight = (_props_useCustomHeight = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _props_useCustomHeight !== void 0 ? _props_useCustomHeight : false;
305
- var _props_maxHeight;
306
- _this.maxHeight = (_props_maxHeight = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _props_maxHeight !== void 0 ? _props_maxHeight : SUBTABLE_DEFAULT_MAX_HEIGHT;
307
- var _props_printMode;
308
- _this.printMode = (_props_printMode = props === null || props === void 0 ? void 0 : props.printMode) !== null && _props_printMode !== void 0 ? _props_printMode : 'row';
309
- var _props_limitRows;
310
- _this.limitRows = (_props_limitRows = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _props_limitRows !== void 0 ? _props_limitRows : 1;
311
- var _props_maxRows;
312
- _this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : null;
313
- var _props_defaultRows;
314
- _this.defaultRows = (_props_defaultRows = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _props_defaultRows !== void 0 ? _props_defaultRows : 1;
292
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : SubTableControl.controlName;
293
+ _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
294
+ _this.defaultState = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref2 !== void 0 ? _ref2 : 'default';
295
+ _this.labelPosition = (_ref3 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref3 !== void 0 ? _ref3 : 'top';
296
+ _this.openType = (_ref4 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref4 !== void 0 ? _ref4 : 'default';
297
+ _this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : '';
298
+ _this.useCustomHeight = (_ref6 = props === null || props === void 0 ? void 0 : props.useCustomHeight) !== null && _ref6 !== void 0 ? _ref6 : false;
299
+ _this.maxHeight = (_ref7 = props === null || props === void 0 ? void 0 : props.maxHeight) !== null && _ref7 !== void 0 ? _ref7 : SUBTABLE_DEFAULT_MAX_HEIGHT;
300
+ _this.printMode = (_ref8 = props === null || props === void 0 ? void 0 : props.printMode) !== null && _ref8 !== void 0 ? _ref8 : 'row';
301
+ _this.limitRows = (_ref9 = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _ref9 !== void 0 ? _ref9 : 1;
302
+ _this.maxRows = (_ref10 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref10 !== void 0 ? _ref10 : null;
303
+ _this.defaultRows = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _ref11 !== void 0 ? _ref11 : 1;
315
304
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
316
- var _props_canAdd;
317
- _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
318
- var _props_canDelete;
319
- _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : true;
320
- var _props_canCheck;
321
- _this.canCheck = (_props_canCheck = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _props_canCheck !== void 0 ? _props_canCheck : false;
322
- var _props_canEdit;
323
- _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : false;
324
- var _props_canImport;
325
- _this.canImport = (_props_canImport = props === null || props === void 0 ? void 0 : props.canImport) !== null && _props_canImport !== void 0 ? _props_canImport : false;
326
- var _props_canExport;
327
- _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : false;
328
- var _props_canClear;
329
- _this.canClear = (_props_canClear = props === null || props === void 0 ? void 0 : props.canClear) !== null && _props_canClear !== void 0 ? _props_canClear : true;
330
- var _props_serverPagination;
331
- _this.serverPagination = (_props_serverPagination = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _props_serverPagination !== void 0 ? _props_serverPagination : false;
332
- var _props_isShowCaptionTip;
333
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
334
- var _props_captionTip;
335
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
336
- var _props_mobileShowType;
337
- _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'list';
338
- var _props_mobileDefaultNum;
339
- _this.mobileDefaultNum = (_props_mobileDefaultNum = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _props_mobileDefaultNum !== void 0 ? _props_mobileDefaultNum : 10;
340
- var _props_dataStorageDoc;
341
- _this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
342
- var _props_fixedColumn;
343
- _this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
344
- var _props_mobileRowCaption;
345
- _this.mobileRowCaption = (_props_mobileRowCaption = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _props_mobileRowCaption !== void 0 ? _props_mobileRowCaption : getLocaleText('CMD.detailed', null, '明细');
346
- var _props_mobileIsTile;
347
- _this.mobileIsTile = (_props_mobileIsTile = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _props_mobileIsTile !== void 0 ? _props_mobileIsTile : false;
348
- var _props_isPaste;
349
- _this.isPaste = (_props_isPaste = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _props_isPaste !== void 0 ? _props_isPaste : false;
350
- var _props_pageSize;
351
- _this.pageSize = (_props_pageSize = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _props_pageSize !== void 0 ? _props_pageSize : 10;
352
- var _props_pageSizeOptions;
353
- _this.pageSizeOptions = (_props_pageSizeOptions = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _props_pageSizeOptions !== void 0 ? _props_pageSizeOptions : [
305
+ _this.canAdd = (_ref12 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref12 !== void 0 ? _ref12 : true;
306
+ _this.canDelete = (_ref13 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref13 !== void 0 ? _ref13 : true;
307
+ _this.canCheck = (_ref14 = props === null || props === void 0 ? void 0 : props.canCheck) !== null && _ref14 !== void 0 ? _ref14 : false;
308
+ _this.canEdit = (_ref15 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref15 !== void 0 ? _ref15 : false;
309
+ _this.canImport = (_ref16 = props === null || props === void 0 ? void 0 : props.canImport) !== null && _ref16 !== void 0 ? _ref16 : false;
310
+ _this.canExport = (_ref17 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref17 !== void 0 ? _ref17 : false;
311
+ _this.canClear = (_ref18 = props === null || props === void 0 ? void 0 : props.canClear) !== null && _ref18 !== void 0 ? _ref18 : true;
312
+ _this.serverPagination = (_ref19 = props === null || props === void 0 ? void 0 : props.serverPagination) !== null && _ref19 !== void 0 ? _ref19 : false;
313
+ _this.isShowCaptionTip = (_ref20 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref20 !== void 0 ? _ref20 : false;
314
+ _this.captionTip = (_ref21 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref21 !== void 0 ? _ref21 : '';
315
+ _this.mobileShowType = (_ref22 = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref22 !== void 0 ? _ref22 : 'list';
316
+ _this.mobileDefaultNum = (_ref23 = props === null || props === void 0 ? void 0 : props.mobileDefaultNum) !== null && _ref23 !== void 0 ? _ref23 : 10;
317
+ _this.dataStorageDoc = (_ref24 = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _ref24 !== void 0 ? _ref24 : new DataStorageDoc();
318
+ _this.fixedColumn = (_ref25 = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _ref25 !== void 0 ? _ref25 : [];
319
+ _this.mobileRowCaption = (_ref26 = props === null || props === void 0 ? void 0 : props.mobileRowCaption) !== null && _ref26 !== void 0 ? _ref26 : getLocaleText('CMD.detailed', null, '明细');
320
+ _this.mobileIsTile = (_ref27 = props === null || props === void 0 ? void 0 : props.mobileIsTile) !== null && _ref27 !== void 0 ? _ref27 : false;
321
+ _this.isPaste = (_ref28 = props === null || props === void 0 ? void 0 : props.isPaste) !== null && _ref28 !== void 0 ? _ref28 : false;
322
+ _this.pageSize = (_ref29 = props === null || props === void 0 ? void 0 : props.pageSize) !== null && _ref29 !== void 0 ? _ref29 : 10;
323
+ _this.pageSizeOptions = (_ref30 = props === null || props === void 0 ? void 0 : props.pageSizeOptions) !== null && _ref30 !== void 0 ? _ref30 : [
354
324
  10,
355
325
  20,
356
326
  50,
@@ -358,12 +328,9 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
358
328
  ];
359
329
  _this.importConfig = new ImportConfig(props === null || props === void 0 ? void 0 : props.importConfig);
360
330
  _this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
361
- var _props_sortable;
362
- _this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
363
- var _props_sortKey;
364
- _this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
365
- var _props_showTableIndex;
366
- _this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
331
+ _this.sortable = (_ref31 = props === null || props === void 0 ? void 0 : props.sortable) !== null && _ref31 !== void 0 ? _ref31 : false;
332
+ _this.sortKey = (_ref32 = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _ref32 !== void 0 ? _ref32 : {};
333
+ _this.showTableIndex = (_ref33 = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _ref33 !== void 0 ? _ref33 : true;
367
334
  return _this;
368
335
  }
369
336
  return SubTableControlProperty;
@@ -98,6 +98,7 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
98
98
  function SimpleSearchControlProperty(props) {
99
99
  _class_call_check(this, SimpleSearchControlProperty);
100
100
  var _this;
101
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
101
102
  _this = _call_super(this, SimpleSearchControlProperty, [
102
103
  props
103
104
  ]), /**
@@ -143,38 +144,26 @@ var SimpleSearchControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRun
143
144
  * @defaultValue []
144
145
  * @public
145
146
  */ _define_property(_this, "simpleConfig", void 0);
146
- var _props_searchType;
147
- _this.searchType = (_props_searchType = props === null || props === void 0 ? void 0 : props.searchType) !== null && _props_searchType !== void 0 ? _props_searchType : 'model';
148
- var _props_labelPosition;
149
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'top';
150
- var _props_viewType;
151
- _this.viewType = (_props_viewType = props === null || props === void 0 ? void 0 : props.viewType) !== null && _props_viewType !== void 0 ? _props_viewType : 'mini';
152
- var _props_search;
153
- _this.search = new OperationItem((_props_search = props === null || props === void 0 ? void 0 : props.search) !== null && _props_search !== void 0 ? _props_search : {
147
+ _this.searchType = (_ref = props === null || props === void 0 ? void 0 : props.searchType) !== null && _ref !== void 0 ? _ref : 'model';
148
+ _this.labelPosition = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref1 !== void 0 ? _ref1 : 'top';
149
+ _this.viewType = (_ref2 = props === null || props === void 0 ? void 0 : props.viewType) !== null && _ref2 !== void 0 ? _ref2 : 'mini';
150
+ _this.search = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.search) !== null && _ref3 !== void 0 ? _ref3 : {
154
151
  content: getLocaleText('CMD.query', null, '查询'),
155
152
  isShow: true
156
153
  });
157
- var _props_cancel;
158
- _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
154
+ _this.cancel = new OperationItem((_ref4 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref4 !== void 0 ? _ref4 : {
159
155
  content: getLocaleText('CMD.reset', null, '重置'),
160
156
  isShow: true
161
157
  });
162
- var _props_isLoading;
163
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
164
- var _props_custom;
165
- _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
158
+ _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
159
+ _this.custom = ((_ref6 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref6 !== void 0 ? _ref6 : []).map(function(item) {
166
160
  return new OperationItem(item);
167
161
  });
168
- var _props_queryTypeMap;
169
- _this.queryTypeMap = (_props_queryTypeMap = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _props_queryTypeMap !== void 0 ? _props_queryTypeMap : [];
170
- var _props_childMinWidth;
171
- _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
172
- var _props_colGap;
173
- _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
174
- var _props_viewConfig;
175
- _this.viewConfig = (_props_viewConfig = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _props_viewConfig !== void 0 ? _props_viewConfig : [];
176
- var _props_simpleConfig;
177
- _this.simpleConfig = (_props_simpleConfig = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _props_simpleConfig !== void 0 ? _props_simpleConfig : [];
162
+ _this.queryTypeMap = (_ref7 = props === null || props === void 0 ? void 0 : props.queryTypeMap) !== null && _ref7 !== void 0 ? _ref7 : [];
163
+ _this.childMinWidth = (_ref8 = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref8 !== void 0 ? _ref8 : 230;
164
+ _this.colGap = (_ref9 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref9 !== void 0 ? _ref9 : 24;
165
+ _this.viewConfig = (_ref10 = props === null || props === void 0 ? void 0 : props.viewConfig) !== null && _ref10 !== void 0 ? _ref10 : [];
166
+ _this.simpleConfig = (_ref11 = props === null || props === void 0 ? void 0 : props.simpleConfig) !== null && _ref11 !== void 0 ? _ref11 : [];
178
167
  return _this;
179
168
  }
180
169
  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;
81
82
  _this = _call_super(this, SimpleSearchControl, [
82
83
  props
83
84
  ]), _define_property(_this, "props", void 0), _define_property(_this, "children", void 0);
84
85
  _this.props = new SimpleSearchControlProperty(props === null || props === void 0 ? void 0 : props.props);
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 : [];
86
+ _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [];
87
87
  return _this;
88
88
  }
89
89
  return SimpleSearchControl;
@@ -1,10 +1,4 @@
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) {
1
+ function _assert_this_initialized(self) {
8
2
  if (self === void 0) {
9
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
4
  }
@@ -90,7 +84,13 @@ function _is_native_reflect_construct() {
90
84
  return !!result;
91
85
  })();
92
86
  }
93
- import { DesignerWrapControl } from '@byteluck-fe/model-driven-core';
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';
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;
80
81
  _this = _call_super(this, GridLayoutWrapProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "wholeRow", void 0);
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;
84
+ _this.wholeRow = (_ref = props === null || props === void 0 ? void 0 : props.wholeRow) !== null && _ref !== void 0 ? _ref : false;
85
85
  return _this;
86
86
  }
87
87
  return GridLayoutWrapProperty;
@@ -1,10 +1,4 @@
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) {
1
+ function _assert_this_initialized(self) {
8
2
  if (self === void 0) {
9
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
4
  }
@@ -90,7 +84,13 @@ function _is_native_reflect_construct() {
90
84
  return !!result;
91
85
  })();
92
86
  }
93
- import { RuntimeWrapControl } from '@byteluck-fe/model-driven-core';
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';
94
94
  import GridLayoutWrapProperty from './property';
95
95
  var GridLayoutWrapControl = /*#__PURE__*/ function(RuntimeWrapControl) {
96
96
  "use strict";