UNPKG

@leankylin-sheet/core

Version:

LeankylinSheet is a drop-in javascript spreadsheet library that provides rich features like Excel and Google Sheets

17 lines (16 loc) 791 B
import { getSheet } from "./common"; import { Context } from "../context"; import { CellMatrix, Sheet } from "../types"; import { Hooks } from ".."; export declare function getAllSheets(ctx: Context): Sheet[]; export { getSheet }; export declare function initSheetData(draftCtx: Context, index: number, newData: Sheet): CellMatrix | null; export declare function hideSheet(ctx: Context, sheetId: string): void; export declare function showSheet(ctx: Context, sheetId: string): void; export declare function copySheet(ctx: Context, sheetId: string, hooks: Hooks): void; export declare function calculateSheetFromula(ctx: Context, id: string): void; export declare function calculateSheetByCells(ctx: Context, cells: { r: number; c: number; id: string; }[]): void;