@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.
@@ -26,8 +26,6 @@ class GuiMgForm extends ControlBase {
26
26
  }
27
27
 
28
28
  class Events {
29
- constructor() {
30
- }
31
29
  static OnFocus(ctrl, line, isProduceClick, onMultiMark) {
32
30
  Debug.Assert(Events.FocusEvent !== null);
33
31
  Events.FocusEvent(ctrl, line, isProduceClick, onMultiMark);
@@ -376,6 +374,8 @@ class Events {
376
374
  Events.CopyDataEvent(guiMgForm, copyData);
377
375
  }
378
376
  }
377
+ constructor() {
378
+ }
379
379
  }
380
380
  Events.NonParkableLastParkedCtrlEvent = null;
381
381
  Events.IsBatchRunningInMainContextEvent = null;
@@ -1018,6 +1018,8 @@ var CommandType;
1018
1018
  CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
1019
1019
  CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
1020
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";
1021
1023
  })(CommandType || (CommandType = {}));
1022
1024
  var HtmlProperties;
1023
1025
  (function (HtmlProperties) {
@@ -1153,9 +1155,74 @@ class GuiCommand {
1153
1155
  }
1154
1156
  }
1155
1157
 
1156
- class Commands {
1158
+ class GuiConstants {
1157
1159
  constructor() {
1158
1160
  }
1161
+ }
1162
+ GuiConstants.DEFAULT_LIST_VALUE = -1;
1163
+ GuiConstants.DEFAULT_VALUE_INT = -999999;
1164
+ GuiConstants.ALL_LINES = -1;
1165
+ GuiConstants.NO_ROW_SELECTED = Int32.MinValue;
1166
+ GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR = "control is not supported for mobile RIA deployment";
1167
+ GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR_WINDOW_6 = "control is not supported for mobile RIA deployment on Window 6 standard";
1168
+ GuiConstants.TOOL_HEIGHT = 17;
1169
+ GuiConstants.TOOL_WIDTH = 16;
1170
+ GuiConstants.STR_DISPLAY_MEMBER = "DisplayMember";
1171
+ GuiConstants.STR_VALUE_MEMBER = "ValueMember";
1172
+ GuiConstants.PARENT_TYPE_TASK = 'T';
1173
+ GuiConstants.PARENT_TYPE_FORM = 'F';
1174
+ GuiConstants.PARENT_TYPE_CONTROL = 'C';
1175
+ GuiConstants.GENERIC_PROPERTY_BASE_ID = 10000;
1176
+ GuiConstants.TABBING_CYCLE_REMAIN_IN_CURRENT_RECORD = 'R';
1177
+ GuiConstants.TABBING_CYCLE_MOVE_TO_NEXT_RECORD = 'N';
1178
+ GuiConstants.TABBING_CYCLE_MOVE_TO_PARENT_TASK = 'P';
1179
+ GuiConstants.BLOB_PREFIX_ELEMENTS_COUNT = 5;
1180
+ GuiConstants.KEY_DOWN = 40;
1181
+ GuiConstants.KEY_RIGHT = 39;
1182
+ GuiConstants.KEY_UP = 38;
1183
+ GuiConstants.KEY_LEFT = 37;
1184
+ GuiConstants.KEY_HOME = 36;
1185
+ GuiConstants.KEY_END = 35;
1186
+ GuiConstants.KEY_PG_DOWN = 34;
1187
+ GuiConstants.KEY_PG_UP = 33;
1188
+ GuiConstants.KEY_SPACE = 32;
1189
+ GuiConstants.KEY_F12 = 123;
1190
+ GuiConstants.KEY_F1 = 112;
1191
+ GuiConstants.KEY_9 = 57;
1192
+ GuiConstants.KEY_0 = 48;
1193
+ GuiConstants.KEY_Z = 90;
1194
+ GuiConstants.KEY_A = 65;
1195
+ GuiConstants.KEY_DELETE = 46;
1196
+ GuiConstants.KEY_INSERT = 45;
1197
+ GuiConstants.KEY_BACKSPACE = 8;
1198
+ GuiConstants.KEY_TAB = 9;
1199
+ GuiConstants.KEY_RETURN = 13;
1200
+ GuiConstants.KEY_ESC = 27;
1201
+ GuiConstants.KEY_CAPS_LOCK = 20;
1202
+ GuiConstants.KEY_POINT1 = 190;
1203
+ GuiConstants.KEY_POINT2 = 110;
1204
+ GuiConstants.KEY_COMMA = 188;
1205
+ GuiConstants.KEY_CTRL = 17;
1206
+ GuiConstants.KEY_ALT = 18;
1207
+ GuiConstants.LOGON_CAPTION = "Logon - ";
1208
+ GuiConstants.ENTER_UID_TTL = "Please enter your user ID and password.";
1209
+ GuiConstants.GROUP_BOX_TITLE_MAX_SIZE = 62;
1210
+ GuiConstants.MSG_CAPTION_MAX_SIZE = 56;
1211
+ GuiConstants.LABEL_CAPTION_MAX_SIZE = 9;
1212
+ GuiConstants.PASSWORD_CAPTION_MAX_SIZE = 19;
1213
+ GuiConstants.REPLACE_ALL_TEXT = -1;
1214
+ GuiConstants.STR_LOGON_RTL = "LogonRTL";
1215
+ GuiConstants.STR_LOGO_WIN_ICON_URL = "LogonWindowIconURL";
1216
+ GuiConstants.STR_LOGON_IMAGE_URL = "LogonImageURL";
1217
+ GuiConstants.STR_LOGON_WIN_TITLE = "LogonWindowTitle";
1218
+ GuiConstants.STR_LOGON_GROUP_TITLE = "LogonGroupTitle";
1219
+ GuiConstants.STR_LOGON_MSG_CAPTION = "LogonMessageCaption";
1220
+ GuiConstants.STR_LOGON_USER_ID_CAPTION = "LogonUserIDCaption";
1221
+ GuiConstants.STR_LOGON_PASS_CAPTION = "LogonPasswordCaption";
1222
+ GuiConstants.STR_LOGON_OK_CAPTION = "LogonOKCaption";
1223
+ GuiConstants.STR_LOGON_CANCEL_CAPTION = "LogonCancelCaption";
1224
+
1225
+ class Commands {
1159
1226
  static SetResolveCallback(resolveCallback) {
1160
1227
  this.resolveCallback = resolveCallback;
1161
1228
  }
@@ -1245,7 +1312,10 @@ class Commands {
1245
1312
  if (commandType === CommandType.SET_VALUE) {
1246
1313
  if (obj instanceof GuiMgControl && obj.isChoiceControl()) {
1247
1314
  if (value < 0)
1248
- guiCommand.value = '';
1315
+ if (obj.isComboBox())
1316
+ guiCommand.value = GuiConstants.DEFAULT_LIST_VALUE;
1317
+ else
1318
+ guiCommand.value = '';
1249
1319
  }
1250
1320
  }
1251
1321
  GuiCommandQueue.getInstance().addCommand(guiCommand);
@@ -1320,6 +1390,8 @@ class Commands {
1320
1390
  static invoke() {
1321
1391
  GuiCommandQueue.getInstance().invoke();
1322
1392
  }
1393
+ constructor() {
1394
+ }
1323
1395
  }
1324
1396
  Commands.resolveCallback = null;
1325
1397
 
@@ -1661,73 +1733,6 @@ Manager.DefaultServerName = null;
1661
1733
  Manager.UtilImeJpn = (UtilStrByteMode.isLocaleDefLangJPN() ? new UtilImeJpn() : null);
1662
1734
  Manager.EventsManager = null;
1663
1735
 
1664
- class GuiConstants {
1665
- constructor() {
1666
- }
1667
- }
1668
- GuiConstants.DEFAULT_LIST_VALUE = -1;
1669
- GuiConstants.DEFAULT_VALUE_INT = -999999;
1670
- GuiConstants.ALL_LINES = -1;
1671
- GuiConstants.NO_ROW_SELECTED = Int32.MinValue;
1672
- GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR = "control is not supported for mobile RIA deployment";
1673
- GuiConstants.RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR_WINDOW_6 = "control is not supported for mobile RIA deployment on Window 6 standard";
1674
- GuiConstants.TOOL_HEIGHT = 17;
1675
- GuiConstants.TOOL_WIDTH = 16;
1676
- GuiConstants.STR_DISPLAY_MEMBER = "DisplayMember";
1677
- GuiConstants.STR_VALUE_MEMBER = "ValueMember";
1678
- GuiConstants.PARENT_TYPE_TASK = 'T';
1679
- GuiConstants.PARENT_TYPE_FORM = 'F';
1680
- GuiConstants.PARENT_TYPE_CONTROL = 'C';
1681
- GuiConstants.GENERIC_PROPERTY_BASE_ID = 10000;
1682
- GuiConstants.TABBING_CYCLE_REMAIN_IN_CURRENT_RECORD = 'R';
1683
- GuiConstants.TABBING_CYCLE_MOVE_TO_NEXT_RECORD = 'N';
1684
- GuiConstants.TABBING_CYCLE_MOVE_TO_PARENT_TASK = 'P';
1685
- GuiConstants.BLOB_PREFIX_ELEMENTS_COUNT = 5;
1686
- GuiConstants.KEY_DOWN = 40;
1687
- GuiConstants.KEY_RIGHT = 39;
1688
- GuiConstants.KEY_UP = 38;
1689
- GuiConstants.KEY_LEFT = 37;
1690
- GuiConstants.KEY_HOME = 36;
1691
- GuiConstants.KEY_END = 35;
1692
- GuiConstants.KEY_PG_DOWN = 34;
1693
- GuiConstants.KEY_PG_UP = 33;
1694
- GuiConstants.KEY_SPACE = 32;
1695
- GuiConstants.KEY_F12 = 123;
1696
- GuiConstants.KEY_F1 = 112;
1697
- GuiConstants.KEY_9 = 57;
1698
- GuiConstants.KEY_0 = 48;
1699
- GuiConstants.KEY_Z = 90;
1700
- GuiConstants.KEY_A = 65;
1701
- GuiConstants.KEY_DELETE = 46;
1702
- GuiConstants.KEY_INSERT = 45;
1703
- GuiConstants.KEY_BACKSPACE = 8;
1704
- GuiConstants.KEY_TAB = 9;
1705
- GuiConstants.KEY_RETURN = 13;
1706
- GuiConstants.KEY_ESC = 27;
1707
- GuiConstants.KEY_CAPS_LOCK = 20;
1708
- GuiConstants.KEY_POINT1 = 190;
1709
- GuiConstants.KEY_POINT2 = 110;
1710
- GuiConstants.KEY_COMMA = 188;
1711
- GuiConstants.KEY_CTRL = 17;
1712
- GuiConstants.KEY_ALT = 18;
1713
- GuiConstants.LOGON_CAPTION = "Logon - ";
1714
- GuiConstants.ENTER_UID_TTL = "Please enter your user ID and password.";
1715
- GuiConstants.GROUP_BOX_TITLE_MAX_SIZE = 62;
1716
- GuiConstants.MSG_CAPTION_MAX_SIZE = 56;
1717
- GuiConstants.LABEL_CAPTION_MAX_SIZE = 9;
1718
- GuiConstants.PASSWORD_CAPTION_MAX_SIZE = 19;
1719
- GuiConstants.REPLACE_ALL_TEXT = -1;
1720
- GuiConstants.STR_LOGON_RTL = "LogonRTL";
1721
- GuiConstants.STR_LOGO_WIN_ICON_URL = "LogonWindowIconURL";
1722
- GuiConstants.STR_LOGON_IMAGE_URL = "LogonImageURL";
1723
- GuiConstants.STR_LOGON_WIN_TITLE = "LogonWindowTitle";
1724
- GuiConstants.STR_LOGON_GROUP_TITLE = "LogonGroupTitle";
1725
- GuiConstants.STR_LOGON_MSG_CAPTION = "LogonMessageCaption";
1726
- GuiConstants.STR_LOGON_USER_ID_CAPTION = "LogonUserIDCaption";
1727
- GuiConstants.STR_LOGON_PASS_CAPTION = "LogonPasswordCaption";
1728
- GuiConstants.STR_LOGON_OK_CAPTION = "LogonOKCaption";
1729
- GuiConstants.STR_LOGON_CANCEL_CAPTION = "LogonCancelCaption";
1730
-
1731
1736
  class BlobType {
1732
1737
  static getContentType(blob) {
1733
1738
  try {
@@ -3277,6 +3282,12 @@ class ValidationDetailsBase {
3277
3282
  }
3278
3283
 
3279
3284
  class NUM_TYPE {
3285
+ set Data(value) {
3286
+ this._data = value;
3287
+ }
3288
+ get Data() {
3289
+ return this._data;
3290
+ }
3280
3291
  constructor(recordHexStrOrByteValOrDecStrOrNumFrom, offsetOrPic, lengthOrCompIdx) {
3281
3292
  this.COMMACHAR = ',';
3282
3293
  this.DECIMALCHAR = '.';
@@ -3304,12 +3315,6 @@ class NUM_TYPE {
3304
3315
  }
3305
3316
  this.constructor_5(recordHexStrOrByteValOrDecStrOrNumFrom);
3306
3317
  }
3307
- set Data(value) {
3308
- this._data = value;
3309
- }
3310
- get Data() {
3311
- return this._data;
3312
- }
3313
3318
  constructor_0() {
3314
3319
  this.initConst();
3315
3320
  this.NUM_ZERO();
@@ -5323,17 +5328,17 @@ HebrewDate.DOW_LEN = 5;
5323
5328
  HebrewDate._localDows = new Array(8);
5324
5329
 
5325
5330
  class DisplayConvertor {
5326
- constructor() {
5327
- this._environment = null;
5328
- this.DATECHAR = 0;
5329
- this._environment = GuiEnvironment.Environment;
5330
- }
5331
5331
  static get Instance() {
5332
5332
  if (DisplayConvertor._instance === null) {
5333
5333
  DisplayConvertor._instance = new DisplayConvertor();
5334
5334
  }
5335
5335
  return DisplayConvertor._instance;
5336
5336
  }
5337
+ constructor() {
5338
+ this._environment = null;
5339
+ this.DATECHAR = 0;
5340
+ this._environment = GuiEnvironment.Environment;
5341
+ }
5337
5342
  getNewDateBreakParams() {
5338
5343
  return new DateBreakParams();
5339
5344
  }
@@ -6097,10 +6102,33 @@ class DisplayConvertor {
6097
6102
  let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
6098
6103
  let breakParams = new TimeBreakParams();
6099
6104
  DisplayConvertor.time_break(breakParams, time);
6100
- let nativeDt = new Date();
6101
- nativeDt.setHours(breakParams.hour);
6102
- nativeDt.setMinutes(breakParams.minute);
6103
- nativeDt.setSeconds(breakParams.second);
6105
+ let nativeDt = new Date(0);
6106
+ let maskStr = pic.getMask();
6107
+ let outVal = NString.ToCharArray(maskStr);
6108
+ let len = pic.getMaskSize();
6109
+ let outIdx = 0;
6110
+ while (len > 0) {
6111
+ switch (outVal[outIdx].charCodeAt(0)) {
6112
+ case (PICInterface.PIC_HH):
6113
+ nativeDt.setHours(breakParams.hour);
6114
+ outIdx += 2;
6115
+ len -= 2;
6116
+ break;
6117
+ case (PICInterface.PIC_MMT):
6118
+ nativeDt.setMinutes(breakParams.minute);
6119
+ outIdx += 2;
6120
+ len -= 2;
6121
+ break;
6122
+ case (PICInterface.PIC_SS):
6123
+ nativeDt.setSeconds(breakParams.second);
6124
+ outIdx += 2;
6125
+ len -= 2;
6126
+ break;
6127
+ default:
6128
+ outIdx++;
6129
+ len--;
6130
+ }
6131
+ }
6104
6132
  return nativeDt;
6105
6133
  }
6106
6134
  time_2_a_pic(AsciiStr, AsciiL, time, pic, time_pic_Z_edt, milliSeconds) {
@@ -8015,6 +8043,12 @@ class CellElement {
8015
8043
  }
8016
8044
 
8017
8045
  class FieldDef {
8046
+ set DbModifiable(value) {
8047
+ this._dbModifiable = value;
8048
+ }
8049
+ get DbModifiable() {
8050
+ return this._dbModifiable;
8051
+ }
8018
8052
  constructor(id) {
8019
8053
  this.DefaultValue = null;
8020
8054
  this.NullAllowed = false;
@@ -8038,12 +8072,6 @@ class FieldDef {
8038
8072
  this._id = id;
8039
8073
  this.VarDisplayName = NString.Empty;
8040
8074
  }
8041
- set DbModifiable(value) {
8042
- this._dbModifiable = value;
8043
- }
8044
- get DbModifiable() {
8045
- return this._dbModifiable;
8046
- }
8047
8075
  get PartOfDataview() {
8048
8076
  return this._partOfDataview;
8049
8077
  }
@@ -8777,6 +8805,9 @@ class CustomValidator {
8777
8805
  getErrMessage() { return this._errorMessage; }
8778
8806
  }
8779
8807
  class Property {
8808
+ get TaskDefinitionId() {
8809
+ return this._taskDefinitionId;
8810
+ }
8780
8811
  constructor(cId, cParentObj, parType, val) {
8781
8812
  this._id = Int32.MinValue;
8782
8813
  this._dataType = StorageAttribute.NONE;
@@ -8801,9 +8832,6 @@ class Property {
8801
8832
  else
8802
8833
  this.constructor_2(cId, cParentObj, parType, val);
8803
8834
  }
8804
- get TaskDefinitionId() {
8805
- return this._taskDefinitionId;
8806
- }
8807
8835
  constructor_0() {
8808
8836
  this._prevValues = new List();
8809
8837
  }
@@ -11094,6 +11122,15 @@ class FieldValidator {
11094
11122
  }
11095
11123
 
11096
11124
  class ValidationDetails extends ValidationDetailsBase {
11125
+ get ErrorMessage() {
11126
+ return this.errMessage;
11127
+ }
11128
+ set ErrorMessage(msg) {
11129
+ this.errMessage = msg;
11130
+ }
11131
+ get ValidationFailed() {
11132
+ return this._validationFailed;
11133
+ }
11097
11134
  constructor(oldvalueOrRangeStrOrVd, val, range, pic, control) {
11098
11135
  super();
11099
11136
  this._control = null;
@@ -11114,15 +11151,6 @@ class ValidationDetails extends ValidationDetailsBase {
11114
11151
  else if (arguments.length === 1 && (oldvalueOrRangeStrOrVd === null || oldvalueOrRangeStrOrVd instanceof ValidationDetails))
11115
11152
  this.constructor_2(oldvalueOrRangeStrOrVd);
11116
11153
  }
11117
- get ErrorMessage() {
11118
- return this.errMessage;
11119
- }
11120
- set ErrorMessage(msg) {
11121
- this.errMessage = msg;
11122
- }
11123
- get ValidationFailed() {
11124
- return this._validationFailed;
11125
- }
11126
11154
  constructor_0(oldvalue, val, range, pic, control) {
11127
11155
  this._picData = pic;
11128
11156
  this._oldvalue = oldvalue;
@@ -11339,6 +11367,9 @@ class ValidationDetails extends ValidationDetailsBase {
11339
11367
  const EMPTY_DCREF = -2;
11340
11368
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
11341
11369
  class DcValues {
11370
+ get HasReferences() {
11371
+ return this._refCount > 0;
11372
+ }
11342
11373
  constructor(empty) {
11343
11374
  this._id = 0;
11344
11375
  this._type = StorageAttribute.NONE;
@@ -11353,9 +11384,6 @@ class DcValues {
11353
11384
  }
11354
11385
  this._isNumericType = false;
11355
11386
  }
11356
- get HasReferences() {
11357
- return this._refCount > 0;
11358
- }
11359
11387
  GetAttr() {
11360
11388
  return this._type;
11361
11389
  }
@@ -11616,6 +11644,16 @@ class FocusManager {
11616
11644
  }
11617
11645
 
11618
11646
  class MgControlBase extends GuiControlPropertyAdapter {
11647
+ set Form(value) {
11648
+ this._form = value;
11649
+ this.GuiMgForm = value;
11650
+ }
11651
+ get Form() {
11652
+ return this._form;
11653
+ }
11654
+ get ControlIsn() {
11655
+ return this._controlIsn;
11656
+ }
11619
11657
  constructor(type, parentMgForm, parentControl) {
11620
11658
  super();
11621
11659
  this._ditIdx = 0;
@@ -11668,16 +11706,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
11668
11706
  }
11669
11707
  this.constructor_1(type, parentMgForm, parentControl);
11670
11708
  }
11671
- set Form(value) {
11672
- this._form = value;
11673
- this.GuiMgForm = value;
11674
- }
11675
- get Form() {
11676
- return this._form;
11677
- }
11678
- get ControlIsn() {
11679
- return this._controlIsn;
11680
- }
11681
11709
  constructor_0() {
11682
11710
  this._linkedControls = new List();
11683
11711
  this.DataType = StorageAttribute.NONE;
@@ -13152,7 +13180,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13152
13180
  valueChanged = yield this.refreshAndSetItemListByDataSource(line, valueChanged);
13153
13181
  if (!valueChanged)
13154
13182
  return;
13155
- this.setRadioChecked(this.Value);
13183
+ this.setRadioChecked(+this.Value);
13156
13184
  break;
13157
13185
  default:
13158
13186
  Events.WriteExceptionToLog(NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
@@ -13255,38 +13283,21 @@ class MgControlBase extends GuiControlPropertyAdapter {
13255
13283
  }
13256
13284
  });
13257
13285
  }
13258
- refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
13259
- return __awaiter(this, void 0, void 0, function* () {
13260
- let displayList = yield this.refreshDispRange(execComputeChoice);
13261
- let options = displayList.map((displayValue, counter) => {
13262
- let index = counter.toString();
13263
- return { index, displayValue };
13264
- });
13265
- Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
13266
- });
13267
- }
13268
13286
  refreshAndSetItemsList(line, execComputeChoice) {
13269
13287
  const _super = Object.create(null, {
13270
- isSelectionCtrl: { get: () => super.isSelectionCtrl },
13271
- isTabControl: { get: () => super.isTabControl },
13272
- isRadio: { get: () => super.isRadio }
13288
+ isChoiceControl: { get: () => super.isChoiceControl }
13273
13289
  });
13274
13290
  return __awaiter(this, void 0, void 0, function* () {
13275
13291
  if (execComputeChoice) {
13276
13292
  this.clearRange(line);
13277
13293
  }
13278
13294
  let optionsStrings = yield this.refreshDispRange(execComputeChoice);
13279
- if (_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete()) {
13295
+ if (_super.isChoiceControl.call(this) || this.HasAutocomplete()) {
13280
13296
  let options = optionsStrings.map((displayValue, index) => {
13281
13297
  return { index, displayValue };
13282
13298
  });
13283
13299
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
13284
13300
  }
13285
- else {
13286
- if (_super.isRadio.call(this)) {
13287
- yield this.refreshAndSetItemsListForRadioButton(line, execComputeChoice);
13288
- }
13289
- }
13290
13301
  });
13291
13302
  }
13292
13303
  refreshDispRange(execComputeChoice) {
@@ -14025,7 +14036,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
14025
14036
  }
14026
14037
  }
14027
14038
  else {
14028
- items.AddRange(yield mgControl.GetItemsRange());
14039
+ items.AddRange(yield mgControl.GetDisplayRange());
14029
14040
  }
14030
14041
  return MgFormBase.ConvertArrayListToString(items, false);
14031
14042
  }
@@ -14382,6 +14393,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
14382
14393
  InitTableControl_1(dvSize, tableItemsCount) {
14383
14394
  if (this._tableMgControl != null) {
14384
14395
  Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
14396
+ Commands.addWithNumber(CommandType.SET_CHUNK_SIZE, this._tableMgControl, (this._task.DataView).getChunkSize());
14385
14397
  this._tableItemsCount = tableItemsCount;
14386
14398
  this.Rows.SetSize(dvSize);
14387
14399
  this._prevGuiTopIndex = -2;
@@ -15535,6 +15547,9 @@ class ExpVal {
15535
15547
  class MagicHelp {
15536
15548
  }
15537
15549
  class InternalHelp extends MagicHelp {
15550
+ GetHelpType() {
15551
+ return HelpType.Internal;
15552
+ }
15538
15553
  constructor() {
15539
15554
  super();
15540
15555
  this.val = null;
@@ -15551,47 +15566,44 @@ class InternalHelp extends MagicHelp {
15551
15566
  this.TitleBar = 0;
15552
15567
  this.FontTableIndex = 0;
15553
15568
  }
15554
- GetHelpType() {
15555
- return HelpType.Internal;
15556
- }
15557
15569
  }
15558
15570
  class PromptpHelp extends MagicHelp {
15571
+ GetHelpType() {
15572
+ return HelpType.Prompt;
15573
+ }
15559
15574
  constructor() {
15560
15575
  super();
15561
15576
  this.PromptHelpText = null;
15562
15577
  }
15563
- GetHelpType() {
15564
- return HelpType.Prompt;
15565
- }
15566
15578
  }
15567
15579
  class ToolTipHelp extends MagicHelp {
15580
+ GetHelpType() {
15581
+ return HelpType.Tooltip;
15582
+ }
15568
15583
  constructor() {
15569
15584
  super();
15570
15585
  this.tooltipHelpText = null;
15571
15586
  }
15572
- GetHelpType() {
15573
- return HelpType.Tooltip;
15574
- }
15575
15587
  }
15576
15588
  class URLHelp extends MagicHelp {
15589
+ GetHelpType() {
15590
+ return HelpType.URL;
15591
+ }
15577
15592
  constructor() {
15578
15593
  super();
15579
15594
  this.urlHelpText = null;
15580
15595
  }
15581
- GetHelpType() {
15582
- return HelpType.URL;
15583
- }
15584
15596
  }
15585
15597
  class WindowsHelp extends MagicHelp {
15598
+ GetHelpType() {
15599
+ return HelpType.Windows;
15600
+ }
15586
15601
  constructor() {
15587
15602
  super();
15588
15603
  this.FilePath = null;
15589
15604
  this.HelpCommand = 0;
15590
15605
  this.HelpKey = null;
15591
15606
  }
15592
- GetHelpType() {
15593
- return HelpType.Windows;
15594
- }
15595
15607
  }
15596
15608
  class Helps {
15597
15609
  constructor() {
@@ -15608,7 +15620,7 @@ class Helps {
15608
15620
  if (foundTagName === XMLConstants.MG_TAG_HELPTABLE) {
15609
15621
  let currrentIndex = parser.getCurrIndex();
15610
15622
  let encoded = parser.ReadContentOfCurrentElement().trim();
15611
- let decoded = Base64.decode(encoded.substr(0, encoded.length).trim());
15623
+ let decoded = Base64.decode(encoded.substr(0, encoded.length).trim(), Encoding.UTF8);
15612
15624
  let newXmlData = parser.getXMLdata().replace(encoded.trim(), decoded);
15613
15625
  parser.setXMLdata(newXmlData);
15614
15626
  parser.setCurrIndex(currrentIndex);
@@ -15771,6 +15783,21 @@ class GuiDataCollection {
15771
15783
  GuiDataCollection.MGDataTable = null;
15772
15784
 
15773
15785
  class GuiTaskBase {
15786
+ Init() {
15787
+ this.DataView.Init();
15788
+ }
15789
+ get RouterPath() {
15790
+ return this.routerPath;
15791
+ }
15792
+ get RouterParams() {
15793
+ return this.routeParams;
15794
+ }
15795
+ get InDefaultRouterOutlet() {
15796
+ return this.inDefaultRouterOutlet;
15797
+ }
15798
+ get IsBlockingBatch() {
15799
+ return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15800
+ }
15774
15801
  constructor() {
15775
15802
  this._flowMonitor = null;
15776
15803
  this._keyboardMappingState = 0xFFFF0000;
@@ -15815,21 +15842,6 @@ class GuiTaskBase {
15815
15842
  this._nullArithmetic = Constants.NULL_ARITH_USE_DEF;
15816
15843
  this._propTab = new PropTable(this);
15817
15844
  }
15818
- Init() {
15819
- this.DataView.Init();
15820
- }
15821
- get RouterPath() {
15822
- return this.routerPath;
15823
- }
15824
- get RouterParams() {
15825
- return this.routeParams;
15826
- }
15827
- get InDefaultRouterOutlet() {
15828
- return this.inDefaultRouterOutlet;
15829
- }
15830
- get IsBlockingBatch() {
15831
- return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
15832
- }
15833
15845
  getTaskTag() {
15834
15846
  return this._taskTag;
15835
15847
  }