@magic-xpa/gui 4.800.0-dev480.98 → 4.800.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.
- package/bundles/magic-xpa-gui.umd.js +217 -245
- package/bundles/magic-xpa-gui.umd.js.map +1 -1
- package/bundles/magic-xpa-gui.umd.min.js +1 -1
- package/bundles/magic-xpa-gui.umd.min.js.map +1 -1
- package/esm2015/src/Commands.js +5 -1
- package/esm2015/src/GuiEnums.js +126 -127
- package/esm2015/src/env/IEnvironment.js +1 -1
- package/esm2015/src/gui/low/GuiInteractive.js +7 -1
- package/esm2015/src/gui/low/Style.js +1 -4
- package/esm2015/src/management/RuntimeContextBase.js +3 -1
- package/esm2015/src/management/exp/ExpressionInterface.js +2 -1
- package/esm2015/src/management/gui/MgControlBase.js +12 -10
- package/esm2015/src/management/gui/PIC.js +3 -1
- package/esm2015/src/management/gui/PropDefaults.js +2 -4
- package/esm2015/src/management/gui/PropInterface.js +2 -4
- package/esm2015/src/management/gui/Property.js +11 -18
- package/esm2015/src/management/tasks/GuiTaskBase.js +1 -28
- package/esm2015/src/management/tasks/TaskDefinitionId.js +8 -1
- package/fesm2015/magic-xpa-gui.js +172 -190
- package/fesm2015/magic-xpa-gui.js.map +1 -1
- package/package.json +2 -2
- package/src/Commands.d.ts +1 -0
- package/src/GuiEnums.d.ts +125 -126
- package/src/env/IEnvironment.d.ts +1 -0
- package/src/gui/low/GuiInteractive.d.ts +3 -1
- package/src/gui/low/Style.d.ts +0 -3
- package/src/management/RuntimeContextBase.d.ts +2 -0
- package/src/management/exp/ExpressionInterface.d.ts +1 -0
- package/src/management/gui/MgControlBase.d.ts +2 -1
- package/src/management/gui/PropInterface.d.ts +2 -4
- package/src/management/gui/Property.d.ts +1 -1
- package/src/management/tasks/GuiTaskBase.d.ts +0 -5
- package/src/management/tasks/TaskDefinitionId.d.ts +1 -0
|
@@ -882,6 +882,7 @@
|
|
|
882
882
|
InteractiveCommandType[InteractiveCommandType["GET_IS_ROW_EDITING"] = 64] = "GET_IS_ROW_EDITING";
|
|
883
883
|
InteractiveCommandType[InteractiveCommandType["GET_MAX_ROWS_IN_PAGINATED_TABLE"] = 65] = "GET_MAX_ROWS_IN_PAGINATED_TABLE";
|
|
884
884
|
InteractiveCommandType[InteractiveCommandType["CALL_JS"] = 66] = "CALL_JS";
|
|
885
|
+
InteractiveCommandType[InteractiveCommandType["GET_LAST_ROUTE"] = 67] = "GET_LAST_ROUTE";
|
|
885
886
|
})(exports.InteractiveCommandType || (exports.InteractiveCommandType = {}));
|
|
886
887
|
var GuiInteractiveBase = /** @class */ (function () {
|
|
887
888
|
function GuiInteractiveBase() {
|
|
@@ -1131,6 +1132,11 @@
|
|
|
1131
1132
|
this.Invoke();
|
|
1132
1133
|
return this._intVal1;
|
|
1133
1134
|
};
|
|
1135
|
+
GuiInteractiveBase.prototype.getLastRoute = function () {
|
|
1136
|
+
this._commandType = exports.InteractiveCommandType.GET_LAST_ROUTE;
|
|
1137
|
+
this.Invoke();
|
|
1138
|
+
return this.resultString;
|
|
1139
|
+
};
|
|
1134
1140
|
GuiInteractiveBase.prototype.GetHiddenRowsCountInTable = function (control) {
|
|
1135
1141
|
this._commandType = exports.InteractiveCommandType.GET_HIDDEN_ROWS_COUNT_IN_TABLE;
|
|
1136
1142
|
this._obj2 = control;
|
|
@@ -1697,132 +1703,131 @@
|
|
|
1697
1703
|
CommandType[CommandType["PROP_SET_IMAGE_FILE_NAME"] = 29] = "PROP_SET_IMAGE_FILE_NAME";
|
|
1698
1704
|
CommandType[CommandType["PROP_SET_IMAGE_DATA"] = 30] = "PROP_SET_IMAGE_DATA";
|
|
1699
1705
|
CommandType[CommandType["PROP_SET_IMAGE_LIST"] = 31] = "PROP_SET_IMAGE_LIST";
|
|
1700
|
-
CommandType[CommandType["
|
|
1701
|
-
CommandType[CommandType["
|
|
1702
|
-
CommandType[CommandType["
|
|
1703
|
-
CommandType[CommandType["
|
|
1704
|
-
CommandType[CommandType["
|
|
1705
|
-
CommandType[CommandType["
|
|
1706
|
-
CommandType[CommandType["
|
|
1707
|
-
CommandType[CommandType["
|
|
1708
|
-
CommandType[CommandType["
|
|
1709
|
-
CommandType[CommandType["
|
|
1710
|
-
CommandType[CommandType["
|
|
1711
|
-
CommandType[CommandType["
|
|
1712
|
-
CommandType[CommandType["
|
|
1713
|
-
CommandType[CommandType["
|
|
1714
|
-
CommandType[CommandType["
|
|
1715
|
-
CommandType[CommandType["
|
|
1716
|
-
CommandType[CommandType["
|
|
1717
|
-
CommandType[CommandType["
|
|
1718
|
-
CommandType[CommandType["
|
|
1719
|
-
CommandType[CommandType["
|
|
1720
|
-
CommandType[CommandType["
|
|
1721
|
-
CommandType[CommandType["
|
|
1722
|
-
CommandType[CommandType["
|
|
1723
|
-
CommandType[CommandType["
|
|
1724
|
-
CommandType[CommandType["
|
|
1725
|
-
CommandType[CommandType["
|
|
1726
|
-
CommandType[CommandType["
|
|
1727
|
-
CommandType[CommandType["
|
|
1728
|
-
CommandType[CommandType["
|
|
1729
|
-
CommandType[CommandType["
|
|
1730
|
-
CommandType[CommandType["
|
|
1731
|
-
CommandType[CommandType["
|
|
1732
|
-
CommandType[CommandType["
|
|
1733
|
-
CommandType[CommandType["
|
|
1734
|
-
CommandType[CommandType["
|
|
1735
|
-
CommandType[CommandType["
|
|
1736
|
-
CommandType[CommandType["
|
|
1737
|
-
CommandType[CommandType["
|
|
1738
|
-
CommandType[CommandType["
|
|
1739
|
-
CommandType[CommandType["
|
|
1740
|
-
CommandType[CommandType["
|
|
1741
|
-
CommandType[CommandType["
|
|
1742
|
-
CommandType[CommandType["
|
|
1743
|
-
CommandType[CommandType["
|
|
1744
|
-
CommandType[CommandType["
|
|
1745
|
-
CommandType[CommandType["
|
|
1746
|
-
CommandType[CommandType["
|
|
1747
|
-
CommandType[CommandType["
|
|
1748
|
-
CommandType[CommandType["
|
|
1749
|
-
CommandType[CommandType["
|
|
1750
|
-
CommandType[CommandType["
|
|
1751
|
-
CommandType[CommandType["
|
|
1752
|
-
CommandType[CommandType["
|
|
1753
|
-
CommandType[CommandType["
|
|
1754
|
-
CommandType[CommandType["
|
|
1755
|
-
CommandType[CommandType["
|
|
1756
|
-
CommandType[CommandType["
|
|
1757
|
-
CommandType[CommandType["
|
|
1758
|
-
CommandType[CommandType["
|
|
1759
|
-
CommandType[CommandType["
|
|
1760
|
-
CommandType[CommandType["
|
|
1761
|
-
CommandType[CommandType["
|
|
1762
|
-
CommandType[CommandType["
|
|
1763
|
-
CommandType[CommandType["
|
|
1764
|
-
CommandType[CommandType["
|
|
1765
|
-
CommandType[CommandType["
|
|
1766
|
-
CommandType[CommandType["
|
|
1767
|
-
CommandType[CommandType["
|
|
1768
|
-
CommandType[CommandType["
|
|
1769
|
-
CommandType[CommandType["
|
|
1770
|
-
CommandType[CommandType["
|
|
1771
|
-
CommandType[CommandType["
|
|
1772
|
-
CommandType[CommandType["
|
|
1773
|
-
CommandType[CommandType["
|
|
1774
|
-
CommandType[CommandType["
|
|
1775
|
-
CommandType[CommandType["
|
|
1776
|
-
CommandType[CommandType["
|
|
1777
|
-
CommandType[CommandType["
|
|
1778
|
-
CommandType[CommandType["
|
|
1779
|
-
CommandType[CommandType["
|
|
1780
|
-
CommandType[CommandType["
|
|
1781
|
-
CommandType[CommandType["
|
|
1782
|
-
CommandType[CommandType["
|
|
1783
|
-
CommandType[CommandType["
|
|
1784
|
-
CommandType[CommandType["
|
|
1785
|
-
CommandType[CommandType["
|
|
1786
|
-
CommandType[CommandType["
|
|
1787
|
-
CommandType[CommandType["
|
|
1788
|
-
CommandType[CommandType["
|
|
1789
|
-
CommandType[CommandType["
|
|
1790
|
-
CommandType[CommandType["
|
|
1791
|
-
CommandType[CommandType["
|
|
1792
|
-
CommandType[CommandType["
|
|
1793
|
-
CommandType[CommandType["
|
|
1794
|
-
CommandType[CommandType["
|
|
1795
|
-
CommandType[CommandType["
|
|
1796
|
-
CommandType[CommandType["
|
|
1797
|
-
CommandType[CommandType["
|
|
1798
|
-
CommandType[CommandType["
|
|
1799
|
-
CommandType[CommandType["
|
|
1800
|
-
CommandType[CommandType["
|
|
1801
|
-
CommandType[CommandType["
|
|
1802
|
-
CommandType[CommandType["
|
|
1803
|
-
CommandType[CommandType["
|
|
1804
|
-
CommandType[CommandType["
|
|
1805
|
-
CommandType[CommandType["
|
|
1806
|
-
CommandType[CommandType["
|
|
1807
|
-
CommandType[CommandType["
|
|
1808
|
-
CommandType[CommandType["
|
|
1809
|
-
CommandType[CommandType["
|
|
1810
|
-
CommandType[CommandType["
|
|
1811
|
-
CommandType[CommandType["
|
|
1812
|
-
CommandType[CommandType["
|
|
1813
|
-
CommandType[CommandType["
|
|
1814
|
-
CommandType[CommandType["
|
|
1815
|
-
CommandType[CommandType["
|
|
1816
|
-
CommandType[CommandType["
|
|
1817
|
-
CommandType[CommandType["
|
|
1818
|
-
CommandType[CommandType["
|
|
1819
|
-
CommandType[CommandType["
|
|
1820
|
-
CommandType[CommandType["
|
|
1821
|
-
CommandType[CommandType["
|
|
1822
|
-
CommandType[CommandType["
|
|
1823
|
-
CommandType[CommandType["
|
|
1824
|
-
CommandType[CommandType["
|
|
1825
|
-
CommandType[CommandType["SHOW_HTML_ERROR"] = 157] = "SHOW_HTML_ERROR";
|
|
1706
|
+
CommandType[CommandType["PROP_SET_TOOLTIP"] = 32] = "PROP_SET_TOOLTIP";
|
|
1707
|
+
CommandType[CommandType["PROP_SET_VISIBLE"] = 33] = "PROP_SET_VISIBLE";
|
|
1708
|
+
CommandType[CommandType["PROP_SET_ENABLE"] = 34] = "PROP_SET_ENABLE";
|
|
1709
|
+
CommandType[CommandType["PROP_SET_MENU_ENABLE"] = 35] = "PROP_SET_MENU_ENABLE";
|
|
1710
|
+
CommandType[CommandType["PROP_SET_VISIBLE_LINES"] = 36] = "PROP_SET_VISIBLE_LINES";
|
|
1711
|
+
CommandType[CommandType["PROP_SET_RIGHT_TO_LEFT"] = 37] = "PROP_SET_RIGHT_TO_LEFT";
|
|
1712
|
+
CommandType[CommandType["PROP_SET_CHECKED"] = 38] = "PROP_SET_CHECKED";
|
|
1713
|
+
CommandType[CommandType["PROP_SET_SELECTION"] = 39] = "PROP_SET_SELECTION";
|
|
1714
|
+
CommandType[CommandType["PROP_SET_LAYOUT_NUM_COLUMN"] = 40] = "PROP_SET_LAYOUT_NUM_COLUMN";
|
|
1715
|
+
CommandType[CommandType["PROP_SET_LINE_VISIBLE"] = 41] = "PROP_SET_LINE_VISIBLE";
|
|
1716
|
+
CommandType[CommandType["PROP_SET_RESIZABLE"] = 42] = "PROP_SET_RESIZABLE";
|
|
1717
|
+
CommandType[CommandType["PROP_SET_ALLOW_REORDER"] = 43] = "PROP_SET_ALLOW_REORDER";
|
|
1718
|
+
CommandType[CommandType["PROP_SET_SORTABLE_COLUMN"] = 44] = "PROP_SET_SORTABLE_COLUMN";
|
|
1719
|
+
CommandType[CommandType["PROP_SET_COLUMN_PLACMENT"] = 45] = "PROP_SET_COLUMN_PLACMENT";
|
|
1720
|
+
CommandType[CommandType["PROP_SET_ICON_FILE_NAME"] = 46] = "PROP_SET_ICON_FILE_NAME";
|
|
1721
|
+
CommandType[CommandType["SET_WINDOW_STATE"] = 47] = "SET_WINDOW_STATE";
|
|
1722
|
+
CommandType[CommandType["SET_COLUMN_ORG_WIDTH"] = 48] = "SET_COLUMN_ORG_WIDTH";
|
|
1723
|
+
CommandType[CommandType["SET_COLUMN_START_POS"] = 49] = "SET_COLUMN_START_POS";
|
|
1724
|
+
CommandType[CommandType["SET_TABLE_ITEMS_COUNT"] = 50] = "SET_TABLE_ITEMS_COUNT";
|
|
1725
|
+
CommandType[CommandType["SET_TABLE_VIRTUAL_ITEMS_COUNT"] = 51] = "SET_TABLE_VIRTUAL_ITEMS_COUNT";
|
|
1726
|
+
CommandType[CommandType["SET_TABLE_VSCROLL_THUMB_POS"] = 52] = "SET_TABLE_VSCROLL_THUMB_POS";
|
|
1727
|
+
CommandType[CommandType["SET_TABLE_VSCROLL_PAGE_SIZE"] = 53] = "SET_TABLE_VSCROLL_PAGE_SIZE";
|
|
1728
|
+
CommandType[CommandType["SET_TABLE_INCLUDES_FIRST"] = 54] = "SET_TABLE_INCLUDES_FIRST";
|
|
1729
|
+
CommandType[CommandType["SET_TABLE_INCLUDES_LAST"] = 55] = "SET_TABLE_INCLUDES_LAST";
|
|
1730
|
+
CommandType[CommandType["SET_TABLE_TOP_INDEX"] = 56] = "SET_TABLE_TOP_INDEX";
|
|
1731
|
+
CommandType[CommandType["SET_SELECTION_INDEX"] = 57] = "SET_SELECTION_INDEX";
|
|
1732
|
+
CommandType[CommandType["INVALIDATE_TABLE"] = 58] = "INVALIDATE_TABLE";
|
|
1733
|
+
CommandType[CommandType["REFRESH_TABLE"] = 59] = "REFRESH_TABLE";
|
|
1734
|
+
CommandType[CommandType["REFRESH_TMP_EDITOR"] = 60] = "REFRESH_TMP_EDITOR";
|
|
1735
|
+
CommandType[CommandType["UPDATE_TMP_EDITOR_INDEX"] = 61] = "UPDATE_TMP_EDITOR_INDEX";
|
|
1736
|
+
CommandType[CommandType["CREATE_TABLE_ROW"] = 62] = "CREATE_TABLE_ROW";
|
|
1737
|
+
CommandType[CommandType["UNDO_CREATE_TABLE_ROW"] = 63] = "UNDO_CREATE_TABLE_ROW";
|
|
1738
|
+
CommandType[CommandType["SET_TABLE_ROW_VISIBILITY"] = 64] = "SET_TABLE_ROW_VISIBILITY";
|
|
1739
|
+
CommandType[CommandType["VALIDATE_TABLE_ROW"] = 65] = "VALIDATE_TABLE_ROW";
|
|
1740
|
+
CommandType[CommandType["INSERT_ROWS"] = 66] = "INSERT_ROWS";
|
|
1741
|
+
CommandType[CommandType["REMOVE_ROWS"] = 67] = "REMOVE_ROWS";
|
|
1742
|
+
CommandType[CommandType["CLEAR_TABLE_COLUMNS_SORT_MARK"] = 68] = "CLEAR_TABLE_COLUMNS_SORT_MARK";
|
|
1743
|
+
CommandType[CommandType["PROP_SET_URL"] = 69] = "PROP_SET_URL";
|
|
1744
|
+
CommandType[CommandType["MOVE_ABOVE"] = 70] = "MOVE_ABOVE";
|
|
1745
|
+
CommandType[CommandType["SET_FOCUS"] = 71] = "SET_FOCUS";
|
|
1746
|
+
CommandType[CommandType["WRITE_TO_MESSAGE_BOX"] = 72] = "WRITE_TO_MESSAGE_BOX";
|
|
1747
|
+
CommandType[CommandType["CLOSE_FORM"] = 73] = "CLOSE_FORM";
|
|
1748
|
+
CommandType[CommandType["REMOVE_SUBFORM_CONTROLS"] = 74] = "REMOVE_SUBFORM_CONTROLS";
|
|
1749
|
+
CommandType[CommandType["START_TIMER"] = 75] = "START_TIMER";
|
|
1750
|
+
CommandType[CommandType["STOP_TIMER"] = 76] = "STOP_TIMER";
|
|
1751
|
+
CommandType[CommandType["BEEP"] = 77] = "BEEP";
|
|
1752
|
+
CommandType[CommandType["CREATE_TOOLBAR"] = 78] = "CREATE_TOOLBAR";
|
|
1753
|
+
CommandType[CommandType["DELETE_TOOLBAR"] = 79] = "DELETE_TOOLBAR";
|
|
1754
|
+
CommandType[CommandType["CREATE_TOOLBAR_ITEM"] = 80] = "CREATE_TOOLBAR_ITEM";
|
|
1755
|
+
CommandType[CommandType["DELETE_TOOLBAR_ITEM"] = 81] = "DELETE_TOOLBAR_ITEM";
|
|
1756
|
+
CommandType[CommandType["CREATE_STATUS_BAR"] = 82] = "CREATE_STATUS_BAR";
|
|
1757
|
+
CommandType[CommandType["PROP_SET_SB_PANE_WIDTH"] = 83] = "PROP_SET_SB_PANE_WIDTH";
|
|
1758
|
+
CommandType[CommandType["CREATE_SB_LABEL"] = 84] = "CREATE_SB_LABEL";
|
|
1759
|
+
CommandType[CommandType["CREATE_SB_IMAGE"] = 85] = "CREATE_SB_IMAGE";
|
|
1760
|
+
CommandType[CommandType["SHOW_TMP_EDITOR"] = 86] = "SHOW_TMP_EDITOR";
|
|
1761
|
+
CommandType[CommandType["PROP_SET_TRANSLATOR"] = 87] = "PROP_SET_TRANSLATOR";
|
|
1762
|
+
CommandType[CommandType["PROP_SET_PASSWORD_EDIT"] = 88] = "PROP_SET_PASSWORD_EDIT";
|
|
1763
|
+
CommandType[CommandType["PROP_SET_TITLE_BAR"] = 89] = "PROP_SET_TITLE_BAR";
|
|
1764
|
+
CommandType[CommandType["PROP_SHOW_FULL_ROW"] = 90] = "PROP_SHOW_FULL_ROW";
|
|
1765
|
+
CommandType[CommandType["PROP_SHOW_BUTTONS"] = 91] = "PROP_SHOW_BUTTONS";
|
|
1766
|
+
CommandType[CommandType["PROP_SHOW_LINES"] = 92] = "PROP_SHOW_LINES";
|
|
1767
|
+
CommandType[CommandType["PROP_SHOW_SCROLLBAR"] = 93] = "PROP_SHOW_SCROLLBAR";
|
|
1768
|
+
CommandType[CommandType["SET_ENV_ACCESS_TEST"] = 94] = "SET_ENV_ACCESS_TEST";
|
|
1769
|
+
CommandType[CommandType["SET_ENV_TOOLTIP_TIMEOUT"] = 95] = "SET_ENV_TOOLTIP_TIMEOUT";
|
|
1770
|
+
CommandType[CommandType["SET_ENV_SPECIAL_TEXT_SIZE_FACTORING"] = 96] = "SET_ENV_SPECIAL_TEXT_SIZE_FACTORING";
|
|
1771
|
+
CommandType[CommandType["SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME"] = 97] = "SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME";
|
|
1772
|
+
CommandType[CommandType["PROP_SET_STARTUP_POSITION"] = 98] = "PROP_SET_STARTUP_POSITION";
|
|
1773
|
+
CommandType[CommandType["PROP_SET_CHECK_BOX_CHECKED"] = 99] = "PROP_SET_CHECK_BOX_CHECKED";
|
|
1774
|
+
CommandType[CommandType["COMBO_DROP_DOWN"] = 100] = "COMBO_DROP_DOWN";
|
|
1775
|
+
CommandType[CommandType["SET_ACTIVETE_KEYBOARD_LAYOUT"] = 101] = "SET_ACTIVETE_KEYBOARD_LAYOUT";
|
|
1776
|
+
CommandType[CommandType["SET_TAG_DATA_LINK_VISITED"] = 102] = "SET_TAG_DATA_LINK_VISITED";
|
|
1777
|
+
CommandType[CommandType["ALLOW_UPDATE"] = 103] = "ALLOW_UPDATE";
|
|
1778
|
+
CommandType[CommandType["SET_ALIGNMENT"] = 104] = "SET_ALIGNMENT";
|
|
1779
|
+
CommandType[CommandType["BULLET"] = 105] = "BULLET";
|
|
1780
|
+
CommandType[CommandType["INDENT"] = 106] = "INDENT";
|
|
1781
|
+
CommandType[CommandType["UNINDENT"] = 107] = "UNINDENT";
|
|
1782
|
+
CommandType[CommandType["CHANGE_COLUMN_SORT_MARK"] = 108] = "CHANGE_COLUMN_SORT_MARK";
|
|
1783
|
+
CommandType[CommandType["SET_CURRENT_CURSOR"] = 109] = "SET_CURRENT_CURSOR";
|
|
1784
|
+
CommandType[CommandType["REORDER_COLUMNS"] = 110] = "REORDER_COLUMNS";
|
|
1785
|
+
CommandType[CommandType["RESTORE_COLUMNS"] = 111] = "RESTORE_COLUMNS";
|
|
1786
|
+
CommandType[CommandType["ACTIVATE_FORM"] = 112] = "ACTIVATE_FORM";
|
|
1787
|
+
CommandType[CommandType["LOCK_WINDOW_UPDATE"] = 113] = "LOCK_WINDOW_UPDATE";
|
|
1788
|
+
CommandType[CommandType["ENABLE_XPTHEMES"] = 114] = "ENABLE_XPTHEMES";
|
|
1789
|
+
CommandType[CommandType["TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW"] = 115] = "TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW";
|
|
1790
|
+
CommandType[CommandType["REGISTER_DN_CTRL_VALUE_CHANGED_EVENT"] = 116] = "REGISTER_DN_CTRL_VALUE_CHANGED_EVENT";
|
|
1791
|
+
CommandType[CommandType["SET_TABLE_ORG_ROW_HEIGHT"] = 117] = "SET_TABLE_ORG_ROW_HEIGHT";
|
|
1792
|
+
CommandType[CommandType["SET_TOOLBAR"] = 118] = "SET_TOOLBAR";
|
|
1793
|
+
CommandType[CommandType["CREATE_ENTRY_IN_CONTROLS_MAP"] = 119] = "CREATE_ENTRY_IN_CONTROLS_MAP";
|
|
1794
|
+
CommandType[CommandType["REMOVE_ENTRY_FROM_CONTROLS_MAP"] = 120] = "REMOVE_ENTRY_FROM_CONTROLS_MAP";
|
|
1795
|
+
CommandType[CommandType["PROCESS_PRESS_EVENT"] = 121] = "PROCESS_PRESS_EVENT";
|
|
1796
|
+
CommandType[CommandType["SET_MARKED_ITEM_STATE"] = 122] = "SET_MARKED_ITEM_STATE";
|
|
1797
|
+
CommandType[CommandType["ACCEPT_DVCONTROL_CHANGES"] = 123] = "ACCEPT_DVCONTROL_CHANGES";
|
|
1798
|
+
CommandType[CommandType["UPDATE_DVCONTROL_ROW"] = 124] = "UPDATE_DVCONTROL_ROW";
|
|
1799
|
+
CommandType[CommandType["ADD_DVCONTROL_HANDLER"] = 125] = "ADD_DVCONTROL_HANDLER";
|
|
1800
|
+
CommandType[CommandType["REMOVE_DVCONTROL_HANDLER"] = 126] = "REMOVE_DVCONTROL_HANDLER";
|
|
1801
|
+
CommandType[CommandType["CREATE_ROW_IN_DVCONTROL"] = 127] = "CREATE_ROW_IN_DVCONTROL";
|
|
1802
|
+
CommandType[CommandType["UPDATE_DVCONTROL_COLUMN"] = 128] = "UPDATE_DVCONTROL_COLUMN";
|
|
1803
|
+
CommandType[CommandType["DELETE_DVCONTROL_ROW"] = 129] = "DELETE_DVCONTROL_ROW";
|
|
1804
|
+
CommandType[CommandType["SET_DVCONTROL_ROW_POSITION"] = 130] = "SET_DVCONTROL_ROW_POSITION";
|
|
1805
|
+
CommandType[CommandType["REJECT_DVCONTROL_COLUMN_CHANGES"] = 131] = "REJECT_DVCONTROL_COLUMN_CHANGES";
|
|
1806
|
+
CommandType[CommandType["SET_DESIGNER_VALUES"] = 132] = "SET_DESIGNER_VALUES";
|
|
1807
|
+
CommandType[CommandType["PROP_SET_EDIT_HINT"] = 133] = "PROP_SET_EDIT_HINT";
|
|
1808
|
+
CommandType[CommandType["PROP_SET_MULTI_COLUMN_DISPLAY"] = 134] = "PROP_SET_MULTI_COLUMN_DISPLAY";
|
|
1809
|
+
CommandType[CommandType["SET_ENV_LAMGUAGE"] = 135] = "SET_ENV_LAMGUAGE";
|
|
1810
|
+
CommandType[CommandType["SET_LAST_IN_CONTEXT"] = 136] = "SET_LAST_IN_CONTEXT";
|
|
1811
|
+
CommandType[CommandType["SET_CARET"] = 137] = "SET_CARET";
|
|
1812
|
+
CommandType[CommandType["SET_RECORDS_BEFORE_CURRENT_VIEW"] = 138] = "SET_RECORDS_BEFORE_CURRENT_VIEW";
|
|
1813
|
+
CommandType[CommandType["SET_VALUE"] = 139] = "SET_VALUE";
|
|
1814
|
+
CommandType[CommandType["SET_ATTRIBUTE"] = 140] = "SET_ATTRIBUTE";
|
|
1815
|
+
CommandType[CommandType["SET_PROPERTY"] = 141] = "SET_PROPERTY";
|
|
1816
|
+
CommandType[CommandType["SET_CLASS"] = 142] = "SET_CLASS";
|
|
1817
|
+
CommandType[CommandType["SET_STYLE"] = 143] = "SET_STYLE";
|
|
1818
|
+
CommandType[CommandType["REFRESH_TASK"] = 144] = "REFRESH_TASK";
|
|
1819
|
+
CommandType[CommandType["PROP_SET_USER_PROPERTY"] = 145] = "PROP_SET_USER_PROPERTY";
|
|
1820
|
+
CommandType[CommandType["PROP_SET_CUSTOM_VALIDATOR"] = 146] = "PROP_SET_CUSTOM_VALIDATOR";
|
|
1821
|
+
CommandType[CommandType["SET_IS_ROW_EDITING"] = 147] = "SET_IS_ROW_EDITING";
|
|
1822
|
+
CommandType[CommandType["SET_NOT_IS_ROW_EDITING"] = 148] = "SET_NOT_IS_ROW_EDITING";
|
|
1823
|
+
CommandType[CommandType["SET_EMPTY_DATAVIEW"] = 149] = "SET_EMPTY_DATAVIEW";
|
|
1824
|
+
CommandType[CommandType["SET_IS_LOGGED_IN"] = 150] = "SET_IS_LOGGED_IN";
|
|
1825
|
+
CommandType[CommandType["RELOAD_PAGE"] = 151] = "RELOAD_PAGE";
|
|
1826
|
+
CommandType[CommandType["EXIT_MAGIC"] = 152] = "EXIT_MAGIC";
|
|
1827
|
+
CommandType[CommandType["CALL_JS"] = 153] = "CALL_JS";
|
|
1828
|
+
CommandType[CommandType["PROP_SET_BINDING_LEVEL"] = 154] = "PROP_SET_BINDING_LEVEL";
|
|
1829
|
+
CommandType[CommandType["SHOW_SPINNER"] = 155] = "SHOW_SPINNER";
|
|
1830
|
+
CommandType[CommandType["SHOW_HTML_ERROR"] = 156] = "SHOW_HTML_ERROR";
|
|
1826
1831
|
})(exports.CommandType || (exports.CommandType = {}));
|
|
1827
1832
|
(function (HtmlProperties) {
|
|
1828
1833
|
HtmlProperties["Visible"] = "visible";
|
|
@@ -2038,6 +2043,10 @@
|
|
|
2038
2043
|
var maxRows = guiInteractive.getMaxRowsInPaginatedTable(control);
|
|
2039
2044
|
return (maxRows);
|
|
2040
2045
|
};
|
|
2046
|
+
Commands.getLastRoute = function () {
|
|
2047
|
+
var guiInteractive = new GuiInteractive();
|
|
2048
|
+
return guiInteractive.getLastRoute();
|
|
2049
|
+
};
|
|
2041
2050
|
Commands.addBoolWithLine = function (commandType, obj, line, bool) {
|
|
2042
2051
|
var guiCommand = new GuiCommand(obj, commandType);
|
|
2043
2052
|
guiCommand.Bool1 = bool;
|
|
@@ -2147,7 +2156,6 @@
|
|
|
2147
2156
|
PropInterface[PropInterface["PROP_TYPE_LEFT"] = 21] = "PROP_TYPE_LEFT";
|
|
2148
2157
|
PropInterface[PropInterface["PROP_TYPE_TOP"] = 22] = "PROP_TYPE_TOP";
|
|
2149
2158
|
PropInterface[PropInterface["PROP_TYPE_WIDTH"] = 23] = "PROP_TYPE_WIDTH";
|
|
2150
|
-
PropInterface[PropInterface["PROP_TYPE_HEIGHT"] = 24] = "PROP_TYPE_HEIGHT";
|
|
2151
2159
|
PropInterface[PropInterface["PROP_TYPE_LAYER"] = 25] = "PROP_TYPE_LAYER";
|
|
2152
2160
|
PropInterface[PropInterface["PROP_TYPE_TITLE_BAR"] = 26] = "PROP_TYPE_TITLE_BAR";
|
|
2153
2161
|
PropInterface[PropInterface["PROP_TYPE_SYSTEM_MENU"] = 27] = "PROP_TYPE_SYSTEM_MENU";
|
|
@@ -2268,13 +2276,11 @@
|
|
|
2268
2276
|
PropInterface[PropInterface["PROP_TYPE_RADIO_BUTTON_APPEARANCE"] = 401] = "PROP_TYPE_RADIO_BUTTON_APPEARANCE";
|
|
2269
2277
|
PropInterface[PropInterface["PROP_TYPE_DEFAULT_BUTTON"] = 408] = "PROP_TYPE_DEFAULT_BUTTON";
|
|
2270
2278
|
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
2279
|
PropInterface[PropInterface["PROP_TYPE_BOTTOM_POSITION_INTERVAL"] = 411] = "PROP_TYPE_BOTTOM_POSITION_INTERVAL";
|
|
2273
2280
|
PropInterface[PropInterface["PROP_TYPE_MINIMUM_WIDTH"] = 418] = "PROP_TYPE_MINIMUM_WIDTH";
|
|
2274
2281
|
PropInterface[PropInterface["PROP_TYPE_MINIMUM_HEIGHT"] = 419] = "PROP_TYPE_MINIMUM_HEIGHT";
|
|
2275
2282
|
PropInterface[PropInterface["PROP_TYPE_SHOW_IN_WINDOW_MENU"] = 422] = "PROP_TYPE_SHOW_IN_WINDOW_MENU";
|
|
2276
2283
|
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
2284
|
PropInterface[PropInterface["PROP_TYPE_ALLOW_REORDER"] = 430] = "PROP_TYPE_ALLOW_REORDER";
|
|
2279
2285
|
PropInterface[PropInterface["PROP_TYPE_PARK_ON_CLICK"] = 433] = "PROP_TYPE_PARK_ON_CLICK";
|
|
2280
2286
|
PropInterface[PropInterface["PROP_TYPE_TASK_ID"] = 440] = "PROP_TYPE_TASK_ID";
|
|
@@ -2383,6 +2389,7 @@
|
|
|
2383
2389
|
PropInterface[PropInterface["PROP_TYPE_CUSTOM_VALIDATORS"] = 732] = "PROP_TYPE_CUSTOM_VALIDATORS";
|
|
2384
2390
|
PropInterface[PropInterface["PROP_TYPE_BINDING_LEVEL"] = 733] = "PROP_TYPE_BINDING_LEVEL";
|
|
2385
2391
|
PropInterface[PropInterface["PROP_TYPE_SERVER_READ_AHEAD"] = 736] = "PROP_TYPE_SERVER_READ_AHEAD";
|
|
2392
|
+
PropInterface[PropInterface["PROP_TYPE_AUTO_COMPLETE_MODE_WC"] = 740] = "PROP_TYPE_AUTO_COMPLETE_MODE_WC";
|
|
2386
2393
|
})(exports.PropInterface || (exports.PropInterface = {}));
|
|
2387
2394
|
|
|
2388
2395
|
var GuiEnvironment = /** @class */ (function () {
|
|
@@ -3352,6 +3359,8 @@
|
|
|
3352
3359
|
picStr += this.getWholes().toString();
|
|
3353
3360
|
if (this.getDec() > 0)
|
|
3354
3361
|
picStr += '.' + this.getDec().toString();
|
|
3362
|
+
if (this._zeroFill)
|
|
3363
|
+
picStr += 'Z';
|
|
3355
3364
|
var newPic = new PIC(picStr, utils.StorageAttribute.NUMERIC, 0);
|
|
3356
3365
|
return newPic;
|
|
3357
3366
|
};
|
|
@@ -9632,6 +9641,13 @@
|
|
|
9632
9641
|
this.HashCodeString()
|
|
9633
9642
|
]);
|
|
9634
9643
|
};
|
|
9644
|
+
TaskDefinitionId.prototype.fromJSON = function (jsonStr) {
|
|
9645
|
+
var obj = JSON.parse(jsonStr);
|
|
9646
|
+
this.CtlIndex = obj.CtlIndex;
|
|
9647
|
+
this.ProgramIsn = obj.ProgramIsn;
|
|
9648
|
+
this.TaskIsn = obj.TaskIsn;
|
|
9649
|
+
this.IsProgram = obj.IsProgram;
|
|
9650
|
+
};
|
|
9635
9651
|
return TaskDefinitionId;
|
|
9636
9652
|
}());
|
|
9637
9653
|
|
|
@@ -9770,6 +9786,7 @@
|
|
|
9770
9786
|
case exports.PropInterface.PROP_TYPE_BEFORE_900_VERSION:
|
|
9771
9787
|
case exports.PropInterface.PROP_TYPE_FILL_WIDTH:
|
|
9772
9788
|
case exports.PropInterface.PROP_TYPE_MULTI_COLUMN_DISPLAY:
|
|
9789
|
+
case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
|
|
9773
9790
|
val = "0";
|
|
9774
9791
|
break;
|
|
9775
9792
|
case exports.PropInterface.PROP_TYPE_SYSTEM_MENU:
|
|
@@ -9814,9 +9831,7 @@
|
|
|
9814
9831
|
case exports.PropInterface.PROP_TYPE_LOAD_IMAGE_FROM:
|
|
9815
9832
|
case exports.PropInterface.PROP_TYPE_FORM_NAME:
|
|
9816
9833
|
case exports.PropInterface.PROP_TYPE_COLUMN_TITLE:
|
|
9817
|
-
case exports.PropInterface.PROP_TYPE_HEIGHT:
|
|
9818
9834
|
case exports.PropInterface.PROP_TYPE_WIDTH:
|
|
9819
|
-
case exports.PropInterface.PROP_TYPE_ROW_HIGHLIGHT_COLOR:
|
|
9820
9835
|
case exports.PropInterface.PROP_TYPE_PRGTSK_NUM:
|
|
9821
9836
|
break;
|
|
9822
9837
|
case exports.PropInterface.PROP_TYPE_MULTILINE_WORDWRAP_SCROLL:
|
|
@@ -9877,7 +9892,6 @@
|
|
|
9877
9892
|
}
|
|
9878
9893
|
}
|
|
9879
9894
|
break;
|
|
9880
|
-
case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
|
|
9881
9895
|
case exports.PropInterface.PROP_TYPE_IMAGE_LIST_INDEXES:
|
|
9882
9896
|
case exports.PropInterface.PROP_TYPE_WALLPAPER:
|
|
9883
9897
|
case exports.PropInterface.PROP_TYPE_TEXT:
|
|
@@ -10238,9 +10252,9 @@
|
|
|
10238
10252
|
case exports.PropInterface.PROP_TYPE_IS_ROUTER_OUTLET:
|
|
10239
10253
|
case exports.PropInterface.PROP_TYPE_DEFAULT_OUTLET:
|
|
10240
10254
|
case exports.PropInterface.PROP_TYPE_SERVER_READ_AHEAD:
|
|
10255
|
+
case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC:
|
|
10241
10256
|
this._dataType = utils.StorageAttribute.BOOLEAN;
|
|
10242
10257
|
break;
|
|
10243
|
-
case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
|
|
10244
10258
|
case exports.PropInterface.PROP_TYPE_IMAGE_FILENAME:
|
|
10245
10259
|
case exports.PropInterface.PROP_TYPE_EVAL_END_CONDITION:
|
|
10246
10260
|
case exports.PropInterface.PROP_TYPE_FRAME_NAME:
|
|
@@ -10298,7 +10312,6 @@
|
|
|
10298
10312
|
case exports.PropInterface.PROP_TYPE_FONT:
|
|
10299
10313
|
case exports.PropInterface.PROP_TYPE_LAYER:
|
|
10300
10314
|
case exports.PropInterface.PROP_TYPE_WIDTH:
|
|
10301
|
-
case exports.PropInterface.PROP_TYPE_HEIGHT:
|
|
10302
10315
|
case exports.PropInterface.PROP_TYPE_TITLE_HEIGHT:
|
|
10303
10316
|
case exports.PropInterface.PROP_TYPE_COLOR:
|
|
10304
10317
|
case exports.PropInterface.PROP_TYPE_LEFT:
|
|
@@ -10555,7 +10568,6 @@
|
|
|
10555
10568
|
if (!skip && mgFormBase.isSubForm()) {
|
|
10556
10569
|
skip = true;
|
|
10557
10570
|
switch (this._id) {
|
|
10558
|
-
case exports.PropInterface.PROP_TYPE_DEFAULT_BUTTON:
|
|
10559
10571
|
case exports.PropInterface.PROP_TYPE_CUSTOM_PROPERTIES:
|
|
10560
10572
|
case exports.PropInterface.PROP_TYPE_CUSTOM_VALIDATORS:
|
|
10561
10573
|
skip = false;
|
|
@@ -10750,10 +10762,10 @@
|
|
|
10750
10762
|
case exports.PropInterface.PROP_TYPE_MODIFIABLE: return [3 /*break*/, 11];
|
|
10751
10763
|
case exports.PropInterface.PROP_TYPE_TOOLTIP: return [3 /*break*/, 13];
|
|
10752
10764
|
case exports.PropInterface.PROP_TYPE_DISPLAY_LIST: return [3 /*break*/, 14];
|
|
10753
|
-
case exports.PropInterface.
|
|
10754
|
-
case exports.PropInterface.
|
|
10755
|
-
case exports.PropInterface.
|
|
10756
|
-
case exports.PropInterface.
|
|
10765
|
+
case exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC: return [3 /*break*/, 16];
|
|
10766
|
+
case exports.PropInterface.PROP_TYPE_VISIBLE_LAYERS_LIST: return [3 /*break*/, 17];
|
|
10767
|
+
case exports.PropInterface.PROP_TYPE_FORMAT: return [3 /*break*/, 19];
|
|
10768
|
+
case exports.PropInterface.PROP_TYPE_LABEL: return [3 /*break*/, 20];
|
|
10757
10769
|
case exports.PropInterface.PROP_TYPE_PASSWORD: return [3 /*break*/, 22];
|
|
10758
10770
|
case exports.PropInterface.PROP_TYPE_MODIFY_IN_QUERY: return [3 /*break*/, 23];
|
|
10759
10771
|
case exports.PropInterface.PROP_TYPE_TAB_IN: return [3 /*break*/, 23];
|
|
@@ -10800,19 +10812,19 @@
|
|
|
10800
10812
|
case 15:
|
|
10801
10813
|
_b.sent();
|
|
10802
10814
|
return [3 /*break*/, 28];
|
|
10803
|
-
case 16:
|
|
10804
|
-
|
|
10805
|
-
_b.sent();
|
|
10815
|
+
case 16:
|
|
10816
|
+
this.onAutoCompleteMode();
|
|
10806
10817
|
return [3 /*break*/, 28];
|
|
10818
|
+
case 17: return [4 /*yield*/, this.onVisibleLayerList(line)];
|
|
10807
10819
|
case 18:
|
|
10808
|
-
this.onFormat();
|
|
10809
|
-
return [3 /*break*/, 28];
|
|
10810
|
-
case 19: return [4 /*yield*/, this.onLabel(line)];
|
|
10811
|
-
case 20:
|
|
10812
10820
|
_b.sent();
|
|
10813
10821
|
return [3 /*break*/, 28];
|
|
10822
|
+
case 19:
|
|
10823
|
+
this.onFormat();
|
|
10824
|
+
return [3 /*break*/, 28];
|
|
10825
|
+
case 20: return [4 /*yield*/, this.onLabel(line)];
|
|
10814
10826
|
case 21:
|
|
10815
|
-
|
|
10827
|
+
_b.sent();
|
|
10816
10828
|
return [3 /*break*/, 28];
|
|
10817
10829
|
case 22:
|
|
10818
10830
|
this.onPassword();
|
|
@@ -11190,7 +11202,7 @@
|
|
|
11190
11202
|
case 0:
|
|
11191
11203
|
if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/, 3];
|
|
11192
11204
|
ctrl = this._parentObj;
|
|
11193
|
-
if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio())) return [3 /*break*/, 2];
|
|
11205
|
+
if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio() || ctrl.HasAutocomplete())) return [3 /*break*/, 2];
|
|
11194
11206
|
line = (currLine === mscorelib.Int32.MinValue) ? ctrl.getDisplayLine(false) : currLine;
|
|
11195
11207
|
return [4 /*yield*/, ctrl.refreshAndSetItemsList(line, true)];
|
|
11196
11208
|
case 1:
|
|
@@ -11255,7 +11267,7 @@
|
|
|
11255
11267
|
return __generator(this, function (_c) {
|
|
11256
11268
|
switch (_c.label) {
|
|
11257
11269
|
case 0:
|
|
11258
|
-
if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/,
|
|
11270
|
+
if (!(this._parentType === GuiConstants.PARENT_TYPE_CONTROL)) return [3 /*break*/, 10];
|
|
11259
11271
|
ctrl = this._parentObj;
|
|
11260
11272
|
line = void 0;
|
|
11261
11273
|
if (currLine === mscorelib.Int32.MinValue)
|
|
@@ -11264,7 +11276,7 @@
|
|
|
11264
11276
|
line = currLine;
|
|
11265
11277
|
if (!(ctrl.Type === utils.MgControlType.CTRL_TYPE_CHECKBOX)) return [3 /*break*/, 1];
|
|
11266
11278
|
this.addCommandTypeText(line);
|
|
11267
|
-
return [3 /*break*/,
|
|
11279
|
+
return [3 /*break*/, 9];
|
|
11268
11280
|
case 1:
|
|
11269
11281
|
if (!(ctrl.isSelectionCtrl() || ctrl.isTabControl() || ctrl.isRadio())) return [3 /*break*/, 6];
|
|
11270
11282
|
_b = (_a = ctrl).setRange;
|
|
@@ -11280,24 +11292,21 @@
|
|
|
11280
11292
|
case 4:
|
|
11281
11293
|
_c.sent();
|
|
11282
11294
|
_c.label = 5;
|
|
11283
|
-
case 5: return [3 /*break*/,
|
|
11284
|
-
case 6:
|
|
11285
|
-
|
|
11286
|
-
|
|
11287
|
-
case
|
|
11295
|
+
case 5: return [3 /*break*/, 9];
|
|
11296
|
+
case 6:
|
|
11297
|
+
if (!ctrl.HasAutocomplete()) return [3 /*break*/, 8];
|
|
11298
|
+
return [4 /*yield*/, ctrl.refreshAndSetItemsList(line, true)];
|
|
11299
|
+
case 7:
|
|
11300
|
+
_c.sent();
|
|
11301
|
+
return [3 /*break*/, 9];
|
|
11302
|
+
case 8: throw new mscorelib.ApplicationException("Property.onLabel(), not support control");
|
|
11303
|
+
case 9: return [3 /*break*/, 11];
|
|
11304
|
+
case 10: throw new mscorelib.ApplicationException("in Property.onLabel()");
|
|
11305
|
+
case 11: return [2 /*return*/];
|
|
11288
11306
|
}
|
|
11289
11307
|
});
|
|
11290
11308
|
});
|
|
11291
11309
|
};
|
|
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
11310
|
Property.prototype.getObjectByParentObj = function () {
|
|
11302
11311
|
var result = this._parentObj;
|
|
11303
11312
|
if (this._parentType === GuiConstants.PARENT_TYPE_FORM) {
|
|
@@ -11401,7 +11410,7 @@
|
|
|
11401
11410
|
switch (_e.label) {
|
|
11402
11411
|
case 0:
|
|
11403
11412
|
mgControl = this._parentObj;
|
|
11404
|
-
if (!(mgControl.ModifiedByUser || this.GetTaskByParentObject().IsInRecompute())) return [3 /*break*/, 11];
|
|
11413
|
+
if (!(mgControl.ModifiedByUser || mgControl.ValidateControl || this.GetTaskByParentObject().IsInRecompute())) return [3 /*break*/, 11];
|
|
11405
11414
|
_e.label = 1;
|
|
11406
11415
|
case 1:
|
|
11407
11416
|
_e.trys.push([1, 9, 10, 11]);
|
|
@@ -11488,6 +11497,8 @@
|
|
|
11488
11497
|
else
|
|
11489
11498
|
throw new mscorelib.ApplicationException("in Property.BindingLevel()");
|
|
11490
11499
|
};
|
|
11500
|
+
Property.prototype.onAutoCompleteMode = function () {
|
|
11501
|
+
};
|
|
11491
11502
|
Property.prototype.GetRetrunValueForCustomPropertyExpression = function (expression) {
|
|
11492
11503
|
return __awaiter(this, void 0, void 0, function () {
|
|
11493
11504
|
var len, expStorageAttribute, wasEvaluated, returnValue, compIdx, tempPic;
|
|
@@ -13966,6 +13977,7 @@
|
|
|
13966
13977
|
_this.forceRefresh = false;
|
|
13967
13978
|
_this.RefreshOnVisible = false;
|
|
13968
13979
|
_this.InControl = false;
|
|
13980
|
+
_this.ValidateControl = false;
|
|
13969
13981
|
_this.PromptHelp = null;
|
|
13970
13982
|
if (arguments.length === 0) {
|
|
13971
13983
|
_this.constructor_0();
|
|
@@ -14515,7 +14527,12 @@
|
|
|
14515
14527
|
return this._pic.getAttr() === utils.StorageAttribute.DATE || this._pic.getAttr() === utils.StorageAttribute.TIME;
|
|
14516
14528
|
};
|
|
14517
14529
|
MgControlBase.prototype.SupportsDataSource = function () {
|
|
14518
|
-
return _super_1.prototype.isSelectionCtrl.call(this) || _super_1.prototype.isTabControl.call(this) || _super_1.prototype.isRadio.call(this);
|
|
14530
|
+
return _super_1.prototype.isSelectionCtrl.call(this) || _super_1.prototype.isTabControl.call(this) || _super_1.prototype.isRadio.call(this) || this.HasAutocomplete();
|
|
14531
|
+
};
|
|
14532
|
+
MgControlBase.prototype.HasAutocomplete = function () {
|
|
14533
|
+
if (_super_1.prototype.isTextControl.call(this))
|
|
14534
|
+
return this.getProp(exports.PropInterface.PROP_TYPE_AUTO_COMPLETE_MODE_WC).GetComputedValueBoolean();
|
|
14535
|
+
return false;
|
|
14519
14536
|
};
|
|
14520
14537
|
MgControlBase.prototype.getIndexOfChoice = function (mgVal, line, isNull) {
|
|
14521
14538
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -14999,7 +15016,7 @@
|
|
|
14999
15016
|
};
|
|
15000
15017
|
MgControlBase.prototype.getCurrentLinkIdx = function () {
|
|
15001
15018
|
var currLinkIdx = 0;
|
|
15002
|
-
if (_super_1.prototype.isChoiceControl.call(this)) {
|
|
15019
|
+
if (_super_1.prototype.isChoiceControl.call(this) || this.HasAutocomplete()) {
|
|
15003
15020
|
var currentLayers = this.getCurrentIndexOfChoice();
|
|
15004
15021
|
var currLinkIndice = this.getLinkIdxFromLayer(currentLayers);
|
|
15005
15022
|
currLinkIdx = currLinkIndice[0];
|
|
@@ -15533,7 +15550,7 @@
|
|
|
15533
15550
|
}
|
|
15534
15551
|
_e.label = 1;
|
|
15535
15552
|
case 1:
|
|
15536
|
-
_e.trys.push([1,
|
|
15553
|
+
_e.trys.push([1, 21, , 22]);
|
|
15537
15554
|
prevValue = this._prevValues.get_Item(line);
|
|
15538
15555
|
prevNull = this.getPrevIsNull();
|
|
15539
15556
|
if (utils.StorageAttributeCheck.IsTypeAlphaOrUnicode(this.DataType)) {
|
|
@@ -15576,9 +15593,9 @@
|
|
|
15576
15593
|
case utils.MgControlType.CTRL_TYPE_LIST: return [3 /*break*/, 6];
|
|
15577
15594
|
case utils.MgControlType.CTRL_TYPE_BUTTON: return [3 /*break*/, 11];
|
|
15578
15595
|
case utils.MgControlType.CTRL_TYPE_TEXT: return [3 /*break*/, 11];
|
|
15579
|
-
case utils.MgControlType.CTRL_TYPE_RADIO: return [3 /*break*/,
|
|
15596
|
+
case utils.MgControlType.CTRL_TYPE_RADIO: return [3 /*break*/, 14];
|
|
15580
15597
|
}
|
|
15581
|
-
return [3 /*break*/,
|
|
15598
|
+
return [3 /*break*/, 16];
|
|
15582
15599
|
case 2: return [2 /*return*/];
|
|
15583
15600
|
case 3:
|
|
15584
15601
|
if (valueChanged && this.Value != null)
|
|
@@ -15624,8 +15641,14 @@
|
|
|
15624
15641
|
else
|
|
15625
15642
|
Commands.addValueWithLine(exports.CommandType.SET_VALUE, this, line, +this.Value);
|
|
15626
15643
|
_e.label = 10;
|
|
15627
|
-
case 10: return [3 /*break*/,
|
|
15644
|
+
case 10: return [3 /*break*/, 17];
|
|
15628
15645
|
case 11:
|
|
15646
|
+
if (!this.HasAutocomplete()) return [3 /*break*/, 13];
|
|
15647
|
+
return [4 /*yield*/, this.refreshAndSetItemListByDataSource(line, valueChanged)];
|
|
15648
|
+
case 12:
|
|
15649
|
+
_e.sent();
|
|
15650
|
+
_e.label = 13;
|
|
15651
|
+
case 13:
|
|
15629
15652
|
if (valueChanged) {
|
|
15630
15653
|
if (this.IsImageButton()) {
|
|
15631
15654
|
this.setImageWithFileName(this.Value);
|
|
@@ -15635,36 +15658,36 @@
|
|
|
15635
15658
|
}
|
|
15636
15659
|
else
|
|
15637
15660
|
return [2 /*return*/];
|
|
15638
|
-
return [3 /*break*/,
|
|
15639
|
-
case
|
|
15640
|
-
case
|
|
15661
|
+
return [3 /*break*/, 17];
|
|
15662
|
+
case 14: return [4 /*yield*/, this.refreshAndSetItemListByDataSource(line, valueChanged)];
|
|
15663
|
+
case 15:
|
|
15641
15664
|
valueChanged = _e.sent();
|
|
15642
15665
|
if (!valueChanged)
|
|
15643
15666
|
return [2 /*return*/];
|
|
15644
15667
|
this.setRadioChecked(this.Value);
|
|
15645
|
-
return [3 /*break*/,
|
|
15646
|
-
case
|
|
15668
|
+
return [3 /*break*/, 17];
|
|
15669
|
+
case 16:
|
|
15647
15670
|
Events.WriteExceptionToLog(mscorelib.NString.Format("in Control.RefreshDisplayValue() unknown type: {0}", this.Type));
|
|
15648
15671
|
return [2 /*return*/];
|
|
15649
|
-
case
|
|
15650
|
-
if (!(_super.isChoiceControl.call(this) && valueChanged)) return [3 /*break*/,
|
|
15672
|
+
case 17:
|
|
15673
|
+
if (!(_super.isChoiceControl.call(this) && valueChanged)) return [3 /*break*/, 20];
|
|
15651
15674
|
_c = this.updatePropertyLogicNesting;
|
|
15652
15675
|
_d = [exports.PropInterface.PROP_TYPE_VISIBLE, exports.CommandType.PROP_SET_VISIBLE];
|
|
15653
15676
|
return [4 /*yield*/, this.checkProp(exports.PropInterface.PROP_TYPE_VISIBLE, true)];
|
|
15654
|
-
case
|
|
15655
|
-
case 17:
|
|
15656
|
-
_e.sent();
|
|
15657
|
-
_e.label = 18;
|
|
15658
|
-
case 18: return [3 /*break*/, 20];
|
|
15677
|
+
case 18: return [4 /*yield*/, _c.apply(this, _d.concat([_e.sent(), false]))];
|
|
15659
15678
|
case 19:
|
|
15679
|
+
_e.sent();
|
|
15680
|
+
_e.label = 20;
|
|
15681
|
+
case 20: return [3 /*break*/, 22];
|
|
15682
|
+
case 21:
|
|
15660
15683
|
ex_360_1 = _e.sent();
|
|
15661
15684
|
if (ex_360_1 instanceof mscorelib.Exception) {
|
|
15662
15685
|
Events.WriteExceptionToLog(mscorelib.NString.Format("in Control.RefreshDisplayValue() for control: {0}", this.Name));
|
|
15663
15686
|
}
|
|
15664
15687
|
else
|
|
15665
15688
|
throw ex_360_1;
|
|
15666
|
-
return [3 /*break*/,
|
|
15667
|
-
case
|
|
15689
|
+
return [3 /*break*/, 22];
|
|
15690
|
+
case 22: return [2 /*return*/];
|
|
15668
15691
|
}
|
|
15669
15692
|
});
|
|
15670
15693
|
});
|
|
@@ -15845,7 +15868,7 @@
|
|
|
15845
15868
|
return [4 /*yield*/, this.refreshDispRange(execComputeChoice)];
|
|
15846
15869
|
case 1:
|
|
15847
15870
|
optionsStrings = _a.sent();
|
|
15848
|
-
if (!(_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this))) return [3 /*break*/, 2];
|
|
15871
|
+
if (!(_super.isSelectionCtrl.call(this) || _super.isTabControl.call(this) || this.HasAutocomplete())) return [3 /*break*/, 2];
|
|
15849
15872
|
options = optionsStrings.map(function (displayValue, index, arr) {
|
|
15850
15873
|
return { index: index, displayValue: displayValue };
|
|
15851
15874
|
});
|
|
@@ -16116,21 +16139,6 @@
|
|
|
16116
16139
|
});
|
|
16117
16140
|
});
|
|
16118
16141
|
};
|
|
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
16142
|
MgControlBase.prototype.RaiseControlHitOnLeftClickOfMouseDown = function () {
|
|
16135
16143
|
var raiseCtrlHit = false;
|
|
16136
16144
|
if (!_super_1.prototype.IsHyperTextButton.call(this) && !_super_1.prototype.isRadio.call(this) && !_super_1.prototype.isTabControl.call(this)) {
|
|
@@ -17472,10 +17480,7 @@
|
|
|
17472
17480
|
Styles.MSGBOX_RESULT_RETRY = 4;
|
|
17473
17481
|
Styles.MSGBOX_RESULT_IGNORE = 5;
|
|
17474
17482
|
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;
|
|
17483
|
+
Styles.MSGBOX_RESULT_NO = 7;
|
|
17479
17484
|
|
|
17480
17485
|
var RuntimeContextBase = /** @class */ (function () {
|
|
17481
17486
|
function RuntimeContextBase() {
|
|
@@ -17486,6 +17491,8 @@
|
|
|
17486
17491
|
this.FrameForm = null;
|
|
17487
17492
|
this.LastClickedCtrlName = null;
|
|
17488
17493
|
this.LastClickedMenuUid = 0;
|
|
17494
|
+
this.RemovedContextFromServer = false;
|
|
17495
|
+
this.RemovingContextFromServer = false;
|
|
17489
17496
|
this.CurrentClickedCtrl = null;
|
|
17490
17497
|
this.CurrentClickedRadio = null;
|
|
17491
17498
|
this.DefaultStatusMsg = null;
|
|
@@ -18073,7 +18080,8 @@
|
|
|
18073
18080
|
ExpressionInterface.EXP_OP_IS_LOGGED_IN = 690;
|
|
18074
18081
|
ExpressionInterface.EXP_OP_SET_COOKIE = 701;
|
|
18075
18082
|
ExpressionInterface.EXP_OP_GET_COOKIE = 702;
|
|
18076
|
-
ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
|
|
18083
|
+
ExpressionInterface.EXP_OP_DELETE_COOKIE = 703;
|
|
18084
|
+
ExpressionInterface.EXP_OP_ROUTEGET = 705;
|
|
18077
18085
|
|
|
18078
18086
|
var GuiExpressionEvaluator = /** @class */ (function () {
|
|
18079
18087
|
function GuiExpressionEvaluator() {
|
|
@@ -18668,7 +18676,6 @@
|
|
|
18668
18676
|
this._level = '\0';
|
|
18669
18677
|
this._enteredRecLevel = false;
|
|
18670
18678
|
this._currParkedFld = null;
|
|
18671
|
-
this.shouldResumeSubformLayout = true;
|
|
18672
18679
|
this.isInRecompute = false;
|
|
18673
18680
|
this.CurrentEditingControl = null;
|
|
18674
18681
|
this.ApplicationGuid = null;
|
|
@@ -18725,16 +18732,6 @@
|
|
|
18725
18732
|
enumerable: false,
|
|
18726
18733
|
configurable: true
|
|
18727
18734
|
});
|
|
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
18735
|
Object.defineProperty(GuiTaskBase.prototype, "IsBlockingBatch", {
|
|
18739
18736
|
get: function () {
|
|
18740
18737
|
return !this._isMainPrg && this.isOpenWin() && !this._allowEvents && !this.IsInteractive;
|
|
@@ -18953,49 +18950,24 @@
|
|
|
18953
18950
|
};
|
|
18954
18951
|
GuiTaskBase.prototype.InitForm = function () {
|
|
18955
18952
|
return __awaiter(this, void 0, void 0, function () {
|
|
18956
|
-
var heightProperty;
|
|
18957
18953
|
return __generator(this, function (_a) {
|
|
18958
18954
|
switch (_a.label) {
|
|
18959
18955
|
case 0:
|
|
18960
|
-
if (!(this.Form !== null && this.isOpenWin())) return [3 /*break*/,
|
|
18956
|
+
if (!(this.Form !== null && this.isOpenWin())) return [3 /*break*/, 2];
|
|
18961
18957
|
this.Form.InInitForm = true;
|
|
18962
18958
|
this.Form.init();
|
|
18963
18959
|
this.SetRefreshType(utils.Constants.TASK_REFRESH_FORM);
|
|
18964
18960
|
return [4 /*yield*/, this.RefreshDisplay()];
|
|
18965
18961
|
case 1:
|
|
18966
18962
|
_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
18963
|
Commands.beginInvoke();
|
|
18981
18964
|
this.Form.InInitForm = false;
|
|
18982
|
-
_a.label =
|
|
18983
|
-
case
|
|
18965
|
+
_a.label = 2;
|
|
18966
|
+
case 2: return [2 /*return*/];
|
|
18984
18967
|
}
|
|
18985
18968
|
});
|
|
18986
18969
|
});
|
|
18987
18970
|
};
|
|
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
18971
|
GuiTaskBase.prototype.GetLastParkedCtrlName = function (depth) {
|
|
19000
18972
|
var ancestor = this.GetTaskAncestor(depth);
|
|
19001
18973
|
var flag = ancestor === null || ancestor._lastParkedCtrl === null;
|