feffery_utils_components 0.0.21 → 0.0.22

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.0.21
3
+ Version: 0.0.22
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -10,6 +10,7 @@ export(''FefferyWheelColorPicker)
10
10
  export(''FefferyExternalCss)
11
11
  export(''FefferySetTitle)
12
12
  export(''FefferyCaptcha)
13
+ export(''FefferyCountDown)
13
14
  export(''FefferyExecuteJs)
14
15
  export(''FefferyExtraSpinner)
15
16
  export(''FefferyGuide)
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.0.21"
5
+ version = "0.0.22"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -36,6 +36,8 @@ Keyword arguments:
36
36
  - prop_name (string; optional):
37
37
  Holds which property is loading.
38
38
 
39
+ - refresh (boolean; optional)
40
+
39
41
  - style (dict; optional)
40
42
 
41
43
  - width (number; optional)"""
@@ -44,10 +46,10 @@ Keyword arguments:
44
46
  _namespace = 'feffery_utils_components'
45
47
  _type = 'FefferyCaptcha'
46
48
  @_explicitize_args
47
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, captcha=Component.UNDEFINED, charNum=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, bgColor=Component.UNDEFINED, fontSize=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
48
- self._prop_names = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'style', 'width']
49
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, captcha=Component.UNDEFINED, charNum=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, bgColor=Component.UNDEFINED, fontSize=Component.UNDEFINED, refresh=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
50
+ self._prop_names = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'refresh', 'style', 'width']
49
51
  self._valid_wildcard_attributes = []
50
- self.available_properties = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'style', 'width']
52
+ self.available_properties = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'refresh', 'style', 'width']
51
53
  self.available_wildcard_properties = []
52
54
  _explicit_args = kwargs.pop('_explicit_args')
53
55
  _locals = locals()
@@ -19,6 +19,8 @@ Keyword arguments:
19
19
 
20
20
  - className (string; optional)
21
21
 
22
+ - clickAwayCount (number; default 0)
23
+
22
24
  - contextMenuEvent (dict; optional)
23
25
 
24
26
  `contextMenuEvent` is a dict with keys:
@@ -48,9 +50,9 @@ Keyword arguments:
48
50
  - prop_name (string; optional):
49
51
  Holds which property is loading.
50
52
 
51
- - mouseEnterCounts (number; default 0)
53
+ - mouseEnterCount (number; default 0)
52
54
 
53
- - mouseLeaveCounts (number; default 0)
55
+ - mouseLeaveCount (number; default 0)
54
56
 
55
57
  - nClicks (number; default 0)
56
58
 
@@ -62,10 +64,10 @@ Keyword arguments:
62
64
  _namespace = 'feffery_utils_components'
63
65
  _type = 'FefferyDiv'
64
66
  @_explicitize_args
65
- def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCounts=Component.UNDEFINED, mouseLeaveCounts=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
66
- self._prop_names = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'isHovering', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'style']
67
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCount=Component.UNDEFINED, mouseLeaveCount=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
68
+ self._prop_names = ['children', 'id', '_height', '_width', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'isHovering', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'style']
67
69
  self._valid_wildcard_attributes = []
68
- self.available_properties = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'isHovering', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'style']
70
+ self.available_properties = ['children', 'id', '_height', '_width', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'isHovering', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'style']
69
71
  self.available_wildcard_properties = []
70
72
  _explicit_args = kwargs.pop('_explicit_args')
71
73
  _locals = locals()
@@ -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 FefferyKeyPress(Component):
7
+ """A FefferyKeyPress component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - keys (string; required)
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
+ - pressedTimes (number; default 0)"""
30
+ _children_props = []
31
+ _base_nodes = ['children']
32
+ _namespace = 'feffery_utils_components'
33
+ _type = 'FefferyKeyPress'
34
+ @_explicitize_args
35
+ def __init__(self, id=Component.UNDEFINED, keys=Component.REQUIRED, pressedTimes=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
+ self._prop_names = ['id', 'keys', 'loading_state', 'pressedTimes']
37
+ self._valid_wildcard_attributes = []
38
+ self.available_properties = ['id', 'keys', 'loading_state', 'pressedTimes']
39
+ self.available_wildcard_properties = []
40
+ _explicit_args = kwargs.pop('_explicit_args')
41
+ _locals = locals()
42
+ _locals.update(kwargs) # For wildcard attrs and excess named props
43
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
44
+ for k in ['keys']:
45
+ if k not in args:
46
+ raise TypeError(
47
+ 'Required argument `' + k + '` was not specified.')
48
+ super(FefferyKeyPress, self).__init__(**args)
@@ -3,17 +3,15 @@
3
3
  from dash.development.base_component import Component, _explicitize_args
4
4
 
5
5
 
6
- class FefferySliderColorPicker(Component):
7
- """A FefferySliderColorPicker component.
6
+ class FefferyTimeout(Component):
7
+ """A FefferyTimeout component.
8
8
 
9
9
 
10
10
  Keyword arguments:
11
11
 
12
12
  - id (string; optional)
13
13
 
14
- - className (string; optional)
15
-
16
- - color (string; optional)
14
+ - delay (number; optional)
17
15
 
18
16
  - loading_state (dict; optional)
19
17
 
@@ -28,16 +26,16 @@ Keyword arguments:
28
26
  - prop_name (string; optional):
29
27
  Holds which property is loading.
30
28
 
31
- - style (dict; optional)"""
29
+ - timeoutCount (number; default 0)"""
32
30
  _children_props = []
33
31
  _base_nodes = ['children']
34
32
  _namespace = 'feffery_utils_components'
35
- _type = 'FefferySliderColorPicker'
33
+ _type = 'FefferyTimeout'
36
34
  @_explicitize_args
37
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
- self._prop_names = ['id', 'className', 'color', 'loading_state', 'style']
35
+ def __init__(self, id=Component.UNDEFINED, timeoutCount=Component.UNDEFINED, delay=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
+ self._prop_names = ['id', 'delay', 'loading_state', 'timeoutCount']
39
37
  self._valid_wildcard_attributes = []
40
- self.available_properties = ['id', 'className', 'color', 'loading_state', 'style']
38
+ self.available_properties = ['id', 'delay', 'loading_state', 'timeoutCount']
41
39
  self.available_wildcard_properties = []
42
40
  _explicit_args = kwargs.pop('_explicit_args')
43
41
  _locals = locals()
@@ -47,4 +45,4 @@ Keyword arguments:
47
45
  if k not in args:
48
46
  raise TypeError(
49
47
  'Required argument `' + k + '` was not specified.')
50
- super(FefferySliderColorPicker, self).__init__(**args)
48
+ super(FefferyTimeout, self).__init__(**args)
@@ -18,6 +18,7 @@ from .FefferyScroll import FefferyScroll
18
18
  from .FefferyScrollbars import FefferyScrollbars
19
19
  from .FefferyShortcutPanel import FefferyShortcutPanel
20
20
  from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
21
+ from .FefferyTimeout import FefferyTimeout
21
22
  from .FefferyTopProgress import FefferyTopProgress
22
23
  from .FefferyVirtualList import FefferyVirtualList
23
24
  from .FefferyDiv import FefferyDiv
@@ -25,6 +26,7 @@ from .FefferyDocumentVisibility import FefferyDocumentVisibility
25
26
  from .FefferyGeolocation import FefferyGeolocation
26
27
  from .FefferyIdle import FefferyIdle
27
28
  from .FefferyInViewport import FefferyInViewport
29
+ from .FefferyKeyPress import FefferyKeyPress
28
30
  from .FefferyResponsive import FefferyResponsive
29
31
  from .FefferyWindowSize import FefferyWindowSize
30
32
  from .FefferySplit import FefferySplit
@@ -51,6 +53,7 @@ __all__ = [
51
53
  "FefferyScrollbars",
52
54
  "FefferyShortcutPanel",
53
55
  "FefferySyntaxHighlighter",
56
+ "FefferyTimeout",
54
57
  "FefferyTopProgress",
55
58
  "FefferyVirtualList",
56
59
  "FefferyDiv",
@@ -58,6 +61,7 @@ __all__ = [
58
61
  "FefferyGeolocation",
59
62
  "FefferyIdle",
60
63
  "FefferyInViewport",
64
+ "FefferyKeyPress",
61
65
  "FefferyResponsive",
62
66
  "FefferyWindowSize",
63
67
  "FefferySplit",