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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyUtilsComponents
2
2
  Title: Build more utility components for Plotly Dash.
3
- Version: 0.1.26
3
+ Version: 0.1.27
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -53,6 +53,7 @@ export(''FefferyKeyPress)
53
53
  export(''FefferyListenPaste)
54
54
  export(''FefferyListenScroll)
55
55
  export(''FefferyListenUnload)
56
+ export(''FefferyLocation)
56
57
  export(''FefferyMousePosition)
57
58
  export(''FefferyResponsive)
58
59
  export(''FefferyWindowSize)
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyUtilsComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.1.26"
5
+ version = "0.1.27"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -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",