@beyondwork/docx-react-component 1.0.125 → 1.0.127

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 (59) hide show
  1. package/dist/api/public-types.d.cts +1 -1
  2. package/dist/api/public-types.d.ts +1 -1
  3. package/dist/api/v3.cjs +84 -25
  4. package/dist/api/v3.d.cts +2 -2
  5. package/dist/api/v3.d.ts +2 -2
  6. package/dist/api/v3.js +2 -2
  7. package/dist/{chunk-JN444Z5S.js → chunk-46KNRA4C.js} +34 -24
  8. package/dist/{chunk-4G3OS2H6.js → chunk-LZVBNDGU.js} +3 -0
  9. package/dist/{chunk-QT3LX4FA.js → chunk-PUMZWE2D.js} +311 -39
  10. package/dist/{chunk-OHTK7F3F.js → chunk-XRACP43Q.js} +51 -2
  11. package/dist/core/commands/formatting-commands.d.cts +1 -1
  12. package/dist/core/commands/formatting-commands.d.ts +1 -1
  13. package/dist/core/commands/image-commands.d.cts +1 -1
  14. package/dist/core/commands/image-commands.d.ts +1 -1
  15. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  16. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  17. package/dist/core/commands/style-commands.d.cts +1 -1
  18. package/dist/core/commands/style-commands.d.ts +1 -1
  19. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  20. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  21. package/dist/core/commands/text-commands.cjs +3 -0
  22. package/dist/core/commands/text-commands.d.cts +2 -1
  23. package/dist/core/commands/text-commands.d.ts +2 -1
  24. package/dist/core/commands/text-commands.js +1 -1
  25. package/dist/core/selection/mapping.d.cts +1 -1
  26. package/dist/core/selection/mapping.d.ts +1 -1
  27. package/dist/core/state/editor-state.d.cts +1 -1
  28. package/dist/core/state/editor-state.d.ts +1 -1
  29. package/dist/index.cjs +424 -72
  30. package/dist/index.d.cts +4 -4
  31. package/dist/index.d.ts +4 -4
  32. package/dist/index.js +27 -8
  33. package/dist/io/docx-session.d.cts +3 -3
  34. package/dist/io/docx-session.d.ts +3 -3
  35. package/dist/{loader-B1MxvbeV.d.ts → loader-CFICtb9m.d.ts} +2 -2
  36. package/dist/{loader-CJXsswcd.d.cts → loader-DveZOVuC.d.cts} +2 -2
  37. package/dist/{public-types-BEGhv2YR.d.ts → public-types-Cgl3efbO.d.ts} +51 -6
  38. package/dist/{public-types-DrhlQ5Zy.d.cts → public-types-beSYFJRR.d.cts} +51 -6
  39. package/dist/public-types.d.cts +1 -1
  40. package/dist/public-types.d.ts +1 -1
  41. package/dist/runtime/collab.d.cts +2 -2
  42. package/dist/runtime/collab.d.ts +2 -2
  43. package/dist/runtime/document-runtime.cjs +315 -38
  44. package/dist/runtime/document-runtime.d.cts +1 -1
  45. package/dist/runtime/document-runtime.d.ts +1 -1
  46. package/dist/runtime/document-runtime.js +3 -3
  47. package/dist/{session-Bp3zqnkS.d.cts → session-B7u82EJF.d.cts} +2 -2
  48. package/dist/{session-xMOU_NtL.d.ts → session-BWMJ9jm4.d.ts} +2 -2
  49. package/dist/session.d.cts +4 -4
  50. package/dist/session.d.ts +4 -4
  51. package/dist/tailwind.d.cts +1 -1
  52. package/dist/tailwind.d.ts +1 -1
  53. package/dist/{types-DDPxEygX.d.cts → types-BQjdVZsh.d.cts} +1 -1
  54. package/dist/{types-BFT8536T.d.ts → types-DvvmS5A7.d.ts} +1 -1
  55. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  56. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  57. package/dist/ui-tailwind.d.cts +2 -2
  58. package/dist/ui-tailwind.d.ts +2 -2
  59. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-DrhlQ5Zy.cjs';
2
+ export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-beSYFJRR.cjs';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CXCFCbAz.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-BEGhv2YR.js';
2
+ export { bf as ActiveListContext, gL as ActiveMarginPreset, bg as ActiveNoteContext, gM as ActivePageFormat, bh as AddCommentParams, bi as AddCommentReplyResult, bj as AddCommentResult, gN as AddScopeParams, gO as AddScopeResult, bk as AiExplanationScopeInput, bl as AiExplanationScopeResult, bo as AutosaveConfig, bp as AutosaveState, br as BatchEditEntryResult, bs as BatchEditOperation, bt as BatchEditOptions, bu as BatchEditResult, gP as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gQ as CanonicalDocumentFragment, gR as CapabilityBlockReason, gS as CapabilityCategory, gT as CapabilityKind, gU as CapabilityShortcut, bv as CaretAffinity, bw as ChangeAnchor, bx as ChangeFilter, by as ChartPreviewResolveParams, bz as ChartSnapshot, bA as ChartSnapshotBubbleSeries, bB as ChartSnapshotData, bC as ChartSnapshotScatterSeries, bD as ChartSnapshotSeries, eW as ChromePinSurface, fd as ChromePinsState, gV as ClearHighlightOptions, bF as CollabSession, bL as CommandStateSnapshot, b$ as CommentSidebarSnapshot, c0 as CommentSidebarThreadEntrySnapshot, c1 as CommentSidebarThreadSnapshot, c2 as CompatibilityFeatureClass, c3 as CompatibilityFeatureEntry, c4 as CompatibilityPanelSnapshot, q as CompatibilityReport, gW as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, gX as DEFAULT_PX_PER_TWIP, gY as DecorationIndex, c8 as DocumentChunkKind, c9 as DocumentChunkSnapshot, ca as DocumentHeadingSnapshot, cb as DocumentLocationSnapshot, cc as DocumentLocationSource, gZ as DocumentMode, cd as DocumentNavigationSnapshot, ce as DocumentOutlineHeadingSnapshot, cf as DocumentOutlineSnapshot, cg as DocumentPageSnapshot, ch as DocumentSectionSnapshot, ci as DocumentStats, cj as DocumentTextToken, g_ as EMU_PER_INCH, g$ as EMU_PER_PX, fg as EditableTargetRef, ck as EditorAnchorProjection, h0 as EditorApiError, h1 as EditorCapability, cl as EditorDatastoreAdapter, h2 as EditorDiagnostic, h3 as EditorDiagnosticCode, h4 as EditorDiagnosticLlmMetadata, h5 as EditorDiagnosticRecoveryClass, h6 as EditorDiagnosticRemediation, h7 as EditorDiagnosticSource, h8 as EditorDiagnosticTechnical, r as EditorError, cm as EditorErrorCode, E as EditorHostAdapter, f9 as EditorRole, a as EditorSessionState, cn as EditorStateBlob, as as EditorStateLocation, ar as EditorStateNamespace, co as EditorStatePartLoadFailure, cp as EditorStatePartPersistFailure, cq as EditorStatePersister, cr as EditorStatePolicy, cs as EditorStatePolicyEntry, ct as EditorStatePolicyMigration, cu as EditorStateResolveErrorMode, cv as EditorStateResolver, cw as EditorStateStorageRef, cx as EditorStoryTarget, o as EditorSurfaceSnapshot, cy as EditorTelemetryEvent, cz as EditorUser, cA as EditorViewStateSnapshot, cB as EditorWarning, cC as EditorWarningCode, h9 as EffectiveSelectionMode, ha as EmbeddedDocumentManifestLike, hb as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cE as ExternalDocumentSource, hc as FieldEntrySnapshot, hd as FieldFamily, he as FieldRefreshStatus, hf as FieldSnapshot, eY as FormattingAlignment, hg as FormattingBreadcrumbItem, f4 as FormattingStateSnapshot, f0 as GeometryFacet, cF as HeaderFooterLinkPatch, cG as HostAnnotationItem, cH as HostAnnotationKind, cI as HostAnnotationOverlay, cJ as HostAnnotationSnapshot, cK as ISSUE_METADATA_ID, eZ as InsertImageOptions, I as InsertTableOptions, cL as InteractionGuardSnapshot, cM as IssueMetadataValue, cN as IssueMode, cO as IssueOwner, cP as IssueSeverity, hh as LayoutFacetEvent, hi as LayoutFacetInvalidationReason, cQ as LayoutMeasurement, cR as LoadRequest, cS as LoadResult, cT as LoadSourcePolicy, L as LoadStage, fo as MAIN_STORY_TARGET, M as MarginPresetDefinition, hj as MetadataConflictPolicy, cU as MetadataIntegrity, cV as MetadataPersistenceMode, cW as MetadataResolverMissingError, hk as OverlayKind, hl as OverlayVisibilityAuthorship, hm as OverlayVisibilityEnforcement, hn as OverlayVisibilityPolicy, ho as PERCENTAGE_PARTS, hp as PageChromeReservations, hq as PageFieldContext, i as PageFormatDefinition, d0 as PageLayoutSnapshot, hr as PagePreviewMaps, d1 as PageRegionHitTest, P as PersistedEditorSnapshot, eX as PinState, hs as ProtectionRange, t as ProtectionSnapshot, ht as PublicBlockFragment, hu as PublicBlockMeasurement, hv as PublicBorderSpec, hw as PublicCellLocator, hx as PublicCellShading, hy as PublicFieldDirtinessReport, hz as PublicLayoutDivergence, hA as PublicLineBox, hB as PublicLineRunAnchor, fe as PublicMeasurementFidelity, hC as PublicNoteAllocation, hD as PublicPageAnchor, hE as PublicPageFrame, hF as PublicPageLocalStoryInstance, hG as PublicPageNode, hH as PublicPagePaginationTelemetry, hI as PublicPageRegion, hJ as PublicPageRegions, hK as PublicPageSpan, hL as PublicPaginationTelemetry, hM as PublicRegionBlock, hN as PublicRegionKind, hO as PublicResolvedPageStories, hP as PublicResolvedParagraphFormatting, hQ as PublicResolvedRunFormatting, hR as PublicResolvedStoryField, hS as PublicSectionNode, hT as PublicStoryAnchoredObject, hU as PublicTableBorders, hV as PublicTableCellBorders, hW as PublicTableCellMargins, hX as PublicTableEvent, hY as PublicTableRenderPlan, hZ as PublicTableRowHeight, h_ as PublicTableStyle, h$ as PublicTableSummary, i0 as PublicTableWidth, i1 as PublicTwipsRect, d6 as REVIEW_ACTION_METADATA_ID, i2 as ROTATION_UNITS_PER_DEGREE, i3 as RenderAnchorIndex, i4 as RenderAnchorQuery, i5 as RenderBlock, i6 as RenderBlockDecoration, i7 as RenderFrame, i8 as RenderFrameQueryOptions, i9 as RenderFrameRect, ia as RenderHitResult, ib as RenderKernelEvent, ic as RenderLine, id as RenderLineAnchor, ie as RenderPage, ig as RenderPageRegions, ih as RenderPoint, ii as RenderStoryRegion, ij as RenderZoom, ik as RenderZoomSummary, il as ResolveMetadataConflictInput, im as ResolvedNumberingGeometrySnapshot, io as ResolvedNumberingSnapshot, d7 as RestorePointCheckpointType, d8 as RestorePointSnapshot, d9 as RestoreResult, da as ReviewActionKind, db as ReviewActionMetadataValue, dc as ReviewQueueItem, dd as ReviewQueueItemKind, de as ReviewQueueSnapshot, df as ReviewWorkItemSnapshot, dg as ReviewWorkSnapshot, dh as RuntimeContextAnalyticsActionHint, di as RuntimeContextAnalyticsBadge, dj as RuntimeContextAnalyticsCounts, dk as RuntimeContextAnalyticsProvenance, dl as RuntimeContextAnalyticsQuery, dm as RuntimeContextAnalyticsScopeKind, dn as RuntimeContextAnalyticsSnapshot, dp as RuntimeContextAnalyticsState, dq as RuntimeContextAnalyticsUnavailableField, ip as RuntimeEditTargetContext, be as RuntimePageGraph, iq as RuntimePageNode, R as RuntimeRenderSnapshot, ir as SRCRECT_UNITS_PER_PERCENT, is as SanitizeResult, du as SaveExportParams, dv as SaveExportResult, dw as SaveSessionParams, dx as SaveSessionResult, dy as SaveSnapshotParams, dz as SaveSnapshotResult, it as ScopeBundle, iu as ScopeBundleEvidence, iv as ScopeBundleNeighborhood, dA as ScopeCardModel, iw as ScopeChromeVisibility, ix as ScopeChromeVisibilityState, iy as ScopeHandle, dB as ScopeIssueAction, dC as ScopeMetadataPersistence, dD as ScopeMetadataResolver, dE as ScopeMetadataStorageRef, iz as ScopeQueryFilter, iA as ScopeQueryResult, fc as ScopeRailPosture, eV as ScopeRailSegment, iB as ScopeRailSnapshot, iC as ScopeTagRegistry, dF as ScopeTagTouch, iD as ScopeVisibility, j as SearchOptions, iE as SearchResultSnapshot, k as SearchTextOptions, l as SecondaryStorySearchResult, iF as SecondaryStorySurface, dG as SectionBreakType, dH as SectionLayoutPatch, dI as SectionPageNumberingPatch, h as SelectionSnapshot, iG as SemanticScope, iH as SemanticScopeKind, e_ as SessionCapabilities, iI as SetSelectionOptions, aL as SharedWorkflowState, iJ as ShortcutDelegationContext, dN as SnapshotRefreshChangeKind, dO as SnapshotRefreshHints, dP as SnapshotRefreshInvalidateTarget, dQ as SnapshotRefreshStaleTarget, iK as StorageReference, iL as StoreEmbeddedDocParams, dR as StoryTextStreamSnapshot, dS as StyleCatalogEntrySnapshot, dT as StyleCatalogSnapshot, dU as SuggestionEntrySnapshot, dV as SuggestionGroup, dW as SuggestionsSnapshot, iM as SupportedFieldFamily, dX as SurfaceBlockSnapshot, iN as SurfaceDrawingAnchor, dY as SurfaceInlineSegment, iO as SurfacePictureEffects, iP as SurfacePreserveOnlyObjectSizing, dZ as SurfaceTableCellSnapshot, d_ as SurfaceTableRowSnapshot, iQ as SurfaceTextBoxBodyProperties, iR as SurfaceTextBoxBodySnapshot, iS as SurfaceTextBoxBodyStatus, iT as SurfaceTextBoxParagraphSnapshot, iU as SurfaceTextBoxRunSnapshot, d$ as SurfaceTextMark, iV as TWIPS_PER_PX, iW as TableOp, iX as TableOpResult, iY as TableOperationCapabilitySnapshot, f8 as TableStructureContextSnapshot, b0 as TextCommandAck, e5 as TextCommandAckKind, b1 as TextCommandRefreshClass, f as TextFormattingDirective, e6 as TextProjection, e7 as TextProjectionLine, e8 as TextProjectionOptions, e9 as TextProjectionStoryEntry, iZ as TextStyleFilter, ea as TocEntrySnapshot, i_ as TocRefreshOptions, i$ as TocRefreshResult, j0 as TocRefreshTrigger, eb as TocRegionSnapshot, ec as TocSnapshot, ed as TrackedChangeEntrySnapshot, ee as TrackedChangesSnapshot, j1 as UpdateFieldsOptions, j2 as UpdateFieldsResult, ef as ViewMode, j3 as WordReviewEditorChangesFacet, eg as WordReviewEditorChromeOptions, eh as WordReviewEditorChromePreset, ei as WordReviewEditorChromeVisibility, j4 as WordReviewEditorCommentsFacet, j5 as WordReviewEditorDiagnosticsFacet, j6 as WordReviewEditorDocumentFacet, ej as WordReviewEditorEvent, j7 as WordReviewEditorFieldsFacet, e$ as WordReviewEditorLayoutFacet, j8 as WordReviewEditorPasteEvent, b2 as WordReviewEditorProps, b3 as WordReviewEditorRef, j9 as WordReviewEditorScopesFacet, ja as WordReviewEditorTablesFacet, ek as WorkflowBlockedCommandReason, el as WorkflowCandidateRange, em as WorkflowCandidateRangeOptions, en as WorkflowCommentMarkup, jb as WorkflowEventOrigin, f1 as WorkflowFacet, eo as WorkflowFieldMarkup, ep as WorkflowHighlightMarkup, jc as WorkflowLockedZone, eq as WorkflowMarkupBase, er as WorkflowMarkupItem, es as WorkflowMarkupKind, jd as WorkflowMarkupMode, je as WorkflowMarkupModeEnforcement, jf as WorkflowMarkupModePolicy, et as WorkflowMarkupSnapshot, eu as WorkflowMetadataDefinition, ev as WorkflowMetadataEntry, ew as WorkflowMetadataMarkup, ex as WorkflowMetadataPersistence, ey as WorkflowMetadataSnapshot, ez as WorkflowOpaqueFragmentMarkup, eA as WorkflowOverlay, eB as WorkflowOverlayPatch, eC as WorkflowProtectedRangeMarkup, eD as WorkflowRevisionMarkup, eE as WorkflowScope, jg as WorkflowScopeGuardPolicy, jh as WorkflowScopeMetadataField, eF as WorkflowScopeMode, eG as WorkflowScopeSnapshot, eH as WorkflowWorkItem, eI as WorkspaceMode, eJ as ZoomLevel, ji as buildPagePreviewMaps, jj as buildSearchPattern, jk as createCanvasBackend, jl as createPublicNodeAnchor, jm as createPublicRangeAnchor, jn as createScopeTagRegistry, m as createSearchExcerpt, fh as deriveCapabilities, jo as estimateBlockHeight, jp as estimateParagraphLineCount, jq as estimateParagraphLineHeight, jr as findPageForOffset, n as findSearchMatches, js as getUsableColumnWidth, jt as resolvePageFieldDisplayText, ju as sanitizeMarkdown, s as searchSecondaryStories, jv as storyTargetKey, fF as storyTargetsEqual } from '../public-types-Cgl3efbO.js';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { a8 as AreaChartModel, a9 as Axis, aa as AxisBase, ab as BarChartModel, B as BlockNode, ac as BubbleChartModel, ad as BubbleSeries, Y as CanonicalParagraphFormatting, Z as CanonicalRunFormatting, ae as CategoryAxis, af as CategoryLikeAxis, ag as ChartCommon, a1 as ChartModel, ah as ColorMod, a3 as ColorRef, ai as ComboChartModel, aj as DataLabelsSpec, ak as DataPointOverride, al as DateAxis, _ as FillSpec, am as Legend, an as LineChartModel, ao as LineSeries, ap as MarkerSpec, aq as PieChartModel, ar as PieSeries, a2 as ResolvedTheme, as as ScatterChartModel, at as ScatterSeries, au as Series, av as SeriesAxis, aw as SeriesBase, ax as ShapeProperties, a0 as StrokeSpec, G as TextMark, $ as TextProperties, ay as Title, az as UnsupportedChartModel, aA as UnsupportedReason, aB as ValueAxis } from '../canonical-document-CXCFCbAz.js';
package/dist/api/v3.cjs CHANGED
@@ -41761,7 +41761,52 @@ function compileReplacement(inputs) {
41761
41761
 
41762
41762
  // src/runtime/scopes/replacement/apply.ts
41763
41763
  function documentHash(doc) {
41764
- return JSON.stringify(doc.content);
41764
+ let hash = 2166136261;
41765
+ const mix = (value) => {
41766
+ for (let i = 0; i < value.length; i += 1) {
41767
+ hash ^= value.charCodeAt(i);
41768
+ hash = Math.imul(hash, 16777619);
41769
+ }
41770
+ };
41771
+ const visit = (value) => {
41772
+ if (value === null) {
41773
+ mix("null");
41774
+ return;
41775
+ }
41776
+ switch (typeof value) {
41777
+ case "string":
41778
+ case "number":
41779
+ case "boolean":
41780
+ case "bigint":
41781
+ mix(`${typeof value}:${String(value)}`);
41782
+ return;
41783
+ case "undefined":
41784
+ mix("undefined");
41785
+ return;
41786
+ case "object":
41787
+ if (Array.isArray(value)) {
41788
+ mix(`[${value.length}`);
41789
+ for (const item of value) visit(item);
41790
+ mix("]");
41791
+ return;
41792
+ }
41793
+ {
41794
+ const record = value;
41795
+ const keys = Object.keys(record).sort();
41796
+ mix(`{${keys.length}`);
41797
+ for (const key of keys) {
41798
+ mix(key);
41799
+ visit(record[key]);
41800
+ }
41801
+ mix("}");
41802
+ }
41803
+ return;
41804
+ default:
41805
+ mix(typeof value);
41806
+ }
41807
+ };
41808
+ visit(doc.content);
41809
+ return (hash >>> 0).toString(36).padStart(7, "0");
41765
41810
  }
41766
41811
  function compileScopeById(document2, overlay, scopeId) {
41767
41812
  const paragraphIndexByBlockIndex = buildParagraphIndexMap(document2);
@@ -56736,7 +56781,8 @@ function reject(code, message) {
56736
56781
  };
56737
56782
  }
56738
56783
  function sameResolvedTarget2(left, right) {
56739
- return left.kind === right.kind && left.storyKey === right.storyKey && left.blockPath === right.blockPath && left.leafPath === right.leafPath && left.commandFamily === right.commandFamily && left.editability === right.editability && sameTextTargetStaleCheck(left, right) && left.staleCheck.inlineCount === right.staleCheck.inlineCount && left.staleCheck.targetHash === right.staleCheck.targetHash && left.staleCheck.targetTextLength === right.staleCheck.targetTextLength && left.staleCheck.childCount === right.staleCheck.childCount && left.staleCheck.blockType === right.staleCheck.blockType && left.staleCheck.wordParaId === right.staleCheck.wordParaId && left.staleCheck.wordTextId === right.staleCheck.wordTextId && jsonStable(left.staleCheck.sourceRef) === jsonStable(right.staleCheck.sourceRef) && jsonStable(left.sourceRef) === jsonStable(right.sourceRef) && jsonStable(left.table) === jsonStable(right.table) && jsonStable(left.editableOwner) === jsonStable(right.editableOwner);
56784
+ const textTargetLengthDrift = hasTextTargetLengthDrift(left, right);
56785
+ return left.kind === right.kind && left.storyKey === right.storyKey && left.blockPath === right.blockPath && left.leafPath === right.leafPath && left.commandFamily === right.commandFamily && left.editability === right.editability && sameTextTargetStaleCheck(left, right) && left.staleCheck.inlineCount === right.staleCheck.inlineCount && left.staleCheck.targetHash === right.staleCheck.targetHash && left.staleCheck.targetTextLength === right.staleCheck.targetTextLength && left.staleCheck.childCount === right.staleCheck.childCount && left.staleCheck.blockType === right.staleCheck.blockType && left.staleCheck.wordParaId === right.staleCheck.wordParaId && left.staleCheck.wordTextId === right.staleCheck.wordTextId && (textTargetLengthDrift || jsonStable(left.staleCheck.sourceRef) === jsonStable(right.staleCheck.sourceRef)) && (textTargetLengthDrift || jsonStable(left.sourceRef) === jsonStable(right.sourceRef)) && jsonStable(left.table) === jsonStable(right.table) && jsonStable(left.editableOwner) === jsonStable(right.editableOwner);
56740
56786
  }
56741
56787
  function sameTextTargetStaleCheck(left, right) {
56742
56788
  if (left.staleCheck.paragraphTextHash === right.staleCheck.paragraphTextHash && left.staleCheck.paragraphTextLength === right.staleCheck.paragraphTextLength) {
@@ -56744,6 +56790,9 @@ function sameTextTargetStaleCheck(left, right) {
56744
56790
  }
56745
56791
  return left.commandFamily === "text-leaf" && left.staleCheck.paragraphTextLength !== void 0 && right.staleCheck.paragraphTextLength !== void 0 && left.staleCheck.paragraphTextLength !== right.staleCheck.paragraphTextLength;
56746
56792
  }
56793
+ function hasTextTargetLengthDrift(left, right) {
56794
+ return left.commandFamily === "text-leaf" && left.staleCheck.paragraphTextLength !== void 0 && right.staleCheck.paragraphTextLength !== void 0 && left.staleCheck.paragraphTextLength !== right.staleCheck.paragraphTextLength;
56795
+ }
56747
56796
  function locateTargetRange(document2, surface, target) {
56748
56797
  if (target.kind === "hyperlink-text") {
56749
56798
  return locateHyperlinkDisplayRange(document2, surface, target);
@@ -57461,6 +57510,18 @@ function createTableActionFamily(runtime) {
57461
57510
  }
57462
57511
  };
57463
57512
  }
57513
+ function findTableActionDescriptor(runtime, actionHandle) {
57514
+ const document2 = runtime.getCanonicalDocument();
57515
+ const seed = documentSeed(runtime);
57516
+ const surface = runtime.getRenderSnapshot().surface?.blocks ?? [];
57517
+ for (const target of collectEditableTargetRefs(document2)) {
57518
+ if (!target.table || callableOperationsForScope(target.table.operationScope).length === 0 || tableActionHandle(seed, target.targetKey) !== actionHandle || !isResolvableCurrentTableActionTarget(runtime, surface, target)) {
57519
+ continue;
57520
+ }
57521
+ return projectCurrentTableTarget(document2, seed, target);
57522
+ }
57523
+ return null;
57524
+ }
57464
57525
  function isSupportedTableActionEvidence(entry) {
57465
57526
  return isSupportedTableStructureEvidence(entry) || isSupportedTableTextEvidence(entry);
57466
57527
  }
@@ -57479,6 +57540,7 @@ function projectTableActionDescriptor(document2, seed, entry) {
57479
57540
  const callableOperations = callableOperationsForScope(scope);
57480
57541
  const supportedOperations = operationsForScope(scope);
57481
57542
  if (callableOperations.length === 0) return [];
57543
+ const selectionRequiredOperations = selectionRequiredOperationsForScope(scope);
57482
57544
  return [
57483
57545
  {
57484
57546
  actionHandle: tableActionHandle(seed, entry.targetKey),
@@ -57487,6 +57549,7 @@ function projectTableActionDescriptor(document2, seed, entry) {
57487
57549
  relation: entry.relation,
57488
57550
  operationScope: scope,
57489
57551
  callableOperations,
57552
+ ...selectionRequiredOperations.length > 0 ? { selectionRequiredOperations } : {},
57490
57553
  supportedOperations,
57491
57554
  ...scope === "text" ? { readback: tableTextReadback(readBlockPathText(document2, entry.blockPath)) } : {},
57492
57555
  reason: entry.runtimeCommand.reason
@@ -57498,6 +57561,7 @@ function projectCurrentTableTarget(document2, seed, target) {
57498
57561
  if (!table) return null;
57499
57562
  const callableOperations = callableOperationsForScope(table.operationScope);
57500
57563
  if (callableOperations.length === 0) return null;
57564
+ const selectionRequiredOperations = selectionRequiredOperationsForScope(table.operationScope);
57501
57565
  return {
57502
57566
  actionHandle: tableActionHandle(seed, target.targetKey),
57503
57567
  family: table.operationScope === "text" ? "table-text" : "table-structure",
@@ -57505,6 +57569,7 @@ function projectCurrentTableTarget(document2, seed, target) {
57505
57569
  relation: "contained-by-scope",
57506
57570
  operationScope: table.operationScope,
57507
57571
  callableOperations,
57572
+ ...selectionRequiredOperations.length > 0 ? { selectionRequiredOperations } : {},
57508
57573
  supportedOperations: operationsForScope(table.operationScope),
57509
57574
  ...table.operationScope === "text" ? { readback: tableTextReadback(readEditableTargetText(document2, target)) } : {},
57510
57575
  reason: table.operationScope === "text" ? "l07:table-text-target-supported" : "l07:table-structure-target-supported"
@@ -57582,11 +57647,14 @@ function callableOperationsForScope(scope) {
57582
57647
  case "text":
57583
57648
  return TEXT_TRANSFER_OPERATIONS;
57584
57649
  case "cell":
57585
- return [...CELL_STRUCTURE_OPERATIONS, "merge-cells"];
57650
+ return CELL_STRUCTURE_OPERATIONS;
57586
57651
  default:
57587
57652
  return operationsForScope(scope);
57588
57653
  }
57589
57654
  }
57655
+ function selectionRequiredOperationsForScope(scope) {
57656
+ return scope === "cell" ? ["merge-cells"] : [];
57657
+ }
57590
57658
  function operationsForScope(scope) {
57591
57659
  switch (scope) {
57592
57660
  case "text":
@@ -58013,9 +58081,6 @@ var DEFAULT_LOCATE_LIMIT = 20;
58013
58081
  var DEFAULT_REWRITE_ALL_LIMIT = 10;
58014
58082
  var DEFAULT_TABLE_TEXT_SCOPE_LIMIT = 3;
58015
58083
  var DEFAULT_PLAN_STEP_LIMIT = 20;
58016
- function documentContentHash(runtime) {
58017
- return JSON.stringify(runtime.getCanonicalDocument().content);
58018
- }
58019
58084
  function createActionsFamily(runtime) {
58020
58085
  const category = {
58021
58086
  discover(input) {
@@ -58488,10 +58553,10 @@ function runPlanStep(runtime, mode, step, plan) {
58488
58553
  ...before.readback ? { beforeReadback: before.readback } : {}
58489
58554
  };
58490
58555
  }
58491
- const documentHashBeforeApply = documentContentHash(runtime);
58556
+ const documentBeforeApply = runtime.getCanonicalDocument();
58492
58557
  const applied = applyPlanStep(runtime, step, plan);
58493
- const documentHashAfterApply = documentContentHash(runtime);
58494
- const projectedApply = !applied.applied && documentHashAfterApply !== documentHashBeforeApply ? withSuspectMutationApplyResult(applied, step.id, applied.target ?? before.target) : applied;
58558
+ const documentAfterApply = runtime.getCanonicalDocument();
58559
+ const projectedApply = !applied.applied && documentAfterApply !== documentBeforeApply ? withSuspectMutationApplyResult(applied, step.id, applied.target ?? before.target) : applied;
58495
58560
  const after = step.kind === "flag" ? before : step.target ? readPlanTarget(runtime, step.target) : before;
58496
58561
  return {
58497
58562
  id: step.id,
@@ -58542,7 +58607,8 @@ function runPlanTableActionStep(runtime, mode, step, plan) {
58542
58607
  tableAction: tableAction2
58543
58608
  });
58544
58609
  }
58545
- if (!operationKind || !tableAction2.callableOperations.includes(operationKind)) {
58610
+ const isSelectionRequiredOperation = step.kind === "tableSelection" && operationKind !== void 0 && (tableAction2.selectionRequiredOperations ?? []).includes(operationKind) && tableSelectionStepHasDescriptor(step.operation);
58611
+ if (!operationKind || !tableAction2.callableOperations.includes(operationKind) && !isSelectionRequiredOperation) {
58546
58612
  return blockedPlanStepFromDetails(
58547
58613
  step.id,
58548
58614
  step.kind,
@@ -58806,7 +58872,7 @@ function applyRewrite(runtime, target, input) {
58806
58872
  );
58807
58873
  }
58808
58874
  const beforeText = target.scope.content.text;
58809
- const documentHashBeforeApply = documentContentHash(runtime);
58875
+ const documentBeforeApply = runtime.getCanonicalDocument();
58810
58876
  const result = createReplacementFamily(runtime).applyReplacementScope({
58811
58877
  targetScopeId: target.handle.scopeId,
58812
58878
  operation: "replace",
@@ -58818,7 +58884,7 @@ function applyRewrite(runtime, target, input) {
58818
58884
  ...input.origin ? { origin: input.origin } : {},
58819
58885
  ...input.proposalId ? { proposalId: input.proposalId } : {}
58820
58886
  });
58821
- const documentMutated = documentContentHash(runtime) !== documentHashBeforeApply;
58887
+ const documentMutated = runtime.getCanonicalDocument() !== documentBeforeApply;
58822
58888
  if (!result.applied) {
58823
58889
  return documentMutated ? withSuspectMutationApplyResult(
58824
58890
  projectApplyResult(result, target),
@@ -59075,19 +59141,7 @@ function findTableAction(runtime, actionHandle) {
59075
59141
  return action?.family === "table-text" ? action : null;
59076
59142
  }
59077
59143
  function findAnyTableAction(runtime, actionHandle) {
59078
- const compiler = createScopeCompilerService(runtime);
59079
- for (const scope of compiler.compileAllScopes()) {
59080
- if (scope.kind !== "table") continue;
59081
- const result = createTableActionFamily(runtime).listTableActions({
59082
- handle: scope.handle,
59083
- nowUtc: currentAuditTimestamp(runtime)
59084
- });
59085
- const action = result.actions.find(
59086
- (candidate) => candidate.actionHandle === actionHandle
59087
- );
59088
- if (action) return action;
59089
- }
59090
- return null;
59144
+ return findTableActionDescriptor(runtime, actionHandle);
59091
59145
  }
59092
59146
  function findEditableTextAction(runtime, actionHandle) {
59093
59147
  if (!actionHandle.startsWith("scope-command:text-leaf:")) return null;
@@ -59655,6 +59709,11 @@ function tablePlanOperationFamilyBlocker(stepKind, operationKind) {
59655
59709
  }
59656
59710
  return null;
59657
59711
  }
59712
+ function tableSelectionStepHasDescriptor(operation) {
59713
+ return Boolean(
59714
+ operation && "selectionDescriptor" in operation && operation.selectionDescriptor
59715
+ );
59716
+ }
59658
59717
  function listCommandForOperation(operation, paragraphIndex, origin) {
59659
59718
  switch (operation.kind) {
59660
59719
  case "toggle":
package/dist/api/v3.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { u as MockPayload, A as ApiStatus, U as UxIntent, v as RuntimeApiHandle, w as UiControllerFactory, x as ApiV3Ui } from '../public-types-DrhlQ5Zy.cjs';
2
- export { y as AgentMetadata, z as AiPe2EvidenceOptions, B as AiPe2GraphOracleReference, D as AiPe2OracleEvidence, F as AiPe2OracleEvidenceProvider, G as AiPe2OracleEvidenceProviderInput, H as AiPe2OracleVerdict, J as ApiV3, K as ApiV3FnMetadata, N as ApiV3UiChrome, O as ApiV3UiDebug, Q as ApiV3UiOverlays, V as ApiV3UiSession, W as ApiV3UiSurface, X as ApiV3UiViewport, Y as BroadcastsVia, Z as ChromeDebugMode, _ as ChromeDocumentMode, $ as ChromeHostPosture, a0 as ChromeMarkupDisplay, a1 as ChromePosture, a2 as ChromeReviewMode, a3 as ChromeSurface, a4 as ChromeSurfaceKind, a5 as CreateApiV3Opts, a6 as DebugAttachment, a7 as DebugSession, a8 as GeometryRect, a9 as LiveEvidence, aa as MockShape, ab as OverlayAnchorQuery, ac as PersistsTo, ad as ScrollTarget, ae as ScrollTargetBehavior, af as SelectionRangeInput, ag as SourceLayer, ah as StateClass, ai as SubscriptionShape, aj as UiBinding, ak as UiController, al as UiControllerKind, am as UiListener, an as UiUnsubscribe, ao as ViewportState, ap as createApiV3, aq as validateApiV3Metadata } from '../public-types-DrhlQ5Zy.cjs';
1
+ import { u as MockPayload, A as ApiStatus, U as UxIntent, v as RuntimeApiHandle, w as UiControllerFactory, x as ApiV3Ui } from '../public-types-beSYFJRR.cjs';
2
+ export { y as AgentMetadata, z as AiPe2EvidenceOptions, B as AiPe2GraphOracleReference, D as AiPe2OracleEvidence, F as AiPe2OracleEvidenceProvider, G as AiPe2OracleEvidenceProviderInput, H as AiPe2OracleVerdict, J as ApiV3, K as ApiV3FnMetadata, N as ApiV3UiChrome, O as ApiV3UiDebug, Q as ApiV3UiOverlays, V as ApiV3UiSession, W as ApiV3UiSurface, X as ApiV3UiViewport, Y as BroadcastsVia, Z as ChromeDebugMode, _ as ChromeDocumentMode, $ as ChromeHostPosture, a0 as ChromeMarkupDisplay, a1 as ChromePosture, a2 as ChromeReviewMode, a3 as ChromeSurface, a4 as ChromeSurfaceKind, a5 as CreateApiV3Opts, a6 as DebugAttachment, a7 as DebugSession, a8 as GeometryRect, a9 as LiveEvidence, aa as MockShape, ab as OverlayAnchorQuery, ac as PersistsTo, ad as ScrollTarget, ae as ScrollTargetBehavior, af as SelectionRangeInput, ag as SourceLayer, ah as StateClass, ai as SubscriptionShape, aj as UiBinding, ak as UiController, al as UiControllerKind, am as UiListener, an as UiUnsubscribe, ao as ViewportState, ap as createApiV3, aq as validateApiV3Metadata } from '../public-types-beSYFJRR.cjs';
3
3
  import 'react';
4
4
  import 'yjs';
5
5
  import 'y-protocols/awareness';
package/dist/api/v3.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import { u as MockPayload, A as ApiStatus, U as UxIntent, v as RuntimeApiHandle, w as UiControllerFactory, x as ApiV3Ui } from '../public-types-BEGhv2YR.js';
2
- export { y as AgentMetadata, z as AiPe2EvidenceOptions, B as AiPe2GraphOracleReference, D as AiPe2OracleEvidence, F as AiPe2OracleEvidenceProvider, G as AiPe2OracleEvidenceProviderInput, H as AiPe2OracleVerdict, J as ApiV3, K as ApiV3FnMetadata, N as ApiV3UiChrome, O as ApiV3UiDebug, Q as ApiV3UiOverlays, V as ApiV3UiSession, W as ApiV3UiSurface, X as ApiV3UiViewport, Y as BroadcastsVia, Z as ChromeDebugMode, _ as ChromeDocumentMode, $ as ChromeHostPosture, a0 as ChromeMarkupDisplay, a1 as ChromePosture, a2 as ChromeReviewMode, a3 as ChromeSurface, a4 as ChromeSurfaceKind, a5 as CreateApiV3Opts, a6 as DebugAttachment, a7 as DebugSession, a8 as GeometryRect, a9 as LiveEvidence, aa as MockShape, ab as OverlayAnchorQuery, ac as PersistsTo, ad as ScrollTarget, ae as ScrollTargetBehavior, af as SelectionRangeInput, ag as SourceLayer, ah as StateClass, ai as SubscriptionShape, aj as UiBinding, ak as UiController, al as UiControllerKind, am as UiListener, an as UiUnsubscribe, ao as ViewportState, ap as createApiV3, aq as validateApiV3Metadata } from '../public-types-BEGhv2YR.js';
1
+ import { u as MockPayload, A as ApiStatus, U as UxIntent, v as RuntimeApiHandle, w as UiControllerFactory, x as ApiV3Ui } from '../public-types-Cgl3efbO.js';
2
+ export { y as AgentMetadata, z as AiPe2EvidenceOptions, B as AiPe2GraphOracleReference, D as AiPe2OracleEvidence, F as AiPe2OracleEvidenceProvider, G as AiPe2OracleEvidenceProviderInput, H as AiPe2OracleVerdict, J as ApiV3, K as ApiV3FnMetadata, N as ApiV3UiChrome, O as ApiV3UiDebug, Q as ApiV3UiOverlays, V as ApiV3UiSession, W as ApiV3UiSurface, X as ApiV3UiViewport, Y as BroadcastsVia, Z as ChromeDebugMode, _ as ChromeDocumentMode, $ as ChromeHostPosture, a0 as ChromeMarkupDisplay, a1 as ChromePosture, a2 as ChromeReviewMode, a3 as ChromeSurface, a4 as ChromeSurfaceKind, a5 as CreateApiV3Opts, a6 as DebugAttachment, a7 as DebugSession, a8 as GeometryRect, a9 as LiveEvidence, aa as MockShape, ab as OverlayAnchorQuery, ac as PersistsTo, ad as ScrollTarget, ae as ScrollTargetBehavior, af as SelectionRangeInput, ag as SourceLayer, ah as StateClass, ai as SubscriptionShape, aj as UiBinding, ak as UiController, al as UiControllerKind, am as UiListener, an as UiUnsubscribe, ao as ViewportState, ap as createApiV3, aq as validateApiV3Metadata } from '../public-types-Cgl3efbO.js';
3
3
  import 'react';
4
4
  import 'yjs';
5
5
  import 'y-protocols/awareness';
package/dist/api/v3.js CHANGED
@@ -5,8 +5,8 @@ import {
5
5
  mockId,
6
6
  mockPayload,
7
7
  validateApiV3Metadata
8
- } from "../chunk-JN444Z5S.js";
9
- import "../chunk-OHTK7F3F.js";
8
+ } from "../chunk-46KNRA4C.js";
9
+ import "../chunk-XRACP43Q.js";
10
10
  import "../chunk-C2LWJ4CZ.js";
11
11
  import {
12
12
  createUiApi,
@@ -17,7 +17,7 @@ import {
17
17
  resolveScopeRange,
18
18
  scopeSpecificity,
19
19
  searchDocument
20
- } from "./chunk-OHTK7F3F.js";
20
+ } from "./chunk-XRACP43Q.js";
21
21
  import {
22
22
  BROADCAST_COMMAND_TYPES,
23
23
  COMMAND_EVENT_SCHEMA_VERSION,
@@ -5830,6 +5830,18 @@ function createTableActionFamily(runtime) {
5830
5830
  }
5831
5831
  };
5832
5832
  }
5833
+ function findTableActionDescriptor(runtime, actionHandle) {
5834
+ const document = runtime.getCanonicalDocument();
5835
+ const seed = documentSeed(runtime);
5836
+ const surface = runtime.getRenderSnapshot().surface?.blocks ?? [];
5837
+ for (const target of collectEditableTargetRefs(document)) {
5838
+ if (!target.table || callableOperationsForScope(target.table.operationScope).length === 0 || tableActionHandle(seed, target.targetKey) !== actionHandle || !isResolvableCurrentTableActionTarget(runtime, surface, target)) {
5839
+ continue;
5840
+ }
5841
+ return projectCurrentTableTarget(document, seed, target);
5842
+ }
5843
+ return null;
5844
+ }
5833
5845
  function isSupportedTableActionEvidence(entry) {
5834
5846
  return isSupportedTableStructureEvidence(entry) || isSupportedTableTextEvidence(entry);
5835
5847
  }
@@ -5848,6 +5860,7 @@ function projectTableActionDescriptor(document, seed, entry) {
5848
5860
  const callableOperations = callableOperationsForScope(scope);
5849
5861
  const supportedOperations = operationsForScope(scope);
5850
5862
  if (callableOperations.length === 0) return [];
5863
+ const selectionRequiredOperations = selectionRequiredOperationsForScope(scope);
5851
5864
  return [
5852
5865
  {
5853
5866
  actionHandle: tableActionHandle(seed, entry.targetKey),
@@ -5856,6 +5869,7 @@ function projectTableActionDescriptor(document, seed, entry) {
5856
5869
  relation: entry.relation,
5857
5870
  operationScope: scope,
5858
5871
  callableOperations,
5872
+ ...selectionRequiredOperations.length > 0 ? { selectionRequiredOperations } : {},
5859
5873
  supportedOperations,
5860
5874
  ...scope === "text" ? { readback: tableTextReadback(readBlockPathText(document, entry.blockPath)) } : {},
5861
5875
  reason: entry.runtimeCommand.reason
@@ -5867,6 +5881,7 @@ function projectCurrentTableTarget(document, seed, target) {
5867
5881
  if (!table) return null;
5868
5882
  const callableOperations = callableOperationsForScope(table.operationScope);
5869
5883
  if (callableOperations.length === 0) return null;
5884
+ const selectionRequiredOperations = selectionRequiredOperationsForScope(table.operationScope);
5870
5885
  return {
5871
5886
  actionHandle: tableActionHandle(seed, target.targetKey),
5872
5887
  family: table.operationScope === "text" ? "table-text" : "table-structure",
@@ -5874,6 +5889,7 @@ function projectCurrentTableTarget(document, seed, target) {
5874
5889
  relation: "contained-by-scope",
5875
5890
  operationScope: table.operationScope,
5876
5891
  callableOperations,
5892
+ ...selectionRequiredOperations.length > 0 ? { selectionRequiredOperations } : {},
5877
5893
  supportedOperations: operationsForScope(table.operationScope),
5878
5894
  ...table.operationScope === "text" ? { readback: tableTextReadback(readEditableTargetText(document, target)) } : {},
5879
5895
  reason: table.operationScope === "text" ? "l07:table-text-target-supported" : "l07:table-structure-target-supported"
@@ -5951,11 +5967,14 @@ function callableOperationsForScope(scope) {
5951
5967
  case "text":
5952
5968
  return TEXT_TRANSFER_OPERATIONS;
5953
5969
  case "cell":
5954
- return [...CELL_STRUCTURE_OPERATIONS, "merge-cells"];
5970
+ return CELL_STRUCTURE_OPERATIONS;
5955
5971
  default:
5956
5972
  return operationsForScope(scope);
5957
5973
  }
5958
5974
  }
5975
+ function selectionRequiredOperationsForScope(scope) {
5976
+ return scope === "cell" ? ["merge-cells"] : [];
5977
+ }
5959
5978
  function operationsForScope(scope) {
5960
5979
  switch (scope) {
5961
5980
  case "text":
@@ -6382,9 +6401,6 @@ var DEFAULT_LOCATE_LIMIT = 20;
6382
6401
  var DEFAULT_REWRITE_ALL_LIMIT = 10;
6383
6402
  var DEFAULT_TABLE_TEXT_SCOPE_LIMIT = 3;
6384
6403
  var DEFAULT_PLAN_STEP_LIMIT = 20;
6385
- function documentContentHash(runtime) {
6386
- return JSON.stringify(runtime.getCanonicalDocument().content);
6387
- }
6388
6404
  function createActionsFamily(runtime) {
6389
6405
  const category = {
6390
6406
  discover(input) {
@@ -6857,10 +6873,10 @@ function runPlanStep(runtime, mode, step, plan) {
6857
6873
  ...before.readback ? { beforeReadback: before.readback } : {}
6858
6874
  };
6859
6875
  }
6860
- const documentHashBeforeApply = documentContentHash(runtime);
6876
+ const documentBeforeApply = runtime.getCanonicalDocument();
6861
6877
  const applied = applyPlanStep(runtime, step, plan);
6862
- const documentHashAfterApply = documentContentHash(runtime);
6863
- const projectedApply = !applied.applied && documentHashAfterApply !== documentHashBeforeApply ? withSuspectMutationApplyResult(applied, step.id, applied.target ?? before.target) : applied;
6878
+ const documentAfterApply = runtime.getCanonicalDocument();
6879
+ const projectedApply = !applied.applied && documentAfterApply !== documentBeforeApply ? withSuspectMutationApplyResult(applied, step.id, applied.target ?? before.target) : applied;
6864
6880
  const after = step.kind === "flag" ? before : step.target ? readPlanTarget(runtime, step.target) : before;
6865
6881
  return {
6866
6882
  id: step.id,
@@ -6911,7 +6927,8 @@ function runPlanTableActionStep(runtime, mode, step, plan) {
6911
6927
  tableAction
6912
6928
  });
6913
6929
  }
6914
- if (!operationKind || !tableAction.callableOperations.includes(operationKind)) {
6930
+ const isSelectionRequiredOperation = step.kind === "tableSelection" && operationKind !== void 0 && (tableAction.selectionRequiredOperations ?? []).includes(operationKind) && tableSelectionStepHasDescriptor(step.operation);
6931
+ if (!operationKind || !tableAction.callableOperations.includes(operationKind) && !isSelectionRequiredOperation) {
6915
6932
  return blockedPlanStepFromDetails(
6916
6933
  step.id,
6917
6934
  step.kind,
@@ -7175,7 +7192,7 @@ function applyRewrite(runtime, target, input) {
7175
7192
  );
7176
7193
  }
7177
7194
  const beforeText = target.scope.content.text;
7178
- const documentHashBeforeApply = documentContentHash(runtime);
7195
+ const documentBeforeApply = runtime.getCanonicalDocument();
7179
7196
  const result = createReplacementFamily(runtime).applyReplacementScope({
7180
7197
  targetScopeId: target.handle.scopeId,
7181
7198
  operation: "replace",
@@ -7187,7 +7204,7 @@ function applyRewrite(runtime, target, input) {
7187
7204
  ...input.origin ? { origin: input.origin } : {},
7188
7205
  ...input.proposalId ? { proposalId: input.proposalId } : {}
7189
7206
  });
7190
- const documentMutated = documentContentHash(runtime) !== documentHashBeforeApply;
7207
+ const documentMutated = runtime.getCanonicalDocument() !== documentBeforeApply;
7191
7208
  if (!result.applied) {
7192
7209
  return documentMutated ? withSuspectMutationApplyResult(
7193
7210
  projectApplyResult(result, target),
@@ -7444,19 +7461,7 @@ function findTableAction(runtime, actionHandle) {
7444
7461
  return action?.family === "table-text" ? action : null;
7445
7462
  }
7446
7463
  function findAnyTableAction(runtime, actionHandle) {
7447
- const compiler = createScopeCompilerService(runtime);
7448
- for (const scope of compiler.compileAllScopes()) {
7449
- if (scope.kind !== "table") continue;
7450
- const result = createTableActionFamily(runtime).listTableActions({
7451
- handle: scope.handle,
7452
- nowUtc: currentAuditTimestamp(runtime)
7453
- });
7454
- const action = result.actions.find(
7455
- (candidate) => candidate.actionHandle === actionHandle
7456
- );
7457
- if (action) return action;
7458
- }
7459
- return null;
7464
+ return findTableActionDescriptor(runtime, actionHandle);
7460
7465
  }
7461
7466
  function findEditableTextAction(runtime, actionHandle) {
7462
7467
  if (!actionHandle.startsWith("scope-command:text-leaf:")) return null;
@@ -8024,6 +8029,11 @@ function tablePlanOperationFamilyBlocker(stepKind, operationKind) {
8024
8029
  }
8025
8030
  return null;
8026
8031
  }
8032
+ function tableSelectionStepHasDescriptor(operation) {
8033
+ return Boolean(
8034
+ operation && "selectionDescriptor" in operation && operation.selectionDescriptor
8035
+ );
8036
+ }
8027
8037
  function listCommandForOperation(operation, paragraphIndex, origin) {
8028
8038
  switch (operation.kind) {
8029
8039
  case "toggle":
@@ -199,6 +199,9 @@ function splitParagraph(document, selection, context) {
199
199
  if (scope?.kind !== "top-level") {
200
200
  return result;
201
201
  }
202
+ if (context.preserveNumberingOnSplit && scope.paragraph.numbering) {
203
+ return result;
204
+ }
202
205
  const originalStyleId = scope.paragraph.styleId;
203
206
  const nextStyleId = originalStyleId !== void 0 ? resolveNextStyle(originalStyleId, document.styles) : void 0;
204
207
  if (nextStyleId !== void 0) {