@docx-editor.dev/core 2.9.1 → 2.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +74 -10
- package/dist/binding.d.ts +74 -10
- package/dist/binding.js +1 -1
- package/dist/chunk-27APDXY2.js +2 -0
- package/dist/chunk-35MI6K7M.cjs +10 -0
- package/dist/chunk-4XL7SOWQ.cjs +2 -0
- package/dist/chunk-6K6QQVAZ.cjs +18 -0
- package/dist/chunk-7ZJL5AEY.cjs +1 -0
- package/dist/chunk-C6LK2BYA.cjs +2 -0
- package/dist/chunk-HBEBUCRM.cjs +5 -0
- package/dist/chunk-LG5K46OM.js +2 -0
- package/dist/chunk-LWADHMVV.js +5 -0
- package/dist/chunk-N725IUO7.js +18 -0
- package/dist/chunk-N7DBENH4.js +10 -0
- package/dist/chunk-NVGFWMCO.js +1 -0
- package/dist/chunk-SYTWKJPJ.cjs +18 -0
- package/dist/chunk-YI6JXF7U.js +18 -0
- package/dist/contracts/document.d.cts +6 -1
- package/dist/contracts/document.d.ts +6 -1
- package/dist/contracts/editor.d.cts +6 -6
- package/dist/contracts/editor.d.ts +6 -6
- package/dist/contracts/interaction.d.cts +6 -6
- package/dist/contracts/interaction.d.ts +6 -6
- package/dist/contracts/modules.d.cts +3 -4
- package/dist/contracts/modules.d.ts +3 -4
- package/dist/{custom-node-writes-QyVZdTUA.d.ts → custom-node-writes-BvpWCnW8.d.ts} +52 -5
- package/dist/{custom-node-writes-7ERv0f_X.d.cts → custom-node-writes-Db8H6Z3n.d.cts} +52 -5
- package/dist/{editor-PUlv5Pp7.d.ts → editor-C0my6Uta.d.ts} +35 -14
- package/dist/{editor-CojjwMmF.d.cts → editor-CwzY2Hcg.d.cts} +35 -14
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +66 -461
- package/dist/editor.d.cts +20 -20
- package/dist/editor.d.ts +20 -20
- package/dist/editor.js +1 -1
- package/dist/{index-oN-v8DQ5.d.ts → index-kID8Ymkp.d.ts} +126 -20
- package/dist/{index-DGPSeLI0.d.cts → index-nLFwo_17.d.cts} +126 -20
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +13 -13
- package/dist/index.d.ts +13 -13
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +357 -310
- package/dist/layout.d.ts +357 -310
- package/dist/layout.js +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +6 -6
- package/dist/output.d.ts +6 -6
- package/dist/output.js +1 -1
- package/dist/{review-items-DpsqTHio.d.cts → review-items-CwixiHNe.d.cts} +1 -1
- package/dist/{review-items-D5SPFtsO.d.ts → review-items-Dw-8a6Ie.d.ts} +1 -1
- package/dist/{review-reads-CP106AHp.d.cts → review-reads-BqkiJTeR.d.cts} +1 -1
- package/dist/{review-reads-B2Ji3fVU.d.ts → review-reads-C0u-IKEA.d.ts} +1 -1
- package/dist/{semantic-cell-selection-DJPjBWzf.d.cts → semantic-cell-selection-DT9x9WLf.d.cts} +2 -2
- package/dist/{semantic-cell-selection-BWhVAk5B.d.ts → semantic-cell-selection-Utrf0lz7.d.ts} +2 -2
- package/dist/{semantic-interaction-BjOcDB06.d.cts → semantic-interaction-B6hFRQLy.d.ts} +21 -2
- package/dist/{semantic-interaction-Cca1-X_a.d.ts → semantic-interaction-Z0xKQcB4.d.cts} +21 -2
- package/dist/{semantic-paint-CufpIQFw.d.ts → semantic-paint-CQEOC0Od.d.cts} +2 -2
- package/dist/{semantic-paint-Ur7pAINj.d.cts → semantic-paint-quke354p.d.ts} +2 -2
- package/dist/{semantic-records-C3Z76KeN.d.cts → semantic-records-CMakzQ1X.d.cts} +36 -4
- package/dist/{semantic-records-Cc1MJrhM.d.ts → semantic-records-Do3-i5oB.d.ts} +36 -4
- package/dist/{shaped-measurer-CwlTPDJO.d.ts → shaped-measurer-BxwTUluj.d.ts} +1 -1
- package/dist/{shaped-measurer-CYSK20E2.d.cts → shaped-measurer-DzRwWrL5.d.cts} +1 -1
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +250 -134
- package/dist/store.d.ts +250 -134
- package/dist/store.js +1 -1
- package/dist/tree-op-revision-attribution-CN06Xshv.d.cts +24 -0
- package/dist/tree-op-revision-attribution-CN06Xshv.d.ts +24 -0
- package/dist/{tree-op-types-XMVsJSpe.d.ts → tree-op-types-BuOfCrkp.d.ts} +280 -32
- package/dist/{tree-op-types-B0-sCtw-.d.cts → tree-op-types-DSJYmf5b.d.cts} +280 -32
- package/dist/{tree-session-D945D43B.d.cts → tree-session-contract-ByWx8eew.d.cts} +44 -104
- package/dist/{tree-session-DBJgmdmc.d.ts → tree-session-contract-C1dfE9hy.d.ts} +44 -104
- package/dist/{tree-store-ClA-qng4.d.ts → tree-store-ASBtz7UB.d.ts} +1 -1
- package/dist/{tree-store-C6vc8E_2.d.cts → tree-store-CWOUMGN8.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-5VC5HGJA.js +0 -2
- package/dist/chunk-A2JIBG75.js +0 -1
- package/dist/chunk-DKMKH77K.cjs +0 -5
- package/dist/chunk-FWUI7EXG.cjs +0 -15
- package/dist/chunk-GZWMLQJO.js +0 -18
- package/dist/chunk-IEXDXWTA.cjs +0 -1
- package/dist/chunk-IMMAG4QP.cjs +0 -10
- package/dist/chunk-JTSNJQFO.js +0 -15
- package/dist/chunk-KBCC66CI.js +0 -5
- package/dist/chunk-LJ6BY6IU.cjs +0 -18
- package/dist/chunk-QDBAXFIK.js +0 -2
- package/dist/chunk-RD266XSK.cjs +0 -2
- package/dist/chunk-VUJGPCPU.js +0 -10
- package/dist/chunk-XMHWBL3K.cjs +0 -2
- package/dist/image-resources-DQOiwOuE.d.cts +0 -203
- package/dist/image-resources-eZqD_-vC.d.ts +0 -203
package/dist/layout.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{
|
|
1
|
+
export{na as AUTO_PARAGRAPH_SPACING_PT,Zb as AUTO_PREFERRED_WIDTH,$b as CELL_PAD,ha as COMPOUND_BORDER_MIN_GAP_PT,ga as COMPOUND_BORDER_MIN_STROKE_PT,Gd as DEFAULT_CANVAS_FONT_STACK,bc as DEFAULT_CELL_MARGINS,fa as DEFAULT_PAGE_GEOMETRY,lb as DEFAULT_REVISION_DISPLAY_MODE,fb as DEFAULT_RUN_STYLE,Yc as DEFAULT_SECTION_PROPERTIES,La as DEFAULT_TAB_INTERVAL_PT,Ka as DEFAULT_TAB_INTERVAL_TWIPS,yc as DEFAULT_VERTICAL_WEIGHT,ic as EMPTY_NUMBERING_INDEX,Na as EMPTY_TAB_STOPS,d as FontResolutionError,w 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,ma as MAX_BORDER_SPACE_PT,la as MAX_BORDER_WIDTH_PT,Xc as MAX_DOCUMENT_SECTIONS,wd as MAX_EACH_PAGE_MARK_CANDIDATES,fc as MAX_LVL_OVERRIDES,Wa as MAX_LVL_TEXT_LENGTH,Va as MAX_MARKER_TEXT_LENGTH,id as MAX_NOTES_LAID_OUT,jd as MAX_NOTE_FRAGMENTS,vd as MAX_NOTE_OVERFLOW_PAGES,ud as MAX_NOTE_REFLOW_ATTEMPTS,ec as MAX_NUMBERING_DEFINITIONS,ka as MAX_PARAGRAPH_SPACING_PT,Db as MAX_STYLE_BASED_ON_DEPTH,Eb as MAX_STYLE_DEFINITIONS,Rb as MAX_TABLE_BORDER_STROKES,_b as MAX_TABLE_NESTING,Oc as MAX_TABLE_ROW_FRAGMENTS,ac as MAX_TABLE_ROW_HEIGHT_PT,Ja as MAX_TAB_POSITION_TWIPS,Ia as MAX_TAB_STOPS,pa as PARAGRAPH_BORDER_SIDES,W as ResolvedCache,oa as SINGLE_LINE_SPACING,Ma as TAB_LEADER_GLYPH,Pc as TablePaginationError,u as UnsupportedScriptError,L as WORD_SEGMENTER_LOCALE,Md as anchorLineY,Ca as appliedSpaceBefore,ta as applyLineSpacing,Bd as attachNotesToLayout,kb as baselineShiftPtOf,Yb as borderExtentPt,Vb as borderWeight,za as bottomBorderExtentPt,O as boundedFallbackWordSegments,f as boundedStructuralFontValidator,gc as buildNumberingIndex,yd as buildPageRefIndex,Gb as buildStyleCascadeTable,U as captureOperationSnapshot,_d as caretAt,Hc as caretBoxOnLine,Yd as caretStops,Zd as caretStopsForBlocks,Hb as cascadeParagraphFormatting,Jb as cascadeRunProperties,Ib as cascadedBottomBorder,wa as cascadedParagraphBorders,Oa as cascadedTabStops,he as cellSelectionBetween,le as cellSelectionRects,me as cellSelectionText,Xa as clampListValue,Ba as collapsedSpaceBefore,fe as compositionAnchor,ia as computeDoubleBorderMetricsPt,Ad as computeFootnoteReserves,Ec as contentControlAtPoint,ae as contentControlAtSemantic,Ld as contentControlBoundaries,Wc as contentControlHoldingParagraph,Vc as contentControlRecordsInPart,be as contentControlsInLayout,ca as contentControlsOfLayout,P as createBoundedFallbackWordBoundary,Q as createDefaultWordBoundary,Ed as createFixedMeasurer,g as createFontResourceSnapshot,t as createHarfBuzzTextShaper,N as createIntlWordBoundary,Rd as createLayoutScheduler,Dd as createLayoutSession,jc as createListCounterState,yb as createParagraphLayoutCache,Pd as createShapedMeasurer,l as createShapedRun,i as createShapingEnvironment,pd as defaultNoteSeparatorRuleStyle,Ra as defaultTabIntervalFromSettings,de as deletedTextBoundaries,fd as deriveNoteDisplayMarks,gd as deriveNoteDisplayMarksResolved,hb as displayText,sc as documentOrder,Qb as effectiveBorderSide,ea as effectiveContentControlLock,Sc as emptyTocPlaceholderParagraphIds,Tc as emptyTocSuppressedResultParagraphIds,cd as enumerateDocumentSections,dd as enumerateDocumentSectionsBounded,tc as everyStoryOrder,db as expandLvlText,zd as filterRefsOnPage,Ic as findDrawingOverlayFrameInLayout,md as findSeparatorNote,h as fixedPoint,e as fontRequestKey,Ya as formatDecimal,Za as formatDecimalZero,bb as formatLowerLetter,$a as formatLowerRoman,cb as formatNumFmt,eb as formatPageNumber,sb as formatRevisionOf,ab as formatUpperLetter,_a as formatUpperRoman,xd as fragmentOwnsAtomOffset,aa as fragmentsOfParagraph,ed as geometryOfSection,z as graphemeBoundaryEpoch,D as graphemeCount,F as graphemeOffsetToUtf16,V as guardOperationSnapshot,r as harfBuzzFontValidator,Bc as hitTestPage,$d as hitTestSemantic,Dc as hitTestSheet,o as initializeHarfBuzz,y as intlGraphemeBoundary,Id as isCanvasMeasurementAvailable,J as isCumulativeGeometryTrustedFromLineOrigin,Ac as isFurniturePoint,I as isGeometryTrustedCaretOffset,p as isHarfBuzzInitialized,x as isIntlSegmenterAvailable,M as isIntlWordSegmenterAvailable,qd as isMarkerOnlySeparatorNote,Fb as isValidStyleId,H as isWholeGraphemeHorizontalBoundary,v as itemizeScriptFontSlots,Ud as keyedRangeRects,wb as layoutEquation,Uc as layoutHeaderFooterStory,od as layoutNoteById,rd as layoutNoteSeparator,nd as layoutNoteStory,Fd as layoutSemanticDocument,ba as lineAtPosition,Fc as lineEndOffset,Z as linesOf,rc as listMarkerBox,qb as markRevisionRemovesMark,ib as measureDisplayText,nc as mergeListIndent,ee as moveCaret,Sa as nextTabDestination,ld as normalNotesOf,hd as noteDisplayMarkMap,kd as noteLineIdPrefix,ub as noteMarkKey,td as noteSeparatorAreaBox,Pb as noteStoryBlocks,zc as pageAtY,Qd as pagesToMaterialize,ya as paragraphBorderExtentPt,xa as paragraphBorderStrokeWidthPt,va as paragraphBorders,Aa as paragraphBordersFingerprint,ja as paragraphBreaksBefore,ua as paragraphContextualSpacing,X as paragraphFragmentsOf,Y as paragraphFragmentsOfBlocks,xb as paragraphLayoutKey,sa as paragraphLineSpacing,Mb as paragraphMarkDeleted,ob as paragraphMarkFormatRevisionOf,rb as paragraphMarkRevisionOf,nb as paragraphMarkRevisionsOf,ad as paragraphSectionNode,Ga as paragraphShading,Ha as paragraphShadingBox,ra as paragraphSpacing,Pa as paragraphTabStops,ce as paragraphTextFromLayout,je as paragraphsInCells,Zc as parsePageNumbering,_c as parseSectionProperties,Wd as positionPastDeletion,vb as projectedNoteMarkText,Cd as provisionalNoteMarks,Sb as readBorderSide,Ub as readCellBorders,lc as readNumPr,bd as readSectionProperties,Tb as readTableBorders,dc as readTableStructure,C as resetGraphemeBoundary,Wb as resolveBorderConflict,Kd as resolveDefaultSurfaceMeasurer,R as resolveDefaultWordBoundary,hc as resolveNumberingLevel,Ea as resolveOoxmlShadingFill,Kb as resolveParagraphLayoutInputs,gb as resolveRunStyle,pc as resolveStoryListItems,Da as resolveStrictHexFill,Xb as resolveTableCellBorderGrid,Nd as reviewAnchorIndex,Od as reviewItemGeometry,Nb as revisionRemovesParagraph,tb as revisionsAreDeletion,mb as revisionsVisible,s as roundFontUnitToFixedPoint,jb as runStylesEqual,A as segmentGraphemes,S as segmentWords,Sd as selectionRects,K as semanticHorizontalBoundaries,B as setGraphemeBoundary,Fa as shadingFillFromElement,G as shapedHorizontalBoundaries,m as shapedRunComparatorInputs,k as shapingEnvironmentFingerprint,j as shapingEnvironmentFingerprintInputs,pb as shownMarkRevision,Gc as spanOffsetX,ke as spansInCells,ge as spansInSelection,Ob as storyBlocks,sd as syntheticSeparatorBox,Ta as tabAdvanceWidth,Ua as tabStopsFingerprint,ne as tableContextAt,cc as tableOriginX,Rc as tocFieldChromeParagraphIds,Jd as tryCreateCanvasMeasurer,da as unionLayoutBoxes,E as utf16OffsetToGrapheme,oc as walkStoryParagraphs,Qa as withDefaultTabInterval,mc as withNumberingStyleLinks,qc as withResolvedListItems,Xd as wordBoundary,T as wordSegmentsToGraphemeRecords}from'./chunk-N725IUO7.js';export{a as setHarfBuzzWasmUrl}from'./chunk-WU7PUTVA.js';import'./chunk-LG5K46OM.js';export{Kb as MAX_SDT_NESTING,Df as MAX_TABLE_COLUMNS,Ye as W15_NAMESPACE_URI,Vg as activeReviewItem,Pb as collectFlowBlocks,Xg as commentBodyText,Yg as commentInitials,Ob as contentControlContentChildren,Sg as firstReviewRange,Lb as isContentControl,Mb as isContentControlContent,bh as paragraphOrderOfPart,Qg as reviewItemKey,Tg as reviewItemPositionRank,Rg as reviewItemRanges,Ug as reviewItemsAt,Wg as reviewThreadRootOf,a as sha256FontBytes}from'./chunk-N7DBENH4.js';
|
package/dist/output.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunk4XL7SOWQ_cjs=require('./chunk-4XL7SOWQ.cjs');require('./chunk-6K6QQVAZ.cjs'),require('./chunk-C6LK2BYA.cjs'),require('./chunk-35MI6K7M.cjs');Object.defineProperty(exports,"DEFAULT_FIELD_SHADING",{enumerable:true,get:function(){return chunk4XL7SOWQ_cjs.h}});Object.defineProperty(exports,"paintSelectionOverlay",{enumerable:true,get:function(){return chunk4XL7SOWQ_cjs.l}});Object.defineProperty(exports,"paintSemanticLayout",{enumerable:true,get:function(){return chunk4XL7SOWQ_cjs.j}});
|
package/dist/output.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
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-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './
|
|
5
|
-
import './tree-op-types-B0-sCtw-.cjs';
|
|
6
|
-
import './contracts/types.cjs';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-CQEOC0Od.cjs';
|
|
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-CQEOC0Od.cjs';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-CMakzQ1X.cjs';
|
|
4
|
+
import './tree-op-types-DSJYmf5b.cjs';
|
|
7
5
|
import './ooxml-package-CdEy9ufK.cjs';
|
|
6
|
+
import './contracts/types.cjs';
|
|
7
|
+
import './tree-op-revision-attribution-CN06Xshv.cjs';
|
|
8
8
|
import './revision-projection-Cc4wz30g.cjs';
|
|
9
9
|
import './omml-equation-BD-LsmWE.cjs';
|
|
10
10
|
|
package/dist/output.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { R as ReviewAuthorInfo } from './semantic-paint-
|
|
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-
|
|
3
|
-
import { S as SemanticLayout } from './semantic-records-
|
|
4
|
-
import './
|
|
5
|
-
import './tree-op-types-XMVsJSpe.js';
|
|
6
|
-
import './contracts/types.js';
|
|
1
|
+
import { R as ReviewAuthorInfo } from './semantic-paint-quke354p.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-quke354p.js';
|
|
3
|
+
import { S as SemanticLayout } from './semantic-records-Do3-i5oB.js';
|
|
4
|
+
import './tree-op-types-BuOfCrkp.js';
|
|
7
5
|
import './ooxml-package-CdEy9ufK.js';
|
|
6
|
+
import './contracts/types.js';
|
|
7
|
+
import './tree-op-revision-attribution-CN06Xshv.js';
|
|
8
8
|
import './revision-projection-CILpvv4M.js';
|
|
9
9
|
import './omml-equation-Dd3mBep-.js';
|
|
10
10
|
|
package/dist/output.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{h as DEFAULT_FIELD_SHADING,l as paintSelectionOverlay,j as paintSemanticLayout}from'./chunk-
|
|
1
|
+
export{h as DEFAULT_FIELD_SHADING,l as paintSelectionOverlay,j as paintSemanticLayout}from'./chunk-27APDXY2.js';import'./chunk-N725IUO7.js';import'./chunk-WU7PUTVA.js';import'./chunk-LG5K46OM.js';import'./chunk-N7DBENH4.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as OoxmlElement, O as OoxmlPart, c as OoxmlPackage } from './ooxml-package-CdEy9ufK.cjs';
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-
|
|
2
|
+
import { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.cjs';
|
|
3
3
|
|
|
4
4
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
5
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as OoxmlElement, O as OoxmlPart, c as OoxmlPackage } from './ooxml-package-CdEy9ufK.js';
|
|
2
|
-
import { R as RevisionAddress } from './tree-op-
|
|
2
|
+
import { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.js';
|
|
3
3
|
|
|
4
4
|
/** The `w15` namespace: `commentsExtended.xml` — thread parent and resolved state. */
|
|
5
5
|
declare const W15_NAMESPACE_URI = "http://schemas.microsoft.com/office/word/2012/wordml";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as OoxmlNode, b as OoxmlElement, p as OoxmlContentControlNode, m as OoxmlGenericElementNode, q as OoxmlContentControlContentNode, O as OoxmlPart } from './ooxml-package-CdEy9ufK.cjs';
|
|
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-
|
|
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-CwixiHNe.cjs';
|
|
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;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as OoxmlNode, b as OoxmlElement, p as OoxmlContentControlNode, m as OoxmlGenericElementNode, q as OoxmlContentControlContentNode, O as OoxmlPart } from './ooxml-package-CdEy9ufK.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-
|
|
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-Dw-8a6Ie.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;
|
package/dist/{semantic-cell-selection-DJPjBWzf.d.cts → semantic-cell-selection-DT9x9WLf.d.cts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { O as OoxmlPart, b as OoxmlElement, a as OoxmlNode } from './ooxml-package-CdEy9ufK.cjs';
|
|
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-
|
|
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-CMakzQ1X.cjs';
|
|
3
3
|
import { R as RevisionDisplayMode } from './revision-projection-Cc4wz30g.cjs';
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-Z0xKQcB4.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Hard ceiling on sections enumerated from a document (matches write-path
|
package/dist/{semantic-cell-selection-BWhVAk5B.d.ts → semantic-cell-selection-Utrf0lz7.d.ts}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { O as OoxmlPart, b as OoxmlElement, a as OoxmlNode } from './ooxml-package-CdEy9ufK.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-
|
|
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-Do3-i5oB.js';
|
|
3
3
|
import { R as RevisionDisplayMode } from './revision-projection-CILpvv4M.js';
|
|
4
|
-
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-
|
|
4
|
+
import { S as SemanticPosition, C as CaretGeometry, a as SemanticSelection } from './semantic-interaction-B6hFRQLy.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-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-Do3-i5oB.js';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -102,6 +102,25 @@ type NavigationCommand = 'left' | 'right' | 'up' | 'down' | 'wordLeft' | 'wordRi
|
|
|
102
102
|
* motion in the interaction lane instead of making it a second consumer of the model.
|
|
103
103
|
*/
|
|
104
104
|
declare function paragraphTextFromLayout(layout: SemanticLayout, paragraphId: string): string;
|
|
105
|
+
/**
|
|
106
|
+
* Paragraph offsets a WORD may not run through: the edges of every struck half on screen.
|
|
107
|
+
*
|
|
108
|
+
* Deleted text is the one thing a view paints that does not exist in the document the reader
|
|
109
|
+
* is heading towards — it is the OTHER version, spliced in beside the proposal so the two can
|
|
110
|
+
* be compared. Its characters are therefore not adjacent to their neighbours in any single
|
|
111
|
+
* version, however adjacent they look.
|
|
112
|
+
*
|
|
113
|
+
* A replacement is where that stops being pedantic. Word writes one as a deletion immediately
|
|
114
|
+
* followed by an insertion, with no separator between them, so `ALL CAPS` struck and `fsdfsd`
|
|
115
|
+
* added read as the single word `CAPSfsdfsd`: a double-click on the old text selected the new
|
|
116
|
+
* text with it, across a decision the reader had not taken. Feeding these to `wordBoundary`
|
|
117
|
+
* makes each half its own word.
|
|
118
|
+
*
|
|
119
|
+
* Only the halves this view actually renders contribute. `proposed` paints no deletion, so it
|
|
120
|
+
* has no seams and this answers empty — which is also why the walk reads the LAYOUT rather
|
|
121
|
+
* than the tree.
|
|
122
|
+
*/
|
|
123
|
+
declare function deletedTextBoundaries(layout: SemanticLayout, paragraphId: string): ReadonlySet<number>;
|
|
105
124
|
/** Story-scoped stops are required when navigating inside an open header or footer. */
|
|
106
125
|
interface MoveCaretOptions {
|
|
107
126
|
/** Precomputed active-story stops; body navigation keeps the indexed default. */
|
|
@@ -136,4 +155,4 @@ declare function spansInSelection(layout: SemanticLayout, selection: SemanticSel
|
|
|
136
155
|
*/
|
|
137
156
|
order: readonly string[]): StyleSpanRecord[];
|
|
138
157
|
|
|
139
|
-
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i,
|
|
158
|
+
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i, deletedTextBoundaries as j, hitTestSemantic as k, moveCaret as m, paragraphTextFromLayout as p, spansInSelection as s };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-
|
|
1
|
+
import { T as TextMeasurer, S as SemanticLayout, B as BlockFragmentRecord, C as ContentControlBoundaryRecord, a as StyleSpanRecord } from './semantic-records-CMakzQ1X.cjs';
|
|
2
2
|
|
|
3
3
|
/** A caret position in the model. */
|
|
4
4
|
interface SemanticPosition {
|
|
@@ -102,6 +102,25 @@ type NavigationCommand = 'left' | 'right' | 'up' | 'down' | 'wordLeft' | 'wordRi
|
|
|
102
102
|
* motion in the interaction lane instead of making it a second consumer of the model.
|
|
103
103
|
*/
|
|
104
104
|
declare function paragraphTextFromLayout(layout: SemanticLayout, paragraphId: string): string;
|
|
105
|
+
/**
|
|
106
|
+
* Paragraph offsets a WORD may not run through: the edges of every struck half on screen.
|
|
107
|
+
*
|
|
108
|
+
* Deleted text is the one thing a view paints that does not exist in the document the reader
|
|
109
|
+
* is heading towards — it is the OTHER version, spliced in beside the proposal so the two can
|
|
110
|
+
* be compared. Its characters are therefore not adjacent to their neighbours in any single
|
|
111
|
+
* version, however adjacent they look.
|
|
112
|
+
*
|
|
113
|
+
* A replacement is where that stops being pedantic. Word writes one as a deletion immediately
|
|
114
|
+
* followed by an insertion, with no separator between them, so `ALL CAPS` struck and `fsdfsd`
|
|
115
|
+
* added read as the single word `CAPSfsdfsd`: a double-click on the old text selected the new
|
|
116
|
+
* text with it, across a decision the reader had not taken. Feeding these to `wordBoundary`
|
|
117
|
+
* makes each half its own word.
|
|
118
|
+
*
|
|
119
|
+
* Only the halves this view actually renders contribute. `proposed` paints no deletion, so it
|
|
120
|
+
* has no seams and this answers empty — which is also why the walk reads the LAYOUT rather
|
|
121
|
+
* than the tree.
|
|
122
|
+
*/
|
|
123
|
+
declare function deletedTextBoundaries(layout: SemanticLayout, paragraphId: string): ReadonlySet<number>;
|
|
105
124
|
/** Story-scoped stops are required when navigating inside an open header or footer. */
|
|
106
125
|
interface MoveCaretOptions {
|
|
107
126
|
/** Precomputed active-story stops; body navigation keeps the indexed default. */
|
|
@@ -136,4 +155,4 @@ declare function spansInSelection(layout: SemanticLayout, selection: SemanticSel
|
|
|
136
155
|
*/
|
|
137
156
|
order: readonly string[]): StyleSpanRecord[];
|
|
138
157
|
|
|
139
|
-
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i,
|
|
158
|
+
export { type CaretGeometry as C, type MoveCaretOptions as M, type NavigationCommand as N, type SemanticPosition as S, type SemanticSelection as a, type SelectionRect as b, type CaretAtOptions as c, caretAt as d, caretStops as e, caretStopsForBlocks as f, compositionAnchor as g, contentControlAtSemantic as h, contentControlsInLayout as i, deletedTextBoundaries as j, hitTestSemantic as k, moveCaret as m, paragraphTextFromLayout as p, spansInSelection as s };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-CMakzQ1X.cjs';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './tree-op-types-DSJYmf5b.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-
|
|
2
|
-
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './
|
|
1
|
+
import { C as ContentControlBoundaryRecord, S as SemanticLayout } from './semantic-records-Do3-i5oB.js';
|
|
2
|
+
import { V as ValidatedImageBytesHandle, R as RenderableImageMime } from './tree-op-types-BuOfCrkp.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Everything a host can say about ONE author's presentation. Every field is optional and
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { a as OoxmlNode, r as OoxmlDrawingNode, b as OoxmlElement, O as OoxmlPart } from './ooxml-package-CdEy9ufK.cjs';
|
|
2
|
-
import { O as OoxmlProperty,
|
|
3
|
-
import { I as ImageResourceState } from './image-resources-DQOiwOuE.cjs';
|
|
2
|
+
import { O as OoxmlProperty, f as ImageResourceState, q as DrawingAccessibility, S as SourceCrop, t as DrawingTransform, u as VectorShapeProjection, g as DrawingHorizontalReferenceFrame, h as DrawingVerticalReferenceFrame, b as ImageWrapTarget, w as DrawingProjection, x as TableBorderStyle } from './tree-op-types-DSJYmf5b.cjs';
|
|
4
3
|
import { a as RevisionAttribution } from './revision-projection-Cc4wz30g.cjs';
|
|
5
4
|
import { O as OmmlEquationProjection } from './omml-equation-BD-LsmWE.cjs';
|
|
6
5
|
|
|
@@ -515,6 +514,18 @@ interface TextboxStoryLayout {
|
|
|
515
514
|
readonly strokeWidthPt: number;
|
|
516
515
|
/** True when layout hit a named bound and returned a truncated / empty story. */
|
|
517
516
|
readonly fallbackReason?: TextboxStoryFallbackReason;
|
|
517
|
+
/**
|
|
518
|
+
* Resource identities of the drawings the clip DROPPED, in flow order.
|
|
519
|
+
*
|
|
520
|
+
* The furniture invalidation token walks laid-out records, and a dropped fragment leaves
|
|
521
|
+
* none — while a `withPageContext` projection of the same story can wrap differently
|
|
522
|
+
* (PAGE digits) and keep the drawing. Without this a picture clipped out of the baseline
|
|
523
|
+
* but painted by a projection never reaches the session context, so its decode settling
|
|
524
|
+
* moves nothing and the unchanged-pass early exit reuses the placeholder pages forever
|
|
525
|
+
* (#467). Absent when the clip dropped no drawings, so the common story keys byte-for-byte
|
|
526
|
+
* as before.
|
|
527
|
+
*/
|
|
528
|
+
readonly clippedResourceToken?: string;
|
|
518
529
|
}
|
|
519
530
|
|
|
520
531
|
interface InlineDrawingRecord {
|
|
@@ -555,6 +566,12 @@ interface InlineDrawingRecord {
|
|
|
555
566
|
readonly placeholderGraphicKind: string | null;
|
|
556
567
|
/** Typed solid-geometry payload for a renderable `wps:wsp` shape; null otherwise. */
|
|
557
568
|
readonly vectorShape: VectorShapeProjection | null;
|
|
569
|
+
/**
|
|
570
|
+
* The revision wrappers enclosing the owning run, outermost first — the same stack spans
|
|
571
|
+
* carry, so paint and review chrome give a tracked picture the same cues as tracked text.
|
|
572
|
+
* Absent when the drawing is untracked.
|
|
573
|
+
*/
|
|
574
|
+
readonly revisions?: readonly RevisionAttribution[];
|
|
558
575
|
}
|
|
559
576
|
interface InlineDrawingLayoutContext {
|
|
560
577
|
readonly ownerPartName: string;
|
|
@@ -1117,6 +1134,15 @@ interface LineRecord {
|
|
|
1117
1134
|
* are omitted — they remain in the tree and projection but publish no geometry.
|
|
1118
1135
|
*/
|
|
1119
1136
|
readonly drawings?: readonly InlineDrawingRecord[];
|
|
1137
|
+
/**
|
|
1138
|
+
* Revision attributions of tracked ANCHORED drawings whose anchor sits on this line,
|
|
1139
|
+
* absent when there are none.
|
|
1140
|
+
*
|
|
1141
|
+
* An anchored drawing paints from the page layer and leaves no span or line drawing at its
|
|
1142
|
+
* anchor offset, so this is the only carrier the margin change bar can read for it. Only
|
|
1143
|
+
* attributions the display mode lays out are recorded, matching the published records.
|
|
1144
|
+
*/
|
|
1145
|
+
readonly anchorRevisions?: readonly RevisionAttribution[];
|
|
1120
1146
|
}
|
|
1121
1147
|
/**
|
|
1122
1148
|
* A paragraph's resolved indent in points, in the vocabulary `w:ind` uses.
|
|
@@ -1419,7 +1445,13 @@ interface HeaderFooterStoryRecord {
|
|
|
1419
1445
|
readonly anchoredDrawings?: readonly AnchoredDrawingRecord[];
|
|
1420
1446
|
/**
|
|
1421
1447
|
* Transient projector used between furniture attach and document-level page-field
|
|
1422
|
-
* finalize. Absent on published layout records after finalize
|
|
1448
|
+
* finalize. Absent on published layout records after finalize — but not dead: finalize
|
|
1449
|
+
* retains it (with the context it last ran under) in a side table keyed on the published
|
|
1450
|
+
* record (`strippedStoryProjections` in `field-page-furniture.ts`), so a reused sheet can
|
|
1451
|
+
* re-project when the page count moves (#441). The retained closure keeps its minting
|
|
1452
|
+
* pass's scope alive for as long as the sheet is reused, and anything that clones a
|
|
1453
|
+
* published field-bearing story must carry the entry onto the clone
|
|
1454
|
+
* (`carryStrippedPageFieldProjection`).
|
|
1423
1455
|
*/
|
|
1424
1456
|
readonly pageFieldProjector?: (context: {
|
|
1425
1457
|
readonly pageNumber: number;
|
|
@@ -1649,4 +1681,4 @@ interface TextMeasurer {
|
|
|
1649
1681
|
};
|
|
1650
1682
|
}
|
|
1651
1683
|
|
|
1652
|
-
export { type LineSpacingRule as $, type AnchoredDrawingRecord as A, type BlockFragmentRecord as B, type ContentControlBoundaryRecord as C, type DrawingPoint as D, DEFAULT_TAB_INTERVAL_PT as E, type FieldLinkProjector as F, DEFAULT_TAB_INTERVAL_TWIPS as G, type HyperlinkProjector as H, type InlineDrawingRecord as I, EMPTY_TAB_STOPS as J, type EquationFractionGeometry as K, type LineRecord as L, type ModelRange as M, type EquationGeometry as N, type EquationNaryGeometry as O, type PageGeometry as P, type EquationRadicalGeometry as Q, type ResolvedRunStyle as R, type SemanticLayout as S, type TextMeasurer as T, type EquationRowGeometry as U, type EquationScriptGeometry as V, type EquationSpanRecord as W, type EquationTextGeometry as X, type FieldAtomMarker as Y, type HeaderFooterStoryRecord as Z, type HyperlinkFieldSpec as _, type StyleSpanRecord as a, type ListMarkerRecord as a0, MAX_BORDER_SPACE_PT as a1, MAX_BORDER_WIDTH_PT as a2, MAX_PARAGRAPH_SPACING_PT as a3, MAX_TABLE_BORDER_STROKES as a4, MAX_TAB_POSITION_TWIPS as a5, MAX_TAB_STOPS as a6, PARAGRAPH_BORDER_SIDES as a7, type ParagraphAutoSpacingContext as a8, type ParagraphBorderSide as a9, cascadedTabStops as aA, collapsedSpaceBefore as aB, defaultTabIntervalFromSettings as aC, displayText as aD, layoutEquation as aE, measureDisplayText as aF, nextTabDestination as aG, paragraphBorderExtentPt as aH, paragraphBorderStrokeWidthPt as aI, paragraphBorders as aJ, paragraphBordersFingerprint as aK, paragraphBreaksBefore as aL, paragraphContextualSpacing as aM, paragraphLineSpacing as aN, paragraphSpacing as aO, paragraphTabStops as aP, readBorderSide as aQ, readCellBorders as aR, readTableBorders as aS, resolveBorderConflict as aT, resolveRunStyle as aU, resolveTableCellBorderGrid as aV, runStylesEqual as aW, tabAdvanceWidth as aX, tabStopsFingerprint as aY, withDefaultTabInterval as aZ, type ParagraphBorderStrokeRecord as aa, type ParagraphBottomBorderRecord as ab, type ParagraphIndent as ac, type ResolvedCellBorders as ad, type ResolvedTableBorderEdge as ae, type ResolvedTableBorderEdgeSegment as af, type ResolvedUnderline as ag, SINGLE_LINE_SPACING as ah, type SourceRange as ai, type SpanLinkRecord as aj, TAB_LEADER_GLYPH as ak, type TabAlignment as al, type TabDestination as am, type TabLeader as an, type TabStop as ao, type TableBorderSideName as ap, type TableBorderStrokeRecord as aq, type TableFragmentRecord as ar, type VerticalAlign as as, appliedSpaceBefore as at, applyLineSpacing as au, baselineShiftPtOf as av, borderExtentPt as aw, borderWeight as ax, bottomBorderExtentPt as ay, cascadedParagraphBorders as az, type TableRowFragmentRecord as b, type TableCellFragmentRecord as c, type LayoutBox as d, type DrawingInsets as e, type
|
|
1684
|
+
export { type LineSpacingRule as $, type AnchoredDrawingRecord as A, type BlockFragmentRecord as B, type ContentControlBoundaryRecord as C, type DrawingPoint as D, DEFAULT_TAB_INTERVAL_PT as E, type FieldLinkProjector as F, DEFAULT_TAB_INTERVAL_TWIPS as G, type HyperlinkProjector as H, type InlineDrawingRecord as I, EMPTY_TAB_STOPS as J, type EquationFractionGeometry as K, type LineRecord as L, type ModelRange as M, type EquationGeometry as N, type EquationNaryGeometry as O, type PageGeometry as P, type EquationRadicalGeometry as Q, type ResolvedRunStyle as R, type SemanticLayout as S, type TextMeasurer as T, type EquationRowGeometry as U, type EquationScriptGeometry as V, type EquationSpanRecord as W, type EquationTextGeometry as X, type FieldAtomMarker as Y, type HeaderFooterStoryRecord as Z, type HyperlinkFieldSpec as _, type StyleSpanRecord as a, type ListMarkerRecord as a0, MAX_BORDER_SPACE_PT as a1, MAX_BORDER_WIDTH_PT as a2, MAX_PARAGRAPH_SPACING_PT as a3, MAX_TABLE_BORDER_STROKES as a4, MAX_TAB_POSITION_TWIPS as a5, MAX_TAB_STOPS as a6, PARAGRAPH_BORDER_SIDES as a7, type ParagraphAutoSpacingContext as a8, type ParagraphBorderSide as a9, cascadedTabStops as aA, collapsedSpaceBefore as aB, defaultTabIntervalFromSettings as aC, displayText as aD, layoutEquation as aE, measureDisplayText as aF, nextTabDestination as aG, paragraphBorderExtentPt as aH, paragraphBorderStrokeWidthPt as aI, paragraphBorders as aJ, paragraphBordersFingerprint as aK, paragraphBreaksBefore as aL, paragraphContextualSpacing as aM, paragraphLineSpacing as aN, paragraphSpacing as aO, paragraphTabStops as aP, readBorderSide as aQ, readCellBorders as aR, readTableBorders as aS, resolveBorderConflict as aT, resolveRunStyle as aU, resolveTableCellBorderGrid as aV, runStylesEqual as aW, tabAdvanceWidth as aX, tabStopsFingerprint as aY, withDefaultTabInterval as aZ, type ParagraphBorderStrokeRecord as aa, type ParagraphBottomBorderRecord as ab, type ParagraphIndent as ac, type ResolvedCellBorders as ad, type ResolvedTableBorderEdge as ae, type ResolvedTableBorderEdgeSegment as af, type ResolvedUnderline as ag, SINGLE_LINE_SPACING as ah, type SourceRange as ai, type SpanLinkRecord as aj, TAB_LEADER_GLYPH as ak, type TabAlignment as al, type TabDestination as am, type TabLeader as an, type TabStop as ao, type TableBorderSideName as ap, type TableBorderStrokeRecord as aq, type TableFragmentRecord as ar, type VerticalAlign as as, appliedSpaceBefore as at, applyLineSpacing as au, baselineShiftPtOf as av, borderExtentPt as aw, borderWeight as ax, bottomBorderExtentPt as ay, cascadedParagraphBorders as az, type TableRowFragmentRecord as b, type TableCellFragmentRecord as c, type LayoutBox as d, type DrawingInsets as e, type ThemeFonts as f, type ParagraphSpacing as g, type ParagraphLineSpacing as h, type ParagraphBorderEdge as i, type ParagraphBorders as j, type ResolvedTabStops as k, type PageRecord as l, type TableBorderSide as m, type ContentControlLock as n, type ParagraphFragmentRecord as o, type InlineDrawingLayoutContext as p, type StoryPageFieldNeeds as q, type CellBorderBox as r, type TableBorderBox as s, AUTO_PARAGRAPH_SPACING_PT as t, type BorderGridGeometry as u, type ContentControlGeometryFragment as v, type ContentControlLevel as w, type ContentControlMappedType as x, DEFAULT_PAGE_GEOMETRY as y, DEFAULT_RUN_STYLE as z };
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { a as OoxmlNode, r as OoxmlDrawingNode, b as OoxmlElement, O as OoxmlPart } from './ooxml-package-CdEy9ufK.js';
|
|
2
|
-
import { O as OoxmlProperty,
|
|
3
|
-
import { I as ImageResourceState } from './image-resources-eZqD_-vC.js';
|
|
2
|
+
import { O as OoxmlProperty, f as ImageResourceState, q as DrawingAccessibility, S as SourceCrop, t as DrawingTransform, u as VectorShapeProjection, g as DrawingHorizontalReferenceFrame, h as DrawingVerticalReferenceFrame, b as ImageWrapTarget, w as DrawingProjection, x as TableBorderStyle } from './tree-op-types-BuOfCrkp.js';
|
|
4
3
|
import { a as RevisionAttribution } from './revision-projection-CILpvv4M.js';
|
|
5
4
|
import { O as OmmlEquationProjection } from './omml-equation-Dd3mBep-.js';
|
|
6
5
|
|
|
@@ -515,6 +514,18 @@ interface TextboxStoryLayout {
|
|
|
515
514
|
readonly strokeWidthPt: number;
|
|
516
515
|
/** True when layout hit a named bound and returned a truncated / empty story. */
|
|
517
516
|
readonly fallbackReason?: TextboxStoryFallbackReason;
|
|
517
|
+
/**
|
|
518
|
+
* Resource identities of the drawings the clip DROPPED, in flow order.
|
|
519
|
+
*
|
|
520
|
+
* The furniture invalidation token walks laid-out records, and a dropped fragment leaves
|
|
521
|
+
* none — while a `withPageContext` projection of the same story can wrap differently
|
|
522
|
+
* (PAGE digits) and keep the drawing. Without this a picture clipped out of the baseline
|
|
523
|
+
* but painted by a projection never reaches the session context, so its decode settling
|
|
524
|
+
* moves nothing and the unchanged-pass early exit reuses the placeholder pages forever
|
|
525
|
+
* (#467). Absent when the clip dropped no drawings, so the common story keys byte-for-byte
|
|
526
|
+
* as before.
|
|
527
|
+
*/
|
|
528
|
+
readonly clippedResourceToken?: string;
|
|
518
529
|
}
|
|
519
530
|
|
|
520
531
|
interface InlineDrawingRecord {
|
|
@@ -555,6 +566,12 @@ interface InlineDrawingRecord {
|
|
|
555
566
|
readonly placeholderGraphicKind: string | null;
|
|
556
567
|
/** Typed solid-geometry payload for a renderable `wps:wsp` shape; null otherwise. */
|
|
557
568
|
readonly vectorShape: VectorShapeProjection | null;
|
|
569
|
+
/**
|
|
570
|
+
* The revision wrappers enclosing the owning run, outermost first — the same stack spans
|
|
571
|
+
* carry, so paint and review chrome give a tracked picture the same cues as tracked text.
|
|
572
|
+
* Absent when the drawing is untracked.
|
|
573
|
+
*/
|
|
574
|
+
readonly revisions?: readonly RevisionAttribution[];
|
|
558
575
|
}
|
|
559
576
|
interface InlineDrawingLayoutContext {
|
|
560
577
|
readonly ownerPartName: string;
|
|
@@ -1117,6 +1134,15 @@ interface LineRecord {
|
|
|
1117
1134
|
* are omitted — they remain in the tree and projection but publish no geometry.
|
|
1118
1135
|
*/
|
|
1119
1136
|
readonly drawings?: readonly InlineDrawingRecord[];
|
|
1137
|
+
/**
|
|
1138
|
+
* Revision attributions of tracked ANCHORED drawings whose anchor sits on this line,
|
|
1139
|
+
* absent when there are none.
|
|
1140
|
+
*
|
|
1141
|
+
* An anchored drawing paints from the page layer and leaves no span or line drawing at its
|
|
1142
|
+
* anchor offset, so this is the only carrier the margin change bar can read for it. Only
|
|
1143
|
+
* attributions the display mode lays out are recorded, matching the published records.
|
|
1144
|
+
*/
|
|
1145
|
+
readonly anchorRevisions?: readonly RevisionAttribution[];
|
|
1120
1146
|
}
|
|
1121
1147
|
/**
|
|
1122
1148
|
* A paragraph's resolved indent in points, in the vocabulary `w:ind` uses.
|
|
@@ -1419,7 +1445,13 @@ interface HeaderFooterStoryRecord {
|
|
|
1419
1445
|
readonly anchoredDrawings?: readonly AnchoredDrawingRecord[];
|
|
1420
1446
|
/**
|
|
1421
1447
|
* Transient projector used between furniture attach and document-level page-field
|
|
1422
|
-
* finalize. Absent on published layout records after finalize
|
|
1448
|
+
* finalize. Absent on published layout records after finalize — but not dead: finalize
|
|
1449
|
+
* retains it (with the context it last ran under) in a side table keyed on the published
|
|
1450
|
+
* record (`strippedStoryProjections` in `field-page-furniture.ts`), so a reused sheet can
|
|
1451
|
+
* re-project when the page count moves (#441). The retained closure keeps its minting
|
|
1452
|
+
* pass's scope alive for as long as the sheet is reused, and anything that clones a
|
|
1453
|
+
* published field-bearing story must carry the entry onto the clone
|
|
1454
|
+
* (`carryStrippedPageFieldProjection`).
|
|
1423
1455
|
*/
|
|
1424
1456
|
readonly pageFieldProjector?: (context: {
|
|
1425
1457
|
readonly pageNumber: number;
|
|
@@ -1649,4 +1681,4 @@ interface TextMeasurer {
|
|
|
1649
1681
|
};
|
|
1650
1682
|
}
|
|
1651
1683
|
|
|
1652
|
-
export { type LineSpacingRule as $, type AnchoredDrawingRecord as A, type BlockFragmentRecord as B, type ContentControlBoundaryRecord as C, type DrawingPoint as D, DEFAULT_TAB_INTERVAL_PT as E, type FieldLinkProjector as F, DEFAULT_TAB_INTERVAL_TWIPS as G, type HyperlinkProjector as H, type InlineDrawingRecord as I, EMPTY_TAB_STOPS as J, type EquationFractionGeometry as K, type LineRecord as L, type ModelRange as M, type EquationGeometry as N, type EquationNaryGeometry as O, type PageGeometry as P, type EquationRadicalGeometry as Q, type ResolvedRunStyle as R, type SemanticLayout as S, type TextMeasurer as T, type EquationRowGeometry as U, type EquationScriptGeometry as V, type EquationSpanRecord as W, type EquationTextGeometry as X, type FieldAtomMarker as Y, type HeaderFooterStoryRecord as Z, type HyperlinkFieldSpec as _, type StyleSpanRecord as a, type ListMarkerRecord as a0, MAX_BORDER_SPACE_PT as a1, MAX_BORDER_WIDTH_PT as a2, MAX_PARAGRAPH_SPACING_PT as a3, MAX_TABLE_BORDER_STROKES as a4, MAX_TAB_POSITION_TWIPS as a5, MAX_TAB_STOPS as a6, PARAGRAPH_BORDER_SIDES as a7, type ParagraphAutoSpacingContext as a8, type ParagraphBorderSide as a9, cascadedTabStops as aA, collapsedSpaceBefore as aB, defaultTabIntervalFromSettings as aC, displayText as aD, layoutEquation as aE, measureDisplayText as aF, nextTabDestination as aG, paragraphBorderExtentPt as aH, paragraphBorderStrokeWidthPt as aI, paragraphBorders as aJ, paragraphBordersFingerprint as aK, paragraphBreaksBefore as aL, paragraphContextualSpacing as aM, paragraphLineSpacing as aN, paragraphSpacing as aO, paragraphTabStops as aP, readBorderSide as aQ, readCellBorders as aR, readTableBorders as aS, resolveBorderConflict as aT, resolveRunStyle as aU, resolveTableCellBorderGrid as aV, runStylesEqual as aW, tabAdvanceWidth as aX, tabStopsFingerprint as aY, withDefaultTabInterval as aZ, type ParagraphBorderStrokeRecord as aa, type ParagraphBottomBorderRecord as ab, type ParagraphIndent as ac, type ResolvedCellBorders as ad, type ResolvedTableBorderEdge as ae, type ResolvedTableBorderEdgeSegment as af, type ResolvedUnderline as ag, SINGLE_LINE_SPACING as ah, type SourceRange as ai, type SpanLinkRecord as aj, TAB_LEADER_GLYPH as ak, type TabAlignment as al, type TabDestination as am, type TabLeader as an, type TabStop as ao, type TableBorderSideName as ap, type TableBorderStrokeRecord as aq, type TableFragmentRecord as ar, type VerticalAlign as as, appliedSpaceBefore as at, applyLineSpacing as au, baselineShiftPtOf as av, borderExtentPt as aw, borderWeight as ax, bottomBorderExtentPt as ay, cascadedParagraphBorders as az, type TableRowFragmentRecord as b, type TableCellFragmentRecord as c, type LayoutBox as d, type DrawingInsets as e, type
|
|
1684
|
+
export { type LineSpacingRule as $, type AnchoredDrawingRecord as A, type BlockFragmentRecord as B, type ContentControlBoundaryRecord as C, type DrawingPoint as D, DEFAULT_TAB_INTERVAL_PT as E, type FieldLinkProjector as F, DEFAULT_TAB_INTERVAL_TWIPS as G, type HyperlinkProjector as H, type InlineDrawingRecord as I, EMPTY_TAB_STOPS as J, type EquationFractionGeometry as K, type LineRecord as L, type ModelRange as M, type EquationGeometry as N, type EquationNaryGeometry as O, type PageGeometry as P, type EquationRadicalGeometry as Q, type ResolvedRunStyle as R, type SemanticLayout as S, type TextMeasurer as T, type EquationRowGeometry as U, type EquationScriptGeometry as V, type EquationSpanRecord as W, type EquationTextGeometry as X, type FieldAtomMarker as Y, type HeaderFooterStoryRecord as Z, type HyperlinkFieldSpec as _, type StyleSpanRecord as a, type ListMarkerRecord as a0, MAX_BORDER_SPACE_PT as a1, MAX_BORDER_WIDTH_PT as a2, MAX_PARAGRAPH_SPACING_PT as a3, MAX_TABLE_BORDER_STROKES as a4, MAX_TAB_POSITION_TWIPS as a5, MAX_TAB_STOPS as a6, PARAGRAPH_BORDER_SIDES as a7, type ParagraphAutoSpacingContext as a8, type ParagraphBorderSide as a9, cascadedTabStops as aA, collapsedSpaceBefore as aB, defaultTabIntervalFromSettings as aC, displayText as aD, layoutEquation as aE, measureDisplayText as aF, nextTabDestination as aG, paragraphBorderExtentPt as aH, paragraphBorderStrokeWidthPt as aI, paragraphBorders as aJ, paragraphBordersFingerprint as aK, paragraphBreaksBefore as aL, paragraphContextualSpacing as aM, paragraphLineSpacing as aN, paragraphSpacing as aO, paragraphTabStops as aP, readBorderSide as aQ, readCellBorders as aR, readTableBorders as aS, resolveBorderConflict as aT, resolveRunStyle as aU, resolveTableCellBorderGrid as aV, runStylesEqual as aW, tabAdvanceWidth as aX, tabStopsFingerprint as aY, withDefaultTabInterval as aZ, type ParagraphBorderStrokeRecord as aa, type ParagraphBottomBorderRecord as ab, type ParagraphIndent as ac, type ResolvedCellBorders as ad, type ResolvedTableBorderEdge as ae, type ResolvedTableBorderEdgeSegment as af, type ResolvedUnderline as ag, SINGLE_LINE_SPACING as ah, type SourceRange as ai, type SpanLinkRecord as aj, TAB_LEADER_GLYPH as ak, type TabAlignment as al, type TabDestination as am, type TabLeader as an, type TabStop as ao, type TableBorderSideName as ap, type TableBorderStrokeRecord as aq, type TableFragmentRecord as ar, type VerticalAlign as as, appliedSpaceBefore as at, applyLineSpacing as au, baselineShiftPtOf as av, borderExtentPt as aw, borderWeight as ax, bottomBorderExtentPt as ay, cascadedParagraphBorders as az, type TableRowFragmentRecord as b, type TableCellFragmentRecord as c, type LayoutBox as d, type DrawingInsets as e, type ThemeFonts as f, type ParagraphSpacing as g, type ParagraphLineSpacing as h, type ParagraphBorderEdge as i, type ParagraphBorders as j, type ResolvedTabStops as k, type PageRecord as l, type TableBorderSide as m, type ContentControlLock as n, type ParagraphFragmentRecord as o, type InlineDrawingLayoutContext as p, type StoryPageFieldNeeds as q, type CellBorderBox as r, type TableBorderBox as s, AUTO_PARAGRAPH_SPACING_PT as t, type BorderGridGeometry as u, type ContentControlGeometryFragment as v, type ContentControlLevel as w, type ContentControlMappedType as x, DEFAULT_PAGE_GEOMETRY as y, DEFAULT_RUN_STYLE as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-
|
|
1
|
+
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-Do3-i5oB.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A face, as something asks for it: family plus the two axes this engine admits.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-
|
|
1
|
+
import { R as ResolvedRunStyle, T as TextMeasurer } from './semantic-records-CMakzQ1X.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* A face, as something asks for it: family plus the two axes this engine admits.
|