slate 0.94.1 → 0.100.0
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/core/apply.d.ts +3 -3
- package/dist/core/apply.d.ts.map +1 -1
- package/dist/core/get-dirty-paths.d.ts +6 -6
- package/dist/core/get-dirty-paths.d.ts.map +1 -1
- package/dist/core/get-fragment.d.ts +3 -3
- package/dist/core/get-fragment.d.ts.map +1 -1
- package/dist/core/index.d.ts +5 -5
- package/dist/core/index.d.ts.map +1 -1
- package/dist/core/normalize-node.d.ts +3 -3
- package/dist/core/normalize-node.d.ts.map +1 -1
- package/dist/core/should-normalize.d.ts +3 -3
- package/dist/core/should-normalize.d.ts.map +1 -1
- package/dist/create-editor.d.ts +5 -5
- package/dist/create-editor.d.ts.map +1 -1
- package/dist/editor/above.d.ts +2 -2
- package/dist/editor/above.d.ts.map +1 -1
- package/dist/editor/add-mark.d.ts +2 -2
- package/dist/editor/add-mark.d.ts.map +1 -1
- package/dist/editor/after.d.ts +2 -2
- package/dist/editor/after.d.ts.map +1 -1
- package/dist/editor/before.d.ts +2 -2
- package/dist/editor/before.d.ts.map +1 -1
- package/dist/editor/delete-backward.d.ts +3 -3
- package/dist/editor/delete-backward.d.ts.map +1 -1
- package/dist/editor/delete-forward.d.ts +3 -3
- package/dist/editor/delete-forward.d.ts.map +1 -1
- package/dist/editor/delete-fragment.d.ts +2 -2
- package/dist/editor/delete-fragment.d.ts.map +1 -1
- package/dist/editor/edges.d.ts +2 -2
- package/dist/editor/edges.d.ts.map +1 -1
- package/dist/editor/element-read-only.d.ts +2 -2
- package/dist/editor/element-read-only.d.ts.map +1 -1
- package/dist/editor/end.d.ts +2 -2
- package/dist/editor/end.d.ts.map +1 -1
- package/dist/editor/first.d.ts +2 -2
- package/dist/editor/first.d.ts.map +1 -1
- package/dist/editor/fragment.d.ts +2 -2
- package/dist/editor/fragment.d.ts.map +1 -1
- package/dist/editor/get-void.d.ts +2 -2
- package/dist/editor/get-void.d.ts.map +1 -1
- package/dist/editor/has-blocks.d.ts +2 -2
- package/dist/editor/has-blocks.d.ts.map +1 -1
- package/dist/editor/has-inlines.d.ts +2 -2
- package/dist/editor/has-inlines.d.ts.map +1 -1
- package/dist/editor/has-path.d.ts +2 -2
- package/dist/editor/has-path.d.ts.map +1 -1
- package/dist/editor/has-texts.d.ts +2 -2
- package/dist/editor/has-texts.d.ts.map +1 -1
- package/dist/editor/index.d.ts +54 -54
- package/dist/editor/index.d.ts.map +1 -1
- package/dist/editor/insert-break.d.ts +2 -2
- package/dist/editor/insert-break.d.ts.map +1 -1
- package/dist/editor/insert-node.d.ts +2 -2
- package/dist/editor/insert-node.d.ts.map +1 -1
- package/dist/editor/insert-soft-break.d.ts +2 -2
- package/dist/editor/insert-soft-break.d.ts.map +1 -1
- package/dist/editor/insert-text.d.ts +2 -2
- package/dist/editor/insert-text.d.ts.map +1 -1
- package/dist/editor/is-block.d.ts +2 -2
- package/dist/editor/is-block.d.ts.map +1 -1
- package/dist/editor/is-edge.d.ts +2 -2
- package/dist/editor/is-edge.d.ts.map +1 -1
- package/dist/editor/is-editor.d.ts +2 -2
- package/dist/editor/is-editor.d.ts.map +1 -1
- package/dist/editor/is-empty.d.ts +2 -2
- package/dist/editor/is-empty.d.ts.map +1 -1
- package/dist/editor/is-end.d.ts +2 -2
- package/dist/editor/is-end.d.ts.map +1 -1
- package/dist/editor/is-normalizing.d.ts +2 -2
- package/dist/editor/is-normalizing.d.ts.map +1 -1
- package/dist/editor/is-start.d.ts +2 -2
- package/dist/editor/is-start.d.ts.map +1 -1
- package/dist/editor/last.d.ts +2 -2
- package/dist/editor/last.d.ts.map +1 -1
- package/dist/editor/leaf.d.ts +2 -2
- package/dist/editor/leaf.d.ts.map +1 -1
- package/dist/editor/levels.d.ts +3 -3
- package/dist/editor/levels.d.ts.map +1 -1
- package/dist/editor/marks.d.ts +2 -2
- package/dist/editor/marks.d.ts.map +1 -1
- package/dist/editor/next.d.ts +2 -2
- package/dist/editor/next.d.ts.map +1 -1
- package/dist/editor/node.d.ts +2 -2
- package/dist/editor/node.d.ts.map +1 -1
- package/dist/editor/nodes.d.ts +3 -3
- package/dist/editor/nodes.d.ts.map +1 -1
- package/dist/editor/normalize.d.ts +2 -2
- package/dist/editor/normalize.d.ts.map +1 -1
- package/dist/editor/parent.d.ts +2 -2
- package/dist/editor/parent.d.ts.map +1 -1
- package/dist/editor/path-ref.d.ts +2 -2
- package/dist/editor/path-ref.d.ts.map +1 -1
- package/dist/editor/path-refs.d.ts +2 -2
- package/dist/editor/path-refs.d.ts.map +1 -1
- package/dist/editor/path.d.ts +2 -2
- package/dist/editor/path.d.ts.map +1 -1
- package/dist/editor/point-ref.d.ts +2 -2
- package/dist/editor/point-ref.d.ts.map +1 -1
- package/dist/editor/point-refs.d.ts +2 -2
- package/dist/editor/point-refs.d.ts.map +1 -1
- package/dist/editor/point.d.ts +2 -2
- package/dist/editor/point.d.ts.map +1 -1
- package/dist/editor/positions.d.ts +3 -3
- package/dist/editor/positions.d.ts.map +1 -1
- package/dist/editor/previous.d.ts +2 -2
- package/dist/editor/previous.d.ts.map +1 -1
- package/dist/editor/range-ref.d.ts +2 -2
- package/dist/editor/range-ref.d.ts.map +1 -1
- package/dist/editor/range-refs.d.ts +2 -2
- package/dist/editor/range-refs.d.ts.map +1 -1
- package/dist/editor/range.d.ts +2 -2
- package/dist/editor/range.d.ts.map +1 -1
- package/dist/editor/remove-mark.d.ts +2 -2
- package/dist/editor/remove-mark.d.ts.map +1 -1
- package/dist/editor/set-normalizing.d.ts +2 -2
- package/dist/editor/set-normalizing.d.ts.map +1 -1
- package/dist/editor/start.d.ts +2 -2
- package/dist/editor/start.d.ts.map +1 -1
- package/dist/editor/string.d.ts +2 -2
- package/dist/editor/string.d.ts.map +1 -1
- package/dist/editor/unhang-range.d.ts +2 -2
- package/dist/editor/unhang-range.d.ts.map +1 -1
- package/dist/editor/without-normalizing.d.ts +2 -2
- package/dist/editor/without-normalizing.d.ts.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.es.js +641 -1551
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +1227 -2191
- package/dist/index.js.map +1 -1
- package/dist/interfaces/editor.d.ts +497 -497
- package/dist/interfaces/editor.d.ts.map +1 -1
- package/dist/interfaces/element.d.ts +46 -46
- package/dist/interfaces/element.d.ts.map +1 -1
- package/dist/interfaces/index.d.ts +14 -14
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/interfaces/location.d.ts +29 -29
- package/dist/interfaces/location.d.ts.map +1 -1
- package/dist/interfaces/node.d.ts +173 -173
- package/dist/interfaces/node.d.ts.map +1 -1
- package/dist/interfaces/operation.d.ts +107 -107
- package/dist/interfaces/operation.d.ts.map +1 -1
- package/dist/interfaces/path-ref.d.ts +18 -18
- package/dist/interfaces/path-ref.d.ts.map +1 -1
- package/dist/interfaces/path.d.ts +132 -132
- package/dist/interfaces/path.d.ts.map +1 -1
- package/dist/interfaces/point-ref.d.ts +19 -19
- package/dist/interfaces/point-ref.d.ts.map +1 -1
- package/dist/interfaces/point.d.ts +49 -49
- package/dist/interfaces/point.d.ts.map +1 -1
- package/dist/interfaces/range-ref.d.ts +18 -18
- package/dist/interfaces/range-ref.d.ts.map +1 -1
- package/dist/interfaces/range.d.ts +80 -80
- package/dist/interfaces/range.d.ts.map +1 -1
- package/dist/interfaces/scrubber.d.ts +21 -21
- package/dist/interfaces/scrubber.d.ts.map +1 -1
- package/dist/interfaces/text.d.ts +47 -47
- package/dist/interfaces/text.d.ts.map +1 -1
- package/dist/interfaces/transforms/general.d.ts +8 -8
- package/dist/interfaces/transforms/general.d.ts.map +1 -1
- package/dist/interfaces/transforms/index.d.ts +5 -5
- package/dist/interfaces/transforms/index.d.ts.map +1 -1
- package/dist/interfaces/transforms/node.d.ts +117 -117
- package/dist/interfaces/transforms/node.d.ts.map +1 -1
- package/dist/interfaces/transforms/selection.d.ts +41 -41
- package/dist/interfaces/transforms/selection.d.ts.map +1 -1
- package/dist/interfaces/transforms/text.d.ts +36 -36
- package/dist/interfaces/transforms/text.d.ts.map +1 -1
- package/dist/slate.js +2152 -3123
- package/dist/slate.min.js +2 -2
- package/dist/transforms-node/index.d.ts +10 -10
- package/dist/transforms-node/index.d.ts.map +1 -1
- package/dist/transforms-node/insert-nodes.d.ts +2 -2
- package/dist/transforms-node/insert-nodes.d.ts.map +1 -1
- package/dist/transforms-node/lift-nodes.d.ts +2 -2
- package/dist/transforms-node/lift-nodes.d.ts.map +1 -1
- package/dist/transforms-node/merge-nodes.d.ts +2 -2
- package/dist/transforms-node/merge-nodes.d.ts.map +1 -1
- package/dist/transforms-node/move-nodes.d.ts +2 -2
- package/dist/transforms-node/move-nodes.d.ts.map +1 -1
- package/dist/transforms-node/remove-nodes.d.ts +2 -2
- package/dist/transforms-node/remove-nodes.d.ts.map +1 -1
- package/dist/transforms-node/set-nodes.d.ts +2 -2
- package/dist/transforms-node/set-nodes.d.ts.map +1 -1
- package/dist/transforms-node/split-nodes.d.ts +2 -2
- package/dist/transforms-node/split-nodes.d.ts.map +1 -1
- package/dist/transforms-node/unset-nodes.d.ts +2 -2
- package/dist/transforms-node/unset-nodes.d.ts.map +1 -1
- package/dist/transforms-node/unwrap-nodes.d.ts +2 -2
- package/dist/transforms-node/unwrap-nodes.d.ts.map +1 -1
- package/dist/transforms-node/wrap-nodes.d.ts +2 -2
- package/dist/transforms-node/wrap-nodes.d.ts.map +1 -1
- package/dist/transforms-selection/collapse.d.ts +2 -2
- package/dist/transforms-selection/collapse.d.ts.map +1 -1
- package/dist/transforms-selection/deselect.d.ts +2 -2
- package/dist/transforms-selection/deselect.d.ts.map +1 -1
- package/dist/transforms-selection/index.d.ts +6 -6
- package/dist/transforms-selection/index.d.ts.map +1 -1
- package/dist/transforms-selection/move.d.ts +2 -2
- package/dist/transforms-selection/move.d.ts.map +1 -1
- package/dist/transforms-selection/select.d.ts +2 -2
- package/dist/transforms-selection/select.d.ts.map +1 -1
- package/dist/transforms-selection/set-point.d.ts +2 -2
- package/dist/transforms-selection/set-point.d.ts.map +1 -1
- package/dist/transforms-selection/set-selection.d.ts +2 -2
- package/dist/transforms-selection/set-selection.d.ts.map +1 -1
- package/dist/transforms-text/delete-text.d.ts +2 -2
- package/dist/transforms-text/delete-text.d.ts.map +1 -1
- package/dist/transforms-text/index.d.ts +2 -2
- package/dist/transforms-text/index.d.ts.map +1 -1
- package/dist/transforms-text/insert-fragment.d.ts +2 -2
- package/dist/transforms-text/insert-fragment.d.ts.map +1 -1
- package/dist/types/custom-types.d.ts +9 -9
- package/dist/types/custom-types.d.ts.map +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/types.d.ts +10 -10
- package/dist/types/types.d.ts.map +1 -1
- package/dist/utils/deep-equal.d.ts +1 -1
- package/dist/utils/deep-equal.d.ts.map +1 -1
- package/dist/utils/get-default-insert-location.d.ts +8 -8
- package/dist/utils/get-default-insert-location.d.ts.map +1 -1
- package/dist/utils/index.d.ts +6 -6
- package/dist/utils/index.d.ts.map +1 -1
- package/dist/utils/match-path.d.ts +4 -4
- package/dist/utils/match-path.d.ts.map +1 -1
- package/dist/utils/string.d.ts +17 -17
- package/dist/utils/string.d.ts.map +1 -1
- package/dist/utils/types.d.ts +4 -4
- package/dist/utils/types.d.ts.map +1 -1
- package/dist/utils/weak-maps.d.ts +8 -8
- package/dist/utils/weak-maps.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const isStart: EditorInterface['isStart'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const isStart: EditorInterface['isStart'];
|
|
3
3
|
//# sourceMappingURL=is-start.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"is-start.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"is-start.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/is-start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,SAAS,CAQ9C,CAAA"}
|
package/dist/editor/last.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const last: EditorInterface['last'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const last: EditorInterface['last'];
|
|
3
3
|
//# sourceMappingURL=last.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"last.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"last.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/last.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,MAAM,CAGxC,CAAA"}
|
package/dist/editor/leaf.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const leaf: EditorInterface['leaf'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const leaf: EditorInterface['leaf'];
|
|
3
3
|
//# sourceMappingURL=leaf.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"leaf.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"leaf.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/leaf.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,MAAM,CAIxC,CAAA"}
|
package/dist/editor/levels.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node, NodeEntry } from '../interfaces/node';
|
|
2
|
-
import { Editor, EditorLevelsOptions } from '../interfaces/editor';
|
|
3
|
-
export declare function levels<T extends Node>(editor: Editor, options?: EditorLevelsOptions<T>): Generator<NodeEntry<T>, void, undefined>;
|
|
1
|
+
import { Node, NodeEntry } from '../interfaces/node';
|
|
2
|
+
import { Editor, EditorLevelsOptions } from '../interfaces/editor';
|
|
3
|
+
export declare function levels<T extends Node>(editor: Editor, options?: EditorLevelsOptions<T>): Generator<NodeEntry<T>, void, undefined>;
|
|
4
4
|
//# sourceMappingURL=levels.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"levels.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"levels.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/levels.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAGlE,wBAAiB,MAAM,CAAC,CAAC,SAAS,IAAI,EACpC,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,mBAAmB,CAAC,CAAC,CAAM,GACnC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAgC1C"}
|
package/dist/editor/marks.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const marks: EditorInterface['marks'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const marks: EditorInterface['marks'];
|
|
3
3
|
//# sourceMappingURL=marks.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"marks.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"marks.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/marks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAO9D,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,OAAO,CAqD1C,CAAA"}
|
package/dist/editor/next.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const next: EditorInterface['next'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const next: EditorInterface['next'];
|
|
3
3
|
//# sourceMappingURL=next.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"next.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/next.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,MAAM,CA+BxC,CAAA"}
|
package/dist/editor/node.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const node: EditorInterface['node'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const node: EditorInterface['node'];
|
|
3
3
|
//# sourceMappingURL=node.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/node.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,MAAM,CAIxC,CAAA"}
|
package/dist/editor/nodes.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Node, NodeEntry } from '../interfaces/node';
|
|
2
|
-
import { Editor, EditorNodesOptions } from '../interfaces/editor';
|
|
3
|
-
export declare function nodes<T extends Node>(editor: Editor, options?: EditorNodesOptions<T>): Generator<NodeEntry<T>, void, undefined>;
|
|
1
|
+
import { Node, NodeEntry } from '../interfaces/node';
|
|
2
|
+
import { Editor, EditorNodesOptions } from '../interfaces/editor';
|
|
3
|
+
export declare function nodes<T extends Node>(editor: Editor, options?: EditorNodesOptions<T>): Generator<NodeEntry<T>, void, undefined>;
|
|
4
4
|
//# sourceMappingURL=nodes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"nodes.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/nodes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAA;AACpD,OAAO,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAA;AAMjE,wBAAiB,KAAK,CAAC,CAAC,SAAS,IAAI,EACnC,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,kBAAkB,CAAC,CAAC,CAAM,GAClC,SAAS,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,IAAI,EAAE,SAAS,CAAC,CAiH1C"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const normalize: EditorInterface['normalize'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const normalize: EditorInterface['normalize'];
|
|
3
3
|
//# sourceMappingURL=normalize.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"normalize.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/normalize.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CAsFlD,CAAA"}
|
package/dist/editor/parent.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const parent: EditorInterface['parent'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const parent: EditorInterface['parent'];
|
|
3
3
|
//# sourceMappingURL=parent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"parent.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/parent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,QAAQ,CAK5C,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const pathRef: EditorInterface['pathRef'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const pathRef: EditorInterface['pathRef'];
|
|
3
3
|
//# sourceMappingURL=path-ref.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path-ref.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"path-ref.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/path-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,OAAO,EAAE,eAAe,CAAC,SAAS,CAqB9C,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const pathRefs: EditorInterface['pathRefs'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const pathRefs: EditorInterface['pathRefs'];
|
|
3
3
|
//# sourceMappingURL=path-refs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path-refs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"path-refs.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/path-refs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,UAAU,CAShD,CAAA"}
|
package/dist/editor/path.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces';
|
|
2
|
-
export declare const path: EditorInterface['path'];
|
|
1
|
+
import { EditorInterface } from '../interfaces';
|
|
2
|
+
export declare const path: EditorInterface['path'];
|
|
3
3
|
//# sourceMappingURL=path.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"path.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/path.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA4B,MAAM,eAAe,CAAA;AAEzE,eAAO,MAAM,IAAI,EAAE,eAAe,CAAC,MAAM,CAgCxC,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const pointRef: EditorInterface['pointRef'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const pointRef: EditorInterface['pointRef'];
|
|
3
3
|
//# sourceMappingURL=point-ref.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point-ref.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"point-ref.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/point-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,UAAU,CAqBhD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const pointRefs: EditorInterface['pointRefs'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const pointRefs: EditorInterface['pointRefs'];
|
|
3
3
|
//# sourceMappingURL=point-refs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point-refs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"point-refs.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/point-refs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CASlD,CAAA"}
|
package/dist/editor/point.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const point: EditorInterface['point'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const point: EditorInterface['point'];
|
|
3
3
|
//# sourceMappingURL=point.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"point.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"point.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/point.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAMtD,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,OAAO,CA+B1C,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Editor, EditorPositionsOptions } from '../interfaces/editor';
|
|
2
|
-
import { Point } from '../interfaces/point';
|
|
3
|
-
export declare function positions(editor: Editor, options?: EditorPositionsOptions): Generator<Point, void, undefined>;
|
|
1
|
+
import { Editor, EditorPositionsOptions } from '../interfaces/editor';
|
|
2
|
+
import { Point } from '../interfaces/point';
|
|
3
|
+
export declare function positions(editor: Editor, options?: EditorPositionsOptions): Generator<Point, void, undefined>;
|
|
4
4
|
//# sourceMappingURL=positions.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"positions.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"positions.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/positions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,KAAK,EAAE,MAAM,qBAAqB,CAAA;AAW3C,wBAAiB,SAAS,CACxB,MAAM,EAAE,MAAM,EACd,OAAO,GAAE,sBAA2B,GACnC,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE,SAAS,CAAC,CA8KnC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const previous: EditorInterface['previous'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const previous: EditorInterface['previous'];
|
|
3
3
|
//# sourceMappingURL=previous.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"previous.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"previous.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/previous.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAI9D,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,UAAU,CA0ChD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const rangeRef: EditorInterface['rangeRef'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const rangeRef: EditorInterface['rangeRef'];
|
|
3
3
|
//# sourceMappingURL=range-ref.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-ref.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"range-ref.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/range-ref.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,QAAQ,EAAE,eAAe,CAAC,UAAU,CAqBhD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const rangeRefs: EditorInterface['rangeRefs'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const rangeRefs: EditorInterface['rangeRefs'];
|
|
3
3
|
//# sourceMappingURL=range-refs.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range-refs.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"range-refs.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/range-refs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,eAAO,MAAM,SAAS,EAAE,eAAe,CAAC,WAAW,CASlD,CAAA"}
|
package/dist/editor/range.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const range: EditorInterface['range'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const range: EditorInterface['range'];
|
|
3
3
|
//# sourceMappingURL=range.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"range.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAG9D,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,OAAO,CAQ1C,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const removeMark: EditorInterface['removeMark'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const removeMark: EditorInterface['removeMark'];
|
|
3
3
|
//# sourceMappingURL=remove-mark.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"remove-mark.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"remove-mark.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/remove-mark.ts"],"names":[],"mappings":"AAMA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,UAAU,EAAE,eAAe,CAAC,YAAY,CAoCpD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const setNormalizing: EditorInterface['setNormalizing'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const setNormalizing: EditorInterface['setNormalizing'];
|
|
3
3
|
//# sourceMappingURL=set-normalizing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"set-normalizing.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"set-normalizing.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/set-normalizing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAGtD,eAAO,MAAM,cAAc,EAAE,eAAe,CAAC,gBAAgB,CAK5D,CAAA"}
|
package/dist/editor/start.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const start: EditorInterface['start'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const start: EditorInterface['start'];
|
|
3
3
|
//# sourceMappingURL=start.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,KAAK,EAAE,eAAe,CAAC,OAAO,CAE1C,CAAA"}
|
package/dist/editor/string.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const string: EditorInterface['string'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const string: EditorInterface['string'];
|
|
3
3
|
//# sourceMappingURL=string.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/string.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAK9D,eAAO,MAAM,MAAM,EAAE,eAAe,CAAC,QAAQ,CAyB5C,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const unhangRange: EditorInterface['unhangRange'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const unhangRange: EditorInterface['unhangRange'];
|
|
3
3
|
//# sourceMappingURL=unhang-range.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unhang-range.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"unhang-range.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/unhang-range.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAM9D,eAAO,MAAM,WAAW,EAAE,eAAe,CAAC,aAAa,CA8CtD,CAAA"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
-
export declare const withoutNormalizing: EditorInterface['withoutNormalizing'];
|
|
1
|
+
import { EditorInterface } from '../interfaces/editor';
|
|
2
|
+
export declare const withoutNormalizing: EditorInterface['withoutNormalizing'];
|
|
3
3
|
//# sourceMappingURL=without-normalizing.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"without-normalizing.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"without-normalizing.d.ts","sourceRoot":"","sources":["../../../../packages/slate/src/editor/without-normalizing.ts"],"names":[],"mappings":"AAAA,OAAO,EAAU,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAE9D,eAAO,MAAM,kBAAkB,EAAE,eAAe,CAAC,oBAAoB,CAYpE,CAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export * from './core';
|
|
2
|
-
export * from './create-editor';
|
|
3
|
-
export * from './editor';
|
|
4
|
-
export * from './interfaces';
|
|
5
|
-
export * from './transforms-node';
|
|
6
|
-
export * from './transforms-selection';
|
|
7
|
-
export * from './transforms-text';
|
|
8
|
-
export * from './types';
|
|
1
|
+
export * from './core';
|
|
2
|
+
export * from './create-editor';
|
|
3
|
+
export * from './editor';
|
|
4
|
+
export * from './interfaces';
|
|
5
|
+
export * from './transforms-node';
|
|
6
|
+
export * from './transforms-selection';
|
|
7
|
+
export * from './transforms-text';
|
|
8
|
+
export * from './types';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA;AACtB,cAAc,iBAAiB,CAAA;AAC/B,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,SAAS,CAAA"}
|