@byteluck-fe/model-driven-controls 6.1.0-1-beta.8 → 6.1.0-2-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.
- package/dist/esm/baseControls/OperationButton/property.js +4 -1
- package/dist/esm/formControls/Department2/designer.js +2 -1
- package/dist/esm/formControls/Department2/property.js +3 -0
- package/dist/esm/formControls/Employee2/designer.js +2 -1
- package/dist/esm/formControls/Employee2/property.js +3 -0
- package/dist/esm/formControls/Input/designer.js +8 -0
- package/dist/esm/formControls/Input/property.js +42 -31
- package/dist/esm/formControls/RichText/designer.js +8 -0
- package/dist/esm/formControls/RichText/property.js +24 -13
- package/dist/esm/formControls/SelectRelation/designer.js +2 -1
- package/dist/esm/formControls/SelectRelation/property.js +4 -1
- package/dist/esm/formControls/Textarea/designer.js +8 -0
- package/dist/esm/formControls/Textarea/property.js +43 -32
- package/dist/esm/listControls/SubTable/designer.js +2 -1
- package/dist/esm/listControls/SubTable/property.js +4 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/baseControls/OperationButton/property.d.ts +1 -0
- package/dist/types/formControls/Department2/property.d.ts +1 -0
- package/dist/types/formControls/Employee2/property.d.ts +1 -0
- package/dist/types/formControls/Input/property.d.ts +11 -0
- package/dist/types/formControls/RichText/property.d.ts +11 -0
- package/dist/types/formControls/SelectRelation/property.d.ts +1 -0
- package/dist/types/formControls/Textarea/property.d.ts +11 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/package.json +4 -4
|
@@ -103,7 +103,8 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
103
103
|
var _this;
|
|
104
104
|
_this = _call_super(this, OperationButtonProperty, [
|
|
105
105
|
props
|
|
106
|
-
]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0)
|
|
106
|
+
]), _define_property(_this, "content", void 0), _define_property(_this, "code", void 0), _define_property(_this, "command", void 0), _define_property(_this, "color", void 0), _define_property(_this, "icon", void 0), _define_property(_this, "formKey", void 0), _define_property(_this, "openType", void 0), _define_property(_this, "needConfirm", void 0), _define_property(_this, "confirmMessage", void 0), _define_property(_this, "options", void 0), _define_property(_this, "defaultState", void 0), _define_property(_this, "priorityProcess", void 0), _define_property(_this, "isLoading", void 0), // 是否同步删除流程数据
|
|
107
|
+
_define_property(_this, "isSyncDelete", void 0);
|
|
107
108
|
var _props_content;
|
|
108
109
|
_this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : getLocaleText('CMD.button', null, '按钮');
|
|
109
110
|
_this.code = props === null || props === void 0 ? void 0 : props.code;
|
|
@@ -122,6 +123,8 @@ var OperationButtonProperty = /*#__PURE__*/ function(Property) {
|
|
|
122
123
|
_this.priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess;
|
|
123
124
|
var _props_isLoading;
|
|
124
125
|
_this.isLoading = (_props_isLoading = props === null || props === void 0 ? void 0 : props.isLoading) !== null && _props_isLoading !== void 0 ? _props_isLoading : false;
|
|
126
|
+
var _props_isSyncDelete;
|
|
127
|
+
_this.isSyncDelete = (_props_isSyncDelete = props === null || props === void 0 ? void 0 : props.isSyncDelete) !== null && _props_isSyncDelete !== void 0 ? _props_isSyncDelete : false;
|
|
125
128
|
return _this;
|
|
126
129
|
}
|
|
127
130
|
return OperationButtonProperty;
|
|
@@ -203,7 +203,8 @@ _define_property(Department2Control, "setting", [
|
|
|
203
203
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
204
204
|
COMMON_SETTING_TYPE.IS_HIDE_CAPTION,
|
|
205
205
|
COMMON_SETTING_TYPE.MULTIPLE,
|
|
206
|
-
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP
|
|
206
|
+
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
207
|
+
COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS
|
|
207
208
|
]
|
|
208
209
|
},
|
|
209
210
|
{
|
|
@@ -152,6 +152,7 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
152
152
|
), _define_property(_this, "businessType", void 0 //业务部门类型 'all' | 'assign'
|
|
153
153
|
), _define_property(_this, "businessScope", void 0 //业务部门范围
|
|
154
154
|
), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
155
|
+
), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
|
|
155
156
|
);
|
|
156
157
|
var _props_showType;
|
|
157
158
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
|
|
@@ -192,6 +193,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
192
193
|
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
193
194
|
});
|
|
194
195
|
}
|
|
196
|
+
var _props_defaultShowOptions;
|
|
197
|
+
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
|
|
195
198
|
return _this;
|
|
196
199
|
}
|
|
197
200
|
return Department2Property;
|
|
@@ -174,7 +174,8 @@ _define_property(Employee2Control, "setting", [
|
|
|
174
174
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
175
175
|
COMMON_SETTING_TYPE.MULTIPLE,
|
|
176
176
|
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
177
|
-
COMMON_SETTING_TYPE.MAIN_DEPT_FLAG
|
|
177
|
+
COMMON_SETTING_TYPE.MAIN_DEPT_FLAG,
|
|
178
|
+
COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS
|
|
178
179
|
]
|
|
179
180
|
},
|
|
180
181
|
{
|
|
@@ -138,6 +138,7 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
138
138
|
), _define_property(_this, "externalScope", void 0 //指定外部组织
|
|
139
139
|
), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
140
140
|
), _define_property(_this, "mainDeptFlag", void 0 //开启查询非主部门人员
|
|
141
|
+
), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
|
|
141
142
|
);
|
|
142
143
|
var _props_showType;
|
|
143
144
|
_this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : 'default';
|
|
@@ -178,6 +179,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
178
179
|
(_this_multistageFilling = _this.multistageFilling) === null || _this_multistageFilling === void 0 ? void 0 : _this_multistageFilling.push(new MultistageFillingItem(item));
|
|
179
180
|
});
|
|
180
181
|
}
|
|
182
|
+
var _props_defaultShowOptions;
|
|
183
|
+
_this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : false;
|
|
181
184
|
return _this;
|
|
182
185
|
}
|
|
183
186
|
return Employee2Property;
|
|
@@ -173,6 +173,14 @@ _define_property(InputControl, "setting", [
|
|
|
173
173
|
key: 'ai-content-search',
|
|
174
174
|
visible: true
|
|
175
175
|
},
|
|
176
|
+
{
|
|
177
|
+
key: 'column-autoHeight',
|
|
178
|
+
visible: false
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
key: 'column-line-ellipsis',
|
|
182
|
+
visible: false
|
|
183
|
+
},
|
|
176
184
|
{
|
|
177
185
|
key: 'max-length',
|
|
178
186
|
visible: true
|
|
@@ -146,9 +146,9 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
|
|
|
146
146
|
}
|
|
147
147
|
return InputControlPropertyRuntimeRules;
|
|
148
148
|
}(BaseControlPropertyRuntimeRules);
|
|
149
|
-
/**
|
|
150
|
-
* Input 单行文本
|
|
151
|
-
* @public
|
|
149
|
+
/**
|
|
150
|
+
* Input 单行文本
|
|
151
|
+
* @public
|
|
152
152
|
*/ var InputProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
153
153
|
"use strict";
|
|
154
154
|
_inherits(InputProperty, BaseControlProperty);
|
|
@@ -157,34 +157,41 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
|
|
|
157
157
|
var _this;
|
|
158
158
|
_this = _call_super(this, InputProperty, [
|
|
159
159
|
props
|
|
160
|
-
]), /**
|
|
161
|
-
* 最大长度
|
|
162
|
-
* @defaultValue 200
|
|
163
|
-
* @public
|
|
164
|
-
*/ _define_property(_this, "maxLength", void 0), /**
|
|
165
|
-
* 最小长度
|
|
166
|
-
* @defaultValue 0
|
|
167
|
-
* @public
|
|
168
|
-
*/ _define_property(_this, "minLength", void 0), /**
|
|
169
|
-
* 正则校验
|
|
170
|
-
* @public
|
|
171
|
-
*/ _define_property(_this, "regularRules", void 0), /**
|
|
172
|
-
* 默认值
|
|
173
|
-
* @defaultValue ''
|
|
174
|
-
* @public
|
|
175
|
-
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
176
|
-
* 开启密码模式
|
|
177
|
-
* @defaultValue false
|
|
178
|
-
* @public
|
|
179
|
-
*/ _define_property(_this, "encrypted", void 0), /**
|
|
180
|
-
* 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
|
|
181
|
-
* @defaultValue ''
|
|
182
|
-
* @public
|
|
183
|
-
*/ _define_property(_this, "encryptedMode", void 0), /**
|
|
184
|
-
* ai 显示内容搜索 false | true
|
|
185
|
-
* @defaultValue false
|
|
186
|
-
* @public
|
|
187
|
-
*/ _define_property(_this, "aiContentSearch", void 0)
|
|
160
|
+
]), /**
|
|
161
|
+
* 最大长度
|
|
162
|
+
* @defaultValue 200
|
|
163
|
+
* @public
|
|
164
|
+
*/ _define_property(_this, "maxLength", void 0), /**
|
|
165
|
+
* 最小长度
|
|
166
|
+
* @defaultValue 0
|
|
167
|
+
* @public
|
|
168
|
+
*/ _define_property(_this, "minLength", void 0), /**
|
|
169
|
+
* 正则校验
|
|
170
|
+
* @public
|
|
171
|
+
*/ _define_property(_this, "regularRules", void 0), /**
|
|
172
|
+
* 默认值
|
|
173
|
+
* @defaultValue ''
|
|
174
|
+
* @public
|
|
175
|
+
*/ _define_property(_this, "defaultValue", void 0), /**
|
|
176
|
+
* 开启密码模式
|
|
177
|
+
* @defaultValue false
|
|
178
|
+
* @public
|
|
179
|
+
*/ _define_property(_this, "encrypted", void 0), /**
|
|
180
|
+
* 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
|
|
181
|
+
* @defaultValue ''
|
|
182
|
+
* @public
|
|
183
|
+
*/ _define_property(_this, "encryptedMode", void 0), /**
|
|
184
|
+
* ai 显示内容搜索 false | true
|
|
185
|
+
* @defaultValue false
|
|
186
|
+
* @public
|
|
187
|
+
*/ _define_property(_this, "aiContentSearch", void 0), /**
|
|
188
|
+
* 在明细子表中自动高度
|
|
189
|
+
* @defaultValue false
|
|
190
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
191
|
+
* 在明细子表中行数设置
|
|
192
|
+
* @defaultValue 1
|
|
193
|
+
* @public
|
|
194
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
188
195
|
var _props_maxLength;
|
|
189
196
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
|
|
190
197
|
var _props_minLength;
|
|
@@ -202,6 +209,10 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
|
|
|
202
209
|
_this.encryptedMode = (_props_encryptedMode = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : '';
|
|
203
210
|
var _props_aiContentSearch;
|
|
204
211
|
_this.aiContentSearch = (_props_aiContentSearch = props === null || props === void 0 ? void 0 : props.aiContentSearch) !== null && _props_aiContentSearch !== void 0 ? _props_aiContentSearch : false;
|
|
212
|
+
var _props_autoHeight;
|
|
213
|
+
_this.autoHeight = (_props_autoHeight = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _props_autoHeight !== void 0 ? _props_autoHeight : false;
|
|
214
|
+
var _props_lineEllipsis;
|
|
215
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
205
216
|
return _this;
|
|
206
217
|
}
|
|
207
218
|
return InputProperty;
|
|
@@ -176,6 +176,14 @@ _define_property(RichTextControl, "setting", [
|
|
|
176
176
|
key: 'ai-generation',
|
|
177
177
|
visible: true
|
|
178
178
|
},
|
|
179
|
+
{
|
|
180
|
+
key: 'column-autoHeight',
|
|
181
|
+
visible: false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
key: 'column-line-ellipsis',
|
|
185
|
+
visible: false
|
|
186
|
+
},
|
|
179
187
|
{
|
|
180
188
|
key: 'max-length',
|
|
181
189
|
visible: true
|
|
@@ -137,19 +137,26 @@ 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
|
|
152
|
-
*/ _define_property(_this, "aiOptions", void 0)
|
|
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
|
+
*/ _define_property(_this, "aiOptions", void 0), /**
|
|
153
|
+
* 在明细子表中自动高度
|
|
154
|
+
* @defaultValue false
|
|
155
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
156
|
+
* 在明细子表中行数设置
|
|
157
|
+
* @defaultValue 1
|
|
158
|
+
* @public
|
|
159
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
153
160
|
var _props_maxLength;
|
|
154
161
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
|
|
155
162
|
var _props_minLength;
|
|
@@ -182,6 +189,10 @@ var RichTextProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
182
189
|
checked: false
|
|
183
190
|
}
|
|
184
191
|
]);
|
|
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
196
|
return _this;
|
|
186
197
|
}
|
|
187
198
|
return RichTextProperty;
|
|
@@ -194,7 +194,8 @@ _define_property(SelectRelationControl, "setting", [
|
|
|
194
194
|
COMMON_SETTING_TYPE.REQUIRED,
|
|
195
195
|
COMMON_SETTING_TYPE.IS_HIDE,
|
|
196
196
|
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
197
|
-
COMMON_SETTING_TYPE.CAN_SEARCH
|
|
197
|
+
COMMON_SETTING_TYPE.CAN_SEARCH,
|
|
198
|
+
COMMON_SETTING_TYPE.DEFAULT_SHOW_OPTIONS
|
|
198
199
|
]
|
|
199
200
|
},
|
|
200
201
|
{
|
|
@@ -178,7 +178,8 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
178
178
|
* ai 显示内容搜索 false | true
|
|
179
179
|
* @defaultValue false
|
|
180
180
|
* @public
|
|
181
|
-
*/ _define_property(_this, "aiContentSearch", void 0)
|
|
181
|
+
*/ _define_property(_this, "aiContentSearch", void 0), _define_property(_this, "defaultShowOptions", void 0 //默认展开选项
|
|
182
|
+
);
|
|
182
183
|
var _props_options;
|
|
183
184
|
_this.options = initOptions((_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : []);
|
|
184
185
|
var _props_optionConfig;
|
|
@@ -214,6 +215,8 @@ var SelectRelationControlPropertyRules = /*#__PURE__*/ function(OptionAndDataSou
|
|
|
214
215
|
_this.canSearch = (_props_canSearch = props === null || props === void 0 ? void 0 : props.canSearch) !== null && _props_canSearch !== void 0 ? _props_canSearch : false;
|
|
215
216
|
var _props_aiContentSearch;
|
|
216
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;
|
|
217
220
|
return _this;
|
|
218
221
|
}
|
|
219
222
|
return SelectRelationProperty;
|
|
@@ -176,6 +176,14 @@ _define_property(TextareaControl, "setting", [
|
|
|
176
176
|
key: 'ai-generation',
|
|
177
177
|
visible: true
|
|
178
178
|
},
|
|
179
|
+
{
|
|
180
|
+
key: 'column-autoHeight',
|
|
181
|
+
visible: false
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
key: 'column-line-ellipsis',
|
|
185
|
+
visible: false
|
|
186
|
+
},
|
|
179
187
|
{
|
|
180
188
|
key: 'max-length',
|
|
181
189
|
visible: true
|
|
@@ -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,19 +174,26 @@ 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
|
|
189
|
-
*/ _define_property(_this, "aiOptions", void 0)
|
|
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
|
+
*/ _define_property(_this, "aiOptions", void 0), /**
|
|
190
|
+
* 在明细子表中自动高度
|
|
191
|
+
* @defaultValue false
|
|
192
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
193
|
+
* 在明细子表中行数设置
|
|
194
|
+
* @defaultValue 1
|
|
195
|
+
* @public
|
|
196
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
190
197
|
var _props_maxLength;
|
|
191
198
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
|
|
192
199
|
var _props_minLength;
|
|
@@ -223,6 +230,10 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
|
|
|
223
230
|
checked: false
|
|
224
231
|
}
|
|
225
232
|
]);
|
|
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
237
|
return _this;
|
|
227
238
|
}
|
|
228
239
|
return TextareaProperty;
|
|
@@ -181,7 +181,8 @@ _define_property(SubTableControl, "setting", [
|
|
|
181
181
|
COMMON_SETTING_TYPE.IS_SHOW_CAPTION_TIP,
|
|
182
182
|
COMMON_SETTING_TYPE.IS_PASTE,
|
|
183
183
|
COMMON_SETTING_TYPE.SERVER_PAGINATION,
|
|
184
|
-
COMMON_SETTING_TYPE.SORTABLE
|
|
184
|
+
COMMON_SETTING_TYPE.SORTABLE,
|
|
185
|
+
COMMON_SETTING_TYPE.SHOW_TABLE_INDEX
|
|
185
186
|
]
|
|
186
187
|
},
|
|
187
188
|
{
|
|
@@ -286,7 +286,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
286
286
|
* @public
|
|
287
287
|
* */ _define_property(_this, "sortable", void 0), /**
|
|
288
288
|
* 排序or筛选字段
|
|
289
|
-
* */ _define_property(_this, "sortKey", void 0)
|
|
289
|
+
* */ _define_property(_this, "sortKey", void 0), // 是否展示序号
|
|
290
|
+
_define_property(_this, "showTableIndex", void 0);
|
|
290
291
|
var _props_caption;
|
|
291
292
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
|
|
292
293
|
var _props_isHideCaption;
|
|
@@ -361,6 +362,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
361
362
|
_this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
|
|
362
363
|
var _props_sortKey;
|
|
363
364
|
_this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
|
|
365
|
+
var _props_showTableIndex;
|
|
366
|
+
_this.showTableIndex = (_props_showTableIndex = props === null || props === void 0 ? void 0 : props.showTableIndex) !== null && _props_showTableIndex !== void 0 ? _props_showTableIndex : true;
|
|
364
367
|
return _this;
|
|
365
368
|
}
|
|
366
369
|
return SubTableControlProperty;
|