@byteluck-fe/model-driven-controls 6.2.0-beta.13 → 6.2.0-beta.14
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.
|
@@ -73,6 +73,27 @@ function _is_native_reflect_construct() {
|
|
|
73
73
|
import TreeControl from './designer';
|
|
74
74
|
import { BaseControlProperty, BaseControlPropertyRules, BaseControlPropertyRuntimeRules, MultistageFillingItem, TreeDataSourceBind, initSuperDataSourceRules } from '@byteluck-fe/model-driven-core';
|
|
75
75
|
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
76
|
+
export var DataQueryTypeEnum = /*#__PURE__*/ function(DataQueryTypeEnum) {
|
|
77
|
+
DataQueryTypeEnum[DataQueryTypeEnum["EQ"] = 0] = "EQ";
|
|
78
|
+
DataQueryTypeEnum[DataQueryTypeEnum["GT"] = 1] = "GT";
|
|
79
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LT"] = 2] = "LT";
|
|
80
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IN"] = 3] = "IN";
|
|
81
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LIKE"] = 4] = "LIKE";
|
|
82
|
+
DataQueryTypeEnum[DataQueryTypeEnum["RANGE"] = 5] = "RANGE";
|
|
83
|
+
DataQueryTypeEnum[DataQueryTypeEnum["GE"] = 6] = "GE";
|
|
84
|
+
DataQueryTypeEnum[DataQueryTypeEnum["LE"] = 7] = "LE";
|
|
85
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONTAINS_ONE"] = 8] = "CONTAINS_ONE";
|
|
86
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONCAT_LIKE"] = 9] = "CONCAT_LIKE";
|
|
87
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONTAINS_IN_WITH_SUB_DEPT"] = 10] = "CONTAINS_IN_WITH_SUB_DEPT";
|
|
88
|
+
DataQueryTypeEnum[DataQueryTypeEnum["NOT_EQ"] = 11] = "NOT_EQ";
|
|
89
|
+
DataQueryTypeEnum[DataQueryTypeEnum["CONCAT_NOT_EQ"] = 12] = "CONCAT_NOT_EQ";
|
|
90
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NULL"] = 13] = "IS_NULL";
|
|
91
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NOT_NULL"] = 14] = "IS_NOT_NULL";
|
|
92
|
+
DataQueryTypeEnum[DataQueryTypeEnum["EQ_FIELD"] = 15] = "EQ_FIELD";
|
|
93
|
+
DataQueryTypeEnum[DataQueryTypeEnum["IS_NULL_OR_EQ_FIELD"] = 16] = "IS_NULL_OR_EQ_FIELD";
|
|
94
|
+
DataQueryTypeEnum[DataQueryTypeEnum["NOT_EQ_FIELD"] = 17] = "NOT_EQ_FIELD";
|
|
95
|
+
return DataQueryTypeEnum;
|
|
96
|
+
}({});
|
|
76
97
|
var TreePropertyRules = /*#__PURE__*/ function(BaseControlPropertyRules) {
|
|
77
98
|
"use strict";
|
|
78
99
|
_inherits(TreePropertyRules, BaseControlPropertyRules);
|
|
@@ -144,7 +165,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
144
165
|
function TreeProperty(props) {
|
|
145
166
|
_class_call_check(this, TreeProperty);
|
|
146
167
|
var _this;
|
|
147
|
-
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17;
|
|
168
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18;
|
|
148
169
|
var _props_multistageFilling;
|
|
149
170
|
_this = _call_super(this, TreeProperty, [
|
|
150
171
|
props
|
|
@@ -154,7 +175,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
154
175
|
), _define_property(_this, "isShowFilterItem", void 0 // 是否显示筛选设置
|
|
155
176
|
), _define_property(_this, "defaultCollapse", void 0), _define_property(_this, "defaultCollapseLevel", void 0), _define_property(_this, "optionConfig", 'datasource' // 选项配置 datasource
|
|
156
177
|
), _define_property(_this, "datasourceBind", void 0), _define_property(_this, "filterItemDatasourceBind", void 0), _define_property(_this, "multistageFilling", void 0), _define_property(_this, "defaultValue", void 0), _define_property(_this, "openMultistageFilling", void 0 //是否开启填充
|
|
157
|
-
);
|
|
178
|
+
), _define_property(_this, "treeQuery", void 0);
|
|
158
179
|
_this.caption = (_ref = props === null || props === void 0 ? void 0 : props.caption) !== null && _ref !== void 0 ? _ref : TreeControl.controlName;
|
|
159
180
|
_this.placeholder = (_ref1 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.pleaseSelect', null, '请选择');
|
|
160
181
|
_this.multiple = (_ref2 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
@@ -179,6 +200,7 @@ var TreeProperty = /*#__PURE__*/ function(BaseControlProperty) {
|
|
|
179
200
|
return new MultistageFillingItem(item);
|
|
180
201
|
})) !== null && _ref16 !== void 0 ? _ref16 : [];
|
|
181
202
|
_this.defaultValue = (_ref17 = props === null || props === void 0 ? void 0 : props.defaultValue) !== null && _ref17 !== void 0 ? _ref17 : [];
|
|
203
|
+
_this.treeQuery = (_ref18 = props === null || props === void 0 ? void 0 : props.treeQuery) !== null && _ref18 !== void 0 ? _ref18 : [];
|
|
182
204
|
return _this;
|
|
183
205
|
}
|
|
184
206
|
return TreeProperty;
|