logisheets 1.7.0 → 1.7.1

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.
@@ -5,6 +5,7 @@ export interface CreateLink {
5
5
  rowCnt: number;
6
6
  colCnt: number;
7
7
  blockId: number;
8
+ blockSheetIdx?: number;
8
9
  }
9
10
  export declare class CreateLinkBuilder {
10
11
  private _sheetIdx;
@@ -13,12 +14,14 @@ export declare class CreateLinkBuilder {
13
14
  private _rowCnt;
14
15
  private _colCnt;
15
16
  private _blockId;
17
+ private _blockSheetIdx?;
16
18
  sheetIdx(value: number): this;
17
19
  masterRow(value: number): this;
18
20
  masterCol(value: number): this;
19
21
  rowCnt(value: number): this;
20
22
  colCnt(value: number): this;
21
23
  blockId(value: number): this;
24
+ blockSheetIdx(value: number): this;
22
25
  build(): {
23
26
  sheetIdx: number;
24
27
  masterRow: number;
@@ -26,5 +29,6 @@ export declare class CreateLinkBuilder {
26
29
  rowCnt: number;
27
30
  colCnt: number;
28
31
  blockId: number;
32
+ blockSheetIdx: number | undefined;
29
33
  };
30
34
  }
@@ -8,6 +8,7 @@ class CreateLinkBuilder {
8
8
  _rowCnt;
9
9
  _colCnt;
10
10
  _blockId;
11
+ _blockSheetIdx;
11
12
  sheetIdx(value) {
12
13
  this._sheetIdx = value;
13
14
  return this;
@@ -32,6 +33,10 @@ class CreateLinkBuilder {
32
33
  this._blockId = value;
33
34
  return this;
34
35
  }
36
+ blockSheetIdx(value) {
37
+ this._blockSheetIdx = value;
38
+ return this;
39
+ }
35
40
  build() {
36
41
  if (this._sheetIdx === undefined)
37
42
  throw new Error('missing sheetIdx');
@@ -45,7 +50,7 @@ class CreateLinkBuilder {
45
50
  throw new Error('missing colCnt');
46
51
  if (this._blockId === undefined)
47
52
  throw new Error('missing blockId');
48
- return { sheetIdx: this._sheetIdx, masterRow: this._masterRow, masterCol: this._masterCol, rowCnt: this._rowCnt, colCnt: this._colCnt, blockId: this._blockId };
53
+ return { sheetIdx: this._sheetIdx, masterRow: this._masterRow, masterCol: this._masterCol, rowCnt: this._rowCnt, colCnt: this._colCnt, blockId: this._blockId, blockSheetIdx: this._blockSheetIdx };
49
54
  }
50
55
  }
51
56
  exports.CreateLinkBuilder = CreateLinkBuilder;
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "JeremyHe <yiliang.he@qq.com>"
5
5
  ],
6
- "version": "1.7.0",
6
+ "version": "1.7.1",
7
7
  "files": [
8
8
  "logisheets_wasm_server_bg.wasm",
9
9
  "logisheets_wasm_server.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "logisheets",
3
- "version": "1.7.0",
3
+ "version": "1.7.1",
4
4
  "description": "Read and write the xlsx files",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
Binary file
package/wasm/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "collaborators": [
4
4
  "JeremyHe <yiliang.he@qq.com>"
5
5
  ],
6
- "version": "1.7.0",
6
+ "version": "1.7.1",
7
7
  "files": [
8
8
  "logisheets_wasm_server_bg.wasm",
9
9
  "logisheets_wasm_server.js",