@opengeni/artifact-tool 0.2.2
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/LICENSE +190 -0
- package/README.md +104 -0
- package/dist/bounded-zip.d.ts +28 -0
- package/dist/chunk-4BSENMAE.js +39 -0
- package/dist/chunk-4BSENMAE.js.map +1 -0
- package/dist/chunk-4FRFNNBM.js +276 -0
- package/dist/chunk-4FRFNNBM.js.map +1 -0
- package/dist/chunk-5XIA6KHZ.js +49 -0
- package/dist/chunk-5XIA6KHZ.js.map +1 -0
- package/dist/chunk-66CT2ZRP.js +2229 -0
- package/dist/chunk-66CT2ZRP.js.map +1 -0
- package/dist/chunk-72SYDU4O.js +319 -0
- package/dist/chunk-72SYDU4O.js.map +1 -0
- package/dist/chunk-B2ZJRZDA.js +279 -0
- package/dist/chunk-B2ZJRZDA.js.map +1 -0
- package/dist/chunk-DCTLTNPW.js +2458 -0
- package/dist/chunk-DCTLTNPW.js.map +1 -0
- package/dist/chunk-FGZM4FQ6.js +473 -0
- package/dist/chunk-FGZM4FQ6.js.map +1 -0
- package/dist/chunk-HTJBLBDE.js +591 -0
- package/dist/chunk-HTJBLBDE.js.map +1 -0
- package/dist/chunk-IYFXZQ34.js +5306 -0
- package/dist/chunk-IYFXZQ34.js.map +1 -0
- package/dist/chunk-J6N7IR44.js +172 -0
- package/dist/chunk-J6N7IR44.js.map +1 -0
- package/dist/chunk-N2IHNWBS.js +1002 -0
- package/dist/chunk-N2IHNWBS.js.map +1 -0
- package/dist/chunk-NAG44K67.js +549 -0
- package/dist/chunk-NAG44K67.js.map +1 -0
- package/dist/chunk-O24KTEGP.js +33 -0
- package/dist/chunk-O24KTEGP.js.map +1 -0
- package/dist/chunk-PI2AZVGK.js +2074 -0
- package/dist/chunk-PI2AZVGK.js.map +1 -0
- package/dist/chunk-Q2FFHEY7.js +40 -0
- package/dist/chunk-Q2FFHEY7.js.map +1 -0
- package/dist/chunk-RBGQADXA.js +57 -0
- package/dist/chunk-RBGQADXA.js.map +1 -0
- package/dist/chunk-U5G2BKM2.js +613 -0
- package/dist/chunk-U5G2BKM2.js.map +1 -0
- package/dist/chunk-VOJHMSM3.js +39 -0
- package/dist/chunk-VOJHMSM3.js.map +1 -0
- package/dist/chunk-VUNV25KB.js +16 -0
- package/dist/chunk-VUNV25KB.js.map +1 -0
- package/dist/chunk-XIFUNVBO.js +101 -0
- package/dist/chunk-XIFUNVBO.js.map +1 -0
- package/dist/chunk-ZCJYRJGB.js +489 -0
- package/dist/chunk-ZCJYRJGB.js.map +1 -0
- package/dist/chunk-ZZXPEE4S.js +2260 -0
- package/dist/chunk-ZZXPEE4S.js.map +1 -0
- package/dist/document-docx-api.d.ts +49 -0
- package/dist/document-docx-codec.d.ts +9 -0
- package/dist/document-docx-codec.js +4765 -0
- package/dist/document-docx-codec.js.map +1 -0
- package/dist/document-docx-import.d.ts +261 -0
- package/dist/document-docx-packer.d.ts +18 -0
- package/dist/document-docx-state.d.ts +12 -0
- package/dist/document-render.d.ts +3 -0
- package/dist/document-render.js +492 -0
- package/dist/document-render.js.map +1 -0
- package/dist/document.d.ts +432 -0
- package/dist/document.js +37 -0
- package/dist/document.js.map +1 -0
- package/dist/errors.d.ts +23 -0
- package/dist/file-blob.d.ts +11 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +186 -0
- package/dist/index.js.map +1 -0
- package/dist/inspection.d.ts +12 -0
- package/dist/kernel.d.ts +101 -0
- package/dist/lib-GQLPACFK.js +9746 -0
- package/dist/lib-GQLPACFK.js.map +1 -0
- package/dist/materializer-cli-entry.d.ts +2 -0
- package/dist/materializer-cli-entry.js +29 -0
- package/dist/materializer-cli-entry.js.map +1 -0
- package/dist/materializer-cli.d.ts +24 -0
- package/dist/materializer-cli.js +24 -0
- package/dist/materializer-cli.js.map +1 -0
- package/dist/native-raster.d.ts +10 -0
- package/dist/native.d.ts +129 -0
- package/dist/native.js +31 -0
- package/dist/native.js.map +1 -0
- package/dist/office-import.d.ts +48 -0
- package/dist/office-import.js +154 -0
- package/dist/office-import.js.map +1 -0
- package/dist/presentation-pptx-api.d.ts +60 -0
- package/dist/presentation-pptx-import.d.ts +5 -0
- package/dist/presentation-pptx-state-digest-765CZZED.js +10 -0
- package/dist/presentation-pptx-state-digest-765CZZED.js.map +1 -0
- package/dist/presentation-pptx-state-digest.d.ts +3 -0
- package/dist/presentation-pptx-state.d.ts +4 -0
- package/dist/presentation-pptx-xml.d.ts +29 -0
- package/dist/presentation-pptx.d.ts +5 -0
- package/dist/presentation-pptx.js +2365 -0
- package/dist/presentation-pptx.js.map +1 -0
- package/dist/presentation-render.d.ts +29 -0
- package/dist/presentation-render.js +375 -0
- package/dist/presentation-render.js.map +1 -0
- package/dist/presentation.d.ts +565 -0
- package/dist/presentation.js +71 -0
- package/dist/presentation.js.map +1 -0
- package/dist/production-composite.d.ts +68 -0
- package/dist/production-document.d.ts +2 -0
- package/dist/production-document.js +176 -0
- package/dist/production-document.js.map +1 -0
- package/dist/production-native-codecs.d.ts +94 -0
- package/dist/production-presentation.d.ts +2 -0
- package/dist/production-presentation.js +176 -0
- package/dist/production-presentation.js.map +1 -0
- package/dist/production-sha256.d.ts +2 -0
- package/dist/production-spreadsheet-native.d.ts +12 -0
- package/dist/production-spreadsheet.d.ts +2 -0
- package/dist/production-spreadsheet.js +176 -0
- package/dist/production-spreadsheet.js.map +1 -0
- package/dist/production.d.ts +96 -0
- package/dist/raster-image.d.ts +34 -0
- package/dist/reference.d.ts +17 -0
- package/dist/reference.js +574 -0
- package/dist/reference.js.map +1 -0
- package/dist/runtime-cli-entry.d.ts +2 -0
- package/dist/runtime-cli-entry.js +21 -0
- package/dist/runtime-cli-entry.js.map +1 -0
- package/dist/runtime-cli.d.ts +76 -0
- package/dist/runtime-cli.js +26 -0
- package/dist/runtime-cli.js.map +1 -0
- package/dist/runtime-development.d.ts +73 -0
- package/dist/runtime-development.js +30 -0
- package/dist/runtime-development.js.map +1 -0
- package/dist/runtime-receipt.d.ts +19 -0
- package/dist/runtime.d.ts +355 -0
- package/dist/runtime.js +42 -0
- package/dist/runtime.js.map +1 -0
- package/dist/snapshot.d.ts +26 -0
- package/dist/snapshot.js +61 -0
- package/dist/snapshot.js.map +1 -0
- package/dist/spreadsheet-address.d.ts +18 -0
- package/dist/spreadsheet-file.d.ts +17 -0
- package/dist/spreadsheet-formula.d.ts +67 -0
- package/dist/spreadsheet-image.d.ts +17 -0
- package/dist/spreadsheet-render.d.ts +5 -0
- package/dist/spreadsheet-render.js +752 -0
- package/dist/spreadsheet-render.js.map +1 -0
- package/dist/spreadsheet-types.d.ts +155 -0
- package/dist/spreadsheet-xlsx-api.d.ts +88 -0
- package/dist/spreadsheet-xlsx-codec.d.ts +16 -0
- package/dist/spreadsheet-xlsx-codec.js +16 -0
- package/dist/spreadsheet-xlsx-codec.js.map +1 -0
- package/dist/spreadsheet-xlsx-state.d.ts +16 -0
- package/dist/spreadsheet.d.ts +724 -0
- package/dist/spreadsheet.js +67 -0
- package/dist/spreadsheet.js.map +1 -0
- package/package.json +129 -0
- package/src/bounded-zip.ts +450 -0
- package/src/document-docx-api.ts +64 -0
- package/src/document-docx-codec.ts +2253 -0
- package/src/document-docx-import.ts +3814 -0
- package/src/document-docx-packer.ts +72 -0
- package/src/document-docx-state.ts +59 -0
- package/src/document-render.ts +615 -0
- package/src/document.ts +2800 -0
- package/src/errors.ts +45 -0
- package/src/file-blob.ts +43 -0
- package/src/index.ts +4 -0
- package/src/inspection.ts +50 -0
- package/src/kernel.ts +525 -0
- package/src/materializer-cli-entry.ts +11 -0
- package/src/materializer-cli.ts +743 -0
- package/src/native-raster.ts +141 -0
- package/src/native.ts +390 -0
- package/src/office-import.ts +243 -0
- package/src/presentation-pptx-api.ts +107 -0
- package/src/presentation-pptx-import.ts +2065 -0
- package/src/presentation-pptx-state-digest.ts +46 -0
- package/src/presentation-pptx-state.ts +18 -0
- package/src/presentation-pptx-xml.ts +473 -0
- package/src/presentation-pptx.ts +447 -0
- package/src/presentation-render.ts +532 -0
- package/src/presentation.ts +2599 -0
- package/src/production-composite.ts +805 -0
- package/src/production-document.ts +2 -0
- package/src/production-native-codecs.ts +1141 -0
- package/src/production-presentation.ts +2 -0
- package/src/production-sha256.ts +150 -0
- package/src/production-spreadsheet-native.ts +686 -0
- package/src/production-spreadsheet.ts +2 -0
- package/src/production.ts +1022 -0
- package/src/raster-image.ts +586 -0
- package/src/reference.ts +17 -0
- package/src/runtime-cli-entry.ts +13 -0
- package/src/runtime-cli.ts +670 -0
- package/src/runtime-development.ts +689 -0
- package/src/runtime-receipt.ts +169 -0
- package/src/runtime.ts +1463 -0
- package/src/snapshot.ts +88 -0
- package/src/spreadsheet-address.ts +90 -0
- package/src/spreadsheet-file.ts +71 -0
- package/src/spreadsheet-formula.ts +1212 -0
- package/src/spreadsheet-image.ts +242 -0
- package/src/spreadsheet-render.ts +985 -0
- package/src/spreadsheet-types.ts +171 -0
- package/src/spreadsheet-xlsx-api.ts +123 -0
- package/src/spreadsheet-xlsx-codec.ts +3063 -0
- package/src/spreadsheet-xlsx-state.ts +191 -0
- package/src/spreadsheet.ts +5195 -0
|
@@ -0,0 +1,432 @@
|
|
|
1
|
+
import { FileBlob } from "./file-blob.js";
|
|
2
|
+
import type { HelpOptions, InspectOptions, InspectResult } from "./spreadsheet-types.js";
|
|
3
|
+
export type DocumentPageGeometry = {
|
|
4
|
+
readonly widthPt: number;
|
|
5
|
+
readonly heightPt: number;
|
|
6
|
+
readonly marginTopPt: number;
|
|
7
|
+
readonly marginRightPt: number;
|
|
8
|
+
readonly marginBottomPt: number;
|
|
9
|
+
readonly marginLeftPt: number;
|
|
10
|
+
/** Distance from the page edge to the header baseline area. Defaults to 36pt. */
|
|
11
|
+
readonly headerPt?: number;
|
|
12
|
+
/** Distance from the page edge to the footer baseline area. Defaults to 36pt. */
|
|
13
|
+
readonly footerPt?: number;
|
|
14
|
+
/** Extra binding gutter added by the word processor. Defaults to 0pt. */
|
|
15
|
+
readonly gutterPt?: number;
|
|
16
|
+
};
|
|
17
|
+
export type DocumentTextStyle = {
|
|
18
|
+
readonly fontFamily?: string;
|
|
19
|
+
readonly fontSizePt?: number;
|
|
20
|
+
readonly color?: string;
|
|
21
|
+
readonly bold?: boolean;
|
|
22
|
+
readonly italic?: boolean;
|
|
23
|
+
readonly underline?: boolean;
|
|
24
|
+
readonly strike?: boolean;
|
|
25
|
+
};
|
|
26
|
+
export type DocumentParagraphStyle = {
|
|
27
|
+
readonly headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
|
|
28
|
+
readonly alignment?: "left" | "center" | "right" | "justify";
|
|
29
|
+
readonly spaceBeforePt?: number;
|
|
30
|
+
readonly spaceAfterPt?: number;
|
|
31
|
+
readonly lineHeight?: number;
|
|
32
|
+
readonly keepNext?: boolean;
|
|
33
|
+
readonly pageBreakBefore?: boolean;
|
|
34
|
+
readonly list?: {
|
|
35
|
+
readonly kind: "bullet" | "number";
|
|
36
|
+
readonly level?: number;
|
|
37
|
+
readonly instanceId?: string;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
export type DocumentTableStyle = {
|
|
41
|
+
readonly widthPt?: number;
|
|
42
|
+
readonly columnWidthsPt?: readonly number[];
|
|
43
|
+
readonly headerRows?: number;
|
|
44
|
+
readonly cellPaddingPt?: number;
|
|
45
|
+
readonly borderColor?: string;
|
|
46
|
+
readonly headerFill?: string;
|
|
47
|
+
/** Defaults to false so a row is never split between pages unexpectedly. */
|
|
48
|
+
readonly allowRowSplit?: boolean;
|
|
49
|
+
};
|
|
50
|
+
export type DocumentRenderOptions = {
|
|
51
|
+
format?: "html" | "svg" | "png";
|
|
52
|
+
scale?: number;
|
|
53
|
+
background?: string;
|
|
54
|
+
};
|
|
55
|
+
export type DocumentParagraphEdit = {
|
|
56
|
+
start: number;
|
|
57
|
+
end: number;
|
|
58
|
+
text: string;
|
|
59
|
+
style?: DocumentTextStyle;
|
|
60
|
+
};
|
|
61
|
+
export type DocumentTextStylePatch = {
|
|
62
|
+
fontFamily?: string | null;
|
|
63
|
+
fontSizePt?: number | null;
|
|
64
|
+
color?: string | null;
|
|
65
|
+
bold?: boolean | null;
|
|
66
|
+
italic?: boolean | null;
|
|
67
|
+
underline?: boolean | null;
|
|
68
|
+
strike?: boolean | null;
|
|
69
|
+
};
|
|
70
|
+
export type DocumentParagraphFormat = {
|
|
71
|
+
start: number;
|
|
72
|
+
end: number;
|
|
73
|
+
style: DocumentTextStylePatch;
|
|
74
|
+
};
|
|
75
|
+
export type DocumentCreateOptions = {
|
|
76
|
+
page?: Partial<DocumentPageGeometry>;
|
|
77
|
+
/** Preserve/enable distinct first-page header and footer stories, even when empty. */
|
|
78
|
+
titlePage?: boolean;
|
|
79
|
+
/** Preserve/enable distinct even-page header and footer stories, even when empty. */
|
|
80
|
+
evenAndOddHeaders?: boolean;
|
|
81
|
+
/** Keep Word's track-revisions mode enabled even when no pending changes exist. */
|
|
82
|
+
trackRevisions?: boolean;
|
|
83
|
+
/** Primarily useful for deterministic fixtures. Must be 64 bits of lowercase hex. */
|
|
84
|
+
idNamespace?: string;
|
|
85
|
+
/** Injectable clock for deterministic comments and tracked changes. */
|
|
86
|
+
now?: () => Date;
|
|
87
|
+
};
|
|
88
|
+
export type SerializedDocument = {
|
|
89
|
+
version: 1;
|
|
90
|
+
idNamespace: string;
|
|
91
|
+
nextId: number;
|
|
92
|
+
revision: number;
|
|
93
|
+
evenAndOddHeaders?: boolean;
|
|
94
|
+
trackRevisions?: boolean;
|
|
95
|
+
page: DocumentPageGeometry;
|
|
96
|
+
blocks: SerializedDocumentBlock[];
|
|
97
|
+
sections: SerializedDocumentSection[];
|
|
98
|
+
comments: SerializedDocumentComment[];
|
|
99
|
+
changes: SerializedTrackedChange[];
|
|
100
|
+
};
|
|
101
|
+
export type SerializedTextRun = {
|
|
102
|
+
text: string;
|
|
103
|
+
style: DocumentTextStyle;
|
|
104
|
+
};
|
|
105
|
+
export type SerializedParagraph = {
|
|
106
|
+
kind: "paragraph";
|
|
107
|
+
id: string;
|
|
108
|
+
runs: SerializedTextRun[];
|
|
109
|
+
style: DocumentParagraphStyle;
|
|
110
|
+
};
|
|
111
|
+
export type SerializedTable = {
|
|
112
|
+
kind: "table";
|
|
113
|
+
id: string;
|
|
114
|
+
rows: SerializedTextRun[][][];
|
|
115
|
+
style: DocumentTableStyle;
|
|
116
|
+
};
|
|
117
|
+
export type SerializedPageBreak = {
|
|
118
|
+
kind: "pageBreak";
|
|
119
|
+
id: string;
|
|
120
|
+
};
|
|
121
|
+
export type SerializedDocumentBlock = SerializedParagraph | SerializedTable | SerializedPageBreak;
|
|
122
|
+
export type SerializedStory = {
|
|
123
|
+
id: string;
|
|
124
|
+
blocks: Array<SerializedParagraph | SerializedTable>;
|
|
125
|
+
};
|
|
126
|
+
export type SerializedDocumentSection = {
|
|
127
|
+
id: string;
|
|
128
|
+
startBlockIndex: number;
|
|
129
|
+
titlePage?: boolean;
|
|
130
|
+
page: DocumentPageGeometry;
|
|
131
|
+
headers: {
|
|
132
|
+
default: SerializedStory;
|
|
133
|
+
first: SerializedStory;
|
|
134
|
+
even: SerializedStory;
|
|
135
|
+
};
|
|
136
|
+
footers: {
|
|
137
|
+
default: SerializedStory;
|
|
138
|
+
first: SerializedStory;
|
|
139
|
+
even: SerializedStory;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
export type SerializedDocumentComment = {
|
|
143
|
+
id: string;
|
|
144
|
+
blockId: string;
|
|
145
|
+
start: number;
|
|
146
|
+
end: number;
|
|
147
|
+
resolved: boolean;
|
|
148
|
+
replies: Array<{
|
|
149
|
+
author: string;
|
|
150
|
+
text: string;
|
|
151
|
+
createdAt: string;
|
|
152
|
+
}>;
|
|
153
|
+
};
|
|
154
|
+
export type SerializedTrackedChange = {
|
|
155
|
+
id: string;
|
|
156
|
+
blockId: string;
|
|
157
|
+
kind: "insert" | "delete";
|
|
158
|
+
start: number;
|
|
159
|
+
end: number;
|
|
160
|
+
author: string;
|
|
161
|
+
createdAt: string;
|
|
162
|
+
};
|
|
163
|
+
declare const DOCUMENT_INTERNAL_ACCESS: unique symbol;
|
|
164
|
+
type DocumentInternalAccess = typeof DOCUMENT_INTERNAL_ACCESS;
|
|
165
|
+
/**
|
|
166
|
+
* Skill-compatible TypeScript reference document used by fixtures and codecs.
|
|
167
|
+
* The package root projects this facade through the retained native document
|
|
168
|
+
* session; production never selects this reference model as a fallback.
|
|
169
|
+
*/
|
|
170
|
+
export declare class Document {
|
|
171
|
+
readonly blocks: DocumentBlockCollection;
|
|
172
|
+
readonly comments: DocumentComments;
|
|
173
|
+
readonly changes: TrackedChanges;
|
|
174
|
+
readonly sections: DocumentSections;
|
|
175
|
+
readonly idNamespace: string;
|
|
176
|
+
private readonly objects;
|
|
177
|
+
private readonly nowProvider;
|
|
178
|
+
private nextIdValue;
|
|
179
|
+
private revisionValue;
|
|
180
|
+
private explicitEvenAndOddHeaders;
|
|
181
|
+
private explicitTrackRevisions;
|
|
182
|
+
private blockCountValue;
|
|
183
|
+
private cellCountValue;
|
|
184
|
+
private runCountValue;
|
|
185
|
+
private textLengthValue;
|
|
186
|
+
private replyCountValue;
|
|
187
|
+
private constructor();
|
|
188
|
+
static create(options?: DocumentCreateOptions): Document;
|
|
189
|
+
get page(): DocumentPageGeometry;
|
|
190
|
+
get revision(): number;
|
|
191
|
+
get evenAndOddHeaders(): boolean;
|
|
192
|
+
setEvenAndOddHeaders(enabled: boolean): void;
|
|
193
|
+
get trackRevisions(): boolean;
|
|
194
|
+
setTrackRevisions(enabled: boolean): void;
|
|
195
|
+
resolve(id: string): unknown;
|
|
196
|
+
ownsObject(id: string, object: unknown): boolean;
|
|
197
|
+
inspect(options: InspectOptions): Promise<InspectResult>;
|
|
198
|
+
help(query: string, options?: HelpOptions): InspectResult;
|
|
199
|
+
render(options?: DocumentRenderOptions): Promise<FileBlob>;
|
|
200
|
+
toJSON(): SerializedDocument;
|
|
201
|
+
static fromJSON(value: unknown): Document;
|
|
202
|
+
allocateId(prefix: string, object: unknown, existingId: string | undefined, access: DocumentInternalAccess): string;
|
|
203
|
+
assertTextLengthDelta(delta: number): void;
|
|
204
|
+
commitTextLengthDelta(delta: number, access: DocumentInternalAccess): void;
|
|
205
|
+
get trackedTextLength(): number;
|
|
206
|
+
assertBlockDelta(delta: number): void;
|
|
207
|
+
commitBlockDelta(delta: number, access: DocumentInternalAccess): void;
|
|
208
|
+
get trackedBlockCount(): number;
|
|
209
|
+
assertCellDelta(delta: number): void;
|
|
210
|
+
commitCellDelta(delta: number, access: DocumentInternalAccess): void;
|
|
211
|
+
get trackedCellCount(): number;
|
|
212
|
+
assertRunDelta(delta: number): void;
|
|
213
|
+
commitRunDelta(delta: number, access: DocumentInternalAccess): void;
|
|
214
|
+
get trackedRunCount(): number;
|
|
215
|
+
assertReplyDelta(delta: number): void;
|
|
216
|
+
commitReplyDelta(delta: number, access: DocumentInternalAccess): void;
|
|
217
|
+
get trackedReplyCount(): number;
|
|
218
|
+
now(): string;
|
|
219
|
+
changed(access: DocumentInternalAccess): void;
|
|
220
|
+
assertCanChange(): void;
|
|
221
|
+
rebaseParagraphAnchors(blockId: string, editStart: number, editEnd: number, insertedLength: number, access: DocumentInternalAccess): void;
|
|
222
|
+
allStoryBlocks(): Array<DocumentParagraph | DocumentTable | DocumentPageBreak>;
|
|
223
|
+
}
|
|
224
|
+
export declare class DocumentBlockCollection {
|
|
225
|
+
private readonly document;
|
|
226
|
+
private readonly itemStorage;
|
|
227
|
+
readonly items: readonly DocumentBlock[];
|
|
228
|
+
constructor(document: Document, access: DocumentInternalAccess);
|
|
229
|
+
addParagraph(text?: string | readonly DocumentTextRun[], style?: DocumentParagraphStyle): DocumentParagraph;
|
|
230
|
+
addHeading(text: string, level?: 1 | 2 | 3 | 4 | 5 | 6): DocumentParagraph;
|
|
231
|
+
addTable(rows: ReadonlyArray<ReadonlyArray<string | readonly DocumentTextRun[]>>, style?: DocumentTableStyle): DocumentTable;
|
|
232
|
+
addPageBreak(): DocumentPageBreak;
|
|
233
|
+
restore(block: SerializedDocumentBlock, access: DocumentInternalAccess): void;
|
|
234
|
+
}
|
|
235
|
+
export type DocumentBlock = DocumentParagraph | DocumentTable | DocumentPageBreak;
|
|
236
|
+
export type DocumentStoryBlock = DocumentParagraph | DocumentTable;
|
|
237
|
+
export declare class DocumentStory {
|
|
238
|
+
private readonly document;
|
|
239
|
+
readonly kind: "header" | "footer";
|
|
240
|
+
private readonly pageForTables?;
|
|
241
|
+
readonly id: string;
|
|
242
|
+
private readonly itemStorage;
|
|
243
|
+
readonly items: readonly DocumentStoryBlock[];
|
|
244
|
+
constructor(document: Document, kind: "header" | "footer", existingId?: string, pageForTables?: DocumentPageGeometry | undefined, access?: DocumentInternalAccess);
|
|
245
|
+
addParagraph(text?: string | readonly DocumentTextRun[], style?: DocumentParagraphStyle): DocumentParagraph;
|
|
246
|
+
addTable(rows: ReadonlyArray<ReadonlyArray<string | readonly DocumentTextRun[]>>, style?: DocumentTableStyle): DocumentTable;
|
|
247
|
+
serialize(): SerializedStory;
|
|
248
|
+
restore(block: SerializedParagraph | SerializedTable, access: DocumentInternalAccess): void;
|
|
249
|
+
}
|
|
250
|
+
export declare class DocumentSectionStories {
|
|
251
|
+
readonly default: DocumentStory;
|
|
252
|
+
readonly first: DocumentStory;
|
|
253
|
+
readonly even: DocumentStory;
|
|
254
|
+
constructor(document: Document, kind: "header" | "footer", restored?: {
|
|
255
|
+
default: SerializedStory;
|
|
256
|
+
first: SerializedStory;
|
|
257
|
+
even: SerializedStory;
|
|
258
|
+
}, pageForTables?: DocumentPageGeometry, access?: DocumentInternalAccess);
|
|
259
|
+
all(): readonly DocumentStory[];
|
|
260
|
+
serialize(): {
|
|
261
|
+
default: SerializedStory;
|
|
262
|
+
first: SerializedStory;
|
|
263
|
+
even: SerializedStory;
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
export declare class DocumentSection {
|
|
267
|
+
private readonly document;
|
|
268
|
+
readonly startBlockIndex: number;
|
|
269
|
+
private explicitTitlePage;
|
|
270
|
+
readonly id: string;
|
|
271
|
+
readonly page: DocumentPageGeometry;
|
|
272
|
+
readonly headers: DocumentSectionStories;
|
|
273
|
+
readonly footers: DocumentSectionStories;
|
|
274
|
+
constructor(document: Document, startBlockIndex: number, page: DocumentPageGeometry, restored?: SerializedDocumentSection, explicitTitlePage?: boolean | undefined, access?: DocumentInternalAccess);
|
|
275
|
+
get titlePage(): boolean;
|
|
276
|
+
setTitlePage(enabled: boolean): void;
|
|
277
|
+
allStories(): readonly DocumentStory[];
|
|
278
|
+
inspectRecord(): Record<string, unknown>;
|
|
279
|
+
serialize(): SerializedDocumentSection;
|
|
280
|
+
}
|
|
281
|
+
export declare class DocumentSections {
|
|
282
|
+
private readonly document;
|
|
283
|
+
private readonly itemStorage;
|
|
284
|
+
readonly items: readonly DocumentSection[];
|
|
285
|
+
constructor(document: Document, access: DocumentInternalAccess);
|
|
286
|
+
add(options?: {
|
|
287
|
+
page?: Partial<DocumentPageGeometry>;
|
|
288
|
+
titlePage?: boolean;
|
|
289
|
+
}): DocumentSection;
|
|
290
|
+
addRestored(startBlockIndex: number, page: DocumentPageGeometry, titlePage?: boolean, access?: DocumentInternalAccess): DocumentSection;
|
|
291
|
+
restore(value: SerializedDocumentSection, access: DocumentInternalAccess): void;
|
|
292
|
+
}
|
|
293
|
+
export declare class DocumentTextRun {
|
|
294
|
+
readonly text: string;
|
|
295
|
+
readonly style: DocumentTextStyle;
|
|
296
|
+
constructor(text: string, style?: DocumentTextStyle);
|
|
297
|
+
serialize(): SerializedTextRun;
|
|
298
|
+
static restore(value: SerializedTextRun): DocumentTextRun;
|
|
299
|
+
}
|
|
300
|
+
export declare class DocumentParagraph {
|
|
301
|
+
private readonly document;
|
|
302
|
+
readonly kind: "paragraph";
|
|
303
|
+
readonly id: string;
|
|
304
|
+
private readonly runStorage;
|
|
305
|
+
readonly runs: readonly DocumentTextRun[];
|
|
306
|
+
private styleValue;
|
|
307
|
+
constructor(document: Document, text: string | readonly DocumentTextRun[], style?: DocumentParagraphStyle, existingId?: string, access?: DocumentInternalAccess);
|
|
308
|
+
get text(): string;
|
|
309
|
+
get style(): DocumentParagraphStyle;
|
|
310
|
+
setStyle(style: DocumentParagraphStyle): void;
|
|
311
|
+
set text(value: string);
|
|
312
|
+
append(text: string, style?: DocumentTextStyle): DocumentTextRun;
|
|
313
|
+
replace(search: string | RegExp, replacement: string): void;
|
|
314
|
+
edit(edit: DocumentParagraphEdit): DocumentTextRun | undefined;
|
|
315
|
+
edit(start: number, end: number, replacement: string, style?: DocumentTextStyle): DocumentTextRun | undefined;
|
|
316
|
+
private applyEdit;
|
|
317
|
+
format(format: DocumentParagraphFormat): void;
|
|
318
|
+
inspectRecord(): Record<string, unknown>;
|
|
319
|
+
serialize(): SerializedParagraph;
|
|
320
|
+
static restore(document: Document, value: SerializedParagraph, access: DocumentInternalAccess): DocumentParagraph;
|
|
321
|
+
}
|
|
322
|
+
export declare class DocumentTable {
|
|
323
|
+
private readonly document;
|
|
324
|
+
readonly kind: "table";
|
|
325
|
+
readonly id: string;
|
|
326
|
+
readonly rows: readonly (readonly (readonly DocumentTextRun[])[])[];
|
|
327
|
+
private styleValue;
|
|
328
|
+
private readonly validationPage;
|
|
329
|
+
constructor(document: Document, rows: ReadonlyArray<ReadonlyArray<string | readonly DocumentTextRun[]>>, style?: DocumentTableStyle, existingId?: string, pageForValidation?: DocumentPageGeometry, access?: DocumentInternalAccess);
|
|
330
|
+
get style(): DocumentTableStyle;
|
|
331
|
+
setStyle(style: DocumentTableStyle): void;
|
|
332
|
+
inspectRecord(): Record<string, unknown>;
|
|
333
|
+
serialize(): SerializedTable;
|
|
334
|
+
static restore(document: Document, value: SerializedTable, pageForValidation?: DocumentPageGeometry, access?: DocumentInternalAccess): DocumentTable;
|
|
335
|
+
}
|
|
336
|
+
export declare class DocumentPageBreak {
|
|
337
|
+
readonly kind: "pageBreak";
|
|
338
|
+
readonly id: string;
|
|
339
|
+
constructor(document: Document, existingId?: string, access?: DocumentInternalAccess);
|
|
340
|
+
inspectRecord(): Record<string, unknown>;
|
|
341
|
+
serialize(): SerializedPageBreak;
|
|
342
|
+
}
|
|
343
|
+
export declare class DocumentComments {
|
|
344
|
+
private readonly document;
|
|
345
|
+
private readonly itemStorage;
|
|
346
|
+
private readonly byBlock;
|
|
347
|
+
readonly items: readonly DocumentCommentThread[];
|
|
348
|
+
private author;
|
|
349
|
+
constructor(document: Document, access: DocumentInternalAccess);
|
|
350
|
+
setSelf(value: {
|
|
351
|
+
displayName: string;
|
|
352
|
+
}): void;
|
|
353
|
+
addThread(anchor: {
|
|
354
|
+
block: DocumentParagraph;
|
|
355
|
+
start: number;
|
|
356
|
+
end: number;
|
|
357
|
+
}, text: string, options?: {
|
|
358
|
+
author?: string;
|
|
359
|
+
createdAt?: string;
|
|
360
|
+
resolved?: boolean;
|
|
361
|
+
}): DocumentCommentThread;
|
|
362
|
+
forBlock(blockId: string, access: DocumentInternalAccess): readonly DocumentCommentThread[];
|
|
363
|
+
restore(value: SerializedDocumentComment, access: DocumentInternalAccess): void;
|
|
364
|
+
}
|
|
365
|
+
export declare class DocumentCommentThread {
|
|
366
|
+
private readonly document;
|
|
367
|
+
readonly blockId: string;
|
|
368
|
+
readonly id: string;
|
|
369
|
+
private resolvedValue;
|
|
370
|
+
private startValue;
|
|
371
|
+
private endValue;
|
|
372
|
+
private readonly replyStorage;
|
|
373
|
+
readonly replies: ReadonlyArray<{
|
|
374
|
+
readonly author: string;
|
|
375
|
+
readonly text: string;
|
|
376
|
+
readonly createdAt: string;
|
|
377
|
+
}>;
|
|
378
|
+
constructor(document: Document, blockId: string, start: number, end: number, author: string, text: string, existingId?: string, createdAt?: string, access?: DocumentInternalAccess);
|
|
379
|
+
get start(): number;
|
|
380
|
+
get end(): number;
|
|
381
|
+
get resolved(): boolean;
|
|
382
|
+
rebaseTo(start: number, end: number, access: DocumentInternalAccess): void;
|
|
383
|
+
setImportedResolved(resolved: boolean, access: DocumentInternalAccess): void;
|
|
384
|
+
addReply(text: string, author?: string, createdAt?: string): void;
|
|
385
|
+
appendImportedReply(reply: {
|
|
386
|
+
author: string;
|
|
387
|
+
text: string;
|
|
388
|
+
createdAt: string;
|
|
389
|
+
}, access: DocumentInternalAccess): void;
|
|
390
|
+
resolve(): void;
|
|
391
|
+
reopen(): void;
|
|
392
|
+
inspectRecord(): Record<string, unknown>;
|
|
393
|
+
serialize(): SerializedDocumentComment;
|
|
394
|
+
static restore(document: Document, value: SerializedDocumentComment, access: DocumentInternalAccess): DocumentCommentThread;
|
|
395
|
+
}
|
|
396
|
+
export declare class TrackedChanges {
|
|
397
|
+
private readonly document;
|
|
398
|
+
private readonly itemStorage;
|
|
399
|
+
private readonly byBlock;
|
|
400
|
+
readonly items: readonly TrackedChange[];
|
|
401
|
+
constructor(document: Document, access: DocumentInternalAccess);
|
|
402
|
+
add(anchor: {
|
|
403
|
+
block: DocumentParagraph;
|
|
404
|
+
start: number;
|
|
405
|
+
end: number;
|
|
406
|
+
}, kind: "insert" | "delete", author?: string, createdAt?: string): TrackedChange;
|
|
407
|
+
forBlock(blockId: string, access: DocumentInternalAccess): readonly TrackedChange[];
|
|
408
|
+
restore(value: SerializedTrackedChange, access: DocumentInternalAccess): void;
|
|
409
|
+
remove(change: TrackedChange, access: DocumentInternalAccess): void;
|
|
410
|
+
}
|
|
411
|
+
export declare class TrackedChange {
|
|
412
|
+
private readonly document;
|
|
413
|
+
readonly blockId: string;
|
|
414
|
+
readonly kind: "insert" | "delete";
|
|
415
|
+
readonly author: string;
|
|
416
|
+
readonly id: string;
|
|
417
|
+
readonly createdAt: string;
|
|
418
|
+
private startValue;
|
|
419
|
+
private endValue;
|
|
420
|
+
constructor(document: Document, blockId: string, kind: "insert" | "delete", start: number, end: number, author: string, existingId?: string, createdAt?: string, access?: DocumentInternalAccess);
|
|
421
|
+
get start(): number;
|
|
422
|
+
get end(): number;
|
|
423
|
+
rebaseTo(start: number, end: number, access: DocumentInternalAccess): void;
|
|
424
|
+
inspectRecord(): Record<string, unknown>;
|
|
425
|
+
serialize(): SerializedTrackedChange;
|
|
426
|
+
static restore(document: Document, value: SerializedTrackedChange, access: DocumentInternalAccess): TrackedChange;
|
|
427
|
+
}
|
|
428
|
+
export declare class DocumentFile {
|
|
429
|
+
static exportDocx(document: Document): Promise<FileBlob>;
|
|
430
|
+
static importDocx(input: FileBlob | Blob | ArrayBuffer): Promise<Document>;
|
|
431
|
+
}
|
|
432
|
+
export {};
|
package/dist/document.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Document,
|
|
3
|
+
DocumentBlockCollection,
|
|
4
|
+
DocumentCommentThread,
|
|
5
|
+
DocumentComments,
|
|
6
|
+
DocumentFile,
|
|
7
|
+
DocumentPageBreak,
|
|
8
|
+
DocumentParagraph,
|
|
9
|
+
DocumentSection,
|
|
10
|
+
DocumentSectionStories,
|
|
11
|
+
DocumentSections,
|
|
12
|
+
DocumentStory,
|
|
13
|
+
DocumentTable,
|
|
14
|
+
DocumentTextRun,
|
|
15
|
+
TrackedChange,
|
|
16
|
+
TrackedChanges
|
|
17
|
+
} from "./chunk-66CT2ZRP.js";
|
|
18
|
+
import "./chunk-Q2FFHEY7.js";
|
|
19
|
+
import "./chunk-VUNV25KB.js";
|
|
20
|
+
export {
|
|
21
|
+
Document,
|
|
22
|
+
DocumentBlockCollection,
|
|
23
|
+
DocumentCommentThread,
|
|
24
|
+
DocumentComments,
|
|
25
|
+
DocumentFile,
|
|
26
|
+
DocumentPageBreak,
|
|
27
|
+
DocumentParagraph,
|
|
28
|
+
DocumentSection,
|
|
29
|
+
DocumentSectionStories,
|
|
30
|
+
DocumentSections,
|
|
31
|
+
DocumentStory,
|
|
32
|
+
DocumentTable,
|
|
33
|
+
DocumentTextRun,
|
|
34
|
+
TrackedChange,
|
|
35
|
+
TrackedChanges
|
|
36
|
+
};
|
|
37
|
+
//# sourceMappingURL=document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
package/dist/errors.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type ArtifactFeatureArea = "spreadsheet" | "presentation" | "document" | "codec" | "render" | "collaboration";
|
|
2
|
+
/** A requested feature cannot be represented faithfully by the active kernel. */
|
|
3
|
+
export declare class UnsupportedArtifactFeatureError extends Error {
|
|
4
|
+
readonly area: ArtifactFeatureArea;
|
|
5
|
+
readonly feature: string;
|
|
6
|
+
readonly backend: string;
|
|
7
|
+
readonly name = "UnsupportedArtifactFeatureError";
|
|
8
|
+
constructor(area: ArtifactFeatureArea, feature: string, backend: string);
|
|
9
|
+
}
|
|
10
|
+
/** Artifact bytes or commands exceeded a declared safety/resource boundary. */
|
|
11
|
+
export declare class ArtifactLimitError extends Error {
|
|
12
|
+
readonly limit: string;
|
|
13
|
+
readonly actual: number;
|
|
14
|
+
readonly maximum: number;
|
|
15
|
+
readonly name = "ArtifactLimitError";
|
|
16
|
+
constructor(limit: string, actual: number, maximum: number);
|
|
17
|
+
}
|
|
18
|
+
/** A command's structural precondition no longer matches canonical state. */
|
|
19
|
+
export declare class ArtifactConflictError extends Error {
|
|
20
|
+
readonly objectIds: readonly string[];
|
|
21
|
+
readonly name = "ArtifactConflictError";
|
|
22
|
+
constructor(message: string, objectIds: readonly string[]);
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export declare class FileBlob extends Blob {
|
|
2
|
+
readonly name: string | null;
|
|
3
|
+
constructor(parts: BlobPart[], options?: BlobPropertyBag & {
|
|
4
|
+
name?: string | null;
|
|
5
|
+
});
|
|
6
|
+
static load(path: string): Promise<FileBlob>;
|
|
7
|
+
static fromBytes(bytes: Uint8Array | ArrayBuffer, options?: BlobPropertyBag & {
|
|
8
|
+
name?: string | null;
|
|
9
|
+
}): FileBlob;
|
|
10
|
+
save(path: string): Promise<void>;
|
|
11
|
+
}
|
package/dist/index.d.ts
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Document,
|
|
3
|
+
DocumentFile,
|
|
4
|
+
Presentation,
|
|
5
|
+
PresentationFile,
|
|
6
|
+
SpreadsheetFile,
|
|
7
|
+
Workbook,
|
|
8
|
+
configureArtifactRuntime,
|
|
9
|
+
disposeArtifact,
|
|
10
|
+
getArtifactCompositeDiagnostics,
|
|
11
|
+
getConfiguredArtifactRuntime
|
|
12
|
+
} from "./chunk-ZZXPEE4S.js";
|
|
13
|
+
import "./chunk-VOJHMSM3.js";
|
|
14
|
+
import "./chunk-HTJBLBDE.js";
|
|
15
|
+
import "./chunk-RBGQADXA.js";
|
|
16
|
+
import "./chunk-B2ZJRZDA.js";
|
|
17
|
+
import {
|
|
18
|
+
DocumentBlockCollection,
|
|
19
|
+
DocumentCommentThread,
|
|
20
|
+
DocumentComments,
|
|
21
|
+
DocumentPageBreak,
|
|
22
|
+
DocumentParagraph,
|
|
23
|
+
DocumentSection,
|
|
24
|
+
DocumentSectionStories,
|
|
25
|
+
DocumentSections,
|
|
26
|
+
DocumentStory,
|
|
27
|
+
DocumentTable,
|
|
28
|
+
DocumentTextRun,
|
|
29
|
+
TrackedChange,
|
|
30
|
+
TrackedChanges
|
|
31
|
+
} from "./chunk-66CT2ZRP.js";
|
|
32
|
+
import {
|
|
33
|
+
SpreadsheetFidelityError,
|
|
34
|
+
SpreadsheetSecurityError
|
|
35
|
+
} from "./chunk-J6N7IR44.js";
|
|
36
|
+
import {
|
|
37
|
+
ChartSeriesCollection,
|
|
38
|
+
CommentThread,
|
|
39
|
+
ConditionalFormattingCollection,
|
|
40
|
+
DataValidationCollection,
|
|
41
|
+
FreezePanes,
|
|
42
|
+
ImageCollection,
|
|
43
|
+
Range,
|
|
44
|
+
RangeConditionalFormats,
|
|
45
|
+
RangeFormat,
|
|
46
|
+
RangeSparklines,
|
|
47
|
+
SPREADSHEET_RECALCULATION_LIMITS,
|
|
48
|
+
SPREADSHEET_SNAPSHOT_LIMITS,
|
|
49
|
+
ShapeCollection,
|
|
50
|
+
SparklineGroup,
|
|
51
|
+
SparklineGroupCollection,
|
|
52
|
+
SpreadsheetChart,
|
|
53
|
+
SpreadsheetChartSeries,
|
|
54
|
+
SpreadsheetImage,
|
|
55
|
+
SpreadsheetShape,
|
|
56
|
+
Table,
|
|
57
|
+
TableCollection,
|
|
58
|
+
WorkbookComments,
|
|
59
|
+
Worksheet,
|
|
60
|
+
WorksheetCollection,
|
|
61
|
+
validateSerializedWorkbook
|
|
62
|
+
} from "./chunk-IYFXZQ34.js";
|
|
63
|
+
import "./chunk-4FRFNNBM.js";
|
|
64
|
+
import {
|
|
65
|
+
ArtifactConflictError,
|
|
66
|
+
ArtifactLimitError,
|
|
67
|
+
UnsupportedArtifactFeatureError
|
|
68
|
+
} from "./chunk-O24KTEGP.js";
|
|
69
|
+
import "./chunk-N2IHNWBS.js";
|
|
70
|
+
import {
|
|
71
|
+
InvalidPresentationInputError,
|
|
72
|
+
PresentationChart,
|
|
73
|
+
PresentationChartCollection,
|
|
74
|
+
PresentationChartSeries,
|
|
75
|
+
PresentationChartSeriesCollection,
|
|
76
|
+
PresentationGroup,
|
|
77
|
+
PresentationGroupCollection,
|
|
78
|
+
PresentationImage,
|
|
79
|
+
PresentationImageCollection,
|
|
80
|
+
PresentationLayout,
|
|
81
|
+
PresentationLayoutCollection,
|
|
82
|
+
PresentationMaster,
|
|
83
|
+
PresentationMasterCollection,
|
|
84
|
+
PresentationShape,
|
|
85
|
+
PresentationShapeCollection,
|
|
86
|
+
PresentationTable,
|
|
87
|
+
PresentationTableCell,
|
|
88
|
+
PresentationTableCollection,
|
|
89
|
+
PresentationText,
|
|
90
|
+
Slide,
|
|
91
|
+
SlideCollection,
|
|
92
|
+
SlidePlaceholderCollection,
|
|
93
|
+
UnsupportedPresentationFeatureError,
|
|
94
|
+
assertRenderPixelBudget,
|
|
95
|
+
colorValue,
|
|
96
|
+
truncate
|
|
97
|
+
} from "./chunk-PI2AZVGK.js";
|
|
98
|
+
import "./chunk-FGZM4FQ6.js";
|
|
99
|
+
import {
|
|
100
|
+
FileBlob
|
|
101
|
+
} from "./chunk-4BSENMAE.js";
|
|
102
|
+
import "./chunk-Q2FFHEY7.js";
|
|
103
|
+
import "./chunk-VUNV25KB.js";
|
|
104
|
+
export {
|
|
105
|
+
ArtifactConflictError,
|
|
106
|
+
ArtifactLimitError,
|
|
107
|
+
ChartSeriesCollection,
|
|
108
|
+
CommentThread,
|
|
109
|
+
ConditionalFormattingCollection,
|
|
110
|
+
DataValidationCollection,
|
|
111
|
+
Document,
|
|
112
|
+
DocumentBlockCollection,
|
|
113
|
+
DocumentCommentThread,
|
|
114
|
+
DocumentComments,
|
|
115
|
+
DocumentFile,
|
|
116
|
+
DocumentPageBreak,
|
|
117
|
+
DocumentParagraph,
|
|
118
|
+
DocumentSection,
|
|
119
|
+
DocumentSectionStories,
|
|
120
|
+
DocumentSections,
|
|
121
|
+
DocumentStory,
|
|
122
|
+
DocumentTable,
|
|
123
|
+
DocumentTextRun,
|
|
124
|
+
FileBlob,
|
|
125
|
+
FreezePanes,
|
|
126
|
+
ImageCollection,
|
|
127
|
+
InvalidPresentationInputError,
|
|
128
|
+
Presentation,
|
|
129
|
+
PresentationChart,
|
|
130
|
+
PresentationChartCollection,
|
|
131
|
+
PresentationChartSeries,
|
|
132
|
+
PresentationChartSeriesCollection,
|
|
133
|
+
PresentationFile,
|
|
134
|
+
PresentationGroup,
|
|
135
|
+
PresentationGroupCollection,
|
|
136
|
+
PresentationImage,
|
|
137
|
+
PresentationImageCollection,
|
|
138
|
+
PresentationLayout,
|
|
139
|
+
PresentationLayoutCollection,
|
|
140
|
+
PresentationMaster,
|
|
141
|
+
PresentationMasterCollection,
|
|
142
|
+
PresentationShape,
|
|
143
|
+
PresentationShapeCollection,
|
|
144
|
+
PresentationTable,
|
|
145
|
+
PresentationTableCell,
|
|
146
|
+
PresentationTableCollection,
|
|
147
|
+
PresentationText,
|
|
148
|
+
Range,
|
|
149
|
+
RangeConditionalFormats,
|
|
150
|
+
RangeFormat,
|
|
151
|
+
RangeSparklines,
|
|
152
|
+
SPREADSHEET_RECALCULATION_LIMITS,
|
|
153
|
+
SPREADSHEET_SNAPSHOT_LIMITS,
|
|
154
|
+
ShapeCollection,
|
|
155
|
+
Slide,
|
|
156
|
+
SlideCollection,
|
|
157
|
+
SlidePlaceholderCollection,
|
|
158
|
+
SparklineGroup,
|
|
159
|
+
SparklineGroupCollection,
|
|
160
|
+
SpreadsheetChart,
|
|
161
|
+
SpreadsheetChartSeries,
|
|
162
|
+
SpreadsheetFidelityError,
|
|
163
|
+
SpreadsheetFile,
|
|
164
|
+
SpreadsheetImage,
|
|
165
|
+
SpreadsheetSecurityError,
|
|
166
|
+
SpreadsheetShape,
|
|
167
|
+
Table,
|
|
168
|
+
TableCollection,
|
|
169
|
+
TrackedChange,
|
|
170
|
+
TrackedChanges,
|
|
171
|
+
UnsupportedArtifactFeatureError,
|
|
172
|
+
UnsupportedPresentationFeatureError,
|
|
173
|
+
Workbook,
|
|
174
|
+
WorkbookComments,
|
|
175
|
+
Worksheet,
|
|
176
|
+
WorksheetCollection,
|
|
177
|
+
assertRenderPixelBudget as assertPresentationRenderPixelBudget,
|
|
178
|
+
configureArtifactRuntime,
|
|
179
|
+
disposeArtifact,
|
|
180
|
+
getArtifactCompositeDiagnostics,
|
|
181
|
+
getConfiguredArtifactRuntime,
|
|
182
|
+
colorValue as presentationColorValue,
|
|
183
|
+
truncate as truncatePresentationText,
|
|
184
|
+
validateSerializedWorkbook
|
|
185
|
+
};
|
|
186
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|