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 +1 -1
- package/NAMESPACE +1 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyFancyNotification.py +85 -0
- package/build/lib/feffery_utils_components/_imports_.py +2 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +1 -1
- package/build/lib/feffery_utils_components/metadata.json +273 -0
- package/build/lib/feffery_utils_components/package-info.json +2 -1
- package/feffery_utils_components/FefferyQRCode.py +72 -0
- package/feffery_utils_components/_imports_.py +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/feffery_utils_components/metadata.json +171 -0
- package/feffery_utils_components/package-info.json +2 -1
- package/package.json +2 -1
- package/src/FefferyUtilsComponents.jl +4 -3
- package/src/jl/''_fefferyqrcode.jl +36 -0
- package/src/lib/components/FefferyQRCode.react.js +132 -0
- package/src/lib/index.js +3 -1
- package/tests/QRCodeTest/app.py +41 -0
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
package/Project.toml
CHANGED
|
@@ -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",
|