@byteluck-fe/model-driven-controls 7.0.0-props.7 → 7.0.0-props.9

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 (137) 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/designer.js +33 -1
  10. package/dist/esm/baseControls/Divider/property.js +12 -7
  11. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  12. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  13. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  14. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  15. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  16. package/dist/esm/baseControls/Link/designer.js +33 -0
  17. package/dist/esm/baseControls/Link/property.js +9 -7
  18. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  19. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  20. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  21. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  22. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  23. package/dist/esm/baseControls/Text/designer.js +8 -0
  24. package/dist/esm/baseControls/Text/property.js +18 -13
  25. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  26. package/dist/esm/baseControls/Title/property.js +4 -6
  27. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  28. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  29. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  30. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  31. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  32. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  33. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  34. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  35. package/dist/esm/columnControls/GroupColumn/designer.js +2 -1
  36. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  37. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  38. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  39. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  40. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  41. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  42. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  43. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  44. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  45. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  46. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  47. package/dist/esm/formControls/Address/property.js +6 -10
  48. package/dist/esm/formControls/Amount/property.js +13 -24
  49. package/dist/esm/formControls/Attachment/property.js +26 -42
  50. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  51. package/dist/esm/formControls/Calc/property.js +10 -18
  52. package/dist/esm/formControls/Cascader/property.js +17 -31
  53. package/dist/esm/formControls/Checkbox/property.js +18 -33
  54. package/dist/esm/formControls/DatePicker/designer.js +4 -0
  55. package/dist/esm/formControls/DatePicker/property.js +19 -25
  56. package/dist/esm/formControls/DateRange/property.js +13 -23
  57. package/dist/esm/formControls/Department/property.js +12 -22
  58. package/dist/esm/formControls/Department2/designer.js +8 -0
  59. package/dist/esm/formControls/Department2/property.js +29 -34
  60. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  61. package/dist/esm/formControls/Employee/property.js +10 -18
  62. package/dist/esm/formControls/Employee2/designer.js +4 -0
  63. package/dist/esm/formControls/Employee2/property.js +19 -33
  64. package/dist/esm/formControls/Image/designer.js +8 -8
  65. package/dist/esm/formControls/Image/property.js +8 -14
  66. package/dist/esm/formControls/Input/property.js +11 -20
  67. package/dist/esm/formControls/Number/property.js +17 -32
  68. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  69. package/dist/esm/formControls/Radio/property.js +15 -28
  70. package/dist/esm/formControls/RichText/designer.js +8 -0
  71. package/dist/esm/formControls/RichText/property.js +51 -21
  72. package/dist/esm/formControls/Score/property.js +11 -19
  73. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  74. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  75. package/dist/esm/formControls/Select/property.js +14 -26
  76. package/dist/esm/formControls/SelectMultiple/property.js +13 -24
  77. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  78. package/dist/esm/formControls/Textarea/property.js +11 -20
  79. package/dist/esm/formControls/TimePicker/property.js +8 -13
  80. package/dist/esm/formControls/TimeRange/property.js +10 -17
  81. package/dist/esm/formControls/Tree/designer.js +2 -1
  82. package/dist/esm/formControls/Tree/property.js +44 -38
  83. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  84. package/dist/esm/formControls/VuePage/property.js +6 -10
  85. package/dist/esm/formControls/WPS/designer.js +9 -9
  86. package/dist/esm/formControls/WPS/property.js +13 -24
  87. package/dist/esm/framework.js +81 -121
  88. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  89. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  90. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  91. package/dist/esm/layoutControls/CardGroup/property.js +11 -20
  92. package/dist/esm/layoutControls/Col/property.js +4 -6
  93. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  94. package/dist/esm/layoutControls/Collapse/property.js +4 -6
  95. package/dist/esm/layoutControls/CollapsePane/property.js +2 -2
  96. package/dist/esm/layoutControls/DataView/property.js +12 -13
  97. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  98. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  99. package/dist/esm/layoutControls/ListView/property.js +15 -28
  100. package/dist/esm/layoutControls/Page/property.js +2 -2
  101. package/dist/esm/layoutControls/Position/property.js +5 -8
  102. package/dist/esm/layoutControls/Row/property.js +6 -10
  103. package/dist/esm/layoutControls/Step/designer.js +2 -2
  104. package/dist/esm/layoutControls/Step/property.js +12 -22
  105. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  106. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  107. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  108. package/dist/esm/layoutControls/Tab/property.js +6 -10
  109. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  110. package/dist/esm/layoutControls/TableLayout/designer.js +6 -1
  111. package/dist/esm/layoutControls/TableLayout/property.js +18 -29
  112. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  113. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  114. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  115. package/dist/esm/listControls/GridTable/designer.js +12 -4
  116. package/dist/esm/listControls/GridTable/property.js +15 -19
  117. package/dist/esm/listControls/SubTable/property.js +36 -70
  118. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  119. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  120. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  121. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  122. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  123. package/dist/index.umd.js +1 -1
  124. package/dist/types/baseControls/Divider/property.d.ts +28 -1
  125. package/dist/types/baseControls/Link/property.d.ts +8 -0
  126. package/dist/types/baseControls/Text/property.d.ts +29 -0
  127. package/dist/types/columnControls/GroupColumn/designer.d.ts +1 -1
  128. package/dist/types/formControls/DatePicker/property.d.ts +4 -0
  129. package/dist/types/formControls/Department2/property.d.ts +14 -1
  130. package/dist/types/formControls/Employee2/property.d.ts +2 -0
  131. package/dist/types/formControls/RichText/property.d.ts +4 -0
  132. package/dist/types/formControls/Tree/property.d.ts +31 -0
  133. package/dist/types/framework.d.ts +6 -0
  134. package/dist/types/layoutControls/DataView/property.d.ts +5 -0
  135. package/dist/types/layoutControls/TableLayout/property.d.ts +2 -0
  136. package/dist/types/layoutControls/TableLayoutCol/property.d.ts +5 -5
  137. package/package.json +5 -5
@@ -77,15 +77,13 @@ var TableLayoutWrapperControlProperty = /*#__PURE__*/ function(LayoutControlProp
77
77
  function TableLayoutWrapperControlProperty(props) {
78
78
  _class_call_check(this, TableLayoutWrapperControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2;
80
81
  _this = _call_super(this, TableLayoutWrapperControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "width", void 0), _define_property(_this, "widthCompany", void 0), _define_property(_this, "showFormBorder", void 0);
83
- var _props_width;
84
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
85
- var _props_widthCompany;
86
- _this.widthCompany = (_props_widthCompany = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _props_widthCompany !== void 0 ? _props_widthCompany : 'px';
87
- var _props_showFormBorder;
88
- _this.showFormBorder = (_props_showFormBorder = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _props_showFormBorder !== void 0 ? _props_showFormBorder : false;
84
+ _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
85
+ _this.widthCompany = (_ref1 = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _ref1 !== void 0 ? _ref1 : 'px';
86
+ _this.showFormBorder = (_ref2 = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _ref2 !== void 0 ? _ref2 : false;
89
87
  return _this;
90
88
  }
91
89
  return TableLayoutWrapperControlProperty;
@@ -191,9 +191,17 @@ function _ts_generator(thisArg, body) {
191
191
  },
192
192
  trys: [],
193
193
  ops: []
194
- }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
195
- return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
196
- return this;
194
+ }, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype), d = Object.defineProperty;
195
+ return d(g, "next", {
196
+ value: verb(0)
197
+ }), d(g, "throw", {
198
+ value: verb(1)
199
+ }), d(g, "return", {
200
+ value: verb(2)
201
+ }), typeof Symbol === "function" && d(g, Symbol.iterator, {
202
+ value: function() {
203
+ return this;
204
+ }
197
205
  }), g;
198
206
  function verb(n) {
199
207
  return function(v) {
@@ -332,7 +340,7 @@ var GridTableControl = /*#__PURE__*/ function _target(DesignerListControl) {
332
340
  key: "validate",
333
341
  value: function validate(messages, ignore) {
334
342
  var _this = this;
335
- var _this1 = this, _superprop_get_validate = function() {
343
+ var _this1 = this, _superprop_get_validate = function _superprop_get_validate() {
336
344
  return _get(_get_prototype_of(GridTableControl.prototype), "validate", _this);
337
345
  };
338
346
  return _async_to_generator(function() {
@@ -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,13 +70,21 @@ 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
  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;
87
88
  _this = _call_super(this, GridTableControlProperty, [
88
89
  parent,
89
90
  props
@@ -107,17 +108,12 @@ var GridTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
107
108
  * @defaultValue true
108
109
  * @public
109
110
  */ _define_property(_this, "isShowCustomColumns", void 0);
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;
111
+ _this.isFixedHeader = (_ref = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref !== void 0 ? _ref : false;
112
112
  _this.selectionType = props === null || props === void 0 ? void 0 : props.selectionType;
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 : [
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 : [
121
117
  10,
122
118
  20,
123
119
  50,
@@ -169,74 +169,44 @@ 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;
172
173
  _this = _call_super(this, SubTableControlProperty, [
173
174
  parent,
174
175
  props,
175
176
  SubTableControlProperty.mode
176
177
  ]), _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);
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;
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;
201
190
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
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 : [
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 : [
240
210
  10,
241
211
  20,
242
212
  50,
@@ -244,14 +214,10 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
244
214
  ];
245
215
  _this.importConfig = new ImportConfig(props === null || props === void 0 ? void 0 : props.importConfig);
246
216
  _this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
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';
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';
255
221
  return _this;
256
222
  }
257
223
  return SubTableControlProperty;
@@ -95,41 +95,30 @@ 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;
98
99
  _this = _call_super(this, SimpleSearchControlProperty, [
99
100
  props
100
101
  ]), _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);
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 : {
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 : {
109
106
  content: getLocaleText('CMD.query', null, '查询'),
110
107
  isShow: true
111
108
  });
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 : {
109
+ _this.cancel = new OperationItem((_ref4 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref4 !== void 0 ? _ref4 : {
114
110
  content: getLocaleText('CMD.reset', null, '重置'),
115
111
  isShow: true
116
112
  });
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) {
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) {
121
115
  return new OperationItem(item);
122
116
  });
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 : [];
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 : [];
133
122
  return _this;
134
123
  }
135
124
  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";