@byteluck-fe/model-driven-controls 7.0.0-beta.4 → 7.0.0-beta.6

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 (153) hide show
  1. package/dist/esm/baseControls/BarChart/designer.js +11 -11
  2. package/dist/esm/baseControls/BarChart/property.js +73 -22
  3. package/dist/esm/baseControls/BatchDeleteButton/property.js +23 -15
  4. package/dist/esm/baseControls/BatchPrintListButton/property.js +14 -11
  5. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +9 -8
  6. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +12 -7
  7. package/dist/esm/baseControls/Button/property.js +34 -38
  8. package/dist/esm/baseControls/Comment/property.js +7 -7
  9. package/dist/esm/baseControls/CreateFormListButton/property.js +13 -10
  10. package/dist/esm/baseControls/Dashboard/property.js +21 -14
  11. package/dist/esm/baseControls/Divider/property.js +17 -12
  12. package/dist/esm/baseControls/ExportListButton/property.js +14 -11
  13. package/dist/esm/baseControls/ExportRecordListButton/property.js +9 -8
  14. package/dist/esm/baseControls/FormSelectButton/property.js +11 -9
  15. package/dist/esm/baseControls/Iframe/designer.js +4 -4
  16. package/dist/esm/baseControls/Iframe/property.js +10 -7
  17. package/dist/esm/baseControls/ImportRecordListButton/property.js +14 -11
  18. package/dist/esm/baseControls/InvoiceCheckButton/property.js +24 -16
  19. package/dist/esm/baseControls/LineChart/designer.js +7 -7
  20. package/dist/esm/baseControls/LineChart/property.js +73 -22
  21. package/dist/esm/baseControls/Link/property.js +17 -12
  22. package/dist/esm/baseControls/ListSelectButton/property.js +15 -11
  23. package/dist/esm/baseControls/ListViewSelect/property.js +10 -9
  24. package/dist/esm/baseControls/OperationButton/property.js +17 -12
  25. package/dist/esm/baseControls/Pagination/property.js +5 -5
  26. package/dist/esm/baseControls/PieChart/designer.js +10 -10
  27. package/dist/esm/baseControls/PieChart/property.js +80 -20
  28. package/dist/esm/baseControls/ReferenceList/property.js +17 -12
  29. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +9 -8
  30. package/dist/esm/baseControls/Text/designer.js +1 -1
  31. package/dist/esm/baseControls/Text/property.js +23 -15
  32. package/dist/esm/baseControls/TextOcrButton/property.js +24 -16
  33. package/dist/esm/baseControls/Title/property.js +6 -4
  34. package/dist/esm/baseControls/utils.js +1 -1
  35. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -9
  36. package/dist/esm/columnControls/ArrayColumn/property.js +13 -10
  37. package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -8
  38. package/dist/esm/columnControls/CustomColumn/designer.js +0 -1
  39. package/dist/esm/columnControls/CustomColumn/property.js +11 -9
  40. package/dist/esm/columnControls/DecimalColumn/property.js +19 -13
  41. package/dist/esm/columnControls/DepartmentColumn/property.js +9 -8
  42. package/dist/esm/columnControls/EmployeeColumn/property.js +9 -8
  43. package/dist/esm/columnControls/FileColumn/property.js +9 -8
  44. package/dist/esm/columnControls/GroupColumn/property.js +7 -7
  45. package/dist/esm/columnControls/ImageColumn/property.js +7 -7
  46. package/dist/esm/columnControls/LocationColumn/property.js +9 -8
  47. package/dist/esm/columnControls/OperationColumn/designer.js +12 -16
  48. package/dist/esm/columnControls/OperationColumn/property.js +15 -11
  49. package/dist/esm/columnControls/OrderColumn/property.js +17 -12
  50. package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
  51. package/dist/esm/columnControls/TextColumn/property.js +13 -10
  52. package/dist/esm/columnControls/TimescopeColumn/property.js +13 -10
  53. package/dist/esm/columnControls/TimestampColumn/property.js +13 -10
  54. package/dist/esm/columnControls/VarcharColumn/property.js +17 -12
  55. package/dist/esm/formControls/Address/property.js +17 -12
  56. package/dist/esm/formControls/Amount/property.js +29 -18
  57. package/dist/esm/formControls/Attachment/property.js +39 -23
  58. package/dist/esm/formControls/AutoNumber/property.js +11 -9
  59. package/dist/esm/formControls/Barcode/designer.js +41 -21
  60. package/dist/esm/formControls/Barcode/property.js +21 -13
  61. package/dist/esm/formControls/Barcode/schema.json +19 -8
  62. package/dist/esm/formControls/Calc/property.js +18 -10
  63. package/dist/esm/formControls/Cascader/property.js +31 -17
  64. package/dist/esm/formControls/Checkbox/property.js +31 -17
  65. package/dist/esm/formControls/Counter/property.js +18 -10
  66. package/dist/esm/formControls/DatePicker/property.js +32 -20
  67. package/dist/esm/formControls/DateRange/property.js +28 -18
  68. package/dist/esm/formControls/Department/property.js +27 -17
  69. package/dist/esm/formControls/Department2/property.js +40 -24
  70. package/dist/esm/formControls/ElectronicSignature/property.js +17 -12
  71. package/dist/esm/formControls/Employee/property.js +23 -15
  72. package/dist/esm/formControls/Employee2/property.js +38 -22
  73. package/dist/esm/formControls/Image/designer.js +8 -8
  74. package/dist/esm/formControls/Image/property.js +17 -8
  75. package/dist/esm/formControls/Input/property.js +20 -11
  76. package/dist/esm/formControls/Number/property.js +32 -17
  77. package/dist/esm/formControls/OrganizationSelection/property.js +41 -24
  78. package/dist/esm/formControls/QrCode/designer.js +47 -27
  79. package/dist/esm/formControls/QrCode/property.js +24 -17
  80. package/dist/esm/formControls/QrCode/schema.json +20 -9
  81. package/dist/esm/formControls/Radio/property.js +33 -20
  82. package/dist/esm/formControls/RichText/designer.js +1 -1
  83. package/dist/esm/formControls/RichText/property.js +22 -12
  84. package/dist/esm/formControls/Score/property.js +17 -10
  85. package/dist/esm/formControls/SearchDateRange/property.js +30 -19
  86. package/dist/esm/formControls/SearchInput/property.js +5 -5
  87. package/dist/esm/formControls/SearchNumberRange/property.js +17 -12
  88. package/dist/esm/formControls/Select/property.js +29 -18
  89. package/dist/esm/formControls/SelectMultiple/property.js +27 -17
  90. package/dist/esm/formControls/SelectRelation/property.js +31 -19
  91. package/dist/esm/formControls/Slider/designer.js +2 -1
  92. package/dist/esm/formControls/Slider/property.js +22 -17
  93. package/dist/esm/formControls/Switch/designer.js +15 -14
  94. package/dist/esm/formControls/Switch/property.js +19 -10
  95. package/dist/esm/formControls/Tag/designer.js +14 -13
  96. package/dist/esm/formControls/Tag/property.js +23 -15
  97. package/dist/esm/formControls/Textarea/property.js +20 -11
  98. package/dist/esm/formControls/TimePicker/property.js +20 -14
  99. package/dist/esm/formControls/TimeRange/property.js +24 -16
  100. package/dist/esm/formControls/Tree/property.js +39 -21
  101. package/dist/esm/formControls/VueFormItem/property.js +15 -11
  102. package/dist/esm/formControls/VuePage/property.js +15 -11
  103. package/dist/esm/formControls/WPS/designer.js +9 -9
  104. package/dist/esm/formControls/WPS/property.js +29 -18
  105. package/dist/esm/framework.js +135 -81
  106. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  107. package/dist/esm/layoutControls/ActionBar/property.js +11 -9
  108. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  109. package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -5
  110. package/dist/esm/layoutControls/BlankContainer/designer.js +8 -7
  111. package/dist/esm/layoutControls/BlankContainer/property.js +15 -12
  112. package/dist/esm/layoutControls/CardGroup/property.js +20 -11
  113. package/dist/esm/layoutControls/Col/property.js +11 -9
  114. package/dist/esm/layoutControls/Collapse/designer.js +2 -2
  115. package/dist/esm/layoutControls/Collapse/property.js +9 -8
  116. package/dist/esm/layoutControls/CollapsePane/property.js +7 -7
  117. package/dist/esm/layoutControls/DataView/property.js +19 -13
  118. package/dist/esm/layoutControls/Grid/property.js +5 -5
  119. package/dist/esm/layoutControls/GridLayoutContainer/property.js +9 -8
  120. package/dist/esm/layoutControls/GridRow/property.js +5 -5
  121. package/dist/esm/layoutControls/GridTableColumn/property.js +25 -16
  122. package/dist/esm/layoutControls/ListView/property.js +28 -15
  123. package/dist/esm/layoutControls/Page/property.js +7 -7
  124. package/dist/esm/layoutControls/Position/property.js +13 -10
  125. package/dist/esm/layoutControls/PositioningContainer/property.js +5 -5
  126. package/dist/esm/layoutControls/Row/property.js +15 -11
  127. package/dist/esm/layoutControls/Step/designer.js +2 -2
  128. package/dist/esm/layoutControls/Step/property.js +27 -17
  129. package/dist/esm/layoutControls/StepPane/property.js +21 -14
  130. package/dist/esm/layoutControls/SubTableColumn/property.js +10 -6
  131. package/dist/esm/layoutControls/SubTableRow/property.js +5 -5
  132. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  133. package/dist/esm/layoutControls/Tab/property.js +15 -11
  134. package/dist/esm/layoutControls/TabPane/property.js +7 -7
  135. package/dist/esm/layoutControls/TableLayout/property.js +35 -21
  136. package/dist/esm/layoutControls/TableLayoutCol/property.js +25 -16
  137. package/dist/esm/layoutControls/TableLayoutRow/property.js +9 -8
  138. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +11 -9
  139. package/dist/esm/layoutControls/Toolbox/property.js +5 -5
  140. package/dist/esm/listControls/GridTable/designer.js +12 -17
  141. package/dist/esm/listControls/GridTable/property.js +15 -11
  142. package/dist/esm/listControls/SubTable/property.js +70 -36
  143. package/dist/esm/searchControls/SimpleSearch/property.js +29 -18
  144. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  145. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  146. package/dist/esm/wrapControls/GridLayoutWrap/property.js +7 -7
  147. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  148. package/dist/index.umd.js +1 -1
  149. package/dist/types/baseControls/Button/property.d.ts +17 -23
  150. package/dist/types/formControls/Barcode/property.d.ts +5 -10
  151. package/dist/types/formControls/QrCode/property.d.ts +5 -10
  152. package/dist/types/layoutControls/BlankContainer/property.d.ts +1 -1
  153. package/package.json +2 -2
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_vue_form_item
3
+ * description: 自定义表单项容器组件,用于承载 Vue 扩展控件的属性配置。适合低代码表单扩展场景,支持控件导出名、权限配置、默认值和行内编辑设置。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_vue_form_item
75
- * description: 自定义表单项容器组件,用于承载 Vue 扩展控件的属性配置。适合低代码表单扩展场景,支持控件导出名、权限配置、默认值和行内编辑设置。
76
- */ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
76
+ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
77
77
  import VueFormItemControl from './designer';
78
78
  var VueFormItemPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
79
79
  "use strict";
@@ -113,15 +113,19 @@ var VueFormItemProperty = /*#__PURE__*/ function(BaseControlProperty) {
113
113
  function VueFormItemProperty(props) {
114
114
  _class_call_check(this, VueFormItemProperty);
115
115
  var _this;
116
- var _ref, _ref1, _ref2, _ref3, _ref4;
117
116
  _this = _call_super(this, VueFormItemProperty, [
118
117
  props
119
118
  ]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
120
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : VueFormItemControl.controlName;
121
- _this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : undefined;
122
- _this.controlExportName = (_ref2 = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _ref2 !== void 0 ? _ref2 : '';
123
- _this.permissions = (_ref3 = props === null || props === void 0 ? void 0 : props.permissions) !== null && _ref3 !== void 0 ? _ref3 : [];
124
- _this.isInlineEdit = (_ref4 = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _ref4 !== void 0 ? _ref4 : false;
119
+ var _props_caption;
120
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VueFormItemControl.controlName;
121
+ var _props_defaultValue;
122
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
123
+ var _props_controlExportName;
124
+ _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
125
+ var _props_permissions;
126
+ _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
127
+ var _props_isInlineEdit;
128
+ _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
125
129
  return _this;
126
130
  }
127
131
  return VueFormItemProperty;
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_vue_page
3
+ * description: 自定义页面控件容器,用于承载 Vue 页面级扩展控件。适合页面级低代码扩展场景,支持控件导出名、权限配置、默认值和行内编辑设置。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_vue_page
75
- * description: 自定义页面控件容器,用于承载 Vue 页面级扩展控件。适合页面级低代码扩展场景,支持控件导出名、权限配置、默认值和行内编辑设置。
76
- */ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
76
+ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
77
77
  import VuePageControl from './designer';
78
78
  var VuePagePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
79
79
  "use strict";
@@ -113,15 +113,19 @@ var VuePageProperty = /*#__PURE__*/ function(BaseControlProperty) {
113
113
  function VuePageProperty(props) {
114
114
  _class_call_check(this, VuePageProperty);
115
115
  var _this;
116
- var _ref, _ref1, _ref2, _ref3, _ref4;
117
116
  _this = _call_super(this, VuePageProperty, [
118
117
  props
119
118
  ]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
120
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : VuePageControl.controlName;
121
- _this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : undefined;
122
- _this.controlExportName = (_ref2 = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _ref2 !== void 0 ? _ref2 : '';
123
- _this.permissions = (_ref3 = props === null || props === void 0 ? void 0 : props.permissions) !== null && _ref3 !== void 0 ? _ref3 : [];
124
- _this.isInlineEdit = (_ref4 = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _ref4 !== void 0 ? _ref4 : false;
119
+ var _props_caption;
120
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VuePageControl.controlName;
121
+ var _props_defaultValue;
122
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
123
+ var _props_controlExportName;
124
+ _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
125
+ var _props_permissions;
126
+ _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
127
+ var _props_isInlineEdit;
128
+ _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
125
129
  return _this;
126
130
  }
127
131
  return VuePageProperty;
@@ -1,4 +1,11 @@
1
- function _assert_this_initialized(self) {
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) {
2
9
  if (self === void 0) {
3
10
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
11
  }
@@ -84,14 +91,7 @@ function _is_native_reflect_construct() {
84
91
  return !!result;
85
92
  })();
86
93
  }
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';
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';
@@ -1,4 +1,7 @@
1
- function _assert_this_initialized(self) {
1
+ /**
2
+ * name: rok_w_p_s
3
+ * description: WPS 文档组件,用于新建、上传、编辑和管理在线文档。适合协同编辑、公文处理等场景,支持新增来源、下载导出、修订模式及水印重命名配置。
4
+ */ function _assert_this_initialized(self) {
2
5
  if (self === void 0) {
3
6
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
4
7
  }
@@ -70,10 +73,7 @@ function _is_native_reflect_construct() {
70
73
  return !!result;
71
74
  })();
72
75
  }
73
- /**
74
- * name: rok_w_p_s
75
- * description: WPS 文档组件,用于新建、上传、编辑和管理在线文档。适合协同编辑、公文处理等场景,支持新增来源、下载导出、修订模式及水印重命名配置。
76
- */ import WPSControl from './designer';
76
+ import WPSControl from './designer';
77
77
  import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
78
78
  import { MB10 } from '../Attachment';
79
79
  import { WPSSetting } from '../../framework';
@@ -151,23 +151,34 @@ var WPSProperty = /*#__PURE__*/ function(BaseControlProperty) {
151
151
  function WPSProperty(props) {
152
152
  _class_call_check(this, WPSProperty);
153
153
  var _this;
154
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
155
154
  _this = _call_super(this, WPSProperty, [
156
155
  props
157
156
  ]), _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);
158
- _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : WPSControl.controlName;
159
- _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.createWPS', null, '新建文档');
160
- _this.canAdd = (_ref2 = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _ref2 !== void 0 ? _ref2 : true;
161
- _this.addLocal = (_ref3 = props === null || props === void 0 ? void 0 : props.addLocal) !== null && _ref3 !== void 0 ? _ref3 : true;
162
- _this.addOnline = (_ref4 = props === null || props === void 0 ? void 0 : props.addOnline) !== null && _ref4 !== void 0 ? _ref4 : true;
163
- _this.canEdit = (_ref5 = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _ref5 !== void 0 ? _ref5 : true;
164
- _this.canDownload = (_ref6 = props === null || props === void 0 ? void 0 : props.canDownload) !== null && _ref6 !== void 0 ? _ref6 : true;
165
- _this.canExport = (_ref7 = props === null || props === void 0 ? void 0 : props.canExport) !== null && _ref7 !== void 0 ? _ref7 : true;
166
- _this.canDelete = (_ref8 = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _ref8 !== void 0 ? _ref8 : false;
167
- _this.maxSize = (_ref9 = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _ref9 !== void 0 ? _ref9 : MB10;
168
- _this.defaultValue = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref10 !== void 0 ? _ref10 : [];
157
+ var _props_caption;
158
+ _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : WPSControl.controlName;
159
+ var _props_content;
160
+ _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.createWPS', null, '新建文档');
161
+ var _props_canAdd;
162
+ _this.canAdd = (_props_canAdd = props === null || props === void 0 ? void 0 : props.canAdd) !== null && _props_canAdd !== void 0 ? _props_canAdd : true;
163
+ var _props_addLocal;
164
+ _this.addLocal = (_props_addLocal = props === null || props === void 0 ? void 0 : props.addLocal) !== null && _props_addLocal !== void 0 ? _props_addLocal : true;
165
+ var _props_addOnline;
166
+ _this.addOnline = (_props_addOnline = props === null || props === void 0 ? void 0 : props.addOnline) !== null && _props_addOnline !== void 0 ? _props_addOnline : true;
167
+ var _props_canEdit;
168
+ _this.canEdit = (_props_canEdit = props === null || props === void 0 ? void 0 : props.canEdit) !== null && _props_canEdit !== void 0 ? _props_canEdit : true;
169
+ var _props_canDownload;
170
+ _this.canDownload = (_props_canDownload = props === null || props === void 0 ? void 0 : props.canDownload) !== null && _props_canDownload !== void 0 ? _props_canDownload : true;
171
+ var _props_canExport;
172
+ _this.canExport = (_props_canExport = props === null || props === void 0 ? void 0 : props.canExport) !== null && _props_canExport !== void 0 ? _props_canExport : true;
173
+ var _props_canDelete;
174
+ _this.canDelete = (_props_canDelete = props === null || props === void 0 ? void 0 : props.canDelete) !== null && _props_canDelete !== void 0 ? _props_canDelete : false;
175
+ var _props_maxSize;
176
+ _this.maxSize = (_props_maxSize = props === null || props === void 0 ? void 0 : props.maxSize) !== null && _props_maxSize !== void 0 ? _props_maxSize : MB10;
177
+ var _props_defaultValue;
178
+ _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
169
179
  _this.wpsSetting = new WPSSetting(props === null || props === void 0 ? void 0 : props.wpsSetting);
170
- _this.revisionsMode = (_ref11 = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && _ref11 !== void 0 ? _ref11 : false;
180
+ var _props_revisionsMode;
181
+ _this.revisionsMode = (_props_revisionsMode = props === null || props === void 0 ? void 0 : props.revisionsMode) !== null && _props_revisionsMode !== void 0 ? _props_revisionsMode : false;
171
182
  return _this;
172
183
  }
173
184
  return WPSProperty;
@@ -85,10 +85,13 @@ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
85
85
  ]
86
86
  };
87
87
  _class_call_check(this, LimitDate);
88
- _define_property(this, "dateConfigType", void 0); // 范围类型
89
- _define_property(this, "dateLimitType", void 0); // 限制类型
88
+ _define_property(this, "dateConfigType", void 0 // 范围类型
89
+ );
90
+ _define_property(this, "dateLimitType", void 0 // 限制类型
91
+ );
90
92
  _define_property(this, "id", void 0);
91
- _define_property(this, "value", void 0); // 存储值
93
+ _define_property(this, "value", void 0 // 存储值
94
+ );
92
95
  this.id = props.id;
93
96
  this.dateConfigType = props.dateConfigType;
94
97
  this.dateLimitType = props.dateLimitType;
@@ -97,13 +100,17 @@ export var TitleConfigEnum = /*#__PURE__*/ function(TitleConfigEnum) {
97
100
  export var LimitTime = function LimitTime(props) {
98
101
  "use strict";
99
102
  _class_call_check(this, LimitTime);
100
- var _ref, _ref1, _ref2;
101
- _define_property(this, "limitType", void 0); // 限制类型
103
+ _define_property(this, "limitType", void 0 // 限制类型
104
+ );
102
105
  _define_property(this, "id", void 0);
103
- _define_property(this, "value", void 0); // 存储值
104
- this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
105
- this.limitType = (_ref1 = props === null || props === void 0 ? void 0 : props.limitType) !== null && _ref1 !== void 0 ? _ref1 : 'hour';
106
- this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : [];
106
+ _define_property(this, "value", void 0 // 存储值
107
+ );
108
+ var _props_id;
109
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
110
+ var _props_limitType;
111
+ this.limitType = (_props_limitType = props === null || props === void 0 ? void 0 : props.limitType) !== null && _props_limitType !== void 0 ? _props_limitType : 'hour';
112
+ var _props_value;
113
+ this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
107
114
  };
108
115
  export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
109
116
  /**
@@ -129,13 +136,15 @@ export var SCORE_TYPE = /*#__PURE__*/ function(SCORE_TYPE) {
129
136
  export var Explain = function Explain(props) {
130
137
  "use strict";
131
138
  _class_call_check(this, Explain);
132
- var _ref, _ref1, _ref2;
133
139
  _define_property(this, "id", void 0);
134
140
  _define_property(this, "text", void 0);
135
141
  _define_property(this, "color", void 0);
136
- this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
137
- this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
138
- this.color = (_ref2 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref2 !== void 0 ? _ref2 : '';
142
+ var _props_id;
143
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
144
+ var _props_text;
145
+ this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
146
+ var _props_color;
147
+ this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
139
148
  };
140
149
  export var LINE_STYLE = /*#__PURE__*/ function(LINE_STYLE) {
141
150
  /**
@@ -173,7 +182,6 @@ export var FONT_WEIGHT = /*#__PURE__*/ function(FONT_WEIGHT) {
173
182
  export var UndersignedPerson = function UndersignedPerson(props) {
174
183
  "use strict";
175
184
  _class_call_check(this, UndersignedPerson);
176
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
177
185
  /**
178
186
  * 签署人类型
179
187
  * */ _define_property(this, "type", void 0);
@@ -225,37 +233,51 @@ export var UndersignedPerson = function UndersignedPerson(props) {
225
233
  /**
226
234
  * 备注
227
235
  * */ _define_property(this, "remark", void 0);
228
- this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'private';
229
- this.person = new RightVariable((_ref1 = props === null || props === void 0 ? void 0 : props.person) !== null && _ref1 !== void 0 ? _ref1 : {
236
+ var _props_type;
237
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'private';
238
+ var _props_person;
239
+ this.person = new RightVariable((_props_person = props === null || props === void 0 ? void 0 : props.person) !== null && _props_person !== void 0 ? _props_person : {
230
240
  type: 'form'
231
241
  });
232
- this.signatureType = (_ref2 = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _ref2 !== void 0 ? _ref2 : [];
233
- 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 : {
242
+ var _props_signatureType;
243
+ this.signatureType = (_props_signatureType = props === null || props === void 0 ? void 0 : props.signatureType) !== null && _props_signatureType !== void 0 ? _props_signatureType : [];
244
+ var _props_telephone, _props_telephone1;
245
+ 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 : {
234
246
  type: 'form'
235
247
  });
236
- 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 : {
248
+ var _props_company, _props_company1;
249
+ 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 : {
237
250
  type: 'form'
238
251
  });
239
- 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 : {
252
+ var _props_indexSignature, _props_indexSignature1;
253
+ 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 : {
240
254
  type: 'form'
241
255
  });
242
- this.signaturePosition = (_ref9 = props === null || props === void 0 ? void 0 : props.signaturePosition) !== null && _ref9 !== void 0 ? _ref9 : 'free';
243
- this.seal = new RightVariable((_ref10 = props === null || props === void 0 ? void 0 : props.seal) !== null && _ref10 !== void 0 ? _ref10 : {
256
+ var _props_signaturePosition;
257
+ this.signaturePosition = (_props_signaturePosition = props === null || props === void 0 ? void 0 : props.signaturePosition) !== null && _props_signaturePosition !== void 0 ? _props_signaturePosition : 'free';
258
+ var _props_seal;
259
+ this.seal = new RightVariable((_props_seal = props === null || props === void 0 ? void 0 : props.seal) !== null && _props_seal !== void 0 ? _props_seal : {
244
260
  type: 'form'
245
261
  });
246
- this.platformAutoSign = (_ref11 = props === null || props === void 0 ? void 0 : props.platformAutoSign) !== null && _ref11 !== void 0 ? _ref11 : false;
247
- this.signDateBeanType = (_ref12 = props === null || props === void 0 ? void 0 : props.signDateBeanType) !== null && _ref12 !== void 0 ? _ref12 : 0;
248
- this.signDateFontSize = (_ref13 = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _ref13 !== void 0 ? _ref13 : 12;
249
- this.signOrder = (_ref14 = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _ref14 !== void 0 ? _ref14 : 1;
262
+ var _props_platformAutoSign;
263
+ this.platformAutoSign = (_props_platformAutoSign = props === null || props === void 0 ? void 0 : props.platformAutoSign) !== null && _props_platformAutoSign !== void 0 ? _props_platformAutoSign : false;
264
+ var _props_signDateBeanType;
265
+ this.signDateBeanType = (_props_signDateBeanType = props === null || props === void 0 ? void 0 : props.signDateBeanType) !== null && _props_signDateBeanType !== void 0 ? _props_signDateBeanType : 0;
266
+ var _props_signDateFontSize;
267
+ this.signDateFontSize = (_props_signDateFontSize = props === null || props === void 0 ? void 0 : props.signDateFontSize) !== null && _props_signDateFontSize !== void 0 ? _props_signDateFontSize : 12;
268
+ var _props_signOrder;
269
+ this.signOrder = (_props_signOrder = props === null || props === void 0 ? void 0 : props.signOrder) !== null && _props_signOrder !== void 0 ? _props_signOrder : 1;
250
270
  this.forceReadTime = props === null || props === void 0 ? void 0 : props.forceReadTime;
251
- this.posX = (_ref15 = props === null || props === void 0 ? void 0 : props.posX) !== null && _ref15 !== void 0 ? _ref15 : 0;
252
- this.posY = (_ref16 = props === null || props === void 0 ? void 0 : props.posY) !== null && _ref16 !== void 0 ? _ref16 : 0;
253
- this.remark = (_ref17 = props === null || props === void 0 ? void 0 : props.remark) !== null && _ref17 !== void 0 ? _ref17 : '';
271
+ var _props_posX;
272
+ this.posX = (_props_posX = props === null || props === void 0 ? void 0 : props.posX) !== null && _props_posX !== void 0 ? _props_posX : 0;
273
+ var _props_posY;
274
+ this.posY = (_props_posY = props === null || props === void 0 ? void 0 : props.posY) !== null && _props_posY !== void 0 ? _props_posY : 0;
275
+ var _props_remark;
276
+ this.remark = (_props_remark = props === null || props === void 0 ? void 0 : props.remark) !== null && _props_remark !== void 0 ? _props_remark : '';
254
277
  };
255
278
  export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props) {
256
279
  "use strict";
257
280
  _class_call_check(this, ElectronicSignatureConfig);
258
- var _ref, _ref1, _ref2, _ref3, _ref4;
259
281
  var _props_undersignedList;
260
282
  /**
261
283
  * 签署文件
@@ -272,20 +294,24 @@ export var ElectronicSignatureConfig = function ElectronicSignatureConfig(props)
272
294
  /**
273
295
  * 签署完成时间
274
296
  * */ _define_property(this, "completeTimeControl", void 0);
275
- this.fileControl = (_ref = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _ref !== void 0 ? _ref : '';
276
- 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) {
297
+ var _props_fileControl;
298
+ this.fileControl = (_props_fileControl = props === null || props === void 0 ? void 0 : props.fileControl) !== null && _props_fileControl !== void 0 ? _props_fileControl : '';
299
+ var _props_undersignedList_map;
300
+ 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) {
277
301
  return new UndersignedPerson(item);
278
- })) !== null && _ref1 !== void 0 ? _ref1 : [
302
+ })) !== null && _props_undersignedList_map !== void 0 ? _props_undersignedList_map : [
279
303
  new UndersignedPerson()
280
304
  ];
281
- this.statusControl = (_ref2 = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _ref2 !== void 0 ? _ref2 : '';
282
- this.completeControl = (_ref3 = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _ref3 !== void 0 ? _ref3 : '';
283
- this.completeTimeControl = (_ref4 = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _ref4 !== void 0 ? _ref4 : '';
305
+ var _props_statusControl;
306
+ this.statusControl = (_props_statusControl = props === null || props === void 0 ? void 0 : props.statusControl) !== null && _props_statusControl !== void 0 ? _props_statusControl : '';
307
+ var _props_completeControl;
308
+ this.completeControl = (_props_completeControl = props === null || props === void 0 ? void 0 : props.completeControl) !== null && _props_completeControl !== void 0 ? _props_completeControl : '';
309
+ var _props_completeTimeControl;
310
+ this.completeTimeControl = (_props_completeTimeControl = props === null || props === void 0 ? void 0 : props.completeTimeControl) !== null && _props_completeTimeControl !== void 0 ? _props_completeTimeControl : '';
284
311
  };
285
312
  export var ExportTemplate = function ExportTemplate(props) {
286
313
  "use strict";
287
314
  _class_call_check(this, ExportTemplate);
288
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
289
315
  _define_property(this, "id", void 0);
290
316
  _define_property(this, "appId", void 0);
291
317
  _define_property(this, "dataCode", void 0);
@@ -293,48 +319,58 @@ export var ExportTemplate = function ExportTemplate(props) {
293
319
  _define_property(this, "name", void 0);
294
320
  _define_property(this, "fieldList", void 0);
295
321
  _define_property(this, "active", void 0);
296
- this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
297
- this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
298
- this.dataCode = (_ref2 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref2 !== void 0 ? _ref2 : '';
299
- this.svcCode = (_ref3 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref3 !== void 0 ? _ref3 : '';
300
- this.name = (_ref4 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref4 !== void 0 ? _ref4 : '';
301
- this.fieldList = (_ref5 = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _ref5 !== void 0 ? _ref5 : [];
302
- this.active = (_ref6 = props === null || props === void 0 ? void 0 : props.active) !== null && _ref6 !== void 0 ? _ref6 : false;
322
+ var _props_id;
323
+ this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
324
+ var _props_appId;
325
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
326
+ var _props_dataCode;
327
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
328
+ var _props_svcCode;
329
+ this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
330
+ var _props_name;
331
+ this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
332
+ var _props_fieldList;
333
+ this.fieldList = (_props_fieldList = props === null || props === void 0 ? void 0 : props.fieldList) !== null && _props_fieldList !== void 0 ? _props_fieldList : [];
334
+ var _props_active;
335
+ this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
303
336
  };
304
337
  export var WpsOperationItem = function WpsOperationItem(props) {
305
338
  "use strict";
306
339
  _class_call_check(this, WpsOperationItem);
307
- var _ref, _ref1;
308
340
  _define_property(this, "active", void 0);
309
341
  _define_property(this, "text", void 0);
310
- this.active = (_ref = props === null || props === void 0 ? void 0 : props.active) !== null && _ref !== void 0 ? _ref : false;
311
- this.text = (_ref1 = props === null || props === void 0 ? void 0 : props.text) !== null && _ref1 !== void 0 ? _ref1 : '';
342
+ var _props_active;
343
+ this.active = (_props_active = props === null || props === void 0 ? void 0 : props.active) !== null && _props_active !== void 0 ? _props_active : false;
344
+ var _props_text;
345
+ this.text = (_props_text = props === null || props === void 0 ? void 0 : props.text) !== null && _props_text !== void 0 ? _props_text : '';
312
346
  };
313
347
  export var WPSSetting = function WPSSetting(props) {
314
348
  "use strict";
315
349
  _class_call_check(this, WPSSetting);
316
- var _ref, _ref1, _ref2, _ref3;
317
350
  _define_property(this, "types", void 0);
318
351
  _define_property(this, "history", void 0);
319
352
  _define_property(this, "collaborativeRecord", void 0);
320
353
  _define_property(this, "logicToDelete", void 0);
321
354
  _define_property(this, "watermark", void 0);
322
355
  _define_property(this, "autoRename", void 0);
323
- this.types = (_ref = props === null || props === void 0 ? void 0 : props.types) !== null && _ref !== void 0 ? _ref : [
356
+ var _props_types;
357
+ this.types = (_props_types = props === null || props === void 0 ? void 0 : props.types) !== null && _props_types !== void 0 ? _props_types : [
324
358
  'word',
325
359
  'ppt',
326
360
  'excel'
327
361
  ];
328
- this.history = (_ref1 = props === null || props === void 0 ? void 0 : props.history) !== null && _ref1 !== void 0 ? _ref1 : false;
329
- this.collaborativeRecord = (_ref2 = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _ref2 !== void 0 ? _ref2 : false;
330
- this.logicToDelete = (_ref3 = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _ref3 !== void 0 ? _ref3 : true;
362
+ var _props_history;
363
+ this.history = (_props_history = props === null || props === void 0 ? void 0 : props.history) !== null && _props_history !== void 0 ? _props_history : false;
364
+ var _props_collaborativeRecord;
365
+ this.collaborativeRecord = (_props_collaborativeRecord = props === null || props === void 0 ? void 0 : props.collaborativeRecord) !== null && _props_collaborativeRecord !== void 0 ? _props_collaborativeRecord : false;
366
+ var _props_logicToDelete;
367
+ this.logicToDelete = (_props_logicToDelete = props === null || props === void 0 ? void 0 : props.logicToDelete) !== null && _props_logicToDelete !== void 0 ? _props_logicToDelete : true;
331
368
  this.watermark = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.watermark);
332
369
  this.autoRename = new WpsOperationItem(props === null || props === void 0 ? void 0 : props.autoRename);
333
370
  };
334
371
  export var ActionSetting = function ActionSetting(props) {
335
372
  "use strict";
336
373
  _class_call_check(this, ActionSetting);
337
- var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
338
374
  _define_property(this, "appId", void 0);
339
375
  _define_property(this, "dataCode", void 0);
340
376
  _define_property(this, "formKey", void 0);
@@ -342,23 +378,31 @@ export var ActionSetting = function ActionSetting(props) {
342
378
  _define_property(this, "filters", void 0);
343
379
  _define_property(this, "isRelation", void 0);
344
380
  _define_property(this, "relationBindCode", void 0);
345
- this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
346
- this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
347
- this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
348
- this.orders = (_ref3 = props === null || props === void 0 ? void 0 : props.orders) !== null && _ref3 !== void 0 ? _ref3 : [];
349
- this.filters = (_ref4 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref4 !== void 0 ? _ref4 : [];
350
- this.isRelation = (_ref5 = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _ref5 !== void 0 ? _ref5 : false;
351
- this.relationBindCode = (_ref6 = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _ref6 !== void 0 ? _ref6 : '';
381
+ var _props_appId;
382
+ this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
383
+ var _props_dataCode;
384
+ this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
385
+ var _props_formKey;
386
+ this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
387
+ var _props_orders;
388
+ this.orders = (_props_orders = props === null || props === void 0 ? void 0 : props.orders) !== null && _props_orders !== void 0 ? _props_orders : [];
389
+ var _props_filters;
390
+ this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
391
+ var _props_isRelation;
392
+ this.isRelation = (_props_isRelation = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _props_isRelation !== void 0 ? _props_isRelation : false;
393
+ var _props_relationBindCode;
394
+ this.relationBindCode = (_props_relationBindCode = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _props_relationBindCode !== void 0 ? _props_relationBindCode : '';
352
395
  };
353
396
  export var ListHeightSetting = function ListHeightSetting(props) {
354
397
  "use strict";
355
398
  _class_call_check(this, ListHeightSetting);
356
- var _ref, _ref1;
357
399
  _define_property(this, "type", void 0);
358
400
  _define_property(this, "row", void 0);
359
401
  _define_property(this, "height", void 0);
360
- this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'auto';
361
- this.row = (_ref1 = props === null || props === void 0 ? void 0 : props.row) !== null && _ref1 !== void 0 ? _ref1 : 20;
402
+ var _props_type;
403
+ this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'auto';
404
+ var _props_row;
405
+ this.row = (_props_row = props === null || props === void 0 ? void 0 : props.row) !== null && _props_row !== void 0 ? _props_row : 20;
362
406
  this.height = props === null || props === void 0 ? void 0 : props.height;
363
407
  };
364
408
  export var ImportListBind = function ImportListBind(props) {
@@ -370,26 +414,28 @@ export var ImportListBind = function ImportListBind(props) {
370
414
  export var ImportConfig = function ImportConfig(props) {
371
415
  "use strict";
372
416
  _class_call_check(this, ImportConfig);
373
- var _ref, _ref1;
374
417
  var _props_templateList;
375
418
  _define_property(this, "templateType", void 0);
376
419
  _define_property(this, "templateList", void 0);
377
- this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
378
- 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) {
420
+ var _props_templateType;
421
+ this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
422
+ var _props_templateList_map;
423
+ 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) {
379
424
  return new ImportListBind(item);
380
- })) !== null && _ref1 !== void 0 ? _ref1 : [];
425
+ })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [];
381
426
  };
382
427
  export var ExportConfig = function ExportConfig(props) {
383
428
  "use strict";
384
429
  _class_call_check(this, ExportConfig);
385
- var _ref, _ref1;
386
430
  var _props_templateList;
387
431
  _define_property(this, "templateType", void 0);
388
432
  _define_property(this, "templateList", void 0);
389
- this.templateType = (_ref = props === null || props === void 0 ? void 0 : props.templateType) !== null && _ref !== void 0 ? _ref : 'system';
390
- 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) {
433
+ var _props_templateType;
434
+ this.templateType = (_props_templateType = props === null || props === void 0 ? void 0 : props.templateType) !== null && _props_templateType !== void 0 ? _props_templateType : 'system';
435
+ var _props_templateList_map;
436
+ 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) {
391
437
  return new ExportTemplate(item);
392
- })) !== null && _ref1 !== void 0 ? _ref1 : [
438
+ })) !== null && _props_templateList_map !== void 0 ? _props_templateList_map : [
393
439
  new ExportTemplate({
394
440
  id: 'default',
395
441
  name: getLocaleText('CMD.defaultTemplate', null, '默认模板'),
@@ -410,28 +456,36 @@ export function initExpression(expression) {
410
456
  export var PrintTemplate = function PrintTemplate(props) {
411
457
  "use strict";
412
458
  _class_call_check(this, PrintTemplate);
413
- var _ref, _ref1, _ref2, _props_isDefault, _props_rules;
414
459
  _define_property(this, "fileId", void 0);
415
460
  _define_property(this, "fileName", void 0);
416
- _define_property(this, "ruleName", void 0); //规则名称
417
- _define_property(this, "isDefault", void 0); //是否是默认模板
461
+ _define_property(this, "ruleName", void 0 //规则名称
462
+ );
463
+ _define_property(this, "isDefault", void 0 //是否是默认模板
464
+ );
418
465
  _define_property(this, "rules", void 0);
419
- this.fileId = (_ref = props === null || props === void 0 ? void 0 : props.fileId) !== null && _ref !== void 0 ? _ref : '';
420
- this.fileName = (_ref1 = props === null || props === void 0 ? void 0 : props.fileName) !== null && _ref1 !== void 0 ? _ref1 : '';
421
- this.ruleName = (_ref2 = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _ref2 !== void 0 ? _ref2 : '';
466
+ var _props_fileId;
467
+ this.fileId = (_props_fileId = props === null || props === void 0 ? void 0 : props.fileId) !== null && _props_fileId !== void 0 ? _props_fileId : '';
468
+ var _props_fileName;
469
+ this.fileName = (_props_fileName = props === null || props === void 0 ? void 0 : props.fileName) !== null && _props_fileName !== void 0 ? _props_fileName : '';
470
+ var _props_ruleName;
471
+ this.ruleName = (_props_ruleName = props === null || props === void 0 ? void 0 : props.ruleName) !== null && _props_ruleName !== void 0 ? _props_ruleName : '';
472
+ var _props_isDefault;
422
473
  this.isDefault = (_props_isDefault = props.isDefault) !== null && _props_isDefault !== void 0 ? _props_isDefault : false;
474
+ var _props_rules;
423
475
  this.rules = (_props_rules = props.rules) !== null && _props_rules !== void 0 ? _props_rules : [];
424
476
  };
425
477
  export var FlexStyleConfig = function FlexStyleConfig(props) {
426
478
  "use strict";
427
479
  _class_call_check(this, FlexStyleConfig);
428
- var _ref, _ref1, _ref2;
429
480
  _define_property(this, "direction", void 0);
430
481
  _define_property(this, "justifyContent", void 0);
431
482
  _define_property(this, "alignItems", void 0);
432
- this.direction = (_ref = props === null || props === void 0 ? void 0 : props.direction) !== null && _ref !== void 0 ? _ref : 'row';
433
- this.justifyContent = (_ref1 = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _ref1 !== void 0 ? _ref1 : 'flex-start';
434
- this.alignItems = (_ref2 = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _ref2 !== void 0 ? _ref2 : 'flex-start';
483
+ var _props_direction;
484
+ this.direction = (_props_direction = props === null || props === void 0 ? void 0 : props.direction) !== null && _props_direction !== void 0 ? _props_direction : 'row';
485
+ var _props_justifyContent;
486
+ this.justifyContent = (_props_justifyContent = props === null || props === void 0 ? void 0 : props.justifyContent) !== null && _props_justifyContent !== void 0 ? _props_justifyContent : 'flex-start';
487
+ var _props_alignItems;
488
+ this.alignItems = (_props_alignItems = props === null || props === void 0 ? void 0 : props.alignItems) !== null && _props_alignItems !== void 0 ? _props_alignItems : 'flex-start';
435
489
  };
436
490
  /**
437
491
  * 加密类型
@@ -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;
97
96
  _this = _call_super(this, ActionBarControl, [
98
97
  props
99
98
  ]), _define_property(_this, "props", void 0);
100
- _this.props = new ActionBarControlProperty((_ref = props === null || props === void 0 ? void 0 : props.props) !== null && _ref !== void 0 ? _ref : {});
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 : {});
101
101
  return _this;
102
102
  }
103
103
  _create_class(ActionBarControl, null, [