@beyondwork/docx-react-component 1.0.133 → 1.0.135
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/public-types.cjs +23 -3
- package/dist/api/public-types.d.cts +1 -1
- package/dist/api/public-types.d.ts +1 -1
- package/dist/api/public-types.js +2 -2
- package/dist/api/v3.cjs +708 -47
- package/dist/api/v3.d.cts +2 -2
- package/dist/api/v3.d.ts +2 -2
- package/dist/api/v3.js +4 -4
- package/dist/{chunk-REFHJ2FN.js → chunk-2BNXARVO.js} +3 -3
- package/dist/{chunk-INLRCC4N.js → chunk-4CIHTMCH.js} +2 -2
- package/dist/{chunk-224TSMEB.js → chunk-5CCYF333.js} +138 -42
- package/dist/{chunk-MQ5GAJ54.js → chunk-BJXSMPHD.js} +1 -1
- package/dist/{chunk-OTRVGNZQ.js → chunk-EPFVMUKF.js} +548 -3
- package/dist/{chunk-XBQFDBXE.js → chunk-EZFF6GKF.js} +9 -2
- package/dist/{chunk-S3PEKX6H.js → chunk-FGJTOFZY.js} +72 -554
- package/dist/{chunk-3JEE5RJU.js → chunk-GIFXKIM5.js} +612 -34
- package/dist/{chunk-57HTKX3P.js → chunk-H4HI6RUE.js} +1 -1
- package/dist/{chunk-KL4TZSZV.js → chunk-HWMPNLEF.js} +1 -1
- package/dist/{chunk-ZFCZ7XXH.js → chunk-NEMOQ4QR.js} +1 -1
- package/dist/{chunk-CVSD3UNK.js → chunk-P7XDEVS6.js} +15 -2
- package/dist/{chunk-QTRJLKR2.js → chunk-TSNK4ECL.js} +1 -1
- package/dist/{chunk-WDDFU2N2.js → chunk-UR2LW63N.js} +1 -1
- package/dist/core/commands/formatting-commands.d.cts +1 -1
- package/dist/core/commands/formatting-commands.d.ts +1 -1
- package/dist/core/commands/image-commands.cjs +9 -2
- package/dist/core/commands/image-commands.d.cts +1 -1
- package/dist/core/commands/image-commands.d.ts +1 -1
- package/dist/core/commands/image-commands.js +4 -4
- package/dist/core/commands/section-layout-commands.d.cts +1 -1
- package/dist/core/commands/section-layout-commands.d.ts +1 -1
- package/dist/core/commands/style-commands.d.cts +1 -1
- package/dist/core/commands/style-commands.d.ts +1 -1
- package/dist/core/commands/table-structure-commands.cjs +9 -2
- package/dist/core/commands/table-structure-commands.d.cts +1 -1
- package/dist/core/commands/table-structure-commands.d.ts +1 -1
- package/dist/core/commands/table-structure-commands.js +3 -3
- package/dist/core/commands/text-commands.cjs +9 -2
- package/dist/core/commands/text-commands.d.cts +1 -1
- package/dist/core/commands/text-commands.d.ts +1 -1
- package/dist/core/commands/text-commands.js +4 -4
- package/dist/core/selection/mapping.d.cts +1 -1
- package/dist/core/selection/mapping.d.ts +1 -1
- package/dist/core/state/editor-state.d.cts +1 -1
- package/dist/core/state/editor-state.d.ts +1 -1
- package/dist/index.cjs +1478 -636
- package/dist/index.d.cts +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.js +113 -26
- package/dist/io/docx-session.d.cts +3 -3
- package/dist/io/docx-session.d.ts +3 -3
- package/dist/{loader-B2H99237.d.cts → loader-BQ7AB-0v.d.cts} +2 -2
- package/dist/{loader-DfTjqVwn.d.ts → loader-Cy6OYBfn.d.ts} +2 -2
- package/dist/{public-types-S8gTYwKo.d.cts → public-types-D31xKNGc.d.cts} +146 -3
- package/dist/{public-types-B5lOUIrP.d.ts → public-types-DqYt8GdP.d.ts} +146 -3
- package/dist/public-types.cjs +23 -3
- package/dist/public-types.d.cts +1 -1
- package/dist/public-types.d.ts +1 -1
- package/dist/public-types.js +2 -2
- package/dist/runtime/collab.d.cts +2 -2
- package/dist/runtime/collab.d.ts +2 -2
- package/dist/runtime/document-runtime.cjs +760 -68
- package/dist/runtime/document-runtime.d.cts +1 -1
- package/dist/runtime/document-runtime.d.ts +1 -1
- package/dist/runtime/document-runtime.js +10 -10
- package/dist/{session-CR2A1hGZ.d.cts → session-DA-F2fCw.d.cts} +2 -2
- package/dist/{session-CBDIOYXA.d.ts → session-DqL8H0oZ.d.ts} +2 -2
- package/dist/session.d.cts +4 -4
- package/dist/session.d.ts +4 -4
- package/dist/tailwind.cjs +81 -554
- package/dist/tailwind.d.cts +1 -1
- package/dist/tailwind.d.ts +1 -1
- package/dist/tailwind.js +5 -5
- package/dist/{types-yty2K-hk.d.cts → types-B2y94n5t.d.cts} +1 -1
- package/dist/{types-B-90ywjU.d.ts → types-SllbCtGs.d.ts} +1 -1
- package/dist/ui-tailwind/editor-surface/search-plugin.cjs +11 -0
- package/dist/ui-tailwind/editor-surface/search-plugin.d.cts +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.d.ts +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.js +3 -3
- package/dist/ui-tailwind.cjs +81 -554
- package/dist/ui-tailwind.d.cts +2 -2
- package/dist/ui-tailwind.d.ts +2 -2
- package/dist/ui-tailwind.js +5 -5
- package/package.json +1 -1
|
@@ -124,7 +124,7 @@ type ProductSectionBreakType = "nextPage" | "continuous" | "evenPage" | "oddPage
|
|
|
124
124
|
* kinds; the builder then asks the registry for every action whose
|
|
125
125
|
* `targetKinds` set includes at least one of the resolved kinds.
|
|
126
126
|
*/
|
|
127
|
-
type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
127
|
+
type TargetKind = "plain-text" | "list-item" | "table-cell" | "table-row" | "table-column" | "table-whole" | "image" | "object" | "hyperlink" | "generated-field" | "toc-field" | "comment-anchor" | "suggestion" | "opaque-block" | "template-slot" | "scope-anchor";
|
|
128
128
|
/**
|
|
129
129
|
* Host callbacks the editor shell passes down to the registry. All
|
|
130
130
|
* fields are optional — the registry's `when()` predicates filter out
|
|
@@ -188,6 +188,7 @@ interface EditorActionHostCallbacks {
|
|
|
188
188
|
readonly onRemoveHyperlink?: () => void;
|
|
189
189
|
readonly onOpenHyperlink?: () => void;
|
|
190
190
|
readonly onUpdateFields?: () => void;
|
|
191
|
+
readonly onUpdateTableOfContents?: () => void;
|
|
191
192
|
readonly onJumpToScopeInRail?: () => void;
|
|
192
193
|
readonly onOpenScopeCard?: () => void;
|
|
193
194
|
readonly onMarkScopeResolved?: () => void;
|
|
@@ -5881,6 +5882,17 @@ type EditorCommand = {
|
|
|
5881
5882
|
selection?: SelectionSnapshot$1;
|
|
5882
5883
|
editableTarget?: EditableTargetRef;
|
|
5883
5884
|
origin?: CommandOrigin;
|
|
5885
|
+
} | {
|
|
5886
|
+
/**
|
|
5887
|
+
* Suggesting-mode structured-fragment replacement. Inserts the fragment
|
|
5888
|
+
* at the replacement boundary, leaves the original range in place, and
|
|
5889
|
+
* authors linked insertion/deletion revisions for accept/reject.
|
|
5890
|
+
*/
|
|
5891
|
+
type: "fragment.insert-tracked";
|
|
5892
|
+
fragment: CanonicalDocumentFragment;
|
|
5893
|
+
selection?: SelectionSnapshot$1;
|
|
5894
|
+
editableTarget?: EditableTargetRef;
|
|
5895
|
+
origin?: CommandOrigin;
|
|
5884
5896
|
} | {
|
|
5885
5897
|
type: "runtime.set-read-only";
|
|
5886
5898
|
readOnly: boolean;
|
|
@@ -7323,7 +7335,7 @@ interface ValidationResult$1 {
|
|
|
7323
7335
|
* Kept narrow — one step per mutation — so the audit bundle's
|
|
7324
7336
|
* `compiledOperations` is a faithful ledger of what the runtime did.
|
|
7325
7337
|
*/
|
|
7326
|
-
type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "formatting-apply";
|
|
7338
|
+
type RuntimeOperationStepKind = "text-replace" | "text-insert-tracked" | "text-delete-tracked" | "fragment-replace" | "fragment-replace-tracked" | "formatting-apply";
|
|
7327
7339
|
interface RuntimeOperationStep {
|
|
7328
7340
|
readonly kind: RuntimeOperationStepKind;
|
|
7329
7341
|
/** Human-readable one-line description; used in audit `compiledOperations`. */
|
|
@@ -7898,6 +7910,8 @@ type ActiveStoryTextCommand = Extract<EditorCommand, {
|
|
|
7898
7910
|
type: "paragraph.split";
|
|
7899
7911
|
}> | Extract<EditorCommand, {
|
|
7900
7912
|
type: "fragment.insert";
|
|
7913
|
+
}> | Extract<EditorCommand, {
|
|
7914
|
+
type: "fragment.insert-tracked";
|
|
7901
7915
|
}>;
|
|
7902
7916
|
interface DocumentRuntime {
|
|
7903
7917
|
subscribe(listener: () => void): Unsubscribe;
|
|
@@ -12182,6 +12196,92 @@ declare function createOutlineFamily(runtime: RuntimeApiHandle): {
|
|
|
12182
12196
|
getDocumentOutline(): GetDocumentOutlineResult;
|
|
12183
12197
|
};
|
|
12184
12198
|
|
|
12199
|
+
/**
|
|
12200
|
+
* @endStateApi v3 — `ai.object` family.
|
|
12201
|
+
*
|
|
12202
|
+
* Object mutations use opaque handles derived from L08 object editable-target
|
|
12203
|
+
* evidence. This promotes image layout mutation through existing L07 image
|
|
12204
|
+
* commands without treating object scopes as text-replacement surfaces.
|
|
12205
|
+
*/
|
|
12206
|
+
|
|
12207
|
+
type AiObjectActionHandle = string;
|
|
12208
|
+
interface ListObjectActionsInput {
|
|
12209
|
+
readonly handle: ScopeHandle;
|
|
12210
|
+
readonly nowUtc: string;
|
|
12211
|
+
}
|
|
12212
|
+
type AiObjectActionOperation = {
|
|
12213
|
+
readonly kind: "set-image-layout";
|
|
12214
|
+
readonly dimensions: {
|
|
12215
|
+
readonly widthEmu: number;
|
|
12216
|
+
readonly heightEmu: number;
|
|
12217
|
+
};
|
|
12218
|
+
};
|
|
12219
|
+
interface AiObjectActionDescriptor {
|
|
12220
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12221
|
+
readonly objectKind: string;
|
|
12222
|
+
readonly targetKind: string;
|
|
12223
|
+
readonly relation: string;
|
|
12224
|
+
readonly callableOperations: readonly AiObjectActionOperation["kind"][];
|
|
12225
|
+
readonly supportedOperations: readonly AiObjectActionOperation["kind"][];
|
|
12226
|
+
readonly readback?: AiObjectReadback;
|
|
12227
|
+
readonly reason: string;
|
|
12228
|
+
}
|
|
12229
|
+
interface AiObjectReadback {
|
|
12230
|
+
readonly mediaId?: string;
|
|
12231
|
+
readonly widthEmu?: number;
|
|
12232
|
+
readonly heightEmu?: number;
|
|
12233
|
+
}
|
|
12234
|
+
interface AiObjectActionListResult {
|
|
12235
|
+
readonly scopeId: string;
|
|
12236
|
+
readonly actions: readonly AiObjectActionDescriptor[];
|
|
12237
|
+
readonly blockers?: readonly string[];
|
|
12238
|
+
}
|
|
12239
|
+
interface ApplyObjectActionInput {
|
|
12240
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12241
|
+
readonly operation: AiObjectActionOperation;
|
|
12242
|
+
readonly scopeId?: string;
|
|
12243
|
+
readonly actorId?: string;
|
|
12244
|
+
readonly origin?: "ui" | "agent" | "host";
|
|
12245
|
+
readonly proposalId?: string;
|
|
12246
|
+
}
|
|
12247
|
+
interface AiObjectActionBlockerDetail {
|
|
12248
|
+
readonly code: string;
|
|
12249
|
+
readonly category: "unresolved-target" | "blocked-target" | "unsupported-operation" | "runtime-noop";
|
|
12250
|
+
readonly message: string;
|
|
12251
|
+
readonly nextStep: string;
|
|
12252
|
+
readonly actionHandle?: AiObjectActionHandle;
|
|
12253
|
+
readonly operation?: string;
|
|
12254
|
+
}
|
|
12255
|
+
interface AiObjectActionCommandReference {
|
|
12256
|
+
readonly command: "image.set-layout";
|
|
12257
|
+
readonly actorId: string;
|
|
12258
|
+
readonly origin: "ui" | "agent" | "host";
|
|
12259
|
+
readonly emittedAtUtc: string;
|
|
12260
|
+
}
|
|
12261
|
+
interface ApplyObjectActionResult {
|
|
12262
|
+
readonly proposalId: string;
|
|
12263
|
+
readonly applied: boolean;
|
|
12264
|
+
readonly changed: boolean;
|
|
12265
|
+
readonly actionHandle: AiObjectActionHandle;
|
|
12266
|
+
readonly operation: AiObjectActionOperation["kind"];
|
|
12267
|
+
readonly reason?: string;
|
|
12268
|
+
readonly blockers?: readonly string[];
|
|
12269
|
+
readonly blockerDetails?: readonly AiObjectActionBlockerDetail[];
|
|
12270
|
+
readonly commandReference?: AiObjectActionCommandReference;
|
|
12271
|
+
readonly readback?: AiObjectReadback;
|
|
12272
|
+
readonly posture?: "supported";
|
|
12273
|
+
readonly support?: {
|
|
12274
|
+
readonly undo: "supported";
|
|
12275
|
+
readonly replay: "supported";
|
|
12276
|
+
readonly exportReopen: "supported";
|
|
12277
|
+
readonly audit: "command-reference";
|
|
12278
|
+
};
|
|
12279
|
+
}
|
|
12280
|
+
declare function createObjectActionFamily(runtime: RuntimeApiHandle): {
|
|
12281
|
+
listObjectActions(input: ListObjectActionsInput): AiObjectActionListResult;
|
|
12282
|
+
applyObjectAction(input: ApplyObjectActionInput): ApplyObjectActionResult;
|
|
12283
|
+
};
|
|
12284
|
+
|
|
12185
12285
|
/**
|
|
12186
12286
|
* @endStateApi — live-with-adapter. v3 `ai.actions` category.
|
|
12187
12287
|
*
|
|
@@ -12237,6 +12337,42 @@ interface LocateActionsResult {
|
|
|
12237
12337
|
readonly blockers?: readonly string[];
|
|
12238
12338
|
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12239
12339
|
}
|
|
12340
|
+
interface CreatePlaceholderScopesActionsInput {
|
|
12341
|
+
/**
|
|
12342
|
+
* Defaults to a bracketed placeholder regex: `\[[^\[\]]{1,200}\]`.
|
|
12343
|
+
*/
|
|
12344
|
+
readonly query?: string;
|
|
12345
|
+
readonly regex?: boolean;
|
|
12346
|
+
readonly limit?: number;
|
|
12347
|
+
readonly matchCase?: boolean;
|
|
12348
|
+
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
12349
|
+
readonly labelPrefix?: string;
|
|
12350
|
+
readonly visibility?: ScopeVisibility;
|
|
12351
|
+
readonly guardPolicy?: WorkflowScopeGuardPolicy;
|
|
12352
|
+
readonly assoc?: {
|
|
12353
|
+
readonly start: -1 | 1;
|
|
12354
|
+
readonly end: -1 | 1;
|
|
12355
|
+
};
|
|
12356
|
+
readonly stableRefHint?: "scope-id" | "bookmark" | "semantic-path" | "runtime-handle";
|
|
12357
|
+
}
|
|
12358
|
+
interface PlaceholderScopeCreationItem {
|
|
12359
|
+
readonly status: "created" | "blocked";
|
|
12360
|
+
readonly text: string;
|
|
12361
|
+
readonly excerpt: string;
|
|
12362
|
+
readonly scopeId?: string;
|
|
12363
|
+
readonly handle?: ScopeHandle;
|
|
12364
|
+
readonly blockers?: readonly string[];
|
|
12365
|
+
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12366
|
+
}
|
|
12367
|
+
interface CreatePlaceholderScopesActionsResult {
|
|
12368
|
+
readonly status: "created" | "partial" | "not-found" | "blocked";
|
|
12369
|
+
readonly totalHits: number;
|
|
12370
|
+
readonly created: number;
|
|
12371
|
+
readonly blocked: number;
|
|
12372
|
+
readonly scopes: readonly PlaceholderScopeCreationItem[];
|
|
12373
|
+
readonly blockers?: readonly string[];
|
|
12374
|
+
readonly blockerDetails?: readonly AiActionsBlockerDetail[];
|
|
12375
|
+
}
|
|
12240
12376
|
interface DiscoverActionsInput {
|
|
12241
12377
|
readonly target?: AiActionsTargetInput;
|
|
12242
12378
|
}
|
|
@@ -12716,6 +12852,7 @@ declare function createActionsFamily(runtime: RuntimeApiHandle): {
|
|
|
12716
12852
|
discover(input?: DiscoverActionsInput): DiscoverActionsResult;
|
|
12717
12853
|
locate(input: LocateActionsInput): LocateActionsResult;
|
|
12718
12854
|
locateAll(input: LocateActionsInput): LocateActionsResult;
|
|
12855
|
+
createPlaceholderScopes(input?: CreatePlaceholderScopesActionsInput): CreatePlaceholderScopesActionsResult;
|
|
12719
12856
|
rewrite(input: RewriteActionsInput): ApplyActionsResult;
|
|
12720
12857
|
rewriteAll(input: RewriteAllActionsInput): ApplyActionsResult;
|
|
12721
12858
|
insertText(input: InsertTextActionsInput): ApplyActionsResult;
|
|
@@ -13576,7 +13713,7 @@ type ApiV3Runtime = {
|
|
|
13576
13713
|
readonly viewport: ReturnType<typeof createViewportFamily>;
|
|
13577
13714
|
readonly lists: ReturnType<typeof createListsFamily>;
|
|
13578
13715
|
};
|
|
13579
|
-
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
13716
|
+
type ApiV3Ai = ReturnType<typeof createInspectFamily> & ReturnType<typeof createResolveFamily> & ReturnType<typeof createBundleFamily> & ReturnType<typeof createReplacementFamily> & ReturnType<typeof createAttachFamily> & ReturnType<typeof createExportFamily> & ReturnType<typeof createExplainFamily> & ReturnType<typeof createPolicyFamily> & ReturnType<typeof createReviewFamily> & ReturnType<typeof createEvaluateFamily> & ReturnType<typeof createStatsFamily> & ReturnType<typeof createOutlineFamily> & ReturnType<typeof createTableActionFamily> & ReturnType<typeof createObjectActionFamily> & ReturnType<typeof createActionsFamily>;
|
|
13580
13717
|
interface ApiV3 {
|
|
13581
13718
|
readonly runtime: ApiV3Runtime;
|
|
13582
13719
|
readonly ai: ApiV3Ai;
|
|
@@ -16430,6 +16567,12 @@ interface ExportDocxOptions {
|
|
|
16430
16567
|
interface ExportDelivery {
|
|
16431
16568
|
mode: "downloaded" | "persisted-by-host" | "exported-bytes-only";
|
|
16432
16569
|
savedAt?: string;
|
|
16570
|
+
/**
|
|
16571
|
+
* True when the caller explicitly passed `download: false`. Event consumers
|
|
16572
|
+
* must honor this by skipping secondary automatic downloads, even when the
|
|
16573
|
+
* bytes were also persisted through a host/datastore export target.
|
|
16574
|
+
*/
|
|
16575
|
+
downloadSuppressed?: boolean;
|
|
16433
16576
|
}
|
|
16434
16577
|
interface ExportResult {
|
|
16435
16578
|
bytes: Uint8Array;
|
package/dist/public-types.cjs
CHANGED
|
@@ -7632,10 +7632,16 @@ var FormattingContextImpl = class {
|
|
|
7632
7632
|
// surface-projection calls `resolveParagraphCascade` on the same
|
|
7633
7633
|
// paragraph via `resolveParagraph` + numbering resolve + marker-rPr;
|
|
7634
7634
|
// each of those re-walked the style catalog before.
|
|
7635
|
-
|
|
7635
|
+
//
|
|
7636
|
+
// Defaults to a per-context instance, but the runtime can supply a
|
|
7637
|
+
// persistent `WeakMap` via `FormattingContextOptions.paragraphCascadeCache`
|
|
7638
|
+
// so unchanged paragraphs don't re-cascade on every keystroke. See the
|
|
7639
|
+
// contract on the option for invalidation semantics.
|
|
7640
|
+
paragraphCascadeCache;
|
|
7636
7641
|
constructor(doc, opts) {
|
|
7637
7642
|
this.doc = doc;
|
|
7638
7643
|
this.opts = opts;
|
|
7644
|
+
this.paragraphCascadeCache = opts.paragraphCascadeCache ?? /* @__PURE__ */ new WeakMap();
|
|
7639
7645
|
const canonicalTheme = doc.subParts?.canonicalTheme;
|
|
7640
7646
|
this.theme = opts.themeResolver ?? (canonicalTheme ? new ThemeColorResolver(canonicalTheme) : void 0);
|
|
7641
7647
|
this.numbering = opts.numberingPrefixResolver ?? createNumberingPrefixResolver(doc.numbering);
|
|
@@ -8070,6 +8076,7 @@ var PICTURE_EFFECT_SCHEME_ALIASES = {
|
|
|
8070
8076
|
bg2: "lt2"
|
|
8071
8077
|
};
|
|
8072
8078
|
var EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH = /* @__PURE__ */ new Map();
|
|
8079
|
+
var NO_EDITABLE_TARGETS_INDEX = EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH;
|
|
8073
8080
|
function indexEditableTargetsByBlockPath(document2) {
|
|
8074
8081
|
const targets = collectEditableTargetRefs(document2);
|
|
8075
8082
|
if (targets.length === 0) return EMPTY_EDITABLE_TARGETS_BY_BLOCK_PATH;
|
|
@@ -8119,7 +8126,8 @@ function createEditorSurfaceSnapshot(document2, _selection, activeStory = { kind
|
|
|
8119
8126
|
const formattingContext = createFormattingContext(document2, {
|
|
8120
8127
|
...options.revisionMarkupMode ? { revisionMarkupMode: options.revisionMarkupMode } : {},
|
|
8121
8128
|
...options.getEffectiveMarkupMode ? { getEffectiveMarkupMode: options.getEffectiveMarkupMode } : {},
|
|
8122
|
-
...options.authorColorPalette ? { authorColorPalette: options.authorColorPalette } : {}
|
|
8129
|
+
...options.authorColorPalette ? { authorColorPalette: options.authorColorPalette } : {},
|
|
8130
|
+
...options.paragraphCascadeCache ? { paragraphCascadeCache: options.paragraphCascadeCache } : {}
|
|
8123
8131
|
});
|
|
8124
8132
|
const editableTargetsByBlockPath = options.editableTargetsByBlockPath ?? indexEditableTargetsByBlockPath(document2);
|
|
8125
8133
|
const layoutIdentitiesByBlockPath = options.layoutIdentitiesByBlockPath;
|
|
@@ -10286,7 +10294,8 @@ function buildResolvedSections(document2) {
|
|
|
10286
10294
|
const mainSurface = createEditorSurfaceSnapshot(
|
|
10287
10295
|
document2,
|
|
10288
10296
|
createSelectionSnapshot(0, 0),
|
|
10289
|
-
MAIN_STORY_TARGET
|
|
10297
|
+
MAIN_STORY_TARGET,
|
|
10298
|
+
{ editableTargetsByBlockPath: NO_EDITABLE_TARGETS_INDEX }
|
|
10290
10299
|
);
|
|
10291
10300
|
const sections = [];
|
|
10292
10301
|
let sectionStart = 0;
|
|
@@ -16666,6 +16675,8 @@ function buildSearchPattern(query, options = {}) {
|
|
|
16666
16675
|
function findSearchMatches(text, query, options = {}) {
|
|
16667
16676
|
const pattern = buildSearchPattern(query, options);
|
|
16668
16677
|
if (!pattern) return [];
|
|
16678
|
+
const limit = normalizeSearchLimit(options.limit);
|
|
16679
|
+
if (limit === 0) return [];
|
|
16669
16680
|
const results = [];
|
|
16670
16681
|
let match;
|
|
16671
16682
|
pattern.lastIndex = 0;
|
|
@@ -16676,12 +16687,21 @@ function findSearchMatches(text, query, options = {}) {
|
|
|
16676
16687
|
text: match[0],
|
|
16677
16688
|
index: results.length
|
|
16678
16689
|
});
|
|
16690
|
+
if (results.length >= limit) {
|
|
16691
|
+
break;
|
|
16692
|
+
}
|
|
16679
16693
|
if (match[0].length === 0) {
|
|
16680
16694
|
pattern.lastIndex += 1;
|
|
16681
16695
|
}
|
|
16682
16696
|
}
|
|
16683
16697
|
return results;
|
|
16684
16698
|
}
|
|
16699
|
+
function normalizeSearchLimit(limit) {
|
|
16700
|
+
if (limit === void 0 || !Number.isFinite(limit)) {
|
|
16701
|
+
return Number.POSITIVE_INFINITY;
|
|
16702
|
+
}
|
|
16703
|
+
return Math.max(0, Math.floor(limit));
|
|
16704
|
+
}
|
|
16685
16705
|
function createSearchExcerpt(text, from, to, radius = 24) {
|
|
16686
16706
|
const safeFrom = Math.max(0, Math.min(from, text.length));
|
|
16687
16707
|
const safeTo = Math.max(safeFrom, Math.min(to, text.length));
|
package/dist/public-types.d.cts
CHANGED
|
@@ -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-S8gTYwKo.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-D31xKNGc.cjs';
|
|
3
3
|
import 'y-protocols/awareness';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from './canonical-document-CfZIc-fC.cjs';
|
package/dist/public-types.d.ts
CHANGED
|
@@ -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-B5lOUIrP.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-DqYt8GdP.js';
|
|
3
3
|
import 'y-protocols/awareness';
|
|
4
4
|
import 'yjs';
|
|
5
5
|
export { ad as AreaChartModel, ae as Axis, af as AxisBase, ag as BarChartModel, B as BlockNode, ah as BubbleChartModel, ai as BubbleSeries, a2 as CanonicalParagraphFormatting, a0 as CanonicalRunFormatting, aj as CategoryAxis, ak as CategoryLikeAxis, al as ChartCommon, a6 as ChartModel, am as ColorMod, a8 as ColorRef, an as ComboChartModel, ao as DataLabelsSpec, ap as DataPointOverride, aq as DateAxis, a3 as FillSpec, ar as Legend, as as LineChartModel, at as LineSeries, au as MarkerSpec, av as PieChartModel, aw as PieSeries, a7 as ResolvedTheme, ax as ScatterChartModel, ay as ScatterSeries, az as Series, aA as SeriesAxis, aB as SeriesBase, aC as ShapeProperties, a5 as StrokeSpec, G as TextMark, a4 as TextProperties, aD as Title, aE as UnsupportedChartModel, aF as UnsupportedReason, aG as ValueAxis } from './canonical-document-CfZIc-fC.js';
|
package/dist/public-types.js
CHANGED
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
getUsableColumnWidth,
|
|
21
21
|
sanitizeMarkdown,
|
|
22
22
|
searchSecondaryStories
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-P7XDEVS6.js";
|
|
24
24
|
import {
|
|
25
25
|
createCanvasBackend
|
|
26
26
|
} from "./chunk-OVLZQ6FZ.js";
|
|
@@ -28,7 +28,7 @@ import "./chunk-QIO6V46H.js";
|
|
|
28
28
|
import {
|
|
29
29
|
resolvePageFieldDisplayText,
|
|
30
30
|
storyTargetKey
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-EZFF6GKF.js";
|
|
32
32
|
import "./chunk-OYGMRRR7.js";
|
|
33
33
|
import {
|
|
34
34
|
EMU_PER_INCH,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-
|
|
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-
|
|
1
|
+
import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-D31xKNGc.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-D31xKNGc.cjs';
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import { Awareness } from 'y-protocols/awareness';
|
|
5
5
|
import 'react';
|
package/dist/runtime/collab.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-
|
|
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-
|
|
1
|
+
import { aC as CollabAuthorityProof, aD as CommandEvent, aE as RuntimeCollabAuthority } from '../public-types-DqYt8GdP.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-DqYt8GdP.js';
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import { Awareness } from 'y-protocols/awareness';
|
|
5
5
|
import 'react';
|