jspreadsheet 12.0.7 → 12.0.8

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
@@ -992,7 +992,7 @@ declare namespace jspreadsheet {
992
992
  /** When a copy is performed in the spreadsheet. Any string returned will overwrite the user data or return null to progress with the default behavior. */
993
993
  oncopy?: (worksheet: worksheetInstance, selectedCells: RangeCoords, data: string, cut: boolean | undefined) => false | string | undefined;
994
994
  /** Before the paste action is performed. Can return parsed or filtered data. It is possible to cancel the action when the return is false. */
995
- onbeforepaste?: (worksheet: worksheetInstance, data: Record<string, any>[][], x: number, y: number) => false | Record<string, any>[][] | undefined;
995
+ onbeforepaste?: (worksheet: worksheetInstance, data: Record<string, any>[][], x: number, y: number, clipboardEvent: ClipBoard) => false | Record<string, any>[][] | undefined;
996
996
  /** After a paste action is performed in the spreadsheet. */
997
997
  onpaste?: (
998
998
  worksheet: worksheetInstance,