@docx-editor.dev/core 2.13.0 → 2.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.cts +3 -3
- package/dist/automation.d.ts +3 -3
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.cts +4 -4
- package/dist/binding.d.ts +4 -4
- package/dist/binding.js +1 -1
- package/dist/{chunk-PFSJVAWJ.cjs → chunk-2PIHW2QM.cjs} +1 -1
- package/dist/chunk-2QTY5S6T.js +1 -0
- package/dist/chunk-4Z5MODAE.cjs +2 -0
- package/dist/{chunk-WANKXD34.cjs → chunk-5TKAPFZT.cjs} +1 -1
- package/dist/chunk-DRQHIQ4R.cjs +1 -0
- package/dist/chunk-F2K6SDHA.cjs +20 -0
- package/dist/chunk-FBA57EUJ.js +2 -0
- package/dist/{chunk-67S7OHE6.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-HWWHGREA.js → chunk-OKEDGR65.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-PRIBU3UH.js → chunk-ZVTW7RGD.js} +1 -1
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.cts +1 -1
- package/dist/collaboration/replication.d.ts +1 -1
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.cts +1 -1
- package/dist/collaboration.d.ts +1 -1
- package/dist/contracts/editor.d.cts +4 -4
- package/dist/contracts/editor.d.ts +4 -4
- package/dist/contracts/interaction.d.cts +4 -4
- package/dist/contracts/interaction.d.ts +4 -4
- package/dist/contracts/modules.d.cts +2 -2
- package/dist/contracts/modules.d.ts +2 -2
- package/dist/{editor-DLrTueVe.d.cts → editor-AJ06hyyg.d.cts} +26 -2
- package/dist/{editor-KiB6JNvk.d.ts → editor-a6VvsfYU.d.ts} +26 -2
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +1 -1
- package/dist/editor.d.cts +15 -15
- package/dist/editor.d.ts +15 -15
- package/dist/editor.js +1 -1
- package/dist/{index-D4Pxdo_p.d.ts → index-C5ZnSRkF.d.ts} +49 -15
- package/dist/{index-D_PA2Xv6.d.cts → index-Cbw4lkOt.d.cts} +49 -15
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.cts +36 -86
- package/dist/layout.d.ts +36 -86
- package/dist/layout.js +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.cts +4 -4
- package/dist/output.d.ts +4 -4
- package/dist/output.js +1 -1
- package/dist/{protocol-DjgYKCAy.d.ts → protocol-BsmQgblT.d.ts} +1 -1
- package/dist/{protocol-C8L58j66.d.cts → protocol-gOY5GA8K.d.cts} +1 -1
- package/dist/{review-reads-DcGYCH0w.d.ts → review-reads-BjZYeMd4.d.ts} +6 -19
- package/dist/{review-reads-BrTDmoYH.d.cts → review-reads-DEsV0OOW.d.cts} +6 -19
- package/dist/{revision-projection-BmLtLPxH.d.ts → revision-projection-BeXVrSSV.d.ts} +23 -2
- package/dist/{revision-projection-Dknlar93.d.cts → revision-projection-DXbrfNGD.d.cts} +23 -2
- package/dist/{semantic-cell-selection-BZ50i-Fu.d.ts → semantic-cell-selection-BK91NCCG.d.ts} +15 -6
- package/dist/{semantic-cell-selection-COnfaOZO.d.cts → semantic-cell-selection-BMhku3B1.d.cts} +15 -6
- package/dist/{semantic-interaction-BDJ4TBjm.d.ts → semantic-interaction-BmQ7h2cq.d.ts} +1 -1
- package/dist/{semantic-interaction-Bq3ixB0I.d.cts → semantic-interaction-DUAnxbgf.d.cts} +1 -1
- package/dist/{semantic-paint-C5SMTO8Y.d.cts → semantic-paint-DufNL1Zr.d.cts} +1 -1
- package/dist/{semantic-paint-DuhhY5-R.d.ts → semantic-paint-WJD2KeG1.d.ts} +1 -1
- package/dist/{semantic-records-BI1jpft7.d.ts → semantic-records-92UnKeU_.d.ts} +546 -5
- package/dist/{semantic-records-Btw3Ao4v.d.cts → semantic-records-BpozY7-j.d.cts} +546 -5
- 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 +14 -7
- package/dist/store.d.ts +14 -7
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-B1supBtE.d.ts → tree-package-fragment-CWFjgH6a.d.ts} +1 -9
- package/dist/{tree-package-fragment-ByN5yzll.d.cts → tree-package-fragment-Dhyw7oPm.d.cts} +1 -9
- package/dist/{tree-session-contract-BasiwZgZ.d.ts → tree-session-contract-B2HfGt79.d.ts} +6 -2
- package/dist/{tree-session-contract-DbeBenMR.d.cts → tree-session-contract-BY9xd7s_.d.cts} +6 -2
- package/package.json +2 -2
- package/dist/chunk-3AT4RUQ3.cjs +0 -19
- package/dist/chunk-4NAQLFXA.cjs +0 -2
- package/dist/chunk-BHAUFJO6.js +0 -20
- package/dist/chunk-F7U4OLMS.cjs +0 -2
- package/dist/chunk-FNMXRLGW.cjs +0 -5
- package/dist/chunk-I36WS6XX.cjs +0 -20
- package/dist/chunk-IOTL2GGW.js +0 -1
- package/dist/chunk-OF2QZCTN.js +0 -19
- package/dist/chunk-RO3HFCML.js +0 -5
- package/dist/chunk-SFOUCTKA.js +0 -2
- package/dist/chunk-VBEKERLJ.js +0 -2
- package/dist/chunk-XETEMUIP.cjs +0 -11
- package/dist/chunk-YMW34EBA.js +0 -11
- package/dist/shaped-measurer-CqdYa0fa.d.cts +0 -619
- package/dist/shaped-measurer-qnBJziPx.d.ts +0 -619
package/dist/store.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
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
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-
|
|
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-
|
|
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
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
6
|
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-C46r3_5O.cjs';
|
|
7
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-
|
|
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
9
|
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-DEEQ9wz_.cjs';
|
|
10
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
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';
|
|
@@ -2242,6 +2242,13 @@ declare function nextCommentId(part: OoxmlPart | undefined, actorId?: string): s
|
|
|
2242
2242
|
* that the automation lane — which has no layout at all — reaches them.
|
|
2243
2243
|
*/
|
|
2244
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
|
+
}
|
|
2245
2252
|
/**
|
|
2246
2253
|
* What the formatting lanes assume when nobody names a view.
|
|
2247
2254
|
*
|
|
@@ -2369,7 +2376,7 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
|
|
|
2369
2376
|
* offset rather than by id because these edits apply in sequence and the applier splits runs at
|
|
2370
2377
|
* the range edges; offsets are unmoved by a property write, ids are not.
|
|
2371
2378
|
*/
|
|
2372
|
-
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[];
|
|
2373
2380
|
/**
|
|
2374
2381
|
* The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
|
|
2375
2382
|
*
|
|
@@ -2384,7 +2391,7 @@ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: n
|
|
|
2384
2391
|
* Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
|
|
2385
2392
|
* two visible runs, so the ranges either side of it never coalesce across it.
|
|
2386
2393
|
*/
|
|
2387
|
-
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 {
|
|
2388
2395
|
readonly start: number;
|
|
2389
2396
|
readonly end: number;
|
|
2390
2397
|
}[];
|
|
@@ -2394,7 +2401,7 @@ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start:
|
|
|
2394
2401
|
* A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
|
|
2395
2402
|
* want the empty answer for a collapsed range check the offsets themselves.
|
|
2396
2403
|
*/
|
|
2397
|
-
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[];
|
|
2398
2405
|
|
|
2399
2406
|
/** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
|
|
2400
2407
|
interface SiteLocation {
|
|
@@ -2490,4 +2497,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
|
|
|
2490
2497
|
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
2491
2498
|
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
2492
2499
|
|
|
2493
|
-
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,11 +1,11 @@
|
|
|
1
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
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-
|
|
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-
|
|
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
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
6
|
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-DntmaAVW.js';
|
|
7
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-
|
|
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
9
|
import { T as TreeModelChange, a as TreeDocumentStore } from './tree-store-APgWx6qn.js';
|
|
10
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
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';
|
|
@@ -2242,6 +2242,13 @@ declare function nextCommentId(part: OoxmlPart | undefined, actorId?: string): s
|
|
|
2242
2242
|
* that the automation lane — which has no layout at all — reaches them.
|
|
2243
2243
|
*/
|
|
2244
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
|
+
}
|
|
2245
2252
|
/**
|
|
2246
2253
|
* What the formatting lanes assume when nobody names a view.
|
|
2247
2254
|
*
|
|
@@ -2369,7 +2376,7 @@ declare function mergedParagraphMarkProperties(part: OoxmlPart, paragraphId: str
|
|
|
2369
2376
|
* offset rather than by id because these edits apply in sequence and the applier splits runs at
|
|
2370
2377
|
* the range edges; offsets are unmoved by a property write, ids are not.
|
|
2371
2378
|
*/
|
|
2372
|
-
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[];
|
|
2373
2380
|
/**
|
|
2374
2381
|
* The slices of `[start, end)` a formatting write may reach, coalesced, in document order.
|
|
2375
2382
|
*
|
|
@@ -2384,7 +2391,7 @@ declare function runPropertyEdits(part: OoxmlPart, paragraphId: string, start: n
|
|
|
2384
2391
|
* Slicing solves it without a per-run op: a hidden half is a GAP in the offset space between
|
|
2385
2392
|
* two visible runs, so the ranges either side of it never coalesce across it.
|
|
2386
2393
|
*/
|
|
2387
|
-
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 {
|
|
2388
2395
|
readonly start: number;
|
|
2389
2396
|
readonly end: number;
|
|
2390
2397
|
}[];
|
|
@@ -2394,7 +2401,7 @@ declare function formattableRanges(part: OoxmlPart, paragraphId: string, start:
|
|
|
2394
2401
|
* A COLLAPSED range answers the run it sits inside, which is what a caret reads. Callers that
|
|
2395
2402
|
* want the empty answer for a collapsed range check the offsets themselves.
|
|
2396
2403
|
*/
|
|
2397
|
-
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[];
|
|
2398
2405
|
|
|
2399
2406
|
/** The `w:p` a node sits inside, and the model offset it starts at within that paragraph. */
|
|
2400
2407
|
interface SiteLocation {
|
|
@@ -2490,4 +2497,4 @@ declare function wrapTargetToAnchorSpec(target: ImageWrapTarget): {
|
|
|
2490
2497
|
/** Whether an op is one of the drawing ops. Narrows the type. */
|
|
2491
2498
|
declare function isDrawingTreeDocOp(op: TreeDocOp): op is DrawingTreeDocOp;
|
|
2492
2499
|
|
|
2493
|
-
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-PRIBU3UH.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,La as SEARCH_MATCH_LIMIT,Ka as SEARCH_QUERY_MAX,E as TreeDocumentStore,G as TreePackageStore,M as addComment,R as addPackageComment,D as applyFragmentPaste,ia as authoredProperties,Ga as collectReviewItems,Ca as commentBodyText,Da as commentInitials,Fa as commentItemsOf,P as commentPartNameOf,Q as commentsExtendedPartNameOf,Z as customNodePayloadsByControl,_ as customNodePayloadsOf,Ja as deepParagraphOrderOfPart,T as deletePackageComments,ka as directParagraphMarkProperties,ja as directParagraphProperties,Pa as findOccurrences,xa as firstReviewRange,Ma as foldCase,oa as formatOwnedRunIds,sa as formattableRanges,O as hasCommentPart,W as insertCustomNodeWrite,$ as insertPackageCustomNode,ga as isAuthorableRunProperty,Oa as isSearchableQuery,Na as isWholeWord,Ha as linkRevisionReplies,ua as locateSites,B as mergeFragmentIntoPackage,ma as mergedFontProperty,pa as mergedMultiSettingProperty,qa as mergedParagraphMarkProperties,la as mergedProperties,L as nextCommentId,Ia as paragraphOrderOfPart,ha as propertyContainer,X as removeCustomNodeWrite,aa as removePackageCustomNode,va as reviewItemKey,wa as reviewItemRanges,Ea as revisionItemsOf,na as runAddressRanges,ra as runPropertyEdits,ta as runsCovering,N as setCommentResolved,S as setPackageCommentResolved,Y as sweepCustomNodePayloads}from'./chunk-SFOUCTKA.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,bh 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,ch 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,hh 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-YMW34EBA.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';
|
|
@@ -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;
|
|
@@ -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,4 +1,4 @@
|
|
|
1
|
-
import { S as StoryScope, a as StoryTargetRejection, b as HeaderFooterParts, c as HeaderFooterSectionResolution, I as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, e as FragmentPasteResult } from './tree-package-fragment-
|
|
1
|
+
import { S as StoryScope, a as StoryTargetRejection, b as HeaderFooterParts, c as HeaderFooterSectionResolution, I as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, e as FragmentPasteResult } from './tree-package-fragment-CWFjgH6a.js';
|
|
2
2
|
import { T as TreeDocOp, O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage, g as OoxmlElement, y as SupportedImageMime, C as ImageDecodePort, E as RevisionAttributionInput } from './tree-op-types-D6HzlPR4.js';
|
|
3
3
|
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-DntmaAVW.js';
|
|
4
4
|
import { D as DocumentProperties } from './document-properties-D6Ahr8D6.js';
|
|
@@ -103,12 +103,16 @@ interface DocumentThemeColorEntry {
|
|
|
103
103
|
readonly slot: ThemeColorSlot;
|
|
104
104
|
readonly hex: string;
|
|
105
105
|
}
|
|
106
|
-
/** The theme's
|
|
106
|
+
/** The theme's font slots, for resolving `w:rFonts` theme attributes. */
|
|
107
107
|
interface DocumentThemeFonts {
|
|
108
108
|
/** `a:majorFont` latin typeface — headings. */
|
|
109
109
|
readonly major: string | null;
|
|
110
110
|
/** `a:minorFont` latin typeface — body text. */
|
|
111
111
|
readonly minor: string | null;
|
|
112
|
+
/** `a:majorFont` east asian typeface (`a:ea`) — headings. */
|
|
113
|
+
readonly majorEastAsia: string | null;
|
|
114
|
+
/** `a:minorFont` east asian typeface (`a:ea`) — body text. */
|
|
115
|
+
readonly minorEastAsia: string | null;
|
|
112
116
|
}
|
|
113
117
|
|
|
114
118
|
/** One heading of the outline, in document order. `level` is 0-based (Heading 1 = 0). */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { S as StoryScope, a as StoryTargetRejection, b as HeaderFooterParts, c as HeaderFooterSectionResolution, I as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, e as FragmentPasteResult } from './tree-package-fragment-
|
|
1
|
+
import { S as StoryScope, a as StoryTargetRejection, b as HeaderFooterParts, c as HeaderFooterSectionResolution, I as InsertImageInput, d as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, F as FragmentPasteInput, e as FragmentPasteResult } from './tree-package-fragment-Dhyw7oPm.cjs';
|
|
2
2
|
import { T as TreeDocOp, O as OoxmlPart, a as OoxmlNode, b as OoxmlPackage, g as OoxmlElement, y as SupportedImageMime, C as ImageDecodePort, E as RevisionAttributionInput } from './tree-op-types-BUulYD5y.cjs';
|
|
3
3
|
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-C46r3_5O.cjs';
|
|
4
4
|
import { D as DocumentProperties } from './document-properties-D6Ahr8D6.cjs';
|
|
@@ -103,12 +103,16 @@ interface DocumentThemeColorEntry {
|
|
|
103
103
|
readonly slot: ThemeColorSlot;
|
|
104
104
|
readonly hex: string;
|
|
105
105
|
}
|
|
106
|
-
/** The theme's
|
|
106
|
+
/** The theme's font slots, for resolving `w:rFonts` theme attributes. */
|
|
107
107
|
interface DocumentThemeFonts {
|
|
108
108
|
/** `a:majorFont` latin typeface — headings. */
|
|
109
109
|
readonly major: string | null;
|
|
110
110
|
/** `a:minorFont` latin typeface — body text. */
|
|
111
111
|
readonly minor: string | null;
|
|
112
|
+
/** `a:majorFont` east asian typeface (`a:ea`) — headings. */
|
|
113
|
+
readonly majorEastAsia: string | null;
|
|
114
|
+
/** `a:minorFont` east asian typeface (`a:ea`) — body text. */
|
|
115
|
+
readonly minorEastAsia: string | null;
|
|
112
116
|
}
|
|
113
117
|
|
|
114
118
|
/** One heading of the outline, in document order. `level` is 0-based (Heading 1 = 0). */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@docx-editor.dev/core",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.1",
|
|
4
4
|
"description": "Framework-agnostic core for docx-editor.dev: OOXML parse/serialize, the canonical document tree, layout and paint, and the Editor contract the adapters render.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -100,7 +100,7 @@
|
|
|
100
100
|
"directory": "packages/core"
|
|
101
101
|
},
|
|
102
102
|
"dependencies": {
|
|
103
|
-
"@docx-editor.dev/i18n": "^2.
|
|
103
|
+
"@docx-editor.dev/i18n": "^2.14.1",
|
|
104
104
|
"bidi-js": "1.0.3",
|
|
105
105
|
"emf-converter": "2.0.2",
|
|
106
106
|
"fast-xml-parser": "^5.10.1",
|