@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.
@@ -146,6 +146,10 @@ _defineProperty(TabControl, "controlEventKeys", [
146
146
  "on_change_tab"
147
147
  ]);
148
148
  _defineProperty(TabControl, "setting", [
149
+ {
150
+ key: "tab-mobile-show-type",
151
+ visible: true
152
+ },
149
153
  {
150
154
  key: "super-setting",
151
155
  visible: true
@@ -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
- return _super.call(this, props);
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);
@@ -218,6 +218,10 @@ _defineProperty(SubTableControl, "setting", [
218
218
  key: "limit-rows",
219
219
  visible: true
220
220
  },
221
+ {
222
+ key: "max-rows",
223
+ visible: true
224
+ },
221
225
  {
222
226
  key: "subtable-max-height",
223
227
  visible: true
@@ -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);