@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
@@ -300,12 +300,12 @@ class Events {
300
300
  }
301
301
  static SaveLastClickedCtrlName(guiMgControl, controlName) {
302
302
  if (Events.SaveLastClickedCtrlEvent !== null) {
303
- Events.SaveLastClickedCtrlEvent(guiMgControl, controlName);
303
+ Events.SaveLastClickedCtrlEvent(controlName);
304
304
  }
305
305
  }
306
306
  static SaveLastClickInfo(guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels) {
307
307
  if (Events.SaveLastClickInfoEvent !== null) {
308
- Events.SaveLastClickInfoEvent(guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
308
+ Events.SaveLastClickInfoEvent(controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
309
309
  }
310
310
  }
311
311
  static WriteErrorToLog(msg) {
@@ -875,13 +875,13 @@ class GuiInteractiveBase {
875
875
  this._obj1 = guiMgForm;
876
876
  this.Invoke();
877
877
  }
878
- isFormActive(guiMgForm) {
878
+ isFormActive() {
879
879
  if (arguments.length === 1)
880
- return this.isFormActive_0(guiMgForm);
880
+ return this.isFormActive_0();
881
881
  else
882
882
  this.isFormActive_1();
883
883
  }
884
- isFormActive_0(guiMgForm) {
884
+ isFormActive_0() {
885
885
  return this._boolVal;
886
886
  }
887
887
  GetRtfValueBeforeEnteringControl(guiMgControl, line) {
@@ -1661,7 +1661,7 @@ class Commands {
1661
1661
  return __awaiter(this, void 0, void 0, function* () {
1662
1662
  let guiInteractive = new GuiInteractive();
1663
1663
  let returnValue;
1664
- yield new Promise((resolve, reject) => {
1664
+ yield new Promise((resolve) => {
1665
1665
  this.SetResolveCallback(resolve);
1666
1666
  guiInteractive.messageBox(title, msg, style);
1667
1667
  }).then((res) => { returnValue = res; });
@@ -2089,13 +2089,13 @@ class Manager {
2089
2089
  static GetDelayWait() {
2090
2090
  return Manager._delayWait;
2091
2091
  }
2092
- static CanFocus(guiMgControl) {
2092
+ static CanFocus() {
2093
2093
  return false;
2094
2094
  }
2095
2095
  static Init(startupImageFileName) {
2096
2096
  return;
2097
2097
  }
2098
- static Abort(form, mainPrgTask) {
2098
+ static Abort(form) {
2099
2099
  if (form.getSubFormCtrl() === null && form.Opened) {
2100
2100
  if (form.isDialog()) {
2101
2101
  this.IsOverlayOpen = false;
@@ -2153,12 +2153,12 @@ class Manager {
2153
2153
  static ClearStatusBar(task) {
2154
2154
  let currentParkedControl = task.getLastParkedCtrl();
2155
2155
  if (currentParkedControl !== null && !NString.IsNullOrEmpty(currentParkedControl.PromptHelp))
2156
- task.WriteToMessagePane(currentParkedControl.PromptHelp, false);
2156
+ task.WriteToMessagePane(currentParkedControl.PromptHelp);
2157
2157
  else
2158
2158
  Manager.CleanMessagePane(task);
2159
2159
  }
2160
2160
  static CleanMessagePane(task) {
2161
- task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg, false);
2161
+ task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg);
2162
2162
  }
2163
2163
  static GetMessage(msg) {
2164
2164
  if (msg === null)
@@ -2257,7 +2257,7 @@ class ContextIDGuard {
2257
2257
  }
2258
2258
  }
2259
2259
  SaveFilename() {
2260
- let stackFrame = new StackFrame(1, true);
2260
+ let stackFrame = new StackFrame(1);
2261
2261
  this._fileName = stackFrame.GetFileName();
2262
2262
  }
2263
2263
  Dispose() {
@@ -6033,7 +6033,7 @@ class DisplayConvertor {
6033
6033
  case StorageAttribute.TIME: {
6034
6034
  if (useNative) {
6035
6035
  let dt;
6036
- dt = this.fromMgTimeToNativeTime(mgValue, pic, time_date_num_pic_Z_edt);
6036
+ dt = this.fromMgTimeToNativeTime(mgValue, pic);
6037
6037
  return dt;
6038
6038
  }
6039
6039
  else {
@@ -6055,7 +6055,7 @@ class DisplayConvertor {
6055
6055
  }
6056
6056
  return str;
6057
6057
  }
6058
- disp2mg(dispValue, rangeStr, pic, compIdx, blobContentType) {
6058
+ disp2mg(dispValue, pic, compIdx, blobContentType) {
6059
6059
  let str = "";
6060
6060
  switch (pic.getAttr()) {
6061
6061
  case StorageAttribute.ALPHA:
@@ -6092,7 +6092,7 @@ class DisplayConvertor {
6092
6092
  dt = new Date(dispValue);
6093
6093
  else
6094
6094
  dt = dispValue;
6095
- str = this.fromNativeDateToMgDate(dt, pic, compIdx);
6095
+ str = this.fromNativeDateToMgDate(dt, pic);
6096
6096
  }
6097
6097
  break;
6098
6098
  case StorageAttribute.TIME:
@@ -6109,7 +6109,7 @@ class DisplayConvertor {
6109
6109
  }
6110
6110
  else
6111
6111
  dt = dispValue;
6112
- str = this.fromNativeTimeToMgTime(dt, pic);
6112
+ str = this.fromNativeTimeToMgTime(dt);
6113
6113
  }
6114
6114
  break;
6115
6115
  case StorageAttribute.BOOLEAN:
@@ -6283,7 +6283,7 @@ class DisplayConvertor {
6283
6283
  let nativeDt = new Date(breakParams.year, breakParams.month, breakParams.day);
6284
6284
  return nativeDt;
6285
6285
  }
6286
- fromNativeDateToMgDateNumber(nativeDate, pic, compIdx) {
6286
+ fromNativeDateToMgDateNumber(nativeDate, pic) {
6287
6287
  let mgNum = new NUM_TYPE();
6288
6288
  let numVal;
6289
6289
  let dateParams;
@@ -6308,9 +6308,9 @@ class DisplayConvertor {
6308
6308
  }
6309
6309
  return numVal;
6310
6310
  }
6311
- fromNativeDateToMgDate(nativeDate, pic, compIdx) {
6311
+ fromNativeDateToMgDate(nativeDate, pic) {
6312
6312
  let mgNum = new NUM_TYPE();
6313
- let numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic, compIdx);
6313
+ let numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic);
6314
6314
  mgNum.NUM_4_LONG(numVal);
6315
6315
  return mgNum.toXMLrecord();
6316
6316
  }
@@ -6703,7 +6703,7 @@ class DisplayConvertor {
6703
6703
  outVal[outIdx] = ext[1];
6704
6704
  return (ret);
6705
6705
  }
6706
- fromMgTimeToNativeTime(dataStr, pic, time_date_pic_Z_edt) {
6706
+ fromMgTimeToNativeTime(dataStr, pic) {
6707
6707
  let mask = pic.getMask();
6708
6708
  let maskSize = pic.getMaskSize();
6709
6709
  let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
@@ -7255,13 +7255,13 @@ class DisplayConvertor {
7255
7255
  }
7256
7256
  return num * 146097 + num2 * 36524 + num3 * 1461 + year * 365 + doy;
7257
7257
  }
7258
- fromNativeTimeToMgTime(dispValue, pic) {
7258
+ fromNativeTimeToMgTime(dispValue) {
7259
7259
  let mgNum = new NUM_TYPE();
7260
- let numVal = this.fromNativeTimeToMgTimeNumber(dispValue, pic);
7260
+ let numVal = this.fromNativeTimeToMgTimeNumber(dispValue);
7261
7261
  mgNum.NUM_4_LONG(numVal);
7262
7262
  return mgNum.toXMLrecord();
7263
7263
  }
7264
- fromNativeTimeToMgTimeNumber(dispValue, pic) {
7264
+ fromNativeTimeToMgTimeNumber(dispValue) {
7265
7265
  let numVal = this.time_2_int(dispValue.getHours(), dispValue.getMinutes(), dispValue.getSeconds());
7266
7266
  return numVal;
7267
7267
  }
@@ -9203,7 +9203,7 @@ class GuiControlPropertyAdapter extends GuiMgControl {
9203
9203
  class PropDefaults {
9204
9204
  static getNumericMgValue(propParent, Value) {
9205
9205
  let pic = new PIC("3", StorageAttribute.NUMERIC, propParent.getCompIdx());
9206
- return DisplayConvertor.Instance.disp2mg(Value, "", pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9206
+ return DisplayConvertor.Instance.disp2mg(Value, pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9207
9207
  }
9208
9208
  static getDefaultValueForTask(propId, handled) {
9209
9209
  let val = null;
@@ -9413,7 +9413,7 @@ class PropDefaults {
9413
9413
  val = this.getNumericMgValue(propParent, "0");
9414
9414
  break;
9415
9415
  default:
9416
- Debug.Assert(false, "Undefined default value", NString.Format("No default value was defined for property {0} ({1}).", PropDefaults.GetPropertyName(propId), propId));
9416
+ Debug.Assert(false, "Undefined default value");
9417
9417
  break;
9418
9418
  }
9419
9419
  return val;
@@ -10225,7 +10225,7 @@ class Property {
10225
10225
  this.onHint();
10226
10226
  break;
10227
10227
  case PropInterface.PROP_TYPE_MODIFIABLE:
10228
- yield this.onModifiable(valChanged);
10228
+ yield this.onModifiable();
10229
10229
  break;
10230
10230
  case PropInterface.PROP_TYPE_TOOLTIP:
10231
10231
  this.onTooltip();
@@ -10519,7 +10519,7 @@ class Property {
10519
10519
  onText(line) {
10520
10520
  this.addCommandTypeText(line);
10521
10521
  }
10522
- onModifiable(valChanged) {
10522
+ onModifiable() {
10523
10523
  return __awaiter(this, void 0, void 0, function* () {
10524
10524
  if (this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
10525
10525
  let ctrl = this._parentObj;
@@ -10645,7 +10645,7 @@ class Property {
10645
10645
  }
10646
10646
  return result;
10647
10647
  }
10648
- static isRepeatableInTable(propId) {
10648
+ static isRepeatableInTable() {
10649
10649
  return false;
10650
10650
  }
10651
10651
  getLine() {
@@ -10679,7 +10679,7 @@ class Property {
10679
10679
  let mgControlBase = this._parentObj;
10680
10680
  if (mgControlBase.IsRepeatable)
10681
10681
  size = mgControlBase.getForm().getTableItemsCount();
10682
- else if (mgControlBase.isTableControl() && Property.isRepeatableInTable(this._id))
10682
+ else if (mgControlBase.isTableControl() && Property.isRepeatableInTable())
10683
10683
  size = mgControlBase.getForm().getTableItemsCount();
10684
10684
  }
10685
10685
  this._prevValues.SetSize(size);
@@ -10803,9 +10803,9 @@ class Property {
10803
10803
  prop = new Property(propId, propParent, parentType, mgVal);
10804
10804
  return prop;
10805
10805
  }
10806
- InsertPrevValueArray(idx, count) {
10806
+ InsertPrevValueArray(count) {
10807
10807
  if (!this.ShouldSkipRefresh())
10808
- this._prevValues.InsertRange(idx, new Array(count));
10808
+ this._prevValues.InsertRange(new Array(count));
10809
10809
  }
10810
10810
  }
10811
10811
  Property._numericPropertyPic = null;
@@ -10979,7 +10979,7 @@ class PropTable {
10979
10979
  for (i = 0; i < this.getSize(); i++) {
10980
10980
  prop = this.getProp(i);
10981
10981
  try {
10982
- if (onlyRepeatableProps && !Property.isRepeatableInTable(prop.getID()))
10982
+ if (onlyRepeatableProps && !Property.isRepeatableInTable())
10983
10983
  continue;
10984
10984
  if (prop.getID() === PropInterface.PROP_TYPE_VISIBLE)
10985
10985
  visibleProps.push(prop);
@@ -11028,10 +11028,10 @@ class PropTable {
11028
11028
  getCtrlRef() {
11029
11029
  return ((this._parent instanceof GuiControlPropertyAdapter) ? this._parent : null);
11030
11030
  }
11031
- InsertPrevValueArray(idx, count) {
11031
+ InsertPrevValueArray(count) {
11032
11032
  for (let i = 0; i < this._props.length; i++) {
11033
11033
  let prop = this._props[i];
11034
- prop.InsertPrevValueArray(idx, count);
11034
+ prop.InsertPrevValueArray(count);
11035
11035
  }
11036
11036
  }
11037
11037
  }
@@ -11432,14 +11432,14 @@ class FieldValidator {
11432
11432
  if (this._valDet.getIsNegative() && (this._newvalue.trim().startsWith("-") || (this._valDet.getNegativeSignPref().length !== 0 && this._newvalue.trim().startsWith(this._valDet.getNegativeSignPref())))) {
11433
11433
  evaluated = "-" + evaluated;
11434
11434
  }
11435
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11435
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11436
11436
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
11437
11437
  let tempDispVal = StrUtil.ltrim(evaluated);
11438
11438
  if (tempDispVal.length === 0 && this._valDet.getPIC().zeroFill() && this._valDet.getPIC().getZeroPad() === ' ')
11439
11439
  evaluated = "0";
11440
11440
  }
11441
11441
  else {
11442
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11442
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11443
11443
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
11444
11444
  }
11445
11445
  if (this._valDet.getContinuousRangeValues() != null || this._valDet.getDiscreteRangeValues() != null) {
@@ -11971,7 +11971,7 @@ class FieldValidator {
11971
11971
  let i;
11972
11972
  let downDate;
11973
11973
  let topDate;
11974
- let currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic, this._valDet.getControl().getForm().getTask().getCompIdx());
11974
+ let currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic);
11975
11975
  this.setValidationFailed(false);
11976
11976
  if (ContinuousRange != null) {
11977
11977
  for (i = 0; i < ContinuousRange.length - 1; i++) {
@@ -12410,7 +12410,7 @@ class FieldValidator {
12410
12410
  }
12411
12411
  fillTimeByRange(ContinuousRange, DiscreteRange, buffer) {
12412
12412
  let pic = this._valDet.getPIC();
12413
- let currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer, pic);
12413
+ let currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer);
12414
12414
  let downTime, topTime;
12415
12415
  let i;
12416
12416
  this.setValidationFailed(false);
@@ -12450,7 +12450,7 @@ class FieldValidator {
12450
12450
  ctrlType = this._valDet.getControl().Type;
12451
12451
  if (ctrlType !== MgControlType.CTRL_TYPE_BUTTON && ctrlType !== MgControlType.CTRL_TYPE_RADIO && !this._valDet.getControl().isSelectionCtrl()) {
12452
12452
  let msgString = message.ToString();
12453
- this._valDet.getControl().getForm().getTask().WriteToMessagePane(StrUtil.makePrintable2(msgString), true);
12453
+ this._valDet.getControl().getForm().getTask().WriteToMessagePane(StrUtil.makePrintable2(msgString));
12454
12454
  this._valDet.getControl().getForm().ErrorOccured = !NString.IsNullOrEmpty(msgString);
12455
12455
  this._valDet.ErrorMessage = message.ToString();
12456
12456
  }
@@ -12805,7 +12805,7 @@ class ValidationDetails extends ValidationDetailsBase {
12805
12805
  const EMPTY_DCREF = -2;
12806
12806
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
12807
12807
  class DcValues {
12808
- constructor(empty, isVector) {
12808
+ constructor(empty) {
12809
12809
  this._id = 0;
12810
12810
  this._type = StorageAttribute.NONE;
12811
12811
  this._refCount = 0;
@@ -13236,23 +13236,23 @@ class MgControlBase extends GuiControlPropertyAdapter {
13236
13236
  }
13237
13237
  }
13238
13238
  }
13239
- SetFocus(ctrl, line, refreshPrompt, activateForm) {
13239
+ SetFocus(ctrl, line, activateForm) {
13240
13240
  return __awaiter(this, void 0, void 0, function* () {
13241
13241
  yield FocusManager.SetFocus(ctrl.getForm().getTask(), ctrl, line, activateForm);
13242
13242
  });
13243
13243
  }
13244
13244
  InsertArrays(idx, count) {
13245
- this._prevValues.InsertRange(idx, new Array(count));
13246
- this._prevIsNulls.InsertRange(idx, new Array(count));
13247
- this._currReadOnly.InsertRange(idx, new Array(count));
13248
- this._choiceDisps.InsertRange(idx, new Array(count));
13249
- this._orgChoiceDisps.InsertRange(idx, new Array(count));
13250
- this._choiceLinks.InsertRange(idx, new Array(count));
13251
- this._choiceLayerList.InsertRange(idx, new Array(count));
13252
- this._choiceNums.InsertRange(idx, new Array(count));
13245
+ this._prevValues.InsertRange(new Array(count));
13246
+ this._prevIsNulls.InsertRange(new Array(count));
13247
+ this._currReadOnly.InsertRange(new Array(count));
13248
+ this._choiceDisps.InsertRange(new Array(count));
13249
+ this._orgChoiceDisps.InsertRange(new Array(count));
13250
+ this._choiceLinks.InsertRange(new Array(count));
13251
+ this._choiceLayerList.InsertRange(new Array(count));
13252
+ this._choiceNums.InsertRange(new Array(count));
13253
13253
  if (this.SupportsDataSource())
13254
- this._dcTableRefs.InsertRange(idx, new Array(count));
13255
- this._propTab.InsertPrevValueArray(idx, count);
13254
+ this._dcTableRefs.InsertRange(new Array(count));
13255
+ this._propTab.InsertPrevValueArray(count);
13256
13256
  }
13257
13257
  updateArrays(newSize) {
13258
13258
  this._prevValues.SetSize(newSize);
@@ -13810,7 +13810,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13810
13810
  case StorageAttribute.TIME:
13811
13811
  let picture = PIC.buildPicture(dataType, token, task.getCompIdx(), false);
13812
13812
  optionsValid = this.optionIsValid(token);
13813
- choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), choiceLinkStr, picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
13813
+ choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
13814
13814
  ((this._choiceNums.get_Item(line)))[i] = new NUM_TYPE(choiceLink[i]);
13815
13815
  break;
13816
13816
  case StorageAttribute.BOOLEAN:
@@ -13880,7 +13880,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13880
13880
  }
13881
13881
  else {
13882
13882
  let blobContentType = (this._field !== null) ? this._field.getContentType() : BlobType.CONTENT_TYPE_UNKNOWN;
13883
- mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._range, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
13883
+ mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
13884
13884
  }
13885
13885
  }
13886
13886
  return mgVal;
@@ -14341,7 +14341,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14341
14341
  return true;
14342
14342
  }
14343
14343
  else {
14344
- return super.isTableControl() && Property.isRepeatableInTable(propId);
14344
+ return super.isTableControl() && Property.isRepeatableInTable();
14345
14345
  }
14346
14346
  }
14347
14347
  SetAndRefreshDisplayValue(mgVal, isNull) {
@@ -14727,7 +14727,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14727
14727
  refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
14728
14728
  return __awaiter(this, void 0, void 0, function* () {
14729
14729
  let displayList = yield this.refreshDispRange(execComputeChoice);
14730
- let options = displayList.map((displayValue, counter, arr) => {
14730
+ let options = displayList.map((displayValue, counter) => {
14731
14731
  let index = counter.toString();
14732
14732
  return { index, displayValue };
14733
14733
  });
@@ -14746,7 +14746,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14746
14746
  }
14747
14747
  let optionsStrings = yield this.refreshDispRange(execComputeChoice);
14748
14748
  if (_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete()) {
14749
- let options = optionsStrings.map((displayValue, index, arr) => {
14749
+ let options = optionsStrings.map((displayValue, index) => {
14750
14750
  return { index, displayValue };
14751
14751
  });
14752
14752
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
@@ -14928,7 +14928,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14928
14928
  setDcValId(dcValId) {
14929
14929
  this._dcValId = dcValId;
14930
14930
  }
14931
- SetKeyboardLanguage(restoreLang) {
14931
+ SetKeyboardLanguage() {
14932
14932
  Commands.beginInvoke();
14933
14933
  }
14934
14934
  Init() {
@@ -15732,8 +15732,8 @@ class MgFormBase extends GuiFormPropertyAdapter {
15732
15732
  }
15733
15733
  }
15734
15734
  GetListOfInputControls() {
15735
- let filterterList = this.CtrlTab.filter(((c, index, array) => this.IsInputType(c)));
15736
- let names = filterterList.reduce((pre, ctrl, i) => {
15735
+ let filterterList = this.CtrlTab.filter(((c) => this.IsInputType(c)));
15736
+ let names = filterterList.reduce((pre, ctrl) => {
15737
15737
  pre[ctrl.UniqueName] = ctrl.IsRepeatable ? '1' : '0';
15738
15738
  return pre;
15739
15739
  }, {});
@@ -15763,7 +15763,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15763
15763
  this.InitTableControl_0();
15764
15764
  return;
15765
15765
  }
15766
- this.InitTableControl_1(dvSize, tableItemsCount, removeAll);
15766
+ this.InitTableControl_1(dvSize, tableItemsCount);
15767
15767
  }
15768
15768
  UpdateTableChildrenArraysSize(size) {
15769
15769
  let children = this.TableChildren;
@@ -15779,7 +15779,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15779
15779
  toString() {
15780
15780
  return '{GuiMgForm' + ': Id=' + this._userStateId + '}';
15781
15781
  }
15782
- IncludeControlInTabbingOrder(control, includeControlChildOfFrameForm) {
15782
+ IncludeControlInTabbingOrder(control) {
15783
15783
  if (!control.PropertyExists(PropInterface.PROP_TYPE_TAB_ORDER))
15784
15784
  return false;
15785
15785
  return true;
@@ -15862,7 +15862,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15862
15862
  InitTableControl_0() {
15863
15863
  this.InitTableControl(1, 1, false);
15864
15864
  }
15865
- InitTableControl_1(dvSize, tableItemsCount, removeAll) {
15865
+ InitTableControl_1(dvSize, tableItemsCount) {
15866
15866
  if (this._tableMgControl != null) {
15867
15867
  Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
15868
15868
  this._tableItemsCount = tableItemsCount;
@@ -15914,7 +15914,7 @@ class EventsProcessor {
15914
15914
  Events.CloseFormEvent = this.processFormClose;
15915
15915
  Events.ColumnClickEvent = this.ProcessColumnClick;
15916
15916
  }
15917
- processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, ComboIsDropDown, handled) {
15917
+ processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled) {
15918
15918
  let eventHandled = handled;
15919
15919
  let mgControlBase = guiMgCtrl;
15920
15920
  let mgFormBase = guiMgForm;
@@ -15925,7 +15925,7 @@ class EventsProcessor {
15925
15925
  let clrHandledEvent = false;
15926
15926
  let mgFormBase = guiMgForm;
15927
15927
  if (MgFormBase.ShouldPutActOnFormClose())
15928
- Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), InternalInterface.MG_ACT_HIT, RaisedBy.CLOSE_SYSTEM_MENU);
15928
+ Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), InternalInterface.MG_ACT_HIT);
15929
15929
  Manager.EventsManager.addGuiTriggeredEventWithTaskAndCode(mgFormBase.getTask(), InternalInterface.MG_ACT_CLOSE);
15930
15930
  return clrHandledEvent;
15931
15931
  }
@@ -15933,7 +15933,7 @@ class EventsProcessor {
15933
15933
  let mgControl = guiMgCtrl;
15934
15934
  if (mgControl === null) {
15935
15935
  Debug.Assert(guiMgForm !== null);
15936
- Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), InternalInterface.MG_ACT_HIT, onMultiMark);
15936
+ Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), InternalInterface.MG_ACT_HIT);
15937
15937
  }
15938
15938
  else {
15939
15939
  if (mgControl.isSubform()) {
@@ -16214,8 +16214,8 @@ RuntimeContextBase.noContextId = null;
16214
16214
  RuntimeContextBase.Instance = new RuntimeContextBase();
16215
16215
 
16216
16216
  class DcValuesBuilderBase {
16217
- CreateDcValues(isVector) {
16218
- return new DcValues(false, isVector);
16217
+ CreateDcValues() {
16218
+ return new DcValues(false);
16219
16219
  }
16220
16220
  SetId(dcValues, newId) {
16221
16221
  dcValues.SetID(newId);
@@ -16361,8 +16361,8 @@ class GuiDataViewBase {
16361
16361
  this._emptyDataview = false;
16362
16362
  this._fieldsTab = null;
16363
16363
  this._task = null;
16364
- this._emptyChoice = new DcValues(true, false);
16365
- this._emptyChoiceForVectors = new DcValues(true, true);
16364
+ this._emptyChoice = new DcValues(true);
16365
+ this._emptyChoiceForVectors = new DcValues(true);
16366
16366
  }
16367
16367
  getField(id) {
16368
16368
  if (this._fieldsTab != null)
@@ -16457,13 +16457,13 @@ class ObjectReferenceBase {
16457
16457
  this.Dispose_0();
16458
16458
  return;
16459
16459
  }
16460
- this.Dispose_1(isDisposing);
16460
+ this.Dispose_1();
16461
16461
  }
16462
16462
  Dispose_0() {
16463
16463
  Logger.Instance.WriteDevToLog("Disposing " + this);
16464
16464
  this.Dispose(true);
16465
16465
  }
16466
- Dispose_1(isDisposing) {
16466
+ Dispose_1() {
16467
16467
  if (!this.isDisposed) {
16468
16468
  if (!this.Referent.HasReferences) {
16469
16469
  if (Logger.Instance.LogLevel >= Logger_LogLevels.Development) {
@@ -16776,12 +16776,12 @@ class GuiExpressionEvaluator {
16776
16776
  if (task.getForm() === null && Manager.GetCurrentRuntimeContext().FrameForm !== null) {
16777
16777
  task = Manager.GetCurrentRuntimeContext().FrameForm.getTask();
16778
16778
  }
16779
- task.WriteToMessagePane(text, false);
16779
+ task.WriteToMessagePane(text);
16780
16780
  Manager.GetCurrentRuntimeContext().DefaultStatusMsg = text;
16781
16781
  }
16782
16782
  }
16783
16783
  }
16784
- IsParallel(task) {
16784
+ IsParallel() {
16785
16785
  return false;
16786
16786
  }
16787
16787
  eval_op_browserExecute_DO(resVal, controlName, text, sync, language) {
@@ -17392,7 +17392,7 @@ class GuiTaskBase {
17392
17392
  if (this.getMode() !== val) {
17393
17393
  this.setProp(PropInterface.PROP_TYPE_TASK_MODE, val);
17394
17394
  if (this._flowMonitor !== null)
17395
- this._flowMonitor.addTaskCngMode(this.ContextID, val, this.GetTaskDetails());
17395
+ this._flowMonitor.addTaskCngMode(val, this.GetTaskDetails());
17396
17396
  }
17397
17397
  }
17398
17398
  getMode() {
@@ -17638,7 +17638,7 @@ class GuiTaskBase {
17638
17638
  let result = null;
17639
17639
  wasEvaluated.value = false;
17640
17640
  if (alwaysEvaluate || this.DataViewWasRetrieved) {
17641
- result = yield this.CalculateExpression(expId, resType, length, contentTypeUnicode, resCellType);
17641
+ result = yield this.CalculateExpression(expId, resType, length);
17642
17642
  wasEvaluated.value = true;
17643
17643
  }
17644
17644
  return result;
@@ -17796,13 +17796,13 @@ class GuiTaskBase {
17796
17796
  ShouldEvaluatePropertyLocally(propId) {
17797
17797
  return false;
17798
17798
  }
17799
- WriteToMessagePane(msg, soundBeep) {
17799
+ WriteToMessagePane(msg) {
17800
17800
  if (msg != null)
17801
17801
  console.log(msg);
17802
17802
  }
17803
- WriteToMessagePanebyMsgId(msgId, soundBeep) {
17803
+ WriteToMessagePanebyMsgId(msgId) {
17804
17804
  let msg = Events.GetMessageString(msgId);
17805
- this.WriteToMessagePane(msg, soundBeep);
17805
+ this.WriteToMessagePane(msg);
17806
17806
  }
17807
17807
  }
17808
17808
  GuiTaskBase.MAIN_PRG_PARENT_ID = 32768;
@@ -17818,7 +17818,7 @@ class MgTimer {
17818
17818
  }
17819
17819
  Start() {
17820
17820
  var timer1 = timer(this._timerIntervalMilliSeconds, this._timerIntervalMilliSeconds);
17821
- this._threadTimer = timer1.subscribe(state => MgTimer.Run(this));
17821
+ this._threadTimer = timer1.subscribe(() => MgTimer.Run(this));
17822
17822
  }
17823
17823
  Stop() {
17824
17824
  this._threadTimer.unsubscribe();
@@ -17859,11 +17859,11 @@ class ChangePasswordCredentials extends UsernamePasswordCredentials {
17859
17859
  this.constructor_2();
17860
17860
  return;
17861
17861
  }
17862
- this.constructor_3(oldUserName, newUserName, password);
17862
+ this.constructor_3(newUserName);
17863
17863
  }
17864
17864
  constructor_2() {
17865
17865
  }
17866
- constructor_3(oldUserName, newUserName, password) {
17866
+ constructor_3(newUserName) {
17867
17867
  this.NewUserName = newUserName;
17868
17868
  }
17869
17869
  ToString() {
@@ -17910,7 +17910,7 @@ class AuthenticationDialogHandler extends DialogHandler {
17910
17910
  }
17911
17911
 
17912
17912
  class ProcessLauncher {
17913
- static InvokeOS(command, wait, show, errMsg, exitCode) {
17913
+ static InvokeOS() {
17914
17914
  return -1;
17915
17915
  }
17916
17916
  static SeparateParams(cmd) {