ooxml.js 2.9.4 → 2.10.0
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/README.md +7 -6
- package/dist/base64--HuymRl_.d.cts +5 -0
- package/dist/base64--HuymRl_.d.ts +5 -0
- package/dist/build-C0gS5QeG.d.ts +6 -0
- package/dist/build-CBL9scQK.d.cts +6 -0
- package/dist/build-XSm3I8LT.d.cts +5 -0
- package/dist/build-Z1KRkSEB.d.ts +5 -0
- package/dist/codec-B52c8v4h.d.ts +88 -0
- package/dist/codec-nIFHuTm-.d.cts +88 -0
- package/dist/codec.d.cts +2 -72
- package/dist/codec.d.ts +2 -72
- package/dist/color-fFIKAs-Y.d.cts +9 -0
- package/dist/color-fFIKAs-Y.d.ts +9 -0
- package/dist/compact-B1qg9oex.d.cts +70 -0
- package/dist/compact-f0TfhicN.d.ts +70 -0
- package/dist/compact.d.cts +1 -69
- package/dist/compact.d.ts +1 -69
- package/dist/content-UlQ-Nhgi.d.cts +6 -0
- package/dist/content-t6ZfmfQM.d.ts +6 -0
- package/dist/entities-6DuTszqf.d.cts +4 -0
- package/dist/entities-6DuTszqf.d.ts +4 -0
- package/dist/fragment-B1ZV7T5Z.d.ts +6 -0
- package/dist/fragment-B1og_8uA.d.cts +6 -0
- package/dist/image/sniff.d.cts +1 -4
- package/dist/image/sniff.d.ts +1 -4
- package/dist/index.d.cts +20 -21
- package/dist/index.d.ts +20 -21
- package/dist/metadata-D6o-kLpg.d.cts +16 -0
- package/dist/metadata-o_WH9V_I.d.ts +16 -0
- package/dist/numbering-C53LT-Jx.d.cts +23 -0
- package/dist/numbering-D0YfuiOO.d.ts +23 -0
- package/dist/package-io/read.d.cts +1 -4
- package/dist/package-io/read.d.ts +1 -4
- package/dist/package-io/write.d.cts +1 -4
- package/dist/package-io/write.d.ts +1 -4
- package/dist/parse-A8_8sdpX.d.ts +5 -0
- package/dist/parse-CP5FLZqv.d.cts +5 -0
- package/dist/read-B2-FFhqI.d.ts +60 -0
- package/dist/read-BLMpCzzG.d.ts +45 -0
- package/dist/read-CMDEXqGw.d.ts +5 -0
- package/dist/read-D_CpruL_.d.cts +60 -0
- package/dist/read-DymSS-X4.d.cts +45 -0
- package/dist/read-DzmMJPHd.d.cts +5 -0
- package/dist/sniff-DjpnUZRp.d.cts +5 -0
- package/dist/sniff-DjpnUZRp.d.ts +5 -0
- package/dist/typed/docx/numbering.d.cts +1 -22
- package/dist/typed/docx/numbering.d.ts +1 -22
- package/dist/typed/docx/read.d.cts +1 -59
- package/dist/typed/docx/read.d.ts +1 -59
- package/dist/typed/pptx/read.d.cts +1 -44
- package/dist/typed/pptx/read.d.ts +1 -44
- package/dist/typed/shared/color.d.cts +1 -8
- package/dist/typed/shared/color.d.ts +1 -8
- package/dist/typed/shared/metadata.d.cts +1 -15
- package/dist/typed/shared/metadata.d.ts +1 -15
- package/dist/typed/util.d.cts +1 -17
- package/dist/typed/util.d.ts +1 -17
- package/dist/typed/xlsx/build.d.cts +1 -5
- package/dist/typed/xlsx/build.d.ts +1 -5
- package/dist/typed/xlsx/content.d.cts +1 -5
- package/dist/typed/xlsx/content.d.ts +1 -5
- package/dist/typed/xlsx.d.cts +1 -42
- package/dist/typed/xlsx.d.ts +1 -42
- package/dist/util/base64.d.cts +1 -4
- package/dist/util/base64.d.ts +1 -4
- package/dist/util-DFe4UbvU.d.ts +18 -0
- package/dist/util-M3JJlDhF.d.cts +18 -0
- package/dist/write-6JmxvaK5.d.cts +5 -0
- package/dist/write-CT-EgVT7.d.ts +5 -0
- package/dist/xlsx-B97t4YE-.d.cts +43 -0
- package/dist/xlsx-BxKODiLX.d.ts +43 -0
- package/dist/xml/build.d.cts +1 -4
- package/dist/xml/build.d.ts +1 -4
- package/dist/xml/entities.d.cts +1 -3
- package/dist/xml/entities.d.ts +1 -3
- package/dist/xml/fragment.d.cts +1 -5
- package/dist/xml/fragment.d.ts +1 -5
- package/dist/xml/parse.d.cts +1 -4
- package/dist/xml/parse.d.ts +1 -4
- package/dist/zip-Ckbv-mtV.d.cts +5 -0
- package/dist/zip-Ckbv-mtV.d.ts +5 -0
- package/dist/zip.d.cts +1 -4
- package/dist/zip.d.ts +1 -4
- package/package.json +1 -1
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/docx/numbering.d.ts
|
|
4
|
-
declare const NumberingLevelSchema: z.ZodObject<{
|
|
5
|
-
format: z.ZodString;
|
|
6
|
-
text: z.ZodString;
|
|
7
|
-
startAt: z.ZodNumber;
|
|
8
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type NumberingLevel = z.infer<typeof NumberingLevelSchema>;
|
|
11
|
-
declare const NumberingDefinitionSchema: z.ZodObject<{
|
|
12
|
-
levels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13
|
-
format: z.ZodString;
|
|
14
|
-
text: z.ZodString;
|
|
15
|
-
startAt: z.ZodNumber;
|
|
16
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
17
|
-
}, z.core.$strip>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
type NumberingDefinition = z.infer<typeof NumberingDefinitionSchema>;
|
|
20
|
-
type NumberingDefinitions = Readonly<Record<string, NumberingDefinition>>;
|
|
21
|
-
declare function readNumberingDefinitions(pkg: Package): NumberingDefinitions;
|
|
22
|
-
//#endregion
|
|
1
|
+
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-C53LT-Jx.cjs";
|
|
23
2
|
export { NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, readNumberingDefinitions };
|
|
@@ -1,23 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/docx/numbering.d.ts
|
|
4
|
-
declare const NumberingLevelSchema: z.ZodObject<{
|
|
5
|
-
format: z.ZodString;
|
|
6
|
-
text: z.ZodString;
|
|
7
|
-
startAt: z.ZodNumber;
|
|
8
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
type NumberingLevel = z.infer<typeof NumberingLevelSchema>;
|
|
11
|
-
declare const NumberingDefinitionSchema: z.ZodObject<{
|
|
12
|
-
levels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
13
|
-
format: z.ZodString;
|
|
14
|
-
text: z.ZodString;
|
|
15
|
-
startAt: z.ZodNumber;
|
|
16
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
17
|
-
}, z.core.$strip>>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
type NumberingDefinition = z.infer<typeof NumberingDefinitionSchema>;
|
|
20
|
-
type NumberingDefinitions = Readonly<Record<string, NumberingDefinition>>;
|
|
21
|
-
declare function readNumberingDefinitions(pkg: Package): NumberingDefinitions;
|
|
22
|
-
//#endregion
|
|
1
|
+
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-D0YfuiOO.js";
|
|
23
2
|
export { NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, readNumberingDefinitions };
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { ContentBlock } from "document-schema.js";
|
|
4
|
-
//#region src/typed/docx/read.d.ts
|
|
5
|
-
declare const CommentSchema: z.ZodObject<{
|
|
6
|
-
author: z.ZodOptional<z.ZodString>;
|
|
7
|
-
text: z.ZodString;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type Comment = z.infer<typeof CommentSchema>;
|
|
10
|
-
declare const FootnoteSchema: z.ZodObject<{
|
|
11
|
-
type: z.ZodOptional<z.ZodString>;
|
|
12
|
-
text: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
type Footnote = z.infer<typeof FootnoteSchema>;
|
|
15
|
-
declare const DocxDocumentSchema: z.ZodObject<{
|
|
16
|
-
metadata: z.ZodObject<{
|
|
17
|
-
title: z.ZodOptional<z.ZodString>;
|
|
18
|
-
author: z.ZodOptional<z.ZodString>;
|
|
19
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
20
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
22
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
23
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
sections: z.ZodArray<z.ZodObject<{
|
|
26
|
-
pageSize: z.ZodObject<{
|
|
27
|
-
widthPt: z.ZodNumber;
|
|
28
|
-
heightPt: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
margins: z.ZodObject<{
|
|
31
|
-
topPt: z.ZodNumber;
|
|
32
|
-
rightPt: z.ZodNumber;
|
|
33
|
-
bottomPt: z.ZodNumber;
|
|
34
|
-
leftPt: z.ZodNumber;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
37
|
-
}, z.core.$strip>>;
|
|
38
|
-
comments: z.ZodArray<z.ZodObject<{
|
|
39
|
-
author: z.ZodOptional<z.ZodString>;
|
|
40
|
-
text: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>;
|
|
42
|
-
footnotes: z.ZodArray<z.ZodObject<{
|
|
43
|
-
type: z.ZodOptional<z.ZodString>;
|
|
44
|
-
text: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
headers: z.ZodArray<z.ZodString>;
|
|
47
|
-
footers: z.ZodArray<z.ZodString>;
|
|
48
|
-
numbering: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
49
|
-
levels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
50
|
-
format: z.ZodString;
|
|
51
|
-
text: z.ZodString;
|
|
52
|
-
startAt: z.ZodNumber;
|
|
53
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
}, z.core.$strip>>;
|
|
55
|
-
}, z.core.$strip>>;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
type DocxDocument = z.infer<typeof DocxDocumentSchema>;
|
|
58
|
-
declare function readDocx(pkg: Package): DocxDocument;
|
|
59
|
-
//#endregion
|
|
1
|
+
import { a as Footnote, i as DocxDocumentSchema, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as readDocx, t as Comment } from "../../read-D_CpruL_.cjs";
|
|
60
2
|
export { Comment, CommentSchema, DocxDocument, DocxDocumentSchema, Footnote, FootnoteSchema, readDocx };
|
|
@@ -1,60 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { ContentBlock } from "document-schema.js";
|
|
4
|
-
//#region src/typed/docx/read.d.ts
|
|
5
|
-
declare const CommentSchema: z.ZodObject<{
|
|
6
|
-
author: z.ZodOptional<z.ZodString>;
|
|
7
|
-
text: z.ZodString;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type Comment = z.infer<typeof CommentSchema>;
|
|
10
|
-
declare const FootnoteSchema: z.ZodObject<{
|
|
11
|
-
type: z.ZodOptional<z.ZodString>;
|
|
12
|
-
text: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
14
|
-
type Footnote = z.infer<typeof FootnoteSchema>;
|
|
15
|
-
declare const DocxDocumentSchema: z.ZodObject<{
|
|
16
|
-
metadata: z.ZodObject<{
|
|
17
|
-
title: z.ZodOptional<z.ZodString>;
|
|
18
|
-
author: z.ZodOptional<z.ZodString>;
|
|
19
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
20
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
22
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
23
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
24
|
-
}, z.core.$strip>;
|
|
25
|
-
sections: z.ZodArray<z.ZodObject<{
|
|
26
|
-
pageSize: z.ZodObject<{
|
|
27
|
-
widthPt: z.ZodNumber;
|
|
28
|
-
heightPt: z.ZodNumber;
|
|
29
|
-
}, z.core.$strip>;
|
|
30
|
-
margins: z.ZodObject<{
|
|
31
|
-
topPt: z.ZodNumber;
|
|
32
|
-
rightPt: z.ZodNumber;
|
|
33
|
-
bottomPt: z.ZodNumber;
|
|
34
|
-
leftPt: z.ZodNumber;
|
|
35
|
-
}, z.core.$strip>;
|
|
36
|
-
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
37
|
-
}, z.core.$strip>>;
|
|
38
|
-
comments: z.ZodArray<z.ZodObject<{
|
|
39
|
-
author: z.ZodOptional<z.ZodString>;
|
|
40
|
-
text: z.ZodString;
|
|
41
|
-
}, z.core.$strip>>;
|
|
42
|
-
footnotes: z.ZodArray<z.ZodObject<{
|
|
43
|
-
type: z.ZodOptional<z.ZodString>;
|
|
44
|
-
text: z.ZodString;
|
|
45
|
-
}, z.core.$strip>>;
|
|
46
|
-
headers: z.ZodArray<z.ZodString>;
|
|
47
|
-
footers: z.ZodArray<z.ZodString>;
|
|
48
|
-
numbering: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
49
|
-
levels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
50
|
-
format: z.ZodString;
|
|
51
|
-
text: z.ZodString;
|
|
52
|
-
startAt: z.ZodNumber;
|
|
53
|
-
restart: z.ZodOptional<z.ZodNumber>;
|
|
54
|
-
}, z.core.$strip>>;
|
|
55
|
-
}, z.core.$strip>>;
|
|
56
|
-
}, z.core.$strip>;
|
|
57
|
-
type DocxDocument = z.infer<typeof DocxDocumentSchema>;
|
|
58
|
-
declare function readDocx(pkg: Package): DocxDocument;
|
|
59
|
-
//#endregion
|
|
1
|
+
import { a as Footnote, i as DocxDocumentSchema, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as readDocx, t as Comment } from "../../read-B2-FFhqI.js";
|
|
60
2
|
export { Comment, CommentSchema, DocxDocument, DocxDocumentSchema, Footnote, FootnoteSchema, readDocx };
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { ContentBlock } from "document-schema.js";
|
|
4
|
-
//#region src/typed/pptx/read.d.ts
|
|
5
|
-
declare const PptxDocumentSchema: z.ZodObject<{
|
|
6
|
-
metadata: z.ZodObject<{
|
|
7
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8
|
-
author: z.ZodOptional<z.ZodString>;
|
|
9
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
10
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
12
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
13
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
slides: z.ZodArray<z.ZodObject<{
|
|
16
|
-
size: z.ZodObject<{
|
|
17
|
-
widthPt: z.ZodNumber;
|
|
18
|
-
heightPt: z.ZodNumber;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
shapes: z.ZodArray<z.ZodObject<{
|
|
21
|
-
name: z.ZodOptional<z.ZodString>;
|
|
22
|
-
frame: z.ZodObject<{
|
|
23
|
-
xPt: z.ZodNumber;
|
|
24
|
-
yPt: z.ZodNumber;
|
|
25
|
-
widthPt: z.ZodNumber;
|
|
26
|
-
heightPt: z.ZodNumber;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
insetLeftPt: z.ZodNumber;
|
|
30
|
-
insetTopPt: z.ZodNumber;
|
|
31
|
-
insetRightPt: z.ZodNumber;
|
|
32
|
-
insetBottomPt: z.ZodNumber;
|
|
33
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
37
|
-
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
notes: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
type PptxDocument = z.infer<typeof PptxDocumentSchema>;
|
|
43
|
-
declare function readPptx(pkg: Package): PptxDocument;
|
|
44
|
-
//#endregion
|
|
1
|
+
import { n as PptxDocumentSchema, r as readPptx, t as PptxDocument } from "../../read-DymSS-X4.cjs";
|
|
45
2
|
export { PptxDocument, PptxDocumentSchema, readPptx };
|
|
@@ -1,45 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
import { ContentBlock } from "document-schema.js";
|
|
4
|
-
//#region src/typed/pptx/read.d.ts
|
|
5
|
-
declare const PptxDocumentSchema: z.ZodObject<{
|
|
6
|
-
metadata: z.ZodObject<{
|
|
7
|
-
title: z.ZodOptional<z.ZodString>;
|
|
8
|
-
author: z.ZodOptional<z.ZodString>;
|
|
9
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
10
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
11
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
12
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
13
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
14
|
-
}, z.core.$strip>;
|
|
15
|
-
slides: z.ZodArray<z.ZodObject<{
|
|
16
|
-
size: z.ZodObject<{
|
|
17
|
-
widthPt: z.ZodNumber;
|
|
18
|
-
heightPt: z.ZodNumber;
|
|
19
|
-
}, z.core.$strip>;
|
|
20
|
-
shapes: z.ZodArray<z.ZodObject<{
|
|
21
|
-
name: z.ZodOptional<z.ZodString>;
|
|
22
|
-
frame: z.ZodObject<{
|
|
23
|
-
xPt: z.ZodNumber;
|
|
24
|
-
yPt: z.ZodNumber;
|
|
25
|
-
widthPt: z.ZodNumber;
|
|
26
|
-
heightPt: z.ZodNumber;
|
|
27
|
-
}, z.core.$strip>;
|
|
28
|
-
rotationDeg: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
insetLeftPt: z.ZodNumber;
|
|
30
|
-
insetTopPt: z.ZodNumber;
|
|
31
|
-
insetRightPt: z.ZodNumber;
|
|
32
|
-
insetBottomPt: z.ZodNumber;
|
|
33
|
-
fontScale: z.ZodOptional<z.ZodNumber>;
|
|
34
|
-
lineSpacingReduction: z.ZodOptional<z.ZodNumber>;
|
|
35
|
-
paintOrder: z.ZodOptional<z.ZodNumber>;
|
|
36
|
-
sourcePath: z.ZodOptional<z.ZodString>;
|
|
37
|
-
blocks: z.ZodArray<z.ZodCustom<ContentBlock, ContentBlock>>;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
notes: z.ZodString;
|
|
40
|
-
}, z.core.$strip>>;
|
|
41
|
-
}, z.core.$strip>;
|
|
42
|
-
type PptxDocument = z.infer<typeof PptxDocumentSchema>;
|
|
43
|
-
declare function readPptx(pkg: Package): PptxDocument;
|
|
44
|
-
//#endregion
|
|
1
|
+
import { n as PptxDocumentSchema, r as readPptx, t as PptxDocument } from "../../read-BLMpCzzG.js";
|
|
45
2
|
export { PptxDocument, PptxDocumentSchema, readPptx };
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/typed/shared/color.d.ts
|
|
3
|
-
interface ColorTransform {
|
|
4
|
-
readonly kind: 'shade' | 'tint' | 'lumMod' | 'lumOff';
|
|
5
|
-
readonly value: number;
|
|
6
|
-
}
|
|
7
|
-
declare function applyColorTransforms(base: Color, transforms: readonly ColorTransform[]): Color;
|
|
8
|
-
//#endregion
|
|
1
|
+
import { n as applyColorTransforms, t as ColorTransform } from "../../color-fFIKAs-Y.cjs";
|
|
9
2
|
export { ColorTransform, applyColorTransforms };
|
|
@@ -1,9 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
//#region src/typed/shared/color.d.ts
|
|
3
|
-
interface ColorTransform {
|
|
4
|
-
readonly kind: 'shade' | 'tint' | 'lumMod' | 'lumOff';
|
|
5
|
-
readonly value: number;
|
|
6
|
-
}
|
|
7
|
-
declare function applyColorTransforms(base: Color, transforms: readonly ColorTransform[]): Color;
|
|
8
|
-
//#endregion
|
|
1
|
+
import { n as applyColorTransforms, t as ColorTransform } from "../../color-fFIKAs-Y.js";
|
|
9
2
|
export { ColorTransform, applyColorTransforms };
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/shared/metadata.d.ts
|
|
4
|
-
declare const DocumentMetadataSchema: z.ZodObject<{
|
|
5
|
-
title: z.ZodOptional<z.ZodString>;
|
|
6
|
-
author: z.ZodOptional<z.ZodString>;
|
|
7
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
8
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
10
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
11
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
type DocumentMetadata = z.infer<typeof DocumentMetadataSchema>;
|
|
14
|
-
declare function readCoreProperties(pkg: Package): DocumentMetadata;
|
|
15
|
-
//#endregion
|
|
1
|
+
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-D6o-kLpg.cjs";
|
|
16
2
|
export { DocumentMetadata, DocumentMetadataSchema, readCoreProperties };
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/shared/metadata.d.ts
|
|
4
|
-
declare const DocumentMetadataSchema: z.ZodObject<{
|
|
5
|
-
title: z.ZodOptional<z.ZodString>;
|
|
6
|
-
author: z.ZodOptional<z.ZodString>;
|
|
7
|
-
subject: z.ZodOptional<z.ZodString>;
|
|
8
|
-
keywords: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
9
|
-
creator: z.ZodOptional<z.ZodString>;
|
|
10
|
-
createdIso: z.ZodOptional<z.ZodString>;
|
|
11
|
-
modifiedIso: z.ZodOptional<z.ZodString>;
|
|
12
|
-
}, z.core.$strip>;
|
|
13
|
-
type DocumentMetadata = z.infer<typeof DocumentMetadataSchema>;
|
|
14
|
-
declare function readCoreProperties(pkg: Package): DocumentMetadata;
|
|
15
|
-
//#endregion
|
|
1
|
+
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-o_WH9V_I.js";
|
|
16
2
|
export { DocumentMetadata, DocumentMetadataSchema, readCoreProperties };
|
package/dist/typed/util.d.cts
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as Part, r as Package } from "../package-L24lkba-.cjs";
|
|
3
|
-
//#region src/typed/util.d.ts
|
|
4
|
-
declare function walk(nodes: XmlNode[]): Generator<XmlNode>;
|
|
5
|
-
declare function elementsWithTag(nodes: XmlNode[], tag: string): XmlElement[];
|
|
6
|
-
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
7
|
-
declare function attr(element: XmlElement, name: string): string | undefined;
|
|
8
|
-
declare function rootElement(part: Part | undefined): XmlElement | undefined;
|
|
9
|
-
declare function decodeEntities(value: string): string;
|
|
10
|
-
declare function textContent(element: XmlElement): string;
|
|
11
|
-
interface Relationship {
|
|
12
|
-
type: string;
|
|
13
|
-
target: string;
|
|
14
|
-
targetMode?: string;
|
|
15
|
-
}
|
|
16
|
-
declare function resolveRelationships(pkg: Package, partPath: string): Map<string, Relationship>;
|
|
17
|
-
//#endregion
|
|
1
|
+
import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "../util-M3JJlDhF.cjs";
|
|
18
2
|
export { Relationship, attr, childrenWithTag, decodeEntities, elementsWithTag, resolveRelationships, rootElement, textContent, walk };
|
package/dist/typed/util.d.ts
CHANGED
|
@@ -1,18 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { a as Part, r as Package } from "../package-BUojjTXf.js";
|
|
3
|
-
//#region src/typed/util.d.ts
|
|
4
|
-
declare function walk(nodes: XmlNode[]): Generator<XmlNode>;
|
|
5
|
-
declare function elementsWithTag(nodes: XmlNode[], tag: string): XmlElement[];
|
|
6
|
-
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
7
|
-
declare function attr(element: XmlElement, name: string): string | undefined;
|
|
8
|
-
declare function rootElement(part: Part | undefined): XmlElement | undefined;
|
|
9
|
-
declare function decodeEntities(value: string): string;
|
|
10
|
-
declare function textContent(element: XmlElement): string;
|
|
11
|
-
interface Relationship {
|
|
12
|
-
type: string;
|
|
13
|
-
target: string;
|
|
14
|
-
targetMode?: string;
|
|
15
|
-
}
|
|
16
|
-
declare function resolveRelationships(pkg: Package, partPath: string): Map<string, Relationship>;
|
|
17
|
-
//#endregion
|
|
1
|
+
import { a as elementsWithTag, c as textContent, i as decodeEntities, l as walk, n as attr, o as resolveRelationships, r as childrenWithTag, s as rootElement, t as Relationship } from "../util-DFe4UbvU.js";
|
|
18
2
|
export { Relationship, attr, childrenWithTag, decodeEntities, elementsWithTag, resolveRelationships, rootElement, textContent, walk };
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentDocument } from "document-schema.js";
|
|
3
|
-
//#region src/typed/xlsx/build.d.ts
|
|
4
|
-
declare function buildXlsxPackage(document: ContentDocument): Package;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { t as buildXlsxPackage } from "../../build-CBL9scQK.cjs";
|
|
6
2
|
export { buildXlsxPackage };
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentDocument } from "document-schema.js";
|
|
3
|
-
//#region src/typed/xlsx/build.d.ts
|
|
4
|
-
declare function buildXlsxPackage(document: ContentDocument): Package;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { t as buildXlsxPackage } from "../../build-C0gS5QeG.js";
|
|
6
2
|
export { buildXlsxPackage };
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentDocument } from "document-schema.js";
|
|
3
|
-
//#region src/typed/xlsx/content.d.ts
|
|
4
|
-
declare function readXlsxContent(pkg: Package): ContentDocument;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { t as readXlsxContent } from "../../content-UlQ-Nhgi.cjs";
|
|
6
2
|
export { readXlsxContent };
|
|
@@ -1,6 +1,2 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ContentDocument } from "document-schema.js";
|
|
3
|
-
//#region src/typed/xlsx/content.d.ts
|
|
4
|
-
declare function readXlsxContent(pkg: Package): ContentDocument;
|
|
5
|
-
//#endregion
|
|
1
|
+
import { t as readXlsxContent } from "../../content-t6ZfmfQM.js";
|
|
6
2
|
export { readXlsxContent };
|
package/dist/typed/xlsx.d.cts
CHANGED
|
@@ -1,43 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/xlsx.d.ts
|
|
4
|
-
declare const XlsxCellSchema: z.ZodObject<{
|
|
5
|
-
reference: z.ZodString;
|
|
6
|
-
value: z.ZodString;
|
|
7
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type XlsxCell = z.infer<typeof XlsxCellSchema>;
|
|
10
|
-
declare const XlsxSheetSchema: z.ZodObject<{
|
|
11
|
-
name: z.ZodString;
|
|
12
|
-
cells: z.ZodArray<z.ZodObject<{
|
|
13
|
-
reference: z.ZodString;
|
|
14
|
-
value: z.ZodString;
|
|
15
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>>;
|
|
17
|
-
mergedRanges: z.ZodArray<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
type XlsxSheet = z.infer<typeof XlsxSheetSchema>;
|
|
20
|
-
declare const DefinedNameSchema: z.ZodObject<{
|
|
21
|
-
name: z.ZodString;
|
|
22
|
-
refersTo: z.ZodString;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
type DefinedName = z.infer<typeof DefinedNameSchema>;
|
|
25
|
-
declare const XlsxWorkbookSchema: z.ZodObject<{
|
|
26
|
-
sheets: z.ZodArray<z.ZodObject<{
|
|
27
|
-
name: z.ZodString;
|
|
28
|
-
cells: z.ZodArray<z.ZodObject<{
|
|
29
|
-
reference: z.ZodString;
|
|
30
|
-
value: z.ZodString;
|
|
31
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
mergedRanges: z.ZodArray<z.ZodString>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
definedNames: z.ZodArray<z.ZodObject<{
|
|
36
|
-
name: z.ZodString;
|
|
37
|
-
refersTo: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
type XlsxWorkbook = z.infer<typeof XlsxWorkbookSchema>;
|
|
41
|
-
declare function readXlsx(pkg: Package): XlsxWorkbook;
|
|
42
|
-
//#endregion
|
|
1
|
+
import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsx, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "../xlsx-B97t4YE-.cjs";
|
|
43
2
|
export { DefinedName, DefinedNameSchema, XlsxCell, XlsxCellSchema, XlsxSheet, XlsxSheetSchema, XlsxWorkbook, XlsxWorkbookSchema, readXlsx };
|
package/dist/typed/xlsx.d.ts
CHANGED
|
@@ -1,43 +1,2 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
//#region src/typed/xlsx.d.ts
|
|
4
|
-
declare const XlsxCellSchema: z.ZodObject<{
|
|
5
|
-
reference: z.ZodString;
|
|
6
|
-
value: z.ZodString;
|
|
7
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
8
|
-
}, z.core.$strip>;
|
|
9
|
-
type XlsxCell = z.infer<typeof XlsxCellSchema>;
|
|
10
|
-
declare const XlsxSheetSchema: z.ZodObject<{
|
|
11
|
-
name: z.ZodString;
|
|
12
|
-
cells: z.ZodArray<z.ZodObject<{
|
|
13
|
-
reference: z.ZodString;
|
|
14
|
-
value: z.ZodString;
|
|
15
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
16
|
-
}, z.core.$strip>>;
|
|
17
|
-
mergedRanges: z.ZodArray<z.ZodString>;
|
|
18
|
-
}, z.core.$strip>;
|
|
19
|
-
type XlsxSheet = z.infer<typeof XlsxSheetSchema>;
|
|
20
|
-
declare const DefinedNameSchema: z.ZodObject<{
|
|
21
|
-
name: z.ZodString;
|
|
22
|
-
refersTo: z.ZodString;
|
|
23
|
-
}, z.core.$strip>;
|
|
24
|
-
type DefinedName = z.infer<typeof DefinedNameSchema>;
|
|
25
|
-
declare const XlsxWorkbookSchema: z.ZodObject<{
|
|
26
|
-
sheets: z.ZodArray<z.ZodObject<{
|
|
27
|
-
name: z.ZodString;
|
|
28
|
-
cells: z.ZodArray<z.ZodObject<{
|
|
29
|
-
reference: z.ZodString;
|
|
30
|
-
value: z.ZodString;
|
|
31
|
-
formula: z.ZodOptional<z.ZodString>;
|
|
32
|
-
}, z.core.$strip>>;
|
|
33
|
-
mergedRanges: z.ZodArray<z.ZodString>;
|
|
34
|
-
}, z.core.$strip>>;
|
|
35
|
-
definedNames: z.ZodArray<z.ZodObject<{
|
|
36
|
-
name: z.ZodString;
|
|
37
|
-
refersTo: z.ZodString;
|
|
38
|
-
}, z.core.$strip>>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
type XlsxWorkbook = z.infer<typeof XlsxWorkbookSchema>;
|
|
41
|
-
declare function readXlsx(pkg: Package): XlsxWorkbook;
|
|
42
|
-
//#endregion
|
|
1
|
+
import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsx, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "../xlsx-BxKODiLX.js";
|
|
43
2
|
export { DefinedName, DefinedNameSchema, XlsxCell, XlsxCellSchema, XlsxSheet, XlsxSheetSchema, XlsxWorkbook, XlsxWorkbookSchema, readXlsx };
|
package/dist/util/base64.d.cts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare function bytesToBase64(bytes: Uint8Array<ArrayBuffer>): string;
|
|
3
|
-
declare function base64ToBytes(b64: string): Uint8Array<ArrayBuffer>;
|
|
4
|
-
//#endregion
|
|
1
|
+
import { n as bytesToBase64, t as base64ToBytes } from "../base64--HuymRl_.cjs";
|
|
5
2
|
export { base64ToBytes, bytesToBase64 };
|
package/dist/util/base64.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
declare function bytesToBase64(bytes: Uint8Array<ArrayBuffer>): string;
|
|
3
|
-
declare function base64ToBytes(b64: string): Uint8Array<ArrayBuffer>;
|
|
4
|
-
//#endregion
|
|
1
|
+
import { n as bytesToBase64, t as base64ToBytes } from "../base64--HuymRl_.js";
|
|
5
2
|
export { base64ToBytes, bytesToBase64 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.js";
|
|
2
|
+
import { a as Part, r as Package } from "./package-BUojjTXf.js";
|
|
3
|
+
//#region src/typed/util.d.ts
|
|
4
|
+
declare function walk(nodes: XmlNode[]): Generator<XmlNode>;
|
|
5
|
+
declare function elementsWithTag(nodes: XmlNode[], tag: string): XmlElement[];
|
|
6
|
+
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
7
|
+
declare function attr(element: XmlElement, name: string): string | undefined;
|
|
8
|
+
declare function rootElement(part: Part | undefined): XmlElement | undefined;
|
|
9
|
+
declare function decodeEntities(value: string): string;
|
|
10
|
+
declare function textContent(element: XmlElement): string;
|
|
11
|
+
interface Relationship {
|
|
12
|
+
type: string;
|
|
13
|
+
target: string;
|
|
14
|
+
targetMode?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function resolveRelationships(pkg: Package, partPath: string): Map<string, Relationship>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { elementsWithTag as a, textContent as c, decodeEntities as i, walk as l, attr as n, resolveRelationships as o, childrenWithTag as r, rootElement as s, Relationship as t };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { d as XmlNode, l as XmlElement } from "./node-CkBWRjNR.cjs";
|
|
2
|
+
import { a as Part, r as Package } from "./package-L24lkba-.cjs";
|
|
3
|
+
//#region src/typed/util.d.ts
|
|
4
|
+
declare function walk(nodes: XmlNode[]): Generator<XmlNode>;
|
|
5
|
+
declare function elementsWithTag(nodes: XmlNode[], tag: string): XmlElement[];
|
|
6
|
+
declare function childrenWithTag(element: XmlElement, tag: string): XmlElement[];
|
|
7
|
+
declare function attr(element: XmlElement, name: string): string | undefined;
|
|
8
|
+
declare function rootElement(part: Part | undefined): XmlElement | undefined;
|
|
9
|
+
declare function decodeEntities(value: string): string;
|
|
10
|
+
declare function textContent(element: XmlElement): string;
|
|
11
|
+
interface Relationship {
|
|
12
|
+
type: string;
|
|
13
|
+
target: string;
|
|
14
|
+
targetMode?: string;
|
|
15
|
+
}
|
|
16
|
+
declare function resolveRelationships(pkg: Package, partPath: string): Map<string, Relationship>;
|
|
17
|
+
//#endregion
|
|
18
|
+
export { elementsWithTag as a, textContent as c, decodeEntities as i, walk as l, attr as n, resolveRelationships as o, childrenWithTag as r, rootElement as s, Relationship as t };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { r as Package } from "./package-L24lkba-.cjs";
|
|
2
|
+
import { z } from "zod";
|
|
3
|
+
//#region src/typed/xlsx.d.ts
|
|
4
|
+
declare const XlsxCellSchema: z.ZodObject<{
|
|
5
|
+
reference: z.ZodString;
|
|
6
|
+
value: z.ZodString;
|
|
7
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
8
|
+
}, z.core.$strip>;
|
|
9
|
+
type XlsxCell = z.infer<typeof XlsxCellSchema>;
|
|
10
|
+
declare const XlsxSheetSchema: z.ZodObject<{
|
|
11
|
+
name: z.ZodString;
|
|
12
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
13
|
+
reference: z.ZodString;
|
|
14
|
+
value: z.ZodString;
|
|
15
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
16
|
+
}, z.core.$strip>>;
|
|
17
|
+
mergedRanges: z.ZodArray<z.ZodString>;
|
|
18
|
+
}, z.core.$strip>;
|
|
19
|
+
type XlsxSheet = z.infer<typeof XlsxSheetSchema>;
|
|
20
|
+
declare const DefinedNameSchema: z.ZodObject<{
|
|
21
|
+
name: z.ZodString;
|
|
22
|
+
refersTo: z.ZodString;
|
|
23
|
+
}, z.core.$strip>;
|
|
24
|
+
type DefinedName = z.infer<typeof DefinedNameSchema>;
|
|
25
|
+
declare const XlsxWorkbookSchema: z.ZodObject<{
|
|
26
|
+
sheets: z.ZodArray<z.ZodObject<{
|
|
27
|
+
name: z.ZodString;
|
|
28
|
+
cells: z.ZodArray<z.ZodObject<{
|
|
29
|
+
reference: z.ZodString;
|
|
30
|
+
value: z.ZodString;
|
|
31
|
+
formula: z.ZodOptional<z.ZodString>;
|
|
32
|
+
}, z.core.$strip>>;
|
|
33
|
+
mergedRanges: z.ZodArray<z.ZodString>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
definedNames: z.ZodArray<z.ZodObject<{
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
refersTo: z.ZodString;
|
|
38
|
+
}, z.core.$strip>>;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
type XlsxWorkbook = z.infer<typeof XlsxWorkbookSchema>;
|
|
41
|
+
declare function readXlsx(pkg: Package): XlsxWorkbook;
|
|
42
|
+
//#endregion
|
|
43
|
+
export { XlsxSheet as a, XlsxWorkbookSchema as c, XlsxCellSchema as i, readXlsx as l, DefinedNameSchema as n, XlsxSheetSchema as o, XlsxCell as r, XlsxWorkbook as s, DefinedName as t };
|