@magic-xpa/gui 4.1000.0-dev4100.43 → 4.1000.0-dev4100.436

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.
@@ -25,8 +25,6 @@ class GuiMgForm extends ControlBase {
25
25
  }
26
26
 
27
27
  class Events {
28
- constructor() {
29
- }
30
28
  static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
31
29
  Debug.Assert(Events.FocusEvent !== null);
32
30
  Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
@@ -375,6 +373,8 @@ class Events {
375
373
  Events.CopyDataEvent(guiMgForm, copyData);
376
374
  }
377
375
  }
376
+ constructor() {
377
+ }
378
378
  }
379
379
  Events.NonParkableLastParkedCtrlEvent = null;
380
380
  Events.IsBatchRunningInMainContextEvent = null;
@@ -547,9 +547,10 @@ class GuiInteractiveBase {
547
547
  this._boolVal = retSuggestedValue;
548
548
  this.Invoke();
549
549
  }
550
- getValue(obj, line) {
550
+ getValue(obj, line, isThreeStateCheckBox) {
551
551
  this._commandType = InteractiveCommandType.GET_VALUE;
552
552
  this._obj2 = obj;
553
+ this._boolVal = isThreeStateCheckBox;
553
554
  this._line = line;
554
555
  this._mgValue = new MgValue();
555
556
  this.Invoke();
@@ -1017,6 +1018,8 @@ var CommandType;
1017
1018
  CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
1018
1019
  CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
1019
1020
  CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
1021
+ CommandType[CommandType["SET_WC_IDLE"] = 157] = "SET_WC_IDLE";
1022
+ CommandType[CommandType["SET_CHUNK_SIZE"] = 158] = "SET_CHUNK_SIZE";
1020
1023
  })(CommandType || (CommandType = {}));
1021
1024
  var HtmlProperties;
1022
1025
  (function (HtmlProperties) {
@@ -1037,6 +1040,7 @@ var HtmlProperties;
1037
1040
  HtmlProperties["SelectedLayer"] = "SelectedLayer";
1038
1041
  HtmlProperties["BindingLevel"] = "bindingLevel";
1039
1042
  HtmlProperties["ZoomButtonTooltip"] = "ZoomButtonTooltip";
1043
+ HtmlProperties["CheckBoxIndeterminate"] = "CheckBoxIndeterminate";
1040
1044
  })(HtmlProperties || (HtmlProperties = {}));
1041
1045
  var MenuStyle;
1042
1046
  (function (MenuStyle) {
@@ -1153,8 +1157,6 @@ class GuiCommand {
1153
1157
  }
1154
1158
 
1155
1159
  class Commands {
1156
- constructor() {
1157
- }
1158
1160
  static SetResolveCallback(resolveCallback) {
1159
1161
  this.resolveCallback = resolveCallback;
1160
1162
  }
@@ -1178,9 +1180,9 @@ class Commands {
1178
1180
  let guiInteractive = new GuiInteractive();
1179
1181
  guiInteractive.setGetSuggestedValueOfChoiceControlOnTagData(ctrl, line, retSuggestedValue);
1180
1182
  }
1181
- static getValue(obj, line) {
1183
+ static getValue(obj, line, isThreeStateCheckBox) {
1182
1184
  let guiInteractive = new GuiInteractive();
1183
- return guiInteractive.getValue(obj, line);
1185
+ return guiInteractive.getValue(obj, line, isThreeStateCheckBox);
1184
1186
  }
1185
1187
  static getTopIndex(tablecontrol) {
1186
1188
  let guiInteractive = new GuiInteractive();
@@ -1242,7 +1244,10 @@ class Commands {
1242
1244
  if (commandType === CommandType.SET_VALUE) {
1243
1245
  if (obj instanceof GuiMgControl && obj.isChoiceControl()) {
1244
1246
  if (value < 0)
1245
- guiCommand.value = '';
1247
+ if (obj.isComboBox())
1248
+ guiCommand.value = undefined;
1249
+ else
1250
+ guiCommand.value = '';
1246
1251
  }
1247
1252
  }
1248
1253
  GuiCommandQueue.getInstance().addCommand(guiCommand);
@@ -1317,6 +1322,8 @@ class Commands {
1317
1322
  static invoke() {
1318
1323
  GuiCommandQueue.getInstance().invoke();
1319
1324
  }
1325
+ constructor() {
1326
+ }
1320
1327
  }
1321
1328
  Commands.resolveCallback = null;
1322
1329
 
@@ -1592,7 +1599,7 @@ class Manager {
1592
1599
  }
1593
1600
  }
1594
1601
  static GetCtrlVal(ctrl) {
1595
- return Commands.getValue(ctrl, ctrl.getDisplayLine(true));
1602
+ return Commands.getValue(ctrl, ctrl.getDisplayLine(true), ctrl.isThreeStateCheckBox());
1596
1603
  }
1597
1604
  static async SetReadOnlyControl(ctrl, isReadOnly) {
1598
1605
  if (ctrl.isTextControl() || ctrl.IsRepeatable || ctrl.isComboBox() || ctrl.isListBox() || ctrl.isCheckBox() || ctrl.isRadio()) {
@@ -3270,6 +3277,12 @@ class ValidationDetailsBase {
3270
3277
  }
3271
3278
 
3272
3279
  class NUM_TYPE {
3280
+ set Data(value) {
3281
+ this._data = value;
3282
+ }
3283
+ get Data() {
3284
+ return this._data;
3285
+ }
3273
3286
  constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
3274
3287
  this.COMMACHAR = ',';
3275
3288
  this.DECIMALCHAR = '.';
@@ -3297,12 +3310,6 @@ class NUM_TYPE {
3297
3310
  }
3298
3311
  this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
3299
3312
  }
3300
- set Data(value) {
3301
- this._data = value;
3302
- }
3303
- get Data() {
3304
- return this._data;
3305
- }
3306
3313
  constructor_0() {
3307
3314
  this.initConst();
3308
3315
  this.NUM_ZERO();
@@ -5316,17 +5323,17 @@ HebrewDate.DOW_LEN = 5;
5316
5323
  HebrewDate._localDows = new Array(8);
5317
5324
 
5318
5325
  class DisplayConvertor {
5319
- constructor() {
5320
- this._environment = null;
5321
- this.DATECHAR = 0;
5322
- this._environment = GuiEnvironment.Environment;
5323
- }
5324
5326
  static get Instance() {
5325
5327
  if (DisplayConvertor._instance === null) {
5326
5328
  DisplayConvertor._instance = new DisplayConvertor();
5327
5329
  }
5328
5330
  return DisplayConvertor._instance;
5329
5331
  }
5332
+ constructor() {
5333
+ this._environment = null;
5334
+ this.DATECHAR = 0;
5335
+ this._environment = GuiEnvironment.Environment;
5336
+ }
5330
5337
  getNewDateBreakParams() {
5331
5338
  return new DateBreakParams();
5332
5339
  }
@@ -5635,37 +5642,7 @@ class DisplayConvertor {
5635
5642
  breakParams.month = breakParams.month - 1;
5636
5643
  if (breakParams.year == 0 && breakParams.month == 0 && breakParams.day == 0)
5637
5644
  return null;
5638
- let maskStr = pic.getMask();
5639
- let outVal = NString.ToCharArray(maskStr);
5640
- let len = pic.getMaskSize();
5641
- let year = breakParams.year;
5642
- let outIdx = 0;
5643
- while (len > 0) {
5644
- switch (outVal[outIdx].charCodeAt(0)) {
5645
- case PICInterface.PIC_YY:
5646
- {
5647
- this.int_2_a(outVal, outIdx, 2, breakParams.year, '0');
5648
- let yearStr = NString.FromChars(outVal, outIdx, 2);
5649
- year = +yearStr;
5650
- outIdx += 2;
5651
- len -= 2;
5652
- }
5653
- break;
5654
- case PICInterface.PIC_YYYY:
5655
- this.int_2_a(outVal, outIdx, 4, breakParams.year, '0');
5656
- let yearStr = NString.FromChars(outVal, outIdx, 4);
5657
- year = +yearStr;
5658
- outIdx += 4;
5659
- len -= 4;
5660
- break;
5661
- default:
5662
- outIdx++;
5663
- len--;
5664
- break;
5665
- }
5666
- }
5667
- let nativeDt = new Date(year, breakParams.month, breakParams.day);
5668
- return nativeDt;
5645
+ return new Date(breakParams.year, breakParams.month, breakParams.day);
5669
5646
  }
5670
5647
  fromNativeDateToMgDateNumber(nativeDate, pic) {
5671
5648
  let numVal;
@@ -6090,10 +6067,33 @@ class DisplayConvertor {
6090
6067
  let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
6091
6068
  let breakParams = new TimeBreakParams();
6092
6069
  DisplayConvertor.time_break(breakParams, time);
6093
- let nativeDt = new Date();
6094
- nativeDt.setHours(breakParams.hour);
6095
- nativeDt.setMinutes(breakParams.minute);
6096
- nativeDt.setSeconds(breakParams.second);
6070
+ let nativeDt = new Date(0);
6071
+ let maskStr = pic.getMask();
6072
+ let outVal = NString.ToCharArray(maskStr);
6073
+ let len = pic.getMaskSize();
6074
+ let outIdx = 0;
6075
+ while (len > 0) {
6076
+ switch (outVal[outIdx].charCodeAt(0)) {
6077
+ case (PICInterface.PIC_HH):
6078
+ nativeDt.setHours(breakParams.hour);
6079
+ outIdx += 2;
6080
+ len -= 2;
6081
+ break;
6082
+ case (PICInterface.PIC_MMT):
6083
+ nativeDt.setMinutes(breakParams.minute);
6084
+ outIdx += 2;
6085
+ len -= 2;
6086
+ break;
6087
+ case (PICInterface.PIC_SS):
6088
+ nativeDt.setSeconds(breakParams.second);
6089
+ outIdx += 2;
6090
+ len -= 2;
6091
+ break;
6092
+ default:
6093
+ outIdx++;
6094
+ len--;
6095
+ }
6096
+ }
6097
6097
  return nativeDt;
6098
6098
  }
6099
6099
  time_2_a_pic(AsciiStr, AsciiL, time, pic, time_pic_Z_edt, milliSeconds) {
@@ -7081,7 +7081,7 @@ class RecordUtils {
7081
7081
  case StorageAttribute.TIME:
7082
7082
  itemVal = !toBase64
7083
7083
  ? itemVal.substr(0, significantNumSize)
7084
- : Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize)), GuiEnvironment.Environment.GetEncoding());
7084
+ : Base64.encode(this.byteStreamToString(itemVal.substr(0, significantNumSize)));
7085
7085
  break;
7086
7086
  case StorageAttribute.ALPHA:
7087
7087
  case StorageAttribute.UNICODE:
@@ -7164,7 +7164,7 @@ class RecordUtils {
7164
7164
  itemVal = itemVal.substr(pos, (fldValLen) - (pos));
7165
7165
  itemVal = !toBase64
7166
7166
  ? StrUtil.stringToHexaDump(itemVal, 4)
7167
- : Base64.encode(itemVal, GuiEnvironment.Environment.GetEncoding());
7167
+ : Base64.encode(itemVal);
7168
7168
  pos = fldValLen;
7169
7169
  }
7170
7170
  else {
@@ -7173,7 +7173,7 @@ class RecordUtils {
7173
7173
  if (!toBase64)
7174
7174
  tmpBuf.Append(StrUtil.stringToHexaDump(itemVal.substr(pos, 0x7FFF), 4));
7175
7175
  else
7176
- tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF), GuiEnvironment.Environment.GetEncoding()));
7176
+ tmpBuf.Append(Base64.encode(itemVal.substr(pos, 0x7FFF)));
7177
7177
  tmpBuf.Append("0000");
7178
7178
  pos += 0x7FFF;
7179
7179
  }
@@ -8008,6 +8008,12 @@ class CellElement {
8008
8008
  }
8009
8009
 
8010
8010
  class FieldDef {
8011
+ set DbModifiable(value) {
8012
+ this._dbModifiable = value;
8013
+ }
8014
+ get DbModifiable() {
8015
+ return this._dbModifiable;
8016
+ }
8011
8017
  constructor(id) {
8012
8018
  this.DefaultValue = null;
8013
8019
  this.NullAllowed = false;
@@ -8031,12 +8037,6 @@ class FieldDef {
8031
8037
  this._id = id;
8032
8038
  this.VarDisplayName = NString.Empty;
8033
8039
  }
8034
- set DbModifiable(value) {
8035
- this._dbModifiable = value;
8036
- }
8037
- get DbModifiable() {
8038
- return this._dbModifiable;
8039
- }
8040
8040
  get PartOfDataview() {
8041
8041
  return this._partOfDataview;
8042
8042
  }
@@ -8756,6 +8756,9 @@ class CustomValidator {
8756
8756
  getErrMessage() { return this._errorMessage; }
8757
8757
  }
8758
8758
  class Property {
8759
+ get TaskDefinitionId() {
8760
+ return this._taskDefinitionId;
8761
+ }
8759
8762
  constructor(cId, cParentObj, parType, val) {
8760
8763
  this._id = Int32.MinValue;
8761
8764
  this._dataType = StorageAttribute.NONE;
@@ -8780,9 +8783,6 @@ class Property {
8780
8783
  else
8781
8784
  this.constructor_2(cId, cParentObj, parType, val);
8782
8785
  }
8783
- get TaskDefinitionId() {
8784
- return this._taskDefinitionId;
8785
- }
8786
8786
  constructor_0() {
8787
8787
  this._prevValues = new List();
8788
8788
  }
@@ -11041,6 +11041,15 @@ class FieldValidator {
11041
11041
  }
11042
11042
 
11043
11043
  class ValidationDetails extends ValidationDetailsBase {
11044
+ get ErrorMessage() {
11045
+ return this.errMessage;
11046
+ }
11047
+ set ErrorMessage(msg) {
11048
+ this.errMessage = msg;
11049
+ }
11050
+ get ValidationFailed() {
11051
+ return this._validationFailed;
11052
+ }
11044
11053
  constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
11045
11054
  super();
11046
11055
  this._control = null;
@@ -11061,15 +11070,6 @@ class ValidationDetails extends ValidationDetailsBase {
11061
11070
  else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
11062
11071
  this.constructor_2(oldvalueOrRangeStrOrVd);
11063
11072
  }
11064
- get ErrorMessage() {
11065
- return this.errMessage;
11066
- }
11067
- set ErrorMessage(msg) {
11068
- this.errMessage = msg;
11069
- }
11070
- get ValidationFailed() {
11071
- return this._validationFailed;
11072
- }
11073
11073
  constructor_0(oldvalue, val, range, pic, control) {
11074
11074
  this._picData = pic;
11075
11075
  this._oldvalue = oldvalue;
@@ -11286,6 +11286,9 @@ class ValidationDetails extends ValidationDetailsBase {
11286
11286
  const EMPTY_DCREF = -2;
11287
11287
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
11288
11288
  class DcValues {
11289
+ get HasReferences() {
11290
+ return this._refCount > 0;
11291
+ }
11289
11292
  constructor(empty) {
11290
11293
  this._id = 0;
11291
11294
  this._type = StorageAttribute.NONE;
@@ -11300,9 +11303,6 @@ class DcValues {
11300
11303
  }
11301
11304
  this._isNumericType = false;
11302
11305
  }
11303
- get HasReferences() {
11304
- return this._refCount > 0;
11305
- }
11306
11306
  GetAttr() {
11307
11307
  return this._type;
11308
11308
  }
@@ -11557,6 +11557,16 @@ class FocusManager {
11557
11557
  }
11558
11558
 
11559
11559
  class MgControlBase extends GuiControlPropertyAdapter {
11560
+ set Form(value) {
11561
+ this._form = value;
11562
+ this.GuiMgForm = value;
11563
+ }
11564
+ get Form() {
11565
+ return this._form;
11566
+ }
11567
+ get ControlIsn() {
11568
+ return this._controlIsn;
11569
+ }
11560
11570
  constructor(type, parentMgForm, parentControl) {
11561
11571
  super();
11562
11572
  this._ditIdx = 0;
@@ -11609,16 +11619,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
11609
11619
  }
11610
11620
  this.constructor_1(type, parentMgForm, parentControl);
11611
11621
  }
11612
- set Form(value) {
11613
- this._form = value;
11614
- this.GuiMgForm = value;
11615
- }
11616
- get Form() {
11617
- return this._form;
11618
- }
11619
- get ControlIsn() {
11620
- return this._controlIsn;
11621
- }
11622
11622
  constructor_0() {
11623
11623
  this._linkedControls = new List();
11624
11624
  this.DataType = StorageAttribute.NONE;
@@ -12397,6 +12397,16 @@ class MgControlBase extends GuiControlPropertyAdapter {
12397
12397
  setCheckBoxValue(line, mgVal) {
12398
12398
  let checkState = DisplayConvertor.toBoolean(mgVal);
12399
12399
  Commands.addValueWithLine(CommandType.SET_VALUE, this, line, checkState);
12400
+ Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, this.getDisplayLine(false), HtmlProperties.CheckBoxIndeterminate, this.IsNull);
12401
+ }
12402
+ setAsThreeState() {
12403
+ this._propTab.setProp(PropInterface.PROP_TYPE_THREE_STATES, "1", this, "C");
12404
+ }
12405
+ isThreeStateCheckBox() {
12406
+ let isThreeStateCheckBox = false;
12407
+ if (this.isCheckBox())
12408
+ isThreeStateCheckBox = this.GetComputedBooleanProperty(PropInterface.PROP_TYPE_THREE_STATES, false);
12409
+ return isThreeStateCheckBox;
12400
12410
  }
12401
12411
  async refreshAndSetItemListByDataSource(line, valueChanged) {
12402
12412
  if (this.SupportsDataSource()) {
@@ -12881,7 +12891,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
12881
12891
  return retIsNullControl;
12882
12892
  }
12883
12893
  CanGetNullFromControlValue() {
12884
- return false;
12894
+ return this.isThreeStateCheckBox() && (this._field == null || this._field.NullAllowed);
12885
12895
  }
12886
12896
  isChoiceNull(idx) {
12887
12897
  let result;
@@ -13030,7 +13040,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13030
13040
  valueChanged = await this.refreshAndSetItemListByDataSource(line, valueChanged);
13031
13041
  if (!valueChanged)
13032
13042
  return;
13033
- this.setRadioChecked(this.Value);
13043
+ this.setRadioChecked(+this.Value);
13034
13044
  break;
13035
13045
  default:
13036
13046
  Events.WriteExceptionToLog(NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
@@ -13121,30 +13131,17 @@ class MgControlBase extends GuiControlPropertyAdapter {
13121
13131
  await this.SetAndRefreshDisplayValue(currentLinkValue, this.IsNull);
13122
13132
  }
13123
13133
  }
13124
- async refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
13125
- let displayList = await this.refreshDispRange(execComputeChoice);
13126
- let options = displayList.map((displayValue, counter) => {
13127
- let index = counter.toString();
13128
- return { index, displayValue };
13129
- });
13130
- Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
13131
- }
13132
13134
  async refreshAndSetItemsList(line, execComputeChoice) {
13133
13135
  if (execComputeChoice) {
13134
13136
  this.clearRange(line);
13135
13137
  }
13136
13138
  let optionsStrings = await this.refreshDispRange(execComputeChoice);
13137
- if (super.isSelectionCtrl() || super.isTabControl() || this.HasAutocomplete()) {
13139
+ if (super.isChoiceControl() || this.HasAutocomplete()) {
13138
13140
  let options = optionsStrings.map((displayValue, index) => {
13139
13141
  return { index, displayValue };
13140
13142
  });
13141
13143
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
13142
13144
  }
13143
- else {
13144
- if (super.isRadio()) {
13145
- await this.refreshAndSetItemsListForRadioButton(line, execComputeChoice);
13146
- }
13147
- }
13148
13145
  }
13149
13146
  async refreshDispRange(execComputeChoice) {
13150
13147
  let selectCmd = new Array(0);
@@ -13856,7 +13853,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
13856
13853
  }
13857
13854
  }
13858
13855
  else {
13859
- items.AddRange(await mgControl.GetItemsRange());
13856
+ items.AddRange(await mgControl.GetDisplayRange());
13860
13857
  }
13861
13858
  return MgFormBase.ConvertArrayListToString(items, false);
13862
13859
  }
@@ -14206,6 +14203,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
14206
14203
  InitTableControl_1(dvSize, tableItemsCount) {
14207
14204
  if (this._tableMgControl != null) {
14208
14205
  Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
14206
+ Commands.addWithNumber(CommandType.SET_CHUNK_SIZE, this._tableMgControl, (this._task.DataView).getChunkSize());
14209
14207
  this._tableItemsCount = tableItemsCount;
14210
14208
  this.Rows.SetSize(dvSize);
14211
14209
  this._prevGuiTopIndex = -2;
@@ -15359,6 +15357,9 @@ class ExpVal {
15359
15357
  class MagicHelp {
15360
15358
  }
15361
15359
  class InternalHelp extends MagicHelp {
15360
+ GetHelpType() {
15361
+ return HelpType.Internal;
15362
+ }
15362
15363
  constructor() {
15363
15364
  super();
15364
15365
  this.val = null;
@@ -15375,47 +15376,44 @@ class InternalHelp extends MagicHelp {
15375
15376
  this.TitleBar = 0;
15376
15377
  this.FontTableIndex = 0;
15377
15378
  }
15378
- GetHelpType() {
15379
- return HelpType.Internal;
15380
- }
15381
15379
  }
15382
15380
  class PromptpHelp extends MagicHelp {
15381
+ GetHelpType() {
15382
+ return HelpType.Prompt;
15383
+ }
15383
15384
  constructor() {
15384
15385
  super();
15385
15386
  this.PromptHelpText = null;
15386
15387
  }
15387
- GetHelpType() {
15388
- return HelpType.Prompt;
15389
- }
15390
15388
  }
15391
15389
  class ToolTipHelp extends MagicHelp {
15390
+ GetHelpType() {
15391
+ return HelpType.Tooltip;
15392
+ }
15392
15393
  constructor() {
15393
15394
  super();
15394
15395
  this.tooltipHelpText = null;
15395
15396
  }
15396
- GetHelpType() {
15397
- return HelpType.Tooltip;
15398
- }
15399
15397
  }
15400
15398
  class URLHelp extends MagicHelp {
15399
+ GetHelpType() {
15400
+ return HelpType.URL;
15401
+ }
15401
15402
  constructor() {
15402
15403
  super();
15403
15404
  this.urlHelpText = null;
15404
15405
  }
15405
- GetHelpType() {
15406
- return HelpType.URL;
15407
- }
15408
15406
  }
15409
15407
  class WindowsHelp extends MagicHelp {
15408
+ GetHelpType() {
15409
+ return HelpType.Windows;
15410
+ }
15410
15411
  constructor() {
15411
15412
  super();
15412
15413
  this.FilePath = null;
15413
15414
  this.HelpCommand = 0;
15414
15415
  this.HelpKey = null;
15415
15416
  }
15416
- GetHelpType() {
15417
- return HelpType.Windows;
15418
- }
15419
15417
  }
15420
15418
  class Helps {
15421
15419
  constructor() {
@@ -15432,7 +15430,7 @@ class Helps {
15432
15430
  if (foundTagName === XMLConstants.MG_TAG_HELPTABLE) {
15433
15431
  let currrentIndex = parser.getCurrIndex();
15434
15432
  let encoded = parser.ReadContentOfCurrentElement().trim();
15435
- let decoded = Base64.decode(encoded.substr(0, encoded.length).trim());
15433
+ let decoded = Base64.decode(encoded.substr(0, encoded.length).trim(), Encoding.UTF8);
15436
15434
  let newXmlData = parser.getXMLdata().replace(encoded.trim(), decoded);
15437
15435
  parser.setXMLdata(newXmlData);
15438
15436
  parser.setCurrIndex(currrentIndex);
@@ -15595,6 +15593,21 @@ class GuiDataCollection {
15595
15593
  GuiDataCollection.MGDataTable = null;
15596
15594
 
15597
15595
  class GuiTaskBase {
15596
+ Init() {
15597
+ this.DataView.Init();
15598
+ }
15599
+ get RouterPath() {
15600
+ return this.routerPath;
15601
+ }
15602
+ get RouterParams() {
15603
+ return this.routeParams;
15604
+ }
15605
+ get InDefaultRouterOutlet() {
15606
+ return this.inDefaultRouterOutlet;
15607
+ }
15608
+ get IsBlockingBatch() {
15609
+ return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15610
+ }
15598
15611
  constructor() {
15599
15612
  this._flowMonitor = null;
15600
15613
  this._keyboardMappingState = 0xFFFF0000;
@@ -15639,21 +15652,6 @@ class GuiTaskBase {
15639
15652
  this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
15640
15653
  this._propTab = new PropTable(this);
15641
15654
  }
15642
- Init() {
15643
- this.DataView.Init();
15644
- }
15645
- get RouterPath() {
15646
- return this.routerPath;
15647
- }
15648
- get RouterParams() {
15649
- return this.routeParams;
15650
- }
15651
- get InDefaultRouterOutlet() {
15652
- return this.inDefaultRouterOutlet;
15653
- }
15654
- get IsBlockingBatch() {
15655
- return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15656
- }
15657
15655
  getTaskTag() {
15658
15656
  return this._taskTag;
15659
15657
  }