@beyondwork/docx-react-component 1.0.136 → 1.0.137

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 (56) 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 +645 -21
  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-NX7W6T7L.js → chunk-M3AEVSKU.js} +626 -21
  8. package/dist/{chunk-HUWZ7AHE.js → chunk-NYIMPM3Z.js} +20 -1
  9. package/dist/{chunk-JZZKTL7K.js → chunk-SMBDQV73.js} +141 -80
  10. package/dist/core/commands/formatting-commands.d.cts +1 -1
  11. package/dist/core/commands/formatting-commands.d.ts +1 -1
  12. package/dist/core/commands/image-commands.d.cts +1 -1
  13. package/dist/core/commands/image-commands.d.ts +1 -1
  14. package/dist/core/commands/section-layout-commands.d.cts +1 -1
  15. package/dist/core/commands/section-layout-commands.d.ts +1 -1
  16. package/dist/core/commands/style-commands.d.cts +1 -1
  17. package/dist/core/commands/style-commands.d.ts +1 -1
  18. package/dist/core/commands/table-structure-commands.d.cts +1 -1
  19. package/dist/core/commands/table-structure-commands.d.ts +1 -1
  20. package/dist/core/commands/text-commands.d.cts +1 -1
  21. package/dist/core/commands/text-commands.d.ts +1 -1
  22. package/dist/core/selection/mapping.d.cts +1 -1
  23. package/dist/core/selection/mapping.d.ts +1 -1
  24. package/dist/core/state/editor-state.d.cts +1 -1
  25. package/dist/core/state/editor-state.d.ts +1 -1
  26. package/dist/index.cjs +808 -111
  27. package/dist/index.d.cts +4 -4
  28. package/dist/index.d.ts +4 -4
  29. package/dist/index.js +26 -14
  30. package/dist/io/docx-session.d.cts +3 -3
  31. package/dist/io/docx-session.d.ts +3 -3
  32. package/dist/{loader-Cr35kVUi.d.cts → loader-BB7tRkY2.d.cts} +2 -2
  33. package/dist/{loader-uGY6nDZP.d.ts → loader-DGPbaboy.d.ts} +2 -2
  34. package/dist/{public-types-CSSH2Whc.d.cts → public-types-CIvw1GQa.d.cts} +126 -1
  35. package/dist/{public-types-8kVIB5HW.d.ts → public-types-COCDrgVX.d.ts} +126 -1
  36. package/dist/public-types.d.cts +1 -1
  37. package/dist/public-types.d.ts +1 -1
  38. package/dist/runtime/collab.d.cts +2 -2
  39. package/dist/runtime/collab.d.ts +2 -2
  40. package/dist/runtime/document-runtime.cjs +160 -80
  41. package/dist/runtime/document-runtime.d.cts +1 -1
  42. package/dist/runtime/document-runtime.d.ts +1 -1
  43. package/dist/runtime/document-runtime.js +2 -2
  44. package/dist/{session-Beg8ihOi.d.cts → session-CVU-rtCd.d.cts} +2 -2
  45. package/dist/{session-Dgp-2uYw.d.ts → session-DOqy1-Lf.d.ts} +2 -2
  46. package/dist/session.d.cts +4 -4
  47. package/dist/session.d.ts +4 -4
  48. package/dist/tailwind.d.cts +1 -1
  49. package/dist/tailwind.d.ts +1 -1
  50. package/dist/{types-Cin_abw3.d.ts → types-CB_tOnVp.d.ts} +1 -1
  51. package/dist/{types-qsS39ZkQ.d.cts → types-CZAll7OS.d.cts} +1 -1
  52. package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
  53. package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
  54. package/dist/ui-tailwind.d.cts +2 -2
  55. package/dist/ui-tailwind.d.ts +2 -2
  56. package/package.json +1 -1
@@ -9490,8 +9490,11 @@ declare function createScopeTagRegistry(): ScopeTagRegistry;
9490
9490
 
9491
9491
  interface CreateScopeInput {
9492
9492
  readonly blockId: string;
9493
+ readonly scopeId?: string;
9493
9494
  readonly mode?: "edit" | "suggest" | "comment" | "view";
9494
9495
  readonly label?: string;
9496
+ readonly persistence?: WorkflowMetadataPersistence;
9497
+ readonly metadata?: Partial<WorkflowMetadataEntry>;
9495
9498
  /** Per-scope visibility. Controls chrome/query presentation only. */
9496
9499
  readonly visibility?: ScopeVisibility;
9497
9500
  /**
@@ -9574,8 +9577,11 @@ interface CreateScopeFromAnchorInput {
9574
9577
  }> & {
9575
9578
  readonly storyTarget?: EditorStoryTarget;
9576
9579
  }) | SelectionSnapshot;
9580
+ readonly scopeId?: string;
9577
9581
  readonly mode?: "edit" | "suggest" | "comment" | "view";
9578
9582
  readonly label?: string;
9583
+ readonly persistence?: WorkflowMetadataPersistence;
9584
+ readonly metadata?: Partial<WorkflowMetadataEntry>;
9579
9585
  readonly visibility?: ScopeVisibility;
9580
9586
  readonly guardPolicy?: WorkflowScopeGuardPolicy;
9581
9587
  readonly assoc?: {
@@ -9601,6 +9607,42 @@ type CreateScopeFromAnchorResult = {
9601
9607
  /** Machine-routable next-step hint. */
9602
9608
  readonly nextStep: string;
9603
9609
  };
9610
+ type CreateScopesInputItem = CreateScopeInput | CreateScopeFromAnchorInput;
9611
+ type CreateScopesItemResult = {
9612
+ readonly inputIndex: number;
9613
+ readonly scopeId: string;
9614
+ readonly status: "created";
9615
+ } | {
9616
+ readonly inputIndex: number;
9617
+ readonly scopeId: "";
9618
+ readonly status: "block-not-found";
9619
+ } | {
9620
+ readonly inputIndex: number;
9621
+ readonly scopeId: "";
9622
+ readonly status: "range-invalid";
9623
+ readonly reason: Extract<CreateScopeResult, {
9624
+ readonly status: "range-invalid";
9625
+ }>["reason"] | Extract<CreateScopeFromAnchorResult, {
9626
+ readonly status: "range-invalid";
9627
+ }>["reason"];
9628
+ readonly from: number;
9629
+ readonly to: number;
9630
+ readonly storyLength: number;
9631
+ readonly blockIndex?: number;
9632
+ readonly blockKind?: string;
9633
+ readonly message: string;
9634
+ readonly nextStep: string;
9635
+ };
9636
+ interface CreateScopesInput {
9637
+ readonly scopes: readonly CreateScopesInputItem[];
9638
+ }
9639
+ interface CreateScopesResult {
9640
+ readonly status: "created" | "partial" | "blocked";
9641
+ readonly total: number;
9642
+ readonly created: number;
9643
+ readonly blocked: number;
9644
+ readonly scopes: readonly CreateScopesItemResult[];
9645
+ }
9604
9646
  interface SetScopeGuardPolicyInput {
9605
9647
  readonly scopeId: string;
9606
9648
  readonly guardPolicy: WorkflowScopeGuardPolicy;
@@ -9627,6 +9669,7 @@ declare function createWorkflowFamily(runtime: RuntimeApiHandle): {
9627
9669
  getMarkup(): WorkflowMarkupSnapshot;
9628
9670
  getGuard(): InteractionGuardSnapshot;
9629
9671
  createScope(input: CreateScopeInput): CreateScopeResult;
9672
+ createScopes(input: CreateScopesInput): CreateScopesResult;
9630
9673
  getScopeGuardPolicy(scopeId: string): WorkflowScopeGuardPolicy;
9631
9674
  setScopeGuardPolicy(input: SetScopeGuardPolicyInput): SetScopeGuardPolicyResult;
9632
9675
  createScopeFromAnchor(input: CreateScopeFromAnchorInput): CreateScopeFromAnchorResult;
@@ -11056,6 +11099,12 @@ interface RuntimeListCommandPreview {
11056
11099
  readonly canJoin?: boolean;
11057
11100
  readonly canContinuePrevious?: boolean;
11058
11101
  }
11102
+ interface RuntimeListSequencePreflight {
11103
+ readonly target?: RuntimeListReadback;
11104
+ readonly canJoin: boolean;
11105
+ readonly canContinuePrevious: boolean;
11106
+ readonly blockers: readonly RuntimeListBlocker[];
11107
+ }
11059
11108
  interface RuntimeListApplyInput extends RuntimeListTargetInput {
11060
11109
  readonly command: RuntimeListCommand;
11061
11110
  readonly startAt?: number;
@@ -11073,6 +11122,8 @@ declare function createListsFamily(runtime: RuntimeApiHandle): {
11073
11122
  readonly limit?: number;
11074
11123
  }): RuntimeListReadback[];
11075
11124
  get(input: RuntimeListTargetInput): RuntimeListReadback | null;
11125
+ canJoin(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
11126
+ canContinuePrevious(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
11076
11127
  previewCommand(input: RuntimeListApplyInput): RuntimeListCommandPreview;
11077
11128
  applyCommand(input: RuntimeListApplyInput): RuntimeListApplyResult;
11078
11129
  };
@@ -12881,6 +12932,80 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
12881
12932
  }>;
12882
12933
  };
12883
12934
 
12935
+ declare function createAgentFamily(runtime: RuntimeApiHandle, pe2Evidence?: AiPe2EvidenceOptions): {
12936
+ agent: Readonly<{
12937
+ read: Readonly<{
12938
+ inspectDocument: () => InspectDocumentResult;
12939
+ listScopes: (filter?: {
12940
+ readonly limit?: number;
12941
+ readonly kind?: SemanticScopeKind;
12942
+ }) => SemanticScope[];
12943
+ getScope: (input: GetScopeInput) => SemanticScope | null;
12944
+ getScopeBundle: (input: GetScopeBundleInput) => ScopeBundle | ScopeBundleNotFound;
12945
+ resolveReference: (input: ResolveReferenceInput) => ResolveReferenceResult;
12946
+ queryScopeAtPosition: (input: QueryScopeAtPositionInput) => QueryScopePositionResult;
12947
+ queryScopeInRange: (input: QueryScopeInRangeInput) => QueryScopePositionResult;
12948
+ brief: (input?: BriefActionsInput) => BriefActionsResult;
12949
+ getDocumentOutline: () => GetDocumentOutlineResult;
12950
+ getDocumentStatistics: () => DocumentStatisticsResult;
12951
+ explainFormatting: (input: ExplainFormattingInput) => ExplainFormattingResult | ExplainFormattingNotFound;
12952
+ }>;
12953
+ target: Readonly<{
12954
+ discover: (input?: DiscoverActionsInput) => DiscoverActionsResult;
12955
+ locate: (input: LocateActionsInput) => LocateActionsResult;
12956
+ locateAll: (input: LocateActionsInput) => LocateActionsResult;
12957
+ createPlaceholderScopes: (input?: CreatePlaceholderScopesActionsInput) => CreatePlaceholderScopesActionsResult;
12958
+ }>;
12959
+ edit: Readonly<{
12960
+ rewrite: (input: RewriteActionsInput) => ApplyActionsResult;
12961
+ runPlan: (input: RunPlanActionsInput) => RunPlanActionsResult;
12962
+ insertText: (input: InsertTextActionsInput) => ApplyActionsResult;
12963
+ mark: (input: MarkActionsInput) => ApplyActionsResult;
12964
+ flag: (input: FlagActionsInput) => ApplyActionsResult;
12965
+ flagMany: (input: Omit<FlagActionsInput, "target"> & LocateActionsInput) => ApplyActionsResult;
12966
+ fieldRefresh: (input: FieldRefreshActionsInput) => ApplyActionsResult;
12967
+ tocRefresh: (input: TocRefreshActionsInput) => ApplyActionsResult;
12968
+ bookmarkEdit: (input: BookmarkEditActionsInput) => ApplyActionsResult;
12969
+ hyperlinkDestinationEdit: (input: HyperlinkDestinationEditActionsInput) => ApplyActionsResult;
12970
+ hyperlinkTextEdit: (input: HyperlinkTextEditActionsInput) => ApplyActionsResult;
12971
+ }>;
12972
+ template: Readonly<{
12973
+ validateTargets: (input: ValidateTemplateTargetsActionsInput) => ValidateTemplateTargetsActionsResult;
12974
+ readTarget: (input: TemplateTargetReadActionsInput) => TemplateTargetReadActionsResult;
12975
+ fillField: (input: TemplateFieldFillActionsInput) => ApplyActionsResult;
12976
+ }>;
12977
+ table: Readonly<{
12978
+ replaceContent: (input: TableContentActionsInput) => ApplyActionsResult;
12979
+ applyFragment: (input: TableFragmentActionsInput) => ApplyActionsResult;
12980
+ applySelection: (input: TableSelectionActionsInput) => ApplyActionsResult;
12981
+ listActions: (input: ListTableActionsInput) => AiTableActionListResult;
12982
+ applyAction: (input: ApplyTableActionInput) => ApplyTableActionResult;
12983
+ }>;
12984
+ list: Readonly<{
12985
+ applyOperation: (input: ListOperationActionsInput) => ApplyActionsResult;
12986
+ }>;
12987
+ object: Readonly<{
12988
+ listActions: (input: ListObjectActionsInput) => AiObjectActionListResult;
12989
+ applyAction: (input: ApplyObjectActionInput) => ApplyObjectActionResult;
12990
+ }>;
12991
+ review: Readonly<{
12992
+ acceptRevision: (input: AcceptRevisionInput) => AcceptRevisionResult;
12993
+ rejectRevision: (input: RejectRevisionInput) => RejectRevisionResult;
12994
+ resolveCommentThread: (input: ResolveCommentThreadInput) => ResolveCommentThreadResult;
12995
+ resolveIssue: (input: ResolveIssueInput) => ResolveIssueResult;
12996
+ reopenIssue: (input: ReopenIssueInput) => ReopenIssueResult;
12997
+ }>;
12998
+ policy: Readonly<{
12999
+ getPolicy: (input?: GetPolicyInput) => GetPolicyResult;
13000
+ listActions: () => ListAIActionsResult;
13001
+ evaluateAction: (input: EvaluateActionInput) => EvaluateActionResult;
13002
+ }>;
13003
+ export: Readonly<{
13004
+ reviewedDocument: (options?: ExportDocxOptions) => Promise<ExportResult>;
13005
+ }>;
13006
+ }>;
13007
+ };
13008
+
12884
13009
  type UiEditableTargetKind = NonNullable<SemanticDisplayEntry["editableTargetKind"]>;
12885
13010
  type UiEditableTargetCommandFamily = NonNullable<SemanticDisplayEntry["editableTargetCommandFamily"]>;
12886
13011
  type UiEditableTargetEditability = NonNullable<SemanticDisplayEntry["editableTargetEditability"]>;
@@ -13718,7 +13843,7 @@ type ApiV3Runtime = {
13718
13843
  readonly viewport: ReturnType<typeof createViewportFamily>;
13719
13844
  readonly lists: ReturnType<typeof createListsFamily>;
13720
13845
  };
13721
- 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>;
13846
+ 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> & ReturnType<typeof createAgentFamily>;
13722
13847
  interface ApiV3 {
13723
13848
  readonly runtime: ApiV3Runtime;
13724
13849
  readonly ai: ApiV3Ai;
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, 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, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, 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, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, 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, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, 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, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from './public-types-CSSH2Whc.cjs';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, 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, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, 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, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, 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, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, 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, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from './public-types-CIvw1GQa.cjs';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ae as AreaChartModel, af as Axis, ag as AxisBase, ah as BarChartModel, B as BlockNode, ai as BubbleChartModel, aj as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, ak as CategoryAxis, al as CategoryLikeAxis, am as ChartCommon, a6 as ChartModel, an as ColorMod, a8 as ColorRef, ao as ComboChartModel, ap as DataLabelsSpec, aq as DataPointOverride, ar as DateAxis, a3 as FillSpec, as as Legend, at as LineChartModel, au as LineSeries, av as MarkerSpec, aw as PieChartModel, ax as PieSeries, a7 as ResolvedTheme, ay as ScatterChartModel, az as ScatterSeries, aA as Series, aB as SeriesAxis, aC as SeriesBase, aD as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aE as Title, aF as UnsupportedChartModel, aG as UnsupportedReason, aH as ValueAxis } from './canonical-document-COmM7v11.cjs';
@@ -1,5 +1,5 @@
1
1
  import 'react';
2
- export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, 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, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, 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, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, 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, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, 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, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from './public-types-8kVIB5HW.js';
2
+ export { bn as ActiveListContext, gT as ActiveMarginPreset, bo as ActiveNoteContext, gU as ActivePageFormat, bp as AddCommentParams, bq as AddCommentReplyResult, br as AddCommentResult, gV as AddScopeParams, gW as AddScopeResult, bs as AiExplanationScopeInput, bt as AiExplanationScopeResult, bw as AutosaveConfig, bx as AutosaveState, bz as BatchEditEntryResult, bA as BatchEditOperation, bB as BatchEditOptions, bC as BatchEditResult, gX as CAPABILITY_BY_ID, C as CanonicalDocumentEnvelope, gY as CanonicalDocumentFragment, gZ as CapabilityBlockReason, g_ as CapabilityCategory, g$ as CapabilityKind, h0 as CapabilityShortcut, 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, f2 as ChromePinSurface, fl as ChromePinsState, h1 as ClearHighlightOptions, bN as CollabSession, bT as CommandStateSnapshot, c7 as CommentSidebarSnapshot, c8 as CommentSidebarThreadEntrySnapshot, c9 as CommentSidebarThreadSnapshot, ca as CompatibilityFeatureClass, cb as CompatibilityFeatureEntry, cc as CompatibilityPanelSnapshot, r as CompatibilityReport, h2 as DEFAULT_PAGE_ESTIMATE_PX_PER_TWIP, h3 as DEFAULT_PX_PER_TWIP, h4 as DecorationIndex, cg as DocumentChunkKind, ch as DocumentChunkSnapshot, ci as DocumentHeadingSnapshot, cj as DocumentLocationSnapshot, ck as DocumentLocationSource, h5 as DocumentMode, cl as DocumentNavigationSnapshot, cm as DocumentOutlineHeadingSnapshot, cn as DocumentOutlineSnapshot, co as DocumentPageSnapshot, cp as DocumentSectionSnapshot, cq as DocumentStats, cr as DocumentTextToken, h6 as EMU_PER_INCH, h7 as EMU_PER_PX, fo as EditableTargetRef, cs as EditorAnchorProjection, h8 as EditorApiError, h9 as EditorCapability, ct as EditorDatastoreAdapter, ha as EditorDiagnostic, hb as EditorDiagnosticCode, hc as EditorDiagnosticLlmMetadata, hd as EditorDiagnosticRecoveryClass, he as EditorDiagnosticRemediation, hf as EditorDiagnosticSource, hg as EditorDiagnosticTechnical, t as EditorError, cu as EditorErrorCode, E as EditorHostAdapter, fh as EditorRole, a as EditorSessionState, 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, d as EditorSurfaceSnapshot, cG as EditorTelemetryEvent, cH as EditorUser, cI as EditorViewStateSnapshot, cJ as EditorWarning, cK as EditorWarningCode, hh as EffectiveSelectionMode, hi as EmbeddedDocumentManifestLike, hj as ExportDelivery, b as ExportDocxOptions, c as ExportResult, cM as ExternalDocumentSource, hk as FieldEntrySnapshot, hl as FieldFamily, hm as FieldRefreshStatus, hn as FieldSnapshot, f4 as FormattingAlignment, ho as FormattingBreadcrumbItem, fc as FormattingStateSnapshot, f8 as GeometryFacet, cN as HeaderFooterLinkPatch, cO as HostAnnotationItem, cP as HostAnnotationKind, cQ as HostAnnotationOverlay, cR as HostAnnotationSnapshot, cS as ISSUE_METADATA_ID, f5 as InsertImageOptions, I as InsertTableOptions, cT as InteractionGuardSnapshot, cU as IssueMetadataValue, cV as IssueMode, cW as IssueOwner, cX as IssueSeverity, hp as LayoutFacetEvent, hq as LayoutFacetInvalidationReason, hr as LayoutInputIdentity, cY as LayoutMeasurement, cZ as LoadRequest, c_ as LoadResult, c$ as LoadSourcePolicy, L as LoadStage, fw as MAIN_STORY_TARGET, M as MarginPresetDefinition, hs as MetadataConflictPolicy, d0 as MetadataIntegrity, d1 as MetadataPersistenceMode, d2 as MetadataResolverMissingError, ht as OverlayKind, hu as OverlayVisibilityAuthorship, hv as OverlayVisibilityEnforcement, hw as OverlayVisibilityPolicy, hx as PERCENTAGE_PARTS, hy as PageChromeReservations, hz as PageFieldContext, k as PageFormatDefinition, d8 as PageLayoutSnapshot, hA as PagePatchEntry, hB as PagePatchPlan, hC as PagePatchReason, hD as PagePreviewMaps, d9 as PageRegionHitTest, P as PersistedEditorSnapshot, f3 as PinState, hE as ProtectionRange, u as ProtectionSnapshot, hF as PublicBlockFragment, hG as PublicBlockMeasurement, hH as PublicBorderSpec, hI as PublicCellLocator, hJ as PublicCellShading, hK as PublicFieldDirtinessReport, hL as PublicLayoutDivergence, hM as PublicLineBox, hN as PublicLineRunAnchor, fm as PublicMeasurementFidelity, hO as PublicNoteAllocation, hP as PublicPageAnchor, hQ as PublicPageFrame, hR as PublicPageLocalStoryInstance, hS as PublicPageNode, hT as PublicPagePaginationTelemetry, hU as PublicPageRegion, hV as PublicPageRegions, hW as PublicPageSpan, hX as PublicPaginationTelemetry, hY as PublicRegionBlock, hZ as PublicRegionKind, h_ as PublicResolvedPageStories, h$ as PublicResolvedParagraphFormatting, i0 as PublicResolvedRunFormatting, i1 as PublicResolvedStoryField, i2 as PublicSectionNode, i3 as PublicStoryAnchoredObject, i4 as PublicTableBorders, i5 as PublicTableCellBorders, i6 as PublicTableCellMargins, i7 as PublicTableEvent, i8 as PublicTableRenderPlan, i9 as PublicTableRowHeight, ia as PublicTableStyle, ib as PublicTableSummary, ic as PublicTableWidth, id as PublicTwipsRect, de as REVIEW_ACTION_METADATA_ID, ie as ROTATION_UNITS_PER_DEGREE, ig as RenderAnchorIndex, ih as RenderAnchorQuery, ii as RenderBlock, ij as RenderBlockDecoration, ik as RenderFrame, il as RenderFrameQueryOptions, im as RenderFrameRect, io as RenderHitResult, ip as RenderKernelEvent, iq as RenderLine, ir as RenderLineAnchor, is as RenderPage, it as RenderPageRegions, iu as RenderPoint, iv as RenderStoryRegion, iw as RenderZoom, ix as RenderZoomSummary, iy as ResolveMetadataConflictInput, iz as ResolvedNumberingGeometrySnapshot, iA as ResolvedNumberingSnapshot, 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, iB as RuntimeEditTargetContext, bm as RuntimePageGraph, iC as RuntimePageNode, R as RuntimeRenderSnapshot, iD as SRCRECT_UNITS_PER_PERCENT, iE as SanitizeResult, dC as SaveExportParams, dD as SaveExportResult, dE as SaveSessionParams, dF as SaveSessionResult, dG as SaveSnapshotParams, dH as SaveSnapshotResult, iF as ScopeBundle, iG as ScopeBundleEvidence, iH as ScopeBundleNeighborhood, dI as ScopeCardModel, iI as ScopeChromeVisibility, iJ as ScopeChromeVisibilityState, iK as ScopeHandle, dJ as ScopeIssueAction, dK as ScopeMetadataPersistence, dL as ScopeMetadataResolver, dM as ScopeMetadataStorageRef, iL as ScopeQueryFilter, iM as ScopeQueryResult, fk as ScopeRailPosture, f1 as ScopeRailSegment, iN as ScopeRailSnapshot, iO as ScopeTagRegistry, dN as ScopeTagTouch, iP as ScopeVisibility, l as SearchOptions, iQ as SearchResultSnapshot, m as SearchTextOptions, n as SecondaryStorySearchResult, iR as SecondaryStorySurface, dO as SectionBreakType, dP as SectionLayoutPatch, dQ as SectionPageNumberingPatch, j as SelectionSnapshot, iS as SemanticScope, iT as SemanticScopeKind, f6 as SessionCapabilities, iU as SetSelectionOptions, aT as SharedWorkflowState, iV as ShortcutDelegationContext, dV as SnapshotRefreshChangeKind, dW as SnapshotRefreshHints, dX as SnapshotRefreshInvalidateTarget, dY as SnapshotRefreshStaleTarget, iW as StorageReference, iX as StoreEmbeddedDocParams, dZ as StoryTextStreamSnapshot, d_ as StyleCatalogEntrySnapshot, d$ as StyleCatalogSnapshot, e0 as SuggestionEntrySnapshot, e1 as SuggestionGroup, e2 as SuggestionsSnapshot, iY as SupportedFieldFamily, e3 as SurfaceBlockSnapshot, iZ as SurfaceDrawingAnchor, e4 as SurfaceInlineSegment, i_ as SurfacePictureEffects, i$ as SurfacePreserveOnlyObjectSizing, e5 as SurfaceTableCellSnapshot, e6 as SurfaceTableRowSnapshot, j0 as SurfaceTextBoxBodyProperties, j1 as SurfaceTextBoxBodySnapshot, j2 as SurfaceTextBoxBodyStatus, j3 as SurfaceTextBoxParagraphSnapshot, j4 as SurfaceTextBoxRunSnapshot, e7 as SurfaceTextMark, j5 as TWIPS_PER_PX, j6 as TableOp, j7 as TableOpResult, j8 as TableOperationCapabilitySnapshot, fg as TableStructureContextSnapshot, b8 as TextCommandAck, ed as TextCommandAckKind, b9 as TextCommandRefreshClass, h as TextFormattingDirective, ee as TextProjection, ef as TextProjectionLine, eg as TextProjectionOptions, eh as TextProjectionStoryEntry, j9 as TextStyleFilter, ei as TocEntrySnapshot, ja as TocRefreshOptions, jb as TocRefreshResult, jc as TocRefreshTrigger, ej as TocRegionSnapshot, ek as TocSnapshot, el as TrackedChangeEntrySnapshot, em as TrackedChangesSnapshot, jd as UpdateFieldsOptions, je as UpdateFieldsResult, en as ViewMode, jf as WordReviewEditorChangesFacet, eo as WordReviewEditorChromeOptions, ep as WordReviewEditorChromePreset, eq as WordReviewEditorChromeVisibility, jg as WordReviewEditorCommentsFacet, jh as WordReviewEditorDiagnosticsFacet, ji as WordReviewEditorDocumentFacet, er as WordReviewEditorEvent, jj as WordReviewEditorFieldsFacet, f7 as WordReviewEditorLayoutFacet, jk as WordReviewEditorPasteEvent, ba as WordReviewEditorProps, bb as WordReviewEditorRef, jl as WordReviewEditorScopesFacet, jm as WordReviewEditorTablesFacet, es as WorkflowBlockedCommandReason, et as WorkflowCandidateRange, eu as WorkflowCandidateRangeOptions, ev as WorkflowCommentMarkup, jn as WorkflowEventOrigin, f9 as WorkflowFacet, ew as WorkflowFieldMarkup, ex as WorkflowHighlightMarkup, jo as WorkflowLockedZone, ey as WorkflowMarkupBase, ez as WorkflowMarkupItem, eA as WorkflowMarkupKind, jp as WorkflowMarkupMode, jq as WorkflowMarkupModeEnforcement, jr as WorkflowMarkupModePolicy, 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, js as WorkflowScopeGuardPolicy, jt as WorkflowScopeMetadataField, eN as WorkflowScopeMode, eO as WorkflowScopeSnapshot, eP as WorkflowWorkItem, eQ as WorkspaceMode, eR as ZoomLevel, ju as buildPagePreviewMaps, jv as buildSearchPattern, jw as createCanvasBackend, jx as createPagePatchPlan, jy as createPublicNodeAnchor, jz as createPublicRangeAnchor, jA as createScopeTagRegistry, o as createSearchExcerpt, fp as deriveCapabilities, jB as estimateBlockHeight, jC as estimateParagraphLineCount, jD as estimateParagraphLineHeight, jE as findPageForOffset, p as findSearchMatches, jF as getUsableColumnWidth, jG as resolvePageFieldDisplayText, jH as sanitizeMarkdown, s as searchSecondaryStories, jI as storyTargetKey, fN as storyTargetsEqual } from './public-types-COCDrgVX.js';
3
3
  import 'y-protocols/awareness';
4
4
  import 'yjs';
5
5
  export { ae as AreaChartModel, af as Axis, ag as AxisBase, ah as BarChartModel, B as BlockNode, ai as BubbleChartModel, aj as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, ak as CategoryAxis, al as CategoryLikeAxis, am as ChartCommon, a6 as ChartModel, an as ColorMod, a8 as ColorRef, ao as ComboChartModel, ap as DataLabelsSpec, aq as DataPointOverride, ar as DateAxis, a3 as FillSpec, as as Legend, at as LineChartModel, au as LineSeries, av as MarkerSpec, aw as PieChartModel, ax as PieSeries, a7 as ResolvedTheme, ay as ScatterChartModel, az as ScatterSeries, aA as Series, aB as SeriesAxis, aC as SeriesBase, aD as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aE as Title, aF as UnsupportedChartModel, aG as UnsupportedReason, aH as ValueAxis } from './canonical-document-COmM7v11.js';
@@ -1,5 +1,5 @@
1
- import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-CSSH2Whc.cjs';
2
- export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-CSSH2Whc.cjs';
1
+ import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-CIvw1GQa.cjs';
2
+ export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-CIvw1GQa.cjs';
3
3
  import * as Y from 'yjs';
4
4
  import { Awareness } from 'y-protocols/awareness';
5
5
  import 'react';
@@ -1,5 +1,5 @@
1
- import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-8kVIB5HW.js';
2
- export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-8kVIB5HW.js';
1
+ import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-COCDrgVX.js';
2
+ export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-COCDrgVX.js';
3
3
  import * as Y from 'yjs';
4
4
  import { Awareness } from 'y-protocols/awareness';
5
5
  import 'react';
@@ -35862,13 +35862,32 @@ function storyKeyFromHandle(handle) {
35862
35862
  function textLeafEditableTargetHint(entry, semanticBlockRange) {
35863
35863
  const storyKey2 = storyKeyFromHandle(entry.handle);
35864
35864
  if (!storyKey2) return void 0;
35865
+ const semanticBlockPath = textLeafBlockPathFromSemanticPath(entry.handle.semanticPath, storyKey2);
35865
35866
  return {
35866
35867
  kind: "text-leaf",
35867
35868
  storyKey: storyKey2,
35868
- blockPath: `${storyKey2}/block[${entry.blockIndex}]`,
35869
+ blockPath: semanticBlockPath ?? `${storyKey2}/block[${entry.blockIndex}]`,
35869
35870
  semanticBlockRange
35870
35871
  };
35871
35872
  }
35873
+ function textLeafBlockPathFromSemanticPath(semanticPath, storyKey2) {
35874
+ if (!semanticPath) return null;
35875
+ const tableIndex = semanticPath.indexOf("table");
35876
+ const rowIndex = semanticPath.indexOf("row", tableIndex + 1);
35877
+ const cellIndex = semanticPath.indexOf("cell", rowIndex + 1);
35878
+ const paragraphIndex = semanticPath.indexOf("paragraph", cellIndex + 1);
35879
+ if (tableIndex < 0 || rowIndex < 0 || cellIndex < 0 || paragraphIndex < 0) {
35880
+ return null;
35881
+ }
35882
+ const table = Number(semanticPath[tableIndex + 1]);
35883
+ const row2 = Number(semanticPath[rowIndex + 1]);
35884
+ const cell = Number(semanticPath[cellIndex + 1]);
35885
+ const paragraph = Number(semanticPath[paragraphIndex + 1]);
35886
+ if (!Number.isInteger(table) || !Number.isInteger(row2) || !Number.isInteger(cell) || !Number.isInteger(paragraph)) {
35887
+ return null;
35888
+ }
35889
+ return `${storyKey2}/block[${table}]/row[${row2}]/cell[${cell}]/block[${paragraph}]`;
35890
+ }
35872
35891
  function compileParagraphReplacement(entry, proposed, options) {
35873
35892
  if (proposed.operation !== "replace" && proposed.operation !== "insert-before" && proposed.operation !== "insert-after") {
35874
35893
  return null;
@@ -50347,81 +50366,83 @@ function createWorkflowCoordinator(deps) {
50347
50366
  }
50348
50367
  function addScopes(paramsList) {
50349
50368
  if (paramsList.length === 0) return [];
50350
- let nextDocument = deps.getDocument();
50351
- let documentChanged = false;
50352
- const results = [];
50353
- const scopesToAdd = [];
50354
- const metadataEntriesToAdd = [];
50355
- const newScopeIds = /* @__PURE__ */ new Set();
50356
- for (const params of paramsList) {
50357
- const scopeId = params.scopeId ?? `scope-${clock().replace(/[^0-9]/gu, "")}-${Math.floor(Math.random() * 1e6)}`;
50358
- const anchor = params.anchor.kind === "range" ? { from: params.anchor.from, to: params.anchor.to } : null;
50359
- if (!anchor) {
50360
- results.push({ scopeId, anchor: params.anchor });
50361
- continue;
50369
+ return deps.runInRuntimeBatch("workflow.addScopes", () => {
50370
+ let nextDocument = deps.getDocument();
50371
+ let documentChanged = false;
50372
+ const results = [];
50373
+ const scopesToAdd = [];
50374
+ const metadataEntriesToAdd = [];
50375
+ const newScopeIds = /* @__PURE__ */ new Set();
50376
+ for (const params of paramsList) {
50377
+ const scopeId = params.scopeId ?? `scope-${clock().replace(/[^0-9]/gu, "")}-${Math.floor(Math.random() * 1e6)}`;
50378
+ const anchor = params.anchor.kind === "range" ? { from: params.anchor.from, to: params.anchor.to } : null;
50379
+ if (!anchor) {
50380
+ results.push({ scopeId, anchor: params.anchor });
50381
+ continue;
50382
+ }
50383
+ const callerAssoc = params.anchor.kind === "range" ? params.anchor.assoc : { start: -1, end: 1 };
50384
+ const plantResult = insertScopeMarkers(nextDocument, {
50385
+ scopeId,
50386
+ from: anchor.from,
50387
+ to: anchor.to
50388
+ });
50389
+ if (plantResult.status !== "planted") {
50390
+ results.push(
50391
+ createPlantFailureResult({
50392
+ scopeId,
50393
+ anchor,
50394
+ assoc: callerAssoc,
50395
+ plantResult
50396
+ })
50397
+ );
50398
+ continue;
50399
+ }
50400
+ nextDocument = plantResult.document;
50401
+ documentChanged = true;
50402
+ const publicAnchor = {
50403
+ kind: "range",
50404
+ from: plantResult.plantedRange.from,
50405
+ to: plantResult.plantedRange.to,
50406
+ assoc: callerAssoc
50407
+ };
50408
+ newScopeIds.add(scopeId);
50409
+ scopesToAdd.push(buildWorkflowScope({ params, scopeId, publicAnchor }));
50410
+ const entry = buildWorkflowMetadataEntry({ params, scopeId, publicAnchor });
50411
+ if (entry) metadataEntriesToAdd.push(entry);
50412
+ results.push({ scopeId, anchor: publicAnchor });
50362
50413
  }
50363
- const callerAssoc = params.anchor.kind === "range" ? params.anchor.assoc : { start: -1, end: 1 };
50364
- const plantResult = insertScopeMarkers(nextDocument, {
50365
- scopeId,
50366
- from: anchor.from,
50367
- to: anchor.to
50368
- });
50369
- if (plantResult.status !== "planted") {
50370
- results.push(
50371
- createPlantFailureResult({
50372
- scopeId,
50373
- anchor,
50374
- assoc: callerAssoc,
50375
- plantResult
50376
- })
50414
+ if (documentChanged) {
50415
+ deps.dispatch({
50416
+ type: "document.replace",
50417
+ document: nextDocument,
50418
+ mapping: createScopeMarkerMutationMapping(),
50419
+ origin: { source: "api", at: clock() }
50420
+ });
50421
+ }
50422
+ if (scopesToAdd.length > 0) {
50423
+ const currentOverlay = overlayStore.getOverlay() ?? {
50424
+ overlayVersion: "workflow-overlay/1",
50425
+ scopes: []
50426
+ };
50427
+ const existingScopes = currentOverlay.scopes.filter(
50428
+ (existing) => !newScopeIds.has(existing.scopeId)
50377
50429
  );
50378
- continue;
50430
+ deps.dispatch({
50431
+ type: "workflow.set-overlay",
50432
+ overlay: { ...currentOverlay, scopes: [...existingScopes, ...scopesToAdd] },
50433
+ origin: { source: "api", at: clock() }
50434
+ });
50379
50435
  }
50380
- nextDocument = plantResult.document;
50381
- documentChanged = true;
50382
- const publicAnchor = {
50383
- kind: "range",
50384
- from: plantResult.plantedRange.from,
50385
- to: plantResult.plantedRange.to,
50386
- assoc: callerAssoc
50387
- };
50388
- newScopeIds.add(scopeId);
50389
- scopesToAdd.push(buildWorkflowScope({ params, scopeId, publicAnchor }));
50390
- const entry = buildWorkflowMetadataEntry({ params, scopeId, publicAnchor });
50391
- if (entry) metadataEntriesToAdd.push(entry);
50392
- results.push({ scopeId, anchor: publicAnchor });
50393
- }
50394
- if (documentChanged) {
50395
- deps.dispatch({
50396
- type: "document.replace",
50397
- document: nextDocument,
50398
- mapping: createScopeMarkerMutationMapping(),
50399
- origin: { source: "api", at: clock() }
50400
- });
50401
- }
50402
- if (scopesToAdd.length > 0) {
50403
- const currentOverlay = overlayStore.getOverlay() ?? {
50404
- overlayVersion: "workflow-overlay/1",
50405
- scopes: []
50406
- };
50407
- const existingScopes = currentOverlay.scopes.filter(
50408
- (existing) => !newScopeIds.has(existing.scopeId)
50409
- );
50410
- deps.dispatch({
50411
- type: "workflow.set-overlay",
50412
- overlay: { ...currentOverlay, scopes: [...existingScopes, ...scopesToAdd] },
50413
- origin: { source: "api", at: clock() }
50414
- });
50415
- }
50416
- if (metadataEntriesToAdd.length > 0) {
50417
- const priorEntries = overlayStore.getMetadataEntries();
50418
- deps.dispatch({
50419
- type: "workflow.set-metadata-entries",
50420
- entries: [...priorEntries, ...metadataEntriesToAdd],
50421
- origin: { source: "api", at: clock() }
50422
- });
50423
- }
50424
- return results;
50436
+ if (metadataEntriesToAdd.length > 0) {
50437
+ const priorEntries = overlayStore.getMetadataEntries();
50438
+ deps.dispatch({
50439
+ type: "workflow.set-metadata-entries",
50440
+ entries: [...priorEntries, ...metadataEntriesToAdd],
50441
+ origin: { source: "api", at: clock() }
50442
+ });
50443
+ }
50444
+ return results;
50445
+ });
50425
50446
  }
50426
50447
  function removeScope(scopeId) {
50427
50448
  const overlay = overlayStore.getOverlay();
@@ -56511,6 +56532,10 @@ function createDocumentRuntime(options) {
56511
56532
  const sessionId = createSessionId(options.documentId, clock());
56512
56533
  const listeners = /* @__PURE__ */ new Set();
56513
56534
  const eventListeners = /* @__PURE__ */ new Set();
56535
+ let runtimeNotificationBatchDepth = 0;
56536
+ let pendingRuntimeListenerNotify = false;
56537
+ let pendingRenderSnapshotRefresh = false;
56538
+ const pendingRuntimeEvents = [];
56514
56539
  const loadScheduler = options.loadScheduler ?? createLoadScheduler({ backendOverride: "sync" });
56515
56540
  let effectiveMarkupModeProvider;
56516
56541
  const perfCounters = new PerfCounters();
@@ -57722,6 +57747,7 @@ function createDocumentRuntime(options) {
57722
57747
  deriveOpaqueWorkflowBlockedReason,
57723
57748
  isBlockedByProtection,
57724
57749
  dispatch: (command) => dispatchToRuntime(command),
57750
+ runInRuntimeBatch: runRuntimeNotificationBatch,
57725
57751
  emitEvent: (event) => emit(event),
57726
57752
  editorStateChannel,
57727
57753
  suggestingUnsupportedCommands: SUGGESTING_UNSUPPORTED_COMMANDS
@@ -58071,9 +58097,7 @@ function createDocumentRuntime(options) {
58071
58097
  ...cachedRenderSnapshot,
58072
58098
  surface: newSurface
58073
58099
  };
58074
- for (const listener of listeners) {
58075
- listener();
58076
- }
58100
+ notifyRuntimeListeners();
58077
58101
  }
58078
58102
  function maybeRefreshSurfaceForViewport() {
58079
58103
  const fingerprint = `${storyTargetKey(activeStory)}|${viewportRangesKey}|${String(state.selection.anchor)}:${String(state.selection.head)}`;
@@ -61206,9 +61230,7 @@ function createDocumentRuntime(options) {
61206
61230
  code: cleared.code
61207
61231
  });
61208
61232
  }
61209
- for (const listener of listeners) {
61210
- listener();
61211
- }
61233
+ notifyRuntimeListeners();
61212
61234
  }
61213
61235
  function applyTextCommandInActiveStory(command, textOptions = {}) {
61214
61236
  emitStageToken(telemetryBus, "command", "command.dispatch.start", {
@@ -61801,7 +61823,7 @@ function createDocumentRuntime(options) {
61801
61823
  const warningDelta = workflowCoordinator.applyOverlayCommand(
61802
61824
  command,
61803
61825
  () => {
61804
- cachedRenderSnapshot = refreshRenderSnapshot();
61826
+ requestRuntimeRenderSnapshotRefresh();
61805
61827
  }
61806
61828
  );
61807
61829
  if (warningDelta) {
@@ -61859,11 +61881,69 @@ function createDocumentRuntime(options) {
61859
61881
  });
61860
61882
  }
61861
61883
  }
61884
+ notifyRuntimeListeners();
61885
+ }
61886
+ function runRuntimeNotificationBatch(label, fn) {
61887
+ runtimeNotificationBatchDepth += 1;
61888
+ perfCounters.increment(`runtime.notificationBatch.${label}.calls`);
61889
+ try {
61890
+ return fn();
61891
+ } finally {
61892
+ runtimeNotificationBatchDepth -= 1;
61893
+ if (runtimeNotificationBatchDepth === 0) {
61894
+ flushRuntimeNotificationBatch();
61895
+ }
61896
+ }
61897
+ }
61898
+ function requestRuntimeRenderSnapshotRefresh() {
61899
+ if (runtimeNotificationBatchDepth > 0) {
61900
+ pendingRenderSnapshotRefresh = true;
61901
+ perfCounters.increment("runtime.notificationBatch.renderRefreshDeferred");
61902
+ return;
61903
+ }
61904
+ cachedRenderSnapshot = refreshRenderSnapshot();
61905
+ }
61906
+ function notifyRuntimeListeners() {
61907
+ if (runtimeNotificationBatchDepth > 0) {
61908
+ pendingRuntimeListenerNotify = true;
61909
+ perfCounters.increment("runtime.notificationBatch.listenerNotifyDeferred");
61910
+ return;
61911
+ }
61912
+ notifyRuntimeListenersNow();
61913
+ }
61914
+ function notifyRuntimeListenersNow() {
61862
61915
  for (const listener of listeners) {
61863
61916
  listener();
61864
61917
  }
61865
61918
  }
61919
+ function flushRuntimeNotificationBatch() {
61920
+ if (pendingRenderSnapshotRefresh) {
61921
+ pendingRenderSnapshotRefresh = false;
61922
+ cachedRenderSnapshot = refreshRenderSnapshot();
61923
+ perfCounters.increment("runtime.notificationBatch.renderRefreshFlushed");
61924
+ }
61925
+ if (pendingRuntimeEvents.length > 0) {
61926
+ const queuedEvents = pendingRuntimeEvents.splice(0);
61927
+ perfCounters.increment("runtime.notificationBatch.eventsFlushed", queuedEvents.length);
61928
+ for (const event of queuedEvents) {
61929
+ emitInternalNow(event);
61930
+ }
61931
+ }
61932
+ if (pendingRuntimeListenerNotify) {
61933
+ pendingRuntimeListenerNotify = false;
61934
+ perfCounters.increment("runtime.notificationBatch.listenerNotifyFlushed");
61935
+ notifyRuntimeListenersNow();
61936
+ }
61937
+ }
61866
61938
  function emitInternal(event) {
61939
+ if (runtimeNotificationBatchDepth > 0) {
61940
+ pendingRuntimeEvents.push(event);
61941
+ perfCounters.increment("runtime.notificationBatch.eventsQueued");
61942
+ return;
61943
+ }
61944
+ emitInternalNow(event);
61945
+ }
61946
+ function emitInternalNow(event) {
61867
61947
  options.onEvent?.(event);
61868
61948
  for (const listener of eventListeners) {
61869
61949
  listener(event);
@@ -1,4 +1,4 @@
1
- export { gH as ActiveStoryTextCommand, gI as CommandAppliedMeta, gJ as CreateDocumentRuntimeOptions, gK as DocumentRuntime, gL as DocumentRuntimeEvent, gM as RemoteCommandEnvelope, gN as Unsubscribe, gO as __buildTocInlineNodes, gP as __collectFontLoaderInputUncached, gQ as __fontFamiliesEqual, gR as createDocumentRuntime, gS as getThemeColorResolver } from '../public-types-CSSH2Whc.cjs';
1
+ export { gH as ActiveStoryTextCommand, gI as CommandAppliedMeta, gJ as CreateDocumentRuntimeOptions, gK as DocumentRuntime, gL as DocumentRuntimeEvent, gM as RemoteCommandEnvelope, gN as Unsubscribe, gO as __buildTocInlineNodes, gP as __collectFontLoaderInputUncached, gQ as __fontFamiliesEqual, gR as createDocumentRuntime, gS as getThemeColorResolver } from '../public-types-CIvw1GQa.cjs';
2
2
  import '../canonical-document-COmM7v11.cjs';
3
3
  import 'react';
4
4
  import 'yjs';