feffery_utils_components 0.0.26 → 0.0.28
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 +2 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyFancyNotification.py +85 -0
- package/build/lib/feffery_utils_components/FefferyQRCode.py +72 -0
- package/build/lib/feffery_utils_components/_imports_.py +4 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +2 -2
- package/build/lib/feffery_utils_components/metadata.json +444 -0
- package/build/lib/feffery_utils_components/package-info.json +3 -1
- package/feffery_utils_components/FefferyFancyMessage.py +67 -0
- package/feffery_utils_components/FefferyQRCode.py +72 -0
- package/feffery_utils_components/_imports_.py +4 -0
- package/feffery_utils_components/feffery_utils_components.min.js +181 -11
- package/feffery_utils_components/metadata.json +371 -0
- package/feffery_utils_components/package-info.json +3 -1
- package/package.json +3 -1
- package/src/FefferyUtilsComponents.jl +5 -3
- package/src/jl/''_fefferyfancymessage.jl +42 -0
- package/src/jl/''_fefferyqrcode.jl +36 -0
- package/src/lib/components/FefferyFancyMessage.js +161 -0
- package/src/lib/components/FefferyQRCode.react.js +132 -0
- package/src/lib/index.js +5 -1
- package/tests/FancyMessageTest/app.py +46 -0
- package/tests/QRCodeTest/app.py +41 -0
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -15,11 +15,13 @@ export(''FefferyCaptcha)
|
|
|
15
15
|
export(''FefferyCountDown)
|
|
16
16
|
export(''FefferyExecuteJs)
|
|
17
17
|
export(''FefferyExtraSpinner)
|
|
18
|
+
export(''FefferyFancyMessage)
|
|
18
19
|
export(''FefferyFancyNotification)
|
|
19
20
|
export(''FefferyGuide)
|
|
20
21
|
export(''FefferyHighlightWords)
|
|
21
22
|
export(''FefferyLazyLoad)
|
|
22
23
|
export(''FefferyLocation)
|
|
24
|
+
export(''FefferyQRCode)
|
|
23
25
|
export(''FefferyScroll)
|
|
24
26
|
export(''FefferyScrollbars)
|
|
25
27
|
export(''FefferyShortcutPanel)
|
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)
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyQRCode(Component):
|
|
7
|
+
"""A FefferyQRCode component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- bgColor (string; default '#FFFFFF')
|
|
15
|
+
|
|
16
|
+
- fgColor (string; default '#000000')
|
|
17
|
+
|
|
18
|
+
- imageSettings (dict; optional)
|
|
19
|
+
|
|
20
|
+
`imageSettings` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- excavate (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- height (number; optional)
|
|
25
|
+
|
|
26
|
+
- src (string; optional)
|
|
27
|
+
|
|
28
|
+
- width (number; optional)
|
|
29
|
+
|
|
30
|
+
- includeMargin (boolean; default False)
|
|
31
|
+
|
|
32
|
+
- level (a value equal to: 'L', 'M', 'Q', 'H'; default 'L')
|
|
33
|
+
|
|
34
|
+
- loading_state (dict; optional)
|
|
35
|
+
|
|
36
|
+
`loading_state` is a dict with keys:
|
|
37
|
+
|
|
38
|
+
- component_name (string; optional):
|
|
39
|
+
Holds the name of the component that is loading.
|
|
40
|
+
|
|
41
|
+
- is_loading (boolean; optional):
|
|
42
|
+
Determines if the component is loading or not.
|
|
43
|
+
|
|
44
|
+
- prop_name (string; optional):
|
|
45
|
+
Holds which property is loading.
|
|
46
|
+
|
|
47
|
+
- renderer (a value equal to: 'svg', 'canvas'; default 'svg')
|
|
48
|
+
|
|
49
|
+
- size (number; default 128)
|
|
50
|
+
|
|
51
|
+
- value (string; required)"""
|
|
52
|
+
_children_props = []
|
|
53
|
+
_base_nodes = ['children']
|
|
54
|
+
_namespace = 'feffery_utils_components'
|
|
55
|
+
_type = 'FefferyQRCode'
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, id=Component.UNDEFINED, value=Component.REQUIRED, size=Component.UNDEFINED, bgColor=Component.UNDEFINED, fgColor=Component.UNDEFINED, level=Component.UNDEFINED, includeMargin=Component.UNDEFINED, imageSettings=Component.UNDEFINED, renderer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['id', 'bgColor', 'fgColor', 'imageSettings', 'includeMargin', 'level', 'loading_state', 'renderer', 'size', 'value']
|
|
59
|
+
self._valid_wildcard_attributes = []
|
|
60
|
+
self.available_properties = ['id', 'bgColor', 'fgColor', 'imageSettings', 'includeMargin', 'level', 'loading_state', 'renderer', 'size', 'value']
|
|
61
|
+
self.available_wildcard_properties = []
|
|
62
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
63
|
+
_locals = locals()
|
|
64
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
65
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
66
|
+
|
|
67
|
+
for k in ['value']:
|
|
68
|
+
if k not in args:
|
|
69
|
+
raise TypeError(
|
|
70
|
+
'Required argument `' + k + '` was not specified.')
|
|
71
|
+
|
|
72
|
+
super(FefferyQRCode, self).__init__(**args)
|
|
@@ -13,10 +13,12 @@ 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
|
|
19
20
|
from .FefferyLocation import FefferyLocation
|
|
21
|
+
from .FefferyQRCode import FefferyQRCode
|
|
20
22
|
from .FefferyScroll import FefferyScroll
|
|
21
23
|
from .FefferyScrollbars import FefferyScrollbars
|
|
22
24
|
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
@@ -53,10 +55,12 @@ __all__ = [
|
|
|
53
55
|
"FefferyCountDown",
|
|
54
56
|
"FefferyExecuteJs",
|
|
55
57
|
"FefferyExtraSpinner",
|
|
58
|
+
"FefferyFancyNotification",
|
|
56
59
|
"FefferyGuide",
|
|
57
60
|
"FefferyHighlightWords",
|
|
58
61
|
"FefferyLazyLoad",
|
|
59
62
|
"FefferyLocation",
|
|
63
|
+
"FefferyQRCode",
|
|
60
64
|
"FefferyScroll",
|
|
61
65
|
"FefferyScrollbars",
|
|
62
66
|
"FefferyShortcutPanel",
|