@byteluck-fe/model-driven-controls 6.2.0-beta.12 → 6.2.0-beta.13

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 (111) hide show
  1. package/dist/esm/baseControls/BatchDeleteButton/property.js +10 -18
  2. package/dist/esm/baseControls/BatchPrintListButton/property.js +6 -9
  3. package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +3 -4
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -12
  5. package/dist/esm/baseControls/Button/property.js +10 -18
  6. package/dist/esm/baseControls/Comment/property.js +2 -2
  7. package/dist/esm/baseControls/CreateFormListButton/property.js +5 -8
  8. package/dist/esm/baseControls/Dashboard/property.js +9 -16
  9. package/dist/esm/baseControls/Divider/property.js +4 -5
  10. package/dist/esm/baseControls/ExportListButton/property.js +6 -9
  11. package/dist/esm/baseControls/ExportRecordListButton/property.js +3 -4
  12. package/dist/esm/baseControls/FormSelectButton/property.js +4 -6
  13. package/dist/esm/baseControls/ImportRecordListButton/property.js +6 -9
  14. package/dist/esm/baseControls/InvoiceCheckButton/property.js +11 -19
  15. package/dist/esm/baseControls/Link/property.js +4 -6
  16. package/dist/esm/baseControls/ListSelectButton/property.js +6 -10
  17. package/dist/esm/baseControls/ListViewSelect/property.js +4 -5
  18. package/dist/esm/baseControls/OperationButton/property.js +7 -12
  19. package/dist/esm/baseControls/ReferenceList/property.js +7 -12
  20. package/dist/esm/baseControls/SubmissionRecordListButton/property.js +3 -4
  21. package/dist/esm/baseControls/Text/property.js +7 -12
  22. package/dist/esm/baseControls/TextOcrButton/property.js +11 -19
  23. package/dist/esm/baseControls/Title/property.js +4 -6
  24. package/dist/esm/columnControls/ApprovalStatusColumn/property.js +4 -6
  25. package/dist/esm/columnControls/ArrayColumn/property.js +5 -8
  26. package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
  27. package/dist/esm/columnControls/CustomColumn/property.js +4 -6
  28. package/dist/esm/columnControls/DecimalColumn/property.js +8 -14
  29. package/dist/esm/columnControls/DepartmentColumn/property.js +3 -4
  30. package/dist/esm/columnControls/EmployeeColumn/property.js +3 -4
  31. package/dist/esm/columnControls/FileColumn/property.js +3 -4
  32. package/dist/esm/columnControls/GroupColumn/property.js +2 -2
  33. package/dist/esm/columnControls/ImageColumn/property.js +2 -2
  34. package/dist/esm/columnControls/LocationColumn/property.js +3 -4
  35. package/dist/esm/columnControls/OperationColumn/designer.js +12 -4
  36. package/dist/esm/columnControls/OperationColumn/property.js +6 -10
  37. package/dist/esm/columnControls/OrderColumn/property.js +7 -12
  38. package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
  39. package/dist/esm/columnControls/TextColumn/property.js +5 -8
  40. package/dist/esm/columnControls/TimescopeColumn/property.js +5 -8
  41. package/dist/esm/columnControls/TimestampColumn/property.js +5 -8
  42. package/dist/esm/columnControls/VarcharColumn/property.js +7 -12
  43. package/dist/esm/formControls/Address/property.js +6 -10
  44. package/dist/esm/formControls/Amount/property.js +13 -24
  45. package/dist/esm/formControls/Attachment/property.js +25 -40
  46. package/dist/esm/formControls/AutoNumber/property.js +4 -6
  47. package/dist/esm/formControls/Calc/property.js +10 -18
  48. package/dist/esm/formControls/Checkbox/property.js +16 -29
  49. package/dist/esm/formControls/DatePicker/property.js +15 -27
  50. package/dist/esm/formControls/DateRange/property.js +13 -23
  51. package/dist/esm/formControls/Department/property.js +12 -22
  52. package/dist/esm/formControls/Department2/property.js +19 -35
  53. package/dist/esm/formControls/ElectronicSignature/property.js +7 -12
  54. package/dist/esm/formControls/Employee/property.js +10 -18
  55. package/dist/esm/formControls/Employee2/property.js +17 -32
  56. package/dist/esm/formControls/Image/designer.js +8 -8
  57. package/dist/esm/formControls/Image/property.js +7 -12
  58. package/dist/esm/formControls/Input/property.js +11 -20
  59. package/dist/esm/formControls/Number/property.js +14 -26
  60. package/dist/esm/formControls/OrganizationSelection/property.js +19 -36
  61. package/dist/esm/formControls/Radio/property.js +13 -24
  62. package/dist/esm/formControls/RichText/property.js +11 -20
  63. package/dist/esm/formControls/Score/property.js +8 -13
  64. package/dist/esm/formControls/SearchDateRange/property.js +14 -25
  65. package/dist/esm/formControls/SearchNumberRange/property.js +7 -12
  66. package/dist/esm/formControls/Select/property.js +12 -22
  67. package/dist/esm/formControls/SelectMultiple/property.js +11 -20
  68. package/dist/esm/formControls/SelectRelation/property.js +14 -26
  69. package/dist/esm/formControls/Textarea/property.js +11 -20
  70. package/dist/esm/formControls/Tree/designer.js +2 -1
  71. package/dist/esm/formControls/Tree/property.js +20 -37
  72. package/dist/esm/formControls/VueFormItem/property.js +6 -10
  73. package/dist/esm/formControls/VuePage/property.js +6 -10
  74. package/dist/esm/formControls/WPS/designer.js +9 -9
  75. package/dist/esm/formControls/WPS/property.js +13 -24
  76. package/dist/esm/framework.js +69 -113
  77. package/dist/esm/layoutControls/ActionBar/designer.js +2 -2
  78. package/dist/esm/layoutControls/ActionBar/property.js +4 -6
  79. package/dist/esm/layoutControls/ActionBar/runtime.js +2 -2
  80. package/dist/esm/layoutControls/CardGroup/property.js +4 -6
  81. package/dist/esm/layoutControls/Col/property.js +5 -8
  82. package/dist/esm/layoutControls/DataView/property.js +8 -14
  83. package/dist/esm/layoutControls/GridLayoutContainer/property.js +3 -4
  84. package/dist/esm/layoutControls/GridTableColumn/property.js +11 -20
  85. package/dist/esm/layoutControls/ListView/property.js +15 -28
  86. package/dist/esm/layoutControls/Page/property.js +2 -2
  87. package/dist/esm/layoutControls/Position/property.js +5 -8
  88. package/dist/esm/layoutControls/Row/property.js +3 -4
  89. package/dist/esm/layoutControls/Step/designer.js +2 -2
  90. package/dist/esm/layoutControls/Step/property.js +6 -10
  91. package/dist/esm/layoutControls/StepPane/property.js +9 -16
  92. package/dist/esm/layoutControls/SubTableColumn/property.js +6 -10
  93. package/dist/esm/layoutControls/Tab/designer.js +2 -2
  94. package/dist/esm/layoutControls/Tab/property.js +2 -2
  95. package/dist/esm/layoutControls/TabPane/property.js +2 -2
  96. package/dist/esm/layoutControls/TableLayout/property.js +16 -30
  97. package/dist/esm/layoutControls/TableLayoutCol/property.js +11 -20
  98. package/dist/esm/layoutControls/TableLayoutRow/property.js +3 -4
  99. package/dist/esm/layoutControls/TableLayoutWrapper/property.js +4 -6
  100. package/dist/esm/listControls/GridTable/designer.js +12 -4
  101. package/dist/esm/listControls/GridTable/property.js +15 -19
  102. package/dist/esm/listControls/SubTable/property.js +35 -68
  103. package/dist/esm/searchControls/SimpleSearch/property.js +13 -24
  104. package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -2
  105. package/dist/esm/wrapControls/GridLayoutWrap/designer.js +8 -8
  106. package/dist/esm/wrapControls/GridLayoutWrap/property.js +2 -2
  107. package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +8 -8
  108. package/dist/index.umd.js +1 -1
  109. package/dist/types/framework.d.ts +19 -19
  110. package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +1 -1
  111. package/package.json +5 -5
@@ -135,6 +135,7 @@ 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
141
  ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), /**
@@ -157,22 +158,14 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
157
158
  * @defaultValue 1
158
159
  * @public
159
160
  */ _define_property(_this, "lineEllipsis", void 0);
160
- var _props_maxLength;
161
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
162
- var _props_minLength;
163
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
164
- var _props_defaultValue;
165
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
166
- var _props_caption;
167
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RichTextControl.controlName;
168
- var _props_placeholder;
169
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
170
- var _props_aiContentSearch;
171
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
172
- var _props_aiGeneration;
173
- _this.aiGeneration = (_props_aiGeneration = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _props_aiGeneration !== void 0 ? _props_aiGeneration : false;
174
- var _props_aiOptions;
175
- _this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
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 : [
176
169
  {
177
170
  label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
178
171
  cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
@@ -189,10 +182,8 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
189
182
  checked: false
190
183
  }
191
184
  ]);
192
- var _props_autoHeight;
193
- _this.autoHeight = (_props_autoHeight = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _props_autoHeight !== void 0 ? _props_autoHeight : false;
194
- var _props_lineEllipsis;
195
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
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;
196
187
  return _this;
197
188
  }
198
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
@@ -125,35 +126,23 @@ var SearchDateRangeProperty = /*#__PURE__*/ function(BaseControlProperty) {
125
126
  ), _define_property(_this, "setValueType", void 0 // 日期默认值设置方式custom,now
126
127
  ), _define_property(_this, "defaultValue", void 0), _define_property(_this, "limitDateList", void 0), _define_property(_this, "isInternational", void 0 //是否国际化
127
128
  );
128
- var _props_defaultValue;
129
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [
129
+ _this.defaultValue = (_ref = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref !== void 0 ? _ref : [
130
130
  '',
131
131
  ''
132
132
  ];
133
- var _props_dateType;
134
- _this.dateType = (_props_dateType = props === null || props === void 0 ? void 0 : props.dateType) !== null && _props_dateType !== void 0 ? _props_dateType : DateType.DATE;
135
- var _props_dateFormat;
136
- _this.dateFormat = (_props_dateFormat = props === null || props === void 0 ? void 0 : props.dateFormat) !== null && _props_dateFormat !== void 0 ? _props_dateFormat : '';
137
- var _props_commonTimeSetting;
138
- _this.commonTimeSetting = (_props_commonTimeSetting = props === null || props === void 0 ? void 0 : props.commonTimeSetting) !== null && _props_commonTimeSetting !== void 0 ? _props_commonTimeSetting : [];
139
- var _props_setValueType;
140
- _this.setValueType = (_props_setValueType = props === null || props === void 0 ? void 0 : props.setValueType) !== null && _props_setValueType !== void 0 ? _props_setValueType : 'custom';
141
- var _props_rangeMin;
142
- _this.rangeMin = (_props_rangeMin = props === null || props === void 0 ? void 0 : props.rangeMin) !== null && _props_rangeMin !== void 0 ? _props_rangeMin : '';
143
- var _props_rangeMax;
144
- _this.rangeMax = (_props_rangeMax = props === null || props === void 0 ? void 0 : props.rangeMax) !== null && _props_rangeMax !== void 0 ? _props_rangeMax : '';
145
- var _props_placeholderStart;
146
- _this.placeholderStart = (_props_placeholderStart = props === null || props === void 0 ? void 0 : props.placeholderStart) !== null && _props_placeholderStart !== void 0 ? _props_placeholderStart : getLocaleText('CMD.startDate', null, '开始日期');
147
- var _props_placeholderEnd;
148
- _this.placeholderEnd = (_props_placeholderEnd = props === null || props === void 0 ? void 0 : props.placeholderEnd) !== null && _props_placeholderEnd !== void 0 ? _props_placeholderEnd : getLocaleText('CMD.endDate', null, '结束日期');
149
- var _props_caption;
150
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SearchDateRangeControl.controlName;
151
- var _props_limitDateList_map;
152
- _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) {
153
143
  return new LimitDate(item);
154
- })) !== null && _props_limitDateList_map !== void 0 ? _props_limitDateList_map : [];
155
- var _props_isInternational;
156
- _this.isInternational = (_props_isInternational = props === null || props === void 0 ? void 0 : props.isInternational) !== null && _props_isInternational !== void 0 ? _props_isInternational : false;
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;
157
146
  return _this;
158
147
  }
159
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;
@@ -103,6 +103,7 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
103
103
  function SelectProperty(props) {
104
104
  _class_call_check(this, SelectProperty);
105
105
  var _this;
106
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10;
106
107
  _this = _call_super(this, SelectProperty, [
107
108
  props
108
109
  ]), _define_property(_this, "options", void 0), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "optionConfig", void 0 // 选项配置 custom datasource
@@ -126,8 +127,7 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
126
127
  * @defaultValue false
127
128
  * @public
128
129
  */ _define_property(_this, "aiContentSearch", void 0);
129
- var _props_options;
130
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
130
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
131
131
  {
132
132
  label: getLocaleText('CMD.optionOne', null, '选项一'),
133
133
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -141,21 +141,14 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
141
  value: getLocaleText('CMD.optionThird', null, '选项三')
142
142
  }
143
143
  ]);
144
- var _props_defaultShowOptions;
145
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
146
- var _props_optionConfig;
147
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
144
+ _this.defaultShowOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref1 !== void 0 ? _ref1 : true;
145
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
148
146
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
149
- var _props_caption;
150
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
151
- var _props_placeholder;
152
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
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_allowCopyOptions;
156
- _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
157
- var _props_openMultistageFilling;
158
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
147
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : SelectControl.controlName;
148
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseSelect', null, '请选择');
149
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : '';
150
+ _this.allowCopyOptions = (_ref6 = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _ref6 !== void 0 ? _ref6 : false;
151
+ _this.openMultistageFilling = (_ref7 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref7 !== void 0 ? _ref7 : false;
159
152
  _this.multistageFilling = [];
160
153
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
161
154
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -163,13 +156,10 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
163
156
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
164
157
  });
165
158
  }
166
- var _props_canViewForm;
167
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
168
- var _props_viewFormModelType;
169
- _this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : 'window';
159
+ _this.canViewForm = (_ref8 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _ref8 !== void 0 ? _ref8 : false;
160
+ _this.viewFormModelType = (_ref9 = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _ref9 !== void 0 ? _ref9 : 'window';
170
161
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
171
- var _props_aiContentSearch;
172
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
162
+ _this.aiContentSearch = (_ref10 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref10 !== void 0 ? _ref10 : false;
173
163
  return _this;
174
164
  }
175
165
  return SelectProperty;
@@ -119,6 +119,7 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
119
119
  function SelectMultipleProperty(props) {
120
120
  _class_call_check(this, SelectMultipleProperty);
121
121
  var _this;
122
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
122
123
  _this = _call_super(this, SelectMultipleProperty, [
123
124
  props
124
125
  ]), _define_property(_this, "options", void 0), _define_property(_this, "defaultShowOptions", void 0), _define_property(_this, "optionConfig", void 0 // 选项配置 custom datasource
@@ -141,8 +142,7 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
141
142
  * @defaultValue false
142
143
  * @public
143
144
  */ _define_property(_this, "aiContentSearch", void 0);
144
- var _props_options;
145
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
145
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
146
146
  {
147
147
  label: getLocaleText('CMD.optionOne', null, '选项一'),
148
148
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -156,19 +156,13 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
156
156
  value: getLocaleText('CMD.optionThird', null, '选项三')
157
157
  }
158
158
  ]);
159
- var _props_defaultShowOptions;
160
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
161
- var _props_optionConfig;
162
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'custom';
159
+ _this.defaultShowOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref1 !== void 0 ? _ref1 : true;
160
+ _this.optionConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref2 !== void 0 ? _ref2 : 'custom';
163
161
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
164
- var _props_caption;
165
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
166
- var _props_placeholder;
167
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
168
- var _props_defaultValue;
169
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
170
- var _props_openMultistageFilling;
171
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
162
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : SelectMultipleControl.controlName;
163
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseSelect', null, '请选择');
164
+ _this.defaultValue = (_ref5 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref5 !== void 0 ? _ref5 : [];
165
+ _this.openMultistageFilling = (_ref6 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref6 !== void 0 ? _ref6 : false;
172
166
  _this.multistageFilling = [];
173
167
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
174
168
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -176,13 +170,10 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
176
170
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
177
171
  });
178
172
  }
179
- var _props_canViewForm;
180
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
181
- var _props_viewFormModelType;
182
- _this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : 'window';
173
+ _this.canViewForm = (_ref7 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _ref7 !== void 0 ? _ref7 : false;
174
+ _this.viewFormModelType = (_ref8 = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _ref8 !== void 0 ? _ref8 : 'window';
183
175
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
184
- var _props_aiContentSearch;
185
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
176
+ _this.aiContentSearch = (_ref9 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref9 !== void 0 ? _ref9 : false;
186
177
  return _this;
187
178
  }
188
179
  return SelectMultipleProperty;
@@ -129,6 +129,7 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
129
129
  function SelectRelationProperty(props) {
130
130
  _class_call_check(this, SelectRelationProperty);
131
131
  var _this;
132
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12;
132
133
  _this = _call_super(this, SelectRelationProperty, [
133
134
  props
134
135
  ]), /**
@@ -180,22 +181,15 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
180
181
  * @public
181
182
  */ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
182
183
  );
183
- var _props_options;
184
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
185
- var _props_optionConfig;
186
- _this.optionConfig = (_props_optionConfig = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _props_optionConfig !== void 0 ? _props_optionConfig : 'datasource';
184
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : []);
185
+ _this.optionConfig = (_ref1 = props === null || props === void 0 ? void 0 : props.optionConfig) !== null && _ref1 !== void 0 ? _ref1 : 'datasource';
187
186
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
188
187
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
189
- var _props_caption;
190
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
191
- var _props_placeholder;
192
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
193
- var _props_defaultValue;
194
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
195
- var _props_openMultistageFilling;
196
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
197
- var _props_showSelectedDetail;
198
- _this.showSelectedDetail = (_props_showSelectedDetail = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _props_showSelectedDetail !== void 0 ? _props_showSelectedDetail : false;
188
+ _this.caption = (_ref2 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref2 !== void 0 ? _ref2 : SelectRelationControl.controlName;
189
+ _this.placeholder = (_ref3 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref3 !== void 0 ? _ref3 : getLocaleText('CMD.pleaseSelect', null, '请选择');
190
+ _this.defaultValue = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref4 !== void 0 ? _ref4 : '';
191
+ _this.openMultistageFilling = (_ref5 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref5 !== void 0 ? _ref5 : false;
192
+ _this.showSelectedDetail = (_ref6 = props === null || props === void 0 ? void 0 : props.showSelectedDetail) !== null && _ref6 !== void 0 ? _ref6 : false;
199
193
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
200
194
  _this.multistageFilling = [];
201
195
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
@@ -204,19 +198,13 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
204
198
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
205
199
  });
206
200
  }
207
- var _props_canViewForm;
208
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
209
- var _props_viewFormModelType;
210
- _this.viewFormModelType = (_props_viewFormModelType = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _props_viewFormModelType !== void 0 ? _props_viewFormModelType : 'window';
201
+ _this.canViewForm = (_ref7 = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _ref7 !== void 0 ? _ref7 : false;
202
+ _this.viewFormModelType = (_ref8 = props === null || props === void 0 ? void 0 : props.viewFormModelType) !== null && _ref8 !== void 0 ? _ref8 : 'window';
211
203
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
212
- var _props_optionDisplayConfig;
213
- _this.optionDisplayConfig = (_props_optionDisplayConfig = props === null || props === void 0 ? void 0 : props.optionDisplayConfig) !== null && _props_optionDisplayConfig !== void 0 ? _props_optionDisplayConfig : [];
214
- var _props_canSearch;
215
- _this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : false;
216
- var _props_aiContentSearch;
217
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
218
- var _props_defaultShowOptions;
219
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
204
+ _this.optionDisplayConfig = (_ref9 = props === null || props === void 0 ? void 0 : props.optionDisplayConfig) !== null && _ref9 !== void 0 ? _ref9 : [];
205
+ _this.canSearch = (_ref10 = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _ref10 !== void 0 ? _ref10 : false;
206
+ _this.aiContentSearch = (_ref11 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref11 !== void 0 ? _ref11 : false;
207
+ _this.defaultShowOptions = (_ref12 = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _ref12 !== void 0 ? _ref12 : false;
220
208
  return _this;
221
209
  }
222
210
  return SelectRelationProperty;
@@ -138,6 +138,7 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
138
138
  function TextareaProperty(props) {
139
139
  _class_call_check(this, TextareaProperty);
140
140
  var _this;
141
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
141
142
  _this = _call_super(this, TextareaProperty, [
142
143
  props
143
144
  ]), /**
@@ -194,26 +195,18 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
194
195
  * @defaultValue 1
195
196
  * @public
196
197
  */ _define_property(_this, "lineEllipsis", void 0);
197
- var _props_maxLength;
198
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
199
- var _props_minLength;
200
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
201
- var _props_defaultValue;
202
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
203
- var _props_caption;
204
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
205
- var _props_placeholder;
206
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
198
+ _this.maxLength = (_ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _ref !== void 0 ? _ref : 50000;
199
+ _this.minLength = (_ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && _ref1 !== void 0 ? _ref1 : 0;
200
+ _this.defaultValue = (_ref2 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref2 !== void 0 ? _ref2 : '';
201
+ _this.caption = (_ref3 = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref3 !== void 0 ? _ref3 : TextareaControl.controlName;
202
+ _this.placeholder = (_ref4 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref4 !== void 0 ? _ref4 : getLocaleText('CMD.pleaseEnter', null, '请输入');
207
203
  // this.lineEllipsis = props?.lineEllipsis ?? 4
208
204
  // this.autoSize = props?.autoSize ?? false
209
205
  // this.maxRows = props?.maxRows
210
206
  _this.rowHeightSetting = new MetaRowHeight(props === null || props === void 0 ? void 0 : props.rowHeightSetting);
211
- var _props_aiContentSearch;
212
- _this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
213
- var _props_aiGeneration;
214
- _this.aiGeneration = (_props_aiGeneration = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _props_aiGeneration !== void 0 ? _props_aiGeneration : false;
215
- var _props_aiOptions;
216
- _this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
207
+ _this.aiContentSearch = (_ref5 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref5 !== void 0 ? _ref5 : false;
208
+ _this.aiGeneration = (_ref6 = props === null || props === void 0 ? void 0 : props.aiGeneration) !== null && _ref6 !== void 0 ? _ref6 : false;
209
+ _this.aiOptions = initAiOptions((_ref7 = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _ref7 !== void 0 ? _ref7 : [
217
210
  {
218
211
  label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
219
212
  cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
@@ -230,10 +223,8 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
230
223
  checked: false
231
224
  }
232
225
  ]);
233
- var _props_autoHeight;
234
- _this.autoHeight = (_props_autoHeight = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _props_autoHeight !== void 0 ? _props_autoHeight : false;
235
- var _props_lineEllipsis;
236
- _this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
226
+ _this.autoHeight = (_ref8 = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _ref8 !== void 0 ? _ref8 : false;
227
+ _this.lineEllipsis = (_ref9 = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _ref9 !== void 0 ? _ref9 : 1;
237
228
  return _this;
238
229
  }
239
230
  return TextareaProperty;
@@ -141,7 +141,8 @@ var TreeControl = /*#__PURE__*/ function(DesignerFormControl) {
141
141
  }(DesignerFormControl);
142
142
  _define_property(TreeControl, "controlEventKeys", [
143
143
  'on_change',
144
- 'on_click'
144
+ 'on_click',
145
+ 'on_tree_search'
145
146
  ]);
146
147
  _define_property(TreeControl, "controlFieldType", FieldTypes.ARRAY);
147
148
  _define_property(TreeControl, "setting", [
@@ -144,6 +144,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
144
144
  function TreeProperty(props) {
145
145
  _class_call_check(this, TreeProperty);
146
146
  var _this;
147
+ var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
147
148
  var _props_multistageFilling;
148
149
  _this = _call_super(this, TreeProperty, [
149
150
  props
@@ -154,48 +155,30 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
154
155
  ), _define_property(_this, "defaultCollapse", void 0), _define_property(_this, "defaultCollapseLevel", void 0), _define_property(_this, "optionConfig", 'datasource' // 选项配置 datasource
155
156
  ), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
156
157
  );
157
- var _props_caption;
158
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TreeControl.controlName;
159
- var _props_placeholder;
160
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
161
- var _props_multiple;
162
- _this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
163
- var _props_canSearch;
164
- _this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : true;
165
- var _props_levelType;
166
- _this.levelType = (_props_levelType = props === null || props === void 0 ? void 0 : props.levelType) !== null && _props_levelType !== void 0 ? _props_levelType : 'all';
167
- var _props_optionalLevel;
168
- _this.optionalLevel = (_props_optionalLevel = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _props_optionalLevel !== void 0 ? _props_optionalLevel : 1;
169
- var _props_containsSubNode;
170
- _this.containsSubNode = (_props_containsSubNode = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _props_containsSubNode !== void 0 ? _props_containsSubNode : false;
171
- var _props_isShowFilterItem;
172
- _this.isShowFilterItem = (_props_isShowFilterItem = props === null || props === void 0 ? void 0 : props.isShowFilterItem) !== null && _props_isShowFilterItem !== void 0 ? _props_isShowFilterItem : false;
173
- var _props_isShowIncludeSub;
174
- _this.isShowIncludeSub = (_props_isShowIncludeSub = props === null || props === void 0 ? void 0 : props.isShowIncludeSub) !== null && _props_isShowIncludeSub !== void 0 ? _props_isShowIncludeSub : false;
175
- var _props_isDefaultCheckSub;
176
- _this.isDefaultCheckSub = (_props_isDefaultCheckSub = props === null || props === void 0 ? void 0 : props.isDefaultCheckSub) !== null && _props_isDefaultCheckSub !== void 0 ? _props_isDefaultCheckSub : false;
177
- var _props_defaultCollapse;
178
- _this.defaultCollapse = (_props_defaultCollapse = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _props_defaultCollapse !== void 0 ? _props_defaultCollapse : 'all';
179
- var _props_defaultCollapseLevel;
180
- _this.defaultCollapseLevel = (_props_defaultCollapseLevel = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _props_defaultCollapseLevel !== void 0 ? _props_defaultCollapseLevel : 1;
181
- var _props_datasourceBind;
182
- _this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
158
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TreeControl.controlName;
159
+ _this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseSelect', null, '请选择');
160
+ _this.multiple = (_ref2 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref2 !== void 0 ? _ref2 : false;
161
+ _this.canSearch = (_ref3 = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _ref3 !== void 0 ? _ref3 : true;
162
+ _this.levelType = (_ref4 = props === null || props === void 0 ? void 0 : props.levelType) !== null && _ref4 !== void 0 ? _ref4 : 'all';
163
+ _this.optionalLevel = (_ref5 = props === null || props === void 0 ? void 0 : props.optionalLevel) !== null && _ref5 !== void 0 ? _ref5 : 1;
164
+ _this.containsSubNode = (_ref6 = props === null || props === void 0 ? void 0 : props.containsSubNode) !== null && _ref6 !== void 0 ? _ref6 : false;
165
+ _this.isShowFilterItem = (_ref7 = props === null || props === void 0 ? void 0 : props.isShowFilterItem) !== null && _ref7 !== void 0 ? _ref7 : false;
166
+ _this.isShowIncludeSub = (_ref8 = props === null || props === void 0 ? void 0 : props.isShowIncludeSub) !== null && _ref8 !== void 0 ? _ref8 : false;
167
+ _this.isDefaultCheckSub = (_ref9 = props === null || props === void 0 ? void 0 : props.isDefaultCheckSub) !== null && _ref9 !== void 0 ? _ref9 : false;
168
+ _this.defaultCollapse = (_ref10 = props === null || props === void 0 ? void 0 : props.defaultCollapse) !== null && _ref10 !== void 0 ? _ref10 : 'all';
169
+ _this.defaultCollapseLevel = (_ref11 = props === null || props === void 0 ? void 0 : props.defaultCollapseLevel) !== null && _ref11 !== void 0 ? _ref11 : 1;
170
+ _this.datasourceBind = new TreeDataSourceBind((_ref12 = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _ref12 !== void 0 ? _ref12 : {
183
171
  attributes: TreeControl.controlCustomAttributes
184
172
  });
185
- var _props_filterItemDatasourceBind;
186
- _this.filterItemDatasourceBind = new TreeDataSourceBind((_props_filterItemDatasourceBind = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _props_filterItemDatasourceBind !== void 0 ? _props_filterItemDatasourceBind : {
173
+ _this.filterItemDatasourceBind = new TreeDataSourceBind((_ref13 = props === null || props === void 0 ? void 0 : props.filterItemDatasourceBind) !== null && _ref13 !== void 0 ? _ref13 : {
187
174
  attributes: TreeControl.controlCustomAttributes
188
175
  });
189
- var _props_openMultistageFilling;
190
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
191
- var _props_defaultDisplay;
192
- _this.defaultDisplay = (_props_defaultDisplay = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _props_defaultDisplay !== void 0 ? _props_defaultDisplay : false;
193
- var _props_multistageFilling_map;
194
- _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
176
+ _this.openMultistageFilling = (_ref14 = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _ref14 !== void 0 ? _ref14 : false;
177
+ _this.defaultDisplay = (_ref15 = props === null || props === void 0 ? void 0 : props.defaultDisplay) !== null && _ref15 !== void 0 ? _ref15 : false;
178
+ _this.multistageFilling = (_ref16 = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
195
179
  return new MultistageFillingItem(item);
196
- })) !== null && _props_multistageFilling_map !== void 0 ? _props_multistageFilling_map : [];
197
- var _props_defaultValue;
198
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
180
+ })) !== null && _ref16 !== void 0 ? _ref16 : [];
181
+ _this.defaultValue = (_ref17 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref17 !== void 0 ? _ref17 : [];
199
182
  return _this;
200
183
  }
201
184
  return TreeProperty;
@@ -110,19 +110,15 @@ var VueFormItemProperty = /*#__PURE__*/ function(BaseControlProperty) {
110
110
  function VueFormItemProperty(props) {
111
111
  _class_call_check(this, VueFormItemProperty);
112
112
  var _this;
113
+ var _ref, _ref1, _ref2, _ref3, _ref4;
113
114
  _this = _call_super(this, VueFormItemProperty, [
114
115
  props
115
116
  ]), _define_property(_this, "controlExportName", void 0), _define_property(_this, "permissions", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "isInlineEdit", void 0);
116
- var _props_caption;
117
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : VueFormItemControl.controlName;
118
- var _props_defaultValue;
119
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : undefined;
120
- var _props_controlExportName;
121
- _this.controlExportName = (_props_controlExportName = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _props_controlExportName !== void 0 ? _props_controlExportName : '';
122
- var _props_permissions;
123
- _this.permissions = (_props_permissions = props === null || props === void 0 ? void 0 : props.permissions) !== null && _props_permissions !== void 0 ? _props_permissions : [];
124
- var _props_isInlineEdit;
125
- _this.isInlineEdit = (_props_isInlineEdit = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _props_isInlineEdit !== void 0 ? _props_isInlineEdit : false;
117
+ _this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : VueFormItemControl.controlName;
118
+ _this.defaultValue = (_ref1 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref1 !== void 0 ? _ref1 : undefined;
119
+ _this.controlExportName = (_ref2 = props === null || props === void 0 ? void 0 : props.controlExportName) !== null && _ref2 !== void 0 ? _ref2 : '';
120
+ _this.permissions = (_ref3 = props === null || props === void 0 ? void 0 : props.permissions) !== null && _ref3 !== void 0 ? _ref3 : [];
121
+ _this.isInlineEdit = (_ref4 = props === null || props === void 0 ? void 0 : props.isInlineEdit) !== null && _ref4 !== void 0 ? _ref4 : false;
126
122
  return _this;
127
123
  }
128
124
  return VueFormItemProperty;