@magic-xpa/gui 4.1201.0 → 4.1202.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/README.md +7 -7
  2. package/fesm2022/magic-xpa-gui.mjs +6 -0
  3. package/fesm2022/magic-xpa-gui.mjs.map +1 -1
  4. package/package.json +5 -5
  5. package/types/magic-xpa-gui.d.ts +3059 -0
  6. package/index.d.ts +0 -73
  7. package/src/Commands.d.ts +0 -40
  8. package/src/Events.d.ts +0 -157
  9. package/src/EventsProcessor.d.ts +0 -13
  10. package/src/FocusManager.d.ts +0 -8
  11. package/src/GuiConstants.d.ts +0 -65
  12. package/src/GuiEnums.d.ts +0 -286
  13. package/src/GuiEnvironment.d.ts +0 -4
  14. package/src/IFlowMonitorQueue.d.ts +0 -3
  15. package/src/Manager.d.ts +0 -26
  16. package/src/UIBridge.d.ts +0 -16
  17. package/src/env/IEnvironment.d.ts +0 -31
  18. package/src/gui/ControlBase.d.ts +0 -4
  19. package/src/gui/GuiMgControl.d.ts +0 -39
  20. package/src/gui/GuiMgForm.d.ts +0 -3
  21. package/src/gui/KeyboardItem.d.ts +0 -18
  22. package/src/gui/LastFocusedVal.d.ts +0 -7
  23. package/src/gui/MgValue.d.ts +0 -15
  24. package/src/gui/PropParentInterface.d.ts +0 -13
  25. package/src/gui/low/DialogHandler.d.ts +0 -4
  26. package/src/gui/low/GuiCommand.d.ts +0 -37
  27. package/src/gui/low/GuiCommandQueue.d.ts +0 -13
  28. package/src/gui/low/GuiInteractive.d.ts +0 -55
  29. package/src/gui/low/Style.d.ts +0 -19
  30. package/src/management/RuntimeContextBase.d.ts +0 -23
  31. package/src/management/data/BlobType.d.ts +0 -29
  32. package/src/management/data/DcValues.d.ts +0 -33
  33. package/src/management/data/DcValuesBuilderBase.d.ts +0 -17
  34. package/src/management/data/FieldDef.d.ts +0 -53
  35. package/src/management/data/FieldsTable.d.ts +0 -16
  36. package/src/management/data/GuiDataViewBase.d.ts +0 -27
  37. package/src/management/data/GuiFieldBase.d.ts +0 -17
  38. package/src/management/data/IRecord.d.ts +0 -12
  39. package/src/management/data/IReferencedObject.d.ts +0 -5
  40. package/src/management/data/NUM_TYPE.d.ts +0 -103
  41. package/src/management/data/ObjectReferenceBase.d.ts +0 -16
  42. package/src/management/data/ObjectReferencesCollection.d.ts +0 -10
  43. package/src/management/data/RecordUtils.d.ts +0 -21
  44. package/src/management/data/VectorType.d.ts +0 -52
  45. package/src/management/data/VectorTypeBase.d.ts +0 -8
  46. package/src/management/events/IActionManager.d.ts +0 -7
  47. package/src/management/events/IGuiEventsManager.d.ts +0 -20
  48. package/src/management/exp/ExpressionInterface.d.ts +0 -243
  49. package/src/management/exp/GuiExpressionEvaluator.d.ts +0 -47
  50. package/src/management/gui/ControlTable.d.ts +0 -28
  51. package/src/management/gui/DisplayConvertor.d.ts +0 -103
  52. package/src/management/gui/FieldValidator.d.ts +0 -35
  53. package/src/management/gui/GuiControlPropertyAdapter.d.ts +0 -40
  54. package/src/management/gui/GuiFormPropertyAdapter.d.ts +0 -17
  55. package/src/management/gui/HebrewDate.d.ts +0 -46
  56. package/src/management/gui/Helps.d.ts +0 -51
  57. package/src/management/gui/MgControlBase.d.ts +0 -225
  58. package/src/management/gui/MgFormBase.d.ts +0 -160
  59. package/src/management/gui/PIC.d.ts +0 -108
  60. package/src/management/gui/PropDefaults.d.ts +0 -7
  61. package/src/management/gui/PropInterface.d.ts +0 -245
  62. package/src/management/gui/PropTable.d.ts +0 -33
  63. package/src/management/gui/Property.d.ts +0 -121
  64. package/src/management/gui/ValidationDetails.d.ts +0 -52
  65. package/src/management/gui/ValidationDetailsBase.d.ts +0 -14
  66. package/src/management/gui/WrongFormatException.d.ts +0 -9
  67. package/src/management/tasks/GuiDataCollection.d.ts +0 -4
  68. package/src/management/tasks/GuiTaskBase.d.ts +0 -150
  69. package/src/management/tasks/IMGDataTable.d.ts +0 -10
  70. package/src/management/tasks/ITask.d.ts +0 -6
  71. package/src/management/tasks/MgTimer.d.ts +0 -8
  72. package/src/management/tasks/TaskDefinitionId.d.ts +0 -16
  73. package/src/management/tasks/TaskDefinitionIdTableSaxHandler.d.ts +0 -7
  74. package/src/util/MemoryUtil.d.ts +0 -6
  75. package/src/util/ObjectReference.d.ts +0 -9
  76. package/src/util/UsernamePasswordCredentials.d.ts +0 -18
@@ -0,0 +1,3059 @@
1
+ import { List, Dictionary, RefParam, IHashCode, Exception, Encoding, StackTrace, StringBuilder } from '@magic-xpa/mscorelib';
2
+ import { MgControlType, CtrlButtonTypeGui, StorageAttribute, FldStorage, XmlParser, HelpType, HelpCommand, UtilImeJpn, WindowType, Logger_LogLevels, Priority } from '@magic-xpa/utils';
3
+
4
+ declare abstract class ControlBase {
5
+ abstract get UniqueName(): string;
6
+ abstract get TaskTag(): string;
7
+ }
8
+
9
+ declare abstract class GuiMgForm extends ControlBase {
10
+ }
11
+
12
+ declare abstract class GuiMgControl extends ControlBase {
13
+ private _type;
14
+ ConnectedControl: GuiMgControl;
15
+ set Type(value: MgControlType);
16
+ get Type(): MgControlType;
17
+ ButtonStyle: CtrlButtonTypeGui;
18
+ IsRepeatable: boolean;
19
+ get IsTableChild(): boolean;
20
+ get IsTableHeaderChild(): boolean;
21
+ Layer: number;
22
+ Name: string;
23
+ GuiMgForm: GuiMgForm;
24
+ getName(line: number): string;
25
+ abstract getParent(): any;
26
+ abstract get TaskTag(): string;
27
+ get UniqueName(): string;
28
+ isStatic(): boolean;
29
+ isTableControl(): boolean;
30
+ isTabControl(): boolean;
31
+ isTextControl(): boolean;
32
+ isImageControl(): boolean;
33
+ isSubform(): boolean;
34
+ isRadio(): boolean;
35
+ isComboBox(): boolean;
36
+ isListBox(): boolean;
37
+ IsMultipleSelectionListBox(): boolean;
38
+ isButton(): boolean;
39
+ isLabel(): boolean;
40
+ isGroup(): boolean;
41
+ isSelectionCtrl(): boolean;
42
+ isCheckBox(): boolean;
43
+ isColumnControl(): boolean;
44
+ isChoiceControl(): boolean;
45
+ IsImageButton(): boolean;
46
+ IsHyperTextButton(): boolean;
47
+ }
48
+
49
+ declare enum DateElement {
50
+ YEAR = "Y",
51
+ MONTH = "M",
52
+ DAY = "D",
53
+ DOW = "W"
54
+ }
55
+ declare enum MenuEntryProgram_SrcContext {
56
+ Main = "M",
57
+ Current = "C"
58
+ }
59
+ declare enum EditReturnCode {
60
+ EDIT_CONTINUE = 0,
61
+ EDIT_AUTOSKIP = 1,
62
+ EDIT_RESTART = 2
63
+ }
64
+ declare enum GuiExpressionEvaluator_ControlsPersistencyClearOption {
65
+ All = 1,
66
+ CurrentForm = 2
67
+ }
68
+ declare enum DataModificationTypes {
69
+ Update = "u",
70
+ Insert = "i",
71
+ Delete = "d",
72
+ None = " "
73
+ }
74
+ declare enum MgCheckState {
75
+ UNCHECKED = 1,
76
+ CHECKED = 2,
77
+ INDETERMINATE = 3
78
+ }
79
+ declare enum MarkMode {
80
+ MARK_ALL_TEXT = 1,
81
+ UNMARK_ALL_TEXT = 2,
82
+ MARK_SELECTION_TEXT = 3
83
+ }
84
+ declare enum MgCursors {
85
+ ARROW = 1,
86
+ WAITCURSOR = 2,
87
+ HAND = 3,
88
+ APPSTARTING = 4,
89
+ CROSS = 5,
90
+ HELP = 6,
91
+ IBEAM = 7,
92
+ NO = 8,
93
+ SIZEALL = 9,
94
+ SIZENESW = 10,
95
+ SIZENS = 11,
96
+ SIZENWSE = 12,
97
+ SIZEWE = 13,
98
+ UPARROW = 14
99
+ }
100
+ declare enum Modifiers {
101
+ MODIFIER_ALT = "A",
102
+ MODIFIER_CTRL = "C",
103
+ MODIFIER_SHIFT = "S",
104
+ MODIFIER_NONE = " ",
105
+ MODIFIER_SHIFT_CTRL = "X",
106
+ MODIFIER_ALT_CTRL = "Y",
107
+ MODIFIER_ALT_SHIFT = "Z"
108
+ }
109
+ declare enum CommandType {
110
+ OPEN_FORM = 0,
111
+ CREATE_FORM = 1,
112
+ INITIAL_FORM_LAYOUT = 2,
113
+ SHOW_FORM = 3,
114
+ CREATE_LABEL = 4,
115
+ CREATE_EDIT = 5,
116
+ CREATE_BUTTON = 6,
117
+ CREATE_COMBO_BOX = 7,
118
+ CREATE_LIST_BOX = 8,
119
+ CREATE_RADIO_CONTAINER = 9,
120
+ CREATE_RADIO_BUTTON = 10,
121
+ CREATE_IMAGE = 11,
122
+ CREATE_CHECK_BOX = 12,
123
+ CREATE_TAB = 13,
124
+ CREATE_TABLE = 14,
125
+ CREATE_COLUMN = 15,
126
+ CREATE_SUB_FORM = 16,
127
+ CLOSE_SUB_FORM = 17,
128
+ CREATE_BROWSER = 18,
129
+ CREATE_GROUP = 19,
130
+ CREATE_RICH_EDIT = 20,
131
+ CREATE_RICH_TEXT = 21,
132
+ CREATE_LINE = 22,
133
+ DISPOSE_OBJECT = 23,
134
+ PROP_SET_CONTROL_NAME = 24,
135
+ PROP_SET_TEXT = 25,
136
+ PROP_SET_READ_ONLY = 26,
137
+ PROP_SET_TEXT_SIZE_LIMIT = 27,
138
+ PROP_SET_ITEMS_LIST = 28,
139
+ PROP_SET_IMAGE_FILE_NAME = 29,
140
+ PROP_SET_IMAGE_DATA = 30,
141
+ PROP_SET_IMAGE_LIST = 31,
142
+ PROP_SET_TOOLTIP = 32,
143
+ PROP_SET_VISIBLE = 33,
144
+ PROP_SET_ENABLE = 34,
145
+ PROP_SET_MENU_ENABLE = 35,
146
+ PROP_SET_VISIBLE_LINES = 36,
147
+ PROP_SET_RIGHT_TO_LEFT = 37,
148
+ PROP_SET_CHECKED = 38,
149
+ PROP_SET_SELECTION = 39,
150
+ PROP_SET_LAYOUT_NUM_COLUMN = 40,
151
+ PROP_SET_LINE_VISIBLE = 41,
152
+ PROP_SET_RESIZABLE = 42,
153
+ PROP_SET_ALLOW_REORDER = 43,
154
+ PROP_SET_SORTABLE_COLUMN = 44,
155
+ PROP_SET_COLUMN_PLACMENT = 45,
156
+ PROP_SET_ICON_FILE_NAME = 46,
157
+ SET_WINDOW_STATE = 47,
158
+ SET_COLUMN_ORG_WIDTH = 48,
159
+ SET_COLUMN_START_POS = 49,
160
+ SET_TABLE_ITEMS_COUNT = 50,
161
+ SET_TABLE_VIRTUAL_ITEMS_COUNT = 51,
162
+ SET_TABLE_VSCROLL_THUMB_POS = 52,
163
+ SET_TABLE_VSCROLL_PAGE_SIZE = 53,
164
+ SET_TABLE_INCLUDES_FIRST = 54,
165
+ SET_TABLE_INCLUDES_LAST = 55,
166
+ SET_TABLE_TOP_INDEX = 56,
167
+ SET_SELECTION_INDEX = 57,
168
+ INVALIDATE_TABLE = 58,
169
+ REFRESH_TABLE = 59,
170
+ REFRESH_TMP_EDITOR = 60,
171
+ UPDATE_TMP_EDITOR_INDEX = 61,
172
+ CREATE_TABLE_ROW = 62,
173
+ UNDO_CREATE_TABLE_ROW = 63,
174
+ SET_TABLE_ROW_VISIBILITY = 64,
175
+ VALIDATE_TABLE_ROW = 65,
176
+ INSERT_ROWS = 66,
177
+ REMOVE_ROWS = 67,
178
+ CLEAR_TABLE_COLUMNS_SORT_MARK = 68,
179
+ PROP_SET_URL = 69,
180
+ MOVE_ABOVE = 70,
181
+ SET_FOCUS = 71,
182
+ WRITE_TO_MESSAGE_BOX = 72,
183
+ CLOSE_FORM = 73,
184
+ REMOVE_SUBFORM_CONTROLS = 74,
185
+ START_TIMER = 75,
186
+ STOP_TIMER = 76,
187
+ BEEP = 77,
188
+ CREATE_TOOLBAR = 78,
189
+ DELETE_TOOLBAR = 79,
190
+ CREATE_TOOLBAR_ITEM = 80,
191
+ DELETE_TOOLBAR_ITEM = 81,
192
+ CREATE_STATUS_BAR = 82,
193
+ PROP_SET_SB_PANE_WIDTH = 83,
194
+ CREATE_SB_LABEL = 84,
195
+ CREATE_SB_IMAGE = 85,
196
+ SHOW_TMP_EDITOR = 86,
197
+ PROP_SET_TRANSLATOR = 87,
198
+ PROP_SET_PASSWORD_EDIT = 88,
199
+ PROP_SET_TITLE_BAR = 89,
200
+ PROP_SHOW_FULL_ROW = 90,
201
+ PROP_SHOW_BUTTONS = 91,
202
+ PROP_SHOW_LINES = 92,
203
+ PROP_SHOW_SCROLLBAR = 93,
204
+ SET_ENV_ACCESS_TEST = 94,
205
+ SET_ENV_TOOLTIP_TIMEOUT = 95,
206
+ SET_ENV_SPECIAL_TEXT_SIZE_FACTORING = 96,
207
+ SET_ENV_SPECIAL_FLAT_EDIT_ON_CLASSIC_THEME = 97,
208
+ PROP_SET_STARTUP_POSITION = 98,
209
+ PROP_SET_CHECK_BOX_CHECKED = 99,
210
+ COMBO_DROP_DOWN = 100,
211
+ SET_ACTIVETE_KEYBOARD_LAYOUT = 101,
212
+ SET_TAG_DATA_LINK_VISITED = 102,
213
+ ALLOW_UPDATE = 103,
214
+ SET_ALIGNMENT = 104,
215
+ BULLET = 105,
216
+ INDENT = 106,
217
+ UNINDENT = 107,
218
+ CHANGE_COLUMN_SORT_MARK = 108,
219
+ SET_CURRENT_CURSOR = 109,
220
+ REORDER_COLUMNS = 110,
221
+ RESTORE_COLUMNS = 111,
222
+ ACTIVATE_FORM = 112,
223
+ LOCK_WINDOW_UPDATE = 113,
224
+ ENABLE_XPTHEMES = 114,
225
+ TOGGLE_ALTERNATE_COLOR_FOR_FIRST_ROW = 115,
226
+ REGISTER_DN_CTRL_VALUE_CHANGED_EVENT = 116,
227
+ SET_TABLE_ORG_ROW_HEIGHT = 117,
228
+ SET_TOOLBAR = 118,
229
+ CREATE_ENTRY_IN_CONTROLS_MAP = 119,
230
+ REMOVE_ENTRY_FROM_CONTROLS_MAP = 120,
231
+ PROCESS_PRESS_EVENT = 121,
232
+ SET_MARKED_ITEM_STATE = 122,
233
+ ACCEPT_DVCONTROL_CHANGES = 123,
234
+ UPDATE_DVCONTROL_ROW = 124,
235
+ ADD_DVCONTROL_HANDLER = 125,
236
+ REMOVE_DVCONTROL_HANDLER = 126,
237
+ CREATE_ROW_IN_DVCONTROL = 127,
238
+ UPDATE_DVCONTROL_COLUMN = 128,
239
+ DELETE_DVCONTROL_ROW = 129,
240
+ SET_DVCONTROL_ROW_POSITION = 130,
241
+ REJECT_DVCONTROL_COLUMN_CHANGES = 131,
242
+ SET_DESIGNER_VALUES = 132,
243
+ PROP_SET_EDIT_HINT = 133,
244
+ PROP_SET_MULTI_COLUMN_DISPLAY = 134,
245
+ SET_ENV_LAMGUAGE = 135,
246
+ SET_LAST_IN_CONTEXT = 136,
247
+ SET_CARET = 137,
248
+ SET_RECORDS_BEFORE_CURRENT_VIEW = 138,
249
+ SET_VALUE = 139,
250
+ SET_ATTRIBUTE = 140,
251
+ SET_PROPERTY = 141,
252
+ SET_CLASS = 142,
253
+ SET_STYLE = 143,
254
+ REFRESH_TASK = 144,
255
+ PROP_SET_USER_PROPERTY = 145,
256
+ PROP_SET_CUSTOM_VALIDATOR = 146,
257
+ SET_IS_ROW_EDITING = 147,
258
+ SET_NOT_IS_ROW_EDITING = 148,
259
+ SET_EMPTY_DATAVIEW = 149,
260
+ SET_IS_LOGGED_IN = 150,
261
+ RELOAD_PAGE = 151,
262
+ EXIT_MAGIC = 152,
263
+ CALL_JS = 153,
264
+ PROP_SET_BINDING_LEVEL = 154,
265
+ SHOW_SPINNER = 155,
266
+ SHOW_HTML_ERROR = 156,
267
+ SET_WC_IDLE = 157,
268
+ SET_CHUNK_SIZE = 158
269
+ }
270
+ declare enum HtmlProperties {
271
+ Visible = "visible",
272
+ Enabled = "enabled",
273
+ Text = "text",
274
+ ItemsList = "itemslist",
275
+ Image = "image",
276
+ Tooltip = "tooltip",
277
+ SelectedValue = "selectedvalue",
278
+ ShowBorder = "showborder",
279
+ PlaceHolder = "placeholder",
280
+ Password = "password",
281
+ TabIndex = "tabindex",
282
+ SelectedRow = "selectedRow",
283
+ ReadOnly = "readOnly",
284
+ MustInput = "mustInput",
285
+ SelectedLayer = "SelectedLayer",
286
+ BindingLevel = "bindingLevel",
287
+ ZoomButtonTooltip = "ZoomButtonTooltip",
288
+ CheckBoxIndeterminate = "CheckBoxIndeterminate"
289
+ }
290
+ declare enum MenuStyle {
291
+ MENU_STYLE_PULLDOWN = 1,
292
+ MENU_STYLE_CONTEXT = 2,
293
+ MENU_STYLE_TOOLBAR = 3
294
+ }
295
+ declare enum DockingStyle {
296
+ NONE = 0,
297
+ BOTTOM = 1,
298
+ FILL = 2,
299
+ LEFT = 3,
300
+ RIGHT = 4,
301
+ TOP = 5
302
+ }
303
+ declare enum RaisedBy {
304
+ USER_ACTION = 0,
305
+ CLOSE_SYSTEM_MENU = 1,
306
+ CTRL_GOTO = 2,
307
+ MOUSE_WHEEL = 3,
308
+ INTERNAL = 4,
309
+ KBPUT = 5
310
+ }
311
+ declare enum TraverseMode {
312
+ NONE = 1,
313
+ WITHIN_CONTROL = 2,
314
+ BETWEEN_CONTROLS = 3
315
+ }
316
+ declare enum ClipFormats {
317
+ FORMAT_USER = 0,
318
+ FORMAT_TEXT = 1,
319
+ FORMAT_OEM_TEXT = 2,
320
+ FORMAT_RICH_TEXT = 3,
321
+ FORMAT_HTML_TEXT = 4,
322
+ FORMAT_HYPERLINK_TEXT = 5,
323
+ FORMAT_DROP_FILES = 6,
324
+ FORMAT_UNICODE_TEXT = 7,
325
+ FORMAT_UNKNOWN = "c"
326
+ }
327
+ /**
328
+ * @ignore
329
+ */
330
+ declare enum OverlayType {
331
+ Overlay = 0,
332
+ Alert = 1,
333
+ ConfirmationBox = 2
334
+ }
335
+
336
+ declare class Commands {
337
+ private static resolveCallback;
338
+ static SetResolveCallback(resolveCallback: any): void;
339
+ static ResolvePromise(result: number): void;
340
+ static messageBox(title: string, msg: string, style: number): Promise<number>;
341
+ static openOverlayForm(obj: Object, formName: string, handlerTaskTag: string, calledTaskTag: string, inputControls: string, isDialog: boolean): Promise<void>;
342
+ static setTitle(topMostForm: GuiMgForm, title: string): void;
343
+ static setGetSuggestedValueOfChoiceControlOnTagData(ctrl: GuiMgControl, line: number, retSuggestedValue: boolean): void;
344
+ static getValue(obj: any, line: number, isThreeStateCheckBox: boolean): string;
345
+ static getTopIndex(tablecontrol: GuiMgControl): number;
346
+ static getIsRowEditing(tablecontrol: any, rowIndex: number, isLineMode: boolean): boolean;
347
+ static setEditText(control: GuiMgControl, line: number, text: string): boolean;
348
+ static insertEditText(control: GuiMgControl, line: number, startPosition: number, textToInsert: string): boolean;
349
+ static caretPosGet(control: GuiMgControl, line: number): number;
350
+ static addRefreshPage(navigateToRootRoute: boolean, initialUrl: string): void;
351
+ static getRowsInPage(control: GuiMgControl): number;
352
+ static getMaxRowsInPaginatedTable(control: GuiMgControl): number;
353
+ static getLastRoute(): string;
354
+ static addBoolWithLine(commandType: CommandType, obj: any, line: number, bool: boolean): void;
355
+ static addNoParameters(commandType: CommandType, obj: any): void;
356
+ static addWithNumber(commandType: CommandType, obj: any, num: number): void;
357
+ static addValueWithLine(commandType: CommandType, obj: any, line: number, value: any): void;
358
+ static addOperationWithLine(commandType: CommandType, obj: any, line: number, operation: string, value: any): void;
359
+ static addOpensubform(commandType: CommandType, obj: Object, calledTaskTag: string, subformControlName: string, formName: string, inputControls: string, routerPath: string, routerParams: List<any>, inDefaultRouterOutlet: boolean): void;
360
+ static addClosesubform(commandType: CommandType, obj: Object, calledTaskTag: string, subformControlName: string, formName: string): void;
361
+ static addOpenForm(obj: Object, formName: string, handlerTaskTag: string, calledTaskTag: string, inputControls: string, isDialog: boolean): void;
362
+ static addCloseForm(obj: Object, handlerTaskTag: string, calledTaskTag: string): void;
363
+ static addCallJS(form: any, formName: string, name: string, args: Array<any>): string;
364
+ static addIsLoggedIn(setBool: boolean): void;
365
+ static addShowSpinner(show: boolean): void;
366
+ static addGlobalCommand(commandType: CommandType): void;
367
+ static addShowHTMLError(commandType: CommandType, error: string): void;
368
+ static beginInvoke(): void;
369
+ static invoke(): void;
370
+ constructor();
371
+ }
372
+
373
+ declare class TaskDefinitionId {
374
+ CtlIndex: number;
375
+ ProgramIsn: number;
376
+ TaskIsn: number;
377
+ IsProgram: boolean;
378
+ constructor(ctlIndex: number, programIsn: number, taskIsn: number, isProgram: boolean);
379
+ constructor();
380
+ private constructor_0;
381
+ private constructor_1;
382
+ IsMainProgram(): boolean;
383
+ Equals(obj: any): boolean;
384
+ GetHashCode(): number;
385
+ private HashCodeString;
386
+ toString(): string;
387
+ fromJSON(jsonStr: string): void;
388
+ }
389
+
390
+ interface ITask {
391
+ getCompIdx(): number;
392
+ getTaskTag(): string;
393
+ getNullArithmetic(): string;
394
+ getMode(): string;
395
+ }
396
+
397
+ interface IFlowMonitorQueue {
398
+ addTaskCngMode(newTaskMode: string, taskInfo: string): void;
399
+ }
400
+
401
+ declare class FieldDef {
402
+ DefaultValue: string;
403
+ NullAllowed: boolean;
404
+ protected _nullDefault: boolean;
405
+ protected _nullValue: string;
406
+ protected _nullDisplay: string;
407
+ set DbModifiable(value: boolean);
408
+ get DbModifiable(): boolean;
409
+ private _dbModifiable;
410
+ private _partOfDataview;
411
+ protected _picture: string;
412
+ protected _size: number;
413
+ protected _varName: string;
414
+ private _contentType;
415
+ protected _vecCellsContentType: string;
416
+ protected _vecCellsSize: number;
417
+ protected _vecCellsType: StorageAttribute;
418
+ protected _type: StorageAttribute;
419
+ Storage: FldStorage;
420
+ VarDisplayName: string;
421
+ protected static _default_date: string;
422
+ protected readonly _id: number;
423
+ protected _spaces: string[];
424
+ constructor(id: number);
425
+ get PartOfDataview(): boolean;
426
+ getId(): number;
427
+ getType(): StorageAttribute;
428
+ static getMagicDefaultNullDisplayValue(type: StorageAttribute): string;
429
+ static getMagicDefaultValue(type: StorageAttribute): string;
430
+ getDefaultValue(): string;
431
+ getCellDefualtValue(): string;
432
+ getMagicDefaultValue(): string;
433
+ getContentType(): string;
434
+ hasNullDisplayValue(): boolean;
435
+ getSize(): number;
436
+ getVecCellsSize(): number;
437
+ setLengths(type: StorageAttribute, vecCells: boolean): void;
438
+ getCellsType(): StorageAttribute;
439
+ getVecCellsContentType(): string;
440
+ getNullValue(): string;
441
+ isNullDefault(): boolean;
442
+ getNullDisplay(): any;
443
+ IsContentUnicode(): boolean;
444
+ GetPicture(): string;
445
+ protected setAttribute(attribute: string, valueStr: string): boolean;
446
+ fillData(parser: XmlParser): void;
447
+ initElements(tokensVector: List<string>): void;
448
+ SetAfterParsing(): void;
449
+ getVarName(): string;
450
+ getName(): string;
451
+ }
452
+
453
+ interface IReferencedObject {
454
+ HasReferences: boolean;
455
+ AddReference(): void;
456
+ RemoveReference(): void;
457
+ }
458
+
459
+ declare class PIC {
460
+ private _mskLen;
461
+ private _negPref;
462
+ private _negSuff;
463
+ private _picAttr;
464
+ private _posPref;
465
+ private _posSuff;
466
+ private _autoSkip_;
467
+ private _padFill;
468
+ private _zeroFill;
469
+ private _comma;
470
+ private _decimalDigits;
471
+ private _decPointIsFirst;
472
+ private _decimal;
473
+ private _embeded;
474
+ private _formatIdx;
475
+ private _format;
476
+ private hebrew;
477
+ private _imeMode;
478
+ private _left;
479
+ private _maskLength;
480
+ private _maskChars;
481
+ private _maskSize;
482
+ private _mixed;
483
+ private _formatExp;
484
+ private _msk;
485
+ private _needLength;
486
+ private _negative;
487
+ private _pad;
488
+ private _prefLen;
489
+ private _size;
490
+ private _suffLen;
491
+ private _termFlag;
492
+ private _trim;
493
+ private _whole;
494
+ private _zero;
495
+ constructor(picStr: string, attr: StorageAttribute, compIdx: number);
496
+ isHebrew(): boolean;
497
+ isMixed(): boolean;
498
+ embededChars(): boolean;
499
+ isNegative(): boolean;
500
+ withComa(): boolean;
501
+ isLeft(): boolean;
502
+ padFill(): boolean;
503
+ getPad(): string;
504
+ zeroFill(): boolean;
505
+ getZeroPad(): string;
506
+ isTrimed(): boolean;
507
+ autoSkip(): boolean;
508
+ withDecimal(): boolean;
509
+ withTerm(): boolean;
510
+ getMaskChars(): number;
511
+ getWholes(): number;
512
+ getDec(): number;
513
+ getSize(): number;
514
+ getMaskSize(): number;
515
+ getMaskLength(): number;
516
+ decInFirstPos(): boolean;
517
+ setFormatExp(val: boolean): void;
518
+ isFormatExp(): boolean;
519
+ getPosPref_(): string;
520
+ getPosSuff_(): string;
521
+ getNegPref_(): string;
522
+ getNegSuff_(): string;
523
+ getMask(): string;
524
+ getFormat(): string;
525
+ getAttr(): StorageAttribute;
526
+ setAttr(set: StorageAttribute): void;
527
+ getImeMode(): number;
528
+ private prs_all;
529
+ private alpha_prs;
530
+ private num_prs;
531
+ getUnformattedNumericPic(): PIC;
532
+ private date_prs;
533
+ private time_prs;
534
+ static buildPicture(type: StorageAttribute, val: string, compIdx: number, useDecimal: boolean): PIC;
535
+ setHebrew(): void;
536
+ protected static getDefaultDateMask(dataMode: string): string;
537
+ private bool_prs;
538
+ private pik_sign;
539
+ private pik_count;
540
+ private pik_drv_fill;
541
+ private pik_mask;
542
+ private pik_dup;
543
+ private pic_kanji;
544
+ private getMaskLen;
545
+ picIsMask(pos: number): boolean;
546
+ getDirectiveLen(pos: number): number;
547
+ getDirectiveLen(mskPos: number, bufPos: number, buf: string): number;
548
+ private getDirectiveLen_0;
549
+ private getDirectiveLen_1;
550
+ validateChar(charToValidate: string, pos: number): string;
551
+ isValidInNum(letter: string): string;
552
+ isAttrLogical(): boolean;
553
+ isAttrNumeric(): boolean;
554
+ isAttrAlpha(): boolean;
555
+ isAttrUnicode(): boolean;
556
+ isAttrAlphaOrDate(): boolean;
557
+ isAttrDateOrTime(): boolean;
558
+ isAttrBlob(): boolean;
559
+ isNumeric(pos: number): boolean;
560
+ isAllX(): boolean;
561
+ isMaskPicEq(pos: number, maskPic: number): boolean;
562
+ isValidChar_as400(charToValidate: string, firstChar: string, pos: number): boolean;
563
+ getMinimumValueLength(): number;
564
+ toString(): string;
565
+ }
566
+
567
+ declare class NUM_TYPE {
568
+ static INT_ZERO_HEX: string;
569
+ static NO_ROOM: number;
570
+ static ZERO_FILL: number;
571
+ static NUM_SIZE: number;
572
+ static NUM_LONG_TYPE: number;
573
+ static EXP_BIAS: number;
574
+ static SIGN_MASK: number;
575
+ COMMACHAR: string;
576
+ DECIMALCHAR: string;
577
+ private SIGNIFICANT_NUM_SIZE;
578
+ private _data;
579
+ set Data(value: Int8Array);
580
+ get Data(): Int8Array;
581
+ constructor();
582
+ constructor(recordHexStr: string);
583
+ constructor(byteVal: Int8Array, offset: number, length: number);
584
+ constructor(byteVal: Int8Array);
585
+ constructor(decStr: string, pic: PIC, compIdx: number);
586
+ constructor(numFrom: NUM_TYPE);
587
+ private constructor_0;
588
+ private constructor_1;
589
+ private constructor_2;
590
+ private constructor_3;
591
+ private constructor_4;
592
+ private constructor_5;
593
+ toDisplayValue(pic: PIC): string;
594
+ private initConst;
595
+ toXMLrecord(): string;
596
+ private from_a;
597
+ num_4_a_std(str: string): void;
598
+ NUM_4_LONG(longVal: number): void;
599
+ a_2_long(str: string): number;
600
+ to_a(pic: PIC): string;
601
+ protected to_a_pic(pic: PIC): string;
602
+ protected num_l_2_str(num: number, str: string[], len: number, pic: PIC): number;
603
+ protected to_str(str: string[], len: number, pic: PIC): number;
604
+ static add(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
605
+ static sub(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
606
+ static mul(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
607
+ static mod(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
608
+ static div(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
609
+ static num_cmp(num1: NUM_TYPE, num2: NUM_TYPE): number;
610
+ static numHexStrIsLong(numHexStr: string): boolean;
611
+ NUM_ZERO(): void;
612
+ NUM_SET_ZERO(): void;
613
+ num_is_neg(): boolean;
614
+ num_is_zero(): boolean;
615
+ num_neg(): void;
616
+ NUM_IS_LONG(): boolean;
617
+ NUM_LONG(): number;
618
+ round(decs: number): void;
619
+ dbRound(whole: number): void;
620
+ num_trunc(decs: number): void;
621
+ num_4_std_long(): void;
622
+ num_4_ulong(data: number): void;
623
+ NUM_2_LONG(): number;
624
+ NUM_2_ULONG(): number;
625
+ num_2_long(): number;
626
+ num_2_ulong(): number;
627
+ static add_pos(num1: NUM_TYPE, num2: NUM_TYPE, operData: OperData): NUM_TYPE;
628
+ static sub_pos(num1: NUM_TYPE, num2: NUM_TYPE, operData: OperData): NUM_TYPE;
629
+ num_fix(wholes: number): void;
630
+ SHRT_IS_ZERO(pos: number): boolean;
631
+ private setZero;
632
+ private static memcmp;
633
+ static toUByte(byteVal: number): number;
634
+ static toSByte(unsignedVal: number): number;
635
+ static MaxLONG(): NUM_TYPE;
636
+ static MinLONG(): NUM_TYPE;
637
+ to_double(): number;
638
+ private storage_mg_2_float;
639
+ private LO_CHAR;
640
+ private HI_CHAR;
641
+ private LO_SHRT;
642
+ private HI_SHRT;
643
+ private static MK_SHRT;
644
+ private static MK_LONG;
645
+ private sbyteArr_2_Double;
646
+ private static double_2_sbyteArray;
647
+ static eval_op_pwr(num1: NUM_TYPE, num2: NUM_TYPE): NUM_TYPE;
648
+ static from_double(d0: number): NUM_TYPE;
649
+ private static storage_mg_4_float;
650
+ private static storage_num_4_fld_flt;
651
+ static eval_op_log(val1: NUM_TYPE): NUM_TYPE;
652
+ static eval_op_exp(val1: NUM_TYPE): NUM_TYPE;
653
+ static eval_op_abs(val1: NUM_TYPE): NUM_TYPE;
654
+ static eval_op_sin(val1: NUM_TYPE): NUM_TYPE;
655
+ static eval_op_cos(val1: NUM_TYPE): NUM_TYPE;
656
+ static eval_op_tan(val1: NUM_TYPE): NUM_TYPE;
657
+ static eval_op_asin(val1: NUM_TYPE): NUM_TYPE;
658
+ static eval_op_acos(val1: NUM_TYPE): NUM_TYPE;
659
+ static eval_op_atan(val1: NUM_TYPE): NUM_TYPE;
660
+ num_abs(): void;
661
+ static eval_op_rand(val1: NUM_TYPE): NUM_TYPE;
662
+ private static hash_rand;
663
+ }
664
+ declare class OperData {
665
+ NUM_Diff_: number;
666
+ NUM_Exp1_: number;
667
+ NUM_Exp2_: number;
668
+ }
669
+
670
+ declare const EMPTY_DCREF: number;
671
+ declare const NOT_FOUND: number;
672
+ declare class DcValues implements IReferencedObject {
673
+ private _id;
674
+ private _type;
675
+ private _refCount;
676
+ private _nullFlags;
677
+ private _isNumericType;
678
+ private _numVals;
679
+ private _linkVals;
680
+ private _dispVals;
681
+ get HasReferences(): boolean;
682
+ constructor(empty: boolean);
683
+ GetAttr(): StorageAttribute;
684
+ setType(type: StorageAttribute): void;
685
+ SetID(newId: number): void;
686
+ SetDisplayValues(displayValues: string[]): void;
687
+ SetLinkValues(linkValues: string[]): void;
688
+ setNullFlags(nullFlags: boolean[]): void;
689
+ private setNumericVals;
690
+ getId(): number;
691
+ getDispVals(): string[];
692
+ GetLinkVals(): string[];
693
+ getIndexOf(mgVal: string, isVectorValue: boolean, isNull: boolean, extraVals: string[], extraNums: NUM_TYPE[], splitCommaSeperatedVals: boolean): number[];
694
+ getLinkValue(idx: number): string;
695
+ isNull(idx: number): boolean;
696
+ AddReference(): void;
697
+ RemoveReference(): void;
698
+ ToString(): string;
699
+ }
700
+
701
+ declare abstract class FieldsTable {
702
+ protected _fields: List<FieldDef>;
703
+ constructor();
704
+ getField(idx: number): FieldDef;
705
+ getField(fldName: string): FieldDef;
706
+ private getField_0;
707
+ getSize(): number;
708
+ fillData(parser: XmlParser, dataview: GuiDataViewBase): void;
709
+ initInnerObjects(foundTagName: string, dataview: GuiDataViewBase): boolean;
710
+ protected abstract initField(parser: XmlParser, dataview: GuiDataViewBase): FieldDef;
711
+ private getField_1;
712
+ }
713
+
714
+ declare abstract class GuiDataViewBase {
715
+ _dcValsCollection: Dictionary<DcValues>;
716
+ private _emptyDataview;
717
+ _fieldsTab: FieldsTable;
718
+ _task: GuiTaskBase;
719
+ private _emptyChoice;
720
+ private _emptyChoiceForVectors;
721
+ abstract Init(): void;
722
+ abstract fillHeaderData(parser: XmlParser): void;
723
+ abstract getChunkSize(): number;
724
+ getField(id: number): FieldDef;
725
+ isEmptyDataview(): boolean;
726
+ setEmptyDataview(emptyDataview: boolean): void;
727
+ getTask(): ITask;
728
+ getDcValues(dcId: number): DcValues;
729
+ getEmptyChoice(): DcValues;
730
+ getEmptyChoiceForVectors(): DcValues;
731
+ GetFieldsTab(): FieldsTable;
732
+ GetRouteParams(): List<any>;
733
+ }
734
+
735
+ declare abstract class GuiFieldBase extends FieldDef {
736
+ ControlToFocus: MgControlBase;
737
+ protected _controls: List<MgControlBase>;
738
+ protected _dataview: GuiDataViewBase;
739
+ constructor(id: number);
740
+ getTask(): ITask;
741
+ updateDisplayWithValue(displayValue: string, isNull: boolean): Promise<void>;
742
+ SetControl(ctrl: MgControlBase): void;
743
+ RemoveControl(ctrl: MgControlBase): void;
744
+ GetRadioCtrls(): List<MgControlBase>;
745
+ toString(): string;
746
+ }
747
+
748
+ declare abstract class GuiFormPropertyAdapter extends GuiMgForm {
749
+ static IsFormTag(tagName: string): boolean;
750
+ static IsEndFormTag(tagName: string): boolean;
751
+ abstract getTask(): GuiTaskBase;
752
+ abstract isRefreshRepeatableAllowed(): boolean;
753
+ abstract isSubForm(): boolean;
754
+ abstract getSubFormCtrl(): GuiControlPropertyAdapter;
755
+ abstract getCtrlByName(ctrlName: string, ctrlType: MgControlType): GuiControlPropertyAdapter;
756
+ abstract getTableItemsCount(): number;
757
+ abstract fillName(formTag: string): void;
758
+ abstract checkAndCreateRow(idx: number): void;
759
+ abstract set DisplayLine(value: number);
760
+ }
761
+
762
+ declare abstract class GuiControlPropertyAdapter extends GuiMgControl {
763
+ DataType: StorageAttribute;
764
+ InControl: boolean;
765
+ abstract setPicStr(format: string, expId: number): void;
766
+ abstract setRange(newRange: string): void;
767
+ abstract setValExp(expId: number): void;
768
+ abstract setField(fieldOrFieldStrID: any): void;
769
+ abstract getForm(): GuiFormPropertyAdapter;
770
+ abstract getLayer(): number;
771
+ abstract computePIC(picExpResult: string): PIC;
772
+ abstract setImageList(url: string): void;
773
+ abstract setImageWithFileName(fileName: string): void;
774
+ abstract isDescendentOfControl(control: GuiControlPropertyAdapter): boolean;
775
+ abstract getLinkedParent(checkSubformFather: boolean): GuiControlPropertyAdapter;
776
+ abstract SetEnabled(val: boolean): void;
777
+ updatePropertyLogicNesting(propId: number, commandType: CommandType, val: boolean, updateThis: boolean): Promise<void>;
778
+ abstract IsDateTimePicture(): boolean;
779
+ abstract GetCurrReadOnly(): boolean;
780
+ abstract SetCurrReadOnly(newVal: boolean): void;
781
+ abstract getDisplayLine(useLineForItems: boolean): number;
782
+ refreshAndSetItemsList(line: number, execComputeChoice: boolean): Promise<void>;
783
+ refreshTabForLayerList(line: number): Promise<void>;
784
+ abstract getPIC(): PIC;
785
+ abstract resetPrevVal(): void;
786
+ abstract getField(): GuiFieldBase;
787
+ abstract expressionSetAsData(): boolean;
788
+ abstract clearRange(line: number): void;
789
+ ComputeAndRefreshDisplayValue(forceRefresh: boolean): Promise<void>;
790
+ refreshDispRange(execComputeChoice: boolean): Promise<string[]>;
791
+ abstract isPropertyRepeatable(propId: number): boolean;
792
+ abstract isVisible(): boolean;
793
+ abstract getProp(propId: number): any;
794
+ isParkable(checkEnabledAndVisible: boolean): Promise<boolean>;
795
+ }
796
+
797
+ declare class PropTable {
798
+ private _hashTab;
799
+ private _props;
800
+ private _parent;
801
+ constructor();
802
+ constructor(parent_: PropParentInterface);
803
+ private constructor_0;
804
+ private constructor_1;
805
+ fillData(parentObj: PropParentInterface, parType: string, parser: XmlParser): void;
806
+ fillDataByExists(task: GuiTaskBase, parser: XmlParser): void;
807
+ private initInnerObjects;
808
+ addProp(prop: Property): void;
809
+ delPropById(id: number): void;
810
+ private fillExistInnerObjects;
811
+ private fillName;
812
+ getSize(): number;
813
+ getProp(idx: number): Property;
814
+ getPropById(id: number): Property;
815
+ propExists(id: number): boolean;
816
+ setProp(propId: number, val: string, parent: PropParentInterface, parentType: string): void;
817
+ RefreshDisplay(forceRefresh: boolean, onlyRepeatableProps: boolean): Promise<boolean>;
818
+ updatePrevValueArray(newSize: number): void;
819
+ resetPrevValueArray(): void;
820
+ resetPrevValAt(index: number): void;
821
+ clearLabelPrevValueArray(): void;
822
+ getCtrlRef(): GuiControlPropertyAdapter;
823
+ InsertPrevValueArray(count: number): void;
824
+ }
825
+
826
+ declare class ValidationDetailsBase {
827
+ protected _continuousRangeValues: List<string>;
828
+ protected _discreteRangeValues: List<string>;
829
+ protected _range: string;
830
+ constructor();
831
+ constructor(rangeStr: string);
832
+ protected fillRange(): void;
833
+ private rangeForms;
834
+ private deleteChar;
835
+ private findDelimeter;
836
+ getDiscreteRangeValues(): List<string>;
837
+ getContinuousRangeValues(): List<string>;
838
+ }
839
+
840
+ declare class ValidationDetails extends ValidationDetailsBase {
841
+ private _control;
842
+ private _fieldValidator;
843
+ private _picData;
844
+ private _pictureEnable;
845
+ private _pictureReal;
846
+ private _isNull;
847
+ private _oldvalue;
848
+ private _val;
849
+ private _validationFailed;
850
+ private errMessage;
851
+ get ErrorMessage(): string;
852
+ set ErrorMessage(msg: string);
853
+ get ValidationFailed(): boolean;
854
+ constructor(oldvalue: any, val: any, range: string, pic: PIC, control: MgControlBase);
855
+ constructor(rangeStr: string);
856
+ constructor(vd: ValidationDetails);
857
+ constructor();
858
+ private constructor_0;
859
+ private constructor_1;
860
+ private constructor_2;
861
+ private constructor_3;
862
+ private getRealNumericPicture;
863
+ private setPictures;
864
+ setValue(val: any): void;
865
+ setOldValue(oldvalue: any): void;
866
+ setRange(range: string): void;
867
+ setValidationFailed(val: boolean): void;
868
+ setNull(isNull_: boolean): void;
869
+ getDispValue(): string;
870
+ getOldValue(): string;
871
+ getType(): StorageAttribute;
872
+ getPictureReal(): string;
873
+ getPictureEnable(): string;
874
+ getIsNegative(): boolean;
875
+ getIsPadFill(): boolean;
876
+ getPadFillChar(): string;
877
+ getIsZeroFill(): boolean;
878
+ getZeroFillChar(): string;
879
+ getNegativeSignPref(): string;
880
+ getRange(): string;
881
+ getControl(): MgControlBase;
882
+ getPIC(): PIC;
883
+ getIsNull(): boolean;
884
+ evaluate(): ValidationDetails;
885
+ private CloneDiscreteRangeValues;
886
+ private CloneContinuousRangeValues;
887
+ }
888
+
889
+ declare class ObjectReference {
890
+ CtlIndex: number;
891
+ ObjectISN: number;
892
+ constructor(ctlIndex: number, objectIsn: number);
893
+ toString(): string;
894
+ static ParsedReference: ObjectReference;
895
+ static FromXML(xmlData: string): ObjectReference;
896
+ private static FillFromJSON;
897
+ }
898
+
899
+ declare abstract class MgControlBase extends GuiControlPropertyAdapter implements PropParentInterface {
900
+ _ditIdx: number;
901
+ private _linkedControls;
902
+ _field: GuiFieldBase;
903
+ private _picStr;
904
+ _choiceDisps: List<string[]>;
905
+ _choiceLayerList: List<string[]>;
906
+ _choiceLinks: List<string[]>;
907
+ _choiceNums: List<NUM_TYPE[]>;
908
+ private _containerDitIdx;
909
+ _currReadOnly: List<boolean>;
910
+ private _dataCtrl;
911
+ _dcTableRefs: List<number>;
912
+ private _firstRefreshProperties;
913
+ private _form;
914
+ private _hasValidItmAndDispVal;
915
+ private _controlIsn;
916
+ private _linkedParentDitIdx;
917
+ _orgChoiceDisps: List<string[]>;
918
+ _parentTable: MgControlBase;
919
+ _pic: PIC;
920
+ private _picExpExists;
921
+ _prevIsNulls: List<boolean>;
922
+ private _prevPicExpResult;
923
+ _prevValues: List<string>;
924
+ _propTab: PropTable;
925
+ private _range;
926
+ private _rangeChanged;
927
+ _valExpId: number;
928
+ private _vd;
929
+ private _dcValId;
930
+ parent: number;
931
+ veeIndx: number;
932
+ SourceTableReference: ObjectReference;
933
+ ClipBoardDataExists: boolean;
934
+ DataType: StorageAttribute;
935
+ KeyStrokeOn: boolean;
936
+ ModifiedByUser: boolean;
937
+ Value: any;
938
+ IsNull: boolean;
939
+ forceRefresh: boolean;
940
+ private _isModal;
941
+ protected set Form(value: MgFormBase);
942
+ protected get Form(): MgFormBase;
943
+ get ControlIsn(): number;
944
+ RefreshOnVisible: boolean;
945
+ InControl: boolean;
946
+ ValidateControl: boolean;
947
+ PromptHelp: string;
948
+ constructor();
949
+ constructor(type: MgControlType, parentMgForm: MgFormBase, parentControl: number);
950
+ private constructor_0;
951
+ private constructor_1;
952
+ get UniqueName(): string;
953
+ get TaskTag(): string;
954
+ checkIfExistProp(propId: number): boolean;
955
+ getProp(propId: number): Property;
956
+ getForm(): MgFormBase;
957
+ getCompIdx(): number;
958
+ IsFirstRefreshOfProps(): boolean;
959
+ EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
960
+ GetExpressionStorage(expId: number): StorageAttribute;
961
+ GetComputedProperty(propId: number): Property;
962
+ private initReferences;
963
+ createArrays(forceCreateArrays: boolean): void;
964
+ SetFocus(ctrl: MgControlBase, line: number, activateForm: boolean): Promise<void>;
965
+ InsertArrays(idx: number, count: number): void;
966
+ updateArrays(newSize: number): void;
967
+ updatePrevValArrays(newSize: number): void;
968
+ fillData(mgForm: MgFormBase, ditIdx: number, parser: XmlParser): void;
969
+ initInnerObjects(foundTagName: string, parser: XmlParser): boolean;
970
+ private ParseSourceTable;
971
+ private parseAttributes;
972
+ SetAttribute(attribute: string, valueStr: string): boolean;
973
+ setImage(): void;
974
+ setImageWithFileName(fileName: string): void;
975
+ private setContainer;
976
+ getName(): string;
977
+ getLinkedControls(): List<MgControlBase>;
978
+ isRepeatable(): boolean;
979
+ IsModal(): boolean;
980
+ getDisplayLine(useLineForItems: boolean): number;
981
+ isVisible(): boolean;
982
+ isEnabled(): boolean;
983
+ isModifiable(): boolean;
984
+ isOnDemandSelectionList(): boolean;
985
+ getDcVals(): DcValues;
986
+ getPrevIsNull(): boolean;
987
+ setPrevIsNull(newValue: boolean): void;
988
+ setPIC(picStr: string): void;
989
+ getPIC(): PIC;
990
+ getParent(): any;
991
+ getField(): GuiFieldBase;
992
+ setField(fieldOrFieldStrID: any): void;
993
+ private setField_0;
994
+ private setField_1;
995
+ setPicStr(format: string, expId: number): void;
996
+ setRange(newRange: string): void;
997
+ setValExp(expId: number): void;
998
+ buildCopyPicture(oldVal: string, newVal: string): ValidationDetails;
999
+ private getCopyOfVD;
1000
+ getRanges(): string;
1001
+ getRangedValue(newVal: any): string;
1002
+ validate(newVal: any): string;
1003
+ private getFieldByValueStr;
1004
+ hasContainer(): boolean;
1005
+ getLayer(): number;
1006
+ computePIC(picExpResult: string): PIC;
1007
+ getCurrentIndexOfChoice(): number[];
1008
+ IsDateTimePicture(): boolean;
1009
+ SupportsDataSource(): boolean;
1010
+ HasAutocomplete(): boolean;
1011
+ getIndexOfChoice(mgVal: string, line: number, isNull: boolean): Promise<number[]>;
1012
+ getDispVals(line: number, execComputeChoice: boolean): Promise<string[]>;
1013
+ private emptyChoice;
1014
+ private computeChoice;
1015
+ getTopMostForm(): MgFormBase;
1016
+ private setUrl;
1017
+ getMgValue(dispVal: any): Promise<string>;
1018
+ getLinkValue(selectedIndice: string, line: number): Promise<string>;
1019
+ private setText;
1020
+ private setRadioChecked;
1021
+ setControlToFocus(): void;
1022
+ private setCheckBoxValue;
1023
+ setAsThreeState(): void;
1024
+ isThreeStateCheckBox(): boolean;
1025
+ private refreshAndSetItemListByDataSource;
1026
+ setDcRef(dcId: number): void;
1027
+ setImageList(url: string): void;
1028
+ updatePropertyLogicNesting(propId: number, commandType: CommandType, val: boolean, updateThis: boolean): Promise<void>;
1029
+ SetEnabled(val: boolean): void;
1030
+ updateChildrenPropValue(propId: number, commandType: CommandType, val: boolean): Promise<void>;
1031
+ isDescendentOfControl(control: GuiMgControl): boolean;
1032
+ updateSubformChildrenPropValue(propId: number, commandType: CommandType, val: boolean): void;
1033
+ isChildOnCurrentLayer(child: MgControlBase): boolean;
1034
+ getCurrentLinkIdx(): number;
1035
+ getLayerFromLinkIdx(indice: number[]): number[];
1036
+ private getLinkIdxFromLayer;
1037
+ isParentPropValue(propId: number): boolean;
1038
+ getLinkedParent(checkSubformFather: boolean): GuiControlPropertyAdapter;
1039
+ SetCurrReadOnly(newVal: boolean): void;
1040
+ GetCurrReadOnly(): boolean;
1041
+ isDataCtrl(): boolean;
1042
+ getDcRef(): number;
1043
+ private getDcLineNum;
1044
+ private optionIsValid;
1045
+ private getOrderedDispList;
1046
+ resetPrevVal(): void;
1047
+ setPrevIsNull_ToNull(): void;
1048
+ expressionSetAsData(): boolean;
1049
+ clearRange(line: number): void;
1050
+ haveToCheckParentValue(): boolean;
1051
+ isContainedInLinkedParent(): boolean;
1052
+ private static combineStringArrays;
1053
+ GetComputedBooleanProperty(propId: number, defaultRetVal: boolean, line?: number): boolean;
1054
+ private GetComputedBooleanProperty_0;
1055
+ private GetComputedBooleanProperty_1;
1056
+ checkPropWithLine(propId: number, defaultRetVal: boolean, line: number): Promise<boolean>;
1057
+ checkProp(propId: number, defaultRetVal: boolean): Promise<boolean>;
1058
+ isPropertyRepeatable(propId: number): boolean;
1059
+ SetAndRefreshDisplayValue(mgVal: string, isNull: boolean): Promise<void>;
1060
+ UpdateModifiedByUser(newValue: string): void;
1061
+ private rtrimValue;
1062
+ private getMinimumValueLength;
1063
+ isNullValue(str: string): boolean;
1064
+ CanGetNullFromControlValue(): boolean;
1065
+ isChoiceNull(idx: number): boolean;
1066
+ ComputeAndRefreshDisplayValue(forceRefresh: boolean): Promise<void>;
1067
+ ShouldRefreshOnControlEnter(): boolean;
1068
+ RefreshDisplayValue(mgVal: string): Promise<void>;
1069
+ RefreshDisplay(onlyRepeatableProps?: boolean): Promise<void>;
1070
+ private RefreshDisplay_1;
1071
+ ShouldComputeAndRefreshOnClosedForm(): boolean;
1072
+ refreshProperties(onlyRepeatableProps: boolean): Promise<void>;
1073
+ refreshTabForLayerList(line: number): Promise<void>;
1074
+ refreshAndSetItemsList(line: number, execComputeChoice: boolean): Promise<void>;
1075
+ refreshDispRange(execComputeChoice: boolean): Promise<string[]>;
1076
+ refreshItmRange(execComputeChoice: boolean): Promise<string[]>;
1077
+ GetItemsRange(): Promise<string[]>;
1078
+ GetDisplayRange(): Promise<string[]>;
1079
+ private createDefaultProps;
1080
+ private setLinkedParentIdx;
1081
+ buildPicture(oldVal: any, val: any): ValidationDetails;
1082
+ isDifferentValue(newValue: any, isNull: boolean, checkNullValue: boolean): boolean;
1083
+ CompareDate(d1: Date, d2: Date): boolean;
1084
+ CompareTime(d1: Date, d2: Date): boolean;
1085
+ isColumnSortable(): boolean;
1086
+ getColumnChildControl(): MgControlBase;
1087
+ getControlNameForHandlerSearch(): string;
1088
+ linkCtrl(ctrl: MgControlBase): void;
1089
+ removeRefFromField(): void;
1090
+ getDitIdx(): number;
1091
+ setDcValId(dcValId: number): void;
1092
+ SetKeyboardLanguage(): void;
1093
+ Init(): void;
1094
+ IsParkable(): Promise<boolean>;
1095
+ HasExpOrParentTaskField(): boolean;
1096
+ isParkable(checkEnabledAndVisible: boolean): Promise<boolean>;
1097
+ RaiseControlHitOnLeftClickOfMouseDown(): boolean;
1098
+ GetVarIndex(): number;
1099
+ RaiseControlHitOnMouseDown(leftClickWasPressed: boolean): boolean;
1100
+ OnSubformClick(): void;
1101
+ GetSubformMgForm(): MgFormBase;
1102
+ PropertyExists(id: number): boolean;
1103
+ toString(): string;
1104
+ isDateZero(val: Date): boolean;
1105
+ IsDefaultRouterOutlet(): boolean;
1106
+ IsRouterOutlet(): boolean;
1107
+ ZoomButtonInitialization(): Promise<void>;
1108
+ }
1109
+
1110
+ declare abstract class MagicHelp {
1111
+ abstract GetHelpType(): HelpType;
1112
+ }
1113
+ declare class InternalHelp extends MagicHelp {
1114
+ val: string;
1115
+ Name: string;
1116
+ FrameX: number;
1117
+ FrameY: number;
1118
+ FrameDx: number;
1119
+ FrameDy: number;
1120
+ SizedX: number;
1121
+ SizedY: number;
1122
+ FactorX: number;
1123
+ FactorY: number;
1124
+ Borderstyle: number;
1125
+ TitleBar: number;
1126
+ FontTableIndex: number;
1127
+ GetHelpType(): HelpType;
1128
+ constructor();
1129
+ }
1130
+ declare class PromptpHelp extends MagicHelp {
1131
+ PromptHelpText: string;
1132
+ GetHelpType(): HelpType;
1133
+ constructor();
1134
+ }
1135
+ declare class ToolTipHelp extends MagicHelp {
1136
+ tooltipHelpText: string;
1137
+ GetHelpType(): HelpType;
1138
+ constructor();
1139
+ }
1140
+ declare class URLHelp extends MagicHelp {
1141
+ urlHelpText: string;
1142
+ GetHelpType(): HelpType;
1143
+ constructor();
1144
+ }
1145
+ declare class WindowsHelp extends MagicHelp {
1146
+ FilePath: string;
1147
+ HelpCommand: HelpCommand;
1148
+ HelpKey: string;
1149
+ GetHelpType(): HelpType;
1150
+ constructor();
1151
+ }
1152
+ declare class Helps {
1153
+ private _helps;
1154
+ constructor();
1155
+ fillData(parser: XmlParser): void;
1156
+ private initInnerObjects;
1157
+ private fillHelpItem;
1158
+ getHelp(idx: number): MagicHelp;
1159
+ }
1160
+
1161
+ interface IActionManager {
1162
+ enable(act: number, enable: boolean): void;
1163
+ isEnabled(act: number): boolean;
1164
+ getActCount(act: number): number;
1165
+ enableList(act: number[], enable: boolean, onlyIfChanged: boolean): void;
1166
+ enableNavigationActions(enable: boolean): void;
1167
+ }
1168
+
1169
+ declare abstract class GuiTaskBase implements ITask, PropParentInterface {
1170
+ protected static MAIN_PRG_PARENT_ID: number;
1171
+ _flowMonitor: IFlowMonitorQueue;
1172
+ private _keyboardMappingState;
1173
+ _refreshType: string;
1174
+ _lastParkedCtrl: MgControlBase;
1175
+ private _brkLevel;
1176
+ private _brkLevelIndex;
1177
+ private _mainLevel;
1178
+ private _level;
1179
+ _enteredRecLevel: boolean;
1180
+ _currParkedFld: GuiFieldBase;
1181
+ private isInRecompute;
1182
+ CurrentEditingControl: MgControlBase;
1183
+ private shouldResumeSubformLayout;
1184
+ ApplicationGuid: string;
1185
+ ProgramIsn: number;
1186
+ TaskIsn: number;
1187
+ ContextID: number;
1188
+ IsSubForm: boolean;
1189
+ _ctlIdx: number;
1190
+ _compIdx: number;
1191
+ _isPrg: boolean;
1192
+ _isMainPrg: boolean;
1193
+ IsInteractive: boolean;
1194
+ _taskTag: string;
1195
+ _openWin: boolean;
1196
+ private _allowEvents;
1197
+ Form: MgFormBase;
1198
+ _propTab: PropTable;
1199
+ _helpTab: Helps;
1200
+ _nullArithmetic: string;
1201
+ IconFileName: string;
1202
+ IsParallel: boolean;
1203
+ DataView: GuiDataViewBase;
1204
+ ActionManager: IActionManager;
1205
+ StudioParentTask: GuiTaskBase;
1206
+ private routerPath;
1207
+ protected routeParams: List<any>;
1208
+ private inDefaultRouterOutlet;
1209
+ Init(): void;
1210
+ get RouterPath(): string;
1211
+ get RouterParams(): List<any>;
1212
+ get InDefaultRouterOutlet(): boolean;
1213
+ IsSubtask: boolean;
1214
+ DataViewWasRetrieved: boolean;
1215
+ TaskPrefixExecuted: boolean;
1216
+ get IsBlockingBatch(): boolean;
1217
+ constructor();
1218
+ getTaskTag(): string;
1219
+ getCtlIdx(): number;
1220
+ isMainProg(): boolean;
1221
+ getTopMostForm(): MgFormBase;
1222
+ getCtrl(ctrlIdx: number): MgControlBase;
1223
+ setMode(val: string): void;
1224
+ getMode(): string;
1225
+ SetInRecompute(inRecompute: boolean): void;
1226
+ IsInRecompute(): boolean;
1227
+ resetRefreshType(): void;
1228
+ getRefreshType(): string;
1229
+ SetRefreshType(refreshType: string): void;
1230
+ GetRouterParams(): List<any>;
1231
+ getLastParkedCtrl(): MgControlBase;
1232
+ isOpenWin(): boolean;
1233
+ checkProp(propId: number, defaultRetVal: boolean): Promise<boolean>;
1234
+ getClickedControl(): MgControlBase;
1235
+ getKeyboardMappingState(): number;
1236
+ isStateEnabled(state: number): boolean;
1237
+ setKeyboardMappingState(state: number, on: boolean): void;
1238
+ static hiShrt(n: number): number;
1239
+ static loShrt(n: number): number;
1240
+ static mkInt(n1: number, n2: number): number;
1241
+ getHelpItem(idx: number): MagicHelp;
1242
+ setProp(propId: number, val: string): void;
1243
+ setBrkLevel(cBrkLevel: string, NewBrkLevelIndex: number): void;
1244
+ getBrkLevel(): string;
1245
+ getBrkLevelIndex(): number;
1246
+ setMainLevel(cBrkLevel: string): void;
1247
+ getMainLevel(): string;
1248
+ setLevel(cLevel: string): void;
1249
+ getLevel(): string;
1250
+ setDataSynced(synced: boolean): void;
1251
+ getNullArithmetic(): string;
1252
+ setLastParkedCtrl(ctrl: MgControlBase): void;
1253
+ getCurrField(): GuiFieldBase;
1254
+ setCurrField(currField: GuiFieldBase): void;
1255
+ getCurrFieldIdx(): number;
1256
+ getFieldByValueStr(valueStr: string): FieldDef;
1257
+ getFieldByValueStr(valueStr: string, parent: RefParam<number>, vee: RefParam<number>): FieldDef;
1258
+ private getFieldByValueStr_0;
1259
+ private getFieldByValueStr_1;
1260
+ getMainProgFieldByValueStr(valueStr: string): FieldDef;
1261
+ getFieldDef(fldId: number): FieldDef;
1262
+ getFieldDef(parent: number, fldIdx: number): FieldDef;
1263
+ private getField_0;
1264
+ InitForm(): Promise<void>;
1265
+ ResumeSubformLayout(): void;
1266
+ GetLastParkedCtrlName(depth: number): string;
1267
+ getForm(): MgFormBase;
1268
+ SetForm(value: MgFormBase): MgFormBase;
1269
+ checkIfExistProp(propId: number): boolean;
1270
+ getProp(propId: number): Property;
1271
+ GetComputedProperty(propId: number): Property;
1272
+ getCompIdx(): number;
1273
+ IsFirstRefreshOfProps(): boolean;
1274
+ EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
1275
+ GetExpressionStorage(expId: number): StorageAttribute;
1276
+ CalculateExpression(expId: number, resType: StorageAttribute, length: number): Promise<string>;
1277
+ abstract ConstructMgForm(alreadySetParentForm: RefParam<boolean>): MgFormBase;
1278
+ isStarted(): boolean;
1279
+ isAborting(): boolean;
1280
+ abstract GetTaskAncestor(generation: number): ITask;
1281
+ abstract GetContextTask(): ITask;
1282
+ abstract GetTaskDepth(): number;
1283
+ abstract RefreshDisplay(): void;
1284
+ abstract getFieldDisplayValue(fieldDef: FieldDef, value: RefParam<string>, isNull: RefParam<boolean>): void;
1285
+ abstract UpdateFieldValueAndStartRecompute(fieldDef: FieldDef, value: string, isNull: boolean): void;
1286
+ private getField_1;
1287
+ fillAttributes(parser: XmlParser): void;
1288
+ setAttribute(attribute: string, valueStr: string): boolean;
1289
+ FormInitData(parentForm: MgFormBase): MgFormBase;
1290
+ setTaskId(valueStr: string): void;
1291
+ private setCtlAndCompIdx;
1292
+ GetAncestorTaskContainingForm(): GuiTaskBase;
1293
+ private setMainPrg;
1294
+ private setNullArithmetic;
1295
+ private setIsInteracive;
1296
+ private setOpenWin;
1297
+ SetOpenWin(valuebool: boolean): void;
1298
+ SetAllowEvents(valueStr: string): void;
1299
+ private setIsPrg;
1300
+ ShouldEvaluatePropertyLocally(propId: number): boolean;
1301
+ abstract GetTaskDetails(): string;
1302
+ WriteToMessagePane(msg: string): void;
1303
+ WriteToMessagePanebyMsgId(msgId: string): void;
1304
+ }
1305
+
1306
+ declare class CustomValidatorProp {
1307
+ _exp: number;
1308
+ _errorMessageExp: number;
1309
+ _errorMessage: string;
1310
+ }
1311
+ declare class CustomValidator {
1312
+ _valid: boolean;
1313
+ _errorMessage: string;
1314
+ constructor(valid: boolean, errMessage: string);
1315
+ isValid(): boolean;
1316
+ getErrMessage(): string;
1317
+ }
1318
+ declare class Property {
1319
+ private _id;
1320
+ private _dataType;
1321
+ private _val;
1322
+ private _pic;
1323
+ private _expId;
1324
+ private _parentObj;
1325
+ private _parentType;
1326
+ private _prevValues;
1327
+ private _orgValue;
1328
+ private static _numericPropertyPic;
1329
+ private _taskDefinitionId;
1330
+ StudioValue: string;
1331
+ private _expAlreadyComputedOnce;
1332
+ private customProperties;
1333
+ private customPropertiesValues;
1334
+ private customValidatorProperties;
1335
+ private customValidatorValues;
1336
+ static UtilImeJpn: UtilImeJpn;
1337
+ get TaskDefinitionId(): TaskDefinitionId;
1338
+ constructor();
1339
+ constructor(cId: number, cParentObj: PropParentInterface, parType: string);
1340
+ constructor(cId: number, cParentObj: PropParentInterface, parType: string, val: string);
1341
+ private constructor_0;
1342
+ private constructor_1;
1343
+ private constructor_2;
1344
+ private setId;
1345
+ fillData(parentRef: PropParentInterface, parType: string, parser: XmlParser): void;
1346
+ private InitInnerObjects;
1347
+ private initElements;
1348
+ private InitCustomProperties;
1349
+ private InitCustomValidator;
1350
+ private InitCustomValidationProperties;
1351
+ private SetFirstValueForCustomValidationProperties;
1352
+ private GetArrayValuesForCustomValidationProperties;
1353
+ private GetArrayValuesForCustomProperties;
1354
+ private SetFirstValueForCustomProperties;
1355
+ private InitTaskDefinitionId;
1356
+ SetTaskDefinitionId(taskDefinitionId: TaskDefinitionId): void;
1357
+ private setDataType;
1358
+ private setControlAttributes;
1359
+ getID(): number;
1360
+ setValue(mgVal: string): void;
1361
+ SetValue(val: number): void;
1362
+ setOrgValue(): void;
1363
+ GetTaskByParentObject(): GuiTaskBase;
1364
+ RefreshDisplay(forceRefresh: boolean): Promise<void>;
1365
+ private ShouldSkipRefreshControl;
1366
+ private ShouldSkipRefreshForm;
1367
+ private ShouldSkipRefreshTask;
1368
+ private ShouldSkipRefresh;
1369
+ private RefreshDisplayWithCurrentLine;
1370
+ SkipWhenNoExpression(): boolean;
1371
+ RefreshDisplayWithCurrLineAndCheckSkipRefresh(forceRefresh: boolean, currLine: number, checkSkipRefresh: boolean): Promise<void>;
1372
+ private ShouldBeComputedOnce;
1373
+ private IsComputedOnceOnServer;
1374
+ private ComputeValue;
1375
+ private updateResult;
1376
+ private static updateTaskModeResult;
1377
+ getValue(): Promise<string>;
1378
+ getValueInt(): Promise<number>;
1379
+ GetComputedValueInteger(): number;
1380
+ getValueBoolean(): Promise<boolean>;
1381
+ GetComputedValue(): string;
1382
+ GetComputedValueBoolean(): boolean;
1383
+ getPrevValue(line: number): string;
1384
+ isExpression(): boolean;
1385
+ GetExpressionId(): number;
1386
+ private onImageFileName;
1387
+ private onEnable;
1388
+ private onVisible;
1389
+ private OnControlName;
1390
+ private onHint;
1391
+ private onFormName;
1392
+ private addCommandTypeText;
1393
+ private onText;
1394
+ private onModifiable;
1395
+ private onTooltip;
1396
+ private onDisplayList;
1397
+ private onVisibleLayerList;
1398
+ private onFormat;
1399
+ private onLabel;
1400
+ private getObjectByParentObj;
1401
+ static isRepeatableInTable(): boolean;
1402
+ private getLine;
1403
+ getOrgValue(): string;
1404
+ updatePrevValueArray(newSize: number): void;
1405
+ clearPrevValueArray(): void;
1406
+ ResetPrevValueArray(): void;
1407
+ private setPrevArraySize;
1408
+ private onPassword;
1409
+ private computeCustomPropertiesValues;
1410
+ private computeCustomValidators;
1411
+ private onCustomProperties;
1412
+ private onCustomValidators;
1413
+ private onBindingLevel;
1414
+ private onAutoCompleteMode;
1415
+ private GetRetrunValueForCustomPropertyExpression;
1416
+ RemovePrevValIndexAt(idx: number): void;
1417
+ InsertPrevValAt(idx: number): void;
1418
+ resetPrevValAt(idx: number): void;
1419
+ toString(): string;
1420
+ static getDefaultProp(propId: number, parentType: string, propParent: PropParentInterface): Property;
1421
+ InsertPrevValueArray(count: number): void;
1422
+ }
1423
+
1424
+ interface PropParentInterface {
1425
+ getCompIdx(): number;
1426
+ getProp(propId: number): Property;
1427
+ checkIfExistProp(propId: number): boolean;
1428
+ getForm(): MgFormBase;
1429
+ IsFirstRefreshOfProps(): boolean;
1430
+ EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
1431
+ GetExpressionStorage(expId: number): StorageAttribute;
1432
+ }
1433
+
1434
+ declare class ControlTable {
1435
+ private _controls;
1436
+ private _mgForm;
1437
+ constructor();
1438
+ fillData(mgForm: MgFormBase, parser: XmlParser): void;
1439
+ private initInnerObjects;
1440
+ getSize(): number;
1441
+ getCtrl(idx: number): MgControlBase;
1442
+ getCtrl(ctrlName: string): MgControlBase;
1443
+ private getCtrl_0;
1444
+ private getCtrl_1;
1445
+ getCtrlByName(ctrlName: string, ctrlType: MgControlType): MgControlBase;
1446
+ GetControlByIsn(isn: number): MgControlBase;
1447
+ GetControl(predicate: (value: MgControlBase) => boolean): MgControlBase;
1448
+ filter(callackFuntion: (item: any, index: any, array: any) => boolean): any;
1449
+ contains(ctrl: MgControlBase): boolean;
1450
+ addControl(ctrl: MgControlBase): void;
1451
+ setControlAt(ctrl: MgControlBase, index: number): void;
1452
+ deleteControlAt(index: number): void;
1453
+ Remove(ctrl: MgControlBase): boolean;
1454
+ Remove(idx: number): any;
1455
+ private Remove_0;
1456
+ private Remove_1;
1457
+ getControlIdx(inCtrl: MgControlBase, includeSubs: boolean): number;
1458
+ }
1459
+
1460
+ declare abstract class MgFormBase extends GuiFormPropertyAdapter implements PropParentInterface, IHashCode {
1461
+ InInitForm: boolean;
1462
+ CtrlTab: ControlTable;
1463
+ FormRefreshed: boolean;
1464
+ RefreshRepeatableAllowed: boolean;
1465
+ Rows: List<Row>;
1466
+ ModalFormsCount: number;
1467
+ ErrorOccured: boolean;
1468
+ FormIsn: number;
1469
+ Name: string;
1470
+ Opened: boolean;
1471
+ isLegalForm: boolean;
1472
+ PBImagesNumber: number;
1473
+ ignoreFirstRefreshTable: boolean;
1474
+ ParentForm: MgFormBase;
1475
+ protected _destTblRow: number;
1476
+ protected _firstTableTabOrder: number;
1477
+ protected _inRefreshDisp: boolean;
1478
+ protected _inRestore: boolean;
1479
+ protected _lastRowSent: number;
1480
+ protected _prevGuiTopIndex: number;
1481
+ protected _propTab: PropTable;
1482
+ protected _rowsInPage: number;
1483
+ protected _maxRowsInPaginatedTable: number;
1484
+ protected _subFormCtrl: MgControlBase;
1485
+ protected _tableMgControl: MgControlBase;
1486
+ protected _tableItemsCount: number;
1487
+ protected _tableRefreshed: boolean;
1488
+ protected _task: GuiTaskBase;
1489
+ protected _topIndexUpdated: boolean;
1490
+ protected _transferingData: boolean;
1491
+ private _allowedSubformRecompute;
1492
+ private _concreteWindowType;
1493
+ private _containerCtrl;
1494
+ private _firstRefreshOfProps;
1495
+ private _prevSelIndex;
1496
+ private _shouldCreateToolbar;
1497
+ private _tableChildren;
1498
+ private _tableColumns;
1499
+ protected _userStateId: string;
1500
+ private displayLine;
1501
+ constructor();
1502
+ get DisplayLine(): number;
1503
+ set DisplayLine(value: number);
1504
+ get UniqueName(): string;
1505
+ get TaskTag(): string;
1506
+ get TableChildren(): List<MgControlBase>;
1507
+ set TableChildren(value: List<MgControlBase>);
1508
+ get ShouldCreateToolbar(): boolean;
1509
+ get AllowedSubformRecompute(): boolean;
1510
+ set AllowedSubformRecompute(value: boolean);
1511
+ get ConcreteWindowType(): WindowType;
1512
+ set ConcreteWindowType(value: WindowType);
1513
+ static ShouldPutActOnFormClose(): boolean;
1514
+ protected static ShouldBehaveAsModal(): boolean;
1515
+ private static ConvertArrayListToString;
1516
+ UpdateModalFormsCount(mgFormBase: MgFormBase, increase: boolean): void;
1517
+ EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
1518
+ GetExpressionStorage(expId: number): StorageAttribute;
1519
+ checkIfExistProp(propId: number): boolean;
1520
+ getProp(propId: number): Property;
1521
+ GetComputedProperty(propId: number): Property;
1522
+ PropertyHasExpression(propId: number): boolean;
1523
+ getCompIdx(): number;
1524
+ IsFirstRefreshOfProps(): boolean;
1525
+ getForm(): MgFormBase;
1526
+ fillData(taskRef: GuiTaskBase): void;
1527
+ init(): Promise<void>;
1528
+ fillName(formTag: string): void;
1529
+ abstract buildFormName(): string;
1530
+ createForm(): Promise<void>;
1531
+ CallJS(methodName: string, args: Array<any>): Promise<string>;
1532
+ isAutomaticTabbingOrder(): boolean;
1533
+ isRefreshRepeatableAllowed(): boolean;
1534
+ isScreenMode(): boolean;
1535
+ isLineMode(): boolean;
1536
+ hasTable(): boolean;
1537
+ isDialog(): boolean;
1538
+ isSubForm(): boolean;
1539
+ HasTable(): boolean;
1540
+ getTopMostForm(): MgFormBase;
1541
+ getTopMostFrameForm(): MgFormBase;
1542
+ getSubFormCtrl(): GuiControlPropertyAdapter;
1543
+ getCtrl(ctrlIdx: number): MgControlBase;
1544
+ GetCtrl(ctrlName: string): MgControlBase;
1545
+ private defaultRouterOutlet;
1546
+ get DefaultRouterOutlet(): MgControlBase;
1547
+ GetChoiceControlItemList(mgControl: MgControlBase): Promise<string>;
1548
+ GetChoiceControlDisplayList(mgControl: MgControlBase): Promise<string>;
1549
+ getControlColumn(ctrl: MgControlBase): MgControlBase;
1550
+ getContainerCtrl(): MgControlBase;
1551
+ getColumnControls(): List<MgControlBase>;
1552
+ getTask(): GuiTaskBase;
1553
+ getTableCtrl(): MgControlBase;
1554
+ getMainControl(): MgControlBase;
1555
+ getCtrlByName(ctrlName: string, ctrlType: MgControlType): MgControlBase;
1556
+ checkAndCreateRow(idx: number): void;
1557
+ IsValidRow(idx: number): boolean;
1558
+ refreshProps(): Promise<void>;
1559
+ refreshControls(repeatableOnly: boolean): Promise<void>;
1560
+ markRowNOTCreated(idx: number): void;
1561
+ SelectRow(): void;
1562
+ getRowsInPage(): number;
1563
+ getMaxRowsInPaginatedTable(): number;
1564
+ setRowsInPage(size: number): void;
1565
+ getColumnsCount(): number;
1566
+ inRefreshDisplay(): boolean;
1567
+ setTitle(newTitle: string): void;
1568
+ getControlIdx(ctrl: MgControlBase): number;
1569
+ getTopIndexFromGUI(): number;
1570
+ getTableItemsCount(): number;
1571
+ removeRefsToCtrls(): void;
1572
+ buildTableChildren(): void;
1573
+ setTableCtrl(tableCtrl: MgControlBase): void;
1574
+ getCtrlCount(): number;
1575
+ GetControlsCountExcludingStatusBar(): number;
1576
+ refreshPropsOnExpression(): Promise<void>;
1577
+ getTabControl(ctrl: MgControlBase): MgControlBase;
1578
+ IsInputType(ctrl: MgControlBase): boolean;
1579
+ GetListOfInputControls(): any;
1580
+ abstract ConstructMgControl(): MgControlBase;
1581
+ firstTableRefresh(): void;
1582
+ SetTableItemsCount(dvsize: number, removeAll: boolean): void;
1583
+ SetTableItemsCount(dvsize: number, tableItemsCount: number, removeAll: boolean): void;
1584
+ private SetTableItemsCount_0;
1585
+ private SetTableItemsCount_1;
1586
+ InitTableControl(): void;
1587
+ InitTableControl(dvSize: number, tableItemsCount: number, removeAll: boolean): void;
1588
+ UpdateTableChildrenArraysSize(size: number): void;
1589
+ toString(): string;
1590
+ IncludeControlInTabbingOrder(control: MgControlBase): boolean;
1591
+ GetHashCode(): number;
1592
+ protected initInnerObjects(foundTagName: string): boolean;
1593
+ isRowCreated(idx: number): boolean;
1594
+ private buildLinkedControlsLists;
1595
+ private buildTableColumnsList;
1596
+ private createRow;
1597
+ private SelectRowByIdx;
1598
+ private InitTableControl_0;
1599
+ private InitTableControl_1;
1600
+ InsertTableChildrenArrays(idx: number, count: number): void;
1601
+ }
1602
+ declare class Row {
1603
+ Created: boolean;
1604
+ Validated: boolean;
1605
+ constructor();
1606
+ constructor(created: boolean, validated: boolean);
1607
+ private constructor_0;
1608
+ private constructor_1;
1609
+ }
1610
+
1611
+ declare class RuntimeContextBase {
1612
+ private _insertMode;
1613
+ private _lastCoordinates;
1614
+ ContextID: string;
1615
+ Parser: XmlParser;
1616
+ FrameForm: MgFormBase;
1617
+ LastClickedCtrlName: string;
1618
+ static noContextId: string;
1619
+ RemovedContextFromServer: boolean;
1620
+ RemovingContextFromServer: boolean;
1621
+ CurrentClickedCtrl: MgControlBase;
1622
+ CurrentClickedRadio: MgControlBase;
1623
+ DefaultStatusMsg: string;
1624
+ LastClickCoordinatesAreInPixels: boolean;
1625
+ static Instance: RuntimeContextBase;
1626
+ private constructor();
1627
+ Init(contextID: string): void;
1628
+ SaveLastClickInfo(controlName: string, clientX: number, clientY: number, offsetX: number, offsetY: number, isInPixels: boolean): void;
1629
+ ToggleInsertMode(): void;
1630
+ }
1631
+
1632
+ declare abstract class MgTimer {
1633
+ protected _timerIntervalMilliSeconds: number;
1634
+ private _threadTimer;
1635
+ constructor(timerIntervalMilliSeconds: number);
1636
+ static Run(state: any): void;
1637
+ Start(): void;
1638
+ Stop(): void;
1639
+ }
1640
+
1641
+ declare class LastFocusedVal {
1642
+ guiMgControl: GuiMgControl;
1643
+ Line: number;
1644
+ Val: string;
1645
+ constructor(guiMgControl: GuiMgControl, line: number, val: string);
1646
+ }
1647
+
1648
+ declare class Events {
1649
+ static NonParkableLastParkedCtrlEvent: (ctrl: GuiMgControl) => void;
1650
+ static IsBatchRunningInMainContextEvent: () => boolean;
1651
+ static TranslateEvent: (fromString: string) => string;
1652
+ static PrintPreviewStartEvent: (contextID: number, ioPtr: number, copies: number, enablePDlg: boolean, hWnd: number) => void;
1653
+ static PrintPreviewSetCursorEvent: (printPreviewData: number) => void;
1654
+ static InvokeUDPEvent: (contextId: number) => number;
1655
+ static PrintPreviewUpdateEvent: (prnPrevData: number) => void;
1656
+ static CreateRichWindowEvent: (contextID: number, ctrlPtr: number, prmPtr: number, style: number, dwExStyle: number) => void;
1657
+ static CreateGuiWindowEvent: (exStyle: number, className: string, windowName: string, style: number, x: number, y: number, width: number, height: number, hwndParent: number, hMenu: number, hInstance: number, lParam: number) => number;
1658
+ static DestroyGuiWindowEvent: (hWndPtr: number) => void;
1659
+ static PrintPreviewCloseEvent: (hWndPtr: number) => void;
1660
+ static ShowPrintDialogEvent: (gpd: number) => number;
1661
+ static SetModalEvent: (mgForm: MgFormBase, on: boolean) => void;
1662
+ static CtrlFocusEvent: (iTask: ITask, ctrl: MgControlBase) => void;
1663
+ static GetRuntimeContextEvent: (contextID: string) => RuntimeContextBase;
1664
+ static SaveLastClickedCtrlEvent: (controlName: string) => void;
1665
+ static SaveLastClickInfoEvent: (controlName: string, x: number, y: number, offsetX: number, offsetY: number, lastClickCoordinatesAreInPixels: boolean) => void;
1666
+ static WriteErrorToLogEvent: (msg: string) => void;
1667
+ static WriteExceptionToLogEvent: (msg: string) => void;
1668
+ static WriteWarningToLogEvent: (msg: string) => void;
1669
+ static ShouldLogEvent: (logLevel: Logger_LogLevels) => boolean;
1670
+ static WriteGuiToLogEvent: (msg: string) => void;
1671
+ static WriteDevToLogEvent: (msg: string) => void;
1672
+ static ClearEvent: (ctrl: GuiMgControl) => void;
1673
+ static UndoEvent: (ctrl: GuiMgControl) => void;
1674
+ static ShouldAddEnterAsKeyEvent: () => boolean;
1675
+ static ShowSessionStatisticsEvent: () => void;
1676
+ static CopyDataEvent: (guiMgForm: GuiMgForm, copyData: number) => void;
1677
+ static FocusEvent: (ctrl: GuiMgControl, line: number, isProduceClick: boolean, onMultiMark: boolean) => void;
1678
+ static FocusOnNonMagicControlEvent: (ctrl: GuiMgControl) => void;
1679
+ static MouseDownEvent: (guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, dotNetArgs: Object[], leftClickWasPressed: boolean, line: number, onMultiMark: boolean, canProduceClick: boolean) => void;
1680
+ static TableReorderEvent: (ctrl: GuiMgControl, tabOrderList: List<GuiMgControl>) => void;
1681
+ static MouseUpEvent: (ctrl: GuiMgControl, line: number) => void;
1682
+ static ComboDroppingDownEvent: (ctrl: GuiMgControl, line: number) => void;
1683
+ static SelectionEvent: (val: string, ctrl: GuiMgControl, line: number, produceClick: boolean) => void;
1684
+ static DblClickEvent: (ctrl: GuiMgControl, line: number) => void;
1685
+ static KeyDownEvent: (form: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, comboIsDropDown: boolean, handled: boolean) => boolean;
1686
+ static MultimarkHitEvent: (guiMgCtrl: GuiMgControl, row: number, modifier: Modifiers) => void;
1687
+ static CloseFormEvent: (form: GuiMgForm) => boolean;
1688
+ static DisposeEvent: (form: GuiMgForm) => void;
1689
+ static TimerEvent: (mgTimer: MgTimer) => void;
1690
+ static TableResizeEvent: (ctrl: GuiMgControl, newRowsInPage: number) => void;
1691
+ static GetRowsDataEvent: (ctrl: GuiMgControl, desiredTopIndex: number, sendAll: boolean, lastFocusedVal: LastFocusedVal) => void;
1692
+ static EnableCutCopyEvent: (ctrl: GuiMgControl, enable: boolean) => void;
1693
+ static EnablePasteEvent: (ctrl: GuiMgControl, enable: boolean) => void;
1694
+ static ColumnClickEvent: (columnCtrl: GuiMgControl, direction: number, columnHeader: string) => void;
1695
+ static RefreshTablesEvent: () => void;
1696
+ static HelpCloseEvent: (activeForm: GuiMgForm) => void;
1697
+ static DisplaySessionStatisticsEvent: () => void;
1698
+ static ShouldBlockMouseEventsEvent: (ctrl: GuiMgControl) => boolean;
1699
+ static PeekEndOfWorkEvent: () => boolean;
1700
+ static GetEventTimeEvent: () => number;
1701
+ static ScrollTableEvent: (guiMgObject: any, line: number, rowsToScroll: number, isPageScroll: boolean, isTableScroll: boolean, isRaisedByMouseWheel: boolean) => boolean;
1702
+ static GetDropUserFormatsEvent: () => string;
1703
+ static GetContextIDEvent: (guiMgForm: GuiMgForm) => number;
1704
+ static ShowFormEvent: (guiMgForm: GuiMgForm) => void;
1705
+ static OnFormActivateEvent: (guiMgForm: GuiMgForm) => void;
1706
+ static OnNCActivateEvent: (guiMgForm: GuiMgForm) => void;
1707
+ static HandleKeyUpMessageEvent: (guiMgForm: GuiMgForm, keyCode: number) => void;
1708
+ static OnIsLogonRTLEvent: () => boolean;
1709
+ static OnIsSpecialEngLogonEvent: () => boolean;
1710
+ static OnIsSpecialIgnoreButtonFormatEvent: () => boolean;
1711
+ static GetMainProgramEvent: (contextID: number, ctlIdx: number) => GuiTaskBase;
1712
+ static TranslateLogicalNameEvent: (fromString: string) => string;
1713
+ static GetAssetsURLEvent: () => string;
1714
+ static GetMessageStringEvent: (msgId: string) => string;
1715
+ static OnFocus(ctrl: GuiMgControl, line: number, isProduceClick: boolean, onMultiMark: boolean): void;
1716
+ static OnFocusOnNonMagicControl(ctrl: GuiMgControl): void;
1717
+ static OnMouseDown(guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, dotNetArgs: any[], leftClickWasPressed: boolean, line: number, onMultiMark: boolean, canProduceClick: boolean): void;
1718
+ static OnNonParkableLastParkedCtrl(ctrl: GuiMgControl): void;
1719
+ static OnTableReorder(ctrl: GuiMgControl, tabOrderList: List<GuiMgControl>): void;
1720
+ static OnMouseUp(ctrl: GuiMgControl, line: number): void;
1721
+ static OnComboDroppingDown(ctrl: GuiMgControl, line: number): void;
1722
+ static OnSelection(val: string, ctrl: GuiMgControl, line: number, produceClick: boolean): void;
1723
+ static OnDblClick(ctrl: GuiMgControl, line: number): void;
1724
+ static OnKeyDown(form: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, comboIsDropDown: boolean, handled: boolean): void;
1725
+ static OnKeyDown(form: GuiMgForm, ctrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, handled: boolean): void;
1726
+ static OnKeyDown(form: GuiMgForm, ctrl: GuiMgControl, modifier: Modifiers, keyCode: number, suggestedValue: string, comboIsDropDown: boolean, handled: boolean): void;
1727
+ private static OnKeyDown_0;
1728
+ static OnMultiMarkHit(ctrl: GuiMgControl, row: number, modifier: Modifiers): void;
1729
+ private static OnKeyDown_1;
1730
+ private static OnKeyDown_2;
1731
+ static OnFormClose(form: GuiMgForm): boolean;
1732
+ static OnDispose(form: GuiMgForm): void;
1733
+ static OnTimer(mgTimer: MgTimer): void;
1734
+ static OnTableResize(ctrl: GuiMgControl, newRowsInPage: number): void;
1735
+ static OnGetRowsData(ctrl: GuiMgControl, desiredTopIndex: number, sendAll: boolean, lastFocusedVal: LastFocusedVal): void;
1736
+ static OnColumnClick(columnCtrl: GuiMgControl, direction: number, columnHeader: string): void;
1737
+ static RefreshTables(): void;
1738
+ static OnCloseHelp(activeForm: GuiMgForm): void;
1739
+ static IsBatchRunningInMainContext(): boolean;
1740
+ static Translate(fromString: string): string;
1741
+ static OnPrintPreviewStart(contextID: number, ioPtr: number, copies: number, enablePDlg: boolean, hWnd: number): void;
1742
+ static OnPrintPreviewSetCursor(printPreviewData: number): void;
1743
+ static InvokeUDP(contextId: number): number;
1744
+ static OnPrintPreviewUpdate(prnPrevData: number): void;
1745
+ static OnCreateRichWindow(contextID: number, ctrlPtr: number, prmPtr: number, style: number, dwExStyle: number): void;
1746
+ static OnCreateGuiWindow(exStyle: number, className: string, windowName: string, style: number, x: number, y: number, width: number, height: number, hwndParent: number, hMenu: number, hInstance: number, lParam: number): number;
1747
+ static OnDestroyGuiWindow(hWndPtr: number): void;
1748
+ static OnPrintPreviewClose(printPreviewDataPtr: number): void;
1749
+ static OnShowPrintDialog(gpd: number): number;
1750
+ static DisplaySessionStatistics(): void;
1751
+ static ShouldBlockMouseEvents(ctrl: GuiMgControl): boolean;
1752
+ static PeekEndOfWork(): boolean;
1753
+ static GetEventTime(): number;
1754
+ static OnScrollTable(guiMgObject: any, line: number, rowsToScroll: number, isPageScroll: boolean, isTableScroll: boolean, isRaisedByMouseWheel: boolean): boolean;
1755
+ static GetDropUserFormats(): string;
1756
+ static GetContextID(guiMgForm: GuiMgForm): number;
1757
+ static SetModal(mgForm: MgFormBase, on: boolean): void;
1758
+ static OnShowForm(guiMgForm: GuiMgForm): void;
1759
+ static OnFormActivate(guiMgForm: GuiMgForm): void;
1760
+ static OnNCActivate(guiMgForm: GuiMgForm): void;
1761
+ static HandleKeyUpMessage(guiMgForm: GuiMgForm, keyCode: number): void;
1762
+ static IsLogonRTL(): boolean;
1763
+ static IsSpecialEngLogon(): boolean;
1764
+ static IsSpecialIgnoreButtonFormat(): boolean;
1765
+ static GetMainProgram(contextID: number, ctlIdx: number): GuiTaskBase;
1766
+ static TranslateLogicalName(fromString: string): string;
1767
+ static GetAssetsURL(): string;
1768
+ static GetMessageString(msgId: string): string;
1769
+ static OnCtrlFocus(iTask: ITask, ctrl: GuiControlPropertyAdapter): void;
1770
+ static GetRuntimeContext(contextID: string): RuntimeContextBase;
1771
+ static SaveLastClickedCtrlName(guiMgControl: GuiMgControl, controlName: string): void;
1772
+ static SaveLastClickInfo(guiMgForm: GuiMgForm, controlName: string, x: number, y: number, offsetX: number, offsetY: number, lastClickCoordinatesAreInPixels: boolean): void;
1773
+ static WriteErrorToLog(msg: string): void;
1774
+ static WriteExceptionToLog(msg: string): void;
1775
+ static WriteExceptionToLog(ex: Exception): void;
1776
+ private static WriteExceptionToLog_0;
1777
+ private static WriteExceptionToLog_1;
1778
+ static WriteWarningToLog(msg: string): void;
1779
+ static WriteWarningToLog(ex: Exception): void;
1780
+ private static WriteWarningToLog_0;
1781
+ private static WriteWarningToLog_1;
1782
+ static ShouldLog(logLevel: Logger_LogLevels): boolean;
1783
+ static WriteGuiToLog(msg: string): void;
1784
+ static WriteDevToLog(msg: string): void;
1785
+ static OnClear(ctrl: GuiMgControl): void;
1786
+ static OnUndo(ctrl: GuiMgControl): void;
1787
+ static AddEnterAsKeyEvent(): boolean;
1788
+ static ShowSessionStatisticsForm(): void;
1789
+ static OnCopyData(guiMgForm: GuiMgForm, copyData: number): void;
1790
+ constructor();
1791
+ }
1792
+
1793
+ declare abstract class EventsProcessor {
1794
+ constructor();
1795
+ private RegisterHandlers;
1796
+ abstract RegisterSubclassHandlers(): any;
1797
+ processKeyDown(guiMgForm: GuiMgForm, guiMgCtrl: GuiMgControl, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, handled: boolean): boolean;
1798
+ processFormClose(guiMgForm: GuiMgForm): boolean;
1799
+ private processMouseDown;
1800
+ private processDblClick;
1801
+ private ProcessColumnClick;
1802
+ }
1803
+
1804
+ declare class FocusManager {
1805
+ static SetFocus(ctrl: GuiControlPropertyAdapter, line: number): Promise<void>;
1806
+ static SetFocus(itask: ITask, ctrl: GuiControlPropertyAdapter, line: number, activateForm: boolean): Promise<void>;
1807
+ private static SetFocus_0;
1808
+ private static SetFocus_1;
1809
+ }
1810
+
1811
+ declare class GuiConstants {
1812
+ static DEFAULT_LIST_VALUE: number;
1813
+ static DEFAULT_VALUE_INT: number;
1814
+ static ALL_LINES: number;
1815
+ static NO_ROW_SELECTED: number;
1816
+ static RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR: string;
1817
+ static RIA_MOBILE_UNSUPPORTED_CONTROL_ERROR_WINDOW_6: string;
1818
+ static TOOL_HEIGHT: number;
1819
+ static TOOL_WIDTH: number;
1820
+ static STR_DISPLAY_MEMBER: string;
1821
+ static STR_VALUE_MEMBER: string;
1822
+ static PARENT_TYPE_TASK: string;
1823
+ static PARENT_TYPE_FORM: string;
1824
+ static PARENT_TYPE_CONTROL: string;
1825
+ static GENERIC_PROPERTY_BASE_ID: number;
1826
+ static TABBING_CYCLE_REMAIN_IN_CURRENT_RECORD: string;
1827
+ static TABBING_CYCLE_MOVE_TO_NEXT_RECORD: string;
1828
+ static TABBING_CYCLE_MOVE_TO_PARENT_TASK: string;
1829
+ static BLOB_PREFIX_ELEMENTS_COUNT: number;
1830
+ static KEY_DOWN: number;
1831
+ static KEY_RIGHT: number;
1832
+ static KEY_UP: number;
1833
+ static KEY_LEFT: number;
1834
+ static KEY_HOME: number;
1835
+ static KEY_END: number;
1836
+ static KEY_PG_DOWN: number;
1837
+ static KEY_PG_UP: number;
1838
+ static KEY_SPACE: number;
1839
+ static KEY_F12: number;
1840
+ static KEY_F1: number;
1841
+ static KEY_9: number;
1842
+ static KEY_0: number;
1843
+ static KEY_Z: number;
1844
+ static KEY_A: number;
1845
+ static KEY_DELETE: number;
1846
+ static KEY_INSERT: number;
1847
+ static KEY_BACKSPACE: number;
1848
+ static KEY_TAB: number;
1849
+ static KEY_RETURN: number;
1850
+ static KEY_ESC: number;
1851
+ static KEY_CAPS_LOCK: number;
1852
+ static KEY_POINT1: number;
1853
+ static KEY_POINT2: number;
1854
+ static KEY_COMMA: number;
1855
+ static KEY_CTRL: number;
1856
+ static KEY_ALT: number;
1857
+ static LOGON_CAPTION: string;
1858
+ static ENTER_UID_TTL: string;
1859
+ static GROUP_BOX_TITLE_MAX_SIZE: number;
1860
+ static MSG_CAPTION_MAX_SIZE: number;
1861
+ static LABEL_CAPTION_MAX_SIZE: number;
1862
+ static PASSWORD_CAPTION_MAX_SIZE: number;
1863
+ static REPLACE_ALL_TEXT: number;
1864
+ static STR_LOGON_RTL: string;
1865
+ static STR_LOGO_WIN_ICON_URL: string;
1866
+ static STR_LOGON_IMAGE_URL: string;
1867
+ static STR_LOGON_WIN_TITLE: string;
1868
+ static STR_LOGON_GROUP_TITLE: string;
1869
+ static STR_LOGON_MSG_CAPTION: string;
1870
+ static STR_LOGON_USER_ID_CAPTION: string;
1871
+ static STR_LOGON_PASS_CAPTION: string;
1872
+ static STR_LOGON_OK_CAPTION: string;
1873
+ static STR_LOGON_CANCEL_CAPTION: string;
1874
+ constructor();
1875
+ }
1876
+
1877
+ interface IEnvironment {
1878
+ Language: string;
1879
+ IgnoreReplaceDecimalSeparator: boolean;
1880
+ ForwardSlashUsage: string;
1881
+ GetDateMode(compIdx: number): string;
1882
+ GetCentury(compIdx: number): number;
1883
+ GetDate(): string;
1884
+ GetTime(): string;
1885
+ GetDecimal(): string;
1886
+ CanReplaceDecimalSeparator(): boolean;
1887
+ GetThousands(): string;
1888
+ GetTooltipTimeout(): number;
1889
+ GetGUID(): string;
1890
+ GetImeAutoOff(): boolean;
1891
+ GetLocalAs400Set(): boolean;
1892
+ setDecimalSeparator(value: string): void;
1893
+ setThousandsSeparator(value: string): void;
1894
+ GetLocalFlag(f: string): boolean;
1895
+ GetSignificantNumSize(): number;
1896
+ GetDebugLevel(): number;
1897
+ GetEncoding(): Encoding;
1898
+ GetDropUserFormats(): string;
1899
+ GetSpecialLogInternalExceptions(): boolean;
1900
+ getContextInactivityTimeout(): number;
1901
+ getClientContextInactivityTimeout(): number;
1902
+ getContextInactivityWarningTime(): number;
1903
+ getIdleTime(compIdx: number): number;
1904
+ GetSpecialValNewPolicy(): boolean;
1905
+ GetSpecialCancelOnCreate(): boolean;
1906
+ }
1907
+
1908
+ declare class GuiEnvironment {
1909
+ static Environment: IEnvironment;
1910
+ }
1911
+
1912
+ declare class KeyboardItem {
1913
+ private _keyCode;
1914
+ private _modifier;
1915
+ private _states;
1916
+ private _actionId;
1917
+ constructor(cKeyCode: number, cModifier: Modifiers);
1918
+ constructor(actionId_: number, keyCode_: number, modifier_: Modifiers, states_: number);
1919
+ private constructor_1;
1920
+ private constructor_2;
1921
+ getKeyCode(): number;
1922
+ getModifier(): Modifiers;
1923
+ getStates(): number;
1924
+ equals(kbdItm: KeyboardItem): boolean;
1925
+ getAction(): number;
1926
+ setAction(actionId: number): void;
1927
+ ToString(): string;
1928
+ }
1929
+
1930
+ interface IGuiEventsManager {
1931
+ addInternalEventWithCtrlAndDisplayLineAndCode(ctrl: MgControlBase, DisplayLine: number, code: number): void;
1932
+ addInternalEventWithCtrlAndCodeAndPriority(ctrl: MgControlBase, code: number, priority: Priority): void;
1933
+ AddKeyboardEvent(form: MgFormBase, ctrl: MgControlBase, modifier: Modifiers, keyCode: number, start: number, end: number, text: string, isActChar: boolean, suggestedValue: string, code: number): void;
1934
+ addGuiTriggeredEventWithCtrlAndCodeAndLine(ctrl: MgControlBase, code: number, line: number): void;
1935
+ addGuiTriggeredEventWithCtrlAndCodeAndLineAndModifier(ctrl: MgControlBase, code: number, line: number): void;
1936
+ addGuiTriggeredEventWithTaskAndCode(task: ITask, code: number): void;
1937
+ addGuiTriggeredEventWithTaskAndCodeAndLine(task: ITask, code: number, line: number): void;
1938
+ addGuiTriggeredEventWithTaskAndCodeAndOnMultiMark(task: ITask, code: number): void;
1939
+ addGuiTriggeredEventTaskAndCodeAndRaisedBy(task: ITask, code: number): void;
1940
+ AddColumnClickEvent(columnCtrl: MgControlBase, direction: number, columnHeader: string): void;
1941
+ getMatchingAction(kbItm: KeyboardItem): number;
1942
+ ignoreUnknownAbort(): boolean;
1943
+ }
1944
+
1945
+ declare class Manager {
1946
+ static IsOverlayOpen: boolean;
1947
+ private static _currentContextID;
1948
+ static DefaultProtocol: string;
1949
+ static DefaultServerName: string;
1950
+ static UtilImeJpn: UtilImeJpn;
1951
+ static EventsManager: IGuiEventsManager;
1952
+ static SetCurrentContextID(contextID: string): void;
1953
+ static GetCurrentContextID(): string;
1954
+ static Init(): void;
1955
+ static Abort(form: MgFormBase): void;
1956
+ static GetCtrlVal(ctrl: MgControlBase): string;
1957
+ static SetReadOnlyControl(ctrl: MgControlBase, isReadOnly: boolean): Promise<void>;
1958
+ static OpenForm(mgForm: MgFormBase): void;
1959
+ static DoFirstRefreshTable(mgForm: MgFormBase): Promise<void>;
1960
+ static CleanMessagePane(task: GuiTaskBase): void;
1961
+ static GetMessage(msg: string): string;
1962
+ static GetCurrentRuntimeContext(): RuntimeContextBase;
1963
+ static GetSpecialValNewPolicy(): boolean;
1964
+ }
1965
+
1966
+ declare class GuiCommand {
1967
+ TaskTag: string;
1968
+ Operation: string;
1969
+ CommandType: CommandType;
1970
+ options: any;
1971
+ Bool1: boolean;
1972
+ params: List<any>;
1973
+ fileName: string;
1974
+ height: number;
1975
+ layer: number;
1976
+ line: number;
1977
+ number: number;
1978
+ obj: any;
1979
+ parentObject: any;
1980
+ obj1: any;
1981
+ str: string;
1982
+ value: any;
1983
+ stringList: List<string>;
1984
+ style: number;
1985
+ width: number;
1986
+ x: number;
1987
+ y: number;
1988
+ userDropFormat: string;
1989
+ contextID: string;
1990
+ CtrlName: string;
1991
+ constructor(commandType: CommandType);
1992
+ constructor(commandType: CommandType, str: string);
1993
+ constructor(obj: any, commandType: CommandType);
1994
+ constructor(parentObject: any, obj: any, cmmandType: CommandType);
1995
+ private constructor_0;
1996
+ private constructor_1;
1997
+ private constructor_2;
1998
+ private constructor_3;
1999
+ toString(): string;
2000
+ }
2001
+
2002
+ declare class MgValue {
2003
+ str: string;
2004
+ caption: string;
2005
+ title: string;
2006
+ path: string;
2007
+ filter: string;
2008
+ boolVal: boolean;
2009
+ bool1: boolean;
2010
+ style: number;
2011
+ number: number;
2012
+ obj: any;
2013
+ listOfIntArr: List<number[]>;
2014
+ constructor();
2015
+ }
2016
+
2017
+ declare enum InteractiveCommandType {
2018
+ GET_VALUE = 0,
2019
+ GET_TOP_INDEX = 1,
2020
+ MESSAGE_BOX = 2,
2021
+ SET_TITLE = 3,
2022
+ SET_EDIT_TEXT = 4,
2023
+ INSERT_EDIT_TEXT = 5,
2024
+ GET_CARET_POS = 6,
2025
+ REFRESH_PAGE = 7,
2026
+ GET_ROWS_IN_PAGE = 8,
2027
+ SET_GET_SUGGESTED_VALUE_FOR_CHOICE_CONTROL_ON_TAGDATA = 9,
2028
+ GET_IS_ROW_EDITING = 10,
2029
+ GET_MAX_ROWS_IN_PAGINATED_TABLE = 11,
2030
+ CALL_JS = 12,
2031
+ GET_LAST_ROUTE = 13,
2032
+ OPEN_FORM = 14
2033
+ }
2034
+ declare abstract class GuiInteractiveBase {
2035
+ _commandType: InteractiveCommandType;
2036
+ TaskTag: string;
2037
+ controlName: string;
2038
+ _str: string;
2039
+ _intVal1: number;
2040
+ _line: number;
2041
+ _obj1: any;
2042
+ _parameters: any[];
2043
+ _boolVal: boolean;
2044
+ _obj2: any;
2045
+ _mgValue: MgValue;
2046
+ arguments: Array<any>;
2047
+ resultString: string;
2048
+ constructor();
2049
+ setGetSuggestedValueOfChoiceControlOnTagData(ctrl: GuiMgControl, line: number, retSuggestedValue: boolean): void;
2050
+ getValue(obj: any, line: number, isThreeStateCheckBox: boolean): string;
2051
+ getTopIndex(tablecontrol: GuiMgControl): number;
2052
+ getIsRowEditing(tablecontrol: GuiMgControl, line: number, isLineMode: boolean): boolean;
2053
+ messageBox(title: string, msg: string, style: number): number;
2054
+ setTitle(topMostForm: GuiMgForm, title: string): void;
2055
+ setEditText(control: GuiMgControl, line: number, text: string): boolean;
2056
+ insertEditText(control: GuiMgControl, line: number, startPosition: number, textToInsert: string): boolean;
2057
+ caretPosGet(control: GuiMgControl, line: number): number;
2058
+ RefreshPage(navigateToRootRoute: boolean, initialUrl: string): void;
2059
+ getRowsInPage(control: GuiMgControl): number;
2060
+ getMaxRowsInPaginatedTable(control: GuiMgControl): number;
2061
+ getLastRoute(): string;
2062
+ ExecuteCallJS(form: any, formName: string, functionName: string, args: Array<any>): string;
2063
+ ExecuteOpenOverlayForm(obj: Object, formName: string, handlerTaskTag: string, calledTaskTag: string, inputControls: string, isDialog: boolean): void;
2064
+ private Invoke;
2065
+ onGetRowsInPage(): void;
2066
+ }
2067
+ declare class GuiInteractive extends GuiInteractiveBase {
2068
+ }
2069
+
2070
+ declare type ExecuteCommandsCallback = (commands: GuiCommand[]) => void;
2071
+ declare type GetIntractiveCallback = (command: GuiInteractive) => string;
2072
+ declare class UIBridge {
2073
+ getInteractiveCallback: GetIntractiveCallback;
2074
+ executeCommandsCallback: ExecuteCommandsCallback;
2075
+ private static instance;
2076
+ private constructor();
2077
+ static getInstance(): UIBridge;
2078
+ ExecuteInteractiveCommand(command: GuiInteractive): string;
2079
+ executeCommands(commands: GuiCommand[]): void;
2080
+ registerInteractiveCallback(getIntractiveCallback: GetIntractiveCallback): void;
2081
+ registerExecuteCommandsCallback(executeCommandsCallback: ExecuteCommandsCallback): void;
2082
+ saveData(data: string): void;
2083
+ }
2084
+
2085
+ declare class DialogHandler {
2086
+ closeDialog(): void;
2087
+ constructor();
2088
+ }
2089
+
2090
+ declare class GuiCommandQueue {
2091
+ private static _instance;
2092
+ private _commandsQueue;
2093
+ private _executingGuiCommands;
2094
+ constructor();
2095
+ static getInstance(): GuiCommandQueue;
2096
+ init(): void;
2097
+ addCommand(guiCommand: GuiCommand): void;
2098
+ private put;
2099
+ beginInvoke(): void;
2100
+ invoke(): void;
2101
+ }
2102
+
2103
+ declare class Styles {
2104
+ static MSGBOX_BUTTON_OK: number;
2105
+ static MSGBOX_BUTTON_OK_CANCEL: number;
2106
+ static MSGBOX_BUTTON_ABORT_RETRY_IGNORE: number;
2107
+ static MSGBOX_BUTTON_YES_NO_CANCEL: number;
2108
+ static MSGBOX_BUTTON_YES_NO: number;
2109
+ static MSGBOX_BUTTON_RETRY_CANCEL: number;
2110
+ static MSGBOX_ICON_ERROR: number;
2111
+ static MSGBOX_ICON_QUESTION: number;
2112
+ static MSGBOX_ICON_EXCLAMATION: number;
2113
+ static MSGBOX_ICON_INFORMATION: number;
2114
+ static MSGBOX_ICON_WARNING: number;
2115
+ static MSGBOX_RESULT_OK: number;
2116
+ static MSGBOX_RESULT_CANCEL: number;
2117
+ static MSGBOX_RESULT_ABORT: number;
2118
+ static MSGBOX_RESULT_RETRY: number;
2119
+ static MSGBOX_RESULT_YES: number;
2120
+ static MSGBOX_RESULT_NO: number;
2121
+ }
2122
+
2123
+ declare class BlobType {
2124
+ static CONTENT_TYPE_UNKNOWN: string;
2125
+ static CONTENT_TYPE_ANSI: string;
2126
+ static CONTENT_TYPE_UNICODE: string;
2127
+ static CONTENT_TYPE_BINARY: string;
2128
+ static getContentType(blob: string): string;
2129
+ static getEmptyBlobPrefix(vecCellAttr: string): string;
2130
+ static getBlobPrefixForContentType(contentType: string): string;
2131
+ static getPrefix(str: string): string;
2132
+ static getEncodingFromContentType(ContentType: string): Encoding;
2133
+ private static MbToUnicode;
2134
+ private static UnicodeToMb;
2135
+ static getString(blob: string): string;
2136
+ static createFromString(blobStr: string, contentType: string): string;
2137
+ static getBytes(str: string): Uint8Array;
2138
+ static createFromBytes(bytes: Uint8Array, contentType: string): string;
2139
+ static copyBlob(dest: string, src: string): string;
2140
+ static removeBlobPrefix(source: string): string;
2141
+ static isValidBlob(blob: string): boolean;
2142
+ static setContentType(str: string, contentType: string): string;
2143
+ static SetVecCellAttr(str: string, vecCellAttr: StorageAttribute): string;
2144
+ static GetVecCellAttr(blobStr: string): string;
2145
+ static blobPrefixLength(blob: string): number;
2146
+ static getKey(blobStr: string): number;
2147
+ static getBlobSize(blob: string): number;
2148
+ static ParseContentType(contentType: number): string;
2149
+ }
2150
+
2151
+ declare abstract class DcValuesBuilderBase {
2152
+ abstract Build(): DcValues;
2153
+ CreateDcValues(): DcValues;
2154
+ SetId(dcValues: DcValues, newId: number): void;
2155
+ SetType(dcValues: DcValues, type: StorageAttribute): void;
2156
+ SetDisplayValues(dcValues: DcValues, displayValues: string[]): void;
2157
+ SetLinkValues(dcValues: DcValues, linkValues: string[]): void;
2158
+ SetNullFlags(dcValues: DcValues, nullFlagsString: string): void;
2159
+ SetNullFlags(dcValues: DcValues, nullFlags: boolean[]): void;
2160
+ private SetNullFlags_0;
2161
+ private SetNullFlags_1;
2162
+ protected ParseValues(valueStr: string, dataType: StorageAttribute, useHex: boolean): string[];
2163
+ ParseNullFlags(nullFlagsString: string): boolean[];
2164
+ constructor();
2165
+ }
2166
+
2167
+ interface IRecord {
2168
+ getId(): number;
2169
+ setOldRec(): void;
2170
+ SetFieldValue(idx: number, isNull: boolean, value: string): void;
2171
+ GetFieldValue(idx: number): string;
2172
+ IsNull(idx: number): boolean;
2173
+ isFldModified(fldIdx: number): boolean;
2174
+ IsFldModifiedAtLeastOnce(fldIdx: number): boolean;
2175
+ getMode(): DataModificationTypes;
2176
+ AddDcValuesReference(controlId: number, dcValuesId: number): void;
2177
+ }
2178
+
2179
+ declare abstract class ObjectReferenceBase {
2180
+ private static LastId;
2181
+ Referent: IReferencedObject;
2182
+ private isDisposed;
2183
+ private id;
2184
+ _instantiationTrace: StackTrace;
2185
+ constructor(referent: IReferencedObject);
2186
+ Dispose(): void;
2187
+ Dispose(isDisposing: boolean): void;
2188
+ private Dispose_0;
2189
+ private Dispose_1;
2190
+ abstract Clone(): ObjectReferenceBase;
2191
+ toString(): string;
2192
+ }
2193
+
2194
+ declare class ObjectReferencesCollection {
2195
+ private _refs;
2196
+ get_Item(i: number): ObjectReferenceBase;
2197
+ Add(objRef: ObjectReferenceBase): void;
2198
+ Dispose(): void;
2199
+ Clone(): ObjectReferencesCollection;
2200
+ get Refs(): List<ObjectReferenceBase>;
2201
+ }
2202
+
2203
+ declare class RecordUtils {
2204
+ static byteStreamToString(stream: StringBuilder): string;
2205
+ static byteStreamToString(stream: string): string;
2206
+ private static byteStreamToString_0;
2207
+ private static byteStreamToString_1;
2208
+ static serializeItemVal(itemVal: string, itemAttr: StorageAttribute, cellAttr: StorageAttribute, toBase64: boolean): string;
2209
+ static deSerializeItemVal(itemVal: string, itemAttr: StorageAttribute, itemLen: number, useHex: boolean, cellAttr: StorageAttribute, parsedLen: RefParam<number>): string;
2210
+ static getString(str: string, type: StorageAttribute): string;
2211
+ static getString(str: string, type: StorageAttribute, useHex: boolean): string;
2212
+ static getString(str: string, type: StorageAttribute, useHex: boolean, useEnvCharset: boolean): string;
2213
+ private static getString_0;
2214
+ private static getString_1;
2215
+ static getSpannedField(fldsVal: string, firstSegLen: number, idx: number, type: StorageAttribute, result: StringBuilder, useHex: boolean): number;
2216
+ static getSpannedField(fldsVal: Uint8Array, firstSegLen: number, idx: number, type: StorageAttribute, result: StringBuilder, useHex: boolean, noOfPackets: number): number;
2217
+ private static getSpannedField_0;
2218
+ private static getSpannedField_1;
2219
+ static itemValToXML(itemVal: string, itemAttr: StorageAttribute, cellAttr: StorageAttribute, ToBase64: boolean): string;
2220
+ static getString_2(str: string, type: StorageAttribute): string;
2221
+ }
2222
+
2223
+ declare class VectorTypeBase {
2224
+ static BLOB_TABLE_STR: string;
2225
+ static BLOB_TABLE_STR_LEN: number;
2226
+ static VECTOR_STR: string;
2227
+ static VECTOR_STR_LEN: number;
2228
+ static validateBlobContents(blob: string): boolean;
2229
+ static adjustAlphaStringsInFlatData(srcBlob: string): string;
2230
+ }
2231
+
2232
+ declare class VectorType extends VectorTypeBase {
2233
+ static VERSION: number;
2234
+ static EMPTY_BLOB_PREFIX_LEN: number;
2235
+ static BLOB_TYPE_STRUCT_SIZE: number;
2236
+ private _cells;
2237
+ private _encoding;
2238
+ private _allowNull;
2239
+ private _cellContentType;
2240
+ private _cellSize;
2241
+ private _cellsAttr;
2242
+ private _cellsDefaultVal;
2243
+ private _cellsIsNullDefault;
2244
+ private _dataBuf;
2245
+ private _initialized;
2246
+ private _nullBuf;
2247
+ private _originalflatData;
2248
+ constructor(cellsType: StorageAttribute, contentType: string, defualt: string, isDefNull: boolean, nullAlowed: boolean, length: number);
2249
+ constructor(blobString: string);
2250
+ constructor(fld: FieldDef);
2251
+ private constructor_0;
2252
+ private constructor_1;
2253
+ private constructor_2;
2254
+ private init;
2255
+ toString(): string;
2256
+ getCellsAttr(): StorageAttribute;
2257
+ getCellSize(): number;
2258
+ getVecSize(): number;
2259
+ getVecCell(idx: number): string;
2260
+ GetCellValues(): string[];
2261
+ setVecCell(idx: number, newValue: string, isNull: boolean): boolean;
2262
+ adjustToFit(field: FieldDef): void;
2263
+ private buildHeadersString;
2264
+ private getNullString;
2265
+ private getEmptyString;
2266
+ private getBlobsBuf;
2267
+ static getCellsAttr(blob: string): StorageAttribute;
2268
+ static getCellSize(blob: string): number;
2269
+ static getVecSize(blob: string): number;
2270
+ isUnicode(flatData: string): boolean;
2271
+ }
2272
+ declare class CellElement {
2273
+ blobFieldPrefix: string;
2274
+ data: string;
2275
+ isNull: boolean;
2276
+ constructor(val: string, is_null: boolean);
2277
+ constructor(val: string, is_null: boolean, ctrlData: string);
2278
+ private constructor_0;
2279
+ private constructor_1;
2280
+ }
2281
+
2282
+ declare class ExpressionInterface {
2283
+ static EXP_OPER_LEN: number;
2284
+ static EXP_OPER_FUNC_PTR_LEN: number;
2285
+ static EXP_OP_NONE: number;
2286
+ static EXP_OP_V: number;
2287
+ static EXP_OP_VAR: number;
2288
+ static EXP_OP_A: number;
2289
+ static EXP_OP_H: number;
2290
+ static EXP_OP_N: number;
2291
+ static EXP_OP_D: number;
2292
+ static EXP_OP_T: number;
2293
+ static EXP_OP_L: number;
2294
+ static EXP_OP_F: number;
2295
+ static EXP_OP_K: number;
2296
+ static EXP_OP_P: number;
2297
+ static EXP_OP_M: number;
2298
+ static EXP_OP_ACT: number;
2299
+ static EXP_OP_KBD: number;
2300
+ static EXP_OP_ADD: number;
2301
+ static EXP_OP_SUB: number;
2302
+ static EXP_OP_MUL: number;
2303
+ static EXP_OP_DIV: number;
2304
+ static EXP_OP_MOD: number;
2305
+ static EXP_OP_NEG: number;
2306
+ static EXP_OP_FIX: number;
2307
+ static EXP_OP_ROUND: number;
2308
+ static EXP_OP_EQ: number;
2309
+ static EXP_OP_NE: number;
2310
+ static EXP_OP_LE: number;
2311
+ static EXP_OP_LT: number;
2312
+ static EXP_OP_GE: number;
2313
+ static EXP_OP_GT: number;
2314
+ static EXP_OP_NOT: number;
2315
+ static EXP_OP_OR: number;
2316
+ static EXP_OP_AND: number;
2317
+ static EXP_OP_IF: number;
2318
+ static EXP_OP_LEN: number;
2319
+ static EXP_OP_CON: number;
2320
+ static EXP_OP_MID: number;
2321
+ static EXP_OP_LEFT: number;
2322
+ static EXP_OP_RIGHT: number;
2323
+ static EXP_OP_FILL: number;
2324
+ static EXP_OP_INSTR: number;
2325
+ static EXP_OP_TRIM: number;
2326
+ static EXP_OP_LTRIM: number;
2327
+ static EXP_OP_RTRIM: number;
2328
+ static EXP_OP_STR: number;
2329
+ static EXP_OP_VAL: number;
2330
+ static EXP_OP_STAT: number;
2331
+ static EXP_OP_LEVEL: number;
2332
+ static EXP_OP_COUNTER: number;
2333
+ static EXP_OP_VARPREV: number;
2334
+ static EXP_OP_VARCURR: number;
2335
+ static EXP_OP_VARMOD: number;
2336
+ static EXP_OP_VARINP: number;
2337
+ static EXP_OP_VARNAME: number;
2338
+ static EXP_OP_VIEWMOD: number;
2339
+ static EXP_OP_ENV: number;
2340
+ static EXP_OP_INIGET: number;
2341
+ static EXP_OP_INIPUT: number;
2342
+ static EXP_OP_TERM: number;
2343
+ static EXP_OP_DATE: number;
2344
+ static EXP_OP_TIME: number;
2345
+ static EXP_OP_SYS: number;
2346
+ static EXP_OP_PROG: number;
2347
+ static EXP_OP_PWR: number;
2348
+ static EXP_OP_LOG: number;
2349
+ static EXP_OP_EXP: number;
2350
+ static EXP_OP_ABS: number;
2351
+ static EXP_OP_SIN: number;
2352
+ static EXP_OP_COS: number;
2353
+ static EXP_OP_TAN: number;
2354
+ static EXP_OP_ASIN: number;
2355
+ static EXP_OP_ACOS: number;
2356
+ static EXP_OP_ATAN: number;
2357
+ static EXP_OP_RAND: number;
2358
+ static EXP_OP_MIN: number;
2359
+ static EXP_OP_MAX: number;
2360
+ static EXP_OP_RANGE: number;
2361
+ static EXP_OP_REP: number;
2362
+ static EXP_OP_INS: number;
2363
+ static EXP_OP_DEL: number;
2364
+ static EXP_OP_FLIP: number;
2365
+ static EXP_OP_UPPER: number;
2366
+ static EXP_OP_LOWER: number;
2367
+ static EXP_OP_CRC: number;
2368
+ static EXP_OP_CHKDGT: number;
2369
+ static EXP_OP_SOUNDX: number;
2370
+ static EXP_OP_HSTR: number;
2371
+ static EXP_OP_HVAL: number;
2372
+ static EXP_OP_CHR: number;
2373
+ static EXP_OP_ASC: number;
2374
+ static EXP_OP_MSTR: number;
2375
+ static EXP_OP_MVAL: number;
2376
+ static EXP_OP_DSTR: number;
2377
+ static EXP_OP_DVAL: number;
2378
+ static EXP_OP_TSTR: number;
2379
+ static EXP_OP_TVAL: number;
2380
+ static EXP_OP_DAY: number;
2381
+ static EXP_OP_MONTH: number;
2382
+ static EXP_OP_YEAR: number;
2383
+ static EXP_OP_DOW: number;
2384
+ static EXP_OP_CDOW: number;
2385
+ static EXP_OP_CMONTH: number;
2386
+ static EXP_OP_NDOW: number;
2387
+ static EXP_OP_NMONTH: number;
2388
+ static EXP_OP_SECOND: number;
2389
+ static EXP_OP_MINUTE: number;
2390
+ static EXP_OP_HOUR: number;
2391
+ static EXP_OP_DELAY: number;
2392
+ static EXP_OP_IDLE: number;
2393
+ static EXP_OP_LOGICAL: number;
2394
+ static EXP_OP_VISUAL: number;
2395
+ static EXP_OP_ADDDATE: number;
2396
+ static EXP_OP_ADDTIME: number;
2397
+ static EXP_OP_OWNER: number;
2398
+ static EXP_OP_VARATTR: number;
2399
+ static EXP_OP_BOM: number;
2400
+ static EXP_OP_BOY: number;
2401
+ static EXP_OP_EOM: number;
2402
+ static EXP_OP_EOY: number;
2403
+ static EXP_OP_RIGHT_LITERAL: number;
2404
+ static EXP_OP_ROLLBACK: number;
2405
+ static EXP_OP_VARSET: number;
2406
+ static EXP_OP_EVALX: number;
2407
+ static EXP_OP_IGNORE: number;
2408
+ static EXP_OP_NULL: number;
2409
+ static EXP_OP_NULL_A: number;
2410
+ static EXP_OP_NULL_N: number;
2411
+ static EXP_OP_NULL_B: number;
2412
+ static EXP_OP_NULL_D: number;
2413
+ static EXP_OP_NULL_T: number;
2414
+ static EXP_OP_ISNULL: number;
2415
+ static EXP_OP_TDEPTH: number;
2416
+ static EXP_OP_MINMAGIC: number;
2417
+ static EXP_OP_MAXMAGIC: number;
2418
+ static EXP_OP_RESMAGIC: number;
2419
+ static EXP_OP_FILEDLG: number;
2420
+ static EXP_OP_MLS_TRANS: number;
2421
+ static EXP_OP_CTRL_NAME: number;
2422
+ static EXP_OP_GETLANG: number;
2423
+ static EXP_OP_NULL_O: number;
2424
+ static EXP_OP_GETPARAM: number;
2425
+ static EXP_OP_SETPARAM: number;
2426
+ static EXP_OP_CND_RANGE: number;
2427
+ static EXP_OP_ISDEFAULT: number;
2428
+ static EXP_OP_FORM: number;
2429
+ static EXP_OP_STRTOKEN: number;
2430
+ static EXP_OP_INIGETLN: number;
2431
+ static EXP_OP_EXPCALC: number;
2432
+ static EXP_OP_E: number;
2433
+ static EXP_OP_WEB_REFERENCE: number;
2434
+ static EXP_OP_CASE: number;
2435
+ static EXP_OP_LIKE: number;
2436
+ static EXP_OP_CALLJS: number;
2437
+ static EXP_OP_THIS: number;
2438
+ static EXP_OP_REPSTR: number;
2439
+ static EXP_OP_DBROUND: number;
2440
+ static EXP_OP_VARPIC: number;
2441
+ static EXP_OP_STRTOK_CNT: number;
2442
+ static EXP_OP_VARCURRN: number;
2443
+ static EXP_OP_VARINDEX: number;
2444
+ static EXP_OP_JCDOW: number;
2445
+ static EXP_OP_JMONTH: number;
2446
+ static EXP_OP_JNDOW: number;
2447
+ static EXP_OP_JYEAR: number;
2448
+ static EXP_OP_JGENGO: number;
2449
+ static EXP_OP_HAN: number;
2450
+ static EXP_OP_ZEN: number;
2451
+ static EXP_OP_ZENS: number;
2452
+ static EXP_OP_ZIMEREAD: number;
2453
+ static EXP_OP_ZKANA: number;
2454
+ static EXP_OP_GOTO_CTRL: number;
2455
+ static EXP_OP_TRANSLATE: number;
2456
+ static EXP_OP_ASTR: number;
2457
+ static EXP_OP_LOOPCOUNTER: number;
2458
+ static EXP_OP_VECGET: number;
2459
+ static EXP_OP_VECSET: number;
2460
+ static EXP_OP_VECSIZE: number;
2461
+ static EXP_OP_VECCELLATTR: number;
2462
+ static EXP_OP_BLOBSIZE: number;
2463
+ static EXP_OP_STRTOKEN_IDX: number;
2464
+ static EXP_OP_MTIME: number;
2465
+ static EXP_OP_MTVAL: number;
2466
+ static EXP_OP_MTSTR: number;
2467
+ static EXP_OP_IN: number;
2468
+ static EXP_OP_ISCOMPONENT: number;
2469
+ static EXP_OP_EXT_A: number;
2470
+ static EXP_OP_NULL_U: number;
2471
+ static EXP_OP_USER_DEFINED_FUNC: number;
2472
+ static EXP_OP_SUBFORM_EXEC_MODE: number;
2473
+ static EXP_OP_UNICODEASC: number;
2474
+ static EXP_OP_ADDDT: number;
2475
+ static EXP_OP_DIFDT: number;
2476
+ static EXP_OP_ISFIRSTRECORDCYCLE: number;
2477
+ static EXP_OP_MAINLEVEL: number;
2478
+ static EXP_OP_MAINDISPLAY: number;
2479
+ static EXP_OP_DBVIEWSIZE: number;
2480
+ static EXP_OP_DBVIEWROWIDX: number;
2481
+ static EXP_OP_PROJECTDIR: number;
2482
+ static EXP_OP_FORMSTATECLEAR: number;
2483
+ static EXP_OP_PUBLICNAME: number;
2484
+ static EXP_OP_TASKID: number;
2485
+ static EXP_OP_STR_BUILD: number;
2486
+ static EXP_OP_EMPTY_DATA_VIEW: number;
2487
+ static EXP_OP_STATUSBARSETTEXT: number;
2488
+ static EXP_OP_CLIENT_DIRDLG: number;
2489
+ static EXP_OP_CLIENT_REDIRECT: number;
2490
+ static EXP_OP_IS_MOBILE_CLIENT: number;
2491
+ static EXP_OP_CLIENT_SESSION_STATISTICS_GET: number;
2492
+ static EXP_OP_TASKTYPE: number;
2493
+ static EXP_OP_CLIENT_FILE_TO_SERVER: number;
2494
+ static EXP_OP_RANGE_ADD: number;
2495
+ static EXP_OP_RANGE_RESET: number;
2496
+ static EXP_OP_LOCATE_ADD: number;
2497
+ static EXP_OP_LOCATE_RESET: number;
2498
+ static EXP_OP_SORT_ADD: number;
2499
+ static EXP_OP_SORT_RESET: number;
2500
+ static EXP_OP_TSK_INSTANCE: number;
2501
+ static EXP_OP_CLIENTSESSION_SET: number;
2502
+ static EXP_OP_UTCDATE: number;
2503
+ static EXP_OP_UTCTIME: number;
2504
+ static EXP_OP_UTCMTIME: number;
2505
+ static EXP_OP_CLIENT_DB_DISCONNECT: number;
2506
+ static EXP_OP_DATAVIEW_TO_DATASOURCE: number;
2507
+ static EXP_OP_CLIENT_DB_DEL: number;
2508
+ static EXP_OP_VARDISPLAYNAME: number;
2509
+ static EXP_OP_CONTROL_ITEMS_REFRESH: number;
2510
+ static EXP_OP_VARCONTROLID: number;
2511
+ static EXP_OP_CONTROLITEMSLIST: number;
2512
+ static EXP_OP_CONTROLDISPLAYLIST: number;
2513
+ static EXP_OP_CLIENT_SQL_EXECUTE: number;
2514
+ static EXP_OP_CONTROL_SELECT_PROGRAM: number;
2515
+ static EXP_OP_SET_TITLE: number;
2516
+ static EXP_OP_IS_ROW_EDITING: number;
2517
+ static EXP_OP_IS_LOGGED_IN: number;
2518
+ static EXP_OP_SET_COOKIE: number;
2519
+ static EXP_OP_GET_COOKIE: number;
2520
+ static EXP_OP_DELETE_COOKIE: number;
2521
+ static EXP_OP_ROUTEGET: number;
2522
+ static EXP_OP_HASH: number;
2523
+ constructor();
2524
+ }
2525
+
2526
+ declare abstract class GuiExpressionEvaluator {
2527
+ static TRIGGER_TASK: number;
2528
+ ExpTask: GuiTaskBase;
2529
+ private Events;
2530
+ abstract HandleControlGoto(task: ITask, ctrl: MgControlBase, rowNo: number): boolean;
2531
+ eval_op_statusbar_set_text(resVal: ExpVal, statusBarText: ExpVal): void;
2532
+ IsParallel(): boolean;
2533
+ eval_op_ctrl_name(resVal: ExpVal): void;
2534
+ eval_op_gotoCtrl(ctrlName: ExpVal, rowNum: ExpVal, generation: ExpVal, retVal: ExpVal): void;
2535
+ static GetContextTask(currTask: GuiTaskBase, generation: number): GuiTaskBase;
2536
+ GetContextTask(generation: number): GuiTaskBase;
2537
+ ConstructMagicNum(resVal: ExpVal, i: number, attr: StorageAttribute): void;
2538
+ SetNULL(resVal: ExpVal, attr: StorageAttribute): void;
2539
+ GetValidatedValue(currCtrl: MgControlBase, oldValue: string, newValue: string): string;
2540
+ SetVal(resVal: ExpVal, type: StorageAttribute, val: string, pic: PIC): void;
2541
+ static exp_build_string(val: ExpVal): string;
2542
+ static isExpVal(obj: any): boolean;
2543
+ private BlobStringConversion;
2544
+ eval_op_zimeread(resVal: ExpVal): void;
2545
+ ConvertExpVal(val: ExpVal, expectedType: StorageAttribute): void;
2546
+ }
2547
+ declare class ExpVal {
2548
+ Attr: StorageAttribute;
2549
+ IsNull: boolean;
2550
+ MgNumVal: NUM_TYPE;
2551
+ StrVal: string;
2552
+ BoolVal: boolean;
2553
+ IncludeBlobPrefix: boolean;
2554
+ OriginalNull: boolean;
2555
+ VectorField: GuiFieldBase;
2556
+ constructor();
2557
+ constructor(attr: StorageAttribute, isNull: boolean, mgVal: string);
2558
+ private constructor_0;
2559
+ private constructor_1;
2560
+ Copy(src: ExpVal): void;
2561
+ Nullify(): void;
2562
+ Init(attr: StorageAttribute, isNull: boolean, mgVal: string): void;
2563
+ ToMgVal(): string;
2564
+ isEmptyString(): boolean;
2565
+ }
2566
+
2567
+ declare class DisplayConvertor {
2568
+ private _environment;
2569
+ private DATECHAR;
2570
+ private static _instance;
2571
+ static get Instance(): DisplayConvertor;
2572
+ constructor();
2573
+ getNewDateBreakParams(): DateBreakParams;
2574
+ getNewTimeBreakParams(): TimeBreakParams;
2575
+ mg2disp(mgValue: string, rangeStr: string, pic: PIC, useNative: boolean, compIdx: number, time_date_pic_Z_edt: boolean): any;
2576
+ mg2disp(mgValue: string, rangeStr: string, pic: PIC, useNative: boolean, alwaysFill: boolean, compIdx: number, time_date_pic_Z_edt: boolean): any;
2577
+ mg2disp(mgValue: string, rangeStr: string, pic: PIC, useNative: boolean, alwaysFill: boolean, compIdx: number, convertCase: boolean, time_date_num_pic_Z_edt: boolean): any;
2578
+ private mg2disp_0;
2579
+ private mg2disp_1;
2580
+ mg2disp_2(mgValue: string, rangeStr: string, pic: PIC, useNative: boolean, alwaysFill: boolean, compIdx: number, convertCase: boolean, time_date_num_pic_Z_edt: boolean): any;
2581
+ disp2mg(dispValue: any, pic: PIC, compIdx: number, blobContentType: string): string;
2582
+ fromNum(mgValue: string, pic: PIC): string;
2583
+ private fromAlpha;
2584
+ private caseConvertedChar;
2585
+ private win_data_cpy;
2586
+ private win_data_cpy_0;
2587
+ private win_data_cpy_1;
2588
+ fromDate(dataStr: string, pic: PIC, compIdx: number, time_date_pic_Z_edt: boolean): string;
2589
+ fromTime(dataStr: string, pic: PIC, time_date_pic_Z_edt: boolean): string;
2590
+ fromMgDateToNativeDate(dataStr: string, pic: PIC, compIdx: number): Date;
2591
+ fromNativeDateToMgDateNumber(nativeDate: Date, pic: PIC): number;
2592
+ fromNativeDateToMgDate(nativeDate: Date, pic: PIC): string;
2593
+ to_a_pic_datemode(outStr: string, out_len: number, date: number, pic: PIC, date_pic_Z_edt: boolean, ignore_dt_fmt: boolean, compIdx: number): string;
2594
+ date_break_datemode(breakParams: DateBreakParams, date: number, ignore_dt_fmt: boolean, compIdx: number): void;
2595
+ private int_2_a;
2596
+ private lib_a_fill;
2597
+ private date_i_2_nm;
2598
+ private date_i_2_nm_bytemode;
2599
+ private date_msk_cnt;
2600
+ private date_2_DDDD;
2601
+ fromMgTimeToNativeTime(dataStr: string, pic: PIC): Date;
2602
+ private time_2_a_pic;
2603
+ static time_break(breakParams: TimeBreakParams, time: number): void;
2604
+ private fromMgLogicalToNativeLogical;
2605
+ private fromNativeLogicalToMgLogical;
2606
+ private win_rng_bool;
2607
+ toNum(dispValue: string, pic: PIC, compIdx: number): string;
2608
+ a_2_date_pic_datemode(str: string[], str_len: number, pic: PIC, mask: string[], compIdx: number): number;
2609
+ private date_a_2_i;
2610
+ private date_a_2_i_0;
2611
+ private move_date;
2612
+ private move_date_0;
2613
+ private date_MMM_2_m;
2614
+ date_sys(): DateBreakParams;
2615
+ date_magic(utcDate: boolean): number;
2616
+ time_magic(utcTime: boolean): number;
2617
+ mtime_magic(utcTime: boolean): number;
2618
+ date_4_calender(year: number, month: number, day: number, doy: number, usedoy: boolean): number;
2619
+ fromNativeTimeToMgTime(dispValue: Date): string;
2620
+ fromNativeTimeToMgTimeNumber(dispValue: Date): number;
2621
+ a_2_time(Ascii: string, pic: PIC, milliSeconds: boolean): number;
2622
+ a_2_time(Ascii: string, AsciiL: number, mask: string[], milliSeconds: boolean): number;
2623
+ private a_2_time_0;
2624
+ private a_2_time_1;
2625
+ time_2_int(hour: number, minute: number, second: number): number;
2626
+ static toBoolean(boolStr: string): boolean;
2627
+ a_2_date(str: string, Format: string, compIdx: number): number;
2628
+ a_2_date_pic(str: string, pic: PIC, mask: string, compIdx: number): number;
2629
+ to_a(outVal: string, out_len: number, date: number, Format: string, compIdx: number): string;
2630
+ private a_2_date_datemode;
2631
+ private to_a_datemode;
2632
+ private date_a_2_i_1;
2633
+ private move_date_1;
2634
+ time_2_a(Ascii: string, AsciiL: number, time: number, Format: string, compIdx: number, milliSeconds: boolean): string;
2635
+ toLogical(dispValue: string, pic: PIC, rangeStr: string): string;
2636
+ private disp_2_logical;
2637
+ private toAlpha;
2638
+ static isAlphaPositionalDirective(toCheck: string): boolean;
2639
+ private fillAlphaByRange;
2640
+ fillAlphaByDiscreteRangeValues(discreteRangeValues: List<string>, newValue: string): string;
2641
+ fillAlphaByContinuousRangeValues(ContinuousRangeValues: List<string>, newValue: string): string;
2642
+ completeAlphaByRange(discreteRangeValues: List<string>, newValue: string): string;
2643
+ setDateChar(dateChar: number): void;
2644
+ getDateChar(): number;
2645
+ static StringValueToMgValue(value: string, storageAttribute: StorageAttribute, filler: string, length: number): any;
2646
+ }
2647
+ declare class TimeBreakParams {
2648
+ hour: number;
2649
+ minute: number;
2650
+ second: number;
2651
+ constructor();
2652
+ constructor(hour_: number, minute_: number, second_: number);
2653
+ private constructor_0;
2654
+ private constructor_1;
2655
+ }
2656
+ declare class DateBreakParams {
2657
+ day: number;
2658
+ dow: number;
2659
+ doy: number;
2660
+ month: number;
2661
+ year: number;
2662
+ constructor();
2663
+ constructor(year_: number, month_: number, day_: number, doy_: number, dow_: number);
2664
+ private constructor_0;
2665
+ private constructor_1;
2666
+ }
2667
+
2668
+ declare class FieldValidator {
2669
+ private _newvalue;
2670
+ private _oldvalue;
2671
+ private _pictureReal;
2672
+ private _pictureEnable;
2673
+ private _valDet;
2674
+ private _picture;
2675
+ private _decimal;
2676
+ private _environment;
2677
+ constructor();
2678
+ checkVal(valDet: ValidationDetails): ValidationDetails;
2679
+ private checkAlphaField;
2680
+ private isPossibleAlphaLetter;
2681
+ private fillAlphaByRange;
2682
+ private CompleteAlphaByRange;
2683
+ private checkLogicalField;
2684
+ private checkNumericField;
2685
+ private checkNumericLeft;
2686
+ private checkNumericRight;
2687
+ private checkNumericPicture;
2688
+ private fillNumericByRange;
2689
+ private setNumericValueWithoutPicture;
2690
+ private checkNumericInDecFormat;
2691
+ private checkDateField;
2692
+ private fillDateByRange;
2693
+ private checkTimeField;
2694
+ private fillTimeByRange;
2695
+ private printMessage;
2696
+ private changeStringInside;
2697
+ private init;
2698
+ private setValidationFailed;
2699
+ private digitsBeforeDelimeter;
2700
+ private isNullDisplayVal;
2701
+ }
2702
+
2703
+ declare class HebrewDate {
2704
+ private static PARTS_PER_HOUR;
2705
+ private static HOURS_PER_DAY;
2706
+ private static PARTS_PER_DAY;
2707
+ private static MONTH_DAYS;
2708
+ private static MONTH_EXTRA_PARTS;
2709
+ private static PARTS_PER_MONTH;
2710
+ private static MONTHS_PER_NORM_YEAR;
2711
+ private static MONTHS_PER_LEAP_YEAR;
2712
+ private static NORM_YEARS_PER_CYCLE;
2713
+ private static LEAP_YEARS_PER_CYCLE;
2714
+ private static YEARS_PER_CYCLE;
2715
+ private static MONTHS_PER_CYCLE;
2716
+ private static PARTS_PER_LEAP_YEAR;
2717
+ private static DAYS_PER_LEAP_YEAR;
2718
+ private static PARTS_PER_CYCLE;
2719
+ private static DAYS_PER_CYCLE;
2720
+ private static CREATION_DOW;
2721
+ private static CREATION_PARTS;
2722
+ private static DAYS_TIL_JESUS;
2723
+ private static HESHVAN;
2724
+ private static KISLEV;
2725
+ private static ADAR;
2726
+ private static ADAR_B;
2727
+ private static DATEHEB_letters;
2728
+ private static ALEF;
2729
+ private static TAV;
2730
+ private static DATEHEB_months_n;
2731
+ private static DATEHEB_norm_days_in_month;
2732
+ private static DATEHEB_leap_days_in_month;
2733
+ private static MONTH_LEN;
2734
+ private static _localMonths;
2735
+ private static DOW_LEN;
2736
+ private static _localDows;
2737
+ private static dateheb_year_is_leap;
2738
+ private static dateheb_days_in_month;
2739
+ private static dateheb_year_start;
2740
+ static dateheb_4_d(date: number, day: RefParam<number>, month: RefParam<number>, year: RefParam<number>): boolean;
2741
+ static dateheb_i_2_h(val: number, str: string[], strPos: number, use_ending: boolean, quote: boolean): number;
2742
+ static dateheb_2_str(outStr: string[], strPos: number, len: number, out_len: RefParam<number>, full_len: number, hyear: number, trim: boolean, use_ending: boolean): number;
2743
+ static GetLocalMonths(): string[];
2744
+ static GetLocalDows(): string[];
2745
+ static dateheb_h_2_i(str: string[], len: number, pos: number): number;
2746
+ static dateheb_2_d(year: number, month: number, day: number): number;
2747
+ }
2748
+
2749
+ declare class PropDefaults {
2750
+ private static getNumericMgValue;
2751
+ private static getDefaultValueForTask;
2752
+ static getDefaultValue(propId: number, parentType: string, propParent: PropParentInterface): string;
2753
+ static GetPropertyName(propTypeId: number): string;
2754
+ }
2755
+
2756
+ declare enum PropInterface {
2757
+ PROP_TYPE_LINES_IN_TABLE = 3,
2758
+ PROP_TYPE_HYPERLINK = 14,
2759
+ PROP_TYPE_TEXT = 19,
2760
+ PROP_TYPE_PLACEMENT = 20,
2761
+ PROP_TYPE_LEFT = 21,
2762
+ PROP_TYPE_TOP = 22,
2763
+ PROP_TYPE_WIDTH = 23,
2764
+ PROP_TYPE_LAYER = 25,
2765
+ PROP_TYPE_TITLE_BAR = 26,
2766
+ PROP_TYPE_SYSTEM_MENU = 27,
2767
+ PROP_TYPE_MINBOX = 28,
2768
+ PROP_TYPE_MAXBOX = 29,
2769
+ PROP_TYPE_UOM = 33,
2770
+ PROP_TYPE_VER_FAC = 34,
2771
+ PROP_TYPE_HOR_FAC = 35,
2772
+ PROP_TYPE_WALLPAPER = 42,
2773
+ PROP_TYPE_DATA = 43,
2774
+ PROP_TYPE_LABEL = 45,
2775
+ PROP_TYPE_NAME = 46,
2776
+ PROP_TYPE_FONT = 50,
2777
+ PROP_TYPE_COLOR = 51,
2778
+ PROP_TYPE_MUST_INPUT = 52,
2779
+ PROP_TYPE_MODIFIABLE = 53,
2780
+ PROP_TYPE_HELP_SCR = 54,
2781
+ PROP_TYPE_TOOLTIP = 56,
2782
+ PROP_TYPE_PROMPT = 57,
2783
+ PROP_TYPE_SELECT_PROGRAM = 58,
2784
+ PROP_TYPE_SELECT_MODE = 59,
2785
+ PROP_TYPE_MODIFY_IN_QUERY = 60,
2786
+ PROP_TYPE_VISIBLE = 61,
2787
+ PROP_TYPE_ENABLED = 62,
2788
+ PROP_TYPE_STYLE_3D = 63,
2789
+ PROP_TYPE_BORDER_STYLE = 64,
2790
+ PROP_TYPE_HORIZONTAL_ALIGNMENT = 65,
2791
+ PROP_TYPE_VERTICAL_ALIGNMENT = 66,
2792
+ PROP_TYPE_CHOICE_COLUMNS = 67,
2793
+ PROP_TYPE_VISIBLE_LINES = 68,
2794
+ PROP_TYPE_STATIC_TYPE = 70,
2795
+ PROP_TYPE_MULTILINE = 71,
2796
+ PROP_TYPE_MULTILINE_VERTICAL_SCROLL = 73,
2797
+ PROP_TYPE_MULTILINE_ALLOW_CR = 74,
2798
+ PROP_TYPE_LINE_STYLE = 75,
2799
+ PROP_TYPE_LINE_WIDTH = 76,
2800
+ PROP_TYPE_SCROLL_BAR = 77,
2801
+ PROP_TYPE_LINE_DIVIDER = 78,
2802
+ PROP_TYPE_TITLE_HEIGHT = 79,
2803
+ PROP_TYPE_ROW_HEIGHT = 80,
2804
+ PROP_TYPE_FORMAT = 82,
2805
+ PROP_TYPE_ATTRIBUTE = 83,
2806
+ PROP_TYPE_EXPAND_WINDOW = 84,
2807
+ PROP_TYPE_PASSWORD = 85,
2808
+ PROP_TYPE_TAB_CONTROL_SIDE = 87,
2809
+ PROP_TYPE_IMAGE_FILENAME = 88,
2810
+ PROP_TYPE_IMAGE_STYLE = 89,
2811
+ PROP_TYPE_BUTTON_STYLE = 96,
2812
+ PROP_TYPE_RETURN_ACTION = 97,
2813
+ PROP_TYPE_RANGE = 98,
2814
+ PROP_TYPE_PARAMETERS = 126,
2815
+ PROP_TYPE_FRAME_NAME = 127,
2816
+ PROP_TYPE_HEBREW = 130,
2817
+ PROP_TYPE_TRANSLATOR = 132,
2818
+ PROP_TYPE_SORT_COLUMN = 134,
2819
+ PROP_TYPE_COLUMN_PLACEMENT = 138,
2820
+ PROP_TYPE_COLUMN_TITLE = 139,
2821
+ PROP_TYPE_SUBFORM_TYPE = 156,
2822
+ PROP_TYPE_PRGTSK_NUM = 183,
2823
+ PROP_TYPE_COLUMN_DIVIDER = 189,
2824
+ PROP_TYPE_ALLOW_COL_RESIZE = 191,
2825
+ PROP_TYPE_TASK_MODE = 197,
2826
+ PROP_TYPE_END_CONDITION = 198,
2827
+ PROP_TYPE_EVAL_END_CONDITION = 199,
2828
+ PROP_TYPE_SELECTION = 200,
2829
+ PROP_TYPE_ALLOW_MODIFY = 201,
2830
+ PROP_TYPE_ALLOW_CREATE = 202,
2831
+ PROP_TYPE_ALLOW_DELETE = 203,
2832
+ PROP_TYPE_CONFIRM_UPDATE = 204,
2833
+ PROP_TYPE_CONFIRM_CANCEL = 205,
2834
+ PROP_TYPE_FORCE_SUFFIX = 206,
2835
+ PROP_TYPE_TRASACTION_BEGIN = 207,
2836
+ PROP_TYPE_REPEATABLE = 208,
2837
+ PROP_TYPE_HIGHLIGHTING = 216,
2838
+ PROP_TYPE_SELECTION_ROWS = 217,
2839
+ PROP_TYPE_BEFORE_900_VERSION = 225,
2840
+ PROP_TYPE_FORCE_DELETE = 233,
2841
+ PROP_TYPE_TRIGGER = 234,
2842
+ PROP_TYPE_TOP_BORDER = 237,
2843
+ PROP_TYPE_RIGHT_BORDER = 238,
2844
+ PROP_TYPE_WINDOW_WIDTH = 241,
2845
+ PROP_TYPE_NODE_ID = 247,
2846
+ PROP_TYPE_NODE_PARENTID = 248,
2847
+ PROP_TYPE_SHOW_BUTTONS = 249,
2848
+ PROP_TYPE_SHOW_LINES = 250,
2849
+ PROP_TYPE_SHOW_FULL_ROW = 252,
2850
+ PROP_TYPE_TRACK_SELECTION = 253,
2851
+ PROP_TYPE_EXPANDED_IMAGEIDX = 256,
2852
+ PROP_TYPE_COLLAPSED_IMAGEIDX = 257,
2853
+ PROP_TYPE_PARKED_IMAGEIDX = 258,
2854
+ PROP_TYPE_LINES_AT_ROOT = 267,
2855
+ PROP_TYPE_TAB_IN = 269,
2856
+ PROP_TYPE_STARTUP_POSITION = 275,
2857
+ PROP_TYPE_ALLOW_DRAGGING = 283,
2858
+ PROP_TYPE_ALLOW_DROPPING = 284,
2859
+ PROP_TYPE_IS_CACHED = 286,
2860
+ PROP_TYPE_SELECTION_MODE = 288,
2861
+ PROP_TYPE_PARKED_COLLAPSED_IMAGEIDX = 290,
2862
+ PROP_TYPE_DISPLAY_LIST = 303,
2863
+ PROP_TYPE_FORM_NAME = 311,
2864
+ PROP_TYPE_AUTO_REFRESH = 312,
2865
+ PROP_TYPE_AUTO_FIT = 313,
2866
+ PROP_TYPE_TAB_ORDER = 314,
2867
+ PROP_TYPE_ALLOW_PARKING = 315,
2868
+ PROP_TYPE_ALLOWED_DIRECTION = 317,
2869
+ PROP_TYPE_TABBING_ORDER = 318,
2870
+ PROP_TYPE_HOT_TRACK = 354,
2871
+ PROP_TYPE_TAB_CONTROL_TABS_WIDTH = 355,
2872
+ PROP_TYPE_IMAGE_LIST_INDEXES = 356,
2873
+ PROP_TYPE_WINDOW_TYPE = 358,
2874
+ PROP_TYPE_DISPLAY_TOOLBAR = 360,
2875
+ PROP_TYPE_DISPLAY_STATUS_BAR = 361,
2876
+ PROP_TYPE_STARTUP_MODE = 362,
2877
+ PROP_TYPE_THREE_STATES = 390,
2878
+ PROP_TYPE_CHECKBOX_MAIN_STYLE = 391,
2879
+ PROP_TYPE_RAISE_AT = 395,
2880
+ PROP_TYPE_DISPLAY_MENU = 396,
2881
+ PROP_TYPE_RADIO_BUTTON_APPEARANCE = 401,
2882
+ PROP_TYPE_DEFAULT_BUTTON = 408,
2883
+ PROP_TYPE_ROW_HIGHLIGHT_STYLE = 409,
2884
+ PROP_TYPE_BOTTOM_POSITION_INTERVAL = 411,
2885
+ PROP_TYPE_MINIMUM_WIDTH = 418,
2886
+ PROP_TYPE_MINIMUM_HEIGHT = 419,
2887
+ PROP_TYPE_SHOW_IN_WINDOW_MENU = 422,
2888
+ PROP_TYPE_SET_COLOR_BY = 428,
2889
+ PROP_TYPE_ALLOW_REORDER = 430,
2890
+ PROP_TYPE_PARK_ON_CLICK = 433,
2891
+ PROP_TYPE_TASK_ID = 440,
2892
+ PROP_TYPE_PULLDOWN_MENU = 441,
2893
+ PROP_TYPE_CONTEXT_MENU = 442,
2894
+ PROP_TYPE_DISPLAY_FIELD = 443,
2895
+ PROP_TYPE_LINK_FIELD = 444,
2896
+ PROP_TYPE_INDEX = 445,
2897
+ PROP_TYPE_PRELOAD_VIEW = 446,
2898
+ PROP_TYPE_WALLPAPER_STYLE = 448,
2899
+ PROP_TYPE_PART_OF_DATAVIEW = 449,
2900
+ PROP_TYPE_BORDER = 452,
2901
+ PROP_TYPE_MULTILINE_WORDWRAP_SCROLL = 455,
2902
+ PROP_TYPE_ALLOW_QUERY = 456,
2903
+ PROP_TYPE_MAIN_DISPLAY = 457,
2904
+ PROP_TYPE_DEST_SUBFORM = 458,
2905
+ PROP_TYPE_HORIZONTAL_PLACEMENT = 459,
2906
+ PROP_TYPE_VERTICAL_PLACEMENT = 460,
2907
+ PROP_TYPE_FRAMESET_STYLE = 461,
2908
+ PROP_TYPE_FRAME_TYPE = 462,
2909
+ PROP_TYPE_ALLOW_EMPTY_DATAVIEW = 463,
2910
+ PROP_TYPE_SHOW_TITLE = 464,
2911
+ PROP_TYPE_TABBING_CYCLE = 465,
2912
+ PROP_TYPE_REFRESH_WHEN_HIDDEN = 472,
2913
+ PROP_TYPE_HOVERING_COLOR = 473,
2914
+ PROP_TYPE_VISITED_COLOR = 474,
2915
+ PROP_TYPE_ALLOW_OPTION = 475,
2916
+ PROP_TYPE_VISIBLE_LAYERS_LIST = 476,
2917
+ PROP_TYPE_INTERACTIVE = 477,
2918
+ PROP_TYPE_OBJECT_TYPE = 478,
2919
+ PROP_TYPE_OBJECT_PROPERTIES = 479,
2920
+ PROP_TYPE_GRADIENT_COLOR = 480,
2921
+ PROP_TYPE_GRADIENT_STYLE = 481,
2922
+ PROP_TYPE_RETAIN_FOCUS = 482,
2923
+ PROP_TYPE_REAL_OBJECT_TYPE = 483,
2924
+ PROP_TYPE_ALLOW_LOCATE_IN_QUERY = 486,
2925
+ PROP_TYPE_LOAD_IMAGE_FROM = 487,
2926
+ PROP_TYPE_PRINT_DATA = 488,
2927
+ PROP_TYPE_ALLOW_RANGE = 489,
2928
+ PROP_TYPE_ALLOW_LOCATE = 490,
2929
+ PROP_TYPE_ALLOW_SORT = 491,
2930
+ PROP_TYPE_DEST_SUBFORM_NAME = 492,
2931
+ PROP_TYPE_PERSISTENT_FORMSTATE = 493,
2932
+ PROP_TYPE_CLOSE_TASKS_BY_MDI_MENU = 496,
2933
+ PROP_TYPE_ROW_PLACEMENT = 572,
2934
+ PROP_TYPE_ADDITIONAL_INFORMATION = 573,
2935
+ PROP_TYPE_TASK_PROPERTIES_ALLOW_EVENTS = 592,
2936
+ PROP_TYPE_TASK_PROPERTIES_RETURN_VALUE = 596,
2937
+ PROP_TYPE_TASK_PROPERTIES_TRANSACTION_MODE = 604,
2938
+ PROP_TYPE_TASK_PROPERTIES_OPEN_TASK_WINDOW = 619,
2939
+ PROP_TYPE_TASK_PROPERTIES_MAIN_DISPLAY = 621,
2940
+ PROP_TYPE_TASK_PROPERTIES_ALLOW_INDEX = 630,
2941
+ PROP_TYPE_TASK_PROPERTIES_LOCATE = 634,
2942
+ PROP_TYPE_TASK_PROPERTIES_LOCATE_ORDER = 635,
2943
+ PROP_TYPE_TASK_PROPERTIES_POSITION = 636,
2944
+ PROP_TYPE_TASK_PROPERTIES_POSITION_USAGE = 637,
2945
+ PROP_TYPE_TASK_PROPERTIES_RANGE = 638,
2946
+ PROP_TYPE_TASK_PROPERTIES_RANGE_ORDER = 639,
2947
+ PROP_TYPE_TASK_PROPERTIES_SQL_RANGE = 640,
2948
+ PROP_TYPE_TASK_PROPERTIES_DB_SQL_RANGE = 641,
2949
+ PROP_TYPE_TASK_PROPERTIES_CHUNK_SIZE = 645,
2950
+ PROP_TYPE_TASK_PROPERTIES_INDEX_OPTIMIZATION = 653,
2951
+ PROP_TYPE_DATAVIEWCONTROL = 656,
2952
+ PROP_TYPE_DATAVIEWCONTROL_FIELDS = 657,
2953
+ PROP_TYPE_POP_UP = 658,
2954
+ PROP_TYPE_ORIENTATION_LOCK = 659,
2955
+ PROP_TYPE_ENTER_ANIMATION = 660,
2956
+ PROP_TYPE_EXIT_ANIMATION = 661,
2957
+ PROP_TYPE_NAVIGATION_DRAWER_MENU = 662,
2958
+ PROP_TYPE_TITLE_BAR_COLOR = 663,
2959
+ PROP_TYPE_MOBILE_BORDER_WIDTH = 664,
2960
+ PROP_TYPE_BORDER_COLOR = 665,
2961
+ PROP_TYPE_BORDER_FOCUS_WIDTH = 666,
2962
+ PROP_TYPE_BORDER_FOCUS_COLOR = 667,
2963
+ PROP_TYPE_CORNER_RADIUS = 668,
2964
+ PROP_TYPE_OPEN_PICKER = 669,
2965
+ PROP_TYPE_OPEN_EDIT_DIALOG = 670,
2966
+ PROP_TYPE_DEFAULT_ALIGNMENT = 671,
2967
+ PROP_TYPE_HINT = 672,
2968
+ PROP_TYPE_KEYBOARD_TYPE = 673,
2969
+ PROP_TYPE_KEYBOARD_RETURN_KEY = 674,
2970
+ PROP_TYPE_ALLOW_SUGGESTIONS = 675,
2971
+ PROP_TYPE_MOBILE_IMAGE_LIST_FILE_NAME = 676,
2972
+ PROP_TYPE_TITLE_COLOR = 677,
2973
+ PROP_TYPE_FOCUS_COLOR = 678,
2974
+ PROP_TYPE_SWIPE_REFRESH = 679,
2975
+ PROP_TYPE_ACTION_BAR_MENU = 683,
2976
+ PROP_TYPE_TOP_BORDER_MARGIN = 684,
2977
+ PROP_TYPE_DIVIDER_COLOR = 685,
2978
+ PROP_TYPE_HOT_TRACK_COLOR = 686,
2979
+ PROP_TYPE_COL_ALLOW_FILTERING = 687,
2980
+ PROP_TYPE_FILL_WIDTH = 688,
2981
+ PROP_TYPE_TITLE_PADDING = 689,
2982
+ PROP_TYPE_HINT_COLOR = 691,
2983
+ PROP_TYPE_MULTI_COLUMN_DISPLAY = 692,
2984
+ PROP_TYPE_SELECTED_TAB_COLOR = 694,
2985
+ PROP_TYPE_PERSISTENT_FORM_STATE_VERSION = 696,
2986
+ PROP_TYPE_INACTIVE_ROW_HIGHLIGHT_COLOR = 697,
2987
+ PROP_TYPE_ROW_BG_COLOR = 698,
2988
+ PROP_TYPE_SHOW_ELLIPISIS = 699,
2989
+ PROP_TYPE_SCROLL_BAR_THUMB = 700,
2990
+ PROP_TYPE_IS_ROUTER_OUTLET = 707,
2991
+ PROP_TYPE_DEFAULT_OUTLET = 712,
2992
+ PROP_TYPE_CUSTOM_PROPERTIES = 713,
2993
+ PROP_TYPE_CONNECTED_ZOOM_CONTROL = 719,
2994
+ PROP_TYPE_CUSTOM_VALIDATORS = 732,
2995
+ PROP_TYPE_BINDING_LEVEL = 733,
2996
+ PROP_TYPE_SERVER_READ_AHEAD = 736,
2997
+ PROP_TYPE_AUTO_COMPLETE_MODE_WC = 740,
2998
+ PROP_TYPE_PARK_FIRST_ON = 743,
2999
+ PROP_TYPE_ON_DEMAND = 747
3000
+ }
3001
+
3002
+ declare class WrongFormatException extends Exception {
3003
+ private _type;
3004
+ constructor(type?: string);
3005
+ private initialize;
3006
+ private constructor_0;
3007
+ private constructor_1;
3008
+ getType(): string;
3009
+ }
3010
+
3011
+ interface IMGDataTable {
3012
+ currMgdID: number;
3013
+ GetTaskByID(id: string): ITask;
3014
+ GetMainProgByCtlIdx(contextID: number, ctlIdx: number): ITask;
3015
+ getTaskIdById(taskId: string): string;
3016
+ getSize(): number;
3017
+ startTasksIteration(): void;
3018
+ getNextTask(): ITask;
3019
+ }
3020
+
3021
+ declare class GuiDataCollection {
3022
+ static MGDataTable: IMGDataTable;
3023
+ }
3024
+
3025
+ declare class TaskDefinitionIdTableSaxHandler {
3026
+ private readonly _newTaskDefinitionIdHandler;
3027
+ constructor(newTaskDefintionIdHandler: (taskDefinitionId: TaskDefinitionId) => void);
3028
+ parse(xmlSerializedTaskDefinitionsTable: string): void;
3029
+ private ParseJSON;
3030
+ }
3031
+
3032
+ declare class MemoryUtil {
3033
+ static char_memset(charArray: string[], pos: number, charToSet: string, len: number): void;
3034
+ static char_memcpy(to: string[], pos1: number, from: string[], pos2: number, len: number): void;
3035
+ static char_memmove(to: string[], pos1: number, from: string[], pos2: number, len: number): void;
3036
+ static mem_trim(s: string[], sPos: number, len: number): number;
3037
+ }
3038
+
3039
+ declare class UsernamePasswordCredentials {
3040
+ Username: string;
3041
+ Password: string;
3042
+ constructor();
3043
+ constructor(userName: string, password: string);
3044
+ private constructor_0;
3045
+ private constructor_1;
3046
+ toString(): string;
3047
+ }
3048
+ declare class ChangePasswordCredentials extends UsernamePasswordCredentials {
3049
+ NewUserName: string;
3050
+ NewPassword: string;
3051
+ constructor();
3052
+ constructor(oldUserName: string, newUserName: string, password: string);
3053
+ private constructor_2;
3054
+ private constructor_3;
3055
+ ToString(): string;
3056
+ }
3057
+
3058
+ export { BlobType, CellElement, ChangePasswordCredentials, ClipFormats, CommandType, Commands, ControlBase, ControlTable, CustomValidator, CustomValidatorProp, DataModificationTypes, DateBreakParams, DateElement, DcValues, DcValuesBuilderBase, DialogHandler, DisplayConvertor, DockingStyle, EMPTY_DCREF, EditReturnCode, Events, EventsProcessor, ExpVal, ExpressionInterface, FieldDef, FieldValidator, FieldsTable, FocusManager, GuiCommand, GuiCommandQueue, GuiConstants, GuiControlPropertyAdapter, GuiDataCollection, GuiDataViewBase, GuiEnvironment, GuiExpressionEvaluator, GuiExpressionEvaluator_ControlsPersistencyClearOption, GuiFieldBase, GuiFormPropertyAdapter, GuiInteractive, GuiInteractiveBase, GuiMgControl, GuiMgForm, GuiTaskBase, HebrewDate, Helps, HtmlProperties, InteractiveCommandType, InternalHelp, KeyboardItem, LastFocusedVal, MagicHelp, Manager, MarkMode, MemoryUtil, MenuEntryProgram_SrcContext, MenuStyle, MgCheckState, MgControlBase, MgCursors, MgFormBase, MgTimer, MgValue, Modifiers, NOT_FOUND, NUM_TYPE, ObjectReference, ObjectReferenceBase, ObjectReferencesCollection, OperData, OverlayType, PIC, PromptpHelp, PropDefaults, PropInterface, PropTable, Property, RaisedBy, RecordUtils, Row, RuntimeContextBase, Styles, TaskDefinitionId, TaskDefinitionIdTableSaxHandler, TimeBreakParams, ToolTipHelp, TraverseMode, UIBridge, URLHelp, UsernamePasswordCredentials, ValidationDetails, ValidationDetailsBase, VectorType, VectorTypeBase, WindowsHelp, WrongFormatException };
3059
+ export type { ExecuteCommandsCallback, GetIntractiveCallback, IActionManager, IEnvironment, IFlowMonitorQueue, IGuiEventsManager, IMGDataTable, IRecord, IReferencedObject, ITask, PropParentInterface };