@compass-framework/core 1.2.5 → 1.2.7
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/TabBarLayout.d.ts +12 -9
- package/package.json +2 -2
package/@types/TabBarLayout.d.ts
CHANGED
|
@@ -1,25 +1,28 @@
|
|
|
1
1
|
import { InterfaceTemplate } from "@compass-framework/library";
|
|
2
|
-
import { LinearLayout } from "./LinearLayout";
|
|
3
2
|
import { View } from "./View";
|
|
4
|
-
import {
|
|
3
|
+
import { LinearLayout } from "./LinearLayout";
|
|
5
4
|
|
|
6
5
|
export declare class TabBarLayout extends LinearLayout {
|
|
7
6
|
public hasScroll(): boolean;
|
|
8
7
|
|
|
9
|
-
public getChildCount(slot?:
|
|
8
|
+
public getChildCount(slot?: TabBarLayout.Slot): number;
|
|
10
9
|
|
|
11
|
-
public getChildAt(index: number, slot?:
|
|
10
|
+
public getChildAt(index: number, slot?: TabBarLayout.Slot): View;
|
|
12
11
|
|
|
13
|
-
public removeAllViews(slot?:
|
|
12
|
+
public removeAllViews(slot?: TabBarLayout.Slot): void;
|
|
14
13
|
}
|
|
15
14
|
|
|
16
15
|
export namespace TabBarLayout {
|
|
17
|
-
export
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
export enum Slot {
|
|
17
|
+
CONTENT = "CONTENT",
|
|
18
|
+
FOOTER = "FOOTER",
|
|
19
|
+
DEFAULT = "DEFAULT",
|
|
21
20
|
}
|
|
22
21
|
|
|
22
|
+
export interface TabBarLayoutElementViewListener {
|
|
23
|
+
onEdit(): void;
|
|
24
|
+
onState(status: boolean): void;
|
|
25
|
+
}
|
|
23
26
|
export class TabBarLayoutElementViewListener extends InterfaceTemplate {
|
|
24
27
|
|
|
25
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compass-framework/core",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7",
|
|
4
4
|
"description": "@compass-framework/core public api",
|
|
5
5
|
"types": "./index.d.ts",
|
|
6
6
|
"main": "./index.js",
|
|
@@ -11,6 +11,6 @@
|
|
|
11
11
|
"access": "public"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@compass-framework/library": "1.0.
|
|
14
|
+
"@compass-framework/library": "1.0.8"
|
|
15
15
|
}
|
|
16
16
|
}
|