plitejs 54.0.0-beta.7 → 54.0.0-beta.8
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/authored/index.d.ts +44 -41
- package/dist/authored/index.js +16489 -16181
- package/dist/{authored-veto-CferDljr.js → authored-veto-DLmBMIcy.js} +1 -1
- package/dist/{clipboard-format-key-CLFcThXH.js → clipboard-format-key-SzffxWqa.js} +1 -1
- package/dist/{comparison-plan-7iIABSWG.js → comparison-plan-BqFJWjO4.js} +36 -14
- package/dist/{create-editor-acDgsovY.js → create-editor-kU8fg-PF.js} +6 -30
- package/dist/diff/index.d.ts +2 -32
- package/dist/diff/index.js +7 -378
- package/dist/dom/index.d.ts +2 -2
- package/dist/dom/index.js +2 -2
- package/dist/{dom-B5bAma7X.js → dom-SUWlnfT9.js} +562 -145
- package/dist/history/index.d.ts +5 -5
- package/dist/history/index.js +2041 -1833
- package/dist/history-skip-CcEhIzak.js +35 -0
- package/dist/hyperscript/index.d.ts +1 -1
- package/dist/hyperscript/index.js +1 -1
- package/dist/{hyperscript-BXUV6sdO.js → hyperscript-DdeGYoSc.js} +3 -2
- package/dist/{index-CTTjpWgb.d.ts → index-4PpawhYe.d.ts} +1 -1
- package/dist/{index-DJvrmSRP.d.ts → index-BsOySJwr.d.ts} +9 -9
- package/dist/{index-D8DQ1YFB.d.ts → index-CHEKdrHP.d.ts} +12 -4
- package/dist/{comparison-types-CsmDG5r2.d.ts → index-DM-b6jEe.d.ts} +21 -57
- package/dist/{index-LhVJuuEf.d.ts → index-DqmhcD_0.d.ts} +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -4
- package/dist/internal/index.d.ts +2 -2
- package/dist/internal/index.js +66 -5
- package/dist/law-check-Bvnz2EKh.js +19271 -0
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/react.d.ts +2 -2
- package/dist/pagination/react.js +92 -46
- package/dist/{pagination-CwjmxPoX.js → pagination-XEnxZ1DX.js} +2 -1
- package/dist/{plugin-BZCGtqMI.js → plugin-B8uCi-Hr.js} +8758 -19452
- package/dist/{range-geometry-CZari453.d.ts → range-geometry-B2f67yLv.d.ts} +1 -1
- package/dist/{range-geometry-CqWrwkjH.js → range-geometry-BGKYQHqO.js} +3 -2
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +7 -6
- package/dist/react/virtualized.d.ts +2 -2
- package/dist/react/virtualized.js +59 -38
- package/dist/{react-DO9IETEQ.js → react-B6B-5z7t.js} +24 -55
- package/dist/{retraction-RHEKiF3h.js → retraction-BMzQ2on5.js} +1 -1
- package/dist/scroll-root-DudA40xj.js +25 -0
- package/dist/{src-fLbHzUjC.js → src--BZ7fZY4.js} +60 -26
- package/dist/testing/index.d.ts +2 -2
- package/dist/testing/index.js +4 -3
- package/dist/{tx-only-1FM45FSj.d.ts → tx-only-D8lpB-sT.d.ts} +338 -147
- package/dist/{update-policy-C32RjjGt.js → update-policy-J-4sHmrg.js} +2 -1
- package/dist/{use-editor-dom-scope-CUBnNAZV.js → use-editor-dom-scope-BFWvutxn.js} +2837 -2093
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/index.js +1 -1
- package/dist/yjs/react/index.d.ts +3 -3
- package/dist/yjs/react/index.js +3 -3
- package/dist/{yjs-BMguSAX_.js → yjs-DPngKQWQ.js} +114 -39
- package/package.json +2 -3
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { Zr as defineUpdateAnnotation } from "./law-check-Bvnz2EKh.js";
|
|
2
|
+
import { Au as getPluginRegistry, Xr as readElementPropertyWrites } from "./plugin-B8uCi-Hr.js";
|
|
3
|
+
//#region src/core/history-skip.ts
|
|
4
|
+
/**
|
|
5
|
+
* Annotate an update so history skips recording it when the entire commit
|
|
6
|
+
* writes only element properties whose keys appear in the annotated list
|
|
7
|
+
* (with no roots created/deleted, no records, no persisted state, no effects,
|
|
8
|
+
* and no anchor recovery). Composite updates that also edit content still
|
|
9
|
+
* record normally.
|
|
10
|
+
*
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
const skipHistoryIfOnlyProperties = defineUpdateAnnotation({
|
|
14
|
+
combine: (previous, next) => [.../* @__PURE__ */ new Set([...previous, ...next])],
|
|
15
|
+
key: "history.skip-if-only-properties"
|
|
16
|
+
});
|
|
17
|
+
/** @internal */
|
|
18
|
+
const shouldSkipHistoryForOnlyProperties = (editor, before, commit, effects, hasRecovery = false) => {
|
|
19
|
+
const keys = commit.annotations[skipHistoryIfOnlyProperties.key];
|
|
20
|
+
if (!keys || keys.length === 0 || effects.length > 0 || hasRecovery) return false;
|
|
21
|
+
const writes = readElementPropertyWrites(editor, {
|
|
22
|
+
before,
|
|
23
|
+
commit
|
|
24
|
+
});
|
|
25
|
+
if (!writes || writes.length === 0) return false;
|
|
26
|
+
const allowed = new Set(keys);
|
|
27
|
+
const fields = getPluginRegistry(editor).stateFieldIdentities;
|
|
28
|
+
if (commit.dirtyStateKeys.some((key) => {
|
|
29
|
+
const field = fields.get(key);
|
|
30
|
+
return field ? Boolean(field.persist) : true;
|
|
31
|
+
})) return false;
|
|
32
|
+
return writes.every(({ modifications }) => modifications.every((modification) => allowed.has(modification.key)));
|
|
33
|
+
};
|
|
34
|
+
//#endregion
|
|
35
|
+
export { skipHistoryIfOnlyProperties as n, shouldSkipHistoryForOnlyProperties as t };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as HyperscriptEditorFixture, c as createText, i as createHyperscript, n as HyperscriptCreators, o as createEditor, r as HyperscriptShorthands, s as createEditorFixture, t as jsx } from "../index-
|
|
1
|
+
import { a as HyperscriptEditorFixture, c as createText, i as createHyperscript, n as HyperscriptCreators, o as createEditor, r as HyperscriptShorthands, s as createEditorFixture, t as jsx } from "../index-4PpawhYe.js";
|
|
2
2
|
export { type HyperscriptCreators, type HyperscriptEditorFixture, type HyperscriptShorthands, createEditor, createEditorFixture, createHyperscript, createText, jsx };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as createText, i as createEditorFixture, n as createHyperscript, r as createEditor, t as jsx } from "../hyperscript-
|
|
1
|
+
import { a as createText, i as createEditorFixture, n as createHyperscript, r as createEditor, t as jsx } from "../hyperscript-DdeGYoSc.js";
|
|
2
2
|
export { createEditor, createEditorFixture, createHyperscript, createText, jsx };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ti as RangeApi } from "./law-check-Bvnz2EKh.js";
|
|
2
|
+
import { Dd as ElementApi, Ed as SelectionApi, V as NodeApi, Yt as replace, jd as TextApi } from "./plugin-B8uCi-Hr.js";
|
|
3
|
+
import { a as createEditor$1 } from "./create-editor-kU8fg-PF.js";
|
|
3
4
|
//#region src/hyperscript/tokens.ts
|
|
4
5
|
/**
|
|
5
6
|
* A weak map to hold anchor tokens.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Ep as TextSelection, Lg as Descendant, Sp as Selection, Z_ as Text, g as Editor, yg as Element, z_ as Path } from "./tx-only-D8lpB-sT.js";
|
|
2
2
|
//#region src/hyperscript/tokens.d.ts
|
|
3
3
|
/**
|
|
4
4
|
* All tokens inherit from a single constructor for `instanceof` checking.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { At as DOMCoverageMaterializeRangeRole, B as DOMApi, Ft as DOMCoverageReason, I as DOMEditorOptions, L as DOMPlugin, Lt as DOMCoverageSelectionPolicy, O as DataTransferDiagnostic, Ot as DOMCoverageCopyPolicy, R as DOMPluginTypes, V as DOMClipboardApi, W as DOMEditor, _t as DropIndicator, jt as DOMCoverageMaterializeReason, wt as DOMCoverageBoundary } from "./index-
|
|
3
|
-
import { r as ViewportRect, t as RangeGeometry } from "./range-geometry-
|
|
1
|
+
import { Ap as DecorationSource, C_ as BaseRange, E as EditorCommandDescriptor, F as EditorCommitContext, Fc as TransferApi, G as EditorDocumentValue, Gc as TransferInput, Gn as EditorUpdatePolicy, Gr as PluginReference, Hc as TransferCheck, Hs as CheckedEditorOptions, Ic as TransferPlugin, Ja as PluginsFromOptions, Jt as EditorStateField, Op as DecorationAttributes, Un as EditorUpdateContext, Wg as Node$1, Yc as TransferOutcome, Yn as EditorUpdateTransaction, Z_ as Text, _r as Plugin, cf as EditorSelectorDependencies, f as CompatibleEditorCommand, fr as NamedRootKey, ft as EditorLifecycleErrorSink, jr as PluginDependencyReferenceFor, k as EditorCommandInput, kr as PluginDependencyContractReference, l as AnyEditor, m as CreateEditorOptions$1, mr as NodeTarget, ni as ReadValue, or as HistoryOutcome, pi as StateFieldValueInput, pr as NodeKey, qa as EditorValueFromOptions, ri as RootKey, rr as EditorViewOptions, vi as Value, w_ as Range, yg as Element$1, yi as ValueOf, z_ as Path, zr as PluginPortal } from "./tx-only-D8lpB-sT.js";
|
|
2
|
+
import { At as DOMCoverageMaterializeRangeRole, B as DOMApi, Ft as DOMCoverageReason, I as DOMEditorOptions, L as DOMPlugin, Lt as DOMCoverageSelectionPolicy, O as DataTransferDiagnostic, Ot as DOMCoverageCopyPolicy, R as DOMPluginTypes, V as DOMClipboardApi, W as DOMEditor, _t as DropIndicator, jt as DOMCoverageMaterializeReason, wt as DOMCoverageBoundary } from "./index-CHEKdrHP.js";
|
|
3
|
+
import { r as ViewportRect, t as RangeGeometry } from "./range-geometry-B2f67yLv.js";
|
|
4
4
|
import React$1, { CSSProperties, DependencyList, KeyboardEvent as KeyboardEvent$1, MouseEventHandler, ReactNode, Ref, RefObject, TextareaHTMLAttributes } from "react";
|
|
5
5
|
import "lodash";
|
|
6
6
|
//#region src/react/editable/runtime-editor-api.d.ts
|
|
@@ -1019,8 +1019,7 @@ declare function useEditorHistory<const TRoot extends RootKey = RootKey>({ edito
|
|
|
1019
1019
|
//#endregion
|
|
1020
1020
|
//#region src/react/hooks/use-plite-runtime.d.ts
|
|
1021
1021
|
/**
|
|
1022
|
-
* Return the owning model editor from the nearest `<EditorRoot
|
|
1023
|
-
* `<EditorRuntimeProvider>`.
|
|
1022
|
+
* Return the owning model editor from the nearest `<EditorRoot>`.
|
|
1024
1023
|
*/
|
|
1025
1024
|
declare function useModelEditor(): Editor;
|
|
1026
1025
|
/** Options for creating a root-specific command editor. */
|
|
@@ -1040,8 +1039,9 @@ type UseRootEditorOptions = {
|
|
|
1040
1039
|
* under its own `EditorRoot`, so while that `EditorRoot` shows no editing
|
|
1041
1040
|
* area for its root, `api.dom.editable()` returns `null`, even when an
|
|
1042
1041
|
* editing area in another `EditorRoot` holds the caret. Use it for
|
|
1043
|
-
* root-specific toolbar/sidebar commands. Pass `readOnly: true`
|
|
1044
|
-
*
|
|
1042
|
+
* root-specific toolbar/sidebar commands. Pass `readOnly: true` to lock a
|
|
1043
|
+
* single handle (for example, copy-only drags while sibling controls stay
|
|
1044
|
+
* writable). Exact plugin capability comes from `editor.plugin(Plugin)`.
|
|
1045
1045
|
*/
|
|
1046
1046
|
declare function useRootEditor<const TRoot extends RootKey = RootKey>(root?: NamedRootKey<TRoot>, options?: UseRootEditorOptions): Editor;
|
|
1047
1047
|
/**
|
|
@@ -1063,8 +1063,8 @@ declare function useOptionalEditor(): EditorContextValue | null;
|
|
|
1063
1063
|
* nothing is selected. Throws outside `<EditorRoot>`.
|
|
1064
1064
|
*/
|
|
1065
1065
|
declare function useEditor(): EditorContextValue;
|
|
1066
|
-
/** Focus behavior before
|
|
1067
|
-
type CommandFocusPolicy = 'none' | '
|
|
1066
|
+
/** Focus behavior before root command callbacks. */
|
|
1067
|
+
type CommandFocusPolicy = 'none' | 'restore-root';
|
|
1068
1068
|
/** Options for `useCommand`. */
|
|
1069
1069
|
type UseCommandOptions<TRoot extends RootKey = RootKey> = {
|
|
1070
1070
|
focus?: CommandFocusPolicy;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { StandardBehaviorOptions } from "scroll-into-view-if-needed";
|
|
1
|
+
import { F_ as Point, Lg as Descendant, S as EditorCommand, Wg as Node$1, Z_ as Text$1, _r as Plugin, bp as NodeSelection, g as Editor, l as AnyEditor, pr as NodeKey, ri as RootKey, vi as Value, w_ as Range$1, wp as SelectionAssociation, xc as ContentSlice, yg as Element$1, z as EditorCoreStateView, z_ as Path, zh as SchemaProperty } from "./tx-only-D8lpB-sT.js";
|
|
3
2
|
//#region src/dom/utils/dom.d.ts
|
|
4
3
|
/**
|
|
5
4
|
* Types.
|
|
@@ -416,6 +415,16 @@ declare const writeDOMRangeData: <V extends Value>(editor: DOMEditor<V>, data: P
|
|
|
416
415
|
slice?: ContentSlice<V>;
|
|
417
416
|
}>) => Pick<DataTransfer, "getData" | "setData"> | undefined;
|
|
418
417
|
//#endregion
|
|
418
|
+
//#region src/dom/plugin/dom-scroll-into-view.d.ts
|
|
419
|
+
type ScrollIntoViewOptions = boolean | {
|
|
420
|
+
behavior?: ScrollBehavior;
|
|
421
|
+
block?: ScrollLogicalPosition;
|
|
422
|
+
boundary?: Element | ((parent: Element) => boolean) | null;
|
|
423
|
+
inline?: ScrollLogicalPosition;
|
|
424
|
+
scrollMode?: 'always' | 'if-needed';
|
|
425
|
+
skipOverflowHiddenElements?: boolean;
|
|
426
|
+
};
|
|
427
|
+
//#endregion
|
|
419
428
|
//#region src/dom/plugin/dom-editor.d.ts
|
|
420
429
|
/** Core editor accepted by the DOM bridge before its API is installed. */
|
|
421
430
|
type DOMEditor<V extends Value = Value, TPlugins extends readonly unknown[] = any> = AnyEditor<V, TPlugins>;
|
|
@@ -588,7 +597,6 @@ interface DOMEditorClipboardCapability<V extends Value = Value> {
|
|
|
588
597
|
writeSlice: (data: Pick<DataTransfer, 'getData' | 'setData'>, payload: ClipboardSliceWrite<V>) => void;
|
|
589
598
|
}
|
|
590
599
|
interface DOMClipboardApi<V extends Value = Value> extends DOMEditorClipboardCapability<V> {}
|
|
591
|
-
type ScrollIntoViewOptions = StandardBehaviorOptions | boolean;
|
|
592
600
|
type ScrollIntoViewTarget = DOMRange | Path | Point | Range$1;
|
|
593
601
|
type DOMVisualPoint = Readonly<{
|
|
594
602
|
affinity: SelectionAssociation;
|
|
@@ -1092,4 +1100,4 @@ declare const keyToDataAttribute: (key: string) => string;
|
|
|
1092
1100
|
/** Return DOM data attribute names that mirror primitive node properties. */
|
|
1093
1101
|
declare const getNodeDataAttributeKeys: (node: Element$1 | Text$1) => string[];
|
|
1094
1102
|
//#endregion
|
|
1095
|
-
export { ClipboardSliceWrite as $, isBefore as $t, DataTransferFormat as A, DOMCoverageMaterializeRangeRole as At, DOMApi as B, DOMNode as Bt, writeDOMSelection as C, DOMCoverage as Ct, DataTransferDecodeContext as D, DOMCoverageBoundaryState as Dt, usesAppleDOMHotkeys as E, DOMCoverageBoundaryEdge as Et, writeDataTransferFragment as F, DOMCoverageReason as Ft, DOMEditorClipboardCapability as G, DOMText as Gt, DOMClipboardInsertDataHandler as H, DOMRange as Ht, DOMEditorOptions as I, DOMCoverageRuntimeRange as It, DOMVisualPointOptions as J, getActiveElement as Jt, DOMResolutionError as K, closestShadowAware as Kt, DOMPlugin as L, DOMCoverageSelectionPolicy as Lt, DataTransferSchemaClaim as M, DOMCoverageMaterializeResult as Mt, DataTransferSnapshot as N, DOMCoveragePathRange as Nt, DataTransferDiagnostic as O, DOMCoverageCopyPolicy as Ot, dataTransferFormats as P, DOMCoveragePointResult as Pt, ClipboardSliceRead as Q, isAfter as Qt, DOMPluginTypes as R, DOMCoverageSession as Rt, readDOMSelectionRange as S, DOMDropTargetOptions as St, isGeckoDOMHost as T, DOMCoverageBoundaryAnchor as Tt, DOMDragApi as U, DOMSelection as Ut, DOMClipboardApi as V, DOMPoint as Vt, DOMEditor as W, DOMStaticRange as Wt,
|
|
1103
|
+
export { ClipboardSliceWrite as $, isBefore as $t, DataTransferFormat as A, DOMCoverageMaterializeRangeRole as At, DOMApi as B, DOMNode as Bt, writeDOMSelection as C, DOMCoverage as Ct, DataTransferDecodeContext as D, DOMCoverageBoundaryState as Dt, usesAppleDOMHotkeys as E, DOMCoverageBoundaryEdge as Et, writeDataTransferFragment as F, DOMCoverageReason as Ft, DOMEditorClipboardCapability as G, DOMText as Gt, DOMClipboardInsertDataHandler as H, DOMRange as Ht, DOMEditorOptions as I, DOMCoverageRuntimeRange as It, DOMVisualPointOptions as J, getActiveElement as Jt, DOMResolutionError as K, closestShadowAware as Kt, DOMPlugin as L, DOMCoverageSelectionPolicy as Lt, DataTransferSchemaClaim as M, DOMCoverageMaterializeResult as Mt, DataTransferSnapshot as N, DOMCoveragePathRange as Nt, DataTransferDiagnostic as O, DOMCoverageCopyPolicy as Ot, dataTransferFormats as P, DOMCoveragePointResult as Pt, ClipboardSliceRead as Q, isAfter as Qt, DOMPluginTypes as R, DOMCoverageSession as Rt, readDOMSelectionRange as S, DOMDropTargetOptions as St, isGeckoDOMHost as T, DOMCoverageBoundaryAnchor as Tt, DOMDragApi as U, DOMSelection as Ut, DOMClipboardApi as V, DOMPoint as Vt, DOMEditor as W, DOMStaticRange as Wt, isTrackedMutation as X, getSelection as Xt, ScrollIntoViewTarget as Y, getDefaultView as Yt, ScrollIntoViewOptions as Z, hasShadowRoot as Zt, createCompiledHotkeyMatcher as _, DropIndicator as _t, isLeaf as a, normalizeDOMPoint as an, writeDOMRangeData as at, getEditorDOMRoot as b, DOMDropTarget as bt, isText as c, TextDiff as ct, Hotkeys as d, normalizePoint as dt, isDOMElement as en, DOMFragmentDataHtml as et, HotkeyMatchOptions as f, normalizeRange as ft, ariaKeyShortcuts as g, DOMGeometryRect as gt, KeyboardEventLike as h, verifyDiffState as ht, isElement as i, isPlainTextOnlyPaste as in, writeDOMFragmentData as it, DataTransferFormatPhase as j, DOMCoverageMaterializeReason as jt, DataTransferEncodeContext as k, DOMCoverageMaterializeHandler as kt, isVoid as l, applyStringDiff as lt, HotkeySpec as m, targetRange as mt, getNodeDataAttributeKeys as n, isDOMSelection as nn, cleanDOMClipboardContents as nt, isNode as o, Key as ot, HotkeyPlatform as p, normalizeStringDiff as pt, DOMVisualPoint as q, containsShadowAware as qt, isEditor as r, isDOMText as rn, domCommands as rt, isString as s, StringDiff as st, getElements as t, isDOMNode as tn, DOMFragmentDataPayload as tt, keyToDataAttribute as u, mergeStringDiffs as ut, isHotkey as v, DOMDragStart as vt, CAN_USE_DOM as w, DOMCoverageBoundary as wt, DOMSelectionPoints as x, DOMDropTargetInput as xt, TRIPLE_CLICK as y, DOMDropEdge as yt, dom as z, DOMElement as zt };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { G as EditorDocumentValue,
|
|
1
|
+
import { G as EditorDocumentValue, km as EditorSchemaIdentity, op as DocumentChange, tn as EditorStateSchemaApi, vi as Value } from "./tx-only-D8lpB-sT.js";
|
|
2
2
|
//#region src/diff/lib/comparison-types.d.ts
|
|
3
3
|
/** A comparison-local interval in the canonical document token coordinate. */
|
|
4
4
|
type ComparisonSpan = Readonly<{
|
|
@@ -7,6 +7,7 @@ type ComparisonSpan = Readonly<{
|
|
|
7
7
|
root: string | null;
|
|
8
8
|
to: number;
|
|
9
9
|
}>;
|
|
10
|
+
/** Detached document snapshot captured at one side of a comparison. */
|
|
10
11
|
type ComparisonSnapshot<V extends Value = Value> = Readonly<{
|
|
11
12
|
document: Pick<EditorDocumentValue<V>, 'children' | 'roots'>;
|
|
12
13
|
/** Exact non-content input envelope used only for stale-import detection. */
|
|
@@ -15,12 +16,14 @@ type ComparisonSnapshot<V extends Value = Value> = Readonly<{
|
|
|
15
16
|
projection: 'accepted' | 'proposed';
|
|
16
17
|
schema: EditorSchemaIdentity;
|
|
17
18
|
}>;
|
|
19
|
+
/** Warning or informational notice produced while comparing two documents. */
|
|
18
20
|
type ComparisonDiagnostic = Readonly<{
|
|
19
|
-
code: 'ambiguous' | 'coarse-replacement' | 'expired-lineage' | 'identity-hint-rejected' | 'incompatible-schema' | '
|
|
21
|
+
code: 'ambiguous' | 'coarse-replacement' | 'expired-lineage' | 'identity-hint-rejected' | 'incompatible-schema' | 'unsupported-structure' | 'work-limit';
|
|
20
22
|
message: string;
|
|
21
23
|
severity: 'info' | 'warning';
|
|
22
24
|
spans?: readonly ComparisonSpan[];
|
|
23
25
|
}>;
|
|
26
|
+
/** Provenance describing how a correspondence or group was established. */
|
|
24
27
|
type ComparisonEvidence = Readonly<{
|
|
25
28
|
kind: 'inferred';
|
|
26
29
|
basis: 'exact' | 'replacement' | 'structure' | 'unique-content';
|
|
@@ -42,6 +45,7 @@ type ComparisonEffectBase = Readonly<{
|
|
|
42
45
|
before: readonly ComparisonSpan[];
|
|
43
46
|
id: string;
|
|
44
47
|
}>;
|
|
48
|
+
/** Typed semantic edit recorded inside a compared change group. */
|
|
45
49
|
type ComparisonEffect = ComparisonEffectBase & (Readonly<{
|
|
46
50
|
kind: 'structure';
|
|
47
51
|
}> | Readonly<{
|
|
@@ -95,8 +99,6 @@ type ComparisonEffect = ComparisonEffectBase & (Readonly<{
|
|
|
95
99
|
type ComparedChange = Readonly<{
|
|
96
100
|
after: readonly ComparisonSpan[];
|
|
97
101
|
before: readonly ComparisonSpan[];
|
|
98
|
-
/** Three-way branch contribution. Omitted for ordinary two-way results. */
|
|
99
|
-
branches?: readonly ComparisonBranch[];
|
|
100
102
|
correspondence: readonly ComparisonCorrespondence[];
|
|
101
103
|
effects: readonly ComparisonEffect[];
|
|
102
104
|
evidence: ComparisonEvidence;
|
|
@@ -110,70 +112,32 @@ type ComparedChange = Readonly<{
|
|
|
110
112
|
*/
|
|
111
113
|
requiredChangeIds: readonly string[];
|
|
112
114
|
}>;
|
|
113
|
-
|
|
115
|
+
/** Immutable structural comparison between two schema-valid documents. */
|
|
116
|
+
type Comparison<V extends Value = Value> = Readonly<{
|
|
114
117
|
after: ComparisonSnapshot<V>;
|
|
115
118
|
before: ComparisonSnapshot<V>;
|
|
116
119
|
change: DocumentChange;
|
|
117
120
|
changes: readonly ComparedChange[];
|
|
118
121
|
diagnostics: readonly ComparisonDiagnostic[];
|
|
119
122
|
id: string;
|
|
120
|
-
kind: 'two-way';
|
|
121
123
|
policy: Readonly<{
|
|
122
124
|
id: 'structural-diff';
|
|
123
125
|
version: 1;
|
|
124
126
|
}>;
|
|
125
127
|
}>;
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
spans: readonly ComparisonSpan[];
|
|
135
|
-
}>;
|
|
136
|
-
type ComparisonConflict = Readonly<{
|
|
137
|
-
base: readonly ComparisonSpan[];
|
|
138
|
-
changeIds: readonly string[];
|
|
139
|
-
id: string;
|
|
140
|
-
kind: 'delete-edit' | 'grid' | 'order' | 'placement' | 'root' | 'structure';
|
|
141
|
-
local: ComparisonConflictAlternative;
|
|
142
|
-
remote: ComparisonConflictAlternative;
|
|
143
|
-
requiredChangeIds: readonly string[];
|
|
144
|
-
}>;
|
|
145
|
-
type ThreeWayComparison<V extends Value = Value> = Readonly<{
|
|
146
|
-
base: ComparisonSnapshot<V>;
|
|
147
|
-
changes: readonly ComparedChange[];
|
|
148
|
-
conflicts: readonly ComparisonConflict[];
|
|
149
|
-
diagnostics: readonly ComparisonDiagnostic[];
|
|
150
|
-
id: string;
|
|
151
|
-
kind: 'three-way';
|
|
152
|
-
local: ComparisonSnapshot<V>;
|
|
153
|
-
policy: Readonly<{
|
|
154
|
-
id: 'structural-diff';
|
|
155
|
-
version: 1;
|
|
156
|
-
}>;
|
|
157
|
-
remote: ComparisonSnapshot<V>;
|
|
158
|
-
}>;
|
|
159
|
-
type Comparison<V extends Value = Value> = ThreeWayComparison<V> | TwoWayComparison<V>;
|
|
160
|
-
type ComparisonResolution = Readonly<{
|
|
161
|
-
comparisonId: string;
|
|
162
|
-
conflictId: string;
|
|
163
|
-
choice: ComparisonBranch | Readonly<{
|
|
164
|
-
document: unknown;
|
|
165
|
-
kind: 'custom';
|
|
128
|
+
//#endregion
|
|
129
|
+
//#region src/diff/lib/compare.d.ts
|
|
130
|
+
type CompareInput<V extends Value> = Readonly<{
|
|
131
|
+
after: unknown;
|
|
132
|
+
before: unknown;
|
|
133
|
+
projection?: Readonly<{
|
|
134
|
+
after: 'accepted' | 'proposed';
|
|
135
|
+
before: 'accepted' | 'proposed';
|
|
166
136
|
}>;
|
|
137
|
+
schema: EditorStateSchemaApi<V>;
|
|
138
|
+
signal?: AbortSignal;
|
|
167
139
|
}>;
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
status: 'resolved';
|
|
171
|
-
}> | Readonly<{
|
|
172
|
-
conflicts: readonly ComparisonConflict[];
|
|
173
|
-
status: 'unresolved';
|
|
174
|
-
}> | Readonly<{
|
|
175
|
-
diagnostics: readonly ComparisonDiagnostic[];
|
|
176
|
-
status: 'invalid';
|
|
177
|
-
}>;
|
|
140
|
+
/** Compare two immutable schema-valid documents without installing editor state. */
|
|
141
|
+
declare function compare<V extends Value>(input: CompareInput<V>): Promise<Comparison<V>>;
|
|
178
142
|
//#endregion
|
|
179
|
-
export {
|
|
143
|
+
export { ComparisonDiagnostic as a, ComparisonSnapshot as c, ComparisonCorrespondence as i, ComparisonSpan as l, ComparedChange as n, ComparisonEffect as o, Comparison as r, ComparisonEvidence as s, compare as t };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Mr as PluginFactoryTypeLambda, Nr as PluginFactoryTypeProvider, _r as Plugin,
|
|
1
|
+
import { Mr as PluginFactoryTypeLambda, Nr as PluginFactoryTypeProvider, _r as Plugin, w_ as Range } from "./tx-only-D8lpB-sT.js";
|
|
2
2
|
import * as Y from "yjs";
|
|
3
3
|
//#region src/yjs/core/editor-adapter.d.ts
|
|
4
4
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as EditorEffectHistoryReplayResult, $a as createEditor, $c as InsertBreakCommand, $f as JsonEditorValue, $g as NodeTextsOptions, $m as SchemaDescendant, $n as EditorValueFromPlugins, $p as EditorSchemaValidationPropertyContext, $s as AnchorDeletionPolicy, $t as EditorStateRangesApi, A as EditorCommandPlace, A_ as LeafPosition, Ac as TransferEdge, Ag as NodeChildEntry, Ah as SchemaPropertyLandingPolicy, Al as NodeRemoveNodesOptions, Am as PropertyOptionsOf, An as EditorTransactionRecordsApi, Ap as EditorSchemaContractChange, Ar as PluginDependencyReference, At as EditorReadInput, B as EditorCoreUpdateMethods, B_ as EditorJsonValue, Bc as TransferRelation, Bg as NodeInterface, Bh as SchemaTextProperties, Bl as RangeDirection, Bm as SchemaBuiltInGroupName, Bn as EditorUniqueHolder, Bp as diffEditorSchemaContracts, Br as PluginReadContext, Bt as EditorSchemaGetProperty, C as EditorCommandAroundHandler, C_ as PathAncestorsOptions, Cc as TransferRead, Cg as DescendantEntryOf, Ch as SchemaPropertyCopyPolicy, Cl as NodeDuplicateOptions, Cm as EditorSchemaUnknownPolicy, Cn as EditorTransactionChangesApi, Cr as PluginCapabilities, Ct as EditorNodesReadOptions, Cu as PropertyBuilderApi, D as EditorCommandDispatch, D_ as BaseText, Dc as TransferAdoptInput, Dg as Node, Dh as SchemaPropertyHandleValue, Dl as NodeMergeNodesOptions, Dm as PropertyJsonDescriptor, Dn as EditorTransactionMarksApi, Dr as PluginDefinition, Dt as EditorReadAroundHandler, Du as target, E as EditorCommandDescriptor, E_ as PathLevelsOptions, Ec as editorReads, Eg as ElementEntryOf, Eh as SchemaPropertyHandle, El as NodeLiftNodesOptions, Em as PropertyEnumDescriptor, En as EditorTransactionFragmentApi, Er as PluginContributionInput, Et as EditorRead, Eu as schema, F as EditorCommitContext, F_ as TextApi, Fc as TransferOutcome, Fg as NodeEntryIn, Fh as SchemaRecordSet, Fl as NodeUnwrapNodesOptions, Fm as PropertyValueDescriptor, Fn as EditorTransactionSpecBuilder, Fp as EditorSchemaContractElement, Fr as PluginInput, Fs as mapEffect, Ft as EditorReadResult, G as EditorDocumentValue, Gc as TransferVeto, Gd as SliceLanding, Gg as NodeNodesOptions, Gh as SchemaTypesTarget, Gl as TextUnit, Gm as SchemaContentPrefixSlot, Gn as EditorUpdatePolicy, Gr as PluginReference, Gs as screenReaderAnnouncementEffect, Gt as EditorSelectionTargetOptions, H as EditorDirectCommandDispatch, Hc as TransferSideInput, Hg as NodeLevelsOptions, Hh as SchemaTextPropertyDefinition, Hi as getSelection, Hl as SelectionEdge, Hm as SchemaContentDefault, Hn as EditorUpdateAnnotation, Hr as PluginReadFactoryContext, Ht as EditorSchemaReadProperty, I as EditorCommitHandler, I_ as TextEqualsOptions, Ic as TransferPatch, Ig as NodeEntryOf, Ih as SchemaRootNames, Il as NodeWrapNodesOptions, Im as PropertyValueKind, In as EditorTransactionTagsApi, Ip as EditorSchemaContractRoot, It as EditorReplaceChildrenOptions, J as EditorEffectCollabEncodeContext, Ja as PluginsFromOptions, Jc as AddMarkCommand, Jd as EditorSelectorDependencies, Jg as NodeTextRangeEntry, Jm as SchemaContentRootInput, Jn as EditorUpdateTagInput, Jp as restoreEditorSchemaContract, Jr as PluginTypeProvider, Js as PluginSlotValue, Jt as EditorStateField, K as EditorEffect, Kc as TransferVetoInput, Kd as SliceLandingInput, Kg as NodeOf, Kh as SchemaValue, Kl as TextUnitAdjustment, Km as SchemaContentRoot, Kn as EditorUpdatePolicyFor, Kp as readEditorSchemaContract, Kr as PluginSlotLike, Ks as defineStateField, Kt as EditorSliceReadOptions, L as EditorCommitListener, L_ as TextIn, Lc as TransferPatchProperties, Lg as NodeFindTextRangesOptions, Lh as SchemaTarget, Ll as LeafEdge, Lm as PropertyValueOf, Ln as EditorTransactionTextApi, Lr as PluginMigrationContext, Lt as EditorReplaceNodeOptions, M as EditorCommit, M_ as MarksIn, Mc as TransferIntent, Md as setEditorViewing, Mg as NodeDescendantsOptions, Mh as SchemaPropertyRole, Ml as NodeSetNodesOptions, Mm as PropertySetOptions, Mn as EditorTransactionRootsApi, Mp as EditorSchemaContractContentProgram, Ms as defineEffect, Mt as EditorReadMethodTree, N as EditorCommitChangeKind, N_ as MarksOf, Nc as TransferLandingInput, Ng as NodeElementsOptions, Nh as SchemaPropertySplitPolicy, Nl as NodeSplitNodesOptions, Nm as PropertyStringDescriptor, Nn as EditorTransactionSelectionApi, Np as EditorSchemaContractContentRoot, Ns as defineUpdateAnnotation, Nt as EditorReadMethods, O as EditorCommandHandler, O_ as BooleanMarkKeysOf, Oc as TransferCheck, Od as setEditorReadOnly, Og as NodeAncestorsOptions, Oh as SchemaPropertyIds, Ol as NodeMoveNodesOptions, Om as PropertyJsonOptions, On as EditorTransactionNodesApi, Or as PluginDefinitionInput, Ot as EditorReadContext, P as EditorCommitChanged, P_ as Text, Pc as TransferLandingTarget, Pg as NodeEntry, Ph as SchemaPropertyTypeChangePolicy, Pl as NodeUnsetNodesOptions, Pm as PropertyValidation, Pn as EditorTransactionSliceApi, Pp as EditorSchemaContractDiff, Ps as invertEffect, Pt as EditorReadRegistration, Q as EditorEffectHistoryReplayContext, Qc as EditorCommands, Qg as NodeTextRangeView, Qm as SchemaContentRule, Qn as EditorUpdateValueFromPlugin, Qp as EditorSchemaValidationDiagnostic, Qr as PluginUpdateFactoryContext, Qs as AnchorAssociation, Qt as EditorStatePointsApi, R as EditorCommitRuntimeChangeKind, R_ as TextInterface, Rc as TransferPayload, Rg as NodeHasPropsOptions, Rh as SchemaText, Rl as MaximizeMode, Rm as PropertyValueOptions, Rn as EditorTransactionTopLevelRange, Rr as PluginPoint, Rt as EditorRootEntry, S as EditorCommand, S_ as Path, Sc as TransferPlugin, Sg as DescendantEntryIn, Sh as SchemaProperty, Sl as BlockDuplicateOptions, Sm as EditorSchemaStructureProperty, Sn as EditorTransactionChanged, Sr as PluginCandidateEditor, St as EditorNodesOptions, Su as definePluginPoint, T as EditorCommandContinuation, T_ as PathInterface, Tc as transferVeto, Tg as DescendantOf, Th as SchemaPropertyExclusiveGroup, Tl as NodeInsertSplitOptions, Tm as PropertyBooleanDescriptor, Tn as EditorTransactionEffectsApi, Tr as PluginContribution, Tt as EditorPreviousOptions, Tu as property, Uc as TransferSourceInput, Uf as DocumentChange, Ug as NodeMatch, Uh as SchemaTextPropertyKeys, Ul as SelectionMode, Um as SchemaContentInput, Un as EditorUpdateContext, Ur as PluginReadMiddlewareFactory, Ut as EditorSchemaVocabulary, V as EditorCoreUpdateTransaction, Vc as TransferSide, Vg as NodeIsNodeOptions, Vh as SchemaTextProperty, Vl as RangeMode, Vm as SchemaContent, Vn as EditorUpdate, Vr as PluginReadFactory, Vs as encodeEditorEffect, Vt as EditorSchemaPropertyReadOptions, W as EditorDocumentRecords, Wc as TransferTarget, Wg as NodeMatchPredicate, Wh as SchemaTextPropertyOptions, Wl as TextDirection, Wm as SchemaContentOptions, Wn as EditorUpdateMethods, Wr as PluginReconfigureOptions, Ws as valueCodecs, Wt as EditorSelectionBlockOptions, Wu as documentReplacement, X as EditorEffectCollabTransport, Xa as compileEditorSchemaContract, Xc as DeleteCommand, Xg as NodeTextRangeQuery, Xm as SchemaContentRootSlotsFor, Xp as EditorSchemaValidationError, Xr as PluginTypes, Xt as EditorStateMarksApi, Y as EditorEffectCollabReplay, Yc as CollapseSelectionCommand, Yd as EditorSelectorDependency, Yg as NodeTextRangeMatch, Yh as EditorSchemaSource, Ym as SchemaContentRootOwnership, Yn as EditorUpdateTransaction, Ys as definePluginSlot, Yt as EditorStateFragmentApi, Z as EditorEffectHistoryKind, Zc as DeleteFragmentCommand, Zd as EditorViewStateDependency, Zg as NodeTextRangeRoot, Zm as SchemaContentRootStructure, Zp as EditorSchemaValidationCode, Zr as PluginUpdateFactory, Zs as Anchor, Zt as EditorStateNodesApi, _ as EditorAboveOptions, __ as BasePoint, _g as AncestorOf, _h as SchemaGroup, _i as TransactionSpec, _l as TextRemoveTextOptions, _m as EditorSchemaProperty, _n as EditorTransactionAnnotationsApi, _r as Plugin, _t as EditorNodeChangeHandler, a as txLocate, a_ as TextEntryOf, ag as ElementIn, ah as SchemaElementProperties, ai as SerializedEditorSelection, al as RemoveNodesCommand, am as EditorSchemaDefinition, an as EditorStateUniqueApi, ap as Selection, ar as HistoryApi, b as EditorBreakExitOptions, b_ as PointEntry, bc as authoredVeto, bg as Descendant, bh as SchemaKeyPrefix, bi as WithNodeTarget, bl as SelectionMutationMethods, bm as EditorSchemaPropertyQuery, bn as EditorTransactionChangeContext, br as PluginApiFactoryContext, c_ as RangeApi, cg as ElementOf, ch as SchemaElementPropertyDefinition, ci as SnapshotInput, cl as SetNodesCommand, cm as EditorSchemaElement, cn as EditorStateViewApi, cp as SelectionValue, cr as HistoryRecordResult, ct as EditorInstalledUpdateGroups, d as BlockInsertOptions, d_ as Location, dg as ReadDescendant, dh as SchemaElementPropertyValue, di as StateFieldHistoryPolicy, dl as ToggleMarkCommand, dm as EditorSchemaElementStructure, dn as EditorTextChangeContext, dp as DecorationAttributes, dr as InitialValue, dt as EditorLifecycleError, e_ as NodeTypeSelector, ec as AnchorOptions, eh as SchemaElement, ei as PluginsOf, el as InsertNodesCommand, em as DerivedEditorSchemaIdentity, en as EditorStateRuntimeApi, ep as JsonNode, er as EditorValuePersistence, et as EditorEffectType, eu as defineCommand, f as CompatibleEditorCommand, f_ as LocationApi, fg as ReadElement, fh as SchemaElementShapeFor, fi as StateFieldInitial, fl as editorCommands, fm as EditorSchemaIdentity, fn as EditorTextChangeHandler, fp as DecorationRefresh, fr as NamedRootKey, ft as EditorLifecycleErrorSink, g as Editor, g_ as SpanInterface, gc as nodeWriteVeto, gg as AncestorIn, gh as SchemaElementTypes, gi as TopLevelRuntimeRange, gl as TextMutationMethods, gm as EditorSchemaPlugin, gn as EditorTransactionAnchorApi, gr as PlacedTarget, gt as EditorNodeChangeContext, h as DefinitionOf, h_ as SpanApi, hc as NodeWriteVetoInput, hg as AncestorEntryOf, hh as SchemaElementTarget, hi as TextTarget, hl as TextInsertTextOptions, hm as EditorSchemaOverrideInput, hn as EditorTransactionAnchor, hr as PersistedDocumentInput, ht as EditorNextOptions, i as locateAt, i_ as TextEntryIn, ic as ReadonlyAnchor, ig as ElementEntry, ih as SchemaElementInput, ii as SerializedEditorEffect, il as RemoveMarkCommand, im as EditorSchemaDeclaration, in as EditorStateTextApi, ip as NodeSelectionMode, ir as ElementIdTarget, it as EditorFragmentReadOptions, j as EditorCommandResult, j_ as MarkKeysOf, jc as TransferInput, jg as NodeChildrenOptions, jh as SchemaPropertyReferences, jl as NodeReplaceChildrenOptions, jm as PropertySetDescriptor, jn as EditorTransactionRemoved, jp as EditorSchemaContractChangeKind, jt as EditorReadMethodRecord, ju as getEditorRuntimeOwner, k as EditorCommandInput, k_ as BooleanMarksOf, kc as TransferDiagnostic, kg as NodeApi, kh as SchemaPropertyKey, kl as NodeMutationMethods, km as PropertyNumberDescriptor, kn as EditorTransactionPluginsApi, kp as EditorSchemaContract, kt as EditorReadDescriptor, l_ as RangeEdgesOptions, lc as AuthoredDocumentProjection, lg as ElementOrTextIn, lh as SchemaElementPropertyKeys, li as StateFieldCollabPolicy, ll as SetSelectionCommand, lm as EditorSchemaElementOverride, lo as setDebugValueScrubber, lp as TextSelection, lr as HistoryResult, lt as EditorIsEditorOptions, m as CreateEditorOptions, m_ as Span, mc as NodeWriteVeto, mg as AncestorEntry, mh as SchemaElementStructure, mi as TargetFreshnessRequest, ml as TextInsertFragmentOptions, mm as EditorSchemaOverride, mn as EditorToggleMarkOptions, mr as NodeTarget, mt as EditorMarksOf, n as TxMethodDeclarations, n_ as ReadNode, na as isEditor, nc as EditorDocumentRange, ng as Element, nh as SchemaElementFor, ni as ReadValue, nl as InsertTextCommand, nm as EditorSchemaContentRoot, nn as EditorStateSelectionApi, np as EditorSelection, nr as EditorView, nt as EditorElementEntry, o as txOnly, o_ as BaseRange, og as ElementInterface, oh as SchemaElementPropertiesFor, oi as SerializedEditorValue, ol as ReplaceSliceCommand, om as EditorSchemaDelta, on as EditorStateValueApi, op as SelectionApi, or as HistoryOutcome, ot as EditorInstalledApiGroups, ou as defineEditorSchema, p_ as LocationInterface, pg as Ancestor, ph as SchemaElementSlicePolicy, pi as StateFieldValueInput, pl as TextDeleteOptions, pm as EditorSchemaNamedDefinition, pn as EditorToggleBlockOptions, pp as DecorationSource, pr as NodeKey, pt as EditorMarks, q as EditorEffectCollabDecodeContext, qa as EditorValueFromOptions, qc as TransferWrap, qd as SliceLandingTarget, qg as NodeProps, qh as SchemaValueFromPlugins, qm as SchemaContentRootContribution, qn as EditorUpdateTag, qo as createEditorView, qs as PluginSlot, qt as EditorSnapshot, r as TxOnlyMethod, r_ as TextEntry, rc as RangeAnchorAssociation, rg as ElementApi, rh as SchemaElementHandle, ri as RootKey, rl as MoveSelectionCommand, rm as EditorSchemaContribution, rn as EditorStateSliceApi, rp as NodeSelection, rr as EditorViewOptions, rt as EditorFragmentDeletionOptions, s as txSelection, s_ as Range, sc as ContentSlice, sg as ElementIsElementOptions, sh as SchemaElementProperty, si as SnapshotIndex, sl as SelectCommand, sm as EditorSchemaDerivedDefinition, sn as EditorStateView, so as DebugValueScrubber, sp as SelectionAssociation, sr as HistoryRecordOptions, st as EditorInstalledReadGroups, su as definePlugin, t as TxDeclaredMethod, t_ as ReadAncestor, tc as AnchorValue, tg as BaseElement, th as SchemaElementConstructionPropertiesFor, ti as ProjectedRangeSegment, tl as InsertSoftBreakCommand, tm as EditorSchemaContent, tn as EditorStateSchemaApi, tt as EditorElementBehavior, tu as PluginPublicationError, u_ as RangeInterface, uc as AuthoredProjectionDiagnostic, ug as ElementOrTextOf, uh as SchemaElementPropertyOptions, ui as StateFieldDescriptor, ul as ToggleBlockCommand, um as EditorSchemaElementOverrideInput, un as EditorTargetRuntime, up as Decoration, ur as HistorySettlement, ut as EditorLevelsOptions, v as EditorBlockOptions, v_ as Point, vc as AuthoredTouch, vg as BaseNode, vh as SchemaGroupNames, vi as Value, vl as SelectionCollapseOptions, vm as EditorSchemaPropertyOverride, vn as EditorTransactionBlocksApi, vr as PluginActivationContext, vt as EditorNodeChangeKind, w_ as PathApi, wc as transfer, wg as DescendantIn, wh as SchemaPropertyDefinition, wl as NodeInsertNodesOptions, wm as NamedEditorSchemaIdentity, wn as EditorTransactionDocumentChangeKind, wr as PluginCleanupContext, wt as EditorParentOptions, x as EditorCanonicalUpdateTag, x_ as PointInterface, xc as TransferApi, xg as DescendantEntry, xh as SchemaPluginsOf, xl as SelectionSetPointOptions, xm as EditorSchemaRepairCode, xn as EditorTransactionChangeHandler, xr as PluginCandidateContext, xt as EditorNodeUnsetOptions, y as EditorBlockToggleOptions, y_ as PointApi, yc as AuthoredVeto, yg as ChildOf, yh as SchemaGroupOptions, yi as ValueOf, yl as SelectionMoveOptions, ym as EditorSchemaPropertyOverrideInput, yn as EditorTransactionBreakApi, yr as PluginApiFactory, yt as EditorNodeGetOptions, z as EditorCoreStateView, z_ as TextOf, zc as TransferRefusalReason, zg as NodeIn, zh as SchemaTextBlockOptions, zl as MoveUnit, zm as SchemaBlockContentOptions, zn as EditorTransactionValueApi, zr as PluginPortal, zs as decodeEditorEffect, zt as EditorRootOwner } from "./tx-only-1FM45FSj.js";
|
|
1
|
+
import { $ as EditorEffectHistoryReplayResult, $_ as TextEqualsOptions, $a as createEditor, $c as TransferRefusalReason, $g as NodeEntryOf, $h as SchemaRootNames, $l as MoveUnit, $m as PropertyValueKind, $n as EditorValueFromPlugins, $p as EditorSchemaContractRoot, $s as decodeEditorEffect, $t as EditorStateRangesApi, A as EditorCommandPlace, A_ as LocationInterface, Ac as nodeWriteVeto, Ag as Ancestor, Ah as SchemaElementSlicePolicy, Al as TextMutationMethods, Am as EditorSchemaNamedDefinition, An as EditorTransactionRecordsApi, Ap as DecorationSource, Ar as PluginDependencyReference, At as EditorReadInput, B as EditorCoreUpdateMethods, B_ as PathAncestorsOptions, Bc as editorReads, Bg as DescendantEntryOf, Bh as SchemaPropertyCopyPolicy, Bl as NodeLiftNodesOptions, Bm as EditorSchemaUnknownPolicy, Bn as EditorUniqueHolder, Br as PluginReadContext, Bt as EditorSchemaGetProperty, Bu as target, C as EditorCommandAroundHandler, C_ as BaseRange, Cc as AuthoredDocumentProjection, Cg as ElementInterface, Ch as SchemaElementPropertiesFor, Cl as SetSelectionCommand, Cm as EditorSchemaDelta, Cn as EditorTransactionChangesApi, Cp as SelectionApi, Cr as PluginCapabilities, Ct as EditorNodesReadOptions, D as EditorCommandDispatch, D_ as RangeInterface, Dg as ElementOrTextOf, Dh as SchemaElementPropertyOptions, Dl as TextDeleteOptions, Dm as EditorSchemaElementOverrideInput, Dn as EditorTransactionMarksApi, Dp as Decoration, Dr as PluginDefinition, Dt as EditorReadAroundHandler, E as EditorCommandDescriptor, E_ as RangeEdgesOptions, Eg as ElementOrTextIn, Eh as SchemaElementPropertyKeys, El as editorCommands, Em as EditorSchemaElementOverride, En as EditorTransactionFragmentApi, Ep as TextSelection, Er as PluginContributionInput, Et as EditorRead, F as EditorCommitContext, F_ as Point, Fc as TransferApi, Fg as BaseNode, Fh as SchemaGroupNames, Fl as SelectionSetPointOptions, Fm as EditorSchemaPropertyOverride, Fn as EditorTransactionSpecBuilder, Fr as PluginInput, Ft as EditorReadResult, Fu as definePluginPoint, G as EditorDocumentValue, G_ as BooleanMarkKeysOf, Gc as TransferInput, Gg as NodeAncestorsOptions, Gh as SchemaPropertyIds, Gl as NodeReplaceChildrenOptions, Gm as PropertyJsonOptions, Gn as EditorUpdatePolicy, Gr as PluginReference, Gt as EditorSelectionTargetOptions, H as EditorDirectCommandDispatch, H_ as PathInterface, Hc as TransferCheck, Hd as setEditorReadOnly, Hg as DescendantOf, Hh as SchemaPropertyExclusiveGroup, Hi as getSelection, Hl as NodeMoveNodesOptions, Hm as PropertyBooleanDescriptor, Hn as EditorUpdateAnnotation, Hr as PluginReadFactoryContext, Ht as EditorSchemaReadProperty, I as EditorCommitHandler, I_ as PointApi, Ic as TransferPlugin, Ig as ChildOf, Ih as SchemaGroupOptions, Il as BlockDuplicateOptions, Im as EditorSchemaPropertyOverrideInput, In as EditorTransactionTagsApi, It as EditorReplaceChildrenOptions, Iu as PropertyBuilderApi, J as EditorEffectCollabEncodeContext, J_ as MarkKeysOf, Ja as PluginsFromOptions, Jc as TransferLandingTarget, Jg as NodeChildrenOptions, Jh as SchemaPropertyReferences, Jl as NodeUnsetNodesOptions, Jm as PropertySetDescriptor, Jn as EditorUpdateTagInput, Jp as EditorSchemaContractChangeKind, Jr as PluginTypeProvider, Js as invertEffect, Jt as EditorStateField, K as EditorEffect, K_ as BooleanMarksOf, Kc as TransferIntent, Kd as setEditorViewing, Kg as NodeApi, Kh as SchemaPropertyKey, Kl as NodeSetNodesOptions, Km as PropertyNumberDescriptor, Kn as EditorUpdatePolicyFor, Kp as EditorSchemaContract, Kr as PluginSlotLike, Ks as defineEffect, Kt as EditorSliceReadOptions, L as EditorCommitListener, L_ as PointEntry, Lc as TransferRead, Lg as Descendant, Lh as SchemaKeyPrefix, Ll as NodeDuplicateOptions, Lm as EditorSchemaPropertyQuery, Ln as EditorTransactionTextApi, Lr as PluginMigrationContext, Lt as EditorReplaceNodeOptions, M as EditorCommit, M_ as SpanApi, Mc as AuthoredTouch, Mg as AncestorEntryOf, Mh as SchemaElementTarget, Ml as SelectionCollapseOptions, Mm as EditorSchemaOverrideInput, Mn as EditorTransactionRootsApi, Mt as EditorReadMethodTree, N as EditorCommitChangeKind, N_ as SpanInterface, Nc as AuthoredVeto, Ng as AncestorIn, Nh as SchemaElementTypes, Nl as SelectionMoveOptions, Nm as EditorSchemaPlugin, Nn as EditorTransactionSelectionApi, Nt as EditorReadMethods, O as EditorCommandHandler, O_ as Location, Oc as NodeWriteVeto, Og as ReadDescendant, Oh as SchemaElementPropertyValue, Ol as TextInsertFragmentOptions, Om as EditorSchemaElementStructure, On as EditorTransactionNodesApi, Op as DecorationAttributes, Or as PluginDefinitionInput, Ot as EditorReadContext, P as EditorCommitChanged, P_ as BasePoint, Pc as authoredVeto, Pg as AncestorOf, Ph as SchemaGroup, Pl as SelectionMutationMethods, Pm as EditorSchemaProperty, Pn as EditorTransactionSliceApi, Pt as EditorReadRegistration, Q as EditorEffectHistoryReplayContext, Q_ as TextApi, Qc as TransferPayload, Qg as NodeEntryIn, Qh as SchemaRecordSet, Ql as MaximizeMode, Qm as PropertyValueDescriptor, Qn as EditorUpdateValueFromPlugin, Qp as EditorSchemaContractElement, Qr as PluginUpdateFactoryContext, Qt as EditorStatePointsApi, R as EditorCommitRuntimeChangeKind, R_ as PointInterface, Rc as transfer, Rf as defineCommand, Rg as DescendantEntry, Rh as SchemaPluginsOf, Rl as NodeInsertNodesOptions, Rm as EditorSchemaRepairCode, Rn as EditorTransactionTopLevelRange, Rr as PluginPoint, Rt as EditorRootEntry, Ru as property, S as EditorCommand, S_ as TextEntryOf, Sg as ElementIn, Sh as SchemaElementProperties, Sl as SetNodesCommand, Sm as EditorSchemaDefinition, Sn as EditorTransactionChanged, Sp as Selection, Sr as PluginCandidateEditor, St as EditorNodesOptions, T as EditorCommandContinuation, T_ as RangeApi, Tg as ElementOf, Th as SchemaElementPropertyDefinition, Tl as ToggleMarkCommand, Tm as EditorSchemaElement, Tn as EditorTransactionEffectsApi, Tp as SelectionValue, Tr as PluginContribution, Tt as EditorPreviousOptions, U_ as PathLevelsOptions, Uc as TransferDiagnostic, Ug as ElementEntryOf, Uh as SchemaPropertyHandle, Ul as NodeMutationMethods, Um as PropertyEnumDescriptor, Un as EditorUpdateContext, Ur as PluginReadMiddlewareFactory, Ut as EditorSchemaVocabulary, V as EditorCoreUpdateTransaction, V_ as PathApi, Vc as TransferAdoptInput, Vg as DescendantIn, Vh as SchemaPropertyDefinition, Vl as NodeMergeNodesOptions, Vm as NamedEditorSchemaIdentity, Vn as EditorUpdate, Vr as PluginReadFactory, Vt as EditorSchemaPropertyReadOptions, W as EditorDocumentRecords, W_ as BaseText, Wc as TransferEdge, Wg as Node, Wh as SchemaPropertyHandleValue, Wl as NodeRemoveNodesOptions, Wm as PropertyJsonDescriptor, Wn as EditorUpdateMethods, Wr as PluginReconfigureOptions, Wt as EditorSelectionBlockOptions, Wu as getEditorRuntimeOwner, X as EditorEffectCollabTransport, X_ as MarksOf, Xa as compileEditorSchemaContract, Xc as TransferPatch, Xg as NodeElementsOptions, Xh as SchemaPropertySplitPolicy, Xl as NodeWrapNodesOptions, Xm as PropertyStringDescriptor, Xp as EditorSchemaContractContentRoot, Xr as PluginTypes, Xt as EditorStateMarksApi, Y as EditorEffectCollabReplay, Y_ as MarksIn, Yc as TransferOutcome, Yg as NodeDescendantsOptions, Yh as SchemaPropertyRole, Yl as NodeUnwrapNodesOptions, Ym as PropertySetOptions, Yn as EditorUpdateTransaction, Yp as EditorSchemaContractContentProgram, Ys as mapEffect, Yt as EditorStateFragmentApi, Z as EditorEffectHistoryKind, Z_ as Text, Zc as TransferPatchProperties, Zg as NodeEntry, Zh as SchemaPropertyTypeChangePolicy, Zl as LeafEdge, Zm as PropertyValidation, Zp as EditorSchemaContractDiff, Zr as PluginUpdateFactory, Zt as EditorStateNodesApi, _ as EditorAboveOptions, __ as NodeTypeSelector, _c as RangeAnchorAssociation, _h as SchemaElement, _i as TransactionSpec, _l as MoveSelectionCommand, _m as DerivedEditorSchemaIdentity, _n as EditorTransactionAnnotationsApi, _p as JsonNode, _r as Plugin, _t as EditorNodeChangeHandler, a as txLocate, a_ as NodeLevelsOptions, ac as screenReaderAnnouncementEffect, af as SliceLanding, ag as SchemaTextPropertyDefinition, ah as SchemaContentDefault, ai as SerializedEditorSelection, al as TransferVeto, an as EditorStateUniqueApi, ar as HistoryApi, au as TextUnit, b as EditorBreakExitOptions, b_ as TextEntry, bg as ElementApi, bh as SchemaElementHandle, bi as WithNodeTarget, bl as ReplaceSliceCommand, bm as EditorSchemaContribution, bn as EditorTransactionChangeContext, bp as NodeSelection, br as PluginApiFactoryContext, bu as definePlugin, c_ as NodeNodesOptions, cc as PluginSlotValue, cf as EditorSelectorDependencies, cg as SchemaTypesTarget, ch as SchemaContentPrefixSlot, ci as SnapshotInput, cl as AddMarkCommand, cn as EditorStateViewApi, cr as HistoryRecordResult, ct as EditorInstalledUpdateGroups, d as BlockInsertOptions, d_ as NodeTextRangeEntry, dc as Anchor, df as EditorViewStateDependency, dh as SchemaContentRootInput, di as StateFieldHistoryPolicy, dl as DeleteFragmentCommand, dm as restoreEditorSchemaContract, dn as EditorTextChangeContext, dr as InitialValue, dt as EditorLifecycleError, e_ as NodeFindTextRangesOptions, eg as SchemaTarget, eh as PropertyValueOf, ei as PluginsOf, el as TransferRelation, en as EditorStateRuntimeApi, er as EditorValuePersistence, et as EditorEffectType, eu as RangeDirection, ev as TextIn, f as CompatibleEditorCommand, f_ as NodeTextRangeMatch, fc as AnchorAssociation, fg as EditorSchemaSource, fh as SchemaContentRootOwnership, fi as StateFieldInitial, fl as EditorCommands, fn as EditorTextChangeHandler, fr as NamedRootKey, ft as EditorLifecycleErrorSink, g as Editor, g_ as NodeTextsOptions, gc as EditorDocumentRange, gh as SchemaDescendant, gi as TopLevelRuntimeRange, gl as InsertTextCommand, gm as EditorSchemaValidationPropertyContext, gn as EditorTransactionAnchorApi, gp as JsonEditorValue, gr as PlacedTarget, gt as EditorNodeChangeContext, h as DefinitionOf, h_ as NodeTextRangeView, hc as AnchorValue, hh as SchemaContentRule, hi as TextTarget, hl as InsertSoftBreakCommand, hm as EditorSchemaValidationDiagnostic, hn as EditorTransactionAnchor, hr as PersistedDocumentInput, ht as EditorNextOptions, i as locateAt, i_ as NodeIsNodeOptions, ic as valueCodecs, ig as SchemaTextProperty, ih as SchemaContent, ii as SerializedEditorEffect, il as TransferTarget, in as EditorStateTextApi, ir as ElementIdTarget, it as EditorFragmentReadOptions, iu as TextDirection, j as EditorCommandResult, j_ as Span, jg as AncestorEntry, jh as SchemaElementStructure, jl as TextRemoveTextOptions, jm as EditorSchemaOverride, jn as EditorTransactionRemoved, jt as EditorReadMethodRecord, k as EditorCommandInput, k_ as LocationApi, kc as NodeWriteVetoInput, kg as ReadElement, kh as SchemaElementShapeFor, kl as TextInsertTextOptions, km as EditorSchemaIdentity, kn as EditorTransactionPluginsApi, kp as DecorationRefresh, kt as EditorReadDescriptor, l_ as NodeOf, lc as definePluginSlot, lf as EditorSelectorDependency, lg as SchemaValue, lh as SchemaContentRoot, li as StateFieldCollabPolicy, ll as CollapseSelectionCommand, lm as readEditorSchemaContract, lo as setDebugValueScrubber, lr as HistoryResult, lt as EditorIsEditorOptions, m as CreateEditorOptions, m_ as NodeTextRangeRoot, mc as AnchorOptions, mh as SchemaContentRootStructure, mi as TargetFreshnessRequest, ml as InsertNodesCommand, mm as EditorSchemaValidationCode, mn as EditorToggleMarkOptions, mr as NodeTarget, mt as EditorMarksOf, mu as PluginPublicationError, n as TxMethodDeclarations, n_ as NodeIn, na as isEditor, ng as SchemaTextBlockOptions, nh as SchemaBlockContentOptions, ni as ReadValue, nl as TransferSideInput, nn as EditorStateSelectionApi, nr as EditorView, nt as EditorElementEntry, nu as SelectionEdge, nv as TextOf, o as txOnly, o_ as NodeMatch, oc as defineStateField, of as SliceLandingInput, og as SchemaTextPropertyKeys, oh as SchemaContentInput, oi as SerializedEditorValue, ol as TransferVetoInput, on as EditorStateValueApi, op as DocumentChange, or as HistoryOutcome, ot as EditorInstalledApiGroups, ou as TextUnitAdjustment, p_ as NodeTextRangeQuery, pc as AnchorDeletionPolicy, ph as SchemaContentRootSlotsFor, pi as StateFieldValueInput, pl as InsertBreakCommand, pm as EditorSchemaValidationError, pn as EditorToggleBlockOptions, pr as NodeKey, pt as EditorMarks, q as EditorEffectCollabDecodeContext, q_ as LeafPosition, qa as EditorValueFromOptions, qc as TransferLandingInput, qg as NodeChildEntry, qh as SchemaPropertyLandingPolicy, ql as NodeSplitNodesOptions, qm as PropertyOptionsOf, qn as EditorUpdateTag, qp as EditorSchemaContractChange, qs as defineUpdateAnnotation, qt as EditorSnapshot, r as TxOnlyMethod, r_ as NodeInterface, rd as documentReplacement, rg as SchemaTextProperties, rh as SchemaBuiltInGroupName, ri as RootKey, rl as TransferSourceInput, rm as diffEditorSchemaContracts, rn as EditorStateSliceApi, rr as EditorViewOptions, rt as EditorFragmentDeletionOptions, ru as SelectionMode, rv as EditorJsonValue, s as txSelection, s_ as NodeMatchPredicate, sc as PluginSlot, sf as SliceLandingTarget, sg as SchemaTextPropertyOptions, sh as SchemaContentOptions, si as SnapshotIndex, sl as TransferWrap, sn as EditorStateView, so as DebugValueScrubber, sr as HistoryRecordOptions, ss as createEditorView, st as EditorInstalledReadGroups, t as TxDeclaredMethod, t_ as NodeHasPropsOptions, tc as encodeEditorEffect, tg as SchemaText, th as PropertyValueOptions, ti as ProjectedRangeSegment, tl as TransferSide, tn as EditorStateSchemaApi, tt as EditorElementBehavior, tu as RangeMode, tv as TextInterface, u_ as NodeProps, ug as SchemaValueFromPlugins, uh as SchemaContentRootContribution, ui as StateFieldDescriptor, ul as DeleteCommand, un as EditorTargetRuntime, ur as HistorySettlement, ut as EditorLevelsOptions, v as EditorBlockOptions, v_ as ReadAncestor, vc as ReadonlyAnchor, vg as BaseElement, vh as SchemaElementConstructionPropertiesFor, vi as Value, vl as RemoveMarkCommand, vm as EditorSchemaContent, vn as EditorTransactionBlocksApi, vr as PluginActivationContext, vt as EditorNodeChangeKind, w_ as Range, wc as AuthoredProjectionDiagnostic, wg as ElementIsElementOptions, wh as SchemaElementProperty, wl as ToggleBlockCommand, wm as EditorSchemaDerivedDefinition, wn as EditorTransactionDocumentChangeKind, wp as SelectionAssociation, wr as PluginCleanupContext, wt as EditorParentOptions, x as EditorCanonicalUpdateTag, x_ as TextEntryIn, xc as ContentSlice, xg as ElementEntry, xh as SchemaElementInput, xl as SelectCommand, xm as EditorSchemaDeclaration, xn as EditorTransactionChangeHandler, xp as NodeSelectionMode, xr as PluginCandidateContext, xt as EditorNodeUnsetOptions, y as EditorBlockToggleOptions, y_ as ReadNode, yg as Element, yh as SchemaElementFor, yi as ValueOf, yl as RemoveNodesCommand, ym as EditorSchemaContentRoot, yn as EditorTransactionBreakApi, yp as EditorSelection, yr as PluginApiFactory, yt as EditorNodeGetOptions, yu as defineEditorSchema, z as EditorCoreStateView, z_ as Path, zc as transferVeto, zg as DescendantEntryIn, zh as SchemaProperty, zl as NodeInsertSplitOptions, zm as EditorSchemaStructureProperty, zn as EditorTransactionValueApi, zr as PluginPortal, zt as EditorRootOwner, zu as schema } from "./tx-only-D8lpB-sT.js";
|
|
2
2
|
export { type AddMarkCommand, Ancestor, AncestorEntry, AncestorEntryOf, AncestorIn, AncestorOf, type Anchor, type AnchorAssociation, type AnchorDeletionPolicy, type AnchorOptions, type AnchorValue, type AuthoredDocumentProjection, type AuthoredProjectionDiagnostic, type AuthoredTouch, type AuthoredVeto, BaseElement, BaseNode, BasePoint, BaseRange, BaseText, type BlockDuplicateOptions, type BlockInsertOptions, BooleanMarkKeysOf, BooleanMarksOf, ChildOf, type CollapseSelectionCommand, type CompatibleEditorCommand, ContentSlice, type CreateEditorOptions, type DebugValueScrubber, type Decoration, type DecorationAttributes, type DecorationRefresh, type DecorationSource, type DefinitionOf, type DeleteCommand, type DeleteFragmentCommand, type DerivedEditorSchemaIdentity, Descendant, DescendantEntry, DescendantEntryIn, DescendantEntryOf, DescendantIn, DescendantOf, DocumentChange, type Editor, type EditorAboveOptions, type EditorBlockOptions, type EditorBlockToggleOptions, type EditorBreakExitOptions, type EditorCanonicalUpdateTag, type EditorCommand, type EditorCommandAroundHandler, type EditorCommandContinuation, type EditorCommandDescriptor, type EditorCommandDispatch, type EditorCommandHandler, type EditorCommandInput, type EditorCommandPlace, type EditorCommandResult, type EditorCommands, type EditorCommit, type EditorCommitChangeKind, type EditorCommitChanged, type EditorCommitContext, type EditorCommitHandler, type EditorCommitListener, type EditorCommitRuntimeChangeKind, type EditorCoreStateView, type EditorCoreUpdateMethods, type EditorCoreUpdateTransaction, type EditorDirectCommandDispatch, type EditorDocumentRange, type EditorDocumentRecords, type EditorDocumentValue, type EditorEffect, type EditorEffectCollabDecodeContext, type EditorEffectCollabEncodeContext, type EditorEffectCollabReplay, type EditorEffectCollabTransport, type EditorEffectHistoryKind, type EditorEffectHistoryReplayContext, type EditorEffectHistoryReplayResult, type EditorEffectType, type EditorElementBehavior, type EditorElementEntry, type EditorFragmentDeletionOptions, type EditorFragmentReadOptions, type EditorInstalledApiGroups, type EditorInstalledReadGroups, type EditorInstalledUpdateGroups, type EditorIsEditorOptions, type EditorJsonValue, type EditorLevelsOptions, type EditorLifecycleError, type EditorLifecycleErrorSink, type EditorMarks, type EditorMarksOf, type EditorNextOptions, type EditorNodeChangeContext, type EditorNodeChangeHandler, type EditorNodeChangeKind, type EditorNodeGetOptions, type EditorNodeUnsetOptions, type EditorNodesOptions, type EditorNodesReadOptions, type EditorParentOptions, type EditorPreviousOptions, type EditorRead, type EditorReadAroundHandler, type EditorReadContext, type EditorReadDescriptor, type EditorReadInput, type EditorReadMethodRecord, type EditorReadMethodTree, type EditorReadMethods, type EditorReadRegistration, type EditorReadResult, type EditorReplaceChildrenOptions, type EditorReplaceNodeOptions, type EditorRootEntry, type EditorRootOwner, type EditorSchemaContent, type EditorSchemaContentRoot, type EditorSchemaContract, type EditorSchemaContractChange, type EditorSchemaContractChangeKind, type EditorSchemaContractContentProgram, type EditorSchemaContractContentRoot, type EditorSchemaContractDiff, type EditorSchemaContractElement, type EditorSchemaContractRoot, type EditorSchemaContribution, type EditorSchemaDeclaration, type EditorSchemaDefinition, type EditorSchemaDelta, type EditorSchemaDerivedDefinition, type EditorSchemaElement, type EditorSchemaElementOverride, type EditorSchemaElementOverrideInput, type EditorSchemaElementStructure, type EditorSchemaGetProperty, type EditorSchemaIdentity, type EditorSchemaNamedDefinition, type EditorSchemaOverride, type EditorSchemaOverrideInput, type EditorSchemaPlugin, type EditorSchemaProperty, type EditorSchemaPropertyOverride, type EditorSchemaPropertyOverrideInput, type EditorSchemaPropertyQuery, type EditorSchemaPropertyReadOptions, type EditorSchemaReadProperty, type EditorSchemaRepairCode, type EditorSchemaSource, type EditorSchemaStructureProperty, type EditorSchemaUnknownPolicy, type EditorSchemaValidationCode, type EditorSchemaValidationDiagnostic, EditorSchemaValidationError, type EditorSchemaValidationPropertyContext, type EditorSchemaVocabulary, EditorSelection, type EditorSelectionBlockOptions, type EditorSelectionTargetOptions, type EditorSelectorDependencies, type EditorSelectorDependency, type EditorSliceReadOptions, type EditorSnapshot, type EditorStateField, type EditorStateFragmentApi, type EditorStateMarksApi, type EditorStateNodesApi, type EditorStatePointsApi, type EditorStateRangesApi, type EditorStateRuntimeApi, type EditorStateSchemaApi, type EditorStateSelectionApi, type EditorStateSliceApi, type EditorStateTextApi, type EditorStateUniqueApi, type EditorStateValueApi, type EditorStateView, type EditorStateViewApi, type EditorTargetRuntime, type EditorTextChangeContext, type EditorTextChangeHandler, type EditorToggleBlockOptions, type EditorToggleMarkOptions, type EditorTransactionAnchor, type EditorTransactionAnchorApi, type EditorTransactionAnnotationsApi, type EditorTransactionBlocksApi, type EditorTransactionBreakApi, type EditorTransactionChangeContext, type EditorTransactionChangeHandler, type EditorTransactionChanged, type EditorTransactionChangesApi, type EditorTransactionDocumentChangeKind, type EditorTransactionEffectsApi, type EditorTransactionFragmentApi, type EditorTransactionMarksApi, type EditorTransactionNodesApi, type EditorTransactionPluginsApi, type EditorTransactionRecordsApi, type EditorTransactionRemoved, type EditorTransactionRootsApi, type EditorTransactionSelectionApi, type EditorTransactionSliceApi, type EditorTransactionSpecBuilder, type EditorTransactionTagsApi, type EditorTransactionTextApi, type EditorTransactionTopLevelRange, type EditorTransactionValueApi, type EditorUniqueHolder, type EditorUpdate, type EditorUpdateAnnotation, type EditorUpdateContext, type EditorUpdateMethods, type EditorUpdatePolicy, type EditorUpdatePolicyFor, type EditorUpdateTag, type EditorUpdateTagInput, type EditorUpdateTransaction, type EditorUpdateValueFromPlugin, type EditorValueFromOptions, type EditorValueFromPlugins, type EditorValuePersistence, type EditorView, type EditorViewOptions, type EditorViewStateDependency, Element, ElementApi, ElementEntry, ElementEntryOf, type ElementIdTarget, ElementIn, ElementInterface, ElementIsElementOptions, ElementOf, ElementOrTextIn, ElementOrTextOf, type HistoryApi, type HistoryOutcome, type HistoryRecordOptions, type HistoryRecordResult, type HistoryResult, type HistorySettlement, type InitialValue, type InsertBreakCommand, type InsertNodesCommand, type InsertSoftBreakCommand, type InsertTextCommand, type JsonEditorValue, type JsonNode, type LeafEdge, LeafPosition, Location, LocationApi, LocationInterface, MarkKeysOf, MarksIn, MarksOf, type MaximizeMode, type MoveSelectionCommand, type MoveUnit, type NamedEditorSchemaIdentity, type NamedRootKey, Node, NodeAncestorsOptions, NodeApi, NodeChildEntry, NodeChildrenOptions, NodeDescendantsOptions, type NodeDuplicateOptions, NodeElementsOptions, NodeEntry, NodeEntryIn, NodeEntryOf, NodeFindTextRangesOptions, NodeHasPropsOptions, NodeIn, type NodeInsertNodesOptions, type NodeInsertSplitOptions, NodeInterface, NodeIsNodeOptions, type NodeKey, NodeLevelsOptions, type NodeLiftNodesOptions, NodeMatch, NodeMatchPredicate, type NodeMergeNodesOptions, type NodeMoveNodesOptions, type NodeMutationMethods, NodeNodesOptions, NodeOf, NodeProps, type NodeRemoveNodesOptions, type NodeReplaceChildrenOptions, NodeSelection, NodeSelectionMode, type NodeSetNodesOptions, type NodeSplitNodesOptions, type NodeTarget, NodeTextRangeEntry, NodeTextRangeMatch, NodeTextRangeQuery, NodeTextRangeRoot, NodeTextRangeView, NodeTextsOptions, NodeTypeSelector, type NodeUnsetNodesOptions, type NodeUnwrapNodesOptions, type NodeWrapNodesOptions, type NodeWriteVeto, type NodeWriteVetoInput, Path, PathAncestorsOptions, PathApi, PathInterface, PathLevelsOptions, type PersistedDocumentInput, type PlacedTarget, type Plugin, type PluginActivationContext, type PluginApiFactory, type PluginApiFactoryContext, type PluginCandidateContext, type PluginCandidateEditor, type PluginCapabilities, type PluginCleanupContext, type PluginContribution, type PluginContributionInput, type PluginDefinition, type PluginDefinitionInput, type PluginDependencyReference, type PluginInput, type PluginMigrationContext, type PluginPoint, type PluginPortal, PluginPublicationError, type PluginReadContext, type PluginReadFactory, type PluginReadFactoryContext, type PluginReadMiddlewareFactory, type PluginReconfigureOptions, type PluginReference, type PluginSlot, type PluginSlotLike, type PluginSlotValue, type PluginTypeProvider, type PluginTypes, type PluginUpdateFactory, type PluginUpdateFactoryContext, type PluginsFromOptions, type PluginsOf, Point, PointApi, PointEntry, PointInterface, type ProjectedRangeSegment, type PropertyBooleanDescriptor, type PropertyBuilderApi, type PropertyEnumDescriptor, type PropertyJsonDescriptor, type PropertyJsonOptions, type PropertyNumberDescriptor, type PropertyOptionsOf, type PropertySetDescriptor, type PropertySetOptions, type PropertyStringDescriptor, type PropertyValidation, type PropertyValueDescriptor, type PropertyValueKind, type PropertyValueOf, type PropertyValueOptions, Range, type RangeAnchorAssociation, RangeApi, type RangeDirection, RangeEdgesOptions, RangeInterface, type RangeMode, ReadAncestor, ReadDescendant, ReadElement, ReadNode, type ReadValue, type ReadonlyAnchor, type RemoveMarkCommand, type RemoveNodesCommand, type ReplaceSliceCommand, type RootKey, type SchemaBlockContentOptions, type SchemaBuiltInGroupName, type SchemaContent, type SchemaContentDefault, type SchemaContentInput, type SchemaContentOptions, type SchemaContentPrefixSlot, type SchemaContentRoot, type SchemaContentRootContribution, type SchemaContentRootInput, type SchemaContentRootOwnership, type SchemaContentRootSlotsFor, type SchemaContentRootStructure, type SchemaContentRule, type SchemaDescendant, type SchemaElement, type SchemaElementConstructionPropertiesFor, type SchemaElementFor, type SchemaElementHandle, type SchemaElementInput, type SchemaElementProperties, type SchemaElementPropertiesFor, type SchemaElementProperty, type SchemaElementPropertyDefinition, type SchemaElementPropertyKeys, type SchemaElementPropertyOptions, type SchemaElementPropertyValue, type SchemaElementShapeFor, type SchemaElementSlicePolicy, type SchemaElementStructure, type SchemaElementTarget, type SchemaElementTypes, type SchemaGroup, type SchemaGroupNames, type SchemaGroupOptions, type SchemaKeyPrefix, type SchemaPluginsOf, type SchemaProperty, type SchemaPropertyCopyPolicy, type SchemaPropertyDefinition, type SchemaPropertyExclusiveGroup, type SchemaPropertyHandle, type SchemaPropertyHandleValue, type SchemaPropertyIds, type SchemaPropertyKey, type SchemaPropertyLandingPolicy, type SchemaPropertyReferences, type SchemaPropertyRole, type SchemaPropertySplitPolicy, type SchemaPropertyTypeChangePolicy, type SchemaRecordSet, type SchemaRootNames, type SchemaTarget, type SchemaText, type SchemaTextBlockOptions, type SchemaTextProperties, type SchemaTextProperty, type SchemaTextPropertyDefinition, type SchemaTextPropertyKeys, type SchemaTextPropertyOptions, type SchemaTypesTarget, type SchemaValue, type SchemaValueFromPlugins, type SelectCommand, Selection, SelectionApi, SelectionAssociation, type SelectionCollapseOptions, type SelectionEdge, type SelectionMode, type SelectionMoveOptions, type SelectionMutationMethods, type SelectionSetPointOptions, SelectionValue, type SerializedEditorEffect, type SerializedEditorSelection, type SerializedEditorValue, type SetNodesCommand, type SetSelectionCommand, type SliceLanding, type SliceLandingInput, type SliceLandingTarget, type SnapshotIndex, type SnapshotInput, Span, SpanApi, SpanInterface, type StateFieldCollabPolicy, type StateFieldDescriptor, type StateFieldHistoryPolicy, type StateFieldInitial, type StateFieldValueInput, type TargetFreshnessRequest, Text, TextApi, type TextDeleteOptions, type TextDirection, TextEntry, TextEntryIn, TextEntryOf, TextEqualsOptions, TextIn, type TextInsertFragmentOptions, type TextInsertTextOptions, TextInterface, type TextMutationMethods, TextOf, type TextRemoveTextOptions, TextSelection, type TextTarget, type TextUnit, type TextUnitAdjustment, type ToggleBlockCommand, type ToggleMarkCommand, type TopLevelRuntimeRange, type TransactionSpec, type TransferAdoptInput, type TransferApi, type TransferCheck, type TransferDiagnostic, type TransferEdge, type TransferInput, type TransferIntent, type TransferLandingInput, type TransferLandingTarget, type TransferOutcome, type TransferPatch, type TransferPatchProperties, type TransferPayload, type TransferPlugin, type TransferRead, type TransferRefusalReason, type TransferRelation, type TransferSide, type TransferSideInput, type TransferSourceInput, type TransferTarget, type TransferVeto, type TransferVetoInput, type TransferWrap, type TxDeclaredMethod, type TxMethodDeclarations, type TxOnlyMethod, type Value, type ValueOf, type WithNodeTarget, authoredVeto, compileEditorSchemaContract, createEditor, createEditorView, decodeEditorEffect, defineCommand, defineEditorSchema, defineEffect, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, getEditorRuntimeOwner, invertEffect, isEditor, locateAt, mapEffect, nodeWriteVeto, property, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema, screenReaderAnnouncementEffect, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, transfer, transferVeto, txLocate, txOnly, txSelection, valueCodecs };
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { $r as mapEffect, Jr as valueCodecs, Lr as decodeEditorEffect, Qr as invertEffect, Xr as defineEffect, Zr as defineUpdateAnnotation, hi as PathApi, ii as PointApi, n as DocumentChange, ni as LocationApi, ri as SpanApi, ti as RangeApi, zr as encodeEditorEffect } from "./law-check-Bvnz2EKh.js";
|
|
2
|
+
import { A as definePluginSlot, Bu as diffEditorSchemaContracts, Cd as definePluginPoint, Ct as isEditor, D as property, Dd as ElementApi, Ed as SelectionApi, Hd as defineCommand, Is as locateAt, Ld as getEditorRuntimeOwner, Ls as txLocate, O as schema, Qu as readEditorSchemaContract, Rs as txOnly, V as NodeApi, Yc as ContentSlice, _i as setEditorReadOnly, c as defineEditorSchema, co as editorReads, es as createEditorView, jd as TextApi, jn as documentReplacement, k as target, kd as setDebugValueScrubber, l as definePlugin, lt as getSelection, mn as editorCommands, pu as nodeWriteVeto, t as PluginPublicationError, td as restoreEditorSchemaContract, ud as EditorSchemaValidationError, xi as setEditorViewing, zs as txSelection } from "./plugin-B8uCi-Hr.js";
|
|
3
|
+
import { f as transferVeto, i as transfer, t as defineStateField } from "./src--BZ7fZY4.js";
|
|
4
|
+
import { a as createEditor, g as screenReaderAnnouncementEffect, n as compileEditorSchemaContract } from "./create-editor-kU8fg-PF.js";
|
|
5
|
+
import { t as authoredVeto } from "./authored-veto-DLmBMIcy.js";
|
|
5
6
|
export { ContentSlice, DocumentChange, EditorSchemaValidationError, ElementApi, LocationApi, NodeApi, PathApi, PluginPublicationError, PointApi, RangeApi, SelectionApi, SpanApi, TextApi, authoredVeto, compileEditorSchemaContract, createEditor, createEditorView, decodeEditorEffect, defineCommand, defineEditorSchema, defineEffect, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, getEditorRuntimeOwner, invertEffect, isEditor, locateAt, mapEffect, nodeWriteVeto, property, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema, screenReaderAnnouncementEffect, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, transfer, transferVeto, txLocate, txOnly, txSelection, valueCodecs };
|
package/dist/internal/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $d as commitMatchesSelectorDependencies, $h as SchemaNodeTypeProvider, $i as install, $l as probeCommandNativeEquivalent, $o as readShownElementById, $r as PluginWitnessFor, $u as getCurrentSelectionRoot, Aa as reset, Ad as setEditorStateViewTransform, Af as withStoredAuthoredRead, Ai as deselect, Ao as serializeStructuralPlainText, As as readEditorOptions, Au as getEditorRuntime, Ba as toggleMark, Bd as setTargetRuntime, Bf as getPluginContributions, Bi as getPathByNodeKey, Bo as getReaderRange, Bs as decodeVersionedValue, Bu as afterActiveTransactionEnds, Ca as projectRange, Cd as setCurrentMarks, Cf as configureAuthoredView, Co as mapSemanticUpdateMethodArguments, Cp as CompiledSchemaContentProgram, Cs as readingCovered, Da as removeNodes, Dd as setEditorMaxLength, Df as readAuthoredView, Di as deleteEditor, Do as StructuralPlainTextEncodeContext, Dp as CompiledSchemaTargetContext, Ds as failInvariant, Ea as removeMark, Ef as getViewCommitSource, Eo as StructuralPlainTextDiagnostic, Ep as CompiledSchemaPropertyMergeStrategy, Es as resetEditorCommitPublicationQueue, Fa as shouldMergeNodesRemovePrevNode, Fd as subscribeSharedEditorViewState, Ff as landNodePropertiesAt, Fo as assertPublicRootKey, Fu as EditorViewStateFacts, Ga as voidEditor, Gf as getInternalDocumentChangeClassification, Gi as hasInlines, Go as startOwnedEditor, Gp as preserveCompiledSchemaPropertyIdentity, Gu as fitSliceChildren, Ha as unsetNodes, Hd as holdsCaret, Hf as inheritPluginRegistry, Ho as setDOMClipboardFormatKey, Hp as getCompiledPropertyMergeStrategy, Hs as encodeVersionedValue, Hu as attachTransactionSpecAfterCommit, Ia as splitNodes, Id as viewStateFactsChanged, If as placeElementAt, Ii as getCollabEffects, Io as toInternalRoot, Ir as PluginInstalledCapabilitiesOf, Is as areEditorJsonValuesEqual, Iu as ElementPropertyWrite, Jf as getInternalDocumentChangeRootKeys, Jh as EditorSchemaPluginProvider, Jl as EditorCommandNativeProbe, Jo as getCarriedCaretEditor, Ju as getActiveEditorUpdateId, Ka as wrapNodes, Kf as getInternalDocumentChangeClassificationEntries, Ki as hasPath, Ko as createAuthoredEditorView, Ku as fitSlicePlacements, Ld as withEditorDocumentProjection, Li as getFragment, Lo as toPublicRoot, Lp as EditorSchemaContributionRecord, Ls as assertEditorJsonValue, Lu as InternalSliceChildrenTarget, Ma as setNodes, Mf as canPlaceBlocksAtPath, Mi as elementReadOnly, Mo as callPluginUpdateMethod, Mr as PluginFactoryTypeLambda, Mu as getEditorRuntimeRoot, Na as setPoint, Nd as subscribeCaretTarget, Nf as createDetachedEditorSchema, Ni as first, No as resolvePluginMethod, Nr as PluginFactoryTypeProvider, Nu as hasEditorRuntime, Of as readAuthoredViewKey, Oo as StructuralPlainTextEncoder, Op as EditorSchemaCompileError, Ou as InternalCompiledPluginPublicationEntry, Pa as setSelection, Pd as subscribeEditorViewState, Pf as getCompiledEditorSchemaFromApi, Pi as fragment, Po as createEditorReadApi, Pr as PluginFactoryTypeProviderOf, Pu as setEditorRuntime, Qa as createDormantEditor, Qd as NormalizedSelectorDependencies, Qf as normalizeSetValues, Qh as SchemaElementInNode, Ql as hasCommandHandler, Qo as readShownDocument, Qu as getCurrentMarks, Ra as subscribeSource, Rd as withEditorUpdateRootScope, Ri as getLastCommit, Ro as MAIN_ROOT_KEY, Rp as EditorSchemaDiagnostic, Rs as cloneEditorJsonValue, Ru as InternalSlicePlacement, Sa as previous, Sd as setChildren, Sf as getEditorCommitValue, Si as addMark, So as rejectEditorRecord, Sp as CompiledSchemaConstructionPlan, Ss as observeAnchorStateWork, Ta as read, Td as setEditorComposing, Tf as getAuthoredViewCommit, Ti as collapse, To as projectRangeInSnapshot, Tp as CompiledSchemaProperty, Ts as publishEditorCommitInVersionOrder, U as EditorDirectUpdate, Ua as unwrapNodes, Ud as setSelectionAsView, Uo as EditorOwner, Up as getCompiledSchemaPropertyId, Us as snapshotEditorJsonValue, Uu as didCommitChangePersistedValue, Vd as getCaretOwner, Vf as getPluginRegistry, Vi as getPluginRegistry$1, Vp as getCompiledPropertyCandidates, Vu as applyBuiltDocumentChange, Wa as update, Wd as InternalEditorRuntimeElementEntry, Wf as createInternalRootChangeFromSections, Wi as hasBlocks, Wo as createEditorOwner, Wp as matchesCompiledSchemaTarget, Xd as EditorViewStateBucket, Xf as mapInternalDocumentChangePoint, Xh as EditorSchemaSourceProvider, Xi as insertNodes, Xl as evaluateCommand, Xn as EditorUpdateTransactionOf, Xo as getViewPresentation, Xs as getPluginSlotInput, Xu as getCollabEffectTypes, Ya as compileEditorSchemaCapabilityEntries, Yf as hasInternalDocumentChangeRoot, Yi as insertNode, Yl as dispatchCommand, Yo as getViewAuthor, Yp as tracksPlaces, Yr as PluginTypeProviderOf, Yu as getActiveEditorUpdateTags, Za as compileEditorSchemaContractEntries, Zf as mapInternalDocumentChangePosition, Zh as SchemaDescendantInValue, Zi as insertSoftBreak, Zl as getActiveCommandEditor, Zn as EditorUpdateTransactionProvider, Zo as projectEditorView, Zu as getCommitDocumentValue, _a as next, _c as vetoesWrite, _d as recordEditorHistoryEffect, _f as onPresentationRelease, _o as isEnvelopeInput, _p as getValueRecords, _s as readRootEntries, _u as startEditor, aa as isEnd, ac as getAnchorRuntimeId, ad as getEditorUpdateRoot, af as selectorDependenciesWantShownPreview, ao as readDocumentRange, as as getDocumentChangeRelocations, at as EditorGenericMethod, au as containsCompleteEditorSchema, ba as point, bd as runTrustedUpdate, bf as getEditorCommitNode, bo as readPersistedEnvelope, bp as recordSetIds, bs as readCoreWork, bt as EditorNodeTypeProvider, bu as reportEditorLifecycleError, c as txStored, ca as isStart, cc as createDetachedContentSlice, cd as getLiveText, cf as markRootViewUsed, co as formatDebugValue, cs as completePersistedDocumentFields, cu as getCandidatePluginApi, da as leaf, dd as getStateFieldEffectTypes, df as readRootViewContentUse, do as withDocumentViewRead, ds as decodeEditorSelection, du as getInstalledPluginApi, ed as getEditorMaxLength, ef as normalizeSelectorDependencies, eg as SchemaTextInNode, eo as getEditorAuthoredDocumentCapability, es as readShownRecords, fa as levels, fc as NativeAuthoredDocumentCapability, fd as hasEditorRuntimeRoot, ff as readRootViewUse, fo as EDITOR_DOCUMENT_FIELDS, fs as encodeEditorSelection, fu as isPlugin, ga as moveNodes, gd as readElementPropertyWrites, gf as getStateViewPresentation, go as getEditorDocumentShapeIssueMessage, gp as getRecordSetVersion, gs as sameResult, gu as setPluginPortalFactory, hd as readEditorViewStateFacts, hf as ViewPresentation, ho as assertEditorDocumentContainers, hp as canonicalRecordJson, hs as getTextSearchScope, hu as resolveInstalledPlugin, ia as isEmpty, id as getEditorStateView, if as selectorDependenciesWantCommits, io as withPliteReactPreservedSelection, is as DocumentChangeRelocation, iu as compilePluginInput, ja as select, jd as setEditorTransactionViewTransform, jf as InternalEditorSchemaApi, ji as edges, jo as exportContentSlice, jr as PluginDependencyReferenceFor, js as createEditorEffect, ka as replaceChildren, kd as setEditorSnapshotInputTransform, kf as readShownPreview, ki as deleteFragment, ko as StructuralPlainTextResult, kr as PluginDependencyContractReference, ks as assertEditorOptions, ku as InternalPluginPublicationEntry, l as AnyEditor, la as isVoid, ld as getMutationVersion, lf as readCaretViewIn, ln as EditorStateViewProvider, ls as assertDetachedSelectionSupported, lu as getCompiledEditorConfiguration, ma as mergeNodes, md as readEditorCommitHistoryEntry, mf as subscribeShownViewUse, mo as EditorRecordIssue, mp as RecordSetVersion, ms as mapDetachedSelectionThroughChange, mu as releaseEditor, nd as getEditorRuntimeElementEntries, nf as selectorDependenciesSubscriptionKey, no as initializePlugins, ns as retainViewPresentation, nu as brandPluginDescriptor, oa as isInline, oc as restoreAnchor, od as getLiveNode, of as selectorDependenciesWantViewKind, oo as isObject, os as getExactDocumentChangeRelocation, pa as liftNodes, pc as isAuthorId, pd as isEditorPublishingCommit, pf as readShownViewUse, po as EditorDocumentShapeIssue, ps as getSelectionDOMRange, pu as queueAfterPluginAcquisition, qf as getInternalDocumentChangeRanges, qi as hasTexts, ql as EditorCommandEvaluation, qp as resolveCompiledSchemaProperty, qr as PluginTypeLambda, qu as getActiveEditorTransaction, ra as isElementReadOnly, rd as getEditorRuntimeRootKeys, rf as selectorDependenciesViewSubscription, ro as withCompiledEditorSchemaCapabilityEntries, rs as withMountedPresentation, ru as compilePlugin, sa as isSelectable, sf as markRootViewInteraction, ss as getExactDocumentChangeRelocations, ta as isEdge, td as getEditorNodeKeyForNode, tf as sameSelectorDependencies, to as initializePluginEntries, tp as getNodeKeyDOMValue, tr as EditorValueTypeProvider, ts as readViewPage, u as BaseEditor, ua as last, ud as getSnapshotVersion, uf as readRootContentTarget, uo as isDocumentView, us as assertSelectionSupported, uu as getInstalledPlugin, va as parent, vd as registerEditorTransactionGuard, vf as claimsHistoryReplay, vo as readDocumentRecord, vp as readRecord, vs as CoreWork, vu as withPluginPortalCandidates, w as EditorCommandContext, wa as range, wd as setCurrentSelection, wf as getAuthoredUpdateView, wo as EditorRefusalError, wp as CompiledSchemaElement, ws as createEditorCommitPublicationQueue, wu as getSchemaElementSourceReference, xd as scheduleAfterCommitNotification, xf as getEditorCommitSnapshot, xi as above, xo as readStoredEditorDocument, xp as CompiledEditorSchema, xs as AnchorStateWork, xu as runEditorObserver, ya as path, yd as repairEditorValue, yf as getDocumentValueNode, yo as readEditorDocument, yp as recordSetChanges, ys as countCoreWork, yu as notifyObservers, za as toggleBlock, zd as withTransactionSpecDraftRead, zf as getCompiledEditorSchema, zi as getNodeKey, zo as getRangeRoot, zp as compileEditorSchemaContributions, zu as SharedViewStateSubscription } from "../tx-only-1FM45FSj.js";
|
|
2
|
-
export { type AnchorStateWork, type AnyEditor, type BaseEditor, type CompiledEditorSchema, type CompiledSchemaConstructionPlan, type CompiledSchemaContentProgram, type CompiledSchemaElement, type CompiledSchemaProperty, type CompiledSchemaPropertyMergeStrategy, type CompiledSchemaTargetContext, type CoreWork, type DocumentChangeRelocation, EDITOR_DOCUMENT_FIELDS, type EditorCommandContext, type EditorCommandEvaluation, type EditorCommandNativeProbe, type EditorDirectUpdate, type EditorDocumentShapeIssue, type EditorGenericMethod, type EditorNodeTypeProvider, type EditorOwner, type EditorRecordIssue, EditorRefusalError, EditorSchemaCompileError, type EditorSchemaContributionRecord, type EditorSchemaDiagnostic, type EditorSchemaPluginProvider, type EditorSchemaSourceProvider, type EditorStateViewProvider, type EditorUpdateTransactionOf, type EditorUpdateTransactionProvider, type EditorValueTypeProvider, type EditorViewStateBucket, type EditorViewStateFacts, type ElementPropertyWrite, type InternalCompiledPluginPublicationEntry, type InternalEditorRuntimeElementEntry, type InternalEditorSchemaApi, type InternalPluginPublicationEntry, type InternalSliceChildrenTarget, type InternalSlicePlacement, MAIN_ROOT_KEY, type NativeAuthoredDocumentCapability, type NormalizedSelectorDependencies, type PluginDependencyContractReference, type PluginDependencyReferenceFor, type PluginFactoryTypeLambda, type PluginFactoryTypeProvider, type PluginFactoryTypeProviderOf, type PluginInstalledCapabilitiesOf, type PluginTypeLambda, type PluginTypeProviderOf, type PluginWitnessFor, type RecordSetVersion, type SchemaDescendantInValue, type SchemaElementInNode, type SchemaNodeTypeProvider, type SchemaTextInNode, type SharedViewStateSubscription, type StructuralPlainTextDiagnostic, type StructuralPlainTextEncodeContext, type StructuralPlainTextEncoder, type StructuralPlainTextResult, type ViewPresentation, above, addMark, afterActiveTransactionEnds, applyBuiltDocumentChange, areEditorJsonValuesEqual, assertDetachedSelectionSupported, assertEditorDocumentContainers, assertEditorJsonValue, assertEditorOptions, assertPublicRootKey, assertSelectionSupported, attachTransactionSpecAfterCommit, brandPluginDescriptor, callPluginUpdateMethod, canPlaceBlocksAtPath, canonicalRecordJson, claimsHistoryReplay, cloneEditorJsonValue, collapse, commitMatchesSelectorDependencies, compileEditorSchemaCapabilityEntries, compileEditorSchemaContractEntries, compileEditorSchemaContributions, compilePlugin, compilePluginInput, completePersistedDocumentFields, configureAuthoredView, containsCompleteEditorSchema, countCoreWork, createAuthoredEditorView, createDetachedContentSlice, createDetachedEditorSchema, createDormantEditor, createEditorCommitPublicationQueue, createEditorEffect, createEditorOwner, createEditorReadApi, createInternalRootChangeFromSections, decodeEditorSelection, decodeVersionedValue, deleteEditor as delete, deleteFragment, deselect, didCommitChangePersistedValue, dispatchCommand, edges, elementReadOnly, encodeEditorSelection, encodeVersionedValue, evaluateCommand, exportContentSlice, failInvariant, first, fitSliceChildren, fitSlicePlacements, formatDebugValue, fragment, getActiveCommandEditor, getActiveEditorTransaction, getActiveEditorUpdateId, getActiveEditorUpdateTags, getAnchorRuntimeId, getAuthoredUpdateView, getAuthoredViewCommit, getCandidatePluginApi, getCaretOwner, getCarriedCaretEditor, getCollabEffectTypes, getCollabEffects, getCommitDocumentValue, getCompiledEditorConfiguration, getCompiledEditorSchema, getCompiledEditorSchemaFromApi, getCompiledPropertyCandidates, getCompiledPropertyMergeStrategy, getCompiledSchemaPropertyId, getDocumentChangeRelocations, getDocumentValueNode, getEditorAuthoredDocumentCapability, getEditorCommitNode, getEditorCommitSnapshot, getEditorCommitValue, getCurrentMarks as getEditorCurrentMarks, getEditorDocumentShapeIssueMessage, getLiveNode as getEditorLiveNode, getLiveText as getEditorLiveText, getEditorMaxLength, getEditorNodeKeyForNode, getEditorRuntime, getEditorRuntimeElementEntries, getEditorRuntimeRoot, getEditorRuntimeRootKeys, getCurrentSelectionRoot as getEditorSelectionRoot, getEditorStateView, getEditorUpdateRoot, getExactDocumentChangeRelocation, getExactDocumentChangeRelocations, getFragment, getInstalledPlugin, getInstalledPluginApi, getInternalDocumentChangeClassification, getInternalDocumentChangeClassificationEntries, getInternalDocumentChangeRanges, getInternalDocumentChangeRootKeys, getPluginRegistry as getInternalPluginRegistry, getLastCommit, getMutationVersion, getNodeKey, getNodeKeyDOMValue, getPathByNodeKey, getPluginContributions, getPluginRegistry$1 as getPluginRegistry, getPluginSlotInput, getRangeRoot, getReaderRange, getRecordSetVersion, getSchemaElementSourceReference, getSelectionDOMRange, getSnapshotVersion, getStateFieldEffectTypes, getStateViewPresentation, getTextSearchScope, getValueRecords, getViewAuthor, getViewCommitSource, getViewPresentation, hasBlocks, hasCommandHandler, hasEditorRuntime, hasEditorRuntimeRoot, hasInlines, hasInternalDocumentChangeRoot, hasPath, hasTexts, holdsCaret, inheritPluginRegistry, initializePluginEntries, initializePlugins, insertNode, insertNodes, insertSoftBreak, install, isAuthorId, isDocumentView, isEdge, isEditorPublishingCommit, isElementReadOnly, isEmpty, isEnd, isEnvelopeInput, isInline, isObject, isPlugin, isSelectable, isStart, isVoid, landNodePropertiesAt, last, leaf, levels, liftNodes, mapDetachedSelectionThroughChange, mapInternalDocumentChangePoint, mapInternalDocumentChangePosition, mapSemanticUpdateMethodArguments, markRootViewInteraction, markRootViewUsed, matchesCompiledSchemaTarget, mergeNodes, moveNodes, next, normalizeSelectorDependencies, normalizeSetValues, notifyObservers, observeAnchorStateWork, onPresentationRelease, parent, path, placeElementAt, point, preserveCompiledSchemaPropertyIdentity, previous, probeCommandNativeEquivalent, projectEditorView, projectRange, projectRangeInSnapshot, publishEditorCommitInVersionOrder, queueAfterPluginAcquisition, range, read, readAuthoredView, readAuthoredViewKey, readCaretViewIn, readCoreWork, readDocumentRange, readDocumentRecord, readEditorCommitHistoryEntry, readEditorDocument, readEditorOptions, readEditorViewStateFacts, readElementPropertyWrites, readPersistedEnvelope, readRecord, readRootContentTarget, readRootEntries, readRootViewContentUse, readRootViewUse, readShownDocument, readShownElementById, readShownPreview, readShownRecords, readShownViewUse, readStoredEditorDocument, readViewPage, readingCovered, recordEditorHistoryEffect, recordSetChanges, recordSetIds, registerEditorTransactionGuard, rejectEditorRecord, releaseEditor, removeMark, removeNodes, repairEditorValue, replaceChildren, reportEditorLifecycleError, reset, resetEditorCommitPublicationQueue, resolveCompiledSchemaProperty, resolveInstalledPlugin, resolvePluginMethod, restoreAnchor, retainViewPresentation, runEditorObserver, runTrustedUpdate, sameResult, sameSelectorDependencies, scheduleAfterCommitNotification, select, selectorDependenciesSubscriptionKey, selectorDependenciesViewSubscription, selectorDependenciesWantCommits, selectorDependenciesWantShownPreview, selectorDependenciesWantViewKind, serializeStructuralPlainText, setDOMClipboardFormatKey, setChildren as setEditorChildren, setEditorComposing, setCurrentMarks as setEditorMarks, setEditorMaxLength, setEditorRuntime, setCurrentSelection as setEditorSelection, setEditorSnapshotInputTransform, setEditorStateViewTransform, setTargetRuntime as setEditorTargetRuntime, setEditorTransactionViewTransform, setNodes, setPluginPortalFactory, setPoint, setSelection, setSelectionAsView, shouldMergeNodesRemovePrevNode, snapshotEditorJsonValue, splitNodes, startEditor, startOwnedEditor, subscribeCaretTarget, subscribeEditorViewState, subscribeSharedEditorViewState, subscribeShownViewUse, subscribeSource, toInternalRoot, toPublicRoot, toggleBlock, toggleMark, tracksPlaces, txStored, unsetNodes, unwrapNodes, update, vetoesWrite, viewStateFactsChanged, voidEditor as void, withCompiledEditorSchemaCapabilityEntries, withDocumentViewRead, withEditorDocumentProjection, withEditorUpdateRootScope, withMountedPresentation, withPliteReactPreservedSelection, withPluginPortalCandidates, withStoredAuthoredRead, withTransactionSpecDraftRead, wrapNodes };
|
|
1
|
+
import { $d as withTransactionSpecDraftRead, $f as placeElementAt, $i as install, $o as getRangeRoot, $r as PluginWitnessFor, $u as afterActiveTransactionEnds, Aa as reset, Ad as recordEditorHistoryEffect, Af as getStateViewPresentation, Ai as deselect, Ao as NonWritableRootPredicate, As as sameResult, Au as startEditor, Ba as toggleMark, Bf as configureAuthoredView, Bi as getPathByNodeKey, Bo as StructuralPlainTextDiagnostic, Bp as CompiledSchemaContentProgram, Bs as resetEditorCommitPublicationQueue, Ca as projectRange, Cd as getSnapshotVersion, Cf as readCaretViewIn, Co as mapSemanticUpdateMethodArguments, Cs as assertDetachedSelectionSupported, Cu as getInstalledPlugin, Da as removeNodes, Dc as isAuthorId, Dd as readEditorCommitHistoryEntry, Df as readShownViewUse, Di as deleteEditor, Do as readCommitRootIndex, Ds as getSelectionDOMRange, Du as releaseEditor, Ea as removeMark, Ec as NativeAuthoredDocumentCapability, Ed as isEditorPublishingCommit, Ef as readRootViewUse, Eo as DocumentChangeSection, Es as encodeEditorSelection, Eu as queueAfterPluginAcquisition, Fa as shouldMergeNodesRemovePrevNode, Fd as scheduleAfterCommitNotification, Ff as getEditorCommitNode, Fo as nonWritableRoot, Fp as readRecord, Fs as AnchorStateWork, Ga as voidEditor, Gd as setEditorTransactionViewTransform, Gf as readAuthoredViewKey, Gi as hasInlines, Go as exportContentSlice, Gp as EditorSchemaCompileError, Gs as createEditorEffect, Gu as getEditorRuntimeRoot, Ha as unsetNodes, Hf as getAuthoredViewCommit, Ho as StructuralPlainTextEncoder, Hp as CompiledSchemaProperty, Hu as InternalPluginPublicationEntry, Ia as splitNodes, Id as setChildren, If as getEditorCommitSnapshot, Ii as getCollabEffects, Io as EditorRefusalError, Ip as recordSetChanges, Ir as PluginInstalledCapabilitiesOf, Is as observeAnchorStateWork, Jd as subscribeEditorViewState, Jf as InternalEditorSchemaApi, Jo as createEditorReadApi, Ju as EditorViewStateFacts, Ka as wrapNodes, Kf as readShownPreview, Ki as hasPath, Ko as callPluginUpdateMethod, Ku as hasEditorRuntime, Ld as setCurrentMarks, Lf as getEditorCommitValue, Li as getFragment, Lo as publishEditorRefusal, Lp as recordSetIds, Ls as readingCovered, Lu as getSchemaElementSourceReference, Ma as setNodes, Md as repairEditorValue, Mf as isEditorDraftView, Mi as elementReadOnly, Mo as hasNonWritableContributors, Mp as canonicalRecordJson, Mr as PluginFactoryTypeLambda, Ms as CoreWork, Mu as notifyObservers, Na as setPoint, Nd as resolveLocationRoot, Nf as claimsHistoryReplay, Ni as first, No as isElementNonWritable, Np as getRecordSetVersion, Nr as PluginFactoryTypeProvider, Ns as countCoreWork, Nu as reportEditorLifecycleError, Od as readEditorViewStateFacts, Of as subscribeShownViewUse, Oo as visitDocumentChangeSections, Os as mapDetachedSelectionThroughChange, Ou as resolveInstalledPlugin, Pa as setSelection, Pd as runTrustedUpdate, Pf as getDocumentValueNode, Pi as fragment, Po as nonWritableContent, Pp as getValueRecords, Pr as PluginFactoryTypeProviderOf, Ps as readCoreWork, Pu as runEditorObserver, Qa as createDormantEditor, Qd as withEditorUpdateRootScope, Qf as landNodePropertiesAt, Qo as MAIN_ROOT_KEY, Qs as cloneEditorJsonValue, Qu as SharedViewStateSubscription, Ra as subscribeSource, Rd as setCurrentSelection, Ri as getLastCommit, Ro as subscribeEditorRefusals, Rp as CompiledEditorSchema, Rs as createEditorCommitPublicationQueue, Sa as previous, Sc as createDetachedContentSlice, Sd as getMutationVersion, Sf as markRootViewUsed, Si as addMark, So as rejectEditorRecord, Ss as completePersistedDocumentFields, Su as getCompiledEditorConfiguration, Ta as read, Td as hasEditorRuntimeRoot, Tf as readRootViewContentUse, Ti as collapse, To as skipHistoryIfOnlyProperties, Ts as decodeEditorSelection, Tu as isPlugin, U as EditorDirectUpdate, Ua as unwrapNodes, Ud as setEditorSnapshotInputTransform, Uf as getViewCommitSource, Uo as StructuralPlainTextResult, Up as CompiledSchemaPropertyMergeStrategy, Us as assertEditorOptions, Uu as getEditorRuntime, Vd as setEditorMaxLength, Vf as getAuthoredUpdateView, Vi as getPluginRegistry$1, Vo as StructuralPlainTextEncodeContext, Vp as CompiledSchemaElement, Vs as failInvariant, Vu as InternalCompiledPluginPublicationEntry, Wa as update, Wd as setEditorStateViewTransform, Wf as readAuthoredView, Wi as hasBlocks, Wo as serializeStructuralPlainText, Wp as CompiledSchemaTargetContext, Ws as readEditorOptions, Xd as viewStateFactsChanged, Xf as createDetachedEditorSchema, Xi as insertNodes, Xn as EditorUpdateTransactionOf, Xo as toInternalRoot, Xs as areEditorJsonValuesEqual, Xu as InternalSliceChildrenTarget, Ya as compileEditorSchemaCapabilityEntries, Yd as subscribeSharedEditorViewState, Yf as canPlaceBlocksAtPath, Yi as insertNode, Yo as assertPublicRootKey, Yr as PluginTypeProviderOf, Yu as ElementPropertyWrite, Za as compileEditorSchemaContractEntries, Zd as withEditorDocumentProjection, Zf as getCompiledEditorSchemaFromApi, Zi as insertSoftBreak, Zn as EditorUpdateTransactionProvider, Zo as toPublicRoot, Zs as assertEditorJsonValue, Zu as InternalSlicePlacement, _a as next, _d as getEditorStateView, _f as selectorDependenciesViewSubscription, _g as SchemaTextInNode, _o as isEnvelopeInput, _s as withMountedPresentation, _u as compilePluginInput, aa as isEnd, ad as fitSlicePlacements, am as getCompiledPropertyMergeStrategy, ao as readDocumentRange, as as startOwnedEditor, at as EditorGenericMethod, ba as point, bc as restoreAnchor, bf as selectorDependenciesWantViewKind, bo as readPersistedEnvelope, bs as getExactDocumentChangeRelocation, bt as EditorNodeTypeProvider, c as txStored, ca as isStart, cd as getActiveEditorUpdateTags, cm as preserveCompiledSchemaPropertyIdentity, co as formatDebugValue, cp as getInternalDocumentChangeClassification, cs as getCarriedCaretEditor, cu as EditorCommandNativeProbe, da as leaf, dd as getCurrentMarks, dg as EditorSchemaPluginProvider, do as withDocumentViewRead, dp as getInternalDocumentChangeRootKeys, ds as projectEditorView, du as getActiveCommandEditor, ec as decodeVersionedValue, ed as applyBuiltDocumentChange, ef as setTargetRuntime, em as EditorSchemaContributionRecord, eo as getEditorAuthoredDocumentCapability, ep as getCompiledEditorSchema, es as getReaderRange, fa as levels, fd as getCurrentSelectionRoot, ff as NormalizedSelectorDependencies, fm as tracksPlaces, fo as EDITOR_DOCUMENT_FIELDS, fp as hasInternalDocumentChangeRoot, fs as readShownDocument, fu as hasCommandHandler, ga as moveNodes, gd as getEditorRuntimeRootKeys, gf as selectorDependenciesSubscriptionKey, gg as SchemaNodeTypeProvider, go as getEditorDocumentShapeIssueMessage, gs as retainViewPresentation, gu as compilePlugin, hd as getEditorRuntimeElementEntries, hf as sameSelectorDependencies, hg as SchemaElementInNode, ho as assertEditorDocumentContainers, hp as normalizeSetValues, hs as readViewPage, hu as brandPluginDescriptor, ia as isEmpty, id as fitSliceChildren, if as InternalEditorRuntimeElementEntry, im as getCompiledPropertyCandidates, io as withPliteReactPreservedSelection, is as createEditorOwner, ja as select, jc as vetoesWrite, jd as registerEditorTransactionGuard, jf as onPresentationRelease, ji as edges, jo as hasNonWritableAt, jp as RecordSetVersion, jr as PluginDependencyReferenceFor, js as readRootEntries, ju as withPluginPortalCandidates, ka as replaceChildren, kd as readElementPropertyWrites, kf as ViewPresentation, ki as deleteFragment, ko as NonWritableContentPredicate, kr as PluginDependencyContractReference, ks as getTextSearchScope, ku as setPluginPortalFactory, l as AnyEditor, la as isVoid, ld as getCollabEffectTypes, ln as EditorStateViewProvider, lp as getInternalDocumentChangeClassificationEntries, ls as getViewAuthor, lu as dispatchCommand, ma as mergeNodes, md as getEditorNodeKeyForNode, mf as normalizeSelectorDependencies, mg as SchemaDescendantInValue, mo as EditorRecordIssue, mp as mapInternalDocumentChangePosition, ms as readShownRecords, nc as encodeVersionedValue, nd as didCommitChangePersistedValue, nf as holdsCaret, nm as compileEditorSchemaContributions, no as initializePlugins, np as getPluginRegistry, ns as setDOMClipboardFormatKey, oa as isInline, od as getActiveEditorTransaction, om as getCompiledSchemaPropertyId, oo as isObject, os as createAuthoredEditorView, pa as liftNodes, pd as getEditorMaxLength, pf as commitMatchesSelectorDependencies, pg as EditorSchemaSourceProvider, po as EditorDocumentShapeIssue, pp as mapInternalDocumentChangePoint, ps as readShownElementById, pu as probeCommandNativeEquivalent, qd as subscribeCaretTarget, qf as withStoredAuthoredRead, qi as hasTexts, qo as resolvePluginMethod, qr as PluginTypeLambda, qu as setEditorRuntime, ra as isElementReadOnly, rc as snapshotEditorJsonValue, rf as setSelectionAsView, ro as withCompiledEditorSchemaCapabilityEntries, rp as inheritPluginRegistry, rs as EditorOwner, sa as isSelectable, sd as getActiveEditorUpdateId, sm as matchesCompiledSchemaTarget, sp as createInternalRootChangeFromSections, su as EditorCommandEvaluation, ta as isEdge, td as attachTransactionSpecAfterCommit, tf as getCaretOwner, tm as EditorSchemaDiagnostic, to as initializePluginEntries, tp as getPluginContributions, tr as EditorValueTypeProvider, u as BaseEditor, ua as last, uc as getPluginSlotInput, ud as getCommitDocumentValue, uf as EditorViewStateBucket, um as resolveCompiledSchemaProperty, uo as isDocumentView, up as getInternalDocumentChangeRanges, us as getViewPresentation, uu as evaluateCommand, va as parent, vd as getEditorUpdateRoot, vf as selectorDependenciesWantCommits, vo as readDocumentRecord, vp as getNodeKeyDOMValue, vs as DocumentChangeRelocation, vu as containsCompleteEditorSchema, w as EditorCommandContext, wa as range, wd as getStateFieldEffectTypes, wf as readRootContentTarget, wo as shouldSkipHistoryForOnlyProperties, ws as assertSelectionSupported, wu as getInstalledPluginApi, xd as getLiveText, xf as markRootViewInteraction, xi as above, xo as readStoredEditorDocument, xs as getExactDocumentChangeRelocations, xu as getCandidatePluginApi, ya as path, yc as getAnchorRuntimeId, yd as getLiveNode, yf as selectorDependenciesWantShownPreview, yo as readEditorDocument, ys as getDocumentChangeRelocations, za as toggleBlock, zd as setEditorComposing, zf as authoredDirectProperties, zi as getNodeKey, zo as projectRangeInSnapshot, zp as CompiledSchemaConstructionPlan, zs as publishEditorCommitInVersionOrder } from "../tx-only-D8lpB-sT.js";
|
|
2
|
+
export { type AnchorStateWork, type AnyEditor, type BaseEditor, type CompiledEditorSchema, type CompiledSchemaConstructionPlan, type CompiledSchemaContentProgram, type CompiledSchemaElement, type CompiledSchemaProperty, type CompiledSchemaPropertyMergeStrategy, type CompiledSchemaTargetContext, type CoreWork, type DocumentChangeRelocation, type DocumentChangeSection, EDITOR_DOCUMENT_FIELDS, type EditorCommandContext, type EditorCommandEvaluation, type EditorCommandNativeProbe, type EditorDirectUpdate, type EditorDocumentShapeIssue, type EditorGenericMethod, type EditorNodeTypeProvider, type EditorOwner, type EditorRecordIssue, EditorRefusalError, EditorSchemaCompileError, type EditorSchemaContributionRecord, type EditorSchemaDiagnostic, type EditorSchemaPluginProvider, type EditorSchemaSourceProvider, type EditorStateViewProvider, type EditorUpdateTransactionOf, type EditorUpdateTransactionProvider, type EditorValueTypeProvider, type EditorViewStateBucket, type EditorViewStateFacts, type ElementPropertyWrite, type InternalCompiledPluginPublicationEntry, type InternalEditorRuntimeElementEntry, type InternalEditorSchemaApi, type InternalPluginPublicationEntry, type InternalSliceChildrenTarget, type InternalSlicePlacement, MAIN_ROOT_KEY, type NativeAuthoredDocumentCapability, type NonWritableContentPredicate, type NonWritableRootPredicate, type NormalizedSelectorDependencies, type PluginDependencyContractReference, type PluginDependencyReferenceFor, type PluginFactoryTypeLambda, type PluginFactoryTypeProvider, type PluginFactoryTypeProviderOf, type PluginInstalledCapabilitiesOf, type PluginTypeLambda, type PluginTypeProviderOf, type PluginWitnessFor, type RecordSetVersion, type SchemaDescendantInValue, type SchemaElementInNode, type SchemaNodeTypeProvider, type SchemaTextInNode, type SharedViewStateSubscription, type StructuralPlainTextDiagnostic, type StructuralPlainTextEncodeContext, type StructuralPlainTextEncoder, type StructuralPlainTextResult, type ViewPresentation, above, addMark, afterActiveTransactionEnds, applyBuiltDocumentChange, areEditorJsonValuesEqual, assertDetachedSelectionSupported, assertEditorDocumentContainers, assertEditorJsonValue, assertEditorOptions, assertPublicRootKey, assertSelectionSupported, attachTransactionSpecAfterCommit, authoredDirectProperties, brandPluginDescriptor, callPluginUpdateMethod, canPlaceBlocksAtPath, canonicalRecordJson, claimsHistoryReplay, cloneEditorJsonValue, collapse, commitMatchesSelectorDependencies, compileEditorSchemaCapabilityEntries, compileEditorSchemaContractEntries, compileEditorSchemaContributions, compilePlugin, compilePluginInput, completePersistedDocumentFields, configureAuthoredView, containsCompleteEditorSchema, countCoreWork, createAuthoredEditorView, createDetachedContentSlice, createDetachedEditorSchema, createDormantEditor, createEditorCommitPublicationQueue, createEditorEffect, createEditorOwner, createEditorReadApi, createInternalRootChangeFromSections, decodeEditorSelection, decodeVersionedValue, deleteEditor as delete, deleteFragment, deselect, didCommitChangePersistedValue, dispatchCommand, edges, elementReadOnly, encodeEditorSelection, encodeVersionedValue, evaluateCommand, exportContentSlice, failInvariant, first, fitSliceChildren, fitSlicePlacements, formatDebugValue, fragment, getActiveCommandEditor, getActiveEditorTransaction, getActiveEditorUpdateId, getActiveEditorUpdateTags, getAnchorRuntimeId, getAuthoredUpdateView, getAuthoredViewCommit, getCandidatePluginApi, getCaretOwner, getCarriedCaretEditor, getCollabEffectTypes, getCollabEffects, getCommitDocumentValue, getCompiledEditorConfiguration, getCompiledEditorSchema, getCompiledEditorSchemaFromApi, getCompiledPropertyCandidates, getCompiledPropertyMergeStrategy, getCompiledSchemaPropertyId, getDocumentChangeRelocations, getDocumentValueNode, getEditorAuthoredDocumentCapability, getEditorCommitNode, getEditorCommitSnapshot, getEditorCommitValue, getCurrentMarks as getEditorCurrentMarks, getEditorDocumentShapeIssueMessage, getLiveNode as getEditorLiveNode, getLiveText as getEditorLiveText, getEditorMaxLength, getEditorNodeKeyForNode, getEditorRuntime, getEditorRuntimeElementEntries, getEditorRuntimeRoot, getEditorRuntimeRootKeys, getCurrentSelectionRoot as getEditorSelectionRoot, getEditorStateView, getEditorUpdateRoot, getExactDocumentChangeRelocation, getExactDocumentChangeRelocations, getFragment, getInstalledPlugin, getInstalledPluginApi, getInternalDocumentChangeClassification, getInternalDocumentChangeClassificationEntries, getInternalDocumentChangeRanges, getInternalDocumentChangeRootKeys, getPluginRegistry as getInternalPluginRegistry, getLastCommit, getMutationVersion, getNodeKey, getNodeKeyDOMValue, getPathByNodeKey, getPluginContributions, getPluginRegistry$1 as getPluginRegistry, getPluginSlotInput, getRangeRoot, getReaderRange, getRecordSetVersion, getSchemaElementSourceReference, getSelectionDOMRange, getSnapshotVersion, getStateFieldEffectTypes, getStateViewPresentation, getTextSearchScope, getValueRecords, getViewAuthor, getViewCommitSource, getViewPresentation, hasBlocks, hasCommandHandler, hasEditorRuntime, hasEditorRuntimeRoot, hasInlines, hasInternalDocumentChangeRoot, hasNonWritableAt, hasNonWritableContributors, hasPath, hasTexts, holdsCaret, inheritPluginRegistry, initializePluginEntries, initializePlugins, insertNode, insertNodes, insertSoftBreak, install, isAuthorId, isDocumentView, isEdge, isEditorDraftView, isEditorPublishingCommit, isElementNonWritable, isElementReadOnly, isEmpty, isEnd, isEnvelopeInput, isInline, isObject, isPlugin, isSelectable, isStart, isVoid, landNodePropertiesAt, last, leaf, levels, liftNodes, mapDetachedSelectionThroughChange, mapInternalDocumentChangePoint, mapInternalDocumentChangePosition, mapSemanticUpdateMethodArguments, markRootViewInteraction, markRootViewUsed, matchesCompiledSchemaTarget, mergeNodes, moveNodes, next, nonWritableContent, nonWritableRoot, normalizeSelectorDependencies, normalizeSetValues, notifyObservers, observeAnchorStateWork, onPresentationRelease, parent, path, placeElementAt, point, preserveCompiledSchemaPropertyIdentity, previous, probeCommandNativeEquivalent, projectEditorView, projectRange, projectRangeInSnapshot, publishEditorCommitInVersionOrder, publishEditorRefusal, queueAfterPluginAcquisition, range, read, readAuthoredView, readAuthoredViewKey, readCaretViewIn, readCommitRootIndex, readCoreWork, readDocumentRange, readDocumentRecord, readEditorCommitHistoryEntry, readEditorDocument, readEditorOptions, readEditorViewStateFacts, readElementPropertyWrites, readPersistedEnvelope, readRecord, readRootContentTarget, readRootEntries, readRootViewContentUse, readRootViewUse, readShownDocument, readShownElementById, readShownPreview, readShownRecords, readShownViewUse, readStoredEditorDocument, readViewPage, readingCovered, recordEditorHistoryEffect, recordSetChanges, recordSetIds, registerEditorTransactionGuard, rejectEditorRecord, releaseEditor, removeMark, removeNodes, repairEditorValue, replaceChildren, reportEditorLifecycleError, reset, resetEditorCommitPublicationQueue, resolveCompiledSchemaProperty, resolveInstalledPlugin, resolveLocationRoot, resolvePluginMethod, restoreAnchor, retainViewPresentation, runEditorObserver, runTrustedUpdate, sameResult, sameSelectorDependencies, scheduleAfterCommitNotification, select, selectorDependenciesSubscriptionKey, selectorDependenciesViewSubscription, selectorDependenciesWantCommits, selectorDependenciesWantShownPreview, selectorDependenciesWantViewKind, serializeStructuralPlainText, setDOMClipboardFormatKey, setChildren as setEditorChildren, setEditorComposing, setCurrentMarks as setEditorMarks, setEditorMaxLength, setEditorRuntime, setCurrentSelection as setEditorSelection, setEditorSnapshotInputTransform, setEditorStateViewTransform, setTargetRuntime as setEditorTargetRuntime, setEditorTransactionViewTransform, setNodes, setPluginPortalFactory, setPoint, setSelection, setSelectionAsView, shouldMergeNodesRemovePrevNode, shouldSkipHistoryForOnlyProperties, skipHistoryIfOnlyProperties, snapshotEditorJsonValue, splitNodes, startEditor, startOwnedEditor, subscribeCaretTarget, subscribeEditorRefusals, subscribeEditorViewState, subscribeSharedEditorViewState, subscribeShownViewUse, subscribeSource, toInternalRoot, toPublicRoot, toggleBlock, toggleMark, tracksPlaces, txStored, unsetNodes, unwrapNodes, update, vetoesWrite, viewStateFactsChanged, visitDocumentChangeSections, voidEditor as void, withCompiledEditorSchemaCapabilityEntries, withDocumentViewRead, withEditorDocumentProjection, withEditorUpdateRootScope, withMountedPresentation, withPliteReactPreservedSelection, withPluginPortalCandidates, withStoredAuthoredRead, withTransactionSpecDraftRead, wrapNodes };
|