@wavemaker/app-runtime-wm-build 11.3.4-rc.5290 → 11.3.4-rc.5297
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.
- app-runtime-wm-build/package.json +1 -1
- app-runtime-wm-build/wmapp/scripts/wm-loader.js +12 -3
- app-runtime-wm-build/wmapp/scripts/wm-loader.min.js +3 -3
- app-runtime-wm-build/wmapp/styles/css/wm-style.css +1 -1
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.js +12 -3
- app-runtime-wm-build/wmmobile/scripts/wm-mobileloader.min.js +3 -3
- app-runtime-wm-build/wmmobile/styles/css/wm-style.css +1 -1
|
@@ -12389,7 +12389,8 @@
|
|
|
12389
12389
|
mindate: "mindate",
|
|
12390
12390
|
maxdate: "maxdate",
|
|
12391
12391
|
excludedates: "excludedates",
|
|
12392
|
-
excludedays: "excludedays"
|
|
12392
|
+
excludedays: "excludedays",
|
|
12393
|
+
invalidNumber: "invalidNumber"
|
|
12393
12394
|
};
|
|
12394
12395
|
var BaseFieldValidations = function() {
|
|
12395
12396
|
function BaseFieldValidations(instance, formwidget, widgettype, widgetControl, widgetContext, tableFieldType) {
|
|
@@ -32130,7 +32131,8 @@
|
|
|
32130
32131
|
}
|
|
32131
32132
|
}
|
|
32132
32133
|
if (_.isString(propertyValueMap.customcolors) && propertyValueMap.customcolors) {
|
|
32133
|
-
|
|
32134
|
+
var tempColors = propertyValueMap.customcolors.replace(/'/g, '"');
|
|
32135
|
+
colors = JSON.parse(tempColors);
|
|
32134
32136
|
}
|
|
32135
32137
|
if (_.isArray(propertyValueMap.customcolors)) {
|
|
32136
32138
|
colors = propertyValueMap.customcolors;
|
|
@@ -32280,7 +32282,7 @@
|
|
|
32280
32282
|
var value = _.get(dataObj, xKey);
|
|
32281
32283
|
if (isLineTypeChart(this.type) && !core.isNumberType(this.xAxisDataType)) {
|
|
32282
32284
|
this.xDataKeyArr.push(value);
|
|
32283
|
-
return
|
|
32285
|
+
return value;
|
|
32284
32286
|
}
|
|
32285
32287
|
return value;
|
|
32286
32288
|
};
|
|
@@ -45676,6 +45678,7 @@
|
|
|
45676
45678
|
_this.rowDef = {};
|
|
45677
45679
|
_this.rowInstance = {};
|
|
45678
45680
|
_this.fullFieldDefs = [];
|
|
45681
|
+
_this.variableInflight = true;
|
|
45679
45682
|
_this.applyProps = new Map;
|
|
45680
45683
|
_this.redraw = _.debounce(_this._redraw, 150);
|
|
45681
45684
|
_this.debouncedHandleLoading = _.debounce(_this.handleLoading, 350);
|
|
@@ -46399,6 +46402,9 @@
|
|
|
46399
46402
|
set: function(newValue) {
|
|
46400
46403
|
var _a;
|
|
46401
46404
|
this.isDataLoading = false;
|
|
46405
|
+
if (this.variableInflight && _.isEmpty(newValue)) {
|
|
46406
|
+
return;
|
|
46407
|
+
}
|
|
46402
46408
|
this.variableInflight = false;
|
|
46403
46409
|
if (this.gridOptions.isNavTypeScrollOrOndemand()) {
|
|
46404
46410
|
_a = __read(this.paginationService.updateFieldsOnPagination(this, newValue), 2),
|
|
@@ -46848,6 +46854,9 @@
|
|
|
46848
46854
|
};
|
|
46849
46855
|
TableComponent.prototype.setGridData = function(serverData) {
|
|
46850
46856
|
var data = this.filternullrecords ? this.removeEmptyRecords(serverData) : serverData;
|
|
46857
|
+
if (_.get(this.datasource, "category") === "wm.Variable") {
|
|
46858
|
+
this.variableInflight = false;
|
|
46859
|
+
}
|
|
46851
46860
|
if (!this.variableInflight) {
|
|
46852
46861
|
if (data && data.length === 0) {
|
|
46853
46862
|
this.callDataGridMethod("setStatus", "nodata", this.nodatamessage);
|