@magic-xpa/engine 4.801.0-dev481.233 → 4.801.0-dev481.237

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.
Files changed (117) hide show
  1. package/bundles/magic-xpa-engine.umd.js +153 -167
  2. package/bundles/magic-xpa-engine.umd.js.map +1 -1
  3. package/bundles/magic-xpa-engine.umd.min.js +1 -1
  4. package/bundles/magic-xpa-engine.umd.min.js.map +1 -1
  5. package/esm2015/src/ClientManager.js +2 -2
  6. package/esm2015/src/CurrentClientVersion.js +2 -2
  7. package/esm2015/src/GUIManager.js +2 -2
  8. package/esm2015/src/GuiEventsProcessor.js +5 -5
  9. package/esm2015/src/commands/ClientToServer/BrowserEscEventCommand.js +2 -2
  10. package/esm2015/src/commands/ClientToServer/ClientOriginatedCommand.js +2 -2
  11. package/esm2015/src/commands/ClientToServer/ClientOriginatedCommandSerializer.js +3 -3
  12. package/esm2015/src/commands/ClientToServer/ColumnSortEventCommand.js +2 -2
  13. package/esm2015/src/commands/ClientToServer/ComputeEventCommand.js +2 -2
  14. package/esm2015/src/commands/ClientToServer/ContextTerminationEventCommand.js +2 -2
  15. package/esm2015/src/commands/ClientToServer/ContextTimeoutResetCommand.js +2 -2
  16. package/esm2015/src/commands/ClientToServer/DataviewCommand.js +2 -2
  17. package/esm2015/src/commands/ClientToServer/EvaluateCommand.js +2 -2
  18. package/esm2015/src/commands/ClientToServer/EventCommand.js +2 -2
  19. package/esm2015/src/commands/ClientToServer/ExecOperCommand.js +2 -2
  20. package/esm2015/src/commands/ClientToServer/FetchDataControlValuesEventCommand.js +2 -2
  21. package/esm2015/src/commands/ClientToServer/IndexChangeEventCommand.js +2 -2
  22. package/esm2015/src/commands/ClientToServer/IniputForceWriteCommand.js +2 -2
  23. package/esm2015/src/commands/ClientToServer/NonReversibleExitEventCommand.js +2 -2
  24. package/esm2015/src/commands/ClientToServer/QueryCommand.js +2 -2
  25. package/esm2015/src/commands/ClientToServer/RecomputeCommand.js +2 -2
  26. package/esm2015/src/commands/ClientToServer/RefreshEventCommand.js +2 -2
  27. package/esm2015/src/commands/ClientToServer/RefreshScreenEventCommand.js +2 -2
  28. package/esm2015/src/commands/ClientToServer/RollbackEventCommand.js +2 -2
  29. package/esm2015/src/commands/ClientToServer/SubformOpenEventCommand.js +2 -2
  30. package/esm2015/src/commands/ClientToServer/SubformRefreshEventCommand.js +2 -2
  31. package/esm2015/src/commands/ClientToServer/TransactionCommand.js +2 -2
  32. package/esm2015/src/commands/ClientToServer/WriteMessageToServerLogCommand.js +2 -2
  33. package/esm2015/src/data/DataView.js +2 -2
  34. package/esm2015/src/data/Field.js +2 -2
  35. package/esm2015/src/data/Record.js +4 -4
  36. package/esm2015/src/data/RecordsTable.js +2 -2
  37. package/esm2015/src/data/TaskTransactionManager.js +2 -2
  38. package/esm2015/src/data/XMLBasedDcValuesBuilder.js +3 -3
  39. package/esm2015/src/env/Environment.js +1 -7
  40. package/esm2015/src/event/Event.js +6 -14
  41. package/esm2015/src/event/EventsManager.js +32 -32
  42. package/esm2015/src/event/IEventsManager.js +1 -1
  43. package/esm2015/src/event/RunTimeEvent.js +7 -7
  44. package/esm2015/src/exp/ExpressionEvaluator.js +21 -21
  45. package/esm2015/src/exp/ExpressionLocalJpn.js +3 -3
  46. package/esm2015/src/gui/MgControl.js +1 -1
  47. package/esm2015/src/gui/MgForm.js +9 -9
  48. package/esm2015/src/http/client/HttpClientAsync.js +4 -4
  49. package/esm2015/src/http/client/HttpClientBase.js +4 -4
  50. package/esm2015/src/http/client/HttpClientSync.js +3 -3
  51. package/esm2015/src/remote/RemoteCommandsProcessor.js +7 -8
  52. package/esm2015/src/rt/Boundary.js +4 -4
  53. package/esm2015/src/rt/DataviewHeaderBase.js +1 -1
  54. package/esm2015/src/rt/DataviewHeaderFactory.js +2 -2
  55. package/esm2015/src/rt/DataviewHeadersSaxHandler.js +2 -2
  56. package/esm2015/src/rt/Operation.js +5 -5
  57. package/esm2015/src/rt/RemoteDataviewHeader.js +6 -6
  58. package/esm2015/src/rt/Transaction.js +2 -2
  59. package/esm2015/src/tasks/MGDataCollection.js +3 -3
  60. package/esm2015/src/tasks/RemoteTaskService.js +3 -3
  61. package/esm2015/src/tasks/Task.js +9 -9
  62. package/esm2015/src/tasks/TaskServiceBase.js +1 -1
  63. package/esm2015/src/tasks/sort/SortCollection.js +4 -4
  64. package/esm2015/src/util/FlowMonitorQueue.js +2 -2
  65. package/esm2015/src/util/Process.js +2 -2
  66. package/esm2015/src/util/ReturnResult.js +3 -3
  67. package/fesm2015/magic-xpa-engine.js +153 -167
  68. package/fesm2015/magic-xpa-engine.js.map +1 -1
  69. package/package.json +4 -4
  70. package/src/GuiEventsProcessor.d.ts +1 -1
  71. package/src/commands/ClientToServer/BrowserEscEventCommand.d.ts +1 -2
  72. package/src/commands/ClientToServer/ClientOriginatedCommand.d.ts +1 -2
  73. package/src/commands/ClientToServer/ColumnSortEventCommand.d.ts +1 -2
  74. package/src/commands/ClientToServer/ComputeEventCommand.d.ts +1 -2
  75. package/src/commands/ClientToServer/ContextTerminationEventCommand.d.ts +1 -2
  76. package/src/commands/ClientToServer/ContextTimeoutResetCommand.d.ts +1 -2
  77. package/src/commands/ClientToServer/DataviewCommand.d.ts +1 -2
  78. package/src/commands/ClientToServer/EvaluateCommand.d.ts +1 -2
  79. package/src/commands/ClientToServer/EventCommand.d.ts +1 -2
  80. package/src/commands/ClientToServer/ExecOperCommand.d.ts +1 -2
  81. package/src/commands/ClientToServer/FetchDataControlValuesEventCommand.d.ts +1 -2
  82. package/src/commands/ClientToServer/IndexChangeEventCommand.d.ts +1 -2
  83. package/src/commands/ClientToServer/IniputForceWriteCommand.d.ts +1 -2
  84. package/src/commands/ClientToServer/NonReversibleExitEventCommand.d.ts +1 -2
  85. package/src/commands/ClientToServer/QueryCommand.d.ts +1 -2
  86. package/src/commands/ClientToServer/RecomputeCommand.d.ts +1 -2
  87. package/src/commands/ClientToServer/RefreshEventCommand.d.ts +1 -2
  88. package/src/commands/ClientToServer/RefreshScreenEventCommand.d.ts +1 -2
  89. package/src/commands/ClientToServer/RollbackEventCommand.d.ts +1 -2
  90. package/src/commands/ClientToServer/SubformOpenEventCommand.d.ts +1 -2
  91. package/src/commands/ClientToServer/SubformRefreshEventCommand.d.ts +1 -2
  92. package/src/commands/ClientToServer/TransactionCommand.d.ts +1 -2
  93. package/src/commands/ClientToServer/WriteMessageToServerLogCommand.d.ts +1 -2
  94. package/src/data/RecordsTable.d.ts +1 -2
  95. package/src/data/XMLBasedDcValuesBuilder.d.ts +1 -1
  96. package/src/env/Environment.d.ts +0 -3
  97. package/src/event/Event.d.ts +0 -3
  98. package/src/event/EventsManager.d.ts +7 -8
  99. package/src/event/IEventsManager.d.ts +5 -6
  100. package/src/exp/ExpressionEvaluator.d.ts +2 -2
  101. package/src/exp/ExpressionLocalJpn.d.ts +2 -2
  102. package/src/gui/MgForm.d.ts +4 -4
  103. package/src/http/client/HttpClientAsync.d.ts +2 -2
  104. package/src/http/client/HttpClientBase.d.ts +2 -2
  105. package/src/http/client/HttpClientSync.d.ts +2 -2
  106. package/src/remote/RemoteCommandsProcessor.d.ts +1 -1
  107. package/src/rt/DataviewHeaderBase.d.ts +1 -1
  108. package/src/rt/DataviewHeaderFactory.d.ts +1 -1
  109. package/src/rt/Operation.d.ts +1 -1
  110. package/src/rt/RemoteDataviewHeader.d.ts +1 -2
  111. package/src/rt/Transaction.d.ts +1 -1
  112. package/src/tasks/RemoteTaskService.d.ts +2 -3
  113. package/src/tasks/Task.d.ts +1 -1
  114. package/src/tasks/TaskServiceBase.d.ts +2 -4
  115. package/src/tasks/sort/SortCollection.d.ts +2 -3
  116. package/src/util/FlowMonitorQueue.d.ts +1 -1
  117. package/src/util/Process.d.ts +1 -1
@@ -1072,7 +1072,7 @@
1072
1072
  enumerable: false,
1073
1073
  configurable: true
1074
1074
  });
1075
- ClientOriginatedCommand.prototype.SerializeCommandData = function (refHasChildElements) {
1075
+ ClientOriginatedCommand.prototype.SerializeCommandData = function () {
1076
1076
  return null;
1077
1077
  };
1078
1078
  ClientOriginatedCommand.prototype.SerializeDataAfterCommand = function () {
@@ -1202,7 +1202,7 @@
1202
1202
  enumerable: false,
1203
1203
  configurable: true
1204
1204
  });
1205
- EventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
1205
+ EventCommand.prototype.SerializeCommandData = function () {
1206
1206
  var helper = new CommandSerializationHelper();
1207
1207
  helper.SerializeTaskTag(this.TaskTag);
1208
1208
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -1226,7 +1226,7 @@
1226
1226
  _this.Rollback = exports.RollbackEventCommand_RollbackType.NONE;
1227
1227
  return _this;
1228
1228
  }
1229
- RollbackEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
1229
+ RollbackEventCommand.prototype.SerializeCommandData = function () {
1230
1230
  var helper = new CommandSerializationHelper();
1231
1231
  helper.SerializeTaskTag(this.TaskTag);
1232
1232
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -2575,7 +2575,7 @@
2575
2575
  MgPriorityQueue.DEFAULT_INITIAL_CAPACITY = 11;
2576
2576
 
2577
2577
  var Event = /** @class */ (function () {
2578
- function Event(evtOrAType, ctlIdx) {
2578
+ function Event() {
2579
2579
  this.Exp = null;
2580
2580
  this._forceExit = utils.ForceExit.None;
2581
2581
  this.kbdItm = null;
@@ -2600,12 +2600,7 @@
2600
2600
  this.PublicName = null;
2601
2601
  this.UserEvt = null;
2602
2602
  this.UserEvtTaskTag = null;
2603
- if (arguments.length === 0)
2604
- this.constructor_0();
2605
- else if (arguments.length === 1 && (evtOrAType === null || evtOrAType instanceof Event))
2606
- this.constructor_1(evtOrAType);
2607
- else
2608
- this.constructor_4(evtOrAType);
2603
+ this.constructor_0();
2609
2604
  }
2610
2605
  Event.prototype.constructor_0 = function () {
2611
2606
  this.InternalEvent = mscorelib.Int32.MinValue;
@@ -2623,9 +2618,6 @@
2623
2618
  this._userEvtIdx = evt._userEvtIdx;
2624
2619
  this._timestamp = 0;
2625
2620
  };
2626
- Event.prototype.constructor_4 = function (aType) {
2627
- this.setType(aType);
2628
- };
2629
2621
  Object.defineProperty(Event.prototype, "ForceExit", {
2630
2622
  get: function () {
2631
2623
  return this._forceExit;
@@ -2737,7 +2729,7 @@
2737
2729
  if (comma > -1) {
2738
2730
  var ueTaskId = userValue.substr(0, comma);
2739
2731
  if (taskRef !== null)
2740
- ueTaskId = taskRef.TaskService.GetEventTaskId(taskRef, ueTaskId, this);
2732
+ ueTaskId = taskRef.TaskService.GetEventTaskId(ueTaskId);
2741
2733
  var ueTask = AccessHelper.mgDataTable.GetTaskByID(ueTaskId);
2742
2734
  var ueIdx = utils.XmlParser.getInt(userValue.substr(comma + 1));
2743
2735
  if (ueTask !== null) {
@@ -2824,7 +2816,7 @@
2824
2816
  bEqual = (name1 === name2);
2825
2817
  }
2826
2818
  else if (this._type === ConstInterface.EVENT_TYPE_INTERNAL && evt._type === ConstInterface.EVENT_TYPE_SYSTEM) {
2827
- if (LastFocusedManager.Instance.getCurrTask() !== null && (AccessHelper.eventsManager.getMatchingAction(LastFocusedManager.Instance.getCurrTask(), evt.getKbdItm())) === this.getInternalCode())
2819
+ if (LastFocusedManager.Instance.getCurrTask() !== null && (AccessHelper.eventsManager.getMatchingAction(evt.getKbdItm())) === this.getInternalCode())
2828
2820
  bEqual = true;
2829
2821
  }
2830
2822
  else if (this._type === ConstInterface.EVENT_TYPE_USER && evt._type !== ConstInterface.EVENT_TYPE_USER) {
@@ -3855,7 +3847,7 @@
3855
3847
  if (currType === utils.StorageAttribute.ALPHA) {
3856
3848
  try {
3857
3849
  pic = gui.PIC.buildPicture(newType, currValue, fld.getTask().getCompIdx(), true);
3858
- this._paramVals[paramNum] = gui.DisplayConvertor.Instance.disp2mg(currValue, "", pic, fld.getTask().getCompIdx(), gui.BlobType.CONTENT_TYPE_UNKNOWN);
3850
+ this._paramVals[paramNum] = gui.DisplayConvertor.Instance.disp2mg(currValue, pic, fld.getTask().getCompIdx(), gui.BlobType.CONTENT_TYPE_UNKNOWN);
3859
3851
  sameType = true;
3860
3852
  }
3861
3853
  catch (exception) {
@@ -4192,12 +4184,12 @@
4192
4184
  else if (arguments.length === 3 && (taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt === null || taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt instanceof gui.MgControlBase) && (ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask === null || ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask instanceof mscorelib.List) && (ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame === null || ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame.constructor === Boolean))
4193
4185
  _this.constructor_14(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask, ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame);
4194
4186
  else if (arguments.length === 3 && (taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt === null || taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt instanceof gui.MgControlBase) && (ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask === null || ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask.constructor === Number) && (ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame === null || ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame.constructor === Number))
4195
- _this.constructor_15(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask, ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame);
4187
+ _this.constructor_15(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask);
4196
4188
  else if (arguments.length === 6)
4197
- _this.constructor_16(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask, ignoreSpecifiedControlOrGuiTriggeredEventOrLineOrXOrControlOrActivatedFromMDIFrame, yOrCtlIdx, width, height);
4189
+ _this.constructor_16(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt);
4198
4190
  else if (arguments.length === 2 && (taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt === null || taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt instanceof Event) && (ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask === null || ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask instanceof RunTimeEvent)) {
4199
4191
  _super.prototype.constructor_1.call(_this, taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt);
4200
- _this.constructor_17(taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt, ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask);
4192
+ _this.constructor_17(ctrlRefOrGuiTriggeredEventOrLineOrControlsListOrDirectionOrColumnHeaderOrRtEvtOrCurrentTask);
4201
4193
  }
4202
4194
  else if (arguments.length === 1 && taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt instanceof RunTimeEvent)
4203
4195
  Object.assign(_this, taskRefOrCtrlRefOrTaskrefOrFldRefOrEvt);
@@ -4285,14 +4277,14 @@
4285
4277
  this.constructor_8(ctrlRef, guiTriggeredEvent);
4286
4278
  this._controlsList = controlsList;
4287
4279
  };
4288
- RunTimeEvent.prototype.constructor_15 = function (ctrlRef, direction, line) {
4280
+ RunTimeEvent.prototype.constructor_15 = function (ctrlRef, direction) {
4289
4281
  this.constructor_8(ctrlRef, true);
4290
4282
  this._direction = direction;
4291
4283
  };
4292
- RunTimeEvent.prototype.constructor_16 = function (ctrlRef, columnHeader, x, y, width, height) {
4284
+ RunTimeEvent.prototype.constructor_16 = function (ctrlRef) {
4293
4285
  this.constructor_8(ctrlRef, true);
4294
4286
  };
4295
- RunTimeEvent.prototype.constructor_17 = function (evt, rtEvt) {
4287
+ RunTimeEvent.prototype.constructor_17 = function (rtEvt) {
4296
4288
  this._taskTag = rtEvt._taskTag;
4297
4289
  this._task = rtEvt._task;
4298
4290
  this.Control = rtEvt.Control;
@@ -4608,7 +4600,7 @@
4608
4600
  enumerable: false,
4609
4601
  configurable: true
4610
4602
  });
4611
- FlowMonitorQueue.prototype.addTaskCngMode = function (contextID, newTaskMode, taskInfo) {
4603
+ FlowMonitorQueue.prototype.addTaskCngMode = function (newTaskMode, taskInfo) {
4612
4604
  var info = "Task Mode Change - ";
4613
4605
  if (this._enabled && this._isTask) {
4614
4606
  var activityItem = new ActivityItem(this, FlowMonitorQueue.ACT_TASK, FlowMonitorInterface.FLWMTR_CHNG_MODE);
@@ -5170,7 +5162,7 @@
5170
5162
  enumerable: false,
5171
5163
  configurable: true
5172
5164
  });
5173
- ExecOperCommand.prototype.SerializeCommandData = function (refHasChildElements) {
5165
+ ExecOperCommand.prototype.SerializeCommandData = function () {
5174
5166
  var helper = new CommandSerializationHelper();
5175
5167
  var execStackExists = this.ExecutionStack !== null && !this.ExecutionStack.empty();
5176
5168
  helper.SerializeTaskTag(this.TaskTag);
@@ -5484,7 +5476,7 @@
5484
5476
  switch (_a.label) {
5485
5477
  case 0:
5486
5478
  httpResponse = null;
5487
- this.prepareRequest(httpMethod, urlString);
5479
+ this.prepareRequest();
5488
5480
  httpCommunicationTimeoutMS = HttpClientEvents.GetHttpCommunicationTimeout();
5489
5481
  clientID = HttpClientEvents.GetGlobalUniqueSessionID();
5490
5482
  executionAttempts = 0;
@@ -5517,7 +5509,7 @@
5517
5509
  }
5518
5510
  requestTime = utils.Misc.getSystemMilliseconds();
5519
5511
  this.LogRequestInfo(!util.isNullOrUndefined(requestContent) ? requestContent.length : 0, requestTime, false);
5520
- return [4 /*yield*/, this.sendRequestToServer(httpMethod, urlString, httpHeaders, requestContent, contentFromServer, timeBeforeRequest, clientID)];
5512
+ return [4 /*yield*/, this.sendRequestToServer(httpMethod, urlString, httpHeaders, requestContent, contentFromServer)];
5521
5513
  case 3:
5522
5514
  httpResponse = _a.sent();
5523
5515
  this.logResponse(httpResponse, clientID, urlString, contentFromServer, timeBeforeRequest);
@@ -5526,7 +5518,7 @@
5526
5518
  case 4:
5527
5519
  ex_2 = _a.sent();
5528
5520
  if (utils.Logger.Instance.LogLevel === utils.Logger_LogLevels.Basic)
5529
- utils.Logger.Instance.WriteBasicErrorToLog(HttpClientEvents.GetRuntimeCtxID(), HttpClientEvents.GetSessionCounter(), clientID, HttpClientEvents.ShouldDisplayGenericError() ? "-" : new URL(urlString).host, ex_2);
5521
+ utils.Logger.Instance.WriteBasicErrorToLog();
5530
5522
  else
5531
5523
  utils.Logger.Instance.WriteWarningToLog(ex_2);
5532
5524
  this.handleHttpErrorException(ex_2, urlString);
@@ -5584,7 +5576,7 @@
5584
5576
  _this.headers = new Headers();
5585
5577
  return _this;
5586
5578
  }
5587
- HttpClientSync.prototype.prepareRequest = function (httpMethod, urlString) {
5579
+ HttpClientSync.prototype.prepareRequest = function () {
5588
5580
  };
5589
5581
  HttpClientSync.prototype.addHeaders = function (urlString, useCache, httpHeaders, clientID) {
5590
5582
  if (!urlString.startsWith("/")) {
@@ -5595,7 +5587,7 @@
5595
5587
  }
5596
5588
  return httpHeaders;
5597
5589
  };
5598
- HttpClientSync.prototype.sendRequestToServer = function (httpMethod, urlString, httpHeaders, requestContent, contentFromServer, timeBeforeRequest, clientID) {
5590
+ HttpClientSync.prototype.sendRequestToServer = function (httpMethod, urlString, httpHeaders, requestContent, contentFromServer) {
5599
5591
  return __awaiter(this, void 0, void 0, function () {
5600
5592
  return __generator(this, function (_a) {
5601
5593
  switch (_a.label) {
@@ -5636,7 +5628,7 @@
5636
5628
  _this.httpClient = httpClient;
5637
5629
  return _this;
5638
5630
  }
5639
- HttpClientAsync.prototype.prepareRequest = function (httpmethod, urlString) {
5631
+ HttpClientAsync.prototype.prepareRequest = function () {
5640
5632
  };
5641
5633
  HttpClientAsync.prototype.addHeaders = function (urlString, useCache, httpHeaders, clientID) {
5642
5634
  if (!urlString.startsWith("/"))
@@ -5645,7 +5637,7 @@
5645
5637
  httpHeaders = httpHeaders.append("Cache-Control", 'no-cache');
5646
5638
  return httpHeaders;
5647
5639
  };
5648
- HttpClientAsync.prototype.sendRequestToServer = function (httpMethod, urlString, httpHeaders, requestContent, contentFromServer, timeBeforeRequest, clientID) {
5640
+ HttpClientAsync.prototype.sendRequestToServer = function (httpMethod, urlString, httpHeaders, requestContent, contentFromServer) {
5649
5641
  return __awaiter(this, void 0, void 0, function () {
5650
5642
  var httpResponse;
5651
5643
  return __generator(this, function (_a) {
@@ -5669,7 +5661,7 @@
5669
5661
  if (ex instanceof http.HttpErrorResponse) {
5670
5662
  var statusCode = ex['status'];
5671
5663
  if (statusCode === 404 || statusCode === 403)
5672
- throw new mscorelib.WebException(new Error("bad URL: " + urlString + " - StatusCode = " + statusCode), statusCode);
5664
+ throw new mscorelib.WebException(new Error("bad URL: " + urlString + " - StatusCode = " + statusCode));
5673
5665
  }
5674
5666
  };
5675
5667
  HttpClientAsync.prototype.shouldRetry = function (httpCommunicationTimeoutMS, urlString, communicationsFailureHandler, ex, startTimeRef) {
@@ -6165,11 +6157,11 @@
6165
6157
  };
6166
6158
  MGDataCollection.prototype.GetMainProgByCtlIdx = function (contextIDOrCtlIdx, ctlIdx) {
6167
6159
  if (arguments.length === 2)
6168
- return this.GetMainProgByCtlIdx_0(contextIDOrCtlIdx, ctlIdx);
6160
+ return this.GetMainProgByCtlIdx_0(ctlIdx);
6169
6161
  else
6170
6162
  return this.GetMainProgByCtlIdx_1(contextIDOrCtlIdx);
6171
6163
  };
6172
- MGDataCollection.prototype.GetMainProgByCtlIdx_0 = function (contextID, ctlIdx) {
6164
+ MGDataCollection.prototype.GetMainProgByCtlIdx_0 = function (ctlIdx) {
6173
6165
  var task = null;
6174
6166
  for (var i = 0; i < this.getSize() && task == null; i++) {
6175
6167
  var mgd = this.getMGData(i);
@@ -7038,7 +7030,7 @@
7038
7030
  if (requestedURL.startsWith("/"))
7039
7031
  requestedURL = ServerConfig.Instance.getProtocol() + "://" + ServerConfig.Instance.getServer() + requestedURL;
7040
7032
  spinnerTimer = rxjs.timer(50, 50);
7041
- spinnerTimerSubscription = spinnerTimer.subscribe(function (state) {
7033
+ spinnerTimerSubscription = spinnerTimer.subscribe(function () {
7042
7034
  AccessHelper.eventsManager.CheckAndShowSpinner(true);
7043
7035
  });
7044
7036
  isError = new mscorelib.RefParam(false);
@@ -7071,7 +7063,7 @@
7071
7063
  });
7072
7064
  });
7073
7065
  };
7074
- RemoteCommandsProcessor.prototype.ClientActivated = function (executionTime) {
7066
+ RemoteCommandsProcessor.prototype.ClientActivated = function () {
7075
7067
  };
7076
7068
  RemoteCommandsProcessor.prototype.BuildUrlSuffix = function (hasContent, isInitialCall) {
7077
7069
  var prefix = ConstInterface.RC_INDICATION + ConstInterface.RC_TOKEN_CTX_ID + gui.RuntimeContextBase.Instance.ContextID;
@@ -7142,7 +7134,7 @@
7142
7134
  HttpClientEvents.GetSessionCounter_Event = this.GetSessionCounter.bind(this);
7143
7135
  HttpClientEvents.CheckAndSetSessionCounter_Event = this.CheckAndSetSessionCounter.bind(this);
7144
7136
  HttpClientEvents.ComputeAndLogRequestInfo_Event = this.ComputeAndLogRequestInfo.bind(this);
7145
- AccessHelper.eventsManager.SpinnerStopped.subscribe(function (clientBusyTime) { return _this.ClientActivated(clientBusyTime); });
7137
+ AccessHelper.eventsManager.SpinnerStopped.subscribe(function (clientBusyTime) { return _this.ClientActivated(); });
7146
7138
  };
7147
7139
  RemoteCommandsProcessor.prototype.ComputeAndLogRequestInfo = function (contentLength, roundTrip, isLoggingResponse) {
7148
7140
  if (!util.isNullOrUndefined(this._requestInfo.serverCallAt)) {
@@ -7860,7 +7852,7 @@
7860
7852
  GUIManager.prototype.abort_0 = function (form) {
7861
7853
  if (form !== null) {
7862
7854
  var mainProgByCtlIdx = AccessHelper.mgDataTable.GetMainProgByCtlIdx(-1, form.getTask().getCtlIdx());
7863
- gui.Manager.Abort(form, mainProgByCtlIdx);
7855
+ gui.Manager.Abort(form);
7864
7856
  }
7865
7857
  };
7866
7858
  GUIManager.prototype.abort_1 = function () {
@@ -8033,7 +8025,7 @@
8033
8025
  strbufZenkaku = null;
8034
8026
  return strRet;
8035
8027
  };
8036
- ExpressionLocalJpn.prototype.eval_op_zimeread = function (dummy) {
8028
+ ExpressionLocalJpn.prototype.eval_op_zimeread = function () {
8037
8029
  var strRet = null;
8038
8030
  var utilImeJpn = gui.Manager.UtilImeJpn;
8039
8031
  if (utilImeJpn !== null)
@@ -9005,7 +8997,7 @@
9005
8997
  enumerable: false,
9006
8998
  configurable: true
9007
8999
  });
9008
- DataviewCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9000
+ DataviewCommand.prototype.SerializeCommandData = function () {
9009
9001
  mscorelib.Debug.Assert(false, "Dataview commands need not be serialized");
9010
9002
  return null;
9011
9003
  };
@@ -9280,7 +9272,7 @@
9280
9272
  _this.IsInternalRefresh = false;
9281
9273
  return _this;
9282
9274
  }
9283
- RefreshEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9275
+ RefreshEventCommand.prototype.SerializeCommandData = function () {
9284
9276
  var helper = new CommandSerializationHelper();
9285
9277
  helper.SerializeTaskTag(this.TaskTag);
9286
9278
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9318,7 +9310,7 @@
9318
9310
  _this.ControlName = null;
9319
9311
  return _this;
9320
9312
  }
9321
- FetchDataControlValuesEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9313
+ FetchDataControlValuesEventCommand.prototype.SerializeCommandData = function () {
9322
9314
  var helper = new CommandSerializationHelper();
9323
9315
  helper.SerializeTaskTag(this.TaskTag);
9324
9316
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9338,7 +9330,7 @@
9338
9330
  _this.ErrorMessage = null;
9339
9331
  return _this;
9340
9332
  }
9341
- WriteMessageToServerLogCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9333
+ WriteMessageToServerLogCommand.prototype.SerializeCommandData = function () {
9342
9334
  var helper = new CommandSerializationHelper();
9343
9335
  helper.SerializeTaskTag(this.TaskTag);
9344
9336
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9356,7 +9348,7 @@
9356
9348
  _this.ExplicitSubformRefresh = false;
9357
9349
  return _this;
9358
9350
  }
9359
- SubformRefreshEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9351
+ SubformRefreshEventCommand.prototype.SerializeCommandData = function () {
9360
9352
  var helper = new CommandSerializationHelper();
9361
9353
  helper.SerializeTaskTag(this.TaskTag);
9362
9354
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9377,7 +9369,7 @@
9377
9369
  _this.CloseSubformOnly = false;
9378
9370
  return _this;
9379
9371
  }
9380
- BrowserEscEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9372
+ BrowserEscEventCommand.prototype.SerializeCommandData = function () {
9381
9373
  var helper = new CommandSerializationHelper();
9382
9374
  helper.SerializeTaskTag(this.TaskTag);
9383
9375
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9398,7 +9390,7 @@
9398
9390
  _this.KeyIndex = 0;
9399
9391
  return _this;
9400
9392
  }
9401
- IndexChangeEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9393
+ IndexChangeEventCommand.prototype.SerializeCommandData = function () {
9402
9394
  var helper = new CommandSerializationHelper();
9403
9395
  helper.SerializeTaskTag(this.TaskTag);
9404
9396
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9420,7 +9412,7 @@
9420
9412
  _this.Direction = 0;
9421
9413
  return _this;
9422
9414
  }
9423
- ColumnSortEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9415
+ ColumnSortEventCommand.prototype.SerializeCommandData = function () {
9424
9416
  var helper = new CommandSerializationHelper();
9425
9417
  helper.SerializeTaskTag(this.TaskTag);
9426
9418
  helper.SerializeFldId(this.FldId);
@@ -9443,7 +9435,7 @@
9443
9435
  _this.RefreshMode = 0;
9444
9436
  return _this;
9445
9437
  }
9446
- RefreshScreenEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9438
+ RefreshScreenEventCommand.prototype.SerializeCommandData = function () {
9447
9439
  var helper = new CommandSerializationHelper();
9448
9440
  helper.SerializeTaskTag(this.TaskTag);
9449
9441
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9464,7 +9456,7 @@
9464
9456
  _this.DitIdx = 0;
9465
9457
  return _this;
9466
9458
  }
9467
- SubformOpenEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9459
+ SubformOpenEventCommand.prototype.SerializeCommandData = function () {
9468
9460
  var helper = new CommandSerializationHelper();
9469
9461
  helper.SerializeTaskTag(this.TaskTag);
9470
9462
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9484,7 +9476,7 @@
9484
9476
  _this.Subforms = false;
9485
9477
  return _this;
9486
9478
  }
9487
- ComputeEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9479
+ ComputeEventCommand.prototype.SerializeCommandData = function () {
9488
9480
  var helper = new CommandSerializationHelper();
9489
9481
  helper.SerializeTaskTag(this.TaskTag);
9490
9482
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9505,7 +9497,7 @@
9505
9497
  _this.CloseSubformOnly = false;
9506
9498
  return _this;
9507
9499
  }
9508
- NonReversibleExitEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9500
+ NonReversibleExitEventCommand.prototype.SerializeCommandData = function () {
9509
9501
  var helper = new CommandSerializationHelper();
9510
9502
  helper.SerializeTaskTag(this.TaskTag);
9511
9503
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9535,7 +9527,7 @@
9535
9527
  enumerable: false,
9536
9528
  configurable: true
9537
9529
  });
9538
- RecomputeCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9530
+ RecomputeCommand.prototype.SerializeCommandData = function () {
9539
9531
  var helper = new CommandSerializationHelper();
9540
9532
  helper.SerializeTaskTag(this.TaskTag);
9541
9533
  helper.SerializeFldId(this.FldId);
@@ -9564,7 +9556,7 @@
9564
9556
  enumerable: false,
9565
9557
  configurable: true
9566
9558
  });
9567
- TransactionCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9559
+ TransactionCommand.prototype.SerializeCommandData = function () {
9568
9560
  var helper = new CommandSerializationHelper();
9569
9561
  helper.SerializeTaskTag(this.TaskTag);
9570
9562
  helper.SerializeAttribute(ConstInterface.MG_ATTR_OPER, this.Oper);
@@ -9616,7 +9608,7 @@
9616
9608
  enumerable: false,
9617
9609
  configurable: true
9618
9610
  });
9619
- EvaluateCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9611
+ EvaluateCommand.prototype.SerializeCommandData = function () {
9620
9612
  var helper = new CommandSerializationHelper();
9621
9613
  helper.SerializeTaskTag(this.TaskTag);
9622
9614
  helper.SerializeAttribute(ConstInterface.MG_ATTR_EXP_IDX, this.ExpIdx);
@@ -9655,7 +9647,7 @@
9655
9647
  enumerable: false,
9656
9648
  configurable: true
9657
9649
  });
9658
- QueryCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9650
+ QueryCommand.prototype.SerializeCommandData = function () {
9659
9651
  var message = new mscorelib.StringBuilder();
9660
9652
  message.Append(" " + ConstInterface.MG_ATTR_VAL_QUERY_TYPE + "=\"");
9661
9653
  message.Append(this.SerializeQueryCommandData());
@@ -9696,7 +9688,7 @@
9696
9688
  enumerable: false,
9697
9689
  configurable: true
9698
9690
  });
9699
- IniputForceWriteCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9691
+ IniputForceWriteCommand.prototype.SerializeCommandData = function () {
9700
9692
  return " " + ConstInterface.MG_ATTR_VAL_INIPUT_PARAM + "=\"" + utils.XmlParser.escape(this.Text) + "\"";
9701
9693
  };
9702
9694
  IniputForceWriteCommand.prototype.getCommandInfo = function () {
@@ -9710,7 +9702,7 @@
9710
9702
  function ContextTerminationEventCommand() {
9711
9703
  return _super.call(this, utils.InternalInterface.MG_ACT_CONTEXT_TERMINATION) || this;
9712
9704
  }
9713
- ContextTerminationEventCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9705
+ ContextTerminationEventCommand.prototype.SerializeCommandData = function () {
9714
9706
  var helper = new CommandSerializationHelper();
9715
9707
  helper.SerializeTaskTag(this.TaskTag);
9716
9708
  helper.SerializeMagicEvent(this.MagicEvent);
@@ -9728,7 +9720,7 @@
9728
9720
  function ContextTimeoutResetCommand() {
9729
9721
  return _super.call(this, utils.InternalInterface.MG_ACT_CONTEXT_TIMEOUT_RESET) || this;
9730
9722
  }
9731
- ContextTimeoutResetCommand.prototype.SerializeCommandData = function (refHasChildElements) {
9723
+ ContextTimeoutResetCommand.prototype.SerializeCommandData = function () {
9732
9724
  var helper = new CommandSerializationHelper();
9733
9725
  helper.SerializeMagicEvent(this.MagicEvent);
9734
9726
  helper.SerializeAttribute(ConstInterface.MG_ATTR_OBJECT, "1");
@@ -10275,8 +10267,6 @@
10275
10267
  get: function () {
10276
10268
  return true;
10277
10269
  },
10278
- set: function (value) {
10279
- },
10280
10270
  enumerable: false,
10281
10271
  configurable: true
10282
10272
  });
@@ -10284,8 +10274,6 @@
10284
10274
  get: function () {
10285
10275
  return false;
10286
10276
  },
10287
- set: function (value) {
10288
- },
10289
10277
  enumerable: false,
10290
10278
  configurable: true
10291
10279
  });
@@ -10293,8 +10281,6 @@
10293
10281
  get: function () {
10294
10282
  return false;
10295
10283
  },
10296
- set: function (value) {
10297
- },
10298
10284
  enumerable: false,
10299
10285
  configurable: true
10300
10286
  });
@@ -11438,7 +11424,7 @@
11438
11424
  case 33:
11439
11425
  if (_e.sent()) {
11440
11426
  parentTask = destSubForm.getForm().getTask();
11441
- parentTask.TaskService.RemoveRecomputes(parentTask, subformTask);
11427
+ parentTask.TaskService.RemoveRecomputes(parentTask);
11442
11428
  }
11443
11429
  else
11444
11430
  return [3 /*break*/, 41];
@@ -11472,9 +11458,9 @@
11472
11458
  });
11473
11459
  };
11474
11460
  Operation.prototype.operCallParallel = function () {
11475
- Operation.callParallel(this._task, this._publicName, this._argList, this._globalParamsShouldBeCopied, this._prgDescription);
11461
+ Operation.callParallel();
11476
11462
  };
11477
- Operation.callParallel = function (task, publicName, argList, globalParamsShouldBeCopied, prgDescription) {
11463
+ Operation.callParallel = function () {
11478
11464
  };
11479
11465
  Operation.prototype.getCondVal = function () {
11480
11466
  return __awaiter(this, void 0, void 0, function () {
@@ -11529,7 +11515,7 @@
11529
11515
  if (!(this._display === ConstInterface.DISPLAY_STATUS)) return [3 /*break*/, 7];
11530
11516
  if (!mscorelib.NString.IsNullOrEmpty(textToDisplay)) {
11531
11517
  FlowMonitorQueue.Instance.addFlowVerifyInfo(textToDisplay, this._task.GetTaskDetails());
11532
- this._task.GetContextTask().WriteToMessagePane(textToDisplay, false);
11518
+ this._task.GetContextTask().WriteToMessagePane(textToDisplay);
11533
11519
  }
11534
11520
  return [3 /*break*/, 12];
11535
11521
  case 7:
@@ -12948,7 +12934,7 @@
12948
12934
  val1 = valStack.pop();
12949
12935
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
12950
12936
  try {
12951
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, false) === 0);
12937
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) === 0);
12952
12938
  }
12953
12939
  catch (nullValueException) {
12954
12940
  if (nullValueException instanceof NullValueException) {
@@ -12964,7 +12950,7 @@
12964
12950
  val1 = valStack.pop();
12965
12951
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
12966
12952
  try {
12967
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, false) !== 0);
12953
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) !== 0);
12968
12954
  }
12969
12955
  catch (nullValueException) {
12970
12956
  if (nullValueException instanceof NullValueException) {
@@ -12979,7 +12965,7 @@
12979
12965
  val1 = valStack.pop();
12980
12966
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
12981
12967
  try {
12982
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, true) <= 0);
12968
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) <= 0);
12983
12969
  }
12984
12970
  catch (nullValueException) {
12985
12971
  if (nullValueException instanceof NullValueException) {
@@ -12994,7 +12980,7 @@
12994
12980
  val1 = valStack.pop();
12995
12981
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
12996
12982
  try {
12997
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, true) < 0);
12983
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) < 0);
12998
12984
  }
12999
12985
  catch (nullValueException) {
13000
12986
  if (nullValueException instanceof NullValueException) {
@@ -13009,7 +12995,7 @@
13009
12995
  val1 = valStack.pop();
13010
12996
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
13011
12997
  try {
13012
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, true) >= 0);
12998
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) >= 0);
13013
12999
  }
13014
13000
  catch (nullValueException) {
13015
13001
  if (nullValueException instanceof NullValueException) {
@@ -13024,7 +13010,7 @@
13024
13010
  val1 = valStack.pop();
13025
13011
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
13026
13012
  try {
13027
- resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2, true) > 0);
13013
+ resVal.BoolVal = (ExpressionEvaluator.val_cmp_any(val1, val2) > 0);
13028
13014
  }
13029
13015
  catch (nullValueException) {
13030
13016
  if (nullValueException instanceof NullValueException) {
@@ -13522,11 +13508,11 @@
13522
13508
  for (j = 1; j < nArgs; j++) {
13523
13509
  val1 = valStack.pop();
13524
13510
  if (opCode === gui.ExpressionInterface.EXP_OP_MIN) {
13525
- if (ExpressionEvaluator.val_cmp_any(val1, resVal, true) < 0)
13511
+ if (ExpressionEvaluator.val_cmp_any(val1, resVal) < 0)
13526
13512
  this.val_cpy(val1, resVal);
13527
13513
  }
13528
13514
  else {
13529
- if (ExpressionEvaluator.val_cmp_any(val1, resVal, true) > 0)
13515
+ if (ExpressionEvaluator.val_cmp_any(val1, resVal) > 0)
13530
13516
  this.val_cpy(val1, resVal);
13531
13517
  }
13532
13518
  }
@@ -13717,7 +13703,7 @@
13717
13703
  return [3 /*break*/, 217];
13718
13704
  case 114:
13719
13705
  val1 = valStack.pop();
13720
- this.eval_op_delay(val1);
13706
+ this.eval_op_delay();
13721
13707
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
13722
13708
  resVal.BoolVal = true;
13723
13709
  return [3 /*break*/, 217];
@@ -13799,7 +13785,7 @@
13799
13785
  case 128:
13800
13786
  val2 = valStack.pop();
13801
13787
  val1 = valStack.pop();
13802
- return [4 /*yield*/, this.eval_op_rollback(resVal, val1, val2)];
13788
+ return [4 /*yield*/, this.eval_op_rollback(resVal)];
13803
13789
  case 129:
13804
13790
  _b.sent();
13805
13791
  return [3 /*break*/, 217];
@@ -13858,7 +13844,7 @@
13858
13844
  val1 = Exp_params[j];
13859
13845
  valueMatched = void 0;
13860
13846
  try {
13861
- valueMatched = (ExpressionEvaluator.val_cmp_any(val1, resVal, false) === 0);
13847
+ valueMatched = (ExpressionEvaluator.val_cmp_any(val1, resVal) === 0);
13862
13848
  }
13863
13849
  catch (nullValueException) {
13864
13850
  if (nullValueException instanceof NullValueException) {
@@ -13987,7 +13973,7 @@
13987
13973
  if (this._expressionLocalJpn == null)
13988
13974
  resVal.StrVal = val1.StrVal;
13989
13975
  else {
13990
- resVal.StrVal = this._expressionLocalJpn.eval_op_zimeread(val1.MgNumVal.NUM_2_LONG());
13976
+ resVal.StrVal = this._expressionLocalJpn.eval_op_zimeread();
13991
13977
  if (resVal.StrVal == null)
13992
13978
  resVal.StrVal = '';
13993
13979
  }
@@ -14058,7 +14044,7 @@
14058
14044
  Exp_params[nArgs - 1 - j] = valStack.pop();
14059
14045
  try {
14060
14046
  for (j = 1; j < nArgs; j++) {
14061
- if (ExpressionEvaluator.val_cmp_any(Exp_params[0], Exp_params[j], false) === 0) {
14047
+ if (ExpressionEvaluator.val_cmp_any(Exp_params[0], Exp_params[j]) === 0) {
14062
14048
  resVal.BoolVal = true;
14063
14049
  break;
14064
14050
  }
@@ -14406,7 +14392,7 @@
14406
14392
  });
14407
14393
  });
14408
14394
  };
14409
- ExpressionEvaluator.val_cmp_any = function (val1, val2, forceComparer) {
14395
+ ExpressionEvaluator.val_cmp_any = function (val1, val2) {
14410
14396
  var retval = 0;
14411
14397
  var attr1 = val1.Attr;
14412
14398
  var attr2 = val2.Attr;
@@ -14525,9 +14511,9 @@
14525
14511
  resVal.BoolVal = false;
14526
14512
  resVal.Attr = utils.StorageAttribute.BOOLEAN;
14527
14513
  try {
14528
- if (ExpressionEvaluator.val_cmp_any(val1, val2, true) >= 0) {
14514
+ if (ExpressionEvaluator.val_cmp_any(val1, val2) >= 0) {
14529
14515
  val2 = val3;
14530
- if (ExpressionEvaluator.val_cmp_any(val1, val2, true) <= 0)
14516
+ if (ExpressionEvaluator.val_cmp_any(val1, val2) <= 0)
14531
14517
  resVal.BoolVal = true;
14532
14518
  }
14533
14519
  }
@@ -15217,7 +15203,7 @@
15217
15203
  var dow = val1.NUM_2_ULONG();
15218
15204
  resVal.StrVal = displayConvertor.to_a(resVal.StrVal, 10, dow, format, this.ExpTask.getCompIdx());
15219
15205
  };
15220
- ExpressionEvaluator.prototype.eval_op_delay = function (val1) {
15206
+ ExpressionEvaluator.prototype.eval_op_delay = function () {
15221
15207
  };
15222
15208
  ExpressionEvaluator.prototype.eval_op_idle = function (resVal) {
15223
15209
  var n = 0;
@@ -15984,7 +15970,7 @@
15984
15970
  });
15985
15971
  });
15986
15972
  };
15987
- ExpressionEvaluator.prototype.eval_op_rollback = function (resVal, showMessage, generation) {
15973
+ ExpressionEvaluator.prototype.eval_op_rollback = function (resVal) {
15988
15974
  return __awaiter(this, void 0, void 0, function () {
15989
15975
  var task;
15990
15976
  return __generator(this, function (_a) {
@@ -16215,7 +16201,7 @@
16215
16201
  try {
16216
16202
  a = new gui.ExpVal(aDataType, aIsNull, aVal);
16217
16203
  b = new gui.ExpVal(bDataType, bIsNull, bVal);
16218
- result = (ExpressionEvaluator.val_cmp_any(a, b, false) === 0);
16204
+ result = (ExpressionEvaluator.val_cmp_any(a, b) === 0);
16219
16205
  }
16220
16206
  catch (nullValueException) {
16221
16207
  if (nullValueException instanceof NullValueException) {
@@ -16955,7 +16941,7 @@
16955
16941
  }
16956
16942
  return attr;
16957
16943
  };
16958
- ExpressionEvaluator.prototype.GetTopMostForms = function (contextID) {
16944
+ ExpressionEvaluator.prototype.GetTopMostForms = function () {
16959
16945
  return AccessHelper.mgDataTable.GetTopMostForms();
16960
16946
  };
16961
16947
  ExpressionEvaluator.prototype.HandleControlGoto = function (ctrlTask, ctrl, rowNo) {
@@ -17489,7 +17475,7 @@
17489
17475
  try {
17490
17476
  var first = new gui.ExpVal(currFld.getType(), false, this.GetFieldValue(currFldId));
17491
17477
  var second = new gui.ExpVal(currFld.getType(), false, compTo.GetFieldValue(currFldId));
17492
- res = ExpressionEvaluator.val_cmp_any(first, second, false);
17478
+ res = ExpressionEvaluator.val_cmp_any(first, second);
17493
17479
  if (res !== 0)
17494
17480
  break;
17495
17481
  }
@@ -17648,11 +17634,11 @@
17648
17634
  };
17649
17635
  Record.prototype.fillFieldsData = function (fldValInBytesOrFldsVal, recFlags, isCurrRec) {
17650
17636
  if (util.isNullOrUndefined(isCurrRec))
17651
- this.fillFieldsData_0(fldValInBytesOrFldsVal, recFlags);
17637
+ this.fillFieldsData_0();
17652
17638
  else
17653
17639
  this.fillFieldsData_1(fldValInBytesOrFldsVal, recFlags, isCurrRec);
17654
17640
  };
17655
- Record.prototype.fillFieldsData_0 = function (fldValInBytes, recFlags) {
17641
+ Record.prototype.fillFieldsData_0 = function () {
17656
17642
  };
17657
17643
  Record.prototype.fillFieldsData_1 = function (fldsVal, recFlags, isCurrRec) {
17658
17644
  var val = null;
@@ -18374,7 +18360,7 @@
18374
18360
  else
18375
18361
  this.addRec(record);
18376
18362
  };
18377
- RecordsTable.prototype.buildXML = function (fieldsTab, message, skipCurrRec, currRecId) {
18363
+ RecordsTable.prototype.buildXML = function (message, skipCurrRec, currRecId) {
18378
18364
  for (var i = 0; i < this._records.length; i = i + 1) {
18379
18365
  var record = this._records.get_Item(i);
18380
18366
  if (!record.SendToServer || (skipCurrRec && record.getId() === currRecId))
@@ -19288,7 +19274,7 @@
19288
19274
  if (this.hasMinExp()) {
19289
19275
  if (!this._minExpVal.IsNull && !cmpVal.IsNull) {
19290
19276
  try {
19291
- if (ExpressionEvaluator.val_cmp_any(cmpVal, this._minExpVal, true) < 0)
19277
+ if (ExpressionEvaluator.val_cmp_any(cmpVal, this._minExpVal) < 0)
19292
19278
  res = false;
19293
19279
  }
19294
19280
  catch (exception) {
@@ -19307,7 +19293,7 @@
19307
19293
  if (this.hasMaxExp() && res) {
19308
19294
  if (!this._maxExpVal.IsNull && !cmpVal.IsNull) {
19309
19295
  try {
19310
- if (ExpressionEvaluator.val_cmp_any(cmpVal, this._maxExpVal, true) > 0)
19296
+ if (ExpressionEvaluator.val_cmp_any(cmpVal, this._maxExpVal) > 0)
19311
19297
  res = false;
19312
19298
  }
19313
19299
  catch (exception) {
@@ -19398,7 +19384,7 @@
19398
19384
  }
19399
19385
  _this._dataview = dataview;
19400
19386
  _this._linkExp = new YesNoExp(false);
19401
- gui.FieldDef._default_date = gui.DisplayConvertor.Instance.disp2mg(utils.PICInterface.DEFAULT_DATE, null, new gui.PIC("6", utils.StorageAttribute.NUMERIC, _super_1.prototype.getTask.call(_this).getCompIdx()), _super_1.prototype.getTask.call(_this).getCompIdx(), gui.BlobType.CONTENT_TYPE_UNKNOWN);
19387
+ gui.FieldDef._default_date = gui.DisplayConvertor.Instance.disp2mg(utils.PICInterface.DEFAULT_DATE, new gui.PIC("6", utils.StorageAttribute.NUMERIC, _super_1.prototype.getTask.call(_this).getCompIdx()), _super_1.prototype.getTask.call(_this).getCompIdx(), gui.BlobType.CONTENT_TYPE_UNKNOWN);
19402
19388
  return _this;
19403
19389
  }
19404
19390
  Object.defineProperty(Field.prototype, "VirAsReal", {
@@ -20278,7 +20264,7 @@
20278
20264
  var tag = this.parser.getXMLsubstring(endContext);
20279
20265
  this.parser.add2CurrIndex(tag.indexOf(ConstInterface.MG_TAG_DC_VALS) + ConstInterface.MG_TAG_DC_VALS.length);
20280
20266
  var tokensVector = utils.XmlParser.getTokens(this.parser.getXMLsubstring(endContext), utils.XMLConstants.XML_ATTR_DELIM);
20281
- this.dcv = this.CreateDcValues(false);
20267
+ this.dcv = this.CreateDcValues();
20282
20268
  this.InitDCValues(this.dcv, tokensVector);
20283
20269
  }
20284
20270
  return this.dcv;
@@ -21183,7 +21169,7 @@
21183
21169
  skipCurrRec = false;
21184
21170
  if (this.CurrRec != null && this._modifiedRecordsTab.getRecord(this.CurrRec.getId()) != null)
21185
21171
  skipCurrRec = AccessHelper.eventsManager.isForceExitPreRecordUpdate(this.getTask());
21186
- this._modifiedRecordsTab.buildXML(this._fieldsTab, message, skipCurrRec, this.CurrRec.getId());
21172
+ this._modifiedRecordsTab.buildXML(message, skipCurrRec, this.CurrRec.getId());
21187
21173
  if (this._original != null)
21188
21174
  this._original.clearMode();
21189
21175
  for (i = this._modifiedRecordsTab.getSize() - 1; i >= 0; i--) {
@@ -22505,7 +22491,7 @@
22505
22491
  else if (arguments.length === 0)
22506
22492
  _this.constructor_01();
22507
22493
  else if (arguments.length === 2)
22508
- _this.constructor_02(errorDescriptionCodeOrErrorDescriptionOrInnerResult, innerResult);
22494
+ _this.constructor_02(errorDescriptionCodeOrErrorDescriptionOrInnerResult);
22509
22495
  else
22510
22496
  _this.constructor_03(errorDescriptionCodeOrErrorDescriptionOrInnerResult);
22511
22497
  return _this;
@@ -22533,7 +22519,7 @@
22533
22519
  this.success = true;
22534
22520
  this.ErrorId = "";
22535
22521
  };
22536
- ReturnResult.prototype.constructor_02 = function (errorDescription, innerResult) {
22522
+ ReturnResult.prototype.constructor_02 = function (errorDescription) {
22537
22523
  this.success = false;
22538
22524
  this.errorDescription = errorDescription;
22539
22525
  };
@@ -22596,7 +22582,7 @@
22596
22582
  }());
22597
22583
 
22598
22584
  var Transaction = /** @class */ (function () {
22599
- function Transaction(task, setTransId, isLocalTransaction) {
22585
+ function Transaction(task, setTransId) {
22600
22586
  this._transId = null;
22601
22587
  this._afterTransRetry = ConstInterface.RECOVERY_NONE;
22602
22588
  this._transBegin = '\0';
@@ -22777,7 +22763,7 @@
22777
22763
  TaskTransactionManager.prototype.HandelTransactionErrorHandlingsRetry = function (transBegin) {
22778
22764
  var task = this.task;
22779
22765
  if (task.Transaction === null && transBegin[0] === ConstInterface.TRANS_NONE) {
22780
- task.TransactionErrorHandlingsRetry = new Transaction(task, task.getTaskTag(), false);
22766
+ task.TransactionErrorHandlingsRetry = new Transaction(task, task.getTaskTag());
22781
22767
  task.TransactionErrorHandlingsRetry.setTransBegin(ConstInterface.TRANS_RECORD_PREFIX);
22782
22768
  transBegin[0] = ConstInterface.TRANS_RECORD_PREFIX;
22783
22769
  }
@@ -23214,11 +23200,11 @@
23214
23200
  this._sortTab = null;
23215
23201
  this._sortTab = new mscorelib.List();
23216
23202
  }
23217
- SortCollection.prototype.fillData = function (tsk, parser) {
23218
- while (this.initInnerObjects(parser, parser.getNextTag(), tsk)) {
23203
+ SortCollection.prototype.fillData = function (parser) {
23204
+ while (this.initInnerObjects(parser, parser.getNextTag())) {
23219
23205
  }
23220
23206
  };
23221
- SortCollection.prototype.initInnerObjects = function (parser, foundTagName, tsk) {
23207
+ SortCollection.prototype.initInnerObjects = function (parser, foundTagName) {
23222
23208
  if (foundTagName === null)
23223
23209
  return false;
23224
23210
  switch (foundTagName) {
@@ -23678,7 +23664,7 @@
23678
23664
  return [4 /*yield*/, AccessHelper.eventsManager.DoTaskLevelRecordSuffix(this._task, refdoRecordSuffix)];
23679
23665
  case 66:
23680
23666
  if (!!(_a.sent())) return [3 /*break*/, 68];
23681
- return [4 /*yield*/, AccessHelper.eventsManager.DoTaskLevelRecordPrefix(this._task, this)];
23667
+ return [4 /*yield*/, AccessHelper.eventsManager.DoTaskLevelRecordPrefix(this._task)];
23682
23668
  case 67:
23683
23669
  _a.sent();
23684
23670
  _a.label = 68;
@@ -23779,7 +23765,7 @@
23779
23765
  });
23780
23766
  });
23781
23767
  };
23782
- MgForm.prototype.addRec = function (doSuffix, parentLine, prevLine, isCrelineAbove) {
23768
+ MgForm.prototype.addRec = function (doSuffix, isCrelineAbove) {
23783
23769
  return __awaiter(this, void 0, void 0, function () {
23784
23770
  var newLine, currLine, newRecIdx, newCurrRow, ex_5;
23785
23771
  return __generator(this, function (_a) {
@@ -23862,7 +23848,7 @@
23862
23848
  _a.sent();
23863
23849
  if (!(this.GetDataview().isEmpty() && !this._task.IsTryingToStop)) return [3 /*break*/, 8];
23864
23850
  if (!this._task.DataView.isEmptyDataview()) return [3 /*break*/, 3];
23865
- return [4 /*yield*/, this.addRec(false, 0, 0, false)];
23851
+ return [4 /*yield*/, this.addRec(false, false)];
23866
23852
  case 2:
23867
23853
  _a.sent();
23868
23854
  return [3 /*break*/, 8];
@@ -24245,7 +24231,7 @@
24245
24231
  }
24246
24232
  }
24247
24233
  };
24248
- MgForm.prototype.setRowData = function (desiredTopIndex, sendAll, lastFocusedVal) {
24234
+ MgForm.prototype.setRowData = function (desiredTopIndex, sendAll) {
24249
24235
  var _super = Object.create(null, {
24250
24236
  refreshControls: { get: function () { return _super_1.prototype.refreshControls; } },
24251
24237
  SelectRow: { get: function () { return _super_1.prototype.SelectRow; } }
@@ -24415,7 +24401,7 @@
24415
24401
  if (!(this.GetDataview().getTopRecIdx() !== newTopIndex || this._topIndexUpdated)) return [3 /*break*/, 2];
24416
24402
  this.GetDataview().setTopRecIdx(newTopIndex);
24417
24403
  this.SetTableTopIndex();
24418
- return [4 /*yield*/, this.setRowData(mscorelib.Int32.MinValue, false, null)];
24404
+ return [4 /*yield*/, this.setRowData(mscorelib.Int32.MinValue, false)];
24419
24405
  case 1:
24420
24406
  _a.sent();
24421
24407
  this._topIndexUpdated = false;
@@ -24808,7 +24794,7 @@
24808
24794
  };
24809
24795
  MgForm.prototype.InsertTableItems = function (idx, count) {
24810
24796
  if (this._tableMgControl != null) {
24811
- this.Rows.InsertRange(idx, new Array(count));
24797
+ this.Rows.InsertRange(new Array(count));
24812
24798
  this.InsertTableChildrenArrays(idx, count);
24813
24799
  this._lastRowSent = -1;
24814
24800
  }
@@ -24895,7 +24881,7 @@
24895
24881
  _super_1.prototype.createForm.call(this);
24896
24882
  MgForm.CreatedForms.add(this);
24897
24883
  };
24898
- MgForm.prototype.UpdateStatusBar = function (paneIdx, strInfo, soundBeep) {
24884
+ MgForm.prototype.UpdateStatusBar = function () {
24899
24885
  };
24900
24886
  MgForm.prototype.initInnerObjects = function (foundTagName) {
24901
24887
  if (foundTagName === null)
@@ -24971,7 +24957,7 @@
24971
24957
  recPosOnPage = this.GetDataview().RecordsBeforeCurrentView % this._rowsInPage;
24972
24958
  if (!(recPosOnPage > 0 && this.DisplayLine === 0)) return [3 /*break*/, 2];
24973
24959
  lastFocusedVal = { guiMgControl: this.getTableCtrl(), Line: recPosOnPage, Val: "" };
24974
- return [4 /*yield*/, this.setRowData(-recPosOnPage, false, lastFocusedVal)];
24960
+ return [4 /*yield*/, this.setRowData(-recPosOnPage, false)];
24975
24961
  case 1:
24976
24962
  _a.sent();
24977
24963
  _a.label = 2;
@@ -25010,7 +24996,7 @@
25010
24996
  }
25011
24997
  return result;
25012
24998
  };
25013
- RemoteTaskService.prototype.GetEventTaskId = function (task, originalTaskId, evt) {
24999
+ RemoteTaskService.prototype.GetEventTaskId = function (originalTaskId) {
25014
25000
  return originalTaskId;
25015
25001
  };
25016
25002
  RemoteTaskService.prototype.ShouldEvaluatePropertyLocally = function (propId) {
@@ -25019,7 +25005,7 @@
25019
25005
  RemoteTaskService.prototype.InitTaskPrefixExecutedFlag = function (task) {
25020
25006
  task.TaskPrefixExecuted = true;
25021
25007
  };
25022
- RemoteTaskService.prototype.RemoveRecomputes = function (parentTask, subformTask) {
25008
+ RemoteTaskService.prototype.RemoveRecomputes = function (parentTask) {
25023
25009
  parentTask.DataView.GetFieldsTab().resetRecomp();
25024
25010
  };
25025
25011
  RemoteTaskService.prototype.GetOwnerTransactionTask = function (task) {
@@ -25534,7 +25520,7 @@
25534
25520
  _a.sent();
25535
25521
  res = this._table.Fetch(this.Loc);
25536
25522
  if (!(res == null)) return [3 /*break*/, 12];
25537
- return [4 /*yield*/, this.initRec(curRec, lnkFlds, false)];
25523
+ return [4 /*yield*/, this.initRec(curRec, false)];
25538
25524
  case 11:
25539
25525
  _a.sent();
25540
25526
  return [3 /*break*/, 14];
@@ -25545,7 +25531,7 @@
25545
25531
  _a.sent();
25546
25532
  _a.label = 14;
25547
25533
  case 14: return [3 /*break*/, 17];
25548
- case 15: return [4 /*yield*/, this.initRec(curRec, lnkFlds, false)];
25534
+ case 15: return [4 /*yield*/, this.initRec(curRec, false)];
25549
25535
  case 16:
25550
25536
  _a.sent();
25551
25537
  _a.label = 17;
@@ -25567,7 +25553,7 @@
25567
25553
  curRec.clearFlag(curFld.getId(), Record.FLAG_INVALID);
25568
25554
  curFld.invalidate(true, false);
25569
25555
  }
25570
- return [4 /*yield*/, this.SetReturnValue(curRec, ret, true)];
25556
+ return [4 /*yield*/, this.SetReturnValue(ret, true)];
25571
25557
  case 1:
25572
25558
  _a.sent();
25573
25559
  return [2 /*return*/];
@@ -25575,7 +25561,7 @@
25575
25561
  });
25576
25562
  });
25577
25563
  };
25578
- RemoteDataviewHeader.prototype.initRec = function (currRec, linkFlds, ret) {
25564
+ RemoteDataviewHeader.prototype.initRec = function (currRec, ret) {
25579
25565
  return __awaiter(this, void 0, void 0, function () {
25580
25566
  var retFld;
25581
25567
  return __generator(this, function (_a) {
@@ -25598,7 +25584,7 @@
25598
25584
  RemoteDataviewHeader.prototype.getLastFetchedDbPos = function () {
25599
25585
  return this._lastFetchRecPos;
25600
25586
  };
25601
- RemoteDataviewHeader.prototype.SetReturnValue = function (curRec, ret, recompute) {
25587
+ RemoteDataviewHeader.prototype.SetReturnValue = function (ret, recompute) {
25602
25588
  return __awaiter(this, void 0, void 0, function () {
25603
25589
  var returnField, enforceVariableChange, result;
25604
25590
  return __generator(this, function (_a) {
@@ -25634,7 +25620,7 @@
25634
25620
  var DataviewHeaderFactory = /** @class */ (function () {
25635
25621
  function DataviewHeaderFactory() {
25636
25622
  }
25637
- DataviewHeaderFactory.prototype.CreateDataviewHeaders = function (task, tableIndex) {
25623
+ DataviewHeaderFactory.prototype.CreateDataviewHeaders = function (task) {
25638
25624
  return new RemoteDataviewHeader(task);
25639
25625
  };
25640
25626
  return DataviewHeaderFactory;
@@ -25660,7 +25646,7 @@
25660
25646
  var link = links[i]['$'];
25661
25647
  if (!util.isNullOrUndefined(link[ConstInterface.MG_ATTR_TABLE_INDEX])) {
25662
25648
  var tableIndex = +link[ConstInterface.MG_ATTR_TABLE_INDEX];
25663
- var dataviewHeader = this._dataviewHeadersFactory.CreateDataviewHeaders(this._task, tableIndex);
25649
+ var dataviewHeader = this._dataviewHeadersFactory.CreateDataviewHeaders(this._task);
25664
25650
  var attributes = new mscorelib.Dictionary();
25665
25651
  for (var key in link) {
25666
25652
  if (key !== ConstInterface.MG_ATTR_TABLE_INDEX) {
@@ -27692,12 +27678,12 @@
27692
27678
  };
27693
27679
  Task.prototype.FillTaskTables = function (taskTablesData) {
27694
27680
  if (arguments.length === 1) {
27695
- this.FillTaskTables_0(taskTablesData);
27681
+ this.FillTaskTables_0();
27696
27682
  return;
27697
27683
  }
27698
27684
  this.FillTaskTables_1();
27699
27685
  };
27700
- Task.prototype.FillTaskTables_0 = function (taskTablesData) {
27686
+ Task.prototype.FillTaskTables_0 = function () {
27701
27687
  };
27702
27688
  Task.prototype.fillAttributes = function () {
27703
27689
  var parser = gui.RuntimeContextBase.Instance.Parser;
@@ -27856,7 +27842,7 @@
27856
27842
  return [3 /*break*/, 21];
27857
27843
  case 16:
27858
27844
  this.RuntimeSorts = new SortCollection();
27859
- this.RuntimeSorts.fillData(this, parser);
27845
+ this.RuntimeSorts.fillData(parser);
27860
27846
  return [3 /*break*/, 21];
27861
27847
  case 17:
27862
27848
  this.FillTaskTables();
@@ -27951,7 +27937,7 @@
27951
27937
  }
27952
27938
  return result;
27953
27939
  };
27954
- Task.prototype.CalculateExpression = function (expId, resType, length, contentTypeUnicode, resCellType) {
27940
+ Task.prototype.CalculateExpression = function (expId, resType, length) {
27955
27941
  return __awaiter(this, void 0, void 0, function () {
27956
27942
  var result, expById;
27957
27943
  return __generator(this, function (_a) {
@@ -29909,7 +29895,7 @@
29909
29895
  }
29910
29896
  this.DataviewManager.RemoteDataviewManager.Transaction = (isFind ?
29911
29897
  transTask.DataviewManager.RemoteDataviewManager.Transaction :
29912
- new Transaction(this, transId, false));
29898
+ new Transaction(this, transId));
29913
29899
  };
29914
29900
  Task.prototype.setTransOwnerTask = function () {
29915
29901
  this.Transaction.setOwnerTask(this);
@@ -30473,7 +30459,7 @@
30473
30459
  var taskToVerifyOn = this.GetContextTask();
30474
30460
  if (taskToVerifyOn.getForm() == null)
30475
30461
  taskToVerifyOn = LastFocusedManager.Instance.getLastFocusedTask();
30476
- taskToVerifyOn.WriteToMessagePane(text, true);
30462
+ taskToVerifyOn.WriteToMessagePane(text);
30477
30463
  };
30478
30464
  Task.prototype.isTableWithAbsolutesScrollbar = function () {
30479
30465
  var isTableWithAbsolutesScrollbar = false;
@@ -30598,7 +30584,7 @@
30598
30584
  _b = (_a = AccessHelper.eventsManager).setNonInteractiveAllowEvents;
30599
30585
  return [4 /*yield*/, nonInteractiveTaskAlreadyExecuted.isAllowEvents()];
30600
30586
  case 6:
30601
- _b.apply(_a, [_c.sent(), nonInteractiveTaskAlreadyExecuted]);
30587
+ _b.apply(_a, [_c.sent()]);
30602
30588
  return [4 /*yield*/, nonInteractiveTaskAlreadyExecuted.isAllowEvents()];
30603
30589
  case 7:
30604
30590
  canExecuteEvents = _c.sent();
@@ -31867,7 +31853,7 @@
31867
31853
  _b.label = 19;
31868
31854
  case 19:
31869
31855
  if (!!endTaskError) return [3 /*break*/, 21];
31870
- return [4 /*yield*/, this.commonHandlerAfter(rtEvt, bRcBefore, propagate)];
31856
+ return [4 /*yield*/, this.commonHandlerAfter(rtEvt, bRcBefore)];
31871
31857
  case 20:
31872
31858
  _b.sent();
31873
31859
  _b.label = 21;
@@ -32061,7 +32047,7 @@
32061
32047
  this._initialized = true;
32062
32048
  };
32063
32049
  EventsManager.prototype.addInternalEventWithItaskAndCode = function (itask, code) {
32064
- this.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask, code, false);
32050
+ this.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(itask, code);
32065
32051
  };
32066
32052
  EventsManager.prototype.addInternalEventWithCtrlAndCode = function (ctrl, code) {
32067
32053
  var rtEvt = new RunTimeEvent(ctrl);
@@ -32079,13 +32065,13 @@
32079
32065
  rtEvt.setPriority(priority);
32080
32066
  this.addToTail(rtEvt);
32081
32067
  };
32082
- EventsManager.prototype.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark = function (itask, code, onMultiMark) {
32068
+ EventsManager.prototype.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark = function (itask, code) {
32083
32069
  var task = itask;
32084
32070
  var rtEvt = new RunTimeEvent(task);
32085
32071
  rtEvt.setInternal(code);
32086
32072
  this.addToTail(rtEvt);
32087
32073
  };
32088
- EventsManager.prototype.addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier = function (ctrl, code, line, modifiers) {
32074
+ EventsManager.prototype.addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier = function (ctrl, code, line) {
32089
32075
  var rtEvt = new RunTimeEvent(ctrl, line, false);
32090
32076
  rtEvt.setInternal(code);
32091
32077
  this.addToTail(rtEvt);
@@ -32173,7 +32159,7 @@
32173
32159
  rtEvt.setInternal(code);
32174
32160
  this.addToTail(rtEvt);
32175
32161
  };
32176
- EventsManager.prototype.addGuiTriggeredEventTaskAndCodeAndRaisedBy = function (task, code, raisedBy) {
32162
+ EventsManager.prototype.addGuiTriggeredEventTaskAndCodeAndRaisedBy = function (task, code) {
32177
32163
  this.addGuiTriggeredEventWithTaskAndCode(task, code);
32178
32164
  };
32179
32165
  EventsManager.prototype.getEvent = function () {
@@ -32302,7 +32288,7 @@
32302
32288
  _a = this.setNonInteractiveAllowEvents;
32303
32289
  return [4 /*yield*/, task.isAllowEvents()];
32304
32290
  case 1:
32305
- _a.apply(this, [_c.sent(), task]);
32291
+ _a.apply(this, [_c.sent()]);
32306
32292
  this.pushNewExecStacks();
32307
32293
  _c.label = 2;
32308
32294
  case 2:
@@ -32778,7 +32764,7 @@
32778
32764
  if (!(_a.sent())) {
32779
32765
  return [2 /*return*/];
32780
32766
  }
32781
- canGotoCtrl = this.canGoToControl(ctrl, line, true);
32767
+ canGotoCtrl = this.canGoToControl(ctrl, true);
32782
32768
  StopFocus = ctrl.isFocusedStopExecution();
32783
32769
  returnToCtrl = MgControl.ReturnToCtrl;
32784
32770
  if (!((!canGotoCtrl || ((this._stopExecution || StopFocus) && returnToCtrl !== ctrl)) && returnToCtrl !== null)) return [3 /*break*/, 6];
@@ -32865,7 +32851,7 @@
32865
32851
  currTask = prevTask;
32866
32852
  else
32867
32853
  currTask = ctrl.getForm().getTask();
32868
- canGotoCtrl = this.canGoToControl(ctrl, line, onClick);
32854
+ canGotoCtrl = this.canGoToControl(ctrl, onClick);
32869
32855
  if (!canGotoCtrl) return [3 /*break*/, 10];
32870
32856
  if (this.guiPendingEvent != null)
32871
32857
  return [2 /*return*/];
@@ -32988,7 +32974,7 @@
32988
32974
  });
32989
32975
  });
32990
32976
  };
32991
- EventsManager.prototype.canGoToControl = function (ctrl, line, onClick) {
32977
+ EventsManager.prototype.canGoToControl = function (ctrl, onClick) {
32992
32978
  if (onClick && (ctrl.Type === utils.MgControlType.CTRL_TYPE_SUBFORM || ctrl.Type === utils.MgControlType.CTRL_TYPE_BROWSER))
32993
32979
  return false;
32994
32980
  var canGotoCtrl = true;
@@ -33095,7 +33081,7 @@
33095
33081
  switch (_a.label) {
33096
33082
  case 0:
33097
33083
  form = table.getForm();
33098
- return [4 /*yield*/, form.setRowData(desiredTopIndex, sendAll, lastFocusedVal)];
33084
+ return [4 /*yield*/, form.setRowData(desiredTopIndex, sendAll)];
33099
33085
  case 1:
33100
33086
  _a.sent();
33101
33087
  return [2 /*return*/];
@@ -33293,7 +33279,7 @@
33293
33279
  if (task.getEnableZoomHandler() || ctrl.useZoomHandler())
33294
33280
  task.ActionManager.enable(utils.InternalInterface.MG_ACT_ZOOM, true);
33295
33281
  if (ctrl.isTextControl() || ctrl.isChoiceControl())
33296
- ctrl.SetKeyboardLanguage(false);
33282
+ ctrl.SetKeyboardLanguage();
33297
33283
  if (ctrl.Type === utils.MgControlType.CTRL_TYPE_BUTTON)
33298
33284
  task.ActionManager.enable(utils.InternalInterface.MG_ACT_BUTTON, true);
33299
33285
  return [4 /*yield*/, task.setCreateDeleteActsEnableState()];
@@ -33323,7 +33309,7 @@
33323
33309
  if (task.isAborting())
33324
33310
  return [2 /*return*/, false];
33325
33311
  if (evt.getType() === ConstInterface.EVENT_TYPE_SYSTEM) {
33326
- actId = this.getMatchingAction(task, evt.getKbdItm());
33312
+ actId = this.getMatchingAction(evt.getKbdItm());
33327
33313
  if (actId !== 0 && evt.Control !== null) {
33328
33314
  evt = new RunTimeEvent(evt, evt);
33329
33315
  evt.setInternal(actId);
@@ -33802,7 +33788,7 @@
33802
33788
  _a.sent();
33803
33789
  this.popNewExecStacks();
33804
33790
  if (!!this._stopExecution) return [3 /*break*/, 4];
33805
- parentTask.TaskService.RemoveRecomputes(parentTask, subformTask);
33791
+ parentTask.TaskService.RemoveRecomputes(parentTask);
33806
33792
  return [4 /*yield*/, subformTask.stop()];
33807
33793
  case 2:
33808
33794
  _a.sent();
@@ -33872,7 +33858,7 @@
33872
33858
  });
33873
33859
  });
33874
33860
  };
33875
- EventsManager.prototype.DoTaskLevelRecordPrefix = function (task, form) {
33861
+ EventsManager.prototype.DoTaskLevelRecordPrefix = function (task) {
33876
33862
  return __awaiter(this, void 0, void 0, function () {
33877
33863
  return __generator(this, function (_a) {
33878
33864
  switch (_a.label) {
@@ -33908,7 +33894,7 @@
33908
33894
  _e.trys.push([1, , 181, 182]);
33909
33895
  this.pushRtEvent(evt);
33910
33896
  if (evt.getType() === ConstInterface.EVENT_TYPE_SYSTEM) {
33911
- actId = this.getMatchingAction(task, evt.getKbdItm());
33897
+ actId = this.getMatchingAction(evt.getKbdItm());
33912
33898
  if (actId !== 0) {
33913
33899
  evt = new RunTimeEvent(evt, evt);
33914
33900
  evt.setInternal(actId);
@@ -34094,14 +34080,14 @@
34094
34080
  }
34095
34081
  }
34096
34082
  return [3 /*break*/, 180];
34097
- case 40: return [4 /*yield*/, this.HandleActionDelline(evt, task, dv, rec, false)];
34083
+ case 40: return [4 /*yield*/, this.HandleActionDelline(task, dv, rec, false)];
34098
34084
  case 41:
34099
34085
  if (_e.sent())
34100
34086
  return [2 /*return*/];
34101
34087
  return [3 /*break*/, 180];
34102
34088
  case 42:
34103
34089
  if (!task.DataView.isEmptyDataview()) return [3 /*break*/, 44];
34104
- return [4 /*yield*/, this.gotoCreateMode(task, cmdsToServer)];
34090
+ return [4 /*yield*/, this.gotoCreateMode(task)];
34105
34091
  case 43:
34106
34092
  _e.sent();
34107
34093
  return [3 /*break*/, 180];
@@ -34155,11 +34141,11 @@
34155
34141
  parentId = 0;
34156
34142
  prevLine = 0;
34157
34143
  if (!((task.getMode() !== utils.Constants.TASK_MODE_CREATE) || !task.ConfirmUpdateNo)) return [3 /*break*/, 57];
34158
- return [4 /*yield*/, form.addRec(doSuffix, parentId, prevLine, intEvtCode == utils.InternalInterface.MG_ACT_CRELINE_ABOVE ? true : false)];
34144
+ return [4 /*yield*/, form.addRec(doSuffix, intEvtCode == utils.InternalInterface.MG_ACT_CRELINE_ABOVE ? true : false)];
34159
34145
  case 56:
34160
34146
  _e.sent();
34161
34147
  _e.label = 57;
34162
- case 57: return [4 /*yield*/, this.DoTaskLevelRecordPrefix(task, form)];
34148
+ case 57: return [4 /*yield*/, this.DoTaskLevelRecordPrefix(task)];
34163
34149
  case 58:
34164
34150
  _e.sent();
34165
34151
  return [4 /*yield*/, this.HandleActEnterRowEditing(task)];
@@ -34191,7 +34177,7 @@
34191
34177
  _e.label = 70;
34192
34178
  case 70:
34193
34179
  if (!_b) return [3 /*break*/, 72];
34194
- return [4 /*yield*/, this.gotoCreateMode(task, cmdsToServer)];
34180
+ return [4 /*yield*/, this.gotoCreateMode(task)];
34195
34181
  case 71:
34196
34182
  _e.sent();
34197
34183
  _e.label = 72;
@@ -34572,7 +34558,7 @@
34572
34558
  switch (_a.label) {
34573
34559
  case 0:
34574
34560
  if (!(task.getMode() === utils.Constants.TASK_MODE_QUERY)) return [3 /*break*/, 1];
34575
- task.WriteToMessagePane("Cannot enter Row Editing when in Query Mode.", false);
34561
+ task.WriteToMessagePane("Cannot enter Row Editing when in Query Mode.");
34576
34562
  return [3 /*break*/, 3];
34577
34563
  case 1:
34578
34564
  myform = task.getForm();
@@ -34606,7 +34592,7 @@
34606
34592
  return __generator(this, function (_a) {
34607
34593
  switch (_a.label) {
34608
34594
  case 0:
34609
- task.TaskService.RemoveRecomputes(task, null);
34595
+ task.TaskService.RemoveRecomputes(task);
34610
34596
  cmd = CommandFactory.CreateSubformOpenCommand(task.getTaskTag(), subformControl.getDitIdx());
34611
34597
  task.getMGData().CmdsToServer.Add(cmd);
34612
34598
  return [4 /*yield*/, Task.CommandsProcessor.Execute(exports.CommandsProcessorBase_SendingInstruction.TASKS_AND_COMMANDS)];
@@ -34737,7 +34723,7 @@
34737
34723
  });
34738
34724
  });
34739
34725
  };
34740
- EventsManager.prototype.HandleActionDelline = function (evt, task, dv, rec, nonInteractiveDelete) {
34726
+ EventsManager.prototype.HandleActionDelline = function (task, dv, rec, nonInteractiveDelete) {
34741
34727
  return __awaiter(this, void 0, void 0, function () {
34742
34728
  var lastParkedCtrl, myform, saveIsRowEditing, oldRecMode, _a, skipConfirmDialog, _b, confirmed, myform_1, newCurrRec;
34743
34729
  return __generator(this, function (_c) {
@@ -35001,7 +34987,7 @@
35001
34987
  });
35002
34988
  });
35003
34989
  };
35004
- EventsManager.prototype.gotoCreateMode = function (task, cmds) {
34990
+ EventsManager.prototype.gotoCreateMode = function (task) {
35005
34991
  return __awaiter(this, void 0, void 0, function () {
35006
34992
  var cmd;
35007
34993
  return __generator(this, function (_a) {
@@ -35044,7 +35030,7 @@
35044
35030
  });
35045
35031
  });
35046
35032
  };
35047
- EventsManager.prototype.commonHandlerAfter = function (evt, rcBefore, propagate) {
35033
+ EventsManager.prototype.commonHandlerAfter = function (evt, rcBefore) {
35048
35034
  return __awaiter(this, void 0, void 0, function () {
35049
35035
  var task, dv, rec, ctrl, recModified, recModeIsDelete, forceSuffix, _a, last, inCtrlPrefix, fld, form, refreshDisplay;
35050
35036
  return __generator(this, function (_b) {
@@ -35147,7 +35133,7 @@
35147
35133
  return [4 /*yield*/, dv.cancelEdit(EventsManager.REAL_ONLY, false)];
35148
35134
  case 17:
35149
35135
  _b.sent();
35150
- task.WriteToMessagePanebyMsgId(utils.MsgInterface.RT_STR_UPDATE_IN_QUERY, false);
35136
+ task.WriteToMessagePanebyMsgId(utils.MsgInterface.RT_STR_UPDATE_IN_QUERY);
35151
35137
  return [4 /*yield*/, task.getForm().RefreshDisplay(utils.Constants.TASK_REFRESH_CURR_REC)];
35152
35138
  case 18:
35153
35139
  _b.sent();
@@ -35187,7 +35173,7 @@
35187
35173
  case 28:
35188
35174
  task.setLastParkedCtrl(ctrl);
35189
35175
  gui.RuntimeContextBase.Instance.CurrentClickedCtrl = null;
35190
- return [4 /*yield*/, ctrl.SetFocus(ctrl, ctrl.getDisplayLine(false), true, true)];
35176
+ return [4 /*yield*/, ctrl.SetFocus(ctrl, ctrl.getDisplayLine(false), true)];
35191
35177
  case 29:
35192
35178
  _b.sent();
35193
35179
  this.setStopExecutionCtrl(null);
@@ -35204,7 +35190,7 @@
35204
35190
  case 33:
35205
35191
  if (!this.GetStopExecutionFlag()) {
35206
35192
  if (ctrl.isChoiceControl()) {
35207
- ctrl.SetKeyboardLanguage(true);
35193
+ ctrl.SetKeyboardLanguage();
35208
35194
  }
35209
35195
  if (ctrl.Type === utils.MgControlType.CTRL_TYPE_BUTTON)
35210
35196
  task.ActionManager.enable(utils.InternalInterface.MG_ACT_BUTTON, false);
@@ -35268,7 +35254,7 @@
35268
35254
  if (!task.DataView.isEmptyDataview()) return [3 /*break*/, 48];
35269
35255
  (task).setExecEndTask();
35270
35256
  return [3 /*break*/, 50];
35271
- case 48: return [4 /*yield*/, this.HandleActionDelline(evt, task, dv, rec, true)];
35257
+ case 48: return [4 /*yield*/, this.HandleActionDelline(task, dv, rec, true)];
35272
35258
  case 49:
35273
35259
  _b.sent();
35274
35260
  _b.label = 50;
@@ -35650,7 +35636,7 @@
35650
35636
  EventsManager.prototype.GetEventTime = function () {
35651
35637
  return this._eventsQueue.GetTime();
35652
35638
  };
35653
- EventsManager.prototype.getMatchingAction = function (itask, kbItm) {
35639
+ EventsManager.prototype.getMatchingAction = function (kbItm) {
35654
35640
  var act = 0;
35655
35641
  if (kbItm == null)
35656
35642
  return act;
@@ -35728,7 +35714,7 @@
35728
35714
  EventsManager.prototype.setAllowEvents = function (AllowEvents) {
35729
35715
  this._allowEvents = AllowEvents;
35730
35716
  };
35731
- EventsManager.prototype.setNonInteractiveAllowEvents = function (AllowEvents, task) {
35717
+ EventsManager.prototype.setNonInteractiveAllowEvents = function (AllowEvents) {
35732
35718
  if (AllowEvents)
35733
35719
  this._allowEvents = exports.EventsAllowedType.NON_INTERACTIVE;
35734
35720
  else
@@ -36128,9 +36114,9 @@
36128
36114
  EventsManager.Instance.addToTail(rtEvt);
36129
36115
  }
36130
36116
  };
36131
- GuiEventsProcessor.prototype.processKeyDown = function (guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, comboIsDropDown, handled) {
36117
+ GuiEventsProcessor.prototype.processKeyDown = function (guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled) {
36132
36118
  LastFocusedManager.Instance.LastActionTime = utils.Misc.getSystemMilliseconds();
36133
- return _super.prototype.processKeyDown.call(this, guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, comboIsDropDown, handled);
36119
+ return _super.prototype.processKeyDown.call(this, guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled);
36134
36120
  };
36135
36121
  GuiEventsProcessor.peekEndOfWork = function () {
36136
36122
  return EventsManager.Instance.getEndOfWork();
@@ -36141,10 +36127,10 @@
36141
36127
  GuiEventsProcessor.GetRuntimeContext = function (contextID) {
36142
36128
  return gui.RuntimeContextBase.Instance;
36143
36129
  };
36144
- GuiEventsProcessor.SaveLastClickedControlName = function (guiMgControl, ctrlName) {
36130
+ GuiEventsProcessor.SaveLastClickedControlName = function (ctrlName) {
36145
36131
  gui.RuntimeContextBase.Instance.LastClickedCtrlName = ctrlName;
36146
36132
  };
36147
- GuiEventsProcessor.SaveLastClickInfo = function (guiMgForm, controlName, X, Y, offsetX, offsetY, LastClickCoordinatesAreInPixels) {
36133
+ GuiEventsProcessor.SaveLastClickInfo = function (controlName, X, Y, offsetX, offsetY, LastClickCoordinatesAreInPixels) {
36148
36134
  gui.RuntimeContextBase.Instance.SaveLastClickInfo(controlName, X, Y, offsetX, offsetY, LastClickCoordinatesAreInPixels);
36149
36135
  };
36150
36136
  GuiEventsProcessor.ProcessPress = function (guiMgForm, guiMgCtrl, line) {
@@ -37047,7 +37033,7 @@
37047
37033
  message.Append(utils.XMLConstants.START_TAG + ConstInterface.MG_TAG_COMMAND);
37048
37034
  message.Append(" " + utils.XMLConstants.MG_ATTR_TYPE + "=\"" + cmd.CommandTypeAttribute + "\"");
37049
37035
  var refHasChildElements = new mscorelib.RefParam(hasChildElements);
37050
- message.Append(cmd.SerializeCommandData(refHasChildElements));
37036
+ message.Append(cmd.SerializeCommandData());
37051
37037
  hasChildElements = refHasChildElements.value;
37052
37038
  if (cmd.ShouldSerializeRecords)
37053
37039
  message.Append(ClientOriginatedCommandSerializer.SerializeRecords(currMGData));
@@ -37259,7 +37245,7 @@
37259
37245
  return CommandsTable;
37260
37246
  }());
37261
37247
 
37262
- var CurrentClientVersion = '4.801.0-dev481.233';
37248
+ var CurrentClientVersion = '4.801.0-dev481.237';
37263
37249
 
37264
37250
  var ClientManager = /** @class */ (function () {
37265
37251
  function ClientManager() {
@@ -37538,7 +37524,7 @@
37538
37524
  console.log("Magic Web Client. " + versionString);
37539
37525
  HttpManager.GetInstance().HttpCommunicationTimeoutMS = ServerConfig.Instance.GetFirstHttpRequestTimeout();
37540
37526
  EventsManager.Instance.Init();
37541
- utils.Logger.Instance.Initialize(RemoteCommandsProcessor.GetInstance().parseLogLevel(ServerConfig.Instance.getInternalLogLevel()), ServerConfig.Instance.getInternalLogSync(), false);
37527
+ utils.Logger.Instance.Initialize(RemoteCommandsProcessor.GetInstance().parseLogLevel(ServerConfig.Instance.getInternalLogLevel()), false);
37542
37528
  mgd = new MGData(new CommandsTable(), new CommandsTable(), 0, null, false);
37543
37529
  return [4 /*yield*/, MGDataCollection.Instance.addMGData(mgd, 0, true)];
37544
37530
  case 2:
@@ -37801,7 +37787,7 @@
37801
37787
  var Process = /** @class */ (function () {
37802
37788
  function Process() {
37803
37789
  }
37804
- Process.StartCurrentExecutable = function (exeProps) {
37790
+ Process.StartCurrentExecutable = function () {
37805
37791
  throw new mscorelib.NotImplementedException();
37806
37792
  };
37807
37793
  return Process;