@compass-framework/core 1.2.23 → 1.2.24
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/@types/{ApplicationManager.d.ts → ApplicationBoot.ts} +1 -3
- package/@types/ApplicationContext.d.ts +1 -9
- package/@types/ApplicationFrame.d.ts +5 -18
- package/@types/ApplicationFrameContext.ts +1 -21
- package/@types/Context.d.ts +3 -3
- package/@types/WindowContext.d.ts +4 -7
- package/@types/WindowManager.d.ts +7 -0
- package/index.d.ts +1 -3
- package/package.json +1 -1
- package/@types/ApplicationSettings.d.ts +0 -3
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
import { Application } from "./Application";
|
|
2
2
|
|
|
3
|
-
export declare class
|
|
4
|
-
public static readying(): Promise<void>;
|
|
5
|
-
|
|
3
|
+
export declare class ApplicationBoot {
|
|
6
4
|
public installApplication(application: Application): void;
|
|
7
5
|
|
|
8
6
|
public uninstallApplication(application: Application): void;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
|
-
import { ApplicationFrame } from "./ApplicationFrame";
|
|
2
|
-
import { ApplicationManifest } from "./ApplicationManifest";
|
|
3
1
|
import { Context } from "./Context";
|
|
4
2
|
|
|
5
|
-
export
|
|
6
|
-
public attachFrame(applicationFrame: ApplicationFrame): void;
|
|
7
|
-
|
|
8
|
-
public detachFrame(applicationFrame: ApplicationFrame): void;
|
|
9
|
-
|
|
10
|
-
public getApplicationManifest(): ApplicationManifest;
|
|
11
|
-
}
|
|
3
|
+
export interface ApplicationContext extends Context {}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ApplicationFrameObserver } from "./ApplicationFrameObserver";
|
|
2
2
|
import { ICursor } from "./ICursor";
|
|
3
|
-
import {
|
|
3
|
+
import { DisplayMetrics } from "./DisplayMetrics";
|
|
4
4
|
import { IWindow } from "./IWindow";
|
|
5
|
+
import { Configuration } from "./Configuration";
|
|
5
6
|
import { ApplicationFrameContext } from "./ApplicationFrameContext";
|
|
6
7
|
import { ApplicationFrameSettings } from "./ApplicationFrameSettings";
|
|
7
8
|
|
|
@@ -10,8 +11,6 @@ export declare class ApplicationFrame {
|
|
|
10
11
|
|
|
11
12
|
public applicationFrameScreenshot(): string;
|
|
12
13
|
|
|
13
|
-
public closeApplicationFrame(): void;
|
|
14
|
-
|
|
15
14
|
public attachWindow(window: IWindow): void;
|
|
16
15
|
|
|
17
16
|
public detachWindow(window: IWindow): void;
|
|
@@ -22,25 +21,13 @@ export declare class ApplicationFrame {
|
|
|
22
21
|
|
|
23
22
|
public onConfigurationChanged(configuration: Configuration): void;
|
|
24
23
|
|
|
25
|
-
public
|
|
26
|
-
|
|
27
|
-
public getApplicationFrameHeight(): number;
|
|
24
|
+
public getApplicationFrameCursor(): ICursor;
|
|
28
25
|
|
|
29
|
-
public
|
|
26
|
+
public getApplicationFrameDisplayMetrics(): DisplayMetrics;
|
|
30
27
|
|
|
31
|
-
public
|
|
28
|
+
public getApplicationFrameContext(): ApplicationFrameContext;
|
|
32
29
|
|
|
33
30
|
public getApplicationFrameContext(): ApplicationFrameContext;
|
|
34
31
|
|
|
35
32
|
public getApplicationFrameObserver(): ApplicationFrameObserver;
|
|
36
|
-
|
|
37
|
-
public getApplicationFrameCursor(): ICursor;
|
|
38
|
-
|
|
39
|
-
public setApplicationFrameLeft(applicationFrameLeft: number): void;
|
|
40
|
-
|
|
41
|
-
public setApplicationFrameWidth(applicationFrameWidth: number): void;
|
|
42
|
-
|
|
43
|
-
public setApplicationFrameTop(applicationFrameTop: number): void;
|
|
44
|
-
|
|
45
|
-
public setApplicationFrameHeight(applicationFrameHeight: number): void;
|
|
46
33
|
}
|
|
@@ -1,25 +1,5 @@
|
|
|
1
|
-
import { ApplicationContext } from "./ApplicationContext";
|
|
2
|
-
import { ApplicationFrameObserver } from "./ApplicationFrameObserver";
|
|
3
|
-
import { ICursor } from "./ICursor";
|
|
4
|
-
import { IWindow } from "./IWindow";
|
|
5
1
|
import { Context } from "./Context";
|
|
6
2
|
|
|
7
|
-
export
|
|
8
|
-
public attachWindow(window: IWindow): void;
|
|
3
|
+
export interface ApplicationFrameContext extends Context {
|
|
9
4
|
|
|
10
|
-
public detachWindow(window: IWindow): void;
|
|
11
|
-
|
|
12
|
-
public getApplicationContext(): ApplicationContext;
|
|
13
|
-
|
|
14
|
-
public getApplicationFrameLeft(): number;
|
|
15
|
-
|
|
16
|
-
public getApplicationFrameTop(): number;
|
|
17
|
-
|
|
18
|
-
public getApplicationFrameWidth(): number;
|
|
19
|
-
|
|
20
|
-
public getApplicationFrameHeight(): number;
|
|
21
|
-
|
|
22
|
-
public getApplicationFrameCursor(): ICursor;
|
|
23
|
-
|
|
24
|
-
public getApplicationFrameObserver(): ApplicationFrameObserver;
|
|
25
5
|
}
|
package/@types/Context.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { Resources } from "./Resources";
|
|
2
2
|
import { XMLViewFactoryRegistry } from "./XMLViewFactoryRegistry";
|
|
3
3
|
|
|
4
|
-
export declare
|
|
5
|
-
|
|
4
|
+
export declare interface Context {
|
|
5
|
+
getViewFactoryRegistry(): XMLViewFactoryRegistry;
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
getResources(): Resources;
|
|
8
8
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { ApplicationFrameContext } from "./ApplicationFrameContext";
|
|
2
1
|
import { Context } from "./Context";
|
|
3
2
|
import { ICursor } from "./ICursor";
|
|
4
|
-
import {
|
|
3
|
+
import { WindowManager } from "./WindowManager";
|
|
5
4
|
|
|
6
|
-
export declare
|
|
7
|
-
|
|
5
|
+
export declare interface WindowContext extends Context {
|
|
6
|
+
getWindowCursor(): ICursor;
|
|
8
7
|
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
public getWindowCursor(): ICursor;
|
|
8
|
+
getWindowManager(): WindowManager
|
|
12
9
|
}
|
|
@@ -1,7 +1,14 @@
|
|
|
1
1
|
import { ViewGroup } from "./ViewGroup";
|
|
2
|
+
import { IWindow } from "./IWindow";
|
|
2
3
|
|
|
3
4
|
export declare class WindowManager {
|
|
5
|
+
public attachWindow(window: IWindow): void;
|
|
6
|
+
public attachWindow(window: IWindow, params: WindowManager.LayoutParams): void;
|
|
4
7
|
|
|
8
|
+
public detachWindow(window: IWindow): void;
|
|
9
|
+
|
|
10
|
+
public updateWindowLayout(window: IWindow): void;
|
|
11
|
+
public updateWindowLayout(window: IWindow, params: WindowManager.LayoutParams): void;
|
|
5
12
|
}
|
|
6
13
|
|
|
7
14
|
export declare namespace WindowManager {
|
package/index.d.ts
CHANGED
|
@@ -9,9 +9,8 @@ export * from "./@types/Assets";
|
|
|
9
9
|
export * from "./@types/Animator";
|
|
10
10
|
export * from "./@types/Application";
|
|
11
11
|
export * from "./@types/ApplicationContext";
|
|
12
|
-
export * from "./@types/
|
|
12
|
+
export * from "./@types/ApplicationBoot";
|
|
13
13
|
export * from "./@types/ApplicationManifest";
|
|
14
|
-
export * from "./@types/ApplicationSettings";
|
|
15
14
|
export * from "./@types/ApplicationWindow";
|
|
16
15
|
export * from "./@types/ListAdapter";
|
|
17
16
|
export * from "./@types/ArrayAdapter";
|
|
@@ -103,7 +102,6 @@ export * from './@types/LayoutInflater';
|
|
|
103
102
|
export * from './@types/PathEffect';
|
|
104
103
|
export * from './@types/Configuration';
|
|
105
104
|
export * from './@types/CornerPathEffect';
|
|
106
|
-
export * from './@types/DensityMetrics';
|
|
107
105
|
export * from './@types/ApplicationFrameContext';
|
|
108
106
|
export * from './@types/ResourcesInflater';
|
|
109
107
|
export * from './@types/ApplicationFrameSettings';
|
package/package.json
CHANGED