@wavemaker/app-runtime-wm-build 11.3.6-next.25107 → 11.3.6-next.25108
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.
|
@@ -36451,12 +36451,7 @@
|
|
|
36451
36451
|
})), _this.bsModal.onShow.subscribe((function() {
|
|
36452
36452
|
focusTrapObj.activeElement = document.activeElement;
|
|
36453
36453
|
})), _this.bsModal.onHidden.subscribe((function(closeReason) {
|
|
36454
|
-
var ref = _this.dialogService.getDialogRefFromClosedDialogs();
|
|
36455
|
-
if (_this.dialogId && (closeReason === null || closeReason === void 0 ? void 0 : closeReason.id) === _this.dialogId) {
|
|
36456
|
-
ref = _this;
|
|
36457
|
-
} else if (closeReason === "esc" || closeReason === "backdrop-click") {
|
|
36458
|
-
ref = _this.dialogService.getLastOpenedDialog();
|
|
36459
|
-
}
|
|
36454
|
+
var ref = closeReason === "esc" || closeReason === "backdrop-click" || _this.dialogId && (closeReason === null || closeReason === void 0 ? void 0 : closeReason.id) === _this.dialogId ? _this.dialogService.getLastOpenedDialog() : _this.dialogService.getDialogRefFromClosedDialogs();
|
|
36460
36455
|
if (ref === _this) {
|
|
36461
36456
|
_this.dialogService.removeFromOpenedDialogs(ref);
|
|
36462
36457
|
_this.dialogService.removeFromClosedDialogs(ref);
|
|
@@ -46495,6 +46490,11 @@
|
|
|
46495
46490
|
return;
|
|
46496
46491
|
}
|
|
46497
46492
|
this.variableInflight = false;
|
|
46493
|
+
if (newValue && newValue.length === 0) {
|
|
46494
|
+
this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
|
|
46495
|
+
} else {
|
|
46496
|
+
this.callDataGridMethod("setStatus", "ready");
|
|
46497
|
+
}
|
|
46498
46498
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
46499
46499
|
_a = __read(this.paginationService.updateFieldsOnPagination(this, newValue), 2),
|
|
46500
46500
|
this._gridData = _a[0], this.currentPage = _a[1];
|