jspreadsheet 8.6.5 → 8.7.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 +4 -2
- package/dist/index.js +409 -409
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -166,6 +166,8 @@ declare namespace jspreadsheet {
|
|
|
166
166
|
url?: string;
|
|
167
167
|
/** Define the items in the dropdown and autocomplete column type. */
|
|
168
168
|
source?: Array<DropdownItem> | Array<string> | Array<number>;
|
|
169
|
+
/** Autocomplete: boolean */
|
|
170
|
+
autocomplete?: boolean;
|
|
169
171
|
/** Define the dropdown or autocomplete to accept multiple options. */
|
|
170
172
|
multiple?: boolean;
|
|
171
173
|
/** Define the dropdown separator for multiple dropdown options. Default ; */
|
|
@@ -422,9 +424,9 @@ declare namespace jspreadsheet {
|
|
|
422
424
|
*/
|
|
423
425
|
onbeforeformula?: (worksheet: worksheetInstance, expression: string, x: number, y: number) => string | false | void;
|
|
424
426
|
/** Get the information about the expressions executed from the formula chain */
|
|
425
|
-
onformulachain?: (worksheet: worksheetInstance, expressions: Array<
|
|
427
|
+
onformulachain?: (worksheet: worksheetInstance, expressions: Array<object>) => void;
|
|
426
428
|
/** Customize the items available when filter editor is open. */
|
|
427
|
-
onopenfilter?: (worksheet: worksheetInstance, column: number, options: Array<
|
|
429
|
+
onopenfilter?: (worksheet: worksheetInstance, column: number, options: Array<object>) => void | Array<object>;
|
|
428
430
|
/** Run every single table update action. Can bring performance issues if perform too much changes. */
|
|
429
431
|
updateTable?: (worksheet: worksheetInstance, cell: Object, x: number, y: number, value: String) => void;
|
|
430
432
|
/** Return false to cancel the contextMenu event, or return custom elements for the contextmenu. */
|