@magic-xpa/engine 4.801.0-dev481.306 → 4.801.0-dev481.307
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/ClientManager.mjs +1 -2
- package/esm2020/src/CommandsTable.mjs +12 -13
- package/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +1 -1
- package/esm2020/src/commands/ServerToClient/OpenURLCommand.mjs +1 -2
- package/esm2020/src/commands/ServerToClient/ResetLocateCommand.mjs +5 -5
- package/esm2020/src/commands/ServerToClient/VerifyCommand.mjs +1 -1
- package/esm2020/src/data/DataSourceIdKey.mjs +1 -9
- package/esm2020/src/data/DataView.mjs +52 -54
- package/esm2020/src/event/ActionManager.mjs +2 -5
- package/esm2020/src/event/Event.mjs +249 -353
- package/esm2020/src/event/EventHandler.mjs +1 -2
- package/esm2020/src/event/EventHandlerPosition.mjs +1 -2
- package/esm2020/src/event/EventsManager.mjs +20 -28
- package/esm2020/src/exp/ExpressionEvaluator.mjs +1 -6
- package/esm2020/src/rt/DataviewHeaders.mjs +1 -3
- package/esm2020/src/rt/DataviewHeadersSaxHandler.mjs +1 -2
- package/esm2020/src/tasks/Task.mjs +2 -13
- package/esm2020/src/util/FlowMonitorQueue.mjs +1 -12
- package/fesm2015/magic-xpa-engine.mjs +356 -515
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +356 -515
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +4 -4
- package/src/CommandsTable.d.ts +5 -5
- package/src/commands/ServerToClient/ResetLocateCommand.d.ts +2 -2
- package/src/data/DataSourceIdKey.d.ts +0 -5
- package/src/data/DataView.d.ts +0 -1
- package/src/event/ActionManager.d.ts +1 -3
- package/src/event/Event.d.ts +5 -21
- package/src/event/EventsManager.d.ts +1 -4
- package/src/util/FlowMonitorQueue.d.ts +0 -11
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@magic-xpa/engine",
|
|
3
|
-
"version": "4.801.0-dev481.
|
|
3
|
+
"version": "4.801.0-dev481.307",
|
|
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.
|
|
8
|
-
"@magic-xpa/utils": "4.801.0-dev481.
|
|
9
|
-
"@magic-xpa/gui": "4.801.0-dev481.
|
|
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",
|
|
10
10
|
"@angular/http": "^7.1.0",
|
|
11
11
|
"tslib": "^2.3.0"
|
|
12
12
|
},
|
package/src/CommandsTable.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { XmlParser } from
|
|
2
|
-
import { IResultValue } from
|
|
3
|
-
import { IClientCommand } from
|
|
4
|
-
import { StringBuilder } from
|
|
5
|
-
import { ICommandsTable } from
|
|
1
|
+
import { XmlParser } from '@magic-xpa/utils';
|
|
2
|
+
import { IResultValue } from './rt/IResultValue';
|
|
3
|
+
import { IClientCommand } from './commands/IClientCommand';
|
|
4
|
+
import { StringBuilder } from '@magic-xpa/mscorelib';
|
|
5
|
+
import { ICommandsTable } from './ICommandsTable';
|
|
6
6
|
export declare class CommandsTable implements ICommandsTable {
|
|
7
7
|
private _cmds;
|
|
8
8
|
private _iterationIdx;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ClientTargetedCommandBase } from
|
|
2
|
-
import { IResultValue } from
|
|
1
|
+
import { ClientTargetedCommandBase } from './ClientTargetedCommandBase';
|
|
2
|
+
import { IResultValue } from '../../rt/IResultValue';
|
|
3
3
|
export declare class ResetLocateCommand extends ClientTargetedCommandBase {
|
|
4
4
|
constructor();
|
|
5
5
|
Execute(res: IResultValue): Promise<void>;
|
package/src/data/DataView.d.ts
CHANGED
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
import { IActionManager } from '@magic-xpa/gui';
|
|
2
|
-
import { Task } from '../tasks/Task';
|
|
3
2
|
export declare class ActionManager implements IActionManager {
|
|
4
3
|
static actEnabled: number[];
|
|
5
4
|
private static actNavigation;
|
|
6
5
|
private _actCount;
|
|
7
6
|
private _actState;
|
|
8
|
-
private _parentTask;
|
|
9
7
|
private _numerator;
|
|
10
|
-
constructor(
|
|
8
|
+
constructor();
|
|
11
9
|
enable(act: number, enable: boolean): void;
|
|
12
10
|
isEnabled(act: number): boolean;
|
|
13
11
|
getActCount(act: number): number;
|
package/src/event/Event.d.ts
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
import { StringBuilder } from
|
|
2
|
-
import {
|
|
3
|
-
import { KeyboardItem } from
|
|
4
|
-
import { Expression } from
|
|
5
|
-
import {
|
|
6
|
-
import { TaskBase } from "../tasks/TaskBase";
|
|
1
|
+
import { StringBuilder } from '@magic-xpa/mscorelib';
|
|
2
|
+
import { ForceExit, XmlParser } from '@magic-xpa/utils';
|
|
3
|
+
import { KeyboardItem } from '@magic-xpa/gui';
|
|
4
|
+
import { Expression } from '../exp/Expression';
|
|
5
|
+
import { TaskBase } from '../tasks/TaskBase';
|
|
7
6
|
export declare class Event {
|
|
8
7
|
private static _lastTimestamp;
|
|
9
8
|
Exp: Expression;
|
|
10
9
|
_forceExit: ForceExit;
|
|
11
10
|
kbdItm: KeyboardItem;
|
|
12
|
-
private _osCommandShow;
|
|
13
|
-
private _osCommandText;
|
|
14
|
-
private _osCommandWait;
|
|
15
11
|
_paramAttrs: string;
|
|
16
12
|
_paramNulls: string;
|
|
17
13
|
_paramVals: string[];
|
|
@@ -26,7 +22,6 @@ export declare class Event {
|
|
|
26
22
|
_userEvtIdx: number;
|
|
27
23
|
private ownerTaskDefinitionId;
|
|
28
24
|
InternalEvent: number;
|
|
29
|
-
PrgDescription: string;
|
|
30
25
|
PublicName: string;
|
|
31
26
|
UserEvt: Event;
|
|
32
27
|
UserEvtTaskTag: string;
|
|
@@ -66,13 +61,8 @@ export declare class Event {
|
|
|
66
61
|
getUserEvent(): Event;
|
|
67
62
|
private getKeyboardItemString;
|
|
68
63
|
private seconds2String;
|
|
69
|
-
getParamVal(idx: number): string;
|
|
70
64
|
private parseParamVal;
|
|
71
|
-
setParamVals(paramVals_: string[]): void;
|
|
72
|
-
protected setParamType(paramNum: number, fld: Field): boolean;
|
|
73
65
|
getParamNum(): number;
|
|
74
|
-
getParamNull(idx: number): boolean;
|
|
75
|
-
getParamAttr(idx: number): string;
|
|
76
66
|
isControlHeader(): boolean;
|
|
77
67
|
isVariableHeader(): boolean;
|
|
78
68
|
AppendDescription(buffer: StringBuilder): void;
|
|
@@ -84,12 +74,6 @@ export declare class Event {
|
|
|
84
74
|
getUserDefinedFuncName(): string;
|
|
85
75
|
getUserDefinedFuncNameHashCode(): number;
|
|
86
76
|
getUserDefinedFuncRetExp(): number;
|
|
87
|
-
getOsCommandText(): string;
|
|
88
|
-
setOsCommandText(osCommandText: string): void;
|
|
89
|
-
getOsCommandWait(): boolean;
|
|
90
|
-
private setOsCommandWait;
|
|
91
|
-
getOsCommandShow(): CallOsShow;
|
|
92
|
-
private setOsCommandShow;
|
|
93
77
|
setTimestamp(): void;
|
|
94
78
|
getTimestamp(): number;
|
|
95
79
|
toString(): string;
|
|
@@ -15,10 +15,9 @@ import { Operation } from '../rt/Operation';
|
|
|
15
15
|
import { ExecutionStack } from '../rt/ExecutionStack';
|
|
16
16
|
import { ExecutionStackEntry } from '../rt/ExecutionStackEntry';
|
|
17
17
|
import { EventsAllowedType, IEventsManager } from './IEventsManager';
|
|
18
|
-
import { Subject } from
|
|
18
|
+
import { Subject } from 'rxjs';
|
|
19
19
|
import { ClearEventsOnStopExecution } from '../AccessHelper';
|
|
20
20
|
export declare class EventsManager implements IEventsManager {
|
|
21
|
-
private static Timer_Timeout_Infinite;
|
|
22
21
|
private static REAL_ONLY;
|
|
23
22
|
private static MAX_OPER;
|
|
24
23
|
private static userGrantedForContextActivity;
|
|
@@ -46,8 +45,6 @@ export declare class EventsManager implements IEventsManager {
|
|
|
46
45
|
private _stopExecution;
|
|
47
46
|
private _processingTopMostEndTask;
|
|
48
47
|
private _stopExecutionCtrl;
|
|
49
|
-
private _isSorting;
|
|
50
|
-
private _nextParkedCtrl;
|
|
51
48
|
guiPendingEvent: any;
|
|
52
49
|
readonly KBI_DOWN: KeyboardItem;
|
|
53
50
|
readonly KBI_UP: KeyboardItem;
|
|
@@ -8,7 +8,6 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
|
8
8
|
private static S_EVENT_STR2;
|
|
9
9
|
private static S_EVENT_PROPAGATED;
|
|
10
10
|
private static E_EVENT_STR;
|
|
11
|
-
private static TSK_CHNG_MODE;
|
|
12
11
|
private static S_RECPRF_STR;
|
|
13
12
|
private static E_RECPRF_STR;
|
|
14
13
|
private static S_RECSUF_STR;
|
|
@@ -29,17 +28,7 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
|
29
28
|
private static S_VARIABLE_STR;
|
|
30
29
|
private static E_VARIABLE_STR;
|
|
31
30
|
private static VARIABLE_REASON_STR;
|
|
32
|
-
private static INFORM_STR;
|
|
33
|
-
private static FLW_STEP_FWD;
|
|
34
|
-
private static FLW_FAST_FWD;
|
|
35
|
-
private static FLW_STEP_BWD;
|
|
36
|
-
private static FLW_FAST_BWD;
|
|
37
|
-
private static FLW_NOT_EXEC;
|
|
38
|
-
private static FLW_FORWARD;
|
|
39
|
-
private static FLW_BACKWARD;
|
|
40
31
|
private static FLW_PERFIX;
|
|
41
|
-
private static S_UPDATE_STR;
|
|
42
|
-
private static E_UPDATE_STR;
|
|
43
32
|
private static ACT_TASK;
|
|
44
33
|
private static ACT_TASK_FLW;
|
|
45
34
|
private static ACT_RECOMPUTE;
|