feffery_utils_components 0.0.26 → 0.0.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.0.26
3
+ Version: 0.0.27
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -20,6 +20,7 @@ export(''FefferyGuide)
20
20
  export(''FefferyHighlightWords)
21
21
  export(''FefferyLazyLoad)
22
22
  export(''FefferyLocation)
23
+ export(''FefferyQRCode)
23
24
  export(''FefferyScroll)
24
25
  export(''FefferyScrollbars)
25
26
  export(''FefferyShortcutPanel)
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.26"
5
+ version = "0.0.27"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -0,0 +1,85 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyFancyNotification(Component):
7
+ """A FefferyFancyNotification component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - autoClose (boolean | number; optional)
17
+
18
+ - bodyClassName (string; optional)
19
+
20
+ - className (string; optional)
21
+
22
+ - closable (boolean; default True)
23
+
24
+ - closeOnClick (boolean; optional)
25
+
26
+ - containerId (string; optional)
27
+
28
+ - draggable (boolean; optional)
29
+
30
+ - draggablePercent (number; optional)
31
+
32
+ - hideProgressBar (boolean; optional)
33
+
34
+ - key (string; optional)
35
+
36
+ - limit (number; optional)
37
+
38
+ - loading_state (dict; optional)
39
+
40
+ `loading_state` is a dict with keys:
41
+
42
+ - component_name (string; optional):
43
+ Holds the name of the component that is loading.
44
+
45
+ - is_loading (boolean; optional):
46
+ Determines if the component is loading or not.
47
+
48
+ - prop_name (string; optional):
49
+ Holds which property is loading.
50
+
51
+ - newestOnTop (boolean; optional)
52
+
53
+ - pauseOnHover (boolean; optional)
54
+
55
+ - position (a value equal to: 'top-right', 'top-center', 'top-left', 'bottom-right', 'bottom-cente', 'bottom-left'; optional)
56
+
57
+ - progressClassName (string; optional)
58
+
59
+ - progressStyle (dict; optional)
60
+
61
+ - style (dict; optional)
62
+
63
+ - theme (a value equal to: 'light', 'dark', 'colored'; optional)
64
+
65
+ - toastClassName (string; optional)
66
+
67
+ - type (a value equal to: 'info', 'success', 'warning', 'error'; optional)
68
+
69
+ - visible (boolean; default True)"""
70
+ _children_props = []
71
+ _base_nodes = ['children']
72
+ _namespace = 'feffery_utils_components'
73
+ _type = 'FefferyFancyNotification'
74
+ @_explicitize_args
75
+ def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, visible=Component.UNDEFINED, position=Component.UNDEFINED, autoClose=Component.UNDEFINED, closable=Component.UNDEFINED, hideProgressBar=Component.UNDEFINED, pauseOnHover=Component.UNDEFINED, closeOnClick=Component.UNDEFINED, newestOnTop=Component.UNDEFINED, toastClassName=Component.UNDEFINED, bodyClassName=Component.UNDEFINED, progressClassName=Component.UNDEFINED, progressStyle=Component.UNDEFINED, draggable=Component.UNDEFINED, draggablePercent=Component.UNDEFINED, containerId=Component.UNDEFINED, limit=Component.UNDEFINED, theme=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
76
+ self._prop_names = ['children', 'id', 'autoClose', 'bodyClassName', 'className', 'closable', 'closeOnClick', 'containerId', 'draggable', 'draggablePercent', 'hideProgressBar', 'key', 'limit', 'loading_state', 'newestOnTop', 'pauseOnHover', 'position', 'progressClassName', 'progressStyle', 'style', 'theme', 'toastClassName', 'type', 'visible']
77
+ self._valid_wildcard_attributes = []
78
+ self.available_properties = ['children', 'id', 'autoClose', 'bodyClassName', 'className', 'closable', 'closeOnClick', 'containerId', 'draggable', 'draggablePercent', 'hideProgressBar', 'key', 'limit', 'loading_state', 'newestOnTop', 'pauseOnHover', 'position', 'progressClassName', 'progressStyle', 'style', 'theme', 'toastClassName', 'type', 'visible']
79
+ self.available_wildcard_properties = []
80
+ _explicit_args = kwargs.pop('_explicit_args')
81
+ _locals = locals()
82
+ _locals.update(kwargs) # For wildcard attrs and excess named props
83
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
84
+
85
+ super(FefferyFancyNotification, self).__init__(children=children, **args)
@@ -13,6 +13,7 @@ from .FefferyCaptcha import FefferyCaptcha
13
13
  from .FefferyCountDown import FefferyCountDown
14
14
  from .FefferyExecuteJs import FefferyExecuteJs
15
15
  from .FefferyExtraSpinner import FefferyExtraSpinner
16
+ from .FefferyFancyNotification import FefferyFancyNotification
16
17
  from .FefferyGuide import FefferyGuide
17
18
  from .FefferyHighlightWords import FefferyHighlightWords
18
19
  from .FefferyLazyLoad import FefferyLazyLoad
@@ -53,6 +54,7 @@ __all__ = [
53
54
  "FefferyCountDown",
54
55
  "FefferyExecuteJs",
55
56
  "FefferyExtraSpinner",
57
+ "FefferyFancyNotification",
56
58
  "FefferyGuide",
57
59
  "FefferyHighlightWords",
58
60
  "FefferyLazyLoad",