@d0paminedriven/xlsxdown-wasm32-wasi 0.4.0 → 0.6.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0paminedriven/xlsxdown-wasm32-wasi",
3
- "version": "0.4.0",
3
+ "version": "0.6.0",
4
4
  "cpu": [
5
5
  "wasm32"
6
6
  ],
@@ -37,7 +37,14 @@ export declare class XlsxDown {
37
37
  layout(opts?: SpreadsheetOptions | undefined | null): Array<SheetPage>
38
38
  /** `layout` on a worker thread. */
39
39
  layoutAsync(opts?: SpreadsheetOptions | undefined | null): Promise<Array<SheetPage>>
40
- /** Invoice fields read from the workbook's visible sheets, each laid out as a page. */
40
+ /**
41
+ * Invoice fields read from the workbook's visible sheets, each laid out as a page. Where
42
+ * the workbook's formulas give a total (the formula nothing else reads that reaches the
43
+ * most cells), it is `fields.invoiceTotal`, and the lines it adds up are `fields.items`,
44
+ * each with its description, its quantity and unit price where one cell is multiplied by
45
+ * another, and where its cells are on the page. A warning says when the labels on the
46
+ * page gave another total, and when the lines do not come to the total.
47
+ */
41
48
  invoice(opts?: InvoiceOptions | undefined | null): InvoiceResult
42
49
  /** `invoice` on a worker thread. */
43
50
  invoiceAsync(opts?: InvoiceOptions | undefined | null): Promise<InvoiceResult>
@@ -276,7 +283,9 @@ export interface PaymentDetail {
276
283
  *
277
284
  * `text` is the display text and `raw` the stored spelling (the serial for dates and
278
285
  * times). `format` is the cell's number-format code; `formatSupported` says whether `text`
279
- * was rendered from it, and when false `text` is the stored spelling.
286
+ * was rendered from it. When false, `text` is the stored spelling for a number, and for a
287
+ * Date or a Time the day and the clock written plainly (`2015-08-31`,
288
+ * `2015-08-31 12:00:00`, `12:00:00`).
280
289
  *
281
290
  * `formula` is the cell's formula without the leading `=`. On a cell that follows a shared
282
291
  * formula it is the master's formula with its relative references moved to this cell, and
@@ -547,5 +556,9 @@ export interface XlsxMeta {
547
556
  commentCount: number
548
557
  /** Whether dates count from 1904, as workbooks from old versions of Excel for Mac do. */
549
558
  date1904: boolean
559
+ /** The file is macro-enabled. Macros are never read or run. */
560
+ hasMacros: boolean
561
+ /** The file is a template. */
562
+ isTemplate: boolean
550
563
  sheets: Array<SheetMeta>
551
564
  }
Binary file