@magic-xpa/engine 4.1000.0-dev4100.304 → 4.1000.0-dev4100.306
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/event/EventsManager.mjs +9 -1
- package/esm2020/src/event/IEventsManager.mjs +1 -1
- package/esm2020/src/gui/MgForm.mjs +5 -2
- package/fesm2015/magic-xpa-engine.mjs +13 -2
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +13 -2
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/event/EventsManager.d.ts +3 -0
- package/src/event/IEventsManager.d.ts +2 -0
@@ -20531,7 +20531,10 @@ class MgForm extends MgFormBase {
|
|
20531
20531
|
}
|
20532
20532
|
if (refreshType === Constants.TASK_REFRESH_CURR_REC && (!_super.isLineMode.call(this) || this._tableRefreshed)) {
|
20533
20533
|
this.FormRefreshed = true;
|
20534
|
-
|
20534
|
+
if (this._task.isFirstRecordCycle() || AccessHelper.eventsManager.getIsInViewRefresh()) {
|
20535
|
+
Commands.addNoParameters(CommandType.SET_WC_IDLE, this);
|
20536
|
+
AccessHelper.eventsManager.setIsInViewRefresh(false);
|
20537
|
+
}
|
20535
20538
|
}
|
20536
20539
|
return true;
|
20537
20540
|
});
|
@@ -26258,6 +26261,7 @@ class EventsManager {
|
|
26258
26261
|
this.confirmationDialogTitle = 'Session is about to be terminated!';
|
26259
26262
|
this._lastFailedFocusedControl = null;
|
26260
26263
|
this.isSpinnerShown = false;
|
26264
|
+
this.isInViewRefresh = false;
|
26261
26265
|
this.SpinnerStopped = new Subject();
|
26262
26266
|
this._rtEvents = new Stack();
|
26263
26267
|
this._eventsQueue = new MgPriorityBlockingQueue();
|
@@ -28513,6 +28517,7 @@ class EventsManager {
|
|
28513
28517
|
yield dv.currRecCompute(true);
|
28514
28518
|
}
|
28515
28519
|
yield this.handleInternalEventWithTask(task, InternalInterface.MG_ACT_REC_PREFIX);
|
28520
|
+
this.setIsInViewRefresh(true);
|
28516
28521
|
if (!this.GetStopExecutionFlag() && !task.getPreventControlChange()) {
|
28517
28522
|
if (!(task === LastFocusedManager.Instance.getLastFocusedTask() || !task.pathContains(LastFocusedManager.Instance.getLastFocusedTask())))
|
28518
28523
|
yield this.handleInternalEventWithTask(task, InternalInterface.MG_ACT_REC_SUFFIX);
|
@@ -29266,6 +29271,12 @@ class EventsManager {
|
|
29266
29271
|
return false;
|
29267
29272
|
return true;
|
29268
29273
|
}
|
29274
|
+
getIsInViewRefresh() {
|
29275
|
+
return this.isInViewRefresh;
|
29276
|
+
}
|
29277
|
+
setIsInViewRefresh(inViewRefresh) {
|
29278
|
+
this.isInViewRefresh = inViewRefresh;
|
29279
|
+
}
|
29269
29280
|
}
|
29270
29281
|
EventsManager.REAL_ONLY = true;
|
29271
29282
|
EventsManager.MAX_OPER = 9999;
|
@@ -30334,7 +30345,7 @@ class CommandsTable {
|
|
30334
30345
|
}
|
30335
30346
|
}
|
30336
30347
|
|
30337
|
-
let CurrentClientVersion = '4.1000.0-dev4100.
|
30348
|
+
let CurrentClientVersion = '4.1000.0-dev4100.306';
|
30338
30349
|
|
30339
30350
|
class ClientManager {
|
30340
30351
|
static get Instance() {
|