@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.
- package/bundles/magic-xpa-engine.umd.js +12 -17
- package/bundles/magic-xpa-engine.umd.js.map +1 -1
- package/bundles/magic-xpa-engine.umd.min.js +2 -3
- package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
- package/esm2015/src/AccessHelper.js +1 -7
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/data/DataView.js +3 -3
- package/esm2015/src/event/EventsManager.js +7 -8
- package/esm2015/src/event/IEventsManager.js +1 -1
- package/esm2015/src/rt/Operation.js +4 -4
- package/esm2015/src/util/Scrambler.js +3 -2
- package/fesm2015/magic-xpa-engine.js +13 -18
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
- package/src/AccessHelper.d.ts +0 -5
- package/src/event/EventsManager.d.ts +1 -2
- package/src/event/IEventsManager.d.ts +1 -2
|
@@ -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
|
|
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
|
|
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
|
|
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,
|
|
29509
|
+
setStopExecution(stop, clearSrvrEvents) {
|
|
29515
29510
|
if (arguments.length === 1)
|
|
29516
29511
|
this.setStopExecution_0(stop);
|
|
29517
29512
|
else
|
|
29518
|
-
this.setStopExecution_1(stop,
|
|
29513
|
+
this.setStopExecution_1(stop, clearSrvrEvents);
|
|
29519
29514
|
}
|
|
29520
29515
|
setStopExecution_0(stop) {
|
|
29521
|
-
this.setStopExecution(stop,
|
|
29516
|
+
this.setStopExecution(stop, true);
|
|
29522
29517
|
}
|
|
29523
|
-
setStopExecution_1(stop,
|
|
29518
|
+
setStopExecution_1(stop, clearSrvrEvents) {
|
|
29524
29519
|
if (stop)
|
|
29525
|
-
if (
|
|
29520
|
+
if (clearSrvrEvents)
|
|
29526
29521
|
this._eventsQueue.clear();
|
|
29527
|
-
else
|
|
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.
|
|
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,
|
|
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
|