@magic-xpa/engine 4.1000.0-dev4100.99 → 4.1100.0-dev4110.1
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 +12 -12
- package/esm2020/src/ConstInterface.mjs +2 -1
- package/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/commands/ClientToServer/DataviewCommand.mjs +6 -6
- package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +4 -4
- package/esm2020/src/commands/ClientToServer/EventCommand.mjs +8 -8
- package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +4 -4
- package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +5 -5
- package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +7 -7
- package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +6 -6
- package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +8 -8
- package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +7 -7
- package/esm2020/src/data/DataView.mjs +34 -34
- package/esm2020/src/data/DataviewManager.mjs +7 -7
- package/esm2020/src/data/Record.mjs +10 -10
- package/esm2020/src/data/TaskTransactionManager.mjs +4 -4
- package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +5 -5
- package/esm2020/src/env/Environment.mjs +14 -7
- package/esm2020/src/event/Event.mjs +4 -1
- package/esm2020/src/event/EventHandler.mjs +8 -3
- package/esm2020/src/event/EventHandlerPosition.mjs +5 -1
- package/esm2020/src/event/EventsManager.mjs +10 -1
- package/esm2020/src/event/IEventsManager.mjs +1 -1
- package/esm2020/src/event/RunTimeEvent.mjs +16 -16
- package/esm2020/src/exp/ExpressionEvaluator.mjs +8 -4
- package/esm2020/src/gui/FormsTable.mjs +8 -8
- package/esm2020/src/gui/MgControl.mjs +10 -13
- package/esm2020/src/gui/MgForm.mjs +9 -23
- package/esm2020/src/http/HttpManager.mjs +8 -8
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +34 -23
- package/esm2020/src/rt/DataviewHeaderBase.mjs +16 -16
- package/esm2020/src/security/UserDetails.mjs +12 -12
- package/esm2020/src/tasks/MGData.mjs +4 -4
- package/esm2020/src/tasks/RCTimer.mjs +10 -10
- package/esm2020/src/tasks/Task.mjs +43 -42
- package/esm2020/src/util/FlowMonitorQueue.mjs +107 -2
- package/esm2020/src/util/PrmMap.mjs +5 -5
- package/esm2020/src/util/ReturnResult.mjs +7 -7
- package/fesm2015/magic-xpa-engine.mjs +461 -338
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +456 -326
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +6 -6
- package/src/ConstInterface.d.ts +1 -0
- package/src/env/Environment.d.ts +2 -0
- package/src/event/EventsManager.d.ts +3 -0
- package/src/event/IEventsManager.d.ts +2 -0
- package/src/exp/ExpressionEvaluator.d.ts +1 -1
- package/src/gui/MgControl.d.ts +0 -1
- package/src/gui/MgForm.d.ts +1 -3
- package/src/remote/RemoteCommandsProcessor.d.ts +1 -0
- package/src/util/FlowMonitorQueue.d.ts +8 -0
- package/magic-xpa-engine.d.ts +0 -2
package/package.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@magic-xpa/engine",
|
3
|
-
"version": "4.
|
3
|
+
"version": "4.1100.0-dev4110.1",
|
4
4
|
"description": "magic engine package",
|
5
5
|
"license": "SEE LICENSE IN EULA.pdf",
|
6
6
|
"dependencies": {
|
7
|
-
"@magic-xpa/mscorelib": "4.
|
8
|
-
"@magic-xpa/utils": "4.
|
9
|
-
"@magic-xpa/gui": "4.
|
7
|
+
"@magic-xpa/mscorelib": "4.1100.0-dev4110.1",
|
8
|
+
"@magic-xpa/utils": "4.1100.0-dev4110.1",
|
9
|
+
"@magic-xpa/gui": "4.1100.0-dev4110.1",
|
10
10
|
"@angular/http": "^7.1.0",
|
11
11
|
"tslib": "^2.3.0"
|
12
12
|
},
|
@@ -15,13 +15,13 @@
|
|
15
15
|
"esm2020": "esm2020/magic-xpa-engine.mjs",
|
16
16
|
"fesm2020": "fesm2020/magic-xpa-engine.mjs",
|
17
17
|
"fesm2015": "fesm2015/magic-xpa-engine.mjs",
|
18
|
-
"typings": "
|
18
|
+
"typings": "index.d.ts",
|
19
19
|
"exports": {
|
20
20
|
"./package.json": {
|
21
21
|
"default": "./package.json"
|
22
22
|
},
|
23
23
|
".": {
|
24
|
-
"types": "./
|
24
|
+
"types": "./index.d.ts",
|
25
25
|
"esm2020": "./esm2020/magic-xpa-engine.mjs",
|
26
26
|
"es2020": "./fesm2020/magic-xpa-engine.mjs",
|
27
27
|
"es2015": "./fesm2015/magic-xpa-engine.mjs",
|
package/src/ConstInterface.d.ts
CHANGED
@@ -231,6 +231,7 @@ export declare class ConstInterface {
|
|
231
231
|
static MG_ATTR_LOCAL_EXTRA_GENGO: string;
|
232
232
|
static MG_ATTR_LOCAL_FLAGS: string;
|
233
233
|
static MG_ATTR_SPEACIAL_ANSI_EXP: string;
|
234
|
+
static MG_ATTR_SPECIAL_IMMEDIATE_HANDLER_END: string;
|
234
235
|
static MG_ATTR_SPECIAL_SHOW_STATUSBAR_PANES: string;
|
235
236
|
static MG_ATTR_SPECIAL_ROUTE_TO_ROOT_PROG_ON_CONTEXT_RECREATION: string;
|
236
237
|
static MG_ATTR_SPECIAL_SPECIAL_EDIT_LEFT_ALIGN: string;
|
package/src/env/Environment.d.ts
CHANGED
@@ -25,6 +25,7 @@ export declare class Environment implements IEnvironment {
|
|
25
25
|
private _debugMode;
|
26
26
|
private _significantNumSize;
|
27
27
|
private _specialAnsiExpression;
|
28
|
+
private _specialImmediatehandlerEnd;
|
28
29
|
private _specialShowStatusBarPanes;
|
29
30
|
private _specialRouteToRootProgOnContextRecreation;
|
30
31
|
private _specialCancelOnCreate;
|
@@ -77,6 +78,7 @@ export declare class Environment implements IEnvironment {
|
|
77
78
|
GetLocalAs400Set(): boolean;
|
78
79
|
getLocalExtraGengo(): string;
|
79
80
|
GetLocalFlag(f: string): boolean;
|
81
|
+
getSpecialImmediateHandlerEnd(): boolean;
|
80
82
|
getSpecialAnsiExpression(): boolean;
|
81
83
|
getSpecialShowStatusBarPanes(): boolean;
|
82
84
|
getTerminal(): number;
|
@@ -53,6 +53,7 @@ export declare class EventsManager implements IEventsManager {
|
|
53
53
|
static Instance: EventsManager;
|
54
54
|
private _lastFailedFocusedControl;
|
55
55
|
private isSpinnerShown;
|
56
|
+
private isInViewRefresh;
|
56
57
|
SpinnerStopped: Subject<number>;
|
57
58
|
static clientBusyTimeStart: number;
|
58
59
|
private constructor();
|
@@ -198,4 +199,6 @@ export declare class EventsManager implements IEventsManager {
|
|
198
199
|
ProcessAbortingError(ex: ApplicationException): Promise<void>;
|
199
200
|
processHTMLContent(htmlContent: string): void;
|
200
201
|
ShowErrorInMessageBox(ex: ApplicationException): boolean;
|
202
|
+
getIsInViewRefresh(): boolean;
|
203
|
+
setIsInViewRefresh(inViewRefresh: boolean): void;
|
201
204
|
}
|
@@ -72,4 +72,6 @@ export interface IEventsManager extends IGuiEventsManager {
|
|
72
72
|
checkAndSaveRouteEventIfCtxRemovedFromSrvr(rtEvent: any): void;
|
73
73
|
CheckAndShowSpinner(show: boolean): Promise<void>;
|
74
74
|
SpinnerStopped: Subject<number>;
|
75
|
+
getIsInViewRefresh(): boolean;
|
76
|
+
setIsInViewRefresh(inViewRefresh: boolean): void;
|
75
77
|
}
|
@@ -164,7 +164,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
164
164
|
eval_op_set_title(resVal: ExpVal, title: ExpVal): void;
|
165
165
|
eval_op_is_row_editing(resVal: ExpVal, val1: ExpVal): void;
|
166
166
|
eval_op_control_select_program(expVal: ExpVal, resVal: ExpVal): Promise<void>;
|
167
|
-
eval_op_CallJS(task: ITask, methodName: string, expVal: ExpVal[], resVal: ExpVal): void
|
167
|
+
eval_op_CallJS(task: ITask, methodName: string, expVal: ExpVal[], resVal: ExpVal): Promise<void>;
|
168
168
|
eval_op_set_cookie(cookieName: string, expVal: ExpVal[], resVal: ExpVal): any;
|
169
169
|
eval_op_get_cookie(cookieName: string, resVal: ExpVal): void;
|
170
170
|
eval_op_delete_cookie(cookieName: string, resVal: ExpVal): void;
|
package/src/gui/MgControl.d.ts
CHANGED
@@ -50,7 +50,6 @@ export declare class MgControl extends MgControlBase implements PropParentInterf
|
|
50
50
|
GetTableBehaviour(): TableBehaviour;
|
51
51
|
validateAndSetValue(NewValue: any, updateCtrl: boolean): Promise<boolean>;
|
52
52
|
private setValue;
|
53
|
-
refreshAndSetItemsListForRadioButton(line: number, execComputeChoice: boolean): Promise<void>;
|
54
53
|
getSubformTask(): TaskBase;
|
55
54
|
resetSubformTask(): void;
|
56
55
|
GetSubformMgForm(): MgFormBase;
|
package/src/gui/MgForm.d.ts
CHANGED
@@ -23,9 +23,7 @@ export declare class MgForm extends MgFormBase {
|
|
23
23
|
get shouldFetchRecordsAheadFromServer(): boolean;
|
24
24
|
FetchRecordsAheadFromServer(): Promise<void>;
|
25
25
|
private GetDataview;
|
26
|
-
moveInView(unit: string, direction: string
|
27
|
-
private moveInView_0;
|
28
|
-
private moveInView_1;
|
26
|
+
moveInView(unit: string, direction: string): Promise<void>;
|
29
27
|
addRec(doSuffix: boolean, isCrelineAbove: boolean): Promise<void>;
|
30
28
|
delCurrRec(): Promise<void>;
|
31
29
|
cancelEdit(isActCancel: boolean, isQuitEvent: boolean): Promise<void>;
|
@@ -32,6 +32,7 @@ export declare class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
32
32
|
private BuildXMLForMainProgramDataView;
|
33
33
|
Execute_1(sendingInstruction: CommandsProcessorBase_SendingInstruction, sessionStage: CommandsProcessorBase_SessionStage, res: IResultValue): Promise<void>;
|
34
34
|
private DispatchRequest;
|
35
|
+
clearLocalStorage(): void;
|
35
36
|
private HandleErrorResponse;
|
36
37
|
private ExecuteRequest;
|
37
38
|
GetContent(requestedURL: string, useCache: boolean, requestContent?: string): Promise<string>;
|
@@ -2,8 +2,10 @@ import { IFlowMonitorQueue } from '@magic-xpa/gui';
|
|
2
2
|
import { StringBuilder } from '@magic-xpa/mscorelib';
|
3
3
|
import { XmlParser } from '@magic-xpa/utils';
|
4
4
|
import { Operation } from '../rt/Operation';
|
5
|
+
import { Task } from '../tasks/Task';
|
5
6
|
export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
6
7
|
private static _instance;
|
8
|
+
private static UNPRINTABLE_STR_LOG;
|
7
9
|
private static S_EVENT_STR1;
|
8
10
|
private static S_EVENT_STR2;
|
9
11
|
private static S_EVENT_PROPAGATED;
|
@@ -40,6 +42,7 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
40
42
|
private _isRecompute;
|
41
43
|
private _isTask;
|
42
44
|
private _isTaskFlow;
|
45
|
+
private _isDataView;
|
43
46
|
ShouldSerialize: boolean;
|
44
47
|
static get Instance(): FlowMonitorQueue;
|
45
48
|
addTaskCngMode(newTaskMode: string, taskInfo: string): void;
|
@@ -49,6 +52,11 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
49
52
|
isEmpty(): boolean;
|
50
53
|
enable(value: boolean): boolean;
|
51
54
|
addTaskEvent(triggeredBy: string, state: number, taskInfo: string): void;
|
55
|
+
private appendVirtualsAndParameters;
|
56
|
+
addDataViewFlow(task: Task): void;
|
57
|
+
private getFieldData;
|
58
|
+
private PrepareDisplayString;
|
59
|
+
private padRight;
|
52
60
|
addTaskFlowRec(id: number, state: number, taskInfo: string): void;
|
53
61
|
addTaskFlowFld(id: number, fldName: string, state: number, taskInfo: string): void;
|
54
62
|
addTaskFlowCtrl(id: number, ctrlName: string, state: number, taskInfo: string): void;
|
package/magic-xpa-engine.d.ts
DELETED