@bilig/protocol 0.11.12 → 0.11.15
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/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/package-artifacts.d.ts +65 -0
- package/dist/package-artifacts.js +2 -0
- package/dist/package-artifacts.js.map +1 -0
- package/dist/types.d.ts +5 -38
- package/dist/types.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -4,6 +4,7 @@ export * from './enums.js';
|
|
|
4
4
|
export * from './formatting.js';
|
|
5
5
|
export * from './guards.js';
|
|
6
6
|
export * from './opcodes.js';
|
|
7
|
+
export * from './package-artifacts.js';
|
|
7
8
|
export * from './types.js';
|
|
8
9
|
export * from './viewport-tiling.js';
|
|
9
10
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,YAAY,CAAA;AAC1B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,aAAa,CAAA;AAC3B,cAAc,cAAc,CAAA;AAC5B,cAAc,wBAAwB,CAAA;AACtC,cAAc,YAAY,CAAA;AAC1B,cAAc,sBAAsB,CAAA"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
export interface WorkbookPackageRelationshipSnapshot {
|
|
2
|
+
id: string;
|
|
3
|
+
type: string;
|
|
4
|
+
target: string;
|
|
5
|
+
targetMode?: string;
|
|
6
|
+
}
|
|
7
|
+
export interface WorkbookThemeArtifactSnapshot {
|
|
8
|
+
path: string;
|
|
9
|
+
xml: string;
|
|
10
|
+
relationship: WorkbookPackageRelationshipSnapshot;
|
|
11
|
+
contentType?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface WorkbookStyleArtifactsSnapshot {
|
|
14
|
+
stylesXml: string;
|
|
15
|
+
theme?: WorkbookThemeArtifactSnapshot;
|
|
16
|
+
}
|
|
17
|
+
export interface WorkbookDocumentPropertyPartSnapshot {
|
|
18
|
+
path: string;
|
|
19
|
+
xml: string;
|
|
20
|
+
relationship: WorkbookPackageRelationshipSnapshot;
|
|
21
|
+
contentType?: string;
|
|
22
|
+
}
|
|
23
|
+
export interface WorkbookDocumentPropertiesArtifactsSnapshot {
|
|
24
|
+
core?: WorkbookDocumentPropertyPartSnapshot;
|
|
25
|
+
app?: WorkbookDocumentPropertyPartSnapshot;
|
|
26
|
+
custom?: WorkbookDocumentPropertyPartSnapshot;
|
|
27
|
+
}
|
|
28
|
+
export interface WorkbookPreservedPackagePartSnapshot {
|
|
29
|
+
path: string;
|
|
30
|
+
storage: 'base64';
|
|
31
|
+
dataBase64: string;
|
|
32
|
+
byteLength: number;
|
|
33
|
+
}
|
|
34
|
+
export interface WorkbookContentTypeDefaultSnapshot {
|
|
35
|
+
extension: string;
|
|
36
|
+
contentType: string;
|
|
37
|
+
}
|
|
38
|
+
export interface WorkbookContentTypeOverrideSnapshot {
|
|
39
|
+
partName: string;
|
|
40
|
+
contentType: string;
|
|
41
|
+
}
|
|
42
|
+
export interface WorkbookDrawingArtifactsSnapshot {
|
|
43
|
+
parts: WorkbookPreservedPackagePartSnapshot[];
|
|
44
|
+
contentTypeDefaults?: WorkbookContentTypeDefaultSnapshot[];
|
|
45
|
+
contentTypeOverrides?: WorkbookContentTypeOverrideSnapshot[];
|
|
46
|
+
}
|
|
47
|
+
export interface WorkbookSheetDrawingArtifactsSnapshot {
|
|
48
|
+
relationshipTarget: string;
|
|
49
|
+
}
|
|
50
|
+
export interface WorkbookControlArtifactsSnapshot {
|
|
51
|
+
parts: WorkbookPreservedPackagePartSnapshot[];
|
|
52
|
+
contentTypeDefaults?: WorkbookContentTypeDefaultSnapshot[];
|
|
53
|
+
contentTypeOverrides?: WorkbookContentTypeOverrideSnapshot[];
|
|
54
|
+
}
|
|
55
|
+
export interface WorkbookSheetControlArtifactsSnapshot {
|
|
56
|
+
controlsXml: string;
|
|
57
|
+
worksheetRootOpenTag: string;
|
|
58
|
+
relationships: WorkbookPackageRelationshipSnapshot[];
|
|
59
|
+
}
|
|
60
|
+
export interface WorkbookDataModelArtifactsSnapshot {
|
|
61
|
+
parts: WorkbookPreservedPackagePartSnapshot[];
|
|
62
|
+
workbookRelationships: WorkbookPackageRelationshipSnapshot[];
|
|
63
|
+
contentTypeDefaults?: WorkbookContentTypeDefaultSnapshot[];
|
|
64
|
+
contentTypeOverrides?: WorkbookContentTypeOverrideSnapshot[];
|
|
65
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package-artifacts.js","sourceRoot":"","sources":["../src/package-artifacts.ts"],"names":[],"mappings":""}
|
package/dist/types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ErrorCode, type FormulaMode, type ValueTag } from './enums.js';
|
|
2
|
+
import type { WorkbookDataModelArtifactsSnapshot, WorkbookDocumentPropertiesArtifactsSnapshot, WorkbookControlArtifactsSnapshot, WorkbookDrawingArtifactsSnapshot, WorkbookPackageRelationshipSnapshot, WorkbookSheetControlArtifactsSnapshot, WorkbookSheetDrawingArtifactsSnapshot, WorkbookStyleArtifactsSnapshot } from './package-artifacts.js';
|
|
2
3
|
export type CellIndex = number;
|
|
3
4
|
export type FormulaId = number;
|
|
4
5
|
export type RangeIndex = number;
|
|
@@ -209,16 +210,6 @@ export interface WorkbookPivotSnapshot {
|
|
|
209
210
|
rows: number;
|
|
210
211
|
cols: number;
|
|
211
212
|
}
|
|
212
|
-
export interface WorkbookStyleArtifactsSnapshot {
|
|
213
|
-
stylesXml: string;
|
|
214
|
-
theme?: WorkbookThemeArtifactSnapshot;
|
|
215
|
-
}
|
|
216
|
-
export interface WorkbookThemeArtifactSnapshot {
|
|
217
|
-
path: string;
|
|
218
|
-
xml: string;
|
|
219
|
-
relationship: WorkbookPackageRelationshipSnapshot;
|
|
220
|
-
contentType?: string;
|
|
221
|
-
}
|
|
222
213
|
export interface WorkbookSheetCellStyleIndexSnapshot {
|
|
223
214
|
address: string;
|
|
224
215
|
styleIndex: number;
|
|
@@ -227,38 +218,10 @@ export interface WorkbookSheetStyleArtifactsSnapshot {
|
|
|
227
218
|
cellStyleIndexes: WorkbookSheetCellStyleIndexSnapshot[];
|
|
228
219
|
blankCellAddresses?: string[];
|
|
229
220
|
}
|
|
230
|
-
export interface WorkbookPackageRelationshipSnapshot {
|
|
231
|
-
id: string;
|
|
232
|
-
type: string;
|
|
233
|
-
target: string;
|
|
234
|
-
targetMode?: string;
|
|
235
|
-
}
|
|
236
221
|
export interface WorkbookPivotPackagePartSnapshot {
|
|
237
222
|
path: string;
|
|
238
223
|
xml: string;
|
|
239
224
|
}
|
|
240
|
-
export interface WorkbookPreservedPackagePartSnapshot {
|
|
241
|
-
path: string;
|
|
242
|
-
storage: 'base64';
|
|
243
|
-
dataBase64: string;
|
|
244
|
-
byteLength: number;
|
|
245
|
-
}
|
|
246
|
-
export interface WorkbookContentTypeDefaultSnapshot {
|
|
247
|
-
extension: string;
|
|
248
|
-
contentType: string;
|
|
249
|
-
}
|
|
250
|
-
export interface WorkbookContentTypeOverrideSnapshot {
|
|
251
|
-
partName: string;
|
|
252
|
-
contentType: string;
|
|
253
|
-
}
|
|
254
|
-
export interface WorkbookDrawingArtifactsSnapshot {
|
|
255
|
-
parts: WorkbookPreservedPackagePartSnapshot[];
|
|
256
|
-
contentTypeDefaults?: WorkbookContentTypeDefaultSnapshot[];
|
|
257
|
-
contentTypeOverrides?: WorkbookContentTypeOverrideSnapshot[];
|
|
258
|
-
}
|
|
259
|
-
export interface WorkbookSheetDrawingArtifactsSnapshot {
|
|
260
|
-
relationshipTarget: string;
|
|
261
|
-
}
|
|
262
225
|
export interface WorkbookPivotArtifactsSnapshot {
|
|
263
226
|
parts: WorkbookPivotPackagePartSnapshot[];
|
|
264
227
|
workbookPivotCachesXml?: string;
|
|
@@ -687,6 +650,7 @@ export interface WorkbookCellMetadataReferenceSnapshot {
|
|
|
687
650
|
}
|
|
688
651
|
export interface WorkbookMetadataSnapshot {
|
|
689
652
|
properties?: WorkbookPropertySnapshot[];
|
|
653
|
+
documentPropertyArtifacts?: WorkbookDocumentPropertiesArtifactsSnapshot;
|
|
690
654
|
workbookProtection?: WorkbookProtectionSnapshot;
|
|
691
655
|
definedNames?: WorkbookDefinedNameSnapshot[];
|
|
692
656
|
tables?: WorkbookTableSnapshot[];
|
|
@@ -694,6 +658,8 @@ export interface WorkbookMetadataSnapshot {
|
|
|
694
658
|
pivots?: WorkbookPivotSnapshot[];
|
|
695
659
|
pivotArtifacts?: WorkbookPivotArtifactsSnapshot;
|
|
696
660
|
drawingArtifacts?: WorkbookDrawingArtifactsSnapshot;
|
|
661
|
+
controlArtifacts?: WorkbookControlArtifactsSnapshot;
|
|
662
|
+
dataModelArtifacts?: WorkbookDataModelArtifactsSnapshot;
|
|
697
663
|
charts?: WorkbookChartSnapshot[];
|
|
698
664
|
images?: WorkbookImageSnapshot[];
|
|
699
665
|
shapes?: WorkbookShapeSnapshot[];
|
|
@@ -727,6 +693,7 @@ export interface SheetMetadataSnapshot {
|
|
|
727
693
|
notes?: WorkbookNoteSnapshot[];
|
|
728
694
|
hyperlinks?: WorkbookHyperlinkSnapshot[];
|
|
729
695
|
drawingArtifacts?: WorkbookSheetDrawingArtifactsSnapshot;
|
|
696
|
+
controlArtifacts?: WorkbookSheetControlArtifactsSnapshot;
|
|
730
697
|
legacyCommentVml?: WorkbookLegacyCommentVmlSnapshot;
|
|
731
698
|
printerSettings?: WorkbookPrinterSettingsSnapshot[];
|
|
732
699
|
sheetPr?: WorkbookSheetPrSnapshot;
|
package/dist/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,MAAM,YAAY,CAAA;
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAmC,MAAM,YAAY,CAAA;AA2BvE,MAAM,UAAU,eAAe,CAAC,IAAe;IAC7C,QAAQ,IAAI,EAAE,CAAC;QACb,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,GAAG;YAChB,OAAO,OAAO,CAAA;QAChB,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,IAAI;YACjB,OAAO,QAAQ,CAAA;QACjB,KAAK,SAAS,CAAC,EAAE;YACf,OAAO,MAAM,CAAA;QACf,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,KAAK;YAClB,OAAO,SAAS,CAAA;QAClB,KAAK,SAAS,CAAC,OAAO;YACpB,OAAO,WAAW,CAAA;QACpB;YACE,OAAO,SAAS,CAAA;IACpB,CAAC;AACH,CAAC"}
|