ooxml.js 6.0.0 → 6.2.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 +32 -23
- package/dist/{build-XSm3I8LT.d.cts → build--uPsivid.d.cts} +1 -1
- package/dist/{build-q0qMH_ML.d.ts → build-BOI7rIog.d.ts} +1 -1
- package/dist/{build-D-ldsmtA.d.cts → build-BY9Mn-4K.d.cts} +1 -1
- package/dist/{build-Z1KRkSEB.d.ts → build-DgBE0bmv.d.ts} +1 -1
- package/dist/{codec-DdrBDJSU.d.cts → codec-BBM1RYx7.d.cts} +19 -19
- package/dist/{codec-CHbouqVZ.d.ts → codec-Cva8QD7-.d.ts} +19 -19
- package/dist/codec.d.cts +1 -1
- package/dist/codec.d.ts +1 -1
- package/dist/{color-fFIKAs-Y.d.cts → color-DLoZOrg3.d.cts} +1 -1
- package/dist/{color-fFIKAs-Y.d.ts → color-DLoZOrg3.d.ts} +1 -1
- package/dist/{compact-f0TfhicN.d.ts → compact-CmOeA2dl.d.ts} +2 -2
- package/dist/{compact-B1qg9oex.d.cts → compact-DMCbYORW.d.cts} +2 -2
- package/dist/compact.d.cts +1 -1
- package/dist/compact.d.ts +1 -1
- package/dist/{content-C79O3esU.d.cts → content-BiYr86lr.d.cts} +1 -1
- package/dist/{content-MEmp_Rlx.d.ts → content-D1pmxaUb.d.ts} +1 -1
- package/dist/{document-tree-BV4sMCXO.d.ts → document-tree-B17XbBOR.d.ts} +2 -2
- package/dist/{document-tree-BSPf6fkr.d.cts → document-tree-CjI-Z4Tp.d.cts} +2 -2
- package/dist/{fragment-B1og_8uA.d.cts → fragment-9dNg-m46.d.cts} +1 -1
- package/dist/{fragment-B1ZV7T5Z.d.ts → fragment-ClgCV_if.d.ts} +1 -1
- package/dist/image/sniff.d.cts +1 -1
- package/dist/image/sniff.d.ts +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +21 -21
- package/dist/index.d.ts +21 -21
- package/dist/index.js +1 -1
- package/dist/{metadata-o_WH9V_I.d.ts → metadata-Bjfa88HQ.d.ts} +1 -1
- package/dist/{metadata-D6o-kLpg.d.cts → metadata-C74-XCrx.d.cts} +1 -1
- package/dist/model/node.d.cts +1 -1
- package/dist/model/node.d.ts +1 -1
- package/dist/model/package.d.cts +1 -1
- package/dist/model/package.d.ts +1 -1
- package/dist/{node-CkBWRjNR.d.cts → node-B6JX5CRX.d.cts} +1 -1
- package/dist/{node-CkBWRjNR.d.ts → node-B6JX5CRX.d.ts} +1 -1
- package/dist/{numbering-D0YfuiOO.d.ts → numbering-CUMTFxfk.d.ts} +1 -1
- package/dist/{numbering-C53LT-Jx.d.cts → numbering-vpq3iLPm.d.cts} +1 -1
- package/dist/{package-L24lkba-.d.cts → package-DMk9fuTI.d.cts} +1 -1
- package/dist/package-io/read.d.cts +1 -1
- package/dist/package-io/read.d.ts +1 -1
- package/dist/package-io/write.d.cts +1 -1
- package/dist/package-io/write.d.ts +1 -1
- package/dist/{package-BUojjTXf.d.ts → package-otZYrxiO.d.ts} +1 -1
- package/dist/{parse-A8_8sdpX.d.ts → parse-BLukZ2z0.d.ts} +1 -1
- package/dist/{parse-CP5FLZqv.d.cts → parse-DcVtB3jT.d.cts} +1 -1
- package/dist/{read-ZWJPDvG-.d.ts → read-B5kexLpc.d.ts} +1 -1
- package/dist/{read-DPR6ihXO.js → read-BZ_jycSX.js} +3 -1
- package/dist/{read-CevviAf2.d.ts → read-BlcKA9Cg.d.ts} +1 -1
- package/dist/{read-BoV9SZy4.d.cts → read-C1h_Q4kx.d.cts} +1 -1
- package/dist/{read-Cj23Gllx.cjs → read-CXksZHJW.cjs} +3 -1
- package/dist/{read-A9CC5Toq.d.cts → read-D6kQeo-T.d.cts} +1 -1
- package/dist/{read-DA55zDgD.d.ts → read-D_kXw2N2.d.ts} +1 -1
- package/dist/{read-VbRhmjOh.d.cts → read-uKN0paUP.d.cts} +1 -1
- package/dist/{sniff-DjpnUZRp.d.cts → sniff-DGOBHA0O.d.cts} +1 -1
- package/dist/{sniff-DjpnUZRp.d.ts → sniff-DGOBHA0O.d.ts} +1 -1
- package/dist/typed/document-tree.cjs +1 -1
- package/dist/typed/document-tree.d.cts +1 -1
- package/dist/typed/document-tree.d.ts +1 -1
- package/dist/typed/document-tree.js +1 -1
- package/dist/typed/docx/constructs.d.cts +3 -3
- package/dist/typed/docx/constructs.d.ts +3 -3
- package/dist/typed/docx/numbering.d.cts +1 -1
- package/dist/typed/docx/numbering.d.ts +1 -1
- package/dist/typed/docx/read.cjs +1 -1
- package/dist/typed/docx/read.d.cts +1 -1
- package/dist/typed/docx/read.d.ts +1 -1
- package/dist/typed/docx/read.js +1 -1
- package/dist/typed/docx/styles.d.cts +1 -1
- package/dist/typed/docx/styles.d.ts +1 -1
- package/dist/typed/docx/write.d.cts +1 -1
- package/dist/typed/docx/write.d.ts +1 -1
- package/dist/typed/embedded.cjs +1 -1
- package/dist/typed/embedded.d.cts +2 -2
- package/dist/typed/embedded.d.ts +2 -2
- package/dist/typed/embedded.js +1 -1
- package/dist/typed/pptx/chart.d.cts +1 -1
- package/dist/typed/pptx/chart.d.ts +1 -1
- package/dist/typed/pptx/diagram.d.cts +1 -1
- package/dist/typed/pptx/diagram.d.ts +1 -1
- package/dist/typed/pptx/inherit.d.cts +2 -2
- package/dist/typed/pptx/inherit.d.ts +2 -2
- package/dist/typed/pptx/read.cjs +1 -1
- package/dist/typed/pptx/read.d.cts +1 -1
- package/dist/typed/pptx/read.d.ts +1 -1
- package/dist/typed/pptx/read.js +1 -1
- package/dist/typed/shared/color.d.cts +1 -1
- package/dist/typed/shared/color.d.ts +1 -1
- package/dist/typed/shared/drawingml.d.cts +1 -1
- package/dist/typed/shared/drawingml.d.ts +1 -1
- package/dist/typed/shared/metadata.d.cts +1 -1
- package/dist/typed/shared/metadata.d.ts +1 -1
- package/dist/typed/util.d.cts +1 -1
- package/dist/typed/util.d.ts +1 -1
- package/dist/typed/xlsx/build.cjs +12 -4
- package/dist/typed/xlsx/build.d.cts +1 -1
- package/dist/typed/xlsx/build.d.ts +1 -1
- package/dist/typed/xlsx/build.js +12 -4
- package/dist/typed/xlsx/comments.d.cts +1 -1
- package/dist/typed/xlsx/comments.d.ts +1 -1
- package/dist/typed/xlsx/conditional-format.cjs +519 -0
- package/dist/typed/xlsx/conditional-format.d.cts +16 -0
- package/dist/typed/xlsx/conditional-format.d.ts +16 -0
- package/dist/typed/xlsx/conditional-format.js +516 -0
- package/dist/typed/xlsx/content.cjs +11 -7
- package/dist/typed/xlsx/content.d.cts +1 -1
- package/dist/typed/xlsx/content.d.ts +1 -1
- package/dist/typed/xlsx/content.js +12 -8
- package/dist/typed/xlsx/data-validation.cjs +116 -0
- package/dist/typed/xlsx/data-validation.d.cts +11 -0
- package/dist/typed/xlsx/data-validation.d.ts +11 -0
- package/dist/typed/xlsx/data-validation.js +114 -0
- package/dist/typed/xlsx/defined-names.d.cts +1 -1
- package/dist/typed/xlsx/defined-names.d.ts +1 -1
- package/dist/typed/xlsx/definitions.d.cts +1 -1
- package/dist/typed/xlsx/definitions.d.ts +1 -1
- package/dist/typed/xlsx/drawings.d.cts +2 -2
- package/dist/typed/xlsx/drawings.d.ts +2 -2
- package/dist/typed/xlsx/number-format.d.cts +14 -14
- package/dist/typed/xlsx/number-format.d.ts +14 -14
- package/dist/typed/xlsx/print-settings.d.cts +1 -1
- package/dist/typed/xlsx/print-settings.d.ts +1 -1
- package/dist/typed/xlsx/rule-residue.cjs +29 -0
- package/dist/typed/xlsx/rule-residue.d.cts +7 -0
- package/dist/typed/xlsx/rule-residue.d.ts +7 -0
- package/dist/typed/xlsx/rule-residue.js +27 -0
- package/dist/typed/xlsx/serial.d.cts +1 -1
- package/dist/typed/xlsx/serial.d.ts +1 -1
- package/dist/typed/xlsx/shared-strings.d.cts +1 -1
- package/dist/typed/xlsx/shared-strings.d.ts +1 -1
- package/dist/typed/xlsx/sqref.cjs +24 -0
- package/dist/typed/xlsx/sqref.d.cts +7 -0
- package/dist/typed/xlsx/sqref.d.ts +7 -0
- package/dist/typed/xlsx/sqref.js +21 -0
- package/dist/typed/xlsx/styles.cjs +14 -2
- package/dist/typed/xlsx/styles.d.cts +10 -6
- package/dist/typed/xlsx/styles.d.ts +10 -6
- package/dist/typed/xlsx/styles.js +12 -3
- package/dist/typed/xlsx.d.cts +1 -1
- package/dist/typed/xlsx.d.ts +1 -1
- package/dist/util/base64.cjs +4 -4
- package/dist/util/base64.js +4 -4
- package/dist/{util-DFe4UbvU.d.ts → util-DKrYuajM.d.ts} +2 -2
- package/dist/{util-M3JJlDhF.d.cts → util-xRsVgH-g.d.cts} +2 -2
- package/dist/{write-Dn_CL8qb.d.cts → write-BGTpp3RS.d.cts} +3 -3
- package/dist/{write-6JmxvaK5.d.cts → write-Ba1IxfDT.d.cts} +1 -1
- package/dist/{write-CT-EgVT7.d.ts → write-C4902scQ.d.ts} +1 -1
- package/dist/{write-inqdKHR3.d.ts → write-Cnfu3zdB.d.ts} +3 -3
- package/dist/{xlsx-DacFqZeF.d.ts → xlsx-B3JGnx0l.d.ts} +1 -1
- package/dist/{xlsx-CpX5nzGV.d.cts → xlsx-DCgJ8IbV.d.cts} +1 -1
- package/dist/xml/build.d.cts +1 -1
- package/dist/xml/build.d.ts +1 -1
- package/dist/xml/fragment.d.cts +1 -1
- package/dist/xml/fragment.d.ts +1 -1
- package/dist/xml/parse.d.cts +1 -1
- package/dist/xml/parse.d.ts +1 -1
- package/package.json +3 -11
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-
|
|
2
|
-
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-
|
|
3
|
-
import { n as parsePackage } from "./read-
|
|
4
|
-
import { t as serializePackage } from "./write-
|
|
5
|
-
import { t as parseXml } from "./parse-
|
|
6
|
-
import { t as buildXml } from "./build-
|
|
7
|
-
import { n as txt, t as el } from "./fragment-
|
|
1
|
+
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "./node-B6JX5CRX.js";
|
|
2
|
+
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "./package-otZYrxiO.js";
|
|
3
|
+
import { n as parsePackage } from "./read-BlcKA9Cg.js";
|
|
4
|
+
import { t as serializePackage } from "./write-C4902scQ.js";
|
|
5
|
+
import { t as parseXml } from "./parse-BLukZ2z0.js";
|
|
6
|
+
import { t as buildXml } from "./build-DgBE0bmv.js";
|
|
7
|
+
import { n as txt, t as el } from "./fragment-ClgCV_if.js";
|
|
8
8
|
import { t as encodeXmlText } from "./entities-6DuTszqf.js";
|
|
9
9
|
import { n as zipPackage, t as unzipPackage } from "./zip-Ckbv-mtV.js";
|
|
10
10
|
import { n as bytesToBase64, t as base64ToBytes } from "./base64--HuymRl_.js";
|
|
11
|
-
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-
|
|
12
|
-
import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-
|
|
13
|
-
import { n as applyColorTransforms, t as ColorTransform } from "./color-
|
|
14
|
-
import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-
|
|
15
|
-
import { n as sniffImageFormat, t as ImageFormat } from "./sniff-
|
|
16
|
-
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-
|
|
17
|
-
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-tree-
|
|
18
|
-
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-
|
|
19
|
-
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-
|
|
20
|
-
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-
|
|
21
|
-
import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-
|
|
22
|
-
import { t as readXlsxContent } from "./content-
|
|
23
|
-
import { t as buildXlsxPackageFromContent } from "./build-
|
|
24
|
-
import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as ProvenanceChange, A as ContentConstructStart, An as StylesTable, At as DrawPageChild, B as ContentImageBlock, Bn as TreeNodeSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as SlideGroupSchema, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as StyleParagraphPropertiesSchema, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as StyleParagraphProperties, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as TreeGroup, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as TreeGroupSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenTree, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as TreeLeaf, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as TreeBlockLeaf, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as TreeBlockLeafSchema, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as StyleRunProperties, Ot as DocumentTree, P as ContentControlLock, Pn as TreeChildren, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PageSizeSchema, R as ContentDocument, Rn as TreeLeafSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as SlideGroupNode, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as StyleEntrySchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assembleTree, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PageSize, _ as ConstructDescriptorSchema, _n as SheetChild, _t as ContentSlideSchema, a as Alignment, an as SectionChild, ar as isSheetGroupNode, at as ContentSheetImage, b as ContentBlock, bn as SheetGroupSchema, bt as ContentTable, c as AnchorDescriptorSchema, cn as SectionDescriptor, cr as isTreeGroup, ct as ContentSheetPrintRangeSchema, d as Box, dn as ShapeChild, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as ProvenanceChangeSchema, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as ShapeConstructGroupNode, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as ShapeGroupSchema, gt as ContentSlide, h as ColorSchema, hn as ShapeGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as SLIDE_SIZE_WIDESCREEN, ir as isShapeGroupNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as StylesTableSchema, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as StyleRunPropertiesSchema, kt as DocumentTreeSchema, l as AnchorType, ln as SectionGroupNode, lr as isTreeLeaf, lt as ContentSheetPrintSettings, m as Color, mn as ShapeDescriptor, mt as ContentSheetRowSchema, n as encodePackage, nn as ProvenanceDescriptorSchema, nr as isSectionGroupNode, nt as ContentSheetCellSchema, o as AlignmentSchema, on as SectionConstructGroupNode, or as isSlideGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as ShapeConstructGroupSchema, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as SLIDE_SIZE_STANDARD, rr as isShapeConstructGroupNode, rt as ContentSheetColumn, s as AnchorDescriptor, sn as SectionConstructGroupSchema, sr as isTreeBlockLeaf, st as ContentSheetPrintRange, t as decodePackage, tn as ProvenanceDescriptor, tr as isSectionConstructGroupNode, tt as ContentSheetCell, u as AnchorTypeSchema, un as SectionGroupSchema, ur as isTreeNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SheetDescriptor, vt as ContentStrokeStyle, w as ContentCellBorders, wn as StyleEntry, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as SlideDescriptor, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SheetGroupNode, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as TreeNode, zt as LinkDescriptor } from "./codec-
|
|
11
|
+
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-DKrYuajM.js";
|
|
12
|
+
import { _ as encodeCompactPackage, b as toCompact, c as CompactPart, f as CompactXmlNode, g as decodeCompactPackage, h as compactPackageCodec, l as CompactPartSchema, m as compactCodec, o as CompactPackage, p as CompactXmlNodeSchema, s as CompactPackageSchema, t as CompactAttrPairs, v as fromCompact, y as isCompactXmlNode } from "./compact-CmOeA2dl.js";
|
|
13
|
+
import { n as applyColorTransforms, t as ColorTransform } from "./color-DLoZOrg3.js";
|
|
14
|
+
import { n as DocumentMetadataSchema, t as DocumentMetadata } from "./metadata-Bjfa88HQ.js";
|
|
15
|
+
import { n as sniffImageFormat, t as ImageFormat } from "./sniff-DGOBHA0O.js";
|
|
16
|
+
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "./write-Cnfu3zdB.js";
|
|
17
|
+
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "./document-tree-B17XbBOR.js";
|
|
18
|
+
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "./read-D_kXw2N2.js";
|
|
19
|
+
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "./numbering-CUMTFxfk.js";
|
|
20
|
+
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "./read-B5kexLpc.js";
|
|
21
|
+
import { a as XlsxSheet, c as XlsxWorkbookSchema, i as XlsxCellSchema, l as readXlsxWorkbook, n as DefinedNameSchema, o as XlsxSheetSchema, r as XlsxCell, s as XlsxWorkbook, t as DefinedName } from "./xlsx-B3JGnx0l.js";
|
|
22
|
+
import { t as readXlsxContent } from "./content-D1pmxaUb.js";
|
|
23
|
+
import { t as buildXlsxPackageFromContent } from "./build-BOI7rIog.js";
|
|
24
|
+
import { $ as ContentShapeSchema, $n as isHeadingGroupNode, $t as ProvenanceChange, A as ContentConstructStart, An as StylesTable, At as DrawPageChild, B as ContentImageBlock, Bn as TreeNodeSchema, Bt as LinkDescriptorSchema, C as ContentBorderSchema, Cn as SlideGroupSchema, Ct as ContentTableRow, D as ContentCellValueSchema, Dn as StyleParagraphPropertiesSchema, Dt as DivisionDescriptorSchema, E as ContentCellValue, En as StyleParagraphProperties, Et as DivisionDescriptor, F as ContentControlLockSchema, Fn as TreeGroup, Ft as FieldDescriptorSchema, G as ContentPageBreakSchema, Gn as decompose, Gt as ListGroupSchema, H as ContentListMembership, Hn as applyRunStyleProperties, Ht as LinkTargetSchema, I as ContentControlType, In as TreeGroupSchema, It as HeadingGroupNode, J as ContentRun, Jn as flattenTree, Jt as MarginsSchema, K as ContentParagraph, Kn as factorStyles, Kt as ListParagraph, L as ContentControlTypeSchema, Ln as TreeLeaf, Lt as HeadingGroupSchema, M as ContentControlDescriptor, Mn as TreeBlockLeaf, Mt as DrawPageGroupNode, N as ContentControlDescriptorSchema, Nn as TreeBlockLeafSchema, Nt as DrawPageGroupSchema, O as ContentConstructEnd, On as StyleRunProperties, Ot as DocumentTree, P as ContentControlLock, Pn as TreeChildren, Pt as FieldDescriptor, Q as ContentShape, Qn as isDrawPageGroupNode, Qt as PageSizeSchema, R as ContentDocument, Rn as TreeLeafSchema, Rt as HeadingParagraph, S as ContentBorder, Sn as SlideGroupNode, St as ContentTableCellSchema, T as ContentCellBordersSchema, Tn as StyleEntrySchema, Tt as ContentTableSchema, U as ContentListMembershipSchema, Un as assembleTree, Ut as ListChild, V as ContentImageBlockSchema, Vn as applyParagraphStyleProperties, Vt as LinkTarget, W as ContentPageBreak, Wn as colorToRgbHex, Wt as ListGroupNode, X as ContentSection, Xn as isContentConstructEnd, Xt as PAGE_SIZE_LETTER, Y as ContentRunSchema, Yn as isContentBlock, Yt as PAGE_SIZE_A4, Z as ContentSectionSchema, Zn as isContentConstructStart, Zt as PageSize, _ as ConstructDescriptorSchema, _n as SheetChild, _t as ContentSlideSchema, a as Alignment, an as SectionChild, ar as isSheetGroupNode, at as ContentSheetImage, b as ContentBlock, bn as SheetGroupSchema, bt as ContentTable, c as AnchorDescriptorSchema, cn as SectionDescriptor, cr as isTreeGroup, ct as ContentSheetPrintRangeSchema, d as Box, dn as ShapeChild, dr as overlayStyleEntries, dt as ContentSheetRepeatRange, en as ProvenanceChangeSchema, er as isListGroupNode, et as ContentSheet, f as BoxSchema, fn as ShapeConstructGroupNode, fr as resolveStyleChain, ft as ContentSheetRepeatRangeSchema, g as ConstructDescriptor, gn as ShapeGroupSchema, gt as ContentSlide, h as ColorSchema, hn as ShapeGroupNode, ht as ContentSheetSchema, i as xmlCodec, in as SLIDE_SIZE_WIDESCREEN, ir as isShapeGroupNode, it as ContentSheetColumnSchema, j as ContentConstructStartSchema, jn as StylesTableSchema, jt as DrawPageDescriptor, k as ContentConstructEndSchema, kn as StyleRunPropertiesSchema, kt as DocumentTreeSchema, l as AnchorType, ln as SectionGroupNode, lr as isTreeLeaf, lt as ContentSheetPrintSettings, m as Color, mn as ShapeDescriptor, mt as ContentSheetRowSchema, n as encodePackage, nn as ProvenanceDescriptorSchema, nr as isSectionGroupNode, nt as ContentSheetCellSchema, o as AlignmentSchema, on as SectionConstructGroupNode, or as isSlideGroupNode, ot as ContentSheetImageSchema, p as COLOR_BLACK, pn as ShapeConstructGroupSchema, pr as rgbHexToColor, pt as ContentSheetRow, q as ContentParagraphSchema, qn as findConstructMarkerImbalance, qt as Margins, r as packageCodec, rn as SLIDE_SIZE_STANDARD, rr as isShapeConstructGroupNode, rt as ContentSheetColumn, s as AnchorDescriptor, sn as SectionConstructGroupSchema, sr as isTreeBlockLeaf, st as ContentSheetPrintRange, t as decodePackage, tn as ProvenanceDescriptor, tr as isSectionConstructGroupNode, tt as ContentSheetCell, u as AnchorTypeSchema, un as SectionGroupSchema, ur as isTreeNode, ut as ContentSheetPrintSettingsSchema, v as ConstructMarkerImbalance, vn as SheetDescriptor, vt as ContentStrokeStyle, w as ContentCellBorders, wn as StyleEntry, wt as ContentTableRowSchema, x as ContentBlockSchema, xn as SlideDescriptor, xt as ContentTableCell, y as ConstructMarkerImbalanceError, yn as SheetGroupNode, yt as ContentStrokeStyleSchema, z as ContentDocumentSchema, zn as TreeNode, zt as LinkDescriptor } from "./codec-Cva8QD7-.js";
|
|
25
25
|
export { type Alignment, AlignmentSchema, type AnchorDescriptor, AnchorDescriptorSchema, type AnchorType, AnchorTypeSchema, type Attribute, AttributeSchema, type BinaryPart, BinaryPartSchema, type Box, BoxSchema, type BuildDocxContentOptions, COLOR_BLACK, type Color, ColorSchema, type ColorTransform, type Comment, CommentSchema, type CompactAttrPairs, type CompactPackage, CompactPackageSchema, type CompactPart, CompactPartSchema, type CompactXmlNode, CompactXmlNodeSchema, type ConstructDescriptor, ConstructDescriptorSchema, type ConstructMarkerImbalance, ConstructMarkerImbalanceError, type ContentBlock, ContentBlockSchema, type ContentBorder, ContentBorderSchema, type ContentCellBorders, ContentCellBordersSchema, type ContentCellValue, ContentCellValueSchema, type ContentConstructEnd, ContentConstructEndSchema, type ContentConstructStart, ContentConstructStartSchema, type ContentControlDescriptor, ContentControlDescriptorSchema, type ContentControlLock, ContentControlLockSchema, type ContentControlType, ContentControlTypeSchema, 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 DivisionDescriptor, DivisionDescriptorSchema, type DocumentMetadata, DocumentMetadataSchema, type DocumentTree, DocumentTreeSchema, type DocxContent, type DocxDocument, DocxDocumentSchema, type DrawPageChild, type DrawPageDescriptor, type DrawPageGroupNode, DrawPageGroupSchema, type EmbeddedPresentationSerialiser, type FieldDescriptor, FieldDescriptorSchema, type Footnote, FootnoteSchema, type HeaderFooterPart, HeaderFooterPartSchema, type HeadingGroupNode, HeadingGroupSchema, type HeadingParagraph, type ImageFormat, type LinkDescriptor, LinkDescriptorSchema, type LinkTarget, LinkTargetSchema, type ListChild, type ListGroupNode, ListGroupSchema, type ListParagraph, 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 ProvenanceChange, ProvenanceChangeSchema, type ProvenanceDescriptor, ProvenanceDescriptorSchema, type Relationship, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, type SectionChild, type SectionConstructGroupNode, SectionConstructGroupSchema, type SectionDescriptor, type SectionGroupNode, SectionGroupSchema, type SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, type ShapeChild, type ShapeConstructGroupNode, ShapeConstructGroupSchema, type ShapeDescriptor, type ShapeGroupNode, ShapeGroupSchema, type SheetChild, type SheetDescriptor, type SheetGroupNode, SheetGroupSchema, type SlideDescriptor, type SlideGroupNode, SlideGroupSchema, type StyleEntry, StyleEntrySchema, type StyleParagraphProperties, StyleParagraphPropertiesSchema, type StyleRunProperties, StyleRunPropertiesSchema, type StylesTable, StylesTableSchema, type TreeBlockLeaf, TreeBlockLeafSchema, type TreeChildren, type TreeGroup, TreeGroupSchema, type TreeLeaf, TreeLeafSchema, type TreeNode, TreeNodeSchema, 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, applyParagraphStyleProperties, applyRunStyleProperties, assembleTree, attr, base64ToBytes, buildDocxPackage, buildDocxPackageFromContent, buildXlsxPackage, buildXlsxPackageFromContent, buildXml, bytesToBase64, childrenWithTag, colorToRgbHex, compactCodec, compactPackageCodec, decodeCompactPackage, decodeEntities, decodePackage, decompose, el, elementsWithTag, encodeCompactPackage, encodePackage, encodeXmlText, factorStyles, findConstructMarkerImbalance, flattenTree, fromCompact, isCompactXmlNode, isContentBlock, isContentConstructEnd, isContentConstructStart, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode, isXmlNode, overlayStyleEntries, packageCodec, parsePackage, parseXml, readDocx, readDocxContent, readNumberingDefinitions, readPptx, readPptxContent, readXlsx, readXlsxContent, readXlsxWorkbook, resolveRelationships, resolveStyleChain, rgbHexToColor, rootElement, serializePackage, sniffImageFormat, textContent, toCompact, txt, unzipPackage, walk, xmlCodec, zipPackage };
|
package/dist/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import { attr, childrenWithTag, decodeEntities, elementsWithTag, resolveRelation
|
|
|
14
14
|
import { applyColorTransforms } from "./typed/shared/color.js";
|
|
15
15
|
import { DocumentMetadataSchema } from "./typed/shared/metadata.js";
|
|
16
16
|
import { sniffImageFormat } from "./image/sniff.js";
|
|
17
|
-
import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, l as PptxDocumentSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema, u as readPptxContent } from "./read-
|
|
17
|
+
import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, l as PptxDocumentSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema, u as readPptxContent } from "./read-BZ_jycSX.js";
|
|
18
18
|
import { readXlsxContent } from "./typed/xlsx/content.js";
|
|
19
19
|
import { NumberingDefinitionSchema, NumberingLevelSchema, readNumberingDefinitions } from "./typed/docx/numbering.js";
|
|
20
20
|
import { buildXlsxPackageFromContent } from "./typed/xlsx/build.js";
|
package/dist/model/node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-
|
|
1
|
+
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-B6JX5CRX.cjs";
|
|
2
2
|
export { Attribute, AttributeSchema, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, isXmlNode };
|
package/dist/model/node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-
|
|
1
|
+
import { _ as isXmlNode, a as XmlComment, c as XmlDeclarationSchema, d as XmlNode, f as XmlNodeSchema, g as XmlTextSchema, h as XmlText, i as XmlCdataSchema, l as XmlElement, m as XmlPiSchema, n as AttributeSchema, o as XmlCommentSchema, p as XmlPi, r as XmlCdata, s as XmlDeclaration, t as Attribute, u as XmlElementSchema } from "../node-B6JX5CRX.js";
|
|
2
2
|
export { Attribute, AttributeSchema, XmlCdata, XmlCdataSchema, XmlComment, XmlCommentSchema, XmlDeclaration, XmlDeclarationSchema, XmlElement, XmlElementSchema, XmlNode, XmlNodeSchema, XmlPi, XmlPiSchema, XmlText, XmlTextSchema, isXmlNode };
|
package/dist/model/package.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-
|
|
1
|
+
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-DMk9fuTI.cjs";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, Package, PackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
package/dist/model/package.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-
|
|
1
|
+
import { a as Part, c as XmlPartSchema, i as PackageSchema, n as BinaryPartSchema, o as PartSchema, r as Package, s as XmlPart, t as BinaryPart } from "../package-otZYrxiO.js";
|
|
2
2
|
export { BinaryPart, BinaryPartSchema, Package, PackageSchema, Part, PartSchema, XmlPart, XmlPartSchema };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as parsePackage, t as packageFromEntries } from "../read-
|
|
1
|
+
import { n as parsePackage, t as packageFromEntries } from "../read-uKN0paUP.cjs";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as parsePackage, t as packageFromEntries } from "../read-
|
|
1
|
+
import { n as parsePackage, t as packageFromEntries } from "../read-BlcKA9Cg.js";
|
|
2
2
|
export { packageFromEntries, parsePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as serializePackage } from "../write-
|
|
1
|
+
import { t as serializePackage } from "../write-Ba1IxfDT.cjs";
|
|
2
2
|
export { serializePackage };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as serializePackage } from "../write-
|
|
1
|
+
import { t as serializePackage } from "../write-C4902scQ.js";
|
|
2
2
|
export { serializePackage };
|
|
@@ -1321,7 +1321,9 @@ function readSections(body, ctx) {
|
|
|
1321
1321
|
sections.push(sliceSection(PAGE_SIZE_LETTER, DEFAULT_MARGINS, void 0, from, state.blocks.length));
|
|
1322
1322
|
headerFooters.push({});
|
|
1323
1323
|
}
|
|
1324
|
-
sections.forEach((section, sectionIndex) =>
|
|
1324
|
+
sections.forEach((section, sectionIndex) => {
|
|
1325
|
+
assignSourcePaths(section.blocks, `sections[${sectionIndex}]`);
|
|
1326
|
+
});
|
|
1325
1327
|
return {
|
|
1326
1328
|
sections,
|
|
1327
1329
|
headerFooters
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as Package } from "./package-
|
|
1
|
+
import { r as Package } from "./package-otZYrxiO.js";
|
|
2
2
|
//#region src/package-io/read.d.ts
|
|
3
3
|
declare function parsePackage(bytes: Uint8Array<ArrayBuffer>): Package;
|
|
4
4
|
declare function packageFromEntries(entries: Record<string, Uint8Array<ArrayBuffer>>): Package;
|
|
@@ -1321,7 +1321,9 @@ function readSections(body, ctx) {
|
|
|
1321
1321
|
sections.push(sliceSection(document_schema_js.PAGE_SIZE_LETTER, DEFAULT_MARGINS, void 0, from, state.blocks.length));
|
|
1322
1322
|
headerFooters.push({});
|
|
1323
1323
|
}
|
|
1324
|
-
sections.forEach((section, sectionIndex) =>
|
|
1324
|
+
sections.forEach((section, sectionIndex) => {
|
|
1325
|
+
require_typed_shared_source_path.assignSourcePaths(section.blocks, `sections[${sectionIndex}]`);
|
|
1326
|
+
});
|
|
1325
1327
|
return {
|
|
1326
1328
|
sections,
|
|
1327
1329
|
headerFooters
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as Package } from "./package-
|
|
1
|
+
import { r as Package } from "./package-DMk9fuTI.cjs";
|
|
2
2
|
//#region src/package-io/read.d.ts
|
|
3
3
|
declare function parsePackage(bytes: Uint8Array<ArrayBuffer>): Package;
|
|
4
4
|
declare function packageFromEntries(entries: Record<string, Uint8Array<ArrayBuffer>>): Package;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_read = require("../read-
|
|
2
|
+
const require_read = require("../read-CXksZHJW.cjs");
|
|
3
3
|
const require_typed_xlsx_content = require("./xlsx/content.cjs");
|
|
4
4
|
const require_typed_xlsx_build = require("./xlsx/build.cjs");
|
|
5
5
|
const require_typed_docx_write = require("./docx/write.cjs");
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "../document-tree-
|
|
1
|
+
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "../document-tree-CjI-Z4Tp.cjs";
|
|
2
2
|
export { buildDocxPackage, buildXlsxPackage, readDocx, readPptx, readXlsx };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "../document-tree-
|
|
1
|
+
import { a as readXlsx, i as readPptx, n as buildXlsxPackage, r as readDocx, t as buildDocxPackage } from "../document-tree-B17XbBOR.js";
|
|
2
2
|
export { buildDocxPackage, buildXlsxPackage, readDocx, readPptx, readXlsx };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { o as readDocxContent, u as readPptxContent } from "../read-
|
|
1
|
+
import { o as readDocxContent, u as readPptxContent } from "../read-BZ_jycSX.js";
|
|
2
2
|
import { readXlsxContent } from "./xlsx/content.js";
|
|
3
3
|
import { buildXlsxPackageFromContent } from "./xlsx/build.js";
|
|
4
4
|
import { buildDocxPackageFromContent } from "./docx/write.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.cjs";
|
|
2
2
|
import { AnchorDescriptor, ConstructDescriptor, ContentBlock, ContentControlDescriptor, ProvenanceChange, ProvenanceDescriptor, RunConstructExtent } from "document-schema.js";
|
|
3
3
|
//#region src/typed/docx/constructs.d.ts
|
|
4
4
|
interface ParagraphContentIndex {
|
|
@@ -15,13 +15,13 @@ interface ConstructExtent {
|
|
|
15
15
|
readonly descriptor: ConstructDescriptor;
|
|
16
16
|
}
|
|
17
17
|
declare function insertConstructMarkers(blocks: readonly ContentBlock[], extents: readonly ConstructExtent[]): ContentBlock[];
|
|
18
|
-
type RangeMarkerFamily =
|
|
18
|
+
type RangeMarkerFamily = "bookmark" | "comment";
|
|
19
19
|
interface ParagraphRangeMarkerHalf {
|
|
20
20
|
readonly element: XmlElement;
|
|
21
21
|
readonly family: RangeMarkerFamily;
|
|
22
22
|
readonly id: string;
|
|
23
23
|
readonly name: string | undefined;
|
|
24
|
-
readonly kind:
|
|
24
|
+
readonly kind: "start" | "end";
|
|
25
25
|
readonly runPosition: number;
|
|
26
26
|
}
|
|
27
27
|
declare function runRangeMarkerExtents(halves: readonly ParagraphRangeMarkerHalf[], index: ParagraphContentIndex): RunConstructExtent[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.js";
|
|
2
2
|
import { AnchorDescriptor, ConstructDescriptor, ContentBlock, ContentControlDescriptor, ProvenanceChange, ProvenanceDescriptor, RunConstructExtent } from "document-schema.js";
|
|
3
3
|
//#region src/typed/docx/constructs.d.ts
|
|
4
4
|
interface ParagraphContentIndex {
|
|
@@ -15,13 +15,13 @@ interface ConstructExtent {
|
|
|
15
15
|
readonly descriptor: ConstructDescriptor;
|
|
16
16
|
}
|
|
17
17
|
declare function insertConstructMarkers(blocks: readonly ContentBlock[], extents: readonly ConstructExtent[]): ContentBlock[];
|
|
18
|
-
type RangeMarkerFamily =
|
|
18
|
+
type RangeMarkerFamily = "bookmark" | "comment";
|
|
19
19
|
interface ParagraphRangeMarkerHalf {
|
|
20
20
|
readonly element: XmlElement;
|
|
21
21
|
readonly family: RangeMarkerFamily;
|
|
22
22
|
readonly id: string;
|
|
23
23
|
readonly name: string | undefined;
|
|
24
|
-
readonly kind:
|
|
24
|
+
readonly kind: "start" | "end";
|
|
25
25
|
readonly runPosition: number;
|
|
26
26
|
}
|
|
27
27
|
declare function runRangeMarkerExtents(halves: readonly ParagraphRangeMarkerHalf[], index: ParagraphContentIndex): RunConstructExtent[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-
|
|
1
|
+
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-vpq3iLPm.cjs";
|
|
2
2
|
export { NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, readNumberingDefinitions };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-
|
|
1
|
+
import { a as NumberingLevelSchema, i as NumberingLevel, n as NumberingDefinitionSchema, o as readNumberingDefinitions, r as NumberingDefinitions, t as NumberingDefinition } from "../../numbering-CUMTFxfk.js";
|
|
2
2
|
export { NumberingDefinition, NumberingDefinitionSchema, NumberingDefinitions, NumberingLevel, NumberingLevelSchema, readNumberingDefinitions };
|
package/dist/typed/docx/read.cjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_read = require("../../read-
|
|
2
|
+
const require_read = require("../../read-CXksZHJW.cjs");
|
|
3
3
|
exports.CommentSchema = require_read.CommentSchema;
|
|
4
4
|
exports.DocxDocumentSchema = require_read.DocxDocumentSchema;
|
|
5
5
|
exports.FootnoteSchema = require_read.FootnoteSchema;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "../../read-
|
|
1
|
+
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "../../read-D6kQeo-T.cjs";
|
|
2
2
|
export { Comment, CommentSchema, DocxDocument, DocxDocumentSchema, Footnote, FootnoteSchema, HeaderFooterPart, HeaderFooterPartSchema, SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, readDocxContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "../../read-
|
|
1
|
+
import { a as Footnote, c as HeaderFooterPartSchema, d as readDocxContent, i as DocxDocumentSchema, l as SectionHeaderFooterReferences, n as CommentSchema, o as FootnoteSchema, r as DocxDocument, s as HeaderFooterPart, t as Comment, u as SectionHeaderFooterReferencesSchema } from "../../read-D_kXw2N2.js";
|
|
2
2
|
export { Comment, CommentSchema, DocxDocument, DocxDocumentSchema, Footnote, FootnoteSchema, HeaderFooterPart, HeaderFooterPartSchema, SectionHeaderFooterReferences, SectionHeaderFooterReferencesSchema, readDocxContent };
|
package/dist/typed/docx/read.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema } from "../../read-
|
|
1
|
+
import { a as SectionHeaderFooterReferencesSchema, i as HeaderFooterPartSchema, n as DocxDocumentSchema, o as readDocxContent, r as FootnoteSchema, t as CommentSchema } from "../../read-BZ_jycSX.js";
|
|
2
2
|
export { CommentSchema, DocxDocumentSchema, FootnoteSchema, HeaderFooterPartSchema, SectionHeaderFooterReferencesSchema, readDocxContent };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.cjs";
|
|
2
2
|
import { DrawingTheme } from "../shared/drawingml.cjs";
|
|
3
3
|
import { Alignment, Color } from "document-schema.js";
|
|
4
4
|
//#region src/typed/docx/styles.d.ts
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "../../write-
|
|
1
|
+
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "../../write-BGTpp3RS.cjs";
|
|
2
2
|
export { BuildDocxContentOptions, DocxContent, EmbeddedPresentationSerialiser, buildDocxPackageFromContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "../../write-
|
|
1
|
+
import { i as buildDocxPackageFromContent, n as DocxContent, r as EmbeddedPresentationSerialiser, t as BuildDocxContentOptions } from "../../write-Cnfu3zdB.js";
|
|
2
2
|
export { BuildDocxContentOptions, DocxContent, EmbeddedPresentationSerialiser, buildDocxPackageFromContent };
|
package/dist/typed/embedded.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_read = require("../read-
|
|
2
|
+
const require_read = require("../read-CXksZHJW.cjs");
|
|
3
3
|
exports.readEmbeddedOoxmlPayload = require_read.readEmbeddedOoxmlPayload;
|
|
4
4
|
exports.readEmbeddedPayloadPart = require_read.readEmbeddedPayloadPart;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BinaryPart } from "../package-
|
|
1
|
+
import { t as BinaryPart } from "../package-DMk9fuTI.cjs";
|
|
2
2
|
import { ContentDocument, ContentEmbeddedObjectKind } from "document-schema.js";
|
|
3
3
|
//#region src/typed/embedded.d.ts
|
|
4
|
-
type EmbeddedOoxmlKind = Extract<ContentEmbeddedObjectKind,
|
|
4
|
+
type EmbeddedOoxmlKind = Extract<ContentEmbeddedObjectKind, "wordprocessing" | "presentation" | "spreadsheet">;
|
|
5
5
|
interface EmbeddedOoxmlPayload {
|
|
6
6
|
readonly objectKind: EmbeddedOoxmlKind;
|
|
7
7
|
readonly document: ContentDocument;
|
package/dist/typed/embedded.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as BinaryPart } from "../package-
|
|
1
|
+
import { t as BinaryPart } from "../package-otZYrxiO.js";
|
|
2
2
|
import { ContentDocument, ContentEmbeddedObjectKind } from "document-schema.js";
|
|
3
3
|
//#region src/typed/embedded.d.ts
|
|
4
|
-
type EmbeddedOoxmlKind = Extract<ContentEmbeddedObjectKind,
|
|
4
|
+
type EmbeddedOoxmlKind = Extract<ContentEmbeddedObjectKind, "wordprocessing" | "presentation" | "spreadsheet">;
|
|
5
5
|
interface EmbeddedOoxmlPayload {
|
|
6
6
|
readonly objectKind: EmbeddedOoxmlKind;
|
|
7
7
|
readonly document: ContentDocument;
|
package/dist/typed/embedded.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { c as readEmbeddedPayloadPart, s as readEmbeddedOoxmlPayload } from "../read-
|
|
1
|
+
import { c as readEmbeddedPayloadPart, s as readEmbeddedOoxmlPayload } from "../read-BZ_jycSX.js";
|
|
2
2
|
export { readEmbeddedOoxmlPayload, readEmbeddedPayloadPart };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.cjs";
|
|
2
2
|
import { Box, ContentTable } from "document-schema.js";
|
|
3
3
|
//#region src/typed/pptx/chart.d.ts
|
|
4
4
|
declare function readChartTable(chartRoot: XmlElement, frame: Box): ContentTable | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.js";
|
|
2
2
|
import { Box, ContentTable } from "document-schema.js";
|
|
3
3
|
//#region src/typed/pptx/chart.d.ts
|
|
4
4
|
declare function readChartTable(chartRoot: XmlElement, frame: Box): ContentTable | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.cjs";
|
|
2
2
|
import { ContentParagraph } from "document-schema.js";
|
|
3
3
|
//#region src/typed/pptx/diagram.d.ts
|
|
4
4
|
declare function readDiagramText(dataModelRoot: XmlElement): ContentParagraph[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.js";
|
|
2
2
|
import { ContentParagraph } from "document-schema.js";
|
|
3
3
|
//#region src/typed/pptx/diagram.d.ts
|
|
4
4
|
declare function readDiagramText(dataModelRoot: XmlElement): ContentParagraph[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
2
|
-
import { r as Package } from "../../package-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.cjs";
|
|
2
|
+
import { r as Package } from "../../package-DMk9fuTI.cjs";
|
|
3
3
|
import { DrawingTheme, DrawingXfrm } from "../shared/drawingml.cjs";
|
|
4
4
|
import { Color } from "document-schema.js";
|
|
5
5
|
//#region src/typed/pptx/inherit.d.ts
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { l as XmlElement } from "../../node-
|
|
2
|
-
import { r as Package } from "../../package-
|
|
1
|
+
import { l as XmlElement } from "../../node-B6JX5CRX.js";
|
|
2
|
+
import { r as Package } from "../../package-otZYrxiO.js";
|
|
3
3
|
import { DrawingTheme, DrawingXfrm } from "../shared/drawingml.js";
|
|
4
4
|
import { Color } from "document-schema.js";
|
|
5
5
|
//#region src/typed/pptx/inherit.d.ts
|
package/dist/typed/pptx/read.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const require_read = require("../../read-
|
|
2
|
+
const require_read = require("../../read-CXksZHJW.cjs");
|
|
3
3
|
exports.PptxDocumentSchema = require_read.PptxDocumentSchema;
|
|
4
4
|
exports.readPptxContent = require_read.readPptxContent;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "../../read-
|
|
1
|
+
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "../../read-C1h_Q4kx.cjs";
|
|
2
2
|
export { PptxDocument, PptxDocumentSchema, readPptxContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "../../read-
|
|
1
|
+
import { n as PptxDocumentSchema, r as readPptxContent, t as PptxDocument } from "../../read-B5kexLpc.js";
|
|
2
2
|
export { PptxDocument, PptxDocumentSchema, readPptxContent };
|
package/dist/typed/pptx/read.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { l as PptxDocumentSchema, u as readPptxContent } from "../../read-
|
|
1
|
+
import { l as PptxDocumentSchema, u as readPptxContent } from "../../read-BZ_jycSX.js";
|
|
2
2
|
export { PptxDocumentSchema, readPptxContent };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as applyColorTransforms, t as ColorTransform } from "../../color-
|
|
1
|
+
import { n as applyColorTransforms, t as ColorTransform } from "../../color-DLoZOrg3.cjs";
|
|
2
2
|
export { ColorTransform, applyColorTransforms };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as applyColorTransforms, t as ColorTransform } from "../../color-
|
|
1
|
+
import { n as applyColorTransforms, t as ColorTransform } from "../../color-DLoZOrg3.js";
|
|
2
2
|
export { ColorTransform, applyColorTransforms };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-
|
|
1
|
+
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-C74-XCrx.cjs";
|
|
2
2
|
export { DocumentMetadata, DocumentMetadataSchema, readCoreProperties };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-
|
|
1
|
+
import { n as DocumentMetadataSchema, r as readCoreProperties, t as DocumentMetadata } from "../../metadata-Bjfa88HQ.js";
|
|
2
2
|
export { DocumentMetadata, DocumentMetadataSchema, readCoreProperties };
|