@docx-editor.dev/core 2.35.0-canary.20261104032723.sha-43c2012 → 2.35.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (115) hide show
  1. package/README.md +9 -14
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +16 -11
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +12 -12
  7. package/dist/binding.js +1 -1
  8. package/dist/{chrome-print-CK3v5NhC.d.ts → chrome-print-H0uSxdg3.d.ts} +70 -17
  9. package/dist/{chunk-AMOFXSEO.cjs → chunk-2C75IWUN.cjs} +1 -1
  10. package/dist/chunk-2NFQ7OXY.cjs +1 -0
  11. package/dist/chunk-2V3V57SC.js +3 -0
  12. package/dist/chunk-32YOHLEK.cjs +32 -0
  13. package/dist/chunk-4NISR27M.cjs +31 -0
  14. package/dist/chunk-5ZE7ROGP.js +31 -0
  15. package/dist/{chunk-LZ64O473.js → chunk-66ZAVRGB.js} +1 -1
  16. package/dist/{chunk-A5GMOQWD.js → chunk-6767S7UF.js} +1 -1
  17. package/dist/chunk-6BZINLEN.cjs +1 -0
  18. package/dist/{chunk-EBIMIIC3.js → chunk-AVGSD7FB.js} +5 -5
  19. package/dist/{chunk-TZTKEPCC.cjs → chunk-CBJMRC4L.cjs} +1 -1
  20. package/dist/chunk-DCILO4XD.cjs +236 -0
  21. package/dist/{chunk-FBGZOGLU.cjs → chunk-DSIDCA3V.cjs} +4 -4
  22. package/dist/chunk-FLEFHRJG.cjs +5 -0
  23. package/dist/chunk-FMSXJ22B.js +2 -0
  24. package/dist/{chunk-7ACXKFKO.js → chunk-I4OZW2NO.js} +1 -1
  25. package/dist/chunk-JGE2O6IF.cjs +3 -0
  26. package/dist/chunk-K2BBJDM7.js +32 -0
  27. package/dist/chunk-LMASPHYS.js +1 -0
  28. package/dist/chunk-NYZP5NM3.js +4 -0
  29. package/dist/chunk-P3XUE72N.js +236 -0
  30. package/dist/{chunk-JZ4LO3ZZ.js → chunk-Q5YVLUGG.js} +1 -1
  31. package/dist/chunk-QALWAAPL.cjs +4 -0
  32. package/dist/{chunk-ELR6HXOO.js → chunk-QDUMZYTX.js} +1 -1
  33. package/dist/chunk-QLANEOTJ.cjs +7 -0
  34. package/dist/{chunk-4NPNKO5U.cjs → chunk-SJV6WCTP.cjs} +1 -1
  35. package/dist/{chunk-I4WSXFY6.js → chunk-TMCMXIBT.js} +4 -4
  36. package/dist/{chunk-GTICLPKS.cjs → chunk-TY5CE2JR.cjs} +1 -1
  37. package/dist/chunk-UAUB5YV6.js +7 -0
  38. package/dist/{chunk-Q4MUV5KX.cjs → chunk-WWZWT26M.cjs} +1 -1
  39. package/dist/chunk-Y3JSN52G.cjs +2 -0
  40. package/dist/chunk-YD3KSZJM.js +1 -0
  41. package/dist/collaboration/replication.cjs +1 -1
  42. package/dist/collaboration/replication.d.ts +3 -3
  43. package/dist/collaboration/replication.js +1 -1
  44. package/dist/collaboration.d.ts +2 -2
  45. package/dist/contracts/document.d.ts +2 -2
  46. package/dist/contracts/editor.d.ts +8 -8
  47. package/dist/contracts/modules.cjs +1 -1
  48. package/dist/contracts/modules.d.ts +34 -13
  49. package/dist/contracts/modules.js +1 -1
  50. package/dist/contracts/types.d.ts +3 -3
  51. package/dist/{custom-node-writes-BC3z8NwO.d.ts → custom-node-writes-Cj0itq58.d.ts} +2 -2
  52. package/dist/{document-protection-8hXPdn5U.d.ts → document-protection-CDLoYQI3.d.ts} +1 -1
  53. package/dist/{drawing-graphic-kind-_5u2E4ee.d.ts → drawing-graphic-kind-8zt6pugF.d.ts} +2 -2
  54. package/dist/{drawing-preview-package-JyAqL6OV.d.ts → drawing-preview-package-8o9LSfzP.d.ts} +1 -1
  55. package/dist/{editor-BGCdE3tB.d.ts → editor-CujQcn1z.d.ts} +20 -10
  56. package/dist/editor.cjs +1 -1
  57. package/dist/editor.css +3 -3
  58. package/dist/editor.d.ts +52 -29
  59. package/dist/editor.js +1 -1
  60. package/dist/export.cjs +2 -2
  61. package/dist/export.d.ts +6 -6
  62. package/dist/export.js +1 -1
  63. package/dist/index.cjs +1 -1
  64. package/dist/index.d.ts +18 -18
  65. package/dist/index.js +1 -1
  66. package/dist/{layout-shaping-D2qNes9-.d.ts → layout-shaping-ZjLRz_qa.d.ts} +1 -1
  67. package/dist/layout.cjs +1 -1
  68. package/dist/layout.d.ts +25 -21
  69. package/dist/layout.js +1 -1
  70. package/dist/{note-properties-DGPzKUuA.d.ts → note-properties-BRpskBeh.d.ts} +1 -1
  71. package/dist/output.cjs +1 -1
  72. package/dist/output.d.ts +10 -10
  73. package/dist/output.js +1 -1
  74. package/dist/{protocol-0y3iaYj9.d.ts → protocol-GVVQQwCX.d.ts} +13 -2
  75. package/dist/{review-paragraph-order-DeQp2_iu.d.ts → review-paragraph-order-aEHnQTt7.d.ts} +5 -2
  76. package/dist/{revision-projection-CrAv-HP6.d.ts → revision-projection-vU_UiTLx.d.ts} +1 -1
  77. package/dist/{semantic-cell-selection-CeG_qqDV.d.ts → semantic-cell-selection-CaRIISu-.d.ts} +2 -2
  78. package/dist/{semantic-interaction-DcE_ZsiD.d.ts → semantic-interaction-LJtUJJS5.d.ts} +1 -1
  79. package/dist/{semantic-paint-DfeN6UQF.d.ts → semantic-paint-2LBYlQcn.d.ts} +11 -4
  80. package/dist/{semantic-record-queries-qwd9Ict6.d.ts → semantic-record-queries-C_YK2gCz.d.ts} +1 -1
  81. package/dist/{semantic-records-thL1rcmG.d.ts → semantic-records-AU2pIYRp.d.ts} +3 -3
  82. package/dist/store.cjs +1 -1
  83. package/dist/store.d.ts +1664 -1664
  84. package/dist/store.js +1 -1
  85. package/dist/{tree-op-types-CGlwCQXg.d.ts → tree-op-types-DmrePCMo.d.ts} +320 -11
  86. package/dist/{tree-package-store-D0_BOm-r.d.ts → tree-package-fragment-DXZ2B7x0.d.ts} +702 -691
  87. package/dist/{tree-session-contract-DkThhHjy.d.ts → tree-session-contract-D3e-5YNq.d.ts} +19 -4
  88. package/dist/{unsupported-elements-qj0sXi2s.d.ts → unsupported-elements-9Pz4I_F6.d.ts} +1 -1
  89. package/docs/accept-reject-without-scrolling.md +31 -48
  90. package/docs/comment-on-found-text.md +47 -23
  91. package/docs/custom-review-cards.md +50 -34
  92. package/docs/highlight-ranges.md +26 -6
  93. package/docs/index.md +21 -21
  94. package/docs/propose-rewrite.md +87 -138
  95. package/docs/tracked-replacement.md +41 -20
  96. package/package.json +2 -2
  97. package/dist/chunk-4C7JUJDX.cjs +0 -1
  98. package/dist/chunk-4HENIAFG.js +0 -1
  99. package/dist/chunk-6IYKYYWF.js +0 -32
  100. package/dist/chunk-CDAFCPT6.cjs +0 -3
  101. package/dist/chunk-CU6QPXKD.js +0 -2
  102. package/dist/chunk-EMITIPLN.js +0 -4
  103. package/dist/chunk-IGB66DIX.cjs +0 -30
  104. package/dist/chunk-JQPTNBLT.js +0 -236
  105. package/dist/chunk-JVWRILO3.cjs +0 -4
  106. package/dist/chunk-KOYEBRLV.js +0 -1
  107. package/dist/chunk-KZZPOZOF.cjs +0 -2
  108. package/dist/chunk-NPWMZIPA.cjs +0 -32
  109. package/dist/chunk-NS2QCOAS.js +0 -7
  110. package/dist/chunk-O2PGRL5D.js +0 -3
  111. package/dist/chunk-TFJUIP4X.cjs +0 -236
  112. package/dist/chunk-V3N4SOAK.cjs +0 -1
  113. package/dist/chunk-V6FOPP2H.js +0 -30
  114. package/dist/chunk-XFEIUKOS.cjs +0 -7
  115. package/dist/chunk-ZF4N3N3L.cjs +0 -5
package/dist/store.js CHANGED
@@ -1 +1 @@
1
- export{j as Budget,i as BudgetError,x as COMPARATORS,l as CancellationController,k as CancellationError,R as DEFAULT_MAX_EDITABLE_STORY_PARTS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,fa as MAX_CUSTOM_NODE_LABEL_LENGTH,ea as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,O as MAX_FRAGMENT_DECODED_BYTES,n as PortRegistry,m as PortResolutionError,g as RegistryError,ua as SEARCH_MATCH_LIMIT,ta as SEARCH_QUERY_MAX,p as SequentialIdentity,Q as TreeDocumentStore,S as TreePackageStore,Y as addComment,ba as addPackageComment,P as applyFragmentPaste,w as assertLimitInvariants,c as assertValidId,q as beginOperation,$ as commentPartNameOf,aa as commentsExtendedPartNameOf,y as compareArtifacts,e as compareSemVer,Ia as createDrawingPreviewPackage,ja as customNodePayloadsByControl,ka as customNodePayloadsOf,da as deletePackageComments,r as endOperation,M as extractFragmentPackage,ya as findOccurrences,z as fingerprint,va as foldCase,_ as hasCommentPart,C as hashAuthored,Ca as headlessViewOfStore,ga as insertCustomNodeWrite,la as insertPackageCustomNode,Ha as inspectDrawingSupport,xa as isSearchableQuery,b as isValidId,wa as isWholeWord,u as makeLimitCounter,za as materializeGlossaryPlaceholders,N as mergeFragmentIntoPackage,X as nextCommentId,Ba as openHeadlessDocument,d as parseSemVer,Aa as planRevisionBatch,sa as refreshBoundContent,ha as removeCustomNodeWrite,ma as removePackageCustomNode,B as replayFixture,h as resolve,f as satisfies,Z as setCommentResolved,ca as setPackageCommentResolved,ia as sweepCustomNodePayloads,A as validateFixture}from'./chunk-EMITIPLN.js';export{Xh as ACCEPTED_PARAGRAPH_PROPERTIES,Wh as ACCEPTED_RUN_PROPERTIES,m as ALL_FROZEN_IDS,Yh as AUTHORABLE_PARAGRAPH_PROPERTIES,Zh as AUTHORABLE_RUN_PROPERTIES,u as BoundedCounter,h as CANONICAL_MUTATION_ORIGINS,we as CHARTEX_GRAPHIC_DATA_URI,xe as CHARTEX_NAMESPACE_URI,ue as CHART_GRAPHIC_DATA_URI,ve as CHART_NAMESPACE_URI,ye as CHART_STYLE_NAMESPACE_URI,gc as CONTENT_CONTROL_ID_MAX,yc as CONTENT_CONTROL_PROPERTY_ORDER,qk as CUSTOM_NODE_XPATH_PREFIX,ak as CUSTOM_XML_PROPS_REL,bk as CUSTOM_XML_PROPS_TYPE,$j as CUSTOM_XML_REL,P as DANGEROUS_KEYS,ck as DATASTORE_NAMESPACE_URI,xf as DEFAULT_ENDNOTE_PROPERTIES,wf as DEFAULT_FOOTNOTE_PROPERTIES,Th as DEFAULT_FORMATTING_DISPLAY_MODE,r as DEFAULT_IMAGE_RESOURCE_LIMITS,o as DEFAULT_LIMITS,Eg as DEFAULT_OMML_LIMITS,kg as DEFAULT_OOXML_PACKAGE_LIMITS,Wj as DEFAULT_VIEW_SETTINGS,_e as DEFAULT_ZIP_LIMITS,l as DEPENDENCY_KEY_IDS,Ie as DIAGRAM_NAMESPACE_URI,va as DRAWINGML_MAIN_NAMESPACE_URI,Q as DangerousKeyError,Wg as FIELD_ATOM_CHAR,n as HARD_CEILINGS,De as HYPERLINK_RELATIONSHIP_TYPE,L as IMAGE_RELATIONSHIP_TYPE,q as IMAGE_RESOURCE_HARD_CEILINGS,Oe as IMAGE_WRAP_TARGETS,$ as INERT_EXECUTABLE_KINDS,t as LimitExceededError,Ti as MAX_AUTHORED_BOOKMARK_NAME_LENGTH,fc as MAX_CONTENT_CONTROLS_PER_PART,ec as MAX_CONTENT_CONTROL_NESTING,_c as MAX_NOTES_PER_PART,kj as MAX_NOTE_REFERENCE_PARTS,jj as MAX_NOTE_REFERENCE_SCAN,dd as MAX_STORY_SDT_NESTING,Mf as MAX_SVG_SNIFF_BYTES,i as NON_CANONICAL_ORIGINS,Bc as NOTE_ATOM_CHAR,Fc as NOTE_CONTINUATION_SEPARATOR_ID,Dc as NOTE_ID_MAX,Cc as NOTE_ID_MIN,Ec as NOTE_SEPARATOR_ID,fj as NO_DOCUMENT_PROTECTION,Uj as NO_TRACKING_SETTINGS,Dg as OFFICE_MATH_NAMESPACE_URI,Ce as OFFICE_RELATIONSHIP_NAMESPACE_URI,Oa as OOXML_NODE_IDENTITY_RULES,g as ORIGIN_IDS,$b as PAGE_BREAK_CHAR,la as PrefixAllocator,j as RESULT_IDS,k as RUNTIME_PORT_IDS,Mm as TABLE_BORDER_STYLES,Gi as TOC_LEVEL_INDENT_TWIPS,th as TOC_MAX_BOOKMARKS_PER_REFRESH,sh as TOC_MAX_ENTRIES,uh as TOC_MAX_FIELD_NESTING,rh as TOC_MAX_INSTRUCTION_CHARS,vh as TOC_MAX_PAGE_PASSES,Vh as TREE_DOC_OP_KINDS,Ld as TWIPS_PER_POINT,xd as VML_NAMESPACE_URI,yd as VML_OFFICE_NAMESPACE_URI,zd as VML_WORD_NAMESPACE_URI,Lj as W15_NAMESPACE_URI,pa as WML_NAMESPACE_URI,ra as XMLNS_NAMESPACE_URI,qa as XML_NAMESPACE_URI,Ac as allocateContentControlId,_f as allocateDrawingPropertyId,$c as allocateNoteId,mb as applyEdits,ij as applyHeaderFooterLifecycleOp,Dj as applyNoteLifecycleOp,En as applyTreeOp,B as asciiFold,ka as assertValidQName,ph as atomicFieldSpansOf,Zc as atomicNoteSpansOf,aj as authorableHyperlinkTarget,Df as authoredDocumentEndnoteProperties,Cf as authoredDocumentFootnoteProperties,Af as authoredEndnotePropertiesFromSectPr,zf as authoredFootnotePropertiesFromSectPr,ai as authoredProperties,hd as bodyStoryRoot,Wi as bookmarkNameKey,Ui as bookmarkNameProblem,Mi as bookmarkPairNodes,uk as boundCustomXmlNodeIdOf,sk as boundCustomXmlNodeIds,tk as boundCustomXmlNodeIdsInPackage,Fi as buildBookmarkIndex,J as buildContentTypeIndex,M as buildRelationshipSet,Ji as buildTocContentControl,Ii as buildTocEntryParagraph,_i as buildingBlockGalleryOf,$i as buildingBlocksForControl,Zi as buildingBlocksOf,Ja as canonicalOoxmlFingerprint,v as canonicalize,Ej as cascadeDeletedNoteReferences,Tj as cascadeEmptiedComments,ga as childElements,pd as collectFlowBlocks,bb as collectNodeIds,nj as collectNoteReferences,pj as collectPackageNoteReferences,bm as collectReviewItems,Ll as collectRevisionSites,qf as collectSectionPropertyNodes,jd as collectStoryParagraphs,Nj as commentAnchorsOfStory,Wl as commentBodyText,Yl as commentInitials,am as commentItemsOf,Pj as commentsOfPart,_ as containsCssFetch,kc as contentControlContentChildren,oc as contentControlContentNodeOf,nd as contentControlContentOf,nc as contentControlEndPropertiesNodeOf,rc as contentControlLevelOf,mc as contentControlPropertiesNodeOf,qc as contentControlPropertiesOf,uc as contentControlTextOf,sc as contentControlsIn,rg as contentTypesPartBytes,Xf as createImageResourceCache,cb as createNodeIdAllocator,lj as createNoteReferenceScanBudget,Wc as customMarkFollows,rk as customNodeBinding,fk as customXmlDataParts,ok as customXmlLabelXPath,jk as customXmlNodes,pk as customXmlPrefixMappings,dk as datastoreItemIdFor,Pk as deepParagraphOrderOfPart,Sj as deleteCommentThread,Qg as deobfuscateFont,wd as deriveOoxmlIndexes,Ah as detectBodyTocs,D as detectDuplicateNames,qj as diagnoseNoteReferences,Qi as diffSemanticDigests,Oi as digestPart,Wd as directFill,ci as directParagraphMarkProperties,bi as directParagraphProperties,Og as displayMathAlignment,mn as drawingOpImpact,Kk as enclosedBookmarkDeletions,bj as ensureHyperlinkRelationship,Ri as ensureListDefinition,Si as ensureNumberingLevel,Hg as equationExpressionToLinearMath,Lg as equationsOfAtom,Z as escapeCssString,V as escapeXml,W as escapeXmlAttribute,Yd as evaluateGeometry,I as extensionKey,gh as fieldAtomText,fh as fieldOnOffAttribute,tc as findContentControl,gk as findCustomXmlDataPart,Ch as findDetectedToc,Ud as findDirectChild,fa as findElement,fe as findGraphicData,eb as findNode,cd as findNoteById,pl as firstReviewRange,lc as flattenContentControls,Xg as fldCharType,eh as fldSimpleInstr,xb as fnv1a32,Hc as formatNoteScopeId,gi as formatOwnedRunIds,qi as formattableRanges,Tk as formsProtectionEnabled,Yi as glossaryPartOf,dc as hardBreakAttributes,ac as hardBreakKind,cc as hardBreakText,Rj as hasAnyComment,Nf as hasBoundedSvgRoot,ih as hasLegacyFormFieldData,db as hasNode,Fe as hyperlinkAnchorOf,Ge as hyperlinkRelationshipIdOf,He as hyperlinkTargetOf,Vf as imageResourceLookupFor,td as indexStyles,Di as inlineControlEndingAt,Ei as inlineControlStartingAt,jb as insertChildren,ae as installDrawingRenderers,dh as instrTextValue,_h as isAuthorableRunProperty,ld as isContentControl,md as isContentControlContent,ic as isContentControlContentNode,hc as isContentControlNode,jc as isContentControlWrapper,za as isContentRevisionKind,Pc as isContinuationSeparatorNode,R as isDangerousKey,nn as isDrawingTreeDocOp,nb as isElement,Kc as isEndnotesNode,ba as isEvaluableField,hh as isFieldChrome,$g as isFldChar,Yg as isFldCharNode,ch as isFldSimple,_g as isFldSimpleNode,Jc as isFootnotesNode,hj as isHeaderFooterLifecycleOp,Vi as isHiddenBookmarkName,Ee as isHyperlinkNode,aa as isInertExecutable,ah as isInstrText,Zg as isInstrTextNode,Gf as isLegalEndnotePosition,qh as isLegalFldCharType,Hf as isLegalFootnotePosition,If as isLegalNumRestart,Tc as isNormalNote,Yc as isNoteAtomNode,Cj as isNoteLifecycleOp,Lc as isNoteNode,Nc as isNoteRefNode,Mc as isNoteReferenceNode,Jg as isOmmlDisplay,Kg as isOmmlEquationAtom,bc as isPageBreakNode,Da as isRangeMarkerKind,Oc as isSeparatorNode,gd as isStoryPart,G as isValidMime,ia as isValidNCName,vb as isValidParaId,ja as isValidQName,X as isValidXmlText,Xm as legacyCheckboxFieldsOf,Id as legacyRotationDegrees,Ig as linearMathToOmml,dm as linkRevisionReplies,Xi as listBookmarks,Uf as liveDrawingReferenceCount,Zl as locateSites,wc as lockForbidsEdit,xc as lockForbidsRemoval,Me as lowerDrawingTextBody,ei as mergedFontProperty,hi as mergedMultiSettingProperty,ii as mergedParagraphMarkProperties,di as mergedProperties,yb as mintParaId,Cb as mintedParagraphIdentityAttributes,sj as normalNoteIds,Eb as normalizeParagraphIdentity,z as normalizePartName,Xc as noteAtomText,Rc as noteIdOf,Qc as noteKindOf,Vc as noteRefKindOf,Uc as noteReferenceKindOf,Sc as noteTypeOf,ad as notesOf,rj as notesPartHasId,S as nullRecord,Gn as observeHistoryGroup,Ka as ooxmlTreesEqual,zc as orderedContentControlProperties,wb as paraIdOf,Ai as paragraphOffsetIndex,Ok as paragraphOrderOfPart,Gm as paragraphTextOf,fb as parentNodeOf,yf as parseAuthoredNoteProperties,pc as parseContentControlId,Td as parseEmu,Gg as parseLinearMath,Gc as parseNoteId,Ic as parseNoteScopeId,wh as parseTocInstruction,C as partNameKey,fm as planRevisionAuthorChange,Li as planTocEntries,Nd as points,Pd as pointsToTwips,Xd as presetGeometryDefinition,We as projectDrawing,Pg as projectOmmlAtom,Mg as projectOmmlDisplay,Fg as projectOmmlEquation,$h as propertyContainer,kk as readCustomXmlNode,gj as readDocumentProtection,Rg as readEmbeddedFonts,Ea as readOnOffChild,lg as readOoxmlPackage,Pa as readOoxmlPart,Vj as readTrackingSettings,Qd as readTwipsMeasure,Xj as readViewSettings,ea as readXml,$e as readZip,cj as relationshipTargetIn,sg as relationshipsOf,ug as relsPartNameFor,lb as removeNode,ib as replaceChildren,kb as replaceNode,Hn as reportHistoryGroup,Vd as resolveColorNode,vc as resolveContentControlLock,K as resolveContentType,tg as resolveContentTypeOf,Ff as resolveEndnoteProperties,Ef as resolveFootnoteProperties,uf as resolveHeaderFooterParts,tf as resolveHeaderFooterPartsBySection,sf as resolveHeaderFooterResolutionBySection,O as resolveImageRelationship,s as resolveImageResourceLimits,E as resolveInternalTarget,p as resolveLimits,mj as resolveNotesPart,N as resolveRelationship,Ni as resolveTocRowHeadings,jl as reviewItemKey,ol as reviewItemRanges,$l as revisionItemsOf,fi as runAddressRanges,oi as runPropertyEdits,ri as runsCovering,U as sanitizeHref,oa as schemaAttributeValue,ca as scrubExport,Uk as sectionProtectsForms,yi as segmentsOf,Pi as semanticDigest,Ha as serializeOoxmlPart,Bf as settingsPartOf,qe as shapeThemeCacheToken,Of as sniffImageMime,w as stableHash,id as storyParagraphs,fd as storyRootsOf,ud as stylesPartOf,ha as textContent,Vk as textFormFieldsOf,_j as textboxStoriesInPart,Qj as threadStateOfPart,T as toSafeRecord,Ki as tocEntryText,Hi as tocLeftIndentTwips,Md as twips,Od as twipsToPoints,zb as usedParaIds,qn as validateDrawingOp,F as validateExternalTarget,Qf as validateGifHeader,Rf as validateJpegHeader,Ma as validateOoxmlPart,Bg as validatePackageInvariants,Pf as validatePngHeader,Tf as validateRasterHeader,un as validateTreeOp,Bd as vmlAttribute,Cd as vmlChildren,Kd as vmlColor,Rd as vmlFormulaValues,Ad as vmlNamed,Gd as vmlNumber,Fd as vmlOff,Hd as vmlPoints,Jd as vmlStyle,Ab as w14RootPrefix,rd as walkAllStoryParagraphs,sd as walkParagraphInline,qd as walkStoryBlocks,bg as withBinaryPart,vg as withContentTypeOverride,hk as withCustomXmlDataPart,lk as withCustomXmlNode,cg as withEmbeddedImage,vk as withExportedCustomNodes,Ag as withNewPart,qg as withPart,zg as withRelationship,Jk as withoutBookmarkInPart,ik as withoutCustomXmlDataPart,mk as withoutCustomXmlNode,nk as withoutOrphanCustomXmlNodes,hg as withoutUnreferencedImagePart,tn as wrapTargetToAnchorSpec,ng as writeOoxmlPackage,og as writeOoxmlPackageKeepingRevisionIds,af as writeZip}from'./chunk-JQPTNBLT.js';
1
+ export{j as Budget,i as BudgetError,x as COMPARATORS,l as CancellationController,k as CancellationError,R as DEFAULT_MAX_EDITABLE_STORY_PARTS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,fa as MAX_CUSTOM_NODE_LABEL_LENGTH,ea as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,O as MAX_FRAGMENT_DECODED_BYTES,n as PortRegistry,m as PortResolutionError,g as RegistryError,ua as SEARCH_MATCH_LIMIT,ta as SEARCH_QUERY_MAX,p as SequentialIdentity,Q as TreeDocumentStore,S as TreePackageStore,Y as addComment,ba as addPackageComment,P as applyFragmentPaste,w as assertLimitInvariants,c as assertValidId,q as beginOperation,$ as commentPartNameOf,aa as commentsExtendedPartNameOf,y as compareArtifacts,e as compareSemVer,Ia as createDrawingPreviewPackage,ja as customNodePayloadsByControl,ka as customNodePayloadsOf,da as deletePackageComments,r as endOperation,M as extractFragmentPackage,ya as findOccurrences,z as fingerprint,va as foldCase,_ as hasCommentPart,C as hashAuthored,Ca as headlessViewOfStore,ga as insertCustomNodeWrite,la as insertPackageCustomNode,Ha as inspectDrawingSupport,xa as isSearchableQuery,b as isValidId,wa as isWholeWord,u as makeLimitCounter,za as materializeGlossaryPlaceholders,N as mergeFragmentIntoPackage,X as nextCommentId,Ba as openHeadlessDocument,d as parseSemVer,Aa as planRevisionBatch,sa as refreshBoundContent,ha as removeCustomNodeWrite,ma as removePackageCustomNode,B as replayFixture,h as resolve,f as satisfies,Z as setCommentResolved,ca as setPackageCommentResolved,ia as sweepCustomNodePayloads,A as validateFixture}from'./chunk-NYZP5NM3.js';export{Yh as ACCEPTED_PARAGRAPH_PROPERTIES,Xh as ACCEPTED_RUN_PROPERTIES,m as ALL_FROZEN_IDS,Zh as AUTHORABLE_PARAGRAPH_PROPERTIES,_h as AUTHORABLE_RUN_PROPERTIES,u as BoundedCounter,h as CANONICAL_MUTATION_ORIGINS,we as CHARTEX_GRAPHIC_DATA_URI,xe as CHARTEX_NAMESPACE_URI,ue as CHART_GRAPHIC_DATA_URI,ve as CHART_NAMESPACE_URI,ye as CHART_STYLE_NAMESPACE_URI,gc as CONTENT_CONTROL_ID_MAX,yc as CONTENT_CONTROL_PROPERTY_ORDER,tk as CUSTOM_NODE_XPATH_PREFIX,dk as CUSTOM_XML_PROPS_REL,ek as CUSTOM_XML_PROPS_TYPE,ck as CUSTOM_XML_REL,P as DANGEROUS_KEYS,fk as DATASTORE_NAMESPACE_URI,xf as DEFAULT_ENDNOTE_PROPERTIES,wf as DEFAULT_FOOTNOTE_PROPERTIES,Uh as DEFAULT_FORMATTING_DISPLAY_MODE,r as DEFAULT_IMAGE_RESOURCE_LIMITS,o as DEFAULT_LIMITS,Fg as DEFAULT_OMML_LIMITS,kg as DEFAULT_OOXML_PACKAGE_LIMITS,Zj as DEFAULT_VIEW_SETTINGS,_e as DEFAULT_ZIP_LIMITS,l as DEPENDENCY_KEY_IDS,Ie as DIAGRAM_NAMESPACE_URI,va as DRAWINGML_MAIN_NAMESPACE_URI,Q as DangerousKeyError,Xg as FIELD_ATOM_CHAR,n as HARD_CEILINGS,De as HYPERLINK_RELATIONSHIP_TYPE,L as IMAGE_RELATIONSHIP_TYPE,q as IMAGE_RESOURCE_HARD_CEILINGS,Oe as IMAGE_WRAP_TARGETS,$ as INERT_EXECUTABLE_KINDS,t as LimitExceededError,Vi as MAX_AUTHORED_BOOKMARK_NAME_LENGTH,fc as MAX_CONTENT_CONTROLS_PER_PART,ec as MAX_CONTENT_CONTROL_NESTING,_c as MAX_NOTES_PER_PART,nj as MAX_NOTE_REFERENCE_PARTS,mj as MAX_NOTE_REFERENCE_SCAN,dd as MAX_STORY_SDT_NESTING,Mf as MAX_SVG_SNIFF_BYTES,i as NON_CANONICAL_ORIGINS,Bc as NOTE_ATOM_CHAR,Fc as NOTE_CONTINUATION_SEPARATOR_ID,Dc as NOTE_ID_MAX,Cc as NOTE_ID_MIN,Ec as NOTE_SEPARATOR_ID,ij as NO_DOCUMENT_PROTECTION,Xj as NO_TRACKING_SETTINGS,Eg as OFFICE_MATH_NAMESPACE_URI,Ce as OFFICE_RELATIONSHIP_NAMESPACE_URI,Oa as OOXML_NODE_IDENTITY_RULES,g as ORIGIN_IDS,$b as PAGE_BREAK_CHAR,la as PrefixAllocator,j as RESULT_IDS,k as RUNTIME_PORT_IDS,Pm as TABLE_BORDER_STYLES,Ii as TOC_LEVEL_INDENT_TWIPS,uh as TOC_MAX_BOOKMARKS_PER_REFRESH,th as TOC_MAX_ENTRIES,vh as TOC_MAX_FIELD_NESTING,sh as TOC_MAX_INSTRUCTION_CHARS,wh as TOC_MAX_PAGE_PASSES,Wh as TREE_DOC_OP_KINDS,Ld as TWIPS_PER_POINT,xd as VML_NAMESPACE_URI,yd as VML_OFFICE_NAMESPACE_URI,zd as VML_WORD_NAMESPACE_URI,Oj as W15_NAMESPACE_URI,pa as WML_NAMESPACE_URI,ra as XMLNS_NAMESPACE_URI,qa as XML_NAMESPACE_URI,Ac as allocateContentControlId,_f as allocateDrawingPropertyId,$c as allocateNoteId,mb as applyEdits,lj as applyHeaderFooterLifecycleOp,Gj as applyNoteLifecycleOp,Hn as applyTreeOp,B as asciiFold,ka as assertValidQName,qh as atomicFieldSpansOf,Zc as atomicNoteSpansOf,dj as authorableHyperlinkTarget,Df as authoredDocumentEndnoteProperties,Cf as authoredDocumentFootnoteProperties,Af as authoredEndnotePropertiesFromSectPr,zf as authoredFootnotePropertiesFromSectPr,bi as authoredProperties,hd as bodyStoryRoot,Yi as bookmarkNameKey,Wi as bookmarkNameProblem,Oi as bookmarkPairNodes,xk as boundCustomXmlNodeIdOf,vk as boundCustomXmlNodeIds,wk as boundCustomXmlNodeIdsInPackage,Hi as buildBookmarkIndex,J as buildContentTypeIndex,M as buildRelationshipSet,Li as buildTocContentControl,Ki as buildTocEntryParagraph,aj as buildingBlockGalleryOf,bj as buildingBlocksForControl,$i as buildingBlocksOf,Ja as canonicalOoxmlFingerprint,v as canonicalize,Hj as cascadeDeletedNoteReferences,Wj as cascadeEmptiedComments,ga as childElements,pd as collectFlowBlocks,bb as collectNodeIds,qj as collectNoteReferences,sj as collectPackageNoteReferences,em as collectReviewItems,Ol as collectRevisionSites,qf as collectSectionPropertyNodes,jd as collectStoryParagraphs,Qj as commentAnchorsOfStory,Zl as commentBodyText,$l as commentInitials,dm as commentItemsOf,Sj as commentsOfPart,kf as commentsPartNameForStory,_ as containsCssFetch,kc as contentControlContentChildren,oc as contentControlContentNodeOf,nd as contentControlContentOf,nc as contentControlEndPropertiesNodeOf,rc as contentControlLevelOf,mc as contentControlPropertiesNodeOf,qc as contentControlPropertiesOf,uc as contentControlTextOf,sc as contentControlsIn,sg as contentTypesPartBytes,Xf as createImageResourceCache,cb as createNodeIdAllocator,oj as createNoteReferenceScanBudget,Wc as customMarkFollows,uk as customNodeBinding,ik as customXmlDataParts,rk as customXmlLabelXPath,mk as customXmlNodes,sk as customXmlPrefixMappings,gk as datastoreItemIdFor,Sk as deepParagraphOrderOfPart,Vj as deleteCommentThread,Rg as deobfuscateFont,wd as deriveOoxmlIndexes,Bh as detectBodyTocs,D as detectDuplicateNames,tj as diagnoseNoteReferences,Si as diffSemanticDigests,Qi as digestPart,Wd as directFill,di as directParagraphMarkProperties,ci as directParagraphProperties,Pg as displayMathAlignment,pn as drawingOpImpact,Nk as enclosedBookmarkDeletions,ej as ensureHyperlinkRelationship,Ti as ensureListDefinition,Ui as ensureNumberingLevel,Ig as equationExpressionToLinearMath,Mg as equationsOfAtom,Z as escapeCssString,V as escapeXml,W as escapeXmlAttribute,Yd as evaluateGeometry,I as extensionKey,hh as fieldAtomText,gh as fieldOnOffAttribute,tc as findContentControl,jk as findCustomXmlDataPart,Dh as findDetectedToc,Ud as findDirectChild,fa as findElement,fe as findGraphicData,eb as findNode,cd as findNoteById,sl as firstReviewRange,lc as flattenContentControls,Yg as fldCharType,fh as fldSimpleInstr,xb as fnv1a32,Hc as formatNoteScopeId,hi as formatOwnedRunIds,ri as formattableRanges,Wk as formsProtectionEnabled,_i as glossaryPartOf,dc as hardBreakAttributes,ac as hardBreakKind,cc as hardBreakText,Uj as hasAnyComment,Nf as hasBoundedSvgRoot,jh as hasLegacyFormFieldData,db as hasNode,Fe as hyperlinkAnchorOf,Ge as hyperlinkRelationshipIdOf,He as hyperlinkTargetOf,Vf as imageResourceLookupFor,td as indexStyles,yi as inlineControlEndingAt,zi as inlineControlStartingAt,jb as insertChildren,ae as installDrawingRenderers,eh as instrTextValue,$h as isAuthorableRunProperty,ld as isContentControl,md as isContentControlContent,ic as isContentControlContentNode,hc as isContentControlNode,jc as isContentControlWrapper,za as isContentRevisionKind,Pc as isContinuationSeparatorNode,R as isDangerousKey,qn as isDrawingTreeDocOp,nb as isElement,Kc as isEndnotesNode,ba as isEvaluableField,ih as isFieldChrome,ah as isFldChar,Zg as isFldCharNode,dh as isFldSimple,$g as isFldSimpleNode,Jc as isFootnotesNode,kj as isHeaderFooterLifecycleOp,Xi as isHiddenBookmarkName,Ee as isHyperlinkNode,aa as isInertExecutable,bh as isInstrText,_g as isInstrTextNode,Gf as isLegalEndnotePosition,rh as isLegalFldCharType,Hf as isLegalFootnotePosition,If as isLegalNumRestart,Tc as isNormalNote,Yc as isNoteAtomNode,Fj as isNoteLifecycleOp,Lc as isNoteNode,Nc as isNoteRefNode,Mc as isNoteReferenceNode,Kg as isOmmlDisplay,Lg as isOmmlEquationAtom,bc as isPageBreakNode,Da as isRangeMarkerKind,Oc as isSeparatorNode,gd as isStoryPart,G as isValidMime,ia as isValidNCName,vb as isValidParaId,ja as isValidQName,X as isValidXmlText,_m as legacyCheckboxFieldsOf,Id as legacyRotationDegrees,Jg as linearMathToOmml,gm as linkRevisionReplies,Zi as listBookmarks,Uf as liveDrawingReferenceCount,am as locateSites,wc as lockForbidsEdit,xc as lockForbidsRemoval,Me as lowerDrawingTextBody,fi as mergedFontProperty,ii as mergedMultiSettingProperty,ji as mergedParagraphMarkProperties,ei as mergedProperties,yb as mintParaId,Cb as mintedParagraphIdentityAttributes,vj as normalNoteIds,Eb as normalizeParagraphIdentity,z as normalizePartName,Xc as noteAtomText,Rc as noteIdOf,Qc as noteKindOf,Vc as noteRefKindOf,Uc as noteReferenceKindOf,Sc as noteTypeOf,ad as notesOf,uj as notesPartHasId,S as nullRecord,vd as numberingRootOf,Jn as observeHistoryGroup,Ka as ooxmlTreesEqual,zc as orderedContentControlProperties,wb as paraIdOf,Ei as paragraphOffsetIndex,Rk as paragraphOrderOfPart,Jm as paragraphTextOf,fb as parentNodeOf,yf as parseAuthoredNoteProperties,pc as parseContentControlId,Td as parseEmu,Hg as parseLinearMath,Gc as parseNoteId,Ic as parseNoteScopeId,xh as parseTocInstruction,C as partNameKey,im as planRevisionAuthorChange,Ni as planTocEntries,Nd as points,Pd as pointsToTwips,Xd as presetGeometryDefinition,We as projectDrawing,Qg as projectOmmlAtom,Ng as projectOmmlDisplay,Gg as projectOmmlEquation,ai as propertyContainer,nk as readCustomXmlNode,jj as readDocumentProtection,Sg as readEmbeddedFonts,Ea as readOnOffChild,lg as readOoxmlPackage,Pa as readOoxmlPart,Yj as readTrackingSettings,Qd as readTwipsMeasure,_j as readViewSettings,ea as readXml,$e as readZip,fj as relationshipTargetIn,tg as relationshipsOf,vg as relsPartNameFor,lb as removeNode,ib as replaceChildren,kb as replaceNode,Kn as reportHistoryGroup,Vd as resolveColorNode,vc as resolveContentControlLock,K as resolveContentType,ug as resolveContentTypeOf,Ff as resolveEndnoteProperties,Ef as resolveFootnoteProperties,uf as resolveHeaderFooterParts,tf as resolveHeaderFooterPartsBySection,sf as resolveHeaderFooterResolutionBySection,O as resolveImageRelationship,s as resolveImageResourceLimits,E as resolveInternalTarget,p as resolveLimits,pj as resolveNotesPart,N as resolveRelationship,Pi as resolveTocRowHeadings,ml as reviewItemKey,rl as reviewItemRanges,cm as revisionItemsOf,gi as runAddressRanges,pi as runPropertyEdits,si as runsCovering,U as sanitizeHref,oa as schemaAttributeValue,ca as scrubExport,Xk as sectionProtectsForms,Ci as segmentsOf,Ri as semanticDigest,Ha as serializeOoxmlPart,Bf as settingsPartOf,f as sha256Bytes,qe as shapeThemeCacheToken,Of as sniffImageMime,w as stableHash,id as storyParagraphs,fd as storyRootsOf,ud as stylesPartOf,ha as textContent,Yk as textFormFieldsOf,bk as textboxStoriesInPart,Tj as threadStateOfPart,T as toSafeRecord,Mi as tocEntryText,Ji as tocLeftIndentTwips,Md as twips,Od as twipsToPoints,zb as usedParaIds,tn as validateDrawingOp,F as validateExternalTarget,Qf as validateGifHeader,Rf as validateJpegHeader,Ma as validateOoxmlPart,Cg as validatePackageInvariants,Pf as validatePngHeader,Tf as validateRasterHeader,xn as validateTreeOp,Bd as vmlAttribute,Cd as vmlChildren,Kd as vmlColor,Rd as vmlFormulaValues,Ad as vmlNamed,Gd as vmlNumber,Fd as vmlOff,Hd as vmlPoints,Jd as vmlStyle,Ab as w14RootPrefix,rd as walkAllStoryParagraphs,sd as walkParagraphInline,qd as walkStoryBlocks,bg as withBinaryPart,wg as withContentTypeOverride,kk as withCustomXmlDataPart,ok as withCustomXmlNode,cg as withEmbeddedImage,yk as withExportedCustomNodes,Bg as withNewPart,rg as withPart,Ag as withRelationship,Mk as withoutBookmarkInPart,lk as withoutCustomXmlDataPart,pk as withoutCustomXmlNode,qk as withoutOrphanCustomXmlNodes,hg as withoutUnreferencedImagePart,wn as wrapTargetToAnchorSpec,ng as writeOoxmlPackage,og as writeOoxmlPackageKeepingRevisionIds,af as writeZip}from'./chunk-P3XUE72N.js';
@@ -3103,6 +3103,15 @@ declare function orderedContentControlProperties(children: readonly OoxmlNode[])
3103
3103
  */
3104
3104
  declare function allocateContentControlId(root: OoxmlNode, actorId?: string): number | null;
3105
3105
 
3106
+ /**
3107
+ * Why a revision site cannot be resolved: no `w:id` or author, a content marker where content
3108
+ * cannot be, a wrapper whose content is itself marked, a structural revision outside tables and
3109
+ * numbering, or a move whose ranges do not pair up.
3110
+ *
3111
+ * @public
3112
+ */
3113
+ type RevisionSiteRefusal = 'unaddressed' | 'misplaced-marker' | 'nested-marker' | 'unsupported-structure' | 'unsupported-move';
3114
+
3106
3115
  /** A position in the model offset space of one story. */
3107
3116
  interface ReviewPosition {
3108
3117
  readonly paragraphId: string;
@@ -3398,15 +3407,6 @@ declare function activeReviewItem(items: readonly ReviewItem[], position: Review
3398
3407
  */
3399
3408
  declare function reviewThreadRootOf(items: readonly ReviewItem[], comment: ReviewCommentItem): ReviewItem;
3400
3409
 
3401
- /**
3402
- * Why a revision site cannot be resolved: no `w:id` or author, a content marker where content
3403
- * cannot be, a wrapper whose content is itself marked, a structural revision outside tables and
3404
- * numbering, or a move whose ranges do not pair up.
3405
- *
3406
- * @public
3407
- */
3408
- type RevisionSiteRefusal = 'unaddressed' | 'misplaced-marker' | 'nested-marker' | 'unsupported-structure' | 'unsupported-move';
3409
-
3410
3410
  /** The value a control accepts, by what kind of control it is. */
3411
3411
  type ContentControlValueInput = {
3412
3412
  readonly kind: 'text';
@@ -3557,6 +3557,301 @@ declare const TABLE_BORDER_STYLES: readonly ['single', 'dashed', 'dotted', 'doub
3557
3557
  */
3558
3558
  type TableBorderStyle = (typeof TABLE_BORDER_STYLES)[number];
3559
3559
 
3560
+ /** Options of one document compare. @public */
3561
+ interface CompareDocumentsEngineOptions {
3562
+ /**
3563
+ * Author recorded on every revision. The engine picks a default when absent, empty, or only
3564
+ * white space.
3565
+ */
3566
+ readonly authorName?: string;
3567
+ /** Record formatting differences as formatting revisions. Default `true`. */
3568
+ readonly detectFormatChanges?: boolean;
3569
+ /** Omit the revision timestamps. Default `false`. */
3570
+ readonly removeDateAndTime?: boolean;
3571
+ }
3572
+ /**
3573
+ * Why the compare engine refused a compare, as a stable code: the codes that the engine,
3574
+ * `compareDocuments`, and a background engine return. `compareDocuments.errors.<code>` in
3575
+ * `@docx-editor.dev/i18n` translates every code.
3576
+ *
3577
+ * @public
3578
+ */
3579
+ type CompareDocumentsEngineErrorCode =
3580
+ /**
3581
+ * An option has a value of the wrong type, such as a `detectFormatChanges` that is not a
3582
+ * boolean, or the revised document is not a `Uint8Array`.
3583
+ */
3584
+ 'invalidOptions'
3585
+ /** The original document is not a readable DOCX package. */
3586
+ | 'invalidOriginal'
3587
+ /** The revised document is not a readable DOCX package. */
3588
+ | 'invalidRevised'
3589
+ /** The documents exceed the compare's size limits. */
3590
+ | 'tooLarge'
3591
+ /**
3592
+ * The original document enforces protection that the compare would break: read-only,
3593
+ * comments, forms, or tracked-changes protection. A compare also writes differences that
3594
+ * have no tracked form, such as style definitions and content control properties, so
3595
+ * tracked-changes protection refuses too.
3596
+ */
3597
+ | 'protected'
3598
+ /** The differences include content that no tracked change can record. */
3599
+ | 'unsupportedContent';
3600
+ /**
3601
+ * Why a compare was refused, as a stable code. `compareDocuments.errors.<code>` in
3602
+ * `@docx-editor.dev/i18n` translates every code. The engine and `compareDocuments` return
3603
+ * {@link CompareDocumentsEngineErrorCode} values. The editor command and dialog can also return
3604
+ * the editor-only codes.
3605
+ *
3606
+ * @public
3607
+ */
3608
+ type CompareDocumentsErrorCode = CompareDocumentsEngineErrorCode
3609
+ /** Editor only: no review module, no open document, or no mount. */
3610
+ | 'unavailable'
3611
+ /** Editor only: a collaboration session is attached. */
3612
+ | 'collaboration'
3613
+ /** Editor only: the document is open for viewing only. */
3614
+ | 'viewing'
3615
+ /** Editor only: the dialog closed, or the compare was canceled, before it finished. */
3616
+ | 'closed'
3617
+ /** Editor only: the revised file is a `Uint8Array` with no bytes. */
3618
+ | 'empty'
3619
+ /**
3620
+ * Editor only: another compare of the same dialog runs, or a preview or an external document
3621
+ * refresh blocks writes to the document. Try again when it ends.
3622
+ */
3623
+ | 'busy'
3624
+ /**
3625
+ * Editor only: the open document changed while a background compare ran, so its result
3626
+ * no longer applies. The editor never retries by itself.
3627
+ */
3628
+ | 'documentChanged'
3629
+ /** Editor only: any other failure. */
3630
+ | 'failed';
3631
+ /**
3632
+ * What an `unsupportedContent` refusal is about, as a stable code.
3633
+ * `compareDocuments.reasons.<reason>` in `@docx-editor.dev/i18n` translates every reason.
3634
+ *
3635
+ * @public
3636
+ */
3637
+ type CompareDocumentsRefusalReason =
3638
+ /** The documents differ inside a content control that is locked or bound to data. */
3639
+ 'lockedContent'
3640
+ /** A document holds tracked changes that cannot be accepted, so its final state is unknown. */
3641
+ | 'unresolvedRevisions'
3642
+ /** The documents differ in content with no tracked-change form, such as an embedded file. */
3643
+ | 'untrackedContent'
3644
+ /** The revised document adds section or table settings that a reject cannot restore. */
3645
+ | 'unrecordedSettings'
3646
+ /** A header or footer of an earlier section cannot be paired with one of the original. */
3647
+ | 'headerFooter'
3648
+ /** The result needs a part type that the original document does not declare. */
3649
+ | 'packageStructure'
3650
+ /**
3651
+ * The result fails the check: accepting all changes does not give the revised text, rejecting
3652
+ * them does not give the original text, or a tracked change cannot be accepted or rejected.
3653
+ */
3654
+ | 'unverified';
3655
+ /** Result of one document compare. @public */
3656
+ type CompareDocumentsEngineResult = {
3657
+ readonly ok: true;
3658
+ /**
3659
+ * The original package with the differences recorded as tracked changes. When nothing
3660
+ * changed, this is the original package itself.
3661
+ */
3662
+ readonly package: OoxmlPackage;
3663
+ /**
3664
+ * Tracked change items recorded in the body, headers, footers, and notes. A replaced word
3665
+ * counts as two items, a deletion and an insertion; the review pane can show them as one
3666
+ * replacement.
3667
+ */
3668
+ readonly revisionCount: number;
3669
+ /**
3670
+ * Whether the result differs from the original. False when the documents have no
3671
+ * differences. Can be true with no revisions: the compare can change the document
3672
+ * without a tracked change. Examples are formatting with `detectFormatChanges: false`
3673
+ * and the original's own tracked changes, which a compare accepts.
3674
+ */
3675
+ readonly changed: boolean;
3676
+ } | {
3677
+ readonly ok: false;
3678
+ readonly code: CompareDocumentsEngineErrorCode;
3679
+ /** Set with `unsupportedContent`: what the refusal is about. */
3680
+ readonly reason?: CompareDocumentsRefusalReason;
3681
+ readonly message: string;
3682
+ };
3683
+ /**
3684
+ * Compares the open document (the original) with a revised DOCX and returns the original with
3685
+ * the differences as tracked changes. Synchronous, DOM-free, and free of side effects.
3686
+ *
3687
+ * @public
3688
+ */
3689
+ type CompareDocumentsEngine = (original: OoxmlPackage, revised: Uint8Array, options: CompareDocumentsEngineOptions) => CompareDocumentsEngineResult;
3690
+ /**
3691
+ * A step of a compare that runs in the background. The steps run in this order:
3692
+ *
3693
+ * 1. `reading`: read both documents.
3694
+ * 2. `comparing`: find their differences.
3695
+ * 3. `checking`: check that accepting and rejecting all changes give back each document.
3696
+ * 4. `applying`: apply the result to the open document.
3697
+ *
3698
+ * @public
3699
+ */
3700
+ type CompareDocumentsPhase = 'reading' | 'comparing' | 'checking' | 'applying';
3701
+ /** How far a background compare is. @public */
3702
+ interface CompareDocumentsProgress {
3703
+ /** The step that runs now. */
3704
+ readonly phase: CompareDocumentsPhase;
3705
+ /** The share of the work done, from 0 to 1. It never decreases. */
3706
+ readonly fraction: number;
3707
+ }
3708
+ /** Result of one background compare: like {@link CompareDocumentsEngineResult}, as bytes. @public */
3709
+ type CompareDocumentsBackgroundResult = {
3710
+ readonly ok: true;
3711
+ /**
3712
+ * The original with the differences as tracked changes, or `null` when `changed` is
3713
+ * false. Read `changed`, not `bytes`, to decide whether to apply or save the result.
3714
+ */
3715
+ readonly bytes: Uint8Array | null;
3716
+ /** Tracked change items recorded. A replaced word counts as two items. */
3717
+ readonly revisionCount: number;
3718
+ /**
3719
+ * Whether the result differs from the original. This tells callers whether to apply or
3720
+ * save the result. False when the documents have no differences: `bytes` is then `null`.
3721
+ */
3722
+ readonly changed: boolean;
3723
+ } | {
3724
+ readonly ok: false;
3725
+ readonly code: CompareDocumentsEngineErrorCode;
3726
+ /** Set with `unsupportedContent`: what the refusal is about. */
3727
+ readonly reason?: CompareDocumentsRefusalReason;
3728
+ readonly message: string;
3729
+ };
3730
+ /**
3731
+ * Runs a compare off the page's main thread, for example in a worker. The editor's Compare
3732
+ * documents dialog uses it when the review module provides one. It reports progress, and it
3733
+ * stops when `signal` aborts: the promise then rejects with the signal's reason.
3734
+ *
3735
+ * @public
3736
+ */
3737
+ type CompareDocumentsBackgroundEngine = (original: Uint8Array, revised: Uint8Array, options: CompareDocumentsEngineOptions, control: {
3738
+ readonly signal: AbortSignal;
3739
+ readonly onProgress: (progress: CompareDocumentsProgress) => void;
3740
+ }) => Promise<CompareDocumentsBackgroundResult>;
3741
+
3742
+ /**
3743
+ * The `accept` value for a file input that picks the revised document: DOCX files only.
3744
+ *
3745
+ * @public
3746
+ */
3747
+ declare const COMPARE_DOCUMENTS_ACCEPT = ".docx,application/vnd.openxmlformats-officedocument.wordprocessingml.document";
3748
+ /**
3749
+ * The `@docx-editor.dev/i18n` key of the message for a refused compare:
3750
+ * `compareDocuments.reasons.<reason>` when the refusal names a reason, else
3751
+ * `compareDocuments.errors.<code>`.
3752
+ *
3753
+ * @example
3754
+ * ```ts
3755
+ * const outcome = await session.apply({ revised });
3756
+ * if (!outcome.ok) showError(t(compareDocumentsErrorKey(outcome)));
3757
+ * ```
3758
+ *
3759
+ * @public
3760
+ */
3761
+ declare function compareDocumentsErrorKey(refusal: {
3762
+ readonly code: CompareDocumentsErrorCode;
3763
+ readonly reason?: CompareDocumentsRefusalReason;
3764
+ }): `compareDocuments.errors.${CompareDocumentsErrorCode}` | `compareDocuments.reasons.${CompareDocumentsRefusalReason}`;
3765
+ /** What one compare request carries: the revised DOCX and its options. @public */
3766
+ interface CompareDocumentsRequest {
3767
+ /** The revised document's DOCX bytes. The open document is the original. */
3768
+ readonly revised: Uint8Array;
3769
+ /**
3770
+ * Author recorded on every revision. When absent or blank, the editor's author. Without an
3771
+ * editor author, the revised document's last author, then its creator, then `Comparison`.
3772
+ */
3773
+ readonly authorName?: string;
3774
+ /** Record formatting differences as formatting revisions. Default `true`. */
3775
+ readonly detectFormatChanges?: boolean;
3776
+ /** Write the revisions without dates. Default `false`. */
3777
+ readonly removeDateAndTime?: boolean;
3778
+ }
3779
+ /** The outcome of one compare. @public */
3780
+ type CompareDocumentsOutcome = {
3781
+ readonly ok: true;
3782
+ /**
3783
+ * Tracked change items recorded in the body, headers, footers, and notes. A replaced word
3784
+ * counts as two items, a deletion and an insertion; the review pane can show them as one
3785
+ * replacement.
3786
+ */
3787
+ readonly revisionCount: number;
3788
+ /**
3789
+ * Whether the document changed. False when the documents have no differences: the
3790
+ * document, its undo history, and its saved state stay as they were.
3791
+ */
3792
+ readonly changed: boolean;
3793
+ } | {
3794
+ readonly ok: false;
3795
+ /** Why the compare was refused. `compareDocuments.errors.<code>` translates it. */
3796
+ readonly code: CompareDocumentsErrorCode;
3797
+ /**
3798
+ * Set with `unsupportedContent`: what the refusal is about.
3799
+ * `compareDocuments.reasons.<reason>` translates it more precisely than the code.
3800
+ */
3801
+ readonly reason?: CompareDocumentsRefusalReason;
3802
+ /** Diagnostic detail, in English; not for display. */
3803
+ readonly message: string;
3804
+ };
3805
+ /**
3806
+ * One open Compare documents dialog. The editor owns it: the session aborts when the dialog
3807
+ * closes, is replaced, or the document, mount, or editor goes away.
3808
+ *
3809
+ * @public
3810
+ */
3811
+ interface CompareDocumentsDialogSession {
3812
+ /** Aborts on close, replacement, load, detach, or destroy. */
3813
+ readonly signal: AbortSignal;
3814
+ /** The author name the dialog offers first: the editor's author, or an empty string. */
3815
+ readonly defaultAuthor: string;
3816
+ /**
3817
+ * Whether the open document has tracked changes when the dialog opens. The compare treats
3818
+ * them as accepted, so a dialog says so before the user compares.
3819
+ */
3820
+ readonly originalHasTrackedChanges: boolean;
3821
+ /** Whether a compare can run now. */
3822
+ canApply(): boolean;
3823
+ /**
3824
+ * Compare the open document with the revised DOCX and record the differences in it as
3825
+ * tracked changes, as one undoable step. Closes the session when the document changes. With
3826
+ * no differences (`changed` false) or a refusal, the session stays open with a message to
3827
+ * show.
3828
+ *
3829
+ * When the review module runs compares in the background, `onProgress` reports each step,
3830
+ * and `cancel()` stops a running compare: `apply` then answers `closed`. Otherwise the
3831
+ * compare runs on the main thread, `onProgress` is not called, and nothing can stop the
3832
+ * compare once it starts.
3833
+ *
3834
+ * A call while another compare of this session runs, or while a preview or an external
3835
+ * document refresh blocks writes, answers `busy` and changes nothing. A background compare
3836
+ * whose document changed before the result applies answers `documentChanged`; the editor
3837
+ * never retries it by itself.
3838
+ */
3839
+ apply(request: CompareDocumentsRequest, options?: {
3840
+ readonly onProgress?: (progress: CompareDocumentsProgress) => void;
3841
+ }): Promise<CompareDocumentsOutcome>;
3842
+ /**
3843
+ * Whether `cancel()` can stop a running compare: true when compares run in the background.
3844
+ * A compare that falls back to the main thread, because the worker never started, cannot stop.
3845
+ */
3846
+ readonly cancelable: boolean;
3847
+ /** Close the dialog. A running background compare stops, and nothing changes. */
3848
+ cancel(): void;
3849
+ }
3850
+ /** Host rendering for the Compare documents dialog. @public */
3851
+ interface CompareDocumentsChromeHandlers {
3852
+ readonly onRequest?: (session: CompareDocumentsDialogSession) => void;
3853
+ }
3854
+
3560
3855
  /**
3561
3856
  * Shared types for the `@docx-editor.dev/core` contract. Type-only, zero runtime.
3562
3857
  *
@@ -3697,12 +3992,20 @@ type ExecResult = {
3697
3992
  /** Present on `setReviewChangesAuthor`: the changes it updated and the ones it skipped. */
3698
3993
  revisionAuthors?: RevisionAuthorResult;
3699
3994
  history?: HistoryGroupOutcome;
3995
+ /** Present on `compareDocuments`: the revisions recorded. */
3996
+ compareDocuments?: CompareDocumentsOutcome;
3700
3997
  } | {
3701
3998
  ok: false;
3702
3999
  code: ExecErrorCode;
3703
4000
  reason: string;
3704
4001
  target?: DocTarget;
3705
4002
  revisions?: RevisionBatchResult;
4003
+ /**
4004
+ * Present on `compareDocuments`: why it was refused, as a code to translate. Read this
4005
+ * code rather than the top-level one: `unsupported` there covers both a size limit
4006
+ * (`tooLarge`) and a failed compare (`failed`).
4007
+ */
4008
+ compareDocuments?: CompareDocumentsOutcome;
3706
4009
  revisionAuthors?: RevisionAuthorResult;
3707
4010
  };
3708
4011
  /**
@@ -5076,6 +5379,12 @@ type TreeDocOp = SetFieldCodeOp | {
5076
5379
  readonly controlId: string;
5077
5380
  /** String is the editor-facing v2 form; structured input is the automation form. */
5078
5381
  readonly value: string | ContentControlValueInput;
5382
+ /**
5383
+ * Propose the value instead of writing it: the shown value is struck (`w:del`) and the
5384
+ * new one inserted (`w:ins`) inside the control. The control's recorded state moves to
5385
+ * the new value, and accepting or rejecting brings it back in line with what is shown.
5386
+ */
5387
+ readonly revision?: RevisionAttributionInput;
5079
5388
  } | {
5080
5389
  /**
5081
5390
  * Author the metadata a control carries: its tag, its title, its lock.
@@ -5314,5 +5623,5 @@ type TreeOpResult = {
5314
5623
  readonly detail?: string;
5315
5624
  };
5316
5625
 
5317
- export { DEFAULT_ZIP_LIMITS as b$, DEFAULT_IMAGE_RESOURCE_LIMITS as b6, IMAGE_WRAP_TARGETS as b7, TEXT_FORM_FORMATS as b8, resolveImageResourceLimits as b9, CHART_GRAPHIC_DATA_URI as bA, CHART_NAMESPACE_URI as bB, CHART_STYLE_NAMESPACE_URI as bC, CONTENT_CONTROL_ID_MAX as bD, CONTENT_CONTROL_PROPERTY_ORDER as bE, DEFAULT_LIMITS as bZ, DEFAULT_OOXML_PACKAGE_LIMITS as b_, resolveSvgIntrinsicSize as ba, sniffImageMime as bb, validateRasterHeader as bc, ACCEPTED_PARAGRAPH_PROPERTIES as bv, ACCEPTED_RUN_PROPERTIES as bw, CHARTEX_GRAPHIC_DATA_URI as by, CHARTEX_NAMESPACE_URI as bz, DIAGRAM_NAMESPACE_URI as c0, DRAWINGML_MAIN_NAMESPACE_URI as c1, HARD_CEILINGS as c7, HYPERLINK_RELATIONSHIP_TYPE as c8, IMAGE_RELATIONSHIP_TYPE as cb, IMAGE_RESOURCE_HARD_CEILINGS as cc, MAX_CONTENT_CONTROLS_PER_PART as cp, MAX_CONTENT_CONTROL_NESTING as cq, MAX_SVG_SNIFF_BYTES as cr, OFFICE_RELATIONSHIP_NAMESPACE_URI as cv, OOXML_NODE_IDENTITY_RULES as cw, firstReviewRange as d$, allocateContentControlId as dF, asciiFold as dG, buildContentTypeIndex as dH, buildRelationshipSet as dI, childElements as dJ, commentAnchorsOfStory as dK, commentsOfPart as dL, contentControlContentChildren as dM, contentControlContentNodeOf as dN, contentControlEndPropertiesNodeOf as dO, contentControlLevelOf as dP, contentControlPropertiesNodeOf as dQ, contentControlPropertiesOf as dR, contentControlTextOf as dS, contentControlsIn as dT, createImageResourceCache as dU, detectDuplicateNames as dV, directFill as dW, enclosedBookmarkDeletions as dX, extensionKey as dY, findContentControl as dZ, findElement as d_, TABLE_BORDER_STYLES as dj, W15_NAMESPACE_URI as du, WML_NAMESPACE_URI as dv, XMLNS_NAMESPACE_URI as dw, XML_NAMESPACE_URI as dx, flattenContentControls as e0, hasAnyComment as e1, hasBoundedSvgRoot as e2, hyperlinkAnchorOf as e3, hyperlinkRelationshipIdOf as e4, hyperlinkTargetOf as e5, imageResourceLookupFor as e6, isContentControlContentNode as e7, isContentControlNode as e8, isContentControlWrapper as e9, resolveLimits as eA, resolveRelationship as eB, reviewItemKey as eC, reviewItemRanges as eD, textContent as eE, textFormFieldsOf as eF, threadStateOfPart as eG, validateExternalTarget as eH, validateGifHeader as eI, validateJpegHeader as eJ, validatePngHeader as eK, withPart as eL, withoutBookmarkInPart as eM, writeOoxmlPackage as eN, writeOoxmlPackageKeepingRevisionIds as eO, writeZip as eP, activeReviewItem as eU, reviewItemPositionRank as eV, reviewItemsAt as eW, reviewThreadRootOf as eX, isContentRevisionKind as ea, isElement as eb, isHyperlinkNode as ec, isRangeMarkerKind as ed, isValidMime as ee, legacyCheckboxFieldsOf as ef, liveDrawingReferenceCount as eg, lockForbidsEdit as eh, lockForbidsRemoval as ei, normalizePartName as ej, orderedContentControlProperties as ek, parseContentControlId as el, partNameKey as em, planRevisionAuthorChange as en, planRevisionBatch as eo, projectDrawing as ep, readOnOffChild as eq, readOoxmlPackage as er, readOoxmlPart as es, readXml as et, readZip as eu, resolveColorNode as ev, resolveContentControlLock as ew, resolveContentType as ex, resolveImageRelationship as ey, resolveInternalTarget as ez };
5318
- export type { Table as $, ParagraphDisagreements as A, Block as B, CommentRecord as C, DocxDocument as D, ExecResult as E, ParagraphFlags as F, ParagraphTabStop as G, HeaderFooterSet as H, InsertableContentControlType as I, RevisionAuthorEntry as J, RevisionAuthorResult as K, RevisionAuthorSkipReason as L, RevisionBatchEntry as M, NumberingRef as N, OoxmlPart as O, PageMargins as P, RevisionBatchResult as Q, ReviewModelInput as R, StyleDefinitions as S, RevisionBatchSkipDetail as T, RevisionBatchSkipReason as U, RevisionSiteRefusal as V, RevisionType as W, Run as X, Section as Y, SectionProperties as Z, StyleDefinition as _, ReviewItem as a, VectorShapeProjection as a$, TableCell as a0, TableRow as a1, Theme as a2, ThemeColorScheme as a3, OoxmlNode as a4, OoxmlPackage as a5, DocxDocumentJSON as a6, DrawingHorizontalReferenceFrame as a7, DrawingKind as a8, DrawingLocks as a9, OoxmlPackageRejection as aA, AutomationTableMutation as aB, OoxmlProperty as aC, OoxmlPackageResult as aD, RevisionAttributionInput as aE, TreeOpRejection as aF, OoxmlNodeId as aG, PackageWatermarkWrite as aH, OoxmlInvariantIssue as aI, DrawingTreeDocOp as aJ, ImpactClass as aK, OoxmlParagraphNode as aL, OoxmlNoteNode as aM, OoxmlContinuationSeparatorNode as aN, OoxmlEndnotesNode as aO, OoxmlFootnotesNode as aP, OoxmlNoteRefNode as aQ, OoxmlNoteReferenceNode as aR, OoxmlSeparatorNode as aS, SourceCrop as aT, TableBorderStyle as aU, TextboxOutlineProjection as aV, VectorShapeComponent as aW, DrawingAccessibility as aX, DrawingImageEffects as aY, DrawingTransform as aZ, DrawingChartSummary as a_, DrawingPositionInput as aa, DrawingVerticalReferenceFrame as ab, FontDefinition as ac, ImageDecodePort as ad, ImageResourceLimits as ae, ImageResourceState as af, ImageWrapTarget as ag, ParagraphFormatCommand as ah, Point as ai, PreservedImageMime as aj, Rect as ak, RenderableImageMime as al, SelectionPin as am, SupportedImageMime as an, Unsubscribe as ao, ValidatedImageBytesHandle as ap, VectorImageMime as aq, Watermark as ar, WatermarkLayout as as, WatermarkState as at, TreeDocOp as au, OoxmlElement as av, OoxmlContentControlNode as aw, OoxmlGenericElementNode as ax, OoxmlContentControlContentNode as ay, OoxmlPackageLimits as az, ReviewRevisionItem as b, PictureFrameEffects as b0, DrawingProjection as b1, OoxmlDrawingNode as b2, TextFormFieldRange as b3, TextFormFieldOptions as b4, TreeDocColorValue as b5, ChartPart as bF, ChartThemeFaces as bG, ChartexPart as bH, CommentAnchor as bI, CommentPosition as bJ, CommitTextFormFieldOp as bK, ContentControlCheckbox as bL, ContentControlCheckboxState as bM, ContentControlDataBinding as bN, ContentControlDateFormat as bO, ContentControlEntry as bP, ContentControlKind as bQ, ContentControlLevel as bR, ContentControlListItem as bS, ContentControlLock as bT, ContentControlProperties as bU, ContentTypeError as bV, ContentTypeIndex as bW, ContentTypeRecords as bX, CreateImageResourceCacheOptions as bY, OoxmlAttribute as bd, OoxmlInvariantResult as be, LegacyTextArtProjection as bf, ChartPartResolver as bg, ChartexPartResolver as bh, ShapeSchemeColorResolver as bi, ShapeEffectList as bj, GroupTextboxProjection as bk, MetafileImageMime as bl, OoxmlFldCharNode as bm, OoxmlFldSimpleNode as bn, OoxmlInstrTextNode as bo, TreeOpResult as bp, RelationshipRecord as bq, OoxmlHardBreakNode as br, ShapeColor as bs, ResourceLimits as bt, CommentThreadState as bu, BookmarkOpPosition as bx, ReviewCommentItem as c, OoxmlReadResult as c$, DefaultRecord as c2, DeleteBookmarkOp as c3, DeleteTextOp as c4, DiagramPartResolver as c5, DiagramParts as c6, HyperlinkKind as c9, OoxmlContentControlCalendarNode as cA, OoxmlContentControlCheckboxNode as cB, OoxmlContentControlCheckedNode as cC, OoxmlContentControlCheckedStateNode as cD, OoxmlContentControlComboBoxNode as cE, OoxmlContentControlDataBindingNode as cF, OoxmlContentControlDateFormatNode as cG, OoxmlContentControlDateNode as cH, OoxmlContentControlDropDownListNode as cI, OoxmlContentControlEndPropertiesNode as cJ, OoxmlContentControlLidNode as cK, OoxmlContentControlListItemNode as cL, OoxmlContentControlPropertiesNode as cM, OoxmlContentControlStoreMappedDataAsNode as cN, OoxmlContentControlTextNode as cO, OoxmlContentControlUncheckedStateNode as cP, OoxmlDocumentNode as cQ, OoxmlExternalTarget as cR, OoxmlGenericExtensionAttribute as cS, OoxmlHyperlinkNode as cT, OoxmlInvariantIssueCode as cU, OoxmlKnownNodeAttribute as cV, OoxmlNamespaceBinding as cW, OoxmlNodeIdentityRules as cX, OoxmlParagraphPropertiesNode as cY, OoxmlPartMetadata as cZ, OoxmlReadRejection as c_, HyperlinkTarget as ca, ImageRelationshipResolution as cd, ImageResourceLookup as ce, IndexResult as cf, InsertBookmarkOp as cg, InsertBuildingBlockOp as ch, InsertComplexFieldOp as ci, InsertEquationOp as cj, InsertPageFieldOp as ck, InsertParagraphBesideTableOp as cl, InsertTableOp as cm, InsertTextOp as cn, LegacyCheckboxFieldRange as co, MoveTableOp as cs, NameRejection as ct, NameResult as cu, OoxmlBodyNode as cx, OoxmlBookmarkEndNode as cy, OoxmlBookmarkStartNode as cz, ReviewCustomItem as d, OoxmlRunNode as d0, OoxmlRunPropertiesNode as d1, OoxmlTabNode as d2, OoxmlTextElementNode as d3, OoxmlTextNode as d4, OoxmlWmlValAttribute as d5, OoxmlXmlSpaceAttribute as d6, OverrideRecord as d7, RelationshipError as d8, RelationshipSetResult as d9, XmlRejection as dA, XmlResult as dB, ZipLimits as dC, ZipReadResult as dD, ZipRejection as dE, RelationshipTargetResolver as da, ResolveResult as db, ResolvedRelationship as dc, SetFieldResultOp as dd, SetLegacyCheckboxOp as de, SetLegacyDropdownOp as df, SetTextFormFieldDefaultOp as dg, ShapeReflection as dh, ShapeShadow as di, TabStopWrite as dk, TargetMode as dl, TextFormFieldType as dm, TextboxStoryProjection as dn, TreeDocOpKind as dp, TreeOpEffect as dq, ValidatedRasterHeader as dr, VectorGradient as ds, VectorPattern as dt, XmlLimits as dy, XmlNode as dz, ReviewPosition as e, AffineMatrix as eQ, DrawingChartPlotType as eR, DrawingChartShownAs as eS, GradientStop as eT, ReviewRange as f, ReviewRevisionKind as g, RevisionAddress as h, ContentControlType as i, DocTarget as j, RunFormatting as k, Extent as l, ContainerRef as m, ContentControlFilter as n, DocRange as o, Revision as p, DocComment as q, ColorValue as r, ContentControl as s, DocAnchor as t, DocAnchorRange as u, DocLocation as v, DocumentBody as w, ExecErrorCode as x, IndentFormatting as y, Paragraph as z };
5626
+ export { compareDocumentsErrorKey as aN, COMPARE_DOCUMENTS_ACCEPT as an, ACCEPTED_PARAGRAPH_PROPERTIES as bO, ACCEPTED_RUN_PROPERTIES as bP, CHARTEX_GRAPHIC_DATA_URI as bR, CHARTEX_NAMESPACE_URI as bS, CHART_GRAPHIC_DATA_URI as bT, CHART_NAMESPACE_URI as bU, CHART_STYLE_NAMESPACE_URI as bV, CONTENT_CONTROL_ID_MAX as bW, CONTENT_CONTROL_PROPERTY_ORDER as bX, DEFAULT_IMAGE_RESOURCE_LIMITS as bq, IMAGE_WRAP_TARGETS as br, TEXT_FORM_FORMATS as bs, resolveImageResourceLimits as bt, resolveSvgIntrinsicSize as bu, sniffImageMime as bv, validateRasterHeader as bw, MAX_CONTENT_CONTROLS_PER_PART as cH, MAX_CONTENT_CONTROL_NESTING as cI, MAX_SVG_SNIFF_BYTES as cJ, OFFICE_RELATIONSHIP_NAMESPACE_URI as cN, OOXML_NODE_IDENTITY_RULES as cO, DEFAULT_LIMITS as cf, DEFAULT_OOXML_PACKAGE_LIMITS as cg, DEFAULT_ZIP_LIMITS as ch, DIAGRAM_NAMESPACE_URI as ci, DRAWINGML_MAIN_NAMESPACE_URI as cj, HARD_CEILINGS as cp, HYPERLINK_RELATIONSHIP_TYPE as cq, IMAGE_RELATIONSHIP_TYPE as ct, IMAGE_RESOURCE_HARD_CEILINGS as cu, commentsOfPart as d$, TABLE_BORDER_STYLES as dB, W15_NAMESPACE_URI as dK, WML_NAMESPACE_URI as dL, XMLNS_NAMESPACE_URI as dM, XML_NAMESPACE_URI as dN, allocateContentControlId as dV, asciiFold as dW, buildContentTypeIndex as dX, buildRelationshipSet as dY, childElements as dZ, commentAnchorsOfStory as d_, withPart as e$, contentControlContentChildren as e0, contentControlContentNodeOf as e1, contentControlEndPropertiesNodeOf as e2, contentControlLevelOf as e3, contentControlPropertiesNodeOf as e4, contentControlPropertiesOf as e5, contentControlTextOf as e6, contentControlsIn as e7, createImageResourceCache as e8, detectDuplicateNames as e9, orderedContentControlProperties as eA, parseContentControlId as eB, partNameKey as eC, planRevisionAuthorChange as eD, planRevisionBatch as eE, projectDrawing as eF, readOnOffChild as eG, readOoxmlPackage as eH, readOoxmlPart as eI, readXml as eJ, readZip as eK, resolveColorNode as eL, resolveContentControlLock as eM, resolveContentType as eN, resolveImageRelationship as eO, resolveInternalTarget as eP, resolveLimits as eQ, resolveRelationship as eR, reviewItemKey as eS, reviewItemRanges as eT, textContent as eU, textFormFieldsOf as eV, threadStateOfPart as eW, validateExternalTarget as eX, validateGifHeader as eY, validateJpegHeader as eZ, validatePngHeader as e_, directFill as ea, enclosedBookmarkDeletions as eb, extensionKey as ec, findContentControl as ed, findElement as ee, firstReviewRange as ef, flattenContentControls as eg, hasAnyComment as eh, hasBoundedSvgRoot as ei, hyperlinkAnchorOf as ej, hyperlinkRelationshipIdOf as ek, hyperlinkTargetOf as el, imageResourceLookupFor as em, isContentControlContentNode as en, isContentControlNode as eo, isContentControlWrapper as ep, isContentRevisionKind as eq, isElement as er, isHyperlinkNode as es, isRangeMarkerKind as et, isValidMime as eu, legacyCheckboxFieldsOf as ev, liveDrawingReferenceCount as ew, lockForbidsEdit as ex, lockForbidsRemoval as ey, normalizePartName as ez, withoutBookmarkInPart as f0, writeOoxmlPackage as f1, writeOoxmlPackageKeepingRevisionIds as f2, writeZip as f3, activeReviewItem as f8, reviewItemPositionRank as f9, reviewItemsAt as fa, reviewThreadRootOf as fb };
5627
+ export type { PageMargins as $, DocTarget as A, RunFormatting as B, CompareDocumentsDialogSession as C, DocxDocument as D, ExecResult as E, Extent as F, ContainerRef as G, ContentControlFilter as H, InsertableContentControlType as I, DocRange as J, Revision as K, DocComment as L, Block as M, ColorValue as N, OoxmlPart as O, ContentControl as P, DocAnchor as Q, ReviewModelInput as R, StyleDefinitions as S, TargetMode as T, DocAnchorRange as U, DocLocation as V, DocumentBody as W, ExecErrorCode as X, HeaderFooterSet as Y, IndentFormatting as Z, NumberingRef as _, ReviewItem as a, PackageWatermarkWrite as a$, Paragraph as a0, ParagraphDisagreements as a1, ParagraphFlags as a2, ParagraphTabStop as a3, RevisionAuthorEntry as a4, RevisionAuthorResult as a5, RevisionAuthorSkipReason as a6, RevisionBatchEntry as a7, RevisionBatchResult as a8, RevisionBatchSkipDetail as a9, ParagraphFormatCommand as aA, Point as aB, PreservedImageMime as aC, Rect as aD, RenderableImageMime as aE, SelectionPin as aF, SupportedImageMime as aG, Unsubscribe as aH, ValidatedImageBytesHandle as aI, VectorImageMime as aJ, Watermark as aK, WatermarkLayout as aL, WatermarkState as aM, TreeDocOp as aO, OoxmlPackageLimits as aP, OoxmlPackageRejection as aQ, AutomationTableMutation as aR, OoxmlProperty as aS, OoxmlPackageResult as aT, OoxmlElement as aU, OoxmlContentControlNode as aV, OoxmlGenericElementNode as aW, OoxmlContentControlContentNode as aX, RevisionAttributionInput as aY, TreeOpRejection as aZ, OoxmlNodeId as a_, RevisionBatchSkipReason as aa, RevisionSiteRefusal as ab, RevisionType as ac, Run as ad, Section as ae, SectionProperties as af, StyleDefinition as ag, Table as ah, TableCell as ai, TableRow as aj, Theme as ak, ThemeColorScheme as al, OoxmlNode as am, CompareDocumentsChromeHandlers as ao, DocxDocumentJSON as ap, DrawingHorizontalReferenceFrame as aq, DrawingKind as ar, DrawingLocks as as, DrawingPositionInput as at, DrawingVerticalReferenceFrame as au, FontDefinition as av, ImageDecodePort as aw, ImageResourceLimits as ax, ImageResourceState as ay, ImageWrapTarget as az, CompareDocumentsEngine as b, CommentAnchor as b$, OoxmlInvariantIssue as b0, OoxmlParagraphNode as b1, OoxmlNoteNode as b2, OoxmlContinuationSeparatorNode as b3, OoxmlEndnotesNode as b4, OoxmlFootnotesNode as b5, OoxmlNoteRefNode as b6, OoxmlNoteReferenceNode as b7, OoxmlSeparatorNode as b8, DrawingTreeDocOp as b9, ChartPartResolver as bA, ChartexPartResolver as bB, ShapeSchemeColorResolver as bC, ShapeEffectList as bD, GroupTextboxProjection as bE, MetafileImageMime as bF, OoxmlFldCharNode as bG, OoxmlFldSimpleNode as bH, OoxmlInstrTextNode as bI, TreeOpResult as bJ, ResourceLimits as bK, OoxmlHardBreakNode as bL, ShapeColor as bM, CommentThreadState as bN, BookmarkOpPosition as bQ, ChartPart as bY, ChartThemeFaces as bZ, ChartexPart as b_, ImpactClass as ba, SourceCrop as bb, TableBorderStyle as bc, TextboxOutlineProjection as bd, VectorShapeComponent as be, DrawingAccessibility as bf, DrawingImageEffects as bg, DrawingTransform as bh, DrawingChartSummary as bi, VectorShapeProjection as bj, PictureFrameEffects as bk, DrawingProjection as bl, OoxmlDrawingNode as bm, TextFormFieldRange as bn, TextFormFieldOptions as bo, TreeDocColorValue as bp, OoxmlAttribute as bx, OoxmlInvariantResult as by, LegacyTextArtProjection as bz, CompareDocumentsBackgroundEngine as c, OoxmlContentControlEndPropertiesNode as c$, CommentPosition as c0, CommitTextFormFieldOp as c1, ContentControlCheckbox as c2, ContentControlCheckboxState as c3, ContentControlDataBinding as c4, ContentControlDateFormat as c5, ContentControlEntry as c6, ContentControlKind as c7, ContentControlLevel as c8, ContentControlListItem as c9, InsertComplexFieldOp as cA, InsertEquationOp as cB, InsertPageFieldOp as cC, InsertParagraphBesideTableOp as cD, InsertTableOp as cE, InsertTextOp as cF, LegacyCheckboxFieldRange as cG, MoveTableOp as cK, NameRejection as cL, NameResult as cM, OoxmlBodyNode as cP, OoxmlBookmarkEndNode as cQ, OoxmlBookmarkStartNode as cR, OoxmlContentControlCalendarNode as cS, OoxmlContentControlCheckboxNode as cT, OoxmlContentControlCheckedNode as cU, OoxmlContentControlCheckedStateNode as cV, OoxmlContentControlComboBoxNode as cW, OoxmlContentControlDataBindingNode as cX, OoxmlContentControlDateFormatNode as cY, OoxmlContentControlDateNode as cZ, OoxmlContentControlDropDownListNode as c_, ContentControlLock as ca, ContentControlProperties as cb, ContentTypeError as cc, ContentTypeRecords as cd, CreateImageResourceCacheOptions as ce, DefaultRecord as ck, DeleteBookmarkOp as cl, DeleteTextOp as cm, DiagramPartResolver as cn, DiagramParts as co, HyperlinkKind as cr, HyperlinkTarget as cs, ImageRelationshipResolution as cv, ImageResourceLookup as cw, IndexResult as cx, InsertBookmarkOp as cy, InsertBuildingBlockOp as cz, ReviewRevisionItem as d, OoxmlContentControlLidNode as d0, OoxmlContentControlListItemNode as d1, OoxmlContentControlPropertiesNode as d2, OoxmlContentControlStoreMappedDataAsNode as d3, OoxmlContentControlTextNode as d4, OoxmlContentControlUncheckedStateNode as d5, OoxmlDocumentNode as d6, OoxmlGenericExtensionAttribute as d7, OoxmlHyperlinkNode as d8, OoxmlInvariantIssueCode as d9, ShapeShadow as dA, TabStopWrite as dC, TextFormFieldType as dD, TextboxStoryProjection as dE, TreeDocOpKind as dF, TreeOpEffect as dG, ValidatedRasterHeader as dH, VectorGradient as dI, VectorPattern as dJ, XmlLimits as dO, XmlNode as dP, XmlRejection as dQ, XmlResult as dR, ZipLimits as dS, ZipReadResult as dT, ZipRejection as dU, OoxmlKnownNodeAttribute as da, OoxmlNamespaceBinding as db, OoxmlNodeIdentityRules as dc, OoxmlParagraphPropertiesNode as dd, OoxmlPartMetadata as de, OoxmlReadRejection as df, OoxmlReadResult as dg, OoxmlRunNode as dh, OoxmlRunPropertiesNode as di, OoxmlTabNode as dj, OoxmlTextElementNode as dk, OoxmlTextNode as dl, OoxmlWmlValAttribute as dm, OoxmlXmlSpaceAttribute as dn, OverrideRecord as dp, RelationshipError as dq, RelationshipSetResult as dr, RelationshipTargetResolver as ds, ResolveResult as dt, ResolvedRelationship as du, SetFieldResultOp as dv, SetLegacyCheckboxOp as dw, SetLegacyDropdownOp as dx, SetTextFormFieldDefaultOp as dy, ShapeReflection as dz, CommentRecord as e, CompareDocumentsBackgroundResult as f, AffineMatrix as f4, DrawingChartPlotType as f5, DrawingChartShownAs as f6, GradientStop as f7, CompareDocumentsEngineErrorCode as g, CompareDocumentsEngineOptions as h, CompareDocumentsEngineResult as i, CompareDocumentsErrorCode as j, CompareDocumentsOutcome as k, CompareDocumentsPhase as l, CompareDocumentsProgress as m, CompareDocumentsRefusalReason as n, CompareDocumentsRequest as o, ContentTypeIndex as p, OoxmlExternalTarget as q, OoxmlPackage as r, RelationshipRecord as s, ReviewCommentItem as t, ReviewCustomItem as u, ReviewPosition as v, ReviewRange as w, ReviewRevisionKind as x, RevisionAddress as y, ContentControlType as z };