@byteluck-fe/model-driven-controls 2.3.1 → 2.4.0-alpha.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/layoutControls/Tab/designer.js +4 -0
- package/dist/esm/layoutControls/Tab/property.js +19 -1
- package/dist/esm/listControls/SubTable/designer.js +4 -0
- package/dist/esm/listControls/SubTable/property.js +7 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/layoutControls/Tab/property.d.ts +1 -0
- package/dist/types/listControls/SubTable/property.d.ts +6 -0
- package/package.json +2 -2
|
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
|
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
|
+
if (key in obj) {
|
|
14
|
+
Object.defineProperty(obj, key, {
|
|
15
|
+
value: value,
|
|
16
|
+
enumerable: true,
|
|
17
|
+
configurable: true,
|
|
18
|
+
writable: true
|
|
19
|
+
});
|
|
20
|
+
} else {
|
|
21
|
+
obj[key] = value;
|
|
22
|
+
}
|
|
23
|
+
return obj;
|
|
24
|
+
}
|
|
12
25
|
function _getPrototypeOf(o) {
|
|
13
26
|
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
14
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
@@ -76,7 +89,12 @@ var TabControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
|
76
89
|
var _super = _createSuper(TabControlProperty);
|
|
77
90
|
function TabControlProperty(props) {
|
|
78
91
|
_classCallCheck(this, TabControlProperty);
|
|
79
|
-
|
|
92
|
+
var _this;
|
|
93
|
+
_this = _super.call(this, props);
|
|
94
|
+
_defineProperty(_assertThisInitialized(_this), "mobileShowType", void 0);
|
|
95
|
+
var _props_mobileShowType;
|
|
96
|
+
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "vertical";
|
|
97
|
+
return _this;
|
|
80
98
|
}
|
|
81
99
|
return TabControlProperty;
|
|
82
100
|
}(LayoutControlProperty);
|
|
@@ -215,6 +215,11 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
215
215
|
* @public
|
|
216
216
|
* */ _defineProperty(_assertThisInitialized(_this), "limitRows", void 0);
|
|
217
217
|
/**
|
|
218
|
+
* 最多填写行数
|
|
219
|
+
* @defaultValue
|
|
220
|
+
* @public
|
|
221
|
+
* */ _defineProperty(_assertThisInitialized(_this), "maxRows", void 0);
|
|
222
|
+
/**
|
|
218
223
|
* 默认填写行数
|
|
219
224
|
* @defaultValue 1
|
|
220
225
|
* @public
|
|
@@ -308,6 +313,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
308
313
|
_this.printMode = (_props_printMode = props === null || props === void 0 ? void 0 : props.printMode) !== null && _props_printMode !== void 0 ? _props_printMode : "row";
|
|
309
314
|
var _props_limitRows;
|
|
310
315
|
_this.limitRows = (_props_limitRows = props === null || props === void 0 ? void 0 : props.limitRows) !== null && _props_limitRows !== void 0 ? _props_limitRows : 1;
|
|
316
|
+
var _props_maxRows;
|
|
317
|
+
_this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : null;
|
|
311
318
|
var _props_defaultRows;
|
|
312
319
|
_this.defaultRows = (_props_defaultRows = props === null || props === void 0 ? void 0 : props.defaultRows) !== null && _props_defaultRows !== void 0 ? _props_defaultRows : 1;
|
|
313
320
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|