@byteluck-fe/model-driven-controls 5.6.0-1-beta3 → 5.6.4-dpx-beta.1

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 (173) 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/CreateFormListButton/property.js +5 -8
  7. package/dist/esm/baseControls/Dashboard/designer.js +4 -0
  8. package/dist/esm/baseControls/Dashboard/property.js +15 -13
  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 +9 -11
  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/designer.js +4 -0
  22. package/dist/esm/baseControls/Text/property.js +13 -13
  23. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  24. package/dist/esm/baseControls/Title/property.js +4 -6
  25. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  26. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  27. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  28. package/dist/esm/columnControls/CustomColumn/designer.js +1 -0
  29. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  30. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  31. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  32. package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -1
  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/ImageColumn/property.js +2 -2
  36. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  37. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  38. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  39. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  40. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  41. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  42. package/dist/esm/columnControls/TimescopeColumn/designer.js +2 -1
  43. package/dist/esm/columnControls/TimescopeColumn/property.js +7 -7
  44. package/dist/esm/columnControls/TimestampColumn/designer.js +2 -1
  45. package/dist/esm/columnControls/TimestampColumn/property.js +7 -7
  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/Address/runtime.js +1 -1
  49. package/dist/esm/formControls/Amount/property.js +14 -25
  50. package/dist/esm/formControls/Attachment/designer.js +5 -0
  51. package/dist/esm/formControls/Attachment/property.js +29 -36
  52. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  53. package/dist/esm/formControls/Calc/property.js +10 -18
  54. package/dist/esm/formControls/Checkbox/designer.js +4 -0
  55. package/dist/esm/formControls/Checkbox/property.js +21 -28
  56. package/dist/esm/formControls/DatePicker/designer.js +4 -2
  57. package/dist/esm/formControls/DatePicker/property.js +14 -21
  58. package/dist/esm/formControls/DateRange/designer.js +4 -2
  59. package/dist/esm/formControls/DateRange/property.js +15 -22
  60. package/dist/esm/formControls/Department/property.js +12 -22
  61. package/dist/esm/formControls/Department2/designer.js +1 -1
  62. package/dist/esm/formControls/Department2/property.js +17 -32
  63. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  64. package/dist/esm/formControls/Employee/property.js +10 -18
  65. package/dist/esm/formControls/Employee2/designer.js +5 -1
  66. package/dist/esm/formControls/Employee2/property.js +21 -34
  67. package/dist/esm/formControls/Image/designer.js +19 -15
  68. package/dist/esm/formControls/Image/property.js +28 -2
  69. package/dist/esm/formControls/Image/runtime.js +16 -10
  70. package/dist/esm/formControls/Input/designer.js +12 -0
  71. package/dist/esm/formControls/Input/property.js +23 -15
  72. package/dist/esm/formControls/Number/property.js +15 -27
  73. package/dist/esm/formControls/OrganizationSelection/designer.js +1 -1
  74. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  75. package/dist/esm/formControls/Radio/designer.js +4 -0
  76. package/dist/esm/formControls/Radio/property.js +18 -23
  77. package/dist/esm/formControls/RichText/designer.js +16 -0
  78. package/dist/esm/formControls/RichText/property.js +48 -12
  79. package/dist/esm/formControls/Score/property.js +8 -13
  80. package/dist/esm/formControls/SearchDateRange/property.js +16 -24
  81. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  82. package/dist/esm/formControls/Select/designer.js +4 -0
  83. package/dist/esm/formControls/Select/property.js +17 -21
  84. package/dist/esm/formControls/SelectMultiple/designer.js +4 -0
  85. package/dist/esm/formControls/SelectMultiple/property.js +16 -19
  86. package/dist/esm/formControls/SelectRelation/designer.js +4 -0
  87. package/dist/esm/formControls/SelectRelation/property.js +60 -66
  88. package/dist/esm/formControls/Textarea/designer.js +16 -0
  89. package/dist/esm/formControls/Textarea/property.js +60 -12
  90. package/dist/esm/formControls/Tree/designer.js +2 -2
  91. package/dist/esm/formControls/Tree/property.js +20 -37
  92. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  93. package/dist/esm/formControls/VuePage/property.js +6 -10
  94. package/dist/esm/formControls/WPS/designer.js +9 -9
  95. package/dist/esm/formControls/WPS/property.js +13 -24
  96. package/dist/esm/framework.js +77 -113
  97. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  98. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  99. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  100. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  101. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  102. package/dist/esm/layoutControls/Col/property.js +3 -4
  103. package/dist/esm/layoutControls/DataView/property.js +7 -12
  104. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  105. package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -1
  106. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  107. package/dist/esm/layoutControls/ListView/property.js +13 -24
  108. package/dist/esm/layoutControls/Page/Setting.js +5 -5
  109. package/dist/esm/layoutControls/Page/property.js +2 -2
  110. package/dist/esm/layoutControls/Position/property.js +5 -8
  111. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  112. package/dist/esm/layoutControls/Row/property.js +3 -4
  113. package/dist/esm/layoutControls/Step/designer.js +166 -0
  114. package/dist/esm/layoutControls/Step/index.js +11 -0
  115. package/dist/esm/layoutControls/Step/property.js +99 -0
  116. package/dist/esm/layoutControls/Step/runtime.js +112 -0
  117. package/dist/esm/layoutControls/Step/types.js +0 -0
  118. package/dist/esm/layoutControls/StepPane/designer.js +130 -0
  119. package/dist/esm/layoutControls/StepPane/index.js +11 -0
  120. package/dist/esm/layoutControls/StepPane/property.js +116 -0
  121. package/dist/esm/layoutControls/StepPane/runtime.js +112 -0
  122. package/dist/esm/layoutControls/StepPane/types.js +0 -0
  123. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  124. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  125. package/dist/esm/layoutControls/Tab/property.js +2 -2
  126. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  127. package/dist/esm/layoutControls/index.js +2 -0
  128. package/dist/esm/listControls/GridTable/designer.js +13 -4
  129. package/dist/esm/listControls/GridTable/property.js +15 -19
  130. package/dist/esm/listControls/SubTable/designer.js +2 -1
  131. package/dist/esm/listControls/SubTable/property.js +37 -67
  132. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  133. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  134. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  135. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  136. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  137. package/dist/index.umd.js +1 -1
  138. package/dist/types/baseControls/Dashboard/property.d.ts +5 -1
  139. package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
  140. package/dist/types/baseControls/Text/property.d.ts +6 -0
  141. package/dist/types/columnControls/TimescopeColumn/property.d.ts +1 -0
  142. package/dist/types/columnControls/TimestampColumn/property.d.ts +1 -0
  143. package/dist/types/formControls/Attachment/property.d.ts +3 -0
  144. package/dist/types/formControls/Checkbox/property.d.ts +6 -0
  145. package/dist/types/formControls/DatePicker/property.d.ts +1 -0
  146. package/dist/types/formControls/DateRange/property.d.ts +1 -0
  147. package/dist/types/formControls/Employee2/property.d.ts +1 -0
  148. package/dist/types/formControls/Image/designer.d.ts +2 -0
  149. package/dist/types/formControls/Image/property.d.ts +3 -0
  150. package/dist/types/formControls/Image/runtime.d.ts +2 -0
  151. package/dist/types/formControls/Input/property.d.ts +17 -0
  152. package/dist/types/formControls/Radio/property.d.ts +6 -0
  153. package/dist/types/formControls/RichText/property.d.ts +30 -1
  154. package/dist/types/formControls/SearchDateRange/property.d.ts +1 -0
  155. package/dist/types/formControls/Select/property.d.ts +6 -0
  156. package/dist/types/formControls/SelectMultiple/property.d.ts +6 -0
  157. package/dist/types/formControls/SelectRelation/property.d.ts +6 -0
  158. package/dist/types/formControls/Textarea/property.d.ts +30 -1
  159. package/dist/types/framework.d.ts +8 -0
  160. package/dist/types/layoutControls/Step/designer.d.ts +14 -0
  161. package/dist/types/layoutControls/Step/index.d.ts +12 -0
  162. package/dist/types/layoutControls/Step/property.d.ts +11 -0
  163. package/dist/types/layoutControls/Step/runtime.d.ts +9 -0
  164. package/dist/types/layoutControls/Step/types.d.ts +0 -0
  165. package/dist/types/layoutControls/StepPane/designer.d.ts +14 -0
  166. package/dist/types/layoutControls/StepPane/index.d.ts +12 -0
  167. package/dist/types/layoutControls/StepPane/property.d.ts +14 -0
  168. package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -0
  169. package/dist/types/layoutControls/StepPane/types.d.ts +0 -0
  170. package/dist/types/layoutControls/index.d.ts +2 -0
  171. package/dist/types/listControls/SubTable/property.d.ts +1 -0
  172. package/dist/types/type.d.ts +3 -1
  173. package/package.json +5 -5
@@ -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
  * 加密类型
@@ -441,3 +397,11 @@ export var FlexStyleConfig = function FlexStyleConfig(props) {
441
397
  InternalType["ADMIN"] = "admin";
442
398
  return InternalType;
443
399
  }({});
400
+ /**
401
+ * 图片压缩类型
402
+ */ export var ImageCompressType = /*#__PURE__*/ function(ImageCompressType) {
403
+ ImageCompressType["NO_COMPRESS"] = "0";
404
+ ImageCompressType["RATIO_COMPRESS"] = "1";
405
+ ImageCompressType["PIXEL_COMPRESS"] = "2";
406
+ return ImageCompressType;
407
+ }({});
@@ -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, [
@@ -30,7 +30,7 @@ export default defineInstance({
30
30
  groups: [
31
31
  {
32
32
  type: 'tab',
33
- title: getLocaleText('CMD.534b1751967131611'),
33
+ title: getLocaleText('CMD.ed651751712165076'),
34
34
  items: [
35
35
  {
36
36
  items: [
@@ -46,10 +46,10 @@ export default defineInstance({
46
46
  },
47
47
  {
48
48
  type: 'tab',
49
- title: getLocaleText('CMD.04c51751967133084'),
49
+ title: getLocaleText('CMD.12741751712166176'),
50
50
  items: [
51
51
  {
52
- title: getLocaleText('CMD.85131751967134134'),
52
+ title: getLocaleText('CMD.acab1751712167281'),
53
53
  items: [
54
54
  'style.width',
55
55
  'style.height'
@@ -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,13 +78,12 @@ 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;
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
- 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;
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;
88
87
  return _this;
89
88
  }
90
89
  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;
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), /**
@@ -108,36 +109,30 @@ var DataViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntime
108
109
  * 绑定业务模型
109
110
  * @public
110
111
  */ _define_property(_this, "datasourceBind", void 0);
111
- var _props_save;
112
- _this.save = new OperationItem((_props_save = props === null || props === void 0 ? void 0 : props.save) !== null && _props_save !== void 0 ? _props_save : {
112
+ _this.save = new OperationItem((_ref = props === null || props === void 0 ? void 0 : props.save) !== null && _ref !== void 0 ? _ref : {
113
113
  content: getLocaleText('CMD.save', null, '保存'),
114
114
  type: 'save',
115
115
  isShow: false
116
116
  });
117
- var _props_cancel;
118
- _this.cancel = new OperationItem((_props_cancel = props === null || props === void 0 ? void 0 : props.cancel) !== null && _props_cancel !== void 0 ? _props_cancel : {
117
+ _this.cancel = new OperationItem((_ref1 = props === null || props === void 0 ? void 0 : props.cancel) !== null && _ref1 !== void 0 ? _ref1 : {
119
118
  content: getLocaleText('CMD.cancel', null, '取消'),
120
119
  type: 'cancel',
121
120
  isShow: false
122
121
  });
123
- var _props_saveAs;
124
- _this.saveAs = new OperationItem((_props_saveAs = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _props_saveAs !== void 0 ? _props_saveAs : {
122
+ _this.saveAs = new OperationItem((_ref2 = props === null || props === void 0 ? void 0 : props.saveAs) !== null && _ref2 !== void 0 ? _ref2 : {
125
123
  content: getLocaleText('CMD.draft', null, '保存草稿'),
126
124
  type: 'saveAs',
127
125
  isShow: false
128
126
  });
129
- var _props_print;
130
- _this.print = new OperationItem((_props_print = props === null || props === void 0 ? void 0 : props.print) !== null && _props_print !== void 0 ? _props_print : {
127
+ _this.print = new OperationItem((_ref3 = props === null || props === void 0 ? void 0 : props.print) !== null && _ref3 !== void 0 ? _ref3 : {
131
128
  content: getLocaleText('CMD.print', null, '打印'),
132
129
  type: 'print',
133
130
  isShow: false
134
131
  });
135
- var _props_custom;
136
- _this.custom = ((_props_custom = props === null || props === void 0 ? void 0 : props.custom) !== null && _props_custom !== void 0 ? _props_custom : []).map(function(item) {
132
+ _this.custom = ((_ref4 = props === null || props === void 0 ? void 0 : props.custom) !== null && _ref4 !== void 0 ? _ref4 : []).map(function(item) {
137
133
  return new OperationItem(item);
138
134
  });
139
- var _props_isLoading;
140
- _this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
135
+ _this.isLoading = (_ref5 = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _ref5 !== void 0 ? _ref5 : false;
141
136
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
142
137
  return _this;
143
138
  }