@magic-xpa/gui 4.800.0-dev480.95 → 4.800.1

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 (33) hide show
  1. package/bundles/magic-xpa-gui.umd.js +239 -248
  2. package/bundles/magic-xpa-gui.umd.js.map +1 -1
  3. package/bundles/magic-xpa-gui.umd.min.js +2 -2
  4. package/bundles/magic-xpa-gui.umd.min.js.map +1 -1
  5. package/esm2015/src/Commands.js +5 -1
  6. package/esm2015/src/GuiEnums.js +126 -127
  7. package/esm2015/src/env/IEnvironment.js +1 -1
  8. package/esm2015/src/gui/low/GuiInteractive.js +7 -1
  9. package/esm2015/src/gui/low/Style.js +1 -4
  10. package/esm2015/src/management/RuntimeContextBase.js +3 -1
  11. package/esm2015/src/management/exp/ExpressionInterface.js +2 -1
  12. package/esm2015/src/management/gui/MgControlBase.js +12 -10
  13. package/esm2015/src/management/gui/PIC.js +3 -1
  14. package/esm2015/src/management/gui/PropDefaults.js +2 -4
  15. package/esm2015/src/management/gui/PropInterface.js +2 -4
  16. package/esm2015/src/management/gui/Property.js +11 -18
  17. package/esm2015/src/management/tasks/GuiTaskBase.js +1 -28
  18. package/esm2015/src/management/tasks/TaskDefinitionId.js +8 -1
  19. package/fesm2015/magic-xpa-gui.js +172 -190
  20. package/fesm2015/magic-xpa-gui.js.map +1 -1
  21. package/package.json +2 -2
  22. package/src/Commands.d.ts +1 -0
  23. package/src/GuiEnums.d.ts +125 -126
  24. package/src/env/IEnvironment.d.ts +1 -0
  25. package/src/gui/low/GuiInteractive.d.ts +3 -1
  26. package/src/gui/low/Style.d.ts +0 -3
  27. package/src/management/RuntimeContextBase.d.ts +2 -0
  28. package/src/management/exp/ExpressionInterface.d.ts +1 -0
  29. package/src/management/gui/MgControlBase.d.ts +2 -1
  30. package/src/management/gui/PropInterface.d.ts +2 -4
  31. package/src/management/gui/Property.d.ts +1 -1
  32. package/src/management/tasks/GuiTaskBase.d.ts +0 -5
  33. package/src/management/tasks/TaskDefinitionId.d.ts +1 -0
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@magic-xpa/mscorelib'), require('@magic-xpa/utils'), require('util'), require('rxjs')) :
3
3
  typeof define === 'function' && define.amd ? define('@magic-xpa/gui', ['exports', '@magic-xpa/mscorelib', '@magic-xpa/utils', 'util', 'rxjs'], factory) :
4
- (global = global || self, factory((global['magic-xpa'] = global['magic-xpa'] || {}, global['magic-xpa'].gui = {}), global.mscorelib, global.utils, global.util, global.rxjs));
5
- }(this, (function (exports, mscorelib, utils, util, rxjs) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["magic-xpa"] = global["magic-xpa"] || {}, global["magic-xpa"].gui = {}), global.mscorelib, global.utils, global.util, global.rxjs));
5
+ })(this, (function (exports, mscorelib, utils, util, rxjs) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -814,6 +814,7 @@
814
814
  }());
815
815
  GuiCommandQueue._instance = null;
816
816
 
817
+ exports.InteractiveCommandType = void 0;
817
818
  (function (InteractiveCommandType) {
818
819
  InteractiveCommandType[InteractiveCommandType["GET_FONT_METRICS"] = 0] = "GET_FONT_METRICS";
819
820
  InteractiveCommandType[InteractiveCommandType["GET_RESOLUTION"] = 1] = "GET_RESOLUTION";
@@ -882,6 +883,7 @@
882
883
  InteractiveCommandType[InteractiveCommandType["GET_IS_ROW_EDITING"] = 64] = "GET_IS_ROW_EDITING";
883
884
  InteractiveCommandType[InteractiveCommandType["GET_MAX_ROWS_IN_PAGINATED_TABLE"] = 65] = "GET_MAX_ROWS_IN_PAGINATED_TABLE";
884
885
  InteractiveCommandType[InteractiveCommandType["CALL_JS"] = 66] = "CALL_JS";
886
+ InteractiveCommandType[InteractiveCommandType["GET_LAST_ROUTE"] = 67] = "GET_LAST_ROUTE";
885
887
  })(exports.InteractiveCommandType || (exports.InteractiveCommandType = {}));
886
888
  var GuiInteractiveBase = /** @class */ (function () {
887
889
  function GuiInteractiveBase() {
@@ -1131,6 +1133,11 @@
1131
1133
  this.Invoke();
1132
1134
  return this._intVal1;
1133
1135
  };
1136
+ GuiInteractiveBase.prototype.getLastRoute = function () {
1137
+ this._commandType = exports.InteractiveCommandType.GET_LAST_ROUTE;
1138
+ this.Invoke();
1139
+ return this.resultString;
1140
+ };
1134
1141
  GuiInteractiveBase.prototype.GetHiddenRowsCountInTable = function (control) {
1135
1142
  this._commandType = exports.InteractiveCommandType.GET_HIDDEN_ROWS_COUNT_IN_TABLE;
1136
1143
  this._obj2 = control;
@@ -1604,41 +1611,49 @@
1604
1611
  return GuiMgControl;
1605
1612
  }(ControlBase));
1606
1613
 
1614
+ exports.DateElement = void 0;
1607
1615
  (function (DateElement) {
1608
1616
  DateElement["YEAR"] = "Y";
1609
1617
  DateElement["MONTH"] = "M";
1610
1618
  DateElement["DAY"] = "D";
1611
1619
  DateElement["DOW"] = "W";
1612
1620
  })(exports.DateElement || (exports.DateElement = {}));
1621
+ exports.MenuEntryProgram_SrcContext = void 0;
1613
1622
  (function (MenuEntryProgram_SrcContext) {
1614
1623
  MenuEntryProgram_SrcContext["Main"] = "M";
1615
1624
  MenuEntryProgram_SrcContext["Current"] = "C";
1616
1625
  })(exports.MenuEntryProgram_SrcContext || (exports.MenuEntryProgram_SrcContext = {}));
1626
+ exports.EditReturnCode = void 0;
1617
1627
  (function (EditReturnCode) {
1618
1628
  EditReturnCode[EditReturnCode["EDIT_CONTINUE"] = 0] = "EDIT_CONTINUE";
1619
1629
  EditReturnCode[EditReturnCode["EDIT_AUTOSKIP"] = 1] = "EDIT_AUTOSKIP";
1620
1630
  EditReturnCode[EditReturnCode["EDIT_RESTART"] = 2] = "EDIT_RESTART";
1621
1631
  })(exports.EditReturnCode || (exports.EditReturnCode = {}));
1632
+ exports.GuiExpressionEvaluator_ControlsPersistencyClearOption = void 0;
1622
1633
  (function (GuiExpressionEvaluator_ControlsPersistencyClearOption) {
1623
1634
  GuiExpressionEvaluator_ControlsPersistencyClearOption[GuiExpressionEvaluator_ControlsPersistencyClearOption["All"] = 1] = "All";
1624
1635
  GuiExpressionEvaluator_ControlsPersistencyClearOption[GuiExpressionEvaluator_ControlsPersistencyClearOption["CurrentForm"] = 2] = "CurrentForm";
1625
1636
  })(exports.GuiExpressionEvaluator_ControlsPersistencyClearOption || (exports.GuiExpressionEvaluator_ControlsPersistencyClearOption = {}));
1637
+ exports.DataModificationTypes = void 0;
1626
1638
  (function (DataModificationTypes) {
1627
1639
  DataModificationTypes["Update"] = "u";
1628
1640
  DataModificationTypes["Insert"] = "i";
1629
1641
  DataModificationTypes["Delete"] = "d";
1630
1642
  DataModificationTypes["None"] = " ";
1631
1643
  })(exports.DataModificationTypes || (exports.DataModificationTypes = {}));
1644
+ exports.MgCheckState = void 0;
1632
1645
  (function (MgCheckState) {
1633
1646
  MgCheckState[MgCheckState["UNCHECKED"] = 1] = "UNCHECKED";
1634
1647
  MgCheckState[MgCheckState["CHECKED"] = 2] = "CHECKED";
1635
1648
  MgCheckState[MgCheckState["INDETERMINATE"] = 3] = "INDETERMINATE";
1636
1649
  })(exports.MgCheckState || (exports.MgCheckState = {}));
1650
+ exports.MarkMode = void 0;
1637
1651
  (function (MarkMode) {
1638
1652
  MarkMode[MarkMode["MARK_ALL_TEXT"] = 1] = "MARK_ALL_TEXT";
1639
1653
  MarkMode[MarkMode["UNMARK_ALL_TEXT"] = 2] = "UNMARK_ALL_TEXT";
1640
1654
  MarkMode[MarkMode["MARK_SELECTION_TEXT"] = 3] = "MARK_SELECTION_TEXT";
1641
1655
  })(exports.MarkMode || (exports.MarkMode = {}));
1656
+ exports.MgCursors = void 0;
1642
1657
  (function (MgCursors) {
1643
1658
  MgCursors[MgCursors["ARROW"] = 1] = "ARROW";
1644
1659
  MgCursors[MgCursors["WAITCURSOR"] = 2] = "WAITCURSOR";
@@ -1655,6 +1670,7 @@
1655
1670
  MgCursors[MgCursors["SIZEWE"] = 13] = "SIZEWE";
1656
1671
  MgCursors[MgCursors["UPARROW"] = 14] = "UPARROW";
1657
1672
  })(exports.MgCursors || (exports.MgCursors = {}));
1673
+ exports.Modifiers = void 0;
1658
1674
  (function (Modifiers) {
1659
1675
  Modifiers["MODIFIER_ALT"] = "A";
1660
1676
  Modifiers["MODIFIER_CTRL"] = "C";
@@ -1664,6 +1680,7 @@
1664
1680
  Modifiers["MODIFIER_ALT_CTRL"] = "Y";
1665
1681
  Modifiers["MODIFIER_ALT_SHIFT"] = "Z";
1666
1682
  })(exports.Modifiers || (exports.Modifiers = {}));
1683
+ exports.CommandType = void 0;
1667
1684
  (function (CommandType) {
1668
1685
  CommandType[CommandType["OPEN_FORM"] = 0] = "OPEN_FORM";
1669
1686
  CommandType[CommandType["CREATE_FORM"] = 1] = "CREATE_FORM";
@@ -1697,133 +1714,133 @@
1697
1714
  CommandType[CommandType["PROP_SET_IMAGE_FILE_NAME"] = 29] = "PROP_SET_IMAGE_FILE_NAME";
1698
1715
  CommandType[CommandType["PROP_SET_IMAGE_DATA"] = 30] = "PROP_SET_IMAGE_DATA";
1699
1716
  CommandType[CommandType["PROP_SET_IMAGE_LIST"] = 31] = "PROP_SET_IMAGE_LIST";
1700
- CommandType[CommandType["PROP_SET_DEFAULT_BUTTON"] = 32] = "PROP_SET_DEFAULT_BUTTON";
1701
- CommandType[CommandType["PROP_SET_TOOLTIP"] = 33] = "PROP_SET_TOOLTIP";
1702
- CommandType[CommandType["PROP_SET_VISIBLE"] = 34] = "PROP_SET_VISIBLE";
1703
- CommandType[CommandType["PROP_SET_ENABLE"] = 35] = "PROP_SET_ENABLE";
1704
- CommandType[CommandType["PROP_SET_MENU_ENABLE"] = 36] = "PROP_SET_MENU_ENABLE";
1705
- CommandType[CommandType["PROP_SET_VISIBLE_LINES"] = 37] = "PROP_SET_VISIBLE_LINES";
1706
- CommandType[CommandType["PROP_SET_RIGHT_TO_LEFT"] = 38] = "PROP_SET_RIGHT_TO_LEFT";
1707
- CommandType[CommandType["PROP_SET_CHECKED"] = 39] = "PROP_SET_CHECKED";
1708
- CommandType[CommandType["PROP_SET_SELECTION"] = 40] = "PROP_SET_SELECTION";
1709
- CommandType[CommandType["PROP_SET_LAYOUT_NUM_COLUMN"] = 41] = "PROP_SET_LAYOUT_NUM_COLUMN";
1710
- CommandType[CommandType["PROP_SET_LINE_VISIBLE"] = 42] = "PROP_SET_LINE_VISIBLE";
1711
- CommandType[CommandType["PROP_SET_RESIZABLE"] = 43] = "PROP_SET_RESIZABLE";
1712
- CommandType[CommandType["PROP_SET_ALLOW_REORDER"] = 44] = "PROP_SET_ALLOW_REORDER";
1713
- CommandType[CommandType["PROP_SET_SORTABLE_COLUMN"] = 45] = "PROP_SET_SORTABLE_COLUMN";
1714
- CommandType[CommandType["PROP_SET_COLUMN_PLACMENT"] = 46] = "PROP_SET_COLUMN_PLACMENT";
1715
- CommandType[CommandType["PROP_SET_ICON_FILE_NAME"] = 47] = "PROP_SET_ICON_FILE_NAME";
1716
- CommandType[CommandType["SET_WINDOW_STATE"] = 48] = "SET_WINDOW_STATE";
1717
- CommandType[CommandType["SET_COLUMN_ORG_WIDTH"] = 49] = "SET_COLUMN_ORG_WIDTH";
1718
- CommandType[CommandType["SET_COLUMN_START_POS"] = 50] = "SET_COLUMN_START_POS";
1719
- CommandType[CommandType["SET_TABLE_ITEMS_COUNT"] = 51] = "SET_TABLE_ITEMS_COUNT";
1720
- CommandType[CommandType["SET_TABLE_VIRTUAL_ITEMS_COUNT"] = 52] = "SET_TABLE_VIRTUAL_ITEMS_COUNT";
1721
- CommandType[CommandType["SET_TABLE_VSCROLL_THUMB_POS"] = 53] = "SET_TABLE_VSCROLL_THUMB_POS";
1722
- CommandType[CommandType["SET_TABLE_VSCROLL_PAGE_SIZE"] = 54] = "SET_TABLE_VSCROLL_PAGE_SIZE";
1723
- CommandType[CommandType["SET_TABLE_INCLUDES_FIRST"] = 55] = "SET_TABLE_INCLUDES_FIRST";
1724
- CommandType[CommandType["SET_TABLE_INCLUDES_LAST"] = 56] = "SET_TABLE_INCLUDES_LAST";
1725
- CommandType[CommandType["SET_TABLE_TOP_INDEX"] = 57] = "SET_TABLE_TOP_INDEX";
1726
- CommandType[CommandType["SET_SELECTION_INDEX"] = 58] = "SET_SELECTION_INDEX";
1727
- CommandType[CommandType["INVALIDATE_TABLE"] = 59] = "INVALIDATE_TABLE";
1728
- CommandType[CommandType["REFRESH_TABLE"] = 60] = "REFRESH_TABLE";
1729
- CommandType[CommandType["REFRESH_TMP_EDITOR"] = 61] = "REFRESH_TMP_EDITOR";
1730
- CommandType[CommandType["UPDATE_TMP_EDITOR_INDEX"] = 62] = "UPDATE_TMP_EDITOR_INDEX";
1731
- CommandType[CommandType["CREATE_TABLE_ROW"] = 63] = "CREATE_TABLE_ROW";
1732
- CommandType[CommandType["UNDO_CREATE_TABLE_ROW"] = 64] = "UNDO_CREATE_TABLE_ROW";
1733
- CommandType[CommandType["SET_TABLE_ROW_VISIBILITY"] = 65] = "SET_TABLE_ROW_VISIBILITY";
1734
- CommandType[CommandType["VALIDATE_TABLE_ROW"] = 66] = "VALIDATE_TABLE_ROW";
1735
- CommandType[CommandType["INSERT_ROWS"] = 67] = "INSERT_ROWS";
1736
- CommandType[CommandType["REMOVE_ROWS"] = 68] = "REMOVE_ROWS";
1737
- CommandType[CommandType["CLEAR_TABLE_COLUMNS_SORT_MARK"] = 69] = "CLEAR_TABLE_COLUMNS_SORT_MARK";
1738
- CommandType[CommandType["PROP_SET_URL"] = 70] = "PROP_SET_URL";
1739
- CommandType[CommandType["MOVE_ABOVE"] = 71] = "MOVE_ABOVE";
1740
- CommandType[CommandType["SET_FOCUS"] = 72] = "SET_FOCUS";
1741
- CommandType[CommandType["WRITE_TO_MESSAGE_BOX"] = 73] = "WRITE_TO_MESSAGE_BOX";
1742
- CommandType[CommandType["CLOSE_FORM"] = 74] = "CLOSE_FORM";
1743
- CommandType[CommandType["REMOVE_SUBFORM_CONTROLS"] = 75] = "REMOVE_SUBFORM_CONTROLS";
1744
- CommandType[CommandType["START_TIMER"] = 76] = "START_TIMER";
1745
- CommandType[CommandType["STOP_TIMER"] = 77] = "STOP_TIMER";
1746
- CommandType[CommandType["BEEP"] = 78] = "BEEP";
1747
- CommandType[CommandType["CREATE_TOOLBAR"] = 79] = "CREATE_TOOLBAR";
1748
- CommandType[CommandType["DELETE_TOOLBAR"] = 80] = "DELETE_TOOLBAR";
1749
- CommandType[CommandType["CREATE_TOOLBAR_ITEM"] = 81] = "CREATE_TOOLBAR_ITEM";
1750
- CommandType[CommandType["DELETE_TOOLBAR_ITEM"] = 82] = "DELETE_TOOLBAR_ITEM";
1751
- CommandType[CommandType["CREATE_STATUS_BAR"] = 83] = "CREATE_STATUS_BAR";
1752
- CommandType[CommandType["PROP_SET_SB_PANE_WIDTH"] = 84] = "PROP_SET_SB_PANE_WIDTH";
1753
- CommandType[CommandType["CREATE_SB_LABEL"] = 85] = "CREATE_SB_LABEL";
1754
- CommandType[CommandType["CREATE_SB_IMAGE"] = 86] = "CREATE_SB_IMAGE";
1755
- CommandType[CommandType["SHOW_TMP_EDITOR"] = 87] = "SHOW_TMP_EDITOR";
1756
- CommandType[CommandType["PROP_SET_TRANSLATOR"] = 88] = "PROP_SET_TRANSLATOR";
1757
- CommandType[CommandType["PROP_SET_PASSWORD_EDIT"] = 89] = "PROP_SET_PASSWORD_EDIT";
1758
- CommandType[CommandType["PROP_SET_TITLE_BAR"] = 90] = "PROP_SET_TITLE_BAR";
1759
- CommandType[CommandType["PROP_SHOW_FULL_ROW"] = 91] = "PROP_SHOW_FULL_ROW";
1760
- CommandType[CommandType["PROP_SHOW_BUTTONS"] = 92] = "PROP_SHOW_BUTTONS";
1761
- CommandType[CommandType["PROP_SHOW_LINES"] = 93] = "PROP_SHOW_LINES";
1762
- CommandType[CommandType["PROP_SHOW_SCROLLBAR"] = 94] = "PROP_SHOW_SCROLLBAR";
1763
- CommandType[CommandType["SET_ENV_ACCESS_TEST"] = 95] = "SET_ENV_ACCESS_TEST";
1764
- CommandType[CommandType["SET_ENV_TOOLTIP_TIMEOUT"] = 96] = "SET_ENV_TOOLTIP_TIMEOUT";
1765
- CommandType[CommandType["SET_ENV_SPECIAL_TEXT_SIZE_FACTORING"] = 97] = "SET_ENV_SPECIAL_TEXT_SIZE_FACTORING";
1766
- CommandType[CommandType["SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME"] = 98] = "SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME";
1767
- CommandType[CommandType["PROP_SET_STARTUP_POSITION"] = 99] = "PROP_SET_STARTUP_POSITION";
1768
- CommandType[CommandType["PROP_SET_CHECK_BOX_CHECKED"] = 100] = "PROP_SET_CHECK_BOX_CHECKED";
1769
- CommandType[CommandType["COMBO_DROP_DOWN"] = 101] = "COMBO_DROP_DOWN";
1770
- CommandType[CommandType["SET_ACTIVETE_KEYBOARD_LAYOUT"] = 102] = "SET_ACTIVETE_KEYBOARD_LAYOUT";
1771
- CommandType[CommandType["SET_TAG_DATA_LINK_VISITED"] = 103] = "SET_TAG_DATA_LINK_VISITED";
1772
- CommandType[CommandType["ALLOW_UPDATE"] = 104] = "ALLOW_UPDATE";
1773
- CommandType[CommandType["SET_ALIGNMENT"] = 105] = "SET_ALIGNMENT";
1774
- CommandType[CommandType["BULLET"] = 106] = "BULLET";
1775
- CommandType[CommandType["INDENT"] = 107] = "INDENT";
1776
- CommandType[CommandType["UNINDENT"] = 108] = "UNINDENT";
1777
- CommandType[CommandType["CHANGE_COLUMN_SORT_MARK"] = 109] = "CHANGE_COLUMN_SORT_MARK";
1778
- CommandType[CommandType["SET_CURRENT_CURSOR"] = 110] = "SET_CURRENT_CURSOR";
1779
- CommandType[CommandType["REORDER_COLUMNS"] = 111] = "REORDER_COLUMNS";
1780
- CommandType[CommandType["RESTORE_COLUMNS"] = 112] = "RESTORE_COLUMNS";
1781
- CommandType[CommandType["ACTIVATE_FORM"] = 113] = "ACTIVATE_FORM";
1782
- CommandType[CommandType["LOCK_WINDOW_UPDATE"] = 114] = "LOCK_WINDOW_UPDATE";
1783
- CommandType[CommandType["ENABLE_XPTHEMES"] = 115] = "ENABLE_XPTHEMES";
1784
- CommandType[CommandType["TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW"] = 116] = "TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW";
1785
- CommandType[CommandType["REGISTER_DN_CTRL_VALUE_CHANGED_EVENT"] = 117] = "REGISTER_DN_CTRL_VALUE_CHANGED_EVENT";
1786
- CommandType[CommandType["SET_TABLE_ORG_ROW_HEIGHT"] = 118] = "SET_TABLE_ORG_ROW_HEIGHT";
1787
- CommandType[CommandType["SET_TOOLBAR"] = 119] = "SET_TOOLBAR";
1788
- CommandType[CommandType["CREATE_ENTRY_IN_CONTROLS_MAP"] = 120] = "CREATE_ENTRY_IN_CONTROLS_MAP";
1789
- CommandType[CommandType["REMOVE_ENTRY_FROM_CONTROLS_MAP"] = 121] = "REMOVE_ENTRY_FROM_CONTROLS_MAP";
1790
- CommandType[CommandType["PROCESS_PRESS_EVENT"] = 122] = "PROCESS_PRESS_EVENT";
1791
- CommandType[CommandType["SET_MARKED_ITEM_STATE"] = 123] = "SET_MARKED_ITEM_STATE";
1792
- CommandType[CommandType["ACCEPT_DVCONTROL_CHANGES"] = 124] = "ACCEPT_DVCONTROL_CHANGES";
1793
- CommandType[CommandType["UPDATE_DVCONTROL_ROW"] = 125] = "UPDATE_DVCONTROL_ROW";
1794
- CommandType[CommandType["ADD_DVCONTROL_HANDLER"] = 126] = "ADD_DVCONTROL_HANDLER";
1795
- CommandType[CommandType["REMOVE_DVCONTROL_HANDLER"] = 127] = "REMOVE_DVCONTROL_HANDLER";
1796
- CommandType[CommandType["CREATE_ROW_IN_DVCONTROL"] = 128] = "CREATE_ROW_IN_DVCONTROL";
1797
- CommandType[CommandType["UPDATE_DVCONTROL_COLUMN"] = 129] = "UPDATE_DVCONTROL_COLUMN";
1798
- CommandType[CommandType["DELETE_DVCONTROL_ROW"] = 130] = "DELETE_DVCONTROL_ROW";
1799
- CommandType[CommandType["SET_DVCONTROL_ROW_POSITION"] = 131] = "SET_DVCONTROL_ROW_POSITION";
1800
- CommandType[CommandType["REJECT_DVCONTROL_COLUMN_CHANGES"] = 132] = "REJECT_DVCONTROL_COLUMN_CHANGES";
1801
- CommandType[CommandType["SET_DESIGNER_VALUES"] = 133] = "SET_DESIGNER_VALUES";
1802
- CommandType[CommandType["PROP_SET_EDIT_HINT"] = 134] = "PROP_SET_EDIT_HINT";
1803
- CommandType[CommandType["PROP_SET_MULTI_COLUMN_DISPLAY"] = 135] = "PROP_SET_MULTI_COLUMN_DISPLAY";
1804
- CommandType[CommandType["SET_ENV_LAMGUAGE"] = 136] = "SET_ENV_LAMGUAGE";
1805
- CommandType[CommandType["SET_LAST_IN_CONTEXT"] = 137] = "SET_LAST_IN_CONTEXT";
1806
- CommandType[CommandType["SET_CARET"] = 138] = "SET_CARET";
1807
- CommandType[CommandType["SET_RECORDS_BEFORE_CURRENT_VIEW"] = 139] = "SET_RECORDS_BEFORE_CURRENT_VIEW";
1808
- CommandType[CommandType["SET_VALUE"] = 140] = "SET_VALUE";
1809
- CommandType[CommandType["SET_ATTRIBUTE"] = 141] = "SET_ATTRIBUTE";
1810
- CommandType[CommandType["SET_PROPERTY"] = 142] = "SET_PROPERTY";
1811
- CommandType[CommandType["SET_CLASS"] = 143] = "SET_CLASS";
1812
- CommandType[CommandType["SET_STYLE"] = 144] = "SET_STYLE";
1813
- CommandType[CommandType["REFRESH_TASK"] = 145] = "REFRESH_TASK";
1814
- CommandType[CommandType["PROP_SET_USER_PROPERTY"] = 146] = "PROP_SET_USER_PROPERTY";
1815
- CommandType[CommandType["PROP_SET_CUSTOM_VALIDATOR"] = 147] = "PROP_SET_CUSTOM_VALIDATOR";
1816
- CommandType[CommandType["SET_IS_ROW_EDITING"] = 148] = "SET_IS_ROW_EDITING";
1817
- CommandType[CommandType["SET_NOT_IS_ROW_EDITING"] = 149] = "SET_NOT_IS_ROW_EDITING";
1818
- CommandType[CommandType["SET_EMPTY_DATAVIEW"] = 150] = "SET_EMPTY_DATAVIEW";
1819
- CommandType[CommandType["SET_IS_LOGGED_IN"] = 151] = "SET_IS_LOGGED_IN";
1820
- CommandType[CommandType["RELOAD_PAGE"] = 152] = "RELOAD_PAGE";
1821
- CommandType[CommandType["EXIT_MAGIC"] = 153] = "EXIT_MAGIC";
1822
- CommandType[CommandType["CALL_JS"] = 154] = "CALL_JS";
1823
- CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 155] = "PROP_SET_BINDING_LEVEL";
1824
- CommandType[CommandType["SHOW_SPINNER"] = 156] = "SHOW_SPINNER";
1825
- CommandType[CommandType["SHOW_HTML_ERROR"] = 157] = "SHOW_HTML_ERROR";
1717
+ CommandType[CommandType["PROP_SET_TOOLTIP"] = 32] = "PROP_SET_TOOLTIP";
1718
+ CommandType[CommandType["PROP_SET_VISIBLE"] = 33] = "PROP_SET_VISIBLE";
1719
+ CommandType[CommandType["PROP_SET_ENABLE"] = 34] = "PROP_SET_ENABLE";
1720
+ CommandType[CommandType["PROP_SET_MENU_ENABLE"] = 35] = "PROP_SET_MENU_ENABLE";
1721
+ CommandType[CommandType["PROP_SET_VISIBLE_LINES"] = 36] = "PROP_SET_VISIBLE_LINES";
1722
+ CommandType[CommandType["PROP_SET_RIGHT_TO_LEFT"] = 37] = "PROP_SET_RIGHT_TO_LEFT";
1723
+ CommandType[CommandType["PROP_SET_CHECKED"] = 38] = "PROP_SET_CHECKED";
1724
+ CommandType[CommandType["PROP_SET_SELECTION"] = 39] = "PROP_SET_SELECTION";
1725
+ CommandType[CommandType["PROP_SET_LAYOUT_NUM_COLUMN"] = 40] = "PROP_SET_LAYOUT_NUM_COLUMN";
1726
+ CommandType[CommandType["PROP_SET_LINE_VISIBLE"] = 41] = "PROP_SET_LINE_VISIBLE";
1727
+ CommandType[CommandType["PROP_SET_RESIZABLE"] = 42] = "PROP_SET_RESIZABLE";
1728
+ CommandType[CommandType["PROP_SET_ALLOW_REORDER"] = 43] = "PROP_SET_ALLOW_REORDER";
1729
+ CommandType[CommandType["PROP_SET_SORTABLE_COLUMN"] = 44] = "PROP_SET_SORTABLE_COLUMN";
1730
+ CommandType[CommandType["PROP_SET_COLUMN_PLACMENT"] = 45] = "PROP_SET_COLUMN_PLACMENT";
1731
+ CommandType[CommandType["PROP_SET_ICON_FILE_NAME"] = 46] = "PROP_SET_ICON_FILE_NAME";
1732
+ CommandType[CommandType["SET_WINDOW_STATE"] = 47] = "SET_WINDOW_STATE";
1733
+ CommandType[CommandType["SET_COLUMN_ORG_WIDTH"] = 48] = "SET_COLUMN_ORG_WIDTH";
1734
+ CommandType[CommandType["SET_COLUMN_START_POS"] = 49] = "SET_COLUMN_START_POS";
1735
+ CommandType[CommandType["SET_TABLE_ITEMS_COUNT"] = 50] = "SET_TABLE_ITEMS_COUNT";
1736
+ CommandType[CommandType["SET_TABLE_VIRTUAL_ITEMS_COUNT"] = 51] = "SET_TABLE_VIRTUAL_ITEMS_COUNT";
1737
+ CommandType[CommandType["SET_TABLE_VSCROLL_THUMB_POS"] = 52] = "SET_TABLE_VSCROLL_THUMB_POS";
1738
+ CommandType[CommandType["SET_TABLE_VSCROLL_PAGE_SIZE"] = 53] = "SET_TABLE_VSCROLL_PAGE_SIZE";
1739
+ CommandType[CommandType["SET_TABLE_INCLUDES_FIRST"] = 54] = "SET_TABLE_INCLUDES_FIRST";
1740
+ CommandType[CommandType["SET_TABLE_INCLUDES_LAST"] = 55] = "SET_TABLE_INCLUDES_LAST";
1741
+ CommandType[CommandType["SET_TABLE_TOP_INDEX"] = 56] = "SET_TABLE_TOP_INDEX";
1742
+ CommandType[CommandType["SET_SELECTION_INDEX"] = 57] = "SET_SELECTION_INDEX";
1743
+ CommandType[CommandType["INVALIDATE_TABLE"] = 58] = "INVALIDATE_TABLE";
1744
+ CommandType[CommandType["REFRESH_TABLE"] = 59] = "REFRESH_TABLE";
1745
+ CommandType[CommandType["REFRESH_TMP_EDITOR"] = 60] = "REFRESH_TMP_EDITOR";
1746
+ CommandType[CommandType["UPDATE_TMP_EDITOR_INDEX"] = 61] = "UPDATE_TMP_EDITOR_INDEX";
1747
+ CommandType[CommandType["CREATE_TABLE_ROW"] = 62] = "CREATE_TABLE_ROW";
1748
+ CommandType[CommandType["UNDO_CREATE_TABLE_ROW"] = 63] = "UNDO_CREATE_TABLE_ROW";
1749
+ CommandType[CommandType["SET_TABLE_ROW_VISIBILITY"] = 64] = "SET_TABLE_ROW_VISIBILITY";
1750
+ CommandType[CommandType["VALIDATE_TABLE_ROW"] = 65] = "VALIDATE_TABLE_ROW";
1751
+ CommandType[CommandType["INSERT_ROWS"] = 66] = "INSERT_ROWS";
1752
+ CommandType[CommandType["REMOVE_ROWS"] = 67] = "REMOVE_ROWS";
1753
+ CommandType[CommandType["CLEAR_TABLE_COLUMNS_SORT_MARK"] = 68] = "CLEAR_TABLE_COLUMNS_SORT_MARK";
1754
+ CommandType[CommandType["PROP_SET_URL"] = 69] = "PROP_SET_URL";
1755
+ CommandType[CommandType["MOVE_ABOVE"] = 70] = "MOVE_ABOVE";
1756
+ CommandType[CommandType["SET_FOCUS"] = 71] = "SET_FOCUS";
1757
+ CommandType[CommandType["WRITE_TO_MESSAGE_BOX"] = 72] = "WRITE_TO_MESSAGE_BOX";
1758
+ CommandType[CommandType["CLOSE_FORM"] = 73] = "CLOSE_FORM";
1759
+ CommandType[CommandType["REMOVE_SUBFORM_CONTROLS"] = 74] = "REMOVE_SUBFORM_CONTROLS";
1760
+ CommandType[CommandType["START_TIMER"] = 75] = "START_TIMER";
1761
+ CommandType[CommandType["STOP_TIMER"] = 76] = "STOP_TIMER";
1762
+ CommandType[CommandType["BEEP"] = 77] = "BEEP";
1763
+ CommandType[CommandType["CREATE_TOOLBAR"] = 78] = "CREATE_TOOLBAR";
1764
+ CommandType[CommandType["DELETE_TOOLBAR"] = 79] = "DELETE_TOOLBAR";
1765
+ CommandType[CommandType["CREATE_TOOLBAR_ITEM"] = 80] = "CREATE_TOOLBAR_ITEM";
1766
+ CommandType[CommandType["DELETE_TOOLBAR_ITEM"] = 81] = "DELETE_TOOLBAR_ITEM";
1767
+ CommandType[CommandType["CREATE_STATUS_BAR"] = 82] = "CREATE_STATUS_BAR";
1768
+ CommandType[CommandType["PROP_SET_SB_PANE_WIDTH"] = 83] = "PROP_SET_SB_PANE_WIDTH";
1769
+ CommandType[CommandType["CREATE_SB_LABEL"] = 84] = "CREATE_SB_LABEL";
1770
+ CommandType[CommandType["CREATE_SB_IMAGE"] = 85] = "CREATE_SB_IMAGE";
1771
+ CommandType[CommandType["SHOW_TMP_EDITOR"] = 86] = "SHOW_TMP_EDITOR";
1772
+ CommandType[CommandType["PROP_SET_TRANSLATOR"] = 87] = "PROP_SET_TRANSLATOR";
1773
+ CommandType[CommandType["PROP_SET_PASSWORD_EDIT"] = 88] = "PROP_SET_PASSWORD_EDIT";
1774
+ CommandType[CommandType["PROP_SET_TITLE_BAR"] = 89] = "PROP_SET_TITLE_BAR";
1775
+ CommandType[CommandType["PROP_SHOW_FULL_ROW"] = 90] = "PROP_SHOW_FULL_ROW";
1776
+ CommandType[CommandType["PROP_SHOW_BUTTONS"] = 91] = "PROP_SHOW_BUTTONS";
1777
+ CommandType[CommandType["PROP_SHOW_LINES"] = 92] = "PROP_SHOW_LINES";
1778
+ CommandType[CommandType["PROP_SHOW_SCROLLBAR"] = 93] = "PROP_SHOW_SCROLLBAR";
1779
+ CommandType[CommandType["SET_ENV_ACCESS_TEST"] = 94] = "SET_ENV_ACCESS_TEST";
1780
+ CommandType[CommandType["SET_ENV_TOOLTIP_TIMEOUT"] = 95] = "SET_ENV_TOOLTIP_TIMEOUT";
1781
+ CommandType[CommandType["SET_ENV_SPECIAL_TEXT_SIZE_FACTORING"] = 96] = "SET_ENV_SPECIAL_TEXT_SIZE_FACTORING";
1782
+ CommandType[CommandType["SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME"] = 97] = "SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME";
1783
+ CommandType[CommandType["PROP_SET_STARTUP_POSITION"] = 98] = "PROP_SET_STARTUP_POSITION";
1784
+ CommandType[CommandType["PROP_SET_CHECK_BOX_CHECKED"] = 99] = "PROP_SET_CHECK_BOX_CHECKED";
1785
+ CommandType[CommandType["COMBO_DROP_DOWN"] = 100] = "COMBO_DROP_DOWN";
1786
+ CommandType[CommandType["SET_ACTIVETE_KEYBOARD_LAYOUT"] = 101] = "SET_ACTIVETE_KEYBOARD_LAYOUT";
1787
+ CommandType[CommandType["SET_TAG_DATA_LINK_VISITED"] = 102] = "SET_TAG_DATA_LINK_VISITED";
1788
+ CommandType[CommandType["ALLOW_UPDATE"] = 103] = "ALLOW_UPDATE";
1789
+ CommandType[CommandType["SET_ALIGNMENT"] = 104] = "SET_ALIGNMENT";
1790
+ CommandType[CommandType["BULLET"] = 105] = "BULLET";
1791
+ CommandType[CommandType["INDENT"] = 106] = "INDENT";
1792
+ CommandType[CommandType["UNINDENT"] = 107] = "UNINDENT";
1793
+ CommandType[CommandType["CHANGE_COLUMN_SORT_MARK"] = 108] = "CHANGE_COLUMN_SORT_MARK";
1794
+ CommandType[CommandType["SET_CURRENT_CURSOR"] = 109] = "SET_CURRENT_CURSOR";
1795
+ CommandType[CommandType["REORDER_COLUMNS"] = 110] = "REORDER_COLUMNS";
1796
+ CommandType[CommandType["RESTORE_COLUMNS"] = 111] = "RESTORE_COLUMNS";
1797
+ CommandType[CommandType["ACTIVATE_FORM"] = 112] = "ACTIVATE_FORM";
1798
+ CommandType[CommandType["LOCK_WINDOW_UPDATE"] = 113] = "LOCK_WINDOW_UPDATE";
1799
+ CommandType[CommandType["ENABLE_XPTHEMES"] = 114] = "ENABLE_XPTHEMES";
1800
+ CommandType[CommandType["TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW"] = 115] = "TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW";
1801
+ CommandType[CommandType["REGISTER_DN_CTRL_VALUE_CHANGED_EVENT"] = 116] = "REGISTER_DN_CTRL_VALUE_CHANGED_EVENT";
1802
+ CommandType[CommandType["SET_TABLE_ORG_ROW_HEIGHT"] = 117] = "SET_TABLE_ORG_ROW_HEIGHT";
1803
+ CommandType[CommandType["SET_TOOLBAR"] = 118] = "SET_TOOLBAR";
1804
+ CommandType[CommandType["CREATE_ENTRY_IN_CONTROLS_MAP"] = 119] = "CREATE_ENTRY_IN_CONTROLS_MAP";
1805
+ CommandType[CommandType["REMOVE_ENTRY_FROM_CONTROLS_MAP"] = 120] = "REMOVE_ENTRY_FROM_CONTROLS_MAP";
1806
+ CommandType[CommandType["PROCESS_PRESS_EVENT"] = 121] = "PROCESS_PRESS_EVENT";
1807
+ CommandType[CommandType["SET_MARKED_ITEM_STATE"] = 122] = "SET_MARKED_ITEM_STATE";
1808
+ CommandType[CommandType["ACCEPT_DVCONTROL_CHANGES"] = 123] = "ACCEPT_DVCONTROL_CHANGES";
1809
+ CommandType[CommandType["UPDATE_DVCONTROL_ROW"] = 124] = "UPDATE_DVCONTROL_ROW";
1810
+ CommandType[CommandType["ADD_DVCONTROL_HANDLER"] = 125] = "ADD_DVCONTROL_HANDLER";
1811
+ CommandType[CommandType["REMOVE_DVCONTROL_HANDLER"] = 126] = "REMOVE_DVCONTROL_HANDLER";
1812
+ CommandType[CommandType["CREATE_ROW_IN_DVCONTROL"] = 127] = "CREATE_ROW_IN_DVCONTROL";
1813
+ CommandType[CommandType["UPDATE_DVCONTROL_COLUMN"] = 128] = "UPDATE_DVCONTROL_COLUMN";
1814
+ CommandType[CommandType["DELETE_DVCONTROL_ROW"] = 129] = "DELETE_DVCONTROL_ROW";
1815
+ CommandType[CommandType["SET_DVCONTROL_ROW_POSITION"] = 130] = "SET_DVCONTROL_ROW_POSITION";
1816
+ CommandType[CommandType["REJECT_DVCONTROL_COLUMN_CHANGES"] = 131] = "REJECT_DVCONTROL_COLUMN_CHANGES";
1817
+ CommandType[CommandType["SET_DESIGNER_VALUES"] = 132] = "SET_DESIGNER_VALUES";
1818
+ CommandType[CommandType["PROP_SET_EDIT_HINT"] = 133] = "PROP_SET_EDIT_HINT";
1819
+ CommandType[CommandType["PROP_SET_MULTI_COLUMN_DISPLAY"] = 134] = "PROP_SET_MULTI_COLUMN_DISPLAY";
1820
+ CommandType[CommandType["SET_ENV_LAMGUAGE"] = 135] = "SET_ENV_LAMGUAGE";
1821
+ CommandType[CommandType["SET_LAST_IN_CONTEXT"] = 136] = "SET_LAST_IN_CONTEXT";
1822
+ CommandType[CommandType["SET_CARET"] = 137] = "SET_CARET";
1823
+ CommandType[CommandType["SET_RECORDS_BEFORE_CURRENT_VIEW"] = 138] = "SET_RECORDS_BEFORE_CURRENT_VIEW";
1824
+ CommandType[CommandType["SET_VALUE"] = 139] = "SET_VALUE";
1825
+ CommandType[CommandType["SET_ATTRIBUTE"] = 140] = "SET_ATTRIBUTE";
1826
+ CommandType[CommandType["SET_PROPERTY"] = 141] = "SET_PROPERTY";
1827
+ CommandType[CommandType["SET_CLASS"] = 142] = "SET_CLASS";
1828
+ CommandType[CommandType["SET_STYLE"] = 143] = "SET_STYLE";
1829
+ CommandType[CommandType["REFRESH_TASK"] = 144] = "REFRESH_TASK";
1830
+ CommandType[CommandType["PROP_SET_USER_PROPERTY"] = 145] = "PROP_SET_USER_PROPERTY";
1831
+ CommandType[CommandType["PROP_SET_CUSTOM_VALIDATOR"] = 146] = "PROP_SET_CUSTOM_VALIDATOR";
1832
+ CommandType[CommandType["SET_IS_ROW_EDITING"] = 147] = "SET_IS_ROW_EDITING";
1833
+ CommandType[CommandType["SET_NOT_IS_ROW_EDITING"] = 148] = "SET_NOT_IS_ROW_EDITING";
1834
+ CommandType[CommandType["SET_EMPTY_DATAVIEW"] = 149] = "SET_EMPTY_DATAVIEW";
1835
+ CommandType[CommandType["SET_IS_LOGGED_IN"] = 150] = "SET_IS_LOGGED_IN";
1836
+ CommandType[CommandType["RELOAD_PAGE"] = 151] = "RELOAD_PAGE";
1837
+ CommandType[CommandType["EXIT_MAGIC"] = 152] = "EXIT_MAGIC";
1838
+ CommandType[CommandType["CALL_JS"] = 153] = "CALL_JS";
1839
+ CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
1840
+ CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
1841
+ CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
1826
1842
  })(exports.CommandType || (exports.CommandType = {}));
1843
+ exports.HtmlProperties = void 0;
1827
1844
  (function (HtmlProperties) {
1828
1845
  HtmlProperties["Visible"] = "visible";
1829
1846
  HtmlProperties["Enabled"] = "enabled";
@@ -1843,11 +1860,13 @@
1843
1860
  HtmlProperties["BindingLevel"] = "bindingLevel";
1844
1861
  HtmlProperties["ZoomButtonTooltip"] = "ZoomButtonTooltip";
1845
1862
  })(exports.HtmlProperties || (exports.HtmlProperties = {}));
1863
+ exports.MenuStyle = void 0;
1846
1864
  (function (MenuStyle) {
1847
1865
  MenuStyle[MenuStyle["MENU_STYLE_PULLDOWN"] = 1] = "MENU_STYLE_PULLDOWN";
1848
1866
  MenuStyle[MenuStyle["MENU_STYLE_CONTEXT"] = 2] = "MENU_STYLE_CONTEXT";
1849
1867
  MenuStyle[MenuStyle["MENU_STYLE_TOOLBAR"] = 3] = "MENU_STYLE_TOOLBAR";
1850
1868
  })(exports.MenuStyle || (exports.MenuStyle = {}));
1869
+ exports.DockingStyle = void 0;
1851
1870
  (function (DockingStyle) {
1852
1871
  DockingStyle[DockingStyle["NONE"] = 0] = "NONE";
1853
1872
  DockingStyle[DockingStyle["BOTTOM"] = 1] = "BOTTOM";
@@ -1856,6 +1875,7 @@
1856
1875
  DockingStyle[DockingStyle["RIGHT"] = 4] = "RIGHT";
1857
1876
  DockingStyle[DockingStyle["TOP"] = 5] = "TOP";
1858
1877
  })(exports.DockingStyle || (exports.DockingStyle = {}));
1878
+ exports.RaisedBy = void 0;
1859
1879
  (function (RaisedBy) {
1860
1880
  RaisedBy[RaisedBy["USER_ACTION"] = 0] = "USER_ACTION";
1861
1881
  RaisedBy[RaisedBy["CLOSE_SYSTEM_MENU"] = 1] = "CLOSE_SYSTEM_MENU";
@@ -1864,11 +1884,13 @@
1864
1884
  RaisedBy[RaisedBy["INTERNAL"] = 4] = "INTERNAL";
1865
1885
  RaisedBy[RaisedBy["KBPUT"] = 5] = "KBPUT";
1866
1886
  })(exports.RaisedBy || (exports.RaisedBy = {}));
1887
+ exports.TraverseMode = void 0;
1867
1888
  (function (TraverseMode) {
1868
1889
  TraverseMode[TraverseMode["NONE"] = 1] = "NONE";
1869
1890
  TraverseMode[TraverseMode["WITHIN_CONTROL"] = 2] = "WITHIN_CONTROL";
1870
1891
  TraverseMode[TraverseMode["BETWEEN_CONTROLS"] = 3] = "BETWEEN_CONTROLS";
1871
1892
  })(exports.TraverseMode || (exports.TraverseMode = {}));
1893
+ exports.ClipFormats = void 0;
1872
1894
  (function (ClipFormats) {
1873
1895
  ClipFormats[ClipFormats["FORMAT_USER"] = 0] = "FORMAT_USER";
1874
1896
  ClipFormats[ClipFormats["FORMAT_TEXT"] = 1] = "FORMAT_TEXT";
@@ -1880,6 +1902,7 @@
1880
1902
  ClipFormats[ClipFormats["FORMAT_UNICODE_TEXT"] = 7] = "FORMAT_UNICODE_TEXT";
1881
1903
  ClipFormats["FORMAT_UNKNOWN"] = "c";
1882
1904
  })(exports.ClipFormats || (exports.ClipFormats = {}));
1905
+ exports.OverlayType = void 0;
1883
1906
  (function (OverlayType) {
1884
1907
  OverlayType[OverlayType["Overlay"] = 0] = "Overlay";
1885
1908
  OverlayType[OverlayType["Alert"] = 1] = "Alert";
@@ -2038,6 +2061,10 @@
2038
2061
  var maxRows = guiInteractive.getMaxRowsInPaginatedTable(control);
2039
2062
  return (maxRows);
2040
2063
  };
2064
+ Commands.getLastRoute = function () {
2065
+ var guiInteractive = new GuiInteractive();
2066
+ return guiInteractive.getLastRoute();
2067
+ };
2041
2068
  Commands.addBoolWithLine = function (commandType, obj, line, bool) {
2042
2069
  var guiCommand = new GuiCommand(obj, commandType);
2043
2070
  guiCommand.Bool1 = bool;
@@ -2139,6 +2166,7 @@
2139
2166
  }());
2140
2167
  Commands.resolveCallback = null;
2141
2168
 
2169
+ exports.PropInterface = void 0;
2142
2170
  (function (PropInterface) {
2143
2171
  PropInterface[PropInterface["PROP_TYPE_LINES_IN_TABLE"] = 3] = "PROP_TYPE_LINES_IN_TABLE";
2144
2172
  PropInterface[PropInterface["PROP_TYPE_HYPERLINK"] = 14] = "PROP_TYPE_HYPERLINK";
@@ -2147,7 +2175,6 @@
2147
2175
  PropInterface[PropInterface["PROP_TYPE_LEFT"] = 21] = "PROP_TYPE_LEFT";
2148
2176
  PropInterface[PropInterface["PROP_TYPE_TOP"] = 22] = "PROP_TYPE_TOP";
2149
2177
  PropInterface[PropInterface["PROP_TYPE_WIDTH"] = 23] = "PROP_TYPE_WIDTH";
2150
- PropInterface[PropInterface["PROP_TYPE_HEIGHT"] = 24] = "PROP_TYPE_HEIGHT";
2151
2178
  PropInterface[PropInterface["PROP_TYPE_LAYER"] = 25] = "PROP_TYPE_LAYER";
2152
2179
  PropInterface[PropInterface["PROP_TYPE_TITLE_BAR"] = 26] = "PROP_TYPE_TITLE_BAR";
2153
2180
  PropInterface[PropInterface["PROP_TYPE_SYSTEM_MENU"] = 27] = "PROP_TYPE_SYSTEM_MENU";
@@ -2268,13 +2295,11 @@
2268
2295
  PropInterface[PropInterface["PROP_TYPE_RADIO_BUTTON_APPEARANCE"] = 401] = "PROP_TYPE_RADIO_BUTTON_APPEARANCE";
2269
2296
  PropInterface[PropInterface["PROP_TYPE_DEFAULT_BUTTON"] = 408] = "PROP_TYPE_DEFAULT_BUTTON";
2270
2297
  PropInterface[PropInterface["PROP_TYPE_ROW_HIGHLIGHT_STYLE"] = 409] = "PROP_TYPE_ROW_HIGHLIGHT_STYLE";
2271
- PropInterface[PropInterface["PROP_TYPE_ROW_HIGHLIGHT_COLOR"] = 410] = "PROP_TYPE_ROW_HIGHLIGHT_COLOR";
2272
2298
  PropInterface[PropInterface["PROP_TYPE_BOTTOM_POSITION_INTERVAL"] = 411] = "PROP_TYPE_BOTTOM_POSITION_INTERVAL";
2273
2299
  PropInterface[PropInterface["PROP_TYPE_MINIMUM_WIDTH"] = 418] = "PROP_TYPE_MINIMUM_WIDTH";
2274
2300
  PropInterface[PropInterface["PROP_TYPE_MINIMUM_HEIGHT"] = 419] = "PROP_TYPE_MINIMUM_HEIGHT";
2275
2301
  PropInterface[PropInterface["PROP_TYPE_SHOW_IN_WINDOW_MENU"] = 422] = "PROP_TYPE_SHOW_IN_WINDOW_MENU";
2276
2302
  PropInterface[PropInterface["PROP_TYPE_SET_COLOR_BY"] = 428] = "PROP_TYPE_SET_COLOR_BY";
2277
- PropInterface[PropInterface["PROP_TYPE_ALTERNATING_BG_COLOR"] = 429] = "PROP_TYPE_ALTERNATING_BG_COLOR";
2278
2303
  PropInterface[PropInterface["PROP_TYPE_ALLOW_REORDER"] = 430] = "PROP_TYPE_ALLOW_REORDER";
2279
2304
  PropInterface[PropInterface["PROP_TYPE_PARK_ON_CLICK"] = 433] = "PROP_TYPE_PARK_ON_CLICK";
2280
2305
  PropInterface[PropInterface["PROP_TYPE_TASK_ID"] = 440] = "PROP_TYPE_TASK_ID";
@@ -2383,6 +2408,7 @@
2383
2408
  PropInterface[PropInterface["PROP_TYPE_CUSTOM_VALIDATORS"] = 732] = "PROP_TYPE_CUSTOM_VALIDATORS";
2384
2409
  PropInterface[PropInterface["PROP_TYPE_BINDING_LEVEL"] = 733] = "PROP_TYPE_BINDING_LEVEL";
2385
2410
  PropInterface[PropInterface["PROP_TYPE_SERVER_READ_AHEAD"] = 736] = "PROP_TYPE_SERVER_READ_AHEAD";
2411
+ PropInterface[PropInterface["PROP_TYPE_AUTO_COMPLETE_MODE_WC"] = 740] = "PROP_TYPE_AUTO_COMPLETE_MODE_WC";
2386
2412
  })(exports.PropInterface || (exports.PropInterface = {}));
2387
2413
 
2388
2414
  var GuiEnvironment = /** @class */ (function () {
@@ -3352,6 +3378,8 @@
3352
3378
  picStr += this.getWholes().toString();
3353
3379
  if (this.getDec() > 0)
3354
3380
  picStr += '.' + this.getDec().toString();
3381
+ if (this._zeroFill)
3382
+ picStr += 'Z';
3355
3383
  var newPic = new PIC(picStr, utils.StorageAttribute.NUMERIC, 0);
3356
3384
  return newPic;
3357
3385
  };
@@ -9632,6 +9660,13 @@
9632
9660
  this.HashCodeString()
9633
9661
  ]);
9634
9662
  };
9663
+ TaskDefinitionId.prototype.fromJSON = function (jsonStr) {
9664
+ var obj = JSON.parse(jsonStr);
9665
+ this.CtlIndex = obj.CtlIndex;
9666
+ this.ProgramIsn = obj.ProgramIsn;
9667
+ this.TaskIsn = obj.TaskIsn;
9668
+ this.IsProgram = obj.IsProgram;
9669
+ };
9635
9670
  return TaskDefinitionId;
9636
9671
  }());
9637
9672
 
@@ -9770,6 +9805,7 @@
9770
9805
  case exports.PropInterface.PROP_TYPE_BEFORE_900_VERSION:
9771
9806
  case exports.PropInterface.PROP_TYPE_FILL_WIDTH:
9772
9807
  case exports.PropInterface.PROP_TYPE_MULTI_COLUMN_DISPLAY:
9808
+ case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
9773
9809
  val = "0";
9774
9810
  break;
9775
9811
  case exports.PropInterface.PROP_TYPE_SYSTEM_MENU:
@@ -9814,9 +9850,7 @@
9814
9850
  case exports.PropInterface.PROP_TYPE_LOAD_IMAGE_FROM:
9815
9851
  case exports.PropInterface.PROP_TYPE_FORM_NAME:
9816
9852
  case exports.PropInterface.PROP_TYPE_COLUMN_TITLE:
9817
- case exports.PropInterface.PROP_TYPE_HEIGHT:
9818
9853
  case exports.PropInterface.PROP_TYPE_WIDTH:
9819
- case exports.PropInterface.PROP_TYPE_ROW_HIGHLIGHT_COLOR:
9820
9854
  case exports.PropInterface.PROP_TYPE_PRGTSK_NUM:
9821
9855
  break;
9822
9856
  case exports.PropInterface.PROP_TYPE_MULTILINE_WORDWRAP_SCROLL:
@@ -9877,7 +9911,6 @@
9877
9911
  }
9878
9912
  }
9879
9913
  break;
9880
- case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
9881
9914
  case exports.PropInterface.PROP_TYPE_IMAGE_LIST_INDEXES:
9882
9915
  case exports.PropInterface.PROP_TYPE_WALLPAPER:
9883
9916
  case exports.PropInterface.PROP_TYPE_TEXT:
@@ -10238,9 +10271,9 @@
10238
10271
  case exports.PropInterface.PROP_TYPE_IS_ROUTER_OUTLET:
10239
10272
  case exports.PropInterface.PROP_TYPE_DEFAULT_OUTLET:
10240
10273
  case exports.PropInterface.PROP_TYPE_SERVER_READ_AHEAD:
10274
+ case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
10241
10275
  this._dataType = utils.StorageAttribute.BOOLEAN;
10242
10276
  break;
10243
- case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
10244
10277
  case exports.PropInterface.PROP_TYPE_IMAGE_FILENAME:
10245
10278
  case exports.PropInterface.PROP_TYPE_EVAL_END_CONDITION:
10246
10279
  case exports.PropInterface.PROP_TYPE_FRAME_NAME:
@@ -10298,7 +10331,6 @@
10298
10331
  case exports.PropInterface.PROP_TYPE_FONT:
10299
10332
  case exports.PropInterface.PROP_TYPE_LAYER:
10300
10333
  case exports.PropInterface.PROP_TYPE_WIDTH:
10301
- case exports.PropInterface.PROP_TYPE_HEIGHT:
10302
10334
  case exports.PropInterface.PROP_TYPE_TITLE_HEIGHT:
10303
10335
  case exports.PropInterface.PROP_TYPE_COLOR:
10304
10336
  case exports.PropInterface.PROP_TYPE_LEFT:
@@ -10555,7 +10587,6 @@
10555
10587
  if (!skip && mgFormBase.isSubForm()) {
10556
10588
  skip = true;
10557
10589
  switch (this._id) {
10558
- case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
10559
10590
  case exports.PropInterface.PROP_TYPE_CUSTOM_PROPERTIES:
10560
10591
  case exports.PropInterface.PROP_TYPE_CUSTOM_VALIDATORS:
10561
10592
  skip = false;
@@ -10750,10 +10781,10 @@
10750
10781
  case exports.PropInterface.PROP_TYPE_MODIFIABLE: return [3 /*break*/, 11];
10751
10782
  case exports.PropInterface.PROP_TYPE_TOOLTIP: return [3 /*break*/, 13];
10752
10783
  case exports.PropInterface.PROP_TYPE_DISPLAY_LIST: return [3 /*break*/, 14];
10753
- case exports.PropInterface.PROP_TYPE_VISIBLE_LAYERS_LIST: return [3 /*break*/, 16];
10754
- case exports.PropInterface.PROP_TYPE_FORMAT: return [3 /*break*/, 18];
10755
- case exports.PropInterface.PROP_TYPE_LABEL: return [3 /*break*/, 19];
10756
- case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON: return [3 /*break*/, 21];
10784
+ case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC: return [3 /*break*/, 16];
10785
+ case exports.PropInterface.PROP_TYPE_VISIBLE_LAYERS_LIST: return [3 /*break*/, 17];
10786
+ case exports.PropInterface.PROP_TYPE_FORMAT: return [3 /*break*/, 19];
10787
+ case exports.PropInterface.PROP_TYPE_LABEL: return [3 /*break*/, 20];
10757
10788
  case exports.PropInterface.PROP_TYPE_PASSWORD: return [3 /*break*/, 22];
10758
10789
  case exports.PropInterface.PROP_TYPE_MODIFY_IN_QUERY: return [3 /*break*/, 23];
10759
10790
  case exports.PropInterface.PROP_TYPE_TAB_IN: return [3 /*break*/, 23];
@@ -10800,19 +10831,19 @@
10800
10831
  case 15:
10801
10832
  _b.sent();
10802
10833
  return [3 /*break*/, 28];
10803
- case 16: return [4 /*yield*/, this.onVisibleLayerList(line)];
10804
- case 17:
10805
- _b.sent();
10834
+ case 16:
10835
+ this.onAutoCompleteMode();
10806
10836
  return [3 /*break*/, 28];
10837
+ case 17: return [4 /*yield*/, this.onVisibleLayerList(line)];
10807
10838
  case 18:
10808
- this.onFormat();
10809
- return [3 /*break*/, 28];
10810
- case 19: return [4 /*yield*/, this.onLabel(line)];
10811
- case 20:
10812
10839
  _b.sent();
10813
10840
  return [3 /*break*/, 28];
10841
+ case 19:
10842
+ this.onFormat();
10843
+ return [3 /*break*/, 28];
10844
+ case 20: return [4 /*yield*/, this.onLabel(line)];
10814
10845
  case 21:
10815
- this.onDefaultButton();
10846
+ _b.sent();
10816
10847
  return [3 /*break*/, 28];
10817
10848
  case 22:
10818
10849
  this.onPassword();
@@ -11190,7 +11221,7 @@
11190
11221
  case 0:
11191
11222
  if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/, 3];
11192
11223
  ctrl = this._parentObj;
11193
- if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio())) return [3 /*break*/, 2];
11224
+ if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio() || ctrl.HasAutocomplete())) return [3 /*break*/, 2];
11194
11225
  line = (currLine === mscorelib.Int32.MinValue) ? ctrl.getDisplayLine(false) : currLine;
11195
11226
  return [4 /*yield*/, ctrl.refreshAndSetItemsList(line, true)];
11196
11227
  case 1:
@@ -11255,7 +11286,7 @@
11255
11286
  return __generator(this, function (_c) {
11256
11287
  switch (_c.label) {
11257
11288
  case 0:
11258
- if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/, 8];
11289
+ if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/, 10];
11259
11290
  ctrl = this._parentObj;
11260
11291
  line = void 0;
11261
11292
  if (currLine === mscorelib.Int32.MinValue)
@@ -11264,7 +11295,7 @@
11264
11295
  line = currLine;
11265
11296
  if (!(ctrl.Type === utils.MgControlType.CTRL_TYPE_CHECKBOX)) return [3 /*break*/, 1];
11266
11297
  this.addCommandTypeText(line);
11267
- return [3 /*break*/, 7];
11298
+ return [3 /*break*/, 9];
11268
11299
  case 1:
11269
11300
  if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio())) return [3 /*break*/, 6];
11270
11301
  _b = (_a = ctrl).setRange;
@@ -11280,24 +11311,21 @@
11280
11311
  case 4:
11281
11312
  _c.sent();
11282
11313
  _c.label = 5;
11283
- case 5: return [3 /*break*/, 7];
11284
- case 6: throw new mscorelib.ApplicationException("Property.onLabel(), not support control");
11285
- case 7: return [3 /*break*/, 9];
11286
- case 8: throw new mscorelib.ApplicationException("in Property.onLabel()");
11287
- case 9: return [2 /*return*/];
11314
+ case 5: return [3 /*break*/, 9];
11315
+ case 6:
11316
+ if (!ctrl.HasAutocomplete()) return [3 /*break*/, 8];
11317
+ return [4 /*yield*/, ctrl.refreshAndSetItemsList(line, true)];
11318
+ case 7:
11319
+ _c.sent();
11320
+ return [3 /*break*/, 9];
11321
+ case 8: throw new mscorelib.ApplicationException("Property.onLabel(), not support control");
11322
+ case 9: return [3 /*break*/, 11];
11323
+ case 10: throw new mscorelib.ApplicationException("in Property.onLabel()");
11324
+ case 11: return [2 /*return*/];
11288
11325
  }
11289
11326
  });
11290
11327
  });
11291
11328
  };
11292
- Property.prototype.onDefaultButton = function () {
11293
- if (this._parentType === GuiConstants.PARENT_TYPE_FORM || this._parentType === GuiConstants.PARENT_TYPE_CONTROL) {
11294
- var form = this._parentObj.getForm();
11295
- var defaultButton = form.getCtrlByName(this.GetComputedValue(), utils.MgControlType.CTRL_TYPE_BUTTON);
11296
- var line = (defaultButton === null) ? 0 : defaultButton.getDisplayLine(false);
11297
- }
11298
- else
11299
- throw new mscorelib.ApplicationException("in Property.onDefaultButton()");
11300
- };
11301
11329
  Property.prototype.getObjectByParentObj = function () {
11302
11330
  var result = this._parentObj;
11303
11331
  if (this._parentType === GuiConstants.PARENT_TYPE_FORM) {
@@ -11401,7 +11429,7 @@
11401
11429
  switch (_e.label) {
11402
11430
  case 0:
11403
11431
  mgControl = this._parentObj;
11404
- if (!(mgControl.ModifiedByUser || this.GetTaskByParentObject().IsInRecompute())) return [3 /*break*/, 11];
11432
+ if (!(mgControl.ModifiedByUser || mgControl.ValidateControl || this.GetTaskByParentObject().IsInRecompute())) return [3 /*break*/, 11];
11405
11433
  _e.label = 1;
11406
11434
  case 1:
11407
11435
  _e.trys.push([1, 9, 10, 11]);
@@ -11488,6 +11516,8 @@
11488
11516
  else
11489
11517
  throw new mscorelib.ApplicationException("in Property.BindingLevel()");
11490
11518
  };
11519
+ Property.prototype.onAutoCompleteMode = function () {
11520
+ };
11491
11521
  Property.prototype.GetRetrunValueForCustomPropertyExpression = function (expression) {
11492
11522
  return __awaiter(this, void 0, void 0, function () {
11493
11523
  var len, expStorageAttribute, wasEvaluated, returnValue, compIdx, tempPic;
@@ -13966,6 +13996,7 @@
13966
13996
  _this.forceRefresh = false;
13967
13997
  _this.RefreshOnVisible = false;
13968
13998
  _this.InControl = false;
13999
+ _this.ValidateControl = false;
13969
14000
  _this.PromptHelp = null;
13970
14001
  if (arguments.length === 0) {
13971
14002
  _this.constructor_0();
@@ -14515,7 +14546,12 @@
14515
14546
  return this._pic.getAttr() === utils.StorageAttribute.DATE || this._pic.getAttr() === utils.StorageAttribute.TIME;
14516
14547
  };
14517
14548
  MgControlBase.prototype.SupportsDataSource = function () {
14518
- return _super_1.prototype.isSelectionCtrl.call(this) || _super_1.prototype.isTabControl.call(this) || _super_1.prototype.isRadio.call(this);
14549
+ return _super_1.prototype.isSelectionCtrl.call(this) || _super_1.prototype.isTabControl.call(this) || _super_1.prototype.isRadio.call(this) || this.HasAutocomplete();
14550
+ };
14551
+ MgControlBase.prototype.HasAutocomplete = function () {
14552
+ if (_super_1.prototype.isTextControl.call(this))
14553
+ return this.getProp(exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC).GetComputedValueBoolean();
14554
+ return false;
14519
14555
  };
14520
14556
  MgControlBase.prototype.getIndexOfChoice = function (mgVal, line, isNull) {
14521
14557
  return __awaiter(this, void 0, void 0, function () {
@@ -14999,7 +15035,7 @@
14999
15035
  };
15000
15036
  MgControlBase.prototype.getCurrentLinkIdx = function () {
15001
15037
  var currLinkIdx = 0;
15002
- if (_super_1.prototype.isChoiceControl.call(this)) {
15038
+ if (_super_1.prototype.isChoiceControl.call(this) || this.HasAutocomplete()) {
15003
15039
  var currentLayers = this.getCurrentIndexOfChoice();
15004
15040
  var currLinkIndice = this.getLinkIdxFromLayer(currentLayers);
15005
15041
  currLinkIdx = currLinkIndice[0];
@@ -15533,7 +15569,7 @@
15533
15569
  }
15534
15570
  _e.label = 1;
15535
15571
  case 1:
15536
- _e.trys.push([1, 19, , 20]);
15572
+ _e.trys.push([1, 21, , 22]);
15537
15573
  prevValue = this._prevValues.get_Item(line);
15538
15574
  prevNull = this.getPrevIsNull();
15539
15575
  if (utils.StorageAttributeCheck.IsTypeAlphaOrUnicode(this.DataType)) {
@@ -15576,9 +15612,9 @@
15576
15612
  case utils.MgControlType.CTRL_TYPE_LIST: return [3 /*break*/, 6];
15577
15613
  case utils.MgControlType.CTRL_TYPE_BUTTON: return [3 /*break*/, 11];
15578
15614
  case utils.MgControlType.CTRL_TYPE_TEXT: return [3 /*break*/, 11];
15579
- case utils.MgControlType.CTRL_TYPE_RADIO: return [3 /*break*/, 12];
15615
+ case utils.MgControlType.CTRL_TYPE_RADIO: return [3 /*break*/, 14];
15580
15616
  }
15581
- return [3 /*break*/, 14];
15617
+ return [3 /*break*/, 16];
15582
15618
  case 2: return [2 /*return*/];
15583
15619
  case 3:
15584
15620
  if (valueChanged && this.Value != null)
@@ -15624,8 +15660,14 @@
15624
15660
  else
15625
15661
  Commands.addValueWithLine(exports.CommandType.SET_VALUE, this, line, +this.Value);
15626
15662
  _e.label = 10;
15627
- case 10: return [3 /*break*/, 15];
15663
+ case 10: return [3 /*break*/, 17];
15628
15664
  case 11:
15665
+ if (!this.HasAutocomplete()) return [3 /*break*/, 13];
15666
+ return [4 /*yield*/, this.refreshAndSetItemListByDataSource(line, valueChanged)];
15667
+ case 12:
15668
+ _e.sent();
15669
+ _e.label = 13;
15670
+ case 13:
15629
15671
  if (valueChanged) {
15630
15672
  if (this.IsImageButton()) {
15631
15673
  this.setImageWithFileName(this.Value);
@@ -15635,36 +15677,36 @@
15635
15677
  }
15636
15678
  else
15637
15679
  return [2 /*return*/];
15638
- return [3 /*break*/, 15];
15639
- case 12: return [4 /*yield*/, this.refreshAndSetItemListByDataSource(line, valueChanged)];
15640
- case 13:
15680
+ return [3 /*break*/, 17];
15681
+ case 14: return [4 /*yield*/, this.refreshAndSetItemListByDataSource(line, valueChanged)];
15682
+ case 15:
15641
15683
  valueChanged = _e.sent();
15642
15684
  if (!valueChanged)
15643
15685
  return [2 /*return*/];
15644
15686
  this.setRadioChecked(this.Value);
15645
- return [3 /*break*/, 15];
15646
- case 14:
15687
+ return [3 /*break*/, 17];
15688
+ case 16:
15647
15689
  Events.WriteExceptionToLog(mscorelib.NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
15648
15690
  return [2 /*return*/];
15649
- case 15:
15650
- if (!(_super.isChoiceControl.call(this) && valueChanged)) return [3 /*break*/, 18];
15691
+ case 17:
15692
+ if (!(_super.isChoiceControl.call(this) && valueChanged)) return [3 /*break*/, 20];
15651
15693
  _c = this.updatePropertyLogicNesting;
15652
15694
  _d = [exports.PropInterface.PROP_TYPE_VISIBLE, exports.CommandType.PROP_SET_VISIBLE];
15653
15695
  return [4 /*yield*/, this.checkProp(exports.PropInterface.PROP_TYPE_VISIBLE, true)];
15654
- case 16: return [4 /*yield*/, _c.apply(this, _d.concat([_e.sent(), false]))];
15655
- case 17:
15656
- _e.sent();
15657
- _e.label = 18;
15658
- case 18: return [3 /*break*/, 20];
15696
+ case 18: return [4 /*yield*/, _c.apply(this, _d.concat([_e.sent(), false]))];
15659
15697
  case 19:
15698
+ _e.sent();
15699
+ _e.label = 20;
15700
+ case 20: return [3 /*break*/, 22];
15701
+ case 21:
15660
15702
  ex_360_1 = _e.sent();
15661
15703
  if (ex_360_1 instanceof mscorelib.Exception) {
15662
15704
  Events.WriteExceptionToLog(mscorelib.NString.Format("in Control.RefreshDisplayValue() for control: {0}", this.Name));
15663
15705
  }
15664
15706
  else
15665
15707
  throw ex_360_1;
15666
- return [3 /*break*/, 20];
15667
- case 20: return [2 /*return*/];
15708
+ return [3 /*break*/, 22];
15709
+ case 22: return [2 /*return*/];
15668
15710
  }
15669
15711
  });
15670
15712
  });
@@ -15845,7 +15887,7 @@
15845
15887
  return [4 /*yield*/, this.refreshDispRange(execComputeChoice)];
15846
15888
  case 1:
15847
15889
  optionsStrings = _a.sent();
15848
- if (!(_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this))) return [3 /*break*/, 2];
15890
+ if (!(_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete())) return [3 /*break*/, 2];
15849
15891
  options = optionsStrings.map(function (displayValue, index, arr) {
15850
15892
  return { index: index, displayValue: displayValue };
15851
15893
  });
@@ -16116,21 +16158,6 @@
16116
16158
  });
16117
16159
  });
16118
16160
  };
16119
- MgControlBase.prototype.refreshDefaultButton = function () {
16120
- return __awaiter(this, void 0, void 0, function () {
16121
- var prop;
16122
- return __generator(this, function (_a) {
16123
- switch (_a.label) {
16124
- case 0:
16125
- prop = this.Form.getProp(exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON);
16126
- return [4 /*yield*/, prop.RefreshDisplay(true)];
16127
- case 1:
16128
- _a.sent();
16129
- return [2 /*return*/];
16130
- }
16131
- });
16132
- });
16133
- };
16134
16161
  MgControlBase.prototype.RaiseControlHitOnLeftClickOfMouseDown = function () {
16135
16162
  var raiseCtrlHit = false;
16136
16163
  if (!_super_1.prototype.IsHyperTextButton.call(this) && !_super_1.prototype.isRadio.call(this) && !_super_1.prototype.isTabControl.call(this)) {
@@ -17472,10 +17499,7 @@
17472
17499
  Styles.MSGBOX_RESULT_RETRY = 4;
17473
17500
  Styles.MSGBOX_RESULT_IGNORE = 5;
17474
17501
  Styles.MSGBOX_RESULT_YES = 6;
17475
- Styles.MSGBOX_RESULT_NO = 7;
17476
- Styles.MSGBOX_DEFAULT_BUTTON_1 = 0x00000000;
17477
- Styles.MSGBOX_DEFAULT_BUTTON_2 = 0x00000100;
17478
- Styles.MSGBOX_DEFAULT_BUTTON_3 = 0x00000200;
17502
+ Styles.MSGBOX_RESULT_NO = 7;
17479
17503
 
17480
17504
  var RuntimeContextBase = /** @class */ (function () {
17481
17505
  function RuntimeContextBase() {
@@ -17486,6 +17510,8 @@
17486
17510
  this.FrameForm = null;
17487
17511
  this.LastClickedCtrlName = null;
17488
17512
  this.LastClickedMenuUid = 0;
17513
+ this.RemovedContextFromServer = false;
17514
+ this.RemovingContextFromServer = false;
17489
17515
  this.CurrentClickedCtrl = null;
17490
17516
  this.CurrentClickedRadio = null;
17491
17517
  this.DefaultStatusMsg = null;
@@ -18073,7 +18099,8 @@
18073
18099
  ExpressionInterface.EXP_OP_IS_LOGGED_IN = 690;
18074
18100
  ExpressionInterface.EXP_OP_SET_COOKIE = 701;
18075
18101
  ExpressionInterface.EXP_OP_GET_COOKIE = 702;
18076
- ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
18102
+ ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
18103
+ ExpressionInterface.EXP_OP_ROUTEGET = 705;
18077
18104
 
18078
18105
  var GuiExpressionEvaluator = /** @class */ (function () {
18079
18106
  function GuiExpressionEvaluator() {
@@ -18668,7 +18695,6 @@
18668
18695
  this._level = '\0';
18669
18696
  this._enteredRecLevel = false;
18670
18697
  this._currParkedFld = null;
18671
- this.shouldResumeSubformLayout = true;
18672
18698
  this.isInRecompute = false;
18673
18699
  this.CurrentEditingControl = null;
18674
18700
  this.ApplicationGuid = null;
@@ -18725,16 +18751,6 @@
18725
18751
  enumerable: false,
18726
18752
  configurable: true
18727
18753
  });
18728
- Object.defineProperty(GuiTaskBase.prototype, "ShouldResumeSubformLayout", {
18729
- get: function () {
18730
- return this.shouldResumeSubformLayout;
18731
- },
18732
- set: function (value) {
18733
- this.shouldResumeSubformLayout = value;
18734
- },
18735
- enumerable: false,
18736
- configurable: true
18737
- });
18738
18754
  Object.defineProperty(GuiTaskBase.prototype, "IsBlockingBatch", {
18739
18755
  get: function () {
18740
18756
  return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
@@ -18953,49 +18969,24 @@
18953
18969
  };
18954
18970
  GuiTaskBase.prototype.InitForm = function () {
18955
18971
  return __awaiter(this, void 0, void 0, function () {
18956
- var heightProperty;
18957
18972
  return __generator(this, function (_a) {
18958
18973
  switch (_a.label) {
18959
18974
  case 0:
18960
- if (!(this.Form !== null && this.isOpenWin())) return [3 /*break*/, 6];
18975
+ if (!(this.Form !== null && this.isOpenWin())) return [3 /*break*/, 2];
18961
18976
  this.Form.InInitForm = true;
18962
18977
  this.Form.init();
18963
18978
  this.SetRefreshType(utils.Constants.TASK_REFRESH_FORM);
18964
18979
  return [4 /*yield*/, this.RefreshDisplay()];
18965
18980
  case 1:
18966
18981
  _a.sent();
18967
- if (!(this.Form.getSubFormCtrl() === null)) return [3 /*break*/, 4];
18968
- heightProperty = this.Form.GetComputedProperty(exports.PropInterface.PROP_TYPE_HEIGHT);
18969
- if (!(heightProperty !== null)) return [3 /*break*/, 3];
18970
- return [4 /*yield*/, heightProperty.RefreshDisplay(true)];
18971
- case 2:
18972
- _a.sent();
18973
- _a.label = 3;
18974
- case 3: return [3 /*break*/, 5];
18975
- case 4:
18976
- if (this.CanResumeSubformLayout())
18977
- this.ResumeSubformLayout();
18978
- _a.label = 5;
18979
- case 5:
18980
18982
  Commands.beginInvoke();
18981
18983
  this.Form.InInitForm = false;
18982
- _a.label = 6;
18983
- case 6: return [2 /*return*/];
18984
+ _a.label = 2;
18985
+ case 2: return [2 /*return*/];
18984
18986
  }
18985
18987
  });
18986
18988
  });
18987
18989
  };
18988
- GuiTaskBase.prototype.CanResumeSubformLayout = function () {
18989
- return true;
18990
- };
18991
- GuiTaskBase.prototype.ResumeSubformLayout = function () {
18992
- if (this.Form !== null) {
18993
- var subFormCtrl = this.Form.getSubFormCtrl();
18994
- if (subFormCtrl !== null && this.shouldResumeSubformLayout) {
18995
- this.shouldResumeSubformLayout = false;
18996
- }
18997
- }
18998
- };
18999
18990
  GuiTaskBase.prototype.GetLastParkedCtrlName = function (depth) {
19000
18991
  var ancestor = this.GetTaskAncestor(depth);
19001
18992
  var flag = ancestor === null || ancestor._lastParkedCtrl === null;
@@ -19455,5 +19446,5 @@
19455
19446
 
19456
19447
  Object.defineProperty(exports, '__esModule', { value: true });
19457
19448
 
19458
- })));
19449
+ }));
19459
19450
  //# sourceMappingURL=magic-xpa-gui.umd.js.map