@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.
@@ -1172,4 +1172,5 @@ export declare function generateAPIs(context: Context, setContext: (recipe: (ctx
1172
1172
  support: string;
1173
1173
  };
1174
1174
  };
1175
+ getWorkbookContect: () => Context;
1175
1176
  };
@@ -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
  }