@docx-editor.dev/core 2.27.0 → 2.28.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 +26 -13
- package/dist/automation.js +1 -1
- package/dist/binding.cjs +1 -1
- package/dist/binding.d.ts +20 -9
- package/dist/binding.js +1 -1
- package/dist/chunk-2GO5T2JU.cjs +1 -0
- package/dist/chunk-2RC2EPND.js +3 -0
- package/dist/chunk-4GBTELJV.cjs +28 -0
- package/dist/chunk-4R3TEXMN.js +18 -0
- package/dist/chunk-5CSUYANV.js +1 -0
- package/dist/chunk-6APGXLBB.cjs +3 -0
- package/dist/chunk-6AWEKBLB.cjs +1 -0
- package/dist/chunk-6EYYL7FL.js +1 -0
- package/dist/chunk-E7BQA6UP.js +2 -0
- package/dist/chunk-EO4C5QJW.cjs +2 -0
- package/dist/chunk-ETTO6GK3.js +1 -0
- package/dist/chunk-FIJZIQXA.cjs +18 -0
- package/dist/chunk-FRXAOVTB.js +28 -0
- package/dist/chunk-J6BVWIDB.js +2 -0
- package/dist/chunk-JGNVNT2A.cjs +2 -0
- package/dist/chunk-K5U2PLDP.cjs +2 -0
- package/dist/chunk-KKIJG3C6.js +2 -0
- package/dist/chunk-LWDSDCMO.js +27 -0
- package/dist/chunk-O2AL2HSJ.cjs +1 -0
- package/dist/chunk-QMLCVPCD.cjs +1 -0
- package/dist/chunk-RCHS4ZEH.cjs +27 -0
- package/dist/chunk-SRPILEWV.cjs +5 -0
- package/dist/chunk-TSLBZ26X.js +1 -0
- package/dist/chunk-VDNNLG6X.js +2 -0
- package/dist/chunk-VHAVHCQY.js +7 -0
- package/dist/chunk-VX43VBAX.cjs +7 -0
- package/dist/chunk-Z6WBFXJU.js +5 -0
- package/dist/{chunk-2GK7YQB2.cjs → chunk-ZUHOMK52.cjs} +1 -1
- package/dist/collaboration/replication.cjs +1 -1
- package/dist/collaboration/replication.d.ts +41 -5
- package/dist/collaboration/replication.js +1 -1
- package/dist/collaboration.cjs +1 -1
- package/dist/collaboration.d.ts +98 -6
- package/dist/collaboration.js +1 -1
- package/dist/contracts/document.d.ts +17 -2
- package/dist/contracts/editor.d.ts +19 -9
- package/dist/contracts/interaction.d.ts +29 -0
- package/dist/contracts/modules.d.ts +31 -7
- package/dist/contracts/types.d.ts +10 -1
- package/dist/{custom-node-writes-Vzpq9I8_.d.ts → custom-node-writes-cvL5rhcD.d.ts} +2 -2
- package/dist/{document-protection-9zpIHWTE.d.ts → document-protection-BAGVGqaP.d.ts} +1 -1
- package/dist/{editor-B3OBYNrF.d.ts → editor-Ci7IZGmG.d.ts} +392 -140
- package/dist/editor.cjs +1 -1
- package/dist/editor.css +5 -5
- package/dist/editor.d.ts +415 -30
- package/dist/editor.js +1 -1
- package/dist/export.cjs +2 -2
- package/dist/export.d.ts +23 -13
- package/dist/export.js +2 -2
- package/dist/failure-NS2lsya4.d.ts +115 -0
- package/dist/{font-resolver-DN0xNOf_.d.ts → font-resolver-BVQB14qT.d.ts} +1 -1
- package/dist/{headless-document-view-ICYqNkQ1.d.ts → headless-document-view-qH331moE.d.ts} +2 -2
- package/dist/{image-resources-BDFxcu7W.d.ts → image-resources-BN-hUgCn.d.ts} +9 -9
- package/dist/{index-CkQVRJtJ.d.ts → index-Bsg7oIKP.d.ts} +234 -111
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +46 -19
- package/dist/index.js +1 -1
- package/dist/{layout-shaping-BvZD_VKP.d.ts → layout-shaping-BEyuiQOk.d.ts} +1 -1
- package/dist/layout.cjs +1 -1
- package/dist/layout.d.ts +170 -78
- package/dist/layout.js +1 -1
- package/dist/{note-properties-CkAk7g-n.d.ts → note-properties-4Y9o6Gyk.d.ts} +1 -1
- package/dist/{omml-equation-DuczgG5o.d.ts → omml-equation-CuzBL5DD.d.ts} +1 -1
- package/dist/output.cjs +1 -1
- package/dist/output.d.ts +18 -8
- package/dist/output.js +1 -1
- package/dist/{protocol-aKYr8r3u.d.ts → protocol-Bqk4Izjc.d.ts} +44 -4
- package/dist/review-pane-D9jm8DcY.d.ts +128 -0
- package/dist/{review-paragraph-order-Ddj5d6rp.d.ts → review-paragraph-order-DT-n6ouC.d.ts} +5 -2
- package/dist/{revision-projection-CSNFudZY.d.ts → revision-projection-DZ4kKVev.d.ts} +1 -1
- package/dist/{semantic-cell-selection-DoqYCz_F.d.ts → semantic-cell-selection-D9D1KSXq.d.ts} +8 -6
- package/dist/{semantic-interaction-G0bjmmmk.d.ts → semantic-interaction-CIC-PooQ.d.ts} +25 -34
- package/dist/{semantic-paint-CsMzF8-O.d.ts → semantic-paint-BME37OMv.d.ts} +4 -4
- package/dist/{semantic-record-queries-1du6lQqS.d.ts → semantic-record-queries-CBlZqZNa.d.ts} +1 -1
- package/dist/{semantic-records-B9OolWGN.d.ts → semantic-records-4B3WwFAi.d.ts} +74 -42
- package/dist/store.cjs +1 -1
- package/dist/store.d.ts +157 -134
- package/dist/store.js +1 -1
- package/dist/{tree-package-fragment-DYZIk1rY.d.ts → tree-package-fragment-BeeKxDw8.d.ts} +77 -57
- package/dist/{tree-session-contract-DQVJOOkv.d.ts → tree-session-contract-CVbmlMlq.d.ts} +7 -5
- package/dist/{types-barrel-BFKR8Pzp.d.ts → types-barrel-D3xCgQX6.d.ts} +462 -362
- package/package.json +2 -2
- package/dist/chunk-4KZ6L5YF.cjs +0 -15
- package/dist/chunk-55AT3MOU.cjs +0 -25
- package/dist/chunk-6ZQMII6V.js +0 -1
- package/dist/chunk-7IGCWG4H.js +0 -2
- package/dist/chunk-7MYITTAH.js +0 -5
- package/dist/chunk-AVKVRU7Z.cjs +0 -5
- package/dist/chunk-CWRBFNK5.cjs +0 -5
- package/dist/chunk-DGPA3TST.cjs +0 -27
- package/dist/chunk-DNXVNQEO.js +0 -1
- package/dist/chunk-FQN4KSFL.cjs +0 -7
- package/dist/chunk-GVUOWHTO.cjs +0 -1
- package/dist/chunk-GWQJ5774.js +0 -5
- package/dist/chunk-HAQ72KD7.js +0 -1
- package/dist/chunk-HO5XFO32.cjs +0 -3
- package/dist/chunk-IGR23DV2.js +0 -1
- package/dist/chunk-JSIX2EOH.js +0 -3
- package/dist/chunk-K246T47S.cjs +0 -1
- package/dist/chunk-KAXOGCGA.js +0 -1
- package/dist/chunk-LZLTN5A3.cjs +0 -1
- package/dist/chunk-OHAXVTWG.cjs +0 -1
- package/dist/chunk-S74GRBNE.js +0 -7
- package/dist/chunk-UBLUVNZR.js +0 -27
- package/dist/chunk-UMRSBLO7.js +0 -15
- package/dist/chunk-VIPMGGUT.js +0 -25
- package/dist/chunk-WG4KMSX2.cjs +0 -2
- package/dist/chunk-WRLKVNNR.cjs +0 -1
- package/dist/chunk-ZU7IVN6G.js +0 -2
- package/dist/failure-BIPVQbRm.d.ts +0 -65
package/dist/store.d.ts
CHANGED
|
@@ -1,17 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
1
|
+
/**
|
|
2
|
+
* `@docx-editor.dev/core/store` — the canonical OOXML tree and the only write path into it.
|
|
3
|
+
*
|
|
4
|
+
* Bytes become a typed-where-layout-needs-it, generic-everywhere-else tree. Every mutation is a
|
|
5
|
+
* `TreeDocOp` addressed by node id plus UTF-16 offset, applied in one transaction, so a batch
|
|
6
|
+
* refused halfway leaves the document exactly as it was.
|
|
7
|
+
*
|
|
8
|
+
* This is also the trust boundary: zip and XML limits, entity-free parsing, OPC name validation,
|
|
9
|
+
* and inert executable content all live here, because everything downstream assumes a sanitized
|
|
10
|
+
* projection.
|
|
11
|
+
*
|
|
12
|
+
* @packageDocumentation
|
|
13
|
+
* @public
|
|
14
|
+
*/
|
|
15
|
+
import { e as ResourceLimits } from './image-resources-BN-hUgCn.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, a as ImageDecodePort, I as ImageResourceLimits, h as ImageResourceLookup, b 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-BN-hUgCn.js';
|
|
17
|
+
import { O as OoxmlPart, N as OoxmlNode, aP as OoxmlInvariantResult, aQ as OoxmlInvariantIssue, Z as OoxmlElement, ab as OoxmlParagraphNode, aR as OoxmlFldCharNode, aS as OoxmlFldSimpleNode, aT as OoxmlInstrTextNode, W as TreeDocOp, a8 as TreeOpRejection, aU as TreeOpResult, Q as OoxmlPackage, aV as RelationshipRecord, V as OoxmlGenericElementNode, aW as OoxmlHardBreakNode, aX as OoxmlAttribute, X as OoxmlProperty, f as ReviewRange, R as ReviewModelInput, a as ReviewItem, C as CommentRecord, e as ReviewPosition, aY as CommentThreadState, c as ReviewCommentItem, b as ReviewRevisionItem, aj as DrawingTreeDocOp, ak as ImpactClass, an as ImageWrapTarget } from './types-barrel-D3xCgQX6.js';
|
|
18
|
+
export { aZ as ACCEPTED_PARAGRAPH_PROPERTIES, a_ as ACCEPTED_RUN_PROPERTIES, a$ as CONTENT_CONTROL_ID_MAX, b0 as CONTENT_CONTROL_PROPERTY_ORDER, b1 as CommentAnchor, b2 as CommentPosition, b3 as CommitTextFormFieldOp, b4 as ContentControlCheckbox, b5 as ContentControlCheckboxState, b6 as ContentControlDataBinding, b7 as ContentControlDateFormat, b8 as ContentControlEntry, b9 as ContentControlKind, ba as ContentControlLevel, bb as ContentControlListItem, bc as ContentControlLock, bd as ContentControlProperties, be as ContentTypeError, bf as ContentTypeIndex, bg as ContentTypeRecords, bh as DEFAULT_OOXML_PACKAGE_LIMITS, bi as DEFAULT_ZIP_LIMITS, bj as DefaultRecord, bk as DeleteTextOp, aL as DrawingImageEffects, am as DrawingKind, ap as DrawingLocks, ao as DrawingPositionInput, bl as HYPERLINK_RELATIONSHIP_TYPE, bm as HyperlinkKind, bn as HyperlinkTarget, bo as IMAGE_RELATIONSHIP_TYPE, aH as IMAGE_WRAP_TARGETS, bp as ImageRelationshipResolution, bq as IndexResult, br as InsertBuildingBlockOp, bs as InsertTextOp, bt as LegacyCheckboxFieldRange, bu as MAX_CONTENT_CONTROLS_PER_PART, bv as MAX_CONTENT_CONTROL_NESTING, bw as NameRejection, bx as NameResult, by as OFFICE_RELATIONSHIP_NAMESPACE_URI, bz as OOXML_NODE_IDENTITY_RULES, bA as OoxmlBodyNode, bB as OoxmlBookmarkEndNode, bC as OoxmlBookmarkStartNode, bD as OoxmlContentControlCalendarNode, bE as OoxmlContentControlCheckboxNode, bF as OoxmlContentControlCheckedNode, bG as OoxmlContentControlCheckedStateNode, bH as OoxmlContentControlComboBoxNode, $ as OoxmlContentControlContentNode, bI as OoxmlContentControlDataBindingNode, bJ as OoxmlContentControlDateFormatNode, bK as OoxmlContentControlDateNode, bL as OoxmlContentControlDropDownListNode, bM as OoxmlContentControlEndPropertiesNode, bN as OoxmlContentControlLidNode, bO as OoxmlContentControlListItemNode, _ as OoxmlContentControlNode, bP as OoxmlContentControlPropertiesNode, bQ as OoxmlContentControlStoreMappedDataAsNode, bR as OoxmlContentControlTextNode, bS as OoxmlContentControlUncheckedStateNode, ad as OoxmlContinuationSeparatorNode, bT as OoxmlDocumentNode, ae as OoxmlEndnotesNode, bU as OoxmlExternalTarget, af as OoxmlFootnotesNode, bV as OoxmlGenericExtensionAttribute, bW as OoxmlHyperlinkNode, bX as OoxmlInvariantIssueCode, bY as OoxmlKnownNodeAttribute, bZ as OoxmlNamespaceBinding, U as OoxmlNodeId, b_ as OoxmlNodeIdentityRules, ac as OoxmlNoteNode, ag as OoxmlNoteRefNode, ah as OoxmlNoteReferenceNode, a1 as OoxmlPackageLimits, Y as OoxmlPackageRejection, b$ as OoxmlPackageResult, c0 as OoxmlParagraphPropertiesNode, c1 as OoxmlPartMetadata, c2 as OoxmlReadRejection, c3 as OoxmlReadResult, c4 as OoxmlRunNode, c5 as OoxmlRunPropertiesNode, ai as OoxmlSeparatorNode, c6 as OoxmlTabNode, c7 as OoxmlTextElementNode, c8 as OoxmlTextNode, c9 as OoxmlWmlValAttribute, ca as OoxmlXmlSpaceAttribute, cb as OverrideRecord, cc as RelationshipError, cd as RelationshipSetResult, ce as RelationshipTargetResolver, cf as ResolveResult, cg as ResolvedRelationship, d as ReviewCustomItem, g as ReviewRevisionKind, h as RevisionAddress, a2 as RevisionAuthorEntry, a3 as RevisionAuthorResult, a4 as RevisionAuthorSkipReason, a5 as RevisionBatchEntry, a6 as RevisionBatchResult, a7 as RevisionBatchSkipReason, ch as SetLegacyCheckboxOp, ci as SetLegacyDropdownOp, cj as SetTextFormFieldDefaultOp, al as SourceCrop, ck as TABLE_BORDER_STYLES, cl as TabStopWrite, aJ as TableBorderStyle, cm as TargetMode, cn as TextFormFieldOptions, co as TextFormFieldRange, cp as TextFormFieldType, cq as TreeDocOpKind, cr as TreeOpEffect, cs as W15_NAMESPACE_URI, ct as WML_NAMESPACE_URI, cu as XMLNS_NAMESPACE_URI, cv as XML_NAMESPACE_URI, cw as XmlLimits, cx as XmlNode, cy as XmlRejection, cz as XmlResult, cA as ZipLimits, cB as ZipReadResult, cC as ZipRejection, cD as allocateContentControlId, cE as asciiFold, cF as buildContentTypeIndex, cG as buildRelationshipSet, cH as childElements, cI as commentAnchorsOfStory, cJ as commentsOfPart, cK as contentControlContentChildren, cL as contentControlContentNodeOf, cM as contentControlEndPropertiesNodeOf, cN as contentControlLevelOf, cO as contentControlPropertiesNodeOf, cP as contentControlPropertiesOf, cQ as contentControlTextOf, cR as contentControlsIn, cS as detectDuplicateNames, cT as extensionKey, cU as findContentControl, cV as findElement, cW as firstReviewRange, cX as flattenContentControls, cY as hasAnyComment, cZ as hyperlinkAnchorOf, c_ as hyperlinkRelationshipIdOf, c$ as hyperlinkTargetOf, d0 as isContentControlContentNode, d1 as isContentControlNode, d2 as isContentControlWrapper, d3 as isContentRevisionKind, d4 as isHyperlinkNode, d5 as isRangeMarkerKind, d6 as isValidMime, d7 as legacyCheckboxFieldsOf, d8 as lockForbidsEdit, d9 as lockForbidsRemoval, da as normalizePartName, db as orderedContentControlProperties, dc as parseContentControlId, dd as partNameKey, de as planRevisionAuthorChange, df as planRevisionBatch, dg as projectDrawing, dh as readOnOffChild, di as readOoxmlPackage, dj as readOoxmlPart, dk as readXml, dl as readZip, dm as resolveContentControlLock, dn as resolveContentType, dp as resolveImageRelationship, dq as resolveInternalTarget, dr as resolveRelationship, ds as reviewItemKey, dt as reviewItemRanges, du as textContent, dv as textFormFieldsOf, dw as threadStateOfPart, dx as validateExternalTarget, dy as withPart, dz as writeOoxmlPackage, dA as writeZip } from './types-barrel-D3xCgQX6.js';
|
|
19
|
+
import { k as FieldResultsMode, e as TreeModelChange, f as TreeDocumentStore, T as TreePackageStore, S as StoryScope } from './tree-package-fragment-BeeKxDw8.js';
|
|
20
|
+
export { l as AtomicNoteSpan, C as CascadeDeletedNoteReferencesOptions, D as DEFAULT_MAX_EDITABLE_STORY_PARTS, m as DrawingPropertyIdResult, F as FragmentPasteInput, j as FragmentPasteResult, n as HeaderFooterKind, o as HeaderFooterLifecycleImpact, p as HeaderFooterLifecycleOp, q as HeaderFooterLifecycleRejection, s as HeaderFooterLifecycleResult, H as HeaderFooterParts, b as HeaderFooterSectionResolution, t as HeaderFooterSlotMeta, c as HeaderFooterVariant, u as HistoryCaptureKind, d as HistoryGroup, M as MAX_FRAGMENT_DECODED_BYTES, v as MAX_NOTES_PER_PART, w as MAX_NOTE_REFERENCE_PARTS, x as MAX_NOTE_REFERENCE_SCAN, y as NOTE_ATOM_CHAR, z as NOTE_CONTINUATION_SEPARATOR_ID, B as NOTE_ID_MAX, E as NOTE_ID_MIN, G as NOTE_SEPARATOR_ID, J as NoteDiagnostic, K as NoteDiagnosticCode, N as NoteKind, L as NoteLifecycleImpact, O as NoteLifecycleOp, P as NoteLifecycleOptions, Q as NoteLifecycleRejection, U as NoteLifecycleResult, V as NoteReferenceHit, W as NoteReferenceScanBudget, X as NoteType, Y as PackageTransactResult, Z as RemotePackageAttribution, g as SelectionMark, _ as StoryResolveResult, a as StoryTargetRejection, $ as TreeDocumentStoreOptions, a0 as TreePackageStoreOptions, a1 as TreeStoryRef, h as TreeTransactOptions, a2 as TreeTransactResult, a3 as TreeTransactionContext, a4 as allocateDrawingPropertyId, a5 as allocateNoteId, a6 as applyFragmentPaste, a7 as applyHeaderFooterLifecycleOp, a8 as applyNoteLifecycleOp, a9 as atomicNoteSpansOf, aa as cascadeDeletedNoteReferences, ab as collectNoteReferences, ac as collectPackageNoteReferences, ad as collectSectionPropertyNodes, ae as createNoteReferenceScanBudget, af as customMarkFollows, ag as diagnoseNoteReferences, ah as findNoteById, ai as formatNoteScopeId, aj as isContinuationSeparatorNode, ak as isEndnotesNode, al as isFootnotesNode, am as isHeaderFooterLifecycleOp, an as isNormalNote, ao as isNoteAtomNode, ap as isNoteLifecycleOp, aq as isNoteNode, ar as isNoteRefNode, as as isNoteReferenceNode, at as isSeparatorNode, au as normalNoteIds, av as noteAtomText, aw as noteIdOf, ax as noteKindOf, ay as noteRefKindOf, az as noteReferenceKindOf, aA as noteTypeOf, aB as notesOf, aC as notesPartHasId, aD as observeHistoryGroup, aE as parseNoteId, aF as parseNoteScopeId, r as reportHistoryGroup, aG as resolveHeaderFooterParts, aH as resolveHeaderFooterPartsBySection, aI as resolveHeaderFooterResolutionBySection, aJ as resolveNotesPart, aK as withBinaryPart, aL as withEmbeddedImage, aM as withoutUnreferencedImagePart } from './tree-package-fragment-BeeKxDw8.js';
|
|
21
|
+
import { O as OmmlEquationProjection } from './omml-equation-CuzBL5DD.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-CuzBL5DD.js';
|
|
23
|
+
import { I as InsertCustomNodeWrite, C as CustomNodeWriteResult } from './custom-node-writes-cvL5rhcD.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-cvL5rhcD.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-DT-n6ouC.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-qH331moE.js';
|
|
27
|
+
export { A as AuthoredNoteProperties, D as DEFAULT_ENDNOTE_PROPERTIES, a as DEFAULT_FOOTNOTE_PROPERTIES, E as EndnotePosition, F as FootnotePosition, N as NoteNumRestart, R as ResolvedEndnoteProperties, b 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-4Y9o6Gyk.js';
|
|
28
|
+
export { a as DocumentProtectionEdit, D as DocumentProtectionState, N as NO_DOCUMENT_PROTECTION, r as readDocumentProtection } from './document-protection-BAGVGqaP.js';
|
|
15
29
|
import './editor-scope-OHPwVQ5l.js';
|
|
16
30
|
|
|
17
31
|
/**
|
|
@@ -37,6 +51,119 @@ declare function ooxmlTreesEqual(left: OoxmlPart | OoxmlNode, right: OoxmlPart |
|
|
|
37
51
|
*/
|
|
38
52
|
declare function validateOoxmlPart(part: OoxmlPart): OoxmlInvariantResult;
|
|
39
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
|
+
|
|
40
167
|
/** UTF-16 placeholder for one atomic field unit in `paragraphTextOf` / segments. */
|
|
41
168
|
declare const FIELD_ATOM_CHAR = "\uFFFC";
|
|
42
169
|
/**
|
|
@@ -130,6 +257,7 @@ interface AtomicFieldSpan {
|
|
|
130
257
|
declare function atomicFieldSpansOf(paragraph: OoxmlParagraphNode, options?: {
|
|
131
258
|
readonly maxNesting?: number;
|
|
132
259
|
readonly maxInstructionChars?: number;
|
|
260
|
+
readonly fieldResults?: FieldResultsMode;
|
|
133
261
|
}): readonly AtomicFieldSpan[];
|
|
134
262
|
/** Whether `fldCharType` is a legal ST_FldCharType value (used by tests / guards). */
|
|
135
263
|
declare function isLegalFldCharType(value: string): boolean;
|
|
@@ -226,131 +354,26 @@ declare function inlineControlEndingAt(paragraph: OoxmlParagraphNode, offset: nu
|
|
|
226
354
|
/** The forward-delete mirror: the control whose content STARTS exactly at `offset`. */
|
|
227
355
|
declare function inlineControlStartingAt(paragraph: OoxmlParagraphNode, offset: number): InlineControlSpan | null;
|
|
228
356
|
|
|
229
|
-
/** An edited part, or the invariant violations that rejected the edit. */
|
|
230
|
-
type OoxmlEditResult = {
|
|
231
|
-
readonly ok: true;
|
|
232
|
-
readonly part: OoxmlPart;
|
|
233
|
-
} | {
|
|
234
|
-
readonly ok: false;
|
|
235
|
-
readonly issues: readonly OoxmlInvariantIssue[];
|
|
236
|
-
};
|
|
237
|
-
/**
|
|
238
|
-
* How an edit primitive validates its result.
|
|
239
|
-
*
|
|
240
|
-
* By default every primitive runs the full-part invariant validation before handing its
|
|
241
|
-
* result back — the safe reading for an isolated call. A TRANSACTION applying many ops pays
|
|
242
|
-
* that full-tree walk once per primitive, which is what made a hundred-paragraph paste
|
|
243
|
-
* quadratic; it defers instead, and runs the same validation ONCE on the final tree before
|
|
244
|
-
* anything is published. Deferring is only sound for a caller that owns a commit boundary:
|
|
245
|
-
* nothing may escape between the unvalidated intermediate and the validated result.
|
|
246
|
-
*/
|
|
247
|
-
interface EditOptions {
|
|
248
|
-
readonly deferValidation?: boolean;
|
|
249
|
-
/**
|
|
250
|
-
* A shared minter for `@w:id` on a NEW revision, for the ops of one transaction.
|
|
251
|
-
*
|
|
252
|
-
* `nextRevisionId` walks the whole part to find the highest id in use, and a formatting
|
|
253
|
-
* write emits one op per run — so a Select All + Bold in suggesting mode paid a
|
|
254
|
-
* document-wide walk thousands of times over. The transaction hands its ops one minter
|
|
255
|
-
* instead, and it is DROPPED the moment an op that can import foreign revision ids runs
|
|
256
|
-
* (a paste carries its own), because a stale minter would hand out an id the document had
|
|
257
|
-
* just started using — and two revisions sharing an address are one card in the pane.
|
|
258
|
-
*
|
|
259
|
-
* Absent means "mint your own": every applier falls back to its own walk, which is what a
|
|
260
|
-
* caller outside a transaction gets.
|
|
261
|
-
*/
|
|
262
|
-
readonly revisionIds?: () => string;
|
|
263
|
-
/**
|
|
264
|
-
* The transaction's revision-id bookkeeping for the tracked TEXT ops, where `revisionIds`
|
|
265
|
-
* above hands the property ops one shared id for their whole group.
|
|
266
|
-
*
|
|
267
|
-
* Absent means "mint your own and remember nothing", which is what a caller outside a
|
|
268
|
-
* transaction gets: every applier falls back to its own walk of the part.
|
|
269
|
-
*/
|
|
270
|
-
readonly trackedRevisionIds?: TransactionRevisionIds;
|
|
271
|
-
}
|
|
272
|
-
/**
|
|
273
|
-
* What one transaction knows about the revision ids its tracked text ops write.
|
|
274
|
-
*
|
|
275
|
-
* TWO questions, and they are the same bookkeeping. `nextRevisionId` walks the whole part, so
|
|
276
|
-
* a replacement — a `deleteText` and an `insertText` in one transaction — walked it twice, and
|
|
277
|
-
* on a five-hundred-page document that doubled the cost of every one. And an insertion aimed
|
|
278
|
-
* at the front edge of a deletion relocates past it only when that deletion is THIS
|
|
279
|
-
* transaction's own: typing over a selection. Backspace, then a keystroke, is two
|
|
280
|
-
* transactions, and there the typed text belongs in FRONT of the struck character, as Word
|
|
281
|
-
* writes it. Adjacency alone cannot tell the two apart; the ids can.
|
|
282
|
-
*/
|
|
283
|
-
interface TransactionRevisionIds {
|
|
284
|
-
/** A fresh `@w:id`, from this transaction's one walk of the part. */
|
|
285
|
-
mint(): string;
|
|
286
|
-
/**
|
|
287
|
-
* Record a wrapper this transaction wrote, by its FULL `CT_TrackChange` identity — id,
|
|
288
|
-
* author and date, as `revisionKey` spells it. Not by the id alone: that number comes out
|
|
289
|
-
* of the file, nothing makes it unique, and a strike joining `w:id="3"` in one paragraph
|
|
290
|
-
* would otherwise claim an unrelated `w:id="3"` elsewhere as this edit's own.
|
|
291
|
-
*/
|
|
292
|
-
wrote(key: string): void;
|
|
293
|
-
/** Whether this transaction wrote a wrapper with that identity. */
|
|
294
|
-
wroteUnder(key: string): boolean;
|
|
295
|
-
}
|
|
296
|
-
/** Every node id currently present in the part. */
|
|
297
|
-
declare function collectNodeIds(part: OoxmlPart): Set<string>;
|
|
298
|
-
/**
|
|
299
|
-
* Mint ids for nodes an edit introduces.
|
|
300
|
-
*
|
|
301
|
-
* Deterministic and collision-checked against the whole part: a structural-path id from the
|
|
302
|
-
* original parse (`/word/document.xml#0.1.2`) and a minted one (`/word/document.xml#new:3`)
|
|
303
|
-
* can never coincide, and the counter skips anything already taken so repeated edits in one
|
|
304
|
-
* session stay unique.
|
|
305
|
-
*
|
|
306
|
-
* Allocators share reservations across edited roots and restored roots. Preview edits,
|
|
307
|
-
* detached nodes, and undo branches must not reuse an identity that collaboration retains.
|
|
308
|
-
*
|
|
309
|
-
* Checks the part's node index directly rather than copying every id into a fresh set: the
|
|
310
|
-
* copy was O(document) per op, and an allocator is created for every op.
|
|
311
|
-
*/
|
|
312
|
-
declare function createNodeIdAllocator(part: OoxmlPart, family?: 'new' | 'paste'): () => string;
|
|
313
|
-
/** Whether a node id exists in the part. */
|
|
314
|
-
declare function hasNode(part: OoxmlPart, nodeId: string): boolean;
|
|
315
|
-
/** Read a node back out of a part by id. */
|
|
316
|
-
declare function findNode(part: OoxmlPart, nodeId: string): OoxmlNode | null;
|
|
317
|
-
/** The element that holds a node, or null for the root and for unknown ids. */
|
|
318
|
-
declare function parentNodeOf(part: OoxmlPart, nodeId: string): OoxmlElement | null;
|
|
319
|
-
/** Replace one node's children wholesale. */
|
|
320
|
-
declare function replaceChildren(part: OoxmlPart, nodeId: string, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
321
|
-
/** Insert children into a node at `index` (clamped to the child list). */
|
|
322
|
-
declare function insertChildren(part: OoxmlPart, nodeId: string, index: number, children: readonly OoxmlNode[], options?: EditOptions): OoxmlEditResult;
|
|
323
|
-
/** Replace one node with another, keeping its position among its siblings. */
|
|
324
|
-
declare function replaceNode(part: OoxmlPart, nodeId: string, replacement: OoxmlNode, options?: EditOptions): OoxmlEditResult;
|
|
325
|
-
/** Remove a node and its subtree. */
|
|
326
|
-
declare function removeNode(part: OoxmlPart, nodeId: string, options?: EditOptions): OoxmlEditResult;
|
|
327
|
-
/**
|
|
328
|
-
* Apply several primitives as ONE atomic step.
|
|
329
|
-
*
|
|
330
|
-
* Each edit runs against the result of the previous one, and the whole sequence is
|
|
331
|
-
* validated once at the end. If any step fails, the ORIGINAL part is what the caller keeps
|
|
332
|
-
* — there is no partially-edited intermediate to publish. This is the shape a multi-`DocOp`
|
|
333
|
-
* store transaction needs.
|
|
334
|
-
*/
|
|
335
|
-
declare function applyEdits(part: OoxmlPart, edits: readonly ((current: OoxmlPart) => OoxmlEditResult)[], options?: EditOptions): OoxmlEditResult;
|
|
336
|
-
|
|
337
357
|
/** Structural validation, run before any tree work so a rejection changes nothing. */
|
|
338
358
|
declare function validateTreeOp(part: OoxmlPart, op: TreeDocOp): TreeOpRejection | null;
|
|
339
359
|
|
|
340
360
|
/**
|
|
341
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* Validation runs first and returns before any tree work, so a rejected op is a true no-op:
|
|
344
|
-
* the caller keeps the part it passed in, unchanged and still frozen.
|
|
361
|
+
* Paragraph text as the ops address it, for tests and callers computing offsets.
|
|
345
362
|
*
|
|
346
|
-
* `
|
|
347
|
-
*
|
|
348
|
-
*
|
|
349
|
-
*
|
|
363
|
+
* `fieldResults` defaults to the mode of the store call in progress, which is `atomic` outside
|
|
364
|
+
* any editable transaction: every field is one unit, the raw text collaboration and
|
|
365
|
+
* automation read. `editable` reads saved field results as text, as an editor in that mode
|
|
366
|
+
* addresses them.
|
|
367
|
+
*/
|
|
368
|
+
declare function paragraphTextOf(part: OoxmlPart, paragraphId: string, options?: {
|
|
369
|
+
readonly fieldResults?: FieldResultsMode;
|
|
370
|
+
}): string | null;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* Apply one op. `options.fieldResults` installs the field-result addressing mode for the
|
|
374
|
+
* op's whole run (`field-result-mode.ts`); absent keeps the enclosing mode.
|
|
350
375
|
*/
|
|
351
376
|
declare function applyTreeOp(part: OoxmlPart, op: TreeDocOp, options?: EditOptions): TreeOpResult;
|
|
352
|
-
/** Paragraph text as the ops address it, for tests and callers computing offsets. */
|
|
353
|
-
declare function paragraphTextOf(part: OoxmlPart, paragraphId: string): string | null;
|
|
354
377
|
|
|
355
378
|
/**
|
|
356
379
|
* Every kind of thing the registry gives a stable identity to.
|
|
@@ -2677,7 +2700,7 @@ declare function formsProtectionEnabled(root: OoxmlNode | null | undefined): boo
|
|
|
2677
2700
|
declare function sectionProtectsForms(part: OoxmlPart, nodeId: string): boolean;
|
|
2678
2701
|
|
|
2679
2702
|
/** Every {@link TreeDocOpKind}, for validation and exhaustiveness checks. */
|
|
2680
|
-
declare const TREE_DOC_OP_KINDS: readonly ["replaceStoryBlocks", "insertText", "deleteText", "setParagraphMarkRevision", "proposeParagraphMerge", "insertCommentMarker", "acceptRevision", "rejectRevision", "acceptAllRevisions", "rejectAllRevisions", "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"];
|
|
2703
|
+
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"];
|
|
2681
2704
|
|
|
2682
|
-
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, 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, OoxmlInvariantIssue, 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, 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, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, 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, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, 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, 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, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, 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 };
|
|
2705
|
+
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, OoxmlInvariantIssue, 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, 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, applyEdits, applyTreeOp, assertLimitInvariants, assertValidId, assertValidQName, atomicFieldSpansOf, authoredProperties, beginOperation, bodyStoryRoot, bookmarkPairNodes, boundCustomXmlNodeIdOf, boundCustomXmlNodeIds, boundCustomXmlNodeIdsInPackage, buildTocContentControl, buildTocEntryParagraph, buildingBlockGalleryOf, buildingBlocksForControl, buildingBlocksOf, canonicalOoxmlFingerprint, canonicalize, cascadeEmptiedComments, collectNodeIds, collectReviewItems, collectRevisionSites, collectStoryParagraphs, commentItemsOf, commentPartNameOf, commentsExtendedPartNameOf, compareArtifacts, compareSemVer, containsCssFetch, contentTypesPartBytes, createNodeIdAllocator, 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, findNode, findOccurrences, fingerprint, fldCharType, fldSimpleInstr, fnv1a32, foldCase, formatOwnedRunIds, formattableRanges, formsProtectionEnabled, glossaryPartOf, 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, 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, parentNodeOf, parseSemVer, parseTocInstruction, planTocEntries, points, pointsToTwips, projectOmmlAtom, projectOmmlDisplay, propertyContainer, readCustomXmlNode, readTwipsMeasure, readViewSettings, relationshipsOf, relsPartNameFor, removeNode, removePackageCustomNode, replaceChildren, replaceNode, 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 };
|
|
2683
2706
|
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, EditOptions, 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, OoxmlEditResult, 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, TransactionRevisionIds, TransportPort, Twips, ValidationResult };
|
package/dist/store.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{o as Budget,n as BudgetError,F as COMPARATORS,q as CancellationController,p as CancellationError,W as DEFAULT_MAX_EDITABLE_STORY_PARTS,t as DeterministicClock,A as DeterministicMemoryMeter,f as ID_KINDS,y as LIMIT_KEYS,x as LIMIT_SPECS,ka as MAX_CUSTOM_NODE_LABEL_LENGTH,ja as MAX_CUSTOM_NODE_PAYLOAD_LENGTH,T as MAX_FRAGMENT_DECODED_BYTES,s as PortRegistry,r as PortResolutionError,l as RegistryError,Sa as SEARCH_MATCH_LIMIT,Ra as SEARCH_QUERY_MAX,u as SequentialIdentity,V as TreeDocumentStore,X as TreePackageStore,ba as addComment,ga as addPackageComment,U as applyFragmentPaste,B as assertLimitInvariants,h as assertValidId,v as beginOperation,C as canonicalize,Oa as collectReviewItems,Ha as commentBodyText,Ja as commentInitials,Na as commentItemsOf,ea as commentPartNameOf,fa as commentsExtendedPartNameOf,G as compareArtifacts,j as compareSemVer,oa as customNodePayloadsByControl,pa as customNodePayloadsOf,ia as deletePackageComments,w as endOperation,R as extractFragmentPackage,Wa as findOccurrences,H as fingerprint,va as firstReviewRange,Ta as foldCase,da as hasCommentPart,K as hashAuthored,bb as headlessViewOfStore,la as insertCustomNodeWrite,qa as insertPackageCustomNode,Va as isSearchableQuery,g as isValidId,Ua as isWholeWord,Qa as linkRevisionReplies,Ka as locateSites,z as makeLimitCounter,Xa as materializeGlossaryPlaceholders,S as mergeFragmentIntoPackage,aa as nextCommentId,ab as openHeadlessDocument,i as parseSemVer,Ya as planRevisionBatch,ma as removeCustomNodeWrite,ra as removePackageCustomNode,J as replayFixture,m as resolve,ta as reviewItemKey,ua as reviewItemRanges,Ma as revisionItemsOf,k as satisfies,ca as setCommentResolved,ha as setPackageCommentResolved,D as stableHash,na as sweepCustomNodePayloads,I as validateFixture}from'./chunk-GWQJ5774.js';export{fh as ACCEPTED_PARAGRAPH_PROPERTIES,eh as ACCEPTED_RUN_PROPERTIES,h as ALL_FROZEN_IDS,gh as AUTHORABLE_PARAGRAPH_PROPERTIES,hh as AUTHORABLE_RUN_PROPERTIES,p as BoundedCounter,c as CANONICAL_MUTATION_ORIGINS,Ab as CONTENT_CONTROL_ID_MAX,Sb as CONTENT_CONTROL_PROPERTY_ORDER,ni as CUSTOM_NODE_XPATH_PREFIX,Zh as CUSTOM_XML_PROPS_REL,_h as CUSTOM_XML_PROPS_TYPE,Yh as CUSTOM_XML_REL,G as DANGEROUS_KEYS,$h as DATASTORE_NAMESPACE_URI,wg as DEFAULT_ENDNOTE_PROPERTIES,vg as DEFAULT_FOOTNOTE_PROPERTIES,bh as DEFAULT_FORMATTING_DISPLAY_MODE,m as DEFAULT_IMAGE_RESOURCE_LIMITS,j as DEFAULT_LIMITS,Ce as DEFAULT_OMML_LIMITS,me as DEFAULT_OOXML_PACKAGE_LIMITS,Th as DEFAULT_VIEW_SETTINGS,Bd as DEFAULT_ZIP_LIMITS,g as DEPENDENCY_KEY_IDS,H as DangerousKeyError,Ve as FIELD_ATOM_CHAR,i as HARD_CEILINGS,id as HYPERLINK_RELATIONSHIP_TYPE,C as IMAGE_RELATIONSHIP_TYPE,l as IMAGE_RESOURCE_HARD_CEILINGS,pd as IMAGE_WRAP_TARGETS,S as INERT_EXECUTABLE_KINDS,o as LimitExceededError,zb as MAX_CONTENT_CONTROLS_PER_PART,yb as MAX_CONTENT_CONTROL_NESTING,sc as MAX_NOTES_PER_PART,Jg as MAX_NOTE_REFERENCE_PARTS,Ig as MAX_NOTE_REFERENCE_SCAN,xc as MAX_STORY_SDT_NESTING,Od as MAX_SVG_SNIFF_BYTES,d as NON_CANONICAL_ORIGINS,Vb as NOTE_ATOM_CHAR,Zb as NOTE_CONTINUATION_SEPARATOR_ID,Xb as NOTE_ID_MAX,Wb as NOTE_ID_MIN,Yb as NOTE_SEPARATOR_ID,rg as NO_DOCUMENT_PROTECTION,Rh as NO_TRACKING_SETTINGS,Be as OFFICE_MATH_NAMESPACE_URI,hd as OFFICE_RELATIONSHIP_NAMESPACE_URI,za as OOXML_NODE_IDENTITY_RULES,b as ORIGIN_IDS,cb as PAGE_BREAK_CHAR,ca as PrefixAllocator,e as RESULT_IDS,f as RUNTIME_PORT_IDS,Lj as TABLE_BORDER_STYLES,Yf as TOC_LEVEL_INDENT_TWIPS,sf as TOC_MAX_BOOKMARKS_PER_REFRESH,rf as TOC_MAX_ENTRIES,tf as TOC_MAX_FIELD_NESTING,qf as TOC_MAX_INSTRUCTION_CHARS,uf as TOC_MAX_PAGE_PASSES,dh as TREE_DOC_OP_KINDS,Vc as TWIPS_PER_POINT,Hh as W15_NAMESPACE_URI,fa as WML_NAMESPACE_URI,ha as XMLNS_NAMESPACE_URI,ga as XML_NAMESPACE_URI,Ub as allocateContentControlId,ae as allocateDrawingPropertyId,tc as allocateNoteId,Ra as applyEdits,ug as applyHeaderFooterLifecycleOp,Ch as applyNoteLifecycleOp,dk as applyTreeOp,t as asciiFold,ba as assertValidQName,of as atomicFieldSpansOf,rc as atomicNoteSpansOf,ng as authorableHyperlinkTarget,Cg as authoredDocumentEndnoteProperties,Bg as authoredDocumentFootnoteProperties,zg as authoredEndnotePropertiesFromSectPr,yg as authoredFootnotePropertiesFromSectPr,kh as authoredProperties,Bc as bodyStoryRoot,cg as bookmarkPairNodes,ri as boundCustomXmlNodeIdOf,pi as boundCustomXmlNodeIds,qi as boundCustomXmlNodeIdsInPackage,Xf as buildBookmarkIndex,A as buildContentTypeIndex,D as buildRelationshipSet,$f as buildTocContentControl,_f as buildTocEntryParagraph,lg as buildingBlockGalleryOf,mg as buildingBlocksForControl,kg as buildingBlocksOf,ua as canonicalOoxmlFingerprint,Dh as cascadeDeletedNoteReferences,Qh as cascadeEmptiedComments,Z as childElements,Jc as collectFlowBlocks,Ha as collectNodeIds,Mg as collectNoteReferences,Og as collectPackageNoteReferences,ej as collectRevisionSites,Oe as collectSectionPropertyNodes,Dc as collectStoryParagraphs,Ih as commentAnchorsOfStory,Kh as commentsOfPart,R as containsCssFetch,Eb as contentControlContentChildren,Ib as contentControlContentNodeOf,Hc as contentControlContentOf,Hb as contentControlEndPropertiesNodeOf,Lb as contentControlLevelOf,Gb as contentControlPropertiesNodeOf,Kb as contentControlPropertiesOf,Ob as contentControlTextOf,Mb as contentControlsIn,qe as contentTypesPartBytes,Zd as createImageResourceCache,Ia as createNodeIdAllocator,Kg as createNoteReferenceScanBudget,oc as customMarkFollows,oi as customNodeBinding,ci as customXmlDataParts,li as customXmlLabelXPath,gi as customXmlNodes,mi as customXmlPrefixMappings,ai as datastoreItemIdFor,uj as deepParagraphOrderOfPart,Nh as deleteCommentThread,Te as deobfuscateFont,Pc as deriveOoxmlIndexes,xf as detectBodyTocs,v as detectDuplicateNames,Pg as diagnoseNoteReferences,gg as diffSemanticDigests,eg as digestPart,mh as directParagraphMarkProperties,lh as directParagraphProperties,Le as displayMathAlignment,Tj as drawingOpImpact,og as ensureHyperlinkRelationship,hg as ensureListDefinition,ig as ensureNumberingLevel,Fe as equationExpressionToLinearMath,Je as equationsOfAtom,Q as escapeCssString,M as escapeXml,z as extensionKey,ff as fieldAtomText,ef as fieldOnOffAttribute,Nb as findContentControl,di as findCustomXmlDataPart,yf as findDetectedToc,Y as findElement,Ka as findNode,wc as findNoteById,Fb as flattenContentControls,We as fldCharType,df as fldSimpleInstr,jb as fnv1a32,$b as formatNoteScopeId,qh as formatOwnedRunIds,zh as formattableRanges,yj as formsProtectionEnabled,jg as glossaryPartOf,gb as hardBreakAttributes,db as hardBreakKind,fb as hardBreakText,Mh as hasAnyComment,Pd as hasBoundedSvgRoot,hf as hasLegacyFormFieldData,Ja as hasNode,kd as hyperlinkAnchorOf,ld as hyperlinkRelationshipIdOf,md as hyperlinkTargetOf,Xd as imageResourceLookupFor,Nc as indexStyles,Vf as inlineControlEndingAt,Wf as inlineControlStartingAt,Oa as insertChildren,cf as instrTextValue,ih as isAuthorableRunProperty,Fc as isContentControl,Gc as isContentControlContent,Cb as isContentControlContentNode,Bb as isContentControlNode,Db as isContentControlWrapper,na as isContentRevisionKind,hc as isContinuationSeparatorNode,I as isDangerousKey,Yj as isDrawingTreeDocOp,cc as isEndnotesNode,U as isEvaluableField,gf as isFieldChrome,_e as isFldChar,Xe as isFldCharNode,bf as isFldSimple,Ze as isFldSimpleNode,bc as isFootnotesNode,tg as isHeaderFooterLifecycleOp,jd as isHyperlinkNode,T as isInertExecutable,$e as isInstrText,Ye as isInstrTextNode,Fg as isLegalEndnotePosition,pf as isLegalFldCharType,Gg as isLegalFootnotePosition,Hg as isLegalNumRestart,lc as isNormalNote,qc as isNoteAtomNode,Bh as isNoteLifecycleOp,dc as isNoteNode,fc as isNoteRefNode,ec as isNoteReferenceNode,He as isOmmlDisplay,Ie as isOmmlEquationAtom,eb as isPageBreakNode,ra as isRangeMarkerKind,gc as isSeparatorNode,Ac as isStoryPart,y as isValidMime,$ as isValidNCName,hb as isValidParaId,aa as isValidQName,Ci as legacyCheckboxFieldsOf,Ge as linearMathToOmml,Wd as liveDrawingReferenceCount,Qb as lockForbidsEdit,Rb as lockForbidsRemoval,oh as mergedFontProperty,rh as mergedMultiSettingProperty,sh as mergedParagraphMarkProperties,nh as mergedProperties,kb as mintParaId,ob as mintedParagraphIdentityAttributes,Rg as normalNoteIds,qb as normalizeParagraphIdentity,r as normalizePartName,pc as noteAtomText,jc as noteIdOf,ic as noteKindOf,nc as noteRefKindOf,mc as noteReferenceKindOf,kc as noteTypeOf,uc as notesOf,Qg as notesPartHasId,J as nullRecord,mk as observeHistoryGroup,va as ooxmlTreesEqual,Tb as orderedContentControlProperties,ib as paraIdOf,Rf as paragraphOffsetIndex,tj as paragraphOrderOfPart,ek as paragraphTextOf,La as parentNodeOf,xg as parseAuthoredNoteProperties,Jb as parseContentControlId,Ee as parseLinearMath,_b as parseNoteId,ac as parseNoteScopeId,vf as parseTocInstruction,u as partNameKey,bg as planTocEntries,Xc as points,Zc as pointsToTwips,yd as projectDrawing,Me as projectOmmlAtom,Ke as projectOmmlDisplay,De as projectOmmlEquation,jh as propertyContainer,hi as readCustomXmlNode,sg as readDocumentProtection,Ue as readEmbeddedFonts,sa as readOnOffChild,ne as readOoxmlPackage,Aa as readOoxmlPart,Sh as readTrackingSettings,_c as readTwipsMeasure,Uh as readViewSettings,X as readXml,Cd as readZip,pg as relationshipTargetIn,re as relationshipsOf,te as relsPartNameFor,Qa as removeNode,Na as replaceChildren,Pa as replaceNode,nk as reportHistoryGroup,Pb as resolveContentControlLock,B as resolveContentType,se as resolveContentTypeOf,Eg as resolveEndnoteProperties,Dg as resolveFootnoteProperties,Se as resolveHeaderFooterParts,Re as resolveHeaderFooterPartsBySection,Qe as resolveHeaderFooterResolutionBySection,F as resolveImageRelationship,n as resolveImageResourceLimits,w as resolveInternalTarget,k as resolveLimits,Lg as resolveNotesPart,E as resolveRelationship,dg as resolveTocRowHeadings,ph as runAddressRanges,xh as runPropertyEdits,Ah as runsCovering,L as sanitizeHref,V as scrubExport,zj as sectionProtectsForms,Pf as segmentsOf,fg as semanticDigest,ta as serializeOoxmlPart,Ag as settingsPartOf,Qd as sniffImageMime,Cc as storyParagraphs,zc as storyRootsOf,Oc as stylesPartOf,_ as textContent,Ai as textFormFieldsOf,Xh as textboxStoriesInPart,Lh as threadStateOfPart,K as toSafeRecord,ag as tocEntryText,Zf as tocLeftIndentTwips,Wc as twips,Yc as twipsToPoints,lb as usedParaIds,Uj as validateDrawingOp,x as validateExternalTarget,Sd as validateGifHeader,Td as validateJpegHeader,xa as validateOoxmlPart,Ae as validatePackageInvariants,Rd as validatePngHeader,Vd as validateRasterHeader,kk as validateTreeOp,mb as w14RootPrefix,Lc as walkAllStoryParagraphs,Mc as walkParagraphInline,Kc as walkStoryBlocks,de as withBinaryPart,ue as withContentTypeOverride,ei as withCustomXmlDataPart,ii as withCustomXmlNode,ee as withEmbeddedImage,si as withExportedCustomNodes,ze as withNewPart,pe as withPart,ye as withRelationship,fi as withoutCustomXmlDataPart,ji as withoutCustomXmlNode,ki as withoutOrphanCustomXmlNodes,je as withoutUnreferencedImagePart,Xj as wrapTargetToAnchorSpec,oe as writeOoxmlPackage,Dd as writeZip}from'./chunk-UMRSBLO7.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,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-J6BVWIDB.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,Ck 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,el 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,gk as collectReviewItems,Zj as collectRevisionSites,cf as collectSectionPropertyNodes,Sc as collectStoryParagraphs,Zh as commentAnchorsOfStory,Lj as commentBodyText,Nj as commentInitials,fk 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,Qk 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,Vk 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,ik as linkRevisionReplies,je as liveDrawingReferenceCount,ck 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,gl 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,kk 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,hl 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,ek 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,Rk as validateDrawingOp,C as validateExternalTarget,fe as validateGifHeader,ge as validateJpegHeader,Fa as validateOoxmlPart,Qe as validatePackageInvariants,ee as validatePngHeader,ie as validateRasterHeader,Wk 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,Uk as wrapTargetToAnchorSpec,Ee as writeOoxmlPackage,Sd as writeZip}from'./chunk-4R3TEXMN.js';
|