@docx-editor.dev/core 2.29.0 → 2.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/automation.cjs +1 -1
- package/dist/automation.d.ts +18 -13
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +46 -38
- package/dist/binding.js +1 -1
- package/dist/{chrome-print-CAs51cpq.d.ts → chrome-print-BM3Js-6X.d.ts} +276 -227
- package/dist/{chunk-BCXH4BXB.js → chunk-2PV5L5NJ.js} +3 -3
- package/dist/chunk-5OTS2EJ7.js +7 -0
- package/dist/chunk-5P4223J4.cjs +27 -0
- package/dist/{chunk-MM5QBMTE.cjs → chunk-5RRAZMBU.cjs} +1 -1
- package/dist/chunk-5SPITS5F.js +18 -0
- package/dist/{chunk-236O4YQW.js → chunk-7ATNKARV.js} +1 -1
- package/dist/{chunk-6JPL6ZAS.cjs → chunk-BGCUTKWE.cjs} +5 -5
- package/dist/chunk-EBCXSH2W.js +3 -0
- package/dist/{chunk-JLVBDYVQ.cjs → chunk-ERECKTIR.cjs} +1 -1
- package/dist/{chunk-BY2ACZZ6.cjs → chunk-FLBEJC6X.cjs} +1 -1
- package/dist/{chunk-W35WTWAO.cjs → chunk-HYASLE2G.cjs} +1 -1
- package/dist/chunk-JC47NRJC.cjs +3 -0
- package/dist/{chunk-7WQ7AAHW.cjs → chunk-KJRTNY2Q.cjs} +1 -1
- package/dist/chunk-NKPUH3QJ.js +1 -0
- package/dist/chunk-PF5NJWS3.js +2 -0
- package/dist/chunk-PWTRJSES.cjs +18 -0
- package/dist/chunk-QFKGI242.cjs +30 -0
- package/dist/{chunk-G4HOFIKJ.js → chunk-RJCQGJR7.js} +1 -1
- package/dist/chunk-RPPV4S6T.cjs +4 -0
- package/dist/{chunk-LSZ6KPKK.js → chunk-T32MGBJS.js} +1 -1
- package/dist/chunk-UM26GH5B.js +30 -0
- package/dist/chunk-VRCZBFLH.js +27 -0
- package/dist/{chunk-UHHYFIDT.cjs → chunk-WF7JZ755.cjs} +1 -1
- package/dist/chunk-WK5X2MMA.cjs +7 -0
- package/dist/{chunk-RCLZXP3B.js → chunk-WPDD2Y32.js} +1 -1
- package/dist/chunk-YBMWBXST.cjs +2 -0
- package/dist/{chunk-OMCG63ZF.js → chunk-YZGUBCHP.js} +1 -1
- package/dist/chunk-ZOS2PM4A.js +4 -0
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +4 -4
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.d.ts +3 -3
- package/dist/contracts/document.d.ts +2 -2
- package/dist/contracts/editor.d.ts +8 -8
- package/dist/contracts/modules.d.ts +11 -11
- package/dist/contracts/types.d.ts +1 -1
- package/dist/{custom-node-writes-Bn6uciLb.d.ts → custom-node-writes-0v0Kgw1T.d.ts} +2 -2
- package/dist/{diagnostic-context-B8M79cfK.d.ts → diagnostic-context-CcAO4q1s.d.ts} +1 -1
- package/dist/{diagnostic-hints-BeVjfNOv.d.ts → diagnostic-hints-2Bke6H_w.d.ts} +11 -4
- package/dist/{document-protection-CUb55pl_.d.ts → document-protection-8eyMWIJ0.d.ts} +1 -1
- package/dist/{editor-CZQZmTIU.d.ts → editor-DaEJd2so.d.ts} +84 -10
- package/dist/editor.cjs +1 -1
- package/dist/editor.d.ts +31 -30
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +16 -13
- package/dist/export.js +2 -2
- package/dist/{font-resolver-lSBLirLR.d.ts → font-resolver-CL9BVKZo.d.ts} +1 -1
- package/dist/font-shaping-policy-BvpkrfxM.d.ts +7 -0
- package/dist/{headless-document-view-pp3q7wIh.d.ts → headless-document-view-DZQN8Bnx.d.ts} +2 -2
- package/dist/{image-resources-tXLQShoC.d.ts → image-resources-Bipz8toD.d.ts} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +24 -23
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-BD-dF_rn.d.ts → layout-shaping-cEnVrhWg.d.ts} +3 -2
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +41 -38
- package/dist/layout.js +1 -1
- package/dist/{note-properties-qQUjO1GQ.d.ts → note-properties-9FH8zAeG.d.ts} +1 -1
- package/dist/{omml-equation-BUbU0utM.d.ts → omml-equation-DP2WpUbK.d.ts} +13 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +7 -7
- package/dist/output.js +1 -1
- package/dist/{protocol-DYzzz2ej.d.ts → protocol-CZ1uUlPO.d.ts} +2 -2
- package/dist/{review-paragraph-order-CN_0l2Cb.d.ts → review-paragraph-order-CqVelc5A.d.ts} +1 -1
- package/dist/{semantic-cell-selection-eYag3P47.d.ts → semantic-cell-selection-Dr9yxFZt.d.ts} +2 -2
- package/dist/{semantic-interaction-kR_QB845.d.ts → semantic-interaction-Dc3pf3hr.d.ts} +1 -1
- package/dist/{semantic-paint-ZayFF3tD.d.ts → semantic-paint-Bz3FBAoH.d.ts} +3 -3
- package/dist/{semantic-record-queries-Bsgth6lv.d.ts → semantic-record-queries-Bx0pl6kL.d.ts} +1 -1
- package/dist/{semantic-records-DQmumPgL.d.ts → semantic-records-CjcF26ZL.d.ts} +86 -61
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +17 -130
- package/dist/store.js +1 -1
- package/dist/{tree-package-store-CovjNARF.d.ts → tree-package-store-DKhdEVym.d.ts} +158 -4
- package/dist/{tree-session-contract-CZVAGl51.d.ts → tree-session-contract-CwnTEVLF.d.ts} +7 -5
- package/dist/{types-barrel-DuC5QBNC.d.ts → types-barrel-CA0xB8kH.d.ts} +2 -2
- package/package.json +2 -2
- package/dist/chunk-6ZQP4HQ7.js +0 -3
- package/dist/chunk-CAJEXXVG.cjs +0 -4
- package/dist/chunk-CPWLFPWC.js +0 -30
- package/dist/chunk-D7ZMDMPX.cjs +0 -3
- package/dist/chunk-DOHF6FA7.cjs +0 -30
- package/dist/chunk-DVX32P2P.js +0 -27
- package/dist/chunk-E4LOMDNL.js +0 -1
- package/dist/chunk-EKLM7NWB.cjs +0 -7
- package/dist/chunk-G3K63G7P.cjs +0 -27
- package/dist/chunk-LQX36Z5P.js +0 -7
- package/dist/chunk-OSFOJTHU.cjs +0 -18
- package/dist/chunk-T6K2QYNZ.cjs +0 -2
- package/dist/chunk-TRGAVV2Y.js +0 -4
- package/dist/chunk-U4JZVSOE.js +0 -2
- package/dist/chunk-YQ5G6LC7.js +0 -18
package/dist/store.d.ts
CHANGED
|
@@ -12,20 +12,20 @@
|
|
|
12
12
|
* @packageDocumentation
|
|
13
13
|
* @public
|
|
14
14
|
*/
|
|
15
|
-
import { e as ResourceLimits } from './image-resources-
|
|
16
|
-
export { C as CreateImageResourceCacheOptions, D as DEFAULT_IMAGE_RESOURCE_LIMITS, f as DEFAULT_LIMITS, H as HARD_CEILINGS, g as IMAGE_RESOURCE_HARD_CEILINGS, c as ImageDecodePort, b as ImageResourceLimits, h as ImageResourceLookup, I as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, i as ValidatedRasterHeader, j as createImageResourceCache, k as hasBoundedSvgRoot, l as imageResourceLookupFor, m as liveDrawingReferenceCount, r as resolveImageResourceLimits, n as resolveLimits, s as sniffImageMime, o as validateGifHeader, p as validateJpegHeader, q as validatePngHeader, v as validateRasterHeader } from './image-resources-
|
|
17
|
-
import { O as OoxmlPart, N as OoxmlNode,
|
|
18
|
-
export { b2 as ACCEPTED_PARAGRAPH_PROPERTIES, b3 as ACCEPTED_RUN_PROPERTIES, b4 as CONTENT_CONTROL_ID_MAX, b5 as CONTENT_CONTROL_PROPERTY_ORDER, b6 as CommentAnchor, b7 as CommentPosition, b8 as CommitTextFormFieldOp, b9 as ContentControlCheckbox, ba as ContentControlCheckboxState, bb as ContentControlDataBinding, bc as ContentControlDateFormat, bd as ContentControlEntry, be as ContentControlKind, bf as ContentControlLevel, bg as ContentControlListItem, bh as ContentControlLock, bi as ContentControlProperties, bj as ContentTypeError, bk as ContentTypeIndex, bl as ContentTypeRecords, bm as DEFAULT_OOXML_PACKAGE_LIMITS, bn as DEFAULT_ZIP_LIMITS, bo as DefaultRecord, bp as DeleteTextOp,
|
|
19
|
-
import { F as FieldResultsMode, e as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-store-
|
|
20
|
-
export { l as AtomicNoteSpan,
|
|
21
|
-
import { O as OmmlEquationProjection } from './omml-equation-
|
|
22
|
-
export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-
|
|
23
|
-
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-
|
|
24
|
-
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-
|
|
25
|
-
export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-
|
|
26
|
-
export { D as DocumentProperties, E as EnsuredHyperlinkRelationship, a as HeadlessDocumentRejection, H as HeadlessDocumentView, b as HeadlessThemeFonts, O as OpenHeadlessDocumentResult, c as authorableHyperlinkTarget, e as ensureHyperlinkRelationship, h as headlessViewOfStore, o as openHeadlessDocument, r as relationshipTargetIn } from './headless-document-view-
|
|
27
|
-
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-
|
|
28
|
-
export { D as DocumentProtectionEdit, a as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-
|
|
15
|
+
import { e as ResourceLimits } from './image-resources-Bipz8toD.js';
|
|
16
|
+
export { C as CreateImageResourceCacheOptions, D as DEFAULT_IMAGE_RESOURCE_LIMITS, f as DEFAULT_LIMITS, H as HARD_CEILINGS, g as IMAGE_RESOURCE_HARD_CEILINGS, c as ImageDecodePort, b as ImageResourceLimits, h as ImageResourceLookup, I as ImageResourceState, M as MAX_SVG_SNIFF_BYTES, P as PreservedImageMime, R as RenderableImageMime, S as SupportedImageMime, V as ValidatedImageBytesHandle, i as ValidatedRasterHeader, j as createImageResourceCache, k as hasBoundedSvgRoot, l as imageResourceLookupFor, m as liveDrawingReferenceCount, r as resolveImageResourceLimits, n as resolveLimits, s as sniffImageMime, o as validateGifHeader, p as validateJpegHeader, q as validatePngHeader, v as validateRasterHeader } from './image-resources-Bipz8toD.js';
|
|
17
|
+
import { O as OoxmlPart, N as OoxmlNode, aV as OoxmlInvariantResult, aA as OoxmlParagraphNode, aW as OoxmlFldCharNode, aX as OoxmlFldSimpleNode, aY as OoxmlInstrTextNode, ag as TreeDocOp, av as TreeOpRejection, aZ as TreeOpResult, Q as OoxmlPackage, a_ as RelationshipRecord, ah as OoxmlElement, V as OoxmlGenericElementNode, a$ as OoxmlHardBreakNode, b0 as OoxmlAttribute, am as OoxmlProperty, au as RevisionSiteRefusal, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, b1 as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, az as DrawingTreeDocOp, aI as ImpactClass, a1 as ImageWrapTarget } from './types-barrel-CA0xB8kH.js';
|
|
18
|
+
export { b2 as ACCEPTED_PARAGRAPH_PROPERTIES, b3 as ACCEPTED_RUN_PROPERTIES, b4 as CONTENT_CONTROL_ID_MAX, b5 as CONTENT_CONTROL_PROPERTY_ORDER, b6 as CommentAnchor, b7 as CommentPosition, b8 as CommitTextFormFieldOp, b9 as ContentControlCheckbox, ba as ContentControlCheckboxState, bb as ContentControlDataBinding, bc as ContentControlDateFormat, bd as ContentControlEntry, be as ContentControlKind, bf as ContentControlLevel, bg as ContentControlListItem, bh as ContentControlLock, bi as ContentControlProperties, bj as ContentTypeError, bk as ContentTypeIndex, bl as ContentTypeRecords, bm as DEFAULT_OOXML_PACKAGE_LIMITS, bn as DEFAULT_ZIP_LIMITS, bo as DefaultRecord, bp as DeleteTextOp, aS as DrawingImageEffects, Y as DrawingKind, Z as DrawingLocks, _ as DrawingPositionInput, bq as HYPERLINK_RELATIONSHIP_TYPE, br as HyperlinkKind, bs as HyperlinkTarget, bt as IMAGE_RELATIONSHIP_TYPE, aL as IMAGE_WRAP_TARGETS, bu as ImageRelationshipResolution, bv as IndexResult, bw as InsertBuildingBlockOp, bx as InsertTextOp, by as LegacyCheckboxFieldRange, bz as MAX_CONTENT_CONTROLS_PER_PART, bA as MAX_CONTENT_CONTROL_NESTING, bB as NameRejection, bC as NameResult, bD as OFFICE_RELATIONSHIP_NAMESPACE_URI, bE as OOXML_NODE_IDENTITY_RULES, bF as OoxmlBodyNode, bG as OoxmlBookmarkEndNode, bH as OoxmlBookmarkStartNode, bI as OoxmlContentControlCalendarNode, bJ as OoxmlContentControlCheckboxNode, bK as OoxmlContentControlCheckedNode, bL as OoxmlContentControlCheckedStateNode, bM as OoxmlContentControlComboBoxNode, aj as OoxmlContentControlContentNode, bN as OoxmlContentControlDataBindingNode, bO as OoxmlContentControlDateFormatNode, bP as OoxmlContentControlDateNode, bQ as OoxmlContentControlDropDownListNode, bR as OoxmlContentControlEndPropertiesNode, bS as OoxmlContentControlLidNode, bT as OoxmlContentControlListItemNode, ai as OoxmlContentControlNode, bU as OoxmlContentControlPropertiesNode, bV as OoxmlContentControlStoreMappedDataAsNode, bW as OoxmlContentControlTextNode, bX as OoxmlContentControlUncheckedStateNode, aC as OoxmlContinuationSeparatorNode, bY as OoxmlDocumentNode, aD as OoxmlEndnotesNode, bZ as OoxmlExternalTarget, aE as OoxmlFootnotesNode, b_ as OoxmlGenericExtensionAttribute, b$ as OoxmlHyperlinkNode, ay as OoxmlInvariantIssue, c0 as OoxmlInvariantIssueCode, c1 as OoxmlKnownNodeAttribute, c2 as OoxmlNamespaceBinding, U as OoxmlNodeId, c3 as OoxmlNodeIdentityRules, aB as OoxmlNoteNode, aF as OoxmlNoteRefNode, aG as OoxmlNoteReferenceNode, ao as OoxmlPackageLimits, ak as OoxmlPackageRejection, an as OoxmlPackageResult, c4 as OoxmlParagraphPropertiesNode, c5 as OoxmlPartMetadata, c6 as OoxmlReadRejection, c7 as OoxmlReadResult, c8 as OoxmlRunNode, c9 as OoxmlRunPropertiesNode, aH as OoxmlSeparatorNode, ca as OoxmlTabNode, cb as OoxmlTextElementNode, cc as OoxmlTextNode, cd as OoxmlWmlValAttribute, ce as OoxmlXmlSpaceAttribute, cf as OverrideRecord, cg as RelationshipError, ch as RelationshipSetResult, ci as RelationshipTargetResolver, cj as ResolveResult, ck as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, ap as RevisionAuthorEntry, a8 as RevisionAuthorResult, aq as RevisionAuthorSkipReason, ar as RevisionBatchEntry, a9 as RevisionBatchResult, as as RevisionBatchSkipDetail, at as RevisionBatchSkipReason, cl as SetLegacyCheckboxOp, cm as SetLegacyDropdownOp, cn as SetTextFormFieldDefaultOp, aJ as SourceCrop, co as TABLE_BORDER_STYLES, cp as TabStopWrite, aQ as TableBorderStyle, cq as TargetMode, aO as TextFormFieldOptions, aN as TextFormFieldRange, cr as TextFormFieldType, cs as TreeDocOpKind, ct as TreeOpEffect, cu as W15_NAMESPACE_URI, cv as WML_NAMESPACE_URI, cw as XMLNS_NAMESPACE_URI, cx as XML_NAMESPACE_URI, cy as XmlLimits, cz as XmlNode, cA as XmlRejection, cB as XmlResult, cC as ZipLimits, cD as ZipReadResult, cE as ZipRejection, cF as allocateContentControlId, cG as asciiFold, cH as buildContentTypeIndex, cI as buildRelationshipSet, cJ as childElements, cK as commentAnchorsOfStory, cL as commentsOfPart, cM as contentControlContentChildren, cN as contentControlContentNodeOf, cO as contentControlEndPropertiesNodeOf, cP as contentControlLevelOf, cQ as contentControlPropertiesNodeOf, cR as contentControlPropertiesOf, cS as contentControlTextOf, cT as contentControlsIn, cU as detectDuplicateNames, cV as extensionKey, cW as findContentControl, cX as findElement, cY as firstReviewRange, cZ as flattenContentControls, c_ as hasAnyComment, c$ as hyperlinkAnchorOf, d0 as hyperlinkRelationshipIdOf, d1 as hyperlinkTargetOf, d2 as isContentControlContentNode, d3 as isContentControlNode, d4 as isContentControlWrapper, d5 as isContentRevisionKind, d6 as isHyperlinkNode, d7 as isRangeMarkerKind, d8 as isValidMime, d9 as legacyCheckboxFieldsOf, da as lockForbidsEdit, db as lockForbidsRemoval, dc as normalizePartName, dd as orderedContentControlProperties, de as parseContentControlId, df as partNameKey, dg as planRevisionAuthorChange, dh as planRevisionBatch, di as projectDrawing, dj as readOnOffChild, dk as readOoxmlPackage, dl as readOoxmlPart, dm as readXml, dn as readZip, dp as resolveContentControlLock, dq as resolveContentType, dr as resolveImageRelationship, ds as resolveInternalTarget, dt as resolveRelationship, du as reviewItemKey, dv as reviewItemRanges, dw as textContent, dx as textFormFieldsOf, dy as threadStateOfPart, dz as validateExternalTarget, dA as withPart, dB as writeOoxmlPackage, dC as writeZip } from './types-barrel-CA0xB8kH.js';
|
|
19
|
+
import { F as FieldResultsMode, E as EditOptions, e as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-store-DKhdEVym.js';
|
|
20
|
+
export { l as AtomicNoteSpan, m as CascadeDeletedNoteReferencesOptions, C as ContentLockPolicy, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, n as DrawingPropertyIdResult, j as FragmentPasteInput, k as FragmentPasteResult, o as HeaderFooterKind, p as HeaderFooterLifecycleImpact, q as HeaderFooterLifecycleOp, s as HeaderFooterLifecycleRejection, t as HeaderFooterLifecycleResult, H as HeaderFooterParts, a as HeaderFooterSectionResolution, u as HeaderFooterSlotMeta, c as HeaderFooterVariant, v as HistoryCaptureKind, d as HistoryGroup, M as MAX_FRAGMENT_DECODED_BYTES, w as MAX_NOTES_PER_PART, x as MAX_NOTE_REFERENCE_PARTS, y as MAX_NOTE_REFERENCE_SCAN, z as NOTE_ATOM_CHAR, B as NOTE_CONTINUATION_SEPARATOR_ID, G as NOTE_ID_MAX, J as NOTE_ID_MIN, K as NOTE_SEPARATOR_ID, L as NoteDiagnostic, O as NoteDiagnosticCode, N as NoteKind, P as NoteLifecycleImpact, Q as NoteLifecycleOp, U as NoteLifecycleOptions, V as NoteLifecycleRejection, W as NoteLifecycleResult, X as NoteReferenceHit, Y as NoteReferenceScanBudget, Z as NoteType, _ as OoxmlEditResult, $ as PackageTransactResult, a0 as RemotePackageAttribution, g as SelectionMark, a1 as StoryResolveResult, b as StoryTargetRejection, a2 as TransactionRevisionIds, a3 as TreeDocumentStoreOptions, a4 as TreePackageStoreOptions, a5 as TreeStoryRef, h as TreeTransactOptions, a6 as TreeTransactResult, a7 as TreeTransactionContext, a8 as allocateDrawingPropertyId, a9 as allocateNoteId, aa as applyEdits, ab as applyFragmentPaste, ac as applyHeaderFooterLifecycleOp, ad as applyNoteLifecycleOp, ae as atomicNoteSpansOf, af as cascadeDeletedNoteReferences, ag as collectNodeIds, ah as collectNoteReferences, ai as collectPackageNoteReferences, aj as collectSectionPropertyNodes, ak as createNodeIdAllocator, al as createNoteReferenceScanBudget, am as customMarkFollows, an as diagnoseNoteReferences, ao as findNode, ap as findNoteById, aq as formatNoteScopeId, ar as hasNode, as as insertChildren, at as isContinuationSeparatorNode, au as isEndnotesNode, av as isFootnotesNode, aw as isHeaderFooterLifecycleOp, ax as isNormalNote, ay as isNoteAtomNode, az as isNoteLifecycleOp, aA as isNoteNode, aB as isNoteRefNode, aC as isNoteReferenceNode, aD as isSeparatorNode, aE as normalNoteIds, aF as noteAtomText, aG as noteIdOf, aH as noteKindOf, aI as noteRefKindOf, aJ as noteReferenceKindOf, aK as noteTypeOf, aL as notesOf, aM as notesPartHasId, aN as observeHistoryGroup, aO as parentNodeOf, aP as parseNoteId, aQ as parseNoteScopeId, aR as removeNode, aS as replaceChildren, aT as replaceNode, r as reportHistoryGroup, aU as resolveHeaderFooterParts, aV as resolveHeaderFooterPartsBySection, aW as resolveHeaderFooterResolutionBySection, aX as resolveNotesPart, aY as withBinaryPart, aZ as withEmbeddedImage, a_ as withoutUnreferencedImagePart } from './tree-package-store-DKhdEVym.js';
|
|
21
|
+
import { O as OmmlEquationProjection } from './omml-equation-DP2WpUbK.js';
|
|
22
|
+
export { D as DEFAULT_OMML_LIMITS, E as EquationExpression, L as LinearMathOmmlResult, a as LinearMathParseResult, b as LinearMathRejection, c as OFFICE_MATH_NAMESPACE_URI, d as OmmlLimits, e as equationExpressionToLinearMath, l as linearMathToOmml, p as parseLinearMath, f as projectOmmlEquation } from './omml-equation-DP2WpUbK.js';
|
|
23
|
+
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-0v0Kgw1T.js';
|
|
24
|
+
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-0v0Kgw1T.js';
|
|
25
|
+
export { c as collectFlowBlocks, a as commentBodyText, b as commentInitials, d as contentControlContentOf, e as deepParagraphOrderOfPart, i as isContentControl, f as isContentControlContent, p as paragraphOrderOfPart, w as walkAllStoryParagraphs, g as walkParagraphInline, h as walkStoryBlocks } from './review-paragraph-order-CqVelc5A.js';
|
|
26
|
+
export { D as DocumentProperties, E as EnsuredHyperlinkRelationship, a as HeadlessDocumentRejection, H as HeadlessDocumentView, b as HeadlessThemeFonts, O as OpenHeadlessDocumentResult, c as authorableHyperlinkTarget, e as ensureHyperlinkRelationship, h as headlessViewOfStore, o as openHeadlessDocument, r as relationshipTargetIn } from './headless-document-view-DZQN8Bnx.js';
|
|
27
|
+
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-9FH8zAeG.js';
|
|
28
|
+
export { D as DocumentProtectionEdit, a as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-8eyMWIJ0.js';
|
|
29
29
|
import './editor-scope-7o9xweiJ.js';
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -51,119 +51,6 @@ declare function ooxmlTreesEqual(left: OoxmlPart | OoxmlNode, right: OoxmlPart |
|
|
|
51
51
|
*/
|
|
52
52
|
declare function validateOoxmlPart(part: OoxmlPart): OoxmlInvariantResult;
|
|
53
53
|
|
|
54
|
-
/** An edited part, or the invariant violations that rejected the edit. */
|
|
55
|
-
type OoxmlEditResult = {
|
|
56
|
-
readonly ok: true;
|
|
57
|
-
readonly part: OoxmlPart;
|
|
58
|
-
} | {
|
|
59
|
-
readonly ok: false;
|
|
60
|
-
readonly issues: readonly OoxmlInvariantIssue[];
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* How an edit primitive validates its result.
|
|
64
|
-
*
|
|
65
|
-
* By default every primitive runs the full-part invariant validation before handing its
|
|
66
|
-
* result back — the safe reading for an isolated call. A TRANSACTION applying many ops pays
|
|
67
|
-
* that full-tree walk once per primitive, which is what made a hundred-paragraph paste
|
|
68
|
-
* quadratic; it defers instead, and runs the same validation ONCE on the final tree before
|
|
69
|
-
* anything is published. Deferring is only sound for a caller that owns a commit boundary:
|
|
70
|
-
* nothing may escape between the unvalidated intermediate and the validated result.
|
|
71
|
-
*/
|
|
72
|
-
interface EditOptions {
|
|
73
|
-
readonly deferValidation?: boolean;
|
|
74
|
-
/**
|
|
75
|
-
* A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
|
|
76
|
-
*
|
|
77
|
-
* `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
|
|
78
|
-
* write emits one op per run — so a Select All + Bold in suggesting mode paid a
|
|
79
|
-
* document-wide walk thousands of times over. The transaction hands its ops one minter
|
|
80
|
-
* instead, and it is DROPPED the moment an op that can import foreign revision ids runs
|
|
81
|
-
* (a paste carries its own), because a stale minter would hand out an id the document had
|
|
82
|
-
* just started using — and two revisions sharing an address are one card in the pane.
|
|
83
|
-
*
|
|
84
|
-
* Absent means "mint your own": every applier falls back to its own walk, which is what a
|
|
85
|
-
* caller outside a transaction gets.
|
|
86
|
-
*/
|
|
87
|
-
readonly revisionIds?: () => string;
|
|
88
|
-
/**
|
|
89
|
-
* The transaction's revision-id bookkeeping for the tracked TEXT ops, where `revisionIds`
|
|
90
|
-
* above hands the property ops one shared id for their whole group.
|
|
91
|
-
*
|
|
92
|
-
* Absent means "mint your own and remember nothing", which is what a caller outside a
|
|
93
|
-
* transaction gets: every applier falls back to its own walk of the part.
|
|
94
|
-
*/
|
|
95
|
-
readonly trackedRevisionIds?: TransactionRevisionIds;
|
|
96
|
-
/**
|
|
97
|
-
* How the op addresses saved field results (`field-result-mode.ts`). Absent keeps the mode
|
|
98
|
-
* of the enclosing store call, which is `atomic` outside any editable transaction.
|
|
99
|
-
*/
|
|
100
|
-
readonly fieldResults?: FieldResultsMode;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* What one transaction knows about the revision ids its tracked text ops write.
|
|
104
|
-
*
|
|
105
|
-
* TWO questions, and they are the same bookkeeping. `nextRevisionId` walks the whole part, so
|
|
106
|
-
* a replacement — a `deleteText` and an `insertText` in one transaction — walked it twice, and
|
|
107
|
-
* on a five-hundred-page document that doubled the cost of every one. And an insertion aimed
|
|
108
|
-
* at the front edge of a deletion relocates past it only when that deletion is THIS
|
|
109
|
-
* transaction's own: typing over a selection. Backspace, then a keystroke, is two
|
|
110
|
-
* transactions, and there the typed text belongs in FRONT of the struck character, as Word
|
|
111
|
-
* writes it. Adjacency alone cannot tell the two apart; the ids can.
|
|
112
|
-
*/
|
|
113
|
-
interface TransactionRevisionIds {
|
|
114
|
-
/** A fresh `@w:id`, from this transaction's one walk of the part. */
|
|
115
|
-
mint(): string;
|
|
116
|
-
/**
|
|
117
|
-
* Record a wrapper this transaction wrote, by its FULL `CT_TrackChange` identity — id,
|
|
118
|
-
* author and date, as `revisionKey` spells it. Not by the id alone: that number comes out
|
|
119
|
-
* of the file, nothing makes it unique, and a strike joining `w:id="3"` in one paragraph
|
|
120
|
-
* would otherwise claim an unrelated `w:id="3"` elsewhere as this edit's own.
|
|
121
|
-
*/
|
|
122
|
-
wrote(key: string): void;
|
|
123
|
-
/** Whether this transaction wrote a wrapper with that identity. */
|
|
124
|
-
wroteUnder(key: string): boolean;
|
|
125
|
-
}
|
|
126
|
-
/** Every node id currently present in the part. */
|
|
127
|
-
declare function collectNodeIds(part: OoxmlPart): Set<string>;
|
|
128
|
-
/**
|
|
129
|
-
* Mint ids for nodes an edit introduces.
|
|
130
|
-
*
|
|
131
|
-
* Deterministic and collision-checked against the whole part: a structural-path id from the
|
|
132
|
-
* original parse (`/word/document.xml#0.1.2`) and a minted one (`/word/document.xml#new:3`)
|
|
133
|
-
* can never coincide, and the counter skips anything already taken so repeated edits in one
|
|
134
|
-
* session stay unique.
|
|
135
|
-
*
|
|
136
|
-
* Allocators share reservations across edited roots and restored roots. Preview edits,
|
|
137
|
-
* detached nodes, and undo branches must not reuse an identity that collaboration retains.
|
|
138
|
-
*
|
|
139
|
-
* Checks the part's node index directly rather than copying every id into a fresh set: the
|
|
140
|
-
* copy was O(document) per op, and an allocator is created for every op.
|
|
141
|
-
*/
|
|
142
|
-
declare function createNodeIdAllocator(part: OoxmlPart, family?: 'new' | 'paste'): () => string;
|
|
143
|
-
/** Whether a node id exists in the part. */
|
|
144
|
-
declare function hasNode(part: OoxmlPart, nodeId: string): boolean;
|
|
145
|
-
/** Read a node back out of a part by id. */
|
|
146
|
-
declare function findNode(part: OoxmlPart, nodeId: string): OoxmlNode | null;
|
|
147
|
-
/** The element that holds a node, or null for the root and for unknown ids. */
|
|
148
|
-
declare function parentNodeOf(part: OoxmlPart, nodeId: string): OoxmlElement | null;
|
|
149
|
-
/** Replace one node's children wholesale. */
|
|
150
|
-
declare function replaceChildren(part: OoxmlPart, nodeId: string, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
151
|
-
/** Insert children into a node at `index` (clamped to the child list). */
|
|
152
|
-
declare function insertChildren(part: OoxmlPart, nodeId: string, index: number, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
153
|
-
/** Replace one node with another, keeping its position among its siblings. */
|
|
154
|
-
declare function replaceNode(part: OoxmlPart, nodeId: string, replacement: OoxmlNode, options?: EditOptions): OoxmlEditResult;
|
|
155
|
-
/** Remove a node and its subtree. */
|
|
156
|
-
declare function removeNode(part: OoxmlPart, nodeId: string, options?: EditOptions): OoxmlEditResult;
|
|
157
|
-
/**
|
|
158
|
-
* Apply several primitives as ONE atomic step.
|
|
159
|
-
*
|
|
160
|
-
* Each edit runs against the result of the previous one, and the whole sequence is
|
|
161
|
-
* validated once at the end. If any step fails, the ORIGINAL part is what the caller keeps
|
|
162
|
-
* — there is no partially-edited intermediate to publish. This is the shape a multi-`DocOp`
|
|
163
|
-
* store transaction needs.
|
|
164
|
-
*/
|
|
165
|
-
declare function applyEdits(part: OoxmlPart, edits: readonly ((current: OoxmlPart) => OoxmlEditResult)[], options?: EditOptions): OoxmlEditResult;
|
|
166
|
-
|
|
167
54
|
/** UTF-16 placeholder for one atomic field unit in `paragraphTextOf` / segments. */
|
|
168
55
|
declare const FIELD_ATOM_CHAR = "\uFFFC";
|
|
169
56
|
/**
|
|
@@ -355,7 +242,7 @@ declare function inlineControlEndingAt(paragraph: OoxmlParagraphNode, offset: nu
|
|
|
355
242
|
declare function inlineControlStartingAt(paragraph: OoxmlParagraphNode, offset: number): InlineControlSpan | null;
|
|
356
243
|
|
|
357
244
|
/** Structural validation, run before any tree work so a rejection changes nothing. */
|
|
358
|
-
declare function validateTreeOp(part: OoxmlPart, op: TreeDocOp): TreeOpRejection | null;
|
|
245
|
+
declare function validateTreeOp(part: OoxmlPart, op: TreeDocOp, options?: Pick<EditOptions, 'contentLockPolicy'>): TreeOpRejection | null;
|
|
359
246
|
|
|
360
247
|
/**
|
|
361
248
|
* Paragraph text as the ops address it, for tests and callers computing offsets.
|
|
@@ -2704,5 +2591,5 @@ declare function sectionProtectsForms(part: OoxmlPart, nodeId: string): boolean;
|
|
|
2704
2591
|
/** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
|
|
2705
2592
|
declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "setRevisionAttribution", "insertTab", "insertHardBreak", "insertPageBreak", "insertPageField", "setFieldCode", "setListLevel", "setListNumbering", "setParagraphTabStops", "setParagraphMarkProperties", "splitParagraph", "splitParagraphMany", "joinParagraphs", "setRunProperties", "setParagraphProperties", "setSectionProperties", "setSectionMark", "insertHyperlink", "setHyperlinkTarget", "removeHyperlink", "setMathEquation", "removeMathEquation", "setContentControlValue", "removeContentControl", "insertInlineContentControl", "addRepeatingSectionItem", "removeRepeatingSectionItem", "deleteBlock", "insertTable", "insertTableRow", "deleteTableRow", "insertTableColumn", "deleteTableColumn", "setTableColumnWidths", "setTableRightEdgeWidth", "setTableRowHeight", "setTableProperties", "authorTable", "setTableCellBorders", "setTableCellFill", "setTableCellVerticalAlignment", "createHeaderFooter", "deleteHeaderFooter", "linkToPrevious", "unlinkFromPrevious", "setSectionFurnitureOptions", "setDocumentProtection", "insertNote", "deleteNote", "convertNote", "convertAllNotes", "setNoteProperties", "setContentControlProperties", "insertContentControl", "insertFragment", "insertDrawing", "replaceDrawingResource", "deleteDrawing", "resizeDrawing", "cropDrawing", "positionDrawing", "setDrawingWrap", "setDrawingMetadata", "setDrawingLocks", "transformDrawing", "insertToc", "replaceTocResult", "rewriteTocPageNumbers", "refreshFieldResults", "setTextFormFieldDefault", "commitTextFormField", "setLegacyCheckbox", "setLegacyDropdown", "insertBuildingBlock"];
|
|
2706
2593
|
|
|
2707
|
-
export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, FIELD_ATOM_CHAR, FieldResultsMode, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode,
|
|
2708
|
-
export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DigestDifference, DocumentViewSettings,
|
|
2594
|
+
export { ALL_FROZEN_IDS, AUTHORABLE_PARAGRAPH_PROPERTIES, AUTHORABLE_RUN_PROPERTIES, BoundedCounter, Budget, BudgetError, CANONICAL_MUTATION_ORIGINS, COMPARATORS, CUSTOM_NODE_XPATH_PREFIX, CUSTOM_XML_PROPS_REL, CUSTOM_XML_PROPS_TYPE, CUSTOM_XML_REL, CancellationController, CancellationError, CommentRecord, CommentThreadState, CustomNodeWriteResult, DANGEROUS_KEYS, DATASTORE_NAMESPACE_URI, DEFAULT_FORMATTING_DISPLAY_MODE, DEFAULT_VIEW_SETTINGS, DEPENDENCY_KEY_IDS, DangerousKeyError, DeterministicClock, DeterministicMemoryMeter, DrawingTreeDocOp, EditOptions, FIELD_ATOM_CHAR, FieldResultsMode, ID_KINDS, INERT_EXECUTABLE_KINDS, ImageWrapTarget, ImpactClass, InsertCustomNodeWrite, LIMIT_KEYS, LIMIT_SPECS, LimitExceededError, MAX_STORY_SDT_NESTING, NON_CANONICAL_ORIGINS, ORIGIN_IDS, OmmlEquationProjection, OoxmlAttribute, OoxmlElement, OoxmlFldCharNode, OoxmlFldSimpleNode, OoxmlGenericElementNode, OoxmlHardBreakNode, OoxmlInstrTextNode, OoxmlInvariantResult, OoxmlNode, OoxmlPackage, OoxmlParagraphNode, OoxmlPart, OoxmlProperty, PAGE_BREAK_CHAR, PortRegistry, PortResolutionError, PrefixAllocator, RESULT_IDS, RUNTIME_PORT_IDS, RegistryError, RelationshipRecord, ResourceLimits, ReviewCommentItem, ReviewItem, ReviewModelInput, ReviewPosition, ReviewRange, ReviewRevisionItem, RevisionSiteRefusal, SEARCH_MATCH_LIMIT, SEARCH_QUERY_MAX, SequentialIdentity, StoryScope, TOC_LEVEL_INDENT_TWIPS, TOC_MAX_BOOKMARKS_PER_REFRESH, TOC_MAX_ENTRIES, TOC_MAX_FIELD_NESTING, TOC_MAX_INSTRUCTION_CHARS, TOC_MAX_PAGE_PASSES, TREE_DOC_OP_KINDS, TWIPS_PER_POINT, TreeDocOp, TreeDocumentStore, TreeModelChange, TreeOpRejection, TreeOpResult, TreePackageStore, addComment, addPackageComment, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, customNodeBinding, customXmlDataParts, customXmlLabelXPath, customXmlNodes, customXmlPrefixMappings, datastoreItemIdFor, deleteCommentThread, deletePackageComments, deriveOoxmlIndexes, detectBodyTocs, diffSemanticDigests, digestPart, directParagraphMarkProperties, directParagraphProperties, displayMathAlignment, drawingOpImpact, endOperation, equationsOfAtom, escapeCssString, escapeXml, extractFragmentPackage, fieldAtomText, fieldOnOffAttribute, findCustomXmlDataPart, findDetectedToc, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, hardBreakAttributes, hardBreakKind, hardBreakText, hasCommentPart, hasLegacyFormFieldData, hashAuthored, indexStyles, inlineControlEndingAt, inlineControlStartingAt, insertPackageCustomNode, instrTextValue, isAuthorableRunProperty, isDangerousKey, isDrawingTreeDocOp, isEvaluableField, isFieldChrome, isFldChar, isFldCharNode, isFldSimple, isFldSimpleNode, isInertExecutable, isInstrText, isInstrTextNode, isLegalFldCharType, isOmmlDisplay, isOmmlEquationAtom, isPageBreakNode, isSearchableQuery, isStoryPart, isValidId, isValidNCName, isValidParaId, isValidQName, isWholeWord, linkRevisionReplies, locateSites, makeLimitCounter, materializeGlossaryPlaceholders, mergeFragmentIntoPackage, mergedFontProperty, mergedMultiSettingProperty, mergedParagraphMarkProperties, mergedProperties, mintParaId, mintedParagraphIdentityAttributes, nextCommentId, normalizeParagraphIdentity, nullRecord, ooxmlTreesEqual, paraIdOf, paragraphOffsetIndex, paragraphTextOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removePackageCustomNode, replayFixture, resolve, resolveContentTypeOf, resolveTocRowHeadings, revisionItemsOf, runAddressRanges, runPropertyEdits, runsCovering, sanitizeHref, satisfies, scrubExport, sectionProtectsForms, segmentsOf, semanticDigest, serializeOoxmlPart, setCommentResolved, setPackageCommentResolved, stableHash, storyParagraphs, storyRootsOf, stylesPartOf, textboxStoriesInPart, toSafeRecord, tocEntryText, tocLeftIndentTwips, twips, twipsToPoints, usedParaIds, validateDrawingOp, validateFixture, validateOoxmlPart, validatePackageInvariants, validateTreeOp, w14RootPrefix, withContentTypeOverride, withCustomXmlDataPart, withCustomXmlNode, withExportedCustomNodes, withNewPart, withRelationship, withoutCustomXmlDataPart, withoutCustomXmlNode, withoutOrphanCustomXmlNodes, wrapTargetToAnchorSpec };
|
|
2595
|
+
export type { AddCommentRequest, AddCommentResult, AnchorSnapshot, AtomicFieldSpan, AuditPort, AuthorizationPort, BuildingBlock, BuildingBlockGalleryFilter, CancellationPhase, CancellationPort, CancellationToken, CapabilityId, ClockPort, CommentAnchorRequest, CommentDeletionOwner, ComparatorDescriptor, ComparatorMode, ComparatorName, ComparisonResult, ConformanceFixture, ContentItem, Contribution, CustomNodeBinding, CustomNodeExportPolicy, CustomNodeExportRequest, CustomNodeExportResult, CustomXmlDataPart, CustomXmlDataPartResult, CustomXmlNode, DetectedToc, DigestDifference, DocumentViewSettings, EncodedEnvelope, EnforcementPhase, ExternalResourceConsentPort, FeatureBundle, FixtureExpectation, FixtureOutcome, FixtureSource, FixtureStep, FldCharType, FontPort, FormattingDisplayMode, FormattingRevisionAuthorFilter, FragmentCoverage, FragmentExtractRejection, FragmentExtractResult, FragmentMergeRejection, FragmentMergeResult, HardBreakKind, HrefProjection, IdKind, IdentityPort, ImagePort, InertExecutableKind, InlineControlSpan, Json, LimitSpec, LimitUnit, LinkableReviewItem, ModelChangeSummary, OffsetSpan, OoxmlIndexes, OoxmlStoryKind, OoxmlStoryRoot, OperationContext, OperationInit, PackageCommentDelete, PackageInvariantCode, PackageInvariantIssue, PackageInvariantResult, ParagraphDigest, ParagraphIndexEntry, ParagraphOffsetIndex, PersistencePort, Points, RegistryErrorCode, ReplacementPolicy, ReplayOutcome, ReplayReport, ReplayStore, Reservation, ResolveOptions, ResolvedRegistry, ResourceAccountingPort, RunPropertyEdit, SchedulingPort, ScrubResult, Segment, SemVer, SemanticDigest, SetCommentResolvedResult, ShapingPort, StoryDigest, StoryIndexEntry, StyleIndexEntry, TextMatchOptions, TextOccurrence, TextOccurrences, TextboxStoryRoot, TocEntryPlan, TocInstruction, TocOutlineHeading, TransportPort, Twips, ValidationResult };
|
package/dist/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{j as Budget,i as BudgetError,A as COMPARATORS,l as CancellationController,k as CancellationError,S as DEFAULT_MAX_EDITABLE_STORY_PARTS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,ga as MAX_CUSTOM_NODE_LABEL_LENGTH,fa as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,P as MAX_FRAGMENT_DECODED_BYTES,n as PortRegistry,m as PortResolutionError,g as RegistryError,pa as SEARCH_MATCH_LIMIT,oa as SEARCH_QUERY_MAX,p as SequentialIdentity,R as TreeDocumentStore,T as TreePackageStore,Z as addComment,ca as addPackageComment,Q as applyFragmentPaste,w as assertLimitInvariants,c as assertValidId,q as beginOperation,x as canonicalize,aa as commentPartNameOf,ba as commentsExtendedPartNameOf,B as compareArtifacts,e as compareSemVer,ka as customNodePayloadsByControl,la as customNodePayloadsOf,ea as deletePackageComments,r as endOperation,N as extractFragmentPackage,ta as findOccurrences,C as fingerprint,qa as foldCase,$ as hasCommentPart,F as hashAuthored,Ca as headlessViewOfStore,ha as insertCustomNodeWrite,ma as insertPackageCustomNode,sa as isSearchableQuery,b as isValidId,ra as isWholeWord,u as makeLimitCounter,ua as materializeGlossaryPlaceholders,O as mergeFragmentIntoPackage,Y as nextCommentId,Ba as openHeadlessDocument,d as parseSemVer,va as planRevisionBatch,ia as removeCustomNodeWrite,na as removePackageCustomNode,E as replayFixture,h as resolve,f as satisfies,_ as setCommentResolved,da as setPackageCommentResolved,y as stableHash,ja as sweepCustomNodePayloads,D as validateFixture}from'./chunk-U4JZVSOE.js';export{xh as ACCEPTED_PARAGRAPH_PROPERTIES,wh as ACCEPTED_RUN_PROPERTIES,m as ALL_FROZEN_IDS,yh as AUTHORABLE_PARAGRAPH_PROPERTIES,zh as AUTHORABLE_RUN_PROPERTIES,u as BoundedCounter,h as CANONICAL_MUTATION_ORIGINS,Pb as CONTENT_CONTROL_ID_MAX,fc as CONTENT_CONTROL_PROPERTY_ORDER,Ei as CUSTOM_NODE_XPATH_PREFIX,oi as CUSTOM_XML_PROPS_REL,pi as CUSTOM_XML_PROPS_TYPE,ni as CUSTOM_XML_REL,L as DANGEROUS_KEYS,qi as DATASTORE_NAMESPACE_URI,Pg as DEFAULT_ENDNOTE_PROPERTIES,Og as DEFAULT_FOOTNOTE_PROPERTIES,th as DEFAULT_FORMATTING_DISPLAY_MODE,r as DEFAULT_IMAGE_RESOURCE_LIMITS,o as DEFAULT_LIMITS,Se as DEFAULT_OMML_LIMITS,Be as DEFAULT_OOXML_PACKAGE_LIMITS,ii as DEFAULT_VIEW_SETTINGS,Qd as DEFAULT_ZIP_LIMITS,l as DEPENDENCY_KEY_IDS,M as DangerousKeyError,nf as FIELD_ATOM_CHAR,n as HARD_CEILINGS,xd as HYPERLINK_RELATIONSHIP_TYPE,H as IMAGE_RELATIONSHIP_TYPE,q as IMAGE_RESOURCE_HARD_CEILINGS,Ed as IMAGE_WRAP_TARGETS,X as INERT_EXECUTABLE_KINDS,t as LimitExceededError,Ob as MAX_CONTENT_CONTROLS_PER_PART,Nb as MAX_CONTENT_CONTROL_NESTING,Hc as MAX_NOTES_PER_PART,ah as MAX_NOTE_REFERENCE_PARTS,$g as MAX_NOTE_REFERENCE_SCAN,Mc as MAX_STORY_SDT_NESTING,be as MAX_SVG_SNIFF_BYTES,i as NON_CANONICAL_ORIGINS,ic as NOTE_ATOM_CHAR,mc as NOTE_CONTINUATION_SEPARATOR_ID,kc as NOTE_ID_MAX,jc as NOTE_ID_MIN,lc as NOTE_SEPARATOR_ID,Kg as NO_DOCUMENT_PROTECTION,gi as NO_TRACKING_SETTINGS,Re as OFFICE_MATH_NAMESPACE_URI,wd as OFFICE_RELATIONSHIP_NAMESPACE_URI,Ha as OOXML_NODE_IDENTITY_RULES,g as ORIGIN_IDS,mb as PAGE_BREAK_CHAR,ha as PrefixAllocator,j as RESULT_IDS,k as RUNTIME_PORT_IDS,Dk as TABLE_BORDER_STYLES,pg as TOC_LEVEL_INDENT_TWIPS,Mf as TOC_MAX_BOOKMARKS_PER_REFRESH,Lf as TOC_MAX_ENTRIES,Nf as TOC_MAX_FIELD_NESTING,Kf as TOC_MAX_INSTRUCTION_CHARS,Of as TOC_MAX_PAGE_PASSES,vh as TREE_DOC_OP_KINDS,id as TWIPS_PER_POINT,Yh as W15_NAMESPACE_URI,la as WML_NAMESPACE_URI,na as XMLNS_NAMESPACE_URI,ma as XML_NAMESPACE_URI,hc as allocateContentControlId,pe as allocateDrawingPropertyId,Ic as allocateNoteId,$a as applyEdits,Ng as applyHeaderFooterLifecycleOp,Uh as applyNoteLifecycleOp,fl as applyTreeOp,y as asciiFold,ga as assertValidQName,If as atomicFieldSpansOf,Gc as atomicNoteSpansOf,Gg as authorableHyperlinkTarget,Vg as authoredDocumentEndnoteProperties,Ug as authoredDocumentFootnoteProperties,Sg as authoredEndnotePropertiesFromSectPr,Rg as authoredFootnotePropertiesFromSectPr,Ch as authoredProperties,Qc as bodyStoryRoot,vg as bookmarkPairNodes,Ii as boundCustomXmlNodeIdOf,Gi as boundCustomXmlNodeIds,Hi as boundCustomXmlNodeIdsInPackage,og as buildBookmarkIndex,F as buildContentTypeIndex,I as buildRelationshipSet,sg as buildTocContentControl,rg as buildTocEntryParagraph,Eg as buildingBlockGalleryOf,Fg as buildingBlocksForControl,Dg as buildingBlocksOf,Ca as canonicalOoxmlFingerprint,Vh as cascadeDeletedNoteReferences,fi as cascadeEmptiedComments,ca as childElements,Yc as collectFlowBlocks,Qa as collectNodeIds,dh as collectNoteReferences,fh as collectPackageNoteReferences,hk as collectReviewItems,_j as collectRevisionSites,cf as collectSectionPropertyNodes,Sc as collectStoryParagraphs,Zh as commentAnchorsOfStory,Mj as commentBodyText,Oj as commentInitials,gk as commentItemsOf,$h as commentsOfPart,W as containsCssFetch,Tb as contentControlContentChildren,Xb as contentControlContentNodeOf,Wc as contentControlContentOf,Wb as contentControlEndPropertiesNodeOf,_b as contentControlLevelOf,Vb as contentControlPropertiesNodeOf,Zb as contentControlPropertiesOf,bc as contentControlTextOf,$b as contentControlsIn,Ge as contentTypesPartBytes,me as createImageResourceCache,Ra as createNodeIdAllocator,bh as createNoteReferenceScanBudget,Dc as customMarkFollows,Fi as customNodeBinding,ti as customXmlDataParts,Ci as customXmlLabelXPath,xi as customXmlNodes,Di as customXmlPrefixMappings,ri as datastoreItemIdFor,lj as deepParagraphOrderOfPart,ci as deleteCommentThread,hf as deobfuscateFont,cd as deriveOoxmlIndexes,Rf as detectBodyTocs,A as detectDuplicateNames,gh as diagnoseNoteReferences,zg as diffSemanticDigests,xg as digestPart,Eh as directParagraphMarkProperties,Dh as directParagraphProperties,$e as displayMathAlignment,Rk as drawingOpImpact,Hg as ensureHyperlinkRelationship,Ag as ensureListDefinition,Bg as ensureNumberingLevel,Ve as equationExpressionToLinearMath,Ze as equationsOfAtom,V as escapeCssString,R as escapeXml,E as extensionKey,zf as fieldAtomText,yf as fieldOnOffAttribute,ac as findContentControl,ui as findCustomXmlDataPart,Sf as findDetectedToc,ba as findElement,Ta as findNode,Lc as findNoteById,zj as firstReviewRange,Ub as flattenContentControls,of as fldCharType,xf as fldSimpleInstr,xb as fnv1a32,oc as formatNoteScopeId,Ih as formatOwnedRunIds,Rh as formattableRanges,pj as formsProtectionEnabled,Cg as glossaryPartOf,qb as hardBreakAttributes,nb as hardBreakKind,pb as hardBreakText,bi as hasAnyComment,ce as hasBoundedSvgRoot,Bf as hasLegacyFormFieldData,Sa as hasNode,zd as hyperlinkAnchorOf,Ad as hyperlinkRelationshipIdOf,Bd as hyperlinkTargetOf,ke as imageResourceLookupFor,ad as indexStyles,mg as inlineControlEndingAt,ng as inlineControlStartingAt,Ya as insertChildren,wf as instrTextValue,Ah as isAuthorableRunProperty,Uc as isContentControl,Vc as isContentControlContent,Rb as isContentControlContentNode,Qb as isContentControlNode,Sb as isContentControlWrapper,va as isContentRevisionKind,wc as isContinuationSeparatorNode,N as isDangerousKey,Wk as isDrawingTreeDocOp,rc as isEndnotesNode,Z as isEvaluableField,Af as isFieldChrome,sf as isFldChar,pf as isFldCharNode,vf as isFldSimple,rf as isFldSimpleNode,qc as isFootnotesNode,Mg as isHeaderFooterLifecycleOp,yd as isHyperlinkNode,Y as isInertExecutable,tf as isInstrText,qf as isInstrTextNode,Yg as isLegalEndnotePosition,Jf as isLegalFldCharType,Zg as isLegalFootnotePosition,_g as isLegalNumRestart,Ac as isNormalNote,Fc as isNoteAtomNode,Th as isNoteLifecycleOp,sc as isNoteNode,uc as isNoteRefNode,tc as isNoteReferenceNode,Xe as isOmmlDisplay,Ye as isOmmlEquationAtom,ob as isPageBreakNode,za as isRangeMarkerKind,vc as isSeparatorNode,Pc as isStoryPart,D as isValidMime,ea as isValidNCName,vb as isValidParaId,fa as isValidQName,jj as legacyCheckboxFieldsOf,We as linearMathToOmml,jk as linkRevisionReplies,je as liveDrawingReferenceCount,dk as locateSites,dc as lockForbidsEdit,ec as lockForbidsRemoval,Gh as mergedFontProperty,Jh as mergedMultiSettingProperty,Kh as mergedParagraphMarkProperties,Fh as mergedProperties,yb as mintParaId,Cb as mintedParagraphIdentityAttributes,ih as normalNoteIds,Eb as normalizeParagraphIdentity,w as normalizePartName,Ec as noteAtomText,yc as noteIdOf,xc as noteKindOf,Cc as noteRefKindOf,Bc as noteReferenceKindOf,zc as noteTypeOf,Jc as notesOf,hh as notesPartHasId,O as nullRecord,hl as observeHistoryGroup,Da as ooxmlTreesEqual,gc as orderedContentControlProperties,wb as paraIdOf,jg as paragraphOffsetIndex,kj as paragraphOrderOfPart,Vi as paragraphTextOf,Ua as parentNodeOf,Qg as parseAuthoredNoteProperties,Yb as parseContentControlId,Ue as parseLinearMath,nc as parseNoteId,pc as parseNoteScopeId,Pf as parseTocInstruction,z as partNameKey,lk as planRevisionAuthorChange,ug as planTocEntries,kd as points,md as pointsToTwips,Nd as projectDrawing,af as projectOmmlAtom,_e as projectOmmlDisplay,Te as projectOmmlEquation,Bh as propertyContainer,yi as readCustomXmlNode,Lg as readDocumentProtection,if as readEmbeddedFonts,Aa as readOnOffChild,Ce as readOoxmlPackage,Ia as readOoxmlPart,hi as readTrackingSettings,nd as readTwipsMeasure,ji as readViewSettings,aa as readXml,Rd as readZip,Ig as relationshipTargetIn,He as relationshipsOf,Je as relsPartNameFor,_a as removeNode,Xa as replaceChildren,Za as replaceNode,il as reportHistoryGroup,cc as resolveContentControlLock,G as resolveContentType,Ie as resolveContentTypeOf,Xg as resolveEndnoteProperties,Wg as resolveFootnoteProperties,gf as resolveHeaderFooterParts,ff as resolveHeaderFooterPartsBySection,ef as resolveHeaderFooterResolutionBySection,K as resolveImageRelationship,s as resolveImageResourceLimits,B as resolveInternalTarget,p as resolveLimits,ch as resolveNotesPart,J as resolveRelationship,wg as resolveTocRowHeadings,xj as reviewItemKey,yj as reviewItemRanges,fk as revisionItemsOf,Hh as runAddressRanges,Ph as runPropertyEdits,Sh as runsCovering,Q as sanitizeHref,_ as scrubExport,qj as sectionProtectsForms,hg as segmentsOf,yg as semanticDigest,Ba as serializeOoxmlPart,Tg as settingsPartOf,de as sniffImageMime,Rc as storyParagraphs,Oc as storyRootsOf,bd as stylesPartOf,da as textContent,hj as textFormFieldsOf,mi as textboxStoriesInPart,ai as threadStateOfPart,P as toSafeRecord,tg as tocEntryText,qg as tocLeftIndentTwips,jd as twips,ld as twipsToPoints,zb as usedParaIds,Sk as validateDrawingOp,C as validateExternalTarget,fe as validateGifHeader,ge as validateJpegHeader,Fa as validateOoxmlPart,Qe as validatePackageInvariants,ee as validatePngHeader,ie as validateRasterHeader,Xk as validateTreeOp,Ab as w14RootPrefix,_c as walkAllStoryParagraphs,$c as walkParagraphInline,Zc as walkStoryBlocks,se as withBinaryPart,Ke as withContentTypeOverride,vi as withCustomXmlDataPart,zi as withCustomXmlNode,te as withEmbeddedImage,Ji as withExportedCustomNodes,Pe as withNewPart,Fe as withPart,Oe as withRelationship,wi as withoutCustomXmlDataPart,Ai as withoutCustomXmlNode,Bi as withoutOrphanCustomXmlNodes,ye as withoutUnreferencedImagePart,Vk as wrapTargetToAnchorSpec,Ee as writeOoxmlPackage,Sd as writeZip}from'./chunk-YQ5G6LC7.js';
|
|
1
|
+
export{j as Budget,i as BudgetError,A as COMPARATORS,l as CancellationController,k as CancellationError,S as DEFAULT_MAX_EDITABLE_STORY_PARTS,o as DeterministicClock,v as DeterministicMemoryMeter,a as ID_KINDS,t as LIMIT_KEYS,s as LIMIT_SPECS,ga as MAX_CUSTOM_NODE_LABEL_LENGTH,fa as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,P as MAX_FRAGMENT_DECODED_BYTES,n as PortRegistry,m as PortResolutionError,g as RegistryError,pa as SEARCH_MATCH_LIMIT,oa as SEARCH_QUERY_MAX,p as SequentialIdentity,R as TreeDocumentStore,T as TreePackageStore,Z as addComment,ca as addPackageComment,Q as applyFragmentPaste,w as assertLimitInvariants,c as assertValidId,q as beginOperation,x as canonicalize,aa as commentPartNameOf,ba as commentsExtendedPartNameOf,B as compareArtifacts,e as compareSemVer,ka as customNodePayloadsByControl,la as customNodePayloadsOf,ea as deletePackageComments,r as endOperation,N as extractFragmentPackage,ta as findOccurrences,C as fingerprint,qa as foldCase,$ as hasCommentPart,F as hashAuthored,Da as headlessViewOfStore,ha as insertCustomNodeWrite,ma as insertPackageCustomNode,sa as isSearchableQuery,b as isValidId,ra as isWholeWord,u as makeLimitCounter,ua as materializeGlossaryPlaceholders,O as mergeFragmentIntoPackage,Y as nextCommentId,Ca as openHeadlessDocument,d as parseSemVer,va as planRevisionBatch,ia as removeCustomNodeWrite,na as removePackageCustomNode,E as replayFixture,h as resolve,f as satisfies,_ as setCommentResolved,da as setPackageCommentResolved,y as stableHash,ja as sweepCustomNodePayloads,D as validateFixture}from'./chunk-PF5NJWS3.js';export{xh as ACCEPTED_PARAGRAPH_PROPERTIES,wh as ACCEPTED_RUN_PROPERTIES,m as ALL_FROZEN_IDS,yh as AUTHORABLE_PARAGRAPH_PROPERTIES,zh as AUTHORABLE_RUN_PROPERTIES,u as BoundedCounter,h as CANONICAL_MUTATION_ORIGINS,Pb as CONTENT_CONTROL_ID_MAX,fc as CONTENT_CONTROL_PROPERTY_ORDER,Ei as CUSTOM_NODE_XPATH_PREFIX,oi as CUSTOM_XML_PROPS_REL,pi as CUSTOM_XML_PROPS_TYPE,ni as CUSTOM_XML_REL,L as DANGEROUS_KEYS,qi as DATASTORE_NAMESPACE_URI,Pg as DEFAULT_ENDNOTE_PROPERTIES,Og as DEFAULT_FOOTNOTE_PROPERTIES,th as DEFAULT_FORMATTING_DISPLAY_MODE,r as DEFAULT_IMAGE_RESOURCE_LIMITS,o as DEFAULT_LIMITS,Se as DEFAULT_OMML_LIMITS,Be as DEFAULT_OOXML_PACKAGE_LIMITS,ii as DEFAULT_VIEW_SETTINGS,Qd as DEFAULT_ZIP_LIMITS,l as DEPENDENCY_KEY_IDS,M as DangerousKeyError,nf as FIELD_ATOM_CHAR,n as HARD_CEILINGS,xd as HYPERLINK_RELATIONSHIP_TYPE,H as IMAGE_RELATIONSHIP_TYPE,q as IMAGE_RESOURCE_HARD_CEILINGS,Ed as IMAGE_WRAP_TARGETS,X as INERT_EXECUTABLE_KINDS,t as LimitExceededError,Ob as MAX_CONTENT_CONTROLS_PER_PART,Nb as MAX_CONTENT_CONTROL_NESTING,Hc as MAX_NOTES_PER_PART,ah as MAX_NOTE_REFERENCE_PARTS,$g as MAX_NOTE_REFERENCE_SCAN,Mc as MAX_STORY_SDT_NESTING,be as MAX_SVG_SNIFF_BYTES,i as NON_CANONICAL_ORIGINS,ic as NOTE_ATOM_CHAR,mc as NOTE_CONTINUATION_SEPARATOR_ID,kc as NOTE_ID_MAX,jc as NOTE_ID_MIN,lc as NOTE_SEPARATOR_ID,Kg as NO_DOCUMENT_PROTECTION,gi as NO_TRACKING_SETTINGS,Re as OFFICE_MATH_NAMESPACE_URI,wd as OFFICE_RELATIONSHIP_NAMESPACE_URI,Ha as OOXML_NODE_IDENTITY_RULES,g as ORIGIN_IDS,mb as PAGE_BREAK_CHAR,ha as PrefixAllocator,j as RESULT_IDS,k as RUNTIME_PORT_IDS,Ek as TABLE_BORDER_STYLES,pg as TOC_LEVEL_INDENT_TWIPS,Mf as TOC_MAX_BOOKMARKS_PER_REFRESH,Lf as TOC_MAX_ENTRIES,Nf as TOC_MAX_FIELD_NESTING,Kf as TOC_MAX_INSTRUCTION_CHARS,Of as TOC_MAX_PAGE_PASSES,vh as TREE_DOC_OP_KINDS,id as TWIPS_PER_POINT,Yh as W15_NAMESPACE_URI,la as WML_NAMESPACE_URI,na as XMLNS_NAMESPACE_URI,ma as XML_NAMESPACE_URI,hc as allocateContentControlId,pe as allocateDrawingPropertyId,Ic as allocateNoteId,$a as applyEdits,Ng as applyHeaderFooterLifecycleOp,Uh as applyNoteLifecycleOp,gl as applyTreeOp,y as asciiFold,ga as assertValidQName,If as atomicFieldSpansOf,Gc as atomicNoteSpansOf,Gg as authorableHyperlinkTarget,Vg as authoredDocumentEndnoteProperties,Ug as authoredDocumentFootnoteProperties,Sg as authoredEndnotePropertiesFromSectPr,Rg as authoredFootnotePropertiesFromSectPr,Ch as authoredProperties,Qc as bodyStoryRoot,vg as bookmarkPairNodes,Ii as boundCustomXmlNodeIdOf,Gi as boundCustomXmlNodeIds,Hi as boundCustomXmlNodeIdsInPackage,og as buildBookmarkIndex,F as buildContentTypeIndex,I as buildRelationshipSet,sg as buildTocContentControl,rg as buildTocEntryParagraph,Eg as buildingBlockGalleryOf,Fg as buildingBlocksForControl,Dg as buildingBlocksOf,Ca as canonicalOoxmlFingerprint,Vh as cascadeDeletedNoteReferences,fi as cascadeEmptiedComments,ca as childElements,Yc as collectFlowBlocks,Qa as collectNodeIds,dh as collectNoteReferences,fh as collectPackageNoteReferences,ik as collectReviewItems,$j as collectRevisionSites,cf as collectSectionPropertyNodes,Sc as collectStoryParagraphs,Zh as commentAnchorsOfStory,Nj as commentBodyText,Pj as commentInitials,hk as commentItemsOf,$h as commentsOfPart,W as containsCssFetch,Tb as contentControlContentChildren,Xb as contentControlContentNodeOf,Wc as contentControlContentOf,Wb as contentControlEndPropertiesNodeOf,_b as contentControlLevelOf,Vb as contentControlPropertiesNodeOf,Zb as contentControlPropertiesOf,bc as contentControlTextOf,$b as contentControlsIn,Ge as contentTypesPartBytes,me as createImageResourceCache,Ra as createNodeIdAllocator,bh as createNoteReferenceScanBudget,Dc as customMarkFollows,Fi as customNodeBinding,ti as customXmlDataParts,Ci as customXmlLabelXPath,xi as customXmlNodes,Di as customXmlPrefixMappings,ri as datastoreItemIdFor,mj as deepParagraphOrderOfPart,ci as deleteCommentThread,hf as deobfuscateFont,cd as deriveOoxmlIndexes,Rf as detectBodyTocs,A as detectDuplicateNames,gh as diagnoseNoteReferences,zg as diffSemanticDigests,xg as digestPart,Eh as directParagraphMarkProperties,Dh as directParagraphProperties,$e as displayMathAlignment,Sk as drawingOpImpact,Hg as ensureHyperlinkRelationship,Ag as ensureListDefinition,Bg as ensureNumberingLevel,Ve as equationExpressionToLinearMath,Ze as equationsOfAtom,V as escapeCssString,R as escapeXml,E as extensionKey,zf as fieldAtomText,yf as fieldOnOffAttribute,ac as findContentControl,ui as findCustomXmlDataPart,Sf as findDetectedToc,ba as findElement,Ta as findNode,Lc as findNoteById,Aj as firstReviewRange,Ub as flattenContentControls,of as fldCharType,xf as fldSimpleInstr,xb as fnv1a32,oc as formatNoteScopeId,Ih as formatOwnedRunIds,Rh as formattableRanges,qj as formsProtectionEnabled,Cg as glossaryPartOf,qb as hardBreakAttributes,nb as hardBreakKind,pb as hardBreakText,bi as hasAnyComment,ce as hasBoundedSvgRoot,Bf as hasLegacyFormFieldData,Sa as hasNode,zd as hyperlinkAnchorOf,Ad as hyperlinkRelationshipIdOf,Bd as hyperlinkTargetOf,ke as imageResourceLookupFor,ad as indexStyles,mg as inlineControlEndingAt,ng as inlineControlStartingAt,Ya as insertChildren,wf as instrTextValue,Ah as isAuthorableRunProperty,Uc as isContentControl,Vc as isContentControlContent,Rb as isContentControlContentNode,Qb as isContentControlNode,Sb as isContentControlWrapper,va as isContentRevisionKind,wc as isContinuationSeparatorNode,N as isDangerousKey,Xk as isDrawingTreeDocOp,rc as isEndnotesNode,Z as isEvaluableField,Af as isFieldChrome,sf as isFldChar,pf as isFldCharNode,vf as isFldSimple,rf as isFldSimpleNode,qc as isFootnotesNode,Mg as isHeaderFooterLifecycleOp,yd as isHyperlinkNode,Y as isInertExecutable,tf as isInstrText,qf as isInstrTextNode,Yg as isLegalEndnotePosition,Jf as isLegalFldCharType,Zg as isLegalFootnotePosition,_g as isLegalNumRestart,Ac as isNormalNote,Fc as isNoteAtomNode,Th as isNoteLifecycleOp,sc as isNoteNode,uc as isNoteRefNode,tc as isNoteReferenceNode,Xe as isOmmlDisplay,Ye as isOmmlEquationAtom,ob as isPageBreakNode,za as isRangeMarkerKind,vc as isSeparatorNode,Pc as isStoryPart,D as isValidMime,ea as isValidNCName,vb as isValidParaId,fa as isValidQName,jj as legacyCheckboxFieldsOf,We as linearMathToOmml,kk as linkRevisionReplies,je as liveDrawingReferenceCount,ek as locateSites,dc as lockForbidsEdit,ec as lockForbidsRemoval,Gh as mergedFontProperty,Jh as mergedMultiSettingProperty,Kh as mergedParagraphMarkProperties,Fh as mergedProperties,yb as mintParaId,Cb as mintedParagraphIdentityAttributes,ih as normalNoteIds,Eb as normalizeParagraphIdentity,w as normalizePartName,Ec as noteAtomText,yc as noteIdOf,xc as noteKindOf,Cc as noteRefKindOf,Bc as noteReferenceKindOf,zc as noteTypeOf,Jc as notesOf,hh as notesPartHasId,O as nullRecord,il as observeHistoryGroup,Da as ooxmlTreesEqual,gc as orderedContentControlProperties,wb as paraIdOf,jg as paragraphOffsetIndex,lj as paragraphOrderOfPart,Vi as paragraphTextOf,Ua as parentNodeOf,Qg as parseAuthoredNoteProperties,Yb as parseContentControlId,Ue as parseLinearMath,nc as parseNoteId,pc as parseNoteScopeId,Pf as parseTocInstruction,z as partNameKey,mk as planRevisionAuthorChange,ug as planTocEntries,kd as points,md as pointsToTwips,Nd as projectDrawing,af as projectOmmlAtom,_e as projectOmmlDisplay,Te as projectOmmlEquation,Bh as propertyContainer,yi as readCustomXmlNode,Lg as readDocumentProtection,if as readEmbeddedFonts,Aa as readOnOffChild,Ce as readOoxmlPackage,Ia as readOoxmlPart,hi as readTrackingSettings,nd as readTwipsMeasure,ji as readViewSettings,aa as readXml,Rd as readZip,Ig as relationshipTargetIn,He as relationshipsOf,Je as relsPartNameFor,_a as removeNode,Xa as replaceChildren,Za as replaceNode,jl as reportHistoryGroup,cc as resolveContentControlLock,G as resolveContentType,Ie as resolveContentTypeOf,Xg as resolveEndnoteProperties,Wg as resolveFootnoteProperties,gf as resolveHeaderFooterParts,ff as resolveHeaderFooterPartsBySection,ef as resolveHeaderFooterResolutionBySection,K as resolveImageRelationship,s as resolveImageResourceLimits,B as resolveInternalTarget,p as resolveLimits,ch as resolveNotesPart,J as resolveRelationship,wg as resolveTocRowHeadings,yj as reviewItemKey,zj as reviewItemRanges,gk as revisionItemsOf,Hh as runAddressRanges,Ph as runPropertyEdits,Sh as runsCovering,Q as sanitizeHref,_ as scrubExport,rj as sectionProtectsForms,hg as segmentsOf,yg as semanticDigest,Ba as serializeOoxmlPart,Tg as settingsPartOf,de as sniffImageMime,Rc as storyParagraphs,Oc as storyRootsOf,bd as stylesPartOf,da as textContent,hj as textFormFieldsOf,mi as textboxStoriesInPart,ai as threadStateOfPart,P as toSafeRecord,tg as tocEntryText,qg as tocLeftIndentTwips,jd as twips,ld as twipsToPoints,zb as usedParaIds,Tk as validateDrawingOp,C as validateExternalTarget,fe as validateGifHeader,ge as validateJpegHeader,Fa as validateOoxmlPart,Qe as validatePackageInvariants,ee as validatePngHeader,ie as validateRasterHeader,Yk as validateTreeOp,Ab as w14RootPrefix,_c as walkAllStoryParagraphs,$c as walkParagraphInline,Zc as walkStoryBlocks,se as withBinaryPart,Ke as withContentTypeOverride,vi as withCustomXmlDataPart,zi as withCustomXmlNode,te as withEmbeddedImage,Ji as withExportedCustomNodes,Pe as withNewPart,Fe as withPart,Oe as withRelationship,wi as withoutCustomXmlDataPart,Ai as withoutCustomXmlNode,Bi as withoutOrphanCustomXmlNodes,ye as withoutUnreferencedImagePart,Wk as wrapTargetToAnchorSpec,Ee as writeOoxmlPackage,Sd as writeZip}from'./chunk-5SPITS5F.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as SupportedImageMime, c as ImageDecodePort } from './image-resources-
|
|
2
|
-
import {
|
|
1
|
+
import { S as SupportedImageMime, c as ImageDecodePort } from './image-resources-Bipz8toD.js';
|
|
2
|
+
import { O as OoxmlPart, ay as OoxmlInvariantIssue, N as OoxmlNode, ah as OoxmlElement, Q as OoxmlPackage, ax as RevisionAttributionInput, az as DrawingTreeDocOp, aA as OoxmlParagraphNode, aB as OoxmlNoteNode, aC as OoxmlContinuationSeparatorNode, aD as OoxmlEndnotesNode, aE as OoxmlFootnotesNode, aF as OoxmlNoteRefNode, aG as OoxmlNoteReferenceNode, aH as OoxmlSeparatorNode, aI as ImpactClass, ag as TreeDocOp, av as TreeOpRejection } from './types-barrel-CA0xB8kH.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* How saved field results are addressed.
|
|
@@ -12,6 +12,142 @@ import { Q as OoxmlPackage, ax as RevisionAttributionInput, ay as DrawingTreeDoc
|
|
|
12
12
|
*/
|
|
13
13
|
type FieldResultsMode = 'atomic' | 'editable';
|
|
14
14
|
|
|
15
|
+
/** An edited part, or the invariant violations that rejected the edit. */
|
|
16
|
+
type OoxmlEditResult = {
|
|
17
|
+
readonly ok: true;
|
|
18
|
+
readonly part: OoxmlPart;
|
|
19
|
+
} | {
|
|
20
|
+
readonly ok: false;
|
|
21
|
+
readonly issues: readonly OoxmlInvariantIssue[];
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* An opt-in relaxation of `ST_Lock` for hosts that protect WHAT a control says, not how it looks.
|
|
25
|
+
*
|
|
26
|
+
* ECMA-376 `contentLocked` forbids editing the control's contents and Word reads formatting as
|
|
27
|
+
* part of that, which is the default here. A host that puts protected text in a control (a
|
|
28
|
+
* template placeholder the user must not retype) but lets authors style it sets
|
|
29
|
+
* `allowFormattingInLockedContent`: a run-property write (bold, colour, font, size, highlight …),
|
|
30
|
+
* on runs or on a paragraph mark, then passes the CONTENT half of the lock. The exception never
|
|
31
|
+
* admits a property that hides text (`w:vanish`, `w:specVanish`, `w:webHidden`), which the
|
|
32
|
+
* run-property vocabulary refuses today anyway. Text edits, deletion of the content, paragraph properties,
|
|
33
|
+
* removal of a `sdtLocked` wrapper and `w:dataBinding` refusals are unchanged.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
interface ContentLockPolicy {
|
|
38
|
+
/** Let run formatting pass a content lock; text and removal stay refused. Default `false`. */
|
|
39
|
+
readonly allowFormattingInLockedContent?: boolean;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* How an edit primitive validates its result.
|
|
43
|
+
*
|
|
44
|
+
* By default every primitive runs the full-part invariant validation before handing its
|
|
45
|
+
* result back — the safe reading for an isolated call. A TRANSACTION applying many ops pays
|
|
46
|
+
* that full-tree walk once per primitive, which is what made a hundred-paragraph paste
|
|
47
|
+
* quadratic; it defers instead, and runs the same validation ONCE on the final tree before
|
|
48
|
+
* anything is published. Deferring is only sound for a caller that owns a commit boundary:
|
|
49
|
+
* nothing may escape between the unvalidated intermediate and the validated result.
|
|
50
|
+
*/
|
|
51
|
+
interface EditOptions {
|
|
52
|
+
readonly deferValidation?: boolean;
|
|
53
|
+
/**
|
|
54
|
+
* How a content control's `w:lock` is read for ops that only restyle text. Absent means
|
|
55
|
+
* the default: `contentLocked` / `sdtContentLocked` refuse every write, formatting included.
|
|
56
|
+
*/
|
|
57
|
+
readonly contentLockPolicy?: ContentLockPolicy;
|
|
58
|
+
/**
|
|
59
|
+
* A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
|
|
60
|
+
*
|
|
61
|
+
* `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
|
|
62
|
+
* write emits one op per run — so a Select All + Bold in suggesting mode paid a
|
|
63
|
+
* document-wide walk thousands of times over. The transaction hands its ops one minter
|
|
64
|
+
* instead, and it is DROPPED the moment an op that can import foreign revision ids runs
|
|
65
|
+
* (a paste carries its own), because a stale minter would hand out an id the document had
|
|
66
|
+
* just started using — and two revisions sharing an address are one card in the pane.
|
|
67
|
+
*
|
|
68
|
+
* Absent means "mint your own": every applier falls back to its own walk, which is what a
|
|
69
|
+
* caller outside a transaction gets.
|
|
70
|
+
*/
|
|
71
|
+
readonly revisionIds?: () => string;
|
|
72
|
+
/**
|
|
73
|
+
* The transaction's revision-id bookkeeping for the tracked TEXT ops, where `revisionIds`
|
|
74
|
+
* above hands the property ops one shared id for their whole group.
|
|
75
|
+
*
|
|
76
|
+
* Absent means "mint your own and remember nothing", which is what a caller outside a
|
|
77
|
+
* transaction gets: every applier falls back to its own walk of the part.
|
|
78
|
+
*/
|
|
79
|
+
readonly trackedRevisionIds?: TransactionRevisionIds;
|
|
80
|
+
/**
|
|
81
|
+
* How the op addresses saved field results (`field-result-mode.ts`). Absent keeps the mode
|
|
82
|
+
* of the enclosing store call, which is `atomic` outside any editable transaction.
|
|
83
|
+
*/
|
|
84
|
+
readonly fieldResults?: FieldResultsMode;
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* What one transaction knows about the revision ids its tracked text ops write.
|
|
88
|
+
*
|
|
89
|
+
* TWO questions, and they are the same bookkeeping. `nextRevisionId` walks the whole part, so
|
|
90
|
+
* a replacement — a `deleteText` and an `insertText` in one transaction — walked it twice, and
|
|
91
|
+
* on a five-hundred-page document that doubled the cost of every one. And an insertion aimed
|
|
92
|
+
* at the front edge of a deletion relocates past it only when that deletion is THIS
|
|
93
|
+
* transaction's own: typing over a selection. Backspace, then a keystroke, is two
|
|
94
|
+
* transactions, and there the typed text belongs in FRONT of the struck character, as Word
|
|
95
|
+
* writes it. Adjacency alone cannot tell the two apart; the ids can.
|
|
96
|
+
*/
|
|
97
|
+
interface TransactionRevisionIds {
|
|
98
|
+
/** A fresh `@w:id`, from this transaction's one walk of the part. */
|
|
99
|
+
mint(): string;
|
|
100
|
+
/**
|
|
101
|
+
* Record a wrapper this transaction wrote, by its FULL `CT_TrackChange` identity — id,
|
|
102
|
+
* author and date, as `revisionKey` spells it. Not by the id alone: that number comes out
|
|
103
|
+
* of the file, nothing makes it unique, and a strike joining `w:id="3"` in one paragraph
|
|
104
|
+
* would otherwise claim an unrelated `w:id="3"` elsewhere as this edit's own.
|
|
105
|
+
*/
|
|
106
|
+
wrote(key: string): void;
|
|
107
|
+
/** Whether this transaction wrote a wrapper with that identity. */
|
|
108
|
+
wroteUnder(key: string): boolean;
|
|
109
|
+
}
|
|
110
|
+
/** Every node id currently present in the part. */
|
|
111
|
+
declare function collectNodeIds(part: OoxmlPart): Set<string>;
|
|
112
|
+
/**
|
|
113
|
+
* Mint ids for nodes an edit introduces.
|
|
114
|
+
*
|
|
115
|
+
* Deterministic and collision-checked against the whole part: a structural-path id from the
|
|
116
|
+
* original parse (`/word/document.xml#0.1.2`) and a minted one (`/word/document.xml#new:3`)
|
|
117
|
+
* can never coincide, and the counter skips anything already taken so repeated edits in one
|
|
118
|
+
* session stay unique.
|
|
119
|
+
*
|
|
120
|
+
* Allocators share reservations across edited roots and restored roots. Preview edits,
|
|
121
|
+
* detached nodes, and undo branches must not reuse an identity that collaboration retains.
|
|
122
|
+
*
|
|
123
|
+
* Checks the part's node index directly rather than copying every id into a fresh set: the
|
|
124
|
+
* copy was O(document) per op, and an allocator is created for every op.
|
|
125
|
+
*/
|
|
126
|
+
declare function createNodeIdAllocator(part: OoxmlPart, family?: 'new' | 'paste'): () => string;
|
|
127
|
+
/** Whether a node id exists in the part. */
|
|
128
|
+
declare function hasNode(part: OoxmlPart, nodeId: string): boolean;
|
|
129
|
+
/** Read a node back out of a part by id. */
|
|
130
|
+
declare function findNode(part: OoxmlPart, nodeId: string): OoxmlNode | null;
|
|
131
|
+
/** The element that holds a node, or null for the root and for unknown ids. */
|
|
132
|
+
declare function parentNodeOf(part: OoxmlPart, nodeId: string): OoxmlElement | null;
|
|
133
|
+
/** Replace one node's children wholesale. */
|
|
134
|
+
declare function replaceChildren(part: OoxmlPart, nodeId: string, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
135
|
+
/** Insert children into a node at `index` (clamped to the child list). */
|
|
136
|
+
declare function insertChildren(part: OoxmlPart, nodeId: string, index: number, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
137
|
+
/** Replace one node with another, keeping its position among its siblings. */
|
|
138
|
+
declare function replaceNode(part: OoxmlPart, nodeId: string, replacement: OoxmlNode, options?: EditOptions): OoxmlEditResult;
|
|
139
|
+
/** Remove a node and its subtree. */
|
|
140
|
+
declare function removeNode(part: OoxmlPart, nodeId: string, options?: EditOptions): OoxmlEditResult;
|
|
141
|
+
/**
|
|
142
|
+
* Apply several primitives as ONE atomic step.
|
|
143
|
+
*
|
|
144
|
+
* Each edit runs against the result of the previous one, and the whole sequence is
|
|
145
|
+
* validated once at the end. If any step fails, the ORIGINAL part is what the caller keeps
|
|
146
|
+
* — there is no partially-edited intermediate to publish. This is the shape a multi-`DocOp`
|
|
147
|
+
* store transaction needs.
|
|
148
|
+
*/
|
|
149
|
+
declare function applyEdits(part: OoxmlPart, edits: readonly ((current: OoxmlPart) => OoxmlEditResult)[], options?: EditOptions): OoxmlEditResult;
|
|
150
|
+
|
|
15
151
|
/** A freshly allocated drawing property id, or the reason one could not be minted. */
|
|
16
152
|
type DrawingPropertyIdResult = {
|
|
17
153
|
readonly ok: true;
|
|
@@ -646,6 +782,11 @@ interface TreeDocumentStoreOptions {
|
|
|
646
782
|
* document can gain or lose protection while its stories stay open.
|
|
647
783
|
*/
|
|
648
784
|
readonly settingsPart?: () => OoxmlPart | null | undefined;
|
|
785
|
+
/**
|
|
786
|
+
* Opt-in relaxation of `w:lock` for run-property writes. See {@link ContentLockPolicy};
|
|
787
|
+
* absent, `contentLocked` and `sdtContentLocked` refuse formatting like any other write.
|
|
788
|
+
*/
|
|
789
|
+
readonly contentLockPolicy?: ContentLockPolicy;
|
|
649
790
|
}
|
|
650
791
|
|
|
651
792
|
/** A selection the caller wants restored when an entry is undone or redone. */
|
|
@@ -813,6 +954,8 @@ declare class TreeDocumentStore {
|
|
|
813
954
|
private readonly historyLimit;
|
|
814
955
|
/** See {@link TreeDocumentStoreOptions.settingsPart}. */
|
|
815
956
|
private readonly settingsPartOverride;
|
|
957
|
+
/** See {@link TreeDocumentStoreOptions.contentLockPolicy}. */
|
|
958
|
+
private readonly contentLockPolicy;
|
|
816
959
|
/** Package-aware story tag applied to publishes (including undo/redo). */
|
|
817
960
|
private storyRef;
|
|
818
961
|
/** Open composition, if any. While set, transactions extend one entry (task 5.5). */
|
|
@@ -1002,6 +1145,8 @@ declare const DEFAULT_MAX_EDITABLE_STORY_PARTS = 64;
|
|
|
1002
1145
|
/** How a package store is constructed: limits, history depth, and review contributions. */
|
|
1003
1146
|
interface TreePackageStoreOptions {
|
|
1004
1147
|
readonly historyLimit?: number;
|
|
1148
|
+
/** Opt-in relaxation of `w:lock` for run-property writes, for the body and every story store. */
|
|
1149
|
+
readonly contentLockPolicy?: ContentLockPolicy;
|
|
1005
1150
|
/** Bound on opened story stores; defaults to {@link DEFAULT_MAX_EDITABLE_STORY_PARTS}. */
|
|
1006
1151
|
readonly maxEditableStoryParts?: number;
|
|
1007
1152
|
/**
|
|
@@ -1027,6 +1172,7 @@ declare class TreePackageStore {
|
|
|
1027
1172
|
private readonly redoOrder;
|
|
1028
1173
|
private readonly subscribers;
|
|
1029
1174
|
private readonly historyLimit;
|
|
1175
|
+
private readonly contentLockPolicy;
|
|
1030
1176
|
private readonly maxEditableStoryParts;
|
|
1031
1177
|
private readonly cascadeNoteReferences;
|
|
1032
1178
|
private lastChange;
|
|
@@ -1051,6 +1197,14 @@ declare class TreePackageStore {
|
|
|
1051
1197
|
* a matching tuple proves the snapshot cannot differ; nothing invalidates explicitly.
|
|
1052
1198
|
*/
|
|
1053
1199
|
private currentPackageMemo;
|
|
1200
|
+
/**
|
|
1201
|
+
* What the body and every story store open with. `settingsPart` is the SAME live getter for
|
|
1202
|
+
* all of them: a story store is built from a PART, whose synthetic package holds no
|
|
1203
|
+
* `settings.xml`, and a store keeps its own working copy, so a replaced `settings.xml` left one
|
|
1204
|
+
* story reading stale protection. Protection that holds in a header but not the body is worse
|
|
1205
|
+
* than none: it looks enforced. The lock policy reaches every story for the same reason.
|
|
1206
|
+
*/
|
|
1207
|
+
private storyStoreOptions;
|
|
1054
1208
|
constructor(pkg: OoxmlPackage, main: OoxmlPart, options?: TreePackageStoreOptions);
|
|
1055
1209
|
get packageRevision(): number;
|
|
1056
1210
|
get canUndo(): boolean;
|
|
@@ -1197,5 +1351,5 @@ declare class TreePackageStore {
|
|
|
1197
1351
|
private publishSynthetic;
|
|
1198
1352
|
}
|
|
1199
1353
|
|
|
1200
|
-
export {
|
|
1201
|
-
export type {
|
|
1354
|
+
export { NOTE_CONTINUATION_SEPARATOR_ID as B, DEFAULT_MAX_EDITABLE_STORY_PARTS as D, NOTE_ID_MAX as G, NOTE_ID_MIN as J, NOTE_SEPARATOR_ID as K, MAX_FRAGMENT_DECODED_BYTES as M, TreePackageStore as T, allocateDrawingPropertyId as a8, allocateNoteId as a9, isNoteNode as aA, isNoteRefNode as aB, isNoteReferenceNode as aC, isSeparatorNode as aD, normalNoteIds as aE, noteAtomText as aF, noteIdOf as aG, noteKindOf as aH, noteRefKindOf as aI, noteReferenceKindOf as aJ, noteTypeOf as aK, notesOf as aL, notesPartHasId as aM, observeHistoryGroup as aN, parentNodeOf as aO, parseNoteId as aP, parseNoteScopeId as aQ, removeNode as aR, replaceChildren as aS, replaceNode as aT, resolveHeaderFooterParts as aU, resolveHeaderFooterPartsBySection as aV, resolveHeaderFooterResolutionBySection as aW, resolveNotesPart as aX, withBinaryPart as aY, withEmbeddedImage as aZ, withoutUnreferencedImagePart as a_, applyEdits as aa, applyFragmentPaste as ab, applyHeaderFooterLifecycleOp as ac, applyNoteLifecycleOp as ad, atomicNoteSpansOf as ae, cascadeDeletedNoteReferences as af, collectNodeIds as ag, collectNoteReferences as ah, collectPackageNoteReferences as ai, collectSectionPropertyNodes as aj, createNodeIdAllocator as ak, createNoteReferenceScanBudget as al, customMarkFollows as am, diagnoseNoteReferences as an, findNode as ao, findNoteById as ap, formatNoteScopeId as aq, hasNode as ar, insertChildren as as, isContinuationSeparatorNode as at, isEndnotesNode as au, isFootnotesNode as av, isHeaderFooterLifecycleOp as aw, isNormalNote as ax, isNoteAtomNode as ay, isNoteLifecycleOp as az, TreeDocumentStore as f, reportHistoryGroup as r, MAX_NOTES_PER_PART as w, MAX_NOTE_REFERENCE_PARTS as x, MAX_NOTE_REFERENCE_SCAN as y, NOTE_ATOM_CHAR as z };
|
|
1355
|
+
export type { PackageTransactResult as $, ApplyImagePropertiesInput as A, ContentLockPolicy as C, EditOptions as E, FieldResultsMode as F, HeaderFooterParts as H, InsertImageInput as I, NoteDiagnostic as L, NoteKind as N, NoteDiagnosticCode as O, NoteLifecycleImpact as P, NoteLifecycleOp as Q, ReplaceImageOptions as R, StoryScope as S, NoteLifecycleOptions as U, NoteLifecycleRejection as V, NoteLifecycleResult as W, NoteReferenceHit as X, NoteReferenceScanBudget as Y, NoteType as Z, OoxmlEditResult as _, HeaderFooterSectionResolution as a, RemotePackageAttribution as a0, StoryResolveResult as a1, TransactionRevisionIds as a2, TreeDocumentStoreOptions as a3, TreePackageStoreOptions as a4, TreeStoryRef as a5, TransactResult as a6, TransactionContext as a7, StoryTargetRejection as b, HeaderFooterVariant as c, HistoryGroup as d, TreeModelChange as e, SelectionMark as g, TransactOptions as h, ImageIntentResult as i, FragmentPasteInput as j, FragmentPasteResult as k, AtomicNoteSpan as l, CascadeDeletedNoteReferencesOptions as m, DrawingPropertyIdResult as n, HeaderFooterKind as o, HeaderFooterLifecycleImpact as p, HeaderFooterLifecycleOp as q, HeaderFooterLifecycleRejection as s, HeaderFooterLifecycleResult as t, HeaderFooterSlotMeta as u, HistoryCaptureKind as v };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { S as StoryScope, g as SelectionMark, h as TransactOptions,
|
|
2
|
-
import { ag as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage,
|
|
3
|
-
import { S as SupportedImageMime, c as ImageDecodePort } from './image-resources-
|
|
4
|
-
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-
|
|
5
|
-
import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-
|
|
1
|
+
import { S as StoryScope, g as SelectionMark, h as TransactOptions, b as StoryTargetRejection, e as TreeModelChange, H as HeaderFooterParts, a as HeaderFooterSectionResolution, I as InsertImageInput, i as ImageIntentResult, R as ReplaceImageOptions, A as ApplyImagePropertiesInput, j as FragmentPasteInput, k as FragmentPasteResult } from './tree-package-store-DKhdEVym.js';
|
|
2
|
+
import { ag as TreeDocOp, O as OoxmlPart, N as OoxmlNode, Q as OoxmlPackage, ah as OoxmlElement, a as ReviewItem, ax as RevisionAttributionInput } from './types-barrel-CA0xB8kH.js';
|
|
3
|
+
import { S as SupportedImageMime, c as ImageDecodePort } from './image-resources-Bipz8toD.js';
|
|
4
|
+
import { D as DocumentTrackingSettings, I as InsertCustomNodeWrite, C as CustomNodeWriteResult, a as CustomNodeSweepOutcome, E as EmbeddedFont, B as BookmarkIndex, L as ListKind } from './custom-node-writes-0v0Kgw1T.js';
|
|
5
|
+
import { H as HeadlessDocumentView, D as DocumentProperties } from './headless-document-view-DZQN8Bnx.js';
|
|
6
6
|
import { Node } from 'prosemirror-model';
|
|
7
7
|
import { CollaborationDocumentPort } from './collaboration/replication.js';
|
|
8
8
|
import { V as ViewScope } from './editor-scope-7o9xweiJ.js';
|
|
@@ -90,6 +90,8 @@ interface ThemeSchemeFaces {
|
|
|
90
90
|
readonly minorSupplemental?: Readonly<Record<string, string>>;
|
|
91
91
|
/** Lower-cased font table names that declare a Chinese character set. */
|
|
92
92
|
readonly chineseFontTableFaces?: readonly string[];
|
|
93
|
+
/** Lower-cased font table names that declare an East Asian character set. */
|
|
94
|
+
readonly eastAsianFontTableFaces?: readonly string[];
|
|
93
95
|
}
|
|
94
96
|
/** The theme's font slots, fully resolved, for resolving `w:rFonts` theme attributes. */
|
|
95
97
|
interface DocumentThemeFonts extends ThemeSchemeFaces {
|
|
@@ -4286,5 +4286,5 @@ type TreeOpResult = {
|
|
|
4286
4286
|
readonly detail?: string;
|
|
4287
4287
|
};
|
|
4288
4288
|
|
|
4289
|
-
export { IMAGE_WRAP_TARGETS as
|
|
4290
|
-
export type { DrawingVerticalReferenceFrame as $, ParagraphTabStop as A, Block as B, CommentRecord as C, DocxDocument as D, ExecResult as E, RevisionType as F, Section as G, HeaderFooterSet as H, InsertableContentControlType as I, SectionProperties as J, StyleDefinition as K, Theme as L, ThemeColorScheme as M, OoxmlNode as N, OoxmlPart as O, Paragraph as P, OoxmlPackage as Q, ReviewModelInput as R, StyleDefinitions as S, Table as T, OoxmlNodeId as U, OoxmlGenericElementNode as V, DocxDocumentJSON as W, DrawingHorizontalReferenceFrame as X, DrawingKind as Y, DrawingLocks as Z, DrawingPositionInput as _, ReviewItem as a, OoxmlHardBreakNode as a$, FontDefinition as a0, ImageWrapTarget as a1, NumberingRef as a2, PageMargins as a3, ParagraphDisagreements as a4, ParagraphFormatCommand as a5, Point as a6, Rect as a7, RevisionAuthorResult as a8, RevisionBatchResult as a9,
|
|
4289
|
+
export { IMAGE_WRAP_TARGETS as aL, TEXT_FORM_FORMATS as aM, ACCEPTED_PARAGRAPH_PROPERTIES as b2, ACCEPTED_RUN_PROPERTIES as b3, CONTENT_CONTROL_ID_MAX as b4, CONTENT_CONTROL_PROPERTY_ORDER as b5, MAX_CONTENT_CONTROL_NESTING as bA, OFFICE_RELATIONSHIP_NAMESPACE_URI as bD, OOXML_NODE_IDENTITY_RULES as bE, DEFAULT_OOXML_PACKAGE_LIMITS as bm, DEFAULT_ZIP_LIMITS as bn, HYPERLINK_RELATIONSHIP_TYPE as bq, IMAGE_RELATIONSHIP_TYPE as bt, MAX_CONTENT_CONTROLS_PER_PART as bz, hyperlinkAnchorOf as c$, allocateContentControlId as cF, asciiFold as cG, buildContentTypeIndex as cH, buildRelationshipSet as cI, childElements as cJ, commentAnchorsOfStory as cK, commentsOfPart as cL, contentControlContentChildren as cM, contentControlContentNodeOf as cN, contentControlEndPropertiesNodeOf as cO, contentControlLevelOf as cP, contentControlPropertiesNodeOf as cQ, contentControlPropertiesOf as cR, contentControlTextOf as cS, contentControlsIn as cT, detectDuplicateNames as cU, extensionKey as cV, findContentControl as cW, findElement as cX, firstReviewRange as cY, flattenContentControls as cZ, hasAnyComment as c_, TABLE_BORDER_STYLES as co, W15_NAMESPACE_URI as cu, WML_NAMESPACE_URI as cv, XMLNS_NAMESPACE_URI as cw, XML_NAMESPACE_URI as cx, hyperlinkRelationshipIdOf as d0, hyperlinkTargetOf as d1, isContentControlContentNode as d2, isContentControlNode as d3, isContentControlWrapper as d4, isContentRevisionKind as d5, isHyperlinkNode as d6, isRangeMarkerKind as d7, isValidMime as d8, legacyCheckboxFieldsOf as d9, withPart as dA, writeOoxmlPackage as dB, writeZip as dC, activeReviewItem as dE, reviewItemPositionRank as dF, reviewItemsAt as dG, reviewThreadRootOf as dH, lockForbidsEdit as da, lockForbidsRemoval as db, normalizePartName as dc, orderedContentControlProperties as dd, parseContentControlId as de, partNameKey as df, planRevisionAuthorChange as dg, planRevisionBatch as dh, projectDrawing as di, readOnOffChild as dj, readOoxmlPackage as dk, readOoxmlPart as dl, readXml as dm, readZip as dn, resolveContentControlLock as dp, resolveContentType as dq, resolveImageRelationship as dr, resolveInternalTarget as ds, resolveRelationship as dt, reviewItemKey as du, reviewItemRanges as dv, textContent as dw, textFormFieldsOf as dx, threadStateOfPart as dy, validateExternalTarget as dz };
|
|
4290
|
+
export type { DrawingVerticalReferenceFrame as $, ParagraphTabStop as A, Block as B, CommentRecord as C, DocxDocument as D, ExecResult as E, RevisionType as F, Section as G, HeaderFooterSet as H, InsertableContentControlType as I, SectionProperties as J, StyleDefinition as K, Theme as L, ThemeColorScheme as M, OoxmlNode as N, OoxmlPart as O, Paragraph as P, OoxmlPackage as Q, ReviewModelInput as R, StyleDefinitions as S, Table as T, OoxmlNodeId as U, OoxmlGenericElementNode as V, DocxDocumentJSON as W, DrawingHorizontalReferenceFrame as X, DrawingKind as Y, DrawingLocks as Z, DrawingPositionInput as _, ReviewItem as a, OoxmlHardBreakNode as a$, FontDefinition as a0, ImageWrapTarget as a1, NumberingRef as a2, PageMargins as a3, ParagraphDisagreements as a4, ParagraphFormatCommand as a5, Point as a6, Rect as a7, RevisionAuthorResult as a8, RevisionBatchResult as a9, OoxmlParagraphNode as aA, OoxmlNoteNode as aB, OoxmlContinuationSeparatorNode as aC, OoxmlEndnotesNode as aD, OoxmlFootnotesNode as aE, OoxmlNoteRefNode as aF, OoxmlNoteReferenceNode as aG, OoxmlSeparatorNode as aH, ImpactClass as aI, SourceCrop as aJ, TreeDocColorValue as aK, TextFormFieldRange as aN, TextFormFieldOptions as aO, DrawingTransform as aP, TableBorderStyle as aQ, DrawingAccessibility as aR, DrawingImageEffects as aS, VectorShapeProjection as aT, OoxmlDrawingNode as aU, OoxmlInvariantResult as aV, OoxmlFldCharNode as aW, OoxmlFldSimpleNode as aX, OoxmlInstrTextNode as aY, TreeOpResult as aZ, RelationshipRecord as a_, Run as aa, SelectionPin as ab, TableCell as ac, TableRow as ad, Unsubscribe as ae, Watermark as af, TreeDocOp as ag, OoxmlElement as ah, OoxmlContentControlNode as ai, OoxmlContentControlContentNode as aj, OoxmlPackageRejection as ak, DrawingProjection as al, OoxmlProperty as am, OoxmlPackageResult as an, OoxmlPackageLimits as ao, RevisionAuthorEntry as ap, RevisionAuthorSkipReason as aq, RevisionBatchEntry as ar, RevisionBatchSkipDetail as as, RevisionBatchSkipReason as at, RevisionSiteRefusal as au, TreeOpRejection as av, AutomationTableMutation as aw, RevisionAttributionInput as ax, OoxmlInvariantIssue as ay, DrawingTreeDocOp as az, ReviewRevisionItem as b, OoxmlHyperlinkNode as b$, OoxmlAttribute as b0, CommentThreadState as b1, CommentAnchor as b6, CommentPosition as b7, CommitTextFormFieldOp as b8, ContentControlCheckbox as b9, NameRejection as bB, NameResult as bC, OoxmlBodyNode as bF, OoxmlBookmarkEndNode as bG, OoxmlBookmarkStartNode as bH, OoxmlContentControlCalendarNode as bI, OoxmlContentControlCheckboxNode as bJ, OoxmlContentControlCheckedNode as bK, OoxmlContentControlCheckedStateNode as bL, OoxmlContentControlComboBoxNode as bM, OoxmlContentControlDataBindingNode as bN, OoxmlContentControlDateFormatNode as bO, OoxmlContentControlDateNode as bP, OoxmlContentControlDropDownListNode as bQ, OoxmlContentControlEndPropertiesNode as bR, OoxmlContentControlLidNode as bS, OoxmlContentControlListItemNode as bT, OoxmlContentControlPropertiesNode as bU, OoxmlContentControlStoreMappedDataAsNode as bV, OoxmlContentControlTextNode as bW, OoxmlContentControlUncheckedStateNode as bX, OoxmlDocumentNode as bY, OoxmlExternalTarget as bZ, OoxmlGenericExtensionAttribute as b_, ContentControlCheckboxState as ba, ContentControlDataBinding as bb, ContentControlDateFormat as bc, ContentControlEntry as bd, ContentControlKind as be, ContentControlLevel as bf, ContentControlListItem as bg, ContentControlLock as bh, ContentControlProperties as bi, ContentTypeError as bj, ContentTypeIndex as bk, ContentTypeRecords as bl, DefaultRecord as bo, DeleteTextOp as bp, HyperlinkKind as br, HyperlinkTarget as bs, ImageRelationshipResolution as bu, IndexResult as bv, InsertBuildingBlockOp as bw, InsertTextOp as bx, LegacyCheckboxFieldRange as by, ReviewCommentItem as c, OoxmlInvariantIssueCode as c0, OoxmlKnownNodeAttribute as c1, OoxmlNamespaceBinding as c2, OoxmlNodeIdentityRules as c3, OoxmlParagraphPropertiesNode as c4, OoxmlPartMetadata as c5, OoxmlReadRejection as c6, OoxmlReadResult as c7, OoxmlRunNode as c8, OoxmlRunPropertiesNode as c9, XmlRejection as cA, XmlResult as cB, ZipLimits as cC, ZipReadResult as cD, ZipRejection as cE, OoxmlTabNode as ca, OoxmlTextElementNode as cb, OoxmlTextNode as cc, OoxmlWmlValAttribute as cd, OoxmlXmlSpaceAttribute as ce, OverrideRecord as cf, RelationshipError as cg, RelationshipSetResult as ch, RelationshipTargetResolver as ci, ResolveResult as cj, ResolvedRelationship as ck, SetLegacyCheckboxOp as cl, SetLegacyDropdownOp as cm, SetTextFormFieldDefaultOp as cn, TabStopWrite as cp, TargetMode as cq, TextFormFieldType as cr, TreeDocOpKind as cs, TreeOpEffect as ct, XmlLimits as cy, XmlNode as cz, ReviewCustomItem as d, VectorShapeComponent as dD, ReviewPosition as e, ReviewRange as f, ReviewRevisionKind as g, RevisionAddress as h, ContentControlType as i, DocTarget as j, RunFormatting as k, Extent as l, ContainerRef as m, ContentControlFilter as n, DocRange as o, Revision as p, DocComment as q, ColorValue as r, ContentControl as s, DocAnchor as t, DocAnchorRange as u, DocLocation as v, DocumentBody as w, ExecErrorCode as x, IndentFormatting as y, ParagraphFlags as z };
|