@magic-xpa/engine 4.800.0-dev480.216 → 4.800.0-dev480.217
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.
- package/bundles/magic-xpa-engine.umd.js +16 -6
- package/bundles/magic-xpa-engine.umd.js.map +1 -1
- package/bundles/magic-xpa-engine.umd.min.js +1 -1
- package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/gui/MgForm.js +16 -6
- package/fesm2015/magic-xpa-engine.js +16 -6
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
- package/src/gui/MgForm.d.ts +1 -0
|
@@ -23351,6 +23351,7 @@
|
|
|
23351
23351
|
var _this = _super_1.call(this) || this;
|
|
23352
23352
|
_this.IsMovingInView = false;
|
|
23353
23353
|
_this.PrevDisplayLine = 0;
|
|
23354
|
+
_this.RefreshAllRows = false;
|
|
23354
23355
|
_this.IgnoreFirstRecordCycle = false;
|
|
23355
23356
|
_this.MovedToFirstControl = false;
|
|
23356
23357
|
_this._suffixDone = false;
|
|
@@ -23832,8 +23833,10 @@
|
|
|
23832
23833
|
currLine = -1;
|
|
23833
23834
|
if (!this._task.DataView.isEmptyDataview())
|
|
23834
23835
|
currLine = this.getVisibleLine();
|
|
23835
|
-
if (this.isTableWithAbsoluteScrollbar())
|
|
23836
|
+
if (this.isTableWithAbsoluteScrollbar()) {
|
|
23836
23837
|
this.GetDataview().TotalRecordsCount += 1;
|
|
23838
|
+
this.RefreshAllRows = true;
|
|
23839
|
+
}
|
|
23837
23840
|
return [4 /*yield*/, this.GetDataview().addRecord(doSuffix, false, isCrelineAbove)];
|
|
23838
23841
|
case 1:
|
|
23839
23842
|
newRecIdx = _a.sent();
|
|
@@ -23877,8 +23880,10 @@
|
|
|
23877
23880
|
_a.label = 7;
|
|
23878
23881
|
case 7: return [3 /*break*/, 9];
|
|
23879
23882
|
case 8:
|
|
23880
|
-
if (this.isTableWithAbsoluteScrollbar())
|
|
23883
|
+
if (this.isTableWithAbsoluteScrollbar()) {
|
|
23881
23884
|
this.GetDataview().TotalRecordsCount -= 1;
|
|
23885
|
+
this.RefreshAllRows = false;
|
|
23886
|
+
}
|
|
23882
23887
|
_a.label = 9;
|
|
23883
23888
|
case 9: return [2 /*return*/];
|
|
23884
23889
|
}
|
|
@@ -23925,8 +23930,10 @@
|
|
|
23925
23930
|
this.GetDataview().setTopRecIdx(this.GetDataview().getCurrRecIdx());
|
|
23926
23931
|
if (!_super.isLineMode.call(this)) return [3 /*break*/, 13];
|
|
23927
23932
|
if (!_super.HasTable.call(this)) return [3 /*break*/, 10];
|
|
23928
|
-
if (this.isTableWithAbsoluteScrollbar())
|
|
23933
|
+
if (this.isTableWithAbsoluteScrollbar()) {
|
|
23929
23934
|
this.GetDataview().TotalRecordsCount--;
|
|
23935
|
+
this.RefreshAllRows = true;
|
|
23936
|
+
}
|
|
23930
23937
|
this.removeRecordsAfterIdx(this.GetDataview().getCurrRecIdx());
|
|
23931
23938
|
return [4 /*yield*/, this.RefreshDisplay(utils.Constants.TASK_REFRESH_FORM)];
|
|
23932
23939
|
case 9:
|
|
@@ -24023,8 +24030,10 @@
|
|
|
24023
24030
|
return [3 /*break*/, 9];
|
|
24024
24031
|
case 9:
|
|
24025
24032
|
if (_super.HasTable.call(this)) {
|
|
24026
|
-
if (this.isTableWithAbsoluteScrollbar() && recRemoved)
|
|
24033
|
+
if (this.isTableWithAbsoluteScrollbar() && recRemoved) {
|
|
24027
24034
|
this.GetDataview().TotalRecordsCount--;
|
|
24035
|
+
this.RefreshAllRows = true;
|
|
24036
|
+
}
|
|
24028
24037
|
this.removeRecordsAfterIdx(this.GetDataview().getCurrRecIdx());
|
|
24029
24038
|
}
|
|
24030
24039
|
return [3 /*break*/, 13];
|
|
@@ -24369,7 +24378,7 @@
|
|
|
24369
24378
|
case 2:
|
|
24370
24379
|
_a.trys.push([2, 7, 8, 9]);
|
|
24371
24380
|
index = idx + diffRef.value;
|
|
24372
|
-
if (!(!this.isRowValidated(idx) || sendAll)) return [3 /*break*/, 6];
|
|
24381
|
+
if (!(!this.isRowValidated(idx) || sendAll || this.RefreshAllRows)) return [3 /*break*/, 6];
|
|
24373
24382
|
if (index >= 0)
|
|
24374
24383
|
_super.checkAndCreateRow.call(this, index);
|
|
24375
24384
|
if (!(saveRowIdx + diffRef.value !== index)) return [3 /*break*/, 5];
|
|
@@ -24405,6 +24414,7 @@
|
|
|
24405
24414
|
return [3 /*break*/, 1];
|
|
24406
24415
|
case 10:
|
|
24407
24416
|
this.RefreshUI();
|
|
24417
|
+
this.RefreshAllRows = false;
|
|
24408
24418
|
return [2 /*return*/, updated];
|
|
24409
24419
|
}
|
|
24410
24420
|
});
|
|
@@ -37284,7 +37294,7 @@
|
|
|
37284
37294
|
return CommandsTable;
|
|
37285
37295
|
}());
|
|
37286
37296
|
|
|
37287
|
-
var CurrentClientVersion = '4.800.0-dev480.
|
|
37297
|
+
var CurrentClientVersion = '4.800.0-dev480.217';
|
|
37288
37298
|
|
|
37289
37299
|
var ClientManager = /** @class */ (function () {
|
|
37290
37300
|
function ClientManager() {
|