@wavemaker/app-runtime-wm-build 11.4.2-rc.5383 → 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.
@@ -17071,9 +17071,7 @@
17071
17071
  };
17072
17072
  BaseFormCustomComponent.prototype.invokeOnChange = function(value, $event, valid) {
17073
17073
  this._onChange(value);
17074
- if (valid) {
17075
- _super.prototype.invokeOnChange.call(this, value, $event);
17076
- }
17074
+ _super.prototype.invokeOnChange.call(this, value, $event);
17077
17075
  };
17078
17076
  BaseFormCustomComponent.prototype.invokeOnTouched = function($event) {
17079
17077
  this._onTouched();
@@ -38075,10 +38073,9 @@
38075
38073
  value;
38076
38074
  }
38077
38075
  var registerProps = function() {
38078
- base.register("wm-dialog", new Map([ [ "animation", base.PROP_STRING ], [ "class", base.PROP_STRING ], [ "closable", {
38079
- value: true,
38080
- PROP_BOOLEAN: base.PROP_BOOLEAN
38081
- } ], [ "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", {
38082
38079
  value: "wi wi-file-text",
38083
38080
  PROP_STRING: base.PROP_STRING
38084
38081
  } ], [ "iconheight", base.PROP_STRING ], [ "iconmargin", base.PROP_STRING ], [ "iconurl", base.PROP_STRING ], [ "iconwidth", base.PROP_STRING ], [ "modal", Object.assign({
@@ -38113,7 +38110,7 @@
38113
38110
  _this = _super.call(this, inj, WIDGET_INFO, {
38114
38111
  class: DIALOG_CLS + " " + (dialogClass || ""),
38115
38112
  backdrop: backdrop,
38116
- keyboard: !core.toBoolean(modal)
38113
+ keyboard: core.toBoolean(closable) ? true : !core.toBoolean(modal)
38117
38114
  }) || this;
38118
38115
  return _this;
38119
38116
  }
@@ -46916,6 +46913,9 @@
46916
46913
  }
46917
46914
  } else {
46918
46915
  this.resetPageNavigation();
46916
+ if (newVal === "" || newVal === undefined || _.get(this.datasource, "category") === "wm.Variable") {
46917
+ this.variableInflight = false;
46918
+ }
46919
46919
  if (!this.variableInflight) {
46920
46920
  this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
46921
46921
  }
@@ -47055,7 +47055,7 @@
47055
47055
  };
47056
47056
  TableComponent.prototype.setGridData = function(serverData) {
47057
47057
  var data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
47058
- if (_.get(this.datasource, "category") === "wm.Variable") {
47058
+ if (_.get(this.datasource, "category") === "wm.Variable" || _.get(this.datasource, "category") === undefined) {
47059
47059
  this.variableInflight = false;
47060
47060
  }
47061
47061
  if (!this.variableInflight) {