feffery_utils_components 0.1.6 → 0.1.7

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.6
3
+ Version: 0.1.7
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
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.6"
5
+ version = "0.1.7"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -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 FefferyLocalStorage(Component):
7
+ """A FefferyLocalStorage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - jsString (string; optional)
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
+ _children_props = []
29
+ _base_nodes = ['children']
30
+ _namespace = 'feffery_utils_components'
31
+ _type = 'FefferyLocalStorage'
32
+ @_explicitize_args
33
+ def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['id', 'jsString', 'loading_state']
35
+ self._valid_wildcard_attributes = []
36
+ self.available_properties = ['id', 'jsString', 'loading_state']
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(FefferyLocalStorage, self).__init__(**args)
@@ -0,0 +1,48 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferySessionStorage(Component):
7
+ """A FefferySessionStorage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; required)
13
+
14
+ - data (boolean | number | string | dict | list; optional)
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
+ _children_props = []
29
+ _base_nodes = ['children']
30
+ _namespace = 'feffery_utils_components'
31
+ _type = 'FefferySessionStorage'
32
+ @_explicitize_args
33
+ def __init__(self, id=Component.REQUIRED, data=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['id', 'data', 'loading_state']
35
+ self._valid_wildcard_attributes = []
36
+ self.available_properties = ['id', 'data', 'loading_state']
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
+ for k in ['id']:
44
+ if k not in args:
45
+ raise TypeError(
46
+ 'Required argument `' + k + '` was not specified.')
47
+
48
+ super(FefferySessionStorage, self).__init__(**args)
@@ -44,6 +44,7 @@ from .FefferySortableContainer import FefferySortableContainer
44
44
  from .FefferySortableItem import FefferySortableItem
45
45
  from .FefferySplit import FefferySplit
46
46
  from .FefferySplitPane import FefferySplitPane
47
+ from .FefferySessionStorage import FefferySessionStorage
47
48
 
48
49
  __all__ = [
49
50
  "FefferyBlockColorPicker",
@@ -91,5 +92,6 @@ __all__ = [
91
92
  "FefferySortableContainer",
92
93
  "FefferySortableItem",
93
94
  "FefferySplit",
94
- "FefferySplitPane"
95
+ "FefferySplitPane",
96
+ "FefferySessionStorage"
95
97
  ]