@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,13 +77,12 @@ 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), _define_property(_this, "colGap", void 0);
83
- var _props_childMinWidth;
84
- _this.childMinWidth = (_props_childMinWidth = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _props_childMinWidth !== void 0 ? _props_childMinWidth : 230;
85
- var _props_colGap;
86
- _this.colGap = (_props_colGap = props === null || props === void 0 ? void 0 : props.colGap) !== null && _props_colGap !== void 0 ? _props_colGap : 24;
84
+ _this.childMinWidth = (_ref = props === null || props === void 0 ? void 0 : props.childMinWidth) !== null && _ref !== void 0 ? _ref : 230;
85
+ _this.colGap = (_ref1 = props === null || props === void 0 ? void 0 : props.colGap) !== null && _ref1 !== void 0 ? _ref1 : 24;
87
86
  return _this;
88
87
  }
89
88
  return GridLayoutContainerControlProperty;
@@ -78,31 +78,22 @@ 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), _define_property(_this, "decimalKeepPrecision", void 0), _define_property(_this, "timestampDateType", void 0), _define_property(_this, "departmentDisplayLevel", void 0);
84
- var _props_width;
85
- _this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 200;
85
+ _this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 200;
86
86
  _this.widthType = (props === null || props === void 0 ? void 0 : props.widthType) || 'auto';
87
- var _props_caption;
88
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
89
- var _props_fixed;
90
- _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
91
- var _props_fieldCode;
92
- _this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
93
- var _props_fieldType;
94
- _this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
95
- var _props_fieldName;
96
- _this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : '';
87
+ _this.caption = (_ref1 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref1 !== void 0 ? _ref1 : '';
88
+ _this.fixed = (_ref2 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref2 !== void 0 ? _ref2 : false;
89
+ _this.fieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
90
+ _this.fieldType = (_ref4 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref4 !== void 0 ? _ref4 : FieldTypes.VARCHAR;
91
+ _this.fieldName = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref5 !== void 0 ? _ref5 : '';
97
92
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
98
- var _props_textCleanFormart;
99
- _this.textCleanFormart = (_props_textCleanFormart = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _props_textCleanFormart !== void 0 ? _props_textCleanFormart : false;
100
- var _props_decimalKeepPrecision;
101
- _this.decimalKeepPrecision = (_props_decimalKeepPrecision = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _props_decimalKeepPrecision !== void 0 ? _props_decimalKeepPrecision : 0;
102
- var _props_timestampDateType;
103
- _this.timestampDateType = (_props_timestampDateType = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _props_timestampDateType !== void 0 ? _props_timestampDateType : DateType.DATE;
104
- var _props_departmentDisplayLevel;
105
- _this.departmentDisplayLevel = (_props_departmentDisplayLevel = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _props_departmentDisplayLevel !== void 0 ? _props_departmentDisplayLevel : 1;
93
+ _this.textCleanFormart = (_ref6 = props === null || props === void 0 ? void 0 : props.textCleanFormart) !== null && _ref6 !== void 0 ? _ref6 : false;
94
+ _this.decimalKeepPrecision = (_ref7 = props === null || props === void 0 ? void 0 : props.decimalKeepPrecision) !== null && _ref7 !== void 0 ? _ref7 : 0;
95
+ _this.timestampDateType = (_ref8 = props === null || props === void 0 ? void 0 : props.timestampDateType) !== null && _ref8 !== void 0 ? _ref8 : DateType.DATE;
96
+ _this.departmentDisplayLevel = (_ref9 = props === null || props === void 0 ? void 0 : props.departmentDisplayLevel) !== null && _ref9 !== void 0 ? _ref9 : 1;
106
97
  return _this;
107
98
  }
108
99
  return GridTableColumnControlProperty;
@@ -213,43 +213,30 @@ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
213
213
  function ListViewControlProperty(props) {
214
214
  _class_call_check(this, ListViewControlProperty);
215
215
  var _this;
216
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13;
216
217
  _this = _call_super(this, ListViewControlProperty, [
217
218
  props
218
219
  ]), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "isLoading", void 0), _define_property(_this, "isShowSubList", void 0), _define_property(_this, "triggerType", void 0), _define_property(_this, "triggerFieldCode", void 0), _define_property(_this, "sublistPage", void 0), _define_property(_this, "isShowJoinRelation", void 0), _define_property(_this, "joinRelation", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "showFullScreen", void 0), _define_property(_this, "isFixedHeader", void 0), _define_property(_this, "selectionType", void 0), _define_property(_this, "isShowSelection", void 0), _define_property(_this, "isAllLoaded", void 0), _define_property(_this, "countType", void 0), _define_property(_this, "countLimit", void 0), _define_property(_this, "rowStyle", void 0), _define_property(_this, "isTreeData", void 0), _define_property(_this, "treeData", void 0), _define_property(_this, "isMasterDetail", void 0), _define_property(_this, "masterDetail", void 0);
219
220
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
220
- var _props_isLoading;
221
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
222
- var _props_isShowSubList;
223
- _this.isShowSubList = (_props_isShowSubList = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _props_isShowSubList !== void 0 ? _props_isShowSubList : false;
224
- var _props_triggerType;
225
- _this.triggerType = (_props_triggerType = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _props_triggerType !== void 0 ? _props_triggerType : 1;
226
- var _props_triggerFieldCode;
227
- _this.triggerFieldCode = (_props_triggerFieldCode = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _props_triggerFieldCode !== void 0 ? _props_triggerFieldCode : '';
221
+ _this.isLoading = (_ref = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref !== void 0 ? _ref : false;
222
+ _this.isShowSubList = (_ref1 = props === null || props === void 0 ? void 0 : props.isShowSubList) !== null && _ref1 !== void 0 ? _ref1 : false;
223
+ _this.triggerType = (_ref2 = props === null || props === void 0 ? void 0 : props.triggerType) !== null && _ref2 !== void 0 ? _ref2 : 1;
224
+ _this.triggerFieldCode = (_ref3 = props === null || props === void 0 ? void 0 : props.triggerFieldCode) !== null && _ref3 !== void 0 ? _ref3 : '';
228
225
  _this.sublistPage = new SubListPageConfig(props === null || props === void 0 ? void 0 : props.sublistPage);
229
- var _props_isShowJoinRelation;
230
- _this.isShowJoinRelation = (_props_isShowJoinRelation = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _props_isShowJoinRelation !== void 0 ? _props_isShowJoinRelation : false;
226
+ _this.isShowJoinRelation = (_ref4 = props === null || props === void 0 ? void 0 : props.isShowJoinRelation) !== null && _ref4 !== void 0 ? _ref4 : false;
231
227
  _this.joinRelation = new JoinRelation(props === null || props === void 0 ? void 0 : props.joinRelation);
232
- var _props_showType;
233
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'stretch';
234
- var _props_showFullScreen;
235
- _this.showFullScreen = (_props_showFullScreen = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _props_showFullScreen !== void 0 ? _props_showFullScreen : false;
236
- var _props_selectionType;
237
- _this.selectionType = (_props_selectionType = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _props_selectionType !== void 0 ? _props_selectionType : 'multiple';
238
- var _props_isFixedHeader;
239
- _this.isFixedHeader = (_props_isFixedHeader = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _props_isFixedHeader !== void 0 ? _props_isFixedHeader : false;
240
- var _props_isShowSelection;
241
- _this.isShowSelection = (_props_isShowSelection = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _props_isShowSelection !== void 0 ? _props_isShowSelection : false;
242
- var _props_isAllLoaded;
243
- _this.isAllLoaded = (_props_isAllLoaded = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _props_isAllLoaded !== void 0 ? _props_isAllLoaded : true;
228
+ _this.showType = (_ref5 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref5 !== void 0 ? _ref5 : 'stretch';
229
+ _this.showFullScreen = (_ref6 = props === null || props === void 0 ? void 0 : props.showFullScreen) !== null && _ref6 !== void 0 ? _ref6 : false;
230
+ _this.selectionType = (_ref7 = props === null || props === void 0 ? void 0 : props.selectionType) !== null && _ref7 !== void 0 ? _ref7 : 'multiple';
231
+ _this.isFixedHeader = (_ref8 = props === null || props === void 0 ? void 0 : props.isFixedHeader) !== null && _ref8 !== void 0 ? _ref8 : false;
232
+ _this.isShowSelection = (_ref9 = props === null || props === void 0 ? void 0 : props.isShowSelection) !== null && _ref9 !== void 0 ? _ref9 : false;
233
+ _this.isAllLoaded = (_ref10 = props === null || props === void 0 ? void 0 : props.isAllLoaded) !== null && _ref10 !== void 0 ? _ref10 : true;
244
234
  _this.countType = props === null || props === void 0 ? void 0 : props.countType;
245
- var _props_countLimit;
246
- _this.countLimit = (_props_countLimit = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _props_countLimit !== void 0 ? _props_countLimit : 100000;
235
+ _this.countLimit = (_ref11 = props === null || props === void 0 ? void 0 : props.countLimit) !== null && _ref11 !== void 0 ? _ref11 : 100000;
247
236
  _this.rowStyle = new RowStyle(props === null || props === void 0 ? void 0 : props.rowStyle);
248
- var _props_isTreeData;
249
- _this.isTreeData = (_props_isTreeData = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _props_isTreeData !== void 0 ? _props_isTreeData : false;
237
+ _this.isTreeData = (_ref12 = props === null || props === void 0 ? void 0 : props.isTreeData) !== null && _ref12 !== void 0 ? _ref12 : false;
250
238
  _this.treeData = new ListTreeData(props === null || props === void 0 ? void 0 : props.treeData);
251
- var _props_isMasterDetail;
252
- _this.isMasterDetail = (_props_isMasterDetail = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _props_isMasterDetail !== void 0 ? _props_isMasterDetail : false;
239
+ _this.isMasterDetail = (_ref13 = props === null || props === void 0 ? void 0 : props.isMasterDetail) !== null && _ref13 !== void 0 ? _ref13 : false;
253
240
  _this.masterDetail = new MasterDetail(props === null || props === void 0 ? void 0 : props.masterDetail);
254
241
  return _this;
255
242
  }
@@ -77,11 +77,11 @@ 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", ''), _define_property(_this, "heightConfig", 'auto');
83
- var _props_hideHeader;
84
- _this.hideHeader = (_props_hideHeader = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _props_hideHeader !== void 0 ? _props_hideHeader : false;
84
+ _this.hideHeader = (_ref = props === null || props === void 0 ? void 0 : props.hideHeader) !== null && _ref !== void 0 ? _ref : false;
85
85
  return _this;
86
86
  }
87
87
  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,21 +77,17 @@ 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, _ref2, _ref3, _ref4;
80
81
  _this = _call_super(this, RowControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "layoutMode", void 0), _define_property(_this, "gutter", void 0), _define_property(_this, "align", void 0), _define_property(_this, "justify", void 0), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "isFull", 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;
87
- var _props_align;
88
- _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
89
- var _props_justify;
90
- _this.justify = (_props_justify = props === null || props === void 0 ? void 0 : props.justify) !== null && _props_justify !== void 0 ? _props_justify : '';
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;
86
+ _this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : '';
87
+ _this.justify = (_ref3 = props === null || props === void 0 ? void 0 : props.justify) !== null && _ref3 !== void 0 ? _ref3 : '';
91
88
  _this.padding = new Padding(props === null || props === void 0 ? void 0 : props.padding);
92
89
  _this.margin = new Margin(props === null || props === void 0 ? void 0 : props.margin);
93
- var _props_isFull;
94
- _this.isFull = (_props_isFull = props === null || props === void 0 ? void 0 : props.isFull) !== null && _props_isFull !== void 0 ? _props_isFull : false;
90
+ _this.isFull = (_ref4 = props === null || props === void 0 ? void 0 : props.isFull) !== null && _ref4 !== void 0 ? _ref4 : false;
95
91
  return _this;
96
92
  }
97
93
  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,31 +77,21 @@ 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, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
80
81
  _this = _call_super(this, StepControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "direction", void 0), _define_property(_this, "labelPlacement", void 0), _define_property(_this, "size", void 0), _define_property(_this, "type", void 0), _define_property(_this, "isSticky", void 0), _define_property(_this, "step", void 0), _define_property(_this, "isCenter", void 0), _define_property(_this, "isStopStepClick", void 0), _define_property(_this, "status", void 0), _define_property(_this, "stopStatus", void 0), _define_property(_this, "isShowStepButton", void 0), _define_property(_this, "stepButtons", void 0);
83
- var _props_direction;
84
- _this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'horizontal';
85
- var _props_labelPlacement;
86
- _this.labelPlacement = (_props_labelPlacement = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _props_labelPlacement !== void 0 ? _props_labelPlacement : 'horizontal';
87
- var _props_size;
88
- _this.size = (_props_size = props === null || props === void 0 ? void 0 : props.size) !== null && _props_size !== void 0 ? _props_size : 'default';
89
- var _props_type;
90
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'default';
91
- var _props_isSticky;
92
- _this.isSticky = (_props_isSticky = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _props_isSticky !== void 0 ? _props_isSticky : false;
93
- var _props_step;
94
- _this.step = (_props_step = props === null || props === void 0 ? void 0 : props.step) !== null && _props_step !== void 0 ? _props_step : '';
95
- var _props_isCenter;
96
- _this.isCenter = (_props_isCenter = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _props_isCenter !== void 0 ? _props_isCenter : false;
97
- var _props_isStopStepClick;
98
- _this.isStopStepClick = (_props_isStopStepClick = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _props_isStopStepClick !== void 0 ? _props_isStopStepClick : false;
99
- var _props_status;
100
- _this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'process';
101
- var _props_stopStatus;
102
- _this.stopStatus = (_props_stopStatus = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _props_stopStatus !== void 0 ? _props_stopStatus : 'finish';
103
- var _props_isShowStepButton;
104
- _this.isShowStepButton = (_props_isShowStepButton = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _props_isShowStepButton !== void 0 ? _props_isShowStepButton : false;
84
+ _this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'horizontal';
85
+ _this.labelPlacement = (_ref1 = props === null || props === void 0 ? void 0 : props.labelPlacement) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
86
+ _this.size = (_ref2 = props === null || props === void 0 ? void 0 : props.size) !== null && _ref2 !== void 0 ? _ref2 : 'default';
87
+ _this.type = (_ref3 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref3 !== void 0 ? _ref3 : 'default';
88
+ _this.isSticky = (_ref4 = props === null || props === void 0 ? void 0 : props.isSticky) !== null && _ref4 !== void 0 ? _ref4 : false;
89
+ _this.step = (_ref5 = props === null || props === void 0 ? void 0 : props.step) !== null && _ref5 !== void 0 ? _ref5 : '';
90
+ _this.isCenter = (_ref6 = props === null || props === void 0 ? void 0 : props.isCenter) !== null && _ref6 !== void 0 ? _ref6 : false;
91
+ _this.isStopStepClick = (_ref7 = props === null || props === void 0 ? void 0 : props.isStopStepClick) !== null && _ref7 !== void 0 ? _ref7 : false;
92
+ _this.status = (_ref8 = props === null || props === void 0 ? void 0 : props.status) !== null && _ref8 !== void 0 ? _ref8 : 'process';
93
+ _this.stopStatus = (_ref9 = props === null || props === void 0 ? void 0 : props.stopStatus) !== null && _ref9 !== void 0 ? _ref9 : 'finish';
94
+ _this.isShowStepButton = (_ref10 = props === null || props === void 0 ? void 0 : props.isShowStepButton) !== null && _ref10 !== void 0 ? _ref10 : false;
105
95
  _this.stepButtons = new StepButtons(props === null || props === void 0 ? void 0 : props.stepButtons);
106
96
  return _this;
107
97
  }
@@ -77,26 +77,19 @@ var StepPaneControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function StepPaneControlProperty(props) {
78
78
  _class_call_check(this, StepPaneControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
80
81
  _this = _call_super(this, StepPaneControlProperty, [
81
82
  props
82
83
  ]), // static readonly Rules = StepPaneControlPropertyRules
83
84
  _define_property(_this, "title", void 0), _define_property(_this, "subTitle", void 0), _define_property(_this, "disabled", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "color", void 0), _define_property(_this, "status", void 0), _define_property(_this, "description", void 0), _define_property(_this, "isDefault", void 0);
84
- var _props_title;
85
- _this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
86
- var _props_subTitle;
87
- _this.subTitle = (_props_subTitle = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _props_subTitle !== void 0 ? _props_subTitle : '';
88
- var _props_disabled;
89
- _this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
90
- var _props_icon;
91
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : '';
92
- var _props_color;
93
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
94
- var _props_status;
95
- _this.status = (_props_status = props === null || props === void 0 ? void 0 : props.status) !== null && _props_status !== void 0 ? _props_status : 'wait';
96
- var _props_description;
97
- _this.description = (_props_description = props === null || props === void 0 ? void 0 : props.description) !== null && _props_description !== void 0 ? _props_description : '';
98
- var _props_isDefault;
99
- _this.isDefault = (_props_isDefault = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
85
+ _this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
86
+ _this.subTitle = (_ref1 = props === null || props === void 0 ? void 0 : props.subTitle) !== null && _ref1 !== void 0 ? _ref1 : '';
87
+ _this.disabled = (_ref2 = props === null || props === void 0 ? void 0 : props.disabled) !== null && _ref2 !== void 0 ? _ref2 : false;
88
+ _this.icon = (_ref3 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref3 !== void 0 ? _ref3 : '';
89
+ _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : '';
90
+ _this.status = (_ref5 = props === null || props === void 0 ? void 0 : props.status) !== null && _ref5 !== void 0 ? _ref5 : 'wait';
91
+ _this.description = (_ref6 = props === null || props === void 0 ? void 0 : props.description) !== null && _ref6 !== void 0 ? _ref6 : '';
92
+ _this.isDefault = (_ref7 = props === null || props === void 0 ? void 0 : props.isDefault) !== null && _ref7 !== void 0 ? _ref7 : false;
100
93
  return _this;
101
94
  }
102
95
  return StepPaneControlProperty;
@@ -106,19 +106,15 @@ 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
  ]), _define_property(_this, "metaAutoWidth", void 0), _define_property(_this, "caption", void 0), _define_property(_this, "fixed", void 0), _define_property(_this, "isShowCaptionTip", void 0), _define_property(_this, "captionTip", void 0), _define_property(_this, "isHideCaption", void 0);
112
- var _props_caption;
113
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
114
- var _props_fixed;
115
- _this.fixed = (_props_fixed = props === null || props === void 0 ? void 0 : props.fixed) !== null && _props_fixed !== void 0 ? _props_fixed : false;
116
- var _props_isShowCaptionTip;
117
- _this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
118
- var _props_captionTip;
119
- _this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : '';
120
- var _props_isHideCaption;
121
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
113
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : '';
114
+ _this.fixed = (_ref1 = props === null || props === void 0 ? void 0 : props.fixed) !== null && _ref1 !== void 0 ? _ref1 : false;
115
+ _this.isShowCaptionTip = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _ref2 !== void 0 ? _ref2 : false;
116
+ _this.captionTip = (_ref3 = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _ref3 !== void 0 ? _ref3 : '';
117
+ _this.isHideCaption = (_ref4 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref4 !== void 0 ? _ref4 : false;
122
118
  _this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
123
119
  return _this;
124
120
  }
@@ -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,19 +77,15 @@ var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function TabControlProperty(props) {
78
78
  _class_call_check(this, TabControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2, _ref3, _ref4;
80
81
  _this = _call_super(this, TabControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "mobileShowType", void 0), _define_property(_this, "type", void 0), _define_property(_this, "tabPosition", void 0), _define_property(_this, "isLabelFlat", void 0), _define_property(_this, "isDelay", 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';
85
- var _props_type;
86
- _this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'line';
87
- var _props_tabPosition;
88
- _this.tabPosition = (_props_tabPosition = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _props_tabPosition !== void 0 ? _props_tabPosition : 'top';
89
- var _props_isLabelFlat;
90
- _this.isLabelFlat = (_props_isLabelFlat = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _props_isLabelFlat !== void 0 ? _props_isLabelFlat : false;
91
- var _props_isDelay;
92
- _this.isDelay = (_props_isDelay = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _props_isDelay !== void 0 ? _props_isDelay : false;
84
+ _this.mobileShowType = (_ref = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _ref !== void 0 ? _ref : 'vertical';
85
+ _this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'line';
86
+ _this.tabPosition = (_ref2 = props === null || props === void 0 ? void 0 : props.tabPosition) !== null && _ref2 !== void 0 ? _ref2 : 'top';
87
+ _this.isLabelFlat = (_ref3 = props === null || props === void 0 ? void 0 : props.isLabelFlat) !== null && _ref3 !== void 0 ? _ref3 : false;
88
+ _this.isDelay = (_ref4 = props === null || props === void 0 ? void 0 : props.isDelay) !== null && _ref4 !== void 0 ? _ref4 : false;
93
89
  return _this;
94
90
  }
95
91
  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;
@@ -84,6 +84,7 @@ function _is_native_reflect_construct() {
84
84
  return !!result;
85
85
  })();
86
86
  }
87
+ import { getLocaleText } from '@byteluck-fe/locale-message';
87
88
  import { DesignerLayoutControl } from '@byteluck-fe/model-driven-core';
88
89
  import TableLayoutControlProperty from './property';
89
90
  var TableLayoutControl = /*#__PURE__*/ function(DesignerLayoutControl) {
@@ -102,7 +103,7 @@ var TableLayoutControl = /*#__PURE__*/ function(DesignerLayoutControl) {
102
103
  {
103
104
  key: "controlName",
104
105
  get: function get() {
105
- return '表格布局';
106
+ return getLocaleText('CMD.6a6c1769566515442');
106
107
  }
107
108
  },
108
109
  {
@@ -142,6 +143,10 @@ _define_property(TableLayoutControl, "setting", [
142
143
  key: 'label-width',
143
144
  visible: true
144
145
  },
146
+ {
147
+ key: 'label-bold',
148
+ visible: true
149
+ },
145
150
  {
146
151
  key: 'text-align',
147
152
  visible: true
@@ -77,41 +77,33 @@ 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
- ]), _define_property(_this, "rowCount", void 0), _define_property(_this, "colCount", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "colWidthType", void 0), _define_property(_this, "colWidth", void 0), _define_property(_this, "labelWidth", void 0), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "border", void 0), _define_property(_this, "background", void 0), _define_property(_this, "borderRadius", void 0), _define_property(_this, "align", void 0), _define_property(_this, "verticalAlign", void 0), _define_property(_this, "innerBorder", void 0);
83
- var _props_rowCount;
84
- _this.rowCount = (_props_rowCount = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _props_rowCount !== void 0 ? _props_rowCount : 2;
85
- var _props_colCount;
86
- _this.colCount = (_props_colCount = props === null || props === void 0 ? void 0 : props.colCount) !== null && _props_colCount !== void 0 ? _props_colCount : 2;
87
- var _props_labelPosition;
88
- _this.labelPosition = (_props_labelPosition = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _props_labelPosition !== void 0 ? _props_labelPosition : 'left';
89
- var _props_colWidthType;
90
- _this.colWidthType = (_props_colWidthType = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _props_colWidthType !== void 0 ? _props_colWidthType : 'average';
91
- var _props_colWidth;
92
- _this.colWidth = (_props_colWidth = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _props_colWidth !== void 0 ? _props_colWidth : '12:12';
93
- var _props_labelWidth;
94
- _this.labelWidth = (_props_labelWidth = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _props_labelWidth !== void 0 ? _props_labelWidth : '';
95
- var _props_align;
96
- _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : '';
97
- var _props_verticalAlign;
98
- _this.verticalAlign = (_props_verticalAlign = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _props_verticalAlign !== void 0 ? _props_verticalAlign : 'center';
99
- var _props_padding;
100
- _this.padding = (_props_padding = props === null || props === void 0 ? void 0 : props.padding) !== null && _props_padding !== void 0 ? _props_padding : {
83
+ ]), _define_property(_this, "rowCount", void 0), _define_property(_this, "colCount", void 0), _define_property(_this, "labelPosition", void 0), _define_property(_this, "colWidthType", void 0), _define_property(_this, "colWidth", void 0), _define_property(_this, "labelWidth", void 0), _define_property(_this, "isLabelBold", void 0 // label是否加粗
84
+ ), _define_property(_this, "padding", void 0), _define_property(_this, "margin", void 0), _define_property(_this, "border", void 0), _define_property(_this, "background", void 0), _define_property(_this, "borderRadius", void 0), _define_property(_this, "align", void 0), _define_property(_this, "verticalAlign", void 0), _define_property(_this, "innerBorder", void 0);
85
+ _this.rowCount = (_ref = props === null || props === void 0 ? void 0 : props.rowCount) !== null && _ref !== void 0 ? _ref : 2;
86
+ _this.colCount = (_ref1 = props === null || props === void 0 ? void 0 : props.colCount) !== null && _ref1 !== void 0 ? _ref1 : 2;
87
+ _this.labelPosition = (_ref2 = props === null || props === void 0 ? void 0 : props.labelPosition) !== null && _ref2 !== void 0 ? _ref2 : 'left';
88
+ _this.colWidthType = (_ref3 = props === null || props === void 0 ? void 0 : props.colWidthType) !== null && _ref3 !== void 0 ? _ref3 : 'average';
89
+ _this.colWidth = (_ref4 = props === null || props === void 0 ? void 0 : props.colWidth) !== null && _ref4 !== void 0 ? _ref4 : '12:12';
90
+ _this.isLabelBold = (_ref5 = props === null || props === void 0 ? void 0 : props.isLabelBold) !== null && _ref5 !== void 0 ? _ref5 : false;
91
+ _this.labelWidth = (_ref6 = props === null || props === void 0 ? void 0 : props.labelWidth) !== null && _ref6 !== void 0 ? _ref6 : '';
92
+ _this.align = (_ref7 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref7 !== void 0 ? _ref7 : '';
93
+ _this.verticalAlign = (_ref8 = props === null || props === void 0 ? void 0 : props.verticalAlign) !== null && _ref8 !== void 0 ? _ref8 : 'center';
94
+ _this.padding = (_ref9 = props === null || props === void 0 ? void 0 : props.padding) !== null && _ref9 !== void 0 ? _ref9 : {
101
95
  paddingTop: '',
102
96
  paddingRight: '',
103
97
  paddingBottom: '',
104
98
  paddingLeft: ''
105
99
  };
106
- var _props_margin;
107
- _this.margin = (_props_margin = props === null || props === void 0 ? void 0 : props.margin) !== null && _props_margin !== void 0 ? _props_margin : {
100
+ _this.margin = (_ref10 = props === null || props === void 0 ? void 0 : props.margin) !== null && _ref10 !== void 0 ? _ref10 : {
108
101
  marginTop: '',
109
102
  marginRight: '',
110
103
  marginBottom: '',
111
104
  marginLeft: ''
112
105
  };
113
- var _props_border;
114
- _this.border = (_props_border = props === null || props === void 0 ? void 0 : props.border) !== null && _props_border !== void 0 ? _props_border : {
106
+ _this.border = (_ref11 = props === null || props === void 0 ? void 0 : props.border) !== null && _ref11 !== void 0 ? _ref11 : {
115
107
  borderTop: true,
116
108
  borderBottom: true,
117
109
  borderLeft: true,
@@ -120,22 +112,19 @@ var TableLayoutControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
120
112
  borderColor: '',
121
113
  borderType: 'solid'
122
114
  };
123
- var _props_borderRadius;
124
- _this.borderRadius = (_props_borderRadius = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _props_borderRadius !== void 0 ? _props_borderRadius : {
115
+ _this.borderRadius = (_ref12 = props === null || props === void 0 ? void 0 : props.borderRadius) !== null && _ref12 !== void 0 ? _ref12 : {
125
116
  borderTopLeftRadius: '',
126
117
  borderTopRightRadius: '',
127
118
  borderBottomRightRadius: '',
128
119
  borderBottomLeftRadius: ''
129
120
  };
130
- var _props_background;
131
- _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
121
+ _this.background = (_ref13 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref13 !== void 0 ? _ref13 : {
132
122
  type: 'backgroundColor',
133
123
  backgroundColor: '',
134
124
  backgroundImage: '',
135
125
  placementMode: 'contain'
136
126
  };
137
- var _props_innerBorder;
138
- _this.innerBorder = (_props_innerBorder = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _props_innerBorder !== void 0 ? _props_innerBorder : {
127
+ _this.innerBorder = (_ref14 = props === null || props === void 0 ? void 0 : props.innerBorder) !== null && _ref14 !== void 0 ? _ref14 : {
139
128
  borderWidth: 1,
140
129
  borderColor: '',
141
130
  borderType: 'solid'
@@ -78,34 +78,25 @@ 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), _define_property(_this, "tableLayoutColSpan", void 0), _define_property(_this, "tableLayoutColSpanType", void 0), _define_property(_this, "layout", void 0), _define_property(_this, "flexDirection", void 0), _define_property(_this, "alignItems", void 0), _define_property(_this, "justifyContent", void 0), _define_property(_this, "background", void 0), _define_property(_this, "isLabelCol", void 0);
84
- var _props_span;
85
- _this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
86
- var _props_offset;
87
- _this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
88
- var _props_tableLayoutColSpan;
89
- _this.tableLayoutColSpan = (_props_tableLayoutColSpan = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _props_tableLayoutColSpan !== void 0 ? _props_tableLayoutColSpan : 0;
90
- var _props_tableLayoutColSpanType;
91
- _this.tableLayoutColSpanType = (_props_tableLayoutColSpanType = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _props_tableLayoutColSpanType !== void 0 ? _props_tableLayoutColSpanType : '';
92
- var _props_layout;
93
- _this.layout = (_props_layout = props === null || props === void 0 ? void 0 : props.layout) !== null && _props_layout !== void 0 ? _props_layout : 'flex';
94
- var _props_flexDirection;
95
- _this.flexDirection = (_props_flexDirection = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _props_flexDirection !== void 0 ? _props_flexDirection : 'column';
96
- var _props_alignItems;
97
- _this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
98
- var _props_justifyContent;
99
- _this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
100
- var _props_background;
101
- _this.background = (_props_background = props === null || props === void 0 ? void 0 : props.background) !== null && _props_background !== void 0 ? _props_background : {
85
+ _this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
86
+ _this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
87
+ _this.tableLayoutColSpan = (_ref2 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _ref2 !== void 0 ? _ref2 : 0;
88
+ _this.tableLayoutColSpanType = (_ref3 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _ref3 !== void 0 ? _ref3 : '';
89
+ _this.layout = (_ref4 = props === null || props === void 0 ? void 0 : props.layout) !== null && _ref4 !== void 0 ? _ref4 : 'flex';
90
+ _this.flexDirection = (_ref5 = props === null || props === void 0 ? void 0 : props.flexDirection) !== null && _ref5 !== void 0 ? _ref5 : 'column';
91
+ _this.alignItems = (_ref6 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref6 !== void 0 ? _ref6 : 'flex-start';
92
+ _this.justifyContent = (_ref7 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref7 !== void 0 ? _ref7 : 'flex-start';
93
+ _this.background = (_ref8 = props === null || props === void 0 ? void 0 : props.background) !== null && _ref8 !== void 0 ? _ref8 : {
102
94
  type: 'backgroundColor',
103
95
  backgroundColor: '',
104
96
  backgroundImage: '',
105
97
  placementMode: 'contain'
106
98
  };
107
- var _props_isLabelCol;
108
- _this.isLabelCol = (_props_isLabelCol = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _props_isLabelCol !== void 0 ? _props_isLabelCol : false;
99
+ _this.isLabelCol = (_ref9 = props === null || props === void 0 ? void 0 : props.isLabelCol) !== null && _ref9 !== void 0 ? _ref9 : false;
109
100
  return _this;
110
101
  }
111
102
  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;