@magic-xpa/engine 4.1200.0 → 4.1201.0-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/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# Magic-xpa/engine
|
|
2
|
-
|
|
3
|
-
This package is part of Magic xpa Web Application Framework.
|
|
4
|
-
It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
# Magic-xpa/engine
|
|
2
|
+
|
|
3
|
+
This package is part of Magic xpa Web Application Framework.
|
|
4
|
+
It is used to easily create modern business apps powered by Angular to provide a rich user experience and meet the increasingly complex enterprise business expectations for digital transformation.
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
@@ -7496,6 +7496,9 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
|
7496
7496
|
queryParams += `&${ConstInterface.RC_TOKEN_SESSION_ID}=${sessionId}`;
|
|
7497
7497
|
}
|
|
7498
7498
|
queryParams += `&${ConstInterface.RC_TOKEN_SESSION_COUNT}${sessionCounter}`;
|
|
7499
|
+
queryParams += `&${ConstInterface.RC_INDICATION}`;
|
|
7500
|
+
// To remove the trailing '&' character (added by RC_INDICATION) from the end of the query string
|
|
7501
|
+
queryParams = queryParams.substring(0, queryParams.length - 1);
|
|
7499
7502
|
// Insert query parameters in the query string
|
|
7500
7503
|
modifiedQuery = u.search.substring(0, ctxIdIdx + CTX_ID_PLACEHOLDER.length - 1) + queryParams + u.search.substring(ctxIdIdx + CTX_ID_PLACEHOLDER.length - 1);
|
|
7501
7504
|
// modifiedQuery is updated with file name with base64 encoded.
|
|
@@ -22983,6 +22986,9 @@ class DataView extends DataViewBase {
|
|
|
22983
22986
|
break;
|
|
22984
22987
|
case XMLConstants.MG_ATTR_TASKID:
|
|
22985
22988
|
continue;
|
|
22989
|
+
case XMLConstants.MG_MAINPRG_CTL_PATH:
|
|
22990
|
+
this._task.MainPrgCtlPath = valueStr;
|
|
22991
|
+
break;
|
|
22986
22992
|
case ConstInterface.MG_ATTR_LOW_ID:
|
|
22987
22993
|
this._lastCreatedRecId = NNumber.Parse(valueStr);
|
|
22988
22994
|
break;
|
|
@@ -30018,6 +30024,7 @@ class Task extends TaskBase {
|
|
|
30018
30024
|
_loopStack = null;
|
|
30019
30025
|
allowRemoteCmdExecution;
|
|
30020
30026
|
DelayCommandExecution = false;
|
|
30027
|
+
MainPrgCtlPath = null;
|
|
30021
30028
|
///<summary>
|
|
30022
30029
|
/// This is the task which invoked the handler containing the Call operation.
|
|
30023
30030
|
/// This member is used for searching the variables like VarIndex(), etc
|
|
@@ -30577,6 +30584,12 @@ class Task extends TaskBase {
|
|
|
30577
30584
|
message.Append(XMLConstants.START_TAG + XMLConstants.MG_TAG_TASK);
|
|
30578
30585
|
message.Append(" " + XMLConstants.MG_ATTR_TASKID + "=\"" + this.getTaskTag() + "\"");
|
|
30579
30586
|
message.Append(" " + ConstInterface.MG_ATTR_TASK_MAINLEVEL + "=\"" + this.getMainLevel() + "\"");
|
|
30587
|
+
if (RemoteCommandsProcessor.IsSessionReInitializing && this.isMainProg) {
|
|
30588
|
+
// While sending context reinitialize request, send the application path for main program
|
|
30589
|
+
// This path will be used to match mainprogram on server side while updating its dataview
|
|
30590
|
+
Debug.Assert(this.MainPrgCtlPath.length > 0);
|
|
30591
|
+
message.Append(" " + XMLConstants.MG_MAINPRG_CTL_PATH + "=\"" + this.MainPrgCtlPath + "\"");
|
|
30592
|
+
}
|
|
30580
30593
|
message.Append(XMLConstants.TAG_CLOSE);
|
|
30581
30594
|
await this.DataView.buildXML(message);
|
|
30582
30595
|
if (this.Form != null && this.Form.Opened)
|
|
@@ -39629,7 +39642,7 @@ class CommandsTable {
|
|
|
39629
39642
|
}
|
|
39630
39643
|
}
|
|
39631
39644
|
|
|
39632
|
-
let CurrentClientVersion = '4.
|
|
39645
|
+
let CurrentClientVersion = '4.1201.0-dev000.0';
|
|
39633
39646
|
|
|
39634
39647
|
// @dynamic
|
|
39635
39648
|
class ClientManager {
|