jspreadsheet 11.2.5 → 11.3.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 +3 -1
- package/dist/index.js +549 -543
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -961,6 +961,8 @@ declare namespace jspreadsheet {
|
|
|
961
961
|
namespace?: string;
|
|
962
962
|
/** International configuration */
|
|
963
963
|
international?: International;
|
|
964
|
+
/** Persistence handler */
|
|
965
|
+
persistence?: (method: string, args: object) => void;
|
|
964
966
|
}
|
|
965
967
|
|
|
966
968
|
interface Worksheet {
|
|
@@ -1657,7 +1659,7 @@ declare namespace jspreadsheet {
|
|
|
1657
1659
|
/** Reset validations by validation indexes. Require the extension Validations. Undefined will remove all validations */
|
|
1658
1660
|
resetValidations: (validationIndex?: number | number[]) => void;
|
|
1659
1661
|
/** Load all validations rules from a cell based on its coordinates. */
|
|
1660
|
-
loadValidations: (xOrCell: number|object, y?: number) => object[];
|
|
1662
|
+
loadValidations: (xOrCell: number|object, y?: number, includeIndexes?: boolean) => object[];
|
|
1661
1663
|
/** This method returns true if a cell fails to meet all the defined validation criteria. If invoked without arguments, this method will scan the entire worksheet and return true if it detects validation errors. */
|
|
1662
1664
|
hasErrors: (col?: number|object, row?: number) => boolean;
|
|
1663
1665
|
/** Resize columns to match the visible content */
|