@byteluck-fe/model-driven-core 7.0.0-props.2 → 7.0.0-props.27
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 +18 -12
- package/dist/esm/common/BaseControl/property.js +7 -20
- package/dist/esm/common/BaseControl/runtime.js +8 -11
- package/dist/esm/common/ColumnControl/property.js +7 -36
- package/dist/esm/common/FormControl/property.js +15 -80
- package/dist/esm/common/LayoutControl/designer.js +13 -4
- package/dist/esm/common/ListControl/designer.js +12 -4
- package/dist/esm/common/ListControl/property.js +5 -8
- package/dist/esm/framework/index.js +238 -351
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +28 -9
- package/dist/types/common/ColumnControl/property.d.ts +24 -8
- package/dist/types/common/FormControl/property.d.ts +2 -69
- package/dist/types/common/LayoutControl/property.d.ts +5 -3
- package/dist/types/common/ListControl/property.d.ts +30 -3
- package/dist/types/common/SearchViewControl/property.d.ts +9 -3
- package/dist/types/common/WrapControl/property.d.ts +5 -3
- package/dist/types/framework/index.d.ts +3 -1
- 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,28 @@ 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
|
};
|
|
694
645
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
695
646
|
"use strict";
|
|
696
647
|
_class_call_check(this, SelectedContentConfig);
|
|
648
|
+
var _ref, _ref1;
|
|
697
649
|
/**
|
|
698
650
|
* 展示已选内容
|
|
699
651
|
* @defaultValue ''
|
|
@@ -704,14 +656,13 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
704
656
|
* @defaultValue []
|
|
705
657
|
* @public
|
|
706
658
|
*/ _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 : [];
|
|
659
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
660
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
711
661
|
};
|
|
712
662
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
713
663
|
"use strict";
|
|
714
664
|
_class_call_check(this, LinkOperationOption);
|
|
665
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
715
666
|
_define_property(this, "code", void 0);
|
|
716
667
|
_define_property(this, "color", void 0);
|
|
717
668
|
_define_property(this, "command", void 0);
|
|
@@ -723,43 +674,31 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
723
674
|
_define_property(this, "needConfirm", void 0);
|
|
724
675
|
_define_property(this, "openType", void 0);
|
|
725
676
|
_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;
|
|
677
|
+
this.code = (_ref = props === null || props === void 0 ? void 0 : props.code) !== null && _ref !== void 0 ? _ref : 'view';
|
|
678
|
+
this.color = (_ref1 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
|
|
679
|
+
this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'view';
|
|
680
|
+
this.confirmMessage = (_ref3 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _ref3 !== void 0 ? _ref3 : undefined;
|
|
681
|
+
this.defaultState = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref4 !== void 0 ? _ref4 : 'default';
|
|
682
|
+
this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : undefined;
|
|
738
683
|
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;
|
|
684
|
+
this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : 'iconliulan1';
|
|
685
|
+
this.needConfirm = (_ref7 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
686
|
+
this.openType = (_ref8 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref8 !== void 0 ? _ref8 : 'modal';
|
|
687
|
+
this.priorityProcess = (_ref9 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
747
688
|
};
|
|
748
689
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
749
690
|
"use strict";
|
|
750
691
|
_class_call_check(this, CustomAttributeItem);
|
|
692
|
+
var _ref, _ref1, _ref2;
|
|
751
693
|
var _props_value;
|
|
752
694
|
_define_property(this, "name", void 0);
|
|
753
695
|
_define_property(this, "key", void 0);
|
|
754
696
|
_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) {
|
|
697
|
+
this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
|
|
698
|
+
this.key = (_ref1 = props === null || props === void 0 ? void 0 : props.key) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
699
|
+
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
700
|
return new DisplayBoListItem(item);
|
|
762
|
-
})) !== null &&
|
|
701
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
763
702
|
};
|
|
764
703
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
765
704
|
"use strict";
|
|
@@ -767,14 +706,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
767
706
|
function SuperDataSourceBind(props) {
|
|
768
707
|
_class_call_check(this, SuperDataSourceBind);
|
|
769
708
|
var _this;
|
|
709
|
+
var _ref;
|
|
770
710
|
var _props_attributes;
|
|
771
711
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
772
712
|
props
|
|
773
713
|
]), _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) {
|
|
714
|
+
_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
715
|
return new CustomAttributeItem(item);
|
|
777
|
-
})) !== null &&
|
|
716
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
778
717
|
return _this;
|
|
779
718
|
}
|
|
780
719
|
return SuperDataSourceBind;
|
|
@@ -785,16 +724,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
785
724
|
function OrganizationDataSourceBind(props) {
|
|
786
725
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
787
726
|
var _this;
|
|
727
|
+
var _ref, _ref1;
|
|
788
728
|
var _props_attributes;
|
|
789
729
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
790
730
|
props
|
|
791
731
|
]), _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) {
|
|
732
|
+
_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
733
|
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 : '';
|
|
734
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
735
|
+
_this.formCode = (_ref1 = props === null || props === void 0 ? void 0 : props.formCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
798
736
|
return _this;
|
|
799
737
|
}
|
|
800
738
|
return OrganizationDataSourceBind;
|
|
@@ -805,12 +743,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
805
743
|
function TreeDataSourceBind(props) {
|
|
806
744
|
_class_call_check(this, TreeDataSourceBind);
|
|
807
745
|
var _this;
|
|
746
|
+
var _ref;
|
|
808
747
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
809
748
|
props
|
|
810
749
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
811
750
|
_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 : '';
|
|
751
|
+
_this.filterCode = (_ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _ref !== void 0 ? _ref : '';
|
|
814
752
|
return _this;
|
|
815
753
|
}
|
|
816
754
|
return TreeDataSourceBind;
|
|
@@ -818,6 +756,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
818
756
|
var FillBind = function FillBind(props) {
|
|
819
757
|
"use strict";
|
|
820
758
|
_class_call_check(this, FillBind);
|
|
759
|
+
var _ref, _ref1, _ref2;
|
|
821
760
|
var _props_fillList;
|
|
822
761
|
/*
|
|
823
762
|
* 需要被填充的数据源
|
|
@@ -828,14 +767,11 @@ var FillBind = function FillBind(props) {
|
|
|
828
767
|
/*
|
|
829
768
|
* 执行填充的数据项和控件
|
|
830
769
|
* */ _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) {
|
|
770
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
771
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
772
|
+
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
773
|
return new MultistageFillingItem(item);
|
|
838
|
-
})) !== null &&
|
|
774
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
839
775
|
};
|
|
840
776
|
/**
|
|
841
777
|
* FillPayloadBind 填充配置
|
|
@@ -876,6 +812,7 @@ var FillBind = function FillBind(props) {
|
|
|
876
812
|
function FillBackBind(props) {
|
|
877
813
|
_class_call_check(this, FillBackBind);
|
|
878
814
|
var _this;
|
|
815
|
+
var _ref, _ref1;
|
|
879
816
|
_this = _call_super(this, FillBackBind, [
|
|
880
817
|
props
|
|
881
818
|
]), /**
|
|
@@ -887,10 +824,8 @@ var FillBind = function FillBind(props) {
|
|
|
887
824
|
* @defaultValue false
|
|
888
825
|
* @public
|
|
889
826
|
*/ _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;
|
|
827
|
+
_this.mode = (_ref = props === null || props === void 0 ? void 0 : props.mode) !== null && _ref !== void 0 ? _ref : 'current';
|
|
828
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
894
829
|
return _this;
|
|
895
830
|
}
|
|
896
831
|
return FillBackBind;
|
|
@@ -898,15 +833,13 @@ var FillBind = function FillBind(props) {
|
|
|
898
833
|
export var Language = function Language(props) {
|
|
899
834
|
"use strict";
|
|
900
835
|
_class_call_check(this, Language);
|
|
836
|
+
var _ref, _ref1, _ref2;
|
|
901
837
|
_define_property(this, "zh", void 0);
|
|
902
838
|
_define_property(this, "en", void 0);
|
|
903
839
|
_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 : '';
|
|
840
|
+
this.zh = (_ref = props === null || props === void 0 ? void 0 : props.zh) !== null && _ref !== void 0 ? _ref : '';
|
|
841
|
+
this.en = (_ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
842
|
+
this.ja = (_ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
910
843
|
};
|
|
911
844
|
/**
|
|
912
845
|
* 正则校验
|
|
@@ -914,6 +847,7 @@ export var Language = function Language(props) {
|
|
|
914
847
|
*/ export var RegularRules = function RegularRules(props) {
|
|
915
848
|
"use strict";
|
|
916
849
|
_class_call_check(this, RegularRules);
|
|
850
|
+
var _ref, _ref1, _ref2;
|
|
917
851
|
/**
|
|
918
852
|
* 内置模版
|
|
919
853
|
* @defaultValue ''
|
|
@@ -926,12 +860,9 @@ export var Language = function Language(props) {
|
|
|
926
860
|
* 校验错误提示信息
|
|
927
861
|
* @defaultValue ''
|
|
928
862
|
*/ _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 : '';
|
|
863
|
+
this.stencilName = (_ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _ref !== void 0 ? _ref : '';
|
|
864
|
+
this.expression = (_ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
865
|
+
this.errMessage = (_ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
935
866
|
};
|
|
936
867
|
/**
|
|
937
868
|
* 选项设置-自定义选项
|
|
@@ -939,6 +870,7 @@ export var Language = function Language(props) {
|
|
|
939
870
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
940
871
|
"use strict";
|
|
941
872
|
_class_call_check(this, OptionSetting);
|
|
873
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
942
874
|
_define_property(this, "id", void 0);
|
|
943
875
|
/**
|
|
944
876
|
* 显示值
|
|
@@ -955,14 +887,10 @@ export var Language = function Language(props) {
|
|
|
955
887
|
* @defaultValue
|
|
956
888
|
* @public
|
|
957
889
|
*/ _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 : '';
|
|
890
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
891
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
892
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : this.label;
|
|
893
|
+
this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
966
894
|
};
|
|
967
895
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
968
896
|
"use strict";
|
|
@@ -970,13 +898,12 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
970
898
|
function ImageOptionSetting(props) {
|
|
971
899
|
_class_call_check(this, ImageOptionSetting);
|
|
972
900
|
var _this;
|
|
901
|
+
var _ref, _ref1;
|
|
973
902
|
_this = _call_super(this, ImageOptionSetting, [
|
|
974
903
|
props
|
|
975
904
|
]), _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';
|
|
905
|
+
_this.image = (_ref = props === null || props === void 0 ? void 0 : props.image) !== null && _ref !== void 0 ? _ref : '';
|
|
906
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'src';
|
|
980
907
|
return _this;
|
|
981
908
|
}
|
|
982
909
|
return ImageOptionSetting;
|
|
@@ -987,34 +914,33 @@ export var AiOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
987
914
|
function AiOptionSetting(props) {
|
|
988
915
|
_class_call_check(this, AiOptionSetting);
|
|
989
916
|
var _this;
|
|
917
|
+
var _ref, _ref1;
|
|
990
918
|
_this = _call_super(this, AiOptionSetting, [
|
|
991
919
|
props
|
|
992
920
|
]), _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;
|
|
921
|
+
_this.cueWord = (_ref = props === null || props === void 0 ? void 0 : props.cueWord) !== null && _ref !== void 0 ? _ref : '';
|
|
922
|
+
_this.checked = (_ref1 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
997
923
|
return _this;
|
|
998
924
|
}
|
|
999
925
|
return AiOptionSetting;
|
|
1000
926
|
}(OptionSetting);
|
|
1001
927
|
export function initOptions(options) {
|
|
1002
|
-
var
|
|
1003
|
-
return (
|
|
928
|
+
var _ref;
|
|
929
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1004
930
|
return new OptionSetting(item);
|
|
1005
|
-
})) !== null &&
|
|
931
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1006
932
|
}
|
|
1007
933
|
export function initImageOptions(options) {
|
|
1008
|
-
var
|
|
1009
|
-
return (
|
|
934
|
+
var _ref;
|
|
935
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1010
936
|
return new ImageOptionSetting(item);
|
|
1011
|
-
})) !== null &&
|
|
937
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1012
938
|
}
|
|
1013
939
|
export function initAiOptions(options) {
|
|
1014
|
-
var
|
|
1015
|
-
return (
|
|
940
|
+
var _ref;
|
|
941
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1016
942
|
return new AiOptionSetting(item);
|
|
1017
|
-
})) !== null &&
|
|
943
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1018
944
|
}
|
|
1019
945
|
/**
|
|
1020
946
|
* 对象类型数据绑定配置
|
|
@@ -1049,6 +975,7 @@ export function initAiOptions(options) {
|
|
|
1049
975
|
*/ export var AmountValue = function AmountValue(props) {
|
|
1050
976
|
"use strict";
|
|
1051
977
|
_class_call_check(this, AmountValue);
|
|
978
|
+
var _ref, _ref1;
|
|
1052
979
|
/**
|
|
1053
980
|
* 金额值
|
|
1054
981
|
* @defaultValue ''
|
|
@@ -1057,10 +984,8 @@ export function initAiOptions(options) {
|
|
|
1057
984
|
* 货币值
|
|
1058
985
|
* @defaultValue 'CNY'
|
|
1059
986
|
*/ _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";
|
|
987
|
+
this.amount = (_ref = props === null || props === void 0 ? void 0 : props.amount) !== null && _ref !== void 0 ? _ref : '';
|
|
988
|
+
this.currency = (_ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && _ref1 !== void 0 ? _ref1 : "CNY";
|
|
1064
989
|
};
|
|
1065
990
|
/**
|
|
1066
991
|
* 日期区间数据绑定项
|
|
@@ -1088,6 +1013,7 @@ export function initAiOptions(options) {
|
|
|
1088
1013
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1089
1014
|
"use strict";
|
|
1090
1015
|
_class_call_check(this, RangeDateValue);
|
|
1016
|
+
var _ref, _ref1;
|
|
1091
1017
|
/**
|
|
1092
1018
|
* 开始日期值
|
|
1093
1019
|
* @defaultValue ''
|
|
@@ -1096,10 +1022,8 @@ export function initAiOptions(options) {
|
|
|
1096
1022
|
* 结束日期值
|
|
1097
1023
|
* @defaultValue ''
|
|
1098
1024
|
*/ _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 : '';
|
|
1025
|
+
this.min = (_ref = props === null || props === void 0 ? void 0 : props.min) !== null && _ref !== void 0 ? _ref : '';
|
|
1026
|
+
this.max = (_ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1103
1027
|
};
|
|
1104
1028
|
/**
|
|
1105
1029
|
* 地址值
|
|
@@ -1107,6 +1031,7 @@ export function initAiOptions(options) {
|
|
|
1107
1031
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1108
1032
|
"use strict";
|
|
1109
1033
|
_class_call_check(this, AddressValue);
|
|
1034
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1110
1035
|
/**
|
|
1111
1036
|
* 市编码
|
|
1112
1037
|
* @defaultValue ''
|
|
@@ -1131,18 +1056,12 @@ export function initAiOptions(options) {
|
|
|
1131
1056
|
* 省显示文字
|
|
1132
1057
|
* @defaultValue ''
|
|
1133
1058
|
*/ _define_property(this, "provinceDisplay", void 0);
|
|
1134
|
-
|
|
1135
|
-
this.
|
|
1136
|
-
|
|
1137
|
-
this.
|
|
1138
|
-
|
|
1139
|
-
this.
|
|
1140
|
-
var _props_districtDisplay;
|
|
1141
|
-
this.districtDisplay = (_props_districtDisplay = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _props_districtDisplay !== void 0 ? _props_districtDisplay : '';
|
|
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 : '';
|
|
1059
|
+
this.city = (_ref = props === null || props === void 0 ? void 0 : props.city) !== null && _ref !== void 0 ? _ref : '';
|
|
1060
|
+
this.cityDisplay = (_ref1 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1061
|
+
this.district = (_ref2 = props === null || props === void 0 ? void 0 : props.district) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1062
|
+
this.districtDisplay = (_ref3 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1063
|
+
this.province = (_ref4 = props === null || props === void 0 ? void 0 : props.province) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1064
|
+
this.provinceDisplay = (_ref5 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
1146
1065
|
};
|
|
1147
1066
|
/**
|
|
1148
1067
|
* 计算公式数据绑定项
|
|
@@ -1170,6 +1089,7 @@ export function initAiOptions(options) {
|
|
|
1170
1089
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1171
1090
|
"use strict";
|
|
1172
1091
|
_class_call_check(this, CalcValue);
|
|
1092
|
+
var _ref, _ref1;
|
|
1173
1093
|
/**
|
|
1174
1094
|
* 计算结果值
|
|
1175
1095
|
* @defaultValue 0
|
|
@@ -1178,10 +1098,8 @@ export function initAiOptions(options) {
|
|
|
1178
1098
|
* 单位
|
|
1179
1099
|
* @defaultValue ''
|
|
1180
1100
|
*/ _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 : '';
|
|
1101
|
+
this.result = (_ref = props === null || props === void 0 ? void 0 : props.result) !== null && _ref !== void 0 ? _ref : 0;
|
|
1102
|
+
this.unit = (_ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1185
1103
|
};
|
|
1186
1104
|
// 币种类型
|
|
1187
1105
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1262,6 +1180,7 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1262
1180
|
COMMON_SETTING_TYPE["CAPTION_SIZE"] = "captionSize";
|
|
1263
1181
|
COMMON_SETTING_TYPE["CAPTION_COLOR"] = "captionColor";
|
|
1264
1182
|
COMMON_SETTING_TYPE["IS_CAPTION_ITALIC"] = "isCaptionItalic";
|
|
1183
|
+
COMMON_SETTING_TYPE["CAPTION_FONT_WEIGHT"] = "captionFontWeight";
|
|
1265
1184
|
COMMON_SETTING_TYPE["SHOW_TABLE_INDEX"] = "showTableIndex";
|
|
1266
1185
|
return COMMON_SETTING_TYPE;
|
|
1267
1186
|
}({});
|
|
@@ -1278,6 +1197,7 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1278
1197
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1279
1198
|
"use strict";
|
|
1280
1199
|
_class_call_check(this, OperationItem);
|
|
1200
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1281
1201
|
/**
|
|
1282
1202
|
* 是否显示
|
|
1283
1203
|
* @defaultValue true
|
|
@@ -1304,36 +1224,28 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1304
1224
|
* @public
|
|
1305
1225
|
*/ _define_property(this, "openType", void 0);
|
|
1306
1226
|
_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;
|
|
1227
|
+
this.isShow = (_ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && _ref !== void 0 ? _ref : true;
|
|
1228
|
+
this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1229
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1230
|
+
this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
|
|
1231
|
+
this.type = (_ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1232
|
+
this.priorityProcess = (_ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
1319
1233
|
};
|
|
1320
1234
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1321
1235
|
"use strict";
|
|
1322
1236
|
_class_call_check(this, ViewOperationItem);
|
|
1237
|
+
var _ref, _ref1, _ref2;
|
|
1323
1238
|
var _props_headers;
|
|
1324
1239
|
_define_property(this, "id", void 0);
|
|
1325
1240
|
_define_property(this, "title", void 0);
|
|
1326
1241
|
_define_property(this, "filters", void 0);
|
|
1327
1242
|
_define_property(this, "viewFilters", void 0);
|
|
1328
1243
|
_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) {
|
|
1244
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1245
|
+
this.title = (_ref1 = props === null || props === void 0 ? void 0 : props.title) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1246
|
+
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
1247
|
return new ListBindHeaderItem(item);
|
|
1336
|
-
})) !== null &&
|
|
1248
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1337
1249
|
callFiltersAndOrders.call(this, props);
|
|
1338
1250
|
};
|
|
1339
1251
|
/**
|
|
@@ -1341,36 +1253,33 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1341
1253
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1342
1254
|
"use strict";
|
|
1343
1255
|
_class_call_check(this, CustomPermissionItem);
|
|
1256
|
+
var _props_key, _props_caption;
|
|
1344
1257
|
/**
|
|
1345
1258
|
* 人工输入的权限key
|
|
1346
1259
|
*/ _define_property(this, "key", void 0);
|
|
1347
1260
|
/**
|
|
1348
1261
|
* 权限名称
|
|
1349
1262
|
*/ _define_property(this, "caption", void 0);
|
|
1350
|
-
var _props_key;
|
|
1351
1263
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1352
|
-
var _props_caption;
|
|
1353
1264
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1354
1265
|
};
|
|
1355
1266
|
export var BaseStyle = function BaseStyle(props) {
|
|
1356
1267
|
"use strict";
|
|
1357
1268
|
_class_call_check(this, BaseStyle);
|
|
1269
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1358
1270
|
_define_property(this, "width", void 0);
|
|
1359
1271
|
_define_property(this, "height", void 0);
|
|
1360
1272
|
_define_property(this, "widthConfig", void 0);
|
|
1361
1273
|
_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';
|
|
1274
|
+
this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
|
|
1275
|
+
this.height = (_ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1276
|
+
this.widthConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _ref2 !== void 0 ? _ref2 : 'fill';
|
|
1277
|
+
this.heightConfig = (_ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _ref3 !== void 0 ? _ref3 : 'fill';
|
|
1370
1278
|
};
|
|
1371
1279
|
export var OptObject = function OptObject(props) {
|
|
1372
1280
|
"use strict";
|
|
1373
1281
|
_class_call_check(this, OptObject);
|
|
1282
|
+
var _ref, _ref1;
|
|
1374
1283
|
/**
|
|
1375
1284
|
* 操作项编码
|
|
1376
1285
|
* @defaultValue ''
|
|
@@ -1381,14 +1290,13 @@ export var OptObject = function OptObject(props) {
|
|
|
1381
1290
|
* @defaultValue ''
|
|
1382
1291
|
* @public
|
|
1383
1292
|
*/ _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 : '';
|
|
1293
|
+
this.optCode = (_ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && _ref !== void 0 ? _ref : '';
|
|
1294
|
+
this.optType = (_ref1 = props === null || props === void 0 ? void 0 : props.optType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1388
1295
|
};
|
|
1389
1296
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1390
1297
|
"use strict";
|
|
1391
1298
|
_class_call_check(this, RowStyleRule);
|
|
1299
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1392
1300
|
var _props_filters, _props_settings;
|
|
1393
1301
|
/**
|
|
1394
1302
|
* 规则编号
|
|
@@ -1408,26 +1316,23 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1408
1316
|
*/ _define_property(this, "filters", void 0);
|
|
1409
1317
|
// 过滤
|
|
1410
1318
|
_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) {
|
|
1319
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
1320
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1321
|
+
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
1322
|
if (item.children !== undefined) {
|
|
1418
1323
|
return new FieldFilterConditions(item);
|
|
1419
1324
|
}
|
|
1420
1325
|
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) {
|
|
1326
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1327
|
+
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
1328
|
return new RowStyleSettings(item);
|
|
1425
|
-
})) !== null &&
|
|
1329
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : [] : [];
|
|
1426
1330
|
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1427
1331
|
};
|
|
1428
1332
|
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1429
1333
|
"use strict";
|
|
1430
1334
|
_class_call_check(this, RowStyleSettings);
|
|
1335
|
+
var _props_type, _props_fieldCodes, _props_color, _props_scope;
|
|
1431
1336
|
/**
|
|
1432
1337
|
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1433
1338
|
* @defaultValue 'theme'
|
|
@@ -1442,36 +1347,31 @@ export var RowStyleSettings = function RowStyleSettings(props) {
|
|
|
1442
1347
|
/**
|
|
1443
1348
|
* 作用范围,row整行,col整列
|
|
1444
1349
|
*/ _define_property(this, "scope", void 0);
|
|
1445
|
-
var _props_type;
|
|
1446
1350
|
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1447
|
-
var _props_fieldCodes;
|
|
1448
1351
|
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1449
|
-
var _props_color;
|
|
1450
1352
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1451
|
-
var _props_scope;
|
|
1452
1353
|
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1453
1354
|
};
|
|
1454
1355
|
export var RowStyle = function RowStyle(props) {
|
|
1455
1356
|
"use strict";
|
|
1456
1357
|
_class_call_check(this, RowStyle);
|
|
1358
|
+
var _ref, _ref1, _ref2;
|
|
1457
1359
|
var _props_rules;
|
|
1458
1360
|
_define_property(this, "type", void 0);
|
|
1459
1361
|
_define_property(this, "interval", void 0);
|
|
1460
1362
|
_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 : {
|
|
1363
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'none';
|
|
1364
|
+
this.interval = (_ref1 = props === null || props === void 0 ? void 0 : props.interval) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
1465
1365
|
color: ''
|
|
1466
1366
|
};
|
|
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) {
|
|
1367
|
+
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
1368
|
return new RowStyleRule(item);
|
|
1470
|
-
})) !== null &&
|
|
1369
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [] : [];
|
|
1471
1370
|
};
|
|
1472
1371
|
export var ListTreeData = function ListTreeData(props) {
|
|
1473
1372
|
"use strict";
|
|
1474
1373
|
_class_call_check(this, ListTreeData);
|
|
1374
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
1475
1375
|
// 是否默认展开分组 -1:全展开,0:不展开
|
|
1476
1376
|
_define_property(this, "groupDefaultExpanded", void 0);
|
|
1477
1377
|
// 是否显示每个分组行数统计
|
|
@@ -1482,77 +1382,64 @@ export var ListTreeData = function ListTreeData(props) {
|
|
|
1482
1382
|
_define_property(this, "groupHeaderName", void 0);
|
|
1483
1383
|
// 显示页脚统计按钮,当去掉序号列时能支持统计
|
|
1484
1384
|
_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;
|
|
1385
|
+
this.groupDefaultExpanded = (_ref = props === null || props === void 0 ? void 0 : props.groupDefaultExpanded) !== null && _ref !== void 0 ? _ref : false;
|
|
1386
|
+
this.suppressCount = (_ref1 = props === null || props === void 0 ? void 0 : props.suppressCount) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
1387
|
+
this.groupFields = (_ref2 = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1388
|
+
this.groupHeaderName = (_ref3 = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1389
|
+
this.showFooterStatistics = (_ref4 = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
1495
1390
|
};
|
|
1496
1391
|
export var MasterDetail = function MasterDetail(props) {
|
|
1497
1392
|
"use strict";
|
|
1498
1393
|
_class_call_check(this, MasterDetail);
|
|
1394
|
+
var _ref;
|
|
1499
1395
|
_define_property(this, "datasourceBind", void 0);
|
|
1500
1396
|
_define_property(this, "headers", void 0);
|
|
1501
1397
|
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 : [];
|
|
1398
|
+
this.headers = (_ref = props === null || props === void 0 ? void 0 : props.headers) !== null && _ref !== void 0 ? _ref : [];
|
|
1504
1399
|
};
|
|
1505
1400
|
export var Margin = function Margin(props) {
|
|
1506
1401
|
"use strict";
|
|
1507
1402
|
_class_call_check(this, Margin);
|
|
1403
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1508
1404
|
_define_property(this, "marginTop", void 0);
|
|
1509
1405
|
_define_property(this, "marginRight", void 0);
|
|
1510
1406
|
_define_property(this, "marginBottom", void 0);
|
|
1511
1407
|
_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 : '';
|
|
1408
|
+
this.marginTop = (_ref = props === null || props === void 0 ? void 0 : props.marginTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1409
|
+
this.marginRight = (_ref1 = props === null || props === void 0 ? void 0 : props.marginRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1410
|
+
this.marginBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1411
|
+
this.marginLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1520
1412
|
};
|
|
1521
1413
|
export var Padding = function Padding(props) {
|
|
1522
1414
|
"use strict";
|
|
1523
1415
|
_class_call_check(this, Padding);
|
|
1416
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1524
1417
|
_define_property(this, "paddingTop", void 0);
|
|
1525
1418
|
_define_property(this, "paddingRight", void 0);
|
|
1526
1419
|
_define_property(this, "paddingBottom", void 0);
|
|
1527
1420
|
_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 : '';
|
|
1421
|
+
this.paddingTop = (_ref = props === null || props === void 0 ? void 0 : props.paddingTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1422
|
+
this.paddingRight = (_ref1 = props === null || props === void 0 ? void 0 : props.paddingRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1423
|
+
this.paddingBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1424
|
+
this.paddingLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1536
1425
|
};
|
|
1537
1426
|
export var StepButtonPrev = function StepButtonPrev(props) {
|
|
1538
1427
|
"use strict";
|
|
1539
1428
|
_class_call_check(this, StepButtonPrev);
|
|
1429
|
+
var _ref, _ref1;
|
|
1540
1430
|
_define_property(this, "icon", void 0);
|
|
1541
1431
|
_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 : '上一步';
|
|
1432
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconleft';
|
|
1433
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.09bf1774579034724');
|
|
1546
1434
|
};
|
|
1547
1435
|
export var StepButtonNext = function StepButtonNext(props) {
|
|
1548
1436
|
"use strict";
|
|
1549
1437
|
_class_call_check(this, StepButtonNext);
|
|
1438
|
+
var _ref, _ref1;
|
|
1550
1439
|
_define_property(this, "icon", void 0);
|
|
1551
1440
|
_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 : '下一步';
|
|
1441
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconxiangyou';
|
|
1442
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : getLocaleText('CMD.39131774579036296');
|
|
1556
1443
|
};
|
|
1557
1444
|
export var StepButtons = function StepButtons(props) {
|
|
1558
1445
|
"use strict";
|