@magic-xpa/engine 4.800.1 → 4.800.2

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.
@@ -8,13 +8,7 @@
8
8
  function AccessHelper() {
9
9
  }
10
10
  return AccessHelper;
11
- }());
12
- exports.ClearEventsOnStopExecution = void 0;
13
- (function (ClearEventsOnStopExecution) {
14
- ClearEventsOnStopExecution["NONE"] = " ";
15
- ClearEventsOnStopExecution["SERVER"] = "S";
16
- ClearEventsOnStopExecution["ALL"] = "A";
17
- })(exports.ClearEventsOnStopExecution || (exports.ClearEventsOnStopExecution = {}));
11
+ }());
18
12
 
19
13
  /*! *****************************************************************************
20
14
  Copyright (c) Microsoft Corporation.
@@ -5279,9 +5273,10 @@
5279
5273
  if (high > (sqrt / 2))
5280
5274
  high = Math.floor(sqrt / 2);
5281
5275
  delta = (Math.random() * (high - low)) + low;
5276
+ delta = Math.floor(delta);
5282
5277
  if (delta === Scrambler.XML_ILLEGAL_RANDOM)
5283
5278
  delta++;
5284
- return Math.floor(delta);
5279
+ return delta;
5285
5280
  };
5286
5281
  Scrambler.UnScramble = function (inVal, beginOffSet, endOffSet) {
5287
5282
  if (!Scrambler.ScramblingEnabled) {
@@ -11461,7 +11456,7 @@
11461
11456
  rtEvnt = AccessHelper.eventsManager.getLastRtEvent();
11462
11457
  if (this._isRoute && rtEvnt !== null && rtEvnt.isGuiTriggeredEvent()) {
11463
11458
  terminateTaskGracefully = false;
11464
- AccessHelper.eventsManager.setStopExecution(true, exports.ClearEventsOnStopExecution.NONE);
11459
+ AccessHelper.eventsManager.setStopExecution(true);
11465
11460
  }
11466
11461
  return [4 /*yield*/, subformTask.endTask(true, false, !terminateTaskGracefully, true)];
11467
11462
  case 33:
@@ -22251,7 +22246,7 @@
22251
22246
  if (temporaryResetInCtrlPrefix)
22252
22247
  this._task.InCtrlPrefix = true;
22253
22248
  if (orgAction !== RECOVERY_ACT_NONE)
22254
- AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE ? exports.ClearEventsOnStopExecution.ALL : exports.ClearEventsOnStopExecution.SERVER);
22249
+ AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE);
22255
22250
  _b.label = 12;
22256
22251
  case 12: return [2 /*return*/];
22257
22252
  }
@@ -35490,20 +35485,20 @@
35490
35485
  return null;
35491
35486
  return this._currField.getTask();
35492
35487
  };
35493
- EventsManager.prototype.setStopExecution = function (stop, clearEventsOnStopExecution) {
35488
+ EventsManager.prototype.setStopExecution = function (stop, clearSrvrEvents) {
35494
35489
  if (arguments.length === 1)
35495
35490
  this.setStopExecution_0(stop);
35496
35491
  else
35497
- this.setStopExecution_1(stop, clearEventsOnStopExecution);
35492
+ this.setStopExecution_1(stop, clearSrvrEvents);
35498
35493
  };
35499
35494
  EventsManager.prototype.setStopExecution_0 = function (stop) {
35500
- this.setStopExecution(stop, exports.ClearEventsOnStopExecution.ALL);
35495
+ this.setStopExecution(stop, true);
35501
35496
  };
35502
- EventsManager.prototype.setStopExecution_1 = function (stop, clearEventsOnStopExecution) {
35497
+ EventsManager.prototype.setStopExecution_1 = function (stop, clearSrvrEvents) {
35503
35498
  if (stop)
35504
- if (clearEventsOnStopExecution == exports.ClearEventsOnStopExecution.ALL)
35499
+ if (clearSrvrEvents)
35505
35500
  this._eventsQueue.clear();
35506
- else if (clearEventsOnStopExecution == exports.ClearEventsOnStopExecution.SERVER) {
35501
+ else {
35507
35502
  var tmpVec = new mscorelib.List();
35508
35503
  var rtEvt = void 0;
35509
35504
  var i = void 0;
@@ -37348,7 +37343,7 @@
37348
37343
  return CommandsTable;
37349
37344
  }());
37350
37345
 
37351
- var CurrentClientVersion = '4.800.1';
37346
+ var CurrentClientVersion = '4.800.2';
37352
37347
 
37353
37348
  var ClientManager = /** @class */ (function () {
37354
37349
  function ClientManager() {