@byteluck-fe/model-driven-controls 2.23.7 → 2.23.8
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.
|
@@ -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
|
|
@@ -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,30 +157,37 @@ 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)
|
|
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
|
+
* 在明细子表中自动高度
|
|
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;
|