@byteluck-fe/model-driven-controls 3.0.0-beta.3 → 3.0.0-beta.4

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.
@@ -137,18 +137,18 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
137
137
  var _this;
138
138
  _this = _call_super(this, RichTextProperty, [
139
139
  props
140
- ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), /**
141
- * ai 显示内容搜索 false | true
142
- * @defaultValue false
143
- * @public
144
- */ _define_property(_this, "aiContentSearch", void 0), /**
145
- * ai 生成 false | true
146
- * @defaultValue false
147
- * @public
148
- */ _define_property(_this, "aiGeneration", void 0), /**
149
- * ai 生成对应的总结、丰富、翻译等options
150
- * @defaultValue []
151
- * @public
140
+ ]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), /**
141
+ * ai 显示内容搜索 false | true
142
+ * @defaultValue false
143
+ * @public
144
+ */ _define_property(_this, "aiContentSearch", void 0), /**
145
+ * ai 生成 false | true
146
+ * @defaultValue false
147
+ * @public
148
+ */ _define_property(_this, "aiGeneration", void 0), /**
149
+ * ai 生成对应的总结、丰富、翻译等options
150
+ * @defaultValue []
151
+ * @public
152
152
  */ _define_property(_this, "aiOptions", void 0);
153
153
  var _props_maxLength;
154
154
  _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
@@ -168,17 +168,17 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
168
168
  _this.aiOptions = initAiOptions((_props_aiOptions = props === null || props === void 0 ? void 0 : props.aiOptions) !== null && _props_aiOptions !== void 0 ? _props_aiOptions : [
169
169
  {
170
170
  label: getLocaleText('CMD.aiOptionOneLabel', null, '总结'),
171
- cueWord: getLocaleText('CMD.aiOptionOneCurword', null, '帮我总结一下后面的内容,但是不要随意发挥:'),
171
+ cueWord: getLocaleText('CMD.aiOptionOneCurword', null, 'SUMM'),
172
172
  checked: true
173
173
  },
174
174
  {
175
175
  label: getLocaleText('CMD.aiOptionTwoLabel', null, '丰富'),
176
- cueWord: getLocaleText('CMD.aiOptionTwoCurword', null, '帮我丰富一下后面的内容:'),
176
+ cueWord: getLocaleText('CMD.aiOptionTwoCurword', null, 'RICH'),
177
177
  checked: false
178
178
  },
179
179
  {
180
180
  label: getLocaleText('CMD.aiOptionThreeLabel', null, '翻译'),
181
- cueWord: getLocaleText('CMD.aiOptionThreeCurword', null, '帮我翻译一下后面的内容:'),
181
+ cueWord: getLocaleText('CMD.aiOptionThreeCurword', null, 'TRANS'),
182
182
  checked: false
183
183
  }
184
184
  ]);
@@ -129,9 +129,9 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
129
129
  }
130
130
  return TextareaControlPropertyRuntimeRules;
131
131
  }(BaseControlPropertyRuntimeRules);
132
- /**
133
- * Textarea 多行文本
134
- * @public
132
+ /**
133
+ * Textarea 多行文本
134
+ * @public
135
135
  */ var TextareaProperty = /*#__PURE__*/ function(BaseControlProperty) {
136
136
  "use strict";
137
137
  _inherits(TextareaProperty, BaseControlProperty);
@@ -140,28 +140,28 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
140
140
  var _this;
141
141
  _this = _call_super(this, TextareaProperty, [
142
142
  props
143
- ]), /**
144
- * 最大长度
145
- * @defaultValue 50000
146
- * @public
147
- */ _define_property(_this, "maxLength", void 0), /**
148
- * 最小长度
149
- * @defaultValue 0
150
- * @public
151
- */ _define_property(_this, "minLength", void 0), /**
152
- * 默认值
153
- * @defaultValue ''
154
- * @public
143
+ ]), /**
144
+ * 最大长度
145
+ * @defaultValue 50000
146
+ * @public
147
+ */ _define_property(_this, "maxLength", void 0), /**
148
+ * 最小长度
149
+ * @defaultValue 0
150
+ * @public
151
+ */ _define_property(_this, "minLength", void 0), /**
152
+ * 默认值
153
+ * @defaultValue ''
154
+ * @public
155
155
  */ _define_property(_this, "defaultValue", void 0), // /**
156
156
  // * 行数设置,开启自适应高度开启时,为最小行数
157
157
  // * @defaultValue 4
158
158
  // * @public
159
159
  // */
160
160
  // public lineEllipsis: number
161
- /**
162
- * 行高设置 分为pc 和 移动 默认值为 RowHeight
163
- * @defaultValue MetaRowHeight
164
- * @public
161
+ /**
162
+ * 行高设置 分为pc 和 移动 默认值为 RowHeight
163
+ * @defaultValue MetaRowHeight
164
+ * @public
165
165
  */ _define_property(_this, "rowHeightSetting", void 0), // /**
166
166
  // * 自适应内容高度
167
167
  // * @defaultValue false
@@ -174,18 +174,18 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
174
174
  // * @public
175
175
  // */
176
176
  // public maxRows?: Number
177
- /**
178
- * ai 显示内容搜索 false | true
179
- * @defaultValue false
180
- * @public
181
- */ _define_property(_this, "aiContentSearch", void 0), /**
182
- * ai 生成 false | true
183
- * @defaultValue false
184
- * @public
185
- */ _define_property(_this, "aiGeneration", void 0), /**
186
- * ai 生成options
187
- * @defaultValue []
188
- * @public
177
+ /**
178
+ * ai 显示内容搜索 false | true
179
+ * @defaultValue false
180
+ * @public
181
+ */ _define_property(_this, "aiContentSearch", void 0), /**
182
+ * ai 生成 false | true
183
+ * @defaultValue false
184
+ * @public
185
+ */ _define_property(_this, "aiGeneration", void 0), /**
186
+ * ai 生成options
187
+ * @defaultValue []
188
+ * @public
189
189
  */ _define_property(_this, "aiOptions", void 0);
190
190
  var _props_maxLength;
191
191
  _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;