@fileverse-dev/fortune-react 1.0.2-mod-11 → 1.0.2-mod-11-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.
- package/dist/components/Workbook/api.d.ts +6 -2
- package/dist/components/Workbook/index.d.ts +6 -2
- package/dist/index.css +26 -1
- package/dist/index.esm.css +26 -1
- package/dist/index.esm.js +230 -108
- package/dist/index.js +229 -107
- package/dist/index.umd.css +26 -1
- package/dist/index.umd.js +242 -117
- package/dist/index.umd.min.css +1 -1
- package/dist/index.umd.min.js +2 -2
- package/package.json +2 -2
|
@@ -93,7 +93,7 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
|
|
|
93
93
|
} | undefined;
|
|
94
94
|
} | undefined;
|
|
95
95
|
};
|
|
96
|
-
addSheet: () => void;
|
|
96
|
+
addSheet: (sheetId?: string) => void;
|
|
97
97
|
deleteSheet: (options?: api.CommonOptions) => void;
|
|
98
98
|
updateSheet: (data: Sheet[]) => void;
|
|
99
99
|
activateSheet: (options?: api.CommonOptions) => void;
|
|
@@ -112,7 +112,11 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
|
|
|
112
112
|
}[]) => void;
|
|
113
113
|
handleUndo: () => void;
|
|
114
114
|
handleRedo: () => void;
|
|
115
|
-
calculateFormula: () => void;
|
|
115
|
+
calculateFormula: (id?: string, range?: SingleRange) => 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;
|
|
118
122
|
};
|
|
@@ -100,7 +100,7 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
|
|
|
100
100
|
} | undefined;
|
|
101
101
|
} | undefined;
|
|
102
102
|
};
|
|
103
|
-
addSheet: () => void;
|
|
103
|
+
addSheet: (sheetId?: string | undefined) => 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,8 +119,12 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
|
|
|
119
119
|
}[]) => void;
|
|
120
120
|
handleUndo: () => void;
|
|
121
121
|
handleRedo: () => void;
|
|
122
|
-
calculateFormula: () => void;
|
|
122
|
+
calculateFormula: (id?: string | undefined, range?: import("@fileverse-dev/fortune-core").SingleRange | undefined) => 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;
|
|
125
129
|
}>>;
|
|
126
130
|
export default Workbook;
|
package/dist/index.css
CHANGED
|
@@ -43,6 +43,18 @@ 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
|
+
|
|
46
58
|
.fortune-sheet-container {
|
|
47
59
|
display: flex;
|
|
48
60
|
flex: 1;
|
|
@@ -1018,6 +1030,18 @@ html::-webkit-scrollbar-button {
|
|
|
1018
1030
|
overflow: hidden;
|
|
1019
1031
|
}
|
|
1020
1032
|
|
|
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
|
+
|
|
1021
1045
|
.luckysheet-formula-search-c {
|
|
1022
1046
|
position: absolute;
|
|
1023
1047
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
@@ -1733,7 +1757,7 @@ html::-webkit-scrollbar-button {
|
|
|
1733
1757
|
background-clip: padding-box;
|
|
1734
1758
|
border: 1px solid rgba(0, 0, 0, 0.333);
|
|
1735
1759
|
outline: 0;
|
|
1736
|
-
position:
|
|
1760
|
+
position: fixed;
|
|
1737
1761
|
color: #000;
|
|
1738
1762
|
padding: 30px 42px;
|
|
1739
1763
|
z-index: 100003;
|
|
@@ -2310,6 +2334,7 @@ html::-webkit-scrollbar-button {
|
|
|
2310
2334
|
background: #efefef;
|
|
2311
2335
|
cursor: pointer;
|
|
2312
2336
|
}
|
|
2337
|
+
|
|
2313
2338
|
/*函数公式查找样式*/
|
|
2314
2339
|
#luckysheet-search-formula {
|
|
2315
2340
|
font-size: 12px;
|
package/dist/index.esm.css
CHANGED
|
@@ -43,6 +43,18 @@ 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
|
+
|
|
46
58
|
.fortune-sheet-container {
|
|
47
59
|
display: flex;
|
|
48
60
|
flex: 1;
|
|
@@ -1018,6 +1030,18 @@ html::-webkit-scrollbar-button {
|
|
|
1018
1030
|
overflow: hidden;
|
|
1019
1031
|
}
|
|
1020
1032
|
|
|
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
|
+
|
|
1021
1045
|
.luckysheet-formula-search-c {
|
|
1022
1046
|
position: absolute;
|
|
1023
1047
|
border: 1px solid rgba(0, 0, 0, 0.2);
|
|
@@ -1733,7 +1757,7 @@ html::-webkit-scrollbar-button {
|
|
|
1733
1757
|
background-clip: padding-box;
|
|
1734
1758
|
border: 1px solid rgba(0, 0, 0, 0.333);
|
|
1735
1759
|
outline: 0;
|
|
1736
|
-
position:
|
|
1760
|
+
position: fixed;
|
|
1737
1761
|
color: #000;
|
|
1738
1762
|
padding: 30px 42px;
|
|
1739
1763
|
z-index: 100003;
|
|
@@ -2310,6 +2334,7 @@ html::-webkit-scrollbar-button {
|
|
|
2310
2334
|
background: #efefef;
|
|
2311
2335
|
cursor: pointer;
|
|
2312
2336
|
}
|
|
2337
|
+
|
|
2313
2338
|
/*函数公式查找样式*/
|
|
2314
2339
|
#luckysheet-search-formula {
|
|
2315
2340
|
font-size: 12px;
|