@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
@@ -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
@@ -121,9 +122,12 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
121
122
  * 选择表单
122
123
  * @defaultValue 空
123
124
  * @public
124
- */ _define_property(_this, "formBind", void 0);
125
- var _props_options;
126
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
125
+ */ _define_property(_this, "formBind", void 0), /**
126
+ * ai 显示内容搜索 false | true
127
+ * @defaultValue false
128
+ * @public
129
+ */ _define_property(_this, "aiContentSearch", void 0);
130
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
127
131
  {
128
132
  label: getLocaleText('CMD.optionOne', null, '选项一'),
129
133
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -137,21 +141,14 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
137
141
  value: getLocaleText('CMD.optionThird', null, '选项三')
138
142
  }
139
143
  ]);
140
- var _props_defaultShowOptions;
141
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
142
- var _props_optionConfig;
143
- _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';
144
146
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
145
- var _props_caption;
146
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectControl.controlName;
147
- var _props_placeholder;
148
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
149
- var _props_defaultValue;
150
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
151
- var _props_allowCopyOptions;
152
- _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
153
- var _props_openMultistageFilling;
154
- _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;
155
152
  _this.multistageFilling = [];
156
153
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
157
154
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -159,11 +156,10 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
159
156
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
160
157
  });
161
158
  }
162
- var _props_canViewForm;
163
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
164
- var _props_viewFormModelType;
165
- _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';
166
161
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
162
+ _this.aiContentSearch = (_ref10 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref10 !== void 0 ? _ref10 : false;
167
163
  return _this;
168
164
  }
169
165
  return SelectProperty;
@@ -163,6 +163,10 @@ _define_property(SelectMultipleControl, "setting", [
163
163
  COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
164
164
  ]
165
165
  },
166
+ {
167
+ key: 'ai-content-search',
168
+ visible: true
169
+ },
166
170
  {
167
171
  key: 'options-setting',
168
172
  visible: true,
@@ -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
@@ -136,9 +137,12 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
136
137
  * 选择表单
137
138
  * @defaultValue 空
138
139
  * @public
139
- */ _define_property(_this, "formBind", void 0);
140
- var _props_options;
141
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [
140
+ */ _define_property(_this, "formBind", void 0), /**
141
+ * ai 显示内容搜索 false | true
142
+ * @defaultValue false
143
+ * @public
144
+ */ _define_property(_this, "aiContentSearch", void 0);
145
+ _this.options = initOptions((_ref = props === null || props === void 0 ? void 0 : props.options) !== null && _ref !== void 0 ? _ref : [
142
146
  {
143
147
  label: getLocaleText('CMD.optionOne', null, '选项一'),
144
148
  value: getLocaleText('CMD.optionOne', null, '选项一')
@@ -152,19 +156,13 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
152
156
  value: getLocaleText('CMD.optionThird', null, '选项三')
153
157
  }
154
158
  ]);
155
- var _props_defaultShowOptions;
156
- _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
157
- var _props_optionConfig;
158
- _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';
159
161
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
160
- var _props_caption;
161
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectMultipleControl.controlName;
162
- var _props_placeholder;
163
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
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_openMultistageFilling;
167
- _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;
168
166
  _this.multistageFilling = [];
169
167
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
170
168
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -172,11 +170,10 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
172
170
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
173
171
  });
174
172
  }
175
- var _props_canViewForm;
176
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
177
- var _props_viewFormModelType;
178
- _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';
179
175
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
176
+ _this.aiContentSearch = (_ref9 = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _ref9 !== void 0 ? _ref9 : false;
180
177
  return _this;
181
178
  }
182
179
  return SelectMultipleProperty;
@@ -198,6 +198,10 @@ _define_property(SelectRelationControl, "setting", [
198
198
  COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS
199
199
  ]
200
200
  },
201
+ {
202
+ key: 'ai-content-search',
203
+ visible: true
204
+ },
201
205
  {
202
206
  key: 'relation-setting',
203
207
  visible: true,
@@ -120,78 +120,76 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
120
120
  }
121
121
  return SelectRelationControlPropertyRules;
122
122
  }(OptionAndDataSourcePropertyRules);
123
- /**
124
- * SelectRelation 关联单选
125
- * @public
123
+ /**
124
+ * SelectRelation 关联单选
125
+ * @public
126
126
  */ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
127
127
  "use strict";
128
128
  _inherits(SelectRelationProperty, BaseControlProperty);
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
- * 自定义选项
136
- * @defaultValue []
137
- * @public
138
- */ _define_property(_this, "options", void 0), /**
139
- * 选项配置
140
- * @defaultValue 'datasource'
141
- * @public
135
+ ]), /**
136
+ * 自定义选项
137
+ * @defaultValue []
138
+ * @public
139
+ */ _define_property(_this, "options", void 0), /**
140
+ * 选项配置
141
+ * @defaultValue 'datasource'
142
+ * @public
142
143
  * */ _define_property(_this, "optionConfig", void 0 // 选项配置 custom datasource
143
- ), /**
144
- * 默认值
145
- * @defaultValue ''
146
- * @public
147
- */ _define_property(_this, "defaultValue", void 0), /**
148
- * 绑定列表页
149
- * @public
150
- */ _define_property(_this, "listPageBind", void 0), /**
151
- * 关联数据源
152
- * @public
153
- */ _define_property(_this, "datasourceBind", void 0), /**
154
- * 数据填充
155
- * @defaultValue []
156
- * @public
157
- */ _define_property(_this, "multistageFilling", void 0), /**
158
- * 表单打开方式
159
- * @defaultValue []
160
- * @public
161
- */ _define_property(_this, "viewFormModelType", void 0), /**
162
- * 查看详情
163
- * @defaultValue false
164
- * @public
144
+ ), /**
145
+ * 默认值
146
+ * @defaultValue ''
147
+ * @public
148
+ */ _define_property(_this, "defaultValue", void 0), /**
149
+ * 绑定列表页
150
+ * @public
151
+ */ _define_property(_this, "listPageBind", void 0), /**
152
+ * 关联数据源
153
+ * @public
154
+ */ _define_property(_this, "datasourceBind", void 0), /**
155
+ * 数据填充
156
+ * @defaultValue []
157
+ * @public
158
+ */ _define_property(_this, "multistageFilling", void 0), /**
159
+ * 表单打开方式
160
+ * @defaultValue []
161
+ * @public
162
+ */ _define_property(_this, "viewFormModelType", void 0), /**
163
+ * 查看详情
164
+ * @defaultValue false
165
+ * @public
165
166
  */ _define_property(_this, "canViewForm", void 0 //https://www.tapd.cn/49877295/prong/stories/view/1149877295001003559
166
- ), /**
167
- * 选择表单
168
- * @defaultValue 空
169
- * @public
170
- */ _define_property(_this, "formBind", void 0), /**
171
- * 数据填充-查看/编辑页面生效
172
- * @defaultValue false
173
- * @public
167
+ ), /**
168
+ * 选择表单
169
+ * @defaultValue 空
170
+ * @public
171
+ */ _define_property(_this, "formBind", void 0), /**
172
+ * 数据填充-查看/编辑页面生效
173
+ * @defaultValue false
174
+ * @public
174
175
  */ _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
175
176
  ), // 展示已选明细
176
177
  _define_property(_this, "showSelectedDetail", void 0), // 展示已选内容配置字段
177
- _define_property(_this, "selectedContentConfig", void 0), _define_property(_this, "optionDisplayConfig", void 0), _define_property(_this, "canSearch", void 0), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
178
+ _define_property(_this, "selectedContentConfig", void 0), _define_property(_this, "optionDisplayConfig", void 0), _define_property(_this, "canSearch", void 0), /**
179
+ * ai 显示内容搜索 false | true
180
+ * @defaultValue false
181
+ * @public
182
+ */ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
178
183
  );
179
- var _props_options;
180
- _this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
181
- var _props_optionConfig;
182
- _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';
183
186
  _this.listPageBind = new ListBind(props === null || props === void 0 ? void 0 : props.listPageBind);
184
187
  _this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
185
- var _props_caption;
186
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SelectRelationControl.controlName;
187
- var _props_placeholder;
188
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseSelect', null, '请选择');
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_openMultistageFilling;
192
- _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
193
- var _props_showSelectedDetail;
194
- _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;
195
193
  _this.selectedContentConfig = new SelectedContentConfig(props === null || props === void 0 ? void 0 : props.selectedContentConfig);
196
194
  _this.multistageFilling = [];
197
195
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
@@ -200,17 +198,13 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
200
198
  (_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
201
199
  });
202
200
  }
203
- var _props_canViewForm;
204
- _this.canViewForm = (_props_canViewForm = props === null || props === void 0 ? void 0 : props.canViewForm) !== null && _props_canViewForm !== void 0 ? _props_canViewForm : false;
205
- var _props_viewFormModelType;
206
- _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';
207
203
  _this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
208
- var _props_optionDisplayConfig;
209
- _this.optionDisplayConfig = (_props_optionDisplayConfig = props === null || props === void 0 ? void 0 : props.optionDisplayConfig) !== null && _props_optionDisplayConfig !== void 0 ? _props_optionDisplayConfig : [];
210
- var _props_canSearch;
211
- _this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : false;
212
- var _props_defaultShowOptions;
213
- _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;
214
208
  return _this;
215
209
  }
216
210
  return SelectRelationProperty;
@@ -168,6 +168,22 @@ _define_property(TextareaControl, "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, MetaRowHeight, BaseControlPropertyRuntimeRules } from '@byteluck-fe/model-driven-core';
73
+ import { BaseControlProperty, BaseControlPropertyRules, MetaRowHeight, BaseControlPropertyRuntimeRules, initAiOptions } from '@byteluck-fe/model-driven-core';
74
74
  import TextareaControl from './designer';
75
75
  import { getLocaleText } from '@byteluck-fe/locale-message';
76
76
  var TextareaControlPropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
@@ -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
  ]), /**
@@ -162,21 +163,68 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
162
163
  * 行高设置 分为pc 和 移动 默认值为 RowHeight
163
164
  * @defaultValue MetaRowHeight
164
165
  * @public
165
- */ _define_property(_this, "rowHeightSetting", void 0);
166
- var _props_maxLength;
167
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
168
- var _props_minLength;
169
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : 0;
170
- var _props_defaultValue;
171
- _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : '';
172
- var _props_caption;
173
- _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : TextareaControl.controlName;
174
- var _props_placeholder;
175
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : getLocaleText('CMD.pleaseEnter', null, '请输入');
166
+ */ _define_property(_this, "rowHeightSetting", void 0), // /**
167
+ // * 自适应内容高度
168
+ // * @defaultValue false
169
+ // * @public
170
+ // */
171
+ // public autoSize: boolean
172
+ // /**
173
+ // * 最大适应行数
174
+ // * @defaultValue 无默认值
175
+ // * @public
176
+ // */
177
+ // public maxRows?: Number
178
+ /**
179
+ * ai 显示内容搜索 false | true
180
+ * @defaultValue false
181
+ * @public
182
+ */ _define_property(_this, "aiContentSearch", void 0), /**
183
+ * ai 生成 false | true
184
+ * @defaultValue false
185
+ * @public
186
+ */ _define_property(_this, "aiGeneration", void 0), /**
187
+ * ai 生成options
188
+ * @defaultValue []
189
+ * @public
190
+ */ _define_property(_this, "aiOptions", void 0), /**
191
+ * 在明细子表中自动高度
192
+ * @defaultValue false
193
+ */ _define_property(_this, "autoHeight", void 0), /**
194
+ * 在明细子表中行数设置
195
+ * @defaultValue 1
196
+ * @public
197
+ */ _define_property(_this, "lineEllipsis", void 0);
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, '请输入');
176
203
  // this.lineEllipsis = props?.lineEllipsis ?? 4
177
204
  // this.autoSize = props?.autoSize ?? false
178
205
  // this.maxRows = props?.maxRows
179
206
  _this.rowHeightSetting = new MetaRowHeight(props === null || props === void 0 ? void 0 : props.rowHeightSetting);
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 : [
210
+ {
211
+ label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
212
+ cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
213
+ checked: true
214
+ },
215
+ {
216
+ label: getLocaleText('CMD.aiOptionTwoLabel', null, '丰富'),
217
+ cueWord: getLocaleText('CMD.aiOptionTwoCurword', null, 'RICH'),
218
+ checked: false
219
+ },
220
+ {
221
+ label: getLocaleText('CMD.aiOptionThreeLabel', null, '翻译'),
222
+ cueWord: getLocaleText('CMD.aiOptionThreeCurword', null, 'TRANS'),
223
+ checked: false
224
+ }
225
+ ]);
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;
180
228
  return _this;
181
229
  }
182
230
  return TextareaProperty;
@@ -125,12 +125,12 @@ var TreeControl = /*#__PURE__*/ function(DesignerFormControl) {
125
125
  return [
126
126
  {
127
127
  key: 'displayBoList',
128
- name: getLocaleText('CMD.07c21751967128276'),
128
+ name: getLocaleText('CMD.6cb51751712162323'),
129
129
  required: true
130
130
  },
131
131
  {
132
132
  key: 'parentField',
133
- name: getLocaleText('CMD.3e751751967125288'),
133
+ name: getLocaleText('CMD.33ee1751712159752'),
134
134
  required: true
135
135
  }
136
136
  ];
@@ -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;
@@ -110,19 +110,15 @@ var VuePageProperty = /*#__PURE__*/ function(BaseControlProperty) {
110
110
  function VuePageProperty(props) {
111
111
  _class_call_check(this, VuePageProperty);
112
112
  var _this;
113
+ var _ref, _ref1, _ref2, _ref3, _ref4;
113
114
  _this = _call_super(this, VuePageProperty, [
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 : VuePageControl.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 : VuePageControl.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 VuePageProperty;