@hpcc-js/codemirror 2.64.0 → 3.1.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.
Files changed (67) hide show
  1. package/README.md +10 -4
  2. package/dist/index.js +504 -17877
  3. package/dist/index.js.map +7 -1
  4. package/package.json +29 -33
  5. package/src/CSSEditor.ts +1 -1
  6. package/src/DOTEditor.ts +2 -2
  7. package/src/ECLEditor.ts +1 -1
  8. package/src/Editor.css +8 -3
  9. package/src/Editor.ts +1 -1
  10. package/src/HTMLEditor.ts +1 -1
  11. package/src/JSEditor.ts +1 -1
  12. package/src/JSONEditor.ts +1 -1
  13. package/src/MarkdownEditor.ts +1 -1
  14. package/src/ObservableMarkdownEditor.ts +1 -1
  15. package/src/SQLEditor.ts +1 -1
  16. package/src/XMLEditor.ts +1 -1
  17. package/src/__package__.ts +2 -2
  18. package/src/codemirror-shim.ts +31 -0
  19. package/src/index.ts +14 -12
  20. package/src/mode/dot/dot.ts +94 -0
  21. package/src/mode/markdown/markdown.ts +879 -0
  22. package/types/CSSEditor.d.ts +1 -2
  23. package/types/DOTEditor.d.ts +1 -2
  24. package/types/ECLEditor.d.ts +1 -2
  25. package/types/Editor.d.ts +0 -1
  26. package/types/HTMLEditor.d.ts +1 -2
  27. package/types/JSEditor.d.ts +1 -2
  28. package/types/JSONEditor.d.ts +1 -2
  29. package/types/MarkdownEditor.d.ts +1 -2
  30. package/types/ObservableMarkdownEditor.d.ts +1 -2
  31. package/types/SQLEditor.d.ts +1 -2
  32. package/types/XMLEditor.d.ts +1 -2
  33. package/types/__package__.d.ts +2 -3
  34. package/types/codemirror-shim.d.ts +26 -0
  35. package/types/index.d.ts +12 -13
  36. package/types/mode/dot/dot.d.ts +1 -0
  37. package/types/mode/markdown/markdown.d.ts +1 -0
  38. package/dist/index.es6.js +0 -17860
  39. package/dist/index.es6.js.map +0 -1
  40. package/dist/index.min.js +0 -2
  41. package/dist/index.min.js.map +0 -1
  42. package/types/CSSEditor.d.ts.map +0 -1
  43. package/types/DOTEditor.d.ts.map +0 -1
  44. package/types/ECLEditor.d.ts.map +0 -1
  45. package/types/Editor.d.ts.map +0 -1
  46. package/types/HTMLEditor.d.ts.map +0 -1
  47. package/types/JSEditor.d.ts.map +0 -1
  48. package/types/JSONEditor.d.ts.map +0 -1
  49. package/types/MarkdownEditor.d.ts.map +0 -1
  50. package/types/ObservableMarkdownEditor.d.ts.map +0 -1
  51. package/types/SQLEditor.d.ts.map +0 -1
  52. package/types/XMLEditor.d.ts.map +0 -1
  53. package/types/__package__.d.ts.map +0 -1
  54. package/types/index.d.ts.map +0 -1
  55. package/types-3.4/CSSEditor.d.ts +0 -7
  56. package/types-3.4/DOTEditor.d.ts +0 -7
  57. package/types-3.4/ECLEditor.d.ts +0 -8
  58. package/types-3.4/Editor.d.ts +0 -57
  59. package/types-3.4/HTMLEditor.d.ts +0 -7
  60. package/types-3.4/JSEditor.d.ts +0 -7
  61. package/types-3.4/JSONEditor.d.ts +0 -7
  62. package/types-3.4/MarkdownEditor.d.ts +0 -7
  63. package/types-3.4/ObservableMarkdownEditor.d.ts +0 -5
  64. package/types-3.4/SQLEditor.d.ts +0 -7
  65. package/types-3.4/XMLEditor.d.ts +0 -7
  66. package/types-3.4/__package__.d.ts +0 -4
  67. package/types-3.4/index.d.ts +0 -13
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class CSSEditor extends Editor {
3
3
  options(): any;
4
4
  css(): string;
5
5
  css(_: string): this;
6
6
  }
7
- //# sourceMappingURL=CSSEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class DOTEditor extends Editor {
3
3
  options(): any;
4
4
  dot(): string;
5
5
  dot(_: string): this;
6
6
  }
7
- //# sourceMappingURL=DOTEditor.d.ts.map
@@ -1,8 +1,7 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  import "../src/ECLEditor.css";
3
3
  export declare class ECLEditor extends Editor {
4
4
  options(): any;
5
5
  ecl(): string;
6
6
  ecl(_: string): this;
7
7
  }
8
- //# sourceMappingURL=ECLEditor.d.ts.map
package/types/Editor.d.ts CHANGED
@@ -54,4 +54,3 @@ export interface Editor {
54
54
  showHints(): boolean;
55
55
  showHints(_: boolean): this;
56
56
  }
57
- //# sourceMappingURL=Editor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class HTMLEditor extends Editor {
3
3
  options(): any;
4
4
  html(): string;
5
5
  html(_: string): this;
6
6
  }
7
- //# sourceMappingURL=HTMLEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class JSEditor extends Editor {
3
3
  options(): any;
4
4
  javascript(): string;
5
5
  javascript(_: string): this;
6
6
  }
7
- //# sourceMappingURL=JSEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class JSONEditor extends Editor {
3
3
  options(): any;
4
4
  json(): object;
5
5
  json(_: object): this;
6
6
  }
7
- //# sourceMappingURL=JSONEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class MarkdownEditor extends Editor {
3
3
  options(): any;
4
4
  markdown(): string;
5
5
  markdown(_: string): this;
6
6
  }
7
- //# sourceMappingURL=MarkdownEditor.d.ts.map
@@ -1,5 +1,4 @@
1
- import { MarkdownEditor } from "./MarkdownEditor";
1
+ import { MarkdownEditor } from "./MarkdownEditor.ts";
2
2
  export declare class ObservableMarkdownEditor extends MarkdownEditor {
3
3
  options(): any;
4
4
  }
5
- //# sourceMappingURL=ObservableMarkdownEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class SQLEditor extends Editor {
3
3
  options(): any;
4
4
  sql(): string;
5
5
  sql(_: string): this;
6
6
  }
7
- //# sourceMappingURL=SQLEditor.d.ts.map
@@ -1,7 +1,6 @@
1
- import { Editor } from "./Editor";
1
+ import { Editor } from "./Editor.ts";
2
2
  export declare class XMLEditor extends Editor {
3
3
  options(): any;
4
4
  xml(): string;
5
5
  xml(_: string): this;
6
6
  }
7
- //# sourceMappingURL=XMLEditor.d.ts.map
@@ -1,4 +1,3 @@
1
1
  export declare const PKG_NAME = "@hpcc-js/codemirror";
2
- export declare const PKG_VERSION = "2.64.0";
3
- export declare const BUILD_VERSION = "2.107.0";
4
- //# sourceMappingURL=__package__.d.ts.map
2
+ export declare const PKG_VERSION = "3.1.0";
3
+ export declare const BUILD_VERSION = "3.2.0";
@@ -0,0 +1,26 @@
1
+ import "codemirror/mode/css/css";
2
+ import "codemirror/mode/ecl/ecl";
3
+ import "codemirror/mode/gfm/gfm";
4
+ import "codemirror/mode/htmlmixed/htmlmixed";
5
+ import "codemirror/mode/javascript/javascript";
6
+ import "codemirror/mode/xml/xml";
7
+ import "codemirror/mode/sql/sql";
8
+ import "./mode/dot/dot.ts";
9
+ import "./mode/markdown/markdown.ts";
10
+ import "codemirror/lib/codemirror.css";
11
+ import "codemirror/addon/fold/brace-fold";
12
+ import "codemirror/addon/fold/comment-fold";
13
+ import "codemirror/addon/fold/foldcode";
14
+ import "codemirror/addon/fold/foldgutter";
15
+ import "codemirror/addon/fold/indent-fold";
16
+ import "codemirror/addon/fold/xml-fold";
17
+ import "codemirror/addon/fold/foldgutter.css";
18
+ import "codemirror/addon/dialog/dialog.js";
19
+ import "codemirror/addon/dialog/dialog.css";
20
+ import "codemirror/addon/search/jump-to-line.js";
21
+ import "codemirror/addon/search/search.js";
22
+ import "codemirror/addon/search/searchcursor.js";
23
+ import "codemirror/addon/hint/show-hint.js";
24
+ import "codemirror/addon/hint/show-hint.css";
25
+ import CodeMirror from "codemirror";
26
+ export { CodeMirror };
package/types/index.d.ts CHANGED
@@ -1,13 +1,12 @@
1
- export * from "./__package__";
2
- export * from "./CSSEditor";
3
- export * from "./DOTEditor";
4
- export * from "./ECLEditor";
5
- export * from "./Editor";
6
- export * from "./HTMLEditor";
7
- export * from "./JSEditor";
8
- export * from "./JSONEditor";
9
- export * from "./MarkdownEditor";
10
- export * from "./ObservableMarkdownEditor";
11
- export * from "./XMLEditor";
12
- export * from "./SQLEditor";
13
- //# sourceMappingURL=index.d.ts.map
1
+ export * from "./__package__.ts";
2
+ export * from "./CSSEditor.ts";
3
+ export * from "./DOTEditor.ts";
4
+ export * from "./ECLEditor.ts";
5
+ export * from "./Editor.ts";
6
+ export * from "./HTMLEditor.ts";
7
+ export * from "./JSEditor.ts";
8
+ export * from "./JSONEditor.ts";
9
+ export * from "./MarkdownEditor.ts";
10
+ export * from "./ObservableMarkdownEditor.ts";
11
+ export * from "./XMLEditor.ts";
12
+ export * from "./SQLEditor.ts";
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1 @@
1
+ export {};