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.
- {trame-code-1.0.0 → trame-code-1.0.1}/PKG-INFO +1 -1
- {trame-code-1.0.0 → trame-code-1.0.1}/setup.cfg +1 -1
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/widgets/code.py +22 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/PKG-INFO +1 -1
- {trame-code-1.0.0 → trame-code-1.0.1}/LICENSE +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/MANIFEST.in +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/README.rst +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/setup.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame/modules/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame/modules/code.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame/widgets/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame/widgets/code.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/css.worker.bundle.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/editor.worker.bundle.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/html.worker.bundle.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/json.worker.bundle.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/ts.worker.bundle.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/style.css +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/trame-code.umd.js +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code/widgets/__init__.py +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/SOURCES.txt +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/dependency_links.txt +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/requires.txt +0 -0
- {trame-code-1.0.0 → trame-code-1.0.1}/trame_code.egg-info/top_level.txt +0 -0
|
@@ -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",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/css.worker.bundle.js
RENAMED
|
File without changes
|
|
File without changes
|
{trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/html.worker.bundle.js
RENAMED
|
File without changes
|
{trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/json.worker.bundle.js
RENAMED
|
File without changes
|
{trame-code-1.0.0 → trame-code-1.0.1}/trame_code/module/serve/monacoeditorwork/ts.worker.bundle.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|