@compass-framework/worksheet-layout 1.0.2 → 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,22 +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;
23
+ public abstract getMaximumRowCount(): number;
24
24
 
25
- public abstract getColumnWidth(index: number): number;
25
+ public abstract getMaximumColumnCount(): number;
26
26
 
27
27
  public abstract getRowCount(): number;
28
28
 
29
29
  public abstract getColumnCount(): number;
30
30
 
31
- public abstract getMaximumColumnCount(): number;
32
-
33
- public abstract getMaximumRowCount(): number;
31
+ public abstract getColumnWidth(index: number): number;
34
32
 
35
- public abstract getCumulativeRowHeight(index: number): number;
33
+ public abstract getRowHeight(index: number): number;
36
34
 
37
35
  public abstract getCumulativeColumnWidth(index: number): number;
38
36
 
37
+ public abstract getCumulativeRowHeight(index: number): number;
38
+
39
39
  public onGenericMotion(v: View, event: MotionEvent): boolean;
40
40
 
41
41
  public onConfigurationChanged(newConfig: Configuration): void;
@@ -72,6 +72,10 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
72
72
 
73
73
  public getContentHeight(): number;
74
74
 
75
+ public getViewportWidth(): number;
76
+
77
+ public getViewportHeight(): number;
78
+
75
79
  public getViewType(): WorksheetLayout.ViewType;
76
80
 
77
81
  public setViewType(type: WorksheetLayout.ViewType): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@compass-framework/worksheet-layout",
3
- "version": "1.0.2",
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",