@magic-xpa/gui 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 (46) hide show
  1. package/bundles/magic-xpa-gui.umd.js +81 -81
  2. package/bundles/magic-xpa-gui.umd.js.map +1 -1
  3. package/bundles/magic-xpa-gui.umd.min.js +1 -1
  4. package/bundles/magic-xpa-gui.umd.min.js.map +1 -1
  5. package/esm2015/src/Commands.js +2 -2
  6. package/esm2015/src/Events.js +3 -3
  7. package/esm2015/src/EventsProcessor.js +4 -5
  8. package/esm2015/src/IFlowMonitorQueue.js +1 -1
  9. package/esm2015/src/Manager.js +6 -6
  10. package/esm2015/src/gui/low/GuiInteractive.js +4 -4
  11. package/esm2015/src/management/data/DcValues.js +2 -2
  12. package/esm2015/src/management/data/DcValuesBuilderBase.js +3 -3
  13. package/esm2015/src/management/data/GuiDataViewBase.js +3 -3
  14. package/esm2015/src/management/data/ObjectReferenceBase.js +3 -3
  15. package/esm2015/src/management/data/RecordUtils.js +1 -1
  16. package/esm2015/src/management/events/IGuiEventsManager.js +1 -1
  17. package/esm2015/src/management/exp/GuiExpressionEvaluator.js +3 -3
  18. package/esm2015/src/management/gui/DisplayConvertor.js +12 -12
  19. package/esm2015/src/management/gui/FieldValidator.js +6 -6
  20. package/esm2015/src/management/gui/MgControlBase.js +18 -18
  21. package/esm2015/src/management/gui/MgFormBase.js +6 -6
  22. package/esm2015/src/management/gui/PropDefaults.js +5 -5
  23. package/esm2015/src/management/gui/PropTable.js +6 -6
  24. package/esm2015/src/management/gui/Property.js +7 -7
  25. package/esm2015/src/management/tasks/GuiTaskBase.js +6 -6
  26. package/esm2015/src/management/tasks/MgTimer.js +2 -2
  27. package/esm2015/src/util/ProcessLauncher.js +2 -2
  28. package/esm2015/src/util/UsernamePasswordCredentials.js +3 -3
  29. package/fesm2015/magic-xpa-gui.js +81 -81
  30. package/fesm2015/magic-xpa-gui.js.map +1 -1
  31. package/package.json +2 -2
  32. package/src/Events.d.ts +2 -2
  33. package/src/EventsProcessor.d.ts +1 -1
  34. package/src/IFlowMonitorQueue.d.ts +1 -1
  35. package/src/Manager.d.ts +2 -3
  36. package/src/management/data/DcValues.d.ts +1 -1
  37. package/src/management/data/DcValuesBuilderBase.d.ts +1 -1
  38. package/src/management/events/IGuiEventsManager.d.ts +5 -5
  39. package/src/management/exp/GuiExpressionEvaluator.d.ts +2 -2
  40. package/src/management/gui/DisplayConvertor.d.ts +6 -6
  41. package/src/management/gui/MgControlBase.d.ts +2 -2
  42. package/src/management/gui/MgFormBase.d.ts +1 -1
  43. package/src/management/gui/PropTable.d.ts +1 -1
  44. package/src/management/gui/Property.d.ts +2 -2
  45. package/src/management/tasks/GuiTaskBase.d.ts +3 -3
  46. package/src/util/ProcessLauncher.d.ts +1 -3
@@ -601,12 +601,12 @@
601
601
  };
602
602
  Events.SaveLastClickedCtrlName = function (guiMgControl, controlName) {
603
603
  if (Events.SaveLastClickedCtrlEvent !== null) {
604
- Events.SaveLastClickedCtrlEvent(guiMgControl, controlName);
604
+ Events.SaveLastClickedCtrlEvent(controlName);
605
605
  }
606
606
  };
607
607
  Events.SaveLastClickInfo = function (guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels) {
608
608
  if (Events.SaveLastClickInfoEvent !== null) {
609
- Events.SaveLastClickInfoEvent(guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
609
+ Events.SaveLastClickInfoEvent(controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
610
610
  }
611
611
  };
612
612
  Events.WriteErrorToLog = function (msg) {
@@ -1178,13 +1178,13 @@
1178
1178
  this._obj1 = guiMgForm;
1179
1179
  this.Invoke();
1180
1180
  };
1181
- GuiInteractiveBase.prototype.isFormActive = function (guiMgForm) {
1181
+ GuiInteractiveBase.prototype.isFormActive = function () {
1182
1182
  if (arguments.length === 1)
1183
- return this.isFormActive_0(guiMgForm);
1183
+ return this.isFormActive_0();
1184
1184
  else
1185
1185
  this.isFormActive_1();
1186
1186
  };
1187
- GuiInteractiveBase.prototype.isFormActive_0 = function (guiMgForm) {
1187
+ GuiInteractiveBase.prototype.isFormActive_0 = function () {
1188
1188
  return this._boolVal;
1189
1189
  };
1190
1190
  GuiInteractiveBase.prototype.GetRtfValueBeforeEnteringControl = function (guiMgControl, line) {
@@ -1974,7 +1974,7 @@
1974
1974
  switch (_a.label) {
1975
1975
  case 0:
1976
1976
  guiInteractive = new GuiInteractive();
1977
- return [4 /*yield*/, new Promise(function (resolve, reject) {
1977
+ return [4 /*yield*/, new Promise(function (resolve) {
1978
1978
  _this.SetResolveCallback(resolve);
1979
1979
  guiInteractive.messageBox(title, msg, style);
1980
1980
  }).then(function (res) { returnValue = res; })];
@@ -2411,13 +2411,13 @@
2411
2411
  Manager.GetDelayWait = function () {
2412
2412
  return Manager._delayWait;
2413
2413
  };
2414
- Manager.CanFocus = function (guiMgControl) {
2414
+ Manager.CanFocus = function () {
2415
2415
  return false;
2416
2416
  };
2417
2417
  Manager.Init = function (startupImageFileName) {
2418
2418
  return;
2419
2419
  };
2420
- Manager.Abort = function (form, mainPrgTask) {
2420
+ Manager.Abort = function (form) {
2421
2421
  if (form.getSubFormCtrl() === null && form.Opened) {
2422
2422
  if (form.isDialog()) {
2423
2423
  this.IsOverlayOpen = false;
@@ -2492,12 +2492,12 @@
2492
2492
  Manager.ClearStatusBar = function (task) {
2493
2493
  var currentParkedControl = task.getLastParkedCtrl();
2494
2494
  if (currentParkedControl !== null && !mscorelib.NString.IsNullOrEmpty(currentParkedControl.PromptHelp))
2495
- task.WriteToMessagePane(currentParkedControl.PromptHelp, false);
2495
+ task.WriteToMessagePane(currentParkedControl.PromptHelp);
2496
2496
  else
2497
2497
  Manager.CleanMessagePane(task);
2498
2498
  };
2499
2499
  Manager.CleanMessagePane = function (task) {
2500
- task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg, false);
2500
+ task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg);
2501
2501
  };
2502
2502
  Manager.GetMessage = function (msg) {
2503
2503
  if (msg === null)
@@ -2597,7 +2597,7 @@
2597
2597
  }
2598
2598
  };
2599
2599
  ContextIDGuard.prototype.SaveFilename = function () {
2600
- var stackFrame = new mscorelib.StackFrame(1, true);
2600
+ var stackFrame = new mscorelib.StackFrame(1);
2601
2601
  this._fileName = stackFrame.GetFileName();
2602
2602
  };
2603
2603
  ContextIDGuard.prototype.Dispose = function () {
@@ -6396,7 +6396,7 @@
6396
6396
  case utils.StorageAttribute.TIME: {
6397
6397
  if (useNative) {
6398
6398
  var dt = void 0;
6399
- dt = this.fromMgTimeToNativeTime(mgValue, pic, time_date_num_pic_Z_edt);
6399
+ dt = this.fromMgTimeToNativeTime(mgValue, pic);
6400
6400
  return dt;
6401
6401
  }
6402
6402
  else {
@@ -6418,7 +6418,7 @@
6418
6418
  }
6419
6419
  return str;
6420
6420
  };
6421
- DisplayConvertor.prototype.disp2mg = function (dispValue, rangeStr, pic, compIdx, blobContentType) {
6421
+ DisplayConvertor.prototype.disp2mg = function (dispValue, pic, compIdx, blobContentType) {
6422
6422
  var str = "";
6423
6423
  switch (pic.getAttr()) {
6424
6424
  case utils.StorageAttribute.ALPHA:
@@ -6455,7 +6455,7 @@
6455
6455
  dt = new Date(dispValue);
6456
6456
  else
6457
6457
  dt = dispValue;
6458
- str = this.fromNativeDateToMgDate(dt, pic, compIdx);
6458
+ str = this.fromNativeDateToMgDate(dt, pic);
6459
6459
  }
6460
6460
  break;
6461
6461
  case utils.StorageAttribute.TIME:
@@ -6472,7 +6472,7 @@
6472
6472
  }
6473
6473
  else
6474
6474
  dt = dispValue;
6475
- str = this.fromNativeTimeToMgTime(dt, pic);
6475
+ str = this.fromNativeTimeToMgTime(dt);
6476
6476
  }
6477
6477
  break;
6478
6478
  case utils.StorageAttribute.BOOLEAN:
@@ -6646,7 +6646,7 @@
6646
6646
  var nativeDt = new Date(breakParams.year, breakParams.month, breakParams.day);
6647
6647
  return nativeDt;
6648
6648
  };
6649
- DisplayConvertor.prototype.fromNativeDateToMgDateNumber = function (nativeDate, pic, compIdx) {
6649
+ DisplayConvertor.prototype.fromNativeDateToMgDateNumber = function (nativeDate, pic) {
6650
6650
  var mgNum = new NUM_TYPE();
6651
6651
  var numVal;
6652
6652
  var dateParams;
@@ -6671,9 +6671,9 @@
6671
6671
  }
6672
6672
  return numVal;
6673
6673
  };
6674
- DisplayConvertor.prototype.fromNativeDateToMgDate = function (nativeDate, pic, compIdx) {
6674
+ DisplayConvertor.prototype.fromNativeDateToMgDate = function (nativeDate, pic) {
6675
6675
  var mgNum = new NUM_TYPE();
6676
- var numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic, compIdx);
6676
+ var numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic);
6677
6677
  mgNum.NUM_4_LONG(numVal);
6678
6678
  return mgNum.toXMLrecord();
6679
6679
  };
@@ -7066,7 +7066,7 @@
7066
7066
  outVal[outIdx] = ext[1];
7067
7067
  return (ret);
7068
7068
  };
7069
- DisplayConvertor.prototype.fromMgTimeToNativeTime = function (dataStr, pic, time_date_pic_Z_edt) {
7069
+ DisplayConvertor.prototype.fromMgTimeToNativeTime = function (dataStr, pic) {
7070
7070
  var mask = pic.getMask();
7071
7071
  var maskSize = pic.getMaskSize();
7072
7072
  var time = new NUM_TYPE(dataStr).NUM_2_ULONG();
@@ -7618,13 +7618,13 @@
7618
7618
  }
7619
7619
  return num * 146097 + num2 * 36524 + num3 * 1461 + year * 365 + doy;
7620
7620
  };
7621
- DisplayConvertor.prototype.fromNativeTimeToMgTime = function (dispValue, pic) {
7621
+ DisplayConvertor.prototype.fromNativeTimeToMgTime = function (dispValue) {
7622
7622
  var mgNum = new NUM_TYPE();
7623
- var numVal = this.fromNativeTimeToMgTimeNumber(dispValue, pic);
7623
+ var numVal = this.fromNativeTimeToMgTimeNumber(dispValue);
7624
7624
  mgNum.NUM_4_LONG(numVal);
7625
7625
  return mgNum.toXMLrecord();
7626
7626
  };
7627
- DisplayConvertor.prototype.fromNativeTimeToMgTimeNumber = function (dispValue, pic) {
7627
+ DisplayConvertor.prototype.fromNativeTimeToMgTimeNumber = function (dispValue) {
7628
7628
  var numVal = this.time_2_int(dispValue.getHours(), dispValue.getMinutes(), dispValue.getSeconds());
7629
7629
  return numVal;
7630
7630
  };
@@ -9617,7 +9617,7 @@
9617
9617
  }
9618
9618
  PropDefaults.getNumericMgValue = function (propParent, Value) {
9619
9619
  var pic = new PIC("3", utils.StorageAttribute.NUMERIC, propParent.getCompIdx());
9620
- return DisplayConvertor.Instance.disp2mg(Value, "", pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9620
+ return DisplayConvertor.Instance.disp2mg(Value, pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9621
9621
  };
9622
9622
  PropDefaults.getDefaultValueForTask = function (propId, handled) {
9623
9623
  var val = null;
@@ -9827,7 +9827,7 @@
9827
9827
  val = this.getNumericMgValue(propParent, "0");
9828
9828
  break;
9829
9829
  default:
9830
- mscorelib.Debug.Assert(false, "Undefined default value", mscorelib.NString.Format("No default value was defined for property {0} ({1}).", PropDefaults.GetPropertyName(propId), propId));
9830
+ mscorelib.Debug.Assert(false, "Undefined default value");
9831
9831
  break;
9832
9832
  }
9833
9833
  return val;
@@ -10716,7 +10716,7 @@
10716
10716
  case 10:
10717
10717
  this.onHint();
10718
10718
  return [3 /*break*/, 28];
10719
- case 11: return [4 /*yield*/, this.onModifiable(valChanged)];
10719
+ case 11: return [4 /*yield*/, this.onModifiable()];
10720
10720
  case 12:
10721
10721
  _b.sent();
10722
10722
  return [3 /*break*/, 28];
@@ -11062,7 +11062,7 @@
11062
11062
  Property.prototype.onText = function (line) {
11063
11063
  this.addCommandTypeText(line);
11064
11064
  };
11065
- Property.prototype.onModifiable = function (valChanged) {
11065
+ Property.prototype.onModifiable = function () {
11066
11066
  return __awaiter(this, void 0, void 0, function () {
11067
11067
  var ctrl, task, readOnlyValue;
11068
11068
  return __generator(this, function (_a) {
@@ -11231,7 +11231,7 @@
11231
11231
  }
11232
11232
  return result;
11233
11233
  };
11234
- Property.isRepeatableInTable = function (propId) {
11234
+ Property.isRepeatableInTable = function () {
11235
11235
  return false;
11236
11236
  };
11237
11237
  Property.prototype.getLine = function () {
@@ -11265,7 +11265,7 @@
11265
11265
  var mgControlBase = this._parentObj;
11266
11266
  if (mgControlBase.IsRepeatable)
11267
11267
  size = mgControlBase.getForm().getTableItemsCount();
11268
- else if (mgControlBase.isTableControl() && Property.isRepeatableInTable(this._id))
11268
+ else if (mgControlBase.isTableControl() && Property.isRepeatableInTable())
11269
11269
  size = mgControlBase.getForm().getTableItemsCount();
11270
11270
  }
11271
11271
  this._prevValues.SetSize(size);
@@ -11482,9 +11482,9 @@
11482
11482
  prop = new Property(propId, propParent, parentType, mgVal);
11483
11483
  return prop;
11484
11484
  };
11485
- Property.prototype.InsertPrevValueArray = function (idx, count) {
11485
+ Property.prototype.InsertPrevValueArray = function (count) {
11486
11486
  if (!this.ShouldSkipRefresh())
11487
- this._prevValues.InsertRange(idx, new Array(count));
11487
+ this._prevValues.InsertRange(new Array(count));
11488
11488
  };
11489
11489
  return Property;
11490
11490
  }());
@@ -11672,7 +11672,7 @@
11672
11672
  _a.label = 2;
11673
11673
  case 2:
11674
11674
  _a.trys.push([2, 6, , 7]);
11675
- if (onlyRepeatableProps && !Property.isRepeatableInTable(prop.getID()))
11675
+ if (onlyRepeatableProps && !Property.isRepeatableInTable())
11676
11676
  return [3 /*break*/, 7];
11677
11677
  if (!(prop.getID() === exports.PropInterface.PROP_TYPE_VISIBLE)) return [3 /*break*/, 3];
11678
11678
  visibleProps.push(prop);
@@ -11738,10 +11738,10 @@
11738
11738
  PropTable.prototype.getCtrlRef = function () {
11739
11739
  return ((this._parent instanceof GuiControlPropertyAdapter) ? this._parent : null);
11740
11740
  };
11741
- PropTable.prototype.InsertPrevValueArray = function (idx, count) {
11741
+ PropTable.prototype.InsertPrevValueArray = function (count) {
11742
11742
  for (var i = 0; i < this._props.length; i++) {
11743
11743
  var prop = this._props[i];
11744
- prop.InsertPrevValueArray(idx, count);
11744
+ prop.InsertPrevValueArray(count);
11745
11745
  }
11746
11746
  };
11747
11747
  return PropTable;
@@ -12146,14 +12146,14 @@
12146
12146
  if (this._valDet.getIsNegative() && (this._newvalue.trim().startsWith("-") || (this._valDet.getNegativeSignPref().length !== 0 && this._newvalue.trim().startsWith(this._valDet.getNegativeSignPref())))) {
12147
12147
  evaluated = "-" + evaluated;
12148
12148
  }
12149
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
12149
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
12150
12150
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
12151
12151
  var tempDispVal = utils.StrUtil.ltrim(evaluated);
12152
12152
  if (tempDispVal.length === 0 && this._valDet.getPIC().zeroFill() && this._valDet.getPIC().getZeroPad() === ' ')
12153
12153
  evaluated = "0";
12154
12154
  }
12155
12155
  else {
12156
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
12156
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
12157
12157
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
12158
12158
  }
12159
12159
  if (this._valDet.getContinuousRangeValues() != null || this._valDet.getDiscreteRangeValues() != null) {
@@ -12685,7 +12685,7 @@
12685
12685
  var i;
12686
12686
  var downDate;
12687
12687
  var topDate;
12688
- var currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic, this._valDet.getControl().getForm().getTask().getCompIdx());
12688
+ var currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic);
12689
12689
  this.setValidationFailed(false);
12690
12690
  if (ContinuousRange != null) {
12691
12691
  for (i = 0; i < ContinuousRange.length - 1; i++) {
@@ -13124,7 +13124,7 @@
13124
13124
  };
13125
13125
  FieldValidator.prototype.fillTimeByRange = function (ContinuousRange, DiscreteRange, buffer) {
13126
13126
  var pic = this._valDet.getPIC();
13127
- var currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer, pic);
13127
+ var currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer);
13128
13128
  var downTime, topTime;
13129
13129
  var i;
13130
13130
  this.setValidationFailed(false);
@@ -13164,7 +13164,7 @@
13164
13164
  ctrlType = this._valDet.getControl().Type;
13165
13165
  if (ctrlType !== utils.MgControlType.CTRL_TYPE_BUTTON && ctrlType !== utils.MgControlType.CTRL_TYPE_RADIO && !this._valDet.getControl().isSelectionCtrl()) {
13166
13166
  var msgString = message.ToString();
13167
- this._valDet.getControl().getForm().getTask().WriteToMessagePane(utils.StrUtil.makePrintable2(msgString), true);
13167
+ this._valDet.getControl().getForm().getTask().WriteToMessagePane(utils.StrUtil.makePrintable2(msgString));
13168
13168
  this._valDet.getControl().getForm().ErrorOccured = !mscorelib.NString.IsNullOrEmpty(msgString);
13169
13169
  this._valDet.ErrorMessage = message.ToString();
13170
13170
  }
@@ -13531,7 +13531,7 @@
13531
13531
  var EMPTY_DCREF = -2;
13532
13532
  var NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
13533
13533
  var DcValues = /** @class */ (function () {
13534
- function DcValues(empty, isVector) {
13534
+ function DcValues(empty) {
13535
13535
  this._id = 0;
13536
13536
  this._type = utils.StorageAttribute.NONE;
13537
13537
  this._refCount = 0;
@@ -14023,7 +14023,7 @@
14023
14023
  }
14024
14024
  }
14025
14025
  };
14026
- MgControlBase.prototype.SetFocus = function (ctrl, line, refreshPrompt, activateForm) {
14026
+ MgControlBase.prototype.SetFocus = function (ctrl, line, activateForm) {
14027
14027
  return __awaiter(this, void 0, void 0, function () {
14028
14028
  return __generator(this, function (_a) {
14029
14029
  switch (_a.label) {
@@ -14036,17 +14036,17 @@
14036
14036
  });
14037
14037
  };
14038
14038
  MgControlBase.prototype.InsertArrays = function (idx, count) {
14039
- this._prevValues.InsertRange(idx, new Array(count));
14040
- this._prevIsNulls.InsertRange(idx, new Array(count));
14041
- this._currReadOnly.InsertRange(idx, new Array(count));
14042
- this._choiceDisps.InsertRange(idx, new Array(count));
14043
- this._orgChoiceDisps.InsertRange(idx, new Array(count));
14044
- this._choiceLinks.InsertRange(idx, new Array(count));
14045
- this._choiceLayerList.InsertRange(idx, new Array(count));
14046
- this._choiceNums.InsertRange(idx, new Array(count));
14039
+ this._prevValues.InsertRange(new Array(count));
14040
+ this._prevIsNulls.InsertRange(new Array(count));
14041
+ this._currReadOnly.InsertRange(new Array(count));
14042
+ this._choiceDisps.InsertRange(new Array(count));
14043
+ this._orgChoiceDisps.InsertRange(new Array(count));
14044
+ this._choiceLinks.InsertRange(new Array(count));
14045
+ this._choiceLayerList.InsertRange(new Array(count));
14046
+ this._choiceNums.InsertRange(new Array(count));
14047
14047
  if (this.SupportsDataSource())
14048
- this._dcTableRefs.InsertRange(idx, new Array(count));
14049
- this._propTab.InsertPrevValueArray(idx, count);
14048
+ this._dcTableRefs.InsertRange(new Array(count));
14049
+ this._propTab.InsertPrevValueArray(count);
14050
14050
  };
14051
14051
  MgControlBase.prototype.updateArrays = function (newSize) {
14052
14052
  this._prevValues.SetSize(newSize);
@@ -14633,7 +14633,7 @@
14633
14633
  case utils.StorageAttribute.TIME:
14634
14634
  picture = PIC.buildPicture(dataType, token, task.getCompIdx(), false);
14635
14635
  optionsValid = this.optionIsValid(token);
14636
- choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), choiceLinkStr, picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
14636
+ choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
14637
14637
  ((this._choiceNums.get_Item(line)))[i] = new NUM_TYPE(choiceLink[i]);
14638
14638
  break;
14639
14639
  case utils.StorageAttribute.BOOLEAN:
@@ -14714,7 +14714,7 @@
14714
14714
  return [3 /*break*/, 6];
14715
14715
  case 5:
14716
14716
  blobContentType = (this._field !== null) ? this._field.getContentType() : BlobType.CONTENT_TYPE_UNKNOWN;
14717
- mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._range, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
14717
+ mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
14718
14718
  _a.label = 6;
14719
14719
  case 6: return [2 /*return*/, mgVal];
14720
14720
  }
@@ -15238,7 +15238,7 @@
15238
15238
  return true;
15239
15239
  }
15240
15240
  else {
15241
- return _super_1.prototype.isTableControl.call(this) && Property.isRepeatableInTable(propId);
15241
+ return _super_1.prototype.isTableControl.call(this) && Property.isRepeatableInTable();
15242
15242
  }
15243
15243
  };
15244
15244
  MgControlBase.prototype.SetAndRefreshDisplayValue = function (mgVal, isNull) {
@@ -15754,7 +15754,7 @@
15754
15754
  case 0: return [4 /*yield*/, this.refreshDispRange(execComputeChoice)];
15755
15755
  case 1:
15756
15756
  displayList = _a.sent();
15757
- options = displayList.map(function (displayValue, counter, arr) {
15757
+ options = displayList.map(function (displayValue, counter) {
15758
15758
  var index = counter.toString();
15759
15759
  return { index: index, displayValue: displayValue };
15760
15760
  });
@@ -15782,7 +15782,7 @@
15782
15782
  case 1:
15783
15783
  optionsStrings = _a.sent();
15784
15784
  if (!(_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete())) return [3 /*break*/, 2];
15785
- options = optionsStrings.map(function (displayValue, index, arr) {
15785
+ options = optionsStrings.map(function (displayValue, index) {
15786
15786
  return { index: index, displayValue: displayValue };
15787
15787
  });
15788
15788
  Commands.addOperationWithLine(exports.CommandType.SET_PROPERTY, this, line, exports.HtmlProperties.ItemsList, options);
@@ -16000,7 +16000,7 @@
16000
16000
  MgControlBase.prototype.setDcValId = function (dcValId) {
16001
16001
  this._dcValId = dcValId;
16002
16002
  };
16003
- MgControlBase.prototype.SetKeyboardLanguage = function (restoreLang) {
16003
+ MgControlBase.prototype.SetKeyboardLanguage = function () {
16004
16004
  Commands.beginInvoke();
16005
16005
  };
16006
16006
  MgControlBase.prototype.Init = function () {
@@ -16954,8 +16954,8 @@
16954
16954
  };
16955
16955
  MgFormBase.prototype.GetListOfInputControls = function () {
16956
16956
  var _this = this;
16957
- var filterterList = this.CtrlTab.filter((function (c, index, array) { return _this.IsInputType(c); }));
16958
- var names = filterterList.reduce(function (pre, ctrl, i) {
16957
+ var filterterList = this.CtrlTab.filter((function (c) { return _this.IsInputType(c); }));
16958
+ var names = filterterList.reduce(function (pre, ctrl) {
16959
16959
  pre[ctrl.UniqueName] = ctrl.IsRepeatable ? '1' : '0';
16960
16960
  return pre;
16961
16961
  }, {});
@@ -16985,7 +16985,7 @@
16985
16985
  this.InitTableControl_0();
16986
16986
  return;
16987
16987
  }
16988
- this.InitTableControl_1(dvSize, tableItemsCount, removeAll);
16988
+ this.InitTableControl_1(dvSize, tableItemsCount);
16989
16989
  };
16990
16990
  MgFormBase.prototype.UpdateTableChildrenArraysSize = function (size) {
16991
16991
  var children = this.TableChildren;
@@ -17001,7 +17001,7 @@
17001
17001
  MgFormBase.prototype.toString = function () {
17002
17002
  return '{GuiMgForm' + ': Id=' + this._userStateId + '}';
17003
17003
  };
17004
- MgFormBase.prototype.IncludeControlInTabbingOrder = function (control, includeControlChildOfFrameForm) {
17004
+ MgFormBase.prototype.IncludeControlInTabbingOrder = function (control) {
17005
17005
  if (!control.PropertyExists(exports.PropInterface.PROP_TYPE_TAB_ORDER))
17006
17006
  return false;
17007
17007
  return true;
@@ -17084,7 +17084,7 @@
17084
17084
  MgFormBase.prototype.InitTableControl_0 = function () {
17085
17085
  this.InitTableControl(1, 1, false);
17086
17086
  };
17087
- MgFormBase.prototype.InitTableControl_1 = function (dvSize, tableItemsCount, removeAll) {
17087
+ MgFormBase.prototype.InitTableControl_1 = function (dvSize, tableItemsCount) {
17088
17088
  if (this._tableMgControl != null) {
17089
17089
  Commands.addWithNumber(exports.CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
17090
17090
  this._tableItemsCount = tableItemsCount;
@@ -17138,7 +17138,7 @@
17138
17138
  Events.CloseFormEvent = this.processFormClose;
17139
17139
  Events.ColumnClickEvent = this.ProcessColumnClick;
17140
17140
  };
17141
- EventsProcessor.prototype.processKeyDown = function (guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, ComboIsDropDown, handled) {
17141
+ EventsProcessor.prototype.processKeyDown = function (guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled) {
17142
17142
  var eventHandled = handled;
17143
17143
  var mgControlBase = guiMgCtrl;
17144
17144
  var mgFormBase = guiMgForm;
@@ -17149,7 +17149,7 @@
17149
17149
  var clrHandledEvent = false;
17150
17150
  var mgFormBase = guiMgForm;
17151
17151
  if (MgFormBase.ShouldPutActOnFormClose())
17152
- Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), utils.InternalInterface.MG_ACT_HIT, exports.RaisedBy.CLOSE_SYSTEM_MENU);
17152
+ Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), utils.InternalInterface.MG_ACT_HIT);
17153
17153
  Manager.EventsManager.addGuiTriggeredEventWithTaskAndCode(mgFormBase.getTask(), utils.InternalInterface.MG_ACT_CLOSE);
17154
17154
  return clrHandledEvent;
17155
17155
  };
@@ -17157,7 +17157,7 @@
17157
17157
  var mgControl = guiMgCtrl;
17158
17158
  if (mgControl === null) {
17159
17159
  mscorelib.Debug.Assert(guiMgForm !== null);
17160
- Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), utils.InternalInterface.MG_ACT_HIT, onMultiMark);
17160
+ Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), utils.InternalInterface.MG_ACT_HIT);
17161
17161
  }
17162
17162
  else {
17163
17163
  if (mgControl.isSubform()) {
@@ -17448,8 +17448,8 @@
17448
17448
  var DcValuesBuilderBase = /** @class */ (function () {
17449
17449
  function DcValuesBuilderBase() {
17450
17450
  }
17451
- DcValuesBuilderBase.prototype.CreateDcValues = function (isVector) {
17452
- return new DcValues(false, isVector);
17451
+ DcValuesBuilderBase.prototype.CreateDcValues = function () {
17452
+ return new DcValues(false);
17453
17453
  };
17454
17454
  DcValuesBuilderBase.prototype.SetId = function (dcValues, newId) {
17455
17455
  dcValues.SetID(newId);
@@ -17595,8 +17595,8 @@
17595
17595
  this._emptyDataview = false;
17596
17596
  this._fieldsTab = null;
17597
17597
  this._task = null;
17598
- this._emptyChoice = new DcValues(true, false);
17599
- this._emptyChoiceForVectors = new DcValues(true, true);
17598
+ this._emptyChoice = new DcValues(true);
17599
+ this._emptyChoiceForVectors = new DcValues(true);
17600
17600
  }
17601
17601
  GuiDataViewBase.prototype.getField = function (id) {
17602
17602
  if (this._fieldsTab != null)
@@ -17692,13 +17692,13 @@
17692
17692
  this.Dispose_0();
17693
17693
  return;
17694
17694
  }
17695
- this.Dispose_1(isDisposing);
17695
+ this.Dispose_1();
17696
17696
  };
17697
17697
  ObjectReferenceBase.prototype.Dispose_0 = function () {
17698
17698
  utils.Logger.Instance.WriteDevToLog("Disposing " + this);
17699
17699
  this.Dispose(true);
17700
17700
  };
17701
- ObjectReferenceBase.prototype.Dispose_1 = function (isDisposing) {
17701
+ ObjectReferenceBase.prototype.Dispose_1 = function () {
17702
17702
  if (!this.isDisposed) {
17703
17703
  if (!this.Referent.HasReferences) {
17704
17704
  if (utils.Logger.Instance.LogLevel >= utils.Logger_LogLevels.Development) {
@@ -18018,12 +18018,12 @@
18018
18018
  if (task.getForm() === null && Manager.GetCurrentRuntimeContext().FrameForm !== null) {
18019
18019
  task = Manager.GetCurrentRuntimeContext().FrameForm.getTask();
18020
18020
  }
18021
- task.WriteToMessagePane(text, false);
18021
+ task.WriteToMessagePane(text);
18022
18022
  Manager.GetCurrentRuntimeContext().DefaultStatusMsg = text;
18023
18023
  }
18024
18024
  }
18025
18025
  };
18026
- GuiExpressionEvaluator.prototype.IsParallel = function (task) {
18026
+ GuiExpressionEvaluator.prototype.IsParallel = function () {
18027
18027
  return false;
18028
18028
  };
18029
18029
  GuiExpressionEvaluator.prototype.eval_op_browserExecute_DO = function (resVal, controlName, text, sync, language) {
@@ -18674,7 +18674,7 @@
18674
18674
  if (this.getMode() !== val) {
18675
18675
  this.setProp(exports.PropInterface.PROP_TYPE_TASK_MODE, val);
18676
18676
  if (this._flowMonitor !== null)
18677
- this._flowMonitor.addTaskCngMode(this.ContextID, val, this.GetTaskDetails());
18677
+ this._flowMonitor.addTaskCngMode(val, this.GetTaskDetails());
18678
18678
  }
18679
18679
  };
18680
18680
  GuiTaskBase.prototype.getMode = function () {
@@ -18939,7 +18939,7 @@
18939
18939
  result = null;
18940
18940
  wasEvaluated.value = false;
18941
18941
  if (!(alwaysEvaluate || this.DataViewWasRetrieved)) return [3 /*break*/, 2];
18942
- return [4 /*yield*/, this.CalculateExpression(expId, resType, length, contentTypeUnicode, resCellType)];
18942
+ return [4 /*yield*/, this.CalculateExpression(expId, resType, length)];
18943
18943
  case 1:
18944
18944
  result = _a.sent();
18945
18945
  wasEvaluated.value = true;
@@ -19101,13 +19101,13 @@
19101
19101
  GuiTaskBase.prototype.ShouldEvaluatePropertyLocally = function (propId) {
19102
19102
  return false;
19103
19103
  };
19104
- GuiTaskBase.prototype.WriteToMessagePane = function (msg, soundBeep) {
19104
+ GuiTaskBase.prototype.WriteToMessagePane = function (msg) {
19105
19105
  if (msg != null)
19106
19106
  console.log(msg);
19107
19107
  };
19108
- GuiTaskBase.prototype.WriteToMessagePanebyMsgId = function (msgId, soundBeep) {
19108
+ GuiTaskBase.prototype.WriteToMessagePanebyMsgId = function (msgId) {
19109
19109
  var msg = Events.GetMessageString(msgId);
19110
- this.WriteToMessagePane(msg, soundBeep);
19110
+ this.WriteToMessagePane(msg);
19111
19111
  };
19112
19112
  return GuiTaskBase;
19113
19113
  }());
@@ -19125,7 +19125,7 @@
19125
19125
  MgTimer.prototype.Start = function () {
19126
19126
  var _this = this;
19127
19127
  var timer1 = rxjs.timer(this._timerIntervalMilliSeconds, this._timerIntervalMilliSeconds);
19128
- this._threadTimer = timer1.subscribe(function (state) { return MgTimer.Run(_this); });
19128
+ this._threadTimer = timer1.subscribe(function () { return MgTimer.Run(_this); });
19129
19129
  };
19130
19130
  MgTimer.prototype.Stop = function () {
19131
19131
  this._threadTimer.unsubscribe();
@@ -19169,12 +19169,12 @@
19169
19169
  _this.constructor_2();
19170
19170
  return _this;
19171
19171
  }
19172
- _this.constructor_3(oldUserName, newUserName, password);
19172
+ _this.constructor_3(newUserName);
19173
19173
  return _this;
19174
19174
  }
19175
19175
  ChangePasswordCredentials.prototype.constructor_2 = function () {
19176
19176
  };
19177
- ChangePasswordCredentials.prototype.constructor_3 = function (oldUserName, newUserName, password) {
19177
+ ChangePasswordCredentials.prototype.constructor_3 = function (newUserName) {
19178
19178
  this.NewUserName = newUserName;
19179
19179
  };
19180
19180
  ChangePasswordCredentials.prototype.ToString = function () {
@@ -19227,7 +19227,7 @@
19227
19227
  var ProcessLauncher = /** @class */ (function () {
19228
19228
  function ProcessLauncher() {
19229
19229
  }
19230
- ProcessLauncher.InvokeOS = function (command, wait, show, errMsg, exitCode) {
19230
+ ProcessLauncher.InvokeOS = function () {
19231
19231
  return -1;
19232
19232
  };
19233
19233
  ProcessLauncher.SeparateParams = function (cmd) {