@magic-xpa/gui 4.800.0-dev480.94 → 4.801.0-dev000.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.
Files changed (141) hide show
  1. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  2. package/{esm2015/magic-xpa-gui.js → esm2020/magic-xpa-gui.mjs} +0 -0
  3. package/esm2020/src/Commands.mjs +186 -0
  4. package/esm2020/src/Events.mjs +420 -0
  5. package/esm2020/src/EventsProcessor.mjs +67 -0
  6. package/esm2020/src/FocusManager.mjs +34 -0
  7. package/{esm2015/src/GuiConstants.js → esm2020/src/GuiConstants.mjs} +0 -0
  8. package/{esm2015/src/GuiEnums.js → esm2020/src/GuiEnums.mjs} +126 -127
  9. package/{esm2015/src/GuiEnvironment.js → esm2020/src/GuiEnvironment.mjs} +0 -0
  10. package/{esm2015/src/IFlowMonitorQueue.js → esm2020/src/IFlowMonitorQueue.mjs} +2 -1
  11. package/esm2020/src/Manager.mjs +192 -0
  12. package/{esm2015/src/UIBridge.js → esm2020/src/UIBridge.mjs} +0 -0
  13. package/{esm2015/src/env/IEnvironment.js → esm2020/src/env/IEnvironment.mjs} +2 -1
  14. package/{esm2015/src/gui/ControlBase.js → esm2020/src/gui/ControlBase.mjs} +0 -0
  15. package/{esm2015/src/gui/GuiMgControl.js → esm2020/src/gui/GuiMgControl.mjs} +0 -0
  16. package/{esm2015/src/gui/GuiMgForm.js → esm2020/src/gui/GuiMgForm.mjs} +0 -0
  17. package/{esm2015/src/gui/KeyboardItem.js → esm2020/src/gui/KeyboardItem.mjs} +0 -0
  18. package/{esm2015/src/gui/LastFocusedVal.js → esm2020/src/gui/LastFocusedVal.mjs} +0 -0
  19. package/{esm2015/src/gui/MgValue.js → esm2020/src/gui/MgValue.mjs} +0 -0
  20. package/{esm2015/src/gui/PropParentInterface.js → esm2020/src/gui/PropParentInterface.mjs} +1 -0
  21. package/{esm2015/src/gui/low/DialogHandler.js → esm2020/src/gui/low/DialogHandler.mjs} +0 -0
  22. package/{esm2015/src/gui/low/GuiCommand.js → esm2020/src/gui/low/GuiCommand.mjs} +0 -0
  23. package/{esm2015/src/gui/low/GuiCommandQueue.js → esm2020/src/gui/low/GuiCommandQueue.mjs} +0 -0
  24. package/esm2020/src/gui/low/GuiInteractive.mjs +545 -0
  25. package/esm2020/src/gui/low/Style.mjs +47 -0
  26. package/esm2020/src/management/RuntimeContextBase.mjs +52 -0
  27. package/{esm2015/src/management/data/BlobType.js → esm2020/src/management/data/BlobType.mjs} +0 -0
  28. package/esm2020/src/management/data/DcValues.mjs +214 -0
  29. package/esm2020/src/management/data/DcValuesBuilderBase.mjs +97 -0
  30. package/{esm2015/src/management/data/FieldDef.js → esm2020/src/management/data/FieldDef.mjs} +0 -0
  31. package/{esm2015/src/management/data/FieldsTable.js → esm2020/src/management/data/FieldsTable.mjs} +0 -0
  32. package/esm2020/src/management/data/GuiDataViewBase.mjs +90 -0
  33. package/esm2020/src/management/data/GuiFieldBase.mjs +82 -0
  34. package/{esm2015/src/management/data/IRecord.js → esm2020/src/management/data/IRecord.mjs} +1 -0
  35. package/{esm2015/src/management/data/IReferencedObject.js → esm2020/src/management/data/IReferencedObject.mjs} +1 -0
  36. package/{esm2015/src/management/data/NUM_TYPE.js → esm2020/src/management/data/NUM_TYPE.mjs} +0 -0
  37. package/esm2020/src/management/data/ObjectReferenceBase.mjs +48 -0
  38. package/{esm2015/src/management/data/ObjectReferencesCollection.js → esm2020/src/management/data/ObjectReferencesCollection.mjs} +0 -0
  39. package/esm2020/src/management/data/RecordUtils.mjs +361 -0
  40. package/{esm2015/src/management/data/VectorType.js → esm2020/src/management/data/VectorType.mjs} +0 -0
  41. package/{esm2015/src/management/data/VectorTypeBase.js → esm2020/src/management/data/VectorTypeBase.mjs} +0 -0
  42. package/{esm2015/src/management/events/IActionManager.js → esm2020/src/management/events/IActionManager.mjs} +1 -0
  43. package/esm2020/src/management/events/IGuiEventsManager.mjs +2 -0
  44. package/{esm2015/src/management/exp/ExpressionInterface.js → esm2020/src/management/exp/ExpressionInterface.mjs} +2 -1
  45. package/esm2020/src/management/exp/GuiExpressionEvaluator.mjs +333 -0
  46. package/{esm2015/src/management/gui/ControlTable.js → esm2020/src/management/gui/ControlTable.mjs} +0 -0
  47. package/esm2020/src/management/gui/DisplayConvertor.mjs +1706 -0
  48. package/esm2020/src/management/gui/FieldValidator.mjs +1507 -0
  49. package/esm2020/src/management/gui/GuiControlPropertyAdapter.mjs +22 -0
  50. package/{esm2015/src/management/gui/GuiFormPropertyAdapter.js → esm2020/src/management/gui/GuiFormPropertyAdapter.mjs} +0 -0
  51. package/{esm2015/src/management/gui/HebrewDate.js → esm2020/src/management/gui/HebrewDate.mjs} +0 -0
  52. package/{esm2015/src/management/gui/Helps.js → esm2020/src/management/gui/Helps.mjs} +0 -0
  53. package/esm2020/src/management/gui/MgControlBase.mjs +1873 -0
  54. package/esm2020/src/management/gui/MgFormBase.mjs +748 -0
  55. package/esm2020/src/management/gui/PIC.mjs +1178 -0
  56. package/esm2020/src/management/gui/PropDefaults.mjs +230 -0
  57. package/{esm2015/src/management/gui/PropInterface.js → esm2020/src/management/gui/PropInterface.mjs} +2 -4
  58. package/esm2020/src/management/gui/PropTable.mjs +221 -0
  59. package/esm2020/src/management/gui/Property.mjs +1382 -0
  60. package/{esm2015/src/management/gui/ValidationDetails.js → esm2020/src/management/gui/ValidationDetails.mjs} +0 -0
  61. package/{esm2015/src/management/gui/ValidationDetailsBase.js → esm2020/src/management/gui/ValidationDetailsBase.mjs} +0 -0
  62. package/{esm2015/src/management/gui/WrongFormatException.js → esm2020/src/management/gui/WrongFormatException.mjs} +0 -0
  63. package/{esm2015/src/management/tasks/GuiDataCollection.js → esm2020/src/management/tasks/GuiDataCollection.mjs} +0 -0
  64. package/esm2020/src/management/tasks/GuiTaskBase.mjs +502 -0
  65. package/{esm2015/src/management/tasks/IMGDataTable.js → esm2020/src/management/tasks/IMGDataTable.mjs} +1 -0
  66. package/{esm2015/src/management/tasks/ITask.js → esm2020/src/management/tasks/ITask.mjs} +1 -0
  67. package/esm2020/src/management/tasks/MgTimer.mjs +21 -0
  68. package/esm2020/src/management/tasks/TaskDefinitionId.mjs +54 -0
  69. package/esm2020/src/management/tasks/TaskDefinitionIdTableSaxHandler.mjs +41 -0
  70. package/{esm2015/src/util/AuthenticationDialogHandler.js → esm2020/src/util/AuthenticationDialogHandler.mjs} +0 -0
  71. package/{esm2015/src/util/MemoryUtil.js → esm2020/src/util/MemoryUtil.mjs} +0 -0
  72. package/{esm2015/src/util/ObjectReference.js → esm2020/src/util/ObjectReference.mjs} +0 -0
  73. package/esm2020/src/util/ProcessLauncher.mjs +32 -0
  74. package/esm2020/src/util/UsernamePasswordCredentials.mjs +52 -0
  75. package/fesm2015/{magic-xpa-gui.js → magic-xpa-gui.mjs} +305 -365
  76. package/fesm2015/magic-xpa-gui.mjs.map +1 -0
  77. package/fesm2020/magic-xpa-gui.mjs +17805 -0
  78. package/fesm2020/magic-xpa-gui.mjs.map +1 -0
  79. package/package.json +27 -14
  80. package/src/Commands.d.ts +1 -0
  81. package/src/Events.d.ts +2 -2
  82. package/src/EventsProcessor.d.ts +1 -1
  83. package/src/GuiEnums.d.ts +125 -126
  84. package/src/IFlowMonitorQueue.d.ts +1 -1
  85. package/src/Manager.d.ts +2 -3
  86. package/src/env/IEnvironment.d.ts +1 -0
  87. package/src/gui/low/GuiInteractive.d.ts +3 -1
  88. package/src/gui/low/Style.d.ts +0 -3
  89. package/src/management/RuntimeContextBase.d.ts +2 -0
  90. package/src/management/data/DcValues.d.ts +1 -1
  91. package/src/management/data/DcValuesBuilderBase.d.ts +1 -1
  92. package/src/management/data/RecordUtils.d.ts +0 -3
  93. package/src/management/events/IGuiEventsManager.d.ts +5 -5
  94. package/src/management/exp/ExpressionInterface.d.ts +1 -0
  95. package/src/management/exp/GuiExpressionEvaluator.d.ts +2 -2
  96. package/src/management/gui/DisplayConvertor.d.ts +6 -6
  97. package/src/management/gui/GuiControlPropertyAdapter.d.ts +6 -6
  98. package/src/management/gui/MgControlBase.d.ts +4 -5
  99. package/src/management/gui/MgFormBase.d.ts +1 -1
  100. package/src/management/gui/PropInterface.d.ts +2 -4
  101. package/src/management/gui/PropTable.d.ts +1 -1
  102. package/src/management/gui/Property.d.ts +3 -3
  103. package/src/management/tasks/GuiTaskBase.d.ts +3 -8
  104. package/src/management/tasks/TaskDefinitionId.d.ts +1 -0
  105. package/src/util/ProcessLauncher.d.ts +1 -3
  106. package/bundles/magic-xpa-gui.umd.js +0 -19459
  107. package/bundles/magic-xpa-gui.umd.js.map +0 -1
  108. package/bundles/magic-xpa-gui.umd.min.js +0 -16
  109. package/bundles/magic-xpa-gui.umd.min.js.map +0 -1
  110. package/esm2015/src/Commands.js +0 -185
  111. package/esm2015/src/Events.js +0 -420
  112. package/esm2015/src/EventsProcessor.js +0 -68
  113. package/esm2015/src/FocusManager.js +0 -41
  114. package/esm2015/src/Manager.js +0 -197
  115. package/esm2015/src/gui/low/GuiInteractive.js +0 -539
  116. package/esm2015/src/gui/low/Style.js +0 -50
  117. package/esm2015/src/management/RuntimeContextBase.js +0 -50
  118. package/esm2015/src/management/data/DcValues.js +0 -214
  119. package/esm2015/src/management/data/DcValuesBuilderBase.js +0 -97
  120. package/esm2015/src/management/data/GuiDataViewBase.js +0 -90
  121. package/esm2015/src/management/data/GuiFieldBase.js +0 -85
  122. package/esm2015/src/management/data/ObjectReferenceBase.js +0 -48
  123. package/esm2015/src/management/data/RecordUtils.js +0 -447
  124. package/esm2015/src/management/events/IGuiEventsManager.js +0 -1
  125. package/esm2015/src/management/exp/GuiExpressionEvaluator.js +0 -333
  126. package/esm2015/src/management/gui/DisplayConvertor.js +0 -1706
  127. package/esm2015/src/management/gui/FieldValidator.js +0 -1507
  128. package/esm2015/src/management/gui/GuiControlPropertyAdapter.js +0 -4
  129. package/esm2015/src/management/gui/MgControlBase.js +0 -1979
  130. package/esm2015/src/management/gui/MgFormBase.js +0 -763
  131. package/esm2015/src/management/gui/PIC.js +0 -1176
  132. package/esm2015/src/management/gui/PropDefaults.js +0 -232
  133. package/esm2015/src/management/gui/PropTable.js +0 -224
  134. package/esm2015/src/management/gui/Property.js +0 -1409
  135. package/esm2015/src/management/tasks/GuiTaskBase.js +0 -533
  136. package/esm2015/src/management/tasks/MgTimer.js +0 -21
  137. package/esm2015/src/management/tasks/TaskDefinitionId.js +0 -47
  138. package/esm2015/src/management/tasks/TaskDefinitionIdTableSaxHandler.js +0 -41
  139. package/esm2015/src/util/ProcessLauncher.js +0 -32
  140. package/esm2015/src/util/UsernamePasswordCredentials.js +0 -52
  141. package/fesm2015/magic-xpa-gui.js.map +0 -1
@@ -1,7 +1,6 @@
1
1
  import { __awaiter } from 'tslib';
2
- import { Debug, StringBuilder, NString, Int32, List, StackFrame, ApplicationException, Encoding, ISO_8859_1_Encoding, NNumber, NumberStyles, RefParam, DateTime, Hashtable, Exception, NChar, NumberFormatInfo, Stack, Dictionary, StackTrace, NotImplementedException } from '@magic-xpa/mscorelib';
3
- import { OSEnvironment, MgControlType, CtrlButtonTypeGui, CheckboxMainStyle, RbAppearance, UtilStrByteMode, UtilImeJpn, StrUtil, Logger, StorageAttribute, PICInterface, MsgInterface, SEQ_2_HTML, HTML_2_STR, Constants, Randomizer, UtilDateJpn, DateUtil, Misc, Base64, XmlParser, StorageAttributeCheck, XMLConstants, JSON_Utils, ListboxSelectionMode, TransMode, Logger_LogLevels, MagicProperties, ChoiceUtils, SEQ_2_STR, InternalInterface, WindowType, TabbingOrderType, Rtf, HelpType } from '@magic-xpa/utils';
4
- import { isNullOrUndefined } from 'util';
2
+ import { Debug, StringBuilder, NString, Int32, List, StackFrame, ApplicationException, Encoding, ISO_8859_1_Encoding, NNumber, NumberStyles, RefParam, DateTime, isNullOrUndefined, Hashtable, Exception, NChar, NumberFormatInfo, Stack, Dictionary, StackTrace, NotImplementedException } from '@magic-xpa/mscorelib';
3
+ import { OSEnvironment, MgControlType, CtrlButtonTypeGui, CheckboxMainStyle, RbAppearance, UtilStrByteMode, UtilImeJpn, StrUtil, Logger, StorageAttribute, PICInterface, MsgInterface, SEQ_2_HTML, HTML_2_STR, Constants, Randomizer, UtilDateJpn, DateUtil, Base64, XmlParser, StorageAttributeCheck, XMLConstants, JSON_Utils, ListboxSelectionMode, TransMode, Logger_LogLevels, Misc, MagicProperties, ChoiceUtils, SEQ_2_STR, InternalInterface, WindowType, TabbingOrderType, Rtf, HelpType } from '@magic-xpa/utils';
5
4
  import { timer } from 'rxjs';
6
5
 
7
6
  class MgValue {
@@ -300,12 +299,12 @@ class Events {
300
299
  }
301
300
  static SaveLastClickedCtrlName(guiMgControl, controlName) {
302
301
  if (Events.SaveLastClickedCtrlEvent !== null) {
303
- Events.SaveLastClickedCtrlEvent(guiMgControl, controlName);
302
+ Events.SaveLastClickedCtrlEvent(controlName);
304
303
  }
305
304
  }
306
305
  static SaveLastClickInfo(guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels) {
307
306
  if (Events.SaveLastClickInfoEvent !== null) {
308
- Events.SaveLastClickInfoEvent(guiMgForm, controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
307
+ Events.SaveLastClickInfoEvent(controlName, x, y, offsetX, offsetY, lastClickCoordinatesAreInPixels);
309
308
  }
310
309
  }
311
310
  static WriteErrorToLog(msg) {
@@ -579,6 +578,7 @@ var InteractiveCommandType;
579
578
  InteractiveCommandType[InteractiveCommandType["GET_IS_ROW_EDITING"] = 64] = "GET_IS_ROW_EDITING";
580
579
  InteractiveCommandType[InteractiveCommandType["GET_MAX_ROWS_IN_PAGINATED_TABLE"] = 65] = "GET_MAX_ROWS_IN_PAGINATED_TABLE";
581
580
  InteractiveCommandType[InteractiveCommandType["CALL_JS"] = 66] = "CALL_JS";
581
+ InteractiveCommandType[InteractiveCommandType["GET_LAST_ROUTE"] = 67] = "GET_LAST_ROUTE";
582
582
  })(InteractiveCommandType || (InteractiveCommandType = {}));
583
583
  class GuiInteractiveBase {
584
584
  constructor() {
@@ -828,6 +828,11 @@ class GuiInteractiveBase {
828
828
  this.Invoke();
829
829
  return this._intVal1;
830
830
  }
831
+ getLastRoute() {
832
+ this._commandType = InteractiveCommandType.GET_LAST_ROUTE;
833
+ this.Invoke();
834
+ return this.resultString;
835
+ }
831
836
  GetHiddenRowsCountInTable(control) {
832
837
  this._commandType = InteractiveCommandType.GET_HIDDEN_ROWS_COUNT_IN_TABLE;
833
838
  this._obj2 = control;
@@ -869,13 +874,13 @@ class GuiInteractiveBase {
869
874
  this._obj1 = guiMgForm;
870
875
  this.Invoke();
871
876
  }
872
- isFormActive(guiMgForm) {
877
+ isFormActive() {
873
878
  if (arguments.length === 1)
874
- return this.isFormActive_0(guiMgForm);
879
+ return this.isFormActive_0();
875
880
  else
876
881
  this.isFormActive_1();
877
882
  }
878
- isFormActive_0(guiMgForm) {
883
+ isFormActive_0() {
879
884
  return this._boolVal;
880
885
  }
881
886
  GetRtfValueBeforeEnteringControl(guiMgControl, line) {
@@ -1382,132 +1387,131 @@ var CommandType;
1382
1387
  CommandType[CommandType["PROP_SET_IMAGE_FILE_NAME"] = 29] = "PROP_SET_IMAGE_FILE_NAME";
1383
1388
  CommandType[CommandType["PROP_SET_IMAGE_DATA"] = 30] = "PROP_SET_IMAGE_DATA";
1384
1389
  CommandType[CommandType["PROP_SET_IMAGE_LIST"] = 31] = "PROP_SET_IMAGE_LIST";
1385
- CommandType[CommandType["PROP_SET_DEFAULT_BUTTON"] = 32] = "PROP_SET_DEFAULT_BUTTON";
1386
- CommandType[CommandType["PROP_SET_TOOLTIP"] = 33] = "PROP_SET_TOOLTIP";
1387
- CommandType[CommandType["PROP_SET_VISIBLE"] = 34] = "PROP_SET_VISIBLE";
1388
- CommandType[CommandType["PROP_SET_ENABLE"] = 35] = "PROP_SET_ENABLE";
1389
- CommandType[CommandType["PROP_SET_MENU_ENABLE"] = 36] = "PROP_SET_MENU_ENABLE";
1390
- CommandType[CommandType["PROP_SET_VISIBLE_LINES"] = 37] = "PROP_SET_VISIBLE_LINES";
1391
- CommandType[CommandType["PROP_SET_RIGHT_TO_LEFT"] = 38] = "PROP_SET_RIGHT_TO_LEFT";
1392
- CommandType[CommandType["PROP_SET_CHECKED"] = 39] = "PROP_SET_CHECKED";
1393
- CommandType[CommandType["PROP_SET_SELECTION"] = 40] = "PROP_SET_SELECTION";
1394
- CommandType[CommandType["PROP_SET_LAYOUT_NUM_COLUMN"] = 41] = "PROP_SET_LAYOUT_NUM_COLUMN";
1395
- CommandType[CommandType["PROP_SET_LINE_VISIBLE"] = 42] = "PROP_SET_LINE_VISIBLE";
1396
- CommandType[CommandType["PROP_SET_RESIZABLE"] = 43] = "PROP_SET_RESIZABLE";
1397
- CommandType[CommandType["PROP_SET_ALLOW_REORDER"] = 44] = "PROP_SET_ALLOW_REORDER";
1398
- CommandType[CommandType["PROP_SET_SORTABLE_COLUMN"] = 45] = "PROP_SET_SORTABLE_COLUMN";
1399
- CommandType[CommandType["PROP_SET_COLUMN_PLACMENT"] = 46] = "PROP_SET_COLUMN_PLACMENT";
1400
- CommandType[CommandType["PROP_SET_ICON_FILE_NAME"] = 47] = "PROP_SET_ICON_FILE_NAME";
1401
- CommandType[CommandType["SET_WINDOW_STATE"] = 48] = "SET_WINDOW_STATE";
1402
- CommandType[CommandType["SET_COLUMN_ORG_WIDTH"] = 49] = "SET_COLUMN_ORG_WIDTH";
1403
- CommandType[CommandType["SET_COLUMN_START_POS"] = 50] = "SET_COLUMN_START_POS";
1404
- CommandType[CommandType["SET_TABLE_ITEMS_COUNT"] = 51] = "SET_TABLE_ITEMS_COUNT";
1405
- CommandType[CommandType["SET_TABLE_VIRTUAL_ITEMS_COUNT"] = 52] = "SET_TABLE_VIRTUAL_ITEMS_COUNT";
1406
- CommandType[CommandType["SET_TABLE_VSCROLL_THUMB_POS"] = 53] = "SET_TABLE_VSCROLL_THUMB_POS";
1407
- CommandType[CommandType["SET_TABLE_VSCROLL_PAGE_SIZE"] = 54] = "SET_TABLE_VSCROLL_PAGE_SIZE";
1408
- CommandType[CommandType["SET_TABLE_INCLUDES_FIRST"] = 55] = "SET_TABLE_INCLUDES_FIRST";
1409
- CommandType[CommandType["SET_TABLE_INCLUDES_LAST"] = 56] = "SET_TABLE_INCLUDES_LAST";
1410
- CommandType[CommandType["SET_TABLE_TOP_INDEX"] = 57] = "SET_TABLE_TOP_INDEX";
1411
- CommandType[CommandType["SET_SELECTION_INDEX"] = 58] = "SET_SELECTION_INDEX";
1412
- CommandType[CommandType["INVALIDATE_TABLE"] = 59] = "INVALIDATE_TABLE";
1413
- CommandType[CommandType["REFRESH_TABLE"] = 60] = "REFRESH_TABLE";
1414
- CommandType[CommandType["REFRESH_TMP_EDITOR"] = 61] = "REFRESH_TMP_EDITOR";
1415
- CommandType[CommandType["UPDATE_TMP_EDITOR_INDEX"] = 62] = "UPDATE_TMP_EDITOR_INDEX";
1416
- CommandType[CommandType["CREATE_TABLE_ROW"] = 63] = "CREATE_TABLE_ROW";
1417
- CommandType[CommandType["UNDO_CREATE_TABLE_ROW"] = 64] = "UNDO_CREATE_TABLE_ROW";
1418
- CommandType[CommandType["SET_TABLE_ROW_VISIBILITY"] = 65] = "SET_TABLE_ROW_VISIBILITY";
1419
- CommandType[CommandType["VALIDATE_TABLE_ROW"] = 66] = "VALIDATE_TABLE_ROW";
1420
- CommandType[CommandType["INSERT_ROWS"] = 67] = "INSERT_ROWS";
1421
- CommandType[CommandType["REMOVE_ROWS"] = 68] = "REMOVE_ROWS";
1422
- CommandType[CommandType["CLEAR_TABLE_COLUMNS_SORT_MARK"] = 69] = "CLEAR_TABLE_COLUMNS_SORT_MARK";
1423
- CommandType[CommandType["PROP_SET_URL"] = 70] = "PROP_SET_URL";
1424
- CommandType[CommandType["MOVE_ABOVE"] = 71] = "MOVE_ABOVE";
1425
- CommandType[CommandType["SET_FOCUS"] = 72] = "SET_FOCUS";
1426
- CommandType[CommandType["WRITE_TO_MESSAGE_BOX"] = 73] = "WRITE_TO_MESSAGE_BOX";
1427
- CommandType[CommandType["CLOSE_FORM"] = 74] = "CLOSE_FORM";
1428
- CommandType[CommandType["REMOVE_SUBFORM_CONTROLS"] = 75] = "REMOVE_SUBFORM_CONTROLS";
1429
- CommandType[CommandType["START_TIMER"] = 76] = "START_TIMER";
1430
- CommandType[CommandType["STOP_TIMER"] = 77] = "STOP_TIMER";
1431
- CommandType[CommandType["BEEP"] = 78] = "BEEP";
1432
- CommandType[CommandType["CREATE_TOOLBAR"] = 79] = "CREATE_TOOLBAR";
1433
- CommandType[CommandType["DELETE_TOOLBAR"] = 80] = "DELETE_TOOLBAR";
1434
- CommandType[CommandType["CREATE_TOOLBAR_ITEM"] = 81] = "CREATE_TOOLBAR_ITEM";
1435
- CommandType[CommandType["DELETE_TOOLBAR_ITEM"] = 82] = "DELETE_TOOLBAR_ITEM";
1436
- CommandType[CommandType["CREATE_STATUS_BAR"] = 83] = "CREATE_STATUS_BAR";
1437
- CommandType[CommandType["PROP_SET_SB_PANE_WIDTH"] = 84] = "PROP_SET_SB_PANE_WIDTH";
1438
- CommandType[CommandType["CREATE_SB_LABEL"] = 85] = "CREATE_SB_LABEL";
1439
- CommandType[CommandType["CREATE_SB_IMAGE"] = 86] = "CREATE_SB_IMAGE";
1440
- CommandType[CommandType["SHOW_TMP_EDITOR"] = 87] = "SHOW_TMP_EDITOR";
1441
- CommandType[CommandType["PROP_SET_TRANSLATOR"] = 88] = "PROP_SET_TRANSLATOR";
1442
- CommandType[CommandType["PROP_SET_PASSWORD_EDIT"] = 89] = "PROP_SET_PASSWORD_EDIT";
1443
- CommandType[CommandType["PROP_SET_TITLE_BAR"] = 90] = "PROP_SET_TITLE_BAR";
1444
- CommandType[CommandType["PROP_SHOW_FULL_ROW"] = 91] = "PROP_SHOW_FULL_ROW";
1445
- CommandType[CommandType["PROP_SHOW_BUTTONS"] = 92] = "PROP_SHOW_BUTTONS";
1446
- CommandType[CommandType["PROP_SHOW_LINES"] = 93] = "PROP_SHOW_LINES";
1447
- CommandType[CommandType["PROP_SHOW_SCROLLBAR"] = 94] = "PROP_SHOW_SCROLLBAR";
1448
- CommandType[CommandType["SET_ENV_ACCESS_TEST"] = 95] = "SET_ENV_ACCESS_TEST";
1449
- CommandType[CommandType["SET_ENV_TOOLTIP_TIMEOUT"] = 96] = "SET_ENV_TOOLTIP_TIMEOUT";
1450
- CommandType[CommandType["SET_ENV_SPECIAL_TEXT_SIZE_FACTORING"] = 97] = "SET_ENV_SPECIAL_TEXT_SIZE_FACTORING";
1451
- CommandType[CommandType["SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME"] = 98] = "SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME";
1452
- CommandType[CommandType["PROP_SET_STARTUP_POSITION"] = 99] = "PROP_SET_STARTUP_POSITION";
1453
- CommandType[CommandType["PROP_SET_CHECK_BOX_CHECKED"] = 100] = "PROP_SET_CHECK_BOX_CHECKED";
1454
- CommandType[CommandType["COMBO_DROP_DOWN"] = 101] = "COMBO_DROP_DOWN";
1455
- CommandType[CommandType["SET_ACTIVETE_KEYBOARD_LAYOUT"] = 102] = "SET_ACTIVETE_KEYBOARD_LAYOUT";
1456
- CommandType[CommandType["SET_TAG_DATA_LINK_VISITED"] = 103] = "SET_TAG_DATA_LINK_VISITED";
1457
- CommandType[CommandType["ALLOW_UPDATE"] = 104] = "ALLOW_UPDATE";
1458
- CommandType[CommandType["SET_ALIGNMENT"] = 105] = "SET_ALIGNMENT";
1459
- CommandType[CommandType["BULLET"] = 106] = "BULLET";
1460
- CommandType[CommandType["INDENT"] = 107] = "INDENT";
1461
- CommandType[CommandType["UNINDENT"] = 108] = "UNINDENT";
1462
- CommandType[CommandType["CHANGE_COLUMN_SORT_MARK"] = 109] = "CHANGE_COLUMN_SORT_MARK";
1463
- CommandType[CommandType["SET_CURRENT_CURSOR"] = 110] = "SET_CURRENT_CURSOR";
1464
- CommandType[CommandType["REORDER_COLUMNS"] = 111] = "REORDER_COLUMNS";
1465
- CommandType[CommandType["RESTORE_COLUMNS"] = 112] = "RESTORE_COLUMNS";
1466
- CommandType[CommandType["ACTIVATE_FORM"] = 113] = "ACTIVATE_FORM";
1467
- CommandType[CommandType["LOCK_WINDOW_UPDATE"] = 114] = "LOCK_WINDOW_UPDATE";
1468
- CommandType[CommandType["ENABLE_XPTHEMES"] = 115] = "ENABLE_XPTHEMES";
1469
- CommandType[CommandType["TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW"] = 116] = "TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW";
1470
- CommandType[CommandType["REGISTER_DN_CTRL_VALUE_CHANGED_EVENT"] = 117] = "REGISTER_DN_CTRL_VALUE_CHANGED_EVENT";
1471
- CommandType[CommandType["SET_TABLE_ORG_ROW_HEIGHT"] = 118] = "SET_TABLE_ORG_ROW_HEIGHT";
1472
- CommandType[CommandType["SET_TOOLBAR"] = 119] = "SET_TOOLBAR";
1473
- CommandType[CommandType["CREATE_ENTRY_IN_CONTROLS_MAP"] = 120] = "CREATE_ENTRY_IN_CONTROLS_MAP";
1474
- CommandType[CommandType["REMOVE_ENTRY_FROM_CONTROLS_MAP"] = 121] = "REMOVE_ENTRY_FROM_CONTROLS_MAP";
1475
- CommandType[CommandType["PROCESS_PRESS_EVENT"] = 122] = "PROCESS_PRESS_EVENT";
1476
- CommandType[CommandType["SET_MARKED_ITEM_STATE"] = 123] = "SET_MARKED_ITEM_STATE";
1477
- CommandType[CommandType["ACCEPT_DVCONTROL_CHANGES"] = 124] = "ACCEPT_DVCONTROL_CHANGES";
1478
- CommandType[CommandType["UPDATE_DVCONTROL_ROW"] = 125] = "UPDATE_DVCONTROL_ROW";
1479
- CommandType[CommandType["ADD_DVCONTROL_HANDLER"] = 126] = "ADD_DVCONTROL_HANDLER";
1480
- CommandType[CommandType["REMOVE_DVCONTROL_HANDLER"] = 127] = "REMOVE_DVCONTROL_HANDLER";
1481
- CommandType[CommandType["CREATE_ROW_IN_DVCONTROL"] = 128] = "CREATE_ROW_IN_DVCONTROL";
1482
- CommandType[CommandType["UPDATE_DVCONTROL_COLUMN"] = 129] = "UPDATE_DVCONTROL_COLUMN";
1483
- CommandType[CommandType["DELETE_DVCONTROL_ROW"] = 130] = "DELETE_DVCONTROL_ROW";
1484
- CommandType[CommandType["SET_DVCONTROL_ROW_POSITION"] = 131] = "SET_DVCONTROL_ROW_POSITION";
1485
- CommandType[CommandType["REJECT_DVCONTROL_COLUMN_CHANGES"] = 132] = "REJECT_DVCONTROL_COLUMN_CHANGES";
1486
- CommandType[CommandType["SET_DESIGNER_VALUES"] = 133] = "SET_DESIGNER_VALUES";
1487
- CommandType[CommandType["PROP_SET_EDIT_HINT"] = 134] = "PROP_SET_EDIT_HINT";
1488
- CommandType[CommandType["PROP_SET_MULTI_COLUMN_DISPLAY"] = 135] = "PROP_SET_MULTI_COLUMN_DISPLAY";
1489
- CommandType[CommandType["SET_ENV_LAMGUAGE"] = 136] = "SET_ENV_LAMGUAGE";
1490
- CommandType[CommandType["SET_LAST_IN_CONTEXT"] = 137] = "SET_LAST_IN_CONTEXT";
1491
- CommandType[CommandType["SET_CARET"] = 138] = "SET_CARET";
1492
- CommandType[CommandType["SET_RECORDS_BEFORE_CURRENT_VIEW"] = 139] = "SET_RECORDS_BEFORE_CURRENT_VIEW";
1493
- CommandType[CommandType["SET_VALUE"] = 140] = "SET_VALUE";
1494
- CommandType[CommandType["SET_ATTRIBUTE"] = 141] = "SET_ATTRIBUTE";
1495
- CommandType[CommandType["SET_PROPERTY"] = 142] = "SET_PROPERTY";
1496
- CommandType[CommandType["SET_CLASS"] = 143] = "SET_CLASS";
1497
- CommandType[CommandType["SET_STYLE"] = 144] = "SET_STYLE";
1498
- CommandType[CommandType["REFRESH_TASK"] = 145] = "REFRESH_TASK";
1499
- CommandType[CommandType["PROP_SET_USER_PROPERTY"] = 146] = "PROP_SET_USER_PROPERTY";
1500
- CommandType[CommandType["PROP_SET_CUSTOM_VALIDATOR"] = 147] = "PROP_SET_CUSTOM_VALIDATOR";
1501
- CommandType[CommandType["SET_IS_ROW_EDITING"] = 148] = "SET_IS_ROW_EDITING";
1502
- CommandType[CommandType["SET_NOT_IS_ROW_EDITING"] = 149] = "SET_NOT_IS_ROW_EDITING";
1503
- CommandType[CommandType["SET_EMPTY_DATAVIEW"] = 150] = "SET_EMPTY_DATAVIEW";
1504
- CommandType[CommandType["SET_IS_LOGGED_IN"] = 151] = "SET_IS_LOGGED_IN";
1505
- CommandType[CommandType["RELOAD_PAGE"] = 152] = "RELOAD_PAGE";
1506
- CommandType[CommandType["EXIT_MAGIC"] = 153] = "EXIT_MAGIC";
1507
- CommandType[CommandType["CALL_JS"] = 154] = "CALL_JS";
1508
- CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 155] = "PROP_SET_BINDING_LEVEL";
1509
- CommandType[CommandType["SHOW_SPINNER"] = 156] = "SHOW_SPINNER";
1510
- CommandType[CommandType["SHOW_HTML_ERROR"] = 157] = "SHOW_HTML_ERROR";
1390
+ CommandType[CommandType["PROP_SET_TOOLTIP"] = 32] = "PROP_SET_TOOLTIP";
1391
+ CommandType[CommandType["PROP_SET_VISIBLE"] = 33] = "PROP_SET_VISIBLE";
1392
+ CommandType[CommandType["PROP_SET_ENABLE"] = 34] = "PROP_SET_ENABLE";
1393
+ CommandType[CommandType["PROP_SET_MENU_ENABLE"] = 35] = "PROP_SET_MENU_ENABLE";
1394
+ CommandType[CommandType["PROP_SET_VISIBLE_LINES"] = 36] = "PROP_SET_VISIBLE_LINES";
1395
+ CommandType[CommandType["PROP_SET_RIGHT_TO_LEFT"] = 37] = "PROP_SET_RIGHT_TO_LEFT";
1396
+ CommandType[CommandType["PROP_SET_CHECKED"] = 38] = "PROP_SET_CHECKED";
1397
+ CommandType[CommandType["PROP_SET_SELECTION"] = 39] = "PROP_SET_SELECTION";
1398
+ CommandType[CommandType["PROP_SET_LAYOUT_NUM_COLUMN"] = 40] = "PROP_SET_LAYOUT_NUM_COLUMN";
1399
+ CommandType[CommandType["PROP_SET_LINE_VISIBLE"] = 41] = "PROP_SET_LINE_VISIBLE";
1400
+ CommandType[CommandType["PROP_SET_RESIZABLE"] = 42] = "PROP_SET_RESIZABLE";
1401
+ CommandType[CommandType["PROP_SET_ALLOW_REORDER"] = 43] = "PROP_SET_ALLOW_REORDER";
1402
+ CommandType[CommandType["PROP_SET_SORTABLE_COLUMN"] = 44] = "PROP_SET_SORTABLE_COLUMN";
1403
+ CommandType[CommandType["PROP_SET_COLUMN_PLACMENT"] = 45] = "PROP_SET_COLUMN_PLACMENT";
1404
+ CommandType[CommandType["PROP_SET_ICON_FILE_NAME"] = 46] = "PROP_SET_ICON_FILE_NAME";
1405
+ CommandType[CommandType["SET_WINDOW_STATE"] = 47] = "SET_WINDOW_STATE";
1406
+ CommandType[CommandType["SET_COLUMN_ORG_WIDTH"] = 48] = "SET_COLUMN_ORG_WIDTH";
1407
+ CommandType[CommandType["SET_COLUMN_START_POS"] = 49] = "SET_COLUMN_START_POS";
1408
+ CommandType[CommandType["SET_TABLE_ITEMS_COUNT"] = 50] = "SET_TABLE_ITEMS_COUNT";
1409
+ CommandType[CommandType["SET_TABLE_VIRTUAL_ITEMS_COUNT"] = 51] = "SET_TABLE_VIRTUAL_ITEMS_COUNT";
1410
+ CommandType[CommandType["SET_TABLE_VSCROLL_THUMB_POS"] = 52] = "SET_TABLE_VSCROLL_THUMB_POS";
1411
+ CommandType[CommandType["SET_TABLE_VSCROLL_PAGE_SIZE"] = 53] = "SET_TABLE_VSCROLL_PAGE_SIZE";
1412
+ CommandType[CommandType["SET_TABLE_INCLUDES_FIRST"] = 54] = "SET_TABLE_INCLUDES_FIRST";
1413
+ CommandType[CommandType["SET_TABLE_INCLUDES_LAST"] = 55] = "SET_TABLE_INCLUDES_LAST";
1414
+ CommandType[CommandType["SET_TABLE_TOP_INDEX"] = 56] = "SET_TABLE_TOP_INDEX";
1415
+ CommandType[CommandType["SET_SELECTION_INDEX"] = 57] = "SET_SELECTION_INDEX";
1416
+ CommandType[CommandType["INVALIDATE_TABLE"] = 58] = "INVALIDATE_TABLE";
1417
+ CommandType[CommandType["REFRESH_TABLE"] = 59] = "REFRESH_TABLE";
1418
+ CommandType[CommandType["REFRESH_TMP_EDITOR"] = 60] = "REFRESH_TMP_EDITOR";
1419
+ CommandType[CommandType["UPDATE_TMP_EDITOR_INDEX"] = 61] = "UPDATE_TMP_EDITOR_INDEX";
1420
+ CommandType[CommandType["CREATE_TABLE_ROW"] = 62] = "CREATE_TABLE_ROW";
1421
+ CommandType[CommandType["UNDO_CREATE_TABLE_ROW"] = 63] = "UNDO_CREATE_TABLE_ROW";
1422
+ CommandType[CommandType["SET_TABLE_ROW_VISIBILITY"] = 64] = "SET_TABLE_ROW_VISIBILITY";
1423
+ CommandType[CommandType["VALIDATE_TABLE_ROW"] = 65] = "VALIDATE_TABLE_ROW";
1424
+ CommandType[CommandType["INSERT_ROWS"] = 66] = "INSERT_ROWS";
1425
+ CommandType[CommandType["REMOVE_ROWS"] = 67] = "REMOVE_ROWS";
1426
+ CommandType[CommandType["CLEAR_TABLE_COLUMNS_SORT_MARK"] = 68] = "CLEAR_TABLE_COLUMNS_SORT_MARK";
1427
+ CommandType[CommandType["PROP_SET_URL"] = 69] = "PROP_SET_URL";
1428
+ CommandType[CommandType["MOVE_ABOVE"] = 70] = "MOVE_ABOVE";
1429
+ CommandType[CommandType["SET_FOCUS"] = 71] = "SET_FOCUS";
1430
+ CommandType[CommandType["WRITE_TO_MESSAGE_BOX"] = 72] = "WRITE_TO_MESSAGE_BOX";
1431
+ CommandType[CommandType["CLOSE_FORM"] = 73] = "CLOSE_FORM";
1432
+ CommandType[CommandType["REMOVE_SUBFORM_CONTROLS"] = 74] = "REMOVE_SUBFORM_CONTROLS";
1433
+ CommandType[CommandType["START_TIMER"] = 75] = "START_TIMER";
1434
+ CommandType[CommandType["STOP_TIMER"] = 76] = "STOP_TIMER";
1435
+ CommandType[CommandType["BEEP"] = 77] = "BEEP";
1436
+ CommandType[CommandType["CREATE_TOOLBAR"] = 78] = "CREATE_TOOLBAR";
1437
+ CommandType[CommandType["DELETE_TOOLBAR"] = 79] = "DELETE_TOOLBAR";
1438
+ CommandType[CommandType["CREATE_TOOLBAR_ITEM"] = 80] = "CREATE_TOOLBAR_ITEM";
1439
+ CommandType[CommandType["DELETE_TOOLBAR_ITEM"] = 81] = "DELETE_TOOLBAR_ITEM";
1440
+ CommandType[CommandType["CREATE_STATUS_BAR"] = 82] = "CREATE_STATUS_BAR";
1441
+ CommandType[CommandType["PROP_SET_SB_PANE_WIDTH"] = 83] = "PROP_SET_SB_PANE_WIDTH";
1442
+ CommandType[CommandType["CREATE_SB_LABEL"] = 84] = "CREATE_SB_LABEL";
1443
+ CommandType[CommandType["CREATE_SB_IMAGE"] = 85] = "CREATE_SB_IMAGE";
1444
+ CommandType[CommandType["SHOW_TMP_EDITOR"] = 86] = "SHOW_TMP_EDITOR";
1445
+ CommandType[CommandType["PROP_SET_TRANSLATOR"] = 87] = "PROP_SET_TRANSLATOR";
1446
+ CommandType[CommandType["PROP_SET_PASSWORD_EDIT"] = 88] = "PROP_SET_PASSWORD_EDIT";
1447
+ CommandType[CommandType["PROP_SET_TITLE_BAR"] = 89] = "PROP_SET_TITLE_BAR";
1448
+ CommandType[CommandType["PROP_SHOW_FULL_ROW"] = 90] = "PROP_SHOW_FULL_ROW";
1449
+ CommandType[CommandType["PROP_SHOW_BUTTONS"] = 91] = "PROP_SHOW_BUTTONS";
1450
+ CommandType[CommandType["PROP_SHOW_LINES"] = 92] = "PROP_SHOW_LINES";
1451
+ CommandType[CommandType["PROP_SHOW_SCROLLBAR"] = 93] = "PROP_SHOW_SCROLLBAR";
1452
+ CommandType[CommandType["SET_ENV_ACCESS_TEST"] = 94] = "SET_ENV_ACCESS_TEST";
1453
+ CommandType[CommandType["SET_ENV_TOOLTIP_TIMEOUT"] = 95] = "SET_ENV_TOOLTIP_TIMEOUT";
1454
+ CommandType[CommandType["SET_ENV_SPECIAL_TEXT_SIZE_FACTORING"] = 96] = "SET_ENV_SPECIAL_TEXT_SIZE_FACTORING";
1455
+ CommandType[CommandType["SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME"] = 97] = "SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME";
1456
+ CommandType[CommandType["PROP_SET_STARTUP_POSITION"] = 98] = "PROP_SET_STARTUP_POSITION";
1457
+ CommandType[CommandType["PROP_SET_CHECK_BOX_CHECKED"] = 99] = "PROP_SET_CHECK_BOX_CHECKED";
1458
+ CommandType[CommandType["COMBO_DROP_DOWN"] = 100] = "COMBO_DROP_DOWN";
1459
+ CommandType[CommandType["SET_ACTIVETE_KEYBOARD_LAYOUT"] = 101] = "SET_ACTIVETE_KEYBOARD_LAYOUT";
1460
+ CommandType[CommandType["SET_TAG_DATA_LINK_VISITED"] = 102] = "SET_TAG_DATA_LINK_VISITED";
1461
+ CommandType[CommandType["ALLOW_UPDATE"] = 103] = "ALLOW_UPDATE";
1462
+ CommandType[CommandType["SET_ALIGNMENT"] = 104] = "SET_ALIGNMENT";
1463
+ CommandType[CommandType["BULLET"] = 105] = "BULLET";
1464
+ CommandType[CommandType["INDENT"] = 106] = "INDENT";
1465
+ CommandType[CommandType["UNINDENT"] = 107] = "UNINDENT";
1466
+ CommandType[CommandType["CHANGE_COLUMN_SORT_MARK"] = 108] = "CHANGE_COLUMN_SORT_MARK";
1467
+ CommandType[CommandType["SET_CURRENT_CURSOR"] = 109] = "SET_CURRENT_CURSOR";
1468
+ CommandType[CommandType["REORDER_COLUMNS"] = 110] = "REORDER_COLUMNS";
1469
+ CommandType[CommandType["RESTORE_COLUMNS"] = 111] = "RESTORE_COLUMNS";
1470
+ CommandType[CommandType["ACTIVATE_FORM"] = 112] = "ACTIVATE_FORM";
1471
+ CommandType[CommandType["LOCK_WINDOW_UPDATE"] = 113] = "LOCK_WINDOW_UPDATE";
1472
+ CommandType[CommandType["ENABLE_XPTHEMES"] = 114] = "ENABLE_XPTHEMES";
1473
+ CommandType[CommandType["TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW"] = 115] = "TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW";
1474
+ CommandType[CommandType["REGISTER_DN_CTRL_VALUE_CHANGED_EVENT"] = 116] = "REGISTER_DN_CTRL_VALUE_CHANGED_EVENT";
1475
+ CommandType[CommandType["SET_TABLE_ORG_ROW_HEIGHT"] = 117] = "SET_TABLE_ORG_ROW_HEIGHT";
1476
+ CommandType[CommandType["SET_TOOLBAR"] = 118] = "SET_TOOLBAR";
1477
+ CommandType[CommandType["CREATE_ENTRY_IN_CONTROLS_MAP"] = 119] = "CREATE_ENTRY_IN_CONTROLS_MAP";
1478
+ CommandType[CommandType["REMOVE_ENTRY_FROM_CONTROLS_MAP"] = 120] = "REMOVE_ENTRY_FROM_CONTROLS_MAP";
1479
+ CommandType[CommandType["PROCESS_PRESS_EVENT"] = 121] = "PROCESS_PRESS_EVENT";
1480
+ CommandType[CommandType["SET_MARKED_ITEM_STATE"] = 122] = "SET_MARKED_ITEM_STATE";
1481
+ CommandType[CommandType["ACCEPT_DVCONTROL_CHANGES"] = 123] = "ACCEPT_DVCONTROL_CHANGES";
1482
+ CommandType[CommandType["UPDATE_DVCONTROL_ROW"] = 124] = "UPDATE_DVCONTROL_ROW";
1483
+ CommandType[CommandType["ADD_DVCONTROL_HANDLER"] = 125] = "ADD_DVCONTROL_HANDLER";
1484
+ CommandType[CommandType["REMOVE_DVCONTROL_HANDLER"] = 126] = "REMOVE_DVCONTROL_HANDLER";
1485
+ CommandType[CommandType["CREATE_ROW_IN_DVCONTROL"] = 127] = "CREATE_ROW_IN_DVCONTROL";
1486
+ CommandType[CommandType["UPDATE_DVCONTROL_COLUMN"] = 128] = "UPDATE_DVCONTROL_COLUMN";
1487
+ CommandType[CommandType["DELETE_DVCONTROL_ROW"] = 129] = "DELETE_DVCONTROL_ROW";
1488
+ CommandType[CommandType["SET_DVCONTROL_ROW_POSITION"] = 130] = "SET_DVCONTROL_ROW_POSITION";
1489
+ CommandType[CommandType["REJECT_DVCONTROL_COLUMN_CHANGES"] = 131] = "REJECT_DVCONTROL_COLUMN_CHANGES";
1490
+ CommandType[CommandType["SET_DESIGNER_VALUES"] = 132] = "SET_DESIGNER_VALUES";
1491
+ CommandType[CommandType["PROP_SET_EDIT_HINT"] = 133] = "PROP_SET_EDIT_HINT";
1492
+ CommandType[CommandType["PROP_SET_MULTI_COLUMN_DISPLAY"] = 134] = "PROP_SET_MULTI_COLUMN_DISPLAY";
1493
+ CommandType[CommandType["SET_ENV_LAMGUAGE"] = 135] = "SET_ENV_LAMGUAGE";
1494
+ CommandType[CommandType["SET_LAST_IN_CONTEXT"] = 136] = "SET_LAST_IN_CONTEXT";
1495
+ CommandType[CommandType["SET_CARET"] = 137] = "SET_CARET";
1496
+ CommandType[CommandType["SET_RECORDS_BEFORE_CURRENT_VIEW"] = 138] = "SET_RECORDS_BEFORE_CURRENT_VIEW";
1497
+ CommandType[CommandType["SET_VALUE"] = 139] = "SET_VALUE";
1498
+ CommandType[CommandType["SET_ATTRIBUTE"] = 140] = "SET_ATTRIBUTE";
1499
+ CommandType[CommandType["SET_PROPERTY"] = 141] = "SET_PROPERTY";
1500
+ CommandType[CommandType["SET_CLASS"] = 142] = "SET_CLASS";
1501
+ CommandType[CommandType["SET_STYLE"] = 143] = "SET_STYLE";
1502
+ CommandType[CommandType["REFRESH_TASK"] = 144] = "REFRESH_TASK";
1503
+ CommandType[CommandType["PROP_SET_USER_PROPERTY"] = 145] = "PROP_SET_USER_PROPERTY";
1504
+ CommandType[CommandType["PROP_SET_CUSTOM_VALIDATOR"] = 146] = "PROP_SET_CUSTOM_VALIDATOR";
1505
+ CommandType[CommandType["SET_IS_ROW_EDITING"] = 147] = "SET_IS_ROW_EDITING";
1506
+ CommandType[CommandType["SET_NOT_IS_ROW_EDITING"] = 148] = "SET_NOT_IS_ROW_EDITING";
1507
+ CommandType[CommandType["SET_EMPTY_DATAVIEW"] = 149] = "SET_EMPTY_DATAVIEW";
1508
+ CommandType[CommandType["SET_IS_LOGGED_IN"] = 150] = "SET_IS_LOGGED_IN";
1509
+ CommandType[CommandType["RELOAD_PAGE"] = 151] = "RELOAD_PAGE";
1510
+ CommandType[CommandType["EXIT_MAGIC"] = 152] = "EXIT_MAGIC";
1511
+ CommandType[CommandType["CALL_JS"] = 153] = "CALL_JS";
1512
+ CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
1513
+ CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
1514
+ CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
1511
1515
  })(CommandType || (CommandType = {}));
1512
1516
  var HtmlProperties;
1513
1517
  (function (HtmlProperties) {
@@ -1656,7 +1660,7 @@ class Commands {
1656
1660
  return __awaiter(this, void 0, void 0, function* () {
1657
1661
  let guiInteractive = new GuiInteractive();
1658
1662
  let returnValue;
1659
- yield new Promise((resolve, reject) => {
1663
+ yield new Promise((resolve) => {
1660
1664
  this.SetResolveCallback(resolve);
1661
1665
  guiInteractive.messageBox(title, msg, style);
1662
1666
  }).then((res) => { returnValue = res; });
@@ -1721,6 +1725,10 @@ class Commands {
1721
1725
  let maxRows = guiInteractive.getMaxRowsInPaginatedTable(control);
1722
1726
  return (maxRows);
1723
1727
  }
1728
+ static getLastRoute() {
1729
+ let guiInteractive = new GuiInteractive();
1730
+ return guiInteractive.getLastRoute();
1731
+ }
1724
1732
  static addBoolWithLine(commandType, obj, line, bool) {
1725
1733
  let guiCommand = new GuiCommand(obj, commandType);
1726
1734
  guiCommand.Bool1 = bool;
@@ -1830,7 +1838,6 @@ var PropInterface;
1830
1838
  PropInterface[PropInterface["PROP_TYPE_LEFT"] = 21] = "PROP_TYPE_LEFT";
1831
1839
  PropInterface[PropInterface["PROP_TYPE_TOP"] = 22] = "PROP_TYPE_TOP";
1832
1840
  PropInterface[PropInterface["PROP_TYPE_WIDTH"] = 23] = "PROP_TYPE_WIDTH";
1833
- PropInterface[PropInterface["PROP_TYPE_HEIGHT"] = 24] = "PROP_TYPE_HEIGHT";
1834
1841
  PropInterface[PropInterface["PROP_TYPE_LAYER"] = 25] = "PROP_TYPE_LAYER";
1835
1842
  PropInterface[PropInterface["PROP_TYPE_TITLE_BAR"] = 26] = "PROP_TYPE_TITLE_BAR";
1836
1843
  PropInterface[PropInterface["PROP_TYPE_SYSTEM_MENU"] = 27] = "PROP_TYPE_SYSTEM_MENU";
@@ -1951,13 +1958,11 @@ var PropInterface;
1951
1958
  PropInterface[PropInterface["PROP_TYPE_RADIO_BUTTON_APPEARANCE"] = 401] = "PROP_TYPE_RADIO_BUTTON_APPEARANCE";
1952
1959
  PropInterface[PropInterface["PROP_TYPE_DEFAULT_BUTTON"] = 408] = "PROP_TYPE_DEFAULT_BUTTON";
1953
1960
  PropInterface[PropInterface["PROP_TYPE_ROW_HIGHLIGHT_STYLE"] = 409] = "PROP_TYPE_ROW_HIGHLIGHT_STYLE";
1954
- PropInterface[PropInterface["PROP_TYPE_ROW_HIGHLIGHT_COLOR"] = 410] = "PROP_TYPE_ROW_HIGHLIGHT_COLOR";
1955
1961
  PropInterface[PropInterface["PROP_TYPE_BOTTOM_POSITION_INTERVAL"] = 411] = "PROP_TYPE_BOTTOM_POSITION_INTERVAL";
1956
1962
  PropInterface[PropInterface["PROP_TYPE_MINIMUM_WIDTH"] = 418] = "PROP_TYPE_MINIMUM_WIDTH";
1957
1963
  PropInterface[PropInterface["PROP_TYPE_MINIMUM_HEIGHT"] = 419] = "PROP_TYPE_MINIMUM_HEIGHT";
1958
1964
  PropInterface[PropInterface["PROP_TYPE_SHOW_IN_WINDOW_MENU"] = 422] = "PROP_TYPE_SHOW_IN_WINDOW_MENU";
1959
1965
  PropInterface[PropInterface["PROP_TYPE_SET_COLOR_BY"] = 428] = "PROP_TYPE_SET_COLOR_BY";
1960
- PropInterface[PropInterface["PROP_TYPE_ALTERNATING_BG_COLOR"] = 429] = "PROP_TYPE_ALTERNATING_BG_COLOR";
1961
1966
  PropInterface[PropInterface["PROP_TYPE_ALLOW_REORDER"] = 430] = "PROP_TYPE_ALLOW_REORDER";
1962
1967
  PropInterface[PropInterface["PROP_TYPE_PARK_ON_CLICK"] = 433] = "PROP_TYPE_PARK_ON_CLICK";
1963
1968
  PropInterface[PropInterface["PROP_TYPE_TASK_ID"] = 440] = "PROP_TYPE_TASK_ID";
@@ -2066,6 +2071,7 @@ var PropInterface;
2066
2071
  PropInterface[PropInterface["PROP_TYPE_CUSTOM_VALIDATORS"] = 732] = "PROP_TYPE_CUSTOM_VALIDATORS";
2067
2072
  PropInterface[PropInterface["PROP_TYPE_BINDING_LEVEL"] = 733] = "PROP_TYPE_BINDING_LEVEL";
2068
2073
  PropInterface[PropInterface["PROP_TYPE_SERVER_READ_AHEAD"] = 736] = "PROP_TYPE_SERVER_READ_AHEAD";
2074
+ PropInterface[PropInterface["PROP_TYPE_AUTO_COMPLETE_MODE_WC"] = 740] = "PROP_TYPE_AUTO_COMPLETE_MODE_WC";
2069
2075
  })(PropInterface || (PropInterface = {}));
2070
2076
 
2071
2077
  class GuiEnvironment {
@@ -2082,13 +2088,13 @@ class Manager {
2082
2088
  static GetDelayWait() {
2083
2089
  return Manager._delayWait;
2084
2090
  }
2085
- static CanFocus(guiMgControl) {
2091
+ static CanFocus() {
2086
2092
  return false;
2087
2093
  }
2088
2094
  static Init(startupImageFileName) {
2089
2095
  return;
2090
2096
  }
2091
- static Abort(form, mainPrgTask) {
2097
+ static Abort(form) {
2092
2098
  if (form.getSubFormCtrl() === null && form.Opened) {
2093
2099
  if (form.isDialog()) {
2094
2100
  this.IsOverlayOpen = false;
@@ -2146,12 +2152,12 @@ class Manager {
2146
2152
  static ClearStatusBar(task) {
2147
2153
  let currentParkedControl = task.getLastParkedCtrl();
2148
2154
  if (currentParkedControl !== null && !NString.IsNullOrEmpty(currentParkedControl.PromptHelp))
2149
- task.WriteToMessagePane(currentParkedControl.PromptHelp, false);
2155
+ task.WriteToMessagePane(currentParkedControl.PromptHelp);
2150
2156
  else
2151
2157
  Manager.CleanMessagePane(task);
2152
2158
  }
2153
2159
  static CleanMessagePane(task) {
2154
- task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg, false);
2160
+ task.WriteToMessagePane(Manager.GetCurrentRuntimeContext().DefaultStatusMsg);
2155
2161
  }
2156
2162
  static GetMessage(msg) {
2157
2163
  if (msg === null)
@@ -2250,7 +2256,7 @@ class ContextIDGuard {
2250
2256
  }
2251
2257
  }
2252
2258
  SaveFilename() {
2253
- let stackFrame = new StackFrame(1, true);
2259
+ let stackFrame = new StackFrame(1);
2254
2260
  this._fileName = stackFrame.GetFileName();
2255
2261
  }
2256
2262
  Dispose() {
@@ -3007,6 +3013,8 @@ class PIC {
3007
3013
  picStr += this.getWholes().toString();
3008
3014
  if (this.getDec() > 0)
3009
3015
  picStr += '.' + this.getDec().toString();
3016
+ if (this._zeroFill)
3017
+ picStr += 'Z';
3010
3018
  let newPic = new PIC(picStr, StorageAttribute.NUMERIC, 0);
3011
3019
  return newPic;
3012
3020
  }
@@ -6024,7 +6032,7 @@ class DisplayConvertor {
6024
6032
  case StorageAttribute.TIME: {
6025
6033
  if (useNative) {
6026
6034
  let dt;
6027
- dt = this.fromMgTimeToNativeTime(mgValue, pic, time_date_num_pic_Z_edt);
6035
+ dt = this.fromMgTimeToNativeTime(mgValue, pic);
6028
6036
  return dt;
6029
6037
  }
6030
6038
  else {
@@ -6046,7 +6054,7 @@ class DisplayConvertor {
6046
6054
  }
6047
6055
  return str;
6048
6056
  }
6049
- disp2mg(dispValue, rangeStr, pic, compIdx, blobContentType) {
6057
+ disp2mg(dispValue, pic, compIdx, blobContentType) {
6050
6058
  let str = "";
6051
6059
  switch (pic.getAttr()) {
6052
6060
  case StorageAttribute.ALPHA:
@@ -6083,7 +6091,7 @@ class DisplayConvertor {
6083
6091
  dt = new Date(dispValue);
6084
6092
  else
6085
6093
  dt = dispValue;
6086
- str = this.fromNativeDateToMgDate(dt, pic, compIdx);
6094
+ str = this.fromNativeDateToMgDate(dt, pic);
6087
6095
  }
6088
6096
  break;
6089
6097
  case StorageAttribute.TIME:
@@ -6100,7 +6108,7 @@ class DisplayConvertor {
6100
6108
  }
6101
6109
  else
6102
6110
  dt = dispValue;
6103
- str = this.fromNativeTimeToMgTime(dt, pic);
6111
+ str = this.fromNativeTimeToMgTime(dt);
6104
6112
  }
6105
6113
  break;
6106
6114
  case StorageAttribute.BOOLEAN:
@@ -6274,7 +6282,7 @@ class DisplayConvertor {
6274
6282
  let nativeDt = new Date(breakParams.year, breakParams.month, breakParams.day);
6275
6283
  return nativeDt;
6276
6284
  }
6277
- fromNativeDateToMgDateNumber(nativeDate, pic, compIdx) {
6285
+ fromNativeDateToMgDateNumber(nativeDate, pic) {
6278
6286
  let mgNum = new NUM_TYPE();
6279
6287
  let numVal;
6280
6288
  let dateParams;
@@ -6299,9 +6307,9 @@ class DisplayConvertor {
6299
6307
  }
6300
6308
  return numVal;
6301
6309
  }
6302
- fromNativeDateToMgDate(nativeDate, pic, compIdx) {
6310
+ fromNativeDateToMgDate(nativeDate, pic) {
6303
6311
  let mgNum = new NUM_TYPE();
6304
- let numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic, compIdx);
6312
+ let numVal = nativeDate == null ? 0 : this.fromNativeDateToMgDateNumber(nativeDate, pic);
6305
6313
  mgNum.NUM_4_LONG(numVal);
6306
6314
  return mgNum.toXMLrecord();
6307
6315
  }
@@ -6694,7 +6702,7 @@ class DisplayConvertor {
6694
6702
  outVal[outIdx] = ext[1];
6695
6703
  return (ret);
6696
6704
  }
6697
- fromMgTimeToNativeTime(dataStr, pic, time_date_pic_Z_edt) {
6705
+ fromMgTimeToNativeTime(dataStr, pic) {
6698
6706
  let mask = pic.getMask();
6699
6707
  let maskSize = pic.getMaskSize();
6700
6708
  let time = new NUM_TYPE(dataStr).NUM_2_ULONG();
@@ -7246,13 +7254,13 @@ class DisplayConvertor {
7246
7254
  }
7247
7255
  return num * 146097 + num2 * 36524 + num3 * 1461 + year * 365 + doy;
7248
7256
  }
7249
- fromNativeTimeToMgTime(dispValue, pic) {
7257
+ fromNativeTimeToMgTime(dispValue) {
7250
7258
  let mgNum = new NUM_TYPE();
7251
- let numVal = this.fromNativeTimeToMgTimeNumber(dispValue, pic);
7259
+ let numVal = this.fromNativeTimeToMgTimeNumber(dispValue);
7252
7260
  mgNum.NUM_4_LONG(numVal);
7253
7261
  return mgNum.toXMLrecord();
7254
7262
  }
7255
- fromNativeTimeToMgTimeNumber(dispValue, pic) {
7263
+ fromNativeTimeToMgTimeNumber(dispValue) {
7256
7264
  let numVal = this.time_2_int(dispValue.getHours(), dispValue.getMinutes(), dispValue.getSeconds());
7257
7265
  return numVal;
7258
7266
  }
@@ -7754,91 +7762,6 @@ class RecordUtils {
7754
7762
  return RecordUtils.byteStreamToString(new StringBuilder(stream));
7755
7763
  }
7756
7764
  static serializeItemVal(itemVal, itemAttr, cellAttr, toBase64) {
7757
- if (arguments.length === 2)
7758
- return RecordUtils.serializeItemVal_0(itemVal, itemAttr);
7759
- else
7760
- return RecordUtils.serializeItemVal_1(itemVal, itemAttr, cellAttr, toBase64);
7761
- }
7762
- static serializeItemVal_0(itemVal, itemAttr) {
7763
- Debug.Assert(itemVal !== null);
7764
- let valueSize;
7765
- let tmpBufLen = NString.Empty;
7766
- let tmpBuf = null;
7767
- let contentWithLength = null;
7768
- let pos = 0;
7769
- let fldValLen = 0;
7770
- let tempItemVal = NString.Empty;
7771
- let noOfPackets = 0;
7772
- let tmpNoOfPackets = null;
7773
- let tmpStrNoOfPackets = NString.Empty;
7774
- switch (itemAttr) {
7775
- case StorageAttribute.NUMERIC:
7776
- case StorageAttribute.DATE:
7777
- case StorageAttribute.TIME:
7778
- let numType = new NUM_TYPE(itemVal);
7779
- tmpBuf = Misc.ToByteArray(numType.Data);
7780
- break;
7781
- case StorageAttribute.BOOLEAN:
7782
- tmpBuf = GuiEnvironment.Environment.GetEncoding().GetBytes(itemVal);
7783
- break;
7784
- case StorageAttribute.ALPHA:
7785
- itemVal = StrUtil.rtrim(itemVal);
7786
- valueSize = UtilStrByteMode.lenB(itemVal).toString(16).toUpperCase();
7787
- for (let j = 0; j < 4 - valueSize.length; j++)
7788
- tmpBufLen += "0";
7789
- tmpBufLen += valueSize;
7790
- tmpBuf = new Uint8Array(GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length + GuiEnvironment.Environment.GetEncoding().GetBytes(itemVal).length);
7791
- tmpBuf.set(GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen), 0);
7792
- tmpBuf.set(GuiEnvironment.Environment.GetEncoding().GetBytes(itemVal), GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length);
7793
- break;
7794
- case StorageAttribute.UNICODE:
7795
- itemVal = StrUtil.rtrim(itemVal);
7796
- valueSize = (itemVal.length.toString(16)).toUpperCase();
7797
- for (let j = 0; j < 4 - valueSize.length; j++)
7798
- tmpBufLen += "0";
7799
- tmpBufLen += valueSize;
7800
- tmpBuf = new Uint8Array(GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length + GuiEnvironment.Environment.GetEncoding().GetBytes(itemVal).length);
7801
- tmpBuf.set(GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen), 0);
7802
- tmpBuf.set(GuiEnvironment.Environment.GetEncoding().GetBytes(itemVal), GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length);
7803
- break;
7804
- case StorageAttribute.BLOB:
7805
- pos = 0;
7806
- fldValLen = ISO_8859_1_Encoding.ISO_8859_1.GetByteCount(itemVal);
7807
- noOfPackets = Math.floor(fldValLen / 0xFFFF);
7808
- tmpBufLen = "FFFF";
7809
- tmpNoOfPackets = GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen);
7810
- for (let i = 0; i < noOfPackets; i++) {
7811
- tempItemVal = itemVal.substr(pos, 0xFFFF);
7812
- pos += 0xFFFF;
7813
- let tempItemValBytes = ISO_8859_1_Encoding.ISO_8859_1.GetBytes(tempItemVal);
7814
- contentWithLength = new Uint8Array(tmpNoOfPackets.length + tempItemValBytes.length);
7815
- contentWithLength.set(tmpNoOfPackets);
7816
- contentWithLength.set(tempItemValBytes, tmpNoOfPackets.length);
7817
- }
7818
- let lastPacketSize = fldValLen % 0xFFFF;
7819
- if (lastPacketSize > 0) {
7820
- tempItemVal = itemVal.substr(pos, (fldValLen) - (pos));
7821
- let tempItemValBytes = ISO_8859_1_Encoding.ISO_8859_1.GetBytes(tempItemVal);
7822
- tmpBufLen = NString.Format(String.fromCharCode(tempItemValBytes.length), "X4");
7823
- let tempContentWithLength = new Uint8Array(contentWithLength.length +
7824
- GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length +
7825
- ISO_8859_1_Encoding.ISO_8859_1.GetBytes(tempItemVal).length);
7826
- tempContentWithLength.set(contentWithLength);
7827
- tempContentWithLength.set(GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen), contentWithLength.length);
7828
- tempContentWithLength.set(ISO_8859_1_Encoding.ISO_8859_1.GetBytes(tempItemVal), contentWithLength.length + GuiEnvironment.Environment.GetEncoding().GetBytes(tmpBufLen).length);
7829
- contentWithLength = tempContentWithLength;
7830
- noOfPackets++;
7831
- }
7832
- tmpStrNoOfPackets = NString.Format(String.fromCharCode(noOfPackets), "D4");
7833
- tmpNoOfPackets = GuiEnvironment.Environment.GetEncoding().GetBytes(tmpStrNoOfPackets);
7834
- tmpBuf = new Uint8Array(contentWithLength.length + tmpNoOfPackets.length);
7835
- tmpBuf.set(tmpNoOfPackets);
7836
- tmpBuf.set(contentWithLength, tmpNoOfPackets.length);
7837
- break;
7838
- }
7839
- return tmpBuf;
7840
- }
7841
- static serializeItemVal_1(itemVal, itemAttr, cellAttr, toBase64) {
7842
7765
  Debug.Assert(itemVal != null);
7843
7766
  let significantNumSize = GuiEnvironment.Environment.GetSignificantNumSize() * 2;
7844
7767
  let valueSize;
@@ -9227,6 +9150,13 @@ class TaskDefinitionId {
9227
9150
  this.HashCodeString()
9228
9151
  ]);
9229
9152
  }
9153
+ fromJSON(jsonStr) {
9154
+ let obj = JSON.parse(jsonStr);
9155
+ this.CtlIndex = obj.CtlIndex;
9156
+ this.ProgramIsn = obj.ProgramIsn;
9157
+ this.TaskIsn = obj.TaskIsn;
9158
+ this.IsProgram = obj.IsProgram;
9159
+ }
9230
9160
  }
9231
9161
 
9232
9162
  class TaskDefinitionIdTableSaxHandler {
@@ -9267,12 +9197,42 @@ class TaskDefinitionIdTableSaxHandler {
9267
9197
  }
9268
9198
 
9269
9199
  class GuiControlPropertyAdapter extends GuiMgControl {
9200
+ updatePropertyLogicNesting(propId, commandType, val, updateThis) {
9201
+ return __awaiter(this, void 0, void 0, function* () {
9202
+ return Promise.resolve();
9203
+ });
9204
+ }
9205
+ refreshAndSetItemsList(line, execComputeChoice) {
9206
+ return __awaiter(this, void 0, void 0, function* () {
9207
+ return Promise.resolve();
9208
+ });
9209
+ }
9210
+ refreshTabForLayerList(line) {
9211
+ return __awaiter(this, void 0, void 0, function* () {
9212
+ return Promise.resolve();
9213
+ });
9214
+ }
9215
+ ComputeAndRefreshDisplayValue(forceRefresh) {
9216
+ return __awaiter(this, void 0, void 0, function* () {
9217
+ return Promise.resolve();
9218
+ });
9219
+ }
9220
+ refreshDispRange(execComputeChoice) {
9221
+ return __awaiter(this, void 0, void 0, function* () {
9222
+ return Promise.resolve([]);
9223
+ });
9224
+ }
9225
+ isParkable(checkEnabledAndVisible) {
9226
+ return __awaiter(this, void 0, void 0, function* () {
9227
+ return Promise.resolve(true);
9228
+ });
9229
+ }
9270
9230
  }
9271
9231
 
9272
9232
  class PropDefaults {
9273
9233
  static getNumericMgValue(propParent, Value) {
9274
9234
  let pic = new PIC("3", StorageAttribute.NUMERIC, propParent.getCompIdx());
9275
- return DisplayConvertor.Instance.disp2mg(Value, "", pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9235
+ return DisplayConvertor.Instance.disp2mg(Value, pic, propParent.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
9276
9236
  }
9277
9237
  static getDefaultValueForTask(propId, handled) {
9278
9238
  let val = null;
@@ -9356,6 +9316,7 @@ class PropDefaults {
9356
9316
  case PropInterface.PROP_TYPE_BEFORE_900_VERSION:
9357
9317
  case PropInterface.PROP_TYPE_FILL_WIDTH:
9358
9318
  case PropInterface.PROP_TYPE_MULTI_COLUMN_DISPLAY:
9319
+ case PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
9359
9320
  val = "0";
9360
9321
  break;
9361
9322
  case PropInterface.PROP_TYPE_SYSTEM_MENU:
@@ -9400,9 +9361,7 @@ class PropDefaults {
9400
9361
  case PropInterface.PROP_TYPE_LOAD_IMAGE_FROM:
9401
9362
  case PropInterface.PROP_TYPE_FORM_NAME:
9402
9363
  case PropInterface.PROP_TYPE_COLUMN_TITLE:
9403
- case PropInterface.PROP_TYPE_HEIGHT:
9404
9364
  case PropInterface.PROP_TYPE_WIDTH:
9405
- case PropInterface.PROP_TYPE_ROW_HIGHLIGHT_COLOR:
9406
9365
  case PropInterface.PROP_TYPE_PRGTSK_NUM:
9407
9366
  break;
9408
9367
  case PropInterface.PROP_TYPE_MULTILINE_WORDWRAP_SCROLL:
@@ -9463,7 +9422,6 @@ class PropDefaults {
9463
9422
  }
9464
9423
  }
9465
9424
  break;
9466
- case PropInterface.PROP_TYPE_DEFAULT_BUTTON:
9467
9425
  case PropInterface.PROP_TYPE_IMAGE_LIST_INDEXES:
9468
9426
  case PropInterface.PROP_TYPE_WALLPAPER:
9469
9427
  case PropInterface.PROP_TYPE_TEXT:
@@ -9484,7 +9442,7 @@ class PropDefaults {
9484
9442
  val = this.getNumericMgValue(propParent, "0");
9485
9443
  break;
9486
9444
  default:
9487
- Debug.Assert(false, "Undefined default value", NString.Format("No default value was defined for property {0} ({1}).", PropDefaults.GetPropertyName(propId), propId));
9445
+ Debug.Assert(false, "Undefined default value");
9488
9446
  break;
9489
9447
  }
9490
9448
  return val;
@@ -9792,9 +9750,9 @@ class Property {
9792
9750
  case PropInterface.PROP_TYPE_IS_ROUTER_OUTLET:
9793
9751
  case PropInterface.PROP_TYPE_DEFAULT_OUTLET:
9794
9752
  case PropInterface.PROP_TYPE_SERVER_READ_AHEAD:
9753
+ case PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
9795
9754
  this._dataType = StorageAttribute.BOOLEAN;
9796
9755
  break;
9797
- case PropInterface.PROP_TYPE_DEFAULT_BUTTON:
9798
9756
  case PropInterface.PROP_TYPE_IMAGE_FILENAME:
9799
9757
  case PropInterface.PROP_TYPE_EVAL_END_CONDITION:
9800
9758
  case PropInterface.PROP_TYPE_FRAME_NAME:
@@ -9852,7 +9810,6 @@ class Property {
9852
9810
  case PropInterface.PROP_TYPE_FONT:
9853
9811
  case PropInterface.PROP_TYPE_LAYER:
9854
9812
  case PropInterface.PROP_TYPE_WIDTH:
9855
- case PropInterface.PROP_TYPE_HEIGHT:
9856
9813
  case PropInterface.PROP_TYPE_TITLE_HEIGHT:
9857
9814
  case PropInterface.PROP_TYPE_COLOR:
9858
9815
  case PropInterface.PROP_TYPE_LEFT:
@@ -10102,7 +10059,6 @@ class Property {
10102
10059
  if (!skip && mgFormBase.isSubForm()) {
10103
10060
  skip = true;
10104
10061
  switch (this._id) {
10105
- case PropInterface.PROP_TYPE_DEFAULT_BUTTON:
10106
10062
  case PropInterface.PROP_TYPE_CUSTOM_PROPERTIES:
10107
10063
  case PropInterface.PROP_TYPE_CUSTOM_VALIDATORS:
10108
10064
  skip = false;
@@ -10298,7 +10254,7 @@ class Property {
10298
10254
  this.onHint();
10299
10255
  break;
10300
10256
  case PropInterface.PROP_TYPE_MODIFIABLE:
10301
- yield this.onModifiable(valChanged);
10257
+ yield this.onModifiable();
10302
10258
  break;
10303
10259
  case PropInterface.PROP_TYPE_TOOLTIP:
10304
10260
  this.onTooltip();
@@ -10306,6 +10262,9 @@ class Property {
10306
10262
  case PropInterface.PROP_TYPE_DISPLAY_LIST:
10307
10263
  yield this.onDisplayList(line);
10308
10264
  break;
10265
+ case PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
10266
+ this.onAutoCompleteMode();
10267
+ break;
10309
10268
  case PropInterface.PROP_TYPE_VISIBLE_LAYERS_LIST:
10310
10269
  yield this.onVisibleLayerList(line);
10311
10270
  break;
@@ -10315,9 +10274,6 @@ class Property {
10315
10274
  case PropInterface.PROP_TYPE_LABEL:
10316
10275
  yield this.onLabel(line);
10317
10276
  break;
10318
- case PropInterface.PROP_TYPE_DEFAULT_BUTTON:
10319
- this.onDefaultButton();
10320
- break;
10321
10277
  case PropInterface.PROP_TYPE_PASSWORD:
10322
10278
  this.onPassword();
10323
10279
  break;
@@ -10384,9 +10340,11 @@ class Property {
10384
10340
  this.setValue(result);
10385
10341
  }
10386
10342
  if (this._id === PropInterface.PROP_TYPE_CUSTOM_VALIDATORS) {
10387
- yield this.computeCustomValidators();
10388
- result = this.GetArrayValuesForCustomValidationProperties();
10389
- this.setValue(result);
10343
+ let evaluated = yield this.computeCustomValidators();
10344
+ if (evaluated) {
10345
+ result = this.GetArrayValuesForCustomValidationProperties();
10346
+ this.setValue(result);
10347
+ }
10390
10348
  }
10391
10349
  else if (this._expId > 0) {
10392
10350
  if (this.ShouldBeComputedOnce() && this._expAlreadyComputedOnce)
@@ -10592,7 +10550,7 @@ class Property {
10592
10550
  onText(line) {
10593
10551
  this.addCommandTypeText(line);
10594
10552
  }
10595
- onModifiable(valChanged) {
10553
+ onModifiable() {
10596
10554
  return __awaiter(this, void 0, void 0, function* () {
10597
10555
  if (this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
10598
10556
  let ctrl = this._parentObj;
@@ -10635,7 +10593,7 @@ class Property {
10635
10593
  return __awaiter(this, void 0, void 0, function* () {
10636
10594
  if (this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
10637
10595
  let ctrl = this._parentObj;
10638
- if (ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio()) {
10596
+ if (ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio() || ctrl.HasAutocomplete()) {
10639
10597
  let line = (currLine === Int32.MinValue) ? ctrl.getDisplayLine(false) : currLine;
10640
10598
  yield ctrl.refreshAndSetItemsList(line, true);
10641
10599
  }
@@ -10700,6 +10658,8 @@ class Property {
10700
10658
  if (this._expId > 0)
10701
10659
  yield ctrl.ComputeAndRefreshDisplayValue(false);
10702
10660
  }
10661
+ else if (ctrl.HasAutocomplete())
10662
+ yield ctrl.refreshAndSetItemsList(line, true);
10703
10663
  else
10704
10664
  throw new ApplicationException("Property.onLabel(), not support control");
10705
10665
  }
@@ -10707,15 +10667,6 @@ class Property {
10707
10667
  throw new ApplicationException("in Property.onLabel()");
10708
10668
  });
10709
10669
  }
10710
- onDefaultButton() {
10711
- if (this._parentType === GuiConstants.PARENT_TYPE_FORM || this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
10712
- let form = this._parentObj.getForm();
10713
- let defaultButton = form.getCtrlByName(this.GetComputedValue(), MgControlType.CTRL_TYPE_BUTTON);
10714
- let line = (defaultButton === null) ? 0 : defaultButton.getDisplayLine(false);
10715
- }
10716
- else
10717
- throw new ApplicationException("in Property.onDefaultButton()");
10718
- }
10719
10670
  getObjectByParentObj() {
10720
10671
  let result = this._parentObj;
10721
10672
  if (this._parentType === GuiConstants.PARENT_TYPE_FORM) {
@@ -10725,7 +10676,7 @@ class Property {
10725
10676
  }
10726
10677
  return result;
10727
10678
  }
10728
- static isRepeatableInTable(propId) {
10679
+ static isRepeatableInTable() {
10729
10680
  return false;
10730
10681
  }
10731
10682
  getLine() {
@@ -10759,7 +10710,7 @@ class Property {
10759
10710
  let mgControlBase = this._parentObj;
10760
10711
  if (mgControlBase.IsRepeatable)
10761
10712
  size = mgControlBase.getForm().getTableItemsCount();
10762
- else if (mgControlBase.isTableControl() && Property.isRepeatableInTable(this._id))
10713
+ else if (mgControlBase.isTableControl() && Property.isRepeatableInTable())
10763
10714
  size = mgControlBase.getForm().getTableItemsCount();
10764
10715
  }
10765
10716
  this._prevValues.SetSize(size);
@@ -10785,7 +10736,8 @@ class Property {
10785
10736
  computeCustomValidators() {
10786
10737
  return __awaiter(this, void 0, void 0, function* () {
10787
10738
  let mgControl = this._parentObj;
10788
- if (mgControl.ModifiedByUser || this.GetTaskByParentObject().IsInRecompute()) {
10739
+ let evaluated = true;
10740
+ if (mgControl.ModifiedByUser || mgControl.ValidateControl || this.GetTaskByParentObject().IsInRecompute()) {
10789
10741
  for (let [customPropertyKey, customValidatorProperty] of this.customValidatorProperties) {
10790
10742
  let len = 255;
10791
10743
  let wasEvaluated = new RefParam(false);
@@ -10800,9 +10752,17 @@ class Property {
10800
10752
  else
10801
10753
  errString = customValidatorProperty._errorMessage;
10802
10754
  }
10755
+ evaluated = true;
10803
10756
  this.customValidatorValues.set(customPropertyKey, new CustomValidator(!InValid, errString));
10804
10757
  }
10805
10758
  }
10759
+ else {
10760
+ if (mgControl.isRepeatable()) {
10761
+ this.customValidatorValues.clear();
10762
+ evaluated = false;
10763
+ }
10764
+ }
10765
+ return evaluated;
10806
10766
  });
10807
10767
  }
10808
10768
  onCustomProperties() {
@@ -10821,6 +10781,8 @@ class Property {
10821
10781
  else
10822
10782
  throw new ApplicationException("in Property.BindingLevel()");
10823
10783
  }
10784
+ onAutoCompleteMode() {
10785
+ }
10824
10786
  GetRetrunValueForCustomPropertyExpression(expression) {
10825
10787
  return __awaiter(this, void 0, void 0, function* () {
10826
10788
  let len = 255;
@@ -10881,9 +10843,9 @@ class Property {
10881
10843
  prop = new Property(propId, propParent, parentType, mgVal);
10882
10844
  return prop;
10883
10845
  }
10884
- InsertPrevValueArray(idx, count) {
10846
+ InsertPrevValueArray(count) {
10885
10847
  if (!this.ShouldSkipRefresh())
10886
- this._prevValues.InsertRange(idx, new Array(count));
10848
+ this._prevValues.InsertRange(new Array(count));
10887
10849
  }
10888
10850
  }
10889
10851
  Property._numericPropertyPic = null;
@@ -11057,7 +11019,7 @@ class PropTable {
11057
11019
  for (i = 0; i < this.getSize(); i++) {
11058
11020
  prop = this.getProp(i);
11059
11021
  try {
11060
- if (onlyRepeatableProps && !Property.isRepeatableInTable(prop.getID()))
11022
+ if (onlyRepeatableProps && !Property.isRepeatableInTable())
11061
11023
  continue;
11062
11024
  if (prop.getID() === PropInterface.PROP_TYPE_VISIBLE)
11063
11025
  visibleProps.push(prop);
@@ -11106,10 +11068,10 @@ class PropTable {
11106
11068
  getCtrlRef() {
11107
11069
  return ((this._parent instanceof GuiControlPropertyAdapter) ? this._parent : null);
11108
11070
  }
11109
- InsertPrevValueArray(idx, count) {
11071
+ InsertPrevValueArray(count) {
11110
11072
  for (let i = 0; i < this._props.length; i++) {
11111
11073
  let prop = this._props[i];
11112
- prop.InsertPrevValueArray(idx, count);
11074
+ prop.InsertPrevValueArray(count);
11113
11075
  }
11114
11076
  }
11115
11077
  }
@@ -11510,14 +11472,14 @@ class FieldValidator {
11510
11472
  if (this._valDet.getIsNegative() && (this._newvalue.trim().startsWith("-") || (this._valDet.getNegativeSignPref().length !== 0 && this._newvalue.trim().startsWith(this._valDet.getNegativeSignPref())))) {
11511
11473
  evaluated = "-" + evaluated;
11512
11474
  }
11513
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11475
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11514
11476
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
11515
11477
  let tempDispVal = StrUtil.ltrim(evaluated);
11516
11478
  if (tempDispVal.length === 0 && this._valDet.getPIC().zeroFill() && this._valDet.getPIC().getZeroPad() === ' ')
11517
11479
  evaluated = "0";
11518
11480
  }
11519
11481
  else {
11520
- evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, "", this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11482
+ evaluated = DisplayConvertor.Instance.disp2mg(this._newvalue, this._valDet.getPIC(), this._valDet.getControl().getForm().getTask().getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
11521
11483
  evaluated = DisplayConvertor.Instance.mg2disp(evaluated, "", this._valDet.getPIC(), true, this._valDet.getControl().getForm().getTask().getCompIdx(), true);
11522
11484
  }
11523
11485
  if (this._valDet.getContinuousRangeValues() != null || this._valDet.getDiscreteRangeValues() != null) {
@@ -12049,7 +12011,7 @@ class FieldValidator {
12049
12011
  let i;
12050
12012
  let downDate;
12051
12013
  let topDate;
12052
- let currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic, this._valDet.getControl().getForm().getTask().getCompIdx());
12014
+ let currDate = DisplayConvertor.Instance.fromNativeDateToMgDateNumber(buffer, pic);
12053
12015
  this.setValidationFailed(false);
12054
12016
  if (ContinuousRange != null) {
12055
12017
  for (i = 0; i < ContinuousRange.length - 1; i++) {
@@ -12488,7 +12450,7 @@ class FieldValidator {
12488
12450
  }
12489
12451
  fillTimeByRange(ContinuousRange, DiscreteRange, buffer) {
12490
12452
  let pic = this._valDet.getPIC();
12491
- let currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer, pic);
12453
+ let currTime = DisplayConvertor.Instance.fromNativeTimeToMgTimeNumber(buffer);
12492
12454
  let downTime, topTime;
12493
12455
  let i;
12494
12456
  this.setValidationFailed(false);
@@ -12528,7 +12490,7 @@ class FieldValidator {
12528
12490
  ctrlType = this._valDet.getControl().Type;
12529
12491
  if (ctrlType !== MgControlType.CTRL_TYPE_BUTTON && ctrlType !== MgControlType.CTRL_TYPE_RADIO && !this._valDet.getControl().isSelectionCtrl()) {
12530
12492
  let msgString = message.ToString();
12531
- this._valDet.getControl().getForm().getTask().WriteToMessagePane(StrUtil.makePrintable2(msgString), true);
12493
+ this._valDet.getControl().getForm().getTask().WriteToMessagePane(StrUtil.makePrintable2(msgString));
12532
12494
  this._valDet.getControl().getForm().ErrorOccured = !NString.IsNullOrEmpty(msgString);
12533
12495
  this._valDet.ErrorMessage = message.ToString();
12534
12496
  }
@@ -12883,7 +12845,7 @@ class ValidationDetails extends ValidationDetailsBase {
12883
12845
  const EMPTY_DCREF = -2;
12884
12846
  const NOT_FOUND = GuiConstants.DEFAULT_VALUE_INT;
12885
12847
  class DcValues {
12886
- constructor(empty, isVector) {
12848
+ constructor(empty) {
12887
12849
  this._id = 0;
12888
12850
  this._type = StorageAttribute.NONE;
12889
12851
  this._refCount = 0;
@@ -13165,8 +13127,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
13165
13127
  this._ditIdx = 0;
13166
13128
  this._linkedControls = null;
13167
13129
  this._field = null;
13168
- this._nodeIdField = null;
13169
- this._nodeParentIdField = null;
13170
13130
  this._picStr = null;
13171
13131
  this._choiceDisps = null;
13172
13132
  this._choiceLayerList = null;
@@ -13209,6 +13169,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13209
13169
  this.forceRefresh = false;
13210
13170
  this.RefreshOnVisible = false;
13211
13171
  this.InControl = false;
13172
+ this.ValidateControl = false;
13212
13173
  this.PromptHelp = null;
13213
13174
  if (arguments.length === 0) {
13214
13175
  this.constructor_0();
@@ -13315,23 +13276,23 @@ class MgControlBase extends GuiControlPropertyAdapter {
13315
13276
  }
13316
13277
  }
13317
13278
  }
13318
- SetFocus(ctrl, line, refreshPrompt, activateForm) {
13279
+ SetFocus(ctrl, line, activateForm) {
13319
13280
  return __awaiter(this, void 0, void 0, function* () {
13320
13281
  yield FocusManager.SetFocus(ctrl.getForm().getTask(), ctrl, line, activateForm);
13321
13282
  });
13322
13283
  }
13323
13284
  InsertArrays(idx, count) {
13324
- this._prevValues.InsertRange(idx, new Array(count));
13325
- this._prevIsNulls.InsertRange(idx, new Array(count));
13326
- this._currReadOnly.InsertRange(idx, new Array(count));
13327
- this._choiceDisps.InsertRange(idx, new Array(count));
13328
- this._orgChoiceDisps.InsertRange(idx, new Array(count));
13329
- this._choiceLinks.InsertRange(idx, new Array(count));
13330
- this._choiceLayerList.InsertRange(idx, new Array(count));
13331
- this._choiceNums.InsertRange(idx, new Array(count));
13285
+ this._prevValues.InsertRange(new Array(count));
13286
+ this._prevIsNulls.InsertRange(new Array(count));
13287
+ this._currReadOnly.InsertRange(new Array(count));
13288
+ this._choiceDisps.InsertRange(new Array(count));
13289
+ this._orgChoiceDisps.InsertRange(new Array(count));
13290
+ this._choiceLinks.InsertRange(new Array(count));
13291
+ this._choiceLayerList.InsertRange(new Array(count));
13292
+ this._choiceNums.InsertRange(new Array(count));
13332
13293
  if (this.SupportsDataSource())
13333
- this._dcTableRefs.InsertRange(idx, new Array(count));
13334
- this._propTab.InsertPrevValueArray(idx, count);
13294
+ this._dcTableRefs.InsertRange(new Array(count));
13295
+ this._propTab.InsertPrevValueArray(count);
13335
13296
  }
13336
13297
  updateArrays(newSize) {
13337
13298
  this._prevValues.SetSize(newSize);
@@ -13725,7 +13686,12 @@ class MgControlBase extends GuiControlPropertyAdapter {
13725
13686
  return this._pic.getAttr() === StorageAttribute.DATE || this._pic.getAttr() === StorageAttribute.TIME;
13726
13687
  }
13727
13688
  SupportsDataSource() {
13728
- return super.isSelectionCtrl() || super.isTabControl() || super.isRadio();
13689
+ return super.isSelectionCtrl() || super.isTabControl() || super.isRadio() || this.HasAutocomplete();
13690
+ }
13691
+ HasAutocomplete() {
13692
+ if (super.isTextControl())
13693
+ return this.getProp(PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC).GetComputedValueBoolean();
13694
+ return false;
13729
13695
  }
13730
13696
  getIndexOfChoice(mgVal, line, isNull) {
13731
13697
  return __awaiter(this, void 0, void 0, function* () {
@@ -13884,7 +13850,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13884
13850
  case StorageAttribute.TIME:
13885
13851
  let picture = PIC.buildPicture(dataType, token, task.getCompIdx(), false);
13886
13852
  optionsValid = this.optionIsValid(token);
13887
- choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), choiceLinkStr, picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
13853
+ choiceLink[i] = DisplayConvertor.Instance.disp2mg(token.trim(), picture, task.getCompIdx(), BlobType.CONTENT_TYPE_UNKNOWN);
13888
13854
  ((this._choiceNums.get_Item(line)))[i] = new NUM_TYPE(choiceLink[i]);
13889
13855
  break;
13890
13856
  case StorageAttribute.BOOLEAN:
@@ -13954,7 +13920,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
13954
13920
  }
13955
13921
  else {
13956
13922
  let blobContentType = (this._field !== null) ? this._field.getContentType() : BlobType.CONTENT_TYPE_UNKNOWN;
13957
- mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._range, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
13923
+ mgVal = DisplayConvertor.Instance.disp2mg(dispVal, this._pic, this.getForm().getTask().getCompIdx(), blobContentType);
13958
13924
  }
13959
13925
  }
13960
13926
  return mgVal;
@@ -14129,7 +14095,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14129
14095
  }
14130
14096
  getCurrentLinkIdx() {
14131
14097
  let currLinkIdx = 0;
14132
- if (super.isChoiceControl()) {
14098
+ if (super.isChoiceControl() || this.HasAutocomplete()) {
14133
14099
  let currentLayers = this.getCurrentIndexOfChoice();
14134
14100
  let currLinkIndice = this.getLinkIdxFromLayer(currentLayers);
14135
14101
  currLinkIdx = currLinkIndice[0];
@@ -14415,7 +14381,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14415
14381
  return true;
14416
14382
  }
14417
14383
  else {
14418
- return super.isTableControl() && Property.isRepeatableInTable(propId);
14384
+ return super.isTableControl() && Property.isRepeatableInTable();
14419
14385
  }
14420
14386
  }
14421
14387
  SetAndRefreshDisplayValue(mgVal, isNull) {
@@ -14684,6 +14650,8 @@ class MgControlBase extends GuiControlPropertyAdapter {
14684
14650
  break;
14685
14651
  case MgControlType.CTRL_TYPE_BUTTON:
14686
14652
  case MgControlType.CTRL_TYPE_TEXT:
14653
+ if (this.HasAutocomplete())
14654
+ yield this.refreshAndSetItemListByDataSource(line, valueChanged);
14687
14655
  if (valueChanged) {
14688
14656
  if (this.IsImageButton()) {
14689
14657
  this.setImageWithFileName(this.Value);
@@ -14799,7 +14767,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
14799
14767
  refreshAndSetItemsListForRadioButton(line, execComputeChoice) {
14800
14768
  return __awaiter(this, void 0, void 0, function* () {
14801
14769
  let displayList = yield this.refreshDispRange(execComputeChoice);
14802
- let options = displayList.map((displayValue, counter, arr) => {
14770
+ let options = displayList.map((displayValue, counter) => {
14803
14771
  let index = counter.toString();
14804
14772
  return { index, displayValue };
14805
14773
  });
@@ -14817,8 +14785,8 @@ class MgControlBase extends GuiControlPropertyAdapter {
14817
14785
  this.clearRange(line);
14818
14786
  }
14819
14787
  let optionsStrings = yield this.refreshDispRange(execComputeChoice);
14820
- if (_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this)) {
14821
- let options = optionsStrings.map((displayValue, index, arr) => {
14788
+ if (_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete()) {
14789
+ let options = optionsStrings.map((displayValue, index) => {
14822
14790
  return { index, displayValue };
14823
14791
  });
14824
14792
  Commands.addOperationWithLine(CommandType.SET_PROPERTY, this, line, HtmlProperties.ItemsList, options);
@@ -15000,7 +14968,7 @@ class MgControlBase extends GuiControlPropertyAdapter {
15000
14968
  setDcValId(dcValId) {
15001
14969
  this._dcValId = dcValId;
15002
14970
  }
15003
- SetKeyboardLanguage(restoreLang) {
14971
+ SetKeyboardLanguage() {
15004
14972
  Commands.beginInvoke();
15005
14973
  }
15006
14974
  Init() {
@@ -15045,12 +15013,6 @@ class MgControlBase extends GuiControlPropertyAdapter {
15045
15013
  return result;
15046
15014
  });
15047
15015
  }
15048
- refreshDefaultButton() {
15049
- return __awaiter(this, void 0, void 0, function* () {
15050
- let prop = this.Form.getProp(PropInterface.PROP_TYPE_DEFAULT_BUTTON);
15051
- yield prop.RefreshDisplay(true);
15052
- });
15053
- }
15054
15016
  RaiseControlHitOnLeftClickOfMouseDown() {
15055
15017
  let raiseCtrlHit = false;
15056
15018
  if (!super.IsHyperTextButton() && !super.isRadio() && !super.isTabControl()) {
@@ -15810,8 +15772,8 @@ class MgFormBase extends GuiFormPropertyAdapter {
15810
15772
  }
15811
15773
  }
15812
15774
  GetListOfInputControls() {
15813
- let filterterList = this.CtrlTab.filter(((c, index, array) => this.IsInputType(c)));
15814
- let names = filterterList.reduce((pre, ctrl, i) => {
15775
+ let filterterList = this.CtrlTab.filter(((c) => this.IsInputType(c)));
15776
+ let names = filterterList.reduce((pre, ctrl) => {
15815
15777
  pre[ctrl.UniqueName] = ctrl.IsRepeatable ? '1' : '0';
15816
15778
  return pre;
15817
15779
  }, {});
@@ -15841,7 +15803,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15841
15803
  this.InitTableControl_0();
15842
15804
  return;
15843
15805
  }
15844
- this.InitTableControl_1(dvSize, tableItemsCount, removeAll);
15806
+ this.InitTableControl_1(dvSize, tableItemsCount);
15845
15807
  }
15846
15808
  UpdateTableChildrenArraysSize(size) {
15847
15809
  let children = this.TableChildren;
@@ -15857,7 +15819,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15857
15819
  toString() {
15858
15820
  return '{GuiMgForm' + ': Id=' + this._userStateId + '}';
15859
15821
  }
15860
- IncludeControlInTabbingOrder(control, includeControlChildOfFrameForm) {
15822
+ IncludeControlInTabbingOrder(control) {
15861
15823
  if (!control.PropertyExists(PropInterface.PROP_TYPE_TAB_ORDER))
15862
15824
  return false;
15863
15825
  return true;
@@ -15940,7 +15902,7 @@ class MgFormBase extends GuiFormPropertyAdapter {
15940
15902
  InitTableControl_0() {
15941
15903
  this.InitTableControl(1, 1, false);
15942
15904
  }
15943
- InitTableControl_1(dvSize, tableItemsCount, removeAll) {
15905
+ InitTableControl_1(dvSize, tableItemsCount) {
15944
15906
  if (this._tableMgControl != null) {
15945
15907
  Commands.addWithNumber(CommandType.SET_TABLE_ITEMS_COUNT, this._tableMgControl, tableItemsCount);
15946
15908
  this._tableItemsCount = tableItemsCount;
@@ -15992,7 +15954,7 @@ class EventsProcessor {
15992
15954
  Events.CloseFormEvent = this.processFormClose;
15993
15955
  Events.ColumnClickEvent = this.ProcessColumnClick;
15994
15956
  }
15995
- processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, ComboIsDropDown, handled) {
15957
+ processKeyDown(guiMgForm, guiMgCtrl, modifier, keyCode, start, end, text, isActChar, suggestedValue, handled) {
15996
15958
  let eventHandled = handled;
15997
15959
  let mgControlBase = guiMgCtrl;
15998
15960
  let mgFormBase = guiMgForm;
@@ -16003,7 +15965,7 @@ class EventsProcessor {
16003
15965
  let clrHandledEvent = false;
16004
15966
  let mgFormBase = guiMgForm;
16005
15967
  if (MgFormBase.ShouldPutActOnFormClose())
16006
- Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), InternalInterface.MG_ACT_HIT, RaisedBy.CLOSE_SYSTEM_MENU);
15968
+ Manager.EventsManager.addGuiTriggeredEventTaskAndCodeAndRaisedBy(mgFormBase.getTask(), InternalInterface.MG_ACT_HIT);
16007
15969
  Manager.EventsManager.addGuiTriggeredEventWithTaskAndCode(mgFormBase.getTask(), InternalInterface.MG_ACT_CLOSE);
16008
15970
  return clrHandledEvent;
16009
15971
  }
@@ -16011,7 +15973,7 @@ class EventsProcessor {
16011
15973
  let mgControl = guiMgCtrl;
16012
15974
  if (mgControl === null) {
16013
15975
  Debug.Assert(guiMgForm !== null);
16014
- Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), InternalInterface.MG_ACT_HIT, onMultiMark);
15976
+ Manager.EventsManager.addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(guiMgForm.getTask(), InternalInterface.MG_ACT_HIT);
16015
15977
  }
16016
15978
  else {
16017
15979
  if (mgControl.isSubform()) {
@@ -16240,10 +16202,7 @@ Styles.MSGBOX_RESULT_ABORT = 3;
16240
16202
  Styles.MSGBOX_RESULT_RETRY = 4;
16241
16203
  Styles.MSGBOX_RESULT_IGNORE = 5;
16242
16204
  Styles.MSGBOX_RESULT_YES = 6;
16243
- Styles.MSGBOX_RESULT_NO = 7;
16244
- Styles.MSGBOX_DEFAULT_BUTTON_1 = 0x00000000;
16245
- Styles.MSGBOX_DEFAULT_BUTTON_2 = 0x00000100;
16246
- Styles.MSGBOX_DEFAULT_BUTTON_3 = 0x00000200;
16205
+ Styles.MSGBOX_RESULT_NO = 7;
16247
16206
 
16248
16207
  class RuntimeContextBase {
16249
16208
  constructor() {
@@ -16254,6 +16213,8 @@ class RuntimeContextBase {
16254
16213
  this.FrameForm = null;
16255
16214
  this.LastClickedCtrlName = null;
16256
16215
  this.LastClickedMenuUid = 0;
16216
+ this.RemovedContextFromServer = false;
16217
+ this.RemovingContextFromServer = false;
16257
16218
  this.CurrentClickedCtrl = null;
16258
16219
  this.CurrentClickedRadio = null;
16259
16220
  this.DefaultStatusMsg = null;
@@ -16293,8 +16254,8 @@ RuntimeContextBase.noContextId = null;
16293
16254
  RuntimeContextBase.Instance = new RuntimeContextBase();
16294
16255
 
16295
16256
  class DcValuesBuilderBase {
16296
- CreateDcValues(isVector) {
16297
- return new DcValues(false, isVector);
16257
+ CreateDcValues() {
16258
+ return new DcValues(false);
16298
16259
  }
16299
16260
  SetId(dcValues, newId) {
16300
16261
  dcValues.SetID(newId);
@@ -16440,8 +16401,8 @@ class GuiDataViewBase {
16440
16401
  this._emptyDataview = false;
16441
16402
  this._fieldsTab = null;
16442
16403
  this._task = null;
16443
- this._emptyChoice = new DcValues(true, false);
16444
- this._emptyChoiceForVectors = new DcValues(true, true);
16404
+ this._emptyChoice = new DcValues(true);
16405
+ this._emptyChoiceForVectors = new DcValues(true);
16445
16406
  }
16446
16407
  getField(id) {
16447
16408
  if (this._fieldsTab != null)
@@ -16536,13 +16497,13 @@ class ObjectReferenceBase {
16536
16497
  this.Dispose_0();
16537
16498
  return;
16538
16499
  }
16539
- this.Dispose_1(isDisposing);
16500
+ this.Dispose_1();
16540
16501
  }
16541
16502
  Dispose_0() {
16542
16503
  Logger.Instance.WriteDevToLog("Disposing " + this);
16543
16504
  this.Dispose(true);
16544
16505
  }
16545
- Dispose_1(isDisposing) {
16506
+ Dispose_1() {
16546
16507
  if (!this.isDisposed) {
16547
16508
  if (!this.Referent.HasReferences) {
16548
16509
  if (Logger.Instance.LogLevel >= Logger_LogLevels.Development) {
@@ -16830,7 +16791,8 @@ ExpressionInterface.EXP_OP_IS_ROW_EDITING = 689;
16830
16791
  ExpressionInterface.EXP_OP_IS_LOGGED_IN = 690;
16831
16792
  ExpressionInterface.EXP_OP_SET_COOKIE = 701;
16832
16793
  ExpressionInterface.EXP_OP_GET_COOKIE = 702;
16833
- ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
16794
+ ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
16795
+ ExpressionInterface.EXP_OP_ROUTEGET = 705;
16834
16796
 
16835
16797
  class GuiExpressionEvaluator {
16836
16798
  constructor() {
@@ -16854,12 +16816,12 @@ class GuiExpressionEvaluator {
16854
16816
  if (task.getForm() === null && Manager.GetCurrentRuntimeContext().FrameForm !== null) {
16855
16817
  task = Manager.GetCurrentRuntimeContext().FrameForm.getTask();
16856
16818
  }
16857
- task.WriteToMessagePane(text, false);
16819
+ task.WriteToMessagePane(text);
16858
16820
  Manager.GetCurrentRuntimeContext().DefaultStatusMsg = text;
16859
16821
  }
16860
16822
  }
16861
16823
  }
16862
- IsParallel(task) {
16824
+ IsParallel() {
16863
16825
  return false;
16864
16826
  }
16865
16827
  eval_op_browserExecute_DO(resVal, controlName, text, sync, language) {
@@ -17401,7 +17363,6 @@ class GuiTaskBase {
17401
17363
  this._level = '\0';
17402
17364
  this._enteredRecLevel = false;
17403
17365
  this._currParkedFld = null;
17404
- this.shouldResumeSubformLayout = true;
17405
17366
  this.isInRecompute = false;
17406
17367
  this.CurrentEditingControl = null;
17407
17368
  this.ApplicationGuid = null;
@@ -17446,12 +17407,6 @@ class GuiTaskBase {
17446
17407
  get InDefaultRouterOutlet() {
17447
17408
  return this.inDefaultRouterOutlet;
17448
17409
  }
17449
- set ShouldResumeSubformLayout(value) {
17450
- this.shouldResumeSubformLayout = value;
17451
- }
17452
- get ShouldResumeSubformLayout() {
17453
- return this.shouldResumeSubformLayout;
17454
- }
17455
17410
  get IsBlockingBatch() {
17456
17411
  return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
17457
17412
  }
@@ -17477,7 +17432,7 @@ class GuiTaskBase {
17477
17432
  if (this.getMode() !== val) {
17478
17433
  this.setProp(PropInterface.PROP_TYPE_TASK_MODE, val);
17479
17434
  if (this._flowMonitor !== null)
17480
- this._flowMonitor.addTaskCngMode(this.ContextID, val, this.GetTaskDetails());
17435
+ this._flowMonitor.addTaskCngMode(val, this.GetTaskDetails());
17481
17436
  }
17482
17437
  }
17483
17438
  getMode() {
@@ -17664,31 +17619,11 @@ class GuiTaskBase {
17664
17619
  this.Form.init();
17665
17620
  this.SetRefreshType(Constants.TASK_REFRESH_FORM);
17666
17621
  yield this.RefreshDisplay();
17667
- if (this.Form.getSubFormCtrl() === null) {
17668
- let heightProperty = this.Form.GetComputedProperty(PropInterface.PROP_TYPE_HEIGHT);
17669
- if (heightProperty !== null)
17670
- yield heightProperty.RefreshDisplay(true);
17671
- }
17672
- else {
17673
- if (this.CanResumeSubformLayout())
17674
- this.ResumeSubformLayout();
17675
- }
17676
17622
  Commands.beginInvoke();
17677
17623
  this.Form.InInitForm = false;
17678
17624
  }
17679
17625
  });
17680
17626
  }
17681
- CanResumeSubformLayout() {
17682
- return true;
17683
- }
17684
- ResumeSubformLayout() {
17685
- if (this.Form !== null) {
17686
- let subFormCtrl = this.Form.getSubFormCtrl();
17687
- if (subFormCtrl !== null && this.shouldResumeSubformLayout) {
17688
- this.shouldResumeSubformLayout = false;
17689
- }
17690
- }
17691
- }
17692
17627
  GetLastParkedCtrlName(depth) {
17693
17628
  let ancestor = this.GetTaskAncestor(depth);
17694
17629
  let flag = ancestor === null || ancestor._lastParkedCtrl === null;
@@ -17743,7 +17678,7 @@ class GuiTaskBase {
17743
17678
  let result = null;
17744
17679
  wasEvaluated.value = false;
17745
17680
  if (alwaysEvaluate || this.DataViewWasRetrieved) {
17746
- result = yield this.CalculateExpression(expId, resType, length, contentTypeUnicode, resCellType);
17681
+ result = yield this.CalculateExpression(expId, resType, length);
17747
17682
  wasEvaluated.value = true;
17748
17683
  }
17749
17684
  return result;
@@ -17752,6 +17687,11 @@ class GuiTaskBase {
17752
17687
  GetExpressionStorage(expId) {
17753
17688
  return this.GetExpressionStorage(expId);
17754
17689
  }
17690
+ CalculateExpression(expId, resType, length) {
17691
+ return __awaiter(this, void 0, void 0, function* () {
17692
+ return Promise.resolve('');
17693
+ });
17694
+ }
17755
17695
  isStarted() {
17756
17696
  return true;
17757
17697
  }
@@ -17901,13 +17841,13 @@ class GuiTaskBase {
17901
17841
  ShouldEvaluatePropertyLocally(propId) {
17902
17842
  return false;
17903
17843
  }
17904
- WriteToMessagePane(msg, soundBeep) {
17844
+ WriteToMessagePane(msg) {
17905
17845
  if (msg != null)
17906
17846
  console.log(msg);
17907
17847
  }
17908
- WriteToMessagePanebyMsgId(msgId, soundBeep) {
17848
+ WriteToMessagePanebyMsgId(msgId) {
17909
17849
  let msg = Events.GetMessageString(msgId);
17910
- this.WriteToMessagePane(msg, soundBeep);
17850
+ this.WriteToMessagePane(msg);
17911
17851
  }
17912
17852
  }
17913
17853
  GuiTaskBase.MAIN_PRG_PARENT_ID = 32768;
@@ -17923,7 +17863,7 @@ class MgTimer {
17923
17863
  }
17924
17864
  Start() {
17925
17865
  var timer1 = timer(this._timerIntervalMilliSeconds, this._timerIntervalMilliSeconds);
17926
- this._threadTimer = timer1.subscribe(state => MgTimer.Run(this));
17866
+ this._threadTimer = timer1.subscribe(() => MgTimer.Run(this));
17927
17867
  }
17928
17868
  Stop() {
17929
17869
  this._threadTimer.unsubscribe();
@@ -17964,11 +17904,11 @@ class ChangePasswordCredentials extends UsernamePasswordCredentials {
17964
17904
  this.constructor_2();
17965
17905
  return;
17966
17906
  }
17967
- this.constructor_3(oldUserName, newUserName, password);
17907
+ this.constructor_3(newUserName);
17968
17908
  }
17969
17909
  constructor_2() {
17970
17910
  }
17971
- constructor_3(oldUserName, newUserName, password) {
17911
+ constructor_3(newUserName) {
17972
17912
  this.NewUserName = newUserName;
17973
17913
  }
17974
17914
  ToString() {
@@ -18015,7 +17955,7 @@ class AuthenticationDialogHandler extends DialogHandler {
18015
17955
  }
18016
17956
 
18017
17957
  class ProcessLauncher {
18018
- static InvokeOS(command, wait, show, errMsg, exitCode) {
17958
+ static InvokeOS() {
18019
17959
  return -1;
18020
17960
  }
18021
17961
  static SeparateParams(cmd) {
@@ -18047,4 +17987,4 @@ class ProcessLauncher {
18047
17987
  }
18048
17988
 
18049
17989
  export { AuthenticationDialogHandler, BlobType, CellElement, ChangePasswordCredentials, ClipFormats, CommandType, Commands, ContextIDGuard, ControlBase, ControlTable, CustomValidator, CustomValidatorProp, DataModificationTypes, DateBreakParams, DateElement, DcValues, DcValuesBuilderBase, DialogHandler, DisplayConvertor, DockingStyle, EMPTY_DCREF, EditReturnCode, Events, EventsProcessor, ExpVal, ExpressionInterface, FieldDef, FieldValidator, FieldsTable, FocusManager, GuiCommand, GuiCommandQueue, GuiConstants, GuiControlPropertyAdapter, GuiDataCollection, GuiDataViewBase, GuiEnvironment, GuiExpressionEvaluator, GuiExpressionEvaluator_ControlsPersistencyClearOption, GuiFieldBase, GuiFormPropertyAdapter, GuiInteractive, GuiInteractiveBase, GuiMgControl, GuiMgForm, GuiTaskBase, HebrewDate, Helps, HtmlProperties, InteractiveCommandType, InternalHelp, KeyboardItem, LastFocusedVal, MagicHelp, Manager, MarkMode, MemoryUtil, MenuEntryProgram_SrcContext, MenuStyle, MgCheckState, MgControlBase, MgCursors, MgFormBase, MgTimer, MgValue, Modifiers, NOT_FOUND, NUM_TYPE, ObjectReference, ObjectReferenceBase, ObjectReferencesCollection, OperData, OverlayType, PIC, ProcessLauncher, PromptpHelp, PropDefaults, PropInterface, PropTable, Property, RaisedBy, RecordUtils, Row, RuntimeContextBase, Styles, TaskDefinitionId, TaskDefinitionIdTableSaxHandler, TimeBreakParams, ToolTipHelp, TraverseMode, UIBridge, URLHelp, UsernamePasswordCredentials, ValidationDetails, ValidationDetailsBase, VectorType, VectorTypeBase, WindowsHelp, WrongFormatException };
18050
- //# sourceMappingURL=magic-xpa-gui.js.map
17990
+ //# sourceMappingURL=magic-xpa-gui.mjs.map