@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
@@ -117,6 +117,7 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
117
117
  function DateRangeProperty(props) {
118
118
  _class_call_check(this, DateRangeProperty);
119
119
  var _this;
120
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
120
121
  var _props_limitDateList;
121
122
  _this = _call_super(this, DateRangeProperty, [
122
123
  props
@@ -162,31 +163,23 @@ var DateRangePropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropertyRu
162
163
  * 日期限制范围
163
164
  * @defaultValue []
164
165
  * @public
165
- */ _define_property(_this, "limitDateList", void 0);
166
+ */ _define_property(_this, "limitDateList", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
167
+ );
166
168
  _this.dataBind = new RangeDataBind(props === null || props === void 0 ? void 0 : props.dataBind);
167
169
  _this.defaultValue = new RangeDateValue(props === null || props === void 0 ? void 0 : props.defaultValue);
168
- var _props_dateType;
169
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
170
- var _props_dateFormat;
171
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
172
- var _props_commonTimeSetting;
173
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
174
- var _props_setValueType;
175
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
176
- var _props_rangeMin;
177
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
178
- var _props_rangeMax;
179
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
180
- var _props_placeholderStart;
181
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
182
- var _props_placeholderEnd;
183
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
184
- var _props_caption;
185
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DateRangeControl.controlName;
186
- var _props_limitDateList_map;
187
- _this.limitDateList = (_props_limitDateList_map = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
170
+ _this.dateType = (_ref = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref !== void 0 ? _ref : DateType.DATE;
171
+ _this.dateFormat = (_ref1 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref1 !== void 0 ? _ref1 : '';
172
+ _this.commonTimeSetting = (_ref2 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref2 !== void 0 ? _ref2 : [];
173
+ _this.setValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref3 !== void 0 ? _ref3 : 'custom';
174
+ _this.rangeMin = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref4 !== void 0 ? _ref4 : '';
175
+ _this.rangeMax = (_ref5 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref5 !== void 0 ? _ref5 : '';
176
+ _this.placeholderStart = (_ref6 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref6 !== void 0 ? _ref6 : getLocaleText('CMD.pleaseSelectStartDate', null, '请选择开始日期');
177
+ _this.placeholderEnd = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseSelectEndDate', null, '请选择结束日期');
178
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DateRangeControl.controlName;
179
+ _this.limitDateList = (_ref9 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
188
180
  return new LimitDate(item);
189
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
181
+ })) !== null && _ref9 !== void 0 ? _ref9 : [];
182
+ _this.isInternational = (_ref10 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref10 !== void 0 ? _ref10 : false;
190
183
  return _this;
191
184
  }
192
185
  return DateRangeProperty;
@@ -95,6 +95,7 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
95
95
  function DepartmentProperty(props) {
96
96
  _class_call_check(this, DepartmentProperty);
97
97
  var _this;
98
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
98
99
  _this = _call_super(this, DepartmentProperty, [
99
100
  props
100
101
  ]), /**
@@ -117,28 +118,17 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
117
118
  * 多级填充
118
119
  * */ _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
119
120
  );
120
- var _props_showType;
121
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
122
- var _props_multiple;
123
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
124
- var _props_range;
125
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
126
- var _props_defaultValueType;
127
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
128
- var _props_rangeOptions;
129
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
130
- var _props_defaultValue;
131
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
132
- var _props_displayLevel;
133
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
134
- var _props_showSubDept;
135
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
136
- var _props_caption;
137
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
138
- var _props_placeholder;
139
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
140
- var _props_openMultistageFilling;
141
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
121
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
122
+ _this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
123
+ _this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
124
+ _this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
125
+ _this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
126
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
127
+ _this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
128
+ _this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
129
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : DepartmentControl.controlName;
130
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
131
+ _this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
142
132
  _this.multistageFilling = [];
143
133
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
144
134
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -155,7 +155,7 @@ var Department2Control = /*#__PURE__*/ function(DesignerFormControl) {
155
155
  return [
156
156
  {
157
157
  key: 'displayBoList',
158
- name: getLocaleText('CMD.cf901751967128274'),
158
+ name: getLocaleText('CMD.72d21751712162321'),
159
159
  required: true
160
160
  }
161
161
  ];
@@ -124,6 +124,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
124
124
  function Department2Property(props) {
125
125
  _class_call_check(this, Department2Property);
126
126
  var _this;
127
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15;
127
128
  _this = _call_super(this, Department2Property, [
128
129
  props
129
130
  ]), /**
@@ -154,38 +155,23 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
154
155
  ), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
155
156
  ), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
156
157
  );
157
- var _props_showType;
158
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
159
- var _props_multiple;
160
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
161
- var _props_range;
162
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
163
- var _props_defaultValueType;
164
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
165
- var _props_rangeOptions;
166
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
167
- var _props_defaultValue;
168
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
169
- var _props_displayLevel;
170
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
171
- var _props_showSubDept;
172
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
173
- var _props_caption;
174
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Department2Control.controlName;
175
- var _props_placeholder;
176
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
177
- var _props_datasourceBind;
178
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
158
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
159
+ _this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
160
+ _this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
161
+ _this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
162
+ _this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
163
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
164
+ _this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
165
+ _this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
166
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : Department2Control.controlName;
167
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectDept', null, '请选择部门');
168
+ _this.datasourceBind = new SuperDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
179
169
  attributes: Department2Control.controlCustomAttributes
180
170
  });
181
- var _props_datasourceType;
182
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
183
- var _props_businessScope;
184
- _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
185
- var _props_businessType;
186
- _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
187
- var _props_openMultistageFilling;
188
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
171
+ _this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
172
+ _this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
173
+ _this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
174
+ _this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
189
175
  _this.multistageFilling = [];
190
176
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
191
177
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -193,8 +179,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
193
179
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
194
180
  });
195
181
  }
196
- var _props_defaultShowOptions;
197
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
182
+ _this.defaultShowOptions = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref15 !== void 0 ? _ref15 : false;
198
183
  return _this;
199
184
  }
200
185
  return Department2Property;
@@ -184,21 +184,16 @@ var ElectronicSignatureProperty = /*#__PURE__*/ function(BaseControlProperty) {
184
184
  function ElectronicSignatureProperty(props) {
185
185
  _class_call_check(this, ElectronicSignatureProperty);
186
186
  var _this;
187
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
187
188
  _this = _call_super(this, ElectronicSignatureProperty, [
188
189
  props
189
190
  ]), _define_property(_this, "buttonType", void 0), _define_property(_this, "content", void 0), _define_property(_this, "showType", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "command", ''), _define_property(_this, "isLoading", false), _define_property(_this, "signatureConfig", void 0);
190
- var _props_caption;
191
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ElectronicSignatureControl.controlName;
192
- var _props_content;
193
- _this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.signature', null, '发起签署');
194
- var _props_buttonType;
195
- _this.buttonType = (_props_buttonType = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _props_buttonType !== void 0 ? _props_buttonType : 'primary';
196
- var _props_showType;
197
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'text';
198
- var _props_color;
199
- _this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : 'primary';
200
- var _props_icon;
201
- _this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : 'iconfenlei2';
191
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : ElectronicSignatureControl.controlName;
192
+ _this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.signature', null, '发起签署');
193
+ _this.buttonType = (_ref2 = props === null || props === void 0 ? void 0 : props.buttonType) !== null && _ref2 !== void 0 ? _ref2 : 'primary';
194
+ _this.showType = (_ref3 = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref3 !== void 0 ? _ref3 : 'text';
195
+ _this.color = (_ref4 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref4 !== void 0 ? _ref4 : 'primary';
196
+ _this.icon = (_ref5 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref5 !== void 0 ? _ref5 : 'iconfenlei2';
202
197
  _this.signatureConfig = new ElectronicSignatureConfig(props === null || props === void 0 ? void 0 : props.signatureConfig);
203
198
  return _this;
204
199
  }
@@ -95,6 +95,7 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
95
95
  function EmployeeProperty(props) {
96
96
  _class_call_check(this, EmployeeProperty);
97
97
  var _this;
98
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8;
98
99
  _this = _call_super(this, EmployeeProperty, [
99
100
  props
100
101
  ]), /**
@@ -105,24 +106,15 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
105
106
  ), _define_property(_this, "defaultValueType", void 0 // 默认值: null / 表单发起人 / 指定人员
106
107
  ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
107
108
  );
108
- var _props_showType;
109
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
110
- var _props_range;
111
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
112
- var _props_rangeOptions;
113
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
114
- var _props_multiple;
115
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
116
- var _props_defaultValueType;
117
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
118
- var _props_defaultValue;
119
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
120
- var _props_caption;
121
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
122
- var _props_placeholder;
123
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
124
- var _props_openMultistageFilling;
125
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
109
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
110
+ _this.range = (_ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref1 !== void 0 ? _ref1 : 'all';
111
+ _this.rangeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref2 !== void 0 ? _ref2 : [];
112
+ _this.multiple = (_ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref3 !== void 0 ? _ref3 : false;
113
+ _this.defaultValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref4 !== void 0 ? _ref4 : 'none';
114
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
115
+ _this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : EmployeeControl.controlName;
116
+ _this.placeholder = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
117
+ _this.openMultistageFilling = (_ref8 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref8 !== void 0 ? _ref8 : false;
126
118
  _this.multistageFilling = [];
127
119
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
128
120
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -125,7 +125,7 @@ var Employee2Control = /*#__PURE__*/ function(DesignerFormControl) {
125
125
  return [
126
126
  {
127
127
  key: 'displayBoList',
128
- name: getLocaleText('CMD.17131751967128275'),
128
+ name: getLocaleText('CMD.ffd71751712162321'),
129
129
  required: true
130
130
  }
131
131
  ];
@@ -182,6 +182,10 @@ _define_property(Employee2Control, "setting", [
182
182
  key: 'employee-datasource-setting',
183
183
  visible: true
184
184
  },
185
+ {
186
+ key: 'employee-subtableCopy-setting',
187
+ visible: false
188
+ },
185
189
  {
186
190
  key: 'employee-range',
187
191
  visible: true
@@ -124,10 +124,11 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
124
124
  function Employee2Property(props) {
125
125
  _class_call_check(this, Employee2Property);
126
126
  var _this;
127
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16;
127
128
  _this = _call_super(this, Employee2Property, [
128
129
  props
129
- ]), /**
130
- * 展示类型: 默认形式 / 树状人员
130
+ ]), /**
131
+ * 展示类型: 默认形式 / 树状人员
131
132
  * */ _define_property(_this, "showType", void 0), _define_property(_this, "range", void 0 // 人员范围: 公司全员 / 指定人员
132
133
  ), // 选择指定人员时的范围
133
134
  _define_property(_this, "rangeOptions", void 0), _define_property(_this, "multiple", void 0 // 是否多选
@@ -139,39 +140,25 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
139
140
  ), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
140
141
  ), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
141
142
  ), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
143
+ ), _define_property(_this, "subtableCopyType", void 0 //批粘贴方式:员工ID或邮箱
142
144
  );
143
- var _props_showType;
144
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
145
- var _props_range;
146
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
147
- var _props_rangeOptions;
148
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
149
- var _props_multiple;
150
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
151
- var _props_defaultValueType;
152
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
153
- var _props_defaultValue;
154
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
155
- var _props_caption;
156
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : Employee2Control.controlName;
157
- var _props_placeholder;
158
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
159
- var _props_datasourceBind;
160
- _this.datasourceBind = new SuperDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
145
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
146
+ _this.range = (_ref1 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref1 !== void 0 ? _ref1 : 'all';
147
+ _this.rangeOptions = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref2 !== void 0 ? _ref2 : [];
148
+ _this.multiple = (_ref3 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref3 !== void 0 ? _ref3 : false;
149
+ _this.defaultValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref4 !== void 0 ? _ref4 : 'none';
150
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
151
+ _this.caption = (_ref6 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref6 !== void 0 ? _ref6 : Employee2Control.controlName;
152
+ _this.placeholder = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.pleaseEnterNameorEmail', null, '请输入人员姓名或邮箱');
153
+ _this.datasourceBind = new SuperDataSourceBind((_ref8 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref8 !== void 0 ? _ref8 : {
161
154
  attributes: Employee2Control.controlCustomAttributes
162
155
  });
163
- var _props_datasourceType;
164
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : OrganizeType.INTERNAL; //默认内部组织 EXTERNAL 外部组织
165
- var _props_insideType;
166
- _this.insideType = (_props_insideType = props === null || props === void 0 ? void 0 : props.insideType) !== null && _props_insideType !== void 0 ? _props_insideType : InternalType.ADMIN;
167
- var _props_externalType;
168
- _this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
169
- var _props_externalScope;
170
- _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
171
- var _props_openMultistageFilling;
172
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
173
- var _props_mainDeptFlag;
174
- _this.mainDeptFlag = (_props_mainDeptFlag = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _props_mainDeptFlag !== void 0 ? _props_mainDeptFlag : false;
156
+ _this.datasourceType = (_ref9 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref9 !== void 0 ? _ref9 : OrganizeType.INTERNAL; //默认内部组织 EXTERNAL 外部组织
157
+ _this.insideType = (_ref10 = props === null || props === void 0 ? void 0 : props.insideType) !== null && _ref10 !== void 0 ? _ref10 : InternalType.ADMIN;
158
+ _this.externalType = (_ref11 = props === null || props === void 0 ? void 0 : props.externalType) !== null && _ref11 !== void 0 ? _ref11 : AssignType.ALL;
159
+ _this.externalScope = (_ref12 = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _ref12 !== void 0 ? _ref12 : [];
160
+ _this.openMultistageFilling = (_ref13 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref13 !== void 0 ? _ref13 : false;
161
+ _this.mainDeptFlag = (_ref14 = props === null || props === void 0 ? void 0 : props.mainDeptFlag) !== null && _ref14 !== void 0 ? _ref14 : false;
175
162
  _this.multistageFilling = [];
176
163
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
177
164
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -179,8 +166,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
179
166
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
180
167
  });
181
168
  }
182
- var _props_defaultShowOptions;
183
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
169
+ _this.defaultShowOptions = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref15 !== void 0 ? _ref15 : false;
170
+ _this.subtableCopyType = (_ref16 = props === null || props === void 0 ? void 0 : props.subtableCopyType) !== null && _ref16 !== void 0 ? _ref16 : 'employeeId';
184
171
  return _this;
185
172
  }
186
173
  return Employee2Property;
@@ -1,10 +1,4 @@
1
- /*
2
- * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
3
- * @Date: 2022-12-01 14:40:30
4
- * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
5
- * @LastEditTime: 2023-09-19 15:50:38
6
- * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
7
- */ function _assert_this_initialized(self) {
1
+ function _assert_this_initialized(self) {
8
2
  if (self === void 0) {
9
3
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
10
4
  }
@@ -90,8 +84,15 @@ function _is_native_reflect_construct() {
90
84
  return !!result;
91
85
  })();
92
86
  }
93
- import { getLocaleText } from '@byteluck-fe/locale-message';
87
+ /*
88
+ * @Author: zhaoxiaoyang zhaoxiaoyang@byteluck.com
89
+ * @Date: 2022-12-01 14:40:30
90
+ * @LastEditors: zhaoxiaoyang zhaoxiaoyang@byteluck.com
91
+ * @LastEditTime: 2023-09-19 15:50:38
92
+ * @FilePath: /model-driven/packages/controls/src/formControls/Image/designer.ts
93
+ */ import { getLocaleText } from '@byteluck-fe/locale-message';
94
94
  import { DesignerAttachmentControl } from '../Attachment';
95
+ import { ImageProperty } from './property';
95
96
  import { COMMON_SETTING_TYPE } from '@byteluck-fe/model-driven-core';
96
97
  import { FieldTypes } from '@byteluck-fe/model-driven-shared';
97
98
  var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
@@ -100,15 +101,10 @@ var ImageControl = /*#__PURE__*/ function(DesignerAttachmentControl) {
100
101
  function ImageControl(props) {
101
102
  _class_call_check(this, ImageControl);
102
103
  var _this;
103
- var _props_props, _props_props1;
104
104
  _this = _call_super(this, ImageControl, [
105
105
  props
106
- ]);
107
- _this.props.showType = 'image';
108
- var _props_props_caption;
109
- _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : ImageControl.controlName;
110
- var _props_props_placeholder;
111
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : getLocaleText('CMD.uploadImg', null, '上传图片');
106
+ ]), _define_property(_this, "props", void 0);
107
+ _this.props = new ImageProperty(props === null || props === void 0 ? void 0 : props.props);
112
108
  return _this;
113
109
  }
114
110
  _create_class(ImageControl, null, [
@@ -170,6 +166,14 @@ _define_property(ImageControl, "setting", [
170
166
  COMMON_SETTING_TYPE.IS_SHOW_WATERMARK
171
167
  ]
172
168
  },
169
+ {
170
+ key: 'compression-setting',
171
+ visible: true
172
+ },
173
+ {
174
+ key: 'ai-explanation',
175
+ visible: true
176
+ },
173
177
  {
174
178
  key: 'attachment-limit',
175
179
  visible: true
@@ -19,6 +19,19 @@ function _class_call_check(instance, Constructor) {
19
19
  throw new TypeError("Cannot call a class as a function");
20
20
  }
21
21
  }
22
+ function _define_property(obj, key, value) {
23
+ if (key in obj) {
24
+ Object.defineProperty(obj, key, {
25
+ value: value,
26
+ enumerable: true,
27
+ configurable: true,
28
+ writable: true
29
+ });
30
+ } else {
31
+ obj[key] = value;
32
+ }
33
+ return obj;
34
+ }
22
35
  function _get_prototype_of(o) {
23
36
  _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
24
37
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -63,15 +76,28 @@ function _is_native_reflect_construct() {
63
76
  return !!result;
64
77
  })();
65
78
  }
79
+ import { getLocaleText } from '@byteluck-fe/locale-message';
66
80
  import { AttachmentProperty } from '../Attachment';
81
+ import { ImageCompressType } from '../../framework';
82
+ import ImageControl from './designer';
67
83
  var ImageProperty = /*#__PURE__*/ function(AttachmentProperty) {
68
84
  "use strict";
69
85
  _inherits(ImageProperty, AttachmentProperty);
70
86
  function ImageProperty(props) {
71
87
  _class_call_check(this, ImageProperty);
72
- return _call_super(this, ImageProperty, [
88
+ var _this;
89
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6;
90
+ _this = _call_super(this, ImageProperty, [
73
91
  props
74
- ]);
92
+ ]), _define_property(_this, "compressTypeCode", void 0), _define_property(_this, "compressRatio", void 0), _define_property(_this, "maxPixel", void 0);
93
+ _this.showType = 'image';
94
+ _this.maxLimit = (_ref = props === null || props === void 0 ? void 0 : props.maxLimit) !== null && _ref !== void 0 ? _ref : 10;
95
+ _this.caption = (_ref1 = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : ImageControl.controlName) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.image', null, '图片');
96
+ _this.placeholder = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.uploadImg', null, '上传图片');
97
+ _this.compressTypeCode = (_ref4 = props === null || props === void 0 ? void 0 : props.compressTypeCode) !== null && _ref4 !== void 0 ? _ref4 : ImageCompressType.NO_COMPRESS; // 默认不压缩
98
+ _this.compressRatio = (_ref5 = props === null || props === void 0 ? void 0 : props.compressRatio) !== null && _ref5 !== void 0 ? _ref5 : 1; // 默认压缩比例1
99
+ _this.maxPixel = (_ref6 = props === null || props === void 0 ? void 0 : props.maxPixel) !== null && _ref6 !== void 0 ? _ref6 : 1080; // 默认最大像素1080
100
+ return _this;
75
101
  }
76
102
  return ImageProperty;
77
103
  }(AttachmentProperty);
@@ -27,6 +27,19 @@ function _create_class(Constructor, protoProps, staticProps) {
27
27
  if (staticProps) _defineProperties(Constructor, staticProps);
28
28
  return Constructor;
29
29
  }
30
+ function _define_property(obj, key, value) {
31
+ if (key in obj) {
32
+ Object.defineProperty(obj, key, {
33
+ value: value,
34
+ enumerable: true,
35
+ configurable: true,
36
+ writable: true
37
+ });
38
+ } else {
39
+ obj[key] = value;
40
+ }
41
+ return obj;
42
+ }
30
43
  function _get_prototype_of(o) {
31
44
  _get_prototype_of = Object.setPrototypeOf ? Object.getPrototypeOf : function getPrototypeOf(o) {
32
45
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -72,24 +85,17 @@ function _is_native_reflect_construct() {
72
85
  })();
73
86
  }
74
87
  import { RuntimeAttachmentControl } from '../Attachment';
75
- import { getLocaleText } from '@byteluck-fe/locale-message';
88
+ import { ImageProperty } from './property';
76
89
  var ImageControl = /*#__PURE__*/ function(RuntimeAttachmentControl) {
77
90
  "use strict";
78
91
  _inherits(ImageControl, RuntimeAttachmentControl);
79
92
  function ImageControl(props) {
80
93
  _class_call_check(this, ImageControl);
81
94
  var _this;
82
- var _props_props, _props_props1, _props_props2;
83
95
  _this = _call_super(this, ImageControl, [
84
96
  props
85
- ]);
86
- _this.props.showType = 'image';
87
- var _props_props_maxLimit;
88
- _this.props.maxLimit = (_props_props_maxLimit = props === null || props === void 0 ? void 0 : (_props_props = props.props) === null || _props_props === void 0 ? void 0 : _props_props.maxLimit) !== null && _props_props_maxLimit !== void 0 ? _props_props_maxLimit : 9;
89
- var _props_props_caption;
90
- _this.props.caption = (_props_props_caption = props === null || props === void 0 ? void 0 : (_props_props1 = props.props) === null || _props_props1 === void 0 ? void 0 : _props_props1.caption) !== null && _props_props_caption !== void 0 ? _props_props_caption : getLocaleText('CMD.image', null, '图片');
91
- var _props_props_placeholder;
92
- _this.props.placeholder = (_props_props_placeholder = props === null || props === void 0 ? void 0 : (_props_props2 = props.props) === null || _props_props2 === void 0 ? void 0 : _props_props2.placeholder) !== null && _props_props_placeholder !== void 0 ? _props_props_placeholder : getLocaleText('CMD.uploadImg', null, '上传图片');
97
+ ]), _define_property(_this, "props", void 0);
98
+ _this.props = new ImageProperty(props === null || props === void 0 ? void 0 : props.props);
93
99
  return _this;
94
100
  }
95
101
  _create_class(ImageControl, null, [
@@ -169,6 +169,18 @@ _define_property(InputControl, "setting", [
169
169
  COMMON_SETTING_TYPE.ENCRYPTED
170
170
  ]
171
171
  },
172
+ {
173
+ key: 'ai-content-search',
174
+ visible: true
175
+ },
176
+ {
177
+ key: 'column-autoHeight',
178
+ visible: false
179
+ },
180
+ {
181
+ key: 'column-line-ellipsis',
182
+ visible: false
183
+ },
172
184
  {
173
185
  key: 'max-length',
174
186
  visible: true