jspreadsheet 12.0.7 → 12.1.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
@@ -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,
@@ -1184,7 +1184,7 @@ declare namespace jspreadsheet {
1184
1184
  international?: International;
1185
1185
  /** Persistence handler */
1186
1186
  persistence?: (worksheet: worksheetInstance, method: string, args: object) => void;
1187
- /** Create a selection during the openWorksheet. Default: true */
1187
+ /** Create a selection during the openWorksheet. Default: false */
1188
1188
  autoSelect?: boolean;
1189
1189
  /** Assign a guid to the row Id when that is not provided. Default: false */
1190
1190
  autoId?: boolean;