@compass-framework/core 1.2.26 → 1.2.27

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.
@@ -1,11 +1,11 @@
1
1
  import { ArrayList, Implements, XML } from "@compass-framework/library";
2
2
  import { Resources } from "./Resources";
3
- import { View } from "./View";
4
3
  import { IWindow } from "./IWindow";
4
+ import { View } from "./View";
5
5
  import { WindowContext } from "./WindowContext";
6
+ import { ViewGroup } from "./ViewGroup";
6
7
  import { WindowManager } from "./WindowManager";
7
8
  import { Configuration } from "./Configuration";
8
- import { ViewGroup } from "./ViewGroup";
9
9
 
10
10
  @Implements(IWindow)
11
11
  export declare class PopupWindow implements IWindow {
@@ -30,20 +30,22 @@ export declare class PopupWindow implements IWindow {
30
30
 
31
31
  public onConfigurationChanged(configuration: Configuration): void;
32
32
 
33
+ public showAtLocation(parent: View, gravity: number, x: number, y: number): void;
34
+
33
35
  public isShowing() : boolean;
34
36
 
35
37
  public isOutsideTouchable():boolean;
36
38
 
37
39
  public dismiss(): void;
38
40
 
39
- public showAtLocation(parent: View, gravity: number, x: number, y: number): void;
40
-
41
41
  public update(x: number, y: number, width: number, height: number): void;
42
42
 
43
43
  public getDecorView(): ViewGroup;
44
44
 
45
45
  public getContentView(): View;
46
46
 
47
+ public getOnGenericMotionListener(): View.OnGenericMotionListener;
48
+
47
49
  public getOnTouchListener(): View.OnTouchListener;
48
50
 
49
51
  public getWindowContext(): WindowContext;
@@ -54,6 +56,8 @@ export declare class PopupWindow implements IWindow {
54
56
 
55
57
  public setOnTouchListener(l: View.OnTouchListener): void;
56
58
 
59
+ public setOnGenericMotionListener(l: View.OnGenericMotionListener): void;
60
+
57
61
  public setContentXML(xml: XML): void;
58
62
 
59
63
  public setOutsideTouchable(touchable: boolean):void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/core",
3
- "version": "1.2.26",
3
+ "version": "1.2.27",
4
4
  "description": "@compass-framework/core public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",