@fileverse-dev/fortune-core 1.0.2-mod-12 → 1.0.2-mod-10-test-1

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.
@@ -1,10 +1,10 @@
1
1
  import { getSheet } from "./common";
2
2
  import { Context } from "../context";
3
- import { CellMatrix, Sheet, SingleRange } from "../types";
3
+ import { CellMatrix, Sheet } from "../types";
4
4
  export declare function getAllSheets(ctx: Context): Sheet[];
5
5
  export { getSheet };
6
6
  export declare function initSheetData(draftCtx: Context, index: number, newData: Sheet): CellMatrix | null;
7
7
  export declare function hideSheet(ctx: Context, sheetId: string): void;
8
8
  export declare function showSheet(ctx: Context, sheetId: string): void;
9
9
  export declare function copySheet(ctx: Context, sheetId: string): void;
10
- export declare function calculateFormula(ctx: Context, id?: string, range?: SingleRange): void;
10
+ export declare function calculateSheetFromula(ctx: Context, id: string): void;
package/dist/context.d.ts CHANGED
@@ -169,7 +169,6 @@ export type Context = {
169
169
  hooks: Hooks;
170
170
  showSheetList?: Boolean;
171
171
  forceFormulaRef?: Boolean;
172
- sheetFocused: boolean;
173
172
  getRefs: () => RefValues;
174
173
  };
175
174
  export declare function defaultContext(refs: RefValues): Context;