trame-code 1.0.0__tar.gz → 1.0.1__tar.gz

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 (27) hide show
  1. {trame-code-1.0.0 → trame-code-1.0.1}/PKG-INFO +1 -1
  2. {trame-code-1.0.0 → trame-code-1.0.1}/setup.cfg +1 -1
  3. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/widgets/code.py +22 -0
  4. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/PKG-INFO +1 -1
  5. {trame-code-1.0.0 → trame-code-1.0.1}/LICENSE +0 -0
  6. {trame-code-1.0.0 → trame-code-1.0.1}/MANIFEST.in +0 -0
  7. {trame-code-1.0.0 → trame-code-1.0.1}/README.rst +0 -0
  8. {trame-code-1.0.0 → trame-code-1.0.1}/setup.py +0 -0
  9. {trame-code-1.0.0 → trame-code-1.0.1}/trame/__init__.py +0 -0
  10. {trame-code-1.0.0 → trame-code-1.0.1}/trame/modules/__init__.py +0 -0
  11. {trame-code-1.0.0 → trame-code-1.0.1}/trame/modules/code.py +0 -0
  12. {trame-code-1.0.0 → trame-code-1.0.1}/trame/widgets/__init__.py +0 -0
  13. {trame-code-1.0.0 → trame-code-1.0.1}/trame/widgets/code.py +0 -0
  14. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/__init__.py +0 -0
  15. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/__init__.py +0 -0
  16. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/css.worker.bundle.js +0 -0
  17. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/editor.worker.bundle.js +0 -0
  18. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/html.worker.bundle.js +0 -0
  19. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/json.worker.bundle.js +0 -0
  20. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/ts.worker.bundle.js +0 -0
  21. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/style.css +0 -0
  22. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/trame-code.umd.js +0 -0
  23. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/widgets/__init__.py +0 -0
  24. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/SOURCES.txt +0 -0
  25. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/dependency_links.txt +0 -0
  26. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/requires.txt +0 -0
  27. {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trame-code
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Widget for Monaco VS code editor for trame
5
5
  Author: Kitware Inc.
6
6
  License: MIT License
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = trame-code
3
- version = 1.0.0
3
+ version = 1.0.1
4
4
  description = Widget for Monaco VS code editor for trame
5
5
  long_description = file: README.rst
6
6
  long_description_content_type = text/x-rst
@@ -1,6 +1,11 @@
1
+ """Module compatible with vue2 and vue3. To use it, you need to install **trame-code**"""
1
2
  from trame_client.widgets.core import AbstractElement
2
3
  from .. import module
3
4
 
5
+ __all__ = [
6
+ "Editor",
7
+ ]
8
+
4
9
 
5
10
  class HtmlElement(AbstractElement):
6
11
  def __init__(self, _elem_name, children=None, **kwargs):
@@ -11,6 +16,23 @@ class HtmlElement(AbstractElement):
11
16
 
12
17
  # Expose your vue component(s)
13
18
  class Editor(HtmlElement):
19
+ """
20
+ Monaco Editor component
21
+
22
+ Properties:
23
+
24
+ :param options:
25
+ :param value:
26
+ :param theme:
27
+ :param language:
28
+ :param textmate:
29
+
30
+ Events:
31
+
32
+ :param input:
33
+
34
+ """
35
+
14
36
  def __init__(self, **kwargs):
15
37
  super().__init__(
16
38
  "vs-editor",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: trame-code
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: Widget for Monaco VS code editor for trame
5
5
  Author: Kitware Inc.
6
6
  License: MIT License
File without changes
File without changes
File without changes
File without changes
File without changes