@byteluck-fe/model-driven-controls 6.2.0-beta.15 → 6.2.0-beta.21

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 (109) 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/designer.js +1 -0
  28. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  29. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  30. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  31. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  32. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  33. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  34. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  35. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  36. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  37. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  38. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  39. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  40. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  41. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  42. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  43. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  44. package/dist/esm/formControls/Address/property.js +6 -10
  45. package/dist/esm/formControls/Amount/property.js +13 -24
  46. package/dist/esm/formControls/Attachment/property.js +25 -40
  47. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  48. package/dist/esm/formControls/Calc/property.js +10 -18
  49. package/dist/esm/formControls/Checkbox/property.js +16 -29
  50. package/dist/esm/formControls/DatePicker/property.js +15 -27
  51. package/dist/esm/formControls/DateRange/property.js +13 -23
  52. package/dist/esm/formControls/Department/property.js +12 -22
  53. package/dist/esm/formControls/Department2/property.js +19 -35
  54. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  55. package/dist/esm/formControls/Employee/property.js +10 -18
  56. package/dist/esm/formControls/Employee2/property.js +17 -32
  57. package/dist/esm/formControls/Image/designer.js +8 -8
  58. package/dist/esm/formControls/Image/property.js +7 -12
  59. package/dist/esm/formControls/Input/property.js +11 -20
  60. package/dist/esm/formControls/Number/property.js +14 -26
  61. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  62. package/dist/esm/formControls/Radio/property.js +13 -24
  63. package/dist/esm/formControls/RichText/property.js +11 -20
  64. package/dist/esm/formControls/Score/property.js +8 -13
  65. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  66. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  67. package/dist/esm/formControls/Select/property.js +12 -22
  68. package/dist/esm/formControls/SelectMultiple/property.js +11 -20
  69. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  70. package/dist/esm/formControls/Textarea/property.js +11 -20
  71. package/dist/esm/formControls/Tree/property.js +21 -39
  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 +13 -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/package.json +5 -5
@@ -110,19 +110,15 @@ var VuePageProperty = /*#__PURE__*/ function(BaseControlProperty) {
110
110
  function VuePageProperty(props) {
111
111
  _class_call_check(this, VuePageProperty);
112
112
  var _this;
113
+ var _ref, _ref1, _ref2, _ref3, _ref4;
113
114
  _this = _call_super(this, VuePageProperty, [
114
115
  props
115
116
  ]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
116
- var _props_caption;
117
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VuePageControl.controlName;
118
- var _props_defaultValue;
119
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
120
- var _props_controlExportName;
121
- _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
122
- var _props_permissions;
123
- _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
124
- var _props_isInlineEdit;
125
- _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
117
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : VuePageControl.controlName;
118
+ _this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : undefined;
119
+ _this.controlExportName = (_ref2 = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _ref2 !== void 0 ? _ref2 : '';
120
+ _this.permissions = (_ref3 = props === null || props === void 0 ? void 0 : props.permissions) !== null && _ref3 !== void 0 ? _ref3 : [];
121
+ _this.isInlineEdit = (_ref4 = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _ref4 !== void 0 ? _ref4 : false;
126
122
  return _this;
127
123
  }
128
124
  return VuePageProperty;
@@ -1,11 +1,4 @@
1
- /*
2
- * @Author: Elvis shuaiqy@hotmail.com
3
- * @Date: 2022-07-07 00:12:37
4
- * @LastEditors: Elvis shuaiqy@hotmail.com
5
- * @LastEditTime: 2022-07-25 17:51:51
6
- * @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
7
- * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
8
- */ function _assert_this_initialized(self) {
1
+ function _assert_this_initialized(self) {
9
2
  if (self === void 0) {
10
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
11
4
  }
@@ -91,7 +84,14 @@ function _is_native_reflect_construct() {
91
84
  return !!result;
92
85
  })();
93
86
  }
94
- import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
87
+ /*
88
+ * @Author: Elvis shuaiqy@hotmail.com
89
+ * @Date: 2022-07-07 00:12:37
90
+ * @LastEditors: Elvis shuaiqy@hotmail.com
91
+ * @LastEditTime: 2022-07-25 17:51:51
92
+ * @FilePath: /model-driven/packages/controls/src/formControls/WPS/designer.ts
93
+ * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
94
+ */ import { DesignerFormControl, COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
95
95
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
96
96
  import WPSProperty from './property';
97
97
  import { getLocaleText } from '@byteluck-fe/locale-message';
@@ -148,34 +148,23 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
148
148
  function WPSProperty(props) {
149
149
  _class_call_check(this, WPSProperty);
150
150
  var _this;
151
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
151
152
  _this = _call_super(this, WPSProperty, [
152
153
  props
153
154
  ]), _define_property(_this, "content", void 0), _define_property(_this, "canAdd", void 0), _define_property(_this, "addLocal", void 0), _define_property(_this, "addOnline", void 0), _define_property(_this, "canDownload", void 0), _define_property(_this, "canEdit", void 0), _define_property(_this, "canExport", void 0), _define_property(_this, "canDelete", void 0), _define_property(_this, "wpsSetting", void 0), _define_property(_this, "maxSize", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "revisionsMode", void 0);
154
- var _props_caption;
155
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : WPSControl.controlName;
156
- var _props_content;
157
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.createWPS', null, '新建文档');
158
- var _props_canAdd;
159
- _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
160
- var _props_addLocal;
161
- _this.addLocal = (_props_addLocal = props === null || props === void 0 ? void 0 : props.addLocal) !== null && _props_addLocal !== void 0 ? _props_addLocal : true;
162
- var _props_addOnline;
163
- _this.addOnline = (_props_addOnline = props === null || props === void 0 ? void 0 : props.addOnline) !== null && _props_addOnline !== void 0 ? _props_addOnline : true;
164
- var _props_canEdit;
165
- _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : true;
166
- var _props_canDownload;
167
- _this.canDownload = (_props_canDownload = props === null || props === void 0 ? void 0 : props.canDownload) !== null && _props_canDownload !== void 0 ? _props_canDownload : true;
168
- var _props_canExport;
169
- _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : true;
170
- var _props_canDelete;
171
- _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : false;
172
- var _props_maxSize;
173
- _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB10;
174
- var _props_defaultValue;
175
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
155
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : WPSControl.controlName;
156
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.createWPS', null, '新建文档');
157
+ _this.canAdd = (_ref2 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref2 !== void 0 ? _ref2 : true;
158
+ _this.addLocal = (_ref3 = props === null || props === void 0 ? void 0 : props.addLocal) !== null && _ref3 !== void 0 ? _ref3 : true;
159
+ _this.addOnline = (_ref4 = props === null || props === void 0 ? void 0 : props.addOnline) !== null && _ref4 !== void 0 ? _ref4 : true;
160
+ _this.canEdit = (_ref5 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref5 !== void 0 ? _ref5 : true;
161
+ _this.canDownload = (_ref6 = props === null || props === void 0 ? void 0 : props.canDownload) !== null && _ref6 !== void 0 ? _ref6 : true;
162
+ _this.canExport = (_ref7 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref7 !== void 0 ? _ref7 : true;
163
+ _this.canDelete = (_ref8 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref8 !== void 0 ? _ref8 : false;
164
+ _this.maxSize = (_ref9 = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _ref9 !== void 0 ? _ref9 : MB10;
165
+ _this.defaultValue = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref10 !== void 0 ? _ref10 : [];
176
166
  _this.wpsSetting = new WPSSetting(props === null || props === void 0 ? void 0 : props.wpsSetting);
177
- var _props_revisionsMode;
178
- _this.revisionsMode = (_props_revisionsMode = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && _props_revisionsMode !== void 0 ? _props_revisionsMode : false;
167
+ _this.revisionsMode = (_ref11 = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && _ref11 !== void 0 ? _ref11 : false;
179
168
  return _this;
180
169
  }
181
170
  return WPSProperty;
@@ -80,12 +80,11 @@ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
80
80
  export var Explain = function Explain(props) {
81
81
  "use strict";
82
82
  _class_call_check(this, Explain);
83
+ var _ref, _ref1;
83
84
  _define_property(this, "id", void 0);
84
85
  _define_property(this, "text", void 0);
85
- var _props_id;
86
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
87
- var _props_text;
88
- this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
86
+ this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
87
+ this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
89
88
  };
90
89
  export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
91
90
  LINE_STYLE["SOLID"] = "solid-line";
@@ -99,6 +98,7 @@ export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
99
98
  export var UndersignedPerson = function UndersignedPerson(props) {
100
99
  "use strict";
101
100
  _class_call_check(this, UndersignedPerson);
101
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
102
102
  /**
103
103
  * 签署人类型
104
104
  * */ _define_property(this, "type", void 0);
@@ -150,51 +150,37 @@ export var UndersignedPerson = function UndersignedPerson(props) {
150
150
  /**
151
151
  * 备注
152
152
  * */ _define_property(this, "remark", void 0);
153
- var _props_type;
154
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'private';
155
- var _props_person;
156
- this.person = new RightVariable((_props_person = props === null || props === void 0 ? void 0 : props.person) !== null && _props_person !== void 0 ? _props_person : {
153
+ this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'private';
154
+ this.person = new RightVariable((_ref1 = props === null || props === void 0 ? void 0 : props.person) !== null && _ref1 !== void 0 ? _ref1 : {
157
155
  type: 'form'
158
156
  });
159
- var _props_signatureType;
160
- this.signatureType = (_props_signatureType = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _props_signatureType !== void 0 ? _props_signatureType : [];
161
- var _props_telephone, _props_telephone1;
162
- this.telephone = (_props_telephone1 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone1 !== void 0 ? _props_telephone1 : new RightVariable((_props_telephone = props === null || props === void 0 ? void 0 : props.telephone) !== null && _props_telephone !== void 0 ? _props_telephone : {
157
+ this.signatureType = (_ref2 = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _ref2 !== void 0 ? _ref2 : [];
158
+ this.telephone = (_ref3 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _ref3 !== void 0 ? _ref3 : new RightVariable((_ref4 = props === null || props === void 0 ? void 0 : props.telephone) !== null && _ref4 !== void 0 ? _ref4 : {
163
159
  type: 'form'
164
160
  });
165
- var _props_company, _props_company1;
166
- this.company = (_props_company1 = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company1 !== void 0 ? _props_company1 : new RightVariable((_props_company = props === null || props === void 0 ? void 0 : props.company) !== null && _props_company !== void 0 ? _props_company : {
161
+ this.company = (_ref5 = props === null || props === void 0 ? void 0 : props.company) !== null && _ref5 !== void 0 ? _ref5 : new RightVariable((_ref6 = props === null || props === void 0 ? void 0 : props.company) !== null && _ref6 !== void 0 ? _ref6 : {
167
162
  type: 'form'
168
163
  });
169
- var _props_indexSignature, _props_indexSignature1;
170
- this.indexSignature = (_props_indexSignature1 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _props_indexSignature1 !== void 0 ? _props_indexSignature1 : new RightVariable((_props_indexSignature = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _props_indexSignature !== void 0 ? _props_indexSignature : {
164
+ this.indexSignature = (_ref7 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _ref7 !== void 0 ? _ref7 : new RightVariable((_ref8 = props === null || props === void 0 ? void 0 : props.indexSignature) !== null && _ref8 !== void 0 ? _ref8 : {
171
165
  type: 'form'
172
166
  });
173
- var _props_signaturePosition;
174
- this.signaturePosition = (_props_signaturePosition = props === null || props === void 0 ? void 0 : props.signaturePosition) !== null && _props_signaturePosition !== void 0 ? _props_signaturePosition : 'free';
175
- var _props_seal;
176
- this.seal = new RightVariable((_props_seal = props === null || props === void 0 ? void 0 : props.seal) !== null && _props_seal !== void 0 ? _props_seal : {
167
+ this.signaturePosition = (_ref9 = props === null || props === void 0 ? void 0 : props.signaturePosition) !== null && _ref9 !== void 0 ? _ref9 : 'free';
168
+ this.seal = new RightVariable((_ref10 = props === null || props === void 0 ? void 0 : props.seal) !== null && _ref10 !== void 0 ? _ref10 : {
177
169
  type: 'form'
178
170
  });
179
- var _props_platformAutoSign;
180
- this.platformAutoSign = (_props_platformAutoSign = props === null || props === void 0 ? void 0 : props.platformAutoSign) !== null && _props_platformAutoSign !== void 0 ? _props_platformAutoSign : false;
181
- var _props_signDateBeanType;
182
- this.signDateBeanType = (_props_signDateBeanType = props === null || props === void 0 ? void 0 : props.signDateBeanType) !== null && _props_signDateBeanType !== void 0 ? _props_signDateBeanType : 0;
183
- var _props_signDateFontSize;
184
- this.signDateFontSize = (_props_signDateFontSize = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _props_signDateFontSize !== void 0 ? _props_signDateFontSize : 12;
185
- var _props_signOrder;
186
- this.signOrder = (_props_signOrder = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _props_signOrder !== void 0 ? _props_signOrder : 1;
171
+ this.platformAutoSign = (_ref11 = props === null || props === void 0 ? void 0 : props.platformAutoSign) !== null && _ref11 !== void 0 ? _ref11 : false;
172
+ this.signDateBeanType = (_ref12 = props === null || props === void 0 ? void 0 : props.signDateBeanType) !== null && _ref12 !== void 0 ? _ref12 : 0;
173
+ this.signDateFontSize = (_ref13 = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _ref13 !== void 0 ? _ref13 : 12;
174
+ this.signOrder = (_ref14 = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _ref14 !== void 0 ? _ref14 : 1;
187
175
  this.forceReadTime = props === null || props === void 0 ? void 0 : props.forceReadTime;
188
- var _props_posX;
189
- this.posX = (_props_posX = props === null || props === void 0 ? void 0 : props.posX) !== null && _props_posX !== void 0 ? _props_posX : 0;
190
- var _props_posY;
191
- this.posY = (_props_posY = props === null || props === void 0 ? void 0 : props.posY) !== null && _props_posY !== void 0 ? _props_posY : 0;
192
- var _props_remark;
193
- this.remark = (_props_remark = props === null || props === void 0 ? void 0 : props.remark) !== null && _props_remark !== void 0 ? _props_remark : '';
176
+ this.posX = (_ref15 = props === null || props === void 0 ? void 0 : props.posX) !== null && _ref15 !== void 0 ? _ref15 : 0;
177
+ this.posY = (_ref16 = props === null || props === void 0 ? void 0 : props.posY) !== null && _ref16 !== void 0 ? _ref16 : 0;
178
+ this.remark = (_ref17 = props === null || props === void 0 ? void 0 : props.remark) !== null && _ref17 !== void 0 ? _ref17 : '';
194
179
  };
195
180
  export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props) {
196
181
  "use strict";
197
182
  _class_call_check(this, ElectronicSignatureConfig);
183
+ var _ref, _ref1, _ref2, _ref3, _ref4;
198
184
  var _props_undersignedList;
199
185
  /**
200
186
  * 签署文件
@@ -211,24 +197,20 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
211
197
  /**
212
198
  * 签署完成时间
213
199
  * */ _define_property(this, "completeTimeControl", void 0);
214
- var _props_fileControl;
215
- this.fileControl = (_props_fileControl = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _props_fileControl !== void 0 ? _props_fileControl : '';
216
- var _props_undersignedList_map;
217
- this.undersignedList = (_props_undersignedList_map = props === null || props === void 0 ? void 0 : (_props_undersignedList = props.undersignedList) === null || _props_undersignedList === void 0 ? void 0 : _props_undersignedList.map(function(item) {
200
+ this.fileControl = (_ref = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _ref !== void 0 ? _ref : '';
201
+ this.undersignedList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_undersignedList = props.undersignedList) === null || _props_undersignedList === void 0 ? void 0 : _props_undersignedList.map(function(item) {
218
202
  return new UndersignedPerson(item);
219
- })) !== null && _props_undersignedList_map !== void 0 ? _props_undersignedList_map : [
203
+ })) !== null && _ref1 !== void 0 ? _ref1 : [
220
204
  new UndersignedPerson()
221
205
  ];
222
- var _props_statusControl;
223
- this.statusControl = (_props_statusControl = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _props_statusControl !== void 0 ? _props_statusControl : '';
224
- var _props_completeControl;
225
- this.completeControl = (_props_completeControl = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _props_completeControl !== void 0 ? _props_completeControl : '';
226
- var _props_completeTimeControl;
227
- this.completeTimeControl = (_props_completeTimeControl = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _props_completeTimeControl !== void 0 ? _props_completeTimeControl : '';
206
+ this.statusControl = (_ref2 = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _ref2 !== void 0 ? _ref2 : '';
207
+ this.completeControl = (_ref3 = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _ref3 !== void 0 ? _ref3 : '';
208
+ this.completeTimeControl = (_ref4 = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _ref4 !== void 0 ? _ref4 : '';
228
209
  };
229
210
  export var ExportTemplate = function ExportTemplate(props) {
230
211
  "use strict";
231
212
  _class_call_check(this, ExportTemplate);
213
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
232
214
  _define_property(this, "id", void 0);
233
215
  _define_property(this, "appId", void 0);
234
216
  _define_property(this, "dataCode", void 0);
@@ -236,58 +218,48 @@ export var ExportTemplate = function ExportTemplate(props) {
236
218
  _define_property(this, "name", void 0);
237
219
  _define_property(this, "fieldList", void 0);
238
220
  _define_property(this, "active", void 0);
239
- var _props_id;
240
- this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
241
- var _props_appId;
242
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
243
- var _props_dataCode;
244
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
245
- var _props_svcCode;
246
- this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
247
- var _props_name;
248
- this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
249
- var _props_fieldList;
250
- this.fieldList = (_props_fieldList = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _props_fieldList !== void 0 ? _props_fieldList : [];
251
- var _props_active;
252
- this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
221
+ this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
222
+ this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
223
+ this.dataCode = (_ref2 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref2 !== void 0 ? _ref2 : '';
224
+ this.svcCode = (_ref3 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref3 !== void 0 ? _ref3 : '';
225
+ this.name = (_ref4 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref4 !== void 0 ? _ref4 : '';
226
+ this.fieldList = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _ref5 !== void 0 ? _ref5 : [];
227
+ this.active = (_ref6 = props === null || props === void 0 ? void 0 : props.active) !== null && _ref6 !== void 0 ? _ref6 : false;
253
228
  };
254
229
  export var WpsOperationItem = function WpsOperationItem(props) {
255
230
  "use strict";
256
231
  _class_call_check(this, WpsOperationItem);
232
+ var _ref, _ref1;
257
233
  _define_property(this, "active", void 0);
258
234
  _define_property(this, "text", void 0);
259
- var _props_active;
260
- this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
261
- var _props_text;
262
- this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
235
+ this.active = (_ref = props === null || props === void 0 ? void 0 : props.active) !== null && _ref !== void 0 ? _ref : false;
236
+ this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
263
237
  };
264
238
  export var WPSSetting = function WPSSetting(props) {
265
239
  "use strict";
266
240
  _class_call_check(this, WPSSetting);
241
+ var _ref, _ref1, _ref2, _ref3;
267
242
  _define_property(this, "types", void 0);
268
243
  _define_property(this, "history", void 0);
269
244
  _define_property(this, "collaborativeRecord", void 0);
270
245
  _define_property(this, "logicToDelete", void 0);
271
246
  _define_property(this, "watermark", void 0);
272
247
  _define_property(this, "autoRename", void 0);
273
- var _props_types;
274
- this.types = (_props_types = props === null || props === void 0 ? void 0 : props.types) !== null && _props_types !== void 0 ? _props_types : [
248
+ this.types = (_ref = props === null || props === void 0 ? void 0 : props.types) !== null && _ref !== void 0 ? _ref : [
275
249
  'word',
276
250
  'ppt',
277
251
  'excel'
278
252
  ];
279
- var _props_history;
280
- this.history = (_props_history = props === null || props === void 0 ? void 0 : props.history) !== null && _props_history !== void 0 ? _props_history : false;
281
- var _props_collaborativeRecord;
282
- this.collaborativeRecord = (_props_collaborativeRecord = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _props_collaborativeRecord !== void 0 ? _props_collaborativeRecord : false;
283
- var _props_logicToDelete;
284
- this.logicToDelete = (_props_logicToDelete = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _props_logicToDelete !== void 0 ? _props_logicToDelete : true;
253
+ this.history = (_ref1 = props === null || props === void 0 ? void 0 : props.history) !== null && _ref1 !== void 0 ? _ref1 : false;
254
+ this.collaborativeRecord = (_ref2 = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _ref2 !== void 0 ? _ref2 : false;
255
+ this.logicToDelete = (_ref3 = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _ref3 !== void 0 ? _ref3 : true;
285
256
  this.watermark = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.watermark);
286
257
  this.autoRename = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.autoRename);
287
258
  };
288
259
  export var ActionSetting = function ActionSetting(props) {
289
260
  "use strict";
290
261
  _class_call_check(this, ActionSetting);
262
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
291
263
  _define_property(this, "appId", void 0);
292
264
  _define_property(this, "dataCode", void 0);
293
265
  _define_property(this, "formKey", void 0);
@@ -295,31 +267,23 @@ export var ActionSetting = function ActionSetting(props) {
295
267
  _define_property(this, "filters", void 0);
296
268
  _define_property(this, "isRelation", void 0);
297
269
  _define_property(this, "relationBindCode", void 0);
298
- var _props_appId;
299
- this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
300
- var _props_dataCode;
301
- this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
302
- var _props_formKey;
303
- this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
304
- var _props_orders;
305
- this.orders = (_props_orders = props === null || props === void 0 ? void 0 : props.orders) !== null && _props_orders !== void 0 ? _props_orders : [];
306
- var _props_filters;
307
- this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
308
- var _props_isRelation;
309
- this.isRelation = (_props_isRelation = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _props_isRelation !== void 0 ? _props_isRelation : false;
310
- var _props_relationBindCode;
311
- this.relationBindCode = (_props_relationBindCode = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _props_relationBindCode !== void 0 ? _props_relationBindCode : '';
270
+ this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
271
+ this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
272
+ this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
273
+ this.orders = (_ref3 = props === null || props === void 0 ? void 0 : props.orders) !== null && _ref3 !== void 0 ? _ref3 : [];
274
+ this.filters = (_ref4 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref4 !== void 0 ? _ref4 : [];
275
+ this.isRelation = (_ref5 = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _ref5 !== void 0 ? _ref5 : false;
276
+ this.relationBindCode = (_ref6 = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _ref6 !== void 0 ? _ref6 : '';
312
277
  };
313
278
  export var ListHeightSetting = function ListHeightSetting(props) {
314
279
  "use strict";
315
280
  _class_call_check(this, ListHeightSetting);
281
+ var _ref, _ref1;
316
282
  _define_property(this, "type", void 0);
317
283
  _define_property(this, "row", void 0);
318
284
  _define_property(this, "height", void 0);
319
- var _props_type;
320
- this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'auto';
321
- var _props_row;
322
- this.row = (_props_row = props === null || props === void 0 ? void 0 : props.row) !== null && _props_row !== void 0 ? _props_row : 20;
285
+ this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'auto';
286
+ this.row = (_ref1 = props === null || props === void 0 ? void 0 : props.row) !== null && _ref1 !== void 0 ? _ref1 : 20;
323
287
  this.height = props === null || props === void 0 ? void 0 : props.height;
324
288
  };
325
289
  export var ImportListBind = function ImportListBind(props) {
@@ -331,28 +295,26 @@ export var ImportListBind = function ImportListBind(props) {
331
295
  export var ImportConfig = function ImportConfig(props) {
332
296
  "use strict";
333
297
  _class_call_check(this, ImportConfig);
298
+ var _ref, _ref1;
334
299
  var _props_templateList;
335
300
  _define_property(this, "templateType", void 0);
336
301
  _define_property(this, "templateList", void 0);
337
- var _props_templateType;
338
- this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
339
- var _props_templateList_map;
340
- this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
302
+ this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
303
+ this.templateList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
341
304
  return new ImportListBind(item);
342
- })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [];
305
+ })) !== null && _ref1 !== void 0 ? _ref1 : [];
343
306
  };
344
307
  export var ExportConfig = function ExportConfig(props) {
345
308
  "use strict";
346
309
  _class_call_check(this, ExportConfig);
310
+ var _ref, _ref1;
347
311
  var _props_templateList;
348
312
  _define_property(this, "templateType", void 0);
349
313
  _define_property(this, "templateList", void 0);
350
- var _props_templateType;
351
- this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
352
- var _props_templateList_map;
353
- this.templateList = (_props_templateList_map = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
314
+ this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
315
+ this.templateList = (_ref1 = props === null || props === void 0 ? void 0 : (_props_templateList = props.templateList) === null || _props_templateList === void 0 ? void 0 : _props_templateList.map(function(item) {
354
316
  return new ExportTemplate(item);
355
- })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
317
+ })) !== null && _ref1 !== void 0 ? _ref1 : [
356
318
  new ExportTemplate({
357
319
  id: 'default',
358
320
  name: getLocaleText('CMD.defaultTemplate', null, '默认模板'),
@@ -373,34 +335,28 @@ export function initExpression(expression) {
373
335
  export var PrintTemplate = function PrintTemplate(props) {
374
336
  "use strict";
375
337
  _class_call_check(this, PrintTemplate);
338
+ var _ref, _ref1, _ref2, _props_isDefault, _props_rules;
376
339
  _define_property(this, "fileId", void 0);
377
340
  _define_property(this, "fileName", void 0);
378
341
  _define_property(this, "ruleName", void 0); //规则名称
379
342
  _define_property(this, "isDefault", void 0); //是否是默认模板
380
343
  _define_property(this, "rules", void 0);
381
- var _props_fileId;
382
- this.fileId = (_props_fileId = props === null || props === void 0 ? void 0 : props.fileId) !== null && _props_fileId !== void 0 ? _props_fileId : '';
383
- var _props_fileName;
384
- this.fileName = (_props_fileName = props === null || props === void 0 ? void 0 : props.fileName) !== null && _props_fileName !== void 0 ? _props_fileName : '';
385
- var _props_ruleName;
386
- this.ruleName = (_props_ruleName = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _props_ruleName !== void 0 ? _props_ruleName : '';
387
- var _props_isDefault;
344
+ this.fileId = (_ref = props === null || props === void 0 ? void 0 : props.fileId) !== null && _ref !== void 0 ? _ref : '';
345
+ this.fileName = (_ref1 = props === null || props === void 0 ? void 0 : props.fileName) !== null && _ref1 !== void 0 ? _ref1 : '';
346
+ this.ruleName = (_ref2 = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _ref2 !== void 0 ? _ref2 : '';
388
347
  this.isDefault = (_props_isDefault = props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
389
- var _props_rules;
390
348
  this.rules = (_props_rules = props.rules) !== null && _props_rules !== void 0 ? _props_rules : [];
391
349
  };
392
350
  export var FlexStyleConfig = function FlexStyleConfig(props) {
393
351
  "use strict";
394
352
  _class_call_check(this, FlexStyleConfig);
353
+ var _ref, _ref1, _ref2;
395
354
  _define_property(this, "direction", void 0);
396
355
  _define_property(this, "justifyContent", void 0);
397
356
  _define_property(this, "alignItems", void 0);
398
- var _props_direction;
399
- this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'row';
400
- var _props_justifyContent;
401
- this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
402
- var _props_alignItems;
403
- this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
357
+ this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'row';
358
+ this.justifyContent = (_ref1 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref1 !== void 0 ? _ref1 : 'flex-start';
359
+ this.alignItems = (_ref2 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref2 !== void 0 ? _ref2 : 'flex-start';
404
360
  };
405
361
  /**
406
362
  * 加密类型
@@ -93,11 +93,11 @@ var ActionBarControl = /*#__PURE__*/ function(DesignerLayoutControl) {
93
93
  function ActionBarControl(props) {
94
94
  _class_call_check(this, ActionBarControl);
95
95
  var _this;
96
+ var _ref;
96
97
  _this = _call_super(this, ActionBarControl, [
97
98
  props
98
99
  ]), _define_property(_this, "props", void 0);
99
- var _props_props;
100
- _this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
100
+ _this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
101
101
  return _this;
102
102
  }
103
103
  _create_class(ActionBarControl, null, [
@@ -77,18 +77,16 @@ var ActionBarControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
77
77
  function ActionBarControlProperty(props) {
78
78
  _class_call_check(this, ActionBarControlProperty);
79
79
  var _this;
80
+ var _ref, _ref1, _ref2;
80
81
  _this = _call_super(this, ActionBarControlProperty, [
81
82
  props
82
83
  ]), _define_property(_this, "position", void 0 //位置
83
84
  ), _define_property(_this, "opacity", void 0 // 背景透明
84
85
  ), _define_property(_this, "align", void 0 // 对齐方式
85
86
  );
86
- var _props_position;
87
- _this.position = (_props_position = props === null || props === void 0 ? void 0 : props.position) !== null && _props_position !== void 0 ? _props_position : 'bottom';
88
- var _props_opacity;
89
- _this.opacity = (_props_opacity = props === null || props === void 0 ? void 0 : props.opacity) !== null && _props_opacity !== void 0 ? _props_opacity : true;
90
- var _props_align;
91
- _this.align = (_props_align = props === null || props === void 0 ? void 0 : props.align) !== null && _props_align !== void 0 ? _props_align : 'right';
87
+ _this.position = (_ref = props === null || props === void 0 ? void 0 : props.position) !== null && _ref !== void 0 ? _ref : 'bottom';
88
+ _this.opacity = (_ref1 = props === null || props === void 0 ? void 0 : props.opacity) !== null && _ref1 !== void 0 ? _ref1 : true;
89
+ _this.align = (_ref2 = props === null || props === void 0 ? void 0 : props.align) !== null && _ref2 !== void 0 ? _ref2 : 'right';
92
90
  return _this;
93
91
  }
94
92
  return ActionBarControlProperty;
@@ -92,11 +92,11 @@ var ActionBarControl = /*#__PURE__*/ function(RuntimeLayoutControl) {
92
92
  function ActionBarControl(props) {
93
93
  _class_call_check(this, ActionBarControl);
94
94
  var _this;
95
+ var _ref;
95
96
  _this = _call_super(this, ActionBarControl, [
96
97
  props
97
98
  ]), _define_property(_this, "props", void 0);
98
- var _props_props;
99
- _this.props = new ActionBarControlProperty((_props_props = props === null || props === void 0 ? void 0 : props.props) !== null && _props_props !== void 0 ? _props_props : {});
99
+ _this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
100
100
  return _this;
101
101
  }
102
102
  _create_class(ActionBarControl, null, [
@@ -93,6 +93,7 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
93
93
  function CardGroupControlProperty(props) {
94
94
  _class_call_check(this, CardGroupControlProperty);
95
95
  var _this;
96
+ var _ref, _ref1, _ref2;
96
97
  _this = _call_super(this, CardGroupControlProperty, [
97
98
  props
98
99
  ]), /*
@@ -101,12 +102,9 @@ var CardGroupControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
101
102
  * 卡片分组是否支持展开收起
102
103
  * 可选项: none 不允许 | open 默认展开 | close 默认关闭
103
104
  * */ _define_property(_this, "collapse", void 0);
104
- var _props_caption;
105
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : getLocaleText('CMD.cardGroup', null, '分组');
106
- var _props_isHideCaption;
107
- _this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
108
- var _props_collapse;
109
- _this.collapse = (_props_collapse = props === null || props === void 0 ? void 0 : props.collapse) !== null && _props_collapse !== void 0 ? _props_collapse : 'none';
105
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : getLocaleText('CMD.cardGroup', null, '分组');
106
+ _this.isHideCaption = (_ref1 = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _ref1 !== void 0 ? _ref1 : false;
107
+ _this.collapse = (_ref2 = props === null || props === void 0 ? void 0 : props.collapse) !== null && _ref2 !== void 0 ? _ref2 : 'none';
110
108
  return _this;
111
109
  }
112
110
  return CardGroupControlProperty;
@@ -78,19 +78,16 @@ var ColControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
78
78
  function ColControlProperty(props) {
79
79
  _class_call_check(this, ColControlProperty);
80
80
  var _this;
81
+ var _ref, _ref1, _ref2, _ref3;
81
82
  _this = _call_super(this, ColControlProperty, [
82
83
  props
83
84
  ]), _define_property(_this, "span", void 0), _define_property(_this, "offset", void 0), // 在表格布局中的合并单元格数量
84
85
  _define_property(_this, "tableLayoutColSpan", void 0), // full 占满整行,'' 没有合并单元格,custom 自定义合并格数
85
86
  _define_property(_this, "tableLayoutColSpanType", void 0);
86
- var _props_span;
87
- _this.span = (_props_span = props === null || props === void 0 ? void 0 : props.span) !== null && _props_span !== void 0 ? _props_span : BASE_SPAN;
88
- var _props_offset;
89
- _this.offset = (_props_offset = props === null || props === void 0 ? void 0 : props.offset) !== null && _props_offset !== void 0 ? _props_offset : 0;
90
- var _props_tableLayoutColSpan;
91
- _this.tableLayoutColSpan = (_props_tableLayoutColSpan = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _props_tableLayoutColSpan !== void 0 ? _props_tableLayoutColSpan : 0;
92
- var _props_tableLayoutColSpanType;
93
- _this.tableLayoutColSpanType = (_props_tableLayoutColSpanType = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _props_tableLayoutColSpanType !== void 0 ? _props_tableLayoutColSpanType : '';
87
+ _this.span = (_ref = props === null || props === void 0 ? void 0 : props.span) !== null && _ref !== void 0 ? _ref : BASE_SPAN;
88
+ _this.offset = (_ref1 = props === null || props === void 0 ? void 0 : props.offset) !== null && _ref1 !== void 0 ? _ref1 : 0;
89
+ _this.tableLayoutColSpan = (_ref2 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpan) !== null && _ref2 !== void 0 ? _ref2 : 0;
90
+ _this.tableLayoutColSpanType = (_ref3 = props === null || props === void 0 ? void 0 : props.tableLayoutColSpanType) !== null && _ref3 !== void 0 ? _ref3 : '';
94
91
  return _this;
95
92
  }
96
93
  return ColControlProperty;
@@ -98,6 +98,7 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
98
98
  function DataViewControlProperty(props) {
99
99
  _class_call_check(this, DataViewControlProperty);
100
100
  var _this;
101
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
101
102
  _this = _call_super(this, DataViewControlProperty, [
102
103
  props
103
104
  ]), _define_property(_this, "save", void 0), _define_property(_this, "cancel", void 0), _define_property(_this, "saveAs", void 0), _define_property(_this, "print", void 0), _define_property(_this, "custom", void 0), /**
@@ -111,39 +112,32 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
111
112
  * 流程表单只读控件展现形式;disabled:禁用模式;text:文本模式;
112
113
  * @defaultValue disabled
113
114
  */ _define_property(_this, "processFormReadonlyControlMode", void 0);
114
- var _props_save;
115
- _this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
115
+ _this.save = new OperationItem((_ref = props === null || props === void 0 ? void 0 : props.save) !== null && _ref !== void 0 ? _ref : {
116
116
  content: getLocaleText('CMD.save', null, '保存'),
117
117
  type: 'save',
118
118
  isShow: false
119
119
  });
120
- var _props_cancel;
121
- _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
120
+ _this.cancel = new OperationItem((_ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref1 !== void 0 ? _ref1 : {
122
121
  content: getLocaleText('CMD.cancel', null, '取消'),
123
122
  type: 'cancel',
124
123
  isShow: false
125
124
  });
126
- var _props_saveAs;
127
- _this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
125
+ _this.saveAs = new OperationItem((_ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _ref2 !== void 0 ? _ref2 : {
128
126
  content: getLocaleText('CMD.draft', null, '保存草稿'),
129
127
  type: 'saveAs',
130
128
  isShow: false
131
129
  });
132
- var _props_print;
133
- _this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
130
+ _this.print = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && _ref3 !== void 0 ? _ref3 : {
134
131
  content: getLocaleText('CMD.print', null, '打印'),
135
132
  type: 'print',
136
133
  isShow: false
137
134
  });
138
- var _props_custom;
139
- _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
135
+ _this.custom = ((_ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref4 !== void 0 ? _ref4 : []).map(function(item) {
140
136
  return new OperationItem(item);
141
137
  });
142
- var _props_isLoading;
143
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
138
+ _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
144
139
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
145
- var _props_processFormReadonlyControlMode;
146
- _this.processFormReadonlyControlMode = (_props_processFormReadonlyControlMode = props === null || props === void 0 ? void 0 : props.processFormReadonlyControlMode) !== null && _props_processFormReadonlyControlMode !== void 0 ? _props_processFormReadonlyControlMode : 'disabled';
140
+ _this.processFormReadonlyControlMode = (_ref6 = props === null || props === void 0 ? void 0 : props.processFormReadonlyControlMode) !== null && _ref6 !== void 0 ? _ref6 : 'disabled';
147
141
  return _this;
148
142
  }
149
143
  return DataViewControlProperty;