@easyquery/core 7.2.1-rc04 → 7.2.2-rc02
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/bundles/easyquery.core.js +5 -1
- package/dist/bundles/easyquery.core.js.map +1 -1
- package/dist/bundles/easyquery.core.min.js +1 -1
- package/dist/bundles/easyquery.core.min.js.map +1 -1
- package/dist/lib/dm/data_model.js.map +1 -1
- package/dist/lib/eqs/eqs_exporter.js +3 -0
- package/dist/lib/eqs/eqs_exporter.js.map +1 -1
- package/dist/lib/export/exporter.d.ts +5 -0
- package/package.json +2 -2
|
@@ -1577,7 +1577,8 @@ var meta_entity_MetaEntityAttr = /** @class */ (function () {
|
|
|
1577
1577
|
this.lookupEntity = dto.lent;
|
|
1578
1578
|
this.dataAttr = dto.dattr;
|
|
1579
1579
|
this.lookupDataAttr = dto.ldattr;
|
|
1580
|
-
|
|
1580
|
+
var isDataType = utils_utils.getDateDataTypes().indexOf(this.dataType);
|
|
1581
|
+
this.defaultValue = dto.defVal && isDataType ? new Date(dto.defVal) : dto.defVal;
|
|
1581
1582
|
this.isNullable = utils_utils.getIfDefined(dto.nul, this.isNullable);
|
|
1582
1583
|
this.isEditable = utils_utils.getIfDefined(dto.ied, this.isEditable);
|
|
1583
1584
|
this.showOnView = utils_utils.getIfDefined(dto.ivis || dto.sov, this.showOnView);
|
|
@@ -7677,6 +7678,9 @@ var EqServerExporter = /** @class */ (function () {
|
|
|
7677
7678
|
else {
|
|
7678
7679
|
requestData.query = query.toJSONData();
|
|
7679
7680
|
}
|
|
7681
|
+
if (exportOptions.data) {
|
|
7682
|
+
requestData.data = exportOptions.data;
|
|
7683
|
+
}
|
|
7680
7684
|
var url = this.context.resolveEndpoint('ExportResult', { modelId: modelId, format: format });
|
|
7681
7685
|
var actionResult = http.post(url, requestData, { responseType: this.responseType });
|
|
7682
7686
|
var request = actionResult.getRequest();
|