@fileverse-dev/fortune-react 1.0.2-mod-12 → 1.0.2-mod-10-test-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,7 +5,6 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
5
5
  getCellValue: (row: number, column: number, options?: api.CommonOptions & {
6
6
  type?: keyof Cell;
7
7
  }) => any;
8
- onboardingActiveCell: (functionName: string) => void;
9
8
  setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
10
9
  type?: keyof Cell;
11
10
  }) => void;
@@ -93,7 +92,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
93
92
  } | undefined;
94
93
  } | undefined;
95
94
  };
96
- addSheet: (sheetId?: string) => void;
95
+ addSheet: () => void;
97
96
  deleteSheet: (options?: api.CommonOptions) => void;
98
97
  updateSheet: (data: Sheet[]) => void;
99
98
  activateSheet: (options?: api.CommonOptions) => void;
@@ -112,11 +111,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
112
111
  }[]) => void;
113
112
  handleUndo: () => void;
114
113
  handleRedo: () => void;
115
- calculateFormula: (id?: string, range?: SingleRange) => void;
114
+ calculateFormula: () => void;
116
115
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
117
116
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number, colCount?: number) => CellMatrix | null;
118
- batchCallApis: (apiCalls: {
119
- name: string;
120
- args: any[];
121
- }[]) => void;
122
117
  };
@@ -12,7 +12,6 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
12
12
  getCellValue: (row: number, column: number, options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions & {
13
13
  type?: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
14
14
  }) => any;
15
- onboardingActiveCell: (functionName: string) => void;
16
15
  setCellValue: (row: number, column: number, value: any, options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions & {
17
16
  type?: "v" | "m" | "mc" | "f" | "ct" | "qp" | "spl" | "bg" | "lo" | "rt" | "ps" | "hl" | keyof import("@fileverse-dev/fortune-core").CellStyle | undefined;
18
17
  }) => void;
@@ -100,7 +99,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
100
99
  } | undefined;
101
100
  } | undefined;
102
101
  };
103
- addSheet: (sheetId?: string | undefined) => void;
102
+ addSheet: () => void;
104
103
  deleteSheet: (options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions) => void;
105
104
  updateSheet: (data: SheetType[]) => void;
106
105
  activateSheet: (options?: import("@fileverse-dev/fortune-core/dist/api").CommonOptions) => void;
@@ -119,12 +118,8 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
119
118
  }[]) => void;
120
119
  handleUndo: () => void;
121
120
  handleRedo: () => void;
122
- calculateFormula: (id?: string | undefined, range?: import("@fileverse-dev/fortune-core").SingleRange | undefined) => void;
121
+ calculateFormula: () => void;
123
122
  dataToCelldata: (data: CellMatrix | undefined) => CellWithRowAndCol[];
124
123
  celldataToData: (celldata: CellWithRowAndCol[], rowCount?: number | undefined, colCount?: number | undefined) => CellMatrix | null;
125
- batchCallApis: (apiCalls: {
126
- name: string;
127
- args: any[];
128
- }[]) => void;
129
124
  }>>;
130
125
  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;