@fileverse-dev/fortune-react 1.0.2-mod-37 → 1.0.2-mod-39
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 +1 -0
- package/dist/components/Workbook/index.d.ts +2 -1
- package/dist/index.esm.js +3 -0
- package/dist/index.js +3 -0
- package/dist/index.umd.js +2578 -4263
- package/dist/index.umd.min.js +9 -9
- package/package.json +2 -2
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Settings, CellWithRowAndCol, Sheet as SheetType, Op, CellMatrix } from "@fileverse-dev/fortune-core";
|
|
1
|
+
import { Settings, Context, CellWithRowAndCol, Sheet as SheetType, Op, CellMatrix } from "@fileverse-dev/fortune-core";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import "./index.css";
|
|
4
4
|
import { generateAPIs } from "./api";
|
|
@@ -1179,5 +1179,6 @@ declare const Workbook: React.ForwardRefExoticComponent<Settings & AdditionalPro
|
|
|
1179
1179
|
support: string;
|
|
1180
1180
|
};
|
|
1181
1181
|
};
|
|
1182
|
+
getWorkbookContect: () => Context;
|
|
1182
1183
|
}>>;
|
|
1183
1184
|
export default Workbook;
|
package/dist/index.esm.js
CHANGED
|
@@ -10534,6 +10534,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10534
10534
|
},
|
|
10535
10535
|
getLocaleContext: function getLocaleContext() {
|
|
10536
10536
|
return locale(context);
|
|
10537
|
+
},
|
|
10538
|
+
getWorkbookContect: function getWorkbookContect() {
|
|
10539
|
+
return context;
|
|
10537
10540
|
}
|
|
10538
10541
|
};
|
|
10539
10542
|
}
|
package/dist/index.js
CHANGED
|
@@ -10546,6 +10546,9 @@ function generateAPIs(context, setContext, handleUndo, handleRedo, settings, cel
|
|
|
10546
10546
|
},
|
|
10547
10547
|
getLocaleContext: function getLocaleContext() {
|
|
10548
10548
|
return fortuneCore.locale(context);
|
|
10549
|
+
},
|
|
10550
|
+
getWorkbookContect: function getWorkbookContect() {
|
|
10551
|
+
return context;
|
|
10549
10552
|
}
|
|
10550
10553
|
};
|
|
10551
10554
|
}
|