@impermeable/waterproof-editor 0.13.0 → 0.14.1
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/InputAreaStatus.d.ts +7 -7
- package/dist/api/InputAreaStatus.d.ts.map +1 -1
- package/dist/api/MessageHandlerEditor.d.ts +30 -0
- package/dist/api/MessageHandlerEditor.d.ts.map +1 -0
- package/dist/api/index.d.ts +6 -7
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/types.d.ts +125 -54
- package/dist/api/types.d.ts.map +1 -1
- package/dist/autocomplete/renderSymbol.d.ts +1 -2
- package/dist/autocomplete/renderSymbol.d.ts.map +1 -1
- package/dist/codeview/busy-indicator.d.ts +113 -0
- package/dist/codeview/busy-indicator.d.ts.map +1 -0
- package/dist/codeview/code-plugin.d.ts +5 -5
- package/dist/codeview/code-plugin.d.ts.map +1 -1
- package/dist/codeview/nodeview.d.ts +11 -2
- package/dist/codeview/nodeview.d.ts.map +1 -1
- package/dist/commands/command-helpers.d.ts +7 -22
- package/dist/commands/command-helpers.d.ts.map +1 -1
- package/dist/commands/commands.d.ts +6 -28
- package/dist/commands/commands.d.ts.map +1 -1
- package/dist/commands/index.d.ts +1 -2
- package/dist/commands/index.d.ts.map +1 -1
- package/dist/commands/insert-command.d.ts +7 -33
- package/dist/commands/insert-command.d.ts.map +1 -1
- package/dist/commands/types.d.ts +2 -2
- package/dist/commands/types.d.ts.map +1 -1
- package/dist/commands/utils.d.ts +2 -0
- package/dist/commands/utils.d.ts.map +1 -1
- package/dist/document/blocks/block.d.ts +12 -6
- package/dist/document/blocks/block.d.ts.map +1 -1
- package/dist/document/blocks/blocktypes.d.ts +78 -35
- package/dist/document/blocks/blocktypes.d.ts.map +1 -1
- package/dist/document/blocks/index.d.ts +2 -1
- package/dist/document/blocks/index.d.ts.map +1 -1
- package/dist/document/blocks/schema.d.ts +4 -7
- package/dist/document/blocks/schema.d.ts.map +1 -1
- package/dist/document/blocks/typeguards.d.ts +4 -5
- package/dist/document/blocks/typeguards.d.ts.map +1 -1
- package/dist/document/utils.d.ts +6 -10
- package/dist/document/utils.d.ts.map +1 -1
- package/dist/edit-utils.d.ts +10 -0
- package/dist/edit-utils.d.ts.map +1 -0
- package/dist/editor.d.ts +49 -31
- package/dist/editor.d.ts.map +1 -1
- package/dist/embedded-codemirror/embedded-codemirror-keymap.d.ts.map +1 -1
- package/dist/embedded-codemirror/embeddedCodemirror.d.ts +2 -2
- package/dist/embedded-codemirror/embeddedCodemirror.d.ts.map +1 -1
- package/dist/hinting/hint-plugin.d.ts +1 -2
- package/dist/hinting/hint-plugin.d.ts.map +1 -1
- package/dist/index.css +2 -2
- package/dist/index.d.ts +6 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +62 -82
- package/dist/inputArea.d.ts +2 -3
- package/dist/inputArea.d.ts.map +1 -1
- package/dist/mapping/Tree.d.ts +21 -5
- package/dist/mapping/Tree.d.ts.map +1 -1
- package/dist/mapping/mapping.d.ts +17 -0
- package/dist/mapping/mapping.d.ts.map +1 -1
- package/dist/mapping/nodeUpdate.d.ts +5 -5
- package/dist/mapping/nodeUpdate.d.ts.map +1 -1
- package/dist/mapping/textUpdate.d.ts +8 -0
- package/dist/mapping/textUpdate.d.ts.map +1 -1
- package/dist/mapping/types.d.ts.map +1 -1
- package/dist/markdown-defaults/index.d.ts.map +1 -1
- package/dist/markdown-defaults/statemachine.d.ts +11 -2
- package/dist/markdown-defaults/statemachine.d.ts.map +1 -1
- package/dist/markup-views/index.d.ts +1 -4
- package/dist/markup-views/index.d.ts.map +1 -1
- package/dist/markup-views/switchable-view/EditableView.d.ts.map +1 -1
- package/dist/markup-views/switchable-view/RenderedView.d.ts +1 -1
- package/dist/markup-views/switchable-view/RenderedView.d.ts.map +1 -1
- package/dist/markup-views/switchable-view/SwitchableView.d.ts +5 -8
- package/dist/markup-views/switchable-view/SwitchableView.d.ts.map +1 -1
- package/dist/menubar/menubar.d.ts +2 -4
- package/dist/menubar/menubar.d.ts.map +1 -1
- package/dist/progressBar.d.ts +31 -11
- package/dist/progressBar.d.ts.map +1 -1
- package/dist/qedStatus.d.ts.map +1 -1
- package/dist/schema/schema.d.ts +4 -3
- package/dist/schema/schema.d.ts.map +1 -1
- package/dist/serialization/DocumentSerializer.d.ts +43 -5
- package/dist/serialization/DocumentSerializer.d.ts.map +1 -1
- package/dist/styles/index.d.ts +3 -5
- package/dist/styles/index.d.ts.map +1 -1
- package/dist/styles/waterproof-defaults.css +2 -0
- package/dist/translation/index.d.ts +1 -1
- package/dist/translation/index.d.ts.map +1 -1
- package/package.json +33 -10
- package/tsconfig.test.json +14 -0
- package/dist/codeview/progress-indicator.d.ts +0 -19
- package/dist/codeview/progress-indicator.d.ts.map +0 -1
- package/dist/mapping/newmapping.d.ts +0 -62
- package/dist/mapping/newmapping.d.ts.map +0 -1
- package/dist/src/api/Completions.d.ts +0 -21
- package/dist/src/api/Completions.d.ts.map +0 -1
- package/dist/src/api/DocChange.d.ts +0 -19
- package/dist/src/api/DocChange.d.ts.map +0 -1
- package/dist/src/api/FileFormat.d.ts +0 -10
- package/dist/src/api/FileFormat.d.ts.map +0 -1
- package/dist/src/api/InputAreaStatus.d.ts +0 -14
- package/dist/src/api/InputAreaStatus.d.ts.map +0 -1
- package/dist/src/api/LineNumber.d.ts +0 -10
- package/dist/src/api/LineNumber.d.ts.map +0 -1
- package/dist/src/api/ServerStatus.d.ts +0 -18
- package/dist/src/api/ServerStatus.d.ts.map +0 -1
- package/dist/src/api/Severity.d.ts +0 -12
- package/dist/src/api/Severity.d.ts.map +0 -1
- package/dist/src/api/index.d.ts +0 -12
- package/dist/src/api/index.d.ts.map +0 -1
- package/dist/src/api/types.d.ts +0 -119
- package/dist/src/api/types.d.ts.map +0 -1
- package/dist/src/autocomplete/coqTerms.d.ts +0 -3
- package/dist/src/autocomplete/coqTerms.d.ts.map +0 -1
- package/dist/src/autocomplete/emojis.d.ts +0 -10
- package/dist/src/autocomplete/emojis.d.ts.map +0 -1
- package/dist/src/autocomplete/index.d.ts +0 -2
- package/dist/src/autocomplete/index.d.ts.map +0 -1
- package/dist/src/autocomplete/renderSymbol.d.ts +0 -7
- package/dist/src/autocomplete/renderSymbol.d.ts.map +0 -1
- package/dist/src/autocomplete/symbols.d.ts +0 -7
- package/dist/src/autocomplete/symbols.d.ts.map +0 -1
- package/dist/src/codeview/code-plugin.d.ts +0 -28
- package/dist/src/codeview/code-plugin.d.ts.map +0 -1
- package/dist/src/codeview/color-scheme.d.ts +0 -6
- package/dist/src/codeview/color-scheme.d.ts.map +0 -1
- package/dist/src/codeview/debouncer.d.ts +0 -8
- package/dist/src/codeview/debouncer.d.ts.map +0 -1
- package/dist/src/codeview/index.d.ts +0 -3
- package/dist/src/codeview/index.d.ts.map +0 -1
- package/dist/src/codeview/lang-pack/index.d.ts +0 -8
- package/dist/src/codeview/lang-pack/index.d.ts.map +0 -1
- package/dist/src/codeview/lang-pack/print-grammar.d.ts +0 -2
- package/dist/src/codeview/lang-pack/print-grammar.d.ts.map +0 -1
- package/dist/src/codeview/lang-pack/syntax.d.ts +0 -3
- package/dist/src/codeview/lang-pack/syntax.d.ts.map +0 -1
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts +0 -2
- package/dist/src/codeview/lang-pack/syntax.terms.d.ts.map +0 -1
- package/dist/src/codeview/nodeview.d.ts +0 -63
- package/dist/src/codeview/nodeview.d.ts.map +0 -1
- package/dist/src/commands/command-helpers.d.ts +0 -48
- package/dist/src/commands/command-helpers.d.ts.map +0 -1
- package/dist/src/commands/commands.d.ts +0 -30
- package/dist/src/commands/commands.d.ts.map +0 -1
- package/dist/src/commands/delete-command.d.ts +0 -4
- package/dist/src/commands/delete-command.d.ts.map +0 -1
- package/dist/src/commands/index.d.ts +0 -4
- package/dist/src/commands/index.d.ts.map +0 -1
- package/dist/src/commands/insert-command.d.ts +0 -34
- package/dist/src/commands/insert-command.d.ts.map +0 -1
- package/dist/src/commands/types.d.ts +0 -15
- package/dist/src/commands/types.d.ts.map +0 -1
- package/dist/src/context-menu/index.d.ts +0 -2
- package/dist/src/context-menu/index.d.ts.map +0 -1
- package/dist/src/context-menu/menu.d.ts +0 -8
- package/dist/src/context-menu/menu.d.ts.map +0 -1
- package/dist/src/document/blocks/block.d.ts +0 -24
- package/dist/src/document/blocks/block.d.ts.map +0 -1
- package/dist/src/document/blocks/blocktypes.d.ts +0 -78
- package/dist/src/document/blocks/blocktypes.d.ts.map +0 -1
- package/dist/src/document/blocks/index.d.ts +0 -3
- package/dist/src/document/blocks/index.d.ts.map +0 -1
- package/dist/src/document/blocks/schema.d.ts +0 -21
- package/dist/src/document/blocks/schema.d.ts.map +0 -1
- package/dist/src/document/blocks/typeguards.d.ts +0 -11
- package/dist/src/document/blocks/typeguards.d.ts.map +0 -1
- package/dist/src/document/construct-document.d.ts +0 -4
- package/dist/src/document/construct-document.d.ts.map +0 -1
- package/dist/src/document/index.d.ts +0 -5
- package/dist/src/document/index.d.ts.map +0 -1
- package/dist/src/document/utils.d.ts +0 -49
- package/dist/src/document/utils.d.ts.map +0 -1
- package/dist/src/documentProgressDecorator.d.ts +0 -9
- package/dist/src/documentProgressDecorator.d.ts.map +0 -1
- package/dist/src/editor.d.ts +0 -154
- package/dist/src/editor.d.ts.map +0 -1
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts +0 -9
- package/dist/src/embedded-codemirror/embedded-codemirror-keymap.d.ts.map +0 -1
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts +0 -40
- package/dist/src/embedded-codemirror/embeddedCodemirror.d.ts.map +0 -1
- package/dist/src/embedded-codemirror/index.d.ts +0 -3
- package/dist/src/embedded-codemirror/index.d.ts.map +0 -1
- package/dist/src/embedded-codemirror/types.d.ts +0 -9
- package/dist/src/embedded-codemirror/types.d.ts.map +0 -1
- package/dist/src/hinting/hint-plugin.d.ts +0 -9
- package/dist/src/hinting/hint-plugin.d.ts.map +0 -1
- package/dist/src/hinting/index.d.ts +0 -2
- package/dist/src/hinting/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -6
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/inputArea.d.ts +0 -14
- package/dist/src/inputArea.d.ts.map +0 -1
- package/dist/src/markup-views/CoqdocPlugin.d.ts +0 -19
- package/dist/src/markup-views/CoqdocPlugin.d.ts.map +0 -1
- package/dist/src/markup-views/CoqdocView.d.ts +0 -15
- package/dist/src/markup-views/CoqdocView.d.ts.map +0 -1
- package/dist/src/markup-views/MarkdownPlugin.d.ts +0 -21
- package/dist/src/markup-views/MarkdownPlugin.d.ts.map +0 -1
- package/dist/src/markup-views/MarkdownView.d.ts +0 -15
- package/dist/src/markup-views/MarkdownView.d.ts.map +0 -1
- package/dist/src/markup-views/index.d.ts +0 -5
- package/dist/src/markup-views/index.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/EditableView.d.ts +0 -22
- package/dist/src/markup-views/switchable-view/EditableView.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts +0 -8
- package/dist/src/markup-views/switchable-view/EditorTheme.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts +0 -8
- package/dist/src/markup-views/switchable-view/MarkdownSchema.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts +0 -13
- package/dist/src/markup-views/switchable-view/RenderedView.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts +0 -62
- package/dist/src/markup-views/switchable-view/SwitchableView.d.ts.map +0 -1
- package/dist/src/markup-views/switchable-view/index.d.ts +0 -2
- package/dist/src/markup-views/switchable-view/index.d.ts.map +0 -1
- package/dist/src/math-integration/index.d.ts +0 -2
- package/dist/src/math-integration/index.d.ts.map +0 -1
- package/dist/src/math-integration/nodespecs.d.ts +0 -4
- package/dist/src/math-integration/nodespecs.d.ts.map +0 -1
- package/dist/src/menubar/index.d.ts +0 -2
- package/dist/src/menubar/index.d.ts.map +0 -1
- package/dist/src/menubar/menubar.d.ts +0 -25
- package/dist/src/menubar/menubar.d.ts.map +0 -1
- package/dist/src/osType.d.ts +0 -8
- package/dist/src/osType.d.ts.map +0 -1
- package/dist/src/progressBar.d.ts +0 -13
- package/dist/src/progressBar.d.ts.map +0 -1
- package/dist/src/qedStatus.d.ts +0 -9
- package/dist/src/qedStatus.d.ts.map +0 -1
- package/dist/src/schema/index.d.ts +0 -2
- package/dist/src/schema/index.d.ts.map +0 -1
- package/dist/src/schema/schema-nodes.d.ts +0 -1
- package/dist/src/schema/schema-nodes.d.ts.map +0 -1
- package/dist/src/schema/schema.d.ts +0 -23
- package/dist/src/schema/schema.d.ts.map +0 -1
- package/dist/src/styles/index.d.ts +0 -17
- package/dist/src/styles/index.d.ts.map +0 -1
- package/dist/src/translation/Translator.d.ts +0 -12
- package/dist/src/translation/Translator.d.ts.map +0 -1
- package/dist/src/translation/index.d.ts +0 -2
- package/dist/src/translation/index.d.ts.map +0 -1
- package/dist/src/translation/toProsemirror/index.d.ts +0 -2
- package/dist/src/translation/toProsemirror/index.d.ts.map +0 -1
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts +0 -2
- package/dist/src/translation/toProsemirror/mvFileToProsemirror.d.ts.map +0 -1
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts +0 -7
- package/dist/src/translation/toProsemirror/parseAsMv.d.ts.map +0 -1
- package/dist/src/translation/toProsemirror/parser.d.ts +0 -3
- package/dist/src/translation/toProsemirror/parser.d.ts.map +0 -1
- package/dist/src/translation/types.d.ts +0 -12
- package/dist/src/translation/types.d.ts.map +0 -1
- package/dist/src/utilities/index.d.ts +0 -2
- package/dist/src/utilities/index.d.ts.map +0 -1
- package/dist/src/utilities/prosemirror.d.ts +0 -13
- package/dist/src/utilities/prosemirror.d.ts.map +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/jest-thingie +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/codeview/lang-pack/index.ts"],"names":[],"mappings":"AACA,OAAO,EACH,cAAc,EAAE,UAAU,EAAE,eAAe,EAC9C,MAAM,sBAAsB,CAAA;AAE7B,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAA;AAqBtC,eAAO,MAAM,cAAc,gBAUzB,CAAA;AAGF,eAAO,MAAM,eAAe,gBAU1B,CAAC;AAGH,eAAO,MAAM,WAAW,YAqFtB,CAAA;AAEF,wBAAgB,GAAG,oBAElB;AAED,wBAAgB,qBAAqB,CAAC,UAAU,EAAE,UAAU,yCAG3D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"print-grammar.d.ts","sourceRoot":"","sources":["../../../../src/codeview/lang-pack/print-grammar.ts"],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syntax.d.ts","sourceRoot":"","sources":["../../../../src/codeview/lang-pack/syntax.ts"],"names":[],"mappings":"AACA,OAAO,EAAC,QAAQ,EAAkB,MAAM,WAAW,CAAA;AACnD,eAAO,MAAM,MAAM,UAajB,CAAA"}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
export declare const Program = 1, Sentence = 2, Comment = 3, FocusOperation = 4, Bullet = 5, FocusBrace = 6, UnfocusBrace = 7, WaterproofTactic = 8, Argument = 16, And = 17, That = 19, As = 23, DefineSymbol = 30, In = 31, All = 35, AccordingTo = 37, SuchAn = 38, Magic = 40, It = 41, We = 44, Both = 48, Or = 50, Vernac = 52, Lemmas = 69, LemmaKeyword = 70, Definitions = 74, DefinitionKeyword = 75, ArgumentEnd = 79;
|
|
2
|
-
//# sourceMappingURL=syntax.terms.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"syntax.terms.d.ts","sourceRoot":"","sources":["../../../../src/codeview/lang-pack/syntax.terms.ts"],"names":[],"mappings":"AACA,eAAO,MACL,OAAO,IAAI,EACX,QAAQ,IAAI,EACZ,OAAO,IAAI,EACX,cAAc,IAAI,EAClB,MAAM,IAAI,EACV,UAAU,IAAI,EACd,YAAY,IAAI,EAChB,gBAAgB,IAAI,EACpB,QAAQ,KAAK,EACb,GAAG,KAAK,EACR,IAAI,KAAK,EACT,EAAE,KAAK,EACP,YAAY,KAAK,EACjB,EAAE,KAAK,EACP,GAAG,KAAK,EACR,WAAW,KAAK,EAChB,MAAM,KAAK,EACX,KAAK,KAAK,EACV,EAAE,KAAK,EACP,EAAE,KAAK,EACP,IAAI,KAAK,EACT,EAAE,KAAK,EACP,MAAM,KAAK,EACX,MAAM,KAAK,EACX,YAAY,KAAK,EACjB,WAAW,KAAK,EAChB,iBAAiB,KAAK,EACtB,WAAW,KAAK,CAAA"}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import { Completion, CompletionSource } from "@codemirror/autocomplete";
|
|
2
|
-
import { Node, Schema } from "prosemirror-model";
|
|
3
|
-
import { EditorView } from "prosemirror-view";
|
|
4
|
-
import { EmbeddedCodeMirrorEditor } from "../embedded-codemirror";
|
|
5
|
-
import { Diagnostic } from "@codemirror/lint";
|
|
6
|
-
import { ThemeStyle } from "../api";
|
|
7
|
-
import { WaterproofEditor } from "../editor";
|
|
8
|
-
/**
|
|
9
|
-
* Export CodeBlockView class that implements the custom codeblock nodeview.
|
|
10
|
-
* Corresponds with the example as can be found here:
|
|
11
|
-
* https://prosemirror.net/examples/codemirror/
|
|
12
|
-
*/
|
|
13
|
-
export declare class CodeBlockView extends EmbeddedCodeMirrorEditor {
|
|
14
|
-
private readonly editorInstance;
|
|
15
|
-
dom: HTMLElement;
|
|
16
|
-
private _lineNumberCompartment;
|
|
17
|
-
private _lineNumbersExtension;
|
|
18
|
-
private _dynamicCompletions;
|
|
19
|
-
private _readOnlyCompartment;
|
|
20
|
-
private _themeCompartment;
|
|
21
|
-
private lastUsedDiagnosticsVersion;
|
|
22
|
-
constructor(node: Node, view: EditorView, editorInstance: WaterproofEditor, getPos: (() => number | undefined), schema: Schema, completions: Array<Completion>, symbols: Array<Completion>, initialThemeStyle: ThemeStyle);
|
|
23
|
-
dispatchEmpty(): void;
|
|
24
|
-
private partOfInputArea;
|
|
25
|
-
handleSnippet(template: string, posFrom: number, posTo: number, completion?: Completion | undefined): void;
|
|
26
|
-
/**
|
|
27
|
-
* set edit permission
|
|
28
|
-
*/
|
|
29
|
-
setEditPermission(): void;
|
|
30
|
-
/**
|
|
31
|
-
* Update the theme of the editor.
|
|
32
|
-
*/
|
|
33
|
-
updateThemeFromVSCode(theme: ThemeStyle): void;
|
|
34
|
-
/**
|
|
35
|
-
* Update the line numbers extension
|
|
36
|
-
*/
|
|
37
|
-
updateLineNumbers(firstLineNo: number, toggleState: boolean): void;
|
|
38
|
-
/**
|
|
39
|
-
* This method needs to be called with the new list to update it.
|
|
40
|
-
*/
|
|
41
|
-
handleNewComplete(newCompletions: Completion[]): void;
|
|
42
|
-
/**
|
|
43
|
-
* (Dynamic) Completion Source.
|
|
44
|
-
* Contains completions for defined theorems/lemmas/etc.
|
|
45
|
-
*/
|
|
46
|
-
dynamicCompletionSource: CompletionSource;
|
|
47
|
-
/**
|
|
48
|
-
* The {@linkcode LintSource} to use for the codemirror instance.
|
|
49
|
-
* This will use the outer {@linkcode WaterproofEditor} to get diagnostics in the range of this
|
|
50
|
-
* codemirror view.
|
|
51
|
-
*/
|
|
52
|
-
private lintingFunction;
|
|
53
|
-
/**
|
|
54
|
-
* Add a new coq error to this view
|
|
55
|
-
* @param from The from position of the error.
|
|
56
|
-
* @param to The to postion of the error (should be larger than `from`).
|
|
57
|
-
* @param message The message attached to this error.
|
|
58
|
-
* @param severity The severity attached to this error.
|
|
59
|
-
*/
|
|
60
|
-
preprocessDiagnostic(from: number, to: number, message: string, severity: number): Diagnostic;
|
|
61
|
-
private showCopyNotification;
|
|
62
|
-
}
|
|
63
|
-
//# sourceMappingURL=nodeview.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"nodeview.d.ts","sourceRoot":"","sources":["../../../src/codeview/nodeview.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAuC,gBAAgB,EAA+L,MAAM,0BAA0B,CAAC;AAQ1S,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAG7C,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAC;AAClE,OAAO,EAAsB,UAAU,EAAc,MAAM,kBAAkB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;GAIG;AACH,qBAAa,aAAc,SAAQ,wBAAwB;IAazD,OAAO,CAAC,QAAQ,CAAC,cAAc;IAZhC,GAAG,EAAE,WAAW,CAAC;IAEjB,OAAO,CAAC,sBAAsB,CAAc;IAC5C,OAAO,CAAC,qBAAqB,CAAY;IACzC,OAAO,CAAC,mBAAmB,CAAoB;IAC/C,OAAO,CAAC,oBAAoB,CAAc;IAC1C,OAAO,CAAC,iBAAiB,CAAc;IACvC,OAAO,CAAC,0BAA0B,CAAa;gBAG9C,IAAI,EAAE,IAAI,EACV,IAAI,EAAE,UAAU,EACC,cAAc,EAAE,gBAAgB,EACjD,MAAM,EAAE,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,EAClC,MAAM,EAAE,MAAM,EACd,WAAW,EAAE,KAAK,CAAC,UAAU,CAAC,EAC9B,OAAO,EAAE,KAAK,CAAC,UAAU,CAAC,EAC1B,iBAAiB,EAAE,UAAU;IAsOvB,aAAa;IAIpB,OAAO,CAAC,eAAe;IAWhB,aAAa,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,CAAC,EAAG,UAAU,GAAG,SAAS;IAQ3G;;OAEG;IACH,iBAAiB,IAAI,IAAI;IASzB;;OAEG;IACI,qBAAqB,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IAQrD;;OAEG;IACH,iBAAiB,CAAC,WAAW,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,GAAG,IAAI;IAWlE;;OAEG;IACH,iBAAiB,CAAC,cAAc,EAAE,UAAU,EAAE,GAAG,IAAI;IAIrD;;;OAGG;IACH,uBAAuB,EAAE,gBAAgB,CAYvC;IAEF;;;;OAIG;IACH,OAAO,CAAC,eAAe,CAiBtB;IAED;;;;;;OAMG;IACI,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,UAAU;IAuEpG,OAAO,CAAC,oBAAoB;CAwB5B"}
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { NodeType, Node as PNode } from "prosemirror-model";
|
|
2
|
-
import { EditorState, Transaction, Selection } from "prosemirror-state";
|
|
3
|
-
/**
|
|
4
|
-
* Get a selection type object from a user selection.
|
|
5
|
-
* @param sel Input user selection.
|
|
6
|
-
* @returns Object that stores booleans whether we have a text or node selection.
|
|
7
|
-
*/
|
|
8
|
-
export declare function selectionType(sel: Selection): {
|
|
9
|
-
isTextSelection: boolean;
|
|
10
|
-
isNodeSelection: boolean;
|
|
11
|
-
};
|
|
12
|
-
export declare function getNearestPosOutsideCoqblock(sel: Selection, _state: EditorState): {
|
|
13
|
-
start: number;
|
|
14
|
-
end: number;
|
|
15
|
-
};
|
|
16
|
-
/**
|
|
17
|
-
* Helper function for inserting a new node above the currently selected one.
|
|
18
|
-
* @param state The current editor state.
|
|
19
|
-
* @param tr The current transaction for the state of the editor.
|
|
20
|
-
* @param escapeContainingNode Whether to escape the containing node.
|
|
21
|
-
* @param nodeType Array of nodes to insert. Depending on the node type this will be either one or more
|
|
22
|
-
* (coqcode outside of a coqblock needs to be enclosed within a new coqblock)
|
|
23
|
-
* @returns An insertion transaction.
|
|
24
|
-
*/
|
|
25
|
-
export declare function insertAbove(state: EditorState, tr: Transaction, ...nodeType: NodeType[]): Transaction;
|
|
26
|
-
/**
|
|
27
|
-
* Helper function for inserting a new node underneath the currently selected one.
|
|
28
|
-
* @param state The current editor state.
|
|
29
|
-
* @param tr The current transaction for the state of the editor.
|
|
30
|
-
* @param escapeContainingNode Whether to escape the containing node.
|
|
31
|
-
* @param nodeType Array of nodes to insert. Depending on the node type this will be either one or more
|
|
32
|
-
* (coqcode outside of a coqblock needs to be enclosed within a new coqblock)
|
|
33
|
-
* @returns An insertion transaction.
|
|
34
|
-
*/
|
|
35
|
-
export declare function insertUnder(state: EditorState, tr: Transaction, ...nodeType: NodeType[]): Transaction;
|
|
36
|
-
/**
|
|
37
|
-
* Returns the containing node for the current selection.
|
|
38
|
-
* @param sel The user's selection.
|
|
39
|
-
* @returns The node containing this selection. Will *not* return text nodes.
|
|
40
|
-
*/
|
|
41
|
-
export declare function getContainingNode(sel: Selection): PNode | undefined;
|
|
42
|
-
export declare function allowedToInsert(state: EditorState): boolean;
|
|
43
|
-
/**
|
|
44
|
-
* Helper function for checking if the selection is within an input area.
|
|
45
|
-
* @returns Whether the selection is within an input area.
|
|
46
|
-
*/
|
|
47
|
-
export declare function checkInputArea(sel: Selection): boolean;
|
|
48
|
-
//# sourceMappingURL=command-helpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"command-helpers.d.ts","sourceRoot":"","sources":["../../../src/commands/command-helpers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,QAAQ,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC5D,OAAO,EAAE,WAAW,EAAiB,WAAW,EAAE,SAAS,EAAiB,MAAM,mBAAmB,CAAC;AAKtG;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,EAAE,SAAS;;;EAK3C;AAED,wBAAgB,4BAA4B,CAAC,GAAG,EAAE,SAAS,EAAE,MAAM,EAAE,WAAW;;;EAa/E;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,QAAQ,EAAE,GAAG,WAAW,CAwBrG;AAED;;;;;;;;GAQG;AACH,wBAAgB,WAAW,CAAC,KAAK,EAAE,WAAW,EAAE,EAAE,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,QAAQ,EAAE,GAAG,WAAW,CA8BrG;AAED;;;;GAIG;AACH,wBAAgB,iBAAiB,CAAC,GAAG,EAAE,SAAS,GAAG,KAAK,GAAG,SAAS,CAUnE;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,WAAW,GAAG,OAAO,CAS3D;AAED;;;GAGG;AACH,wBAAgB,cAAc,CAAC,GAAG,EAAE,SAAS,GAAG,OAAO,CAOtD"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { Schema } from "prosemirror-model";
|
|
2
|
-
import { Command } from "prosemirror-state";
|
|
3
|
-
import { InsertionPlace } from "./types";
|
|
4
|
-
import { FileFormat } from "../api";
|
|
5
|
-
/**
|
|
6
|
-
* Creates a command that creates a new code cell above/underneath the currently selected node.
|
|
7
|
-
* @param schema The schema to use
|
|
8
|
-
* @param filef The format of the currently opened file.
|
|
9
|
-
* @param insertionPlace The place to insert the new node into: Underneath or Above the current node.
|
|
10
|
-
* @returns The `Command`.
|
|
11
|
-
*/
|
|
12
|
-
export declare function cmdInsertCode(schema: Schema, filef: FileFormat, insertionPlace: InsertionPlace): Command;
|
|
13
|
-
/**
|
|
14
|
-
* Creates a command that creates a new markdown cell underneath/above the currently selected node.
|
|
15
|
-
* @param schema The schema to use
|
|
16
|
-
* @param filef The fileformat of the file currently opened.
|
|
17
|
-
* @param insertionPlace The place to insert at: Above or Underneath current node.
|
|
18
|
-
* @returns The `Command`.
|
|
19
|
-
*/
|
|
20
|
-
export declare function cmdInsertMarkdown(schema: Schema, filef: FileFormat, insertionPlace: InsertionPlace): Command;
|
|
21
|
-
/**
|
|
22
|
-
* Returns a command that inserts a new Display Math cell above/underneath the currently selected cell.
|
|
23
|
-
* @param schema The schema in use.
|
|
24
|
-
* @param filef The file format of the current file.
|
|
25
|
-
* @param insertionPlace The place to insert the node at Above or Underneath the current node.
|
|
26
|
-
* @returns The `Command`
|
|
27
|
-
*/
|
|
28
|
-
export declare function cmdInsertLatex(schema: Schema, filef: FileFormat, insertionPlace: InsertionPlace): Command;
|
|
29
|
-
export declare const liftWrapper: Command;
|
|
30
|
-
//# sourceMappingURL=commands.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commands.d.ts","sourceRoot":"","sources":["../../../src/commands/commands.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,MAAM,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,OAAO,EAA2C,MAAM,mBAAmB,CAAC;AAErF,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAIzC,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAoBpC;;;;;;GAMG;AACH,wBAAgB,aAAa,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,GAAG,OAAO,CAMxG;AAgBD;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,GAAG,OAAO,CAO5G;AASD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,cAAc,GAAG,OAAO,CAKzG;AAED,eAAO,MAAM,WAAW,EAAE,OAqBzB,CAAA"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { EditorState, Transaction } from "prosemirror-state";
|
|
2
|
-
import { EditorView } from "prosemirror-view";
|
|
3
|
-
export declare function deleteNodeIfEmpty(state: EditorState, dispatch?: ((tr: Transaction) => void), _view?: EditorView): boolean;
|
|
4
|
-
//# sourceMappingURL=delete-command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"delete-command.d.ts","sourceRoot":"","sources":["../../../src/commands/delete-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,wBAAgB,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE,QAAQ,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,WAAW,KAAK,IAAI,CAAC,EAAE,KAAK,CAAC,EAAE,UAAU,GAAG,OAAO,CAmBzH"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAErD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAC3F,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import { Command } from "prosemirror-state";
|
|
2
|
-
import { FileFormat } from "../api/FileFormat";
|
|
3
|
-
import { InsertionFunction, InsertionPlace } from "./types";
|
|
4
|
-
import { NodeType } from "prosemirror-model";
|
|
5
|
-
/**
|
|
6
|
-
* Return a Markdown insertion command.
|
|
7
|
-
* @param filef The file format of the file in use.
|
|
8
|
-
* @param insertionFunction The function used to insert the node into the editor.
|
|
9
|
-
* @param place Where to insert the node into the editor. Either Above or Underneath the currently selected node.
|
|
10
|
-
* @param mvNodeType The node to use in the case of a `.mv` file.
|
|
11
|
-
* @param vNodeType The node to use in the case of a `.v` file.
|
|
12
|
-
* @returns The insertion command.
|
|
13
|
-
*/
|
|
14
|
-
export declare function getMdInsertCommand(filef: FileFormat, insertionFunction: InsertionFunction, place: InsertionPlace, mvNodeType: NodeType, vNodeType: NodeType): Command;
|
|
15
|
-
/**
|
|
16
|
-
* Returns an insertion command for insertion display latex into the editor.
|
|
17
|
-
* @param filef The file format of the file currently being edited.
|
|
18
|
-
* @param insertionFunction The insertion function to use.
|
|
19
|
-
* @param place The place to insert into, either Above or Underneath the currently selected node.
|
|
20
|
-
* @param latexNodeType The node type for a 'display latex' node.
|
|
21
|
-
* @returns The insertion command.
|
|
22
|
-
*/
|
|
23
|
-
export declare function getLatexInsertCommand(filef: FileFormat, insertionFunction: InsertionFunction, place: InsertionPlace, latexNodeType: NodeType): Command;
|
|
24
|
-
/**
|
|
25
|
-
* Returns an insertion command for inserting a new coq code cell. Will create a new coqblock if necessary.
|
|
26
|
-
* @param filef The file format of the file that is being edited.
|
|
27
|
-
* @param insertionFunction The insertion function to use.
|
|
28
|
-
* @param place The place of insertion, either Above or Underneath the currently selected node.
|
|
29
|
-
* @param coqblockNodeType The node type of a coqblock node (contains coqdoc and coqcode).
|
|
30
|
-
* @param coqcodeNodeType The node type of a coqcode node.
|
|
31
|
-
* @returns The insertion command.
|
|
32
|
-
*/
|
|
33
|
-
export declare function getCodeInsertCommand(filef: FileFormat, insertionFunction: InsertionFunction, place: InsertionPlace, coqblockNodeType: NodeType, coqcodeNodeType: NodeType): Command;
|
|
34
|
-
//# sourceMappingURL=insert-command.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"insert-command.d.ts","sourceRoot":"","sources":["../../../src/commands/insert-command.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAA4B,MAAM,mBAAmB,CAAC;AACtE,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,iBAAiB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAI7C;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,CAC9B,KAAK,EAAE,UAAU,EACjB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,UAAU,EAAE,QAAQ,EACpB,SAAS,EAAE,QAAQ,GACpB,OAAO,CA2CT;AAED;;;;;;;GAOG;AACH,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,UAAU,EACjB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,aAAa,EAAE,QAAQ,GACxB,OAAO,CAmCT;AAED;;;;;;;;GAQG;AACH,wBAAgB,oBAAoB,CAChC,KAAK,EAAE,UAAU,EACjB,iBAAiB,EAAE,iBAAiB,EACpC,KAAK,EAAE,cAAc,EACrB,gBAAgB,EAAE,QAAQ,EAC1B,eAAe,EAAE,QAAQ,GAC1B,OAAO,CAkCT"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { NodeType } from "prosemirror-model";
|
|
2
|
-
import { EditorState, Transaction } from "prosemirror-state";
|
|
3
|
-
/**
|
|
4
|
-
* Enum for the insertion place, can be either `Above` or `Underneath` the currently selected cell.
|
|
5
|
-
*/
|
|
6
|
-
export declare enum InsertionPlace {
|
|
7
|
-
Above = 0,
|
|
8
|
-
Underneath = 1
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
* Insertion function type. This type of function is passed to the `get...Command` functions. The function will insert
|
|
12
|
-
* the correct NodeType either above or below the selected node.
|
|
13
|
-
*/
|
|
14
|
-
export type InsertionFunction = (state: EditorState, trans: Transaction, ...nodeType: NodeType[]) => Transaction;
|
|
15
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAE7D;;GAEG;AACH,oBAAY,cAAc;IACtB,KAAK,IAAA;IACL,UAAU,IAAA;CACb;AAED;;;GAGG;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,KAAK,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,EAAE,GAAG,QAAQ,EAAE,QAAQ,EAAE,KAAK,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,QAAQ,CAAC"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { WaterproofEditor } from "../editor";
|
|
2
|
-
/**
|
|
3
|
-
* Creates a context menu given the current editor.
|
|
4
|
-
* @param editor The editor in use.
|
|
5
|
-
* @returns HTMLDivElement storing the context menu element.
|
|
6
|
-
*/
|
|
7
|
-
export declare function createContextMenuHTML(editor: WaterproofEditor): HTMLDivElement;
|
|
8
|
-
//# sourceMappingURL=menu.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"menu.d.ts","sourceRoot":"","sources":["../../../src/context-menu/menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,gBAAgB,GAAG,cAAc,CAmB9E"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Node as ProseNode } from "prosemirror-model";
|
|
2
|
-
export declare enum BLOCK_NAME {
|
|
3
|
-
COQ = "coq",
|
|
4
|
-
MATH_DISPLAY = "math_display",
|
|
5
|
-
INPUT_AREA = "input_area",
|
|
6
|
-
HINT = "hint",
|
|
7
|
-
MARKDOWN = "markdown",
|
|
8
|
-
COQ_MARKDOWN = "coqdown",
|
|
9
|
-
COQ_CODE = "coq_code",
|
|
10
|
-
COQ_DOC = "coq_doc"
|
|
11
|
-
}
|
|
12
|
-
export interface BlockRange {
|
|
13
|
-
from: number;
|
|
14
|
-
to: number;
|
|
15
|
-
}
|
|
16
|
-
export interface Block {
|
|
17
|
-
type: string;
|
|
18
|
-
stringContent: string;
|
|
19
|
-
range: BlockRange;
|
|
20
|
-
innerBlocks?: Block[];
|
|
21
|
-
toProseMirror(): ProseNode;
|
|
22
|
-
debugPrint(level: number): void;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=block.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"block.d.ts","sourceRoot":"","sources":["../../../../src/document/blocks/block.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGtD,oBAAY,UAAU;IAClB,GAAG,QAAQ;IACX,YAAY,iBAAiB;IAC7B,UAAU,eAAe;IACzB,IAAI,SAAS;IACb,QAAQ,aAAa;IACrB,YAAY,YAAY;IACxB,QAAQ,aAAa;IACrB,OAAO,YAAY;CACtB;AAED,MAAM,WAAW,UAAU;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,KAAK;IAClB,IAAI,EAAE,MAAM,CAAC;IACb,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,UAAU,CAAC;IAElB,WAAW,CAAC,EAAE,KAAK,EAAE,CAAC;IAEtB,aAAa,IAAI,SAAS,CAAC;IAC3B,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;CACnC"}
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { BLOCK_NAME, Block, BlockRange } from "./block";
|
|
2
|
-
export declare class InputAreaBlock implements Block {
|
|
3
|
-
stringContent: string;
|
|
4
|
-
range: BlockRange;
|
|
5
|
-
type: BLOCK_NAME;
|
|
6
|
-
innerBlocks: Block[];
|
|
7
|
-
constructor(stringContent: string, range: BlockRange, innerBlockConstructor: (content: string) => Block[]);
|
|
8
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
9
|
-
debugPrint(level: number): void;
|
|
10
|
-
}
|
|
11
|
-
export declare class HintBlock implements Block {
|
|
12
|
-
stringContent: string;
|
|
13
|
-
title: string;
|
|
14
|
-
range: BlockRange;
|
|
15
|
-
type: BLOCK_NAME;
|
|
16
|
-
innerBlocks: Block[];
|
|
17
|
-
constructor(stringContent: string, title: string, range: BlockRange, innerBlockConstructor: (content: string) => Block[]);
|
|
18
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
19
|
-
debugPrint(level: number): void;
|
|
20
|
-
}
|
|
21
|
-
export declare class MathDisplayBlock implements Block {
|
|
22
|
-
stringContent: string;
|
|
23
|
-
range: BlockRange;
|
|
24
|
-
type: BLOCK_NAME;
|
|
25
|
-
constructor(stringContent: string, range: BlockRange);
|
|
26
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
27
|
-
debugPrint(level: number): void;
|
|
28
|
-
}
|
|
29
|
-
export declare class CoqBlock implements Block {
|
|
30
|
-
stringContent: string;
|
|
31
|
-
prePreWhite: string;
|
|
32
|
-
prePostWhite: string;
|
|
33
|
-
postPreWhite: string;
|
|
34
|
-
postPostWhite: string;
|
|
35
|
-
range: BlockRange;
|
|
36
|
-
type: BLOCK_NAME;
|
|
37
|
-
innerBlocks: Block[];
|
|
38
|
-
constructor(stringContent: string, prePreWhite: string, prePostWhite: string, postPreWhite: string, postPostWhite: string, range: BlockRange, innerBlockConstructor: (content: string) => Block[]);
|
|
39
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
40
|
-
debugPrint(level: number): void;
|
|
41
|
-
}
|
|
42
|
-
export declare class MarkdownBlock implements Block {
|
|
43
|
-
stringContent: string;
|
|
44
|
-
range: BlockRange;
|
|
45
|
-
type: BLOCK_NAME;
|
|
46
|
-
isNewLineOnly: boolean;
|
|
47
|
-
constructor(stringContent: string, range: BlockRange);
|
|
48
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
49
|
-
debugPrint(level: number): void;
|
|
50
|
-
}
|
|
51
|
-
export declare class CoqDocBlock implements Block {
|
|
52
|
-
stringContent: string;
|
|
53
|
-
preWhite: string;
|
|
54
|
-
postWhite: string;
|
|
55
|
-
range: BlockRange;
|
|
56
|
-
type: BLOCK_NAME;
|
|
57
|
-
innerBlocks: Block[];
|
|
58
|
-
constructor(stringContent: string, preWhite: string, postWhite: string, range: BlockRange, innerBlockConstructor: (content: string) => Block[]);
|
|
59
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
60
|
-
debugPrint(level?: number): void;
|
|
61
|
-
}
|
|
62
|
-
export declare class CoqMarkdownBlock implements Block {
|
|
63
|
-
stringContent: string;
|
|
64
|
-
range: BlockRange;
|
|
65
|
-
type: BLOCK_NAME;
|
|
66
|
-
constructor(stringContent: string, range: BlockRange);
|
|
67
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
68
|
-
debugPrint(level: number): void;
|
|
69
|
-
}
|
|
70
|
-
export declare class CoqCodeBlock implements Block {
|
|
71
|
-
stringContent: string;
|
|
72
|
-
range: BlockRange;
|
|
73
|
-
type: BLOCK_NAME;
|
|
74
|
-
constructor(stringContent: string, range: BlockRange);
|
|
75
|
-
toProseMirror(): import("prosemirror-model").Node;
|
|
76
|
-
debugPrint(level: number): void;
|
|
77
|
-
}
|
|
78
|
-
//# sourceMappingURL=blocktypes.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"blocktypes.d.ts","sourceRoot":"","sources":["../../../../src/document/blocks/blocktypes.ts"],"names":[],"mappings":"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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/document/blocks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAE5C,OAAO,EAAE,cAAc,EAAE,SAAS,EAAE,QAAQ,EAAE,gBAAgB,EAAE,aAAa,EAAE,WAAW,EAAE,YAAY,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Node as ProseNode } from "prosemirror-model";
|
|
2
|
-
/** Construct basic prosemirror text node. */
|
|
3
|
-
export declare const text: (content: string) => ProseNode;
|
|
4
|
-
/** Construct coq markdown prosemirror node. */
|
|
5
|
-
export declare const coqMarkdown: (content: string) => ProseNode;
|
|
6
|
-
/** Construct math display prosemirror node. */
|
|
7
|
-
export declare const mathDisplay: (content: string) => ProseNode;
|
|
8
|
-
/** Construct markdown prosemirror node. */
|
|
9
|
-
export declare const markdown: (content: string) => ProseNode;
|
|
10
|
-
/** Construct coqcode prosemirror node. */
|
|
11
|
-
export declare const coqCode: (content: string) => ProseNode;
|
|
12
|
-
/** Construct input area prosemirror node. */
|
|
13
|
-
export declare const inputArea: (childNodes: ProseNode[]) => ProseNode;
|
|
14
|
-
/** Construct hint prosemirror node. */
|
|
15
|
-
export declare const hint: (title: string, childNodes: ProseNode[]) => ProseNode;
|
|
16
|
-
/** Construct coq prosemirror node. */
|
|
17
|
-
export declare const coqblock: (childNodes: ProseNode[], prePreWhite: string, prePostWhite: string, postPreWhite: string, postPostWhite: string) => ProseNode;
|
|
18
|
-
/** Construct coqdoc prosemirror node. */
|
|
19
|
-
export declare const coqDoc: (childNodes: ProseNode[], preWhite: string, postWhite: string) => ProseNode;
|
|
20
|
-
export declare const root: (childNodes: ProseNode[]) => ProseNode;
|
|
21
|
-
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/document/blocks/schema.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAItD,6CAA6C;AAC7C,eAAO,MAAM,IAAI,GAAI,SAAS,MAAM,KAAG,SAEtC,CAAA;AAED,+CAA+C;AAC/C,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,KAAG,SAE7C,CAAA;AAED,+CAA+C;AAC/C,eAAO,MAAM,WAAW,GAAI,SAAS,MAAM,KAAG,SAE7C,CAAA;AAED,2CAA2C;AAC3C,eAAO,MAAM,QAAQ,GAAI,SAAS,MAAM,KAAG,SAE1C,CAAA;AAED,0CAA0C;AAC1C,eAAO,MAAM,OAAO,GAAI,SAAS,MAAM,KAAG,SAEzC,CAAA;AAID,6CAA6C;AAC7C,eAAO,MAAM,SAAS,GAAI,YAAY,SAAS,EAAE,KAAG,SAEnD,CAAA;AAED,uCAAuC;AACvC,eAAO,MAAM,IAAI,GAAI,OAAO,MAAM,EAAE,YAAY,SAAS,EAAE,KAAG,SAE7D,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,QAAQ,GAAI,YAAY,SAAS,EAAE,EAAE,aAAa,MAAM,EAAE,cAAc,MAAM,EAAE,cAAc,MAAM,EAAE,eAAe,MAAM,KAAG,SAE1I,CAAA;AAED,yCAAyC;AACzC,eAAO,MAAM,MAAM,GAAI,YAAY,SAAS,EAAE,EAAE,UAAU,MAAM,EAAE,WAAW,MAAM,KAAG,SAErF,CAAA;AAGD,eAAO,MAAM,IAAI,GAAI,YAAY,SAAS,EAAE,KAAG,SAE9C,CAAA"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Block } from "./block";
|
|
2
|
-
import { CoqBlock, CoqCodeBlock, CoqDocBlock, CoqMarkdownBlock, HintBlock, InputAreaBlock, MarkdownBlock, MathDisplayBlock } from "./blocktypes";
|
|
3
|
-
export declare const isInputAreaBlock: (block: Block) => block is InputAreaBlock;
|
|
4
|
-
export declare const isHintBlock: (block: Block) => block is HintBlock;
|
|
5
|
-
export declare const isMathDisplayBlock: (block: Block) => block is MathDisplayBlock;
|
|
6
|
-
export declare const isCoqBlock: (block: Block) => block is CoqBlock;
|
|
7
|
-
export declare const isMarkdownBlock: (block: Block) => block is MarkdownBlock;
|
|
8
|
-
export declare const isCoqMarkdownBlock: (block: Block) => block is CoqMarkdownBlock;
|
|
9
|
-
export declare const isCoqDocBlock: (block: Block) => block is CoqDocBlock;
|
|
10
|
-
export declare const isCoqCodeBlock: (block: Block) => block is CoqCodeBlock;
|
|
11
|
-
//# sourceMappingURL=typeguards.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"typeguards.d.ts","sourceRoot":"","sources":["../../../../src/document/blocks/typeguards.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,EAAE,MAAM,SAAS,CAAC;AAC5C,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,SAAS,EAAE,cAAc,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAC;AAEjJ,eAAO,MAAM,gBAAgB,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,cAAsD,CAAC;AAChH,eAAO,MAAM,WAAW,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,SAA2C,CAAC;AAChG,eAAO,MAAM,kBAAkB,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,gBAA0D,CAAC;AACtH,eAAO,MAAM,UAAU,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,QAAyC,CAAC;AAC7F,eAAO,MAAM,eAAe,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,aAAmD,CAAC;AAC5G,eAAO,MAAM,kBAAkB,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,gBAA0D,CAAC;AACtH,eAAO,MAAM,aAAa,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,WAAgD,CAAC;AACvG,eAAO,MAAM,cAAc,GAAI,OAAO,KAAK,KAAG,KAAK,IAAI,YAAkD,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"construct-document.d.ts","sourceRoot":"","sources":["../../../src/document/construct-document.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEjC,OAAO,EAAE,IAAI,IAAI,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAGtD,wBAAgB,iBAAiB,CAAC,MAAM,EAAE,KAAK,EAAE,GAAG,SAAS,CAG5D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/document/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAC;AACzD,cAAc,UAAU,CAAC;AACzB,OAAO,KAAK,YAAY,MAAM,qBAAqB,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,SAAS,CAAC"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Block, BlockRange } from "./blocks";
|
|
2
|
-
/**
|
|
3
|
-
* Convert a list of blocks to a prosemirror compatible node list.
|
|
4
|
-
* @param blocks Input array of blocks.
|
|
5
|
-
* @returns ProseMirror nodes.
|
|
6
|
-
*/
|
|
7
|
-
export declare function blocksToProseMirrorNodes(blocks: Block[]): import("prosemirror-model").Node[];
|
|
8
|
-
/**
|
|
9
|
-
* Helper function to sort block type objects. Will sort based on the range object of the block.
|
|
10
|
-
* Sorts in ascending (`range.from`) order.
|
|
11
|
-
* @param blocks Blocks to sort.
|
|
12
|
-
* @returns Sorted array of blocks.
|
|
13
|
-
*/
|
|
14
|
-
export declare function sortBlocks(blocks: Block[]): Block[];
|
|
15
|
-
/**
|
|
16
|
-
* Map `f` over every consecutive pair from the `input` array.
|
|
17
|
-
* @param input Input array.
|
|
18
|
-
* @param f Function to map over the pairs.
|
|
19
|
-
* @returns The result of mapping `f` over every consecutive pair. Will return an empty array if the input array has length < 2.
|
|
20
|
-
*/
|
|
21
|
-
export declare function iteratePairs<ArrayType, FunctionReturnType>(input: Array<ArrayType>, f: (a: ArrayType, b: ArrayType) => FunctionReturnType): FunctionReturnType[];
|
|
22
|
-
/**
|
|
23
|
-
* Utility function to extract the ranges between blocks (ie. the ranges that are not covered by the blocks).
|
|
24
|
-
* @param blocks The input array of block.
|
|
25
|
-
* @param inputDocument The document the blocks are part of.
|
|
26
|
-
* @returns The ranges between the blocks.
|
|
27
|
-
*/
|
|
28
|
-
export declare function extractInterBlockRanges(blocks: Array<Block>, inputDocument: string): BlockRange[];
|
|
29
|
-
/**
|
|
30
|
-
* Utility function to mask regions of a document covered by blocks.
|
|
31
|
-
* @param inputDocument The input document on which to apply the masking.
|
|
32
|
-
* @param blocks The blocks that will mask content from the input document.
|
|
33
|
-
* @param mask The mask to use (defaults to `" "`).
|
|
34
|
-
* @returns The document (`string`) with the ranges covered by the blocks in `blocks` masked using `mask`.
|
|
35
|
-
*/
|
|
36
|
-
export declare function maskInputAndHints(inputDocument: string, blocks: Block[], mask?: string): string;
|
|
37
|
-
/**
|
|
38
|
-
* Create blocks based on ranges.
|
|
39
|
-
*
|
|
40
|
-
* Extracts the text content of the ranges and creates blocks from them.
|
|
41
|
-
*/
|
|
42
|
-
export declare function extractBlocksUsingRanges<BlockType extends Block>(inputDocument: string, ranges: {
|
|
43
|
-
from: number;
|
|
44
|
-
to: number;
|
|
45
|
-
}[], BlockConstructor: new (content: string, range: {
|
|
46
|
-
from: number;
|
|
47
|
-
to: number;
|
|
48
|
-
}) => BlockType): BlockType[];
|
|
49
|
-
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/document/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,UAAU,CAAC;AAE7C;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,MAAM,EAAE,KAAK,EAAE,sCAEvD;AAED;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,KAAK,EAAE,WAEzC;AAED;;;;;GAKG;AACH,wBAAgB,YAAY,CAAC,SAAS,EAAE,kBAAkB,EAAE,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,SAAS,KAAK,kBAAkB,wBAEzI;AAGD;;;;;GAKG;AACH,wBAAgB,uBAAuB,CAAC,MAAM,EAAE,KAAK,CAAC,KAAK,CAAC,EAAE,aAAa,EAAE,MAAM,GAAG,UAAU,EAAE,CAcjG;AAED;;;;;;GAMG;AACH,wBAAgB,iBAAiB,CAAC,aAAa,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,EAAE,IAAI,GAAE,MAAY,GAAG,MAAM,CAMpG;AAED;;;;GAIG;AACH,wBAAgB,wBAAwB,CAAC,SAAS,SAAS,KAAK,EAC5D,aAAa,EAAE,MAAM,EACrB,MAAM,EAAE;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAC,EAAE,EACpC,gBAAgB,EAAE,KAAK,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,KAAK,SAAS,GAAI,SAAS,EAAE,CAS3G"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
2
|
-
export interface IDocumentProgressDecoratorState {
|
|
3
|
-
total: number;
|
|
4
|
-
progressHeightLow: number;
|
|
5
|
-
progressHeightHigh: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const DOCUMENT_PROGRESS_DECORATOR_KEY: PluginKey<IDocumentProgressDecoratorState>;
|
|
8
|
-
export declare const documentProgressDecoratorPlugin: Plugin<IDocumentProgressDecoratorState>;
|
|
9
|
-
//# sourceMappingURL=documentProgressDecorator.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"documentProgressDecorator.d.ts","sourceRoot":"","sources":["../../src/documentProgressDecorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAGlE,MAAM,WAAW,+BAA+B;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;CAC5B;AAGD,eAAO,MAAM,+BAA+B,4CAA4F,CAAC;AA+DzI,eAAO,MAAM,+BAA+B,yCAAkD,CAAC"}
|