@byteluck-fe/model-driven-core 2.3.1 → 2.5.0-alpha.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 +53 -53
- 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 +58 -58
- 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 +55 -55
- 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 +244 -209
- package/dist/index.umd.js +1 -1
- package/dist/types/framework/index.d.ts +14 -0
- package/package.json +2 -2
|
@@ -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,22 +96,22 @@ 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
|
-
*/
|
|
114
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
115
115
|
var _props_dataCode;
|
|
116
116
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
117
117
|
var _props_fieldCode;
|
|
@@ -121,10 +121,10 @@ export * from "./RegisterControls";
|
|
|
121
121
|
};
|
|
122
122
|
export var AutoWidth = function AutoWidth(props) {
|
|
123
123
|
"use strict";
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
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);
|
|
128
128
|
var _props_minWidth;
|
|
129
129
|
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
130
130
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
@@ -134,13 +134,13 @@ export var AutoWidth = function AutoWidth(props) {
|
|
|
134
134
|
export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
135
135
|
"use strict";
|
|
136
136
|
_inherits(MetaWidth, AutoWidth);
|
|
137
|
-
var _super =
|
|
137
|
+
var _super = _create_super(MetaWidth);
|
|
138
138
|
function MetaWidth(props) {
|
|
139
|
-
|
|
139
|
+
_class_call_check(this, MetaWidth);
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _super.call(this, props);
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
_define_property(_assert_this_initialized(_this), "width", void 0);
|
|
143
|
+
_define_property(_assert_this_initialized(_this), "widthType", void 0);
|
|
144
144
|
var _props_width;
|
|
145
145
|
_this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : 240;
|
|
146
146
|
var _props_widthType;
|
|
@@ -151,9 +151,9 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
151
151
|
}(AutoWidth);
|
|
152
152
|
export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
153
153
|
"use strict";
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
154
|
+
_class_call_check(this, MetaAutoWidth);
|
|
155
|
+
_define_property(this, "pc", void 0);
|
|
156
|
+
_define_property(this, "mobile", void 0);
|
|
157
157
|
this.pc = new MetaWidth(props === null || props === void 0 ? void 0 : props.pc);
|
|
158
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({
|
|
159
159
|
width: 130,
|
|
@@ -162,9 +162,9 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
162
162
|
};
|
|
163
163
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
164
164
|
"use strict";
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
165
|
+
_class_call_check(this, DataStorageDoc);
|
|
166
|
+
_define_property(this, "type", void 0);
|
|
167
|
+
_define_property(this, "customOptions", void 0);
|
|
168
168
|
var _props_type;
|
|
169
169
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "firstThree";
|
|
170
170
|
var _props_customOptions;
|
|
@@ -172,10 +172,10 @@ export var DataStorageDoc = function DataStorageDoc(props) {
|
|
|
172
172
|
};
|
|
173
173
|
export var FormBind = function FormBind(props) {
|
|
174
174
|
"use strict";
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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);
|
|
179
179
|
var _props_dataCode;
|
|
180
180
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
181
181
|
var _props_formKey;
|
|
@@ -186,12 +186,12 @@ export var FormBind = function FormBind(props) {
|
|
|
186
186
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
187
187
|
"use strict";
|
|
188
188
|
_inherits(FormSelectBind, FormBind);
|
|
189
|
-
var _super =
|
|
189
|
+
var _super = _create_super(FormSelectBind);
|
|
190
190
|
function FormSelectBind(props) {
|
|
191
|
-
|
|
191
|
+
_class_call_check(this, FormSelectBind);
|
|
192
192
|
var _this;
|
|
193
193
|
_this = _super.call(this, props);
|
|
194
|
-
|
|
194
|
+
_define_property(_assert_this_initialized(_this), "primaryControlId", void 0);
|
|
195
195
|
var _props_primaryControlId;
|
|
196
196
|
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : "";
|
|
197
197
|
return _this;
|
|
@@ -200,8 +200,8 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
200
200
|
}(FormBind);
|
|
201
201
|
var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
202
202
|
"use strict";
|
|
203
|
-
|
|
204
|
-
|
|
203
|
+
_class_call_check(this, ListBindHeaderItem);
|
|
204
|
+
_define_property(this, "fieldCode", void 0);
|
|
205
205
|
var _props_fieldCode;
|
|
206
206
|
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : "";
|
|
207
207
|
};
|
|
@@ -209,20 +209,20 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
209
209
|
* 列表绑定配置
|
|
210
210
|
*/ export var ListBind = function ListBind(props) {
|
|
211
211
|
"use strict";
|
|
212
|
-
|
|
212
|
+
_class_call_check(this, ListBind);
|
|
213
213
|
var _props_headers;
|
|
214
214
|
/**
|
|
215
215
|
* 应用ID
|
|
216
216
|
* @public
|
|
217
|
-
*/
|
|
217
|
+
*/ _define_property(this, "appId", void 0);
|
|
218
218
|
/**
|
|
219
219
|
* 表单ID
|
|
220
220
|
* @public
|
|
221
|
-
*/
|
|
221
|
+
*/ _define_property(this, "formKey", void 0);
|
|
222
222
|
/**
|
|
223
223
|
* 显示字段
|
|
224
224
|
* @public
|
|
225
|
-
*/
|
|
225
|
+
*/ _define_property(this, "headers", void 0);
|
|
226
226
|
var _props_appId;
|
|
227
227
|
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : "";
|
|
228
228
|
var _props_formKey;
|
|
@@ -234,10 +234,10 @@ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
|
234
234
|
};
|
|
235
235
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
236
236
|
"use strict";
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
237
|
+
_class_call_check(this, FieldBindItem);
|
|
238
|
+
_define_property(this, "fieldName", void 0);
|
|
239
|
+
_define_property(this, "fieldCode", void 0);
|
|
240
|
+
_define_property(this, "fieldType", void 0);
|
|
241
241
|
var _props_fieldName;
|
|
242
242
|
this.fieldName = (_props_fieldName = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _props_fieldName !== void 0 ? _props_fieldName : "";
|
|
243
243
|
var _props_fieldCode;
|
|
@@ -248,15 +248,15 @@ export var FieldBindItem = function FieldBindItem(props) {
|
|
|
248
248
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
249
249
|
"use strict";
|
|
250
250
|
_inherits(SubListItem, FormBind);
|
|
251
|
-
var _super =
|
|
251
|
+
var _super = _create_super(SubListItem);
|
|
252
252
|
function SubListItem(props) {
|
|
253
|
-
|
|
253
|
+
_class_call_check(this, SubListItem);
|
|
254
254
|
var _this;
|
|
255
255
|
_this = _super.call(this, props);
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
256
|
+
_define_property(_assert_this_initialized(_this), "title", void 0);
|
|
257
|
+
_define_property(_assert_this_initialized(_this), "svcCode", void 0);
|
|
258
|
+
_define_property(_assert_this_initialized(_this), "isOpenFilter", void 0);
|
|
259
|
+
_define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
260
260
|
var _props_title;
|
|
261
261
|
_this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : "";
|
|
262
262
|
var _props_svcCode;
|
|
@@ -271,12 +271,12 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
271
271
|
}(FormBind);
|
|
272
272
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
273
273
|
"use strict";
|
|
274
|
-
|
|
274
|
+
_class_call_check(this, SubListPageConfig);
|
|
275
275
|
var _props_displayFields, _props_sublists;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
276
|
+
_define_property(this, "type", "sublist-page");
|
|
277
|
+
_define_property(this, "formBind", void 0);
|
|
278
|
+
_define_property(this, "displayFields", void 0);
|
|
279
|
+
_define_property(this, "sublists", void 0);
|
|
280
280
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
281
281
|
var _props_displayFields_map;
|
|
282
282
|
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) {
|
|
@@ -289,18 +289,18 @@ export var SubListPageConfig = function SubListPageConfig(props) {
|
|
|
289
289
|
};
|
|
290
290
|
export var LeftVariable = function LeftVariable(props) {
|
|
291
291
|
"use strict";
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
292
|
+
_class_call_check(this, LeftVariable);
|
|
293
|
+
_define_property(this, "type", void 0);
|
|
294
|
+
_define_property(this, "value", void 0);
|
|
295
295
|
this.type = props === null || props === void 0 ? void 0 : props.type;
|
|
296
296
|
this.value = props === null || props === void 0 ? void 0 : props.value;
|
|
297
297
|
};
|
|
298
298
|
export var RightVariable = function RightVariable(props) {
|
|
299
299
|
"use strict";
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
300
|
+
_class_call_check(this, RightVariable);
|
|
301
|
+
_define_property(this, "type", void 0);
|
|
302
|
+
_define_property(this, "value", void 0);
|
|
303
|
+
_define_property(this, "displayBos", void 0);
|
|
304
304
|
var _props_type;
|
|
305
305
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "custom";
|
|
306
306
|
var _props_value;
|
|
@@ -311,13 +311,13 @@ export var RightVariable = function RightVariable(props) {
|
|
|
311
311
|
export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
312
312
|
"use strict";
|
|
313
313
|
var _this = this;
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
314
|
+
_class_call_check(this, FieldFilterConditions);
|
|
315
|
+
_define_property(this, "id", void 0);
|
|
316
|
+
_define_property(this, "ruleId", void 0);
|
|
317
|
+
_define_property(this, "type", "conditions");
|
|
318
|
+
_define_property(this, "level", void 0);
|
|
319
|
+
_define_property(this, "value", void 0);
|
|
320
|
+
_define_property(this, "children", void 0);
|
|
321
321
|
var _props_id;
|
|
322
322
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
323
323
|
var _props_ruleId;
|
|
@@ -343,15 +343,15 @@ export var FieldFilterConditions = function FieldFilterConditions(props) {
|
|
|
343
343
|
};
|
|
344
344
|
export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
345
345
|
"use strict";
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
346
|
+
_class_call_check(this, FieldFilterCondition);
|
|
347
|
+
_define_property(this, "id", void 0);
|
|
348
|
+
_define_property(this, "ruleId", void 0);
|
|
349
|
+
_define_property(this, "type", "condition");
|
|
350
|
+
_define_property(this, "symbol", void 0);
|
|
351
|
+
_define_property(this, "checked", void 0);
|
|
352
|
+
_define_property(this, "describe", void 0);
|
|
353
|
+
_define_property(this, "leftVariableBo", void 0);
|
|
354
|
+
_define_property(this, "rightVariableBo", void 0);
|
|
355
355
|
var _props_id;
|
|
356
356
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId();
|
|
357
357
|
var _props_ruleId;
|
|
@@ -370,27 +370,27 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
370
370
|
* @public
|
|
371
371
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
372
372
|
"use strict";
|
|
373
|
-
|
|
373
|
+
_class_call_check(this, MultistageFillingItem);
|
|
374
374
|
/**
|
|
375
375
|
* 控件ID
|
|
376
376
|
* @defaultValue ''
|
|
377
377
|
* @public
|
|
378
|
-
*/
|
|
378
|
+
*/ _define_property(this, "controlId", void 0);
|
|
379
379
|
/**
|
|
380
380
|
* 字段
|
|
381
381
|
* @defaultValue ''
|
|
382
382
|
* @public
|
|
383
|
-
*/
|
|
383
|
+
*/ _define_property(this, "fieldCode", void 0);
|
|
384
384
|
/**
|
|
385
385
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
386
386
|
* @defaultValue ''
|
|
387
387
|
* @public
|
|
388
|
-
*/
|
|
388
|
+
*/ _define_property(this, "fieldType", void 0);
|
|
389
389
|
/**
|
|
390
390
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
391
391
|
* @defaultValue ''
|
|
392
392
|
* @public
|
|
393
|
-
* */
|
|
393
|
+
* */ _define_property(this, "propName", void 0);
|
|
394
394
|
var _props_controlId;
|
|
395
395
|
this.controlId = (_props_controlId = props === null || props === void 0 ? void 0 : props.controlId) !== null && _props_controlId !== void 0 ? _props_controlId : "";
|
|
396
396
|
var _props_fieldCode;
|
|
@@ -402,10 +402,10 @@ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
|
402
402
|
};
|
|
403
403
|
export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
404
404
|
"use strict";
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
405
|
+
_class_call_check(this, DisplayBoListItem);
|
|
406
|
+
_define_property(this, "type", void 0);
|
|
407
|
+
_define_property(this, "value", void 0);
|
|
408
|
+
_define_property(this, "fieldType", void 0);
|
|
409
409
|
var _props_type;
|
|
410
410
|
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : "FIELD";
|
|
411
411
|
var _props_value;
|
|
@@ -414,9 +414,9 @@ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
|
414
414
|
};
|
|
415
415
|
export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
416
416
|
"use strict";
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
417
|
+
_class_call_check(this, DataSourceOrderItem);
|
|
418
|
+
_define_property(this, "columnName", void 0);
|
|
419
|
+
_define_property(this, "desc", void 0);
|
|
420
420
|
var _props_columnName;
|
|
421
421
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : "";
|
|
422
422
|
var _props_desc;
|
|
@@ -424,13 +424,13 @@ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
|
424
424
|
};
|
|
425
425
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
426
426
|
"use strict";
|
|
427
|
-
|
|
427
|
+
_class_call_check(this, DataSourceDataSetValue);
|
|
428
428
|
// fieldCode
|
|
429
|
-
|
|
429
|
+
_define_property(this, "code", void 0);
|
|
430
430
|
// 值
|
|
431
|
-
|
|
431
|
+
_define_property(this, "value", void 0);
|
|
432
432
|
// 数据类型
|
|
433
|
-
|
|
433
|
+
_define_property(this, "field_type", void 0);
|
|
434
434
|
var _props_code;
|
|
435
435
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : "";
|
|
436
436
|
var _props_value;
|
|
@@ -440,15 +440,15 @@ export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
|
440
440
|
};
|
|
441
441
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
442
442
|
"use strict";
|
|
443
|
-
|
|
443
|
+
_class_call_check(this, DataSourceParamItem);
|
|
444
444
|
var _props_orders, _props_dataSet;
|
|
445
445
|
/**
|
|
446
446
|
* 字段ID
|
|
447
|
-
*/
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
*/ _define_property(this, "id", void 0);
|
|
448
|
+
_define_property(this, "limit", void 0);
|
|
449
|
+
_define_property(this, "orders", void 0);
|
|
450
|
+
_define_property(this, "formKey", void 0);
|
|
451
|
+
_define_property(this, "dataSet", void 0);
|
|
452
452
|
var _props_id;
|
|
453
453
|
//字段ID,不可以当作随机数生成唯一编号
|
|
454
454
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : "";
|
|
@@ -490,48 +490,48 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
490
490
|
*/ export var DataSourceBind = function DataSourceBind(props) {
|
|
491
491
|
"use strict";
|
|
492
492
|
var _this = this;
|
|
493
|
-
|
|
493
|
+
_class_call_check(this, DataSourceBind);
|
|
494
494
|
/**
|
|
495
495
|
* 绑定数据源id
|
|
496
496
|
* @defaultValue ''
|
|
497
497
|
* @public
|
|
498
|
-
*/
|
|
498
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
499
499
|
/**
|
|
500
500
|
* 存储值
|
|
501
501
|
* @defaultValue ''
|
|
502
502
|
* @public
|
|
503
|
-
*/
|
|
503
|
+
*/ _define_property(this, "valueFieldCode", void 0);
|
|
504
504
|
/**
|
|
505
505
|
* 显示值
|
|
506
506
|
* @defaultValue []
|
|
507
507
|
* @public
|
|
508
|
-
*/
|
|
508
|
+
*/ _define_property(this, "displayBoList", void 0);
|
|
509
509
|
/**
|
|
510
510
|
* 绑定服务
|
|
511
511
|
* @defaultValue ''
|
|
512
512
|
* @public
|
|
513
|
-
*/
|
|
513
|
+
*/ _define_property(this, "svcCode", void 0);
|
|
514
514
|
/**
|
|
515
515
|
* 应用Id
|
|
516
516
|
* @defaultValue ''
|
|
517
517
|
* @public
|
|
518
|
-
*/
|
|
518
|
+
*/ _define_property(this, "appId", void 0);
|
|
519
519
|
/**
|
|
520
520
|
* 过滤条件
|
|
521
521
|
* @defaultValue []
|
|
522
522
|
* @public
|
|
523
|
-
*/
|
|
523
|
+
*/ _define_property(this, "filters", void 0);
|
|
524
524
|
// 过滤
|
|
525
525
|
/**
|
|
526
526
|
* 排序
|
|
527
527
|
* @defaultValue []
|
|
528
528
|
* @public
|
|
529
|
-
*/
|
|
529
|
+
*/ _define_property(this, "orders", void 0);
|
|
530
530
|
/**
|
|
531
531
|
* 显示排序
|
|
532
532
|
* @defaultValue true
|
|
533
533
|
* @public
|
|
534
|
-
*/
|
|
534
|
+
*/ _define_property(this, "showOrder", void 0);
|
|
535
535
|
var _props_dataCode;
|
|
536
536
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
537
537
|
var _props_appId;
|
|
@@ -551,13 +551,47 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
551
551
|
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : "";
|
|
552
552
|
callFiltersAndOrders.call(this, props);
|
|
553
553
|
};
|
|
554
|
+
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
555
|
+
"use strict";
|
|
556
|
+
_class_call_check(this, LinkOperationOption);
|
|
557
|
+
_define_property(this, "code", void 0);
|
|
558
|
+
_define_property(this, "color", void 0);
|
|
559
|
+
_define_property(this, "command", void 0);
|
|
560
|
+
_define_property(this, "confirmMessage", void 0);
|
|
561
|
+
_define_property(this, "defaultState", void 0);
|
|
562
|
+
_define_property(this, "formKey", void 0);
|
|
563
|
+
_define_property(this, "icon", void 0);
|
|
564
|
+
_define_property(this, "needConfirm", void 0);
|
|
565
|
+
_define_property(this, "openType", void 0);
|
|
566
|
+
_define_property(this, "priorityProcess", void 0);
|
|
567
|
+
var _props_code;
|
|
568
|
+
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
569
|
+
var _props_color;
|
|
570
|
+
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : "primary";
|
|
571
|
+
var _props_command;
|
|
572
|
+
this.command = (_props_command = props === null || props === void 0 ? void 0 : props.command) !== null && _props_command !== void 0 ? _props_command : "view";
|
|
573
|
+
var _props_confirmMessage;
|
|
574
|
+
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
575
|
+
var _props_defaultState;
|
|
576
|
+
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : "default";
|
|
577
|
+
var _props_formKey;
|
|
578
|
+
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
579
|
+
var _props_icon;
|
|
580
|
+
this.icon = (_props_icon = props === null || props === void 0 ? void 0 : props.icon) !== null && _props_icon !== void 0 ? _props_icon : "iconliulan1";
|
|
581
|
+
var _props_needConfirm;
|
|
582
|
+
this.needConfirm = (_props_needConfirm = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _props_needConfirm !== void 0 ? _props_needConfirm : false;
|
|
583
|
+
var _props_openType;
|
|
584
|
+
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : "modal";
|
|
585
|
+
var _props_priorityProcess;
|
|
586
|
+
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
587
|
+
};
|
|
554
588
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
555
589
|
"use strict";
|
|
556
|
-
|
|
590
|
+
_class_call_check(this, CustomAttributeItem);
|
|
557
591
|
var _props_value;
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
592
|
+
_define_property(this, "name", void 0);
|
|
593
|
+
_define_property(this, "key", void 0);
|
|
594
|
+
_define_property(this, "value", void 0);
|
|
561
595
|
var _props_name;
|
|
562
596
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
563
597
|
var _props_key;
|
|
@@ -570,13 +604,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
570
604
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
571
605
|
"use strict";
|
|
572
606
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
573
|
-
var _super =
|
|
607
|
+
var _super = _create_super(SuperDataSourceBind);
|
|
574
608
|
function SuperDataSourceBind(props) {
|
|
575
|
-
|
|
609
|
+
_class_call_check(this, SuperDataSourceBind);
|
|
576
610
|
var _this;
|
|
577
611
|
var _props_attributes;
|
|
578
612
|
_this = _super.call(this, props);
|
|
579
|
-
|
|
613
|
+
_define_property(_assert_this_initialized(_this), "attributes", void 0);
|
|
580
614
|
var _props_attributes_map;
|
|
581
615
|
_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) {
|
|
582
616
|
return new CustomAttributeItem(item);
|
|
@@ -588,12 +622,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
588
622
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
589
623
|
"use strict";
|
|
590
624
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
591
|
-
var _super =
|
|
625
|
+
var _super = _create_super(TreeDataSourceBind);
|
|
592
626
|
function TreeDataSourceBind(props) {
|
|
593
|
-
|
|
627
|
+
_class_call_check(this, TreeDataSourceBind);
|
|
594
628
|
var _this;
|
|
595
629
|
_this = _super.call(this, props);
|
|
596
|
-
|
|
630
|
+
_define_property(_assert_this_initialized(_this), "rootNode", void 0);
|
|
597
631
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
598
632
|
return _this;
|
|
599
633
|
}
|
|
@@ -601,17 +635,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
601
635
|
}(SuperDataSourceBind);
|
|
602
636
|
var FillBind = function FillBind(props) {
|
|
603
637
|
"use strict";
|
|
604
|
-
|
|
638
|
+
_class_call_check(this, FillBind);
|
|
605
639
|
var _props_fillList;
|
|
606
640
|
/*
|
|
607
641
|
* 需要被填充的数据源
|
|
608
|
-
* */
|
|
642
|
+
* */ _define_property(this, "dataCode", void 0);
|
|
609
643
|
/*
|
|
610
644
|
* appId
|
|
611
|
-
* */
|
|
645
|
+
* */ _define_property(this, "appId", void 0);
|
|
612
646
|
/*
|
|
613
647
|
* 执行填充的数据项和控件
|
|
614
|
-
* */
|
|
648
|
+
* */ _define_property(this, "fillList", void 0);
|
|
615
649
|
var _props_dataCode;
|
|
616
650
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
617
651
|
var _props_appId;
|
|
@@ -628,22 +662,22 @@ var FillBind = function FillBind(props) {
|
|
|
628
662
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
629
663
|
"use strict";
|
|
630
664
|
_inherits(FillPayloadBind, FillBind);
|
|
631
|
-
var _super =
|
|
665
|
+
var _super = _create_super(FillPayloadBind);
|
|
632
666
|
function FillPayloadBind(props) {
|
|
633
|
-
|
|
667
|
+
_class_call_check(this, FillPayloadBind);
|
|
634
668
|
var _this;
|
|
635
669
|
_this = _super.call(this, props);
|
|
636
670
|
/**
|
|
637
671
|
* 数据源过滤条件
|
|
638
672
|
* @defaultValue []
|
|
639
673
|
* @public
|
|
640
|
-
**/
|
|
674
|
+
**/ _define_property(_assert_this_initialized(_this), "filters", void 0);
|
|
641
675
|
/**
|
|
642
676
|
* 数据源排序条件
|
|
643
677
|
* @defaultValue []
|
|
644
678
|
* @public
|
|
645
|
-
**/
|
|
646
|
-
callFiltersAndOrders.call(
|
|
679
|
+
**/ _define_property(_assert_this_initialized(_this), "orders", void 0);
|
|
680
|
+
callFiltersAndOrders.call(_assert_this_initialized(_this), props);
|
|
647
681
|
return _this;
|
|
648
682
|
}
|
|
649
683
|
return FillPayloadBind;
|
|
@@ -654,21 +688,21 @@ var FillBind = function FillBind(props) {
|
|
|
654
688
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
655
689
|
"use strict";
|
|
656
690
|
_inherits(FillBackBind, FillBind);
|
|
657
|
-
var _super =
|
|
691
|
+
var _super = _create_super(FillBackBind);
|
|
658
692
|
function FillBackBind(props) {
|
|
659
|
-
|
|
693
|
+
_class_call_check(this, FillBackBind);
|
|
660
694
|
var _this;
|
|
661
695
|
_this = _super.call(this, props);
|
|
662
696
|
/**
|
|
663
697
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
664
698
|
* @defaultValue 'current'
|
|
665
699
|
* @public
|
|
666
|
-
* */
|
|
700
|
+
* */ _define_property(_assert_this_initialized(_this), "mode", void 0);
|
|
667
701
|
/**
|
|
668
702
|
* 多选
|
|
669
703
|
* @defaultValue false
|
|
670
704
|
* @public
|
|
671
|
-
*/
|
|
705
|
+
*/ _define_property(_assert_this_initialized(_this), "multiple", void 0);
|
|
672
706
|
var _props_mode;
|
|
673
707
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
674
708
|
var _props_multiple;
|
|
@@ -679,10 +713,10 @@ var FillBind = function FillBind(props) {
|
|
|
679
713
|
}(FillBind);
|
|
680
714
|
export var Language = function Language(props) {
|
|
681
715
|
"use strict";
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
716
|
+
_class_call_check(this, Language);
|
|
717
|
+
_define_property(this, "zh", void 0);
|
|
718
|
+
_define_property(this, "en", void 0);
|
|
719
|
+
_define_property(this, "ja", void 0);
|
|
686
720
|
var _props_zh;
|
|
687
721
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
688
722
|
var _props_en;
|
|
@@ -692,10 +726,10 @@ export var Language = function Language(props) {
|
|
|
692
726
|
};
|
|
693
727
|
export var RegularRules = function RegularRules(props) {
|
|
694
728
|
"use strict";
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
729
|
+
_class_call_check(this, RegularRules);
|
|
730
|
+
_define_property(this, "stencilName", void 0);
|
|
731
|
+
_define_property(this, "expression", void 0);
|
|
732
|
+
_define_property(this, "errMessage", void 0);
|
|
699
733
|
var _props_stencilName;
|
|
700
734
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
701
735
|
var _props_expression;
|
|
@@ -708,18 +742,18 @@ export var RegularRules = function RegularRules(props) {
|
|
|
708
742
|
* @public
|
|
709
743
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
710
744
|
"use strict";
|
|
711
|
-
|
|
712
|
-
|
|
745
|
+
_class_call_check(this, OptionSetting);
|
|
746
|
+
_define_property(this, "id", void 0);
|
|
713
747
|
/**
|
|
714
748
|
* 显示值
|
|
715
749
|
* @defaultValue ''
|
|
716
750
|
* @public
|
|
717
|
-
*/
|
|
751
|
+
*/ _define_property(this, "label", void 0);
|
|
718
752
|
/**
|
|
719
753
|
* 选项ID
|
|
720
754
|
* @defaultValue this.label
|
|
721
755
|
* @public
|
|
722
|
-
*/
|
|
756
|
+
*/ _define_property(this, "value", void 0);
|
|
723
757
|
var _props_id;
|
|
724
758
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
725
759
|
var _props_label;
|
|
@@ -730,13 +764,13 @@ export var RegularRules = function RegularRules(props) {
|
|
|
730
764
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
731
765
|
"use strict";
|
|
732
766
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
733
|
-
var _super =
|
|
767
|
+
var _super = _create_super(ImageOptionSetting);
|
|
734
768
|
function ImageOptionSetting(props) {
|
|
735
|
-
|
|
769
|
+
_class_call_check(this, ImageOptionSetting);
|
|
736
770
|
var _this;
|
|
737
771
|
_this = _super.call(this, props);
|
|
738
|
-
|
|
739
|
-
|
|
772
|
+
_define_property(_assert_this_initialized(_this), "image", void 0);
|
|
773
|
+
_define_property(_assert_this_initialized(_this), "type", void 0);
|
|
740
774
|
var _props_image;
|
|
741
775
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
742
776
|
var _props_type;
|
|
@@ -759,18 +793,18 @@ export function initImageOptions(options) {
|
|
|
759
793
|
}
|
|
760
794
|
export var ObjectDataBind = function ObjectDataBind() {
|
|
761
795
|
"use strict";
|
|
762
|
-
|
|
796
|
+
_class_call_check(this, ObjectDataBind);
|
|
763
797
|
};
|
|
764
798
|
export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
765
799
|
"use strict";
|
|
766
800
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
767
|
-
var _super =
|
|
801
|
+
var _super = _create_super(AmountDataBind);
|
|
768
802
|
function AmountDataBind(props) {
|
|
769
|
-
|
|
803
|
+
_class_call_check(this, AmountDataBind);
|
|
770
804
|
var _this;
|
|
771
805
|
_this = _super.call(this);
|
|
772
|
-
|
|
773
|
-
|
|
806
|
+
_define_property(_assert_this_initialized(_this), "amount", void 0);
|
|
807
|
+
_define_property(_assert_this_initialized(_this), "currency", void 0);
|
|
774
808
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
775
809
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
776
810
|
return _this;
|
|
@@ -779,9 +813,9 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
779
813
|
}(ObjectDataBind);
|
|
780
814
|
export var AmountValue = function AmountValue(props) {
|
|
781
815
|
"use strict";
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
816
|
+
_class_call_check(this, AmountValue);
|
|
817
|
+
_define_property(this, "amount", void 0);
|
|
818
|
+
_define_property(this, "currency", void 0);
|
|
785
819
|
var _props_amount;
|
|
786
820
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
787
821
|
var _props_currency;
|
|
@@ -790,13 +824,13 @@ export var AmountValue = function AmountValue(props) {
|
|
|
790
824
|
export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
791
825
|
"use strict";
|
|
792
826
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
793
|
-
var _super =
|
|
827
|
+
var _super = _create_super(RangeDataBind);
|
|
794
828
|
function RangeDataBind(props) {
|
|
795
|
-
|
|
829
|
+
_class_call_check(this, RangeDataBind);
|
|
796
830
|
var _this;
|
|
797
831
|
_this = _super.call(this);
|
|
798
|
-
|
|
799
|
-
|
|
832
|
+
_define_property(_assert_this_initialized(_this), "min", void 0);
|
|
833
|
+
_define_property(_assert_this_initialized(_this), "max", void 0);
|
|
800
834
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
801
835
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
802
836
|
return _this;
|
|
@@ -805,9 +839,9 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
805
839
|
}(ObjectDataBind);
|
|
806
840
|
export var RangeDateValue = function RangeDateValue(props) {
|
|
807
841
|
"use strict";
|
|
808
|
-
|
|
809
|
-
|
|
810
|
-
|
|
842
|
+
_class_call_check(this, RangeDateValue);
|
|
843
|
+
_define_property(this, "min", void 0);
|
|
844
|
+
_define_property(this, "max", void 0);
|
|
811
845
|
var _props_min;
|
|
812
846
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
813
847
|
var _props_max;
|
|
@@ -815,13 +849,13 @@ export var RangeDateValue = function RangeDateValue(props) {
|
|
|
815
849
|
};
|
|
816
850
|
export var AddressValue = function AddressValue(props) {
|
|
817
851
|
"use strict";
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
852
|
+
_class_call_check(this, AddressValue);
|
|
853
|
+
_define_property(this, "city", void 0);
|
|
854
|
+
_define_property(this, "cityDisplay", void 0);
|
|
855
|
+
_define_property(this, "district", void 0);
|
|
856
|
+
_define_property(this, "districtDisplay", void 0);
|
|
857
|
+
_define_property(this, "province", void 0);
|
|
858
|
+
_define_property(this, "provinceDisplay", void 0);
|
|
825
859
|
var _props_city;
|
|
826
860
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
827
861
|
var _props_cityDisplay;
|
|
@@ -838,13 +872,13 @@ export var AddressValue = function AddressValue(props) {
|
|
|
838
872
|
export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
839
873
|
"use strict";
|
|
840
874
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
841
|
-
var _super =
|
|
875
|
+
var _super = _create_super(CalcDataBind);
|
|
842
876
|
function CalcDataBind(props) {
|
|
843
|
-
|
|
877
|
+
_class_call_check(this, CalcDataBind);
|
|
844
878
|
var _this;
|
|
845
879
|
_this = _super.call(this);
|
|
846
|
-
|
|
847
|
-
|
|
880
|
+
_define_property(_assert_this_initialized(_this), "result", void 0);
|
|
881
|
+
_define_property(_assert_this_initialized(_this), "unit", void 0);
|
|
848
882
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
849
883
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
850
884
|
return _this;
|
|
@@ -853,9 +887,9 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
853
887
|
}(ObjectDataBind);
|
|
854
888
|
export var CalcValue = function CalcValue(props) {
|
|
855
889
|
"use strict";
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
890
|
+
_class_call_check(this, CalcValue);
|
|
891
|
+
_define_property(this, "result", void 0);
|
|
892
|
+
_define_property(this, "unit", void 0);
|
|
859
893
|
var _props_result;
|
|
860
894
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
861
895
|
var _props_unit;
|
|
@@ -893,6 +927,7 @@ export var AMOUNT_TYPE;
|
|
|
893
927
|
})(AMOUNT_TYPE || (AMOUNT_TYPE = {}));
|
|
894
928
|
export var COMMON_SETTING_TYPE;
|
|
895
929
|
(function(COMMON_SETTING_TYPE) {
|
|
930
|
+
COMMON_SETTING_TYPE["DEFAULT_DISPLAY"] = "defaultDisplay";
|
|
896
931
|
COMMON_SETTING_TYPE["REQUIRED"] = "required";
|
|
897
932
|
COMMON_SETTING_TYPE["IS_HIDE"] = "isHide";
|
|
898
933
|
COMMON_SETTING_TYPE["IS_SHOW_UNIT"] = "isShowUnit";
|
|
@@ -933,33 +968,33 @@ export var PAGE_STATUS;
|
|
|
933
968
|
* @public
|
|
934
969
|
*/ export var OperationItem = function OperationItem(props) {
|
|
935
970
|
"use strict";
|
|
936
|
-
|
|
971
|
+
_class_call_check(this, OperationItem);
|
|
937
972
|
/**
|
|
938
973
|
* 是否显示
|
|
939
974
|
* @defaultValue true
|
|
940
975
|
* @public
|
|
941
|
-
*/
|
|
976
|
+
*/ _define_property(this, "isShow", void 0);
|
|
942
977
|
/**
|
|
943
978
|
* 优先访问流程表单
|
|
944
979
|
* @defaultValue false
|
|
945
980
|
* @public
|
|
946
|
-
*/
|
|
981
|
+
*/ _define_property(this, "priorityProcess", void 0);
|
|
947
982
|
/**
|
|
948
983
|
* 表单ID
|
|
949
984
|
* @defaultValue ''
|
|
950
985
|
* @public
|
|
951
|
-
*/
|
|
986
|
+
*/ _define_property(this, "formKey", void 0);
|
|
952
987
|
/**
|
|
953
988
|
* 显示文字
|
|
954
989
|
* @defaultValue ''
|
|
955
990
|
* @public
|
|
956
|
-
*/
|
|
991
|
+
*/ _define_property(this, "content", void 0);
|
|
957
992
|
/**
|
|
958
993
|
* 打开方式
|
|
959
994
|
* @defaultValue 'modal'
|
|
960
995
|
* @public
|
|
961
|
-
*/
|
|
962
|
-
|
|
996
|
+
*/ _define_property(this, "openType", void 0);
|
|
997
|
+
_define_property(this, "type", void 0);
|
|
963
998
|
var _props_isShow;
|
|
964
999
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
965
1000
|
var _props_content;
|
|
@@ -975,12 +1010,12 @@ export var PAGE_STATUS;
|
|
|
975
1010
|
};
|
|
976
1011
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
977
1012
|
"use strict";
|
|
978
|
-
|
|
1013
|
+
_class_call_check(this, ViewOperationItem);
|
|
979
1014
|
var _props_headers;
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
1015
|
+
_define_property(this, "id", void 0);
|
|
1016
|
+
_define_property(this, "title", void 0);
|
|
1017
|
+
_define_property(this, "filters", void 0);
|
|
1018
|
+
_define_property(this, "headers", void 0);
|
|
984
1019
|
var _props_id;
|
|
985
1020
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
986
1021
|
var _props_title;
|
|
@@ -995,13 +1030,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
995
1030
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
996
1031
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
997
1032
|
"use strict";
|
|
998
|
-
|
|
1033
|
+
_class_call_check(this, CustomPermissionItem);
|
|
999
1034
|
/**
|
|
1000
1035
|
* 人工输入的权限key
|
|
1001
|
-
*/
|
|
1036
|
+
*/ _define_property(this, "key", void 0);
|
|
1002
1037
|
/**
|
|
1003
1038
|
* 权限名称
|
|
1004
|
-
*/
|
|
1039
|
+
*/ _define_property(this, "caption", void 0);
|
|
1005
1040
|
var _props_key;
|
|
1006
1041
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1007
1042
|
var _props_caption;
|
|
@@ -1009,11 +1044,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1009
1044
|
};
|
|
1010
1045
|
export var BaseStyle = function BaseStyle(props) {
|
|
1011
1046
|
"use strict";
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1047
|
+
_class_call_check(this, BaseStyle);
|
|
1048
|
+
_define_property(this, "width", void 0);
|
|
1049
|
+
_define_property(this, "height", void 0);
|
|
1050
|
+
_define_property(this, "widthConfig", void 0);
|
|
1051
|
+
_define_property(this, "heightConfig", void 0);
|
|
1017
1052
|
var _props_width;
|
|
1018
1053
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1019
1054
|
var _props_height;
|