@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.
@@ -7,13 +7,7 @@ import { HttpHeaders, HttpErrorResponse } from '@angular/common/http';
7
7
  import { timer, Subject } from 'rxjs';
8
8
 
9
9
  class AccessHelper {
10
- }
11
- var ClearEventsOnStopExecution;
12
- (function (ClearEventsOnStopExecution) {
13
- ClearEventsOnStopExecution["NONE"] = " ";
14
- ClearEventsOnStopExecution["SERVER"] = "S";
15
- ClearEventsOnStopExecution["ALL"] = "A";
16
- })(ClearEventsOnStopExecution || (ClearEventsOnStopExecution = {}));
10
+ }
17
11
 
18
12
  var EventSubType;
19
13
  (function (EventSubType) {
@@ -4600,9 +4594,10 @@ class Scrambler {
4600
4594
  if (high > (sqrt / 2))
4601
4595
  high = Math.floor(sqrt / 2);
4602
4596
  delta = (Math.random() * (high - low)) + low;
4597
+ delta = Math.floor(delta);
4603
4598
  if (delta === Scrambler.XML_ILLEGAL_RANDOM)
4604
4599
  delta++;
4605
- return Math.floor(delta);
4600
+ return delta;
4606
4601
  }
4607
4602
  static UnScramble(inVal, beginOffSet, endOffSet) {
4608
4603
  if (!Scrambler.ScramblingEnabled) {
@@ -10004,7 +9999,7 @@ class Operation {
10004
9999
  let rtEvnt = AccessHelper.eventsManager.getLastRtEvent();
10005
10000
  if (this._isRoute && rtEvnt !== null && rtEvnt.isGuiTriggeredEvent()) {
10006
10001
  terminateTaskGracefully = false;
10007
- AccessHelper.eventsManager.setStopExecution(true, ClearEventsOnStopExecution.NONE);
10002
+ AccessHelper.eventsManager.setStopExecution(true);
10008
10003
  }
10009
10004
  if (yield subformTask.endTask(true, false, !terminateTaskGracefully, true)) {
10010
10005
  let parentTask = destSubForm.getForm().getTask();
@@ -19401,7 +19396,7 @@ class DataView extends DataViewBase {
19401
19396
  if (temporaryResetInCtrlPrefix)
19402
19397
  this._task.InCtrlPrefix = true;
19403
19398
  if (orgAction !== RECOVERY_ACT_NONE)
19404
- AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE ? ClearEventsOnStopExecution.ALL : ClearEventsOnStopExecution.SERVER);
19399
+ AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE);
19405
19400
  }
19406
19401
  });
19407
19402
  }
@@ -29511,20 +29506,20 @@ class EventsManager {
29511
29506
  return null;
29512
29507
  return this._currField.getTask();
29513
29508
  }
29514
- setStopExecution(stop, clearEventsOnStopExecution) {
29509
+ setStopExecution(stop, clearSrvrEvents) {
29515
29510
  if (arguments.length === 1)
29516
29511
  this.setStopExecution_0(stop);
29517
29512
  else
29518
- this.setStopExecution_1(stop, clearEventsOnStopExecution);
29513
+ this.setStopExecution_1(stop, clearSrvrEvents);
29519
29514
  }
29520
29515
  setStopExecution_0(stop) {
29521
- this.setStopExecution(stop, ClearEventsOnStopExecution.ALL);
29516
+ this.setStopExecution(stop, true);
29522
29517
  }
29523
- setStopExecution_1(stop, clearEventsOnStopExecution) {
29518
+ setStopExecution_1(stop, clearSrvrEvents) {
29524
29519
  if (stop)
29525
- if (clearEventsOnStopExecution == ClearEventsOnStopExecution.ALL)
29520
+ if (clearSrvrEvents)
29526
29521
  this._eventsQueue.clear();
29527
- else if (clearEventsOnStopExecution == ClearEventsOnStopExecution.SERVER) {
29522
+ else {
29528
29523
  let tmpVec = new List();
29529
29524
  let rtEvt;
29530
29525
  let i;
@@ -31084,7 +31079,7 @@ class CommandsTable {
31084
31079
  }
31085
31080
  }
31086
31081
 
31087
- let CurrentClientVersion = '4.800.1';
31082
+ let CurrentClientVersion = '4.800.2';
31088
31083
 
31089
31084
  class ClientManager {
31090
31085
  constructor() {
@@ -31548,5 +31543,5 @@ class Process {
31548
31543
  }
31549
31544
  }
31550
31545
 
31551
- export { AbortCommand, AccessHelper, ActionManager, AddLocateCommand, AddRangeCommand, AddSortCommand, AddUserLocateDataViewCommand, AddUserLocateRemoteDataViewCommand, AddUserRangeDataviewCommand, AddUserRangeRemoteDataViewCommand, AddUserSortDataViewCommand, AddUserSortRemoteDataViewCommand, Argument, ArgumentsList, Boundary, BrowserEscEventCommand, ClearEventsOnStopExecution, ClientManager, ClientOriginatedCommand, ClientOriginatedCommandSerializer, ClientOriginatedCommandTaskTag, ClientRefreshCommand, ClientTargetedCommandBase, ClientTargetedCommandType, ColumnSortEventCommand, CommandFactory, CommandSerializationHelper, CommandsProcessorBase, CommandsProcessorBase_SendingInstruction, CommandsProcessorBase_SessionStage, CommandsProcessorManager, CommandsTable, CompMainPrgTable, ComputeEventCommand, ConstInterface, ConstUtils, ContextTerminationEventCommand, ContextTimeoutResetCommand, ControlItemsRefreshCommand, CookieService, CreatedFormVector, CurrentClientVersion, DataSourceIdKey, DataView, DataViewBase, DataViewCommandBase, DataViewCommandType, DataViewOutputCommand, DataviewCommand, DataviewHeaderBase, DataviewHeaderFactory, DataviewHeaders, DataviewHeadersSaxHandler, DataviewManager, DataviewManagerBase, DcValuesReference, DummyDataViewCommand, DvCache, EnhancedVerifyCommand, EnvParamsTable, Environment, EnvironmentDetails, EvaluateCommand, Event, EventCommand, EventHandler, EventHandlerPosition, EventSubType, EventsAllowedType, EventsManager, ExecOperCommand, ExecutionStack, ExecutionStackEntry, ExpDesc, ExpStrTracker, ExpTable, Expression, ExpressionDict, ExpressionEvaluator, ExpressionLocalJpn, Expression_ReturnValue, FetchDataControlValuesEventCommand, Field, FieldBase, FieldsTable as FieldsTableExt, FlowMonitorInterface, FlowMonitorQueue, FormsTable, GUIManager, GlobalCommandsManager, GlobalParams, GlobalParamsQueryCommand, GuiEventsProcessor, HandlersTable, HeapSort, HttpClientAsync, HttpClientBase, HttpClientEvents, HttpClientSync, HttpManager, HttpUtility, IClientTargetedCommand, IndexChangeEventCommand, IniputForceWriteCommand, InteractiveCommunicationsFailureHandler, Key, LanguageData, LastFocusedManager, MGData, MGDataCollection, MagicBridge, MenusDeserializer, MgControl, MgForm, MgPriorityBlockingQueue, MgPriorityQueue, MirrorExpVal, MirrorPrmMap, MirrorString, NonReversibleExitEventCommand, NullValueException, OpenURLCommand, OpeningTaskDetails, Operation, OperationTable, ParamParseResult, PrmMap, Process, QueryCommand, RCTimer, Recompute, RecomputeCommand, RecomputeTable, Recompute_RcmpBy, Record, RecordOutOfDataViewException, RecordOutOfDataViewException_ExceptionType, RecordsTable, RefreshEventCommand, RefreshScreenEventCommand, RemoteCommandsProcessor, RemoteControlItemsRefreshCommand, RemoteDataViewCommandBase, RemoteDataViewCommandFactory, RemoteDataViewCommandUpdateNonModifiable, RemoteDataviewHeader, RemoteDataviewManager, RemoteTaskService, RequestMethod, ResetLocateCommand, ResetRangeCommand, ResetSortCommand, ResetUserLocateRemoteDataviewCommand, ResetUserRangeRemoteDataviewCommand, ResetUserSortRemoteDataviewCommand, ResultCommand, ResultValue, RetVals, ReturnResult, ReturnResultBase, RollbackEventCommand, RollbackEventCommand_RollbackType, RunTimeEvent, RunTimeEventBase, SET_DISPLAYLINE_BY_DV, Scrambler, SelectProgramCommand, ServerConfig, ServerError, SetTransactionStateDataviewCommand, SetTransactionStateRemoteDataViewCommand, Sort, SortCollection, SubformOpenEventCommand, SubformRefreshEventCommand, TableCache, TableCacheManager, Task, TaskBase, TaskServiceBase, TaskTransactionManager, Task_Direction, Task_Flow, Task_SubformExecModeEnum, TasksTable, Transaction, TransactionCommand, UniqueIDUtils, UnloadCommand, UserDetails, UserEventsTable, UserRange, VerifyCommand, WriteMessageToServerLogCommand, XMLBasedCommandBuilder, XMLBasedDcValuesBuilder, YesNoExp, getGuiEventObj };
31546
+ export { AbortCommand, AccessHelper, ActionManager, AddLocateCommand, AddRangeCommand, AddSortCommand, AddUserLocateDataViewCommand, AddUserLocateRemoteDataViewCommand, AddUserRangeDataviewCommand, AddUserRangeRemoteDataViewCommand, AddUserSortDataViewCommand, AddUserSortRemoteDataViewCommand, Argument, ArgumentsList, Boundary, BrowserEscEventCommand, ClientManager, ClientOriginatedCommand, ClientOriginatedCommandSerializer, ClientOriginatedCommandTaskTag, ClientRefreshCommand, ClientTargetedCommandBase, ClientTargetedCommandType, ColumnSortEventCommand, CommandFactory, CommandSerializationHelper, CommandsProcessorBase, CommandsProcessorBase_SendingInstruction, CommandsProcessorBase_SessionStage, CommandsProcessorManager, CommandsTable, CompMainPrgTable, ComputeEventCommand, ConstInterface, ConstUtils, ContextTerminationEventCommand, ContextTimeoutResetCommand, ControlItemsRefreshCommand, CookieService, CreatedFormVector, CurrentClientVersion, DataSourceIdKey, DataView, DataViewBase, DataViewCommandBase, DataViewCommandType, DataViewOutputCommand, DataviewCommand, DataviewHeaderBase, DataviewHeaderFactory, DataviewHeaders, DataviewHeadersSaxHandler, DataviewManager, DataviewManagerBase, DcValuesReference, DummyDataViewCommand, DvCache, EnhancedVerifyCommand, EnvParamsTable, Environment, EnvironmentDetails, EvaluateCommand, Event, EventCommand, EventHandler, EventHandlerPosition, EventSubType, EventsAllowedType, EventsManager, ExecOperCommand, ExecutionStack, ExecutionStackEntry, ExpDesc, ExpStrTracker, ExpTable, Expression, ExpressionDict, ExpressionEvaluator, ExpressionLocalJpn, Expression_ReturnValue, FetchDataControlValuesEventCommand, Field, FieldBase, FieldsTable as FieldsTableExt, FlowMonitorInterface, FlowMonitorQueue, FormsTable, GUIManager, GlobalCommandsManager, GlobalParams, GlobalParamsQueryCommand, GuiEventsProcessor, HandlersTable, HeapSort, HttpClientAsync, HttpClientBase, HttpClientEvents, HttpClientSync, HttpManager, HttpUtility, IClientTargetedCommand, IndexChangeEventCommand, IniputForceWriteCommand, InteractiveCommunicationsFailureHandler, Key, LanguageData, LastFocusedManager, MGData, MGDataCollection, MagicBridge, MenusDeserializer, MgControl, MgForm, MgPriorityBlockingQueue, MgPriorityQueue, MirrorExpVal, MirrorPrmMap, MirrorString, NonReversibleExitEventCommand, NullValueException, OpenURLCommand, OpeningTaskDetails, Operation, OperationTable, ParamParseResult, PrmMap, Process, QueryCommand, RCTimer, Recompute, RecomputeCommand, RecomputeTable, Recompute_RcmpBy, Record, RecordOutOfDataViewException, RecordOutOfDataViewException_ExceptionType, RecordsTable, RefreshEventCommand, RefreshScreenEventCommand, RemoteCommandsProcessor, RemoteControlItemsRefreshCommand, RemoteDataViewCommandBase, RemoteDataViewCommandFactory, RemoteDataViewCommandUpdateNonModifiable, RemoteDataviewHeader, RemoteDataviewManager, RemoteTaskService, RequestMethod, ResetLocateCommand, ResetRangeCommand, ResetSortCommand, ResetUserLocateRemoteDataviewCommand, ResetUserRangeRemoteDataviewCommand, ResetUserSortRemoteDataviewCommand, ResultCommand, ResultValue, RetVals, ReturnResult, ReturnResultBase, RollbackEventCommand, RollbackEventCommand_RollbackType, RunTimeEvent, RunTimeEventBase, SET_DISPLAYLINE_BY_DV, Scrambler, SelectProgramCommand, ServerConfig, ServerError, SetTransactionStateDataviewCommand, SetTransactionStateRemoteDataViewCommand, Sort, SortCollection, SubformOpenEventCommand, SubformRefreshEventCommand, TableCache, TableCacheManager, Task, TaskBase, TaskServiceBase, TaskTransactionManager, Task_Direction, Task_Flow, Task_SubformExecModeEnum, TasksTable, Transaction, TransactionCommand, UniqueIDUtils, UnloadCommand, UserDetails, UserEventsTable, UserRange, VerifyCommand, WriteMessageToServerLogCommand, XMLBasedCommandBuilder, XMLBasedDcValuesBuilder, YesNoExp, getGuiEventObj };
31552
31547
  //# sourceMappingURL=magic-xpa-engine.js.map