@sheetxl/io-xlsx 0.8.0-beta.11 → 0.8.0-beta.12
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/browser/esm/{Cv3R6fGatARKedSn.mjs → 9dwUocbOsJuAcmKn.mjs} +2514 -2058
- package/browser/esm/{CZ9I80og75SDRjv0.mjs → BIvDjK4Zl8bWRgl8.mjs} +2 -2
- package/browser/esm/{DatIA9fZbEPjW4bh.mjs → CcH5ITJFTMVWUJO9.mjs} +1810 -1294
- package/browser/esm/{yveeVJ6hKDI5KDEz.mjs → D8k22TSWPd_RHEpj.mjs} +1182 -1002
- package/browser/esm/{DICL6ecj9BdJv8aX.mjs → DKnOwucZq4z9_-r-.mjs} +4 -4
- package/browser/esm/{Bs0EzhdU8WgGfPzf.mjs → DO75RoAQTgMuVzXv.mjs} +2 -2
- package/browser/esm/{BiDqExNXiY7ykk8E.mjs → DVLJTjJCGqrJUa8c.mjs} +200 -199
- package/browser/esm/{CLWsOc6DO8l1G_LF.mjs → DeMZN_qj__PKo4Wh.mjs} +816 -764
- package/browser/esm/{CuAXx5i4uqTz-mMY.mjs → DsppUz-14Z7ti9i3.mjs} +1 -1
- package/browser/esm/{CzFYJPxmLyKgEKF0.mjs → aUBXbTh2r0u3x4Xo.mjs} +2 -2
- package/browser/esm/index.mjs +2 -2
- package/node/esm/{ipiyzn5Pfohw2afB.mjs → BmIIQODk4dBVIXA4.mjs} +1280 -1096
- package/node/esm/{CxlSbH7mmnEEsqmX.mjs → C-e5AO_4TnGywT-m.mjs} +1 -1
- package/node/esm/{DScqM1V4wPntNP6-.mjs → C78E45n6j2E8rruH.mjs} +2044 -1585
- package/node/esm/{Bpqm_PpGLpdjL47-.mjs → CDKm5s3JE_d99TJw.mjs} +242 -241
- package/node/esm/{CAJxmJdobUbzpUz5.mjs → DCaAOfuW-w_dx_qd.mjs} +2 -2
- package/node/esm/{fopiRR7OiVoEiF7B.mjs → DSgxL0sBZtWMydVl.mjs} +2 -2
- package/node/esm/DXusvwW73FUDSyvD.mjs +6367 -0
- package/node/esm/{B9Zn6H1RV07Ob377.mjs → DsyuWxk3bdGhJUQN.mjs} +512 -460
- package/node/esm/index.mjs +4 -4
- package/package.json +3 -3
- package/types/src/DataTableFormula.d.ts +36 -0
- package/types/src/chart/ChartSpaceXml.d.ts +2 -1
- package/types/src/chart/_chartCodecs.d.ts +2 -0
- package/types/src/reader/CellControls.d.ts +18 -0
- package/types/src/reader/LibreOfficeDataTable.d.ts +3 -2
- package/types/src/reader/domVisitors/ExternalLinkVisitor.d.ts +1 -1
- package/types/src/reader/domVisitors/FeaturePropertyBagVisitor.d.ts +27 -0
- package/types/src/reader/domVisitors/SheetStyleVisitor.d.ts +6 -0
- package/types/src/reader/domVisitors/index.d.ts +2 -4
- package/types/src/reader/saxVisitors/ContentTypesVisitor.d.ts +1 -0
- package/types/src/reader/saxVisitors/WorksheetVisitor.d.ts +14 -3
- package/types/src/richValue/ErrorRichValueHandler.d.ts +22 -0
- package/types/src/richValue/IRichValueHandler.d.ts +109 -0
- package/types/src/richValue/LocalImageRichValueHandler.d.ts +18 -0
- package/types/src/richValue/RichDataParts.d.ts +69 -0
- package/types/src/richValue/RichRecordWriter.d.ts +61 -0
- package/types/src/richValue/RichValueHandlers.d.ts +25 -0
- package/types/src/richValue/RichValueResolver.d.ts +54 -0
- package/types/src/richValue/WebImageRichValueHandler.d.ts +42 -0
- package/types/src/richValue/index.d.ts +7 -0
- package/types/src/writer/emitters/FeaturePropertyBagEmitter.d.ts +18 -0
- package/types/src/writer/emitters/RichValuePartsEmitters.d.ts +36 -0
- package/types/src/writer/emitters/RichValueRelEmitter.d.ts +12 -0
- package/types/src/writer/emitters/RichValueStructureEmitter.d.ts +4 -3
- package/types/src/writer/emitters/RichValueTypesEmitter.d.ts +3 -2
- package/types/src/writer/emitters/RichValueWebImageEmitter.d.ts +24 -0
- package/types/src/writer/emitters/SlicerEmitter.d.ts +5 -2
- package/types/src/writer/emitters/StylesEmitter.d.ts +2 -0
- package/types/src/writer/utils/CellControlComplements.d.ts +29 -0
- package/types/src/writer/utils/RichValueCollector.d.ts +81 -129
- package/types/src/writer/utils/SheetStyleLayout.d.ts +18 -5
- package/node/esm/DD-yXSBzvDYy0TX5.mjs +0 -5842
- package/types/src/reader/domVisitors/RichValueDataVisitor.d.ts +0 -7
- package/types/src/reader/domVisitors/RichValueStructureVisitor.d.ts +0 -6
package/node/esm/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.
|
|
2
|
+
* @license @sheetxl/io-xlsx - SheetXL - Import/Export from/to Excel - v0.8.0-beta.12
|
|
3
3
|
*
|
|
4
4
|
* (C) 2026-present SheetXL Inc. & Michael T. Ford
|
|
5
5
|
* License: The license can be found at https://www.sheetxl.com/license.
|
|
@@ -14,7 +14,7 @@ var a = [
|
|
|
14
14
|
177,
|
|
15
15
|
26,
|
|
16
16
|
225
|
|
17
|
-
], t = async () => (await import("./
|
|
17
|
+
], t = async () => (await import("./DCaAOfuW-w_dx_qd.mjs")).OffCryptoEncryption, r = {
|
|
18
18
|
key: "offcrypto",
|
|
19
19
|
description: "Office Document Encryption",
|
|
20
20
|
detect: async (e) => !!((e) => {
|
|
@@ -25,7 +25,7 @@ var a = [
|
|
|
25
25
|
})(e) && (await t()).detect(e),
|
|
26
26
|
decode: async (e, a) => (await t()).decode(e, a),
|
|
27
27
|
encode: async (e, a) => (await t()).encode(e, a)
|
|
28
|
-
}, i = e("io-xlsx:reader", () => import("./
|
|
28
|
+
}, i = e("io-xlsx:reader", () => import("./BmIIQODk4dBVIXA4.mjs").then((e) => e.t)), o = e("io-xlsx:writer", () => import("./DXusvwW73FUDSyvD.mjs")), l = "Excel", n = "ExcelMacro", c = "ExcelTemplate", m = "ExcelMacroTemplate", s = [
|
|
29
29
|
l,
|
|
30
30
|
n,
|
|
31
31
|
c,
|
|
@@ -94,7 +94,7 @@ var a = [
|
|
|
94
94
|
})
|
|
95
95
|
}, X = {
|
|
96
96
|
name: "@sheetxl/io-xlsx",
|
|
97
|
-
version: "0.8.0-beta.
|
|
97
|
+
version: "0.8.0-beta.12",
|
|
98
98
|
description: "XLSX I/O formats for SheetXL",
|
|
99
99
|
author: "SheetXL",
|
|
100
100
|
async register(e) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheetxl/io-xlsx",
|
|
3
3
|
"description": "SheetXL - Import/Export from/to Excel",
|
|
4
|
-
"version": "0.8.0-beta.
|
|
4
|
+
"version": "0.8.0-beta.12",
|
|
5
5
|
"license": "SEE LICENSE IN <LICENSE>",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"exports": {
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
"utilities"
|
|
45
45
|
],
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@sheetxl/sdk": "^0.8.0-beta.
|
|
48
|
-
"@sheetxl/utils": "^0.8.0-beta.
|
|
47
|
+
"@sheetxl/sdk": "^0.8.0-beta.12",
|
|
48
|
+
"@sheetxl/utils": "^0.8.0-beta.12",
|
|
49
49
|
"@xmldom/xmldom": "^0.9.12",
|
|
50
50
|
"@zip.js/zip.js": "^2.23.0",
|
|
51
51
|
"web-streams-polyfill": "^4.3.0",
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { IRange } from '@sheetxl/sdk';
|
|
2
|
+
/**
|
|
3
|
+
* A what-if data table as a file states one: what Excel's `<f t="dataTable">` and LibreOffice's
|
|
4
|
+
* per-cell `TABLE(...)` both describe, and what `TABLE(rowInput, columnInput, rows, columns)` at the
|
|
5
|
+
* results' top-left says in the model (DESIGN-DATA-TABLES §4.5).
|
|
6
|
+
*/
|
|
7
|
+
export interface DataTableDefinition {
|
|
8
|
+
/** The result cells. */
|
|
9
|
+
ref: IRange.Coords;
|
|
10
|
+
/** The row input's address; absent for a one-input table down a column. */
|
|
11
|
+
rowInput?: string;
|
|
12
|
+
/** The column input's address; absent for a one-input table along a row. */
|
|
13
|
+
columnInput?: string;
|
|
14
|
+
/** The row input was deleted: the argument is `#REF!`. `rowInput` is its last address, if known. */
|
|
15
|
+
rowInputDeleted?: boolean;
|
|
16
|
+
/** The column input was deleted. */
|
|
17
|
+
columnInputDeleted?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** The `TABLE(...)` formula a definition is in the model, without the `=`, placed at `ref`'s top-left. */
|
|
20
|
+
export declare const toDataTableFormula: (table: DataTableDefinition) => string;
|
|
21
|
+
/**
|
|
22
|
+
* The definition a formula is, when the whole formula is one `TABLE(...)` call a file can hold as
|
|
23
|
+
* Excel's tag: two inputs that are each empty, `#REF!` or an unqualified cell, and two literal
|
|
24
|
+
* counts. `null` otherwise (a `TABLE` inside an expression, a computed count).
|
|
25
|
+
*
|
|
26
|
+
* @param text The formula text at the anchor, with or without the `=`.
|
|
27
|
+
* @param anchor The cell the formula sits in: the results' top-left.
|
|
28
|
+
*/
|
|
29
|
+
export declare const parseDataTableFormula: (text: string, anchor: IRange.CellCoords) => DataTableDefinition | null;
|
|
30
|
+
/**
|
|
31
|
+
* Excel's `<f t="dataTable">` attributes for a definition, in Excel's order. `r1` is the row input
|
|
32
|
+
* of a two-input table, else the one input, with `dtr` saying which; Excel writes `dt2D` and `dtr`
|
|
33
|
+
* both ways. A deleted input is `del1`/`del2` with no address (probe P8, PLAN-DATA-TABLES §0b).
|
|
34
|
+
*/
|
|
35
|
+
export declare const dataTableAttributes: (table: DataTableDefinition) => Record<string, string>;
|
|
36
|
+
//# sourceMappingURL=DataTableFormula.d.ts.map
|
|
@@ -28,7 +28,8 @@ export declare const DECLARATION = "<?xml version=\"1.0\" encoding=\"UTF-8\" sta
|
|
|
28
28
|
export declare const writeChartSpace: (chartSpace: ChartModel.ChartSpace) => string;
|
|
29
29
|
/**
|
|
30
30
|
* The markup a chart part is saved as: `xml` as it is while it states what `model` does, so a
|
|
31
|
-
* chart nothing has changed is written byte for byte; otherwise the part written from `model`.
|
|
31
|
+
* chart nothing has changed is written byte for byte; otherwise the part written from `model`. A
|
|
32
|
+
* part stating a label position Excel refuses is always written from `model`, which leaves it out.
|
|
32
33
|
*
|
|
33
34
|
* @param xml The markup the chart was read from, when the part still carries it.
|
|
34
35
|
*/
|
|
@@ -4,6 +4,8 @@ import { XmlWriter } from './_xml';
|
|
|
4
4
|
export declare const NUMBER_FORMAT: Codec;
|
|
5
5
|
/** The DrawingML element name of a group. */
|
|
6
6
|
export declare const groupElementName: (group: Pick<ChartModel.Group, "type" | "is3D">) => string;
|
|
7
|
+
/** Whether a group, a series or a point of the chart states a `dLblPos` its type does not offer. */
|
|
8
|
+
export declare const statesRefusedLabelPosition: (chartSpace: ChartModel.ChartSpace) => boolean;
|
|
7
9
|
/** `c:chartSpace`. */
|
|
8
10
|
export declare const CHART_SPACE: Codec;
|
|
9
11
|
export declare const writeChartSpaceElement: (writer: XmlWriter, chartSpace: ChartModel.ChartSpace) => void;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IWorkbook } from '@sheetxl/sdk';
|
|
2
|
+
import { FeaturePropertyBags } from './domVisitors/FeaturePropertyBagVisitor';
|
|
3
|
+
/** The `paramMap` key under which the styles part leaves its cell xfs' complement indices. */
|
|
4
|
+
export declare const XF_COMPLEMENTS_PARAM = "xfComplements";
|
|
5
|
+
/**
|
|
6
|
+
* Splits the cell-control layer back out of the xfs: Excel's per-format checkboxes become the
|
|
7
|
+
* model's anchored `cellControls`, and the styles stay styles.
|
|
8
|
+
*
|
|
9
|
+
* Excel stores a checkbox on the cell's xf (`xfComplement` → the feature property bags), the model
|
|
10
|
+
* keeps it apart. Runs after `applyHeaderStyles`, so `directStyles` already holds every cell's
|
|
11
|
+
* resolved xf as runs (a cell's own over its row's over its column's); each run whose xf carries a
|
|
12
|
+
* control becomes a range of that control, one entry per control per sheet, never a per-cell walk.
|
|
13
|
+
*
|
|
14
|
+
* xf 0 is skipped: it is the format of every unstyled cell, and a control there would cover the
|
|
15
|
+
* whole sheet.
|
|
16
|
+
*/
|
|
17
|
+
export declare const applyCellControls: (jsonWB: IWorkbook.JSON, xfComplements: ReadonlyMap<number, number> | undefined, bags: FeaturePropertyBags | undefined) => void;
|
|
18
|
+
//# sourceMappingURL=CellControls.d.ts.map
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { IRange
|
|
1
|
+
import { IRange } from '@sheetxl/sdk';
|
|
2
|
+
import { DataTableDefinition } from '../DataTableFormula';
|
|
2
3
|
/**
|
|
3
4
|
* The table a `TABLE(...)` formula describes, read at the table's first result cell; `null` when it
|
|
4
5
|
* is not a table laid out as Excel lays one out.
|
|
@@ -7,5 +8,5 @@ import { IRange, IDataTable } from '@sheetxl/sdk';
|
|
|
7
8
|
* there).
|
|
8
9
|
* @param results The result cells: the rectangle every cell of which carries this formula.
|
|
9
10
|
*/
|
|
10
|
-
export declare const readLibreOfficeDataTable: (text: string, results: IRange.Coords) =>
|
|
11
|
+
export declare const readLibreOfficeDataTable: (text: string, results: IRange.Coords) => DataTableDefinition | null;
|
|
11
12
|
//# sourceMappingURL=LibreOfficeDataTable.d.ts.map
|
|
@@ -23,7 +23,7 @@ export declare class ExternalLinkVisitor implements Visitor {
|
|
|
23
23
|
* Cached types measured across the bench corpus are `n`, `str`, `b`, `e` — strings are inline in
|
|
24
24
|
* `<v>`, never an sst index (design doc §1). Mirrors `WorksheetVisitor`'s scalar coercion for `n`
|
|
25
25
|
* / `b` / `e`; `str` here is the literal value (unlike a live sheet's `str`, which is a formula
|
|
26
|
-
* marker whose text lives elsewhere), so it needs no `{t,v}` wrapper — `
|
|
26
|
+
* marker whose text lives elsewhere), so it needs no `{t,v}` wrapper — `Scalar.JSON`'s untyped arm
|
|
27
27
|
* is a bare JS primitive, self-typed at runtime.
|
|
28
28
|
*/
|
|
29
29
|
private _readCellValue;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { ICellControl } from '@sheetxl/sdk';
|
|
2
|
+
import { Visitor, ExecutionContext } from '../dom';
|
|
3
|
+
/**
|
|
4
|
+
* What `xl/featurePropertyBag/featurePropertyBag.xml` says the cell xfs' complements are.
|
|
5
|
+
*
|
|
6
|
+
* @remarks
|
|
7
|
+
* `controls[i]` is the control an xf with `xfComplement i="i"` carries, or `null` when the chain
|
|
8
|
+
* names something SheetXL does not read (a foreign bag type is warned about, and its cells keep
|
|
9
|
+
* their values).
|
|
10
|
+
*/
|
|
11
|
+
export interface FeaturePropertyBags {
|
|
12
|
+
controls: (ICellControl.JSON | null)[];
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Reads the feature property bags into the controls their complements stand for.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* The chain (measured 2026-10-27, `checkbox.xlsx`): the `XFComplements` bag's
|
|
19
|
+
* `MappedFeaturePropertyBags` array lists `XFComplement` bags, by position among all bags; each
|
|
20
|
+
* names an `XFControls` bag (`k="XFControls"`), which names the control bag (`k="CellControl"`),
|
|
21
|
+
* whose type is the control (`Checkbox`).
|
|
22
|
+
*/
|
|
23
|
+
export declare class FeaturePropertyBagVisitor implements Visitor {
|
|
24
|
+
visit(context: ExecutionContext, elem: Element, jsonParent: any): FeaturePropertyBags;
|
|
25
|
+
private _readBag;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=FeaturePropertyBagVisitor.d.ts.map
|
|
@@ -16,6 +16,12 @@ export declare class SheetStyleVisitor extends SheetColorContainerVisitor implem
|
|
|
16
16
|
* the sheets are read (`applyHiddenFormulas`), since a format alone cannot say it.
|
|
17
17
|
*/
|
|
18
18
|
collectHiddenXfs(elem: Element): Set<number>;
|
|
19
|
+
/**
|
|
20
|
+
* The cell xfs whose `extLst` carries an `xfComplement`, by xf index, with the complement index.
|
|
21
|
+
* They become cell controls once the sheets and the feature property bags are read
|
|
22
|
+
* (`applyCellControls`); the style itself does not keep them.
|
|
23
|
+
*/
|
|
24
|
+
collectXfComplements(elem: Element): Map<number, number>;
|
|
19
25
|
processProtection(context: ExecutionContext, elem: Element, jsonParent: any): any;
|
|
20
26
|
processDXF(context: ExecutionContext, elem: Element, jsonParent: ICellStyle.JSON): any;
|
|
21
27
|
processDXFs(context: ExecutionContext, elem: Element, jsonParent: any[]): any;
|
|
@@ -27,8 +27,7 @@ import { DrawingPicVisitor } from './DrawingPicVisitor';
|
|
|
27
27
|
import { DrawingGrpSpVisitor } from './DrawingGrpSpVisitor';
|
|
28
28
|
import { DrawingCxnSpVisitor } from './DrawingCxnSpVisitor';
|
|
29
29
|
import { MetadataVisitor } from './MetadataVisitor';
|
|
30
|
-
import {
|
|
31
|
-
import { RichValueDataVisitor } from './RichValueDataVisitor';
|
|
30
|
+
import { FeaturePropertyBagVisitor } from './FeaturePropertyBagVisitor';
|
|
32
31
|
import { CommentsVisitor } from './CommentsVisitor';
|
|
33
32
|
import { CommentVisitor } from './CommentVisitor';
|
|
34
33
|
import { ThreadedCommentsVisitor } from './ThreadedCommentsVisitor';
|
|
@@ -64,8 +63,7 @@ export declare const BuiltInVisitors: {
|
|
|
64
63
|
DrawingGrpSpVisitor: typeof DrawingGrpSpVisitor;
|
|
65
64
|
DrawingCxnSpVisitor: typeof DrawingCxnSpVisitor;
|
|
66
65
|
MetadataVisitor: typeof MetadataVisitor;
|
|
67
|
-
|
|
68
|
-
RichValueDataVisitor: typeof RichValueDataVisitor;
|
|
66
|
+
FeaturePropertyBagVisitor: typeof FeaturePropertyBagVisitor;
|
|
69
67
|
CommentsVisitor: typeof CommentsVisitor;
|
|
70
68
|
CommentVisitor: typeof CommentVisitor;
|
|
71
69
|
ThreadedCommentsVisitor: typeof ThreadedCommentsVisitor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Tuple,
|
|
1
|
+
import { Tuple, Scalar, IWorksheet } from '@sheetxl/sdk';
|
|
2
2
|
import { SaxParser } from '../sax';
|
|
3
3
|
import { OnWarning } from '../Warning';
|
|
4
4
|
/**
|
|
@@ -17,7 +17,7 @@ export declare const PARAM_RICH_STRINGS = "richStrings";
|
|
|
17
17
|
/** The workbook's Normal font (`IFontStyle.JSON`), which a rich run's `<rPr>` is read over. */
|
|
18
18
|
export declare const PARAM_DEFAULT_FONT = "defaultFont";
|
|
19
19
|
/** What an inline string resolves to: a shared-string id, or a rich value when it has runs. */
|
|
20
|
-
type InlineStringResult = number |
|
|
20
|
+
type InlineStringResult = number | Scalar.JSONTypedValue | undefined;
|
|
21
21
|
export declare const createWorksheetSaxVisitor: (sheet: IWorksheet.JSON, getRef: (relId: string, as?: "resource" | "legacyDrawing" | "part" | "formControl") => any, // TODO - this should be a context like DOM.
|
|
22
22
|
addSharedString: (str: string) => number, mapDxfs?: Map<number, any>, onEnd?: () => void, onWarning?: OnWarning, onProgress?: (amount: number, total?: number) => void, paramMap?: Map<string, any>) => SaxParser.EventHandler;
|
|
23
23
|
export declare class RowAttributeType {
|
|
@@ -32,6 +32,17 @@ export declare class RowAttributeType {
|
|
|
32
32
|
static S: number;
|
|
33
33
|
static Spans: number;
|
|
34
34
|
}
|
|
35
|
-
|
|
35
|
+
/**
|
|
36
|
+
* The address of a formula that is a `HYPERLINK` call and nothing else: the first argument when
|
|
37
|
+
* it is a literal string, `null` when it is computed (`HYPERLINK(B2)`), and `undefined` when
|
|
38
|
+
* the formula is not a top-level `HYPERLINK` call.
|
|
39
|
+
*
|
|
40
|
+
* @remarks
|
|
41
|
+
* Excel stores a `HYPERLINK` result as its plain value (`t="str"` friendly name) and nothing in
|
|
42
|
+
* `<hyperlinks>`; it makes the cell a link on open from the formula text. A nested call
|
|
43
|
+
* (`IF(c, HYPERLINK(...))`) is not read as a link.
|
|
44
|
+
*/
|
|
45
|
+
export declare const topLevelHyperlinkAddress: (a1: string) => string | null | undefined;
|
|
46
|
+
export declare const createSheetDataSaxVisitor: (tupleBuilder: Tuple.IBuilder<Scalar.JSON>, sheet: IWorksheet.JSON, delegate: SaxParser.EventHandler, onWarning: OnWarning | undefined, onProgress: ((amount: number, total?: number) => void) | undefined, stringHandler: SaxParser.EventHandler<InlineStringResult>, paramMap?: Map<string, any>, addSharedString?: (str: string) => number, isZeroHeight?: () => boolean, lastInlineText?: () => string) => SaxParser.EventHandler;
|
|
36
47
|
export {};
|
|
37
48
|
//# sourceMappingURL=WorksheetVisitor.d.ts.map
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IRichValueHandler } from './IRichValueHandler';
|
|
2
|
+
/**
|
|
3
|
+
* Excel's `_error` structure: an error Excel has no cell error code for (`#SPILL!`, `#CALC!`,
|
|
4
|
+
* `#BUSY!`, …), written as `#VALUE!` with a rich value saying which.
|
|
5
|
+
*
|
|
6
|
+
* ```xml
|
|
7
|
+
* <s t="_error">
|
|
8
|
+
* <k n="errorType" t="i"/>
|
|
9
|
+
* <k n="subType" t="i"/>
|
|
10
|
+
* </s>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* @remarks
|
|
14
|
+
* `errorType` does NOT align to `ERROR.TYPE()`: the OOXML sequence is 0-based and skips `#FIELD!`,
|
|
15
|
+
* so it is the error's code minus one. Excel's other keys (`#SPILL!`'s `rwOffset`/`colOffset`,
|
|
16
|
+
* `#PYTHON!`'s `correlationId`, a fetch's `subType` 10) are read past and written as 0 or not at
|
|
17
|
+
* all: an error with a subtype is a rich error kind, not yet built.
|
|
18
|
+
*
|
|
19
|
+
* @internal
|
|
20
|
+
*/
|
|
21
|
+
export declare const ErrorRichValueHandler: IRichValueHandler;
|
|
22
|
+
//# sourceMappingURL=ErrorRichValueHandler.d.ts.map
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
import { IRichData, IWorkbook, Scalar } from '@sheetxl/sdk';
|
|
2
|
+
import { DomParser, FileLookup } from '../reader/ReaderUtils';
|
|
3
|
+
import { EmitContext } from '../writer/builder';
|
|
4
|
+
/**
|
|
5
|
+
* OOXML primitive-value type codes used in `<k t="…">` attributes inside `<rvStructures>`.
|
|
6
|
+
*
|
|
7
|
+
* "d" - Date/Time (ISO-8601 string)
|
|
8
|
+
* "i" - Integer (32-bit signed)
|
|
9
|
+
* "b" - Boolean
|
|
10
|
+
* "e" - Error value
|
|
11
|
+
* "s" - Inline string
|
|
12
|
+
* "r" - Nested rich value
|
|
13
|
+
* "a" - Array data (rdarray.xml)
|
|
14
|
+
* "spb" - Supporting property bag
|
|
15
|
+
*/
|
|
16
|
+
export type RichPrimitiveType = 'd' | 'i' | 'b' | 'e' | 's' | 'r' | 'a' | 'spb';
|
|
17
|
+
/**
|
|
18
|
+
* One key of a rich value structure: its name (`n=` on `<k>`), its type (`t=`), and the text
|
|
19
|
+
* written when a value has none for it (`''` when omitted).
|
|
20
|
+
*/
|
|
21
|
+
export type RichValueProp = [name: string, type: RichPrimitiveType, defaultValue?: string];
|
|
22
|
+
/** A key's flags in `rdRichValueTypes.xml`: `[flag name, value]`. */
|
|
23
|
+
export type RichValueKeyFlags = [key: string, flags: [name: string, value: string][]];
|
|
24
|
+
/**
|
|
25
|
+
* How one Excel rich value structure (`<s t="_webimage">`) reads into a cell value and writes back
|
|
26
|
+
* out of one.
|
|
27
|
+
*
|
|
28
|
+
* @remarks
|
|
29
|
+
* One handler per structure type. A handler maps the structure's keys to and from a cell value (an
|
|
30
|
+
* error, or the JSON of one of our rich data kinds) and owns the parts the structure needs beyond
|
|
31
|
+
* the rich value itself (the web image part and its media for `_webimage`). It works per file:
|
|
32
|
+
* {@link beginRead} and {@link beginWrite} start one file's state, as `strings.beginPersist()` does.
|
|
33
|
+
*
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
export interface IRichValueHandler {
|
|
37
|
+
/** Excel's structure type: `t=` on `<s>`. */
|
|
38
|
+
readonly structure: string;
|
|
39
|
+
/**
|
|
40
|
+
* The types of our rich data kinds this structure writes (`IRichData.getKind().getName()`). An error
|
|
41
|
+
* that is not a rich value is written by the `_error` structure, which lists none.
|
|
42
|
+
*/
|
|
43
|
+
readonly kinds: readonly string[];
|
|
44
|
+
/**
|
|
45
|
+
* Whether this structure writes `value`, where two structures write one kind (a web picture and
|
|
46
|
+
* a picture placed in a cell are both `image`). Omitted, every value of its kinds.
|
|
47
|
+
*/
|
|
48
|
+
writes?(value: Scalar): boolean;
|
|
49
|
+
/** Starts reading one file: reads the parts the structure resolves against. */
|
|
50
|
+
beginRead(ctx: RichValueReadContext): IRichValueReader;
|
|
51
|
+
/** Starts writing one file. */
|
|
52
|
+
beginWrite(ctx: RichValueWriteContext): IRichValueWriter;
|
|
53
|
+
}
|
|
54
|
+
/** What a handler reads a file's parts through. @internal */
|
|
55
|
+
export interface RichValueReadContext {
|
|
56
|
+
getFile: FileLookup;
|
|
57
|
+
domParser: DomParser;
|
|
58
|
+
/** The external target of the relationship `relId` of `part`, or `null`. */
|
|
59
|
+
getAddress(part: string, relId: string): string | null;
|
|
60
|
+
/** The bytes of the part the relationship `relId` of `part` names, or `null`. */
|
|
61
|
+
getBytes(part: string, relId: string): ArrayBuffer | null;
|
|
62
|
+
/**
|
|
63
|
+
* Adds a picture the file holds to the workbook as the copy of `source`, and answers the id a
|
|
64
|
+
* value's JSON names it by (`resId`).
|
|
65
|
+
*/
|
|
66
|
+
addFetched(bytes: ArrayBuffer, source: string): number | null;
|
|
67
|
+
/** Marks a part as read into the model, so it is not carried through as unknown. */
|
|
68
|
+
markAbsorbed(part: string): void;
|
|
69
|
+
}
|
|
70
|
+
/** One file's reading of a structure. @internal */
|
|
71
|
+
export interface IRichValueReader {
|
|
72
|
+
/**
|
|
73
|
+
* The cell value one `<rv>` reads as: an error, or a rich data kind's JSON.
|
|
74
|
+
*
|
|
75
|
+
* @param values The `<v>`s by key name; integers are numbers, everything else text.
|
|
76
|
+
* @returns `undefined` when the values cannot be read; the rich value is then kept as read.
|
|
77
|
+
*/
|
|
78
|
+
read(values: Record<string, string | number>): Scalar | IRichData.JSON | undefined;
|
|
79
|
+
}
|
|
80
|
+
/** What a handler writes a file through. @internal */
|
|
81
|
+
export interface RichValueWriteContext {
|
|
82
|
+
readonly workbook: IWorkbook;
|
|
83
|
+
}
|
|
84
|
+
/** One file's writing of a structure. @internal */
|
|
85
|
+
export interface IRichValueWriter {
|
|
86
|
+
/** {@inheritDoc IRichValueHandler.structure} */
|
|
87
|
+
readonly structure: string;
|
|
88
|
+
/** The keys written, as `<k>` in `rdrichvaluestructure.xml`; an `<rv>` has a `<v>` for each. */
|
|
89
|
+
readonly props: readonly RichValueProp[];
|
|
90
|
+
/**
|
|
91
|
+
* The `<v>`s for one cell value, parallel to {@link props}, or `null` when it cannot be
|
|
92
|
+
* written by this structure.
|
|
93
|
+
*
|
|
94
|
+
* @param formula The cell's formula text, or `null` for a literal.
|
|
95
|
+
*/
|
|
96
|
+
write(value: Scalar, formula: string | null): string[] | null;
|
|
97
|
+
/** The key flags written for the structure in `rdRichValueTypes.xml`, if any. */
|
|
98
|
+
getKeyFlags?(): readonly RichValueKeyFlags[];
|
|
99
|
+
/** Adds the parts the written values need, once every sheet is written. */
|
|
100
|
+
addParts?(ctx: EmitContext): void;
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* The `<v>`s of `props` read from a record by name: a missing or `null` value writes the prop's
|
|
104
|
+
* default.
|
|
105
|
+
*
|
|
106
|
+
* @internal
|
|
107
|
+
*/
|
|
108
|
+
export declare const valuesOf: (props: readonly RichValueProp[], record: Record<string, unknown>) => string[];
|
|
109
|
+
//# sourceMappingURL=IRichValueHandler.d.ts.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { IRichValueHandler } from './IRichValueHandler';
|
|
2
|
+
/** The part listing the pictures `_localImage` rich values name, by position. */
|
|
3
|
+
export declare const RICH_VALUE_REL_PART = "/xl/richData/richValueRel.xml";
|
|
4
|
+
/**
|
|
5
|
+
* Excel's `_localImage` structure: a picture placed in a cell (Insert ▸ Picture ▸ Place in Cell),
|
|
6
|
+
* read as and written from an `image` value whose source is `resource:<id>` and which holds its
|
|
7
|
+
* picture.
|
|
8
|
+
*
|
|
9
|
+
* @remarks
|
|
10
|
+
* The structure names its picture by position in richValueRel.xml, whose relationship is the media
|
|
11
|
+
* part; there is no source URL, so reading mints one. A literal is `CalcOrigin` 5 (an Excel file,
|
|
12
|
+
* 2026-10-28); a formula over one is written as a `_webimage`'s would be, unprobed. Alt text has
|
|
13
|
+
* no key here: the file for it is unprobed.
|
|
14
|
+
*
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export declare const LocalImageRichValueHandler: IRichValueHandler;
|
|
18
|
+
//# sourceMappingURL=LocalImageRichValueHandler.d.ts.map
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import { DomParser, FileLookup } from '../reader/ReaderUtils';
|
|
2
|
+
/** The rich data parts, by zip name. */
|
|
3
|
+
export declare const RICH_DATA_PART: {
|
|
4
|
+
readonly structures: "xl/richData/rdrichvaluestructure.xml";
|
|
5
|
+
readonly values: "xl/richData/rdrichvalue.xml";
|
|
6
|
+
readonly arrays: "xl/richData/rdarray.xml";
|
|
7
|
+
readonly bagStructures: "xl/richData/rdsupportingpropertybagstructure.xml";
|
|
8
|
+
readonly bags: "xl/richData/rdsupportingpropertybag.xml";
|
|
9
|
+
readonly types: "xl/richData/rdRichValueTypes.xml";
|
|
10
|
+
readonly richStyles: "xl/richData/richStyles.xml";
|
|
11
|
+
};
|
|
12
|
+
/** A key and its type code (`t=`; absent for a number). */
|
|
13
|
+
export type RichKey = readonly [name: string, type: string | null];
|
|
14
|
+
/** One `<s>` of rdrichvaluestructure.xml. */
|
|
15
|
+
export interface RichStructure {
|
|
16
|
+
readonly t: string;
|
|
17
|
+
readonly keys: readonly RichKey[];
|
|
18
|
+
}
|
|
19
|
+
/** One `<rv>`: its structure, its `<v>`s in key order, and the `<fb>` cached number if any. */
|
|
20
|
+
export interface RawRichValue {
|
|
21
|
+
readonly s: number;
|
|
22
|
+
readonly values: readonly string[];
|
|
23
|
+
readonly fb: string | null;
|
|
24
|
+
}
|
|
25
|
+
/** A typed item of an array or a bag array: `<v t="…">text</v>`. */
|
|
26
|
+
export interface RichItem {
|
|
27
|
+
readonly t: string | null;
|
|
28
|
+
readonly text: string;
|
|
29
|
+
}
|
|
30
|
+
/** One `<a>` of rdarray.xml: its items, row major. */
|
|
31
|
+
export interface RichArrayPart {
|
|
32
|
+
readonly rows: number;
|
|
33
|
+
readonly columns: number;
|
|
34
|
+
readonly items: readonly RichItem[];
|
|
35
|
+
}
|
|
36
|
+
/** One `<spb>`: its bag structure and its `<v>`s in key order. */
|
|
37
|
+
export interface RichBag {
|
|
38
|
+
readonly s: number;
|
|
39
|
+
readonly values: readonly string[];
|
|
40
|
+
}
|
|
41
|
+
/** A key's flags, by flag name (`ShowInCardView` → `'0'`). */
|
|
42
|
+
export type RichKeyFlags = ReadonlyMap<string, string>;
|
|
43
|
+
/** One `<rSty>` of richStyles.xml, resolved: its number format and its card roles. */
|
|
44
|
+
export interface RichStyle {
|
|
45
|
+
readonly numberFormat: string | null;
|
|
46
|
+
readonly isTitle: boolean;
|
|
47
|
+
readonly isHero: boolean;
|
|
48
|
+
}
|
|
49
|
+
/** Everything the rich data parts of one file say. Empty lists for parts the file lacks. */
|
|
50
|
+
export interface RichDataParts {
|
|
51
|
+
readonly structures: readonly RichStructure[];
|
|
52
|
+
readonly values: readonly RawRichValue[];
|
|
53
|
+
readonly arrays: readonly RichArrayPart[];
|
|
54
|
+
readonly bagStructures: readonly (readonly RichKey[])[];
|
|
55
|
+
readonly bagArrays: readonly (readonly RichItem[])[];
|
|
56
|
+
readonly bags: readonly RichBag[];
|
|
57
|
+
/** Flags every structure's keys share. */
|
|
58
|
+
readonly globalKeyFlags: ReadonlyMap<string, RichKeyFlags>;
|
|
59
|
+
/** Flags by structure type, then key. */
|
|
60
|
+
readonly typeKeyFlags: ReadonlyMap<string, ReadonlyMap<string, RichKeyFlags>>;
|
|
61
|
+
readonly richStyles: readonly RichStyle[];
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Reads every rich data part of a file. A part the file lacks reads as empty.
|
|
65
|
+
*
|
|
66
|
+
* @internal
|
|
67
|
+
*/
|
|
68
|
+
export declare const readRichDataParts: (getFile: FileLookup, domParser: DomParser) => RichDataParts;
|
|
69
|
+
//# sourceMappingURL=RichDataParts.d.ts.map
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { IRichType, Scalar } from '@sheetxl/sdk';
|
|
2
|
+
import { RichPrimitiveType } from './IRichValueHandler';
|
|
3
|
+
/** A key of a structure or a bag structure: its name and type code (none for a number). */
|
|
4
|
+
export type RichStructureKey = readonly [name: string, type?: RichPrimitiveType | 'spba', defaultValue?: string];
|
|
5
|
+
/** A structure written: `<s t>` and its keys. @internal */
|
|
6
|
+
export interface RichValueStructureDef {
|
|
7
|
+
readonly structure: string;
|
|
8
|
+
readonly props: readonly RichStructureKey[];
|
|
9
|
+
}
|
|
10
|
+
/** An item of an array or a bag array: `<v t>`. */
|
|
11
|
+
export type RichItemText = readonly [type: string | undefined, text: string];
|
|
12
|
+
/** A `richStyles` entry. */
|
|
13
|
+
export interface RichStyleDef {
|
|
14
|
+
readonly numberFormat?: string;
|
|
15
|
+
readonly isTitle?: boolean;
|
|
16
|
+
readonly isHero?: boolean;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* What the record writer writes into: the file's rich data tables. Every add answers the index
|
|
20
|
+
* the file names the entry by; equal entries share one.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export interface RichValueSink {
|
|
25
|
+
/** The structure `t` with `keys`, added when new. */
|
|
26
|
+
structureFor(t: string, keys: readonly RichStructureKey[]): RichValueStructureDef;
|
|
27
|
+
/** An `<rv>`: its index in rdrichvalue.xml. */
|
|
28
|
+
addValue(structure: RichValueStructureDef, values: readonly string[], fb?: string): number;
|
|
29
|
+
/** An `<rv>` for a value a handler writes (an error, a picture), or `null`. */
|
|
30
|
+
addHandled(value: Scalar): number | null;
|
|
31
|
+
/** An `<a>` of rdarray.xml. */
|
|
32
|
+
addArray(rows: number, columns: number, items: readonly RichItemText[]): number;
|
|
33
|
+
/** An `<spb>`. */
|
|
34
|
+
addBag(keys: readonly RichStructureKey[], values: readonly string[]): number;
|
|
35
|
+
/** An `<a>` of the bags' `spbArrays`. */
|
|
36
|
+
addBagArray(items: readonly RichItemText[]): number;
|
|
37
|
+
/** A `richStyles` entry, 1-based as bags name them. */
|
|
38
|
+
addRichStyle(style: RichStyleDef): number;
|
|
39
|
+
/** A key's flags for the structure type `t`. */
|
|
40
|
+
addKeyFlags(t: string, key: string, flags: readonly (readonly [name: string, value: string])[]): void;
|
|
41
|
+
}
|
|
42
|
+
/** What a kind is a kind of: its name up to the digest (`_linkedentitycore:3f…` → `_linkedentitycore`). */
|
|
43
|
+
export declare const baseOfKind: (kind: IRichType) => string;
|
|
44
|
+
/**
|
|
45
|
+
* Writes rich values as Excel's rich data: records as `<rv>`s of their kind's structure, nested
|
|
46
|
+
* values by index, presentation back into Excel's bags.
|
|
47
|
+
*
|
|
48
|
+
* @remarks
|
|
49
|
+
* The inverse of `createRichValueResolver`. A key's type follows its kind's declared value type,
|
|
50
|
+
* so a number in a `rich` key is written as a `_formattednumber` carrying its format (geography)
|
|
51
|
+
* and a number in a number key takes its format from the record's `_Format` bag (finance). A full
|
|
52
|
+
* entity record is written with the form a cell or a parent names it by: the finance wrapper
|
|
53
|
+
* (`_linkedentity`, `%cvi`), or the geography stub (`_linkedentity2`) beside its full record.
|
|
54
|
+
*
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
export declare const createRichRecordWriter: (sink: RichValueSink) => {
|
|
58
|
+
/** The `<rv>` a cell holding `value` names, or `null` when `value` is not one this writes. */
|
|
59
|
+
writeCell: (value: Scalar) => number | null;
|
|
60
|
+
};
|
|
61
|
+
//# sourceMappingURL=RichRecordWriter.d.ts.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Scalar } from '@sheetxl/sdk';
|
|
2
|
+
import { IRichValueHandler } from './IRichValueHandler';
|
|
3
|
+
/**
|
|
4
|
+
* The rich value handlers the xlsx reader and writer dispatch through: one per Excel structure
|
|
5
|
+
* type, found by the structure when reading and by the value when writing.
|
|
6
|
+
*
|
|
7
|
+
* @internal
|
|
8
|
+
*/
|
|
9
|
+
export declare namespace RichValueHandlers {
|
|
10
|
+
/**
|
|
11
|
+
* Adds a handler, replacing one for the same structure. Where several write one kind, the one
|
|
12
|
+
* registered last that {@link IRichValueHandler.writes} the value writes it.
|
|
13
|
+
*/
|
|
14
|
+
function register(handler: IRichValueHandler): void;
|
|
15
|
+
/** Every handler, in registration order. */
|
|
16
|
+
function getAll(): IRichValueHandler[];
|
|
17
|
+
/** The handler that reads a structure type (`t=` on `<s>`), or `null`. */
|
|
18
|
+
function getByStructure(structure: string): IRichValueHandler | null;
|
|
19
|
+
/**
|
|
20
|
+
* The handler that writes a cell value: its kind's for a rich value; for an error with no kind
|
|
21
|
+
* of its own, `_error`. `null` when none does.
|
|
22
|
+
*/
|
|
23
|
+
function getForValue(value: Scalar): IRichValueHandler | null;
|
|
24
|
+
}
|
|
25
|
+
//# sourceMappingURL=RichValueHandlers.d.ts.map
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { IRichData, Scalar } from '@sheetxl/sdk';
|
|
2
|
+
import { IRichValueReader } from './IRichValueHandler';
|
|
3
|
+
import { RichDataParts } from './RichDataParts';
|
|
4
|
+
/**
|
|
5
|
+
* The name base of a kind made from a supporting property bag structure. A rich value
|
|
6
|
+
* structure's kind is based on its `t`, which Excel never starts with `#`.
|
|
7
|
+
*
|
|
8
|
+
* @internal
|
|
9
|
+
*/
|
|
10
|
+
export declare const BAG_KIND_BASE = "#spb";
|
|
11
|
+
/**
|
|
12
|
+
* Excel's reserved presentation keys: read into {@link IRichMeta}, not held as values. The kind
|
|
13
|
+
* still declares them, in file order, so a value is written back with the structure it was read
|
|
14
|
+
* with.
|
|
15
|
+
*
|
|
16
|
+
* - `_Display`: the card (`^Order`, `TitleProperty`, `SubTitleProperty`), for the kind.
|
|
17
|
+
* - `_Icon`: the icon, for the kind.
|
|
18
|
+
* - `_Flags`: per property, where it is not offered (`ShowInCardView`, …).
|
|
19
|
+
* - `_Format`: per property, a `richStyles` entry (1-based): number format, title, hero image.
|
|
20
|
+
* - `_SubLabel`: per property, its caption.
|
|
21
|
+
*
|
|
22
|
+
* @internal
|
|
23
|
+
*/
|
|
24
|
+
export declare const META_KEYS: ReadonlySet<string>;
|
|
25
|
+
/**
|
|
26
|
+
* A property name as a bag key names it. Excel escapes a key that starts with a reserved character
|
|
27
|
+
* (`%`, `^`, a backtick) with a backtick: the `_Flags` bag names `%ProviderInfo` as `` `%ProviderInfo ``.
|
|
28
|
+
*
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export declare const unescapeBagKey: (key: string) => string;
|
|
32
|
+
/** A property name as a bag key, escaped as Excel escapes it ({@link unescapeBagKey}). @internal */
|
|
33
|
+
export declare const escapeBagKey: (name: string) => string;
|
|
34
|
+
/** What one file's rich values read as, by `<rv>` index. @internal */
|
|
35
|
+
export interface RichValueResolver {
|
|
36
|
+
/** The value a cell naming `<rv>` `index` holds: an error, a rich value's JSON, or `undefined`. */
|
|
37
|
+
cellValue(index: number): Scalar | IRichData.JSON | undefined;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Reads a file's rich values into cell values.
|
|
41
|
+
*
|
|
42
|
+
* @remarks
|
|
43
|
+
* A structure a handler reads (`_error`, `_webimage`, `_localImage`) is read by it. Every other
|
|
44
|
+
* structure is a {@link RichRecord} of a kind made from the structure; supporting property bags
|
|
45
|
+
* become records of their own, Excel's presentation keys ({@link META_KEYS}) become meta, and an
|
|
46
|
+
* entity's two forms are one value: a cell holds the full record (Excel's `_linkedentity` names it
|
|
47
|
+
* by `%cvi`; a `_linkedentity2` stub matches its `_linkedentity2core` by identity), and a nested
|
|
48
|
+
* entity with no full record holds its stub. A `_formattednumber` inside a record is a number,
|
|
49
|
+
* its format the property's.
|
|
50
|
+
*
|
|
51
|
+
* @internal
|
|
52
|
+
*/
|
|
53
|
+
export declare const createRichValueResolver: (parts: RichDataParts, readers: ReadonlyMap<string, IRichValueReader>, warn: (message: string) => void) => RichValueResolver;
|
|
54
|
+
//# sourceMappingURL=RichValueResolver.d.ts.map
|