@compass-framework/worksheet-layout 1.0.1 → 1.0.3

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.
@@ -20,18 +20,22 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
20
20
 
21
21
  public abstract sumColumnWidth(start: number, end: number): number;
22
22
 
23
- public abstract getRowHeight(index: number): number;
24
-
25
- public abstract getColumnWidth(index: number): number;
23
+ public abstract getMaximumRowCount(): number;
26
24
 
27
25
  public abstract getMaximumColumnCount(): number;
28
26
 
29
- public abstract getMaximumRowCount(): number;
27
+ public abstract getRowCount(): number;
30
28
 
31
- public abstract getCumulativeRowHeight(index: number): number;
29
+ public abstract getColumnCount(): number;
30
+
31
+ public abstract getColumnWidth(index: number): number;
32
+
33
+ public abstract getRowHeight(index: number): number;
32
34
 
33
35
  public abstract getCumulativeColumnWidth(index: number): number;
34
36
 
37
+ public abstract getCumulativeRowHeight(index: number): number;
38
+
35
39
  public onGenericMotion(v: View, event: MotionEvent): boolean;
36
40
 
37
41
  public onConfigurationChanged(newConfig: Configuration): void;
@@ -64,6 +68,14 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
64
68
 
65
69
  public dispatchGenericPointerEvent(event: MotionEvent): boolean;
66
70
 
71
+ public getContentWidth(): number;
72
+
73
+ public getContentHeight(): number;
74
+
75
+ public getViewportWidth(): number;
76
+
77
+ public getViewportHeight(): number;
78
+
67
79
  public getViewType(): WorksheetLayout.ViewType;
68
80
 
69
81
  public setViewType(type: WorksheetLayout.ViewType): void;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@compass-framework/worksheet-layout",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "@compass-framework/worksheet-layout public api",
5
5
  "types": "./index.d.ts",
6
6
  "main": "./index.js",
7
7
  "scripts": {
8
- "publish-core": "npm publish"
8
+ "publish-worksheet-layout": "npm publish"
9
9
  },
10
10
  "publishConfig": {
11
11
  "access": "public"