@impermeable/waterproof-editor 0.12.0 → 0.13.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/api/types.d.ts +0 -4
- package/dist/api/types.d.ts.map +1 -1
- package/dist/codeview/code-plugin.d.ts +3 -2
- package/dist/codeview/code-plugin.d.ts.map +1 -1
- package/dist/codeview/nodeview.d.ts +14 -14
- package/dist/codeview/nodeview.d.ts.map +1 -1
- package/dist/codeview/progress-indicator.d.ts +19 -0
- package/dist/codeview/progress-indicator.d.ts.map +1 -0
- package/dist/commands/utils.d.ts +14 -0
- package/dist/commands/utils.d.ts.map +1 -0
- package/dist/editor.d.ts +45 -9
- package/dist/editor.d.ts.map +1 -1
- package/dist/index.js +66 -65
- package/dist/mapping/Tree.d.ts +75 -0
- package/dist/mapping/Tree.d.ts.map +1 -0
- package/dist/mapping/helper-functions.d.ts +4 -0
- package/dist/mapping/helper-functions.d.ts.map +1 -0
- package/dist/mapping/index.d.ts +4 -0
- package/dist/mapping/index.d.ts.map +1 -0
- package/dist/mapping/mapping.d.ts +65 -0
- package/dist/mapping/mapping.d.ts.map +1 -0
- package/dist/mapping/newmapping.d.ts +62 -0
- package/dist/mapping/newmapping.d.ts.map +1 -0
- package/dist/mapping/nodeUpdate.d.ts +27 -0
- package/dist/mapping/nodeUpdate.d.ts.map +1 -0
- package/dist/mapping/textUpdate.d.ts +8 -0
- package/dist/mapping/textUpdate.d.ts.map +1 -0
- package/dist/mapping/types.d.ts +22 -0
- package/dist/mapping/types.d.ts.map +1 -0
- package/dist/markdown-defaults/index.d.ts +4 -0
- package/dist/markdown-defaults/index.d.ts.map +1 -0
- package/dist/markdown-defaults/statemachine.d.ts +14 -0
- package/dist/markdown-defaults/statemachine.d.ts.map +1 -0
- package/dist/markup-views/SwitchableViewPlugin.d.ts +22 -0
- package/dist/markup-views/SwitchableViewPlugin.d.ts.map +1 -0
- package/dist/serialization/DocumentSerializer.d.ts +89 -0
- package/dist/serialization/DocumentSerializer.d.ts.map +1 -0
- package/dist/src/api/Completions.d.ts +21 -0
- package/dist/src/api/Completions.d.ts.map +1 -0
- package/dist/src/api/DocChange.d.ts +19 -0
- package/dist/src/api/DocChange.d.ts.map +1 -0
- package/dist/src/api/FileFormat.d.ts +10 -0
- package/dist/src/api/FileFormat.d.ts.map +1 -0
- package/dist/src/api/InputAreaStatus.d.ts +14 -0
- package/dist/src/api/InputAreaStatus.d.ts.map +1 -0
- package/dist/src/api/LineNumber.d.ts +10 -0
- package/dist/src/api/LineNumber.d.ts.map +1 -0
- package/dist/src/api/ServerStatus.d.ts +18 -0
- package/dist/src/api/ServerStatus.d.ts.map +1 -0
- package/dist/src/api/Severity.d.ts +12 -0
- package/dist/src/api/Severity.d.ts.map +1 -0
- package/dist/src/api/index.d.ts +12 -0
- package/dist/src/api/index.d.ts.map +1 -0
- package/dist/src/api/types.d.ts +119 -0
- package/dist/src/api/types.d.ts.map +1 -0
- package/dist/src/autocomplete/coqTerms.d.ts +3 -0
- package/dist/src/autocomplete/coqTerms.d.ts.map +1 -0
- package/dist/src/autocomplete/emojis.d.ts +10 -0
- package/dist/src/autocomplete/emojis.d.ts.map +1 -0
- package/dist/src/autocomplete/index.d.ts +2 -0
- package/dist/src/autocomplete/index.d.ts.map +1 -0
- package/dist/src/autocomplete/renderSymbol.d.ts +7 -0
- package/dist/src/autocomplete/renderSymbol.d.ts.map +1 -0
- package/dist/src/autocomplete/symbols.d.ts +7 -0
- package/dist/src/autocomplete/symbols.d.ts.map +1 -0
- package/dist/src/codeview/code-plugin.d.ts +28 -0
- package/dist/src/codeview/code-plugin.d.ts.map +1 -0
- package/dist/src/codeview/color-scheme.d.ts +6 -0
- package/dist/src/codeview/color-scheme.d.ts.map +1 -0
- package/dist/src/codeview/debouncer.d.ts +8 -0
- package/dist/src/codeview/debouncer.d.ts.map +1 -0
- package/dist/src/codeview/index.d.ts +3 -0
- package/dist/src/codeview/index.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/index.d.ts +8 -0
- package/dist/src/codeview/lang-pack/index.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/print-grammar.d.ts +2 -0
- package/dist/src/codeview/lang-pack/print-grammar.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/syntax.d.ts +3 -0
- package/dist/src/codeview/lang-pack/syntax.d.ts.map +1 -0
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts +2 -0
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts.map +1 -0
- package/dist/src/codeview/nodeview.d.ts +63 -0
- package/dist/src/codeview/nodeview.d.ts.map +1 -0
- package/dist/src/commands/command-helpers.d.ts +48 -0
- package/dist/src/commands/command-helpers.d.ts.map +1 -0
- package/dist/src/commands/commands.d.ts +30 -0
- package/dist/src/commands/commands.d.ts.map +1 -0
- package/dist/src/commands/delete-command.d.ts +4 -0
- package/dist/src/commands/delete-command.d.ts.map +1 -0
- package/dist/src/commands/index.d.ts +4 -0
- package/dist/src/commands/index.d.ts.map +1 -0
- package/dist/src/commands/insert-command.d.ts +34 -0
- package/dist/src/commands/insert-command.d.ts.map +1 -0
- package/dist/src/commands/types.d.ts +15 -0
- package/dist/src/commands/types.d.ts.map +1 -0
- package/dist/src/context-menu/index.d.ts +2 -0
- package/dist/src/context-menu/index.d.ts.map +1 -0
- package/dist/src/context-menu/menu.d.ts +8 -0
- package/dist/src/context-menu/menu.d.ts.map +1 -0
- package/dist/src/document/blocks/block.d.ts +24 -0
- package/dist/src/document/blocks/block.d.ts.map +1 -0
- package/dist/src/document/blocks/blocktypes.d.ts +78 -0
- package/dist/src/document/blocks/blocktypes.d.ts.map +1 -0
- package/dist/src/document/blocks/index.d.ts +3 -0
- package/dist/src/document/blocks/index.d.ts.map +1 -0
- package/dist/src/document/blocks/schema.d.ts +21 -0
- package/dist/src/document/blocks/schema.d.ts.map +1 -0
- package/dist/src/document/blocks/typeguards.d.ts +11 -0
- package/dist/src/document/blocks/typeguards.d.ts.map +1 -0
- package/dist/src/document/construct-document.d.ts +4 -0
- package/dist/src/document/construct-document.d.ts.map +1 -0
- package/dist/src/document/index.d.ts +5 -0
- package/dist/src/document/index.d.ts.map +1 -0
- package/dist/src/document/utils.d.ts +49 -0
- package/dist/src/document/utils.d.ts.map +1 -0
- package/dist/src/documentProgressDecorator.d.ts +9 -0
- package/dist/src/documentProgressDecorator.d.ts.map +1 -0
- package/dist/src/editor.d.ts +154 -0
- package/dist/src/editor.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts +9 -0
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts +40 -0
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/index.d.ts +3 -0
- package/dist/src/embedded-codemirror/index.d.ts.map +1 -0
- package/dist/src/embedded-codemirror/types.d.ts +9 -0
- package/dist/src/embedded-codemirror/types.d.ts.map +1 -0
- package/dist/src/hinting/hint-plugin.d.ts +9 -0
- package/dist/src/hinting/hint-plugin.d.ts.map +1 -0
- package/dist/src/hinting/index.d.ts +2 -0
- package/dist/src/hinting/index.d.ts.map +1 -0
- package/dist/src/index.d.ts +6 -0
- package/dist/src/index.d.ts.map +1 -0
- package/dist/src/inputArea.d.ts +14 -0
- package/dist/src/inputArea.d.ts.map +1 -0
- package/dist/src/markup-views/CoqdocPlugin.d.ts +19 -0
- package/dist/src/markup-views/CoqdocPlugin.d.ts.map +1 -0
- package/dist/src/markup-views/CoqdocView.d.ts +15 -0
- package/dist/src/markup-views/CoqdocView.d.ts.map +1 -0
- package/dist/src/markup-views/MarkdownPlugin.d.ts +21 -0
- package/dist/src/markup-views/MarkdownPlugin.d.ts.map +1 -0
- package/dist/src/markup-views/MarkdownView.d.ts +15 -0
- package/dist/src/markup-views/MarkdownView.d.ts.map +1 -0
- package/dist/src/markup-views/index.d.ts +5 -0
- package/dist/src/markup-views/index.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/EditableView.d.ts +22 -0
- package/dist/src/markup-views/switchable-view/EditableView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts +8 -0
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts +8 -0
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts +13 -0
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts +62 -0
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts.map +1 -0
- package/dist/src/markup-views/switchable-view/index.d.ts +2 -0
- package/dist/src/markup-views/switchable-view/index.d.ts.map +1 -0
- package/dist/src/math-integration/index.d.ts +2 -0
- package/dist/src/math-integration/index.d.ts.map +1 -0
- package/dist/src/math-integration/nodespecs.d.ts +4 -0
- package/dist/src/math-integration/nodespecs.d.ts.map +1 -0
- package/dist/src/menubar/index.d.ts +2 -0
- package/dist/src/menubar/index.d.ts.map +1 -0
- package/dist/src/menubar/menubar.d.ts +25 -0
- package/dist/src/menubar/menubar.d.ts.map +1 -0
- package/dist/src/osType.d.ts +8 -0
- package/dist/src/osType.d.ts.map +1 -0
- package/dist/src/progressBar.d.ts +13 -0
- package/dist/src/progressBar.d.ts.map +1 -0
- package/dist/src/qedStatus.d.ts +9 -0
- package/dist/src/qedStatus.d.ts.map +1 -0
- package/dist/src/schema/index.d.ts +2 -0
- package/dist/src/schema/index.d.ts.map +1 -0
- package/dist/src/schema/schema-nodes.d.ts +1 -0
- package/dist/src/schema/schema-nodes.d.ts.map +1 -0
- package/dist/src/schema/schema.d.ts +23 -0
- package/dist/src/schema/schema.d.ts.map +1 -0
- package/dist/src/styles/index.d.ts +17 -0
- package/dist/src/styles/index.d.ts.map +1 -0
- package/dist/src/translation/Translator.d.ts +12 -0
- package/dist/src/translation/Translator.d.ts.map +1 -0
- package/dist/src/translation/index.d.ts +2 -0
- package/dist/src/translation/index.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/index.d.ts +2 -0
- package/dist/src/translation/toProsemirror/index.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts +2 -0
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts +7 -0
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts.map +1 -0
- package/dist/src/translation/toProsemirror/parser.d.ts +3 -0
- package/dist/src/translation/toProsemirror/parser.d.ts.map +1 -0
- package/dist/src/translation/types.d.ts +12 -0
- package/dist/src/translation/types.d.ts.map +1 -0
- package/dist/src/utilities/index.d.ts +2 -0
- package/dist/src/utilities/index.d.ts.map +1 -0
- package/dist/src/utilities/prosemirror.d.ts +13 -0
- package/dist/src/utilities/prosemirror.d.ts.map +1 -0
- package/dist/translation/toMarkdownTranslation.d.ts +3 -0
- package/dist/translation/toMarkdownTranslation.d.ts.map +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/jest-thingie +0 -0
- package/package.json +3 -3
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export declare class TreeNode {
|
|
2
|
+
/** The type of this node, should be in the WaterproofSchema schema */
|
|
3
|
+
type: string;
|
|
4
|
+
/** The inner range of the node, that is, the range of the content */
|
|
5
|
+
contentRange: {
|
|
6
|
+
to: number;
|
|
7
|
+
from: number;
|
|
8
|
+
};
|
|
9
|
+
/** The outer range of the node, that is, the range of the content including possible tags */
|
|
10
|
+
tagRange: {
|
|
11
|
+
to: number;
|
|
12
|
+
from: number;
|
|
13
|
+
};
|
|
14
|
+
/** The title of a node, only relevant for hint nodes */
|
|
15
|
+
title: string;
|
|
16
|
+
/** The computed start position in ProseMirror, this is the prosemirror position at which the content starts.
|
|
17
|
+
* Thus, for nodes with content this includes a +1 due to stepping in to the node.
|
|
18
|
+
* For newlines, there is no content, so the start points directly before the newline.
|
|
19
|
+
*/
|
|
20
|
+
prosemirrorStart: number;
|
|
21
|
+
/** The computed end position in ProseMirror */
|
|
22
|
+
prosemirrorEnd: number;
|
|
23
|
+
pmRange: {
|
|
24
|
+
from: number;
|
|
25
|
+
to: number;
|
|
26
|
+
};
|
|
27
|
+
/** Potential children of this tree node */
|
|
28
|
+
children: TreeNode[];
|
|
29
|
+
constructor(type: string, contentRange: {
|
|
30
|
+
to: number;
|
|
31
|
+
from: number;
|
|
32
|
+
}, tagRange: {
|
|
33
|
+
to: number;
|
|
34
|
+
from: number;
|
|
35
|
+
}, title: string, prosemirrorStart: number, prosemirrorEnd: number, pmRange: {
|
|
36
|
+
to: number;
|
|
37
|
+
from: number;
|
|
38
|
+
});
|
|
39
|
+
addChild(child: TreeNode): void;
|
|
40
|
+
removeChild(child: TreeNode): void;
|
|
41
|
+
shiftCloseOffsets(offset: number, offsetProsemirror?: number): void;
|
|
42
|
+
shiftOffsets(offset: number, offsetProsemirror?: number): void;
|
|
43
|
+
traverseDepthFirst(callback: (node: TreeNode) => void): void;
|
|
44
|
+
}
|
|
45
|
+
export declare class Tree {
|
|
46
|
+
root: TreeNode;
|
|
47
|
+
constructor(type: string, contentRange: {
|
|
48
|
+
from: number;
|
|
49
|
+
to: number;
|
|
50
|
+
}, range: {
|
|
51
|
+
from: number;
|
|
52
|
+
to: number;
|
|
53
|
+
}, title: string, prosemirrorStart: number, prosemirrorEnd: number, pmRange: {
|
|
54
|
+
from: number;
|
|
55
|
+
to: number;
|
|
56
|
+
});
|
|
57
|
+
traverseDepthFirst(callback: (node: TreeNode) => void, node?: TreeNode): void;
|
|
58
|
+
traverseBreadthFirst(callback: (node: TreeNode) => void): void;
|
|
59
|
+
findHighestContainingNode(pos: number, node?: TreeNode): TreeNode;
|
|
60
|
+
findParent(target: TreeNode, node?: TreeNode | null, parent?: TreeNode | null): TreeNode | null;
|
|
61
|
+
findNodeByOriginalPosition(pos: number, node?: TreeNode | null): TreeNode | null;
|
|
62
|
+
findNodeByProsemirrorPosition(pos: number, node?: TreeNode | null): TreeNode | null;
|
|
63
|
+
/**
|
|
64
|
+
* Find the most specific node that contains the given ProseMirror position, this function is biased to find the
|
|
65
|
+
* first node (in terms of position) containing the position. I.e. in a tree with a code cell that ends at 28 and a newline that
|
|
66
|
+
* starts at 28, we will return the code cell when searching for position 28.
|
|
67
|
+
* @param pos ProseMirror position to search for
|
|
68
|
+
* @param node The node to start the search from, defaults to the root node of the tree
|
|
69
|
+
* @returns The most specific node containing the position, or null if no such node exists
|
|
70
|
+
*/
|
|
71
|
+
findNodeByProsePos(pos: number, node?: TreeNode): TreeNode | null;
|
|
72
|
+
nodesInProseRange(from: number, to: number, node?: TreeNode | null): TreeNode[];
|
|
73
|
+
insertByPosition(newNode: TreeNode): boolean;
|
|
74
|
+
}
|
|
75
|
+
//# sourceMappingURL=Tree.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Tree.d.ts","sourceRoot":"","sources":["../../src/mapping/Tree.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"helper-functions.d.ts","sourceRoot":"","sources":["../../src/mapping/helper-functions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAGxC,wBAAgB,YAAY,CAAC,IAAI,EAAE,WAAW,GAAG,iBAAiB,GAAG,aAAa,CAOjF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/mapping/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { Tree } from "./Tree";
|
|
2
|
+
import { Block } from "../document";
|
|
3
|
+
import { DocChange, DocumentSerializer, TagConfiguration, WrappingDocChange } from "../api";
|
|
4
|
+
import { Node } from "prosemirror-model";
|
|
5
|
+
import { Step } from "prosemirror-transform";
|
|
6
|
+
/**
|
|
7
|
+
* This class is responsible for keeping track of the mapping between the prosemirror state and the vscode Text
|
|
8
|
+
* Document model
|
|
9
|
+
*/
|
|
10
|
+
export declare class Mapping {
|
|
11
|
+
/** This stores the String cells of the entire document */
|
|
12
|
+
private tree;
|
|
13
|
+
/** The version of the underlying textDocument */
|
|
14
|
+
private _version;
|
|
15
|
+
private readonly nodeUpdate;
|
|
16
|
+
private readonly textUpdate;
|
|
17
|
+
/**
|
|
18
|
+
* Constructs the mapping instance given the source document in the form of a block array.
|
|
19
|
+
* @param inputBlocks Array containing the blocks that make up this document.
|
|
20
|
+
*/
|
|
21
|
+
constructor(inputBlocks: Block[], versionNum: number, tMap: TagConfiguration, serializer: DocumentSerializer);
|
|
22
|
+
/**
|
|
23
|
+
* Returns the mapping to preserve integrity
|
|
24
|
+
*/
|
|
25
|
+
getMapping(): Tree;
|
|
26
|
+
/**
|
|
27
|
+
* Get the version of the underlying text document
|
|
28
|
+
*/
|
|
29
|
+
get version(): number;
|
|
30
|
+
/**
|
|
31
|
+
* Map a ProseMirror index into the corresponding text offset.
|
|
32
|
+
* @param index A valid ProseMirror offset.
|
|
33
|
+
* @returns The corresponding text offset into the document.
|
|
34
|
+
*/
|
|
35
|
+
pmIndexToTextOffset(index: number): number;
|
|
36
|
+
/**
|
|
37
|
+
* Map a text offset into the corresponding ProseMirror index.
|
|
38
|
+
* @param offset The offset (in characters) in the document.
|
|
39
|
+
* @returns The corresponding ProseMirror index into the ProseMirror view.
|
|
40
|
+
*/
|
|
41
|
+
textOffsetToPmIndex(offset: number): number;
|
|
42
|
+
update(step: Step, doc: Node): DocChange | WrappingDocChange;
|
|
43
|
+
/**
|
|
44
|
+
* This checks if the doc change actually changed the document, since vscode
|
|
45
|
+
* does not register empty changes
|
|
46
|
+
*/
|
|
47
|
+
private checkDocChange;
|
|
48
|
+
/**
|
|
49
|
+
* Initializes the mapping given the input document in the form of a Block array.
|
|
50
|
+
* @param blocks
|
|
51
|
+
*/
|
|
52
|
+
private initTree;
|
|
53
|
+
/**
|
|
54
|
+
* Recursively computes the prosemirrorStart and prosemirrorEnd offsets for each node.
|
|
55
|
+
*
|
|
56
|
+
* @param node The current node to compute the offsets for.
|
|
57
|
+
* @param startTagMap The start tag mapping for each block type.
|
|
58
|
+
* @param endTagMap The end tag mapping for each block type.
|
|
59
|
+
* @param currentOffset The current offset from where the computation should begin.
|
|
60
|
+
* @param level The current depth level in the tree (used for adjusting offsets).
|
|
61
|
+
* @returns The updated offset after computing the current node.
|
|
62
|
+
*/
|
|
63
|
+
private computeProsemirrorOffsets;
|
|
64
|
+
}
|
|
65
|
+
//# sourceMappingURL=mapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mapping.d.ts","sourceRoot":"","sources":["../../src/mapping/mapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,QAAQ,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAgB,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE1G,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAkC,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7E;;;GAGG;AACH,qBAAa,OAAO;IAChB,0DAA0D;IAC1D,OAAO,CAAC,IAAI,CAAO;IACnB,iDAAiD;IACjD,OAAO,CAAC,QAAQ,CAAS;IAEzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAExC;;;OAGG;gBACS,WAAW,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,kBAAkB;IAkB5G;;OAEG;IACI,UAAU;IAIjB;;OAEG;IACH,IAAW,OAAO,WAEjB;IAED;;;;OAIG;IACI,mBAAmB,CAAC,KAAK,EAAE,MAAM;IAMxC;;;;OAIG;IACI,mBAAmB,CAAC,MAAM,EAAE,MAAM;IAMlC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,iBAAiB;IAsCnE;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQtB;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAiChB;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;CAyDpC"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Tree } from "./Tree";
|
|
2
|
+
import { Block } from "../document";
|
|
3
|
+
import { DocChange, DocumentSerializer, TagConfiguration, WrappingDocChange } from "../api";
|
|
4
|
+
import { Node } from "prosemirror-model";
|
|
5
|
+
import { Step } from "prosemirror-transform";
|
|
6
|
+
/**
|
|
7
|
+
* This class is responsible for keeping track of the mapping between the prosemirror state and the vscode Text
|
|
8
|
+
* Document model
|
|
9
|
+
*/
|
|
10
|
+
export declare class Mapping {
|
|
11
|
+
/** This stores the String cells of the entire document */
|
|
12
|
+
private tree;
|
|
13
|
+
/** The version of the underlying textDocument */
|
|
14
|
+
private _version;
|
|
15
|
+
private readonly nodeUpdate;
|
|
16
|
+
private readonly textUpdate;
|
|
17
|
+
/**
|
|
18
|
+
* Constructs a prosemirror view vscode mapping for the inputted prosemirror html element
|
|
19
|
+
*
|
|
20
|
+
* @param inputBlocks a string containing the prosemirror content html element
|
|
21
|
+
*/
|
|
22
|
+
constructor(inputBlocks: Block[], versionNum: number, tMap: TagConfiguration, serializer: DocumentSerializer);
|
|
23
|
+
/**
|
|
24
|
+
* Returns the mapping to preserve integrity
|
|
25
|
+
*/
|
|
26
|
+
getMapping(): Tree;
|
|
27
|
+
/**
|
|
28
|
+
* Get the version of the underlying text document
|
|
29
|
+
*/
|
|
30
|
+
get version(): number;
|
|
31
|
+
/** Returns the vscode document model index of prosemirror index */
|
|
32
|
+
findPosition(index: number): number;
|
|
33
|
+
/**
|
|
34
|
+
* Returns the prosemirror index corresponding to the given document offset.
|
|
35
|
+
* @param offset The offset (in characters) in the document.
|
|
36
|
+
* @returns The corresponding prosemirror index.
|
|
37
|
+
*/
|
|
38
|
+
findInvPosition(offset: number): number;
|
|
39
|
+
update(step: Step, doc: Node): DocChange | WrappingDocChange;
|
|
40
|
+
/**
|
|
41
|
+
* This checks if the doc change actually changed the document, since vscode
|
|
42
|
+
* does not register empty changes
|
|
43
|
+
*/
|
|
44
|
+
private checkDocChange;
|
|
45
|
+
/**
|
|
46
|
+
* Initializes the mapping given the input document in the form of a Block array.
|
|
47
|
+
* @param blocks
|
|
48
|
+
*/
|
|
49
|
+
private initTree;
|
|
50
|
+
/**
|
|
51
|
+
* Recursively computes the prosemirrorStart and prosemirrorEnd offsets for each node.
|
|
52
|
+
*
|
|
53
|
+
* @param node The current node to compute the offsets for.
|
|
54
|
+
* @param startTagMap The start tag mapping for each block type.
|
|
55
|
+
* @param endTagMap The end tag mapping for each block type.
|
|
56
|
+
* @param currentOffset The current offset from where the computation should begin.
|
|
57
|
+
* @param level The current depth level in the tree (used for adjusting offsets).
|
|
58
|
+
* @returns The updated offset after computing the current node.
|
|
59
|
+
*/
|
|
60
|
+
private computeProsemirrorOffsets;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=newmapping.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"newmapping.d.ts","sourceRoot":"","sources":["../../src/mapping/newmapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAY,MAAM,QAAQ,CAAC;AAIxC,OAAO,EAAE,KAAK,EAAc,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAgB,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE1G,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAkC,IAAI,EAAE,MAAM,uBAAuB,CAAC;AAE7E;;;GAGG;AACH,qBAAa,OAAO;IAChB,0DAA0D;IAC1D,OAAO,CAAC,IAAI,CAAO;IACnB,iDAAiD;IACjD,OAAO,CAAC,QAAQ,CAAS;IAEzB,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IACxC,OAAO,CAAC,QAAQ,CAAC,UAAU,CAAa;IAExC;;;;OAIG;gBACS,WAAW,EAAE,KAAK,EAAE,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,EAAE,gBAAgB,EAAE,UAAU,EAAE,kBAAkB;IAkB5G;;OAEG;IACI,UAAU;IAIjB;;OAEG;IACH,IAAW,OAAO,WAEjB;IAED,mEAAmE;IAC5D,YAAY,CAAC,KAAK,EAAE,MAAM;IAMjC;;;;OAIG;IACI,eAAe,CAAC,MAAM,EAAE,MAAM;IAM9B,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,GAAG,EAAE,IAAI,GAAG,SAAS,GAAG,iBAAiB;IAsCnE;;;OAGG;IACH,OAAO,CAAC,cAAc;IAQtB;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAiChB;;;;;;;;;OASG;IACH,OAAO,CAAC,yBAAyB;CAyDpC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Tree, TreeNode } from "./Tree";
|
|
2
|
+
import { ParsedStep } from "./types";
|
|
3
|
+
import { Mapping } from "./mapping";
|
|
4
|
+
import { DocumentSerializer, TagConfiguration } from "../api";
|
|
5
|
+
import { Node } from "prosemirror-model";
|
|
6
|
+
import { ReplaceAroundStep, ReplaceStep } from "prosemirror-transform";
|
|
7
|
+
export declare class NodeUpdate {
|
|
8
|
+
private readonly tagConf;
|
|
9
|
+
private readonly serializer;
|
|
10
|
+
constructor(tagConf: TagConfiguration, serializer: DocumentSerializer);
|
|
11
|
+
nodeNameToTagPair(nodeName: string, title?: string): [string, string];
|
|
12
|
+
nodeUpdate(step: ReplaceStep | ReplaceAroundStep, mapping: Mapping): ParsedStep;
|
|
13
|
+
doReplaceStep(step: ReplaceStep, mapping: Mapping): ParsedStep;
|
|
14
|
+
doReplaceAroundStep(step: ReplaceAroundStep, mapping: Mapping): ParsedStep;
|
|
15
|
+
replaceInsert(step: ReplaceStep, tree: Tree): ParsedStep;
|
|
16
|
+
buildTreeFromNode(node: Node, startOrig: number, startProse: number): TreeNode;
|
|
17
|
+
/**
|
|
18
|
+
* Handles ReplaceSteps that delete content.
|
|
19
|
+
* @param step The ReplaceStep for which we determined that it is deletion of one or more nodes.
|
|
20
|
+
* @param tree The input tree
|
|
21
|
+
* @returns A ParsedStep containing the resulting DocChange and the updated tree.
|
|
22
|
+
*/
|
|
23
|
+
replaceDelete(step: ReplaceStep, tree: Tree): ParsedStep;
|
|
24
|
+
replaceAroundDelete(step: ReplaceAroundStep, tree: Tree): ParsedStep;
|
|
25
|
+
replaceAroundReplace(step: ReplaceAroundStep, tree: Tree): ParsedStep;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=nodeUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodeUpdate.d.ts","sourceRoot":"","sources":["../../src/mapping/nodeUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,QAAQ,CAAC;AACxC,OAAO,EAAiB,UAAU,EAAE,MAAM,SAAS,CAAC;AACpD,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAa,kBAAkB,EAAmB,gBAAgB,EAAqB,MAAM,QAAQ,CAAC;AAE7G,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAEvE,qBAAa,UAAU;IAEN,OAAO,CAAC,QAAQ,CAAC,OAAO;IAAoB,OAAO,CAAC,QAAQ,CAAC,UAAU;gBAAtD,OAAO,EAAE,gBAAgB,EAAmB,UAAU,EAAE,kBAAkB;IAGxG,iBAAiB,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,GAAE,MAAW,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC;IAkBlE,UAAU,CAAC,IAAI,EAAE,WAAW,GAAG,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAI,UAAU;IAgBvF,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU;IAc9D,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,OAAO,EAAE,OAAO,GAAG,UAAU;IAkB1E,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;IAiFxD,iBAAiB,CAAC,IAAI,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,UAAU,EAAE,MAAM,GAAG,QAAQ;IAiE9E;;;;;OAKG;IACH,aAAa,CAAC,IAAI,EAAE,WAAW,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;IAiDxD,mBAAmB,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;IA4DpE,oBAAoB,CAAC,IAAI,EAAE,iBAAiB,EAAE,IAAI,EAAE,IAAI,GAAG,UAAU;CAmGxE"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Mapping } from "./mapping";
|
|
2
|
+
import { ParsedStep } from "./types";
|
|
3
|
+
import { ReplaceStep } from "prosemirror-transform";
|
|
4
|
+
export declare class TextUpdate {
|
|
5
|
+
/** This function is responsible for handling updates in prosemirror that happen exclusively as text edits and translating them to vscode text doc */
|
|
6
|
+
textUpdate(step: ReplaceStep, mapping: Mapping): ParsedStep;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=textUpdate.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"textUpdate.d.ts","sourceRoot":"","sources":["../../src/mapping/textUpdate.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AACpC,OAAO,EAAE,UAAU,EAAiB,MAAM,SAAS,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AAGpD,qBAAa,UAAU;IAEnB,qJAAqJ;IACrJ,UAAU,CAAC,IAAI,EAAE,WAAW,EAAE,OAAO,EAAE,OAAO,GAAI,UAAU;CAoD/D"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { DocChange, WrappingDocChange } from "../api";
|
|
2
|
+
import { Tree } from "./Tree";
|
|
3
|
+
/**
|
|
4
|
+
* The type returned by the functions converting steps to Document Changes of the
|
|
5
|
+
* underlying vscode model of the document
|
|
6
|
+
*/
|
|
7
|
+
export type ParsedStep = {
|
|
8
|
+
/** The document change that will be forwarded to vscode */
|
|
9
|
+
result: DocChange | WrappingDocChange;
|
|
10
|
+
/** The new tree that represents the updated mapping */
|
|
11
|
+
newTree: Tree;
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* In prosemirror, every step is a replace step. This enum is used to classify
|
|
15
|
+
* the steps into the given 'pure' operations
|
|
16
|
+
*/
|
|
17
|
+
export declare enum OperationType {
|
|
18
|
+
insert = "insert",
|
|
19
|
+
delete = "delete",
|
|
20
|
+
replace = "replace"
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/mapping/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,MAAM,QAAQ,CAAC;AAC9B;;;GAGG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,2DAA2D;IAC3D,MAAM,EAAE,SAAS,GAAG,iBAAiB,CAAC;IACtC,uDAAuD;IACvD,OAAO,EAAE,IAAI,CAAA;CAChB,CAAA;AAED;;;GAGG;AACH,oBAAY,aAAa;IACrB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,OAAO,YAAY;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/markdown-defaults/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,wBAAgB,aAAa,CAAC,UAAU,EAAE,MAAM,GAAG,gBAAgB,CA4BlE"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { WaterproofDocument } from "../api";
|
|
2
|
+
/**
|
|
3
|
+
* Parser for markdown documents.
|
|
4
|
+
*
|
|
5
|
+
* Next to the regular markdown and code parts this parser has predefined 'tags' for hints and input areas:
|
|
6
|
+
* * The content between `<hint title="{title}">` and ` </hint>` is turned into a hint cell, `{title}` will turn into the title that is displayed in the editor.
|
|
7
|
+
* * The content between `<input-area>` and `</input-area>` is turned into an input area.
|
|
8
|
+
* @param document The document to convert into a `WaterproofDocument`
|
|
9
|
+
* @param language The language tag to use for the code cells. That is, the part of the ` ``` ` when opening a code block (` ```python ` for a python
|
|
10
|
+
* code block). Defaults to `""`.
|
|
11
|
+
* @returns A array of `Block` that form a `WaterproofDocument`.
|
|
12
|
+
*/
|
|
13
|
+
export declare function parse(document: string, language?: string): WaterproofDocument;
|
|
14
|
+
//# sourceMappingURL=statemachine.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statemachine.d.ts","sourceRoot":"","sources":["../../src/markdown-defaults/statemachine.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAuB5C;;;;;;;;;;GAUG;AACH,wBAAgB,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,QAAQ,GAAE,MAAW,GAAG,kBAAkB,CAySjF"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { Node as ProseNode } from "prosemirror-model";
|
|
2
|
+
import { Plugin as ProsePlugin, PluginKey, TextSelection } from "prosemirror-state";
|
|
3
|
+
import { EditorView } from "prosemirror-view";
|
|
4
|
+
import { SwitchableView } from "./switchable-view";
|
|
5
|
+
import { WaterproofEditorConfig } from "../api";
|
|
6
|
+
export interface ISwitchableViewPluginState {
|
|
7
|
+
macros: {
|
|
8
|
+
[cmd: string]: string;
|
|
9
|
+
};
|
|
10
|
+
/** A list of currently active `NodeView`s, in insertion order. */
|
|
11
|
+
activeNodeViews: SwitchableView[];
|
|
12
|
+
/** The selection of the current cursor position */
|
|
13
|
+
cursor: TextSelection | undefined;
|
|
14
|
+
}
|
|
15
|
+
export declare const SWITCHABLE_VIEW_PLUGIN_KEY: PluginKey<ISwitchableViewPluginState>;
|
|
16
|
+
/**
|
|
17
|
+
* Returns a function suitable for passing as a field in `EditorProps.nodeViews`.
|
|
18
|
+
* @see https://prosemirror.net/docs/ref/#view.EditorProps.nodeViews
|
|
19
|
+
*/
|
|
20
|
+
export declare function createRealMarkdownView(editorConfig: WaterproofEditorConfig): (node: ProseNode, view: EditorView, getPos: (() => number | undefined)) => SwitchableView;
|
|
21
|
+
export declare const switchableViewPlugin: (editorConfig: WaterproofEditorConfig) => ProsePlugin<ISwitchableViewPluginState>;
|
|
22
|
+
//# sourceMappingURL=SwitchableViewPlugin.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchableViewPlugin.d.ts","sourceRoot":"","sources":["../../src/markup-views/SwitchableViewPlugin.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,MAAM,IAAI,WAAW,EAAE,SAAS,EAAc,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAChG,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAC9C,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,QAAQ,CAAC;AAKhD,MAAM,WAAW,0BAA0B;IAC1C,MAAM,EAAE;QAAE,CAAC,GAAG,EAAC,MAAM,GAAI,MAAM,CAAA;KAAE,CAAC;IAClC,kEAAkE;IAClE,eAAe,EAAE,cAAc,EAAE,CAAC;IAClC,mDAAmD;IACnD,MAAM,EAAE,aAAa,GAAG,SAAS,CAAC;CAElC;AAED,eAAO,MAAM,0BAA0B,uCAA6E,CAAC;AAErH;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,YAAY,EAAE,sBAAsB,IAClE,MAAM,SAAS,EAAE,MAAM,UAAU,EAAE,QAAQ,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,KAAG,cAAc,CAa9F;AAmCD,eAAO,MAAM,oBAAoB,GAAI,cAAc,sBAAsB,4CAA0D,CAAC"}
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
import { Node } from "prosemirror-model";
|
|
2
|
+
import { TagConfiguration } from "../api";
|
|
3
|
+
export declare abstract class DocumentSerializer {
|
|
4
|
+
/**
|
|
5
|
+
* Describes how to turn a code node into a string representation.
|
|
6
|
+
* @param codeNode The code node that is going to be serialized
|
|
7
|
+
* @param parentNode The parent node of this node (if it has one)
|
|
8
|
+
* @param neighbors Function that upon calling will return the neighbors of the node being serialized. When `skipNewlines` is set and the *direct* neighbors
|
|
9
|
+
* of the node are newline nodes they will be skipped and the next nodes will be returned (if they exist).
|
|
10
|
+
*/
|
|
11
|
+
abstract serializeCode(codeNode: Node, parentNode: string | null, neighbors: (skipNewlines: boolean) => {
|
|
12
|
+
nodeAbove: string | null;
|
|
13
|
+
nodeBelow: string | null;
|
|
14
|
+
}): string;
|
|
15
|
+
/**
|
|
16
|
+
* Describes how to turn a math node into a string representation.
|
|
17
|
+
* @param mathNode The math node that is going to be serialized
|
|
18
|
+
* @param parentNode The parent node of this node (if it has one)
|
|
19
|
+
* @param neighbors Function that upon calling will return the neighbors of the node being serialized. When `skipNewlines` is set and the *direct* neighbors
|
|
20
|
+
* of the node are newline nodes they will be skipped and the next nodes will be returned (if they exist).
|
|
21
|
+
*/
|
|
22
|
+
abstract serializeMath(mathNode: Node, parentNode: string | null, neighbors: (skipNewlines: boolean) => {
|
|
23
|
+
nodeAbove: string | null;
|
|
24
|
+
nodeBelow: string | null;
|
|
25
|
+
}): string;
|
|
26
|
+
/**
|
|
27
|
+
* Describes how to turn a markdown node into a string representation.
|
|
28
|
+
* @param codeNode The markdown node that is going to be serialized
|
|
29
|
+
* @param parentNode The parent node of this node (if it has one)
|
|
30
|
+
* @param neighbors Function that upon calling will return the neighbors of the node being serialized. When `skipNewlines` is set and the *direct* neighbors
|
|
31
|
+
* of the node are newline nodes they will be skipped and the next nodes will be returned (if they exist).
|
|
32
|
+
*/
|
|
33
|
+
abstract serializeMarkdown(markdownNode: Node, parentNode: string | null, neighbors: (skipNewlines: boolean) => {
|
|
34
|
+
nodeAbove: string | null;
|
|
35
|
+
nodeBelow: string | null;
|
|
36
|
+
}): string;
|
|
37
|
+
/**
|
|
38
|
+
* Describes how to turn a input node into a string representation.
|
|
39
|
+
* This node can have children, so you probably want to call `this.serializeNode` on every child node using
|
|
40
|
+
* `inputNde.forEach((child) => {...})`
|
|
41
|
+
* @param inputNode The input node that is going to be serialized
|
|
42
|
+
* @param parentNode The parent node of this node (if it has one)
|
|
43
|
+
* @param neighbors Function that upon calling will return the neighbors of the node being serialized. When `skipNewlines` is set and the *direct* neighbors
|
|
44
|
+
* of the node are newline nodes they will be skipped and the next nodes will be returned (if they exist).
|
|
45
|
+
*/
|
|
46
|
+
abstract serializeInput(inputNode: Node, parentNode: string | null, neighbors: (skipNewlines: boolean) => {
|
|
47
|
+
nodeAbove: string | null;
|
|
48
|
+
nodeBelow: string | null;
|
|
49
|
+
}): string;
|
|
50
|
+
/**
|
|
51
|
+
* Describes how to turn a hint node into a string representation. This function can query the title of the node via
|
|
52
|
+
* `hint.attrs.title`. This node can have children, so you probably want to call `this.serializeNode` on every child node using
|
|
53
|
+
* `hintNode.forEach((child) => {...})`
|
|
54
|
+
* @param hintNode The hint node that is going to be serialized
|
|
55
|
+
* @param parentNode The parent node of this node (if it has one)
|
|
56
|
+
* @param neighbors Function that upon calling will return the neighbors of the node being serialized. When `skipNewlines` is set and the *direct* neighbors
|
|
57
|
+
* of the node are newline nodes they will be skipped and the next nodes will be returned (if they exist).
|
|
58
|
+
*/
|
|
59
|
+
abstract serializeHint(hintNode: Node, parentNode: string | null, neighbors: (skipNewlines: boolean) => {
|
|
60
|
+
nodeAbove: string | null;
|
|
61
|
+
nodeBelow: string | null;
|
|
62
|
+
}): string;
|
|
63
|
+
serializeText(node: Node): string;
|
|
64
|
+
serializeNewline(): string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @param node
|
|
68
|
+
* @returns
|
|
69
|
+
*/
|
|
70
|
+
serializeNode(node: Node, parent: string | null, neighbors: (skipNewlines: boolean) => {
|
|
71
|
+
nodeAbove: string | null;
|
|
72
|
+
nodeBelow: string | null;
|
|
73
|
+
}): string;
|
|
74
|
+
/**
|
|
75
|
+
*
|
|
76
|
+
* @param node
|
|
77
|
+
*/
|
|
78
|
+
serializeDocument(node: Node): string;
|
|
79
|
+
}
|
|
80
|
+
export declare class DefaultTagSerializer extends DocumentSerializer {
|
|
81
|
+
private readonly tagConf;
|
|
82
|
+
constructor(tagConf: TagConfiguration);
|
|
83
|
+
serializeCode(node: Node): string;
|
|
84
|
+
serializeMath(node: Node): string;
|
|
85
|
+
serializeMarkdown(node: Node): string;
|
|
86
|
+
serializeInput(node: Node): string;
|
|
87
|
+
serializeHint(node: Node): string;
|
|
88
|
+
}
|
|
89
|
+
//# sourceMappingURL=DocumentSerializer.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocumentSerializer.d.ts","sourceRoot":"","sources":["../../src/serialization/DocumentSerializer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAEzC,OAAO,EAAE,gBAAgB,EAAE,MAAM,QAAQ,CAAC;AAE1C,8BAAsB,kBAAkB;IACpC;;;;;;OAMG;IACH,QAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IACrK;;;;;;OAMG;IACH,QAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IACrK;;;;;;OAMG;IACH,QAAQ,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IAC7K;;;;;;;;OAQG;IACH,QAAQ,CAAC,cAAc,CAAC,SAAS,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IACvK;;;;;;;;OAQG;IACH,QAAQ,CAAC,aAAa,CAAC,QAAQ,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IAErK,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAIjC,gBAAgB,IAAI,MAAM;IAI1B;;;;OAIG;IACI,aAAa,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI,EAAE,SAAS,EAAE,CAAC,YAAY,EAAE,OAAO,KAAK;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;QAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAA;KAAC,GAAG,MAAM;IAc3J;;;OAGG;IACI,iBAAiB,CAAC,IAAI,EAAE,IAAI;CAuBtC;AAED,qBAAa,oBAAqB,SAAQ,kBAAkB;IAE5C,OAAO,CAAC,QAAQ,CAAC,OAAO;gBAAP,OAAO,EAAE,gBAAgB;IAItD,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAIjC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAIjC,iBAAiB,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAIrC,cAAc,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;IAUlC,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,MAAM;CAUpC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type of completions.
|
|
3
|
+
*/
|
|
4
|
+
export type WaterproofCompletion = {
|
|
5
|
+
/** The label shown in the completion panel */
|
|
6
|
+
label: string;
|
|
7
|
+
/** The type of the completion */
|
|
8
|
+
type: string;
|
|
9
|
+
detail: string;
|
|
10
|
+
template: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Completion that can always be inserted.
|
|
14
|
+
* Does not support templating.
|
|
15
|
+
*/
|
|
16
|
+
export type WaterproofSymbol = {
|
|
17
|
+
label: string;
|
|
18
|
+
type: string;
|
|
19
|
+
apply: string;
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=Completions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Completions.d.ts","sourceRoot":"","sources":["../../../src/api/Completions.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG;IAC/B,8CAA8C;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,iCAAiC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAA;CAChB,CAAA"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This object specifies a TextDocument change. As in prosemirror:
|
|
3
|
+
* startInFile == endInFile: insert operation
|
|
4
|
+
* else: replace or deletion with finalText
|
|
5
|
+
*/
|
|
6
|
+
export type DocChange = {
|
|
7
|
+
startInFile: number;
|
|
8
|
+
endInFile: number;
|
|
9
|
+
finalText: string;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* This object specifies a wrapping TextDocument change. This happens when nodes
|
|
13
|
+
* are wrapped with input or hint
|
|
14
|
+
*/
|
|
15
|
+
export type WrappingDocChange = {
|
|
16
|
+
firstEdit: DocChange;
|
|
17
|
+
secondEdit: DocChange;
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=DocChange.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DocChange.d.ts","sourceRoot":"","sources":["../../../src/api/DocChange.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,MAAM,MAAM,SAAS,GAAG;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;CACrB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC5B,SAAS,EAAE,SAAS,CAAC;IACrB,UAAU,EAAE,SAAS,CAAC;CACzB,CAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The different supported input/output file types
|
|
3
|
+
*/
|
|
4
|
+
export declare enum FileFormat {
|
|
5
|
+
/** Markdown enabled coq file (extension: `.mv`) */
|
|
6
|
+
MarkdownV = "MarkdownV",
|
|
7
|
+
/** Regular coq file, with the possibility for coqdoc comments (extension: `.v`) */
|
|
8
|
+
RegularV = "RegularV"
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=FileFormat.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileFormat.d.ts","sourceRoot":"","sources":["../../../src/api/FileFormat.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,UAAU;IAClB,mDAAmD;IACnD,SAAS,cAAc;IACvB,mFAAmF;IACnF,QAAQ,aAAa;CACxB"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The status of an input area.
|
|
3
|
+
*/
|
|
4
|
+
export declare enum InputAreaStatus {
|
|
5
|
+
/** The proof is correct. */
|
|
6
|
+
Proven = "proven",
|
|
7
|
+
/** The proof is unfinished or contains an error. */
|
|
8
|
+
Incomplete = "incomplete",
|
|
9
|
+
/** The input area does not contain `Qed.` at the end, so the status cannot be determined. */
|
|
10
|
+
Invalid = "invalid",
|
|
11
|
+
/** Not in view, so was not requested */
|
|
12
|
+
NotInView = "not-in-view"
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=InputAreaStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InputAreaStatus.d.ts","sourceRoot":"","sources":["../../../src/api/InputAreaStatus.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,oBAAY,eAAe;IACvB,4BAA4B;IAC5B,MAAM,WAAW;IACjB,oDAAoD;IACpD,UAAU,eAAe;IACzB,6FAA6F;IAC7F,OAAO,YAAY;IACnB,wCAAwC;IACxC,SAAS,gBAAgB;CAC5B"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is the versioned linenumber message
|
|
3
|
+
*/
|
|
4
|
+
export type LineNumber = {
|
|
5
|
+
/** The linenumbers */
|
|
6
|
+
linenumbers: Array<number>;
|
|
7
|
+
/** Version of the document the linenumbers correspond to.. */
|
|
8
|
+
version: number;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=LineNumber.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"LineNumber.d.ts","sourceRoot":"","sources":["../../../src/api/LineNumber.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACrB,sBAAsB;IACtB,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAC3B,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC;CACnB,CAAA"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Type that indicates that the server is busy processing a document.
|
|
3
|
+
*/
|
|
4
|
+
export type Busy = {
|
|
5
|
+
/** Status */
|
|
6
|
+
status: "Busy";
|
|
7
|
+
/** Extra metadata, can be used to communicate what the server is currently processing */
|
|
8
|
+
metadata: string;
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* Type that indicates that the server is idle. This means that it has
|
|
12
|
+
* either completed checking or is stopped.
|
|
13
|
+
*/
|
|
14
|
+
export type Idle = {
|
|
15
|
+
status: "Idle" | "Stopped";
|
|
16
|
+
};
|
|
17
|
+
export type ServerStatus = Busy | Idle;
|
|
18
|
+
//# sourceMappingURL=ServerStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ServerStatus.d.ts","sourceRoot":"","sources":["../../../src/api/ServerStatus.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACf,aAAa;IACb,MAAM,EAAE,MAAM,CAAC;IACf,yFAAyF;IACzF,QAAQ,EAAE,MAAM,CAAC;CACpB,CAAA;AAED;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG;IACf,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;CAC9B,CAAA;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,GAAG,IAAI,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Severity of reported diagnostics
|
|
3
|
+
*/
|
|
4
|
+
export declare enum Severity {
|
|
5
|
+
Error = 0,
|
|
6
|
+
Warning = 1,
|
|
7
|
+
Information = 2,
|
|
8
|
+
Hint = 3
|
|
9
|
+
}
|
|
10
|
+
export type SeverityLabel = "hint" | "info" | "warning" | "error";
|
|
11
|
+
export declare const SeverityLabelMap: Record<Severity, SeverityLabel>;
|
|
12
|
+
//# sourceMappingURL=Severity.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Severity.d.ts","sourceRoot":"","sources":["../../../src/api/Severity.ts"],"names":[],"mappings":"AACA;;GAEG;AACH,oBAAY,QAAQ;IACnB,KAAK,IAAI;IACT,OAAO,IAAI;IACX,WAAW,IAAI;IACZ,IAAI,IAAI;CACX;AAED,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAElE,eAAO,MAAM,gBAAgB,EAAE,MAAM,CAAC,QAAQ,EAAE,aAAa,CAK5D,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export { DocChange, WrappingDocChange } from "./DocChange";
|
|
2
|
+
export { InputAreaStatus } from "./InputAreaStatus";
|
|
3
|
+
export { LineNumber } from "./LineNumber";
|
|
4
|
+
export { Severity, SeverityLabel, SeverityLabelMap } from "./Severity";
|
|
5
|
+
export { FileFormat } from "./FileFormat";
|
|
6
|
+
export * from "./types";
|
|
7
|
+
export { WaterproofCompletion, WaterproofSymbol } from "./Completions";
|
|
8
|
+
export { Completion } from "@codemirror/autocomplete";
|
|
9
|
+
export { Step, ReplaceStep, ReplaceAroundStep } from "prosemirror-transform";
|
|
10
|
+
export { Fragment } from "prosemirror-model";
|
|
11
|
+
export { ServerStatus, Idle, Busy } from "./ServerStatus";
|
|
12
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/api/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAG3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,OAAO,EAAE,UAAU,EAAC,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,QAAQ,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,oBAAoB,EAAE,gBAAgB,EAAE,MAAM,eAAe,CAAC;AAEvE,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AACtD,OAAO,EAAE,IAAI,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE7C,OAAO,EAAE,YAAY,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,gBAAgB,CAAC"}
|