@byteluck-fe/model-driven-core 2.7.0-alpha.21 → 2.7.0-alpha.25
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/common/BaseControl/designer.js +62 -63
- package/dist/esm/common/BaseControl/property.js +57 -47
- package/dist/esm/common/BaseControl/runtime.js +23 -24
- package/dist/esm/common/ColumnControl/designer.js +26 -27
- package/dist/esm/common/ColumnControl/property.js +54 -55
- package/dist/esm/common/ColumnControl/runtime.js +26 -27
- package/dist/esm/common/ControlArray.js +12 -12
- package/dist/esm/common/FormControl/designer.js +28 -29
- package/dist/esm/common/FormControl/property.js +64 -65
- package/dist/esm/common/FormControl/runtime.js +27 -28
- package/dist/esm/common/LayoutControl/designer.js +62 -63
- package/dist/esm/common/LayoutControl/property.js +22 -22
- package/dist/esm/common/LayoutControl/runtime.js +28 -29
- package/dist/esm/common/ListControl/designer.js +59 -60
- package/dist/esm/common/ListControl/property.js +27 -28
- package/dist/esm/common/ListControl/runtime.js +30 -31
- package/dist/esm/common/SearchViewControl/designer.js +26 -27
- package/dist/esm/common/SearchViewControl/property.js +25 -26
- package/dist/esm/common/SearchViewControl/runtime.js +26 -27
- package/dist/esm/common/WrapControl/designer.js +26 -27
- package/dist/esm/common/WrapControl/property.js +22 -22
- package/dist/esm/common/WrapControl/runtime.js +26 -27
- package/dist/esm/framework/RegisterControls.js +12 -12
- package/dist/esm/framework/index.js +391 -431
- package/dist/esm/framework/isDataBind.js +1 -2
- package/dist/index.umd.js +1 -1
- package/package.json +3 -3
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _getPrototypeOf(o) {
|
|
26
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _getPrototypeOf(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,26 +39,26 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _setPrototypeOf(subClass, superClass);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
45
|
-
if (call && (
|
|
44
|
+
function _possibleConstructorReturn(self, call) {
|
|
45
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
46
46
|
return call;
|
|
47
47
|
}
|
|
48
|
-
return
|
|
48
|
+
return _assertThisInitialized(self);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
|
|
50
|
+
function _setPrototypeOf(o, p) {
|
|
51
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
52
52
|
o.__proto__ = p;
|
|
53
53
|
return o;
|
|
54
54
|
};
|
|
55
|
-
return
|
|
55
|
+
return _setPrototypeOf(o, p);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
var _typeof = function(obj) {
|
|
58
58
|
"@swc/helpers - typeof";
|
|
59
59
|
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
60
|
-
}
|
|
61
|
-
function
|
|
60
|
+
};
|
|
61
|
+
function _isNativeReflectConstruct() {
|
|
62
62
|
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
63
63
|
if (Reflect.construct.sham) return false;
|
|
64
64
|
if (typeof Proxy === "function") return true;
|
|
@@ -69,17 +69,17 @@ function _is_native_reflect_construct() {
|
|
|
69
69
|
return false;
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
73
|
-
var hasNativeReflectConstruct =
|
|
72
|
+
function _createSuper(Derived) {
|
|
73
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
74
74
|
return function _createSuperInternal() {
|
|
75
|
-
var Super =
|
|
75
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
76
76
|
if (hasNativeReflectConstruct) {
|
|
77
|
-
var NewTarget =
|
|
77
|
+
var NewTarget = _getPrototypeOf(this).constructor;
|
|
78
78
|
result = Reflect.construct(Super, arguments, NewTarget);
|
|
79
79
|
} else {
|
|
80
80
|
result = Super.apply(this, arguments);
|
|
81
81
|
}
|
|
82
|
-
return
|
|
82
|
+
return _possibleConstructorReturn(this, result);
|
|
83
83
|
};
|
|
84
84
|
}
|
|
85
85
|
import { FieldTypes, genNonDuplicateId } from "@byteluck-fe/model-driven-shared";
|
|
@@ -89,117 +89,110 @@ export * from "./RegisterControls";
|
|
|
89
89
|
* @public
|
|
90
90
|
*/ export var DataBind = function DataBind(props) {
|
|
91
91
|
"use strict";
|
|
92
|
-
|
|
93
|
-
var _props, _props1, _props2, _props3;
|
|
92
|
+
_classCallCheck(this, DataBind);
|
|
94
93
|
/**
|
|
95
94
|
* 数据模型编码
|
|
96
95
|
* @defaultValue ''
|
|
97
96
|
* @public
|
|
98
|
-
*/
|
|
97
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
99
98
|
/**
|
|
100
99
|
* 字段编码
|
|
101
100
|
* @defaultValue ''
|
|
102
101
|
* @public
|
|
103
|
-
*/
|
|
102
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
104
103
|
/**
|
|
105
104
|
* 字段类型
|
|
106
105
|
* @defaultValue ''
|
|
107
106
|
* @public
|
|
108
|
-
*/
|
|
107
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
109
108
|
/**
|
|
110
109
|
* 表别名
|
|
111
110
|
* @defaultValue undefined
|
|
112
111
|
* @public
|
|
113
|
-
*/
|
|
112
|
+
*/ _defineProperty(this, "aliasCode", void 0);
|
|
114
113
|
var _props_dataCode;
|
|
115
|
-
this.dataCode = (_props_dataCode =
|
|
114
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
116
115
|
var _props_fieldCode;
|
|
117
|
-
this.fieldCode = (_props_fieldCode =
|
|
116
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
118
117
|
var _props_fieldType;
|
|
119
|
-
this.fieldType = (_props_fieldType =
|
|
120
|
-
this.aliasCode =
|
|
118
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
119
|
+
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
121
120
|
};
|
|
122
121
|
export var AutoWidth = function AutoWidth(props) {
|
|
123
122
|
"use strict";
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
_define_property(this, "flex", void 0);
|
|
123
|
+
_classCallCheck(this, AutoWidth);
|
|
124
|
+
_defineProperty(this, "minWidth", void 0);
|
|
125
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
126
|
+
_defineProperty(this, "flex", void 0);
|
|
129
127
|
var _props_minWidth;
|
|
130
|
-
this.minWidth = (_props_minWidth =
|
|
131
|
-
this.maxWidth =
|
|
128
|
+
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
129
|
+
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
132
130
|
var _props_flex;
|
|
133
|
-
this.flex = (_props_flex =
|
|
131
|
+
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
134
132
|
};
|
|
135
133
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
136
134
|
"use strict";
|
|
137
135
|
_inherits(MetaWidth, AutoWidth);
|
|
138
|
-
var _super =
|
|
136
|
+
var _super = _createSuper(MetaWidth);
|
|
139
137
|
function MetaWidth(props) {
|
|
140
|
-
|
|
138
|
+
_classCallCheck(this, MetaWidth);
|
|
141
139
|
var _this;
|
|
142
|
-
var _props, _props1;
|
|
143
140
|
_this = _super.call(this, props);
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "widthType", void 0);
|
|
146
143
|
var _props_width;
|
|
147
|
-
_this.width = (_props_width =
|
|
144
|
+
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
148
145
|
var _props_widthType;
|
|
149
|
-
_this.widthType = (_props_widthType =
|
|
146
|
+
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : "auto";
|
|
150
147
|
return _this;
|
|
151
148
|
}
|
|
152
149
|
return MetaWidth;
|
|
153
150
|
}(AutoWidth);
|
|
154
151
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
155
152
|
"use strict";
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
this.
|
|
161
|
-
this.mobile = ((_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.mobile) ? new MetaWidth((_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.mobile) : new MetaWidth({
|
|
153
|
+
_classCallCheck(this, MetaAutoWidth);
|
|
154
|
+
_defineProperty(this, "pc", void 0);
|
|
155
|
+
_defineProperty(this, "mobile", void 0);
|
|
156
|
+
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
157
|
+
this.mobile = (props === null || props === void 0 ? void 0 : props.mobile) ? new MetaWidth(props === null || props === void 0 ? void 0 : props.mobile) : new MetaWidth({
|
|
162
158
|
width: 130,
|
|
163
159
|
minWidth: 180
|
|
164
160
|
});
|
|
165
161
|
};
|
|
166
162
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
167
163
|
"use strict";
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
_define_property(this, "customOptions", void 0);
|
|
164
|
+
_classCallCheck(this, DataStorageDoc);
|
|
165
|
+
_defineProperty(this, "type", void 0);
|
|
166
|
+
_defineProperty(this, "customOptions", void 0);
|
|
172
167
|
var _props_type;
|
|
173
|
-
this.type = (_props_type =
|
|
168
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
174
169
|
var _props_customOptions;
|
|
175
|
-
this.customOptions = (_props_customOptions =
|
|
170
|
+
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
176
171
|
};
|
|
177
172
|
export var FormBind = function FormBind(props) {
|
|
178
173
|
"use strict";
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
_define_property(this, "appId", void 0);
|
|
174
|
+
_classCallCheck(this, FormBind);
|
|
175
|
+
_defineProperty(this, "dataCode", void 0);
|
|
176
|
+
_defineProperty(this, "formKey", void 0);
|
|
177
|
+
_defineProperty(this, "appId", void 0);
|
|
184
178
|
var _props_dataCode;
|
|
185
|
-
this.dataCode = (_props_dataCode =
|
|
179
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
186
180
|
var _props_formKey;
|
|
187
|
-
this.formKey = (_props_formKey =
|
|
181
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
188
182
|
var _props_appId;
|
|
189
|
-
this.appId = (_props_appId =
|
|
183
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
190
184
|
};
|
|
191
185
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
192
186
|
"use strict";
|
|
193
187
|
_inherits(FormSelectBind, FormBind);
|
|
194
|
-
var _super =
|
|
188
|
+
var _super = _createSuper(FormSelectBind);
|
|
195
189
|
function FormSelectBind(props) {
|
|
196
|
-
|
|
190
|
+
_classCallCheck(this, FormSelectBind);
|
|
197
191
|
var _this;
|
|
198
|
-
var _props;
|
|
199
192
|
_this = _super.call(this, props);
|
|
200
|
-
|
|
193
|
+
_defineProperty(_assertThisInitialized(_this), "primaryControlId", void 0);
|
|
201
194
|
var _props_primaryControlId;
|
|
202
|
-
_this.primaryControlId = (_props_primaryControlId =
|
|
195
|
+
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
203
196
|
return _this;
|
|
204
197
|
}
|
|
205
198
|
return FormSelectBind;
|
|
@@ -209,121 +202,116 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
209
202
|
* @public
|
|
210
203
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
211
204
|
"use strict";
|
|
212
|
-
|
|
213
|
-
var _props;
|
|
205
|
+
_classCallCheck(this, ListBindHeaderItem);
|
|
214
206
|
/**
|
|
215
207
|
* 字段
|
|
216
208
|
* @defaultValue ''
|
|
217
|
-
*/
|
|
209
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
218
210
|
var _props_fieldCode;
|
|
219
|
-
this.fieldCode = (_props_fieldCode =
|
|
211
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
220
212
|
};
|
|
221
213
|
/**
|
|
222
214
|
* 列表绑定配置
|
|
223
215
|
*/ export var ListBind = function ListBind(props) {
|
|
224
216
|
"use strict";
|
|
225
|
-
|
|
226
|
-
var
|
|
217
|
+
_classCallCheck(this, ListBind);
|
|
218
|
+
var _props_headers;
|
|
227
219
|
/**
|
|
228
220
|
* 应用ID
|
|
229
221
|
* @public
|
|
230
|
-
*/
|
|
222
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
231
223
|
/**
|
|
232
224
|
* 表单ID
|
|
233
225
|
* @public
|
|
234
|
-
*/
|
|
226
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
235
227
|
/**
|
|
236
228
|
* 显示字段
|
|
237
229
|
* @public
|
|
238
|
-
*/
|
|
230
|
+
*/ _defineProperty(this, "headers", void 0);
|
|
239
231
|
var _props_appId;
|
|
240
|
-
this.appId = (_props_appId =
|
|
232
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
241
233
|
var _props_formKey;
|
|
242
|
-
this.formKey = (_props_formKey =
|
|
234
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
243
235
|
var _props_headers_map;
|
|
244
|
-
this.headers = (_props_headers_map =
|
|
236
|
+
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
245
237
|
return new ListBindHeaderItem(item);
|
|
246
238
|
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
247
239
|
};
|
|
248
240
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
249
241
|
"use strict";
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
_define_property(this, "fieldType", void 0);
|
|
242
|
+
_classCallCheck(this, FieldBindItem);
|
|
243
|
+
_defineProperty(this, "fieldName", void 0);
|
|
244
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
245
|
+
_defineProperty(this, "fieldType", void 0);
|
|
255
246
|
var _props_fieldName;
|
|
256
|
-
this.fieldName = (_props_fieldName =
|
|
247
|
+
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
257
248
|
var _props_fieldCode;
|
|
258
|
-
this.fieldCode = (_props_fieldCode =
|
|
249
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
259
250
|
var _props_fieldType;
|
|
260
|
-
this.fieldType = (_props_fieldType =
|
|
251
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
261
252
|
};
|
|
262
253
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
263
254
|
"use strict";
|
|
264
255
|
_inherits(SubListItem, FormBind);
|
|
265
|
-
var _super =
|
|
256
|
+
var _super = _createSuper(SubListItem);
|
|
266
257
|
function SubListItem(props) {
|
|
267
|
-
|
|
258
|
+
_classCallCheck(this, SubListItem);
|
|
268
259
|
var _this;
|
|
269
|
-
var _props, _props1, _props2, _props3;
|
|
270
260
|
_this = _super.call(this, props);
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
261
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
262
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
263
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
264
|
+
_defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
275
265
|
var _props_title;
|
|
276
|
-
_this.title = (_props_title =
|
|
266
|
+
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
277
267
|
var _props_svcCode;
|
|
278
|
-
_this.svcCode = (_props_svcCode =
|
|
268
|
+
_this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
279
269
|
var _props_isOpenFilter;
|
|
280
|
-
_this.isOpenFilter = (_props_isOpenFilter =
|
|
270
|
+
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
281
271
|
var _props_filters;
|
|
282
|
-
_this.filters = (_props_filters =
|
|
272
|
+
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
283
273
|
return _this;
|
|
284
274
|
}
|
|
285
275
|
return SubListItem;
|
|
286
276
|
}(FormBind);
|
|
287
277
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
288
278
|
"use strict";
|
|
289
|
-
|
|
290
|
-
var
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
this.formBind = new FormBind(
|
|
279
|
+
_classCallCheck(this, SubListPageConfig);
|
|
280
|
+
var _props_displayFields, _props_sublists;
|
|
281
|
+
_defineProperty(this, "type", "sublist-page");
|
|
282
|
+
_defineProperty(this, "formBind", void 0);
|
|
283
|
+
_defineProperty(this, "displayFields", void 0);
|
|
284
|
+
_defineProperty(this, "sublists", void 0);
|
|
285
|
+
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
296
286
|
var _props_displayFields_map;
|
|
297
|
-
this.displayFields = (_props_displayFields_map =
|
|
287
|
+
this.displayFields = (_props_displayFields_map = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
298
288
|
return new FieldBindItem(item);
|
|
299
289
|
})) !== null && _props_displayFields_map !== void 0 ? _props_displayFields_map : [];
|
|
300
290
|
var _props_sublists_map;
|
|
301
|
-
this.sublists = (_props_sublists_map =
|
|
291
|
+
this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
302
292
|
return new SubListItem(item);
|
|
303
293
|
})) !== null && _props_sublists_map !== void 0 ? _props_sublists_map : [];
|
|
304
294
|
};
|
|
305
295
|
export var LeftVariable = function LeftVariable(props) {
|
|
306
296
|
"use strict";
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
this.
|
|
312
|
-
this.value = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.value;
|
|
297
|
+
_classCallCheck(this, LeftVariable);
|
|
298
|
+
_defineProperty(this, "type", void 0);
|
|
299
|
+
_defineProperty(this, "value", void 0);
|
|
300
|
+
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
301
|
+
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
313
302
|
};
|
|
314
303
|
export var RightVariable = function RightVariable(props) {
|
|
315
304
|
"use strict";
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
_define_property(this, "displayBos", void 0);
|
|
305
|
+
_classCallCheck(this, RightVariable);
|
|
306
|
+
_defineProperty(this, "type", void 0);
|
|
307
|
+
_defineProperty(this, "value", void 0);
|
|
308
|
+
_defineProperty(this, "displayBos", void 0);
|
|
321
309
|
var _props_type;
|
|
322
|
-
this.type = (_props_type =
|
|
310
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
323
311
|
var _props_value;
|
|
324
|
-
this.value = (_props_value =
|
|
312
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
325
313
|
var _props_displayBos;
|
|
326
|
-
this.displayBos = (_props_displayBos =
|
|
314
|
+
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
327
315
|
};
|
|
328
316
|
/**
|
|
329
317
|
* 连接符条件
|
|
@@ -331,44 +319,42 @@ export var RightVariable = function RightVariable(props) {
|
|
|
331
319
|
*/ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
332
320
|
"use strict";
|
|
333
321
|
var _this = this;
|
|
334
|
-
|
|
335
|
-
var _props, _props1, _props2, _props3, _props4;
|
|
322
|
+
_classCallCheck(this, FieldFilterConditions);
|
|
336
323
|
/**
|
|
337
324
|
* 编号
|
|
338
325
|
* @defaultValue ''
|
|
339
|
-
*/
|
|
326
|
+
*/ _defineProperty(this, "id", void 0);
|
|
340
327
|
/**
|
|
341
328
|
* 规则编号
|
|
342
329
|
* @defaultValue Timestamp
|
|
343
|
-
*/
|
|
330
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
344
331
|
/**
|
|
345
332
|
* 类型:连接符条件
|
|
346
333
|
* @defaultValue 'conditions'
|
|
347
|
-
*/
|
|
334
|
+
*/ _defineProperty(this, "type", "conditions");
|
|
348
335
|
/**
|
|
349
336
|
* 深度
|
|
350
337
|
* @defaultValue 0
|
|
351
|
-
*/
|
|
338
|
+
*/ _defineProperty(this, "level", void 0);
|
|
352
339
|
/**
|
|
353
340
|
* 连接符值
|
|
354
341
|
* @defaultValue 'and'
|
|
355
|
-
*/
|
|
342
|
+
*/ _defineProperty(this, "value", void 0);
|
|
356
343
|
/**
|
|
357
344
|
* 包含子项
|
|
358
345
|
* @defaultValue []
|
|
359
|
-
*/
|
|
346
|
+
*/ _defineProperty(this, "children", void 0);
|
|
360
347
|
var _props_id;
|
|
361
|
-
this.id = (_props_id =
|
|
348
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
362
349
|
var _props_ruleId;
|
|
363
|
-
this.ruleId = (_props_ruleId =
|
|
350
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
364
351
|
var _props_level;
|
|
365
|
-
this.level = (_props_level =
|
|
352
|
+
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
366
353
|
var _props_value;
|
|
367
|
-
this.value = (_props_value =
|
|
354
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "and";
|
|
368
355
|
this.children = [];
|
|
369
|
-
if (Array.isArray(
|
|
370
|
-
|
|
371
|
-
(_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.children.map(function(item) {
|
|
356
|
+
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
357
|
+
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
372
358
|
if (item.children !== undefined) {
|
|
373
359
|
var _this_children;
|
|
374
360
|
var filter = new FieldFilterConditions(item);
|
|
@@ -386,131 +372,127 @@ export var RightVariable = function RightVariable(props) {
|
|
|
386
372
|
* @public
|
|
387
373
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
388
374
|
"use strict";
|
|
389
|
-
|
|
390
|
-
var _props, _props1, _props2, _props3, _props4, _props5, _props6;
|
|
375
|
+
_classCallCheck(this, FieldFilterCondition);
|
|
391
376
|
/**
|
|
392
377
|
* 唯一编号
|
|
393
378
|
* @defaultValue ''
|
|
394
|
-
*/
|
|
379
|
+
*/ _defineProperty(this, "id", void 0);
|
|
395
380
|
/**
|
|
396
381
|
* 规则编号
|
|
397
382
|
* @defaultValue Timestamp
|
|
398
|
-
*/
|
|
383
|
+
*/ _defineProperty(this, "ruleId", void 0);
|
|
399
384
|
/**
|
|
400
385
|
* 类型
|
|
401
386
|
* @defaultValue 'condition'
|
|
402
|
-
*/
|
|
387
|
+
*/ _defineProperty(this, "type", "condition");
|
|
403
388
|
/**
|
|
404
389
|
* 符号
|
|
405
|
-
*/
|
|
406
|
-
|
|
407
|
-
|
|
390
|
+
*/ _defineProperty(this, "symbol", void 0);
|
|
391
|
+
_defineProperty(this, "checked", void 0);
|
|
392
|
+
_defineProperty(this, "describe", void 0);
|
|
408
393
|
/**
|
|
409
394
|
* 左值
|
|
410
|
-
*/
|
|
395
|
+
*/ _defineProperty(this, "leftVariableBo", void 0);
|
|
411
396
|
/**
|
|
412
397
|
* 右值
|
|
413
|
-
*/
|
|
398
|
+
*/ _defineProperty(this, "rightVariableBo", void 0);
|
|
414
399
|
var _props_id;
|
|
415
|
-
this.id = (_props_id =
|
|
400
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
416
401
|
var _props_ruleId;
|
|
417
|
-
this.ruleId = (_props_ruleId =
|
|
402
|
+
this.ruleId = (_props_ruleId = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _props_ruleId !== void 0 ? _props_ruleId : new Date().valueOf();
|
|
418
403
|
var _props_symbol;
|
|
419
|
-
this.symbol = (_props_symbol =
|
|
404
|
+
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : "";
|
|
420
405
|
var _props_checked;
|
|
421
|
-
this.checked = (_props_checked =
|
|
406
|
+
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
422
407
|
var _props_describe;
|
|
423
|
-
this.describe = (_props_describe =
|
|
424
|
-
this.leftVariableBo = new LeftVariable(
|
|
425
|
-
this.rightVariableBo = new RightVariable(
|
|
408
|
+
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : "";
|
|
409
|
+
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
410
|
+
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
426
411
|
};
|
|
427
412
|
export var JoinRelation = function JoinRelation(props) {
|
|
428
413
|
"use strict";
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
_define_property(this, "relationFields", void 0);
|
|
414
|
+
_classCallCheck(this, JoinRelation);
|
|
415
|
+
_defineProperty(this, "aliasCode", void 0);
|
|
416
|
+
_defineProperty(this, "datasourceBind", void 0);
|
|
417
|
+
_defineProperty(this, "relationFields", void 0);
|
|
434
418
|
var _props_aliasCode;
|
|
435
|
-
this.aliasCode = (_props_aliasCode =
|
|
436
|
-
this.datasourceBind = new DataSourceBind(
|
|
419
|
+
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : "";
|
|
420
|
+
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
437
421
|
var _props_relationFields;
|
|
438
|
-
this.relationFields = (_props_relationFields =
|
|
422
|
+
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
439
423
|
};
|
|
440
424
|
/**
|
|
441
425
|
* 数据填充项
|
|
442
426
|
* @public
|
|
443
427
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
444
428
|
"use strict";
|
|
445
|
-
|
|
446
|
-
var _props, _props1, _props2, _props3;
|
|
429
|
+
_classCallCheck(this, MultistageFillingItem);
|
|
447
430
|
/**
|
|
448
431
|
* 控件ID
|
|
449
432
|
* @defaultValue ''
|
|
450
433
|
* @public
|
|
451
|
-
*/
|
|
434
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
452
435
|
/**
|
|
453
436
|
* 字段
|
|
454
437
|
* @defaultValue ''
|
|
455
438
|
* @public
|
|
456
|
-
*/
|
|
439
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
457
440
|
/**
|
|
458
441
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
459
442
|
* @defaultValue ''
|
|
460
443
|
* @public
|
|
461
|
-
*/
|
|
444
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
462
445
|
/**
|
|
463
446
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
464
447
|
* @defaultValue ''
|
|
465
448
|
* @public
|
|
466
|
-
* */
|
|
449
|
+
* */ _defineProperty(this, "propName", void 0);
|
|
467
450
|
var _props_controlId;
|
|
468
|
-
this.controlId = (_props_controlId =
|
|
451
|
+
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
469
452
|
var _props_fieldCode;
|
|
470
|
-
this.fieldCode = (_props_fieldCode =
|
|
453
|
+
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
471
454
|
var _props_fieldType;
|
|
472
|
-
this.fieldType = (_props_fieldType =
|
|
455
|
+
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : "";
|
|
473
456
|
var _props_propName;
|
|
474
|
-
this.propName = (_props_propName =
|
|
457
|
+
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : "";
|
|
475
458
|
};
|
|
476
459
|
/**
|
|
477
460
|
* 显示项
|
|
478
461
|
* @public
|
|
479
462
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
480
463
|
"use strict";
|
|
481
|
-
|
|
482
|
-
var _props, _props1, _props2;
|
|
464
|
+
_classCallCheck(this, DisplayBoListItem);
|
|
483
465
|
/**
|
|
484
466
|
* 显示项类型:字段 | 符号
|
|
485
467
|
* @defaultValue 'FIELD'
|
|
486
468
|
* @public
|
|
487
|
-
*/
|
|
469
|
+
*/ _defineProperty(this, "type", void 0);
|
|
488
470
|
/**
|
|
489
471
|
* 值
|
|
490
|
-
*/
|
|
472
|
+
*/ _defineProperty(this, "value", void 0);
|
|
491
473
|
/**
|
|
492
474
|
* 字段数据类型
|
|
493
|
-
*/
|
|
475
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
494
476
|
var _props_type;
|
|
495
|
-
this.type = (_props_type =
|
|
477
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
496
478
|
var _props_value;
|
|
497
|
-
this.value = (_props_value =
|
|
498
|
-
this.fieldType =
|
|
479
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : "";
|
|
480
|
+
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
499
481
|
};
|
|
500
482
|
/**
|
|
501
483
|
* 数据源排序项
|
|
502
484
|
* @public
|
|
503
485
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
504
486
|
"use strict";
|
|
505
|
-
|
|
487
|
+
_classCallCheck(this, DataSourceOrderItem);
|
|
506
488
|
/**
|
|
507
489
|
* 列名
|
|
508
490
|
* @defaultValue ''
|
|
509
|
-
*/
|
|
491
|
+
*/ _defineProperty(this, "columnName", void 0);
|
|
510
492
|
/**
|
|
511
493
|
* 倒序
|
|
512
494
|
* @defaultValue false
|
|
513
|
-
*/
|
|
495
|
+
*/ _defineProperty(this, "desc", void 0);
|
|
514
496
|
var _props_columnName;
|
|
515
497
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
516
498
|
var _props_desc;
|
|
@@ -518,13 +500,13 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
518
500
|
};
|
|
519
501
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
520
502
|
"use strict";
|
|
521
|
-
|
|
503
|
+
_classCallCheck(this, DataSourceDataSetValue);
|
|
522
504
|
// fieldCode
|
|
523
|
-
|
|
505
|
+
_defineProperty(this, "code", void 0);
|
|
524
506
|
// 值
|
|
525
|
-
|
|
507
|
+
_defineProperty(this, "value", void 0);
|
|
526
508
|
// 数据类型
|
|
527
|
-
|
|
509
|
+
_defineProperty(this, "field_type", void 0);
|
|
528
510
|
var _props_code;
|
|
529
511
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
530
512
|
var _props_value;
|
|
@@ -534,15 +516,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
534
516
|
};
|
|
535
517
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
536
518
|
"use strict";
|
|
537
|
-
|
|
519
|
+
_classCallCheck(this, DataSourceParamItem);
|
|
538
520
|
var _props_orders, _props_dataSet;
|
|
539
521
|
/**
|
|
540
522
|
* 字段ID
|
|
541
|
-
*/
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
523
|
+
*/ _defineProperty(this, "id", void 0);
|
|
524
|
+
_defineProperty(this, "limit", void 0);
|
|
525
|
+
_defineProperty(this, "orders", void 0);
|
|
526
|
+
_defineProperty(this, "formKey", void 0);
|
|
527
|
+
_defineProperty(this, "dataSet", void 0);
|
|
546
528
|
var _props_id;
|
|
547
529
|
//字段ID,不可以当作随机数生成唯一编号
|
|
548
530
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -562,23 +544,23 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
562
544
|
/**
|
|
563
545
|
* 给filters和orders赋值
|
|
564
546
|
* */ function callFiltersAndOrders(props) {
|
|
565
|
-
var _props_filters,
|
|
547
|
+
var _props_filters, _props_viewFilters, _props_orders;
|
|
566
548
|
var _props_filters_map;
|
|
567
|
-
this.filters = (_props_filters_map =
|
|
549
|
+
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
568
550
|
if (item.children !== undefined) {
|
|
569
551
|
return new FieldFilterConditions(item);
|
|
570
552
|
}
|
|
571
553
|
return new FieldFilterCondition(item);
|
|
572
554
|
})) !== null && _props_filters_map !== void 0 ? _props_filters_map : [];
|
|
573
555
|
var _props_viewFilters_map;
|
|
574
|
-
this.viewFilters = (_props_viewFilters_map =
|
|
556
|
+
this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
575
557
|
if (item.children !== undefined) {
|
|
576
558
|
return new FieldFilterConditions(item);
|
|
577
559
|
}
|
|
578
560
|
return new FieldFilterCondition(item);
|
|
579
561
|
})) !== null && _props_viewFilters_map !== void 0 ? _props_viewFilters_map : [];
|
|
580
562
|
var _props_orders_map;
|
|
581
|
-
this.orders = (_props_orders_map =
|
|
563
|
+
this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
582
564
|
return new DataSourceOrderItem(item);
|
|
583
565
|
})) !== null && _props_orders_map !== void 0 ? _props_orders_map : [];
|
|
584
566
|
// }
|
|
@@ -589,170 +571,166 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
589
571
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
590
572
|
"use strict";
|
|
591
573
|
var _this = this;
|
|
592
|
-
|
|
593
|
-
var _props, _props1, _props2, _props3, _props4, _props5, _props6, _props7;
|
|
574
|
+
_classCallCheck(this, DataSourceBind);
|
|
594
575
|
/**
|
|
595
576
|
* 绑定数据源id
|
|
596
577
|
* @defaultValue ''
|
|
597
578
|
* @public
|
|
598
|
-
*/
|
|
579
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
599
580
|
/**
|
|
600
581
|
* 存储值
|
|
601
582
|
* @defaultValue ''
|
|
602
583
|
* @public
|
|
603
|
-
*/
|
|
584
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
604
585
|
/**
|
|
605
586
|
* 显示值
|
|
606
587
|
* @defaultValue []
|
|
607
588
|
* @public
|
|
608
|
-
*/
|
|
589
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
609
590
|
/**
|
|
610
591
|
* 查询关键字参数映射
|
|
611
592
|
* @defaultValue ''
|
|
612
593
|
* @public
|
|
613
|
-
*/
|
|
594
|
+
*/ _defineProperty(this, "keywordMapping", void 0);
|
|
614
595
|
/**
|
|
615
596
|
* 绑定服务
|
|
616
597
|
* @defaultValue ''
|
|
617
598
|
* @public
|
|
618
|
-
*/
|
|
599
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
619
600
|
/**
|
|
620
601
|
* 应用Id
|
|
621
602
|
* @defaultValue ''
|
|
622
603
|
* @public
|
|
623
|
-
*/
|
|
604
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
624
605
|
/**
|
|
625
606
|
* 过滤条件
|
|
626
607
|
* @defaultValue []
|
|
627
608
|
* @public
|
|
628
|
-
*/
|
|
609
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
629
610
|
// 过滤
|
|
630
611
|
/**
|
|
631
612
|
* 过滤条件-查看过滤
|
|
632
613
|
* @defaultValue []
|
|
633
614
|
* @public
|
|
634
|
-
*/
|
|
615
|
+
*/ _defineProperty(this, "viewFilters", void 0);
|
|
635
616
|
/**
|
|
636
617
|
* 是否开启查看过滤
|
|
637
618
|
* @defaultValue 0:未开启;1:开启
|
|
638
619
|
* @public
|
|
639
|
-
*/
|
|
620
|
+
*/ _defineProperty(this, "isOpenViewFilters", void 0);
|
|
640
621
|
/**
|
|
641
622
|
* 排序
|
|
642
623
|
* @defaultValue []
|
|
643
624
|
* @public
|
|
644
|
-
*/
|
|
625
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
645
626
|
/**
|
|
646
627
|
* 显示排序
|
|
647
628
|
* @defaultValue true
|
|
648
629
|
* @public
|
|
649
|
-
*/
|
|
630
|
+
*/ _defineProperty(this, "showOrder", void 0);
|
|
650
631
|
var _props_dataCode;
|
|
651
|
-
this.dataCode = (_props_dataCode =
|
|
632
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
652
633
|
var _props_appId;
|
|
653
|
-
this.appId = (_props_appId =
|
|
634
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
654
635
|
var _props_valueFieldCode;
|
|
655
|
-
this.valueFieldCode = (_props_valueFieldCode =
|
|
636
|
+
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : "";
|
|
656
637
|
this.displayBoList = [];
|
|
657
638
|
var _props_isOpenViewFilters;
|
|
658
|
-
this.isOpenViewFilters = (_props_isOpenViewFilters =
|
|
659
|
-
if (Array.isArray(
|
|
660
|
-
|
|
661
|
-
(_props8 = props) === null || _props8 === void 0 ? void 0 : _props8.displayBoList.map(function(item) {
|
|
639
|
+
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
640
|
+
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
641
|
+
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
662
642
|
var _this_displayBoList;
|
|
663
643
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
664
644
|
});
|
|
665
645
|
}
|
|
666
646
|
var _props_keywordMapping;
|
|
667
|
-
this.keywordMapping = (_props_keywordMapping =
|
|
647
|
+
this.keywordMapping = (_props_keywordMapping = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _props_keywordMapping !== void 0 ? _props_keywordMapping : "";
|
|
668
648
|
var _props_showOrder;
|
|
669
|
-
this.showOrder = (_props_showOrder =
|
|
649
|
+
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
670
650
|
var _props_svcCode;
|
|
671
|
-
this.svcCode = (_props_svcCode =
|
|
651
|
+
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
672
652
|
callFiltersAndOrders.call(this, props);
|
|
673
653
|
};
|
|
674
654
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
675
655
|
"use strict";
|
|
676
|
-
|
|
677
|
-
var _props, _props1;
|
|
656
|
+
_classCallCheck(this, SelectedContentConfig);
|
|
678
657
|
/**
|
|
679
658
|
* 展示已选内容
|
|
680
659
|
* @defaultValue ''
|
|
681
660
|
* @public
|
|
682
|
-
*/
|
|
661
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
683
662
|
/**
|
|
684
663
|
* 展示已选明细
|
|
685
664
|
* @defaultValue []
|
|
686
665
|
* @public
|
|
687
|
-
*/
|
|
666
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
688
667
|
var _props_dataCode;
|
|
689
|
-
this.dataCode = (_props_dataCode =
|
|
668
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
690
669
|
var _props_displayBoList;
|
|
691
|
-
this.displayBoList = (_props_displayBoList =
|
|
670
|
+
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
692
671
|
};
|
|
693
672
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
694
673
|
"use strict";
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
_define_property(this, "priorityProcess", void 0);
|
|
674
|
+
_classCallCheck(this, LinkOperationOption);
|
|
675
|
+
_defineProperty(this, "code", void 0);
|
|
676
|
+
_defineProperty(this, "color", void 0);
|
|
677
|
+
_defineProperty(this, "command", void 0);
|
|
678
|
+
_defineProperty(this, "confirmMessage", void 0);
|
|
679
|
+
_defineProperty(this, "defaultState", void 0);
|
|
680
|
+
_defineProperty(this, "formKey", void 0);
|
|
681
|
+
_defineProperty(this, "icon", void 0);
|
|
682
|
+
_defineProperty(this, "needConfirm", void 0);
|
|
683
|
+
_defineProperty(this, "openType", void 0);
|
|
684
|
+
_defineProperty(this, "priorityProcess", void 0);
|
|
707
685
|
var _props_code;
|
|
708
|
-
this.code = (_props_code =
|
|
686
|
+
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
709
687
|
var _props_color;
|
|
710
|
-
this.color = (_props_color =
|
|
688
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
|
|
711
689
|
var _props_command;
|
|
712
|
-
this.command = (_props_command =
|
|
690
|
+
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
|
|
713
691
|
var _props_confirmMessage;
|
|
714
|
-
this.confirmMessage = (_props_confirmMessage =
|
|
692
|
+
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
715
693
|
var _props_defaultState;
|
|
716
|
-
this.defaultState = (_props_defaultState =
|
|
694
|
+
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
|
|
717
695
|
var _props_formKey;
|
|
718
|
-
this.formKey = (_props_formKey =
|
|
696
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
719
697
|
var _props_icon;
|
|
720
|
-
this.icon = (_props_icon =
|
|
698
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
|
|
721
699
|
var _props_needConfirm;
|
|
722
|
-
this.needConfirm = (_props_needConfirm =
|
|
700
|
+
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
723
701
|
var _props_openType;
|
|
724
|
-
this.openType = (_props_openType =
|
|
702
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
725
703
|
var _props_priorityProcess;
|
|
726
|
-
this.priorityProcess = (_props_priorityProcess =
|
|
704
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
727
705
|
};
|
|
728
706
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
729
707
|
"use strict";
|
|
730
|
-
|
|
731
|
-
var
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
708
|
+
_classCallCheck(this, CustomAttributeItem);
|
|
709
|
+
var _props_value;
|
|
710
|
+
_defineProperty(this, "name", void 0);
|
|
711
|
+
_defineProperty(this, "key", void 0);
|
|
712
|
+
_defineProperty(this, "value", void 0);
|
|
735
713
|
var _props_name;
|
|
736
|
-
this.name = (_props_name =
|
|
714
|
+
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
737
715
|
var _props_key;
|
|
738
|
-
this.key = (_props_key =
|
|
716
|
+
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : "";
|
|
739
717
|
var _props_value_map;
|
|
740
|
-
this.value = (_props_value_map =
|
|
718
|
+
this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
741
719
|
return new DisplayBoListItem(item);
|
|
742
720
|
})) !== null && _props_value_map !== void 0 ? _props_value_map : [];
|
|
743
721
|
};
|
|
744
722
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
745
723
|
"use strict";
|
|
746
724
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
747
|
-
var _super =
|
|
725
|
+
var _super = _createSuper(SuperDataSourceBind);
|
|
748
726
|
function SuperDataSourceBind(props) {
|
|
749
|
-
|
|
727
|
+
_classCallCheck(this, SuperDataSourceBind);
|
|
750
728
|
var _this;
|
|
751
|
-
var _props_attributes
|
|
729
|
+
var _props_attributes;
|
|
752
730
|
_this = _super.call(this, props);
|
|
753
|
-
|
|
731
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
754
732
|
var _props_attributes_map;
|
|
755
|
-
_this.attributes = (_props_attributes_map =
|
|
733
|
+
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
756
734
|
return new CustomAttributeItem(item);
|
|
757
735
|
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
758
736
|
return _this;
|
|
@@ -762,20 +740,20 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
762
740
|
export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
763
741
|
"use strict";
|
|
764
742
|
_inherits(OrganizationDataSourceBind, DataSourceBind);
|
|
765
|
-
var _super =
|
|
743
|
+
var _super = _createSuper(OrganizationDataSourceBind);
|
|
766
744
|
function OrganizationDataSourceBind(props) {
|
|
767
|
-
|
|
745
|
+
_classCallCheck(this, OrganizationDataSourceBind);
|
|
768
746
|
var _this;
|
|
769
|
-
var _props_attributes
|
|
747
|
+
var _props_attributes;
|
|
770
748
|
_this = _super.call(this, props);
|
|
771
|
-
|
|
772
|
-
|
|
749
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
750
|
+
_defineProperty(_assertThisInitialized(_this), "formCode", void 0);
|
|
773
751
|
var _props_attributes_map;
|
|
774
|
-
_this.attributes = (_props_attributes_map =
|
|
752
|
+
_this.attributes = (_props_attributes_map = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
775
753
|
return new CustomAttributeItem(item);
|
|
776
754
|
})) !== null && _props_attributes_map !== void 0 ? _props_attributes_map : [];
|
|
777
755
|
var _props_formCode;
|
|
778
|
-
_this.formCode = (_props_formCode =
|
|
756
|
+
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : "";
|
|
779
757
|
return _this;
|
|
780
758
|
}
|
|
781
759
|
return OrganizationDataSourceBind;
|
|
@@ -783,40 +761,39 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
783
761
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
784
762
|
"use strict";
|
|
785
763
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
786
|
-
var _super =
|
|
764
|
+
var _super = _createSuper(TreeDataSourceBind);
|
|
787
765
|
function TreeDataSourceBind(props) {
|
|
788
|
-
|
|
766
|
+
_classCallCheck(this, TreeDataSourceBind);
|
|
789
767
|
var _this;
|
|
790
|
-
var _props, _props1;
|
|
791
768
|
_this = _super.call(this, props);
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
_this.rootNode = new RightVariable(
|
|
769
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
770
|
+
_defineProperty(_assertThisInitialized(_this), "filterCode", void 0);
|
|
771
|
+
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
795
772
|
var _props_filterCode;
|
|
796
|
-
_this.filterCode = (_props_filterCode =
|
|
773
|
+
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : "";
|
|
797
774
|
return _this;
|
|
798
775
|
}
|
|
799
776
|
return TreeDataSourceBind;
|
|
800
777
|
}(SuperDataSourceBind);
|
|
801
778
|
var FillBind = function FillBind(props) {
|
|
802
779
|
"use strict";
|
|
803
|
-
|
|
804
|
-
var
|
|
780
|
+
_classCallCheck(this, FillBind);
|
|
781
|
+
var _props_fillList;
|
|
805
782
|
/*
|
|
806
783
|
* 需要被填充的数据源
|
|
807
|
-
* */
|
|
784
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
808
785
|
/*
|
|
809
786
|
* appId
|
|
810
|
-
* */
|
|
787
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
811
788
|
/*
|
|
812
789
|
* 执行填充的数据项和控件
|
|
813
|
-
* */
|
|
790
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
814
791
|
var _props_dataCode;
|
|
815
|
-
this.dataCode = (_props_dataCode =
|
|
792
|
+
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
816
793
|
var _props_appId;
|
|
817
|
-
this.appId = (_props_appId =
|
|
794
|
+
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
818
795
|
var _props_fillList_map;
|
|
819
|
-
this.fillList = (_props_fillList_map =
|
|
796
|
+
this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
820
797
|
return new MultistageFillingItem(item);
|
|
821
798
|
})) !== null && _props_fillList_map !== void 0 ? _props_fillList_map : [];
|
|
822
799
|
};
|
|
@@ -827,27 +804,27 @@ var FillBind = function FillBind(props) {
|
|
|
827
804
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
828
805
|
"use strict";
|
|
829
806
|
_inherits(FillPayloadBind, FillBind);
|
|
830
|
-
var _super =
|
|
807
|
+
var _super = _createSuper(FillPayloadBind);
|
|
831
808
|
function FillPayloadBind(props) {
|
|
832
|
-
|
|
809
|
+
_classCallCheck(this, FillPayloadBind);
|
|
833
810
|
var _this;
|
|
834
811
|
_this = _super.call(this, props);
|
|
835
812
|
/**
|
|
836
813
|
* 数据源过滤条件
|
|
837
814
|
* @defaultValue []
|
|
838
815
|
* @public
|
|
839
|
-
**/
|
|
816
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
840
817
|
/**
|
|
841
818
|
* 数据源过滤条件-查看
|
|
842
819
|
* @defaultValue []
|
|
843
820
|
* @public
|
|
844
|
-
**/
|
|
821
|
+
**/ _defineProperty(_assertThisInitialized(_this), "viewFilters", void 0);
|
|
845
822
|
/**
|
|
846
823
|
* 数据源排序条件
|
|
847
824
|
* @defaultValue []
|
|
848
825
|
* @public
|
|
849
|
-
**/
|
|
850
|
-
callFiltersAndOrders.call(
|
|
826
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
827
|
+
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
851
828
|
return _this;
|
|
852
829
|
}
|
|
853
830
|
return FillPayloadBind;
|
|
@@ -858,125 +835,118 @@ var FillBind = function FillBind(props) {
|
|
|
858
835
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
859
836
|
"use strict";
|
|
860
837
|
_inherits(FillBackBind, FillBind);
|
|
861
|
-
var _super =
|
|
838
|
+
var _super = _createSuper(FillBackBind);
|
|
862
839
|
function FillBackBind(props) {
|
|
863
|
-
|
|
840
|
+
_classCallCheck(this, FillBackBind);
|
|
864
841
|
var _this;
|
|
865
|
-
var _props, _props1;
|
|
866
842
|
_this = _super.call(this, props);
|
|
867
843
|
/**
|
|
868
844
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
869
845
|
* @defaultValue 'current'
|
|
870
846
|
* @public
|
|
871
|
-
* */
|
|
847
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
872
848
|
/**
|
|
873
849
|
* 多选
|
|
874
850
|
* @defaultValue false
|
|
875
851
|
* @public
|
|
876
|
-
*/
|
|
852
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
877
853
|
var _props_mode;
|
|
878
|
-
_this.mode = (_props_mode =
|
|
854
|
+
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
879
855
|
var _props_multiple;
|
|
880
|
-
_this.multiple = (_props_multiple =
|
|
856
|
+
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
881
857
|
return _this;
|
|
882
858
|
}
|
|
883
859
|
return FillBackBind;
|
|
884
860
|
}(FillBind);
|
|
885
861
|
export var Language = function Language(props) {
|
|
886
862
|
"use strict";
|
|
887
|
-
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
_define_property(this, "ja", void 0);
|
|
863
|
+
_classCallCheck(this, Language);
|
|
864
|
+
_defineProperty(this, "zh", void 0);
|
|
865
|
+
_defineProperty(this, "en", void 0);
|
|
866
|
+
_defineProperty(this, "ja", void 0);
|
|
892
867
|
var _props_zh;
|
|
893
|
-
this.zh = (_props_zh =
|
|
868
|
+
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
894
869
|
var _props_en;
|
|
895
|
-
this.en = (_props_en =
|
|
870
|
+
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : "";
|
|
896
871
|
var _props_ja;
|
|
897
|
-
this.ja = (_props_ja =
|
|
872
|
+
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : "";
|
|
898
873
|
};
|
|
899
874
|
/**
|
|
900
875
|
* 正则校验
|
|
901
876
|
* @public
|
|
902
877
|
*/ export var RegularRules = function RegularRules(props) {
|
|
903
878
|
"use strict";
|
|
904
|
-
|
|
905
|
-
var _props, _props1, _props2;
|
|
879
|
+
_classCallCheck(this, RegularRules);
|
|
906
880
|
/**
|
|
907
881
|
* 内置模版
|
|
908
882
|
* @defaultValue ''
|
|
909
|
-
*/
|
|
883
|
+
*/ _defineProperty(this, "stencilName", void 0);
|
|
910
884
|
/**
|
|
911
885
|
* 正则表达式
|
|
912
886
|
* @defaultValue ''
|
|
913
|
-
*/
|
|
887
|
+
*/ _defineProperty(this, "expression", void 0);
|
|
914
888
|
/**
|
|
915
889
|
* 校验错误提示信息
|
|
916
890
|
* @defaultValue ''
|
|
917
|
-
*/
|
|
891
|
+
*/ _defineProperty(this, "errMessage", void 0);
|
|
918
892
|
var _props_stencilName;
|
|
919
|
-
this.stencilName = (_props_stencilName =
|
|
893
|
+
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
920
894
|
var _props_expression;
|
|
921
|
-
this.expression = (_props_expression =
|
|
895
|
+
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : "";
|
|
922
896
|
var _props_errMessage;
|
|
923
|
-
this.errMessage = (_props_errMessage =
|
|
897
|
+
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : "";
|
|
924
898
|
};
|
|
925
899
|
/**
|
|
926
900
|
* 选项设置-自定义选项
|
|
927
901
|
* @public
|
|
928
902
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
929
903
|
"use strict";
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
_define_property(this, "id", void 0);
|
|
904
|
+
_classCallCheck(this, OptionSetting);
|
|
905
|
+
_defineProperty(this, "id", void 0);
|
|
933
906
|
/**
|
|
934
907
|
* 显示值
|
|
935
908
|
* @defaultValue ''
|
|
936
909
|
* @public
|
|
937
|
-
*/
|
|
910
|
+
*/ _defineProperty(this, "label", void 0);
|
|
938
911
|
/**
|
|
939
912
|
* 选项ID
|
|
940
913
|
* @defaultValue this.label
|
|
941
914
|
* @public
|
|
942
|
-
*/
|
|
915
|
+
*/ _defineProperty(this, "value", void 0);
|
|
943
916
|
var _props_id;
|
|
944
|
-
this.id = (_props_id =
|
|
917
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
945
918
|
var _props_label;
|
|
946
|
-
this.label = (_props_label =
|
|
919
|
+
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : "";
|
|
947
920
|
var _props_value;
|
|
948
|
-
this.value = (_props_value =
|
|
921
|
+
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
949
922
|
};
|
|
950
923
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
951
924
|
"use strict";
|
|
952
925
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
953
|
-
var _super =
|
|
926
|
+
var _super = _createSuper(ImageOptionSetting);
|
|
954
927
|
function ImageOptionSetting(props) {
|
|
955
|
-
|
|
928
|
+
_classCallCheck(this, ImageOptionSetting);
|
|
956
929
|
var _this;
|
|
957
|
-
var _props, _props1;
|
|
958
930
|
_this = _super.call(this, props);
|
|
959
|
-
|
|
960
|
-
|
|
931
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
932
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
961
933
|
var _props_image;
|
|
962
|
-
_this.image = (_props_image =
|
|
934
|
+
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
963
935
|
var _props_type;
|
|
964
|
-
_this.type = (_props_type =
|
|
936
|
+
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "src";
|
|
965
937
|
return _this;
|
|
966
938
|
}
|
|
967
939
|
return ImageOptionSetting;
|
|
968
940
|
}(OptionSetting);
|
|
969
941
|
export function initOptions(options) {
|
|
970
|
-
var _options;
|
|
971
942
|
var _options_map;
|
|
972
|
-
return (_options_map =
|
|
943
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
973
944
|
return new OptionSetting(item);
|
|
974
945
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
975
946
|
}
|
|
976
947
|
export function initImageOptions(options) {
|
|
977
|
-
var _options;
|
|
978
948
|
var _options_map;
|
|
979
|
-
return (_options_map =
|
|
949
|
+
return (_options_map = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
980
950
|
return new ImageOptionSetting(item);
|
|
981
951
|
})) !== null && _options_map !== void 0 ? _options_map : [];
|
|
982
952
|
}
|
|
@@ -985,7 +955,7 @@ export function initImageOptions(options) {
|
|
|
985
955
|
* @public
|
|
986
956
|
*/ export var ObjectDataBind = function ObjectDataBind() {
|
|
987
957
|
"use strict";
|
|
988
|
-
|
|
958
|
+
_classCallCheck(this, ObjectDataBind);
|
|
989
959
|
};
|
|
990
960
|
/**
|
|
991
961
|
* 金额控件数据绑定配置
|
|
@@ -993,20 +963,19 @@ export function initImageOptions(options) {
|
|
|
993
963
|
*/ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
994
964
|
"use strict";
|
|
995
965
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
996
|
-
var _super =
|
|
966
|
+
var _super = _createSuper(AmountDataBind);
|
|
997
967
|
function AmountDataBind(props) {
|
|
998
|
-
|
|
968
|
+
_classCallCheck(this, AmountDataBind);
|
|
999
969
|
var _this;
|
|
1000
|
-
var _props, _props1;
|
|
1001
970
|
_this = _super.call(this);
|
|
1002
971
|
/**
|
|
1003
972
|
* 金额字段绑定配置
|
|
1004
|
-
*/
|
|
973
|
+
*/ _defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
1005
974
|
/**
|
|
1006
975
|
* 币种字段绑定配置
|
|
1007
|
-
*/
|
|
1008
|
-
_this.amount = new DataBind(
|
|
1009
|
-
_this.currency = new DataBind(
|
|
976
|
+
*/ _defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
977
|
+
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
978
|
+
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
1010
979
|
return _this;
|
|
1011
980
|
}
|
|
1012
981
|
return AmountDataBind;
|
|
@@ -1016,20 +985,19 @@ export function initImageOptions(options) {
|
|
|
1016
985
|
* @public
|
|
1017
986
|
*/ export var AmountValue = function AmountValue(props) {
|
|
1018
987
|
"use strict";
|
|
1019
|
-
|
|
1020
|
-
var _props, _props1;
|
|
988
|
+
_classCallCheck(this, AmountValue);
|
|
1021
989
|
/**
|
|
1022
990
|
* 金额值
|
|
1023
991
|
* @defaultValue ''
|
|
1024
|
-
*/
|
|
992
|
+
*/ _defineProperty(this, "amount", void 0);
|
|
1025
993
|
/**
|
|
1026
994
|
* 货币值
|
|
1027
995
|
* @defaultValue 'CNY'
|
|
1028
|
-
*/
|
|
996
|
+
*/ _defineProperty(this, "currency", void 0);
|
|
1029
997
|
var _props_amount;
|
|
1030
|
-
this.amount = (_props_amount =
|
|
998
|
+
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
1031
999
|
var _props_currency;
|
|
1032
|
-
this.currency = (_props_currency =
|
|
1000
|
+
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : AMOUNT_TYPE.CNY;
|
|
1033
1001
|
};
|
|
1034
1002
|
/**
|
|
1035
1003
|
* 日期区间数据绑定项
|
|
@@ -1037,20 +1005,19 @@ export function initImageOptions(options) {
|
|
|
1037
1005
|
*/ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1038
1006
|
"use strict";
|
|
1039
1007
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
1040
|
-
var _super =
|
|
1008
|
+
var _super = _createSuper(RangeDataBind);
|
|
1041
1009
|
function RangeDataBind(props) {
|
|
1042
|
-
|
|
1010
|
+
_classCallCheck(this, RangeDataBind);
|
|
1043
1011
|
var _this;
|
|
1044
|
-
var _props, _props1;
|
|
1045
1012
|
_this = _super.call(this);
|
|
1046
1013
|
/**
|
|
1047
1014
|
* 开始日期字段绑定项
|
|
1048
|
-
*/
|
|
1015
|
+
*/ _defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
1049
1016
|
/**
|
|
1050
1017
|
* 结束日期字段绑定项
|
|
1051
|
-
*/
|
|
1052
|
-
_this.min = new DataBind(
|
|
1053
|
-
_this.max = new DataBind(
|
|
1018
|
+
*/ _defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
1019
|
+
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
1020
|
+
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
1054
1021
|
return _this;
|
|
1055
1022
|
}
|
|
1056
1023
|
return RangeDataBind;
|
|
@@ -1060,64 +1027,62 @@ export function initImageOptions(options) {
|
|
|
1060
1027
|
* @public
|
|
1061
1028
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1062
1029
|
"use strict";
|
|
1063
|
-
|
|
1064
|
-
var _props, _props1;
|
|
1030
|
+
_classCallCheck(this, RangeDateValue);
|
|
1065
1031
|
/**
|
|
1066
1032
|
* 开始日期值
|
|
1067
1033
|
* @defaultValue ''
|
|
1068
|
-
*/
|
|
1034
|
+
*/ _defineProperty(this, "min", void 0);
|
|
1069
1035
|
/**
|
|
1070
1036
|
* 结束日期值
|
|
1071
1037
|
* @defaultValue ''
|
|
1072
|
-
*/
|
|
1038
|
+
*/ _defineProperty(this, "max", void 0);
|
|
1073
1039
|
var _props_min;
|
|
1074
|
-
this.min = (_props_min =
|
|
1040
|
+
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
1075
1041
|
var _props_max;
|
|
1076
|
-
this.max = (_props_max =
|
|
1042
|
+
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
|
|
1077
1043
|
};
|
|
1078
1044
|
/**
|
|
1079
1045
|
* 地址值
|
|
1080
1046
|
* @public
|
|
1081
1047
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1082
1048
|
"use strict";
|
|
1083
|
-
|
|
1084
|
-
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
1049
|
+
_classCallCheck(this, AddressValue);
|
|
1085
1050
|
/**
|
|
1086
1051
|
* 市编码
|
|
1087
1052
|
* @defaultValue ''
|
|
1088
|
-
*/
|
|
1053
|
+
*/ _defineProperty(this, "city", void 0);
|
|
1089
1054
|
/**
|
|
1090
1055
|
* 市显示文字
|
|
1091
1056
|
* @defaultValue ''
|
|
1092
|
-
*/
|
|
1057
|
+
*/ _defineProperty(this, "cityDisplay", void 0);
|
|
1093
1058
|
/**
|
|
1094
1059
|
* 区编码
|
|
1095
1060
|
* @defaultValue ''
|
|
1096
|
-
*/
|
|
1061
|
+
*/ _defineProperty(this, "district", void 0);
|
|
1097
1062
|
/**
|
|
1098
1063
|
* 区显示文字
|
|
1099
1064
|
* @defaultValue ''
|
|
1100
|
-
*/
|
|
1065
|
+
*/ _defineProperty(this, "districtDisplay", void 0);
|
|
1101
1066
|
/**
|
|
1102
1067
|
* 省编码
|
|
1103
1068
|
* @defaultValue ''
|
|
1104
|
-
*/
|
|
1069
|
+
*/ _defineProperty(this, "province", void 0);
|
|
1105
1070
|
/**
|
|
1106
1071
|
* 省显示文字
|
|
1107
1072
|
* @defaultValue ''
|
|
1108
|
-
*/
|
|
1073
|
+
*/ _defineProperty(this, "provinceDisplay", void 0);
|
|
1109
1074
|
var _props_city;
|
|
1110
|
-
this.city = (_props_city =
|
|
1075
|
+
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
1111
1076
|
var _props_cityDisplay;
|
|
1112
|
-
this.cityDisplay = (_props_cityDisplay =
|
|
1077
|
+
this.cityDisplay = (_props_cityDisplay = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _props_cityDisplay !== void 0 ? _props_cityDisplay : "";
|
|
1113
1078
|
var _props_district;
|
|
1114
|
-
this.district = (_props_district =
|
|
1079
|
+
this.district = (_props_district = props === null || props === void 0 ? void 0 : props.district) !== null && _props_district !== void 0 ? _props_district : "";
|
|
1115
1080
|
var _props_districtDisplay;
|
|
1116
|
-
this.districtDisplay = (_props_districtDisplay =
|
|
1081
|
+
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : "";
|
|
1117
1082
|
var _props_province;
|
|
1118
|
-
this.province = (_props_province =
|
|
1083
|
+
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : "";
|
|
1119
1084
|
var _props_provinceDisplay;
|
|
1120
|
-
this.provinceDisplay = (_props_provinceDisplay =
|
|
1085
|
+
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : "";
|
|
1121
1086
|
};
|
|
1122
1087
|
/**
|
|
1123
1088
|
* 计算公式数据绑定项
|
|
@@ -1125,20 +1090,19 @@ export function initImageOptions(options) {
|
|
|
1125
1090
|
*/ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
1126
1091
|
"use strict";
|
|
1127
1092
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
1128
|
-
var _super =
|
|
1093
|
+
var _super = _createSuper(CalcDataBind);
|
|
1129
1094
|
function CalcDataBind(props) {
|
|
1130
|
-
|
|
1095
|
+
_classCallCheck(this, CalcDataBind);
|
|
1131
1096
|
var _this;
|
|
1132
|
-
var _props, _props1;
|
|
1133
1097
|
_this = _super.call(this);
|
|
1134
1098
|
/**
|
|
1135
1099
|
* 计算结果字段绑定项
|
|
1136
|
-
*/
|
|
1100
|
+
*/ _defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
1137
1101
|
/**
|
|
1138
1102
|
* 单位字段绑定项
|
|
1139
|
-
*/
|
|
1140
|
-
_this.result = new DataBind(
|
|
1141
|
-
_this.unit = new DataBind(
|
|
1103
|
+
*/ _defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
1104
|
+
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
1105
|
+
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
1142
1106
|
return _this;
|
|
1143
1107
|
}
|
|
1144
1108
|
return CalcDataBind;
|
|
@@ -1148,20 +1112,19 @@ export function initImageOptions(options) {
|
|
|
1148
1112
|
* @public
|
|
1149
1113
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1150
1114
|
"use strict";
|
|
1151
|
-
|
|
1152
|
-
var _props, _props1;
|
|
1115
|
+
_classCallCheck(this, CalcValue);
|
|
1153
1116
|
/**
|
|
1154
1117
|
* 计算结果值
|
|
1155
1118
|
* @defaultValue 0
|
|
1156
|
-
*/
|
|
1119
|
+
*/ _defineProperty(this, "result", void 0);
|
|
1157
1120
|
/**
|
|
1158
1121
|
* 单位
|
|
1159
1122
|
* @defaultValue ''
|
|
1160
|
-
*/
|
|
1123
|
+
*/ _defineProperty(this, "unit", void 0);
|
|
1161
1124
|
var _props_result;
|
|
1162
|
-
this.result = (_props_result =
|
|
1125
|
+
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
1163
1126
|
var _props_unit;
|
|
1164
|
-
this.unit = (_props_unit =
|
|
1127
|
+
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : "";
|
|
1165
1128
|
};
|
|
1166
1129
|
export var AMOUNT_TYPE;
|
|
1167
1130
|
(function(AMOUNT_TYPE) {
|
|
@@ -1238,62 +1201,61 @@ export var PAGE_STATUS;
|
|
|
1238
1201
|
* @public
|
|
1239
1202
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1240
1203
|
"use strict";
|
|
1241
|
-
|
|
1242
|
-
var _props, _props1, _props2, _props3, _props4, _props5;
|
|
1204
|
+
_classCallCheck(this, OperationItem);
|
|
1243
1205
|
/**
|
|
1244
1206
|
* 是否显示
|
|
1245
1207
|
* @defaultValue true
|
|
1246
1208
|
* @public
|
|
1247
|
-
*/
|
|
1209
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
1248
1210
|
/**
|
|
1249
1211
|
* 优先访问流程表单
|
|
1250
1212
|
* @defaultValue false
|
|
1251
1213
|
* @public
|
|
1252
|
-
*/
|
|
1214
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
1253
1215
|
/**
|
|
1254
1216
|
* 表单ID
|
|
1255
1217
|
* @defaultValue ''
|
|
1256
1218
|
* @public
|
|
1257
|
-
*/
|
|
1219
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
1258
1220
|
/**
|
|
1259
1221
|
* 显示文字
|
|
1260
1222
|
* @defaultValue ''
|
|
1261
1223
|
* @public
|
|
1262
|
-
*/
|
|
1224
|
+
*/ _defineProperty(this, "content", void 0);
|
|
1263
1225
|
/**
|
|
1264
1226
|
* 打开方式
|
|
1265
1227
|
* @defaultValue 'modal'
|
|
1266
1228
|
* @public
|
|
1267
|
-
*/
|
|
1268
|
-
|
|
1229
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
1230
|
+
_defineProperty(this, "type", void 0);
|
|
1269
1231
|
var _props_isShow;
|
|
1270
|
-
this.isShow = (_props_isShow =
|
|
1232
|
+
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1271
1233
|
var _props_content;
|
|
1272
|
-
this.content = (_props_content =
|
|
1234
|
+
this.content = (_props_content = props === null || props === void 0 ? void 0 : props.content) !== null && _props_content !== void 0 ? _props_content : "";
|
|
1273
1235
|
var _props_formKey;
|
|
1274
|
-
this.formKey = (_props_formKey =
|
|
1236
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : "";
|
|
1275
1237
|
var _props_openType;
|
|
1276
|
-
this.openType = (_props_openType =
|
|
1238
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
1277
1239
|
var _props_type;
|
|
1278
|
-
this.type = (_props_type =
|
|
1240
|
+
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "";
|
|
1279
1241
|
var _props_priorityProcess;
|
|
1280
|
-
this.priorityProcess = (_props_priorityProcess =
|
|
1242
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1281
1243
|
};
|
|
1282
1244
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1283
1245
|
"use strict";
|
|
1284
|
-
|
|
1285
|
-
var
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1246
|
+
_classCallCheck(this, ViewOperationItem);
|
|
1247
|
+
var _props_headers;
|
|
1248
|
+
_defineProperty(this, "id", void 0);
|
|
1249
|
+
_defineProperty(this, "title", void 0);
|
|
1250
|
+
_defineProperty(this, "filters", void 0);
|
|
1251
|
+
_defineProperty(this, "viewFilters", void 0);
|
|
1252
|
+
_defineProperty(this, "headers", void 0);
|
|
1291
1253
|
var _props_id;
|
|
1292
|
-
this.id = (_props_id =
|
|
1254
|
+
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1293
1255
|
var _props_title;
|
|
1294
|
-
this.title = (_props_title =
|
|
1256
|
+
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
1295
1257
|
var _props_headers_map;
|
|
1296
|
-
this.headers = (_props_headers_map =
|
|
1258
|
+
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1297
1259
|
return new ListBindHeaderItem(item);
|
|
1298
1260
|
})) !== null && _props_headers_map !== void 0 ? _props_headers_map : [];
|
|
1299
1261
|
callFiltersAndOrders.call(this, props);
|
|
@@ -1302,13 +1264,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1302
1264
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1303
1265
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1304
1266
|
"use strict";
|
|
1305
|
-
|
|
1267
|
+
_classCallCheck(this, CustomPermissionItem);
|
|
1306
1268
|
/**
|
|
1307
1269
|
* 人工输入的权限key
|
|
1308
|
-
*/
|
|
1270
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1309
1271
|
/**
|
|
1310
1272
|
* 权限名称
|
|
1311
|
-
*/
|
|
1273
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
1312
1274
|
var _props_key;
|
|
1313
1275
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1314
1276
|
var _props_caption;
|
|
@@ -1316,37 +1278,35 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1316
1278
|
};
|
|
1317
1279
|
export var BaseStyle = function BaseStyle(props) {
|
|
1318
1280
|
"use strict";
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
_define_property(this, "heightConfig", void 0);
|
|
1281
|
+
_classCallCheck(this, BaseStyle);
|
|
1282
|
+
_defineProperty(this, "width", void 0);
|
|
1283
|
+
_defineProperty(this, "height", void 0);
|
|
1284
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1285
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
1325
1286
|
var _props_width;
|
|
1326
|
-
this.width = (_props_width =
|
|
1287
|
+
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1327
1288
|
var _props_height;
|
|
1328
|
-
this.height = (_props_height =
|
|
1289
|
+
this.height = (_props_height = props === null || props === void 0 ? void 0 : props.height) !== null && _props_height !== void 0 ? _props_height : "";
|
|
1329
1290
|
var _props_widthConfig;
|
|
1330
|
-
this.widthConfig = (_props_widthConfig =
|
|
1291
|
+
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : "fill";
|
|
1331
1292
|
var _props_heightConfig;
|
|
1332
|
-
this.heightConfig = (_props_heightConfig =
|
|
1293
|
+
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : "fill";
|
|
1333
1294
|
};
|
|
1334
1295
|
export var OptObject = function OptObject(props) {
|
|
1335
1296
|
"use strict";
|
|
1336
|
-
|
|
1337
|
-
var _props, _props1;
|
|
1297
|
+
_classCallCheck(this, OptObject);
|
|
1338
1298
|
/**
|
|
1339
1299
|
* 操作项编码
|
|
1340
1300
|
* @defaultValue ''
|
|
1341
1301
|
* @public
|
|
1342
|
-
*/
|
|
1302
|
+
*/ _defineProperty(this, "optCode", void 0);
|
|
1343
1303
|
/**
|
|
1344
1304
|
* 操作项类型
|
|
1345
1305
|
* @defaultValue ''
|
|
1346
1306
|
* @public
|
|
1347
|
-
*/
|
|
1307
|
+
*/ _defineProperty(this, "optType", void 0);
|
|
1348
1308
|
var _props_optCode;
|
|
1349
|
-
this.optCode = (_props_optCode =
|
|
1309
|
+
this.optCode = (_props_optCode = props === null || props === void 0 ? void 0 : props.optCode) !== null && _props_optCode !== void 0 ? _props_optCode : "";
|
|
1350
1310
|
var _props_optType;
|
|
1351
|
-
this.optType = (_props_optType =
|
|
1311
|
+
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : "";
|
|
1352
1312
|
};
|