@beyondwork/docx-react-component 1.0.134 → 1.0.136
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 +20 -2
- package/dist/api/public-types.d.cts +2 -2
- package/dist/api/public-types.d.ts +2 -2
- package/dist/api/public-types.js +2 -2
- package/dist/api/v3.cjs +203 -41
- package/dist/api/v3.d.cts +3 -3
- package/dist/api/v3.d.ts +3 -3
- package/dist/api/v3.js +4 -4
- 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-REFHJ2FN.js → chunk-2BNXARVO.js} +3 -3
- package/dist/{chunk-INLRCC4N.js → chunk-4CIHTMCH.js} +2 -2
- package/dist/{chunk-MQ5GAJ54.js → chunk-BJXSMPHD.js} +1 -1
- package/dist/{chunk-XBQFDBXE.js → chunk-EZFF6GKF.js} +9 -2
- package/dist/{chunk-3YR47WTD.js → chunk-FGJTOFZY.js} +21 -9
- package/dist/{chunk-74R5B2EZ.js → chunk-H4HI6RUE.js} +1 -1
- package/dist/{chunk-IJD6D7HU.js → chunk-HUWZ7AHE.js} +125 -2
- package/dist/{chunk-7Y6JCIK3.js → chunk-HWMPNLEF.js} +1 -1
- package/dist/{chunk-EBSI6VQX.js → chunk-JZZKTL7K.js} +800 -93
- package/dist/{chunk-VA24T4EB.js → chunk-NEMOQ4QR.js} +1 -1
- package/dist/{chunk-ESEEWELA.js → chunk-NX7W6T7L.js} +171 -39
- package/dist/{chunk-O4EDZR44.js → chunk-P7XDEVS6.js} +12 -1
- package/dist/{chunk-QTRJLKR2.js → chunk-TSNK4ECL.js} +1 -1
- package/dist/{chunk-WDDFU2N2.js → chunk-UR2LW63N.js} +1 -1
- 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.cjs +9 -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/image-commands.js +4 -4
- 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.cjs +9 -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/table-structure-commands.js +3 -3
- package/dist/core/commands/text-commands.cjs +9 -2
- package/dist/core/commands/text-commands.d.cts +2 -2
- package/dist/core/commands/text-commands.d.ts +2 -2
- package/dist/core/commands/text-commands.js +4 -4
- 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 +1287 -198
- package/dist/index.d.cts +5 -5
- package/dist/index.d.ts +5 -5
- package/dist/index.js +135 -34
- 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-CK3lZy4h.d.cts → loader-Cr35kVUi.d.cts} +3 -3
- package/dist/{loader-CQXplstv.d.ts → loader-uGY6nDZP.d.ts} +3 -3
- package/dist/{public-types-DXNZVKrS.d.ts → public-types-8kVIB5HW.d.ts} +22 -8
- package/dist/{public-types-BR1SYK2F.d.cts → public-types-CSSH2Whc.d.cts} +22 -8
- package/dist/public-types.cjs +20 -2
- package/dist/public-types.d.cts +2 -2
- package/dist/public-types.d.ts +2 -2
- package/dist/public-types.js +2 -2
- package/dist/runtime/collab.d.cts +3 -3
- package/dist/runtime/collab.d.ts +3 -3
- package/dist/runtime/document-runtime.cjs +929 -83
- package/dist/runtime/document-runtime.d.cts +2 -2
- package/dist/runtime/document-runtime.d.ts +2 -2
- package/dist/runtime/document-runtime.js +10 -10
- package/dist/{session-CSbwkgII.d.cts → session-Beg8ihOi.d.cts} +3 -3
- package/dist/{session-C9UjrhJF.d.ts → session-Dgp-2uYw.d.ts} +3 -3
- package/dist/session.d.cts +5 -5
- package/dist/session.d.ts +5 -5
- package/dist/tailwind.cjs +27 -8
- package/dist/tailwind.d.cts +2 -2
- package/dist/tailwind.d.ts +2 -2
- package/dist/tailwind.js +5 -5
- package/dist/{types-RzkCXDNV.d.ts → types-Cin_abw3.d.ts} +2 -2
- package/dist/{types-CZtAueri.d.cts → types-qsS39ZkQ.d.cts} +2 -2
- package/dist/ui-tailwind/editor-surface/search-plugin.cjs +11 -0
- 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/editor-surface/search-plugin.js +3 -3
- package/dist/ui-tailwind.cjs +27 -8
- package/dist/ui-tailwind.d.cts +3 -3
- package/dist/ui-tailwind.d.ts +3 -3
- package/dist/ui-tailwind.js +5 -5
- 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`
|
|
@@ -9568,7 +9569,11 @@ interface CreateScopeFromAnchorInput {
|
|
|
9568
9569
|
readonly to: number;
|
|
9569
9570
|
/** Non-main-body story (footnote / header / endnote). Defaults to `{kind:"main"}`. */
|
|
9570
9571
|
readonly storyTarget?: EditorStoryTarget;
|
|
9571
|
-
}
|
|
9572
|
+
} | (Extract<EditorAnchorProjection, {
|
|
9573
|
+
readonly kind: "range";
|
|
9574
|
+
}> & {
|
|
9575
|
+
readonly storyTarget?: EditorStoryTarget;
|
|
9576
|
+
}) | SelectionSnapshot;
|
|
9572
9577
|
readonly mode?: "edit" | "suggest" | "comment" | "view";
|
|
9573
9578
|
readonly label?: string;
|
|
9574
9579
|
readonly visibility?: ScopeVisibility;
|
|
@@ -9585,7 +9590,7 @@ type CreateScopeFromAnchorResult = {
|
|
|
9585
9590
|
} | {
|
|
9586
9591
|
readonly scopeId: "";
|
|
9587
9592
|
readonly status: "range-invalid";
|
|
9588
|
-
readonly reason: "from-negative" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9593
|
+
readonly reason: "from-negative" | "non-finite-range" | "to-less-than-from" | "range-exceeds-story-length" | "non-paragraph-target" | "empty-document";
|
|
9589
9594
|
readonly from: number;
|
|
9590
9595
|
readonly to: number;
|
|
9591
9596
|
readonly storyLength: number;
|
|
@@ -11006,7 +11011,7 @@ declare function createViewportFamily(runtime: RuntimeApiHandle): {
|
|
|
11006
11011
|
*/
|
|
11007
11012
|
|
|
11008
11013
|
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";
|
|
11014
|
+
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
11015
|
interface RuntimeListTargetInput {
|
|
11011
11016
|
readonly targetKey?: string;
|
|
11012
11017
|
readonly addressKey?: string;
|
|
@@ -14849,10 +14854,13 @@ interface InsertImageOptions {
|
|
|
14849
14854
|
* parsers that will drive it in later slices. Carries zero or more canonical
|
|
14850
14855
|
* block nodes (paragraphs, tables, SDTs, etc.); a host that constructs one
|
|
14851
14856
|
* directly is responsible for the blocks being well-formed per the canonical
|
|
14852
|
-
* schema.
|
|
14857
|
+
* schema. Numbered fragments may include the catalog entries referenced by
|
|
14858
|
+
* their blocks; the runtime merge path remaps colliding numbering ids before
|
|
14859
|
+
* splicing. The HTML / Word-clipboard parsers (Slices 2+3) will produce these.
|
|
14853
14860
|
*/
|
|
14854
14861
|
interface CanonicalDocumentFragment {
|
|
14855
14862
|
blocks: BlockNode[];
|
|
14863
|
+
numbering?: NumberingCatalog;
|
|
14856
14864
|
}
|
|
14857
14865
|
/**
|
|
14858
14866
|
* I7 — `replaceText` / `text.insert` formatting directive.
|
|
@@ -16501,14 +16509,14 @@ interface AddScopeResult {
|
|
|
16501
16509
|
* Structured diagnostic for the marker-plant attempt. Omitted on the
|
|
16502
16510
|
* happy path for back-compat; populated with `planted: false` + a
|
|
16503
16511
|
* typed reason when the plant was refused (non-paragraph target,
|
|
16504
|
-
* out-of-bounds, empty-document). Cross-paragraph ranges plant
|
|
16512
|
+
* out-of-bounds, non-finite range, empty-document). Cross-paragraph ranges plant
|
|
16505
16513
|
* successfully as of 2026-04-24 — see the multi-paragraph-scopes
|
|
16506
16514
|
* slice. Callers that previously assumed every returned `scopeId`
|
|
16507
16515
|
* was live should migrate to checking this field.
|
|
16508
16516
|
*/
|
|
16509
16517
|
plantStatus?: {
|
|
16510
16518
|
readonly planted: false;
|
|
16511
|
-
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "empty-document";
|
|
16519
|
+
readonly reason: "non-paragraph-target" | "range-out-of-bounds" | "non-finite-range" | "empty-document";
|
|
16512
16520
|
readonly requestedFrom: number;
|
|
16513
16521
|
readonly requestedTo: number;
|
|
16514
16522
|
/** Present on `non-paragraph-target`. */
|
|
@@ -16567,6 +16575,12 @@ interface ExportDocxOptions {
|
|
|
16567
16575
|
interface ExportDelivery {
|
|
16568
16576
|
mode: "downloaded" | "persisted-by-host" | "exported-bytes-only";
|
|
16569
16577
|
savedAt?: string;
|
|
16578
|
+
/**
|
|
16579
|
+
* True when the caller explicitly passed `download: false`. Event consumers
|
|
16580
|
+
* must honor this by skipping secondary automatic downloads, even when the
|
|
16581
|
+
* bytes were also persisted through a host/datastore export target.
|
|
16582
|
+
*/
|
|
16583
|
+
downloadSuppressed?: boolean;
|
|
16570
16584
|
}
|
|
16571
16585
|
interface ExportResult {
|
|
16572
16586
|
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);
|
|
@@ -8120,7 +8126,8 @@ function createEditorSurfaceSnapshot(document2, _selection, activeStory = { kind
|
|
|
8120
8126
|
const formattingContext = createFormattingContext(document2, {
|
|
8121
8127
|
...options.revisionMarkupMode ? { revisionMarkupMode: options.revisionMarkupMode } : {},
|
|
8122
8128
|
...options.getEffectiveMarkupMode ? { getEffectiveMarkupMode: options.getEffectiveMarkupMode } : {},
|
|
8123
|
-
...options.authorColorPalette ? { authorColorPalette: options.authorColorPalette } : {}
|
|
8129
|
+
...options.authorColorPalette ? { authorColorPalette: options.authorColorPalette } : {},
|
|
8130
|
+
...options.paragraphCascadeCache ? { paragraphCascadeCache: options.paragraphCascadeCache } : {}
|
|
8124
8131
|
});
|
|
8125
8132
|
const editableTargetsByBlockPath = options.editableTargetsByBlockPath ?? indexEditableTargetsByBlockPath(document2);
|
|
8126
8133
|
const layoutIdentitiesByBlockPath = options.layoutIdentitiesByBlockPath;
|
|
@@ -16668,6 +16675,8 @@ function buildSearchPattern(query, options = {}) {
|
|
|
16668
16675
|
function findSearchMatches(text, query, options = {}) {
|
|
16669
16676
|
const pattern = buildSearchPattern(query, options);
|
|
16670
16677
|
if (!pattern) return [];
|
|
16678
|
+
const limit = normalizeSearchLimit(options.limit);
|
|
16679
|
+
if (limit === 0) return [];
|
|
16671
16680
|
const results = [];
|
|
16672
16681
|
let match;
|
|
16673
16682
|
pattern.lastIndex = 0;
|
|
@@ -16678,12 +16687,21 @@ function findSearchMatches(text, query, options = {}) {
|
|
|
16678
16687
|
text: match[0],
|
|
16679
16688
|
index: results.length
|
|
16680
16689
|
});
|
|
16690
|
+
if (results.length >= limit) {
|
|
16691
|
+
break;
|
|
16692
|
+
}
|
|
16681
16693
|
if (match[0].length === 0) {
|
|
16682
16694
|
pattern.lastIndex += 1;
|
|
16683
16695
|
}
|
|
16684
16696
|
}
|
|
16685
16697
|
return results;
|
|
16686
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
|
+
}
|
|
16687
16705
|
function createSearchExcerpt(text, from, to, radius = 24) {
|
|
16688
16706
|
const safeFrom = Math.max(0, Math.min(from, text.length));
|
|
16689
16707
|
const safeTo = Math.max(safeFrom, Math.min(to, text.length));
|
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-BR1SYK2F.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-CSSH2Whc.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';
|
package/dist/public-types.d.ts
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-DXNZVKrS.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-8kVIB5HW.js';
|
|
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.js';
|
|
6
6
|
import 'prosemirror-state';
|
|
7
7
|
import 'prosemirror-model';
|
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,9 +1,9 @@
|
|
|
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-CSSH2Whc.cjs';
|
|
2
|
+
export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-CSSH2Whc.cjs';
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import { Awareness } from 'y-protocols/awareness';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../canonical-document-
|
|
6
|
+
import '../canonical-document-COmM7v11.cjs';
|
|
7
7
|
import 'prosemirror-state';
|
|
8
8
|
import 'prosemirror-model';
|
|
9
9
|
|
package/dist/runtime/collab.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
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-8kVIB5HW.js';
|
|
2
|
+
export { aF as COMMAND_EVENT_SCHEMA_VERSION, aG as Checkpoint, aH as CheckpointStoreHandle, aI as CreateCheckpointStoreOptions, aJ as CreateCommandEventInput, aK as CreateWorkflowSharedOptions, aL as RemoteCursorState, aM as RemoteCursorTrackerHandle, aN as RemoteCursorTrackerOptions, aO as RuntimeCollabSyncEvent, aP as RuntimeCollabSyncHandle, aQ as RuntimeCollabSyncOptions, aR as RuntimeCommandAppliedBridge, aS as RuntimeCommandAppliedListener, aT as SharedWorkflowState, aU as WorkflowSharedHandle, aV as WorkflowSharedResult, aW as clearLocalCursorState, aX as createCheckpointStore, aY as createCommandEvent, aZ as createRemoteCursorTracker, a_ as createRuntimeCollabSync, a$ as createRuntimeCommandAppliedBridge, b0 as createWorkflowShared, b1 as getCursorColorForUser, b2 as getRemoteCursorStates, b3 as isBroadcastCommand, b4 as isLocalOnlyCommand, b5 as mapRemoteCursorThroughMapping, b6 as setLocalCursorState } from '../public-types-8kVIB5HW.js';
|
|
3
3
|
import * as Y from 'yjs';
|
|
4
4
|
import { Awareness } from 'y-protocols/awareness';
|
|
5
5
|
import 'react';
|
|
6
|
-
import '../canonical-document-
|
|
6
|
+
import '../canonical-document-COmM7v11.js';
|
|
7
7
|
import 'prosemirror-state';
|
|
8
8
|
import 'prosemirror-model';
|
|
9
9
|
|