@magic-xpa/engine 4.801.0-dev481.231 → 4.801.0-dev481.235
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/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.235",
|
|
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.235",
|
|
8
|
+
"@magic-xpa/utils": "4.801.0-dev481.235",
|
|
9
|
+
"@magic-xpa/gui": "4.801.0-dev481.235",
|
|
10
10
|
"@angular/http": "^7.1.0",
|
|
11
11
|
"tslib": "^2.0.0"
|
|
12
12
|
},
|
|
@@ -13,7 +13,7 @@ export declare class GuiEventsProcessor extends EventsProcessor {
|
|
|
13
13
|
private static processEnableActs;
|
|
14
14
|
private static OnNonParkableLastParkedCtrl;
|
|
15
15
|
private static processSelection;
|
|
16
|
-
processKeyDown(guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string,
|
|
16
|
+
processKeyDown(guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, handled: boolean): boolean;
|
|
17
17
|
private static peekEndOfWork;
|
|
18
18
|
private static getMainProgram;
|
|
19
19
|
private static GetRuntimeContext;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { EventCommand } from './EventCommand';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class BrowserEscEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
CloseSubformOnly: boolean;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { IClientCommand } from "../IClientCommand";
|
|
2
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
3
2
|
export declare abstract class ClientOriginatedCommand implements IClientCommand {
|
|
4
3
|
abstract get CommandTypeAttribute(): string;
|
|
5
4
|
get ShouldSerialize(): boolean;
|
|
6
5
|
get ShouldSerializeRecords(): boolean;
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
SerializeDataAfterCommand(): string;
|
|
9
8
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { EventCommand } from './EventCommand';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class ColumnSortEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
FldId: number;
|
|
6
5
|
DitIdx: number;
|
|
7
6
|
Direction: number;
|
|
8
7
|
constructor();
|
|
9
|
-
SerializeCommandData(
|
|
8
|
+
SerializeCommandData(): string;
|
|
10
9
|
getCommandInfo(): string;
|
|
11
10
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { EventCommand } from "./EventCommand";
|
|
3
2
|
import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
|
|
4
3
|
export declare class ComputeEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
Subforms: boolean;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { EventCommand } from "./EventCommand";
|
|
3
2
|
import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
|
|
4
3
|
export declare class ContextTerminationEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
constructor();
|
|
6
|
-
SerializeCommandData(
|
|
5
|
+
SerializeCommandData(): string;
|
|
7
6
|
getCommandInfo(): string;
|
|
8
7
|
}
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { EventCommand } from "./EventCommand";
|
|
2
2
|
import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
|
|
3
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
4
3
|
export declare class ContextTimeoutResetCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
constructor();
|
|
6
|
-
SerializeCommandData(
|
|
5
|
+
SerializeCommandData(): string;
|
|
7
6
|
getCommandInfo(): string;
|
|
8
7
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { ClientOriginatedCommandTaskTag } from "../ClientOriginatedCommandTaskTag";
|
|
3
2
|
export declare enum DataViewCommandType {
|
|
4
3
|
Init = 0,
|
|
@@ -27,7 +26,7 @@ export declare class DataviewCommand extends ClientOriginatedCommandTaskTag {
|
|
|
27
26
|
CommandType: DataViewCommandType;
|
|
28
27
|
TaskTag: string;
|
|
29
28
|
get CommandTypeAttribute(): string;
|
|
30
|
-
SerializeCommandData(
|
|
29
|
+
SerializeCommandData(): string;
|
|
31
30
|
get ShouldSerialize(): boolean;
|
|
32
31
|
constructor();
|
|
33
32
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { StorageAttribute } from '@magic-xpa/utils';
|
|
3
2
|
import { Task } from '../../tasks/Task';
|
|
4
3
|
import { ClientOriginatedCommandTaskTag } from '../ClientOriginatedCommandTaskTag';
|
|
@@ -11,6 +10,6 @@ export declare class EvaluateCommand extends ClientOriginatedCommandTaskTag impl
|
|
|
11
10
|
MprgCreator: Task;
|
|
12
11
|
get CommandTypeAttribute(): string;
|
|
13
12
|
constructor();
|
|
14
|
-
SerializeCommandData(
|
|
13
|
+
SerializeCommandData(): string;
|
|
15
14
|
getCommandInfo(): string;
|
|
16
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { Task } from "../../tasks/Task";
|
|
3
2
|
import { ClientOriginatedCommandTaskTag } from "../ClientOriginatedCommandTaskTag";
|
|
4
3
|
import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
|
|
@@ -11,6 +10,6 @@ export declare class EventCommand extends ClientOriginatedCommandTaskTag impleme
|
|
|
11
10
|
get Task(): Task;
|
|
12
11
|
get ShouldSerialize(): boolean;
|
|
13
12
|
constructor(magicEvent: number);
|
|
14
|
-
SerializeCommandData(
|
|
13
|
+
SerializeCommandData(): string;
|
|
15
14
|
getCommandInfo(): string;
|
|
16
15
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { ExecutionStack } from "../../rt/ExecutionStack";
|
|
3
2
|
import { Operation } from "../../rt/Operation";
|
|
4
3
|
import { Task } from "../../tasks/Task";
|
|
@@ -16,7 +15,7 @@ export declare class ExecOperCommand extends ClientOriginatedCommandTaskTag impl
|
|
|
16
15
|
CheckOnly: boolean;
|
|
17
16
|
get CommandTypeAttribute(): string;
|
|
18
17
|
constructor();
|
|
19
|
-
SerializeCommandData(
|
|
18
|
+
SerializeCommandData(): string;
|
|
20
19
|
SetExecutionStack(execStack: ExecutionStack): void;
|
|
21
20
|
SerializeDataAfterCommand(): string;
|
|
22
21
|
getCommandInfo(): string;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { EventCommand } from './EventCommand';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class FetchDataControlValuesEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
ControlName: string;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { EventCommand } from './EventCommand';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class IndexChangeEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
KeyIndex: number;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { ClientOriginatedCommand } from "./ClientOriginatedCommand";
|
|
3
2
|
import { IClientToServerCommandInfo } from "../IClientToServerCommandInfo";
|
|
4
3
|
export declare class IniputForceWriteCommand extends ClientOriginatedCommand implements IClientToServerCommandInfo {
|
|
5
4
|
Text: string;
|
|
6
5
|
get CommandTypeAttribute(): string;
|
|
7
6
|
get ShouldSerializeRecords(): boolean;
|
|
8
|
-
SerializeCommandData(
|
|
7
|
+
SerializeCommandData(): string;
|
|
9
8
|
constructor();
|
|
10
9
|
getCommandInfo(): string;
|
|
11
10
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { EventCommand } from './EventCommand';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class NonReversibleExitEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
CloseSubformOnly: boolean;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
2
1
|
import { ClientOriginatedCommand } from "./ClientOriginatedCommand";
|
|
3
2
|
export declare abstract class QueryCommand extends ClientOriginatedCommand {
|
|
4
3
|
get CommandTypeAttribute(): string;
|
|
5
4
|
get ShouldSerializeRecords(): boolean;
|
|
6
|
-
SerializeCommandData(
|
|
5
|
+
SerializeCommandData(): string;
|
|
7
6
|
abstract SerializeQueryCommandData(): string;
|
|
8
7
|
constructor();
|
|
9
8
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { ClientOriginatedCommandTaskTag } from '../ClientOriginatedCommandTaskTag';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class RecomputeCommand extends ClientOriginatedCommandTaskTag implements IClientToServerCommandInfo {
|
|
@@ -6,7 +5,7 @@ export declare class RecomputeCommand extends ClientOriginatedCommandTaskTag imp
|
|
|
6
5
|
FldId: number;
|
|
7
6
|
IgnoreSubformRecompute: boolean;
|
|
8
7
|
get CommandTypeAttribute(): string;
|
|
9
|
-
SerializeCommandData(
|
|
8
|
+
SerializeCommandData(): string;
|
|
10
9
|
constructor();
|
|
11
10
|
getCommandInfo(): string;
|
|
12
11
|
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { ViewRefreshMode } from '@magic-xpa/utils';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { EventCommand } from './EventCommand';
|
|
4
3
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
5
4
|
export declare class RefreshEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
@@ -8,6 +7,6 @@ export declare class RefreshEventCommand extends EventCommand implements IClient
|
|
|
8
7
|
CurrentRecordRow: number;
|
|
9
8
|
IsInternalRefresh: boolean;
|
|
10
9
|
constructor(magicEvent: number);
|
|
11
|
-
SerializeCommandData(
|
|
10
|
+
SerializeCommandData(): string;
|
|
12
11
|
getCommandInfo(): string;
|
|
13
12
|
}
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { ViewRefreshMode } from '@magic-xpa/utils';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { EventCommand } from './EventCommand';
|
|
4
3
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
5
4
|
export declare class RefreshScreenEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
6
5
|
TopRecIdx: number;
|
|
7
6
|
RefreshMode: ViewRefreshMode;
|
|
8
7
|
constructor();
|
|
9
|
-
SerializeCommandData(
|
|
8
|
+
SerializeCommandData(): string;
|
|
10
9
|
getCommandInfo(): string;
|
|
11
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { EventCommand } from './EventCommand';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare enum RollbackEventCommand_RollbackType {
|
|
@@ -9,7 +8,7 @@ export declare enum RollbackEventCommand_RollbackType {
|
|
|
9
8
|
export declare class RollbackEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
10
9
|
Rollback: RollbackEventCommand_RollbackType;
|
|
11
10
|
constructor();
|
|
12
|
-
SerializeCommandData(
|
|
11
|
+
SerializeCommandData(): string;
|
|
13
12
|
private getRollbackTypeString;
|
|
14
13
|
getCommandInfo(): string;
|
|
15
14
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { EventCommand } from './EventCommand';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class SubformOpenEventCommand extends EventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
DitIdx: number;
|
|
6
5
|
constructor();
|
|
7
|
-
SerializeCommandData(
|
|
6
|
+
SerializeCommandData(): string;
|
|
8
7
|
getCommandInfo(): string;
|
|
9
8
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { RefreshEventCommand } from './RefreshEventCommand';
|
|
2
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class SubformRefreshEventCommand extends RefreshEventCommand implements IClientToServerCommandInfo {
|
|
5
4
|
SubformTaskTag: string;
|
|
6
5
|
ExplicitSubformRefresh: boolean;
|
|
7
6
|
constructor();
|
|
8
|
-
SerializeCommandData(
|
|
7
|
+
SerializeCommandData(): string;
|
|
9
8
|
getCommandInfo(): string;
|
|
10
9
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { ClientOriginatedCommandTaskTag } from '../ClientOriginatedCommandTaskTag';
|
|
3
2
|
import { IClientToServerCommandInfo } from '../IClientToServerCommandInfo';
|
|
4
3
|
export declare class TransactionCommand extends ClientOriginatedCommandTaskTag implements IClientToServerCommandInfo {
|
|
@@ -7,7 +6,7 @@ export declare class TransactionCommand extends ClientOriginatedCommandTaskTag i
|
|
|
7
6
|
ReversibleExit: boolean;
|
|
8
7
|
Level: string;
|
|
9
8
|
get CommandTypeAttribute(): string;
|
|
10
|
-
SerializeCommandData(
|
|
9
|
+
SerializeCommandData(): string;
|
|
11
10
|
constructor();
|
|
12
11
|
getCommandInfo(): string;
|
|
13
12
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
1
|
import { EventCommand } from './EventCommand';
|
|
3
2
|
export declare class WriteMessageToServerLogCommand extends EventCommand {
|
|
4
3
|
ErrorMessage: string;
|
|
5
4
|
constructor();
|
|
6
|
-
SerializeCommandData(
|
|
5
|
+
SerializeCommandData(): string;
|
|
7
6
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { IRecordsTable } from "./IRecordsTable";
|
|
2
2
|
import { Record } from "./Record";
|
|
3
3
|
import { DataView } from "./DataView";
|
|
4
|
-
import { FieldsTableExt as FieldsTable } from "./FieldsTable";
|
|
5
4
|
import { StringBuilder } from "@magic-xpa/mscorelib";
|
|
6
5
|
import { XmlParser } from "@magic-xpa/utils";
|
|
7
6
|
export declare class RecordsTable implements IRecordsTable {
|
|
@@ -16,7 +15,7 @@ export declare class RecordsTable implements IRecordsTable {
|
|
|
16
15
|
constructor(recordTable: RecordsTable);
|
|
17
16
|
fillData(dataview: DataView, insertAt: string, parser: XmlParser): string;
|
|
18
17
|
InsertRecord(insertAt: string, record: Record): void;
|
|
19
|
-
buildXML(
|
|
18
|
+
buildXML(message: StringBuilder, skipCurrRec: boolean, currRecId: number): void;
|
|
20
19
|
getRecord(id: number): Record;
|
|
21
20
|
getRecIdx(id: number): number;
|
|
22
21
|
getRecByIdx(idx: number): Record;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { DcValues, DcValuesBuilderBase } from "@magic-xpa/gui";
|
|
2
2
|
import { StorageAttribute } from "@magic-xpa/utils";
|
|
3
3
|
export declare class XMLBasedDcValuesBuilder extends DcValuesBuilderBase {
|
|
4
4
|
private dcv;
|
package/src/env/Environment.d.ts
CHANGED
|
@@ -49,12 +49,9 @@ export declare class Environment implements IEnvironment {
|
|
|
49
49
|
private constructor();
|
|
50
50
|
get Language(): string;
|
|
51
51
|
SpecialOldZorder: boolean;
|
|
52
|
-
set SpecialNumpadPlusChar(value: boolean);
|
|
53
52
|
get SpecialNumpadPlusChar(): boolean;
|
|
54
53
|
IgnoreReplaceDecimalSeparator: boolean;
|
|
55
|
-
set SpecialRestoreMaximizedForm(value: boolean);
|
|
56
54
|
get SpecialRestoreMaximizedForm(): boolean;
|
|
57
|
-
set SpecialIgnoreBGinModify(value: boolean);
|
|
58
55
|
get SpecialIgnoreBGinModify(): boolean;
|
|
59
56
|
set ForwardSlashUsage(value: string);
|
|
60
57
|
get ForwardSlashUsage(): string;
|
package/src/event/Event.d.ts
CHANGED
|
@@ -31,11 +31,8 @@ export declare class Event {
|
|
|
31
31
|
UserEvt: Event;
|
|
32
32
|
UserEvtTaskTag: string;
|
|
33
33
|
constructor();
|
|
34
|
-
constructor(evt: Event);
|
|
35
|
-
constructor(aType: string);
|
|
36
34
|
private constructor_0;
|
|
37
35
|
protected constructor_1(evt: Event): void;
|
|
38
|
-
private constructor_4;
|
|
39
36
|
get ForceExit(): ForceExit;
|
|
40
37
|
fillData(xmlParser: XmlParser, taskRef: TaskBase): void;
|
|
41
38
|
private InitInnerObjects;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { ForceExit, Priority } from '@magic-xpa/utils';
|
|
2
2
|
import { ApplicationException, List, RefParam } from '@magic-xpa/mscorelib';
|
|
3
|
-
import { ITask, KeyboardItem, MgControlBase, MgFormBase, Modifiers
|
|
3
|
+
import { ITask, KeyboardItem, MgControlBase, MgFormBase, Modifiers } from '@magic-xpa/gui';
|
|
4
4
|
import { EventSubType } from '../enums';
|
|
5
5
|
import { MgControl } from '../gui/MgControl';
|
|
6
6
|
import { CompMainPrgTable } from '../rt/CompMainPrgTable';
|
|
7
7
|
import { Field } from '../data/Field';
|
|
8
8
|
import { RunTimeEvent } from './RunTimeEvent';
|
|
9
|
-
import { MgForm } from '../gui/MgForm';
|
|
10
9
|
import { Task } from '../tasks/Task';
|
|
11
10
|
import { TaskBase } from '../tasks/TaskBase';
|
|
12
11
|
import { ArgumentsList } from '../rt/ArgumentsList';
|
|
@@ -78,8 +77,8 @@ export declare class EventsManager implements IEventsManager {
|
|
|
78
77
|
addInternalEventWithCtrlAndCode(ctrl: MgControlBase, code: number): void;
|
|
79
78
|
addInternalEventWithCtrlAndDisplayLineAndCode(ctrl: MgControlBase, DisplayLine: number, code: number): void;
|
|
80
79
|
addInternalEventWithCtrlAndCodeAndPriority(ctrl: MgControlBase, code: number, priority: Priority): void;
|
|
81
|
-
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number
|
|
82
|
-
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number
|
|
80
|
+
addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask: ITask, code: number): void;
|
|
81
|
+
addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number): void;
|
|
83
82
|
addGuiTriggeredEventWithTaskAndCodeAndLine(task: Task, code: number, line: number): void;
|
|
84
83
|
AddColumnClickEvent(columnCtrl: MgControlBase, direction: number, columnHeader: string): void;
|
|
85
84
|
AddRouteEvent(task: ITask, code: number, routerpath: string, routerOutletName: string, routeParams: List<any>): void;
|
|
@@ -90,7 +89,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
90
89
|
addGuiTriggeredEventWithCtrlAndLineAndCodeAndIsProductClick(ctrl: MgControlBase, code: number, line: number, isProduceClick: boolean): void;
|
|
91
90
|
addGuiTriggeredEventWithCtrlAndCodeAndList(ctrl: MgControlBase, code: number, list: List<MgControlBase>): void;
|
|
92
91
|
addGuiTriggeredEventWithTaskAndCode(task: ITask, code: number): void;
|
|
93
|
-
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number
|
|
92
|
+
addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number): void;
|
|
94
93
|
private getEvent;
|
|
95
94
|
getForceExit(): ForceExit;
|
|
96
95
|
private setForceExit;
|
|
@@ -134,7 +133,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
134
133
|
private moveToLine;
|
|
135
134
|
private createEventArguments;
|
|
136
135
|
DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
|
|
137
|
-
DoTaskLevelRecordPrefix(task: TaskBase
|
|
136
|
+
DoTaskLevelRecordPrefix(task: TaskBase): Promise<void>;
|
|
138
137
|
private commonHandler;
|
|
139
138
|
private HandleActEnterRowEditing;
|
|
140
139
|
private HandleStopRowEditing;
|
|
@@ -178,7 +177,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
178
177
|
setEventScopeTrans(): void;
|
|
179
178
|
clearEventScope(): void;
|
|
180
179
|
GetEventTime(): number;
|
|
181
|
-
getMatchingAction(
|
|
180
|
+
getMatchingAction(kbItm: KeyboardItem): number;
|
|
182
181
|
getExecStack(): ExecutionStack;
|
|
183
182
|
pushExecStack(taskId: string, handlerId: string, operIdx: number): void;
|
|
184
183
|
popExecStack(): ExecutionStackEntry;
|
|
@@ -191,7 +190,7 @@ export declare class EventsManager implements IEventsManager {
|
|
|
191
190
|
setProcessingTopMostEndTask(inProcessingTopMostEndTask: boolean): void;
|
|
192
191
|
getProcessingTopMostEndTask(): boolean;
|
|
193
192
|
setAllowEvents(AllowEvents: EventsAllowedType): void;
|
|
194
|
-
setNonInteractiveAllowEvents(AllowEvents: boolean
|
|
193
|
+
setNonInteractiveAllowEvents(AllowEvents: boolean): void;
|
|
195
194
|
getAllowEvents(): EventsAllowedType;
|
|
196
195
|
NoEventsAllowed(): boolean;
|
|
197
196
|
private handleCtrlModify;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { IGuiEventsManager, ITask, KeyboardItem,
|
|
1
|
+
import { ApplicationException, RefParam } from "@magic-xpa/mscorelib";
|
|
2
|
+
import { GuiTaskBase, IGuiEventsManager, ITask, KeyboardItem, MgControlBase } from "@magic-xpa/gui";
|
|
3
3
|
import { RunTimeEvent } from "./RunTimeEvent";
|
|
4
4
|
import { ExecutionStackEntry } from "../rt/ExecutionStackEntry";
|
|
5
5
|
import { ExecutionStack } from "../rt/ExecutionStack";
|
|
@@ -8,7 +8,6 @@ import { Field } from "../data/Field";
|
|
|
8
8
|
import { Task } from "../tasks/Task";
|
|
9
9
|
import { MgControl } from "../gui/MgControl";
|
|
10
10
|
import { EventSubType } from "../enums";
|
|
11
|
-
import { MgForm } from "../gui/MgForm";
|
|
12
11
|
import { HandlersTable } from "../rt/HandlersTable";
|
|
13
12
|
import { MGData } from "../tasks/MGData";
|
|
14
13
|
import { TaskBase } from "../tasks/TaskBase";
|
|
@@ -19,7 +18,7 @@ export declare enum EventsAllowedType {
|
|
|
19
18
|
ALL = 2
|
|
20
19
|
}
|
|
21
20
|
export interface IEventsManager extends IGuiEventsManager {
|
|
22
|
-
getMatchingAction(
|
|
21
|
+
getMatchingAction(kbItm: KeyboardItem): number;
|
|
23
22
|
ignoreUnknownAbort(): boolean;
|
|
24
23
|
getLastRtEvent(): RunTimeEvent;
|
|
25
24
|
getNextOperIdx(oper: any, clearWhenFound: boolean): number;
|
|
@@ -48,7 +47,7 @@ export interface IEventsManager extends IGuiEventsManager {
|
|
|
48
47
|
DoTaskLevelRecordSuffix(task: TaskBase, refDoSuffix: RefParam<boolean>): Promise<boolean>;
|
|
49
48
|
HandleNonParkableControls(itask: ITask): Promise<void>;
|
|
50
49
|
HandleParkabilityOnRowChange(itask: ITask): Promise<void>;
|
|
51
|
-
DoTaskLevelRecordPrefix(task: GuiTaskBase
|
|
50
|
+
DoTaskLevelRecordPrefix(task: GuiTaskBase): Promise<void>;
|
|
52
51
|
getProcessingTopMostEndTask(): boolean;
|
|
53
52
|
handleNonReversibleEvent(task: GuiTaskBase, eventCode: number): Promise<void>;
|
|
54
53
|
handleEvents(baseMgData: MGData, eventsToHandleCnt: number): Promise<void>;
|
|
@@ -66,7 +65,7 @@ export interface IEventsManager extends IGuiEventsManager {
|
|
|
66
65
|
ProcessAbortingError(ex: ApplicationException): Promise<void>;
|
|
67
66
|
getAllowEvents(): EventsAllowedType;
|
|
68
67
|
setAllowEvents(AllowEvents: EventsAllowedType): void;
|
|
69
|
-
setNonInteractiveAllowEvents(AllowEvents: boolean
|
|
68
|
+
setNonInteractiveAllowEvents(AllowEvents: boolean): void;
|
|
70
69
|
getPendingGuiEvent(): any;
|
|
71
70
|
setPendingGuiEvent(guiEvent: any): void;
|
|
72
71
|
checkAndSaveRouteEventIfCtxRemovedFromSrvr(rtEvent: any): void;
|
|
@@ -21,7 +21,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
|
21
21
|
private eval_op_ClientSessionSet;
|
|
22
22
|
private execExpression;
|
|
23
23
|
private DiscardCndRangeExpression;
|
|
24
|
-
static val_cmp_any(val1: ExpVal, val2: ExpVal
|
|
24
|
+
static val_cmp_any(val1: ExpVal, val2: ExpVal): number;
|
|
25
25
|
static eval(exp: Int8Array, expectedType: StorageAttribute, task: TaskBase): Promise<ExpVal>;
|
|
26
26
|
static DiscardCndRangeResult(exp: Int8Array, task: TaskBase): Promise<boolean>;
|
|
27
27
|
private static set_a_pic;
|
|
@@ -168,7 +168,7 @@ export declare class ExpressionEvaluator extends GuiExpressionEvaluator {
|
|
|
168
168
|
private eval_op_projectdir;
|
|
169
169
|
private static IsValidVector;
|
|
170
170
|
private static GetAttributeChar;
|
|
171
|
-
GetTopMostForms(
|
|
171
|
+
GetTopMostForms(): List<MgFormBase>;
|
|
172
172
|
HandleControlGoto(ctrlTask: ITask, ctrl: MgControlBase, rowNo: number): boolean;
|
|
173
173
|
eval_op_set_title(resVal: ExpVal, title: ExpVal): void;
|
|
174
174
|
eval_op_is_row_editing(resVal: ExpVal, val1: ExpVal): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ExpVal, NUM_TYPE
|
|
1
|
+
import { DisplayConvertor, ExpVal, NUM_TYPE } from "@magic-xpa/gui";
|
|
2
2
|
import { ExpressionEvaluator } from "./ExpressionEvaluator";
|
|
3
3
|
export declare class ExpressionLocalJpn {
|
|
4
4
|
static tableZen2Han: string[][];
|
|
@@ -8,7 +8,7 @@ export declare class ExpressionLocalJpn {
|
|
|
8
8
|
constructor(expressionEvaluator: ExpressionEvaluator);
|
|
9
9
|
eval_op_han(strVal: string): string;
|
|
10
10
|
eval_op_zens(strVal: string, mode: number): string;
|
|
11
|
-
eval_op_zimeread(
|
|
11
|
+
eval_op_zimeread(): string;
|
|
12
12
|
eval_op_zkana(strVal: string, mode: number): string;
|
|
13
13
|
eval_op_jcdow(resVal: ExpVal, val1: NUM_TYPE, displayConvertor: DisplayConvertor): void;
|
|
14
14
|
eval_op_jmonth(resVal: ExpVal, val1: ExpVal): void;
|
package/src/gui/MgForm.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MgControlBase, MgFormBase } from '@magic-xpa/gui';
|
|
2
2
|
import { MgControlType } from '@magic-xpa/utils';
|
|
3
3
|
import { MgControl } from './MgControl';
|
|
4
4
|
import { Record } from '../data/Record';
|
|
@@ -26,7 +26,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
26
26
|
moveInView(unit: string, direction: string, returnToCtrl?: boolean): Promise<void>;
|
|
27
27
|
private moveInView_0;
|
|
28
28
|
private moveInView_1;
|
|
29
|
-
addRec(doSuffix: boolean,
|
|
29
|
+
addRec(doSuffix: boolean, isCrelineAbove: boolean): Promise<void>;
|
|
30
30
|
delCurrRec(): Promise<void>;
|
|
31
31
|
cancelEdit(isActCancel: boolean, isQuitEvent: boolean): Promise<void>;
|
|
32
32
|
refreshOnExpressions(): Promise<void>;
|
|
@@ -41,7 +41,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
41
41
|
isRowValidated(idx: number): boolean;
|
|
42
42
|
transferDataToGui(): Promise<void>;
|
|
43
43
|
private checkAndCreateRowsEvent;
|
|
44
|
-
setRowData(desiredTopIndex: number, sendAll: boolean
|
|
44
|
+
setRowData(desiredTopIndex: number, sendAll: boolean): Promise<void>;
|
|
45
45
|
private refreshRows;
|
|
46
46
|
getVisibleLine(): number;
|
|
47
47
|
bringRecordToPage(): Promise<void>;
|
|
@@ -80,7 +80,7 @@ export declare class MgForm extends MgFormBase {
|
|
|
80
80
|
private InitTableControl_01;
|
|
81
81
|
SetTableTopIndex(): void;
|
|
82
82
|
createForm(): void;
|
|
83
|
-
UpdateStatusBar(
|
|
83
|
+
UpdateStatusBar(): void;
|
|
84
84
|
initInnerObjects(foundTagName: string): boolean;
|
|
85
85
|
toString(): string;
|
|
86
86
|
GetHiddenControlListXML(): string;
|
|
@@ -5,9 +5,9 @@ import { ICommunicationsFailureHandler } from "./ICommunicationsFailureHandler";
|
|
|
5
5
|
export declare class HttpClientAsync extends HttpClientBase {
|
|
6
6
|
private httpClient;
|
|
7
7
|
constructor(httpClient: HttpClient);
|
|
8
|
-
prepareRequest(
|
|
8
|
+
prepareRequest(): void;
|
|
9
9
|
addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
10
|
-
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string
|
|
10
|
+
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
11
11
|
logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
|
|
12
12
|
handleHttpErrorException(ex: any, urlString: string): void;
|
|
13
13
|
shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
|
|
@@ -21,9 +21,9 @@ export declare abstract class HttpClientBase {
|
|
|
21
21
|
private static HeadersToString;
|
|
22
22
|
private static GetHTTPExpect100Continue;
|
|
23
23
|
private static GetUseHighestSecurityProtocol;
|
|
24
|
-
abstract prepareRequest(
|
|
24
|
+
abstract prepareRequest(): any;
|
|
25
25
|
abstract addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
26
|
-
abstract sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string
|
|
26
|
+
abstract sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
27
27
|
abstract logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): any;
|
|
28
28
|
abstract handleHttpErrorException(ex: any, urlString: string): any;
|
|
29
29
|
abstract shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): any;
|
|
@@ -6,9 +6,9 @@ export declare class HttpClientSync extends HttpClientBase {
|
|
|
6
6
|
private httpRequest;
|
|
7
7
|
private headers;
|
|
8
8
|
constructor();
|
|
9
|
-
prepareRequest(
|
|
9
|
+
prepareRequest(): void;
|
|
10
10
|
addHeaders(urlString: string, useCache: boolean, httpHeaders: HttpHeaders, clientID: string): HttpHeaders;
|
|
11
|
-
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string
|
|
11
|
+
sendRequestToServer(httpMethod: RequestMethod, urlString: string, httpHeaders: HttpHeaders, requestContent: string, contentFromServer: RefParam<string>): Promise<any>;
|
|
12
12
|
logResponse(httpResponse: HttpResponse<string>, clientID: string, urlString: string, contentFromServer: RefParam<any>, timeBeforeRequest: number): void;
|
|
13
13
|
handleHttpErrorException(ex: any, urlString: string): void;
|
|
14
14
|
shouldRetry(httpCommunicationTimeoutMS: number, urlString: string, communicationsFailureHandler: ICommunicationsFailureHandler, ex: any, startTimeRef: RefParam<number>): Promise<boolean>;
|
|
@@ -39,7 +39,7 @@ export declare class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
|
39
39
|
private HandleErrorResponse;
|
|
40
40
|
private ExecuteRequest;
|
|
41
41
|
GetContent(requestedURL: string, useCache: boolean, requestContent?: string): Promise<string>;
|
|
42
|
-
ClientActivated(
|
|
42
|
+
ClientActivated(): void;
|
|
43
43
|
private BuildUrlSuffix;
|
|
44
44
|
SendMonitorOnly(): Promise<void>;
|
|
45
45
|
private BuildMonitorMessage;
|
|
@@ -28,7 +28,7 @@ export declare abstract class DataviewHeaderBase {
|
|
|
28
28
|
constructor(task: Task);
|
|
29
29
|
SetAttributes(attributes: Dictionary<string>): void;
|
|
30
30
|
protected setAttribute(attribute: string, valueStr: string): void;
|
|
31
|
-
abstract SetReturnValue(
|
|
31
|
+
abstract SetReturnValue(ret: boolean, recompute: boolean): void;
|
|
32
32
|
abstract getLinkedRecord(curRec: Record): Promise<boolean>;
|
|
33
33
|
InitLinkFields(currRec: IRecord): Promise<void>;
|
|
34
34
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DataviewHeaderBase } from "./DataviewHeaderBase";
|
|
2
2
|
import { Task } from "../tasks/Task";
|
|
3
3
|
export declare class DataviewHeaderFactory {
|
|
4
|
-
CreateDataviewHeaders(task: Task
|
|
4
|
+
CreateDataviewHeaders(task: Task): DataviewHeaderBase;
|
|
5
5
|
}
|