@beyondwork/docx-react-component 1.0.133 → 1.0.135
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 +23 -3
- package/dist/api/public-types.d.cts +1 -1
- package/dist/api/public-types.d.ts +1 -1
- package/dist/api/public-types.js +2 -2
- package/dist/api/v3.cjs +708 -47
- package/dist/api/v3.d.cts +2 -2
- package/dist/api/v3.d.ts +2 -2
- package/dist/api/v3.js +4 -4
- package/dist/{chunk-REFHJ2FN.js → chunk-2BNXARVO.js} +3 -3
- package/dist/{chunk-INLRCC4N.js → chunk-4CIHTMCH.js} +2 -2
- package/dist/{chunk-224TSMEB.js → chunk-5CCYF333.js} +138 -42
- package/dist/{chunk-MQ5GAJ54.js → chunk-BJXSMPHD.js} +1 -1
- package/dist/{chunk-OTRVGNZQ.js → chunk-EPFVMUKF.js} +548 -3
- package/dist/{chunk-XBQFDBXE.js → chunk-EZFF6GKF.js} +9 -2
- package/dist/{chunk-S3PEKX6H.js → chunk-FGJTOFZY.js} +72 -554
- package/dist/{chunk-3JEE5RJU.js → chunk-GIFXKIM5.js} +612 -34
- package/dist/{chunk-57HTKX3P.js → chunk-H4HI6RUE.js} +1 -1
- package/dist/{chunk-KL4TZSZV.js → chunk-HWMPNLEF.js} +1 -1
- package/dist/{chunk-ZFCZ7XXH.js → chunk-NEMOQ4QR.js} +1 -1
- package/dist/{chunk-CVSD3UNK.js → chunk-P7XDEVS6.js} +15 -2
- package/dist/{chunk-QTRJLKR2.js → chunk-TSNK4ECL.js} +1 -1
- package/dist/{chunk-WDDFU2N2.js → chunk-UR2LW63N.js} +1 -1
- package/dist/core/commands/formatting-commands.d.cts +1 -1
- package/dist/core/commands/formatting-commands.d.ts +1 -1
- package/dist/core/commands/image-commands.cjs +9 -2
- package/dist/core/commands/image-commands.d.cts +1 -1
- package/dist/core/commands/image-commands.d.ts +1 -1
- package/dist/core/commands/image-commands.js +4 -4
- package/dist/core/commands/section-layout-commands.d.cts +1 -1
- package/dist/core/commands/section-layout-commands.d.ts +1 -1
- package/dist/core/commands/style-commands.d.cts +1 -1
- package/dist/core/commands/style-commands.d.ts +1 -1
- package/dist/core/commands/table-structure-commands.cjs +9 -2
- package/dist/core/commands/table-structure-commands.d.cts +1 -1
- package/dist/core/commands/table-structure-commands.d.ts +1 -1
- 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 +1 -1
- package/dist/core/commands/text-commands.d.ts +1 -1
- package/dist/core/commands/text-commands.js +4 -4
- package/dist/core/selection/mapping.d.cts +1 -1
- package/dist/core/selection/mapping.d.ts +1 -1
- package/dist/core/state/editor-state.d.cts +1 -1
- package/dist/core/state/editor-state.d.ts +1 -1
- package/dist/index.cjs +1478 -636
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +113 -26
- package/dist/io/docx-session.d.cts +3 -3
- package/dist/io/docx-session.d.ts +3 -3
- package/dist/{loader-B2H99237.d.cts → loader-BQ7AB-0v.d.cts} +2 -2
- package/dist/{loader-DfTjqVwn.d.ts → loader-Cy6OYBfn.d.ts} +2 -2
- package/dist/{public-types-S8gTYwKo.d.cts → public-types-D31xKNGc.d.cts} +146 -3
- package/dist/{public-types-B5lOUIrP.d.ts → public-types-DqYt8GdP.d.ts} +146 -3
- package/dist/public-types.cjs +23 -3
- package/dist/public-types.d.cts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.js +2 -2
- package/dist/runtime/collab.d.cts +2 -2
- package/dist/runtime/collab.d.ts +2 -2
- package/dist/runtime/document-runtime.cjs +760 -68
- package/dist/runtime/document-runtime.d.cts +1 -1
- package/dist/runtime/document-runtime.d.ts +1 -1
- package/dist/runtime/document-runtime.js +10 -10
- package/dist/{session-CR2A1hGZ.d.cts → session-DA-F2fCw.d.cts} +2 -2
- package/dist/{session-CBDIOYXA.d.ts → session-DqL8H0oZ.d.ts} +2 -2
- package/dist/session.d.cts +4 -4
- package/dist/session.d.ts +4 -4
- package/dist/tailwind.cjs +81 -554
- package/dist/tailwind.d.cts +1 -1
- package/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +5 -5
- package/dist/{types-yty2K-hk.d.cts → types-B2y94n5t.d.cts} +1 -1
- package/dist/{types-B-90ywjU.d.ts → types-SllbCtGs.d.ts} +1 -1
- package/dist/ui-tailwind/editor-surface/search-plugin.cjs +11 -0
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.js +3 -3
- package/dist/ui-tailwind.cjs +81 -554
- package/dist/ui-tailwind.d.cts +2 -2
- package/dist/ui-tailwind.d.ts +2 -2
- package/dist/ui-tailwind.js +5 -5
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-D31xKNGc.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-D31xKNGc.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-DA-F2fCw.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-B2y94n5t.cjs';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
7
|
import { C as CanonicalDocument } from './canonical-document-CfZIc-fC.cjs';
|
|
8
8
|
import 'yjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
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-DqYt8GdP.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-DqYt8GdP.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-DqL8H0oZ.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-SllbCtGs.js';
|
|
6
6
|
import { Awareness } from 'y-protocols/awareness';
|
|
7
7
|
import { C as CanonicalDocument } from './canonical-document-CfZIc-fC.js';
|
|
8
8
|
import 'yjs';
|
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-GIFXKIM5.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-EPFVMUKF.js";
|
|
109
109
|
import {
|
|
110
110
|
findTextMatches,
|
|
111
111
|
parseCanonicalFragmentFromWordML,
|
|
112
112
|
searchDocument
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-5CCYF333.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,
|
|
@@ -4216,7 +4216,8 @@ async function persistAndExport(input) {
|
|
|
4216
4216
|
});
|
|
4217
4217
|
result = withExportDelivery(result, {
|
|
4218
4218
|
mode: "persisted-by-host",
|
|
4219
|
-
savedAt: saveResult.savedAt
|
|
4219
|
+
savedAt: saveResult.savedAt,
|
|
4220
|
+
...input.options?.download === false ? { downloadSuppressed: true } : {}
|
|
4220
4221
|
});
|
|
4221
4222
|
} catch (error) {
|
|
4222
4223
|
const normalized = normalizeStorageError(error, {
|
|
@@ -6534,8 +6535,39 @@ function buildPositionMap(surface) {
|
|
|
6534
6535
|
}
|
|
6535
6536
|
return lastStoryRestorableEntry(entries)?.pmEnd ?? 1;
|
|
6536
6537
|
};
|
|
6538
|
+
const runtimeToPmWithBias = (runtimePos, bias) => {
|
|
6539
|
+
if (bias > 0) return runtimeToPm(runtimePos);
|
|
6540
|
+
const firstEditable = entries.find(isStoryRuntimeRestorableEntry);
|
|
6541
|
+
if (runtimePos <= 0) {
|
|
6542
|
+
return firstEditable?.pmStart ?? 1;
|
|
6543
|
+
}
|
|
6544
|
+
if (runtimePos >= runtimeStorySize) {
|
|
6545
|
+
return lastStoryRestorableEntry(entries)?.pmEnd ?? pmDocSize - 1;
|
|
6546
|
+
}
|
|
6547
|
+
let previous = null;
|
|
6548
|
+
for (const entry of entries) {
|
|
6549
|
+
if (!isStoryRuntimeRestorableEntry(entry)) {
|
|
6550
|
+
continue;
|
|
6551
|
+
}
|
|
6552
|
+
if (entry.runtimeStart === entry.runtimeEnd && runtimePos === entry.runtimeStart) {
|
|
6553
|
+
return previous?.pmEnd ?? entry.pmStart;
|
|
6554
|
+
}
|
|
6555
|
+
if (runtimePos > entry.runtimeStart && runtimePos <= entry.runtimeEnd) {
|
|
6556
|
+
return entry.pmStart + (runtimePos - entry.runtimeStart);
|
|
6557
|
+
}
|
|
6558
|
+
if (runtimePos <= entry.runtimeStart) {
|
|
6559
|
+
if (runtimePos === entry.runtimeStart && previous) {
|
|
6560
|
+
return previous.pmEnd;
|
|
6561
|
+
}
|
|
6562
|
+
return nearestRuntimeGapPm(runtimePos, previous, entry);
|
|
6563
|
+
}
|
|
6564
|
+
previous = entry;
|
|
6565
|
+
}
|
|
6566
|
+
return lastStoryRestorableEntry(entries)?.pmEnd ?? 1;
|
|
6567
|
+
};
|
|
6537
6568
|
return {
|
|
6538
6569
|
runtimeToPm,
|
|
6570
|
+
runtimeToPmWithBias,
|
|
6539
6571
|
runtimeToPmWithContext(input) {
|
|
6540
6572
|
const targetEntry = input.editableTarget ? findRestorableEntryForTarget(entries, input.editableTarget, input.runtimePos) : void 0;
|
|
6541
6573
|
if (targetEntry) {
|
|
@@ -8596,9 +8628,10 @@ function buildAnchorPmRange(anchor, positionMap) {
|
|
|
8596
8628
|
return null;
|
|
8597
8629
|
}
|
|
8598
8630
|
if (anchor.kind === "range") {
|
|
8631
|
+
const mapBoundary = (runtimePos, bias) => positionMap.runtimeToPmWithBias ? positionMap.runtimeToPmWithBias(runtimePos, bias) : positionMap.runtimeToPm(runtimePos);
|
|
8599
8632
|
return {
|
|
8600
|
-
from:
|
|
8601
|
-
to:
|
|
8633
|
+
from: mapBoundary(anchor.from, anchor.assoc?.start ?? 1),
|
|
8634
|
+
to: mapBoundary(anchor.to, anchor.assoc?.end ?? -1),
|
|
8602
8635
|
allowInline: true
|
|
8603
8636
|
};
|
|
8604
8637
|
}
|
|
@@ -9845,13 +9878,6 @@ function resolvePmPageBodyPatchPlan(input) {
|
|
|
9845
9878
|
...input.patchPlan.addedPages,
|
|
9846
9879
|
...input.patchPlan.removedPages
|
|
9847
9880
|
];
|
|
9848
|
-
if (membershipChangedPageIds.length > 0 && input.currentDoc.childCount !== input.nextDoc.childCount) {
|
|
9849
|
-
return {
|
|
9850
|
-
status: "fallback",
|
|
9851
|
-
reason: "page-membership-change",
|
|
9852
|
-
pageIds: membershipChangedPageIds
|
|
9853
|
-
};
|
|
9854
|
-
}
|
|
9855
9881
|
if (input.currentDoc.childCount !== input.previousSurface.blocks.length || input.nextDoc.childCount !== input.nextSurface.blocks.length) {
|
|
9856
9882
|
return {
|
|
9857
9883
|
status: "fallback",
|
|
@@ -9928,6 +9954,21 @@ function resolvePmPageBodyPatchPlan(input) {
|
|
|
9928
9954
|
]
|
|
9929
9955
|
);
|
|
9930
9956
|
}
|
|
9957
|
+
if (membershipChangedPageIds.length > 0 && !input.currentDoc.eq(input.nextDoc)) {
|
|
9958
|
+
const membershipSpan = resolveTopLevelMembershipPatchSpan({
|
|
9959
|
+
pageIds: membershipChangedPageIds,
|
|
9960
|
+
previousSurface: input.previousSurface,
|
|
9961
|
+
nextSurface: input.nextSurface
|
|
9962
|
+
});
|
|
9963
|
+
if (!membershipSpan) {
|
|
9964
|
+
return {
|
|
9965
|
+
status: "fallback",
|
|
9966
|
+
reason: "page-membership-change",
|
|
9967
|
+
pageIds: membershipChangedPageIds
|
|
9968
|
+
};
|
|
9969
|
+
}
|
|
9970
|
+
rawSpans.push(membershipSpan);
|
|
9971
|
+
}
|
|
9931
9972
|
if (rawSpans.length === 0) {
|
|
9932
9973
|
if (membershipChangedPageIds.length > 0 && !input.currentDoc.eq(input.nextDoc)) {
|
|
9933
9974
|
return {
|
|
@@ -10004,17 +10045,17 @@ function resolveNestedPatchSpan(input) {
|
|
|
10004
10045
|
(id) => findNestedBlockSpanById(input.nextSurface.blocks, input.nextDoc, id)
|
|
10005
10046
|
);
|
|
10006
10047
|
if (previousLocated.some((span) => !span) || nextLocated.some((span) => !span)) {
|
|
10007
|
-
return { status: "
|
|
10048
|
+
return { status: "top-level" };
|
|
10008
10049
|
}
|
|
10009
10050
|
if (previousLocated.some(isUnpatchableVerticalMergeContinuationSpan) || nextLocated.some(isUnpatchableVerticalMergeContinuationSpan)) {
|
|
10010
|
-
return { status: "
|
|
10051
|
+
return { status: "top-level" };
|
|
10011
10052
|
}
|
|
10012
10053
|
const previousSpans = previousLocated;
|
|
10013
10054
|
const nextSpans = nextLocated;
|
|
10014
10055
|
const previousKinds = new Set(previousSpans.map((span) => span.block.kind));
|
|
10015
10056
|
const nextKinds = new Set(nextSpans.map((span) => span.block.kind));
|
|
10016
10057
|
if (previousKinds.size !== nextKinds.size || [...previousKinds].some((kind) => !nextKinds.has(kind))) {
|
|
10017
|
-
return { status: "
|
|
10058
|
+
return { status: "top-level" };
|
|
10018
10059
|
}
|
|
10019
10060
|
return {
|
|
10020
10061
|
status: "nested",
|
|
@@ -10037,6 +10078,46 @@ function isUnpatchableVerticalMergeContinuationSpan(span) {
|
|
|
10037
10078
|
span?.insideVerticalMergeContinuation && span.fromPm >= span.toPm
|
|
10038
10079
|
);
|
|
10039
10080
|
}
|
|
10081
|
+
function resolveTopLevelMembershipPatchSpan(input) {
|
|
10082
|
+
const previousBlocks = input.previousSurface.blocks;
|
|
10083
|
+
const nextBlocks = input.nextSurface.blocks;
|
|
10084
|
+
let prefix = 0;
|
|
10085
|
+
while (prefix < previousBlocks.length && prefix < nextBlocks.length && sameTopLevelBlockIdentity(previousBlocks[prefix], nextBlocks[prefix])) {
|
|
10086
|
+
prefix += 1;
|
|
10087
|
+
}
|
|
10088
|
+
let suffix = 0;
|
|
10089
|
+
while (suffix < previousBlocks.length - prefix && suffix < nextBlocks.length - prefix && sameTopLevelBlockIdentity(
|
|
10090
|
+
previousBlocks[previousBlocks.length - 1 - suffix],
|
|
10091
|
+
nextBlocks[nextBlocks.length - 1 - suffix]
|
|
10092
|
+
)) {
|
|
10093
|
+
suffix += 1;
|
|
10094
|
+
}
|
|
10095
|
+
let fromBlockIndex = prefix;
|
|
10096
|
+
let toBlockIndex = previousBlocks.length - suffix;
|
|
10097
|
+
let nextFromBlockIndex = prefix;
|
|
10098
|
+
let nextToBlockIndex = nextBlocks.length - suffix;
|
|
10099
|
+
if (fromBlockIndex === toBlockIndex && nextFromBlockIndex === nextToBlockIndex) {
|
|
10100
|
+
if (previousBlocks.length === 0 && nextBlocks.length === 0) return null;
|
|
10101
|
+
fromBlockIndex = 0;
|
|
10102
|
+
toBlockIndex = previousBlocks.length;
|
|
10103
|
+
nextFromBlockIndex = 0;
|
|
10104
|
+
nextToBlockIndex = nextBlocks.length;
|
|
10105
|
+
}
|
|
10106
|
+
return {
|
|
10107
|
+
pageIds: [...input.pageIds],
|
|
10108
|
+
fromBlockIndex,
|
|
10109
|
+
toBlockIndex,
|
|
10110
|
+
nextFromBlockIndex,
|
|
10111
|
+
nextToBlockIndex,
|
|
10112
|
+
replacedBlockCount: Math.max(
|
|
10113
|
+
toBlockIndex - fromBlockIndex,
|
|
10114
|
+
nextToBlockIndex - nextFromBlockIndex
|
|
10115
|
+
)
|
|
10116
|
+
};
|
|
10117
|
+
}
|
|
10118
|
+
function sameTopLevelBlockIdentity(left, right) {
|
|
10119
|
+
return Boolean(left && right && left.blockId === right.blockId && left.kind === right.kind);
|
|
10120
|
+
}
|
|
10040
10121
|
function resolveTopLevelFragmentPatchSpans(input) {
|
|
10041
10122
|
const changedIds = uniqueStableFragmentIds(input.changedFragmentIds);
|
|
10042
10123
|
if (changedIds.length !== input.changedFragmentIds.length || changedIds.length === 0) {
|
|
@@ -10104,6 +10185,7 @@ function findBlockSpanByIdInContainer(input) {
|
|
|
10104
10185
|
let cursor = input.contentStartPm;
|
|
10105
10186
|
for (let blockIndex = 0; blockIndex < input.blocks.length; blockIndex += 1) {
|
|
10106
10187
|
const block = input.blocks[blockIndex];
|
|
10188
|
+
if (blockIndex >= input.containerNode.childCount) return null;
|
|
10107
10189
|
const childNode = input.containerNode.child(blockIndex);
|
|
10108
10190
|
const fromPm = cursor;
|
|
10109
10191
|
const toPm = fromPm + childNode.nodeSize;
|
|
@@ -10143,10 +10225,12 @@ function findBlockSpanByIdInTable(input) {
|
|
|
10143
10225
|
let rowCursor = input.tableStartPm + 1;
|
|
10144
10226
|
for (let rowIndex = 0; rowIndex < input.table.rows.length; rowIndex += 1) {
|
|
10145
10227
|
const row = input.table.rows[rowIndex];
|
|
10228
|
+
if (rowIndex >= input.tableNode.childCount) return null;
|
|
10146
10229
|
const rowNode = input.tableNode.child(rowIndex);
|
|
10147
10230
|
let cellCursor = rowCursor + 1;
|
|
10148
10231
|
for (let cellIndex = 0; cellIndex < row.cells.length; cellIndex += 1) {
|
|
10149
10232
|
const cell = row.cells[cellIndex];
|
|
10233
|
+
if (cellIndex >= rowNode.childCount) return null;
|
|
10150
10234
|
const cellNode = rowNode.child(cellIndex);
|
|
10151
10235
|
const found = findBlockSpanByIdInContainer({
|
|
10152
10236
|
blocks: cell.content,
|
|
@@ -18553,6 +18637,9 @@ var WordReviewEditor = forwardRef3(
|
|
|
18553
18637
|
onUpdateFields: () => {
|
|
18554
18638
|
activeRuntime.updateFields();
|
|
18555
18639
|
},
|
|
18640
|
+
onUpdateTableOfContents: () => {
|
|
18641
|
+
activeRuntime.updateTableOfContents();
|
|
18642
|
+
},
|
|
18556
18643
|
onAskAgentForSelection: () => {
|
|
18557
18644
|
const { selection } = snapshot;
|
|
18558
18645
|
onEventRef.current?.({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-BQ7AB-0v.cjs';
|
|
2
2
|
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CfZIc-fC.cjs';
|
|
3
|
-
import { b7 as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
3
|
+
import { b7 as EditorAnchorProjection } from '../public-types-D31xKNGc.cjs';
|
|
4
|
+
import '../types-B2y94n5t.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-
|
|
1
|
+
export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-Cy6OYBfn.js';
|
|
2
2
|
import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CfZIc-fC.js';
|
|
3
|
-
import { b7 as EditorAnchorProjection } from '../public-types-
|
|
4
|
-
import '../types-
|
|
3
|
+
import { b7 as EditorAnchorProjection } from '../public-types-DqYt8GdP.js';
|
|
4
|
+
import '../types-SllbCtGs.js';
|
|
5
5
|
import 'react';
|
|
6
6
|
import 'yjs';
|
|
7
7
|
import 'y-protocols/awareness';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CanonicalDocument } from './canonical-document-CfZIc-fC.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-
|
|
3
|
-
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-
|
|
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-D31xKNGc.cjs';
|
|
3
|
+
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-B2y94n5t.cjs';
|
|
4
4
|
|
|
5
5
|
interface EditorStatePayloadNamespaceEntry {
|
|
6
6
|
namespace: EditorStateNamespace;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as CanonicalDocument } from './canonical-document-CfZIc-fC.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-
|
|
3
|
-
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-
|
|
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-DqYt8GdP.js';
|
|
3
|
+
import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-SllbCtGs.js';
|
|
4
4
|
|
|
5
5
|
interface EditorStatePayloadNamespaceEntry {
|
|
6
6
|
namespace: EditorStateNamespace;
|
|
@@ -124,7 +124,7 @@ type ProductSectionBreakType = "nextPage" | "continuous" | "evenPage" | "oddPage
|
|
|
124
124
|
* kinds; the builder then asks the registry for every action whose
|
|
125
125
|
* `targetKinds` set includes at least one of the resolved kinds.
|
|
126
126
|
*/
|
|
127
|
-
type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
127
|
+
type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "toc-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
128
128
|
/**
|
|
129
129
|
* Host callbacks the editor shell passes down to the registry. All
|
|
130
130
|
* fields are optional — the registry's `when()` predicates filter out
|
|
@@ -188,6 +188,7 @@ interface EditorActionHostCallbacks {
|
|
|
188
188
|
readonly onRemoveHyperlink?: () => void;
|
|
189
189
|
readonly onOpenHyperlink?: () => void;
|
|
190
190
|
readonly onUpdateFields?: () => void;
|
|
191
|
+
readonly onUpdateTableOfContents?: () => void;
|
|
191
192
|
readonly onJumpToScopeInRail?: () => void;
|
|
192
193
|
readonly onOpenScopeCard?: () => void;
|
|
193
194
|
readonly onMarkScopeResolved?: () => void;
|
|
@@ -5881,6 +5882,17 @@ type EditorCommand = {
|
|
|
5881
5882
|
selection?: SelectionSnapshot$1;
|
|
5882
5883
|
editableTarget?: EditableTargetRef;
|
|
5883
5884
|
origin?: CommandOrigin;
|
|
5885
|
+
} | {
|
|
5886
|
+
/**
|
|
5887
|
+
* Suggesting-mode structured-fragment replacement. Inserts the fragment
|
|
5888
|
+
* at the replacement boundary, leaves the original range in place, and
|
|
5889
|
+
* authors linked insertion/deletion revisions for accept/reject.
|
|
5890
|
+
*/
|
|
5891
|
+
type: "fragment.insert-tracked";
|
|
5892
|
+
fragment: CanonicalDocumentFragment;
|
|
5893
|
+
selection?: SelectionSnapshot$1;
|
|
5894
|
+
editableTarget?: EditableTargetRef;
|
|
5895
|
+
origin?: CommandOrigin;
|
|
5884
5896
|
} | {
|
|
5885
5897
|
type: "runtime.set-read-only";
|
|
5886
5898
|
readOnly: boolean;
|
|
@@ -7323,7 +7335,7 @@ interface ValidationResult$1 {
|
|
|
7323
7335
|
* Kept narrow — one step per mutation — so the audit bundle's
|
|
7324
7336
|
* `compiledOperations` is a faithful ledger of what the runtime did.
|
|
7325
7337
|
*/
|
|
7326
|
-
type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "formatting-apply";
|
|
7338
|
+
type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "fragment-replace-tracked" | "formatting-apply";
|
|
7327
7339
|
interface RuntimeOperationStep {
|
|
7328
7340
|
readonly kind: RuntimeOperationStepKind;
|
|
7329
7341
|
/** Human-readable one-line description; used in audit `compiledOperations`. */
|
|
@@ -7898,6 +7910,8 @@ type ActiveStoryTextCommand = Extract<EditorCommand, {
|
|
|
7898
7910
|
type: "paragraph.split";
|
|
7899
7911
|
}> | Extract<EditorCommand, {
|
|
7900
7912
|
type: "fragment.insert";
|
|
7913
|
+
}> | Extract<EditorCommand, {
|
|
7914
|
+
type: "fragment.insert-tracked";
|
|
7901
7915
|
}>;
|
|
7902
7916
|
interface DocumentRuntime {
|
|
7903
7917
|
subscribe(listener: () => void): Unsubscribe;
|
|
@@ -12182,6 +12196,92 @@ declare function createOutlineFamily(runtime: RuntimeApiHandle): {
|
|
|
12182
12196
|
getDocumentOutline(): GetDocumentOutlineResult;
|
|
12183
12197
|
};
|
|
12184
12198
|
|
|
12199
|
+
/**
|
|
12200
|
+
* @endStateApi v3 — `ai.object` family.
|
|
12201
|
+
*
|
|
12202
|
+
* Object mutations use opaque handles derived from L08 object editable-target
|
|
12203
|
+
* evidence. This promotes image layout mutation through existing L07 image
|
|
12204
|
+
* commands without treating object scopes as text-replacement surfaces.
|
|
12205
|
+
*/
|
|
12206
|
+
|
|
12207
|
+
type AiObjectActionHandle = string;
|
|
12208
|
+
interface ListObjectActionsInput {
|
|
12209
|
+
readonly handle: ScopeHandle;
|
|
12210
|
+
readonly nowUtc: string;
|
|
12211
|
+
}
|
|
12212
|
+
type AiObjectActionOperation = {
|
|
12213
|
+
readonly kind: "set-image-layout";
|
|
12214
|
+
readonly dimensions: {
|
|
12215
|
+
readonly widthEmu: number;
|
|
12216
|
+
readonly heightEmu: number;
|
|
12217
|
+
};
|
|
12218
|
+
};
|
|
12219
|
+
interface AiObjectActionDescriptor {
|
|
12220
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12221
|
+
readonly objectKind: string;
|
|
12222
|
+
readonly targetKind: string;
|
|
12223
|
+
readonly relation: string;
|
|
12224
|
+
readonly callableOperations: readonly AiObjectActionOperation["kind"][];
|
|
12225
|
+
readonly supportedOperations: readonly AiObjectActionOperation["kind"][];
|
|
12226
|
+
readonly readback?: AiObjectReadback;
|
|
12227
|
+
readonly reason: string;
|
|
12228
|
+
}
|
|
12229
|
+
interface AiObjectReadback {
|
|
12230
|
+
readonly mediaId?: string;
|
|
12231
|
+
readonly widthEmu?: number;
|
|
12232
|
+
readonly heightEmu?: number;
|
|
12233
|
+
}
|
|
12234
|
+
interface AiObjectActionListResult {
|
|
12235
|
+
readonly scopeId: string;
|
|
12236
|
+
readonly actions: readonly AiObjectActionDescriptor[];
|
|
12237
|
+
readonly blockers?: readonly string[];
|
|
12238
|
+
}
|
|
12239
|
+
interface ApplyObjectActionInput {
|
|
12240
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12241
|
+
readonly operation: AiObjectActionOperation;
|
|
12242
|
+
readonly scopeId?: string;
|
|
12243
|
+
readonly actorId?: string;
|
|
12244
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
12245
|
+
readonly proposalId?: string;
|
|
12246
|
+
}
|
|
12247
|
+
interface AiObjectActionBlockerDetail {
|
|
12248
|
+
readonly code: string;
|
|
12249
|
+
readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
|
|
12250
|
+
readonly message: string;
|
|
12251
|
+
readonly nextStep: string;
|
|
12252
|
+
readonly actionHandle?: AiObjectActionHandle;
|
|
12253
|
+
readonly operation?: string;
|
|
12254
|
+
}
|
|
12255
|
+
interface AiObjectActionCommandReference {
|
|
12256
|
+
readonly command: "image.set-layout";
|
|
12257
|
+
readonly actorId: string;
|
|
12258
|
+
readonly origin: "ui" | "agent" | "host";
|
|
12259
|
+
readonly emittedAtUtc: string;
|
|
12260
|
+
}
|
|
12261
|
+
interface ApplyObjectActionResult {
|
|
12262
|
+
readonly proposalId: string;
|
|
12263
|
+
readonly applied: boolean;
|
|
12264
|
+
readonly changed: boolean;
|
|
12265
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12266
|
+
readonly operation: AiObjectActionOperation["kind"];
|
|
12267
|
+
readonly reason?: string;
|
|
12268
|
+
readonly blockers?: readonly string[];
|
|
12269
|
+
readonly blockerDetails?: readonly AiObjectActionBlockerDetail[];
|
|
12270
|
+
readonly commandReference?: AiObjectActionCommandReference;
|
|
12271
|
+
readonly readback?: AiObjectReadback;
|
|
12272
|
+
readonly posture?: "supported";
|
|
12273
|
+
readonly support?: {
|
|
12274
|
+
readonly undo: "supported";
|
|
12275
|
+
readonly replay: "supported";
|
|
12276
|
+
readonly exportReopen: "supported";
|
|
12277
|
+
readonly audit: "command-reference";
|
|
12278
|
+
};
|
|
12279
|
+
}
|
|
12280
|
+
declare function createObjectActionFamily(runtime: RuntimeApiHandle): {
|
|
12281
|
+
listObjectActions(input: ListObjectActionsInput): AiObjectActionListResult;
|
|
12282
|
+
applyObjectAction(input: ApplyObjectActionInput): ApplyObjectActionResult;
|
|
12283
|
+
};
|
|
12284
|
+
|
|
12185
12285
|
/**
|
|
12186
12286
|
* @endStateApi — live-with-adapter. v3 `ai.actions` category.
|
|
12187
12287
|
*
|
|
@@ -12237,6 +12337,42 @@ interface LocateActionsResult {
|
|
|
12237
12337
|
readonly blockers?: readonly string[];
|
|
12238
12338
|
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12239
12339
|
}
|
|
12340
|
+
interface CreatePlaceholderScopesActionsInput {
|
|
12341
|
+
/**
|
|
12342
|
+
* Defaults to a bracketed placeholder regex: `\[[^\[\]]{1,200}\]`.
|
|
12343
|
+
*/
|
|
12344
|
+
readonly query?: string;
|
|
12345
|
+
readonly regex?: boolean;
|
|
12346
|
+
readonly limit?: number;
|
|
12347
|
+
readonly matchCase?: boolean;
|
|
12348
|
+
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
12349
|
+
readonly labelPrefix?: string;
|
|
12350
|
+
readonly visibility?: ScopeVisibility;
|
|
12351
|
+
readonly guardPolicy?: WorkflowScopeGuardPolicy;
|
|
12352
|
+
readonly assoc?: {
|
|
12353
|
+
readonly start: -1 | 1;
|
|
12354
|
+
readonly end: -1 | 1;
|
|
12355
|
+
};
|
|
12356
|
+
readonly stableRefHint?: "scope-id" | "bookmark" | "semantic-path" | "runtime-handle";
|
|
12357
|
+
}
|
|
12358
|
+
interface PlaceholderScopeCreationItem {
|
|
12359
|
+
readonly status: "created" | "blocked";
|
|
12360
|
+
readonly text: string;
|
|
12361
|
+
readonly excerpt: string;
|
|
12362
|
+
readonly scopeId?: string;
|
|
12363
|
+
readonly handle?: ScopeHandle;
|
|
12364
|
+
readonly blockers?: readonly string[];
|
|
12365
|
+
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12366
|
+
}
|
|
12367
|
+
interface CreatePlaceholderScopesActionsResult {
|
|
12368
|
+
readonly status: "created" | "partial" | "not-found" | "blocked";
|
|
12369
|
+
readonly totalHits: number;
|
|
12370
|
+
readonly created: number;
|
|
12371
|
+
readonly blocked: number;
|
|
12372
|
+
readonly scopes: readonly PlaceholderScopeCreationItem[];
|
|
12373
|
+
readonly blockers?: readonly string[];
|
|
12374
|
+
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12375
|
+
}
|
|
12240
12376
|
interface DiscoverActionsInput {
|
|
12241
12377
|
readonly target?: AiActionsTargetInput;
|
|
12242
12378
|
}
|
|
@@ -12716,6 +12852,7 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
|
|
|
12716
12852
|
discover(input?: DiscoverActionsInput): DiscoverActionsResult;
|
|
12717
12853
|
locate(input: LocateActionsInput): LocateActionsResult;
|
|
12718
12854
|
locateAll(input: LocateActionsInput): LocateActionsResult;
|
|
12855
|
+
createPlaceholderScopes(input?: CreatePlaceholderScopesActionsInput): CreatePlaceholderScopesActionsResult;
|
|
12719
12856
|
rewrite(input: RewriteActionsInput): ApplyActionsResult;
|
|
12720
12857
|
rewriteAll(input: RewriteAllActionsInput): ApplyActionsResult;
|
|
12721
12858
|
insertText(input: InsertTextActionsInput): ApplyActionsResult;
|
|
@@ -13576,7 +13713,7 @@ type ApiV3Runtime = {
|
|
|
13576
13713
|
readonly viewport: ReturnType<typeof createViewportFamily>;
|
|
13577
13714
|
readonly lists: ReturnType<typeof createListsFamily>;
|
|
13578
13715
|
};
|
|
13579
|
-
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
13716
|
+
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createObjectActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
13580
13717
|
interface ApiV3 {
|
|
13581
13718
|
readonly runtime: ApiV3Runtime;
|
|
13582
13719
|
readonly ai: ApiV3Ai;
|
|
@@ -16430,6 +16567,12 @@ interface ExportDocxOptions {
|
|
|
16430
16567
|
interface ExportDelivery {
|
|
16431
16568
|
mode: "downloaded" | "persisted-by-host" | "exported-bytes-only";
|
|
16432
16569
|
savedAt?: string;
|
|
16570
|
+
/**
|
|
16571
|
+
* True when the caller explicitly passed `download: false`. Event consumers
|
|
16572
|
+
* must honor this by skipping secondary automatic downloads, even when the
|
|
16573
|
+
* bytes were also persisted through a host/datastore export target.
|
|
16574
|
+
*/
|
|
16575
|
+
downloadSuppressed?: boolean;
|
|
16433
16576
|
}
|
|
16434
16577
|
interface ExportResult {
|
|
16435
16578
|
bytes: Uint8Array;
|