@magic-xpa/engine 4.901.0-dev491.1 → 4.901.0-dev491.3
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/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/gui/MgForm.mjs +3 -22
- package/fesm2015/magic-xpa-engine.mjs +2 -25
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +2 -21
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/gui/MgForm.d.ts +1 -3
|
@@ -19724,23 +19724,9 @@ class MgForm extends MgFormBase {
|
|
|
19724
19724
|
dv = this._task.DataView;
|
|
19725
19725
|
return (dv);
|
|
19726
19726
|
}
|
|
19727
|
-
moveInView(unit, direction
|
|
19728
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19729
|
-
if (isNullOrUndefined(returnToCtrl))
|
|
19730
|
-
yield this.moveInView_0(unit, direction);
|
|
19731
|
-
else
|
|
19732
|
-
yield this.moveInView_1(unit, direction, returnToCtrl);
|
|
19733
|
-
});
|
|
19734
|
-
}
|
|
19735
|
-
moveInView_0(unit, direction) {
|
|
19736
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
19737
|
-
yield this.moveInView(unit, direction, true);
|
|
19738
|
-
});
|
|
19739
|
-
}
|
|
19740
|
-
moveInView_1(unit, direction, returnToCtrl) {
|
|
19727
|
+
moveInView(unit, direction) {
|
|
19741
19728
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19742
19729
|
let oldRecId = Int32.MinValue;
|
|
19743
|
-
let lastParkedCtrl;
|
|
19744
19730
|
let currRec = this.GetDataview().getCurrRec();
|
|
19745
19731
|
let oldTaskMode = ' ';
|
|
19746
19732
|
let returnToVisibleLine = false;
|
|
@@ -19995,15 +19981,6 @@ class MgForm extends MgFormBase {
|
|
|
19995
19981
|
else
|
|
19996
19982
|
this.SetTableTopIndex();
|
|
19997
19983
|
yield AccessHelper.eventsManager.handleInternalEventWithTask(this._task, InternalInterface.MG_ACT_REC_PREFIX);
|
|
19998
|
-
if (returnToCtrl) {
|
|
19999
|
-
lastParkedCtrl = this._task.getLastParkedCtrl();
|
|
20000
|
-
if (lastParkedCtrl != null) {
|
|
20001
|
-
let cursorMoved = yield lastParkedCtrl.invoke();
|
|
20002
|
-
if (!cursorMoved) {
|
|
20003
|
-
yield AccessHelper.eventsManager.HandleNonParkableControls(this._task);
|
|
20004
|
-
}
|
|
20005
|
-
}
|
|
20006
|
-
}
|
|
20007
19984
|
}
|
|
20008
19985
|
catch (e) {
|
|
20009
19986
|
if (e instanceof RecordOutOfDataViewException) {
|
|
@@ -30389,7 +30366,7 @@ class CommandsTable {
|
|
|
30389
30366
|
}
|
|
30390
30367
|
}
|
|
30391
30368
|
|
|
30392
|
-
let CurrentClientVersion = '4.901.0-dev491.
|
|
30369
|
+
let CurrentClientVersion = '4.901.0-dev491.3';
|
|
30393
30370
|
|
|
30394
30371
|
class ClientManager {
|
|
30395
30372
|
constructor() {
|