@byteluck-fe/model-driven-core 2.5.0-alpha.5 → 2.5.0-alpha.6
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 +54 -43
- 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/common/initLinkOperationRules.js +2 -2
- package/dist/esm/framework/RegisterControls.js +12 -12
- package/dist/esm/framework/index.js +220 -220
- package/dist/index.umd.js +1 -1
- package/package.json +2 -2
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _assertThisInitialized(self) {
|
|
2
2
|
if (self === void 0) {
|
|
3
3
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
4
4
|
}
|
|
5
5
|
return self;
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function _classCallCheck(instance, Constructor) {
|
|
8
8
|
if (!(instance instanceof Constructor)) {
|
|
9
9
|
throw new TypeError("Cannot call a class as a function");
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function _defineProperty(obj, key, value) {
|
|
13
13
|
if (key in obj) {
|
|
14
14
|
Object.defineProperty(obj, key, {
|
|
15
15
|
value: value,
|
|
@@ -22,11 +22,11 @@ function _define_property(obj, key, value) {
|
|
|
22
22
|
}
|
|
23
23
|
return obj;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function _getPrototypeOf(o) {
|
|
26
|
+
_getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
|
|
27
27
|
return o.__proto__ || Object.getPrototypeOf(o);
|
|
28
28
|
};
|
|
29
|
-
return
|
|
29
|
+
return _getPrototypeOf(o);
|
|
30
30
|
}
|
|
31
31
|
function _inherits(subClass, superClass) {
|
|
32
32
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
@@ -39,7 +39,7 @@ function _inherits(subClass, superClass) {
|
|
|
39
39
|
configurable: true
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
|
-
if (superClass)
|
|
42
|
+
if (superClass) _setPrototypeOf(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 _possibleConstructorReturn(self, call) {
|
|
52
|
+
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
53
53
|
return call;
|
|
54
54
|
}
|
|
55
|
-
return
|
|
55
|
+
return _assertThisInitialized(self);
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
|
|
57
|
+
function _setPrototypeOf(o, p) {
|
|
58
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
59
59
|
o.__proto__ = p;
|
|
60
60
|
return o;
|
|
61
61
|
};
|
|
62
|
-
return
|
|
62
|
+
return _setPrototypeOf(o, p);
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
var _typeof = function(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 _isNativeReflectConstruct() {
|
|
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 _is_native_reflect_construct() {
|
|
|
76
76
|
return false;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
|
-
function
|
|
80
|
-
var hasNativeReflectConstruct =
|
|
79
|
+
function _createSuper(Derived) {
|
|
80
|
+
var hasNativeReflectConstruct = _isNativeReflectConstruct();
|
|
81
81
|
return function _createSuperInternal() {
|
|
82
|
-
var Super =
|
|
82
|
+
var Super = _getPrototypeOf(Derived), result;
|
|
83
83
|
if (hasNativeReflectConstruct) {
|
|
84
|
-
var NewTarget =
|
|
84
|
+
var NewTarget = _getPrototypeOf(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 _possibleConstructorReturn(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
|
+
_classCallCheck(this, DataBind);
|
|
100
100
|
/**
|
|
101
101
|
* 数据模型编码
|
|
102
102
|
* @defaultValue ''
|
|
103
103
|
* @public
|
|
104
|
-
*/
|
|
104
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
105
105
|
/**
|
|
106
106
|
* 字段编码
|
|
107
107
|
* @defaultValue ''
|
|
108
108
|
* @public
|
|
109
|
-
*/
|
|
109
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
110
110
|
/**
|
|
111
111
|
* 字段类型
|
|
112
112
|
* @defaultValue ''
|
|
113
113
|
* @public
|
|
114
|
-
*/
|
|
114
|
+
*/ _defineProperty(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
|
+
_classCallCheck(this, AutoWidth);
|
|
125
|
+
_defineProperty(this, "minWidth", void 0);
|
|
126
|
+
_defineProperty(this, "maxWidth", void 0);
|
|
127
|
+
_defineProperty(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 = _createSuper(MetaWidth);
|
|
138
138
|
function MetaWidth(props) {
|
|
139
|
-
|
|
139
|
+
_classCallCheck(this, MetaWidth);
|
|
140
140
|
var _this;
|
|
141
141
|
_this = _super.call(this, props);
|
|
142
|
-
|
|
143
|
-
|
|
142
|
+
_defineProperty(_assertThisInitialized(_this), "width", void 0);
|
|
143
|
+
_defineProperty(_assertThisInitialized(_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
|
+
_classCallCheck(this, MetaAutoWidth);
|
|
155
|
+
_defineProperty(this, "pc", void 0);
|
|
156
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataStorageDoc);
|
|
166
|
+
_defineProperty(this, "type", void 0);
|
|
167
|
+
_defineProperty(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
|
+
_classCallCheck(this, FormBind);
|
|
176
|
+
_defineProperty(this, "dataCode", void 0);
|
|
177
|
+
_defineProperty(this, "formKey", void 0);
|
|
178
|
+
_defineProperty(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 = _createSuper(FormSelectBind);
|
|
190
190
|
function FormSelectBind(props) {
|
|
191
|
-
|
|
191
|
+
_classCallCheck(this, FormSelectBind);
|
|
192
192
|
var _this;
|
|
193
193
|
_this = _super.call(this, props);
|
|
194
|
-
|
|
194
|
+
_defineProperty(_assertThisInitialized(_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
|
+
_classCallCheck(this, ListBindHeaderItem);
|
|
204
|
+
_defineProperty(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
|
+
_classCallCheck(this, ListBind);
|
|
213
213
|
var _props_headers;
|
|
214
214
|
/**
|
|
215
215
|
* 应用ID
|
|
216
216
|
* @public
|
|
217
|
-
*/
|
|
217
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
218
218
|
/**
|
|
219
219
|
* 表单ID
|
|
220
220
|
* @public
|
|
221
|
-
*/
|
|
221
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
222
222
|
/**
|
|
223
223
|
* 显示字段
|
|
224
224
|
* @public
|
|
225
|
-
*/
|
|
225
|
+
*/ _defineProperty(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
|
+
_classCallCheck(this, FieldBindItem);
|
|
238
|
+
_defineProperty(this, "fieldName", void 0);
|
|
239
|
+
_defineProperty(this, "fieldCode", void 0);
|
|
240
|
+
_defineProperty(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 = _createSuper(SubListItem);
|
|
252
252
|
function SubListItem(props) {
|
|
253
|
-
|
|
253
|
+
_classCallCheck(this, SubListItem);
|
|
254
254
|
var _this;
|
|
255
255
|
_this = _super.call(this, props);
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
256
|
+
_defineProperty(_assertThisInitialized(_this), "title", void 0);
|
|
257
|
+
_defineProperty(_assertThisInitialized(_this), "svcCode", void 0);
|
|
258
|
+
_defineProperty(_assertThisInitialized(_this), "isOpenFilter", void 0);
|
|
259
|
+
_defineProperty(_assertThisInitialized(_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
|
+
_classCallCheck(this, SubListPageConfig);
|
|
275
275
|
var _props_displayFields, _props_sublists;
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
276
|
+
_defineProperty(this, "type", "sublist-page");
|
|
277
|
+
_defineProperty(this, "formBind", void 0);
|
|
278
|
+
_defineProperty(this, "displayFields", void 0);
|
|
279
|
+
_defineProperty(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
|
+
_classCallCheck(this, LeftVariable);
|
|
293
|
+
_defineProperty(this, "type", void 0);
|
|
294
|
+
_defineProperty(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
|
+
_classCallCheck(this, RightVariable);
|
|
301
|
+
_defineProperty(this, "type", void 0);
|
|
302
|
+
_defineProperty(this, "value", void 0);
|
|
303
|
+
_defineProperty(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
|
+
_classCallCheck(this, FieldFilterConditions);
|
|
315
|
+
_defineProperty(this, "id", void 0);
|
|
316
|
+
_defineProperty(this, "ruleId", void 0);
|
|
317
|
+
_defineProperty(this, "type", "conditions");
|
|
318
|
+
_defineProperty(this, "level", void 0);
|
|
319
|
+
_defineProperty(this, "value", void 0);
|
|
320
|
+
_defineProperty(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
|
+
_classCallCheck(this, FieldFilterCondition);
|
|
347
|
+
_defineProperty(this, "id", void 0);
|
|
348
|
+
_defineProperty(this, "ruleId", void 0);
|
|
349
|
+
_defineProperty(this, "type", "condition");
|
|
350
|
+
_defineProperty(this, "symbol", void 0);
|
|
351
|
+
_defineProperty(this, "checked", void 0);
|
|
352
|
+
_defineProperty(this, "describe", void 0);
|
|
353
|
+
_defineProperty(this, "leftVariableBo", void 0);
|
|
354
|
+
_defineProperty(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
|
+
_classCallCheck(this, MultistageFillingItem);
|
|
374
374
|
/**
|
|
375
375
|
* 控件ID
|
|
376
376
|
* @defaultValue ''
|
|
377
377
|
* @public
|
|
378
|
-
*/
|
|
378
|
+
*/ _defineProperty(this, "controlId", void 0);
|
|
379
379
|
/**
|
|
380
380
|
* 字段
|
|
381
381
|
* @defaultValue ''
|
|
382
382
|
* @public
|
|
383
|
-
*/
|
|
383
|
+
*/ _defineProperty(this, "fieldCode", void 0);
|
|
384
384
|
/**
|
|
385
385
|
* 字段类型。事件在填充时,需要根据数据类型进行判断处理动作。
|
|
386
386
|
* @defaultValue ''
|
|
387
387
|
* @public
|
|
388
|
-
*/
|
|
388
|
+
*/ _defineProperty(this, "fieldType", void 0);
|
|
389
389
|
/**
|
|
390
390
|
* 属性名称。如果是ObjectDataBind的控件,可以指定填充到哪个数据项。
|
|
391
391
|
* @defaultValue ''
|
|
392
392
|
* @public
|
|
393
|
-
* */
|
|
393
|
+
* */ _defineProperty(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
|
+
_classCallCheck(this, DisplayBoListItem);
|
|
406
|
+
_defineProperty(this, "type", void 0);
|
|
407
|
+
_defineProperty(this, "value", void 0);
|
|
408
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataSourceOrderItem);
|
|
418
|
+
_defineProperty(this, "columnName", void 0);
|
|
419
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataSourceDataSetValue);
|
|
428
428
|
// fieldCode
|
|
429
|
-
|
|
429
|
+
_defineProperty(this, "code", void 0);
|
|
430
430
|
// 值
|
|
431
|
-
|
|
431
|
+
_defineProperty(this, "value", void 0);
|
|
432
432
|
// 数据类型
|
|
433
|
-
|
|
433
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataSourceParamItem);
|
|
444
444
|
var _props_orders, _props_dataSet;
|
|
445
445
|
/**
|
|
446
446
|
* 字段ID
|
|
447
|
-
*/
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
|
|
447
|
+
*/ _defineProperty(this, "id", void 0);
|
|
448
|
+
_defineProperty(this, "limit", void 0);
|
|
449
|
+
_defineProperty(this, "orders", void 0);
|
|
450
|
+
_defineProperty(this, "formKey", void 0);
|
|
451
|
+
_defineProperty(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
|
+
_classCallCheck(this, DataSourceBind);
|
|
494
494
|
/**
|
|
495
495
|
* 绑定数据源id
|
|
496
496
|
* @defaultValue ''
|
|
497
497
|
* @public
|
|
498
|
-
*/
|
|
498
|
+
*/ _defineProperty(this, "dataCode", void 0);
|
|
499
499
|
/**
|
|
500
500
|
* 存储值
|
|
501
501
|
* @defaultValue ''
|
|
502
502
|
* @public
|
|
503
|
-
*/
|
|
503
|
+
*/ _defineProperty(this, "valueFieldCode", void 0);
|
|
504
504
|
/**
|
|
505
505
|
* 显示值
|
|
506
506
|
* @defaultValue []
|
|
507
507
|
* @public
|
|
508
|
-
*/
|
|
508
|
+
*/ _defineProperty(this, "displayBoList", void 0);
|
|
509
509
|
/**
|
|
510
510
|
* 绑定服务
|
|
511
511
|
* @defaultValue ''
|
|
512
512
|
* @public
|
|
513
|
-
*/
|
|
513
|
+
*/ _defineProperty(this, "svcCode", void 0);
|
|
514
514
|
/**
|
|
515
515
|
* 应用Id
|
|
516
516
|
* @defaultValue ''
|
|
517
517
|
* @public
|
|
518
|
-
*/
|
|
518
|
+
*/ _defineProperty(this, "appId", void 0);
|
|
519
519
|
/**
|
|
520
520
|
* 过滤条件
|
|
521
521
|
* @defaultValue []
|
|
522
522
|
* @public
|
|
523
|
-
*/
|
|
523
|
+
*/ _defineProperty(this, "filters", void 0);
|
|
524
524
|
// 过滤
|
|
525
525
|
/**
|
|
526
526
|
* 排序
|
|
527
527
|
* @defaultValue []
|
|
528
528
|
* @public
|
|
529
|
-
*/
|
|
529
|
+
*/ _defineProperty(this, "orders", void 0);
|
|
530
530
|
/**
|
|
531
531
|
* 显示排序
|
|
532
532
|
* @defaultValue true
|
|
533
533
|
* @public
|
|
534
|
-
*/
|
|
534
|
+
*/ _defineProperty(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;
|
|
@@ -553,17 +553,17 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
553
553
|
};
|
|
554
554
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
555
555
|
"use strict";
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
556
|
+
_classCallCheck(this, LinkOperationOption);
|
|
557
|
+
_defineProperty(this, "code", void 0);
|
|
558
|
+
_defineProperty(this, "color", void 0);
|
|
559
|
+
_defineProperty(this, "command", void 0);
|
|
560
|
+
_defineProperty(this, "confirmMessage", void 0);
|
|
561
|
+
_defineProperty(this, "defaultState", void 0);
|
|
562
|
+
_defineProperty(this, "formKey", void 0);
|
|
563
|
+
_defineProperty(this, "icon", void 0);
|
|
564
|
+
_defineProperty(this, "needConfirm", void 0);
|
|
565
|
+
_defineProperty(this, "openType", void 0);
|
|
566
|
+
_defineProperty(this, "priorityProcess", void 0);
|
|
567
567
|
var _props_code;
|
|
568
568
|
this.code = (_props_code = props === null || props === void 0 ? void 0 : props.code) !== null && _props_code !== void 0 ? _props_code : "view";
|
|
569
569
|
var _props_color;
|
|
@@ -587,11 +587,11 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
587
587
|
};
|
|
588
588
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
589
589
|
"use strict";
|
|
590
|
-
|
|
590
|
+
_classCallCheck(this, CustomAttributeItem);
|
|
591
591
|
var _props_value;
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
592
|
+
_defineProperty(this, "name", void 0);
|
|
593
|
+
_defineProperty(this, "key", void 0);
|
|
594
|
+
_defineProperty(this, "value", void 0);
|
|
595
595
|
var _props_name;
|
|
596
596
|
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : "";
|
|
597
597
|
var _props_key;
|
|
@@ -604,13 +604,13 @@ export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
|
604
604
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
605
605
|
"use strict";
|
|
606
606
|
_inherits(SuperDataSourceBind, DataSourceBind);
|
|
607
|
-
var _super =
|
|
607
|
+
var _super = _createSuper(SuperDataSourceBind);
|
|
608
608
|
function SuperDataSourceBind(props) {
|
|
609
|
-
|
|
609
|
+
_classCallCheck(this, SuperDataSourceBind);
|
|
610
610
|
var _this;
|
|
611
611
|
var _props_attributes;
|
|
612
612
|
_this = _super.call(this, props);
|
|
613
|
-
|
|
613
|
+
_defineProperty(_assertThisInitialized(_this), "attributes", void 0);
|
|
614
614
|
var _props_attributes_map;
|
|
615
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) {
|
|
616
616
|
return new CustomAttributeItem(item);
|
|
@@ -622,12 +622,12 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
622
622
|
export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
623
623
|
"use strict";
|
|
624
624
|
_inherits(TreeDataSourceBind, SuperDataSourceBind);
|
|
625
|
-
var _super =
|
|
625
|
+
var _super = _createSuper(TreeDataSourceBind);
|
|
626
626
|
function TreeDataSourceBind(props) {
|
|
627
|
-
|
|
627
|
+
_classCallCheck(this, TreeDataSourceBind);
|
|
628
628
|
var _this;
|
|
629
629
|
_this = _super.call(this, props);
|
|
630
|
-
|
|
630
|
+
_defineProperty(_assertThisInitialized(_this), "rootNode", void 0);
|
|
631
631
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
632
632
|
return _this;
|
|
633
633
|
}
|
|
@@ -635,17 +635,17 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
635
635
|
}(SuperDataSourceBind);
|
|
636
636
|
var FillBind = function FillBind(props) {
|
|
637
637
|
"use strict";
|
|
638
|
-
|
|
638
|
+
_classCallCheck(this, FillBind);
|
|
639
639
|
var _props_fillList;
|
|
640
640
|
/*
|
|
641
641
|
* 需要被填充的数据源
|
|
642
|
-
* */
|
|
642
|
+
* */ _defineProperty(this, "dataCode", void 0);
|
|
643
643
|
/*
|
|
644
644
|
* appId
|
|
645
|
-
* */
|
|
645
|
+
* */ _defineProperty(this, "appId", void 0);
|
|
646
646
|
/*
|
|
647
647
|
* 执行填充的数据项和控件
|
|
648
|
-
* */
|
|
648
|
+
* */ _defineProperty(this, "fillList", void 0);
|
|
649
649
|
var _props_dataCode;
|
|
650
650
|
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : "";
|
|
651
651
|
var _props_appId;
|
|
@@ -662,22 +662,22 @@ var FillBind = function FillBind(props) {
|
|
|
662
662
|
* */ export var FillPayloadBind = /*#__PURE__*/ function(FillBind) {
|
|
663
663
|
"use strict";
|
|
664
664
|
_inherits(FillPayloadBind, FillBind);
|
|
665
|
-
var _super =
|
|
665
|
+
var _super = _createSuper(FillPayloadBind);
|
|
666
666
|
function FillPayloadBind(props) {
|
|
667
|
-
|
|
667
|
+
_classCallCheck(this, FillPayloadBind);
|
|
668
668
|
var _this;
|
|
669
669
|
_this = _super.call(this, props);
|
|
670
670
|
/**
|
|
671
671
|
* 数据源过滤条件
|
|
672
672
|
* @defaultValue []
|
|
673
673
|
* @public
|
|
674
|
-
**/
|
|
674
|
+
**/ _defineProperty(_assertThisInitialized(_this), "filters", void 0);
|
|
675
675
|
/**
|
|
676
676
|
* 数据源排序条件
|
|
677
677
|
* @defaultValue []
|
|
678
678
|
* @public
|
|
679
|
-
**/
|
|
680
|
-
callFiltersAndOrders.call(
|
|
679
|
+
**/ _defineProperty(_assertThisInitialized(_this), "orders", void 0);
|
|
680
|
+
callFiltersAndOrders.call(_assertThisInitialized(_this), props);
|
|
681
681
|
return _this;
|
|
682
682
|
}
|
|
683
683
|
return FillPayloadBind;
|
|
@@ -688,21 +688,21 @@ var FillBind = function FillBind(props) {
|
|
|
688
688
|
*/ export var FillBackBind = /*#__PURE__*/ function(FillBind) {
|
|
689
689
|
"use strict";
|
|
690
690
|
_inherits(FillBackBind, FillBind);
|
|
691
|
-
var _super =
|
|
691
|
+
var _super = _createSuper(FillBackBind);
|
|
692
692
|
function FillBackBind(props) {
|
|
693
|
-
|
|
693
|
+
_classCallCheck(this, FillBackBind);
|
|
694
694
|
var _this;
|
|
695
695
|
_this = _super.call(this, props);
|
|
696
696
|
/**
|
|
697
697
|
* 回填模式。current 当前表(根据按钮所在位置来区分,而不是通过主表和子表来区分)| subtable 子表
|
|
698
698
|
* @defaultValue 'current'
|
|
699
699
|
* @public
|
|
700
|
-
* */
|
|
700
|
+
* */ _defineProperty(_assertThisInitialized(_this), "mode", void 0);
|
|
701
701
|
/**
|
|
702
702
|
* 多选
|
|
703
703
|
* @defaultValue false
|
|
704
704
|
* @public
|
|
705
|
-
*/
|
|
705
|
+
*/ _defineProperty(_assertThisInitialized(_this), "multiple", void 0);
|
|
706
706
|
var _props_mode;
|
|
707
707
|
_this.mode = (_props_mode = props === null || props === void 0 ? void 0 : props.mode) !== null && _props_mode !== void 0 ? _props_mode : "current";
|
|
708
708
|
var _props_multiple;
|
|
@@ -713,10 +713,10 @@ var FillBind = function FillBind(props) {
|
|
|
713
713
|
}(FillBind);
|
|
714
714
|
export var Language = function Language(props) {
|
|
715
715
|
"use strict";
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
716
|
+
_classCallCheck(this, Language);
|
|
717
|
+
_defineProperty(this, "zh", void 0);
|
|
718
|
+
_defineProperty(this, "en", void 0);
|
|
719
|
+
_defineProperty(this, "ja", void 0);
|
|
720
720
|
var _props_zh;
|
|
721
721
|
this.zh = (_props_zh = props === null || props === void 0 ? void 0 : props.zh) !== null && _props_zh !== void 0 ? _props_zh : "";
|
|
722
722
|
var _props_en;
|
|
@@ -726,10 +726,10 @@ export var Language = function Language(props) {
|
|
|
726
726
|
};
|
|
727
727
|
export var RegularRules = function RegularRules(props) {
|
|
728
728
|
"use strict";
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
729
|
+
_classCallCheck(this, RegularRules);
|
|
730
|
+
_defineProperty(this, "stencilName", void 0);
|
|
731
|
+
_defineProperty(this, "expression", void 0);
|
|
732
|
+
_defineProperty(this, "errMessage", void 0);
|
|
733
733
|
var _props_stencilName;
|
|
734
734
|
this.stencilName = (_props_stencilName = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _props_stencilName !== void 0 ? _props_stencilName : "";
|
|
735
735
|
var _props_expression;
|
|
@@ -742,18 +742,18 @@ export var RegularRules = function RegularRules(props) {
|
|
|
742
742
|
* @public
|
|
743
743
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
744
744
|
"use strict";
|
|
745
|
-
|
|
746
|
-
|
|
745
|
+
_classCallCheck(this, OptionSetting);
|
|
746
|
+
_defineProperty(this, "id", void 0);
|
|
747
747
|
/**
|
|
748
748
|
* 显示值
|
|
749
749
|
* @defaultValue ''
|
|
750
750
|
* @public
|
|
751
|
-
*/
|
|
751
|
+
*/ _defineProperty(this, "label", void 0);
|
|
752
752
|
/**
|
|
753
753
|
* 选项ID
|
|
754
754
|
* @defaultValue this.label
|
|
755
755
|
* @public
|
|
756
|
-
*/
|
|
756
|
+
*/ _defineProperty(this, "value", void 0);
|
|
757
757
|
var _props_id;
|
|
758
758
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
759
759
|
var _props_label;
|
|
@@ -764,13 +764,13 @@ export var RegularRules = function RegularRules(props) {
|
|
|
764
764
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
765
765
|
"use strict";
|
|
766
766
|
_inherits(ImageOptionSetting, OptionSetting);
|
|
767
|
-
var _super =
|
|
767
|
+
var _super = _createSuper(ImageOptionSetting);
|
|
768
768
|
function ImageOptionSetting(props) {
|
|
769
|
-
|
|
769
|
+
_classCallCheck(this, ImageOptionSetting);
|
|
770
770
|
var _this;
|
|
771
771
|
_this = _super.call(this, props);
|
|
772
|
-
|
|
773
|
-
|
|
772
|
+
_defineProperty(_assertThisInitialized(_this), "image", void 0);
|
|
773
|
+
_defineProperty(_assertThisInitialized(_this), "type", void 0);
|
|
774
774
|
var _props_image;
|
|
775
775
|
_this.image = (_props_image = props === null || props === void 0 ? void 0 : props.image) !== null && _props_image !== void 0 ? _props_image : "";
|
|
776
776
|
var _props_type;
|
|
@@ -793,18 +793,18 @@ export function initImageOptions(options) {
|
|
|
793
793
|
}
|
|
794
794
|
export var ObjectDataBind = function ObjectDataBind() {
|
|
795
795
|
"use strict";
|
|
796
|
-
|
|
796
|
+
_classCallCheck(this, ObjectDataBind);
|
|
797
797
|
};
|
|
798
798
|
export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
799
799
|
"use strict";
|
|
800
800
|
_inherits(AmountDataBind, ObjectDataBind);
|
|
801
|
-
var _super =
|
|
801
|
+
var _super = _createSuper(AmountDataBind);
|
|
802
802
|
function AmountDataBind(props) {
|
|
803
|
-
|
|
803
|
+
_classCallCheck(this, AmountDataBind);
|
|
804
804
|
var _this;
|
|
805
805
|
_this = _super.call(this);
|
|
806
|
-
|
|
807
|
-
|
|
806
|
+
_defineProperty(_assertThisInitialized(_this), "amount", void 0);
|
|
807
|
+
_defineProperty(_assertThisInitialized(_this), "currency", void 0);
|
|
808
808
|
_this.amount = new DataBind(props === null || props === void 0 ? void 0 : props.amount);
|
|
809
809
|
_this.currency = new DataBind(props === null || props === void 0 ? void 0 : props.currency);
|
|
810
810
|
return _this;
|
|
@@ -813,9 +813,9 @@ export var AmountDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
813
813
|
}(ObjectDataBind);
|
|
814
814
|
export var AmountValue = function AmountValue(props) {
|
|
815
815
|
"use strict";
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
816
|
+
_classCallCheck(this, AmountValue);
|
|
817
|
+
_defineProperty(this, "amount", void 0);
|
|
818
|
+
_defineProperty(this, "currency", void 0);
|
|
819
819
|
var _props_amount;
|
|
820
820
|
this.amount = (_props_amount = props === null || props === void 0 ? void 0 : props.amount) !== null && _props_amount !== void 0 ? _props_amount : "";
|
|
821
821
|
var _props_currency;
|
|
@@ -824,13 +824,13 @@ export var AmountValue = function AmountValue(props) {
|
|
|
824
824
|
export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
825
825
|
"use strict";
|
|
826
826
|
_inherits(RangeDataBind, ObjectDataBind);
|
|
827
|
-
var _super =
|
|
827
|
+
var _super = _createSuper(RangeDataBind);
|
|
828
828
|
function RangeDataBind(props) {
|
|
829
|
-
|
|
829
|
+
_classCallCheck(this, RangeDataBind);
|
|
830
830
|
var _this;
|
|
831
831
|
_this = _super.call(this);
|
|
832
|
-
|
|
833
|
-
|
|
832
|
+
_defineProperty(_assertThisInitialized(_this), "min", void 0);
|
|
833
|
+
_defineProperty(_assertThisInitialized(_this), "max", void 0);
|
|
834
834
|
_this.min = new DataBind(props === null || props === void 0 ? void 0 : props.min);
|
|
835
835
|
_this.max = new DataBind(props === null || props === void 0 ? void 0 : props.max);
|
|
836
836
|
return _this;
|
|
@@ -839,9 +839,9 @@ export var RangeDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
839
839
|
}(ObjectDataBind);
|
|
840
840
|
export var RangeDateValue = function RangeDateValue(props) {
|
|
841
841
|
"use strict";
|
|
842
|
-
|
|
843
|
-
|
|
844
|
-
|
|
842
|
+
_classCallCheck(this, RangeDateValue);
|
|
843
|
+
_defineProperty(this, "min", void 0);
|
|
844
|
+
_defineProperty(this, "max", void 0);
|
|
845
845
|
var _props_min;
|
|
846
846
|
this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
|
|
847
847
|
var _props_max;
|
|
@@ -849,13 +849,13 @@ export var RangeDateValue = function RangeDateValue(props) {
|
|
|
849
849
|
};
|
|
850
850
|
export var AddressValue = function AddressValue(props) {
|
|
851
851
|
"use strict";
|
|
852
|
-
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
857
|
-
|
|
858
|
-
|
|
852
|
+
_classCallCheck(this, AddressValue);
|
|
853
|
+
_defineProperty(this, "city", void 0);
|
|
854
|
+
_defineProperty(this, "cityDisplay", void 0);
|
|
855
|
+
_defineProperty(this, "district", void 0);
|
|
856
|
+
_defineProperty(this, "districtDisplay", void 0);
|
|
857
|
+
_defineProperty(this, "province", void 0);
|
|
858
|
+
_defineProperty(this, "provinceDisplay", void 0);
|
|
859
859
|
var _props_city;
|
|
860
860
|
this.city = (_props_city = props === null || props === void 0 ? void 0 : props.city) !== null && _props_city !== void 0 ? _props_city : "";
|
|
861
861
|
var _props_cityDisplay;
|
|
@@ -872,13 +872,13 @@ export var AddressValue = function AddressValue(props) {
|
|
|
872
872
|
export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
873
873
|
"use strict";
|
|
874
874
|
_inherits(CalcDataBind, ObjectDataBind);
|
|
875
|
-
var _super =
|
|
875
|
+
var _super = _createSuper(CalcDataBind);
|
|
876
876
|
function CalcDataBind(props) {
|
|
877
|
-
|
|
877
|
+
_classCallCheck(this, CalcDataBind);
|
|
878
878
|
var _this;
|
|
879
879
|
_this = _super.call(this);
|
|
880
|
-
|
|
881
|
-
|
|
880
|
+
_defineProperty(_assertThisInitialized(_this), "result", void 0);
|
|
881
|
+
_defineProperty(_assertThisInitialized(_this), "unit", void 0);
|
|
882
882
|
_this.result = new DataBind(props === null || props === void 0 ? void 0 : props.result);
|
|
883
883
|
_this.unit = new DataBind(props === null || props === void 0 ? void 0 : props.unit);
|
|
884
884
|
return _this;
|
|
@@ -887,9 +887,9 @@ export var CalcDataBind = /*#__PURE__*/ function(ObjectDataBind) {
|
|
|
887
887
|
}(ObjectDataBind);
|
|
888
888
|
export var CalcValue = function CalcValue(props) {
|
|
889
889
|
"use strict";
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
890
|
+
_classCallCheck(this, CalcValue);
|
|
891
|
+
_defineProperty(this, "result", void 0);
|
|
892
|
+
_defineProperty(this, "unit", void 0);
|
|
893
893
|
var _props_result;
|
|
894
894
|
this.result = (_props_result = props === null || props === void 0 ? void 0 : props.result) !== null && _props_result !== void 0 ? _props_result : 0;
|
|
895
895
|
var _props_unit;
|
|
@@ -968,33 +968,33 @@ export var PAGE_STATUS;
|
|
|
968
968
|
* @public
|
|
969
969
|
*/ export var OperationItem = function OperationItem(props) {
|
|
970
970
|
"use strict";
|
|
971
|
-
|
|
971
|
+
_classCallCheck(this, OperationItem);
|
|
972
972
|
/**
|
|
973
973
|
* 是否显示
|
|
974
974
|
* @defaultValue true
|
|
975
975
|
* @public
|
|
976
|
-
*/
|
|
976
|
+
*/ _defineProperty(this, "isShow", void 0);
|
|
977
977
|
/**
|
|
978
978
|
* 优先访问流程表单
|
|
979
979
|
* @defaultValue false
|
|
980
980
|
* @public
|
|
981
|
-
*/
|
|
981
|
+
*/ _defineProperty(this, "priorityProcess", void 0);
|
|
982
982
|
/**
|
|
983
983
|
* 表单ID
|
|
984
984
|
* @defaultValue ''
|
|
985
985
|
* @public
|
|
986
|
-
*/
|
|
986
|
+
*/ _defineProperty(this, "formKey", void 0);
|
|
987
987
|
/**
|
|
988
988
|
* 显示文字
|
|
989
989
|
* @defaultValue ''
|
|
990
990
|
* @public
|
|
991
|
-
*/
|
|
991
|
+
*/ _defineProperty(this, "content", void 0);
|
|
992
992
|
/**
|
|
993
993
|
* 打开方式
|
|
994
994
|
* @defaultValue 'modal'
|
|
995
995
|
* @public
|
|
996
|
-
*/
|
|
997
|
-
|
|
996
|
+
*/ _defineProperty(this, "openType", void 0);
|
|
997
|
+
_defineProperty(this, "type", void 0);
|
|
998
998
|
var _props_isShow;
|
|
999
999
|
this.isShow = (_props_isShow = props === null || props === void 0 ? void 0 : props.isShow) !== null && _props_isShow !== void 0 ? _props_isShow : true;
|
|
1000
1000
|
var _props_content;
|
|
@@ -1010,12 +1010,12 @@ export var PAGE_STATUS;
|
|
|
1010
1010
|
};
|
|
1011
1011
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1012
1012
|
"use strict";
|
|
1013
|
-
|
|
1013
|
+
_classCallCheck(this, ViewOperationItem);
|
|
1014
1014
|
var _props_headers;
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1015
|
+
_defineProperty(this, "id", void 0);
|
|
1016
|
+
_defineProperty(this, "title", void 0);
|
|
1017
|
+
_defineProperty(this, "filters", void 0);
|
|
1018
|
+
_defineProperty(this, "headers", void 0);
|
|
1019
1019
|
var _props_id;
|
|
1020
1020
|
this.id = (_props_id = props === null || props === void 0 ? void 0 : props.id) !== null && _props_id !== void 0 ? _props_id : genNonDuplicateId(8);
|
|
1021
1021
|
var _props_title;
|
|
@@ -1030,13 +1030,13 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1030
1030
|
* 自定义权限项,用于Vue容器上,注册自定义的权限
|
|
1031
1031
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1032
1032
|
"use strict";
|
|
1033
|
-
|
|
1033
|
+
_classCallCheck(this, CustomPermissionItem);
|
|
1034
1034
|
/**
|
|
1035
1035
|
* 人工输入的权限key
|
|
1036
|
-
*/
|
|
1036
|
+
*/ _defineProperty(this, "key", void 0);
|
|
1037
1037
|
/**
|
|
1038
1038
|
* 权限名称
|
|
1039
|
-
*/
|
|
1039
|
+
*/ _defineProperty(this, "caption", void 0);
|
|
1040
1040
|
var _props_key;
|
|
1041
1041
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1042
1042
|
var _props_caption;
|
|
@@ -1044,11 +1044,11 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1044
1044
|
};
|
|
1045
1045
|
export var BaseStyle = function BaseStyle(props) {
|
|
1046
1046
|
"use strict";
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1047
|
+
_classCallCheck(this, BaseStyle);
|
|
1048
|
+
_defineProperty(this, "width", void 0);
|
|
1049
|
+
_defineProperty(this, "height", void 0);
|
|
1050
|
+
_defineProperty(this, "widthConfig", void 0);
|
|
1051
|
+
_defineProperty(this, "heightConfig", void 0);
|
|
1052
1052
|
var _props_width;
|
|
1053
1053
|
this.width = (_props_width = props === null || props === void 0 ? void 0 : props.width) !== null && _props_width !== void 0 ? _props_width : "";
|
|
1054
1054
|
var _props_height;
|