@magic-xpa/gui 4.1000.0-dev4100.99 → 4.1000.0

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;
@@ -1017,6 +1017,8 @@ var CommandType;
1017
1017
  CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
1018
1018
  CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
1019
1019
  CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
1020
+ CommandType[CommandType["SET_WC_IDLE"] = 157] = "SET_WC_IDLE";
1021
+ CommandType[CommandType["SET_CHUNK_SIZE"] = 158] = "SET_CHUNK_SIZE";
1020
1022
  })(CommandType || (CommandType = {}));
1021
1023
  var HtmlProperties;
1022
1024
  (function (HtmlProperties) {
@@ -1152,9 +1154,74 @@ class GuiCommand {
1152
1154
  }
1153
1155
  }
1154
1156
 
1155
- class Commands {
1157
+ class GuiConstants {
1156
1158
  constructor() {
1157
1159
  }
1160
+ }
1161
+ GuiConstants.DEFAULT_LIST_VALUE = -1;
1162
+ GuiConstants.DEFAULT_VALUE_INT = -999999;
1163
+ GuiConstants.ALL_LINES = -1;
1164
+ GuiConstants.NO_ROW_SELECTED = Int32.MinValue;
1165
+ GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR = "control is not supported for mobile RIA deployment";
1166
+ GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR_WINDOW_6 = "control is not supported for mobile RIA deployment on Window 6 standard";
1167
+ GuiConstants.TOOL_HEIGHT = 17;
1168
+ GuiConstants.TOOL_WIDTH = 16;
1169
+ GuiConstants.STR_DISPLAY_MEMBER = "DisplayMember";
1170
+ GuiConstants.STR_VALUE_MEMBER = "ValueMember";
1171
+ GuiConstants.PARENT_TYPE_TASK = 'T';
1172
+ GuiConstants.PARENT_TYPE_FORM = 'F';
1173
+ GuiConstants.PARENT_TYPE_CONTROL = 'C';
1174
+ GuiConstants.GENERIC_PROPERTY_BASE_ID = 10000;
1175
+ GuiConstants.TABBING_CYCLE_REMAIN_IN_CURRENT_RECORD = 'R';
1176
+ GuiConstants.TABBING_CYCLE_MOVE_TO_NEXT_RECORD = 'N';
1177
+ GuiConstants.TABBING_CYCLE_MOVE_TO_PARENT_TASK = 'P';
1178
+ GuiConstants.BLOB_PREFIX_ELEMENTS_COUNT = 5;
1179
+ GuiConstants.KEY_DOWN = 40;
1180
+ GuiConstants.KEY_RIGHT = 39;
1181
+ GuiConstants.KEY_UP = 38;
1182
+ GuiConstants.KEY_LEFT = 37;
1183
+ GuiConstants.KEY_HOME = 36;
1184
+ GuiConstants.KEY_END = 35;
1185
+ GuiConstants.KEY_PG_DOWN = 34;
1186
+ GuiConstants.KEY_PG_UP = 33;
1187
+ GuiConstants.KEY_SPACE = 32;
1188
+ GuiConstants.KEY_F12 = 123;
1189
+ GuiConstants.KEY_F1 = 112;
1190
+ GuiConstants.KEY_9 = 57;
1191
+ GuiConstants.KEY_0 = 48;
1192
+ GuiConstants.KEY_Z = 90;
1193
+ GuiConstants.KEY_A = 65;
1194
+ GuiConstants.KEY_DELETE = 46;
1195
+ GuiConstants.KEY_INSERT = 45;
1196
+ GuiConstants.KEY_BACKSPACE = 8;
1197
+ GuiConstants.KEY_TAB = 9;
1198
+ GuiConstants.KEY_RETURN = 13;
1199
+ GuiConstants.KEY_ESC = 27;
1200
+ GuiConstants.KEY_CAPS_LOCK = 20;
1201
+ GuiConstants.KEY_POINT1 = 190;
1202
+ GuiConstants.KEY_POINT2 = 110;
1203
+ GuiConstants.KEY_COMMA = 188;
1204
+ GuiConstants.KEY_CTRL = 17;
1205
+ GuiConstants.KEY_ALT = 18;
1206
+ GuiConstants.LOGON_CAPTION = "Logon - ";
1207
+ GuiConstants.ENTER_UID_TTL = "Please enter your user ID and password.";
1208
+ GuiConstants.GROUP_BOX_TITLE_MAX_SIZE = 62;
1209
+ GuiConstants.MSG_CAPTION_MAX_SIZE = 56;
1210
+ GuiConstants.LABEL_CAPTION_MAX_SIZE = 9;
1211
+ GuiConstants.PASSWORD_CAPTION_MAX_SIZE = 19;
1212
+ GuiConstants.REPLACE_ALL_TEXT = -1;
1213
+ GuiConstants.STR_LOGON_RTL = "LogonRTL";
1214
+ GuiConstants.STR_LOGO_WIN_ICON_URL = "LogonWindowIconURL";
1215
+ GuiConstants.STR_LOGON_IMAGE_URL = "LogonImageURL";
1216
+ GuiConstants.STR_LOGON_WIN_TITLE = "LogonWindowTitle";
1217
+ GuiConstants.STR_LOGON_GROUP_TITLE = "LogonGroupTitle";
1218
+ GuiConstants.STR_LOGON_MSG_CAPTION = "LogonMessageCaption";
1219
+ GuiConstants.STR_LOGON_USER_ID_CAPTION = "LogonUserIDCaption";
1220
+ GuiConstants.STR_LOGON_PASS_CAPTION = "LogonPasswordCaption";
1221
+ GuiConstants.STR_LOGON_OK_CAPTION = "LogonOKCaption";
1222
+ GuiConstants.STR_LOGON_CANCEL_CAPTION = "LogonCancelCaption";
1223
+
1224
+ class Commands {
1158
1225
  static SetResolveCallback(resolveCallback) {
1159
1226
  this.resolveCallback = resolveCallback;
1160
1227
  }
@@ -1242,7 +1309,10 @@ class Commands {
1242
1309
  if (commandType === CommandType.SET_VALUE) {
1243
1310
  if (obj instanceof GuiMgControl && obj.isChoiceControl()) {
1244
1311
  if (value < 0)
1245
- guiCommand.value = '';
1312
+ if (obj.isComboBox())
1313
+ guiCommand.value = GuiConstants.DEFAULT_LIST_VALUE;
1314
+ else
1315
+ guiCommand.value = '';
1246
1316
  }
1247
1317
  }
1248
1318
  GuiCommandQueue.getInstance().addCommand(guiCommand);
@@ -1317,6 +1387,8 @@ class Commands {
1317
1387
  static invoke() {
1318
1388
  GuiCommandQueue.getInstance().invoke();
1319
1389
  }
1390
+ constructor() {
1391
+ }
1320
1392
  }
1321
1393
  Commands.resolveCallback = null;
1322
1394
 
@@ -1654,73 +1726,6 @@ Manager.DefaultServerName = null;
1654
1726
  Manager.UtilImeJpn = (UtilStrByteMode.isLocaleDefLangJPN() ? new UtilImeJpn() : null);
1655
1727
  Manager.EventsManager = null;
1656
1728
 
1657
- class GuiConstants {
1658
- constructor() {
1659
- }
1660
- }
1661
- GuiConstants.DEFAULT_LIST_VALUE = -1;
1662
- GuiConstants.DEFAULT_VALUE_INT = -999999;
1663
- GuiConstants.ALL_LINES = -1;
1664
- GuiConstants.NO_ROW_SELECTED = Int32.MinValue;
1665
- GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR = "control is not supported for mobile RIA deployment";
1666
- GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR_WINDOW_6 = "control is not supported for mobile RIA deployment on Window 6 standard";
1667
- GuiConstants.TOOL_HEIGHT = 17;
1668
- GuiConstants.TOOL_WIDTH = 16;
1669
- GuiConstants.STR_DISPLAY_MEMBER = "DisplayMember";
1670
- GuiConstants.STR_VALUE_MEMBER = "ValueMember";
1671
- GuiConstants.PARENT_TYPE_TASK = 'T';
1672
- GuiConstants.PARENT_TYPE_FORM = 'F';
1673
- GuiConstants.PARENT_TYPE_CONTROL = 'C';
1674
- GuiConstants.GENERIC_PROPERTY_BASE_ID = 10000;
1675
- GuiConstants.TABBING_CYCLE_REMAIN_IN_CURRENT_RECORD = 'R';
1676
- GuiConstants.TABBING_CYCLE_MOVE_TO_NEXT_RECORD = 'N';
1677
- GuiConstants.TABBING_CYCLE_MOVE_TO_PARENT_TASK = 'P';
1678
- GuiConstants.BLOB_PREFIX_ELEMENTS_COUNT = 5;
1679
- GuiConstants.KEY_DOWN = 40;
1680
- GuiConstants.KEY_RIGHT = 39;
1681
- GuiConstants.KEY_UP = 38;
1682
- GuiConstants.KEY_LEFT = 37;
1683
- GuiConstants.KEY_HOME = 36;
1684
- GuiConstants.KEY_END = 35;
1685
- GuiConstants.KEY_PG_DOWN = 34;
1686
- GuiConstants.KEY_PG_UP = 33;
1687
- GuiConstants.KEY_SPACE = 32;
1688
- GuiConstants.KEY_F12 = 123;
1689
- GuiConstants.KEY_F1 = 112;
1690
- GuiConstants.KEY_9 = 57;
1691
- GuiConstants.KEY_0 = 48;
1692
- GuiConstants.KEY_Z = 90;
1693
- GuiConstants.KEY_A = 65;
1694
- GuiConstants.KEY_DELETE = 46;
1695
- GuiConstants.KEY_INSERT = 45;
1696
- GuiConstants.KEY_BACKSPACE = 8;
1697
- GuiConstants.KEY_TAB = 9;
1698
- GuiConstants.KEY_RETURN = 13;
1699
- GuiConstants.KEY_ESC = 27;
1700
- GuiConstants.KEY_CAPS_LOCK = 20;
1701
- GuiConstants.KEY_POINT1 = 190;
1702
- GuiConstants.KEY_POINT2 = 110;
1703
- GuiConstants.KEY_COMMA = 188;
1704
- GuiConstants.KEY_CTRL = 17;
1705
- GuiConstants.KEY_ALT = 18;
1706
- GuiConstants.LOGON_CAPTION = "Logon - ";
1707
- GuiConstants.ENTER_UID_TTL = "Please enter your user ID and password.";
1708
- GuiConstants.GROUP_BOX_TITLE_MAX_SIZE = 62;
1709
- GuiConstants.MSG_CAPTION_MAX_SIZE = 56;
1710
- GuiConstants.LABEL_CAPTION_MAX_SIZE = 9;
1711
- GuiConstants.PASSWORD_CAPTION_MAX_SIZE = 19;
1712
- GuiConstants.REPLACE_ALL_TEXT = -1;
1713
- GuiConstants.STR_LOGON_RTL = "LogonRTL";
1714
- GuiConstants.STR_LOGO_WIN_ICON_URL = "LogonWindowIconURL";
1715
- GuiConstants.STR_LOGON_IMAGE_URL = "LogonImageURL";
1716
- GuiConstants.STR_LOGON_WIN_TITLE = "LogonWindowTitle";
1717
- GuiConstants.STR_LOGON_GROUP_TITLE = "LogonGroupTitle";
1718
- GuiConstants.STR_LOGON_MSG_CAPTION = "LogonMessageCaption";
1719
- GuiConstants.STR_LOGON_USER_ID_CAPTION = "LogonUserIDCaption";
1720
- GuiConstants.STR_LOGON_PASS_CAPTION = "LogonPasswordCaption";
1721
- GuiConstants.STR_LOGON_OK_CAPTION = "LogonOKCaption";
1722
- GuiConstants.STR_LOGON_CANCEL_CAPTION = "LogonCancelCaption";
1723
-
1724
1729
  class BlobType {
1725
1730
  static getContentType(blob) {
1726
1731
  try {
@@ -3270,6 +3275,12 @@ class ValidationDetailsBase {
3270
3275
  }
3271
3276
 
3272
3277
  class NUM_TYPE {
3278
+ set Data(value) {
3279
+ this._data = value;
3280
+ }
3281
+ get Data() {
3282
+ return this._data;
3283
+ }
3273
3284
  constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
3274
3285
  this.COMMACHAR = ',';
3275
3286
  this.DECIMALCHAR = '.';
@@ -3297,12 +3308,6 @@ class NUM_TYPE {
3297
3308
  }
3298
3309
  this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
3299
3310
  }
3300
- set Data(value) {
3301
- this._data = value;
3302
- }
3303
- get Data() {
3304
- return this._data;
3305
- }
3306
3311
  constructor_0() {
3307
3312
  this.initConst();
3308
3313
  this.NUM_ZERO();
@@ -5316,17 +5321,17 @@ HebrewDate.DOW_LEN = 5;
5316
5321
  HebrewDate._localDows = new Array(8);
5317
5322
 
5318
5323
  class DisplayConvertor {
5319
- constructor() {
5320
- this._environment = null;
5321
- this.DATECHAR = 0;
5322
- this._environment = GuiEnvironment.Environment;
5323
- }
5324
5324
  static get Instance() {
5325
5325
  if (DisplayConvertor._instance === null) {
5326
5326
  DisplayConvertor._instance = new DisplayConvertor();
5327
5327
  }
5328
5328
  return DisplayConvertor._instance;
5329
5329
  }
5330
+ constructor() {
5331
+ this._environment = null;
5332
+ this.DATECHAR = 0;
5333
+ this._environment = GuiEnvironment.Environment;
5334
+ }
5330
5335
  getNewDateBreakParams() {
5331
5336
  return new DateBreakParams();
5332
5337
  }
@@ -6090,10 +6095,33 @@ class DisplayConvertor {
6090
6095
  let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
6091
6096
  let breakParams = new TimeBreakParams();
6092
6097
  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);
6098
+ let nativeDt = new Date(0);
6099
+ let maskStr = pic.getMask();
6100
+ let outVal = NString.ToCharArray(maskStr);
6101
+ let len = pic.getMaskSize();
6102
+ let outIdx = 0;
6103
+ while (len > 0) {
6104
+ switch (outVal[outIdx].charCodeAt(0)) {
6105
+ case (PICInterface.PIC_HH):
6106
+ nativeDt.setHours(breakParams.hour);
6107
+ outIdx += 2;
6108
+ len -= 2;
6109
+ break;
6110
+ case (PICInterface.PIC_MMT):
6111
+ nativeDt.setMinutes(breakParams.minute);
6112
+ outIdx += 2;
6113
+ len -= 2;
6114
+ break;
6115
+ case (PICInterface.PIC_SS):
6116
+ nativeDt.setSeconds(breakParams.second);
6117
+ outIdx += 2;
6118
+ len -= 2;
6119
+ break;
6120
+ default:
6121
+ outIdx++;
6122
+ len--;
6123
+ }
6124
+ }
6097
6125
  return nativeDt;
6098
6126
  }
6099
6127
  time_2_a_pic(AsciiStr, AsciiL, time, pic, time_pic_Z_edt, milliSeconds) {
@@ -8008,6 +8036,12 @@ class CellElement {
8008
8036
  }
8009
8037
 
8010
8038
  class FieldDef {
8039
+ set DbModifiable(value) {
8040
+ this._dbModifiable = value;
8041
+ }
8042
+ get DbModifiable() {
8043
+ return this._dbModifiable;
8044
+ }
8011
8045
  constructor(id) {
8012
8046
  this.DefaultValue = null;
8013
8047
  this.NullAllowed = false;
@@ -8031,12 +8065,6 @@ class FieldDef {
8031
8065
  this._id = id;
8032
8066
  this.VarDisplayName = NString.Empty;
8033
8067
  }
8034
- set DbModifiable(value) {
8035
- this._dbModifiable = value;
8036
- }
8037
- get DbModifiable() {
8038
- return this._dbModifiable;
8039
- }
8040
8068
  get PartOfDataview() {
8041
8069
  return this._partOfDataview;
8042
8070
  }
@@ -8756,6 +8784,9 @@ class CustomValidator {
8756
8784
  getErrMessage() { return this._errorMessage; }
8757
8785
  }
8758
8786
  class Property {
8787
+ get TaskDefinitionId() {
8788
+ return this._taskDefinitionId;
8789
+ }
8759
8790
  constructor(cId, cParentObj, parType, val) {
8760
8791
  this._id = Int32.MinValue;
8761
8792
  this._dataType = StorageAttribute.NONE;
@@ -8780,9 +8811,6 @@ class Property {
8780
8811
  else
8781
8812
  this.constructor_2(cId, cParentObj, parType, val);
8782
8813
  }
8783
- get TaskDefinitionId() {
8784
- return this._taskDefinitionId;
8785
- }
8786
8814
  constructor_0() {
8787
8815
  this._prevValues = new List();
8788
8816
  }
@@ -11041,6 +11069,15 @@ class FieldValidator {
11041
11069
  }
11042
11070
 
11043
11071
  class ValidationDetails extends ValidationDetailsBase {
11072
+ get ErrorMessage() {
11073
+ return this.errMessage;
11074
+ }
11075
+ set ErrorMessage(msg) {
11076
+ this.errMessage = msg;
11077
+ }
11078
+ get ValidationFailed() {
11079
+ return this._validationFailed;
11080
+ }
11044
11081
  constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
11045
11082
  super();
11046
11083
  this._control = null;
@@ -11061,15 +11098,6 @@ class ValidationDetails extends ValidationDetailsBase {
11061
11098
  else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
11062
11099
  this.constructor_2(oldvalueOrRangeStrOrVd);
11063
11100
  }
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
11101
  constructor_0(oldvalue, val, range, pic, control) {
11074
11102
  this._picData = pic;
11075
11103
  this._oldvalue = oldvalue;
@@ -11286,6 +11314,9 @@ class ValidationDetails extends ValidationDetailsBase {
11286
11314
  const EMPTY_DCREF = -2;
11287
11315
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
11288
11316
  class DcValues {
11317
+ get HasReferences() {
11318
+ return this._refCount > 0;
11319
+ }
11289
11320
  constructor(empty) {
11290
11321
  this._id = 0;
11291
11322
  this._type = StorageAttribute.NONE;
@@ -11300,9 +11331,6 @@ class DcValues {
11300
11331
  }
11301
11332
  this._isNumericType = false;
11302
11333
  }
11303
- get HasReferences() {
11304
- return this._refCount > 0;
11305
- }
11306
11334
  GetAttr() {
11307
11335
  return this._type;
11308
11336
  }
@@ -11557,6 +11585,16 @@ class FocusManager {
11557
11585
  }
11558
11586
 
11559
11587
  class MgControlBase extends GuiControlPropertyAdapter {
11588
+ set Form(value) {
11589
+ this._form = value;
11590
+ this.GuiMgForm = value;
11591
+ }
11592
+ get Form() {
11593
+ return this._form;
11594
+ }
11595
+ get ControlIsn() {
11596
+ return this._controlIsn;
11597
+ }
11560
11598
  constructor(type, parentMgForm, parentControl) {
11561
11599
  super();
11562
11600
  this._ditIdx = 0;
@@ -11609,16 +11647,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
11609
11647
  }
11610
11648
  this.constructor_1(type, parentMgForm, parentControl);
11611
11649
  }
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
11650
  constructor_0() {
11623
11651
  this._linkedControls = new List();
11624
11652
  this.DataType = StorageAttribute.NONE;
@@ -13030,7 +13058,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13030
13058
  valueChanged = await this.refreshAndSetItemListByDataSource(line, valueChanged);
13031
13059
  if (!valueChanged)
13032
13060
  return;
13033
- this.setRadioChecked(this.Value);
13061
+ this.setRadioChecked(+this.Value);
13034
13062
  break;
13035
13063
  default:
13036
13064
  Events.WriteExceptionToLog(NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
@@ -13121,30 +13149,17 @@ class MgControlBase extends GuiControlPropertyAdapter {
13121
13149
  await this.SetAndRefreshDisplayValue(currentLinkValue, this.IsNull);
13122
13150
  }
13123
13151
  }
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
13152
  async refreshAndSetItemsList(line, execComputeChoice) {
13133
13153
  if (execComputeChoice) {
13134
13154
  this.clearRange(line);
13135
13155
  }
13136
13156
  let optionsStrings = await this.refreshDispRange(execComputeChoice);
13137
- if (super.isSelectionCtrl() || super.isTabControl() || this.HasAutocomplete()) {
13157
+ if (super.isChoiceControl() || this.HasAutocomplete()) {
13138
13158
  let options = optionsStrings.map((displayValue, index) => {
13139
13159
  return { index, displayValue };
13140
13160
  });
13141
13161
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
13142
13162
  }
13143
- else {
13144
- if (super.isRadio()) {
13145
- await this.refreshAndSetItemsListForRadioButton(line, execComputeChoice);
13146
- }
13147
- }
13148
13163
  }
13149
13164
  async refreshDispRange(execComputeChoice) {
13150
13165
  let selectCmd = new Array(0);
@@ -13856,7 +13871,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
13856
13871
  }
13857
13872
  }
13858
13873
  else {
13859
- items.AddRange(await mgControl.GetItemsRange());
13874
+ items.AddRange(await mgControl.GetDisplayRange());
13860
13875
  }
13861
13876
  return MgFormBase.ConvertArrayListToString(items, false);
13862
13877
  }
@@ -14206,6 +14221,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
14206
14221
  InitTableControl_1(dvSize, tableItemsCount) {
14207
14222
  if (this._tableMgControl != null) {
14208
14223
  Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
14224
+ Commands.addWithNumber(CommandType.SET_CHUNK_SIZE, this._tableMgControl, (this._task.DataView).getChunkSize());
14209
14225
  this._tableItemsCount = tableItemsCount;
14210
14226
  this.Rows.SetSize(dvSize);
14211
14227
  this._prevGuiTopIndex = -2;
@@ -15359,6 +15375,9 @@ class ExpVal {
15359
15375
  class MagicHelp {
15360
15376
  }
15361
15377
  class InternalHelp extends MagicHelp {
15378
+ GetHelpType() {
15379
+ return HelpType.Internal;
15380
+ }
15362
15381
  constructor() {
15363
15382
  super();
15364
15383
  this.val = null;
@@ -15375,47 +15394,44 @@ class InternalHelp extends MagicHelp {
15375
15394
  this.TitleBar = 0;
15376
15395
  this.FontTableIndex = 0;
15377
15396
  }
15378
- GetHelpType() {
15379
- return HelpType.Internal;
15380
- }
15381
15397
  }
15382
15398
  class PromptpHelp extends MagicHelp {
15399
+ GetHelpType() {
15400
+ return HelpType.Prompt;
15401
+ }
15383
15402
  constructor() {
15384
15403
  super();
15385
15404
  this.PromptHelpText = null;
15386
15405
  }
15387
- GetHelpType() {
15388
- return HelpType.Prompt;
15389
- }
15390
15406
  }
15391
15407
  class ToolTipHelp extends MagicHelp {
15408
+ GetHelpType() {
15409
+ return HelpType.Tooltip;
15410
+ }
15392
15411
  constructor() {
15393
15412
  super();
15394
15413
  this.tooltipHelpText = null;
15395
15414
  }
15396
- GetHelpType() {
15397
- return HelpType.Tooltip;
15398
- }
15399
15415
  }
15400
15416
  class URLHelp extends MagicHelp {
15417
+ GetHelpType() {
15418
+ return HelpType.URL;
15419
+ }
15401
15420
  constructor() {
15402
15421
  super();
15403
15422
  this.urlHelpText = null;
15404
15423
  }
15405
- GetHelpType() {
15406
- return HelpType.URL;
15407
- }
15408
15424
  }
15409
15425
  class WindowsHelp extends MagicHelp {
15426
+ GetHelpType() {
15427
+ return HelpType.Windows;
15428
+ }
15410
15429
  constructor() {
15411
15430
  super();
15412
15431
  this.FilePath = null;
15413
15432
  this.HelpCommand = 0;
15414
15433
  this.HelpKey = null;
15415
15434
  }
15416
- GetHelpType() {
15417
- return HelpType.Windows;
15418
- }
15419
15435
  }
15420
15436
  class Helps {
15421
15437
  constructor() {
@@ -15432,7 +15448,7 @@ class Helps {
15432
15448
  if (foundTagName === XMLConstants.MG_TAG_HELPTABLE) {
15433
15449
  let currrentIndex = parser.getCurrIndex();
15434
15450
  let encoded = parser.ReadContentOfCurrentElement().trim();
15435
- let decoded = Base64.decode(encoded.substr(0, encoded.length).trim());
15451
+ let decoded = Base64.decode(encoded.substr(0, encoded.length).trim(), Encoding.UTF8);
15436
15452
  let newXmlData = parser.getXMLdata().replace(encoded.trim(), decoded);
15437
15453
  parser.setXMLdata(newXmlData);
15438
15454
  parser.setCurrIndex(currrentIndex);
@@ -15595,6 +15611,21 @@ class GuiDataCollection {
15595
15611
  GuiDataCollection.MGDataTable = null;
15596
15612
 
15597
15613
  class GuiTaskBase {
15614
+ Init() {
15615
+ this.DataView.Init();
15616
+ }
15617
+ get RouterPath() {
15618
+ return this.routerPath;
15619
+ }
15620
+ get RouterParams() {
15621
+ return this.routeParams;
15622
+ }
15623
+ get InDefaultRouterOutlet() {
15624
+ return this.inDefaultRouterOutlet;
15625
+ }
15626
+ get IsBlockingBatch() {
15627
+ return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15628
+ }
15598
15629
  constructor() {
15599
15630
  this._flowMonitor = null;
15600
15631
  this._keyboardMappingState = 0xFFFF0000;
@@ -15639,21 +15670,6 @@ class GuiTaskBase {
15639
15670
  this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
15640
15671
  this._propTab = new PropTable(this);
15641
15672
  }
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
15673
  getTaskTag() {
15658
15674
  return this._taskTag;
15659
15675
  }