@byteluck-fe/model-driven-controls 2.2.2 → 2.3.1-beta.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.
@@ -113,8 +113,9 @@ SubTableColumnControl.setting = [
113
113
  ],
114
114
  visible: true
115
115
  },
116
+ // { key: 'column-width', visible: true },
116
117
  {
117
- key: "column-width",
118
+ key: "column-auto-width",
118
119
  visible: true
119
120
  }
120
121
  ];
@@ -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;