vue-files-preview-inno
Version:
A tool for previewing files such as doc, excel, pdf, image, markdown, txt, audio, and video and so on.
42 lines (41 loc) • 1.4 kB
JavaScript
import { lineNumbers as t, highlightActiveLineGutter as e, highlightSpecialChars as i, drawSelection as o, dropCursor as r, rectangularSelection as a, crosshairCursor as l, highlightActiveLine as m, keymap as p } from "../../@codemirror/view/dist/index.mjs";
import { EditorView as V } from "../../@codemirror/view/dist/index.mjs";
import { EditorState as h } from "../../@codemirror/state/dist/index.mjs";
import { foldGutter as c, indentOnInput as n, syntaxHighlighting as s, bracketMatching as f, defaultHighlightStyle as g, foldKeymap as u } from "../../@codemirror/language/dist/index.mjs";
import { history as y, defaultKeymap as d, historyKeymap as S } from "../../@codemirror/commands/dist/index.mjs";
import { highlightSelectionMatches as K, searchKeymap as k } from "../../@codemirror/search/dist/index.mjs";
import { closeBrackets as b, autocompletion as w, closeBracketsKeymap as x, completionKeymap as C } from "../../@codemirror/autocomplete/dist/index.mjs";
import { lintKeymap as M } from "../../@codemirror/lint/dist/index.mjs";
const I = [
t(),
e(),
i(),
y(),
c(),
o(),
r(),
h.allowMultipleSelections.of(!0),
n(),
s(g, { fallback: !0 }),
f(),
b(),
w(),
a(),
l(),
m(),
K(),
p.of([
...x,
...d,
...k,
...S,
...u,
...C,
...M
])
];
export {
V as EditorView,
I as basicSetup
};
//# sourceMappingURL=index.mjs.map