@fileverse-dev/fortune-react 1.0.2-mod-10-test-1 → 1.0.2-mod-10-test-2
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,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
|
+
testApi: () => void;
|
|
8
9
|
setCellValue: (row: number, column: number, value: any, options?: api.CommonOptions & {
|
|
9
10
|
type?: keyof Cell;
|
|
10
11
|
}) => void;
|
|
@@ -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
|
+
testApi: () => 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;
|
package/dist/index.esm.js
CHANGED
|
@@ -9999,6 +9999,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
9999
9999
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
10000
10000
|
return api.getCellValue(context, row, column, options);
|
|
10001
10001
|
},
|
|
10002
|
+
testApi: function testApi() {
|
|
10003
|
+
console.log("Test API");
|
|
10004
|
+
},
|
|
10002
10005
|
setCellValue: function setCellValue(row, column, value) {
|
|
10003
10006
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
10004
10007
|
return setContext(function (draftCtx) {
|
package/dist/index.js
CHANGED
|
@@ -10010,6 +10010,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10010
10010
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
10011
10011
|
return fortuneCore.api.getCellValue(context, row, column, options);
|
|
10012
10012
|
},
|
|
10013
|
+
testApi: function testApi() {
|
|
10014
|
+
console.log("Test API");
|
|
10015
|
+
},
|
|
10013
10016
|
setCellValue: function setCellValue(row, column, value) {
|
|
10014
10017
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
10015
10018
|
return setContext(function (draftCtx) {
|
package/dist/index.umd.js
CHANGED
|
@@ -50823,6 +50823,9 @@
|
|
|
50823
50823
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
|
|
50824
50824
|
return index.getCellValue(context, row, column, options);
|
|
50825
50825
|
},
|
|
50826
|
+
testApi: function testApi() {
|
|
50827
|
+
console.log("Test API");
|
|
50828
|
+
},
|
|
50826
50829
|
setCellValue: function setCellValue(row, column, value) {
|
|
50827
50830
|
var options = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};
|
|
50828
50831
|
return setContext(function (draftCtx) {
|