@beyondwork/docx-react-component 1.0.133 → 1.0.134

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.
Files changed (70) hide show
  1. package/dist/api/public-types.cjs +3 -1
  2. package/dist/api/public-types.d.cts +1 -1
  3. package/dist/api/public-types.d.ts +1 -1
  4. package/dist/api/public-types.js +1 -1
  5. package/dist/api/v3.cjs +688 -45
  6. package/dist/api/v3.d.cts +2 -2
  7. package/dist/api/v3.d.ts +2 -2
  8. package/dist/api/v3.js +3 -3
  9. package/dist/{chunk-S3PEKX6H.js → chunk-3YR47WTD.js} +53 -547
  10. package/dist/{chunk-57HTKX3P.js → chunk-74R5B2EZ.js} +1 -1
  11. package/dist/{chunk-KL4TZSZV.js → chunk-7Y6JCIK3.js} +1 -1
  12. package/dist/{chunk-3JEE5RJU.js → chunk-EBSI6VQX.js} +457 -16
  13. package/dist/{chunk-OTRVGNZQ.js → chunk-ESEEWELA.js} +547 -2
  14. package/dist/{chunk-224TSMEB.js → chunk-IJD6D7HU.js} +137 -41
  15. package/dist/{chunk-CVSD3UNK.js → chunk-O4EDZR44.js} +3 -1
  16. package/dist/{chunk-ZFCZ7XXH.js → chunk-VA24T4EB.js} +1 -1
  17. package/dist/core/commands/formatting-commands.d.cts +1 -1
  18. package/dist/core/commands/formatting-commands.d.ts +1 -1
  19. package/dist/core/commands/image-commands.d.cts +1 -1
  20. package/dist/core/commands/image-commands.d.ts +1 -1
  21. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  22. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  23. package/dist/core/commands/style-commands.d.cts +1 -1
  24. package/dist/core/commands/style-commands.d.ts +1 -1
  25. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  26. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  27. package/dist/core/commands/text-commands.d.cts +1 -1
  28. package/dist/core/commands/text-commands.d.ts +1 -1
  29. package/dist/core/selection/mapping.d.cts +1 -1
  30. package/dist/core/selection/mapping.d.ts +1 -1
  31. package/dist/core/state/editor-state.d.cts +1 -1
  32. package/dist/core/state/editor-state.d.ts +1 -1
  33. package/dist/index.cjs +1289 -615
  34. package/dist/index.d.cts +4 -4
  35. package/dist/index.d.ts +4 -4
  36. package/dist/index.js +105 -19
  37. package/dist/io/docx-session.d.cts +3 -3
  38. package/dist/io/docx-session.d.ts +3 -3
  39. package/dist/{loader-B2H99237.d.cts → loader-CK3lZy4h.d.cts} +2 -2
  40. package/dist/{loader-DfTjqVwn.d.ts → loader-CQXplstv.d.ts} +2 -2
  41. package/dist/{public-types-S8gTYwKo.d.cts → public-types-BR1SYK2F.d.cts} +140 -3
  42. package/dist/{public-types-B5lOUIrP.d.ts → public-types-DXNZVKrS.d.ts} +140 -3
  43. package/dist/public-types.cjs +3 -1
  44. package/dist/public-types.d.cts +1 -1
  45. package/dist/public-types.d.ts +1 -1
  46. package/dist/public-types.js +1 -1
  47. package/dist/runtime/collab.d.cts +2 -2
  48. package/dist/runtime/collab.d.ts +2 -2
  49. package/dist/runtime/document-runtime.cjs +591 -54
  50. package/dist/runtime/document-runtime.d.cts +1 -1
  51. package/dist/runtime/document-runtime.d.ts +1 -1
  52. package/dist/runtime/document-runtime.js +4 -4
  53. package/dist/{session-CBDIOYXA.d.ts → session-C9UjrhJF.d.ts} +2 -2
  54. package/dist/{session-CR2A1hGZ.d.cts → session-CSbwkgII.d.cts} +2 -2
  55. package/dist/session.d.cts +4 -4
  56. package/dist/session.d.ts +4 -4
  57. package/dist/tailwind.cjs +54 -546
  58. package/dist/tailwind.d.cts +1 -1
  59. package/dist/tailwind.d.ts +1 -1
  60. package/dist/tailwind.js +4 -4
  61. package/dist/{types-yty2K-hk.d.cts → types-CZtAueri.d.cts} +1 -1
  62. package/dist/{types-B-90ywjU.d.ts → types-RzkCXDNV.d.ts} +1 -1
  63. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  64. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  65. package/dist/ui-tailwind/editor-surface/search-plugin.js +2 -2
  66. package/dist/ui-tailwind.cjs +54 -546
  67. package/dist/ui-tailwind.d.cts +2 -2
  68. package/dist/ui-tailwind.d.ts +2 -2
  69. package/dist/ui-tailwind.js +4 -4
  70. 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-S8gTYwKo.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-S8gTYwKo.cjs';
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-BR1SYK2F.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-BR1SYK2F.cjs';
3
3
  import React__default from 'react';
4
- export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-CR2A1hGZ.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-yty2K-hk.cjs';
4
+ export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-CSbwkgII.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-CZtAueri.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-B5lOUIrP.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-B5lOUIrP.js';
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-DXNZVKrS.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-DXNZVKrS.js';
3
3
  import React__default from 'react';
4
- export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-CBDIOYXA.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-B-90ywjU.js';
4
+ export { D as DocxSession, S as SessionNotOpenError, a as SessionNotWiredError } from './session-C9UjrhJF.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-RzkCXDNV.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-ZFCZ7XXH.js";
7
+ } from "./chunk-VA24T4EB.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-3JEE5RJU.js";
29
+ } from "./chunk-EBSI6VQX.js";
30
30
  import {
31
31
  applyParagraphStyleToDocument
32
32
  } from "./chunk-6EXNNAO6.js";
@@ -88,10 +88,10 @@ import {
88
88
  shouldRenderSelectionToolKind,
89
89
  shouldUseMountedSurfaceViewportCulling,
90
90
  useLayoutFacetRenderSignal
91
- } from "./chunk-S3PEKX6H.js";
91
+ } from "./chunk-3YR47WTD.js";
92
92
  import {
93
93
  createInertGeometryFacet
94
- } from "./chunk-57HTKX3P.js";
94
+ } from "./chunk-74R5B2EZ.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-OTRVGNZQ.js";
108
+ } from "./chunk-ESEEWELA.js";
109
109
  import {
110
110
  findTextMatches,
111
111
  parseCanonicalFragmentFromWordML,
112
112
  searchDocument
113
- } from "./chunk-224TSMEB.js";
113
+ } from "./chunk-IJD6D7HU.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-CVSD3UNK.js";
145
+ } from "./chunk-O4EDZR44.js";
146
146
  import "./chunk-OVLZQ6FZ.js";
147
147
  import "./chunk-QIO6V46H.js";
148
148
  import {
@@ -6534,8 +6534,39 @@ function buildPositionMap(surface) {
6534
6534
  }
6535
6535
  return lastStoryRestorableEntry(entries)?.pmEnd ?? 1;
6536
6536
  };
6537
+ const runtimeToPmWithBias = (runtimePos, bias) => {
6538
+ if (bias > 0) return runtimeToPm(runtimePos);
6539
+ const firstEditable = entries.find(isStoryRuntimeRestorableEntry);
6540
+ if (runtimePos <= 0) {
6541
+ return firstEditable?.pmStart ?? 1;
6542
+ }
6543
+ if (runtimePos >= runtimeStorySize) {
6544
+ return lastStoryRestorableEntry(entries)?.pmEnd ?? pmDocSize - 1;
6545
+ }
6546
+ let previous = null;
6547
+ for (const entry of entries) {
6548
+ if (!isStoryRuntimeRestorableEntry(entry)) {
6549
+ continue;
6550
+ }
6551
+ if (entry.runtimeStart === entry.runtimeEnd && runtimePos === entry.runtimeStart) {
6552
+ return previous?.pmEnd ?? entry.pmStart;
6553
+ }
6554
+ if (runtimePos > entry.runtimeStart && runtimePos <= entry.runtimeEnd) {
6555
+ return entry.pmStart + (runtimePos - entry.runtimeStart);
6556
+ }
6557
+ if (runtimePos <= entry.runtimeStart) {
6558
+ if (runtimePos === entry.runtimeStart && previous) {
6559
+ return previous.pmEnd;
6560
+ }
6561
+ return nearestRuntimeGapPm(runtimePos, previous, entry);
6562
+ }
6563
+ previous = entry;
6564
+ }
6565
+ return lastStoryRestorableEntry(entries)?.pmEnd ?? 1;
6566
+ };
6537
6567
  return {
6538
6568
  runtimeToPm,
6569
+ runtimeToPmWithBias,
6539
6570
  runtimeToPmWithContext(input) {
6540
6571
  const targetEntry = input.editableTarget ? findRestorableEntryForTarget(entries, input.editableTarget, input.runtimePos) : void 0;
6541
6572
  if (targetEntry) {
@@ -8596,9 +8627,10 @@ function buildAnchorPmRange(anchor, positionMap) {
8596
8627
  return null;
8597
8628
  }
8598
8629
  if (anchor.kind === "range") {
8630
+ const mapBoundary = (runtimePos, bias) => positionMap.runtimeToPmWithBias ? positionMap.runtimeToPmWithBias(runtimePos, bias) : positionMap.runtimeToPm(runtimePos);
8599
8631
  return {
8600
- from: positionMap.runtimeToPm(anchor.from),
8601
- to: positionMap.runtimeToPm(anchor.to),
8632
+ from: mapBoundary(anchor.from, anchor.assoc?.start ?? 1),
8633
+ to: mapBoundary(anchor.to, anchor.assoc?.end ?? -1),
8602
8634
  allowInline: true
8603
8635
  };
8604
8636
  }
@@ -9845,13 +9877,6 @@ function resolvePmPageBodyPatchPlan(input) {
9845
9877
  ...input.patchPlan.addedPages,
9846
9878
  ...input.patchPlan.removedPages
9847
9879
  ];
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
9880
  if (input.currentDoc.childCount !== input.previousSurface.blocks.length || input.nextDoc.childCount !== input.nextSurface.blocks.length) {
9856
9881
  return {
9857
9882
  status: "fallback",
@@ -9928,6 +9953,21 @@ function resolvePmPageBodyPatchPlan(input) {
9928
9953
  ]
9929
9954
  );
9930
9955
  }
9956
+ if (membershipChangedPageIds.length > 0 && !input.currentDoc.eq(input.nextDoc)) {
9957
+ const membershipSpan = resolveTopLevelMembershipPatchSpan({
9958
+ pageIds: membershipChangedPageIds,
9959
+ previousSurface: input.previousSurface,
9960
+ nextSurface: input.nextSurface
9961
+ });
9962
+ if (!membershipSpan) {
9963
+ return {
9964
+ status: "fallback",
9965
+ reason: "page-membership-change",
9966
+ pageIds: membershipChangedPageIds
9967
+ };
9968
+ }
9969
+ rawSpans.push(membershipSpan);
9970
+ }
9931
9971
  if (rawSpans.length === 0) {
9932
9972
  if (membershipChangedPageIds.length > 0 && !input.currentDoc.eq(input.nextDoc)) {
9933
9973
  return {
@@ -10004,17 +10044,17 @@ function resolveNestedPatchSpan(input) {
10004
10044
  (id) => findNestedBlockSpanById(input.nextSurface.blocks, input.nextDoc, id)
10005
10045
  );
10006
10046
  if (previousLocated.some((span) => !span) || nextLocated.some((span) => !span)) {
10007
- return { status: "fallback", reason: "nested-span-unavailable" };
10047
+ return { status: "top-level" };
10008
10048
  }
10009
10049
  if (previousLocated.some(isUnpatchableVerticalMergeContinuationSpan) || nextLocated.some(isUnpatchableVerticalMergeContinuationSpan)) {
10010
- return { status: "fallback", reason: "split-row-continuation" };
10050
+ return { status: "top-level" };
10011
10051
  }
10012
10052
  const previousSpans = previousLocated;
10013
10053
  const nextSpans = nextLocated;
10014
10054
  const previousKinds = new Set(previousSpans.map((span) => span.block.kind));
10015
10055
  const nextKinds = new Set(nextSpans.map((span) => span.block.kind));
10016
10056
  if (previousKinds.size !== nextKinds.size || [...previousKinds].some((kind) => !nextKinds.has(kind))) {
10017
- return { status: "fallback", reason: "nested-span-unavailable" };
10057
+ return { status: "top-level" };
10018
10058
  }
10019
10059
  return {
10020
10060
  status: "nested",
@@ -10037,6 +10077,46 @@ function isUnpatchableVerticalMergeContinuationSpan(span) {
10037
10077
  span?.insideVerticalMergeContinuation && span.fromPm >= span.toPm
10038
10078
  );
10039
10079
  }
10080
+ function resolveTopLevelMembershipPatchSpan(input) {
10081
+ const previousBlocks = input.previousSurface.blocks;
10082
+ const nextBlocks = input.nextSurface.blocks;
10083
+ let prefix = 0;
10084
+ while (prefix < previousBlocks.length && prefix < nextBlocks.length && sameTopLevelBlockIdentity(previousBlocks[prefix], nextBlocks[prefix])) {
10085
+ prefix += 1;
10086
+ }
10087
+ let suffix = 0;
10088
+ while (suffix < previousBlocks.length - prefix && suffix < nextBlocks.length - prefix && sameTopLevelBlockIdentity(
10089
+ previousBlocks[previousBlocks.length - 1 - suffix],
10090
+ nextBlocks[nextBlocks.length - 1 - suffix]
10091
+ )) {
10092
+ suffix += 1;
10093
+ }
10094
+ let fromBlockIndex = prefix;
10095
+ let toBlockIndex = previousBlocks.length - suffix;
10096
+ let nextFromBlockIndex = prefix;
10097
+ let nextToBlockIndex = nextBlocks.length - suffix;
10098
+ if (fromBlockIndex === toBlockIndex && nextFromBlockIndex === nextToBlockIndex) {
10099
+ if (previousBlocks.length === 0 && nextBlocks.length === 0) return null;
10100
+ fromBlockIndex = 0;
10101
+ toBlockIndex = previousBlocks.length;
10102
+ nextFromBlockIndex = 0;
10103
+ nextToBlockIndex = nextBlocks.length;
10104
+ }
10105
+ return {
10106
+ pageIds: [...input.pageIds],
10107
+ fromBlockIndex,
10108
+ toBlockIndex,
10109
+ nextFromBlockIndex,
10110
+ nextToBlockIndex,
10111
+ replacedBlockCount: Math.max(
10112
+ toBlockIndex - fromBlockIndex,
10113
+ nextToBlockIndex - nextFromBlockIndex
10114
+ )
10115
+ };
10116
+ }
10117
+ function sameTopLevelBlockIdentity(left, right) {
10118
+ return Boolean(left && right && left.blockId === right.blockId && left.kind === right.kind);
10119
+ }
10040
10120
  function resolveTopLevelFragmentPatchSpans(input) {
10041
10121
  const changedIds = uniqueStableFragmentIds(input.changedFragmentIds);
10042
10122
  if (changedIds.length !== input.changedFragmentIds.length || changedIds.length === 0) {
@@ -10104,6 +10184,7 @@ function findBlockSpanByIdInContainer(input) {
10104
10184
  let cursor = input.contentStartPm;
10105
10185
  for (let blockIndex = 0; blockIndex < input.blocks.length; blockIndex += 1) {
10106
10186
  const block = input.blocks[blockIndex];
10187
+ if (blockIndex >= input.containerNode.childCount) return null;
10107
10188
  const childNode = input.containerNode.child(blockIndex);
10108
10189
  const fromPm = cursor;
10109
10190
  const toPm = fromPm + childNode.nodeSize;
@@ -10143,10 +10224,12 @@ function findBlockSpanByIdInTable(input) {
10143
10224
  let rowCursor = input.tableStartPm + 1;
10144
10225
  for (let rowIndex = 0; rowIndex < input.table.rows.length; rowIndex += 1) {
10145
10226
  const row = input.table.rows[rowIndex];
10227
+ if (rowIndex >= input.tableNode.childCount) return null;
10146
10228
  const rowNode = input.tableNode.child(rowIndex);
10147
10229
  let cellCursor = rowCursor + 1;
10148
10230
  for (let cellIndex = 0; cellIndex < row.cells.length; cellIndex += 1) {
10149
10231
  const cell = row.cells[cellIndex];
10232
+ if (cellIndex >= rowNode.childCount) return null;
10150
10233
  const cellNode = rowNode.child(cellIndex);
10151
10234
  const found = findBlockSpanByIdInContainer({
10152
10235
  blocks: cell.content,
@@ -18553,6 +18636,9 @@ var WordReviewEditor = forwardRef3(
18553
18636
  onUpdateFields: () => {
18554
18637
  activeRuntime.updateFields();
18555
18638
  },
18639
+ onUpdateTableOfContents: () => {
18640
+ activeRuntime.updateTableOfContents();
18641
+ },
18556
18642
  onAskAgentForSelection: () => {
18557
18643
  const { selection } = snapshot;
18558
18644
  onEventRef.current?.({
@@ -1,7 +1,7 @@
1
- export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-B2H99237.cjs';
1
+ export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-CK3lZy4h.cjs';
2
2
  import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CfZIc-fC.cjs';
3
- import { b7 as EditorAnchorProjection } from '../public-types-S8gTYwKo.cjs';
4
- import '../types-yty2K-hk.cjs';
3
+ import { b7 as EditorAnchorProjection } from '../public-types-BR1SYK2F.cjs';
4
+ import '../types-CZtAueri.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-DfTjqVwn.js';
1
+ export { a as LoadDocxEditorSessionAsyncOptions, b as LoadDocxEditorSessionOptions, L as LoadedDocxEditorSession, l as loadDocxEditorSessionAsync } from '../loader-CQXplstv.js';
2
2
  import { R as RevisionStoryTargetRecord, O as OpaqueFragmentRecord } from '../canonical-document-CfZIc-fC.js';
3
- import { b7 as EditorAnchorProjection } from '../public-types-B5lOUIrP.js';
4
- import '../types-B-90ywjU.js';
3
+ import { b7 as EditorAnchorProjection } from '../public-types-DXNZVKrS.js';
4
+ import '../types-RzkCXDNV.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-S8gTYwKo.cjs';
3
- import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-yty2K-hk.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-BR1SYK2F.cjs';
3
+ import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-CZtAueri.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-B5lOUIrP.js';
3
- import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-B-90ywjU.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-DXNZVKrS.js';
3
+ import { E as EmbeddedDocumentManifest, e as ProgressiveSurfaceProjector } from './types-RzkCXDNV.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;