@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,5 @@
|
|
|
1
|
+
export { CoqdocView } from "./CoqdocView";
|
|
2
|
+
export { coqdocPlugin, COQDOC_PLUGIN_KEY } from "./CoqdocPlugin";
|
|
3
|
+
export { MarkdownView } from "./MarkdownView";
|
|
4
|
+
export { realMarkdownPlugin, REAL_MARKDOWN_PLUGIN_KEY } from "./MarkdownPlugin";
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/markup-views/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE1C,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AAGjE,OAAO,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAE9C,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EditorView as CodeMirror, ViewUpdate } from "@codemirror/view";
|
|
2
|
+
import { Node, Schema } from "prosemirror-model";
|
|
3
|
+
import { PluginKey } from "prosemirror-state";
|
|
4
|
+
import { Decoration, EditorView } from "prosemirror-view";
|
|
5
|
+
import { SwitchableView } from "./SwitchableView";
|
|
6
|
+
import { EmbeddedCodeMirrorEditor } from "../../embedded-codemirror";
|
|
7
|
+
/**
|
|
8
|
+
* Export CodeBlockView class that implements the custom codeblock nodeview.
|
|
9
|
+
* Corresponds with the example as can be found here:
|
|
10
|
+
* https://prosemirror.net/examples/codemirror/
|
|
11
|
+
*/
|
|
12
|
+
export declare class EditableView extends EmbeddedCodeMirrorEditor {
|
|
13
|
+
view: CodeMirror;
|
|
14
|
+
private _parent;
|
|
15
|
+
private _pluginKey;
|
|
16
|
+
constructor(node: Node, outerView: EditorView, schema: Schema, getPos: (() => number | undefined), place: HTMLElement, parent: SwitchableView, pluginKey: PluginKey);
|
|
17
|
+
focus(): void;
|
|
18
|
+
destroy(): void;
|
|
19
|
+
forwardUpdate(update: ViewUpdate): void;
|
|
20
|
+
update(node: Node, _decorations: readonly Decoration[]): boolean;
|
|
21
|
+
}
|
|
22
|
+
//# sourceMappingURL=EditableView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditableView.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/EditableView.ts"],"names":[],"mappings":"AAAA,OAAO,EACN,UAAU,IAAI,UAAU,EAAE,UAAU,EAEpC,MAAM,kBAAkB,CAAA;AAEzB,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAChD,OAAO,EAAE,SAAS,EAAiB,MAAM,mBAAmB,CAAA;AAC5D,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAA;AAIjD,OAAO,EAAE,wBAAwB,EAAE,MAAM,2BAA2B,CAAA;AAEpE;;;;GAIG;AAEH,qBAAa,YAAa,SAAQ,wBAAwB;IAC/C,IAAI,EAAE,UAAU,CAAC;IAC3B,OAAO,CAAC,OAAO,CAAiB;IAChC,OAAO,CAAC,UAAU,CAAY;gBAGvB,IAAI,EAAE,IAAI,EAChB,SAAS,EAAE,UAAU,EACrB,MAAM,EAAE,MAAM,EACd,MAAM,EAAE,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,EAClC,KAAK,EAAE,WAAW,EAClB,MAAM,EAAE,cAAc,EACtB,SAAS,EAAE,SAAS;IA8BrB,KAAK;IACF,OAAO;IAGV,aAAa,CAAC,MAAM,EAAE,UAAU,GAAG,IAAI;IA+BvC,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,YAAY,EAAE,SAAS,UAAU,EAAE;CAgDtD"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Inspired by:
|
|
3
|
+
* https://github.com/codemirror/theme-one-dark/blob/main/src/one-dark.ts
|
|
4
|
+
*
|
|
5
|
+
* Used for theming the markdown editors, differs from the one in color-scheme.ts.
|
|
6
|
+
*/
|
|
7
|
+
export declare const editorTheme: import("@codemirror/state").Extension;
|
|
8
|
+
//# sourceMappingURL=EditorTheme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EditorTheme.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/EditorTheme.ts"],"names":[],"mappings":"AAGA;;;;;GAKG;AACH,eAAO,MAAM,WAAW,uCAA4C,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { Schema } from "prosemirror-model";
|
|
2
|
+
/**
|
|
3
|
+
* The schema in use to render markdown.
|
|
4
|
+
* Consists of the default prosemirror-markdown schema augmented with the
|
|
5
|
+
* prosemirror-math `math_inline` nodes.
|
|
6
|
+
*/
|
|
7
|
+
export declare const markdownRenderingSchema: Schema<keyof import("orderedmap").default<import("prosemirror-model").NodeSpec>, keyof import("orderedmap").default<import("prosemirror-model").MarkSpec>>;
|
|
8
|
+
//# sourceMappingURL=MarkdownSchema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MarkdownSchema.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/MarkdownSchema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAG3C;;;;GAIG;AACH,eAAO,MAAM,uBAAuB,4JAGlC,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EditorView } from "prosemirror-view";
|
|
2
|
+
import { SwitchableView } from "./SwitchableView";
|
|
3
|
+
export declare class RenderedView {
|
|
4
|
+
view: EditorView;
|
|
5
|
+
private _outerView;
|
|
6
|
+
private _parent;
|
|
7
|
+
constructor(target: HTMLElement, content: string, outerView: EditorView, parent: SwitchableView, usingCoqdocSyntax: boolean, _getPos: (() => number | undefined));
|
|
8
|
+
setSelection(anchor: number, head: number, _root: Document | ShadowRoot): void;
|
|
9
|
+
update(): boolean;
|
|
10
|
+
focus(): void;
|
|
11
|
+
destroy(): void;
|
|
12
|
+
}
|
|
13
|
+
//# sourceMappingURL=RenderedView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RenderedView.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/RenderedView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAK9C,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAGlD,qBAAa,YAAY;IACd,IAAI,EAAE,UAAU,CAAC;IACxB,OAAO,CAAC,UAAU,CAAa;IAC/B,OAAO,CAAC,OAAO,CAAiB;gBAG5B,MAAM,EAAE,WAAW,EACnB,OAAO,EAAE,MAAM,EACf,SAAS,EAAE,UAAU,EACrB,MAAM,EAAE,cAAc,EACtB,iBAAiB,EAAE,OAAO,EAC1B,OAAO,EAAE,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC;IAiCvC,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,QAAQ,GAAG,UAAU;IAUvE,MAAM;IAIN,KAAK;IACL,OAAO;CACV"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Decoration, EditorView, NodeView } from "prosemirror-view";
|
|
2
|
+
import { PluginKey } from "prosemirror-state";
|
|
3
|
+
import { Node as PNode, Schema } from "prosemirror-model";
|
|
4
|
+
/**
|
|
5
|
+
* Abstract class for a switchable view.
|
|
6
|
+
* Switchable views allow for editing and rendering.
|
|
7
|
+
*/
|
|
8
|
+
export declare abstract class SwitchableView implements NodeView {
|
|
9
|
+
/** The DOM for this nodeview. */
|
|
10
|
+
dom: HTMLElement;
|
|
11
|
+
/** The currently active view. */
|
|
12
|
+
private view;
|
|
13
|
+
/** Whether we are in rendered mode */
|
|
14
|
+
private inRenderMode;
|
|
15
|
+
/** The place to insert the views into */
|
|
16
|
+
private _place;
|
|
17
|
+
/** The outer prosemirror editor */
|
|
18
|
+
private _outerView;
|
|
19
|
+
/** The node that is passed when constructing the NodeView */
|
|
20
|
+
private _node;
|
|
21
|
+
/** Represents whether the view is currently updating */
|
|
22
|
+
private _updating;
|
|
23
|
+
private _getPos;
|
|
24
|
+
private _outerSchema;
|
|
25
|
+
private _viewName;
|
|
26
|
+
private _pluginKey;
|
|
27
|
+
private _emptyClassName;
|
|
28
|
+
private _viewClassName;
|
|
29
|
+
private _editorClassName;
|
|
30
|
+
private _renderedClassName;
|
|
31
|
+
private _usingCoqdocSyntax;
|
|
32
|
+
get content(): string;
|
|
33
|
+
constructor(getPos: (() => number | undefined), outerView: EditorView, content: string, node: PNode, schema: Schema, pluginKey: PluginKey, viewName: string, usingCoqdocSyntax: boolean);
|
|
34
|
+
/**
|
|
35
|
+
* Returns whether this view is currently in the updating state.
|
|
36
|
+
*/
|
|
37
|
+
get isUpdating(): boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Overwrite the updating state of this node.
|
|
40
|
+
*/
|
|
41
|
+
set updating(update: boolean);
|
|
42
|
+
/**
|
|
43
|
+
* Switch to the rendered view.
|
|
44
|
+
* This destroys the view currently in place and then adds a new rendered view.
|
|
45
|
+
*/
|
|
46
|
+
makeRenderedView(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Switch to the editable view.
|
|
49
|
+
* This destroys the view currently in place and then adds a new editable view.
|
|
50
|
+
*/
|
|
51
|
+
makeEditableView(): void;
|
|
52
|
+
abstract preprocessContentForEditing(input: string): string;
|
|
53
|
+
abstract preprocessContentForRendering(input: string): string;
|
|
54
|
+
update(node: PNode, decorations: readonly Decoration[]): boolean;
|
|
55
|
+
selectNode(): void;
|
|
56
|
+
deselectNode(): void;
|
|
57
|
+
setSelection(anchor: number, head: number, root: Document | ShadowRoot): void;
|
|
58
|
+
stopEvent(event: Event): boolean;
|
|
59
|
+
ignoreMutation(): boolean;
|
|
60
|
+
destroy(): void;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=SwitchableView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"SwitchableView.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/SwitchableView.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGpE,OAAO,EAAiB,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1D;;;GAGG;AACH,8BAAsB,cAAe,YAAW,QAAQ;IACpD,iCAAiC;IACjC,GAAG,EAAE,WAAW,CAAC;IACjB,iCAAiC;IACjC,OAAO,CAAC,IAAI,CAA8B;IAC1C,sCAAsC;IACtC,OAAO,CAAC,YAAY,CAAiB;IACrC,yCAAyC;IACzC,OAAO,CAAC,MAAM,CAAc;IAC5B,mCAAmC;IACnC,OAAO,CAAC,UAAU,CAAa;IAC/B,6DAA6D;IAC7D,OAAO,CAAC,KAAK,CAAQ;IAErB,wDAAwD;IACxD,OAAO,CAAC,SAAS,CAAW;IAC5B,OAAO,CAAC,OAAO,CAA6B;IAC5C,OAAO,CAAC,YAAY,CAAC;IAGrB,OAAO,CAAC,SAAS,CAAS;IAC1B,OAAO,CAAC,UAAU,CAAY;IAE9B,OAAO,CAAC,eAAe,CAAS;IAChC,OAAO,CAAC,cAAc,CAAS;IAC/B,OAAO,CAAC,gBAAgB,CAAS;IACjC,OAAO,CAAC,kBAAkB,CAAS;IAEnC,OAAO,CAAC,kBAAkB,CAAU;IAEpC,IAAW,OAAO,WAEjB;gBAGG,MAAM,EAAE,CAAC,MAAM,MAAM,GAAG,SAAS,CAAC,EAAE,SAAS,EAAE,UAAU,EACzD,OAAO,EAAE,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAC5C,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,EACtC,iBAAiB,EAAE,OAAO;IAsD9B;;OAEG;IACH,IAAW,UAAU,YAEpB;IAED;;OAEG;IACH,IAAW,QAAQ,CAAC,MAAM,EAAE,OAAO,EAElC;IAED;;;OAGG;IACH,gBAAgB;IAchB;;;OAGG;IACH,gBAAgB;IAWhB,QAAQ,CAAC,2BAA2B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAC3D,QAAQ,CAAC,6BAA6B,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM;IAE7D,MAAM,CAAC,IAAI,EAAE,KAAK,EAAE,WAAW,EAAE,SAAS,UAAU,EAAE;IAOtD,UAAU;IAWV,YAAY;IAQZ,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,QAAQ,GAAG,UAAU;IAKtE,SAAS,CAAC,KAAK,EAAE,KAAK;IAQtB,cAAc;IAEd,OAAO;CAGV"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/markup-views/switchable-view/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/math-integration/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nodespecs.d.ts","sourceRoot":"","sources":["../../../src/math-integration/nodespecs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAA;AAQ5C,eAAO,MAAM,cAAc,EAAE,QAS5B,CAAA;AAGD,eAAO,MAAM,eAAe,EAAE,QAS7B,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/menubar/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,WAAW,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { Schema } from "prosemirror-model";
|
|
2
|
+
import { Plugin, PluginKey } from "prosemirror-state";
|
|
3
|
+
import { OS } from "../osType";
|
|
4
|
+
import { FileFormat } from "../api/FileFormat";
|
|
5
|
+
/**
|
|
6
|
+
* Interface describing the state of the menu plugin
|
|
7
|
+
*/
|
|
8
|
+
interface IMenuPluginState {
|
|
9
|
+
showMenuItems: boolean;
|
|
10
|
+
}
|
|
11
|
+
/**
|
|
12
|
+
* The menu plugin key.
|
|
13
|
+
*/
|
|
14
|
+
export declare const MENU_PLUGIN_KEY: PluginKey<IMenuPluginState>;
|
|
15
|
+
/**
|
|
16
|
+
* Create a new menu plugin given the schema and file format.
|
|
17
|
+
* @param schema The schema in use for the editor.
|
|
18
|
+
* @param filef The file format of the currently opened file.
|
|
19
|
+
* @returns A prosemirror `Plugin` type containing the menubar.
|
|
20
|
+
*/
|
|
21
|
+
export declare function menuPlugin(schema: Schema, filef: FileFormat, os: OS): Plugin<{
|
|
22
|
+
showMenuItems: boolean;
|
|
23
|
+
}>;
|
|
24
|
+
export {};
|
|
25
|
+
//# sourceMappingURL=menubar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"menubar.d.ts","sourceRoot":"","sources":["../../../src/menubar/menubar.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAC3C,OAAO,EAAuB,MAAM,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAI3E,OAAO,EAAE,EAAE,EAAE,MAAM,WAAW,CAAC;AAC/B,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAiM/C;;GAEG;AACH,UAAU,gBAAgB;IACtB,aAAa,EAAE,OAAO,CAAC;CAC1B;AAED;;GAEG;AACH,eAAO,MAAM,eAAe,6BAAyD,CAAC;AAEtF;;;;;GAKG;AACH,wBAAgB,UAAU,CAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAE,UAAU,EAAE,EAAE,EAAE,EAAE;;GAiCnE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"osType.d.ts","sourceRoot":"","sources":["../../src/osType.ts"],"names":[],"mappings":"AAAA,oBAAY,EAAE;IACb,OAAO,IAAA;IACP,KAAK,IAAA;IACL,IAAI,IAAA;IACJ,KAAK,IAAA;IACL,OAAO,IAAA;CACP"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Plugin, PluginKey } from "prosemirror-state";
|
|
2
|
+
import { SimpleProgressParams } from "./api";
|
|
3
|
+
import { ServerStatus } from "./api";
|
|
4
|
+
export interface IProgressPluginState {
|
|
5
|
+
progressParams: SimpleProgressParams;
|
|
6
|
+
serverStatus: ServerStatus;
|
|
7
|
+
resetProgressBar: boolean;
|
|
8
|
+
endLine: number;
|
|
9
|
+
startLine: number;
|
|
10
|
+
}
|
|
11
|
+
export declare const PROGRESS_PLUGIN_KEY: PluginKey<IProgressPluginState>;
|
|
12
|
+
export declare const progressBarPlugin: Plugin<IProgressPluginState>;
|
|
13
|
+
//# sourceMappingURL=progressBar.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progressBar.d.ts","sourceRoot":"","sources":["../../src/progressBar.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,MAAM,EAAE,SAAS,EAA2B,MAAM,mBAAmB,CAAC;AAC5F,OAAO,EAAE,oBAAoB,EAAE,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAGrC,MAAM,WAAW,oBAAoB;IACnC,cAAc,EAAE,oBAAoB,CAAC;IACrC,YAAY,EAAE,YAAY,CAAC;IAC3B,gBAAgB,EAAE,OAAO,CAAC;IAC1B,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;CACnB;AAGD,eAAO,MAAM,mBAAmB,iCAAiE,CAAC;AAuIlG,eAAO,MAAM,iBAAiB,8BAAoC,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Plugin, PluginKey } from 'prosemirror-state';
|
|
2
|
+
import { InputAreaStatus } from './api';
|
|
3
|
+
import { WaterproofEditor } from './editor';
|
|
4
|
+
export interface IUpdateStatusPluginState {
|
|
5
|
+
status: InputAreaStatus[];
|
|
6
|
+
}
|
|
7
|
+
export declare const UPDATE_STATUS_PLUGIN_KEY: PluginKey<IUpdateStatusPluginState>;
|
|
8
|
+
export declare const updateStatusPlugin: (editor: WaterproofEditor) => Plugin<IUpdateStatusPluginState>;
|
|
9
|
+
//# sourceMappingURL=qedStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"qedStatus.d.ts","sourceRoot":"","sources":["../../src/qedStatus.ts"],"names":[],"mappings":"AACA,OAAO,EAAe,MAAM,EAAE,SAAS,EAAc,MAAM,mBAAmB,CAAC;AAG/E,OAAO,EAAE,eAAe,EAAY,MAAM,OAAO,CAAC;AAClD,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC;AAG5C,MAAM,WAAW,wBAAwB;IACvC,MAAM,EAAE,eAAe,EAAE,CAAC;CAC3B;AAGD,eAAO,MAAM,wBAAwB,qCAAuE,CAAC;AA8F7G,eAAO,MAAM,kBAAkB,GAAI,QAAQ,gBAAgB,qCAA0D,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=schema-nodes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema-nodes.d.ts","sourceRoot":"","sources":["../../../src/schema/schema-nodes.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Schema } from "prosemirror-model";
|
|
2
|
+
export declare const SchemaCell: {
|
|
3
|
+
readonly InputArea: "input";
|
|
4
|
+
readonly Markdown: "markdown";
|
|
5
|
+
readonly MathDisplay: "math_display";
|
|
6
|
+
readonly Code: "code";
|
|
7
|
+
};
|
|
8
|
+
export type SchemaKeys = keyof typeof SchemaCell;
|
|
9
|
+
export type SchemaNames = typeof SchemaCell[SchemaKeys];
|
|
10
|
+
/**
|
|
11
|
+
* General schema obtained from `prosemirror-markdown`:
|
|
12
|
+
* https://github.com/ProseMirror/prosemirror-markdown/blob/master/src/schema.ts
|
|
13
|
+
*
|
|
14
|
+
* Codeblock schema adapted from 'ProseMirror footnote example':
|
|
15
|
+
* https://prosemirror.net/examples/footnote/
|
|
16
|
+
*
|
|
17
|
+
* math blocks obtained from `prosemirror-math`:
|
|
18
|
+
* https://github.com/benrbray/prosemirror-math/blob/master/src/math-schema.ts
|
|
19
|
+
*
|
|
20
|
+
* see [notes](./notes.md)
|
|
21
|
+
*/
|
|
22
|
+
export declare const WaterproofSchema: Schema;
|
|
23
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../src/schema/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,MAAM,EAAE,MAAM,mBAAmB,CAAC;AAE1D,eAAO,MAAM,UAAU;;;;;CAKb,CAAC;AAEX,MAAM,MAAM,UAAU,GAAG,MAAM,OAAO,UAAU,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,OAAO,UAAU,CAAC,UAAU,CAAC,CAAC;AAMxD;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,gBAAgB,EAAE,MA8H7B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import "./math.css";
|
|
2
|
+
import "./style.css";
|
|
3
|
+
import "./hints.css";
|
|
4
|
+
import "./menubar.css";
|
|
5
|
+
import "./input-area.css";
|
|
6
|
+
import "./markdown.css";
|
|
7
|
+
import "./notifications.css";
|
|
8
|
+
import "./coqdoc.css";
|
|
9
|
+
import "./progressBar.css";
|
|
10
|
+
import "./documentProgressDecorator.css";
|
|
11
|
+
import "./spinner.css";
|
|
12
|
+
import "./freeze.css";
|
|
13
|
+
import "./context-menu.css";
|
|
14
|
+
import "./autocomplete.css";
|
|
15
|
+
import "./waterproof.css";
|
|
16
|
+
import "./magic.css";
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/styles/index.ts"],"names":[],"mappings":"AAGA,OAAO,YAAY,CAAC;AAGpB,OAAO,aAAa,CAAC;AAGrB,OAAO,aAAa,CAAC;AAGrB,OAAO,eAAe,CAAC;AAGvB,OAAO,kBAAkB,CAAC;AAG1B,OAAO,gBAAgB,CAAC;AAGxB,OAAO,qBAAqB,CAAC;AAG7B,OAAO,cAAc,CAAC;AAGtB,OAAO,mBAAmB,CAAC;AAG3B,OAAO,iCAAiC,CAAC;AAGzC,OAAO,eAAe,CAAC;AAGvB,OAAO,cAAc,CAAC;AAGtB,OAAO,oBAAoB,CAAC;AAG5B,OAAO,oBAAoB,CAAC;AAG5B,OAAO,kBAAkB,CAAC;AAG1B,OAAO,aAAa,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/** Class that handles the translation from .mv | .v to prosemirror and vice versa. */
|
|
2
|
+
export declare class FileTranslator {
|
|
3
|
+
constructor();
|
|
4
|
+
/**
|
|
5
|
+
* Convert an input file to a prosemirror compatible HTML representation.
|
|
6
|
+
* Input format is set by `fileFormat` in the constructor.
|
|
7
|
+
* @param inputDocument The input document read from disk.
|
|
8
|
+
* @returns A prosemirror compatible HTML document (as string).
|
|
9
|
+
*/
|
|
10
|
+
toProsemirror(inputDocument: string): string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=Translator.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Translator.d.ts","sourceRoot":"","sources":["../../../src/translation/Translator.ts"],"names":[],"mappings":"AAEA,sFAAsF;AACtF,qBAAa,cAAc;;IAIvB;;;;;OAKG;IACI,aAAa,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM;CAGtD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/translation/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/translation/toProsemirror/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,wBAAwB,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mvFileToProsemirror.d.ts","sourceRoot":"","sources":["../../../../src/translation/toProsemirror/mvFileToProsemirror.ts"],"names":[],"mappings":"AAwHA,wBAAgB,wBAAwB,CAAC,aAAa,EAAE,MAAM,GAAG,MAAM,CA6BtE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseAsMv.d.ts","sourceRoot":"","sources":["../../../../src/translation/toProsemirror/parseAsMv.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,wBAAgB,SAAS,CAAC,KAAK,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,UA2C5D"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parser.d.ts","sourceRoot":"","sources":["../../../../src/translation/toProsemirror/parser.ts"],"names":[],"mappings":"AAqBA,wBAAgB,eAAe,CAAC,KAAK,EAAE,MAAM,UAyD5C;AAED,wBAAgB,YAAY,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,CAO/E"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { Fragment, Node, Slice } from "prosemirror-model";
|
|
2
|
+
export type NodeSerializer = (node: Node) => string;
|
|
3
|
+
export type MarkSerializer = (text: string) => string;
|
|
4
|
+
/**
|
|
5
|
+
* Abstract class that describes a serializer for the conversion of the document
|
|
6
|
+
*/
|
|
7
|
+
export declare abstract class Serializer {
|
|
8
|
+
abstract serializeFragment(fragment: Fragment): string;
|
|
9
|
+
abstract serializeSlice(slice: Slice): string;
|
|
10
|
+
serialize(input: Fragment | Slice): string | null;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/translation/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAG1D,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,IAAI,KAAK,MAAM,CAAC;AACpD,MAAM,MAAM,cAAc,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,MAAM,CAAC;AAGtD;;GAEG;AACH,8BAAsB,UAAU;IAG5B,QAAQ,CAAC,iBAAiB,CAAC,QAAQ,EAAE,QAAQ,GAAG,MAAM;IACtD,QAAQ,CAAC,cAAc,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM;IAG7C,SAAS,CAAC,KAAK,EAAE,QAAQ,GAAG,KAAK;CAiBpC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/utilities/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { NodeType, Node as PNode } from "prosemirror-model";
|
|
2
|
+
/**
|
|
3
|
+
* Helper function to get all descendants of a node with a given type.
|
|
4
|
+
* @param node The parent node.
|
|
5
|
+
* @param descend Whether to descend into the child nodes.
|
|
6
|
+
* @param type The type of interest.
|
|
7
|
+
* @returns An array containing all the descendant nodes with type `type`, together with their postions in the document.
|
|
8
|
+
*/
|
|
9
|
+
export declare function findDescendantsWithType(node: PNode, descend: boolean, type: NodeType): {
|
|
10
|
+
node: PNode;
|
|
11
|
+
pos: number;
|
|
12
|
+
}[];
|
|
13
|
+
//# sourceMappingURL=prosemirror.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"prosemirror.d.ts","sourceRoot":"","sources":["../../../src/utilities/prosemirror.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,IAAI,IAAI,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;;;GAMG;AACH,wBAAgB,uBAAuB,CAAC,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,GAAG;IAAC,IAAI,EAAE,KAAK,CAAC;IAAC,GAAG,EAAE,MAAM,CAAA;CAAC,EAAE,CAUnH"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"toMarkdownTranslation.d.ts","sourceRoot":"","sources":["../../src/translation/toMarkdownTranslation.ts"],"names":[],"mappings":"AAAA,wBAAgB,YAAY,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAElD;AAED,eAAO,MAAM,iBAAiB,qBAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["../src/documentProgressDecorator.ts","../src/editor.ts","../src/index.ts","../src/inputArea.ts","../src/osType.ts","../src/progressBar.ts","../src/qedStatus.ts","../src/api/Completions.ts","../src/api/DocChange.ts","../src/api/FileFormat.ts","../src/api/InputAreaStatus.ts","../src/api/LineNumber.ts","../src/api/ServerStatus.ts","../src/api/Severity.ts","../src/api/index.ts","../src/api/types.ts","../src/autocomplete/coqTerms.ts","../src/autocomplete/emojis.ts","../src/autocomplete/index.ts","../src/autocomplete/renderSymbol.ts","../src/autocomplete/symbols.ts","../src/codeview/code-plugin.ts","../src/codeview/color-scheme.ts","../src/codeview/debouncer.ts","../src/codeview/index.ts","../src/codeview/nodeview.ts","../src/codeview/lang-pack/index.ts","../src/codeview/lang-pack/print-grammar.ts","../src/codeview/lang-pack/syntax.grammar.d.ts","../src/codeview/lang-pack/syntax.terms.ts","../src/codeview/lang-pack/syntax.ts","../src/commands/command-helpers.ts","../src/commands/commands.ts","../src/commands/delete-command.ts","../src/commands/index.ts","../src/commands/insert-command.ts","../src/commands/types.ts","../src/context-menu/index.ts","../src/context-menu/menu.ts","../src/document/construct-document.ts","../src/document/index.ts","../src/document/utils.ts","../src/document/blocks/block.ts","../src/document/blocks/blocktypes.ts","../src/document/blocks/index.ts","../src/document/blocks/schema.ts","../src/document/blocks/typeguards.ts","../src/embedded-codemirror/embedded-codemirror-keymap.ts","../src/embedded-codemirror/embeddedCodemirror.ts","../src/embedded-codemirror/index.ts","../src/embedded-codemirror/types.ts","../src/hinting/hint-plugin.ts","../src/hinting/index.ts","../src/markup-views/CoqdocPlugin.ts","../src/markup-views/CoqdocView.ts","../src/markup-views/MarkdownPlugin.ts","../src/markup-views/MarkdownView.ts","../src/markup-views/index.ts","../src/markup-views/switchable-view/EditableView.ts","../src/markup-views/switchable-view/EditorTheme.ts","../src/markup-views/switchable-view/MarkdownSchema.ts","../src/markup-views/switchable-view/RenderedView.ts","../src/markup-views/switchable-view/SwitchableView.ts","../src/markup-views/switchable-view/index.ts","../src/math-integration/index.ts","../src/math-integration/nodespecs.ts","../src/menubar/index.ts","../src/menubar/menubar.ts","../src/schema/index.ts","../src/schema/schema-nodes.ts","../src/schema/schema.ts","../src/styles/index.ts","../src/translation/Translator.ts","../src/translation/index.ts","../src/translation/types.ts","../src/translation/toProsemirror/index.ts","../src/translation/toProsemirror/mvFileToProsemirror.ts","../src/translation/toProsemirror/parseAsMv.ts","../src/translation/toProsemirror/parser.ts","../src/utilities/index.ts","../src/utilities/prosemirror.ts","../src/autocomplete/coqTerms.json","../src/autocomplete/emojis.json","../src/autocomplete/symbols.json","../src/codeview/coqTheme.json","../src/markup-views/switchable-view/editorTheme.json"],"version":"5.8.3"}
|
package/jest-thingie
ADDED
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@impermeable/waterproof-editor",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.13.0",
|
|
4
4
|
"description": "Waterproof Editor ",
|
|
5
5
|
"homepage": "https://github.com/impermeable/waterproof-editor#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -59,8 +59,8 @@
|
|
|
59
59
|
"@codemirror/autocomplete": "6.18.1",
|
|
60
60
|
"@codemirror/commands": "6.6.2",
|
|
61
61
|
"@codemirror/language": "6.10.3",
|
|
62
|
-
"@codemirror/lint": "6.
|
|
63
|
-
"@codemirror/view": "6.
|
|
62
|
+
"@codemirror/lint": "6.9.2",
|
|
63
|
+
"@codemirror/view": "6.38.8",
|
|
64
64
|
"@lezer/highlight": "1.2.1",
|
|
65
65
|
"@lezer/lr": "1.4.2",
|
|
66
66
|
"jquery": "3.7.1",
|