@magic-xpa/engine 4.800.0 → 4.800.2
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 +20 -5
- package/bundles/magic-xpa-engine.umd.js.map +1 -1
- package/bundles/magic-xpa-engine.umd.min.js +2 -2
- package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/util/Scrambler.js +3 -2
- package/fesm2015/magic-xpa-engine.js +3 -2
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
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() {
|
|
@@ -302,6 +302,7 @@
|
|
|
302
302
|
return value;
|
|
303
303
|
}
|
|
304
304
|
|
|
305
|
+
exports.EventSubType = void 0;
|
|
305
306
|
(function (EventSubType) {
|
|
306
307
|
EventSubType[EventSubType["Normal"] = 0] = "Normal";
|
|
307
308
|
EventSubType[EventSubType["CancelWithNoRollback"] = 1] = "CancelWithNoRollback";
|
|
@@ -309,6 +310,7 @@
|
|
|
309
310
|
EventSubType[EventSubType["RtRefreshViewUseCurrentRow"] = 3] = "RtRefreshViewUseCurrentRow";
|
|
310
311
|
EventSubType[EventSubType["ExitDueToError"] = 4] = "ExitDueToError";
|
|
311
312
|
})(exports.EventSubType || (exports.EventSubType = {}));
|
|
313
|
+
exports.ClientTargetedCommandType = void 0;
|
|
312
314
|
(function (ClientTargetedCommandType) {
|
|
313
315
|
ClientTargetedCommandType["Abort"] = "A";
|
|
314
316
|
ClientTargetedCommandType["OpenURL"] = "P";
|
|
@@ -1214,6 +1216,7 @@
|
|
|
1214
1216
|
return EventCommand;
|
|
1215
1217
|
}(ClientOriginatedCommandTaskTag));
|
|
1216
1218
|
|
|
1219
|
+
exports.RollbackEventCommand_RollbackType = void 0;
|
|
1217
1220
|
(function (RollbackEventCommand_RollbackType) {
|
|
1218
1221
|
RollbackEventCommand_RollbackType["NONE"] = " ";
|
|
1219
1222
|
RollbackEventCommand_RollbackType["CANCEL"] = "C";
|
|
@@ -1701,6 +1704,7 @@
|
|
|
1701
1704
|
return ArgumentsList;
|
|
1702
1705
|
}());
|
|
1703
1706
|
|
|
1707
|
+
exports.Task_SubformExecModeEnum = void 0;
|
|
1704
1708
|
(function (Task_SubformExecModeEnum) {
|
|
1705
1709
|
Task_SubformExecModeEnum[Task_SubformExecModeEnum["NO_SUBFORM"] = -1] = "NO_SUBFORM";
|
|
1706
1710
|
Task_SubformExecModeEnum[Task_SubformExecModeEnum["SET_FOCUS"] = 0] = "SET_FOCUS";
|
|
@@ -5269,9 +5273,10 @@
|
|
|
5269
5273
|
if (high > (sqrt / 2))
|
|
5270
5274
|
high = Math.floor(sqrt / 2);
|
|
5271
5275
|
delta = (Math.random() * (high - low)) + low;
|
|
5276
|
+
delta = Math.floor(delta);
|
|
5272
5277
|
if (delta === Scrambler.XML_ILLEGAL_RANDOM)
|
|
5273
5278
|
delta++;
|
|
5274
|
-
return
|
|
5279
|
+
return delta;
|
|
5275
5280
|
};
|
|
5276
5281
|
Scrambler.UnScramble = function (inVal, beginOffSet, endOffSet) {
|
|
5277
5282
|
if (!Scrambler.ScramblingEnabled) {
|
|
@@ -5318,11 +5323,13 @@
|
|
|
5318
5323
|
Scrambler.XML_MAX_RANDOM = 47;
|
|
5319
5324
|
Scrambler.XML_ILLEGAL_RANDOM = -21;
|
|
5320
5325
|
|
|
5326
|
+
exports.CommandsProcessorBase_SessionStage = void 0;
|
|
5321
5327
|
(function (CommandsProcessorBase_SessionStage) {
|
|
5322
5328
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["HANDSHAKE"] = 1] = "HANDSHAKE";
|
|
5323
5329
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["INITIAL"] = 2] = "INITIAL";
|
|
5324
5330
|
CommandsProcessorBase_SessionStage[CommandsProcessorBase_SessionStage["NORMAL"] = 3] = "NORMAL";
|
|
5325
5331
|
})(exports.CommandsProcessorBase_SessionStage || (exports.CommandsProcessorBase_SessionStage = {}));
|
|
5332
|
+
exports.CommandsProcessorBase_SendingInstruction = void 0;
|
|
5326
5333
|
(function (CommandsProcessorBase_SendingInstruction) {
|
|
5327
5334
|
CommandsProcessorBase_SendingInstruction[CommandsProcessorBase_SendingInstruction["NO_TASKS_OR_COMMANDS"] = 0] = "NO_TASKS_OR_COMMANDS";
|
|
5328
5335
|
CommandsProcessorBase_SendingInstruction[CommandsProcessorBase_SendingInstruction["ONLY_COMMANDS"] = 1] = "ONLY_COMMANDS";
|
|
@@ -5427,6 +5434,7 @@
|
|
|
5427
5434
|
|
|
5428
5435
|
var HTTP_EXPECT100CONTINUE = "Expect100Continue";
|
|
5429
5436
|
var USE_HIGHEST_SECURITY_PROTOCOL = "UseHighestSecurityProtocol";
|
|
5437
|
+
exports.RequestMethod = void 0;
|
|
5430
5438
|
(function (RequestMethod) {
|
|
5431
5439
|
RequestMethod[RequestMethod["Get"] = 0] = "Get";
|
|
5432
5440
|
RequestMethod[RequestMethod["Post"] = 1] = "Post";
|
|
@@ -8981,6 +8989,7 @@
|
|
|
8981
8989
|
new ExpDesc('U', 0, 0, 0, '', false),
|
|
8982
8990
|
];
|
|
8983
8991
|
|
|
8992
|
+
exports.DataViewCommandType = void 0;
|
|
8984
8993
|
(function (DataViewCommandType) {
|
|
8985
8994
|
DataViewCommandType[DataViewCommandType["Init"] = 0] = "Init";
|
|
8986
8995
|
DataViewCommandType[DataViewCommandType["Clear"] = 1] = "Clear";
|
|
@@ -10061,6 +10070,7 @@
|
|
|
10061
10070
|
return Sort;
|
|
10062
10071
|
}());
|
|
10063
10072
|
|
|
10073
|
+
exports.ParamParseResult = void 0;
|
|
10064
10074
|
(function (ParamParseResult) {
|
|
10065
10075
|
ParamParseResult[ParamParseResult["OK"] = 0] = "OK";
|
|
10066
10076
|
ParamParseResult[ParamParseResult["TOUPPER"] = 1] = "TOUPPER";
|
|
@@ -18726,6 +18736,7 @@
|
|
|
18726
18736
|
return DataviewHeaderBase;
|
|
18727
18737
|
}());
|
|
18728
18738
|
|
|
18739
|
+
exports.Recompute_RcmpBy = void 0;
|
|
18729
18740
|
(function (Recompute_RcmpBy) {
|
|
18730
18741
|
Recompute_RcmpBy["CLIENT"] = "C";
|
|
18731
18742
|
Recompute_RcmpBy["SERVER_ON_CHANGE"] = "O";
|
|
@@ -20307,6 +20318,7 @@
|
|
|
20307
20318
|
return FieldsTable;
|
|
20308
20319
|
}(gui.FieldsTable));
|
|
20309
20320
|
|
|
20321
|
+
exports.RecordOutOfDataViewException_ExceptionType = void 0;
|
|
20310
20322
|
(function (RecordOutOfDataViewException_ExceptionType) {
|
|
20311
20323
|
RecordOutOfDataViewException_ExceptionType[RecordOutOfDataViewException_ExceptionType["TOP"] = 0] = "TOP";
|
|
20312
20324
|
RecordOutOfDataViewException_ExceptionType[RecordOutOfDataViewException_ExceptionType["BOTTOM"] = 1] = "BOTTOM";
|
|
@@ -27502,17 +27514,20 @@
|
|
|
27502
27514
|
}());
|
|
27503
27515
|
GlobalCommandsManager.Instance = new GlobalCommandsManager();
|
|
27504
27516
|
|
|
27517
|
+
exports.EventsAllowedType = void 0;
|
|
27505
27518
|
(function (EventsAllowedType) {
|
|
27506
27519
|
EventsAllowedType[EventsAllowedType["NONE"] = 0] = "NONE";
|
|
27507
27520
|
EventsAllowedType[EventsAllowedType["NON_INTERACTIVE"] = 1] = "NON_INTERACTIVE";
|
|
27508
27521
|
EventsAllowedType[EventsAllowedType["ALL"] = 2] = "ALL";
|
|
27509
27522
|
})(exports.EventsAllowedType || (exports.EventsAllowedType = {}));
|
|
27510
27523
|
|
|
27524
|
+
exports.Task_Flow = void 0;
|
|
27511
27525
|
(function (Task_Flow) {
|
|
27512
27526
|
Task_Flow[Task_Flow["NONE"] = 0] = "NONE";
|
|
27513
27527
|
Task_Flow[Task_Flow["STEP"] = 1] = "STEP";
|
|
27514
27528
|
Task_Flow[Task_Flow["FAST"] = 2] = "FAST";
|
|
27515
27529
|
})(exports.Task_Flow || (exports.Task_Flow = {}));
|
|
27530
|
+
exports.Task_Direction = void 0;
|
|
27516
27531
|
(function (Task_Direction) {
|
|
27517
27532
|
Task_Direction[Task_Direction["BACK"] = -1] = "BACK";
|
|
27518
27533
|
Task_Direction[Task_Direction["NONE"] = 0] = "NONE";
|
|
@@ -37328,7 +37343,7 @@
|
|
|
37328
37343
|
return CommandsTable;
|
|
37329
37344
|
}());
|
|
37330
37345
|
|
|
37331
|
-
var CurrentClientVersion = '4.800.
|
|
37346
|
+
var CurrentClientVersion = '4.800.2';
|
|
37332
37347
|
|
|
37333
37348
|
var ClientManager = /** @class */ (function () {
|
|
37334
37349
|
function ClientManager() {
|
|
@@ -38062,5 +38077,5 @@
|
|
|
38062
38077
|
|
|
38063
38078
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
38064
38079
|
|
|
38065
|
-
}))
|
|
38080
|
+
}));
|
|
38066
38081
|
//# sourceMappingURL=magic-xpa-engine.umd.js.map
|