@magic-xpa/engine 4.801.0-dev481.307 → 4.801.0-dev481.310

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.
Files changed (45) hide show
  1. package/esm2020/src/ClientManager.mjs +2 -10
  2. package/esm2020/src/CurrentClientVersion.mjs +2 -2
  3. package/esm2020/src/GUIManager.mjs +1 -2
  4. package/esm2020/src/GuiEventsProcessor.mjs +2 -19
  5. package/esm2020/src/commands/ClientToServer/CommandFactory.mjs +35 -35
  6. package/esm2020/src/commands/ClientToServer/ComputeEventCommand.mjs +1 -1
  7. package/esm2020/src/commands/ClientToServer/ContextTimeoutResetCommand.mjs +7 -7
  8. package/esm2020/src/commands/ClientToServer/QueryCommand.mjs +1 -1
  9. package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +2 -2
  10. package/esm2020/src/commands/ServerToClient/ClientTargetedCommandBase.mjs +1 -1
  11. package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +1 -3
  12. package/esm2020/src/communications/InteractiveCommunicationsFailureHandler.mjs +1 -1
  13. package/esm2020/src/data/DvCache.mjs +4 -29
  14. package/esm2020/src/env/Environment.mjs +2 -5
  15. package/esm2020/src/env/LanguageData.mjs +1 -2
  16. package/esm2020/src/event/Event.mjs +1 -3
  17. package/esm2020/src/event/EventsManager.mjs +2 -16
  18. package/esm2020/src/gui/MgControl.mjs +1 -3
  19. package/esm2020/src/gui/MgForm.mjs +1 -2
  20. package/esm2020/src/http/client/HttpClientBase.mjs +1 -17
  21. package/esm2020/src/remote/RemoteCommandsProcessor.mjs +1 -10
  22. package/esm2020/src/rt/DataviewHeaders.mjs +2 -4
  23. package/esm2020/src/rt/LastFocusedManager.mjs +1 -5
  24. package/esm2020/src/rt/Operation.mjs +2 -12
  25. package/esm2020/src/tasks/Task.mjs +2 -5
  26. package/esm2020/src/util/FlowMonitorQueue.mjs +1 -3
  27. package/esm2020/src/util/MgPriorityBlockingQueue.mjs +1 -3
  28. package/fesm2015/magic-xpa-engine.mjs +162 -286
  29. package/fesm2015/magic-xpa-engine.mjs.map +1 -1
  30. package/fesm2020/magic-xpa-engine.mjs +155 -276
  31. package/fesm2020/magic-xpa-engine.mjs.map +1 -1
  32. package/package.json +4 -4
  33. package/src/ClientManager.d.ts +0 -3
  34. package/src/GuiEventsProcessor.d.ts +0 -2
  35. package/src/commands/ClientToServer/CommandFactory.d.ts +35 -35
  36. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +2 -2
  37. package/src/commands/ServerToClient/VerifyCommand.d.ts +0 -1
  38. package/src/data/DvCache.d.ts +2 -6
  39. package/src/env/Environment.d.ts +0 -2
  40. package/src/event/Event.d.ts +0 -1
  41. package/src/event/EventsManager.d.ts +0 -1
  42. package/src/http/client/HttpClientBase.d.ts +0 -2
  43. package/src/remote/RemoteCommandsProcessor.d.ts +0 -4
  44. package/src/rt/DataviewHeaders.d.ts +1 -3
  45. package/src/rt/Operation.d.ts +0 -4
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@magic-xpa/engine",
3
- "version": "4.801.0-dev481.307",
3
+ "version": "4.801.0-dev481.310",
4
4
  "description": "magic engine package",
5
5
  "license": "SEE LICENSE IN EULA.pdf",
6
6
  "dependencies": {
7
- "@magic-xpa/mscorelib": "4.801.0-dev481.307",
8
- "@magic-xpa/utils": "4.801.0-dev481.307",
9
- "@magic-xpa/gui": "4.801.0-dev481.307",
7
+ "@magic-xpa/mscorelib": "4.801.0-dev481.310",
8
+ "@magic-xpa/utils": "4.801.0-dev481.310",
9
+ "@magic-xpa/gui": "4.801.0-dev481.310",
10
10
  "@angular/http": "^7.1.0",
11
11
  "tslib": "^2.3.0"
12
12
  },
@@ -3,8 +3,6 @@ import { IGuiEvent } from './bridge/IGuiEvent';
3
3
  import { IServerConfig } from './util/IServerConfig';
4
4
  import { HttpClient } from '@angular/common/http';
5
5
  export declare class ClientManager {
6
- private _guiEventsProcessor;
7
- private _tableCacheManager;
8
6
  private _delayInProgress;
9
7
  private static _instance;
10
8
  private _debugClient;
@@ -31,7 +29,6 @@ export declare class ClientManager {
31
29
  isDelayInProgress(): boolean;
32
30
  setDelayInProgress(delayInProgress: boolean): void;
33
31
  GetGlobalUniqueSessionID(): string;
34
- private static getExecutionPropertiesFileName;
35
32
  static GetControlPictureMask(taskId: string, controlName: string): PIC;
36
33
  static GetFormattedValue(taskId: string, controlName: string, value: any): string;
37
34
  static GetRangedValue(taskId: string, controlName: string, value: string): string;
@@ -10,7 +10,6 @@ export declare class GuiEventsProcessor extends EventsProcessor {
10
10
  private static ProcessTimer;
11
11
  private static processTableResize;
12
12
  private static processGetRowsData;
13
- private static processEnableActs;
14
13
  private static OnNonParkableLastParkedCtrl;
15
14
  private static processSelection;
16
15
  processKeyDown(guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, handled: boolean): boolean;
@@ -19,7 +18,6 @@ export declare class GuiEventsProcessor extends EventsProcessor {
19
18
  private static GetRuntimeContext;
20
19
  private static SaveLastClickedControlName;
21
20
  private static SaveLastClickInfo;
22
- private static ProcessPress;
23
21
  private static IsLogonRTL;
24
22
  private static ShowSessionStatistics;
25
23
  private static ShouldAddEnterAsKeyEvent;
@@ -1,38 +1,38 @@
1
- import { MgControlBase } from "@magic-xpa/gui";
2
- import { StorageAttribute } from "@magic-xpa/utils";
3
- import { EventCommand } from "./EventCommand";
4
- import { RollbackEventCommand, RollbackEventCommand_RollbackType } from "./RollbackEventCommand";
5
- import { DataviewCommand, DataViewCommandType } from "./DataviewCommand";
6
- import { Task } from "../../tasks/Task";
7
- import { UserRange } from "../../tasks/TaskBase";
8
- import { AddUserRangeDataviewCommand } from "./AddUserRangeDataviewCommand";
9
- import { Sort } from "../../tasks/sort/Sort";
10
- import { AddUserSortDataViewCommand } from "./AddUserSortDataViewCommand";
11
- import { AddUserLocateDataViewCommand } from "./AddUserLocateDataViewCommand";
12
- import { SetTransactionStateDataviewCommand } from "./SetTransactionStateDataviewCommand";
13
- import { ControlItemsRefreshCommand } from "./ControlItemsRefreshCommand";
14
- import { RefreshEventCommand } from "./RefreshEventCommand";
15
- import { ArgumentsList } from "../../rt/ArgumentsList";
16
- import { DataViewOutputCommand } from "./DataViewOutputCommand";
17
- import { FetchDataControlValuesEventCommand } from "./FetchDataControlValuesEventCommand";
18
- import { WriteMessageToServerLogCommand } from "./WriteMessageToServerLogCommand";
19
- import { SubformRefreshEventCommand } from "./SubformRefreshEventCommand";
20
- import { BrowserEscEventCommand } from "./BrowserEscEventCommand";
21
- import { IndexChangeEventCommand } from "./IndexChangeEventCommand";
22
- import { ColumnSortEventCommand } from "./ColumnSortEventCommand";
23
- import { RefreshScreenEventCommand } from "./RefreshScreenEventCommand";
24
- import { SubformOpenEventCommand } from "./SubformOpenEventCommand";
25
- import { ComputeEventCommand } from "./ComputeEventCommand";
26
- import { NonReversibleExitEventCommand } from "./NonReversibleExitEventCommand";
27
- import { RecomputeCommand } from "./RecomputeCommand";
28
- import { TransactionCommand } from "./TransactionCommand";
29
- import { UnloadCommand } from "./UnloadCommand";
30
- import { ExecOperCommand } from "./ExecOperCommand";
31
- import { EvaluateCommand } from "./EvaluateCommand";
32
- import { GlobalParamsQueryCommand } from "./GlobalParamsQueryCommand";
33
- import { IniputForceWriteCommand } from "./IniputForceWriteCommand";
34
- import { ContextTerminationEventCommand } from "./ContextTerminationEventCommand";
35
- import { ContextTimeoutResetCommand } from "./ContextTimeoutResetCommand";
1
+ import { MgControlBase } from '@magic-xpa/gui';
2
+ import { StorageAttribute } from '@magic-xpa/utils';
3
+ import { EventCommand } from './EventCommand';
4
+ import { RollbackEventCommand, RollbackEventCommand_RollbackType } from './RollbackEventCommand';
5
+ import { DataviewCommand, DataViewCommandType } from './DataviewCommand';
6
+ import { Task } from '../../tasks/Task';
7
+ import { UserRange } from '../../tasks/TaskBase';
8
+ import { AddUserRangeDataviewCommand } from './AddUserRangeDataviewCommand';
9
+ import { Sort } from '../../tasks/sort/Sort';
10
+ import { AddUserSortDataViewCommand } from './AddUserSortDataViewCommand';
11
+ import { AddUserLocateDataViewCommand } from './AddUserLocateDataViewCommand';
12
+ import { SetTransactionStateDataviewCommand } from './SetTransactionStateDataviewCommand';
13
+ import { ControlItemsRefreshCommand } from './ControlItemsRefreshCommand';
14
+ import { RefreshEventCommand } from './RefreshEventCommand';
15
+ import { ArgumentsList } from '../../rt/ArgumentsList';
16
+ import { DataViewOutputCommand } from './DataViewOutputCommand';
17
+ import { FetchDataControlValuesEventCommand } from './FetchDataControlValuesEventCommand';
18
+ import { WriteMessageToServerLogCommand } from './WriteMessageToServerLogCommand';
19
+ import { SubformRefreshEventCommand } from './SubformRefreshEventCommand';
20
+ import { BrowserEscEventCommand } from './BrowserEscEventCommand';
21
+ import { IndexChangeEventCommand } from './IndexChangeEventCommand';
22
+ import { ColumnSortEventCommand } from './ColumnSortEventCommand';
23
+ import { RefreshScreenEventCommand } from './RefreshScreenEventCommand';
24
+ import { SubformOpenEventCommand } from './SubformOpenEventCommand';
25
+ import { ComputeEventCommand } from './ComputeEventCommand';
26
+ import { NonReversibleExitEventCommand } from './NonReversibleExitEventCommand';
27
+ import { RecomputeCommand } from './RecomputeCommand';
28
+ import { TransactionCommand } from './TransactionCommand';
29
+ import { UnloadCommand } from './UnloadCommand';
30
+ import { ExecOperCommand } from './ExecOperCommand';
31
+ import { EvaluateCommand } from './EvaluateCommand';
32
+ import { GlobalParamsQueryCommand } from './GlobalParamsQueryCommand';
33
+ import { IniputForceWriteCommand } from './IniputForceWriteCommand';
34
+ import { ContextTerminationEventCommand } from './ContextTerminationEventCommand';
35
+ import { ContextTimeoutResetCommand } from './ContextTimeoutResetCommand';
36
36
  export declare class CommandFactory {
37
37
  static CreateEventCommand(taskTag: string, magicEvent: number): EventCommand;
38
38
  static CreateRollbackEventCommand(taskTag: string, rollbackType: RollbackEventCommand_RollbackType): RollbackEventCommand;
@@ -1,5 +1,5 @@
1
- import { EventCommand } from "./EventCommand";
2
- import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
1
+ import { EventCommand } from './EventCommand';
2
+ import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
3
3
  export declare class ContextTimeoutResetCommand extends EventCommand implements IClientToServerCommandInfo {
4
4
  constructor();
5
5
  SerializeCommandData(): string;
@@ -9,7 +9,6 @@ export declare class VerifyCommand extends ClientTargetedCommandBase {
9
9
  private _text;
10
10
  private _display;
11
11
  private _mode;
12
- private _sendAck;
13
12
  constructor();
14
13
  Execute(res: IResultValue): Promise<void>;
15
14
  PrepareMessageBoxForDisplay(task: Task, mlsTransTitle: RefParam<string>, style: RefParam<number>): void;
@@ -1,19 +1,15 @@
1
- import { Task } from "../tasks/Task";
2
- import { DataView } from "./DataView";
1
+ import { Task } from '../tasks/Task';
2
+ import { DataView } from './DataView';
3
3
  export declare class DvCache {
4
4
  private _cacheTable;
5
5
  private _deletedList;
6
6
  private _task;
7
- private _cacheSize;
8
- private _recordsBeforeCurrentView;
9
- private _totalRecordsCount;
10
7
  constructor(tsk: Task);
11
8
  putInCache(repOfOriginal: DataView): boolean;
12
9
  removeDvFromCache(DvPosValue: number, updateDel: boolean): boolean;
13
10
  getDeletedListToXML(): string;
14
11
  clearDeletedList(): void;
15
12
  getCachedDataView(DvPosValue: number): DataView;
16
- private getLastUsedDv;
17
13
  clearCache(): void;
18
14
  isDeleted(dvPosVal: number): boolean;
19
15
  }
@@ -8,7 +8,6 @@ export declare class Environment implements IEnvironment {
8
8
  private _contextInactivityWarningTime;
9
9
  private _toolitipTimeout;
10
10
  private _contextUnloadTimeout;
11
- private _accessTest;
12
11
  private _canReplaceDecimalSeparator;
13
12
  private _codePage;
14
13
  private _dateSeparator;
@@ -46,7 +45,6 @@ export declare class Environment implements IEnvironment {
46
45
  private _webclientReinitSession;
47
46
  private _specialValNewPolicy;
48
47
  static Instance: Environment;
49
- private constructor();
50
48
  get Language(): string;
51
49
  SpecialOldZorder: boolean;
52
50
  get SpecialNumpadPlusChar(): boolean;
@@ -20,7 +20,6 @@ export declare class Event {
20
20
  private _userDefinedFuncNameHashCode;
21
21
  private _userEvtDesc;
22
22
  _userEvtIdx: number;
23
- private ownerTaskDefinitionId;
24
23
  InternalEvent: number;
25
24
  PublicName: string;
26
25
  UserEvt: Event;
@@ -128,7 +128,6 @@ export declare class EventsManager implements IEventsManager {
128
128
  private onActSelection;
129
129
  private onSubformClose;
130
130
  performSubformClose(subformCtrl: MgControl): Promise<void>;
131
- private moveToLine;
132
131
  private createEventArguments;
133
132
  DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
134
133
  DoTaskLevelRecordPrefix(task: TaskBase): Promise<void>;
@@ -19,8 +19,6 @@ export declare abstract class HttpClientBase {
19
19
  private ExecuteHttpRequest;
20
20
  private LogRequestInfo;
21
21
  private static HeadersToString;
22
- private static GetHTTPExpect100Continue;
23
- private static GetUseHighestSecurityProtocol;
24
22
  abstract prepareRequest(): any;
25
23
  abstract addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
26
24
  sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
@@ -8,10 +8,6 @@ export declare class RemoteCommandsProcessor extends CommandsProcessorBase {
8
8
  static IsSessionReInitializing: boolean;
9
9
  private static lastExceptionMessage;
10
10
  private static InitialUrl;
11
- private static requestNumber;
12
- private static totalTimeForHTTPRequests;
13
- private static totalRequestDataLength;
14
- private static totalResponseDataLength;
15
11
  private static readonly WEB_COMMUNICATION_PROTOCOL_VERSION;
16
12
  private _lastRequestTime;
17
13
  ServerUrl: string;
@@ -1,10 +1,8 @@
1
1
  import { XmlParser } from "@magic-xpa/utils";
2
2
  import { DataviewHeaderBase } from "./DataviewHeaderBase";
3
- import { Task } from "../tasks/Task";
4
3
  export declare class DataviewHeaders {
5
4
  private _dataviewHeaders;
6
- private _task;
7
- constructor(task: Task);
5
+ constructor();
8
6
  fillData(parser: XmlParser): void;
9
7
  private initInnerObjects;
10
8
  getDataviewHeaderById(linkId: number): DataviewHeaderBase;
@@ -24,18 +24,14 @@ export declare class Operation {
24
24
  private _execOnClient;
25
25
  private _exp;
26
26
  private _field;
27
- private _globalParamsShouldBeCopied;
28
27
  private _image;
29
28
  private _incremental;
30
- private _methodNameSnippet;
31
29
  private _mode;
32
- private _prgDescription;
33
30
  private _publicName;
34
31
  private _returnVal;
35
32
  private _rtEvt;
36
33
  private _serverId;
37
34
  private calledTaskDefinitionId;
38
- private _show;
39
35
  private _subformCtrlName;
40
36
  private _subtype;
41
37
  private _task;