jspreadsheet 8.4.0 → 8.5.1
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 +7 -1
- package/dist/index.js +444 -440
- package/dist/jspreadsheet.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -214,7 +214,11 @@ declare namespace jspreadsheet {
|
|
|
214
214
|
openEditor: (cell: HTMLElement, value: any, x: number, y: number, instance: object, options: object) => any;
|
|
215
215
|
/** closeEditor When the user finalizes the edition of a cell. */
|
|
216
216
|
closeEditor: (cell: HTMLElement, confirmChanges: boolean, x: number, y: number, instance: object, options: object) => any;
|
|
217
|
-
/**
|
|
217
|
+
/** When a cell is destroyed. */
|
|
218
|
+
destroyCell: (cell: HTMLElement, x: number, y: number, instance: object) => void;
|
|
219
|
+
/** Apply updates when the properties of a cell or column is changed. */
|
|
220
|
+
updateProperty: (x: number, y: number, instance: object, options: object) => void;
|
|
221
|
+
/** Transform the raw data into processed data. It will shown a text instead of an id in the type dropdown for example. */
|
|
218
222
|
get: (options: object, value: any) => String
|
|
219
223
|
}
|
|
220
224
|
|
|
@@ -433,6 +437,8 @@ declare namespace jspreadsheet {
|
|
|
433
437
|
license?: string,
|
|
434
438
|
/** Worksheets */
|
|
435
439
|
worksheets?: Array<Worksheet>;
|
|
440
|
+
/** Validations */
|
|
441
|
+
validations?: any;
|
|
436
442
|
}
|
|
437
443
|
|
|
438
444
|
interface Worksheet {
|