@docx-editor.dev/core 2.12.0 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -14
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.cts +5 -5
- package/dist/automation.d.ts +5 -5
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +8 -8
- package/dist/binding.d.ts +8 -8
- package/dist/binding.js +1 -1
- package/dist/chunk-2PIHW2QM.cjs +1 -0
- package/dist/chunk-2QTY5S6T.js +1 -0
- package/dist/chunk-4Z5MODAE.cjs +2 -0
- package/dist/chunk-5TKAPFZT.cjs +2 -0
- package/dist/chunk-DRQHIQ4R.cjs +1 -0
- package/dist/chunk-F2K6SDHA.cjs +20 -0
- package/dist/chunk-FBA57EUJ.js +2 -0
- package/dist/{chunk-XCFM3G5L.cjs → chunk-KIAP7PFQ.cjs} +1 -1
- package/dist/chunk-KTAQ7BRQ.js +20 -0
- package/dist/chunk-LBAHXZCU.cjs +5 -0
- package/dist/chunk-MCDUQYWP.js +5 -0
- package/dist/chunk-MQP26KCF.js +1 -0
- package/dist/chunk-NDJGSR6M.cjs +19 -0
- package/dist/chunk-NJNFJPGB.cjs +11 -0
- package/dist/chunk-O5M4CR4P.cjs +2 -0
- package/dist/{chunk-W77HJGYX.js → chunk-OKEDGR65.js} +1 -1
- package/dist/{chunk-WU7PUTVA.js → chunk-RIYSCEFQ.js} +1 -1
- package/dist/chunk-UKUOZXUD.js +19 -0
- package/dist/chunk-VQ4R5LTU.js +2 -0
- package/dist/chunk-ZBEJHJN2.js +11 -0
- package/dist/chunk-ZVTW7RGD.js +2 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.cts +3 -3
- package/dist/collaboration/replication.d.ts +3 -3
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.cts +3 -3
- package/dist/collaboration.d.ts +3 -3
- package/dist/contracts/editor.d.cts +7 -7
- package/dist/contracts/editor.d.ts +7 -7
- package/dist/contracts/interaction.d.cts +7 -7
- package/dist/contracts/interaction.d.ts +7 -7
- package/dist/contracts/modules.d.cts +7 -7
- package/dist/contracts/modules.d.ts +7 -7
- package/dist/{custom-node-writes-D4rMJIES.d.cts → custom-node-writes-C46r3_5O.d.cts} +2 -2
- package/dist/{custom-node-writes-CcNeHH5C.d.ts → custom-node-writes-DntmaAVW.d.ts} +2 -2
- package/dist/{dist-YFULGVS3.js → dist-OSUJGKTK.js} +1 -1
- package/dist/{editor-B76SEMZw.d.cts → editor-AJ06hyyg.d.cts} +45 -9
- package/dist/{editor-BcdsPdbY.d.ts → editor-a6VvsfYU.d.ts} +45 -9
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.d.cts +22 -22
- package/dist/editor.d.ts +22 -22
- package/dist/editor.js +1 -1
- package/dist/{index-BYTvklN5.d.ts → index-C5ZnSRkF.d.ts} +209 -20
- package/dist/{index-CDGhPib1.d.cts → index-Cbw4lkOt.d.cts} +209 -20
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +15 -15
- package/dist/index.d.ts +15 -15
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +203 -593
- package/dist/layout.d.ts +203 -593
- package/dist/layout.js +1 -1
- package/dist/{note-properties-Bx7rXruA.d.ts → note-properties-CDFiNXcD.d.ts} +1 -1
- package/dist/{note-properties-zQ8w04en.d.cts → note-properties-Y6qYh2Hv.d.cts} +1 -1
- package/dist/{omml-equation-69O1Pd8G.d.ts → omml-equation-BY49UOIF.d.ts} +1 -1
- package/dist/{omml-equation-BmV51rim.d.cts → omml-equation-DB8d-jCq.d.cts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +6 -6
- package/dist/output.d.ts +6 -6
- package/dist/output.js +1 -1
- package/dist/{protocol-DC7ueVuo.d.ts → protocol-BsmQgblT.d.ts} +2 -2
- package/dist/{protocol-FTXtrAIT.d.cts → protocol-gOY5GA8K.d.cts} +2 -2
- package/dist/{review-items-B78OsJU2.d.ts → review-items-CCS1h93f.d.ts} +1 -1
- package/dist/{review-items-C-2WQdEb.d.cts → review-items-CaAkgi5s.d.cts} +1 -1
- package/dist/{review-reads-UexYBp-m.d.ts → review-reads-BjZYeMd4.d.ts} +8 -21
- package/dist/{review-reads-CbBQlb-n.d.cts → review-reads-DEsV0OOW.d.cts} +8 -21
- package/dist/{revision-projection-6u8lae9J.d.cts → revision-projection-BeXVrSSV.d.ts} +24 -3
- package/dist/{revision-projection-B2v9U3qx.d.ts → revision-projection-DXbrfNGD.d.cts} +24 -3
- package/dist/{semantic-cell-selection-DsYz2Vg3.d.ts → semantic-cell-selection-BK91NCCG.d.ts} +16 -7
- package/dist/{semantic-cell-selection-nEE7E3Z8.d.cts → semantic-cell-selection-BMhku3B1.d.cts} +16 -7
- package/dist/{semantic-interaction-C00BpIyC.d.ts → semantic-interaction-BmQ7h2cq.d.ts} +4 -2
- package/dist/{semantic-interaction-DiOX0FIH.d.cts → semantic-interaction-DUAnxbgf.d.cts} +4 -2
- package/dist/{semantic-paint-Cc11nrDL.d.cts → semantic-paint-DufNL1Zr.d.cts} +2 -2
- package/dist/{semantic-paint-ofuoBsYo.d.ts → semantic-paint-WJD2KeG1.d.ts} +2 -2
- package/dist/{semantic-records-CRG1r6-a.d.cts → semantic-records-92UnKeU_.d.ts} +1146 -10
- package/dist/{semantic-records-CzI0ZEuR.d.ts → semantic-records-BpozY7-j.d.cts} +1146 -10
- package/dist/shaped-measurer-BWbindlI.d.ts +168 -0
- package/dist/shaped-measurer-CFPnXFs9.d.cts +168 -0
- package/dist/store.cjs +1 -1
- package/dist/store.d.cts +26 -16
- package/dist/store.d.ts +26 -16
- package/dist/store.js +1 -1
- package/dist/{tree-op-types-CA7qgAUF.d.cts → tree-op-types-BUulYD5y.d.cts} +15 -2
- package/dist/{tree-op-types-HKfUzt_-.d.ts → tree-op-types-D6HzlPR4.d.ts} +15 -2
- package/dist/{tree-package-fragment-oJZX_5iN.d.ts → tree-package-fragment-CWFjgH6a.d.ts} +3 -11
- package/dist/{tree-package-fragment-Cz-v-0B3.d.cts → tree-package-fragment-Dhyw7oPm.d.cts} +3 -11
- package/dist/{tree-session-contract-BPDLrEPX.d.ts → tree-session-contract-B2HfGt79.d.ts} +33 -6
- package/dist/{tree-session-contract-Cbl87xa8.d.cts → tree-session-contract-BY9xd7s_.d.cts} +33 -6
- package/dist/{tree-store-B7hd6cEa.d.ts → tree-store-APgWx6qn.d.ts} +1 -1
- package/dist/{tree-store-BenW0Mg_.d.cts → tree-store-DEEQ9wz_.d.cts} +1 -1
- package/package.json +5 -2
- package/dist/chunk-3JON7JMD.cjs +0 -1
- package/dist/chunk-5V6FNKBE.cjs +0 -2
- package/dist/chunk-BXRVGHTY.cjs +0 -18
- package/dist/chunk-BXTTPJSH.js +0 -5
- package/dist/chunk-ILTZTY3K.cjs +0 -10
- package/dist/chunk-IUM7FZPA.js +0 -2
- package/dist/chunk-JWZG4QJ5.cjs +0 -2
- package/dist/chunk-JXZYDBKU.cjs +0 -19
- package/dist/chunk-KBOOIC2Q.js +0 -19
- package/dist/chunk-L6XZTLPS.js +0 -10
- package/dist/chunk-L7OR5TJK.cjs +0 -5
- package/dist/chunk-MHQNR2OU.js +0 -2
- package/dist/chunk-MLGPISGH.js +0 -1
- package/dist/chunk-NJXQABQU.js +0 -18
- package/dist/chunk-TKEGK4GQ.cjs +0 -2
- package/dist/chunk-VGFMPWND.js +0 -2
- package/dist/shaped-measurer-CkOGZQn9.d.ts +0 -611
- package/dist/shaped-measurer-CneACGcP.d.cts +0 -611
package/dist/store.d.cts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a3 as ResourceLimits, O as OoxmlPart, a as OoxmlNode, a4 as OoxmlInvariantResult, b as OoxmlPackage, a5 as RelationshipRecord, g as OoxmlElement, a6 as OoxmlInvariantIssue, a7 as OoxmlHardBreakNode, j as OoxmlParagraphNode, a8 as OoxmlFldCharNode, a9 as OoxmlFldSimpleNode, aa as OoxmlInstrTextNode, ab as OoxmlAttribute, T as TreeDocOp, r as TreeOpRejection, ac as TreeOpResult, s as OoxmlProperty, F as DrawingTreeDocOp, I as ImpactClass, u as ImageWrapTarget } from './tree-op-types-
|
|
2
|
-
export { ad as ACCEPTED_PARAGRAPH_PROPERTIES, ae as ACCEPTED_RUN_PROPERTIES, af as CONTENT_CONTROL_ID_MAX, ag as CONTENT_CONTROL_PROPERTY_ORDER, ah as ContentControlCheckbox, ai as ContentControlCheckboxState, a2 as ContentControlDataBinding, aj as ContentControlDateFormat, ak as ContentControlEntry, $ as ContentControlKind, a0 as ContentControlLevel, al as ContentControlListItem, a1 as ContentControlLock, am as ContentControlProperties, an as ContentTypeError, ao as ContentTypeIndex, ap as ContentTypeRecords, aq as CreateImageResourceCacheOptions,
|
|
3
|
-
import { T as TreePackageStore, S as StoryScope } from './tree-package-fragment-
|
|
4
|
-
export { C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, f as DrawingPropertyIdResult, F as FragmentPasteInput, e as FragmentPasteResult, g as HeaderFooterKind, h as HeaderFooterLifecycleImpact, i as HeaderFooterLifecycleOp, j as HeaderFooterLifecycleRejection, k as HeaderFooterLifecycleResult, b as HeaderFooterParts, c as HeaderFooterSectionResolution, l as HeaderFooterSlotMeta, H as HeaderFooterVariant, M as MAX_FRAGMENT_DECODED_BYTES, m as MAX_NOTE_REFERENCE_PARTS, n as MAX_NOTE_REFERENCE_SCAN, N as NoteDiagnostic, o as NoteDiagnosticCode, p as NoteLifecycleImpact, q as NoteLifecycleOp, r as NoteLifecycleOptions, s as NoteLifecycleRejection, t as NoteLifecycleResult, u as NoteReferenceHit, v as NoteReferenceScanBudget, P as PackageTransactResult, w as RemotePackageAttribution, x as StoryResolveResult, a as StoryTargetRejection, y as TreePackageStoreOptions, z as allocateDrawingPropertyId, B as applyFragmentPaste, E as applyHeaderFooterLifecycleOp, G as applyNoteLifecycleOp, J as cascadeDeletedNoteReferences, K as collectNoteReferences, L as collectPackageNoteReferences, O as collectSectionPropertyNodes, Q as createNoteReferenceScanBudget, U as diagnoseNoteReferences, V as isHeaderFooterLifecycleOp, W as isNoteLifecycleOp, X as normalNoteIds, Y as notesPartHasId, Z as resolveHeaderFooterParts, _ as resolveHeaderFooterPartsBySection, $ as resolveHeaderFooterResolutionBySection, a0 as resolveNotesPart, a1 as withBinaryPart, a2 as withEmbeddedImage, a3 as withoutUnreferencedImagePart } from './tree-package-fragment-
|
|
5
|
-
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-
|
|
6
|
-
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-
|
|
7
|
-
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-
|
|
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-
|
|
9
|
-
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-
|
|
10
|
-
export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, f as NOTE_ATOM_CHAR, g as NOTE_CONTINUATION_SEPARATOR_ID, h as NOTE_ID_MAX, i as NOTE_ID_MIN, j as NOTE_SEPARATOR_ID, N as NoteKind, k as NoteType, S as SelectionMark, l as TreeDocumentStoreOptions, c as TreeStoryRef, b as TreeTransactOptions, m as TreeTransactResult, d as TreeTransactionContext, o as allocateNoteId, p as atomicNoteSpansOf, q as customMarkFollows, r as findNoteById, s as formatNoteScopeId, t as isContinuationSeparatorNode, u as isEndnotesNode, v as isFootnotesNode, w as isNormalNote, x as isNoteAtomNode, y as isNoteNode, z as isNoteRefNode, B as isNoteReferenceNode, C as isSeparatorNode, D as noteAtomText, E as noteIdOf, F as noteKindOf, G as noteRefKindOf, H as noteReferenceKindOf, n as noteTypeOf, I as notesOf, J as parseNoteId, K as parseNoteScopeId } from './tree-store-
|
|
11
|
-
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-
|
|
1
|
+
import { a3 as ResourceLimits, O as OoxmlPart, a as OoxmlNode, a4 as OoxmlInvariantResult, b as OoxmlPackage, a5 as RelationshipRecord, g as OoxmlElement, a6 as OoxmlInvariantIssue, a7 as OoxmlHardBreakNode, j as OoxmlParagraphNode, a8 as OoxmlFldCharNode, a9 as OoxmlFldSimpleNode, aa as OoxmlInstrTextNode, ab as OoxmlAttribute, T as TreeDocOp, r as TreeOpRejection, ac as TreeOpResult, s as OoxmlProperty, F as DrawingTreeDocOp, I as ImpactClass, u as ImageWrapTarget } from './tree-op-types-BUulYD5y.cjs';
|
|
2
|
+
export { ad as ACCEPTED_PARAGRAPH_PROPERTIES, ae as ACCEPTED_RUN_PROPERTIES, af as CONTENT_CONTROL_ID_MAX, ag as CONTENT_CONTROL_PROPERTY_ORDER, ah as ContentControlCheckbox, ai as ContentControlCheckboxState, a2 as ContentControlDataBinding, aj as ContentControlDateFormat, ak as ContentControlEntry, $ as ContentControlKind, a0 as ContentControlLevel, al as ContentControlListItem, a1 as ContentControlLock, am as ContentControlProperties, an as ContentTypeError, ao as ContentTypeIndex, ap as ContentTypeRecords, aq as CreateImageResourceCacheOptions, H as DEFAULT_IMAGE_RESOURCE_LIMITS, ar as DEFAULT_LIMITS, as as DEFAULT_OOXML_PACKAGE_LIMITS, at as DEFAULT_ZIP_LIMITS, au as DefaultRecord, D as DrawingKind, w as DrawingLocks, v as DrawingPositionInput, av as HARD_CEILINGS, aw as HYPERLINK_RELATIONSHIP_TYPE, ax as HyperlinkKind, ay as HyperlinkTarget, az as IMAGE_RELATIONSHIP_TYPE, aA as IMAGE_RESOURCE_HARD_CEILINGS, J as IMAGE_WRAP_TARGETS, C as ImageDecodePort, aB as ImageRelationshipResolution, K as ImageResourceLimits, aC as ImageResourceLookup, x as ImageResourceState, aD as IndexResult, aE as MAX_CONTENT_CONTROLS_PER_PART, aF as MAX_CONTENT_CONTROL_NESTING, aG as MAX_SVG_SNIFF_BYTES, aH as NameRejection, aI as NameResult, aJ as OFFICE_RELATIONSHIP_NAMESPACE_URI, aK as OOXML_NODE_IDENTITY_RULES, aL as OoxmlBodyNode, aM as OoxmlBookmarkEndNode, aN as OoxmlBookmarkStartNode, aO as OoxmlContentControlCalendarNode, aP as OoxmlContentControlCheckboxNode, aQ as OoxmlContentControlCheckedNode, aR as OoxmlContentControlCheckedStateNode, aS as OoxmlContentControlComboBoxNode, i as OoxmlContentControlContentNode, aT as OoxmlContentControlDataBindingNode, aU as OoxmlContentControlDateFormatNode, aV as OoxmlContentControlDateNode, aW as OoxmlContentControlDropDownListNode, aX as OoxmlContentControlEndPropertiesNode, aY as OoxmlContentControlLidNode, aZ as OoxmlContentControlListItemNode, h as OoxmlContentControlNode, a_ as OoxmlContentControlPropertiesNode, a$ as OoxmlContentControlStoreMappedDataAsNode, b0 as OoxmlContentControlTextNode, b1 as OoxmlContentControlUncheckedStateNode, l as OoxmlContinuationSeparatorNode, b2 as OoxmlDocumentNode, m as OoxmlEndnotesNode, b3 as OoxmlExternalTarget, n as OoxmlFootnotesNode, d as OoxmlGenericElementNode, b4 as OoxmlGenericExtensionAttribute, b5 as OoxmlHyperlinkNode, b6 as OoxmlInvariantIssueCode, b7 as OoxmlKnownNodeAttribute, b8 as OoxmlNamespaceBinding, c as OoxmlNodeId, b9 as OoxmlNodeIdentityRules, k as OoxmlNoteNode, o as OoxmlNoteRefNode, p as OoxmlNoteReferenceNode, e as OoxmlPackageLimits, f as OoxmlPackageRejection, ba as OoxmlPackageResult, bb as OoxmlParagraphPropertiesNode, bc as OoxmlPartMetadata, bd as OoxmlReadRejection, be as OoxmlReadResult, bf as OoxmlRunNode, bg as OoxmlRunPropertiesNode, q as OoxmlSeparatorNode, bh as OoxmlTabNode, bi as OoxmlTextElementNode, bj as OoxmlTextNode, bk as OoxmlWmlValAttribute, bl as OoxmlXmlSpaceAttribute, bm as OverrideRecord, P as PreservedImageMime, bn as RelationshipError, bo as RelationshipSetResult, bp as RelationshipTargetResolver, bq as ResolveResult, br as ResolvedRelationship, R as RevisionAddress, S as SourceCrop, y as SupportedImageMime, bs as TABLE_BORDER_STYLES, bt as TREE_DOC_OP_KINDS, bu as TabStopWrite, _ as TableBorderStyle, bv as TargetMode, bw as TreeDocOpKind, bx as TreeOpEffect, by as ValidatedRasterHeader, bz as WML_NAMESPACE_URI, bA as XMLNS_NAMESPACE_URI, bB as XML_NAMESPACE_URI, bC as XmlLimits, bD as XmlNode, bE as XmlRejection, bF as XmlResult, bG as ZipLimits, bH as ZipReadResult, bI as ZipRejection, bJ as allocateContentControlId, bK as asciiFold, bL as buildContentTypeIndex, bM as buildRelationshipSet, bN as childElements, bO as contentControlContentChildren, bP as contentControlContentNodeOf, bQ as contentControlEndPropertiesNodeOf, bR as contentControlLevelOf, bS as contentControlPropertiesNodeOf, bT as contentControlPropertiesOf, bU as contentControlTextOf, bV as contentControlsIn, bW as createImageResourceCache, bX as detectDuplicateNames, bY as extensionKey, bZ as findContentControl, b_ as findElement, b$ as flattenContentControls, c0 as hasBoundedSvgRoot, c1 as hyperlinkAnchorOf, c2 as hyperlinkRelationshipIdOf, c3 as hyperlinkTargetOf, c4 as imageResourceLookupFor, c5 as isContentControlContentNode, c6 as isContentControlNode, c7 as isContentControlWrapper, c8 as isContentRevisionKind, c9 as isHyperlinkNode, ca as isRangeMarkerKind, cb as isValidMime, cc as liveDrawingReferenceCount, cd as lockForbidsEdit, ce as lockForbidsRemoval, cf as normalizePartName, cg as orderedContentControlProperties, ch as parseContentControlId, ci as partNameKey, cj as projectDrawing, ck as readOnOffChild, cl as readOoxmlPackage, cm as readOoxmlPart, cn as readXml, co as readZip, cp as resolveContentControlLock, cq as resolveContentType, cr as resolveImageRelationship, L as resolveImageResourceLimits, cs as resolveInternalTarget, ct as resolveLimits, cu as resolveRelationship, N as sniffImageMime, cv as textContent, cw as validateExternalTarget, cx as validateGifHeader, cy as validateJpegHeader, cz as validatePngHeader, Q as validateRasterHeader, cA as withPart, cB as writeOoxmlPackage, cC as writeZip } from './tree-op-types-BUulYD5y.cjs';
|
|
3
|
+
import { T as TreePackageStore, S as StoryScope } from './tree-package-fragment-Dhyw7oPm.cjs';
|
|
4
|
+
export { C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, f as DrawingPropertyIdResult, F as FragmentPasteInput, e as FragmentPasteResult, g as HeaderFooterKind, h as HeaderFooterLifecycleImpact, i as HeaderFooterLifecycleOp, j as HeaderFooterLifecycleRejection, k as HeaderFooterLifecycleResult, b as HeaderFooterParts, c as HeaderFooterSectionResolution, l as HeaderFooterSlotMeta, H as HeaderFooterVariant, M as MAX_FRAGMENT_DECODED_BYTES, m as MAX_NOTE_REFERENCE_PARTS, n as MAX_NOTE_REFERENCE_SCAN, N as NoteDiagnostic, o as NoteDiagnosticCode, p as NoteLifecycleImpact, q as NoteLifecycleOp, r as NoteLifecycleOptions, s as NoteLifecycleRejection, t as NoteLifecycleResult, u as NoteReferenceHit, v as NoteReferenceScanBudget, P as PackageTransactResult, w as RemotePackageAttribution, x as StoryResolveResult, a as StoryTargetRejection, y as TreePackageStoreOptions, z as allocateDrawingPropertyId, B as applyFragmentPaste, E as applyHeaderFooterLifecycleOp, G as applyNoteLifecycleOp, J as cascadeDeletedNoteReferences, K as collectNoteReferences, L as collectPackageNoteReferences, O as collectSectionPropertyNodes, Q as createNoteReferenceScanBudget, U as diagnoseNoteReferences, V as isHeaderFooterLifecycleOp, W as isNoteLifecycleOp, X as normalNoteIds, Y as notesPartHasId, Z as resolveHeaderFooterParts, _ as resolveHeaderFooterPartsBySection, $ as resolveHeaderFooterResolutionBySection, a0 as resolveNotesPart, a1 as withBinaryPart, a2 as withEmbeddedImage, a3 as withoutUnreferencedImagePart } from './tree-package-fragment-Dhyw7oPm.cjs';
|
|
5
|
+
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-DB8d-jCq.cjs';
|
|
6
|
+
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-C46r3_5O.cjs';
|
|
7
|
+
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-C46r3_5O.cjs';
|
|
8
|
+
export { L as LinkableReviewItem, c as collectFlowBlocks, f as collectReviewItems, a as commentBodyText, b as commentInitials, g as commentItemsOf, h as contentControlContentOf, j as deepParagraphOrderOfPart, i as isContentControl, e as isContentControlContent, l as linkRevisionReplies, p as paragraphOrderOfPart, r as revisionItemsOf, w as walkAllStoryParagraphs, k as walkParagraphInline, m as walkStoryBlocks } from './review-reads-DEsV0OOW.cjs';
|
|
9
|
+
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-DEEQ9wz_.cjs';
|
|
10
|
+
export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, f as NOTE_ATOM_CHAR, g as NOTE_CONTINUATION_SEPARATOR_ID, h as NOTE_ID_MAX, i as NOTE_ID_MIN, j as NOTE_SEPARATOR_ID, N as NoteKind, k as NoteType, S as SelectionMark, l as TreeDocumentStoreOptions, c as TreeStoryRef, b as TreeTransactOptions, m as TreeTransactResult, d as TreeTransactionContext, o as allocateNoteId, p as atomicNoteSpansOf, q as customMarkFollows, r as findNoteById, s as formatNoteScopeId, t as isContinuationSeparatorNode, u as isEndnotesNode, v as isFootnotesNode, w as isNormalNote, x as isNoteAtomNode, y as isNoteNode, z as isNoteRefNode, B as isNoteReferenceNode, C as isSeparatorNode, D as noteAtomText, E as noteIdOf, F as noteKindOf, G as noteRefKindOf, H as noteReferenceKindOf, n as noteTypeOf, I as notesOf, J as parseNoteId, K as parseNoteScopeId } from './tree-store-DEEQ9wz_.cjs';
|
|
11
|
+
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-Y6qYh2Hv.cjs';
|
|
12
12
|
export { D as DocumentProperties } from './document-properties-D6Ahr8D6.cjs';
|
|
13
|
-
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-
|
|
13
|
+
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-CaAkgi5s.cjs';
|
|
14
14
|
import './contracts/types.cjs';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -2037,6 +2037,9 @@ type FragmentExtractResult = {
|
|
|
2037
2037
|
readonly ok: true;
|
|
2038
2038
|
/** The fragment package zip, readable by `readOoxmlPackage`. */
|
|
2039
2039
|
readonly bytes: Uint8Array;
|
|
2040
|
+
/** The same fragment as an already-assembled in-memory package, so the copy
|
|
2041
|
+
* path renders interop HTML without re-inflating and re-parsing `bytes`. */
|
|
2042
|
+
readonly package: OoxmlPackage;
|
|
2040
2043
|
/** Travels beside the zip (HTML attribute): whether the last paragraph mark is covered. */
|
|
2041
2044
|
readonly lastMarkCovered: boolean;
|
|
2042
2045
|
readonly blockCount: number;
|
|
@@ -2239,6 +2242,13 @@ declare function nextCommentId(part: OoxmlPart | undefined, actorId?: string): s
|
|
|
2239
2242
|
* that the automation lane — which has no layout at all — reaches them.
|
|
2240
2243
|
*/
|
|
2241
2244
|
type FormattingDisplayMode = 'all-markup' | 'proposed' | 'original';
|
|
2245
|
+
/** View-time revision visibility used by mounted formatting lanes. */
|
|
2246
|
+
interface FormattingRevisionAuthorFilter {
|
|
2247
|
+
readonly hiddenAuthors: ReadonlySet<string>;
|
|
2248
|
+
readonly includesNode?: (nodeId: string, author: string) => boolean;
|
|
2249
|
+
/** Accepted/original projection for a revision excluded by `includesNode`. */
|
|
2250
|
+
readonly excludedNodeMode?: (nodeId: string, author: string) => 'proposed' | 'original';
|
|
2251
|
+
}
|
|
2242
2252
|
/**
|
|
2243
2253
|
* What the formatting lanes assume when nobody names a view.
|
|
2244
2254
|
*
|
|
@@ -2366,7 +2376,7 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
|
|
|
2366
2376
|
* offset rather than by id because these edits apply in sequence and the applier splits runs at
|
|
2367
2377
|
* the range edges; offsets are unmoved by a property write, ids are not.
|
|
2368
2378
|
*/
|
|
2369
|
-
declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode): readonly RunPropertyEdit[];
|
|
2379
|
+
declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly RunPropertyEdit[];
|
|
2370
2380
|
/**
|
|
2371
2381
|
* The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
|
|
2372
2382
|
*
|
|
@@ -2381,7 +2391,7 @@ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: n
|
|
|
2381
2391
|
* Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
|
|
2382
2392
|
* two visible runs, so the ranges either side of it never coalesce across it.
|
|
2383
2393
|
*/
|
|
2384
|
-
declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly {
|
|
2394
|
+
declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly {
|
|
2385
2395
|
readonly start: number;
|
|
2386
2396
|
readonly end: number;
|
|
2387
2397
|
}[];
|
|
@@ -2391,7 +2401,7 @@ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start:
|
|
|
2391
2401
|
* A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
|
|
2392
2402
|
* want the empty answer for a collapsed range check the offsets themselves.
|
|
2393
2403
|
*/
|
|
2394
|
-
declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly OoxmlNode[];
|
|
2404
|
+
declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly OoxmlNode[];
|
|
2395
2405
|
|
|
2396
2406
|
/** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
|
|
2397
2407
|
interface SiteLocation {
|
|
@@ -2487,4 +2497,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
|
|
|
2487
2497
|
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
2488
2498
|
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
2489
2499
|
|
|
2490
|
-
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, CustomNodeWriteResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, InsertCustomNodeWrite, 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 PackageCommentDelete, 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, StoryScope, 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, TreePackageStore, type Twips, type ValidationResult, addComment, addPackageComment, 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, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, 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 };
|
|
2500
|
+
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, CustomNodeWriteResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FormattingRevisionAuthorFilter, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, InsertCustomNodeWrite, 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 PackageCommentDelete, 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, StoryScope, 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, TreePackageStore, type Twips, type ValidationResult, addComment, addPackageComment, 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, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
|
package/dist/store.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { a3 as ResourceLimits, O as OoxmlPart, a as OoxmlNode, a4 as OoxmlInvariantResult, b as OoxmlPackage, a5 as RelationshipRecord, g as OoxmlElement, a6 as OoxmlInvariantIssue, a7 as OoxmlHardBreakNode, j as OoxmlParagraphNode, a8 as OoxmlFldCharNode, a9 as OoxmlFldSimpleNode, aa as OoxmlInstrTextNode, ab as OoxmlAttribute, T as TreeDocOp, r as TreeOpRejection, ac as TreeOpResult, s as OoxmlProperty, F as DrawingTreeDocOp, I as ImpactClass, u as ImageWrapTarget } from './tree-op-types-
|
|
2
|
-
export { ad as ACCEPTED_PARAGRAPH_PROPERTIES, ae as ACCEPTED_RUN_PROPERTIES, af as CONTENT_CONTROL_ID_MAX, ag as CONTENT_CONTROL_PROPERTY_ORDER, ah as ContentControlCheckbox, ai as ContentControlCheckboxState, a2 as ContentControlDataBinding, aj as ContentControlDateFormat, ak as ContentControlEntry, $ as ContentControlKind, a0 as ContentControlLevel, al as ContentControlListItem, a1 as ContentControlLock, am as ContentControlProperties, an as ContentTypeError, ao as ContentTypeIndex, ap as ContentTypeRecords, aq as CreateImageResourceCacheOptions,
|
|
3
|
-
import { T as TreePackageStore, S as StoryScope } from './tree-package-fragment-
|
|
4
|
-
export { C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, f as DrawingPropertyIdResult, F as FragmentPasteInput, e as FragmentPasteResult, g as HeaderFooterKind, h as HeaderFooterLifecycleImpact, i as HeaderFooterLifecycleOp, j as HeaderFooterLifecycleRejection, k as HeaderFooterLifecycleResult, b as HeaderFooterParts, c as HeaderFooterSectionResolution, l as HeaderFooterSlotMeta, H as HeaderFooterVariant, M as MAX_FRAGMENT_DECODED_BYTES, m as MAX_NOTE_REFERENCE_PARTS, n as MAX_NOTE_REFERENCE_SCAN, N as NoteDiagnostic, o as NoteDiagnosticCode, p as NoteLifecycleImpact, q as NoteLifecycleOp, r as NoteLifecycleOptions, s as NoteLifecycleRejection, t as NoteLifecycleResult, u as NoteReferenceHit, v as NoteReferenceScanBudget, P as PackageTransactResult, w as RemotePackageAttribution, x as StoryResolveResult, a as StoryTargetRejection, y as TreePackageStoreOptions, z as allocateDrawingPropertyId, B as applyFragmentPaste, E as applyHeaderFooterLifecycleOp, G as applyNoteLifecycleOp, J as cascadeDeletedNoteReferences, K as collectNoteReferences, L as collectPackageNoteReferences, O as collectSectionPropertyNodes, Q as createNoteReferenceScanBudget, U as diagnoseNoteReferences, V as isHeaderFooterLifecycleOp, W as isNoteLifecycleOp, X as normalNoteIds, Y as notesPartHasId, Z as resolveHeaderFooterParts, _ as resolveHeaderFooterPartsBySection, $ as resolveHeaderFooterResolutionBySection, a0 as resolveNotesPart, a1 as withBinaryPart, a2 as withEmbeddedImage, a3 as withoutUnreferencedImagePart } from './tree-package-fragment-
|
|
5
|
-
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-
|
|
6
|
-
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-
|
|
7
|
-
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-
|
|
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-
|
|
9
|
-
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-
|
|
10
|
-
export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, f as NOTE_ATOM_CHAR, g as NOTE_CONTINUATION_SEPARATOR_ID, h as NOTE_ID_MAX, i as NOTE_ID_MIN, j as NOTE_SEPARATOR_ID, N as NoteKind, k as NoteType, S as SelectionMark, l as TreeDocumentStoreOptions, c as TreeStoryRef, b as TreeTransactOptions, m as TreeTransactResult, d as TreeTransactionContext, o as allocateNoteId, p as atomicNoteSpansOf, q as customMarkFollows, r as findNoteById, s as formatNoteScopeId, t as isContinuationSeparatorNode, u as isEndnotesNode, v as isFootnotesNode, w as isNormalNote, x as isNoteAtomNode, y as isNoteNode, z as isNoteRefNode, B as isNoteReferenceNode, C as isSeparatorNode, D as noteAtomText, E as noteIdOf, F as noteKindOf, G as noteRefKindOf, H as noteReferenceKindOf, n as noteTypeOf, I as notesOf, J as parseNoteId, K as parseNoteScopeId } from './tree-store-
|
|
11
|
-
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-
|
|
1
|
+
import { a3 as ResourceLimits, O as OoxmlPart, a as OoxmlNode, a4 as OoxmlInvariantResult, b as OoxmlPackage, a5 as RelationshipRecord, g as OoxmlElement, a6 as OoxmlInvariantIssue, a7 as OoxmlHardBreakNode, j as OoxmlParagraphNode, a8 as OoxmlFldCharNode, a9 as OoxmlFldSimpleNode, aa as OoxmlInstrTextNode, ab as OoxmlAttribute, T as TreeDocOp, r as TreeOpRejection, ac as TreeOpResult, s as OoxmlProperty, F as DrawingTreeDocOp, I as ImpactClass, u as ImageWrapTarget } from './tree-op-types-D6HzlPR4.js';
|
|
2
|
+
export { ad as ACCEPTED_PARAGRAPH_PROPERTIES, ae as ACCEPTED_RUN_PROPERTIES, af as CONTENT_CONTROL_ID_MAX, ag as CONTENT_CONTROL_PROPERTY_ORDER, ah as ContentControlCheckbox, ai as ContentControlCheckboxState, a2 as ContentControlDataBinding, aj as ContentControlDateFormat, ak as ContentControlEntry, $ as ContentControlKind, a0 as ContentControlLevel, al as ContentControlListItem, a1 as ContentControlLock, am as ContentControlProperties, an as ContentTypeError, ao as ContentTypeIndex, ap as ContentTypeRecords, aq as CreateImageResourceCacheOptions, H as DEFAULT_IMAGE_RESOURCE_LIMITS, ar as DEFAULT_LIMITS, as as DEFAULT_OOXML_PACKAGE_LIMITS, at as DEFAULT_ZIP_LIMITS, au as DefaultRecord, D as DrawingKind, w as DrawingLocks, v as DrawingPositionInput, av as HARD_CEILINGS, aw as HYPERLINK_RELATIONSHIP_TYPE, ax as HyperlinkKind, ay as HyperlinkTarget, az as IMAGE_RELATIONSHIP_TYPE, aA as IMAGE_RESOURCE_HARD_CEILINGS, J as IMAGE_WRAP_TARGETS, C as ImageDecodePort, aB as ImageRelationshipResolution, K as ImageResourceLimits, aC as ImageResourceLookup, x as ImageResourceState, aD as IndexResult, aE as MAX_CONTENT_CONTROLS_PER_PART, aF as MAX_CONTENT_CONTROL_NESTING, aG as MAX_SVG_SNIFF_BYTES, aH as NameRejection, aI as NameResult, aJ as OFFICE_RELATIONSHIP_NAMESPACE_URI, aK as OOXML_NODE_IDENTITY_RULES, aL as OoxmlBodyNode, aM as OoxmlBookmarkEndNode, aN as OoxmlBookmarkStartNode, aO as OoxmlContentControlCalendarNode, aP as OoxmlContentControlCheckboxNode, aQ as OoxmlContentControlCheckedNode, aR as OoxmlContentControlCheckedStateNode, aS as OoxmlContentControlComboBoxNode, i as OoxmlContentControlContentNode, aT as OoxmlContentControlDataBindingNode, aU as OoxmlContentControlDateFormatNode, aV as OoxmlContentControlDateNode, aW as OoxmlContentControlDropDownListNode, aX as OoxmlContentControlEndPropertiesNode, aY as OoxmlContentControlLidNode, aZ as OoxmlContentControlListItemNode, h as OoxmlContentControlNode, a_ as OoxmlContentControlPropertiesNode, a$ as OoxmlContentControlStoreMappedDataAsNode, b0 as OoxmlContentControlTextNode, b1 as OoxmlContentControlUncheckedStateNode, l as OoxmlContinuationSeparatorNode, b2 as OoxmlDocumentNode, m as OoxmlEndnotesNode, b3 as OoxmlExternalTarget, n as OoxmlFootnotesNode, d as OoxmlGenericElementNode, b4 as OoxmlGenericExtensionAttribute, b5 as OoxmlHyperlinkNode, b6 as OoxmlInvariantIssueCode, b7 as OoxmlKnownNodeAttribute, b8 as OoxmlNamespaceBinding, c as OoxmlNodeId, b9 as OoxmlNodeIdentityRules, k as OoxmlNoteNode, o as OoxmlNoteRefNode, p as OoxmlNoteReferenceNode, e as OoxmlPackageLimits, f as OoxmlPackageRejection, ba as OoxmlPackageResult, bb as OoxmlParagraphPropertiesNode, bc as OoxmlPartMetadata, bd as OoxmlReadRejection, be as OoxmlReadResult, bf as OoxmlRunNode, bg as OoxmlRunPropertiesNode, q as OoxmlSeparatorNode, bh as OoxmlTabNode, bi as OoxmlTextElementNode, bj as OoxmlTextNode, bk as OoxmlWmlValAttribute, bl as OoxmlXmlSpaceAttribute, bm as OverrideRecord, P as PreservedImageMime, bn as RelationshipError, bo as RelationshipSetResult, bp as RelationshipTargetResolver, bq as ResolveResult, br as ResolvedRelationship, R as RevisionAddress, S as SourceCrop, y as SupportedImageMime, bs as TABLE_BORDER_STYLES, bt as TREE_DOC_OP_KINDS, bu as TabStopWrite, _ as TableBorderStyle, bv as TargetMode, bw as TreeDocOpKind, bx as TreeOpEffect, by as ValidatedRasterHeader, bz as WML_NAMESPACE_URI, bA as XMLNS_NAMESPACE_URI, bB as XML_NAMESPACE_URI, bC as XmlLimits, bD as XmlNode, bE as XmlRejection, bF as XmlResult, bG as ZipLimits, bH as ZipReadResult, bI as ZipRejection, bJ as allocateContentControlId, bK as asciiFold, bL as buildContentTypeIndex, bM as buildRelationshipSet, bN as childElements, bO as contentControlContentChildren, bP as contentControlContentNodeOf, bQ as contentControlEndPropertiesNodeOf, bR as contentControlLevelOf, bS as contentControlPropertiesNodeOf, bT as contentControlPropertiesOf, bU as contentControlTextOf, bV as contentControlsIn, bW as createImageResourceCache, bX as detectDuplicateNames, bY as extensionKey, bZ as findContentControl, b_ as findElement, b$ as flattenContentControls, c0 as hasBoundedSvgRoot, c1 as hyperlinkAnchorOf, c2 as hyperlinkRelationshipIdOf, c3 as hyperlinkTargetOf, c4 as imageResourceLookupFor, c5 as isContentControlContentNode, c6 as isContentControlNode, c7 as isContentControlWrapper, c8 as isContentRevisionKind, c9 as isHyperlinkNode, ca as isRangeMarkerKind, cb as isValidMime, cc as liveDrawingReferenceCount, cd as lockForbidsEdit, ce as lockForbidsRemoval, cf as normalizePartName, cg as orderedContentControlProperties, ch as parseContentControlId, ci as partNameKey, cj as projectDrawing, ck as readOnOffChild, cl as readOoxmlPackage, cm as readOoxmlPart, cn as readXml, co as readZip, cp as resolveContentControlLock, cq as resolveContentType, cr as resolveImageRelationship, L as resolveImageResourceLimits, cs as resolveInternalTarget, ct as resolveLimits, cu as resolveRelationship, N as sniffImageMime, cv as textContent, cw as validateExternalTarget, cx as validateGifHeader, cy as validateJpegHeader, cz as validatePngHeader, Q as validateRasterHeader, cA as withPart, cB as writeOoxmlPackage, cC as writeZip } from './tree-op-types-D6HzlPR4.js';
|
|
3
|
+
import { T as TreePackageStore, S as StoryScope } from './tree-package-fragment-CWFjgH6a.js';
|
|
4
|
+
export { C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, f as DrawingPropertyIdResult, F as FragmentPasteInput, e as FragmentPasteResult, g as HeaderFooterKind, h as HeaderFooterLifecycleImpact, i as HeaderFooterLifecycleOp, j as HeaderFooterLifecycleRejection, k as HeaderFooterLifecycleResult, b as HeaderFooterParts, c as HeaderFooterSectionResolution, l as HeaderFooterSlotMeta, H as HeaderFooterVariant, M as MAX_FRAGMENT_DECODED_BYTES, m as MAX_NOTE_REFERENCE_PARTS, n as MAX_NOTE_REFERENCE_SCAN, N as NoteDiagnostic, o as NoteDiagnosticCode, p as NoteLifecycleImpact, q as NoteLifecycleOp, r as NoteLifecycleOptions, s as NoteLifecycleRejection, t as NoteLifecycleResult, u as NoteReferenceHit, v as NoteReferenceScanBudget, P as PackageTransactResult, w as RemotePackageAttribution, x as StoryResolveResult, a as StoryTargetRejection, y as TreePackageStoreOptions, z as allocateDrawingPropertyId, B as applyFragmentPaste, E as applyHeaderFooterLifecycleOp, G as applyNoteLifecycleOp, J as cascadeDeletedNoteReferences, K as collectNoteReferences, L as collectPackageNoteReferences, O as collectSectionPropertyNodes, Q as createNoteReferenceScanBudget, U as diagnoseNoteReferences, V as isHeaderFooterLifecycleOp, W as isNoteLifecycleOp, X as normalNoteIds, Y as notesPartHasId, Z as resolveHeaderFooterParts, _ as resolveHeaderFooterPartsBySection, $ as resolveHeaderFooterResolutionBySection, a0 as resolveNotesPart, a1 as withBinaryPart, a2 as withEmbeddedImage, a3 as withoutUnreferencedImagePart } from './tree-package-fragment-CWFjgH6a.js';
|
|
5
|
+
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-BY49UOIF.js';
|
|
6
|
+
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-DntmaAVW.js';
|
|
7
|
+
export { b as BookmarkAnchor, B as BookmarkIndex, c as CustomNodePayloadRead, d as CustomNodePayloadWrite, a as CustomNodeSweepOutcome, e as CustomNodeSweepResult, f as CustomNodeWriteRejection, D as DocumentTrackingSettings, E as EmbeddedFont, F as FontStyleKey, L as ListKind, M as MAX_CUSTOM_NODE_LABEL_LENGTH, g as MAX_CUSTOM_NODE_PAYLOAD_LENGTH, N as NO_TRACKING_SETTINGS, R as ReadEmbeddedFontsOptions, h as buildBookmarkIndex, i as customNodePayloadsByControl, j as customNodePayloadsOf, k as deobfuscateFont, l as ensureListDefinition, m as ensureNumberingLevel, n as insertCustomNodeWrite, r as readEmbeddedFonts, o as readTrackingSettings, p as removeCustomNodeWrite, s as sweepCustomNodePayloads } from './custom-node-writes-DntmaAVW.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-BjZYeMd4.js';
|
|
9
|
+
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-APgWx6qn.js';
|
|
10
|
+
export { A as AtomicNoteSpan, M as MAX_NOTES_PER_PART, f as NOTE_ATOM_CHAR, g as NOTE_CONTINUATION_SEPARATOR_ID, h as NOTE_ID_MAX, i as NOTE_ID_MIN, j as NOTE_SEPARATOR_ID, N as NoteKind, k as NoteType, S as SelectionMark, l as TreeDocumentStoreOptions, c as TreeStoryRef, b as TreeTransactOptions, m as TreeTransactResult, d as TreeTransactionContext, o as allocateNoteId, p as atomicNoteSpansOf, q as customMarkFollows, r as findNoteById, s as formatNoteScopeId, t as isContinuationSeparatorNode, u as isEndnotesNode, v as isFootnotesNode, w as isNormalNote, x as isNoteAtomNode, y as isNoteNode, z as isNoteRefNode, B as isNoteReferenceNode, C as isSeparatorNode, D as noteAtomText, E as noteIdOf, F as noteKindOf, G as noteRefKindOf, H as noteReferenceKindOf, n as noteTypeOf, I as notesOf, J as parseNoteId, K as parseNoteScopeId } from './tree-store-APgWx6qn.js';
|
|
11
|
+
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-CDFiNXcD.js';
|
|
12
12
|
export { D as DocumentProperties } from './document-properties-D6Ahr8D6.js';
|
|
13
|
-
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-
|
|
13
|
+
export { i as CommentAnchor, j as CommentPosition, C as CommentRecord, h as CommentThreadState, c as ReviewCommentItem, d as ReviewCustomItem, a as ReviewItem, R as ReviewModelInput, e as ReviewPosition, f as ReviewRange, b as ReviewRevisionItem, g as ReviewRevisionKind, W as W15_NAMESPACE_URI, q as commentAnchorsOfStory, s as commentsOfPart, l as firstReviewRange, t as hasAnyComment, r as reviewItemKey, n as reviewItemRanges, u as threadStateOfPart } from './review-items-CCS1h93f.js';
|
|
14
14
|
import './contracts/types.js';
|
|
15
15
|
|
|
16
16
|
/**
|
|
@@ -2037,6 +2037,9 @@ type FragmentExtractResult = {
|
|
|
2037
2037
|
readonly ok: true;
|
|
2038
2038
|
/** The fragment package zip, readable by `readOoxmlPackage`. */
|
|
2039
2039
|
readonly bytes: Uint8Array;
|
|
2040
|
+
/** The same fragment as an already-assembled in-memory package, so the copy
|
|
2041
|
+
* path renders interop HTML without re-inflating and re-parsing `bytes`. */
|
|
2042
|
+
readonly package: OoxmlPackage;
|
|
2040
2043
|
/** Travels beside the zip (HTML attribute): whether the last paragraph mark is covered. */
|
|
2041
2044
|
readonly lastMarkCovered: boolean;
|
|
2042
2045
|
readonly blockCount: number;
|
|
@@ -2239,6 +2242,13 @@ declare function nextCommentId(part: OoxmlPart | undefined, actorId?: string): s
|
|
|
2239
2242
|
* that the automation lane — which has no layout at all — reaches them.
|
|
2240
2243
|
*/
|
|
2241
2244
|
type FormattingDisplayMode = 'all-markup' | 'proposed' | 'original';
|
|
2245
|
+
/** View-time revision visibility used by mounted formatting lanes. */
|
|
2246
|
+
interface FormattingRevisionAuthorFilter {
|
|
2247
|
+
readonly hiddenAuthors: ReadonlySet<string>;
|
|
2248
|
+
readonly includesNode?: (nodeId: string, author: string) => boolean;
|
|
2249
|
+
/** Accepted/original projection for a revision excluded by `includesNode`. */
|
|
2250
|
+
readonly excludedNodeMode?: (nodeId: string, author: string) => 'proposed' | 'original';
|
|
2251
|
+
}
|
|
2242
2252
|
/**
|
|
2243
2253
|
* What the formatting lanes assume when nobody names a view.
|
|
2244
2254
|
*
|
|
@@ -2366,7 +2376,7 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
|
|
|
2366
2376
|
* offset rather than by id because these edits apply in sequence and the applier splits runs at
|
|
2367
2377
|
* the range edges; offsets are unmoved by a property write, ids are not.
|
|
2368
2378
|
*/
|
|
2369
|
-
declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode): readonly RunPropertyEdit[];
|
|
2379
|
+
declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: number, end: number, incoming: OoxmlProperty | readonly OoxmlProperty[], displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly RunPropertyEdit[];
|
|
2370
2380
|
/**
|
|
2371
2381
|
* The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
|
|
2372
2382
|
*
|
|
@@ -2381,7 +2391,7 @@ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: n
|
|
|
2381
2391
|
* Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
|
|
2382
2392
|
* two visible runs, so the ranges either side of it never coalesce across it.
|
|
2383
2393
|
*/
|
|
2384
|
-
declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly {
|
|
2394
|
+
declare function formattableRanges(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly {
|
|
2385
2395
|
readonly start: number;
|
|
2386
2396
|
readonly end: number;
|
|
2387
2397
|
}[];
|
|
@@ -2391,7 +2401,7 @@ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start:
|
|
|
2391
2401
|
* A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
|
|
2392
2402
|
* want the empty answer for a collapsed range check the offsets themselves.
|
|
2393
2403
|
*/
|
|
2394
|
-
declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode): readonly OoxmlNode[];
|
|
2404
|
+
declare function runsCovering(part: OoxmlPart, paragraphId: string, start: number, end: number, displayMode?: FormattingDisplayMode, authorFilter?: FormattingRevisionAuthorFilter): readonly OoxmlNode[];
|
|
2395
2405
|
|
|
2396
2406
|
/** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
|
|
2397
2407
|
interface SiteLocation {
|
|
@@ -2487,4 +2497,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
|
|
|
2487
2497
|
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
2488
2498
|
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
2489
2499
|
|
|
2490
|
-
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, CustomNodeWriteResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, InsertCustomNodeWrite, 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 PackageCommentDelete, 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, StoryScope, 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, TreePackageStore, type Twips, type ValidationResult, addComment, addPackageComment, 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, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, 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 };
|
|
2500
|
+
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, CustomNodeWriteResult, type CustomXmlDataPart, type CustomXmlDataPartResult, type CustomXmlNode, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, type DetectedToc, DeterministicClock, DeterministicMemoryMeter, type DigestDifference, type DocumentViewSettings, DrawingTreeDocOp, type EditOptions, type EncodedEnvelope, type EnforcementPhase, type EnsuredHyperlinkRelationship, type ExternalResourceConsentPort, FIELD_ATOM_CHAR, type FeatureBundle, type FixtureExpectation, type FixtureOutcome, type FixtureSource, type FixtureStep, type FldCharType, type FontPort, type FormattingDisplayMode, type FormattingRevisionAuthorFilter, type FragmentCoverage, type FragmentExtractRejection, type FragmentExtractResult, type FragmentMergeRejection, type FragmentMergeResult, type HardBreakKind, type HrefProjection, ID_KINDS, INERT_EXECUTABLE_KINDS, type IdKind, type IdentityPort, type ImagePort, ImageWrapTarget, ImpactClass, type InertExecutableKind, type InlineControlSpan, InsertCustomNodeWrite, 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 PackageCommentDelete, 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, StoryScope, 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, TreePackageStore, type Twips, type ValidationResult, addComment, addPackageComment, 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, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, drawingOpImpact, endOperation, ensureHyperlinkRelationship, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hasNode, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertChildren, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, locateSites, makeLimitCounter, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, propertyContainer, readCustomXmlNode, readViewSettings, relationshipTargetIn, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, 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,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,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,r as endOperation,F as extractFragmentPackage,B as fingerprint,E as hashAuthored,b as isValidId,u as makeLimitCounter,d as parseSemVer,D as replayFixture,h as resolve,f as satisfies,y as stableHash,C as validateFixture}from'./chunk-VGFMPWND.js';export{F as AUTHORABLE_PARAGRAPH_PROPERTIES,G as AUTHORABLE_RUN_PROPERTIES,C as DEFAULT_FORMATTING_DISPLAY_MODE,e as DEFAULT_MAX_EDITABLE_STORY_PARTS,u as MAX_CUSTOM_NODE_LABEL_LENGTH,t as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,b as MAX_FRAGMENT_DECODED_BYTES,ka as SEARCH_MATCH_LIMIT,ja as SEARCH_QUERY_MAX,d as TreeDocumentStore,f as TreePackageStore,l as addComment,q as addPackageComment,c as applyFragmentPaste,J as authoredProperties,fa as collectReviewItems,ba as commentBodyText,ca as commentInitials,ea as commentItemsOf,o as commentPartNameOf,p as commentsExtendedPartNameOf,y as customNodePayloadsByControl,z as customNodePayloadsOf,ia as deepParagraphOrderOfPart,s as deletePackageComments,L as directParagraphMarkProperties,K as directParagraphProperties,oa as findOccurrences,Y as firstReviewRange,la as foldCase,P as formatOwnedRunIds,T as formattableRanges,n as hasCommentPart,v as insertCustomNodeWrite,A as insertPackageCustomNode,H as isAuthorableRunProperty,na as isSearchableQuery,ma as isWholeWord,ga as linkRevisionReplies,V as locateSites,a as mergeFragmentIntoPackage,N as mergedFontProperty,Q as mergedMultiSettingProperty,R as mergedParagraphMarkProperties,M as mergedProperties,k as nextCommentId,ha as paragraphOrderOfPart,I as propertyContainer,w as removeCustomNodeWrite,B as removePackageCustomNode,W as reviewItemKey,X as reviewItemRanges,da as revisionItemsOf,O as runAddressRanges,S as runPropertyEdits,U as runsCovering,m as setCommentResolved,r as setPackageCommentResolved,x as sweepCustomNodePayloads}from'./chunk-IUM7FZPA.js';export{_e as ACCEPTED_PARAGRAPH_PROPERTIES,Ze as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,lf as CONTENT_CONTROL_ID_MAX,Df as CONTENT_CONTROL_PROPERTY_ORDER,rg as CUSTOM_NODE_XPATH_PREFIX,bg as CUSTOM_XML_PROPS_REL,cg as CUSTOM_XML_PROPS_TYPE,ag as CUSTOM_XML_REL,G as DANGEROUS_KEYS,dg as DATASTORE_NAMESPACE_URI,le as DEFAULT_ENDNOTE_PROPERTIES,ke as DEFAULT_FOOTNOTE_PROPERTIES,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,hc as DEFAULT_OMML_LIMITS,Ub as DEFAULT_OOXML_PACKAGE_LIMITS,Yf as DEFAULT_VIEW_SETTINGS,La as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Hc as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Pa as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Ya as IMAGE_WRAP_TARGETS,S as INERT_EXECUTABLE_KINDS,o as LimitExceededError,kf as MAX_CONTENT_CONTROLS_PER_PART,jf as MAX_CONTENT_CONTROL_NESTING,ge as MAX_NOTES_PER_PART,Ne as MAX_NOTE_REFERENCE_PARTS,Me as MAX_NOTE_REFERENCE_SCAN,Gf as MAX_STORY_SDT_NESTING,jb as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,Jd as NOTE_ATOM_CHAR,Nd as NOTE_CONTINUATION_SEPARATOR_ID,Ld as NOTE_ID_MAX,Kd as NOTE_ID_MIN,Md as NOTE_SEPARATOR_ID,Wf as NO_TRACKING_SETTINGS,gc as OFFICE_MATH_NAMESPACE_URI,Oa as OFFICE_RELATIONSHIP_NAMESPACE_URI,sa as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Cc as PAGE_BREAK_CHAR,ba as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Fg as TABLE_BORDER_STYLES,nd as TOC_LEVEL_INDENT_TWIPS,bd as TOC_MAX_BOOKMARKS_PER_REFRESH,ad as TOC_MAX_ENTRIES,cd as TOC_MAX_FIELD_NESTING,$c as TOC_MAX_INSTRUCTION_CHARS,dd as TOC_MAX_PAGE_PASSES,$e as TREE_DOC_OP_KINDS,id as TWIPS_PER_POINT,Nf as W15_NAMESPACE_URI,ca as WML_NAMESPACE_URI,ea as XMLNS_NAMESPACE_URI,da as XML_NAMESPACE_URI,Ff as allocateContentControlId,Jb as allocateDrawingPropertyId,he as allocateNoteId,Ja as applyEdits,Id as applyHeaderFooterLifecycleOp,bf as applyNoteLifecycleOp,Zg as applyTreeOp,t as asciiFold,aa as assertValidQName,Zc as atomicFieldSpansOf,fe as atomicNoteSpansOf,Dd as authorableHyperlinkTarget,re as authoredDocumentEndnoteProperties,qe as authoredDocumentFootnoteProperties,oe as authoredEndnotePropertiesFromSectPr,ne as authoredFootnotePropertiesFromSectPr,Jf as bodyStoryRoot,td as bookmarkPairNodes,vg as boundCustomXmlNodeIdOf,tg as boundCustomXmlNodeIds,ug as boundCustomXmlNodeIdsInPackage,hd as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,qd as buildTocContentControl,pd as buildTocEntryParagraph,na as canonicalOoxmlFingerprint,cf as cascadeDeletedNoteReferences,Vf as cascadeEmptiedComments,Y as childElements,rc as collectFlowBlocks,za as collectNodeIds,Qe as collectNoteReferences,Re as collectPackageNoteReferences,yg as collectRevisionSites,vc as collectSectionPropertyNodes,Lf as collectStoryParagraphs,Of as commentAnchorsOfStory,Pf as commentsOfPart,R as containsCssFetch,pf as contentControlContentChildren,tf as contentControlContentNodeOf,pc as contentControlContentOf,sf as contentControlEndPropertiesNodeOf,wf as contentControlLevelOf,rf as contentControlPropertiesNodeOf,vf as contentControlPropertiesOf,zf as contentControlTextOf,xf as contentControlsIn,Yb as contentTypesPartBytes,tb as createImageResourceCache,Aa as createNodeIdAllocator,Oe as createNoteReferenceScanBudget,ce as customMarkFollows,sg as customNodeBinding,gg as customXmlDataParts,pg as customXmlLabelXPath,kg as customXmlNodes,qg as customXmlPrefixMappings,eg as datastoreItemIdFor,Sf as deleteCommentThread,Ac as deobfuscateFont,xd as deriveOoxmlIndexes,fd as detectBodyTocs,v as detectDuplicateNames,Se as diagnoseNoteReferences,Ad as diffSemanticDigests,yd as digestPart,Sg as drawingOpImpact,Ed as ensureHyperlinkRelationship,Bd as ensureListDefinition,Cd as ensureNumberingLevel,kc as equationExpressionToLinearMath,Q as escapeCssString,M as escapeXml,z as extensionKey,Tc as fieldAtomText,Sc as fieldOnOffAttribute,yf as findContentControl,hg as findCustomXmlDataPart,gd as findDetectedToc,X as findElement,Ca as findNode,je as findNoteById,qf as flattenContentControls,Ic as fldCharType,Rc as fldSimpleInstr,wb as fnv1a32,Pd as formatNoteScopeId,Gc as hardBreakAttributes,Dc as hardBreakKind,Fc as hardBreakText,Rf as hasAnyComment,kb as hasBoundedSvgRoot,Vc as hasLegacyFormFieldData,Ba as hasNode,Ra as hyperlinkAnchorOf,Sa as hyperlinkRelationshipIdOf,Ta as hyperlinkTargetOf,sb as imageResourceLookupFor,vd as indexStyles,Ke as inlineControlEndingAt,Le as inlineControlStartingAt,Ga as insertChildren,Qc as instrTextValue,nc as isContentControl,oc as isContentControlContent,nf as isContentControlContentNode,mf as isContentControlNode,of as isContentControlWrapper,ja as isContentRevisionKind,Xd as isContinuationSeparatorNode,I as isDangerousKey,Xg as isDrawingTreeDocOp,Sd as isEndnotesNode,U as isEvaluableField,Uc as isFieldChrome,Mc as isFldChar,Jc as isFldCharNode,Pc as isFldSimple,Lc as isFldSimpleNode,Rd as isFootnotesNode,Hd as isHeaderFooterLifecycleOp,Qa as isHyperlinkNode,T as isInertExecutable,Nc as isInstrText,Kc as isInstrTextNode,ue as isLegalEndnotePosition,_c as isLegalFldCharType,ve as isLegalFootnotePosition,we as isLegalNumRestart,$d as isNormalNote,ee as isNoteAtomNode,af as isNoteLifecycleOp,Td as isNoteNode,Vd as isNoteRefNode,Ud as isNoteReferenceNode,Ec as isPageBreakNode,ka as isRangeMarkerKind,Wd as isSeparatorNode,If as isStoryPart,y as isValidMime,_ as isValidNCName,ub as isValidParaId,$ as isValidQName,lc as linearMathToOmml,rb as liveDrawingReferenceCount,Bf as lockForbidsEdit,Cf as lockForbidsRemoval,xb as mintParaId,Ab as mintedParagraphIdentityAttributes,Ue as normalNoteIds,Bb as normalizeParagraphIdentity,r as normalizePartName,de as noteAtomText,Zd as noteIdOf,Yd as noteKindOf,be as noteRefKindOf,ae as noteReferenceKindOf,_d as noteTypeOf,ie as notesOf,Te as notesPartHasId,J as nullRecord,oa as ooxmlTreesEqual,Ef as orderedContentControlProperties,vb as paraIdOf,Ie as paragraphOffsetIndex,_g as paragraphTextOf,Da as parentNodeOf,me as parseAuthoredNoteProperties,uf as parseContentControlId,jc as parseLinearMath,Od as parseNoteId,Qd as parseNoteScopeId,ed as parseTocInstruction,u as partNameKey,sd as planTocEntries,kd as points,md as pointsToTwips,db as projectDrawing,ic as projectOmmlEquation,lg as readCustomXmlNode,Bc as readEmbeddedFonts,la as readOnOffChild,Vb as readOoxmlPackage,ta as readOoxmlPart,Xf as readTrackingSettings,Zf as readViewSettings,W as readXml,Ma as readZip,Fd as relationshipTargetIn,Zb as relationshipsOf,$b as relsPartNameFor,Ia as removeNode,Fa as replaceChildren,Ha as replaceNode,Af as resolveContentControlLock,B as resolveContentType,_b as resolveContentTypeOf,te as resolveEndnoteProperties,se as resolveFootnoteProperties,zc as resolveHeaderFooterParts,yc as resolveHeaderFooterPartsBySection,xc as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,Pe as resolveNotesPart,E as resolveRelationship,ud as resolveTocRowHeadings,L as sanitizeHref,V as scrubExport,He as segmentsOf,zd as semanticDigest,ma as serializeOoxmlPart,pe as settingsPartOf,lb as sniffImageMime,Kf as storyParagraphs,Hf as storyRootsOf,wd as stylesPartOf,Z as textContent,Qf as threadStateOfPart,K as toSafeRecord,rd as tocEntryText,od as tocLeftIndentTwips,jd as twips,ld as twipsToPoints,yb as usedParaIds,Tg as validateDrawingOp,x as validateExternalTarget,nb as validateGifHeader,ob as validateJpegHeader,qa as validateOoxmlPart,fc as validatePackageInvariants,mb as validatePngHeader,qb as validateRasterHeader,dh as validateTreeOp,zb as w14RootPrefix,tc as walkAllStoryParagraphs,uc as walkParagraphInline,sc as walkStoryBlocks,Mb as withBinaryPart,ac as withContentTypeOverride,ig as withCustomXmlDataPart,mg as withCustomXmlNode,Nb as withEmbeddedImage,wg as withExportedCustomNodes,ec as withNewPart,Xb as withPart,dc as withRelationship,jg as withoutCustomXmlDataPart,ng as withoutCustomXmlNode,og as withoutOrphanCustomXmlNodes,Rb as withoutUnreferencedImagePart,Wg as wrapTargetToAnchorSpec,Wb as writeOoxmlPackage,Na as writeZip}from'./chunk-L6XZTLPS.js';
|
|
1
|
+
export{j as Budget,i as BudgetError,z as COMPARATORS,l as CancellationController,k as CancellationError,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,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,r as endOperation,F as extractFragmentPackage,B as fingerprint,E as hashAuthored,b as isValidId,u as makeLimitCounter,d as parseSemVer,D as replayFixture,h as resolve,f as satisfies,y as stableHash,C as validateFixture}from'./chunk-ZVTW7RGD.js';export{ea as AUTHORABLE_PARAGRAPH_PROPERTIES,fa as AUTHORABLE_RUN_PROPERTIES,ba as DEFAULT_FORMATTING_DISPLAY_MODE,F as DEFAULT_MAX_EDITABLE_STORY_PARTS,V as MAX_CUSTOM_NODE_LABEL_LENGTH,U as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,C as MAX_FRAGMENT_DECODED_BYTES,Ma as SEARCH_MATCH_LIMIT,La as SEARCH_QUERY_MAX,E as TreeDocumentStore,G as TreePackageStore,M as addComment,R as addPackageComment,D as applyFragmentPaste,ia as authoredProperties,Ha as collectReviewItems,Da as commentBodyText,Ea as commentInitials,Ga as commentItemsOf,P as commentPartNameOf,Q as commentsExtendedPartNameOf,Z as customNodePayloadsByControl,_ as customNodePayloadsOf,Ka as deepParagraphOrderOfPart,T as deletePackageComments,ka as directParagraphMarkProperties,ja as directParagraphProperties,Qa as findOccurrences,ya as firstReviewRange,Na as foldCase,oa as formatOwnedRunIds,sa as formattableRanges,O as hasCommentPart,W as insertCustomNodeWrite,$ as insertPackageCustomNode,ga as isAuthorableRunProperty,Pa as isSearchableQuery,Oa as isWholeWord,Ia as linkRevisionReplies,ua as locateSites,B as mergeFragmentIntoPackage,ma as mergedFontProperty,pa as mergedMultiSettingProperty,qa as mergedParagraphMarkProperties,la as mergedProperties,L as nextCommentId,Ja as paragraphOrderOfPart,ha as propertyContainer,X as removeCustomNodeWrite,aa as removePackageCustomNode,wa as reviewItemKey,xa as reviewItemRanges,Fa as revisionItemsOf,na as runAddressRanges,ra as runPropertyEdits,ta as runsCovering,N as setCommentResolved,S as setPackageCommentResolved,Y as sweepCustomNodePayloads}from'./chunk-FBA57EUJ.js';export{$e as ACCEPTED_PARAGRAPH_PROPERTIES,_e as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,mf as CONTENT_CONTROL_ID_MAX,Ef as CONTENT_CONTROL_PROPERTY_ORDER,sg as CUSTOM_NODE_XPATH_PREFIX,cg as CUSTOM_XML_PROPS_REL,dg as CUSTOM_XML_PROPS_TYPE,bg as CUSTOM_XML_REL,G as DANGEROUS_KEYS,eg as DATASTORE_NAMESPACE_URI,le as DEFAULT_ENDNOTE_PROPERTIES,ke as DEFAULT_FOOTNOTE_PROPERTIES,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,hc as DEFAULT_OMML_LIMITS,Ub as DEFAULT_OOXML_PACKAGE_LIMITS,Zf as DEFAULT_VIEW_SETTINGS,La as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Hc as FIELD_ATOM_CHAR,i as HARD_CEILINGS,Pa as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,Ya as IMAGE_WRAP_TARGETS,S as INERT_EXECUTABLE_KINDS,o as LimitExceededError,lf as MAX_CONTENT_CONTROLS_PER_PART,kf as MAX_CONTENT_CONTROL_NESTING,ge as MAX_NOTES_PER_PART,Ne as MAX_NOTE_REFERENCE_PARTS,Me as MAX_NOTE_REFERENCE_SCAN,Hf as MAX_STORY_SDT_NESTING,jb as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,Jd as NOTE_ATOM_CHAR,Nd as NOTE_CONTINUATION_SEPARATOR_ID,Ld as NOTE_ID_MAX,Kd as NOTE_ID_MIN,Md as NOTE_SEPARATOR_ID,Xf as NO_TRACKING_SETTINGS,gc as OFFICE_MATH_NAMESPACE_URI,Oa as OFFICE_RELATIONSHIP_NAMESPACE_URI,sa as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,Cc as PAGE_BREAK_CHAR,ba as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Gg as TABLE_BORDER_STYLES,nd as TOC_LEVEL_INDENT_TWIPS,bd as TOC_MAX_BOOKMARKS_PER_REFRESH,ad as TOC_MAX_ENTRIES,cd as TOC_MAX_FIELD_NESTING,$c as TOC_MAX_INSTRUCTION_CHARS,dd as TOC_MAX_PAGE_PASSES,af as TREE_DOC_OP_KINDS,id as TWIPS_PER_POINT,Of as W15_NAMESPACE_URI,ca as WML_NAMESPACE_URI,ea as XMLNS_NAMESPACE_URI,da as XML_NAMESPACE_URI,Gf as allocateContentControlId,Jb as allocateDrawingPropertyId,he as allocateNoteId,Ja as applyEdits,Id as applyHeaderFooterLifecycleOp,cf as applyNoteLifecycleOp,ch as applyTreeOp,t as asciiFold,aa as assertValidQName,Zc as atomicFieldSpansOf,fe as atomicNoteSpansOf,Dd as authorableHyperlinkTarget,re as authoredDocumentEndnoteProperties,qe as authoredDocumentFootnoteProperties,oe as authoredEndnotePropertiesFromSectPr,ne as authoredFootnotePropertiesFromSectPr,Kf as bodyStoryRoot,td as bookmarkPairNodes,wg as boundCustomXmlNodeIdOf,ug as boundCustomXmlNodeIds,vg as boundCustomXmlNodeIdsInPackage,hd as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,qd as buildTocContentControl,pd as buildTocEntryParagraph,na as canonicalOoxmlFingerprint,df as cascadeDeletedNoteReferences,Wf as cascadeEmptiedComments,Y as childElements,rc as collectFlowBlocks,za as collectNodeIds,Qe as collectNoteReferences,Se as collectPackageNoteReferences,zg as collectRevisionSites,vc as collectSectionPropertyNodes,Mf as collectStoryParagraphs,Pf as commentAnchorsOfStory,Qf as commentsOfPart,R as containsCssFetch,qf as contentControlContentChildren,uf as contentControlContentNodeOf,pc as contentControlContentOf,tf as contentControlEndPropertiesNodeOf,xf as contentControlLevelOf,sf as contentControlPropertiesNodeOf,wf as contentControlPropertiesOf,Af as contentControlTextOf,yf as contentControlsIn,Yb as contentTypesPartBytes,tb as createImageResourceCache,Aa as createNodeIdAllocator,Oe as createNoteReferenceScanBudget,ce as customMarkFollows,tg as customNodeBinding,hg as customXmlDataParts,qg as customXmlLabelXPath,lg as customXmlNodes,rg as customXmlPrefixMappings,fg as datastoreItemIdFor,Tf as deleteCommentThread,Ac as deobfuscateFont,xd as deriveOoxmlIndexes,fd as detectBodyTocs,v as detectDuplicateNames,Te as diagnoseNoteReferences,Ad as diffSemanticDigests,yd as digestPart,Tg as drawingOpImpact,Ed as ensureHyperlinkRelationship,Bd as ensureListDefinition,Cd as ensureNumberingLevel,kc as equationExpressionToLinearMath,Q as escapeCssString,M as escapeXml,z as extensionKey,Tc as fieldAtomText,Sc as fieldOnOffAttribute,zf as findContentControl,ig as findCustomXmlDataPart,gd as findDetectedToc,X as findElement,Ca as findNode,je as findNoteById,rf as flattenContentControls,Ic as fldCharType,Rc as fldSimpleInstr,wb as fnv1a32,Pd as formatNoteScopeId,Gc as hardBreakAttributes,Dc as hardBreakKind,Fc as hardBreakText,Sf as hasAnyComment,kb as hasBoundedSvgRoot,Vc as hasLegacyFormFieldData,Ba as hasNode,Ra as hyperlinkAnchorOf,Sa as hyperlinkRelationshipIdOf,Ta as hyperlinkTargetOf,sb as imageResourceLookupFor,vd as indexStyles,Ke as inlineControlEndingAt,Le as inlineControlStartingAt,Ga as insertChildren,Qc as instrTextValue,nc as isContentControl,oc as isContentControlContent,of as isContentControlContentNode,nf as isContentControlNode,pf as isContentControlWrapper,ja as isContentRevisionKind,Xd as isContinuationSeparatorNode,I as isDangerousKey,Yg as isDrawingTreeDocOp,Sd as isEndnotesNode,U as isEvaluableField,Uc as isFieldChrome,Mc as isFldChar,Jc as isFldCharNode,Pc as isFldSimple,Lc as isFldSimpleNode,Rd as isFootnotesNode,Hd as isHeaderFooterLifecycleOp,Qa as isHyperlinkNode,T as isInertExecutable,Nc as isInstrText,Kc as isInstrTextNode,ue as isLegalEndnotePosition,_c as isLegalFldCharType,ve as isLegalFootnotePosition,we as isLegalNumRestart,$d as isNormalNote,ee as isNoteAtomNode,bf as isNoteLifecycleOp,Td as isNoteNode,Vd as isNoteRefNode,Ud as isNoteReferenceNode,Ec as isPageBreakNode,ka as isRangeMarkerKind,Wd as isSeparatorNode,Jf as isStoryPart,y as isValidMime,_ as isValidNCName,ub as isValidParaId,$ as isValidQName,lc as linearMathToOmml,rb as liveDrawingReferenceCount,Cf as lockForbidsEdit,Df as lockForbidsRemoval,xb as mintParaId,Ab as mintedParagraphIdentityAttributes,Ve as normalNoteIds,Bb as normalizeParagraphIdentity,r as normalizePartName,de as noteAtomText,Zd as noteIdOf,Yd as noteKindOf,be as noteRefKindOf,ae as noteReferenceKindOf,_d as noteTypeOf,ie as notesOf,Ue as notesPartHasId,J as nullRecord,oa as ooxmlTreesEqual,Ff as orderedContentControlProperties,vb as paraIdOf,Ie as paragraphOffsetIndex,dh as paragraphTextOf,Da as parentNodeOf,me as parseAuthoredNoteProperties,vf as parseContentControlId,jc as parseLinearMath,Od as parseNoteId,Qd as parseNoteScopeId,ed as parseTocInstruction,u as partNameKey,sd as planTocEntries,kd as points,md as pointsToTwips,db as projectDrawing,ic as projectOmmlEquation,mg as readCustomXmlNode,Bc as readEmbeddedFonts,la as readOnOffChild,Vb as readOoxmlPackage,ta as readOoxmlPart,Yf as readTrackingSettings,_f as readViewSettings,W as readXml,Ma as readZip,Fd as relationshipTargetIn,Zb as relationshipsOf,$b as relsPartNameFor,Ia as removeNode,Fa as replaceChildren,Ha as replaceNode,Bf as resolveContentControlLock,B as resolveContentType,_b as resolveContentTypeOf,te as resolveEndnoteProperties,se as resolveFootnoteProperties,zc as resolveHeaderFooterParts,yc as resolveHeaderFooterPartsBySection,xc as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,Pe as resolveNotesPart,E as resolveRelationship,ud as resolveTocRowHeadings,L as sanitizeHref,V as scrubExport,He as segmentsOf,zd as semanticDigest,ma as serializeOoxmlPart,pe as settingsPartOf,lb as sniffImageMime,Lf as storyParagraphs,If as storyRootsOf,wd as stylesPartOf,Z as textContent,Rf as threadStateOfPart,K as toSafeRecord,rd as tocEntryText,od as tocLeftIndentTwips,jd as twips,ld as twipsToPoints,yb as usedParaIds,Ug as validateDrawingOp,x as validateExternalTarget,nb as validateGifHeader,ob as validateJpegHeader,qa as validateOoxmlPart,fc as validatePackageInvariants,mb as validatePngHeader,qb as validateRasterHeader,ih as validateTreeOp,zb as w14RootPrefix,tc as walkAllStoryParagraphs,uc as walkParagraphInline,sc as walkStoryBlocks,Mb as withBinaryPart,ac as withContentTypeOverride,jg as withCustomXmlDataPart,ng as withCustomXmlNode,Nb as withEmbeddedImage,xg as withExportedCustomNodes,ec as withNewPart,Xb as withPart,dc as withRelationship,kg as withoutCustomXmlDataPart,og as withoutCustomXmlNode,pg as withoutOrphanCustomXmlNodes,Rb as withoutUnreferencedImagePart,Xg as wrapTargetToAnchorSpec,Wb as writeOoxmlPackage,Na as writeZip}from'./chunk-ZBEJHJN2.js';
|
|
@@ -2931,6 +2931,19 @@ type TreeDocOp = {
|
|
|
2931
2931
|
readonly paragraphId: string;
|
|
2932
2932
|
readonly pageNumberText: string;
|
|
2933
2933
|
}[];
|
|
2934
|
+
} | {
|
|
2935
|
+
/**
|
|
2936
|
+
* Rewrite recognized fields' cached RESULT runs in place — between the `separate` and
|
|
2937
|
+
* `end` fldChars, or a `w:fldSimple`'s content. The instruction is never modified; a
|
|
2938
|
+
* result holding anything but plain runs is skipped (see `tree-op-field-results.ts`).
|
|
2939
|
+
*/
|
|
2940
|
+
readonly op: 'refreshFieldResults';
|
|
2941
|
+
readonly updates: readonly {
|
|
2942
|
+
readonly paragraphId: string;
|
|
2943
|
+
/** Node id of the field's begin `w:fldChar`, or of the `w:fldSimple` element. */
|
|
2944
|
+
readonly fieldNodeId: string;
|
|
2945
|
+
readonly text: string;
|
|
2946
|
+
}[];
|
|
2934
2947
|
};
|
|
2935
2948
|
/** Drawing mutation ops from typed-drawings-and-images task 11. */
|
|
2936
2949
|
type DrawingTreeDocOp = Extract<TreeDocOp, {
|
|
@@ -2939,7 +2952,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
|
|
|
2939
2952
|
/** Just the `op` discriminants, for dispatch tables and validation. */
|
|
2940
2953
|
type TreeDocOpKind = TreeDocOp['op'];
|
|
2941
2954
|
/** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
|
|
2942
|
-
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", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
|
|
2955
|
+
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", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults"];
|
|
2943
2956
|
/**
|
|
2944
2957
|
* How far a committed op can reach, so layout can scope its work (task 5.2).
|
|
2945
2958
|
*
|
|
@@ -3083,4 +3096,4 @@ type TreeOpResult = {
|
|
|
3083
3096
|
readonly detail?: string;
|
|
3084
3097
|
};
|
|
3085
3098
|
|
|
3086
|
-
export { type ContentControlKind as $, type DrawingVerticalReferenceFrame as A, type VectorImageMime as B, type ImageDecodePort as C, type DrawingKind as D, type RevisionAttributionInput as E, type DrawingTreeDocOp as F, type
|
|
3099
|
+
export { type ContentControlKind as $, type DrawingVerticalReferenceFrame as A, type VectorImageMime as B, type ImageDecodePort as C, type DrawingKind as D, type RevisionAttributionInput as E, type DrawingTreeDocOp as F, type TreeDocColorValue as G, DEFAULT_IMAGE_RESOURCE_LIMITS as H, type ImpactClass as I, IMAGE_WRAP_TARGETS as J, type ImageResourceLimits as K, resolveImageResourceLimits as L, resolveSvgIntrinsicSize as M, sniffImageMime as N, type OoxmlPart as O, type PreservedImageMime as P, validateRasterHeader as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, type DrawingAccessibility as U, type ValidatedImageBytesHandle as V, type DrawingTransform as W, type VectorShapeProjection as X, type DrawingProjection as Y, type OoxmlDrawingNode as Z, type TableBorderStyle as _, type OoxmlNode as a, type OoxmlContentControlStoreMappedDataAsNode as a$, type ContentControlLevel as a0, type ContentControlLock as a1, type ContentControlDataBinding as a2, type ResourceLimits as a3, type OoxmlInvariantResult as a4, type RelationshipRecord as a5, type OoxmlInvariantIssue as a6, type OoxmlHardBreakNode as a7, type OoxmlFldCharNode as a8, type OoxmlFldSimpleNode as a9, IMAGE_RESOURCE_HARD_CEILINGS as aA, type ImageRelationshipResolution as aB, type ImageResourceLookup as aC, type IndexResult as aD, MAX_CONTENT_CONTROLS_PER_PART as aE, MAX_CONTENT_CONTROL_NESTING as aF, MAX_SVG_SNIFF_BYTES as aG, type NameRejection as aH, type NameResult as aI, OFFICE_RELATIONSHIP_NAMESPACE_URI as aJ, OOXML_NODE_IDENTITY_RULES as aK, type OoxmlBodyNode as aL, type OoxmlBookmarkEndNode as aM, type OoxmlBookmarkStartNode as aN, type OoxmlContentControlCalendarNode as aO, type OoxmlContentControlCheckboxNode as aP, type OoxmlContentControlCheckedNode as aQ, type OoxmlContentControlCheckedStateNode as aR, type OoxmlContentControlComboBoxNode as aS, type OoxmlContentControlDataBindingNode as aT, type OoxmlContentControlDateFormatNode as aU, type OoxmlContentControlDateNode as aV, type OoxmlContentControlDropDownListNode as aW, type OoxmlContentControlEndPropertiesNode as aX, type OoxmlContentControlLidNode as aY, type OoxmlContentControlListItemNode as aZ, type OoxmlContentControlPropertiesNode as a_, type OoxmlInstrTextNode as aa, type OoxmlAttribute as ab, type TreeOpResult as ac, ACCEPTED_PARAGRAPH_PROPERTIES as ad, ACCEPTED_RUN_PROPERTIES as ae, CONTENT_CONTROL_ID_MAX as af, CONTENT_CONTROL_PROPERTY_ORDER as ag, type ContentControlCheckbox as ah, type ContentControlCheckboxState as ai, type ContentControlDateFormat as aj, type ContentControlEntry as ak, type ContentControlListItem as al, type ContentControlProperties as am, type ContentTypeError as an, type ContentTypeIndex as ao, type ContentTypeRecords as ap, type CreateImageResourceCacheOptions as aq, DEFAULT_LIMITS as ar, DEFAULT_OOXML_PACKAGE_LIMITS as as, DEFAULT_ZIP_LIMITS as at, type DefaultRecord as au, HARD_CEILINGS as av, HYPERLINK_RELATIONSHIP_TYPE as aw, type HyperlinkKind as ax, type HyperlinkTarget as ay, IMAGE_RELATIONSHIP_TYPE as az, type OoxmlPackage as b, flattenContentControls as b$, type OoxmlContentControlTextNode as b0, type OoxmlContentControlUncheckedStateNode as b1, type OoxmlDocumentNode as b2, type OoxmlExternalTarget as b3, type OoxmlGenericExtensionAttribute as b4, type OoxmlHyperlinkNode as b5, type OoxmlInvariantIssueCode as b6, type OoxmlKnownNodeAttribute as b7, type OoxmlNamespaceBinding as b8, type OoxmlNodeIdentityRules as b9, XMLNS_NAMESPACE_URI as bA, XML_NAMESPACE_URI as bB, type XmlLimits as bC, type XmlNode as bD, type XmlRejection as bE, type XmlResult as bF, type ZipLimits as bG, type ZipReadResult as bH, type ZipRejection as bI, allocateContentControlId as bJ, asciiFold as bK, buildContentTypeIndex as bL, buildRelationshipSet as bM, childElements as bN, contentControlContentChildren as bO, contentControlContentNodeOf as bP, contentControlEndPropertiesNodeOf as bQ, contentControlLevelOf as bR, contentControlPropertiesNodeOf as bS, contentControlPropertiesOf as bT, contentControlTextOf as bU, contentControlsIn as bV, createImageResourceCache as bW, detectDuplicateNames as bX, extensionKey as bY, findContentControl as bZ, findElement as b_, type OoxmlPackageResult as ba, type OoxmlParagraphPropertiesNode as bb, type OoxmlPartMetadata as bc, type OoxmlReadRejection as bd, type OoxmlReadResult as be, type OoxmlRunNode as bf, type OoxmlRunPropertiesNode as bg, type OoxmlTabNode as bh, type OoxmlTextElementNode as bi, type OoxmlTextNode as bj, type OoxmlWmlValAttribute as bk, type OoxmlXmlSpaceAttribute as bl, type OverrideRecord as bm, type RelationshipError as bn, type RelationshipSetResult as bo, type RelationshipTargetResolver as bp, type ResolveResult as bq, type ResolvedRelationship as br, TABLE_BORDER_STYLES as bs, TREE_DOC_OP_KINDS as bt, type TabStopWrite as bu, type TargetMode as bv, type TreeDocOpKind as bw, type TreeOpEffect as bx, type ValidatedRasterHeader as by, WML_NAMESPACE_URI as bz, type OoxmlNodeId as c, hasBoundedSvgRoot as c0, hyperlinkAnchorOf as c1, hyperlinkRelationshipIdOf as c2, hyperlinkTargetOf as c3, imageResourceLookupFor as c4, isContentControlContentNode as c5, isContentControlNode as c6, isContentControlWrapper as c7, isContentRevisionKind as c8, isHyperlinkNode as c9, withPart as cA, writeOoxmlPackage as cB, writeZip as cC, isRangeMarkerKind as ca, isValidMime as cb, liveDrawingReferenceCount as cc, lockForbidsEdit as cd, lockForbidsRemoval as ce, normalizePartName as cf, orderedContentControlProperties as cg, parseContentControlId as ch, partNameKey as ci, projectDrawing as cj, readOnOffChild as ck, readOoxmlPackage as cl, readOoxmlPart as cm, readXml as cn, readZip as co, resolveContentControlLock as cp, resolveContentType as cq, resolveImageRelationship as cr, resolveInternalTarget as cs, resolveLimits as ct, resolveRelationship as cu, textContent as cv, validateExternalTarget as cw, validateGifHeader as cx, validateJpegHeader as cy, validatePngHeader as cz, type OoxmlGenericElementNode as d, type OoxmlPackageLimits as e, type OoxmlPackageRejection as f, type OoxmlElement as g, type OoxmlContentControlNode as h, type OoxmlContentControlContentNode as i, type OoxmlParagraphNode as j, type OoxmlNoteNode as k, type OoxmlContinuationSeparatorNode as l, type OoxmlEndnotesNode as m, type OoxmlFootnotesNode as n, type OoxmlNoteRefNode as o, type OoxmlNoteReferenceNode as p, type OoxmlSeparatorNode as q, type TreeOpRejection as r, type OoxmlProperty as s, type RenderableImageMime as t, type ImageWrapTarget as u, type DrawingPositionInput as v, type DrawingLocks as w, type ImageResourceState as x, type SupportedImageMime as y, type DrawingHorizontalReferenceFrame as z };
|
|
@@ -2931,6 +2931,19 @@ type TreeDocOp = {
|
|
|
2931
2931
|
readonly paragraphId: string;
|
|
2932
2932
|
readonly pageNumberText: string;
|
|
2933
2933
|
}[];
|
|
2934
|
+
} | {
|
|
2935
|
+
/**
|
|
2936
|
+
* Rewrite recognized fields' cached RESULT runs in place — between the `separate` and
|
|
2937
|
+
* `end` fldChars, or a `w:fldSimple`'s content. The instruction is never modified; a
|
|
2938
|
+
* result holding anything but plain runs is skipped (see `tree-op-field-results.ts`).
|
|
2939
|
+
*/
|
|
2940
|
+
readonly op: 'refreshFieldResults';
|
|
2941
|
+
readonly updates: readonly {
|
|
2942
|
+
readonly paragraphId: string;
|
|
2943
|
+
/** Node id of the field's begin `w:fldChar`, or of the `w:fldSimple` element. */
|
|
2944
|
+
readonly fieldNodeId: string;
|
|
2945
|
+
readonly text: string;
|
|
2946
|
+
}[];
|
|
2934
2947
|
};
|
|
2935
2948
|
/** Drawing mutation ops from typed-drawings-and-images task 11. */
|
|
2936
2949
|
type DrawingTreeDocOp = Extract<TreeDocOp, {
|
|
@@ -2939,7 +2952,7 @@ type DrawingTreeDocOp = Extract<TreeDocOp, {
|
|
|
2939
2952
|
/** Just the `op` discriminants, for dispatch tables and validation. */
|
|
2940
2953
|
type TreeDocOpKind = TreeDocOp['op'];
|
|
2941
2954
|
/** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
|
|
2942
|
-
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", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers"];
|
|
2955
|
+
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", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults"];
|
|
2943
2956
|
/**
|
|
2944
2957
|
* How far a committed op can reach, so layout can scope its work (task 5.2).
|
|
2945
2958
|
*
|
|
@@ -3083,4 +3096,4 @@ type TreeOpResult = {
|
|
|
3083
3096
|
readonly detail?: string;
|
|
3084
3097
|
};
|
|
3085
3098
|
|
|
3086
|
-
export { type ContentControlKind as $, type DrawingVerticalReferenceFrame as A, type VectorImageMime as B, type ImageDecodePort as C, type DrawingKind as D, type RevisionAttributionInput as E, type DrawingTreeDocOp as F, type
|
|
3099
|
+
export { type ContentControlKind as $, type DrawingVerticalReferenceFrame as A, type VectorImageMime as B, type ImageDecodePort as C, type DrawingKind as D, type RevisionAttributionInput as E, type DrawingTreeDocOp as F, type TreeDocColorValue as G, DEFAULT_IMAGE_RESOURCE_LIMITS as H, type ImpactClass as I, IMAGE_WRAP_TARGETS as J, type ImageResourceLimits as K, resolveImageResourceLimits as L, resolveSvgIntrinsicSize as M, sniffImageMime as N, type OoxmlPart as O, type PreservedImageMime as P, validateRasterHeader as Q, type RevisionAddress as R, type SourceCrop as S, type TreeDocOp as T, type DrawingAccessibility as U, type ValidatedImageBytesHandle as V, type DrawingTransform as W, type VectorShapeProjection as X, type DrawingProjection as Y, type OoxmlDrawingNode as Z, type TableBorderStyle as _, type OoxmlNode as a, type OoxmlContentControlStoreMappedDataAsNode as a$, type ContentControlLevel as a0, type ContentControlLock as a1, type ContentControlDataBinding as a2, type ResourceLimits as a3, type OoxmlInvariantResult as a4, type RelationshipRecord as a5, type OoxmlInvariantIssue as a6, type OoxmlHardBreakNode as a7, type OoxmlFldCharNode as a8, type OoxmlFldSimpleNode as a9, IMAGE_RESOURCE_HARD_CEILINGS as aA, type ImageRelationshipResolution as aB, type ImageResourceLookup as aC, type IndexResult as aD, MAX_CONTENT_CONTROLS_PER_PART as aE, MAX_CONTENT_CONTROL_NESTING as aF, MAX_SVG_SNIFF_BYTES as aG, type NameRejection as aH, type NameResult as aI, OFFICE_RELATIONSHIP_NAMESPACE_URI as aJ, OOXML_NODE_IDENTITY_RULES as aK, type OoxmlBodyNode as aL, type OoxmlBookmarkEndNode as aM, type OoxmlBookmarkStartNode as aN, type OoxmlContentControlCalendarNode as aO, type OoxmlContentControlCheckboxNode as aP, type OoxmlContentControlCheckedNode as aQ, type OoxmlContentControlCheckedStateNode as aR, type OoxmlContentControlComboBoxNode as aS, type OoxmlContentControlDataBindingNode as aT, type OoxmlContentControlDateFormatNode as aU, type OoxmlContentControlDateNode as aV, type OoxmlContentControlDropDownListNode as aW, type OoxmlContentControlEndPropertiesNode as aX, type OoxmlContentControlLidNode as aY, type OoxmlContentControlListItemNode as aZ, type OoxmlContentControlPropertiesNode as a_, type OoxmlInstrTextNode as aa, type OoxmlAttribute as ab, type TreeOpResult as ac, ACCEPTED_PARAGRAPH_PROPERTIES as ad, ACCEPTED_RUN_PROPERTIES as ae, CONTENT_CONTROL_ID_MAX as af, CONTENT_CONTROL_PROPERTY_ORDER as ag, type ContentControlCheckbox as ah, type ContentControlCheckboxState as ai, type ContentControlDateFormat as aj, type ContentControlEntry as ak, type ContentControlListItem as al, type ContentControlProperties as am, type ContentTypeError as an, type ContentTypeIndex as ao, type ContentTypeRecords as ap, type CreateImageResourceCacheOptions as aq, DEFAULT_LIMITS as ar, DEFAULT_OOXML_PACKAGE_LIMITS as as, DEFAULT_ZIP_LIMITS as at, type DefaultRecord as au, HARD_CEILINGS as av, HYPERLINK_RELATIONSHIP_TYPE as aw, type HyperlinkKind as ax, type HyperlinkTarget as ay, IMAGE_RELATIONSHIP_TYPE as az, type OoxmlPackage as b, flattenContentControls as b$, type OoxmlContentControlTextNode as b0, type OoxmlContentControlUncheckedStateNode as b1, type OoxmlDocumentNode as b2, type OoxmlExternalTarget as b3, type OoxmlGenericExtensionAttribute as b4, type OoxmlHyperlinkNode as b5, type OoxmlInvariantIssueCode as b6, type OoxmlKnownNodeAttribute as b7, type OoxmlNamespaceBinding as b8, type OoxmlNodeIdentityRules as b9, XMLNS_NAMESPACE_URI as bA, XML_NAMESPACE_URI as bB, type XmlLimits as bC, type XmlNode as bD, type XmlRejection as bE, type XmlResult as bF, type ZipLimits as bG, type ZipReadResult as bH, type ZipRejection as bI, allocateContentControlId as bJ, asciiFold as bK, buildContentTypeIndex as bL, buildRelationshipSet as bM, childElements as bN, contentControlContentChildren as bO, contentControlContentNodeOf as bP, contentControlEndPropertiesNodeOf as bQ, contentControlLevelOf as bR, contentControlPropertiesNodeOf as bS, contentControlPropertiesOf as bT, contentControlTextOf as bU, contentControlsIn as bV, createImageResourceCache as bW, detectDuplicateNames as bX, extensionKey as bY, findContentControl as bZ, findElement as b_, type OoxmlPackageResult as ba, type OoxmlParagraphPropertiesNode as bb, type OoxmlPartMetadata as bc, type OoxmlReadRejection as bd, type OoxmlReadResult as be, type OoxmlRunNode as bf, type OoxmlRunPropertiesNode as bg, type OoxmlTabNode as bh, type OoxmlTextElementNode as bi, type OoxmlTextNode as bj, type OoxmlWmlValAttribute as bk, type OoxmlXmlSpaceAttribute as bl, type OverrideRecord as bm, type RelationshipError as bn, type RelationshipSetResult as bo, type RelationshipTargetResolver as bp, type ResolveResult as bq, type ResolvedRelationship as br, TABLE_BORDER_STYLES as bs, TREE_DOC_OP_KINDS as bt, type TabStopWrite as bu, type TargetMode as bv, type TreeDocOpKind as bw, type TreeOpEffect as bx, type ValidatedRasterHeader as by, WML_NAMESPACE_URI as bz, type OoxmlNodeId as c, hasBoundedSvgRoot as c0, hyperlinkAnchorOf as c1, hyperlinkRelationshipIdOf as c2, hyperlinkTargetOf as c3, imageResourceLookupFor as c4, isContentControlContentNode as c5, isContentControlNode as c6, isContentControlWrapper as c7, isContentRevisionKind as c8, isHyperlinkNode as c9, withPart as cA, writeOoxmlPackage as cB, writeZip as cC, isRangeMarkerKind as ca, isValidMime as cb, liveDrawingReferenceCount as cc, lockForbidsEdit as cd, lockForbidsRemoval as ce, normalizePartName as cf, orderedContentControlProperties as cg, parseContentControlId as ch, partNameKey as ci, projectDrawing as cj, readOnOffChild as ck, readOoxmlPackage as cl, readOoxmlPart as cm, readXml as cn, readZip as co, resolveContentControlLock as cp, resolveContentType as cq, resolveImageRelationship as cr, resolveInternalTarget as cs, resolveLimits as ct, resolveRelationship as cu, textContent as cv, validateExternalTarget as cw, validateGifHeader as cx, validateJpegHeader as cy, validatePngHeader as cz, type OoxmlGenericElementNode as d, type OoxmlPackageLimits as e, type OoxmlPackageRejection as f, type OoxmlElement as g, type OoxmlContentControlNode as h, type OoxmlContentControlContentNode as i, type OoxmlParagraphNode as j, type OoxmlNoteNode as k, type OoxmlContinuationSeparatorNode as l, type OoxmlEndnotesNode as m, type OoxmlFootnotesNode as n, type OoxmlNoteRefNode as o, type OoxmlNoteReferenceNode as p, type OoxmlSeparatorNode as q, type TreeOpRejection as r, type OoxmlProperty as s, type RenderableImageMime as t, type ImageWrapTarget as u, type DrawingPositionInput as v, type DrawingLocks as w, type ImageResourceState as x, type SupportedImageMime as y, type DrawingHorizontalReferenceFrame as z };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as OoxmlPackage, y as SupportedImageMime, O as OoxmlPart, a as OoxmlNode, g as OoxmlElement, E as RevisionAttributionInput, C as ImageDecodePort, F as DrawingTreeDocOp, r as TreeOpRejection, T as TreeDocOp } from './tree-op-types-
|
|
2
|
-
import { N as NoteKind, T as TreeModelChange, a as TreeDocumentStore, c as TreeStoryRef, d as TransactionContext, b as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-
|
|
1
|
+
import { b as OoxmlPackage, y as SupportedImageMime, O as OoxmlPart, a as OoxmlNode, g as OoxmlElement, E as RevisionAttributionInput, C as ImageDecodePort, F as DrawingTreeDocOp, r as TreeOpRejection, T as TreeDocOp } from './tree-op-types-D6HzlPR4.js';
|
|
2
|
+
import { N as NoteKind, T as TreeModelChange, a as TreeDocumentStore, c as TreeStoryRef, d as TransactionContext, b as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-APgWx6qn.js';
|
|
3
3
|
|
|
4
4
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
5
5
|
type DrawingPropertyIdResult = {
|
|
@@ -253,15 +253,7 @@ declare function createNoteReferenceScanBudget(maxVisited?: number, maxParts?: n
|
|
|
253
253
|
* later usable Internal notes part (same continue-past-bad pattern as settingsPartOf).
|
|
254
254
|
*/
|
|
255
255
|
declare function resolveNotesPart(pkg: OoxmlPackage, noteKind: NoteKind): OoxmlPart | null;
|
|
256
|
-
/**
|
|
257
|
-
* Walk a part for addressable typed note references. Budgeted scans are bounded by
|
|
258
|
-
* visited nodes and fail closed on deep hostile nesting (the shared budget is marked
|
|
259
|
-
* truncated and the walk stops, so mutation callers refuse); budget-free scans are
|
|
260
|
-
* bounded by the 64-level depth cap and `maxHits` alone and fail open (a too-deep
|
|
261
|
-
* subtree is pruned and siblings still scan, so layout keeps every reachable citation).
|
|
262
|
-
* When `budget` is supplied it is shared and mutated in place. Hits are segment-aligned
|
|
263
|
-
* (`segmentsOf`); demoted wrappers never invent atomOffsets.
|
|
264
|
-
*/
|
|
256
|
+
/** Walk a part without applying a layout projection. */
|
|
265
257
|
declare function collectNoteReferences(part: OoxmlPart, options?: {
|
|
266
258
|
readonly maxHits?: number;
|
|
267
259
|
readonly budget?: NoteReferenceScanBudget;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { b as OoxmlPackage, y as SupportedImageMime, O as OoxmlPart, a as OoxmlNode, g as OoxmlElement, E as RevisionAttributionInput, C as ImageDecodePort, F as DrawingTreeDocOp, r as TreeOpRejection, T as TreeDocOp } from './tree-op-types-
|
|
2
|
-
import { N as NoteKind, T as TreeModelChange, a as TreeDocumentStore, c as TreeStoryRef, d as TransactionContext, b as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-
|
|
1
|
+
import { b as OoxmlPackage, y as SupportedImageMime, O as OoxmlPart, a as OoxmlNode, g as OoxmlElement, E as RevisionAttributionInput, C as ImageDecodePort, F as DrawingTreeDocOp, r as TreeOpRejection, T as TreeDocOp } from './tree-op-types-BUulYD5y.cjs';
|
|
2
|
+
import { N as NoteKind, T as TreeModelChange, a as TreeDocumentStore, c as TreeStoryRef, d as TransactionContext, b as TransactOptions, S as SelectionMark, e as TreeDocumentCheckpoint } from './tree-store-DEEQ9wz_.cjs';
|
|
3
3
|
|
|
4
4
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
5
5
|
type DrawingPropertyIdResult = {
|
|
@@ -253,15 +253,7 @@ declare function createNoteReferenceScanBudget(maxVisited?: number, maxParts?: n
|
|
|
253
253
|
* later usable Internal notes part (same continue-past-bad pattern as settingsPartOf).
|
|
254
254
|
*/
|
|
255
255
|
declare function resolveNotesPart(pkg: OoxmlPackage, noteKind: NoteKind): OoxmlPart | null;
|
|
256
|
-
/**
|
|
257
|
-
* Walk a part for addressable typed note references. Budgeted scans are bounded by
|
|
258
|
-
* visited nodes and fail closed on deep hostile nesting (the shared budget is marked
|
|
259
|
-
* truncated and the walk stops, so mutation callers refuse); budget-free scans are
|
|
260
|
-
* bounded by the 64-level depth cap and `maxHits` alone and fail open (a too-deep
|
|
261
|
-
* subtree is pruned and siblings still scan, so layout keeps every reachable citation).
|
|
262
|
-
* When `budget` is supplied it is shared and mutated in place. Hits are segment-aligned
|
|
263
|
-
* (`segmentsOf`); demoted wrappers never invent atomOffsets.
|
|
264
|
-
*/
|
|
256
|
+
/** Walk a part without applying a layout projection. */
|
|
265
257
|
declare function collectNoteReferences(part: OoxmlPart, options?: {
|
|
266
258
|
readonly maxHits?: number;
|
|
267
259
|
readonly budget?: NoteReferenceScanBudget;
|