@rosperitus/excelerate-reader 0.15.0 → 0.16.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/excelerate.d.ts +25 -0
- package/excelerate_bg.wasm +0 -0
- package/package.json +1 -1
- package/web/excelerate.d.ts +25 -0
- package/web/excelerate_bg.wasm +0 -0
package/excelerate.d.ts
CHANGED
|
@@ -250,6 +250,31 @@ export interface RangeStyles {
|
|
|
250
250
|
styles: CellStyle[];
|
|
251
251
|
grid: number[][];
|
|
252
252
|
}
|
|
253
|
+
/** Limits for `goalSeek`; the workbook's iteration settings when left out. */
|
|
254
|
+
export interface GoalSeekOptions {
|
|
255
|
+
maxIterations?: number;
|
|
256
|
+
tolerance?: number;
|
|
257
|
+
}
|
|
258
|
+
/** How `goalSeek` ended. */
|
|
259
|
+
export interface GoalSeekResult {
|
|
260
|
+
/** The value left in the changing cell: the best one tried. */
|
|
261
|
+
value: number;
|
|
262
|
+
/** What the set cell computes with it; `null` when that is not a number. */
|
|
263
|
+
result: number | null;
|
|
264
|
+
/** How many times the set cell was computed. */
|
|
265
|
+
iterations: number;
|
|
266
|
+
/** Whether `result` is within the tolerance of the target. */
|
|
267
|
+
converged: boolean;
|
|
268
|
+
}
|
|
269
|
+
/** The rule a value breaks, as `checkValidation` reports it. */
|
|
270
|
+
export interface ValidationProblem {
|
|
271
|
+
/** How Excel reports it: `stop` refuses the entry, the others only warn. */
|
|
272
|
+
style: "stop" | "warning" | "information";
|
|
273
|
+
title: string;
|
|
274
|
+
/** The rule's own message; empty when it has none. */
|
|
275
|
+
message: string;
|
|
276
|
+
sqref: string[];
|
|
277
|
+
}
|
|
253
278
|
|
|
254
279
|
|
|
255
280
|
|
package/excelerate_bg.wasm
CHANGED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rosperitus/excelerate-reader",
|
|
3
3
|
"description": "Read spreadsheets in the browser or Node: xlsx, xls, ods, csv, html, SYLK, Gnumeric and SpreadsheetML, with cell styles. Reading only.",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.16.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
package/web/excelerate.d.ts
CHANGED
|
@@ -250,6 +250,31 @@ export interface RangeStyles {
|
|
|
250
250
|
styles: CellStyle[];
|
|
251
251
|
grid: number[][];
|
|
252
252
|
}
|
|
253
|
+
/** Limits for `goalSeek`; the workbook's iteration settings when left out. */
|
|
254
|
+
export interface GoalSeekOptions {
|
|
255
|
+
maxIterations?: number;
|
|
256
|
+
tolerance?: number;
|
|
257
|
+
}
|
|
258
|
+
/** How `goalSeek` ended. */
|
|
259
|
+
export interface GoalSeekResult {
|
|
260
|
+
/** The value left in the changing cell: the best one tried. */
|
|
261
|
+
value: number;
|
|
262
|
+
/** What the set cell computes with it; `null` when that is not a number. */
|
|
263
|
+
result: number | null;
|
|
264
|
+
/** How many times the set cell was computed. */
|
|
265
|
+
iterations: number;
|
|
266
|
+
/** Whether `result` is within the tolerance of the target. */
|
|
267
|
+
converged: boolean;
|
|
268
|
+
}
|
|
269
|
+
/** The rule a value breaks, as `checkValidation` reports it. */
|
|
270
|
+
export interface ValidationProblem {
|
|
271
|
+
/** How Excel reports it: `stop` refuses the entry, the others only warn. */
|
|
272
|
+
style: "stop" | "warning" | "information";
|
|
273
|
+
title: string;
|
|
274
|
+
/** The rule's own message; empty when it has none. */
|
|
275
|
+
message: string;
|
|
276
|
+
sqref: string[];
|
|
277
|
+
}
|
|
253
278
|
|
|
254
279
|
|
|
255
280
|
|
package/web/excelerate_bg.wasm
CHANGED
|
Binary file
|