jspreadsheet 11.4.9 → 11.4.11

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/index.d.ts CHANGED
@@ -602,6 +602,7 @@ declare namespace jspreadsheet {
602
602
  worksheetId?: string;
603
603
  worksheetColumn?: number;
604
604
  worksheetImage?: boolean;
605
+ locked?: boolean;
605
606
  }
606
607
 
607
608
  interface Border {
@@ -854,7 +855,7 @@ declare namespace jspreadsheet {
854
855
  /** When an editor is created. */
855
856
  oncreateeditor?: (worksheet: worksheetInstance, cell: HTMLElement, x: number, y: number, element: HTMLElement, options: object) => void;
856
857
  /** When the editor is opened. */
857
- oneditionstart?: (worksheet: worksheetInstance, cell: HTMLElement, x: number, y: number) => void;
858
+ oneditionstart?: (worksheet: worksheetInstance, cell: HTMLElement, x: number, y: number) => boolean | void;
858
859
  /** When the editor is closed. */
859
860
  oneditionend?: (worksheet: worksheetInstance, cell: HTMLElement, x: number, y: number, newValue: any, save: boolean) => void;
860
861
  /** When the style of a cell is changed. */