@beyondwork/docx-react-component 1.0.134 → 1.0.136
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/api/public-types.cjs +20 -2
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +2 -2
- package/dist/api/v3.cjs +203 -41
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +4 -4
- package/dist/{canonical-document-CfZIc-fC.d.cts → canonical-document-COmM7v11.d.cts} +1 -1
- package/dist/{canonical-document-CfZIc-fC.d.ts → canonical-document-COmM7v11.d.ts} +1 -1
- package/dist/{chunk-REFHJ2FN.js → chunk-2BNXARVO.js} +3 -3
- package/dist/{chunk-INLRCC4N.js → chunk-4CIHTMCH.js} +2 -2
- package/dist/{chunk-MQ5GAJ54.js → chunk-BJXSMPHD.js} +1 -1
- package/dist/{chunk-XBQFDBXE.js → chunk-EZFF6GKF.js} +9 -2
- package/dist/{chunk-3YR47WTD.js → chunk-FGJTOFZY.js} +21 -9
- package/dist/{chunk-74R5B2EZ.js → chunk-H4HI6RUE.js} +1 -1
- package/dist/{chunk-IJD6D7HU.js → chunk-HUWZ7AHE.js} +125 -2
- package/dist/{chunk-7Y6JCIK3.js → chunk-HWMPNLEF.js} +1 -1
- package/dist/{chunk-EBSI6VQX.js → chunk-JZZKTL7K.js} +800 -93
- package/dist/{chunk-VA24T4EB.js → chunk-NEMOQ4QR.js} +1 -1
- package/dist/{chunk-ESEEWELA.js → chunk-NX7W6T7L.js} +171 -39
- package/dist/{chunk-O4EDZR44.js → chunk-P7XDEVS6.js} +12 -1
- package/dist/{chunk-QTRJLKR2.js → chunk-TSNK4ECL.js} +1 -1
- package/dist/{chunk-WDDFU2N2.js → chunk-UR2LW63N.js} +1 -1
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.cjs +9 -2
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.js +4 -4
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.cjs +9 -2
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.js +3 -3
- package/dist/core/commands/text-commands.cjs +9 -2
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.js +4 -4
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +1287 -198
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +135 -34
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/{loader-CK3lZy4h.d.cts → loader-Cr35kVUi.d.cts} +3 -3
- package/dist/{loader-CQXplstv.d.ts → loader-uGY6nDZP.d.ts} +3 -3
- package/dist/{public-types-DXNZVKrS.d.ts → public-types-8kVIB5HW.d.ts} +22 -8
- package/dist/{public-types-BR1SYK2F.d.cts → public-types-CSSH2Whc.d.cts} +22 -8
- package/dist/public-types.cjs +20 -2
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +2 -2
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +929 -83
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +10 -10
- package/dist/{session-CSbwkgII.d.cts → session-Beg8ihOi.d.cts} +3 -3
- package/dist/{session-C9UjrhJF.d.ts → session-Dgp-2uYw.d.ts} +3 -3
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/tailwind.cjs +27 -8
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +5 -5
- package/dist/{types-RzkCXDNV.d.ts → types-Cin_abw3.d.ts} +2 -2
- package/dist/{types-CZtAueri.d.cts → types-qsS39ZkQ.d.cts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.cjs +11 -0
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.js +3 -3
- package/dist/ui-tailwind.cjs +27 -8
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/dist/ui-tailwind.js +5 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b8 as TextCommandAck, b9 as TextCommandRefreshClass, ba as WordReviewEditorProps, bb as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, bc as validatePersistedEditorSnapshot, bd as PayloadSigner, be as PayloadSignature, bf as TransportStatus, bg as CollabPosture, bh as PresenceSnapshot, bi as AwarenessIdentity, bj as ExternalCustody, bk as ExternalCustodyResolver, bl as ExternalCustodyRestoredContent, bm as RuntimePageGraph, d as EditorSurfaceSnapshot, r as CompatibilityReport } from './public-types-
|
|
2
|
-
export { bn as ActiveListContext, bo as ActiveNoteContext, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, K as ApiV3, bu as AttachPayloadArgs, bv as AuthorKind, bw as AutosaveConfig, bx as AutosaveState, by as AwarenessPeer, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, bM as CollabBlockReason, bN as CollabSession, bO as CollabSessionBridge, bP as CollabSessionEvent, bQ as CollabSessionEventOrIntegrity, bR as CollabSessionFacet, bS as CollabSessionOptions, bT as CommandStateSnapshot, bU as CommentAttachment, bV as CommentAudience, bW as CommentBody, bX as CommentLabel, bY as CommentMention, bZ as CommentNegotiationAction, b_ as CommentNegotiationActionType, b$ as CommentNegotiationEntry, c0 as CommentNegotiationSnapshot, c1 as CommentNegotiationState, c2 as CommentPresentation, c3 as CommentPresentationAction, c4 as CommentPresentationReply, c5 as CommentPresentationSnapshot, c6 as CommentReaction, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, a7 as CreateApiV3Opts, cd as CreateCollabSessionBridgeOptions, ce as DispatchContext, cf as DispatchResult, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, cs as EditorAnchorProjection, ct as EditorDatastoreAdapter, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cL as ExternalCustodyArchivePayload, cM as ExternalDocumentSource, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, d3 as NegotiationBlockReason, d4 as NegotiationCounterProposal, d5 as NegotiationHistoryRow, d6 as NegotiationRole, d7 as NegotiationVote, d8 as PageLayoutSnapshot, d9 as PageRegionHitTest, da as Participant, db as ParticipantRole, dc as ParticipantRoster, dd as PayloadVerifier, de as REVIEW_ACTION_METADATA_ID, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dz as RuntimeSendToExternalArgs, dA as RuntimeSendToExternalResult, dB as SELECTION_TOOL_REGISTRY, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, dI as ScopeCardModel, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, dN as ScopeTagTouch, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, dR as SelectionToolKind, dS as SelectionToolRegistryEntry, dT as SendToExternalCallArgs, dU as SignatureAlgorithm, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, e3 as SurfaceBlockSnapshot, e4 as SurfaceInlineSegment, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, e7 as SurfaceTextMark, e8 as TamperGate, e9 as TamperGateArgs, ea as TamperGateAttachArgs, eb as TamperGateEvent, ec as TamperGateGuardResult, ed as TextCommandAckKind, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, ei as TocEntrySnapshot, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, en as ViewMode, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, er as WordReviewEditorEvent, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ax as createApiV3, eS as createCollabSession, eT as createCollabSessionBridge, eU as createCollabSessionFacet, eV as createHmacSigner, eW as createHmacVerifier, eX as createTamperGate, eY as resolveSelectionToolRegistry, eZ as runtimeSendToExternal, e_ as sendToExternal, e$ as signWorkflowPayloadXml, f0 as verifyWorkflowPayloadXml } from './public-types-
|
|
1
|
+
import { b8 as TextCommandAck, b9 as TextCommandRefreshClass, ba as WordReviewEditorProps, bb as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, bc as validatePersistedEditorSnapshot, bd as PayloadSigner, be as PayloadSignature, bf as TransportStatus, bg as CollabPosture, bh as PresenceSnapshot, bi as AwarenessIdentity, bj as ExternalCustody, bk as ExternalCustodyResolver, bl as ExternalCustodyRestoredContent, bm as RuntimePageGraph, d as EditorSurfaceSnapshot, r as CompatibilityReport } from './public-types-CSSH2Whc.cjs';
|
|
2
|
+
export { bn as ActiveListContext, bo as ActiveNoteContext, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, K as ApiV3, bu as AttachPayloadArgs, bv as AuthorKind, bw as AutosaveConfig, bx as AutosaveState, by as AwarenessPeer, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, bM as CollabBlockReason, bN as CollabSession, bO as CollabSessionBridge, bP as CollabSessionEvent, bQ as CollabSessionEventOrIntegrity, bR as CollabSessionFacet, bS as CollabSessionOptions, bT as CommandStateSnapshot, bU as CommentAttachment, bV as CommentAudience, bW as CommentBody, bX as CommentLabel, bY as CommentMention, bZ as CommentNegotiationAction, b_ as CommentNegotiationActionType, b$ as CommentNegotiationEntry, c0 as CommentNegotiationSnapshot, c1 as CommentNegotiationState, c2 as CommentPresentation, c3 as CommentPresentationAction, c4 as CommentPresentationReply, c5 as CommentPresentationSnapshot, c6 as CommentReaction, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, a7 as CreateApiV3Opts, cd as CreateCollabSessionBridgeOptions, ce as DispatchContext, cf as DispatchResult, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, cs as EditorAnchorProjection, ct as EditorDatastoreAdapter, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cL as ExternalCustodyArchivePayload, cM as ExternalDocumentSource, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, d3 as NegotiationBlockReason, d4 as NegotiationCounterProposal, d5 as NegotiationHistoryRow, d6 as NegotiationRole, d7 as NegotiationVote, d8 as PageLayoutSnapshot, d9 as PageRegionHitTest, da as Participant, db as ParticipantRole, dc as ParticipantRoster, dd as PayloadVerifier, de as REVIEW_ACTION_METADATA_ID, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dz as RuntimeSendToExternalArgs, dA as RuntimeSendToExternalResult, dB as SELECTION_TOOL_REGISTRY, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, dI as ScopeCardModel, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, dN as ScopeTagTouch, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, dR as SelectionToolKind, dS as SelectionToolRegistryEntry, dT as SendToExternalCallArgs, dU as SignatureAlgorithm, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, e3 as SurfaceBlockSnapshot, e4 as SurfaceInlineSegment, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, e7 as SurfaceTextMark, e8 as TamperGate, e9 as TamperGateArgs, ea as TamperGateAttachArgs, eb as TamperGateEvent, ec as TamperGateGuardResult, ed as TextCommandAckKind, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, ei as TocEntrySnapshot, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, en as ViewMode, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, er as WordReviewEditorEvent, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ax as createApiV3, eS as createCollabSession, eT as createCollabSessionBridge, eU as createCollabSessionFacet, eV as createHmacSigner, eW as createHmacVerifier, eX as createTamperGate, eY as resolveSelectionToolRegistry, eZ as runtimeSendToExternal, e_ as sendToExternal, e$ as signWorkflowPayloadXml, f0 as verifyWorkflowPayloadXml } from './public-types-CSSH2Whc.cjs';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
5
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-
|
|
4
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-Beg8ihOi.cjs';
|
|
5
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-qsS39ZkQ.cjs';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
7
|
+
import { C as CanonicalDocument } from './canonical-document-COmM7v11.cjs';
|
|
8
8
|
import 'yjs';
|
|
9
9
|
import 'prosemirror-state';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b8 as TextCommandAck, b9 as TextCommandRefreshClass, ba as WordReviewEditorProps, bb as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, bc as validatePersistedEditorSnapshot, bd as PayloadSigner, be as PayloadSignature, bf as TransportStatus, bg as CollabPosture, bh as PresenceSnapshot, bi as AwarenessIdentity, bj as ExternalCustody, bk as ExternalCustodyResolver, bl as ExternalCustodyRestoredContent, bm as RuntimePageGraph, d as EditorSurfaceSnapshot, r as CompatibilityReport } from './public-types-
|
|
2
|
-
export { bn as ActiveListContext, bo as ActiveNoteContext, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, K as ApiV3, bu as AttachPayloadArgs, bv as AuthorKind, bw as AutosaveConfig, bx as AutosaveState, by as AwarenessPeer, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, bM as CollabBlockReason, bN as CollabSession, bO as CollabSessionBridge, bP as CollabSessionEvent, bQ as CollabSessionEventOrIntegrity, bR as CollabSessionFacet, bS as CollabSessionOptions, bT as CommandStateSnapshot, bU as CommentAttachment, bV as CommentAudience, bW as CommentBody, bX as CommentLabel, bY as CommentMention, bZ as CommentNegotiationAction, b_ as CommentNegotiationActionType, b$ as CommentNegotiationEntry, c0 as CommentNegotiationSnapshot, c1 as CommentNegotiationState, c2 as CommentPresentation, c3 as CommentPresentationAction, c4 as CommentPresentationReply, c5 as CommentPresentationSnapshot, c6 as CommentReaction, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, a7 as CreateApiV3Opts, cd as CreateCollabSessionBridgeOptions, ce as DispatchContext, cf as DispatchResult, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, cs as EditorAnchorProjection, ct as EditorDatastoreAdapter, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cL as ExternalCustodyArchivePayload, cM as ExternalDocumentSource, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, d3 as NegotiationBlockReason, d4 as NegotiationCounterProposal, d5 as NegotiationHistoryRow, d6 as NegotiationRole, d7 as NegotiationVote, d8 as PageLayoutSnapshot, d9 as PageRegionHitTest, da as Participant, db as ParticipantRole, dc as ParticipantRoster, dd as PayloadVerifier, de as REVIEW_ACTION_METADATA_ID, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dz as RuntimeSendToExternalArgs, dA as RuntimeSendToExternalResult, dB as SELECTION_TOOL_REGISTRY, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, dI as ScopeCardModel, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, dN as ScopeTagTouch, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, dR as SelectionToolKind, dS as SelectionToolRegistryEntry, dT as SendToExternalCallArgs, dU as SignatureAlgorithm, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, e3 as SurfaceBlockSnapshot, e4 as SurfaceInlineSegment, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, e7 as SurfaceTextMark, e8 as TamperGate, e9 as TamperGateArgs, ea as TamperGateAttachArgs, eb as TamperGateEvent, ec as TamperGateGuardResult, ed as TextCommandAckKind, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, ei as TocEntrySnapshot, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, en as ViewMode, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, er as WordReviewEditorEvent, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ax as createApiV3, eS as createCollabSession, eT as createCollabSessionBridge, eU as createCollabSessionFacet, eV as createHmacSigner, eW as createHmacVerifier, eX as createTamperGate, eY as resolveSelectionToolRegistry, eZ as runtimeSendToExternal, e_ as sendToExternal, e$ as signWorkflowPayloadXml, f0 as verifyWorkflowPayloadXml } from './public-types-
|
|
1
|
+
import { b8 as TextCommandAck, b9 as TextCommandRefreshClass, ba as WordReviewEditorProps, bb as WordReviewEditorRef, a as EditorSessionState, P as PersistedEditorSnapshot, bc as validatePersistedEditorSnapshot, bd as PayloadSigner, be as PayloadSignature, bf as TransportStatus, bg as CollabPosture, bh as PresenceSnapshot, bi as AwarenessIdentity, bj as ExternalCustody, bk as ExternalCustodyResolver, bl as ExternalCustodyRestoredContent, bm as RuntimePageGraph, d as EditorSurfaceSnapshot, r as CompatibilityReport } from './public-types-8kVIB5HW.js';
|
|
2
|
+
export { bn as ActiveListContext, bo as ActiveNoteContext, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, K as ApiV3, bu as AttachPayloadArgs, bv as AuthorKind, bw as AutosaveConfig, bx as AutosaveState, by as AwarenessPeer, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, bD as CaretAffinity, bE as ChangeAnchor, bF as ChangeFilter, bG as ChartPreviewResolveParams, bH as ChartSnapshot, bI as ChartSnapshotBubbleSeries, bJ as ChartSnapshotData, bK as ChartSnapshotScatterSeries, bL as ChartSnapshotSeries, bM as CollabBlockReason, bN as CollabSession, bO as CollabSessionBridge, bP as CollabSessionEvent, bQ as CollabSessionEventOrIntegrity, bR as CollabSessionFacet, bS as CollabSessionOptions, bT as CommandStateSnapshot, bU as CommentAttachment, bV as CommentAudience, bW as CommentBody, bX as CommentLabel, bY as CommentMention, bZ as CommentNegotiationAction, b_ as CommentNegotiationActionType, b$ as CommentNegotiationEntry, c0 as CommentNegotiationSnapshot, c1 as CommentNegotiationState, c2 as CommentPresentation, c3 as CommentPresentationAction, c4 as CommentPresentationReply, c5 as CommentPresentationSnapshot, c6 as CommentReaction, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, a7 as CreateApiV3Opts, cd as CreateCollabSessionBridgeOptions, ce as DispatchContext, cf as DispatchResult, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, cs as EditorAnchorProjection, ct as EditorDatastoreAdapter, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, cv as EditorStateBlob, aA as EditorStateLocation, az as EditorStateNamespace, cw as EditorStatePartLoadFailure, cx as EditorStatePartPersistFailure, cy as EditorStatePersister, cz as EditorStatePolicy, cA as EditorStatePolicyEntry, cB as EditorStatePolicyMigration, cC as EditorStateResolveErrorMode, cD as EditorStateResolver, cE as EditorStateStorageRef, cF as EditorStoryTarget, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, b as ExportDocxOptions, c as ExportResult, cL as ExternalCustodyArchivePayload, cM as ExternalDocumentSource, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, d3 as NegotiationBlockReason, d4 as NegotiationCounterProposal, d5 as NegotiationHistoryRow, d6 as NegotiationRole, d7 as NegotiationVote, d8 as PageLayoutSnapshot, d9 as PageRegionHitTest, da as Participant, db as ParticipantRole, dc as ParticipantRoster, dd as PayloadVerifier, de as REVIEW_ACTION_METADATA_ID, df as RestorePointCheckpointType, dg as RestorePointSnapshot, dh as RestoreResult, di as ReviewActionKind, dj as ReviewActionMetadataValue, dk as ReviewQueueItem, dl as ReviewQueueItemKind, dm as ReviewQueueSnapshot, dn as ReviewWorkItemSnapshot, dp as ReviewWorkSnapshot, dq as RuntimeContextAnalyticsActionHint, dr as RuntimeContextAnalyticsBadge, ds as RuntimeContextAnalyticsCounts, dt as RuntimeContextAnalyticsProvenance, du as RuntimeContextAnalyticsQuery, dv as RuntimeContextAnalyticsScopeKind, dw as RuntimeContextAnalyticsSnapshot, dx as RuntimeContextAnalyticsState, dy as RuntimeContextAnalyticsUnavailableField, R as RuntimeRenderSnapshot, dz as RuntimeSendToExternalArgs, dA as RuntimeSendToExternalResult, dB as SELECTION_TOOL_REGISTRY, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, dI as ScopeCardModel, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, dN as ScopeTagTouch, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, dR as SelectionToolKind, dS as SelectionToolRegistryEntry, dT as SendToExternalCallArgs, dU as SignatureAlgorithm, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, e3 as SurfaceBlockSnapshot, e4 as SurfaceInlineSegment, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, e7 as SurfaceTextMark, e8 as TamperGate, e9 as TamperGateArgs, ea as TamperGateAttachArgs, eb as TamperGateEvent, ec as TamperGateGuardResult, ed as TextCommandAckKind, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, ei as TocEntrySnapshot, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, en as ViewMode, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, er as WordReviewEditorEvent, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, eB as WorkflowMarkupSnapshot, eC as WorkflowMetadataDefinition, eD as WorkflowMetadataEntry, eE as WorkflowMetadataMarkup, eF as WorkflowMetadataPersistence, eG as WorkflowMetadataSnapshot, eH as WorkflowOpaqueFragmentMarkup, eI as WorkflowOverlay, eJ as WorkflowOverlayPatch, eK as WorkflowProtectedRangeMarkup, eL as WorkflowRevisionMarkup, eM as WorkflowScope, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ax as createApiV3, eS as createCollabSession, eT as createCollabSessionBridge, eU as createCollabSessionFacet, eV as createHmacSigner, eW as createHmacVerifier, eX as createTamperGate, eY as resolveSelectionToolRegistry, eZ as runtimeSendToExternal, e_ as sendToExternal, e$ as signWorkflowPayloadXml, f0 as verifyWorkflowPayloadXml } from './public-types-8kVIB5HW.js';
|
|
3
3
|
import React__default from 'react';
|
|
4
|
-
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-
|
|
5
|
-
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-
|
|
4
|
+
export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-Dgp-2uYw.js';
|
|
5
|
+
export { E as EmbeddedDocumentManifest, a as ExportOptions, O as OpenOptions, b as OpenResult, P as PreservationSnapshot, V as ValidateOptions, c as ValidationFinding, d as ValidationReport } from './types-Cin_abw3.js';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
7
|
+
import { C as CanonicalDocument } from './canonical-document-COmM7v11.js';
|
|
8
8
|
import 'yjs';
|
|
9
9
|
import 'prosemirror-state';
|
|
10
10
|
import 'prosemirror-model';
|
package/dist/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
createSearchPlugin,
|
|
5
5
|
performSearch,
|
|
6
6
|
searchPluginKey
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-NEMOQ4QR.js";
|
|
8
8
|
import {
|
|
9
9
|
CODE_METADATA_TABLE,
|
|
10
10
|
KNOWN_DIAGNOSTIC_CODES,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
splitListParagraph,
|
|
27
27
|
toggleBulletedList,
|
|
28
28
|
toggleNumberedList
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-JZZKTL7K.js";
|
|
30
30
|
import {
|
|
31
31
|
applyParagraphStyleToDocument
|
|
32
32
|
} from "./chunk-6EXNNAO6.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
insertPageBreak,
|
|
47
47
|
insertTable
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2BNXARVO.js";
|
|
49
49
|
import {
|
|
50
50
|
getFormattingStateFromRenderSnapshot
|
|
51
51
|
} from "./chunk-Y4XZCMCS.js";
|
|
@@ -53,13 +53,13 @@ import {
|
|
|
53
53
|
insertImage,
|
|
54
54
|
repositionFloatingImage,
|
|
55
55
|
resizeImage
|
|
56
|
-
} from "./chunk-
|
|
57
|
-
import "./chunk-
|
|
56
|
+
} from "./chunk-4CIHTMCH.js";
|
|
57
|
+
import "./chunk-BJXSMPHD.js";
|
|
58
58
|
import {
|
|
59
59
|
getTableStructureContext,
|
|
60
60
|
tableStructureActionHandleForTarget
|
|
61
|
-
} from "./chunk-
|
|
62
|
-
import "./chunk-
|
|
61
|
+
} from "./chunk-UR2LW63N.js";
|
|
62
|
+
import "./chunk-TSNK4ECL.js";
|
|
63
63
|
import {
|
|
64
64
|
MOUNTED_SURFACE_VIEWPORT_BLOCK_THRESHOLD,
|
|
65
65
|
OverlayAnchorBridgeProvider,
|
|
@@ -88,10 +88,10 @@ import {
|
|
|
88
88
|
shouldRenderSelectionToolKind,
|
|
89
89
|
shouldUseMountedSurfaceViewportCulling,
|
|
90
90
|
useLayoutFacetRenderSignal
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-FGJTOFZY.js";
|
|
92
92
|
import {
|
|
93
93
|
createInertGeometryFacet
|
|
94
|
-
} from "./chunk-
|
|
94
|
+
} from "./chunk-H4HI6RUE.js";
|
|
95
95
|
import {
|
|
96
96
|
composeSeriesColor,
|
|
97
97
|
computeStructuralHash,
|
|
@@ -105,12 +105,12 @@ import {
|
|
|
105
105
|
resolveColor,
|
|
106
106
|
tryReadLaycacheEnvelope,
|
|
107
107
|
writeEnvelopeToOpcPackage
|
|
108
|
-
} from "./chunk-
|
|
108
|
+
} from "./chunk-NX7W6T7L.js";
|
|
109
109
|
import {
|
|
110
110
|
findTextMatches,
|
|
111
111
|
parseCanonicalFragmentFromWordML,
|
|
112
112
|
searchDocument
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-HUWZ7AHE.js";
|
|
114
114
|
import {
|
|
115
115
|
clearLocalCursorState,
|
|
116
116
|
getCursorColorForUser,
|
|
@@ -142,7 +142,7 @@ import {
|
|
|
142
142
|
sanitizeMarkdown,
|
|
143
143
|
sha256Hex,
|
|
144
144
|
startPerfProbe
|
|
145
|
-
} from "./chunk-
|
|
145
|
+
} from "./chunk-P7XDEVS6.js";
|
|
146
146
|
import "./chunk-OVLZQ6FZ.js";
|
|
147
147
|
import "./chunk-QIO6V46H.js";
|
|
148
148
|
import {
|
|
@@ -150,7 +150,7 @@ import {
|
|
|
150
150
|
getStoryBlocks,
|
|
151
151
|
replaceStoryBlocks,
|
|
152
152
|
stableChartId
|
|
153
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-EZFF6GKF.js";
|
|
154
154
|
import "./chunk-SYQWQ6FE.js";
|
|
155
155
|
import {
|
|
156
156
|
createDefaultCanonicalDocument,
|
|
@@ -3866,6 +3866,9 @@ function createLoadingRuntimeBridge(input) {
|
|
|
3866
3866
|
addScope: () => {
|
|
3867
3867
|
throw createLoadingBoundaryError(input.snapshot.documentId, "scope");
|
|
3868
3868
|
},
|
|
3869
|
+
addScopes: () => {
|
|
3870
|
+
throw createLoadingBoundaryError(input.snapshot.documentId, "scope");
|
|
3871
|
+
},
|
|
3869
3872
|
getScope: () => null,
|
|
3870
3873
|
compileScopeBundleById: () => null,
|
|
3871
3874
|
compileScopeList: () => [],
|
|
@@ -4216,7 +4219,8 @@ async function persistAndExport(input) {
|
|
|
4216
4219
|
});
|
|
4217
4220
|
result = withExportDelivery(result, {
|
|
4218
4221
|
mode: "persisted-by-host",
|
|
4219
|
-
savedAt: saveResult.savedAt
|
|
4222
|
+
savedAt: saveResult.savedAt,
|
|
4223
|
+
...input.options?.download === false ? { downloadSuppressed: true } : {}
|
|
4220
4224
|
});
|
|
4221
4225
|
} catch (error) {
|
|
4222
4226
|
const normalized = normalizeStorageError(error, {
|
|
@@ -14954,7 +14958,7 @@ var LAYER_DEBUG_PANES = [
|
|
|
14954
14958
|
snippets: [
|
|
14955
14959
|
{ label: "Selection context", expression: "ref?.getRuntimeContextAnalytics?.()" },
|
|
14956
14960
|
{ label: "Document context", expression: "ref?.getRuntimeContextAnalytics?.({ scopeKind: 'document' })" },
|
|
14957
|
-
{ label: "Hot edit trace", expression: "runtime?.debug?.getHotEditTraces?.()
|
|
14961
|
+
{ label: "Hot edit trace", expression: "runtime?.debug?.getHotEditTraces?.()?.at(-1)" },
|
|
14958
14962
|
{ label: "View state", expression: "ref?.getViewState?.()" }
|
|
14959
14963
|
],
|
|
14960
14964
|
routed: [
|
|
@@ -14968,8 +14972,8 @@ var LAYER_DEBUG_PANES = [
|
|
|
14968
14972
|
focus: "Workflow scopes, markup, metadata, candidates, and scope-derived context.",
|
|
14969
14973
|
snippets: [
|
|
14970
14974
|
{ label: "Scope snapshot", expression: "ref?.getWorkflowScopeSnapshot?.()" },
|
|
14971
|
-
{ label: "Query scopes", expression: "ref?.queryScopes?.({ includeHidden: true, includeInvisible: true })" },
|
|
14972
|
-
{ label: "Workflow markup", expression: "ref?.getWorkflowMarkupSnapshot?.()" }
|
|
14975
|
+
{ label: "Query scopes", expression: "ref?.queryScopes?.({ includeHidden: true, includeInvisible: true, limit: 50 })" },
|
|
14976
|
+
{ label: "Workflow markup", expression: "(() => { const m = ref?.getWorkflowMarkupSnapshot?.(); return m ? { itemCount: m.items?.length ?? 0, items: m.items?.slice(0, 50) ?? [] } : m; })()" }
|
|
14973
14977
|
],
|
|
14974
14978
|
routed: [
|
|
14975
14979
|
"Compiler replacement planning and semantic scope normalization remain Layer 08-owned."
|
|
@@ -14983,7 +14987,7 @@ var LAYER_DEBUG_PANES = [
|
|
|
14983
14987
|
snippets: [
|
|
14984
14988
|
{ label: "Document analytics", expression: "ref?.getRuntimeContextAnalytics?.({ scopeKind: 'document' })" },
|
|
14985
14989
|
{ label: "Workflow analytics", expression: "ref?.getRuntimeContextAnalytics?.({ scopeKind: 'workflow_scope', scopeId: ref?.getInteractionGuardSnapshot?.()?.matchedScopeId })" },
|
|
14986
|
-
{ label: "Available scopes", expression: "ref?.queryScopes?.({ includeHidden: true, includeInvisible: true })" }
|
|
14990
|
+
{ label: "Available scopes", expression: "ref?.queryScopes?.({ includeHidden: true, includeInvisible: true, limit: 50 })" }
|
|
14987
14991
|
],
|
|
14988
14992
|
routed: [
|
|
14989
14993
|
"AI audit references and action policy payloads are Layer 09-owned."
|
|
@@ -15011,7 +15015,7 @@ var LAYER_DEBUG_PANES = [
|
|
|
15011
15015
|
snippets: [
|
|
15012
15016
|
{ label: "Navigation", expression: "ref?.getDocumentNavigationSnapshot?.()" },
|
|
15013
15017
|
{ label: "Review surface", expression: "({ comments: ref?.getCommentSidebarSnapshot?.(), changes: ref?.getTrackedChangesSnapshot?.() })" },
|
|
15014
|
-
{ label: "Hot edit traces", expression: "runtime?.debug?.getHotEditTraces?.()" },
|
|
15018
|
+
{ label: "Hot edit traces", expression: "runtime?.debug?.getHotEditTraces?.()?.slice?.(-10)" },
|
|
15015
15019
|
{ label: "Compatibility", expression: "ref?.getCompatibilityReport?.()" }
|
|
15016
15020
|
],
|
|
15017
15021
|
routed: [
|
|
@@ -15044,6 +15048,11 @@ import { Fragment as Fragment3, jsx as jsx15, jsxs as jsxs13 } from "react/jsx-r
|
|
|
15044
15048
|
var MAX_HISTORY = 30;
|
|
15045
15049
|
var MAX_ENTRIES = 50;
|
|
15046
15050
|
var MAX_OUTPUT_CHARS = 8e3;
|
|
15051
|
+
var MAX_SERIALIZE_DEPTH = 6;
|
|
15052
|
+
var MAX_SERIALIZE_STRING_CHARS = 1e3;
|
|
15053
|
+
var MAX_SERIALIZE_ARRAY_ITEMS = 40;
|
|
15054
|
+
var MAX_SERIALIZE_OBJECT_KEYS = 80;
|
|
15055
|
+
var MAX_SERIALIZE_NODES = 2500;
|
|
15047
15056
|
var HISTORY_STORAGE_KEY = "wre-runtime-repl-history";
|
|
15048
15057
|
var HISTORY_STORAGE_VERSION = 1;
|
|
15049
15058
|
function TwRuntimeReplDialog(props) {
|
|
@@ -15509,7 +15518,7 @@ function formatReplValue(value) {
|
|
|
15509
15518
|
if (value === void 0) return "undefined";
|
|
15510
15519
|
if (value === null) return "null";
|
|
15511
15520
|
const type = typeof value;
|
|
15512
|
-
if (type === "string") return JSON.stringify(value);
|
|
15521
|
+
if (type === "string") return truncate(JSON.stringify(value), MAX_OUTPUT_CHARS);
|
|
15513
15522
|
if (type === "number" || type === "boolean" || type === "bigint") {
|
|
15514
15523
|
return String(value);
|
|
15515
15524
|
}
|
|
@@ -15519,7 +15528,7 @@ function formatReplValue(value) {
|
|
|
15519
15528
|
return `[Function${fn.name ? `: ${fn.name}` : ""}]`;
|
|
15520
15529
|
}
|
|
15521
15530
|
try {
|
|
15522
|
-
const serialized = JSON.stringify(value,
|
|
15531
|
+
const serialized = JSON.stringify(createReplPreview(value), null, 2);
|
|
15523
15532
|
if (serialized === void 0) {
|
|
15524
15533
|
return String(value);
|
|
15525
15534
|
}
|
|
@@ -15535,21 +15544,113 @@ function formatReplError(error) {
|
|
|
15535
15544
|
}
|
|
15536
15545
|
return truncate(String(error), MAX_OUTPUT_CHARS);
|
|
15537
15546
|
}
|
|
15538
|
-
function
|
|
15539
|
-
|
|
15540
|
-
|
|
15541
|
-
|
|
15542
|
-
|
|
15543
|
-
|
|
15544
|
-
|
|
15547
|
+
function createReplPreview(value) {
|
|
15548
|
+
return createReplPreviewValue(value, 0, {
|
|
15549
|
+
seen: /* @__PURE__ */ new WeakSet(),
|
|
15550
|
+
nodes: 0
|
|
15551
|
+
});
|
|
15552
|
+
}
|
|
15553
|
+
function createReplPreviewValue(value, depth, state) {
|
|
15554
|
+
if (value === null || typeof value === "number" || typeof value === "boolean") {
|
|
15555
|
+
return value;
|
|
15556
|
+
}
|
|
15557
|
+
if (typeof value === "string") {
|
|
15558
|
+
return value.length > MAX_SERIALIZE_STRING_CHARS ? `${value.slice(0, MAX_SERIALIZE_STRING_CHARS)}... [truncated ${value.length - MAX_SERIALIZE_STRING_CHARS} chars]` : value;
|
|
15559
|
+
}
|
|
15560
|
+
if (typeof value === "bigint") return `${value.toString()}n`;
|
|
15561
|
+
if (typeof value === "symbol") return value.toString();
|
|
15562
|
+
if (typeof value === "function") {
|
|
15563
|
+
const fn = value;
|
|
15564
|
+
return `[Function${fn.name ? `: ${fn.name}` : ""}]`;
|
|
15565
|
+
}
|
|
15566
|
+
if (typeof value !== "object") return String(value);
|
|
15567
|
+
state.nodes += 1;
|
|
15568
|
+
if (state.nodes > MAX_SERIALIZE_NODES) {
|
|
15569
|
+
return "[Max REPL preview nodes reached]";
|
|
15570
|
+
}
|
|
15571
|
+
const objectValue = value;
|
|
15572
|
+
if (state.seen.has(objectValue)) return "[Circular]";
|
|
15573
|
+
state.seen.add(objectValue);
|
|
15574
|
+
if (depth >= MAX_SERIALIZE_DEPTH) {
|
|
15575
|
+
return summarizePreviewBoundary(objectValue);
|
|
15576
|
+
}
|
|
15577
|
+
const domPreview = summarizeDomNode(objectValue);
|
|
15578
|
+
if (domPreview) return domPreview;
|
|
15579
|
+
if (Array.isArray(value)) {
|
|
15580
|
+
const preview = value.slice(0, MAX_SERIALIZE_ARRAY_ITEMS).map((item) => createReplPreviewValue(item, depth + 1, state));
|
|
15581
|
+
if (value.length > MAX_SERIALIZE_ARRAY_ITEMS) {
|
|
15582
|
+
preview.push(`[... ${value.length - MAX_SERIALIZE_ARRAY_ITEMS} more items]`);
|
|
15583
|
+
}
|
|
15584
|
+
return preview;
|
|
15585
|
+
}
|
|
15586
|
+
if (value instanceof Date) {
|
|
15587
|
+
return Number.isNaN(value.getTime()) ? "[Invalid Date]" : value.toISOString();
|
|
15588
|
+
}
|
|
15589
|
+
if (value instanceof Map) {
|
|
15590
|
+
const entries = [];
|
|
15591
|
+
let index = 0;
|
|
15592
|
+
for (const [key, entryValue] of value.entries()) {
|
|
15593
|
+
if (index >= MAX_SERIALIZE_OBJECT_KEYS) {
|
|
15594
|
+
entries.push("[additional map entries omitted]");
|
|
15595
|
+
break;
|
|
15596
|
+
}
|
|
15597
|
+
entries.push([
|
|
15598
|
+
createReplPreviewValue(key, depth + 1, state),
|
|
15599
|
+
createReplPreviewValue(entryValue, depth + 1, state)
|
|
15600
|
+
]);
|
|
15601
|
+
index += 1;
|
|
15602
|
+
}
|
|
15603
|
+
return { "[Map]": entries };
|
|
15604
|
+
}
|
|
15605
|
+
if (value instanceof Set) {
|
|
15606
|
+
const entries = [];
|
|
15607
|
+
let index = 0;
|
|
15608
|
+
for (const entryValue of value.values()) {
|
|
15609
|
+
if (index >= MAX_SERIALIZE_OBJECT_KEYS) {
|
|
15610
|
+
entries.push("[additional set entries omitted]");
|
|
15611
|
+
break;
|
|
15612
|
+
}
|
|
15613
|
+
entries.push(createReplPreviewValue(entryValue, depth + 1, state));
|
|
15614
|
+
index += 1;
|
|
15545
15615
|
}
|
|
15546
|
-
|
|
15547
|
-
|
|
15548
|
-
|
|
15549
|
-
|
|
15616
|
+
return { "[Set]": entries };
|
|
15617
|
+
}
|
|
15618
|
+
const output = {};
|
|
15619
|
+
let count = 0;
|
|
15620
|
+
for (const key in value) {
|
|
15621
|
+
if (!Object.prototype.propertyIsEnumerable.call(value, key)) continue;
|
|
15622
|
+
if (count >= MAX_SERIALIZE_OBJECT_KEYS) {
|
|
15623
|
+
output["..."] = "[additional properties omitted]";
|
|
15624
|
+
break;
|
|
15550
15625
|
}
|
|
15551
|
-
|
|
15552
|
-
|
|
15626
|
+
try {
|
|
15627
|
+
output[key] = createReplPreviewValue(
|
|
15628
|
+
value[key],
|
|
15629
|
+
depth + 1,
|
|
15630
|
+
state
|
|
15631
|
+
);
|
|
15632
|
+
} catch (error) {
|
|
15633
|
+
output[key] = `[unreadable property: ${formatReplError(error)}]`;
|
|
15634
|
+
}
|
|
15635
|
+
count += 1;
|
|
15636
|
+
}
|
|
15637
|
+
return output;
|
|
15638
|
+
}
|
|
15639
|
+
function summarizePreviewBoundary(value) {
|
|
15640
|
+
if (Array.isArray(value)) return `[Array(${value.length}) depth limit]`;
|
|
15641
|
+
const domPreview = summarizeDomNode(value);
|
|
15642
|
+
if (domPreview) return domPreview;
|
|
15643
|
+
const constructorName = value.constructor?.name;
|
|
15644
|
+
return constructorName && constructorName !== "Object" ? `[${constructorName} depth limit]` : "[Object depth limit]";
|
|
15645
|
+
}
|
|
15646
|
+
function summarizeDomNode(value) {
|
|
15647
|
+
const maybeNode = value;
|
|
15648
|
+
if (typeof maybeNode.nodeType !== "number" || typeof maybeNode.nodeName !== "string") {
|
|
15649
|
+
return null;
|
|
15650
|
+
}
|
|
15651
|
+
const id = typeof maybeNode.id === "string" && maybeNode.id.length > 0 ? `#${maybeNode.id}` : "";
|
|
15652
|
+
const className = typeof maybeNode.className === "string" && maybeNode.className.length > 0 ? `.${maybeNode.className.trim().replace(/\s+/g, ".")}` : "";
|
|
15653
|
+
return `[DOM ${maybeNode.nodeName.toLowerCase()}${id}${className}]`;
|
|
15553
15654
|
}
|
|
15554
15655
|
function truncate(text, max) {
|
|
15555
15656
|
if (text.length <= max) return text;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-
|
|
2
|
-
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-
|
|
3
|
-
import { b7 as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-Cr35kVUi.cjs';
|
|
2
|
+
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-COmM7v11.cjs';
|
|
3
|
+
import { b7 as EditorAnchorProjection } from '../public-types-CSSH2Whc.cjs';
|
|
4
|
+
import '../types-qsS39ZkQ.cjs';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-
|
|
2
|
-
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-
|
|
3
|
-
import { b7 as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-uGY6nDZP.js';
|
|
2
|
+
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-COmM7v11.js';
|
|
3
|
+
import { b7 as EditorAnchorProjection } from '../public-types-8kVIB5HW.js';
|
|
4
|
+
import '../types-Cin_abw3.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
package/dist/legal.d.cts
CHANGED
package/dist/legal.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
2
|
-
import { az as EditorStateNamespace, aA as EditorStateLocation, a as EditorSessionState, P as PersistedEditorSnapshot, t as EditorError, u as ProtectionSnapshot, b as ExportDocxOptions, c as ExportResult, L as LoadStage, E as EditorHostAdapter, aB as LoadScheduler, d as EditorSurfaceSnapshot } from './public-types-
|
|
3
|
-
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-
|
|
1
|
+
import { C as CanonicalDocument } from './canonical-document-COmM7v11.cjs';
|
|
2
|
+
import { az as EditorStateNamespace, aA as EditorStateLocation, a as EditorSessionState, P as PersistedEditorSnapshot, t as EditorError, u as ProtectionSnapshot, b as ExportDocxOptions, c as ExportResult, L as LoadStage, E as EditorHostAdapter, aB as LoadScheduler, d as EditorSurfaceSnapshot } from './public-types-CSSH2Whc.cjs';
|
|
3
|
+
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-qsS39ZkQ.cjs';
|
|
4
4
|
|
|
5
5
|
interface EditorStatePayloadNamespaceEntry {
|
|
6
6
|
namespace: EditorStateNamespace;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { C as CanonicalDocument } from './canonical-document-
|
|
2
|
-
import { az as EditorStateNamespace, aA as EditorStateLocation, a as EditorSessionState, P as PersistedEditorSnapshot, t as EditorError, u as ProtectionSnapshot, b as ExportDocxOptions, c as ExportResult, L as LoadStage, E as EditorHostAdapter, aB as LoadScheduler, d as EditorSurfaceSnapshot } from './public-types-
|
|
3
|
-
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-
|
|
1
|
+
import { C as CanonicalDocument } from './canonical-document-COmM7v11.js';
|
|
2
|
+
import { az as EditorStateNamespace, aA as EditorStateLocation, a as EditorSessionState, P as PersistedEditorSnapshot, t as EditorError, u as ProtectionSnapshot, b as ExportDocxOptions, c as ExportResult, L as LoadStage, E as EditorHostAdapter, aB as LoadScheduler, d as EditorSurfaceSnapshot } from './public-types-8kVIB5HW.js';
|
|
3
|
+
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-Cin_abw3.js';
|
|
4
4
|
|
|
5
5
|
interface EditorStatePayloadNamespaceEntry {
|
|
6
6
|
namespace: EditorStateNamespace;
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import * as y_protocols_awareness from 'y-protocols/awareness';
|
|
5
5
|
import { Awareness } from 'y-protocols/awareness';
|
|
6
|
-
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders } from './canonical-document-
|
|
6
|
+
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders, ad as NumberingCatalog } from './canonical-document-COmM7v11.js';
|
|
7
7
|
import * as prosemirror_state from 'prosemirror-state';
|
|
8
8
|
import { Command } from 'prosemirror-state';
|
|
9
9
|
import { Schema } from 'prosemirror-model';
|
|
@@ -8080,6 +8080,7 @@ interface DocumentRuntime {
|
|
|
8080
8080
|
addReplyToChange(changeId: string, body: string, authorId?: string): AddCommentReplyResult | null;
|
|
8081
8081
|
editCommentBody(commentId: string, body: string): void;
|
|
8082
8082
|
addScope(params: AddScopeParams): AddScopeResult;
|
|
8083
|
+
addScopes(params: readonly AddScopeParams[]): readonly AddScopeResult[];
|
|
8083
8084
|
getScope(scopeId: string): WorkflowScope | null;
|
|
8084
8085
|
/**
|
|
8085
8086
|
* Layer-08 scope-bundle lookup keyed by scopeId — read-side join over
|
|
@@ -9014,7 +9015,7 @@ interface RuntimeWordFieldMatrixProvider {
|
|
|
9014
9015
|
* `runtime.collab.*` family graduate its live path when hosts supply it
|
|
9015
9016
|
* and fall back to deterministic mocks when they don't.
|
|
9016
9017
|
*/
|
|
9017
|
-
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
|
+
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "addScopes" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
9019
|
/**
|
|
9019
9020
|
* Optional collab session — hosts that wire Yjs/Awareness pass the
|
|
9020
9021
|
* session here so `api.runtime.collab.getPresence` / `.getPosture`
|
|
@@ -9568,7 +9569,11 @@ interface CreateScopeFromAnchorInput {
|
|
|
9568
9569
|
readonly to: number;
|
|
9569
9570
|
/** Non-main-body story (footnote / header / endnote). Defaults to `{kind:"main"}`. */
|
|
9570
9571
|
readonly storyTarget?: EditorStoryTarget;
|
|
9571
|
-
}
|
|
9572
|
+
} | (Extract<EditorAnchorProjection, {
|
|
9573
|
+
readonly kind: "range";
|
|
9574
|
+
}> & {
|
|
9575
|
+
readonly storyTarget?: EditorStoryTarget;
|
|
9576
|
+
}) | SelectionSnapshot;
|
|
9572
9577
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9573
9578
|
readonly label?: string;
|
|
9574
9579
|
readonly visibility?: ScopeVisibility;
|
|
@@ -9585,7 +9590,7 @@ type CreateScopeFromAnchorResult = {
|
|
|
9585
9590
|
} | {
|
|
9586
9591
|
readonly scopeId: "";
|
|
9587
9592
|
readonly status: "range-invalid";
|
|
9588
|
-
readonly reason: "from-negative" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9593
|
+
readonly reason: "from-negative" | "non-finite-range" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9589
9594
|
readonly from: number;
|
|
9590
9595
|
readonly to: number;
|
|
9591
9596
|
readonly storyLength: number;
|
|
@@ -11006,7 +11011,7 @@ declare function createViewportFamily(runtime: RuntimeApiHandle): {
|
|
|
11006
11011
|
*/
|
|
11007
11012
|
|
|
11008
11013
|
type RuntimeListCommand = "toggle-numbered" | "toggle-bulleted" | "indent" | "outdent" | "restart-numbering" | "continue-numbering" | "create" | "attach" | "detach" | "join" | "separate" | "split" | "set-value" | "apply-template" | "capture-template" | "apply-preset" | "set-level-numbering" | "set-level-bullet" | "set-level-picture-bullet" | "set-level-alignment" | "set-level-indents" | "set-level-trailing-character" | "set-level-marker-font" | "set-level-text" | "set-level-start" | "set-level-layout" | "convert-to-text" | "paste-fragment" | "drop-fragment";
|
|
11009
|
-
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11014
|
+
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-target-wrong-story" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11010
11015
|
interface RuntimeListTargetInput {
|
|
11011
11016
|
readonly targetKey?: string;
|
|
11012
11017
|
readonly addressKey?: string;
|
|
@@ -14849,10 +14854,13 @@ interface InsertImageOptions {
|
|
|
14849
14854
|
* parsers that will drive it in later slices. Carries zero or more canonical
|
|
14850
14855
|
* block nodes (paragraphs, tables, SDTs, etc.); a host that constructs one
|
|
14851
14856
|
* directly is responsible for the blocks being well-formed per the canonical
|
|
14852
|
-
* schema.
|
|
14857
|
+
* schema. Numbered fragments may include the catalog entries referenced by
|
|
14858
|
+
* their blocks; the runtime merge path remaps colliding numbering ids before
|
|
14859
|
+
* splicing. The HTML / Word-clipboard parsers (Slices 2+3) will produce these.
|
|
14853
14860
|
*/
|
|
14854
14861
|
interface CanonicalDocumentFragment {
|
|
14855
14862
|
blocks: BlockNode[];
|
|
14863
|
+
numbering?: NumberingCatalog;
|
|
14856
14864
|
}
|
|
14857
14865
|
/**
|
|
14858
14866
|
* I7 — `replaceText` / `text.insert` formatting directive.
|
|
@@ -16501,14 +16509,14 @@ interface AddScopeResult {
|
|
|
16501
16509
|
* Structured diagnostic for the marker-plant attempt. Omitted on the
|
|
16502
16510
|
* happy path for back-compat; populated with `planted: false` + a
|
|
16503
16511
|
* typed reason when the plant was refused (non-paragraph target,
|
|
16504
|
-
* out-of-bounds, empty-document). Cross-paragraph ranges plant
|
|
16512
|
+
* out-of-bounds, non-finite range, empty-document). Cross-paragraph ranges plant
|
|
16505
16513
|
* successfully as of 2026-04-24 — see the multi-paragraph-scopes
|
|
16506
16514
|
* slice. Callers that previously assumed every returned `scopeId`
|
|
16507
16515
|
* was live should migrate to checking this field.
|
|
16508
16516
|
*/
|
|
16509
16517
|
plantStatus?: {
|
|
16510
16518
|
readonly planted: false;
|
|
16511
|
-
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "empty-document";
|
|
16519
|
+
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "non-finite-range" | "empty-document";
|
|
16512
16520
|
readonly requestedFrom: number;
|
|
16513
16521
|
readonly requestedTo: number;
|
|
16514
16522
|
/** Present on `non-paragraph-target`. */
|
|
@@ -16567,6 +16575,12 @@ interface ExportDocxOptions {
|
|
|
16567
16575
|
interface ExportDelivery {
|
|
16568
16576
|
mode: "downloaded" | "persisted-by-host" | "exported-bytes-only";
|
|
16569
16577
|
savedAt?: string;
|
|
16578
|
+
/**
|
|
16579
|
+
* True when the caller explicitly passed `download: false`. Event consumers
|
|
16580
|
+
* must honor this by skipping secondary automatic downloads, even when the
|
|
16581
|
+
* bytes were also persisted through a host/datastore export target.
|
|
16582
|
+
*/
|
|
16583
|
+
downloadSuppressed?: boolean;
|
|
16570
16584
|
}
|
|
16571
16585
|
interface ExportResult {
|
|
16572
16586
|
bytes: Uint8Array;
|