jspreadsheet 8.3.1 → 8.3.2

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
@@ -168,6 +168,8 @@ declare namespace jspreadsheet {
168
168
  source?: Array<DropdownItem> | Array<string> | Array<number>;
169
169
  /** Define the dropdown or autocomplete to accept multiple options. */
170
170
  multiple?: boolean;
171
+ /** Define the dropdown separator for multiple dropdown options. Default ; */
172
+ delimiter?: string;
171
173
  /** Define the input mask for the data cell. @see https://jsuites.net/v4/javascript-mask */
172
174
  mask?: string;
173
175
  /** Decimal representation character. */
@@ -186,12 +188,14 @@ declare namespace jspreadsheet {
186
188
  options?: Calendar | Dropdown;
187
189
  /** The column is read-only */
188
190
  readOnly?: boolean;
189
- /** Wrap the text in the column */
190
- wordWrap?: boolean;
191
191
  /** Process the raw data when copy or download. Default: true */
192
192
  process?: boolean;
193
193
  /** Try to cast numbers from a cell text. Default: true */
194
194
  autoCasting?: boolean;
195
+ /** Shift formula when copy and pasting. This option is only valid for custom column type. Default: false */
196
+ shiftFormula?: boolean;
197
+ /** Wrap the text in the column */
198
+ wrap?: boolean;
195
199
  }
196
200
 
197
201
  interface Row {
@@ -409,6 +413,8 @@ declare namespace jspreadsheet {
409
413
  * @return {any} Return false to cancel parsing. Return new parsed formula. Return void to continue with original formula
410
414
  */
411
415
  onbeforeformula?: (worksheet: worksheetInstance, expression: string, x: number, y: number) => string | false | void;
416
+ /** Get the information about the expressions executed from the formula chain */
417
+ onformulachain?: (worksheet: worksheetInstance, expressions: Array<objects>) => void;
412
418
  /** Run every single table update action. Can bring performance issues if perform too much changes. */
413
419
  updateTable?: (worksheet: worksheetInstance, cell: Object, x: number, y: number, value: String) => void;
414
420
  /** Return false to cancel the contextMenu event, or return custom elements for the contextmenu. */