@docx-editor.dev/core 2.8.0 → 2.9.1

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 (114) hide show
  1. package/dist/automation.cjs +1 -1
  2. package/dist/automation.d.cts +5 -6
  3. package/dist/automation.d.ts +5 -6
  4. package/dist/automation.js +1 -1
  5. package/dist/binding.cjs +1 -1
  6. package/dist/binding.d.cts +11 -12
  7. package/dist/binding.d.ts +11 -12
  8. package/dist/binding.js +1 -1
  9. package/dist/chunk-5VC5HGJA.js +2 -0
  10. package/dist/chunk-A2JIBG75.js +1 -0
  11. package/dist/chunk-DKMKH77K.cjs +5 -0
  12. package/dist/chunk-FWUI7EXG.cjs +15 -0
  13. package/dist/chunk-GZWMLQJO.js +18 -0
  14. package/dist/chunk-IEXDXWTA.cjs +1 -0
  15. package/dist/chunk-IMMAG4QP.cjs +10 -0
  16. package/dist/chunk-JTSNJQFO.js +15 -0
  17. package/dist/chunk-KBCC66CI.js +5 -0
  18. package/dist/chunk-LJ6BY6IU.cjs +18 -0
  19. package/dist/chunk-QDBAXFIK.js +2 -0
  20. package/dist/chunk-RD266XSK.cjs +2 -0
  21. package/dist/chunk-VUJGPCPU.js +10 -0
  22. package/dist/chunk-XMHWBL3K.cjs +2 -0
  23. package/dist/contracts/editor.d.cts +9 -9
  24. package/dist/contracts/editor.d.ts +9 -9
  25. package/dist/contracts/interaction.d.cts +9 -9
  26. package/dist/contracts/interaction.d.ts +9 -9
  27. package/dist/contracts/modules.d.cts +5 -5
  28. package/dist/contracts/modules.d.ts +5 -5
  29. package/dist/{custom-node-writes-BdVl-LAC.d.ts → custom-node-writes-7ERv0f_X.d.cts} +9 -10
  30. package/dist/{custom-node-writes-Bu8JIqfA.d.cts → custom-node-writes-QyVZdTUA.d.ts} +9 -10
  31. package/dist/{editor-CWlj33GH.d.cts → editor-CojjwMmF.d.cts} +4 -4
  32. package/dist/{editor-D52SD4jG.d.ts → editor-PUlv5Pp7.d.ts} +4 -4
  33. package/dist/editor.cjs +1 -1
  34. package/dist/editor.css +129 -14
  35. package/dist/editor.d.cts +25 -25
  36. package/dist/editor.d.ts +25 -25
  37. package/dist/editor.js +1 -1
  38. package/dist/{hf-references-BdjsQNE_.d.ts → hf-references-Dvk6De4Q.d.cts} +1 -2
  39. package/dist/{hf-references-CgEOSw3i.d.cts → hf-references-z5Y4N1ab.d.ts} +1 -2
  40. package/dist/{image-resources-BveffuKp.d.cts → image-resources-DQOiwOuE.d.cts} +2 -2
  41. package/dist/{image-resources-D63k8w5f.d.ts → image-resources-eZqD_-vC.d.ts} +2 -2
  42. package/dist/{index-39yzaZO_.d.cts → index-DGPSeLI0.d.cts} +66 -13
  43. package/dist/{index-ZuqIj0b9.d.ts → index-oN-v8DQ5.d.ts} +66 -13
  44. package/dist/index.cjs +1 -1
  45. package/dist/index.d.cts +18 -18
  46. package/dist/index.d.ts +18 -18
  47. package/dist/index.js +1 -1
  48. package/dist/layout.cjs +1 -1
  49. package/dist/layout.d.cts +353 -272
  50. package/dist/layout.d.ts +353 -272
  51. package/dist/layout.js +1 -1
  52. package/dist/{note-nodes-BPSTVDMr.d.ts → note-nodes-BNCANoGN.d.ts} +1 -1
  53. package/dist/{note-nodes-C6DLxlvj.d.cts → note-nodes-DL-Au22P.d.cts} +1 -1
  54. package/dist/note-properties-CQlxjic_.d.cts +67 -0
  55. package/dist/note-properties-jvnw_DGG.d.ts +67 -0
  56. package/dist/omml-equation-BD-LsmWE.d.cts +84 -0
  57. package/dist/omml-equation-Dd3mBep-.d.ts +84 -0
  58. package/dist/{ooxml-tree-BU0e3DVi.d.cts → ooxml-package-CdEy9ufK.d.cts} +352 -1
  59. package/dist/{ooxml-tree-BU0e3DVi.d.ts → ooxml-package-CdEy9ufK.d.ts} +352 -1
  60. package/dist/output.cjs +1 -1
  61. package/dist/output.d.cts +8 -8
  62. package/dist/output.d.ts +8 -8
  63. package/dist/output.js +1 -1
  64. package/dist/{protocol-CD7slqvl.d.cts → protocol-C7ahrdUx.d.ts} +28 -4
  65. package/dist/{protocol-DsbfgBwA.d.ts → protocol-UuZOcOp7.d.cts} +28 -4
  66. package/dist/{review-support--I4ChuzF.d.ts → review-items-D5SPFtsO.d.ts} +49 -102
  67. package/dist/{review-support-CG7aVSPh.d.cts → review-items-DpsqTHio.d.cts} +49 -102
  68. package/dist/review-reads-B2Ji3fVU.d.ts +176 -0
  69. package/dist/review-reads-CP106AHp.d.cts +176 -0
  70. package/dist/{revision-projection-UKqvPa4-.d.ts → revision-projection-CILpvv4M.d.ts} +1 -1
  71. package/dist/{revision-projection-WzlQGBJx.d.cts → revision-projection-Cc4wz30g.d.cts} +1 -1
  72. package/dist/{semantic-cell-selection-I-uAmi0q.d.ts → semantic-cell-selection-BWhVAk5B.d.ts} +4 -4
  73. package/dist/{semantic-cell-selection-C45Gn4K-.d.cts → semantic-cell-selection-DJPjBWzf.d.cts} +4 -4
  74. package/dist/{semantic-interaction-DVUqu_47.d.cts → semantic-interaction-BjOcDB06.d.cts} +1 -1
  75. package/dist/{semantic-interaction-Bu_3IPaV.d.ts → semantic-interaction-Cca1-X_a.d.ts} +1 -1
  76. package/dist/{semantic-paint-BKiiDJol.d.ts → semantic-paint-CufpIQFw.d.ts} +7 -7
  77. package/dist/{semantic-paint-COQY0Lnq.d.cts → semantic-paint-Ur7pAINj.d.cts} +7 -7
  78. package/dist/{semantic-records-rAKWaD-1.d.cts → semantic-records-C3Z76KeN.d.cts} +59 -5
  79. package/dist/{semantic-records-DHcMZM2-.d.ts → semantic-records-Cc1MJrhM.d.ts} +59 -5
  80. package/dist/{shaped-measurer-Cw45Nu5R.d.ts → shaped-measurer-CYSK20E2.d.cts} +2 -4
  81. package/dist/{shaped-measurer-BRL__nm2.d.cts → shaped-measurer-CwlTPDJO.d.ts} +2 -4
  82. package/dist/store.cjs +1 -1
  83. package/dist/store.d.cts +78 -18
  84. package/dist/store.d.ts +78 -18
  85. package/dist/store.js +1 -1
  86. package/dist/{tree-op-types-A-SLSKzK.d.cts → tree-op-types-B0-sCtw-.d.cts} +27 -3
  87. package/dist/{tree-op-types-BbzrA-kg.d.ts → tree-op-types-XMVsJSpe.d.ts} +27 -3
  88. package/dist/{tree-session-C2NsEgfW.d.cts → tree-session-D945D43B.d.cts} +9 -18
  89. package/dist/{tree-session-DeNJa86l.d.ts → tree-session-DBJgmdmc.d.ts} +9 -18
  90. package/dist/{tree-store-CKswbQl3.d.ts → tree-store-C6vc8E_2.d.cts} +2 -3
  91. package/dist/{tree-store-Dob9Us6Y.d.cts → tree-store-ClA-qng4.d.ts} +2 -3
  92. package/package.json +2 -2
  93. package/dist/chunk-2WIXJ7CW.js +0 -10
  94. package/dist/chunk-42PRWWVE.js +0 -2
  95. package/dist/chunk-5XKD3VFP.js +0 -18
  96. package/dist/chunk-HCSWWXS2.cjs +0 -2
  97. package/dist/chunk-HTJLSGBH.cjs +0 -18
  98. package/dist/chunk-JEHWQPXS.cjs +0 -1
  99. package/dist/chunk-KCJLRAKT.js +0 -5
  100. package/dist/chunk-KTL3UMPK.js +0 -2
  101. package/dist/chunk-M6ZIVJUA.cjs +0 -2
  102. package/dist/chunk-NU57YOQE.js +0 -15
  103. package/dist/chunk-RUS2YBWU.cjs +0 -10
  104. package/dist/chunk-TJEWP7MX.cjs +0 -15
  105. package/dist/chunk-UGUPVZDY.cjs +0 -5
  106. package/dist/chunk-XJRMFS6O.js +0 -1
  107. package/dist/chunk-XN634HAC.js +0 -2
  108. package/dist/chunk-XRDTD4X3.cjs +0 -2
  109. package/dist/content-control-walk-CbTqHq6O.d.cts +0 -56
  110. package/dist/content-control-walk-D06GijR0.d.ts +0 -56
  111. package/dist/ooxml-package-CR5us6ad.d.cts +0 -354
  112. package/dist/ooxml-package-D_CtywTW.d.ts +0 -354
  113. package/dist/review-reads-B_pXe43J.d.ts +0 -432
  114. package/dist/review-reads-Bn7aZU4u.d.cts +0 -432
package/dist/store.d.ts CHANGED
@@ -1,18 +1,18 @@
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
- import { O as OoxmlPackage, R as RelationshipRecord } from './ooxml-package-D_CtywTW.js';
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
- 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
- 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-BdVl-LAC.js';
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
- 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-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
- 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-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';
1
+ import { e as ResourceLimits } from './image-resources-eZqD_-vC.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-eZqD_-vC.js';
3
+ import { O as OoxmlPart, a as OoxmlNode, u as OoxmlInvariantResult, c as OoxmlPackage, R as RelationshipRecord, b as OoxmlElement, v as OoxmlInvariantIssue, w as OoxmlHardBreakNode, d as OoxmlParagraphNode, x as OoxmlFldCharNode, y as OoxmlFldSimpleNode, z as OoxmlInstrTextNode, A as OoxmlAttribute } from './ooxml-package-CdEy9ufK.js';
4
+ export { C as ContentTypeError, B as ContentTypeIndex, D as ContentTypeRecords, E as DEFAULT_OOXML_PACKAGE_LIMITS, F as DEFAULT_ZIP_LIMITS, G as DefaultRecord, I as IMAGE_RELATIONSHIP_TYPE, H as ImageRelationshipResolution, J as IndexResult, N as NameRejection, K as NameResult, L as OOXML_NODE_IDENTITY_RULES, M as OoxmlBodyNode, P as OoxmlBookmarkEndNode, Q as OoxmlBookmarkStartNode, S as OoxmlContentControlCalendarNode, T as OoxmlContentControlCheckboxNode, U as OoxmlContentControlCheckedNode, V as OoxmlContentControlCheckedStateNode, W as OoxmlContentControlComboBoxNode, q as OoxmlContentControlContentNode, X as OoxmlContentControlDataBindingNode, Y as OoxmlContentControlDateFormatNode, Z as OoxmlContentControlDateNode, _ as OoxmlContentControlDropDownListNode, s as OoxmlContentControlEndPropertiesNode, $ as OoxmlContentControlLidNode, a0 as OoxmlContentControlListItemNode, p as OoxmlContentControlNode, t as OoxmlContentControlPropertiesNode, a1 as OoxmlContentControlStoreMappedDataAsNode, a2 as OoxmlContentControlTextNode, a3 as OoxmlContentControlUncheckedStateNode, f as OoxmlContinuationSeparatorNode, a4 as OoxmlDocumentNode, g as OoxmlEndnotesNode, a5 as OoxmlExternalTarget, h as OoxmlFootnotesNode, m as OoxmlGenericElementNode, a6 as OoxmlGenericExtensionAttribute, a7 as OoxmlHyperlinkNode, a8 as OoxmlInvariantIssueCode, a9 as OoxmlKnownNodeAttribute, aa as OoxmlNamespaceBinding, l as OoxmlNodeId, ab as OoxmlNodeIdentityRules, e as OoxmlNoteNode, i as OoxmlNoteRefNode, j as OoxmlNoteReferenceNode, n as OoxmlPackageLimits, o as OoxmlPackageRejection, ac as OoxmlPackageResult, ad as OoxmlParagraphPropertiesNode, ae as OoxmlPartMetadata, af as OoxmlReadRejection, ag as OoxmlReadResult, ah as OoxmlRunNode, ai as OoxmlRunPropertiesNode, k as OoxmlSeparatorNode, aj as OoxmlTabNode, ak as OoxmlTextElementNode, al as OoxmlTextNode, am as OoxmlWmlValAttribute, an as OoxmlXmlSpaceAttribute, ao as OverrideRecord, ap as RelationshipError, aq as RelationshipSetResult, ar as ResolveResult, as as ResolvedRelationship, at as TargetMode, au as WML_NAMESPACE_URI, av as XMLNS_NAMESPACE_URI, aw as XML_NAMESPACE_URI, ax as XmlLimits, ay as XmlNode, az as XmlRejection, aA as XmlResult, aB as ZipLimits, aC as ZipReadResult, aD as ZipRejection, aE as asciiFold, aF as buildContentTypeIndex, aG as buildRelationshipSet, aH as childElements, aI as detectDuplicateNames, aJ as extensionKey, aK as findElement, aL as isContentRevisionKind, aM as isRangeMarkerKind, aN as isValidMime, aO as normalizePartName, aP as partNameKey, aQ as readOnOffChild, aR as readOoxmlPackage, aS as readOoxmlPart, aT as readXml, aU as readZip, aV as resolveContentType, aW as resolveImageRelationship, aX as resolveInternalTarget, aY as resolveRelationship, aZ as textContent, a_ as validateExternalTarget, a$ as withPart, b0 as writeOoxmlPackage, b1 as writeZip } from './ooxml-package-CdEy9ufK.js';
5
+ export { e as BookmarkAnchor, B as BookmarkIndex, f as CascadeDeletedNoteReferencesOptions, g as CustomNodePayloadRead, h as CustomNodePayloadWrite, b as CustomNodeSweepOutcome, i as CustomNodeSweepResult, j as CustomNodeWriteRejection, C as CustomNodeWriteResult, k as DEFAULT_MAX_EDITABLE_STORY_PARTS, D as DocumentTrackingSettings, l as DrawingPropertyIdResult, E as EmbeddedFont, F as FontStyleKey, H as HeaderFooterLifecycleImpact, m as HeaderFooterLifecycleOp, n as HeaderFooterLifecycleRejection, o as HeaderFooterLifecycleResult, I as InsertCustomNodeWrite, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, p as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, q as MAX_NOTE_REFERENCE_PARTS, r as MAX_NOTE_REFERENCE_SCAN, N as NO_TRACKING_SETTINGS, s as NoteDiagnostic, t as NoteDiagnosticCode, u as NoteLifecycleImpact, v as NoteLifecycleOp, w as NoteLifecycleOptions, x as NoteLifecycleRejection, y as NoteLifecycleResult, z as NoteReferenceHit, G as NoteReferenceScanBudget, P as PackageTransactResult, J as ReadEmbeddedFontsOptions, K as StoryResolveResult, S as StoryScope, a as StoryTargetRejection, T as TreePackageStore, O as TreePackageStoreOptions, Q as allocateDrawingPropertyId, U as applyHeaderFooterLifecycleOp, V as applyNoteLifecycleOp, W as buildBookmarkIndex, X as cascadeDeletedNoteReferences, Y as collectNoteReferences, Z as collectPackageNoteReferences, _ as createNoteReferenceScanBudget, $ as customNodePayloadsByControl, a0 as customNodePayloadsOf, a1 as deobfuscateFont, a2 as diagnoseNoteReferences, a3 as ensureListDefinition, a4 as ensureNumberingLevel, a5 as insertCustomNodeWrite, a6 as isHeaderFooterLifecycleOp, a7 as isNoteLifecycleOp, a8 as normalNoteIds, a9 as notesPartHasId, aa as readEmbeddedFonts, ab as readTrackingSettings, ac as removeCustomNodeWrite, ad as resolveNotesPart, ae as sweepCustomNodePayloads, af as withBinaryPart, ag as withEmbeddedImage, ah as withoutUnreferencedImagePart } from './custom-node-writes-QyVZdTUA.js';
6
+ export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, O as OmmlEquationProjection, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-Dd3mBep-.js';
7
+ export { c as HeaderFooterKind, a as HeaderFooterParts, b as HeaderFooterSectionResolution, d as HeaderFooterSlotMeta, H as HeaderFooterVariant, e as collectSectionPropertyNodes, r as resolveHeaderFooterParts, f as resolveHeaderFooterPartsBySection, g as resolveHeaderFooterResolutionBySection } from './hf-references-z5Y4N1ab.js';
8
+ export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-B2Ji3fVU.js';
9
+ 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-XMVsJSpe.js';
10
+ 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, N as TabStopWrite, m 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-XMVsJSpe.js';
11
+ export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, a as NOTE_ATOM_CHAR, b as NOTE_CONTINUATION_SEPARATOR_ID, c as NOTE_ID_MAX, d as NOTE_ID_MIN, e as NOTE_SEPARATOR_ID, N as NoteKind, f as NoteType, g as allocateNoteId, h as atomicNoteSpansOf, i as customMarkFollows, j as findNoteById, k as formatNoteScopeId, l as isContinuationSeparatorNode, m as isEndnotesNode, o as isFootnotesNode, p as isNormalNote, q as isNoteAtomNode, r as isNoteNode, s as isNoteRefNode, t as isNoteReferenceNode, u as isSeparatorNode, v as noteAtomText, w as noteIdOf, x as noteKindOf, y as noteRefKindOf, z as noteReferenceKindOf, n as noteTypeOf, B as notesOf, C as parseNoteId, D as parseNoteScopeId } from './note-nodes-BNCANoGN.js';
12
+ export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, b as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, a as ResolvedEndnoteProperties, R as ResolvedFootnoteProperties, c as authoredDocumentEndnoteProperties, d as authoredDocumentFootnoteProperties, e as authoredEndnotePropertiesFromSectPr, f as authoredFootnotePropertiesFromSectPr, i as isLegalEndnotePosition, g as isLegalFootnotePosition, h as isLegalNumRestart, p as parseAuthoredNoteProperties, r as resolveEndnoteProperties, j as resolveFootnoteProperties, s as settingsPartOf } from './note-properties-jvnw_DGG.js';
13
+ import { T as TreeModelChange, b as TreeDocumentStore } from './tree-store-ClA-qng4.js';
14
+ export { D as DocumentProperties, S as SelectionMark, f as TreeDocumentStoreOptions, a as TreeStoryRef, d as TreeTransactOptions, g as TreeTransactResult, c as TreeTransactionContext } from './tree-store-ClA-qng4.js';
15
+ export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-D5SPFtsO.js';
16
16
  import './contracts/types.js';
17
17
 
18
18
  /**
@@ -1201,6 +1201,66 @@ declare function detectBodyTocs(part: OoxmlPart): readonly DetectedToc[];
1201
1201
  /** Locate the table of contents containing a position, or null. */
1202
1202
  declare function findDetectedToc(tocs: readonly DetectedToc[], tocId: string): DetectedToc | null;
1203
1203
 
1204
+ declare const TWIPS: unique symbol;
1205
+ declare const POINTS: unique symbol;
1206
+ /**
1207
+ * A length in twentieths of a point — OOXML's `ST_TwipsMeasure` / `ST_SignedTwipsMeasure`.
1208
+ *
1209
+ * The brand is intersection-typed onto `number`, so a `Twips` value still decays to `number`
1210
+ * wherever arithmetic consumes it; only the reverse direction — passing a raw number where
1211
+ * `Twips` is declared — is refused.
1212
+ *
1213
+ * @public
1214
+ */
1215
+ type Twips = number & {
1216
+ readonly [TWIPS]: true;
1217
+ };
1218
+ /**
1219
+ * A length in typographic points, the unit layout and paint compute in.
1220
+ *
1221
+ * @public
1222
+ */
1223
+ type Points = number & {
1224
+ readonly [POINTS]: true;
1225
+ };
1226
+ /**
1227
+ * Twentieths of a point per point.
1228
+ *
1229
+ * @public
1230
+ */
1231
+ declare const TWIPS_PER_POINT = 20;
1232
+ /**
1233
+ * Assert that a number is a twips measurement.
1234
+ *
1235
+ * A compile-time cast, not a validator: bounds, integrality and finiteness stay at the parse
1236
+ * boundary that produced the number, exactly where they are enforced today. The cast is the
1237
+ * caller's claim about the UNIT, nothing more.
1238
+ *
1239
+ * @public
1240
+ */
1241
+ declare const twips: (value: number) => Twips;
1242
+ /**
1243
+ * Assert that a number is a points measurement. A compile-time cast; see {@link twips}.
1244
+ *
1245
+ * @public
1246
+ */
1247
+ declare const points: (value: number) => Points;
1248
+ /**
1249
+ * The one twips-to-points conversion. Exact division; twips are the finer unit.
1250
+ *
1251
+ * @public
1252
+ */
1253
+ declare const twipsToPoints: (value: Twips) => Points;
1254
+ /**
1255
+ * The one points-to-twips conversion.
1256
+ *
1257
+ * Rounds to the nearest twip: every OOXML twips measurement is integral, and emitting a
1258
+ * fractional twip would write a value no consumer of the file can represent.
1259
+ *
1260
+ * @public
1261
+ */
1262
+ declare const pointsToTwips: (value: Points) => Twips;
1263
+
1204
1264
  /** Outline heading shape consumed by TOC planning (mirrors DocumentOutlineEntry). */
1205
1265
  interface TocOutlineHeading {
1206
1266
  readonly text: string;
@@ -1209,9 +1269,9 @@ interface TocOutlineHeading {
1209
1269
  }
1210
1270
 
1211
1271
  /** Left-indent step between TOC levels, in twips (matches `scripts/demo-doc/toc-block.xml`). */
1212
- declare const TOC_LEVEL_INDENT_TWIPS = 240;
1272
+ declare const TOC_LEVEL_INDENT_TWIPS: Twips;
1213
1273
  /** Bounded left-indent twips for a TOC entry level (0-based heading depth). */
1214
- declare function tocLeftIndentTwips(level: number): number;
1274
+ declare function tocLeftIndentTwips(level: number): Twips;
1215
1275
  /** One planned TOC entry: its level, its text, and the heading it points at. */
1216
1276
  interface TocEntryPlan {
1217
1277
  readonly level: number;
@@ -2247,4 +2307,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
2247
2307
  /** Whether an op is one of the drawing ops. Narrows the type. */
2248
2308
  declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
2249
2309
 
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 };
2310
+ export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, type AddCommentRequest, type AddCommentResult, type AnchorSnapshot, type AtomicFieldSpan, type AuditPort, type AuthorizationPort, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, type CancellationPhase, type CancellationPort, type CancellationToken, type CapabilityId, type ClockPort, type CommentAnchorRequest, type CommentDeletionOwner, type ComparatorDescriptor, type ComparatorMode, type ComparatorName, type ComparisonResult, type ConformanceFixture, type ContentItem, type Contribution, type CustomNodeBinding, type CustomNodeExportPolicy, type CustomNodeExportRequest, type CustomNodeExportResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, type Json, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, type LimitSpec, type LimitUnit, MAX_STORY_SDT_NESTING, type ModelChangeSummary, NON_CANONICAL_ORIGINS, ORIGIN_IDS, type OffsetSpan, OoxmlAttribute, type OoxmlEditResult, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlHardBreakNode, type OoxmlIndexes, OoxmlInstrTextNode, OoxmlInvariantIssue, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, type OoxmlStoryKind, type OoxmlStoryRoot, type OperationContext, type OperationInit, PAGE_BREAK_CHAR, type PackageInvariantCode, type PackageInvariantIssue, type PackageInvariantResult, type ParagraphDigest, type ParagraphIndexEntry, type ParagraphOffsetIndex, type PersistencePort, type Points, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, type RegistryErrorCode, RelationshipRecord, type ReplacementPolicy, type ReplayOutcome, type ReplayReport, type ReplayStore, type Reservation, type ResolveOptions, type ResolvedRegistry, type ResourceAccountingPort, ResourceLimits, type RunPropertyEdit, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, type SchedulingPort, type ScrubResult, type Segment, type SemVer, type SemanticDigest, SequentialIdentity, type SetCommentResolvedResult, type ShapingPort, type StoryDigest, type StoryIndexEntry, type StyleIndexEntry, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TWIPS_PER_POINT, type TextMatchOptions, type TextOccurrence, type TextOccurrences, type TocEntryPlan, type TocInstruction, type TocOutlineHeading, type TransportPort, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, type Twips, type ValidationResult, addComment, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authorableHyperlinkTarget, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectRevisionSites, collectStoryParagraphs, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
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-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
+ 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-5VC5HGJA.js';export{Hf as ACCEPTED_PARAGRAPH_PROPERTIES,Gf as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,dg as AUTHORABLE_PARAGRAPH_PROPERTIES,eg as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,je as CONTENT_CONTROL_ID_MAX,Be as CONTENT_CONTROL_PROPERTY_ORDER,if as CUSTOM_NODE_XPATH_PREFIX,Ve as CUSTOM_XML_PROPS_REL,We as CUSTOM_XML_PROPS_TYPE,Ue as CUSTOM_XML_REL,G as DANGEROUS_KEYS,Xe as DATASTORE_NAMESPACE_URI,Ed as DEFAULT_ENDNOTE_PROPERTIES,Dd as DEFAULT_FOOTNOTE_PROPERTIES,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,Nf as DEFAULT_MAX_EDITABLE_STORY_PARTS,Bb as DEFAULT_OMML_LIMITS,nb as DEFAULT_OOXML_PACKAGE_LIMITS,Ca as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Zb as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Ga as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Na as IMAGE_WRAP_TARGETS,Q as INERT_EXECUTABLE_KINDS,o as LimitExceededError,ie as MAX_CONTENT_CONTROLS_PER_PART,he as MAX_CONTENT_CONTROL_NESTING,Zf as MAX_CUSTOM_NODE_LABEL_LENGTH,Yf as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,zd as MAX_NOTES_PER_PART,Yd as MAX_NOTE_REFERENCE_PARTS,Xd as MAX_NOTE_REFERENCE_SCAN,Ee as MAX_STORY_SDT_NESTING,_a as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,ad as NOTE_ATOM_CHAR,ed as NOTE_CONTINUATION_SEPARATOR_ID,cd as NOTE_ID_MAX,bd as NOTE_ID_MIN,dd as NOTE_SEPARATOR_ID,Ab as OFFICE_MATH_NAMESPACE_URI,Fa as OFFICE_RELATIONSHIP_NAMESPACE_URI,qa as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Ub as PAGE_BREAK_CHAR,aa as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Jg as SEARCH_MATCH_LIMIT,Ig as SEARCH_QUERY_MAX,uf as TABLE_BORDER_STYLES,Fc as TOC_LEVEL_INDENT_TWIPS,tc as TOC_MAX_BOOKMARKS_PER_REFRESH,sc as TOC_MAX_ENTRIES,uc as TOC_MAX_FIELD_NESTING,rc as TOC_MAX_INSTRUCTION_CHARS,vc as TOC_MAX_PAGE_PASSES,If as TREE_DOC_OP_KINDS,Ac as TWIPS_PER_POINT,Mf as TreeDocumentStore,Of as TreePackageStore,Le as W15_NAMESPACE_URI,ca as WML_NAMESPACE_URI,ea as XMLNS_NAMESPACE_URI,da as XML_NAMESPACE_URI,Tf as addComment,De as allocateContentControlId,jb as allocateDrawingPropertyId,Ad as allocateNoteId,Ba as applyEdits,$c as applyHeaderFooterLifecycleOp,fe as applyNoteLifecycleOp,Kf as applyTreeOp,t as asciiFold,$ as assertValidQName,pc as atomicFieldSpansOf,yd as atomicNoteSpansOf,Xc as authorableHyperlinkTarget,Kd as authoredDocumentEndnoteProperties,Jd as authoredDocumentFootnoteProperties,Hd as authoredEndnotePropertiesFromSectPr,Gd as authoredFootnotePropertiesFromSectPr,hg as authoredProperties,He as bodyStoryRoot,Lc as bookmarkPairNodes,mf as boundCustomXmlNodeIdOf,kf as boundCustomXmlNodeIds,lf as boundCustomXmlNodeIdsInPackage,zc as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,Ic as buildTocContentControl,Hc as buildTocEntryParagraph,na as canonicalOoxmlFingerprint,ge as cascadeDeletedNoteReferences,Te as cascadeEmptiedComments,X as childElements,Lb as collectFlowBlocks,sa as collectNodeIds,$d as collectNoteReferences,ae as collectPackageNoteReferences,Eg as collectReviewItems,nf as collectRevisionSites,Pb as collectSectionPropertyNodes,Je as collectStoryParagraphs,Me as commentAnchorsOfStory,Ag as commentBodyText,Bg as commentInitials,Dg as commentItemsOf,Wf as commentPartNameOf,Xf as commentsExtendedPartNameOf,Ne as commentsOfPart,P as containsCssFetch,ne as contentControlContentChildren,re as contentControlContentNodeOf,Jb as contentControlContentOf,qe as contentControlEndPropertiesNodeOf,ue as contentControlLevelOf,pe as contentControlPropertiesNodeOf,te as contentControlPropertiesOf,xe as contentControlTextOf,ve as contentControlsIn,rb as contentTypesPartBytes,ib as createImageResourceCache,ta as createNodeIdAllocator,Zd as createNoteReferenceScanBudget,vd as customMarkFollows,jf as customNodeBinding,bg as customNodePayloadsByControl,cg as customNodePayloadsOf,Ze as customXmlDataParts,gf as customXmlLabelXPath,bf as customXmlNodes,hf as customXmlPrefixMappings,Ye as datastoreItemIdFor,Hg as deepParagraphOrderOfPart,Qe as deleteCommentThread,Oc as deriveOoxmlIndexes,xc as detectBodyTocs,v as detectDuplicateNames,be as diagnoseNoteReferences,jg as directParagraphMarkProperties,ig as directParagraphProperties,Cf as drawingOpImpact,Yc as ensureHyperlinkRelationship,Eb as equationExpressionToLinearMath,O as escapeCssString,M as escapeXml,z as extensionKey,jc as fieldAtomText,ic as fieldOnOffAttribute,we as findContentControl,_e as findCustomXmlDataPart,yc as findDetectedToc,W as findElement,va as findNode,Cd as findNoteById,Ng as findOccurrences,vg as firstReviewRange,oe as flattenContentControls,_b as fldCharType,hc as fldSimpleInstr,Rc as fnv1a32,Kg as foldCase,gd as formatNoteScopeId,ng as formatOwnedRunIds,Yb as hardBreakAttributes,Vb as hardBreakKind,Xb as hardBreakText,Pe as hasAnyComment,$a as hasBoundedSvgRoot,Vf as hasCommentPart,lc as hasLegacyFormFieldData,ua as hasNode,Ia as hyperlinkAnchorOf,Ja as hyperlinkRelationshipIdOf,Ka as hyperlinkTargetOf,hb as imageResourceLookupFor,Mc as indexStyles,Vd as inlineControlEndingAt,Wd as inlineControlStartingAt,ya as insertChildren,_f as insertCustomNodeWrite,gc as instrTextValue,fg as isAuthorableRunProperty,Hb as isContentControl,Ib as isContentControlContent,le as isContentControlContentNode,ke as isContentControlNode,me as isContentControlWrapper,ha as isContentRevisionKind,od as isContinuationSeparatorNode,I as isDangerousKey,Ff as isDrawingTreeDocOp,jd as isEndnotesNode,S as isEvaluableField,kc as isFieldChrome,cc as isFldChar,$b as isFldCharNode,fc as isFldSimple,bc as isFldSimpleNode,id as isFootnotesNode,_c as isHeaderFooterLifecycleOp,Ha as isHyperlinkNode,R as isInertExecutable,dc as isInstrText,ac as isInstrTextNode,Nd as isLegalEndnotePosition,qc as isLegalFldCharType,Od as isLegalFootnotePosition,Pd as isLegalNumRestart,sd as isNormalNote,xd as isNoteAtomNode,ee as isNoteLifecycleOp,kd as isNoteNode,md as isNoteRefNode,ld as isNoteReferenceNode,Wb as isPageBreakNode,ia as isRangeMarkerKind,Mg as isSearchableQuery,nd as isSeparatorNode,Ge as isStoryPart,y as isValidMime,Z as isValidNCName,Pc as isValidParaId,_ as isValidQName,Lg as isWholeWord,Fb as linearMathToOmml,Fg as linkRevisionReplies,gb as liveDrawingReferenceCount,sg as locateSites,ze as lockForbidsEdit,Ae as lockForbidsRemoval,lg as mergedFontProperty,og as mergedMultiSettingProperty,pg as mergedParagraphMarkProperties,kg as mergedProperties,Sc as mintParaId,Vc as mintedParagraphIdentityAttributes,de as normalNoteIds,Wc as normalizeParagraphIdentity,r as normalizePartName,wd as noteAtomText,qd as noteIdOf,pd as noteKindOf,ud as noteRefKindOf,td as noteReferenceKindOf,rd as noteTypeOf,Bd as notesOf,ce as notesPartHasId,J as nullRecord,oa as ooxmlTreesEqual,Ce as orderedContentControlProperties,Qc as paraIdOf,Ud as paragraphOffsetIndex,Gg as paragraphOrderOfPart,Lf as paragraphTextOf,wa as parentNodeOf,Fd as parseAuthoredNoteProperties,se as parseContentControlId,Db as parseLinearMath,fd as parseNoteId,hd as parseNoteScopeId,wc as parseTocInstruction,u as partNameKey,Kc as planTocEntries,Cc as points,Ec as pointsToTwips,Ua as projectDrawing,Cb as projectOmmlEquation,gg as propertyContainer,cf as readCustomXmlNode,ja as readOnOffChild,ob as readOoxmlPackage,ra as readOoxmlPart,V as readXml,Da as readZip,Zc as relationshipTargetIn,sb as relationshipsOf,ub as relsPartNameFor,$f as removeCustomNodeWrite,Aa as removeNode,xa as replaceChildren,za as replaceNode,ye as resolveContentControlLock,B as resolveContentType,tb as resolveContentTypeOf,Md as resolveEndnoteProperties,Ld as resolveFootnoteProperties,Tb as resolveHeaderFooterParts,Sb as resolveHeaderFooterPartsBySection,Rb as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,_d as resolveNotesPart,E as resolveRelationship,tg as reviewItemKey,ug as reviewItemRanges,Cg as revisionItemsOf,mg as runAddressRanges,qg as runPropertyEdits,rg as runsCovering,L as sanitizeHref,T as scrubExport,Td as segmentsOf,ka as serializeOoxmlPart,Uf as setCommentResolved,Id as settingsPartOf,ab as sniffImageMime,Ie as storyParagraphs,Fe as storyRootsOf,Nc as stylesPartOf,ag as sweepCustomNodePayloads,Y as textContent,Oe as threadStateOfPart,K as toSafeRecord,Jc as tocEntryText,Gc as tocLeftIndentTwips,Bc as twips,Dc as twipsToPoints,Tc as usedParaIds,Df as validateDrawingOp,x as validateExternalTarget,cb as validateGifHeader,db as validateJpegHeader,pa as validateOoxmlPart,zb as validatePackageInvariants,bb as validatePngHeader,fb as validateRasterHeader,Jf as validateTreeOp,Uc as w14RootPrefix,Nb as walkAllStoryParagraphs,Ob as walkParagraphInline,Mb as walkStoryBlocks,kb as withBinaryPart,vb as withContentTypeOverride,$e as withCustomXmlDataPart,df as withCustomXmlNode,lb as withEmbeddedImage,yb as withNewPart,qb as withPart,xb as withRelationship,af as withoutCustomXmlDataPart,ef as withoutCustomXmlNode,ff as withoutOrphanCustomXmlNodes,mb as withoutUnreferencedImagePart,Ef as wrapTargetToAnchorSpec,pb as writeOoxmlPackage,Ea as writeZip}from'./chunk-VUJGPCPU.js';
@@ -1,5 +1,5 @@
1
1
  import { ParagraphTabStop } from './contracts/types.cjs';
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
+ import { a as OoxmlNode, b as OoxmlElement, r as OoxmlDrawingNode, p as OoxmlContentControlNode, q as OoxmlContentControlContentNode, s as OoxmlContentControlEndPropertiesNode, t as OoxmlContentControlPropertiesNode, O as OoxmlPart } from './ooxml-package-CdEy9ufK.cjs';
3
3
 
4
4
  /** The relationship namespace `r:id` lives in. */
5
5
  declare const OFFICE_RELATIONSHIP_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
@@ -684,6 +684,16 @@ interface RevisionAttributionInput {
684
684
  * unchanged.
685
685
  */
686
686
  type TreeDocOp = {
687
+ /**
688
+ * Replace one story's complete block structure with fresh plain paragraphs.
689
+ *
690
+ * Unlike a span replacement, this removes section-ending paragraphs and content-control
691
+ * wrappers. A body's final direct `w:sectPr` survives to retain the page setup.
692
+ */
693
+ readonly op: 'replaceStoryBlocks';
694
+ readonly storyRootId: string;
695
+ readonly paragraphs: readonly string[];
696
+ } | {
687
697
  /**
688
698
  * Insert an SDT-wrapped TOC immediately before a body paragraph.
689
699
  * The initial cached result and any heading bookmarks land in one undo unit.
@@ -1015,6 +1025,20 @@ type TreeDocOp = {
1015
1025
  */
1016
1026
  readonly op: 'removeHyperlink';
1017
1027
  readonly linkId: string;
1028
+ } | {
1029
+ /**
1030
+ * Replace one preserved `m:oMath` atom from bounded linear-math input.
1031
+ *
1032
+ * The complete equation changes as one unit. Internal OMML text never enters the
1033
+ * paragraph offset space, so callers cannot leave a partially edited math tree.
1034
+ */
1035
+ readonly op: 'setMathEquation';
1036
+ readonly equationId: string;
1037
+ readonly linear: string;
1038
+ } | {
1039
+ /** Remove one complete `m:oMath` atom. */
1040
+ readonly op: 'removeMathEquation';
1041
+ readonly equationId: string;
1018
1042
  } | {
1019
1043
  /**
1020
1044
  * Insert a NEW run-level content control at a text offset: `w:sdt` with a
@@ -1406,7 +1430,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
1406
1430
  /** Just the `op` discriminants, for dispatch tables and validation. */
1407
1431
  type TreeDocOpKind = TreeDocOp['op'];
1408
1432
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
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"];
1433
+ declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "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", "setMathEquation", "removeMathEquation", "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"];
1410
1434
  /**
1411
1435
  * How far a committed op can reach, so layout can scope its work (task 5.2).
1412
1436
  *
@@ -1541,4 +1565,4 @@ type TreeOpResult = {
1541
1565
  readonly detail?: string;
1542
1566
  };
1543
1567
 
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 };
1568
+ 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 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 };
@@ -1,5 +1,5 @@
1
1
  import { ParagraphTabStop } from './contracts/types.js';
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
+ import { a as OoxmlNode, b as OoxmlElement, r as OoxmlDrawingNode, p as OoxmlContentControlNode, q as OoxmlContentControlContentNode, s as OoxmlContentControlEndPropertiesNode, t as OoxmlContentControlPropertiesNode, O as OoxmlPart } from './ooxml-package-CdEy9ufK.js';
3
3
 
4
4
  /** The relationship namespace `r:id` lives in. */
5
5
  declare const OFFICE_RELATIONSHIP_NAMESPACE_URI = "http://schemas.openxmlformats.org/officeDocument/2006/relationships";
@@ -684,6 +684,16 @@ interface RevisionAttributionInput {
684
684
  * unchanged.
685
685
  */
686
686
  type TreeDocOp = {
687
+ /**
688
+ * Replace one story's complete block structure with fresh plain paragraphs.
689
+ *
690
+ * Unlike a span replacement, this removes section-ending paragraphs and content-control
691
+ * wrappers. A body's final direct `w:sectPr` survives to retain the page setup.
692
+ */
693
+ readonly op: 'replaceStoryBlocks';
694
+ readonly storyRootId: string;
695
+ readonly paragraphs: readonly string[];
696
+ } | {
687
697
  /**
688
698
  * Insert an SDT-wrapped TOC immediately before a body paragraph.
689
699
  * The initial cached result and any heading bookmarks land in one undo unit.
@@ -1015,6 +1025,20 @@ type TreeDocOp = {
1015
1025
  */
1016
1026
  readonly op: 'removeHyperlink';
1017
1027
  readonly linkId: string;
1028
+ } | {
1029
+ /**
1030
+ * Replace one preserved `m:oMath` atom from bounded linear-math input.
1031
+ *
1032
+ * The complete equation changes as one unit. Internal OMML text never enters the
1033
+ * paragraph offset space, so callers cannot leave a partially edited math tree.
1034
+ */
1035
+ readonly op: 'setMathEquation';
1036
+ readonly equationId: string;
1037
+ readonly linear: string;
1038
+ } | {
1039
+ /** Remove one complete `m:oMath` atom. */
1040
+ readonly op: 'removeMathEquation';
1041
+ readonly equationId: string;
1018
1042
  } | {
1019
1043
  /**
1020
1044
  * Insert a NEW run-level content control at a text offset: `w:sdt` with a
@@ -1406,7 +1430,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
1406
1430
  /** Just the `op` discriminants, for dispatch tables and validation. */
1407
1431
  type TreeDocOpKind = TreeDocOp['op'];
1408
1432
  /** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
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"];
1433
+ declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "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", "setMathEquation", "removeMathEquation", "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"];
1410
1434
  /**
1411
1435
  * How far a committed op can reach, so layout can scope its work (task 5.2).
1412
1436
  *
@@ -1541,4 +1565,4 @@ type TreeOpResult = {
1541
1565
  readonly detail?: string;
1542
1566
  };
1543
1567
 
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 };
1568
+ 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 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 };
@@ -1,13 +1,12 @@
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';
1
+ import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-DQOiwOuE.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-7ERv0f_X.cjs';
3
3
  import { Node } from 'prosemirror-model';
4
- import { a as ReviewItem } from './review-support-CG7aVSPh.cjs';
4
+ import { O as OoxmlPart, a as OoxmlNode, c as OoxmlPackage, b as OoxmlElement, o as OoxmlPackageRejection } from './ooxml-package-CdEy9ufK.cjs';
5
+ import { a as HeaderFooterParts, b as HeaderFooterSectionResolution } from './hf-references-Dvk6De4Q.cjs';
6
+ import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-C6vc8E_2.cjs';
7
+ import { T as TreeDocOp } from './tree-op-types-B0-sCtw-.cjs';
8
+ import { a as ReviewItem } from './review-items-DpsqTHio.cjs';
5
9
  import { ReviewModuleContribution } from './contracts/modules.cjs';
6
- import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.cjs';
7
- import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-CR5us6ad.cjs';
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-Dob9Us6Y.cjs';
10
- import { T as TreeDocOp } from './tree-op-types-A-SLSKzK.cjs';
11
10
 
12
11
  /**
13
12
  * Why an edited projection could not be mapped back into tree ops.
@@ -335,17 +334,9 @@ interface TreeDocxSessionView {
335
334
  * empty paragraph — a declaration with no glyph behind it.
336
335
  */
337
336
  rendersText(): boolean;
338
- /**
339
- * The `w:style` definitions of the styles part, validated and projected for a style
340
- * picker. Memoized once: the styles part is immutable for the session's lifetime.
341
- * A document without a styles part answers `[]`.
342
- */
337
+ /** Validated style-picker projection. A document without styles answers `[]`. */
343
338
  documentStyles(): readonly DocumentStyleEntry[];
344
- /**
345
- * Root of the styles part tree, for layout's style cascade. Memoized once; `null` when
346
- * the package has no styles part. Styles editing is a later slice, so this is immutable
347
- * for the session.
348
- */
339
+ /** Current styles root for layout, or `null` when the package has no styles part. */
349
340
  stylesRoot(): OoxmlElement | null;
350
341
  /**
351
342
  * The theme part's Latin typefaces, for resolving `w:rFonts` theme references in layout.
@@ -1,13 +1,12 @@
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';
1
+ import { S as SupportedImageMime, b as ImageDecodePort } from './image-resources-eZqD_-vC.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-QyVZdTUA.js';
3
3
  import { Node } from 'prosemirror-model';
4
- import { a as ReviewItem } from './review-support--I4ChuzF.js';
4
+ import { O as OoxmlPart, a as OoxmlNode, c as OoxmlPackage, b as OoxmlElement, o as OoxmlPackageRejection } from './ooxml-package-CdEy9ufK.js';
5
+ import { a as HeaderFooterParts, b as HeaderFooterSectionResolution } from './hf-references-z5Y4N1ab.js';
6
+ import { S as SelectionMark, T as TreeModelChange, D as DocumentProperties } from './tree-store-ClA-qng4.js';
7
+ import { T as TreeDocOp } from './tree-op-types-XMVsJSpe.js';
8
+ import { a as ReviewItem } from './review-items-D5SPFtsO.js';
5
9
  import { ReviewModuleContribution } from './contracts/modules.js';
6
- import { e as OoxmlPart, O as OoxmlNode, a as OoxmlElement } from './ooxml-tree-BU0e3DVi.js';
7
- import { O as OoxmlPackage, b as OoxmlPackageRejection } from './ooxml-package-D_CtywTW.js';
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-CKswbQl3.js';
10
- import { T as TreeDocOp } from './tree-op-types-BbzrA-kg.js';
11
10
 
12
11
  /**
13
12
  * Why an edited projection could not be mapped back into tree ops.
@@ -335,17 +334,9 @@ interface TreeDocxSessionView {
335
334
  * empty paragraph — a declaration with no glyph behind it.
336
335
  */
337
336
  rendersText(): boolean;
338
- /**
339
- * The `w:style` definitions of the styles part, validated and projected for a style
340
- * picker. Memoized once: the styles part is immutable for the session's lifetime.
341
- * A document without a styles part answers `[]`.
342
- */
337
+ /** Validated style-picker projection. A document without styles answers `[]`. */
343
338
  documentStyles(): readonly DocumentStyleEntry[];
344
- /**
345
- * Root of the styles part tree, for layout's style cascade. Memoized once; `null` when
346
- * the package has no styles part. Styles editing is a later slice, so this is immutable
347
- * for the session.
348
- */
339
+ /** Current styles root for layout, or `null` when the package has no styles part. */
349
340
  stylesRoot(): OoxmlElement | null;
350
341
  /**
351
342
  * The theme part's Latin typefaces, for resolving `w:rFonts` theme references in layout.
@@ -1,6 +1,5 @@
1
- import { e as OoxmlPart } from './ooxml-tree-BU0e3DVi.js';
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-BbzrA-kg.js';
1
+ import { O as OoxmlPart, c as OoxmlPackage } from './ooxml-package-CdEy9ufK.cjs';
2
+ import { I as ImpactClass, T as TreeDocOp, a as TreeOpRejection } from './tree-op-types-B0-sCtw-.cjs';
4
3
 
5
4
  /**
6
5
  * The document metadata Word's document-property fields render.
@@ -1,6 +1,5 @@
1
- import { e as OoxmlPart } from './ooxml-tree-BU0e3DVi.cjs';
2
- import { O as OoxmlPackage } from './ooxml-package-CR5us6ad.cjs';
3
- import { I as ImpactClass, T as TreeDocOp, a as TreeOpRejection } from './tree-op-types-A-SLSKzK.cjs';
1
+ import { O as OoxmlPart, c as OoxmlPackage } from './ooxml-package-CdEy9ufK.js';
2
+ import { I as ImpactClass, T as TreeDocOp, a as TreeOpRejection } from './tree-op-types-XMVsJSpe.js';
4
3
 
5
4
  /**
6
5
  * The document metadata Word's document-property fields render.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docx-editor.dev/core",
3
- "version": "2.8.0",
3
+ "version": "2.9.1",
4
4
  "description": "Framework-agnostic core for docx-editor.dev: OOXML parse/serialize, the canonical document tree, layout and paint, and the Editor contract the adapters render.",
5
5
  "type": "module",
6
6
  "exports": {
@@ -86,7 +86,7 @@
86
86
  "directory": "packages/core"
87
87
  },
88
88
  "dependencies": {
89
- "@docx-editor.dev/i18n": "^2.8.0",
89
+ "@docx-editor.dev/i18n": "^2.9.1",
90
90
  "bidi-js": "1.0.3",
91
91
  "emf-converter": "2.0.2",
92
92
  "fast-xml-parser": "^5.10.1",