slate-vue3 0.0.30 → 0.0.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -27
- package/dist/index.js +534 -1115
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,6 @@ import { VNodeRef } from 'vue';
|
|
|
14
14
|
|
|
15
15
|
export declare const above: EditorInterface['above'];
|
|
16
16
|
|
|
17
|
-
declare type Action = {
|
|
18
|
-
at?: Point | Range_2;
|
|
19
|
-
run: () => void;
|
|
20
|
-
};
|
|
21
|
-
|
|
22
17
|
export declare const addMark: EditorInterface['addMark'];
|
|
23
18
|
|
|
24
19
|
export declare const after: EditorInterface['after'];
|
|
@@ -336,14 +331,6 @@ export declare interface DOMEditor extends BaseEditor {
|
|
|
336
331
|
export declare const DOMEditor: DOMEditorInterface;
|
|
337
332
|
|
|
338
333
|
export declare interface DOMEditorInterface {
|
|
339
|
-
/**
|
|
340
|
-
* Experimental and android specific: Get pending diffs
|
|
341
|
-
*/
|
|
342
|
-
androidPendingDiffs: (editor: Editor) => TextDiff[] | undefined;
|
|
343
|
-
/**
|
|
344
|
-
* Experimental and android specific: Flush all pending diffs and cancel composition at the next possible time.
|
|
345
|
-
*/
|
|
346
|
-
androidScheduleFlush: (editor: Editor) => void;
|
|
347
334
|
/**
|
|
348
335
|
* Blur the editor.
|
|
349
336
|
*/
|
|
@@ -371,7 +358,7 @@ export declare interface DOMEditorInterface {
|
|
|
371
358
|
/**
|
|
372
359
|
* Focus the editor.
|
|
373
360
|
*/
|
|
374
|
-
focus: (editor: DOMEditor) =>
|
|
361
|
+
focus: (editor: DOMEditor) => void;
|
|
375
362
|
/**
|
|
376
363
|
* Return the host window of the current editor.
|
|
377
364
|
*/
|
|
@@ -871,8 +858,6 @@ export declare const Editor: EditorInterface;
|
|
|
871
858
|
|
|
872
859
|
export declare const EDITOR_TO_ELEMENT: toRawWeakMap<Editor, HTMLElement>;
|
|
873
860
|
|
|
874
|
-
export declare const EDITOR_TO_FORCE_RENDER: toRawWeakMap<Editor, () => void>;
|
|
875
|
-
|
|
876
861
|
export declare const EDITOR_TO_KEY_TO_ELEMENT: toRawWeakMap<Editor, toRawWeakMap<Key, HTMLElement>>;
|
|
877
862
|
|
|
878
863
|
/**
|
|
@@ -882,17 +867,6 @@ export declare const EDITOR_TO_ON_CHANGE: toRawWeakMap<DOMEditor, (options?: {
|
|
|
882
867
|
operation?: Operation;
|
|
883
868
|
}) => void>;
|
|
884
869
|
|
|
885
|
-
export declare const EDITOR_TO_PENDING_ACTION: toRawWeakMap<Editor, Action | null>;
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
* Android input handling specific weak-maps
|
|
889
|
-
*/
|
|
890
|
-
export declare const EDITOR_TO_PENDING_DIFFS: toRawWeakMap<Editor, TextDiff[]>;
|
|
891
|
-
|
|
892
|
-
export declare const EDITOR_TO_PENDING_INSERTION_MARKS: toRawWeakMap<Editor, Partial<Text_2> | null>;
|
|
893
|
-
|
|
894
|
-
export declare const EDITOR_TO_PENDING_SELECTION: toRawWeakMap<Editor, Range_2 | null>;
|
|
895
|
-
|
|
896
870
|
export declare const EDITOR_TO_PLACEHOLDER_ELEMENT: toRawWeakMap<Editor, RendererNode>;
|
|
897
871
|
|
|
898
872
|
/**
|