@magic-xpa/engine 4.801.0-dev481.239 → 4.801.0-dev481.243
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 +45 -45
- 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/CommandsProcessorBase.js +2 -2
- package/esm2015/src/CurrentClientVersion.js +2 -2
- package/esm2015/src/commands/ClientToServer/BrowserEscEventCommand.js +2 -3
- package/esm2015/src/data/DataView.js +2 -3
- package/esm2015/src/data/Field.js +2 -3
- package/esm2015/src/data/Record.js +2 -3
- package/esm2015/src/env/LanguageData.js +2 -3
- package/esm2015/src/event/EventHandler.js +2 -3
- package/esm2015/src/event/EventHandlerPosition.js +2 -2
- package/esm2015/src/event/EventsManager.js +2 -3
- package/esm2015/src/exp/ExpressionEvaluator.js +2 -3
- package/esm2015/src/gui/MgForm.js +2 -3
- package/esm2015/src/http/client/HttpClientBase.js +2 -3
- package/esm2015/src/remote/RemoteCommandsProcessor.js +2 -3
- package/esm2015/src/remote/ServerError.js +2 -3
- package/esm2015/src/rt/DataviewHeadersSaxHandler.js +2 -3
- package/esm2015/src/tasks/Task.js +2 -3
- package/fesm2015/magic-xpa-engine.js +2 -3
- package/fesm2015/magic-xpa-engine.js.map +1 -1
- package/package.json +4 -4
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@magic-xpa/mscorelib'), require('@magic-xpa/utils'), require('@magic-xpa/gui'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@magic-xpa/engine', ['exports', '@magic-xpa/mscorelib', '@magic-xpa/utils', '@magic-xpa/gui', '
|
|
4
|
-
(global = global || self, factory((global['magic-xpa'] = global['magic-xpa'] || {}, global['magic-xpa'].engine = {}), global.mscorelib, global.utils, global.gui, global.
|
|
5
|
-
}(this, (function (exports, mscorelib, utils, gui,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@magic-xpa/mscorelib'), require('@magic-xpa/utils'), require('@magic-xpa/gui'), require('@angular/common/http'), require('rxjs')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@magic-xpa/engine', ['exports', '@magic-xpa/mscorelib', '@magic-xpa/utils', '@magic-xpa/gui', '@angular/common/http', 'rxjs'], factory) :
|
|
4
|
+
(global = global || self, factory((global['magic-xpa'] = global['magic-xpa'] || {}, global['magic-xpa'].engine = {}), global.mscorelib, global.utils, global.gui, global.ng.common.http, global.rxjs));
|
|
5
|
+
}(this, (function (exports, mscorelib, utils, gui, http, rxjs) { 'use strict';
|
|
6
6
|
|
|
7
7
|
var AccessHelper = /** @class */ (function () {
|
|
8
8
|
function AccessHelper() {
|
|
@@ -5318,7 +5318,7 @@
|
|
|
5318
5318
|
return __generator(this, function (_a) {
|
|
5319
5319
|
switch (_a.label) {
|
|
5320
5320
|
case 0:
|
|
5321
|
-
if (!
|
|
5321
|
+
if (!mscorelib.isNullOrUndefined(sessionStage)) return [3 /*break*/, 2];
|
|
5322
5322
|
return [4 /*yield*/, this.Execute_0(sendingInstruction)];
|
|
5323
5323
|
case 1:
|
|
5324
5324
|
_a.sent();
|
|
@@ -5455,7 +5455,7 @@
|
|
|
5455
5455
|
if (response != null) {
|
|
5456
5456
|
utils.Logger.Instance.WriteServerToLog("Incoming Headers : " + HttpClientBase.HeadersToString(response.headers, true));
|
|
5457
5457
|
nextSessionCounterString = response.headers.get("MgxpaNextSessionCounter".toLowerCase());
|
|
5458
|
-
if (!
|
|
5458
|
+
if (!mscorelib.isNullOrUndefined(nextSessionCounterString)) {
|
|
5459
5459
|
HttpClientEvents.CheckAndSetSessionCounter(+nextSessionCounterString);
|
|
5460
5460
|
}
|
|
5461
5461
|
}
|
|
@@ -5508,12 +5508,12 @@
|
|
|
5508
5508
|
if (httpMethod === exports.RequestMethod.Post) {
|
|
5509
5509
|
}
|
|
5510
5510
|
requestTime = utils.Misc.getSystemMilliseconds();
|
|
5511
|
-
this.LogRequestInfo(!
|
|
5511
|
+
this.LogRequestInfo(!mscorelib.isNullOrUndefined(requestContent) ? requestContent.length : 0, requestTime, false);
|
|
5512
5512
|
return [4 /*yield*/, this.sendRequestToServer(httpMethod, urlString, httpHeaders, requestContent, contentFromServer)];
|
|
5513
5513
|
case 3:
|
|
5514
5514
|
httpResponse = _a.sent();
|
|
5515
5515
|
this.logResponse(httpResponse, clientID, urlString, contentFromServer, timeBeforeRequest);
|
|
5516
|
-
this.LogRequestInfo(!
|
|
5516
|
+
this.LogRequestInfo(!mscorelib.isNullOrUndefined(requestContent) ? requestContent.length : 0, utils.Misc.getSystemMilliseconds() - requestTime, true);
|
|
5517
5517
|
return [3 /*break*/, 6];
|
|
5518
5518
|
case 4:
|
|
5519
5519
|
ex_2 = _a.sent();
|
|
@@ -5934,7 +5934,7 @@
|
|
|
5934
5934
|
function ServerError(msg, codeOrInnerException) {
|
|
5935
5935
|
var _this = _super.call(this, msg) || this;
|
|
5936
5936
|
_this._code = 0;
|
|
5937
|
-
if (arguments.length === 1 ||
|
|
5937
|
+
if (arguments.length === 1 || mscorelib.isNullOrUndefined(codeOrInnerException))
|
|
5938
5938
|
return _this;
|
|
5939
5939
|
if (typeof codeOrInnerException == 'number')
|
|
5940
5940
|
_this._code = codeOrInnerException;
|
|
@@ -6650,7 +6650,7 @@
|
|
|
6650
6650
|
ex_2 = _a.sent();
|
|
6651
6651
|
if (ex_2 instanceof ServerError)
|
|
6652
6652
|
throw ex_2;
|
|
6653
|
-
if (
|
|
6653
|
+
if (mscorelib.isNullOrUndefined(ex_2.InnerException))
|
|
6654
6654
|
throw new ServerError(ex_2.message, new mscorelib.Exception(ex_2));
|
|
6655
6655
|
else
|
|
6656
6656
|
throw new ServerError(ex_2.message, ex_2.InnerException);
|
|
@@ -6664,7 +6664,7 @@
|
|
|
6664
6664
|
var handshakeAuthUrl = this.ServerUrl + ConstInterface.REQ_ARG_START +
|
|
6665
6665
|
ConstInterface.RC_INDICATION + ConstInterface.UTF8TRANS +
|
|
6666
6666
|
ConstInterface.RC_TOKEN_CTX_ID + contextId;
|
|
6667
|
-
if (!
|
|
6667
|
+
if (!mscorelib.isNullOrUndefined(this.SessionId))
|
|
6668
6668
|
handshakeAuthUrl += (ConstInterface.REQ_ARG_SEPARATOR + ConstInterface.RC_TOKEN_SESSION_ID + this.SessionId);
|
|
6669
6669
|
handshakeAuthUrl += (ConstInterface.REQ_ARG_SEPARATOR +
|
|
6670
6670
|
ConstInterface.RC_TOKEN_SESSION_COUNT + sessionCount +
|
|
@@ -6688,7 +6688,7 @@
|
|
|
6688
6688
|
};
|
|
6689
6689
|
RemoteCommandsProcessor.prototype.GetTaskTree = function (task) {
|
|
6690
6690
|
var taskTree = new mscorelib.List();
|
|
6691
|
-
while (!
|
|
6691
|
+
while (!mscorelib.isNullOrUndefined(task)) {
|
|
6692
6692
|
taskTree.push(task.getTaskInfo());
|
|
6693
6693
|
task = task.getParent();
|
|
6694
6694
|
}
|
|
@@ -7022,7 +7022,7 @@
|
|
|
7022
7022
|
return __generator(this, function (_a) {
|
|
7023
7023
|
switch (_a.label) {
|
|
7024
7024
|
case 0:
|
|
7025
|
-
if (
|
|
7025
|
+
if (mscorelib.isUndefined(requestContent))
|
|
7026
7026
|
requestContent = null;
|
|
7027
7027
|
_a.label = 1;
|
|
7028
7028
|
case 1:
|
|
@@ -7038,7 +7038,7 @@
|
|
|
7038
7038
|
return [4 /*yield*/, HttpManager.GetInstance().GetContent(requestedURL, requestContent, useCache, isError)];
|
|
7039
7039
|
case 2:
|
|
7040
7040
|
responseStr = _a.sent();
|
|
7041
|
-
RemoteCommandsProcessor.totalResponseDataLength += RemoteCommandsProcessor.totalResponseDataLength + (!
|
|
7041
|
+
RemoteCommandsProcessor.totalResponseDataLength += RemoteCommandsProcessor.totalResponseDataLength + (!mscorelib.isNullOrUndefined(responseStr) ? responseStr.length : 0);
|
|
7042
7042
|
spinnerTimerSubscription.unsubscribe();
|
|
7043
7043
|
spinnerTimerSubscription = null;
|
|
7044
7044
|
if (isError.value) {
|
|
@@ -7067,7 +7067,7 @@
|
|
|
7067
7067
|
};
|
|
7068
7068
|
RemoteCommandsProcessor.prototype.BuildUrlSuffix = function (hasContent, isInitialCall) {
|
|
7069
7069
|
var prefix = ConstInterface.RC_INDICATION + ConstInterface.RC_TOKEN_CTX_ID + gui.RuntimeContextBase.Instance.ContextID;
|
|
7070
|
-
if (!
|
|
7070
|
+
if (!mscorelib.isNullOrUndefined(this.SessionId))
|
|
7071
7071
|
prefix += (ConstInterface.REQ_ARG_SEPARATOR + ConstInterface.RC_TOKEN_SESSION_ID + this.SessionId);
|
|
7072
7072
|
if (isInitialCall) {
|
|
7073
7073
|
if (RemoteCommandsProcessor.IsSessionReInitializing)
|
|
@@ -7137,7 +7137,7 @@
|
|
|
7137
7137
|
AccessHelper.eventsManager.SpinnerStopped.subscribe(function (clientBusyTime) { return _this.ClientActivated(); });
|
|
7138
7138
|
};
|
|
7139
7139
|
RemoteCommandsProcessor.prototype.ComputeAndLogRequestInfo = function (contentLength, roundTrip, isLoggingResponse) {
|
|
7140
|
-
if (!
|
|
7140
|
+
if (!mscorelib.isNullOrUndefined(this._requestInfo.serverCallAt)) {
|
|
7141
7141
|
this._requestInfo.extraInfo.contentLength = contentLength;
|
|
7142
7142
|
this._requestInfo.extraInfo.timeStamp = new Date().toString();
|
|
7143
7143
|
var extraMessageStr = isLoggingResponse ? 'Response ⤵' : 'Request ⤵';
|
|
@@ -7350,19 +7350,19 @@
|
|
|
7350
7350
|
break;
|
|
7351
7351
|
case "Environment":
|
|
7352
7352
|
var envAttributes = response["Environment"][0]['$'];
|
|
7353
|
-
if (!
|
|
7353
|
+
if (!mscorelib.isNullOrUndefined(envAttributes["ScrambleMessages"])) {
|
|
7354
7354
|
mscorelib.Debug.Assert(envAttributes["ScrambleMessages"] === "N");
|
|
7355
7355
|
this._scrambleMessages = false;
|
|
7356
7356
|
}
|
|
7357
|
-
if (!
|
|
7357
|
+
if (!mscorelib.isNullOrUndefined(envAttributes["MaxInternalLogLevel"]))
|
|
7358
7358
|
this._maxInternalLogLevel = envAttributes["MaxInternalLogLevel"];
|
|
7359
|
-
if (!
|
|
7359
|
+
if (!mscorelib.isNullOrUndefined(envAttributes["InputPassword"]) && envAttributes["InputPassword"].toLocaleLowerCase() === "y")
|
|
7360
7360
|
this._inputPassword = true;
|
|
7361
|
-
if (!
|
|
7361
|
+
if (!mscorelib.isNullOrUndefined(envAttributes["SystemLogin"]))
|
|
7362
7362
|
this._systemLogin = envAttributes["SystemLogin"];
|
|
7363
|
-
if (!
|
|
7363
|
+
if (!mscorelib.isNullOrUndefined(envAttributes[ConstInterface.MG_TAG_HTTP_COMMUNICATION_TIMEOUT]))
|
|
7364
7364
|
this._httpTimeout = +envAttributes[ConstInterface.MG_TAG_HTTP_COMMUNICATION_TIMEOUT];
|
|
7365
|
-
if (!
|
|
7365
|
+
if (!mscorelib.isNullOrUndefined(envAttributes["ForwardSlash"]))
|
|
7366
7366
|
AccessHelper.environment.ForwardSlashUsage = envAttributes["ForwardSlash"];
|
|
7367
7367
|
break;
|
|
7368
7368
|
}
|
|
@@ -7741,7 +7741,7 @@
|
|
|
7741
7741
|
for (var i = 0; i < errorMessages.length; i++) {
|
|
7742
7742
|
var errorId = errorMessages[i]['$']['id'];
|
|
7743
7743
|
var errorMessage = errorMessages[i]['_'];
|
|
7744
|
-
this._constMessages.set_Item(errorId, (
|
|
7744
|
+
this._constMessages.set_Item(errorId, (mscorelib.isUndefined(errorMessage) ? "" : errorMessage.trim()));
|
|
7745
7745
|
}
|
|
7746
7746
|
};
|
|
7747
7747
|
LanguageData.prototype.translate = function (fromString) {
|
|
@@ -9047,7 +9047,7 @@
|
|
|
9047
9047
|
this._handlerIdx = -1;
|
|
9048
9048
|
};
|
|
9049
9049
|
EventHandlerPosition.prototype.getNext = function (evt) {
|
|
9050
|
-
if (!
|
|
9050
|
+
if (!mscorelib.isNullOrUndefined(evt))
|
|
9051
9051
|
return this.getNext_0(evt);
|
|
9052
9052
|
else
|
|
9053
9053
|
return this.getNext_1();
|
|
@@ -9378,7 +9378,7 @@
|
|
|
9378
9378
|
return helper.GetString();
|
|
9379
9379
|
};
|
|
9380
9380
|
BrowserEscEventCommand.prototype.getCommandInfo = function () {
|
|
9381
|
-
return mscorelib.NString.Format('[{0}{1} in {2}]', this.EventDescription, this.CloseSubformOnly ? ' Subform Only' : mscorelib.NString.Empty,
|
|
9381
|
+
return mscorelib.NString.Format('[{0}{1} in {2}]', this.EventDescription, this.CloseSubformOnly ? ' Subform Only' : mscorelib.NString.Empty, mscorelib.isNullOrUndefined(this.Task) ? mscorelib.NString.Empty : this.Task.getTaskInfo());
|
|
9382
9382
|
};
|
|
9383
9383
|
return BrowserEscEventCommand;
|
|
9384
9384
|
}(EventCommand));
|
|
@@ -15561,7 +15561,7 @@
|
|
|
15561
15561
|
}
|
|
15562
15562
|
};
|
|
15563
15563
|
ExpressionEvaluator.prototype.exp_get_var = function (resValOrVal1, val1OrResVal, is_previous) {
|
|
15564
|
-
if (!
|
|
15564
|
+
if (!mscorelib.isNullOrUndefined(is_previous))
|
|
15565
15565
|
this.exp_get_var_0(resValOrVal1, val1OrResVal, is_previous);
|
|
15566
15566
|
else
|
|
15567
15567
|
this.exp_get_var_1(resValOrVal1, val1OrResVal);
|
|
@@ -17050,7 +17050,7 @@
|
|
|
17050
17050
|
}
|
|
17051
17051
|
var form = task.getForm();
|
|
17052
17052
|
var args = this.params2arguments(expVal, 0, expVal.length);
|
|
17053
|
-
if (!
|
|
17053
|
+
if (!mscorelib.isNullOrUndefined(args)) {
|
|
17054
17054
|
resVal.StrVal = gui.Commands.addCallJS(form, form.UniqueName, methodName, args);
|
|
17055
17055
|
resVal.Attr = utils.StorageAttribute.ALPHA;
|
|
17056
17056
|
}
|
|
@@ -17101,7 +17101,7 @@
|
|
|
17101
17101
|
var NULL_STR = '';
|
|
17102
17102
|
var attr = new Array();
|
|
17103
17103
|
for (var i = startAt; i < startAt + count; i++) {
|
|
17104
|
-
if (
|
|
17104
|
+
if (mscorelib.isNullOrUndefined(Exp_params[i])) {
|
|
17105
17105
|
attr.push(NULL_STR);
|
|
17106
17106
|
}
|
|
17107
17107
|
else {
|
|
@@ -17125,7 +17125,7 @@
|
|
|
17125
17125
|
break;
|
|
17126
17126
|
case utils.StorageAttribute.BLOB:
|
|
17127
17127
|
var blob = Exp_params[i].StrVal;
|
|
17128
|
-
if (!
|
|
17128
|
+
if (!mscorelib.isNullOrUndefined(blob)) {
|
|
17129
17129
|
{
|
|
17130
17130
|
var contentType = gui.BlobType.getContentType(blob);
|
|
17131
17131
|
if (contentType !== gui.BlobType.CONTENT_TYPE_BINARY) {
|
|
@@ -17633,7 +17633,7 @@
|
|
|
17633
17633
|
return false;
|
|
17634
17634
|
};
|
|
17635
17635
|
Record.prototype.fillFieldsData = function (fldValInBytesOrFldsVal, recFlags, isCurrRec) {
|
|
17636
|
-
if (
|
|
17636
|
+
if (mscorelib.isNullOrUndefined(isCurrRec))
|
|
17637
17637
|
this.fillFieldsData_0();
|
|
17638
17638
|
else
|
|
17639
17639
|
this.fillFieldsData_1(fldValInBytesOrFldsVal, recFlags, isCurrRec);
|
|
@@ -17734,7 +17734,7 @@
|
|
|
17734
17734
|
return this.getFieldsTab().getRMSize();
|
|
17735
17735
|
};
|
|
17736
17736
|
Record.prototype.buildXML = function (message, isCurrRec, forceBuild) {
|
|
17737
|
-
if (
|
|
17737
|
+
if (mscorelib.isNullOrUndefined(forceBuild))
|
|
17738
17738
|
this.buildXML_0(message, isCurrRec);
|
|
17739
17739
|
else
|
|
17740
17740
|
this.buildXML_1(message, isCurrRec, forceBuild);
|
|
@@ -19663,7 +19663,7 @@
|
|
|
19663
19663
|
return __generator(this, function (_a) {
|
|
19664
19664
|
switch (_a.label) {
|
|
19665
19665
|
case 0:
|
|
19666
|
-
if (
|
|
19666
|
+
if (mscorelib.isNullOrUndefined(enforceVariableChange))
|
|
19667
19667
|
enforceVariableChange = false;
|
|
19668
19668
|
return [4 /*yield*/, this.setValueAndStartRecompute_1(val, isNullFld, recompute, setRecordUpdated, isArgUpdate, false)];
|
|
19669
19669
|
case 1:
|
|
@@ -21351,7 +21351,7 @@
|
|
|
21351
21351
|
return [2 /*return*/];
|
|
21352
21352
|
case 24:
|
|
21353
21353
|
isCreateLineAboveAct = false;
|
|
21354
|
-
lastEvent =
|
|
21354
|
+
lastEvent = mscorelib.isNullOrUndefined(AccessHelper.eventsManager.getLastRtEvent()) ? 0 :
|
|
21355
21355
|
AccessHelper.eventsManager.getLastRtEvent().getInternalCode();
|
|
21356
21356
|
if (newIdx >= 0 && !this.getTask().transactionFailed(ConstInterface.TRANS_RECORD_PREFIX) &&
|
|
21357
21357
|
lastEvent === utils.InternalInterface.MG_ACT_CRELINE_ABOVE) {
|
|
@@ -21921,7 +21921,7 @@
|
|
|
21921
21921
|
return __generator(this, function (_a) {
|
|
21922
21922
|
switch (_a.label) {
|
|
21923
21923
|
case 0:
|
|
21924
|
-
if (!
|
|
21924
|
+
if (!mscorelib.isNullOrUndefined(setRecToOld)) return [3 /*break*/, 2];
|
|
21925
21925
|
return [4 /*yield*/, this.addCurrToModified_0()];
|
|
21926
21926
|
case 1:
|
|
21927
21927
|
_a.sent();
|
|
@@ -23361,7 +23361,7 @@
|
|
|
23361
23361
|
return __generator(this, function (_a) {
|
|
23362
23362
|
switch (_a.label) {
|
|
23363
23363
|
case 0:
|
|
23364
|
-
if (!
|
|
23364
|
+
if (!mscorelib.isNullOrUndefined(returnToCtrl)) return [3 /*break*/, 2];
|
|
23365
23365
|
return [4 /*yield*/, this.moveInView_0(unit, direction)];
|
|
23366
23366
|
case 1:
|
|
23367
23367
|
_a.sent();
|
|
@@ -25641,10 +25641,10 @@
|
|
|
25641
25641
|
throw error;
|
|
25642
25642
|
}
|
|
25643
25643
|
var links = result[ConstInterface.MG_TAG_LINKS][ConstInterface.MG_TAG_LINK];
|
|
25644
|
-
if (!
|
|
25644
|
+
if (!mscorelib.isNullOrUndefined(links) && links.constructor === Array) {
|
|
25645
25645
|
for (var i = 0; i < links.length; i++) {
|
|
25646
25646
|
var link = links[i]['$'];
|
|
25647
|
-
if (!
|
|
25647
|
+
if (!mscorelib.isNullOrUndefined(link[ConstInterface.MG_ATTR_TABLE_INDEX])) {
|
|
25648
25648
|
var tableIndex = +link[ConstInterface.MG_ATTR_TABLE_INDEX];
|
|
25649
25649
|
var dataviewHeader = this._dataviewHeadersFactory.CreateDataviewHeaders(this._task);
|
|
25650
25650
|
var attributes = new mscorelib.Dictionary();
|
|
@@ -26636,13 +26636,13 @@
|
|
|
26636
26636
|
};
|
|
26637
26637
|
EventHandler.prototype.getControlNameForControlHeader = function () {
|
|
26638
26638
|
if (this.getEvent().getType() == ConstInterface.EVENT_TYPE_INTERNAL) {
|
|
26639
|
-
if (this.getEvent().isControlHeader() && !
|
|
26639
|
+
if (this.getEvent().isControlHeader() && !mscorelib.isNullOrUndefined(this._ctrl))
|
|
26640
26640
|
return this.getCtrlName();
|
|
26641
26641
|
}
|
|
26642
26642
|
return mscorelib.NString.Empty;
|
|
26643
26643
|
};
|
|
26644
26644
|
EventHandler.prototype.getVarNameForVariableHeader = function () {
|
|
26645
|
-
if (this.getEvent().isVariableHeader() && !
|
|
26645
|
+
if (this.getEvent().isVariableHeader() && !mscorelib.isNullOrUndefined(this._handlerFld))
|
|
26646
26646
|
return this._handlerFld.getVarName().toUpperCase();
|
|
26647
26647
|
return mscorelib.NString.Empty;
|
|
26648
26648
|
};
|
|
@@ -27498,7 +27498,7 @@
|
|
|
27498
27498
|
_this.TaskSuffixExecuted = false;
|
|
27499
27499
|
_this.RetrunValueExp = 0;
|
|
27500
27500
|
_this.SubformControl = null;
|
|
27501
|
-
if (
|
|
27501
|
+
if (mscorelib.isNullOrUndefined(parent)) {
|
|
27502
27502
|
_this.constructor_0();
|
|
27503
27503
|
return _this;
|
|
27504
27504
|
}
|
|
@@ -29053,7 +29053,7 @@
|
|
|
29053
29053
|
return __generator(this, function (_a) {
|
|
29054
29054
|
switch (_a.label) {
|
|
29055
29055
|
case 0:
|
|
29056
|
-
if (!
|
|
29056
|
+
if (!mscorelib.isNullOrUndefined(subformDestination)) return [3 /*break*/, 2];
|
|
29057
29057
|
return [4 /*yield*/, this.endTask_1(reversibleExit, onlyDescs, false, dueToVerifyError)];
|
|
29058
29058
|
case 1: return [2 /*return*/, _a.sent()];
|
|
29059
29059
|
case 2: return [4 /*yield*/, this.endTask_1(reversibleExit, onlyDescs, subformDestination, dueToVerifyError)];
|
|
@@ -33618,7 +33618,7 @@
|
|
|
33618
33618
|
task.CurrentEditingControl = null;
|
|
33619
33619
|
_b = !task.cancelWasRaised();
|
|
33620
33620
|
if (!_b) return [3 /*break*/, 81];
|
|
33621
|
-
_c = ctrl.Type !== utils.MgControlType.CTRL_TYPE_BROWSER && (!
|
|
33621
|
+
_c = ctrl.Type !== utils.MgControlType.CTRL_TYPE_BROWSER && (!mscorelib.isNullOrUndefined(ctrl._field) && ctrl._field.getType() === utils.StorageAttribute.DATE || val !== null) && typeof val != "undefined";
|
|
33622
33622
|
if (!_c) return [3 /*break*/, 80];
|
|
33623
33623
|
return [4 /*yield*/, ctrl.validateAndSetValue(val, true)];
|
|
33624
33624
|
case 79:
|
|
@@ -33695,7 +33695,7 @@
|
|
|
33695
33695
|
evt = handler.getEvent();
|
|
33696
33696
|
if (!(evt.getInternalCode() === utils.InternalInterface.MG_ACT_CTRL_VERIFICATION)) return [3 /*break*/, 3];
|
|
33697
33697
|
control = ((task.getForm() !== null) ? task.getForm().getCtrlByCtrlName(handler.getCtrlName()) : null);
|
|
33698
|
-
if (!!
|
|
33698
|
+
if (!!mscorelib.isNullOrUndefined(control)) return [3 /*break*/, 3];
|
|
33699
33699
|
runTimeEvent = new RunTimeEvent(control);
|
|
33700
33700
|
runTimeEvent.setInternal(utils.InternalInterface.MG_ACT_CTRL_VERIFICATION);
|
|
33701
33701
|
return [4 /*yield*/, this.handleEvent(runTimeEvent, false)];
|
|
@@ -34919,7 +34919,7 @@
|
|
|
34919
34919
|
return [4 /*yield*/, evt.getArgList().getArgValue(0, utils.StorageAttribute.BOOLEAN, 0)];
|
|
34920
34920
|
case 9:
|
|
34921
34921
|
refetchRecStr = _b.sent();
|
|
34922
|
-
refetchRecord = (
|
|
34922
|
+
refetchRecord = (mscorelib.isNullOrUndefined(refetchRecStr) || refetchRecStr === "1");
|
|
34923
34923
|
_b.label = 10;
|
|
34924
34924
|
case 10:
|
|
34925
34925
|
if (!refetchRecord) return [3 /*break*/, 12];
|
|
@@ -37245,7 +37245,7 @@
|
|
|
37245
37245
|
return CommandsTable;
|
|
37246
37246
|
}());
|
|
37247
37247
|
|
|
37248
|
-
var CurrentClientVersion = '4.801.0-dev481.
|
|
37248
|
+
var CurrentClientVersion = '4.801.0-dev481.243';
|
|
37249
37249
|
|
|
37250
37250
|
var ClientManager = /** @class */ (function () {
|
|
37251
37251
|
function ClientManager() {
|