@docx-editor.dev/core 2.14.1 → 2.15.1

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 (133) hide show
  1. package/README.md +42 -0
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +6 -5
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +16 -10
  7. package/dist/binding.js +1 -1
  8. package/dist/chunk-24APKZAN.cjs +11 -0
  9. package/dist/chunk-2YH4MSHX.cjs +2 -0
  10. package/dist/chunk-5Y7AADI6.js +1 -0
  11. package/dist/chunk-AREFLNUP.js +11 -0
  12. package/dist/chunk-AS7YZNQE.cjs +2 -0
  13. package/dist/chunk-AVGCKH6A.cjs +20 -0
  14. package/dist/chunk-CDYVDQRI.cjs +5 -0
  15. package/dist/chunk-FGBADUSK.cjs +1 -0
  16. package/dist/chunk-HOEWFH5U.cjs +1 -0
  17. package/dist/chunk-KFELX7CN.js +2 -0
  18. package/dist/{chunk-OKEDGR65.js → chunk-KXPVOPR5.js} +1 -1
  19. package/dist/chunk-LGFKIF4M.cjs +1 -0
  20. package/dist/chunk-M52QXFKI.js +1 -0
  21. package/dist/chunk-MNUKSXRO.js +1 -0
  22. package/dist/chunk-PBOIGBDO.js +2 -0
  23. package/dist/chunk-PMHGONET.cjs +1 -0
  24. package/dist/chunk-PXKZUTHX.cjs +2 -0
  25. package/dist/chunk-Q4AB7E4O.cjs +1 -0
  26. package/dist/chunk-QJYH6AYD.js +1 -0
  27. package/dist/chunk-QRC37MWG.cjs +20 -0
  28. package/dist/chunk-RJSB6RJ7.js +20 -0
  29. package/dist/chunk-SB54HLFJ.js +20 -0
  30. package/dist/chunk-VP7SDFCM.js +1 -0
  31. package/dist/chunk-XCESLTJL.js +2 -0
  32. package/dist/{chunk-KIAP7PFQ.cjs → chunk-YL4Q5LZP.cjs} +1 -1
  33. package/dist/chunk-Z4527AXR.js +5 -0
  34. package/dist/collaboration/replication.cjs +1 -1
  35. package/dist/collaboration/replication.d.ts +4 -3
  36. package/dist/collaboration/replication.js +1 -1
  37. package/dist/collaboration.d.ts +4 -3
  38. package/dist/contracts/editor.d.ts +7 -7
  39. package/dist/contracts/interaction.d.ts +7 -7
  40. package/dist/contracts/modules.d.ts +8 -7
  41. package/dist/{custom-node-writes-DntmaAVW.d.ts → custom-node-writes-C9ArIlJh.d.ts} +2 -2
  42. package/dist/{editor-a6VvsfYU.d.ts → editor-sRxrFJd8.d.ts} +29 -21
  43. package/dist/editor.cjs +1 -1
  44. package/dist/editor.d.ts +27 -58
  45. package/dist/editor.js +1 -1
  46. package/dist/export.cjs +2 -0
  47. package/dist/export.d.ts +337 -0
  48. package/dist/export.js +2 -0
  49. package/dist/font-resolver-BYEHQGTw.d.ts +251 -0
  50. package/dist/headless-document-view-DELC4E5v.d.ts +134 -0
  51. package/dist/hf-references-DTrHkktY.d.ts +70 -0
  52. package/dist/{index-C5ZnSRkF.d.ts → index-C3Gvq4jN.d.ts} +55 -246
  53. package/dist/index.cjs +1 -1
  54. package/dist/index.d.ts +18 -16
  55. package/dist/index.js +1 -1
  56. package/dist/{shaped-measurer-CFPnXFs9.d.cts → layout-shaping-DoGR5cf8.d.ts} +86 -12
  57. package/dist/layout.cjs +1 -1
  58. package/dist/layout.d.ts +1106 -729
  59. package/dist/layout.js +1 -1
  60. package/dist/{note-properties-CDFiNXcD.d.ts → note-properties-DSe8igrz.d.ts} +2 -2
  61. package/dist/{omml-equation-BY49UOIF.d.ts → omml-equation-BpRmfDAf.d.ts} +1 -1
  62. package/dist/output.cjs +1 -1
  63. package/dist/output.d.ts +6 -6
  64. package/dist/output.js +1 -1
  65. package/dist/{protocol-gOY5GA8K.d.cts → protocol-DZzKxH5r.d.ts} +18 -12
  66. package/dist/{review-items-CCS1h93f.d.ts → review-items-DYRx187i.d.ts} +2 -2
  67. package/dist/{review-reads-BjZYeMd4.d.ts → review-reads-LbGUdNzn.d.ts} +22 -25
  68. package/dist/{revision-projection-BeXVrSSV.d.ts → revision-projection-DHRJH48u.d.ts} +1 -1
  69. package/dist/{semantic-cell-selection-BK91NCCG.d.ts → semantic-cell-selection-BXVWCBYm.d.ts} +4 -4
  70. package/dist/{semantic-interaction-BmQ7h2cq.d.ts → semantic-interaction-DZsDmPg5.d.ts} +1 -1
  71. package/dist/{semantic-paint-WJD2KeG1.d.ts → semantic-paint-f7SqN4oW.d.ts} +2 -2
  72. package/dist/{semantic-records-BpozY7-j.d.cts → semantic-records-EIdwId-a.d.ts} +301 -205
  73. package/dist/store.cjs +1 -1
  74. package/dist/store.d.ts +15 -65
  75. package/dist/store.js +1 -1
  76. package/dist/{tree-op-types-D6HzlPR4.d.ts → tree-op-types-egdarvH_.d.ts} +7 -3
  77. package/dist/{tree-package-fragment-CWFjgH6a.d.ts → tree-package-fragment-DjkH4ESI.d.ts} +4 -70
  78. package/dist/{tree-session-contract-B2HfGt79.d.ts → tree-session-contract-CGOOgPjW.d.ts} +29 -23
  79. package/dist/{tree-store-APgWx6qn.d.ts → tree-store-DKJB0IcA.d.ts} +2 -2
  80. package/package.json +7 -2
  81. package/dist/automation.d.cts +0 -82
  82. package/dist/binding.d.cts +0 -153
  83. package/dist/chunk-2PIHW2QM.cjs +0 -1
  84. package/dist/chunk-2QTY5S6T.js +0 -1
  85. package/dist/chunk-4Z5MODAE.cjs +0 -2
  86. package/dist/chunk-5TKAPFZT.cjs +0 -2
  87. package/dist/chunk-DRQHIQ4R.cjs +0 -1
  88. package/dist/chunk-F2K6SDHA.cjs +0 -20
  89. package/dist/chunk-FBA57EUJ.js +0 -2
  90. package/dist/chunk-KTAQ7BRQ.js +0 -20
  91. package/dist/chunk-LBAHXZCU.cjs +0 -5
  92. package/dist/chunk-MCDUQYWP.js +0 -5
  93. package/dist/chunk-MQP26KCF.js +0 -1
  94. package/dist/chunk-NDJGSR6M.cjs +0 -19
  95. package/dist/chunk-NJNFJPGB.cjs +0 -11
  96. package/dist/chunk-O5M4CR4P.cjs +0 -2
  97. package/dist/chunk-UKUOZXUD.js +0 -19
  98. package/dist/chunk-VQ4R5LTU.js +0 -2
  99. package/dist/chunk-ZBEJHJN2.js +0 -11
  100. package/dist/chunk-ZVTW7RGD.js +0 -2
  101. package/dist/collaboration/replication.d.cts +0 -216
  102. package/dist/collaboration.d.cts +0 -176
  103. package/dist/contracts/document.d.cts +0 -273
  104. package/dist/contracts/editor.d.cts +0 -10
  105. package/dist/contracts/interaction.d.cts +0 -10
  106. package/dist/contracts/modules.d.cts +0 -130
  107. package/dist/contracts/types.d.cts +0 -562
  108. package/dist/custom-node-writes-C46r3_5O.d.cts +0 -310
  109. package/dist/document-properties-D6Ahr8D6.d.cts +0 -28
  110. package/dist/document-properties-D6Ahr8D6.d.ts +0 -28
  111. package/dist/editor-AJ06hyyg.d.cts +0 -1994
  112. package/dist/editor.d.cts +0 -393
  113. package/dist/failure-BnGjoXf0.d.cts +0 -64
  114. package/dist/index-Cbw4lkOt.d.cts +0 -3391
  115. package/dist/index.d.cts +0 -23
  116. package/dist/layout.d.cts +0 -2486
  117. package/dist/note-properties-Y6qYh2Hv.d.cts +0 -67
  118. package/dist/omml-equation-DB8d-jCq.d.cts +0 -84
  119. package/dist/output.d.cts +0 -74
  120. package/dist/protocol-BsmQgblT.d.ts +0 -1358
  121. package/dist/review-items-CaAkgi5s.d.cts +0 -360
  122. package/dist/review-reads-DEsV0OOW.d.cts +0 -163
  123. package/dist/revision-projection-DXbrfNGD.d.cts +0 -156
  124. package/dist/semantic-cell-selection-BMhku3B1.d.cts +0 -451
  125. package/dist/semantic-interaction-DUAnxbgf.d.cts +0 -160
  126. package/dist/semantic-paint-DufNL1Zr.d.cts +0 -247
  127. package/dist/semantic-records-92UnKeU_.d.ts +0 -2821
  128. package/dist/shaped-measurer-BWbindlI.d.ts +0 -168
  129. package/dist/store.d.cts +0 -2500
  130. package/dist/tree-op-types-BUulYD5y.d.cts +0 -3099
  131. package/dist/tree-package-fragment-Dhyw7oPm.d.cts +0 -732
  132. package/dist/tree-session-contract-BY9xd7s_.d.cts +0 -613
  133. package/dist/tree-store-DEEQ9wz_.d.cts +0 -416
package/dist/layout.js CHANGED
@@ -1 +1 @@
1
- export{za as AUTO_PARAGRAPH_SPACING_PT,Gc as AUTO_PREFERRED_WIDTH,Hc as CELL_PAD,ta as COMPOUND_BORDER_MIN_GAP_PT,sa as COMPOUND_BORDER_MIN_STROKE_PT,Od as DEFAULT_CANVAS_FONT_STACK,Ic as DEFAULT_CELL_MARGINS,ra as DEFAULT_PAGE_GEOMETRY,ob as DEFAULT_REVISION_DISPLAY_MODE,z as DEFAULT_RUN_STYLE,jc as DEFAULT_SECTION_PROPERTIES,Sa as DEFAULT_TAB_INTERVAL_PT,Ra as DEFAULT_TAB_INTERVAL_TWIPS,Tc as DEFAULT_VERTICAL_WEIGHT,Kb as EMPTY_NUMBERING_INDEX,Ua as EMPTY_TAB_STOPS,d as FontResolutionError,I as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,n as HARFBUZZ_SHAPING_LIBRARY,q as HarfBuzzShapingError,ya as MAX_BORDER_SPACE_PT,xa as MAX_BORDER_WIDTH_PT,ic as MAX_DOCUMENT_SECTIONS,Ed as MAX_EACH_PAGE_MARK_CANDIDATES,Hb as MAX_LVL_OVERRIDES,bb as MAX_LVL_TEXT_LENGTH,ab as MAX_MARKER_TEXT_LENGTH,qd as MAX_NOTES_LAID_OUT,rd as MAX_NOTE_FRAGMENTS,Dd as MAX_NOTE_OVERFLOW_PAGES,Cd as MAX_NOTE_REFLOW_ATTEMPTS,Gb as MAX_NUMBERING_DEFINITIONS,wa as MAX_PARAGRAPH_SPACING_PT,Rb as MAX_STYLE_BASED_ON_DEPTH,Sb as MAX_STYLE_DEFINITIONS,yc as MAX_TABLE_BORDER_STROKES,Jc as MAX_TABLE_NESTING,hd as MAX_TABLE_ROW_FRAGMENTS,Kc as MAX_TABLE_ROW_HEIGHT_PT,Qa as MAX_TAB_POSITION_TWIPS,Pa as MAX_TAB_STOPS,Ba as PARAGRAPH_BORDER_SIDES,ga as ResolvedCache,Aa as SINGLE_LINE_SPACING,Ta as TAB_LEADER_GLYPH,id as TablePaginationError,F as UnsupportedScriptError,X as WORD_SEGMENTER_LOCALE,Xd as anchorLineY,Oa as appliedSpaceBefore,Fa as applyLineSpacing,Jd as attachNotesToLayout,E as baselineShiftPtOf,Fc as borderExtentPt,Cc as borderWeight,La as bottomBorderExtentPt,_ as boundedFallbackWordSegments,f as boundedStructuralFontValidator,Ib as buildNumberingIndex,Gd as buildPageRefIndex,Ub as buildStyleCascadeTable,ea as captureOperationSnapshot,le as caretAt,ad as caretBoxOnLine,je as caretStops,ke as caretStopsForBlocks,Vb as cascadeParagraphFormatting,Xb as cascadeRunProperties,Wb as cascadedBottomBorder,Ia as cascadedParagraphBorders,Va as cascadedTabStops,ue as cellSelectionBetween,ye as cellSelectionRects,ze as cellSelectionText,cb as clampListValue,Na as collapsedSpaceBefore,se as compositionAnchor,ua as computeDoubleBorderMetricsPt,Id as computeFootnoteReserves,Zc as contentControlAtPoint,ne as contentControlAtSemantic,Wd as contentControlBoundaries,pd as contentControlHoldingParagraph,od as contentControlRecordsInPart,oe as contentControlsInLayout,oa as contentControlsOfLayout,$ as createBoundedFallbackWordBoundary,aa as createDefaultWordBoundary,Md as createFixedMeasurer,g as createFontResourceSnapshot,t as createHarfBuzzTextShaper,Z as createIntlWordBoundary,ae as createLayoutScheduler,Ld as createLayoutSession,Lb as createListCounterState,Fb as createParagraphLayoutCache,_d as createShapedMeasurer,l as createShapedRun,i as createShapingEnvironment,xd as defaultNoteSeparatorRuleStyle,Ya as defaultTabIntervalFromSettings,qe as deletedTextBoundaries,fc as deriveNoteDisplayMarks,gc as deriveNoteDisplayMarksResolved,B as displayText,Nc as documentOrder,xc as effectiveBorderSide,qa as effectiveContentControlLock,ld as emptyTocPlaceholderParagraphIds,md as emptyTocSuppressedResultParagraphIds,pc as enumerateDocumentSections,rc as enumerateDocumentSectionsBounded,Oc as everyStoryOrder,kb as expandLvlText,Hd as filterRefsOnPage,bd as findDrawingOverlayFrameInLayout,ud as findSeparatorNote,h as fixedPoint,e as fontRequestKey,db as formatDecimal,eb as formatDecimalZero,ib as formatLowerLetter,gb as formatLowerRoman,jb as formatNumFmt,lb as formatPageNumber,wb as formatRevisionOf,hb as formatUpperLetter,fb as formatUpperRoman,Fd as fragmentOwnsAtomOffset,ma as fragmentsOfParagraph,sc as geometryOfSection,L as graphemeBoundaryEpoch,P as graphemeCount,R as graphemeOffsetToUtf16,fa as guardOperationSnapshot,r as harfBuzzFontValidator,Wc as hitTestPage,me as hitTestSemantic,Yc as hitTestSheet,o as initializeHarfBuzz,K as intlGraphemeBoundary,Qd as isCanvasMeasurementAvailable,V as isCumulativeGeometryTrustedFromLineOrigin,Vc as isFurniturePoint,U as isGeometryTrustedCaretOffset,p as isHarfBuzzInitialized,J as isIntlSegmenterAvailable,Y as isIntlWordSegmenterAvailable,yd as isMarkerOnlySeparatorNote,Tb as isValidStyleId,T as isWholeGraphemeHorizontalBoundary,G as itemizeScriptFontSlots,de as keyedRangeRects,Ob as layoutEquation,nd as layoutHeaderFooterStory,wd as layoutNoteById,zd as layoutNoteSeparator,vd as layoutNoteStory,Nd as layoutSemanticDocument,na as lineAtPosition,_c as lineEndOffset,ja as linesOf,ec as listMarkerBox,ub as markRevisionRemovesMark,C as measureDisplayText,ac as mergeListIndent,re as moveCaret,Za as nextTabDestination,td as normalNotesOf,hc as noteDisplayMarkMap,sd as noteLineIdPrefix,uc as noteMarkKey,Bd as noteSeparatorAreaBox,Db as noteStoryBlocks,Uc as pageAtY,Td as pageRefPageNumbersFromLayout,$d as pagesToMaterialize,Ka as paragraphBorderExtentPt,Ja as paragraphBorderStrokeWidthPt,Ha as paragraphBorders,Ma as paragraphBordersFingerprint,va as paragraphBreaksBefore,Ga as paragraphContextualSpacing,ha as paragraphFragmentsOf,ia as paragraphFragmentsOfBlocks,Eb as paragraphLayoutKey,Ea as paragraphLineSpacing,yb as paragraphMarkDeleted,sb as paragraphMarkFormatRevisionOf,vb as paragraphMarkRevisionOf,rb as paragraphMarkRevisionsOf,nc as paragraphSectionNode,x as paragraphShading,y as paragraphShadingBox,Da as paragraphSpacing,Wa as paragraphTabStops,pe as paragraphTextFromLayout,we as paragraphsInCells,mb as parseAutonumInstruction,kc as parsePageNumbering,nb as parseRefInstruction,lc as parseSectionProperties,Ud as planRefFieldResultRefresh,he as positionPastDeletion,vc as projectedNoteMarkText,qc as projectedSectionSourceIndexes,Kd as provisionalNoteMarks,zc as readBorderSide,Bc as readCellBorders,_b as readNumPr,oc as readSectionProperties,Ac as readTableBorders,Mc as readTableStructure,O as resetGraphemeBoundary,Dc as resolveBorderConflict,Sd as resolveDefaultSurfaceMeasurer,ba as resolveDefaultWordBoundary,Jb as resolveNumberingLevel,v as resolveOoxmlShadingFill,Yb as resolveParagraphLayoutInputs,A as resolveRunStyle,cc as resolveStoryListItems,tc as resolveStoryRefFields,u as resolveStrictHexFill,Ec as resolveTableCellBorderGrid,Yd as reviewAnchorIndex,Zd as reviewItemGeometry,pb as revisionAuthorFilter,Ab as revisionRemovesParagraph,xb as revisionsAreDeletion,qb as revisionsVisible,s as roundFontUnitToFixedPoint,D as runStylesEqual,M as segmentGraphemes,ca as segmentWords,be as selectionRects,W as semanticHorizontalBoundaries,N as setGraphemeBoundary,w as shadingFillFromElement,S as shapedHorizontalBoundaries,m as shapedRunComparatorInputs,k as shapingEnvironmentFingerprint,j as shapingEnvironmentFingerprintInputs,tb as shownMarkRevision,$c as spanOffsetX,xe as spansInCells,te as spansInSelection,Cb as storyBlocks,H as styleForFontSlot,Ad as syntheticSeparatorBox,_a as tabAdvanceWidth,$a as tabStopsFingerprint,Ae as tableContextAt,Lc as tableOriginX,kd as tocFieldChromeParagraphIds,Rd as tryCreateCanvasMeasurer,pa as unionLayoutBoxes,Q as utf16OffsetToGrapheme,bc as walkStoryParagraphs,Xa as withDefaultTabInterval,$b as withNumberingStyleLinks,dc as withResolvedListItems,ie as wordBoundary,da as wordSegmentsToGraphemeRecords}from'./chunk-UKUOZXUD.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';import'./chunk-MQP26KCF.js';import'./chunk-ZVTW7RGD.js';export{Ba as activeReviewItem,Da as commentBodyText,Ea as commentInitials,ya as firstReviewRange,Ja as paragraphOrderOfPart,wa as reviewItemKey,za as reviewItemPositionRank,xa as reviewItemRanges,Aa as reviewItemsAt,Ca as reviewThreadRootOf}from'./chunk-FBA57EUJ.js';export{mc as MAX_SDT_NESTING,Cg as MAX_TABLE_COLUMNS,Of as W15_NAMESPACE_URI,rc as collectFlowBlocks,qc as contentControlContentChildren,nc as isContentControl,oc as isContentControlContent,a as sha256FontBytes}from'./chunk-ZBEJHJN2.js';
1
+ export{Xb as AUTO_PARAGRAPH_SPACING_PT,Ic as AUTO_PREFERRED_WIDTH,Jc as CELL_PAD,Rb as COMPOUND_BORDER_MIN_GAP_PT,Qb as COMPOUND_BORDER_MIN_STROKE_PT,Ge as DEFAULT_CANVAS_FONT_STACK,Kc as DEFAULT_CELL_MARGINS,Ma as DEFAULT_PAGE_GEOMETRY,mb as DEFAULT_REVISION_DISPLAY_MODE,P as DEFAULT_RUN_STYLE,hd as DEFAULT_SECTION_PROPERTIES,Gb as DEFAULT_TAB_INTERVAL_PT,Fb as DEFAULT_TAB_INTERVAL_TWIPS,Ed as DEFAULT_VERTICAL_WEIGHT,Bd as EMPTY_NUMBERING_INDEX,Ib as EMPTY_TAB_STOPS,d as FontResolutionError,Y as GRAPHEME_SEGMENTER_LOCALE,c as HARD_MAX_AGGREGATE_FONT_BYTES,a as HARD_MAX_FONT_BYTES,b as HARD_MAX_FONT_SOURCES,q as HARFBUZZ_SHAPING_LIBRARY,t as HarfBuzzShapingError,A as LayoutShapingConfigurationError,Wb as MAX_BORDER_SPACE_PT,Vb as MAX_BORDER_WIDTH_PT,gd as MAX_DOCUMENT_SECTIONS,xe as MAX_EACH_PAGE_MARK_CANDIDATES,yd as MAX_LVL_OVERRIDES,cb as MAX_LVL_TEXT_LENGTH,bb as MAX_MARKER_TEXT_LENGTH,je as MAX_NOTES_LAID_OUT,ke as MAX_NOTE_FRAGMENTS,we as MAX_NOTE_OVERFLOW_PAGES,ve as MAX_NOTE_REFLOW_ATTEMPTS,xd as MAX_NUMBERING_DEFINITIONS,Ub as MAX_PARAGRAPH_SPACING_PT,sc as MAX_STYLE_BASED_ON_DEPTH,tc as MAX_STYLE_DEFINITIONS,Ac as MAX_TABLE_BORDER_STROKES,Mc as MAX_TABLE_NESTING,Ud as MAX_TABLE_ROW_FRAGMENTS,Nc as MAX_TABLE_ROW_HEIGHT_PT,Eb as MAX_TAB_POSITION_TWIPS,Db as MAX_TAB_STOPS,Zb as PARAGRAPH_BORDER_SIDES,wa as ResolvedCache,Yb as SINGLE_LINE_SPACING,Hb as TAB_LEADER_GLYPH,Vd as TablePaginationError,V as UnsupportedScriptError,la as WORD_SEGMENTER_LOCALE,Pe as anchorLineY,kc as appliedSpaceBefore,bc as applyLineSpacing,Ce as attachNotesToLayout,U as baselineShiftPtOf,Hc as borderExtentPt,Ec as borderWeight,hc as bottomBorderExtentPt,oa as boundedFallbackWordSegments,i as boundedStructuralFontValidator,zd as buildNumberingIndex,ze as buildPageRefIndex,uc as buildStyleCascadeTable,ua as captureOperationSnapshot,jf as caretAt,Nd as caretBoxOnLine,hf as caretStops,if as caretStopsForBlocks,vc as cascadeParagraphFormatting,xc as cascadeRunProperties,wc as cascadedBottomBorder,ec as cascadedParagraphBorders,Jb as cascadedTabStops,sf as cellSelectionBetween,wf as cellSelectionRects,xf as cellSelectionText,db as clampListValue,jc as collapsedSpaceBefore,qf as compositionAnchor,Sb as computeDoubleBorderMetricsPt,Be as computeFootnoteReserves,Kd as contentControlAtPoint,lf as contentControlAtSemantic,Oe as contentControlBoundaries,ie as contentControlHoldingParagraph,he as contentControlRecordsInPart,mf as contentControlsInLayout,Ja as contentControlsOfLayout,pa as createBoundedFallbackWordBoundary,qa as createDefaultWordBoundary,Zd as createDocumentFurnitureSource,ae as createDocumentLinkProjectors,_d as createDocumentNotesInput,Cd as createDocumentStyleDependencies,be as createFieldLinkRegistry,y as createFixedMeasurer,j as createFontResourceSnapshot,w as createHarfBuzzTextShaper,na as createIntlWordBoundary,Xe as createLayoutScheduler,Ee as createLayoutSession,Ve as createLayoutShapedMeasurer,H as createLayoutShaping,Wc as createListCounterState,Vc as createParagraphLayoutCache,Ue as createShapedMeasurer,o as createShapedRun,l as createShapingEnvironment,qe as defaultNoteSeparatorRuleStyle,Mb as defaultTabIntervalFromSettings,of as deletedTextBoundaries,dd as deriveNoteDisplayMarks,ed as deriveNoteDisplayMarksResolved,R as displayText,J as disposeLayoutShaping,Ra as documentOrder,$d as documentRelationshipTargetIn,zc as effectiveBorderSide,La as effectiveContentControlLock,ee as emptyTocPlaceholderParagraphIds,fe as emptyTocSuppressedResultParagraphIds,nd as enumerateDocumentSections,pd as enumerateDocumentSectionsBounded,Sa as everyStoryOrder,lb as expandLvlText,Ta as exportSourceRangeOf,Ae as filterRefsOnPage,Od as findDrawingOverlayFrameInLayout,ne as findSeparatorNote,k as fixedPoint,g as fontRequestKey,Fa as forEachSemanticDrawing,Ua as forEachSemanticSpan,Da as forEachSemanticStory,Ga as forEachStoryParagraphFragment,eb as formatDecimal,fb as formatDecimalZero,jb as formatLowerLetter,hb as formatLowerRoman,kb as formatNumFmt,Qc as formatPageNumber,vb as formatRevisionOf,ib as formatUpperLetter,gb as formatUpperRoman,ye as fragmentOwnsAtomOffset,Ha as fragmentsOfParagraph,qd as geometryOfSection,$ as graphemeBoundaryEpoch,da as graphemeCount,fa as graphemeOffsetToUtf16,va as guardOperationSnapshot,u as harfBuzzFontValidator,Hd as hitTestPage,kf as hitTestSemantic,Jd as hitTestSheet,r as initializeHarfBuzz,_ as intlGraphemeBoundary,Ie as isCanvasMeasurementAvailable,ja as isCumulativeGeometryTrustedFromLineOrigin,Gd as isFurniturePoint,ia as isGeometryTrustedCaretOffset,s as isHarfBuzzInitialized,Z as isIntlSegmenterAvailable,ma as isIntlWordSegmenterAvailable,re as isMarkerOnlySeparatorNote,rc as isValidStyleId,ha as isWholeGraphemeHorizontalBoundary,W as itemizeScriptFontSlots,$e as keyedRangeRects,oc as layoutEquation,G as layoutFontConfigurationFingerprint,Yd as layoutHeaderFooterStory,pe as layoutNoteById,se as layoutNoteSeparator,oe as layoutNoteStory,Fe as layoutSemanticDocument,Ia as lineAtPosition,Ld as lineEndOffset,Na as lineSegments,Aa as linesOf,cd as listMarkerBox,tb as markRevisionRemovesMark,S as measureDisplayText,_c as mergeListIndent,pf as moveCaret,Nb as nextTabDestination,me as normalNotesOf,fd as noteDisplayMarkMap,le as noteLineIdPrefix,vd as noteMarkKey,ue as noteSeparatorAreaBox,Cb as noteStoryBlocks,Fd as pageAtY,Le as pageRefPageNumbersFromLayout,We as pagesToMaterialize,gc as paragraphBorderExtentPt,fc as paragraphBorderStrokeWidthPt,dc as paragraphBorders,ic as paragraphBordersFingerprint,Tb as paragraphBreaksBefore,cc as paragraphContextualSpacing,ya as paragraphFragmentsOf,za as paragraphFragmentsOfBlocks,Uc as paragraphLayoutKey,ac as paragraphLineSpacing,xb as paragraphMarkDeleted,rb as paragraphMarkFormatRevisionOf,ub as paragraphMarkRevisionOf,qb as paragraphMarkRevisionsOf,ld as paragraphSectionNode,N as paragraphShading,O as paragraphShadingBox,$b as paragraphSpacing,Kb as paragraphTabStops,nf as paragraphTextFromLayout,uf as paragraphsInCells,Sc as parseAutonumInstruction,id as parsePageNumbering,Tc as parseRefInstruction,jd as parseSectionProperties,Me as planRefFieldResultRefresh,ff as positionPastDeletion,E as prepareLayoutFontConfiguration,wd as projectedNoteMarkText,od as projectedSectionSourceIndexes,De as provisionalNoteMarks,Bc as readBorderSide,Dc as readCellBorders,Yc as readNumPr,md as readSectionProperties,Cc as readTableBorders,Pc as readTableStructure,ca as resetGraphemeBoundary,Fc as resolveBorderConflict,Ke as resolveDefaultSurfaceMeasurer,ra as resolveDefaultWordBoundary,Ad as resolveNumberingLevel,L as resolveOoxmlShadingFill,yc as resolveParagraphLayoutInputs,Q as resolveRunStyle,ad as resolveStoryListItems,rd as resolveStoryRefFields,K as resolveStrictHexFill,Gc as resolveTableCellBorderGrid,Qe as reviewAnchorIndex,Re as reviewItemGeometry,ob as revisionAuthorFilter,zb as revisionRemovesParagraph,wb as revisionsAreDeletion,pb as revisionsVisible,v as roundFontUnitToFixedPoint,T as runStylesEqual,aa as segmentGraphemes,sa as segmentWords,Ze as selectionRects,ka as semanticHorizontalBoundaries,ba as setGraphemeBoundary,M as shadingFillFromElement,ga as shapedHorizontalBoundaries,p as shapedRunComparatorInputs,n as shapingEnvironmentFingerprint,m as shapingEnvironmentFingerprintInputs,sb as shownMarkRevision,Md as spanOffsetX,vf as spansInCells,rf as spansInSelection,Bb as storyBlocks,X as styleForFontSlot,te as syntheticSeparatorBox,Ob as tabAdvanceWidth,Pb as tabStopsFingerprint,yf as tableContextAt,Oc as tableOriginX,de as tocFieldChromeParagraphIds,Je as tryCreateCanvasMeasurer,Ka as unionLayoutBoxes,ea as utf16OffsetToGrapheme,$c as walkStoryParagraphs,Lb as withDefaultTabInterval,Zc as withNumberingStyleLinks,bd as withResolvedListItems,gf as wordBoundary,ta as wordSegmentsToGraphemeRecords}from'./chunk-RJSB6RJ7.js';export{a as setHarfBuzzWasmUrl}from'./chunk-RIYSCEFQ.js';import'./chunk-VP7SDFCM.js';import'./chunk-PBOIGBDO.js';export{Ea as activeReviewItem,Ga as commentBodyText,Ha as commentInitials,Ba as firstReviewRange,wa as paragraphOrderOfPart,za as reviewItemKey,Ca as reviewItemPositionRank,Aa as reviewItemRanges,Da as reviewItemsAt,Fa as reviewThreadRootOf}from'./chunk-KFELX7CN.js';export{nc as MAX_SDT_NESTING,Ng as MAX_TABLE_COLUMNS,tf as W15_NAMESPACE_URI,sc as collectFlowBlocks,rc as contentControlContentChildren,oc as isContentControl,pc as isContentControlContent,a as sha256FontBytes}from'./chunk-AREFLNUP.js';
@@ -1,4 +1,4 @@
1
- import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-D6HzlPR4.js';
1
+ import { O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage } from './tree-op-types-egdarvH_.js';
2
2
 
3
3
  /** `w:pos` — where a section's footnotes are laid out. */
4
4
  type FootnotePosition = 'pageBottom' | 'beneathText' | 'sectEnd' | 'docEnd';
@@ -64,4 +64,4 @@ declare function isLegalFootnotePosition(pos: string): pos is FootnotePosition;
64
64
  /** Whether a file-supplied string is a legal `w:numRestart` value. Narrows the type. */
65
65
  declare function isLegalNumRestart(value: string): value is NoteNumRestart;
66
66
 
67
- export { type AuthoredNoteProperties as A, DEFAULT_ENDNOTE_PROPERTIES as D, type EndnotePosition as E, type FootnotePosition as F, type NoteNumRestart as N, type ResolvedFootnoteProperties as R, type ResolvedEndnoteProperties as a, DEFAULT_FOOTNOTE_PROPERTIES as b, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
67
+ export { type AuthoredNoteProperties as A, DEFAULT_ENDNOTE_PROPERTIES as D, type EndnotePosition as E, type FootnotePosition as F, type NoteNumRestart as N, type ResolvedEndnoteProperties as R, DEFAULT_FOOTNOTE_PROPERTIES as a, type ResolvedFootnoteProperties as b, authoredDocumentEndnoteProperties as c, authoredDocumentFootnoteProperties as d, authoredEndnotePropertiesFromSectPr as e, authoredFootnotePropertiesFromSectPr as f, isLegalFootnotePosition as g, isLegalNumRestart as h, isLegalEndnotePosition as i, resolveFootnoteProperties as j, parseAuthoredNoteProperties as p, resolveEndnoteProperties as r, settingsPartOf as s };
@@ -1,4 +1,4 @@
1
- import { c as OoxmlNodeId, d as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-D6HzlPR4.js';
1
+ import { d as OoxmlNodeId, e as OoxmlGenericElementNode, a as OoxmlNode } from './tree-op-types-egdarvH_.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 chunkO5M4CR4P_cjs=require('./chunk-O5M4CR4P.cjs');require('./chunk-NDJGSR6M.cjs'),require('./chunk-DRQHIQ4R.cjs'),require('./chunk-5TKAPFZT.cjs'),require('./chunk-4Z5MODAE.cjs'),require('./chunk-NJNFJPGB.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkO5M4CR4P_cjs.i}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkO5M4CR4P_cjs.n}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkO5M4CR4P_cjs.l}});
1
+ 'use strict';var chunkAS7YZNQE_cjs=require('./chunk-AS7YZNQE.cjs');require('./chunk-AVGCKH6A.cjs'),require('./chunk-FGBADUSK.cjs'),require('./chunk-PXKZUTHX.cjs'),require('./chunk-2YH4MSHX.cjs'),require('./chunk-24APKZAN.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunkAS7YZNQE_cjs.j}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunkAS7YZNQE_cjs.o}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunkAS7YZNQE_cjs.m}});
package/dist/output.d.ts CHANGED
@@ -1,10 +1,10 @@
1
- import { R as ReviewAuthorInfo } from './semantic-paint-WJD2KeG1.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-WJD2KeG1.js';
3
- import { S as SemanticLayout } from './semantic-records-92UnKeU_.js';
4
- import './tree-op-types-D6HzlPR4.js';
1
+ import { R as ReviewAuthorInfo } from './semantic-paint-f7SqN4oW.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-f7SqN4oW.js';
3
+ import { S as SemanticLayout } from './semantic-records-EIdwId-a.js';
4
+ import './tree-op-types-egdarvH_.js';
5
5
  import './contracts/types.js';
6
- import './revision-projection-BeXVrSSV.js';
7
- import './omml-equation-BY49UOIF.js';
6
+ import './revision-projection-DHRJH48u.js';
7
+ import './omml-equation-BpRmfDAf.js';
8
8
 
9
9
  /** A rectangle in page-content coordinates, on a named page. */
10
10
  interface OverlayRect {
package/dist/output.js CHANGED
@@ -1 +1 @@
1
- export{i as DEFAULT_FIELD_SHADING,n as paintSelectionOverlay,l as paintSemanticLayout}from'./chunk-VQ4R5LTU.js';import'./chunk-UKUOZXUD.js';import'./chunk-RIYSCEFQ.js';import'./chunk-MQP26KCF.js';import'./chunk-ZVTW7RGD.js';import'./chunk-FBA57EUJ.js';import'./chunk-ZBEJHJN2.js';
1
+ export{j as DEFAULT_FIELD_SHADING,o as paintSelectionOverlay,m as paintSemanticLayout}from'./chunk-XCESLTJL.js';import'./chunk-RJSB6RJ7.js';import'./chunk-RIYSCEFQ.js';import'./chunk-VP7SDFCM.js';import'./chunk-PBOIGBDO.js';import'./chunk-KFELX7CN.js';import'./chunk-AREFLNUP.js';
@@ -1,5 +1,5 @@
1
- import { H as HeaderFooterVariant } from './tree-package-fragment-Dhyw7oPm.cjs';
2
- import { N as NoteKind } from './tree-store-DEEQ9wz_.cjs';
1
+ import { H as HeaderFooterVariant } from './hf-references-DTrHkktY.js';
2
+ import { N as NoteKind } from './tree-store-DKJB0IcA.js';
3
3
 
4
4
  /** Alignment as this protocol publishes it. `Mixed`/`Unknown` are read-only answers. */
5
5
  type AutomationAlignment = 'Mixed' | 'Unknown' | 'Left' | 'Centered' | 'Right' | 'Justified';
@@ -203,7 +203,7 @@ type AutomationParagraphRef = {
203
203
  interface AutomationSearchOptions {
204
204
  readonly matchCase?: boolean;
205
205
  readonly matchWholeWord?: boolean;
206
- /** Text view to search. `allMarkup` preserves the historical behavior. */
206
+ /** Display or raw model text to search. `allMarkup` preserves the historical behavior. */
207
207
  readonly projection?: AutomationTextProjection;
208
208
  /** Not supported; `true` is refused. Punctuation-insensitive matching is not implemented. */
209
209
  readonly ignorePunct?: boolean;
@@ -215,12 +215,14 @@ interface AutomationSearchOptions {
215
215
  readonly limit?: number;
216
216
  }
217
217
  /**
218
- * Which revision text an automation read exposes.
218
+ * Which text an automation read exposes.
219
219
  *
220
220
  * `allMarkup` includes pending insertions, deletions, and both sides of replacements. `original`
221
221
  * matches Word's Original review view: deletions remain visible and insertions are hidden.
222
+ * Both are display text and expand saved field results. `model` returns raw model text with
223
+ * atomic fields represented by `U+FFFC`. Only `model` shares the protocol's offset vocabulary.
222
224
  */
223
- type AutomationTextProjection = 'allMarkup' | 'original';
225
+ type AutomationTextProjection = 'allMarkup' | 'original' | 'model';
224
226
  /** Where a selection lands. `start`/`end` collapse it to one edge of the span. */
225
227
  type AutomationSelectionMode = 'select' | 'start' | 'end';
226
228
  /**
@@ -260,14 +262,18 @@ type AutomationOperation =
260
262
  * Text of a body or a paragraph.
261
263
  *
262
264
  * A story reads as its paragraphs joined by a carriage return — one paragraph mark, one
263
- * `\r` — which is the separator Word's own text property uses.
265
+ * `\r` — which is the separator Word's own text property uses. Display projections expand
266
+ * fields, so clients must not derive model offsets from this text.
264
267
  */
265
268
  | {
266
269
  readonly op: 'getText';
267
270
  readonly target: AutomationHandle;
268
271
  readonly projection?: AutomationTextProjection;
269
272
  }
270
- /** Text between two endpoints, with a carriage return at every paragraph mark crossed. */
273
+ /**
274
+ * Display text between two endpoints, with a carriage return at each paragraph boundary.
275
+ * Use the `model` projection when a client needs text in the endpoint offset vocabulary.
276
+ */
271
277
  | {
272
278
  readonly op: 'getSpanText';
273
279
  readonly span: AutomationSpanRef;
@@ -1170,11 +1176,11 @@ interface AutomationError {
1170
1176
  /**
1171
1177
  * One end of a stretch of a story: a paragraph, and a UTF-16 offset in it.
1172
1178
  *
1173
- * The only addressing vocabulary in this protocol. A stable paragraph handle plus a model
1174
- * offset is what the tree ops take, what selection uses and what the layout reports — so a
1175
- * position a consumer reads and a position it then writes at mean the same thing. Painted DOM
1176
- * indices and document-wide character counters appear nowhere: the first is a picture, and the
1177
- * second is a coordinate space no part of the engine maintains.
1179
+ * The only addressing vocabulary in this protocol. A stable paragraph handle plus a raw model
1180
+ * offset is what tree operations, selection, and layout use. Display text reads can expand field
1181
+ * atoms and apply a review view. A client must not calculate offsets from display text. It can
1182
+ * request the `model` projection when it needs text in this offset vocabulary. Painted DOM
1183
+ * indices and document-wide character counters appear nowhere.
1178
1184
  */
1179
1185
  interface AutomationEndpoint {
1180
1186
  /**
@@ -1,4 +1,4 @@
1
- import { g as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-D6HzlPR4.js';
1
+ import { c as OoxmlElement, O as OoxmlPart, b as OoxmlPackage, R as RevisionAddress } from './tree-op-types-egdarvH_.js';
2
2
 
3
3
  /** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
4
4
  declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
@@ -357,4 +357,4 @@ declare function activeReviewItem(items: readonly ReviewItem[], position: Review
357
357
  */
358
358
  declare function reviewThreadRootOf(items: readonly ReviewItem[], comment: ReviewCommentItem): ReviewItem;
359
359
 
360
- export { type CommentRecord as C, type ReviewModelInput as R, W15_NAMESPACE_URI as W, type ReviewItem as a, type ReviewRevisionItem as b, type ReviewCommentItem as c, type ReviewCustomItem as d, type ReviewPosition as e, type ReviewRange as f, type ReviewRevisionKind as g, type CommentThreadState as h, type CommentAnchor as i, type CommentPosition as j, activeReviewItem as k, firstReviewRange as l, reviewItemPositionRank as m, reviewItemRanges as n, reviewItemsAt as o, reviewThreadRootOf as p, commentAnchorsOfStory as q, reviewItemKey as r, commentsOfPart as s, hasAnyComment as t, threadStateOfPart as u };
360
+ export { type CommentRecord as C, type ReviewModelInput as R, W15_NAMESPACE_URI as W, type ReviewItem as a, type ReviewRevisionItem as b, type ReviewCommentItem as c, type ReviewCustomItem as d, type ReviewPosition as e, type ReviewRange as f, type ReviewRevisionKind as g, type CommentThreadState as h, type CommentAnchor as i, type CommentPosition as j, commentAnchorsOfStory as k, commentsOfPart as l, firstReviewRange as m, hasAnyComment as n, reviewItemRanges as o, activeReviewItem as p, reviewItemPositionRank as q, reviewItemKey as r, reviewItemsAt as s, threadStateOfPart as t, reviewThreadRootOf as u };
@@ -1,5 +1,5 @@
1
- import { a as OoxmlNode, g as OoxmlElement, h as OoxmlContentControlNode, d as OoxmlGenericElementNode, i as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-D6HzlPR4.js';
2
- import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-CCS1h93f.js';
1
+ import { a as OoxmlNode, c as OoxmlElement, r as OoxmlContentControlNode, e as OoxmlGenericElementNode, s as OoxmlContentControlContentNode, O as OoxmlPart } from './tree-op-types-egdarvH_.js';
2
+ import { C as CommentRecord, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, e as ReviewPosition, h as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem } from './review-items-DYRx187i.js';
3
3
 
4
4
  /** Nested content-control wrappers deeper than this stop flattening; content stays preserved. */
5
5
  declare const MAX_CONTENT_CONTROL_NESTING = 32;
@@ -47,12 +47,28 @@ declare function walkStoryBlocks(children: readonly OoxmlNode[], depth: number,
47
47
  */
48
48
  declare function walkAllStoryParagraphs(children: readonly OoxmlNode[], sdtDepth: number, visit: (paragraph: OoxmlElement) => void): void;
49
49
  /**
50
- * Paragraph-level inline sequence — runs, hyperlinks, and inline content controls in order.
50
+ * Paragraph-level inline sequence — runs and their bounded containers in document order.
51
51
  *
52
52
  * `visit` receives each direct `w:r` and any other inline node the caller treats as opaque
53
- * (bookmarks, drawings, …). Hyperlinks and content controls are descended transparently.
53
+ * (bookmarks, drawings, …). Hyperlinks and controls are descended transparently. Callers
54
+ * that address the runs inside tracked revisions can opt into descending those wrappers too.
54
55
  */
55
- declare function walkParagraphInline(children: readonly OoxmlNode[], depth: number, visit: (child: OoxmlNode) => void): void;
56
+ declare function walkParagraphInline(children: readonly OoxmlNode[], depth: number, visit: (child: OoxmlNode) => void, options?: {
57
+ readonly descendRevisions?: boolean;
58
+ }): void;
59
+
60
+ /**
61
+ * Paragraph node id → document position, from the tree rather than from layout.
62
+ *
63
+ * Memoized on the immutable root: a derivation pass can ask repeatedly, and the shared answer
64
+ * stays read-only so a caller cannot poison later readers.
65
+ */
66
+ declare function paragraphOrderOfPart(part: OoxmlPart): ReadonlyMap<string, number>;
67
+ /**
68
+ * Like {@link paragraphOrderOfPart}, but descends into paragraphs so textbox paragraphs rank
69
+ * immediately after their host. Shallow order remains available for separate-story walks.
70
+ */
71
+ declare function deepParagraphOrderOfPart(part: OoxmlPart): ReadonlyMap<string, number>;
56
72
 
57
73
  /** Plain text of a comment's body, so a card never re-implements the run walk. */
58
74
  declare function commentBodyText(comment: CommentRecord): string;
@@ -140,24 +156,5 @@ interface LinkableReviewItem {
140
156
  * retain stale `parentRevisionId` values after edits move a revision.
141
157
  */
142
158
  declare function linkRevisionReplies<T extends LinkableReviewItem>(items: readonly T[]): T[];
143
- /**
144
- * Paragraph node id → document position, from the TREE rather than from a layout.
145
- *
146
- * Memoized on the immutable root: one full derivation pass asks this question three times
147
- * (replacement pairing, the queue's merged order, the session's cached order), and each
148
- * answer was a fresh full-tree walk. The instance is SHARED, so the return type is
149
- * ReadonlyMap: a caller mutating it would poison every later reader of this root.
150
- */
151
- declare function paragraphOrderOfPart(part: OoxmlPart): ReadonlyMap<string, number>;
152
- /**
153
- * Like {@link paragraphOrderOfPart}, but descends INTO paragraphs, so paragraphs nested
154
- * in a run's content — a textbox's `w:txbxContent` — rank right after their host.
155
- *
156
- * A separate function on purpose: the shallow order feeds the review queue's card
157
- * ordering, and re-ranking nested paragraphs there would move cards. This one exists for
158
- * position containment tests ("is the caret inside this range"), where a paragraph the
159
- * shallow order cannot see is a position that can never match.
160
- */
161
- declare function deepParagraphOrderOfPart(part: OoxmlPart): ReadonlyMap<string, number>;
162
159
 
163
- export { type LinkableReviewItem as L, MAX_CONTENT_CONTROL_NESTING as M, commentBodyText as a, commentInitials as b, collectFlowBlocks as c, contentControlContentChildren as d, isContentControlContent as e, collectReviewItems as f, commentItemsOf as g, contentControlContentOf as h, isContentControl as i, deepParagraphOrderOfPart as j, walkParagraphInline as k, linkRevisionReplies as l, walkStoryBlocks as m, paragraphOrderOfPart as p, revisionItemsOf as r, walkAllStoryParagraphs as w };
160
+ export { type LinkableReviewItem as L, MAX_CONTENT_CONTROL_NESTING as M, collectReviewItems as a, commentBodyText as b, collectFlowBlocks as c, commentInitials as d, commentItemsOf as e, contentControlContentOf as f, deepParagraphOrderOfPart as g, isContentControlContent as h, isContentControl as i, walkParagraphInline as j, walkStoryBlocks as k, linkRevisionReplies as l, contentControlContentChildren as m, paragraphOrderOfPart as p, revisionItemsOf as r, walkAllStoryParagraphs as w };
@@ -1,4 +1,4 @@
1
- import { a as OoxmlNode } from './tree-op-types-D6HzlPR4.js';
1
+ import { a as OoxmlNode } from './tree-op-types-egdarvH_.js';
2
2
 
3
3
  /**
4
4
  * What a revision wrapper asserts about the content inside it.
@@ -1,7 +1,7 @@
1
- import { O as OoxmlPart, g as OoxmlElement, a as OoxmlNode } from './tree-op-types-D6HzlPR4.js';
2
- import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, e as TableRowFragmentRecord, f as TableCellFragmentRecord } from './semantic-records-92UnKeU_.js';
3
- import { R as RevisionDisplayMode, a as RevisionAuthorFilter } from './revision-projection-BeXVrSSV.js';
4
- import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-BmQ7h2cq.js';
1
+ import { O as OoxmlPart, c as OoxmlElement, a as OoxmlNode } from './tree-op-types-egdarvH_.js';
2
+ import { P as PageGeometry, I as InlineDrawingRecord, A as AnchoredDrawingRecord, T as TextMeasurer, L as LineRecord, a as StyleSpanRecord, S as SemanticLayout, C as ContentControlBoundaryRecord, b as TableRowFragmentRecord, c as TableCellFragmentRecord } from './semantic-records-EIdwId-a.js';
3
+ import { R as RevisionDisplayMode, a as RevisionAuthorFilter } from './revision-projection-DHRJH48u.js';
4
+ import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-DZsDmPg5.js';
5
5
 
6
6
  /**
7
7
  * Hard ceiling on sections enumerated from a document (matches write-path
@@ -1,4 +1,4 @@
1
- import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-92UnKeU_.js';
1
+ import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-EIdwId-a.js';
2
2
 
3
3
  /** A caret position in the model. */
4
4
  interface SemanticPosition {
@@ -1,5 +1,5 @@
1
- import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-92UnKeU_.js';
2
- import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-D6HzlPR4.js';
1
+ import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-EIdwId-a.js';
2
+ import { V as ValidatedImageBytesHandle, t as RenderableImageMime } from './tree-op-types-egdarvH_.js';
3
3
 
4
4
  /**
5
5
  * Everything a host can say about ONE author's presentation. Every field is optional and