@byteluck-fe/model-driven-controls 2.20.0-beta.2 → 2.20.0-beta.3
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/SubTableColumn/property.js +0 -5
- package/dist/esm/listControls/SubTable/property.js +5 -0
- package/dist/index.umd.js +1 -1
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +0 -4
- package/dist/types/listControls/SubTable/property.d.ts +4 -0
- package/package.json +2 -2
|
@@ -141,9 +141,6 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
141
141
|
/**
|
|
142
142
|
* 隐藏标题一直为false
|
|
143
143
|
* */ _define_property(_assert_this_initialized(_this), "isHideCaption", void 0);
|
|
144
|
-
/**
|
|
145
|
-
* 排序格式
|
|
146
|
-
* */ _define_property(_assert_this_initialized(_this), "sortType", void 0);
|
|
147
144
|
var _props_caption;
|
|
148
145
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : "";
|
|
149
146
|
var _props_fixed;
|
|
@@ -155,8 +152,6 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
155
152
|
var _props_isHideCaption;
|
|
156
153
|
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
157
154
|
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
158
|
-
var _props_sortType;
|
|
159
|
-
_this.sortType = (_props_sortType = props === null || props === void 0 ? void 0 : props.sortType) !== null && _props_sortType !== void 0 ? _props_sortType : "";
|
|
160
155
|
return _this;
|
|
161
156
|
}
|
|
162
157
|
return SubTableColumnControlProperty;
|
|
@@ -331,6 +331,9 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
331
331
|
* @defaultValue false
|
|
332
332
|
* @public
|
|
333
333
|
* */ _define_property(_assert_this_initialized(_this), "sortable", void 0);
|
|
334
|
+
/**
|
|
335
|
+
* 排序or筛选字段
|
|
336
|
+
* */ _define_property(_assert_this_initialized(_this), "sortKey", void 0);
|
|
334
337
|
var _props_caption;
|
|
335
338
|
_this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : SubTableControl.controlName;
|
|
336
339
|
var _props_isHideCaption;
|
|
@@ -403,6 +406,8 @@ var SubtableControlRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
|
403
406
|
_this.exportConfig = new ExportConfig(props === null || props === void 0 ? void 0 : props.exportConfig);
|
|
404
407
|
var _props_sortable;
|
|
405
408
|
_this.sortable = (_props_sortable = props === null || props === void 0 ? void 0 : props.sortable) !== null && _props_sortable !== void 0 ? _props_sortable : false;
|
|
409
|
+
var _props_sortKey;
|
|
410
|
+
_this.sortKey = (_props_sortKey = props === null || props === void 0 ? void 0 : props.sortKey) !== null && _props_sortKey !== void 0 ? _props_sortKey : {};
|
|
406
411
|
return _this;
|
|
407
412
|
}
|
|
408
413
|
return SubTableControlProperty;
|