@fileverse-dev/fortune-react 1.0.2-mod-12 → 1.0.2-mod-10-test

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.
@@ -93,7 +93,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
93
93
  } | undefined;
94
94
  } | undefined;
95
95
  };
96
- addSheet: (sheetId?: string) => void;
96
+ addSheet: () => void;
97
97
  deleteSheet: (options?: api.CommonOptions) => void;
98
98
  updateSheet: (data: Sheet[]) => void;
99
99
  activateSheet: (options?: api.CommonOptions) => void;
@@ -112,11 +112,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
112
112
  }[]) => void;
113
113
  handleUndo: () => void;
114
114
  handleRedo: () => void;
115
- calculateFormula: (id?: string, range?: SingleRange) => void;
115
+ calculateFormula: () => void;
116
116
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
117
117
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number, colCount?: number) => CellMatrix | null;
118
- batchCallApis: (apiCalls: {
119
- name: string;
120
- args: any[];
121
- }[]) => void;
122
118
  };
@@ -100,7 +100,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
100
100
  } | undefined;
101
101
  } | undefined;
102
102
  };
103
- addSheet: (sheetId?: string | undefined) => void;
103
+ addSheet: () => void;
104
104
  deleteSheet: (options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions) => void;
105
105
  updateSheet: (data: SheetType[]) => void;
106
106
  activateSheet: (options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions) => void;
@@ -119,12 +119,8 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
119
119
  }[]) => void;
120
120
  handleUndo: () => void;
121
121
  handleRedo: () => void;
122
- calculateFormula: (id?: string | undefined, range?: import("@fileverse-dev/fortune-core").SingleRange | undefined) => void;
122
+ calculateFormula: () => void;
123
123
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
124
124
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number | undefined, colCount?: number | undefined) => CellMatrix | null;
125
- batchCallApis: (apiCalls: {
126
- name: string;
127
- args: any[];
128
- }[]) => void;
129
125
  }>>;
130
126
  export default Workbook;
package/dist/index.css CHANGED
@@ -43,18 +43,6 @@ html::-webkit-scrollbar-button {
43
43
  align-items: center;
44
44
  }
45
45
 
46
- .sr-only {
47
- position: absolute;
48
- width: 1px;
49
- height: 1px;
50
- padding: 0;
51
- margin: -1px;
52
- overflow: hidden;
53
- clip: rect(0, 0, 0, 0);
54
- border: 0;
55
- white-space: nowrap;
56
- }
57
-
58
46
  .fortune-sheet-container {
59
47
  display: flex;
60
48
  flex: 1;
@@ -1030,18 +1018,6 @@ html::-webkit-scrollbar-button {
1030
1018
  overflow: hidden;
1031
1019
  }
1032
1020
 
1033
- .sr-only {
1034
- position: absolute;
1035
- width: 1px;
1036
- height: 1px;
1037
- padding: 0;
1038
- margin: -1px;
1039
- overflow: hidden;
1040
- clip: rect(0, 0, 0, 0);
1041
- border: 0;
1042
- white-space: nowrap;
1043
- }
1044
-
1045
1021
  .luckysheet-formula-search-c {
1046
1022
  position: absolute;
1047
1023
  border: 1px solid rgba(0, 0, 0, 0.2);
@@ -1757,7 +1733,7 @@ html::-webkit-scrollbar-button {
1757
1733
  background-clip: padding-box;
1758
1734
  border: 1px solid rgba(0, 0, 0, 0.333);
1759
1735
  outline: 0;
1760
- position: fixed;
1736
+ position: absolute;
1761
1737
  color: #000;
1762
1738
  padding: 30px 42px;
1763
1739
  z-index: 100003;
@@ -2334,7 +2310,6 @@ html::-webkit-scrollbar-button {
2334
2310
  background: #efefef;
2335
2311
  cursor: pointer;
2336
2312
  }
2337
-
2338
2313
  /*函数公式查找样式*/
2339
2314
  #luckysheet-search-formula {
2340
2315
  font-size: 12px;
@@ -43,18 +43,6 @@ html::-webkit-scrollbar-button {
43
43
  align-items: center;
44
44
  }
45
45
 
46
- .sr-only {
47
- position: absolute;
48
- width: 1px;
49
- height: 1px;
50
- padding: 0;
51
- margin: -1px;
52
- overflow: hidden;
53
- clip: rect(0, 0, 0, 0);
54
- border: 0;
55
- white-space: nowrap;
56
- }
57
-
58
46
  .fortune-sheet-container {
59
47
  display: flex;
60
48
  flex: 1;
@@ -1030,18 +1018,6 @@ html::-webkit-scrollbar-button {
1030
1018
  overflow: hidden;
1031
1019
  }
1032
1020
 
1033
- .sr-only {
1034
- position: absolute;
1035
- width: 1px;
1036
- height: 1px;
1037
- padding: 0;
1038
- margin: -1px;
1039
- overflow: hidden;
1040
- clip: rect(0, 0, 0, 0);
1041
- border: 0;
1042
- white-space: nowrap;
1043
- }
1044
-
1045
1021
  .luckysheet-formula-search-c {
1046
1022
  position: absolute;
1047
1023
  border: 1px solid rgba(0, 0, 0, 0.2);
@@ -1757,7 +1733,7 @@ html::-webkit-scrollbar-button {
1757
1733
  background-clip: padding-box;
1758
1734
  border: 1px solid rgba(0, 0, 0, 0.333);
1759
1735
  outline: 0;
1760
- position: fixed;
1736
+ position: absolute;
1761
1737
  color: #000;
1762
1738
  padding: 30px 42px;
1763
1739
  z-index: 100003;
@@ -2334,7 +2310,6 @@ html::-webkit-scrollbar-button {
2334
2310
  background: #efefef;
2335
2311
  cursor: pointer;
2336
2312
  }
2337
-
2338
2313
  /*函数公式查找样式*/
2339
2314
  #luckysheet-search-formula {
2340
2315
  font-size: 12px;