@docx-editor.dev/core 2.7.0 → 2.8.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 (90) 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 +8 -7
  5. package/dist/binding.d.ts +8 -7
  6. package/dist/binding.js +1 -1
  7. package/dist/chunk-2WIXJ7CW.js +10 -0
  8. package/dist/chunk-5XKD3VFP.js +18 -0
  9. package/dist/{chunk-DTR64XCS.cjs → chunk-HCSWWXS2.cjs} +2 -2
  10. package/dist/chunk-HTJLSGBH.cjs +18 -0
  11. package/dist/{chunk-O4VILLOM.cjs → chunk-JEHWQPXS.cjs} +1 -1
  12. package/dist/chunk-KCJLRAKT.js +5 -0
  13. package/dist/chunk-KTL3UMPK.js +2 -0
  14. package/dist/chunk-M6ZIVJUA.cjs +2 -0
  15. package/dist/chunk-NU57YOQE.js +15 -0
  16. package/dist/chunk-RUS2YBWU.cjs +10 -0
  17. package/dist/chunk-TJEWP7MX.cjs +15 -0
  18. package/dist/chunk-UGUPVZDY.cjs +5 -0
  19. package/dist/{chunk-NDTLLSG7.js → chunk-XJRMFS6O.js} +1 -1
  20. package/dist/chunk-XN634HAC.js +2 -0
  21. package/dist/contracts/document.d.cts +25 -3
  22. package/dist/contracts/document.d.ts +25 -3
  23. package/dist/contracts/editor.d.cts +7 -7
  24. package/dist/contracts/editor.d.ts +7 -7
  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 +4 -3
  28. package/dist/contracts/modules.d.ts +4 -3
  29. package/dist/contracts/types.d.cts +101 -1
  30. package/dist/contracts/types.d.ts +101 -1
  31. package/dist/{custom-node-writes-BpOBjNzo.d.ts → custom-node-writes-BdVl-LAC.d.ts} +19 -4
  32. package/dist/{custom-node-writes-C_AlNvds.d.cts → custom-node-writes-Bu8JIqfA.d.cts} +19 -4
  33. package/dist/{editor-CXaGlcUa.d.cts → editor-CWlj33GH.d.cts} +78 -67
  34. package/dist/{editor-C--WWCBA.d.ts → editor-D52SD4jG.d.ts} +78 -67
  35. package/dist/editor.cjs +1 -1
  36. package/dist/editor.d.cts +63 -31
  37. package/dist/editor.d.ts +63 -31
  38. package/dist/editor.js +1 -1
  39. package/dist/{image-resources-Bkmu1Jei.d.cts → image-resources-BveffuKp.d.cts} +1 -1
  40. package/dist/{image-resources-BWd5u-op.d.ts → image-resources-D63k8w5f.d.ts} +1 -1
  41. package/dist/{index-QsE1xXyT.d.cts → index-39yzaZO_.d.cts} +1573 -1429
  42. package/dist/{index-DW0TsrYl.d.ts → index-ZuqIj0b9.d.ts} +1573 -1429
  43. package/dist/index.cjs +1 -1
  44. package/dist/index.d.cts +14 -14
  45. package/dist/index.d.ts +14 -14
  46. package/dist/index.js +1 -1
  47. package/dist/layout.cjs +1 -1
  48. package/dist/layout.d.cts +149 -21
  49. package/dist/layout.d.ts +149 -21
  50. package/dist/layout.js +1 -1
  51. package/dist/output.cjs +1 -1
  52. package/dist/output.d.cts +6 -5
  53. package/dist/output.d.ts +6 -5
  54. package/dist/output.js +1 -1
  55. package/dist/{review-reads-C5E7u-pt.d.ts → review-reads-B_pXe43J.d.ts} +1 -1
  56. package/dist/{review-reads-ChgUq41I.d.cts → review-reads-Bn7aZU4u.d.cts} +1 -1
  57. package/dist/{review-support-Cr2n7f1-.d.ts → review-support--I4ChuzF.d.ts} +1 -1
  58. package/dist/{review-support-oQrX6Xu3.d.cts → review-support-CG7aVSPh.d.cts} +1 -1
  59. package/dist/{semantic-cell-selection-CQOgvtbT.d.cts → semantic-cell-selection-C45Gn4K-.d.cts} +14 -2
  60. package/dist/{semantic-cell-selection-C8RC0VnN.d.ts → semantic-cell-selection-I-uAmi0q.d.ts} +14 -2
  61. package/dist/{semantic-interaction-C45D_oG2.d.ts → semantic-interaction-Bu_3IPaV.d.ts} +14 -2
  62. package/dist/{semantic-interaction-f4GyBQ_1.d.cts → semantic-interaction-DVUqu_47.d.cts} +14 -2
  63. package/dist/{semantic-paint-DUkGLJ_L.d.ts → semantic-paint-BKiiDJol.d.ts} +2 -2
  64. package/dist/{semantic-paint-BUt0ePEW.d.cts → semantic-paint-COQY0Lnq.d.cts} +2 -2
  65. package/dist/{semantic-records-DoW_xNgJ.d.ts → semantic-records-DHcMZM2-.d.ts} +22 -30
  66. package/dist/{semantic-records-CuT3Wsd-.d.cts → semantic-records-rAKWaD-1.d.cts} +22 -30
  67. package/dist/{shaped-measurer-CDcHzjhf.d.cts → shaped-measurer-BRL__nm2.d.cts} +1 -1
  68. package/dist/{shaped-measurer-CakZ7g1s.d.ts → shaped-measurer-Cw45Nu5R.d.ts} +1 -1
  69. package/dist/store.cjs +1 -1
  70. package/dist/store.d.cts +21 -9
  71. package/dist/store.d.ts +21 -9
  72. package/dist/store.js +1 -1
  73. package/dist/{tree-op-types-QujrzgCz.d.cts → tree-op-types-A-SLSKzK.d.cts} +54 -9
  74. package/dist/{tree-op-types-fZgbrR5F.d.ts → tree-op-types-BbzrA-kg.d.ts} +54 -9
  75. package/dist/{tree-session-5UWKAQ41.d.cts → tree-session-C2NsEgfW.d.cts} +41 -6
  76. package/dist/{tree-session--6LDTNjR.d.ts → tree-session-DeNJa86l.d.ts} +41 -6
  77. package/dist/{tree-store-Dy9FZ1pa.d.ts → tree-store-CKswbQl3.d.ts} +13 -1
  78. package/dist/{tree-store-DhYIACNE.d.cts → tree-store-Dob9Us6Y.d.cts} +13 -1
  79. package/package.json +2 -2
  80. package/dist/chunk-32HTRN7R.js +0 -10
  81. package/dist/chunk-BRBRYJKE.cjs +0 -2
  82. package/dist/chunk-EMQSFPJO.cjs +0 -15
  83. package/dist/chunk-GBK7Z6F4.cjs +0 -5
  84. package/dist/chunk-GPJXQDHC.js +0 -2
  85. package/dist/chunk-JLSB6KNZ.js +0 -5
  86. package/dist/chunk-LEV2X47E.cjs +0 -18
  87. package/dist/chunk-OB6JFVYA.js +0 -15
  88. package/dist/chunk-QTUZFJ4O.js +0 -18
  89. package/dist/chunk-UE7KTQLK.js +0 -2
  90. package/dist/chunk-WC3LI6FC.cjs +0 -10
package/dist/store.d.ts CHANGED
@@ -1,18 +1,19 @@
1
- import { e as ResourceLimits } from './image-resources-BWd5u-op.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-BWd5u-op.js';
1
+ import { e as ResourceLimits } from './image-resources-D63k8w5f.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-D63k8w5f.js';
3
3
  import { O as OoxmlPackage, R as RelationshipRecord } from './ooxml-package-D_CtywTW.js';
4
4
  export { C as ContentTypeError, c as ContentTypeIndex, d as ContentTypeRecords, D as DEFAULT_OOXML_PACKAGE_LIMITS, e as DEFAULT_ZIP_LIMITS, f as DefaultRecord, I as IMAGE_RELATIONSHIP_TYPE, g as ImageRelationshipResolution, h as IndexResult, N as NameRejection, i as NameResult, j as OoxmlExternalTarget, a as OoxmlPackageLimits, b as OoxmlPackageRejection, k as OoxmlPackageResult, l as OverrideRecord, m as RelationshipError, n as RelationshipSetResult, o as ResolveResult, p as ResolvedRelationship, T as TargetMode, Z as ZipLimits, q as ZipReadResult, r as ZipRejection, s as asciiFold, t as buildContentTypeIndex, u as buildRelationshipSet, v as detectDuplicateNames, w as extensionKey, x as isValidMime, y as normalizePartName, z as partNameKey, A as readOoxmlPackage, B as readZip, E as resolveContentType, F as resolveImageRelationship, G as resolveInternalTarget, H as resolveRelationship, J as validateExternalTarget, K as withPart, L as writeOoxmlPackage, M as writeZip } from './ooxml-package-D_CtywTW.js';
5
5
  import { e as OoxmlPart, O as OoxmlNode, r as OoxmlInvariantResult, a as OoxmlElement, s as OoxmlInvariantIssue, t as OoxmlHardBreakNode, f as OoxmlParagraphNode, u as OoxmlFldCharNode, v as OoxmlFldSimpleNode, w as OoxmlInstrTextNode, x as OoxmlAttribute } from './ooxml-tree-BU0e3DVi.js';
6
6
  export { y as OOXML_NODE_IDENTITY_RULES, z as OoxmlBodyNode, A as OoxmlBookmarkEndNode, B as OoxmlBookmarkStartNode, C as OoxmlContentControlCalendarNode, D as OoxmlContentControlCheckboxNode, E as OoxmlContentControlCheckedNode, F as OoxmlContentControlCheckedStateNode, G as OoxmlContentControlComboBoxNode, d as OoxmlContentControlContentNode, H as OoxmlContentControlDataBindingNode, I as OoxmlContentControlDateFormatNode, J as OoxmlContentControlDateNode, K as OoxmlContentControlDropDownListNode, p as OoxmlContentControlEndPropertiesNode, L as OoxmlContentControlLidNode, M as OoxmlContentControlListItemNode, b as OoxmlContentControlNode, q as OoxmlContentControlPropertiesNode, N as OoxmlContentControlStoreMappedDataAsNode, P as OoxmlContentControlTextNode, Q as OoxmlContentControlUncheckedStateNode, h as OoxmlContinuationSeparatorNode, R as OoxmlDocumentNode, i as OoxmlEndnotesNode, j as OoxmlFootnotesNode, c as OoxmlGenericElementNode, S as OoxmlGenericExtensionAttribute, T as OoxmlHyperlinkNode, U as OoxmlInvariantIssueCode, V as OoxmlKnownNodeAttribute, W as OoxmlNamespaceBinding, Y as OoxmlNodeId, Z as OoxmlNodeIdentityRules, g as OoxmlNoteNode, k as OoxmlNoteRefNode, l as OoxmlNoteReferenceNode, _ as OoxmlParagraphPropertiesNode, $ as OoxmlPartMetadata, n as OoxmlReadRejection, a0 as OoxmlReadResult, a1 as OoxmlRunNode, a2 as OoxmlRunPropertiesNode, m as OoxmlSeparatorNode, a3 as OoxmlTabNode, a4 as OoxmlTextElementNode, a5 as OoxmlTextNode, a6 as OoxmlWmlValAttribute, a7 as OoxmlXmlSpaceAttribute, a8 as WML_NAMESPACE_URI, a9 as XMLNS_NAMESPACE_URI, aa as XML_NAMESPACE_URI, X as XmlLimits, ab as XmlNode, ac as XmlRejection, ad as XmlResult, ae as childElements, af as findElement, ag as isContentRevisionKind, ah as isRangeMarkerKind, ai as readOnOffChild, aj as readOoxmlPart, ak as readXml, al as textContent } from './ooxml-tree-BU0e3DVi.js';
7
- 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-BpOBjNzo.js';
7
+ 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-BdVl-LAC.js';
8
8
  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-BdjsQNE_.js';
9
9
  export { c as collectFlowBlocks, d as contentControlContentOf, i as isContentControl, b as isContentControlContent, w as walkAllStoryParagraphs, e as walkParagraphInline, f as walkStoryBlocks } from './content-control-walk-D06GijR0.js';
10
- import { T as TreeDocOp, a as TreeOpRejection, q as TreeOpResult, O as OoxmlProperty, h as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-fZgbrR5F.js';
11
- export { A as ACCEPTED_PARAGRAPH_PROPERTIES, r as ACCEPTED_RUN_PROPERTIES, s as CONTENT_CONTROL_ID_MAX, t as CONTENT_CONTROL_PROPERTY_ORDER, u as ContentControlCheckbox, v as ContentControlCheckboxState, p as ContentControlDataBinding, w as ContentControlDateFormat, x as ContentControlEntry, C as ContentControlKind, n as ContentControlLevel, y as ContentControlListItem, o as ContentControlLock, z as ContentControlProperties, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, H as HYPERLINK_RELATIONSHIP_TYPE, B as HyperlinkKind, E as HyperlinkTarget, j as IMAGE_WRAP_TARGETS, M as MAX_CONTENT_CONTROLS_PER_PART, F as MAX_CONTENT_CONTROL_NESTING, G as OFFICE_RELATIONSHIP_NAMESPACE_URI, J as RelationshipTargetResolver, R as RevisionAddress, S as SourceCrop, K as TABLE_BORDER_STYLES, L as TREE_DOC_OP_KINDS, m as TableBorderStyle, N as TreeDocOpKind, P as TreeOpEffect, Q as allocateContentControlId, U as contentControlContentChildren, W as contentControlContentNodeOf, X as contentControlEndPropertiesNodeOf, Y as contentControlLevelOf, Z as contentControlPropertiesNodeOf, _ as contentControlPropertiesOf, $ as contentControlTextOf, a0 as contentControlsIn, a1 as findContentControl, a2 as flattenContentControls, a3 as hyperlinkAnchorOf, a4 as hyperlinkRelationshipIdOf, a5 as hyperlinkTargetOf, a6 as isContentControlContentNode, a7 as isContentControlNode, a8 as isContentControlWrapper, a9 as isHyperlinkNode, aa as lockForbidsEdit, ab as lockForbidsRemoval, ac as orderedContentControlProperties, ad as parseContentControlId, ae as projectDrawing, af as resolveContentControlLock } from './tree-op-types-fZgbrR5F.js';
10
+ import { T as TreeDocOp, a as TreeOpRejection, q as TreeOpResult, O as OoxmlProperty, h as DrawingTreeDocOp, I as ImpactClass, b as ImageWrapTarget } from './tree-op-types-BbzrA-kg.js';
11
+ export { A as ACCEPTED_PARAGRAPH_PROPERTIES, r as ACCEPTED_RUN_PROPERTIES, s as CONTENT_CONTROL_ID_MAX, t as CONTENT_CONTROL_PROPERTY_ORDER, u as ContentControlCheckbox, v as ContentControlCheckboxState, p as ContentControlDataBinding, w as ContentControlDateFormat, x as ContentControlEntry, C as ContentControlKind, n as ContentControlLevel, y as ContentControlListItem, o as ContentControlLock, z as ContentControlProperties, c as DrawingKind, e as DrawingLocks, d as DrawingPositionInput, H as HYPERLINK_RELATIONSHIP_TYPE, B as HyperlinkKind, E as HyperlinkTarget, m as IMAGE_WRAP_TARGETS, M as MAX_CONTENT_CONTROLS_PER_PART, F as MAX_CONTENT_CONTROL_NESTING, G as OFFICE_RELATIONSHIP_NAMESPACE_URI, J as RelationshipTargetResolver, R as RevisionAddress, S as SourceCrop, K as TABLE_BORDER_STYLES, L as TREE_DOC_OP_KINDS, N as TabStopWrite, k as TableBorderStyle, P as TreeDocOpKind, Q as TreeOpEffect, U as allocateContentControlId, W as contentControlContentChildren, X as contentControlContentNodeOf, Y as contentControlEndPropertiesNodeOf, Z as contentControlLevelOf, _ as contentControlPropertiesNodeOf, $ as contentControlPropertiesOf, a0 as contentControlTextOf, a1 as contentControlsIn, a2 as findContentControl, a3 as flattenContentControls, a4 as hyperlinkAnchorOf, a5 as hyperlinkRelationshipIdOf, a6 as hyperlinkTargetOf, a7 as isContentControlContentNode, a8 as isContentControlNode, a9 as isContentControlWrapper, aa as isHyperlinkNode, ab as lockForbidsEdit, ac as lockForbidsRemoval, ad as orderedContentControlProperties, ae as parseContentControlId, af as projectDrawing, ag as resolveContentControlLock } from './tree-op-types-BbzrA-kg.js';
12
12
  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-BPSTVDMr.js';
13
- export { A as AuthoredNoteProperties, C as CommentAnchor, b as CommentPosition, c as CommentRecord, d as CommentThreadState, D as DEFAULT_ENDNOTE_PROPERTIES, e as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, L as LinkableReviewItem, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, f as ReviewCommentItem, g as ReviewItem, h as ReviewModelInput, i as ReviewPosition, j as ReviewRange, k as ReviewRevisionItem, l as ReviewRevisionKind, W as W15_NAMESPACE_URI, m as authoredDocumentEndnoteProperties, n as authoredDocumentFootnoteProperties, o as authoredEndnotePropertiesFromSectPr, q as authoredFootnotePropertiesFromSectPr, r as collectReviewItems, s as commentAnchorsOfStory, t as commentBodyText, u as commentInitials, v as commentItemsOf, w as commentsOfPart, x as deepParagraphOrderOfPart, y as firstReviewRange, z as hasAnyComment, B as isLegalEndnotePosition, G as isLegalFootnotePosition, H as isLegalNumRestart, I as linkRevisionReplies, p as paragraphOrderOfPart, J as parseAuthoredNoteProperties, K as resolveEndnoteProperties, M as resolveFootnoteProperties, O as reviewItemKey, P as reviewItemRanges, Q as revisionItemsOf, S as settingsPartOf, T as threadStateOfPart } from './review-reads-C5E7u-pt.js';
14
- import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-Dy9FZ1pa.js';
15
- 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-Dy9FZ1pa.js';
13
+ export { A as AuthoredNoteProperties, C as CommentAnchor, b as CommentPosition, c as CommentRecord, d as CommentThreadState, D as DEFAULT_ENDNOTE_PROPERTIES, e as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, L as LinkableReviewItem, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, f as ReviewCommentItem, g as ReviewItem, h as ReviewModelInput, i as ReviewPosition, j as ReviewRange, k as ReviewRevisionItem, l as ReviewRevisionKind, W as W15_NAMESPACE_URI, m as authoredDocumentEndnoteProperties, n as authoredDocumentFootnoteProperties, o as authoredEndnotePropertiesFromSectPr, q as authoredFootnotePropertiesFromSectPr, r as collectReviewItems, s as commentAnchorsOfStory, t as commentBodyText, u as commentInitials, v as commentItemsOf, w as commentsOfPart, x as deepParagraphOrderOfPart, y as firstReviewRange, z as hasAnyComment, B as isLegalEndnotePosition, G as isLegalFootnotePosition, H as isLegalNumRestart, I as linkRevisionReplies, p as paragraphOrderOfPart, J as parseAuthoredNoteProperties, K as resolveEndnoteProperties, M as resolveFootnoteProperties, O as reviewItemKey, P as reviewItemRanges, Q as revisionItemsOf, S as settingsPartOf, T as threadStateOfPart } from './review-reads-B_pXe43J.js';
14
+ import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-CKswbQl3.js';
15
+ 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-CKswbQl3.js';
16
+ import './contracts/types.js';
16
17
 
17
18
  /**
18
19
  * Every kind of thing the registry gives a stable identity to.
@@ -1554,6 +1555,17 @@ interface OoxmlStoryRoot {
1554
1555
  * contains another story root.
1555
1556
  */
1556
1557
  declare function storyRootsOf(part: OoxmlPart): readonly OoxmlStoryRoot[];
1558
+ /**
1559
+ * Whether a part is SHAPED to hold stories — a body, a header, a footer, or a notes part.
1560
+ *
1561
+ * A shape test, deliberately not `storyRootsOf(part).length > 0`. That counts EDITABLE stories,
1562
+ * and a notes part holding nothing but `w:separator` and `w:continuationSeparator` has none —
1563
+ * which is the footnotes part Word writes into every document that ever held a footnote. A
1564
+ * caller asking "should I walk this part at all" that used the editable count skipped it
1565
+ * entirely, and the two callers that ask are a payload sweep and an export strip: both DELETE
1566
+ * what they conclude nothing names.
1567
+ */
1568
+ declare function isStoryPart(part: OoxmlPart): boolean;
1557
1569
  /** The main body story of a part, or null when the part holds none. */
1558
1570
  declare function bodyStoryRoot(part: OoxmlPart): OoxmlNode | null;
1559
1571
  /**
@@ -2235,4 +2247,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
2235
2247
  /** Whether an op is one of the drawing ops. Narrows the type. */
2236
2248
  declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
2237
2249
 
2238
- 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, 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, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, 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, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, 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, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
2250
+ 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, 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, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, 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, 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, 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-GPJXQDHC.js';export{nf as ACCEPTED_PARAGRAPH_PROPERTIES,mf as ACCEPTED_RUN_PROPERTIES,z as ALL_FROZEN_IDS,ag as AUTHORABLE_PARAGRAPH_PROPERTIES,bg as AUTHORABLE_RUN_PROPERTIES,H as BoundedCounter,u as CANONICAL_MUTATION_ORIGINS,he as CONTENT_CONTROL_ID_MAX,ze as CONTENT_CONTROL_PROPERTY_ORDER,ff as CUSTOM_NODE_XPATH_PREFIX,Se as CUSTOM_XML_PROPS_REL,Te as CUSTOM_XML_PROPS_TYPE,Re as CUSTOM_XML_REL,Q as DANGEROUS_KEYS,Ue as DATASTORE_NAMESPACE_URI,Cd as DEFAULT_ENDNOTE_PROPERTIES,Bd as DEFAULT_FOOTNOTE_PROPERTIES,E as DEFAULT_IMAGE_RESOURCE_LIMITS,B as DEFAULT_LIMITS,Kf as DEFAULT_MAX_EDITABLE_STORY_PARTS,xb as DEFAULT_OOXML_PACKAGE_LIMITS,Ma as DEFAULT_ZIP_LIMITS,y as DEPENDENCY_KEY_IDS,R as DangerousKeyError,ac as FIELD_ATOM_CHAR,A as HARD_CEILINGS,Qa as HYPERLINK_RELATIONSHIP_TYPE,M as IMAGE_RELATIONSHIP_TYPE,D as IMAGE_RESOURCE_HARD_CEILINGS,Xa as IMAGE_WRAP_TARGETS,_ as INERT_EXECUTABLE_KINDS,G as LimitExceededError,ge as MAX_CONTENT_CONTROLS_PER_PART,fe as MAX_CONTENT_CONTROL_NESTING,Wf as MAX_CUSTOM_NODE_LABEL_LENGTH,Vf as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,xd as MAX_NOTES_PER_PART,Wd as MAX_NOTE_REFERENCE_PARTS,Vd as MAX_NOTE_REFERENCE_SCAN,Ce as MAX_STORY_SDT_NESTING,ib as MAX_SVG_SNIFF_BYTES,v as NON_CANONICAL_ORIGINS,_c as NOTE_ATOM_CHAR,cd as NOTE_CONTINUATION_SEPARATOR_ID,ad as NOTE_ID_MAX,$c as NOTE_ID_MIN,bd as NOTE_SEPARATOR_ID,Pa as OFFICE_RELATIONSHIP_NAMESPACE_URI,Aa as OOXML_NODE_IDENTITY_RULES,t as ORIGIN_IDS,Xb as PAGE_BREAK_CHAR,ka as PrefixAllocator,w as RESULT_IDS,x as RUNTIME_PORT_IDS,Cg as SEARCH_MATCH_LIMIT,Bg as SEARCH_QUERY_MAX,uf as TABLE_BORDER_STYLES,Dc as TOC_LEVEL_INDENT_TWIPS,wc as TOC_MAX_BOOKMARKS_PER_REFRESH,vc as TOC_MAX_ENTRIES,xc as TOC_MAX_FIELD_NESTING,uc as TOC_MAX_INSTRUCTION_CHARS,yc as TOC_MAX_PAGE_PASSES,of as TREE_DOC_OP_KINDS,Jf as TreeDocumentStore,Lf as TreePackageStore,Ie as W15_NAMESPACE_URI,ma as WML_NAMESPACE_URI,oa as XMLNS_NAMESPACE_URI,na as XML_NAMESPACE_URI,Qf as addComment,Be as allocateContentControlId,tb as allocateDrawingPropertyId,yd as allocateNoteId,La as applyEdits,Zc as applyHeaderFooterLifecycleOp,de as applyNoteLifecycleOp,Ff as applyTreeOp,o as asciiFold,ja as assertValidQName,sc as atomicFieldSpansOf,wd as atomicNoteSpansOf,Vc as authorableHyperlinkTarget,Id as authoredDocumentEndnoteProperties,Hd as authoredDocumentFootnoteProperties,Fd as authoredEndnotePropertiesFromSectPr,Ed as authoredFootnotePropertiesFromSectPr,eg as authoredProperties,Ee as bodyStoryRoot,Jc as bookmarkPairNodes,jf as boundCustomXmlNodeIdOf,hf as boundCustomXmlNodeIds,if as boundCustomXmlNodeIdsInPackage,Cc as buildBookmarkIndex,K as buildContentTypeIndex,N as buildRelationshipSet,Gc as buildTocContentControl,Fc as buildTocEntryParagraph,xa as canonicalOoxmlFingerprint,ee as cascadeDeletedNoteReferences,Qe as cascadeEmptiedComments,fa as childElements,Pb as collectFlowBlocks,Ca as collectNodeIds,Zd as collectNoteReferences,_d as collectPackageNoteReferences,vg as collectReviewItems,kf as collectRevisionSites,Tb as collectSectionPropertyNodes,Ge as collectStoryParagraphs,Je as commentAnchorsOfStory,rg as commentBodyText,sg as commentInitials,ug as commentItemsOf,Tf as commentPartNameOf,Uf as commentsExtendedPartNameOf,Ke as commentsOfPart,Z as containsCssFetch,le as contentControlContentChildren,pe as contentControlContentNodeOf,Nb as contentControlContentOf,oe as contentControlEndPropertiesNodeOf,se as contentControlLevelOf,ne as contentControlPropertiesNodeOf,re as contentControlPropertiesOf,ve as contentControlTextOf,te as contentControlsIn,Bb as contentTypesPartBytes,sb as createImageResourceCache,Da as createNodeIdAllocator,Xd as createNoteReferenceScanBudget,td as customMarkFollows,gf as customNodeBinding,_f as customNodePayloadsByControl,$f as customNodePayloadsOf,We as customXmlDataParts,df as customXmlLabelXPath,_e as customXmlNodes,ef as customXmlPrefixMappings,Ve as datastoreItemIdFor,yg as deepParagraphOrderOfPart,Ne as deleteCommentThread,Mc as deriveOoxmlIndexes,Ac as detectBodyTocs,q as detectDuplicateNames,$d as diagnoseNoteReferences,gg as directParagraphMarkProperties,fg as directParagraphProperties,Bf as drawingOpImpact,Wc as ensureHyperlinkRelationship,Y as escapeCssString,W as escapeXml,J as extensionKey,mc as fieldAtomText,lc as fieldOnOffAttribute,ue as findContentControl,Xe as findCustomXmlDataPart,Bc as findDetectedToc,ea as findElement,Fa as findNode,Ad as findNoteById,Gg as findOccurrences,Ag as firstReviewRange,me as flattenContentControls,bc as fldCharType,kc as fldSimpleInstr,Pc as fnv1a32,Dg as foldCase,ed as formatNoteScopeId,kg as formatOwnedRunIds,$b as hardBreakAttributes,Yb as hardBreakKind,_b as hardBreakText,Me as hasAnyComment,jb as hasBoundedSvgRoot,Sf as hasCommentPart,oc as hasLegacyFormFieldData,Ea as hasNode,Sa as hyperlinkAnchorOf,Ta as hyperlinkRelationshipIdOf,Ua as hyperlinkTargetOf,rb as imageResourceLookupFor,Kc as indexStyles,Td as inlineControlEndingAt,Ud as inlineControlStartingAt,Ia as insertChildren,Xf as insertCustomNodeWrite,jc as instrTextValue,cg as isAuthorableRunProperty,Lb as isContentControl,Mb as isContentControlContent,je as isContentControlContentNode,ie as isContentControlNode,ke as isContentControlWrapper,ra as isContentRevisionKind,md as isContinuationSeparatorNode,S as isDangerousKey,Ef as isDrawingTreeDocOp,hd as isEndnotesNode,aa as isEvaluableField,nc as isFieldChrome,fc as isFldChar,cc as isFldCharNode,ic as isFldSimple,ec as isFldSimpleNode,gd as isFootnotesNode,Yc as isHeaderFooterLifecycleOp,Ra as isHyperlinkNode,$ as isInertExecutable,gc as isInstrText,dc as isInstrTextNode,Ld as isLegalEndnotePosition,tc as isLegalFldCharType,Md as isLegalFootnotePosition,Nd as isLegalNumRestart,qd as isNormalNote,vd as isNoteAtomNode,ce as isNoteLifecycleOp,id as isNoteNode,kd as isNoteRefNode,jd as isNoteReferenceNode,Zb as isPageBreakNode,sa as isRangeMarkerKind,Fg as isSearchableQuery,ld as isSeparatorNode,I as isValidMime,ha as isValidNCName,Nc as isValidParaId,ia as isValidQName,Eg as isWholeWord,wg as linkRevisionReplies,qb as liveDrawingReferenceCount,pg as locateSites,xe as lockForbidsEdit,ye as lockForbidsRemoval,ig as mergedFontProperty,lg as mergedMultiSettingProperty,mg as mergedParagraphMarkProperties,hg as mergedProperties,Qc as mintParaId,Tc as mintedParagraphIdentityAttributes,be as normalNoteIds,Uc as normalizeParagraphIdentity,m as normalizePartName,ud as noteAtomText,od as noteIdOf,nd as noteKindOf,sd as noteRefKindOf,rd as noteReferenceKindOf,pd as noteTypeOf,zd as notesOf,ae as notesPartHasId,T as nullRecord,ya as ooxmlTreesEqual,Ae as orderedContentControlProperties,Oc as paraIdOf,Sd as paragraphOffsetIndex,xg as paragraphOrderOfPart,Gf as paragraphTextOf,Ga as parentNodeOf,Dd as parseAuthoredNoteProperties,qe as parseContentControlId,dd as parseNoteId,fd as parseNoteScopeId,zc as parseTocInstruction,p as partNameKey,Ic as planTocEntries,cb as projectDrawing,dg as propertyContainer,$e as readCustomXmlNode,ta as readOnOffChild,yb as readOoxmlPackage,Ba as readOoxmlPart,da as readXml,Na as readZip,Xc as relationshipTargetIn,Cb as relationshipsOf,Eb as relsPartNameFor,Yf as removeCustomNodeWrite,Ka as removeNode,Ha as replaceChildren,Ja as replaceNode,we as resolveContentControlLock,L as resolveContentType,Db as resolveContentTypeOf,Kd as resolveEndnoteProperties,Jd as resolveFootnoteProperties,Wb as resolveHeaderFooterParts,Vb as resolveHeaderFooterPartsBySection,Ub as resolveHeaderFooterResolutionBySection,P as resolveImageRelationship,F as resolveImageResourceLimits,r as resolveInternalTarget,C as resolveLimits,Yd as resolveNotesPart,O as resolveRelationship,qg as reviewItemKey,zg as reviewItemRanges,tg as revisionItemsOf,jg as runAddressRanges,ng as runPropertyEdits,og as runsCovering,V as sanitizeHref,ba as scrubExport,Rd as segmentsOf,ua as serializeOoxmlPart,Rf as setCommentResolved,Gd as settingsPartOf,kb as sniffImageMime,Fe as storyParagraphs,De as storyRootsOf,Lc as stylesPartOf,Zf as sweepCustomNodePayloads,ga as textContent,Le as threadStateOfPart,U as toSafeRecord,Hc as tocEntryText,Ec as tocLeftIndentTwips,Rc as usedParaIds,Cf as validateDrawingOp,s as validateExternalTarget,mb as validateGifHeader,nb as validateJpegHeader,za as validateOoxmlPart,Jb as validatePackageInvariants,lb as validatePngHeader,pb as validateRasterHeader,If as validateTreeOp,Sc as w14RootPrefix,Rb as walkAllStoryParagraphs,Sb as walkParagraphInline,Qb as walkStoryBlocks,ub as withBinaryPart,Fb as withContentTypeOverride,Ye as withCustomXmlDataPart,af as withCustomXmlNode,vb as withEmbeddedImage,Ib as withNewPart,Ab as withPart,Hb as withRelationship,Ze as withoutCustomXmlDataPart,bf as withoutCustomXmlNode,cf as withoutOrphanCustomXmlNodes,wb as withoutUnreferencedImagePart,Df as wrapTargetToAnchorSpec,zb as writeOoxmlPackage,Oa as writeZip}from'./chunk-32HTRN7R.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,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-XN634HAC.js';export{Ff as ACCEPTED_PARAGRAPH_PROPERTIES,Ef as ACCEPTED_RUN_PROPERTIES,z as ALL_FROZEN_IDS,bg as AUTHORABLE_PARAGRAPH_PROPERTIES,cg as AUTHORABLE_RUN_PROPERTIES,H as BoundedCounter,u as CANONICAL_MUTATION_ORIGINS,he as CONTENT_CONTROL_ID_MAX,ze as CONTENT_CONTROL_PROPERTY_ORDER,gf as CUSTOM_NODE_XPATH_PREFIX,Te as CUSTOM_XML_PROPS_REL,Ue as CUSTOM_XML_PROPS_TYPE,Se as CUSTOM_XML_REL,Q as DANGEROUS_KEYS,Ve as DATASTORE_NAMESPACE_URI,Cd as DEFAULT_ENDNOTE_PROPERTIES,Bd as DEFAULT_FOOTNOTE_PROPERTIES,E as DEFAULT_IMAGE_RESOURCE_LIMITS,B as DEFAULT_LIMITS,Lf as DEFAULT_MAX_EDITABLE_STORY_PARTS,xb as DEFAULT_OOXML_PACKAGE_LIMITS,Ma as DEFAULT_ZIP_LIMITS,y as DEPENDENCY_KEY_IDS,R as DangerousKeyError,ac as FIELD_ATOM_CHAR,A as HARD_CEILINGS,Qa as HYPERLINK_RELATIONSHIP_TYPE,M as IMAGE_RELATIONSHIP_TYPE,D as IMAGE_RESOURCE_HARD_CEILINGS,Xa as IMAGE_WRAP_TARGETS,_ as INERT_EXECUTABLE_KINDS,G as LimitExceededError,ge as MAX_CONTENT_CONTROLS_PER_PART,fe as MAX_CONTENT_CONTROL_NESTING,Xf as MAX_CUSTOM_NODE_LABEL_LENGTH,Wf as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,xd as MAX_NOTES_PER_PART,Wd as MAX_NOTE_REFERENCE_PARTS,Vd as MAX_NOTE_REFERENCE_SCAN,Ce as MAX_STORY_SDT_NESTING,ib as MAX_SVG_SNIFF_BYTES,v as NON_CANONICAL_ORIGINS,_c as NOTE_ATOM_CHAR,cd as NOTE_CONTINUATION_SEPARATOR_ID,ad as NOTE_ID_MAX,$c as NOTE_ID_MIN,bd as NOTE_SEPARATOR_ID,Pa as OFFICE_RELATIONSHIP_NAMESPACE_URI,Aa as OOXML_NODE_IDENTITY_RULES,t as ORIGIN_IDS,Xb as PAGE_BREAK_CHAR,ka as PrefixAllocator,w as RESULT_IDS,x as RUNTIME_PORT_IDS,Dg as SEARCH_MATCH_LIMIT,Cg as SEARCH_QUERY_MAX,sf as TABLE_BORDER_STYLES,Dc as TOC_LEVEL_INDENT_TWIPS,wc as TOC_MAX_BOOKMARKS_PER_REFRESH,vc as TOC_MAX_ENTRIES,xc as TOC_MAX_FIELD_NESTING,uc as TOC_MAX_INSTRUCTION_CHARS,yc as TOC_MAX_PAGE_PASSES,Gf as TREE_DOC_OP_KINDS,Kf as TreeDocumentStore,Mf as TreePackageStore,Je as W15_NAMESPACE_URI,ma as WML_NAMESPACE_URI,oa as XMLNS_NAMESPACE_URI,na as XML_NAMESPACE_URI,Rf as addComment,Be as allocateContentControlId,tb as allocateDrawingPropertyId,yd as allocateNoteId,La as applyEdits,Zc as applyHeaderFooterLifecycleOp,de as applyNoteLifecycleOp,If as applyTreeOp,o as asciiFold,ja as assertValidQName,sc as atomicFieldSpansOf,wd as atomicNoteSpansOf,Vc as authorableHyperlinkTarget,Id as authoredDocumentEndnoteProperties,Hd as authoredDocumentFootnoteProperties,Fd as authoredEndnotePropertiesFromSectPr,Ed as authoredFootnotePropertiesFromSectPr,fg as authoredProperties,Fe as bodyStoryRoot,Jc as bookmarkPairNodes,kf as boundCustomXmlNodeIdOf,if as boundCustomXmlNodeIds,jf as boundCustomXmlNodeIdsInPackage,Cc as buildBookmarkIndex,K as buildContentTypeIndex,N as buildRelationshipSet,Gc as buildTocContentControl,Fc as buildTocEntryParagraph,xa as canonicalOoxmlFingerprint,ee as cascadeDeletedNoteReferences,Re as cascadeEmptiedComments,fa as childElements,Pb as collectFlowBlocks,Ca as collectNodeIds,Zd as collectNoteReferences,_d as collectPackageNoteReferences,wg as collectReviewItems,lf as collectRevisionSites,Tb as collectSectionPropertyNodes,He as collectStoryParagraphs,Ke as commentAnchorsOfStory,sg as commentBodyText,tg as commentInitials,vg as commentItemsOf,Uf as commentPartNameOf,Vf as commentsExtendedPartNameOf,Le as commentsOfPart,Z as containsCssFetch,le as contentControlContentChildren,pe as contentControlContentNodeOf,Nb as contentControlContentOf,oe as contentControlEndPropertiesNodeOf,se as contentControlLevelOf,ne as contentControlPropertiesNodeOf,re as contentControlPropertiesOf,ve as contentControlTextOf,te as contentControlsIn,Bb as contentTypesPartBytes,sb as createImageResourceCache,Da as createNodeIdAllocator,Xd as createNoteReferenceScanBudget,td as customMarkFollows,hf as customNodeBinding,$f as customNodePayloadsByControl,ag as customNodePayloadsOf,Xe as customXmlDataParts,ef as customXmlLabelXPath,$e as customXmlNodes,ff as customXmlPrefixMappings,We as datastoreItemIdFor,zg as deepParagraphOrderOfPart,Oe as deleteCommentThread,Mc as deriveOoxmlIndexes,Ac as detectBodyTocs,q as detectDuplicateNames,$d as diagnoseNoteReferences,hg as directParagraphMarkProperties,gg as directParagraphProperties,Af as drawingOpImpact,Wc as ensureHyperlinkRelationship,Y as escapeCssString,W as escapeXml,J as extensionKey,mc as fieldAtomText,lc as fieldOnOffAttribute,ue as findContentControl,Ye as findCustomXmlDataPart,Bc as findDetectedToc,ea as findElement,Fa as findNode,Ad as findNoteById,Hg as findOccurrences,Bg as firstReviewRange,me as flattenContentControls,bc as fldCharType,kc as fldSimpleInstr,Pc as fnv1a32,Eg as foldCase,ed as formatNoteScopeId,lg as formatOwnedRunIds,$b as hardBreakAttributes,Yb as hardBreakKind,_b as hardBreakText,Ne as hasAnyComment,jb as hasBoundedSvgRoot,Tf as hasCommentPart,oc as hasLegacyFormFieldData,Ea as hasNode,Sa as hyperlinkAnchorOf,Ta as hyperlinkRelationshipIdOf,Ua as hyperlinkTargetOf,rb as imageResourceLookupFor,Kc as indexStyles,Td as inlineControlEndingAt,Ud as inlineControlStartingAt,Ia as insertChildren,Yf as insertCustomNodeWrite,jc as instrTextValue,dg as isAuthorableRunProperty,Lb as isContentControl,Mb as isContentControlContent,je as isContentControlContentNode,ie as isContentControlNode,ke as isContentControlWrapper,ra as isContentRevisionKind,md as isContinuationSeparatorNode,S as isDangerousKey,Df as isDrawingTreeDocOp,hd as isEndnotesNode,aa as isEvaluableField,nc as isFieldChrome,fc as isFldChar,cc as isFldCharNode,ic as isFldSimple,ec as isFldSimpleNode,gd as isFootnotesNode,Yc as isHeaderFooterLifecycleOp,Ra as isHyperlinkNode,$ as isInertExecutable,gc as isInstrText,dc as isInstrTextNode,Ld as isLegalEndnotePosition,tc as isLegalFldCharType,Md as isLegalFootnotePosition,Nd as isLegalNumRestart,qd as isNormalNote,vd as isNoteAtomNode,ce as isNoteLifecycleOp,id as isNoteNode,kd as isNoteRefNode,jd as isNoteReferenceNode,Zb as isPageBreakNode,sa as isRangeMarkerKind,Gg as isSearchableQuery,ld as isSeparatorNode,Ee as isStoryPart,I as isValidMime,ha as isValidNCName,Nc as isValidParaId,ia as isValidQName,Fg as isWholeWord,xg as linkRevisionReplies,qb as liveDrawingReferenceCount,qg as locateSites,xe as lockForbidsEdit,ye as lockForbidsRemoval,jg as mergedFontProperty,mg as mergedMultiSettingProperty,ng as mergedParagraphMarkProperties,ig as mergedProperties,Qc as mintParaId,Tc as mintedParagraphIdentityAttributes,be as normalNoteIds,Uc as normalizeParagraphIdentity,m as normalizePartName,ud as noteAtomText,od as noteIdOf,nd as noteKindOf,sd as noteRefKindOf,rd as noteReferenceKindOf,pd as noteTypeOf,zd as notesOf,ae as notesPartHasId,T as nullRecord,ya as ooxmlTreesEqual,Ae as orderedContentControlProperties,Oc as paraIdOf,Sd as paragraphOffsetIndex,yg as paragraphOrderOfPart,Jf as paragraphTextOf,Ga as parentNodeOf,Dd as parseAuthoredNoteProperties,qe as parseContentControlId,dd as parseNoteId,fd as parseNoteScopeId,zc as parseTocInstruction,p as partNameKey,Ic as planTocEntries,cb as projectDrawing,eg as propertyContainer,af as readCustomXmlNode,ta as readOnOffChild,yb as readOoxmlPackage,Ba as readOoxmlPart,da as readXml,Na as readZip,Xc as relationshipTargetIn,Cb as relationshipsOf,Eb as relsPartNameFor,Zf as removeCustomNodeWrite,Ka as removeNode,Ha as replaceChildren,Ja as replaceNode,we as resolveContentControlLock,L as resolveContentType,Db as resolveContentTypeOf,Kd as resolveEndnoteProperties,Jd as resolveFootnoteProperties,Wb as resolveHeaderFooterParts,Vb as resolveHeaderFooterPartsBySection,Ub as resolveHeaderFooterResolutionBySection,P as resolveImageRelationship,F as resolveImageResourceLimits,r as resolveInternalTarget,C as resolveLimits,Yd as resolveNotesPart,O as resolveRelationship,rg as reviewItemKey,Ag as reviewItemRanges,ug as revisionItemsOf,kg as runAddressRanges,og as runPropertyEdits,pg as runsCovering,V as sanitizeHref,ba as scrubExport,Rd as segmentsOf,ua as serializeOoxmlPart,Sf as setCommentResolved,Gd as settingsPartOf,kb as sniffImageMime,Ge as storyParagraphs,De as storyRootsOf,Lc as stylesPartOf,_f as sweepCustomNodePayloads,ga as textContent,Me as threadStateOfPart,U as toSafeRecord,Hc as tocEntryText,Ec as tocLeftIndentTwips,Rc as usedParaIds,Bf as validateDrawingOp,s as validateExternalTarget,mb as validateGifHeader,nb as validateJpegHeader,za as validateOoxmlPart,Jb as validatePackageInvariants,lb as validatePngHeader,pb as validateRasterHeader,Hf as validateTreeOp,Sc as w14RootPrefix,Rb as walkAllStoryParagraphs,Sb as walkParagraphInline,Qb as walkStoryBlocks,ub as withBinaryPart,Fb as withContentTypeOverride,Ze as withCustomXmlDataPart,bf as withCustomXmlNode,vb as withEmbeddedImage,Ib as withNewPart,Ab as withPart,Hb as withRelationship,_e as withoutCustomXmlDataPart,cf as withoutCustomXmlNode,df as withoutOrphanCustomXmlNodes,wb as withoutUnreferencedImagePart,Cf as wrapTargetToAnchorSpec,zb as writeOoxmlPackage,Oa as writeZip}from'./chunk-2WIXJ7CW.js';
@@ -1,3 +1,4 @@
1
+ import { ParagraphTabStop } from './contracts/types.cjs';
1
2
  import { O as OoxmlNode, a as OoxmlElement, o as OoxmlDrawingNode, b as OoxmlContentControlNode, d as OoxmlContentControlContentNode, p as OoxmlContentControlEndPropertiesNode, q as OoxmlContentControlPropertiesNode, e as OoxmlPart } from './ooxml-tree-BU0e3DVi.cjs';
2
3
 
3
4
  /** The relationship namespace `r:id` lives in. */
@@ -562,7 +563,14 @@ type ContentControlValueInput = {
562
563
  };
563
564
  /** The control types an insertion may author. Picture and repeating section are deferred. */
564
565
  declare const INSERTABLE_CONTENT_CONTROL_TYPES: readonly ["richText", "plainText", "dropDownList", "comboBox", "date"];
565
- type InsertableContentControlType = (typeof INSERTABLE_CONTENT_CONTROL_TYPES)[number];
566
+ /**
567
+ * The OOXML spellings the store writes.
568
+ *
569
+ * NOT the contract's `InsertableContentControlType`, which is the same set of kinds in the
570
+ * READ vocabulary (`dropdown`) plus this lane's spelling of it (`dropDownList`). The editor
571
+ * maps between the two; the names differ so a reader can tell which vocabulary a value is in.
572
+ */
573
+ type InsertableContentControlKind = (typeof INSERTABLE_CONTENT_CONTROL_TYPES)[number];
566
574
 
567
575
  /** Allowlisted OOXML table border line styles — store/layout authority. */
568
576
  declare const TABLE_BORDER_STYLES: readonly ["single", "dashed", "dotted", "double", "triple", "thick"];
@@ -618,16 +626,21 @@ interface TableBorderSpecInput {
618
626
  */
619
627
  declare const ACCEPTED_RUN_PROPERTIES: readonly ["rFonts", "sz", "szCs", "color", "b", "bCs", "i", "iCs", "u", "strike", "dstrike", "highlight", "vertAlign", "position", "caps", "smallCaps", "spacing", "w", "kern"];
620
628
  /** The accepted PARAGRAPH property boundary (design D8). */
621
- declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "shd"];
629
+ declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "contextualSpacing", "shd"];
630
+ /**
631
+ * One tab stop an op can author: where it sits, how it aligns, and what fills the gap.
632
+ *
633
+ * An alias, not a second declaration. The contract lane already names this shape, and two
634
+ * public names for one shape is a trap — a caller building a stop for a read and for an op
635
+ * would otherwise have to name it two things.
636
+ */
637
+ type TabStopWrite = ParagraphTabStop;
622
638
  /**
623
639
  * One authored property: an element name plus its `w:`-namespace attributes.
624
640
  *
625
641
  * Modeled as name+attributes rather than a typed record per property because that is what
626
642
  * the tree holds, so an op maps to nodes without a lossy intermediate vocabulary. Attribute
627
643
  * VALUES are validated as XML text; their meaning is the resolver's business.
628
- */
629
- /**
630
- * One property an op writes, as a name plus attributes.
631
644
  *
632
645
  * Deliberately structural rather than a typed union: the accepted property lists bound WHICH
633
646
  * properties may be written, so the shape itself does not need to enumerate them.
@@ -845,6 +858,29 @@ type TreeDocOp = {
845
858
  readonly paragraphId: string;
846
859
  readonly numId: string | null;
847
860
  readonly level?: number;
861
+ } | {
862
+ /**
863
+ * Replace a paragraph's custom tab stops, or clear them with an empty list.
864
+ *
865
+ * Its OWN op rather than a `w:tabs` entry in `setParagraphProperties`, because
866
+ * `OoxmlProperty` is flat and `w:tabs` carries its meaning in `w:tab` children — the
867
+ * same reason `setListNumbering` exists for `w:numPr`.
868
+ */
869
+ readonly op: 'setParagraphTabStops';
870
+ readonly paragraphId: string;
871
+ readonly stops: readonly TabStopWrite[];
872
+ /**
873
+ * Every stop position IN FORCE when the editor read the paragraph, including the
874
+ * ones a style supplied.
875
+ *
876
+ * Tab stops are read through the cascade and written at the paragraph level, so a
877
+ * replace alone cannot remove an inherited stop — the user clears a row, the style
878
+ * puts it straight back, and the command reports success. A position that was in
879
+ * force and is not in `stops` is suppressed with `w:val="clear"`, which is what the
880
+ * value exists for (§17.3.1.37). Omit when the caller has no cascade to speak of;
881
+ * the write is then a plain paragraph-level replace.
882
+ */
883
+ readonly inForcePositionsTwips?: readonly number[];
848
884
  } | {
849
885
  readonly op: 'splitParagraph';
850
886
  readonly paragraphId: string;
@@ -1261,7 +1297,7 @@ type TreeDocOp = {
1261
1297
  readonly paragraphId: string;
1262
1298
  readonly start: number;
1263
1299
  readonly end: number;
1264
- readonly type: InsertableContentControlType;
1300
+ readonly type: InsertableContentControlKind;
1265
1301
  readonly tag?: string;
1266
1302
  readonly alias?: string;
1267
1303
  readonly lock?: ContentControlLock;
@@ -1370,7 +1406,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
1370
1406
  /** Just the `op` discriminants, for dispatch tables and validation. */
1371
1407
  type TreeDocOpKind = TreeDocOp['op'];
1372
1408
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
1373
- declare const TREE_DOC_OP_KINDS: readonly ["insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setListLevel", "setListNumbering", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
1409
+ declare const TREE_DOC_OP_KINDS: readonly ["insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
1374
1410
  /**
1375
1411
  * How far a committed op can reach, so layout can scope its work (task 5.2).
1376
1412
  *
@@ -1421,7 +1457,16 @@ interface TreeOpEffect {
1421
1457
  * `not-adjacent-siblings` is the notable one: a join across table cells is refused rather than
1422
1458
  * silently merging content out of the cell that owned it.
1423
1459
  */
1424
- type TreeOpRejection = 'unknown-op' | 'unknown-paragraph' | 'not-a-paragraph' | 'offset-out-of-range' | 'invalid-range' | 'not-a-list-paragraph' | 'splits-surrogate-pair' | 'invalid-text' | 'unsupported-property' | 'invalid-property-value' | 'not-adjacent-siblings' | 'unknown-block' | 'not-a-block' | 'block-required' | 'carries-section-mark'
1460
+ type TreeOpRejection = 'unknown-op' | 'unknown-paragraph' | 'not-a-paragraph' | 'offset-out-of-range' | 'invalid-range' | 'not-a-list-paragraph' | 'splits-surrogate-pair' | 'invalid-text' | 'unsupported-property' | 'invalid-property-value' | 'not-adjacent-siblings'
1461
+ /**
1462
+ * The addressed position is strictly inside content nothing can divide: a hyperlink, an
1463
+ * inline content control, a revision wrapper, or an atomic field.
1464
+ *
1465
+ * Distinct from `invalid-range`, which is an offset the paragraph does not have. This one is
1466
+ * a real offset that is not a PLACE — refused rather than resolved to the nearest one, so a
1467
+ * caller learns the node would not have landed where they asked.
1468
+ */
1469
+ | 'indivisible-content' | 'unknown-block' | 'not-a-block' | 'block-required' | 'carries-section-mark'
1425
1470
  /** The transaction named a part the package does not hold. */
1426
1471
  | 'unknown-part'
1427
1472
  /**
@@ -1496,4 +1541,4 @@ type TreeOpResult = {
1496
1541
  readonly detail?: string;
1497
1542
  };
1498
1543
 
1499
- export { contentControlTextOf as $, ACCEPTED_PARAGRAPH_PROPERTIES as A, type HyperlinkKind as B, type ContentControlKind as C, type DrawingProjection as D, type HyperlinkTarget as E, MAX_CONTENT_CONTROL_NESTING as F, OFFICE_RELATIONSHIP_NAMESPACE_URI as G, HYPERLINK_RELATIONSHIP_TYPE as H, type ImpactClass as I, type RelationshipTargetResolver as J, TABLE_BORDER_STYLES as K, TREE_DOC_OP_KINDS as L, MAX_CONTENT_CONTROLS_PER_PART as M, type TreeDocOpKind as N, type OoxmlProperty as O, type TreeOpEffect as P, allocateContentControlId as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, contentControlContentChildren as U, type VectorShapeProjection as V, contentControlContentNodeOf as W, contentControlEndPropertiesNodeOf as X, contentControlLevelOf as Y, contentControlPropertiesNodeOf as Z, contentControlPropertiesOf as _, type TreeOpRejection as a, contentControlsIn as a0, findContentControl as a1, flattenContentControls as a2, hyperlinkAnchorOf as a3, hyperlinkRelationshipIdOf as a4, hyperlinkTargetOf as a5, isContentControlContentNode as a6, isContentControlNode as a7, isContentControlWrapper as a8, isHyperlinkNode as a9, lockForbidsEdit as aa, lockForbidsRemoval as ab, orderedContentControlProperties as ac, parseContentControlId as ad, projectDrawing as ae, resolveContentControlLock as af, type ImageWrapTarget as b, type DrawingKind as c, type DrawingPositionInput as d, type DrawingLocks as e, type DrawingHorizontalReferenceFrame as f, type DrawingVerticalReferenceFrame as g, type DrawingTreeDocOp as h, type TreeDocColorValue as i, IMAGE_WRAP_TARGETS as j, type DrawingAccessibility as k, type DrawingTransform as l, type TableBorderStyle as m, type ContentControlLevel as n, type ContentControlLock as o, type ContentControlDataBinding as p, type TreeOpResult as q, ACCEPTED_RUN_PROPERTIES as r, CONTENT_CONTROL_ID_MAX as s, CONTENT_CONTROL_PROPERTY_ORDER as t, type ContentControlCheckbox as u, type ContentControlCheckboxState as v, type ContentControlDateFormat as w, type ContentControlEntry as x, type ContentControlListItem as y, type ContentControlProperties as z };
1544
+ export { contentControlPropertiesOf as $, ACCEPTED_PARAGRAPH_PROPERTIES as A, type HyperlinkKind as B, type ContentControlKind as C, type DrawingProjection as D, type HyperlinkTarget as E, MAX_CONTENT_CONTROL_NESTING as F, OFFICE_RELATIONSHIP_NAMESPACE_URI as G, HYPERLINK_RELATIONSHIP_TYPE as H, type ImpactClass as I, type RelationshipTargetResolver as J, TABLE_BORDER_STYLES as K, TREE_DOC_OP_KINDS as L, MAX_CONTENT_CONTROLS_PER_PART as M, type TabStopWrite as N, type OoxmlProperty as O, type TreeDocOpKind as P, type TreeOpEffect as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, allocateContentControlId as U, type VectorShapeProjection as V, contentControlContentChildren as W, contentControlContentNodeOf as X, contentControlEndPropertiesNodeOf as Y, contentControlLevelOf as Z, contentControlPropertiesNodeOf as _, type TreeOpRejection as a, contentControlTextOf as a0, contentControlsIn as a1, findContentControl as a2, flattenContentControls as a3, hyperlinkAnchorOf as a4, hyperlinkRelationshipIdOf as a5, hyperlinkTargetOf as a6, isContentControlContentNode as a7, isContentControlNode as a8, isContentControlWrapper as a9, isHyperlinkNode as aa, lockForbidsEdit as ab, lockForbidsRemoval as ac, orderedContentControlProperties as ad, parseContentControlId as ae, projectDrawing as af, resolveContentControlLock as ag, type ImageWrapTarget as b, type DrawingKind as c, type DrawingPositionInput as d, type DrawingLocks as e, type DrawingHorizontalReferenceFrame as f, type DrawingVerticalReferenceFrame as g, type DrawingTreeDocOp as h, type DrawingAccessibility as i, type DrawingTransform as j, type TableBorderStyle as k, type TreeDocColorValue as l, IMAGE_WRAP_TARGETS as m, type ContentControlLevel as n, type ContentControlLock as o, type ContentControlDataBinding as p, type TreeOpResult as q, ACCEPTED_RUN_PROPERTIES as r, CONTENT_CONTROL_ID_MAX as s, CONTENT_CONTROL_PROPERTY_ORDER as t, type ContentControlCheckbox as u, type ContentControlCheckboxState as v, type ContentControlDateFormat as w, type ContentControlEntry as x, type ContentControlListItem as y, type ContentControlProperties as z };
@@ -1,3 +1,4 @@
1
+ import { ParagraphTabStop } from './contracts/types.js';
1
2
  import { O as OoxmlNode, a as OoxmlElement, o as OoxmlDrawingNode, b as OoxmlContentControlNode, d as OoxmlContentControlContentNode, p as OoxmlContentControlEndPropertiesNode, q as OoxmlContentControlPropertiesNode, e as OoxmlPart } from './ooxml-tree-BU0e3DVi.js';
2
3
 
3
4
  /** The relationship namespace `r:id` lives in. */
@@ -562,7 +563,14 @@ type ContentControlValueInput = {
562
563
  };
563
564
  /** The control types an insertion may author. Picture and repeating section are deferred. */
564
565
  declare const INSERTABLE_CONTENT_CONTROL_TYPES: readonly ["richText", "plainText", "dropDownList", "comboBox", "date"];
565
- type InsertableContentControlType = (typeof INSERTABLE_CONTENT_CONTROL_TYPES)[number];
566
+ /**
567
+ * The OOXML spellings the store writes.
568
+ *
569
+ * NOT the contract's `InsertableContentControlType`, which is the same set of kinds in the
570
+ * READ vocabulary (`dropdown`) plus this lane's spelling of it (`dropDownList`). The editor
571
+ * maps between the two; the names differ so a reader can tell which vocabulary a value is in.
572
+ */
573
+ type InsertableContentControlKind = (typeof INSERTABLE_CONTENT_CONTROL_TYPES)[number];
566
574
 
567
575
  /** Allowlisted OOXML table border line styles — store/layout authority. */
568
576
  declare const TABLE_BORDER_STYLES: readonly ["single", "dashed", "dotted", "double", "triple", "thick"];
@@ -618,16 +626,21 @@ interface TableBorderSpecInput {
618
626
  */
619
627
  declare const ACCEPTED_RUN_PROPERTIES: readonly ["rFonts", "sz", "szCs", "color", "b", "bCs", "i", "iCs", "u", "strike", "dstrike", "highlight", "vertAlign", "position", "caps", "smallCaps", "spacing", "w", "kern"];
620
628
  /** The accepted PARAGRAPH property boundary (design D8). */
621
- declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "shd"];
629
+ declare const ACCEPTED_PARAGRAPH_PROPERTIES: readonly ["pStyle", "jc", "spacing", "ind", "tabs", "numPr", "keepNext", "keepLines", "widowControl", "pageBreakBefore", "contextualSpacing", "shd"];
630
+ /**
631
+ * One tab stop an op can author: where it sits, how it aligns, and what fills the gap.
632
+ *
633
+ * An alias, not a second declaration. The contract lane already names this shape, and two
634
+ * public names for one shape is a trap — a caller building a stop for a read and for an op
635
+ * would otherwise have to name it two things.
636
+ */
637
+ type TabStopWrite = ParagraphTabStop;
622
638
  /**
623
639
  * One authored property: an element name plus its `w:`-namespace attributes.
624
640
  *
625
641
  * Modeled as name+attributes rather than a typed record per property because that is what
626
642
  * the tree holds, so an op maps to nodes without a lossy intermediate vocabulary. Attribute
627
643
  * VALUES are validated as XML text; their meaning is the resolver's business.
628
- */
629
- /**
630
- * One property an op writes, as a name plus attributes.
631
644
  *
632
645
  * Deliberately structural rather than a typed union: the accepted property lists bound WHICH
633
646
  * properties may be written, so the shape itself does not need to enumerate them.
@@ -845,6 +858,29 @@ type TreeDocOp = {
845
858
  readonly paragraphId: string;
846
859
  readonly numId: string | null;
847
860
  readonly level?: number;
861
+ } | {
862
+ /**
863
+ * Replace a paragraph's custom tab stops, or clear them with an empty list.
864
+ *
865
+ * Its OWN op rather than a `w:tabs` entry in `setParagraphProperties`, because
866
+ * `OoxmlProperty` is flat and `w:tabs` carries its meaning in `w:tab` children — the
867
+ * same reason `setListNumbering` exists for `w:numPr`.
868
+ */
869
+ readonly op: 'setParagraphTabStops';
870
+ readonly paragraphId: string;
871
+ readonly stops: readonly TabStopWrite[];
872
+ /**
873
+ * Every stop position IN FORCE when the editor read the paragraph, including the
874
+ * ones a style supplied.
875
+ *
876
+ * Tab stops are read through the cascade and written at the paragraph level, so a
877
+ * replace alone cannot remove an inherited stop — the user clears a row, the style
878
+ * puts it straight back, and the command reports success. A position that was in
879
+ * force and is not in `stops` is suppressed with `w:val="clear"`, which is what the
880
+ * value exists for (§17.3.1.37). Omit when the caller has no cascade to speak of;
881
+ * the write is then a plain paragraph-level replace.
882
+ */
883
+ readonly inForcePositionsTwips?: readonly number[];
848
884
  } | {
849
885
  readonly op: 'splitParagraph';
850
886
  readonly paragraphId: string;
@@ -1261,7 +1297,7 @@ type TreeDocOp = {
1261
1297
  readonly paragraphId: string;
1262
1298
  readonly start: number;
1263
1299
  readonly end: number;
1264
- readonly type: InsertableContentControlType;
1300
+ readonly type: InsertableContentControlKind;
1265
1301
  readonly tag?: string;
1266
1302
  readonly alias?: string;
1267
1303
  readonly lock?: ContentControlLock;
@@ -1370,7 +1406,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
1370
1406
  /** Just the `op` discriminants, for dispatch tables and validation. */
1371
1407
  type TreeDocOpKind = TreeDocOp['op'];
1372
1408
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
1373
- declare const TREE_DOC_OP_KINDS: readonly ["insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setListLevel", "setListNumbering", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
1409
+ declare const TREE_DOC_OP_KINDS: readonly ["insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
1374
1410
  /**
1375
1411
  * How far a committed op can reach, so layout can scope its work (task 5.2).
1376
1412
  *
@@ -1421,7 +1457,16 @@ interface TreeOpEffect {
1421
1457
  * `not-adjacent-siblings` is the notable one: a join across table cells is refused rather than
1422
1458
  * silently merging content out of the cell that owned it.
1423
1459
  */
1424
- type TreeOpRejection = 'unknown-op' | 'unknown-paragraph' | 'not-a-paragraph' | 'offset-out-of-range' | 'invalid-range' | 'not-a-list-paragraph' | 'splits-surrogate-pair' | 'invalid-text' | 'unsupported-property' | 'invalid-property-value' | 'not-adjacent-siblings' | 'unknown-block' | 'not-a-block' | 'block-required' | 'carries-section-mark'
1460
+ type TreeOpRejection = 'unknown-op' | 'unknown-paragraph' | 'not-a-paragraph' | 'offset-out-of-range' | 'invalid-range' | 'not-a-list-paragraph' | 'splits-surrogate-pair' | 'invalid-text' | 'unsupported-property' | 'invalid-property-value' | 'not-adjacent-siblings'
1461
+ /**
1462
+ * The addressed position is strictly inside content nothing can divide: a hyperlink, an
1463
+ * inline content control, a revision wrapper, or an atomic field.
1464
+ *
1465
+ * Distinct from `invalid-range`, which is an offset the paragraph does not have. This one is
1466
+ * a real offset that is not a PLACE — refused rather than resolved to the nearest one, so a
1467
+ * caller learns the node would not have landed where they asked.
1468
+ */
1469
+ | 'indivisible-content' | 'unknown-block' | 'not-a-block' | 'block-required' | 'carries-section-mark'
1425
1470
  /** The transaction named a part the package does not hold. */
1426
1471
  | 'unknown-part'
1427
1472
  /**
@@ -1496,4 +1541,4 @@ type TreeOpResult = {
1496
1541
  readonly detail?: string;
1497
1542
  };
1498
1543
 
1499
- export { contentControlTextOf as $, ACCEPTED_PARAGRAPH_PROPERTIES as A, type HyperlinkKind as B, type ContentControlKind as C, type DrawingProjection as D, type HyperlinkTarget as E, MAX_CONTENT_CONTROL_NESTING as F, OFFICE_RELATIONSHIP_NAMESPACE_URI as G, HYPERLINK_RELATIONSHIP_TYPE as H, type ImpactClass as I, type RelationshipTargetResolver as J, TABLE_BORDER_STYLES as K, TREE_DOC_OP_KINDS as L, MAX_CONTENT_CONTROLS_PER_PART as M, type TreeDocOpKind as N, type OoxmlProperty as O, type TreeOpEffect as P, allocateContentControlId as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, contentControlContentChildren as U, type VectorShapeProjection as V, contentControlContentNodeOf as W, contentControlEndPropertiesNodeOf as X, contentControlLevelOf as Y, contentControlPropertiesNodeOf as Z, contentControlPropertiesOf as _, type TreeOpRejection as a, contentControlsIn as a0, findContentControl as a1, flattenContentControls as a2, hyperlinkAnchorOf as a3, hyperlinkRelationshipIdOf as a4, hyperlinkTargetOf as a5, isContentControlContentNode as a6, isContentControlNode as a7, isContentControlWrapper as a8, isHyperlinkNode as a9, lockForbidsEdit as aa, lockForbidsRemoval as ab, orderedContentControlProperties as ac, parseContentControlId as ad, projectDrawing as ae, resolveContentControlLock as af, type ImageWrapTarget as b, type DrawingKind as c, type DrawingPositionInput as d, type DrawingLocks as e, type DrawingHorizontalReferenceFrame as f, type DrawingVerticalReferenceFrame as g, type DrawingTreeDocOp as h, type TreeDocColorValue as i, IMAGE_WRAP_TARGETS as j, type DrawingAccessibility as k, type DrawingTransform as l, type TableBorderStyle as m, type ContentControlLevel as n, type ContentControlLock as o, type ContentControlDataBinding as p, type TreeOpResult as q, ACCEPTED_RUN_PROPERTIES as r, CONTENT_CONTROL_ID_MAX as s, CONTENT_CONTROL_PROPERTY_ORDER as t, type ContentControlCheckbox as u, type ContentControlCheckboxState as v, type ContentControlDateFormat as w, type ContentControlEntry as x, type ContentControlListItem as y, type ContentControlProperties as z };
1544
+ export { contentControlPropertiesOf as $, ACCEPTED_PARAGRAPH_PROPERTIES as A, type HyperlinkKind as B, type ContentControlKind as C, type DrawingProjection as D, type HyperlinkTarget as E, MAX_CONTENT_CONTROL_NESTING as F, OFFICE_RELATIONSHIP_NAMESPACE_URI as G, HYPERLINK_RELATIONSHIP_TYPE as H, type ImpactClass as I, type RelationshipTargetResolver as J, TABLE_BORDER_STYLES as K, TREE_DOC_OP_KINDS as L, MAX_CONTENT_CONTROLS_PER_PART as M, type TabStopWrite as N, type OoxmlProperty as O, type TreeDocOpKind as P, type TreeOpEffect as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, allocateContentControlId as U, type VectorShapeProjection as V, contentControlContentChildren as W, contentControlContentNodeOf as X, contentControlEndPropertiesNodeOf as Y, contentControlLevelOf as Z, contentControlPropertiesNodeOf as _, type TreeOpRejection as a, contentControlTextOf as a0, contentControlsIn as a1, findContentControl as a2, flattenContentControls as a3, hyperlinkAnchorOf as a4, hyperlinkRelationshipIdOf as a5, hyperlinkTargetOf as a6, isContentControlContentNode as a7, isContentControlNode as a8, isContentControlWrapper as a9, isHyperlinkNode as aa, lockForbidsEdit as ab, lockForbidsRemoval as ac, orderedContentControlProperties as ad, parseContentControlId as ae, projectDrawing as af, resolveContentControlLock as ag, type ImageWrapTarget as b, type DrawingKind as c, type DrawingPositionInput as d, type DrawingLocks as e, type DrawingHorizontalReferenceFrame as f, type DrawingVerticalReferenceFrame as g, type DrawingTreeDocOp as h, type DrawingAccessibility as i, type DrawingTransform as j, type TableBorderStyle as k, type TreeDocColorValue as l, IMAGE_WRAP_TARGETS as m, type ContentControlLevel as n, type ContentControlLock as o, type ContentControlDataBinding as p, type TreeOpResult as q, ACCEPTED_RUN_PROPERTIES as r, CONTENT_CONTROL_ID_MAX as s, CONTENT_CONTROL_PROPERTY_ORDER as t, type ContentControlCheckbox as u, type ContentControlCheckboxState as v, type ContentControlDateFormat as w, type ContentControlEntry as x, type ContentControlListItem as y, type ContentControlProperties as z };
@@ -1,13 +1,13 @@
1
- import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-Bkmu1Jei.cjs';
2
- import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-C_AlNvds.cjs';
1
+ import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-BveffuKp.cjs';
2
+ import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-Bu8JIqfA.cjs';
3
3
  import { Node } from 'prosemirror-model';
4
- import { a as ReviewItem } from './review-support-oQrX6Xu3.cjs';
4
+ import { a as ReviewItem } from './review-support-CG7aVSPh.cjs';
5
5
  import { ReviewModuleContribution } from './contracts/modules.cjs';
6
6
  import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.cjs';
7
7
  import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-CR5us6ad.cjs';
8
8
  import { a as HeaderFooterParts, b as HeaderFooterSectionResolution } from './hf-references-CgEOSw3i.cjs';
9
- import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-DhYIACNE.cjs';
10
- import { T as TreeDocOp } from './tree-op-types-QujrzgCz.cjs';
9
+ import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-Dob9Us6Y.cjs';
10
+ import { T as TreeDocOp } from './tree-op-types-A-SLSKzK.cjs';
11
11
 
12
12
  /**
13
13
  * Why an edited projection could not be mapped back into tree ops.
@@ -178,10 +178,36 @@ interface RunPropertyLike {
178
178
  interface ParagraphAnchorIndex {
179
179
  /** nodeId → `w14:paraId`, verbatim as authored/minted. Paragraphs without one are absent. */
180
180
  readonly paraIdByNode: ReadonlyMap<string, string>;
181
- /** UPPERCASED paraId → nodeId (matching is case-insensitive). First occurrence wins on the impossible-by-invariant duplicate. */
181
+ /** UPPERCASED paraId → nodeId (matching is case-insensitive). The first story to claim it. */
182
182
  readonly nodeByParaId: ReadonlyMap<string, string>;
183
183
  /** nodeId → reading-order ordinal, for document-ordering DocRange endpoints. */
184
184
  readonly ordinalByNode: ReadonlyMap<string, number>;
185
+ /**
186
+ * UPPERCASED paraIds more than one story claims.
187
+ *
188
+ * Minting is unique per PART and the contract's uniqueness is per DOCUMENT, so an authored
189
+ * file may repeat one. Resolving such an anchor to whichever story came first would be a
190
+ * silent wrong answer; it is refused as ambiguous instead.
191
+ */
192
+ readonly ambiguousParaIds: ReadonlySet<string>;
193
+ /**
194
+ * nodeId → the part it was indexed from.
195
+ *
196
+ * The index spans every story, so a caller holding one part and a node id from another reads
197
+ * an empty paragraph and draws a false conclusion from it. Carrying the part alongside the id
198
+ * is what keeps the two in step.
199
+ */
200
+ readonly partByNode: ReadonlyMap<string, OoxmlPart>;
201
+ /**
202
+ * Every node claiming an ambiguous paraId. DIAGNOSTIC, never a way to pick one.
203
+ *
204
+ * Resolution refuses a clash outright, and this is what says which paragraphs caused it, for
205
+ * a reader repairing the file. Preferring one claimant by the caller's part was tried and
206
+ * reverted: every resolver call site passes the MAIN part, so the preference could only ever
207
+ * land on the body twin and answer `ok` for a header paragraph the caller meant. See
208
+ * `resolveDocAnchor` in `editor/anchor-resolution.ts`.
209
+ */
210
+ readonly claimantsByParaId: ReadonlyMap<string, readonly string[]>;
185
211
  }
186
212
 
187
213
  /**
@@ -238,6 +264,15 @@ interface TreeDocxSessionView {
238
264
  * and one undo unit without swapping the body store.
239
265
  */
240
266
  applyTreeOps(ops: readonly TreeDocOp[], selectionBefore?: SelectionMark | null, selectionAfter?: SelectionMark | null, scope?: StoryScope): TreeApplyResult;
267
+ /**
268
+ * Every part that holds a story, body first, then headers, footers and note parts.
269
+ *
270
+ * A READ: parts come from the package, so this opens no story store and spends none of the
271
+ * 64 editable-store slots. Use it for any query that must answer about the whole document
272
+ * rather than about the caret — an enumeration that reads only the body reports a document
273
+ * the reader is not looking at.
274
+ */
275
+ storyParts(): readonly OoxmlPart[];
241
276
  /** Body text, paragraphs joined by newlines, read from the CANONICAL tree. */
242
277
  bodyText(): string;
243
278
  /** Text of a story scope, paragraphs joined by newlines. */
@@ -1,13 +1,13 @@
1
- import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-BWd5u-op.js';
2
- import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-BpOBjNzo.js';
1
+ import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-D63k8w5f.js';
2
+ import { S as StoryScope, a as StoryTargetRejection, D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, b as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind, c as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput } from './custom-node-writes-BdVl-LAC.js';
3
3
  import { Node } from 'prosemirror-model';
4
- import { a as ReviewItem } from './review-support-Cr2n7f1-.js';
4
+ import { a as ReviewItem } from './review-support--I4ChuzF.js';
5
5
  import { ReviewModuleContribution } from './contracts/modules.js';
6
6
  import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.js';
7
7
  import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-D_CtywTW.js';
8
8
  import { a as HeaderFooterParts, b as HeaderFooterSectionResolution } from './hf-references-BdjsQNE_.js';
9
- import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-Dy9FZ1pa.js';
10
- import { T as TreeDocOp } from './tree-op-types-fZgbrR5F.js';
9
+ import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-CKswbQl3.js';
10
+ import { T as TreeDocOp } from './tree-op-types-BbzrA-kg.js';
11
11
 
12
12
  /**
13
13
  * Why an edited projection could not be mapped back into tree ops.
@@ -178,10 +178,36 @@ interface RunPropertyLike {
178
178
  interface ParagraphAnchorIndex {
179
179
  /** nodeId → `w14:paraId`, verbatim as authored/minted. Paragraphs without one are absent. */
180
180
  readonly paraIdByNode: ReadonlyMap<string, string>;
181
- /** UPPERCASED paraId → nodeId (matching is case-insensitive). First occurrence wins on the impossible-by-invariant duplicate. */
181
+ /** UPPERCASED paraId → nodeId (matching is case-insensitive). The first story to claim it. */
182
182
  readonly nodeByParaId: ReadonlyMap<string, string>;
183
183
  /** nodeId → reading-order ordinal, for document-ordering DocRange endpoints. */
184
184
  readonly ordinalByNode: ReadonlyMap<string, number>;
185
+ /**
186
+ * UPPERCASED paraIds more than one story claims.
187
+ *
188
+ * Minting is unique per PART and the contract's uniqueness is per DOCUMENT, so an authored
189
+ * file may repeat one. Resolving such an anchor to whichever story came first would be a
190
+ * silent wrong answer; it is refused as ambiguous instead.
191
+ */
192
+ readonly ambiguousParaIds: ReadonlySet<string>;
193
+ /**
194
+ * nodeId → the part it was indexed from.
195
+ *
196
+ * The index spans every story, so a caller holding one part and a node id from another reads
197
+ * an empty paragraph and draws a false conclusion from it. Carrying the part alongside the id
198
+ * is what keeps the two in step.
199
+ */
200
+ readonly partByNode: ReadonlyMap<string, OoxmlPart>;
201
+ /**
202
+ * Every node claiming an ambiguous paraId. DIAGNOSTIC, never a way to pick one.
203
+ *
204
+ * Resolution refuses a clash outright, and this is what says which paragraphs caused it, for
205
+ * a reader repairing the file. Preferring one claimant by the caller's part was tried and
206
+ * reverted: every resolver call site passes the MAIN part, so the preference could only ever
207
+ * land on the body twin and answer `ok` for a header paragraph the caller meant. See
208
+ * `resolveDocAnchor` in `editor/anchor-resolution.ts`.
209
+ */
210
+ readonly claimantsByParaId: ReadonlyMap<string, readonly string[]>;
185
211
  }
186
212
 
187
213
  /**
@@ -238,6 +264,15 @@ interface TreeDocxSessionView {
238
264
  * and one undo unit without swapping the body store.
239
265
  */
240
266
  applyTreeOps(ops: readonly TreeDocOp[], selectionBefore?: SelectionMark | null, selectionAfter?: SelectionMark | null, scope?: StoryScope): TreeApplyResult;
267
+ /**
268
+ * Every part that holds a story, body first, then headers, footers and note parts.
269
+ *
270
+ * A READ: parts come from the package, so this opens no story store and spends none of the
271
+ * 64 editable-store slots. Use it for any query that must answer about the whole document
272
+ * rather than about the caret — an enumeration that reads only the body reports a document
273
+ * the reader is not looking at.
274
+ */
275
+ storyParts(): readonly OoxmlPart[];
241
276
  /** Body text, paragraphs joined by newlines, read from the CANONICAL tree. */
242
277
  bodyText(): string;
243
278
  /** Text of a story scope, paragraphs joined by newlines. */
@@ -1,6 +1,6 @@
1
1
  import { e as OoxmlPart } from './ooxml-tree-BU0e3DVi.js';
2
2
  import { O as OoxmlPackage } from './ooxml-package-D_CtywTW.js';
3
- import { I as ImpactClass, T as TreeDocOp, a as TreeOpRejection } from './tree-op-types-fZgbrR5F.js';
3
+ import { I as ImpactClass, T as TreeDocOp, a as TreeOpRejection } from './tree-op-types-BbzrA-kg.js';
4
4
 
5
5
  /**
6
6
  * The document metadata Word's document-property fields render.
@@ -166,6 +166,16 @@ interface HistoryEntry {
166
166
  interface TreeDocumentStoreOptions {
167
167
  /** Bound on retained history entries. Oldest entries drop first. */
168
168
  readonly historyLimit?: number;
169
+ /**
170
+ * The document's `settings.xml`, for a store built from a PART rather than a package.
171
+ *
172
+ * Forms protection lives one part up from the op, and a store built from a part gets a
173
+ * synthetic one-part package that cannot see it — so `w:documentProtection w:edit="forms"`
174
+ * was enforced in the body and nowhere else, and a header, a footer or a note accepted every
175
+ * write a protected document is supposed to refuse. Read through a getter, not captured: a
176
+ * document can gain or lose protection while its stories stay open.
177
+ */
178
+ readonly settingsPart?: () => OoxmlPart | null | undefined;
169
179
  }
170
180
  /**
171
181
  * Opaque document+history checkpoint for package-coordinator rollback.
@@ -205,6 +215,8 @@ declare class TreeDocumentStore {
205
215
  private readonly redoStack;
206
216
  private readonly subscribers;
207
217
  private readonly historyLimit;
218
+ /** See {@link TreeDocumentStoreOptions.settingsPart}. */
219
+ private readonly settingsPartOverride;
208
220
  /** Package-aware story tag applied to publishes (including undo/redo). */
209
221
  private storyRef;
210
222
  /** Open composition, if any. While set, transactions extend one entry (task 5.5). */