@byteluck-fe/model-driven-core 7.0.0-1-beta9 → 7.0.0-beta.10
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 +43 -12
- package/dist/esm/common/BaseControl/property.js +19 -10
- package/dist/esm/common/BaseControl/runtime.js +8 -11
- package/dist/esm/common/ColumnControl/property.js +13 -12
- package/dist/esm/common/FormControl/property.js +21 -81
- package/dist/esm/common/LayoutControl/designer.js +13 -4
- package/dist/esm/common/LayoutControl/property.js +4 -1
- package/dist/esm/common/ListControl/designer.js +12 -4
- package/dist/esm/common/ListControl/property.js +22 -10
- package/dist/esm/common/SearchViewControl/property.js +7 -2
- package/dist/esm/common/WrapControl/property.js +4 -1
- package/dist/esm/framework/index.js +443 -351
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/designer.d.ts +14 -0
- package/dist/types/common/BaseControl/property.d.ts +52 -5
- package/dist/types/common/BaseControl/types.d.ts +4 -0
- package/dist/types/common/ColumnControl/designer.d.ts +4 -4
- package/dist/types/common/ColumnControl/property.d.ts +61 -3
- package/dist/types/common/FormControl/property.d.ts +39 -9
- package/dist/types/common/LayoutControl/property.d.ts +9 -3
- package/dist/types/common/ListControl/property.d.ts +52 -3
- package/dist/types/common/SearchViewControl/property.d.ts +16 -3
- package/dist/types/common/WrapControl/property.d.ts +9 -3
- package/dist/types/framework/index.d.ts +229 -27
- package/package.json +3 -3
|
@@ -70,6 +70,7 @@ function _is_native_reflect_construct() {
|
|
|
70
70
|
return !!result;
|
|
71
71
|
})();
|
|
72
72
|
}
|
|
73
|
+
import { getLocaleText } from '@byteluck-fe/locale-message';
|
|
73
74
|
import { FieldTypes, genNonDuplicateId } from '@byteluck-fe/model-driven-shared';
|
|
74
75
|
export * from './RegisterControls';
|
|
75
76
|
/**
|
|
@@ -78,6 +79,7 @@ export * from './RegisterControls';
|
|
|
78
79
|
*/ export var DataBind = function DataBind(props) {
|
|
79
80
|
"use strict";
|
|
80
81
|
_class_call_check(this, DataBind);
|
|
82
|
+
var _ref, _ref1, _ref2;
|
|
81
83
|
/**
|
|
82
84
|
* 数据模型编码
|
|
83
85
|
* @defaultValue ''
|
|
@@ -98,41 +100,34 @@ export * from './RegisterControls';
|
|
|
98
100
|
* @defaultValue undefined
|
|
99
101
|
* @public
|
|
100
102
|
*/ _define_property(this, "aliasCode", void 0);
|
|
101
|
-
|
|
102
|
-
this.
|
|
103
|
-
|
|
104
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
105
|
-
var _props_fieldType;
|
|
106
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
103
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
104
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
105
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
107
106
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
108
107
|
};
|
|
109
108
|
export var AutoWidth = function AutoWidth(props) {
|
|
110
109
|
"use strict";
|
|
111
110
|
_class_call_check(this, AutoWidth);
|
|
111
|
+
var _ref, _ref1;
|
|
112
112
|
_define_property(this, "minWidth", void 0);
|
|
113
113
|
_define_property(this, "maxWidth", void 0);
|
|
114
114
|
_define_property(this, "flex", void 0);
|
|
115
|
-
|
|
116
|
-
this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
|
|
115
|
+
this.minWidth = (_ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _ref !== void 0 ? _ref : 150;
|
|
117
116
|
this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
|
|
118
|
-
|
|
119
|
-
this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
|
|
117
|
+
this.flex = (_ref1 = props === null || props === void 0 ? void 0 : props.flex) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
120
118
|
};
|
|
121
119
|
export var RowHeight = function RowHeight(props) {
|
|
122
120
|
"use strict";
|
|
123
121
|
_class_call_check(this, RowHeight);
|
|
122
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
124
123
|
_define_property(this, "rowHeightType", void 0);
|
|
125
124
|
_define_property(this, "minRows", void 0);
|
|
126
125
|
_define_property(this, "maxRows", void 0);
|
|
127
126
|
_define_property(this, "fiexdRow", void 0);
|
|
128
|
-
|
|
129
|
-
this.
|
|
130
|
-
|
|
131
|
-
this.
|
|
132
|
-
var _props_maxRows;
|
|
133
|
-
this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : 20;
|
|
134
|
-
var _props_fiexdRow;
|
|
135
|
-
this.fiexdRow = (_props_fiexdRow = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _props_fiexdRow !== void 0 ? _props_fiexdRow : 4;
|
|
127
|
+
this.rowHeightType = (_ref = props === null || props === void 0 ? void 0 : props.rowHeightType) !== null && _ref !== void 0 ? _ref : 'fixed';
|
|
128
|
+
this.minRows = (_ref1 = props === null || props === void 0 ? void 0 : props.minRows) !== null && _ref1 !== void 0 ? _ref1 : 4;
|
|
129
|
+
this.maxRows = (_ref2 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref2 !== void 0 ? _ref2 : 20;
|
|
130
|
+
this.fiexdRow = (_ref3 = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _ref3 !== void 0 ? _ref3 : 4;
|
|
136
131
|
};
|
|
137
132
|
export var MetaRowHeight = function MetaRowHeight(props) {
|
|
138
133
|
"use strict";
|
|
@@ -148,13 +143,12 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
148
143
|
function MetaWidth(props) {
|
|
149
144
|
_class_call_check(this, MetaWidth);
|
|
150
145
|
var _this;
|
|
146
|
+
var _ref, _ref1;
|
|
151
147
|
_this = _call_super(this, MetaWidth, [
|
|
152
148
|
props
|
|
153
149
|
]), _define_property(_this, "width", void 0), _define_property(_this, "widthType", void 0);
|
|
154
|
-
|
|
155
|
-
_this.
|
|
156
|
-
var _props_widthType;
|
|
157
|
-
_this.widthType = (_props_widthType = props === null || props === void 0 ? void 0 : props.widthType) !== null && _props_widthType !== void 0 ? _props_widthType : 'auto';
|
|
150
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 240;
|
|
151
|
+
_this.widthType = (_ref1 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref1 !== void 0 ? _ref1 : 'auto';
|
|
158
152
|
return _this;
|
|
159
153
|
}
|
|
160
154
|
return MetaWidth;
|
|
@@ -173,25 +167,22 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
173
167
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
174
168
|
"use strict";
|
|
175
169
|
_class_call_check(this, DataStorageDoc);
|
|
170
|
+
var _ref, _ref1;
|
|
176
171
|
_define_property(this, "type", void 0);
|
|
177
172
|
_define_property(this, "customOptions", void 0);
|
|
178
|
-
|
|
179
|
-
this.
|
|
180
|
-
var _props_customOptions;
|
|
181
|
-
this.customOptions = (_props_customOptions = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _props_customOptions !== void 0 ? _props_customOptions : [];
|
|
173
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'firstThree';
|
|
174
|
+
this.customOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
182
175
|
};
|
|
183
176
|
export var FormBind = function FormBind(props) {
|
|
184
177
|
"use strict";
|
|
185
178
|
_class_call_check(this, FormBind);
|
|
179
|
+
var _ref, _ref1, _ref2;
|
|
186
180
|
_define_property(this, "dataCode", void 0);
|
|
187
181
|
_define_property(this, "formKey", void 0);
|
|
188
182
|
_define_property(this, "appId", void 0);
|
|
189
|
-
|
|
190
|
-
this.
|
|
191
|
-
|
|
192
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
193
|
-
var _props_appId;
|
|
194
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
183
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
184
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
185
|
+
this.appId = (_ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
195
186
|
};
|
|
196
187
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
197
188
|
"use strict";
|
|
@@ -199,11 +190,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
199
190
|
function FormSelectBind(props) {
|
|
200
191
|
_class_call_check(this, FormSelectBind);
|
|
201
192
|
var _this;
|
|
193
|
+
var _ref;
|
|
202
194
|
_this = _call_super(this, FormSelectBind, [
|
|
203
195
|
props
|
|
204
196
|
]), _define_property(_this, "primaryControlId", void 0);
|
|
205
|
-
|
|
206
|
-
_this.primaryControlId = (_props_primaryControlId = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _props_primaryControlId !== void 0 ? _props_primaryControlId : '';
|
|
197
|
+
_this.primaryControlId = (_ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _ref !== void 0 ? _ref : '';
|
|
207
198
|
return _this;
|
|
208
199
|
}
|
|
209
200
|
return FormSelectBind;
|
|
@@ -214,21 +205,21 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
214
205
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
215
206
|
"use strict";
|
|
216
207
|
_class_call_check(this, ListBindHeaderItem);
|
|
208
|
+
var _ref, _ref1;
|
|
217
209
|
/**
|
|
218
210
|
* 字段
|
|
219
211
|
* @defaultValue ''
|
|
220
212
|
*/ _define_property(this, "fieldCode", void 0);
|
|
221
213
|
_define_property(this, "dataCode", void 0);
|
|
222
|
-
|
|
223
|
-
this.
|
|
224
|
-
var _props_dataCode;
|
|
225
|
-
this.dataCode = (_props_dataCode = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _props_dataCode !== void 0 ? _props_dataCode : '';
|
|
214
|
+
this.fieldCode = (_ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref !== void 0 ? _ref : '';
|
|
215
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
226
216
|
};
|
|
227
217
|
/**
|
|
228
218
|
* 列表绑定配置
|
|
229
219
|
*/ export var ListBind = function ListBind(props) {
|
|
230
220
|
"use strict";
|
|
231
221
|
_class_call_check(this, ListBind);
|
|
222
|
+
var _ref, _ref1, _ref2;
|
|
232
223
|
var _props_headers;
|
|
233
224
|
/**
|
|
234
225
|
* 应用ID
|
|
@@ -242,27 +233,22 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
242
233
|
* 显示字段
|
|
243
234
|
* @public
|
|
244
235
|
*/ _define_property(this, "headers", void 0);
|
|
245
|
-
|
|
246
|
-
this.
|
|
247
|
-
|
|
248
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
249
|
-
var _props_headers_map;
|
|
250
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
236
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
237
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
238
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
251
239
|
return new ListBindHeaderItem(item);
|
|
252
|
-
})) !== null &&
|
|
240
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
253
241
|
};
|
|
254
242
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
255
243
|
"use strict";
|
|
256
244
|
_class_call_check(this, FieldBindItem);
|
|
245
|
+
var _ref, _ref1, _ref2;
|
|
257
246
|
_define_property(this, "fieldName", void 0);
|
|
258
247
|
_define_property(this, "fieldCode", void 0);
|
|
259
248
|
_define_property(this, "fieldType", void 0);
|
|
260
|
-
|
|
261
|
-
this.
|
|
262
|
-
|
|
263
|
-
this.fieldCode = (_props_fieldCode = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _props_fieldCode !== void 0 ? _props_fieldCode : '';
|
|
264
|
-
var _props_fieldType;
|
|
265
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : FieldTypes.VARCHAR;
|
|
249
|
+
this.fieldName = (_ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref !== void 0 ? _ref : '';
|
|
250
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
251
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : FieldTypes.VARCHAR;
|
|
266
252
|
};
|
|
267
253
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
268
254
|
"use strict";
|
|
@@ -270,17 +256,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
270
256
|
function SubListItem(props) {
|
|
271
257
|
_class_call_check(this, SubListItem);
|
|
272
258
|
var _this;
|
|
259
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
273
260
|
_this = _call_super(this, SubListItem, [
|
|
274
261
|
props
|
|
275
262
|
]), _define_property(_this, "title", void 0), _define_property(_this, "svcCode", void 0), _define_property(_this, "isOpenFilter", void 0), _define_property(_this, "filters", void 0);
|
|
276
|
-
|
|
277
|
-
_this.
|
|
278
|
-
|
|
279
|
-
_this.
|
|
280
|
-
var _props_isOpenFilter;
|
|
281
|
-
_this.isOpenFilter = (_props_isOpenFilter = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _props_isOpenFilter !== void 0 ? _props_isOpenFilter : false;
|
|
282
|
-
var _props_filters;
|
|
283
|
-
_this.filters = (_props_filters = props === null || props === void 0 ? void 0 : props.filters) !== null && _props_filters !== void 0 ? _props_filters : [];
|
|
263
|
+
_this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
264
|
+
_this.svcCode = (_ref1 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
265
|
+
_this.isOpenFilter = (_ref2 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
266
|
+
_this.filters = (_ref3 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
284
267
|
return _this;
|
|
285
268
|
}
|
|
286
269
|
return SubListItem;
|
|
@@ -288,20 +271,19 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
288
271
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
289
272
|
"use strict";
|
|
290
273
|
_class_call_check(this, SubListPageConfig);
|
|
274
|
+
var _ref, _ref1;
|
|
291
275
|
var _props_displayFields, _props_sublists;
|
|
292
276
|
_define_property(this, "type", 'sublist-page');
|
|
293
277
|
_define_property(this, "formBind", void 0);
|
|
294
278
|
_define_property(this, "displayFields", void 0);
|
|
295
279
|
_define_property(this, "sublists", void 0);
|
|
296
280
|
this.formBind = new FormBind(props === null || props === void 0 ? void 0 : props.formBind);
|
|
297
|
-
|
|
298
|
-
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) {
|
|
281
|
+
this.displayFields = (_ref = props === null || props === void 0 ? void 0 : (_props_displayFields = props.displayFields) === null || _props_displayFields === void 0 ? void 0 : _props_displayFields.map(function(item) {
|
|
299
282
|
return new FieldBindItem(item);
|
|
300
|
-
})) !== null &&
|
|
301
|
-
|
|
302
|
-
this.sublists = (_props_sublists_map = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
283
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
284
|
+
this.sublists = (_ref1 = props === null || props === void 0 ? void 0 : (_props_sublists = props.sublists) === null || _props_sublists === void 0 ? void 0 : _props_sublists.map(function(item) {
|
|
303
285
|
return new SubListItem(item);
|
|
304
|
-
})) !== null &&
|
|
286
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
305
287
|
};
|
|
306
288
|
export var LeftVariable = function LeftVariable(props) {
|
|
307
289
|
"use strict";
|
|
@@ -316,15 +298,13 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
316
298
|
export var RightVariable = function RightVariable(props) {
|
|
317
299
|
"use strict";
|
|
318
300
|
_class_call_check(this, RightVariable);
|
|
301
|
+
var _ref, _ref1, _ref2;
|
|
319
302
|
_define_property(this, "type", void 0);
|
|
320
303
|
_define_property(this, "value", void 0);
|
|
321
304
|
_define_property(this, "displayBos", void 0);
|
|
322
|
-
|
|
323
|
-
this.
|
|
324
|
-
|
|
325
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : [];
|
|
326
|
-
var _props_displayBos;
|
|
327
|
-
this.displayBos = (_props_displayBos = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _props_displayBos !== void 0 ? _props_displayBos : [];
|
|
305
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'custom';
|
|
306
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
307
|
+
this.displayBos = (_ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
328
308
|
};
|
|
329
309
|
/**
|
|
330
310
|
* 连接符条件
|
|
@@ -333,6 +313,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
333
313
|
"use strict";
|
|
334
314
|
var _this = this;
|
|
335
315
|
_class_call_check(this, FieldFilterConditions);
|
|
316
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
336
317
|
/**
|
|
337
318
|
* 编号
|
|
338
319
|
* @defaultValue ''
|
|
@@ -357,14 +338,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
357
338
|
* 包含子项
|
|
358
339
|
* @defaultValue []
|
|
359
340
|
*/ _define_property(this, "children", void 0);
|
|
360
|
-
|
|
361
|
-
this.
|
|
362
|
-
|
|
363
|
-
this.
|
|
364
|
-
var _props_level;
|
|
365
|
-
this.level = (_props_level = props === null || props === void 0 ? void 0 : props.level) !== null && _props_level !== void 0 ? _props_level : 0;
|
|
366
|
-
var _props_value;
|
|
367
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : 'and';
|
|
341
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
342
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
343
|
+
this.level = (_ref2 = props === null || props === void 0 ? void 0 : props.level) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
344
|
+
this.value = (_ref3 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref3 !== void 0 ? _ref3 : 'and';
|
|
368
345
|
this.children = [];
|
|
369
346
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
370
347
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -386,6 +363,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
386
363
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
387
364
|
"use strict";
|
|
388
365
|
_class_call_check(this, FieldFilterCondition);
|
|
366
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
389
367
|
/**
|
|
390
368
|
* 唯一编号
|
|
391
369
|
* @defaultValue ''
|
|
@@ -409,30 +387,24 @@ export var RightVariable = function RightVariable(props) {
|
|
|
409
387
|
/**
|
|
410
388
|
* 右值
|
|
411
389
|
*/ _define_property(this, "rightVariableBo", void 0);
|
|
412
|
-
|
|
413
|
-
this.
|
|
414
|
-
|
|
415
|
-
this.
|
|
416
|
-
|
|
417
|
-
this.symbol = (_props_symbol = props === null || props === void 0 ? void 0 : props.symbol) !== null && _props_symbol !== void 0 ? _props_symbol : '';
|
|
418
|
-
var _props_checked;
|
|
419
|
-
this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
420
|
-
var _props_describe;
|
|
421
|
-
this.describe = (_props_describe = props === null || props === void 0 ? void 0 : props.describe) !== null && _props_describe !== void 0 ? _props_describe : '';
|
|
390
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
391
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
392
|
+
this.symbol = (_ref2 = props === null || props === void 0 ? void 0 : props.symbol) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
393
|
+
this.checked = (_ref3 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
394
|
+
this.describe = (_ref4 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
422
395
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
423
396
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
424
397
|
};
|
|
425
398
|
export var JoinRelation = function JoinRelation(props) {
|
|
426
399
|
"use strict";
|
|
427
400
|
_class_call_check(this, JoinRelation);
|
|
401
|
+
var _ref, _ref1;
|
|
428
402
|
_define_property(this, "aliasCode", void 0);
|
|
429
403
|
_define_property(this, "datasourceBind", void 0);
|
|
430
404
|
_define_property(this, "relationFields", void 0);
|
|
431
|
-
|
|
432
|
-
this.aliasCode = (_props_aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _props_aliasCode !== void 0 ? _props_aliasCode : '';
|
|
405
|
+
this.aliasCode = (_ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _ref !== void 0 ? _ref : '';
|
|
433
406
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
434
|
-
|
|
435
|
-
this.relationFields = (_props_relationFields = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _props_relationFields !== void 0 ? _props_relationFields : [];
|
|
407
|
+
this.relationFields = (_ref1 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
436
408
|
};
|
|
437
409
|
/**
|
|
438
410
|
* 数据填充项
|
|
@@ -440,6 +412,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
440
412
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
441
413
|
"use strict";
|
|
442
414
|
_class_call_check(this, MultistageFillingItem);
|
|
415
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
443
416
|
/**
|
|
444
417
|
* 控件ID
|
|
445
418
|
* @defaultValue ''
|
|
@@ -460,14 +433,10 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
460
433
|
* @defaultValue ''
|
|
461
434
|
* @public
|
|
462
435
|
* */ _define_property(this, "propName", void 0);
|
|
463
|
-
|
|
464
|
-
this.
|
|
465
|
-
|
|
466
|
-
this.
|
|
467
|
-
var _props_fieldType;
|
|
468
|
-
this.fieldType = (_props_fieldType = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _props_fieldType !== void 0 ? _props_fieldType : '';
|
|
469
|
-
var _props_propName;
|
|
470
|
-
this.propName = (_props_propName = props === null || props === void 0 ? void 0 : props.propName) !== null && _props_propName !== void 0 ? _props_propName : '';
|
|
436
|
+
this.controlId = (_ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && _ref !== void 0 ? _ref : '';
|
|
437
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
438
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
439
|
+
this.propName = (_ref3 = props === null || props === void 0 ? void 0 : props.propName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
471
440
|
};
|
|
472
441
|
/**
|
|
473
442
|
* 显示项
|
|
@@ -475,6 +444,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
475
444
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
476
445
|
"use strict";
|
|
477
446
|
_class_call_check(this, DisplayBoListItem);
|
|
447
|
+
var _ref, _ref1;
|
|
478
448
|
/**
|
|
479
449
|
* 显示项类型:字段 | 符号
|
|
480
450
|
* @defaultValue 'FIELD'
|
|
@@ -486,25 +456,22 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
486
456
|
/**
|
|
487
457
|
* 字段数据类型
|
|
488
458
|
*/ _define_property(this, "fieldType", void 0);
|
|
489
|
-
|
|
490
|
-
this.
|
|
491
|
-
var _props_value;
|
|
492
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
459
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'FIELD';
|
|
460
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
493
461
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
494
462
|
};
|
|
495
463
|
export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
496
464
|
"use strict";
|
|
497
465
|
_class_call_check(this, OptionDisplayConfigItem);
|
|
466
|
+
var _ref, _ref1;
|
|
498
467
|
/**
|
|
499
468
|
* 标题
|
|
500
469
|
*/ _define_property(this, "title", void 0);
|
|
501
470
|
/**
|
|
502
471
|
* 字段数据类型
|
|
503
472
|
*/ _define_property(this, "displayBoList", void 0);
|
|
504
|
-
|
|
505
|
-
this.
|
|
506
|
-
var _props_displayBoList;
|
|
507
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
473
|
+
this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
474
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
508
475
|
};
|
|
509
476
|
/**
|
|
510
477
|
* 数据源排序项
|
|
@@ -512,6 +479,7 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
512
479
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
513
480
|
"use strict";
|
|
514
481
|
_class_call_check(this, DataSourceOrderItem);
|
|
482
|
+
var _props_columnName, _props_desc;
|
|
515
483
|
/**
|
|
516
484
|
* 列名
|
|
517
485
|
* @defaultValue ''
|
|
@@ -520,30 +488,27 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
520
488
|
* 倒序
|
|
521
489
|
* @defaultValue false
|
|
522
490
|
*/ _define_property(this, "desc", void 0);
|
|
523
|
-
var _props_columnName;
|
|
524
491
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
525
|
-
var _props_desc;
|
|
526
492
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
527
493
|
};
|
|
528
494
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
529
495
|
"use strict";
|
|
530
496
|
_class_call_check(this, DataSourceDataSetValue);
|
|
497
|
+
var _props_code, _props_value, _props_field_type;
|
|
531
498
|
// fieldCode
|
|
532
499
|
_define_property(this, "code", void 0);
|
|
533
500
|
// 值
|
|
534
501
|
_define_property(this, "value", void 0);
|
|
535
502
|
// 数据类型
|
|
536
503
|
_define_property(this, "field_type", void 0);
|
|
537
|
-
var _props_code;
|
|
538
504
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
539
|
-
var _props_value;
|
|
540
505
|
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
541
|
-
var _props_field_type;
|
|
542
506
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
543
507
|
};
|
|
544
508
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
545
509
|
"use strict";
|
|
546
510
|
_class_call_check(this, DataSourceParamItem);
|
|
511
|
+
var _props_id, _props_limit, _props_formKey, _ref, _ref1;
|
|
547
512
|
var _props_orders, _props_dataSet;
|
|
548
513
|
/**
|
|
549
514
|
* 字段ID
|
|
@@ -552,44 +517,37 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
552
517
|
_define_property(this, "orders", void 0);
|
|
553
518
|
_define_property(this, "formKey", void 0);
|
|
554
519
|
_define_property(this, "dataSet", void 0);
|
|
555
|
-
var _props_id;
|
|
556
520
|
//字段ID,不可以当作随机数生成唯一编号
|
|
557
521
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
558
|
-
var _props_limit;
|
|
559
522
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
560
|
-
var _props_formKey;
|
|
561
523
|
this.formKey = (_props_formKey = props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : '';
|
|
562
|
-
|
|
563
|
-
this.orders = (_props_orders_map = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
524
|
+
this.orders = (_ref = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
564
525
|
return new DataSourceOrderItem(item);
|
|
565
|
-
})) !== null &&
|
|
566
|
-
|
|
567
|
-
this.dataSet = (_props_dataSet_map = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
526
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
527
|
+
this.dataSet = (_ref1 = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
568
528
|
return new DataSourceDataSetValue(item);
|
|
569
|
-
})) !== null &&
|
|
529
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
570
530
|
};
|
|
571
531
|
/**
|
|
572
532
|
* 给filters和orders赋值
|
|
573
533
|
* */ function callFiltersAndOrders(props) {
|
|
534
|
+
var _ref, _ref1, _ref2;
|
|
574
535
|
var _props_filters, _props_viewFilters, _props_orders;
|
|
575
|
-
|
|
576
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
536
|
+
this.filters = (_ref = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
577
537
|
if (item.children !== undefined) {
|
|
578
538
|
return new FieldFilterConditions(item);
|
|
579
539
|
}
|
|
580
540
|
return new FieldFilterCondition(item);
|
|
581
|
-
})) !== null &&
|
|
582
|
-
|
|
583
|
-
this.viewFilters = (_props_viewFilters_map = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
541
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
542
|
+
this.viewFilters = (_ref1 = props === null || props === void 0 ? void 0 : (_props_viewFilters = props.viewFilters) === null || _props_viewFilters === void 0 ? void 0 : _props_viewFilters.map(function(item) {
|
|
584
543
|
if (item.children !== undefined) {
|
|
585
544
|
return new FieldFilterConditions(item);
|
|
586
545
|
}
|
|
587
546
|
return new FieldFilterCondition(item);
|
|
588
|
-
})) !== null &&
|
|
589
|
-
|
|
590
|
-
this.orders = (_props_orders_map = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
547
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
548
|
+
this.orders = (_ref2 = props === null || props === void 0 ? void 0 : (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
591
549
|
return new DataSourceOrderItem(item);
|
|
592
|
-
})) !== null &&
|
|
550
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
593
551
|
// }
|
|
594
552
|
}
|
|
595
553
|
/**
|
|
@@ -599,6 +557,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
599
557
|
"use strict";
|
|
600
558
|
var _this = this;
|
|
601
559
|
_class_call_check(this, DataSourceBind);
|
|
560
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
602
561
|
/**
|
|
603
562
|
* 绑定数据源id
|
|
604
563
|
* @defaultValue ''
|
|
@@ -665,35 +624,223 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
665
624
|
* @defaultValue {}
|
|
666
625
|
* @public
|
|
667
626
|
*/ _define_property(this, "openAssignDepartment", void 0);
|
|
668
|
-
|
|
669
|
-
this.
|
|
670
|
-
|
|
671
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
672
|
-
var _props_valueFieldCode;
|
|
673
|
-
this.valueFieldCode = (_props_valueFieldCode = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _props_valueFieldCode !== void 0 ? _props_valueFieldCode : '';
|
|
627
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
628
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
629
|
+
this.valueFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
674
630
|
this.displayBoList = [];
|
|
675
|
-
|
|
676
|
-
this.isOpenViewFilters = (_props_isOpenViewFilters = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _props_isOpenViewFilters !== void 0 ? _props_isOpenViewFilters : 0;
|
|
631
|
+
this.isOpenViewFilters = (_ref3 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
677
632
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
678
633
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
679
634
|
var _this_displayBoList;
|
|
680
635
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
681
636
|
});
|
|
682
637
|
}
|
|
683
|
-
|
|
684
|
-
this.
|
|
685
|
-
|
|
686
|
-
this.showOrder = (_props_showOrder = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _props_showOrder !== void 0 ? _props_showOrder : true;
|
|
687
|
-
var _props_svcCode;
|
|
688
|
-
this.svcCode = (_props_svcCode = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _props_svcCode !== void 0 ? _props_svcCode : '';
|
|
638
|
+
this.keywordMapping = (_ref4 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
639
|
+
this.showOrder = (_ref5 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _ref5 !== void 0 ? _ref5 : true;
|
|
640
|
+
this.svcCode = (_ref6 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
689
641
|
this.assignDepartment = new RightVariable(props === null || props === void 0 ? void 0 : props.assignDepartment);
|
|
690
|
-
|
|
691
|
-
this.openAssignDepartment = (_props_openAssignDepartment = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _props_openAssignDepartment !== void 0 ? _props_openAssignDepartment : false;
|
|
642
|
+
this.openAssignDepartment = (_ref7 = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
692
643
|
callFiltersAndOrders.call(this, props);
|
|
693
644
|
};
|
|
645
|
+
/**
|
|
646
|
+
* 业务行动绑定配置
|
|
647
|
+
* @public
|
|
648
|
+
*/ export var ActionSourceBind = function ActionSourceBind(props) {
|
|
649
|
+
"use strict";
|
|
650
|
+
_class_call_check(this, ActionSourceBind);
|
|
651
|
+
var _ref, _ref1, _ref2;
|
|
652
|
+
/**
|
|
653
|
+
* 应用Id
|
|
654
|
+
* @defaultValue ''
|
|
655
|
+
* @public
|
|
656
|
+
*/ _define_property(this, "appId", void 0);
|
|
657
|
+
/**
|
|
658
|
+
* 绑定数据源id
|
|
659
|
+
* @defaultValue ''
|
|
660
|
+
* @public
|
|
661
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
662
|
+
/**
|
|
663
|
+
* 业务行动编码
|
|
664
|
+
* @defaultValue ''
|
|
665
|
+
* @public
|
|
666
|
+
*/ _define_property(this, "actionCode", void 0);
|
|
667
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
668
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
669
|
+
this.actionCode = (_ref2 = props === null || props === void 0 ? void 0 : props.actionCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
670
|
+
};
|
|
671
|
+
/**
|
|
672
|
+
* 业务行动服务信息
|
|
673
|
+
* @public
|
|
674
|
+
*/ export var BizActionServiceName = function BizActionServiceName(props) {
|
|
675
|
+
"use strict";
|
|
676
|
+
_class_call_check(this, BizActionServiceName);
|
|
677
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
678
|
+
/**
|
|
679
|
+
* 业务行动编码
|
|
680
|
+
* @defaultValue ''
|
|
681
|
+
* @public
|
|
682
|
+
*/ _define_property(this, "actionCode", void 0);
|
|
683
|
+
/**
|
|
684
|
+
* 数据编码
|
|
685
|
+
* @defaultValue ''
|
|
686
|
+
* @public
|
|
687
|
+
*/ _define_property(this, "dataCode", void 0);
|
|
688
|
+
/**
|
|
689
|
+
* 名称
|
|
690
|
+
* @defaultValue ''
|
|
691
|
+
* @public
|
|
692
|
+
*/ _define_property(this, "name", void 0);
|
|
693
|
+
/**
|
|
694
|
+
* 应用名称
|
|
695
|
+
* @defaultValue ''
|
|
696
|
+
* @public
|
|
697
|
+
*/ _define_property(this, "appName", void 0);
|
|
698
|
+
/**
|
|
699
|
+
* 数据名称
|
|
700
|
+
* @defaultValue ''
|
|
701
|
+
* @public
|
|
702
|
+
*/ _define_property(this, "dataName", void 0);
|
|
703
|
+
/**
|
|
704
|
+
* 业务行动名称
|
|
705
|
+
* @defaultValue ''
|
|
706
|
+
* @public
|
|
707
|
+
*/ _define_property(this, "actionName", void 0);
|
|
708
|
+
/**
|
|
709
|
+
* 展示名称
|
|
710
|
+
* @defaultValue ''
|
|
711
|
+
* @public
|
|
712
|
+
*/ _define_property(this, "displayName", void 0);
|
|
713
|
+
/**
|
|
714
|
+
* 服务类型
|
|
715
|
+
* @defaultValue ''
|
|
716
|
+
* @public
|
|
717
|
+
*/ _define_property(this, "svcTypeEnum", void 0);
|
|
718
|
+
this.actionCode = (_ref = props === null || props === void 0 ? void 0 : props.actionCode) !== null && _ref !== void 0 ? _ref : '';
|
|
719
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
720
|
+
this.name = (_ref2 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
721
|
+
this.appName = (_ref3 = props === null || props === void 0 ? void 0 : props.appName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
722
|
+
this.dataName = (_ref4 = props === null || props === void 0 ? void 0 : props.dataName) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
723
|
+
this.actionName = (_ref5 = props === null || props === void 0 ? void 0 : props.actionName) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
724
|
+
this.displayName = (_ref6 = props === null || props === void 0 ? void 0 : props.displayName) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
725
|
+
this.svcTypeEnum = (_ref7 = props === null || props === void 0 ? void 0 : props.svcTypeEnum) !== null && _ref7 !== void 0 ? _ref7 : '';
|
|
726
|
+
};
|
|
727
|
+
/**
|
|
728
|
+
* 业务行动右值变量
|
|
729
|
+
* @public
|
|
730
|
+
*/ export var BizActionRightVariable = function BizActionRightVariable(props) {
|
|
731
|
+
"use strict";
|
|
732
|
+
_class_call_check(this, BizActionRightVariable);
|
|
733
|
+
var _ref, _ref1, _ref2;
|
|
734
|
+
/**
|
|
735
|
+
* 变量类型
|
|
736
|
+
* @defaultValue 'custom'
|
|
737
|
+
* @public
|
|
738
|
+
*/ _define_property(this, "type", void 0);
|
|
739
|
+
/**
|
|
740
|
+
* 变量值
|
|
741
|
+
* @defaultValue []
|
|
742
|
+
* @public
|
|
743
|
+
*/ _define_property(this, "value", void 0);
|
|
744
|
+
/**
|
|
745
|
+
* 展示对象
|
|
746
|
+
* @defaultValue []
|
|
747
|
+
* @public
|
|
748
|
+
*/ _define_property(this, "displayBos", void 0);
|
|
749
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'custom';
|
|
750
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
751
|
+
this.displayBos = (_ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
752
|
+
};
|
|
753
|
+
/**
|
|
754
|
+
* 业务行动入参
|
|
755
|
+
* @public
|
|
756
|
+
*/ export var BizActionInputParam = function BizActionInputParam(props) {
|
|
757
|
+
"use strict";
|
|
758
|
+
_class_call_check(this, BizActionInputParam);
|
|
759
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
760
|
+
/**
|
|
761
|
+
* 参数ID
|
|
762
|
+
* @defaultValue ''
|
|
763
|
+
* @public
|
|
764
|
+
*/ _define_property(this, "id", void 0);
|
|
765
|
+
/**
|
|
766
|
+
* 参数名称
|
|
767
|
+
* @defaultValue ''
|
|
768
|
+
* @public
|
|
769
|
+
*/ _define_property(this, "name", void 0);
|
|
770
|
+
/**
|
|
771
|
+
* 是否必填
|
|
772
|
+
* @defaultValue false
|
|
773
|
+
* @public
|
|
774
|
+
*/ _define_property(this, "required", void 0);
|
|
775
|
+
/**
|
|
776
|
+
* 参数类型
|
|
777
|
+
* @defaultValue ''
|
|
778
|
+
* @public
|
|
779
|
+
*/ _define_property(this, "paramType", void 0);
|
|
780
|
+
/**
|
|
781
|
+
* 参数右值变量
|
|
782
|
+
* @defaultValue new BizActionRightVariable()
|
|
783
|
+
* @public
|
|
784
|
+
*/ _define_property(this, "rightVariableBo", void 0);
|
|
785
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : '';
|
|
786
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
787
|
+
this.required = (_ref2 = props === null || props === void 0 ? void 0 : props.required) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
788
|
+
this.paramType = (_ref3 = props === null || props === void 0 ? void 0 : props.paramType) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
789
|
+
this.rightVariableBo = new BizActionRightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
790
|
+
};
|
|
791
|
+
/**
|
|
792
|
+
* 业务行动配置
|
|
793
|
+
* @public
|
|
794
|
+
*/ export var BizActionObject = function BizActionObject(props) {
|
|
795
|
+
"use strict";
|
|
796
|
+
_class_call_check(this, BizActionObject);
|
|
797
|
+
var _ref;
|
|
798
|
+
var _props_inputParam;
|
|
799
|
+
/**
|
|
800
|
+
* 服务信息
|
|
801
|
+
* @defaultValue new BizActionServiceName()
|
|
802
|
+
* @public
|
|
803
|
+
*/ _define_property(this, "serviceName", void 0);
|
|
804
|
+
/**
|
|
805
|
+
* 入参列表
|
|
806
|
+
* @defaultValue []
|
|
807
|
+
* @public
|
|
808
|
+
*/ _define_property(this, "inputParam", void 0);
|
|
809
|
+
this.serviceName = new BizActionServiceName(props === null || props === void 0 ? void 0 : props.serviceName);
|
|
810
|
+
this.inputParam = (_ref = props === null || props === void 0 ? void 0 : (_props_inputParam = props.inputParam) === null || _props_inputParam === void 0 ? void 0 : _props_inputParam.map(function(item) {
|
|
811
|
+
return new BizActionInputParam(item);
|
|
812
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
813
|
+
};
|
|
814
|
+
/**
|
|
815
|
+
* 操作行动项配置
|
|
816
|
+
* @public
|
|
817
|
+
*/ export var ActionObject = function ActionObject(props) {
|
|
818
|
+
"use strict";
|
|
819
|
+
_class_call_check(this, ActionObject);
|
|
820
|
+
var _ref, _ref1;
|
|
821
|
+
/**
|
|
822
|
+
* 行动编码
|
|
823
|
+
* @defaultValue ''
|
|
824
|
+
* @public
|
|
825
|
+
*/ _define_property(this, "actionCode", void 0);
|
|
826
|
+
/**
|
|
827
|
+
* 行动类型
|
|
828
|
+
* @defaultValue ''
|
|
829
|
+
* @public
|
|
830
|
+
*/ _define_property(this, "actionType", void 0);
|
|
831
|
+
/**
|
|
832
|
+
* 业务行动配置
|
|
833
|
+
* @defaultValue new BizActionObject()
|
|
834
|
+
* @public
|
|
835
|
+
*/ _define_property(this, "bizAction", void 0);
|
|
836
|
+
this.actionCode = (_ref = props === null || props === void 0 ? void 0 : props.actionCode) !== null && _ref !== void 0 ? _ref : '';
|
|
837
|
+
this.actionType = (_ref1 = props === null || props === void 0 ? void 0 : props.actionType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
838
|
+
this.bizAction = new BizActionObject(props === null || props === void 0 ? void 0 : props.bizAction);
|
|
839
|
+
};
|
|
694
840
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
695
841
|
"use strict";
|
|
696
842
|
_class_call_check(this, SelectedContentConfig);
|
|
843
|
+
var _ref, _ref1;
|
|
697
844
|
/**
|
|
698
845
|
* 展示已选内容
|
|
699
846
|
* @defaultValue ''
|
|
@@ -704,14 +851,13 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
704
851
|
* @defaultValue []
|
|
705
852
|
* @public
|
|
706
853
|
*/ _define_property(this, "displayBoList", void 0);
|
|
707
|
-
|
|
708
|
-
this.
|
|
709
|
-
var _props_displayBoList;
|
|
710
|
-
this.displayBoList = (_props_displayBoList = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _props_displayBoList !== void 0 ? _props_displayBoList : [];
|
|
854
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
855
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
711
856
|
};
|
|
712
857
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
713
858
|
"use strict";
|
|
714
859
|
_class_call_check(this, LinkOperationOption);
|
|
860
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
715
861
|
_define_property(this, "code", void 0);
|
|
716
862
|
_define_property(this, "color", void 0);
|
|
717
863
|
_define_property(this, "command", void 0);
|
|
@@ -723,43 +869,31 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
723
869
|
_define_property(this, "needConfirm", void 0);
|
|
724
870
|
_define_property(this, "openType", void 0);
|
|
725
871
|
_define_property(this, "priorityProcess", void 0);
|
|
726
|
-
|
|
727
|
-
this.
|
|
728
|
-
|
|
729
|
-
this.
|
|
730
|
-
|
|
731
|
-
this.
|
|
732
|
-
var _props_confirmMessage;
|
|
733
|
-
this.confirmMessage = (_props_confirmMessage = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _props_confirmMessage !== void 0 ? _props_confirmMessage : undefined;
|
|
734
|
-
var _props_defaultState;
|
|
735
|
-
this.defaultState = (_props_defaultState = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _props_defaultState !== void 0 ? _props_defaultState : 'default';
|
|
736
|
-
var _props_formKey;
|
|
737
|
-
this.formKey = (_props_formKey = props === null || props === void 0 ? void 0 : props.formKey) !== null && _props_formKey !== void 0 ? _props_formKey : undefined;
|
|
872
|
+
this.code = (_ref = props === null || props === void 0 ? void 0 : props.code) !== null && _ref !== void 0 ? _ref : 'view';
|
|
873
|
+
this.color = (_ref1 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
|
|
874
|
+
this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'view';
|
|
875
|
+
this.confirmMessage = (_ref3 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _ref3 !== void 0 ? _ref3 : undefined;
|
|
876
|
+
this.defaultState = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref4 !== void 0 ? _ref4 : 'default';
|
|
877
|
+
this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : undefined;
|
|
738
878
|
this.formType = props === null || props === void 0 ? void 0 : props.formType;
|
|
739
|
-
|
|
740
|
-
this.
|
|
741
|
-
|
|
742
|
-
this.
|
|
743
|
-
var _props_openType;
|
|
744
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
745
|
-
var _props_priorityProcess;
|
|
746
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : true;
|
|
879
|
+
this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : 'iconliulan1';
|
|
880
|
+
this.needConfirm = (_ref7 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
881
|
+
this.openType = (_ref8 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref8 !== void 0 ? _ref8 : 'modal';
|
|
882
|
+
this.priorityProcess = (_ref9 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
747
883
|
};
|
|
748
884
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
749
885
|
"use strict";
|
|
750
886
|
_class_call_check(this, CustomAttributeItem);
|
|
887
|
+
var _ref, _ref1, _ref2;
|
|
751
888
|
var _props_value;
|
|
752
889
|
_define_property(this, "name", void 0);
|
|
753
890
|
_define_property(this, "key", void 0);
|
|
754
891
|
_define_property(this, "value", void 0);
|
|
755
|
-
|
|
756
|
-
this.
|
|
757
|
-
|
|
758
|
-
this.key = (_props_key = props === null || props === void 0 ? void 0 : props.key) !== null && _props_key !== void 0 ? _props_key : '';
|
|
759
|
-
var _props_value_map;
|
|
760
|
-
this.value = (_props_value_map = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
892
|
+
this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
|
|
893
|
+
this.key = (_ref1 = props === null || props === void 0 ? void 0 : props.key) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
894
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : (_props_value = props.value) === null || _props_value === void 0 ? void 0 : _props_value.map(function(item) {
|
|
761
895
|
return new DisplayBoListItem(item);
|
|
762
|
-
})) !== null &&
|
|
896
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
763
897
|
};
|
|
764
898
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
765
899
|
"use strict";
|
|
@@ -767,14 +901,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
767
901
|
function SuperDataSourceBind(props) {
|
|
768
902
|
_class_call_check(this, SuperDataSourceBind);
|
|
769
903
|
var _this;
|
|
904
|
+
var _ref;
|
|
770
905
|
var _props_attributes;
|
|
771
906
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
772
907
|
props
|
|
773
908
|
]), _define_property(_this, "attributes", void 0);
|
|
774
|
-
|
|
775
|
-
_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) {
|
|
909
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
776
910
|
return new CustomAttributeItem(item);
|
|
777
|
-
})) !== null &&
|
|
911
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
778
912
|
return _this;
|
|
779
913
|
}
|
|
780
914
|
return SuperDataSourceBind;
|
|
@@ -785,16 +919,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
785
919
|
function OrganizationDataSourceBind(props) {
|
|
786
920
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
787
921
|
var _this;
|
|
922
|
+
var _ref, _ref1;
|
|
788
923
|
var _props_attributes;
|
|
789
924
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
790
925
|
props
|
|
791
926
|
]), _define_property(_this, "attributes", void 0), _define_property(_this, "formCode", void 0);
|
|
792
|
-
|
|
793
|
-
_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) {
|
|
927
|
+
_this.attributes = (_ref = props === null || props === void 0 ? void 0 : (_props_attributes = props.attributes) === null || _props_attributes === void 0 ? void 0 : _props_attributes.map(function(item) {
|
|
794
928
|
return new CustomAttributeItem(item);
|
|
795
|
-
})) !== null &&
|
|
796
|
-
|
|
797
|
-
_this.formCode = (_props_formCode = props === null || props === void 0 ? void 0 : props.formCode) !== null && _props_formCode !== void 0 ? _props_formCode : '';
|
|
929
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
930
|
+
_this.formCode = (_ref1 = props === null || props === void 0 ? void 0 : props.formCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
798
931
|
return _this;
|
|
799
932
|
}
|
|
800
933
|
return OrganizationDataSourceBind;
|
|
@@ -805,12 +938,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
805
938
|
function TreeDataSourceBind(props) {
|
|
806
939
|
_class_call_check(this, TreeDataSourceBind);
|
|
807
940
|
var _this;
|
|
941
|
+
var _ref;
|
|
808
942
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
809
943
|
props
|
|
810
944
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
811
945
|
_this.rootNode = new RightVariable(props === null || props === void 0 ? void 0 : props.rootNode);
|
|
812
|
-
|
|
813
|
-
_this.filterCode = (_props_filterCode = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _props_filterCode !== void 0 ? _props_filterCode : '';
|
|
946
|
+
_this.filterCode = (_ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _ref !== void 0 ? _ref : '';
|
|
814
947
|
return _this;
|
|
815
948
|
}
|
|
816
949
|
return TreeDataSourceBind;
|
|
@@ -818,6 +951,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
818
951
|
var FillBind = function FillBind(props) {
|
|
819
952
|
"use strict";
|
|
820
953
|
_class_call_check(this, FillBind);
|
|
954
|
+
var _ref, _ref1, _ref2;
|
|
821
955
|
var _props_fillList;
|
|
822
956
|
/*
|
|
823
957
|
* 需要被填充的数据源
|
|
@@ -828,14 +962,11 @@ var FillBind = function FillBind(props) {
|
|
|
828
962
|
/*
|
|
829
963
|
* 执行填充的数据项和控件
|
|
830
964
|
* */ _define_property(this, "fillList", void 0);
|
|
831
|
-
|
|
832
|
-
this.
|
|
833
|
-
|
|
834
|
-
this.appId = (_props_appId = props === null || props === void 0 ? void 0 : props.appId) !== null && _props_appId !== void 0 ? _props_appId : '';
|
|
835
|
-
var _props_fillList_map;
|
|
836
|
-
this.fillList = (_props_fillList_map = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
965
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
966
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
967
|
+
this.fillList = (_ref2 = props === null || props === void 0 ? void 0 : (_props_fillList = props.fillList) === null || _props_fillList === void 0 ? void 0 : _props_fillList.map(function(item) {
|
|
837
968
|
return new MultistageFillingItem(item);
|
|
838
|
-
})) !== null &&
|
|
969
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
839
970
|
};
|
|
840
971
|
/**
|
|
841
972
|
* FillPayloadBind 填充配置
|
|
@@ -876,6 +1007,7 @@ var FillBind = function FillBind(props) {
|
|
|
876
1007
|
function FillBackBind(props) {
|
|
877
1008
|
_class_call_check(this, FillBackBind);
|
|
878
1009
|
var _this;
|
|
1010
|
+
var _ref, _ref1;
|
|
879
1011
|
_this = _call_super(this, FillBackBind, [
|
|
880
1012
|
props
|
|
881
1013
|
]), /**
|
|
@@ -887,10 +1019,8 @@ var FillBind = function FillBind(props) {
|
|
|
887
1019
|
* @defaultValue false
|
|
888
1020
|
* @public
|
|
889
1021
|
*/ _define_property(_this, "multiple", void 0);
|
|
890
|
-
|
|
891
|
-
_this.
|
|
892
|
-
var _props_multiple;
|
|
893
|
-
_this.multiple = (_props_multiple = props === null || props === void 0 ? void 0 : props.multiple) !== null && _props_multiple !== void 0 ? _props_multiple : false;
|
|
1022
|
+
_this.mode = (_ref = props === null || props === void 0 ? void 0 : props.mode) !== null && _ref !== void 0 ? _ref : 'current';
|
|
1023
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
894
1024
|
return _this;
|
|
895
1025
|
}
|
|
896
1026
|
return FillBackBind;
|
|
@@ -898,15 +1028,13 @@ var FillBind = function FillBind(props) {
|
|
|
898
1028
|
export var Language = function Language(props) {
|
|
899
1029
|
"use strict";
|
|
900
1030
|
_class_call_check(this, Language);
|
|
1031
|
+
var _ref, _ref1, _ref2;
|
|
901
1032
|
_define_property(this, "zh", void 0);
|
|
902
1033
|
_define_property(this, "en", void 0);
|
|
903
1034
|
_define_property(this, "ja", void 0);
|
|
904
|
-
|
|
905
|
-
this.
|
|
906
|
-
|
|
907
|
-
this.en = (_props_en = props === null || props === void 0 ? void 0 : props.en) !== null && _props_en !== void 0 ? _props_en : '';
|
|
908
|
-
var _props_ja;
|
|
909
|
-
this.ja = (_props_ja = props === null || props === void 0 ? void 0 : props.ja) !== null && _props_ja !== void 0 ? _props_ja : '';
|
|
1035
|
+
this.zh = (_ref = props === null || props === void 0 ? void 0 : props.zh) !== null && _ref !== void 0 ? _ref : '';
|
|
1036
|
+
this.en = (_ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1037
|
+
this.ja = (_ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
910
1038
|
};
|
|
911
1039
|
/**
|
|
912
1040
|
* 正则校验
|
|
@@ -914,6 +1042,7 @@ export var Language = function Language(props) {
|
|
|
914
1042
|
*/ export var RegularRules = function RegularRules(props) {
|
|
915
1043
|
"use strict";
|
|
916
1044
|
_class_call_check(this, RegularRules);
|
|
1045
|
+
var _ref, _ref1, _ref2;
|
|
917
1046
|
/**
|
|
918
1047
|
* 内置模版
|
|
919
1048
|
* @defaultValue ''
|
|
@@ -926,12 +1055,9 @@ export var Language = function Language(props) {
|
|
|
926
1055
|
* 校验错误提示信息
|
|
927
1056
|
* @defaultValue ''
|
|
928
1057
|
*/ _define_property(this, "errMessage", void 0);
|
|
929
|
-
|
|
930
|
-
this.
|
|
931
|
-
|
|
932
|
-
this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : '';
|
|
933
|
-
var _props_errMessage;
|
|
934
|
-
this.errMessage = (_props_errMessage = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _props_errMessage !== void 0 ? _props_errMessage : '';
|
|
1058
|
+
this.stencilName = (_ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _ref !== void 0 ? _ref : '';
|
|
1059
|
+
this.expression = (_ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1060
|
+
this.errMessage = (_ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
935
1061
|
};
|
|
936
1062
|
/**
|
|
937
1063
|
* 选项设置-自定义选项
|
|
@@ -939,6 +1065,7 @@ export var Language = function Language(props) {
|
|
|
939
1065
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
940
1066
|
"use strict";
|
|
941
1067
|
_class_call_check(this, OptionSetting);
|
|
1068
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
942
1069
|
_define_property(this, "id", void 0);
|
|
943
1070
|
/**
|
|
944
1071
|
* 显示值
|
|
@@ -955,14 +1082,10 @@ export var Language = function Language(props) {
|
|
|
955
1082
|
* @defaultValue
|
|
956
1083
|
* @public
|
|
957
1084
|
*/ _define_property(this, "color", void 0);
|
|
958
|
-
|
|
959
|
-
this.
|
|
960
|
-
|
|
961
|
-
this.
|
|
962
|
-
var _props_value;
|
|
963
|
-
this.value = (_props_value = props === null || props === void 0 ? void 0 : props.value) !== null && _props_value !== void 0 ? _props_value : this.label;
|
|
964
|
-
var _props_color;
|
|
965
|
-
this.color = (_props_color = props === null || props === void 0 ? void 0 : props.color) !== null && _props_color !== void 0 ? _props_color : '';
|
|
1085
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1086
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1087
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : this.label;
|
|
1088
|
+
this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
966
1089
|
};
|
|
967
1090
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
968
1091
|
"use strict";
|
|
@@ -970,13 +1093,12 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
970
1093
|
function ImageOptionSetting(props) {
|
|
971
1094
|
_class_call_check(this, ImageOptionSetting);
|
|
972
1095
|
var _this;
|
|
1096
|
+
var _ref, _ref1;
|
|
973
1097
|
_this = _call_super(this, ImageOptionSetting, [
|
|
974
1098
|
props
|
|
975
1099
|
]), _define_property(_this, "image", void 0), _define_property(_this, "type", void 0);
|
|
976
|
-
|
|
977
|
-
_this.
|
|
978
|
-
var _props_type;
|
|
979
|
-
_this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : 'src';
|
|
1100
|
+
_this.image = (_ref = props === null || props === void 0 ? void 0 : props.image) !== null && _ref !== void 0 ? _ref : '';
|
|
1101
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'src';
|
|
980
1102
|
return _this;
|
|
981
1103
|
}
|
|
982
1104
|
return ImageOptionSetting;
|
|
@@ -987,34 +1109,33 @@ export var AiOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
987
1109
|
function AiOptionSetting(props) {
|
|
988
1110
|
_class_call_check(this, AiOptionSetting);
|
|
989
1111
|
var _this;
|
|
1112
|
+
var _ref, _ref1;
|
|
990
1113
|
_this = _call_super(this, AiOptionSetting, [
|
|
991
1114
|
props
|
|
992
1115
|
]), _define_property(_this, "cueWord", void 0), _define_property(_this, "checked", void 0);
|
|
993
|
-
|
|
994
|
-
_this.
|
|
995
|
-
var _props_checked;
|
|
996
|
-
_this.checked = (_props_checked = props === null || props === void 0 ? void 0 : props.checked) !== null && _props_checked !== void 0 ? _props_checked : false;
|
|
1116
|
+
_this.cueWord = (_ref = props === null || props === void 0 ? void 0 : props.cueWord) !== null && _ref !== void 0 ? _ref : '';
|
|
1117
|
+
_this.checked = (_ref1 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
997
1118
|
return _this;
|
|
998
1119
|
}
|
|
999
1120
|
return AiOptionSetting;
|
|
1000
1121
|
}(OptionSetting);
|
|
1001
1122
|
export function initOptions(options) {
|
|
1002
|
-
var
|
|
1003
|
-
return (
|
|
1123
|
+
var _ref;
|
|
1124
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1004
1125
|
return new OptionSetting(item);
|
|
1005
|
-
})) !== null &&
|
|
1126
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1006
1127
|
}
|
|
1007
1128
|
export function initImageOptions(options) {
|
|
1008
|
-
var
|
|
1009
|
-
return (
|
|
1129
|
+
var _ref;
|
|
1130
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1010
1131
|
return new ImageOptionSetting(item);
|
|
1011
|
-
})) !== null &&
|
|
1132
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1012
1133
|
}
|
|
1013
1134
|
export function initAiOptions(options) {
|
|
1014
|
-
var
|
|
1015
|
-
return (
|
|
1135
|
+
var _ref;
|
|
1136
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1016
1137
|
return new AiOptionSetting(item);
|
|
1017
|
-
})) !== null &&
|
|
1138
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1018
1139
|
}
|
|
1019
1140
|
/**
|
|
1020
1141
|
* 对象类型数据绑定配置
|
|
@@ -1049,6 +1170,7 @@ export function initAiOptions(options) {
|
|
|
1049
1170
|
*/ export var AmountValue = function AmountValue(props) {
|
|
1050
1171
|
"use strict";
|
|
1051
1172
|
_class_call_check(this, AmountValue);
|
|
1173
|
+
var _ref, _ref1;
|
|
1052
1174
|
/**
|
|
1053
1175
|
* 金额值
|
|
1054
1176
|
* @defaultValue ''
|
|
@@ -1057,10 +1179,8 @@ export function initAiOptions(options) {
|
|
|
1057
1179
|
* 货币值
|
|
1058
1180
|
* @defaultValue 'CNY'
|
|
1059
1181
|
*/ _define_property(this, "currency", void 0);
|
|
1060
|
-
|
|
1061
|
-
this.
|
|
1062
|
-
var _props_currency;
|
|
1063
|
-
this.currency = (_props_currency = props === null || props === void 0 ? void 0 : props.currency) !== null && _props_currency !== void 0 ? _props_currency : "CNY";
|
|
1182
|
+
this.amount = (_ref = props === null || props === void 0 ? void 0 : props.amount) !== null && _ref !== void 0 ? _ref : '';
|
|
1183
|
+
this.currency = (_ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && _ref1 !== void 0 ? _ref1 : "CNY";
|
|
1064
1184
|
};
|
|
1065
1185
|
/**
|
|
1066
1186
|
* 日期区间数据绑定项
|
|
@@ -1088,6 +1208,7 @@ export function initAiOptions(options) {
|
|
|
1088
1208
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1089
1209
|
"use strict";
|
|
1090
1210
|
_class_call_check(this, RangeDateValue);
|
|
1211
|
+
var _ref, _ref1;
|
|
1091
1212
|
/**
|
|
1092
1213
|
* 开始日期值
|
|
1093
1214
|
* @defaultValue ''
|
|
@@ -1096,10 +1217,8 @@ export function initAiOptions(options) {
|
|
|
1096
1217
|
* 结束日期值
|
|
1097
1218
|
* @defaultValue ''
|
|
1098
1219
|
*/ _define_property(this, "max", void 0);
|
|
1099
|
-
|
|
1100
|
-
this.
|
|
1101
|
-
var _props_max;
|
|
1102
|
-
this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : '';
|
|
1220
|
+
this.min = (_ref = props === null || props === void 0 ? void 0 : props.min) !== null && _ref !== void 0 ? _ref : '';
|
|
1221
|
+
this.max = (_ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1103
1222
|
};
|
|
1104
1223
|
/**
|
|
1105
1224
|
* 地址值
|
|
@@ -1107,6 +1226,15 @@ export function initAiOptions(options) {
|
|
|
1107
1226
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1108
1227
|
"use strict";
|
|
1109
1228
|
_class_call_check(this, AddressValue);
|
|
1229
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
1230
|
+
/**
|
|
1231
|
+
* 国家编码
|
|
1232
|
+
* @defaultValue ''
|
|
1233
|
+
*/ _define_property(this, "country", void 0);
|
|
1234
|
+
/**
|
|
1235
|
+
* 国家显示文字
|
|
1236
|
+
* @defaultValue ''
|
|
1237
|
+
*/ _define_property(this, "countryDisplay", void 0);
|
|
1110
1238
|
/**
|
|
1111
1239
|
* 市编码
|
|
1112
1240
|
* @defaultValue ''
|
|
@@ -1131,18 +1259,14 @@ export function initAiOptions(options) {
|
|
|
1131
1259
|
* 省显示文字
|
|
1132
1260
|
* @defaultValue ''
|
|
1133
1261
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1134
|
-
|
|
1135
|
-
this.
|
|
1136
|
-
|
|
1137
|
-
this.cityDisplay = (
|
|
1138
|
-
|
|
1139
|
-
this.
|
|
1140
|
-
|
|
1141
|
-
this.
|
|
1142
|
-
var _props_province;
|
|
1143
|
-
this.province = (_props_province = props === null || props === void 0 ? void 0 : props.province) !== null && _props_province !== void 0 ? _props_province : '';
|
|
1144
|
-
var _props_provinceDisplay;
|
|
1145
|
-
this.provinceDisplay = (_props_provinceDisplay = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _props_provinceDisplay !== void 0 ? _props_provinceDisplay : '';
|
|
1262
|
+
this.country = (_ref = props === null || props === void 0 ? void 0 : props.country) !== null && _ref !== void 0 ? _ref : '';
|
|
1263
|
+
this.countryDisplay = (_ref1 = props === null || props === void 0 ? void 0 : props.countryDisplay) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1264
|
+
this.city = (_ref2 = props === null || props === void 0 ? void 0 : props.city) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1265
|
+
this.cityDisplay = (_ref3 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1266
|
+
this.district = (_ref4 = props === null || props === void 0 ? void 0 : props.district) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1267
|
+
this.districtDisplay = (_ref5 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
1268
|
+
this.province = (_ref6 = props === null || props === void 0 ? void 0 : props.province) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
1269
|
+
this.provinceDisplay = (_ref7 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _ref7 !== void 0 ? _ref7 : '';
|
|
1146
1270
|
};
|
|
1147
1271
|
/**
|
|
1148
1272
|
* 计算公式数据绑定项
|
|
@@ -1170,6 +1294,7 @@ export function initAiOptions(options) {
|
|
|
1170
1294
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1171
1295
|
"use strict";
|
|
1172
1296
|
_class_call_check(this, CalcValue);
|
|
1297
|
+
var _ref, _ref1;
|
|
1173
1298
|
/**
|
|
1174
1299
|
* 计算结果值
|
|
1175
1300
|
* @defaultValue 0
|
|
@@ -1178,10 +1303,8 @@ export function initAiOptions(options) {
|
|
|
1178
1303
|
* 单位
|
|
1179
1304
|
* @defaultValue ''
|
|
1180
1305
|
*/ _define_property(this, "unit", void 0);
|
|
1181
|
-
|
|
1182
|
-
this.
|
|
1183
|
-
var _props_unit;
|
|
1184
|
-
this.unit = (_props_unit = props === null || props === void 0 ? void 0 : props.unit) !== null && _props_unit !== void 0 ? _props_unit : '';
|
|
1306
|
+
this.result = (_ref = props === null || props === void 0 ? void 0 : props.result) !== null && _ref !== void 0 ? _ref : 0;
|
|
1307
|
+
this.unit = (_ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1185
1308
|
};
|
|
1186
1309
|
// 币种类型
|
|
1187
1310
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1262,6 +1385,7 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1262
1385
|
COMMON_SETTING_TYPE["CAPTION_SIZE"] = "captionSize";
|
|
1263
1386
|
COMMON_SETTING_TYPE["CAPTION_COLOR"] = "captionColor";
|
|
1264
1387
|
COMMON_SETTING_TYPE["IS_CAPTION_ITALIC"] = "isCaptionItalic";
|
|
1388
|
+
COMMON_SETTING_TYPE["CAPTION_FONT_WEIGHT"] = "captionFontWeight";
|
|
1265
1389
|
COMMON_SETTING_TYPE["SHOW_TABLE_INDEX"] = "showTableIndex";
|
|
1266
1390
|
return COMMON_SETTING_TYPE;
|
|
1267
1391
|
}({});
|
|
@@ -1278,6 +1402,7 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1278
1402
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1279
1403
|
"use strict";
|
|
1280
1404
|
_class_call_check(this, OperationItem);
|
|
1405
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1281
1406
|
/**
|
|
1282
1407
|
* 是否显示
|
|
1283
1408
|
* @defaultValue true
|
|
@@ -1304,36 +1429,28 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1304
1429
|
* @public
|
|
1305
1430
|
*/ _define_property(this, "openType", void 0);
|
|
1306
1431
|
_define_property(this, "type", void 0);
|
|
1307
|
-
|
|
1308
|
-
this.
|
|
1309
|
-
|
|
1310
|
-
this.
|
|
1311
|
-
|
|
1312
|
-
this.
|
|
1313
|
-
var _props_openType;
|
|
1314
|
-
this.openType = (_props_openType = props === null || props === void 0 ? void 0 : props.openType) !== null && _props_openType !== void 0 ? _props_openType : 'modal';
|
|
1315
|
-
var _props_type;
|
|
1316
|
-
this.type = (_props_type = props === null || props === void 0 ? void 0 : props.type) !== null && _props_type !== void 0 ? _props_type : '';
|
|
1317
|
-
var _props_priorityProcess;
|
|
1318
|
-
this.priorityProcess = (_props_priorityProcess = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _props_priorityProcess !== void 0 ? _props_priorityProcess : false;
|
|
1432
|
+
this.isShow = (_ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && _ref !== void 0 ? _ref : true;
|
|
1433
|
+
this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1434
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1435
|
+
this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
|
|
1436
|
+
this.type = (_ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1437
|
+
this.priorityProcess = (_ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
1319
1438
|
};
|
|
1320
1439
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1321
1440
|
"use strict";
|
|
1322
1441
|
_class_call_check(this, ViewOperationItem);
|
|
1442
|
+
var _ref, _ref1, _ref2;
|
|
1323
1443
|
var _props_headers;
|
|
1324
1444
|
_define_property(this, "id", void 0);
|
|
1325
1445
|
_define_property(this, "title", void 0);
|
|
1326
1446
|
_define_property(this, "filters", void 0);
|
|
1327
1447
|
_define_property(this, "viewFilters", void 0);
|
|
1328
1448
|
_define_property(this, "headers", void 0);
|
|
1329
|
-
|
|
1330
|
-
this.
|
|
1331
|
-
|
|
1332
|
-
this.title = (_props_title = props === null || props === void 0 ? void 0 : props.title) !== null && _props_title !== void 0 ? _props_title : '';
|
|
1333
|
-
var _props_headers_map;
|
|
1334
|
-
this.headers = (_props_headers_map = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1449
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1450
|
+
this.title = (_ref1 = props === null || props === void 0 ? void 0 : props.title) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1451
|
+
this.headers = (_ref2 = props === null || props === void 0 ? void 0 : (_props_headers = props.headers) === null || _props_headers === void 0 ? void 0 : _props_headers.map(function(item) {
|
|
1335
1452
|
return new ListBindHeaderItem(item);
|
|
1336
|
-
})) !== null &&
|
|
1453
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1337
1454
|
callFiltersAndOrders.call(this, props);
|
|
1338
1455
|
};
|
|
1339
1456
|
/**
|
|
@@ -1341,36 +1458,33 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1341
1458
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1342
1459
|
"use strict";
|
|
1343
1460
|
_class_call_check(this, CustomPermissionItem);
|
|
1461
|
+
var _props_key, _props_caption;
|
|
1344
1462
|
/**
|
|
1345
1463
|
* 人工输入的权限key
|
|
1346
1464
|
*/ _define_property(this, "key", void 0);
|
|
1347
1465
|
/**
|
|
1348
1466
|
* 权限名称
|
|
1349
1467
|
*/ _define_property(this, "caption", void 0);
|
|
1350
|
-
var _props_key;
|
|
1351
1468
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1352
|
-
var _props_caption;
|
|
1353
1469
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1354
1470
|
};
|
|
1355
1471
|
export var BaseStyle = function BaseStyle(props) {
|
|
1356
1472
|
"use strict";
|
|
1357
1473
|
_class_call_check(this, BaseStyle);
|
|
1474
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1358
1475
|
_define_property(this, "width", void 0);
|
|
1359
1476
|
_define_property(this, "height", void 0);
|
|
1360
1477
|
_define_property(this, "widthConfig", void 0);
|
|
1361
1478
|
_define_property(this, "heightConfig", void 0);
|
|
1362
|
-
|
|
1363
|
-
this.
|
|
1364
|
-
|
|
1365
|
-
this.
|
|
1366
|
-
var _props_widthConfig;
|
|
1367
|
-
this.widthConfig = (_props_widthConfig = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _props_widthConfig !== void 0 ? _props_widthConfig : 'fill';
|
|
1368
|
-
var _props_heightConfig;
|
|
1369
|
-
this.heightConfig = (_props_heightConfig = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _props_heightConfig !== void 0 ? _props_heightConfig : 'fill';
|
|
1479
|
+
this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
|
|
1480
|
+
this.height = (_ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1481
|
+
this.widthConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _ref2 !== void 0 ? _ref2 : 'fill';
|
|
1482
|
+
this.heightConfig = (_ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _ref3 !== void 0 ? _ref3 : 'fill';
|
|
1370
1483
|
};
|
|
1371
1484
|
export var OptObject = function OptObject(props) {
|
|
1372
1485
|
"use strict";
|
|
1373
1486
|
_class_call_check(this, OptObject);
|
|
1487
|
+
var _ref, _ref1;
|
|
1374
1488
|
/**
|
|
1375
1489
|
* 操作项编码
|
|
1376
1490
|
* @defaultValue ''
|
|
@@ -1381,14 +1495,13 @@ export var OptObject = function OptObject(props) {
|
|
|
1381
1495
|
* @defaultValue ''
|
|
1382
1496
|
* @public
|
|
1383
1497
|
*/ _define_property(this, "optType", void 0);
|
|
1384
|
-
|
|
1385
|
-
this.
|
|
1386
|
-
var _props_optType;
|
|
1387
|
-
this.optType = (_props_optType = props === null || props === void 0 ? void 0 : props.optType) !== null && _props_optType !== void 0 ? _props_optType : '';
|
|
1498
|
+
this.optCode = (_ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && _ref !== void 0 ? _ref : '';
|
|
1499
|
+
this.optType = (_ref1 = props === null || props === void 0 ? void 0 : props.optType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1388
1500
|
};
|
|
1389
1501
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1390
1502
|
"use strict";
|
|
1391
1503
|
_class_call_check(this, RowStyleRule);
|
|
1504
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1392
1505
|
var _props_filters, _props_settings;
|
|
1393
1506
|
/**
|
|
1394
1507
|
* 规则编号
|
|
@@ -1408,26 +1521,23 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1408
1521
|
*/ _define_property(this, "filters", void 0);
|
|
1409
1522
|
// 过滤
|
|
1410
1523
|
_define_property(this, "script", void 0);
|
|
1411
|
-
|
|
1412
|
-
this.
|
|
1413
|
-
|
|
1414
|
-
this.name = (_props_name = props === null || props === void 0 ? void 0 : props.name) !== null && _props_name !== void 0 ? _props_name : '';
|
|
1415
|
-
var _props_filters_map;
|
|
1416
|
-
this.filters = (_props_filters_map = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1524
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
1525
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1526
|
+
this.filters = (_ref2 = props === null || props === void 0 ? void 0 : (_props_filters = props.filters) === null || _props_filters === void 0 ? void 0 : _props_filters.map(function(item) {
|
|
1417
1527
|
if (item.children !== undefined) {
|
|
1418
1528
|
return new FieldFilterConditions(item);
|
|
1419
1529
|
}
|
|
1420
1530
|
return new FieldFilterCondition(item);
|
|
1421
|
-
})) !== null &&
|
|
1422
|
-
|
|
1423
|
-
this.settings = (props === null || props === void 0 ? void 0 : props.settings) && Array.isArray(props === null || props === void 0 ? void 0 : props.settings) ? (_props_settings_map = props === null || props === void 0 ? void 0 : (_props_settings = props.settings) === null || _props_settings === void 0 ? void 0 : _props_settings.map(function(item) {
|
|
1531
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1532
|
+
this.settings = (props === null || props === void 0 ? void 0 : props.settings) && Array.isArray(props === null || props === void 0 ? void 0 : props.settings) ? (_ref3 = props === null || props === void 0 ? void 0 : (_props_settings = props.settings) === null || _props_settings === void 0 ? void 0 : _props_settings.map(function(item) {
|
|
1424
1533
|
return new RowStyleSettings(item);
|
|
1425
|
-
})) !== null &&
|
|
1534
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : [] : [];
|
|
1426
1535
|
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1427
1536
|
};
|
|
1428
1537
|
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1429
1538
|
"use strict";
|
|
1430
1539
|
_class_call_check(this, RowStyleSettings);
|
|
1540
|
+
var _props_type, _props_fieldCodes, _props_color, _props_scope;
|
|
1431
1541
|
/**
|
|
1432
1542
|
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1433
1543
|
* @defaultValue 'theme'
|
|
@@ -1442,36 +1552,31 @@ export var RowStyleSettings = function RowStyleSettings(props) {
|
|
|
1442
1552
|
/**
|
|
1443
1553
|
* 作用范围,row整行,col整列
|
|
1444
1554
|
*/ _define_property(this, "scope", void 0);
|
|
1445
|
-
var _props_type;
|
|
1446
1555
|
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1447
|
-
var _props_fieldCodes;
|
|
1448
1556
|
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1449
|
-
var _props_color;
|
|
1450
1557
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1451
|
-
var _props_scope;
|
|
1452
1558
|
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1453
1559
|
};
|
|
1454
1560
|
export var RowStyle = function RowStyle(props) {
|
|
1455
1561
|
"use strict";
|
|
1456
1562
|
_class_call_check(this, RowStyle);
|
|
1563
|
+
var _ref, _ref1, _ref2;
|
|
1457
1564
|
var _props_rules;
|
|
1458
1565
|
_define_property(this, "type", void 0);
|
|
1459
1566
|
_define_property(this, "interval", void 0);
|
|
1460
1567
|
_define_property(this, "rules", void 0);
|
|
1461
|
-
|
|
1462
|
-
this.
|
|
1463
|
-
var _props_interval;
|
|
1464
|
-
this.interval = (_props_interval = props === null || props === void 0 ? void 0 : props.interval) !== null && _props_interval !== void 0 ? _props_interval : {
|
|
1568
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'none';
|
|
1569
|
+
this.interval = (_ref1 = props === null || props === void 0 ? void 0 : props.interval) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
1465
1570
|
color: ''
|
|
1466
1571
|
};
|
|
1467
|
-
|
|
1468
|
-
this.rules = (props === null || props === void 0 ? void 0 : props.rules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rules) ? (_props_rules_map = props === null || props === void 0 ? void 0 : (_props_rules = props.rules) === null || _props_rules === void 0 ? void 0 : _props_rules.map(function(item) {
|
|
1572
|
+
this.rules = (props === null || props === void 0 ? void 0 : props.rules) && Array.isArray(props === null || props === void 0 ? void 0 : props.rules) ? (_ref2 = props === null || props === void 0 ? void 0 : (_props_rules = props.rules) === null || _props_rules === void 0 ? void 0 : _props_rules.map(function(item) {
|
|
1469
1573
|
return new RowStyleRule(item);
|
|
1470
|
-
})) !== null &&
|
|
1574
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [] : [];
|
|
1471
1575
|
};
|
|
1472
1576
|
export var ListTreeData = function ListTreeData(props) {
|
|
1473
1577
|
"use strict";
|
|
1474
1578
|
_class_call_check(this, ListTreeData);
|
|
1579
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
1475
1580
|
// 是否默认展开分组 -1:全展开,0:不展开
|
|
1476
1581
|
_define_property(this, "groupDefaultExpanded", void 0);
|
|
1477
1582
|
// 是否显示每个分组行数统计
|
|
@@ -1482,77 +1587,64 @@ export var ListTreeData = function ListTreeData(props) {
|
|
|
1482
1587
|
_define_property(this, "groupHeaderName", void 0);
|
|
1483
1588
|
// 显示页脚统计按钮,当去掉序号列时能支持统计
|
|
1484
1589
|
_define_property(this, "showFooterStatistics", void 0);
|
|
1485
|
-
|
|
1486
|
-
this.
|
|
1487
|
-
|
|
1488
|
-
this.
|
|
1489
|
-
|
|
1490
|
-
this.groupFields = (_props_groupFields = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _props_groupFields !== void 0 ? _props_groupFields : [];
|
|
1491
|
-
var _props_groupHeaderName;
|
|
1492
|
-
this.groupHeaderName = (_props_groupHeaderName = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _props_groupHeaderName !== void 0 ? _props_groupHeaderName : '';
|
|
1493
|
-
var _props_showFooterStatistics;
|
|
1494
|
-
this.showFooterStatistics = (_props_showFooterStatistics = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _props_showFooterStatistics !== void 0 ? _props_showFooterStatistics : false;
|
|
1590
|
+
this.groupDefaultExpanded = (_ref = props === null || props === void 0 ? void 0 : props.groupDefaultExpanded) !== null && _ref !== void 0 ? _ref : false;
|
|
1591
|
+
this.suppressCount = (_ref1 = props === null || props === void 0 ? void 0 : props.suppressCount) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
1592
|
+
this.groupFields = (_ref2 = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1593
|
+
this.groupHeaderName = (_ref3 = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1594
|
+
this.showFooterStatistics = (_ref4 = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
1495
1595
|
};
|
|
1496
1596
|
export var MasterDetail = function MasterDetail(props) {
|
|
1497
1597
|
"use strict";
|
|
1498
1598
|
_class_call_check(this, MasterDetail);
|
|
1599
|
+
var _ref;
|
|
1499
1600
|
_define_property(this, "datasourceBind", void 0);
|
|
1500
1601
|
_define_property(this, "headers", void 0);
|
|
1501
1602
|
this.datasourceBind = new DataSourceBind(props === null || props === void 0 ? void 0 : props.datasourceBind);
|
|
1502
|
-
|
|
1503
|
-
this.headers = (_props_headers = props === null || props === void 0 ? void 0 : props.headers) !== null && _props_headers !== void 0 ? _props_headers : [];
|
|
1603
|
+
this.headers = (_ref = props === null || props === void 0 ? void 0 : props.headers) !== null && _ref !== void 0 ? _ref : [];
|
|
1504
1604
|
};
|
|
1505
1605
|
export var Margin = function Margin(props) {
|
|
1506
1606
|
"use strict";
|
|
1507
1607
|
_class_call_check(this, Margin);
|
|
1608
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1508
1609
|
_define_property(this, "marginTop", void 0);
|
|
1509
1610
|
_define_property(this, "marginRight", void 0);
|
|
1510
1611
|
_define_property(this, "marginBottom", void 0);
|
|
1511
1612
|
_define_property(this, "marginLeft", void 0);
|
|
1512
|
-
|
|
1513
|
-
this.
|
|
1514
|
-
|
|
1515
|
-
this.
|
|
1516
|
-
var _props_marginBottom;
|
|
1517
|
-
this.marginBottom = (_props_marginBottom = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _props_marginBottom !== void 0 ? _props_marginBottom : '';
|
|
1518
|
-
var _props_marginLeft;
|
|
1519
|
-
this.marginLeft = (_props_marginLeft = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _props_marginLeft !== void 0 ? _props_marginLeft : '';
|
|
1613
|
+
this.marginTop = (_ref = props === null || props === void 0 ? void 0 : props.marginTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1614
|
+
this.marginRight = (_ref1 = props === null || props === void 0 ? void 0 : props.marginRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1615
|
+
this.marginBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1616
|
+
this.marginLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1520
1617
|
};
|
|
1521
1618
|
export var Padding = function Padding(props) {
|
|
1522
1619
|
"use strict";
|
|
1523
1620
|
_class_call_check(this, Padding);
|
|
1621
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1524
1622
|
_define_property(this, "paddingTop", void 0);
|
|
1525
1623
|
_define_property(this, "paddingRight", void 0);
|
|
1526
1624
|
_define_property(this, "paddingBottom", void 0);
|
|
1527
1625
|
_define_property(this, "paddingLeft", void 0);
|
|
1528
|
-
|
|
1529
|
-
this.
|
|
1530
|
-
|
|
1531
|
-
this.
|
|
1532
|
-
var _props_paddingBottom;
|
|
1533
|
-
this.paddingBottom = (_props_paddingBottom = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _props_paddingBottom !== void 0 ? _props_paddingBottom : '';
|
|
1534
|
-
var _props_paddingLeft;
|
|
1535
|
-
this.paddingLeft = (_props_paddingLeft = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _props_paddingLeft !== void 0 ? _props_paddingLeft : '';
|
|
1626
|
+
this.paddingTop = (_ref = props === null || props === void 0 ? void 0 : props.paddingTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1627
|
+
this.paddingRight = (_ref1 = props === null || props === void 0 ? void 0 : props.paddingRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1628
|
+
this.paddingBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1629
|
+
this.paddingLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1536
1630
|
};
|
|
1537
1631
|
export var StepButtonPrev = function StepButtonPrev(props) {
|
|
1538
1632
|
"use strict";
|
|
1539
1633
|
_class_call_check(this, StepButtonPrev);
|
|
1634
|
+
var _ref, _ref1;
|
|
1540
1635
|
_define_property(this, "icon", void 0);
|
|
1541
1636
|
_define_property(this, "label", void 0);
|
|
1542
|
-
|
|
1543
|
-
this.
|
|
1544
|
-
var _props_label;
|
|
1545
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '上一步';
|
|
1637
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconleft';
|
|
1638
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.09bf1774579034724');
|
|
1546
1639
|
};
|
|
1547
1640
|
export var StepButtonNext = function StepButtonNext(props) {
|
|
1548
1641
|
"use strict";
|
|
1549
1642
|
_class_call_check(this, StepButtonNext);
|
|
1643
|
+
var _ref, _ref1;
|
|
1550
1644
|
_define_property(this, "icon", void 0);
|
|
1551
1645
|
_define_property(this, "label", void 0);
|
|
1552
|
-
|
|
1553
|
-
this.
|
|
1554
|
-
var _props_label;
|
|
1555
|
-
this.label = (_props_label = props === null || props === void 0 ? void 0 : props.label) !== null && _props_label !== void 0 ? _props_label : '下一步';
|
|
1646
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconxiangyou';
|
|
1647
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.39131774579036296');
|
|
1556
1648
|
};
|
|
1557
1649
|
export var StepButtons = function StepButtons(props) {
|
|
1558
1650
|
"use strict";
|