Browse Source

remove unnecessary

WNomunomu 2 years ago
parent
commit
d5dbb4a5cf

+ 0 - 4
packages/editor/dist/stores/codemirror-editor.d.ts

@@ -1,4 +0,0 @@
-import type { ReactCodeMirrorProps } from '@uiw/react-codemirror';
-import type { SWRResponse } from 'swr';
-import type { UseCodeMirrorEditor } from '../services';
-export declare const useCodeMirrorEditorIsolated: (key: string | null, container?: HTMLDivElement | null, props?: ReactCodeMirrorProps) => SWRResponse<UseCodeMirrorEditor>;

+ 0 - 17
packages/editor/dist/stores/codemirror-editor.js

@@ -1,17 +0,0 @@
-import { useRef as c, useMemo as d } from "react";
-import { useSWRStatic as m } from "../packages/core/dist/swr/use-swr-static.js";
-import a from "ts-deepmerge";
-import { useCodeMirrorEditor as f } from "../services/codemirror-editor/use-codemirror-editor/use-codemirror-editor.js";
-const p = (r) => r.state != null && r.view != null, y = (r, e) => Object.keys(r).every((t) => r[t] === e[t]), w = (r, e, o) => {
-  const t = c(), s = t.current, i = r != null ? `codeMirrorEditor_${r}` : null, u = d(() => a(
-    o ?? {},
-    {
-      container: e
-    }
-  ), [e, o]), n = f(u), l = i != null && e != null && o != null && (s == null || p(n) && !y(s, n));
-  return l && (t.current = n, console.info("Initializing codemirror for main")), m(i, l ? n : void 0);
-};
-export {
-  w as useCodeMirrorEditorIsolated
-};
-//# sourceMappingURL=codemirror-editor.js.map

File diff suppressed because it is too large
+ 0 - 0
packages/editor/dist/stores/codemirror-editor.js.map


+ 0 - 1
packages/editor/dist/stores/index.d.ts

@@ -1 +0,0 @@
-export * from './codemirror-editor';

+ 0 - 5
packages/editor/dist/stores/index.js

@@ -1,5 +0,0 @@
-import { useCodeMirrorEditorIsolated as e } from "./codemirror-editor.js";
-export {
-  e as useCodeMirrorEditorIsolated
-};
-//# sourceMappingURL=index.js.map

+ 0 - 1
packages/editor/dist/stores/index.js.map

@@ -1 +0,0 @@
-{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}

+ 0 - 1
packages/editor/dist/style.css

@@ -1 +0,0 @@
-._codemirror-editor-container_dghhw_1 .cm-editor{width:100%;height:100%}._codemirror-editor-toolbar_tsz6h_1 .btn-toolbar-button{width:24px!important;height:24px!important;padding:0!important;font-size:1rem!important;line-height:1!important;text-align:center!important;border:0}

Some files were not shown because too many files changed in this diff