@compass-framework/core 1.2.23 → 1.2.25
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/View.d.ts +6 -1
- 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
|
}
|
package/@types/View.d.ts
CHANGED
|
@@ -23,6 +23,7 @@ import { Resources } from "./Resources";
|
|
|
23
23
|
import { ViewParent } from "./ViewParent";
|
|
24
24
|
import { ViewOutlineProvider } from "./ViewOutlineProvider";
|
|
25
25
|
import { DisplayMetrics } from "./DisplayMetrics";
|
|
26
|
+
import { IWindow } from "./IWindow";
|
|
26
27
|
|
|
27
28
|
export declare class View implements Drawable.Callback {
|
|
28
29
|
public static resolveSize(size: number, measureSpec: number): number;
|
|
@@ -167,6 +168,8 @@ export declare class View implements Drawable.Callback {
|
|
|
167
168
|
|
|
168
169
|
public getPaddingBottom(): number;
|
|
169
170
|
|
|
171
|
+
public getAttachInfo(): View.AttachInfo;
|
|
172
|
+
|
|
170
173
|
public getPaddingLeft(): number;
|
|
171
174
|
|
|
172
175
|
public getPaddingRight(): number;
|
|
@@ -272,9 +275,11 @@ export declare namespace View {
|
|
|
272
275
|
export class AttachInfo {
|
|
273
276
|
public getTransparentLocation(): Array<number>;
|
|
274
277
|
|
|
278
|
+
public getTmpMatrix(): Matrix;
|
|
279
|
+
|
|
275
280
|
public getInvalidateChildLocation(): Array<number>;
|
|
276
281
|
|
|
277
|
-
public
|
|
282
|
+
public getWindow(): IWindow;
|
|
278
283
|
|
|
279
284
|
public getTmpOutline(): Outline;
|
|
280
285
|
|
|
@@ -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