ooxml.js 2.16.1 → 3.0.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.
@@ -0,0 +1,88 @@
1
+ import { d as XmlNode } from "./node-CkBWRjNR.cjs";
2
+ import { r as Package } from "./package-L24lkba-.cjs";
3
+ import "./read-DzmMJPHd.cjs";
4
+ import "./write-6JmxvaK5.cjs";
5
+ import "./parse-CP5FLZqv.cjs";
6
+ import "./build-XSm3I8LT.cjs";
7
+ import "./fragment-B1og_8uA.cjs";
8
+ import "./util-M3JJlDhF.cjs";
9
+ import "./compact-B1qg9oex.cjs";
10
+ import "./color-fFIKAs-Y.cjs";
11
+ import "./metadata-D6o-kLpg.cjs";
12
+ import "./read-D_CpruL_.cjs";
13
+ import "./numbering-C53LT-Jx.cjs";
14
+ import "./read-OBV7MMlF.cjs";
15
+ import "./xlsx-B97t4YE-.cjs";
16
+ import "./content-UlQ-Nhgi.cjs";
17
+ import "./build-CBL9scQK.cjs";
18
+ import { z } from "zod";
19
+ import { Alignment as Alignment$1, AlignmentSchema, Box as Box$1, BoxSchema, COLOR_BLACK, Color as Color$1, ColorSchema, ContentBlock as ContentBlock$1, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders as ContentCellBorders$1, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument as ContentDocument$1, ContentDocumentSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph as ContentParagraph$1, ContentParagraphSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange as ContentSheetPrintRange$1, ContentSheetPrintRangeSchema, ContentSheetPrintSettings as ContentSheetPrintSettings$1, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange as ContentSheetRepeatRange$1, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentTable as ContentTable$1, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor } from "document-schema.js";
20
+ //#region src/codec.d.ts
21
+ declare const xmlCodec: z.ZodCodec<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22
+ type: z.ZodLiteral<"text">;
23
+ value: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ type: z.ZodLiteral<"cdata">;
26
+ value: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ type: z.ZodLiteral<"comment">;
29
+ value: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ type: z.ZodLiteral<"declaration">;
32
+ attributes: z.ZodArray<z.ZodObject<{
33
+ name: z.ZodString;
34
+ value: z.ZodString;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ type: z.ZodLiteral<"pi">;
38
+ target: z.ZodString;
39
+ content: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ type: z.ZodLiteral<"element">;
42
+ tag: z.ZodString;
43
+ attributes: z.ZodArray<z.ZodObject<{
44
+ name: z.ZodString;
45
+ value: z.ZodString;
46
+ }, z.core.$strip>>;
47
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
48
+ }, z.core.$strip>], "type">>>;
49
+ declare const packageCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodObject<{
50
+ parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
51
+ kind: z.ZodLiteral<"xml">;
52
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
53
+ type: z.ZodLiteral<"text">;
54
+ value: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ type: z.ZodLiteral<"cdata">;
57
+ value: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ type: z.ZodLiteral<"comment">;
60
+ value: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ type: z.ZodLiteral<"declaration">;
63
+ attributes: z.ZodArray<z.ZodObject<{
64
+ name: z.ZodString;
65
+ value: z.ZodString;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ type: z.ZodLiteral<"pi">;
69
+ target: z.ZodString;
70
+ content: z.ZodString;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ type: z.ZodLiteral<"element">;
73
+ tag: z.ZodString;
74
+ attributes: z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ value: z.ZodString;
77
+ }, z.core.$strip>>;
78
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
79
+ }, z.core.$strip>], "type">>;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"binary">;
82
+ base64: z.ZodString;
83
+ }, z.core.$strip>], "kind">>;
84
+ }, z.core.$strip>>;
85
+ declare function decodePackage(bytes: Uint8Array<ArrayBuffer>): Package;
86
+ declare function encodePackage(pkg: Package): Uint8Array<ArrayBuffer>;
87
+ //#endregion
88
+ export { ContentSlideSchema as $, ContentRun as A, ContentSheetColumnSchema as B, ContentImageBlockSchema as C, ContentPageBreakSchema as D, ContentPageBreak as E, ContentShapeSchema as F, ContentSheetPrintSettings$1 as G, ContentSheetImageSchema as H, ContentSheet as I, ContentSheetRepeatRangeSchema as J, ContentSheetPrintSettingsSchema as K, ContentSheetCell as L, ContentSection as M, ContentSectionSchema as N, ContentParagraph$1 as O, ContentShape as P, ContentSlide as Q, ContentSheetCellSchema as R, ContentImageBlock as S, ContentListMembershipSchema as T, ContentSheetPrintRange$1 as U, ContentSheetImage as V, ContentSheetPrintRangeSchema as W, ContentSheetRowSchema as X, ContentSheetRow as Y, ContentSheetSchema as Z, ContentCellBordersSchema as _, isContentBlock as _t, Alignment$1 as a, ContentTableRow as at, ContentDocument$1 as b, BoxSchema as c, Margins as ct, ColorSchema as d, PAGE_SIZE_LETTER as dt, ContentStrokeStyle as et, ContentBlock$1 as f, PageSize$1 as ft, ContentCellBorders$1 as g, colorToRgbHex as gt, ContentBorderSchema as h, SLIDE_SIZE_WIDESCREEN as ht, xmlCodec as i, ContentTableCellSchema as it, ContentRunSchema as j, ContentParagraphSchema as k, COLOR_BLACK as l, MarginsSchema as lt, ContentBorder as m, SLIDE_SIZE_STANDARD as mt, encodePackage as n, ContentTable$1 as nt, AlignmentSchema as o, ContentTableRowSchema as ot, ContentBlockSchema as p, PageSizeSchema as pt, ContentSheetRepeatRange$1 as q, packageCodec as r, ContentTableCell as rt, Box$1 as s, ContentTableSchema as st, decodePackage as t, ContentStrokeStyleSchema as tt, Color$1 as u, PAGE_SIZE_A4 as ut, ContentCellValue as v, rgbHexToColor as vt, ContentListMembership as w, ContentDocumentSchema as x, ContentCellValueSchema as y, ContentSheetColumn as z };
@@ -0,0 +1,88 @@
1
+ import { d as XmlNode } from "./node-CkBWRjNR.js";
2
+ import { r as Package } from "./package-BUojjTXf.js";
3
+ import "./read-CMDEXqGw.js";
4
+ import "./write-CT-EgVT7.js";
5
+ import "./parse-A8_8sdpX.js";
6
+ import "./build-Z1KRkSEB.js";
7
+ import "./fragment-B1ZV7T5Z.js";
8
+ import "./util-DFe4UbvU.js";
9
+ import "./compact-f0TfhicN.js";
10
+ import "./color-fFIKAs-Y.js";
11
+ import "./metadata-o_WH9V_I.js";
12
+ import "./read-B2-FFhqI.js";
13
+ import "./numbering-D0YfuiOO.js";
14
+ import "./read-CeCtSzjQ.js";
15
+ import "./xlsx-BxKODiLX.js";
16
+ import "./content-t6ZfmfQM.js";
17
+ import "./build-C0gS5QeG.js";
18
+ import { z } from "zod";
19
+ import { Alignment as Alignment$1, AlignmentSchema, Box as Box$1, BoxSchema, COLOR_BLACK as COLOR_BLACK$1, Color as Color$1, ColorSchema, ContentBlock as ContentBlock$1, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders as ContentCellBorders$1, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument as ContentDocument$1, ContentDocumentSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph as ContentParagraph$1, ContentParagraphSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema as ContentSectionSchema$1, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange as ContentSheetPrintRange$1, ContentSheetPrintRangeSchema, ContentSheetPrintSettings as ContentSheetPrintSettings$1, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange as ContentSheetRepeatRange$1, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema as ContentSlideSchema$1, ContentStrokeStyle, ContentStrokeStyleSchema, ContentTable as ContentTable$1, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, Margins, MarginsSchema, PAGE_SIZE_A4 as PAGE_SIZE_A4$1, PAGE_SIZE_LETTER as PAGE_SIZE_LETTER$1, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN as SLIDE_SIZE_WIDESCREEN$1, colorToRgbHex as colorToRgbHex$1, isContentBlock, rgbHexToColor as rgbHexToColor$1 } from "document-schema.js";
20
+ //#region src/codec.d.ts
21
+ declare const xmlCodec: z.ZodCodec<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22
+ type: z.ZodLiteral<"text">;
23
+ value: z.ZodString;
24
+ }, z.core.$strip>, z.ZodObject<{
25
+ type: z.ZodLiteral<"cdata">;
26
+ value: z.ZodString;
27
+ }, z.core.$strip>, z.ZodObject<{
28
+ type: z.ZodLiteral<"comment">;
29
+ value: z.ZodString;
30
+ }, z.core.$strip>, z.ZodObject<{
31
+ type: z.ZodLiteral<"declaration">;
32
+ attributes: z.ZodArray<z.ZodObject<{
33
+ name: z.ZodString;
34
+ value: z.ZodString;
35
+ }, z.core.$strip>>;
36
+ }, z.core.$strip>, z.ZodObject<{
37
+ type: z.ZodLiteral<"pi">;
38
+ target: z.ZodString;
39
+ content: z.ZodString;
40
+ }, z.core.$strip>, z.ZodObject<{
41
+ type: z.ZodLiteral<"element">;
42
+ tag: z.ZodString;
43
+ attributes: z.ZodArray<z.ZodObject<{
44
+ name: z.ZodString;
45
+ value: z.ZodString;
46
+ }, z.core.$strip>>;
47
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
48
+ }, z.core.$strip>], "type">>>;
49
+ declare const packageCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodObject<{
50
+ parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
51
+ kind: z.ZodLiteral<"xml">;
52
+ nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
53
+ type: z.ZodLiteral<"text">;
54
+ value: z.ZodString;
55
+ }, z.core.$strip>, z.ZodObject<{
56
+ type: z.ZodLiteral<"cdata">;
57
+ value: z.ZodString;
58
+ }, z.core.$strip>, z.ZodObject<{
59
+ type: z.ZodLiteral<"comment">;
60
+ value: z.ZodString;
61
+ }, z.core.$strip>, z.ZodObject<{
62
+ type: z.ZodLiteral<"declaration">;
63
+ attributes: z.ZodArray<z.ZodObject<{
64
+ name: z.ZodString;
65
+ value: z.ZodString;
66
+ }, z.core.$strip>>;
67
+ }, z.core.$strip>, z.ZodObject<{
68
+ type: z.ZodLiteral<"pi">;
69
+ target: z.ZodString;
70
+ content: z.ZodString;
71
+ }, z.core.$strip>, z.ZodObject<{
72
+ type: z.ZodLiteral<"element">;
73
+ tag: z.ZodString;
74
+ attributes: z.ZodArray<z.ZodObject<{
75
+ name: z.ZodString;
76
+ value: z.ZodString;
77
+ }, z.core.$strip>>;
78
+ children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
79
+ }, z.core.$strip>], "type">>;
80
+ }, z.core.$strip>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"binary">;
82
+ base64: z.ZodString;
83
+ }, z.core.$strip>], "kind">>;
84
+ }, z.core.$strip>>;
85
+ declare function decodePackage(bytes: Uint8Array<ArrayBuffer>): Package;
86
+ declare function encodePackage(pkg: Package): Uint8Array<ArrayBuffer>;
87
+ //#endregion
88
+ export { ContentSlideSchema$1 as $, ContentRun as A, ContentSheetColumnSchema as B, ContentImageBlockSchema as C, ContentPageBreakSchema as D, ContentPageBreak as E, ContentShapeSchema as F, ContentSheetPrintSettings$1 as G, ContentSheetImageSchema as H, ContentSheet as I, ContentSheetRepeatRangeSchema as J, ContentSheetPrintSettingsSchema as K, ContentSheetCell as L, ContentSection as M, ContentSectionSchema$1 as N, ContentParagraph$1 as O, ContentShape as P, ContentSlide as Q, ContentSheetCellSchema as R, ContentImageBlock as S, ContentListMembershipSchema as T, ContentSheetPrintRange$1 as U, ContentSheetImage as V, ContentSheetPrintRangeSchema as W, ContentSheetRowSchema as X, ContentSheetRow as Y, ContentSheetSchema as Z, ContentCellBordersSchema as _, isContentBlock as _t, Alignment$1 as a, ContentTableRow as at, ContentDocument$1 as b, BoxSchema as c, Margins as ct, ColorSchema as d, PAGE_SIZE_LETTER$1 as dt, ContentStrokeStyle as et, ContentBlock$1 as f, PageSize$1 as ft, ContentCellBorders$1 as g, colorToRgbHex$1 as gt, ContentBorderSchema as h, SLIDE_SIZE_WIDESCREEN$1 as ht, xmlCodec as i, ContentTableCellSchema as it, ContentRunSchema as j, ContentParagraphSchema as k, COLOR_BLACK$1 as l, MarginsSchema as lt, ContentBorder as m, SLIDE_SIZE_STANDARD as mt, encodePackage as n, ContentTable$1 as nt, AlignmentSchema as o, ContentTableRowSchema as ot, ContentBlockSchema as p, PageSizeSchema as pt, ContentSheetRepeatRange$1 as q, packageCodec as r, ContentTableCell as rt, Box$1 as s, ContentTableSchema as st, decodePackage as t, ContentStrokeStyleSchema as tt, Color$1 as u, PAGE_SIZE_A4$1 as ut, ContentCellValue as v, rgbHexToColor$1 as vt, ContentListMembership as w, ContentDocumentSchema as x, ContentCellValueSchema as y, ContentSheetColumn as z };
package/dist/codec.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as xmlCodec, n as encodePackage, r as packageCodec, t as decodePackage } from "./codec-D2Q5WkEd.cjs";
1
+ import { i as xmlCodec, n as encodePackage, r as packageCodec, t as decodePackage } from "./codec-Ch4blnoI.cjs";
2
2
  export { decodePackage, encodePackage, packageCodec, xmlCodec };
package/dist/codec.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { i as xmlCodec, n as encodePackage, r as packageCodec, t as decodePackage } from "./codec-Ad7Qf290.js";
1
+ import { i as xmlCodec, n as encodePackage, r as packageCodec, t as decodePackage } from "./codec-ChWBx_WN.js";
2
2
  export { decodePackage, encodePackage, packageCodec, xmlCodec };
package/dist/index.cjs CHANGED
@@ -42,12 +42,6 @@ Object.defineProperty(exports, "COLOR_BLACK", {
42
42
  return document_schema_js.COLOR_BLACK;
43
43
  }
44
44
  });
45
- Object.defineProperty(exports, "CONTENT_FORMAT_VERSION", {
46
- enumerable: true,
47
- get: function() {
48
- return document_schema_js.CONTENT_FORMAT_VERSION;
49
- }
50
- });
51
45
  Object.defineProperty(exports, "ColorSchema", {
52
46
  enumerable: true,
53
47
  get: function() {
package/dist/index.d.cts CHANGED
@@ -19,5 +19,5 @@ import { n as PptxDocumentSchema, r as readPptx, t as PptxDocument } from "./rea
19
19
  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";
20
20
  import { t as readXlsxContent } from "./content-UlQ-Nhgi.cjs";
21
21
  import { t as buildXlsxPackage } from "./build-CBL9scQK.cjs";
22
- import { $ as ContentSlide, A as ContentParagraphSchema, B as ContentSheetColumn, C as ContentImageBlock, D as ContentPageBreak, E as ContentListMembershipSchema, F as ContentShape, G as ContentSheetPrintRangeSchema, H as ContentSheetImage, I as ContentShapeSchema, J as ContentSheetRepeatRange, K as ContentSheetPrintSettings, L as ContentSheet, M as ContentRunSchema, N as ContentSection, O as ContentPageBreakSchema, P as ContentSectionSchema, Q as ContentSheetSchema, R as ContentSheetCell, S as ContentDocumentSchema, T as ContentListMembership, U as ContentSheetImageSchema, V as ContentSheetColumnSchema, W as ContentSheetPrintRange, X as ContentSheetRow, Y as ContentSheetRepeatRangeSchema, Z as ContentSheetRowSchema, _ as ContentCellBorders, _t as colorToRgbHex, a as Alignment, at as ContentTableCellSchema, b as ContentCellValueSchema, c as BoxSchema, ct as ContentTableSchema, d as Color, dt as PAGE_SIZE_A4, et as ContentSlideSchema, f as ColorSchema, ft as PAGE_SIZE_LETTER, g as ContentBorderSchema, gt as SLIDE_SIZE_WIDESCREEN, h as ContentBorder, ht as SLIDE_SIZE_STANDARD, i as xmlCodec, it as ContentTableCell, j as ContentRun, k as ContentParagraph, l as COLOR_BLACK, lt as Margins, m as ContentBlockSchema, mt as PageSizeSchema, n as encodePackage, nt as ContentStrokeStyleSchema, o as AlignmentSchema, ot as ContentTableRow, p as ContentBlock, pt as PageSize, q as ContentSheetPrintSettingsSchema, r as packageCodec, rt as ContentTable, s as Box, st as ContentTableRowSchema, t as decodePackage, tt as ContentStrokeStyle, u as CONTENT_FORMAT_VERSION, ut as MarginsSchema, v as ContentCellBordersSchema, vt as isContentBlock, w as ContentImageBlockSchema, x as ContentDocument, y as ContentCellValue, yt as rgbHexToColor, z as ContentSheetCellSchema } from "./codec-D2Q5WkEd.cjs";
23
- export { type Alignment, AlignmentSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DocumentMetadata, DocumentMetadataSchema, type DocxDocument, DocxDocumentSchema, type Footnote, FootnoteSchema, type ImageFormat, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
22
+ import { $ as ContentSlideSchema, A as ContentRun, B as ContentSheetColumnSchema, C as ContentImageBlockSchema, D as ContentPageBreakSchema, E as ContentPageBreak, F as ContentShapeSchema, G as ContentSheetPrintSettings, H as ContentSheetImageSchema, I as ContentSheet, J as ContentSheetRepeatRangeSchema, K as ContentSheetPrintSettingsSchema, L as ContentSheetCell, M as ContentSection, N as ContentSectionSchema, O as ContentParagraph, P as ContentShape, Q as ContentSlide, R as ContentSheetCellSchema, S as ContentImageBlock, T as ContentListMembershipSchema, U as ContentSheetPrintRange, V as ContentSheetImage, W as ContentSheetPrintRangeSchema, X as ContentSheetRowSchema, Y as ContentSheetRow, Z as ContentSheetSchema, _ as ContentCellBordersSchema, _t as isContentBlock, a as Alignment, at as ContentTableRow, b as ContentDocument, c as BoxSchema, ct as Margins, d as ColorSchema, dt as PAGE_SIZE_LETTER, et as ContentStrokeStyle, f as ContentBlock, ft as PageSize, g as ContentCellBorders, gt as colorToRgbHex, h as ContentBorderSchema, ht as SLIDE_SIZE_WIDESCREEN, i as xmlCodec, it as ContentTableCellSchema, j as ContentRunSchema, k as ContentParagraphSchema, l as COLOR_BLACK, lt as MarginsSchema, m as ContentBorder, mt as SLIDE_SIZE_STANDARD, n as encodePackage, nt as ContentTable, o as AlignmentSchema, ot as ContentTableRowSchema, p as ContentBlockSchema, pt as PageSizeSchema, q as ContentSheetRepeatRange, r as packageCodec, rt as ContentTableCell, s as Box, st as ContentTableSchema, t as decodePackage, tt as ContentStrokeStyleSchema, u as Color, ut as PAGE_SIZE_A4, v as ContentCellValue, vt as rgbHexToColor, w as ContentListMembership, x as ContentDocumentSchema, y as ContentCellValueSchema, z as ContentSheetColumn } from "./codec-Ch4blnoI.cjs";
23
+ export { type Alignment, AlignmentSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DocumentMetadata, DocumentMetadataSchema, type DocxDocument, DocxDocumentSchema, type Footnote, FootnoteSchema, type ImageFormat, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
package/dist/index.d.ts CHANGED
@@ -19,5 +19,5 @@ import { n as PptxDocumentSchema, r as readPptx, t as PptxDocument } from "./rea
19
19
  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";
20
20
  import { t as readXlsxContent } from "./content-t6ZfmfQM.js";
21
21
  import { t as buildXlsxPackage } from "./build-C0gS5QeG.js";
22
- import { $ as ContentSlide, A as ContentParagraphSchema, B as ContentSheetColumn, C as ContentImageBlock, D as ContentPageBreak, E as ContentListMembershipSchema, F as ContentShape, G as ContentSheetPrintRangeSchema, H as ContentSheetImage, I as ContentShapeSchema, J as ContentSheetRepeatRange, K as ContentSheetPrintSettings, L as ContentSheet, M as ContentRunSchema, N as ContentSection, O as ContentPageBreakSchema, P as ContentSectionSchema, Q as ContentSheetSchema, R as ContentSheetCell, S as ContentDocumentSchema, T as ContentListMembership, U as ContentSheetImageSchema, V as ContentSheetColumnSchema, W as ContentSheetPrintRange, X as ContentSheetRow, Y as ContentSheetRepeatRangeSchema, Z as ContentSheetRowSchema, _ as ContentCellBorders, _t as colorToRgbHex, a as Alignment, at as ContentTableCellSchema, b as ContentCellValueSchema, c as BoxSchema, ct as ContentTableSchema, d as Color, dt as PAGE_SIZE_A4, et as ContentSlideSchema, f as ColorSchema, ft as PAGE_SIZE_LETTER, g as ContentBorderSchema, gt as SLIDE_SIZE_WIDESCREEN, h as ContentBorder, ht as SLIDE_SIZE_STANDARD, i as xmlCodec, it as ContentTableCell, j as ContentRun, k as ContentParagraph, l as COLOR_BLACK, lt as Margins, m as ContentBlockSchema, mt as PageSizeSchema, n as encodePackage, nt as ContentStrokeStyleSchema, o as AlignmentSchema, ot as ContentTableRow, p as ContentBlock, pt as PageSize, q as ContentSheetPrintSettingsSchema, r as packageCodec, rt as ContentTable, s as Box, st as ContentTableRowSchema, t as decodePackage, tt as ContentStrokeStyle, u as CONTENT_FORMAT_VERSION, ut as MarginsSchema, v as ContentCellBordersSchema, vt as isContentBlock, w as ContentImageBlockSchema, x as ContentDocument, y as ContentCellValue, yt as rgbHexToColor, z as ContentSheetCellSchema } from "./codec-Ad7Qf290.js";
23
- export { type Alignment, AlignmentSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DocumentMetadata, DocumentMetadataSchema, type DocxDocument, DocxDocumentSchema, type Footnote, FootnoteSchema, type ImageFormat, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
22
+ import { $ as ContentSlideSchema, A as ContentRun, B as ContentSheetColumnSchema, C as ContentImageBlockSchema, D as ContentPageBreakSchema, E as ContentPageBreak, F as ContentShapeSchema, G as ContentSheetPrintSettings, H as ContentSheetImageSchema, I as ContentSheet, J as ContentSheetRepeatRangeSchema, K as ContentSheetPrintSettingsSchema, L as ContentSheetCell, M as ContentSection, N as ContentSectionSchema, O as ContentParagraph, P as ContentShape, Q as ContentSlide, R as ContentSheetCellSchema, S as ContentImageBlock, T as ContentListMembershipSchema, U as ContentSheetPrintRange, V as ContentSheetImage, W as ContentSheetPrintRangeSchema, X as ContentSheetRowSchema, Y as ContentSheetRow, Z as ContentSheetSchema, _ as ContentCellBordersSchema, _t as isContentBlock, a as Alignment, at as ContentTableRow, b as ContentDocument, c as BoxSchema, ct as Margins, d as ColorSchema, dt as PAGE_SIZE_LETTER, et as ContentStrokeStyle, f as ContentBlock, ft as PageSize, g as ContentCellBorders, gt as colorToRgbHex, h as ContentBorderSchema, ht as SLIDE_SIZE_WIDESCREEN, i as xmlCodec, it as ContentTableCellSchema, j as ContentRunSchema, k as ContentParagraphSchema, l as COLOR_BLACK, lt as MarginsSchema, m as ContentBorder, mt as SLIDE_SIZE_STANDARD, n as encodePackage, nt as ContentTable, o as AlignmentSchema, ot as ContentTableRowSchema, p as ContentBlockSchema, pt as PageSizeSchema, q as ContentSheetRepeatRange, r as packageCodec, rt as ContentTableCell, s as Box, st as ContentTableSchema, t as decodePackage, tt as ContentStrokeStyleSchema, u as Color, ut as PAGE_SIZE_A4, v as ContentCellValue, vt as rgbHexToColor, w as ContentListMembership, x as ContentDocumentSchema, y as ContentCellValueSchema, z as ContentSheetColumn } from "./codec-ChWBx_WN.js";
23
+ export { type Alignment, AlignmentSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentDocument, ContentDocumentSchema, type ContentImageBlock, ContentImageBlockSchema, type ContentListMembership, ContentListMembershipSchema, type ContentPageBreak, ContentPageBreakSchema, type ContentParagraph, ContentParagraphSchema, type ContentRun, ContentRunSchema, type ContentSection, ContentSectionSchema, type ContentShape, ContentShapeSchema, type ContentSheet, type ContentSheetCell, ContentSheetCellSchema, type ContentSheetColumn, ContentSheetColumnSchema, type ContentSheetImage, ContentSheetImageSchema, type ContentSheetPrintRange, ContentSheetPrintRangeSchema, type ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, type ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, type ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, type ContentSlide, ContentSlideSchema, type ContentStrokeStyle, ContentStrokeStyleSchema, type ContentTable, type ContentTableCell, ContentTableCellSchema, type ContentTableRow, ContentTableRowSchema, ContentTableSchema, type DefinedName, DefinedNameSchema, type DocumentMetadata, DocumentMetadataSchema, type DocxDocument, DocxDocumentSchema, type Footnote, FootnoteSchema, type ImageFormat, type Margins, MarginsSchema, type NumberingDefinition, NumberingDefinitionSchema, type NumberingDefinitions, type NumberingLevel, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, type Package, PackageSchema, type PageSize, PageSizeSchema, type Part, PartSchema, type PptxDocument, PptxDocumentSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type XlsxCell, XlsxCellSchema, type XlsxSheet, XlsxSheetSchema, type XlsxWorkbook, XlsxWorkbookSchema, type XmlCdata, XmlCdataSchema, type XmlComment, XmlCommentSchema, type XmlDeclaration, XmlDeclarationSchema, type XmlElement, XmlElementSchema, type XmlNode, XmlNodeSchema, type XmlPart, XmlPartSchema, type XmlPi, XmlPiSchema, type XmlText, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
package/dist/index.js CHANGED
@@ -20,5 +20,5 @@ import { PptxDocumentSchema, readPptx } from "./typed/pptx/read.js";
20
20
  import { DefinedNameSchema, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, readXlsx } from "./typed/xlsx.js";
21
21
  import { readXlsxContent } from "./typed/xlsx/content.js";
22
22
  import { buildXlsxPackage } from "./typed/xlsx/build.js";
23
- import { AlignmentSchema, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, ColorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor } from "document-schema.js";
24
- export { AlignmentSchema, AttributeSchema, BinaryPartSchema, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, ColorSchema, CommentSchema, CompactPackageSchema, CompactPartSchema, CompactXmlNodeSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DefinedNameSchema, DocumentMetadataSchema, DocxDocumentSchema, FootnoteSchema, MarginsSchema, NumberingDefinitionSchema, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageSchema, PageSizeSchema, PartSchema, PptxDocumentSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, XmlCdataSchema, XmlCommentSchema, XmlDeclarationSchema, XmlElementSchema, XmlNodeSchema, XmlPartSchema, XmlPiSchema, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
23
+ import { AlignmentSchema, BoxSchema, COLOR_BLACK, ColorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor } from "document-schema.js";
24
+ export { AlignmentSchema, AttributeSchema, BinaryPartSchema, BoxSchema, COLOR_BLACK, ColorSchema, CommentSchema, CompactPackageSchema, CompactPartSchema, CompactXmlNodeSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeStyleSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, DefinedNameSchema, DocumentMetadataSchema, DocxDocumentSchema, FootnoteSchema, MarginsSchema, NumberingDefinitionSchema, NumberingLevelSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageSchema, PageSizeSchema, PartSchema, PptxDocumentSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, XlsxCellSchema, XlsxSheetSchema, XlsxWorkbookSchema, XmlCdataSchema, XmlCommentSchema, XmlDeclarationSchema, XmlElementSchema, XmlNodeSchema, XmlPartSchema, XmlPiSchema, XmlTextSchema, applyColorTransforms, attr, base64ToBytes, buildXlsxPackage, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, fromCompact, isCompactXmlNode, isContentBlock, isXmlNode, packageCodec, parsePackage, parseXml, readDocx, readNumberingDefinitions, readPptx, readXlsx, readXlsxContent, resolveRelationships, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
@@ -107,10 +107,16 @@ function readLineSpacingMultiplier(pPr) {
107
107
  const val = pct === void 0 ? void 0 : require_typed_util.attr(pct, "val");
108
108
  return val === void 0 ? void 0 : Number(val) / 1e5;
109
109
  }
110
+ function readOutlineLevel(pPr) {
111
+ const raw = pPr === void 0 ? void 0 : require_typed_util.attr(pPr, "lvl");
112
+ if (raw === void 0 || raw === "") return;
113
+ const level = Number(raw);
114
+ return Number.isInteger(level) && level >= 0 ? level : void 0;
115
+ }
110
116
  function readParagraph(pEl, placeholderType, context, slideRels) {
111
117
  const pPr = require_typed_util.childrenWithTag(pEl, "a:pPr")[0];
112
- const level = pPr === void 0 ? 0 : Number(require_typed_util.attr(pPr, "lvl") ?? "0");
113
- const masterDefaults = require_typed_pptx_inherit.resolveDefaultRunProperties(placeholderType, level, context);
118
+ const outlineLevel = readOutlineLevel(pPr);
119
+ const masterDefaults = require_typed_pptx_inherit.resolveDefaultRunProperties(placeholderType, outlineLevel ?? 0, context);
114
120
  const pPrDefRPr = pPr === void 0 ? void 0 : require_typed_util.childrenWithTag(pPr, "a:defRPr")[0];
115
121
  const paragraphDefaults = pPrDefRPr === void 0 ? masterDefaults : mergeRunProperties(masterDefaults, require_typed_pptx_inherit.readRunPropertiesFromElement(pPrDefRPr, context));
116
122
  const runs = [];
@@ -125,6 +131,7 @@ function readParagraph(pEl, placeholderType, context, slideRels) {
125
131
  kind: "paragraph",
126
132
  runs,
127
133
  alignment: pPr === void 0 ? void 0 : readAlignment(require_typed_util.attr(pPr, "algn")),
134
+ list: outlineLevel === void 0 ? void 0 : { level: outlineLevel },
128
135
  spacingBeforePt: readAbsoluteSpacingPt(pPr === void 0 ? void 0 : require_typed_util.childrenWithTag(pPr, "a:spcBef")[0]),
129
136
  spacingAfterPt: readAbsoluteSpacingPt(pPr === void 0 ? void 0 : require_typed_util.childrenWithTag(pPr, "a:spcAft")[0]),
130
137
  lineSpacing: readLineSpacingMultiplier(pPr),
@@ -106,10 +106,16 @@ function readLineSpacingMultiplier(pPr) {
106
106
  const val = pct === void 0 ? void 0 : attr(pct, "val");
107
107
  return val === void 0 ? void 0 : Number(val) / 1e5;
108
108
  }
109
+ function readOutlineLevel(pPr) {
110
+ const raw = pPr === void 0 ? void 0 : attr(pPr, "lvl");
111
+ if (raw === void 0 || raw === "") return;
112
+ const level = Number(raw);
113
+ return Number.isInteger(level) && level >= 0 ? level : void 0;
114
+ }
109
115
  function readParagraph(pEl, placeholderType, context, slideRels) {
110
116
  const pPr = childrenWithTag(pEl, "a:pPr")[0];
111
- const level = pPr === void 0 ? 0 : Number(attr(pPr, "lvl") ?? "0");
112
- const masterDefaults = resolveDefaultRunProperties(placeholderType, level, context);
117
+ const outlineLevel = readOutlineLevel(pPr);
118
+ const masterDefaults = resolveDefaultRunProperties(placeholderType, outlineLevel ?? 0, context);
113
119
  const pPrDefRPr = pPr === void 0 ? void 0 : childrenWithTag(pPr, "a:defRPr")[0];
114
120
  const paragraphDefaults = pPrDefRPr === void 0 ? masterDefaults : mergeRunProperties(masterDefaults, readRunPropertiesFromElement(pPrDefRPr, context));
115
121
  const runs = [];
@@ -124,6 +130,7 @@ function readParagraph(pEl, placeholderType, context, slideRels) {
124
130
  kind: "paragraph",
125
131
  runs,
126
132
  alignment: pPr === void 0 ? void 0 : readAlignment(attr(pPr, "algn")),
133
+ list: outlineLevel === void 0 ? void 0 : { level: outlineLevel },
127
134
  spacingBeforePt: readAbsoluteSpacingPt(pPr === void 0 ? void 0 : childrenWithTag(pPr, "a:spcBef")[0]),
128
135
  spacingAfterPt: readAbsoluteSpacingPt(pPr === void 0 ? void 0 : childrenWithTag(pPr, "a:spcAft")[0]),
129
136
  lineSpacing: readLineSpacingMultiplier(pPr),
@@ -354,7 +354,6 @@ function readXlsxContent(pkg) {
354
354
  const sheets = resolveSheetEntries(pkg).map((entry, sheetIndex) => readSheet(pkg, entry, sheetIndex, sharedStrings, definedNamesBySheet, context));
355
355
  return {
356
356
  kind: "spreadsheet",
357
- formatVersion: document_schema_js.CONTENT_FORMAT_VERSION,
358
357
  metadata: require_typed_shared_metadata.readCoreProperties(pkg),
359
358
  sheets
360
359
  };
@@ -9,7 +9,7 @@ import { readDate1904, serialToIsoDate, serialToIsoDateTime, serialToIsoTime } f
9
9
  import { readCellStyles } from "./styles.js";
10
10
  import { readSheetCellComments } from "./comments.js";
11
11
  import { columnWidthCharsToPt } from "./units.js";
12
- import { CONTENT_FORMAT_VERSION, parseCellReference, parseRangeReference } from "document-schema.js";
12
+ import { parseCellReference, parseRangeReference } from "document-schema.js";
13
13
  //#region src/typed/xlsx/content.ts
14
14
  const WORKBOOK_PATH = "xl/workbook.xml";
15
15
  function resolveSheetEntries(pkg) {
@@ -353,7 +353,6 @@ function readXlsxContent(pkg) {
353
353
  const sheets = resolveSheetEntries(pkg).map((entry, sheetIndex) => readSheet(pkg, entry, sheetIndex, sharedStrings, definedNamesBySheet, context));
354
354
  return {
355
355
  kind: "spreadsheet",
356
- formatVersion: CONTENT_FORMAT_VERSION,
357
356
  metadata: readCoreProperties(pkg),
358
357
  sheets
359
358
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ooxml.js",
3
- "version": "2.16.1",
3
+ "version": "3.0.0",
4
4
  "description": "Type-safe, lossless round-trip conversion between OOXML packages (docx, pptx, xlsx) and JSON, built on Zod 4 codecs.",
5
5
  "type": "module",
6
6
  "repository": {
@@ -78,7 +78,7 @@
78
78
  "license": "MIT",
79
79
  "packageManager": "pnpm@11.6.0",
80
80
  "dependencies": {
81
- "document-schema.js": "^3.3.0",
81
+ "document-schema.js": "^4.0.0",
82
82
  "fast-xml-parser": "^5.10.1",
83
83
  "fflate": "^0.8.3",
84
84
  "zod": "^4.4.3"
@@ -1,88 +0,0 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.js";
2
- import { r as Package } from "./package-BUojjTXf.js";
3
- import "./read-CMDEXqGw.js";
4
- import "./write-CT-EgVT7.js";
5
- import "./parse-A8_8sdpX.js";
6
- import "./build-Z1KRkSEB.js";
7
- import "./fragment-B1ZV7T5Z.js";
8
- import "./util-DFe4UbvU.js";
9
- import "./compact-f0TfhicN.js";
10
- import "./color-fFIKAs-Y.js";
11
- import "./metadata-o_WH9V_I.js";
12
- import "./read-B2-FFhqI.js";
13
- import "./numbering-D0YfuiOO.js";
14
- import "./read-CeCtSzjQ.js";
15
- import "./xlsx-BxKODiLX.js";
16
- import "./content-t6ZfmfQM.js";
17
- import "./build-C0gS5QeG.js";
18
- import { z } from "zod";
19
- import { Alignment as Alignment$1, AlignmentSchema, Box as Box$1, BoxSchema, COLOR_BLACK as COLOR_BLACK$1, CONTENT_FORMAT_VERSION as CONTENT_FORMAT_VERSION$1, Color as Color$1, ColorSchema, ContentBlock as ContentBlock$1, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders as ContentCellBorders$1, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument as ContentDocument$1, ContentDocumentSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph as ContentParagraph$1, ContentParagraphSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema as ContentSectionSchema$1, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange as ContentSheetPrintRange$1, ContentSheetPrintRangeSchema, ContentSheetPrintSettings as ContentSheetPrintSettings$1, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange as ContentSheetRepeatRange$1, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema as ContentSlideSchema$1, ContentStrokeStyle, ContentStrokeStyleSchema, ContentTable as ContentTable$1, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, Margins, MarginsSchema, PAGE_SIZE_A4 as PAGE_SIZE_A4$1, PAGE_SIZE_LETTER as PAGE_SIZE_LETTER$1, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN as SLIDE_SIZE_WIDESCREEN$1, colorToRgbHex as colorToRgbHex$1, isContentBlock, rgbHexToColor as rgbHexToColor$1 } from "document-schema.js";
20
- //#region src/codec.d.ts
21
- declare const xmlCodec: z.ZodCodec<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22
- type: z.ZodLiteral<"text">;
23
- value: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- type: z.ZodLiteral<"cdata">;
26
- value: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- type: z.ZodLiteral<"comment">;
29
- value: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- type: z.ZodLiteral<"declaration">;
32
- attributes: z.ZodArray<z.ZodObject<{
33
- name: z.ZodString;
34
- value: z.ZodString;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>, z.ZodObject<{
37
- type: z.ZodLiteral<"pi">;
38
- target: z.ZodString;
39
- content: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- type: z.ZodLiteral<"element">;
42
- tag: z.ZodString;
43
- attributes: z.ZodArray<z.ZodObject<{
44
- name: z.ZodString;
45
- value: z.ZodString;
46
- }, z.core.$strip>>;
47
- children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
48
- }, z.core.$strip>], "type">>>;
49
- declare const packageCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodObject<{
50
- parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
51
- kind: z.ZodLiteral<"xml">;
52
- nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
53
- type: z.ZodLiteral<"text">;
54
- value: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- type: z.ZodLiteral<"cdata">;
57
- value: z.ZodString;
58
- }, z.core.$strip>, z.ZodObject<{
59
- type: z.ZodLiteral<"comment">;
60
- value: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- type: z.ZodLiteral<"declaration">;
63
- attributes: z.ZodArray<z.ZodObject<{
64
- name: z.ZodString;
65
- value: z.ZodString;
66
- }, z.core.$strip>>;
67
- }, z.core.$strip>, z.ZodObject<{
68
- type: z.ZodLiteral<"pi">;
69
- target: z.ZodString;
70
- content: z.ZodString;
71
- }, z.core.$strip>, z.ZodObject<{
72
- type: z.ZodLiteral<"element">;
73
- tag: z.ZodString;
74
- attributes: z.ZodArray<z.ZodObject<{
75
- name: z.ZodString;
76
- value: z.ZodString;
77
- }, z.core.$strip>>;
78
- children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
79
- }, z.core.$strip>], "type">>;
80
- }, z.core.$strip>, z.ZodObject<{
81
- kind: z.ZodLiteral<"binary">;
82
- base64: z.ZodString;
83
- }, z.core.$strip>], "kind">>;
84
- }, z.core.$strip>>;
85
- declare function decodePackage(bytes: Uint8Array<ArrayBuffer>): Package;
86
- declare function encodePackage(pkg: Package): Uint8Array<ArrayBuffer>;
87
- //#endregion
88
- export { ContentSlide as $, ContentParagraphSchema as A, ContentSheetColumn as B, ContentImageBlock as C, ContentPageBreak as D, ContentListMembershipSchema as E, ContentShape as F, ContentSheetPrintRangeSchema as G, ContentSheetImage as H, ContentShapeSchema as I, ContentSheetRepeatRange$1 as J, ContentSheetPrintSettings$1 as K, ContentSheet as L, ContentRunSchema as M, ContentSection as N, ContentPageBreakSchema as O, ContentSectionSchema$1 as P, ContentSheetSchema as Q, ContentSheetCell as R, ContentDocumentSchema as S, ContentListMembership as T, ContentSheetImageSchema as U, ContentSheetColumnSchema as V, ContentSheetPrintRange$1 as W, ContentSheetRow as X, ContentSheetRepeatRangeSchema as Y, ContentSheetRowSchema as Z, ContentCellBorders$1 as _, colorToRgbHex$1 as _t, Alignment$1 as a, ContentTableCellSchema as at, ContentCellValueSchema as b, BoxSchema as c, ContentTableSchema as ct, Color$1 as d, PAGE_SIZE_A4$1 as dt, ContentSlideSchema$1 as et, ColorSchema as f, PAGE_SIZE_LETTER$1 as ft, ContentBorderSchema as g, SLIDE_SIZE_WIDESCREEN$1 as gt, ContentBorder as h, SLIDE_SIZE_STANDARD as ht, xmlCodec as i, ContentTableCell as it, ContentRun as j, ContentParagraph$1 as k, COLOR_BLACK$1 as l, Margins as lt, ContentBlockSchema as m, PageSizeSchema as mt, encodePackage as n, ContentStrokeStyleSchema as nt, AlignmentSchema as o, ContentTableRow as ot, ContentBlock$1 as p, PageSize$1 as pt, ContentSheetPrintSettingsSchema as q, packageCodec as r, ContentTable$1 as rt, Box$1 as s, ContentTableRowSchema as st, decodePackage as t, ContentStrokeStyle as tt, CONTENT_FORMAT_VERSION$1 as u, MarginsSchema as ut, ContentCellBordersSchema as v, isContentBlock as vt, ContentImageBlockSchema as w, ContentDocument$1 as x, ContentCellValue as y, rgbHexToColor$1 as yt, ContentSheetCellSchema as z };
@@ -1,88 +0,0 @@
1
- import { d as XmlNode } from "./node-CkBWRjNR.cjs";
2
- import { r as Package } from "./package-L24lkba-.cjs";
3
- import "./read-DzmMJPHd.cjs";
4
- import "./write-6JmxvaK5.cjs";
5
- import "./parse-CP5FLZqv.cjs";
6
- import "./build-XSm3I8LT.cjs";
7
- import "./fragment-B1og_8uA.cjs";
8
- import "./util-M3JJlDhF.cjs";
9
- import "./compact-B1qg9oex.cjs";
10
- import "./color-fFIKAs-Y.cjs";
11
- import "./metadata-D6o-kLpg.cjs";
12
- import "./read-D_CpruL_.cjs";
13
- import "./numbering-C53LT-Jx.cjs";
14
- import "./read-OBV7MMlF.cjs";
15
- import "./xlsx-B97t4YE-.cjs";
16
- import "./content-UlQ-Nhgi.cjs";
17
- import "./build-CBL9scQK.cjs";
18
- import { z } from "zod";
19
- import { Alignment as Alignment$1, AlignmentSchema, Box as Box$1, BoxSchema, COLOR_BLACK, CONTENT_FORMAT_VERSION, Color as Color$1, ColorSchema, ContentBlock as ContentBlock$1, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders as ContentCellBorders$1, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentDocument as ContentDocument$1, ContentDocumentSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph as ContentParagraph$1, ContentParagraphSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange as ContentSheetPrintRange$1, ContentSheetPrintRangeSchema, ContentSheetPrintSettings as ContentSheetPrintSettings$1, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange as ContentSheetRepeatRange$1, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentTable as ContentTable$1, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, Margins, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSize as PageSize$1, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, colorToRgbHex, isContentBlock, rgbHexToColor } from "document-schema.js";
20
- //#region src/codec.d.ts
21
- declare const xmlCodec: z.ZodCodec<z.ZodString, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
22
- type: z.ZodLiteral<"text">;
23
- value: z.ZodString;
24
- }, z.core.$strip>, z.ZodObject<{
25
- type: z.ZodLiteral<"cdata">;
26
- value: z.ZodString;
27
- }, z.core.$strip>, z.ZodObject<{
28
- type: z.ZodLiteral<"comment">;
29
- value: z.ZodString;
30
- }, z.core.$strip>, z.ZodObject<{
31
- type: z.ZodLiteral<"declaration">;
32
- attributes: z.ZodArray<z.ZodObject<{
33
- name: z.ZodString;
34
- value: z.ZodString;
35
- }, z.core.$strip>>;
36
- }, z.core.$strip>, z.ZodObject<{
37
- type: z.ZodLiteral<"pi">;
38
- target: z.ZodString;
39
- content: z.ZodString;
40
- }, z.core.$strip>, z.ZodObject<{
41
- type: z.ZodLiteral<"element">;
42
- tag: z.ZodString;
43
- attributes: z.ZodArray<z.ZodObject<{
44
- name: z.ZodString;
45
- value: z.ZodString;
46
- }, z.core.$strip>>;
47
- children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
48
- }, z.core.$strip>], "type">>>;
49
- declare const packageCodec: z.ZodCodec<z.ZodCustom<Uint8Array<ArrayBuffer>, Uint8Array<ArrayBuffer>>, z.ZodObject<{
50
- parts: z.ZodRecord<z.ZodString, z.ZodDiscriminatedUnion<[z.ZodObject<{
51
- kind: z.ZodLiteral<"xml">;
52
- nodes: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
53
- type: z.ZodLiteral<"text">;
54
- value: z.ZodString;
55
- }, z.core.$strip>, z.ZodObject<{
56
- type: z.ZodLiteral<"cdata">;
57
- value: z.ZodString;
58
- }, z.core.$strip>, z.ZodObject<{
59
- type: z.ZodLiteral<"comment">;
60
- value: z.ZodString;
61
- }, z.core.$strip>, z.ZodObject<{
62
- type: z.ZodLiteral<"declaration">;
63
- attributes: z.ZodArray<z.ZodObject<{
64
- name: z.ZodString;
65
- value: z.ZodString;
66
- }, z.core.$strip>>;
67
- }, z.core.$strip>, z.ZodObject<{
68
- type: z.ZodLiteral<"pi">;
69
- target: z.ZodString;
70
- content: z.ZodString;
71
- }, z.core.$strip>, z.ZodObject<{
72
- type: z.ZodLiteral<"element">;
73
- tag: z.ZodString;
74
- attributes: z.ZodArray<z.ZodObject<{
75
- name: z.ZodString;
76
- value: z.ZodString;
77
- }, z.core.$strip>>;
78
- children: z.ZodArray<z.ZodCustom<XmlNode, XmlNode>>;
79
- }, z.core.$strip>], "type">>;
80
- }, z.core.$strip>, z.ZodObject<{
81
- kind: z.ZodLiteral<"binary">;
82
- base64: z.ZodString;
83
- }, z.core.$strip>], "kind">>;
84
- }, z.core.$strip>>;
85
- declare function decodePackage(bytes: Uint8Array<ArrayBuffer>): Package;
86
- declare function encodePackage(pkg: Package): Uint8Array<ArrayBuffer>;
87
- //#endregion
88
- export { ContentSlide as $, ContentParagraphSchema as A, ContentSheetColumn as B, ContentImageBlock as C, ContentPageBreak as D, ContentListMembershipSchema as E, ContentShape as F, ContentSheetPrintRangeSchema as G, ContentSheetImage as H, ContentShapeSchema as I, ContentSheetRepeatRange$1 as J, ContentSheetPrintSettings$1 as K, ContentSheet as L, ContentRunSchema as M, ContentSection as N, ContentPageBreakSchema as O, ContentSectionSchema as P, ContentSheetSchema as Q, ContentSheetCell as R, ContentDocumentSchema as S, ContentListMembership as T, ContentSheetImageSchema as U, ContentSheetColumnSchema as V, ContentSheetPrintRange$1 as W, ContentSheetRow as X, ContentSheetRepeatRangeSchema as Y, ContentSheetRowSchema as Z, ContentCellBorders$1 as _, colorToRgbHex as _t, Alignment$1 as a, ContentTableCellSchema as at, ContentCellValueSchema as b, BoxSchema as c, ContentTableSchema as ct, Color$1 as d, PAGE_SIZE_A4 as dt, ContentSlideSchema as et, ColorSchema as f, PAGE_SIZE_LETTER as ft, ContentBorderSchema as g, SLIDE_SIZE_WIDESCREEN as gt, ContentBorder as h, SLIDE_SIZE_STANDARD as ht, xmlCodec as i, ContentTableCell as it, ContentRun as j, ContentParagraph$1 as k, COLOR_BLACK as l, Margins as lt, ContentBlockSchema as m, PageSizeSchema as mt, encodePackage as n, ContentStrokeStyleSchema as nt, AlignmentSchema as o, ContentTableRow as ot, ContentBlock$1 as p, PageSize$1 as pt, ContentSheetPrintSettingsSchema as q, packageCodec as r, ContentTable$1 as rt, Box$1 as s, ContentTableRowSchema as st, decodePackage as t, ContentStrokeStyle as tt, CONTENT_FORMAT_VERSION as u, MarginsSchema as ut, ContentCellBordersSchema as v, isContentBlock as vt, ContentImageBlockSchema as w, ContentDocument$1 as x, ContentCellValue as y, rgbHexToColor as yt, ContentSheetCellSchema as z };