@magic-xpa/gui 4.1201.1 → 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.
- package/fesm2022/magic-xpa-gui.mjs.map +1 -1
- package/package.json +5 -5
- package/types/magic-xpa-gui.d.ts +3059 -0
- package/index.d.ts +0 -73
- package/src/Commands.d.ts +0 -40
- package/src/Events.d.ts +0 -157
- package/src/EventsProcessor.d.ts +0 -13
- package/src/FocusManager.d.ts +0 -8
- package/src/GuiConstants.d.ts +0 -65
- package/src/GuiEnums.d.ts +0 -286
- package/src/GuiEnvironment.d.ts +0 -4
- package/src/IFlowMonitorQueue.d.ts +0 -3
- package/src/Manager.d.ts +0 -26
- package/src/UIBridge.d.ts +0 -16
- package/src/env/IEnvironment.d.ts +0 -31
- package/src/gui/ControlBase.d.ts +0 -4
- package/src/gui/GuiMgControl.d.ts +0 -39
- package/src/gui/GuiMgForm.d.ts +0 -3
- package/src/gui/KeyboardItem.d.ts +0 -18
- package/src/gui/LastFocusedVal.d.ts +0 -7
- package/src/gui/MgValue.d.ts +0 -15
- package/src/gui/PropParentInterface.d.ts +0 -13
- package/src/gui/low/DialogHandler.d.ts +0 -4
- package/src/gui/low/GuiCommand.d.ts +0 -37
- package/src/gui/low/GuiCommandQueue.d.ts +0 -13
- package/src/gui/low/GuiInteractive.d.ts +0 -55
- package/src/gui/low/Style.d.ts +0 -19
- package/src/management/RuntimeContextBase.d.ts +0 -23
- package/src/management/data/BlobType.d.ts +0 -29
- package/src/management/data/DcValues.d.ts +0 -33
- package/src/management/data/DcValuesBuilderBase.d.ts +0 -17
- package/src/management/data/FieldDef.d.ts +0 -53
- package/src/management/data/FieldsTable.d.ts +0 -16
- package/src/management/data/GuiDataViewBase.d.ts +0 -27
- package/src/management/data/GuiFieldBase.d.ts +0 -17
- package/src/management/data/IRecord.d.ts +0 -12
- package/src/management/data/IReferencedObject.d.ts +0 -5
- package/src/management/data/NUM_TYPE.d.ts +0 -103
- package/src/management/data/ObjectReferenceBase.d.ts +0 -16
- package/src/management/data/ObjectReferencesCollection.d.ts +0 -10
- package/src/management/data/RecordUtils.d.ts +0 -21
- package/src/management/data/VectorType.d.ts +0 -52
- package/src/management/data/VectorTypeBase.d.ts +0 -8
- package/src/management/events/IActionManager.d.ts +0 -7
- package/src/management/events/IGuiEventsManager.d.ts +0 -20
- package/src/management/exp/ExpressionInterface.d.ts +0 -243
- package/src/management/exp/GuiExpressionEvaluator.d.ts +0 -47
- package/src/management/gui/ControlTable.d.ts +0 -28
- package/src/management/gui/DisplayConvertor.d.ts +0 -103
- package/src/management/gui/FieldValidator.d.ts +0 -35
- package/src/management/gui/GuiControlPropertyAdapter.d.ts +0 -40
- package/src/management/gui/GuiFormPropertyAdapter.d.ts +0 -17
- package/src/management/gui/HebrewDate.d.ts +0 -46
- package/src/management/gui/Helps.d.ts +0 -51
- package/src/management/gui/MgControlBase.d.ts +0 -225
- package/src/management/gui/MgFormBase.d.ts +0 -160
- package/src/management/gui/PIC.d.ts +0 -108
- package/src/management/gui/PropDefaults.d.ts +0 -7
- package/src/management/gui/PropInterface.d.ts +0 -245
- package/src/management/gui/PropTable.d.ts +0 -33
- package/src/management/gui/Property.d.ts +0 -121
- package/src/management/gui/ValidationDetails.d.ts +0 -52
- package/src/management/gui/ValidationDetailsBase.d.ts +0 -14
- package/src/management/gui/WrongFormatException.d.ts +0 -9
- package/src/management/tasks/GuiDataCollection.d.ts +0 -4
- package/src/management/tasks/GuiTaskBase.d.ts +0 -150
- package/src/management/tasks/IMGDataTable.d.ts +0 -10
- package/src/management/tasks/ITask.d.ts +0 -6
- package/src/management/tasks/MgTimer.d.ts +0 -8
- package/src/management/tasks/TaskDefinitionId.d.ts +0 -16
- package/src/management/tasks/TaskDefinitionIdTableSaxHandler.d.ts +0 -7
- package/src/util/MemoryUtil.d.ts +0 -6
- package/src/util/ObjectReference.d.ts +0 -9
- package/src/util/UsernamePasswordCredentials.d.ts +0 -18
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { RefParam } from '@magic-xpa/mscorelib';
|
|
2
|
-
export declare class HebrewDate {
|
|
3
|
-
private static PARTS_PER_HOUR;
|
|
4
|
-
private static HOURS_PER_DAY;
|
|
5
|
-
private static PARTS_PER_DAY;
|
|
6
|
-
private static MONTH_DAYS;
|
|
7
|
-
private static MONTH_EXTRA_PARTS;
|
|
8
|
-
private static PARTS_PER_MONTH;
|
|
9
|
-
private static MONTHS_PER_NORM_YEAR;
|
|
10
|
-
private static MONTHS_PER_LEAP_YEAR;
|
|
11
|
-
private static NORM_YEARS_PER_CYCLE;
|
|
12
|
-
private static LEAP_YEARS_PER_CYCLE;
|
|
13
|
-
private static YEARS_PER_CYCLE;
|
|
14
|
-
private static MONTHS_PER_CYCLE;
|
|
15
|
-
private static PARTS_PER_LEAP_YEAR;
|
|
16
|
-
private static DAYS_PER_LEAP_YEAR;
|
|
17
|
-
private static PARTS_PER_CYCLE;
|
|
18
|
-
private static DAYS_PER_CYCLE;
|
|
19
|
-
private static CREATION_DOW;
|
|
20
|
-
private static CREATION_PARTS;
|
|
21
|
-
private static DAYS_TIL_JESUS;
|
|
22
|
-
private static HESHVAN;
|
|
23
|
-
private static KISLEV;
|
|
24
|
-
private static ADAR;
|
|
25
|
-
private static ADAR_B;
|
|
26
|
-
private static DATEHEB_letters;
|
|
27
|
-
private static ALEF;
|
|
28
|
-
private static TAV;
|
|
29
|
-
private static DATEHEB_months_n;
|
|
30
|
-
private static DATEHEB_norm_days_in_month;
|
|
31
|
-
private static DATEHEB_leap_days_in_month;
|
|
32
|
-
private static MONTH_LEN;
|
|
33
|
-
private static _localMonths;
|
|
34
|
-
private static DOW_LEN;
|
|
35
|
-
private static _localDows;
|
|
36
|
-
private static dateheb_year_is_leap;
|
|
37
|
-
private static dateheb_days_in_month;
|
|
38
|
-
private static dateheb_year_start;
|
|
39
|
-
static dateheb_4_d(date: number, day: RefParam<number>, month: RefParam<number>, year: RefParam<number>): boolean;
|
|
40
|
-
static dateheb_i_2_h(val: number, str: string[], strPos: number, use_ending: boolean, quote: boolean): number;
|
|
41
|
-
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;
|
|
42
|
-
static GetLocalMonths(): string[];
|
|
43
|
-
static GetLocalDows(): string[];
|
|
44
|
-
static dateheb_h_2_i(str: string[], len: number, pos: number): number;
|
|
45
|
-
static dateheb_2_d(year: number, month: number, day: number): number;
|
|
46
|
-
}
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import { HelpCommand, HelpType, XmlParser } from "@magic-xpa/utils";
|
|
2
|
-
export declare abstract class MagicHelp {
|
|
3
|
-
abstract GetHelpType(): HelpType;
|
|
4
|
-
}
|
|
5
|
-
export declare class InternalHelp extends MagicHelp {
|
|
6
|
-
val: string;
|
|
7
|
-
Name: string;
|
|
8
|
-
FrameX: number;
|
|
9
|
-
FrameY: number;
|
|
10
|
-
FrameDx: number;
|
|
11
|
-
FrameDy: number;
|
|
12
|
-
SizedX: number;
|
|
13
|
-
SizedY: number;
|
|
14
|
-
FactorX: number;
|
|
15
|
-
FactorY: number;
|
|
16
|
-
Borderstyle: number;
|
|
17
|
-
TitleBar: number;
|
|
18
|
-
FontTableIndex: number;
|
|
19
|
-
GetHelpType(): HelpType;
|
|
20
|
-
constructor();
|
|
21
|
-
}
|
|
22
|
-
export declare class PromptpHelp extends MagicHelp {
|
|
23
|
-
PromptHelpText: string;
|
|
24
|
-
GetHelpType(): HelpType;
|
|
25
|
-
constructor();
|
|
26
|
-
}
|
|
27
|
-
export declare class ToolTipHelp extends MagicHelp {
|
|
28
|
-
tooltipHelpText: string;
|
|
29
|
-
GetHelpType(): HelpType;
|
|
30
|
-
constructor();
|
|
31
|
-
}
|
|
32
|
-
export declare class URLHelp extends MagicHelp {
|
|
33
|
-
urlHelpText: string;
|
|
34
|
-
GetHelpType(): HelpType;
|
|
35
|
-
constructor();
|
|
36
|
-
}
|
|
37
|
-
export declare class WindowsHelp extends MagicHelp {
|
|
38
|
-
FilePath: string;
|
|
39
|
-
HelpCommand: HelpCommand;
|
|
40
|
-
HelpKey: string;
|
|
41
|
-
GetHelpType(): HelpType;
|
|
42
|
-
constructor();
|
|
43
|
-
}
|
|
44
|
-
export declare class Helps {
|
|
45
|
-
private _helps;
|
|
46
|
-
constructor();
|
|
47
|
-
fillData(parser: XmlParser): void;
|
|
48
|
-
private initInnerObjects;
|
|
49
|
-
private fillHelpItem;
|
|
50
|
-
getHelp(idx: number): MagicHelp;
|
|
51
|
-
}
|
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { List, RefParam } from '@magic-xpa/mscorelib';
|
|
2
|
-
import { GuiMgControl } from '../../gui/GuiMgControl';
|
|
3
|
-
import { PropParentInterface } from '../../gui/PropParentInterface';
|
|
4
|
-
import { GuiFieldBase } from '../data/GuiFieldBase';
|
|
5
|
-
import { MgControlType, StorageAttribute, XmlParser } from '@magic-xpa/utils';
|
|
6
|
-
import { MgFormBase } from './MgFormBase';
|
|
7
|
-
import { PIC } from './PIC';
|
|
8
|
-
import { PropTable } from './PropTable';
|
|
9
|
-
import { ValidationDetails } from './ValidationDetails';
|
|
10
|
-
import { Property } from './Property';
|
|
11
|
-
import { CommandType } from '../../GuiEnums';
|
|
12
|
-
import { NUM_TYPE } from '../data/NUM_TYPE';
|
|
13
|
-
import { DcValues } from '../data/DcValues';
|
|
14
|
-
import { ObjectReference } from '../../util/ObjectReference';
|
|
15
|
-
import { GuiControlPropertyAdapter } from './GuiControlPropertyAdapter';
|
|
16
|
-
export declare abstract class MgControlBase extends GuiControlPropertyAdapter implements PropParentInterface {
|
|
17
|
-
_ditIdx: number;
|
|
18
|
-
private _linkedControls;
|
|
19
|
-
_field: GuiFieldBase;
|
|
20
|
-
private _picStr;
|
|
21
|
-
_choiceDisps: List<string[]>;
|
|
22
|
-
_choiceLayerList: List<string[]>;
|
|
23
|
-
_choiceLinks: List<string[]>;
|
|
24
|
-
_choiceNums: List<NUM_TYPE[]>;
|
|
25
|
-
private _containerDitIdx;
|
|
26
|
-
_currReadOnly: List<boolean>;
|
|
27
|
-
private _dataCtrl;
|
|
28
|
-
_dcTableRefs: List<number>;
|
|
29
|
-
private _firstRefreshProperties;
|
|
30
|
-
private _form;
|
|
31
|
-
private _hasValidItmAndDispVal;
|
|
32
|
-
private _controlIsn;
|
|
33
|
-
private _linkedParentDitIdx;
|
|
34
|
-
_orgChoiceDisps: List<string[]>;
|
|
35
|
-
_parentTable: MgControlBase;
|
|
36
|
-
_pic: PIC;
|
|
37
|
-
private _picExpExists;
|
|
38
|
-
_prevIsNulls: List<boolean>;
|
|
39
|
-
private _prevPicExpResult;
|
|
40
|
-
_prevValues: List<string>;
|
|
41
|
-
_propTab: PropTable;
|
|
42
|
-
private _range;
|
|
43
|
-
private _rangeChanged;
|
|
44
|
-
_valExpId: number;
|
|
45
|
-
private _vd;
|
|
46
|
-
private _dcValId;
|
|
47
|
-
parent: number;
|
|
48
|
-
veeIndx: number;
|
|
49
|
-
SourceTableReference: ObjectReference;
|
|
50
|
-
ClipBoardDataExists: boolean;
|
|
51
|
-
DataType: StorageAttribute;
|
|
52
|
-
KeyStrokeOn: boolean;
|
|
53
|
-
ModifiedByUser: boolean;
|
|
54
|
-
Value: any;
|
|
55
|
-
IsNull: boolean;
|
|
56
|
-
forceRefresh: boolean;
|
|
57
|
-
private _isModal;
|
|
58
|
-
protected set Form(value: MgFormBase);
|
|
59
|
-
protected get Form(): MgFormBase;
|
|
60
|
-
get ControlIsn(): number;
|
|
61
|
-
RefreshOnVisible: boolean;
|
|
62
|
-
InControl: boolean;
|
|
63
|
-
ValidateControl: boolean;
|
|
64
|
-
PromptHelp: string;
|
|
65
|
-
constructor();
|
|
66
|
-
constructor(type: MgControlType, parentMgForm: MgFormBase, parentControl: number);
|
|
67
|
-
private constructor_0;
|
|
68
|
-
private constructor_1;
|
|
69
|
-
get UniqueName(): string;
|
|
70
|
-
get TaskTag(): string;
|
|
71
|
-
checkIfExistProp(propId: number): boolean;
|
|
72
|
-
getProp(propId: number): Property;
|
|
73
|
-
getForm(): MgFormBase;
|
|
74
|
-
getCompIdx(): number;
|
|
75
|
-
IsFirstRefreshOfProps(): boolean;
|
|
76
|
-
EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
|
|
77
|
-
GetExpressionStorage(expId: number): StorageAttribute;
|
|
78
|
-
GetComputedProperty(propId: number): Property;
|
|
79
|
-
private initReferences;
|
|
80
|
-
createArrays(forceCreateArrays: boolean): void;
|
|
81
|
-
SetFocus(ctrl: MgControlBase, line: number, activateForm: boolean): Promise<void>;
|
|
82
|
-
InsertArrays(idx: number, count: number): void;
|
|
83
|
-
updateArrays(newSize: number): void;
|
|
84
|
-
updatePrevValArrays(newSize: number): void;
|
|
85
|
-
fillData(mgForm: MgFormBase, ditIdx: number, parser: XmlParser): void;
|
|
86
|
-
initInnerObjects(foundTagName: string, parser: XmlParser): boolean;
|
|
87
|
-
private ParseSourceTable;
|
|
88
|
-
private parseAttributes;
|
|
89
|
-
SetAttribute(attribute: string, valueStr: string): boolean;
|
|
90
|
-
setImage(): void;
|
|
91
|
-
setImageWithFileName(fileName: string): void;
|
|
92
|
-
private setContainer;
|
|
93
|
-
getName(): string;
|
|
94
|
-
getLinkedControls(): List<MgControlBase>;
|
|
95
|
-
isRepeatable(): boolean;
|
|
96
|
-
IsModal(): boolean;
|
|
97
|
-
getDisplayLine(useLineForItems: boolean): number;
|
|
98
|
-
isVisible(): boolean;
|
|
99
|
-
isEnabled(): boolean;
|
|
100
|
-
isModifiable(): boolean;
|
|
101
|
-
isOnDemandSelectionList(): boolean;
|
|
102
|
-
getDcVals(): DcValues;
|
|
103
|
-
getPrevIsNull(): boolean;
|
|
104
|
-
setPrevIsNull(newValue: boolean): void;
|
|
105
|
-
setPIC(picStr: string): void;
|
|
106
|
-
getPIC(): PIC;
|
|
107
|
-
getParent(): any;
|
|
108
|
-
getField(): GuiFieldBase;
|
|
109
|
-
setField(fieldOrFieldStrID: any): void;
|
|
110
|
-
private setField_0;
|
|
111
|
-
private setField_1;
|
|
112
|
-
setPicStr(format: string, expId: number): void;
|
|
113
|
-
setRange(newRange: string): void;
|
|
114
|
-
setValExp(expId: number): void;
|
|
115
|
-
buildCopyPicture(oldVal: string, newVal: string): ValidationDetails;
|
|
116
|
-
private getCopyOfVD;
|
|
117
|
-
getRanges(): string;
|
|
118
|
-
getRangedValue(newVal: any): string;
|
|
119
|
-
validate(newVal: any): string;
|
|
120
|
-
private getFieldByValueStr;
|
|
121
|
-
hasContainer(): boolean;
|
|
122
|
-
getLayer(): number;
|
|
123
|
-
computePIC(picExpResult: string): PIC;
|
|
124
|
-
getCurrentIndexOfChoice(): number[];
|
|
125
|
-
IsDateTimePicture(): boolean;
|
|
126
|
-
SupportsDataSource(): boolean;
|
|
127
|
-
HasAutocomplete(): boolean;
|
|
128
|
-
getIndexOfChoice(mgVal: string, line: number, isNull: boolean): Promise<number[]>;
|
|
129
|
-
getDispVals(line: number, execComputeChoice: boolean): Promise<string[]>;
|
|
130
|
-
private emptyChoice;
|
|
131
|
-
private computeChoice;
|
|
132
|
-
getTopMostForm(): MgFormBase;
|
|
133
|
-
private setUrl;
|
|
134
|
-
getMgValue(dispVal: any): Promise<string>;
|
|
135
|
-
getLinkValue(selectedIndice: string, line: number): Promise<string>;
|
|
136
|
-
private setText;
|
|
137
|
-
private setRadioChecked;
|
|
138
|
-
setControlToFocus(): void;
|
|
139
|
-
private setCheckBoxValue;
|
|
140
|
-
setAsThreeState(): void;
|
|
141
|
-
isThreeStateCheckBox(): boolean;
|
|
142
|
-
private refreshAndSetItemListByDataSource;
|
|
143
|
-
setDcRef(dcId: number): void;
|
|
144
|
-
setImageList(url: string): void;
|
|
145
|
-
updatePropertyLogicNesting(propId: number, commandType: CommandType, val: boolean, updateThis: boolean): Promise<void>;
|
|
146
|
-
SetEnabled(val: boolean): void;
|
|
147
|
-
updateChildrenPropValue(propId: number, commandType: CommandType, val: boolean): Promise<void>;
|
|
148
|
-
isDescendentOfControl(control: GuiMgControl): boolean;
|
|
149
|
-
updateSubformChildrenPropValue(propId: number, commandType: CommandType, val: boolean): void;
|
|
150
|
-
isChildOnCurrentLayer(child: MgControlBase): boolean;
|
|
151
|
-
getCurrentLinkIdx(): number;
|
|
152
|
-
getLayerFromLinkIdx(indice: number[]): number[];
|
|
153
|
-
private getLinkIdxFromLayer;
|
|
154
|
-
isParentPropValue(propId: number): boolean;
|
|
155
|
-
getLinkedParent(checkSubformFather: boolean): GuiControlPropertyAdapter;
|
|
156
|
-
SetCurrReadOnly(newVal: boolean): void;
|
|
157
|
-
GetCurrReadOnly(): boolean;
|
|
158
|
-
isDataCtrl(): boolean;
|
|
159
|
-
getDcRef(): number;
|
|
160
|
-
private getDcLineNum;
|
|
161
|
-
private optionIsValid;
|
|
162
|
-
private getOrderedDispList;
|
|
163
|
-
resetPrevVal(): void;
|
|
164
|
-
setPrevIsNull_ToNull(): void;
|
|
165
|
-
expressionSetAsData(): boolean;
|
|
166
|
-
clearRange(line: number): void;
|
|
167
|
-
haveToCheckParentValue(): boolean;
|
|
168
|
-
isContainedInLinkedParent(): boolean;
|
|
169
|
-
private static combineStringArrays;
|
|
170
|
-
GetComputedBooleanProperty(propId: number, defaultRetVal: boolean, line?: number): boolean;
|
|
171
|
-
private GetComputedBooleanProperty_0;
|
|
172
|
-
private GetComputedBooleanProperty_1;
|
|
173
|
-
checkPropWithLine(propId: number, defaultRetVal: boolean, line: number): Promise<boolean>;
|
|
174
|
-
checkProp(propId: number, defaultRetVal: boolean): Promise<boolean>;
|
|
175
|
-
isPropertyRepeatable(propId: number): boolean;
|
|
176
|
-
SetAndRefreshDisplayValue(mgVal: string, isNull: boolean): Promise<void>;
|
|
177
|
-
UpdateModifiedByUser(newValue: string): void;
|
|
178
|
-
private rtrimValue;
|
|
179
|
-
private getMinimumValueLength;
|
|
180
|
-
isNullValue(str: string): boolean;
|
|
181
|
-
CanGetNullFromControlValue(): boolean;
|
|
182
|
-
isChoiceNull(idx: number): boolean;
|
|
183
|
-
ComputeAndRefreshDisplayValue(forceRefresh: boolean): Promise<void>;
|
|
184
|
-
ShouldRefreshOnControlEnter(): boolean;
|
|
185
|
-
RefreshDisplayValue(mgVal: string): Promise<void>;
|
|
186
|
-
RefreshDisplay(onlyRepeatableProps?: boolean): Promise<void>;
|
|
187
|
-
private RefreshDisplay_1;
|
|
188
|
-
ShouldComputeAndRefreshOnClosedForm(): boolean;
|
|
189
|
-
refreshProperties(onlyRepeatableProps: boolean): Promise<void>;
|
|
190
|
-
refreshTabForLayerList(line: number): Promise<void>;
|
|
191
|
-
refreshAndSetItemsList(line: number, execComputeChoice: boolean): Promise<void>;
|
|
192
|
-
refreshDispRange(execComputeChoice: boolean): Promise<string[]>;
|
|
193
|
-
refreshItmRange(execComputeChoice: boolean): Promise<string[]>;
|
|
194
|
-
GetItemsRange(): Promise<string[]>;
|
|
195
|
-
GetDisplayRange(): Promise<string[]>;
|
|
196
|
-
private createDefaultProps;
|
|
197
|
-
private setLinkedParentIdx;
|
|
198
|
-
buildPicture(oldVal: any, val: any): ValidationDetails;
|
|
199
|
-
isDifferentValue(newValue: any, isNull: boolean, checkNullValue: boolean): boolean;
|
|
200
|
-
CompareDate(d1: Date, d2: Date): boolean;
|
|
201
|
-
CompareTime(d1: Date, d2: Date): boolean;
|
|
202
|
-
isColumnSortable(): boolean;
|
|
203
|
-
getColumnChildControl(): MgControlBase;
|
|
204
|
-
getControlNameForHandlerSearch(): string;
|
|
205
|
-
linkCtrl(ctrl: MgControlBase): void;
|
|
206
|
-
removeRefFromField(): void;
|
|
207
|
-
getDitIdx(): number;
|
|
208
|
-
setDcValId(dcValId: number): void;
|
|
209
|
-
SetKeyboardLanguage(): void;
|
|
210
|
-
Init(): void;
|
|
211
|
-
IsParkable(): Promise<boolean>;
|
|
212
|
-
HasExpOrParentTaskField(): boolean;
|
|
213
|
-
isParkable(checkEnabledAndVisible: boolean): Promise<boolean>;
|
|
214
|
-
RaiseControlHitOnLeftClickOfMouseDown(): boolean;
|
|
215
|
-
GetVarIndex(): number;
|
|
216
|
-
RaiseControlHitOnMouseDown(leftClickWasPressed: boolean): boolean;
|
|
217
|
-
OnSubformClick(): void;
|
|
218
|
-
GetSubformMgForm(): MgFormBase;
|
|
219
|
-
PropertyExists(id: number): boolean;
|
|
220
|
-
toString(): string;
|
|
221
|
-
isDateZero(val: Date): boolean;
|
|
222
|
-
IsDefaultRouterOutlet(): boolean;
|
|
223
|
-
IsRouterOutlet(): boolean;
|
|
224
|
-
ZoomButtonInitialization(): Promise<void>;
|
|
225
|
-
}
|
|
@@ -1,160 +0,0 @@
|
|
|
1
|
-
import { PropParentInterface } from '../../gui/PropParentInterface';
|
|
2
|
-
import { MgControlType, StorageAttribute, WindowType } from '@magic-xpa/utils';
|
|
3
|
-
import { IHashCode, List, RefParam } from '@magic-xpa/mscorelib';
|
|
4
|
-
import { MgControlBase } from './MgControlBase';
|
|
5
|
-
import { PropTable } from './PropTable';
|
|
6
|
-
import { GuiTaskBase } from '../tasks/GuiTaskBase';
|
|
7
|
-
import { ControlTable } from './ControlTable';
|
|
8
|
-
import { Property } from './Property';
|
|
9
|
-
import { GuiFormPropertyAdapter } from './GuiFormPropertyAdapter';
|
|
10
|
-
import { GuiControlPropertyAdapter } from './GuiControlPropertyAdapter';
|
|
11
|
-
export declare abstract class MgFormBase extends GuiFormPropertyAdapter implements PropParentInterface, IHashCode {
|
|
12
|
-
InInitForm: boolean;
|
|
13
|
-
CtrlTab: ControlTable;
|
|
14
|
-
FormRefreshed: boolean;
|
|
15
|
-
RefreshRepeatableAllowed: boolean;
|
|
16
|
-
Rows: List<Row>;
|
|
17
|
-
ModalFormsCount: number;
|
|
18
|
-
ErrorOccured: boolean;
|
|
19
|
-
FormIsn: number;
|
|
20
|
-
Name: string;
|
|
21
|
-
Opened: boolean;
|
|
22
|
-
isLegalForm: boolean;
|
|
23
|
-
PBImagesNumber: number;
|
|
24
|
-
ignoreFirstRefreshTable: boolean;
|
|
25
|
-
ParentForm: MgFormBase;
|
|
26
|
-
protected _destTblRow: number;
|
|
27
|
-
protected _firstTableTabOrder: number;
|
|
28
|
-
protected _inRefreshDisp: boolean;
|
|
29
|
-
protected _inRestore: boolean;
|
|
30
|
-
protected _lastRowSent: number;
|
|
31
|
-
protected _prevGuiTopIndex: number;
|
|
32
|
-
protected _propTab: PropTable;
|
|
33
|
-
protected _rowsInPage: number;
|
|
34
|
-
protected _maxRowsInPaginatedTable: number;
|
|
35
|
-
protected _subFormCtrl: MgControlBase;
|
|
36
|
-
protected _tableMgControl: MgControlBase;
|
|
37
|
-
protected _tableItemsCount: number;
|
|
38
|
-
protected _tableRefreshed: boolean;
|
|
39
|
-
protected _task: GuiTaskBase;
|
|
40
|
-
protected _topIndexUpdated: boolean;
|
|
41
|
-
protected _transferingData: boolean;
|
|
42
|
-
private _allowedSubformRecompute;
|
|
43
|
-
private _concreteWindowType;
|
|
44
|
-
private _containerCtrl;
|
|
45
|
-
private _firstRefreshOfProps;
|
|
46
|
-
private _prevSelIndex;
|
|
47
|
-
private _shouldCreateToolbar;
|
|
48
|
-
private _tableChildren;
|
|
49
|
-
private _tableColumns;
|
|
50
|
-
protected _userStateId: string;
|
|
51
|
-
private displayLine;
|
|
52
|
-
constructor();
|
|
53
|
-
get DisplayLine(): number;
|
|
54
|
-
set DisplayLine(value: number);
|
|
55
|
-
get UniqueName(): string;
|
|
56
|
-
get TaskTag(): string;
|
|
57
|
-
get TableChildren(): List<MgControlBase>;
|
|
58
|
-
set TableChildren(value: List<MgControlBase>);
|
|
59
|
-
get ShouldCreateToolbar(): boolean;
|
|
60
|
-
get AllowedSubformRecompute(): boolean;
|
|
61
|
-
set AllowedSubformRecompute(value: boolean);
|
|
62
|
-
get ConcreteWindowType(): WindowType;
|
|
63
|
-
set ConcreteWindowType(value: WindowType);
|
|
64
|
-
static ShouldPutActOnFormClose(): boolean;
|
|
65
|
-
protected static ShouldBehaveAsModal(): boolean;
|
|
66
|
-
private static ConvertArrayListToString;
|
|
67
|
-
UpdateModalFormsCount(mgFormBase: MgFormBase, increase: boolean): void;
|
|
68
|
-
EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
|
|
69
|
-
GetExpressionStorage(expId: number): StorageAttribute;
|
|
70
|
-
checkIfExistProp(propId: number): boolean;
|
|
71
|
-
getProp(propId: number): Property;
|
|
72
|
-
GetComputedProperty(propId: number): Property;
|
|
73
|
-
PropertyHasExpression(propId: number): boolean;
|
|
74
|
-
getCompIdx(): number;
|
|
75
|
-
IsFirstRefreshOfProps(): boolean;
|
|
76
|
-
getForm(): MgFormBase;
|
|
77
|
-
fillData(taskRef: GuiTaskBase): void;
|
|
78
|
-
init(): Promise<void>;
|
|
79
|
-
fillName(formTag: string): void;
|
|
80
|
-
abstract buildFormName(): string;
|
|
81
|
-
createForm(): Promise<void>;
|
|
82
|
-
CallJS(methodName: string, args: Array<any>): Promise<string>;
|
|
83
|
-
isAutomaticTabbingOrder(): boolean;
|
|
84
|
-
isRefreshRepeatableAllowed(): boolean;
|
|
85
|
-
isScreenMode(): boolean;
|
|
86
|
-
isLineMode(): boolean;
|
|
87
|
-
hasTable(): boolean;
|
|
88
|
-
isDialog(): boolean;
|
|
89
|
-
isSubForm(): boolean;
|
|
90
|
-
HasTable(): boolean;
|
|
91
|
-
getTopMostForm(): MgFormBase;
|
|
92
|
-
getTopMostFrameForm(): MgFormBase;
|
|
93
|
-
getSubFormCtrl(): GuiControlPropertyAdapter;
|
|
94
|
-
getCtrl(ctrlIdx: number): MgControlBase;
|
|
95
|
-
GetCtrl(ctrlName: string): MgControlBase;
|
|
96
|
-
private defaultRouterOutlet;
|
|
97
|
-
get DefaultRouterOutlet(): MgControlBase;
|
|
98
|
-
GetChoiceControlItemList(mgControl: MgControlBase): Promise<string>;
|
|
99
|
-
GetChoiceControlDisplayList(mgControl: MgControlBase): Promise<string>;
|
|
100
|
-
getControlColumn(ctrl: MgControlBase): MgControlBase;
|
|
101
|
-
getContainerCtrl(): MgControlBase;
|
|
102
|
-
getColumnControls(): List<MgControlBase>;
|
|
103
|
-
getTask(): GuiTaskBase;
|
|
104
|
-
getTableCtrl(): MgControlBase;
|
|
105
|
-
getMainControl(): MgControlBase;
|
|
106
|
-
getCtrlByName(ctrlName: string, ctrlType: MgControlType): MgControlBase;
|
|
107
|
-
checkAndCreateRow(idx: number): void;
|
|
108
|
-
IsValidRow(idx: number): boolean;
|
|
109
|
-
refreshProps(): Promise<void>;
|
|
110
|
-
refreshControls(repeatableOnly: boolean): Promise<void>;
|
|
111
|
-
markRowNOTCreated(idx: number): void;
|
|
112
|
-
SelectRow(): void;
|
|
113
|
-
getRowsInPage(): number;
|
|
114
|
-
getMaxRowsInPaginatedTable(): number;
|
|
115
|
-
setRowsInPage(size: number): void;
|
|
116
|
-
getColumnsCount(): number;
|
|
117
|
-
inRefreshDisplay(): boolean;
|
|
118
|
-
setTitle(newTitle: string): void;
|
|
119
|
-
getControlIdx(ctrl: MgControlBase): number;
|
|
120
|
-
getTopIndexFromGUI(): number;
|
|
121
|
-
getTableItemsCount(): number;
|
|
122
|
-
removeRefsToCtrls(): void;
|
|
123
|
-
buildTableChildren(): void;
|
|
124
|
-
setTableCtrl(tableCtrl: MgControlBase): void;
|
|
125
|
-
getCtrlCount(): number;
|
|
126
|
-
GetControlsCountExcludingStatusBar(): number;
|
|
127
|
-
refreshPropsOnExpression(): Promise<void>;
|
|
128
|
-
getTabControl(ctrl: MgControlBase): MgControlBase;
|
|
129
|
-
IsInputType(ctrl: MgControlBase): boolean;
|
|
130
|
-
GetListOfInputControls(): any;
|
|
131
|
-
abstract ConstructMgControl(): MgControlBase;
|
|
132
|
-
firstTableRefresh(): void;
|
|
133
|
-
SetTableItemsCount(dvsize: number, removeAll: boolean): void;
|
|
134
|
-
SetTableItemsCount(dvsize: number, tableItemsCount: number, removeAll: boolean): void;
|
|
135
|
-
private SetTableItemsCount_0;
|
|
136
|
-
private SetTableItemsCount_1;
|
|
137
|
-
InitTableControl(): void;
|
|
138
|
-
InitTableControl(dvSize: number, tableItemsCount: number, removeAll: boolean): void;
|
|
139
|
-
UpdateTableChildrenArraysSize(size: number): void;
|
|
140
|
-
toString(): string;
|
|
141
|
-
IncludeControlInTabbingOrder(control: MgControlBase): boolean;
|
|
142
|
-
GetHashCode(): number;
|
|
143
|
-
protected initInnerObjects(foundTagName: string): boolean;
|
|
144
|
-
isRowCreated(idx: number): boolean;
|
|
145
|
-
private buildLinkedControlsLists;
|
|
146
|
-
private buildTableColumnsList;
|
|
147
|
-
private createRow;
|
|
148
|
-
private SelectRowByIdx;
|
|
149
|
-
private InitTableControl_0;
|
|
150
|
-
private InitTableControl_1;
|
|
151
|
-
InsertTableChildrenArrays(idx: number, count: number): void;
|
|
152
|
-
}
|
|
153
|
-
export declare class Row {
|
|
154
|
-
Created: boolean;
|
|
155
|
-
Validated: boolean;
|
|
156
|
-
constructor();
|
|
157
|
-
constructor(created: boolean, validated: boolean);
|
|
158
|
-
private constructor_0;
|
|
159
|
-
private constructor_1;
|
|
160
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
import { StorageAttribute } from '@magic-xpa/utils';
|
|
2
|
-
export declare class PIC {
|
|
3
|
-
private _mskLen;
|
|
4
|
-
private _negPref;
|
|
5
|
-
private _negSuff;
|
|
6
|
-
private _picAttr;
|
|
7
|
-
private _posPref;
|
|
8
|
-
private _posSuff;
|
|
9
|
-
private _autoSkip_;
|
|
10
|
-
private _padFill;
|
|
11
|
-
private _zeroFill;
|
|
12
|
-
private _comma;
|
|
13
|
-
private _decimalDigits;
|
|
14
|
-
private _decPointIsFirst;
|
|
15
|
-
private _decimal;
|
|
16
|
-
private _embeded;
|
|
17
|
-
private _formatIdx;
|
|
18
|
-
private _format;
|
|
19
|
-
private hebrew;
|
|
20
|
-
private _imeMode;
|
|
21
|
-
private _left;
|
|
22
|
-
private _maskLength;
|
|
23
|
-
private _maskChars;
|
|
24
|
-
private _maskSize;
|
|
25
|
-
private _mixed;
|
|
26
|
-
private _formatExp;
|
|
27
|
-
private _msk;
|
|
28
|
-
private _needLength;
|
|
29
|
-
private _negative;
|
|
30
|
-
private _pad;
|
|
31
|
-
private _prefLen;
|
|
32
|
-
private _size;
|
|
33
|
-
private _suffLen;
|
|
34
|
-
private _termFlag;
|
|
35
|
-
private _trim;
|
|
36
|
-
private _whole;
|
|
37
|
-
private _zero;
|
|
38
|
-
constructor(picStr: string, attr: StorageAttribute, compIdx: number);
|
|
39
|
-
isHebrew(): boolean;
|
|
40
|
-
isMixed(): boolean;
|
|
41
|
-
embededChars(): boolean;
|
|
42
|
-
isNegative(): boolean;
|
|
43
|
-
withComa(): boolean;
|
|
44
|
-
isLeft(): boolean;
|
|
45
|
-
padFill(): boolean;
|
|
46
|
-
getPad(): string;
|
|
47
|
-
zeroFill(): boolean;
|
|
48
|
-
getZeroPad(): string;
|
|
49
|
-
isTrimed(): boolean;
|
|
50
|
-
autoSkip(): boolean;
|
|
51
|
-
withDecimal(): boolean;
|
|
52
|
-
withTerm(): boolean;
|
|
53
|
-
getMaskChars(): number;
|
|
54
|
-
getWholes(): number;
|
|
55
|
-
getDec(): number;
|
|
56
|
-
getSize(): number;
|
|
57
|
-
getMaskSize(): number;
|
|
58
|
-
getMaskLength(): number;
|
|
59
|
-
decInFirstPos(): boolean;
|
|
60
|
-
setFormatExp(val: boolean): void;
|
|
61
|
-
isFormatExp(): boolean;
|
|
62
|
-
getPosPref_(): string;
|
|
63
|
-
getPosSuff_(): string;
|
|
64
|
-
getNegPref_(): string;
|
|
65
|
-
getNegSuff_(): string;
|
|
66
|
-
getMask(): string;
|
|
67
|
-
getFormat(): string;
|
|
68
|
-
getAttr(): StorageAttribute;
|
|
69
|
-
setAttr(set: StorageAttribute): void;
|
|
70
|
-
getImeMode(): number;
|
|
71
|
-
private prs_all;
|
|
72
|
-
private alpha_prs;
|
|
73
|
-
private num_prs;
|
|
74
|
-
getUnformattedNumericPic(): PIC;
|
|
75
|
-
private date_prs;
|
|
76
|
-
private time_prs;
|
|
77
|
-
static buildPicture(type: StorageAttribute, val: string, compIdx: number, useDecimal: boolean): PIC;
|
|
78
|
-
setHebrew(): void;
|
|
79
|
-
protected static getDefaultDateMask(dataMode: string): string;
|
|
80
|
-
private bool_prs;
|
|
81
|
-
private pik_sign;
|
|
82
|
-
private pik_count;
|
|
83
|
-
private pik_drv_fill;
|
|
84
|
-
private pik_mask;
|
|
85
|
-
private pik_dup;
|
|
86
|
-
private pic_kanji;
|
|
87
|
-
private getMaskLen;
|
|
88
|
-
picIsMask(pos: number): boolean;
|
|
89
|
-
getDirectiveLen(pos: number): number;
|
|
90
|
-
getDirectiveLen(mskPos: number, bufPos: number, buf: string): number;
|
|
91
|
-
private getDirectiveLen_0;
|
|
92
|
-
private getDirectiveLen_1;
|
|
93
|
-
validateChar(charToValidate: string, pos: number): string;
|
|
94
|
-
isValidInNum(letter: string): string;
|
|
95
|
-
isAttrLogical(): boolean;
|
|
96
|
-
isAttrNumeric(): boolean;
|
|
97
|
-
isAttrAlpha(): boolean;
|
|
98
|
-
isAttrUnicode(): boolean;
|
|
99
|
-
isAttrAlphaOrDate(): boolean;
|
|
100
|
-
isAttrDateOrTime(): boolean;
|
|
101
|
-
isAttrBlob(): boolean;
|
|
102
|
-
isNumeric(pos: number): boolean;
|
|
103
|
-
isAllX(): boolean;
|
|
104
|
-
isMaskPicEq(pos: number, maskPic: number): boolean;
|
|
105
|
-
isValidChar_as400(charToValidate: string, firstChar: string, pos: number): boolean;
|
|
106
|
-
getMinimumValueLength(): number;
|
|
107
|
-
toString(): string;
|
|
108
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PropParentInterface } from "../../gui/PropParentInterface";
|
|
2
|
-
export declare class PropDefaults {
|
|
3
|
-
private static getNumericMgValue;
|
|
4
|
-
private static getDefaultValueForTask;
|
|
5
|
-
static getDefaultValue(propId: number, parentType: string, propParent: PropParentInterface): string;
|
|
6
|
-
static GetPropertyName(propTypeId: number): string;
|
|
7
|
-
}
|