@magic-xpa/engine 4.801.0-dev481.232 → 4.801.0-dev481.236
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 +153 -167
- package/bundles/magic-xpa-engine.umd.js.map +1 -1
- package/bundles/magic-xpa-engine.umd.min.js +1 -1
- package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
- package/esm2015/src/ClientManager.js +2 -2
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/GUIManager.js +2 -2
- package/esm2015/src/GuiEventsProcessor.js +5 -5
- package/esm2015/src/commands/ClientToServer/BrowserEscEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ClientOriginatedCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ClientOriginatedCommandSerializer.js +3 -3
- package/esm2015/src/commands/ClientToServer/ColumnSortEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ComputeEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ContextTerminationEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ContextTimeoutResetCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/DataviewCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/EvaluateCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/EventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/ExecOperCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/FetchDataControlValuesEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/IndexChangeEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/IniputForceWriteCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/NonReversibleExitEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/QueryCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/RecomputeCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/RefreshEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/RefreshScreenEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/RollbackEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/SubformOpenEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/SubformRefreshEventCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/TransactionCommand.js +2 -2
- package/esm2015/src/commands/ClientToServer/WriteMessageToServerLogCommand.js +2 -2
- package/esm2015/src/data/DataView.js +2 -2
- package/esm2015/src/data/Field.js +2 -2
- package/esm2015/src/data/Record.js +4 -4
- package/esm2015/src/data/RecordsTable.js +2 -2
- package/esm2015/src/data/TaskTransactionManager.js +2 -2
- package/esm2015/src/data/XMLBasedDcValuesBuilder.js +3 -3
- package/esm2015/src/env/Environment.js +1 -7
- package/esm2015/src/event/Event.js +6 -14
- package/esm2015/src/event/EventsManager.js +32 -32
- package/esm2015/src/event/IEventsManager.js +1 -1
- package/esm2015/src/event/RunTimeEvent.js +7 -7
- package/esm2015/src/exp/ExpressionEvaluator.js +21 -21
- package/esm2015/src/exp/ExpressionLocalJpn.js +3 -3
- package/esm2015/src/gui/MgControl.js +1 -1
- package/esm2015/src/gui/MgForm.js +9 -9
- package/esm2015/src/http/client/HttpClientAsync.js +4 -4
- package/esm2015/src/http/client/HttpClientBase.js +4 -4
- package/esm2015/src/http/client/HttpClientSync.js +3 -3
- package/esm2015/src/remote/RemoteCommandsProcessor.js +7 -8
- package/esm2015/src/rt/Boundary.js +4 -4
- package/esm2015/src/rt/DataviewHeaderBase.js +1 -1
- package/esm2015/src/rt/DataviewHeaderFactory.js +2 -2
- package/esm2015/src/rt/DataviewHeadersSaxHandler.js +2 -2
- package/esm2015/src/rt/Operation.js +5 -5
- package/esm2015/src/rt/RemoteDataviewHeader.js +6 -6
- package/esm2015/src/rt/Transaction.js +2 -2
- package/esm2015/src/tasks/MGDataCollection.js +3 -3
- package/esm2015/src/tasks/RemoteTaskService.js +3 -3
- package/esm2015/src/tasks/Task.js +9 -9
- package/esm2015/src/tasks/TaskServiceBase.js +1 -1
- package/esm2015/src/tasks/sort/SortCollection.js +4 -4
- package/esm2015/src/util/FlowMonitorQueue.js +2 -2
- package/esm2015/src/util/Process.js +2 -2
- package/esm2015/src/util/ReturnResult.js +3 -3
- package/fesm2015/magic-xpa-engine.js +153 -167
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
- package/src/GuiEventsProcessor.d.ts +1 -1
- package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ComputeEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +1 -2
- package/src/commands/ClientToServer/DataviewCommand.d.ts +1 -2
- package/src/commands/ClientToServer/EvaluateCommand.d.ts +1 -2
- package/src/commands/ClientToServer/EventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/ExecOperCommand.d.ts +1 -2
- package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +1 -2
- package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/QueryCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RecomputeCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RefreshEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/RollbackEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +1 -2
- package/src/commands/ClientToServer/TransactionCommand.d.ts +1 -2
- package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +1 -2
- package/src/data/RecordsTable.d.ts +1 -2
- package/src/data/XMLBasedDcValuesBuilder.d.ts +1 -1
- package/src/env/Environment.d.ts +0 -3
- package/src/event/Event.d.ts +0 -3
- package/src/event/EventsManager.d.ts +7 -8
- package/src/event/IEventsManager.d.ts +5 -6
- package/src/exp/ExpressionEvaluator.d.ts +2 -2
- package/src/exp/ExpressionLocalJpn.d.ts +2 -2
- package/src/gui/MgForm.d.ts +4 -4
- package/src/http/client/HttpClientAsync.d.ts +2 -2
- package/src/http/client/HttpClientBase.d.ts +2 -2
- package/src/http/client/HttpClientSync.d.ts +2 -2
- package/src/remote/RemoteCommandsProcessor.d.ts +1 -1
- package/src/rt/DataviewHeaderBase.d.ts +1 -1
- package/src/rt/DataviewHeaderFactory.d.ts +1 -1
- package/src/rt/Operation.d.ts +1 -1
- package/src/rt/RemoteDataviewHeader.d.ts +1 -2
- package/src/rt/Transaction.d.ts +1 -1
- package/src/tasks/RemoteTaskService.d.ts +2 -3
- package/src/tasks/Task.d.ts +1 -1
- package/src/tasks/TaskServiceBase.d.ts +2 -4
- package/src/tasks/sort/SortCollection.d.ts +2 -3
- package/src/util/FlowMonitorQueue.d.ts +1 -1
- package/src/util/Process.d.ts +1 -1
package/src/rt/Operation.d.ts
CHANGED
|
@@ -63,7 +63,7 @@ export declare class Operation {
|
|
|
63
63
|
static InitField(valueStr: string, task: Task): Field;
|
|
64
64
|
execute(returnedFromServer: boolean): Promise<boolean>;
|
|
65
65
|
private operCallParallel;
|
|
66
|
-
static callParallel(
|
|
66
|
+
static callParallel(): void;
|
|
67
67
|
private getCondVal;
|
|
68
68
|
getType(): number;
|
|
69
69
|
getRouteParams(): List<any>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { IRecord } from "@magic-xpa/gui";
|
|
2
1
|
import { DataviewHeaderBase } from "./DataviewHeaderBase";
|
|
3
2
|
import { Task } from "../tasks/Task";
|
|
4
3
|
import { Record } from "../data/Record";
|
|
@@ -11,5 +10,5 @@ export declare class RemoteDataviewHeader extends DataviewHeaderBase {
|
|
|
11
10
|
private copyLinkFldToRec;
|
|
12
11
|
private initRec;
|
|
13
12
|
getLastFetchedDbPos(): string;
|
|
14
|
-
SetReturnValue(
|
|
13
|
+
SetReturnValue(ret: boolean, recompute: boolean): Promise<void>;
|
|
15
14
|
}
|
package/src/rt/Transaction.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ export declare class Transaction {
|
|
|
7
7
|
Opened: boolean;
|
|
8
8
|
OwnerTask: Task;
|
|
9
9
|
LocalTransactionId: number;
|
|
10
|
-
constructor(task: TaskBase, setTransId: string
|
|
10
|
+
constructor(task: TaskBase, setTransId: string);
|
|
11
11
|
isOwner(task: Task): boolean;
|
|
12
12
|
close(): void;
|
|
13
13
|
open(): void;
|
|
@@ -2,16 +2,15 @@ import { TaskServiceBase } from './TaskServiceBase';
|
|
|
2
2
|
import { DataviewManagerBase } from '../data/DataviewManagerBase';
|
|
3
3
|
import { ReturnResult } from '../util/ReturnResult';
|
|
4
4
|
import { Task } from './Task';
|
|
5
|
-
import { Event } from '../event/Event';
|
|
6
5
|
export declare class RemoteTaskService extends TaskServiceBase {
|
|
7
6
|
constructor();
|
|
8
7
|
GetTaskTag(defaultValue: string): string;
|
|
9
8
|
GetDataviewManagerForVirtuals(task: Task): DataviewManagerBase;
|
|
10
9
|
PrepareTask(task: Task): ReturnResult;
|
|
11
|
-
GetEventTaskId(
|
|
10
|
+
GetEventTaskId(originalTaskId: string): string;
|
|
12
11
|
ShouldEvaluatePropertyLocally(propId: number): boolean;
|
|
13
12
|
InitTaskPrefixExecutedFlag(task: Task): void;
|
|
14
|
-
RemoveRecomputes(parentTask: Task
|
|
13
|
+
RemoveRecomputes(parentTask: Task): void;
|
|
15
14
|
GetOwnerTransactionTask(task: Task): Task;
|
|
16
15
|
static PreparePropMainDisplay(task: Task): ReturnResult;
|
|
17
16
|
}
|
package/src/tasks/Task.d.ts
CHANGED
|
@@ -132,7 +132,7 @@ export declare class Task extends TaskBase {
|
|
|
132
132
|
getExpById(id: number): Expression;
|
|
133
133
|
getExpObjectById(id: number): any;
|
|
134
134
|
GetExpressionStorage(expId: number): any;
|
|
135
|
-
CalculateExpression(expId: number, resType: StorageAttribute, length: number
|
|
135
|
+
CalculateExpression(expId: number, resType: StorageAttribute, length: number): Promise<string>;
|
|
136
136
|
insertRecordTable(invalidate: boolean, parser: XmlParser): Promise<void>;
|
|
137
137
|
getHandlersTab(): HandlersTable;
|
|
138
138
|
buildXML(message: StringBuilder): Promise<void>;
|
|
@@ -1,18 +1,16 @@
|
|
|
1
1
|
import { DataviewManagerBase } from "../data/DataviewManagerBase";
|
|
2
2
|
import { ReturnResult } from "../util/ReturnResult";
|
|
3
3
|
import { Task } from "./Task";
|
|
4
|
-
import { Event } from "../event/Event";
|
|
5
|
-
import { TaskBase } from "./TaskBase";
|
|
6
4
|
export declare abstract class TaskServiceBase {
|
|
7
5
|
abstract GetTaskTag(defaultValue: string): string;
|
|
8
6
|
static CreateFirstRecord(task: Task): void;
|
|
9
7
|
abstract GetDataviewManagerForVirtuals(task: Task): DataviewManagerBase;
|
|
10
8
|
PrepareTask(task: Task): ReturnResult;
|
|
11
9
|
static PreparePropOpenTaskWindow(task: Task): Promise<void>;
|
|
12
|
-
abstract GetEventTaskId(
|
|
10
|
+
abstract GetEventTaskId(originalTaskId: string): string;
|
|
13
11
|
abstract ShouldEvaluatePropertyLocally(propId: number): boolean;
|
|
14
12
|
abstract InitTaskPrefixExecutedFlag(task: Task): void;
|
|
15
13
|
static Exit(task: Task, reversibleExit: boolean, subformDestination: boolean): Promise<void>;
|
|
16
|
-
abstract RemoveRecomputes(parentTask: Task
|
|
14
|
+
abstract RemoveRecomputes(parentTask: Task): void;
|
|
17
15
|
GetOwnerTransactionTask(task: Task): Task;
|
|
18
16
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { Sort } from './Sort';
|
|
2
2
|
import { XmlParser } from '@magic-xpa/utils';
|
|
3
|
-
import { Task } from '../Task';
|
|
4
3
|
export declare class SortCollection {
|
|
5
4
|
private _sortTab;
|
|
6
5
|
constructor();
|
|
7
|
-
fillData(
|
|
8
|
-
initInnerObjects(parser: XmlParser, foundTagName: string
|
|
6
|
+
fillData(parser: XmlParser): void;
|
|
7
|
+
initInnerObjects(parser: XmlParser, foundTagName: string): boolean;
|
|
9
8
|
private InitElements;
|
|
10
9
|
getSort(idx: number): Sort;
|
|
11
10
|
getSize(): number;
|
|
@@ -53,7 +53,7 @@ export declare class FlowMonitorQueue implements IFlowMonitorQueue {
|
|
|
53
53
|
private _isTaskFlow;
|
|
54
54
|
ShouldSerialize: boolean;
|
|
55
55
|
static get Instance(): FlowMonitorQueue;
|
|
56
|
-
addTaskCngMode(
|
|
56
|
+
addTaskCngMode(newTaskMode: string, taskInfo: string): void;
|
|
57
57
|
fillData(parser: XmlParser): void;
|
|
58
58
|
private initElements;
|
|
59
59
|
buildXML(message: StringBuilder): void;
|
package/src/util/Process.d.ts
CHANGED