doc-schema.js 4.0.0 → 4.1.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 +64 -4
- package/dist/construct-0rpAcHRT.d.cts +204 -0
- package/dist/construct-0rpAcHRT.d.ts +204 -0
- package/dist/construct.cjs +106 -0
- package/dist/construct.d.cts +2 -0
- package/dist/construct.d.ts +2 -0
- package/dist/construct.js +93 -0
- package/dist/content-json-schema-defs.cjs +224 -2
- package/dist/content-json-schema-defs.js +224 -2
- package/dist/index.cjs +18 -0
- package/dist/index.d.cts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +3 -2
- package/dist/{package-node-DuEoTvZ9.d.ts → package-node-BigDwzL9.d.ts} +66 -51
- package/dist/{package-node-j6AUkspU.d.cts → package-node-WkzRlNO1.d.cts} +66 -51
- package/dist/package-node.cjs +24 -11
- package/dist/package-node.d.cts +2 -2
- package/dist/package-node.d.ts +2 -2
- package/dist/package-node.js +21 -12
- package/dist/package.cjs +4 -1
- package/dist/package.d.cts +46 -1
- package/dist/package.d.ts +46 -1
- package/dist/package.js +4 -1
- package/dist/schema-io.cjs +2 -2
- package/dist/schema-io.js +2 -2
- package/package.json +1 -1
- package/schemas/content-document.schema.json +340 -3
- package/schemas/document-package.schema.json +475 -3
package/dist/index.d.cts
CHANGED
|
@@ -5,14 +5,15 @@ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t
|
|
|
5
5
|
import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.cjs";
|
|
6
6
|
import { $ as ContentSheetRow, A as ContentPathSegment, B as ContentSheetCellComment, C as ContentListMembershipSchema, Ct as isContentBlock, D as ContentParagraphSchema, E as ContentParagraph, F as ContentSectionSchema, G as ContentSheetImage, H as ContentSheetCellSchema, I as ContentShape, J as ContentSheetPrintRangeSchema, K as ContentSheetImageSchema, L as ContentShapeSchema, M as ContentRun, N as ContentRunSchema, O as ContentPathPoint, P as ContentSection, Q as ContentSheetRepeatRangeSchema, R as ContentSheet, S as ContentListMembership, St as contentDocumentSharedFields, T as ContentPageBreakSchema, U as ContentSheetColumn, V as ContentSheetCellCommentSchema, W as ContentSheetColumnSchema, X as ContentSheetPrintSettingsSchema, Y as ContentSheetPrintSettings, Z as ContentSheetRepeatRange, _ as ContentEmbeddedObjectSchema, _t as ContentVectorSchema, a as ContentCellBorders, at as ContentStrokeSchema, b as ContentImageBlock, bt as FusedNode, c as ContentCellValueSchema, ct as ContentSubpath, d as ContentDrawPage, dt as ContentTableCell, et as ContentSheetRowSchema, f as ContentDrawPageSchema, ft as ContentTableCellSchema, g as ContentEmbeddedObjectKind, gt as ContentVector, h as ContentEmbeddedObjectBlockSchema, ht as ContentTableSchema, i as ContentBorderSchema, it as ContentStroke, j as ContentPathSegmentSchema, k as ContentPathPointSchema, l as ContentDocument, lt as ContentSubpathSchema, m as ContentEmbeddedObjectBlock, mt as ContentTableRowSchema, n as ContentBlockSchema, nt as ContentSlide, o as ContentCellBordersSchema, ot as ContentStrokeStyle, p as ContentEmbeddedObject, pt as ContentTableRow, q as ContentSheetPrintRange, r as ContentBorder, rt as ContentSlideSchema, s as ContentCellValue, st as ContentStrokeStyleSchema, t as ContentBlock, tt as ContentSheetSchema, u as ContentDocumentSchema, ut as ContentTable, v as ContentFormula, vt as DecimalString, w as ContentPageBreak, x as ContentImageBlockSchema, xt as clampHeadingLevel, y as ContentFormulaSchema, yt as DecimalStringSchema, z as ContentSheetCell } from "./content-eCPtLgjC.cjs";
|
|
7
7
|
import { ContentCodec } from "./codec.cjs";
|
|
8
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-0rpAcHRT.cjs";
|
|
8
9
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
|
|
9
10
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
|
|
10
11
|
import { FontFace, FontRegistryOptions, FontSubstitution, ProvidedFont } from "./font-port.cjs";
|
|
11
12
|
import { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema } from "./style.cjs";
|
|
12
13
|
import { LayoutMetadata, LayoutMetadataSchema } from "./metadata.cjs";
|
|
13
|
-
import { A as
|
|
14
|
+
import { $ as isShapeGroupNode, A as ShapeConstructGroupSchema, B as SlideDescriptor, C as SectionConstructGroupSchema, D as SectionGroupSchema, E as SectionGroupNode, F as SheetChild, G as isHeadingGroupNode, H as SlideGroupNode, I as SheetDescriptor, J as isPackageLeaf, K as isListGroupNode, L as SheetDescriptorSchema, M as ShapeDescriptorSchema, N as ShapeGroupNode, O as ShapeChild, P as ShapeGroupSchema, Q as isShapeConstructGroupNode, R as SheetGroupNode, S as SectionConstructGroupNode, T as SectionDescriptorSchema, U as SlideGroupSchema, V as SlideDescriptorSchema, W as isDrawPageGroupNode, X as isSectionConstructGroupNode, Y as isPackageNode, Z as isSectionGroupNode, _ as PackageLeaf, a as DrawPageGroupSchema, b as PackageNodeSchema, c as HeadingParagraph, d as ListGroupNode, et as isSheetGroupNode, f as ListGroupSchema, g as PackageGroupSchema, h as PackageGroup, i as DrawPageGroupNode, j as ShapeDescriptor, k as ShapeConstructGroupNode, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, o as HeadingGroupNode, p as ListParagraph, q as isPackageGroup, r as DrawPageDescriptorSchema, s as HeadingGroupSchema, t as DrawPageChild, tt as isSlideGroupNode, u as ListChild, v as PackageLeafSchema, w as SectionDescriptor, x as SectionChild, y as PackageNode, z as SheetGroupSchema } from "./package-node-WkzRlNO1.cjs";
|
|
14
15
|
import { DocumentPackage, DocumentPackageSchema } from "./package.cjs";
|
|
15
16
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageJson, DocumentSchemaKind, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, schemaUriFor } from "./schema-io.cjs";
|
|
16
17
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.cjs";
|
|
17
18
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.cjs";
|
|
18
|
-
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
19
|
+
export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
package/dist/index.d.ts
CHANGED
|
@@ -5,14 +5,15 @@ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t
|
|
|
5
5
|
import { a as Margins, c as PAGE_SIZE_LETTER, d as Point, f as SLIDE_SIZE_STANDARD, i as LayoutFrameSchema, l as PageSize, n as BoxSchema, o as MarginsSchema, p as SLIDE_SIZE_WIDESCREEN, r as LayoutFrame, s as PAGE_SIZE_A4, t as Box, u as PageSizeSchema } from "./geometry-CvcjSwnA.js";
|
|
6
6
|
import { $ as ContentSheetRow, A as ContentPathSegment, B as ContentSheetCellComment, C as ContentListMembershipSchema, Ct as isContentBlock, D as ContentParagraphSchema, E as ContentParagraph, F as ContentSectionSchema, G as ContentSheetImage, H as ContentSheetCellSchema, I as ContentShape, J as ContentSheetPrintRangeSchema, K as ContentSheetImageSchema, L as ContentShapeSchema, M as ContentRun, N as ContentRunSchema, O as ContentPathPoint, P as ContentSection, Q as ContentSheetRepeatRangeSchema, R as ContentSheet, S as ContentListMembership, St as contentDocumentSharedFields, T as ContentPageBreakSchema, U as ContentSheetColumn, V as ContentSheetCellCommentSchema, W as ContentSheetColumnSchema, X as ContentSheetPrintSettingsSchema, Y as ContentSheetPrintSettings, Z as ContentSheetRepeatRange, _ as ContentEmbeddedObjectSchema, _t as ContentVectorSchema, a as ContentCellBorders, at as ContentStrokeSchema, b as ContentImageBlock, bt as FusedNode, c as ContentCellValueSchema, ct as ContentSubpath, d as ContentDrawPage, dt as ContentTableCell, et as ContentSheetRowSchema, f as ContentDrawPageSchema, ft as ContentTableCellSchema, g as ContentEmbeddedObjectKind, gt as ContentVector, h as ContentEmbeddedObjectBlockSchema, ht as ContentTableSchema, i as ContentBorderSchema, it as ContentStroke, j as ContentPathSegmentSchema, k as ContentPathPointSchema, l as ContentDocument, lt as ContentSubpathSchema, m as ContentEmbeddedObjectBlock, mt as ContentTableRowSchema, n as ContentBlockSchema, nt as ContentSlide, o as ContentCellBordersSchema, ot as ContentStrokeStyle, p as ContentEmbeddedObject, pt as ContentTableRow, q as ContentSheetPrintRange, r as ContentBorder, rt as ContentSlideSchema, s as ContentCellValue, st as ContentStrokeStyleSchema, t as ContentBlock, tt as ContentSheetSchema, u as ContentDocumentSchema, ut as ContentTable, v as ContentFormula, vt as DecimalString, w as ContentPageBreak, x as ContentImageBlockSchema, xt as clampHeadingLevel, y as ContentFormulaSchema, yt as DecimalStringSchema, z as ContentSheetCell } from "./content-D4gWnk94.js";
|
|
7
7
|
import { ContentCodec } from "./codec.js";
|
|
8
|
+
import { C as ProvenanceChange, E as ProvenanceDescriptorSchema, S as LinkTargetSchema, T as ProvenanceDescriptor, _ as FieldDescriptor, a as ConstructDescriptor, b as LinkDescriptorSchema, c as ContentControlDescriptorSchema, d as ContentControlType, f as ContentControlTypeSchema, g as DivisionSourceSchema, h as DivisionSource, i as AnchorTypeSchema, l as ContentControlLock, m as DivisionDescriptorSchema, n as AnchorDescriptorSchema, o as ConstructDescriptorSchema, p as DivisionDescriptor, r as AnchorType, s as ContentControlDescriptor, t as AnchorDescriptor, u as ContentControlLockSchema, v as FieldDescriptorSchema, w as ProvenanceChangeSchema, x as LinkTarget, y as LinkDescriptor } from "./construct-0rpAcHRT.js";
|
|
8
9
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
|
|
9
10
|
import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
10
11
|
import { FontFace, FontRegistryOptions, FontSubstitution, ProvidedFont } from "./font-port.js";
|
|
11
12
|
import { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema } from "./style.js";
|
|
12
13
|
import { LayoutMetadata, LayoutMetadataSchema } from "./metadata.js";
|
|
13
|
-
import { A as
|
|
14
|
+
import { $ as isShapeGroupNode, A as ShapeConstructGroupSchema, B as SlideDescriptor, C as SectionConstructGroupSchema, D as SectionGroupSchema, E as SectionGroupNode, F as SheetChild, G as isHeadingGroupNode, H as SlideGroupNode, I as SheetDescriptor, J as isPackageLeaf, K as isListGroupNode, L as SheetDescriptorSchema, M as ShapeDescriptorSchema, N as ShapeGroupNode, O as ShapeChild, P as ShapeGroupSchema, Q as isShapeConstructGroupNode, R as SheetGroupNode, S as SectionConstructGroupNode, T as SectionDescriptorSchema, U as SlideGroupSchema, V as SlideDescriptorSchema, W as isDrawPageGroupNode, X as isSectionConstructGroupNode, Y as isPackageNode, Z as isSectionGroupNode, _ as PackageLeaf, a as DrawPageGroupSchema, b as PackageNodeSchema, c as HeadingParagraph, d as ListGroupNode, et as isSheetGroupNode, f as ListGroupSchema, g as PackageGroupSchema, h as PackageGroup, i as DrawPageGroupNode, j as ShapeDescriptor, k as ShapeConstructGroupNode, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, o as HeadingGroupNode, p as ListParagraph, q as isPackageGroup, r as DrawPageDescriptorSchema, s as HeadingGroupSchema, t as DrawPageChild, tt as isSlideGroupNode, u as ListChild, v as PackageLeafSchema, w as SectionDescriptor, x as SectionChild, y as PackageNode, z as SheetGroupSchema } from "./package-node-BigDwzL9.js";
|
|
14
15
|
import { DocumentPackage, DocumentPackageSchema } from "./package.js";
|
|
15
16
|
import { ContentDocumentJson, DocumentJsonResult, DocumentPackageJson, DocumentSchemaKind, LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, schemaUriFor } from "./schema-io.js";
|
|
16
17
|
import { StyledFragment, StyledRun, TextMeasurer, UnderlineMetrics, WrapOptions, WrappedLine } from "./text-layout.js";
|
|
17
18
|
import { MathAssembledGlyphs, MathBox, MathColor, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, PositionedFormula } from "./math-layout.js";
|
|
18
|
-
export { Alignment, AlignmentSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
19
|
+
export { Alignment, AlignmentSchema, AnchorDescriptor, AnchorDescriptorSchema, AnchorType, AnchorTypeSchema, Box, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, CellPosition, CellRange, Color, ColorSchema, ConstructDescriptor, ConstructDescriptorSchema, ContentBlock, ContentBlockSchema, ContentBorder, ContentBorderSchema, ContentCellBorders, ContentCellBordersSchema, ContentCellValue, ContentCellValueSchema, ContentCodec, ContentControlDescriptor, ContentControlDescriptorSchema, ContentControlLock, ContentControlLockSchema, ContentControlType, ContentControlTypeSchema, ContentDocument, ContentDocumentJson, ContentDocumentSchema, ContentDrawPage, ContentDrawPageSchema, ContentEmbeddedObject, ContentEmbeddedObjectBlock, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectKind, ContentEmbeddedObjectSchema, ContentFormula, ContentFormulaSchema, ContentImageBlock, ContentImageBlockSchema, ContentListMembership, ContentListMembershipSchema, ContentPageBreak, ContentPageBreakSchema, ContentParagraph, ContentParagraphSchema, ContentPathPoint, ContentPathPointSchema, ContentPathSegment, ContentPathSegmentSchema, ContentRun, ContentRunSchema, ContentSection, ContentSectionSchema, ContentShape, ContentShapeSchema, ContentSheet, ContentSheetCell, ContentSheetCellComment, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumn, ContentSheetColumnSchema, ContentSheetImage, ContentSheetImageSchema, ContentSheetPrintRange, ContentSheetPrintRangeSchema, ContentSheetPrintSettings, ContentSheetPrintSettingsSchema, ContentSheetRepeatRange, ContentSheetRepeatRangeSchema, ContentSheetRow, ContentSheetRowSchema, ContentSheetSchema, ContentSlide, ContentSlideSchema, ContentStroke, ContentStrokeSchema, ContentStrokeStyle, ContentStrokeStyleSchema, ContentSubpath, ContentSubpathSchema, ContentTable, ContentTableCell, ContentTableCellSchema, ContentTableRow, ContentTableRowSchema, ContentTableSchema, ContentVector, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalString, DecimalStringSchema, DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, DimensionVector, DimensionVectorSchema, DivisionDescriptor, DivisionDescriptorSchema, DivisionSource, DivisionSourceSchema, DocumentJsonResult, DocumentPackage, DocumentPackageJson, DocumentPackageSchema, DocumentSchemaKind, DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRational, ExactRationalSchema, FieldDescriptor, FieldDescriptorSchema, FontFace, FontRegistryOptions, FontSubstitution, FusedNode, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, LayoutFont, LayoutFontSchema, LayoutFrame, LayoutFrameSchema, LayoutMetadata, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptor, LinkDescriptorSchema, LinkTarget, LinkTargetSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, MAX_SAFE_INTEGER, Margins, MarginsSchema, MathApp, MathAppSchema, MathAssembledGlyphs, MathBox, MathColor, MathExpression, MathExpressionSchema, MathFontMetrics, MathGlyphMetrics, MathGlyphPlacement, MathGlyphRun, MathLayoutItem, MathMatrix, MathMatrixSchema, MathMlAttribute, MathMlAttributeSchema, MathMlCdata, MathMlCdataSchema, MathMlComment, MathMlCommentSchema, MathMlDeclaration, MathMlDeclarationSchema, MathMlElement, MathMlElementSchema, MathMlNode, MathMlNodeSchema, MathMlPi, MathMlPiSchema, MathMlText, MathMlTextSchema, MathNormalisationContext, MathNormalisationContextSchema, MathNum, MathNumSchema, MathPresentation, MathPresentationSchema, MathProd, MathProdSchema, MathProvenance, MathProvenanceSchema, MathQty, MathQtySchema, MathRule, MathStretchAxis, MathStretchGlyph, MathStretchResult, MathStroke, MathSum, MathSumSchema, MathSym, MathSymSchema, MathSymbolEntry, MathSymbolEntrySchema, MathUncertainty, MathUncertaintySchema, MathUnit, MathUnitSchema, MathUnparsed, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, PageSize, PageSizeSchema, Point, PositionedFormula, ProvenanceChange, ProvenanceChangeSchema, ProvenanceDescriptor, ProvenanceDescriptorSchema, ProvidedFont, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SiBaseDimension, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StyledFragment, StyledRun, StylesTable, StylesTableSchema, SymbolTable, SymbolTableSchema, TextMeasurer, UnderlineMetrics, UnrecognizedDocumentSchemaError, WrapOptions, WrappedLine, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { cellReference, columnIndexToLetters, columnLettersToIndex, parseCellReference, parseRangeReference, rangeReference } from "./a1.js";
|
|
2
2
|
import "./codec.js";
|
|
3
3
|
import { COLOR_BLACK, ColorSchema, colorToRgbHex, rgbHexToColor } from "./color.js";
|
|
4
|
+
import { AnchorDescriptorSchema, AnchorTypeSchema, ConstructDescriptorSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, DivisionDescriptorSchema, DivisionSourceSchema, FieldDescriptorSchema, LinkDescriptorSchema, LinkTargetSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema } from "./construct.js";
|
|
4
5
|
import { DimensionVectorSchema, ExactRationalSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, SI_BASE_DIMENSIONS, SymbolTableSchema, isMathExpression } from "./math.js";
|
|
5
6
|
import { BoxSchema, LayoutFrameSchema, MarginsSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PageSizeSchema, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN } from "./geometry.js";
|
|
6
7
|
import { MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, isMathMlNode } from "./mathml.js";
|
|
@@ -8,11 +9,11 @@ import { LayoutMetadataSchema } from "./metadata.js";
|
|
|
8
9
|
import { AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFontSchema } from "./style.js";
|
|
9
10
|
import { ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DecimalStringSchema, clampHeadingLevel, contentDocumentSharedFields, isContentBlock } from "./content.js";
|
|
10
11
|
import { DefinitionEntrySchema, DefinitionsTableSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
|
|
11
|
-
import { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode } from "./package-node.js";
|
|
12
|
+
import { DrawPageDescriptorSchema, DrawPageGroupSchema, HeadingGroupSchema, HeadingParagraphSchema, ListGroupSchema, ListParagraphSchema, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode } from "./package-node.js";
|
|
12
13
|
import { DocumentPackageSchema } from "./package.js";
|
|
13
14
|
import { LayoutSchemaDemotedError, SCHEMA_FILE_NAMES, SchemaVersionMismatchError, UnrecognizedDocumentSchemaError, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, schemaUriFor } from "./schema-io.js";
|
|
14
15
|
import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
|
|
15
16
|
import "./font-port.js";
|
|
16
17
|
import "./text-layout.js";
|
|
17
18
|
import "./math-layout.js";
|
|
18
|
-
export { AlignmentSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, ColorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalStringSchema, DefinitionEntrySchema, DefinitionsTableSchema, DimensionVectorSchema, DocumentPackageSchema, DrawPageDescriptorSchema, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRationalSchema, HeadingGroupSchema, HeadingParagraphSchema, LayoutFontSchema, LayoutFrameSchema, LayoutMetadataSchema, LayoutSchemaDemotedError, ListGroupSchema, ListParagraphSchema, MAX_SAFE_INTEGER, MarginsSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PageSizeSchema, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionDescriptorSchema, SectionGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, SymbolTableSchema, UnrecognizedDocumentSchemaError, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
19
|
+
export { AlignmentSchema, AnchorDescriptorSchema, AnchorTypeSchema, BoxSchema, COLOR_BLACK, CONTENT_DEFS, CONTENT_DOCUMENT_URI, ColorSchema, ConstructDescriptorSchema, ContentBlockSchema, ContentBorderSchema, ContentCellBordersSchema, ContentCellValueSchema, ContentControlDescriptorSchema, ContentControlLockSchema, ContentControlTypeSchema, ContentDocumentSchema, ContentDrawPageSchema, ContentEmbeddedObjectBlockSchema, ContentEmbeddedObjectSchema, ContentFormulaSchema, ContentImageBlockSchema, ContentListMembershipSchema, ContentPageBreakSchema, ContentParagraphSchema, ContentPathPointSchema, ContentPathSegmentSchema, ContentRunSchema, ContentSectionSchema, ContentShapeSchema, ContentSheetCellCommentSchema, ContentSheetCellSchema, ContentSheetColumnSchema, ContentSheetImageSchema, ContentSheetPrintRangeSchema, ContentSheetPrintSettingsSchema, ContentSheetRepeatRangeSchema, ContentSheetRowSchema, ContentSheetSchema, ContentSlideSchema, ContentStrokeSchema, ContentStrokeStyleSchema, ContentSubpathSchema, ContentTableCellSchema, ContentTableRowSchema, ContentTableSchema, ContentVectorSchema, DEFAULT_LAYOUT_FONT, DecimalStringSchema, DefinitionEntrySchema, DefinitionsTableSchema, DimensionVectorSchema, DivisionDescriptorSchema, DivisionSourceSchema, DocumentPackageSchema, DrawPageDescriptorSchema, DrawPageGroupSchema, EMBEDDED_OBJECT_KINDS, ExactRationalSchema, FieldDescriptorSchema, HeadingGroupSchema, HeadingParagraphSchema, LayoutFontSchema, LayoutFrameSchema, LayoutMetadataSchema, LayoutSchemaDemotedError, LinkDescriptorSchema, LinkTargetSchema, ListGroupSchema, ListParagraphSchema, MAX_SAFE_INTEGER, MarginsSchema, MathAppSchema, MathExpressionSchema, MathMatrixSchema, MathMlAttributeSchema, MathMlCdataSchema, MathMlCommentSchema, MathMlDeclarationSchema, MathMlElementSchema, MathMlNodeSchema, MathMlPiSchema, MathMlTextSchema, MathNormalisationContextSchema, MathNumSchema, MathPresentationSchema, MathProdSchema, MathProvenanceSchema, MathQtySchema, MathSumSchema, MathSymSchema, MathSymbolEntrySchema, MathUncertaintySchema, MathUnitSchema, MathUnparsedSchema, PAGE_SIZE_A4, PAGE_SIZE_LETTER, PackageGroupSchema, PackageLeafSchema, PackageNodeSchema, PageSizeSchema, ProvenanceChangeSchema, ProvenanceDescriptorSchema, SCHEMA_FILE_NAMES, SI_BASE_DIMENSIONS, SLIDE_SIZE_STANDARD, SLIDE_SIZE_WIDESCREEN, SchemaVersionMismatchError, SectionConstructGroupSchema, SectionDescriptorSchema, SectionGroupSchema, ShapeConstructGroupSchema, ShapeDescriptorSchema, ShapeGroupSchema, SheetDescriptorSchema, SheetGroupSchema, SlideDescriptorSchema, SlideGroupSchema, StyleEntrySchema, StyleParagraphPropertiesSchema, StyleRunPropertiesSchema, StylesTableSchema, SymbolTableSchema, UnrecognizedDocumentSchemaError, applyParagraphStyleProperties, applyRunStyleProperties, cellReference, clampHeadingLevel, colorToRgbHex, columnIndexToLetters, columnLettersToIndex, contentDocumentSharedFields, contentDocumentWithSchema, documentFromJson, documentPackageWithSchema, documentSchemaKindOf, isContentBlock, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isMathExpression, isMathMlNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, overlayStyleEntries, parseCellReference, parseRangeReference, rangeReference, resolveStyleChain, rgbHexToColor, schemaUriFor };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { G as ContentSheetImage, gt as ContentVector, p as ContentEmbeddedObject, t as ContentBlock, v as ContentFormula } from "./content-D4gWnk94.js";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-0rpAcHRT.js";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
//#region src/package-node.d.ts
|
|
4
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -26,6 +27,52 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
26
27
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
27
28
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
28
29
|
name: z.ZodString;
|
|
30
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
31
|
+
index: z.ZodNumber;
|
|
32
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
printSettings: z.ZodObject<{
|
|
36
|
+
pageSize: z.ZodObject<{
|
|
37
|
+
widthPt: z.ZodNumber;
|
|
38
|
+
heightPt: z.ZodNumber;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
margins: z.ZodObject<{
|
|
41
|
+
topPt: z.ZodNumber;
|
|
42
|
+
rightPt: z.ZodNumber;
|
|
43
|
+
bottomPt: z.ZodNumber;
|
|
44
|
+
leftPt: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
printRange: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
startRow: z.ZodNumber;
|
|
48
|
+
startColumn: z.ZodNumber;
|
|
49
|
+
endRow: z.ZodNumber;
|
|
50
|
+
endColumn: z.ZodNumber;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
width: z.ZodNumber;
|
|
55
|
+
height: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
start: z.ZodNumber;
|
|
59
|
+
end: z.ZodNumber;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
start: z.ZodNumber;
|
|
63
|
+
end: z.ZodNumber;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
gridlines: z.ZodBoolean;
|
|
66
|
+
headers: z.ZodBoolean;
|
|
67
|
+
pageOrder: z.ZodEnum<{
|
|
68
|
+
downThenOver: "downThenOver";
|
|
69
|
+
overThenDown: "overThenDown";
|
|
70
|
+
}>;
|
|
71
|
+
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
rows: z.ZodArray<z.ZodNumber>;
|
|
73
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
29
76
|
cells: z.ZodArray<z.ZodObject<{
|
|
30
77
|
row: z.ZodNumber;
|
|
31
78
|
column: z.ZodNumber;
|
|
@@ -182,57 +229,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
182
229
|
heightPt: z.ZodNumber;
|
|
183
230
|
}, z.core.$strip>>>;
|
|
184
231
|
}, z.core.$strip>>;
|
|
185
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
186
|
-
index: z.ZodNumber;
|
|
187
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
188
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
190
232
|
columns: z.ZodArray<z.ZodObject<{
|
|
191
233
|
index: z.ZodNumber;
|
|
192
234
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
193
235
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
194
236
|
}, z.core.$strip>>;
|
|
195
|
-
printSettings: z.ZodObject<{
|
|
196
|
-
pageSize: z.ZodObject<{
|
|
197
|
-
widthPt: z.ZodNumber;
|
|
198
|
-
heightPt: z.ZodNumber;
|
|
199
|
-
}, z.core.$strip>;
|
|
200
|
-
margins: z.ZodObject<{
|
|
201
|
-
topPt: z.ZodNumber;
|
|
202
|
-
rightPt: z.ZodNumber;
|
|
203
|
-
bottomPt: z.ZodNumber;
|
|
204
|
-
leftPt: z.ZodNumber;
|
|
205
|
-
}, z.core.$strip>;
|
|
206
|
-
printRange: z.ZodOptional<z.ZodObject<{
|
|
207
|
-
startRow: z.ZodNumber;
|
|
208
|
-
startColumn: z.ZodNumber;
|
|
209
|
-
endRow: z.ZodNumber;
|
|
210
|
-
endColumn: z.ZodNumber;
|
|
211
|
-
}, z.core.$strip>>;
|
|
212
|
-
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
213
|
-
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
214
|
-
width: z.ZodNumber;
|
|
215
|
-
height: z.ZodNumber;
|
|
216
|
-
}, z.core.$strip>>;
|
|
217
|
-
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
218
|
-
start: z.ZodNumber;
|
|
219
|
-
end: z.ZodNumber;
|
|
220
|
-
}, z.core.$strip>>;
|
|
221
|
-
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
222
|
-
start: z.ZodNumber;
|
|
223
|
-
end: z.ZodNumber;
|
|
224
|
-
}, z.core.$strip>>;
|
|
225
|
-
gridlines: z.ZodBoolean;
|
|
226
|
-
headers: z.ZodBoolean;
|
|
227
|
-
pageOrder: z.ZodEnum<{
|
|
228
|
-
downThenOver: "downThenOver";
|
|
229
|
-
overThenDown: "overThenDown";
|
|
230
|
-
}>;
|
|
231
|
-
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
232
|
-
rows: z.ZodArray<z.ZodNumber>;
|
|
233
|
-
columns: z.ZodArray<z.ZodNumber>;
|
|
234
|
-
}, z.core.$strip>>;
|
|
235
|
-
}, z.core.$strip>;
|
|
236
237
|
kind: z.ZodLiteral<"sheet">;
|
|
237
238
|
}, z.core.$strict>;
|
|
238
239
|
type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
|
|
@@ -375,9 +376,9 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
375
376
|
}, z.core.$strip>;
|
|
376
377
|
type ListParagraph = z.infer<typeof ListParagraphSchema>;
|
|
377
378
|
type PackageLeaf = ContentBlock | ContentSheetImage | ContentEmbeddedObject | ContentVector | ContentFormula;
|
|
378
|
-
type SectionChild = HeadingGroupNode | ListGroupNode | ContentBlock;
|
|
379
|
-
type ShapeChild = ListGroupNode | ContentBlock;
|
|
380
|
-
type ListChild = ListGroupNode | ContentBlock;
|
|
379
|
+
type SectionChild = HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ContentBlock;
|
|
380
|
+
type ShapeChild = ListGroupNode | ShapeConstructGroupNode | ContentBlock;
|
|
381
|
+
type ListChild = ListGroupNode | ShapeConstructGroupNode | ContentBlock;
|
|
381
382
|
type SheetChild = ContentSheetImage | ContentEmbeddedObject;
|
|
382
383
|
type DrawPageChild = ShapeGroupNode | ContentVector;
|
|
383
384
|
interface SectionGroupNode {
|
|
@@ -415,7 +416,17 @@ interface ListGroupNode {
|
|
|
415
416
|
style?: string;
|
|
416
417
|
children: ListChild[];
|
|
417
418
|
}
|
|
418
|
-
|
|
419
|
+
interface SectionConstructGroupNode {
|
|
420
|
+
readonly node: ConstructDescriptor;
|
|
421
|
+
style?: string;
|
|
422
|
+
children: SectionChild[];
|
|
423
|
+
}
|
|
424
|
+
interface ShapeConstructGroupNode {
|
|
425
|
+
readonly node: ConstructDescriptor;
|
|
426
|
+
style?: string;
|
|
427
|
+
children: ShapeChild[];
|
|
428
|
+
}
|
|
429
|
+
type PackageGroup = SectionGroupNode | SlideGroupNode | SheetGroupNode | DrawPageGroupNode | ShapeGroupNode | HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ShapeConstructGroupNode;
|
|
419
430
|
type PackageNode = PackageGroup | PackageLeaf;
|
|
420
431
|
declare function isSectionGroupNode(value: unknown): value is SectionGroupNode;
|
|
421
432
|
declare function isSlideGroupNode(value: unknown): value is SlideGroupNode;
|
|
@@ -424,6 +435,8 @@ declare function isDrawPageGroupNode(value: unknown): value is DrawPageGroupNode
|
|
|
424
435
|
declare function isShapeGroupNode(value: unknown): value is ShapeGroupNode;
|
|
425
436
|
declare function isHeadingGroupNode(value: unknown): value is HeadingGroupNode;
|
|
426
437
|
declare function isListGroupNode(value: unknown): value is ListGroupNode;
|
|
438
|
+
declare function isSectionConstructGroupNode(value: unknown): value is SectionConstructGroupNode;
|
|
439
|
+
declare function isShapeConstructGroupNode(value: unknown): value is ShapeConstructGroupNode;
|
|
427
440
|
declare function isPackageLeaf(value: unknown): value is PackageLeaf;
|
|
428
441
|
declare function isPackageGroup(value: unknown): value is PackageGroup;
|
|
429
442
|
declare function isPackageNode(value: unknown): value is PackageNode;
|
|
@@ -434,8 +447,10 @@ declare const DrawPageGroupSchema: z.ZodCustom<DrawPageGroupNode, DrawPageGroupN
|
|
|
434
447
|
declare const ShapeGroupSchema: z.ZodCustom<ShapeGroupNode, ShapeGroupNode>;
|
|
435
448
|
declare const HeadingGroupSchema: z.ZodCustom<HeadingGroupNode, HeadingGroupNode>;
|
|
436
449
|
declare const ListGroupSchema: z.ZodCustom<ListGroupNode, ListGroupNode>;
|
|
450
|
+
declare const SectionConstructGroupSchema: z.ZodCustom<SectionConstructGroupNode, SectionConstructGroupNode>;
|
|
451
|
+
declare const ShapeConstructGroupSchema: z.ZodCustom<ShapeConstructGroupNode, ShapeConstructGroupNode>;
|
|
437
452
|
declare const PackageGroupSchema: z.ZodCustom<PackageGroup, PackageGroup>;
|
|
438
453
|
declare const PackageLeafSchema: z.ZodCustom<PackageLeaf, PackageLeaf>;
|
|
439
454
|
declare const PackageNodeSchema: z.ZodCustom<PackageNode, PackageNode>;
|
|
440
455
|
//#endregion
|
|
441
|
-
export {
|
|
456
|
+
export { isShapeGroupNode as $, ShapeConstructGroupSchema as A, SlideDescriptor as B, SectionConstructGroupSchema as C, SectionGroupSchema as D, SectionGroupNode as E, SheetChild as F, isHeadingGroupNode as G, SlideGroupNode as H, SheetDescriptor as I, isPackageLeaf as J, isListGroupNode as K, SheetDescriptorSchema as L, ShapeDescriptorSchema as M, ShapeGroupNode as N, ShapeChild as O, ShapeGroupSchema as P, isShapeConstructGroupNode as Q, SheetGroupNode as R, SectionConstructGroupNode as S, SectionDescriptorSchema as T, SlideGroupSchema as U, SlideDescriptorSchema as V, isDrawPageGroupNode as W, isSectionConstructGroupNode as X, isPackageNode as Y, isSectionGroupNode as Z, PackageLeaf as _, DrawPageGroupSchema as a, PackageNodeSchema as b, HeadingParagraph as c, ListGroupNode as d, isSheetGroupNode as et, ListGroupSchema as f, PackageGroupSchema as g, PackageGroup as h, DrawPageGroupNode as i, ShapeDescriptor as j, ShapeConstructGroupNode as k, HeadingParagraphSchema as l, ListParagraphSchema as m, DrawPageDescriptor as n, HeadingGroupNode as o, ListParagraph as p, isPackageGroup as q, DrawPageDescriptorSchema as r, HeadingGroupSchema as s, DrawPageChild as t, isSlideGroupNode as tt, ListChild as u, PackageLeafSchema as v, SectionDescriptor as w, SectionChild as x, PackageNode as y, SheetGroupSchema as z };
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { G as ContentSheetImage, gt as ContentVector, p as ContentEmbeddedObject, t as ContentBlock, v as ContentFormula } from "./content-eCPtLgjC.cjs";
|
|
2
|
+
import { a as ConstructDescriptor } from "./construct-0rpAcHRT.cjs";
|
|
2
3
|
import { z } from "zod";
|
|
3
4
|
//#region src/package-node.d.ts
|
|
4
5
|
declare const SectionDescriptorSchema: z.ZodObject<{
|
|
@@ -26,6 +27,52 @@ declare const SlideDescriptorSchema: z.ZodObject<{
|
|
|
26
27
|
type SlideDescriptor = z.infer<typeof SlideDescriptorSchema>;
|
|
27
28
|
declare const SheetDescriptorSchema: z.ZodObject<{
|
|
28
29
|
name: z.ZodString;
|
|
30
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
31
|
+
index: z.ZodNumber;
|
|
32
|
+
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
33
|
+
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
34
|
+
}, z.core.$strip>>;
|
|
35
|
+
printSettings: z.ZodObject<{
|
|
36
|
+
pageSize: z.ZodObject<{
|
|
37
|
+
widthPt: z.ZodNumber;
|
|
38
|
+
heightPt: z.ZodNumber;
|
|
39
|
+
}, z.core.$strip>;
|
|
40
|
+
margins: z.ZodObject<{
|
|
41
|
+
topPt: z.ZodNumber;
|
|
42
|
+
rightPt: z.ZodNumber;
|
|
43
|
+
bottomPt: z.ZodNumber;
|
|
44
|
+
leftPt: z.ZodNumber;
|
|
45
|
+
}, z.core.$strip>;
|
|
46
|
+
printRange: z.ZodOptional<z.ZodObject<{
|
|
47
|
+
startRow: z.ZodNumber;
|
|
48
|
+
startColumn: z.ZodNumber;
|
|
49
|
+
endRow: z.ZodNumber;
|
|
50
|
+
endColumn: z.ZodNumber;
|
|
51
|
+
}, z.core.$strip>>;
|
|
52
|
+
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
53
|
+
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
54
|
+
width: z.ZodNumber;
|
|
55
|
+
height: z.ZodNumber;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
58
|
+
start: z.ZodNumber;
|
|
59
|
+
end: z.ZodNumber;
|
|
60
|
+
}, z.core.$strip>>;
|
|
61
|
+
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
62
|
+
start: z.ZodNumber;
|
|
63
|
+
end: z.ZodNumber;
|
|
64
|
+
}, z.core.$strip>>;
|
|
65
|
+
gridlines: z.ZodBoolean;
|
|
66
|
+
headers: z.ZodBoolean;
|
|
67
|
+
pageOrder: z.ZodEnum<{
|
|
68
|
+
downThenOver: "downThenOver";
|
|
69
|
+
overThenDown: "overThenDown";
|
|
70
|
+
}>;
|
|
71
|
+
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
72
|
+
rows: z.ZodArray<z.ZodNumber>;
|
|
73
|
+
columns: z.ZodArray<z.ZodNumber>;
|
|
74
|
+
}, z.core.$strip>>;
|
|
75
|
+
}, z.core.$strip>;
|
|
29
76
|
cells: z.ZodArray<z.ZodObject<{
|
|
30
77
|
row: z.ZodNumber;
|
|
31
78
|
column: z.ZodNumber;
|
|
@@ -182,57 +229,11 @@ declare const SheetDescriptorSchema: z.ZodObject<{
|
|
|
182
229
|
heightPt: z.ZodNumber;
|
|
183
230
|
}, z.core.$strip>>>;
|
|
184
231
|
}, z.core.$strip>>;
|
|
185
|
-
rows: z.ZodArray<z.ZodObject<{
|
|
186
|
-
index: z.ZodNumber;
|
|
187
|
-
heightPt: z.ZodOptional<z.ZodNumber>;
|
|
188
|
-
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
189
|
-
}, z.core.$strip>>;
|
|
190
232
|
columns: z.ZodArray<z.ZodObject<{
|
|
191
233
|
index: z.ZodNumber;
|
|
192
234
|
widthPt: z.ZodOptional<z.ZodNumber>;
|
|
193
235
|
hidden: z.ZodOptional<z.ZodBoolean>;
|
|
194
236
|
}, z.core.$strip>>;
|
|
195
|
-
printSettings: z.ZodObject<{
|
|
196
|
-
pageSize: z.ZodObject<{
|
|
197
|
-
widthPt: z.ZodNumber;
|
|
198
|
-
heightPt: z.ZodNumber;
|
|
199
|
-
}, z.core.$strip>;
|
|
200
|
-
margins: z.ZodObject<{
|
|
201
|
-
topPt: z.ZodNumber;
|
|
202
|
-
rightPt: z.ZodNumber;
|
|
203
|
-
bottomPt: z.ZodNumber;
|
|
204
|
-
leftPt: z.ZodNumber;
|
|
205
|
-
}, z.core.$strip>;
|
|
206
|
-
printRange: z.ZodOptional<z.ZodObject<{
|
|
207
|
-
startRow: z.ZodNumber;
|
|
208
|
-
startColumn: z.ZodNumber;
|
|
209
|
-
endRow: z.ZodNumber;
|
|
210
|
-
endColumn: z.ZodNumber;
|
|
211
|
-
}, z.core.$strip>>;
|
|
212
|
-
scalePercent: z.ZodOptional<z.ZodNumber>;
|
|
213
|
-
fitToPages: z.ZodOptional<z.ZodObject<{
|
|
214
|
-
width: z.ZodNumber;
|
|
215
|
-
height: z.ZodNumber;
|
|
216
|
-
}, z.core.$strip>>;
|
|
217
|
-
repeatRows: z.ZodOptional<z.ZodObject<{
|
|
218
|
-
start: z.ZodNumber;
|
|
219
|
-
end: z.ZodNumber;
|
|
220
|
-
}, z.core.$strip>>;
|
|
221
|
-
repeatColumns: z.ZodOptional<z.ZodObject<{
|
|
222
|
-
start: z.ZodNumber;
|
|
223
|
-
end: z.ZodNumber;
|
|
224
|
-
}, z.core.$strip>>;
|
|
225
|
-
gridlines: z.ZodBoolean;
|
|
226
|
-
headers: z.ZodBoolean;
|
|
227
|
-
pageOrder: z.ZodEnum<{
|
|
228
|
-
downThenOver: "downThenOver";
|
|
229
|
-
overThenDown: "overThenDown";
|
|
230
|
-
}>;
|
|
231
|
-
manualBreaks: z.ZodOptional<z.ZodObject<{
|
|
232
|
-
rows: z.ZodArray<z.ZodNumber>;
|
|
233
|
-
columns: z.ZodArray<z.ZodNumber>;
|
|
234
|
-
}, z.core.$strip>>;
|
|
235
|
-
}, z.core.$strip>;
|
|
236
237
|
kind: z.ZodLiteral<"sheet">;
|
|
237
238
|
}, z.core.$strict>;
|
|
238
239
|
type SheetDescriptor = z.infer<typeof SheetDescriptorSchema>;
|
|
@@ -375,9 +376,9 @@ declare const ListParagraphSchema: z.ZodObject<{
|
|
|
375
376
|
}, z.core.$strip>;
|
|
376
377
|
type ListParagraph = z.infer<typeof ListParagraphSchema>;
|
|
377
378
|
type PackageLeaf = ContentBlock | ContentSheetImage | ContentEmbeddedObject | ContentVector | ContentFormula;
|
|
378
|
-
type SectionChild = HeadingGroupNode | ListGroupNode | ContentBlock;
|
|
379
|
-
type ShapeChild = ListGroupNode | ContentBlock;
|
|
380
|
-
type ListChild = ListGroupNode | ContentBlock;
|
|
379
|
+
type SectionChild = HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ContentBlock;
|
|
380
|
+
type ShapeChild = ListGroupNode | ShapeConstructGroupNode | ContentBlock;
|
|
381
|
+
type ListChild = ListGroupNode | ShapeConstructGroupNode | ContentBlock;
|
|
381
382
|
type SheetChild = ContentSheetImage | ContentEmbeddedObject;
|
|
382
383
|
type DrawPageChild = ShapeGroupNode | ContentVector;
|
|
383
384
|
interface SectionGroupNode {
|
|
@@ -415,7 +416,17 @@ interface ListGroupNode {
|
|
|
415
416
|
style?: string;
|
|
416
417
|
children: ListChild[];
|
|
417
418
|
}
|
|
418
|
-
|
|
419
|
+
interface SectionConstructGroupNode {
|
|
420
|
+
readonly node: ConstructDescriptor;
|
|
421
|
+
style?: string;
|
|
422
|
+
children: SectionChild[];
|
|
423
|
+
}
|
|
424
|
+
interface ShapeConstructGroupNode {
|
|
425
|
+
readonly node: ConstructDescriptor;
|
|
426
|
+
style?: string;
|
|
427
|
+
children: ShapeChild[];
|
|
428
|
+
}
|
|
429
|
+
type PackageGroup = SectionGroupNode | SlideGroupNode | SheetGroupNode | DrawPageGroupNode | ShapeGroupNode | HeadingGroupNode | ListGroupNode | SectionConstructGroupNode | ShapeConstructGroupNode;
|
|
419
430
|
type PackageNode = PackageGroup | PackageLeaf;
|
|
420
431
|
declare function isSectionGroupNode(value: unknown): value is SectionGroupNode;
|
|
421
432
|
declare function isSlideGroupNode(value: unknown): value is SlideGroupNode;
|
|
@@ -424,6 +435,8 @@ declare function isDrawPageGroupNode(value: unknown): value is DrawPageGroupNode
|
|
|
424
435
|
declare function isShapeGroupNode(value: unknown): value is ShapeGroupNode;
|
|
425
436
|
declare function isHeadingGroupNode(value: unknown): value is HeadingGroupNode;
|
|
426
437
|
declare function isListGroupNode(value: unknown): value is ListGroupNode;
|
|
438
|
+
declare function isSectionConstructGroupNode(value: unknown): value is SectionConstructGroupNode;
|
|
439
|
+
declare function isShapeConstructGroupNode(value: unknown): value is ShapeConstructGroupNode;
|
|
427
440
|
declare function isPackageLeaf(value: unknown): value is PackageLeaf;
|
|
428
441
|
declare function isPackageGroup(value: unknown): value is PackageGroup;
|
|
429
442
|
declare function isPackageNode(value: unknown): value is PackageNode;
|
|
@@ -434,8 +447,10 @@ declare const DrawPageGroupSchema: z.ZodCustom<DrawPageGroupNode, DrawPageGroupN
|
|
|
434
447
|
declare const ShapeGroupSchema: z.ZodCustom<ShapeGroupNode, ShapeGroupNode>;
|
|
435
448
|
declare const HeadingGroupSchema: z.ZodCustom<HeadingGroupNode, HeadingGroupNode>;
|
|
436
449
|
declare const ListGroupSchema: z.ZodCustom<ListGroupNode, ListGroupNode>;
|
|
450
|
+
declare const SectionConstructGroupSchema: z.ZodCustom<SectionConstructGroupNode, SectionConstructGroupNode>;
|
|
451
|
+
declare const ShapeConstructGroupSchema: z.ZodCustom<ShapeConstructGroupNode, ShapeConstructGroupNode>;
|
|
437
452
|
declare const PackageGroupSchema: z.ZodCustom<PackageGroup, PackageGroup>;
|
|
438
453
|
declare const PackageLeafSchema: z.ZodCustom<PackageLeaf, PackageLeaf>;
|
|
439
454
|
declare const PackageNodeSchema: z.ZodCustom<PackageNode, PackageNode>;
|
|
440
455
|
//#endregion
|
|
441
|
-
export {
|
|
456
|
+
export { isShapeGroupNode as $, ShapeConstructGroupSchema as A, SlideDescriptor as B, SectionConstructGroupSchema as C, SectionGroupSchema as D, SectionGroupNode as E, SheetChild as F, isHeadingGroupNode as G, SlideGroupNode as H, SheetDescriptor as I, isPackageLeaf as J, isListGroupNode as K, SheetDescriptorSchema as L, ShapeDescriptorSchema as M, ShapeGroupNode as N, ShapeChild as O, ShapeGroupSchema as P, isShapeConstructGroupNode as Q, SheetGroupNode as R, SectionConstructGroupNode as S, SectionDescriptorSchema as T, SlideGroupSchema as U, SlideDescriptorSchema as V, isDrawPageGroupNode as W, isSectionConstructGroupNode as X, isPackageNode as Y, isSectionGroupNode as Z, PackageLeaf as _, DrawPageGroupSchema as a, PackageNodeSchema as b, HeadingParagraph as c, ListGroupNode as d, isSheetGroupNode as et, ListGroupSchema as f, PackageGroupSchema as g, PackageGroup as h, DrawPageGroupNode as i, ShapeDescriptor as j, ShapeConstructGroupNode as k, HeadingParagraphSchema as l, ListParagraphSchema as m, DrawPageDescriptor as n, HeadingGroupNode as o, ListParagraph as p, isPackageGroup as q, DrawPageDescriptorSchema as r, HeadingGroupSchema as s, DrawPageChild as t, isSlideGroupNode as tt, ListChild as u, PackageLeafSchema as v, SectionDescriptor as w, SectionChild as x, PackageNode as y, SheetGroupSchema as z };
|
package/dist/package-node.cjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
+
const require_construct = require("./construct.cjs");
|
|
2
3
|
const require_content = require("./content.cjs");
|
|
3
4
|
let zod = require("zod");
|
|
4
5
|
//#region src/package-node.ts
|
|
@@ -29,13 +30,13 @@ function isLeafChild(schema, value) {
|
|
|
29
30
|
return schema.safeParse(value).success;
|
|
30
31
|
}
|
|
31
32
|
function isSectionChild(value) {
|
|
32
|
-
return isHeadingGroupNode(value) || isListGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
33
|
+
return isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
33
34
|
}
|
|
34
35
|
function isShapeChild(value) {
|
|
35
|
-
return isListGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
36
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
36
37
|
}
|
|
37
38
|
function isListChild(value) {
|
|
38
|
-
return isListGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
39
|
+
return isListGroupNode(value) || isShapeConstructGroupNode(value) || isLeafChild(require_content.ContentBlockSchema, value);
|
|
39
40
|
}
|
|
40
41
|
function isSheetChild(value) {
|
|
41
42
|
return isLeafChild(require_content.ContentSheetImageSchema, value) || isLeafChild(require_content.ContentEmbeddedObjectSchema, value);
|
|
@@ -44,25 +45,31 @@ function isDrawPageChild(value) {
|
|
|
44
45
|
return isShapeGroupNode(value) || isLeafChild(require_content.ContentVectorSchema, value);
|
|
45
46
|
}
|
|
46
47
|
function isSectionGroupNode(value) {
|
|
47
|
-
return isRecord(value) &&
|
|
48
|
+
return isRecord(value) && SectionDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isSectionChild);
|
|
48
49
|
}
|
|
49
50
|
function isSlideGroupNode(value) {
|
|
50
|
-
return isRecord(value) &&
|
|
51
|
+
return isRecord(value) && SlideDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isShapeGroupNode);
|
|
51
52
|
}
|
|
52
53
|
function isSheetGroupNode(value) {
|
|
53
|
-
return isRecord(value) &&
|
|
54
|
+
return isRecord(value) && SheetDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isSheetChild);
|
|
54
55
|
}
|
|
55
56
|
function isDrawPageGroupNode(value) {
|
|
56
|
-
return isRecord(value) &&
|
|
57
|
+
return isRecord(value) && DrawPageDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isDrawPageChild);
|
|
57
58
|
}
|
|
58
59
|
function isShapeGroupNode(value) {
|
|
59
|
-
return isRecord(value) &&
|
|
60
|
+
return isRecord(value) && ShapeDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isShapeChild);
|
|
60
61
|
}
|
|
61
62
|
function isHeadingGroupNode(value) {
|
|
62
|
-
return isRecord(value) &&
|
|
63
|
+
return isRecord(value) && HeadingParagraphSchema.safeParse(value.node).success && isGroupWrapper(value, isSectionChild);
|
|
63
64
|
}
|
|
64
65
|
function isListGroupNode(value) {
|
|
65
|
-
return isRecord(value) &&
|
|
66
|
+
return isRecord(value) && ListParagraphSchema.safeParse(value.node).success && isGroupWrapper(value, isListChild);
|
|
67
|
+
}
|
|
68
|
+
function isSectionConstructGroupNode(value) {
|
|
69
|
+
return isRecord(value) && require_construct.ConstructDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isSectionChild);
|
|
70
|
+
}
|
|
71
|
+
function isShapeConstructGroupNode(value) {
|
|
72
|
+
return isRecord(value) && require_construct.ConstructDescriptorSchema.safeParse(value.node).success && isGroupWrapper(value, isShapeChild);
|
|
66
73
|
}
|
|
67
74
|
const packageLeafUnion = zod.z.union([
|
|
68
75
|
require_content.ContentBlockSchema,
|
|
@@ -75,7 +82,7 @@ function isPackageLeaf(value) {
|
|
|
75
82
|
return packageLeafUnion.safeParse(value).success;
|
|
76
83
|
}
|
|
77
84
|
function isPackageGroup(value) {
|
|
78
|
-
return isSectionGroupNode(value) || isSlideGroupNode(value) || isSheetGroupNode(value) || isDrawPageGroupNode(value) || isShapeGroupNode(value) || isHeadingGroupNode(value) || isListGroupNode(value);
|
|
85
|
+
return isSectionGroupNode(value) || isSlideGroupNode(value) || isSheetGroupNode(value) || isDrawPageGroupNode(value) || isShapeGroupNode(value) || isHeadingGroupNode(value) || isListGroupNode(value) || isSectionConstructGroupNode(value) || isShapeConstructGroupNode(value);
|
|
79
86
|
}
|
|
80
87
|
function isPackageNode(value) {
|
|
81
88
|
return isPackageGroup(value) || isPackageLeaf(value);
|
|
@@ -87,6 +94,8 @@ const DrawPageGroupSchema = zod.z.custom(isDrawPageGroupNode);
|
|
|
87
94
|
const ShapeGroupSchema = zod.z.custom(isShapeGroupNode);
|
|
88
95
|
const HeadingGroupSchema = zod.z.custom(isHeadingGroupNode);
|
|
89
96
|
const ListGroupSchema = zod.z.custom(isListGroupNode);
|
|
97
|
+
const SectionConstructGroupSchema = zod.z.custom(isSectionConstructGroupNode);
|
|
98
|
+
const ShapeConstructGroupSchema = zod.z.custom(isShapeConstructGroupNode);
|
|
90
99
|
const PackageGroupSchema = zod.z.custom(isPackageGroup);
|
|
91
100
|
const PackageLeafSchema = zod.z.custom(isPackageLeaf);
|
|
92
101
|
const PackageNodeSchema = zod.z.custom(isPackageNode);
|
|
@@ -100,8 +109,10 @@ exports.ListParagraphSchema = ListParagraphSchema;
|
|
|
100
109
|
exports.PackageGroupSchema = PackageGroupSchema;
|
|
101
110
|
exports.PackageLeafSchema = PackageLeafSchema;
|
|
102
111
|
exports.PackageNodeSchema = PackageNodeSchema;
|
|
112
|
+
exports.SectionConstructGroupSchema = SectionConstructGroupSchema;
|
|
103
113
|
exports.SectionDescriptorSchema = SectionDescriptorSchema;
|
|
104
114
|
exports.SectionGroupSchema = SectionGroupSchema;
|
|
115
|
+
exports.ShapeConstructGroupSchema = ShapeConstructGroupSchema;
|
|
105
116
|
exports.ShapeDescriptorSchema = ShapeDescriptorSchema;
|
|
106
117
|
exports.ShapeGroupSchema = ShapeGroupSchema;
|
|
107
118
|
exports.SheetDescriptorSchema = SheetDescriptorSchema;
|
|
@@ -114,7 +125,9 @@ exports.isListGroupNode = isListGroupNode;
|
|
|
114
125
|
exports.isPackageGroup = isPackageGroup;
|
|
115
126
|
exports.isPackageLeaf = isPackageLeaf;
|
|
116
127
|
exports.isPackageNode = isPackageNode;
|
|
128
|
+
exports.isSectionConstructGroupNode = isSectionConstructGroupNode;
|
|
117
129
|
exports.isSectionGroupNode = isSectionGroupNode;
|
|
130
|
+
exports.isShapeConstructGroupNode = isShapeConstructGroupNode;
|
|
118
131
|
exports.isShapeGroupNode = isShapeGroupNode;
|
|
119
132
|
exports.isSheetGroupNode = isSheetGroupNode;
|
|
120
133
|
exports.isSlideGroupNode = isSlideGroupNode;
|
package/dist/package-node.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
|
1
|
+
import { $ as isShapeGroupNode, A as ShapeConstructGroupSchema, B as SlideDescriptor, C as SectionConstructGroupSchema, D as SectionGroupSchema, E as SectionGroupNode, F as SheetChild, G as isHeadingGroupNode, H as SlideGroupNode, I as SheetDescriptor, J as isPackageLeaf, K as isListGroupNode, L as SheetDescriptorSchema, M as ShapeDescriptorSchema, N as ShapeGroupNode, O as ShapeChild, P as ShapeGroupSchema, Q as isShapeConstructGroupNode, R as SheetGroupNode, S as SectionConstructGroupNode, T as SectionDescriptorSchema, U as SlideGroupSchema, V as SlideDescriptorSchema, W as isDrawPageGroupNode, X as isSectionConstructGroupNode, Y as isPackageNode, Z as isSectionGroupNode, _ as PackageLeaf, a as DrawPageGroupSchema, b as PackageNodeSchema, c as HeadingParagraph, d as ListGroupNode, et as isSheetGroupNode, f as ListGroupSchema, g as PackageGroupSchema, h as PackageGroup, i as DrawPageGroupNode, j as ShapeDescriptor, k as ShapeConstructGroupNode, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, o as HeadingGroupNode, p as ListParagraph, q as isPackageGroup, r as DrawPageDescriptorSchema, s as HeadingGroupSchema, t as DrawPageChild, tt as isSlideGroupNode, u as ListChild, v as PackageLeafSchema, w as SectionDescriptor, x as SectionChild, y as PackageNode, z as SheetGroupSchema } from "./package-node-WkzRlNO1.cjs";
|
|
2
|
+
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
package/dist/package-node.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as
|
|
2
|
-
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|
|
1
|
+
import { $ as isShapeGroupNode, A as ShapeConstructGroupSchema, B as SlideDescriptor, C as SectionConstructGroupSchema, D as SectionGroupSchema, E as SectionGroupNode, F as SheetChild, G as isHeadingGroupNode, H as SlideGroupNode, I as SheetDescriptor, J as isPackageLeaf, K as isListGroupNode, L as SheetDescriptorSchema, M as ShapeDescriptorSchema, N as ShapeGroupNode, O as ShapeChild, P as ShapeGroupSchema, Q as isShapeConstructGroupNode, R as SheetGroupNode, S as SectionConstructGroupNode, T as SectionDescriptorSchema, U as SlideGroupSchema, V as SlideDescriptorSchema, W as isDrawPageGroupNode, X as isSectionConstructGroupNode, Y as isPackageNode, Z as isSectionGroupNode, _ as PackageLeaf, a as DrawPageGroupSchema, b as PackageNodeSchema, c as HeadingParagraph, d as ListGroupNode, et as isSheetGroupNode, f as ListGroupSchema, g as PackageGroupSchema, h as PackageGroup, i as DrawPageGroupNode, j as ShapeDescriptor, k as ShapeConstructGroupNode, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, o as HeadingGroupNode, p as ListParagraph, q as isPackageGroup, r as DrawPageDescriptorSchema, s as HeadingGroupSchema, t as DrawPageChild, tt as isSlideGroupNode, u as ListChild, v as PackageLeafSchema, w as SectionDescriptor, x as SectionChild, y as PackageNode, z as SheetGroupSchema } from "./package-node-BigDwzL9.js";
|
|
2
|
+
export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, PackageGroup, PackageGroupSchema, PackageLeaf, PackageLeafSchema, PackageNode, PackageNodeSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isPackageGroup, isPackageLeaf, isPackageNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode };
|