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