@docx-editor.dev/core 2.9.2 → 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.
Files changed (94) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.js +1 -1
  3. package/dist/binding.cjs +1 -1
  4. package/dist/binding.d.cts +74 -10
  5. package/dist/binding.d.ts +74 -10
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-27APDXY2.js +2 -0
  8. package/dist/chunk-35MI6K7M.cjs +10 -0
  9. package/dist/chunk-4XL7SOWQ.cjs +2 -0
  10. package/dist/chunk-6K6QQVAZ.cjs +18 -0
  11. package/dist/chunk-7ZJL5AEY.cjs +1 -0
  12. package/dist/chunk-C6LK2BYA.cjs +2 -0
  13. package/dist/chunk-HBEBUCRM.cjs +5 -0
  14. package/dist/chunk-LG5K46OM.js +2 -0
  15. package/dist/chunk-LWADHMVV.js +5 -0
  16. package/dist/chunk-N725IUO7.js +18 -0
  17. package/dist/chunk-N7DBENH4.js +10 -0
  18. package/dist/chunk-NVGFWMCO.js +1 -0
  19. package/dist/chunk-SYTWKJPJ.cjs +18 -0
  20. package/dist/chunk-YI6JXF7U.js +18 -0
  21. package/dist/contracts/document.d.cts +6 -1
  22. package/dist/contracts/document.d.ts +6 -1
  23. package/dist/contracts/editor.d.cts +6 -6
  24. package/dist/contracts/editor.d.ts +6 -6
  25. package/dist/contracts/interaction.d.cts +6 -6
  26. package/dist/contracts/interaction.d.ts +6 -6
  27. package/dist/contracts/modules.d.cts +3 -4
  28. package/dist/contracts/modules.d.ts +3 -4
  29. package/dist/{custom-node-writes-D6SGwebL.d.ts → custom-node-writes-BvpWCnW8.d.ts} +35 -4
  30. package/dist/{custom-node-writes-Dy3b20PS.d.cts → custom-node-writes-Db8H6Z3n.d.cts} +35 -4
  31. package/dist/{editor-Cvd7Geoc.d.ts → editor-C0my6Uta.d.ts} +35 -14
  32. package/dist/{editor-cAEf1uXW.d.cts → editor-CwzY2Hcg.d.cts} +35 -14
  33. package/dist/editor.cjs +1 -1
  34. package/dist/editor.css +57 -456
  35. package/dist/editor.d.cts +20 -20
  36. package/dist/editor.d.ts +20 -20
  37. package/dist/editor.js +1 -1
  38. package/dist/{index-DRqY5JVF.d.ts → index-kID8Ymkp.d.ts} +79 -19
  39. package/dist/{index-wb-iOxfh.d.cts → index-nLFwo_17.d.cts} +79 -19
  40. package/dist/index.cjs +1 -1
  41. package/dist/index.d.cts +13 -13
  42. package/dist/index.d.ts +13 -13
  43. package/dist/index.js +1 -1
  44. package/dist/layout.cjs +1 -1
  45. package/dist/layout.d.cts +38 -19
  46. package/dist/layout.d.ts +38 -19
  47. package/dist/layout.js +1 -1
  48. package/dist/output.cjs +1 -1
  49. package/dist/output.d.cts +6 -6
  50. package/dist/output.d.ts +6 -6
  51. package/dist/output.js +1 -1
  52. package/dist/{review-items-B8tffIXj.d.cts → review-items-CwixiHNe.d.cts} +1 -1
  53. package/dist/{review-items-bdGxFWNA.d.ts → review-items-Dw-8a6Ie.d.ts} +1 -1
  54. package/dist/{review-reads-Bxz03tHG.d.cts → review-reads-BqkiJTeR.d.cts} +1 -1
  55. package/dist/{review-reads-CHODU0LI.d.ts → review-reads-C0u-IKEA.d.ts} +1 -1
  56. package/dist/{semantic-cell-selection-BPzx6DdT.d.cts → semantic-cell-selection-DT9x9WLf.d.cts} +2 -2
  57. package/dist/{semantic-cell-selection-CsHcr-yk.d.ts → semantic-cell-selection-Utrf0lz7.d.ts} +2 -2
  58. package/dist/{semantic-interaction-BfWDD_0V.d.cts → semantic-interaction-B6hFRQLy.d.ts} +21 -2
  59. package/dist/{semantic-interaction-D-RZ9Ust.d.ts → semantic-interaction-Z0xKQcB4.d.cts} +21 -2
  60. package/dist/{semantic-paint-WhVtSDJK.d.ts → semantic-paint-CQEOC0Od.d.cts} +2 -2
  61. package/dist/{semantic-paint-Bd7EqzXV.d.cts → semantic-paint-quke354p.d.ts} +2 -2
  62. package/dist/{semantic-records-DadVT_E1.d.cts → semantic-records-CMakzQ1X.d.cts} +16 -2
  63. package/dist/{semantic-records-DCt-ZwKU.d.ts → semantic-records-Do3-i5oB.d.ts} +16 -2
  64. package/dist/{shaped-measurer-B9f4A7QA.d.ts → shaped-measurer-BxwTUluj.d.ts} +1 -1
  65. package/dist/{shaped-measurer-CninrHr_.d.cts → shaped-measurer-DzRwWrL5.d.cts} +1 -1
  66. package/dist/store.cjs +1 -1
  67. package/dist/store.d.cts +128 -12
  68. package/dist/store.d.ts +128 -12
  69. package/dist/store.js +1 -1
  70. package/dist/tree-op-revision-attribution-CN06Xshv.d.cts +24 -0
  71. package/dist/tree-op-revision-attribution-CN06Xshv.d.ts +24 -0
  72. package/dist/{tree-op-types-CnRb7AYo.d.ts → tree-op-types-BuOfCrkp.d.ts} +259 -32
  73. package/dist/{tree-op-types-D1vNJ7XC.d.cts → tree-op-types-DSJYmf5b.d.cts} +259 -32
  74. package/dist/{tree-session-Df02ajqc.d.cts → tree-session-contract-ByWx8eew.d.cts} +44 -104
  75. package/dist/{tree-session-ZuBFOhIh.d.ts → tree-session-contract-C1dfE9hy.d.ts} +44 -104
  76. package/dist/{tree-store-DgETo6Mf.d.ts → tree-store-ASBtz7UB.d.ts} +1 -1
  77. package/dist/{tree-store-B_sJBMIS.d.cts → tree-store-CWOUMGN8.d.cts} +1 -1
  78. package/package.json +2 -2
  79. package/dist/chunk-6JWP2H7K.js +0 -2
  80. package/dist/chunk-6KNLLEUW.cjs +0 -18
  81. package/dist/chunk-7ADTI533.cjs +0 -10
  82. package/dist/chunk-7ETDCPF6.cjs +0 -2
  83. package/dist/chunk-7I3BSGGS.js +0 -1
  84. package/dist/chunk-7UU5YFCD.cjs +0 -2
  85. package/dist/chunk-CKDAK3MV.js +0 -10
  86. package/dist/chunk-DIMEYVNS.js +0 -2
  87. package/dist/chunk-H2656QDI.cjs +0 -1
  88. package/dist/chunk-KQGENNL5.cjs +0 -15
  89. package/dist/chunk-LIXPSV4T.js +0 -18
  90. package/dist/chunk-O4UULRAQ.cjs +0 -5
  91. package/dist/chunk-SIIFNE6U.js +0 -15
  92. package/dist/chunk-VXYECPKA.js +0 -5
  93. package/dist/image-resources-BgA9EQxY.d.ts +0 -203
  94. package/dist/image-resources-BiA-IXgo.d.cts +0 -203
package/dist/store.d.cts CHANGED
@@ -1,18 +1,17 @@
1
- import { e as ResourceLimits } from './image-resources-BiA-IXgo.cjs';
2
- export { C as CreateImageResourceCacheOptions, D as DEFAULT_IMAGE_RESOURCE_LIMITS, f as DEFAULT_LIMITS, H as HARD_CEILINGS, g as IMAGE_RESOURCE_HARD_CEILINGS, b as ImageDecodePort, c as ImageResourceLimits, h as ImageResourceLookup, I as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, S as SupportedImageMime, i as ValidatedRasterHeader, j as createImageResourceCache, k as hasBoundedSvgRoot, l as imageResourceLookupFor, m as liveDrawingReferenceCount, r as resolveImageResourceLimits, n as resolveLimits, s as sniffImageMime, o as validateGifHeader, p as validateJpegHeader, q as validatePngHeader, v as validateRasterHeader } from './image-resources-BiA-IXgo.cjs';
1
+ import { B as ResourceLimits, T as TreeDocOp, a as TreeOpRejection, E as TreeOpResult, O as OoxmlProperty, k as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-DSJYmf5b.cjs';
2
+ export { F as ACCEPTED_PARAGRAPH_PROPERTIES, G as ACCEPTED_RUN_PROPERTIES, H as CONTENT_CONTROL_ID_MAX, J as CONTENT_CONTROL_PROPERTY_ORDER, K as ContentControlCheckbox, L as ContentControlCheckboxState, A as ContentControlDataBinding, M as ContentControlDateFormat, N as ContentControlEntry, C as ContentControlKind, y as ContentControlLevel, Q as ContentControlListItem, z as ContentControlLock, U as ContentControlProperties, W as CreateImageResourceCacheOptions, m as DEFAULT_IMAGE_RESOURCE_LIMITS, X as DEFAULT_LIMITS, D as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, Y as HARD_CEILINGS, Z as HYPERLINK_RELATIONSHIP_TYPE, _ as HyperlinkKind, $ as HyperlinkTarget, a0 as IMAGE_RESOURCE_HARD_CEILINGS, n as IMAGE_WRAP_TARGETS, j as ImageDecodePort, o as ImageResourceLimits, a1 as ImageResourceLookup, f as ImageResourceState, a2 as MAX_CONTENT_CONTROLS_PER_PART, a3 as MAX_CONTENT_CONTROL_NESTING, a4 as MAX_SVG_SNIFF_BYTES, a5 as OFFICE_RELATIONSHIP_NAMESPACE_URI, P as PreservedImageMime, a6 as RelationshipTargetResolver, S as SourceCrop, c as SupportedImageMime, a7 as TABLE_BORDER_STYLES, a8 as TREE_DOC_OP_KINDS, a9 as TabStopWrite, x as TableBorderStyle, aa as TreeDocOpKind, ab as TreeOpEffect, ac as ValidatedRasterHeader, ad as allocateContentControlId, ae as contentControlContentChildren, af as contentControlContentNodeOf, ag as contentControlEndPropertiesNodeOf, ah as contentControlLevelOf, ai as contentControlPropertiesNodeOf, aj as contentControlPropertiesOf, ak as contentControlTextOf, al as contentControlsIn, am as createImageResourceCache, an as findContentControl, ao as flattenContentControls, ap as hasBoundedSvgRoot, aq as hyperlinkAnchorOf, ar as hyperlinkRelationshipIdOf, as as hyperlinkTargetOf, at as imageResourceLookupFor, au as isContentControlContentNode, av as isContentControlNode, aw as isContentControlWrapper, ax as isHyperlinkNode, ay as liveDrawingReferenceCount, az as lockForbidsEdit, aA as lockForbidsRemoval, aB as orderedContentControlProperties, aC as parseContentControlId, aD as projectDrawing, aE as resolveContentControlLock, r as resolveImageResourceLimits, aF as resolveLimits, s as sniffImageMime, aG as validateGifHeader, aH as validateJpegHeader, aI as validatePngHeader, v as validateRasterHeader } from './tree-op-types-DSJYmf5b.cjs';
3
3
  import { O as OoxmlPart, a as OoxmlNode, u as OoxmlInvariantResult, c as OoxmlPackage, R as RelationshipRecord, b as OoxmlElement, v as OoxmlInvariantIssue, w as OoxmlHardBreakNode, d as OoxmlParagraphNode, x as OoxmlFldCharNode, y as OoxmlFldSimpleNode, z as OoxmlInstrTextNode, A as OoxmlAttribute } from './ooxml-package-CdEy9ufK.cjs';
4
4
  export { C as ContentTypeError, B as ContentTypeIndex, D as ContentTypeRecords, E as DEFAULT_OOXML_PACKAGE_LIMITS, F as DEFAULT_ZIP_LIMITS, G as DefaultRecord, I as IMAGE_RELATIONSHIP_TYPE, H as ImageRelationshipResolution, J as IndexResult, N as NameRejection, K as NameResult, L as OOXML_NODE_IDENTITY_RULES, M as OoxmlBodyNode, P as OoxmlBookmarkEndNode, Q as OoxmlBookmarkStartNode, S as OoxmlContentControlCalendarNode, T as OoxmlContentControlCheckboxNode, U as OoxmlContentControlCheckedNode, V as OoxmlContentControlCheckedStateNode, W as OoxmlContentControlComboBoxNode, q as OoxmlContentControlContentNode, X as OoxmlContentControlDataBindingNode, Y as OoxmlContentControlDateFormatNode, Z as OoxmlContentControlDateNode, _ as OoxmlContentControlDropDownListNode, s as OoxmlContentControlEndPropertiesNode, $ as OoxmlContentControlLidNode, a0 as OoxmlContentControlListItemNode, p as OoxmlContentControlNode, t as OoxmlContentControlPropertiesNode, a1 as OoxmlContentControlStoreMappedDataAsNode, a2 as OoxmlContentControlTextNode, a3 as OoxmlContentControlUncheckedStateNode, f as OoxmlContinuationSeparatorNode, a4 as OoxmlDocumentNode, g as OoxmlEndnotesNode, a5 as OoxmlExternalTarget, h as OoxmlFootnotesNode, m as OoxmlGenericElementNode, a6 as OoxmlGenericExtensionAttribute, a7 as OoxmlHyperlinkNode, a8 as OoxmlInvariantIssueCode, a9 as OoxmlKnownNodeAttribute, aa as OoxmlNamespaceBinding, l as OoxmlNodeId, ab as OoxmlNodeIdentityRules, e as OoxmlNoteNode, i as OoxmlNoteRefNode, j as OoxmlNoteReferenceNode, n as OoxmlPackageLimits, o as OoxmlPackageRejection, ac as OoxmlPackageResult, ad as OoxmlParagraphPropertiesNode, ae as OoxmlPartMetadata, af as OoxmlReadRejection, ag as OoxmlReadResult, ah as OoxmlRunNode, ai as OoxmlRunPropertiesNode, k as OoxmlSeparatorNode, aj as OoxmlTabNode, ak as OoxmlTextElementNode, al as OoxmlTextNode, am as OoxmlWmlValAttribute, an as OoxmlXmlSpaceAttribute, ao as OverrideRecord, ap as RelationshipError, aq as RelationshipSetResult, ar as ResolveResult, as as ResolvedRelationship, at as TargetMode, au as WML_NAMESPACE_URI, av as XMLNS_NAMESPACE_URI, aw as XML_NAMESPACE_URI, ax as XmlLimits, ay as XmlNode, az as XmlRejection, aA as XmlResult, aB as ZipLimits, aC as ZipReadResult, aD as ZipRejection, aE as asciiFold, aF as buildContentTypeIndex, aG as buildRelationshipSet, aH as childElements, aI as detectDuplicateNames, aJ as extensionKey, aK as findElement, aL as isContentRevisionKind, aM as isRangeMarkerKind, aN as isValidMime, aO as normalizePartName, aP as partNameKey, aQ as readOnOffChild, aR as readOoxmlPackage, aS as readOoxmlPart, aT as readXml, aU as readZip, aV as resolveContentType, aW as resolveImageRelationship, aX as resolveInternalTarget, aY as resolveRelationship, aZ as textContent, a_ as validateExternalTarget, a$ as withPart, b0 as writeOoxmlPackage, b1 as writeZip } from './ooxml-package-CdEy9ufK.cjs';
5
- export { e as BookmarkAnchor, B as BookmarkIndex, f as CascadeDeletedNoteReferencesOptions, g as CustomNodePayloadRead, h as CustomNodePayloadWrite, b as CustomNodeSweepOutcome, i as CustomNodeSweepResult, j as CustomNodeWriteRejection, C as CustomNodeWriteResult, k as DEFAULT_MAX_EDITABLE_STORY_PARTS, D as DocumentTrackingSettings, l as DrawingPropertyIdResult, E as EmbeddedFont, F as FontStyleKey, H as HeaderFooterLifecycleImpact, m as HeaderFooterLifecycleOp, n as HeaderFooterLifecycleRejection, o as HeaderFooterLifecycleResult, I as InsertCustomNodeWrite, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, p as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, q as MAX_NOTE_REFERENCE_PARTS, r as MAX_NOTE_REFERENCE_SCAN, N as NO_TRACKING_SETTINGS, s as NoteDiagnostic, t as NoteDiagnosticCode, u as NoteLifecycleImpact, v as NoteLifecycleOp, w as NoteLifecycleOptions, x as NoteLifecycleRejection, y as NoteLifecycleResult, z as NoteReferenceHit, G as NoteReferenceScanBudget, P as PackageTransactResult, J as ReadEmbeddedFontsOptions, K as StoryResolveResult, S as StoryScope, a as StoryTargetRejection, T as TreePackageStore, O as TreePackageStoreOptions, Q as allocateDrawingPropertyId, U as applyHeaderFooterLifecycleOp, V as applyNoteLifecycleOp, W as buildBookmarkIndex, X as cascadeDeletedNoteReferences, Y as collectNoteReferences, Z as collectPackageNoteReferences, _ as createNoteReferenceScanBudget, $ as customNodePayloadsByControl, a0 as customNodePayloadsOf, a1 as deobfuscateFont, a2 as diagnoseNoteReferences, a3 as ensureListDefinition, a4 as ensureNumberingLevel, a5 as insertCustomNodeWrite, a6 as isHeaderFooterLifecycleOp, a7 as isNoteLifecycleOp, a8 as normalNoteIds, a9 as notesPartHasId, aa as readEmbeddedFonts, ab as readTrackingSettings, ac as removeCustomNodeWrite, ad as resolveNotesPart, ae as sweepCustomNodePayloads, af as withBinaryPart, ag as withEmbeddedImage, ah as withoutUnreferencedImagePart } from './custom-node-writes-Dy3b20PS.cjs';
5
+ export { f as BookmarkAnchor, B as BookmarkIndex, g as CascadeDeletedNoteReferencesOptions, h as CustomNodePayloadRead, i as CustomNodePayloadWrite, b as CustomNodeSweepOutcome, j as CustomNodeSweepResult, k as CustomNodeWriteRejection, C as CustomNodeWriteResult, l as DEFAULT_MAX_EDITABLE_STORY_PARTS, D as DocumentTrackingSettings, m as DrawingPropertyIdResult, E as EmbeddedFont, n as FontStyleKey, F as FragmentPasteInput, e as FragmentPasteResult, H as HeaderFooterLifecycleImpact, o as HeaderFooterLifecycleOp, p as HeaderFooterLifecycleRejection, q as HeaderFooterLifecycleResult, I as InsertCustomNodeWrite, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, r as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, s as MAX_FRAGMENT_DECODED_BYTES, t as MAX_NOTE_REFERENCE_PARTS, u as MAX_NOTE_REFERENCE_SCAN, N as NO_TRACKING_SETTINGS, v as NoteDiagnostic, w as NoteDiagnosticCode, x as NoteLifecycleImpact, y as NoteLifecycleOp, z as NoteLifecycleOptions, G as NoteLifecycleRejection, J as NoteLifecycleResult, K as NoteReferenceHit, O as NoteReferenceScanBudget, P as PackageTransactResult, Q as ReadEmbeddedFontsOptions, T as StoryResolveResult, S as StoryScope, a as StoryTargetRejection, U as TreePackageStore, V as TreePackageStoreOptions, W as allocateDrawingPropertyId, X as applyFragmentPaste, Y as applyHeaderFooterLifecycleOp, Z as applyNoteLifecycleOp, _ as buildBookmarkIndex, $ as cascadeDeletedNoteReferences, a0 as collectNoteReferences, a1 as collectPackageNoteReferences, a2 as createNoteReferenceScanBudget, a3 as customNodePayloadsByControl, a4 as customNodePayloadsOf, a5 as deobfuscateFont, a6 as diagnoseNoteReferences, a7 as ensureListDefinition, a8 as ensureNumberingLevel, a9 as insertCustomNodeWrite, aa as isHeaderFooterLifecycleOp, ab as isNoteLifecycleOp, ac as normalNoteIds, ad as notesPartHasId, ae as readEmbeddedFonts, af as readTrackingSettings, ag as removeCustomNodeWrite, ah as resolveNotesPart, ai as sweepCustomNodePayloads, aj as withBinaryPart, ak as withEmbeddedImage, al as withoutUnreferencedImagePart } from './custom-node-writes-Db8H6Z3n.cjs';
6
6
  export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, O as OmmlEquationProjection, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-BD-LsmWE.cjs';
7
7
  export { c as HeaderFooterKind, a as HeaderFooterParts, b as HeaderFooterSectionResolution, d as HeaderFooterSlotMeta, H as HeaderFooterVariant, e as collectSectionPropertyNodes, r as resolveHeaderFooterParts, f as resolveHeaderFooterPartsBySection, g as resolveHeaderFooterResolutionBySection } from './hf-references-Dvk6De4Q.cjs';
8
- export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-Bxz03tHG.cjs';
9
- import { T as TreeDocOp, a as TreeOpRejection, r as TreeOpResult, O as OoxmlProperty, i as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-D1vNJ7XC.cjs';
10
- export { A as ACCEPTED_PARAGRAPH_PROPERTIES, s as ACCEPTED_RUN_PROPERTIES, t as CONTENT_CONTROL_ID_MAX, u as CONTENT_CONTROL_PROPERTY_ORDER, v as ContentControlCheckbox, w as ContentControlCheckboxState, q as ContentControlDataBinding, x as ContentControlDateFormat, y as ContentControlEntry, C as ContentControlKind, o as ContentControlLevel, z as ContentControlListItem, p as ContentControlLock, B as ContentControlProperties, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, H as HYPERLINK_RELATIONSHIP_TYPE, E as HyperlinkKind, F as HyperlinkTarget, k as IMAGE_WRAP_TARGETS, M as MAX_CONTENT_CONTROLS_PER_PART, G as MAX_CONTENT_CONTROL_NESTING, J as OFFICE_RELATIONSHIP_NAMESPACE_URI, K as RelationshipTargetResolver, R as RevisionAddress, S as SourceCrop, L as TABLE_BORDER_STYLES, N as TREE_DOC_OP_KINDS, P as TabStopWrite, n as TableBorderStyle, Q as TreeDocOpKind, U as TreeOpEffect, W as allocateContentControlId, X as contentControlContentChildren, Y as contentControlContentNodeOf, Z as contentControlEndPropertiesNodeOf, _ as contentControlLevelOf, $ as contentControlPropertiesNodeOf, a0 as contentControlPropertiesOf, a1 as contentControlTextOf, a2 as contentControlsIn, a3 as findContentControl, a4 as flattenContentControls, a5 as hyperlinkAnchorOf, a6 as hyperlinkRelationshipIdOf, a7 as hyperlinkTargetOf, a8 as isContentControlContentNode, a9 as isContentControlNode, aa as isContentControlWrapper, ab as isHyperlinkNode, ac as lockForbidsEdit, ad as lockForbidsRemoval, ae as orderedContentControlProperties, af as parseContentControlId, ag as projectDrawing, ah as resolveContentControlLock } from './tree-op-types-D1vNJ7XC.cjs';
8
+ export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-BqkiJTeR.cjs';
11
9
  export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, a as NOTE_ATOM_CHAR, b as NOTE_CONTINUATION_SEPARATOR_ID, c as NOTE_ID_MAX, d as NOTE_ID_MIN, e as NOTE_SEPARATOR_ID, N as NoteKind, f as NoteType, g as allocateNoteId, h as atomicNoteSpansOf, i as customMarkFollows, j as findNoteById, k as formatNoteScopeId, l as isContinuationSeparatorNode, m as isEndnotesNode, o as isFootnotesNode, p as isNormalNote, q as isNoteAtomNode, r as isNoteNode, s as isNoteRefNode, t as isNoteReferenceNode, u as isSeparatorNode, v as noteAtomText, w as noteIdOf, x as noteKindOf, y as noteRefKindOf, z as noteReferenceKindOf, n as noteTypeOf, B as notesOf, C as parseNoteId, D as parseNoteScopeId } from './note-nodes-DL-Au22P.cjs';
12
10
  export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-CQlxjic_.cjs';
13
- import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-B_sJBMIS.cjs';
14
- export { D as DocumentProperties, S as SelectionMark, f as TreeDocumentStoreOptions, a as TreeStoryRef, d as TreeTransactOptions, g as TreeTransactResult, c as TreeTransactionContext } from './tree-store-B_sJBMIS.cjs';
15
- export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-B8tffIXj.cjs';
11
+ import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-CWOUMGN8.cjs';
12
+ export { D as DocumentProperties, S as SelectionMark, f as TreeDocumentStoreOptions, a as TreeStoryRef, d as TreeTransactOptions, g as TreeTransactResult, c as TreeTransactionContext } from './tree-store-CWOUMGN8.cjs';
13
+ export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-CwixiHNe.cjs';
14
+ export { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.cjs';
16
15
  import './contracts/types.cjs';
17
16
 
18
17
  /**
@@ -999,6 +998,20 @@ type OoxmlEditResult = {
999
998
  */
1000
999
  interface EditOptions {
1001
1000
  readonly deferValidation?: boolean;
1001
+ /**
1002
+ * A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
1003
+ *
1004
+ * `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
1005
+ * write emits one op per run — so a Select All + Bold in suggesting mode paid a
1006
+ * document-wide walk thousands of times over. The transaction hands its ops one minter
1007
+ * instead, and it is DROPPED the moment an op that can import foreign revision ids runs
1008
+ * (a paste carries its own), because a stale minter would hand out an id the document had
1009
+ * just started using — and two revisions sharing an address are one card in the pane.
1010
+ *
1011
+ * Absent means "mint your own": every applier falls back to its own walk, which is what a
1012
+ * caller outside a transaction gets.
1013
+ */
1014
+ readonly revisionIds?: () => string;
1002
1015
  }
1003
1016
  /** Every node id currently present in the part. */
1004
1017
  declare function collectNodeIds(part: OoxmlPart): Set<string>;
@@ -1988,6 +2001,71 @@ declare function applyTreeOp(part: OoxmlPart, op: TreeDocOp, options?: EditOptio
1988
2001
  /** Paragraph text as the ops address it, for tests and callers computing offsets. */
1989
2002
  declare function paragraphTextOf(part: OoxmlPart, paragraphId: string): string | null;
1990
2003
 
2004
+ /**
2005
+ * WHERE a copy reaches, computed by the editing surface against the published layout with
2006
+ * the same full-coverage predicate `planRangeDeletion` uses. Pure data: paragraph ids in
2007
+ * document order, edge offsets in the store's segment offset space, and the coverage sets.
2008
+ */
2009
+ interface FragmentCoverage {
2010
+ /** Story part the range lives in (`/word/document.xml` for the body). */
2011
+ readonly partName: string;
2012
+ /** Every paragraph the range touches, in document order, edges included. */
2013
+ readonly paragraphIds: readonly string[];
2014
+ /** Offset into the first paragraph where the range starts. */
2015
+ readonly startOffset: number;
2016
+ /** Offset into the last paragraph where the range ends. */
2017
+ readonly endOffset: number;
2018
+ /** Paragraphs the range covers mark-to-mark (the deletion planner's `covered`). */
2019
+ readonly coveredParagraphIds: readonly string[];
2020
+ /** Outermost tables and block SDTs whose every paragraph is covered. */
2021
+ readonly fullyCoveredBlockIds: readonly string[];
2022
+ /** True when the range reaches the last paragraph's far edge (its mark travels). */
2023
+ readonly lastMarkCovered: boolean;
2024
+ }
2025
+ type FragmentExtractRejection = 'unknown-part' | 'empty-range' | 'trim-refused' | 'resource-limit';
2026
+ type FragmentExtractResult = {
2027
+ readonly ok: true;
2028
+ /** The fragment package zip, readable by `readOoxmlPackage`. */
2029
+ readonly bytes: Uint8Array;
2030
+ /** Travels beside the zip (HTML attribute): whether the last paragraph mark is covered. */
2031
+ readonly lastMarkCovered: boolean;
2032
+ readonly blockCount: number;
2033
+ /** Total bytes of media carried, for the copy-side degrade tiers. */
2034
+ readonly mediaBytes: number;
2035
+ } | {
2036
+ readonly ok: false;
2037
+ readonly reason: FragmentExtractRejection;
2038
+ };
2039
+ /**
2040
+ * Extract the covered range into a fragment package zip.
2041
+ *
2042
+ * Pure over its inputs: the package and the coverage description. The blocks travel with
2043
+ * their dependency closure (styles, numbering, media, hyperlink rels, referenced note
2044
+ * bodies) and without headers/footers, `w:sectPr`, comments, settings, docDefaults (beyond
2045
+ * the materialized copy in the fragment styles part), or theme.
2046
+ */
2047
+ declare function extractFragmentPackage(pkg: OoxmlPackage, coverage: FragmentCoverage, options?: {
2048
+ /** Copy-side degrade tier 1: leave media behind; their drawings degrade away. */
2049
+ readonly omitMedia?: boolean;
2050
+ }): FragmentExtractResult;
2051
+
2052
+ type FragmentMergeRejection = 'no-fragment-document' | 'no-target-part' | 'merge-refused';
2053
+ type FragmentMergeResult = {
2054
+ readonly ok: true;
2055
+ readonly pkg: OoxmlPackage;
2056
+ /** The fragment blocks, rewritten to target identifiers, ready for `insertFragment`. */
2057
+ readonly blocks: readonly OoxmlNode[];
2058
+ } | {
2059
+ readonly ok: false;
2060
+ readonly reason: FragmentMergeRejection;
2061
+ };
2062
+ /**
2063
+ * Merge a fragment package's resources into `target` and rewrite the fragment blocks to
2064
+ * the target's identifiers. Pure: returns a new package; the caller commits it through
2065
+ * `ctx.applyPackage` beside the `insertFragment` op.
2066
+ */
2067
+ declare function mergeFragmentIntoPackage(target: OoxmlPackage, fragment: OoxmlPackage, ownerPartName: string): FragmentMergeResult;
2068
+
1991
2069
  /** Where a comment is anchored, in the model offset space of one story. */
1992
2070
  interface CommentAnchorRequest {
1993
2071
  readonly paragraphId: string;
@@ -2087,6 +2165,26 @@ declare function commentPartNameOf(pkg: OoxmlPackage, storyPartName: string): st
2087
2165
  */
2088
2166
  declare function commentsExtendedPartNameOf(pkg: OoxmlPackage, storyPartName: string): string;
2089
2167
 
2168
+ /**
2169
+ * Which revision halves the reader is looking at.
2170
+ *
2171
+ * Structurally identical to layout's `RevisionDisplayMode`, and pinned equal to it by
2172
+ * `packages/core/src/layout/__tests__/revision-display-mode-parity.test.ts`. Redeclared
2173
+ * rather than imported because the `store` lane may import no other lane (see
2174
+ * `packages/core/src/__tests__/core-lane-graph.ts`), and the formatting walks live here so
2175
+ * that the automation lane — which has no layout at all — reaches them.
2176
+ */
2177
+ type FormattingDisplayMode = 'all-markup' | 'proposed' | 'original';
2178
+ /**
2179
+ * What the formatting lanes assume when nobody names a view.
2180
+ *
2181
+ * The RESOLVED result — Word's "No Markup" — because a caller with no view is a caller with
2182
+ * no reader: a headless automation host answers for the text that survives. It is not what a
2183
+ * mounted surface uses; that one names its own mode, and with the review module registered
2184
+ * the layout default is `all-markup`.
2185
+ */
2186
+ declare const DEFAULT_FORMATTING_DISPLAY_MODE: FormattingDisplayMode;
2187
+
2090
2188
  /** The D8 paragraph op vocabulary. */
2091
2189
  declare const AUTHORABLE_PARAGRAPH_PROPERTIES: ReadonlySet<string>;
2092
2190
  /** The D8 run op vocabulary, for `w:rPr` on a run and on the paragraph mark alike. */
@@ -2204,14 +2302,32 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
2204
2302
  * offset rather than by id because these edits apply in sequence and the applier splits runs at
2205
2303
  * the range edges; offsets are unmoved by a property write, ids are not.
2206
2304
  */
2207
- declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[]): readonly RunPropertyEdit[];
2305
+ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode): readonly RunPropertyEdit[];
2306
+ /**
2307
+ * The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
2308
+ *
2309
+ * For the one write that does NOT split per run: the eraser states `properties: []` over a
2310
+ * whole range, and a single op there is right — clearing is the one change that legitimately
2311
+ * homogenises what it covers, since there is no bag to carry forward. But the applier derives
2312
+ * its run set from `segmentsOf`, which knows nothing about display modes, so one op over the
2313
+ * whole range reached hidden revision halves at the same offsets: erasing a visible selection
2314
+ * cleared a tracked deletion's `w:rPr` and — in suggesting mode — raised a review card for a
2315
+ * change nobody could see made.
2316
+ *
2317
+ * Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
2318
+ * two visible runs, so the ranges either side of it never coalesce across it.
2319
+ */
2320
+ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly {
2321
+ readonly start: number;
2322
+ readonly end: number;
2323
+ }[];
2208
2324
  /**
2209
2325
  * Every run that contributes at least one character of `[start, end)`, in document order.
2210
2326
  *
2211
2327
  * A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
2212
2328
  * want the empty answer for a collapsed range check the offsets themselves.
2213
2329
  */
2214
- declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number): readonly OoxmlNode[];
2330
+ declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly OoxmlNode[];
2215
2331
 
2216
2332
  /** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
2217
2333
  interface SiteLocation {
@@ -2307,4 +2423,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
2307
2423
  /** Whether an op is one of the drawing ops. Narrows the type. */
2308
2424
  declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
2309
2425
 
2310
- export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, type AddCommentRequest, type AddCommentResult, type AnchorSnapshot, type AtomicFieldSpan, type AuditPort, type AuthorizationPort, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, type CancellationPhase, type CancellationPort, type CancellationToken, type CapabilityId, type ClockPort, type CommentAnchorRequest, type CommentDeletionOwner, type ComparatorDescriptor, type ComparatorMode, type ComparatorName, type ComparisonResult, type ConformanceFixture, type ContentItem, type Contribution, type CustomNodeBinding, type CustomNodeExportPolicy, type CustomNodeExportRequest, type CustomNodeExportResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, type Json, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, type LimitSpec, type LimitUnit, MAX_STORY_SDT_NESTING, type ModelChangeSummary, NON_CANONICAL_ORIGINS, ORIGIN_IDS, type OffsetSpan, OoxmlAttribute, type OoxmlEditResult, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, type OoxmlIndexes, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, type OoxmlStoryKind, type OoxmlStoryRoot, type OperationContext, type OperationInit, PAGE_BREAK_CHAR, type PackageInvariantCode, type PackageInvariantIssue, type PackageInvariantResult, type ParagraphDigest, type ParagraphIndexEntry, type ParagraphOffsetIndex, type PersistencePort, type Points, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, type RegistryErrorCode, RelationshipRecord, type ReplacementPolicy, type ReplayOutcome, type ReplayReport, type ReplayStore, type Reservation, type ResolveOptions, type ResolvedRegistry, type ResourceAccountingPort, ResourceLimits, type RunPropertyEdit, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, type SchedulingPort, type ScrubResult, type Segment, type SemVer, type SemanticDigest, SequentialIdentity, type SetCommentResolvedResult, type ShapingPort, type StoryDigest, type StoryIndexEntry, type StyleIndexEntry, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TWIPS_PER_POINT, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, type Twips, type ValidationResult, addComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authorableHyperlinkTarget, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectRevisionSites, collectStoryParagraphs, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2426
+ export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, type AddCommentRequest, type AddCommentResult, type AnchorSnapshot, type AtomicFieldSpan, type AuditPort, type AuthorizationPort, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, type CancellationPhase, type CancellationPort, type CancellationToken, type CapabilityId, type ClockPort, type CommentAnchorRequest, type CommentDeletionOwner, type ComparatorDescriptor, type ComparatorMode, type ComparatorName, type ComparisonResult, type ConformanceFixture, type ContentItem, type Contribution, type CustomNodeBinding, type CustomNodeExportPolicy, type CustomNodeExportRequest, type CustomNodeExportResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, type Json, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, type LimitSpec, type LimitUnit, MAX_STORY_SDT_NESTING, type ModelChangeSummary, NON_CANONICAL_ORIGINS, ORIGIN_IDS, type OffsetSpan, OoxmlAttribute, type OoxmlEditResult, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, type OoxmlIndexes, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, type OoxmlStoryKind, type OoxmlStoryRoot, type OperationContext, type OperationInit, PAGE_BREAK_CHAR, type PackageInvariantCode, type PackageInvariantIssue, type PackageInvariantResult, type ParagraphDigest, type ParagraphIndexEntry, type ParagraphOffsetIndex, type PersistencePort, type Points, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, type RegistryErrorCode, RelationshipRecord, type ReplacementPolicy, type ReplayOutcome, type ReplayReport, type ReplayStore, type Reservation, type ResolveOptions, type ResolvedRegistry, type ResourceAccountingPort, ResourceLimits, type RunPropertyEdit, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, type SchedulingPort, type ScrubResult, type Segment, type SemVer, type SemanticDigest, SequentialIdentity, type SetCommentResolvedResult, type ShapingPort, type StoryDigest, type StoryIndexEntry, type StyleIndexEntry, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TWIPS_PER_POINT, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, type Twips, type ValidationResult, addComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authorableHyperlinkTarget, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectRevisionSites, collectStoryParagraphs, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
package/dist/store.d.ts CHANGED
@@ -1,18 +1,17 @@
1
- import { e as ResourceLimits } from './image-resources-BgA9EQxY.js';
2
- export { C as CreateImageResourceCacheOptions, D as DEFAULT_IMAGE_RESOURCE_LIMITS, f as DEFAULT_LIMITS, H as HARD_CEILINGS, g as IMAGE_RESOURCE_HARD_CEILINGS, b as ImageDecodePort, c as ImageResourceLimits, h as ImageResourceLookup, I as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, S as SupportedImageMime, i as ValidatedRasterHeader, j as createImageResourceCache, k as hasBoundedSvgRoot, l as imageResourceLookupFor, m as liveDrawingReferenceCount, r as resolveImageResourceLimits, n as resolveLimits, s as sniffImageMime, o as validateGifHeader, p as validateJpegHeader, q as validatePngHeader, v as validateRasterHeader } from './image-resources-BgA9EQxY.js';
1
+ import { B as ResourceLimits, T as TreeDocOp, a as TreeOpRejection, E as TreeOpResult, O as OoxmlProperty, k as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-BuOfCrkp.js';
2
+ export { F as ACCEPTED_PARAGRAPH_PROPERTIES, G as ACCEPTED_RUN_PROPERTIES, H as CONTENT_CONTROL_ID_MAX, J as CONTENT_CONTROL_PROPERTY_ORDER, K as ContentControlCheckbox, L as ContentControlCheckboxState, A as ContentControlDataBinding, M as ContentControlDateFormat, N as ContentControlEntry, C as ContentControlKind, y as ContentControlLevel, Q as ContentControlListItem, z as ContentControlLock, U as ContentControlProperties, W as CreateImageResourceCacheOptions, m as DEFAULT_IMAGE_RESOURCE_LIMITS, X as DEFAULT_LIMITS, D as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, Y as HARD_CEILINGS, Z as HYPERLINK_RELATIONSHIP_TYPE, _ as HyperlinkKind, $ as HyperlinkTarget, a0 as IMAGE_RESOURCE_HARD_CEILINGS, n as IMAGE_WRAP_TARGETS, j as ImageDecodePort, o as ImageResourceLimits, a1 as ImageResourceLookup, f as ImageResourceState, a2 as MAX_CONTENT_CONTROLS_PER_PART, a3 as MAX_CONTENT_CONTROL_NESTING, a4 as MAX_SVG_SNIFF_BYTES, a5 as OFFICE_RELATIONSHIP_NAMESPACE_URI, P as PreservedImageMime, a6 as RelationshipTargetResolver, S as SourceCrop, c as SupportedImageMime, a7 as TABLE_BORDER_STYLES, a8 as TREE_DOC_OP_KINDS, a9 as TabStopWrite, x as TableBorderStyle, aa as TreeDocOpKind, ab as TreeOpEffect, ac as ValidatedRasterHeader, ad as allocateContentControlId, ae as contentControlContentChildren, af as contentControlContentNodeOf, ag as contentControlEndPropertiesNodeOf, ah as contentControlLevelOf, ai as contentControlPropertiesNodeOf, aj as contentControlPropertiesOf, ak as contentControlTextOf, al as contentControlsIn, am as createImageResourceCache, an as findContentControl, ao as flattenContentControls, ap as hasBoundedSvgRoot, aq as hyperlinkAnchorOf, ar as hyperlinkRelationshipIdOf, as as hyperlinkTargetOf, at as imageResourceLookupFor, au as isContentControlContentNode, av as isContentControlNode, aw as isContentControlWrapper, ax as isHyperlinkNode, ay as liveDrawingReferenceCount, az as lockForbidsEdit, aA as lockForbidsRemoval, aB as orderedContentControlProperties, aC as parseContentControlId, aD as projectDrawing, aE as resolveContentControlLock, r as resolveImageResourceLimits, aF as resolveLimits, s as sniffImageMime, aG as validateGifHeader, aH as validateJpegHeader, aI as validatePngHeader, v as validateRasterHeader } from './tree-op-types-BuOfCrkp.js';
3
3
  import { O as OoxmlPart, a as OoxmlNode, u as OoxmlInvariantResult, c as OoxmlPackage, R as RelationshipRecord, b as OoxmlElement, v as OoxmlInvariantIssue, w as OoxmlHardBreakNode, d as OoxmlParagraphNode, x as OoxmlFldCharNode, y as OoxmlFldSimpleNode, z as OoxmlInstrTextNode, A as OoxmlAttribute } from './ooxml-package-CdEy9ufK.js';
4
4
  export { C as ContentTypeError, B as ContentTypeIndex, D as ContentTypeRecords, E as DEFAULT_OOXML_PACKAGE_LIMITS, F as DEFAULT_ZIP_LIMITS, G as DefaultRecord, I as IMAGE_RELATIONSHIP_TYPE, H as ImageRelationshipResolution, J as IndexResult, N as NameRejection, K as NameResult, L as OOXML_NODE_IDENTITY_RULES, M as OoxmlBodyNode, P as OoxmlBookmarkEndNode, Q as OoxmlBookmarkStartNode, S as OoxmlContentControlCalendarNode, T as OoxmlContentControlCheckboxNode, U as OoxmlContentControlCheckedNode, V as OoxmlContentControlCheckedStateNode, W as OoxmlContentControlComboBoxNode, q as OoxmlContentControlContentNode, X as OoxmlContentControlDataBindingNode, Y as OoxmlContentControlDateFormatNode, Z as OoxmlContentControlDateNode, _ as OoxmlContentControlDropDownListNode, s as OoxmlContentControlEndPropertiesNode, $ as OoxmlContentControlLidNode, a0 as OoxmlContentControlListItemNode, p as OoxmlContentControlNode, t as OoxmlContentControlPropertiesNode, a1 as OoxmlContentControlStoreMappedDataAsNode, a2 as OoxmlContentControlTextNode, a3 as OoxmlContentControlUncheckedStateNode, f as OoxmlContinuationSeparatorNode, a4 as OoxmlDocumentNode, g as OoxmlEndnotesNode, a5 as OoxmlExternalTarget, h as OoxmlFootnotesNode, m as OoxmlGenericElementNode, a6 as OoxmlGenericExtensionAttribute, a7 as OoxmlHyperlinkNode, a8 as OoxmlInvariantIssueCode, a9 as OoxmlKnownNodeAttribute, aa as OoxmlNamespaceBinding, l as OoxmlNodeId, ab as OoxmlNodeIdentityRules, e as OoxmlNoteNode, i as OoxmlNoteRefNode, j as OoxmlNoteReferenceNode, n as OoxmlPackageLimits, o as OoxmlPackageRejection, ac as OoxmlPackageResult, ad as OoxmlParagraphPropertiesNode, ae as OoxmlPartMetadata, af as OoxmlReadRejection, ag as OoxmlReadResult, ah as OoxmlRunNode, ai as OoxmlRunPropertiesNode, k as OoxmlSeparatorNode, aj as OoxmlTabNode, ak as OoxmlTextElementNode, al as OoxmlTextNode, am as OoxmlWmlValAttribute, an as OoxmlXmlSpaceAttribute, ao as OverrideRecord, ap as RelationshipError, aq as RelationshipSetResult, ar as ResolveResult, as as ResolvedRelationship, at as TargetMode, au as WML_NAMESPACE_URI, av as XMLNS_NAMESPACE_URI, aw as XML_NAMESPACE_URI, ax as XmlLimits, ay as XmlNode, az as XmlRejection, aA as XmlResult, aB as ZipLimits, aC as ZipReadResult, aD as ZipRejection, aE as asciiFold, aF as buildContentTypeIndex, aG as buildRelationshipSet, aH as childElements, aI as detectDuplicateNames, aJ as extensionKey, aK as findElement, aL as isContentRevisionKind, aM as isRangeMarkerKind, aN as isValidMime, aO as normalizePartName, aP as partNameKey, aQ as readOnOffChild, aR as readOoxmlPackage, aS as readOoxmlPart, aT as readXml, aU as readZip, aV as resolveContentType, aW as resolveImageRelationship, aX as resolveInternalTarget, aY as resolveRelationship, aZ as textContent, a_ as validateExternalTarget, a$ as withPart, b0 as writeOoxmlPackage, b1 as writeZip } from './ooxml-package-CdEy9ufK.js';
5
- export { e as BookmarkAnchor, B as BookmarkIndex, f as CascadeDeletedNoteReferencesOptions, g as CustomNodePayloadRead, h as CustomNodePayloadWrite, b as CustomNodeSweepOutcome, i as CustomNodeSweepResult, j as CustomNodeWriteRejection, C as CustomNodeWriteResult, k as DEFAULT_MAX_EDITABLE_STORY_PARTS, D as DocumentTrackingSettings, l as DrawingPropertyIdResult, E as EmbeddedFont, F as FontStyleKey, H as HeaderFooterLifecycleImpact, m as HeaderFooterLifecycleOp, n as HeaderFooterLifecycleRejection, o as HeaderFooterLifecycleResult, I as InsertCustomNodeWrite, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, p as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, q as MAX_NOTE_REFERENCE_PARTS, r as MAX_NOTE_REFERENCE_SCAN, N as NO_TRACKING_SETTINGS, s as NoteDiagnostic, t as NoteDiagnosticCode, u as NoteLifecycleImpact, v as NoteLifecycleOp, w as NoteLifecycleOptions, x as NoteLifecycleRejection, y as NoteLifecycleResult, z as NoteReferenceHit, G as NoteReferenceScanBudget, P as PackageTransactResult, J as ReadEmbeddedFontsOptions, K as StoryResolveResult, S as StoryScope, a as StoryTargetRejection, T as TreePackageStore, O as TreePackageStoreOptions, Q as allocateDrawingPropertyId, U as applyHeaderFooterLifecycleOp, V as applyNoteLifecycleOp, W as buildBookmarkIndex, X as cascadeDeletedNoteReferences, Y as collectNoteReferences, Z as collectPackageNoteReferences, _ as createNoteReferenceScanBudget, $ as customNodePayloadsByControl, a0 as customNodePayloadsOf, a1 as deobfuscateFont, a2 as diagnoseNoteReferences, a3 as ensureListDefinition, a4 as ensureNumberingLevel, a5 as insertCustomNodeWrite, a6 as isHeaderFooterLifecycleOp, a7 as isNoteLifecycleOp, a8 as normalNoteIds, a9 as notesPartHasId, aa as readEmbeddedFonts, ab as readTrackingSettings, ac as removeCustomNodeWrite, ad as resolveNotesPart, ae as sweepCustomNodePayloads, af as withBinaryPart, ag as withEmbeddedImage, ah as withoutUnreferencedImagePart } from './custom-node-writes-D6SGwebL.js';
5
+ export { f as BookmarkAnchor, B as BookmarkIndex, g as CascadeDeletedNoteReferencesOptions, h as CustomNodePayloadRead, i as CustomNodePayloadWrite, b as CustomNodeSweepOutcome, j as CustomNodeSweepResult, k as CustomNodeWriteRejection, C as CustomNodeWriteResult, l as DEFAULT_MAX_EDITABLE_STORY_PARTS, D as DocumentTrackingSettings, m as DrawingPropertyIdResult, E as EmbeddedFont, n as FontStyleKey, F as FragmentPasteInput, e as FragmentPasteResult, H as HeaderFooterLifecycleImpact, o as HeaderFooterLifecycleOp, p as HeaderFooterLifecycleRejection, q as HeaderFooterLifecycleResult, I as InsertCustomNodeWrite, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, r as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, s as MAX_FRAGMENT_DECODED_BYTES, t as MAX_NOTE_REFERENCE_PARTS, u as MAX_NOTE_REFERENCE_SCAN, N as NO_TRACKING_SETTINGS, v as NoteDiagnostic, w as NoteDiagnosticCode, x as NoteLifecycleImpact, y as NoteLifecycleOp, z as NoteLifecycleOptions, G as NoteLifecycleRejection, J as NoteLifecycleResult, K as NoteReferenceHit, O as NoteReferenceScanBudget, P as PackageTransactResult, Q as ReadEmbeddedFontsOptions, T as StoryResolveResult, S as StoryScope, a as StoryTargetRejection, U as TreePackageStore, V as TreePackageStoreOptions, W as allocateDrawingPropertyId, X as applyFragmentPaste, Y as applyHeaderFooterLifecycleOp, Z as applyNoteLifecycleOp, _ as buildBookmarkIndex, $ as cascadeDeletedNoteReferences, a0 as collectNoteReferences, a1 as collectPackageNoteReferences, a2 as createNoteReferenceScanBudget, a3 as customNodePayloadsByControl, a4 as customNodePayloadsOf, a5 as deobfuscateFont, a6 as diagnoseNoteReferences, a7 as ensureListDefinition, a8 as ensureNumberingLevel, a9 as insertCustomNodeWrite, aa as isHeaderFooterLifecycleOp, ab as isNoteLifecycleOp, ac as normalNoteIds, ad as notesPartHasId, ae as readEmbeddedFonts, af as readTrackingSettings, ag as removeCustomNodeWrite, ah as resolveNotesPart, ai as sweepCustomNodePayloads, aj as withBinaryPart, ak as withEmbeddedImage, al as withoutUnreferencedImagePart } from './custom-node-writes-BvpWCnW8.js';
6
6
  export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, O as OmmlEquationProjection, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-Dd3mBep-.js';
7
7
  export { c as HeaderFooterKind, a as HeaderFooterParts, b as HeaderFooterSectionResolution, d as HeaderFooterSlotMeta, H as HeaderFooterVariant, e as collectSectionPropertyNodes, r as resolveHeaderFooterParts, f as resolveHeaderFooterPartsBySection, g as resolveHeaderFooterResolutionBySection } from './hf-references-z5Y4N1ab.js';
8
- export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-CHODU0LI.js';
9
- import { T as TreeDocOp, a as TreeOpRejection, r as TreeOpResult, O as OoxmlProperty, i as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-CnRb7AYo.js';
10
- export { A as ACCEPTED_PARAGRAPH_PROPERTIES, s as ACCEPTED_RUN_PROPERTIES, t as CONTENT_CONTROL_ID_MAX, u as CONTENT_CONTROL_PROPERTY_ORDER, v as ContentControlCheckbox, w as ContentControlCheckboxState, q as ContentControlDataBinding, x as ContentControlDateFormat, y as ContentControlEntry, C as ContentControlKind, o as ContentControlLevel, z as ContentControlListItem, p as ContentControlLock, B as ContentControlProperties, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, H as HYPERLINK_RELATIONSHIP_TYPE, E as HyperlinkKind, F as HyperlinkTarget, k as IMAGE_WRAP_TARGETS, M as MAX_CONTENT_CONTROLS_PER_PART, G as MAX_CONTENT_CONTROL_NESTING, J as OFFICE_RELATIONSHIP_NAMESPACE_URI, K as RelationshipTargetResolver, R as RevisionAddress, S as SourceCrop, L as TABLE_BORDER_STYLES, N as TREE_DOC_OP_KINDS, P as TabStopWrite, n as TableBorderStyle, Q as TreeDocOpKind, U as TreeOpEffect, W as allocateContentControlId, X as contentControlContentChildren, Y as contentControlContentNodeOf, Z as contentControlEndPropertiesNodeOf, _ as contentControlLevelOf, $ as contentControlPropertiesNodeOf, a0 as contentControlPropertiesOf, a1 as contentControlTextOf, a2 as contentControlsIn, a3 as findContentControl, a4 as flattenContentControls, a5 as hyperlinkAnchorOf, a6 as hyperlinkRelationshipIdOf, a7 as hyperlinkTargetOf, a8 as isContentControlContentNode, a9 as isContentControlNode, aa as isContentControlWrapper, ab as isHyperlinkNode, ac as lockForbidsEdit, ad as lockForbidsRemoval, ae as orderedContentControlProperties, af as parseContentControlId, ag as projectDrawing, ah as resolveContentControlLock } from './tree-op-types-CnRb7AYo.js';
8
+ export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-C0u-IKEA.js';
11
9
  export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, a as NOTE_ATOM_CHAR, b as NOTE_CONTINUATION_SEPARATOR_ID, c as NOTE_ID_MAX, d as NOTE_ID_MIN, e as NOTE_SEPARATOR_ID, N as NoteKind, f as NoteType, g as allocateNoteId, h as atomicNoteSpansOf, i as customMarkFollows, j as findNoteById, k as formatNoteScopeId, l as isContinuationSeparatorNode, m as isEndnotesNode, o as isFootnotesNode, p as isNormalNote, q as isNoteAtomNode, r as isNoteNode, s as isNoteRefNode, t as isNoteReferenceNode, u as isSeparatorNode, v as noteAtomText, w as noteIdOf, x as noteKindOf, y as noteRefKindOf, z as noteReferenceKindOf, n as noteTypeOf, B as notesOf, C as parseNoteId, D as parseNoteScopeId } from './note-nodes-BNCANoGN.js';
12
10
  export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-jvnw_DGG.js';
13
- import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-DgETo6Mf.js';
14
- export { D as DocumentProperties, S as SelectionMark, f as TreeDocumentStoreOptions, a as TreeStoryRef, d as TreeTransactOptions, g as TreeTransactResult, c as TreeTransactionContext } from './tree-store-DgETo6Mf.js';
15
- export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-bdGxFWNA.js';
11
+ import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-ASBtz7UB.js';
12
+ export { D as DocumentProperties, S as SelectionMark, f as TreeDocumentStoreOptions, a as TreeStoryRef, d as TreeTransactOptions, g as TreeTransactResult, c as TreeTransactionContext } from './tree-store-ASBtz7UB.js';
13
+ export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-Dw-8a6Ie.js';
14
+ export { R as RevisionAddress } from './tree-op-revision-attribution-CN06Xshv.js';
16
15
  import './contracts/types.js';
17
16
 
18
17
  /**
@@ -999,6 +998,20 @@ type OoxmlEditResult = {
999
998
  */
1000
999
  interface EditOptions {
1001
1000
  readonly deferValidation?: boolean;
1001
+ /**
1002
+ * A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
1003
+ *
1004
+ * `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
1005
+ * write emits one op per run — so a Select All + Bold in suggesting mode paid a
1006
+ * document-wide walk thousands of times over. The transaction hands its ops one minter
1007
+ * instead, and it is DROPPED the moment an op that can import foreign revision ids runs
1008
+ * (a paste carries its own), because a stale minter would hand out an id the document had
1009
+ * just started using — and two revisions sharing an address are one card in the pane.
1010
+ *
1011
+ * Absent means "mint your own": every applier falls back to its own walk, which is what a
1012
+ * caller outside a transaction gets.
1013
+ */
1014
+ readonly revisionIds?: () => string;
1002
1015
  }
1003
1016
  /** Every node id currently present in the part. */
1004
1017
  declare function collectNodeIds(part: OoxmlPart): Set<string>;
@@ -1988,6 +2001,71 @@ declare function applyTreeOp(part: OoxmlPart, op: TreeDocOp, options?: EditOptio
1988
2001
  /** Paragraph text as the ops address it, for tests and callers computing offsets. */
1989
2002
  declare function paragraphTextOf(part: OoxmlPart, paragraphId: string): string | null;
1990
2003
 
2004
+ /**
2005
+ * WHERE a copy reaches, computed by the editing surface against the published layout with
2006
+ * the same full-coverage predicate `planRangeDeletion` uses. Pure data: paragraph ids in
2007
+ * document order, edge offsets in the store's segment offset space, and the coverage sets.
2008
+ */
2009
+ interface FragmentCoverage {
2010
+ /** Story part the range lives in (`/word/document.xml` for the body). */
2011
+ readonly partName: string;
2012
+ /** Every paragraph the range touches, in document order, edges included. */
2013
+ readonly paragraphIds: readonly string[];
2014
+ /** Offset into the first paragraph where the range starts. */
2015
+ readonly startOffset: number;
2016
+ /** Offset into the last paragraph where the range ends. */
2017
+ readonly endOffset: number;
2018
+ /** Paragraphs the range covers mark-to-mark (the deletion planner's `covered`). */
2019
+ readonly coveredParagraphIds: readonly string[];
2020
+ /** Outermost tables and block SDTs whose every paragraph is covered. */
2021
+ readonly fullyCoveredBlockIds: readonly string[];
2022
+ /** True when the range reaches the last paragraph's far edge (its mark travels). */
2023
+ readonly lastMarkCovered: boolean;
2024
+ }
2025
+ type FragmentExtractRejection = 'unknown-part' | 'empty-range' | 'trim-refused' | 'resource-limit';
2026
+ type FragmentExtractResult = {
2027
+ readonly ok: true;
2028
+ /** The fragment package zip, readable by `readOoxmlPackage`. */
2029
+ readonly bytes: Uint8Array;
2030
+ /** Travels beside the zip (HTML attribute): whether the last paragraph mark is covered. */
2031
+ readonly lastMarkCovered: boolean;
2032
+ readonly blockCount: number;
2033
+ /** Total bytes of media carried, for the copy-side degrade tiers. */
2034
+ readonly mediaBytes: number;
2035
+ } | {
2036
+ readonly ok: false;
2037
+ readonly reason: FragmentExtractRejection;
2038
+ };
2039
+ /**
2040
+ * Extract the covered range into a fragment package zip.
2041
+ *
2042
+ * Pure over its inputs: the package and the coverage description. The blocks travel with
2043
+ * their dependency closure (styles, numbering, media, hyperlink rels, referenced note
2044
+ * bodies) and without headers/footers, `w:sectPr`, comments, settings, docDefaults (beyond
2045
+ * the materialized copy in the fragment styles part), or theme.
2046
+ */
2047
+ declare function extractFragmentPackage(pkg: OoxmlPackage, coverage: FragmentCoverage, options?: {
2048
+ /** Copy-side degrade tier 1: leave media behind; their drawings degrade away. */
2049
+ readonly omitMedia?: boolean;
2050
+ }): FragmentExtractResult;
2051
+
2052
+ type FragmentMergeRejection = 'no-fragment-document' | 'no-target-part' | 'merge-refused';
2053
+ type FragmentMergeResult = {
2054
+ readonly ok: true;
2055
+ readonly pkg: OoxmlPackage;
2056
+ /** The fragment blocks, rewritten to target identifiers, ready for `insertFragment`. */
2057
+ readonly blocks: readonly OoxmlNode[];
2058
+ } | {
2059
+ readonly ok: false;
2060
+ readonly reason: FragmentMergeRejection;
2061
+ };
2062
+ /**
2063
+ * Merge a fragment package's resources into `target` and rewrite the fragment blocks to
2064
+ * the target's identifiers. Pure: returns a new package; the caller commits it through
2065
+ * `ctx.applyPackage` beside the `insertFragment` op.
2066
+ */
2067
+ declare function mergeFragmentIntoPackage(target: OoxmlPackage, fragment: OoxmlPackage, ownerPartName: string): FragmentMergeResult;
2068
+
1991
2069
  /** Where a comment is anchored, in the model offset space of one story. */
1992
2070
  interface CommentAnchorRequest {
1993
2071
  readonly paragraphId: string;
@@ -2087,6 +2165,26 @@ declare function commentPartNameOf(pkg: OoxmlPackage, storyPartName: string): st
2087
2165
  */
2088
2166
  declare function commentsExtendedPartNameOf(pkg: OoxmlPackage, storyPartName: string): string;
2089
2167
 
2168
+ /**
2169
+ * Which revision halves the reader is looking at.
2170
+ *
2171
+ * Structurally identical to layout's `RevisionDisplayMode`, and pinned equal to it by
2172
+ * `packages/core/src/layout/__tests__/revision-display-mode-parity.test.ts`. Redeclared
2173
+ * rather than imported because the `store` lane may import no other lane (see
2174
+ * `packages/core/src/__tests__/core-lane-graph.ts`), and the formatting walks live here so
2175
+ * that the automation lane — which has no layout at all — reaches them.
2176
+ */
2177
+ type FormattingDisplayMode = 'all-markup' | 'proposed' | 'original';
2178
+ /**
2179
+ * What the formatting lanes assume when nobody names a view.
2180
+ *
2181
+ * The RESOLVED result — Word's "No Markup" — because a caller with no view is a caller with
2182
+ * no reader: a headless automation host answers for the text that survives. It is not what a
2183
+ * mounted surface uses; that one names its own mode, and with the review module registered
2184
+ * the layout default is `all-markup`.
2185
+ */
2186
+ declare const DEFAULT_FORMATTING_DISPLAY_MODE: FormattingDisplayMode;
2187
+
2090
2188
  /** The D8 paragraph op vocabulary. */
2091
2189
  declare const AUTHORABLE_PARAGRAPH_PROPERTIES: ReadonlySet<string>;
2092
2190
  /** The D8 run op vocabulary, for `w:rPr` on a run and on the paragraph mark alike. */
@@ -2204,14 +2302,32 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
2204
2302
  * offset rather than by id because these edits apply in sequence and the applier splits runs at
2205
2303
  * the range edges; offsets are unmoved by a property write, ids are not.
2206
2304
  */
2207
- declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[]): readonly RunPropertyEdit[];
2305
+ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode): readonly RunPropertyEdit[];
2306
+ /**
2307
+ * The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
2308
+ *
2309
+ * For the one write that does NOT split per run: the eraser states `properties: []` over a
2310
+ * whole range, and a single op there is right — clearing is the one change that legitimately
2311
+ * homogenises what it covers, since there is no bag to carry forward. But the applier derives
2312
+ * its run set from `segmentsOf`, which knows nothing about display modes, so one op over the
2313
+ * whole range reached hidden revision halves at the same offsets: erasing a visible selection
2314
+ * cleared a tracked deletion's `w:rPr` and — in suggesting mode — raised a review card for a
2315
+ * change nobody could see made.
2316
+ *
2317
+ * Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
2318
+ * two visible runs, so the ranges either side of it never coalesce across it.
2319
+ */
2320
+ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly {
2321
+ readonly start: number;
2322
+ readonly end: number;
2323
+ }[];
2208
2324
  /**
2209
2325
  * Every run that contributes at least one character of `[start, end)`, in document order.
2210
2326
  *
2211
2327
  * A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
2212
2328
  * want the empty answer for a collapsed range check the offsets themselves.
2213
2329
  */
2214
- declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number): readonly OoxmlNode[];
2330
+ declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly OoxmlNode[];
2215
2331
 
2216
2332
  /** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
2217
2333
  interface SiteLocation {
@@ -2307,4 +2423,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
2307
2423
  /** Whether an op is one of the drawing ops. Narrows the type. */
2308
2424
  declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
2309
2425
 
2310
- export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, type AddCommentRequest, type AddCommentResult, type AnchorSnapshot, type AtomicFieldSpan, type AuditPort, type AuthorizationPort, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, type CancellationPhase, type CancellationPort, type CancellationToken, type CapabilityId, type ClockPort, type CommentAnchorRequest, type CommentDeletionOwner, type ComparatorDescriptor, type ComparatorMode, type ComparatorName, type ComparisonResult, type ConformanceFixture, type ContentItem, type Contribution, type CustomNodeBinding, type CustomNodeExportPolicy, type CustomNodeExportRequest, type CustomNodeExportResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, type Json, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, type LimitSpec, type LimitUnit, MAX_STORY_SDT_NESTING, type ModelChangeSummary, NON_CANONICAL_ORIGINS, ORIGIN_IDS, type OffsetSpan, OoxmlAttribute, type OoxmlEditResult, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, type OoxmlIndexes, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, type OoxmlStoryKind, type OoxmlStoryRoot, type OperationContext, type OperationInit, PAGE_BREAK_CHAR, type PackageInvariantCode, type PackageInvariantIssue, type PackageInvariantResult, type ParagraphDigest, type ParagraphIndexEntry, type ParagraphOffsetIndex, type PersistencePort, type Points, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, type RegistryErrorCode, RelationshipRecord, type ReplacementPolicy, type ReplayOutcome, type ReplayReport, type ReplayStore, type Reservation, type ResolveOptions, type ResolvedRegistry, type ResourceAccountingPort, ResourceLimits, type RunPropertyEdit, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, type SchedulingPort, type ScrubResult, type Segment, type SemVer, type SemanticDigest, SequentialIdentity, type SetCommentResolvedResult, type ShapingPort, type StoryDigest, type StoryIndexEntry, type StyleIndexEntry, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TWIPS_PER_POINT, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, type Twips, type ValidationResult, addComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authorableHyperlinkTarget, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectRevisionSites, collectStoryParagraphs, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2426
+ export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, type AddCommentRequest, type AddCommentResult, type AnchorSnapshot, type AtomicFieldSpan, type AuditPort, type AuthorizationPort, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, type CancellationPhase, type CancellationPort, type CancellationToken, type CapabilityId, type ClockPort, type CommentAnchorRequest, type CommentDeletionOwner, type ComparatorDescriptor, type ComparatorMode, type ComparatorName, type ComparisonResult, type ConformanceFixture, type ContentItem, type Contribution, type CustomNodeBinding, type CustomNodeExportPolicy, type CustomNodeExportRequest, type CustomNodeExportResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, type Json, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, type LimitSpec, type LimitUnit, MAX_STORY_SDT_NESTING, type ModelChangeSummary, NON_CANONICAL_ORIGINS, ORIGIN_IDS, type OffsetSpan, OoxmlAttribute, type OoxmlEditResult, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, type OoxmlIndexes, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, type OoxmlStoryKind, type OoxmlStoryRoot, type OperationContext, type OperationInit, PAGE_BREAK_CHAR, type PackageInvariantCode, type PackageInvariantIssue, type PackageInvariantResult, type ParagraphDigest, type ParagraphIndexEntry, type ParagraphOffsetIndex, type PersistencePort, type Points, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, type RegistryErrorCode, RelationshipRecord, type ReplacementPolicy, type ReplayOutcome, type ReplayReport, type ReplayStore, type Reservation, type ResolveOptions, type ResolvedRegistry, type ResourceAccountingPort, ResourceLimits, type RunPropertyEdit, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, type SchedulingPort, type ScrubResult, type Segment, type SemVer, type SemanticDigest, SequentialIdentity, type SetCommentResolvedResult, type ShapingPort, type StoryDigest, type StoryIndexEntry, type StyleIndexEntry, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TWIPS_PER_POINT, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, type Twips, type ValidationResult, addComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authorableHyperlinkTarget, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectRevisionSites, collectStoryParagraphs, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
package/dist/store.js CHANGED
@@ -1 +1 @@
1
- export{j as Budget,i as BudgetError,z as COMPARATORS,l as CancellationController,k as CancellationError,P as DEFAULT_VIEW_SETTINGS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,N as NO_TRACKING_SETTINGS,n as PortRegistry,m as PortResolutionError,g as RegistryError,p as SequentialIdentity,w as assertLimitInvariants,c as assertValidId,q as beginOperation,x as canonicalize,A as compareArtifacts,e as compareSemVer,F as deobfuscateFont,K as diffSemanticDigests,I as digestPart,r as endOperation,L as ensureListDefinition,M as ensureNumberingLevel,B as fingerprint,E as hashAuthored,b as isValidId,u as makeLimitCounter,d as parseSemVer,G as readEmbeddedFonts,O as readTrackingSettings,Q as readViewSettings,D as replayFixture,h as resolve,H as resolveTocRowHeadings,f as satisfies,J as semanticDigest,y as stableHash,C as validateFixture,T as withExportedCustomNodes}from'./chunk-DIMEYVNS.js';export{he as ACCEPTED_PARAGRAPH_PROPERTIES,ge as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,gg as AUTHORABLE_PARAGRAPH_PROPERTIES,hg as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,oe as CONTENT_CONTROL_ID_MAX,Ge as CONTENT_CONTROL_PROPERTY_ORDER,nf as CUSTOM_NODE_XPATH_PREFIX,_e as CUSTOM_XML_PROPS_REL,$e as CUSTOM_XML_PROPS_TYPE,Ze as CUSTOM_XML_REL,G as DANGEROUS_KEYS,af as DATASTORE_NAMESPACE_URI,Ed as DEFAULT_ENDNOTE_PROPERTIES,Dd as DEFAULT_FOOTNOTE_PROPERTIES,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,Qf as DEFAULT_MAX_EDITABLE_STORY_PARTS,Bb as DEFAULT_OMML_LIMITS,nb as DEFAULT_OOXML_PACKAGE_LIMITS,Ca as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Zb as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Ga as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Na as IMAGE_WRAP_TARGETS,Q as INERT_EXECUTABLE_KINDS,o as LimitExceededError,ne as MAX_CONTENT_CONTROLS_PER_PART,me as MAX_CONTENT_CONTROL_NESTING,ag as MAX_CUSTOM_NODE_LABEL_LENGTH,$f as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,zd as MAX_NOTES_PER_PART,Yd as MAX_NOTE_REFERENCE_PARTS,Xd as MAX_NOTE_REFERENCE_SCAN,Je as MAX_STORY_SDT_NESTING,_a as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,ad as NOTE_ATOM_CHAR,ed as NOTE_CONTINUATION_SEPARATOR_ID,cd as NOTE_ID_MAX,bd as NOTE_ID_MIN,dd as NOTE_SEPARATOR_ID,Ab as OFFICE_MATH_NAMESPACE_URI,Fa as OFFICE_RELATIONSHIP_NAMESPACE_URI,qa as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Ub as PAGE_BREAK_CHAR,aa as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Mg as SEARCH_MATCH_LIMIT,Lg as SEARCH_QUERY_MAX,yf as TABLE_BORDER_STYLES,Fc as TOC_LEVEL_INDENT_TWIPS,tc as TOC_MAX_BOOKMARKS_PER_REFRESH,sc as TOC_MAX_ENTRIES,uc as TOC_MAX_FIELD_NESTING,rc as TOC_MAX_INSTRUCTION_CHARS,vc as TOC_MAX_PAGE_PASSES,ie as TREE_DOC_OP_KINDS,Ac as TWIPS_PER_POINT,Pf as TreeDocumentStore,Rf as TreePackageStore,Qe as W15_NAMESPACE_URI,ca as WML_NAMESPACE_URI,ea as XMLNS_NAMESPACE_URI,da as XML_NAMESPACE_URI,Wf as addComment,Ie as allocateContentControlId,jb as allocateDrawingPropertyId,Ad as allocateNoteId,Ba as applyEdits,$c as applyHeaderFooterLifecycleOp,ke as applyNoteLifecycleOp,Nf as applyTreeOp,t as asciiFold,$ as assertValidQName,pc as atomicFieldSpansOf,yd as atomicNoteSpansOf,Xc as authorableHyperlinkTarget,Kd as authoredDocumentEndnoteProperties,Jd as authoredDocumentFootnoteProperties,Hd as authoredEndnotePropertiesFromSectPr,Gd as authoredFootnotePropertiesFromSectPr,kg as authoredProperties,Me as bodyStoryRoot,Lc as bookmarkPairNodes,rf as boundCustomXmlNodeIdOf,pf as boundCustomXmlNodeIds,qf as boundCustomXmlNodeIdsInPackage,zc as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,Ic as buildTocContentControl,Hc as buildTocEntryParagraph,na as canonicalOoxmlFingerprint,le as cascadeDeletedNoteReferences,Ye as cascadeEmptiedComments,X as childElements,Lb as collectFlowBlocks,sa as collectNodeIds,$d as collectNoteReferences,ae as collectPackageNoteReferences,Hg as collectReviewItems,sf as collectRevisionSites,Pb as collectSectionPropertyNodes,Oe as collectStoryParagraphs,Re as commentAnchorsOfStory,Dg as commentBodyText,Eg as commentInitials,Gg as commentItemsOf,Zf as commentPartNameOf,_f as commentsExtendedPartNameOf,Se as commentsOfPart,P as containsCssFetch,se as contentControlContentChildren,we as contentControlContentNodeOf,Jb as contentControlContentOf,ve as contentControlEndPropertiesNodeOf,ze as contentControlLevelOf,ue as contentControlPropertiesNodeOf,ye as contentControlPropertiesOf,Ce as contentControlTextOf,Ae as contentControlsIn,rb as contentTypesPartBytes,ib as createImageResourceCache,ta as createNodeIdAllocator,Zd as createNoteReferenceScanBudget,vd as customMarkFollows,of as customNodeBinding,eg as customNodePayloadsByControl,fg as customNodePayloadsOf,cf as customXmlDataParts,lf as customXmlLabelXPath,gf as customXmlNodes,mf as customXmlPrefixMappings,bf as datastoreItemIdFor,Kg as deepParagraphOrderOfPart,Ve as deleteCommentThread,Oc as deriveOoxmlIndexes,xc as detectBodyTocs,v as detectDuplicateNames,be as diagnoseNoteReferences,mg as directParagraphMarkProperties,lg as directParagraphProperties,Hf as drawingOpImpact,Yc as ensureHyperlinkRelationship,Eb as equationExpressionToLinearMath,O as escapeCssString,M as escapeXml,z as extensionKey,jc as fieldAtomText,ic as fieldOnOffAttribute,Be as findContentControl,df as findCustomXmlDataPart,yc as findDetectedToc,W as findElement,va as findNode,Cd as findNoteById,Qg as findOccurrences,yg as firstReviewRange,te as flattenContentControls,_b as fldCharType,hc as fldSimpleInstr,Rc as fnv1a32,Ng as foldCase,gd as formatNoteScopeId,qg as formatOwnedRunIds,Yb as hardBreakAttributes,Vb as hardBreakKind,Xb as hardBreakText,Ue as hasAnyComment,$a as hasBoundedSvgRoot,Yf as hasCommentPart,lc as hasLegacyFormFieldData,ua as hasNode,Ia as hyperlinkAnchorOf,Ja as hyperlinkRelationshipIdOf,Ka as hyperlinkTargetOf,hb as imageResourceLookupFor,Mc as indexStyles,Vd as inlineControlEndingAt,Wd as inlineControlStartingAt,ya as insertChildren,bg as insertCustomNodeWrite,gc as instrTextValue,ig as isAuthorableRunProperty,Hb as isContentControl,Ib as isContentControlContent,qe as isContentControlContentNode,pe as isContentControlNode,re as isContentControlWrapper,ha as isContentRevisionKind,od as isContinuationSeparatorNode,I as isDangerousKey,Kf as isDrawingTreeDocOp,jd as isEndnotesNode,S as isEvaluableField,kc as isFieldChrome,cc as isFldChar,$b as isFldCharNode,fc as isFldSimple,bc as isFldSimpleNode,id as isFootnotesNode,_c as isHeaderFooterLifecycleOp,Ha as isHyperlinkNode,R as isInertExecutable,dc as isInstrText,ac as isInstrTextNode,Nd as isLegalEndnotePosition,qc as isLegalFldCharType,Od as isLegalFootnotePosition,Pd as isLegalNumRestart,sd as isNormalNote,xd as isNoteAtomNode,je as isNoteLifecycleOp,kd as isNoteNode,md as isNoteRefNode,ld as isNoteReferenceNode,Wb as isPageBreakNode,ia as isRangeMarkerKind,Pg as isSearchableQuery,nd as isSeparatorNode,Le as isStoryPart,y as isValidMime,Z as isValidNCName,Pc as isValidParaId,_ as isValidQName,Og as isWholeWord,Fb as linearMathToOmml,Ig as linkRevisionReplies,gb as liveDrawingReferenceCount,vg as locateSites,Ee as lockForbidsEdit,Fe as lockForbidsRemoval,og as mergedFontProperty,rg as mergedMultiSettingProperty,sg as mergedParagraphMarkProperties,ng as mergedProperties,Sc as mintParaId,Vc as mintedParagraphIdentityAttributes,de as normalNoteIds,Wc as normalizeParagraphIdentity,r as normalizePartName,wd as noteAtomText,qd as noteIdOf,pd as noteKindOf,ud as noteRefKindOf,td as noteReferenceKindOf,rd as noteTypeOf,Bd as notesOf,ce as notesPartHasId,J as nullRecord,oa as ooxmlTreesEqual,He as orderedContentControlProperties,Qc as paraIdOf,Ud as paragraphOffsetIndex,Jg as paragraphOrderOfPart,Of as paragraphTextOf,wa as parentNodeOf,Fd as parseAuthoredNoteProperties,xe as parseContentControlId,Db as parseLinearMath,fd as parseNoteId,hd as parseNoteScopeId,wc as parseTocInstruction,u as partNameKey,Kc as planTocEntries,Cc as points,Ec as pointsToTwips,Ua as projectDrawing,Cb as projectOmmlEquation,jg as propertyContainer,hf as readCustomXmlNode,ja as readOnOffChild,ob as readOoxmlPackage,ra as readOoxmlPart,V as readXml,Da as readZip,Zc as relationshipTargetIn,sb as relationshipsOf,ub as relsPartNameFor,cg as removeCustomNodeWrite,Aa as removeNode,xa as replaceChildren,za as replaceNode,De as resolveContentControlLock,B as resolveContentType,tb as resolveContentTypeOf,Md as resolveEndnoteProperties,Ld as resolveFootnoteProperties,Tb as resolveHeaderFooterParts,Sb as resolveHeaderFooterPartsBySection,Rb as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,_d as resolveNotesPart,E as resolveRelationship,wg as reviewItemKey,xg as reviewItemRanges,Fg as revisionItemsOf,pg as runAddressRanges,tg as runPropertyEdits,ug as runsCovering,L as sanitizeHref,T as scrubExport,Td as segmentsOf,ka as serializeOoxmlPart,Xf as setCommentResolved,Id as settingsPartOf,ab as sniffImageMime,Ne as storyParagraphs,Ke as storyRootsOf,Nc as stylesPartOf,dg as sweepCustomNodePayloads,Y as textContent,Te as threadStateOfPart,K as toSafeRecord,Jc as tocEntryText,Gc as tocLeftIndentTwips,Bc as twips,Dc as twipsToPoints,Tc as usedParaIds,If as validateDrawingOp,x as validateExternalTarget,cb as validateGifHeader,db as validateJpegHeader,pa as validateOoxmlPart,zb as validatePackageInvariants,bb as validatePngHeader,fb as validateRasterHeader,Lf as validateTreeOp,Uc as w14RootPrefix,Nb as walkAllStoryParagraphs,Ob as walkParagraphInline,Mb as walkStoryBlocks,kb as withBinaryPart,vb as withContentTypeOverride,ef as withCustomXmlDataPart,if as withCustomXmlNode,lb as withEmbeddedImage,yb as withNewPart,qb as withPart,xb as withRelationship,ff as withoutCustomXmlDataPart,jf as withoutCustomXmlNode,kf as withoutOrphanCustomXmlNodes,mb as withoutUnreferencedImagePart,Jf as wrapTargetToAnchorSpec,pb as writeOoxmlPackage,Ea as writeZip}from'./chunk-CKDAK3MV.js';
1
+ export{j as Budget,i as BudgetError,z as COMPARATORS,l as CancellationController,k as CancellationError,P as DEFAULT_VIEW_SETTINGS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,N as NO_TRACKING_SETTINGS,n as PortRegistry,m as PortResolutionError,g as RegistryError,p as SequentialIdentity,w as assertLimitInvariants,c as assertValidId,q as beginOperation,x as canonicalize,A as compareArtifacts,e as compareSemVer,F as deobfuscateFont,K as diffSemanticDigests,I as digestPart,r as endOperation,L as ensureListDefinition,M as ensureNumberingLevel,U as extractFragmentPackage,B as fingerprint,E as hashAuthored,b as isValidId,u as makeLimitCounter,d as parseSemVer,G as readEmbeddedFonts,O as readTrackingSettings,Q as readViewSettings,D as replayFixture,h as resolve,H as resolveTocRowHeadings,f as satisfies,J as semanticDigest,y as stableHash,C as validateFixture,T as withExportedCustomNodes}from'./chunk-LG5K46OM.js';export{pe as ACCEPTED_PARAGRAPH_PROPERTIES,oe as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,zg as AUTHORABLE_PARAGRAPH_PROPERTIES,Ag as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,we as CONTENT_CONTROL_ID_MAX,Oe as CONTENT_CONTROL_PROPERTY_ORDER,vf as CUSTOM_NODE_XPATH_PREFIX,gf as CUSTOM_XML_PROPS_REL,hf as CUSTOM_XML_PROPS_TYPE,ff as CUSTOM_XML_REL,G as DANGEROUS_KEYS,if as DATASTORE_NAMESPACE_URI,Id as DEFAULT_ENDNOTE_PROPERTIES,Hd as DEFAULT_FOOTNOTE_PROPERTIES,wg as DEFAULT_FORMATTING_DISPLAY_MODE,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,eg as DEFAULT_MAX_EDITABLE_STORY_PARTS,Fb as DEFAULT_OMML_LIMITS,rb as DEFAULT_OOXML_PACKAGE_LIMITS,Ga as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,bc as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Ka as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Ra as IMAGE_WRAP_TARGETS,R as INERT_EXECUTABLE_KINDS,o as LimitExceededError,ve as MAX_CONTENT_CONTROLS_PER_PART,ue as MAX_CONTENT_CONTROL_NESTING,qg as MAX_CUSTOM_NODE_LABEL_LENGTH,pg as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,bg as MAX_FRAGMENT_DECODED_BYTES,Dd as MAX_NOTES_PER_PART,ee as MAX_NOTE_REFERENCE_PARTS,de as MAX_NOTE_REFERENCE_SCAN,Re as MAX_STORY_SDT_NESTING,cb as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,ed as NOTE_ATOM_CHAR,id as NOTE_CONTINUATION_SEPARATOR_ID,gd as NOTE_ID_MAX,fd as NOTE_ID_MIN,hd as NOTE_SEPARATOR_ID,Eb as OFFICE_MATH_NAMESPACE_URI,Ja as OFFICE_RELATIONSHIP_NAMESPACE_URI,ta as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Yb as PAGE_BREAK_CHAR,ba as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,eh as SEARCH_MATCH_LIMIT,dh as SEARCH_QUERY_MAX,Hf as TABLE_BORDER_STYLES,Jc as TOC_LEVEL_INDENT_TWIPS,xc as TOC_MAX_BOOKMARKS_PER_REFRESH,wc as TOC_MAX_ENTRIES,yc as TOC_MAX_FIELD_NESTING,vc as TOC_MAX_INSTRUCTION_CHARS,zc as TOC_MAX_PAGE_PASSES,qe as TREE_DOC_OP_KINDS,Ec as TWIPS_PER_POINT,dg as TreeDocumentStore,fg as TreePackageStore,Ye as W15_NAMESPACE_URI,da as WML_NAMESPACE_URI,fa as XMLNS_NAMESPACE_URI,ea as XML_NAMESPACE_URI,kg as addComment,Qe as allocateContentControlId,nb as allocateDrawingPropertyId,Ed as allocateNoteId,Ea as applyEdits,cg as applyFragmentPaste,dd as applyHeaderFooterLifecycleOp,se as applyNoteLifecycleOp,Zf as applyTreeOp,t as asciiFold,aa as assertValidQName,tc as atomicFieldSpansOf,Cd as atomicNoteSpansOf,$c as authorableHyperlinkTarget,Od as authoredDocumentEndnoteProperties,Nd as authoredDocumentFootnoteProperties,Ld as authoredEndnotePropertiesFromSectPr,Kd as authoredFootnotePropertiesFromSectPr,Dg as authoredProperties,Ue as bodyStoryRoot,Pc as bookmarkPairNodes,zf as boundCustomXmlNodeIdOf,xf as boundCustomXmlNodeIds,yf as boundCustomXmlNodeIdsInPackage,Dc as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,Mc as buildTocContentControl,Lc as buildTocEntryParagraph,qa as canonicalOoxmlFingerprint,te as cascadeDeletedNoteReferences,ef as cascadeEmptiedComments,Y as childElements,Pb as collectFlowBlocks,va as collectNodeIds,he as collectNoteReferences,ie as collectPackageNoteReferences,$g as collectReviewItems,Bf as collectRevisionSites,Tb as collectSectionPropertyNodes,We as collectStoryParagraphs,Ze as commentAnchorsOfStory,Xg as commentBodyText,Yg as commentInitials,_g as commentItemsOf,ng as commentPartNameOf,og as commentsExtendedPartNameOf,_e as commentsOfPart,Q as containsCssFetch,Ae as contentControlContentChildren,Ee as contentControlContentNodeOf,Nb as contentControlContentOf,De as contentControlEndPropertiesNodeOf,He as contentControlLevelOf,Ce as contentControlPropertiesNodeOf,Ge as contentControlPropertiesOf,Ke as contentControlTextOf,Ie as contentControlsIn,vb as contentTypesPartBytes,mb as createImageResourceCache,wa as createNodeIdAllocator,fe as createNoteReferenceScanBudget,zd as customMarkFollows,wf as customNodeBinding,ug as customNodePayloadsByControl,vg as customNodePayloadsOf,kf as customXmlDataParts,tf as customXmlLabelXPath,of as customXmlNodes,uf as customXmlPrefixMappings,jf as datastoreItemIdFor,ch as deepParagraphOrderOfPart,bf as deleteCommentThread,Sc as deriveOoxmlIndexes,Bc as detectBodyTocs,v as detectDuplicateNames,je as diagnoseNoteReferences,Fg as directParagraphMarkProperties,Eg as directParagraphProperties,Uf as drawingOpImpact,ad as ensureHyperlinkRelationship,Ib as equationExpressionToLinearMath,P as escapeCssString,M as escapeXml,z as extensionKey,nc as fieldAtomText,mc as fieldOnOffAttribute,Je as findContentControl,lf as findCustomXmlDataPart,Cc as findDetectedToc,X as findElement,ya as findNode,Gd as findNoteById,ih as findOccurrences,Sg as firstReviewRange,Be as flattenContentControls,cc as fldCharType,lc as fldSimpleInstr,Vc as fnv1a32,fh as foldCase,kd as formatNoteScopeId,Jg as formatOwnedRunIds,Ng as formattableRanges,ac as hardBreakAttributes,Zb as hardBreakKind,$b as hardBreakText,af as hasAnyComment,db as hasBoundedSvgRoot,mg as hasCommentPart,pc as hasLegacyFormFieldData,xa as hasNode,Ma as hyperlinkAnchorOf,Na as hyperlinkRelationshipIdOf,Oa as hyperlinkTargetOf,lb as imageResourceLookupFor,Qc as indexStyles,be as inlineControlEndingAt,ce as inlineControlStartingAt,Ba as insertChildren,rg as insertCustomNodeWrite,kc as instrTextValue,Bg as isAuthorableRunProperty,Lb as isContentControl,Mb as isContentControlContent,ye as isContentControlContentNode,xe as isContentControlNode,ze as isContentControlWrapper,ka as isContentRevisionKind,sd as isContinuationSeparatorNode,I as isDangerousKey,Xf as isDrawingTreeDocOp,nd as isEndnotesNode,T as isEvaluableField,oc as isFieldChrome,gc as isFldChar,dc as isFldCharNode,jc as isFldSimple,fc as isFldSimpleNode,md as isFootnotesNode,cd as isHeaderFooterLifecycleOp,La as isHyperlinkNode,S as isInertExecutable,hc as isInstrText,ec as isInstrTextNode,Rd as isLegalEndnotePosition,uc as isLegalFldCharType,Sd as isLegalFootnotePosition,Td as isLegalNumRestart,wd as isNormalNote,Bd as isNoteAtomNode,re as isNoteLifecycleOp,od as isNoteNode,qd as isNoteRefNode,pd as isNoteReferenceNode,_b as isPageBreakNode,la as isRangeMarkerKind,hh as isSearchableQuery,rd as isSeparatorNode,Te as isStoryPart,y as isValidMime,_ as isValidNCName,Tc as isValidParaId,$ as isValidQName,gh as isWholeWord,Jb as linearMathToOmml,ah as linkRevisionReplies,kb as liveDrawingReferenceCount,Pg as locateSites,Me as lockForbidsEdit,Ne as lockForbidsRemoval,ag as mergeFragmentIntoPackage,Hg as mergedFontProperty,Kg as mergedMultiSettingProperty,Lg as mergedParagraphMarkProperties,Gg as mergedProperties,Wc as mintParaId,Zc as mintedParagraphIdentityAttributes,le as normalNoteIds,_c as normalizeParagraphIdentity,r as normalizePartName,Ad as noteAtomText,ud as noteIdOf,td as noteKindOf,yd as noteRefKindOf,xd as noteReferenceKindOf,vd as noteTypeOf,Fd as notesOf,ke as notesPartHasId,J as nullRecord,ra as ooxmlTreesEqual,Pe as orderedContentControlProperties,Uc as paraIdOf,$d as paragraphOffsetIndex,bh as paragraphOrderOfPart,_f as paragraphTextOf,za as parentNodeOf,Jd as parseAuthoredNoteProperties,Fe as parseContentControlId,Hb as parseLinearMath,jd as parseNoteId,ld as parseNoteScopeId,Ac as parseTocInstruction,u as partNameKey,Oc as planTocEntries,Gc as points,Ic as pointsToTwips,Ya as projectDrawing,Gb as projectOmmlEquation,Cg as propertyContainer,pf as readCustomXmlNode,ma as readOnOffChild,sb as readOoxmlPackage,ua as readOoxmlPart,W as readXml,Ha as readZip,bd as relationshipTargetIn,wb as relationshipsOf,yb as relsPartNameFor,sg as removeCustomNodeWrite,Da as removeNode,Aa as replaceChildren,Ca as replaceNode,Le as resolveContentControlLock,B as resolveContentType,xb as resolveContentTypeOf,Qd as resolveEndnoteProperties,Pd as resolveFootnoteProperties,Xb as resolveHeaderFooterParts,Wb as resolveHeaderFooterPartsBySection,Vb as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,ge as resolveNotesPart,E as resolveRelationship,Qg as reviewItemKey,Rg as reviewItemRanges,Zg as revisionItemsOf,Ig as runAddressRanges,Mg as runPropertyEdits,Og as runsCovering,L as sanitizeHref,U as scrubExport,_d as segmentsOf,na as serializeOoxmlPart,lg as setCommentResolved,Md as settingsPartOf,eb as sniffImageMime,Ve as storyParagraphs,Se as storyRootsOf,Rc as stylesPartOf,tg as sweepCustomNodePayloads,Z as textContent,$e as threadStateOfPart,K as toSafeRecord,Nc as tocEntryText,Kc as tocLeftIndentTwips,Fc as twips,Hc as twipsToPoints,Xc as usedParaIds,Vf as validateDrawingOp,x as validateExternalTarget,gb as validateGifHeader,hb as validateJpegHeader,sa as validateOoxmlPart,Db as validatePackageInvariants,fb as validatePngHeader,jb as validateRasterHeader,$f as validateTreeOp,Yc as w14RootPrefix,Rb as walkAllStoryParagraphs,Sb as walkParagraphInline,Qb as walkStoryBlocks,ob as withBinaryPart,zb as withContentTypeOverride,mf as withCustomXmlDataPart,qf as withCustomXmlNode,pb as withEmbeddedImage,Cb as withNewPart,ub as withPart,Bb as withRelationship,nf as withoutCustomXmlDataPart,rf as withoutCustomXmlNode,sf as withoutOrphanCustomXmlNodes,qb as withoutUnreferencedImagePart,Wf as wrapTargetToAnchorSpec,tb as writeOoxmlPackage,Ia as writeZip}from'./chunk-N7DBENH4.js';
@@ -0,0 +1,24 @@
1
+ /**
2
+ * How a tracked change is addressed: `@w:id`, `@w:author` and `@w:date` together, within a
3
+ * part.
4
+ *
5
+ * All of them, always. `@w:id` is unique only within a part, so an id alone names two
6
+ * revisions in any package with a header or a comments part — and it is not author-scoped
7
+ * either, so `(part, id)` would merge two authors' distinct revisions. One logical revision is
8
+ * also deliberately many elements sharing an id, as a tracked row insertion is, which no
9
+ * uniqueness rule could express.
10
+ */
11
+ interface RevisionAddress {
12
+ readonly id: string;
13
+ readonly author: string;
14
+ /** Absent when the file wrote no `@w:date`; part of the identity either way. */
15
+ readonly date?: string;
16
+ }
17
+ /** The author and timestamp a tracked edit is recorded under. */
18
+ interface RevisionAttributionInput {
19
+ readonly author: string;
20
+ /** ISO-8601. Omitted writes no `@w:date`. */
21
+ readonly date?: string;
22
+ }
23
+
24
+ export type { RevisionAddress as R, RevisionAttributionInput as a };
@@ -0,0 +1,24 @@
1
+ /**
2
+ * How a tracked change is addressed: `@w:id`, `@w:author` and `@w:date` together, within a
3
+ * part.
4
+ *
5
+ * All of them, always. `@w:id` is unique only within a part, so an id alone names two
6
+ * revisions in any package with a header or a comments part — and it is not author-scoped
7
+ * either, so `(part, id)` would merge two authors' distinct revisions. One logical revision is
8
+ * also deliberately many elements sharing an id, as a tracked row insertion is, which no
9
+ * uniqueness rule could express.
10
+ */
11
+ interface RevisionAddress {
12
+ readonly id: string;
13
+ readonly author: string;
14
+ /** Absent when the file wrote no `@w:date`; part of the identity either way. */
15
+ readonly date?: string;
16
+ }
17
+ /** The author and timestamp a tracked edit is recorded under. */
18
+ interface RevisionAttributionInput {
19
+ readonly author: string;
20
+ /** ISO-8601. Omitted writes no `@w:date`. */
21
+ readonly date?: string;
22
+ }
23
+
24
+ export type { RevisionAddress as R, RevisionAttributionInput as a };