feffery_utils_components 0.1.26 → 0.1.27
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/FefferyLocation.py +59 -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 +122 -0
- package/build/lib/feffery_utils_components/package-info.json +1 -1
- package/feffery_utils_components/FefferyLocation.py +59 -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 +122 -0
- package/feffery_utils_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/FefferyUtilsComponents.jl +4 -3
- package/src/jl/''_fefferylocation.jl +16 -10
- package/src/lib/components/FefferyFancyMessage.js +0 -1
- package/src/lib/components/listeners/FefferyLocation.react.js +99 -0
- package/src/lib/index.js +3 -1
- package/usage.py +58 -17
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
package/Project.toml
CHANGED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyLocation(Component):
|
|
7
|
+
"""A FefferyLocation component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- hash (string; optional)
|
|
15
|
+
|
|
16
|
+
- host (string; optional)
|
|
17
|
+
|
|
18
|
+
- hostname (string; optional)
|
|
19
|
+
|
|
20
|
+
- href (string; optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (dict; optional)
|
|
23
|
+
|
|
24
|
+
`loading_state` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- component_name (string; optional):
|
|
27
|
+
Holds the name of the component that is loading.
|
|
28
|
+
|
|
29
|
+
- is_loading (boolean; optional):
|
|
30
|
+
Determines if the component is loading or not.
|
|
31
|
+
|
|
32
|
+
- prop_name (string; optional):
|
|
33
|
+
Holds which property is loading.
|
|
34
|
+
|
|
35
|
+
- pathname (string; optional)
|
|
36
|
+
|
|
37
|
+
- port (string; optional)
|
|
38
|
+
|
|
39
|
+
- protocol (string; optional)
|
|
40
|
+
|
|
41
|
+
- search (string; optional)
|
|
42
|
+
|
|
43
|
+
- trigger (a value equal to: 'load', 'pushstate', 'popstate'; optional)"""
|
|
44
|
+
_children_props = []
|
|
45
|
+
_base_nodes = ['children']
|
|
46
|
+
_namespace = 'feffery_utils_components'
|
|
47
|
+
_type = 'FefferyLocation'
|
|
48
|
+
@_explicitize_args
|
|
49
|
+
def __init__(self, id=Component.UNDEFINED, href=Component.UNDEFINED, pathname=Component.UNDEFINED, search=Component.UNDEFINED, hash=Component.UNDEFINED, host=Component.UNDEFINED, hostname=Component.UNDEFINED, port=Component.UNDEFINED, protocol=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
50
|
+
self._prop_names = ['id', 'hash', 'host', 'hostname', 'href', 'loading_state', 'pathname', 'port', 'protocol', 'search', 'trigger']
|
|
51
|
+
self._valid_wildcard_attributes = []
|
|
52
|
+
self.available_properties = ['id', 'hash', 'host', 'hostname', 'href', 'loading_state', 'pathname', 'port', 'protocol', 'search', 'trigger']
|
|
53
|
+
self.available_wildcard_properties = []
|
|
54
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
55
|
+
_locals = locals()
|
|
56
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
57
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
58
|
+
|
|
59
|
+
super(FefferyLocation, self).__init__(**args)
|
|
@@ -51,6 +51,7 @@ from .FefferyKeyPress import FefferyKeyPress
|
|
|
51
51
|
from .FefferyListenPaste import FefferyListenPaste
|
|
52
52
|
from .FefferyListenScroll import FefferyListenScroll
|
|
53
53
|
from .FefferyListenUnload import FefferyListenUnload
|
|
54
|
+
from .FefferyLocation import FefferyLocation
|
|
54
55
|
from .FefferyMousePosition import FefferyMousePosition
|
|
55
56
|
from .FefferyResponsive import FefferyResponsive
|
|
56
57
|
from .FefferyWindowSize import FefferyWindowSize
|
|
@@ -114,6 +115,7 @@ __all__ = [
|
|
|
114
115
|
"FefferyListenPaste",
|
|
115
116
|
"FefferyListenScroll",
|
|
116
117
|
"FefferyListenUnload",
|
|
118
|
+
"FefferyLocation",
|
|
117
119
|
"FefferyMousePosition",
|
|
118
120
|
"FefferyResponsive",
|
|
119
121
|
"FefferyWindowSize",
|