@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,176 @@
|
|
|
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 "./chunk-O24KTEGP.js";
|
|
65
|
+
import "./chunk-N2IHNWBS.js";
|
|
66
|
+
import {
|
|
67
|
+
InvalidPresentationInputError,
|
|
68
|
+
PresentationChart,
|
|
69
|
+
PresentationChartCollection,
|
|
70
|
+
PresentationChartSeries,
|
|
71
|
+
PresentationChartSeriesCollection,
|
|
72
|
+
PresentationGroup,
|
|
73
|
+
PresentationGroupCollection,
|
|
74
|
+
PresentationImage,
|
|
75
|
+
PresentationImageCollection,
|
|
76
|
+
PresentationLayout,
|
|
77
|
+
PresentationLayoutCollection,
|
|
78
|
+
PresentationMaster,
|
|
79
|
+
PresentationMasterCollection,
|
|
80
|
+
PresentationShape,
|
|
81
|
+
PresentationShapeCollection,
|
|
82
|
+
PresentationTable,
|
|
83
|
+
PresentationTableCell,
|
|
84
|
+
PresentationTableCollection,
|
|
85
|
+
PresentationText,
|
|
86
|
+
Slide,
|
|
87
|
+
SlideCollection,
|
|
88
|
+
SlidePlaceholderCollection,
|
|
89
|
+
UnsupportedPresentationFeatureError,
|
|
90
|
+
assertRenderPixelBudget,
|
|
91
|
+
colorValue,
|
|
92
|
+
truncate
|
|
93
|
+
} from "./chunk-PI2AZVGK.js";
|
|
94
|
+
import "./chunk-FGZM4FQ6.js";
|
|
95
|
+
import "./chunk-4BSENMAE.js";
|
|
96
|
+
import "./chunk-Q2FFHEY7.js";
|
|
97
|
+
import "./chunk-VUNV25KB.js";
|
|
98
|
+
export {
|
|
99
|
+
ChartSeriesCollection,
|
|
100
|
+
CommentThread,
|
|
101
|
+
ConditionalFormattingCollection,
|
|
102
|
+
DataValidationCollection,
|
|
103
|
+
Document,
|
|
104
|
+
DocumentBlockCollection,
|
|
105
|
+
DocumentCommentThread,
|
|
106
|
+
DocumentComments,
|
|
107
|
+
DocumentFile,
|
|
108
|
+
DocumentPageBreak,
|
|
109
|
+
DocumentParagraph,
|
|
110
|
+
DocumentSection,
|
|
111
|
+
DocumentSectionStories,
|
|
112
|
+
DocumentSections,
|
|
113
|
+
DocumentStory,
|
|
114
|
+
DocumentTable,
|
|
115
|
+
DocumentTextRun,
|
|
116
|
+
FreezePanes,
|
|
117
|
+
ImageCollection,
|
|
118
|
+
InvalidPresentationInputError,
|
|
119
|
+
Presentation,
|
|
120
|
+
PresentationChart,
|
|
121
|
+
PresentationChartCollection,
|
|
122
|
+
PresentationChartSeries,
|
|
123
|
+
PresentationChartSeriesCollection,
|
|
124
|
+
PresentationFile,
|
|
125
|
+
PresentationGroup,
|
|
126
|
+
PresentationGroupCollection,
|
|
127
|
+
PresentationImage,
|
|
128
|
+
PresentationImageCollection,
|
|
129
|
+
PresentationLayout,
|
|
130
|
+
PresentationLayoutCollection,
|
|
131
|
+
PresentationMaster,
|
|
132
|
+
PresentationMasterCollection,
|
|
133
|
+
PresentationShape,
|
|
134
|
+
PresentationShapeCollection,
|
|
135
|
+
PresentationTable,
|
|
136
|
+
PresentationTableCell,
|
|
137
|
+
PresentationTableCollection,
|
|
138
|
+
PresentationText,
|
|
139
|
+
Range,
|
|
140
|
+
RangeConditionalFormats,
|
|
141
|
+
RangeFormat,
|
|
142
|
+
RangeSparklines,
|
|
143
|
+
SPREADSHEET_RECALCULATION_LIMITS,
|
|
144
|
+
SPREADSHEET_SNAPSHOT_LIMITS,
|
|
145
|
+
ShapeCollection,
|
|
146
|
+
Slide,
|
|
147
|
+
SlideCollection,
|
|
148
|
+
SlidePlaceholderCollection,
|
|
149
|
+
SparklineGroup,
|
|
150
|
+
SparklineGroupCollection,
|
|
151
|
+
SpreadsheetChart,
|
|
152
|
+
SpreadsheetChartSeries,
|
|
153
|
+
SpreadsheetFidelityError,
|
|
154
|
+
SpreadsheetFile,
|
|
155
|
+
SpreadsheetImage,
|
|
156
|
+
SpreadsheetSecurityError,
|
|
157
|
+
SpreadsheetShape,
|
|
158
|
+
Table,
|
|
159
|
+
TableCollection,
|
|
160
|
+
TrackedChange,
|
|
161
|
+
TrackedChanges,
|
|
162
|
+
UnsupportedPresentationFeatureError,
|
|
163
|
+
Workbook,
|
|
164
|
+
WorkbookComments,
|
|
165
|
+
Worksheet,
|
|
166
|
+
WorksheetCollection,
|
|
167
|
+
assertRenderPixelBudget as assertPresentationRenderPixelBudget,
|
|
168
|
+
configureArtifactRuntime,
|
|
169
|
+
disposeArtifact,
|
|
170
|
+
getArtifactCompositeDiagnostics,
|
|
171
|
+
getConfiguredArtifactRuntime,
|
|
172
|
+
colorValue as presentationColorValue,
|
|
173
|
+
truncate as truncatePresentationText,
|
|
174
|
+
validateSerializedWorkbook
|
|
175
|
+
};
|
|
176
|
+
//# sourceMappingURL=production-document.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import type { DocumentParagraphFormat, DocumentParagraphStyle, DocumentTableStyle, DocumentTextStyle, SerializedDocument, SerializedDocumentBlock, SerializedDocumentComment, SerializedDocumentSection, SerializedTrackedChange } from "./document.js";
|
|
2
|
+
import { Presentation, type PresentationElement, type PresentationText } from "./presentation.js";
|
|
3
|
+
export declare function encodeDocumentProjectionCommands(snapshot: SerializedDocument): Uint8Array;
|
|
4
|
+
export type DocumentProjectionTarget = {
|
|
5
|
+
kind: "body";
|
|
6
|
+
} | {
|
|
7
|
+
kind: "story";
|
|
8
|
+
sectionId: string;
|
|
9
|
+
storyKind: "header" | "footer";
|
|
10
|
+
variant: "default" | "first" | "even";
|
|
11
|
+
};
|
|
12
|
+
export type DocumentIncrementalCommand = {
|
|
13
|
+
kind: "block.add";
|
|
14
|
+
target: DocumentProjectionTarget;
|
|
15
|
+
block: SerializedDocumentBlock;
|
|
16
|
+
} | {
|
|
17
|
+
kind: "paragraph.edit";
|
|
18
|
+
id: string;
|
|
19
|
+
start: number;
|
|
20
|
+
end: number;
|
|
21
|
+
text: string;
|
|
22
|
+
style?: DocumentTextStyle;
|
|
23
|
+
} | {
|
|
24
|
+
kind: "paragraph.format";
|
|
25
|
+
id: string;
|
|
26
|
+
format: DocumentParagraphFormat;
|
|
27
|
+
} | {
|
|
28
|
+
kind: "paragraph.style";
|
|
29
|
+
id: string;
|
|
30
|
+
style: DocumentParagraphStyle;
|
|
31
|
+
} | {
|
|
32
|
+
kind: "table.style";
|
|
33
|
+
id: string;
|
|
34
|
+
style: DocumentTableStyle;
|
|
35
|
+
} | {
|
|
36
|
+
kind: "document.flags";
|
|
37
|
+
evenAndOddHeaders?: boolean;
|
|
38
|
+
trackRevisions?: boolean;
|
|
39
|
+
} | {
|
|
40
|
+
kind: "section.add";
|
|
41
|
+
section: SerializedDocumentSection;
|
|
42
|
+
} | {
|
|
43
|
+
kind: "section.title";
|
|
44
|
+
id: string;
|
|
45
|
+
titlePage?: boolean;
|
|
46
|
+
} | {
|
|
47
|
+
kind: "comment.add";
|
|
48
|
+
comment: SerializedDocumentComment;
|
|
49
|
+
} | {
|
|
50
|
+
kind: "comment.reply";
|
|
51
|
+
id: string;
|
|
52
|
+
reply: SerializedDocumentComment["replies"][number];
|
|
53
|
+
} | {
|
|
54
|
+
kind: "comment.resolved";
|
|
55
|
+
id: string;
|
|
56
|
+
resolved: boolean;
|
|
57
|
+
} | {
|
|
58
|
+
kind: "tracked.add";
|
|
59
|
+
change: SerializedTrackedChange;
|
|
60
|
+
};
|
|
61
|
+
/** Encodes only touched document nodes using the existing OGADC001 protocol. */
|
|
62
|
+
export declare function encodeDocumentIncrementalCommands(commands: readonly DocumentIncrementalCommand[]): Uint8Array;
|
|
63
|
+
export declare function encodePresentationProjectionCommands(presentation: Presentation, namespace: bigint): Uint8Array;
|
|
64
|
+
export type PresentationIncrementalCommand = {
|
|
65
|
+
kind: "slide.create";
|
|
66
|
+
slide: Presentation["slides"]["items"][number];
|
|
67
|
+
index: number;
|
|
68
|
+
} | {
|
|
69
|
+
kind: "slide.title";
|
|
70
|
+
id: string;
|
|
71
|
+
title: string;
|
|
72
|
+
} | {
|
|
73
|
+
kind: "slide.layout";
|
|
74
|
+
id: string;
|
|
75
|
+
layoutId?: string;
|
|
76
|
+
} | {
|
|
77
|
+
kind: "slide.notes";
|
|
78
|
+
id: string;
|
|
79
|
+
notes: PresentationText;
|
|
80
|
+
} | {
|
|
81
|
+
kind: "node.insert";
|
|
82
|
+
slideId: string;
|
|
83
|
+
index: number;
|
|
84
|
+
element: PresentationElement;
|
|
85
|
+
} | {
|
|
86
|
+
kind: "node.update";
|
|
87
|
+
element: PresentationElement;
|
|
88
|
+
} | {
|
|
89
|
+
kind: "presentation.size";
|
|
90
|
+
width: number;
|
|
91
|
+
height: number;
|
|
92
|
+
};
|
|
93
|
+
/** Encodes touched presentation nodes using the existing OGAPC001 protocol. */
|
|
94
|
+
export declare function encodePresentationIncrementalCommands(commands: readonly PresentationIncrementalCommand[], namespace: bigint): Uint8Array;
|
|
@@ -0,0 +1,176 @@
|
|
|
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 "./chunk-O24KTEGP.js";
|
|
65
|
+
import "./chunk-N2IHNWBS.js";
|
|
66
|
+
import {
|
|
67
|
+
InvalidPresentationInputError,
|
|
68
|
+
PresentationChart,
|
|
69
|
+
PresentationChartCollection,
|
|
70
|
+
PresentationChartSeries,
|
|
71
|
+
PresentationChartSeriesCollection,
|
|
72
|
+
PresentationGroup,
|
|
73
|
+
PresentationGroupCollection,
|
|
74
|
+
PresentationImage,
|
|
75
|
+
PresentationImageCollection,
|
|
76
|
+
PresentationLayout,
|
|
77
|
+
PresentationLayoutCollection,
|
|
78
|
+
PresentationMaster,
|
|
79
|
+
PresentationMasterCollection,
|
|
80
|
+
PresentationShape,
|
|
81
|
+
PresentationShapeCollection,
|
|
82
|
+
PresentationTable,
|
|
83
|
+
PresentationTableCell,
|
|
84
|
+
PresentationTableCollection,
|
|
85
|
+
PresentationText,
|
|
86
|
+
Slide,
|
|
87
|
+
SlideCollection,
|
|
88
|
+
SlidePlaceholderCollection,
|
|
89
|
+
UnsupportedPresentationFeatureError,
|
|
90
|
+
assertRenderPixelBudget,
|
|
91
|
+
colorValue,
|
|
92
|
+
truncate
|
|
93
|
+
} from "./chunk-PI2AZVGK.js";
|
|
94
|
+
import "./chunk-FGZM4FQ6.js";
|
|
95
|
+
import "./chunk-4BSENMAE.js";
|
|
96
|
+
import "./chunk-Q2FFHEY7.js";
|
|
97
|
+
import "./chunk-VUNV25KB.js";
|
|
98
|
+
export {
|
|
99
|
+
ChartSeriesCollection,
|
|
100
|
+
CommentThread,
|
|
101
|
+
ConditionalFormattingCollection,
|
|
102
|
+
DataValidationCollection,
|
|
103
|
+
Document,
|
|
104
|
+
DocumentBlockCollection,
|
|
105
|
+
DocumentCommentThread,
|
|
106
|
+
DocumentComments,
|
|
107
|
+
DocumentFile,
|
|
108
|
+
DocumentPageBreak,
|
|
109
|
+
DocumentParagraph,
|
|
110
|
+
DocumentSection,
|
|
111
|
+
DocumentSectionStories,
|
|
112
|
+
DocumentSections,
|
|
113
|
+
DocumentStory,
|
|
114
|
+
DocumentTable,
|
|
115
|
+
DocumentTextRun,
|
|
116
|
+
FreezePanes,
|
|
117
|
+
ImageCollection,
|
|
118
|
+
InvalidPresentationInputError,
|
|
119
|
+
Presentation,
|
|
120
|
+
PresentationChart,
|
|
121
|
+
PresentationChartCollection,
|
|
122
|
+
PresentationChartSeries,
|
|
123
|
+
PresentationChartSeriesCollection,
|
|
124
|
+
PresentationFile,
|
|
125
|
+
PresentationGroup,
|
|
126
|
+
PresentationGroupCollection,
|
|
127
|
+
PresentationImage,
|
|
128
|
+
PresentationImageCollection,
|
|
129
|
+
PresentationLayout,
|
|
130
|
+
PresentationLayoutCollection,
|
|
131
|
+
PresentationMaster,
|
|
132
|
+
PresentationMasterCollection,
|
|
133
|
+
PresentationShape,
|
|
134
|
+
PresentationShapeCollection,
|
|
135
|
+
PresentationTable,
|
|
136
|
+
PresentationTableCell,
|
|
137
|
+
PresentationTableCollection,
|
|
138
|
+
PresentationText,
|
|
139
|
+
Range,
|
|
140
|
+
RangeConditionalFormats,
|
|
141
|
+
RangeFormat,
|
|
142
|
+
RangeSparklines,
|
|
143
|
+
SPREADSHEET_RECALCULATION_LIMITS,
|
|
144
|
+
SPREADSHEET_SNAPSHOT_LIMITS,
|
|
145
|
+
ShapeCollection,
|
|
146
|
+
Slide,
|
|
147
|
+
SlideCollection,
|
|
148
|
+
SlidePlaceholderCollection,
|
|
149
|
+
SparklineGroup,
|
|
150
|
+
SparklineGroupCollection,
|
|
151
|
+
SpreadsheetChart,
|
|
152
|
+
SpreadsheetChartSeries,
|
|
153
|
+
SpreadsheetFidelityError,
|
|
154
|
+
SpreadsheetFile,
|
|
155
|
+
SpreadsheetImage,
|
|
156
|
+
SpreadsheetSecurityError,
|
|
157
|
+
SpreadsheetShape,
|
|
158
|
+
Table,
|
|
159
|
+
TableCollection,
|
|
160
|
+
TrackedChange,
|
|
161
|
+
TrackedChanges,
|
|
162
|
+
UnsupportedPresentationFeatureError,
|
|
163
|
+
Workbook,
|
|
164
|
+
WorkbookComments,
|
|
165
|
+
Worksheet,
|
|
166
|
+
WorksheetCollection,
|
|
167
|
+
assertRenderPixelBudget as assertPresentationRenderPixelBudget,
|
|
168
|
+
configureArtifactRuntime,
|
|
169
|
+
disposeArtifact,
|
|
170
|
+
getArtifactCompositeDiagnostics,
|
|
171
|
+
getConfiguredArtifactRuntime,
|
|
172
|
+
colorValue as presentationColorValue,
|
|
173
|
+
truncate as truncatePresentationText,
|
|
174
|
+
validateSerializedWorkbook
|
|
175
|
+
};
|
|
176
|
+
//# sourceMappingURL=production-presentation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { CompositeMutationPreparer, CompositeArtifactState, CompositePropertyRead, CompositeReconciliation } from "./production-composite.js";
|
|
2
|
+
import type { ArtifactKernelRuntime } from "./runtime.js";
|
|
3
|
+
import { type Workbook } from "./spreadsheet.js";
|
|
4
|
+
export declare function reconcileSpreadsheetProjection(workbook: Workbook, runtime: ArtifactKernelRuntime, namespace: bigint): CompositeReconciliation;
|
|
5
|
+
/**
|
|
6
|
+
* Converts the public hot spreadsheet mutations directly into the existing
|
|
7
|
+
* OGASC/OGATX protocol. The retained native session stays authoritative; rare
|
|
8
|
+
* non-cell features continue through the complete reconciliation path.
|
|
9
|
+
*/
|
|
10
|
+
export declare const prepareSpreadsheetMutation: CompositeMutationPreparer<Workbook>;
|
|
11
|
+
export declare function installSpreadsheetProjection(workbook: Workbook, state: CompositeArtifactState<Workbook>): void;
|
|
12
|
+
export declare function readSpreadsheetProperty(owner: unknown, member: PropertyKey, state: CompositeArtifactState<Workbook>): CompositePropertyRead;
|
|
@@ -0,0 +1,176 @@
|
|
|
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 "./chunk-O24KTEGP.js";
|
|
65
|
+
import "./chunk-N2IHNWBS.js";
|
|
66
|
+
import {
|
|
67
|
+
InvalidPresentationInputError,
|
|
68
|
+
PresentationChart,
|
|
69
|
+
PresentationChartCollection,
|
|
70
|
+
PresentationChartSeries,
|
|
71
|
+
PresentationChartSeriesCollection,
|
|
72
|
+
PresentationGroup,
|
|
73
|
+
PresentationGroupCollection,
|
|
74
|
+
PresentationImage,
|
|
75
|
+
PresentationImageCollection,
|
|
76
|
+
PresentationLayout,
|
|
77
|
+
PresentationLayoutCollection,
|
|
78
|
+
PresentationMaster,
|
|
79
|
+
PresentationMasterCollection,
|
|
80
|
+
PresentationShape,
|
|
81
|
+
PresentationShapeCollection,
|
|
82
|
+
PresentationTable,
|
|
83
|
+
PresentationTableCell,
|
|
84
|
+
PresentationTableCollection,
|
|
85
|
+
PresentationText,
|
|
86
|
+
Slide,
|
|
87
|
+
SlideCollection,
|
|
88
|
+
SlidePlaceholderCollection,
|
|
89
|
+
UnsupportedPresentationFeatureError,
|
|
90
|
+
assertRenderPixelBudget,
|
|
91
|
+
colorValue,
|
|
92
|
+
truncate
|
|
93
|
+
} from "./chunk-PI2AZVGK.js";
|
|
94
|
+
import "./chunk-FGZM4FQ6.js";
|
|
95
|
+
import "./chunk-4BSENMAE.js";
|
|
96
|
+
import "./chunk-Q2FFHEY7.js";
|
|
97
|
+
import "./chunk-VUNV25KB.js";
|
|
98
|
+
export {
|
|
99
|
+
ChartSeriesCollection,
|
|
100
|
+
CommentThread,
|
|
101
|
+
ConditionalFormattingCollection,
|
|
102
|
+
DataValidationCollection,
|
|
103
|
+
Document,
|
|
104
|
+
DocumentBlockCollection,
|
|
105
|
+
DocumentCommentThread,
|
|
106
|
+
DocumentComments,
|
|
107
|
+
DocumentFile,
|
|
108
|
+
DocumentPageBreak,
|
|
109
|
+
DocumentParagraph,
|
|
110
|
+
DocumentSection,
|
|
111
|
+
DocumentSectionStories,
|
|
112
|
+
DocumentSections,
|
|
113
|
+
DocumentStory,
|
|
114
|
+
DocumentTable,
|
|
115
|
+
DocumentTextRun,
|
|
116
|
+
FreezePanes,
|
|
117
|
+
ImageCollection,
|
|
118
|
+
InvalidPresentationInputError,
|
|
119
|
+
Presentation,
|
|
120
|
+
PresentationChart,
|
|
121
|
+
PresentationChartCollection,
|
|
122
|
+
PresentationChartSeries,
|
|
123
|
+
PresentationChartSeriesCollection,
|
|
124
|
+
PresentationFile,
|
|
125
|
+
PresentationGroup,
|
|
126
|
+
PresentationGroupCollection,
|
|
127
|
+
PresentationImage,
|
|
128
|
+
PresentationImageCollection,
|
|
129
|
+
PresentationLayout,
|
|
130
|
+
PresentationLayoutCollection,
|
|
131
|
+
PresentationMaster,
|
|
132
|
+
PresentationMasterCollection,
|
|
133
|
+
PresentationShape,
|
|
134
|
+
PresentationShapeCollection,
|
|
135
|
+
PresentationTable,
|
|
136
|
+
PresentationTableCell,
|
|
137
|
+
PresentationTableCollection,
|
|
138
|
+
PresentationText,
|
|
139
|
+
Range,
|
|
140
|
+
RangeConditionalFormats,
|
|
141
|
+
RangeFormat,
|
|
142
|
+
RangeSparklines,
|
|
143
|
+
SPREADSHEET_RECALCULATION_LIMITS,
|
|
144
|
+
SPREADSHEET_SNAPSHOT_LIMITS,
|
|
145
|
+
ShapeCollection,
|
|
146
|
+
Slide,
|
|
147
|
+
SlideCollection,
|
|
148
|
+
SlidePlaceholderCollection,
|
|
149
|
+
SparklineGroup,
|
|
150
|
+
SparklineGroupCollection,
|
|
151
|
+
SpreadsheetChart,
|
|
152
|
+
SpreadsheetChartSeries,
|
|
153
|
+
SpreadsheetFidelityError,
|
|
154
|
+
SpreadsheetFile,
|
|
155
|
+
SpreadsheetImage,
|
|
156
|
+
SpreadsheetSecurityError,
|
|
157
|
+
SpreadsheetShape,
|
|
158
|
+
Table,
|
|
159
|
+
TableCollection,
|
|
160
|
+
TrackedChange,
|
|
161
|
+
TrackedChanges,
|
|
162
|
+
UnsupportedPresentationFeatureError,
|
|
163
|
+
Workbook,
|
|
164
|
+
WorkbookComments,
|
|
165
|
+
Worksheet,
|
|
166
|
+
WorksheetCollection,
|
|
167
|
+
assertRenderPixelBudget as assertPresentationRenderPixelBudget,
|
|
168
|
+
configureArtifactRuntime,
|
|
169
|
+
disposeArtifact,
|
|
170
|
+
getArtifactCompositeDiagnostics,
|
|
171
|
+
getConfiguredArtifactRuntime,
|
|
172
|
+
colorValue as presentationColorValue,
|
|
173
|
+
truncate as truncatePresentationText,
|
|
174
|
+
validateSerializedWorkbook
|
|
175
|
+
};
|
|
176
|
+
//# sourceMappingURL=production-spreadsheet.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|