jspreadsheet 8.3.4 → 8.5.0

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
@@ -415,6 +415,8 @@ declare namespace jspreadsheet {
415
415
  onbeforeformula?: (worksheet: worksheetInstance, expression: string, x: number, y: number) => string | false | void;
416
416
  /** Get the information about the expressions executed from the formula chain */
417
417
  onformulachain?: (worksheet: worksheetInstance, expressions: Array<objects>) => void;
418
+ /** Customize the items available when filter editor is open. */
419
+ onopenfilter?: (worksheet: worksheetInstance, column: number, options: Array<objects>) => void | Array<objects>;
418
420
  /** Run every single table update action. Can bring performance issues if perform too much changes. */
419
421
  updateTable?: (worksheet: worksheetInstance, cell: Object, x: number, y: number, value: String) => void;
420
422
  /** Return false to cancel the contextMenu event, or return custom elements for the contextmenu. */
@@ -431,6 +433,8 @@ declare namespace jspreadsheet {
431
433
  license?: string,
432
434
  /** Worksheets */
433
435
  worksheets?: Array<Worksheet>;
436
+ /** Validations */
437
+ validations?: any;
434
438
  }
435
439
 
436
440
  interface Worksheet {