@docx-editor.dev/core 2.26.0 → 2.27.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.
Files changed (106) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.ts +14 -10
  3. package/dist/automation.js +1 -1
  4. package/dist/binding.cjs +1 -1
  5. package/dist/binding.d.ts +8 -8
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-2GK7YQB2.cjs +2 -0
  8. package/dist/chunk-4KZ6L5YF.cjs +15 -0
  9. package/dist/chunk-55AT3MOU.cjs +25 -0
  10. package/dist/chunk-6ZQMII6V.js +1 -0
  11. package/dist/chunk-7IGCWG4H.js +2 -0
  12. package/dist/chunk-7MYITTAH.js +5 -0
  13. package/dist/chunk-AVKVRU7Z.cjs +5 -0
  14. package/dist/{chunk-7RJSH72J.cjs → chunk-CWRBFNK5.cjs} +5 -5
  15. package/dist/chunk-DGPA3TST.cjs +27 -0
  16. package/dist/{chunk-6SEIXJTX.js → chunk-DNXVNQEO.js} +1 -1
  17. package/dist/chunk-FQN4KSFL.cjs +7 -0
  18. package/dist/{chunk-ELQFXMJ5.cjs → chunk-GVUOWHTO.cjs} +1 -1
  19. package/dist/chunk-GWQJ5774.js +5 -0
  20. package/dist/{chunk-5BIASAN3.js → chunk-HAQ72KD7.js} +1 -1
  21. package/dist/{chunk-TKR2MXX4.cjs → chunk-HO5XFO32.cjs} +1 -1
  22. package/dist/{chunk-LWCI65EL.js → chunk-IGR23DV2.js} +1 -1
  23. package/dist/{chunk-EEAV3WIN.js → chunk-JSIX2EOH.js} +1 -1
  24. package/dist/{chunk-CYT3OQFZ.cjs → chunk-K246T47S.cjs} +1 -1
  25. package/dist/chunk-KAXOGCGA.js +1 -0
  26. package/dist/{chunk-AGKIHLWQ.cjs → chunk-LZLTN5A3.cjs} +1 -1
  27. package/dist/chunk-NBCVVZOM.cjs +1 -0
  28. package/dist/{chunk-AJCCS53D.js → chunk-O5INAWZQ.js} +1 -1
  29. package/dist/{chunk-LZDI4P6I.cjs → chunk-OHAXVTWG.cjs} +1 -1
  30. package/dist/chunk-S74GRBNE.js +7 -0
  31. package/dist/chunk-UBLUVNZR.js +27 -0
  32. package/dist/chunk-UMRSBLO7.js +15 -0
  33. package/dist/chunk-VIPMGGUT.js +25 -0
  34. package/dist/chunk-WG4KMSX2.cjs +2 -0
  35. package/dist/chunk-WRLKVNNR.cjs +1 -0
  36. package/dist/chunk-ZU7IVN6G.js +2 -0
  37. package/dist/collaboration/replication.cjs +1 -1
  38. package/dist/collaboration/replication.d.ts +14 -5
  39. package/dist/collaboration/replication.js +1 -1
  40. package/dist/collaboration.d.ts +3 -3
  41. package/dist/contracts/document.d.ts +2 -2
  42. package/dist/contracts/editor.d.ts +8 -8
  43. package/dist/contracts/modules.cjs +1 -1
  44. package/dist/contracts/modules.d.ts +20 -31
  45. package/dist/contracts/modules.js +1 -1
  46. package/dist/contracts/types.d.ts +1 -1
  47. package/dist/{custom-node-writes-Cy9imOjA.d.ts → custom-node-writes-Vzpq9I8_.d.ts} +2 -2
  48. package/dist/{document-protection-Bp19Ad4I.d.ts → document-protection-9zpIHWTE.d.ts} +1 -1
  49. package/dist/{editor-DYUlyKmb.d.ts → editor-B3OBYNrF.d.ts} +29 -34
  50. package/dist/editor.cjs +1 -1
  51. package/dist/editor.css +2 -2
  52. package/dist/editor.d.ts +28 -27
  53. package/dist/editor.js +1 -1
  54. package/dist/export.cjs +2 -2
  55. package/dist/export.d.ts +26 -14
  56. package/dist/export.js +1 -1
  57. package/dist/{font-resolver-u_nE0PI1.d.ts → font-resolver-DN0xNOf_.d.ts} +1 -1
  58. package/dist/{headless-document-view-R9bzzepb.d.ts → headless-document-view-ICYqNkQ1.d.ts} +2 -2
  59. package/dist/{image-resources-DfagDguq.d.ts → image-resources-BDFxcu7W.d.ts} +1 -1
  60. package/dist/{index-Docw8Dcb.d.ts → index-CkQVRJtJ.d.ts} +53 -21
  61. package/dist/index.cjs +1 -1
  62. package/dist/index.d.ts +18 -17
  63. package/dist/index.js +1 -1
  64. package/dist/{layout-shaping-DWitwY73.d.ts → layout-shaping-BvZD_VKP.d.ts} +1 -1
  65. package/dist/layout.cjs +1 -1
  66. package/dist/layout.d.ts +32 -196
  67. package/dist/layout.js +1 -1
  68. package/dist/{note-properties-CmfvOJsi.d.ts → note-properties-CkAk7g-n.d.ts} +1 -1
  69. package/dist/{omml-equation-CZ6IG2ja.d.ts → omml-equation-DuczgG5o.d.ts} +1 -1
  70. package/dist/output.cjs +1 -1
  71. package/dist/output.d.ts +8 -7
  72. package/dist/output.js +1 -1
  73. package/dist/{protocol-DniKeDb8.d.ts → protocol-aKYr8r3u.d.ts} +6 -5
  74. package/dist/{review-paragraph-order-Dc8Q6tfM.d.ts → review-paragraph-order-Ddj5d6rp.d.ts} +1 -1
  75. package/dist/{revision-projection-DfWxdBqA.d.ts → revision-projection-CSNFudZY.d.ts} +74 -3
  76. package/dist/{semantic-cell-selection-Dy_BmmpL.d.ts → semantic-cell-selection-DoqYCz_F.d.ts} +4 -4
  77. package/dist/{semantic-interaction-CvFAj0GR.d.ts → semantic-interaction-G0bjmmmk.d.ts} +1 -1
  78. package/dist/{semantic-paint-Bk9wIXdZ.d.ts → semantic-paint-CsMzF8-O.d.ts} +57 -5
  79. package/dist/semantic-record-queries-1du6lQqS.d.ts +177 -0
  80. package/dist/{semantic-records-COqi8pjP.d.ts → semantic-records-B9OolWGN.d.ts} +15 -5
  81. package/dist/store.cjs +1 -1
  82. package/dist/store.d.ts +22 -17
  83. package/dist/store.js +1 -1
  84. package/dist/{tree-package-fragment-YPyYC1aD.d.ts → tree-package-fragment-DYZIk1rY.d.ts} +3 -3
  85. package/dist/{tree-session-contract-AeY2v0x9.d.ts → tree-session-contract-DQVJOOkv.d.ts} +5 -5
  86. package/dist/{types-barrel-BO73JqHG.d.ts → types-barrel-BFKR8Pzp.d.ts} +134 -110
  87. package/package.json +3 -3
  88. package/dist/chunk-2BK4G4ZN.js +0 -2
  89. package/dist/chunk-2SJX44PC.cjs +0 -2
  90. package/dist/chunk-73PG6L2X.js +0 -1
  91. package/dist/chunk-AN6WM4X4.js +0 -2
  92. package/dist/chunk-ANZ44KQT.cjs +0 -12
  93. package/dist/chunk-DDGGSBAN.js +0 -12
  94. package/dist/chunk-EYK4K2J6.js +0 -1
  95. package/dist/chunk-JNTETUNZ.cjs +0 -1
  96. package/dist/chunk-L6V3IJ3S.js +0 -5
  97. package/dist/chunk-NS22DVWT.cjs +0 -2
  98. package/dist/chunk-QIE3YTU4.cjs +0 -2
  99. package/dist/chunk-QVBFPAGO.js +0 -5
  100. package/dist/chunk-RCCOLZEQ.js +0 -2
  101. package/dist/chunk-SUN62YU6.cjs +0 -5
  102. package/dist/chunk-TKQH7BNE.cjs +0 -1
  103. package/dist/chunk-UJL2GDIM.cjs +0 -25
  104. package/dist/chunk-WQTADNHK.cjs +0 -27
  105. package/dist/chunk-XSHXBJ2J.js +0 -25
  106. package/dist/chunk-YXZEBTDF.js +0 -27
package/dist/layout.d.ts CHANGED
@@ -1,20 +1,22 @@
1
- import { n as NumberingLevel, o as NumberingIndex, S as SemanticLayout, p as LayoutBox, D as DrawingPoint, q as DrawingInsets, a as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, r as TableBorderSide, s as TableFloatXSpec, t as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, u as PageRecord, v as ResolvedListItem, w as RefFieldContext, T as TextMeasurer, x as InlineDrawingLayoutContext, y as CellBorderBox, z as TableCellStyleFormatting, E as TableFloatPosition, G as TableBorderBox, H as StyleCascadeTable, L as LineRecord, J as NoteAreaRecord, K as HeaderFooterStoryRecord, O as NoteStoryRecord, C as ContentControlBoundaryRecord$1, Q as ContentControlLock, h as FixedPointRoundingMode, U as FixedPoint, V as VersionedShapingLibrary, f as TextShaper, W as FontByteValidator, m as ShapedRun, X as SourceRange, Y as HyperlinkProjector, Z as FieldLinkProjector, _ as StoryPageFieldNeeds, $ as HyperlinkFieldSpec, a0 as SpanLinkRecord, b as SectionPageBorders, a1 as PageBorderFrameRecord, a2 as ParagraphBorderStrokeRecord, a3 as StrikeoutStrokePt } from './semantic-records-COqi8pjP.js';
2
- export { a4 as AUTO_PARAGRAPH_SPACING_PT, a5 as AbstractNumDefinition, a6 as AnchoredDrawingLayoutFallback, a7 as BidiEmbeddingLevels, a8 as BorderGridGeometry, a9 as CascadedParagraphFormatting, aa as CjkTypographySettings, ab as ContentControlGeometryFragment, ac as ContentControlLevel, ad as ContentControlMappedType, ae as DEFAULT_RUN_STYLE, af as DEFAULT_TAB_INTERVAL_PT, ag as DEFAULT_TAB_INTERVAL_TWIPS, ah as DeclaredFontSubstitution, ai as DrawingClipFallback, aj as DrawingGeometry, ak as DrawingGroupPictureRecord, al as EMPTY_NUMBERING_INDEX, am as EMPTY_TAB_STOPS, an as EquationFractionGeometry, ao as EquationGeometry, ap as EquationNaryGeometry, aq as EquationRadicalGeometry, ar as EquationRowGeometry, as as EquationScriptGeometry, at as EquationSpanRecord, au as EquationTextGeometry, av as FieldAtomMarker, aw as FontFingerprintInputs, i as FontRequest, ax as FontResolutionError, ay as FontResolutionErrorCode, az as FontResourceDefinition, aA as FontResourceInstrumentation, F as FontResourceSnapshot, aB as FontResourceSnapshotOptions, aC as FontSlot, l as FontSubstitution, aD as FontValidationResult, aE as GlyphOutline, aF as HARD_MAX_AGGREGATE_FONT_BYTES, aG as HARD_MAX_FONT_BYTES, aH as HARD_MAX_FONT_SOURCES, aI as LevelOverride, aJ as LineSpacingRule, aK as ListMarkerAlign, k as ListMarkerPictureRecord, aL as ListMarkerRecord, aM as ListSuffix, aN as MAX_BORDER_SPACE_PT, aO as MAX_BORDER_WIDTH_PT, aP as MAX_LVL_OVERRIDES, aQ as MAX_NUMBERING_DEFINITIONS, aR as MAX_PARAGRAPH_SPACING_PT, aS as MAX_SHAPING_CONTEXT, aT as MAX_STYLE_DEFINITIONS, aU as MAX_TABLE_BORDER_STROKES, aV as MAX_TAB_POSITION_TWIPS, aW as MAX_TAB_STOPS, N as NormalizationPolicy, aX as NumDefinition, aY as NumberingLevelIndent, aZ as NumberingPictureBullet, a_ as PAGE_BORDER_SIDES, a$ as PARAGRAPH_BORDER_SIDES, b0 as PageBorderDisplay, b1 as PageBorderOffsetFrom, b2 as PageBorderSide, b3 as PageBorderStrokeRecord, b4 as PageBorderZOrder, b5 as PageRefCalibrationCell, b6 as PageRefFieldProjection, b7 as ParagraphAutoSpacingContext, b8 as ParagraphBorderEdge, b9 as ParagraphBorderSide, ba as ParagraphBorders, bb as ParagraphBottomBorderRecord, bc as ParagraphIndent, bd as ParagraphLayoutInputs, be as ParagraphLineSpacing, bf as ParagraphSpacing, bg as RefFieldSpec, bh as RefNoteParts, bi as ResolvedCellBorders, g as ResolvedFont, bj as ResolvedPictureBullet, R as ResolvedRunStyle, bk as ResolvedTabStops, bl as ResolvedTableBorderEdge, bm as ResolvedTableBorderEdgeSegment, bn as ResolvedUnderline, bo as SINGLE_LINE_SPACING, bp as ScriptItem, bq as SemanticArtifactRootStoryKind, br as SemanticArtifactStoryKind, bs as SemanticCommentArtifactRecord, bt as SemanticReviewArtifactOccurrence, bu as SemanticReviewArtifactOccurrenceGeometry, bv as SemanticReviewArtifactPosition, j as SemanticReviewArtifactRecord, bw as SemanticReviewArtifactSource, bx as SemanticTrackedChangeArtifactRecord, by as ShapeInput, bz as ShapedCluster, bA as ShapedFontSpan, bB as ShapedGlyph, bC as ShapedRunComparatorInputs, bD as ShapedVerticalMetrics, bE as ShapingContext, bF as ShapingEnvironment, bG as ShapingEnvironmentFingerprintInputs, e as ShapingEnvironmentInput, bH as StyleDefinition, bI as TAB_LEADER_GLYPH, bJ as TabAlignment, bK as TabDestination, bL as TabLeader, bM as TabStop, bN as TableBorderSideName, bO as TableBorderStrokeRecord, d as TableCellFragmentRecord, bP as TableFragmentRecord, c as TableRowFragmentRecord, bQ as TextDirection, bR as TextboxStoryFallbackReason, bS as TextboxStoryLayout, bT as UnsupportedScriptError, bU as VerticalAlign, bV as appliedSpaceBefore, bW as applyLineSpacing, bX as baselineShiftPtOf, bY as borderExtentPt, bZ as borderWeight, b_ as bottomBorderExtentPt, b$ as boundedStructuralFontValidator, c0 as buildNumberingIndex, c1 as buildStyleCascadeTable, c2 as cascadeParagraphFormatting, c3 as cascadeRunProperties, c4 as cascadedBottomBorder, c5 as cascadedParagraphBorders, c6 as cascadedTabStops, c7 as collapsedSpaceBefore, c8 as createFontResourceSnapshot, c9 as createShapedRun, ca as createShapingEnvironment, cb as defaultTabIntervalFromSettings, cc as displayText, cd as fixedPoint, ce as fontRequestKey, cf as glyphSizeFactorOf, cg as isValidStyleId, ch as itemizeScriptFontSlots, ci as layoutEquation, cj as measureDisplayText, ck as mergeListIndent, cl as nextTabDestination, cm as pageBordersFingerprint, cn as paragraphBorderExtentPt, co as paragraphBorderStrokeWidthPt, cp as paragraphBorders, cq as paragraphBordersFingerprint, cr as paragraphBreaksBefore, cs as paragraphContextualSpacing, ct as paragraphLineSpacing, cu as paragraphSpacing, cv as paragraphTabStops, cw as parsePageBorders, cx as parseRefInstruction, cy as readBorderSide, cz as readCellBorders, cA as readNumPr, cB as readTableBorders, cC as resolveBorderConflict, cD as resolveNumberingLevel, cE as resolveParagraphLayoutInputs, cF as resolveRunStyle, cG as resolveStoryListItems, cH as resolveStoryRefFields, cI as resolveTableCellBorderGrid, cJ as runStylesEqual, cK as shapedRunComparatorInputs, cL as shapingEnvironmentFingerprint, cM as shapingEnvironmentFingerprintInputs, cN as styleForFontSlot, cO as tabAdvanceWidth, cP as tabStopsFingerprint, cQ as walkStoryParagraphs, cR as withDefaultTabInterval, cS as withNumberingStyleLinks, cT as withResolvedListItems } from './semantic-records-COqi8pjP.js';
3
- export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-DWitwY73.js';
4
- import { aC as ImpactClass, N as OoxmlNode, X as OoxmlProperty, Z as OoxmlElement, O as OoxmlPart, W as TreeDocOp, Q as OoxmlPackage, b6 as ContentControlKind, b7 as ContentControlLevel, b9 as ContentControlLock$1, b3 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-BO73JqHG.js';
5
- export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, aj as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, ak as DrawingVerticalReferenceFrame, aa as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a8 as SourceCrop, aG as TableBorderStyle, dx as VectorShapeComponent, aK as VectorShapeProjection, cp as W15_NAMESPACE_URI, dy as activeReviewItem, cT as firstReviewRange, dn as reviewItemKey, dz as reviewItemPositionRank, dp as reviewItemRanges, dA as reviewItemsAt, dB as reviewThreadRootOf } from './types-barrel-BO73JqHG.js';
6
- import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-R9bzzepb.js';
7
- import { c as RevisionAttribution, a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-DfWxdBqA.js';
8
- export { D as DEFAULT_REVISION_DISPLAY_MODE, d as RevisionFilter, e as RevisionKind, f as formatRevisionOf, m as markRevisionRemovesMark, p as paragraphMarkFormatRevisionOf, g as paragraphMarkRevisionOf, h as paragraphMarkRevisionsOf, r as revisionAuthorFilter, i as revisionsAreDeletion, j as revisionsVisible, s as shownMarkRevision } from './revision-projection-DfWxdBqA.js';
9
- import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-CmfvOJsi.js';
10
- import { b as TreeModelChange, N as NoteKind, az as noteTypeOf } from './tree-package-fragment-YPyYC1aD.js';
11
- import { P as PageGeometry, a as SectionColumns } from './semantic-cell-selection-Dy_BmmpL.js';
12
- export { C as CellSelection, D as DEFAULT_PAGE_GEOMETRY, b as DEFAULT_SECTION_PROPERTIES, c as DEFAULT_VERTICAL_WEIGHT, d as DocumentSection, e as DocumentSectionsEnumeration, f as DrawingOverlayFrame, H as HitPoint, g as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, h as PlacedCell, i as SectionBreakType, j as SectionColumnDefinition, k as SectionMargins, l as SectionPageNumbering, S as SectionProperties, m as SemanticHit, n as SemanticHitDrawing, T as TableCellAddress, o as TableCellContext, p as caretBoxOnLine, q as cellSelectionBetween, r as cellSelectionRects, s as cellSelectionText, t as contentControlAtPoint, u as enumerateDocumentSections, v as enumerateDocumentSectionsBounded, w as findDrawingOverlayFrameInLayout, x as geometryOfSection, y as hitTestPage, z as hitTestSheet, A as isFurniturePoint, B as lineEndOffset, E as pageAtY, F as paragraphSectionNode, G as paragraphsInCells, I as parsePageNumbering, J as parseSectionProperties, K as projectedSectionSourceIndexes, L as readSectionProperties, N as spanOffsetX, O as spansInCells, Q as tableContextAt } from './semantic-cell-selection-Dy_BmmpL.js';
13
- export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-Dc8Q6tfM.js';
14
- import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-CvFAj0GR.js';
15
- export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as deletedTextBoundaries, k as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-CvFAj0GR.js';
16
- import './image-resources-DfagDguq.js';
17
- import './omml-equation-CZ6IG2ja.js';
1
+ import { s as NumberingLevel, t as NumberingIndex, S as SemanticLayout, b as LayoutBox, D as DrawingPoint, u as DrawingInsets, e as StyleSpanRecord, I as InlineDrawingRecord, M as ModelRange, v as TableBorderSide, w as TableFloatXSpec, x as TableFloatYSpec, P as ParagraphFragmentRecord, B as BlockFragmentRecord, A as AnchoredDrawingRecord, a as PageRecord, y as ResolvedListItem, z as RefFieldContext, T as TextMeasurer, E as InlineDrawingLayoutContext, G as CellBorderBox, J as TableCellStyleFormatting, K as TableFloatPosition, O as TableBorderBox, Q as StyleCascadeTable, m as FixedPointRoundingMode, U as FixedPoint, V as VersionedShapingLibrary, j as TextShaper, W as FontByteValidator, r as ShapedRun, L as LineRecord, X as SourceRange, Y as HyperlinkProjector, Z as FieldLinkProjector, _ as StoryPageFieldNeeds, $ as HyperlinkFieldSpec, a0 as SpanLinkRecord, f as SectionPageBorders, C as ContentControlBoundaryRecord$1, a1 as PageBorderFrameRecord, a2 as ParagraphBorderStrokeRecord, a3 as StrikeoutStrokePt } from './semantic-records-B9OolWGN.js';
2
+ export { a4 as AUTO_PARAGRAPH_SPACING_PT, a5 as AbstractNumDefinition, a6 as AnchoredDrawingLayoutFallback, a7 as BidiEmbeddingLevels, a8 as BorderGridGeometry, a9 as CascadedParagraphFormatting, aa as CjkTypographySettings, ab as ContentControlGeometryFragment, ac as ContentControlLevel, d as ContentControlLock, ad as ContentControlMappedType, ae as DEFAULT_RUN_STYLE, af as DEFAULT_TAB_INTERVAL_PT, ag as DEFAULT_TAB_INTERVAL_TWIPS, ah as DeclaredFontSubstitution, ai as DrawingClipFallback, aj as DrawingGeometry, ak as DrawingGroupPictureRecord, al as EMPTY_NUMBERING_INDEX, am as EMPTY_TAB_STOPS, an as EquationFractionGeometry, ao as EquationGeometry, ap as EquationNaryGeometry, aq as EquationRadicalGeometry, ar as EquationRowGeometry, as as EquationScriptGeometry, at as EquationSpanRecord, au as EquationTextGeometry, av as FieldAtomMarker, aw as FontFingerprintInputs, n as FontRequest, ax as FontResolutionError, ay as FontResolutionErrorCode, az as FontResourceDefinition, aA as FontResourceInstrumentation, F as FontResourceSnapshot, aB as FontResourceSnapshotOptions, aC as FontSlot, q as FontSubstitution, aD as FontValidationResult, aE as GlyphOutline, aF as HARD_MAX_AGGREGATE_FONT_BYTES, aG as HARD_MAX_FONT_BYTES, aH as HARD_MAX_FONT_SOURCES, H as HeaderFooterStoryRecord, aI as LevelOverride, aJ as LineSpacingRule, aK as ListMarkerAlign, p as ListMarkerPictureRecord, aL as ListMarkerRecord, aM as ListSuffix, aN as MAX_BORDER_SPACE_PT, aO as MAX_BORDER_WIDTH_PT, aP as MAX_LVL_OVERRIDES, aQ as MAX_NUMBERING_DEFINITIONS, aR as MAX_PARAGRAPH_SPACING_PT, aS as MAX_SHAPING_CONTEXT, aT as MAX_STYLE_DEFINITIONS, aU as MAX_TABLE_BORDER_STROKES, aV as MAX_TAB_POSITION_TWIPS, aW as MAX_TAB_STOPS, l as NormalizationPolicy, N as NoteAreaRecord, c as NoteStoryRecord, aX as NumDefinition, aY as NumberingLevelIndent, aZ as NumberingPictureBullet, a_ as PAGE_BORDER_SIDES, a$ as PARAGRAPH_BORDER_SIDES, b0 as PageBorderDisplay, b1 as PageBorderOffsetFrom, b2 as PageBorderSide, b3 as PageBorderStrokeRecord, b4 as PageBorderZOrder, b5 as PageRefCalibrationCell, b6 as PageRefFieldProjection, b7 as ParagraphAutoSpacingContext, b8 as ParagraphBorderEdge, b9 as ParagraphBorderSide, ba as ParagraphBorders, bb as ParagraphBottomBorderRecord, bc as ParagraphIndent, bd as ParagraphLayoutInputs, be as ParagraphLineSpacing, bf as ParagraphSpacing, bg as RefFieldSpec, bh as RefNoteParts, bi as ResolvedCellBorders, k as ResolvedFont, bj as ResolvedPictureBullet, R as ResolvedRunStyle, bk as ResolvedTabStops, bl as ResolvedTableBorderEdge, bm as ResolvedTableBorderEdgeSegment, bn as ResolvedUnderline, bo as SINGLE_LINE_SPACING, bp as ScriptItem, bq as SemanticArtifactRootStoryKind, br as SemanticArtifactStoryKind, bs as SemanticCommentArtifactRecord, bt as SemanticReviewArtifactOccurrence, bu as SemanticReviewArtifactOccurrenceGeometry, bv as SemanticReviewArtifactPosition, o as SemanticReviewArtifactRecord, bw as SemanticReviewArtifactSource, bx as SemanticTrackedChangeArtifactRecord, by as ShapeInput, bz as ShapedCluster, bA as ShapedFontSpan, bB as ShapedGlyph, bC as ShapedRunComparatorInputs, bD as ShapedVerticalMetrics, bE as ShapingContext, bF as ShapingEnvironment, bG as ShapingEnvironmentFingerprintInputs, i as ShapingEnvironmentInput, bH as StyleDefinition, bI as TAB_LEADER_GLYPH, bJ as TabAlignment, bK as TabDestination, bL as TabLeader, bM as TabStop, bN as TableBorderSideName, bO as TableBorderStrokeRecord, h as TableCellFragmentRecord, bP as TableFragmentRecord, g as TableRowFragmentRecord, bQ as TextDirection, bR as TextboxStoryFallbackReason, bS as TextboxStoryLayout, bT as UnsupportedScriptError, bU as VerticalAlign, bV as appliedSpaceBefore, bW as applyLineSpacing, bX as baselineShiftPtOf, bY as borderExtentPt, bZ as borderWeight, b_ as bottomBorderExtentPt, b$ as boundedStructuralFontValidator, c0 as buildNumberingIndex, c1 as buildStyleCascadeTable, c2 as cascadeParagraphFormatting, c3 as cascadeRunProperties, c4 as cascadedBottomBorder, c5 as cascadedParagraphBorders, c6 as cascadedTabStops, c7 as collapsedSpaceBefore, c8 as createFontResourceSnapshot, c9 as createShapedRun, ca as createShapingEnvironment, cb as defaultTabIntervalFromSettings, cc as displayText, cd as fixedPoint, ce as fontRequestKey, cf as glyphSizeFactorOf, cg as isValidStyleId, ch as itemizeScriptFontSlots, ci as layoutEquation, cj as measureDisplayText, ck as mergeListIndent, cl as nextTabDestination, cm as pageBordersFingerprint, cn as paragraphBorderExtentPt, co as paragraphBorderStrokeWidthPt, cp as paragraphBorders, cq as paragraphBordersFingerprint, cr as paragraphBreaksBefore, cs as paragraphContextualSpacing, ct as paragraphLineSpacing, cu as paragraphSpacing, cv as paragraphTabStops, cw as parsePageBorders, cx as parseRefInstruction, cy as readBorderSide, cz as readCellBorders, cA as readNumPr, cB as readTableBorders, cC as resolveBorderConflict, cD as resolveNumberingLevel, cE as resolveParagraphLayoutInputs, cF as resolveRunStyle, cG as resolveStoryListItems, cH as resolveStoryRefFields, cI as resolveTableCellBorderGrid, cJ as runStylesEqual, cK as shapedRunComparatorInputs, cL as shapingEnvironmentFingerprint, cM as shapingEnvironmentFingerprintInputs, cN as styleForFontSlot, cO as tabAdvanceWidth, cP as tabStopsFingerprint, cQ as walkStoryParagraphs, cR as withDefaultTabInterval, cS as withNumberingStyleLinks, cT as withResolvedListItems } from './semantic-records-B9OolWGN.js';
3
+ export { C as CacheLookup, b as CacheMiss, c as CacheProvenance, e as LayoutEnvironmentShapedMeasurerOptions, f as LayoutFontConfiguration, g as LayoutFontSource, h as LayoutFontSubstitution, i as LayoutShapingConfigurationError, j as LayoutShapingEnvironment, L as LayoutShapingInstrumentation, a as LayoutShapingOptions, O as OperationSnapshot, k as OperationSnapshotField, l as OperationSnapshotGuard, P as PreparedLayoutFontConfiguration, R as ResolvedCache, m as ResourceDependencyProvenance, S as ShapedMeasurerOptions, n as captureOperationSnapshot, o as createLayoutShapedMeasurer, p as createLayoutShaping, q as createShapedMeasurer, d as disposeLayoutShaping, r as guardOperationSnapshot, s as layoutFontConfigurationFingerprint, t as prepareLayoutFontConfiguration } from './layout-shaping-BvZD_VKP.js';
4
+ import { a as SemanticStoryKind, S as SemanticRootStoryKind, b as SemanticStoryVisit, T as TextboxOwnerRecord } from './semantic-record-queries-1du6lQqS.js';
5
+ export { c as SemanticDrawingLayer, d as SemanticDrawingVisit, e as StoryDrawingContext, f as StoryDrawingHost, g as StoryParagraphFragmentContext, h as contentControlsOfLayout, i as effectiveContentControlLock, j as forEachSemanticDrawing, k as forEachSemanticStory, l as forEachStoryParagraphFragment, m as fragmentsOfParagraph, n as lineAtPosition, o as linesOf, p as paragraphFragmentsOf, q as paragraphFragmentsOfBlocks, u as unionLayoutBoxes } from './semantic-record-queries-1du6lQqS.js';
6
+ import { aC as ImpactClass, N as OoxmlNode, X as OoxmlProperty, Z as OoxmlElement, O as OoxmlPart, W as TreeDocOp, Q as OoxmlPackage, b6 as ContentControlKind, b7 as ContentControlLevel, b9 as ContentControlLock, b3 as ContentControlDataBinding, a as ReviewItem } from './types-barrel-BFKR8Pzp.js';
7
+ export { a_ as CommentAnchor, a$ as CommentPosition, C as CommentRecord, aV as CommentThreadState, aH as DrawingAccessibility, aj as DrawingHorizontalReferenceFrame, aI as DrawingImageEffects, aJ as DrawingTransform, ak as DrawingVerticalReferenceFrame, aa as ImageWrapTarget, c as ReviewCommentItem, d as ReviewCustomItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, a8 as SourceCrop, aG as TableBorderStyle, dx as VectorShapeComponent, aK as VectorShapeProjection, cp as W15_NAMESPACE_URI, dy as activeReviewItem, cT as firstReviewRange, dn as reviewItemKey, dz as reviewItemPositionRank, dp as reviewItemRanges, dA as reviewItemsAt, dB as reviewThreadRootOf } from './types-barrel-BFKR8Pzp.js';
8
+ import { D as DocumentProperties, H as HeadlessDocumentView, r as relationshipTargetIn } from './headless-document-view-ICYqNkQ1.js';
9
+ import { o as RevisionAttribution, b as RevisionDisplayMode, c as RevisionAuthorFilter } from './revision-projection-CSNFudZY.js';
10
+ export { p as DEFAULT_REVISION_DISPLAY_MODE, q as RevisionFilter, s as RevisionKind, t as formatRevisionOf, u as markRevisionRemovesMark, v as paragraphMarkFormatRevisionOf, w as paragraphMarkRevisionOf, x as paragraphMarkRevisionsOf, y as revisionAuthorFilter, z as revisionsAreDeletion, A as revisionsVisible, B as shownMarkRevision } from './revision-projection-CSNFudZY.js';
11
+ import { b as ResolvedFootnoteProperties, R as ResolvedEndnoteProperties } from './note-properties-CkAk7g-n.js';
12
+ import { e as TreeModelChange, N as NoteKind, az as noteTypeOf } from './tree-package-fragment-DYZIk1rY.js';
13
+ import { P as PageGeometry, a as SectionColumns } from './semantic-cell-selection-DoqYCz_F.js';
14
+ export { C as CellSelection, D as DEFAULT_PAGE_GEOMETRY, b as DEFAULT_SECTION_PROPERTIES, c as DEFAULT_VERTICAL_WEIGHT, d as DocumentSection, e as DocumentSectionsEnumeration, f as DrawingOverlayFrame, H as HitPoint, g as HitTestOptions, M as MAX_DOCUMENT_SECTIONS, h as PlacedCell, i as SectionBreakType, j as SectionColumnDefinition, k as SectionMargins, l as SectionPageNumbering, S as SectionProperties, m as SemanticHit, n as SemanticHitDrawing, T as TableCellAddress, o as TableCellContext, p as caretBoxOnLine, q as cellSelectionBetween, r as cellSelectionRects, s as cellSelectionText, t as contentControlAtPoint, u as enumerateDocumentSections, v as enumerateDocumentSectionsBounded, w as findDrawingOverlayFrameInLayout, x as geometryOfSection, y as hitTestPage, z as hitTestSheet, A as isFurniturePoint, B as lineEndOffset, E as pageAtY, F as paragraphSectionNode, G as paragraphsInCells, I as parsePageNumbering, J as parseSectionProperties, K as projectedSectionSourceIndexes, L as readSectionProperties, N as spanOffsetX, O as spansInCells, Q as tableContextAt } from './semantic-cell-selection-DoqYCz_F.js';
15
+ export { M as MAX_SDT_NESTING, c as collectFlowBlocks, a as commentBodyText, b as commentInitials, j as contentControlContentChildren, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart } from './review-paragraph-order-Ddj5d6rp.js';
16
+ import { S as SemanticPosition, b as SelectionRect, a as SemanticSelection } from './semantic-interaction-G0bjmmmk.js';
17
+ export { c as CaretAtOptions, C as CaretGeometry, M as MoveCaretOptions, N as NavigationCommand, d as caretAt, e as caretStops, f as caretStopsForBlocks, g as compositionAnchor, h as contentControlAtSemantic, i as contentControlsInLayout, j as deletedTextBoundaries, k as hitTestSemantic, m as moveCaret, p as paragraphTextFromLayout, s as spansInSelection } from './semantic-interaction-G0bjmmmk.js';
18
+ import './image-resources-BDFxcu7W.js';
19
+ import './omml-equation-DuczgG5o.js';
18
20
  import './editor-scope-OHPwVQ5l.js';
19
21
 
20
22
  /**
@@ -169,8 +171,8 @@ interface PendingPositionedTableTokens {
169
171
  /**
170
172
  * What the BODY flow knows about page numbering while it MEASURES a page-field placeholder.
171
173
  *
172
- * Carried instead of a bare boolean because the placeholder and the value it is replaced by
173
- * have to agree about whether the picture applies at all, and only the section knows that.
174
+ * The section's `w:pgNumType/@w:fmt` binds a PAGE field with no `\#` picture and no `\*`
175
+ * number format. A field that states either renders through it on every section.
174
176
  */
175
177
  interface BodyPageFieldContext {
176
178
  /** The section's `w:pgNumType/@w:fmt`; absent when the section authors none. */
@@ -430,6 +432,11 @@ type DrawingPaintLayer = 'behind' | 'inFront';
430
432
  interface ExclusionZone {
431
433
  /** Objects outside body drawing flow publish their exclusion directly instead of synthesizing it. */
432
434
  readonly sourceKind?: 'table' | 'frame' | 'furniture';
435
+ /**
436
+ * Placed by an earlier section on the sheet a `continuous` section continues on. Its anchor
437
+ * is not in the continued section, so the zone reaches every line and column there.
438
+ */
439
+ readonly earlierSection?: boolean;
433
440
  readonly drawingNodeId: string;
434
441
  readonly anchorParagraphId: string;
435
442
  /** UTF-16 model offset of the anchor atom — exclusions apply at/after this point in the paragraph. */
@@ -982,6 +989,8 @@ type TableAlignment = 'left' | 'center' | 'right';
982
989
  * and would otherwise be a loop bound an attacker controls.
983
990
  */
984
991
  interface SemanticTableCell {
992
+ readonly revisionShading?: 'inserted' | 'deleted' | 'merged' | 'split';
993
+ readonly revisionShadingAuthor?: string;
985
994
  readonly id: string;
986
995
  /** Derived content-edge geometry for a verified legacy percentage-width parent table. */
987
996
  readonly legacyContentAlignment?: true;
@@ -1134,179 +1143,6 @@ displayMode?: RevisionDisplayMode, authorFilter?: RevisionAuthorFilter, compatib
1134
1143
  /** Widens autofit columns to their content minimums; layout passes its measurer. */
1135
1144
  autofit?: TableAutofitContext): SemanticTableStructure | null;
1136
1145
 
1137
- /**
1138
- * Depth-first paragraph fragments of one page, in reading order.
1139
- *
1140
- * Table interiors flatten through rows and cells; header-repeat rows are skipped unless
1141
- * asked for, so interaction sees each caret stop exactly once while paint sees everything.
1142
- */
1143
- declare function paragraphFragmentsOf(page: PageRecord, includeHeaderRepeats?: boolean): ParagraphFragmentRecord[];
1144
- declare function paragraphFragmentsOfBlocks(blocks: readonly BlockFragmentRecord[], includeHeaderRepeats?: boolean): ParagraphFragmentRecord[];
1145
- /** Every line in a layout, in reading order — the order caret navigation walks. */
1146
- declare function linesOf(layout: SemanticLayout): LineRecord[];
1147
- /** The fragment-plus-anchored-drawings shape every laid-out story shares. */
1148
- interface StoryDrawingHost {
1149
- /** Root story fragments in their published reading order. */
1150
- readonly fragments: readonly BlockFragmentRecord[];
1151
- /** Story-level positioned drawings, when that story supports anchors. */
1152
- readonly anchoredDrawings?: readonly AnchoredDrawingRecord[];
1153
- }
1154
- /** Root story kinds published directly from one page record. @public */
1155
- type SemanticRootStoryKind = 'body' | 'header' | 'footer' | 'footnote' | 'endnote' | 'note-separator';
1156
- /** Story containing a visited semantic record. @public */
1157
- type SemanticStoryKind = SemanticRootStoryKind | 'textbox';
1158
- /**
1159
- * One root story in the engine's complete published page/story order.
1160
- *
1161
- * The story discriminant preserves the precise published host type so exporters can consume
1162
- * furniture and note metadata without casting or searching the page graph a second time.
1163
- * @public
1164
- */
1165
- type SemanticStoryVisit = {
1166
- readonly page: PageRecord;
1167
- readonly story: 'body';
1168
- readonly host: PageRecord;
1169
- /** Absolute story bounds; body records are relative to the page content box. */
1170
- readonly box: LayoutBox;
1171
- /** Absolute origin to add to story-relative fragment and drawing coordinates. */
1172
- readonly origin: Readonly<{
1173
- x: number;
1174
- y: number;
1175
- }>;
1176
- readonly noteScopeId: null;
1177
- readonly noteAreaKind: null;
1178
- } | {
1179
- readonly page: PageRecord;
1180
- readonly story: 'header' | 'footer';
1181
- readonly host: HeaderFooterStoryRecord;
1182
- readonly box: LayoutBox;
1183
- readonly origin: Readonly<{
1184
- x: number;
1185
- y: number;
1186
- }>;
1187
- readonly noteScopeId: null;
1188
- readonly noteAreaKind: null;
1189
- } | {
1190
- readonly page: PageRecord;
1191
- readonly story: 'footnote' | 'endnote';
1192
- readonly host: NoteStoryRecord;
1193
- readonly box: LayoutBox;
1194
- readonly origin: Readonly<{
1195
- x: number;
1196
- y: number;
1197
- }>;
1198
- readonly noteScopeId: string;
1199
- readonly noteAreaKind: NoteAreaRecord['kind'];
1200
- } | {
1201
- readonly page: PageRecord;
1202
- readonly story: 'note-separator';
1203
- readonly host: NonNullable<NoteAreaRecord['separator']>;
1204
- readonly box: LayoutBox;
1205
- readonly origin: Readonly<{
1206
- x: number;
1207
- y: number;
1208
- }>;
1209
- readonly noteScopeId: null;
1210
- readonly noteAreaKind: NoteAreaRecord['kind'];
1211
- };
1212
- /** Visit every root story in a semantic layout, preserving page/story order. @public */
1213
- declare function forEachSemanticStory(layout: SemanticLayout, visit: (story: SemanticStoryVisit) => void): void;
1214
- /** Location of one paragraph fragment within a recursively painted story graph. @public */
1215
- interface StoryParagraphFragmentContext {
1216
- /** Absolute origin of the immediate story containing this record. */
1217
- readonly storyOrigin: Readonly<{
1218
- x: number;
1219
- y: number;
1220
- }>;
1221
- /** Zero for the supplied story; increments for every textbox boundary. */
1222
- readonly textboxDepth: number;
1223
- /** Drawing whose textbox directly owns this fragment, or null for the root story. */
1224
- readonly textboxOwner: TextboxOwnerRecord | null;
1225
- /** Root-to-leaf owning drawings, empty for the supplied story. */
1226
- readonly textboxPath: readonly TextboxOwnerRecord[];
1227
- }
1228
- /** A drawing that owns a text-box story: anchored, or inline on a line. @public */
1229
- type TextboxOwnerRecord = InlineDrawingRecord | AnchoredDrawingRecord;
1230
- /** Location of one drawing within a recursively painted story graph. @public */
1231
- interface StoryDrawingContext extends StoryParagraphFragmentContext {
1232
- /** Enclosing paragraph for an inline drawing; null for a story-level anchor. */
1233
- readonly paragraph: ParagraphFragmentRecord | null;
1234
- /** Enclosing line for an inline drawing; null for a story-level anchor. */
1235
- readonly line: LineRecord | null;
1236
- }
1237
- type RootDrawingOrigin = (drawing: AnchoredDrawingRecord) => Readonly<{
1238
- x: number;
1239
- y: number;
1240
- }>;
1241
- /** Drawing layer relative to its owning story's text. @public */
1242
- type SemanticDrawingLayer = 'behind-text' | 'inline' | 'in-front-of-text';
1243
- /**
1244
- * One drawing in bounded graph-enumeration order with exporter-grade provenance.
1245
- *
1246
- * Enumeration is deliberately not paint order: story anchors (and nested textboxes) are visited
1247
- * before inline line drawings. Renderers use `paintLayer` plus record geometry to compose layers.
1248
- * @public
1249
- */
1250
- interface SemanticDrawingVisit extends StoryDrawingContext {
1251
- /** Physical page carrying this drawing occurrence. */
1252
- readonly page: PageRecord;
1253
- /** Immediate story classification; `textbox` after textbox descent. */
1254
- readonly story: SemanticStoryKind;
1255
- /** Root story from which textbox descent began. */
1256
- readonly rootStory: SemanticRootStoryKind;
1257
- /** Note scope for drawings in note stories; null elsewhere. */
1258
- readonly noteScopeId: string | null;
1259
- /** Owning note-area kind for note/separator drawings; null elsewhere. */
1260
- readonly noteAreaKind: NoteAreaRecord['kind'] | null;
1261
- /** Precise root host and absolute origin for story-relative geometry. */
1262
- readonly root: SemanticStoryVisit;
1263
- /** Absolute origin of this drawing's extent in page-stack coordinates. */
1264
- readonly drawingOrigin: Readonly<{
1265
- x: number;
1266
- y: number;
1267
- }>;
1268
- /** Absolute painted bounds, including effects and clipping. */
1269
- readonly absolutePaintBounds: LayoutBox;
1270
- /** Absolute pointer/hit bounds. */
1271
- readonly absoluteHitBounds: LayoutBox;
1272
- /** Layer relative to text in the immediate owning story. */
1273
- readonly paintLayer: SemanticDrawingLayer;
1274
- /** Published drawing record; inline visits also carry paragraph and line. */
1275
- readonly drawing: InlineDrawingRecord | AnchoredDrawingRecord;
1276
- }
1277
- /** Visit every drawing through the canonical root-story and recursive textbox walks. @public */
1278
- declare function forEachSemanticDrawing(layout: SemanticLayout, visit: (drawing: SemanticDrawingVisit) => void): void;
1279
- /**
1280
- * Visit every paragraph fragment one story paints — its own (table interiors flattened,
1281
- * header repeats included) and the fragments inside each anchored drawing's text-box story,
1282
- * recursively.
1283
- *
1284
- * The fragment sibling of {@link forEachStoryDrawing}, sharing its depth bound, for
1285
- * consumers that read per-paragraph published fields (list markers) rather than drawings.
1286
- * The furniture list-marker token walks with this; a fragment it misses leaves a reused
1287
- * page showing a stale marker.
1288
- */
1289
- declare function forEachStoryParagraphFragment(story: StoryDrawingHost, visit: (fragment: ParagraphFragmentRecord, context: StoryParagraphFragmentContext) => void, rootOrigin?: Readonly<{
1290
- x: number;
1291
- y: number;
1292
- }>, rootDrawingOrigin?: RootDrawingOrigin): void;
1293
- /** Every fragment belonging to one paragraph, in order, across page boundaries. */
1294
- declare function fragmentsOfParagraph(layout: SemanticLayout, paragraphId: string): ParagraphFragmentRecord[];
1295
- /** The line containing a model position, or null when the position is not laid out. */
1296
- declare function lineAtPosition(layout: SemanticLayout, paragraphId: string, offset: number,
1297
- /** Lines to test, when the caller already knows which ones can carry the paragraph. */
1298
- candidates?: Iterable<LineRecord>): LineRecord | null;
1299
- /** Every content-control boundary on a layout, preferring the layout-level list. */
1300
- declare function contentControlsOfLayout(layout: SemanticLayout): readonly ContentControlBoundaryRecord$1[];
1301
- /**
1302
- * Axis-aligned union of boxes, or null when the list is empty.
1303
- *
1304
- * Used when a control's content spans several fragments or spans on one page.
1305
- */
1306
- declare function unionLayoutBoxes(boxes: readonly LayoutBox[]): LayoutBox | null;
1307
- /** Collapse raw + ancestor locks into one `ST_Lock` vocabulary value. */
1308
- declare function effectiveContentControlLock(locks: readonly ContentControlLock[]): ContentControlLock;
1309
-
1310
1146
  /** Paragraph ids in document order, deduplicated across fragments. */
1311
1147
  declare function documentOrder(layout: SemanticLayout): string[];
1312
1148
  /**
@@ -3025,9 +2861,9 @@ interface ContentControlBoundaryRecord {
3025
2861
  readonly level: ContentControlLevel;
3026
2862
  /** 0 for a top-level control; the nesting depth otherwise. */
3027
2863
  readonly depth: number;
3028
- readonly lock: ContentControlLock$1;
2864
+ readonly lock: ContentControlLock;
3029
2865
  /** The lock in force here, including every lock an enclosing control imposes. */
3030
- readonly effectiveLock: ContentControlLock$1;
2866
+ readonly effectiveLock: ContentControlLock;
3031
2867
  readonly showingPlaceholder: boolean;
3032
2868
  readonly temporary: boolean;
3033
2869
  readonly tag?: string;
@@ -3219,5 +3055,5 @@ declare function tabLeaderPattern(startPt: number, widthPt: number, advancePt: n
3219
3055
  */
3220
3056
  declare function noteSeparatorRuleBox(span: StyleSpanRecord, line: LineRecord, stroke?: StrikeoutStrokePt): LayoutBox;
3221
3057
 
3222
- export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, ContentControlLock, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HeaderFooterStoryRecord, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NoteAreaRecord, NoteStoryRecord, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticSelection, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, contentControlsOfLayout, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, effectiveContentControlLock, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticDrawing, forEachSemanticSpan, forEachSemanticStory, forEachStoryParagraphFragment, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, fragmentsOfParagraph, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineAtPosition, lineSegments, linesOf, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphFragmentsOf, paragraphFragmentsOfBlocks, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, unionLayoutBoxes, utf16OffsetToGrapheme, vectorShapeInkClip, wordBoundary, wordSegmentsToGraphemeRecords };
3223
- export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticDrawingLayer, SemanticDrawingVisit, SemanticLayoutOptions, SemanticRootStoryKind, SemanticSpanVisit, SemanticStoryKind, SemanticStoryVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryDrawingContext, StoryDrawingHost, StoryParagraphFragmentContext, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, TextboxOwnerRecord, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
3058
+ export { AUTO_PREFERRED_WIDTH, AnchoredDrawingRecord, BlockFragmentRecord, CELL_PAD, COMPOUND_BORDER_MIN_GAP_PT, COMPOUND_BORDER_MIN_STROKE_PT, CellBorderBox, ContentControlBoundaryRecord$1 as ContentControlBoundaryRecord, DEFAULT_CANVAS_FONT_STACK, DEFAULT_CELL_MARGINS, DrawingInsets, DrawingPoint, FieldLinkProjector, FixedPoint, FixedPointRoundingMode, FontByteValidator, GRAPHEME_SEGMENTER_LOCALE, HARFBUZZ_SHAPING_LIBRARY, HarfBuzzShapingError, HyperlinkFieldSpec, HyperlinkProjector, InlineDrawingRecord, LayoutBox, LineRecord, MAX_EACH_PAGE_MARK_CANDIDATES, MAX_LVL_TEXT_LENGTH, MAX_MARKER_TEXT_LENGTH, MAX_NOTES_LAID_OUT, MAX_NOTE_FRAGMENTS, MAX_NOTE_OVERFLOW_PAGES, MAX_NOTE_REFLOW_ATTEMPTS, MAX_STYLE_BASED_ON_DEPTH, MAX_TABLE_COLUMNS, MAX_TABLE_NESTING, MAX_TABLE_ROW_FRAGMENTS, MAX_TABLE_ROW_HEIGHT_PT, NumberingIndex, NumberingLevel, PageBorderFrameRecord, PageGeometry, PageRecord, ParagraphBorderStrokeRecord, ParagraphFragmentRecord, RefFieldContext, ResolvedListItem, ReviewItem, RevisionAttribution, RevisionAuthorFilter, RevisionDisplayMode, SectionColumns, SectionPageBorders, SelectionRect, SemanticLayout, SemanticPosition, SemanticRootStoryKind, SemanticSelection, SemanticStoryKind, SemanticStoryVisit, ShapedRun, SourceRange, SpanLinkRecord, StrikeoutStrokePt, StyleCascadeTable, StyleSpanRecord, TableBorderBox, TableBorderSide, TableCellStyleFormatting, TablePaginationError, TextMeasurer, TextShaper, TextboxOwnerRecord, VersionedShapingLibrary, WORD_SEGMENTER_LOCALE, anchorLineY, attachNotesToLayout, boundedFallbackWordSegments, buildPageRefIndex, clampListValue, computeDoubleBorderMetricsPt, computeFootnoteReserves, contentControlBoundaries, contentControlHoldingParagraph, contentControlRecordsInPart, createBoundedFallbackWordBoundary, createDefaultWordBoundary, createDocumentFurnitureSource, createDocumentLinkProjectors, createDocumentNotesInput, createDocumentStyleDependencies, createFieldLinkRegistry, createFixedMeasurer, createHarfBuzzTextShaper, createIntlWordBoundary, createLayoutScheduler, createLayoutSession, createListCounterState, createParagraphLayoutCache, defaultNoteSeparatorRuleStyle, deriveNoteDisplayMarks, deriveNoteDisplayMarksResolved, documentOrder, documentRelationshipTargetIn, effectiveBorderSide, emptyTocPlaceholderParagraphIds, emptyTocSuppressedResultParagraphIds, everyStoryOrder, expandLvlText, exportSourceRangeOf, filterRefsOnPage, findSeparatorNote, forEachSemanticSpan, formatDecimal, formatDecimalZero, formatLowerLetter, formatLowerRoman, formatNumFmt, formatPageNumber, formatUpperLetter, formatUpperRoman, fragmentOwnsAtomOffset, graphemeBoundaryEpoch, graphemeCount, graphemeOffsetToUtf16, harfBuzzFontValidator, initializeHarfBuzz, intlGraphemeBoundary, isCanvasMeasurementAvailable, isCumulativeGeometryTrustedFromLineOrigin, isGeometryTrustedCaretOffset, isHarfBuzzInitialized, isIntlSegmenterAvailable, isIntlWordSegmenterAvailable, isMarkerOnlySeparatorNote, isWholeGraphemeHorizontalBoundary, keyedRangeRects, layoutHeaderFooterStory, layoutNoteById, layoutNoteSeparator, layoutNoteStory, layoutSemanticDocument, lineSegments, listMarkerBox, mapSymbolPuaText, normalNotesOf, noteDisplayMarkMap, noteLineIdPrefix, noteMarkKey, noteSeparatorAreaBox, noteSeparatorRuleBox, noteStoryBlocks, pageBorderFrame, pageRefPageNumbersFromLayout, pagesToMaterialize, paragraphLayoutKey, paragraphMarkDeleted, paragraphShading, paragraphShadingBox, parseAutonumInstruction, planRefFieldResultRefresh, positionPastDeletion, projectedNoteMarkText, provisionalNoteMarks, readTableStructure, resetGraphemeBoundary, resolveDefaultSurfaceMeasurer, resolveDefaultWordBoundary, resolveOoxmlShadingFill, resolveStrictHexFill, reviewAnchorIndex, reviewItemGeometry, revisionRemovesParagraph, roundFontUnitToFixedPoint, runBorderStrokesForLine, segmentGraphemes, segmentWords, selectionRects, semanticHorizontalBoundaries, setGraphemeBoundary, setHarfBuzzWasmUrl, sha256FontBytes, shadingFillFromElement, shapedHorizontalBoundaries, storyBlocks, syntheticSeparatorBox, tabLeaderPattern, tableOriginX, tocFieldChromeParagraphIds, tryCreateCanvasMeasurer, utf16OffsetToGrapheme, vectorShapeInkClip, wordBoundary, wordSegmentsToGraphemeRecords };
3059
+ export type { AutofitFieldContext, AutonumFieldKind, AutonumFieldSpec, CanvasMeasurerOptions, CanvasTextContext, CanvasTextMetrics, CellMarginsPt, CellVerticalAlign, CompoundBorderMetrics, ContentControlFragmentRecord, CreateDocumentFurnitureSourceOptions, CreateDocumentNotesInputOptions, DocumentFurnitureSource, DocumentLinkProjectors, DocumentStyleDependencies, FieldLinkRegistry, GraphemeBoundary, GraphemeSegment, GraphemeWordSegmentRecord, HarfBuzzFaceCacheEvent, HarfBuzzOutlineCacheEvent, HarfBuzzShapeCacheEvent, HarfBuzzShapingErrorCode, HarfBuzzTextShaper, HarfBuzzTextShaperInstrumentation, HarfBuzzTextShaperOptions, HeaderFooterVariantName, KeyedRange, LayoutCacheStats, LayoutScheduler, LayoutSchedulerOptions, LayoutScope, LayoutSession, LayoutSessionStats, LineSegment, ListCounterAdvance, ListCounterState, MaterializationInput, NoteDisplayMark, NoteLayoutFallbackReason, NoteMarkContext, NotePaginationFallbackReason, NoteReferenceSite, NoteSeparatorLayout, NoteSeparatorRuleStyle, NoteStoryDrawings, NoteStoryLayout, NotesAttachResult, NotesLayoutInput, PageFurniture, PageRefIndex, ParagraphKeyInputs, ParagraphLayoutCache, ParagraphLayoutCacheOptions, PreferredWidth, PreferredWidthType, RefFieldRefreshOptions, RegisteredFieldLink, ResolvedSurfaceMeasurer, ReviewParagraphAnchor, SemanticLayoutOptions, SemanticSpanVisit, SemanticTableCell, SemanticTableRow, SemanticTableStructure, StoryProjectionDependencies, TableAlignment, TableAutofitContext, TablePaginationErrorCode, TableRowHeight, TableRowHeightRule, ViewportWindow, WordBoundary, WordBoundaryResolverDeps, WordSegment };
package/dist/layout.js CHANGED
@@ -1 +1 @@
1
- export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-EEAV3WIN.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{I as AUTO_PARAGRAPH_SPACING_PT,yd as AUTO_PREFERRED_WIDTH,zd as CELL_PAD,C as COMPOUND_BORDER_MIN_GAP_PT,B as COMPOUND_BORDER_MIN_STROKE_PT,Ad as DEFAULT_CELL_MARGINS,sa as DEFAULT_PAGE_GEOMETRY,Ra as DEFAULT_REVISION_DISPLAY_MODE,Y as DEFAULT_RUN_STYLE,Lc as DEFAULT_SECTION_PROPERTIES,Kb as DEFAULT_TAB_INTERVAL_PT,Jb as DEFAULT_TAB_INTERVAL_TWIPS,Nd as DEFAULT_VERTICAL_WEIGHT,ld as EMPTY_NUMBERING_INDEX,Mb as EMPTY_TAB_STOPS,d as FontResolutionError,fa as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,H as MAX_BORDER_SPACE_PT,G as MAX_BORDER_WIDTH_PT,Kc as MAX_DOCUMENT_SECTIONS,Ge as MAX_EACH_PAGE_MARK_CANDIDATES,id as MAX_LVL_OVERRIDES,sb as MAX_LVL_TEXT_LENGTH,rb as MAX_MARKER_TEXT_LENGTH,se as MAX_NOTES_LAID_OUT,te as MAX_NOTE_FRAGMENTS,Fe as MAX_NOTE_OVERFLOW_PAGES,Ee as MAX_NOTE_REFLOW_ATTEMPTS,hd as MAX_NUMBERING_DEFINITIONS,F as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,Yb as MAX_STYLE_BASED_ON_DEPTH,fc as MAX_STYLE_DEFINITIONS,qd as MAX_TABLE_BORDER_STROKES,Ed as MAX_TABLE_NESTING,de as MAX_TABLE_ROW_FRAGMENTS,Fd as MAX_TABLE_ROW_HEIGHT_PT,Ib as MAX_TAB_POSITION_TWIPS,Hb as MAX_TAB_STOPS,Gc as PAGE_BORDER_SIDES,K as PARAGRAPH_BORDER_SIDES,J as SINGLE_LINE_SPACING,Lb as TAB_LEADER_GLYPH,ee as TablePaginationError,pa as UnsupportedScriptError,X as appliedSpaceBefore,O as applyLineSpacing,Le as attachNotesToLayout,ba as baselineShiftPtOf,xd as borderExtentPt,ud as borderWeight,U as bottomBorderExtentPt,l as boundedStructuralFontValidator,jd as buildNumberingIndex,Ie as buildPageRefIndex,gc as buildStyleCascadeTable,df as caretAt,Xd as caretBoxOnLine,bf as caretStops,cf as caretStopsForBlocks,hc as cascadeParagraphFormatting,jc as cascadeRunProperties,ic as cascadedBottomBorder,R as cascadedParagraphBorders,Nb as cascadedTabStops,tb as clampListValue,W as collapsedSpaceBefore,kf as compositionAnchor,D as computeDoubleBorderMetricsPt,Ke as computeFootnoteReserves,Ud as contentControlAtPoint,ff as contentControlAtSemantic,qe as contentControlHoldingParagraph,pe as contentControlRecordsInPart,gf as contentControlsInLayout,Fa as contentControlsOfLayout,ie as createDocumentFurnitureSource,le as createDocumentLinkProjectors,je as createDocumentNotesInput,md as createDocumentStyleDependencies,me as createFieldLinkRegistry,ea as createFixedMeasurer,m as createFontResourceSnapshot,Ne as createLayoutSession,mc as createListCounterState,hb as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,ze as defaultNoteSeparatorRuleStyle,Qb as defaultTabIntervalFromSettings,if as deletedTextBoundaries,Dc as deriveNoteDisplayMarks,Ec as deriveNoteDisplayMarksResolved,_ as displayText,Oa as documentOrder,ke as documentRelationshipTargetIn,pd as effectiveBorderSide,Ha as effectiveContentControlLock,Eb as emptyTocPlaceholderParagraphIds,Fb as emptyTocSuppressedResultParagraphIds,Rc as enumerateDocumentSections,Tc as enumerateDocumentSectionsBounded,Pa as everyStoryOrder,Bb as expandLvlText,Je as filterRefsOnPage,Yd as findDrawingOverlayFrameInLayout,we as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ba as forEachSemanticDrawing,za as forEachSemanticStory,Ca as forEachStoryParagraphFragment,ub as formatDecimal,vb as formatDecimalZero,zb as formatLowerLetter,xb as formatLowerRoman,Ab as formatNumFmt,_c as formatPageNumber,$a as formatRevisionOf,yb as formatUpperLetter,wb as formatUpperRoman,He as fragmentOwnsAtomOffset,Da as fragmentsOfParagraph,Uc as geometryOfSection,ca as glyphSizeFactorOf,ia as graphemeBoundaryEpoch,ma as graphemeCount,oa as graphemeOffsetToUtf16,Rd as hitTestPage,ef as hitTestSemantic,Td as hitTestSheet,ha as intlGraphemeBoundary,Pd as isFurniturePoint,ga as isIntlSegmenterAvailable,Ae as isMarkerOnlySeparatorNote,Xb as isValidStyleId,qa as itemizeScriptFontSlots,Ye as keyedRangeRects,bc as layoutEquation,he as layoutHeaderFooterStory,ye as layoutNoteById,Be as layoutNoteSeparator,xe as layoutNoteStory,Oe as layoutSemanticDocument,Ea as lineAtPosition,Vd as lineEndOffset,Ia as lineSegments,wa as linesOf,rc as listMarkerBox,Za as markRevisionRemovesMark,$ as measureDisplayText,vc as mergeListIndent,jf as moveCaret,Rb as nextTabDestination,ve as normalNotesOf,Fc as noteDisplayMarkMap,ue as noteLineIdPrefix,ed as noteMarkKey,De as noteSeparatorAreaBox,re as noteSeparatorRuleBox,Cc as noteStoryBlocks,Od as pageAtY,oe as pageBorderFrame,Ic as pageBordersFingerprint,T as paragraphBorderExtentPt,S as paragraphBorderStrokeWidthPt,Q as paragraphBorders,V as paragraphBordersFingerprint,E as paragraphBreaksBefore,P as paragraphContextualSpacing,ua as paragraphFragmentsOf,va as paragraphFragmentsOfBlocks,gb as paragraphLayoutKey,N as paragraphLineSpacing,nc as paragraphMarkDeleted,Xa as paragraphMarkFormatRevisionOf,_a as paragraphMarkRevisionOf,Wa as paragraphMarkRevisionsOf,Pc as paragraphSectionNode,x as paragraphShading,y as paragraphShadingBox,M as paragraphSpacing,Ob as paragraphTabStops,hf as paragraphTextFromLayout,Cb as parseAutonumInstruction,Hc as parsePageBorders,Mc as parsePageNumbering,qb as parseRefInstruction,Nc as parseSectionProperties,Re as positionPastDeletion,fd as projectedNoteMarkText,Sc as projectedSectionSourceIndexes,Me as provisionalNoteMarks,rd as readBorderSide,td as readCellBorders,tc as readNumPr,Qc as readSectionProperties,sd as readTableBorders,Gd as readTableStructure,la as resetGraphemeBoundary,vd as resolveBorderConflict,kd as resolveNumberingLevel,v as resolveOoxmlShadingFill,kc as resolveParagraphLayoutInputs,Z as resolveRunStyle,xc as resolveStoryListItems,Xc as resolveStoryRefFields,u as resolveStrictHexFill,wd as resolveTableCellBorderGrid,Ua as revisionAuthorFilter,pc as revisionRemovesParagraph,ab as revisionsAreDeletion,Va as revisionsVisible,Wb as runBorderStrokesForLine,aa as runStylesEqual,ja as segmentGraphemes,We as selectionRects,ka as setGraphemeBoundary,w as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,Ya as shownMarkRevision,Wd as spanOffsetX,lf as spansInSelection,Bc as storyBlocks,ra as styleForFontSlot,Ce as syntheticSeparatorBox,Sb as tabAdvanceWidth,Tb as tabStopsFingerprint,Dd as tableOriginX,Db as tocFieldChromeParagraphIds,Ga as unionLayoutBoxes,na as utf16OffsetToGrapheme,wc as walkStoryParagraphs,Pb as withDefaultTabInterval,uc as withNumberingStyleLinks,yc as withResolvedListItems,Se as wordBoundary}from'./chunk-XSHXBJ2J.js';import'./chunk-73PG6L2X.js';export{ya as activeReviewItem,Ha as commentBodyText,Ja as commentInitials,va as firstReviewRange,d as mapSymbolPuaText,ta as reviewItemKey,wa as reviewItemPositionRank,ua as reviewItemRanges,xa as reviewItemsAt,za as reviewThreadRootOf}from'./chunk-L6V3IJ3S.js';export{Ec as MAX_SDT_NESTING,Ki as MAX_TABLE_COLUMNS,Ch as W15_NAMESPACE_URI,Jc as collectFlowBlocks,Ic as contentControlContentChildren,Fc as isContentControl,Gc as isContentControlContent,nj as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-DDGGSBAN.js';
1
+ export{N as DEFAULT_CANVAS_FONT_STACK,b as HARFBUZZ_SHAPING_LIBRARY,e as HarfBuzzShapingError,i as LayoutShapingConfigurationError,I as ResolvedCache,x as WORD_SEGMENTER_LOCALE,W as anchorLineY,A as boundedFallbackWordSegments,G as captureOperationSnapshot,da as cellSelectionBetween,ha as cellSelectionRects,ia as cellSelectionText,V as contentControlBoundaries,B as createBoundedFallbackWordBoundary,C as createDefaultWordBoundary,g as createHarfBuzzTextShaper,z as createIntlWordBoundary,ca as createLayoutScheduler,aa as createLayoutShapedMeasurer,p as createLayoutShaping,$ as createShapedMeasurer,r as disposeLayoutShaping,J as exportSourceRangeOf,K as forEachSemanticSpan,H as guardOperationSnapshot,f as harfBuzzFontValidator,c as initializeHarfBuzz,P as isCanvasMeasurementAvailable,v as isCumulativeGeometryTrustedFromLineOrigin,u as isGeometryTrustedCaretOffset,d as isHarfBuzzInitialized,y as isIntlWordSegmenterAvailable,t as isWholeGraphemeHorizontalBoundary,o as layoutFontConfigurationFingerprint,S as pageRefPageNumbersFromLayout,ba as pagesToMaterialize,fa as paragraphsInCells,T as planRefFieldResultRefresh,m as prepareLayoutFontConfiguration,R as resolveDefaultSurfaceMeasurer,D as resolveDefaultWordBoundary,X as reviewAnchorIndex,Y as reviewItemGeometry,a as roundFontUnitToFixedPoint,E as segmentWords,w as semanticHorizontalBoundaries,s as shapedHorizontalBoundaries,ga as spansInCells,ma as tabLeaderPattern,ja as tableContextAt,Q as tryCreateCanvasMeasurer,L as vectorShapeInkClip,F as wordSegmentsToGraphemeRecords}from'./chunk-JSIX2EOH.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';export{J as AUTO_PARAGRAPH_SPACING_PT,Ed as AUTO_PREFERRED_WIDTH,Fd as CELL_PAD,D as COMPOUND_BORDER_MIN_GAP_PT,C as COMPOUND_BORDER_MIN_STROKE_PT,Gd as DEFAULT_CELL_MARGINS,ta as DEFAULT_PAGE_GEOMETRY,Xa as DEFAULT_REVISION_DISPLAY_MODE,Z as DEFAULT_RUN_STYLE,Rc as DEFAULT_SECTION_PROPERTIES,Qb as DEFAULT_TAB_INTERVAL_PT,Pb as DEFAULT_TAB_INTERVAL_TWIPS,Td as DEFAULT_VERTICAL_WEIGHT,rd as EMPTY_NUMBERING_INDEX,Sb as EMPTY_TAB_STOPS,d as FontResolutionError,ga as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,I as MAX_BORDER_SPACE_PT,H as MAX_BORDER_WIDTH_PT,Qc as MAX_DOCUMENT_SECTIONS,Me as MAX_EACH_PAGE_MARK_CANDIDATES,od as MAX_LVL_OVERRIDES,pb as MAX_LVL_TEXT_LENGTH,ob as MAX_MARKER_TEXT_LENGTH,ye as MAX_NOTES_LAID_OUT,ze as MAX_NOTE_FRAGMENTS,Le as MAX_NOTE_OVERFLOW_PAGES,Ke as MAX_NOTE_REFLOW_ATTEMPTS,nd as MAX_NUMBERING_DEFINITIONS,G as MAX_PARAGRAPH_SPACING_PT,o as MAX_SHAPING_CONTEXT,cc as MAX_STYLE_BASED_ON_DEPTH,lc as MAX_STYLE_DEFINITIONS,wd as MAX_TABLE_BORDER_STROKES,Kd as MAX_TABLE_NESTING,je as MAX_TABLE_ROW_FRAGMENTS,Ld as MAX_TABLE_ROW_HEIGHT_PT,Ob as MAX_TAB_POSITION_TWIPS,Nb as MAX_TAB_STOPS,Mc as PAGE_BORDER_SIDES,L as PARAGRAPH_BORDER_SIDES,K as SINGLE_LINE_SPACING,Rb as TAB_LEADER_GLYPH,ke as TablePaginationError,qa as UnsupportedScriptError,Y as appliedSpaceBefore,P as applyLineSpacing,Re as attachNotesToLayout,ca as baselineShiftPtOf,Dd as borderExtentPt,Ad as borderWeight,V as bottomBorderExtentPt,l as boundedStructuralFontValidator,pd as buildNumberingIndex,Oe as buildPageRefIndex,mc as buildStyleCascadeTable,jf as caretAt,be as caretBoxOnLine,hf as caretStops,if as caretStopsForBlocks,nc as cascadeParagraphFormatting,pc as cascadeRunProperties,oc as cascadedBottomBorder,S as cascadedParagraphBorders,Tb as cascadedTabStops,qb as clampListValue,X as collapsedSpaceBefore,qf as compositionAnchor,E as computeDoubleBorderMetricsPt,Qe as computeFootnoteReserves,_d as contentControlAtPoint,lf as contentControlAtSemantic,we as contentControlHoldingParagraph,ve as contentControlRecordsInPart,mf as contentControlsInLayout,Ga as contentControlsOfLayout,oe as createDocumentFurnitureSource,re as createDocumentLinkProjectors,pe as createDocumentNotesInput,sd as createDocumentStyleDependencies,se as createFieldLinkRegistry,fa as createFixedMeasurer,m as createFontResourceSnapshot,Te as createLayoutSession,sc as createListCounterState,nb as createParagraphLayoutCache,s as createShapedRun,p as createShapingEnvironment,Fe as defaultNoteSeparatorRuleStyle,Wb as defaultTabIntervalFromSettings,of as deletedTextBoundaries,Jc as deriveNoteDisplayMarks,Kc as deriveNoteDisplayMarksResolved,$ as displayText,Pa as documentOrder,qe as documentRelationshipTargetIn,vd as effectiveBorderSide,Ia as effectiveContentControlLock,Kb as emptyTocPlaceholderParagraphIds,Lb as emptyTocSuppressedResultParagraphIds,Xc as enumerateDocumentSections,Zc as enumerateDocumentSectionsBounded,Qa as everyStoryOrder,yb as expandLvlText,Pe as filterRefsOnPage,ce as findDrawingOverlayFrameInLayout,Ce as findSeparatorNote,n as fixedPoint,h as fontRequestKey,Ca as forEachSemanticDrawing,Aa as forEachSemanticStory,Da as forEachStoryParagraphFragment,rb as formatDecimal,sb as formatDecimalZero,wb as formatLowerLetter,ub as formatLowerRoman,xb as formatNumFmt,ed as formatPageNumber,fb as formatRevisionOf,vb as formatUpperLetter,tb as formatUpperRoman,Ne as fragmentOwnsAtomOffset,Ea as fragmentsOfParagraph,_c as geometryOfSection,da as glyphSizeFactorOf,ja as graphemeBoundaryEpoch,na as graphemeCount,pa as graphemeOffsetToUtf16,Xd as hitTestPage,kf as hitTestSemantic,Zd as hitTestSheet,ia as intlGraphemeBoundary,Vd as isFurniturePoint,ha as isIntlSegmenterAvailable,Ge as isMarkerOnlySeparatorNote,bc as isValidStyleId,ra as itemizeScriptFontSlots,cf as keyedRangeRects,hc as layoutEquation,ne as layoutHeaderFooterStory,Ee as layoutNoteById,He as layoutNoteSeparator,De as layoutNoteStory,Ue as layoutSemanticDocument,Fa as lineAtPosition,$d as lineEndOffset,Ja as lineSegments,xa as linesOf,xc as listMarkerBox,db as markRevisionRemovesMark,aa as measureDisplayText,Bc as mergeListIndent,pf as moveCaret,Xb as nextTabDestination,Be as normalNotesOf,Lc as noteDisplayMarkMap,Ae as noteLineIdPrefix,kd as noteMarkKey,Je as noteSeparatorAreaBox,xe as noteSeparatorRuleBox,Ic as noteStoryBlocks,Ud as pageAtY,ue as pageBorderFrame,Oc as pageBordersFingerprint,U as paragraphBorderExtentPt,T as paragraphBorderStrokeWidthPt,R as paragraphBorders,W as paragraphBordersFingerprint,F as paragraphBreaksBefore,Q as paragraphContextualSpacing,va as paragraphFragmentsOf,wa as paragraphFragmentsOfBlocks,mb as paragraphLayoutKey,O as paragraphLineSpacing,tc as paragraphMarkDeleted,bb as paragraphMarkFormatRevisionOf,eb as paragraphMarkRevisionOf,ab as paragraphMarkRevisionsOf,Vc as paragraphSectionNode,y as paragraphShading,z as paragraphShadingBox,N as paragraphSpacing,Ub as paragraphTabStops,nf as paragraphTextFromLayout,Ib as parseAutonumInstruction,Nc as parsePageBorders,Sc as parsePageNumbering,Hb as parseRefInstruction,Tc as parseSectionProperties,Xe as positionPastDeletion,ld as projectedNoteMarkText,Yc as projectedSectionSourceIndexes,Se as provisionalNoteMarks,xd as readBorderSide,zd as readCellBorders,zc as readNumPr,Wc as readSectionProperties,yd as readTableBorders,Md as readTableStructure,ma as resetGraphemeBoundary,Bd as resolveBorderConflict,qd as resolveNumberingLevel,w as resolveOoxmlShadingFill,qc as resolveParagraphLayoutInputs,_ as resolveRunStyle,Dc as resolveStoryListItems,bd as resolveStoryRefFields,v as resolveStrictHexFill,Cd as resolveTableCellBorderGrid,_a as revisionAuthorFilter,vc as revisionRemovesParagraph,gb as revisionsAreDeletion,$a as revisionsVisible,ac as runBorderStrokesForLine,ba as runStylesEqual,ka as segmentGraphemes,af as selectionRects,la as setGraphemeBoundary,x as shadingFillFromElement,t as shapedRunComparatorInputs,r as shapingEnvironmentFingerprint,q as shapingEnvironmentFingerprintInputs,cb as shownMarkRevision,ae as spanOffsetX,rf as spansInSelection,Hc as storyBlocks,sa as styleForFontSlot,Ie as syntheticSeparatorBox,Yb as tabAdvanceWidth,Zb as tabStopsFingerprint,Jd as tableOriginX,Jb as tocFieldChromeParagraphIds,Ha as unionLayoutBoxes,oa as utf16OffsetToGrapheme,Cc as walkStoryParagraphs,Vb as withDefaultTabInterval,Ac as withNumberingStyleLinks,Ec as withResolvedListItems,Ye as wordBoundary}from'./chunk-VIPMGGUT.js';import'./chunk-6ZQMII6V.js';export{ya as activeReviewItem,Ha as commentBodyText,Ja as commentInitials,va as firstReviewRange,d as mapSymbolPuaText,ta as reviewItemKey,wa as reviewItemPositionRank,ua as reviewItemRanges,xa as reviewItemsAt,za as reviewThreadRootOf}from'./chunk-GWQJ5774.js';export{Ec as MAX_SDT_NESTING,Pi as MAX_TABLE_COLUMNS,Hh as W15_NAMESPACE_URI,Jc as collectFlowBlocks,Ic as contentControlContentChildren,Fc as isContentControl,Gc as isContentControlContent,tj as paragraphOrderOfPart,a as sha256FontBytes}from'./chunk-UMRSBLO7.js';
@@ -1,4 +1,4 @@
1
- import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-BO73JqHG.js';
1
+ import { O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage } from './types-barrel-BFKR8Pzp.js';
2
2
 
3
3
  /** `w:pos` — where a section's footnotes are laid out. */
4
4
  type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
@@ -1,4 +1,4 @@
1
- import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-BO73JqHG.js';
1
+ import { U as OoxmlNodeId, V as OoxmlGenericElementNode, N as OoxmlNode } from './types-barrel-BFKR8Pzp.js';
2
2
 
3
3
  /** Office Math Markup Language namespace. */
4
4
  declare const OFFICE_MATH_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/math";
package/dist/output.cjs CHANGED
@@ -1 +1 @@
1
- 'use strict';var chunkNS22DVWT_cjs=require('./chunk-NS22DVWT.cjs');require('./chunk-TKR2MXX4.cjs'),require('./chunk-UJL2GDIM.cjs'),require('./chunk-CYT3OQFZ.cjs'),require('./chunk-SUN62YU6.cjs'),require('./chunk-ANZ44KQT.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkNS22DVWT_cjs.m}});
1
+ 'use strict';var chunkWG4KMSX2_cjs=require('./chunk-WG4KMSX2.cjs');require('./chunk-HO5XFO32.cjs'),require('./chunk-55AT3MOU.cjs'),require('./chunk-K246T47S.cjs'),require('./chunk-AVKVRU7Z.cjs'),require('./chunk-4KZ6L5YF.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkWG4KMSX2_cjs.k}});Object.defineProperty(exports,"collectPageChangeBars",{enumerable:true,get:function(){return chunkWG4KMSX2_cjs.f}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkWG4KMSX2_cjs.p}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkWG4KMSX2_cjs.n}});
package/dist/output.d.ts CHANGED
@@ -1,11 +1,12 @@
1
- import { R as ReviewAuthorInfo } from './semantic-paint-Bk9wIXdZ.js';
2
- export { D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PaintOptions, a as RevisionAuthorAssignments, b as RevisionAuthorStyle, c as RevisionStyles, p as paintSemanticLayout } from './semantic-paint-Bk9wIXdZ.js';
3
- import { S as SemanticLayout } from './semantic-records-COqi8pjP.js';
4
- import './image-resources-DfagDguq.js';
5
- import './types-barrel-BO73JqHG.js';
1
+ import { R as ReviewAuthorInfo } from './semantic-paint-CsMzF8-O.js';
2
+ export { C as ChangeBarsMode, D as DEFAULT_FIELD_SHADING, F as FieldShadingMode, P as PageChangeBars, a as PaintOptions, b as RevisionAuthorAssignments, c as RevisionAuthorStyle, d as RevisionStyles, e as collectPageChangeBars, p as paintSemanticLayout } from './semantic-paint-CsMzF8-O.js';
3
+ import { S as SemanticLayout } from './semantic-records-B9OolWGN.js';
4
+ import './revision-projection-CSNFudZY.js';
5
+ import './types-barrel-BFKR8Pzp.js';
6
6
  import './editor-scope-OHPwVQ5l.js';
7
- import './revision-projection-DfWxdBqA.js';
8
- import './omml-equation-CZ6IG2ja.js';
7
+ import './semantic-record-queries-1du6lQqS.js';
8
+ import './image-resources-BDFxcu7W.js';
9
+ import './omml-equation-DuczgG5o.js';
9
10
 
10
11
  /** A rectangle in page-content coordinates, on a named page. */
11
12
  interface OverlayRect {
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-AN6WM4X4.js';import'./chunk-EEAV3WIN.js';import'./chunk-RIYSCEFQ.js';import'./chunk-XSHXBJ2J.js';import'./chunk-73PG6L2X.js';import'./chunk-L6V3IJ3S.js';import'./chunk-DDGGSBAN.js';
1
+ export{k as DEFAULT_FIELD_SHADING,f as collectPageChangeBars,p as paintSelectionOverlay,n as paintSemanticLayout}from'./chunk-7IGCWG4H.js';import'./chunk-JSIX2EOH.js';import'./chunk-RIYSCEFQ.js';import'./chunk-VIPMGGUT.js';import'./chunk-6ZQMII6V.js';import'./chunk-GWQJ5774.js';import'./chunk-UMRSBLO7.js';
@@ -1,5 +1,5 @@
1
- import { a6 as AutomationTableMutation, a3 as RevisionBatchResult } from './types-barrel-BO73JqHG.js';
2
- import { e as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-YPyYC1aD.js';
1
+ import { a6 as AutomationTableMutation, a3 as RevisionBatchResult } from './types-barrel-BFKR8Pzp.js';
2
+ import { c as HeaderFooterVariant, N as NoteKind } from './tree-package-fragment-DYZIk1rY.js';
3
3
 
4
4
  /** Word's shape types, as `Word.ShapeType` spells them. */
5
5
  type AutomationShapeType = 'TextBox' | 'GeometricShape' | 'Picture' | 'Group' | 'Canvas' | 'Unsupported';
@@ -677,9 +677,10 @@ type AutomationOperation = AutomationAuthoringOperation | {
677
677
  /**
678
678
  * The header or footer story a section declares or inherits, as a BODY.
679
679
  *
680
- * A variant the document has neither declared nor inherited is refused: minting the part would
681
- * make a read write, and a header that exists only because it was asked about is a header the
682
- * document did not have.
680
+ * A variant the document has neither declared nor inherited is still answered, as an empty
681
+ * body: every read on it answers what it answers for an empty story. Asking does not create
682
+ * the part. The first text written into the body creates it; any other write that would change
683
+ * the body is refused until then.
683
684
  */
684
685
  | {
685
686
  readonly op: 'getFurniture';
@@ -1,4 +1,4 @@
1
- import { N as OoxmlNode, Z as OoxmlElement, _ as OoxmlContentControlNode, V as OoxmlGenericElementNode, $ as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-BO73JqHG.js';
1
+ import { N as OoxmlNode, Z as OoxmlElement, _ as OoxmlContentControlNode, V as OoxmlGenericElementNode, $ as OoxmlContentControlContentNode, C as CommentRecord, O as OoxmlPart } from './types-barrel-BFKR8Pzp.js';
2
2
 
3
3
  /** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
4
4
  declare const MAX_CONTENT_CONTROL_NESTING = 32;
@@ -1,4 +1,74 @@
1
- import { N as OoxmlNode } from './types-barrel-BO73JqHG.js';
1
+ import { N as OoxmlNode } from './types-barrel-BFKR8Pzp.js';
2
+
3
+ /** Named revision colors. Identifiers are stable and never contain CSS. @public */
4
+ declare const REVISION_MARKUP_COLORS: readonly ['black', 'blue', 'turquoise', 'green', 'pink', 'red', 'yellow', 'white', 'darkBlue', 'teal', 'darkGreen', 'violet', 'darkRed', 'darkYellow', 'gray50', 'gray25', 'lightBlue', 'lightYellow', 'lightOrange', 'lightPurple', 'lightGreen', 'gray'];
5
+ /** @public */
6
+ type RevisionMarkupNamedColor = (typeof REVISION_MARKUP_COLORS)[number];
7
+ /** @public */
8
+ type RevisionMarkupColor = RevisionMarkupNamedColor | 'byAuthor' | 'auto';
9
+ /** @public */
10
+ type RevisionMarkupMark = 'none' | 'colorOnly' | 'bold' | 'italic' | 'underline' | 'doubleUnderline' | 'strikethrough' | 'doubleStrikethrough';
11
+ /** @public */
12
+ type RevisionDeletionMark = RevisionMarkupMark | 'hidden' | 'caret' | 'pound';
13
+ /** @public */
14
+ type RevisionChangedLinesMark = 'none' | 'leftBorder' | 'rightBorder' | 'outsideBorder';
15
+ /** @public */
16
+ interface RevisionMarkupStyle<Mark extends string = RevisionMarkupMark> {
17
+ readonly mark: Mark;
18
+ readonly color: RevisionMarkupColor;
19
+ }
20
+ /** Viewer-only text styling. Document highlighting remains unchanged. @public */
21
+ interface RevisionMarkupTextStyle<Mark extends string = RevisionMarkupMark> extends RevisionMarkupStyle<Mark> {
22
+ /** Background color behind revision text. Defaults to `none`. */
23
+ readonly background: RevisionMarkupNamedColor | 'byAuthor' | 'none';
24
+ }
25
+ /** Fully resolved, immutable viewer preferences. @public */
26
+ interface ResolvedRevisionMarkup {
27
+ readonly insertions: RevisionMarkupTextStyle;
28
+ readonly deletions: RevisionMarkupTextStyle<RevisionDeletionMark>;
29
+ readonly movedFrom: RevisionMarkupTextStyle<RevisionDeletionMark>;
30
+ readonly movedTo: RevisionMarkupTextStyle;
31
+ readonly formatting: RevisionMarkupTextStyle;
32
+ readonly changedLines: RevisionMarkupStyle<RevisionChangedLinesMark>;
33
+ readonly cells: {
34
+ readonly inserted: RevisionMarkupNamedColor | 'byAuthor' | 'none';
35
+ readonly deleted: RevisionMarkupNamedColor | 'byAuthor' | 'none';
36
+ readonly merged: RevisionMarkupNamedColor | 'byAuthor' | 'none';
37
+ readonly split: RevisionMarkupNamedColor | 'byAuthor' | 'none';
38
+ };
39
+ readonly trackMoves: boolean;
40
+ readonly trackFormatting: boolean;
41
+ }
42
+ /** Partial viewer preferences. Omitted values keep the previous value. @public */
43
+ type RevisionMarkupOptions = {
44
+ readonly [K in keyof ResolvedRevisionMarkup]?: ResolvedRevisionMarkup[K] extends boolean ? boolean : Partial<ResolvedRevisionMarkup[K]>;
45
+ };
46
+ /** Initial viewer preferences. @public */
47
+ declare const DEFAULT_REVISION_MARKUP: ResolvedRevisionMarkup;
48
+ /** Validate and merge preferences without modifying the input. @public */
49
+ declare function resolveRevisionMarkup(input?: RevisionMarkupOptions, previous?: ResolvedRevisionMarkup): ResolvedRevisionMarkup;
50
+ /** A local settings draft owned by the editor. @public */
51
+ interface RevisionMarkupDialogSession {
52
+ /** Aborts on close, replacement, load, detach, destroy, or renderer disposal. */
53
+ readonly signal: AbortSignal;
54
+ /** Read the immutable draft. */
55
+ get(): ResolvedRevisionMarkup;
56
+ /** Merge validated options into the draft without committing preferences. */
57
+ set(options: RevisionMarkupOptions): void;
58
+ /** Restore default preferences in the draft only. */
59
+ reset(): void;
60
+ /** Observe draft changes, including effective external preference changes. */
61
+ subscribe(listener: () => void): () => void;
62
+ canApply(): boolean;
63
+ /** Commit the draft and close. Returns false after cancellation. */
64
+ apply(): boolean;
65
+ /** Close without committing the draft. */
66
+ cancel(): void;
67
+ }
68
+ /** Host rendering for the Track changes options dialog. @public */
69
+ interface RevisionMarkupChromeHandlers {
70
+ readonly onRequest?: (session: RevisionMarkupDialogSession) => void;
71
+ }
2
72
 
3
73
  /**
4
74
  * What a revision wrapper asserts about the content inside it.
@@ -59,6 +129,7 @@ declare const DEFAULT_REVISION_DISPLAY_MODE: RevisionDisplayMode;
59
129
  * delimiter-based key.
60
130
  */
61
131
  interface RevisionFilter {
132
+ readonly revisionMarkup?: ResolvedRevisionMarkup;
62
133
  readonly hiddenAuthors: ReadonlySet<string>;
63
134
  readonly includes?: (revision: RevisionAttribution) => boolean;
64
135
  readonly includesNode?: (nodeId: string, author: string) => boolean;
@@ -167,5 +238,5 @@ declare function formatRevisionOf(properties: readonly {
167
238
  /** True when this stack of revisions marks its content as deleted from the live document. */
168
239
  declare function revisionsAreDeletion(revisions: readonly RevisionAttribution[]): boolean;
169
240
 
170
- export { DEFAULT_REVISION_DISPLAY_MODE as D, formatRevisionOf as f, paragraphMarkRevisionOf as g, paragraphMarkRevisionsOf as h, revisionsAreDeletion as i, revisionsVisible as j, markRevisionRemovesMark as m, paragraphMarkFormatRevisionOf as p, revisionAuthorFilter as r, shownMarkRevision as s };
171
- export type { ReviewDisplayMode as R, RevisionDisplayMode as a, RevisionAuthorFilter as b, RevisionAttribution as c, RevisionFilter as d, RevisionKind as e };
241
+ export { revisionsVisible as A, shownMarkRevision as B, DEFAULT_REVISION_MARKUP as D, REVISION_MARKUP_COLORS as f, DEFAULT_REVISION_DISPLAY_MODE as p, resolveRevisionMarkup as r, formatRevisionOf as t, markRevisionRemovesMark as u, paragraphMarkFormatRevisionOf as v, paragraphMarkRevisionOf as w, paragraphMarkRevisionsOf as x, revisionAuthorFilter as y, revisionsAreDeletion as z };
242
+ export type { RevisionMarkupDialogSession as R, ReviewDisplayMode as a, RevisionDisplayMode as b, RevisionAuthorFilter as c, ResolvedRevisionMarkup as d, RevisionMarkupOptions as e, RevisionChangedLinesMark as g, RevisionDeletionMark as h, RevisionMarkupChromeHandlers as i, RevisionMarkupColor as j, RevisionMarkupMark as k, RevisionMarkupNamedColor as l, RevisionMarkupStyle as m, RevisionMarkupTextStyle as n, RevisionAttribution as o, RevisionFilter as q, RevisionKind as s };
@@ -1,7 +1,7 @@
1
- import { O as OoxmlPart, Z as OoxmlElement, N as OoxmlNode } from './types-barrel-BO73JqHG.js';
2
- import { a as RevisionDisplayMode, b as RevisionAuthorFilter } from './revision-projection-DfWxdBqA.js';
3
- import { b as SectionPageBorders, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, c as TableRowFragmentRecord, d as TableCellFragmentRecord } from './semantic-records-COqi8pjP.js';
4
- import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-CvFAj0GR.js';
1
+ import { O as OoxmlPart, Z as OoxmlElement, N as OoxmlNode } from './types-barrel-BFKR8Pzp.js';
2
+ import { b as RevisionDisplayMode, c as RevisionAuthorFilter } from './revision-projection-CSNFudZY.js';
3
+ import { f as SectionPageBorders, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, e as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, g as TableRowFragmentRecord, h as TableCellFragmentRecord } from './semantic-records-B9OolWGN.js';
4
+ import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-G0bjmmmk.js';
5
5
 
6
6
  /** Page geometry, in points. */
7
7
  interface PageGeometry {
@@ -1,4 +1,4 @@
1
- import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-COqi8pjP.js';
1
+ import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, e as StyleSpanRecord } from './semantic-records-B9OolWGN.js';
2
2
 
3
3
  /** A caret position in the model. */
4
4
  interface SemanticPosition {