feffery_utils_components 0.0.4 → 0.0.5
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.
- package/DESCRIPTION +1 -1
- package/NAMESPACE +1 -2
- package/Project.toml +1 -1
- package/feffery_utils_components/FefferyPasteImage.py +56 -0
- package/feffery_utils_components/__pycache__/FefferyCaptcha.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyPasteImage.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferySyntaxHighlighter.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyWaterMark.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/__init__.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/_imports_.cpython-37.pyc +0 -0
- package/feffery_utils_components/_imports_.py +2 -2
- package/feffery_utils_components/feffery_utils_components.min.js +1 -1
- package/feffery_utils_components/feffery_utils_components.min.js.LICENSE.txt +0 -16
- package/feffery_utils_components/metadata.json +41 -13
- package/feffery_utils_components/package-info.json +13 -11
- package/package.json +13 -11
- package/src/FefferyUtilsComponents.jl +4 -4
- package/src/jl/''_fefferypasteimage.jl +35 -0
- package/src/lib/components/FefferyPasteImage.react.js +168 -0
- package/src/lib/components/FefferySyntaxHighlighter.react.js +3 -3
- package/src/lib/components/styles.css +13 -0
- package/src/lib/index.js +4 -3
- package/usage.py +28 -170
- package/.Rbuildignore +0 -34
- package/.babelrc +0 -6
- package/feffery_utils_components/FefferyMarkdown.py +0 -50
- package/feffery_utils_components/__pycache__/FefferyContextMenu.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyFefferySyntaxHighlighter.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyMarkdown.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyNprogress.cpython-37.pyc +0 -0
- package/feffery_utils_components/__pycache__/FefferyUtilsComponents.cpython-37.pyc +0 -0
- package/src/lib/components/FefferyMarkdown.react.js +0 -163
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
package/Project.toml
CHANGED
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyPasteImage(Component):
|
|
7
|
+
"""A FefferyPasteImage component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
The content of the tab - will only be displayed if this tab is
|
|
14
|
+
selected.
|
|
15
|
+
|
|
16
|
+
- id (string; required)
|
|
17
|
+
|
|
18
|
+
- className (string; default 'feffery-paste-image-container')
|
|
19
|
+
|
|
20
|
+
- currentPastedImages (list of boolean | number | string | dict | lists; optional)
|
|
21
|
+
|
|
22
|
+
- deletedIdx (list of numbers; optional)
|
|
23
|
+
|
|
24
|
+
- imageHeight (number; default 200)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)"""
|
|
40
|
+
@_explicitize_args
|
|
41
|
+
def __init__(self, children=None, id=Component.REQUIRED, className=Component.UNDEFINED, style=Component.UNDEFINED, currentPastedImages=Component.UNDEFINED, deletedIdx=Component.UNDEFINED, imageHeight=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
43
|
+
self._type = 'FefferyPasteImage'
|
|
44
|
+
self._namespace = 'feffery_utils_components'
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['children', 'id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
47
|
+
self.available_wildcard_properties = []
|
|
48
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
49
|
+
_locals = locals()
|
|
50
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
51
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
52
|
+
for k in ['id']:
|
|
53
|
+
if k not in args:
|
|
54
|
+
raise TypeError(
|
|
55
|
+
'Required argument `' + k + '` was not specified.')
|
|
56
|
+
super(FefferyPasteImage, self).__init__(children=children, **args)
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
from .FefferyCaptcha import FefferyCaptcha
|
|
2
|
-
from .
|
|
2
|
+
from .FefferyPasteImage import FefferyPasteImage
|
|
3
3
|
from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
|
|
4
4
|
from .FefferyWaterMark import FefferyWaterMark
|
|
5
5
|
|
|
6
6
|
__all__ = [
|
|
7
7
|
"FefferyCaptcha",
|
|
8
|
-
"
|
|
8
|
+
"FefferyPasteImage",
|
|
9
9
|
"FefferySyntaxHighlighter",
|
|
10
10
|
"FefferyWaterMark"
|
|
11
11
|
]
|