@byteluck-fe/model-driven-controls 2.2.1-test.2 → 2.2.2-beta.11
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 +2 -1
- package/dist/esm/layoutControls/SubTableColumn/property.js +2 -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 +6 -1
- package/dist/types/listControls/SubTable/property.d.ts +11 -1
- package/package.json +5 -5
|
@@ -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, MetaAutoWidth } 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,7 @@ 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
|
+
_this.metaAutoWidth = new MetaAutoWidth(props === null || props === void 0 ? void 0 : props.metaAutoWidth);
|
|
126
127
|
return _this;
|
|
127
128
|
}
|
|
128
129
|
return SubTableColumnControlProperty;
|
|
@@ -200,6 +200,14 @@ SubTableControl.setting = [
|
|
|
200
200
|
key: "subtable-max-height",
|
|
201
201
|
visible: true
|
|
202
202
|
},
|
|
203
|
+
{
|
|
204
|
+
key: "mobile-show-type",
|
|
205
|
+
visible: true
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
key: "data-storage-description",
|
|
209
|
+
visible: true
|
|
210
|
+
},
|
|
203
211
|
{
|
|
204
212
|
key: "super-setting",
|
|
205
213
|
visible: true
|
|
@@ -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;
|