@magic-xpa/engine 4.800.0 → 4.800.1-dev000.0
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 +33 -13
- package/bundles/magic-xpa-engine.umd.js.map +1 -1
- package/bundles/magic-xpa-engine.umd.min.js +3 -2
- package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
- package/esm2015/src/AccessHelper.js +7 -1
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/data/DataView.js +3 -3
- package/esm2015/src/event/EventsManager.js +8 -7
- package/esm2015/src/event/IEventsManager.js +1 -1
- package/esm2015/src/rt/Operation.js +4 -4
- package/fesm2015/magic-xpa-engine.js +17 -11
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
- package/src/AccessHelper.d.ts +5 -0
- package/src/event/EventsManager.d.ts +2 -1
- package/src/event/IEventsManager.d.ts +2 -1
|
@@ -1,14 +1,20 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@magic-xpa/mscorelib'), require('@magic-xpa/utils'), require('@magic-xpa/gui'), require('util'), require('@angular/common/http'), require('rxjs')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@magic-xpa/engine', ['exports', '@magic-xpa/mscorelib', '@magic-xpa/utils', '@magic-xpa/gui', 'util', '@angular/common/http', 'rxjs'], factory) :
|
|
4
|
-
(global = global || self, factory((global[
|
|
5
|
-
}(this, (function (exports, mscorelib, utils, gui, util, http, rxjs) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["magic-xpa"] = global["magic-xpa"] || {}, global["magic-xpa"].engine = {}), global.mscorelib, global.utils, global.gui, global.util, global.ng.common.http, global.rxjs));
|
|
5
|
+
})(this, (function (exports, mscorelib, utils, gui, util, http, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var AccessHelper = /** @class */ (function () {
|
|
8
8
|
function AccessHelper() {
|
|
9
9
|
}
|
|
10
10
|
return AccessHelper;
|
|
11
|
-
}());
|
|
11
|
+
}());
|
|
12
|
+
exports.ClearEventsOnStopExecution = void 0;
|
|
13
|
+
(function (ClearEventsOnStopExecution) {
|
|
14
|
+
ClearEventsOnStopExecution["NONE"] = " ";
|
|
15
|
+
ClearEventsOnStopExecution["SERVER"] = "S";
|
|
16
|
+
ClearEventsOnStopExecution["ALL"] = "A";
|
|
17
|
+
})(exports.ClearEventsOnStopExecution || (exports.ClearEventsOnStopExecution = {}));
|
|
12
18
|
|
|
13
19
|
/*! *****************************************************************************
|
|
14
20
|
Copyright (c) Microsoft Corporation.
|
|
@@ -302,6 +308,7 @@
|
|
|
302
308
|
return value;
|
|
303
309
|
}
|
|
304
310
|
|
|
311
|
+
exports.EventSubType = void 0;
|
|
305
312
|
(function (EventSubType) {
|
|
306
313
|
EventSubType[EventSubType["Normal"] = 0] = "Normal";
|
|
307
314
|
EventSubType[EventSubType["CancelWithNoRollback"] = 1] = "CancelWithNoRollback";
|
|
@@ -309,6 +316,7 @@
|
|
|
309
316
|
EventSubType[EventSubType["RtRefreshViewUseCurrentRow"] = 3] = "RtRefreshViewUseCurrentRow";
|
|
310
317
|
EventSubType[EventSubType["ExitDueToError"] = 4] = "ExitDueToError";
|
|
311
318
|
})(exports.EventSubType || (exports.EventSubType = {}));
|
|
319
|
+
exports.ClientTargetedCommandType = void 0;
|
|
312
320
|
(function (ClientTargetedCommandType) {
|
|
313
321
|
ClientTargetedCommandType["Abort"] = "A";
|
|
314
322
|
ClientTargetedCommandType["OpenURL"] = "P";
|
|
@@ -1214,6 +1222,7 @@
|
|
|
1214
1222
|
return EventCommand;
|
|
1215
1223
|
}(ClientOriginatedCommandTaskTag));
|
|
1216
1224
|
|
|
1225
|
+
exports.RollbackEventCommand_RollbackType = void 0;
|
|
1217
1226
|
(function (RollbackEventCommand_RollbackType) {
|
|
1218
1227
|
RollbackEventCommand_RollbackType["NONE"] = " ";
|
|
1219
1228
|
RollbackEventCommand_RollbackType["CANCEL"] = "C";
|
|
@@ -1701,6 +1710,7 @@
|
|
|
1701
1710
|
return ArgumentsList;
|
|
1702
1711
|
}());
|
|
1703
1712
|
|
|
1713
|
+
exports.Task_SubformExecModeEnum = void 0;
|
|
1704
1714
|
(function (Task_SubformExecModeEnum) {
|
|
1705
1715
|
Task_SubformExecModeEnum[Task_SubformExecModeEnum["NO_SUBFORM"] = -1] = "NO_SUBFORM";
|
|
1706
1716
|
Task_SubformExecModeEnum[Task_SubformExecModeEnum["SET_FOCUS"] = 0] = "SET_FOCUS";
|
|
@@ -5318,11 +5328,13 @@
|
|
|
5318
5328
|
Scrambler.XML_MAX_RANDOM = 47;
|
|
5319
5329
|
Scrambler.XML_ILLEGAL_RANDOM = -21;
|
|
5320
5330
|
|
|
5331
|
+
exports.CommandsProcessorBase_SessionStage = void 0;
|
|
5321
5332
|
(function (CommandsProcessorBase_SessionStage) {
|
|
5322
5333
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["HANDSHAKE"] = 1] = "HANDSHAKE";
|
|
5323
5334
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["INITIAL"] = 2] = "INITIAL";
|
|
5324
5335
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["NORMAL"] = 3] = "NORMAL";
|
|
5325
5336
|
})(exports.CommandsProcessorBase_SessionStage || (exports.CommandsProcessorBase_SessionStage = {}));
|
|
5337
|
+
exports.CommandsProcessorBase_SendingInstruction = void 0;
|
|
5326
5338
|
(function (CommandsProcessorBase_SendingInstruction) {
|
|
5327
5339
|
CommandsProcessorBase_SendingInstruction[CommandsProcessorBase_SendingInstruction["NO_TASKS_OR_COMMANDS"] = 0] = "NO_TASKS_OR_COMMANDS";
|
|
5328
5340
|
CommandsProcessorBase_SendingInstruction[CommandsProcessorBase_SendingInstruction["ONLY_COMMANDS"] = 1] = "ONLY_COMMANDS";
|
|
@@ -5427,6 +5439,7 @@
|
|
|
5427
5439
|
|
|
5428
5440
|
var HTTP_EXPECT100CONTINUE = "Expect100Continue";
|
|
5429
5441
|
var USE_HIGHEST_SECURITY_PROTOCOL = "UseHighestSecurityProtocol";
|
|
5442
|
+
exports.RequestMethod = void 0;
|
|
5430
5443
|
(function (RequestMethod) {
|
|
5431
5444
|
RequestMethod[RequestMethod["Get"] = 0] = "Get";
|
|
5432
5445
|
RequestMethod[RequestMethod["Post"] = 1] = "Post";
|
|
@@ -8981,6 +8994,7 @@
|
|
|
8981
8994
|
new ExpDesc('U', 0, 0, 0, '', false),
|
|
8982
8995
|
];
|
|
8983
8996
|
|
|
8997
|
+
exports.DataViewCommandType = void 0;
|
|
8984
8998
|
(function (DataViewCommandType) {
|
|
8985
8999
|
DataViewCommandType[DataViewCommandType["Init"] = 0] = "Init";
|
|
8986
9000
|
DataViewCommandType[DataViewCommandType["Clear"] = 1] = "Clear";
|
|
@@ -10061,6 +10075,7 @@
|
|
|
10061
10075
|
return Sort;
|
|
10062
10076
|
}());
|
|
10063
10077
|
|
|
10078
|
+
exports.ParamParseResult = void 0;
|
|
10064
10079
|
(function (ParamParseResult) {
|
|
10065
10080
|
ParamParseResult[ParamParseResult["OK"] = 0] = "OK";
|
|
10066
10081
|
ParamParseResult[ParamParseResult["TOUPPER"] = 1] = "TOUPPER";
|
|
@@ -11446,7 +11461,7 @@
|
|
|
11446
11461
|
rtEvnt = AccessHelper.eventsManager.getLastRtEvent();
|
|
11447
11462
|
if (this._isRoute && rtEvnt !== null && rtEvnt.isGuiTriggeredEvent()) {
|
|
11448
11463
|
terminateTaskGracefully = false;
|
|
11449
|
-
AccessHelper.eventsManager.setStopExecution(true);
|
|
11464
|
+
AccessHelper.eventsManager.setStopExecution(true, exports.ClearEventsOnStopExecution.NONE);
|
|
11450
11465
|
}
|
|
11451
11466
|
return [4 /*yield*/, subformTask.endTask(true, false, !terminateTaskGracefully, true)];
|
|
11452
11467
|
case 33:
|
|
@@ -18726,6 +18741,7 @@
|
|
|
18726
18741
|
return DataviewHeaderBase;
|
|
18727
18742
|
}());
|
|
18728
18743
|
|
|
18744
|
+
exports.Recompute_RcmpBy = void 0;
|
|
18729
18745
|
(function (Recompute_RcmpBy) {
|
|
18730
18746
|
Recompute_RcmpBy["CLIENT"] = "C";
|
|
18731
18747
|
Recompute_RcmpBy["SERVER_ON_CHANGE"] = "O";
|
|
@@ -20307,6 +20323,7 @@
|
|
|
20307
20323
|
return FieldsTable;
|
|
20308
20324
|
}(gui.FieldsTable));
|
|
20309
20325
|
|
|
20326
|
+
exports.RecordOutOfDataViewException_ExceptionType = void 0;
|
|
20310
20327
|
(function (RecordOutOfDataViewException_ExceptionType) {
|
|
20311
20328
|
RecordOutOfDataViewException_ExceptionType[RecordOutOfDataViewException_ExceptionType["TOP"] = 0] = "TOP";
|
|
20312
20329
|
RecordOutOfDataViewException_ExceptionType[RecordOutOfDataViewException_ExceptionType["BOTTOM"] = 1] = "BOTTOM";
|
|
@@ -22234,7 +22251,7 @@
|
|
|
22234
22251
|
if (temporaryResetInCtrlPrefix)
|
|
22235
22252
|
this._task.InCtrlPrefix = true;
|
|
22236
22253
|
if (orgAction !== RECOVERY_ACT_NONE)
|
|
22237
|
-
AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE);
|
|
22254
|
+
AccessHelper.eventsManager.setStopExecution(true, orgAction !== RECOVERY_ACT_BEGIN_TABLE ? exports.ClearEventsOnStopExecution.ALL : exports.ClearEventsOnStopExecution.SERVER);
|
|
22238
22255
|
_b.label = 12;
|
|
22239
22256
|
case 12: return [2 /*return*/];
|
|
22240
22257
|
}
|
|
@@ -27502,17 +27519,20 @@
|
|
|
27502
27519
|
}());
|
|
27503
27520
|
GlobalCommandsManager.Instance = new GlobalCommandsManager();
|
|
27504
27521
|
|
|
27522
|
+
exports.EventsAllowedType = void 0;
|
|
27505
27523
|
(function (EventsAllowedType) {
|
|
27506
27524
|
EventsAllowedType[EventsAllowedType["NONE"] = 0] = "NONE";
|
|
27507
27525
|
EventsAllowedType[EventsAllowedType["NON_INTERACTIVE"] = 1] = "NON_INTERACTIVE";
|
|
27508
27526
|
EventsAllowedType[EventsAllowedType["ALL"] = 2] = "ALL";
|
|
27509
27527
|
})(exports.EventsAllowedType || (exports.EventsAllowedType = {}));
|
|
27510
27528
|
|
|
27529
|
+
exports.Task_Flow = void 0;
|
|
27511
27530
|
(function (Task_Flow) {
|
|
27512
27531
|
Task_Flow[Task_Flow["NONE"] = 0] = "NONE";
|
|
27513
27532
|
Task_Flow[Task_Flow["STEP"] = 1] = "STEP";
|
|
27514
27533
|
Task_Flow[Task_Flow["FAST"] = 2] = "FAST";
|
|
27515
27534
|
})(exports.Task_Flow || (exports.Task_Flow = {}));
|
|
27535
|
+
exports.Task_Direction = void 0;
|
|
27516
27536
|
(function (Task_Direction) {
|
|
27517
27537
|
Task_Direction[Task_Direction["BACK"] = -1] = "BACK";
|
|
27518
27538
|
Task_Direction[Task_Direction["NONE"] = 0] = "NONE";
|
|
@@ -35470,20 +35490,20 @@
|
|
|
35470
35490
|
return null;
|
|
35471
35491
|
return this._currField.getTask();
|
|
35472
35492
|
};
|
|
35473
|
-
EventsManager.prototype.setStopExecution = function (stop,
|
|
35493
|
+
EventsManager.prototype.setStopExecution = function (stop, clearEventsOnStopExecution) {
|
|
35474
35494
|
if (arguments.length === 1)
|
|
35475
35495
|
this.setStopExecution_0(stop);
|
|
35476
35496
|
else
|
|
35477
|
-
this.setStopExecution_1(stop,
|
|
35497
|
+
this.setStopExecution_1(stop, clearEventsOnStopExecution);
|
|
35478
35498
|
};
|
|
35479
35499
|
EventsManager.prototype.setStopExecution_0 = function (stop) {
|
|
35480
|
-
this.setStopExecution(stop,
|
|
35500
|
+
this.setStopExecution(stop, exports.ClearEventsOnStopExecution.ALL);
|
|
35481
35501
|
};
|
|
35482
|
-
EventsManager.prototype.setStopExecution_1 = function (stop,
|
|
35502
|
+
EventsManager.prototype.setStopExecution_1 = function (stop, clearEventsOnStopExecution) {
|
|
35483
35503
|
if (stop)
|
|
35484
|
-
if (
|
|
35504
|
+
if (clearEventsOnStopExecution == exports.ClearEventsOnStopExecution.ALL)
|
|
35485
35505
|
this._eventsQueue.clear();
|
|
35486
|
-
else {
|
|
35506
|
+
else if (clearEventsOnStopExecution == exports.ClearEventsOnStopExecution.SERVER) {
|
|
35487
35507
|
var tmpVec = new mscorelib.List();
|
|
35488
35508
|
var rtEvt = void 0;
|
|
35489
35509
|
var i = void 0;
|
|
@@ -37328,7 +37348,7 @@
|
|
|
37328
37348
|
return CommandsTable;
|
|
37329
37349
|
}());
|
|
37330
37350
|
|
|
37331
|
-
var CurrentClientVersion = '4.800.0';
|
|
37351
|
+
var CurrentClientVersion = '4.800.1-dev000.0';
|
|
37332
37352
|
|
|
37333
37353
|
var ClientManager = /** @class */ (function () {
|
|
37334
37354
|
function ClientManager() {
|
|
@@ -38062,5 +38082,5 @@
|
|
|
38062
38082
|
|
|
38063
38083
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
38064
38084
|
|
|
38065
|
-
}))
|
|
38085
|
+
}));
|
|
38066
38086
|
//# sourceMappingURL=magic-xpa-engine.umd.js.map
|