@hpcc-js/codemirror 2.64.0 → 3.2.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 (69) hide show
  1. package/README.md +10 -4
  2. package/dist/index.js +11964 -17754
  3. package/dist/index.js.map +1 -1
  4. package/dist/index.umd.cjs +33 -0
  5. package/dist/index.umd.cjs.map +1 -0
  6. package/package.json +31 -33
  7. package/src/CSSEditor.ts +1 -1
  8. package/src/DOTEditor.ts +2 -2
  9. package/src/ECLEditor.ts +1 -1
  10. package/src/Editor.css +8 -3
  11. package/src/Editor.ts +1 -1
  12. package/src/HTMLEditor.ts +1 -1
  13. package/src/JSEditor.ts +1 -1
  14. package/src/JSONEditor.ts +1 -1
  15. package/src/MarkdownEditor.ts +1 -1
  16. package/src/ObservableMarkdownEditor.ts +1 -1
  17. package/src/SQLEditor.ts +1 -1
  18. package/src/XMLEditor.ts +1 -1
  19. package/src/__package__.ts +2 -2
  20. package/src/codemirror-shim.ts +32 -0
  21. package/src/index.ts +13 -12
  22. package/src/mode/dot/dot.ts +94 -0
  23. package/src/mode/markdown/markdown.ts +879 -0
  24. package/types/CSSEditor.d.ts +1 -2
  25. package/types/DOTEditor.d.ts +1 -2
  26. package/types/ECLEditor.d.ts +1 -2
  27. package/types/Editor.d.ts +0 -1
  28. package/types/HTMLEditor.d.ts +1 -2
  29. package/types/JSEditor.d.ts +1 -2
  30. package/types/JSONEditor.d.ts +1 -2
  31. package/types/MarkdownEditor.d.ts +1 -2
  32. package/types/ObservableMarkdownEditor.d.ts +1 -2
  33. package/types/SQLEditor.d.ts +1 -2
  34. package/types/XMLEditor.d.ts +1 -2
  35. package/types/__package__.d.ts +2 -3
  36. package/types/codemirror-shim.d.ts +26 -0
  37. package/types/index.d.ts +12 -13
  38. package/types/mode/dot/dot.d.ts +1 -0
  39. package/types/mode/markdown/markdown.d.ts +1 -0
  40. package/dist/index.es6.js +0 -17860
  41. package/dist/index.es6.js.map +0 -1
  42. package/dist/index.min.js +0 -2
  43. package/dist/index.min.js.map +0 -1
  44. package/types/CSSEditor.d.ts.map +0 -1
  45. package/types/DOTEditor.d.ts.map +0 -1
  46. package/types/ECLEditor.d.ts.map +0 -1
  47. package/types/Editor.d.ts.map +0 -1
  48. package/types/HTMLEditor.d.ts.map +0 -1
  49. package/types/JSEditor.d.ts.map +0 -1
  50. package/types/JSONEditor.d.ts.map +0 -1
  51. package/types/MarkdownEditor.d.ts.map +0 -1
  52. package/types/ObservableMarkdownEditor.d.ts.map +0 -1
  53. package/types/SQLEditor.d.ts.map +0 -1
  54. package/types/XMLEditor.d.ts.map +0 -1
  55. package/types/__package__.d.ts.map +0 -1
  56. package/types/index.d.ts.map +0 -1
  57. package/types-3.4/CSSEditor.d.ts +0 -7
  58. package/types-3.4/DOTEditor.d.ts +0 -7
  59. package/types-3.4/ECLEditor.d.ts +0 -8
  60. package/types-3.4/Editor.d.ts +0 -57
  61. package/types-3.4/HTMLEditor.d.ts +0 -7
  62. package/types-3.4/JSEditor.d.ts +0 -7
  63. package/types-3.4/JSONEditor.d.ts +0 -7
  64. package/types-3.4/MarkdownEditor.d.ts +0 -7
  65. package/types-3.4/ObservableMarkdownEditor.d.ts +0 -5
  66. package/types-3.4/SQLEditor.d.ts +0 -7
  67. package/types-3.4/XMLEditor.d.ts +0 -7
  68. package/types-3.4/__package__.d.ts +0 -4
  69. package/types-3.4/index.d.ts +0 -13
package/README.md CHANGED
@@ -33,11 +33,17 @@ This package is part of the mono repository "@hpcc-js" (aka Visualization Framew
33
33
  </html>
34
34
  ```
35
35
 
36
- <ClientOnly>
36
+ ```js exec echo
37
+ import { ECLEditor } from "./dist/index.js";
38
+ ECLEditor.version
39
+ ```
40
+
41
+
42
+ <!-- <ClientOnly>
37
43
  <hpcc-vitepress style="width:100%;height:600px">
38
44
  <div id="target" style="height:600px">
39
45
  </div>
40
- <script type="module">
46
+ <script type="module">
41
47
  import { ECLEditor } from "@hpcc-js/codemirror";
42
48
 
43
49
  const code = `\
@@ -55,6 +61,6 @@ This package is part of the mono repository "@hpcc-js" (aka Visualization Framew
55
61
  .target("target")
56
62
  .render()
57
63
  ;
58
- </script>
64
+ </script>
59
65
  </hpcc-vitepress>
60
- </ClientOnly>
66
+ </ClientOnly> -->