@byteluck-fe/model-driven-controls 2.2.2-beta.4 → 2.2.2-beta.5
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/designer.js +4 -0
- package/dist/esm/layoutControls/SubTableColumn/property.js +5 -1
- package/dist/esm/listControls/SubTable/designer.js +8 -0
- package/dist/esm/listControls/SubTable/property.js +5 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +11 -1
- package/dist/types/listControls/SubTable/property.d.ts +11 -1
- package/package.json +4 -4
|
@@ -69,7 +69,7 @@ function _createSuper(Derived) {
|
|
|
69
69
|
return _possibleConstructorReturn(this, result);
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
|
-
import { LayoutControlProperty, PropertyRules } from "@byteluck-fe/model-driven-core";
|
|
72
|
+
import { LayoutControlProperty, PropertyRules, AutoWidth } from "@byteluck-fe/model-driven-core";
|
|
73
73
|
import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
74
74
|
var SubTableColumnControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
75
75
|
"use strict";
|
|
@@ -123,6 +123,10 @@ var SubTableColumnControlProperty = /*#__PURE__*/ function(LayoutControlProperty
|
|
|
123
123
|
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
124
124
|
var _props_isHideCaption;
|
|
125
125
|
_this.isHideCaption = (_props_isHideCaption = props === null || props === void 0 ? void 0 : props.isHideCaption) !== null && _props_isHideCaption !== void 0 ? _props_isHideCaption : false;
|
|
126
|
+
var _props_autoWidth;
|
|
127
|
+
_this.autoWidth = (_props_autoWidth = props === null || props === void 0 ? void 0 : props.autoWidth) !== null && _props_autoWidth !== void 0 ? _props_autoWidth : new AutoWidth();
|
|
128
|
+
var _props_widthMetaType;
|
|
129
|
+
_this.widthMetaType = (_props_widthMetaType = props === null || props === void 0 ? void 0 : props.widthMetaType) !== null && _props_widthMetaType !== void 0 ? _props_widthMetaType : "pc";
|
|
126
130
|
return _this;
|
|
127
131
|
}
|
|
128
132
|
return SubTableColumnControlProperty;
|
|
@@ -203,6 +203,14 @@ SubTableControl.setting = [
|
|
|
203
203
|
{
|
|
204
204
|
key: "super-setting",
|
|
205
205
|
visible: true
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
key: "mobile-show-type",
|
|
209
|
+
visible: true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
key: "data-storage-description",
|
|
213
|
+
visible: true
|
|
206
214
|
}
|
|
207
215
|
];
|
|
208
216
|
export default SubTableControl;
|
|
@@ -70,7 +70,7 @@ function _createSuper(Derived) {
|
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
import SubTableControl from "./designer";
|
|
73
|
-
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind } from "@byteluck-fe/model-driven-core";
|
|
73
|
+
import { ListControlProperty, PropertyRules, PropertyRuntimeRules, DataSourceBind, DataStorageDoc } from "@byteluck-fe/model-driven-core";
|
|
74
74
|
import { RulesMessage } from "@byteluck-fe/model-driven-shared";
|
|
75
75
|
import { SUBTABLE_DEFAULT_MAX_HEIGHT } from "../../framework";
|
|
76
76
|
var SubTableControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
@@ -208,6 +208,10 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
|
|
|
208
208
|
_this.isShowCaptionTip = (_props_isShowCaptionTip = props === null || props === void 0 ? void 0 : props.isShowCaptionTip) !== null && _props_isShowCaptionTip !== void 0 ? _props_isShowCaptionTip : false;
|
|
209
209
|
var _props_captionTip;
|
|
210
210
|
_this.captionTip = (_props_captionTip = props === null || props === void 0 ? void 0 : props.captionTip) !== null && _props_captionTip !== void 0 ? _props_captionTip : "";
|
|
211
|
+
var _props_mobileShowType;
|
|
212
|
+
_this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "tile";
|
|
213
|
+
var _props_dataStorageDoc;
|
|
214
|
+
_this.dataStorageDoc = (_props_dataStorageDoc = props === null || props === void 0 ? void 0 : props.dataStorageDoc) !== null && _props_dataStorageDoc !== void 0 ? _props_dataStorageDoc : new DataStorageDoc();
|
|
211
215
|
return _this;
|
|
212
216
|
}
|
|
213
217
|
return SubTableControlProperty;
|