@compass-framework/worksheet-layout 1.0.0 → 1.0.2

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.
@@ -24,6 +24,10 @@ export declare abstract class WorksheetLayout extends AbsoluteLayout implements
24
24
 
25
25
  public abstract getColumnWidth(index: number): number;
26
26
 
27
+ public abstract getRowCount(): number;
28
+
29
+ public abstract getColumnCount(): number;
30
+
27
31
  public abstract getMaximumColumnCount(): number;
28
32
 
29
33
  public abstract getMaximumRowCount(): number;
@@ -64,6 +68,10 @@ 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
+
67
75
  public getViewType(): WorksheetLayout.ViewType;
68
76
 
69
77
  public setViewType(type: WorksheetLayout.ViewType): void;
package/index.d.ts ADDED
@@ -0,0 +1,3 @@
1
+ export * from "./@types/VerticalSegment"
2
+ export * from "./@types/HorizontalSegment"
3
+ export * from "./@types/WorksheetLayout"
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@compass-framework/worksheet-layout",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
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"