@wavemaker/app-runtime-wm-build 11.4.2-rc.5384 → 11.4.2-rc.5385

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.
@@ -38073,10 +38073,9 @@
38073
38073
  value;
38074
38074
  }
38075
38075
  var registerProps = function() {
38076
- base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", {
38077
- value: true,
38078
- PROP_BOOLEAN: base.PROP_BOOLEAN
38079
- } ], [ "iconclass", {
38076
+ base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", Object.assign({
38077
+ value: true
38078
+ }, base.PROP_BOOLEAN) ], [ "iconclass", {
38080
38079
  value: "wi wi-file-text",
38081
38080
  PROP_STRING: base.PROP_STRING
38082
38081
  } ], [ "iconheight", base.PROP_STRING ], [ "iconmargin", base.PROP_STRING ], [ "iconurl", base.PROP_STRING ], [ "iconwidth", base.PROP_STRING ], [ "modal", Object.assign({
@@ -38111,7 +38110,7 @@
38111
38110
  _this = _super.call(this, inj, WIDGET_INFO, {
38112
38111
  class: DIALOG_CLS + " " + (dialogClass || ""),
38113
38112
  backdrop: backdrop,
38114
- keyboard: !core.toBoolean(modal)
38113
+ keyboard: core.toBoolean(closable) ? true : !core.toBoolean(modal)
38115
38114
  }) || this;
38116
38115
  return _this;
38117
38116
  }
@@ -46914,6 +46913,9 @@
46914
46913
  }
46915
46914
  } else {
46916
46915
  this.resetPageNavigation();
46916
+ if (newVal === "" || newVal === undefined || _.get(this.datasource, "category") === "wm.Variable") {
46917
+ this.variableInflight = false;
46918
+ }
46917
46919
  if (!this.variableInflight) {
46918
46920
  this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
46919
46921
  }
@@ -47053,7 +47055,7 @@
47053
47055
  };
47054
47056
  TableComponent.prototype.setGridData = function(serverData) {
47055
47057
  var data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
47056
- if (_.get(this.datasource, "category") === "wm.Variable") {
47058
+ if (_.get(this.datasource, "category") === "wm.Variable" || _.get(this.datasource, "category") === undefined) {
47057
47059
  this.variableInflight = false;
47058
47060
  }
47059
47061
  if (!this.variableInflight) {