@docx-editor.dev/core 2.24.0 → 2.26.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 (109) hide show
  1. package/README.md +9 -3
  2. package/dist/automation.cjs +1 -1
  3. package/dist/automation.d.ts +46 -16
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.ts +8 -8
  7. package/dist/binding.js +1 -1
  8. package/dist/chunk-2BK4G4ZN.js +2 -0
  9. package/dist/chunk-2SJX44PC.cjs +2 -0
  10. package/dist/chunk-5BIASAN3.js +1 -0
  11. package/dist/{chunk-2LXGB2X7.js → chunk-6SEIXJTX.js} +1 -1
  12. package/dist/chunk-73PG6L2X.js +1 -0
  13. package/dist/chunk-7RJSH72J.cjs +5 -0
  14. package/dist/chunk-AGKIHLWQ.cjs +1 -0
  15. package/dist/chunk-AN6WM4X4.js +2 -0
  16. package/dist/chunk-ANZ44KQT.cjs +12 -0
  17. package/dist/chunk-CYT3OQFZ.cjs +1 -0
  18. package/dist/chunk-DDGGSBAN.js +12 -0
  19. package/dist/chunk-EEAV3WIN.js +3 -0
  20. package/dist/{chunk-JDAAGZNE.cjs → chunk-ELQFXMJ5.cjs} +1 -1
  21. package/dist/chunk-EYK4K2J6.js +1 -0
  22. package/dist/chunk-JNTETUNZ.cjs +1 -0
  23. package/dist/chunk-L6V3IJ3S.js +5 -0
  24. package/dist/chunk-LWCI65EL.js +1 -0
  25. package/dist/chunk-LZDI4P6I.cjs +1 -0
  26. package/dist/chunk-NS22DVWT.cjs +2 -0
  27. package/dist/chunk-QIE3YTU4.cjs +2 -0
  28. package/dist/chunk-QVBFPAGO.js +5 -0
  29. package/dist/chunk-RCCOLZEQ.js +2 -0
  30. package/dist/chunk-SUN62YU6.cjs +5 -0
  31. package/dist/chunk-TKR2MXX4.cjs +3 -0
  32. package/dist/chunk-UJL2GDIM.cjs +25 -0
  33. package/dist/chunk-WQTADNHK.cjs +27 -0
  34. package/dist/chunk-XSHXBJ2J.js +25 -0
  35. package/dist/chunk-YXZEBTDF.js +27 -0
  36. package/dist/collaboration/replication.cjs +1 -1
  37. package/dist/collaboration/replication.d.ts +4 -4
  38. package/dist/collaboration/replication.js +1 -1
  39. package/dist/collaboration.d.ts +3 -3
  40. package/dist/contracts/document.d.ts +2 -2
  41. package/dist/contracts/editor.d.ts +8 -8
  42. package/dist/contracts/modules.d.ts +6 -6
  43. package/dist/contracts/types.d.ts +1 -1
  44. package/dist/{custom-node-writes-77rvPW2-.d.ts → custom-node-writes-Cy9imOjA.d.ts} +2 -2
  45. package/dist/{document-protection-CYIjO-li.d.ts → document-protection-Bp19Ad4I.d.ts} +1 -1
  46. package/dist/{editor-BU6rjQZz.d.ts → editor-DYUlyKmb.d.ts} +145 -9
  47. package/dist/editor.cjs +1 -1
  48. package/dist/editor.css +15 -1
  49. package/dist/editor.d.ts +179 -34
  50. package/dist/editor.js +1 -1
  51. package/dist/export.cjs +2 -2
  52. package/dist/export.d.ts +12 -12
  53. package/dist/export.js +2 -2
  54. package/dist/{font-resolver-CPO7wtg6.d.ts → font-resolver-u_nE0PI1.d.ts} +5 -3
  55. package/dist/{headless-document-view-Cc3fFWhv.d.ts → headless-document-view-R9bzzepb.d.ts} +2 -2
  56. package/dist/{image-resources-DkuzBnTM.d.ts → image-resources-DfagDguq.d.ts} +1 -1
  57. package/dist/{index-BOkQYOsZ.d.ts → index-Docw8Dcb.d.ts} +333 -308
  58. package/dist/index.cjs +1 -1
  59. package/dist/index.d.ts +17 -17
  60. package/dist/index.js +1 -1
  61. package/dist/{layout-shaping-BOOxnLxF.d.ts → layout-shaping-DWitwY73.d.ts} +2 -2
  62. package/dist/layout.cjs +1 -1
  63. package/dist/layout.d.ts +99 -33
  64. package/dist/layout.js +1 -1
  65. package/dist/{note-properties-DMfKK3QU.d.ts → note-properties-CmfvOJsi.d.ts} +1 -1
  66. package/dist/{omml-equation-BY7OdfGY.d.ts → omml-equation-CZ6IG2ja.d.ts} +1 -1
  67. package/dist/output.cjs +1 -1
  68. package/dist/output.d.ts +7 -7
  69. package/dist/output.js +1 -1
  70. package/dist/{protocol-CPAakntQ.d.ts → protocol-DniKeDb8.d.ts} +71 -23
  71. package/dist/{review-paragraph-order-B0BP_wJP.d.ts → review-paragraph-order-Dc8Q6tfM.d.ts} +6 -2
  72. package/dist/{revision-projection-CVJeA2jp.d.ts → revision-projection-DfWxdBqA.d.ts} +1 -1
  73. package/dist/{semantic-cell-selection-BtO2s2Za.d.ts → semantic-cell-selection-Dy_BmmpL.d.ts} +25 -7
  74. package/dist/{semantic-interaction-COMnWyBQ.d.ts → semantic-interaction-CvFAj0GR.d.ts} +1 -1
  75. package/dist/{semantic-paint-C032N0ps.d.ts → semantic-paint-Bk9wIXdZ.d.ts} +2 -2
  76. package/dist/{semantic-records-BSjo-xck.d.ts → semantic-records-COqi8pjP.d.ts} +83 -76
  77. package/dist/store.cjs +1 -1
  78. package/dist/store.d.ts +90 -41
  79. package/dist/store.js +1 -1
  80. package/dist/{tree-package-fragment-BIyGh6L8.d.ts → tree-package-fragment-YPyYC1aD.d.ts} +9 -4
  81. package/dist/{tree-session-contract-CHcCnz3W.d.ts → tree-session-contract-AeY2v0x9.d.ts} +8 -6
  82. package/dist/{types-barrel-DN_-gaRX.d.ts → types-barrel-BO73JqHG.d.ts} +44 -30
  83. package/package.json +4 -4
  84. package/dist/chunk-3OMDEMLL.js +0 -1
  85. package/dist/chunk-6CPYOVRT.cjs +0 -1
  86. package/dist/chunk-AKF5KM2W.cjs +0 -4
  87. package/dist/chunk-BOGQGMMU.cjs +0 -1
  88. package/dist/chunk-CVNDMQIX.cjs +0 -26
  89. package/dist/chunk-DF7F7TNU.cjs +0 -1
  90. package/dist/chunk-G765WG4R.js +0 -1
  91. package/dist/chunk-IEXYOLNR.cjs +0 -5
  92. package/dist/chunk-J3EM5ZEA.js +0 -18
  93. package/dist/chunk-JNE6QF47.js +0 -26
  94. package/dist/chunk-JQTVFP72.cjs +0 -2
  95. package/dist/chunk-JXL25DRU.js +0 -11
  96. package/dist/chunk-KPSGB64S.js +0 -1
  97. package/dist/chunk-P4SBMHHO.cjs +0 -5
  98. package/dist/chunk-QQAF64KN.js +0 -5
  99. package/dist/chunk-SI5FLZGU.js +0 -4
  100. package/dist/chunk-SOUJNWXV.js +0 -1
  101. package/dist/chunk-T4TKRNZT.cjs +0 -11
  102. package/dist/chunk-TBFZZX7Z.cjs +0 -1
  103. package/dist/chunk-VPKKYCZI.cjs +0 -2
  104. package/dist/chunk-W3ZUPQIZ.cjs +0 -18
  105. package/dist/chunk-XMWH2R23.js +0 -5
  106. package/dist/chunk-XWXJB4J7.js +0 -1
  107. package/dist/chunk-YIBEBHT3.js +0 -2
  108. package/dist/chunk-ZSM6X52G.cjs +0 -1
  109. package/dist/chunk-ZXAGLAY2.js +0 -2
package/dist/store.d.ts CHANGED
@@ -1,16 +1,17 @@
1
- import { e as ResourceLimits } from './image-resources-DkuzBnTM.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, a as ImageDecodePort, I as ImageResourceLimits, h as ImageResourceLookup, b as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, 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-DkuzBnTM.js';
3
- import { O as OoxmlPart, N as OoxmlNode, aM as OoxmlInvariantResult, at as OoxmlParagraphNode, aN as OoxmlFldCharNode, aO as OoxmlFldSimpleNode, aP as OoxmlInstrTextNode, aQ as OoxmlInvariantIssue, a1 as OoxmlElement, W as TreeDocOp, a5 as TreeOpRejection, aR as TreeOpResult, Q as OoxmlPackage, aS as RelationshipRecord, aT as OoxmlHardBreakNode, aU as OoxmlAttribute, a0 as OoxmlProperty, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, aV as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, aB as DrawingTreeDocOp, aC as ImpactClass, aa as ImageWrapTarget } from './types-barrel-DN_-gaRX.js';
4
- export { aW as ACCEPTED_PARAGRAPH_PROPERTIES, aX as ACCEPTED_RUN_PROPERTIES, aY as CONTENT_CONTROL_ID_MAX, aZ as CONTENT_CONTROL_PROPERTY_ORDER, a_ as CommentAnchor, a$ as CommentPosition, b0 as CommitTextFormFieldOp, b1 as ContentControlCheckbox, b2 as ContentControlCheckboxState, b3 as ContentControlDataBinding, b4 as ContentControlDateFormat, b5 as ContentControlEntry, b6 as ContentControlKind, b7 as ContentControlLevel, b8 as ContentControlListItem, b9 as ContentControlLock, ba as ContentControlProperties, bb as ContentTypeError, bc as ContentTypeIndex, bd as ContentTypeRecords, be as DEFAULT_OOXML_PACKAGE_LIMITS, bf as DEFAULT_ZIP_LIMITS, bg as DefaultRecord, bh as DeleteTextOp, aI as DrawingImageEffects, a9 as DrawingKind, ac as DrawingLocks, ab as DrawingPositionInput, bi as HYPERLINK_RELATIONSHIP_TYPE, bj as HyperlinkKind, bk as HyperlinkTarget, bl as IMAGE_RELATIONSHIP_TYPE, aE as IMAGE_WRAP_TARGETS, bm as ImageRelationshipResolution, bn as IndexResult, bo as InsertBuildingBlockOp, bp as InsertTextOp, bq as LegacyCheckboxFieldRange, br as MAX_CONTENT_CONTROLS_PER_PART, bs as MAX_CONTENT_CONTROL_NESTING, bt as NameRejection, bu as NameResult, bv as OFFICE_RELATIONSHIP_NAMESPACE_URI, bw as OOXML_NODE_IDENTITY_RULES, bx as OoxmlBodyNode, by as OoxmlBookmarkEndNode, bz as OoxmlBookmarkStartNode, bA as OoxmlContentControlCalendarNode, bB as OoxmlContentControlCheckboxNode, bC as OoxmlContentControlCheckedNode, bD as OoxmlContentControlCheckedStateNode, bE as OoxmlContentControlComboBoxNode, a3 as OoxmlContentControlContentNode, bF as OoxmlContentControlDataBindingNode, bG as OoxmlContentControlDateFormatNode, bH as OoxmlContentControlDateNode, bI as OoxmlContentControlDropDownListNode, bJ as OoxmlContentControlEndPropertiesNode, bK as OoxmlContentControlLidNode, bL as OoxmlContentControlListItemNode, a2 as OoxmlContentControlNode, bM as OoxmlContentControlPropertiesNode, bN as OoxmlContentControlStoreMappedDataAsNode, bO as OoxmlContentControlTextNode, bP as OoxmlContentControlUncheckedStateNode, av as OoxmlContinuationSeparatorNode, bQ as OoxmlDocumentNode, aw as OoxmlEndnotesNode, bR as OoxmlExternalTarget, ax as OoxmlFootnotesNode, V as OoxmlGenericElementNode, bS as OoxmlGenericExtensionAttribute, bT as OoxmlHyperlinkNode, bU as OoxmlInvariantIssueCode, bV as OoxmlKnownNodeAttribute, bW as OoxmlNamespaceBinding, U as OoxmlNodeId, bX as OoxmlNodeIdentityRules, au as OoxmlNoteNode, ay as OoxmlNoteRefNode, az as OoxmlNoteReferenceNode, X as OoxmlPackageLimits, Y as OoxmlPackageRejection, bY as OoxmlPackageResult, bZ as OoxmlParagraphPropertiesNode, b_ as OoxmlPartMetadata, b$ as OoxmlReadRejection, c0 as OoxmlReadResult, c1 as OoxmlRunNode, c2 as OoxmlRunPropertiesNode, aA as OoxmlSeparatorNode, c3 as OoxmlTabNode, c4 as OoxmlTextElementNode, c5 as OoxmlTextNode, c6 as OoxmlWmlValAttribute, c7 as OoxmlXmlSpaceAttribute, c8 as OverrideRecord, c9 as RelationshipError, ca as RelationshipSetResult, cb as RelationshipTargetResolver, cc as ResolveResult, cd as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, Z as RevisionBatchEntry, _ as RevisionBatchResult, $ as RevisionBatchSkipReason, ce as SetLegacyCheckboxOp, cf as SetLegacyDropdownOp, cg as SetTextFormFieldDefaultOp, a8 as SourceCrop, ch as TABLE_BORDER_STYLES, ci as TabStopWrite, aG as TableBorderStyle, cj as TargetMode, ck as TextFormFieldOptions, cl as TextFormFieldRange, cm as TextFormFieldType, cn as TreeDocOpKind, co as TreeOpEffect, cp as W15_NAMESPACE_URI, cq as WML_NAMESPACE_URI, cr as XMLNS_NAMESPACE_URI, cs as XML_NAMESPACE_URI, ct as XmlLimits, cu as XmlNode, cv as XmlRejection, cw as XmlResult, cx as ZipLimits, cy as ZipReadResult, cz as ZipRejection, cA as allocateContentControlId, cB as asciiFold, cC as buildContentTypeIndex, cD as buildRelationshipSet, cE as childElements, cF as commentAnchorsOfStory, cG as commentsOfPart, cH as contentControlContentChildren, cI as contentControlContentNodeOf, cJ as contentControlEndPropertiesNodeOf, cK as contentControlLevelOf, cL as contentControlPropertiesNodeOf, cM as contentControlPropertiesOf, cN as contentControlTextOf, cO as contentControlsIn, cP as detectDuplicateNames, cQ as extensionKey, cR as findContentControl, cS as findElement, cT as firstReviewRange, cU as flattenContentControls, cV as hasAnyComment, cW as hyperlinkAnchorOf, cX as hyperlinkRelationshipIdOf, cY as hyperlinkTargetOf, cZ as isContentControlContentNode, c_ as isContentControlNode, c$ as isContentControlWrapper, d0 as isContentRevisionKind, d1 as isHyperlinkNode, d2 as isRangeMarkerKind, d3 as isValidMime, d4 as legacyCheckboxFieldsOf, d5 as lockForbidsEdit, d6 as lockForbidsRemoval, d7 as normalizePartName, d8 as orderedContentControlProperties, d9 as parseContentControlId, da as partNameKey, db as planRevisionBatch, dc as projectDrawing, dd as readOnOffChild, de as readOoxmlPackage, df as readOoxmlPart, dg as readXml, dh as readZip, di as resolveContentControlLock, dj as resolveContentType, dk as resolveImageRelationship, dl as resolveInternalTarget, dm as resolveRelationship, dn as reviewItemKey, dp as reviewItemRanges, dq as textContent, dr as textFormFieldsOf, ds as threadStateOfPart, dt as validateExternalTarget, du as withPart, dv as writeOoxmlPackage, dw as writeZip } from './types-barrel-DN_-gaRX.js';
5
- import { c as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-fragment-BIyGh6L8.js';
6
- export { k as AtomicNoteSpan, C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, l as DrawingPropertyIdResult, F as FragmentPasteInput, j as FragmentPasteResult, m as HeaderFooterKind, n as HeaderFooterLifecycleImpact, o as HeaderFooterLifecycleOp, p as HeaderFooterLifecycleRejection, q as HeaderFooterLifecycleResult, d as HeaderFooterParts, e as HeaderFooterSectionResolution, s as HeaderFooterSlotMeta, H as HeaderFooterVariant, t as HistoryCaptureKind, b as HistoryGroup, M as MAX_FRAGMENT_DECODED_BYTES, u as MAX_NOTES_PER_PART, v as MAX_NOTE_REFERENCE_PARTS, w as MAX_NOTE_REFERENCE_SCAN, x as NOTE_ATOM_CHAR, y as NOTE_CONTINUATION_SEPARATOR_ID, z as NOTE_ID_MAX, B as NOTE_ID_MIN, E as NOTE_SEPARATOR_ID, G as NoteDiagnostic, J as NoteDiagnosticCode, N as NoteKind, K as NoteLifecycleImpact, L as NoteLifecycleOp, O as NoteLifecycleOptions, P as NoteLifecycleRejection, Q as NoteLifecycleResult, U as NoteReferenceHit, V as NoteReferenceScanBudget, W as NoteType, X as PackageTransactResult, Y as RemotePackageAttribution, g as SelectionMark, Z as StoryResolveResult, a as StoryTargetRejection, _ as TreeDocumentStoreOptions, $ as TreePackageStoreOptions, a0 as TreeStoryRef, h as TreeTransactOptions, a1 as TreeTransactResult, a2 as TreeTransactionContext, a3 as allocateDrawingPropertyId, a4 as allocateNoteId, a5 as applyFragmentPaste, a6 as applyHeaderFooterLifecycleOp, a7 as applyNoteLifecycleOp, a8 as atomicNoteSpansOf, a9 as cascadeDeletedNoteReferences, aa as collectNoteReferences, ab as collectPackageNoteReferences, ac as collectSectionPropertyNodes, ad as createNoteReferenceScanBudget, ae as customMarkFollows, af as diagnoseNoteReferences, ag as findNoteById, ah as formatNoteScopeId, ai as isContinuationSeparatorNode, aj as isEndnotesNode, ak as isFootnotesNode, al as isHeaderFooterLifecycleOp, am as isNormalNote, an as isNoteAtomNode, ao as isNoteLifecycleOp, ap as isNoteNode, aq as isNoteRefNode, ar as isNoteReferenceNode, as as isSeparatorNode, at as normalNoteIds, au as noteAtomText, av as noteIdOf, aw as noteKindOf, ax as noteRefKindOf, ay as noteReferenceKindOf, az as noteTypeOf, aA as notesOf, aB as notesPartHasId, aC as observeHistoryGroup, aD as parseNoteId, aE as parseNoteScopeId, r as reportHistoryGroup, aF as resolveHeaderFooterParts, aG as resolveHeaderFooterPartsBySection, aH as resolveHeaderFooterResolutionBySection, aI as resolveNotesPart, aJ as withBinaryPart, aK as withEmbeddedImage, aL as withoutUnreferencedImagePart } from './tree-package-fragment-BIyGh6L8.js';
7
- 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-BY7OdfGY.js';
8
- import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-77rvPW2-.js';
9
- export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-77rvPW2-.js';
10
- export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-B0BP_wJP.js';
11
- export { D as DocumentProperties, E as EnsuredHyperlinkRelationship, a as HeadlessDocumentRejection, H as HeadlessDocumentView, b as HeadlessThemeFonts, O as OpenHeadlessDocumentResult, c as authorableHyperlinkTarget, e as ensureHyperlinkRelationship, h as headlessViewOfStore, o as openHeadlessDocument, r as relationshipTargetIn } from './headless-document-view-Cc3fFWhv.js';
12
- export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, a as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, R as ResolvedEndnoteProperties, b 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-DMfKK3QU.js';
13
- export { a as DocumentProtectionEdit, D as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-CYIjO-li.js';
1
+ import { e as ResourceLimits } from './image-resources-DfagDguq.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, a as ImageDecodePort, I as ImageResourceLimits, h as ImageResourceLookup, b as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, 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-DfagDguq.js';
3
+ import { O as OoxmlPart, N as OoxmlNode, aM as OoxmlInvariantResult, at as OoxmlParagraphNode, aN as OoxmlFldCharNode, aO as OoxmlFldSimpleNode, aP as OoxmlInstrTextNode, aQ as OoxmlInvariantIssue, Z as OoxmlElement, W as TreeDocOp, a5 as TreeOpRejection, aR as TreeOpResult, Q as OoxmlPackage, aS as RelationshipRecord, V as OoxmlGenericElementNode, aT as OoxmlHardBreakNode, aU as OoxmlAttribute, X as OoxmlProperty, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, aV as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, aB as DrawingTreeDocOp, aC as ImpactClass, aa as ImageWrapTarget } from './types-barrel-BO73JqHG.js';
4
+ export { aW as ACCEPTED_PARAGRAPH_PROPERTIES, aX as ACCEPTED_RUN_PROPERTIES, aY as CONTENT_CONTROL_ID_MAX, aZ as CONTENT_CONTROL_PROPERTY_ORDER, a_ as CommentAnchor, a$ as CommentPosition, b0 as CommitTextFormFieldOp, b1 as ContentControlCheckbox, b2 as ContentControlCheckboxState, b3 as ContentControlDataBinding, b4 as ContentControlDateFormat, b5 as ContentControlEntry, b6 as ContentControlKind, b7 as ContentControlLevel, b8 as ContentControlListItem, b9 as ContentControlLock, ba as ContentControlProperties, bb as ContentTypeError, bc as ContentTypeIndex, bd as ContentTypeRecords, be as DEFAULT_OOXML_PACKAGE_LIMITS, bf as DEFAULT_ZIP_LIMITS, bg as DefaultRecord, bh as DeleteTextOp, aI as DrawingImageEffects, a9 as DrawingKind, ac as DrawingLocks, ab as DrawingPositionInput, bi as HYPERLINK_RELATIONSHIP_TYPE, bj as HyperlinkKind, bk as HyperlinkTarget, bl as IMAGE_RELATIONSHIP_TYPE, aE as IMAGE_WRAP_TARGETS, bm as ImageRelationshipResolution, bn as IndexResult, bo as InsertBuildingBlockOp, bp as InsertTextOp, bq as LegacyCheckboxFieldRange, br as MAX_CONTENT_CONTROLS_PER_PART, bs as MAX_CONTENT_CONTROL_NESTING, bt as NameRejection, bu as NameResult, bv as OFFICE_RELATIONSHIP_NAMESPACE_URI, bw as OOXML_NODE_IDENTITY_RULES, bx as OoxmlBodyNode, by as OoxmlBookmarkEndNode, bz as OoxmlBookmarkStartNode, bA as OoxmlContentControlCalendarNode, bB as OoxmlContentControlCheckboxNode, bC as OoxmlContentControlCheckedNode, bD as OoxmlContentControlCheckedStateNode, bE as OoxmlContentControlComboBoxNode, $ as OoxmlContentControlContentNode, bF as OoxmlContentControlDataBindingNode, bG as OoxmlContentControlDateFormatNode, bH as OoxmlContentControlDateNode, bI as OoxmlContentControlDropDownListNode, bJ as OoxmlContentControlEndPropertiesNode, bK as OoxmlContentControlLidNode, bL as OoxmlContentControlListItemNode, _ as OoxmlContentControlNode, bM as OoxmlContentControlPropertiesNode, bN as OoxmlContentControlStoreMappedDataAsNode, bO as OoxmlContentControlTextNode, bP as OoxmlContentControlUncheckedStateNode, av as OoxmlContinuationSeparatorNode, bQ as OoxmlDocumentNode, aw as OoxmlEndnotesNode, bR as OoxmlExternalTarget, ax as OoxmlFootnotesNode, bS as OoxmlGenericExtensionAttribute, bT as OoxmlHyperlinkNode, bU as OoxmlInvariantIssueCode, bV as OoxmlKnownNodeAttribute, bW as OoxmlNamespaceBinding, U as OoxmlNodeId, bX as OoxmlNodeIdentityRules, au as OoxmlNoteNode, ay as OoxmlNoteRefNode, az as OoxmlNoteReferenceNode, a1 as OoxmlPackageLimits, Y as OoxmlPackageRejection, bY as OoxmlPackageResult, bZ as OoxmlParagraphPropertiesNode, b_ as OoxmlPartMetadata, b$ as OoxmlReadRejection, c0 as OoxmlReadResult, c1 as OoxmlRunNode, c2 as OoxmlRunPropertiesNode, aA as OoxmlSeparatorNode, c3 as OoxmlTabNode, c4 as OoxmlTextElementNode, c5 as OoxmlTextNode, c6 as OoxmlWmlValAttribute, c7 as OoxmlXmlSpaceAttribute, c8 as OverrideRecord, c9 as RelationshipError, ca as RelationshipSetResult, cb as RelationshipTargetResolver, cc as ResolveResult, cd as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, a2 as RevisionBatchEntry, a3 as RevisionBatchResult, a4 as RevisionBatchSkipReason, ce as SetLegacyCheckboxOp, cf as SetLegacyDropdownOp, cg as SetTextFormFieldDefaultOp, a8 as SourceCrop, ch as TABLE_BORDER_STYLES, ci as TabStopWrite, aG as TableBorderStyle, cj as TargetMode, ck as TextFormFieldOptions, cl as TextFormFieldRange, cm as TextFormFieldType, cn as TreeDocOpKind, co as TreeOpEffect, cp as W15_NAMESPACE_URI, cq as WML_NAMESPACE_URI, cr as XMLNS_NAMESPACE_URI, cs as XML_NAMESPACE_URI, ct as XmlLimits, cu as XmlNode, cv as XmlRejection, cw as XmlResult, cx as ZipLimits, cy as ZipReadResult, cz as ZipRejection, cA as allocateContentControlId, cB as asciiFold, cC as buildContentTypeIndex, cD as buildRelationshipSet, cE as childElements, cF as commentAnchorsOfStory, cG as commentsOfPart, cH as contentControlContentChildren, cI as contentControlContentNodeOf, cJ as contentControlEndPropertiesNodeOf, cK as contentControlLevelOf, cL as contentControlPropertiesNodeOf, cM as contentControlPropertiesOf, cN as contentControlTextOf, cO as contentControlsIn, cP as detectDuplicateNames, cQ as extensionKey, cR as findContentControl, cS as findElement, cT as firstReviewRange, cU as flattenContentControls, cV as hasAnyComment, cW as hyperlinkAnchorOf, cX as hyperlinkRelationshipIdOf, cY as hyperlinkTargetOf, cZ as isContentControlContentNode, c_ as isContentControlNode, c$ as isContentControlWrapper, d0 as isContentRevisionKind, d1 as isHyperlinkNode, d2 as isRangeMarkerKind, d3 as isValidMime, d4 as legacyCheckboxFieldsOf, d5 as lockForbidsEdit, d6 as lockForbidsRemoval, d7 as normalizePartName, d8 as orderedContentControlProperties, d9 as parseContentControlId, da as partNameKey, db as planRevisionBatch, dc as projectDrawing, dd as readOnOffChild, de as readOoxmlPackage, df as readOoxmlPart, dg as readXml, dh as readZip, di as resolveContentControlLock, dj as resolveContentType, dk as resolveImageRelationship, dl as resolveInternalTarget, dm as resolveRelationship, dn as reviewItemKey, dp as reviewItemRanges, dq as textContent, dr as textFormFieldsOf, ds as threadStateOfPart, dt as validateExternalTarget, du as withPart, dv as writeOoxmlPackage, dw as writeZip } from './types-barrel-BO73JqHG.js';
5
+ import { b as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-fragment-YPyYC1aD.js';
6
+ export { k as AtomicNoteSpan, C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, l as DrawingPropertyIdResult, F as FragmentPasteInput, j as FragmentPasteResult, m as HeaderFooterKind, n as HeaderFooterLifecycleImpact, o as HeaderFooterLifecycleOp, p as HeaderFooterLifecycleRejection, q as HeaderFooterLifecycleResult, c as HeaderFooterParts, d as HeaderFooterSectionResolution, s as HeaderFooterSlotMeta, e as HeaderFooterVariant, t as HistoryCaptureKind, H as HistoryGroup, M as MAX_FRAGMENT_DECODED_BYTES, u as MAX_NOTES_PER_PART, v as MAX_NOTE_REFERENCE_PARTS, w as MAX_NOTE_REFERENCE_SCAN, x as NOTE_ATOM_CHAR, y as NOTE_CONTINUATION_SEPARATOR_ID, z as NOTE_ID_MAX, B as NOTE_ID_MIN, E as NOTE_SEPARATOR_ID, G as NoteDiagnostic, J as NoteDiagnosticCode, N as NoteKind, K as NoteLifecycleImpact, L as NoteLifecycleOp, O as NoteLifecycleOptions, P as NoteLifecycleRejection, Q as NoteLifecycleResult, U as NoteReferenceHit, V as NoteReferenceScanBudget, W as NoteType, X as PackageTransactResult, Y as RemotePackageAttribution, g as SelectionMark, Z as StoryResolveResult, a as StoryTargetRejection, _ as TreeDocumentStoreOptions, $ as TreePackageStoreOptions, a0 as TreeStoryRef, h as TreeTransactOptions, a1 as TreeTransactResult, a2 as TreeTransactionContext, a3 as allocateDrawingPropertyId, a4 as allocateNoteId, a5 as applyFragmentPaste, a6 as applyHeaderFooterLifecycleOp, a7 as applyNoteLifecycleOp, a8 as atomicNoteSpansOf, a9 as cascadeDeletedNoteReferences, aa as collectNoteReferences, ab as collectPackageNoteReferences, ac as collectSectionPropertyNodes, ad as createNoteReferenceScanBudget, ae as customMarkFollows, af as diagnoseNoteReferences, ag as findNoteById, ah as formatNoteScopeId, ai as isContinuationSeparatorNode, aj as isEndnotesNode, ak as isFootnotesNode, al as isHeaderFooterLifecycleOp, am as isNormalNote, an as isNoteAtomNode, ao as isNoteLifecycleOp, ap as isNoteNode, aq as isNoteRefNode, ar as isNoteReferenceNode, as as isSeparatorNode, at as normalNoteIds, au as noteAtomText, av as noteIdOf, aw as noteKindOf, ax as noteRefKindOf, ay as noteReferenceKindOf, az as noteTypeOf, aA as notesOf, aB as notesPartHasId, aC as observeHistoryGroup, aD as parseNoteId, aE as parseNoteScopeId, r as reportHistoryGroup, aF as resolveHeaderFooterParts, aG as resolveHeaderFooterPartsBySection, aH as resolveHeaderFooterResolutionBySection, aI as resolveNotesPart, aJ as withBinaryPart, aK as withEmbeddedImage, aL as withoutUnreferencedImagePart } from './tree-package-fragment-YPyYC1aD.js';
7
+ import { O as OmmlEquationProjection } from './omml-equation-CZ6IG2ja.js';
8
+ export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-CZ6IG2ja.js';
9
+ import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-Cy9imOjA.js';
10
+ export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-Cy9imOjA.js';
11
+ export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-Dc8Q6tfM.js';
12
+ export { D as DocumentProperties, E as EnsuredHyperlinkRelationship, a as HeadlessDocumentRejection, H as HeadlessDocumentView, b as HeadlessThemeFonts, O as OpenHeadlessDocumentResult, c as authorableHyperlinkTarget, e as ensureHyperlinkRelationship, h as headlessViewOfStore, o as openHeadlessDocument, r as relationshipTargetIn } from './headless-document-view-R9bzzepb.js';
13
+ export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, a as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, R as ResolvedEndnoteProperties, b 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-CmfvOJsi.js';
14
+ export { a as DocumentProtectionEdit, D as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-Bp19Ad4I.js';
14
15
  import './editor-scope-OHPwVQ5l.js';
15
16
 
16
17
  /**
@@ -302,11 +303,8 @@ declare function collectNodeIds(part: OoxmlPart): Set<string>;
302
303
  * can never coincide, and the counter skips anything already taken so repeated edits in one
303
304
  * session stay unique.
304
305
  *
305
- * The collision check only sees nodes that are IN the tree. A caller that clones a subtree
306
- * and attaches it LATER — after other ops have replaced the root and reset the counter —
307
- * must mint in its own `family`: two `new`-family allocators over different roots can hand
308
- * out the same id, one to a detached clone and one to the tree, and the clone's insertion
309
- * then fails the duplicate-id invariant.
306
+ * Allocators share reservations across edited roots and restored roots. Preview edits,
307
+ * detached nodes, and undo branches must not reuse an identity that collaboration retains.
310
308
  *
311
309
  * Checks the part's node index directly rather than copying every id into a fresh set: the
312
310
  * copy was O(document) per op, and an allocator is created for every op.
@@ -360,7 +358,7 @@ declare function paragraphTextOf(part: OoxmlPart, paragraphId: string): string |
360
358
  * Identity is `(kind, id)` plus version and NEVER registration order, so two bundles contributing
361
359
  * the same command resolve deterministically regardless of which loaded first.
362
360
  */
363
- declare const ID_KINDS: readonly ["extension", "capability", "command", "query", "schema", "dependencyKey", "runtimePort", "result", "origin"];
361
+ declare const ID_KINDS: readonly ['extension', 'capability', 'command', 'query', 'schema', 'dependencyKey', 'runtimePort', 'result', 'origin'];
364
362
  /** One of {@link ID_KINDS}. */
365
363
  /** One of {@link ID_KINDS} — which sort of thing an identifier names. */
366
364
  type IdKind = (typeof ID_KINDS)[number];
@@ -909,63 +907,63 @@ interface ComparatorDescriptor {
909
907
  declare const COMPARATORS: {
910
908
  readonly authoredState: {
911
909
  readonly id: "dev.docx-editor.core.comparator.authored-state";
912
- readonly mode: "canonical-exact";
910
+ readonly mode: 'canonical-exact';
913
911
  readonly ephemera: readonly ["revision", "provenance", "producedAt", "commitId"];
914
- readonly note: "canonical normalized authored records; ephemera excluded";
912
+ readonly note: 'canonical normalized authored records; ephemera excluded';
915
913
  };
916
914
  readonly anchor: {
917
915
  readonly id: "dev.docx-editor.core.comparator.anchor";
918
- readonly mode: "exact";
916
+ readonly mode: 'exact';
919
917
  readonly ephemera: readonly [];
920
- readonly note: "internal anchor identity/affinity compares exactly";
918
+ readonly note: 'internal anchor identity/affinity compares exactly';
921
919
  };
922
920
  readonly yjsStateVector: {
923
921
  readonly id: "dev.docx-editor.core.comparator.yjs-state-vector";
924
- readonly mode: "sync-optimization-only";
922
+ readonly mode: 'sync-optimization-only';
925
923
  readonly ephemera: readonly [];
926
- readonly note: "exchange optimization only; never proves update or delete-set coverage";
924
+ readonly note: 'exchange optimization only; never proves update or delete-set coverage';
927
925
  };
928
926
  readonly shapedRun: {
929
927
  readonly id: "dev.docx-editor.core.comparator.shaped-run";
930
- readonly mode: "exact";
928
+ readonly mode: 'exact';
931
929
  readonly ephemera: readonly [];
932
- readonly note: "glyph ids, clusters, and fixed-point advances compare exactly";
930
+ readonly note: 'glyph ids, clusters, and fixed-point advances compare exactly';
933
931
  };
934
932
  readonly paginationFingerprint: {
935
933
  readonly id: "dev.docx-editor.core.comparator.pagination-fingerprint";
936
- readonly mode: "exact";
934
+ readonly mode: 'exact';
937
935
  readonly ephemera: readonly [];
938
- readonly note: "page/column boundaries, break causes, fixed-point geometry compare exactly";
936
+ readonly note: 'page/column boundaries, break causes, fixed-point geometry compare exactly';
939
937
  };
940
938
  readonly semanticTree: {
941
939
  readonly id: "dev.docx-editor.core.comparator.semantic-tree";
942
- readonly mode: "exact";
940
+ readonly mode: 'exact';
943
941
  readonly ephemera: readonly [];
944
- readonly note: "reading order, roles, headings, alt text compare exactly";
942
+ readonly note: 'reading order, roles, headings, alt text compare exactly';
945
943
  };
946
944
  readonly hitTest: {
947
945
  readonly id: "dev.docx-editor.core.comparator.hit-test";
948
- readonly mode: "exact";
946
+ readonly mode: 'exact';
949
947
  readonly ephemera: readonly [];
950
- readonly note: "resolved hit target and cluster affinity compare exactly";
948
+ readonly note: 'resolved hit target and cluster affinity compare exactly';
951
949
  };
952
950
  readonly pdfSemantics: {
953
951
  readonly id: "dev.docx-editor.core.comparator.pdf-semantics";
954
- readonly mode: "canonical-exact";
952
+ readonly mode: 'canonical-exact';
955
953
  readonly ephemera: readonly ["objectNumber", "producer", "creationDate", "modDate", "subsetTag"];
956
- readonly note: "canonical semantic PDF objects; container ephemera excluded";
954
+ readonly note: 'canonical semantic PDF objects; container ephemera excluded';
957
955
  };
958
956
  readonly rasterCheckpoint: {
959
957
  readonly id: "dev.docx-editor.core.comparator.raster-checkpoint";
960
- readonly mode: "tolerance";
958
+ readonly mode: 'tolerance';
961
959
  readonly ephemera: readonly [];
962
- readonly note: "documented unavoidable raster comparison; explicit tolerance only";
960
+ readonly note: 'documented unavoidable raster comparison; explicit tolerance only';
963
961
  };
964
962
  readonly benchmarkEvidence: {
965
963
  readonly id: "dev.docx-editor.core.comparator.benchmark-evidence";
966
- readonly mode: "sync-optimization-only";
964
+ readonly mode: 'sync-optimization-only';
967
965
  readonly ephemera: readonly [];
968
- readonly note: "diagnostic evidence, not an equivalence basis";
966
+ readonly note: 'diagnostic evidence, not an equivalence basis';
969
967
  };
970
968
  };
971
969
  /** Which frozen comparator to use. */
@@ -1267,7 +1265,7 @@ declare function containsCssFetch(value: string): boolean;
1267
1265
  * Rendered INERT by default rather than stripped — removing it would be a lossless-preservation
1268
1266
  * failure, so it is carried and never acted on.
1269
1267
  */
1270
- declare const INERT_EXECUTABLE_KINDS: readonly ["field-dde", "field-include", "macro", "activex", "ole", "embedded-object", "executable-relationship"];
1268
+ declare const INERT_EXECUTABLE_KINDS: readonly ['field-dde', 'field-include', 'macro', 'activex', 'ole', 'embedded-object', 'executable-relationship'];
1271
1269
  /** One of {@link INERT_EXECUTABLE_KINDS}. */
1272
1270
  /** One of {@link INERT_EXECUTABLE_KINDS} — content carried but never executed. */
1273
1271
  type InertExecutableKind = (typeof INERT_EXECUTABLE_KINDS)[number];
@@ -1295,6 +1293,29 @@ interface ScrubResult {
1295
1293
  /** Explicit scrub export: remove inert executable classes, report removals. */
1296
1294
  declare function scrubExport(items: readonly ContentItem[]): ScrubResult;
1297
1295
 
1296
+ /** True for an `m:oMathPara` display equation. */
1297
+ declare function isOmmlDisplay(node: OoxmlNode): node is OoxmlGenericElementNode;
1298
+ /** True for a paragraph-level equation atom: `m:oMath` or `m:oMathPara`. */
1299
+ declare function isOmmlEquationAtom(node: OoxmlNode): node is OoxmlGenericElementNode;
1300
+ /** The `m:oMath` equations of a display, or the equation itself for an inline `m:oMath`. */
1301
+ declare function equationsOfAtom(node: OoxmlNode): readonly OoxmlGenericElementNode[];
1302
+ /**
1303
+ * Project a display equation as one layout atom. A display with one equation keeps that
1304
+ * equation's projection, so the painted atom names the editable `m:oMath`. Several equations
1305
+ * share one row, separated by an em space.
1306
+ */
1307
+ declare function projectOmmlDisplay(node: OoxmlNode): OmmlEquationProjection | null;
1308
+ /**
1309
+ * The physical justification of a paragraph whose only visible content is display math.
1310
+ * `m:oMathParaPr/m:jc` sets it; the default `centerGroup` centers the display. Returns null
1311
+ * when the paragraph also holds text or other content, which keeps the paragraph `w:jc`.
1312
+ */
1313
+ declare function displayMathAlignment(paragraph: {
1314
+ readonly children: readonly OoxmlNode[];
1315
+ }): 'left' | 'center' | 'right' | null;
1316
+ /** Project a paragraph-level equation atom: inline `m:oMath` or display `m:oMathPara`. */
1317
+ declare function projectOmmlAtom(node: OoxmlNode): OmmlEquationProjection | null;
1318
+
1298
1319
  /** UTF-16 placeholder for a page break in paragraph text projections. */
1299
1320
  declare const PAGE_BREAK_CHAR = "\f";
1300
1321
  /** What a `w:br` breaks. `other` covers values this engine does not model, kept losslessly. */
@@ -1361,6 +1382,12 @@ declare function detectBodyTocs(part: OoxmlPart): readonly DetectedToc[];
1361
1382
  /** Locate the table of contents containing a position, or null. */
1362
1383
  declare function findDetectedToc(tocs: readonly DetectedToc[], tocId: string): DetectedToc | null;
1363
1384
 
1385
+ /** One heading symbol: its `w:font` and `w:char`, as the file wrote them. */
1386
+ interface TocSymbol {
1387
+ readonly font: string | null;
1388
+ readonly char: string;
1389
+ }
1390
+
1364
1391
  declare const TWIPS: unique symbol;
1365
1392
  declare const POINTS: unique symbol;
1366
1393
  /**
@@ -1420,6 +1447,26 @@ declare const twipsToPoints: (value: Twips) => Points;
1420
1447
  * @public
1421
1448
  */
1422
1449
  declare const pointsToTwips: (value: Points) => Twips;
1450
+ /**
1451
+ * Read a twips attribute (`ST_TwipsMeasure`, `ST_SignedTwipsMeasure`, or a `dxa` table width)
1452
+ * as a whole, signed number of twips, or `null` when the value is not a measurement.
1453
+ *
1454
+ * The schema allows an integer or a universal measure, but files also carry decimal twips
1455
+ * (`4743.74`, `708.0`, `707.9999999999998`). The accepted forms read as follows:
1456
+ *
1457
+ * - A decimal truncates toward zero: `1443.74` is 1443 and `-720.6` is -720. A leading `+`,
1458
+ * leading zeros, a bare fraction (`.5`) and a trailing point (`1440.`) are accepted.
1459
+ * - A universal measure (`mm`, `cm`, `in`, `pt`, `pc`, `pi`) converts exactly and then
1460
+ * truncates: `1.27cm` is 720 and `0.333in` is 479. Its sign is ignored, so `-0.5in` is 720.
1461
+ * - Whitespace, exponents, hexadecimal, uppercase units, and an integer part longer than nine
1462
+ * digits are not measurements.
1463
+ *
1464
+ * The result is NOT bounded. Callers apply their own sign rule and range clamp, because each
1465
+ * attribute has a different valid range and a different fallback.
1466
+ *
1467
+ * @internal
1468
+ */
1469
+ declare function readTwipsMeasure(raw: string | undefined): number | null;
1423
1470
 
1424
1471
  /** Outline heading shape consumed by TOC planning (mirrors DocumentOutlineEntry). */
1425
1472
  interface TocOutlineHeading {
@@ -1439,6 +1486,8 @@ interface TocEntryPlan {
1439
1486
  readonly headingParagraphId: string;
1440
1487
  readonly bookmarkName: string;
1441
1488
  readonly pageNumberText: string;
1489
+ /** The heading's symbols, one per {@link TOC_SYMBOL_MARK} in `text`, in order. */
1490
+ readonly symbols?: readonly TocSymbol[];
1442
1491
  }
1443
1492
  /** Build one TOC entry paragraph node. */
1444
1493
  declare function buildTocEntryParagraph(mint: () => string, entry: TocEntryPlan, instruction: TocInstruction, paragraphPropertiesTemplate?: OoxmlNode): OoxmlNode;
@@ -2625,5 +2674,5 @@ declare function sectionProtectsForms(part: OoxmlPart, nodeId: string): boolean;
2625
2674
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
2626
2675
  declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock"];
2627
2676
 
2628
- export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, FIELD_ATOM_CHAR, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, addComment, addPackageComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, linkRevisionReplies, locateSites, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2677
+ export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, FIELD_ATOM_CHAR, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, addComment, addPackageComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, linkRevisionReplies, locateSites, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2629
2678
  export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DigestDifference, DocumentViewSettings, EditOptions, EncodedEnvelope, EnforcementPhase, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LimitSpec, LimitUnit, LinkableReviewItem, ModelChangeSummary, OffsetSpan, OoxmlEditResult, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransactionRevisionIds, TransportPort, Twips, ValidationResult };
package/dist/store.js CHANGED
@@ -1 +1 @@
1
- export{m as Budget,l as BudgetError,D as COMPARATORS,o as CancellationController,n as CancellationError,P as DEFAULT_MAX_EDITABLE_STORY_PARTS,r as DeterministicClock,y as DeterministicMemoryMeter,d as ID_KINDS,w as LIMIT_KEYS,v as LIMIT_SPECS,da as MAX_CUSTOM_NODE_LABEL_LENGTH,ca as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,M as MAX_FRAGMENT_DECODED_BYTES,q as PortRegistry,p as PortResolutionError,j as RegistryError,Da as SEARCH_MATCH_LIMIT,Ca as SEARCH_QUERY_MAX,s as SequentialIdentity,O as TreeDocumentStore,Q as TreePackageStore,W as addComment,$ as addPackageComment,N as applyFragmentPaste,z as assertLimitInvariants,f as assertValidId,t as beginOperation,A as canonicalize,za as collectReviewItems,ta as commentBodyText,ua as commentInitials,ya as commentItemsOf,Z as commentPartNameOf,_ as commentsExtendedPartNameOf,E as compareArtifacts,h as compareSemVer,ha as customNodePayloadsByControl,ia as customNodePayloadsOf,ba as deletePackageComments,u as endOperation,K as extractFragmentPackage,Ha as findOccurrences,F as fingerprint,oa as firstReviewRange,Ea as foldCase,Y as hasCommentPart,I as hashAuthored,La as headlessViewOfStore,ea as insertCustomNodeWrite,ja as insertPackageCustomNode,Ga as isSearchableQuery,e as isValidId,Fa as isWholeWord,Ba as linkRevisionReplies,va as locateSites,x as makeLimitCounter,Ia as materializeGlossaryPlaceholders,L as mergeFragmentIntoPackage,V as nextCommentId,Ka as openHeadlessDocument,g as parseSemVer,Ja as planRevisionBatch,fa as removeCustomNodeWrite,ka as removePackageCustomNode,H as replayFixture,k as resolve,ma as reviewItemKey,na as reviewItemRanges,xa as revisionItemsOf,i as satisfies,X as setCommentResolved,aa as setPackageCommentResolved,B as stableHash,ga as sweepCustomNodePayloads,G as validateFixture}from'./chunk-XMWH2R23.js';export{wg as ACCEPTED_PARAGRAPH_PROPERTIES,vg as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,xg as AUTHORABLE_PARAGRAPH_PROPERTIES,yg as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,ob as CONTENT_CONTROL_ID_MAX,Gb as CONTENT_CONTROL_PROPERTY_ORDER,Ih as CUSTOM_NODE_XPATH_PREFIX,sh as CUSTOM_XML_PROPS_REL,th as CUSTOM_XML_PROPS_TYPE,rh as CUSTOM_XML_REL,G as DANGEROUS_KEYS,uh as DATASTORE_NAMESPACE_URI,Rf as DEFAULT_ENDNOTE_PROPERTIES,Qf as DEFAULT_FOOTNOTE_PROPERTIES,sg as DEFAULT_FORMATTING_DISPLAY_MODE,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,Zd as DEFAULT_OMML_LIMITS,Kd as DEFAULT_OOXML_PACKAGE_LIMITS,mh as DEFAULT_VIEW_SETTINGS,Ra as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,ke as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Qc as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Xc as IMAGE_WRAP_TARGETS,S as INERT_EXECUTABLE_KINDS,o as LimitExceededError,nb as MAX_CONTENT_CONTROLS_PER_PART,mb as MAX_CONTENT_CONTROL_NESTING,gc as MAX_NOTES_PER_PART,cg as MAX_NOTE_REFERENCE_PARTS,bg as MAX_NOTE_REFERENCE_SCAN,lc as MAX_STORY_SDT_NESTING,kd as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,Jb as NOTE_ATOM_CHAR,Nb as NOTE_CONTINUATION_SEPARATOR_ID,Lb as NOTE_ID_MAX,Kb as NOTE_ID_MIN,Mb as NOTE_SEPARATOR_ID,Mf as NO_DOCUMENT_PROTECTION,kh as NO_TRACKING_SETTINGS,Yd as OFFICE_MATH_NAMESPACE_URI,Pc as OFFICE_RELATIONSHIP_NAMESPACE_URI,ya as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Wa as PAGE_BREAK_CHAR,ca as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,aj as TABLE_BORDER_STYLES,rf as TOC_LEVEL_INDENT_TWIPS,Je as TOC_MAX_BOOKMARKS_PER_REFRESH,Ie as TOC_MAX_ENTRIES,Ke as TOC_MAX_FIELD_NESTING,He as TOC_MAX_INSTRUCTION_CHARS,Le as TOC_MAX_PAGE_PASSES,ug as TREE_DOC_OP_KINDS,mf as TWIPS_PER_POINT,ah as W15_NAMESPACE_URI,fa as WML_NAMESPACE_URI,ha as XMLNS_NAMESPACE_URI,ga as XML_NAMESPACE_URI,Ib as allocateContentControlId,yd as allocateDrawingPropertyId,hc as allocateNoteId,Qa as applyEdits,Pf as applyHeaderFooterLifecycleOp,Tg as applyNoteLifecycleOp,uj as applyTreeOp,t as asciiFold,ba as assertValidQName,Fe as atomicFieldSpansOf,fc as atomicNoteSpansOf,If as authorableHyperlinkTarget,Xf as authoredDocumentEndnoteProperties,Wf as authoredDocumentFootnoteProperties,Uf as authoredEndnotePropertiesFromSectPr,Tf as authoredFootnotePropertiesFromSectPr,Bg as authoredProperties,pc as bodyStoryRoot,xf as bookmarkPairNodes,Mh as boundCustomXmlNodeIdOf,Kh as boundCustomXmlNodeIds,Lh as boundCustomXmlNodeIdsInPackage,lf as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,uf as buildTocContentControl,tf as buildTocEntryParagraph,Gf as buildingBlockGalleryOf,Hf as buildingBlocksForControl,Ff as buildingBlocksOf,ta as canonicalOoxmlFingerprint,Ug as cascadeDeletedNoteReferences,jh as cascadeEmptiedComments,Z as childElements,xc as collectFlowBlocks,Ga as collectNodeIds,fg as collectNoteReferences,hg as collectPackageNoteReferences,yi as collectRevisionSites,de as collectSectionPropertyNodes,rc as collectStoryParagraphs,bh as commentAnchorsOfStory,dh as commentsOfPart,R as containsCssFetch,sb as contentControlContentChildren,wb as contentControlContentNodeOf,vc as contentControlContentOf,vb as contentControlEndPropertiesNodeOf,zb as contentControlLevelOf,ub as contentControlPropertiesNodeOf,yb as contentControlPropertiesOf,Cb as contentControlTextOf,Ab as contentControlsIn,Od as contentTypesPartBytes,vd as createImageResourceCache,Ha as createNodeIdAllocator,dg as createNoteReferenceScanBudget,cc as customMarkFollows,Jh as customNodeBinding,xh as customXmlDataParts,Gh as customXmlLabelXPath,Bh as customXmlNodes,Hh as customXmlPrefixMappings,vh as datastoreItemIdFor,Mi as deepParagraphOrderOfPart,gh as deleteCommentThread,ie as deobfuscateFont,Dc as deriveOoxmlIndexes,Oe as detectBodyTocs,v as detectDuplicateNames,ig as diagnoseNoteReferences,Bf as diffSemanticDigests,zf as digestPart,Dg as directParagraphMarkProperties,Cg as directParagraphProperties,ij as drawingOpImpact,Jf as ensureHyperlinkRelationship,Cf as ensureListDefinition,Df as ensureNumberingLevel,ae as equationExpressionToLinearMath,Q as escapeCssString,M as escapeXml,z as extensionKey,we as fieldAtomText,ve as fieldOnOffAttribute,Bb as findContentControl,yh as findCustomXmlDataPart,Pe as findDetectedToc,Y as findElement,Ja as findNode,kc as findNoteById,tb as flattenContentControls,le as fldCharType,ue as fldSimpleInstr,bb as fnv1a32,Pb as formatNoteScopeId,Hg as formatOwnedRunIds,Qg as formattableRanges,Qi as formsProtectionEnabled,Ef as glossaryPartOf,_a as hardBreakAttributes,Xa as hardBreakKind,Za as hardBreakText,fh as hasAnyComment,ld as hasBoundedSvgRoot,ye as hasLegacyFormFieldData,Ia as hasNode,Sc as hyperlinkAnchorOf,Tc as hyperlinkRelationshipIdOf,Uc as hyperlinkTargetOf,td as imageResourceLookupFor,Bc as indexStyles,jf as inlineControlEndingAt,kf as inlineControlStartingAt,Na as insertChildren,te as instrTextValue,zg as isAuthorableRunProperty,tc as isContentControl,uc as isContentControlContent,qb as isContentControlContentNode,pb as isContentControlNode,rb as isContentControlWrapper,ma as isContentRevisionKind,Xb as isContinuationSeparatorNode,I as isDangerousKey,nj as isDrawingTreeDocOp,Sb as isEndnotesNode,U as isEvaluableField,xe as isFieldChrome,pe as isFldChar,me as isFldCharNode,se as isFldSimple,oe as isFldSimpleNode,Rb as isFootnotesNode,Of as isHeaderFooterLifecycleOp,Rc as isHyperlinkNode,T as isInertExecutable,qe as isInstrText,ne as isInstrTextNode,_f as isLegalEndnotePosition,Ge as isLegalFldCharType,$f as isLegalFootnotePosition,ag as isLegalNumRestart,$b as isNormalNote,ec as isNoteAtomNode,Sg as isNoteLifecycleOp,Tb as isNoteNode,Vb as isNoteRefNode,Ub as isNoteReferenceNode,Ya as isPageBreakNode,qa as isRangeMarkerKind,Wb as isSeparatorNode,oc as isStoryPart,y as isValidMime,$ as isValidNCName,$a as isValidParaId,aa as isValidQName,Xh as legacyCheckboxFieldsOf,be as linearMathToOmml,sd as liveDrawingReferenceCount,Eb as lockForbidsEdit,Fb as lockForbidsRemoval,Fg as mergedFontProperty,Ig as mergedMultiSettingProperty,Jg as mergedParagraphMarkProperties,Eg as mergedProperties,cb as mintParaId,fb as mintedParagraphIdentityAttributes,kg as normalNoteIds,gb as normalizeParagraphIdentity,r as normalizePartName,dc as noteAtomText,Zb as noteIdOf,Yb as noteKindOf,bc as noteRefKindOf,ac as noteReferenceKindOf,_b as noteTypeOf,ic as notesOf,jg as notesPartHasId,J as nullRecord,Dj as observeHistoryGroup,ua as ooxmlTreesEqual,Hb as orderedContentControlProperties,ab as paraIdOf,ff as paragraphOffsetIndex,Li as paragraphOrderOfPart,vj as paragraphTextOf,Ka as parentNodeOf,Sf as parseAuthoredNoteProperties,xb as parseContentControlId,$d as parseLinearMath,Ob as parseNoteId,Qb as parseNoteScopeId,Me as parseTocInstruction,u as partNameKey,wf as planTocEntries,of as points,qf as pointsToTwips,ed as projectDrawing,_d as projectOmmlEquation,Ag as propertyContainer,Ch as readCustomXmlNode,Nf as readDocumentProtection,je as readEmbeddedFonts,ra as readOnOffChild,Ld as readOoxmlPackage,za as readOoxmlPart,lh as readTrackingSettings,nh as readViewSettings,X as readXml,Sa as readZip,Kf as relationshipTargetIn,Pd as relationshipsOf,Rd as relsPartNameFor,Pa as removeNode,Ma as replaceChildren,Oa as replaceNode,Ej as reportHistoryGroup,Db as resolveContentControlLock,B as resolveContentType,Qd as resolveContentTypeOf,Zf as resolveEndnoteProperties,Yf as resolveFootnoteProperties,he as resolveHeaderFooterParts,ge as resolveHeaderFooterPartsBySection,fe as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,eg as resolveNotesPart,E as resolveRelationship,yf as resolveTocRowHeadings,Gg as runAddressRanges,Og as runPropertyEdits,Rg as runsCovering,L as sanitizeHref,V as scrubExport,Ri as sectionProtectsForms,df as segmentsOf,Af as semanticDigest,sa as serializeOoxmlPart,Vf as settingsPartOf,md as sniffImageMime,qc as storyParagraphs,nc as storyRootsOf,Cc as stylesPartOf,_ as textContent,Vh as textFormFieldsOf,qh as textboxStoriesInPart,eh as threadStateOfPart,K as toSafeRecord,vf as tocEntryText,sf as tocLeftIndentTwips,nf as twips,pf as twipsToPoints,db as usedParaIds,jj as validateDrawingOp,x as validateExternalTarget,od as validateGifHeader,pd as validateJpegHeader,wa as validateOoxmlPart,Xd as validatePackageInvariants,nd as validatePngHeader,rd as validateRasterHeader,Bj as validateTreeOp,eb as w14RootPrefix,zc as walkAllStoryParagraphs,Ac as walkParagraphInline,yc as walkStoryBlocks,Bd as withBinaryPart,Sd as withContentTypeOverride,zh as withCustomXmlDataPart,Dh as withCustomXmlNode,Cd as withEmbeddedImage,Nh as withExportedCustomNodes,Wd as withNewPart,Nd as withPart,Vd as withRelationship,Ah as withoutCustomXmlDataPart,Eh as withoutCustomXmlNode,Fh as withoutOrphanCustomXmlNodes,Hd as withoutUnreferencedImagePart,mj as wrapTargetToAnchorSpec,Md as writeOoxmlPackage,Ta as writeZip}from'./chunk-JXL25DRU.js';
1
+ export{o as Budget,n as BudgetError,F as COMPARATORS,q as CancellationController,p as CancellationError,W as DEFAULT_MAX_EDITABLE_STORY_PARTS,t as DeterministicClock,A as DeterministicMemoryMeter,f as ID_KINDS,y as LIMIT_KEYS,x as LIMIT_SPECS,ka as MAX_CUSTOM_NODE_LABEL_LENGTH,ja as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,T as MAX_FRAGMENT_DECODED_BYTES,s as PortRegistry,r as PortResolutionError,l as RegistryError,Sa as SEARCH_MATCH_LIMIT,Ra as SEARCH_QUERY_MAX,u as SequentialIdentity,V as TreeDocumentStore,X as TreePackageStore,ba as addComment,ga as addPackageComment,U as applyFragmentPaste,B as assertLimitInvariants,h as assertValidId,v as beginOperation,C as canonicalize,Oa as collectReviewItems,Ha as commentBodyText,Ja as commentInitials,Na as commentItemsOf,ea as commentPartNameOf,fa as commentsExtendedPartNameOf,G as compareArtifacts,j as compareSemVer,oa as customNodePayloadsByControl,pa as customNodePayloadsOf,ia as deletePackageComments,w as endOperation,R as extractFragmentPackage,Wa as findOccurrences,H as fingerprint,va as firstReviewRange,Ta as foldCase,da as hasCommentPart,K as hashAuthored,bb as headlessViewOfStore,la as insertCustomNodeWrite,qa as insertPackageCustomNode,Va as isSearchableQuery,g as isValidId,Ua as isWholeWord,Qa as linkRevisionReplies,Ka as locateSites,z as makeLimitCounter,Xa as materializeGlossaryPlaceholders,S as mergeFragmentIntoPackage,aa as nextCommentId,ab as openHeadlessDocument,i as parseSemVer,Ya as planRevisionBatch,ma as removeCustomNodeWrite,ra as removePackageCustomNode,J as replayFixture,m as resolve,ta as reviewItemKey,ua as reviewItemRanges,Ma as revisionItemsOf,k as satisfies,ca as setCommentResolved,ha as setPackageCommentResolved,D as stableHash,na as sweepCustomNodePayloads,I as validateFixture}from'./chunk-L6V3IJ3S.js';export{ah as ACCEPTED_PARAGRAPH_PROPERTIES,$g as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,bh as AUTHORABLE_PARAGRAPH_PROPERTIES,ch as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,Ab as CONTENT_CONTROL_ID_MAX,Sb as CONTENT_CONTROL_PROPERTY_ORDER,ii as CUSTOM_NODE_XPATH_PREFIX,Uh as CUSTOM_XML_PROPS_REL,Vh as CUSTOM_XML_PROPS_TYPE,Th as CUSTOM_XML_REL,G as DANGEROUS_KEYS,Wh as DATASTORE_NAMESPACE_URI,tg as DEFAULT_ENDNOTE_PROPERTIES,sg as DEFAULT_FOOTNOTE_PROPERTIES,Yg as DEFAULT_FORMATTING_DISPLAY_MODE,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,Ae as DEFAULT_OMML_LIMITS,ke as DEFAULT_OOXML_PACKAGE_LIMITS,Oh as DEFAULT_VIEW_SETTINGS,zd as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Te as FIELD_ATOM_CHAR,i as HARD_CEILINGS,gd as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,nd as IMAGE_WRAP_TARGETS,S as INERT_EXECUTABLE_KINDS,o as LimitExceededError,zb as MAX_CONTENT_CONTROLS_PER_PART,yb as MAX_CONTENT_CONTROL_NESTING,sc as MAX_NOTES_PER_PART,Gg as MAX_NOTE_REFERENCE_PARTS,Fg as MAX_NOTE_REFERENCE_SCAN,xc as MAX_STORY_SDT_NESTING,Md as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,Vb as NOTE_ATOM_CHAR,Zb as NOTE_CONTINUATION_SEPARATOR_ID,Xb as NOTE_ID_MAX,Wb as NOTE_ID_MIN,Yb as NOTE_SEPARATOR_ID,og as NO_DOCUMENT_PROTECTION,Mh as NO_TRACKING_SETTINGS,ze as OFFICE_MATH_NAMESPACE_URI,fd as OFFICE_RELATIONSHIP_NAMESPACE_URI,za as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,cb as PAGE_BREAK_CHAR,ca as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Fj as TABLE_BORDER_STYLES,Vf as TOC_LEVEL_INDENT_TWIPS,qf as TOC_MAX_BOOKMARKS_PER_REFRESH,pf as TOC_MAX_ENTRIES,rf as TOC_MAX_FIELD_NESTING,of as TOC_MAX_INSTRUCTION_CHARS,sf as TOC_MAX_PAGE_PASSES,_g as TREE_DOC_OP_KINDS,Vc as TWIPS_PER_POINT,Ch as W15_NAMESPACE_URI,fa as WML_NAMESPACE_URI,ha as XMLNS_NAMESPACE_URI,ga as XML_NAMESPACE_URI,Ub as allocateContentControlId,_d as allocateDrawingPropertyId,tc as allocateNoteId,Ra as applyEdits,rg as applyHeaderFooterLifecycleOp,xh as applyNoteLifecycleOp,Yj as applyTreeOp,t as asciiFold,ba as assertValidQName,mf as atomicFieldSpansOf,rc as atomicNoteSpansOf,kg as authorableHyperlinkTarget,zg as authoredDocumentEndnoteProperties,yg as authoredDocumentFootnoteProperties,wg as authoredEndnotePropertiesFromSectPr,vg as authoredFootnotePropertiesFromSectPr,fh as authoredProperties,Bc as bodyStoryRoot,$f as bookmarkPairNodes,mi as boundCustomXmlNodeIdOf,ki as boundCustomXmlNodeIds,li as boundCustomXmlNodeIdsInPackage,Uf as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,Yf as buildTocContentControl,Xf as buildTocEntryParagraph,ig as buildingBlockGalleryOf,jg as buildingBlocksForControl,hg as buildingBlocksOf,ua as canonicalOoxmlFingerprint,yh as cascadeDeletedNoteReferences,Lh as cascadeEmptiedComments,Z as childElements,Jc as collectFlowBlocks,Ha as collectNodeIds,Jg as collectNoteReferences,Lg as collectPackageNoteReferences,$i as collectRevisionSites,Me as collectSectionPropertyNodes,Dc as collectStoryParagraphs,Dh as commentAnchorsOfStory,Fh as commentsOfPart,R as containsCssFetch,Eb as contentControlContentChildren,Ib as contentControlContentNodeOf,Hc as contentControlContentOf,Hb as contentControlEndPropertiesNodeOf,Lb as contentControlLevelOf,Gb as contentControlPropertiesNodeOf,Kb as contentControlPropertiesOf,Ob as contentControlTextOf,Mb as contentControlsIn,oe as contentTypesPartBytes,Xd as createImageResourceCache,Ia as createNodeIdAllocator,Hg as createNoteReferenceScanBudget,oc as customMarkFollows,ji as customNodeBinding,Zh as customXmlDataParts,gi as customXmlLabelXPath,bi as customXmlNodes,hi as customXmlPrefixMappings,Xh as datastoreItemIdFor,oj as deepParagraphOrderOfPart,Ih as deleteCommentThread,Re as deobfuscateFont,Pc as deriveOoxmlIndexes,vf as detectBodyTocs,v as detectDuplicateNames,Mg as diagnoseNoteReferences,dg as diffSemanticDigests,bg as digestPart,hh as directParagraphMarkProperties,gh as directParagraphProperties,Je as displayMathAlignment,Nj as drawingOpImpact,lg as ensureHyperlinkRelationship,eg as ensureListDefinition,fg as ensureNumberingLevel,De as equationExpressionToLinearMath,He as equationsOfAtom,Q as escapeCssString,M as escapeXml,z as extensionKey,df as fieldAtomText,cf as fieldOnOffAttribute,Nb as findContentControl,_h as findCustomXmlDataPart,wf as findDetectedToc,Y as findElement,Ka as findNode,wc as findNoteById,Fb as flattenContentControls,Ue as fldCharType,bf as fldSimpleInstr,jb as fnv1a32,$b as formatNoteScopeId,lh as formatOwnedRunIds,uh as formattableRanges,sj as formsProtectionEnabled,gg as glossaryPartOf,gb as hardBreakAttributes,db as hardBreakKind,fb as hardBreakText,Hh as hasAnyComment,Nd as hasBoundedSvgRoot,ff as hasLegacyFormFieldData,Ja as hasNode,id as hyperlinkAnchorOf,jd as hyperlinkRelationshipIdOf,kd as hyperlinkTargetOf,Vd as imageResourceLookupFor,Nc as indexStyles,Sf as inlineControlEndingAt,Tf as inlineControlStartingAt,Oa as insertChildren,af as instrTextValue,dh as isAuthorableRunProperty,Fc as isContentControl,Gc as isContentControlContent,Cb as isContentControlContentNode,Bb as isContentControlNode,Db as isContentControlWrapper,na as isContentRevisionKind,hc as isContinuationSeparatorNode,I as isDangerousKey,Sj as isDrawingTreeDocOp,cc as isEndnotesNode,U as isEvaluableField,ef as isFieldChrome,Ye as isFldChar,Ve as isFldCharNode,$e as isFldSimple,Xe as isFldSimpleNode,bc as isFootnotesNode,qg as isHeaderFooterLifecycleOp,hd as isHyperlinkNode,T as isInertExecutable,Ze as isInstrText,We as isInstrTextNode,Cg as isLegalEndnotePosition,nf as isLegalFldCharType,Dg as isLegalFootnotePosition,Eg as isLegalNumRestart,lc as isNormalNote,qc as isNoteAtomNode,wh as isNoteLifecycleOp,dc as isNoteNode,fc as isNoteRefNode,ec as isNoteReferenceNode,Fe as isOmmlDisplay,Ge as isOmmlEquationAtom,eb as isPageBreakNode,ra as isRangeMarkerKind,gc as isSeparatorNode,Ac as isStoryPart,y as isValidMime,$ as isValidNCName,hb as isValidParaId,aa as isValidQName,xi as legacyCheckboxFieldsOf,Ee as linearMathToOmml,Ud as liveDrawingReferenceCount,Qb as lockForbidsEdit,Rb as lockForbidsRemoval,jh as mergedFontProperty,mh as mergedMultiSettingProperty,nh as mergedParagraphMarkProperties,ih as mergedProperties,kb as mintParaId,ob as mintedParagraphIdentityAttributes,Og as normalNoteIds,qb as normalizeParagraphIdentity,r as normalizePartName,pc as noteAtomText,jc as noteIdOf,ic as noteKindOf,nc as noteRefKindOf,mc as noteReferenceKindOf,kc as noteTypeOf,uc as notesOf,Ng as notesPartHasId,J as nullRecord,fk as observeHistoryGroup,va as ooxmlTreesEqual,Tb as orderedContentControlProperties,ib as paraIdOf,Of as paragraphOffsetIndex,nj as paragraphOrderOfPart,Zj as paragraphTextOf,La as parentNodeOf,ug as parseAuthoredNoteProperties,Jb as parseContentControlId,Ce as parseLinearMath,_b as parseNoteId,ac as parseNoteScopeId,tf as parseTocInstruction,u as partNameKey,_f as planTocEntries,Xc as points,Zc as pointsToTwips,wd as projectDrawing,Ke as projectOmmlAtom,Ie as projectOmmlDisplay,Be as projectOmmlEquation,eh as propertyContainer,ci as readCustomXmlNode,pg as readDocumentProtection,Se as readEmbeddedFonts,sa as readOnOffChild,le as readOoxmlPackage,Aa as readOoxmlPart,Nh as readTrackingSettings,_c as readTwipsMeasure,Ph as readViewSettings,X as readXml,Ad as readZip,mg as relationshipTargetIn,pe as relationshipsOf,re as relsPartNameFor,Qa as removeNode,Na as replaceChildren,Pa as replaceNode,gk as reportHistoryGroup,Pb as resolveContentControlLock,B as resolveContentType,qe as resolveContentTypeOf,Bg as resolveEndnoteProperties,Ag as resolveFootnoteProperties,Qe as resolveHeaderFooterParts,Pe as resolveHeaderFooterPartsBySection,Oe as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,Ig as resolveNotesPart,E as resolveRelationship,ag as resolveTocRowHeadings,kh as runAddressRanges,sh as runPropertyEdits,vh as runsCovering,L as sanitizeHref,V as scrubExport,tj as sectionProtectsForms,Mf as segmentsOf,cg as semanticDigest,ta as serializeOoxmlPart,xg as settingsPartOf,Od as sniffImageMime,Cc as storyParagraphs,zc as storyRootsOf,Oc as stylesPartOf,_ as textContent,vi as textFormFieldsOf,Sh as textboxStoriesInPart,Gh as threadStateOfPart,K as toSafeRecord,Zf as tocEntryText,Wf as tocLeftIndentTwips,Wc as twips,Yc as twipsToPoints,lb as usedParaIds,Oj as validateDrawingOp,x as validateExternalTarget,Qd as validateGifHeader,Rd as validateJpegHeader,xa as validateOoxmlPart,ye as validatePackageInvariants,Pd as validatePngHeader,Td as validateRasterHeader,dk as validateTreeOp,mb as w14RootPrefix,Lc as walkAllStoryParagraphs,Mc as walkParagraphInline,Kc as walkStoryBlocks,be as withBinaryPart,se as withContentTypeOverride,$h as withCustomXmlDataPart,di as withCustomXmlNode,ce as withEmbeddedImage,ni as withExportedCustomNodes,xe as withNewPart,ne as withPart,we as withRelationship,ai as withoutCustomXmlDataPart,ei as withoutCustomXmlNode,fi as withoutOrphanCustomXmlNodes,he as withoutUnreferencedImagePart,Rj as wrapTargetToAnchorSpec,me as writeOoxmlPackage,Bd as writeZip}from'./chunk-DDGGSBAN.js';
@@ -1,5 +1,5 @@
1
- import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-DkuzBnTM.js';
2
- import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, a1 as OoxmlElement, at as OoxmlParagraphNode, au as OoxmlNoteNode, av as OoxmlContinuationSeparatorNode, aw as OoxmlEndnotesNode, ax as OoxmlFootnotesNode, ay as OoxmlNoteRefNode, az as OoxmlNoteReferenceNode, aA as OoxmlSeparatorNode, a7 as RevisionAttributionInput, aB as DrawingTreeDocOp, aC as ImpactClass, W as TreeDocOp, a5 as TreeOpRejection } from './types-barrel-DN_-gaRX.js';
1
+ import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-DfagDguq.js';
2
+ import { Q as OoxmlPackage, O as OoxmlPart, N as OoxmlNode, Z as OoxmlElement, at as OoxmlParagraphNode, au as OoxmlNoteNode, av as OoxmlContinuationSeparatorNode, aw as OoxmlEndnotesNode, ax as OoxmlFootnotesNode, ay as OoxmlNoteRefNode, az as OoxmlNoteReferenceNode, aA as OoxmlSeparatorNode, a7 as RevisionAttributionInput, aB as DrawingTreeDocOp, aC as ImpactClass, W as TreeDocOp, a5 as TreeOpRejection } from './types-barrel-BO73JqHG.js';
3
3
 
4
4
  /** A freshly allocated drawing property id, or the reason one could not be minted. */
5
5
  type DrawingPropertyIdResult = {
@@ -1076,7 +1076,12 @@ declare class TreePackageStore {
1076
1076
  applyImageProperties(scope: StoryScope, input: ApplyImagePropertiesInput): ImageIntentResult;
1077
1077
  /**
1078
1078
  * Promote a story transaction that wrote package bytes to one package undo pointer.
1079
- * Used by image intents and note-reference cascade.
1079
+ * Used by the image and fragment-paste intents.
1080
+ *
1081
+ * The caller grafts {@link currentPackage} onto the story store BEFORE its transaction, so
1082
+ * the committed package carries every shell write and installs as it stands, like
1083
+ * `transact`: re-merging the live shell put the pre-transaction `numbering.xml` back over
1084
+ * the one the transaction wrote, and a pasted list referenced missing definitions.
1080
1085
  */
1081
1086
  promoteStoryTransactionToPackageUnit(beforePackage: OoxmlPackage, store: TreeDocumentStore, checkpoint: TreeDocumentCheckpoint,
1082
1087
  /** Unused: the restore is unconditional now. Kept so the public signature stands. */
@@ -1173,4 +1178,4 @@ type FragmentPasteResult = (Extract<PackageTransactResult, {
1173
1178
  declare function applyFragmentPaste(store: TreePackageStore, scope: StoryScope, input: FragmentPasteInput): FragmentPasteResult;
1174
1179
 
1175
1180
  export { NOTE_ID_MIN as B, DEFAULT_MAX_EDITABLE_STORY_PARTS as D, NOTE_SEPARATOR_ID as E, MAX_FRAGMENT_DECODED_BYTES as M, TreePackageStore as T, allocateDrawingPropertyId as a3, allocateNoteId as a4, applyFragmentPaste as a5, applyHeaderFooterLifecycleOp as a6, applyNoteLifecycleOp as a7, atomicNoteSpansOf as a8, cascadeDeletedNoteReferences as a9, notesOf as aA, notesPartHasId as aB, observeHistoryGroup as aC, parseNoteId as aD, parseNoteScopeId as aE, resolveHeaderFooterParts as aF, resolveHeaderFooterPartsBySection as aG, resolveHeaderFooterResolutionBySection as aH, resolveNotesPart as aI, withBinaryPart as aJ, withEmbeddedImage as aK, withoutUnreferencedImagePart as aL, collectNoteReferences as aa, collectPackageNoteReferences as ab, collectSectionPropertyNodes as ac, createNoteReferenceScanBudget as ad, customMarkFollows as ae, diagnoseNoteReferences as af, findNoteById as ag, formatNoteScopeId as ah, isContinuationSeparatorNode as ai, isEndnotesNode as aj, isFootnotesNode as ak, isHeaderFooterLifecycleOp as al, isNormalNote as am, isNoteAtomNode as an, isNoteLifecycleOp as ao, isNoteNode as ap, isNoteRefNode as aq, isNoteReferenceNode as ar, isSeparatorNode as as, normalNoteIds as at, noteAtomText as au, noteIdOf as av, noteKindOf as aw, noteRefKindOf as ax, noteReferenceKindOf as ay, noteTypeOf as az, TreeDocumentStore as f, reportHistoryGroup as r, MAX_NOTES_PER_PART as u, MAX_NOTE_REFERENCE_PARTS as v, MAX_NOTE_REFERENCE_SCAN as w, NOTE_ATOM_CHAR as x, NOTE_CONTINUATION_SEPARATOR_ID as y, NOTE_ID_MAX as z };
1176
- export type { TreePackageStoreOptions as $, ApplyImagePropertiesInput as A, CascadeDeletedNoteReferencesOptions as C, FragmentPasteInput as F, NoteDiagnostic as G, HeaderFooterVariant as H, InsertImageInput as I, NoteDiagnosticCode as J, NoteLifecycleImpact as K, NoteLifecycleOp as L, NoteKind as N, NoteLifecycleOptions as O, NoteLifecycleRejection as P, NoteLifecycleResult as Q, ReplaceImageOptions as R, StoryScope as S, NoteReferenceHit as U, NoteReferenceScanBudget as V, NoteType as W, PackageTransactResult as X, RemotePackageAttribution as Y, StoryResolveResult as Z, TreeDocumentStoreOptions as _, StoryTargetRejection as a, TreeStoryRef as a0, TransactResult as a1, TransactionContext as a2, HistoryGroup as b, TreeModelChange as c, HeaderFooterParts as d, HeaderFooterSectionResolution as e, SelectionMark as g, TransactOptions as h, ImageIntentResult as i, FragmentPasteResult as j, AtomicNoteSpan as k, DrawingPropertyIdResult as l, HeaderFooterKind as m, HeaderFooterLifecycleImpact as n, HeaderFooterLifecycleOp as o, HeaderFooterLifecycleRejection as p, HeaderFooterLifecycleResult as q, HeaderFooterSlotMeta as s, HistoryCaptureKind as t };
1181
+ export type { TreePackageStoreOptions as $, ApplyImagePropertiesInput as A, CascadeDeletedNoteReferencesOptions as C, FragmentPasteInput as F, NoteDiagnostic as G, HistoryGroup as H, InsertImageInput as I, NoteDiagnosticCode as J, NoteLifecycleImpact as K, NoteLifecycleOp as L, NoteKind as N, NoteLifecycleOptions as O, NoteLifecycleRejection as P, NoteLifecycleResult as Q, ReplaceImageOptions as R, StoryScope as S, NoteReferenceHit as U, NoteReferenceScanBudget as V, NoteType as W, PackageTransactResult as X, RemotePackageAttribution as Y, StoryResolveResult as Z, TreeDocumentStoreOptions as _, StoryTargetRejection as a, TreeStoryRef as a0, TransactResult as a1, TransactionContext as a2, TreeModelChange as b, HeaderFooterParts as c, HeaderFooterSectionResolution as d, HeaderFooterVariant as e, SelectionMark as g, TransactOptions as h, ImageIntentResult as i, FragmentPasteResult as j, AtomicNoteSpan as k, DrawingPropertyIdResult as l, HeaderFooterKind as m, HeaderFooterLifecycleImpact as n, HeaderFooterLifecycleOp as o, HeaderFooterLifecycleRejection as p, HeaderFooterLifecycleResult as q, HeaderFooterSlotMeta as s, HistoryCaptureKind as t };
@@ -1,8 +1,8 @@
1
- import { S as StoryScope, g as SelectionMark, h as TransactOptions, a as StoryTargetRejection, c as TreeModelChange, d as HeaderFooterParts, e as HeaderFooterSectionResolution, I as InsertImageInput, i as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, j as FragmentPasteResult } from './tree-package-fragment-BIyGh6L8.js';
2
- import { W as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage, a1 as OoxmlElement, a as ReviewItem, a7 as RevisionAttributionInput } from './types-barrel-DN_-gaRX.js';
3
- import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-DkuzBnTM.js';
4
- import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-77rvPW2-.js';
5
- import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-Cc3fFWhv.js';
1
+ import { S as StoryScope, g as SelectionMark, h as TransactOptions, a as StoryTargetRejection, b as TreeModelChange, c as HeaderFooterParts, d as HeaderFooterSectionResolution, I as InsertImageInput, i as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, j as FragmentPasteResult } from './tree-package-fragment-YPyYC1aD.js';
2
+ import { W as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage, Z as OoxmlElement, a as ReviewItem, a7 as RevisionAttributionInput } from './types-barrel-BO73JqHG.js';
3
+ import { S as SupportedImageMime, a as ImageDecodePort } from './image-resources-DfagDguq.js';
4
+ import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-Cy9imOjA.js';
5
+ import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-R9bzzepb.js';
6
6
  import { Node } from 'prosemirror-model';
7
7
  import { CollaborationDocumentPort } from './collaboration/replication.js';
8
8
  import { V as ViewScope } from './editor-scope-OHPwVQ5l.js';
@@ -132,7 +132,7 @@ interface DocumentStyleEntry {
132
132
  * Assumes the default `w:clrSchemeMapping` (bg1→lt1, t1→dk1, ...); a settings part
133
133
  * that remaps them is rare and a follow-up.
134
134
  */
135
- declare const PICKER_SLOTS: readonly ["lt1", "dk1", "lt2", "dk2", "accent1", "accent2", "accent3", "accent4", "accent5", "accent6"];
135
+ declare const PICKER_SLOTS: readonly ['lt1', 'dk1', 'lt2', 'dk2', 'accent1', 'accent2', 'accent3', 'accent4', 'accent5', 'accent6'];
136
136
  type ThemeColorSlot = (typeof PICKER_SLOTS)[number];
137
137
  /** One theme colour: the scheme slot and its resolved six-digit hex (no '#'). */
138
138
  interface DocumentThemeColorEntry {
@@ -570,6 +570,8 @@ interface TreeDocxSessionView extends HeadlessDocumentView {
570
570
  * growing a cache the session would have to bound.
571
571
  */
572
572
  findText(query: string, options?: DocumentSearchOptions): DocumentSearchResult;
573
+ /** Many queries in one walk of the document, one result per query in the same order. */
574
+ findText(queries: readonly string[], options?: DocumentSearchOptions): readonly DocumentSearchResult[];
573
575
  /**
574
576
  * The faces the package EMBEDS (`word/fontTable.xml` embed relationships),
575
577
  * deobfuscated — the only font source that needs neither a substitute nor a network.