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