@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
@@ -77,15 +77,14 @@ var GridLayoutContainerControlProperty = /*#__PURE__*/ function(LayoutControlPro
77
77
  function GridLayoutContainerControlProperty(props) {
78
78
  _class_call_check(this, GridLayoutContainerControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1;
80
81
  _this = _call_super(this, GridLayoutContainerControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "childMinWidth", void 0 // 控件宽度最小值
83
84
  ), _define_property(_this, "colGap", void 0 // 控件间距
84
85
  );
85
- var _props_childMinWidth;
86
- _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
87
- var _props_colGap;
88
- _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
86
+ _this.childMinWidth = (_ref = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref !== void 0 ? _ref : 230;
87
+ _this.colGap = (_ref1 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref1 !== void 0 ? _ref1 : 24;
89
88
  return _this;
90
89
  }
91
90
  return GridLayoutContainerControlProperty;
@@ -78,32 +78,23 @@ var GridTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlPropert
78
78
  function GridTableColumnControlProperty(props) {
79
79
  _class_call_check(this, GridTableColumnControlProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
81
82
  _this = _call_super(this, GridTableColumnControlProperty, [
82
83
  props
83
84
  ]), _define_property(_this, "widthType", void 0), _define_property(_this, "width", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fieldCode", void 0), _define_property(_this, "fieldType", void 0), _define_property(_this, "fieldName", void 0), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "textCleanFormart", void 0 //是否去除标签格式
84
85
  ), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
85
- var _props_width;
86
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
86
+ _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
87
87
  _this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
88
- var _props_caption;
89
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
90
- var _props_fixed;
91
- _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
92
- var _props_fieldCode;
93
- _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
94
- var _props_fieldType;
95
- _this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
96
- var _props_fieldName;
97
- _this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
88
+ _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
89
+ _this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
90
+ _this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
91
+ _this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
92
+ _this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
98
93
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
99
- var _props_textCleanFormart;
100
- _this.textCleanFormart = (_props_textCleanFormart = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _props_textCleanFormart !== void 0 ? _props_textCleanFormart : false;
101
- var _props_decimalKeepPrecision;
102
- _this.decimalKeepPrecision = (_props_decimalKeepPrecision = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _props_decimalKeepPrecision !== void 0 ? _props_decimalKeepPrecision : 0;
103
- var _props_timestampDateType;
104
- _this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
105
- var _props_departmentDisplayLevel;
106
- _this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
94
+ _this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
95
+ _this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
96
+ _this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
97
+ _this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
107
98
  return _this;
108
99
  }
109
100
  return GridTableColumnControlProperty;
@@ -216,6 +216,7 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
216
216
  function ListViewControlProperty(props) {
217
217
  _class_call_check(this, ListViewControlProperty);
218
218
  var _this;
219
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
219
220
  _this = _call_super(this, ListViewControlProperty, [
220
221
  props
221
222
  ]), /**
@@ -289,39 +290,25 @@ import { getLocaleText } from '@byteluck-fe/locale-message';
289
290
  _define_property(_this, "isMasterDetail", void 0), // 嵌套列表的关联表配置
290
291
  _define_property(_this, "masterDetail", void 0);
291
292
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
292
- var _props_isLoading;
293
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
294
- var _props_isShowSubList;
295
- _this.isShowSubList = (_props_isShowSubList = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _props_isShowSubList !== void 0 ? _props_isShowSubList : false;
296
- var _props_triggerType;
297
- _this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
298
- var _props_triggerFieldCode;
299
- _this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
293
+ _this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
294
+ _this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
295
+ _this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
296
+ _this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
300
297
  _this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
301
- var _props_isShowJoinRelation;
302
- _this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
298
+ _this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
303
299
  _this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
304
- var _props_showType;
305
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'stretch';
306
- var _props_showFullScreen;
307
- _this.showFullScreen = (_props_showFullScreen = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _props_showFullScreen !== void 0 ? _props_showFullScreen : false;
308
- var _props_selectionType;
309
- _this.selectionType = (_props_selectionType = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _props_selectionType !== void 0 ? _props_selectionType : 'multiple';
310
- var _props_isFixedHeader;
311
- _this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
312
- var _props_isShowSelection;
313
- _this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
314
- var _props_isAllLoaded;
315
- _this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
300
+ _this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
301
+ _this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
302
+ _this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
303
+ _this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
304
+ _this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
305
+ _this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
316
306
  _this.countType = props === null || props === void 0 ? void 0 : props.countType;
317
- var _props_countLimit;
318
- _this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
307
+ _this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
319
308
  _this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
320
- var _props_isTreeData;
321
- _this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
309
+ _this.isTreeData = (_ref12 = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _ref12 !== void 0 ? _ref12 : false;
322
310
  _this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
323
- var _props_isMasterDetail;
324
- _this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
311
+ _this.isMasterDetail = (_ref13 = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _ref13 !== void 0 ? _ref13 : false;
325
312
  _this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
326
313
  return _this;
327
314
  }
@@ -77,6 +77,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function PageProperty(props) {
78
78
  _class_call_check(this, PageProperty);
79
79
  var _this;
80
+ var _ref;
80
81
  _this = _call_super(this, PageProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "hideHeader", void 0), _define_property(_this, "background", '#fff'), _define_property(_this, "minWidth", ''), _define_property(_this, "maxWidth", ''), /**
@@ -84,8 +85,7 @@ var PageProperty = /*#__PURE__*/ function(LayoutControlProperty) {
84
85
  * auto指内容多高它多高
85
86
  * fill指最小占一屏幕高
86
87
  * */ _define_property(_this, "heightConfig", 'auto');
87
- var _props_hideHeader;
88
- _this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
88
+ _this.hideHeader = (_ref = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _ref !== void 0 ? _ref : false;
89
89
  return _this;
90
90
  }
91
91
  return PageProperty;
@@ -77,17 +77,14 @@ var PositionProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function PositionProperty(props) {
78
78
  _class_call_check(this, PositionProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2, _ref3;
80
81
  _this = _call_super(this, PositionProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "widthSpan", void 0), _define_property(_this, "heightSpan", void 0), _define_property(_this, "left", void 0), _define_property(_this, "top", void 0);
83
- var _props_widthSpan;
84
- _this.widthSpan = (_props_widthSpan = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _props_widthSpan !== void 0 ? _props_widthSpan : 12;
85
- var _props_heightSpan;
86
- _this.heightSpan = (_props_heightSpan = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _props_heightSpan !== void 0 ? _props_heightSpan : 12;
87
- var _props_left;
88
- _this.left = (_props_left = props === null || props === void 0 ? void 0 : props.left) !== null && _props_left !== void 0 ? _props_left : 0;
89
- var _props_top;
90
- _this.top = (_props_top = props === null || props === void 0 ? void 0 : props.top) !== null && _props_top !== void 0 ? _props_top : 0;
84
+ _this.widthSpan = (_ref = props === null || props === void 0 ? void 0 : props.widthSpan) !== null && _ref !== void 0 ? _ref : 12;
85
+ _this.heightSpan = (_ref1 = props === null || props === void 0 ? void 0 : props.heightSpan) !== null && _ref1 !== void 0 ? _ref1 : 12;
86
+ _this.left = (_ref2 = props === null || props === void 0 ? void 0 : props.left) !== null && _ref2 !== void 0 ? _ref2 : 0;
87
+ _this.top = (_ref3 = props === null || props === void 0 ? void 0 : props.top) !== null && _ref3 !== void 0 ? _ref3 : 0;
91
88
  return _this;
92
89
  }
93
90
  return PositionProperty;
@@ -77,13 +77,12 @@ var RowControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function RowControlProperty(props) {
78
78
  _class_call_check(this, RowControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1;
80
81
  _this = _call_super(this, RowControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
83
- var _props_layoutMode;
84
- _this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
85
- var _props_gutter;
86
- _this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
84
+ _this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
85
+ _this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
87
86
  return _this;
88
87
  }
89
88
  return RowControlProperty;
@@ -94,12 +94,12 @@ var StepControl = /*#__PURE__*/ function(DesignerLayoutControl) {
94
94
  function StepControl(props) {
95
95
  _class_call_check(this, StepControl);
96
96
  var _this;
97
+ var _ref;
97
98
  _this = _call_super(this, StepControl, [
98
99
  props
99
100
  ]), _define_property(_this, "props", void 0);
100
101
  _this.props = new StepControlProperty(props === null || props === void 0 ? void 0 : props.props);
101
- var _props_children;
102
- _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
102
+ _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
103
103
  new DesignerStepPaneControl(),
104
104
  new DesignerStepPaneControl(),
105
105
  new DesignerStepPaneControl()
@@ -77,6 +77,7 @@ var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function StepControlProperty(props) {
78
78
  _class_call_check(this, StepControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2, _ref3, _ref4;
80
81
  _this = _call_super(this, StepControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "direction", void 0 //排列方向
@@ -85,16 +86,11 @@ var StepControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
85
86
  ), _define_property(_this, "type", void 0 //类型
86
87
  ), _define_property(_this, "isSticky", void 0 //是否粘性
87
88
  );
88
- var _props_direction;
89
- _this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'horizontal';
90
- var _props_labelPlacement;
91
- _this.labelPlacement = (_props_labelPlacement = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _props_labelPlacement !== void 0 ? _props_labelPlacement : 'horizontal';
92
- var _props_size;
93
- _this.size = (_props_size = props === null || props === void 0 ? void 0 : props.size) !== null && _props_size !== void 0 ? _props_size : 'default';
94
- var _props_type;
95
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
96
- var _props_isSticky;
97
- _this.isSticky = (_props_isSticky = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _props_isSticky !== void 0 ? _props_isSticky : false;
89
+ _this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'horizontal';
90
+ _this.labelPlacement = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
91
+ _this.size = (_ref2 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref2 !== void 0 ? _ref2 : 'default';
92
+ _this.type = (_ref3 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref3 !== void 0 ? _ref3 : 'default';
93
+ _this.isSticky = (_ref4 = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _ref4 !== void 0 ? _ref4 : false;
98
94
  return _this;
99
95
  }
100
96
  return StepControlProperty;
@@ -87,6 +87,7 @@ var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
87
87
  function StepPaneControlProperty(props) {
88
88
  _class_call_check(this, StepPaneControlProperty);
89
89
  var _this;
90
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
90
91
  _this = _call_super(this, StepPaneControlProperty, [
91
92
  props
92
93
  ]), // static readonly Rules = StepPaneControlPropertyRules
@@ -99,22 +100,14 @@ var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
99
100
  ), _define_property(_this, "description", void 0 //步骤描述
100
101
  ), _define_property(_this, "isDefault", void 0 //是否默认选中
101
102
  );
102
- var _props_title;
103
- _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
104
- var _props_subTitle;
105
- _this.subTitle = (_props_subTitle = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _props_subTitle !== void 0 ? _props_subTitle : '';
106
- var _props_disabled;
107
- _this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
108
- var _props_icon;
109
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
110
- var _props_color;
111
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
112
- var _props_status;
113
- _this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'wait';
114
- var _props_description;
115
- _this.description = (_props_description = props === null || props === void 0 ? void 0 : props.description) !== null && _props_description !== void 0 ? _props_description : '';
116
- var _props_isDefault;
117
- _this.isDefault = (_props_isDefault = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
103
+ _this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
104
+ _this.subTitle = (_ref1 = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _ref1 !== void 0 ? _ref1 : '';
105
+ _this.disabled = (_ref2 = props === null || props === void 0 ? void 0 : props.disabled) !== null && _ref2 !== void 0 ? _ref2 : false;
106
+ _this.icon = (_ref3 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref3 !== void 0 ? _ref3 : '';
107
+ _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : '';
108
+ _this.status = (_ref5 = props === null || props === void 0 ? void 0 : props.status) !== null && _ref5 !== void 0 ? _ref5 : 'wait';
109
+ _this.description = (_ref6 = props === null || props === void 0 ? void 0 : props.description) !== null && _ref6 !== void 0 ? _ref6 : '';
110
+ _this.isDefault = (_ref7 = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _ref7 !== void 0 ? _ref7 : false;
118
111
  return _this;
119
112
  }
120
113
  return StepPaneControlProperty;
@@ -106,6 +106,7 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
106
106
  function SubTableColumnControlProperty(props) {
107
107
  _class_call_check(this, SubTableColumnControlProperty);
108
108
  var _this;
109
+ var _ref, _ref1, _ref2, _ref3, _ref4;
109
110
  _this = _call_super(this, SubTableColumnControlProperty, [
110
111
  props
111
112
  ]), /**
@@ -122,16 +123,11 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
122
123
  * */ _define_property(_this, "captionTip", void 0), /**
123
124
  * 隐藏标题一直为false
124
125
  * */ _define_property(_this, "isHideCaption", void 0);
125
- var _props_caption;
126
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
127
- var _props_fixed;
128
- _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
129
- var _props_isShowCaptionTip;
130
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
131
- var _props_captionTip;
132
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
133
- var _props_isHideCaption;
134
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
126
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
127
+ _this.fixed = (_ref1 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref1 !== void 0 ? _ref1 : false;
128
+ _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
129
+ _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
130
+ _this.isHideCaption = (_ref4 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref4 !== void 0 ? _ref4 : false;
135
131
  _this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
136
132
  return _this;
137
133
  }
@@ -95,12 +95,12 @@ var TabControl = /*#__PURE__*/ function(DesignerLayoutControl) {
95
95
  function TabControl(props) {
96
96
  _class_call_check(this, TabControl);
97
97
  var _this;
98
+ var _ref;
98
99
  _this = _call_super(this, TabControl, [
99
100
  props
100
101
  ]), _define_property(_this, "props", void 0);
101
102
  _this.props = new TabControlProperty(props === null || props === void 0 ? void 0 : props.props);
102
- var _props_children;
103
- _this.children = (_props_children = props === null || props === void 0 ? void 0 : props.children) !== null && _props_children !== void 0 ? _props_children : [
103
+ _this.children = (_ref = props === null || props === void 0 ? void 0 : props.children) !== null && _ref !== void 0 ? _ref : [
104
104
  new DesignerTabPaneControl(),
105
105
  new DesignerTabPaneControl()
106
106
  ];
@@ -77,11 +77,11 @@ var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function TabControlProperty(props) {
78
78
  _class_call_check(this, TabControlProperty);
79
79
  var _this;
80
+ var _ref;
80
81
  _this = _call_super(this, TabControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "mobileShowType", void 0);
83
- var _props_mobileShowType;
84
- _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : 'vertical';
84
+ _this.mobileShowType = (_ref = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref !== void 0 ? _ref : 'vertical';
85
85
  return _this;
86
86
  }
87
87
  return TabControlProperty;
@@ -96,11 +96,11 @@ var TabPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
96
96
  function TabPaneControlProperty(props) {
97
97
  _class_call_check(this, TabPaneControlProperty);
98
98
  var _this;
99
+ var _ref;
99
100
  _this = _call_super(this, TabPaneControlProperty, [
100
101
  props
101
102
  ]), _define_property(_this, "caption", void 0);
102
- var _props_caption;
103
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DesignerTabControl.controlName;
103
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : DesignerTabControl.controlName;
104
104
  return _this;
105
105
  }
106
106
  return TabPaneControlProperty;
@@ -77,6 +77,7 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function TableLayoutControlProperty(props) {
78
78
  _class_call_check(this, TableLayoutControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14;
80
81
  _this = _call_super(this, TableLayoutControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "rowCount", void 0 //行数
@@ -90,40 +91,28 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
90
91
  ), _define_property(_this, "verticalAlign", void 0 //标题垂直对齐方式
91
92
  ), _define_property(_this, "innerBorder", void 0 //表格内边框
92
93
  );
93
- var _props_rowCount;
94
- _this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
95
- var _props_colCount;
96
- _this.colCount = (_props_colCount = props === null || props === void 0 ? void 0 : props.colCount) !== null && _props_colCount !== void 0 ? _props_colCount : 2;
97
- var _props_labelPosition;
98
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'left';
99
- var _props_colWidthType;
100
- _this.colWidthType = (_props_colWidthType = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _props_colWidthType !== void 0 ? _props_colWidthType : 'average';
101
- var _props_colWidth;
102
- _this.colWidth = (_props_colWidth = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _props_colWidth !== void 0 ? _props_colWidth : '12:12';
103
- var _props_isLabelBold;
104
- _this.isLabelBold = (_props_isLabelBold = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _props_isLabelBold !== void 0 ? _props_isLabelBold : false;
105
- var _props_labelWidth;
106
- _this.labelWidth = (_props_labelWidth = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _props_labelWidth !== void 0 ? _props_labelWidth : '';
107
- var _props_align;
108
- _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
109
- var _props_verticalAlign;
110
- _this.verticalAlign = (_props_verticalAlign = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _props_verticalAlign !== void 0 ? _props_verticalAlign : 'center';
111
- var _props_padding;
112
- _this.padding = (_props_padding = props === null || props === void 0 ? void 0 : props.padding) !== null && _props_padding !== void 0 ? _props_padding : {
94
+ _this.rowCount = (_ref = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _ref !== void 0 ? _ref : 2;
95
+ _this.colCount = (_ref1 = props === null || props === void 0 ? void 0 : props.colCount) !== null && _ref1 !== void 0 ? _ref1 : 2;
96
+ _this.labelPosition = (_ref2 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref2 !== void 0 ? _ref2 : 'left';
97
+ _this.colWidthType = (_ref3 = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _ref3 !== void 0 ? _ref3 : 'average';
98
+ _this.colWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _ref4 !== void 0 ? _ref4 : '12:12';
99
+ _this.isLabelBold = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _ref5 !== void 0 ? _ref5 : false;
100
+ _this.labelWidth = (_ref6 = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _ref6 !== void 0 ? _ref6 : '';
101
+ _this.align = (_ref7 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref7 !== void 0 ? _ref7 : '';
102
+ _this.verticalAlign = (_ref8 = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _ref8 !== void 0 ? _ref8 : 'center';
103
+ _this.padding = (_ref9 = props === null || props === void 0 ? void 0 : props.padding) !== null && _ref9 !== void 0 ? _ref9 : {
113
104
  paddingTop: '',
114
105
  paddingRight: '',
115
106
  paddingBottom: '',
116
107
  paddingLeft: ''
117
108
  };
118
- var _props_margin;
119
- _this.margin = (_props_margin = props === null || props === void 0 ? void 0 : props.margin) !== null && _props_margin !== void 0 ? _props_margin : {
109
+ _this.margin = (_ref10 = props === null || props === void 0 ? void 0 : props.margin) !== null && _ref10 !== void 0 ? _ref10 : {
120
110
  marginTop: '',
121
111
  marginRight: '',
122
112
  marginBottom: '',
123
113
  marginLeft: ''
124
114
  };
125
- var _props_border;
126
- _this.border = (_props_border = props === null || props === void 0 ? void 0 : props.border) !== null && _props_border !== void 0 ? _props_border : {
115
+ _this.border = (_ref11 = props === null || props === void 0 ? void 0 : props.border) !== null && _ref11 !== void 0 ? _ref11 : {
127
116
  borderTop: true,
128
117
  borderBottom: true,
129
118
  borderLeft: true,
@@ -132,22 +121,19 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
132
121
  borderColor: '',
133
122
  borderType: 'solid'
134
123
  };
135
- var _props_borderRadius;
136
- _this.borderRadius = (_props_borderRadius = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _props_borderRadius !== void 0 ? _props_borderRadius : {
124
+ _this.borderRadius = (_ref12 = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _ref12 !== void 0 ? _ref12 : {
137
125
  borderTopLeftRadius: '',
138
126
  borderTopRightRadius: '',
139
127
  borderBottomRightRadius: '',
140
128
  borderBottomLeftRadius: ''
141
129
  };
142
- var _props_background;
143
- _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
130
+ _this.background = (_ref13 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref13 !== void 0 ? _ref13 : {
144
131
  type: 'backgroundColor',
145
132
  backgroundColor: '',
146
133
  backgroundImage: '',
147
134
  placementMode: 'contain'
148
135
  };
149
- var _props_innerBorder;
150
- _this.innerBorder = (_props_innerBorder = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _props_innerBorder !== void 0 ? _props_innerBorder : {
136
+ _this.innerBorder = (_ref14 = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _ref14 !== void 0 ? _ref14 : {
151
137
  borderWidth: 1,
152
138
  borderColor: '',
153
139
  borderType: 'solid'
@@ -78,6 +78,7 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
78
78
  function TableLayoutColControlProperty(props) {
79
79
  _class_call_check(this, TableLayoutColControlProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
81
82
  _this = _call_super(this, TableLayoutColControlProperty, [
82
83
  props
83
84
  ]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0), // 在表格布局中的合并单元格数量
@@ -88,31 +89,21 @@ var TableLayoutColControlProperty = /*#__PURE__*/ function(LayoutControlProperty
88
89
  _define_property(_this, "alignItems", void 0), // 主轴对齐方式
89
90
  _define_property(_this, "justifyContent", void 0), _define_property(_this, "background", void 0), // 设置该列与标题同宽
90
91
  _define_property(_this, "isLabelCol", void 0);
91
- var _props_span;
92
- _this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
93
- var _props_offset;
94
- _this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
95
- var _props_tableLayoutColSpan;
96
- _this.tableLayoutColSpan = (_props_tableLayoutColSpan = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _props_tableLayoutColSpan !== void 0 ? _props_tableLayoutColSpan : 0;
97
- var _props_tableLayoutColSpanType;
98
- _this.tableLayoutColSpanType = (_props_tableLayoutColSpanType = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _props_tableLayoutColSpanType !== void 0 ? _props_tableLayoutColSpanType : '';
99
- var _props_layout;
100
- _this.layout = (_props_layout = props === null || props === void 0 ? void 0 : props.layout) !== null && _props_layout !== void 0 ? _props_layout : 'flex';
101
- var _props_flexDirection;
102
- _this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
103
- var _props_alignItems;
104
- _this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
105
- var _props_justifyContent;
106
- _this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
107
- var _props_background;
108
- _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
92
+ _this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
93
+ _this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
94
+ _this.tableLayoutColSpan = (_ref2 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _ref2 !== void 0 ? _ref2 : 0;
95
+ _this.tableLayoutColSpanType = (_ref3 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _ref3 !== void 0 ? _ref3 : '';
96
+ _this.layout = (_ref4 = props === null || props === void 0 ? void 0 : props.layout) !== null && _ref4 !== void 0 ? _ref4 : 'flex';
97
+ _this.flexDirection = (_ref5 = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _ref5 !== void 0 ? _ref5 : 'column';
98
+ _this.alignItems = (_ref6 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref6 !== void 0 ? _ref6 : 'flex-start';
99
+ _this.justifyContent = (_ref7 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref7 !== void 0 ? _ref7 : 'flex-start';
100
+ _this.background = (_ref8 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref8 !== void 0 ? _ref8 : {
109
101
  type: 'backgroundColor',
110
102
  backgroundColor: '',
111
103
  backgroundImage: '',
112
104
  placementMode: 'contain'
113
105
  };
114
- var _props_isLabelCol;
115
- _this.isLabelCol = (_props_isLabelCol = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _props_isLabelCol !== void 0 ? _props_isLabelCol : false;
106
+ _this.isLabelCol = (_ref9 = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _ref9 !== void 0 ? _ref9 : false;
116
107
  return _this;
117
108
  }
118
109
  return TableLayoutColControlProperty;
@@ -77,13 +77,12 @@ var TableLayoutRowControlProperty = /*#__PURE__*/ function(LayoutControlProperty
77
77
  function TableLayoutRowControlProperty(props) {
78
78
  _class_call_check(this, TableLayoutRowControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1;
80
81
  _this = _call_super(this, TableLayoutRowControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0);
83
- var _props_layoutMode;
84
- _this.layoutMode = (_props_layoutMode = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _props_layoutMode !== void 0 ? _props_layoutMode : 'select';
85
- var _props_gutter;
86
- _this.gutter = (_props_gutter = props === null || props === void 0 ? void 0 : props.gutter) !== null && _props_gutter !== void 0 ? _props_gutter : 0;
84
+ _this.layoutMode = (_ref = props === null || props === void 0 ? void 0 : props.layoutMode) !== null && _ref !== void 0 ? _ref : 'select';
85
+ _this.gutter = (_ref1 = props === null || props === void 0 ? void 0 : props.gutter) !== null && _ref1 !== void 0 ? _ref1 : 0;
87
86
  return _this;
88
87
  }
89
88
  return TableLayoutRowControlProperty;
@@ -77,17 +77,15 @@ 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), //wrapper 单位
83
84
  _define_property(_this, "widthCompany", void 0), // 表单控件是否显示边框线
84
85
  _define_property(_this, "showFormBorder", void 0);
85
- var _props_width;
86
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : '';
87
- var _props_widthCompany;
88
- _this.widthCompany = (_props_widthCompany = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _props_widthCompany !== void 0 ? _props_widthCompany : 'px';
89
- var _props_showFormBorder;
90
- _this.showFormBorder = (_props_showFormBorder = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _props_showFormBorder !== void 0 ? _props_showFormBorder : false;
86
+ _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
87
+ _this.widthCompany = (_ref1 = props === null || props === void 0 ? void 0 : props.widthCompany) !== null && _ref1 !== void 0 ? _ref1 : 'px';
88
+ _this.showFormBorder = (_ref2 = props === null || props === void 0 ? void 0 : props.showFormBorder) !== null && _ref2 !== void 0 ? _ref2 : false;
91
89
  return _this;
92
90
  }
93
91
  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() {