@wavemaker/app-runtime-wm-build 11.3.6-rc.111 → 11.3.6-rc.113
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.
|
@@ -36444,15 +36444,21 @@
|
|
|
36444
36444
|
var subscriptions = [ _this.bsModal.onShown.subscribe((function(_a) {
|
|
36445
36445
|
var id = _a.id;
|
|
36446
36446
|
var ref = _this.dialogService.getLastOpenedDialog();
|
|
36447
|
-
if (ref === _this) {
|
|
36447
|
+
if (ref === _this && !_this.dialogId) {
|
|
36448
36448
|
invokeOpenedCallback(ref);
|
|
36449
36449
|
_this.dialogId = id;
|
|
36450
36450
|
}
|
|
36451
36451
|
})), _this.bsModal.onShow.subscribe((function() {
|
|
36452
36452
|
focusTrapObj.activeElement = document.activeElement;
|
|
36453
36453
|
})), _this.bsModal.onHidden.subscribe((function(closeReason) {
|
|
36454
|
-
var ref =
|
|
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
|
+
}
|
|
36455
36460
|
if (ref === _this) {
|
|
36461
|
+
_this.dialogId = null;
|
|
36456
36462
|
_this.dialogService.removeFromOpenedDialogs(ref);
|
|
36457
36463
|
_this.dialogService.removeFromClosedDialogs(ref);
|
|
36458
36464
|
invokeClosedCallback(ref);
|
|
@@ -46490,6 +46496,11 @@
|
|
|
46490
46496
|
return;
|
|
46491
46497
|
}
|
|
46492
46498
|
this.variableInflight = false;
|
|
46499
|
+
if (newValue && newValue.length === 0) {
|
|
46500
|
+
this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
|
|
46501
|
+
} else {
|
|
46502
|
+
this.callDataGridMethod("setStatus", "ready");
|
|
46503
|
+
}
|
|
46493
46504
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
46494
46505
|
_a = __read(this.paginationService.updateFieldsOnPagination(this, newValue), 2),
|
|
46495
46506
|
this._gridData = _a[0], this.currentPage = _a[1];
|