document-content-model 7.15.0 → 7.15.2

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.
Files changed (51) hide show
  1. package/dist/a1.d.cts +1 -1
  2. package/dist/a1.d.ts +1 -1
  3. package/dist/codec.d.cts +1 -1
  4. package/dist/codec.d.ts +1 -1
  5. package/dist/{color-AELCDH_b.d.cts → color-CS3HtBwD.d.cts} +1 -1
  6. package/dist/{color-AELCDH_b.d.ts → color-CS3HtBwD.d.ts} +1 -1
  7. package/dist/color.cjs +10 -4
  8. package/dist/color.d.cts +1 -1
  9. package/dist/color.d.ts +1 -1
  10. package/dist/color.js +10 -4
  11. package/dist/{content-lXpPw1nC.d.cts → content-CG0dBdiE.d.cts} +34 -34
  12. package/dist/{content-BzGOsekw.d.ts → content-CYB2gqF8.d.ts} +34 -34
  13. package/dist/content.cjs +5 -2
  14. package/dist/content.d.cts +1 -1
  15. package/dist/content.d.ts +1 -1
  16. package/dist/content.js +5 -2
  17. package/dist/decompose.cjs +13 -7
  18. package/dist/decompose.d.cts +2 -2
  19. package/dist/decompose.d.ts +2 -2
  20. package/dist/decompose.js +13 -7
  21. package/dist/definitions.d.cts +4 -4
  22. package/dist/definitions.d.ts +4 -4
  23. package/dist/factor-styles.d.cts +1 -1
  24. package/dist/factor-styles.d.ts +1 -1
  25. package/dist/flatten.d.cts +1 -1
  26. package/dist/flatten.d.ts +1 -1
  27. package/dist/index.d.cts +4 -4
  28. package/dist/index.d.ts +4 -4
  29. package/dist/math-layout.d.cts +1 -1
  30. package/dist/math-layout.d.ts +1 -1
  31. package/dist/{package-node-CWW0Evpn.d.cts → package-node-B8eeIyze.d.cts} +10 -10
  32. package/dist/{package-node-DosdPQ6x.d.ts → package-node-BOvXA2-v.d.ts} +10 -10
  33. package/dist/package-node.d.cts +1 -1
  34. package/dist/package-node.d.ts +1 -1
  35. package/dist/package.d.cts +6 -6
  36. package/dist/package.d.ts +6 -6
  37. package/dist/schema-io.cjs +2 -2
  38. package/dist/schema-io.d.cts +1 -1
  39. package/dist/schema-io.d.ts +1 -1
  40. package/dist/schema-io.js +2 -2
  41. package/dist/{style-D06NwxAJ.d.cts → style-BGMcYrD2.d.cts} +1 -1
  42. package/dist/{style-D06NwxAJ.d.ts → style-BGMcYrD2.d.ts} +1 -1
  43. package/dist/style.d.cts +1 -1
  44. package/dist/style.d.ts +1 -1
  45. package/dist/table-grid.d.cts +2 -2
  46. package/dist/table-grid.d.ts +2 -2
  47. package/dist/text-layout.d.cts +8 -8
  48. package/dist/text-layout.d.ts +8 -8
  49. package/package.json +1 -1
  50. package/schemas/content-document.schema.json +16 -16
  51. package/schemas/document-tree.schema.json +3 -3
package/dist/index.d.cts CHANGED
@@ -2,15 +2,15 @@ import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLet
2
2
  import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.cjs";
3
3
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-Czqc1mdZ.cjs";
4
4
  import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-BScHxedi.cjs";
5
- import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.cjs";
5
+ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.cjs";
6
6
  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";
7
7
  import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.cjs";
8
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
9
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-lXpPw1nC.cjs";
8
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
9
+ import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-CG0dBdiE.cjs";
10
10
  import { ContentCodec } from "./codec.cjs";
11
11
  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-GVdTKrE7.cjs";
12
12
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.cjs";
13
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-CWW0Evpn.cjs";
13
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-B8eeIyze.cjs";
14
14
  import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.cjs";
15
15
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.cjs";
16
16
  import { DocumentTree, DocumentTreeSchema, TreeEmbeddedFont, TreeEmbeddedFontSchema } from "./package.cjs";
package/dist/index.d.ts CHANGED
@@ -2,15 +2,15 @@ import { CellPosition, CellRange, cellReference, columnIndexToLetters, columnLet
2
2
  import { BORDER_WIDTH_PT, BorderWeight, borderWeightForWidthPt, dashedBorderWeightForWidthPt } from "./border-weight.js";
3
3
  import { _ as isMathMlNode, a as MathMlComment, c as MathMlDeclarationSchema, d as MathMlNode, f as MathMlNodeSchema, g as MathMlTextSchema, h as MathMlText, i as MathMlCdataSchema, l as MathMlElement, m as MathMlPiSchema, n as MathMlAttributeSchema, o as MathMlCommentSchema, p as MathMlPi, r as MathMlCdata, s as MathMlDeclaration, t as MathMlAttribute, u as MathMlElementSchema } from "./mathml-Czqc1mdZ.js";
4
4
  import { A as MathSumSchema, B as MathUnparsedSchema, C as MathProd, D as MathQty, E as MathProvenanceSchema, F as MathUncertainty, G as SymbolTable, H as QuantitySchema, I as MathUncertaintySchema, K as SymbolTableSchema, L as MathUnit, M as MathSymSchema, N as MathSymbolEntry, O as MathQtySchema, P as MathSymbolEntrySchema, R as MathUnitSchema, S as MathPresentationSchema, T as MathProvenance, U as SI_BASE_DIMENSIONS, V as Quantity, W as SiBaseDimension, _ as MathNormalisationContext, a as ExactRational, b as MathNumSchema, c as FormulaBindingsSchema, d as MathApp, f as MathAppSchema, g as MathMatrixSchema, h as MathMatrix, i as EvaluationValueSchema, j as MathSym, k as MathSum, l as Interval, m as MathExpressionSchema, n as DimensionVectorSchema, o as ExactRationalSchema, p as MathExpression, q as isMathExpression, r as EvaluationValue, s as FormulaBindings, t as DimensionVector, u as IntervalSchema, v as MathNormalisationContextSchema, w as MathProdSchema, x as MathPresentation, y as MathNum, z as MathUnparsed } from "./math-BScHxedi.js";
5
- import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-AELCDH_b.js";
5
+ import { a as rgbHexToColor, i as colorToRgbHex, n as Color, r as ColorSchema, t as COLOR_BLACK } from "./color-CS3HtBwD.js";
6
6
  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";
7
7
  import { i as SourceResidueSchema, n as SourceFormatSchema, r as SourceResidue, t as SourceFormat } from "./source-Bas5ol6f.js";
8
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
9
- import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-BzGOsekw.js";
8
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
9
+ import { $ as ContentHatchStyleSchema, $t as ContentSheetRepeatRange, A as ContentEmbeddedObjectKind, An as ImageFormat, At as ContentSheetCellComment, B as ContentFloatPosition, Bn as findRunConstructFault, Bt as ContentSheetConditionalFormatValueSchema, C as ContentDocument, Cn as ContentTranscriptSchema, Ct as ContentRunSchema, D as ContentEmbeddedObject, Dn as DecimalStringSchema, Dt as ContentShapeSchema, E as ContentDrawPageSchema, En as DecimalString, Et as ContentShape, F as ContentFloatAlignSchema, Fn as SheetRuleOperator, Ft as ContentSheetConditionalFormat, G as ContentFormulaSchema, Gn as resolveCellFillColor, Gt as ContentSheetImage, H as ContentFont, Hn as isContentConstructEnd, Ht as ContentSheetDataValidationSchema, I as ContentFloatAxis, In as SheetRuleOperatorSchema, It as ContentSheetConditionalFormatSchema, J as ContentGradientStyle, Jt as ContentSheetPrintRangeSchema, K as ContentGradientFill, Kn as unrecognizedFillKind, Kt as ContentSheetImageSchema, L as ContentFloatAxisSchema, Ln as clampHeadingLevel, Lt as ContentSheetConditionalFormatStyle, M as ContentFillPattern, Mn as RunConstructExtent, Mt as ContentSheetCellSchema, N as ContentFillPatternSchema, Nn as RunConstructExtentSchema, Nt as ContentSheetColumn, O as ContentEmbeddedObjectBlock, On as FusedNode, Ot as ContentSheet, P as ContentFloatAlign, Pn as RunConstructFault, Pt as ContentSheetColumnSchema, Q as ContentHatchStyle, Qt as ContentSheetRangeSchema, R as ContentFloatOrigin, Rn as contentDocumentSharedFields, Rt as ContentSheetConditionalFormatStyleSchema, S as ContentDefinedNameSchema, Sn as ContentTranscript, St as ContentRun, T as ContentDrawPage, Tn as ContentVectorSchema, Tt as ContentSectionSchema, U as ContentFontSchema, Un as isContentConstructStart, Ut as ContentSheetDataValidationType, V as ContentFloatPositionSchema, Vn as isContentBlock, Vt as ContentSheetDataValidation, W as ContentFormula, Wn as isRunConstructExtent, Wt as ContentSheetDataValidationTypeSchema, X as ContentHatchFill, Xt as ContentSheetPrintSettingsSchema, Y as ContentGradientStyleSchema, Yt as ContentSheetPrintSettings, Z as ContentHatchFillSchema, Zt as ContentSheetRange, _ as ContentConstructEnd, _n as ContentTableColumn, _t as ContentParagraphSchema, a as ContentBlock, an as ContentSlideSchema, at as ContentInterpretationSchema, b as ContentConstructStartSchema, bn as ContentTableRowSchema, bt as ContentPathSegment, c as ContentBorderSchema, cn as ContentStrokeDashSchema, ct as ContentOrigin, d as ContentCellFill, dn as ContentStrokeStyleSchema, dt as ContentPageBreakSchema, en as ContentSheetRepeatRangeSchema, et as ContentImageBlock, f as ContentCellFillSchema, fn as ContentSubpath, ft as ContentPageFurniture, g as ContentCellValueSchema, gn as ContentTableCellSchema, gt as ContentParagraphBordersSchema, h as ContentCellValue, hn as ContentTableCell, ht as ContentParagraphBorders, i as ContentBitmapFillSchema, in as ContentSlide, it as ContentInterpretation, j as ContentEmbeddedObjectSchema, jn as RUN_FONT_PROPERTY_SHAPE, jt as ContentSheetCellCommentSchema, k as ContentEmbeddedObjectBlockSchema, kn as IMAGE_FORMATS, kt as ContentSheetCell, l as ContentCellBorders, ln as ContentStrokeSchema, lt as ContentOriginSchema, m as ContentCellPatternTypeSchema, mn as ContentTable, mt as ContentParagraph, n as ConstructMarkerImbalance, nn as ContentSheetRowSchema, nt as ContentImageOriginal, o as ContentBlockSchema, on as ContentStroke, ot as ContentListMembership, p as ContentCellPatternType, pn as ContentSubpathSchema, pt as ContentPageFurnitureSchema, q as ContentGradientFillSchema, qt as ContentSheetPrintRange, r as ContentBitmapFill, rn as ContentSheetSchema, rt as ContentImageOriginalSchema, s as ContentBorder, sn as ContentStrokeDash, st as ContentListMembershipSchema, t as CONTENT_ANNOTATION_FIELDS, tn as ContentSheetRow, tt as ContentImageBlockSchema, u as ContentCellBordersSchema, un as ContentStrokeStyle, ut as ContentPageBreak, v as ContentConstructEndSchema, vn as ContentTableColumnSchema, vt as ContentPathPoint, w as ContentDocumentSchema, wn as ContentVector, wt as ContentSection, x as ContentDefinedName, xn as ContentTableSchema, xt as ContentPathSegmentSchema, y as ContentConstructStart, yn as ContentTableRow, yt as ContentPathPointSchema, z as ContentFloatOriginSchema, zn as findConstructMarkerImbalance, zt as ContentSheetConditionalFormatValue } from "./content-CYB2gqF8.js";
10
10
  import { ContentCodec } from "./codec.js";
11
11
  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-GVdTKrE7.js";
12
12
  import { CONTENT_DEFS, CONTENT_DOCUMENT_URI, EMBEDDED_OBJECT_KINDS, MAX_SAFE_INTEGER } from "./content-json-schema-defs.js";
13
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DosdPQ6x.js";
13
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-BOvXA2-v.js";
14
14
  import { ConstructMarkerImbalanceError, TreeChildren, decompose } from "./decompose.js";
15
15
  import { DefinitionEntry, DefinitionEntrySchema, DefinitionsTable, DefinitionsTableSchema, StyleEntry, StyleEntrySchema, StyleParagraphProperties, StyleParagraphPropertiesSchema, StyleRunProperties, StyleRunPropertiesSchema, StylesTable, StylesTableSchema, applyParagraphStyleProperties, applyRunStyleProperties, overlayStyleEntries, resolveStyleChain } from "./definitions.js";
16
16
  import { DocumentTree, DocumentTreeSchema, TreeEmbeddedFont, TreeEmbeddedFontSchema } from "./package.js";
@@ -1,4 +1,4 @@
1
- import { n as Color } from "./color-AELCDH_b.cjs";
1
+ import { n as Color } from "./color-CS3HtBwD.cjs";
2
2
  //#region src/math-layout.d.ts
3
3
  type MathColor = Color;
4
4
  interface MathGlyphRun {
@@ -1,4 +1,4 @@
1
- import { n as Color } from "./color-AELCDH_b.js";
1
+ import { n as Color } from "./color-CS3HtBwD.js";
2
2
  //#region src/math-layout.d.ts
3
3
  type MathColor = Color;
4
4
  interface MathGlyphRun {
@@ -1,4 +1,4 @@
1
- import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-lXpPw1nC.cjs";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-CG0dBdiE.cjs";
2
2
  import { a as ConstructDescriptor } from "./construct-GVdTKrE7.cjs";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -85,6 +85,7 @@ declare const SectionDescriptorSchema: z.ZodObject<{
85
85
  }, z.core.$strict>;
86
86
  type SectionDescriptor = z.infer<typeof SectionDescriptorSchema>;
87
87
  declare const SlideDescriptorSchema: z.ZodObject<{
88
+ notes: z.ZodString;
88
89
  source: z.ZodOptional<z.ZodObject<{
89
90
  format: z.ZodEnum<{
90
91
  docx: "docx";
@@ -105,7 +106,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
105
106
  }>;
106
107
  xml: z.ZodString;
107
108
  }, z.core.$strict>>;
108
- notes: z.ZodString;
109
109
  origin: z.ZodOptional<z.ZodEnum<{
110
110
  chart: "chart";
111
111
  diagram: "diagram";
@@ -161,7 +161,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
161
161
  }>;
162
162
  xml: z.ZodString;
163
163
  }, z.core.$strict>>;
164
- name: z.ZodString;
165
164
  origin: z.ZodOptional<z.ZodEnum<{
166
165
  chart: "chart";
167
166
  diagram: "diagram";
@@ -189,6 +188,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
189
188
  at: z.ZodString;
190
189
  }, z.core.$strip>>;
191
190
  }, z.core.$strip>>;
191
+ name: z.ZodString;
192
192
  printSettings: z.ZodObject<{
193
193
  pageSize: z.ZodObject<{
194
194
  widthPt: z.ZodNumber;
@@ -552,8 +552,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
552
552
  }, z.core.$strip>>;
553
553
  alignment: z.ZodOptional<z.ZodEnum<{
554
554
  left: "left";
555
- center: "center";
556
555
  right: "right";
556
+ center: "center";
557
557
  justify: "justify";
558
558
  }>>;
559
559
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -617,10 +617,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
617
617
  endColumn: z.ZodNumber;
618
618
  }, z.core.$strip>>;
619
619
  type: z.ZodEnum<{
620
- decimal: "decimal";
621
- list: "list";
622
620
  date: "date";
623
621
  custom: "custom";
622
+ decimal: "decimal";
623
+ list: "list";
624
624
  time: "time";
625
625
  whole: "whole";
626
626
  textLength: "textLength";
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1298
1298
  }, z.core.$strict>;
1299
1299
  type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1300
1300
  declare const ShapeDescriptorSchema: z.ZodObject<{
1301
+ sourcePath: z.ZodOptional<z.ZodString>;
1301
1302
  source: z.ZodOptional<z.ZodObject<{
1302
1303
  format: z.ZodEnum<{
1303
1304
  docx: "docx";
@@ -1318,8 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1318
1319
  }>;
1319
1320
  xml: z.ZodString;
1320
1321
  }, z.core.$strict>>;
1321
- name: z.ZodOptional<z.ZodString>;
1322
- sourcePath: z.ZodOptional<z.ZodString>;
1323
1322
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1324
1323
  pageIndex: z.ZodNumber;
1325
1324
  xPt: z.ZodNumber;
@@ -1354,6 +1353,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1354
1353
  at: z.ZodString;
1355
1354
  }, z.core.$strip>>;
1356
1355
  }, z.core.$strip>>;
1356
+ name: z.ZodOptional<z.ZodString>;
1357
1357
  frame: z.ZodObject<{
1358
1358
  xPt: z.ZodNumber;
1359
1359
  yPt: z.ZodNumber;
@@ -1677,8 +1677,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1677
1677
  preformatted: z.ZodOptional<z.ZodBoolean>;
1678
1678
  alignment: z.ZodOptional<z.ZodEnum<{
1679
1679
  left: "left";
1680
- center: "center";
1681
1680
  right: "right";
1681
+ center: "center";
1682
1682
  justify: "justify";
1683
1683
  }>>;
1684
1684
  list: z.ZodOptional<z.ZodObject<{
@@ -2103,8 +2103,8 @@ declare const ListParagraphSchema: z.ZodObject<{
2103
2103
  headingLevel: z.ZodOptional<z.ZodNumber>;
2104
2104
  alignment: z.ZodOptional<z.ZodEnum<{
2105
2105
  left: "left";
2106
- center: "center";
2107
2106
  right: "right";
2107
+ center: "center";
2108
2108
  justify: "justify";
2109
2109
  }>>;
2110
2110
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,4 +1,4 @@
1
- import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-BzGOsekw.js";
1
+ import { D as ContentEmbeddedObject, Gt as ContentSheetImage, W as ContentFormula, _ as ContentConstructEnd, a as ContentBlock, wn as ContentVector, y as ContentConstructStart } from "./content-CYB2gqF8.js";
2
2
  import { a as ConstructDescriptor } from "./construct-GVdTKrE7.js";
3
3
  import { z } from "zod";
4
4
  //#region src/package-node.d.ts
@@ -85,6 +85,7 @@ declare const SectionDescriptorSchema: z.ZodObject<{
85
85
  }, z.core.$strict>;
86
86
  type SectionDescriptor = z.infer<typeof SectionDescriptorSchema>;
87
87
  declare const SlideDescriptorSchema: z.ZodObject<{
88
+ notes: z.ZodString;
88
89
  source: z.ZodOptional<z.ZodObject<{
89
90
  format: z.ZodEnum<{
90
91
  docx: "docx";
@@ -105,7 +106,6 @@ declare const SlideDescriptorSchema: z.ZodObject<{
105
106
  }>;
106
107
  xml: z.ZodString;
107
108
  }, z.core.$strict>>;
108
- notes: z.ZodString;
109
109
  origin: z.ZodOptional<z.ZodEnum<{
110
110
  chart: "chart";
111
111
  diagram: "diagram";
@@ -161,7 +161,6 @@ declare const SheetDescriptorSchema: z.ZodObject<{
161
161
  }>;
162
162
  xml: z.ZodString;
163
163
  }, z.core.$strict>>;
164
- name: z.ZodString;
165
164
  origin: z.ZodOptional<z.ZodEnum<{
166
165
  chart: "chart";
167
166
  diagram: "diagram";
@@ -189,6 +188,7 @@ declare const SheetDescriptorSchema: z.ZodObject<{
189
188
  at: z.ZodString;
190
189
  }, z.core.$strip>>;
191
190
  }, z.core.$strip>>;
191
+ name: z.ZodString;
192
192
  printSettings: z.ZodObject<{
193
193
  pageSize: z.ZodObject<{
194
194
  widthPt: z.ZodNumber;
@@ -552,8 +552,8 @@ declare const SheetDescriptorSchema: z.ZodObject<{
552
552
  }, z.core.$strip>>;
553
553
  alignment: z.ZodOptional<z.ZodEnum<{
554
554
  left: "left";
555
- center: "center";
556
555
  right: "right";
556
+ center: "center";
557
557
  justify: "justify";
558
558
  }>>;
559
559
  verticalAlignment: z.ZodOptional<z.ZodEnum<{
@@ -617,10 +617,10 @@ declare const SheetDescriptorSchema: z.ZodObject<{
617
617
  endColumn: z.ZodNumber;
618
618
  }, z.core.$strip>>;
619
619
  type: z.ZodEnum<{
620
- decimal: "decimal";
621
- list: "list";
622
620
  date: "date";
623
621
  custom: "custom";
622
+ decimal: "decimal";
623
+ list: "list";
624
624
  time: "time";
625
625
  whole: "whole";
626
626
  textLength: "textLength";
@@ -1298,6 +1298,7 @@ declare const DrawPageDescriptorSchema: z.ZodObject<{
1298
1298
  }, z.core.$strict>;
1299
1299
  type DrawPageDescriptor = z.infer<typeof DrawPageDescriptorSchema>;
1300
1300
  declare const ShapeDescriptorSchema: z.ZodObject<{
1301
+ sourcePath: z.ZodOptional<z.ZodString>;
1301
1302
  source: z.ZodOptional<z.ZodObject<{
1302
1303
  format: z.ZodEnum<{
1303
1304
  docx: "docx";
@@ -1318,8 +1319,6 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1318
1319
  }>;
1319
1320
  xml: z.ZodString;
1320
1321
  }, z.core.$strict>>;
1321
- name: z.ZodOptional<z.ZodString>;
1322
- sourcePath: z.ZodOptional<z.ZodString>;
1323
1322
  frames: z.ZodOptional<z.ZodArray<z.ZodObject<{
1324
1323
  pageIndex: z.ZodNumber;
1325
1324
  xPt: z.ZodNumber;
@@ -1354,6 +1353,7 @@ declare const ShapeDescriptorSchema: z.ZodObject<{
1354
1353
  at: z.ZodString;
1355
1354
  }, z.core.$strip>>;
1356
1355
  }, z.core.$strip>>;
1356
+ name: z.ZodOptional<z.ZodString>;
1357
1357
  frame: z.ZodObject<{
1358
1358
  xPt: z.ZodNumber;
1359
1359
  yPt: z.ZodNumber;
@@ -1677,8 +1677,8 @@ declare const HeadingParagraphSchema: z.ZodObject<{
1677
1677
  preformatted: z.ZodOptional<z.ZodBoolean>;
1678
1678
  alignment: z.ZodOptional<z.ZodEnum<{
1679
1679
  left: "left";
1680
- center: "center";
1681
1680
  right: "right";
1681
+ center: "center";
1682
1682
  justify: "justify";
1683
1683
  }>>;
1684
1684
  list: z.ZodOptional<z.ZodObject<{
@@ -2103,8 +2103,8 @@ declare const ListParagraphSchema: z.ZodObject<{
2103
2103
  headingLevel: z.ZodOptional<z.ZodNumber>;
2104
2104
  alignment: z.ZodOptional<z.ZodEnum<{
2105
2105
  left: "left";
2106
- center: "center";
2107
2106
  right: "right";
2107
+ center: "center";
2108
2108
  justify: "justify";
2109
2109
  }>>;
2110
2110
  spacingBeforePt: z.ZodOptional<z.ZodNumber>;
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-CWW0Evpn.cjs";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-B8eeIyze.cjs";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,2 +1,2 @@
1
- import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-DosdPQ6x.js";
1
+ import { $ as isSheetGroupNode, A as SheetDescriptor, B as TreeGroup, C as ShapeConstructGroupNode, D as ShapeGroupNode, E as ShapeDescriptorSchema, F as SlideDescriptorSchema, G as TreeNodeSchema, H as TreeLeaf, I as SlideGroupNode, J as isListGroupNode, K as isDrawPageGroupNode, L as SlideGroupSchema, M as SheetGroupNode, N as SheetGroupSchema, O as ShapeGroupSchema, P as SlideDescriptor, Q as isShapeGroupNode, R as TreeBlockLeaf, S as ShapeChild, T as ShapeDescriptor, U as TreeLeafSchema, V as TreeGroupSchema, W as TreeNode, X as isSectionGroupNode, Y as isSectionConstructGroupNode, Z as isShapeConstructGroupNode, _ as SectionConstructGroupSchema, a as DrawPageGroupSchema, b as SectionGroupNode, c as HeadingParagraph, d as ListGroupNode, et as isSlideGroupNode, f as ListGroupSchema, g as SectionConstructGroupNode, h as SectionChild, i as DrawPageGroupNode, it as isTreeNode, j as SheetDescriptorSchema, k as SheetChild, l as HeadingParagraphSchema, m as ListParagraphSchema, n as DrawPageDescriptor, nt as isTreeGroup, o as HeadingGroupNode, p as ListParagraph, q as isHeadingGroupNode, r as DrawPageDescriptorSchema, rt as isTreeLeaf, s as HeadingGroupSchema, t as DrawPageChild, tt as isTreeBlockLeaf, u as ListChild, v as SectionDescriptor, w as ShapeConstructGroupSchema, x as SectionGroupSchema, y as SectionDescriptorSchema, z as TreeBlockLeafSchema } from "./package-node-BOvXA2-v.js";
2
2
  export { DrawPageChild, DrawPageDescriptor, DrawPageDescriptorSchema, DrawPageGroupNode, DrawPageGroupSchema, HeadingGroupNode, HeadingGroupSchema, HeadingParagraph, HeadingParagraphSchema, ListChild, ListGroupNode, ListGroupSchema, ListParagraph, ListParagraphSchema, SectionChild, SectionConstructGroupNode, SectionConstructGroupSchema, SectionDescriptor, SectionDescriptorSchema, SectionGroupNode, SectionGroupSchema, ShapeChild, ShapeConstructGroupNode, ShapeConstructGroupSchema, ShapeDescriptor, ShapeDescriptorSchema, ShapeGroupNode, ShapeGroupSchema, SheetChild, SheetDescriptor, SheetDescriptorSchema, SheetGroupNode, SheetGroupSchema, SlideDescriptor, SlideDescriptorSchema, SlideGroupNode, SlideGroupSchema, TreeBlockLeaf, TreeBlockLeafSchema, TreeGroup, TreeGroupSchema, TreeLeaf, TreeLeafSchema, TreeNode, TreeNodeSchema, isDrawPageGroupNode, isHeadingGroupNode, isListGroupNode, isSectionConstructGroupNode, isSectionGroupNode, isShapeConstructGroupNode, isShapeGroupNode, isSheetGroupNode, isSlideGroupNode, isTreeBlockLeaf, isTreeGroup, isTreeLeaf, isTreeNode };
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.cjs";
2
2
  import { p as MathExpression } from "./math-BScHxedi.cjs";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-CWW0Evpn.cjs";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-B8eeIyze.cjs";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
710
  paragraph: z.ZodOptional<z.ZodObject<{
711
711
  alignment: z.ZodOptional<z.ZodEnum<{
712
712
  left: "left";
713
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  list: z.ZodOptional<z.ZodObject<{
package/dist/package.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { d as MathMlNode } from "./mathml-Czqc1mdZ.js";
2
2
  import { p as MathExpression } from "./math-BScHxedi.js";
3
- import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-DosdPQ6x.js";
3
+ import { I as SlideGroupNode, M as SheetGroupNode, b as SectionGroupNode, i as DrawPageGroupNode } from "./package-node-BOvXA2-v.js";
4
4
  import { z } from "zod";
5
5
  //#region src/package.d.ts
6
6
  declare const TreeEmbeddedFontSchema: z.ZodObject<{
@@ -26,8 +26,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
26
26
  paragraph: z.ZodOptional<z.ZodObject<{
27
27
  alignment: z.ZodOptional<z.ZodEnum<{
28
28
  left: "left";
29
- center: "center";
30
29
  right: "right";
30
+ center: "center";
31
31
  justify: "justify";
32
32
  }>>;
33
33
  list: z.ZodOptional<z.ZodObject<{
@@ -181,8 +181,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
181
181
  paragraph: z.ZodOptional<z.ZodObject<{
182
182
  alignment: z.ZodOptional<z.ZodEnum<{
183
183
  left: "left";
184
- center: "center";
185
184
  right: "right";
185
+ center: "center";
186
186
  justify: "justify";
187
187
  }>>;
188
188
  list: z.ZodOptional<z.ZodObject<{
@@ -341,8 +341,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
341
341
  paragraph: z.ZodOptional<z.ZodObject<{
342
342
  alignment: z.ZodOptional<z.ZodEnum<{
343
343
  left: "left";
344
- center: "center";
345
344
  right: "right";
345
+ center: "center";
346
346
  justify: "justify";
347
347
  }>>;
348
348
  list: z.ZodOptional<z.ZodObject<{
@@ -496,8 +496,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
496
496
  paragraph: z.ZodOptional<z.ZodObject<{
497
497
  alignment: z.ZodOptional<z.ZodEnum<{
498
498
  left: "left";
499
- center: "center";
500
499
  right: "right";
500
+ center: "center";
501
501
  justify: "justify";
502
502
  }>>;
503
503
  list: z.ZodOptional<z.ZodObject<{
@@ -710,8 +710,8 @@ declare const DocumentTreeSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
710
710
  paragraph: z.ZodOptional<z.ZodObject<{
711
711
  alignment: z.ZodOptional<z.ZodEnum<{
712
712
  left: "left";
713
- center: "center";
714
713
  right: "right";
714
+ center: "center";
715
715
  justify: "justify";
716
716
  }>>;
717
717
  list: z.ZodOptional<z.ZodObject<{
@@ -7,7 +7,7 @@ const SCHEMA_FILE_NAMES = {
7
7
  ContentDocument: "content-document.schema.json"
8
8
  };
9
9
  function schemaUriFor(kind) {
10
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
11
11
  }
12
12
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
13
13
  function parseSchemaUri(uri) {
@@ -102,7 +102,7 @@ function documentFromJson(value) {
102
102
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
103
103
  const kind = kindForFileStem(parts.stem);
104
104
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
105
- if (majorVersionOf(parts.version) !== majorVersionOf("7.15.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.0");
105
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.15.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.2");
106
106
  switch (kind) {
107
107
  case "DocumentTree": return {
108
108
  kind,
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-lXpPw1nC.cjs";
1
+ import { C as ContentDocument } from "./content-CG0dBdiE.cjs";
2
2
  import { DocumentTree } from "./package.cjs";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
@@ -1,4 +1,4 @@
1
- import { C as ContentDocument } from "./content-BzGOsekw.js";
1
+ import { C as ContentDocument } from "./content-CYB2gqF8.js";
2
2
  import { DocumentTree } from "./package.js";
3
3
  //#region src/schema-io.d.ts
4
4
  type DocumentSchemaKind = "DocumentTree" | "ContentDocument";
package/dist/schema-io.js CHANGED
@@ -6,7 +6,7 @@ const SCHEMA_FILE_NAMES = {
6
6
  ContentDocument: "content-document.schema.json"
7
7
  };
8
8
  function schemaUriFor(kind) {
9
- return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.0/schemas/${SCHEMA_FILE_NAMES[kind]}`;
9
+ return `https://cdn.jsdelivr.net/npm/document-schema.js@7.15.2/schemas/${SCHEMA_FILE_NAMES[kind]}`;
10
10
  }
11
11
  const SCHEMA_URI_PATTERN = /^https:\/\/cdn\.jsdelivr\.net\/npm\/document-schema\.js@([^/]+)\/schemas\/(document-tree|document-package|content-document|layout-document)\.schema\.json$/;
12
12
  function parseSchemaUri(uri) {
@@ -101,7 +101,7 @@ function documentFromJson(value) {
101
101
  if (parts.stem === "document-package") throw new DocumentPackageRenamedError(value.$schema);
102
102
  const kind = kindForFileStem(parts.stem);
103
103
  if (kind === void 0) throw new UnrecognizedDocumentSchemaError(value.$schema);
104
- if (majorVersionOf(parts.version) !== majorVersionOf("7.15.0")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.0");
104
+ if (majorVersionOf(parts.version) !== majorVersionOf("7.15.2")) throw new SchemaVersionMismatchError(value.$schema, parts.version, "7.15.2");
105
105
  switch (kind) {
106
106
  case "DocumentTree": return {
107
107
  kind,
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
@@ -2,8 +2,8 @@ import { z } from "zod";
2
2
  //#region src/style.d.ts
3
3
  declare const AlignmentSchema: z.ZodEnum<{
4
4
  left: "left";
5
- center: "center";
6
5
  right: "right";
6
+ center: "center";
7
7
  justify: "justify";
8
8
  }>;
9
9
  type Alignment = z.infer<typeof AlignmentSchema>;
package/dist/style.d.cts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.cjs";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.cjs";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
package/dist/style.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-D06NwxAJ.js";
1
+ import { a as LayoutFontSchema, i as LayoutFont, n as AlignmentSchema, o as TextDirection, r as DEFAULT_LAYOUT_FONT, s as TextDirectionSchema, t as Alignment } from "./style-BGMcYrD2.js";
2
2
  export { Alignment, AlignmentSchema, DEFAULT_LAYOUT_FONT, LayoutFont, LayoutFontSchema, TextDirection, TextDirectionSchema };
@@ -1,5 +1,5 @@
1
- import { o as TextDirection } from "./style-D06NwxAJ.cjs";
2
- import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-lXpPw1nC.cjs";
1
+ import { o as TextDirection } from "./style-BGMcYrD2.cjs";
2
+ import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-CG0dBdiE.cjs";
3
3
  //#region src/table-grid.d.ts
4
4
  /** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
5
5
  declare function tableCellColumnSpan(cell: ContentTableCell): number;
@@ -1,5 +1,5 @@
1
- import { o as TextDirection } from "./style-D06NwxAJ.js";
2
- import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-BzGOsekw.js";
1
+ import { o as TextDirection } from "./style-BGMcYrD2.js";
2
+ import { hn as ContentTableCell, mn as ContentTable, yn as ContentTableRow } from "./content-CYB2gqF8.js";
3
3
  //#region src/table-grid.d.ts
4
4
  /** The number of grid columns a cell occupies; an absent `colSpan` means the cell occupies its own column only. */
5
5
  declare function tableCellColumnSpan(cell: ContentTableCell): number;
@@ -1,17 +1,17 @@
1
- import { n as Color } from "./color-AELCDH_b.cjs";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.cjs";
1
+ import { n as Color } from "./color-CS3HtBwD.cjs";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.cjs";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
6
6
  readonly thicknessPt: number;
7
7
  }
8
8
  interface TextMeasurer {
9
- widthOfTextAtSize(text: string, font: LayoutFont, sizePt: number): number;
10
- lineHeightAtSize(font: LayoutFont, sizePt: number): number;
11
- ascenderAtSize(font: LayoutFont, sizePt: number): number;
12
- descenderAtSize(font: LayoutFont, sizePt: number): number;
13
- underlineAtSize(font: LayoutFont, sizePt: number): UnderlineMetrics;
14
- horizontalScaleFor(font: LayoutFont): number;
9
+ widthOfTextAtSize(text: string, font: Readonly<LayoutFont>, sizePt: number): number;
10
+ lineHeightAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
11
+ ascenderAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
12
+ descenderAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
13
+ underlineAtSize(font: Readonly<LayoutFont>, sizePt: number): UnderlineMetrics;
14
+ horizontalScaleFor(font: Readonly<LayoutFont>): number;
15
15
  }
16
16
  interface StyledRun {
17
17
  readonly text: string;
@@ -1,17 +1,17 @@
1
- import { n as Color } from "./color-AELCDH_b.js";
2
- import { i as LayoutFont } from "./style-D06NwxAJ.js";
1
+ import { n as Color } from "./color-CS3HtBwD.js";
2
+ import { i as LayoutFont } from "./style-BGMcYrD2.js";
3
3
  //#region src/text-layout.d.ts
4
4
  interface UnderlineMetrics {
5
5
  readonly offsetPt: number;
6
6
  readonly thicknessPt: number;
7
7
  }
8
8
  interface TextMeasurer {
9
- widthOfTextAtSize(text: string, font: LayoutFont, sizePt: number): number;
10
- lineHeightAtSize(font: LayoutFont, sizePt: number): number;
11
- ascenderAtSize(font: LayoutFont, sizePt: number): number;
12
- descenderAtSize(font: LayoutFont, sizePt: number): number;
13
- underlineAtSize(font: LayoutFont, sizePt: number): UnderlineMetrics;
14
- horizontalScaleFor(font: LayoutFont): number;
9
+ widthOfTextAtSize(text: string, font: Readonly<LayoutFont>, sizePt: number): number;
10
+ lineHeightAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
11
+ ascenderAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
12
+ descenderAtSize(font: Readonly<LayoutFont>, sizePt: number): number;
13
+ underlineAtSize(font: Readonly<LayoutFont>, sizePt: number): UnderlineMetrics;
14
+ horizontalScaleFor(font: Readonly<LayoutFont>): number;
15
15
  }
16
16
  interface StyledRun {
17
17
  readonly text: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "document-content-model",
3
- "version": "7.15.0",
3
+ "version": "7.15.2",
4
4
  "description": "The canonical, format-agnostic content and document-tree schemas shared by ooxml.js, odf.js, documents.js, pdf-codec, and markdown-codec, plus the structural transform between them — no format-specific or I/O behaviour.",
5
5
  "type": "module",
6
6
  "repository": {