jspreadsheet 12.0.0-beta.1 → 12.0.0-beta.10
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 +6 -8
- package/dist/index.js +604 -602
- package/dist/jspreadsheet.css +44 -30
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Official Type definitions for Jspreadsheet Pro
|
|
2
|
+
* Official Type definitions for Jspreadsheet Pro v11
|
|
3
3
|
* https://jspreadsheet.com/docs
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -29,8 +29,6 @@ declare namespace jspreadsheet {
|
|
|
29
29
|
let clipboard: ClipBoardMethods;
|
|
30
30
|
/** Shortcuts */
|
|
31
31
|
let shortcuts: Shortcuts;
|
|
32
|
-
/** Paste with style max size. Default 10Mb */
|
|
33
|
-
let pasteWithStyleMaxSize: number;
|
|
34
32
|
|
|
35
33
|
// Register a validation
|
|
36
34
|
let setValidationHandler: (name: string, handler: (value: any, options: object) => boolean) => void;
|
|
@@ -1154,17 +1152,13 @@ declare namespace jspreadsheet {
|
|
|
1154
1152
|
/** Validations */
|
|
1155
1153
|
validations?: Validation[];
|
|
1156
1154
|
/** Plugins */
|
|
1157
|
-
plugins?: Record<string, Plugin
|
|
1155
|
+
plugins?: Record<string, Plugin | (() => Plugin) | any>
|
|
1158
1156
|
/** Global style */
|
|
1159
1157
|
style?: string[];
|
|
1160
1158
|
/** Snap the cells to the grid when scrolling. Default: false */
|
|
1161
1159
|
snapToGrid?: boolean;
|
|
1162
1160
|
/** Space between the table and the end of the container. Default: 100 */
|
|
1163
1161
|
spacing?: number;
|
|
1164
|
-
/** Pre-calculation helps to calculate all formula and cache the results. Default true */
|
|
1165
|
-
preCalculation?: boolean;
|
|
1166
|
-
/** Consider the use of column name in formulas. Default: true [ For example: =Countries*10 ] */
|
|
1167
|
-
columnNamesInFormulas?: boolean;
|
|
1168
1162
|
/** Namespace help with cross-calculations conflict names */
|
|
1169
1163
|
namespace?: string;
|
|
1170
1164
|
/** International configuration */
|
|
@@ -1175,6 +1169,10 @@ declare namespace jspreadsheet {
|
|
|
1175
1169
|
autoSelect?: boolean;
|
|
1176
1170
|
/** Assign a guid to the row Id when that is not provided. Default: false */
|
|
1177
1171
|
autoId?: boolean;
|
|
1172
|
+
/** Send data and style to the clipboard. Default: false */
|
|
1173
|
+
fullCopy?: boolean;
|
|
1174
|
+
/** Bring data and style from the clipboard. Default: false */
|
|
1175
|
+
fullPaste?: boolean;
|
|
1178
1176
|
}
|
|
1179
1177
|
|
|
1180
1178
|
interface Worksheet {
|