feffery_utils_components 0.1.25 → 0.1.26
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 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyListenPaste.py +49 -0
- package/build/lib/feffery_utils_components/_imports_.py +2 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/build/lib/feffery_utils_components/metadata.json +81 -0
- package/build/lib/feffery_utils_components/package-info.json +1 -1
- package/feffery_utils_components/FefferyListenPaste.py +49 -0
- package/feffery_utils_components/_imports_.py +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/feffery_utils_components/metadata.json +81 -0
- package/feffery_utils_components/package-info.json +1 -1
- package/package.json +1 -1
- package/setup.py +1 -1
- package/src/FefferyUtilsComponents.jl +4 -3
- package/src/jl/''_fefferylistenpaste.jl +27 -0
- package/src/lib/components/FefferyDiv.react.js +1 -1
- package/src/lib/components/listeners/FefferyListenPaste.react.js +96 -0
- package/src/lib/index.js +3 -1
- package/usage.py +24 -50
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
package/Project.toml
CHANGED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyListenPaste(Component):
|
|
7
|
+
"""A FefferyListenPaste component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- enableListenPaste (boolean; default False)
|
|
15
|
+
|
|
16
|
+
- loading_state (dict; optional)
|
|
17
|
+
|
|
18
|
+
`loading_state` is a dict with keys:
|
|
19
|
+
|
|
20
|
+
- component_name (string; optional):
|
|
21
|
+
Holds the name of the component that is loading.
|
|
22
|
+
|
|
23
|
+
- is_loading (boolean; optional):
|
|
24
|
+
Determines if the component is loading or not.
|
|
25
|
+
|
|
26
|
+
- prop_name (string; optional):
|
|
27
|
+
Holds which property is loading.
|
|
28
|
+
|
|
29
|
+
- pasteCount (number; default 0)
|
|
30
|
+
|
|
31
|
+
- pasteText (string; optional)
|
|
32
|
+
|
|
33
|
+
- targetContainerId (string; optional)"""
|
|
34
|
+
_children_props = []
|
|
35
|
+
_base_nodes = ['children']
|
|
36
|
+
_namespace = 'feffery_utils_components'
|
|
37
|
+
_type = 'FefferyListenPaste'
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, id=Component.UNDEFINED, pasteText=Component.UNDEFINED, pasteCount=Component.UNDEFINED, enableListenPaste=Component.UNDEFINED, targetContainerId=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['id', 'enableListenPaste', 'loading_state', 'pasteCount', 'pasteText', 'targetContainerId']
|
|
41
|
+
self._valid_wildcard_attributes = []
|
|
42
|
+
self.available_properties = ['id', 'enableListenPaste', 'loading_state', 'pasteCount', 'pasteText', 'targetContainerId']
|
|
43
|
+
self.available_wildcard_properties = []
|
|
44
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
45
|
+
_locals = locals()
|
|
46
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
47
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
48
|
+
|
|
49
|
+
super(FefferyListenPaste, self).__init__(**args)
|
|
@@ -48,6 +48,7 @@ from .FefferyGeolocation import FefferyGeolocation
|
|
|
48
48
|
from .FefferyIdle import FefferyIdle
|
|
49
49
|
from .FefferyInViewport import FefferyInViewport
|
|
50
50
|
from .FefferyKeyPress import FefferyKeyPress
|
|
51
|
+
from .FefferyListenPaste import FefferyListenPaste
|
|
51
52
|
from .FefferyListenScroll import FefferyListenScroll
|
|
52
53
|
from .FefferyListenUnload import FefferyListenUnload
|
|
53
54
|
from .FefferyMousePosition import FefferyMousePosition
|
|
@@ -110,6 +111,7 @@ __all__ = [
|
|
|
110
111
|
"FefferyIdle",
|
|
111
112
|
"FefferyInViewport",
|
|
112
113
|
"FefferyKeyPress",
|
|
114
|
+
"FefferyListenPaste",
|
|
113
115
|
"FefferyListenScroll",
|
|
114
116
|
"FefferyListenUnload",
|
|
115
117
|
"FefferyMousePosition",
|