@magic-xpa/engine 4.1000.0-dev4100.108 → 4.1000.0-dev4100.113
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/esm2020/src/ClientManager.mjs +11 -11
- package/esm2020/src/CurrentClientVersion.mjs +2 -2
- package/esm2020/src/commands/ClientToServer/DataviewCommand.mjs +6 -6
- package/esm2020/src/commands/ClientToServer/EvaluateCommand.mjs +4 -4
- package/esm2020/src/commands/ClientToServer/EventCommand.mjs +8 -8
- package/esm2020/src/commands/ClientToServer/ExecOperCommand.mjs +4 -4
- package/esm2020/src/commands/ClientToServer/IniputForceWriteCommand.mjs +5 -5
- package/esm2020/src/commands/ClientToServer/RecomputeCommand.mjs +7 -7
- package/esm2020/src/commands/ClientToServer/TransactionCommand.mjs +6 -6
- package/esm2020/src/commands/ServerToClient/EnhancedVerifyCommand.mjs +8 -8
- package/esm2020/src/commands/ServerToClient/ResultCommand.mjs +7 -7
- package/esm2020/src/data/DataView.mjs +34 -34
- package/esm2020/src/data/DataviewManager.mjs +7 -7
- package/esm2020/src/data/Record.mjs +10 -10
- package/esm2020/src/data/TaskTransactionManager.mjs +4 -4
- package/esm2020/src/data/XMLBasedDcValuesBuilder.mjs +5 -5
- package/esm2020/src/env/Environment.mjs +7 -7
- package/esm2020/src/event/RunTimeEvent.mjs +16 -16
- package/esm2020/src/gui/FormsTable.mjs +8 -8
- package/esm2020/src/gui/MgControl.mjs +10 -10
- package/esm2020/src/http/HttpManager.mjs +8 -8
- package/esm2020/src/remote/RemoteCommandsProcessor.mjs +22 -22
- package/esm2020/src/rt/DataviewHeaderBase.mjs +16 -16
- package/esm2020/src/security/UserDetails.mjs +12 -12
- package/esm2020/src/tasks/MGData.mjs +4 -4
- package/esm2020/src/tasks/RCTimer.mjs +10 -10
- package/esm2020/src/tasks/Task.mjs +42 -42
- package/esm2020/src/util/FlowMonitorQueue.mjs +2 -2
- package/esm2020/src/util/PrmMap.mjs +5 -5
- package/esm2020/src/util/ReturnResult.mjs +7 -7
- package/fesm2015/magic-xpa-engine.mjs +267 -267
- package/fesm2015/magic-xpa-engine.mjs.map +1 -1
- package/fesm2020/magic-xpa-engine.mjs +267 -267
- package/fesm2020/magic-xpa-engine.mjs.map +1 -1
- package/package.json +6 -6
- package/magic-xpa-engine.d.ts +0 -2
|
@@ -643,13 +643,6 @@ class CommandSerializationHelper {
|
|
|
643
643
|
}
|
|
644
644
|
|
|
645
645
|
class EventCommand extends ClientOriginatedCommandTaskTag {
|
|
646
|
-
constructor(magicEvent) {
|
|
647
|
-
super();
|
|
648
|
-
this.TaskTag = null;
|
|
649
|
-
this.MagicEvent = 0;
|
|
650
|
-
this.ClientRecId = 0;
|
|
651
|
-
this.MagicEvent = magicEvent;
|
|
652
|
-
}
|
|
653
646
|
get CommandTypeAttribute() {
|
|
654
647
|
return ConstInterface.MG_ATTR_VAL_EVENT;
|
|
655
648
|
}
|
|
@@ -665,6 +658,13 @@ class EventCommand extends ClientOriginatedCommandTaskTag {
|
|
|
665
658
|
return false;
|
|
666
659
|
return true;
|
|
667
660
|
}
|
|
661
|
+
constructor(magicEvent) {
|
|
662
|
+
super();
|
|
663
|
+
this.TaskTag = null;
|
|
664
|
+
this.MagicEvent = 0;
|
|
665
|
+
this.ClientRecId = 0;
|
|
666
|
+
this.MagicEvent = magicEvent;
|
|
667
|
+
}
|
|
668
668
|
SerializeCommandData() {
|
|
669
669
|
let helper = new CommandSerializationHelper();
|
|
670
670
|
helper.SerializeTaskTag(this.TaskTag);
|
|
@@ -1204,15 +1204,6 @@ class OpeningTaskDetails {
|
|
|
1204
1204
|
}
|
|
1205
1205
|
|
|
1206
1206
|
class MgControl extends MgControlBase {
|
|
1207
|
-
constructor(type, taskOrParentMgForm, parentControlOrParentControlIdx) {
|
|
1208
|
-
if (arguments.length === 0)
|
|
1209
|
-
super();
|
|
1210
|
-
else if (arguments.length === 3 && (type === null || type.constructor === Number) && (taskOrParentMgForm === null || taskOrParentMgForm instanceof TaskBase) && (parentControlOrParentControlIdx === null || parentControlOrParentControlIdx.constructor === Number))
|
|
1211
|
-
super(type, taskOrParentMgForm.getForm(), parentControlOrParentControlIdx);
|
|
1212
|
-
else
|
|
1213
|
-
super(type, taskOrParentMgForm, parentControlOrParentControlIdx);
|
|
1214
|
-
this.initialize();
|
|
1215
|
-
}
|
|
1216
1207
|
initialize() {
|
|
1217
1208
|
this._focusedStopExecution = false;
|
|
1218
1209
|
this._inControlSuffix = false;
|
|
@@ -1225,6 +1216,15 @@ class MgControl extends MgControlBase {
|
|
|
1225
1216
|
this.HasZoomHandler = false;
|
|
1226
1217
|
this.ArgList = null;
|
|
1227
1218
|
}
|
|
1219
|
+
constructor(type, taskOrParentMgForm, parentControlOrParentControlIdx) {
|
|
1220
|
+
if (arguments.length === 0)
|
|
1221
|
+
super();
|
|
1222
|
+
else if (arguments.length === 3 && (type === null || type.constructor === Number) && (taskOrParentMgForm === null || taskOrParentMgForm instanceof TaskBase) && (parentControlOrParentControlIdx === null || parentControlOrParentControlIdx.constructor === Number))
|
|
1223
|
+
super(type, taskOrParentMgForm.getForm(), parentControlOrParentControlIdx);
|
|
1224
|
+
else
|
|
1225
|
+
super(type, taskOrParentMgForm, parentControlOrParentControlIdx);
|
|
1226
|
+
this.initialize();
|
|
1227
|
+
}
|
|
1228
1228
|
GetVarIndex() {
|
|
1229
1229
|
return super.getForm().getTask().DataView.Dvcount + this.veeIndx;
|
|
1230
1230
|
}
|
|
@@ -3234,6 +3234,21 @@ class MgPriorityBlockingQueue {
|
|
|
3234
3234
|
}
|
|
3235
3235
|
|
|
3236
3236
|
class RunTimeEvent extends RunTimeEventBase {
|
|
3237
|
+
set Control(value) {
|
|
3238
|
+
this._ctrl = value;
|
|
3239
|
+
}
|
|
3240
|
+
set DisplayLine(value) {
|
|
3241
|
+
this._displayLine = value;
|
|
3242
|
+
}
|
|
3243
|
+
get Control() {
|
|
3244
|
+
return this._ctrl;
|
|
3245
|
+
}
|
|
3246
|
+
get ControlsList() {
|
|
3247
|
+
return this._controlsList;
|
|
3248
|
+
}
|
|
3249
|
+
get Direction() {
|
|
3250
|
+
return this._direction;
|
|
3251
|
+
}
|
|
3237
3252
|
constructor(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask, ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame, yOrCtlIdx, width, height) {
|
|
3238
3253
|
super();
|
|
3239
3254
|
this._controlsList = null;
|
|
@@ -3295,21 +3310,6 @@ class RunTimeEvent extends RunTimeEventBase {
|
|
|
3295
3310
|
else if (arguments.length === 1 && taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt instanceof RunTimeEvent)
|
|
3296
3311
|
Object.assign(this, taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt);
|
|
3297
3312
|
}
|
|
3298
|
-
set Control(value) {
|
|
3299
|
-
this._ctrl = value;
|
|
3300
|
-
}
|
|
3301
|
-
set DisplayLine(value) {
|
|
3302
|
-
this._displayLine = value;
|
|
3303
|
-
}
|
|
3304
|
-
get Control() {
|
|
3305
|
-
return this._ctrl;
|
|
3306
|
-
}
|
|
3307
|
-
get ControlsList() {
|
|
3308
|
-
return this._controlsList;
|
|
3309
|
-
}
|
|
3310
|
-
get Direction() {
|
|
3311
|
-
return this._direction;
|
|
3312
|
-
}
|
|
3313
3313
|
constructor_5(taskRef) {
|
|
3314
3314
|
this.init(taskRef);
|
|
3315
3315
|
}
|
|
@@ -3854,7 +3854,7 @@ class FlowMonitorQueue {
|
|
|
3854
3854
|
let paddedName = this.padRight(name, 34);
|
|
3855
3855
|
let formatOfStringVirtual = `Virtual`;
|
|
3856
3856
|
let formatOfStringParameter = `Parameter`;
|
|
3857
|
-
str = (mode ? formatOfStringParameter : formatOfStringVirtual) + " : " + `${paddedName}` + " : " + `${valueContent}`;
|
|
3857
|
+
str = (mode ? formatOfStringParameter : formatOfStringVirtual) + " : " + `${paddedName}` + " : " + `${valueContent.trim()}`;
|
|
3858
3858
|
return str;
|
|
3859
3859
|
}
|
|
3860
3860
|
addTaskFlowRec(id, state, taskInfo) {
|
|
@@ -4085,6 +4085,15 @@ class TimerObjectCollection {
|
|
|
4085
4085
|
}
|
|
4086
4086
|
TimerObjectCollection.MgDataToTimerObjList = new Dictionary();
|
|
4087
4087
|
class RCTimer extends MgTimer {
|
|
4088
|
+
get TimerIntervalMiliSeconds() {
|
|
4089
|
+
return this._timerIntervalMilliSeconds;
|
|
4090
|
+
}
|
|
4091
|
+
set IsIdleTimer(value) {
|
|
4092
|
+
this._isIdle = value;
|
|
4093
|
+
}
|
|
4094
|
+
get IsIdleTimer() {
|
|
4095
|
+
return this._isIdle;
|
|
4096
|
+
}
|
|
4088
4097
|
constructor(mgData, milliseconds, isIdle) {
|
|
4089
4098
|
super(milliseconds);
|
|
4090
4099
|
this._mgData = null;
|
|
@@ -4096,15 +4105,6 @@ class RCTimer extends MgTimer {
|
|
|
4096
4105
|
TimerObjectCollection.MgDataToTimerObjList.Add(mgDataId, new List());
|
|
4097
4106
|
TimerObjectCollection.MgDataToTimerObjList.get_Item(mgDataId).push(this);
|
|
4098
4107
|
}
|
|
4099
|
-
get TimerIntervalMiliSeconds() {
|
|
4100
|
-
return this._timerIntervalMilliSeconds;
|
|
4101
|
-
}
|
|
4102
|
-
set IsIdleTimer(value) {
|
|
4103
|
-
this._isIdle = value;
|
|
4104
|
-
}
|
|
4105
|
-
get IsIdleTimer() {
|
|
4106
|
-
return this._isIdle;
|
|
4107
|
-
}
|
|
4108
4108
|
GetMgdata() {
|
|
4109
4109
|
return this._mgData;
|
|
4110
4110
|
}
|
|
@@ -4250,6 +4250,9 @@ class ExecutionStack {
|
|
|
4250
4250
|
}
|
|
4251
4251
|
|
|
4252
4252
|
class ExecOperCommand extends ClientOriginatedCommandTaskTag {
|
|
4253
|
+
get CommandTypeAttribute() {
|
|
4254
|
+
return ConstInterface.MG_ATTR_VAL_EXEC_OPER;
|
|
4255
|
+
}
|
|
4253
4256
|
constructor() {
|
|
4254
4257
|
super();
|
|
4255
4258
|
this.ExecutionStack = null;
|
|
@@ -4263,9 +4266,6 @@ class ExecOperCommand extends ClientOriginatedCommandTaskTag {
|
|
|
4263
4266
|
this.CheckOnly = false;
|
|
4264
4267
|
this.DitIdx = Int32.MinValue;
|
|
4265
4268
|
}
|
|
4266
|
-
get CommandTypeAttribute() {
|
|
4267
|
-
return ConstInterface.MG_ATTR_VAL_EXEC_OPER;
|
|
4268
|
-
}
|
|
4269
4269
|
SerializeCommandData() {
|
|
4270
4270
|
let helper = new CommandSerializationHelper();
|
|
4271
4271
|
let execStackExists = this.ExecutionStack !== null && !this.ExecutionStack.empty();
|
|
@@ -4746,13 +4746,6 @@ class HttpClientAsync extends HttpClientBase {
|
|
|
4746
4746
|
}
|
|
4747
4747
|
|
|
4748
4748
|
class HttpManager {
|
|
4749
|
-
constructor() {
|
|
4750
|
-
this._httpCommunicationTimeoutMS = HttpManager.DEFAULT_HTTP_COMMUNICATION_TIMEOUT;
|
|
4751
|
-
this._httpClientAsync = null;
|
|
4752
|
-
this._isAbortingMagicEngine = false;
|
|
4753
|
-
this._httpClientAsync = new HttpClientAsync(HttpManager._nativeHttpClient);
|
|
4754
|
-
this.RegisterBasicDelegates();
|
|
4755
|
-
}
|
|
4756
4749
|
getHttpClient() {
|
|
4757
4750
|
if (this.IsAbortingMagicEngine)
|
|
4758
4751
|
return new HttpClientSync();
|
|
@@ -4772,6 +4765,13 @@ class HttpManager {
|
|
|
4772
4765
|
}
|
|
4773
4766
|
get IsAbortingMagicEngine() { return this._isAbortingMagicEngine; }
|
|
4774
4767
|
set IsAbortingMagicEngine(isAbortingMagicEngine) { this._isAbortingMagicEngine = isAbortingMagicEngine; }
|
|
4768
|
+
constructor() {
|
|
4769
|
+
this._httpCommunicationTimeoutMS = HttpManager.DEFAULT_HTTP_COMMUNICATION_TIMEOUT;
|
|
4770
|
+
this._httpClientAsync = null;
|
|
4771
|
+
this._isAbortingMagicEngine = false;
|
|
4772
|
+
this._httpClientAsync = new HttpClientAsync(HttpManager._nativeHttpClient);
|
|
4773
|
+
this.RegisterBasicDelegates();
|
|
4774
|
+
}
|
|
4775
4775
|
RegisterBasicDelegates() {
|
|
4776
4776
|
HttpClientEvents.GetHttpCommunicationTimeout_Event = this.GetHttpCommunicationTimeoutMS.bind(this);
|
|
4777
4777
|
}
|
|
@@ -5329,6 +5329,12 @@ var RequestStatus;
|
|
|
5329
5329
|
RequestStatus[RequestStatus["Abort"] = 2] = "Abort";
|
|
5330
5330
|
})(RequestStatus || (RequestStatus = {}));
|
|
5331
5331
|
class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
5332
|
+
static GetInstance() {
|
|
5333
|
+
if (RemoteCommandsProcessor._instance === null) {
|
|
5334
|
+
RemoteCommandsProcessor._instance = new RemoteCommandsProcessor();
|
|
5335
|
+
}
|
|
5336
|
+
return RemoteCommandsProcessor._instance;
|
|
5337
|
+
}
|
|
5332
5338
|
constructor() {
|
|
5333
5339
|
super();
|
|
5334
5340
|
this._lastRequestTime = 0;
|
|
@@ -5339,12 +5345,6 @@ class RemoteCommandsProcessor extends CommandsProcessorBase {
|
|
|
5339
5345
|
HttpManager.GetInstance();
|
|
5340
5346
|
this.RegisterDelegates();
|
|
5341
5347
|
}
|
|
5342
|
-
static GetInstance() {
|
|
5343
|
-
if (RemoteCommandsProcessor._instance === null) {
|
|
5344
|
-
RemoteCommandsProcessor._instance = new RemoteCommandsProcessor();
|
|
5345
|
-
}
|
|
5346
|
-
return RemoteCommandsProcessor._instance;
|
|
5347
|
-
}
|
|
5348
5348
|
CheckAndSetSessionCounter(newSessionCounter) {
|
|
5349
5349
|
if (newSessionCounter === ConstInterface.SESSION_COUNTER_CLOSE_CTX_INDICATION) {
|
|
5350
5350
|
Debug.Assert(this.GetSessionCounter() === ConstInterface.SESSION_COUNTER_CLOSE_CTX_INDICATION);
|
|
@@ -6021,21 +6021,6 @@ RemoteCommandsProcessor.InitialUrl = null;
|
|
|
6021
6021
|
RemoteCommandsProcessor.WEB_COMMUNICATION_PROTOCOL_VERSION = "14002";
|
|
6022
6022
|
RemoteCommandsProcessor._shouldScrambleAndUnscrambleMessages = false;
|
|
6023
6023
|
class HandshakeResponse {
|
|
6024
|
-
constructor(responseXML) {
|
|
6025
|
-
this._scrambleMessages = true;
|
|
6026
|
-
this._contextId = null;
|
|
6027
|
-
this._privateSessionId = null;
|
|
6028
|
-
this._inputPassword = false;
|
|
6029
|
-
this._httpTimeout = 0;
|
|
6030
|
-
this._systemLogin = null;
|
|
6031
|
-
this._maxInternalLogLevel = null;
|
|
6032
|
-
try {
|
|
6033
|
-
JSON_Utils.JSONFromXML(responseXML, this.FillFromJSON.bind(this));
|
|
6034
|
-
}
|
|
6035
|
-
catch (ex) {
|
|
6036
|
-
Logger.Instance.WriteExceptionToLog(ex, responseXML);
|
|
6037
|
-
}
|
|
6038
|
-
}
|
|
6039
6024
|
get ScrambleMessages() {
|
|
6040
6025
|
return this._scrambleMessages;
|
|
6041
6026
|
}
|
|
@@ -6057,6 +6042,21 @@ class HandshakeResponse {
|
|
|
6057
6042
|
get MaxInternalLogLevel() {
|
|
6058
6043
|
return this._maxInternalLogLevel;
|
|
6059
6044
|
}
|
|
6045
|
+
constructor(responseXML) {
|
|
6046
|
+
this._scrambleMessages = true;
|
|
6047
|
+
this._contextId = null;
|
|
6048
|
+
this._privateSessionId = null;
|
|
6049
|
+
this._inputPassword = false;
|
|
6050
|
+
this._httpTimeout = 0;
|
|
6051
|
+
this._systemLogin = null;
|
|
6052
|
+
this._maxInternalLogLevel = null;
|
|
6053
|
+
try {
|
|
6054
|
+
JSON_Utils.JSONFromXML(responseXML, this.FillFromJSON.bind(this));
|
|
6055
|
+
}
|
|
6056
|
+
catch (ex) {
|
|
6057
|
+
Logger.Instance.WriteExceptionToLog(ex, responseXML);
|
|
6058
|
+
}
|
|
6059
|
+
}
|
|
6060
6060
|
FillFromJSON(error, result) {
|
|
6061
6061
|
if (error != null) {
|
|
6062
6062
|
throw error;
|
|
@@ -7798,11 +7798,6 @@ var DataViewCommandType;
|
|
|
7798
7798
|
DataViewCommandType[DataViewCommandType["SQLExecute"] = 20] = "SQLExecute";
|
|
7799
7799
|
})(DataViewCommandType || (DataViewCommandType = {}));
|
|
7800
7800
|
class DataviewCommand extends ClientOriginatedCommandTaskTag {
|
|
7801
|
-
constructor() {
|
|
7802
|
-
super();
|
|
7803
|
-
this.CommandType = 0;
|
|
7804
|
-
this.TaskTag = null;
|
|
7805
|
-
}
|
|
7806
7801
|
get CommandTypeAttribute() {
|
|
7807
7802
|
throw new NotImplementedException();
|
|
7808
7803
|
}
|
|
@@ -7813,6 +7808,11 @@ class DataviewCommand extends ClientOriginatedCommandTaskTag {
|
|
|
7813
7808
|
get ShouldSerialize() {
|
|
7814
7809
|
return false;
|
|
7815
7810
|
}
|
|
7811
|
+
constructor() {
|
|
7812
|
+
super();
|
|
7813
|
+
this.CommandType = 0;
|
|
7814
|
+
this.TaskTag = null;
|
|
7815
|
+
}
|
|
7816
7816
|
}
|
|
7817
7817
|
|
|
7818
7818
|
class AddUserRangeDataviewCommand extends DataviewCommand {
|
|
@@ -8034,12 +8034,6 @@ class NonReversibleExitEventCommand extends EventCommand {
|
|
|
8034
8034
|
}
|
|
8035
8035
|
|
|
8036
8036
|
class RecomputeCommand extends ClientOriginatedCommandTaskTag {
|
|
8037
|
-
constructor() {
|
|
8038
|
-
super();
|
|
8039
|
-
this.TaskTag = null;
|
|
8040
|
-
this.FldId = 0;
|
|
8041
|
-
this.IgnoreSubformRecompute = false;
|
|
8042
|
-
}
|
|
8043
8037
|
get CommandTypeAttribute() {
|
|
8044
8038
|
return ConstInterface.MG_ATTR_VAL_RECOMP;
|
|
8045
8039
|
}
|
|
@@ -8051,17 +8045,18 @@ class RecomputeCommand extends ClientOriginatedCommandTaskTag {
|
|
|
8051
8045
|
helper.SerializeAttribute(ConstInterface.MG_ATTR_IGNORE_SUBFORM_RECOMPUTE, '1');
|
|
8052
8046
|
return helper.GetString();
|
|
8053
8047
|
}
|
|
8048
|
+
constructor() {
|
|
8049
|
+
super();
|
|
8050
|
+
this.TaskTag = null;
|
|
8051
|
+
this.FldId = 0;
|
|
8052
|
+
this.IgnoreSubformRecompute = false;
|
|
8053
|
+
}
|
|
8054
8054
|
getCommandInfo() {
|
|
8055
8055
|
return NString.Format('[{0} in {1} for Field {2}]', this.CommandTypeAttribute.charAt(0).toUpperCase() + this.CommandTypeAttribute.substr(1, this.CommandTypeAttribute.length), this.Task.getTaskInfo(), this.Task.getFieldDef(this.FldId).getName());
|
|
8056
8056
|
}
|
|
8057
8057
|
}
|
|
8058
8058
|
|
|
8059
8059
|
class TransactionCommand extends ClientOriginatedCommandTaskTag {
|
|
8060
|
-
constructor() {
|
|
8061
|
-
super();
|
|
8062
|
-
this.TaskTag = null;
|
|
8063
|
-
this.ReversibleExit = false;
|
|
8064
|
-
}
|
|
8065
8060
|
get CommandTypeAttribute() {
|
|
8066
8061
|
return ConstInterface.MG_ATTR_VAL_TRANS;
|
|
8067
8062
|
}
|
|
@@ -8075,6 +8070,11 @@ class TransactionCommand extends ClientOriginatedCommandTaskTag {
|
|
|
8075
8070
|
helper.SerializeAttribute(ConstInterface.MG_ATTR_TRANS_LEVEL, this.Level);
|
|
8076
8071
|
return helper.GetString();
|
|
8077
8072
|
}
|
|
8073
|
+
constructor() {
|
|
8074
|
+
super();
|
|
8075
|
+
this.TaskTag = null;
|
|
8076
|
+
this.ReversibleExit = false;
|
|
8077
|
+
}
|
|
8078
8078
|
getCommandInfo() {
|
|
8079
8079
|
return NString.Format('[{0} in {1}]', this.Oper === 'C' ? 'Commit Transaction' : 'Abort Transaction', this.Task.getTaskInfo());
|
|
8080
8080
|
}
|
|
@@ -8093,6 +8093,9 @@ class UnloadCommand extends ClientOriginatedCommand {
|
|
|
8093
8093
|
}
|
|
8094
8094
|
|
|
8095
8095
|
class EvaluateCommand extends ClientOriginatedCommandTaskTag {
|
|
8096
|
+
get CommandTypeAttribute() {
|
|
8097
|
+
return ConstInterface.MG_ATTR_VAL_EVAL;
|
|
8098
|
+
}
|
|
8096
8099
|
constructor() {
|
|
8097
8100
|
super();
|
|
8098
8101
|
this.TaskTag = null;
|
|
@@ -8101,9 +8104,6 @@ class EvaluateCommand extends ClientOriginatedCommandTaskTag {
|
|
|
8101
8104
|
this.MprgCreator = null;
|
|
8102
8105
|
this.LengthExpVal = Int32.MinValue;
|
|
8103
8106
|
}
|
|
8104
|
-
get CommandTypeAttribute() {
|
|
8105
|
-
return ConstInterface.MG_ATTR_VAL_EVAL;
|
|
8106
|
-
}
|
|
8107
8107
|
SerializeCommandData() {
|
|
8108
8108
|
let helper = new CommandSerializationHelper();
|
|
8109
8109
|
helper.SerializeTaskTag(this.TaskTag);
|
|
@@ -8151,10 +8151,6 @@ class GlobalParamsQueryCommand extends QueryCommand {
|
|
|
8151
8151
|
}
|
|
8152
8152
|
|
|
8153
8153
|
class IniputForceWriteCommand extends ClientOriginatedCommand {
|
|
8154
|
-
constructor() {
|
|
8155
|
-
super();
|
|
8156
|
-
this.Text = null;
|
|
8157
|
-
}
|
|
8158
8154
|
get CommandTypeAttribute() {
|
|
8159
8155
|
return ConstInterface.MG_ATTR_VAL_INIPUT_FORCE_WRITE;
|
|
8160
8156
|
}
|
|
@@ -8164,6 +8160,10 @@ class IniputForceWriteCommand extends ClientOriginatedCommand {
|
|
|
8164
8160
|
SerializeCommandData() {
|
|
8165
8161
|
return " " + ConstInterface.MG_ATTR_VAL_INIPUT_PARAM + "=\"" + XmlParser.escape(this.Text) + "\"";
|
|
8166
8162
|
}
|
|
8163
|
+
constructor() {
|
|
8164
|
+
super();
|
|
8165
|
+
this.Text = null;
|
|
8166
|
+
}
|
|
8167
8167
|
getCommandInfo() {
|
|
8168
8168
|
return NString.Format('[{0} with {1}] ', this.CommandTypeAttribute, this.Text);
|
|
8169
8169
|
}
|
|
@@ -8463,10 +8463,6 @@ var ParamParseResult;
|
|
|
8463
8463
|
})(ParamParseResult || (ParamParseResult = {}));
|
|
8464
8464
|
|
|
8465
8465
|
class PrmMap {
|
|
8466
|
-
constructor() {
|
|
8467
|
-
this.values = null;
|
|
8468
|
-
this.values = new Dictionary();
|
|
8469
|
-
}
|
|
8470
8466
|
getvalue(s) {
|
|
8471
8467
|
if (this.values.ContainsKey(s))
|
|
8472
8468
|
return this.values.get_Item(s);
|
|
@@ -8479,6 +8475,10 @@ class PrmMap {
|
|
|
8479
8475
|
remove(s) {
|
|
8480
8476
|
this.values.Remove(s);
|
|
8481
8477
|
}
|
|
8478
|
+
constructor() {
|
|
8479
|
+
this.values = null;
|
|
8480
|
+
this.values = new Dictionary();
|
|
8481
|
+
}
|
|
8482
8482
|
}
|
|
8483
8483
|
class MirrorPrmMap extends PrmMap {
|
|
8484
8484
|
constructor(type) {
|
|
@@ -9069,6 +9069,12 @@ class Environment {
|
|
|
9069
9069
|
}
|
|
9070
9070
|
Environment.Instance = new Environment();
|
|
9071
9071
|
class EnvironmentDetails {
|
|
9072
|
+
set UpdateInQueryMode(value) {
|
|
9073
|
+
this._updateInQueryMode = value;
|
|
9074
|
+
}
|
|
9075
|
+
set CreateInModifyMode(value) {
|
|
9076
|
+
this._createInModifyMode = value;
|
|
9077
|
+
}
|
|
9072
9078
|
constructor() {
|
|
9073
9079
|
this._createInModifyMode = false;
|
|
9074
9080
|
this._updateInQueryMode = false;
|
|
@@ -9079,12 +9085,6 @@ class EnvironmentDetails {
|
|
|
9079
9085
|
this.ProjDir = null;
|
|
9080
9086
|
this.CompIdx = 0;
|
|
9081
9087
|
}
|
|
9082
|
-
set UpdateInQueryMode(value) {
|
|
9083
|
-
this._updateInQueryMode = value;
|
|
9084
|
-
}
|
|
9085
|
-
set CreateInModifyMode(value) {
|
|
9086
|
-
this._createInModifyMode = value;
|
|
9087
|
-
}
|
|
9088
9088
|
allowUpdateInQueryMode() {
|
|
9089
9089
|
return this._updateInQueryMode;
|
|
9090
9090
|
}
|
|
@@ -9172,17 +9172,6 @@ class GlobalParams extends MirrorPrmMap {
|
|
|
9172
9172
|
GlobalParams.Instance = new GlobalParams();
|
|
9173
9173
|
|
|
9174
9174
|
class UserDetails {
|
|
9175
|
-
constructor() {
|
|
9176
|
-
this.UserName = null;
|
|
9177
|
-
this.UserID = null;
|
|
9178
|
-
this.UserInfo = null;
|
|
9179
|
-
this.Password = null;
|
|
9180
|
-
this.IsLoggedIn = false;
|
|
9181
|
-
this.UserName = NString.Empty;
|
|
9182
|
-
this.UserInfo = NString.Empty;
|
|
9183
|
-
this.IsLoggedIn = false;
|
|
9184
|
-
this.setUserID(NString.Empty);
|
|
9185
|
-
}
|
|
9186
9175
|
setIsLoggedIn(value) {
|
|
9187
9176
|
this.IsLoggedIn = value;
|
|
9188
9177
|
}
|
|
@@ -9202,6 +9191,17 @@ class UserDetails {
|
|
|
9202
9191
|
UserDetails._instance = new UserDetails();
|
|
9203
9192
|
return UserDetails._instance;
|
|
9204
9193
|
}
|
|
9194
|
+
constructor() {
|
|
9195
|
+
this.UserName = null;
|
|
9196
|
+
this.UserID = null;
|
|
9197
|
+
this.UserInfo = null;
|
|
9198
|
+
this.Password = null;
|
|
9199
|
+
this.IsLoggedIn = false;
|
|
9200
|
+
this.UserName = NString.Empty;
|
|
9201
|
+
this.UserInfo = NString.Empty;
|
|
9202
|
+
this.IsLoggedIn = false;
|
|
9203
|
+
this.setUserID(NString.Empty);
|
|
9204
|
+
}
|
|
9205
9205
|
fillData(parser) {
|
|
9206
9206
|
let tokensVector;
|
|
9207
9207
|
let endContext = parser.getXMLdata().indexOf(XMLConstants.TAG_TERM, parser.getCurrIndex());
|
|
@@ -14742,6 +14742,12 @@ class DataViewBase extends GuiDataViewBase {
|
|
|
14742
14742
|
}
|
|
14743
14743
|
|
|
14744
14744
|
class Record {
|
|
14745
|
+
get InCompute() {
|
|
14746
|
+
return this._inCompute;
|
|
14747
|
+
}
|
|
14748
|
+
get InRecompute() {
|
|
14749
|
+
return this._inRecompute;
|
|
14750
|
+
}
|
|
14745
14751
|
constructor(dvOrTableCacheOrCIdOrRecord, dataview) {
|
|
14746
14752
|
this._id = Int32.MinValue;
|
|
14747
14753
|
this.dbViewRowIdx = 0;
|
|
@@ -14759,12 +14765,6 @@ class Record {
|
|
|
14759
14765
|
else
|
|
14760
14766
|
this.constructor_1(dvOrTableCacheOrCIdOrRecord, dataview);
|
|
14761
14767
|
}
|
|
14762
|
-
get InCompute() {
|
|
14763
|
-
return this._inCompute;
|
|
14764
|
-
}
|
|
14765
|
-
get InRecompute() {
|
|
14766
|
-
return this._inRecompute;
|
|
14767
|
-
}
|
|
14768
14768
|
constructor_0(dvOrTableCache) {
|
|
14769
14769
|
if (dvOrTableCache instanceof DataViewBase)
|
|
14770
14770
|
this._dataview = dvOrTableCache;
|
|
@@ -15560,14 +15560,14 @@ Record.FLAG_MODIFIED_ATLEAST_ONCE = (0x40);
|
|
|
15560
15560
|
Record.INCREASE = true;
|
|
15561
15561
|
Record.DECREASE = false;
|
|
15562
15562
|
class DcValuesReference extends ObjectReferenceBase {
|
|
15563
|
+
get DcValues() {
|
|
15564
|
+
return this.Referent;
|
|
15565
|
+
}
|
|
15563
15566
|
constructor(controlId, referencedDcValues) {
|
|
15564
15567
|
super(referencedDcValues);
|
|
15565
15568
|
this.ditIdx = 0;
|
|
15566
15569
|
this.ditIdx = controlId;
|
|
15567
15570
|
}
|
|
15568
|
-
get DcValues() {
|
|
15569
|
-
return this.Referent;
|
|
15570
|
-
}
|
|
15571
15571
|
Clone() {
|
|
15572
15572
|
return new DcValuesReference(this.ditIdx, this.Referent);
|
|
15573
15573
|
}
|
|
@@ -15843,21 +15843,6 @@ class RecordsTable {
|
|
|
15843
15843
|
RecordsTable.REC_NOT_FOUND = -1;
|
|
15844
15844
|
|
|
15845
15845
|
class DataviewHeaderBase {
|
|
15846
|
-
constructor(task) {
|
|
15847
|
-
this._cond = null;
|
|
15848
|
-
this._task = null;
|
|
15849
|
-
this.Loc = null;
|
|
15850
|
-
this._dir = '\0';
|
|
15851
|
-
this._id = 0;
|
|
15852
|
-
this._keyIdx = 0;
|
|
15853
|
-
this._retVal = null;
|
|
15854
|
-
this.returnfield = null;
|
|
15855
|
-
this.LinkStartAfterField = 0;
|
|
15856
|
-
this.KeyExpression = 0;
|
|
15857
|
-
this._task = task;
|
|
15858
|
-
this._keyIdx = -1;
|
|
15859
|
-
this._cond = new YesNoExp(true);
|
|
15860
|
-
}
|
|
15861
15846
|
get ReturnField() {
|
|
15862
15847
|
if (this.returnfield === null && this._retVal !== null)
|
|
15863
15848
|
this.returnfield = this.Task.getFieldByValueStr(this._retVal);
|
|
@@ -15878,6 +15863,21 @@ class DataviewHeaderBase {
|
|
|
15878
15863
|
get LinkEvaluateCondition() {
|
|
15879
15864
|
return this._linkEvalCondition;
|
|
15880
15865
|
}
|
|
15866
|
+
constructor(task) {
|
|
15867
|
+
this._cond = null;
|
|
15868
|
+
this._task = null;
|
|
15869
|
+
this.Loc = null;
|
|
15870
|
+
this._dir = '\0';
|
|
15871
|
+
this._id = 0;
|
|
15872
|
+
this._keyIdx = 0;
|
|
15873
|
+
this._retVal = null;
|
|
15874
|
+
this.returnfield = null;
|
|
15875
|
+
this.LinkStartAfterField = 0;
|
|
15876
|
+
this.KeyExpression = 0;
|
|
15877
|
+
this._task = task;
|
|
15878
|
+
this._keyIdx = -1;
|
|
15879
|
+
this._cond = new YesNoExp(true);
|
|
15880
|
+
}
|
|
15881
15881
|
SetAttributes(attributes) {
|
|
15882
15882
|
let keys = attributes.Keys;
|
|
15883
15883
|
keys.forEach((text) => {
|
|
@@ -17215,16 +17215,16 @@ class RecordOutOfDataViewException extends ApplicationException {
|
|
|
17215
17215
|
}
|
|
17216
17216
|
|
|
17217
17217
|
class XMLBasedDcValuesBuilder extends DcValuesBuilderBase {
|
|
17218
|
+
set SerializedDCVals(value) {
|
|
17219
|
+
this.parser.setXMLdata(value);
|
|
17220
|
+
this.parser.setCurrIndex(0);
|
|
17221
|
+
}
|
|
17218
17222
|
constructor() {
|
|
17219
17223
|
super();
|
|
17220
17224
|
this.dcv = null;
|
|
17221
17225
|
this.parser = null;
|
|
17222
17226
|
this.parser = new XmlParser();
|
|
17223
17227
|
}
|
|
17224
|
-
set SerializedDCVals(value) {
|
|
17225
|
-
this.parser.setXMLdata(value);
|
|
17226
|
-
this.parser.setCurrIndex(0);
|
|
17227
|
-
}
|
|
17228
17228
|
Build() {
|
|
17229
17229
|
this.dcv = null;
|
|
17230
17230
|
let endContext = this.parser.getXMLdata().indexOf(XMLConstants.TAG_TERM, this.parser.getCurrIndex());
|
|
@@ -17304,6 +17304,39 @@ const RECOVERY_ACT_NONE = 'N';
|
|
|
17304
17304
|
const TRANS_STAT_CLOSED = 'C';
|
|
17305
17305
|
const TRANS_STAT_OPENED = 'O';
|
|
17306
17306
|
class DataView extends DataViewBase {
|
|
17307
|
+
set InsertAt(value) {
|
|
17308
|
+
this._insertAt = value;
|
|
17309
|
+
}
|
|
17310
|
+
get InsertAt() {
|
|
17311
|
+
return this._insertAt;
|
|
17312
|
+
}
|
|
17313
|
+
get CurrRec() {
|
|
17314
|
+
return this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER;
|
|
17315
|
+
}
|
|
17316
|
+
set CurrRec(value) {
|
|
17317
|
+
if (this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER !== null && value === null) {
|
|
17318
|
+
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER.resetDcValueId();
|
|
17319
|
+
}
|
|
17320
|
+
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER = value;
|
|
17321
|
+
if (this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER !== null) {
|
|
17322
|
+
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER.SetDcValueId();
|
|
17323
|
+
}
|
|
17324
|
+
}
|
|
17325
|
+
get FlushUpdates() {
|
|
17326
|
+
return this._flushUpdates;
|
|
17327
|
+
}
|
|
17328
|
+
get HasMainTable() {
|
|
17329
|
+
return this._hasMainTable;
|
|
17330
|
+
}
|
|
17331
|
+
get CurrentRecId() {
|
|
17332
|
+
return this._currRecId;
|
|
17333
|
+
}
|
|
17334
|
+
get FirstRecord() {
|
|
17335
|
+
return this._recordsTab.getRecByIdx(0);
|
|
17336
|
+
}
|
|
17337
|
+
get LastRecord() {
|
|
17338
|
+
return this._recordsTab.getRecByIdx(this._recordsTab.getSize() - 1);
|
|
17339
|
+
}
|
|
17307
17340
|
constructor(taskOrDataView) {
|
|
17308
17341
|
super();
|
|
17309
17342
|
this._cacheLruTimeStamp = 0;
|
|
@@ -17355,39 +17388,6 @@ class DataView extends DataViewBase {
|
|
|
17355
17388
|
Object.assign(this, taskOrDataView);
|
|
17356
17389
|
}
|
|
17357
17390
|
}
|
|
17358
|
-
set InsertAt(value) {
|
|
17359
|
-
this._insertAt = value;
|
|
17360
|
-
}
|
|
17361
|
-
get InsertAt() {
|
|
17362
|
-
return this._insertAt;
|
|
17363
|
-
}
|
|
17364
|
-
get CurrRec() {
|
|
17365
|
-
return this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER;
|
|
17366
|
-
}
|
|
17367
|
-
set CurrRec(value) {
|
|
17368
|
-
if (this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER !== null && value === null) {
|
|
17369
|
-
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER.resetDcValueId();
|
|
17370
|
-
}
|
|
17371
|
-
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER = value;
|
|
17372
|
-
if (this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER !== null) {
|
|
17373
|
-
this._currRec_DO_NOT_USE_DIRECTLY_USE_SETTER_GETTER.SetDcValueId();
|
|
17374
|
-
}
|
|
17375
|
-
}
|
|
17376
|
-
get FlushUpdates() {
|
|
17377
|
-
return this._flushUpdates;
|
|
17378
|
-
}
|
|
17379
|
-
get HasMainTable() {
|
|
17380
|
-
return this._hasMainTable;
|
|
17381
|
-
}
|
|
17382
|
-
get CurrentRecId() {
|
|
17383
|
-
return this._currRecId;
|
|
17384
|
-
}
|
|
17385
|
-
get FirstRecord() {
|
|
17386
|
-
return this._recordsTab.getRecByIdx(0);
|
|
17387
|
-
}
|
|
17388
|
-
get LastRecord() {
|
|
17389
|
-
return this._recordsTab.getRecByIdx(this._recordsTab.getSize() - 1);
|
|
17390
|
-
}
|
|
17391
17391
|
Init() {
|
|
17392
17392
|
this.init();
|
|
17393
17393
|
}
|
|
@@ -19017,6 +19017,12 @@ class ReturnResultBase {
|
|
|
19017
19017
|
}
|
|
19018
19018
|
|
|
19019
19019
|
class ReturnResult extends ReturnResultBase {
|
|
19020
|
+
get Success() {
|
|
19021
|
+
return this.success;
|
|
19022
|
+
}
|
|
19023
|
+
get ErrorDescription() {
|
|
19024
|
+
return this.errorDescription;
|
|
19025
|
+
}
|
|
19020
19026
|
constructor(errorDescriptionCodeOrErrorDescriptionOrInnerResult, innerResult) {
|
|
19021
19027
|
super();
|
|
19022
19028
|
this.errorDescription = null;
|
|
@@ -19031,12 +19037,6 @@ class ReturnResult extends ReturnResultBase {
|
|
|
19031
19037
|
else
|
|
19032
19038
|
this.constructor_03(errorDescriptionCodeOrErrorDescriptionOrInnerResult);
|
|
19033
19039
|
}
|
|
19034
|
-
get Success() {
|
|
19035
|
-
return this.success;
|
|
19036
|
-
}
|
|
19037
|
-
get ErrorDescription() {
|
|
19038
|
-
return this.errorDescription;
|
|
19039
|
-
}
|
|
19040
19040
|
constructor_00(errorDescriptionCode) {
|
|
19041
19041
|
this.success = false;
|
|
19042
19042
|
this.ErrorId = errorDescriptionCode;
|
|
@@ -19140,13 +19140,13 @@ class Transaction {
|
|
|
19140
19140
|
}
|
|
19141
19141
|
|
|
19142
19142
|
class TaskTransactionManager {
|
|
19143
|
+
get isClosingTopmostTask() {
|
|
19144
|
+
return MGDataCollection.Instance.StartupMgData.getFirstTask().InEndTask;
|
|
19145
|
+
}
|
|
19143
19146
|
constructor(task) {
|
|
19144
19147
|
this.task = null;
|
|
19145
19148
|
this.task = task;
|
|
19146
19149
|
}
|
|
19147
|
-
get isClosingTopmostTask() {
|
|
19148
|
-
return MGDataCollection.Instance.StartupMgData.getFirstTask().InEndTask;
|
|
19149
|
-
}
|
|
19150
19150
|
AllowTransaction(transBegin, forLocal) {
|
|
19151
19151
|
let result;
|
|
19152
19152
|
if (forLocal)
|
|
@@ -19527,12 +19527,6 @@ class RemoteDataviewManager extends DataviewManagerBase {
|
|
|
19527
19527
|
}
|
|
19528
19528
|
|
|
19529
19529
|
class DataviewManager extends DataviewManagerBase {
|
|
19530
|
-
constructor(task) {
|
|
19531
|
-
super(task);
|
|
19532
|
-
this.RemoteDataviewManager = null;
|
|
19533
|
-
this.HasRemoteData = true;
|
|
19534
|
-
this.RemoteDataviewManager = new RemoteDataviewManager(task);
|
|
19535
|
-
}
|
|
19536
19530
|
get TaskService() {
|
|
19537
19531
|
return this.Task.TaskService;
|
|
19538
19532
|
}
|
|
@@ -19547,6 +19541,12 @@ class DataviewManager extends DataviewManagerBase {
|
|
|
19547
19541
|
get VirtualDataviewManager() {
|
|
19548
19542
|
return this.TaskService.GetDataviewManagerForVirtuals(this.Task);
|
|
19549
19543
|
}
|
|
19544
|
+
constructor(task) {
|
|
19545
|
+
super(task);
|
|
19546
|
+
this.RemoteDataviewManager = null;
|
|
19547
|
+
this.HasRemoteData = true;
|
|
19548
|
+
this.RemoteDataviewManager = new RemoteDataviewManager(task);
|
|
19549
|
+
}
|
|
19550
19550
|
Execute(command) {
|
|
19551
19551
|
return __awaiter(this, void 0, void 0, function* () {
|
|
19552
19552
|
return yield this.CurrentDataviewManager.Execute(command);
|
|
@@ -22830,13 +22830,6 @@ class UserEventsTable {
|
|
|
22830
22830
|
}
|
|
22831
22831
|
|
|
22832
22832
|
class FormsTable {
|
|
22833
|
-
constructor(task, parentForm) {
|
|
22834
|
-
this._task = null;
|
|
22835
|
-
this._parentForm = null;
|
|
22836
|
-
this._formsStringXml = null;
|
|
22837
|
-
this._task = task;
|
|
22838
|
-
this._parentForm = parentForm;
|
|
22839
|
-
}
|
|
22840
22833
|
get Count() {
|
|
22841
22834
|
return this._formsStringXml.length;
|
|
22842
22835
|
}
|
|
@@ -22845,6 +22838,13 @@ class FormsTable {
|
|
|
22845
22838
|
return this._formsStringXml.get_Item(formDisplayIndex - 1);
|
|
22846
22839
|
return null;
|
|
22847
22840
|
}
|
|
22841
|
+
constructor(task, parentForm) {
|
|
22842
|
+
this._task = null;
|
|
22843
|
+
this._parentForm = null;
|
|
22844
|
+
this._formsStringXml = null;
|
|
22845
|
+
this._task = task;
|
|
22846
|
+
this._parentForm = parentForm;
|
|
22847
|
+
}
|
|
22848
22848
|
fillData() {
|
|
22849
22849
|
return __awaiter(this, void 0, void 0, function* () {
|
|
22850
22850
|
this._formsStringXml = new List();
|
|
@@ -23040,6 +23040,47 @@ var Task_Direction;
|
|
|
23040
23040
|
Task_Direction[Task_Direction["FORE"] = 1] = "FORE";
|
|
23041
23041
|
})(Task_Direction || (Task_Direction = {}));
|
|
23042
23042
|
class Task extends TaskBase {
|
|
23043
|
+
get ParentTask() {
|
|
23044
|
+
return this._parentTask;
|
|
23045
|
+
}
|
|
23046
|
+
set TryingToCommit(value) {
|
|
23047
|
+
this._tryingToCommit = value;
|
|
23048
|
+
}
|
|
23049
|
+
get TryingToCommit() {
|
|
23050
|
+
return this._tryingToCommit;
|
|
23051
|
+
}
|
|
23052
|
+
get TaskService() {
|
|
23053
|
+
if (this._taskService == null)
|
|
23054
|
+
this._taskService = new RemoteTaskService();
|
|
23055
|
+
return this._taskService;
|
|
23056
|
+
}
|
|
23057
|
+
static get CommandsProcessor() {
|
|
23058
|
+
return CommandsProcessorManager.GetCommandsProcessor();
|
|
23059
|
+
}
|
|
23060
|
+
get LogicalStudioParentTask() {
|
|
23061
|
+
if (this.StudioParentTask === null && !super.isMainProg()) {
|
|
23062
|
+
return GuiDataCollection.MGDataTable.GetMainProgByCtlIdx(this.ContextID, this._ctlIdx);
|
|
23063
|
+
}
|
|
23064
|
+
return this.StudioParentTask;
|
|
23065
|
+
}
|
|
23066
|
+
get KnownToServer() {
|
|
23067
|
+
return this._knownToServer;
|
|
23068
|
+
}
|
|
23069
|
+
set Transaction(value) {
|
|
23070
|
+
this.DataviewManager.CurrentDataviewManager.Transaction = value;
|
|
23071
|
+
}
|
|
23072
|
+
get Transaction() {
|
|
23073
|
+
return this.DataviewManager.CurrentDataviewManager.Transaction;
|
|
23074
|
+
}
|
|
23075
|
+
get TaskDefinitionId() {
|
|
23076
|
+
if (this.taskDefinitionId === null) {
|
|
23077
|
+
this.taskDefinitionId = new TaskDefinitionId(this._ctlIdx, this.ProgramIsn, this.TaskIsn, this._isPrg);
|
|
23078
|
+
}
|
|
23079
|
+
return this.taskDefinitionId;
|
|
23080
|
+
}
|
|
23081
|
+
static get IsBlockingBatch() {
|
|
23082
|
+
return false;
|
|
23083
|
+
}
|
|
23043
23084
|
constructor(parent) {
|
|
23044
23085
|
super();
|
|
23045
23086
|
this._dvCache = null;
|
|
@@ -23108,47 +23149,6 @@ class Task extends TaskBase {
|
|
|
23108
23149
|
}
|
|
23109
23150
|
this.constructor_1(parent);
|
|
23110
23151
|
}
|
|
23111
|
-
get ParentTask() {
|
|
23112
|
-
return this._parentTask;
|
|
23113
|
-
}
|
|
23114
|
-
set TryingToCommit(value) {
|
|
23115
|
-
this._tryingToCommit = value;
|
|
23116
|
-
}
|
|
23117
|
-
get TryingToCommit() {
|
|
23118
|
-
return this._tryingToCommit;
|
|
23119
|
-
}
|
|
23120
|
-
get TaskService() {
|
|
23121
|
-
if (this._taskService == null)
|
|
23122
|
-
this._taskService = new RemoteTaskService();
|
|
23123
|
-
return this._taskService;
|
|
23124
|
-
}
|
|
23125
|
-
static get CommandsProcessor() {
|
|
23126
|
-
return CommandsProcessorManager.GetCommandsProcessor();
|
|
23127
|
-
}
|
|
23128
|
-
get LogicalStudioParentTask() {
|
|
23129
|
-
if (this.StudioParentTask === null && !super.isMainProg()) {
|
|
23130
|
-
return GuiDataCollection.MGDataTable.GetMainProgByCtlIdx(this.ContextID, this._ctlIdx);
|
|
23131
|
-
}
|
|
23132
|
-
return this.StudioParentTask;
|
|
23133
|
-
}
|
|
23134
|
-
get KnownToServer() {
|
|
23135
|
-
return this._knownToServer;
|
|
23136
|
-
}
|
|
23137
|
-
set Transaction(value) {
|
|
23138
|
-
this.DataviewManager.CurrentDataviewManager.Transaction = value;
|
|
23139
|
-
}
|
|
23140
|
-
get Transaction() {
|
|
23141
|
-
return this.DataviewManager.CurrentDataviewManager.Transaction;
|
|
23142
|
-
}
|
|
23143
|
-
get TaskDefinitionId() {
|
|
23144
|
-
if (this.taskDefinitionId === null) {
|
|
23145
|
-
this.taskDefinitionId = new TaskDefinitionId(this._ctlIdx, this.ProgramIsn, this.TaskIsn, this._isPrg);
|
|
23146
|
-
}
|
|
23147
|
-
return this.taskDefinitionId;
|
|
23148
|
-
}
|
|
23149
|
-
static get IsBlockingBatch() {
|
|
23150
|
-
return false;
|
|
23151
|
-
}
|
|
23152
23152
|
constructor_0() {
|
|
23153
23153
|
this.ActionManager = new ActionManager();
|
|
23154
23154
|
this.DataView = new DataView(this);
|
|
@@ -25646,6 +25646,9 @@ class CompMainPrgTable {
|
|
|
25646
25646
|
}
|
|
25647
25647
|
|
|
25648
25648
|
class MGData {
|
|
25649
|
+
get ForceModal() {
|
|
25650
|
+
return this.forceModal;
|
|
25651
|
+
}
|
|
25649
25652
|
constructor(toClient, toServer, id, parent, isModal, forceModal) {
|
|
25650
25653
|
this._expHandlers = null;
|
|
25651
25654
|
this._id = 0;
|
|
@@ -25666,9 +25669,6 @@ class MGData {
|
|
|
25666
25669
|
else
|
|
25667
25670
|
this.constructor_1(id, parent, isModal, forceModal);
|
|
25668
25671
|
}
|
|
25669
|
-
get ForceModal() {
|
|
25670
|
-
return this.forceModal;
|
|
25671
|
-
}
|
|
25672
25672
|
constructor_0(id, parent, isModal) {
|
|
25673
25673
|
this._timerHandlers = new HandlersTable();
|
|
25674
25674
|
this._expHandlers = new HandlersTable();
|
|
@@ -29810,13 +29810,6 @@ class VerifyCommand extends ClientTargetedCommandBase {
|
|
|
29810
29810
|
}
|
|
29811
29811
|
|
|
29812
29812
|
class EnhancedVerifyCommand extends VerifyCommand {
|
|
29813
|
-
constructor() {
|
|
29814
|
-
super();
|
|
29815
|
-
this._buttonsID = '\0';
|
|
29816
|
-
this._image = '\0';
|
|
29817
|
-
this._returnValStr = null;
|
|
29818
|
-
this._returnVal = null;
|
|
29819
|
-
}
|
|
29820
29813
|
ProcessMessageBoxResponse(task, returnValue) {
|
|
29821
29814
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29822
29815
|
if (task !== null)
|
|
@@ -29849,6 +29842,13 @@ class EnhancedVerifyCommand extends VerifyCommand {
|
|
|
29849
29842
|
break;
|
|
29850
29843
|
}
|
|
29851
29844
|
}
|
|
29845
|
+
constructor() {
|
|
29846
|
+
super();
|
|
29847
|
+
this._buttonsID = '\0';
|
|
29848
|
+
this._image = '\0';
|
|
29849
|
+
this._returnValStr = null;
|
|
29850
|
+
this._returnVal = null;
|
|
29851
|
+
}
|
|
29852
29852
|
}
|
|
29853
29853
|
|
|
29854
29854
|
class ResetRangeCommand extends ClientTargetedCommandBase {
|
|
@@ -29953,12 +29953,6 @@ class ResetLocateCommand extends ClientTargetedCommandBase {
|
|
|
29953
29953
|
}
|
|
29954
29954
|
|
|
29955
29955
|
class ResultCommand extends ClientTargetedCommandBase {
|
|
29956
|
-
constructor() {
|
|
29957
|
-
super();
|
|
29958
|
-
this._isNull = false;
|
|
29959
|
-
this._attr = StorageAttribute.NONE;
|
|
29960
|
-
this._val = null;
|
|
29961
|
-
}
|
|
29962
29956
|
Execute(res) {
|
|
29963
29957
|
return __awaiter(this, void 0, void 0, function* () {
|
|
29964
29958
|
if (this._isNull)
|
|
@@ -29986,6 +29980,12 @@ class ResultCommand extends ClientTargetedCommandBase {
|
|
|
29986
29980
|
break;
|
|
29987
29981
|
}
|
|
29988
29982
|
}
|
|
29983
|
+
constructor() {
|
|
29984
|
+
super();
|
|
29985
|
+
this._isNull = false;
|
|
29986
|
+
this._attr = StorageAttribute.NONE;
|
|
29987
|
+
this._val = null;
|
|
29988
|
+
}
|
|
29989
29989
|
}
|
|
29990
29990
|
|
|
29991
29991
|
class AddSortCommand extends ClientTargetedCommandBase {
|
|
@@ -30356,19 +30356,9 @@ class CommandsTable {
|
|
|
30356
30356
|
}
|
|
30357
30357
|
}
|
|
30358
30358
|
|
|
30359
|
-
let CurrentClientVersion = '4.1000.0-dev4100.
|
|
30359
|
+
let CurrentClientVersion = '4.1000.0-dev4100.113';
|
|
30360
30360
|
|
|
30361
30361
|
class ClientManager {
|
|
30362
|
-
constructor() {
|
|
30363
|
-
this._globalUniqueSessionId = null;
|
|
30364
|
-
this._buttonIsClicked = false;
|
|
30365
|
-
RuntimeContextBase.Instance.Init(RemoteCommandsProcessor.RC_NO_CONTEXT_ID);
|
|
30366
|
-
LastFocusedManager.Instance.Init(MGDataCollection.Instance);
|
|
30367
|
-
LastFocusedManager.Instance.LastActionTime = Misc.getSystemMilliseconds();
|
|
30368
|
-
RemoteCommandsProcessor.ShouldScrambleAndUnscrambleMessages = true;
|
|
30369
|
-
this._globalUniqueSessionId = UniqueIDUtils.GetUniqueMachineID() + "_";
|
|
30370
|
-
this.RegisterDelegates();
|
|
30371
|
-
}
|
|
30372
30362
|
static get Instance() {
|
|
30373
30363
|
if (ClientManager._instance === null)
|
|
30374
30364
|
ClientManager._instance = new ClientManager();
|
|
@@ -30570,6 +30560,16 @@ class ClientManager {
|
|
|
30570
30560
|
Logger.Instance.WriteToLog("-----------------------------------------------------------------------------", true);
|
|
30571
30561
|
}
|
|
30572
30562
|
}
|
|
30563
|
+
constructor() {
|
|
30564
|
+
this._globalUniqueSessionId = null;
|
|
30565
|
+
this._buttonIsClicked = false;
|
|
30566
|
+
RuntimeContextBase.Instance.Init(RemoteCommandsProcessor.RC_NO_CONTEXT_ID);
|
|
30567
|
+
LastFocusedManager.Instance.Init(MGDataCollection.Instance);
|
|
30568
|
+
LastFocusedManager.Instance.LastActionTime = Misc.getSystemMilliseconds();
|
|
30569
|
+
RemoteCommandsProcessor.ShouldScrambleAndUnscrambleMessages = true;
|
|
30570
|
+
this._globalUniqueSessionId = UniqueIDUtils.GetUniqueMachineID() + "_";
|
|
30571
|
+
this.RegisterDelegates();
|
|
30572
|
+
}
|
|
30573
30573
|
InitGuiManager() {
|
|
30574
30574
|
Manager.EventsManager = EventsManager.Instance;
|
|
30575
30575
|
Manager.DefaultServerName = ServerConfig.Instance.getServer();
|