@magic-xpa/gui 4.1100.0-dev4110.99 → 4.1100.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/README.md +7 -7
- package/{esm2020 → esm2022}/index.mjs +71 -71
- package/{esm2020 → esm2022}/magic-xpa-gui.mjs +1 -1
- package/esm2022/src/Commands.mjs +184 -0
- package/esm2022/src/Events.mjs +425 -0
- package/{esm2020 → esm2022}/src/EventsProcessor.mjs +66 -66
- package/{esm2020 → esm2022}/src/FocusManager.mjs +33 -33
- package/esm2022/src/GuiConstants.mjs +68 -0
- package/{esm2020 → esm2022}/src/GuiEnums.mjs +301 -300
- package/esm2022/src/GuiEnvironment.mjs +4 -0
- package/{esm2020 → esm2022}/src/IFlowMonitorQueue.mjs +1 -1
- package/esm2022/src/Manager.mjs +91 -0
- package/esm2022/src/UIBridge.mjs +33 -0
- package/{esm2020 → esm2022}/src/env/IEnvironment.mjs +1 -1
- package/{esm2020 → esm2022}/src/gui/ControlBase.mjs +2 -2
- package/esm2022/src/gui/GuiMgControl.mjs +123 -0
- package/{esm2020 → esm2022}/src/gui/GuiMgForm.mjs +3 -3
- package/esm2022/src/gui/KeyboardItem.mjs +135 -0
- package/esm2022/src/gui/LastFocusedVal.mjs +11 -0
- package/esm2022/src/gui/MgValue.mjs +16 -0
- package/{esm2020 → esm2022}/src/gui/PropParentInterface.mjs +1 -1
- package/{esm2020 → esm2022}/src/gui/low/DialogHandler.mjs +6 -6
- package/esm2022/src/gui/low/GuiCommand.mjs +68 -0
- package/esm2022/src/gui/low/GuiCommandQueue.mjs +35 -0
- package/esm2022/src/gui/low/GuiInteractive.mjs +178 -0
- package/esm2022/src/gui/low/Style.mjs +20 -0
- package/esm2022/src/management/RuntimeContextBase.mjs +42 -0
- package/esm2022/src/management/data/BlobType.mjs +281 -0
- package/esm2022/src/management/data/DcValues.mjs +214 -0
- package/{esm2020 → esm2022}/src/management/data/DcValuesBuilderBase.mjs +95 -95
- package/esm2022/src/management/data/FieldDef.mjs +331 -0
- package/{esm2020 → esm2022}/src/management/data/FieldsTable.mjs +54 -54
- package/esm2022/src/management/data/GuiDataViewBase.mjs +88 -0
- package/esm2022/src/management/data/GuiFieldBase.mjs +82 -0
- package/{esm2020 → esm2022}/src/management/data/IRecord.mjs +1 -1
- package/{esm2020 → esm2022}/src/management/data/IReferencedObject.mjs +1 -1
- package/esm2022/src/management/data/NUM_TYPE.mjs +1739 -0
- package/esm2022/src/management/data/ObjectReferenceBase.mjs +48 -0
- package/esm2022/src/management/data/ObjectReferencesCollection.mjs +27 -0
- package/{esm2020 → esm2022}/src/management/data/RecordUtils.mjs +360 -360
- package/esm2022/src/management/data/VectorType.mjs +612 -0
- package/esm2022/src/management/data/VectorTypeBase.mjs +88 -0
- package/{esm2020 → esm2022}/src/management/events/IActionManager.mjs +1 -1
- package/{esm2020 → esm2022}/src/management/events/IGuiEventsManager.mjs +1 -1
- package/esm2022/src/management/exp/ExpressionInterface.mjs +244 -0
- package/esm2022/src/management/exp/GuiExpressionEvaluator.mjs +305 -0
- package/esm2022/src/management/gui/ControlTable.mjs +118 -0
- package/esm2022/src/management/gui/DisplayConvertor.mjs +1649 -0
- package/esm2022/src/management/gui/FieldValidator.mjs +711 -0
- package/esm2022/src/management/gui/GuiControlPropertyAdapter.mjs +24 -0
- package/{esm2020 → esm2022}/src/management/gui/GuiFormPropertyAdapter.mjs +10 -10
- package/esm2022/src/management/gui/HebrewDate.mjs +278 -0
- package/esm2022/src/management/gui/Helps.mjs +237 -0
- package/esm2022/src/management/gui/MgControlBase.mjs +1869 -0
- package/esm2022/src/management/gui/MgFormBase.mjs +741 -0
- package/esm2022/src/management/gui/PIC.mjs +1185 -0
- package/{esm2020 → esm2022}/src/management/gui/PropDefaults.mjs +229 -229
- package/{esm2020 → esm2022}/src/management/gui/PropInterface.mjs +246 -245
- package/esm2022/src/management/gui/PropTable.mjs +221 -0
- package/esm2022/src/management/gui/Property.mjs +1362 -0
- package/esm2022/src/management/gui/ValidationDetails.mjs +248 -0
- package/{esm2020 → esm2022}/src/management/gui/ValidationDetailsBase.mjs +93 -93
- package/{esm2020 → esm2022}/src/management/gui/WrongFormatException.mjs +29 -29
- package/esm2022/src/management/tasks/GuiDataCollection.mjs +4 -0
- package/esm2022/src/management/tasks/GuiTaskBase.mjs +511 -0
- package/{esm2020 → esm2022}/src/management/tasks/IMGDataTable.mjs +1 -1
- package/{esm2020 → esm2022}/src/management/tasks/ITask.mjs +1 -1
- package/esm2022/src/management/tasks/MgTimer.mjs +21 -0
- package/esm2022/src/management/tasks/TaskDefinitionId.mjs +54 -0
- package/{esm2020 → esm2022}/src/management/tasks/TaskDefinitionIdTableSaxHandler.mjs +41 -41
- package/{esm2020 → esm2022}/src/util/MemoryUtil.mjs +34 -34
- package/esm2022/src/util/ObjectReference.mjs +36 -0
- package/esm2022/src/util/UsernamePasswordCredentials.mjs +52 -0
- package/{fesm2020 → fesm2022}/magic-xpa-gui.mjs +16086 -16095
- package/fesm2022/magic-xpa-gui.mjs.map +1 -0
- package/index.d.ts +70 -70
- package/package.json +6 -12
- package/src/Commands.d.ts +40 -40
- package/src/Events.d.ts +157 -155
- package/src/EventsProcessor.d.ts +13 -13
- package/src/FocusManager.d.ts +8 -8
- package/src/GuiConstants.d.ts +65 -65
- package/src/GuiEnums.d.ts +283 -282
- package/src/GuiEnvironment.d.ts +4 -4
- package/src/IFlowMonitorQueue.d.ts +3 -3
- package/src/Manager.d.ts +26 -26
- package/src/UIBridge.d.ts +16 -16
- package/src/env/IEnvironment.d.ts +31 -31
- package/src/gui/ControlBase.d.ts +4 -4
- package/src/gui/GuiMgControl.d.ts +38 -38
- package/src/gui/GuiMgForm.d.ts +3 -3
- package/src/gui/KeyboardItem.d.ts +18 -18
- package/src/gui/LastFocusedVal.d.ts +7 -7
- package/src/gui/MgValue.d.ts +15 -15
- package/src/gui/PropParentInterface.d.ts +13 -13
- package/src/gui/low/DialogHandler.d.ts +4 -4
- package/src/gui/low/GuiCommand.d.ts +37 -37
- package/src/gui/low/GuiCommandQueue.d.ts +13 -13
- package/src/gui/low/GuiInteractive.d.ts +55 -55
- package/src/gui/low/Style.d.ts +19 -19
- package/src/management/RuntimeContextBase.d.ts +23 -23
- package/src/management/data/BlobType.d.ts +29 -29
- package/src/management/data/DcValues.d.ts +33 -33
- package/src/management/data/DcValuesBuilderBase.d.ts +17 -17
- package/src/management/data/FieldDef.d.ts +53 -53
- package/src/management/data/FieldsTable.d.ts +16 -16
- package/src/management/data/GuiDataViewBase.d.ts +27 -27
- package/src/management/data/GuiFieldBase.d.ts +17 -17
- package/src/management/data/IRecord.d.ts +12 -12
- package/src/management/data/IReferencedObject.d.ts +5 -5
- package/src/management/data/NUM_TYPE.d.ts +103 -103
- package/src/management/data/ObjectReferenceBase.d.ts +16 -16
- package/src/management/data/ObjectReferencesCollection.d.ts +10 -10
- package/src/management/data/RecordUtils.d.ts +21 -21
- package/src/management/data/VectorType.d.ts +52 -52
- package/src/management/data/VectorTypeBase.d.ts +8 -8
- package/src/management/events/IActionManager.d.ts +7 -7
- package/src/management/events/IGuiEventsManager.d.ts +20 -20
- package/src/management/exp/ExpressionInterface.d.ts +242 -242
- package/src/management/exp/GuiExpressionEvaluator.d.ts +47 -47
- package/src/management/gui/ControlTable.d.ts +28 -28
- package/src/management/gui/DisplayConvertor.d.ts +103 -103
- package/src/management/gui/FieldValidator.d.ts +35 -35
- package/src/management/gui/GuiControlPropertyAdapter.d.ts +40 -40
- package/src/management/gui/GuiFormPropertyAdapter.d.ts +17 -17
- package/src/management/gui/HebrewDate.d.ts +46 -46
- package/src/management/gui/Helps.d.ts +51 -51
- package/src/management/gui/MgControlBase.d.ts +225 -223
- package/src/management/gui/MgFormBase.d.ts +160 -160
- package/src/management/gui/PIC.d.ts +108 -108
- package/src/management/gui/PropDefaults.d.ts +7 -7
- package/src/management/gui/PropInterface.d.ts +244 -243
- package/src/management/gui/PropTable.d.ts +33 -33
- package/src/management/gui/Property.d.ts +121 -121
- package/src/management/gui/ValidationDetails.d.ts +52 -52
- package/src/management/gui/ValidationDetailsBase.d.ts +14 -14
- package/src/management/gui/WrongFormatException.d.ts +9 -9
- package/src/management/tasks/GuiDataCollection.d.ts +4 -4
- package/src/management/tasks/GuiTaskBase.d.ts +150 -150
- package/src/management/tasks/IMGDataTable.d.ts +10 -10
- package/src/management/tasks/ITask.d.ts +6 -6
- package/src/management/tasks/MgTimer.d.ts +8 -8
- package/src/management/tasks/TaskDefinitionId.d.ts +16 -16
- package/src/management/tasks/TaskDefinitionIdTableSaxHandler.d.ts +7 -7
- package/src/util/MemoryUtil.d.ts +6 -6
- package/src/util/ObjectReference.d.ts +9 -9
- package/src/util/UsernamePasswordCredentials.d.ts +18 -18
- package/esm2020/src/Commands.mjs +0 -184
- package/esm2020/src/Events.mjs +0 -420
- package/esm2020/src/GuiConstants.mjs +0 -68
- package/esm2020/src/GuiEnvironment.mjs +0 -4
- package/esm2020/src/Manager.mjs +0 -91
- package/esm2020/src/UIBridge.mjs +0 -32
- package/esm2020/src/gui/GuiMgControl.mjs +0 -125
- package/esm2020/src/gui/KeyboardItem.mjs +0 -135
- package/esm2020/src/gui/LastFocusedVal.mjs +0 -11
- package/esm2020/src/gui/MgValue.mjs +0 -16
- package/esm2020/src/gui/low/GuiCommand.mjs +0 -66
- package/esm2020/src/gui/low/GuiCommandQueue.mjs +0 -35
- package/esm2020/src/gui/low/GuiInteractive.mjs +0 -176
- package/esm2020/src/gui/low/Style.mjs +0 -20
- package/esm2020/src/management/RuntimeContextBase.mjs +0 -43
- package/esm2020/src/management/data/BlobType.mjs +0 -281
- package/esm2020/src/management/data/DcValues.mjs +0 -214
- package/esm2020/src/management/data/FieldDef.mjs +0 -331
- package/esm2020/src/management/data/GuiDataViewBase.mjs +0 -90
- package/esm2020/src/management/data/GuiFieldBase.mjs +0 -82
- package/esm2020/src/management/data/NUM_TYPE.mjs +0 -1741
- package/esm2020/src/management/data/ObjectReferenceBase.mjs +0 -48
- package/esm2020/src/management/data/ObjectReferencesCollection.mjs +0 -29
- package/esm2020/src/management/data/VectorType.mjs +0 -612
- package/esm2020/src/management/data/VectorTypeBase.mjs +0 -88
- package/esm2020/src/management/exp/ExpressionInterface.mjs +0 -244
- package/esm2020/src/management/exp/GuiExpressionEvaluator.mjs +0 -307
- package/esm2020/src/management/gui/ControlTable.mjs +0 -118
- package/esm2020/src/management/gui/DisplayConvertor.mjs +0 -1679
- package/esm2020/src/management/gui/FieldValidator.mjs +0 -711
- package/esm2020/src/management/gui/GuiControlPropertyAdapter.mjs +0 -22
- package/esm2020/src/management/gui/HebrewDate.mjs +0 -278
- package/esm2020/src/management/gui/Helps.mjs +0 -237
- package/esm2020/src/management/gui/MgControlBase.mjs +0 -1858
- package/esm2020/src/management/gui/MgFormBase.mjs +0 -741
- package/esm2020/src/management/gui/PIC.mjs +0 -1185
- package/esm2020/src/management/gui/PropTable.mjs +0 -221
- package/esm2020/src/management/gui/Property.mjs +0 -1356
- package/esm2020/src/management/gui/ValidationDetails.mjs +0 -248
- package/esm2020/src/management/tasks/GuiDataCollection.mjs +0 -4
- package/esm2020/src/management/tasks/GuiTaskBase.mjs +0 -510
- package/esm2020/src/management/tasks/MgTimer.mjs +0 -21
- package/esm2020/src/management/tasks/TaskDefinitionId.mjs +0 -54
- package/esm2020/src/util/ObjectReference.mjs +0 -36
- package/esm2020/src/util/UsernamePasswordCredentials.mjs +0 -52
- package/fesm2015/magic-xpa-gui.mjs +0 -16391
- package/fesm2015/magic-xpa-gui.mjs.map +0 -1
- package/fesm2020/magic-xpa-gui.mjs.map +0 -1
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
import { Encoding } from "@magic-xpa/mscorelib";
|
|
2
|
-
export interface IEnvironment {
|
|
3
|
-
Language: string;
|
|
4
|
-
IgnoreReplaceDecimalSeparator: boolean;
|
|
5
|
-
ForwardSlashUsage: string;
|
|
6
|
-
GetDateMode(compIdx: number): string;
|
|
7
|
-
GetCentury(compIdx: number): number;
|
|
8
|
-
GetDate(): string;
|
|
9
|
-
GetTime(): string;
|
|
10
|
-
GetDecimal(): string;
|
|
11
|
-
CanReplaceDecimalSeparator(): boolean;
|
|
12
|
-
GetThousands(): string;
|
|
13
|
-
GetTooltipTimeout(): number;
|
|
14
|
-
GetGUID(): string;
|
|
15
|
-
GetImeAutoOff(): boolean;
|
|
16
|
-
GetLocalAs400Set(): boolean;
|
|
17
|
-
setDecimalSeparator(value: string): void;
|
|
18
|
-
setThousandsSeparator(value: string): void;
|
|
19
|
-
GetLocalFlag(f: string): boolean;
|
|
20
|
-
GetSignificantNumSize(): number;
|
|
21
|
-
GetDebugLevel(): number;
|
|
22
|
-
GetEncoding(): Encoding;
|
|
23
|
-
GetDropUserFormats(): string;
|
|
24
|
-
GetSpecialLogInternalExceptions(): boolean;
|
|
25
|
-
getContextInactivityTimeout(): number;
|
|
26
|
-
getClientContextInactivityTimeout(): number;
|
|
27
|
-
getContextInactivityWarningTime(): number;
|
|
28
|
-
getIdleTime(compIdx: number): number;
|
|
29
|
-
GetSpecialValNewPolicy(): boolean;
|
|
30
|
-
GetSpecialCancelOnCreate(): boolean;
|
|
31
|
-
}
|
|
1
|
+
import { Encoding } from "@magic-xpa/mscorelib";
|
|
2
|
+
export interface IEnvironment {
|
|
3
|
+
Language: string;
|
|
4
|
+
IgnoreReplaceDecimalSeparator: boolean;
|
|
5
|
+
ForwardSlashUsage: string;
|
|
6
|
+
GetDateMode(compIdx: number): string;
|
|
7
|
+
GetCentury(compIdx: number): number;
|
|
8
|
+
GetDate(): string;
|
|
9
|
+
GetTime(): string;
|
|
10
|
+
GetDecimal(): string;
|
|
11
|
+
CanReplaceDecimalSeparator(): boolean;
|
|
12
|
+
GetThousands(): string;
|
|
13
|
+
GetTooltipTimeout(): number;
|
|
14
|
+
GetGUID(): string;
|
|
15
|
+
GetImeAutoOff(): boolean;
|
|
16
|
+
GetLocalAs400Set(): boolean;
|
|
17
|
+
setDecimalSeparator(value: string): void;
|
|
18
|
+
setThousandsSeparator(value: string): void;
|
|
19
|
+
GetLocalFlag(f: string): boolean;
|
|
20
|
+
GetSignificantNumSize(): number;
|
|
21
|
+
GetDebugLevel(): number;
|
|
22
|
+
GetEncoding(): Encoding;
|
|
23
|
+
GetDropUserFormats(): string;
|
|
24
|
+
GetSpecialLogInternalExceptions(): boolean;
|
|
25
|
+
getContextInactivityTimeout(): number;
|
|
26
|
+
getClientContextInactivityTimeout(): number;
|
|
27
|
+
getContextInactivityWarningTime(): number;
|
|
28
|
+
getIdleTime(compIdx: number): number;
|
|
29
|
+
GetSpecialValNewPolicy(): boolean;
|
|
30
|
+
GetSpecialCancelOnCreate(): boolean;
|
|
31
|
+
}
|
package/src/gui/ControlBase.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare abstract class ControlBase {
|
|
2
|
-
abstract get UniqueName(): string;
|
|
3
|
-
abstract get TaskTag(): string;
|
|
4
|
-
}
|
|
1
|
+
export declare abstract class ControlBase {
|
|
2
|
+
abstract get UniqueName(): string;
|
|
3
|
+
abstract get TaskTag(): string;
|
|
4
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
import { CtrlButtonTypeGui, MgControlType } from "@magic-xpa/utils";
|
|
2
|
-
import { GuiMgForm } from "./GuiMgForm";
|
|
3
|
-
import { ControlBase } from "./ControlBase";
|
|
4
|
-
export declare abstract class GuiMgControl extends ControlBase {
|
|
5
|
-
private _type;
|
|
6
|
-
ConnectedControl: GuiMgControl;
|
|
7
|
-
set Type(value: MgControlType);
|
|
8
|
-
get Type(): MgControlType;
|
|
9
|
-
ButtonStyle: CtrlButtonTypeGui;
|
|
10
|
-
IsRepeatable: boolean;
|
|
11
|
-
get IsTableChild(): boolean;
|
|
12
|
-
get IsTableHeaderChild(): boolean;
|
|
13
|
-
Layer: number;
|
|
14
|
-
Name: string;
|
|
15
|
-
GuiMgForm: GuiMgForm;
|
|
16
|
-
getName(line: number): string;
|
|
17
|
-
abstract getParent(): any;
|
|
18
|
-
abstract get TaskTag(): string;
|
|
19
|
-
get UniqueName(): string;
|
|
20
|
-
isStatic(): boolean;
|
|
21
|
-
isTableControl(): boolean;
|
|
22
|
-
isTabControl(): boolean;
|
|
23
|
-
isTextControl(): boolean;
|
|
24
|
-
isImageControl(): boolean;
|
|
25
|
-
isSubform(): boolean;
|
|
26
|
-
isRadio(): boolean;
|
|
27
|
-
isComboBox(): boolean;
|
|
28
|
-
isListBox(): boolean;
|
|
29
|
-
isButton(): boolean;
|
|
30
|
-
isLabel(): boolean;
|
|
31
|
-
isGroup(): boolean;
|
|
32
|
-
isSelectionCtrl(): boolean;
|
|
33
|
-
isCheckBox(): boolean;
|
|
34
|
-
isColumnControl(): boolean;
|
|
35
|
-
isChoiceControl(): boolean;
|
|
36
|
-
IsImageButton(): boolean;
|
|
37
|
-
IsHyperTextButton(): boolean;
|
|
38
|
-
}
|
|
1
|
+
import { CtrlButtonTypeGui, MgControlType } from "@magic-xpa/utils";
|
|
2
|
+
import { GuiMgForm } from "./GuiMgForm";
|
|
3
|
+
import { ControlBase } from "./ControlBase";
|
|
4
|
+
export declare abstract class GuiMgControl extends ControlBase {
|
|
5
|
+
private _type;
|
|
6
|
+
ConnectedControl: GuiMgControl;
|
|
7
|
+
set Type(value: MgControlType);
|
|
8
|
+
get Type(): MgControlType;
|
|
9
|
+
ButtonStyle: CtrlButtonTypeGui;
|
|
10
|
+
IsRepeatable: boolean;
|
|
11
|
+
get IsTableChild(): boolean;
|
|
12
|
+
get IsTableHeaderChild(): boolean;
|
|
13
|
+
Layer: number;
|
|
14
|
+
Name: string;
|
|
15
|
+
GuiMgForm: GuiMgForm;
|
|
16
|
+
getName(line: number): string;
|
|
17
|
+
abstract getParent(): any;
|
|
18
|
+
abstract get TaskTag(): string;
|
|
19
|
+
get UniqueName(): string;
|
|
20
|
+
isStatic(): boolean;
|
|
21
|
+
isTableControl(): boolean;
|
|
22
|
+
isTabControl(): boolean;
|
|
23
|
+
isTextControl(): boolean;
|
|
24
|
+
isImageControl(): boolean;
|
|
25
|
+
isSubform(): boolean;
|
|
26
|
+
isRadio(): boolean;
|
|
27
|
+
isComboBox(): boolean;
|
|
28
|
+
isListBox(): boolean;
|
|
29
|
+
isButton(): boolean;
|
|
30
|
+
isLabel(): boolean;
|
|
31
|
+
isGroup(): boolean;
|
|
32
|
+
isSelectionCtrl(): boolean;
|
|
33
|
+
isCheckBox(): boolean;
|
|
34
|
+
isColumnControl(): boolean;
|
|
35
|
+
isChoiceControl(): boolean;
|
|
36
|
+
IsImageButton(): boolean;
|
|
37
|
+
IsHyperTextButton(): boolean;
|
|
38
|
+
}
|
package/src/gui/GuiMgForm.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ControlBase } from "./ControlBase";
|
|
2
|
-
export declare abstract class GuiMgForm extends ControlBase {
|
|
3
|
-
}
|
|
1
|
+
import { ControlBase } from "./ControlBase";
|
|
2
|
+
export declare abstract class GuiMgForm extends ControlBase {
|
|
3
|
+
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { Modifiers } from "../GuiEnums";
|
|
2
|
-
export declare class KeyboardItem {
|
|
3
|
-
private _keyCode;
|
|
4
|
-
private _modifier;
|
|
5
|
-
private _states;
|
|
6
|
-
private _actionId;
|
|
7
|
-
constructor(cKeyCode: number, cModifier: Modifiers);
|
|
8
|
-
constructor(actionId_: number, keyCode_: number, modifier_: Modifiers, states_: number);
|
|
9
|
-
private constructor_1;
|
|
10
|
-
private constructor_2;
|
|
11
|
-
getKeyCode(): number;
|
|
12
|
-
getModifier(): Modifiers;
|
|
13
|
-
getStates(): number;
|
|
14
|
-
equals(kbdItm: KeyboardItem): boolean;
|
|
15
|
-
getAction(): number;
|
|
16
|
-
setAction(actionId: number): void;
|
|
17
|
-
ToString(): string;
|
|
18
|
-
}
|
|
1
|
+
import { Modifiers } from "../GuiEnums";
|
|
2
|
+
export declare class KeyboardItem {
|
|
3
|
+
private _keyCode;
|
|
4
|
+
private _modifier;
|
|
5
|
+
private _states;
|
|
6
|
+
private _actionId;
|
|
7
|
+
constructor(cKeyCode: number, cModifier: Modifiers);
|
|
8
|
+
constructor(actionId_: number, keyCode_: number, modifier_: Modifiers, states_: number);
|
|
9
|
+
private constructor_1;
|
|
10
|
+
private constructor_2;
|
|
11
|
+
getKeyCode(): number;
|
|
12
|
+
getModifier(): Modifiers;
|
|
13
|
+
getStates(): number;
|
|
14
|
+
equals(kbdItm: KeyboardItem): boolean;
|
|
15
|
+
getAction(): number;
|
|
16
|
+
setAction(actionId: number): void;
|
|
17
|
+
ToString(): string;
|
|
18
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GuiMgControl } from "./GuiMgControl";
|
|
2
|
-
export declare class LastFocusedVal {
|
|
3
|
-
guiMgControl: GuiMgControl;
|
|
4
|
-
Line: number;
|
|
5
|
-
Val: string;
|
|
6
|
-
constructor(guiMgControl: GuiMgControl, line: number, val: string);
|
|
7
|
-
}
|
|
1
|
+
import { GuiMgControl } from "./GuiMgControl";
|
|
2
|
+
export declare class LastFocusedVal {
|
|
3
|
+
guiMgControl: GuiMgControl;
|
|
4
|
+
Line: number;
|
|
5
|
+
Val: string;
|
|
6
|
+
constructor(guiMgControl: GuiMgControl, line: number, val: string);
|
|
7
|
+
}
|
package/src/gui/MgValue.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { List } from "@magic-xpa/mscorelib";
|
|
2
|
-
export declare class MgValue {
|
|
3
|
-
str: string;
|
|
4
|
-
caption: string;
|
|
5
|
-
title: string;
|
|
6
|
-
path: string;
|
|
7
|
-
filter: string;
|
|
8
|
-
boolVal: boolean;
|
|
9
|
-
bool1: boolean;
|
|
10
|
-
style: number;
|
|
11
|
-
number: number;
|
|
12
|
-
obj: any;
|
|
13
|
-
listOfIntArr: List<number[]>;
|
|
14
|
-
constructor();
|
|
15
|
-
}
|
|
1
|
+
import { List } from "@magic-xpa/mscorelib";
|
|
2
|
+
export declare class MgValue {
|
|
3
|
+
str: string;
|
|
4
|
+
caption: string;
|
|
5
|
+
title: string;
|
|
6
|
+
path: string;
|
|
7
|
+
filter: string;
|
|
8
|
+
boolVal: boolean;
|
|
9
|
+
bool1: boolean;
|
|
10
|
+
style: number;
|
|
11
|
+
number: number;
|
|
12
|
+
obj: any;
|
|
13
|
+
listOfIntArr: List<number[]>;
|
|
14
|
+
constructor();
|
|
15
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Property } from "../management/gui/Property";
|
|
2
|
-
import { MgFormBase } from "../management/gui/MgFormBase";
|
|
3
|
-
import { StorageAttribute } from "@magic-xpa/utils";
|
|
4
|
-
import { RefParam } from "@magic-xpa/mscorelib";
|
|
5
|
-
export interface PropParentInterface {
|
|
6
|
-
getCompIdx(): number;
|
|
7
|
-
getProp(propId: number): Property;
|
|
8
|
-
checkIfExistProp(propId: number): boolean;
|
|
9
|
-
getForm(): MgFormBase;
|
|
10
|
-
IsFirstRefreshOfProps(): boolean;
|
|
11
|
-
EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
|
|
12
|
-
GetExpressionStorage(expId: number): StorageAttribute;
|
|
13
|
-
}
|
|
1
|
+
import { Property } from "../management/gui/Property";
|
|
2
|
+
import { MgFormBase } from "../management/gui/MgFormBase";
|
|
3
|
+
import { StorageAttribute } from "@magic-xpa/utils";
|
|
4
|
+
import { RefParam } from "@magic-xpa/mscorelib";
|
|
5
|
+
export interface PropParentInterface {
|
|
6
|
+
getCompIdx(): number;
|
|
7
|
+
getProp(propId: number): Property;
|
|
8
|
+
checkIfExistProp(propId: number): boolean;
|
|
9
|
+
getForm(): MgFormBase;
|
|
10
|
+
IsFirstRefreshOfProps(): boolean;
|
|
11
|
+
EvaluateExpression(expId: number, resType: StorageAttribute, length: number, contentTypeUnicode: boolean, resCellType: StorageAttribute, alwaysEvaluate: boolean, wasEvaluated: RefParam<boolean>): Promise<string>;
|
|
12
|
+
GetExpressionStorage(expId: number): StorageAttribute;
|
|
13
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare class DialogHandler {
|
|
2
|
-
closeDialog(): void;
|
|
3
|
-
constructor();
|
|
4
|
-
}
|
|
1
|
+
export declare class DialogHandler {
|
|
2
|
+
closeDialog(): void;
|
|
3
|
+
constructor();
|
|
4
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { CommandType } from "../../GuiEnums";
|
|
2
|
-
import { List } from "@magic-xpa/mscorelib";
|
|
3
|
-
export declare class GuiCommand {
|
|
4
|
-
TaskTag: string;
|
|
5
|
-
Operation: string;
|
|
6
|
-
CommandType: CommandType;
|
|
7
|
-
options: any;
|
|
8
|
-
Bool1: boolean;
|
|
9
|
-
params: List<any>;
|
|
10
|
-
fileName: string;
|
|
11
|
-
height: number;
|
|
12
|
-
layer: number;
|
|
13
|
-
line: number;
|
|
14
|
-
number: number;
|
|
15
|
-
obj: any;
|
|
16
|
-
parentObject: any;
|
|
17
|
-
obj1: any;
|
|
18
|
-
str: string;
|
|
19
|
-
value: any;
|
|
20
|
-
stringList: List<string>;
|
|
21
|
-
style: number;
|
|
22
|
-
width: number;
|
|
23
|
-
x: number;
|
|
24
|
-
y: number;
|
|
25
|
-
userDropFormat: string;
|
|
26
|
-
contextID: string;
|
|
27
|
-
CtrlName: string;
|
|
28
|
-
constructor(commandType: CommandType);
|
|
29
|
-
constructor(commandType: CommandType, str: string);
|
|
30
|
-
constructor(obj: any, commandType: CommandType);
|
|
31
|
-
constructor(parentObject: any, obj: any, cmmandType: CommandType);
|
|
32
|
-
private constructor_0;
|
|
33
|
-
private constructor_1;
|
|
34
|
-
private constructor_2;
|
|
35
|
-
private constructor_3;
|
|
36
|
-
toString(): string;
|
|
37
|
-
}
|
|
1
|
+
import { CommandType } from "../../GuiEnums";
|
|
2
|
+
import { List } from "@magic-xpa/mscorelib";
|
|
3
|
+
export declare class GuiCommand {
|
|
4
|
+
TaskTag: string;
|
|
5
|
+
Operation: string;
|
|
6
|
+
CommandType: CommandType;
|
|
7
|
+
options: any;
|
|
8
|
+
Bool1: boolean;
|
|
9
|
+
params: List<any>;
|
|
10
|
+
fileName: string;
|
|
11
|
+
height: number;
|
|
12
|
+
layer: number;
|
|
13
|
+
line: number;
|
|
14
|
+
number: number;
|
|
15
|
+
obj: any;
|
|
16
|
+
parentObject: any;
|
|
17
|
+
obj1: any;
|
|
18
|
+
str: string;
|
|
19
|
+
value: any;
|
|
20
|
+
stringList: List<string>;
|
|
21
|
+
style: number;
|
|
22
|
+
width: number;
|
|
23
|
+
x: number;
|
|
24
|
+
y: number;
|
|
25
|
+
userDropFormat: string;
|
|
26
|
+
contextID: string;
|
|
27
|
+
CtrlName: string;
|
|
28
|
+
constructor(commandType: CommandType);
|
|
29
|
+
constructor(commandType: CommandType, str: string);
|
|
30
|
+
constructor(obj: any, commandType: CommandType);
|
|
31
|
+
constructor(parentObject: any, obj: any, cmmandType: CommandType);
|
|
32
|
+
private constructor_0;
|
|
33
|
+
private constructor_1;
|
|
34
|
+
private constructor_2;
|
|
35
|
+
private constructor_3;
|
|
36
|
+
toString(): string;
|
|
37
|
+
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { GuiCommand } from "./GuiCommand";
|
|
2
|
-
export declare class GuiCommandQueue {
|
|
3
|
-
private static _instance;
|
|
4
|
-
private _commandsQueue;
|
|
5
|
-
private _executingGuiCommands;
|
|
6
|
-
constructor();
|
|
7
|
-
static getInstance(): GuiCommandQueue;
|
|
8
|
-
init(): void;
|
|
9
|
-
addCommand(guiCommand: GuiCommand): void;
|
|
10
|
-
private put;
|
|
11
|
-
beginInvoke(): void;
|
|
12
|
-
invoke(): void;
|
|
13
|
-
}
|
|
1
|
+
import { GuiCommand } from "./GuiCommand";
|
|
2
|
+
export declare class GuiCommandQueue {
|
|
3
|
+
private static _instance;
|
|
4
|
+
private _commandsQueue;
|
|
5
|
+
private _executingGuiCommands;
|
|
6
|
+
constructor();
|
|
7
|
+
static getInstance(): GuiCommandQueue;
|
|
8
|
+
init(): void;
|
|
9
|
+
addCommand(guiCommand: GuiCommand): void;
|
|
10
|
+
private put;
|
|
11
|
+
beginInvoke(): void;
|
|
12
|
+
invoke(): void;
|
|
13
|
+
}
|
|
@@ -1,55 +1,55 @@
|
|
|
1
|
-
import { GuiMgControl } from '../GuiMgControl';
|
|
2
|
-
import { MgValue } from '../MgValue';
|
|
3
|
-
import { GuiMgForm } from '../GuiMgForm';
|
|
4
|
-
export declare enum InteractiveCommandType {
|
|
5
|
-
GET_VALUE = 0,
|
|
6
|
-
GET_TOP_INDEX = 1,
|
|
7
|
-
MESSAGE_BOX = 2,
|
|
8
|
-
SET_TITLE = 3,
|
|
9
|
-
SET_EDIT_TEXT = 4,
|
|
10
|
-
INSERT_EDIT_TEXT = 5,
|
|
11
|
-
GET_CARET_POS = 6,
|
|
12
|
-
REFRESH_PAGE = 7,
|
|
13
|
-
GET_ROWS_IN_PAGE = 8,
|
|
14
|
-
SET_GET_SUGGESTED_VALUE_FOR_CHOICE_CONTROL_ON_TAGDATA = 9,
|
|
15
|
-
GET_IS_ROW_EDITING = 10,
|
|
16
|
-
GET_MAX_ROWS_IN_PAGINATED_TABLE = 11,
|
|
17
|
-
CALL_JS = 12,
|
|
18
|
-
GET_LAST_ROUTE = 13,
|
|
19
|
-
OPEN_FORM = 14
|
|
20
|
-
}
|
|
21
|
-
export declare abstract class GuiInteractiveBase {
|
|
22
|
-
_commandType: InteractiveCommandType;
|
|
23
|
-
TaskTag: string;
|
|
24
|
-
controlName: string;
|
|
25
|
-
_str: string;
|
|
26
|
-
_intVal1: number;
|
|
27
|
-
_line: number;
|
|
28
|
-
_obj1: any;
|
|
29
|
-
_parameters: any[];
|
|
30
|
-
_boolVal: boolean;
|
|
31
|
-
_obj2: any;
|
|
32
|
-
_mgValue: MgValue;
|
|
33
|
-
arguments: Array<any>;
|
|
34
|
-
resultString: string;
|
|
35
|
-
constructor();
|
|
36
|
-
setGetSuggestedValueOfChoiceControlOnTagData(ctrl: GuiMgControl, line: number, retSuggestedValue: boolean): void;
|
|
37
|
-
getValue(obj: any, line: number): string;
|
|
38
|
-
getTopIndex(tablecontrol: GuiMgControl): number;
|
|
39
|
-
getIsRowEditing(tablecontrol: GuiMgControl, line: number, isLineMode: boolean): boolean;
|
|
40
|
-
messageBox(title: string, msg: string, style: number): number;
|
|
41
|
-
setTitle(topMostForm: GuiMgForm, title: string): void;
|
|
42
|
-
setEditText(control: GuiMgControl, line: number, text: string): boolean;
|
|
43
|
-
insertEditText(control: GuiMgControl, line: number, startPosition: number, textToInsert: string): boolean;
|
|
44
|
-
caretPosGet(control: GuiMgControl, line: number): number;
|
|
45
|
-
RefreshPage(navigateToRootRoute: boolean, initialUrl: string): void;
|
|
46
|
-
getRowsInPage(control: GuiMgControl): number;
|
|
47
|
-
getMaxRowsInPaginatedTable(control: GuiMgControl): number;
|
|
48
|
-
getLastRoute(): string;
|
|
49
|
-
ExecuteCallJS(form: any, formName: string, functionName: string, args: Array<any>): string;
|
|
50
|
-
ExecuteOpenOverlayForm(obj: Object, formName: string, handlerTaskTag: string, calledTaskTag: string, inputControls: string, isDialog: boolean): void;
|
|
51
|
-
private Invoke;
|
|
52
|
-
onGetRowsInPage(): void;
|
|
53
|
-
}
|
|
54
|
-
export declare class GuiInteractive extends GuiInteractiveBase {
|
|
55
|
-
}
|
|
1
|
+
import { GuiMgControl } from '../GuiMgControl';
|
|
2
|
+
import { MgValue } from '../MgValue';
|
|
3
|
+
import { GuiMgForm } from '../GuiMgForm';
|
|
4
|
+
export declare enum InteractiveCommandType {
|
|
5
|
+
GET_VALUE = 0,
|
|
6
|
+
GET_TOP_INDEX = 1,
|
|
7
|
+
MESSAGE_BOX = 2,
|
|
8
|
+
SET_TITLE = 3,
|
|
9
|
+
SET_EDIT_TEXT = 4,
|
|
10
|
+
INSERT_EDIT_TEXT = 5,
|
|
11
|
+
GET_CARET_POS = 6,
|
|
12
|
+
REFRESH_PAGE = 7,
|
|
13
|
+
GET_ROWS_IN_PAGE = 8,
|
|
14
|
+
SET_GET_SUGGESTED_VALUE_FOR_CHOICE_CONTROL_ON_TAGDATA = 9,
|
|
15
|
+
GET_IS_ROW_EDITING = 10,
|
|
16
|
+
GET_MAX_ROWS_IN_PAGINATED_TABLE = 11,
|
|
17
|
+
CALL_JS = 12,
|
|
18
|
+
GET_LAST_ROUTE = 13,
|
|
19
|
+
OPEN_FORM = 14
|
|
20
|
+
}
|
|
21
|
+
export declare abstract class GuiInteractiveBase {
|
|
22
|
+
_commandType: InteractiveCommandType;
|
|
23
|
+
TaskTag: string;
|
|
24
|
+
controlName: string;
|
|
25
|
+
_str: string;
|
|
26
|
+
_intVal1: number;
|
|
27
|
+
_line: number;
|
|
28
|
+
_obj1: any;
|
|
29
|
+
_parameters: any[];
|
|
30
|
+
_boolVal: boolean;
|
|
31
|
+
_obj2: any;
|
|
32
|
+
_mgValue: MgValue;
|
|
33
|
+
arguments: Array<any>;
|
|
34
|
+
resultString: string;
|
|
35
|
+
constructor();
|
|
36
|
+
setGetSuggestedValueOfChoiceControlOnTagData(ctrl: GuiMgControl, line: number, retSuggestedValue: boolean): void;
|
|
37
|
+
getValue(obj: any, line: number, isThreeStateCheckBox: boolean): string;
|
|
38
|
+
getTopIndex(tablecontrol: GuiMgControl): number;
|
|
39
|
+
getIsRowEditing(tablecontrol: GuiMgControl, line: number, isLineMode: boolean): boolean;
|
|
40
|
+
messageBox(title: string, msg: string, style: number): number;
|
|
41
|
+
setTitle(topMostForm: GuiMgForm, title: string): void;
|
|
42
|
+
setEditText(control: GuiMgControl, line: number, text: string): boolean;
|
|
43
|
+
insertEditText(control: GuiMgControl, line: number, startPosition: number, textToInsert: string): boolean;
|
|
44
|
+
caretPosGet(control: GuiMgControl, line: number): number;
|
|
45
|
+
RefreshPage(navigateToRootRoute: boolean, initialUrl: string): void;
|
|
46
|
+
getRowsInPage(control: GuiMgControl): number;
|
|
47
|
+
getMaxRowsInPaginatedTable(control: GuiMgControl): number;
|
|
48
|
+
getLastRoute(): string;
|
|
49
|
+
ExecuteCallJS(form: any, formName: string, functionName: string, args: Array<any>): string;
|
|
50
|
+
ExecuteOpenOverlayForm(obj: Object, formName: string, handlerTaskTag: string, calledTaskTag: string, inputControls: string, isDialog: boolean): void;
|
|
51
|
+
private Invoke;
|
|
52
|
+
onGetRowsInPage(): void;
|
|
53
|
+
}
|
|
54
|
+
export declare class GuiInteractive extends GuiInteractiveBase {
|
|
55
|
+
}
|
package/src/gui/low/Style.d.ts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
export declare class Styles {
|
|
2
|
-
static MSGBOX_BUTTON_OK: number;
|
|
3
|
-
static MSGBOX_BUTTON_OK_CANCEL: number;
|
|
4
|
-
static MSGBOX_BUTTON_ABORT_RETRY_IGNORE: number;
|
|
5
|
-
static MSGBOX_BUTTON_YES_NO_CANCEL: number;
|
|
6
|
-
static MSGBOX_BUTTON_YES_NO: number;
|
|
7
|
-
static MSGBOX_BUTTON_RETRY_CANCEL: number;
|
|
8
|
-
static MSGBOX_ICON_ERROR: number;
|
|
9
|
-
static MSGBOX_ICON_QUESTION: number;
|
|
10
|
-
static MSGBOX_ICON_EXCLAMATION: number;
|
|
11
|
-
static MSGBOX_ICON_INFORMATION: number;
|
|
12
|
-
static MSGBOX_ICON_WARNING: number;
|
|
13
|
-
static MSGBOX_RESULT_OK: number;
|
|
14
|
-
static MSGBOX_RESULT_CANCEL: number;
|
|
15
|
-
static MSGBOX_RESULT_ABORT: number;
|
|
16
|
-
static MSGBOX_RESULT_RETRY: number;
|
|
17
|
-
static MSGBOX_RESULT_YES: number;
|
|
18
|
-
static MSGBOX_RESULT_NO: number;
|
|
19
|
-
}
|
|
1
|
+
export declare class Styles {
|
|
2
|
+
static MSGBOX_BUTTON_OK: number;
|
|
3
|
+
static MSGBOX_BUTTON_OK_CANCEL: number;
|
|
4
|
+
static MSGBOX_BUTTON_ABORT_RETRY_IGNORE: number;
|
|
5
|
+
static MSGBOX_BUTTON_YES_NO_CANCEL: number;
|
|
6
|
+
static MSGBOX_BUTTON_YES_NO: number;
|
|
7
|
+
static MSGBOX_BUTTON_RETRY_CANCEL: number;
|
|
8
|
+
static MSGBOX_ICON_ERROR: number;
|
|
9
|
+
static MSGBOX_ICON_QUESTION: number;
|
|
10
|
+
static MSGBOX_ICON_EXCLAMATION: number;
|
|
11
|
+
static MSGBOX_ICON_INFORMATION: number;
|
|
12
|
+
static MSGBOX_ICON_WARNING: number;
|
|
13
|
+
static MSGBOX_RESULT_OK: number;
|
|
14
|
+
static MSGBOX_RESULT_CANCEL: number;
|
|
15
|
+
static MSGBOX_RESULT_ABORT: number;
|
|
16
|
+
static MSGBOX_RESULT_RETRY: number;
|
|
17
|
+
static MSGBOX_RESULT_YES: number;
|
|
18
|
+
static MSGBOX_RESULT_NO: number;
|
|
19
|
+
}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { XmlParser } from "@magic-xpa/utils";
|
|
2
|
-
import { MgFormBase } from "./gui/MgFormBase";
|
|
3
|
-
import { MgControlBase } from "./gui/MgControlBase";
|
|
4
|
-
export declare class RuntimeContextBase {
|
|
5
|
-
private _insertMode;
|
|
6
|
-
private _lastCoordinates;
|
|
7
|
-
ContextID: string;
|
|
8
|
-
Parser: XmlParser;
|
|
9
|
-
FrameForm: MgFormBase;
|
|
10
|
-
LastClickedCtrlName: string;
|
|
11
|
-
static noContextId: string;
|
|
12
|
-
RemovedContextFromServer: boolean;
|
|
13
|
-
RemovingContextFromServer: boolean;
|
|
14
|
-
CurrentClickedCtrl: MgControlBase;
|
|
15
|
-
CurrentClickedRadio: MgControlBase;
|
|
16
|
-
DefaultStatusMsg: string;
|
|
17
|
-
LastClickCoordinatesAreInPixels: boolean;
|
|
18
|
-
static Instance: RuntimeContextBase;
|
|
19
|
-
private constructor();
|
|
20
|
-
Init(contextID: string): void;
|
|
21
|
-
SaveLastClickInfo(controlName: string, clientX: number, clientY: number, offsetX: number, offsetY: number, isInPixels: boolean): void;
|
|
22
|
-
ToggleInsertMode(): void;
|
|
23
|
-
}
|
|
1
|
+
import { XmlParser } from "@magic-xpa/utils";
|
|
2
|
+
import { MgFormBase } from "./gui/MgFormBase";
|
|
3
|
+
import { MgControlBase } from "./gui/MgControlBase";
|
|
4
|
+
export declare class RuntimeContextBase {
|
|
5
|
+
private _insertMode;
|
|
6
|
+
private _lastCoordinates;
|
|
7
|
+
ContextID: string;
|
|
8
|
+
Parser: XmlParser;
|
|
9
|
+
FrameForm: MgFormBase;
|
|
10
|
+
LastClickedCtrlName: string;
|
|
11
|
+
static noContextId: string;
|
|
12
|
+
RemovedContextFromServer: boolean;
|
|
13
|
+
RemovingContextFromServer: boolean;
|
|
14
|
+
CurrentClickedCtrl: MgControlBase;
|
|
15
|
+
CurrentClickedRadio: MgControlBase;
|
|
16
|
+
DefaultStatusMsg: string;
|
|
17
|
+
LastClickCoordinatesAreInPixels: boolean;
|
|
18
|
+
static Instance: RuntimeContextBase;
|
|
19
|
+
private constructor();
|
|
20
|
+
Init(contextID: string): void;
|
|
21
|
+
SaveLastClickInfo(controlName: string, clientX: number, clientY: number, offsetX: number, offsetY: number, isInPixels: boolean): void;
|
|
22
|
+
ToggleInsertMode(): void;
|
|
23
|
+
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { StorageAttribute } from '@magic-xpa/utils';
|
|
2
|
-
import { Encoding } from '@magic-xpa/mscorelib';
|
|
3
|
-
export declare class BlobType {
|
|
4
|
-
static CONTENT_TYPE_UNKNOWN: string;
|
|
5
|
-
static CONTENT_TYPE_ANSI: string;
|
|
6
|
-
static CONTENT_TYPE_UNICODE: string;
|
|
7
|
-
static CONTENT_TYPE_BINARY: string;
|
|
8
|
-
static getContentType(blob: string): string;
|
|
9
|
-
static getEmptyBlobPrefix(vecCellAttr: string): string;
|
|
10
|
-
static getBlobPrefixForContentType(contentType: string): string;
|
|
11
|
-
static getPrefix(str: string): string;
|
|
12
|
-
static getEncodingFromContentType(ContentType: string): Encoding;
|
|
13
|
-
private static MbToUnicode;
|
|
14
|
-
private static UnicodeToMb;
|
|
15
|
-
static getString(blob: string): string;
|
|
16
|
-
static createFromString(blobStr: string, contentType: string): string;
|
|
17
|
-
static getBytes(str: string): Uint8Array;
|
|
18
|
-
static createFromBytes(bytes: Uint8Array, contentType: string): string;
|
|
19
|
-
static copyBlob(dest: string, src: string): string;
|
|
20
|
-
static removeBlobPrefix(source: string): string;
|
|
21
|
-
static isValidBlob(blob: string): boolean;
|
|
22
|
-
static setContentType(str: string, contentType: string): string;
|
|
23
|
-
static SetVecCellAttr(str: string, vecCellAttr: StorageAttribute): string;
|
|
24
|
-
static GetVecCellAttr(blobStr: string): string;
|
|
25
|
-
static blobPrefixLength(blob: string): number;
|
|
26
|
-
static getKey(blobStr: string): number;
|
|
27
|
-
static getBlobSize(blob: string): number;
|
|
28
|
-
static ParseContentType(contentType: number): string;
|
|
29
|
-
}
|
|
1
|
+
import { StorageAttribute } from '@magic-xpa/utils';
|
|
2
|
+
import { Encoding } from '@magic-xpa/mscorelib';
|
|
3
|
+
export declare class BlobType {
|
|
4
|
+
static CONTENT_TYPE_UNKNOWN: string;
|
|
5
|
+
static CONTENT_TYPE_ANSI: string;
|
|
6
|
+
static CONTENT_TYPE_UNICODE: string;
|
|
7
|
+
static CONTENT_TYPE_BINARY: string;
|
|
8
|
+
static getContentType(blob: string): string;
|
|
9
|
+
static getEmptyBlobPrefix(vecCellAttr: string): string;
|
|
10
|
+
static getBlobPrefixForContentType(contentType: string): string;
|
|
11
|
+
static getPrefix(str: string): string;
|
|
12
|
+
static getEncodingFromContentType(ContentType: string): Encoding;
|
|
13
|
+
private static MbToUnicode;
|
|
14
|
+
private static UnicodeToMb;
|
|
15
|
+
static getString(blob: string): string;
|
|
16
|
+
static createFromString(blobStr: string, contentType: string): string;
|
|
17
|
+
static getBytes(str: string): Uint8Array;
|
|
18
|
+
static createFromBytes(bytes: Uint8Array, contentType: string): string;
|
|
19
|
+
static copyBlob(dest: string, src: string): string;
|
|
20
|
+
static removeBlobPrefix(source: string): string;
|
|
21
|
+
static isValidBlob(blob: string): boolean;
|
|
22
|
+
static setContentType(str: string, contentType: string): string;
|
|
23
|
+
static SetVecCellAttr(str: string, vecCellAttr: StorageAttribute): string;
|
|
24
|
+
static GetVecCellAttr(blobStr: string): string;
|
|
25
|
+
static blobPrefixLength(blob: string): number;
|
|
26
|
+
static getKey(blobStr: string): number;
|
|
27
|
+
static getBlobSize(blob: string): number;
|
|
28
|
+
static ParseContentType(contentType: number): string;
|
|
29
|
+
}
|