platejs 54.0.0-beta.2 → 54.0.0-beta.3
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/README.md +1 -1
- package/THIRD_PARTY_NOTICES.md +56 -0
- package/dist/{AIChatRequestContext-BMVWhfPV.d.ts → AIChatRequestContext-DY104TqL.d.ts} +2 -2
- package/dist/{BaseSuggestionPlugin-DBl3fqnm.d.ts → BaseSuggestionPlugin-Deo6n6Fs.d.ts} +7 -3
- package/dist/{PlateStatic-DhNv2ejp.d.ts → PlateStatic-CJX5bKuv.d.ts} +7 -7
- package/dist/ai/index.d.ts +1 -1
- package/dist/ai/react/AIChatPlugin.js +113 -78
- package/dist/ai/react/CopilotPlugin.js +1 -1
- package/dist/ai/react/index.d.ts +23 -16
- package/dist/authored/index.d.ts +4 -4
- package/dist/code-block/codemirror/createCodeMirrorAdapter.js +12 -9
- package/dist/code-block/codemirror/index.d.ts +1 -1
- package/dist/{combobox-DkBGgyd3.d.ts → combobox-DAOYWuvC.d.ts} +2 -2
- package/dist/{comparison-types-CYnJ35qU.d.ts → comparison-types-Dt-unJZY-DCddmbSD.d.ts} +10 -2
- package/dist/compiler/index.d.ts +2 -2
- package/dist/{core-BJG8l_mk.d.ts → core-ClHasORr.d.ts} +433 -95
- package/dist/diff/index.d.ts +2 -2
- package/dist/docs/ai.md +4 -3
- package/dist/docs/api/core/plate-components.md +0 -19
- package/dist/docs/api/core/plate-controller.md +4 -2
- package/dist/docs/api/core/plate-plugin.md +3 -0
- package/dist/docs/api/core/plate-store.md +3 -3
- package/dist/docs/api/dom.md +14 -4
- package/dist/docs/api/editor-transforms.md +2 -1
- package/dist/docs/api/react-hooks.md +25 -11
- package/dist/docs/authored-changes.md +5 -2
- package/dist/docs/basic-blocks.md +42 -29
- package/dist/docs/blockquote.md +5 -3
- package/dist/docs/board.md +63 -8
- package/dist/docs/code-block.md +47 -0
- package/dist/docs/discussion.md +1 -1
- package/dist/docs/docx.md +1 -1
- package/dist/docs/dom-coverage.md +5 -0
- package/dist/docs/examples/editable-voids.md +2 -3
- package/dist/docs/external-text.md +2 -0
- package/dist/docs/field.md +370 -0
- package/dist/docs/find.md +9 -6
- package/dist/docs/form.md +2 -0
- package/dist/docs/heading.md +6 -0
- package/dist/docs/installation/manual.md +0 -4
- package/dist/docs/link.md +3 -3
- package/dist/docs/llms.txt +4 -2
- package/dist/docs/markdown.md +176 -8
- package/dist/docs/plugin-components.md +13 -10
- package/dist/docs/plugin-input-rules.md +4 -12
- package/dist/docs/prompt-editor.md +205 -0
- package/dist/docs/roots.md +8 -6
- package/dist/docs/rtl.md +6 -4
- package/dist/docs/selection.md +7 -4
- package/dist/docs/suggestion.md +1 -1
- package/dist/docs/toolbar.md +26 -30
- package/dist/docs/upload.md +106 -17
- package/dist/docx/export/index.d.ts +3 -3
- package/dist/docx/export/lib/docxStaticComponents.js +12 -2
- package/dist/docx/export/lib/exportDocx.js +29 -5
- package/dist/docx/export/lib/reviewPart.js +1 -1
- package/dist/docx/export/lib/reviewProjection.js +10 -8
- package/dist/docx/import/index.d.ts +4 -4
- package/dist/docx/paste/index.d.ts +4 -4
- package/dist/dom/index.d.ts +1 -6
- package/dist/dom/plite-dom.internal.js +2 -2
- package/dist/excalidraw/index.d.ts +3 -2
- package/dist/excalidraw/react/index.d.ts +3 -2
- package/dist/facade.js +2 -2
- package/dist/features/basic-nodes/lib/BaseBlockPlugins.js +13 -5
- package/dist/features/basic-nodes/lib/BaseHeadingPlugins.js +32 -10
- package/dist/features/board/index.d.ts +2 -2
- package/dist/features/board/lib/BaseBoardPlugin.js +14 -1
- package/dist/features/board/lib/boardStroke.internal.js +13 -1
- package/dist/features/board/lib/boardTypes.internal.js +16 -0
- package/dist/features/callout/index.d.ts +3 -2
- package/dist/features/code-block/lib/BaseCodeBlockPlugin.js +14 -5
- package/dist/features/combobox/index.d.ts +2 -2
- package/dist/features/comments/index.d.ts +1 -1
- package/dist/features/date/index.d.ts +3 -2
- package/dist/features/details/index.d.ts +3 -2
- package/dist/features/details/lib/BaseDetailsPlugin.js +10 -10
- package/dist/features/field/index.d.ts +2 -0
- package/dist/features/field/index.js +2 -0
- package/dist/features/field/lib/BaseFieldPlugin.js +414 -0
- package/dist/features/field/lib/fieldRules.internal.js +42 -0
- package/dist/features/find/index.d.ts +3 -2
- package/dist/features/footnote/index.d.ts +1 -1
- package/dist/features/ink/index.d.ts +1 -1
- package/dist/features/ink/lib/BaseInkPlugin.js +126 -103
- package/dist/features/ink/lib/inkCodec.internal.js +130 -0
- package/dist/features/ink/lib/inkGone.internal.js +229 -48
- package/dist/features/ink/lib/inkPlaces.internal.js +533 -62
- package/dist/features/layout/index.d.ts +1 -1
- package/dist/features/link/lib/BaseLinkPlugin.js +6 -4
- package/dist/features/lint/index.d.ts +3 -2
- package/dist/features/media/index.d.ts +1 -1
- package/dist/features/media/lib/media/parseMediaUrl.js +11 -1
- package/dist/features/media/lib/media-embed/BaseMediaEmbedPlugin.js +6 -2
- package/dist/features/mention/index.d.ts +5 -4
- package/dist/features/suggestion/index.d.ts +1 -1
- package/dist/features/table/index.d.ts +1 -1
- package/dist/features/table/lib/BaseTablePlugin.js +14 -8
- package/dist/features/table/lib/internal/selection.js +4 -2
- package/dist/features/toc/index.d.ts +1 -1
- package/dist/features/upload/index.d.ts +2 -2
- package/dist/features/upload/lib/BaseUploadPlugin.js +464 -250
- package/dist/history/index.d.ts +2 -2
- package/dist/html/index.d.ts +3 -3
- package/dist/html/server/index.d.ts +1 -1
- package/dist/{htmlTypes-DjeFG3P8.d.ts → htmlTypes-cg_cWsaN.d.ts} +2 -31
- package/dist/hyperscript/index.d.ts +1 -1
- package/dist/{index-D1CFXA-i.d.ts → index-8WO2vI0U.d.ts} +475 -143
- package/dist/{index-DaM37gF6.d.ts → index-B5mYEawV.d.ts} +37 -21
- package/dist/{index-Bq3sdm3S.d.ts → index-BZWFoUXt.d.ts} +5 -4
- package/dist/{index-DdIRduDG.d.ts → index-C0POz7rg.d.ts} +3 -2
- package/dist/{index-Bxfvicyy.d.ts → index-C1_JIhL4.d.ts} +4 -3
- package/dist/{index-DC_MNGyu.d.ts → index-C35V_hj0.d.ts} +3 -3
- package/dist/{index-kLKMc-pI.d.ts → index-C6ql9pKw.d.ts} +2 -2
- package/dist/{index-hsC_sOn2.d.ts → index-C9DiGDVj.d.ts} +35 -5
- package/dist/{index-DTgaSxKr.d.ts → index-CLsEe3LY.d.ts} +40 -4
- package/dist/{index-CT7miqQN.d.ts → index-CdOLsPaW.d.ts} +29 -9
- package/dist/{index-DLA2DUR2.d.ts → index-CktYvOgk.d.ts} +4 -3
- package/dist/{index-BBKGrsG3.d.ts → index-Cmuluh6f.d.ts} +1 -1
- package/dist/{index-BiQerPJS.d.ts → index-CzLwBZpY.d.ts} +2 -2
- package/dist/{index-DzD6BIFJ.d.ts → index-D3-2iM1b.d.ts} +7 -5
- package/dist/{index-Cl77E9yr.d.ts → index-DKOFvteF.d.ts} +2 -2
- package/dist/{index-iaZOhA76.d.ts → index-DPWyk3lG-DOYwohXO.d.ts} +1 -1
- package/dist/index-DQnjqtQa.d.ts +678 -0
- package/dist/{index-CcZbqPqk.d.ts → index-Do9pj1GK.d.ts} +73 -39
- package/dist/{index-BU6k1Aev.d.ts → index-DpltOCot-A2b3p3Eb.d.ts} +4735 -4586
- package/dist/{index-Bc2Yg_2j.d.ts → index-HPYawTae-BCUQLEWF.d.ts} +2 -2
- package/dist/{index-BkR7-GLI.d.ts → index-baQOK89E.d.ts} +2 -2
- package/dist/{index-D5W-p9bS.d.ts → index-oIJAZxc2.d.ts} +49 -4
- package/dist/{index-xdmCBvlT.d.ts → index-r7yb77Wy.d.ts} +3 -2
- package/dist/index.d.ts +4 -4
- package/dist/{react/internal → internal}/penStroke.internal.js +1 -1
- package/dist/internal/plugin/OverridePlugin.js +101 -119
- package/dist/internal/plugin/collectPlateNodeMappings.js +5 -1
- package/dist/internal/plugin/pastedUploadFiles.js +4 -0
- package/dist/internal/plugin/resolvePlugin.js +1 -1
- package/dist/internal/plugin/resolvePlugins.js +3 -0
- package/dist/internal/plugin/uploadDrafts.js +6 -0
- package/dist/internal/utils/mergePlugins.js +1 -0
- package/dist/lib/plugins/element-id/ElementIdPlugin.js +8 -2
- package/dist/lib/plugins/html/HtmlPlugin.js +9 -0
- package/dist/lib/plugins/html/htmlSafety.js +1 -1
- package/dist/lib/plugins/input-rules/InputRulesPlugin.js +5 -15
- package/dist/lib/plugins/input-rules/inputRuleVeto.internal.js +16 -0
- package/dist/markdown/index.d.ts +2 -2
- package/dist/markdown/index.js +2 -1
- package/dist/markdown/lib/MarkdownPlugin.js +16 -9
- package/dist/markdown/lib/RawHtmlPlugin.js +24 -0
- package/dist/markdown/lib/deserializer/mdastToSlate.js +12 -2
- package/dist/markdown/lib/internal/markdownConversion.js +773 -74
- package/dist/markdown/lib/internal/markdownDiagnostics.js +18 -7
- package/dist/markdown/lib/internal/markdownFrontmatter.js +102 -0
- package/dist/markdown/lib/internal/markdownIntrinsics.js +125 -43
- package/dist/markdown/lib/internal/markdownLine.js +5 -3
- package/dist/markdown/lib/internal/markdownMappings.js +19 -7
- package/dist/markdown/lib/internal/markdownOpenTail.js +381 -0
- package/dist/markdown/lib/internal/markdownRawHtml.js +314 -0
- package/dist/markdown/lib/internal/markdownSegments.js +57 -48
- package/dist/markdown/lib/internal/markdownTags.js +22 -8
- package/dist/markdown/lib/serializer/convertNodesSerialize.js +10 -8
- package/dist/markdown/lib/serializer/convertPhrasingSerialize.js +226 -0
- package/dist/markdown/lib/serializer/listToMdastTree.js +2 -0
- package/dist/math/index.d.ts +3 -2
- package/dist/math/react/index.d.ts +4 -3
- package/dist/migrations/index.d.ts +3 -3
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/react/index.d.ts +4 -4
- package/dist/react/components/EditorContentView.internal.js +17 -8
- package/dist/react/components/EditorProvider.js +5 -5
- package/dist/react/components/Plate.js +103 -122
- package/dist/react/components/PlateContainer.js +40 -32
- package/dist/react/components/PlateController.js +28 -16
- package/dist/react/components/PlateRoot.internal.js +3 -2
- package/dist/react/core.js +4 -4
- package/dist/react/features/board/BoardSurface.js +116 -87
- package/dist/react/features/board/boardClipboard.internal.js +15 -5
- package/dist/react/features/board/boardGesture.internal.js +6 -3
- package/dist/react/features/board/boardIndex.internal.js +7 -18
- package/dist/react/features/board/boardPictures.internal.js +19 -13
- package/dist/react/features/board/boardView.internal.js +184 -49
- package/dist/react/features/board/boardVoice.internal.js +10 -11
- package/dist/react/features/board/index.d.ts +64 -18
- package/dist/react/features/callout/index.d.ts +3 -2
- package/dist/react/features/combobox/index.d.ts +8 -8
- package/dist/react/features/comments/index.d.ts +6 -5
- package/dist/react/features/date/index.d.ts +4 -3
- package/dist/react/features/details/index.d.ts +4 -3
- package/dist/react/features/field/FieldPlugin.js +34 -0
- package/dist/react/features/field/index.d.ts +312 -0
- package/dist/react/features/field/index.js +2 -0
- package/dist/react/features/footnote/index.d.ts +7 -6
- package/dist/react/features/format-painter/index.d.ts +4 -3
- package/dist/react/features/ink/InkContent.js +313 -0
- package/dist/react/features/ink/index.d.ts +57 -29
- package/dist/react/features/ink/index.js +2 -2
- package/dist/react/features/ink/inkCapture.internal.js +39 -17
- package/dist/react/features/ink/inkInput.internal.js +1 -1
- package/dist/react/features/ink/inkLayout.internal.js +6 -3
- package/dist/react/features/ink/inkPaint.internal.js +78 -2
- package/dist/react/features/ink/inkPlacement.internal.js +331 -104
- package/dist/react/features/ink/inkWatch.internal.js +7 -5
- package/dist/react/features/layout/index.d.ts +5 -4
- package/dist/react/features/media/index.d.ts +5 -4
- package/dist/react/features/mention/index.d.ts +6 -5
- package/dist/react/features/resizable/Resizable.js +4 -6
- package/dist/react/features/resizable/index.d.ts +5 -5
- package/dist/react/features/suggestion/index.d.ts +6 -5
- package/dist/react/features/table/TablePlugin.js +4 -11
- package/dist/react/features/table/index.d.ts +8 -7
- package/dist/react/features/toc/index.d.ts +2 -2
- package/dist/react/features/upload/index.d.ts +11 -6
- package/dist/react/index.d.ts +6 -6
- package/dist/react/index.js +4 -4
- package/dist/react/internal/plate-context.js +425 -188
- package/dist/react/plite-react.js +2 -2
- package/dist/react/plugins/navigation-feedback/NavigationFeedbackPlugin.js +12 -10
- package/dist/react/stores/plate/useEditor.js +32 -14
- package/dist/react/stores/plate/useEditorHistory.js +55 -0
- package/dist/react/stores/plate/useEditorSelector.js +66 -21
- package/dist/react/utils/pipeRenderElement.internal.js +1 -1
- package/dist/react/utils/pluginRenderElement.internal.js +1 -1
- package/dist/react/virtualized.d.ts +4 -4
- package/dist/{source-CNKy99Th.d.ts → source-aUwpNnAw.d.ts} +4 -4
- package/dist/static/index.d.ts +18 -18
- package/dist/static/internal/renderStaticHtmlWithOverrides.js +2 -2
- package/dist/static/internal/staticPresentation.js +4 -4
- package/dist/static/internal/writeStaticSelectionClipboardData.js +7 -2
- package/dist/tabbable/index.d.ts +1 -1
- package/dist/tabbable/react/index.d.ts +3 -3
- package/dist/testing/index.d.ts +3 -3
- package/dist/yjs/index.d.ts +1 -1
- package/dist/yjs/react/index.d.ts +6 -6
- package/package.json +20 -2
- package/dist/markdown/lib/serializer/convertTextsSerialize.js +0 -163
- package/dist/react/components/EditorSelectionView.js +0 -40
- package/dist/react/features/ink/InkLayer.js +0 -218
- package/dist/react/internal/createPlateTargetScope.js +0 -62
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { INK_MOVE_TOLERANCE, inkBoxOf, sameInkBox } from "./inkMeasure.internal.js";
|
|
2
2
|
//#region src/react/features/ink/inkWatch.internal.ts
|
|
3
|
+
/** Whether every line layout measured before the change still holds. */
|
|
4
|
+
const keepsLayouts = (change) => change === "boxes" || change === "scroll";
|
|
3
5
|
const INK_LAYOUT_ATTRIBUTES = [
|
|
4
6
|
"class",
|
|
5
7
|
"dir",
|
|
@@ -94,14 +96,14 @@ const observeInkLayout = (editable, layer, report) => {
|
|
|
94
96
|
const emit = (change, within) => {
|
|
95
97
|
if (!stopped) report(change, within);
|
|
96
98
|
};
|
|
97
|
-
const look = (sure) => {
|
|
99
|
+
const look = (sure, change = "boxes") => {
|
|
98
100
|
if (stopped) return false;
|
|
99
101
|
looks += 1;
|
|
100
102
|
const next = placeOf(editable, layer);
|
|
101
103
|
if (!sure && samePlace(place, next)) return false;
|
|
102
104
|
place = next;
|
|
103
105
|
fit();
|
|
104
|
-
emit(
|
|
106
|
+
emit(change);
|
|
105
107
|
return true;
|
|
106
108
|
};
|
|
107
109
|
const compareEachFrame = () => {
|
|
@@ -173,9 +175,9 @@ const observeInkLayout = (editable, layer, report) => {
|
|
|
173
175
|
const borderSize = sizeCheck("border-box", sized);
|
|
174
176
|
const layerSize = sizeCheck("border-box", sized);
|
|
175
177
|
const onScroll = ({ target }) => {
|
|
176
|
-
if (target === editable) emit("
|
|
178
|
+
if (target === editable) emit("scroll");
|
|
177
179
|
else if (target instanceof Element && editable.contains(target)) emit("words", target);
|
|
178
|
-
else if (target instanceof Node && root?.contains(target)) look(false);
|
|
180
|
+
else if (target instanceof Node && root?.contains(target)) look(false, "scroll");
|
|
179
181
|
};
|
|
180
182
|
const onLoad = ({ target, type }) => {
|
|
181
183
|
if (target instanceof Element && editable.contains(target)) emit("words", target);
|
|
@@ -283,4 +285,4 @@ const stackInkSigns = (layer, signs) => {
|
|
|
283
285
|
};
|
|
284
286
|
};
|
|
285
287
|
//#endregion
|
|
286
|
-
export { INK_LAYOUT_ATTRIBUTES, observeInkLayout, stackInkSigns };
|
|
288
|
+
export { INK_LAYOUT_ATTRIBUTES, keepsLayouts, observeInkLayout, stackInkSigns };
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Ps as SchemaContentRule, Vt as EditorJsonValue, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ws as SchemaContentDefault } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, xo as PluginReference, yo as PluginDependency } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { At as Plugin } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { o as SetColumnsOptions, s as ToggleColumnGroupOptions } from "../../../index-C0POz7rg.js";
|
|
5
6
|
declare const ColumnItemPlugin: Plugin<Readonly<{
|
|
6
7
|
readonly dependencies: readonly [PluginReference<"paragraph"> & PluginDependency<Readonly<{
|
|
7
8
|
name: "paragraph";
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Qo as PropertyJsonDescriptor, Si as Element, Vt as EditorJsonValue, es as PropertyNumberDescriptor, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ls as PropertyValueOptions } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { ct as BlockInsertOptions, lt as BlockUpsertOptions } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { At as Plugin } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { A as ProviderMediaInsertInput, C as FileInsertInput, E as MediaInsertInput, T as ImageInsertInput, g as AlignedMediaInsertInput, k as MediaUrlProperties } from "../../../index-D3-2iM1b.js";
|
|
5
6
|
declare const ImagePlugin: Plugin<Readonly<{
|
|
6
7
|
readonly __pluginWritableProperties: Readonly<{
|
|
7
8
|
descriptor: PropertyStringDescriptor<PropertyValueOptions<string>>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import "../../../
|
|
1
|
+
import { eu as TxDeclaredMethod, is as PropertyStringDescriptor, ls as PropertyValueOptions } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { _t as NodeInsertOptions } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { At as Plugin } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { t as ComboboxEditor } from "../../../combobox-DAOYWuvC.js";
|
|
6
|
+
import "../../../index-Cmuluh6f.js";
|
|
6
7
|
declare const MentionPlugin: Plugin<Readonly<{
|
|
7
8
|
formats: true;
|
|
8
9
|
}> & Readonly<{
|
|
@@ -5,11 +5,9 @@ import * as React$1 from "react";
|
|
|
5
5
|
//#region src/react/features/resizable/Resizable.tsx
|
|
6
6
|
const ResizeContext = React$1.createContext(null);
|
|
7
7
|
function Resizable({ align = "center", children, maxWidth = "100%", minWidth = 0, onResizeEnd, ref, style, width: nodeWidth = "100%", ...props }) {
|
|
8
|
-
const [
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
}));
|
|
12
|
-
const width = widthState.source === nodeWidth ? widthState.value : nodeWidth;
|
|
8
|
+
const [preview, setPreview] = React$1.useState(null);
|
|
9
|
+
if (preview && preview.source !== nodeWidth) setPreview(null);
|
|
10
|
+
const width = preview?.source === nodeWidth ? preview.value : nodeWidth;
|
|
13
11
|
const wrapperRef = React$1.useRef(null);
|
|
14
12
|
const [parentWidth, setParentWidth] = React$1.useState(0);
|
|
15
13
|
const measureWrapper = React$1.useCallback((element) => {
|
|
@@ -26,7 +24,7 @@ function Resizable({ align = "center", children, maxWidth = "100%", minWidth = 0
|
|
|
26
24
|
return () => observer.disconnect();
|
|
27
25
|
}, []);
|
|
28
26
|
const setWidth = React$1.useCallback((value) => {
|
|
29
|
-
|
|
27
|
+
setPreview({
|
|
30
28
|
source: nodeWidth,
|
|
31
29
|
value
|
|
32
30
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as React
|
|
1
|
+
import * as React from "react";
|
|
2
2
|
type ResizeDirection = 'bottom' | 'left' | 'right' | 'top';
|
|
3
3
|
type ResizeEvent = {
|
|
4
4
|
delta: number;
|
|
@@ -7,7 +7,7 @@ type ResizeEvent = {
|
|
|
7
7
|
initialSize: number;
|
|
8
8
|
};
|
|
9
9
|
type ResizeLength = number | string;
|
|
10
|
-
type ResizableProps = Omit<React
|
|
10
|
+
type ResizableProps = Omit<React.ComponentPropsWithRef<'div'>, 'onResize'> & {
|
|
11
11
|
/** A `center` node grows on both sides as it resizes; any other alignment grows on one side. */
|
|
12
12
|
align?: 'center' | 'end' | 'left' | 'right' | 'start';
|
|
13
13
|
maxWidth?: ResizeLength;
|
|
@@ -15,13 +15,13 @@ type ResizableProps = Omit<React$1.ComponentPropsWithRef<'div'>, 'onResize'> & {
|
|
|
15
15
|
onResizeEnd?: (width: ResizeLength) => void;
|
|
16
16
|
width?: ResizeLength;
|
|
17
17
|
};
|
|
18
|
-
type ResizeHandleProps = Omit<React
|
|
18
|
+
type ResizeHandleProps = Omit<React.ComponentPropsWithRef<'div'>, 'onResize'> & {
|
|
19
19
|
direction?: ResizeDirection;
|
|
20
20
|
initialSize?: number;
|
|
21
21
|
onHover?: () => void;
|
|
22
22
|
onHoverEnd?: () => void;
|
|
23
23
|
onResize?: (event: ResizeEvent) => void;
|
|
24
24
|
};
|
|
25
|
-
declare function Resizable({ align, children, maxWidth, minWidth, onResizeEnd, ref, style, width: nodeWidth, ...props }: ResizableProps): React
|
|
26
|
-
declare function ResizeHandle({ direction, initialSize: initialSizeProp, onHover, onHoverEnd, onKeyDown, onPointerDown, onPointerLeave, onPointerEnter, onResize: onResizeProp, style, ...props }: ResizeHandleProps): React
|
|
25
|
+
declare function Resizable({ align, children, maxWidth, minWidth, onResizeEnd, ref, style, width: nodeWidth, ...props }: ResizableProps): React.JSX.Element;
|
|
26
|
+
declare function ResizeHandle({ direction, initialSize: initialSizeProp, onHover, onHoverEnd, onKeyDown, onPointerDown, onPointerLeave, onPointerEnter, onResize: onResizeProp, style, ...props }: ResizeHandleProps): React.JSX.Element | null;
|
|
27
27
|
export { Resizable, ResizableProps, ResizeDirection, ResizeEvent, ResizeHandle, ResizeHandleProps, ResizeLength };
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
1
|
+
import { Za as Path, us as Range, xa as NodeKey } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { za as InternalPluginDefinitionOf } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { Mt as PluginConfiguration, cn as InternalReactPluginAdapterResult } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { i as AuthoredChangeKind } from "../../../index-C9DiGDVj.js";
|
|
6
|
+
import { t as BaseSuggestionPlugin } from "../../../BaseSuggestionPlugin-Deo6n6Fs.js";
|
|
6
7
|
type SuggestionPluginDefinition = InternalPluginDefinitionOf<typeof BaseSuggestionPlugin>;
|
|
7
8
|
type SuggestionReactAdapter = Readonly<{
|
|
8
9
|
on: NonNullable<PluginConfiguration<SuggestionPluginDefinition>['on']>;
|
|
@@ -164,23 +164,16 @@ const hasSameKeys = (nextValue, previousValue) => {
|
|
|
164
164
|
const hasSameTableSelectionHostState = (nextValue, previousValue) => nextValue === previousValue || !!nextValue && !!previousValue && nextValue.anchorKey === previousValue.anchorKey && nextValue.ownsSelection === previousValue.ownsSelection && hasSameKeys(nextValue.selectedKeys, previousValue.selectedKeys);
|
|
165
165
|
const readTableSelectionHostState = (editor) => {
|
|
166
166
|
const ownsSelection = editor.read.selection() !== null;
|
|
167
|
-
const view = editor
|
|
168
|
-
if (!
|
|
167
|
+
const view = readInternalSelection(editor);
|
|
168
|
+
if (!view?.selectsCells) return {
|
|
169
169
|
anchorKey: null,
|
|
170
170
|
ownsSelection,
|
|
171
171
|
selectedKeys: []
|
|
172
172
|
};
|
|
173
173
|
return {
|
|
174
|
-
anchorKey: view.anchor,
|
|
174
|
+
anchorKey: view.cellKeys[view.anchors.indexOf(view.anchor)] ?? null,
|
|
175
175
|
ownsSelection,
|
|
176
|
-
selectedKeys: view.
|
|
177
|
-
const key = editor.key(view.root === void 0 ? path : {
|
|
178
|
-
offset: 0,
|
|
179
|
-
path,
|
|
180
|
-
root: view.root
|
|
181
|
-
});
|
|
182
|
-
return key ? [key] : [];
|
|
183
|
-
})
|
|
176
|
+
selectedKeys: view.cellKeys
|
|
184
177
|
};
|
|
185
178
|
};
|
|
186
179
|
function TableSelectionHostEffect() {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
1
|
+
import { Ps as SchemaContentRule, Qo as PropertyJsonDescriptor, Vt as EditorJsonValue, Yo as PropertyBooleanDescriptor, es as PropertyNumberDescriptor, eu as TxDeclaredMethod, is as PropertyStringDescriptor, ls as PropertyValueOptions, na as NamedRootKey, wi as ElementEntry, ws as SchemaContentDefault, xa as NodeKey } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { _ as BasePlugin, ct as BlockInsertOptions, lt as BlockUpsertOptions, xo as PluginReference, yo as PluginDependency } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { At as Plugin, xt as InternalPluginAuthorExtension } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { A as TableSelectionBounds, C as TableResize, D as TableResolvedCellBorders, O as TableRowHeightOptions, T as TableResizeTarget, b as TableColumnWidthOptions, d as TableAxisInsertOptions, g as TableCellBorders, h as TableCellBorder, i as TableCellElement, j as TableTargetOptions, l as isTableColumnSizes, m as TableBorderTarget, o as TableElement, p as TableBorderStates, u as BorderDirection, v as TableCellTarget, w as TableResizeOptions, x as TableCreateOptions } from "../../../index-r7yb77Wy.js";
|
|
6
|
+
import * as React from "react";
|
|
6
7
|
declare const TableCellPlugin: Plugin<Readonly<{
|
|
7
8
|
formats: true;
|
|
8
9
|
render: true;
|
|
@@ -4699,8 +4700,8 @@ type TableResizeHandle = {
|
|
|
4699
4700
|
*/
|
|
4700
4701
|
declare const useTableResize: ({ element, tableRef, onResize, onResizeEnd }: {
|
|
4701
4702
|
element: TableElement;
|
|
4702
|
-
tableRef: React
|
|
4703
|
+
tableRef: React.RefObject<HTMLTableElement | null>;
|
|
4703
4704
|
onResize: (resize: TableResize) => void;
|
|
4704
4705
|
onResizeEnd: () => void;
|
|
4705
|
-
}) => (event: React
|
|
4706
|
+
}) => (event: React.PointerEvent<HTMLElement>, handle: TableResizeHandle) => boolean;
|
|
4706
4707
|
export { TableCellPlugin, TablePlugin, TableResizeHandle, TableRowPlugin, useTableResize };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { At as Plugin } from "../../../index-
|
|
2
|
-
import { n as Heading } from "../../../index-
|
|
1
|
+
import { At as Plugin } from "../../../index-8WO2vI0U.js";
|
|
2
|
+
import { n as Heading } from "../../../index-C6ql9pKw.js";
|
|
3
3
|
declare const TocPlugin: Plugin<Readonly<{
|
|
4
4
|
formats: true;
|
|
5
5
|
render: true;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Zo as PropertyEnumDescriptor, eu as TxDeclaredMethod, xa as NodeKey } from "../../../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import "../../../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { Ao as PluginSelectorMethods, Ga as DefinitionOf, mo as NormalizePluginSelectors } from "../../../core-ClHasORr.js";
|
|
4
|
+
import { At as Plugin, xt as InternalPluginAuthorExtension } from "../../../index-8WO2vI0U.js";
|
|
5
|
+
import { d as UploadKind, f as UploadPluginState, g as UploadSubmitOptions, i as UploadAdmission, l as UploadFailure, o as UploadAdmitOptions, p as UploadRefusal, s as UploadClient, v as UploadTaskState } from "../../../index-CLsEe3LY.js";
|
|
5
6
|
/**
|
|
6
7
|
* React adapter for upload drafts. A file drop lands where the landing rules
|
|
7
8
|
* admit it, at a block edge under the pointer; a drop no edge admits is
|
|
@@ -34,6 +35,7 @@ declare const UploadPlugin: InternalPluginAuthorExtension<Plugin<Readonly<{
|
|
|
34
35
|
readonly activate: true;
|
|
35
36
|
readonly api: {
|
|
36
37
|
readonly cancel: (key: NodeKey) => void;
|
|
38
|
+
readonly fitsAfter: (key: NodeKey) => boolean;
|
|
37
39
|
};
|
|
38
40
|
readonly commands: true;
|
|
39
41
|
readonly contributions: true;
|
|
@@ -153,7 +155,8 @@ declare const UploadPlugin: InternalPluginAuthorExtension<Plugin<Readonly<{
|
|
|
153
155
|
}> | undefined;
|
|
154
156
|
}>>;
|
|
155
157
|
readonly update: {
|
|
156
|
-
readonly
|
|
158
|
+
readonly admit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadAdmitOptions) => UploadAdmission | UploadRefusal | undefined>;
|
|
159
|
+
readonly submit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadSubmitOptions) => boolean>;
|
|
157
160
|
};
|
|
158
161
|
}>>, Readonly<{
|
|
159
162
|
readonly __pluginWritableProperties: Readonly<{
|
|
@@ -182,6 +185,7 @@ declare const UploadPlugin: InternalPluginAuthorExtension<Plugin<Readonly<{
|
|
|
182
185
|
readonly activate: true;
|
|
183
186
|
readonly api: {
|
|
184
187
|
readonly cancel: (key: NodeKey) => void;
|
|
188
|
+
readonly fitsAfter: (key: NodeKey) => boolean;
|
|
185
189
|
};
|
|
186
190
|
readonly commands: true;
|
|
187
191
|
readonly contributions: true;
|
|
@@ -301,7 +305,8 @@ declare const UploadPlugin: InternalPluginAuthorExtension<Plugin<Readonly<{
|
|
|
301
305
|
}> | undefined;
|
|
302
306
|
}>>;
|
|
303
307
|
readonly update: {
|
|
304
|
-
readonly
|
|
308
|
+
readonly admit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadAdmitOptions) => UploadAdmission | UploadRefusal | undefined>;
|
|
309
|
+
readonly submit: TxDeclaredMethod<(input: readonly File[] | FileList, options?: UploadSubmitOptions) => boolean>;
|
|
305
310
|
};
|
|
306
311
|
}>, "on", {}, {}, {}, {}, {}, readonly [], boolean, readonly []>;
|
|
307
312
|
type UploadDefinition = DefinitionOf<typeof UploadPlugin>;
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as TransferVeto, $a as TransactionSpec, $c as EditorSchemaOverride, $i as NodeKey, $l as SchemaElementTarget, $n as EditorLevelsOptions, $o as TxMethodDeclarations, $r as EditorTargetRuntime, $s as NodeNodesOptions, $t as AnchorDeletionPolicy, $u as EditorJsonValue, Ac as ElementInterface, Ai as EditorUpdate, Al as SchemaContentRoot, An as EditorCommitRuntimeChangeKind, Ao as NodeInsertSplitOptions, Ar as EditorSchemaPropertyReadOptions, As as DescendantEntryIn, Au as SchemaValue, B as TransferIntent, Ba as RootKey, Bc as EditorSchemaContent, Bl as SchemaElementFor, Bn as EditorEffectCollabEncodeContext, Bo as NodeUnwrapNodesOptions, Br as EditorStateNodesApi, Bs as NodeDescendantsOptions, Bt as EditorSchemaContract, Bu as RangeApi, C as NodeWriteVeto, Ca as PluginPoint, Cc as TextInterface, Ci as EditorTransactionSliceApi, Cl as PropertyValueOptions, Cn as EditorCommandResult, Co as SelectionCollapseOptions, Cr as EditorReadRegistration, Cs as AncestorEntryOf, Ct as definePluginPoint, Cu as SchemaTextBlockOptions, D as AuthoredVeto, Da as PluginReadFactoryContext, Dc as ElementApi, Di as EditorTransactionTopLevelRange, Dl as SchemaContentInput, Dn as EditorCommitContext, Do as BlockDuplicateOptions, Dr as EditorRootEntry, Ds as ChildOf, Dt as target, Du as SchemaTextPropertyKeys, E as AuthoredTouch, Ea as PluginReadFactory, Ec as Element, Ei as EditorTransactionTextApi, El as SchemaContentDefault, En as EditorCommitChanged, Eo as SelectionSetPointOptions, Er as EditorReplaceNodeOptions, Es as BaseNode, Et as schema, Eu as SchemaTextPropertyDefinition, F as TransferAdoptInput, Fa as PluginUpdateFactory, Fi as EditorUpdatePolicyFor, Fl as SchemaContentRootStructure, Fo as NodeRemoveNodesOptions, Fr as EditorSliceReadOptions, Fs as Node, Fu as Span, G as TransferPatchProperties, Ga as SnapshotInput, Gc as EditorSchemaDelta, Gi as EditorView, Gl as SchemaElementProperty, Gn as EditorElementBehavior, Go as RangeDirection, Gr as EditorStateSelectionApi, Gs as NodeFindTextRangesOptions, Gt as EditorSchemaContractDiff, Gu as PointApi, H as TransferLandingTarget, Ha as SerializedEditorSelection, Hc as EditorSchemaContribution, Hi as EditorValueFromPlugins, Hl as SchemaElementInput, Hn as EditorEffectCollabTransport, Ho as LeafEdge, Hr as EditorStateRangesApi, Hs as NodeEntry, Ht as EditorSchemaContractChangeKind, Hu as RangeInterface, I as TransferCheck, Ia as PluginUpdateFactoryContext, Ic as EditorSchemaSource, Ii as EditorUpdateTag, Il as SchemaContentRule, In as EditorDocumentRecords, Io as NodeReplaceChildrenOptions, Ir as EditorSnapshot, Is as NodeAncestorsOptions, Iu as SpanApi, J as TransferRelation, Ja as StateFieldHistoryPolicy, Jc as EditorSchemaElementOverride, Ji as HistoryOutcome, Jl as SchemaElementPropertyOptions, Jo as SelectionMode, Jr as EditorStateUniqueApi, Js as NodeInterface, Jt as diffEditorSchemaContracts, Ju as Path, K as TransferPayload, Ka as StateFieldCollabPolicy, Kc as EditorSchemaDerivedDefinition, Ki as EditorViewOptions, Kl as SchemaElementPropertyDefinition, Kn as EditorFragmentDeletionOptions, Ko as RangeMode, Kr as EditorStateSliceApi, Ks as NodeHasPropsOptions, Kt as EditorSchemaContractElement, Ku as PointEntry, L as TransferDiagnostic, Li as EditorUpdateTagInput, Ll as SchemaDescendant, Ln as EditorDocumentValue, Lo as NodeSetNodesOptions, Lr as EditorStateField, Ls as NodeApi, Lt as SliceLanding, Lu as SpanInterface, M as transfer, Ma as PluginTypeProvider, Mc as ElementOf, Mi as EditorUpdateContext, Ml as SchemaContentRootInput, Mn as EditorCoreUpdateMethods, Mo as NodeMergeNodesOptions, Mr as EditorSchemaVocabulary, Ms as DescendantIn, Mt as setEditorViewing, Mu as Location, N as transferVeto, Nc as ElementOrTextIn, Ni as EditorUpdateMethods, Nl as SchemaContentRootOwnership, Nn as EditorCoreUpdateTransaction, No as NodeMoveNodesOptions, Nr as EditorSelectionBlockOptions, Ns as DescendantOf, Nu as LocationApi, O as authoredVeto, Oa as PluginReadMiddlewareFactory, Oc as ElementEntry, Oi as EditorTransactionValueApi, Ol as SchemaContentOptions, On as EditorCommitHandler, Oo as NodeDuplicateOptions, Or as EditorRootOwner, Os as Descendant, Ot as documentReplacement, Ou as SchemaTextPropertyOptions, P as editorReads, Pa as PluginTypes, Pc as ElementOrTextOf, Pi as EditorUpdatePolicy, Pl as SchemaContentRootSlotsFor, Pn as EditorDirectCommandDispatch, Po as NodeMutationMethods, Pr as EditorSelectionTargetOptions, Ps as ElementEntryOf, Pt as getEditorRuntimeOwner, Pu as LocationInterface, Q as TransferTarget, Qa as TopLevelRuntimeRange, Qc as EditorSchemaNamedDefinition, Qi as NamedRootKey, Ql as SchemaElementStructure, Qn as EditorIsEditorOptions, Qo as TxDeclaredMethod, Qs as NodeMatchPredicate, Qt as AnchorAssociation, Qu as PathLevelsOptions, R as TransferEdge, Ra as PluginsOf, Ri as EditorUpdateTransaction, Rl as SchemaElement, Rn as EditorEffect, Ro as NodeSplitNodesOptions, Rr as EditorStateFragmentApi, Rs as NodeChildEntry, Rt as SliceLandingInput, Ru as BaseRange, Sa as PluginMigrationContext, Sc as TextIn, Si as EditorTransactionSelectionApi, Sl as PropertyValueOf, Sn as EditorCommandPlace, So as TextRemoveTextOptions, Sr as EditorReadMethods, Ss as AncestorEntry, St as defineEditorSchema, Su as SchemaText, T as nodeWriteVeto, Ta as PluginReadContext, Tc as BaseElement, Ti as EditorTransactionTagsApi, Tl as SchemaContent, Tn as EditorCommitChangeKind, To as SelectionMutationMethods, Tr as EditorReplaceChildrenOptions, Ts as AncestorOf, Tt as property, Tu as SchemaTextProperty, U as TransferOutcome, Ua as SerializedEditorValue, Uc as EditorSchemaDeclaration, Ui as EditorValuePersistence, Ul as SchemaElementProperties, Un as EditorEffectHistoryReplayResult, Uo as MaximizeMode, Ur as EditorStateRuntimeApi, Us as NodeEntryIn, Ut as EditorSchemaContractContentProgram, Uu as BasePoint, V as TransferLandingInput, Va as SerializedEditorEffect, Vc as EditorSchemaContentRoot, Vi as EditorUpdateValueFromPlugin, Vl as SchemaElementHandle, Vn as EditorEffectCollabReplay, Vo as NodeWrapNodesOptions, Vr as EditorStatePointsApi, Vs as NodeElementsOptions, Vt as EditorSchemaContractChange, Vu as RangeEdgesOptions, W as TransferPatch, Wa as SnapshotIndex, Wc as EditorSchemaDefinition, Wl as SchemaElementPropertiesFor, Wn as EditorEffectType, Wo as MoveUnit, Wr as EditorStateSchemaApi, Ws as NodeEntryOf, Wt as EditorSchemaContractContentRoot, Wu as Point, X as TransferSideInput, Xa as StateFieldValueInput, Xc as EditorSchemaElementStructure, Xi as HistorySettlement, Xl as SchemaElementShapeFor, Xn as EditorInstalledReadGroups, Xo as TextUnit, Xr as EditorStateView, Xs as NodeLevelsOptions, Xt as restoreEditorSchemaContract, Xu as PathApi, Y as TransferSide, Ya as StateFieldInitial, Yc as EditorSchemaElementOverrideInput, Yi as HistoryResult, Yl as SchemaElementPropertyValue, Yn as EditorInstalledApiGroups, Yo as TextDirection, Yr as EditorStateValueApi, Ys as NodeIsNodeOptions, Yt as readEditorSchemaContract, Yu as PathAncestorsOptions, Z as TransferSourceInput, Za as TargetFreshnessRequest, Zc as EditorSchemaIdentity, Zi as InitialValue, Zl as SchemaElementSlicePolicy, Zn as EditorInstalledUpdateGroups, Zo as TextUnitAdjustment, Zr as EditorStateViewApi, Zs as NodeMatch, Zt as Anchor, Zu as PathInterface, _ as PluginSlotValue, _c as MarksIn, _i as EditorTransactionNodesApi, _l as PropertySetOptions, _n as EditorCommandContinuation, _r as EditorReadContext, _s as SelectionApi, _t as SetSelectionCommand, _u as SchemaPropertySplitPolicy, aa as PluginApiFactoryContext, ac as NodeTextRangeRoot, ai as EditorTransactionAnchorApi, al as EditorSchemaPropertyQuery, ar as EditorNodeChangeContext, as as defineCommand, at as DeleteFragmentCommand, au as SchemaPluginsOf, b as AuthoredDocumentProjection, ba as PluginInput, bc as TextApi, bi as EditorTransactionRemoved, bl as PropertyValueDescriptor, bn as EditorCommandHandler, bo as TextInsertTextOptions, br as EditorReadMethodRecord, bs as TextSelection, bt as editorCommands, bu as SchemaRootNames, c as defineUpdateAnnotation, ca as PluginCapabilities, cc as NodeTypeSelector, ci as EditorTransactionBreakApi, cl as EditorSchemaUnknownPolicy, cr as EditorNodeGetOptions, cs as JsonNode, ct as InsertNodesCommand, cu as SchemaPropertyDefinition, d as decodeEditorEffect, da as PluginContributionInput, dc as TextEntryOf, di as EditorTransactionChanged, dl as PropertyEnumDescriptor, dn as EditorBlockOptions, dr as EditorNodesOptions, ds as DecorationRefresh, dt as MoveSelectionCommand, du as SchemaPropertyHandleValue, ea as NodeTarget, ec as NodeOf, ei as EditorTextChangeContext, el as EditorSchemaOverrideInput, en as AnchorOptions, eo as Value, er as EditorLifecycleError, es as TxOnlyMethod, et as TransferVetoInput, eu as SchemaElementTypes, f as encodeEditorEffect, fa as PluginDefinition, fc as BaseText, fi as EditorTransactionChangesApi, fl as PropertyJsonDescriptor, fn as EditorBlockToggleOptions, fo as isEditor, fr as EditorNodesReadOptions, fs as DecorationSource, ft as RemoveMarkCommand, fu as SchemaPropertyIds, g as PluginSlot, gc as MarkKeysOf, gi as EditorTransactionMarksApi, gl as PropertySetDescriptor, gn as EditorCommandAroundHandler, gr as EditorReadAroundHandler, gs as Selection, gt as SetNodesCommand, gu as SchemaPropertyRole, h as defineStateField, ha as PluginDependencyReference, hc as LeafPosition, hi as EditorTransactionFragmentApi, hl as PropertyOptionsOf, hn as EditorCommand, hr as EditorRead, hs as NodeSelectionMode, ht as SelectCommand, hu as SchemaPropertyReferences, ia as PluginApiFactory, ic as NodeTextRangeQuery, ii as EditorTransactionAnchor, il as EditorSchemaPropertyOverrideInput, ir as EditorNextOptions, is as txSelection, it as DeleteCommand, iu as SchemaKeyPrefix, j as TransferRead, ja as PluginSlotLike, jc as ElementIsElementOptions, ji as EditorUpdateAnnotation, jl as SchemaContentRootContribution, jn as EditorCoreStateView, jo as NodeLiftNodesOptions, jr as EditorSchemaReadProperty, js as DescendantEntryOf, jt as setEditorReadOnly, ju as SchemaValueFromPlugins, k as TransferApi, ka as PluginReconfigureOptions, kc as ElementIn, ki as EditorUniqueHolder, kl as SchemaContentPrefixSlot, kn as EditorCommitListener, ko as NodeInsertNodesOptions, kr as EditorSchemaGetProperty, ks as DescendantEntry, ku as SchemaTypesTarget, l as invertEffect, la as PluginCleanupContext, lc as TextEntry, li as EditorTransactionChangeContext, ll as NamedEditorSchemaIdentity, ls as Decoration, lt as InsertSoftBreakCommand, lu as SchemaPropertyExclusiveGroup, m as screenReaderAnnouncementEffect, mc as BooleanMarksOf, mi as EditorTransactionEffectsApi, ml as PropertyNumberDescriptor, mn as EditorCanonicalUpdateTag, mr as EditorPreviousOptions, ms as NodeSelection, mt as ReplaceSliceCommand, mu as SchemaPropertyLandingPolicy, n as PluginsFromOptions, nc as NodeTextRangeEntry, ni as EditorToggleBlockOptions, nl as EditorSchemaProperty, nn as EditorDocumentRange, nr as EditorMarks, ns as txLocate, nt as AddMarkCommand, nu as SchemaGroupNames, o as createEditorView, oa as PluginCandidateContext, oc as NodeTextRangeView, oi as EditorTransactionAnnotationsApi, ol as EditorSchemaRepairCode, on as CompatibleEditorCommand, or as EditorNodeChangeHandler, os as DocumentChange, ot as EditorCommands, ou as SchemaProperty, p as valueCodecs, pc as BooleanMarkKeysOf, pi as EditorTransactionDocumentChangeKind, pl as PropertyJsonOptions, pn as EditorBreakExitOptions, pr as EditorParentOptions, ps as EditorSelection, pt as RemoveNodesCommand, pu as SchemaPropertyKey, q as TransferRefusalReason, qa as StateFieldDescriptor, qc as EditorSchemaElement, qi as HistoryApi, ql as SchemaElementPropertyKeys, qn as EditorFragmentReadOptions, qo as SelectionEdge, qr as EditorStateTextApi, qs as NodeIn, qt as EditorSchemaContractRoot, qu as PointInterface, r as compileEditorSchemaContract, ra as PluginActivationContext, rc as NodeTextRangeMatch, ri as EditorToggleMarkOptions, rl as EditorSchemaPropertyOverride, rn as RangeAnchorAssociation, rr as EditorMarksOf, rs as txOnly, rt as CollapseSelectionCommand, ru as SchemaGroupOptions, s as defineEffect, sa as PluginCandidateEditor, sc as NodeTextsOptions, si as EditorTransactionBlocksApi, sl as EditorSchemaStructureProperty, so as getSelection, sr as EditorNodeChangeKind, ss as JsonEditorValue, st as InsertBreakCommand, su as SchemaPropertyCopyPolicy, t as EditorValueFromOptions, ta as PersistedDocumentInput, ti as EditorTextChangeHandler, tl as EditorSchemaPlugin, tn as AnchorValue, to as ValueOf, tr as EditorLifecycleErrorSink, ts as locateAt, tt as TransferWrap, tu as SchemaGroup, u as mapEffect, ua as PluginContribution, uc as TextEntryIn, ui as EditorTransactionChangeHandler, ul as PropertyBooleanDescriptor, un as EditorAboveOptions, ur as EditorNodeUnsetOptions, us as DecorationAttributes, ut as InsertTextCommand, uu as SchemaPropertyHandle, v as definePluginSlot, vc as MarksOf, vi as EditorTransactionPluginsApi, vl as PropertyStringDescriptor, vn as EditorCommandDescriptor, vo as TextDeleteOptions, vr as EditorReadDescriptor, vs as SelectionAssociation, vt as ToggleBlockCommand, vu as SchemaPropertyTypeChangePolicy, w as NodeWriteVetoInput, wc as TextOf, wi as EditorTransactionSpecBuilder, wl as SchemaBuiltInGroupName, wn as EditorCommit, wo as SelectionMoveOptions, wr as EditorReadResult, ws as AncestorIn, wt as PropertyBuilderApi, wu as SchemaTextProperties, x as AuthoredProjectionDiagnostic, xc as TextEqualsOptions, xi as EditorTransactionRootsApi, xl as PropertyValueKind, xn as EditorCommandInput, xo as TextMutationMethods, xr as EditorReadMethodTree, xs as Ancestor, xt as PluginPublicationError, xu as SchemaTarget, y as ContentSlice, yc as Text, yi as EditorTransactionRecordsApi, yl as PropertyValidation, yn as EditorCommandDispatch, yo as TextInsertFragmentOptions, yr as EditorReadInput, ys as SelectionValue, yt as ToggleMarkCommand, yu as SchemaRecordSet, z as TransferInput, za as ProjectedRangeSegment, zc as DerivedEditorSchemaIdentity, zl as SchemaElementConstructionPropertiesFor, zn as EditorEffectCollabDecodeContext, zo as NodeUnsetNodesOptions, zr as EditorStateMarksApi, zs as NodeChildrenOptions, zt as SliceLandingTarget, zu as Range } from "../index-BU6k1Aev.js";
|
|
2
|
-
import {
|
|
3
|
-
import { $a as
|
|
4
|
-
import { a as AnnotationSnapshot, c as OwnedAnnotationStore, d as ViewSourceErrorSink, f as ViewSourceOptions, i as AnnotationRefreshOptions, l as ResolvedAnnotation, m as ViewSourceStatus, n as AnnotationAnchor, o as AnnotationStore, p as ViewSourcePhase, r as AnnotationChange, s as AnnotationStoreOptions, t as Annotation, u as ViewSourceError } from "../index-
|
|
5
|
-
import { $ as
|
|
6
|
-
export { type AddMarkCommand, AffinityDefinition, AffinityEdgeNodes, AffinityPlugin, AffinityPluginUpdate, Alignment, Ancestor, AncestorEntry, AncestorEntryOf, AncestorIn, AncestorOf, type Anchor, type AnchorAssociation, type AnchorDeletionPolicy, type AnchorOptions, type AnchorValue, type Annotation, type AnnotationAnchor, type AnnotationChange, type AnnotationRefreshOptions, type AnnotationSnapshot, type AnnotationStore, type AnnotationStoreOptions, type AnyObject, ApplyDeepToNodesOptions, type AuthoredDocumentProjection, type AuthoredProjectionDiagnostic, type AuthoredTouch, type AuthoredVeto, type AutoScrollApi, type AutoScrollChangeKind, type AutoScrollChangesMap, type AutoScrollOptions, type AutoScrollUpdate, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseElement, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, type BaseInjectProps, BaseInputRule, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkDefinition, BaseLinkPlugin, BaseLinkPluginState, BaseListDefinition, BaseListPlugin, BaseNode, BaseParagraphDefinition, BaseParagraphPlugin, type BasePlugin, type BasePluginConfiguration, type BasePluginContext, type BasePluginDefinition, type BasePluginDefinitionInput, type BasePluginExtendInput, type BasePluginImplementationContext, type BasePluginInput, type BasePluginOn, type BasePluginOverride, type BasePluginPortal, BasePoint, BaseRange, BaseScriptPlugin, BaseStrikethroughPlugin, BaseText, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, type BlockDuplicateOptions, BlockFenceInputRuleConfig, BlockFenceInputRuleMatch, type BlockInsertOptions, BlockPlaceholderDefinition, BlockPlaceholderPlugin, BlockPlaceholderPluginState, BlockPlaceholderQueryContext, BlockStartInputRuleConfig, BlockStartInputRuleMatch, type BlockUpsertOptions, BlockquotePlugin, BlockquoteRules, BoldPlugin, BoldRules, BooleanMarkKeysOf, BooleanMarksOf, type BreakRules, BulletedListRules, CapturedFormat, ChildOf, CodeBlockDefinition, CodeBlockElement, CodeBlockPlugin, CodeBlockRules, CodeHighlightDefinition, CodeHighlightLowlight, CodeHighlightPlugin, CodeHighlightPluginState, CodePlugin, CodeRules, type CollapseSelectionCommand, CommitContext, type CompatibleEditorCommand, type ConfiguredBasePlugin, type ConfiguredPlugin, type ContainerSiblingProps, type ContentRootController, ContentSlice, type CreateEditorOptions, CreateLinkNodeOptions, type DOMHandler, type DOMHandlers, DebugApi, DebugDefinition, DebugErrorType, DebugPlugin, DebugPluginState, type DebugValueScrubber, type DeclaredPluginShortcutInput, type Decorate, type Decoration, type DecorationAttributes, type DecorationRefresh, type DecorationSource, type DefinitionOf, type DeleteCommand, type DeleteFragmentCommand, type DeleteRules, DelimitedInlineInputRuleMatch, type DerivedEditorSchemaIdentity, Descendant, DescendantEntry, DescendantEntryIn, DescendantEntryOf, DescendantIn, DescendantOf, DocumentChange, type DomApi, type DomPluginState, type DomPluginUpdate, type EditOnlyConfig, type EditableDOMBeforeInputContext, type EditableDOMBeforeInputHandler, type EditableDOMCoverageBoundaryMaterializePayload, type EditableDOMCoverageBoundaryPlaceholderContext, type EditableDOMCoverageBoundaryProps, type EditableDOMCoverageBoundaryScope, type EditableDropResult, type EditableElementSlots, type EditableHandlerContext, type EditableHandlerResult, type EditableHistoryReplayEvent, type EditableHistoryReplayResult, type EditableInputEventContext, type EditableKeyDownHandler, type EditablePasteResult, type EditableProps, type EditableSiblingComponent, type EditableSiblingProps, type Editor, type EditorAboveOptions, type EditorApplicationSchema, 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, EditorContainer, EditorContent, type EditorContentProps, EditorController, 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 EditorEffectHistoryReplayResult, type EditorEffectType, EditorElement, type EditorElementBehavior, type EditorElementProps, EditorError, type EditorFragmentDeletionOptions, type EditorFragmentReadOptions, type EditorHTMLProps, type EditorHistoryController, type EditorHistoryFocusPolicy, type EditorInstalledApiGroups, type EditorInstalledReadGroups, type EditorInstalledUpdateGroups, type EditorIsEditorOptions, type EditorJsonValue, EditorLeaf, type EditorLeafProps, type EditorLevelsOptions, type EditorLifecycleError, type EditorLifecycleErrorSink, type EditorMarks, type EditorMarksOf, type EditorNextOptions, type EditorNodeChangeContext, type EditorNodeChangeHandler, type EditorNodeChangeKind, type EditorNodeGetOptions, type EditorNodeProps, type EditorNodeUnsetOptions, type EditorNodesOptions, type EditorNodesReadOptions, type EditorParentOptions, EditorPreview, EditorPreviewProps, type EditorPreviousOptions, EditorProvider, type EditorRead, type EditorReadAroundHandler, type EditorReadContext, type EditorReadDescriptor, type EditorReadInput, type EditorReadMethodRecord, type EditorReadMethodTree, type EditorReadMethods, type EditorReadRegistration, type EditorReadResult, type EditorReplaceChildrenOptions, type EditorReplaceNodeOptions, EditorRoot, type EditorRootEntry, type EditorRootOwner, EditorRootProps, type EditorRuntimeStateSelectorOptions, 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, EditorSelectionView, type EditorShortcut, 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, EditorText, type EditorTextChangeContext, type EditorTextChangeHandler, type EditorTextProps, 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 EditorValueInput, type EditorValuePersistence, type EditorView, type EditorViewOptions, type EditorViewStateSelectorOptions, Element, ElementApi, type ElementContentRootSlot, ElementDescriptor, ElementEntry, ElementEntryOf, ElementForDescriptor, ElementIdEntry, ElementIdPlugin, ElementIdPluginState, ElementIn, ElementInterface, ElementIsElementOptions, ElementOf, ElementOrTextIn, ElementOrTextOf, ElementStateApi, ElementStateDefinition, ElementStatePlugin, type ElementWith, ExitBreakPlugin, type ExternalTextActions, type ExternalTextAdapter, type ExternalTextChange, type ExternalTextDecoration, type ExternalTextDispatchResult, type ExternalTextOptions, type ExternalTextSelection, type ExternalTextSelectionState, type ExternalTextState, type ExternalTextView, FontBackgroundColorPlugin, FontColorPlugin, FontFamilyPlugin, FontSizePlugin, FormattingBlockEntry, FormattingContribution, FormattingPlugin, FragmentPropMode, GetFragmentPropOptions, type GetInjectNodePropsOptions, type GetInjectNodePropsReturnType, type HandlerReturnType, HeadingLevel, HeadingPlugin, HeadingRules, HighlightNode, HighlightPlugin, HighlightResult, HighlightRules, type HistoryApi, HistoryDefinition, type HistoryOutcome, HistoryPlugin, HistoryPluginState, type HistoryResult, type HistorySettlement, HorizontalRulePlugin, HorizontalRuleRules, Hotkeys, type HtmlAttributes, type HtmlContentToken, type HtmlElementPatch, type HtmlMappingDiagnosticInput, type HtmlMatchValue, type HtmlMatcher, type HtmlNodeSpec, HtmlPlugin, type HtmlPrepareDiagnosticInput, type HtmlWrapperSpec, IS_APPLE, IndentChangeOptions, IndentDefinition, IndentPlugin, IndentPluginState, type InferApi, type InferConflicts, type InferDependencies, type InferEnabled, type InferName, type InferOwnApi, type InferOwnRead, type InferOwnUpdate, type InferPluginReadGroups, type InferPluginStoreState, type InferPluginUpdateGroups, type InferRead, type InferSelectors, type InferTargetPlugins, type InferUpdate, type InitialValue, type InjectNodeProps, InputRule, InputRuleEditor, InputRuleInsertTextOptions, InputRuleTarget, InputRulesConfig, InputRulesDefinition, type InsertBreakCommand, InsertBreakInputRule, InsertBreakInputRuleContext, InsertBreakInputRuleReadContext, InsertDataInputRule, InsertDataInputRuleContext, InsertDataInputRuleReadContext, type InsertNodesCommand, type InsertSoftBreakCommand, type InsertTextCommand, InsertTextInputRule, InsertTextInputRuleContext, InsertTextInputRuleReadContext, ItalicPlugin, ItalicRules, type JsonEditorValue, type JsonNode, KbdPlugin, type KeyboardHandler, type LeafEdge, type LeafNodeProps, LeafPosition, type LeafStaticProps, LineHeightDefinition, LineHeightPlugin, LinkAttributes, LinkDefinition, LinkElement, LinkPlugin, LinkRules, ListElement, ListPlugin, ListStyle, ListType, Location, LocationApi, LocationInterface, LogLevel, MarkComboRules, MarkInputRuleConfig, MarkInputRuleMatch, MarkKeysOf, type MarkdownDecodeContext, type MarkdownEncodeContext, type MarkdownMarkWrapContext, type MarkdownMarkWrapper, type MarkdownMarks, type MarkdownNodeKind, type MarkdownNodeKinds, type MarkdownNodeMapping, type MarkdownNodeMappingInput, type MarkdownPluginRegistry, type MarkdownRefusal, type MarkdownTagAttributeView, type MarkdownTagNode, MarksIn, MarksOf, MatchBlockFenceOptions, MatchBlockStartOptions, MatchDelimitedInlineOptions, type MaximizeMode, type MergeRules, type MoveSelectionCommand, type MoveUnit, type NamedEditorSchemaIdentity, type NamedRootKey, NavigationFeedbackPlugin, NavigationFeedbackPluginState, NavigationFlashTargetOptions, Node, NodeAncestorsOptions, NodeApi, NodeChildEntry, NodeChildrenOptions, type NodeComponent, NodeDescendantsOptions, type NodeDuplicateOptions, NodeElementsOptions, NodeEntry, NodeEntryIn, NodeEntryOf, NodeFindTextRangesOptions, NodeHasPropsOptions, NodeIn, type NodeInsertNodesOptions, type NodeInsertOptions, 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, NodeSelectionDrag, NodeSelectionDragProps, NodeSelectionHighlight, NodeSelectionHighlightProps, NodeSelectionMode, type NodeSetNodesOptions, type NodeSplitNodesOptions, type NodeStaticProps, type NodeTarget, NodeTextRangeEntry, NodeTextRangeMatch, NodeTextRangeQuery, NodeTextRangeRoot, NodeTextRangeView, NodeTextsOptions, NodeTypeSelector, type NodeUnsetNodesOptions, type NodeUnwrapNodesOptions, type NodeWrapNodesOptions, type NodeWriteVeto, type NodeWriteVetoInput, type NormalizeRules, type Nullable, type OnNodeChange, type OnTextChange, OrderedListRules, OutdentListOptions, type OwnedAnnotationStore, PLUGINS, ParagraphPlugin, type PartialBasePlugin, Path, PathAncestorsOptions, PathApi, PathInterface, PathLevelsOptions, type PersistedDocumentInput, PlainTextDiagnostic, PlainTextDocumentOptions, PlainTextEditorOptions, type PlainTextEncodeContext, type PlainTextNodeMapping, type PlainTextNodeMappingInput, PlainTextSerializeResult, type Plugin, type PluginActivationContext, type PluginApiContext, type PluginApiFactory, type PluginApiFactoryContext, type PluginBaseContext, type PluginCandidateContext, type PluginCandidateEditor, type PluginCapabilities, type PluginCleanupContext, type PluginConfiguration, type PluginContext, type PluginContribution, type PluginContributionInput, type PluginDefinition, type PluginDefinitionInput, type PluginDependency, type PluginDependencyReference, type PluginExtendInput, type PluginFormatContext, type PluginFormatModelView, type PluginFormatNode, type PluginFormatRegistry, type PluginFormatSchemaView, type PluginInput, type PluginMigrationContext, PluginName, type PluginOn, type PluginOwnUpdate, type PluginPoint, type PluginPortal, PluginPublicationError, type PluginReadContext, type PluginReadFactory, type PluginReadFactoryContext, type PluginReadMiddlewareFactory, type PluginReadState, type PluginReconfigureOptions, type PluginReference, type PluginSchema, type PluginSchemaContext, type PluginSchemaDeclaration, type PluginSchemaElement, type PluginSchemaMark, type PluginSchemaReferences, type PluginSelector, type PluginSelectorArgs, type PluginSelectorMethods, type PluginSelectorReturn, type PluginSelectors, type PluginShortcutInput, type PluginSlot, type PluginSlotLike, type PluginSlotValue, type PluginState, type PluginStore, type PluginTransaction, type PluginTypeProvider, type PluginTypes, type PluginUpdate, 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, type RangeGeometry, RangeInterface, type RangeMode, type RangeRects, type ReactApi, type ReactPluginOptions, ReactUpdatePolicy, type RemoveMarkCommand, type RemoveNodesCommand, type RenderElementFn, type RenderElementProps, type RenderElementSlots, type RenderLeafFn, type RenderLeafProps, type RenderNodeWrapper, type RenderNodeWrapperConfig, type RenderNodeWrapperDescriptor, type RenderNodeWrapperFunction, type RenderNodeWrapperProps, type RenderPlaceholderProps, type RenderStaticNodeWrapper, type RenderStaticNodeWrapperFunction, type RenderStaticNodeWrapperProps, type RenderTextFn, type RenderTextHostProps, type RenderTextPieceProps, type RenderTextProps, type RenderVoidProps, type ReplaceSliceCommand, type ResolvedAnnotation, ResolvedInputRule, ResolvedInputRulesMeta, type RootChromeController, type RootKey, type RuleDecision, type ReactPlugin as RuntimeReactPlugin, type RuntimeStateSelectorOptions, 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, ScriptPlugin, ScriptRules, ScriptValue, type ScrollIntoViewTarget, type ScrollMode, type SelectCommand, Selection, SelectionApi, SelectionAssociation, SelectionChangeContext, type SelectionCollapseOptions, type SelectionEdge, SelectionInputRuleContext, type SelectionMode, type SelectionMoveOptions, type SelectionMutationMethods, type SelectionRules, type SelectionSetPointOptions, SelectionValue, type SerializedEditorEffect, type SerializedEditorSelection, type SerializedEditorValue, type SetNodesCommand, type SetSelectionCommand, type Shortcut, type Shortcuts, SingleBlockPlugin, SingleLinePlugin, type SliceLanding, type SliceLandingInput, type SliceLandingTarget, type SnapshotIndex, type SnapshotInput, Span, SpanApi, SpanInterface, type StateFieldCollabPolicy, type StateFieldDescriptor, type StateFieldHistoryPolicy, type StateFieldInitial, type StateFieldSetter, type StateFieldValueInput, type StaticRenderLeafProps, StrikethroughPlugin, StrikethroughRules, type StructuralRuleContext, type StructuralRuleEditor, type TargetFreshnessRequest, TaskListRules, Text, TextAlignDefinition, TextAlignPlugin, TextApi, type TextDeleteOptions, type TextDirection, TextEntry, TextEntryIn, TextEntryOf, TextEqualsOptions, TextIn, TextIndentDefinition, TextIndentPlugin, TextIndentPluginState, type TextInsertFragmentOptions, type TextInsertTextOptions, TextInterface, type TextMutationMethods, type TextNodeProps, TextOf, type TextRemoveTextOptions, TextSelection, type TextStaticProps, TextSubstitutionInputRuleConfig, TextSubstitutionMatch, TextSubstitutionPattern, type TextUnit, type TextUnitAdjustment, type TextWith, type ToggleBlockCommand, ToggleHeadingOptions, ToggleListOptions, type ToggleMarkCommand, type TopLevelRuntimeRange, TrailingBlockDefinition, TrailingBlockPlugin, TrailingBlockPluginState, type TransactionSpec, type TransferAdoptInput, type TransferApi, type TransferCheck, type TransferDefinition, type TransferDiagnostic, type TransferEdge, type TransferInput, type TransferIntent, type TransferLandingInput, type TransferLandingTarget, type TransferOutcome, type TransferPatch, type TransferPatchProperties, type TransferPayload, TransferPlugin, type TransferRead, type TransferRefusalReason, type TransferRelation, type TransferSide, type TransferSideInput, type TransferSourceInput, type TransferTarget, type TransferVeto, type TransferVetoInput, type TransferWrap, TransformInputRuleContext, type TransformOptions, type TxDeclaredMethod, type TxMethodDeclarations, type TxOnlyMethod, UnderlinePlugin, UnderlineRules, type UnknownObject, UnwrapLinkOptions, UpsertLinkOptions, type UseAnnotationStoreOptions, type UseContentRootOptions, type UseEditableClipOptions, type UseEditorHistoryOptions, UseEditorSelectorOptions, type UseEditorStateOptions, type UseElementSelectedMode, type UseElementSelectedOptions, type UseRootChromeOptions, type UseRootEditorOptions, type UseSelectionGeometryOptions, type UseStateFieldValueOptions, type UseViewElementAttributes, type Value, ValueChangeContext, type ValueOf, type ViewElementAttributeEntry, type ViewElementAttributes, type ViewSourceError, type ViewSourceErrorSink, type ViewSourceOptions, type ViewSourcePhase, type ViewSourceStatus, type ViewportRect, type WithAnyName, type WithRequiredName, type WrapContentProps, WrapLinkOptions, type WrapRootProps, applyDeepToNodes, authoredVeto, compileEditorSchemaContract, createBlockFenceInputRule, createBlockStartInputRule, createEditor, createEditorView, createHotkey, createMarkInputRule, createTextSubstitutionInputRule, decodeEditorEffect, defaultsDeepToNodes, defineCommand, defineEditorSchema, defineEffect, defineInputRule, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, formatting, getEditorRuntimeOwner, getFragmentProp, getInjectMatch, getLinkHref, getPluginNodeClass, inputRuleVeto, installBrowserHandle, invertEffect, isDefined, isEditor, isHotkey, isNominalPluginDescriptor, isOrderedList, isPluginElementClass, isPluginNodeClass, isUrl, locateAt, mapEffect, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, nodeWriteVeto, property, react, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema, screenReaderAnnouncementEffect, serializePlainText, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, toReactPlugin, transfer, transferVeto, txLocate, txOnly, txSelection, useAnnotation, useAnnotationStore, useAnnotations, useChildRoot, useComposedRef, useContentRoot, useCreateEditor, useDropIndicator, useEditableClip, useEditableRef, useEditor, useEditorComposing, useEditorContainerRef, useEditorFocused, useEditorHasSelection, useEditorHistory, useEditorId, useEditorMounted, useEditorPluginStore, useEditorReadOnly, useEditorRootElement, useEditorRuntimeState, useEditorScrollElement, useEditorScrollElementRef, useEditorSelection, useEditorSelector, useEditorState, useEditorValue, useEditorViewState, useElement, useElementPath, useElementSelected, useElementSelector, useFocusedLast, useIsomorphicLayoutEffect, useModelEditor, useOptionalEditor, usePath, usePluginStore, useRootChrome, useRootEditor, useRootState, useRuntimeState, useSelectionFragmentProp, useSelectionGeometry, useSetStateField, useStateFieldValue, useViewStore, valueCodecs };
|
|
1
|
+
import { $ as EditorBreakExitOptions, $a as PathApi, $c as SpanApi, $i as MoveSelectionCommand, $l as TransferWrap, $n as EditorSchemaStructureProperty, $o as PropertyJsonOptions, $r as EditorTransactionTagsApi, $s as SchemaGroup, $t as EditorNodeUnsetOptions, $u as transfer, A as CompatibleEditorCommand, Aa as NodeOf, Ac as SchemaValueFromPlugins, Ai as ElementOrTextIn, Al as TransferAdoptInput, An as EditorSchemaDefinition, Ao as PluginReadMiddlewareFactory, Ar as EditorToggleBlockOptions, As as SchemaContentRootInput, At as EditorEffectCollabTransport, B as DeleteFragmentCommand, Ba as NodeTextRangeMatch, Bc as SelectionSetPointOptions, Bi as InsertTextCommand, Bl as TransferPatch, Bn as EditorSchemaOverride, Bo as PluginUpdateFactoryContext, Br as EditorTransactionChangesApi, Bs as SchemaElementInput, Bt as EditorIsEditorOptions, C as BlockDuplicateOptions, Ca as NodeLiftNodesOptions, Cc as SchemaTextProperties, Ci as ElementApi, Cl as TextSelection, Cn as EditorSchemaContractContentProgram, Co as PluginMigrationContext, Cr as EditorStateValueApi, Cs as SchemaContent, Ct as EditorDocumentRange, Cu as editorReads, Da as NodeMoveNodesOptions, Dc as SchemaTextPropertyOptions, Di as ElementInterface, Dl as ToggleMarkCommand, Dn as EditorSchemaContractRoot, Do as PluginReadContext, Dr as EditorTargetRuntime, Ds as SchemaContentPrefixSlot, Dt as EditorEffectCollabDecodeContext, Du as getEditorRuntimeOwner, E as BooleanMarksOf, Ea as NodeMergeNodesOptions, Ec as SchemaTextPropertyKeys, Ei as ElementIn, El as ToggleBlockCommand, En as EditorSchemaContractElement, Eo as PluginPublicationError, Es as SchemaContentOptions, Et as EditorEffect, F as DecorationAttributes, Fa as NodeSelectionMode, Fc as SelectionCollapseOptions, Fi as HistorySettlement, Fl as TransferInput, Fn as EditorSchemaElementOverrideInput, Fo as PluginSlotValue, Fr as EditorTransactionBlocksApi, Fs as SchemaDescendant, Ft as EditorFragmentReadOptions, Fu as isEditor, G as DescendantEntryOf, Ga as NodeTypeSelector, Gc as SetNodesCommand, Gi as LeafPosition, Gl as TransferRefusalReason, Gn as EditorSchemaPropertyOverride, Go as PointApi, Gr as EditorTransactionNodesApi, Gs as SchemaElementPropertyKeys, Gt as EditorMarks, Gu as schema$1, H as Descendant, Ha as NodeTextRangeRoot, Hc as SerializedEditorEffect, Hi as JsonEditorValue, Hl as TransferPayload, Hn as EditorSchemaPlugin, Ho as PluginsFromOptions, Hr as EditorTransactionEffectsApi, Hs as SchemaElementPropertiesFor, Ht as EditorLevelsOptions, Hu as readEditorSchemaContract, I as DecorationRefresh, Ia as NodeSetNodesOptions, Ic as SelectionEdge, Ii as InitialValue, Il as TransferIntent, In as EditorSchemaElementStructure, Io as PluginTypeProvider, Ir as EditorTransactionBreakApi, Is as SchemaElement, Iu as locateAt, J as DocumentChange, Ja as NodeWrapNodesOptions, Jc as SliceLandingInput, Ji as LocationInterface, Jl as TransferSideInput, Jn as EditorSchemaPropertyReadOptions, Jo as ProjectedRangeSegment, Jr as EditorTransactionRemoved, Js as SchemaElementShapeFor, Jt as EditorNodeChangeContext, K as DescendantIn, Ka as NodeUnsetNodesOptions, Kc as SetSelectionCommand, Ki as Location, Kl as TransferRelation, Kn as EditorSchemaPropertyOverrideInput, Ko as PointEntry, Kr as EditorTransactionPluginsApi, Ks as SchemaElementPropertyOptions, Kt as EditorMarksOf, Ku as screenReaderAnnouncementEffect, L as DecorationSource, La as NodeSplitNodesOptions, Lc as SelectionMode, Li as InsertBreakCommand, Ll as TransferLandingInput, Ln as EditorSchemaGetProperty, Lr as EditorTransactionChangeContext, Ls as SchemaElementConstructionPropertiesFor, Lt as EditorInstalledApiGroups, Lu as mapEffect, Ma as NodeRemoveNodesOptions, Mc as Selection, Mi as HistoryApi, Ml as TransferCheck, Mn as EditorSchemaDerivedDefinition, Mr as EditorTransactionAnchor, Ms as SchemaContentRootSlotsFor, Mt as EditorEffectType, N as DebugValueScrubber, Na as NodeReplaceChildrenOptions, Nc as SelectionApi, Ni as HistoryOutcome, Nl as TransferDiagnostic, Nn as EditorSchemaElement, No as PluginSlot, Nr as EditorTransactionAnchorApi, Ns as SchemaContentRootStructure, Nt as EditorElementBehavior, Nu as invertEffect, O as ChildOf, Oa as NodeMutationMethods, Oc as SchemaTypesTarget, Oi as ElementIsElementOptions, Ol as TopLevelRuntimeRange, On as EditorSchemaContribution, Oo as PluginReadFactory, Or as EditorTextChangeContext, Os as SchemaContentRoot, Ot as EditorEffectCollabEncodeContext, P as Decoration, Pa as NodeSelection, Pc as SelectionAssociation, Pi as HistoryResult, Pl as TransferEdge, Pn as EditorSchemaElementOverride, Po as PluginSlotLike, Pr as EditorTransactionAnnotationsApi, Ps as SchemaContentRule, Pt as EditorFragmentDeletionOptions, Q as EditorBlockToggleOptions, Qa as PathAncestorsOptions, Qc as Span, Qi as MaximizeMode, Ql as TransferVetoInput, Qo as PropertyJsonDescriptor, Qr as EditorTransactionSpecBuilder, Qs as SchemaElementTypes, Qu as target, Ra as NodeTarget, Rc as SelectionMoveOptions, Ri as InsertNodesCommand, Rl as TransferLandingTarget, Rn as EditorSchemaIdentity, Ro as PluginTypes, Rr as EditorTransactionChangeHandler, Rs as SchemaElementFor, Rt as EditorInstalledReadGroups, S as BaseText, Sa as NodeLevelsOptions, Sc as SchemaTextBlockOptions, Si as Element, Sl as TextRemoveTextOptions, Sn as EditorSchemaContractChangeKind, Sr as EditorStateUniqueApi, Ss as SchemaBuiltInGroupName, Su as editorCommands, T as BooleanMarkKeysOf, Ta as NodeMatchPredicate, Tc as SchemaTextPropertyDefinition, Ti as ElementEntryOf, Tl as TextUnitAdjustment, Tn as EditorSchemaContractDiff, Tr as EditorStateViewApi, Ts as SchemaContentInput, Tt as EditorDocumentValue, U as DescendantEntry, Ua as NodeTextRangeView, Uc as SerializedEditorSelection, Ui as JsonNode, Uo as PluginsOf, Ur as EditorTransactionFragmentApi, Us as SchemaElementProperty, Ut as EditorLifecycleError, V as DerivedEditorSchemaIdentity, Va as NodeTextRangeQuery, Vc as SelectionValue, Vl as TransferPatchProperties, Vn as EditorSchemaOverrideInput, Vr as EditorTransactionDocumentChangeKind, Vs as SchemaElementProperties, Vt as EditorJsonValue, Vu as property, W as DescendantEntryIn, Wa as NodeTextsOptions, Wc as SerializedEditorValue, Wi as LeafEdge, Wl as TransferRead, Wn as EditorSchemaProperty, Wo as Point, Wr as EditorTransactionMarksApi, Ws as SchemaElementPropertyDefinition, Wt as EditorLifecycleErrorSink, Wu as restoreEditorSchemaContract, X as EditorAboveOptions, Xa as NodeWriteVetoInput, Xc as SnapshotIndex, Xi as MarksIn, Xl as TransferTarget, Xn as EditorSchemaRepairCode, Xo as PropertyBuilderApi, Xr as EditorTransactionSelectionApi, Xs as SchemaElementStructure, Xt as EditorNodeChangeKind, Xu as setEditorViewing, Ya as NodeWriteVeto, Yc as SliceLandingTarget, Yi as MarkKeysOf, Yl as TransferSourceInput, Yn as EditorSchemaReadProperty, Yo as PropertyBooleanDescriptor, Yr as EditorTransactionRootsApi, Ys as SchemaElementSlicePolicy, Yt as EditorNodeChangeHandler, Yu as setEditorReadOnly, Z as EditorBlockOptions, Za as Path, Zc as SnapshotInput, Zi as MarksOf, Zl as TransferVeto, Zn as EditorSchemaSource, Zo as PropertyEnumDescriptor, Zr as EditorTransactionSliceApi, Zs as SchemaElementTarget, Zt as EditorNodeGetOptions, _ as AuthoredVeto, _a as NodeInsertNodesOptions, _c as SchemaPropertyTypeChangePolicy, _i as EditorValueFromPlugins, _l as TextInsertFragmentOptions, _n as EditorRootOwner, _r as EditorStateRuntimeApi, _s as RemoveMarkCommand, _t as EditorCommitRuntimeChangeKind, _u as defineUpdateAnnotation, a as AncestorIn, aa as NodeApi, ac as SchemaProperty, ad as valueCodecs, ai as EditorUpdateAnnotation, al as StateFieldValueInput, an as EditorReadAroundHandler, ao as PluginApiFactory, ar as EditorSchemaVocabulary, as as PropertyValidation, at as EditorCommandDispatch, b as BasePoint, ba as NodeIsNodeOptions, bc as SchemaTarget, bi as EditorView, bl as TextMutationMethods, bn as EditorSchemaContract, br as EditorStateSliceApi, bt as EditorCoreUpdateTransaction, bu as diffEditorSchemaContracts, c as AnchorAssociation, ca as NodeDescendantsOptions, cc as SchemaPropertyExclusiveGroup, ci as EditorUpdatePolicy, cl as Text, cn as EditorReadInput, co as PluginCandidateEditor, cr as EditorSelectionTargetOptions, cs as PropertyValueOf, ct as EditorCommandPlace, cu as compileEditorSchemaContract, d as AnchorValue, da as NodeEntry, dc as SchemaPropertyIds, di as EditorUpdateTagInput, dl as TextDirection, dn as EditorReadMethods, do as PluginContribution, dr as EditorStateField, ds as RangeAnchorAssociation, dt as EditorCommit, du as defineCommand$1, ea as MoveUnit, ec as SchemaGroupNames, ed as transferVeto, ei as EditorTransactionTextApi, el as SpanInterface, en as EditorNodesOptions, eo as PathInterface, er as EditorSchemaUnknownPolicy, es as PropertyNumberDescriptor, et as EditorCanonicalUpdateTag, eu as TxDeclaredMethod, fa as NodeEntryIn, fc as SchemaPropertyKey, fi as EditorUpdateTransaction, fl as TextEntry, fn as EditorReadRegistration, fo as PluginContributionInput, fr as EditorStateFragmentApi, fs as RangeApi, ft as EditorCommitChangeKind, fu as defineEditorSchema, g as AuthoredTouch, ga as NodeIn, gc as SchemaPropertySplitPolicy, gi as EditorValueFromOptions, gl as TextIn, gn as EditorRootEntry, go as PluginDependencyReference, gr as EditorStateRangesApi, gs as RangeMode, gt as EditorCommitListener, gu as defineStateField, ha as NodeHasPropsOptions, hc as SchemaPropertyRole, hi as EditorUpdateValueFromPlugin, hl as TextEqualsOptions, hn as EditorReplaceNodeOptions, hr as EditorStatePointsApi, hs as RangeInterface, ht as EditorCommitHandler, hu as definePluginSlot, i as AncestorEntryOf, ia as NodeAncestorsOptions, ic as SchemaPluginsOf, ii as EditorUpdate, il as StateFieldInitial, in as EditorRead, io as PluginActivationContext, ir as EditorSchemaValidationPropertyContext, is as PropertyStringDescriptor, it as EditorCommandDescriptor, iu as ValueOf, j as ContentSlice, jc as SelectCommand, ji as ElementOrTextOf, jl as TransferApi, jn as EditorSchemaDelta, jo as PluginReconfigureOptions, jr as EditorToggleMarkOptions, js as SchemaContentRootOwnership, jt as EditorEffectHistoryReplayResult, k as CollapseSelectionCommand, ka as NodeNodesOptions, kc as SchemaValue, ki as ElementOf, kl as TransactionSpec, kn as EditorSchemaDeclaration, ko as PluginReadFactoryContext, kr as EditorTextChangeHandler, ks as SchemaContentRootContribution, kt as EditorEffectCollabReplay, ku as getSelection, l as AnchorDeletionPolicy, la as NodeDuplicateOptions, lc as SchemaPropertyHandle, li as EditorUpdatePolicyFor, ll as TextApi, ln as EditorReadMethodRecord, lo as PluginCapabilities, lr as EditorSliceReadOptions, ls as PropertyValueOptions, lt as EditorCommandResult, lu as createEditorView, m as AuthoredProjectionDiagnostic, ma as NodeFindTextRangesOptions, mc as SchemaPropertyReferences, ml as TextEntryOf, mn as EditorReplaceChildrenOptions, mr as EditorStateNodesApi, ms as RangeEdgesOptions, mt as EditorCommitContext, mu as definePluginPoint, n as Ancestor, na as NamedRootKey, nc as SchemaKeyPrefix, nd as txOnly, ni as EditorTransactionValueApi, nl as StateFieldDescriptor, nn as EditorParentOptions, no as PersistedDocumentInput, nr as EditorSchemaValidationDiagnostic, ns as PropertySetDescriptor, nt as EditorCommandAroundHandler, nu as TxOnlyMethod, o as AncestorOf, oa as NodeChildEntry, oc as SchemaPropertyCopyPolicy, oi as EditorUpdateContext, on as EditorReadContext, oo as PluginApiFactoryContext, or as EditorSelection, os as PropertyValueDescriptor, ot as EditorCommandHandler, ou as authoredVeto, p as AuthoredDocumentProjection, pa as NodeEntryOf, pc as SchemaPropertyLandingPolicy, pl as TextEntryIn, pn as EditorReadResult, po as PluginDefinition, pr as EditorStateMarksApi, ps as RangeDirection, pt as EditorCommitChanged, pu as defineEffect, q as DescendantOf, qa as NodeUnwrapNodesOptions, qc as SliceLanding, qi as LocationApi, ql as TransferSide, qn as EditorSchemaPropertyQuery, qo as PointInterface, qr as EditorTransactionRecordsApi, qs as SchemaElementPropertyValue, qt as EditorNextOptions, qu as setDebugValueScrubber, r as AncestorEntry, ra as Node, rd as txSelection, ri as EditorUniqueHolder, rl as StateFieldHistoryPolicy, rn as EditorPreviousOptions, rr as EditorSchemaValidationError, rs as PropertySetOptions, rt as EditorCommandContinuation, ru as Value, s as Anchor, sa as NodeChildrenOptions, sc as SchemaPropertyDefinition, si as EditorUpdateMethods, sl as TargetFreshnessRequest, sn as EditorReadDescriptor, so as PluginCandidateContext, sr as EditorSelectionBlockOptions, ss as PropertyValueKind, st as EditorCommandInput, t as AddMarkCommand, ta as NamedEditorSchemaIdentity, tc as SchemaGroupOptions, td as txLocate, ti as EditorTransactionTopLevelRange, tl as StateFieldCollabPolicy, tn as EditorNodesReadOptions, to as PathLevelsOptions, tr as EditorSchemaValidationCode, ts as PropertyOptionsOf, tt as EditorCommand, tu as TxMethodDeclarations, u as AnchorOptions, ua as NodeElementsOptions, uc as SchemaPropertyHandleValue, ui as EditorUpdateTag, ul as TextDeleteOptions, un as EditorReadMethodTree, uo as PluginCleanupContext, ur as EditorSnapshot, us as Range, ut as EditorCommands, uu as decodeEditorEffect, v as BaseElement, va as NodeInsertSplitOptions, vc as SchemaRecordSet, vi as EditorValuePersistence, vl as TextInsertTextOptions, vn as EditorSchemaContent, vr as EditorStateSchemaApi, vs as RemoveNodesCommand, vt as EditorCoreStateView, wa as NodeMatch, wc as SchemaTextProperty, wi as ElementEntry, wl as TextUnit, wn as EditorSchemaContractContentRoot, wo as PluginPoint, wr as EditorStateView, ws as SchemaContentDefault, wt as EditorDocumentRecords, wu as encodeEditorEffect, x as BaseRange, xa as NodeKey, xc as SchemaText, xi as EditorViewOptions, xl as TextOf, xn as EditorSchemaContractChange, xo as PluginInput, xr as EditorStateTextApi, xs as RootKey, xt as EditorDirectCommandDispatch, xu as documentReplacement, y as BaseNode, ya as NodeInterface, yc as SchemaRootNames, yl as TextInterface, yn as EditorSchemaContentRoot, yr as EditorStateSelectionApi, ys as ReplaceSliceCommand, yt as EditorCoreUpdateMethods, z as DeleteCommand, za as NodeTextRangeEntry, zc as SelectionMutationMethods, zi as InsertSoftBreakCommand, zl as TransferOutcome, zn as EditorSchemaNamedDefinition, zo as PluginUpdateFactory, zr as EditorTransactionChanged, zs as SchemaElementHandle, zt as EditorInstalledUpdateGroups, zu as nodeWriteVeto } from "../index-DpltOCot-A2b3p3Eb.js";
|
|
2
|
+
import { h as EditorApplicationSchema } from "../htmlTypes-cg_cWsaN.js";
|
|
3
|
+
import { $a as InferEnabled, $n as HeadingRules, $r as InputRulesDefinition, $t as UpsertLinkOptions, Aa as RenderElementFn, Ai as AutoScrollOptions, An as CapturedFormat, Ao as PluginSelectorMethods, Ar as BaseParagraphDefinition, At as PlainTextSerializeResult, Bi as DebugPlugin, Bn as BaseStrikethroughPlugin, Bo as WithRequiredName, Br as HtmlPlugin, Bt as OutdentListOptions, C as BasePluginOn, Ca as MarkdownTagNode, Ci as ElementStatePlugin, Cn as BaseTextAlignPlugin, Co as PluginSchemaContext, Cr as RenderTextFn, Ct as PluginTransaction, Da as PluginFormatRegistry, Di as AutoScrollApi, Dn as TextIndentDefinition, Do as PluginSchemaReferences, Dr as RenderLeafFn, Dt as PlainTextDiagnostic, E as ConfiguredBasePlugin, Ea as PluginFormatModelView, Ei as ElementIdPluginState, En as TextAlignDefinition, Eo as PluginSchemaMark, F as HtmlMatchValue, Fa as ElementWith, Fi as ScrollIntoViewTarget, Fn as BaseCodePlugin, Fo as RuleDecision, Fr as createBlockStartInputRule, Ft as BulletedListRules, G as PluginShortcutInput, Ga as DefinitionOf, Gi as AffinityEdgeNodes, Gn as ItalicRules, Go as AnyObject, Gr as BlockStartInputRuleConfig, Gt as BaseLinkDefinition, H as LeafStaticProps, Ha as BasePluginDefinition, Hi as EditorError, Hn as BoldRules, Hr as BaseInputRule, Ht as ToggleListOptions, I as HtmlMatcher, Ia as PluginFormatNode, Ii as ScrollMode, In as BaseHighlightPlugin, Io as SelectionRules, Ir as createMarkInputRule, It as ListElement, J as RenderStaticNodeWrapperProps, Ja as GetInjectNodePropsOptions, Ji as TransferDefinition, Jn as ScriptValue, Jr as InputRule, Jt as CreateLinkNodeOptions, K as RenderStaticNodeWrapper, Ka as DeleteRules, Ki as AffinityPlugin, Kn as MarkComboRules, Ko as UnknownObject, Kr as BlockStartInputRuleMatch, Kt as BaseLinkPlugin, L as HtmlNodeSpec, La as TextWith, Li as DebugApi, Ln as BaseItalicPlugin, Lo as StructuralRuleContext, Lr as createTextSubstitutionInputRule, Lt as ListStyle, M as HtmlAttributes, Ma as RenderElementSlots, Mi as DomApi, Mn as FormattingContribution, Mo as PluginSelectors, Mr as inputRuleVeto, Mt as BULLETED_LIST_STYLES, N as HtmlContentToken, Na as HandlerReturnType, Ni as DomPluginState, Nn as formatting, No as PluginStore, Nr as defineInputRule, Nt as BaseListDefinition, O as DeclaredPluginShortcutInput, Oa as PluginFormatSchemaView, Oi as AutoScrollChangeKind, On as TextIndentPluginState, Oo as PluginSelector, Ot as PlainTextDocumentOptions, P as HtmlElementPatch, Pa as DocxNodeMapping, Pi as DomPluginUpdate, Pn as BaseBoldPlugin, Pr as createBlockFenceInputRule, Pt as BaseListPlugin, Qa as InferDependencies, Qi as HistoryPluginState, Qn as HeadingLevel, Qr as InputRulesConfig, Qt as UnwrapLinkOptions, R as HtmlPrepareDiagnosticInput, Ra as nanoid, Ri as DebugDefinition, Rn as BaseKbdPlugin, Ro as StructuralRuleEditor, Rr as matchBlockStart, Rt as ListType, S as BasePluginImplementationContext, Sa as MarkdownTagAttributeView, Si as ElementStateDefinition, Sn as BaseLineHeightPlugin, So as PluginSchema, Sr as EditableProps, St as PluginState, T as BasePluginPortal, Ta as PluginFormatContext, Ti as ElementIdPlugin, Tn as LineHeightDefinition, To as PluginSchemaElement, Tr as RenderTextPieceProps, U as NodeStaticProps, Ui as LogLevel, Un as CodeRules, Ur as BlockFenceInputRuleConfig, Ut as isOrderedList, Va as BaseInjectProps, Vi as DebugPluginState, Vn as BaseUnderlinePlugin, Vt as TaskListRules, W as PartialBasePlugin, Wa as BreakRules, Wi as AffinityDefinition, Wn as HighlightRules, Wo as Nullable, Wr as BlockFenceInputRuleMatch, Xa as InferApi, Xi as HistoryDefinition, Xn as UnderlineRules, Xr as InputRuleInsertTextOptions, Xt as LinkElement, Y as TextStaticProps, Ya as GetInjectNodePropsReturnType, Yi as TransferPlugin, Yn as StrikethroughRules, Yr as InputRuleEditor, Yt as LinkAttributes, Za as InferConflicts, Zi as HistoryPlugin, Zn as BaseHeadingPlugin, Zr as InputRuleTarget, Zt as LinkRules, _ as BasePlugin, _a as MarkdownNodeKinds, _i as TextSubstitutionInputRuleConfig, _n as Alignment, _o as PluginBaseContext, _r as getFragmentProp, _t as NodeInsertOptions, a as SingleLinePlugin, ai as InsertDataInputRuleReadContext, an as IndentPluginState, ao as InferPluginStoreState, ar as getPluginNodeClass, b as BasePluginDefinitionInput, ba as MarkdownPluginRegistry, bi as TransformInputRuleContext, bn as BaseFontFamilyPlugin, br as ApplyDeepToNodesOptions, c as PLUGINS, ca as PlainTextEncodeContext, ci as InsertTextInputRuleReadContext, cn as BaseCodeBlockPlugin, co as InferRead, cr as mergeDeepToNodes, ct as BlockInsertOptions, da as MarkdownDecodeContext, di as MatchBlockFenceOptions, dn as CodeBlockElement, do as InferUpdate, dr as Hotkeys, ei as InsertBreakInputRule, en as WrapLinkOptions, eo as InferName, er as ToggleHeadingOptions, fa as MarkdownEncodeContext, fi as MatchBlockStartOptions, fn as CodeHighlightDefinition, fo as MergeRules, fr as createHotkey, ga as MarkdownNodeKind, gi as SelectionInputRuleContext, gn as HighlightResult, go as NormalizeRules, gr as GetFragmentPropOptions, ha as MarkdownMarks, hi as ResolvedInputRulesMeta, hn as HighlightNode, hr as FragmentPropMode, i as TrailingBlockPluginState, ii as InsertDataInputRuleContext, in as IndentDefinition, io as InferPluginReadGroups, ir as HorizontalRuleRules, j as EditorShortcut, ji as AutoScrollUpdate, jn as FormattingBlockEntry, jo as PluginSelectorReturn, jr as BaseParagraphPlugin, jt as serializePlainText, ka as ElementContentRootSlot, ki as AutoScrollChangesMap, kn as BaseFormattingPlugin, ko as PluginSelectorArgs, kr as StaticRenderLeafProps, kt as PlainTextEditorOptions, l as PluginName, la as PlainTextNodeMapping, li as MarkInputRuleConfig, ln as BaseCodeHighlightPlugin, lo as InferSelectors, lr as isUrl, lt as BlockUpsertOptions, ma as MarkdownMarkWrapper, mi as ResolvedInputRule, mn as CodeHighlightPluginState, mr as getInjectMatch, n as TrailingBlockDefinition, ni as InsertBreakInputRuleReadContext, nn as BaseIndentPlugin, no as InferOwnRead, nr as BaseHorizontalRulePlugin, o as SingleBlockPlugin, oi as InsertTextInputRule, oo as InferPluginUpdateGroups, or as isPluginElementClass, pa as MarkdownMarkWrapContext, pi as MatchDelimitedInlineOptions, pn as CodeHighlightLowlight, po as NodeComponent, pr as isHotkey, q as RenderStaticNodeWrapperFunction, qa as EditOnlyConfig, qi as AffinityPluginUpdate, qn as ScriptRules, qr as DelimitedInlineInputRuleMatch, qt as BaseLinkPluginState, r as TrailingBlockPlugin, ri as InsertDataInputRule, rn as IndentChangeOptions, ro as InferOwnUpdate, rr as BlockquoteRules, rt as EditorValueInput, s as ExitBreakPlugin, si as InsertTextInputRuleContext, sn as CodeBlockRules, sr as isPluginNodeClass, st as BasePluginInput, t as isNominalPluginDescriptor, ti as InsertBreakInputRuleContext, tn as getLinkHref, to as InferOwnApi, tr as BaseBlockquotePlugin, ua as PlainTextNodeMappingInput, ui as MarkInputRuleMatch, un as CodeBlockDefinition, uo as InferTargetPlugins, ur as isDefined, v as BasePluginConfiguration, va as MarkdownNodeMapping, vi as TextSubstitutionMatch, vn as BaseFontBackgroundColorPlugin, vr as IS_APPLE, w as BasePluginOverride, wa as HtmlMappingDiagnosticInput, wi as ElementIdEntry, wn as BaseTextIndentPlugin, wo as PluginSchemaDeclaration, wr as RenderTextHostProps, wt as PluginUpdate, x as BasePluginExtendInput, xa as MarkdownRefusal, xi as ElementStateApi, xn as BaseFontSizePlugin, xo as PluginReference, xr as applyDeepToNodes, xt as PluginReadState, y as BasePluginContext, ya as MarkdownNodeMappingInput, yi as TextSubstitutionPattern, yn as BaseFontColorPlugin, yo as PluginDependency, yr as defaultsDeepToNodes, yt as PluginOwnUpdate, z as HtmlWrapperSpec, zi as DebugErrorType, zn as BaseScriptPlugin, zo as WithAnyName, zr as matchDelimitedInline, zt as OrderedListRules } from "../core-ClHasORr.js";
|
|
4
|
+
import { a as AnnotationSnapshot, c as OwnedAnnotationStore, d as ViewSourceErrorSink, f as ViewSourceOptions, i as AnnotationRefreshOptions, l as ResolvedAnnotation, m as ViewSourceStatus, n as AnnotationAnchor, o as AnnotationStore, p as ViewSourcePhase, r as AnnotationChange, s as AnnotationStoreOptions, t as Annotation, u as ViewSourceError } from "../index-DPWyk3lG-DOYwohXO.js";
|
|
5
|
+
import { $ as useOptionalEditor, $n as ExternalTextDispatchResult, $t as EditorProvider, A as BlockPlaceholderPlugin, An as EditableDOMBeforeInputHandler, Ar as useAnnotationStore, At as Plugin, B as useEditableRef, Bn as EditableHistoryReplayResult, Br as useEditorViewState, Bt as RenderNodeWrapperDescriptor, C as ItalicPlugin, Cn as ValueChangeContext, Cr as UseRootChromeOptions, D as UnderlinePlugin, Dn as NodeSelectionHighlightProps, Dr as installBrowserHandle, Dt as NodeProps, E as StrikethroughPlugin, En as NodeSelectionHighlight, Er as UseStateFieldValueOptions, Et as LeafNodeProps, F as usePluginStore, Fn as EditableDropResult, Fr as useEditableClip, Ft as PluginExtendInput, G as useEditorHasSelection, Gn as EditorHistoryController, Gr as useRootState, Gt as TextNodeProps, H as useEditorComposing, Hn as EditableKeyDownHandler, Hr as useElementSelected, Ht as RenderNodeWrapperProps, I as UseEditorSelectorOptions, In as EditableElementSlots, Ir as useEditorRootElement, It as PluginOn, J as useEditorReadOnly, Jn as EditorViewStateSelectorOptions, Jr as useSetStateField, Jt as ViewElementAttributeEntry, K as useEditorId, Kn as EditorHistoryFocusPolicy, Kr as useRuntimeState, Kt as TransformOptions, L as useEditorSelector, Ln as EditableHandlerContext, Lr as useEditorRuntimeState, Lt as PluginPortal, M as BlockPlaceholderQueryContext, Mn as EditableDOMCoverageBoundaryPlaceholderContext, Mr as useChildRoot, Mt as PluginConfiguration, N as useViewStore, Nn as EditableDOMCoverageBoundaryProps, Nr as useContentRoot, Nt as PluginContext, O as useSelectionFragmentProp, On as ContentRootController, Or as react, Ot as OnNodeChange, P as useEditorPluginStore, Pn as EditableDOMCoverageBoundaryScope, Pr as useDropIndicator, Pt as PluginDefinitionInput, Q as useModelEditor, Qn as ExternalTextDecoration, Qr as ViewportRect, Qt as EditorController, R as useEditorHistory, Rn as EditableHandlerResult, Rr as useEditorScrollElement, Rt as RenderNodeWrapper, S as HorizontalRulePlugin, Sn as SelectionChangeContext, Sr as UseElementSelectedOptions, T as ScriptPlugin, Tn as NodeSelectionDragProps, Tr as UseSelectionGeometryOptions, U as useEditorContainerRef, Un as EditablePasteResult, Ur as useRootChrome, Ut as Shortcut, V as useEditor, Vn as EditableInputEventContext, Vr as useElementPath, Vt as RenderNodeWrapperFunction, W as useEditorFocused, Wr as useRootEditor, Wt as Shortcuts, X as useEditorState, Xn as ExternalTextAdapter, Xr as RangeGeometry, Xt as WrapContentProps, Y as useEditorSelection, Yn as ExternalTextActions, Yr as useStateFieldValue, Yt as ViewElementAttributes, Z as useEditorValue, Zn as ExternalTextChange, Zr as RangeRects, Zt as WrapRootProps, _ as BlockquotePlugin, _n as EditorContentProps, _r as UseAnnotationStoreOptions, _t as Decorate, a as LinkPlugin, an as EditorNodeProps, ar as ReactApi, at as ParagraphPlugin, b as HeadingPlugin, bn as EditorRoot, br as UseEditorHistoryOptions, bt as InjectNodeProps, c as CodeHighlightPlugin, cr as ReactUpdatePolicy, ct as NavigationFlashTargetOptions, d as FontFamilyPlugin, dn as KeyboardHandler, dr as RenderPlaceholderProps, dt as CreateEditorOptions, en as EditorElement, er as ExternalTextOptions, et as usePath, f as FontSizePlugin, fn as DOMHandler, fr as RenderTextProps, ft as createEditor, g as TextIndentPlugin, gn as EditorContent, gr as StateFieldSetter, gt as ContainerSiblingProps, h as TextAlignPlugin, hn as EditorPreviewProps, hr as RuntimeStateSelectorOptions, ht as ConfiguredPlugin, i as LinkDefinition, in as EditorLeafProps, ir as ExternalTextView, it as useElement, j as BlockPlaceholderPluginState, jn as EditableDOMCoverageBoundaryMaterializePayload, jr as useAnnotations, jt as PluginApiContext, k as BlockPlaceholderDefinition, kn as EditableDOMBeforeInputContext, kr as useAnnotation, kt as OnTextChange, l as FontBackgroundColorPlugin, ln as toReactPlugin, lr as RenderElementProps, lt as useFocusedLast, m as LineHeightPlugin, mn as EditorPreview, mr as RootChromeController, mt as useIsomorphicLayoutEffect, nn as EditorHTMLProps, nr as ExternalTextSelectionState, nt as ElementDescriptor, o as IndentPlugin, on as EditorText, or as ReactPlugin, ot as NavigationFeedbackPlugin, p as FormattingPlugin, pn as DOMHandlers, pr as RenderVoidProps, pt as useComposedRef, q as useEditorMounted, qn as EditorRuntimeStateSelectorOptions, qr as useSelectionGeometry, qt as UseViewElementAttributes, r as ListPlugin, rn as EditorLeaf, rr as ExternalTextState, rt as ElementForDescriptor, s as CodeBlockPlugin, sn as EditorTextProps, sr as ReactPluginOptions, st as NavigationFeedbackPluginState, t as Editor, tn as EditorElementProps, tr as ExternalTextSelection, tt as useElementSelector, u as FontColorPlugin, un as definePlugin, ur as RenderLeafProps, ut as useCreateEditor, v as BoldPlugin, vn as EditorContainer, vr as UseContentRootOptions, vt as EditableSiblingComponent, w as KbdPlugin, wn as NodeSelectionDrag, wr as UseRootEditorOptions, x as HighlightPlugin, xn as EditorRootProps, xr as UseElementSelectedMode, y as CodePlugin, yn as CommitContext, yr as UseEditableClipOptions, yt as EditableSiblingProps, z as UseEditorStateOptions, zn as EditableHistoryReplayEvent, zr as useEditorScrollElementRef, zt as RenderNodeWrapperConfig } from "../index-8WO2vI0U.js";
|
|
6
|
+
export { type AddMarkCommand, AffinityDefinition, AffinityEdgeNodes, AffinityPlugin, AffinityPluginUpdate, Alignment, Ancestor, AncestorEntry, AncestorEntryOf, AncestorIn, AncestorOf, type Anchor, type AnchorAssociation, type AnchorDeletionPolicy, type AnchorOptions, type AnchorValue, type Annotation, type AnnotationAnchor, type AnnotationChange, type AnnotationRefreshOptions, type AnnotationSnapshot, type AnnotationStore, type AnnotationStoreOptions, type AnyObject, ApplyDeepToNodesOptions, type AuthoredDocumentProjection, type AuthoredProjectionDiagnostic, type AuthoredTouch, type AuthoredVeto, type AutoScrollApi, type AutoScrollChangeKind, type AutoScrollChangesMap, type AutoScrollOptions, type AutoScrollUpdate, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseElement, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, type BaseInjectProps, BaseInputRule, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkDefinition, BaseLinkPlugin, BaseLinkPluginState, BaseListDefinition, BaseListPlugin, BaseNode, BaseParagraphDefinition, BaseParagraphPlugin, type BasePlugin, type BasePluginConfiguration, type BasePluginContext, type BasePluginDefinition, type BasePluginDefinitionInput, type BasePluginExtendInput, type BasePluginImplementationContext, type BasePluginInput, type BasePluginOn, type BasePluginOverride, type BasePluginPortal, BasePoint, BaseRange, BaseScriptPlugin, BaseStrikethroughPlugin, BaseText, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, type BlockDuplicateOptions, BlockFenceInputRuleConfig, BlockFenceInputRuleMatch, type BlockInsertOptions, BlockPlaceholderDefinition, BlockPlaceholderPlugin, BlockPlaceholderPluginState, BlockPlaceholderQueryContext, BlockStartInputRuleConfig, BlockStartInputRuleMatch, type BlockUpsertOptions, BlockquotePlugin, BlockquoteRules, BoldPlugin, BoldRules, BooleanMarkKeysOf, BooleanMarksOf, type BreakRules, BulletedListRules, CapturedFormat, ChildOf, CodeBlockDefinition, CodeBlockElement, CodeBlockPlugin, CodeBlockRules, CodeHighlightDefinition, CodeHighlightLowlight, CodeHighlightPlugin, CodeHighlightPluginState, CodePlugin, CodeRules, type CollapseSelectionCommand, CommitContext, type CompatibleEditorCommand, type ConfiguredBasePlugin, type ConfiguredPlugin, type ContainerSiblingProps, type ContentRootController, ContentSlice, type CreateEditorOptions, CreateLinkNodeOptions, type DOMHandler, type DOMHandlers, DebugApi, DebugDefinition, DebugErrorType, DebugPlugin, DebugPluginState, type DebugValueScrubber, type DeclaredPluginShortcutInput, type Decorate, type Decoration, type DecorationAttributes, type DecorationRefresh, type DecorationSource, type DefinitionOf, type DeleteCommand, type DeleteFragmentCommand, type DeleteRules, DelimitedInlineInputRuleMatch, type DerivedEditorSchemaIdentity, Descendant, DescendantEntry, DescendantEntryIn, DescendantEntryOf, DescendantIn, DescendantOf, DocumentChange, type DocxNodeMapping, type DomApi, type DomPluginState, type DomPluginUpdate, type EditOnlyConfig, type EditableDOMBeforeInputContext, type EditableDOMBeforeInputHandler, type EditableDOMCoverageBoundaryMaterializePayload, type EditableDOMCoverageBoundaryPlaceholderContext, type EditableDOMCoverageBoundaryProps, type EditableDOMCoverageBoundaryScope, type EditableDropResult, type EditableElementSlots, type EditableHandlerContext, type EditableHandlerResult, type EditableHistoryReplayEvent, type EditableHistoryReplayResult, type EditableInputEventContext, type EditableKeyDownHandler, type EditablePasteResult, type EditableProps, type EditableSiblingComponent, type EditableSiblingProps, type Editor, type EditorAboveOptions, type EditorApplicationSchema, 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, EditorContainer, EditorContent, type EditorContentProps, EditorController, 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 EditorEffectHistoryReplayResult, type EditorEffectType, EditorElement, type EditorElementBehavior, type EditorElementProps, EditorError, type EditorFragmentDeletionOptions, type EditorFragmentReadOptions, type EditorHTMLProps, type EditorHistoryController, type EditorHistoryFocusPolicy, type EditorInstalledApiGroups, type EditorInstalledReadGroups, type EditorInstalledUpdateGroups, type EditorIsEditorOptions, type EditorJsonValue, EditorLeaf, type EditorLeafProps, type EditorLevelsOptions, type EditorLifecycleError, type EditorLifecycleErrorSink, type EditorMarks, type EditorMarksOf, type EditorNextOptions, type EditorNodeChangeContext, type EditorNodeChangeHandler, type EditorNodeChangeKind, type EditorNodeGetOptions, type EditorNodeProps, type EditorNodeUnsetOptions, type EditorNodesOptions, type EditorNodesReadOptions, type EditorParentOptions, EditorPreview, EditorPreviewProps, type EditorPreviousOptions, EditorProvider, type EditorRead, type EditorReadAroundHandler, type EditorReadContext, type EditorReadDescriptor, type EditorReadInput, type EditorReadMethodRecord, type EditorReadMethodTree, type EditorReadMethods, type EditorReadRegistration, type EditorReadResult, type EditorReplaceChildrenOptions, type EditorReplaceNodeOptions, EditorRoot, type EditorRootEntry, type EditorRootOwner, EditorRootProps, type EditorRuntimeStateSelectorOptions, 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 EditorShortcut, 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, EditorText, type EditorTextChangeContext, type EditorTextChangeHandler, type EditorTextProps, 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 EditorValueInput, type EditorValuePersistence, type EditorView, type EditorViewOptions, type EditorViewStateSelectorOptions, Element, ElementApi, type ElementContentRootSlot, ElementDescriptor, ElementEntry, ElementEntryOf, ElementForDescriptor, ElementIdEntry, ElementIdPlugin, ElementIdPluginState, ElementIn, ElementInterface, ElementIsElementOptions, ElementOf, ElementOrTextIn, ElementOrTextOf, ElementStateApi, ElementStateDefinition, ElementStatePlugin, type ElementWith, ExitBreakPlugin, type ExternalTextActions, type ExternalTextAdapter, type ExternalTextChange, type ExternalTextDecoration, type ExternalTextDispatchResult, type ExternalTextOptions, type ExternalTextSelection, type ExternalTextSelectionState, type ExternalTextState, type ExternalTextView, FontBackgroundColorPlugin, FontColorPlugin, FontFamilyPlugin, FontSizePlugin, FormattingBlockEntry, FormattingContribution, FormattingPlugin, FragmentPropMode, GetFragmentPropOptions, type GetInjectNodePropsOptions, type GetInjectNodePropsReturnType, type HandlerReturnType, HeadingLevel, HeadingPlugin, HeadingRules, HighlightNode, HighlightPlugin, HighlightResult, HighlightRules, type HistoryApi, HistoryDefinition, type HistoryOutcome, HistoryPlugin, HistoryPluginState, type HistoryResult, type HistorySettlement, HorizontalRulePlugin, HorizontalRuleRules, Hotkeys, type HtmlAttributes, type HtmlContentToken, type HtmlElementPatch, type HtmlMappingDiagnosticInput, type HtmlMatchValue, type HtmlMatcher, type HtmlNodeSpec, HtmlPlugin, type HtmlPrepareDiagnosticInput, type HtmlWrapperSpec, IS_APPLE, IndentChangeOptions, IndentDefinition, IndentPlugin, IndentPluginState, type InferApi, type InferConflicts, type InferDependencies, type InferEnabled, type InferName, type InferOwnApi, type InferOwnRead, type InferOwnUpdate, type InferPluginReadGroups, type InferPluginStoreState, type InferPluginUpdateGroups, type InferRead, type InferSelectors, type InferTargetPlugins, type InferUpdate, type InitialValue, type InjectNodeProps, InputRule, InputRuleEditor, InputRuleInsertTextOptions, InputRuleTarget, InputRulesConfig, InputRulesDefinition, type InsertBreakCommand, InsertBreakInputRule, InsertBreakInputRuleContext, InsertBreakInputRuleReadContext, InsertDataInputRule, InsertDataInputRuleContext, InsertDataInputRuleReadContext, type InsertNodesCommand, type InsertSoftBreakCommand, type InsertTextCommand, InsertTextInputRule, InsertTextInputRuleContext, InsertTextInputRuleReadContext, ItalicPlugin, ItalicRules, type JsonEditorValue, type JsonNode, KbdPlugin, type KeyboardHandler, type LeafEdge, type LeafNodeProps, LeafPosition, type LeafStaticProps, LineHeightDefinition, LineHeightPlugin, LinkAttributes, LinkDefinition, LinkElement, LinkPlugin, LinkRules, ListElement, ListPlugin, ListStyle, ListType, Location, LocationApi, LocationInterface, LogLevel, MarkComboRules, MarkInputRuleConfig, MarkInputRuleMatch, MarkKeysOf, type MarkdownDecodeContext, type MarkdownEncodeContext, type MarkdownMarkWrapContext, type MarkdownMarkWrapper, type MarkdownMarks, type MarkdownNodeKind, type MarkdownNodeKinds, type MarkdownNodeMapping, type MarkdownNodeMappingInput, type MarkdownPluginRegistry, type MarkdownRefusal, type MarkdownTagAttributeView, type MarkdownTagNode, MarksIn, MarksOf, MatchBlockFenceOptions, MatchBlockStartOptions, MatchDelimitedInlineOptions, type MaximizeMode, type MergeRules, type MoveSelectionCommand, type MoveUnit, type NamedEditorSchemaIdentity, type NamedRootKey, NavigationFeedbackPlugin, NavigationFeedbackPluginState, NavigationFlashTargetOptions, Node, NodeAncestorsOptions, NodeApi, NodeChildEntry, NodeChildrenOptions, type NodeComponent, NodeDescendantsOptions, type NodeDuplicateOptions, NodeElementsOptions, NodeEntry, NodeEntryIn, NodeEntryOf, NodeFindTextRangesOptions, NodeHasPropsOptions, NodeIn, type NodeInsertNodesOptions, type NodeInsertOptions, 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, NodeSelectionDrag, NodeSelectionDragProps, NodeSelectionHighlight, NodeSelectionHighlightProps, NodeSelectionMode, type NodeSetNodesOptions, type NodeSplitNodesOptions, type NodeStaticProps, type NodeTarget, NodeTextRangeEntry, NodeTextRangeMatch, NodeTextRangeQuery, NodeTextRangeRoot, NodeTextRangeView, NodeTextsOptions, NodeTypeSelector, type NodeUnsetNodesOptions, type NodeUnwrapNodesOptions, type NodeWrapNodesOptions, type NodeWriteVeto, type NodeWriteVetoInput, type NormalizeRules, type Nullable, type OnNodeChange, type OnTextChange, OrderedListRules, OutdentListOptions, type OwnedAnnotationStore, PLUGINS, ParagraphPlugin, type PartialBasePlugin, Path, PathAncestorsOptions, PathApi, PathInterface, PathLevelsOptions, type PersistedDocumentInput, PlainTextDiagnostic, PlainTextDocumentOptions, PlainTextEditorOptions, type PlainTextEncodeContext, type PlainTextNodeMapping, type PlainTextNodeMappingInput, PlainTextSerializeResult, type Plugin, type PluginActivationContext, type PluginApiContext, type PluginApiFactory, type PluginApiFactoryContext, type PluginBaseContext, type PluginCandidateContext, type PluginCandidateEditor, type PluginCapabilities, type PluginCleanupContext, type PluginConfiguration, type PluginContext, type PluginContribution, type PluginContributionInput, type PluginDefinition, type PluginDefinitionInput, type PluginDependency, type PluginDependencyReference, type PluginExtendInput, type PluginFormatContext, type PluginFormatModelView, type PluginFormatNode, type PluginFormatRegistry, type PluginFormatSchemaView, type PluginInput, type PluginMigrationContext, PluginName, type PluginOn, type PluginOwnUpdate, type PluginPoint, type PluginPortal, PluginPublicationError, type PluginReadContext, type PluginReadFactory, type PluginReadFactoryContext, type PluginReadMiddlewareFactory, type PluginReadState, type PluginReconfigureOptions, type PluginReference, type PluginSchema, type PluginSchemaContext, type PluginSchemaDeclaration, type PluginSchemaElement, type PluginSchemaMark, type PluginSchemaReferences, type PluginSelector, type PluginSelectorArgs, type PluginSelectorMethods, type PluginSelectorReturn, type PluginSelectors, type PluginShortcutInput, type PluginSlot, type PluginSlotLike, type PluginSlotValue, type PluginState, type PluginStore, type PluginTransaction, type PluginTypeProvider, type PluginTypes, type PluginUpdate, 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, type RangeGeometry, RangeInterface, type RangeMode, type RangeRects, type ReactApi, type ReactPluginOptions, ReactUpdatePolicy, type RemoveMarkCommand, type RemoveNodesCommand, type RenderElementFn, type RenderElementProps, type RenderElementSlots, type RenderLeafFn, type RenderLeafProps, type RenderNodeWrapper, type RenderNodeWrapperConfig, type RenderNodeWrapperDescriptor, type RenderNodeWrapperFunction, type RenderNodeWrapperProps, type RenderPlaceholderProps, type RenderStaticNodeWrapper, type RenderStaticNodeWrapperFunction, type RenderStaticNodeWrapperProps, type RenderTextFn, type RenderTextHostProps, type RenderTextPieceProps, type RenderTextProps, type RenderVoidProps, type ReplaceSliceCommand, type ResolvedAnnotation, ResolvedInputRule, ResolvedInputRulesMeta, type RootChromeController, type RootKey, type RuleDecision, type ReactPlugin as RuntimeReactPlugin, type RuntimeStateSelectorOptions, 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, ScriptPlugin, ScriptRules, ScriptValue, type ScrollIntoViewTarget, type ScrollMode, type SelectCommand, Selection, SelectionApi, SelectionAssociation, SelectionChangeContext, type SelectionCollapseOptions, type SelectionEdge, SelectionInputRuleContext, type SelectionMode, type SelectionMoveOptions, type SelectionMutationMethods, type SelectionRules, type SelectionSetPointOptions, SelectionValue, type SerializedEditorEffect, type SerializedEditorSelection, type SerializedEditorValue, type SetNodesCommand, type SetSelectionCommand, type Shortcut, type Shortcuts, SingleBlockPlugin, SingleLinePlugin, type SliceLanding, type SliceLandingInput, type SliceLandingTarget, type SnapshotIndex, type SnapshotInput, Span, SpanApi, SpanInterface, type StateFieldCollabPolicy, type StateFieldDescriptor, type StateFieldHistoryPolicy, type StateFieldInitial, type StateFieldSetter, type StateFieldValueInput, type StaticRenderLeafProps, StrikethroughPlugin, StrikethroughRules, type StructuralRuleContext, type StructuralRuleEditor, type TargetFreshnessRequest, TaskListRules, Text, TextAlignDefinition, TextAlignPlugin, TextApi, type TextDeleteOptions, type TextDirection, TextEntry, TextEntryIn, TextEntryOf, TextEqualsOptions, TextIn, TextIndentDefinition, TextIndentPlugin, TextIndentPluginState, type TextInsertFragmentOptions, type TextInsertTextOptions, TextInterface, type TextMutationMethods, type TextNodeProps, TextOf, type TextRemoveTextOptions, TextSelection, type TextStaticProps, TextSubstitutionInputRuleConfig, TextSubstitutionMatch, TextSubstitutionPattern, type TextUnit, type TextUnitAdjustment, type TextWith, type ToggleBlockCommand, ToggleHeadingOptions, ToggleListOptions, type ToggleMarkCommand, type TopLevelRuntimeRange, TrailingBlockDefinition, TrailingBlockPlugin, TrailingBlockPluginState, type TransactionSpec, type TransferAdoptInput, type TransferApi, type TransferCheck, type TransferDefinition, type TransferDiagnostic, type TransferEdge, type TransferInput, type TransferIntent, type TransferLandingInput, type TransferLandingTarget, type TransferOutcome, type TransferPatch, type TransferPatchProperties, type TransferPayload, TransferPlugin, type TransferRead, type TransferRefusalReason, type TransferRelation, type TransferSide, type TransferSideInput, type TransferSourceInput, type TransferTarget, type TransferVeto, type TransferVetoInput, type TransferWrap, TransformInputRuleContext, type TransformOptions, type TxDeclaredMethod, type TxMethodDeclarations, type TxOnlyMethod, UnderlinePlugin, UnderlineRules, type UnknownObject, UnwrapLinkOptions, UpsertLinkOptions, type UseAnnotationStoreOptions, type UseContentRootOptions, type UseEditableClipOptions, type UseEditorHistoryOptions, UseEditorSelectorOptions, type UseEditorStateOptions, type UseElementSelectedMode, type UseElementSelectedOptions, type UseRootChromeOptions, type UseRootEditorOptions, type UseSelectionGeometryOptions, type UseStateFieldValueOptions, type UseViewElementAttributes, type Value, ValueChangeContext, type ValueOf, type ViewElementAttributeEntry, type ViewElementAttributes, type ViewSourceError, type ViewSourceErrorSink, type ViewSourceOptions, type ViewSourcePhase, type ViewSourceStatus, type ViewportRect, type WithAnyName, type WithRequiredName, type WrapContentProps, WrapLinkOptions, type WrapRootProps, applyDeepToNodes, authoredVeto, compileEditorSchemaContract, createBlockFenceInputRule, createBlockStartInputRule, createEditor, createEditorView, createHotkey, createMarkInputRule, createTextSubstitutionInputRule, decodeEditorEffect, defaultsDeepToNodes, defineCommand$1 as defineCommand, defineEditorSchema, defineEffect, defineInputRule, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, formatting, getEditorRuntimeOwner, getFragmentProp, getInjectMatch, getLinkHref, getPluginNodeClass, inputRuleVeto, installBrowserHandle, invertEffect, isDefined, isEditor, isHotkey, isNominalPluginDescriptor, isOrderedList, isPluginElementClass, isPluginNodeClass, isUrl, locateAt, mapEffect, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, nodeWriteVeto, property, react, readEditorSchemaContract, getSelection as readEditorSelection, restoreEditorSchemaContract, schema$1 as schema, screenReaderAnnouncementEffect, serializePlainText, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, toReactPlugin, transfer, transferVeto, txLocate, txOnly, txSelection, useAnnotation, useAnnotationStore, useAnnotations, useChildRoot, useComposedRef, useContentRoot, useCreateEditor, useDropIndicator, useEditableClip, useEditableRef, useEditor, useEditorComposing, useEditorContainerRef, useEditorFocused, useEditorHasSelection, useEditorHistory, useEditorId, useEditorMounted, useEditorPluginStore, useEditorReadOnly, useEditorRootElement, useEditorRuntimeState, useEditorScrollElement, useEditorScrollElementRef, useEditorSelection, useEditorSelector, useEditorState, useEditorValue, useEditorViewState, useElement, useElementPath, useElementSelected, useElementSelector, useFocusedLast, useIsomorphicLayoutEffect, useModelEditor, useOptionalEditor, usePath, usePluginStore, useRootChrome, useRootEditor, useRootState, useRuntimeState, useSelectionFragmentProp, useSelectionGeometry, useSetStateField, useStateFieldValue, useViewStore, valueCodecs };
|
package/dist/react/index.js
CHANGED
|
@@ -39,20 +39,20 @@ import { BaseIndentPlugin } from "../features/indent/lib/BaseIndentPlugin.js";
|
|
|
39
39
|
import { BaseLinkPlugin, LinkRules, getLinkHref } from "../features/link/lib/BaseLinkPlugin.js";
|
|
40
40
|
import { BULLETED_LIST_STYLES, BaseListPlugin, BulletedListRules, ListStyle, ListType, OrderedListRules, TaskListRules, isOrderedList } from "../features/list/lib/BaseListPlugin.js";
|
|
41
41
|
import { serializePlainText } from "../plain-text.js";
|
|
42
|
-
import { ReactUpdatePolicy, installBrowserHandle, react, useAnnotation, useAnnotationStore, useAnnotations, useChildRoot, useContentRoot, useDropIndicator, useEditableClip,
|
|
42
|
+
import { ReactUpdatePolicy, installBrowserHandle, react, useAnnotation, useAnnotationStore, useAnnotations, useChildRoot, useContentRoot, useDropIndicator, useEditableClip, useEditorRootElement, useEditorRuntimeState, useEditorScrollElement, useEditorScrollElementRef, useEditorViewState, useElementPath, useElementSelected, useRootChrome, useRootEditor, useRootState, useRuntimeState, useSelectionGeometry, useSetStateField, useStateFieldValue } from "./plite-react.js";
|
|
43
43
|
import { useComposedRef, useIsomorphicLayoutEffect } from "./internal/react-helpers.js";
|
|
44
44
|
import { useEditableRef, useEditor, useEditorComposing, useEditorContainerRef, useEditorFocused, useEditorHasSelection, useEditorId, useEditorMounted, useEditorReadOnly, useEditorSelection, useEditorState, useEditorValue, useModelEditor, useOptionalEditor } from "./stores/plate/useEditor.js";
|
|
45
|
-
import { EditorSelectionView } from "./components/EditorSelectionView.js";
|
|
46
45
|
import { useEditorSelector } from "./stores/plate/useEditorSelector.js";
|
|
47
46
|
import { NodeSelectionDrag, NodeSelectionHighlight } from "./components/NodeSelection.js";
|
|
48
47
|
import { EditorRoot } from "./components/Plate.js";
|
|
48
|
+
import { EditorContainer } from "./components/PlateContainer.js";
|
|
49
49
|
import { useElement } from "./stores/element/useElement.js";
|
|
50
50
|
import { useElementSelector } from "./stores/element/useElementSelector.js";
|
|
51
51
|
import { usePath } from "./stores/element/usePath.js";
|
|
52
|
+
import { useEditorHistory } from "./stores/plate/useEditorHistory.js";
|
|
52
53
|
import { useEditorPluginStore, usePluginStore } from "./stores/plate/usePluginStore.js";
|
|
53
54
|
import { useViewStore } from "./stores/plate/useViewStore.js";
|
|
54
55
|
import { useFocusedLast } from "./stores/plate-controller/useFocusedLast.js";
|
|
55
|
-
import { EditorContainer } from "./components/PlateContainer.js";
|
|
56
56
|
import { EditorPreview } from "./components/PlateView.js";
|
|
57
57
|
import { EditorElement, EditorLeaf, EditorText } from "./components/plate-nodes.js";
|
|
58
58
|
import { EditorProvider } from "./components/EditorProvider.js";
|
|
@@ -73,4 +73,4 @@ import { IndentPlugin } from "./features/indent/IndentPlugin.js";
|
|
|
73
73
|
import { LinkPlugin } from "./features/link/LinkPlugin.js";
|
|
74
74
|
import { ListPlugin } from "./features/list/ListPlugin.js";
|
|
75
75
|
export * from "plitejs";
|
|
76
|
-
export { AffinityPlugin, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkPlugin, BaseListPlugin, BaseParagraphPlugin, BaseScriptPlugin, BaseStrikethroughPlugin, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, BlockPlaceholderPlugin, BlockquotePlugin, BlockquoteRules, BoldPlugin, BoldRules, BulletedListRules, CodeBlockPlugin, CodeBlockRules, CodeHighlightPlugin, CodePlugin, CodeRules, ContentSlice, DebugPlugin, DocumentChange, EditorContainer, EditorContent, EditorController, EditorElement, EditorError, EditorLeaf, EditorPreview, EditorProvider, EditorRoot, EditorSchemaValidationError,
|
|
76
|
+
export { AffinityPlugin, BULLETED_LIST_STYLES, BaseBlockquotePlugin, BaseBoldPlugin, BaseCodeBlockPlugin, BaseCodeHighlightPlugin, BaseCodePlugin, BaseFontBackgroundColorPlugin, BaseFontColorPlugin, BaseFontFamilyPlugin, BaseFontSizePlugin, BaseFormattingPlugin, BaseHeadingPlugin, BaseHighlightPlugin, BaseHorizontalRulePlugin, BaseIndentPlugin, BaseItalicPlugin, BaseKbdPlugin, BaseLineHeightPlugin, BaseLinkPlugin, BaseListPlugin, BaseParagraphPlugin, BaseScriptPlugin, BaseStrikethroughPlugin, BaseTextAlignPlugin, BaseTextIndentPlugin, BaseUnderlinePlugin, BlockPlaceholderPlugin, BlockquotePlugin, BlockquoteRules, BoldPlugin, BoldRules, BulletedListRules, CodeBlockPlugin, CodeBlockRules, CodeHighlightPlugin, CodePlugin, CodeRules, ContentSlice, DebugPlugin, DocumentChange, EditorContainer, EditorContent, EditorController, EditorElement, EditorError, EditorLeaf, EditorPreview, EditorProvider, EditorRoot, EditorSchemaValidationError, EditorText, ElementApi, ElementIdPlugin, ElementStatePlugin, ExitBreakPlugin, FontBackgroundColorPlugin, FontColorPlugin, FontFamilyPlugin, FontSizePlugin, FormattingPlugin, HeadingPlugin, HeadingRules, HighlightPlugin, HighlightRules, HistoryPlugin, HorizontalRulePlugin, HorizontalRuleRules, Hotkeys, HtmlPlugin, IS_APPLE, IndentPlugin, ItalicPlugin, ItalicRules, KbdPlugin, LineHeightPlugin, LinkPlugin, LinkRules, ListPlugin, ListStyle, ListType, LocationApi, MarkComboRules, NavigationFeedbackPlugin, NodeApi, NodeSelectionDrag, NodeSelectionHighlight, OrderedListRules, PLUGINS, ParagraphPlugin, PathApi, PluginPublicationError, PointApi, RangeApi, ReactUpdatePolicy, ScriptPlugin, ScriptRules, SelectionApi, SingleBlockPlugin, SingleLinePlugin, SpanApi, StrikethroughPlugin, StrikethroughRules, TaskListRules, TextAlignPlugin, TextApi, TextIndentPlugin, TrailingBlockPlugin, TransferPlugin, UnderlinePlugin, UnderlineRules, applyDeepToNodes, authoredVeto, compileEditorSchemaContract, createBlockFenceInputRule, createBlockStartInputRule, createEditor, createEditorView, createHotkey, createMarkInputRule, createTextSubstitutionInputRule, decodeEditorEffect, defaultsDeepToNodes, defineCommand, defineEditorSchema, defineEffect, defineInputRule, definePlugin, definePluginPoint, definePluginSlot, defineStateField, defineUpdateAnnotation, diffEditorSchemaContracts, documentReplacement, editorCommands, editorReads, encodeEditorEffect, formatting, getEditorRuntimeOwner, getFragmentProp, getInjectMatch, getLinkHref, getPluginNodeClass, inputRuleVeto, installBrowserHandle, invertEffect, isDefined, isEditor, isHotkey, isNominalPluginDescriptor, isOrderedList, isPluginElementClass, isPluginNodeClass, isUrl, locateAt, mapEffect, matchBlockStart, matchDelimitedInline, mergeDeepToNodes, nanoid, nodeWriteVeto, property, react, readEditorSchemaContract, readEditorSelection, restoreEditorSchemaContract, schema, screenReaderAnnouncementEffect, serializePlainText, setDebugValueScrubber, setEditorReadOnly, setEditorViewing, target, toReactPlugin, transfer, transferVeto, txLocate, txOnly, txSelection, useAnnotation, useAnnotationStore, useAnnotations, useChildRoot, useComposedRef, useContentRoot, useCreateEditor, useDropIndicator, useEditableClip, useEditableRef, useEditor, useEditorComposing, useEditorContainerRef, useEditorFocused, useEditorHasSelection, useEditorHistory, useEditorId, useEditorMounted, useEditorPluginStore, useEditorReadOnly, useEditorRootElement, useEditorRuntimeState, useEditorScrollElement, useEditorScrollElementRef, useEditorSelection, useEditorSelector, useEditorState, useEditorValue, useEditorViewState, useElement, useElementPath, useElementSelected, useElementSelector, useFocusedLast, useIsomorphicLayoutEffect, useModelEditor, useOptionalEditor, usePath, usePluginStore, useRootChrome, useRootEditor, useRootState, useRuntimeState, useSelectionFragmentProp, useSelectionGeometry, useSetStateField, useStateFieldValue, useViewStore, valueCodecs };
|