@byteluck-fe/model-driven-controls 2.2.2 → 2.3.0
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 +16 -0
- package/dist/esm/listControls/SubTable/property.js +7 -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 +15 -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;
|
|
@@ -184,6 +184,10 @@ SubTableControl.setting = [
|
|
|
184
184
|
key: "subtable-opened-mode",
|
|
185
185
|
visible: true
|
|
186
186
|
},
|
|
187
|
+
{
|
|
188
|
+
key: "orders-setting",
|
|
189
|
+
visible: true
|
|
190
|
+
},
|
|
187
191
|
{
|
|
188
192
|
key: "print-setting",
|
|
189
193
|
visible: true
|
|
@@ -200,6 +204,18 @@ SubTableControl.setting = [
|
|
|
200
204
|
key: "subtable-max-height",
|
|
201
205
|
visible: true
|
|
202
206
|
},
|
|
207
|
+
{
|
|
208
|
+
key: "fixed-column",
|
|
209
|
+
visible: true
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
key: "mobile-show-type",
|
|
213
|
+
visible: true
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
key: "data-storage-description",
|
|
217
|
+
visible: true
|
|
218
|
+
},
|
|
203
219
|
{
|
|
204
220
|
key: "super-setting",
|
|
205
221
|
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,12 @@ 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();
|
|
215
|
+
var _props_fixedColumn;
|
|
216
|
+
_this.fixedColumn = (_props_fixedColumn = props === null || props === void 0 ? void 0 : props.fixedColumn) !== null && _props_fixedColumn !== void 0 ? _props_fixedColumn : [];
|
|
211
217
|
return _this;
|
|
212
218
|
}
|
|
213
219
|
return SubTableControlProperty;
|