@sheetxl/query 0.8.0-beta.17 → 0.8.0-beta.18

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,7 +1,7 @@
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.17",
4
+ "version": "0.8.0-beta.18",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "type": "module",
7
7
  "exports": {
@@ -42,8 +42,8 @@
42
42
  "query"
43
43
  ],
44
44
  "dependencies": {
45
- "@sheetxl/primitives": "^0.8.0-beta.17",
46
- "@sheetxl/sdk": "^0.8.0-beta.17"
45
+ "@sheetxl/primitives": "^0.8.0-beta.18",
46
+ "@sheetxl/sdk": "^0.8.0-beta.18"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/node": "^26.6.4"
@@ -20,6 +20,17 @@ export interface AppendFeatureOptions {
20
20
  * never produce a section.
21
21
  */
22
22
  features?: ICellRange.Feature | readonly ICellRange.Feature[];
23
+ /**
24
+ * The extent the layers authored over cells list over, when it is not the range's: the
25
+ * `Sparkline`, `Conditionals` and `DataValidations` sections.
26
+ *
27
+ * @remarks
28
+ * They are not cell content, so a layer over empty cells lies outside the used range a sheet
29
+ * report is scoped to, as it does in Excel's `UsedRange`. A sheet report passes the whole sheet,
30
+ * so a layer that exists is always reported. Direct style stays scoped to the range: a column
31
+ * style is a format, not a layer, and its cells are not used either.
32
+ */
33
+ layerScope?: ICellRange;
23
34
  /**
24
35
  * Cap on regions listed per feature; the report notes truncation when exceeded.
25
36
  *
@@ -0,0 +1,15 @@
1
+ import { ICellRange, ISparklineGroup } from '@sheetxl/sdk';
2
+ /**
3
+ * `line of A2:E2 · group F2:F4 · high, low` — one cell's sparkline, as the cell report states it.
4
+ */
5
+ export declare const describeSparkline: (sparkline: ISparklineGroup.ISparkline) => string;
6
+ /**
7
+ * `line · reads A2:E4 · high, low` — the sparklines over `region`, one group's, as a region row
8
+ * states them.
9
+ *
10
+ * @remarks
11
+ * The cells read are spanned from the region's first and last sparkline, so this costs two
12
+ * lookups however many cells the region holds.
13
+ */
14
+ export declare const describeSparklineRegion: (region: ICellRange) => string | null;
15
+ //# sourceMappingURL=describeSparkline.d.ts.map