@byteluck-fe/model-driven-core 7.0.0-props.1 → 7.0.0-props.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 +17 -12
- package/dist/esm/common/BaseControl/property.js +7 -20
- package/dist/esm/common/BaseControl/runtime.js +7 -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 +12 -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 +237 -351
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/property.d.ts +17 -7
- package/dist/types/common/ColumnControl/property.d.ts +21 -8
- package/dist/types/common/FormControl/property.d.ts +5 -72
- package/dist/types/common/LayoutControl/property.d.ts +5 -3
- package/dist/types/common/ListControl/property.d.ts +12 -3
- package/dist/types/common/SearchViewControl/property.d.ts +6 -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
|
@@ -78,6 +78,7 @@ export * from './RegisterControls';
|
|
|
78
78
|
*/ export var DataBind = function DataBind(props) {
|
|
79
79
|
"use strict";
|
|
80
80
|
_class_call_check(this, DataBind);
|
|
81
|
+
var _ref, _ref1, _ref2;
|
|
81
82
|
/**
|
|
82
83
|
* 数据模型编码
|
|
83
84
|
* @defaultValue ''
|
|
@@ -98,41 +99,34 @@ export * from './RegisterControls';
|
|
|
98
99
|
* @defaultValue undefined
|
|
99
100
|
* @public
|
|
100
101
|
*/ _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 : '';
|
|
102
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
103
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
104
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
107
105
|
this.aliasCode = props === null || props === void 0 ? void 0 : props.aliasCode;
|
|
108
106
|
};
|
|
109
107
|
export var AutoWidth = function AutoWidth(props) {
|
|
110
108
|
"use strict";
|
|
111
109
|
_class_call_check(this, AutoWidth);
|
|
110
|
+
var _ref, _ref1;
|
|
112
111
|
_define_property(this, "minWidth", void 0);
|
|
113
112
|
_define_property(this, "maxWidth", void 0);
|
|
114
113
|
_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;
|
|
114
|
+
this.minWidth = (_ref = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _ref !== void 0 ? _ref : 150;
|
|
117
115
|
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;
|
|
116
|
+
this.flex = (_ref1 = props === null || props === void 0 ? void 0 : props.flex) !== null && _ref1 !== void 0 ? _ref1 : 1;
|
|
120
117
|
};
|
|
121
118
|
export var RowHeight = function RowHeight(props) {
|
|
122
119
|
"use strict";
|
|
123
120
|
_class_call_check(this, RowHeight);
|
|
121
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
124
122
|
_define_property(this, "rowHeightType", void 0);
|
|
125
123
|
_define_property(this, "minRows", void 0);
|
|
126
124
|
_define_property(this, "maxRows", void 0);
|
|
127
125
|
_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;
|
|
126
|
+
this.rowHeightType = (_ref = props === null || props === void 0 ? void 0 : props.rowHeightType) !== null && _ref !== void 0 ? _ref : 'fixed';
|
|
127
|
+
this.minRows = (_ref1 = props === null || props === void 0 ? void 0 : props.minRows) !== null && _ref1 !== void 0 ? _ref1 : 4;
|
|
128
|
+
this.maxRows = (_ref2 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _ref2 !== void 0 ? _ref2 : 20;
|
|
129
|
+
this.fiexdRow = (_ref3 = props === null || props === void 0 ? void 0 : props.fiexdRow) !== null && _ref3 !== void 0 ? _ref3 : 4;
|
|
136
130
|
};
|
|
137
131
|
export var MetaRowHeight = function MetaRowHeight(props) {
|
|
138
132
|
"use strict";
|
|
@@ -148,13 +142,12 @@ export var MetaWidth = /*#__PURE__*/ function(AutoWidth) {
|
|
|
148
142
|
function MetaWidth(props) {
|
|
149
143
|
_class_call_check(this, MetaWidth);
|
|
150
144
|
var _this;
|
|
145
|
+
var _ref, _ref1;
|
|
151
146
|
_this = _call_super(this, MetaWidth, [
|
|
152
147
|
props
|
|
153
148
|
]), _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';
|
|
149
|
+
_this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : 240;
|
|
150
|
+
_this.widthType = (_ref1 = props === null || props === void 0 ? void 0 : props.widthType) !== null && _ref1 !== void 0 ? _ref1 : 'auto';
|
|
158
151
|
return _this;
|
|
159
152
|
}
|
|
160
153
|
return MetaWidth;
|
|
@@ -173,25 +166,22 @@ export var MetaAutoWidth = function MetaAutoWidth(props) {
|
|
|
173
166
|
export var DataStorageDoc = function DataStorageDoc(props) {
|
|
174
167
|
"use strict";
|
|
175
168
|
_class_call_check(this, DataStorageDoc);
|
|
169
|
+
var _ref, _ref1;
|
|
176
170
|
_define_property(this, "type", void 0);
|
|
177
171
|
_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 : [];
|
|
172
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'firstThree';
|
|
173
|
+
this.customOptions = (_ref1 = props === null || props === void 0 ? void 0 : props.customOptions) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
182
174
|
};
|
|
183
175
|
export var FormBind = function FormBind(props) {
|
|
184
176
|
"use strict";
|
|
185
177
|
_class_call_check(this, FormBind);
|
|
178
|
+
var _ref, _ref1, _ref2;
|
|
186
179
|
_define_property(this, "dataCode", void 0);
|
|
187
180
|
_define_property(this, "formKey", void 0);
|
|
188
181
|
_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 : '';
|
|
182
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
183
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
184
|
+
this.appId = (_ref2 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
195
185
|
};
|
|
196
186
|
export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
197
187
|
"use strict";
|
|
@@ -199,11 +189,11 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
199
189
|
function FormSelectBind(props) {
|
|
200
190
|
_class_call_check(this, FormSelectBind);
|
|
201
191
|
var _this;
|
|
192
|
+
var _ref;
|
|
202
193
|
_this = _call_super(this, FormSelectBind, [
|
|
203
194
|
props
|
|
204
195
|
]), _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 : '';
|
|
196
|
+
_this.primaryControlId = (_ref = props === null || props === void 0 ? void 0 : props.primaryControlId) !== null && _ref !== void 0 ? _ref : '';
|
|
207
197
|
return _this;
|
|
208
198
|
}
|
|
209
199
|
return FormSelectBind;
|
|
@@ -214,21 +204,21 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
214
204
|
*/ var ListBindHeaderItem = function ListBindHeaderItem(props) {
|
|
215
205
|
"use strict";
|
|
216
206
|
_class_call_check(this, ListBindHeaderItem);
|
|
207
|
+
var _ref, _ref1;
|
|
217
208
|
/**
|
|
218
209
|
* 字段
|
|
219
210
|
* @defaultValue ''
|
|
220
211
|
*/ _define_property(this, "fieldCode", void 0);
|
|
221
212
|
_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 : '';
|
|
213
|
+
this.fieldCode = (_ref = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref !== void 0 ? _ref : '';
|
|
214
|
+
this.dataCode = (_ref1 = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
226
215
|
};
|
|
227
216
|
/**
|
|
228
217
|
* 列表绑定配置
|
|
229
218
|
*/ export var ListBind = function ListBind(props) {
|
|
230
219
|
"use strict";
|
|
231
220
|
_class_call_check(this, ListBind);
|
|
221
|
+
var _ref, _ref1, _ref2;
|
|
232
222
|
var _props_headers;
|
|
233
223
|
/**
|
|
234
224
|
* 应用ID
|
|
@@ -242,27 +232,22 @@ export var FormSelectBind = /*#__PURE__*/ function(FormBind) {
|
|
|
242
232
|
* 显示字段
|
|
243
233
|
* @public
|
|
244
234
|
*/ _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) {
|
|
235
|
+
this.appId = (_ref = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref !== void 0 ? _ref : '';
|
|
236
|
+
this.formKey = (_ref1 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
237
|
+
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
238
|
return new ListBindHeaderItem(item);
|
|
252
|
-
})) !== null &&
|
|
239
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
253
240
|
};
|
|
254
241
|
export var FieldBindItem = function FieldBindItem(props) {
|
|
255
242
|
"use strict";
|
|
256
243
|
_class_call_check(this, FieldBindItem);
|
|
244
|
+
var _ref, _ref1, _ref2;
|
|
257
245
|
_define_property(this, "fieldName", void 0);
|
|
258
246
|
_define_property(this, "fieldCode", void 0);
|
|
259
247
|
_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;
|
|
248
|
+
this.fieldName = (_ref = props === null || props === void 0 ? void 0 : props.fieldName) !== null && _ref !== void 0 ? _ref : '';
|
|
249
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
250
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : FieldTypes.VARCHAR;
|
|
266
251
|
};
|
|
267
252
|
export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
268
253
|
"use strict";
|
|
@@ -270,17 +255,14 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
270
255
|
function SubListItem(props) {
|
|
271
256
|
_class_call_check(this, SubListItem);
|
|
272
257
|
var _this;
|
|
258
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
273
259
|
_this = _call_super(this, SubListItem, [
|
|
274
260
|
props
|
|
275
261
|
]), _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 : [];
|
|
262
|
+
_this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
263
|
+
_this.svcCode = (_ref1 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
264
|
+
_this.isOpenFilter = (_ref2 = props === null || props === void 0 ? void 0 : props.isOpenFilter) !== null && _ref2 !== void 0 ? _ref2 : false;
|
|
265
|
+
_this.filters = (_ref3 = props === null || props === void 0 ? void 0 : props.filters) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
284
266
|
return _this;
|
|
285
267
|
}
|
|
286
268
|
return SubListItem;
|
|
@@ -288,20 +270,19 @@ export var SubListItem = /*#__PURE__*/ function(FormBind) {
|
|
|
288
270
|
export var SubListPageConfig = function SubListPageConfig(props) {
|
|
289
271
|
"use strict";
|
|
290
272
|
_class_call_check(this, SubListPageConfig);
|
|
273
|
+
var _ref, _ref1;
|
|
291
274
|
var _props_displayFields, _props_sublists;
|
|
292
275
|
_define_property(this, "type", 'sublist-page');
|
|
293
276
|
_define_property(this, "formBind", void 0);
|
|
294
277
|
_define_property(this, "displayFields", void 0);
|
|
295
278
|
_define_property(this, "sublists", void 0);
|
|
296
279
|
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) {
|
|
280
|
+
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
281
|
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) {
|
|
282
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
283
|
+
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
284
|
return new SubListItem(item);
|
|
304
|
-
})) !== null &&
|
|
285
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
305
286
|
};
|
|
306
287
|
export var LeftVariable = function LeftVariable(props) {
|
|
307
288
|
"use strict";
|
|
@@ -316,15 +297,13 @@ export var LeftVariable = function LeftVariable(props) {
|
|
|
316
297
|
export var RightVariable = function RightVariable(props) {
|
|
317
298
|
"use strict";
|
|
318
299
|
_class_call_check(this, RightVariable);
|
|
300
|
+
var _ref, _ref1, _ref2;
|
|
319
301
|
_define_property(this, "type", void 0);
|
|
320
302
|
_define_property(this, "value", void 0);
|
|
321
303
|
_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 : [];
|
|
304
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'custom';
|
|
305
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
306
|
+
this.displayBos = (_ref2 = props === null || props === void 0 ? void 0 : props.displayBos) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
328
307
|
};
|
|
329
308
|
/**
|
|
330
309
|
* 连接符条件
|
|
@@ -333,6 +312,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
333
312
|
"use strict";
|
|
334
313
|
var _this = this;
|
|
335
314
|
_class_call_check(this, FieldFilterConditions);
|
|
315
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
336
316
|
/**
|
|
337
317
|
* 编号
|
|
338
318
|
* @defaultValue ''
|
|
@@ -357,14 +337,10 @@ export var RightVariable = function RightVariable(props) {
|
|
|
357
337
|
* 包含子项
|
|
358
338
|
* @defaultValue []
|
|
359
339
|
*/ _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';
|
|
340
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
341
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
342
|
+
this.level = (_ref2 = props === null || props === void 0 ? void 0 : props.level) !== null && _ref2 !== void 0 ? _ref2 : 0;
|
|
343
|
+
this.value = (_ref3 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref3 !== void 0 ? _ref3 : 'and';
|
|
368
344
|
this.children = [];
|
|
369
345
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.children)) {
|
|
370
346
|
props === null || props === void 0 ? void 0 : props.children.map(function(item) {
|
|
@@ -386,6 +362,7 @@ export var RightVariable = function RightVariable(props) {
|
|
|
386
362
|
*/ export var FieldFilterCondition = function FieldFilterCondition(props) {
|
|
387
363
|
"use strict";
|
|
388
364
|
_class_call_check(this, FieldFilterCondition);
|
|
365
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
389
366
|
/**
|
|
390
367
|
* 唯一编号
|
|
391
368
|
* @defaultValue ''
|
|
@@ -409,30 +386,24 @@ export var RightVariable = function RightVariable(props) {
|
|
|
409
386
|
/**
|
|
410
387
|
* 右值
|
|
411
388
|
*/ _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 : '';
|
|
389
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
390
|
+
this.ruleId = (_ref1 = props === null || props === void 0 ? void 0 : props.ruleId) !== null && _ref1 !== void 0 ? _ref1 : new Date().valueOf();
|
|
391
|
+
this.symbol = (_ref2 = props === null || props === void 0 ? void 0 : props.symbol) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
392
|
+
this.checked = (_ref3 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref3 !== void 0 ? _ref3 : false;
|
|
393
|
+
this.describe = (_ref4 = props === null || props === void 0 ? void 0 : props.describe) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
422
394
|
this.leftVariableBo = new LeftVariable(props === null || props === void 0 ? void 0 : props.leftVariableBo);
|
|
423
395
|
this.rightVariableBo = new RightVariable(props === null || props === void 0 ? void 0 : props.rightVariableBo);
|
|
424
396
|
};
|
|
425
397
|
export var JoinRelation = function JoinRelation(props) {
|
|
426
398
|
"use strict";
|
|
427
399
|
_class_call_check(this, JoinRelation);
|
|
400
|
+
var _ref, _ref1;
|
|
428
401
|
_define_property(this, "aliasCode", void 0);
|
|
429
402
|
_define_property(this, "datasourceBind", void 0);
|
|
430
403
|
_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 : '';
|
|
404
|
+
this.aliasCode = (_ref = props === null || props === void 0 ? void 0 : props.aliasCode) !== null && _ref !== void 0 ? _ref : '';
|
|
433
405
|
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 : [];
|
|
406
|
+
this.relationFields = (_ref1 = props === null || props === void 0 ? void 0 : props.relationFields) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
436
407
|
};
|
|
437
408
|
/**
|
|
438
409
|
* 数据填充项
|
|
@@ -440,6 +411,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
440
411
|
*/ export var MultistageFillingItem = function MultistageFillingItem(props) {
|
|
441
412
|
"use strict";
|
|
442
413
|
_class_call_check(this, MultistageFillingItem);
|
|
414
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
443
415
|
/**
|
|
444
416
|
* 控件ID
|
|
445
417
|
* @defaultValue ''
|
|
@@ -460,14 +432,10 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
460
432
|
* @defaultValue ''
|
|
461
433
|
* @public
|
|
462
434
|
* */ _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 : '';
|
|
435
|
+
this.controlId = (_ref = props === null || props === void 0 ? void 0 : props.controlId) !== null && _ref !== void 0 ? _ref : '';
|
|
436
|
+
this.fieldCode = (_ref1 = props === null || props === void 0 ? void 0 : props.fieldCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
437
|
+
this.fieldType = (_ref2 = props === null || props === void 0 ? void 0 : props.fieldType) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
438
|
+
this.propName = (_ref3 = props === null || props === void 0 ? void 0 : props.propName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
471
439
|
};
|
|
472
440
|
/**
|
|
473
441
|
* 显示项
|
|
@@ -475,6 +443,7 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
475
443
|
*/ export var DisplayBoListItem = function DisplayBoListItem(props) {
|
|
476
444
|
"use strict";
|
|
477
445
|
_class_call_check(this, DisplayBoListItem);
|
|
446
|
+
var _ref, _ref1;
|
|
478
447
|
/**
|
|
479
448
|
* 显示项类型:字段 | 符号
|
|
480
449
|
* @defaultValue 'FIELD'
|
|
@@ -486,25 +455,22 @@ export var JoinRelation = function JoinRelation(props) {
|
|
|
486
455
|
/**
|
|
487
456
|
* 字段数据类型
|
|
488
457
|
*/ _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 : '';
|
|
458
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'FIELD';
|
|
459
|
+
this.value = (_ref1 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
493
460
|
this.fieldType = props === null || props === void 0 ? void 0 : props.fieldType;
|
|
494
461
|
};
|
|
495
462
|
export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
496
463
|
"use strict";
|
|
497
464
|
_class_call_check(this, OptionDisplayConfigItem);
|
|
465
|
+
var _ref, _ref1;
|
|
498
466
|
/**
|
|
499
467
|
* 标题
|
|
500
468
|
*/ _define_property(this, "title", void 0);
|
|
501
469
|
/**
|
|
502
470
|
* 字段数据类型
|
|
503
471
|
*/ _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 : [];
|
|
472
|
+
this.title = (_ref = props === null || props === void 0 ? void 0 : props.title) !== null && _ref !== void 0 ? _ref : '';
|
|
473
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
508
474
|
};
|
|
509
475
|
/**
|
|
510
476
|
* 数据源排序项
|
|
@@ -512,6 +478,7 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
512
478
|
*/ export var DataSourceOrderItem = function DataSourceOrderItem(props) {
|
|
513
479
|
"use strict";
|
|
514
480
|
_class_call_check(this, DataSourceOrderItem);
|
|
481
|
+
var _props_columnName, _props_desc;
|
|
515
482
|
/**
|
|
516
483
|
* 列名
|
|
517
484
|
* @defaultValue ''
|
|
@@ -520,30 +487,27 @@ export var OptionDisplayConfigItem = function OptionDisplayConfigItem(props) {
|
|
|
520
487
|
* 倒序
|
|
521
488
|
* @defaultValue false
|
|
522
489
|
*/ _define_property(this, "desc", void 0);
|
|
523
|
-
var _props_columnName;
|
|
524
490
|
this.columnName = (_props_columnName = props.columnName) !== null && _props_columnName !== void 0 ? _props_columnName : '';
|
|
525
|
-
var _props_desc;
|
|
526
491
|
this.desc = (_props_desc = props.desc) !== null && _props_desc !== void 0 ? _props_desc : false;
|
|
527
492
|
};
|
|
528
493
|
export var DataSourceDataSetValue = function DataSourceDataSetValue(props) {
|
|
529
494
|
"use strict";
|
|
530
495
|
_class_call_check(this, DataSourceDataSetValue);
|
|
496
|
+
var _props_code, _props_value, _props_field_type;
|
|
531
497
|
// fieldCode
|
|
532
498
|
_define_property(this, "code", void 0);
|
|
533
499
|
// 值
|
|
534
500
|
_define_property(this, "value", void 0);
|
|
535
501
|
// 数据类型
|
|
536
502
|
_define_property(this, "field_type", void 0);
|
|
537
|
-
var _props_code;
|
|
538
503
|
this.code = (_props_code = props.code) !== null && _props_code !== void 0 ? _props_code : '';
|
|
539
|
-
var _props_value;
|
|
540
504
|
this.value = (_props_value = props.value) !== null && _props_value !== void 0 ? _props_value : '';
|
|
541
|
-
var _props_field_type;
|
|
542
505
|
this.field_type = (_props_field_type = props.field_type) !== null && _props_field_type !== void 0 ? _props_field_type : FieldTypes.ANY;
|
|
543
506
|
};
|
|
544
507
|
export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
545
508
|
"use strict";
|
|
546
509
|
_class_call_check(this, DataSourceParamItem);
|
|
510
|
+
var _props_id, _props_limit, _props_formKey, _ref, _ref1;
|
|
547
511
|
var _props_orders, _props_dataSet;
|
|
548
512
|
/**
|
|
549
513
|
* 字段ID
|
|
@@ -552,44 +516,37 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
552
516
|
_define_property(this, "orders", void 0);
|
|
553
517
|
_define_property(this, "formKey", void 0);
|
|
554
518
|
_define_property(this, "dataSet", void 0);
|
|
555
|
-
var _props_id;
|
|
556
519
|
//字段ID,不可以当作随机数生成唯一编号
|
|
557
520
|
this.id = (_props_id = props.id) !== null && _props_id !== void 0 ? _props_id : '';
|
|
558
|
-
var _props_limit;
|
|
559
521
|
this.limit = (_props_limit = props.limit) !== null && _props_limit !== void 0 ? _props_limit : 20;
|
|
560
|
-
var _props_formKey;
|
|
561
522
|
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) {
|
|
523
|
+
this.orders = (_ref = (_props_orders = props.orders) === null || _props_orders === void 0 ? void 0 : _props_orders.map(function(item) {
|
|
564
524
|
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) {
|
|
525
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
526
|
+
this.dataSet = (_ref1 = (_props_dataSet = props.dataSet) === null || _props_dataSet === void 0 ? void 0 : _props_dataSet.map(function(item) {
|
|
568
527
|
return new DataSourceDataSetValue(item);
|
|
569
|
-
})) !== null &&
|
|
528
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
570
529
|
};
|
|
571
530
|
/**
|
|
572
531
|
* 给filters和orders赋值
|
|
573
532
|
* */ function callFiltersAndOrders(props) {
|
|
533
|
+
var _ref, _ref1, _ref2;
|
|
574
534
|
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) {
|
|
535
|
+
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
536
|
if (item.children !== undefined) {
|
|
578
537
|
return new FieldFilterConditions(item);
|
|
579
538
|
}
|
|
580
539
|
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) {
|
|
540
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
541
|
+
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
542
|
if (item.children !== undefined) {
|
|
585
543
|
return new FieldFilterConditions(item);
|
|
586
544
|
}
|
|
587
545
|
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) {
|
|
546
|
+
})) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
547
|
+
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
548
|
return new DataSourceOrderItem(item);
|
|
592
|
-
})) !== null &&
|
|
549
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
593
550
|
// }
|
|
594
551
|
}
|
|
595
552
|
/**
|
|
@@ -599,6 +556,7 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
599
556
|
"use strict";
|
|
600
557
|
var _this = this;
|
|
601
558
|
_class_call_check(this, DataSourceBind);
|
|
559
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7;
|
|
602
560
|
/**
|
|
603
561
|
* 绑定数据源id
|
|
604
562
|
* @defaultValue ''
|
|
@@ -665,35 +623,28 @@ export var DataSourceParamItem = function DataSourceParamItem(props) {
|
|
|
665
623
|
* @defaultValue {}
|
|
666
624
|
* @public
|
|
667
625
|
*/ _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 : '';
|
|
626
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
627
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
628
|
+
this.valueFieldCode = (_ref2 = props === null || props === void 0 ? void 0 : props.valueFieldCode) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
674
629
|
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;
|
|
630
|
+
this.isOpenViewFilters = (_ref3 = props === null || props === void 0 ? void 0 : props.isOpenViewFilters) !== null && _ref3 !== void 0 ? _ref3 : 0;
|
|
677
631
|
if (Array.isArray(props === null || props === void 0 ? void 0 : props.displayBoList)) {
|
|
678
632
|
props === null || props === void 0 ? void 0 : props.displayBoList.map(function(item) {
|
|
679
633
|
var _this_displayBoList;
|
|
680
634
|
(_this_displayBoList = _this.displayBoList) === null || _this_displayBoList === void 0 ? void 0 : _this_displayBoList.push(new DisplayBoListItem(item));
|
|
681
635
|
});
|
|
682
636
|
}
|
|
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 : '';
|
|
637
|
+
this.keywordMapping = (_ref4 = props === null || props === void 0 ? void 0 : props.keywordMapping) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
638
|
+
this.showOrder = (_ref5 = props === null || props === void 0 ? void 0 : props.showOrder) !== null && _ref5 !== void 0 ? _ref5 : true;
|
|
639
|
+
this.svcCode = (_ref6 = props === null || props === void 0 ? void 0 : props.svcCode) !== null && _ref6 !== void 0 ? _ref6 : '';
|
|
689
640
|
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;
|
|
641
|
+
this.openAssignDepartment = (_ref7 = props === null || props === void 0 ? void 0 : props.openAssignDepartment) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
692
642
|
callFiltersAndOrders.call(this, props);
|
|
693
643
|
};
|
|
694
644
|
export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
695
645
|
"use strict";
|
|
696
646
|
_class_call_check(this, SelectedContentConfig);
|
|
647
|
+
var _ref, _ref1;
|
|
697
648
|
/**
|
|
698
649
|
* 展示已选内容
|
|
699
650
|
* @defaultValue ''
|
|
@@ -704,14 +655,13 @@ export var SelectedContentConfig = function SelectedContentConfig(props) {
|
|
|
704
655
|
* @defaultValue []
|
|
705
656
|
* @public
|
|
706
657
|
*/ _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 : [];
|
|
658
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
659
|
+
this.displayBoList = (_ref1 = props === null || props === void 0 ? void 0 : props.displayBoList) !== null && _ref1 !== void 0 ? _ref1 : [];
|
|
711
660
|
};
|
|
712
661
|
export var LinkOperationOption = function LinkOperationOption(props) {
|
|
713
662
|
"use strict";
|
|
714
663
|
_class_call_check(this, LinkOperationOption);
|
|
664
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5, _ref6, _ref7, _ref8, _ref9;
|
|
715
665
|
_define_property(this, "code", void 0);
|
|
716
666
|
_define_property(this, "color", void 0);
|
|
717
667
|
_define_property(this, "command", void 0);
|
|
@@ -723,43 +673,31 @@ export var LinkOperationOption = function LinkOperationOption(props) {
|
|
|
723
673
|
_define_property(this, "needConfirm", void 0);
|
|
724
674
|
_define_property(this, "openType", void 0);
|
|
725
675
|
_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;
|
|
676
|
+
this.code = (_ref = props === null || props === void 0 ? void 0 : props.code) !== null && _ref !== void 0 ? _ref : 'view';
|
|
677
|
+
this.color = (_ref1 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref1 !== void 0 ? _ref1 : 'primary';
|
|
678
|
+
this.command = (_ref2 = props === null || props === void 0 ? void 0 : props.command) !== null && _ref2 !== void 0 ? _ref2 : 'view';
|
|
679
|
+
this.confirmMessage = (_ref3 = props === null || props === void 0 ? void 0 : props.confirmMessage) !== null && _ref3 !== void 0 ? _ref3 : undefined;
|
|
680
|
+
this.defaultState = (_ref4 = props === null || props === void 0 ? void 0 : props.defaultState) !== null && _ref4 !== void 0 ? _ref4 : 'default';
|
|
681
|
+
this.formKey = (_ref5 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref5 !== void 0 ? _ref5 : undefined;
|
|
738
682
|
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;
|
|
683
|
+
this.icon = (_ref6 = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref6 !== void 0 ? _ref6 : 'iconliulan1';
|
|
684
|
+
this.needConfirm = (_ref7 = props === null || props === void 0 ? void 0 : props.needConfirm) !== null && _ref7 !== void 0 ? _ref7 : false;
|
|
685
|
+
this.openType = (_ref8 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref8 !== void 0 ? _ref8 : 'modal';
|
|
686
|
+
this.priorityProcess = (_ref9 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref9 !== void 0 ? _ref9 : true;
|
|
747
687
|
};
|
|
748
688
|
export var CustomAttributeItem = function CustomAttributeItem(props) {
|
|
749
689
|
"use strict";
|
|
750
690
|
_class_call_check(this, CustomAttributeItem);
|
|
691
|
+
var _ref, _ref1, _ref2;
|
|
751
692
|
var _props_value;
|
|
752
693
|
_define_property(this, "name", void 0);
|
|
753
694
|
_define_property(this, "key", void 0);
|
|
754
695
|
_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) {
|
|
696
|
+
this.name = (_ref = props === null || props === void 0 ? void 0 : props.name) !== null && _ref !== void 0 ? _ref : '';
|
|
697
|
+
this.key = (_ref1 = props === null || props === void 0 ? void 0 : props.key) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
698
|
+
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
699
|
return new DisplayBoListItem(item);
|
|
762
|
-
})) !== null &&
|
|
700
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
763
701
|
};
|
|
764
702
|
export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
765
703
|
"use strict";
|
|
@@ -767,14 +705,14 @@ export var SuperDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
767
705
|
function SuperDataSourceBind(props) {
|
|
768
706
|
_class_call_check(this, SuperDataSourceBind);
|
|
769
707
|
var _this;
|
|
708
|
+
var _ref;
|
|
770
709
|
var _props_attributes;
|
|
771
710
|
_this = _call_super(this, SuperDataSourceBind, [
|
|
772
711
|
props
|
|
773
712
|
]), _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) {
|
|
713
|
+
_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
714
|
return new CustomAttributeItem(item);
|
|
777
|
-
})) !== null &&
|
|
715
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
778
716
|
return _this;
|
|
779
717
|
}
|
|
780
718
|
return SuperDataSourceBind;
|
|
@@ -785,16 +723,15 @@ export var OrganizationDataSourceBind = /*#__PURE__*/ function(DataSourceBind) {
|
|
|
785
723
|
function OrganizationDataSourceBind(props) {
|
|
786
724
|
_class_call_check(this, OrganizationDataSourceBind);
|
|
787
725
|
var _this;
|
|
726
|
+
var _ref, _ref1;
|
|
788
727
|
var _props_attributes;
|
|
789
728
|
_this = _call_super(this, OrganizationDataSourceBind, [
|
|
790
729
|
props
|
|
791
730
|
]), _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) {
|
|
731
|
+
_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
732
|
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 : '';
|
|
733
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
734
|
+
_this.formCode = (_ref1 = props === null || props === void 0 ? void 0 : props.formCode) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
798
735
|
return _this;
|
|
799
736
|
}
|
|
800
737
|
return OrganizationDataSourceBind;
|
|
@@ -805,12 +742,12 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
805
742
|
function TreeDataSourceBind(props) {
|
|
806
743
|
_class_call_check(this, TreeDataSourceBind);
|
|
807
744
|
var _this;
|
|
745
|
+
var _ref;
|
|
808
746
|
_this = _call_super(this, TreeDataSourceBind, [
|
|
809
747
|
props
|
|
810
748
|
]), _define_property(_this, "rootNode", void 0), _define_property(_this, "filterCode", void 0);
|
|
811
749
|
_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 : '';
|
|
750
|
+
_this.filterCode = (_ref = props === null || props === void 0 ? void 0 : props.filterCode) !== null && _ref !== void 0 ? _ref : '';
|
|
814
751
|
return _this;
|
|
815
752
|
}
|
|
816
753
|
return TreeDataSourceBind;
|
|
@@ -818,6 +755,7 @@ export var TreeDataSourceBind = /*#__PURE__*/ function(SuperDataSourceBind) {
|
|
|
818
755
|
var FillBind = function FillBind(props) {
|
|
819
756
|
"use strict";
|
|
820
757
|
_class_call_check(this, FillBind);
|
|
758
|
+
var _ref, _ref1, _ref2;
|
|
821
759
|
var _props_fillList;
|
|
822
760
|
/*
|
|
823
761
|
* 需要被填充的数据源
|
|
@@ -828,14 +766,11 @@ var FillBind = function FillBind(props) {
|
|
|
828
766
|
/*
|
|
829
767
|
* 执行填充的数据项和控件
|
|
830
768
|
* */ _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) {
|
|
769
|
+
this.dataCode = (_ref = props === null || props === void 0 ? void 0 : props.dataCode) !== null && _ref !== void 0 ? _ref : '';
|
|
770
|
+
this.appId = (_ref1 = props === null || props === void 0 ? void 0 : props.appId) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
771
|
+
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
772
|
return new MultistageFillingItem(item);
|
|
838
|
-
})) !== null &&
|
|
773
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
839
774
|
};
|
|
840
775
|
/**
|
|
841
776
|
* FillPayloadBind 填充配置
|
|
@@ -876,6 +811,7 @@ var FillBind = function FillBind(props) {
|
|
|
876
811
|
function FillBackBind(props) {
|
|
877
812
|
_class_call_check(this, FillBackBind);
|
|
878
813
|
var _this;
|
|
814
|
+
var _ref, _ref1;
|
|
879
815
|
_this = _call_super(this, FillBackBind, [
|
|
880
816
|
props
|
|
881
817
|
]), /**
|
|
@@ -887,10 +823,8 @@ var FillBind = function FillBind(props) {
|
|
|
887
823
|
* @defaultValue false
|
|
888
824
|
* @public
|
|
889
825
|
*/ _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;
|
|
826
|
+
_this.mode = (_ref = props === null || props === void 0 ? void 0 : props.mode) !== null && _ref !== void 0 ? _ref : 'current';
|
|
827
|
+
_this.multiple = (_ref1 = props === null || props === void 0 ? void 0 : props.multiple) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
894
828
|
return _this;
|
|
895
829
|
}
|
|
896
830
|
return FillBackBind;
|
|
@@ -898,15 +832,13 @@ var FillBind = function FillBind(props) {
|
|
|
898
832
|
export var Language = function Language(props) {
|
|
899
833
|
"use strict";
|
|
900
834
|
_class_call_check(this, Language);
|
|
835
|
+
var _ref, _ref1, _ref2;
|
|
901
836
|
_define_property(this, "zh", void 0);
|
|
902
837
|
_define_property(this, "en", void 0);
|
|
903
838
|
_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 : '';
|
|
839
|
+
this.zh = (_ref = props === null || props === void 0 ? void 0 : props.zh) !== null && _ref !== void 0 ? _ref : '';
|
|
840
|
+
this.en = (_ref1 = props === null || props === void 0 ? void 0 : props.en) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
841
|
+
this.ja = (_ref2 = props === null || props === void 0 ? void 0 : props.ja) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
910
842
|
};
|
|
911
843
|
/**
|
|
912
844
|
* 正则校验
|
|
@@ -914,6 +846,7 @@ export var Language = function Language(props) {
|
|
|
914
846
|
*/ export var RegularRules = function RegularRules(props) {
|
|
915
847
|
"use strict";
|
|
916
848
|
_class_call_check(this, RegularRules);
|
|
849
|
+
var _ref, _ref1, _ref2;
|
|
917
850
|
/**
|
|
918
851
|
* 内置模版
|
|
919
852
|
* @defaultValue ''
|
|
@@ -926,12 +859,9 @@ export var Language = function Language(props) {
|
|
|
926
859
|
* 校验错误提示信息
|
|
927
860
|
* @defaultValue ''
|
|
928
861
|
*/ _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 : '';
|
|
862
|
+
this.stencilName = (_ref = props === null || props === void 0 ? void 0 : props.stencilName) !== null && _ref !== void 0 ? _ref : '';
|
|
863
|
+
this.expression = (_ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
864
|
+
this.errMessage = (_ref2 = props === null || props === void 0 ? void 0 : props.errMessage) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
935
865
|
};
|
|
936
866
|
/**
|
|
937
867
|
* 选项设置-自定义选项
|
|
@@ -939,6 +869,7 @@ export var Language = function Language(props) {
|
|
|
939
869
|
*/ export var OptionSetting = function OptionSetting(props) {
|
|
940
870
|
"use strict";
|
|
941
871
|
_class_call_check(this, OptionSetting);
|
|
872
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
942
873
|
_define_property(this, "id", void 0);
|
|
943
874
|
/**
|
|
944
875
|
* 显示值
|
|
@@ -955,14 +886,10 @@ export var Language = function Language(props) {
|
|
|
955
886
|
* @defaultValue
|
|
956
887
|
* @public
|
|
957
888
|
*/ _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 : '';
|
|
889
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
890
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
891
|
+
this.value = (_ref2 = props === null || props === void 0 ? void 0 : props.value) !== null && _ref2 !== void 0 ? _ref2 : this.label;
|
|
892
|
+
this.color = (_ref3 = props === null || props === void 0 ? void 0 : props.color) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
966
893
|
};
|
|
967
894
|
export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
968
895
|
"use strict";
|
|
@@ -970,13 +897,12 @@ export var ImageOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
970
897
|
function ImageOptionSetting(props) {
|
|
971
898
|
_class_call_check(this, ImageOptionSetting);
|
|
972
899
|
var _this;
|
|
900
|
+
var _ref, _ref1;
|
|
973
901
|
_this = _call_super(this, ImageOptionSetting, [
|
|
974
902
|
props
|
|
975
903
|
]), _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';
|
|
904
|
+
_this.image = (_ref = props === null || props === void 0 ? void 0 : props.image) !== null && _ref !== void 0 ? _ref : '';
|
|
905
|
+
_this.type = (_ref1 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref1 !== void 0 ? _ref1 : 'src';
|
|
980
906
|
return _this;
|
|
981
907
|
}
|
|
982
908
|
return ImageOptionSetting;
|
|
@@ -987,34 +913,33 @@ export var AiOptionSetting = /*#__PURE__*/ function(OptionSetting) {
|
|
|
987
913
|
function AiOptionSetting(props) {
|
|
988
914
|
_class_call_check(this, AiOptionSetting);
|
|
989
915
|
var _this;
|
|
916
|
+
var _ref, _ref1;
|
|
990
917
|
_this = _call_super(this, AiOptionSetting, [
|
|
991
918
|
props
|
|
992
919
|
]), _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;
|
|
920
|
+
_this.cueWord = (_ref = props === null || props === void 0 ? void 0 : props.cueWord) !== null && _ref !== void 0 ? _ref : '';
|
|
921
|
+
_this.checked = (_ref1 = props === null || props === void 0 ? void 0 : props.checked) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
997
922
|
return _this;
|
|
998
923
|
}
|
|
999
924
|
return AiOptionSetting;
|
|
1000
925
|
}(OptionSetting);
|
|
1001
926
|
export function initOptions(options) {
|
|
1002
|
-
var
|
|
1003
|
-
return (
|
|
927
|
+
var _ref;
|
|
928
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1004
929
|
return new OptionSetting(item);
|
|
1005
|
-
})) !== null &&
|
|
930
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1006
931
|
}
|
|
1007
932
|
export function initImageOptions(options) {
|
|
1008
|
-
var
|
|
1009
|
-
return (
|
|
933
|
+
var _ref;
|
|
934
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1010
935
|
return new ImageOptionSetting(item);
|
|
1011
|
-
})) !== null &&
|
|
936
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1012
937
|
}
|
|
1013
938
|
export function initAiOptions(options) {
|
|
1014
|
-
var
|
|
1015
|
-
return (
|
|
939
|
+
var _ref;
|
|
940
|
+
return (_ref = options === null || options === void 0 ? void 0 : options.map(function(item) {
|
|
1016
941
|
return new AiOptionSetting(item);
|
|
1017
|
-
})) !== null &&
|
|
942
|
+
})) !== null && _ref !== void 0 ? _ref : [];
|
|
1018
943
|
}
|
|
1019
944
|
/**
|
|
1020
945
|
* 对象类型数据绑定配置
|
|
@@ -1049,6 +974,7 @@ export function initAiOptions(options) {
|
|
|
1049
974
|
*/ export var AmountValue = function AmountValue(props) {
|
|
1050
975
|
"use strict";
|
|
1051
976
|
_class_call_check(this, AmountValue);
|
|
977
|
+
var _ref, _ref1;
|
|
1052
978
|
/**
|
|
1053
979
|
* 金额值
|
|
1054
980
|
* @defaultValue ''
|
|
@@ -1057,10 +983,8 @@ export function initAiOptions(options) {
|
|
|
1057
983
|
* 货币值
|
|
1058
984
|
* @defaultValue 'CNY'
|
|
1059
985
|
*/ _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";
|
|
986
|
+
this.amount = (_ref = props === null || props === void 0 ? void 0 : props.amount) !== null && _ref !== void 0 ? _ref : '';
|
|
987
|
+
this.currency = (_ref1 = props === null || props === void 0 ? void 0 : props.currency) !== null && _ref1 !== void 0 ? _ref1 : "CNY";
|
|
1064
988
|
};
|
|
1065
989
|
/**
|
|
1066
990
|
* 日期区间数据绑定项
|
|
@@ -1088,6 +1012,7 @@ export function initAiOptions(options) {
|
|
|
1088
1012
|
*/ export var RangeDateValue = function RangeDateValue(props) {
|
|
1089
1013
|
"use strict";
|
|
1090
1014
|
_class_call_check(this, RangeDateValue);
|
|
1015
|
+
var _ref, _ref1;
|
|
1091
1016
|
/**
|
|
1092
1017
|
* 开始日期值
|
|
1093
1018
|
* @defaultValue ''
|
|
@@ -1096,10 +1021,8 @@ export function initAiOptions(options) {
|
|
|
1096
1021
|
* 结束日期值
|
|
1097
1022
|
* @defaultValue ''
|
|
1098
1023
|
*/ _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 : '';
|
|
1024
|
+
this.min = (_ref = props === null || props === void 0 ? void 0 : props.min) !== null && _ref !== void 0 ? _ref : '';
|
|
1025
|
+
this.max = (_ref1 = props === null || props === void 0 ? void 0 : props.max) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1103
1026
|
};
|
|
1104
1027
|
/**
|
|
1105
1028
|
* 地址值
|
|
@@ -1107,6 +1030,7 @@ export function initAiOptions(options) {
|
|
|
1107
1030
|
*/ export var AddressValue = function AddressValue(props) {
|
|
1108
1031
|
"use strict";
|
|
1109
1032
|
_class_call_check(this, AddressValue);
|
|
1033
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1110
1034
|
/**
|
|
1111
1035
|
* 市编码
|
|
1112
1036
|
* @defaultValue ''
|
|
@@ -1131,18 +1055,12 @@ export function initAiOptions(options) {
|
|
|
1131
1055
|
* 省显示文字
|
|
1132
1056
|
* @defaultValue ''
|
|
1133
1057
|
*/ _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 : '';
|
|
1058
|
+
this.city = (_ref = props === null || props === void 0 ? void 0 : props.city) !== null && _ref !== void 0 ? _ref : '';
|
|
1059
|
+
this.cityDisplay = (_ref1 = props === null || props === void 0 ? void 0 : props.cityDisplay) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1060
|
+
this.district = (_ref2 = props === null || props === void 0 ? void 0 : props.district) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1061
|
+
this.districtDisplay = (_ref3 = props === null || props === void 0 ? void 0 : props.districtDisplay) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1062
|
+
this.province = (_ref4 = props === null || props === void 0 ? void 0 : props.province) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1063
|
+
this.provinceDisplay = (_ref5 = props === null || props === void 0 ? void 0 : props.provinceDisplay) !== null && _ref5 !== void 0 ? _ref5 : '';
|
|
1146
1064
|
};
|
|
1147
1065
|
/**
|
|
1148
1066
|
* 计算公式数据绑定项
|
|
@@ -1170,6 +1088,7 @@ export function initAiOptions(options) {
|
|
|
1170
1088
|
*/ export var CalcValue = function CalcValue(props) {
|
|
1171
1089
|
"use strict";
|
|
1172
1090
|
_class_call_check(this, CalcValue);
|
|
1091
|
+
var _ref, _ref1;
|
|
1173
1092
|
/**
|
|
1174
1093
|
* 计算结果值
|
|
1175
1094
|
* @defaultValue 0
|
|
@@ -1178,10 +1097,8 @@ export function initAiOptions(options) {
|
|
|
1178
1097
|
* 单位
|
|
1179
1098
|
* @defaultValue ''
|
|
1180
1099
|
*/ _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 : '';
|
|
1100
|
+
this.result = (_ref = props === null || props === void 0 ? void 0 : props.result) !== null && _ref !== void 0 ? _ref : 0;
|
|
1101
|
+
this.unit = (_ref1 = props === null || props === void 0 ? void 0 : props.unit) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1185
1102
|
};
|
|
1186
1103
|
// 币种类型
|
|
1187
1104
|
export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
@@ -1262,6 +1179,7 @@ export var AMOUNT_TYPE = /*#__PURE__*/ function(AMOUNT_TYPE) {
|
|
|
1262
1179
|
COMMON_SETTING_TYPE["CAPTION_SIZE"] = "captionSize";
|
|
1263
1180
|
COMMON_SETTING_TYPE["CAPTION_COLOR"] = "captionColor";
|
|
1264
1181
|
COMMON_SETTING_TYPE["IS_CAPTION_ITALIC"] = "isCaptionItalic";
|
|
1182
|
+
COMMON_SETTING_TYPE["CAPTION_FONT_WEIGHT"] = "captionFontWeight";
|
|
1265
1183
|
COMMON_SETTING_TYPE["SHOW_TABLE_INDEX"] = "showTableIndex";
|
|
1266
1184
|
return COMMON_SETTING_TYPE;
|
|
1267
1185
|
}({});
|
|
@@ -1278,6 +1196,7 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1278
1196
|
*/ export var OperationItem = function OperationItem(props) {
|
|
1279
1197
|
"use strict";
|
|
1280
1198
|
_class_call_check(this, OperationItem);
|
|
1199
|
+
var _ref, _ref1, _ref2, _ref3, _ref4, _ref5;
|
|
1281
1200
|
/**
|
|
1282
1201
|
* 是否显示
|
|
1283
1202
|
* @defaultValue true
|
|
@@ -1304,36 +1223,28 @@ export var PAGE_STATUS = /*#__PURE__*/ function(PAGE_STATUS) {
|
|
|
1304
1223
|
* @public
|
|
1305
1224
|
*/ _define_property(this, "openType", void 0);
|
|
1306
1225
|
_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;
|
|
1226
|
+
this.isShow = (_ref = props === null || props === void 0 ? void 0 : props.isShow) !== null && _ref !== void 0 ? _ref : true;
|
|
1227
|
+
this.content = (_ref1 = props === null || props === void 0 ? void 0 : props.content) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1228
|
+
this.formKey = (_ref2 = props === null || props === void 0 ? void 0 : props.formKey) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1229
|
+
this.openType = (_ref3 = props === null || props === void 0 ? void 0 : props.openType) !== null && _ref3 !== void 0 ? _ref3 : 'modal';
|
|
1230
|
+
this.type = (_ref4 = props === null || props === void 0 ? void 0 : props.type) !== null && _ref4 !== void 0 ? _ref4 : '';
|
|
1231
|
+
this.priorityProcess = (_ref5 = props === null || props === void 0 ? void 0 : props.priorityProcess) !== null && _ref5 !== void 0 ? _ref5 : false;
|
|
1319
1232
|
};
|
|
1320
1233
|
export var ViewOperationItem = function ViewOperationItem(props) {
|
|
1321
1234
|
"use strict";
|
|
1322
1235
|
_class_call_check(this, ViewOperationItem);
|
|
1236
|
+
var _ref, _ref1, _ref2;
|
|
1323
1237
|
var _props_headers;
|
|
1324
1238
|
_define_property(this, "id", void 0);
|
|
1325
1239
|
_define_property(this, "title", void 0);
|
|
1326
1240
|
_define_property(this, "filters", void 0);
|
|
1327
1241
|
_define_property(this, "viewFilters", void 0);
|
|
1328
1242
|
_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) {
|
|
1243
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId(8);
|
|
1244
|
+
this.title = (_ref1 = props === null || props === void 0 ? void 0 : props.title) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1245
|
+
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
1246
|
return new ListBindHeaderItem(item);
|
|
1336
|
-
})) !== null &&
|
|
1247
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1337
1248
|
callFiltersAndOrders.call(this, props);
|
|
1338
1249
|
};
|
|
1339
1250
|
/**
|
|
@@ -1341,36 +1252,33 @@ export var ViewOperationItem = function ViewOperationItem(props) {
|
|
|
1341
1252
|
*/ export var CustomPermissionItem = function CustomPermissionItem(props) {
|
|
1342
1253
|
"use strict";
|
|
1343
1254
|
_class_call_check(this, CustomPermissionItem);
|
|
1255
|
+
var _props_key, _props_caption;
|
|
1344
1256
|
/**
|
|
1345
1257
|
* 人工输入的权限key
|
|
1346
1258
|
*/ _define_property(this, "key", void 0);
|
|
1347
1259
|
/**
|
|
1348
1260
|
* 权限名称
|
|
1349
1261
|
*/ _define_property(this, "caption", void 0);
|
|
1350
|
-
var _props_key;
|
|
1351
1262
|
this.key = (_props_key = props.key) !== null && _props_key !== void 0 ? _props_key : genNonDuplicateId(8);
|
|
1352
|
-
var _props_caption;
|
|
1353
1263
|
this.caption = (_props_caption = props.caption) !== null && _props_caption !== void 0 ? _props_caption : '';
|
|
1354
1264
|
};
|
|
1355
1265
|
export var BaseStyle = function BaseStyle(props) {
|
|
1356
1266
|
"use strict";
|
|
1357
1267
|
_class_call_check(this, BaseStyle);
|
|
1268
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1358
1269
|
_define_property(this, "width", void 0);
|
|
1359
1270
|
_define_property(this, "height", void 0);
|
|
1360
1271
|
_define_property(this, "widthConfig", void 0);
|
|
1361
1272
|
_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';
|
|
1273
|
+
this.width = (_ref = props === null || props === void 0 ? void 0 : props.width) !== null && _ref !== void 0 ? _ref : '';
|
|
1274
|
+
this.height = (_ref1 = props === null || props === void 0 ? void 0 : props.height) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1275
|
+
this.widthConfig = (_ref2 = props === null || props === void 0 ? void 0 : props.widthConfig) !== null && _ref2 !== void 0 ? _ref2 : 'fill';
|
|
1276
|
+
this.heightConfig = (_ref3 = props === null || props === void 0 ? void 0 : props.heightConfig) !== null && _ref3 !== void 0 ? _ref3 : 'fill';
|
|
1370
1277
|
};
|
|
1371
1278
|
export var OptObject = function OptObject(props) {
|
|
1372
1279
|
"use strict";
|
|
1373
1280
|
_class_call_check(this, OptObject);
|
|
1281
|
+
var _ref, _ref1;
|
|
1374
1282
|
/**
|
|
1375
1283
|
* 操作项编码
|
|
1376
1284
|
* @defaultValue ''
|
|
@@ -1381,14 +1289,13 @@ export var OptObject = function OptObject(props) {
|
|
|
1381
1289
|
* @defaultValue ''
|
|
1382
1290
|
* @public
|
|
1383
1291
|
*/ _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 : '';
|
|
1292
|
+
this.optCode = (_ref = props === null || props === void 0 ? void 0 : props.optCode) !== null && _ref !== void 0 ? _ref : '';
|
|
1293
|
+
this.optType = (_ref1 = props === null || props === void 0 ? void 0 : props.optType) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1388
1294
|
};
|
|
1389
1295
|
export var RowStyleRule = function RowStyleRule(props) {
|
|
1390
1296
|
"use strict";
|
|
1391
1297
|
_class_call_check(this, RowStyleRule);
|
|
1298
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1392
1299
|
var _props_filters, _props_settings;
|
|
1393
1300
|
/**
|
|
1394
1301
|
* 规则编号
|
|
@@ -1408,26 +1315,23 @@ export var RowStyleRule = function RowStyleRule(props) {
|
|
|
1408
1315
|
*/ _define_property(this, "filters", void 0);
|
|
1409
1316
|
// 过滤
|
|
1410
1317
|
_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) {
|
|
1318
|
+
this.id = (_ref = props === null || props === void 0 ? void 0 : props.id) !== null && _ref !== void 0 ? _ref : genNonDuplicateId();
|
|
1319
|
+
this.name = (_ref1 = props === null || props === void 0 ? void 0 : props.name) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1320
|
+
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
1321
|
if (item.children !== undefined) {
|
|
1418
1322
|
return new FieldFilterConditions(item);
|
|
1419
1323
|
}
|
|
1420
1324
|
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) {
|
|
1325
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1326
|
+
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
1327
|
return new RowStyleSettings(item);
|
|
1425
|
-
})) !== null &&
|
|
1328
|
+
})) !== null && _ref3 !== void 0 ? _ref3 : [] : [];
|
|
1426
1329
|
this.script = props === null || props === void 0 ? void 0 : props.script;
|
|
1427
1330
|
};
|
|
1428
1331
|
export var RowStyleSettings = function RowStyleSettings(props) {
|
|
1429
1332
|
"use strict";
|
|
1430
1333
|
_class_call_check(this, RowStyleSettings);
|
|
1334
|
+
var _props_type, _props_fieldCodes, _props_color, _props_scope;
|
|
1431
1335
|
/**
|
|
1432
1336
|
* 颜色值。theme:跟随主题色;#4c78fc:具体颜色值
|
|
1433
1337
|
* @defaultValue 'theme'
|
|
@@ -1442,36 +1346,31 @@ export var RowStyleSettings = function RowStyleSettings(props) {
|
|
|
1442
1346
|
/**
|
|
1443
1347
|
* 作用范围,row整行,col整列
|
|
1444
1348
|
*/ _define_property(this, "scope", void 0);
|
|
1445
|
-
var _props_type;
|
|
1446
1349
|
this.type = (_props_type = props.type) !== null && _props_type !== void 0 ? _props_type : 'background';
|
|
1447
|
-
var _props_fieldCodes;
|
|
1448
1350
|
this.fieldCodes = (_props_fieldCodes = props.fieldCodes) !== null && _props_fieldCodes !== void 0 ? _props_fieldCodes : [];
|
|
1449
|
-
var _props_color;
|
|
1450
1351
|
this.color = (_props_color = props.color) !== null && _props_color !== void 0 ? _props_color : 'theme';
|
|
1451
|
-
var _props_scope;
|
|
1452
1352
|
this.scope = (_props_scope = props.scope) !== null && _props_scope !== void 0 ? _props_scope : 'row';
|
|
1453
1353
|
};
|
|
1454
1354
|
export var RowStyle = function RowStyle(props) {
|
|
1455
1355
|
"use strict";
|
|
1456
1356
|
_class_call_check(this, RowStyle);
|
|
1357
|
+
var _ref, _ref1, _ref2;
|
|
1457
1358
|
var _props_rules;
|
|
1458
1359
|
_define_property(this, "type", void 0);
|
|
1459
1360
|
_define_property(this, "interval", void 0);
|
|
1460
1361
|
_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 : {
|
|
1362
|
+
this.type = (_ref = props === null || props === void 0 ? void 0 : props.type) !== null && _ref !== void 0 ? _ref : 'none';
|
|
1363
|
+
this.interval = (_ref1 = props === null || props === void 0 ? void 0 : props.interval) !== null && _ref1 !== void 0 ? _ref1 : {
|
|
1465
1364
|
color: ''
|
|
1466
1365
|
};
|
|
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) {
|
|
1366
|
+
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
1367
|
return new RowStyleRule(item);
|
|
1470
|
-
})) !== null &&
|
|
1368
|
+
})) !== null && _ref2 !== void 0 ? _ref2 : [] : [];
|
|
1471
1369
|
};
|
|
1472
1370
|
export var ListTreeData = function ListTreeData(props) {
|
|
1473
1371
|
"use strict";
|
|
1474
1372
|
_class_call_check(this, ListTreeData);
|
|
1373
|
+
var _ref, _ref1, _ref2, _ref3, _ref4;
|
|
1475
1374
|
// 是否默认展开分组 -1:全展开,0:不展开
|
|
1476
1375
|
_define_property(this, "groupDefaultExpanded", void 0);
|
|
1477
1376
|
// 是否显示每个分组行数统计
|
|
@@ -1482,77 +1381,64 @@ export var ListTreeData = function ListTreeData(props) {
|
|
|
1482
1381
|
_define_property(this, "groupHeaderName", void 0);
|
|
1483
1382
|
// 显示页脚统计按钮,当去掉序号列时能支持统计
|
|
1484
1383
|
_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;
|
|
1384
|
+
this.groupDefaultExpanded = (_ref = props === null || props === void 0 ? void 0 : props.groupDefaultExpanded) !== null && _ref !== void 0 ? _ref : false;
|
|
1385
|
+
this.suppressCount = (_ref1 = props === null || props === void 0 ? void 0 : props.suppressCount) !== null && _ref1 !== void 0 ? _ref1 : false;
|
|
1386
|
+
this.groupFields = (_ref2 = props === null || props === void 0 ? void 0 : props.groupFields) !== null && _ref2 !== void 0 ? _ref2 : [];
|
|
1387
|
+
this.groupHeaderName = (_ref3 = props === null || props === void 0 ? void 0 : props.groupHeaderName) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1388
|
+
this.showFooterStatistics = (_ref4 = props === null || props === void 0 ? void 0 : props.showFooterStatistics) !== null && _ref4 !== void 0 ? _ref4 : false;
|
|
1495
1389
|
};
|
|
1496
1390
|
export var MasterDetail = function MasterDetail(props) {
|
|
1497
1391
|
"use strict";
|
|
1498
1392
|
_class_call_check(this, MasterDetail);
|
|
1393
|
+
var _ref;
|
|
1499
1394
|
_define_property(this, "datasourceBind", void 0);
|
|
1500
1395
|
_define_property(this, "headers", void 0);
|
|
1501
1396
|
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 : [];
|
|
1397
|
+
this.headers = (_ref = props === null || props === void 0 ? void 0 : props.headers) !== null && _ref !== void 0 ? _ref : [];
|
|
1504
1398
|
};
|
|
1505
1399
|
export var Margin = function Margin(props) {
|
|
1506
1400
|
"use strict";
|
|
1507
1401
|
_class_call_check(this, Margin);
|
|
1402
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1508
1403
|
_define_property(this, "marginTop", void 0);
|
|
1509
1404
|
_define_property(this, "marginRight", void 0);
|
|
1510
1405
|
_define_property(this, "marginBottom", void 0);
|
|
1511
1406
|
_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 : '';
|
|
1407
|
+
this.marginTop = (_ref = props === null || props === void 0 ? void 0 : props.marginTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1408
|
+
this.marginRight = (_ref1 = props === null || props === void 0 ? void 0 : props.marginRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1409
|
+
this.marginBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.marginBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1410
|
+
this.marginLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.marginLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1520
1411
|
};
|
|
1521
1412
|
export var Padding = function Padding(props) {
|
|
1522
1413
|
"use strict";
|
|
1523
1414
|
_class_call_check(this, Padding);
|
|
1415
|
+
var _ref, _ref1, _ref2, _ref3;
|
|
1524
1416
|
_define_property(this, "paddingTop", void 0);
|
|
1525
1417
|
_define_property(this, "paddingRight", void 0);
|
|
1526
1418
|
_define_property(this, "paddingBottom", void 0);
|
|
1527
1419
|
_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 : '';
|
|
1420
|
+
this.paddingTop = (_ref = props === null || props === void 0 ? void 0 : props.paddingTop) !== null && _ref !== void 0 ? _ref : '';
|
|
1421
|
+
this.paddingRight = (_ref1 = props === null || props === void 0 ? void 0 : props.paddingRight) !== null && _ref1 !== void 0 ? _ref1 : '';
|
|
1422
|
+
this.paddingBottom = (_ref2 = props === null || props === void 0 ? void 0 : props.paddingBottom) !== null && _ref2 !== void 0 ? _ref2 : '';
|
|
1423
|
+
this.paddingLeft = (_ref3 = props === null || props === void 0 ? void 0 : props.paddingLeft) !== null && _ref3 !== void 0 ? _ref3 : '';
|
|
1536
1424
|
};
|
|
1537
1425
|
export var StepButtonPrev = function StepButtonPrev(props) {
|
|
1538
1426
|
"use strict";
|
|
1539
1427
|
_class_call_check(this, StepButtonPrev);
|
|
1428
|
+
var _ref, _ref1;
|
|
1540
1429
|
_define_property(this, "icon", void 0);
|
|
1541
1430
|
_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 : '上一步';
|
|
1431
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconleft';
|
|
1432
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '上一步';
|
|
1546
1433
|
};
|
|
1547
1434
|
export var StepButtonNext = function StepButtonNext(props) {
|
|
1548
1435
|
"use strict";
|
|
1549
1436
|
_class_call_check(this, StepButtonNext);
|
|
1437
|
+
var _ref, _ref1;
|
|
1550
1438
|
_define_property(this, "icon", void 0);
|
|
1551
1439
|
_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 : '下一步';
|
|
1440
|
+
this.icon = (_ref = props === null || props === void 0 ? void 0 : props.icon) !== null && _ref !== void 0 ? _ref : 'iconxiangyou';
|
|
1441
|
+
this.label = (_ref1 = props === null || props === void 0 ? void 0 : props.label) !== null && _ref1 !== void 0 ? _ref1 : '下一步';
|
|
1556
1442
|
};
|
|
1557
1443
|
export var StepButtons = function StepButtons(props) {
|
|
1558
1444
|
"use strict";
|