@beyondwork/docx-react-component 1.0.135 → 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.
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/v3.cjs +827 -59
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +2 -2
- package/dist/{canonical-document-CfZIc-fC.d.cts → canonical-document-COmM7v11.d.cts} +1 -1
- package/dist/{canonical-document-CfZIc-fC.d.ts → canonical-document-COmM7v11.d.ts} +1 -1
- package/dist/{chunk-EPFVMUKF.js → chunk-M3AEVSKU.js} +793 -56
- package/dist/{chunk-5CCYF333.js → chunk-NYIMPM3Z.js} +143 -1
- package/dist/{chunk-GIFXKIM5.js → chunk-SMBDQV73.js} +688 -57
- package/dist/compare.d.cts +1 -1
- package/dist/compare.d.ts +1 -1
- package/dist/core/commands/formatting-commands.d.cts +2 -2
- package/dist/core/commands/formatting-commands.d.ts +2 -2
- package/dist/core/commands/image-commands.d.cts +2 -2
- package/dist/core/commands/image-commands.d.ts +2 -2
- package/dist/core/commands/section-layout-commands.d.cts +2 -2
- package/dist/core/commands/section-layout-commands.d.ts +2 -2
- package/dist/core/commands/style-commands.d.cts +2 -2
- package/dist/core/commands/style-commands.d.ts +2 -2
- package/dist/core/commands/table-structure-commands.d.cts +2 -2
- package/dist/core/commands/table-structure-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/selection/mapping.d.cts +2 -2
- package/dist/core/selection/mapping.d.ts +2 -2
- package/dist/core/state/editor-state.d.cts +2 -2
- package/dist/core/state/editor-state.d.ts +2 -2
- package/dist/index.cjs +1808 -190
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +144 -32
- package/dist/io/docx-session.d.cts +4 -4
- package/dist/io/docx-session.d.ts +4 -4
- package/dist/legal.d.cts +1 -1
- package/dist/legal.d.ts +1 -1
- package/dist/{loader-BQ7AB-0v.d.cts → loader-BB7tRkY2.d.cts} +3 -3
- package/dist/{loader-Cy6OYBfn.d.ts → loader-DGPbaboy.d.ts} +3 -3
- package/dist/{public-types-D31xKNGc.d.cts → public-types-CIvw1GQa.d.cts} +142 -9
- package/dist/{public-types-DqYt8GdP.d.ts → public-types-COCDrgVX.d.ts} +142 -9
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +825 -54
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +2 -2
- package/dist/{session-DA-F2fCw.d.cts → session-CVU-rtCd.d.cts} +3 -3
- package/dist/{session-DqL8H0oZ.d.ts → session-DOqy1-Lf.d.ts} +3 -3
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/{types-SllbCtGs.d.ts → types-CB_tOnVp.d.ts} +2 -2
- package/dist/{types-B2y94n5t.d.cts → types-CZAll7OS.d.cts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +3 -3
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +3 -3
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import * as y_protocols_awareness from 'y-protocols/awareness';
|
|
5
5
|
import { Awareness } from 'y-protocols/awareness';
|
|
6
|
-
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders } from './canonical-document-
|
|
6
|
+
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders, ad as NumberingCatalog } from './canonical-document-COmM7v11.cjs';
|
|
7
7
|
import * as prosemirror_state from 'prosemirror-state';
|
|
8
8
|
import { Command } from 'prosemirror-state';
|
|
9
9
|
import { Schema } from 'prosemirror-model';
|
|
@@ -8080,6 +8080,7 @@ interface DocumentRuntime {
|
|
|
8080
8080
|
addReplyToChange(changeId: string, body: string, authorId?: string): AddCommentReplyResult | null;
|
|
8081
8081
|
editCommentBody(commentId: string, body: string): void;
|
|
8082
8082
|
addScope(params: AddScopeParams): AddScopeResult;
|
|
8083
|
+
addScopes(params: readonly AddScopeParams[]): readonly AddScopeResult[];
|
|
8083
8084
|
getScope(scopeId: string): WorkflowScope | null;
|
|
8084
8085
|
/**
|
|
8085
8086
|
* Layer-08 scope-bundle lookup keyed by scopeId — read-side join over
|
|
@@ -9014,7 +9015,7 @@ interface RuntimeWordFieldMatrixProvider {
|
|
|
9014
9015
|
* `runtime.collab.*` family graduate its live path when hosts supply it
|
|
9015
9016
|
* and fall back to deterministic mocks when they don't.
|
|
9016
9017
|
*/
|
|
9017
|
-
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
|
+
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "addScopes" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
9019
|
/**
|
|
9019
9020
|
* Optional collab session — hosts that wire Yjs/Awareness pass the
|
|
9020
9021
|
* session here so `api.runtime.collab.getPresence` / `.getPosture`
|
|
@@ -9489,8 +9490,11 @@ declare function createScopeTagRegistry(): ScopeTagRegistry;
|
|
|
9489
9490
|
|
|
9490
9491
|
interface CreateScopeInput {
|
|
9491
9492
|
readonly blockId: string;
|
|
9493
|
+
readonly scopeId?: string;
|
|
9492
9494
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9493
9495
|
readonly label?: string;
|
|
9496
|
+
readonly persistence?: WorkflowMetadataPersistence;
|
|
9497
|
+
readonly metadata?: Partial<WorkflowMetadataEntry>;
|
|
9494
9498
|
/** Per-scope visibility. Controls chrome/query presentation only. */
|
|
9495
9499
|
readonly visibility?: ScopeVisibility;
|
|
9496
9500
|
/**
|
|
@@ -9568,9 +9572,16 @@ interface CreateScopeFromAnchorInput {
|
|
|
9568
9572
|
readonly to: number;
|
|
9569
9573
|
/** Non-main-body story (footnote / header / endnote). Defaults to `{kind:"main"}`. */
|
|
9570
9574
|
readonly storyTarget?: EditorStoryTarget;
|
|
9571
|
-
}
|
|
9575
|
+
} | (Extract<EditorAnchorProjection, {
|
|
9576
|
+
readonly kind: "range";
|
|
9577
|
+
}> & {
|
|
9578
|
+
readonly storyTarget?: EditorStoryTarget;
|
|
9579
|
+
}) | SelectionSnapshot;
|
|
9580
|
+
readonly scopeId?: string;
|
|
9572
9581
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9573
9582
|
readonly label?: string;
|
|
9583
|
+
readonly persistence?: WorkflowMetadataPersistence;
|
|
9584
|
+
readonly metadata?: Partial<WorkflowMetadataEntry>;
|
|
9574
9585
|
readonly visibility?: ScopeVisibility;
|
|
9575
9586
|
readonly guardPolicy?: WorkflowScopeGuardPolicy;
|
|
9576
9587
|
readonly assoc?: {
|
|
@@ -9585,7 +9596,7 @@ type CreateScopeFromAnchorResult = {
|
|
|
9585
9596
|
} | {
|
|
9586
9597
|
readonly scopeId: "";
|
|
9587
9598
|
readonly status: "range-invalid";
|
|
9588
|
-
readonly reason: "from-negative" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9599
|
+
readonly reason: "from-negative" | "non-finite-range" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9589
9600
|
readonly from: number;
|
|
9590
9601
|
readonly to: number;
|
|
9591
9602
|
readonly storyLength: number;
|
|
@@ -9596,6 +9607,42 @@ type CreateScopeFromAnchorResult = {
|
|
|
9596
9607
|
/** Machine-routable next-step hint. */
|
|
9597
9608
|
readonly nextStep: string;
|
|
9598
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
|
+
}
|
|
9599
9646
|
interface SetScopeGuardPolicyInput {
|
|
9600
9647
|
readonly scopeId: string;
|
|
9601
9648
|
readonly guardPolicy: WorkflowScopeGuardPolicy;
|
|
@@ -9622,6 +9669,7 @@ declare function createWorkflowFamily(runtime: RuntimeApiHandle): {
|
|
|
9622
9669
|
getMarkup(): WorkflowMarkupSnapshot;
|
|
9623
9670
|
getGuard(): InteractionGuardSnapshot;
|
|
9624
9671
|
createScope(input: CreateScopeInput): CreateScopeResult;
|
|
9672
|
+
createScopes(input: CreateScopesInput): CreateScopesResult;
|
|
9625
9673
|
getScopeGuardPolicy(scopeId: string): WorkflowScopeGuardPolicy;
|
|
9626
9674
|
setScopeGuardPolicy(input: SetScopeGuardPolicyInput): SetScopeGuardPolicyResult;
|
|
9627
9675
|
createScopeFromAnchor(input: CreateScopeFromAnchorInput): CreateScopeFromAnchorResult;
|
|
@@ -11006,7 +11054,7 @@ declare function createViewportFamily(runtime: RuntimeApiHandle): {
|
|
|
11006
11054
|
*/
|
|
11007
11055
|
|
|
11008
11056
|
type RuntimeListCommand = "toggle-numbered" | "toggle-bulleted" | "indent" | "outdent" | "restart-numbering" | "continue-numbering" | "create" | "attach" | "detach" | "join" | "separate" | "split" | "set-value" | "apply-template" | "capture-template" | "apply-preset" | "set-level-numbering" | "set-level-bullet" | "set-level-picture-bullet" | "set-level-alignment" | "set-level-indents" | "set-level-trailing-character" | "set-level-marker-font" | "set-level-text" | "set-level-start" | "set-level-layout" | "convert-to-text" | "paste-fragment" | "drop-fragment";
|
|
11009
|
-
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11057
|
+
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-target-wrong-story" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11010
11058
|
interface RuntimeListTargetInput {
|
|
11011
11059
|
readonly targetKey?: string;
|
|
11012
11060
|
readonly addressKey?: string;
|
|
@@ -11051,6 +11099,12 @@ interface RuntimeListCommandPreview {
|
|
|
11051
11099
|
readonly canJoin?: boolean;
|
|
11052
11100
|
readonly canContinuePrevious?: boolean;
|
|
11053
11101
|
}
|
|
11102
|
+
interface RuntimeListSequencePreflight {
|
|
11103
|
+
readonly target?: RuntimeListReadback;
|
|
11104
|
+
readonly canJoin: boolean;
|
|
11105
|
+
readonly canContinuePrevious: boolean;
|
|
11106
|
+
readonly blockers: readonly RuntimeListBlocker[];
|
|
11107
|
+
}
|
|
11054
11108
|
interface RuntimeListApplyInput extends RuntimeListTargetInput {
|
|
11055
11109
|
readonly command: RuntimeListCommand;
|
|
11056
11110
|
readonly startAt?: number;
|
|
@@ -11068,6 +11122,8 @@ declare function createListsFamily(runtime: RuntimeApiHandle): {
|
|
|
11068
11122
|
readonly limit?: number;
|
|
11069
11123
|
}): RuntimeListReadback[];
|
|
11070
11124
|
get(input: RuntimeListTargetInput): RuntimeListReadback | null;
|
|
11125
|
+
canJoin(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
|
|
11126
|
+
canContinuePrevious(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
|
|
11071
11127
|
previewCommand(input: RuntimeListApplyInput): RuntimeListCommandPreview;
|
|
11072
11128
|
applyCommand(input: RuntimeListApplyInput): RuntimeListApplyResult;
|
|
11073
11129
|
};
|
|
@@ -12876,6 +12932,80 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
|
|
|
12876
12932
|
}>;
|
|
12877
12933
|
};
|
|
12878
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
|
+
|
|
12879
13009
|
type UiEditableTargetKind = NonNullable<SemanticDisplayEntry["editableTargetKind"]>;
|
|
12880
13010
|
type UiEditableTargetCommandFamily = NonNullable<SemanticDisplayEntry["editableTargetCommandFamily"]>;
|
|
12881
13011
|
type UiEditableTargetEditability = NonNullable<SemanticDisplayEntry["editableTargetEditability"]>;
|
|
@@ -13713,7 +13843,7 @@ type ApiV3Runtime = {
|
|
|
13713
13843
|
readonly viewport: ReturnType<typeof createViewportFamily>;
|
|
13714
13844
|
readonly lists: ReturnType<typeof createListsFamily>;
|
|
13715
13845
|
};
|
|
13716
|
-
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createObjectActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
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>;
|
|
13717
13847
|
interface ApiV3 {
|
|
13718
13848
|
readonly runtime: ApiV3Runtime;
|
|
13719
13849
|
readonly ai: ApiV3Ai;
|
|
@@ -14849,10 +14979,13 @@ interface InsertImageOptions {
|
|
|
14849
14979
|
* parsers that will drive it in later slices. Carries zero or more canonical
|
|
14850
14980
|
* block nodes (paragraphs, tables, SDTs, etc.); a host that constructs one
|
|
14851
14981
|
* directly is responsible for the blocks being well-formed per the canonical
|
|
14852
|
-
* schema.
|
|
14982
|
+
* schema. Numbered fragments may include the catalog entries referenced by
|
|
14983
|
+
* their blocks; the runtime merge path remaps colliding numbering ids before
|
|
14984
|
+
* splicing. The HTML / Word-clipboard parsers (Slices 2+3) will produce these.
|
|
14853
14985
|
*/
|
|
14854
14986
|
interface CanonicalDocumentFragment {
|
|
14855
14987
|
blocks: BlockNode[];
|
|
14988
|
+
numbering?: NumberingCatalog;
|
|
14856
14989
|
}
|
|
14857
14990
|
/**
|
|
14858
14991
|
* I7 — `replaceText` / `text.insert` formatting directive.
|
|
@@ -16501,14 +16634,14 @@ interface AddScopeResult {
|
|
|
16501
16634
|
* Structured diagnostic for the marker-plant attempt. Omitted on the
|
|
16502
16635
|
* happy path for back-compat; populated with `planted: false` + a
|
|
16503
16636
|
* typed reason when the plant was refused (non-paragraph target,
|
|
16504
|
-
* out-of-bounds, empty-document). Cross-paragraph ranges plant
|
|
16637
|
+
* out-of-bounds, non-finite range, empty-document). Cross-paragraph ranges plant
|
|
16505
16638
|
* successfully as of 2026-04-24 — see the multi-paragraph-scopes
|
|
16506
16639
|
* slice. Callers that previously assumed every returned `scopeId`
|
|
16507
16640
|
* was live should migrate to checking this field.
|
|
16508
16641
|
*/
|
|
16509
16642
|
plantStatus?: {
|
|
16510
16643
|
readonly planted: false;
|
|
16511
|
-
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "empty-document";
|
|
16644
|
+
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "non-finite-range" | "empty-document";
|
|
16512
16645
|
readonly requestedFrom: number;
|
|
16513
16646
|
readonly requestedTo: number;
|
|
16514
16647
|
/** Present on `non-paragraph-target`. */
|
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import * as y_protocols_awareness from 'y-protocols/awareness';
|
|
5
5
|
import { Awareness } from 'y-protocols/awareness';
|
|
6
|
-
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders } from './canonical-document-
|
|
6
|
+
import { S as SectionProperties, f as PersistedEditorSnapshotVersion, g as CDS_SCHEMA_VERSION, I as ISO8601DateTime, C as CanonicalDocument, h as CompatibilityReportVersion, i as Base64, M as ModelValidationIssue, j as CommentThread, k as CommentEntry, l as CommentResolution, m as RevisionMetadataRecord$1, n as RevisionRecord$1, p as CanonicalSourceRef, q as SdtDataBindingState, F as FieldFamily$1, r as FieldRefreshStatus$1, T as TocRegion, s as CanonicalAnchor, t as PreserveOnlyObjectSizing, u as TableCellNode, B as BlockNode, v as TableLook, w as TableStyleFormatting, x as TableWidth, y as TableBorders, z as TableStyleConditionalRegion, A as TableCellBorders, E as CellShading, G as TextMark, H as Mutable, J as ParagraphNode, K as TableIndent, L as TableCellMargins, N as TableNode, Q as FieldRegistryEntry, U as FootnoteProperties, V as EndnoteProperties, W as CanonicalTheme, X as InlineNode, Y as NumberingLevelParagraphGeometry, Z as ParagraphSpacing, _ as ParagraphIndentation, $ as TabStop, a0 as CanonicalRunFormatting, a1 as NumPicBullet, a2 as CanonicalParagraphFormatting, a3 as FillSpec, a4 as TextProperties, a5 as StrokeSpec, a6 as ChartModel, a7 as ResolvedTheme, a8 as ColorRef, a9 as SupportedFieldFamily$1, aa as HeaderDocument, ab as FooterDocument, ac as ParagraphBorders, ad as NumberingCatalog } from './canonical-document-COmM7v11.js';
|
|
7
7
|
import * as prosemirror_state from 'prosemirror-state';
|
|
8
8
|
import { Command } from 'prosemirror-state';
|
|
9
9
|
import { Schema } from 'prosemirror-model';
|
|
@@ -8080,6 +8080,7 @@ interface DocumentRuntime {
|
|
|
8080
8080
|
addReplyToChange(changeId: string, body: string, authorId?: string): AddCommentReplyResult | null;
|
|
8081
8081
|
editCommentBody(commentId: string, body: string): void;
|
|
8082
8082
|
addScope(params: AddScopeParams): AddScopeResult;
|
|
8083
|
+
addScopes(params: readonly AddScopeParams[]): readonly AddScopeResult[];
|
|
8083
8084
|
getScope(scopeId: string): WorkflowScope | null;
|
|
8084
8085
|
/**
|
|
8085
8086
|
* Layer-08 scope-bundle lookup keyed by scopeId — read-side join over
|
|
@@ -9014,7 +9015,7 @@ interface RuntimeWordFieldMatrixProvider {
|
|
|
9014
9015
|
* `runtime.collab.*` family graduate its live path when hosts supply it
|
|
9015
9016
|
* and fall back to deterministic mocks when they don't.
|
|
9016
9017
|
*/
|
|
9017
|
-
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
|
+
type RuntimeApiHandle = Pick<DocumentRuntime, "now" | "getSessionState" | "setDocumentMode" | "exportDocx" | "getCompatibilityReport" | "getWarnings" | "getRenderSnapshot" | "getDocumentNavigationSnapshot" | "getCanonicalDocument" | "findAllText" | "replaceText" | "applyActiveStoryTextCommand" | "applyFormattingOperation" | "getReviewWorkSnapshot" | "getSuggestionsSnapshot" | "acceptChange" | "rejectChange" | "resolveComment" | "getCommentThreadForChange" | "ensureCommentThreadForChange" | "addReplyToChange" | "queryScopes" | "getWorkflowMarkupSnapshot" | "getInteractionGuardSnapshot" | "getWorkflowOverlay" | "addScope" | "addScopes" | "setScopeGuardPolicy" | "getScopeGuardPolicy" | "setWorkflowMetadataEntries" | "getWorkflowMetadataSnapshot" | "getVisibilityPolicy" | "getVisibilityPolicies" | "setVisibilityPolicy" | "clearVisibilityPolicy" | "subscribeVisibilityPolicy" | "getMarkupModePolicy" | "setMarkupModePolicy" | "subscribeMarkupModePolicy" | "getScope" | "getLocationForAnchor" | "compileScopeBundleById" | "compileScopeList" | "compileScopeCardById" | "compileScopeRailSnapshot" | "applyScopeReplacement" | "applyScopeFormatting" | "dispatch" | "debug" | "layout" | "geometry"> & {
|
|
9018
9019
|
/**
|
|
9019
9020
|
* Optional collab session — hosts that wire Yjs/Awareness pass the
|
|
9020
9021
|
* session here so `api.runtime.collab.getPresence` / `.getPosture`
|
|
@@ -9489,8 +9490,11 @@ declare function createScopeTagRegistry(): ScopeTagRegistry;
|
|
|
9489
9490
|
|
|
9490
9491
|
interface CreateScopeInput {
|
|
9491
9492
|
readonly blockId: string;
|
|
9493
|
+
readonly scopeId?: string;
|
|
9492
9494
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9493
9495
|
readonly label?: string;
|
|
9496
|
+
readonly persistence?: WorkflowMetadataPersistence;
|
|
9497
|
+
readonly metadata?: Partial<WorkflowMetadataEntry>;
|
|
9494
9498
|
/** Per-scope visibility. Controls chrome/query presentation only. */
|
|
9495
9499
|
readonly visibility?: ScopeVisibility;
|
|
9496
9500
|
/**
|
|
@@ -9568,9 +9572,16 @@ interface CreateScopeFromAnchorInput {
|
|
|
9568
9572
|
readonly to: number;
|
|
9569
9573
|
/** Non-main-body story (footnote / header / endnote). Defaults to `{kind:"main"}`. */
|
|
9570
9574
|
readonly storyTarget?: EditorStoryTarget;
|
|
9571
|
-
}
|
|
9575
|
+
} | (Extract<EditorAnchorProjection, {
|
|
9576
|
+
readonly kind: "range";
|
|
9577
|
+
}> & {
|
|
9578
|
+
readonly storyTarget?: EditorStoryTarget;
|
|
9579
|
+
}) | SelectionSnapshot;
|
|
9580
|
+
readonly scopeId?: string;
|
|
9572
9581
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9573
9582
|
readonly label?: string;
|
|
9583
|
+
readonly persistence?: WorkflowMetadataPersistence;
|
|
9584
|
+
readonly metadata?: Partial<WorkflowMetadataEntry>;
|
|
9574
9585
|
readonly visibility?: ScopeVisibility;
|
|
9575
9586
|
readonly guardPolicy?: WorkflowScopeGuardPolicy;
|
|
9576
9587
|
readonly assoc?: {
|
|
@@ -9585,7 +9596,7 @@ type CreateScopeFromAnchorResult = {
|
|
|
9585
9596
|
} | {
|
|
9586
9597
|
readonly scopeId: "";
|
|
9587
9598
|
readonly status: "range-invalid";
|
|
9588
|
-
readonly reason: "from-negative" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9599
|
+
readonly reason: "from-negative" | "non-finite-range" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9589
9600
|
readonly from: number;
|
|
9590
9601
|
readonly to: number;
|
|
9591
9602
|
readonly storyLength: number;
|
|
@@ -9596,6 +9607,42 @@ type CreateScopeFromAnchorResult = {
|
|
|
9596
9607
|
/** Machine-routable next-step hint. */
|
|
9597
9608
|
readonly nextStep: string;
|
|
9598
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
|
+
}
|
|
9599
9646
|
interface SetScopeGuardPolicyInput {
|
|
9600
9647
|
readonly scopeId: string;
|
|
9601
9648
|
readonly guardPolicy: WorkflowScopeGuardPolicy;
|
|
@@ -9622,6 +9669,7 @@ declare function createWorkflowFamily(runtime: RuntimeApiHandle): {
|
|
|
9622
9669
|
getMarkup(): WorkflowMarkupSnapshot;
|
|
9623
9670
|
getGuard(): InteractionGuardSnapshot;
|
|
9624
9671
|
createScope(input: CreateScopeInput): CreateScopeResult;
|
|
9672
|
+
createScopes(input: CreateScopesInput): CreateScopesResult;
|
|
9625
9673
|
getScopeGuardPolicy(scopeId: string): WorkflowScopeGuardPolicy;
|
|
9626
9674
|
setScopeGuardPolicy(input: SetScopeGuardPolicyInput): SetScopeGuardPolicyResult;
|
|
9627
9675
|
createScopeFromAnchor(input: CreateScopeFromAnchorInput): CreateScopeFromAnchorResult;
|
|
@@ -11006,7 +11054,7 @@ declare function createViewportFamily(runtime: RuntimeApiHandle): {
|
|
|
11006
11054
|
*/
|
|
11007
11055
|
|
|
11008
11056
|
type RuntimeListCommand = "toggle-numbered" | "toggle-bulleted" | "indent" | "outdent" | "restart-numbering" | "continue-numbering" | "create" | "attach" | "detach" | "join" | "separate" | "split" | "set-value" | "apply-template" | "capture-template" | "apply-preset" | "set-level-numbering" | "set-level-bullet" | "set-level-picture-bullet" | "set-level-alignment" | "set-level-indents" | "set-level-trailing-character" | "set-level-marker-font" | "set-level-text" | "set-level-start" | "set-level-layout" | "convert-to-text" | "paste-fragment" | "drop-fragment";
|
|
11009
|
-
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11057
|
+
type RuntimeListBlockerCode = "list-target-required" | "list-target-malformed" | "list-target-not-found" | "list-target-stale" | "list-target-non-editable" | "list-command-unsupported" | "list-command-preflight-blocked" | "list-target-wrong-story" | "list-continue-target-missing" | "list-join-target-missing";
|
|
11010
11058
|
interface RuntimeListTargetInput {
|
|
11011
11059
|
readonly targetKey?: string;
|
|
11012
11060
|
readonly addressKey?: string;
|
|
@@ -11051,6 +11099,12 @@ interface RuntimeListCommandPreview {
|
|
|
11051
11099
|
readonly canJoin?: boolean;
|
|
11052
11100
|
readonly canContinuePrevious?: boolean;
|
|
11053
11101
|
}
|
|
11102
|
+
interface RuntimeListSequencePreflight {
|
|
11103
|
+
readonly target?: RuntimeListReadback;
|
|
11104
|
+
readonly canJoin: boolean;
|
|
11105
|
+
readonly canContinuePrevious: boolean;
|
|
11106
|
+
readonly blockers: readonly RuntimeListBlocker[];
|
|
11107
|
+
}
|
|
11054
11108
|
interface RuntimeListApplyInput extends RuntimeListTargetInput {
|
|
11055
11109
|
readonly command: RuntimeListCommand;
|
|
11056
11110
|
readonly startAt?: number;
|
|
@@ -11068,6 +11122,8 @@ declare function createListsFamily(runtime: RuntimeApiHandle): {
|
|
|
11068
11122
|
readonly limit?: number;
|
|
11069
11123
|
}): RuntimeListReadback[];
|
|
11070
11124
|
get(input: RuntimeListTargetInput): RuntimeListReadback | null;
|
|
11125
|
+
canJoin(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
|
|
11126
|
+
canContinuePrevious(input: RuntimeListTargetInput): RuntimeListSequencePreflight;
|
|
11071
11127
|
previewCommand(input: RuntimeListApplyInput): RuntimeListCommandPreview;
|
|
11072
11128
|
applyCommand(input: RuntimeListApplyInput): RuntimeListApplyResult;
|
|
11073
11129
|
};
|
|
@@ -12876,6 +12932,80 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
|
|
|
12876
12932
|
}>;
|
|
12877
12933
|
};
|
|
12878
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
|
+
|
|
12879
13009
|
type UiEditableTargetKind = NonNullable<SemanticDisplayEntry["editableTargetKind"]>;
|
|
12880
13010
|
type UiEditableTargetCommandFamily = NonNullable<SemanticDisplayEntry["editableTargetCommandFamily"]>;
|
|
12881
13011
|
type UiEditableTargetEditability = NonNullable<SemanticDisplayEntry["editableTargetEditability"]>;
|
|
@@ -13713,7 +13843,7 @@ type ApiV3Runtime = {
|
|
|
13713
13843
|
readonly viewport: ReturnType<typeof createViewportFamily>;
|
|
13714
13844
|
readonly lists: ReturnType<typeof createListsFamily>;
|
|
13715
13845
|
};
|
|
13716
|
-
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createObjectActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
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>;
|
|
13717
13847
|
interface ApiV3 {
|
|
13718
13848
|
readonly runtime: ApiV3Runtime;
|
|
13719
13849
|
readonly ai: ApiV3Ai;
|
|
@@ -14849,10 +14979,13 @@ interface InsertImageOptions {
|
|
|
14849
14979
|
* parsers that will drive it in later slices. Carries zero or more canonical
|
|
14850
14980
|
* block nodes (paragraphs, tables, SDTs, etc.); a host that constructs one
|
|
14851
14981
|
* directly is responsible for the blocks being well-formed per the canonical
|
|
14852
|
-
* schema.
|
|
14982
|
+
* schema. Numbered fragments may include the catalog entries referenced by
|
|
14983
|
+
* their blocks; the runtime merge path remaps colliding numbering ids before
|
|
14984
|
+
* splicing. The HTML / Word-clipboard parsers (Slices 2+3) will produce these.
|
|
14853
14985
|
*/
|
|
14854
14986
|
interface CanonicalDocumentFragment {
|
|
14855
14987
|
blocks: BlockNode[];
|
|
14988
|
+
numbering?: NumberingCatalog;
|
|
14856
14989
|
}
|
|
14857
14990
|
/**
|
|
14858
14991
|
* I7 — `replaceText` / `text.insert` formatting directive.
|
|
@@ -16501,14 +16634,14 @@ interface AddScopeResult {
|
|
|
16501
16634
|
* Structured diagnostic for the marker-plant attempt. Omitted on the
|
|
16502
16635
|
* happy path for back-compat; populated with `planted: false` + a
|
|
16503
16636
|
* typed reason when the plant was refused (non-paragraph target,
|
|
16504
|
-
* out-of-bounds, empty-document). Cross-paragraph ranges plant
|
|
16637
|
+
* out-of-bounds, non-finite range, empty-document). Cross-paragraph ranges plant
|
|
16505
16638
|
* successfully as of 2026-04-24 — see the multi-paragraph-scopes
|
|
16506
16639
|
* slice. Callers that previously assumed every returned `scopeId`
|
|
16507
16640
|
* was live should migrate to checking this field.
|
|
16508
16641
|
*/
|
|
16509
16642
|
plantStatus?: {
|
|
16510
16643
|
readonly planted: false;
|
|
16511
|
-
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "empty-document";
|
|
16644
|
+
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "non-finite-range" | "empty-document";
|
|
16512
16645
|
readonly requestedFrom: number;
|
|
16513
16646
|
readonly requestedTo: number;
|
|
16514
16647
|
/** Present on `non-paragraph-target`. */
|
package/dist/public-types.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
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-D31xKNGc.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
|
-
export {
|
|
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';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|