@byteluck-fe/model-driven-controls 5.3.1-1-zt → 5.3.1-2-zt
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/formControls/Input/designer.js +8 -0
- package/dist/esm/formControls/Input/property.js +12 -1
- package/dist/esm/formControls/RichText/property.js +7 -7
- package/dist/esm/formControls/Textarea/property.js +26 -26
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Input/property.d.ts +11 -0
- package/package.json +2 -2
|
@@ -169,6 +169,14 @@ _define_property(InputControl, "setting", [
|
|
|
169
169
|
COMMON_SETTING_TYPE.ENCRYPTED
|
|
170
170
|
]
|
|
171
171
|
},
|
|
172
|
+
{
|
|
173
|
+
key: 'column-autoHeight',
|
|
174
|
+
visible: false
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
key: 'column-line-ellipsis',
|
|
178
|
+
visible: false
|
|
179
|
+
},
|
|
172
180
|
{
|
|
173
181
|
key: 'max-length',
|
|
174
182
|
visible: true
|
|
@@ -180,7 +180,14 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
|
|
|
180
180
|
* 密码模式 '' | 'ALL_MASK' | 'LAST_FOUR_MASK'
|
|
181
181
|
* @defaultValue ''
|
|
182
182
|
* @public
|
|
183
|
-
*/ _define_property(_this, "encryptedMode", void 0)
|
|
183
|
+
*/ _define_property(_this, "encryptedMode", void 0), /**
|
|
184
|
+
* 在明细子表中自动高度
|
|
185
|
+
* @defaultValue false
|
|
186
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
187
|
+
* 在明细子表中行数设置
|
|
188
|
+
* @defaultValue 1
|
|
189
|
+
* @public
|
|
190
|
+
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
184
191
|
var _props_maxLength;
|
|
185
192
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 200;
|
|
186
193
|
var _props_minLength;
|
|
@@ -196,6 +203,10 @@ var InputControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlPropert
|
|
|
196
203
|
_this.encrypted = (_props_encrypted = props === null || props === void 0 ? void 0 : props.encrypted) !== null && _props_encrypted !== void 0 ? _props_encrypted : false;
|
|
197
204
|
var _props_encryptedMode;
|
|
198
205
|
_this.encryptedMode = (_props_encryptedMode = props === null || props === void 0 ? void 0 : props.encryptedMode) !== null && _props_encryptedMode !== void 0 ? _props_encryptedMode : '';
|
|
206
|
+
var _props_autoHeight;
|
|
207
|
+
_this.autoHeight = (_props_autoHeight = props === null || props === void 0 ? void 0 : props.autoHeight) !== null && _props_autoHeight !== void 0 ? _props_autoHeight : false;
|
|
208
|
+
var _props_lineEllipsis;
|
|
209
|
+
_this.lineEllipsis = (_props_lineEllipsis = props === null || props === void 0 ? void 0 : props.lineEllipsis) !== null && _props_lineEllipsis !== void 0 ? _props_lineEllipsis : 1;
|
|
199
210
|
return _this;
|
|
200
211
|
}
|
|
201
212
|
return InputProperty;
|
|
@@ -137,13 +137,13 @@ 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
|
-
* 在明细子表中自动高度
|
|
142
|
-
* @defaultValue false
|
|
143
|
-
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
144
|
-
* 在明细子表中行数设置
|
|
145
|
-
* @defaultValue 1
|
|
146
|
-
* @public
|
|
140
|
+
]), _define_property(_this, "maxLength", void 0), _define_property(_this, "minLength", void 0), _define_property(_this, "defaultValue", void 0), /**
|
|
141
|
+
* 在明细子表中自动高度
|
|
142
|
+
* @defaultValue false
|
|
143
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
144
|
+
* 在明细子表中行数设置
|
|
145
|
+
* @defaultValue 1
|
|
146
|
+
* @public
|
|
147
147
|
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
148
148
|
var _props_maxLength;
|
|
149
149
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
|
|
@@ -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,13 +174,13 @@ var TextareaControlPropertyRuntimeRules = /*#__PURE__*/ function(BaseControlProp
|
|
|
174
174
|
// * @public
|
|
175
175
|
// */
|
|
176
176
|
// public maxRows?: Number
|
|
177
|
-
/**
|
|
178
|
-
* 在明细子表中自动高度
|
|
179
|
-
* @defaultValue false
|
|
180
|
-
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
181
|
-
* 在明细子表中行数设置
|
|
182
|
-
* @defaultValue 1
|
|
183
|
-
* @public
|
|
177
|
+
/**
|
|
178
|
+
* 在明细子表中自动高度
|
|
179
|
+
* @defaultValue false
|
|
180
|
+
*/ _define_property(_this, "autoHeight", void 0), /**
|
|
181
|
+
* 在明细子表中行数设置
|
|
182
|
+
* @defaultValue 1
|
|
183
|
+
* @public
|
|
184
184
|
*/ _define_property(_this, "lineEllipsis", void 0);
|
|
185
185
|
var _props_maxLength;
|
|
186
186
|
_this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : 50000;
|