@byteluck-fe/model-driven-controls 2.2.2-beta.9 → 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.
Files changed (29) hide show
  1. package/dist/esm/columnControls/TextColumn/designer.js +4 -0
  2. package/dist/esm/columnControls/VarcharColumn/designer.js +4 -0
  3. package/dist/esm/formControls/Checkbox/property.js +2 -0
  4. package/dist/esm/formControls/Department/property.js +2 -0
  5. package/dist/esm/formControls/Department2/property.js +2 -0
  6. package/dist/esm/formControls/Employee/property.js +2 -0
  7. package/dist/esm/formControls/Employee2/property.js +2 -0
  8. package/dist/esm/formControls/Radio/property.js +2 -0
  9. package/dist/esm/formControls/Select/property.js +2 -0
  10. package/dist/esm/formControls/SelectMultiple/property.js +2 -0
  11. package/dist/esm/formControls/SelectRelation/property.js +2 -0
  12. package/dist/esm/formControls/Tree/property.js +2 -0
  13. package/dist/esm/layoutControls/Tab/designer.js +3 -0
  14. package/dist/esm/listControls/SubTable/designer.js +8 -0
  15. package/dist/esm/listControls/SubTable/property.js +2 -0
  16. package/dist/index.umd.js +1 -1
  17. package/dist/types/formControls/Checkbox/property.d.ts +1 -0
  18. package/dist/types/formControls/Department/property.d.ts +1 -0
  19. package/dist/types/formControls/Department2/property.d.ts +1 -0
  20. package/dist/types/formControls/Employee/property.d.ts +1 -0
  21. package/dist/types/formControls/Employee2/property.d.ts +1 -0
  22. package/dist/types/formControls/Radio/property.d.ts +1 -0
  23. package/dist/types/formControls/Select/property.d.ts +1 -0
  24. package/dist/types/formControls/SelectMultiple/property.d.ts +1 -0
  25. package/dist/types/formControls/SelectRelation/property.d.ts +1 -0
  26. package/dist/types/formControls/Tree/property.d.ts +1 -0
  27. package/dist/types/layoutControls/Tab/designer.d.ts +1 -0
  28. package/dist/types/listControls/SubTable/property.d.ts +4 -0
  29. package/package.json +5 -5
@@ -137,6 +137,10 @@ TextColumnControl.setting = [
137
137
  key: "column-autowidth",
138
138
  visible: true
139
139
  },
140
+ {
141
+ key: "column-autoHeight",
142
+ visible: true
143
+ },
140
144
  {
141
145
  key: "column-fixed",
142
146
  visible: true
@@ -105,6 +105,10 @@ VarcharColumnControl.setting = [
105
105
  key: "column-autowidth",
106
106
  visible: true
107
107
  },
108
+ {
109
+ key: "column-autoHeight",
110
+ visible: true
111
+ },
108
112
  {
109
113
  key: "column-fixed",
110
114
  visible: true
@@ -161,6 +161,8 @@ var CheckboxProperty = /*#__PURE__*/ function(BaseControlProperty) {
161
161
  _this.optionsFormat = (_props_optionsFormat = props === null || props === void 0 ? void 0 : props.optionsFormat) !== null && _props_optionsFormat !== void 0 ? _props_optionsFormat : "horizontal";
162
162
  var _props_defaultShowOptions;
163
163
  _this.defaultShowOptions = (_props_defaultShowOptions = props === null || props === void 0 ? void 0 : props.defaultShowOptions) !== null && _props_defaultShowOptions !== void 0 ? _props_defaultShowOptions : true;
164
+ var _props_openMultistageFilling;
165
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
164
166
  _this.multistageFilling = [];
165
167
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
166
168
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -112,6 +112,8 @@ var DepartmentProperty = /*#__PURE__*/ function(BaseControlProperty) {
112
112
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : DepartmentControl.controlName;
113
113
  var _props_placeholder;
114
114
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择部门";
115
+ var _props_openMultistageFilling;
116
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
115
117
  _this.multistageFilling = [];
116
118
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
117
119
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -153,6 +153,8 @@ var Department2Property = /*#__PURE__*/ function(BaseControlProperty) {
153
153
  _this.businessScope = (_props_businessScope = props === null || props === void 0 ? void 0 : props.businessScope) !== null && _props_businessScope !== void 0 ? _props_businessScope : [];
154
154
  var _props_businessType;
155
155
  _this.businessType = (_props_businessType = props === null || props === void 0 ? void 0 : props.businessType) !== null && _props_businessType !== void 0 ? _props_businessType : AssignType.ALL;
156
+ var _props_openMultistageFilling;
157
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
156
158
  _this.multistageFilling = [];
157
159
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
158
160
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -108,6 +108,8 @@ var EmployeeProperty = /*#__PURE__*/ function(BaseControlProperty) {
108
108
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : EmployeeControl.controlName;
109
109
  var _props_placeholder;
110
110
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请输入人员姓名或邮箱";
111
+ var _props_openMultistageFilling;
112
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
111
113
  _this.multistageFilling = [];
112
114
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
113
115
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -152,6 +152,8 @@ var Employee2Property = /*#__PURE__*/ function(BaseControlProperty) {
152
152
  _this.externalType = (_props_externalType = props === null || props === void 0 ? void 0 : props.externalType) !== null && _props_externalType !== void 0 ? _props_externalType : AssignType.ALL;
153
153
  var _props_externalScope;
154
154
  _this.externalScope = (_props_externalScope = props === null || props === void 0 ? void 0 : props.externalScope) !== null && _props_externalScope !== void 0 ? _props_externalScope : [];
155
+ var _props_openMultistageFilling;
156
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
155
157
  _this.multistageFilling = [];
156
158
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
157
159
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -123,6 +123,8 @@ var RadioProperty = /*#__PURE__*/ function(BaseControlProperty) {
123
123
  _this.caption = (_props_caption = props === null || props === void 0 ? void 0 : props.caption) !== null && _props_caption !== void 0 ? _props_caption : RadioControl.controlName;
124
124
  var _props_defaultValue;
125
125
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
126
+ var _props_openMultistageFilling;
127
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
126
128
  _this.multistageFilling = [];
127
129
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
128
130
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -117,6 +117,8 @@ var SelectProperty = /*#__PURE__*/ function(BaseControlProperty) {
117
117
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
118
118
  var _props_allowCopyOptions;
119
119
  _this.allowCopyOptions = (_props_allowCopyOptions = props === null || props === void 0 ? void 0 : props.allowCopyOptions) !== null && _props_allowCopyOptions !== void 0 ? _props_allowCopyOptions : false;
120
+ var _props_openMultistageFilling;
121
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
120
122
  _this.multistageFilling = [];
121
123
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
122
124
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -128,6 +128,8 @@ var SelectMultipleProperty = /*#__PURE__*/ function(BaseControlProperty) {
128
128
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
129
129
  var _props_defaultValue;
130
130
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : [];
131
+ var _props_openMultistageFilling;
132
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
131
133
  _this.multistageFilling = [];
132
134
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
133
135
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -127,6 +127,8 @@ var SelectRelationProperty = /*#__PURE__*/ function(BaseControlProperty) {
127
127
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "请选择";
128
128
  var _props_defaultValue;
129
129
  _this.defaultValue = (_props_defaultValue = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _props_defaultValue !== void 0 ? _props_defaultValue : "";
130
+ var _props_openMultistageFilling;
131
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
130
132
  _this.multistageFilling = [];
131
133
  if (Array.isArray(props === null || props === void 0 ? void 0 : props.multistageFilling)) {
132
134
  props === null || props === void 0 ? void 0 : props.multistageFilling.map(function(item) {
@@ -166,6 +166,8 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
166
166
  _this.datasourceBind = new TreeDataSourceBind((_props_datasourceBind = props === null || props === void 0 ? void 0 : props.datasourceBind) !== null && _props_datasourceBind !== void 0 ? _props_datasourceBind : {
167
167
  attributes: TreeControl.controlCustomAttributes
168
168
  });
169
+ var _props_openMultistageFilling;
170
+ _this.openMultistageFilling = (_props_openMultistageFilling = props === null || props === void 0 ? void 0 : props.openMultistageFilling) !== null && _props_openMultistageFilling !== void 0 ? _props_openMultistageFilling : false;
169
171
  var _props_multistageFilling_map;
170
172
  _this.multistageFilling = (_props_multistageFilling_map = props === null || props === void 0 ? void 0 : (_props_multistageFilling = props.multistageFilling) === null || _props_multistageFilling === void 0 ? void 0 : _props_multistageFilling.map(function(item) {
171
173
  return new MultistageFillingItem(item);
@@ -128,6 +128,9 @@ var TabControl = /*#__PURE__*/ function(DesignerLayoutControl) {
128
128
  TabControl.excludes = [
129
129
  CONTROL_TYPE.TAB
130
130
  ];
131
+ TabControl.controlEventKeys = [
132
+ "on_change_tab"
133
+ ];
131
134
  TabControl.setting = [
132
135
  {
133
136
  key: "super-setting",
@@ -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,10 @@ SubTableControl.setting = [
200
204
  key: "subtable-max-height",
201
205
  visible: true
202
206
  },
207
+ {
208
+ key: "fixed-column",
209
+ visible: true
210
+ },
203
211
  {
204
212
  key: "mobile-show-type",
205
213
  visible: true
@@ -212,6 +212,8 @@ var SubTableControlProperty = /*#__PURE__*/ function(ListControlProperty) {
212
212
  _this.mobileShowType = (_props_mobileShowType = props === null || props === void 0 ? void 0 : props.mobileShowType) !== null && _props_mobileShowType !== void 0 ? _props_mobileShowType : "tile";
213
213
  var _props_dataStorageDoc;
214
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 : [];
215
217
  return _this;
216
218
  }
217
219
  return SubTableControlProperty;