@sheetxl/query 0.8.0-beta.14 → 0.8.0-beta.16

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,8 +1,8 @@
1
1
  {
2
2
  "name": "@sheetxl/query",
3
3
  "description": "SheetXL - Workbook read surface and renderers (grep, reports) — capabilities declared once, adapted by any host surface",
4
- "version": "0.8.0-beta.14",
5
- "license": "SEE LICENSE IN <LICENSE>",
4
+ "version": "0.8.0-beta.16",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
8
8
  ".": {
@@ -42,8 +42,8 @@
42
42
  "query"
43
43
  ],
44
44
  "dependencies": {
45
- "@sheetxl/primitives": "^0.8.0-beta.14",
46
- "@sheetxl/sdk": "^0.8.0-beta.14"
45
+ "@sheetxl/primitives": "^0.8.0-beta.16",
46
+ "@sheetxl/sdk": "^0.8.0-beta.16"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^26.6.4"
@@ -1,22 +1,23 @@
1
1
  import { IPivotTable } from '@sheetxl/sdk';
2
2
  import { MarkdownBuilder } from './MarkdownBuilder';
3
3
  /**
4
- * Where a pivot table is laid out, as the address its markup declares — or `''`.
5
- *
6
- * @remarks
7
- * Read from {@link IPivotTable.getXML} because the table has no model yet and that markup is the
8
- * documented way to what it does not expose. The address is as the file wrote it: it does not
9
- * follow rows and columns inserted since, which is the table's own stated limit and not this
10
- * report's.
4
+ * Where a pivot table is laid out, as an address — or `''` once it is deleted.
11
5
  */
12
6
  export declare const describePivotLocation: (pivot: IPivotTable) => string;
13
7
  /**
14
- * `## Pivot Tables (2)` over ` A3:D20 PivotTable1` rows.
8
+ * `rows: Region > Product · columns: Year · filters: Channel · values: Sum of Sales` — the
9
+ * fields on each axis, outermost first, or `''` for a table SheetXL does not model.
10
+ */
11
+ export declare const describePivotFields: (pivot: IPivotTable) => string;
12
+ /**
13
+ * `## Pivot Tables (2)` over ` A3:D20 PivotTable1 from Data!A1:H500` rows, each followed by its
14
+ * fields. The source is written as `IPivotTableCollection.add` takes it.
15
15
  *
16
16
  * @remarks
17
17
  * A pivot table's output is ordinary cells, so `Contentful` already lists the block — as numbers
18
18
  * and labels, with nothing to say they are a summary of data held elsewhere and will be
19
- * overwritten by the next refresh in Excel. This section is what says so.
19
+ * overwritten by the next refresh. This section is what says so, and which tables no longer match
20
+ * their source.
20
21
  */
21
22
  export declare function appendPivotTables(md: MarkdownBuilder, pivots: readonly IPivotTable[]): void;
22
23
  //# sourceMappingURL=appendPivotTables.d.ts.map
@@ -1,5 +1,7 @@
1
- import { ITable } from '@sheetxl/sdk';
1
+ import { ICell, ITable } from '@sheetxl/sdk';
2
2
  import { MarkdownBuilder } from './MarkdownBuilder';
3
+ /** The table a cell is in, or `null`. The sheet's autofilter is not a table. */
4
+ export declare const tableOf: (cell: ICell) => ITable | null;
3
5
  /**
4
6
  * `## Tables (981 cells · 1 table)` over one `B3:J111 109×9 tblNOI` row per table, its facts
5
7
  * indented beneath it.