@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
@@ -155,6 +155,7 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
155
155
  function InputProperty(props) {
156
156
  _class_call_check(this, InputProperty);
157
157
  var _this;
158
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
158
159
  _this = _call_super(this, InputProperty, [
159
160
  props
160
161
  ]), /**
@@ -180,22 +181,29 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
180
181
  * 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
181
182
  * @defaultValue ''
182
183
  * @public
183
- */ _define_property(_this, "encryptedMode", void 0);
184
- var _props_maxLength;
185
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
186
- var _props_minLength;
187
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
184
+ */ _define_property(_this, "encryptedMode", void 0), /**
185
+ * ai 显示内容搜索 false | true
186
+ * @defaultValue false
187
+ * @public
188
+ */ _define_property(_this, "aiContentSearch", void 0), /**
189
+ * 在明细子表中自动高度
190
+ * @defaultValue false
191
+ */ _define_property(_this, "autoHeight", void 0), /**
192
+ * 在明细子表中行数设置
193
+ * @defaultValue 1
194
+ * @public
195
+ */ _define_property(_this, "lineEllipsis", void 0);
196
+ _this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 200;
197
+ _this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
188
198
  _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
189
- var _props_defaultValue;
190
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
191
- var _props_caption;
192
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : InputControl.controlName;
193
- var _props_placeholder;
194
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
195
- var _props_encrypted;
196
- _this.encrypted = (_props_encrypted = props === null || props === void 0 ? void 0 : props.encrypted) !== null && _props_encrypted !== void 0 ? _props_encrypted : false;
197
- var _props_encryptedMode;
198
- _this.encryptedMode = (_props_encryptedMode = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : '';
199
+ _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
200
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : InputControl.controlName;
201
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseEnter', null, '请输入');
202
+ _this.encrypted = (_ref5 = props === null || props === void 0 ? void 0 : props.encrypted) !== null && _ref5 !== void 0 ? _ref5 : false;
203
+ _this.encryptedMode = (_ref6 = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _ref6 !== void 0 ? _ref6 : '';
204
+ _this.aiContentSearch = (_ref7 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref7 !== void 0 ? _ref7 : false;
205
+ _this.autoHeight = (_ref8 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref8 !== void 0 ? _ref8 : false;
206
+ _this.lineEllipsis = (_ref9 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref9 !== void 0 ? _ref9 : 1;
199
207
  return _this;
200
208
  }
201
209
  return InputProperty;
@@ -138,7 +138,7 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
138
138
  message: getLocaleText(max === undefined ? 'CMD.pleaseEnterAValueGreaterThanMin' : min === undefined ? 'CMD.pleaseEnterAValueLessThanMax' : 'CMD.pleaseEnterNumberRange', {
139
139
  max: max,
140
140
  min: min
141
- }, max === undefined ? getLocaleText('CMD.2e171751967102653') : min === undefined ? getLocaleText('CMD.827a1751967105045') : getLocaleText('CMD.8ad11751967096874'))
141
+ }, max === undefined ? getLocaleText('CMD.16921751712133509') : min === undefined ? getLocaleText('CMD.f0231751712135569') : getLocaleText('CMD.78ab1751712129046'))
142
142
  });
143
143
  if (props.regularRules.expression && props.regularRules.errMessage) {
144
144
  _this.push({
@@ -159,6 +159,7 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
159
159
  function NumberProperty(props) {
160
160
  _class_call_check(this, NumberProperty);
161
161
  var _this;
162
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12;
162
163
  _this = _call_super(this, NumberProperty, [
163
164
  props
164
165
  ]), /**
@@ -209,32 +210,19 @@ var NumberControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProper
209
210
  * 正则校验
210
211
  * @public
211
212
  * */ _define_property(_this, "regularRules", void 0);
212
- var _props_rangeMin;
213
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
214
- var _props_rangeMax;
215
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
216
- var _props_numberType;
217
- _this.numberType = (_props_numberType = props === null || props === void 0 ? void 0 : props.numberType) !== null && _props_numberType !== void 0 ? _props_numberType : 'number';
218
- var _props_percentageFormat;
219
- _this.percentageFormat = (_props_percentageFormat = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _props_percentageFormat !== void 0 ? _props_percentageFormat : false;
220
- var _props_micrometer;
221
- _this.micrometer = (_props_micrometer = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _props_micrometer !== void 0 ? _props_micrometer : false;
222
- var _props_precision;
223
- _this.precision = (_props_precision = props === null || props === void 0 ? void 0 : props.precision) !== null && _props_precision !== void 0 ? _props_precision : 0;
224
- var _props_showUpperCase;
225
- _this.showUpperCase = (_props_showUpperCase = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _props_showUpperCase !== void 0 ? _props_showUpperCase : false;
226
- var _props_isShowUnit;
227
- _this.isShowUnit = (_props_isShowUnit = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _props_isShowUnit !== void 0 ? _props_isShowUnit : false;
228
- var _props_unitPosition;
229
- _this.unitPosition = (_props_unitPosition = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _props_unitPosition !== void 0 ? _props_unitPosition : 'right';
230
- var _props_unit;
231
- _this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
232
- var _props_caption;
233
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : NumberControl.controlName;
234
- var _props_placeholder;
235
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
236
- var _props_defaultValue;
237
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
213
+ _this.rangeMin = (_ref = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref !== void 0 ? _ref : '';
214
+ _this.rangeMax = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref1 !== void 0 ? _ref1 : '';
215
+ _this.numberType = (_ref2 = props === null || props === void 0 ? void 0 : props.numberType) !== null && _ref2 !== void 0 ? _ref2 : 'number';
216
+ _this.percentageFormat = (_ref3 = props === null || props === void 0 ? void 0 : props.percentageFormat) !== null && _ref3 !== void 0 ? _ref3 : false;
217
+ _this.micrometer = (_ref4 = props === null || props === void 0 ? void 0 : props.micrometer) !== null && _ref4 !== void 0 ? _ref4 : false;
218
+ _this.precision = (_ref5 = props === null || props === void 0 ? void 0 : props.precision) !== null && _ref5 !== void 0 ? _ref5 : 0;
219
+ _this.showUpperCase = (_ref6 = props === null || props === void 0 ? void 0 : props.showUpperCase) !== null && _ref6 !== void 0 ? _ref6 : false;
220
+ _this.isShowUnit = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowUnit) !== null && _ref7 !== void 0 ? _ref7 : false;
221
+ _this.unitPosition = (_ref8 = props === null || props === void 0 ? void 0 : props.unitPosition) !== null && _ref8 !== void 0 ? _ref8 : 'right';
222
+ _this.unit = (_ref9 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref9 !== void 0 ? _ref9 : '';
223
+ _this.caption = (_ref10 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref10 !== void 0 ? _ref10 : NumberControl.controlName;
224
+ _this.placeholder = (_ref11 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref11 !== void 0 ? _ref11 : getLocaleText('CMD.pleaseEnter', null, '请输入');
225
+ _this.defaultValue = (_ref12 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref12 !== void 0 ? _ref12 : '';
238
226
  _this.regularRules = new RegularRules(props === null || props === void 0 ? void 0 : props.regularRules);
239
227
  return _this;
240
228
  }
@@ -161,7 +161,7 @@ var OrganizationSelectionControl = /*#__PURE__*/ function(DesignerFormControl) {
161
161
  return [
162
162
  {
163
163
  key: 'displayBoList',
164
- name: getLocaleText('CMD.90fc1751967128275'),
164
+ name: getLocaleText('CMD.895a1751712162322'),
165
165
  required: true
166
166
  }
167
167
  ];
@@ -124,6 +124,7 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
124
124
  function OrganizationSelectionProperty(props) {
125
125
  _class_call_check(this, OrganizationSelectionProperty);
126
126
  var _this;
127
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
127
128
  _this = _call_super(this, OrganizationSelectionProperty, [
128
129
  props
129
130
  ]), /**
@@ -160,46 +161,28 @@ var OrganizationSelectionProperty = /*#__PURE__*/ function(BaseControlProperty)
160
161
  ), // 展示已选明细
161
162
  _define_property(_this, "showSelectedDetail", void 0), // 展示已选内容配置字段
162
163
  _define_property(_this, "selectedContentConfig", void 0);
163
- var _props_showType;
164
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
165
- var _props_multiple;
166
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
167
- var _props_range;
168
- _this.range = (_props_range = props === null || props === void 0 ? void 0 : props.range) !== null && _props_range !== void 0 ? _props_range : 'all';
164
+ _this.showType = (_ref = props === null || props === void 0 ? void 0 : props.showType) !== null && _ref !== void 0 ? _ref : 'default';
165
+ _this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
166
+ _this.range = (_ref2 = props === null || props === void 0 ? void 0 : props.range) !== null && _ref2 !== void 0 ? _ref2 : 'all';
169
167
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
170
- var _props_defaultValueType;
171
- _this.defaultValueType = (_props_defaultValueType = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _props_defaultValueType !== void 0 ? _props_defaultValueType : 'none';
172
- var _props_rangeOptions;
173
- _this.rangeOptions = (_props_rangeOptions = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _props_rangeOptions !== void 0 ? _props_rangeOptions : [];
174
- var _props_defaultValue;
175
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
176
- var _props_displayLevel;
177
- _this.displayLevel = (_props_displayLevel = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _props_displayLevel !== void 0 ? _props_displayLevel : 1;
178
- var _props_showSubDept;
179
- _this.showSubDept = (_props_showSubDept = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _props_showSubDept !== void 0 ? _props_showSubDept : true;
180
- var _props_caption;
181
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : OrganizationSelectionControl.controlName;
182
- var _props_placeholder;
183
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
184
- var _props_datasourceBind;
185
- _this.datasourceBind = new OrganizationDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
168
+ _this.defaultValueType = (_ref3 = props === null || props === void 0 ? void 0 : props.defaultValueType) !== null && _ref3 !== void 0 ? _ref3 : 'none';
169
+ _this.rangeOptions = (_ref4 = props === null || props === void 0 ? void 0 : props.rangeOptions) !== null && _ref4 !== void 0 ? _ref4 : [];
170
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
171
+ _this.displayLevel = (_ref6 = props === null || props === void 0 ? void 0 : props.displayLevel) !== null && _ref6 !== void 0 ? _ref6 : 1;
172
+ _this.showSubDept = (_ref7 = props === null || props === void 0 ? void 0 : props.showSubDept) !== null && _ref7 !== void 0 ? _ref7 : true;
173
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : OrganizationSelectionControl.controlName;
174
+ _this.placeholder = (_ref9 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref9 !== void 0 ? _ref9 : getLocaleText('CMD.pleaseSelectOrg', null, '请选择组织');
175
+ _this.datasourceBind = new OrganizationDataSourceBind((_ref10 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref10 !== void 0 ? _ref10 : {
186
176
  attributes: OrganizationSelectionControl.controlCustomAttributes
187
177
  });
188
- var _props_datasourceType;
189
- _this.datasourceType = (_props_datasourceType = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _props_datasourceType !== void 0 ? _props_datasourceType : DepartmentType.INTERNAL;
190
- var _props_businessScope;
191
- _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
192
- var _props_businessType;
193
- _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
194
- var _props_organizingFunction;
195
- _this.organizingFunction = (_props_organizingFunction = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _props_organizingFunction !== void 0 ? _props_organizingFunction : undefined;
196
- var _props_organizationView;
197
- _this.organizationView = (_props_organizationView = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _props_organizationView !== void 0 ? _props_organizationView : undefined;
198
- var _props_showSelectedDetail;
199
- _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
178
+ _this.datasourceType = (_ref11 = props === null || props === void 0 ? void 0 : props.datasourceType) !== null && _ref11 !== void 0 ? _ref11 : DepartmentType.INTERNAL;
179
+ _this.businessScope = (_ref12 = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _ref12 !== void 0 ? _ref12 : [];
180
+ _this.businessType = (_ref13 = props === null || props === void 0 ? void 0 : props.businessType) !== null && _ref13 !== void 0 ? _ref13 : AssignType.ALL;
181
+ _this.organizingFunction = (_ref14 = props === null || props === void 0 ? void 0 : props.organizingFunction) !== null && _ref14 !== void 0 ? _ref14 : undefined;
182
+ _this.organizationView = (_ref15 = props === null || props === void 0 ? void 0 : props.organizationView) !== null && _ref15 !== void 0 ? _ref15 : undefined;
183
+ _this.showSelectedDetail = (_ref16 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref16 !== void 0 ? _ref16 : false;
200
184
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
201
- var _props_openMultistageFilling;
202
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
185
+ _this.openMultistageFilling = (_ref17 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref17 !== void 0 ? _ref17 : false;
203
186
  _this.multistageFilling = [];
204
187
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
205
188
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -166,6 +166,10 @@ _define_property(RadioControl, "setting", [
166
166
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
167
167
  ]
168
168
  },
169
+ {
170
+ key: 'ai-content-search',
171
+ visible: true
172
+ },
169
173
  {
170
174
  key: 'options-setting',
171
175
  visible: true
@@ -90,6 +90,7 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
90
90
  function RadioProperty(props) {
91
91
  _class_call_check(this, RadioProperty);
92
92
  var _this;
93
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
93
94
  _this = _call_super(this, RadioProperty, [
94
95
  props
95
96
  ]), _define_property(_this, "radioMode", void 0 // 选项排列方式 horizontal默认
@@ -99,9 +100,12 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
99
100
  ), _define_property(_this, "optionsOrder", void 0 // 选项排序
100
101
  ), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "interreaction", void 0 // 数据联动
101
102
  ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
102
- );
103
- var _props_options;
104
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
103
+ ), /**
104
+ * ai 显示内容搜索 false | true
105
+ * @defaultValue false
106
+ * @public
107
+ */ _define_property(_this, "aiContentSearch", void 0);
108
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
105
109
  {
106
110
  label: getLocaleText('CMD.optionOne', null, '选项一'),
107
111
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -115,27 +119,17 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
115
119
  value: getLocaleText('CMD.optionThird', null, '选项三')
116
120
  }
117
121
  ]);
118
- var _props_radioMode;
119
- _this.radioMode = (_props_radioMode = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _props_radioMode !== void 0 ? _props_radioMode : 'horizontal';
120
- var _props_optionConfig;
121
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
122
- var _props_otherOption;
123
- _this.otherOption = (_props_otherOption = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _props_otherOption !== void 0 ? _props_otherOption : false;
124
- var _props_optionsOrder;
125
- _this.optionsOrder = (_props_optionsOrder = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _props_optionsOrder !== void 0 ? _props_optionsOrder : false;
126
- var _props_defaultShowOptions;
127
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
128
- var _props_optionsFormat;
129
- _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : 'horizontal';
122
+ _this.radioMode = (_ref1 = props === null || props === void 0 ? void 0 : props.radioMode) !== null && _ref1 !== void 0 ? _ref1 : 'horizontal';
123
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
124
+ _this.otherOption = (_ref3 = props === null || props === void 0 ? void 0 : props.otherOption) !== null && _ref3 !== void 0 ? _ref3 : false;
125
+ _this.optionsOrder = (_ref4 = props === null || props === void 0 ? void 0 : props.optionsOrder) !== null && _ref4 !== void 0 ? _ref4 : false;
126
+ _this.defaultShowOptions = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref5 !== void 0 ? _ref5 : true;
127
+ _this.optionsFormat = (_ref6 = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _ref6 !== void 0 ? _ref6 : 'horizontal';
130
128
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
131
- var _props_interreaction;
132
- _this.interreaction = (_props_interreaction = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _props_interreaction !== void 0 ? _props_interreaction : [];
133
- var _props_caption;
134
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
135
- var _props_defaultValue;
136
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
137
- var _props_openMultistageFilling;
138
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
129
+ _this.interreaction = (_ref7 = props === null || props === void 0 ? void 0 : props.interreaction) !== null && _ref7 !== void 0 ? _ref7 : [];
130
+ _this.caption = (_ref8 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref8 !== void 0 ? _ref8 : RadioControl.controlName;
131
+ _this.defaultValue = (_ref9 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref9 !== void 0 ? _ref9 : '';
132
+ _this.openMultistageFilling = (_ref10 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref10 !== void 0 ? _ref10 : false;
139
133
  _this.multistageFilling = [];
140
134
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
141
135
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -143,6 +137,7 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
143
137
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
144
138
  });
145
139
  }
140
+ _this.aiContentSearch = (_ref11 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref11 !== void 0 ? _ref11 : false;
146
141
  return _this;
147
142
  }
148
143
  return RadioProperty;
@@ -168,6 +168,22 @@ _define_property(RichTextControl, "setting", [
168
168
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
169
169
  ]
170
170
  },
171
+ {
172
+ key: 'ai-content-search',
173
+ visible: false
174
+ },
175
+ {
176
+ key: 'ai-generation',
177
+ visible: true
178
+ },
179
+ {
180
+ key: 'column-autoHeight',
181
+ visible: false
182
+ },
183
+ {
184
+ key: 'column-line-ellipsis',
185
+ visible: false
186
+ },
171
187
  {
172
188
  key: 'max-length',
173
189
  visible: true
@@ -70,7 +70,7 @@ function _is_native_reflect_construct() {
70
70
  return !!result;
71
71
  })();
72
72
  }
73
- import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
73
+ import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, initAiOptions } from '@byteluck-fe/model-driven-core';
74
74
  import RichTextControl from './designer';
75
75
  import { getLocaleText } from '@byteluck-fe/locale-message';
76
76
  var RichTextControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
@@ -135,19 +135,55 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
135
135
  function RichTextProperty(props) {
136
136
  _class_call_check(this, RichTextProperty);
137
137
  var _this;
138
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
138
139
  _this = _call_super(this, RichTextProperty, [
139
140
  props
140
- ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0);
141
- var _props_maxLength;
142
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
143
- var _props_minLength;
144
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
145
- var _props_defaultValue;
146
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
147
- var _props_caption;
148
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
149
- var _props_placeholder;
150
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
141
+ ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), /**
142
+ * ai 显示内容搜索 false | true
143
+ * @defaultValue false
144
+ * @public
145
+ */ _define_property(_this, "aiContentSearch", void 0), /**
146
+ * ai 生成 false | true
147
+ * @defaultValue false
148
+ * @public
149
+ */ _define_property(_this, "aiGeneration", void 0), /**
150
+ * ai 生成对应的总结、丰富、翻译等options
151
+ * @defaultValue []
152
+ * @public
153
+ */ _define_property(_this, "aiOptions", void 0), /**
154
+ * 在明细子表中自动高度
155
+ * @defaultValue false
156
+ */ _define_property(_this, "autoHeight", void 0), /**
157
+ * 在明细子表中行数设置
158
+ * @defaultValue 1
159
+ * @public
160
+ */ _define_property(_this, "lineEllipsis", void 0);
161
+ _this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 50000;
162
+ _this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
163
+ _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
164
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : RichTextControl.controlName;
165
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseEnter', null, '请输入');
166
+ _this.aiContentSearch = (_ref5 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref5 !== void 0 ? _ref5 : false;
167
+ _this.aiGeneration = (_ref6 = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _ref6 !== void 0 ? _ref6 : false;
168
+ _this.aiOptions = initAiOptions((_ref7 = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _ref7 !== void 0 ? _ref7 : [
169
+ {
170
+ label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
171
+ cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
172
+ checked: true
173
+ },
174
+ {
175
+ label: getLocaleText('CMD.aiOptionTwoLabel', null, '丰富'),
176
+ cueWord: getLocaleText('CMD.aiOptionTwoCurword', null, 'RICH'),
177
+ checked: false
178
+ },
179
+ {
180
+ label: getLocaleText('CMD.aiOptionThreeLabel', null, '翻译'),
181
+ cueWord: getLocaleText('CMD.aiOptionThreeCurword', null, 'TRANS'),
182
+ checked: false
183
+ }
184
+ ]);
185
+ _this.autoHeight = (_ref8 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref8 !== void 0 ? _ref8 : false;
186
+ _this.lineEllipsis = (_ref9 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref9 !== void 0 ? _ref9 : 1;
151
187
  return _this;
152
188
  }
153
189
  return RichTextProperty;
@@ -141,26 +141,21 @@ var ScoreProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
141
  function ScoreProperty(props) {
142
142
  _class_call_check(this, ScoreProperty);
143
143
  var _this;
144
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
144
145
  var _props_explain;
145
146
  _this = _call_super(this, ScoreProperty, [
146
147
  props
147
148
  ]), _define_property(_this, "totalScore", void 0), _define_property(_this, "scoreType", void 0), _define_property(_this, "isShowExplain", void 0), _define_property(_this, "explain", void 0), _define_property(_this, "defaultValue", void 0);
148
- var _props_totalScore;
149
- _this.totalScore = (_props_totalScore = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _props_totalScore !== void 0 ? _props_totalScore : 5;
150
- var _props_scoreType;
151
- _this.scoreType = (_props_scoreType = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _props_scoreType !== void 0 ? _props_scoreType : SCORE_TYPE.STAR;
152
- var _props_isShowExplain;
153
- _this.isShowExplain = (_props_isShowExplain = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _props_isShowExplain !== void 0 ? _props_isShowExplain : true;
154
- var _props_explain_map;
155
- _this.explain = (_props_explain_map = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
149
+ _this.totalScore = (_ref = props === null || props === void 0 ? void 0 : props.totalScore) !== null && _ref !== void 0 ? _ref : 5;
150
+ _this.scoreType = (_ref1 = props === null || props === void 0 ? void 0 : props.scoreType) !== null && _ref1 !== void 0 ? _ref1 : SCORE_TYPE.STAR;
151
+ _this.isShowExplain = (_ref2 = props === null || props === void 0 ? void 0 : props.isShowExplain) !== null && _ref2 !== void 0 ? _ref2 : true;
152
+ _this.explain = (_ref3 = props === null || props === void 0 ? void 0 : (_props_explain = props.explain) === null || _props_explain === void 0 ? void 0 : _props_explain.map(function(item) {
156
153
  return new Explain(item);
157
- })) !== null && _props_explain_map !== void 0 ? _props_explain_map : Array(_this.totalScore).fill(undefined).map(function() {
154
+ })) !== null && _ref3 !== void 0 ? _ref3 : Array(_this.totalScore).fill(undefined).map(function() {
158
155
  return new Explain();
159
156
  });
160
- var _props_defaultValue;
161
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : 0;
162
- var _props_caption;
163
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : ScoreControl.controlName;
157
+ _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : 0;
158
+ _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : ScoreControl.controlName;
164
159
  return _this;
165
160
  }
166
161
  return ScoreProperty;
@@ -114,6 +114,7 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
114
114
  function SearchDateRangeProperty(props) {
115
115
  _class_call_check(this, SearchDateRangeProperty);
116
116
  var _this;
117
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11;
117
118
  var _props_limitDateList;
118
119
  _this = _call_super(this, SearchDateRangeProperty, [
119
120
  props
@@ -123,34 +124,25 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
123
124
  ), _define_property(_this, "dateFormat", void 0 //日期格式化字符串
124
125
  ), _define_property(_this, "commonTimeSetting", void 0 //常用时间配置
125
126
  ), _define_property(_this, "setValueType", void 0 // 日期默认值设置方式custom,now
126
- ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "limitDateList", void 0);
127
- var _props_defaultValue;
128
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
127
+ ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "limitDateList", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
128
+ );
129
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [
129
130
  '',
130
131
  ''
131
132
  ];
132
- var _props_dateType;
133
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
134
- var _props_dateFormat;
135
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
136
- var _props_commonTimeSetting;
137
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
138
- var _props_setValueType;
139
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
140
- var _props_rangeMin;
141
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
142
- var _props_rangeMax;
143
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
144
- var _props_placeholderStart;
145
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.startDate', null, '开始日期');
146
- var _props_placeholderEnd;
147
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.endDate', null, '结束日期');
148
- var _props_caption;
149
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
150
- var _props_limitDateList_map;
151
- _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) {
133
+ _this.dateType = (_ref1 = props === null || props === void 0 ? void 0 : props.dateType) !== null && _ref1 !== void 0 ? _ref1 : DateType.DATE;
134
+ _this.dateFormat = (_ref2 = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _ref2 !== void 0 ? _ref2 : '';
135
+ _this.commonTimeSetting = (_ref3 = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _ref3 !== void 0 ? _ref3 : [];
136
+ _this.setValueType = (_ref4 = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _ref4 !== void 0 ? _ref4 : 'custom';
137
+ _this.rangeMin = (_ref5 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref5 !== void 0 ? _ref5 : '';
138
+ _this.rangeMax = (_ref6 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref6 !== void 0 ? _ref6 : '';
139
+ _this.placeholderStart = (_ref7 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref7 !== void 0 ? _ref7 : getLocaleText('CMD.startDate', null, '开始日期');
140
+ _this.placeholderEnd = (_ref8 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref8 !== void 0 ? _ref8 : getLocaleText('CMD.endDate', null, '结束日期');
141
+ _this.caption = (_ref9 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref9 !== void 0 ? _ref9 : SearchDateRangeControl.controlName;
142
+ _this.limitDateList = (_ref10 = props === null || props === void 0 ? void 0 : (_props_limitDateList = props.limitDateList) === null || _props_limitDateList === void 0 ? void 0 : _props_limitDateList.map(function(item) {
152
143
  return new LimitDate(item);
153
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
144
+ })) !== null && _ref10 !== void 0 ? _ref10 : [];
145
+ _this.isInternational = (_ref11 = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _ref11 !== void 0 ? _ref11 : false;
154
146
  return _this;
155
147
  }
156
148
  return SearchDateRangeProperty;
@@ -113,26 +113,21 @@ var SearchNumberRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
113
113
  function SearchNumberRangeProperty(props) {
114
114
  _class_call_check(this, SearchNumberRangeProperty);
115
115
  var _this;
116
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
116
117
  _this = _call_super(this, SearchNumberRangeProperty, [
117
118
  props
118
119
  ]), _define_property(_this, "rangeMin", void 0), _define_property(_this, "rangeMax", void 0), _define_property(_this, "placeholderStart", void 0 // 数字区间开始的提示文字
119
120
  ), _define_property(_this, "placeholderEnd", void 0 // 数字区结束的提示文字
120
121
  ), _define_property(_this, "defaultValue", void 0);
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 : [
122
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [
123
123
  '',
124
124
  ''
125
125
  ];
126
- var _props_rangeMin;
127
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
128
- var _props_rangeMax;
129
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
130
- var _props_placeholderStart;
131
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.min', null, '最小值');
132
- var _props_placeholderEnd;
133
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.max', null, '最大值');
134
- var _props_caption;
135
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchNumberRangeControl.controlName;
126
+ _this.rangeMin = (_ref1 = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _ref1 !== void 0 ? _ref1 : '';
127
+ _this.rangeMax = (_ref2 = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _ref2 !== void 0 ? _ref2 : '';
128
+ _this.placeholderStart = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.min', null, '最小值');
129
+ _this.placeholderEnd = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.max', null, '最大值');
130
+ _this.caption = (_ref5 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref5 !== void 0 ? _ref5 : SearchNumberRangeControl.controlName;
136
131
  return _this;
137
132
  }
138
133
  return SearchNumberRangeProperty;
@@ -164,6 +164,10 @@ _define_property(SelectControl, "setting", [
164
164
  COMMON_SETTING_TYPE.ALLOW_COPY_OPTIONS
165
165
  ]
166
166
  },
167
+ {
168
+ key: 'ai-content-search',
169
+ visible: true
170
+ },
167
171
  {
168
172
  key: 'options-setting',
169
173
  visible: true,