@leankylin-sheet/react 4.0.60 → 4.0.62

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/README.md CHANGED
@@ -1,19 +1,19 @@
1
- # @leankylin-sheet/react
2
-
3
- LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
4
-
5
- See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.
6
-
7
- ## Install
8
-
9
- Using npm:
10
-
11
- ```bash
12
- $ npm install --save @leankylin-sheet/react
13
- ```
14
-
15
- or using yarn:
16
-
17
- ```bash
18
- $ yarn add @leankylin-sheet/react
19
- ```
1
+ # @leankylin-sheet/react
2
+
3
+ LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets
4
+
5
+ See our repo [leankylin-sheet](http://114.55.85.79:19999/leankylin-front/leankylin-sheet) for more information.
6
+
7
+ ## Install
8
+
9
+ Using npm:
10
+
11
+ ```bash
12
+ $ npm install --save @leankylin-sheet/react
13
+ ```
14
+
15
+ or using yarn:
16
+
17
+ ```bash
18
+ $ yarn add @leankylin-sheet/react
19
+ ```
@@ -119,7 +119,8 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
119
119
  }[]) => void;
120
120
  handleUndo: () => void;
121
121
  handleRedo: () => void;
122
- calculateFormula: () => void;
122
+ calculateFormula: (sheetId?: string) => void;
123
+ calculateSheetByCells: (cells: any) => void;
123
124
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
124
125
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number, colCount?: number) => CellMatrix | null;
125
126
  };
@@ -127,7 +127,8 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
127
127
  }[]) => void;
128
128
  handleUndo: () => void;
129
129
  handleRedo: () => void;
130
- calculateFormula: () => void;
130
+ calculateFormula: (sheetId?: string | undefined) => void;
131
+ calculateSheetByCells: (cells: any) => void;
131
132
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
132
133
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number | undefined, colCount?: number | undefined) => CellMatrix | null;
133
134
  }>>;