@byteluck-fe/model-driven-controls 2.22.3-beta.7 → 2.22.3-beta.9
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.
|
@@ -83,7 +83,7 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
|
|
|
83
83
|
props
|
|
84
84
|
]), _define_property(_this, "sortFieldCode", {
|
|
85
85
|
type: 'string',
|
|
86
|
-
message: getLocaleText('pleaseSelectSortFieldCode', null, '请选择排序字段')
|
|
86
|
+
message: getLocaleText('CMD.pleaseSelectSortFieldCode', null, '请选择排序字段')
|
|
87
87
|
});
|
|
88
88
|
if (props.sort === true) {
|
|
89
89
|
_this.sortFieldCode.required = true;
|
|
@@ -92,9 +92,9 @@ var CustomColumnControlPropertyRules = /*#__PURE__*/ function(ColumnControlPrope
|
|
|
92
92
|
}
|
|
93
93
|
return CustomColumnControlPropertyRules;
|
|
94
94
|
}(ColumnControlPropertyRules);
|
|
95
|
-
/**
|
|
96
|
-
* CustomColumn 自定义列
|
|
97
|
-
* @public
|
|
95
|
+
/**
|
|
96
|
+
* CustomColumn 自定义列
|
|
97
|
+
* @public
|
|
98
98
|
*/ var CustomColumnControlProperty = /*#__PURE__*/ function(ColumnControlProperty) {
|
|
99
99
|
"use strict";
|
|
100
100
|
_inherits(CustomColumnControlProperty, ColumnControlProperty);
|
package/dist/esm/framework.js
CHANGED
|
@@ -237,6 +237,7 @@ export var ActionSetting = function ActionSetting(props) {
|
|
|
237
237
|
_define_property(this, "orders", void 0);
|
|
238
238
|
_define_property(this, "filters", void 0);
|
|
239
239
|
_define_property(this, "isRelation", void 0);
|
|
240
|
+
_define_property(this, "relationBindCode", void 0);
|
|
240
241
|
var _props_appId;
|
|
241
242
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
242
243
|
var _props_dataCode;
|
|
@@ -249,6 +250,8 @@ export var ActionSetting = function ActionSetting(props) {
|
|
|
249
250
|
this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
250
251
|
var _props_isRelation;
|
|
251
252
|
this.isRelation = (_props_isRelation = props === null || props === void 0 ? void 0 : props.isRelation) !== null && _props_isRelation !== void 0 ? _props_isRelation : false;
|
|
253
|
+
var _props_relationBindCode;
|
|
254
|
+
this.relationBindCode = (_props_relationBindCode = props === null || props === void 0 ? void 0 : props.relationBindCode) !== null && _props_relationBindCode !== void 0 ? _props_relationBindCode : '';
|
|
252
255
|
};
|
|
253
256
|
export var ListHeightSetting = function ListHeightSetting(props) {
|
|
254
257
|
"use strict";
|
|
@@ -78,8 +78,8 @@ export var TriggerType;
|
|
|
78
78
|
TriggerType[TriggerType["CLICK_ROW"] = 1] = "CLICK_ROW";
|
|
79
79
|
TriggerType[TriggerType["CLICK_CELL"] = 2] = "CLICK_CELL";
|
|
80
80
|
})(TriggerType || (TriggerType = {}));
|
|
81
|
-
/**
|
|
82
|
-
* @internal
|
|
81
|
+
/**
|
|
82
|
+
* @internal
|
|
83
83
|
*/ var ListViewControlPropertyRuntimeRules = /*#__PURE__*/ function(PropertyRuntimeRules) {
|
|
84
84
|
"use strict";
|
|
85
85
|
_inherits(ListViewControlPropertyRuntimeRules, PropertyRuntimeRules);
|
|
@@ -97,8 +97,8 @@ export var TriggerType;
|
|
|
97
97
|
}
|
|
98
98
|
return ListViewControlPropertyRuntimeRules;
|
|
99
99
|
}(PropertyRuntimeRules);
|
|
100
|
-
/**
|
|
101
|
-
* @internal
|
|
100
|
+
/**
|
|
101
|
+
* @internal
|
|
102
102
|
*/ var ListViewControlPropertyRules = /*#__PURE__*/ function(PropertyRules) {
|
|
103
103
|
"use strict";
|
|
104
104
|
_inherits(ListViewControlPropertyRules, PropertyRules);
|
|
@@ -205,9 +205,9 @@ export var TriggerType;
|
|
|
205
205
|
}
|
|
206
206
|
return ListViewControlPropertyRules;
|
|
207
207
|
}(PropertyRules);
|
|
208
|
-
/**
|
|
209
|
-
* ListView 列表
|
|
210
|
-
* @public
|
|
208
|
+
/**
|
|
209
|
+
* ListView 列表
|
|
210
|
+
* @public
|
|
211
211
|
*/ var ListViewControlProperty = /*#__PURE__*/ function(LayoutControlProperty) {
|
|
212
212
|
"use strict";
|
|
213
213
|
_inherits(ListViewControlProperty, LayoutControlProperty);
|
|
@@ -216,68 +216,68 @@ export var TriggerType;
|
|
|
216
216
|
var _this;
|
|
217
217
|
_this = _call_super(this, ListViewControlProperty, [
|
|
218
218
|
props
|
|
219
|
-
]), /**
|
|
220
|
-
* 数据高级设置
|
|
221
|
-
* @public
|
|
222
|
-
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
223
|
-
* 加载中
|
|
224
|
-
* @defaultValue false
|
|
225
|
-
* @public
|
|
226
|
-
*/ _define_property(_this, "isLoading", void 0), /**
|
|
227
|
-
* 显示明细表
|
|
228
|
-
* @defaultValue false
|
|
229
|
-
* @public
|
|
230
|
-
*/ _define_property(_this, "isShowSubList", void 0), /**
|
|
231
|
-
* 触发时机 1=整行,2=字段
|
|
232
|
-
* @defaultValue 1
|
|
233
|
-
* @public
|
|
234
|
-
*/ _define_property(_this, "triggerType", void 0), /**
|
|
235
|
-
* 触发字段
|
|
236
|
-
* @public
|
|
237
|
-
*/ _define_property(_this, "triggerFieldCode", void 0), /**
|
|
238
|
-
* 抽屉内容配置
|
|
239
|
-
* @public
|
|
240
|
-
*/ _define_property(_this, "sublistPage", void 0), /**
|
|
241
|
-
* 显示连接表
|
|
242
|
-
*/ _define_property(_this, "isShowJoinRelation", void 0), /**
|
|
243
|
-
* 连接表配置
|
|
244
|
-
* @public
|
|
245
|
-
*/ _define_property(_this, "joinRelation", void 0), /**
|
|
246
|
-
* @internal
|
|
219
|
+
]), /**
|
|
220
|
+
* 数据高级设置
|
|
221
|
+
* @public
|
|
222
|
+
*/ _define_property(_this, "datasourceBind", void 0), /**
|
|
223
|
+
* 加载中
|
|
224
|
+
* @defaultValue false
|
|
225
|
+
* @public
|
|
226
|
+
*/ _define_property(_this, "isLoading", void 0), /**
|
|
227
|
+
* 显示明细表
|
|
228
|
+
* @defaultValue false
|
|
229
|
+
* @public
|
|
230
|
+
*/ _define_property(_this, "isShowSubList", void 0), /**
|
|
231
|
+
* 触发时机 1=整行,2=字段
|
|
232
|
+
* @defaultValue 1
|
|
233
|
+
* @public
|
|
234
|
+
*/ _define_property(_this, "triggerType", void 0), /**
|
|
235
|
+
* 触发字段
|
|
236
|
+
* @public
|
|
237
|
+
*/ _define_property(_this, "triggerFieldCode", void 0), /**
|
|
238
|
+
* 抽屉内容配置
|
|
239
|
+
* @public
|
|
240
|
+
*/ _define_property(_this, "sublistPage", void 0), /**
|
|
241
|
+
* 显示连接表
|
|
242
|
+
*/ _define_property(_this, "isShowJoinRelation", void 0), /**
|
|
243
|
+
* 连接表配置
|
|
244
|
+
* @public
|
|
245
|
+
*/ _define_property(_this, "joinRelation", void 0), /**
|
|
246
|
+
* @internal
|
|
247
247
|
*/ _define_property(_this, "showType", void 0 //提供给关联单选中复用list-view的能力
|
|
248
|
-
), /**
|
|
249
|
-
* 全屏显示
|
|
250
|
-
* @defaultValue false
|
|
251
|
-
* @public
|
|
252
|
-
*/ _define_property(_this, "showFullScreen", void 0), /**
|
|
253
|
-
* 固定表头
|
|
254
|
-
* @defaultValue false
|
|
255
|
-
* @public
|
|
256
|
-
*/ _define_property(_this, "isFixedHeader", void 0), /**
|
|
257
|
-
* 显示选择框类型
|
|
258
|
-
* @defaultValue undefined | 'multiple' | 'radio'
|
|
259
|
-
* @public
|
|
260
|
-
*/ _define_property(_this, "selectionType", void 0), /**
|
|
261
|
-
* 显示选择框
|
|
262
|
-
* @defaultValue false
|
|
263
|
-
* @public
|
|
264
|
-
*/ _define_property(_this, "isShowSelection", void 0), /**
|
|
265
|
-
* 加载全部数据
|
|
266
|
-
* @defaultValue true
|
|
267
|
-
* @public
|
|
248
|
+
), /**
|
|
249
|
+
* 全屏显示
|
|
250
|
+
* @defaultValue false
|
|
251
|
+
* @public
|
|
252
|
+
*/ _define_property(_this, "showFullScreen", void 0), /**
|
|
253
|
+
* 固定表头
|
|
254
|
+
* @defaultValue false
|
|
255
|
+
* @public
|
|
256
|
+
*/ _define_property(_this, "isFixedHeader", void 0), /**
|
|
257
|
+
* 显示选择框类型
|
|
258
|
+
* @defaultValue undefined | 'multiple' | 'radio'
|
|
259
|
+
* @public
|
|
260
|
+
*/ _define_property(_this, "selectionType", void 0), /**
|
|
261
|
+
* 显示选择框
|
|
262
|
+
* @defaultValue false
|
|
263
|
+
* @public
|
|
264
|
+
*/ _define_property(_this, "isShowSelection", void 0), /**
|
|
265
|
+
* 加载全部数据
|
|
266
|
+
* @defaultValue true
|
|
267
|
+
* @public
|
|
268
268
|
*/ _define_property(_this, "isAllLoaded", void 0 //数据加载
|
|
269
|
-
), /**
|
|
270
|
-
* 计数模式
|
|
271
|
-
* @defaultValue 'async'
|
|
272
|
-
* @public
|
|
269
|
+
), /**
|
|
270
|
+
* 计数模式
|
|
271
|
+
* @defaultValue 'async'
|
|
272
|
+
* @public
|
|
273
273
|
*/ _define_property(_this, "countType", void 0 //计数模式
|
|
274
|
-
), /**
|
|
275
|
-
* 列表展示最多条数
|
|
276
|
-
* @defaultValue 100000
|
|
277
|
-
* @public
|
|
278
|
-
*/ _define_property(_this, "countLimit", void 0), /**
|
|
279
|
-
* 行背景规则
|
|
280
|
-
* @defaultValue 'none'
|
|
274
|
+
), /**
|
|
275
|
+
* 列表展示最多条数
|
|
276
|
+
* @defaultValue 100000
|
|
277
|
+
* @public
|
|
278
|
+
*/ _define_property(_this, "countLimit", void 0), /**
|
|
279
|
+
* 行背景规则
|
|
280
|
+
* @defaultValue 'none'
|
|
281
281
|
*/ _define_property(_this, "rowStyle", void 0);
|
|
282
282
|
_this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
283
283
|
var _props_isLoading;
|