feffery_utils_components 0.1.22 → 0.1.24
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 +3 -3
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/{FefferyLazyLoadImage.py → FefferyListenScroll.py} +9 -17
- package/build/lib/feffery_utils_components/FefferyListenUnload.py +43 -0
- package/build/lib/feffery_utils_components/FefferyMousePosition.py +43 -0
- package/build/lib/feffery_utils_components/{FefferyAnimated.py → FefferyUnmount.py} +9 -15
- package/build/lib/feffery_utils_components/_imports_.py +6 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/build/lib/feffery_utils_components/metadata.json +163 -0
- package/build/lib/feffery_utils_components/package-info.json +1 -1
- package/feffery_utils_components/FefferyListenScroll.py +45 -0
- package/feffery_utils_components/FefferyListenUnload.py +43 -0
- package/feffery_utils_components/FefferyMousePosition.py +43 -0
- package/feffery_utils_components/FefferyUnmount.py +45 -0
- package/feffery_utils_components/_imports_.py +6 -0
- package/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/feffery_utils_components/metadata.json +163 -0
- package/feffery_utils_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/FefferyUtilsComponents.jl +6 -3
- package/src/jl/''_fefferylistenscroll.jl +25 -0
- package/src/jl/''_fefferylistenunload.jl +24 -0
- package/src/jl/''_fefferymouseposition.jl +24 -0
- package/src/jl/''_fefferyunmount.jl +31 -0
- package/src/lib/components/listeners/FefferyListenScroll.react.js +69 -0
- package/src/lib/components/listeners/FefferyListenUnload.react.js +68 -0
- package/src/lib/components/listeners/FefferyMousePosition.react.js +72 -0
- package/src/lib/index.js +7 -1
- package/usage.py +30 -19
- package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +0 -58
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -50,6 +50,9 @@ export(''FefferyGeolocation)
|
|
|
50
50
|
export(''FefferyIdle)
|
|
51
51
|
export(''FefferyInViewport)
|
|
52
52
|
export(''FefferyKeyPress)
|
|
53
|
+
export(''FefferyListenScroll)
|
|
54
|
+
export(''FefferyListenUnload)
|
|
55
|
+
export(''FefferyMousePosition)
|
|
53
56
|
export(''FefferyResponsive)
|
|
54
57
|
export(''FefferyWindowSize)
|
|
55
58
|
export(''FefferySortableContainer)
|
|
@@ -57,6 +60,3 @@ export(''FefferySortableItem)
|
|
|
57
60
|
export(''FefferySplit)
|
|
58
61
|
export(''FefferySplitPane)
|
|
59
62
|
export(''FefferySessionStorage)
|
|
60
|
-
export(FefferyAnimated)
|
|
61
|
-
export(FefferyLazyLoadImage)
|
|
62
|
-
export(FefferySyntaxHighlighter)
|
package/Project.toml
CHANGED
package/build/lib/feffery_utils_components/{FefferyLazyLoadImage.py → FefferyListenScroll.py}
RENAMED
|
@@ -3,18 +3,14 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""A
|
|
6
|
+
class FefferyListenScroll(Component):
|
|
7
|
+
"""A FefferyListenScroll component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
11
|
|
|
12
12
|
- id (string; optional)
|
|
13
13
|
|
|
14
|
-
- alt (string; optional)
|
|
15
|
-
|
|
16
|
-
- height (string | number; optional)
|
|
17
|
-
|
|
18
14
|
- loading_state (dict; optional)
|
|
19
15
|
|
|
20
16
|
`loading_state` is a dict with keys:
|
|
@@ -28,26 +24,22 @@ Keyword arguments:
|
|
|
28
24
|
- prop_name (string; optional):
|
|
29
25
|
Holds which property is loading.
|
|
30
26
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
- src (string; optional)
|
|
34
|
-
|
|
35
|
-
- threshold (number; default 100)
|
|
27
|
+
- position (dict; optional)
|
|
36
28
|
|
|
37
|
-
-
|
|
29
|
+
- target (string; optional)"""
|
|
38
30
|
_children_props = []
|
|
39
31
|
_base_nodes = ['children']
|
|
40
32
|
_namespace = 'feffery_utils_components'
|
|
41
|
-
_type = '
|
|
33
|
+
_type = 'FefferyListenScroll'
|
|
42
34
|
@_explicitize_args
|
|
43
|
-
def __init__(self, id=Component.UNDEFINED,
|
|
44
|
-
self._prop_names = ['id', '
|
|
35
|
+
def __init__(self, id=Component.UNDEFINED, target=Component.UNDEFINED, position=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['id', 'loading_state', 'position', 'target']
|
|
45
37
|
self._valid_wildcard_attributes = []
|
|
46
|
-
self.available_properties = ['id', '
|
|
38
|
+
self.available_properties = ['id', 'loading_state', 'position', 'target']
|
|
47
39
|
self.available_wildcard_properties = []
|
|
48
40
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
49
41
|
_locals = locals()
|
|
50
42
|
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
51
43
|
args = {k: _locals[k] for k in _explicit_args}
|
|
52
44
|
|
|
53
|
-
super(
|
|
45
|
+
super(FefferyListenScroll, self).__init__(**args)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyListenUnload(Component):
|
|
7
|
+
"""A FefferyListenUnload component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- loading_state (dict; optional)
|
|
15
|
+
|
|
16
|
+
`loading_state` is a dict with keys:
|
|
17
|
+
|
|
18
|
+
- component_name (string; optional):
|
|
19
|
+
Holds the name of the component that is loading.
|
|
20
|
+
|
|
21
|
+
- is_loading (boolean; optional):
|
|
22
|
+
Determines if the component is loading or not.
|
|
23
|
+
|
|
24
|
+
- prop_name (string; optional):
|
|
25
|
+
Holds which property is loading.
|
|
26
|
+
|
|
27
|
+
- unloaded (boolean; optional)"""
|
|
28
|
+
_children_props = []
|
|
29
|
+
_base_nodes = ['children']
|
|
30
|
+
_namespace = 'feffery_utils_components'
|
|
31
|
+
_type = 'FefferyListenUnload'
|
|
32
|
+
@_explicitize_args
|
|
33
|
+
def __init__(self, id=Component.UNDEFINED, unloaded=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['id', 'loading_state', 'unloaded']
|
|
35
|
+
self._valid_wildcard_attributes = []
|
|
36
|
+
self.available_properties = ['id', 'loading_state', 'unloaded']
|
|
37
|
+
self.available_wildcard_properties = []
|
|
38
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
39
|
+
_locals = locals()
|
|
40
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
41
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
42
|
+
|
|
43
|
+
super(FefferyListenUnload, self).__init__(**args)
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyMousePosition(Component):
|
|
7
|
+
"""A FefferyMousePosition component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- loading_state (dict; optional)
|
|
15
|
+
|
|
16
|
+
`loading_state` is a dict with keys:
|
|
17
|
+
|
|
18
|
+
- component_name (string; optional):
|
|
19
|
+
Holds the name of the component that is loading.
|
|
20
|
+
|
|
21
|
+
- is_loading (boolean; optional):
|
|
22
|
+
Determines if the component is loading or not.
|
|
23
|
+
|
|
24
|
+
- prop_name (string; optional):
|
|
25
|
+
Holds which property is loading.
|
|
26
|
+
|
|
27
|
+
- position (dict; optional)"""
|
|
28
|
+
_children_props = []
|
|
29
|
+
_base_nodes = ['children']
|
|
30
|
+
_namespace = 'feffery_utils_components'
|
|
31
|
+
_type = 'FefferyMousePosition'
|
|
32
|
+
@_explicitize_args
|
|
33
|
+
def __init__(self, id=Component.UNDEFINED, position=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['id', 'loading_state', 'position']
|
|
35
|
+
self._valid_wildcard_attributes = []
|
|
36
|
+
self.available_properties = ['id', 'loading_state', 'position']
|
|
37
|
+
self.available_wildcard_properties = []
|
|
38
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
39
|
+
_locals = locals()
|
|
40
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
41
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
42
|
+
|
|
43
|
+
super(FefferyMousePosition, self).__init__(**args)
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""A
|
|
6
|
+
class FefferyUnmount(Component):
|
|
7
|
+
"""A FefferyUnmount component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
@@ -13,11 +13,7 @@ Keyword arguments:
|
|
|
13
13
|
|
|
14
14
|
- id (string; optional)
|
|
15
15
|
|
|
16
|
-
-
|
|
17
|
-
|
|
18
|
-
- className (string; optional)
|
|
19
|
-
|
|
20
|
-
- initial (dict; optional)
|
|
16
|
+
- isUnmount (boolean; optional)
|
|
21
17
|
|
|
22
18
|
- loading_state (dict; optional)
|
|
23
19
|
|
|
@@ -30,22 +26,20 @@ Keyword arguments:
|
|
|
30
26
|
Determines if the component is loading or not.
|
|
31
27
|
|
|
32
28
|
- prop_name (string; optional):
|
|
33
|
-
Holds which property is loading.
|
|
34
|
-
|
|
35
|
-
- style (dict; optional)"""
|
|
29
|
+
Holds which property is loading."""
|
|
36
30
|
_children_props = []
|
|
37
31
|
_base_nodes = ['children']
|
|
38
32
|
_namespace = 'feffery_utils_components'
|
|
39
|
-
_type = '
|
|
33
|
+
_type = 'FefferyUnmount'
|
|
40
34
|
@_explicitize_args
|
|
41
|
-
def __init__(self, children=None, id=Component.UNDEFINED,
|
|
42
|
-
self._prop_names = ['children', 'id', '
|
|
35
|
+
def __init__(self, children=None, id=Component.UNDEFINED, isUnmount=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['children', 'id', 'isUnmount', 'loading_state']
|
|
43
37
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['children', 'id', '
|
|
38
|
+
self.available_properties = ['children', 'id', 'isUnmount', 'loading_state']
|
|
45
39
|
self.available_wildcard_properties = []
|
|
46
40
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
41
|
_locals = locals()
|
|
48
42
|
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
49
43
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
44
|
|
|
51
|
-
super(
|
|
45
|
+
super(FefferyUnmount, self).__init__(children=children, **args)
|
|
@@ -48,6 +48,9 @@ from .FefferyGeolocation import FefferyGeolocation
|
|
|
48
48
|
from .FefferyIdle import FefferyIdle
|
|
49
49
|
from .FefferyInViewport import FefferyInViewport
|
|
50
50
|
from .FefferyKeyPress import FefferyKeyPress
|
|
51
|
+
from .FefferyListenScroll import FefferyListenScroll
|
|
52
|
+
from .FefferyListenUnload import FefferyListenUnload
|
|
53
|
+
from .FefferyMousePosition import FefferyMousePosition
|
|
51
54
|
from .FefferyResponsive import FefferyResponsive
|
|
52
55
|
from .FefferyWindowSize import FefferyWindowSize
|
|
53
56
|
from .FefferySortableContainer import FefferySortableContainer
|
|
@@ -107,6 +110,9 @@ __all__ = [
|
|
|
107
110
|
"FefferyIdle",
|
|
108
111
|
"FefferyInViewport",
|
|
109
112
|
"FefferyKeyPress",
|
|
113
|
+
"FefferyListenScroll",
|
|
114
|
+
"FefferyListenUnload",
|
|
115
|
+
"FefferyMousePosition",
|
|
110
116
|
"FefferyResponsive",
|
|
111
117
|
"FefferyWindowSize",
|
|
112
118
|
"FefferySortableContainer",
|