feffery_utils_components 0.0.30 → 0.0.32
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 +8 -4
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyBlockColorPicker.py +53 -0
- package/build/lib/feffery_utils_components/FefferyCaptcha.py +59 -0
- package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +55 -0
- package/build/lib/feffery_utils_components/FefferyCountDown.py +47 -0
- package/build/lib/feffery_utils_components/FefferyCssVar.py +43 -0
- package/build/lib/feffery_utils_components/FefferyDiv.py +99 -0
- package/build/lib/feffery_utils_components/FefferyDocumentVisibility.py +43 -0
- package/build/lib/feffery_utils_components/FefferyExecuteJs.py +43 -0
- package/build/lib/feffery_utils_components/FefferyExternalCss.py +45 -0
- package/build/lib/feffery_utils_components/FefferyExternalJs.py +45 -0
- package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +57 -0
- package/build/lib/feffery_utils_components/FefferyEyeDropper.py +45 -0
- package/build/lib/feffery_utils_components/FefferyFancyMessage.py +67 -0
- package/build/lib/feffery_utils_components/FefferyFancyNotification.py +85 -0
- package/build/lib/feffery_utils_components/FefferyGeolocation.py +43 -0
- package/build/lib/feffery_utils_components/FefferyGithubColorPicker.py +53 -0
- package/build/lib/feffery_utils_components/FefferyGuide.py +110 -0
- package/build/lib/feffery_utils_components/FefferyHexColorPicker.py +49 -0
- package/build/lib/feffery_utils_components/FefferyHighlightWords.py +61 -0
- package/build/lib/feffery_utils_components/FefferyIdle.py +45 -0
- package/build/lib/feffery_utils_components/FefferyInViewport.py +47 -0
- package/build/lib/feffery_utils_components/FefferyKeyPress.py +50 -0
- package/build/lib/feffery_utils_components/FefferyLazyLoad.py +57 -0
- package/build/lib/feffery_utils_components/FefferyLocation.py +54 -0
- package/build/lib/feffery_utils_components/FefferyQRCode.py +72 -0
- package/build/lib/feffery_utils_components/FefferyRawHTML.py +43 -0
- package/build/lib/feffery_utils_components/FefferyReload.py +45 -0
- package/build/lib/feffery_utils_components/FefferyResponsive.py +43 -0
- package/build/lib/feffery_utils_components/FefferyRgbColorPicker.py +49 -0
- package/build/lib/feffery_utils_components/FefferyScroll.py +61 -0
- package/build/lib/feffery_utils_components/FefferyScrollbars.py +69 -0
- package/build/lib/feffery_utils_components/FefferySetTitle.py +43 -0
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +75 -0
- package/build/lib/feffery_utils_components/FefferySortableContainer.py +51 -0
- package/build/lib/feffery_utils_components/FefferySortableItem.py +47 -0
- package/build/lib/feffery_utils_components/FefferySplit.py +63 -0
- package/build/lib/feffery_utils_components/FefferySplitPane.py +47 -0
- package/build/lib/feffery_utils_components/FefferyStyle.py +43 -0
- package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +58 -0
- package/build/lib/feffery_utils_components/FefferyTimeout.py +45 -0
- package/build/lib/feffery_utils_components/FefferyTopProgress.py +67 -0
- package/build/lib/feffery_utils_components/FefferyTwitterColorPicker.py +53 -0
- package/build/lib/feffery_utils_components/FefferyVirtualList.py +56 -0
- package/build/lib/feffery_utils_components/FefferyWheelColorPicker.py +47 -0
- package/build/lib/feffery_utils_components/FefferyWindowSize.py +45 -0
- package/build/lib/feffery_utils_components/__init__.py +89 -0
- package/build/lib/feffery_utils_components/_imports_.py +93 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +599 -0
- package/build/lib/feffery_utils_components/metadata.json +4991 -0
- package/build/lib/feffery_utils_components/package-info.json +102 -0
- package/feffery_utils_components/FefferyCssVar.py +43 -0
- package/feffery_utils_components/FefferyDiv.py +5 -3
- package/feffery_utils_components/FefferyEyeDropper.py +45 -0
- package/feffery_utils_components/FefferyLazyLoadImage.py +53 -0
- package/feffery_utils_components/FefferySticky.py +51 -0
- package/feffery_utils_components/_imports_.py +16 -8
- package/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/feffery_utils_components/metadata.json +650 -295
- package/feffery_utils_components/package-info.json +5 -2
- package/package.json +5 -2
- package/src/FefferyUtilsComponents.jl +11 -7
- package/src/jl/''_fefferycssvar.jl +24 -0
- package/src/jl/''_fefferydiv.jl +2 -1
- package/src/jl/''_fefferyeyedropper.jl +25 -0
- package/src/jl/''_fefferylazyloadimage.jl +29 -0
- package/src/jl/''_fefferysticky.jl +34 -0
- package/src/lib/components/FefferyCssVar.react.js +67 -0
- package/src/lib/components/FefferyDiv.react.js +16 -2
- package/src/lib/components/FefferyExecuteJs.react.js +7 -5
- package/src/lib/components/{dom/FefferyExternalCss.react.js → FefferyExternalCss.react.js} +0 -0
- package/src/lib/components/{dom/FefferyExternalJs.react.js → FefferyExternalJs.react.js} +0 -0
- package/src/lib/components/FefferyEyeDropper.react.js +93 -0
- package/src/lib/components/FefferyLazyLoadImage.react.js +92 -0
- package/src/lib/components/{dom/FefferyRawHTML.react.js → FefferyRawHTML.react.js} +0 -0
- package/src/lib/components/{dom/FefferySetTitle.react.js → FefferySetTitle.react.js} +0 -0
- package/src/lib/components/FefferySticky.react.js +93 -0
- package/src/lib/components/FefferyStyle.react.js +1 -0
- package/src/lib/components/styles.css +13 -0
- package/src/lib/index.js +13 -5
- package/tests/FefferyLazyLoadImageTest/app.py +33 -0
- package/tests/FefferyStickyTest/app.py +41 -0
- package/usage.py +0 -30
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyEyeDropper(Component):
|
|
7
|
+
"""A FefferyEyeDropper component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- color (string; optional)
|
|
15
|
+
|
|
16
|
+
- enable (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- loading_state (dict; optional)
|
|
19
|
+
|
|
20
|
+
`loading_state` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- component_name (string; optional):
|
|
23
|
+
Holds the name of the component that is loading.
|
|
24
|
+
|
|
25
|
+
- is_loading (boolean; optional):
|
|
26
|
+
Determines if the component is loading or not.
|
|
27
|
+
|
|
28
|
+
- prop_name (string; optional):
|
|
29
|
+
Holds which property is loading."""
|
|
30
|
+
_children_props = []
|
|
31
|
+
_base_nodes = ['children']
|
|
32
|
+
_namespace = 'feffery_utils_components'
|
|
33
|
+
_type = 'FefferyEyeDropper'
|
|
34
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, id=Component.UNDEFINED, enable=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['id', 'color', 'enable', 'loading_state']
|
|
37
|
+
self._valid_wildcard_attributes = []
|
|
38
|
+
self.available_properties = ['id', 'color', 'enable', 'loading_state']
|
|
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}
|
|
44
|
+
|
|
45
|
+
super(FefferyEyeDropper, self).__init__(**args)
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyFancyMessage(Component):
|
|
7
|
+
"""A FefferyFancyMessage 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
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- containerClassName (string; optional)
|
|
19
|
+
|
|
20
|
+
- containerStyle (dict; optional)
|
|
21
|
+
|
|
22
|
+
- duration (number; default 4000)
|
|
23
|
+
|
|
24
|
+
- gutter (number; default 8)
|
|
25
|
+
|
|
26
|
+
- icon (a list of or a singular dash component, string or number; optional)
|
|
27
|
+
|
|
28
|
+
- key (string; optional)
|
|
29
|
+
|
|
30
|
+
- loading_state (dict; optional)
|
|
31
|
+
|
|
32
|
+
`loading_state` is a dict with keys:
|
|
33
|
+
|
|
34
|
+
- component_name (string; optional):
|
|
35
|
+
Holds the name of the component that is loading.
|
|
36
|
+
|
|
37
|
+
- is_loading (boolean; optional):
|
|
38
|
+
Determines if the component is loading or not.
|
|
39
|
+
|
|
40
|
+
- prop_name (string; optional):
|
|
41
|
+
Holds which property is loading.
|
|
42
|
+
|
|
43
|
+
- position (a value equal to: 'top-left', 'top-center', 'top-right', 'bottom-left', 'bottom-center', 'bottom-right'; default 'top-center')
|
|
44
|
+
|
|
45
|
+
- reverseOrder (boolean; default True)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)
|
|
48
|
+
|
|
49
|
+
- type (a value equal to: 'blank', 'success', 'error'; default 'blank')
|
|
50
|
+
|
|
51
|
+
- visible (boolean; default True)"""
|
|
52
|
+
_children_props = ['icon']
|
|
53
|
+
_base_nodes = ['icon', 'children']
|
|
54
|
+
_namespace = 'feffery_utils_components'
|
|
55
|
+
_type = 'FefferyFancyMessage'
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, visible=Component.UNDEFINED, position=Component.UNDEFINED, reverseOrder=Component.UNDEFINED, containerClassName=Component.UNDEFINED, containerStyle=Component.UNDEFINED, gutter=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, icon=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['children', 'id', 'className', 'containerClassName', 'containerStyle', 'duration', 'gutter', 'icon', 'key', 'loading_state', 'position', 'reverseOrder', 'style', 'type', 'visible']
|
|
59
|
+
self._valid_wildcard_attributes = []
|
|
60
|
+
self.available_properties = ['children', 'id', 'className', 'containerClassName', 'containerStyle', 'duration', 'gutter', 'icon', 'key', 'loading_state', 'position', 'reverseOrder', 'style', 'type', 'visible']
|
|
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 if k != 'children'}
|
|
66
|
+
|
|
67
|
+
super(FefferyFancyMessage, self).__init__(children=children, **args)
|
|
@@ -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,43 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyGeolocation(Component):
|
|
7
|
+
"""A FefferyGeolocation component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- geoLocationInfo (dict; 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 = 'FefferyGeolocation'
|
|
32
|
+
@_explicitize_args
|
|
33
|
+
def __init__(self, id=Component.UNDEFINED, geoLocationInfo=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['id', 'geoLocationInfo', 'loading_state']
|
|
35
|
+
self._valid_wildcard_attributes = []
|
|
36
|
+
self.available_properties = ['id', 'geoLocationInfo', '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(FefferyGeolocation, self).__init__(**args)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyGithubColorPicker(Component):
|
|
7
|
+
"""A FefferyGithubColorPicker component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- color (string; optional)
|
|
17
|
+
|
|
18
|
+
- colors (list of strings; default ['#B80000', '#DB3E00', '#FCCB00', '#008B02', '#006B76', '#1273DE', '#004DCF', '#5300EB', '#EB9694', '#FAD0C3', '#FEF3BD', '#C1E1C5', '#BEDADC', '#C4DEF6', '#BED3F3', '#D4C4FB'])
|
|
19
|
+
|
|
20
|
+
- loading_state (dict; optional)
|
|
21
|
+
|
|
22
|
+
`loading_state` is a dict with keys:
|
|
23
|
+
|
|
24
|
+
- component_name (string; optional):
|
|
25
|
+
Holds the name of the component that is loading.
|
|
26
|
+
|
|
27
|
+
- is_loading (boolean; optional):
|
|
28
|
+
Determines if the component is loading or not.
|
|
29
|
+
|
|
30
|
+
- prop_name (string; optional):
|
|
31
|
+
Holds which property is loading.
|
|
32
|
+
|
|
33
|
+
- style (dict; optional)
|
|
34
|
+
|
|
35
|
+
- triangle (a value equal to: 'hide', 'top-left', 'top-right'; default 'top-left')
|
|
36
|
+
|
|
37
|
+
- width (string; default '200px')"""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_utils_components'
|
|
41
|
+
_type = 'FefferyGithubColorPicker'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, triangle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
|
|
47
|
+
self.available_wildcard_properties = []
|
|
48
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
49
|
+
_locals = locals()
|
|
50
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
51
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
52
|
+
|
|
53
|
+
super(FefferyGithubColorPicker, self).__init__(**args)
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyGuide(Component):
|
|
7
|
+
"""A FefferyGuide component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- arrow (boolean; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- closable (boolean; optional)
|
|
19
|
+
|
|
20
|
+
- hotspot (boolean; optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (dict; optional)
|
|
23
|
+
|
|
24
|
+
`loading_state` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- component_name (string; optional):
|
|
27
|
+
Holds the name of the component that is loading.
|
|
28
|
+
|
|
29
|
+
- is_loading (boolean; optional):
|
|
30
|
+
Determines if the component is loading or not.
|
|
31
|
+
|
|
32
|
+
- prop_name (string; optional):
|
|
33
|
+
Holds which property is loading.
|
|
34
|
+
|
|
35
|
+
- localKey (string; required)
|
|
36
|
+
|
|
37
|
+
- locale (a value equal to: 'zh', 'en'; default 'zh')
|
|
38
|
+
|
|
39
|
+
- mask (boolean; optional)
|
|
40
|
+
|
|
41
|
+
- maskClassName (string; optional)
|
|
42
|
+
|
|
43
|
+
- modalClassName (string; optional)
|
|
44
|
+
|
|
45
|
+
- nextText (string; optional)
|
|
46
|
+
|
|
47
|
+
- okText (string; optional)
|
|
48
|
+
|
|
49
|
+
- prevText (string; optional)
|
|
50
|
+
|
|
51
|
+
- showPreviousBtn (boolean; default True)
|
|
52
|
+
|
|
53
|
+
- step (number; optional)
|
|
54
|
+
|
|
55
|
+
- stepText (string; optional)
|
|
56
|
+
|
|
57
|
+
- steps (list of dicts; required)
|
|
58
|
+
|
|
59
|
+
`steps` is a list of dicts with keys:
|
|
60
|
+
|
|
61
|
+
- content (string; optional)
|
|
62
|
+
|
|
63
|
+
- offset (dict; optional)
|
|
64
|
+
|
|
65
|
+
`offset` is a dict with keys:
|
|
66
|
+
|
|
67
|
+
- x (number; optional)
|
|
68
|
+
|
|
69
|
+
- y (number; optional)
|
|
70
|
+
|
|
71
|
+
- placement (a value equal to: 'top', 'bottom', 'left', 'right', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom', 'right-top', 'right-bottom'; optional)
|
|
72
|
+
|
|
73
|
+
- selector (string; optional)
|
|
74
|
+
|
|
75
|
+
- targetPos (dict; optional)
|
|
76
|
+
|
|
77
|
+
`targetPos` is a dict with keys:
|
|
78
|
+
|
|
79
|
+
- height (number; optional)
|
|
80
|
+
|
|
81
|
+
- left (number; optional)
|
|
82
|
+
|
|
83
|
+
- top (number; optional)
|
|
84
|
+
|
|
85
|
+
- width (number; optional)
|
|
86
|
+
|
|
87
|
+
- title (string; optional)
|
|
88
|
+
|
|
89
|
+
- style (dict; optional)"""
|
|
90
|
+
_children_props = []
|
|
91
|
+
_base_nodes = ['children']
|
|
92
|
+
_namespace = 'feffery_utils_components'
|
|
93
|
+
_type = 'FefferyGuide'
|
|
94
|
+
@_explicitize_args
|
|
95
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, steps=Component.REQUIRED, localKey=Component.REQUIRED, closable=Component.UNDEFINED, modalClassName=Component.UNDEFINED, maskClassName=Component.UNDEFINED, mask=Component.UNDEFINED, arrow=Component.UNDEFINED, hotspot=Component.UNDEFINED, stepText=Component.UNDEFINED, nextText=Component.UNDEFINED, prevText=Component.UNDEFINED, showPreviousBtn=Component.UNDEFINED, okText=Component.UNDEFINED, step=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
96
|
+
self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
97
|
+
self._valid_wildcard_attributes = []
|
|
98
|
+
self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
99
|
+
self.available_wildcard_properties = []
|
|
100
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
101
|
+
_locals = locals()
|
|
102
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
103
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
104
|
+
|
|
105
|
+
for k in ['localKey', 'steps']:
|
|
106
|
+
if k not in args:
|
|
107
|
+
raise TypeError(
|
|
108
|
+
'Required argument `' + k + '` was not specified.')
|
|
109
|
+
|
|
110
|
+
super(FefferyGuide, self).__init__(**args)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyHexColorPicker(Component):
|
|
7
|
+
"""A FefferyHexColorPicker component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- color (string; default '#44cef6')
|
|
17
|
+
|
|
18
|
+
- loading_state (dict; optional)
|
|
19
|
+
|
|
20
|
+
`loading_state` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- component_name (string; optional):
|
|
23
|
+
Holds the name of the component that is loading.
|
|
24
|
+
|
|
25
|
+
- is_loading (boolean; optional):
|
|
26
|
+
Determines if the component is loading or not.
|
|
27
|
+
|
|
28
|
+
- prop_name (string; optional):
|
|
29
|
+
Holds which property is loading.
|
|
30
|
+
|
|
31
|
+
- showAlpha (boolean; default False)
|
|
32
|
+
|
|
33
|
+
- style (dict; optional)"""
|
|
34
|
+
_children_props = []
|
|
35
|
+
_base_nodes = ['children']
|
|
36
|
+
_namespace = 'feffery_utils_components'
|
|
37
|
+
_type = 'FefferyHexColorPicker'
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, showAlpha=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['id', 'className', 'color', 'loading_state', 'showAlpha', 'style']
|
|
41
|
+
self._valid_wildcard_attributes = []
|
|
42
|
+
self.available_properties = ['id', 'className', 'color', 'loading_state', 'showAlpha', 'style']
|
|
43
|
+
self.available_wildcard_properties = []
|
|
44
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
45
|
+
_locals = locals()
|
|
46
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
47
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
48
|
+
|
|
49
|
+
super(FefferyHexColorPicker, self).__init__(**args)
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyHighlightWords(Component):
|
|
7
|
+
"""A FefferyHighlightWords component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- caseSensitive (boolean; default False)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- highlightClassName (string; default 'feffery-highlight-words-highlight')
|
|
19
|
+
|
|
20
|
+
- highlightStyle (dict; optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (dict; optional)
|
|
23
|
+
|
|
24
|
+
`loading_state` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- component_name (string; optional):
|
|
27
|
+
Holds the name of the component that is loading.
|
|
28
|
+
|
|
29
|
+
- is_loading (boolean; optional):
|
|
30
|
+
Determines if the component is loading or not.
|
|
31
|
+
|
|
32
|
+
- prop_name (string; optional):
|
|
33
|
+
Holds which property is loading.
|
|
34
|
+
|
|
35
|
+
- searchWords (list of strings; optional)
|
|
36
|
+
|
|
37
|
+
- style (dict; optional)
|
|
38
|
+
|
|
39
|
+
- textToHighlight (string; optional)
|
|
40
|
+
|
|
41
|
+
- unhighlightClassName (string; optional)
|
|
42
|
+
|
|
43
|
+
- unhighlightStyle (dict; optional)
|
|
44
|
+
|
|
45
|
+
- useRegex (boolean; default False)"""
|
|
46
|
+
_children_props = []
|
|
47
|
+
_base_nodes = ['children']
|
|
48
|
+
_namespace = 'feffery_utils_components'
|
|
49
|
+
_type = 'FefferyHighlightWords'
|
|
50
|
+
@_explicitize_args
|
|
51
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, caseSensitive=Component.UNDEFINED, highlightClassName=Component.UNDEFINED, highlightStyle=Component.UNDEFINED, useRegex=Component.UNDEFINED, searchWords=Component.UNDEFINED, textToHighlight=Component.UNDEFINED, unhighlightClassName=Component.UNDEFINED, unhighlightStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
52
|
+
self._prop_names = ['id', 'caseSensitive', 'className', 'highlightClassName', 'highlightStyle', 'loading_state', 'searchWords', 'style', 'textToHighlight', 'unhighlightClassName', 'unhighlightStyle', 'useRegex']
|
|
53
|
+
self._valid_wildcard_attributes = []
|
|
54
|
+
self.available_properties = ['id', 'caseSensitive', 'className', 'highlightClassName', 'highlightStyle', 'loading_state', 'searchWords', 'style', 'textToHighlight', 'unhighlightClassName', 'unhighlightStyle', 'useRegex']
|
|
55
|
+
self.available_wildcard_properties = []
|
|
56
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
|
+
_locals = locals()
|
|
58
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
59
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
60
|
+
|
|
61
|
+
super(FefferyHighlightWords, self).__init__(**args)
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyIdle(Component):
|
|
7
|
+
"""A FefferyIdle component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- isIdle (boolean; 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
|
+
|
|
29
|
+
- waitDuration (number; default 3000)"""
|
|
30
|
+
_children_props = []
|
|
31
|
+
_base_nodes = ['children']
|
|
32
|
+
_namespace = 'feffery_utils_components'
|
|
33
|
+
_type = 'FefferyIdle'
|
|
34
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, id=Component.UNDEFINED, isIdle=Component.UNDEFINED, waitDuration=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['id', 'isIdle', 'loading_state', 'waitDuration']
|
|
37
|
+
self._valid_wildcard_attributes = []
|
|
38
|
+
self.available_properties = ['id', 'isIdle', 'loading_state', 'waitDuration']
|
|
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}
|
|
44
|
+
|
|
45
|
+
super(FefferyIdle, self).__init__(**args)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyInViewport(Component):
|
|
7
|
+
"""A FefferyInViewport 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
|
+
- inViewport (boolean; optional)
|
|
17
|
+
|
|
18
|
+
- loading_state (dict; optional)
|
|
19
|
+
|
|
20
|
+
`loading_state` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- component_name (string; optional):
|
|
23
|
+
Holds the name of the component that is loading.
|
|
24
|
+
|
|
25
|
+
- is_loading (boolean; optional):
|
|
26
|
+
Determines if the component is loading or not.
|
|
27
|
+
|
|
28
|
+
- prop_name (string; optional):
|
|
29
|
+
Holds which property is loading.
|
|
30
|
+
|
|
31
|
+
- threshold (number; optional)"""
|
|
32
|
+
_children_props = []
|
|
33
|
+
_base_nodes = ['children']
|
|
34
|
+
_namespace = 'feffery_utils_components'
|
|
35
|
+
_type = 'FefferyInViewport'
|
|
36
|
+
@_explicitize_args
|
|
37
|
+
def __init__(self, children=None, id=Component.UNDEFINED, inViewport=Component.UNDEFINED, threshold=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
38
|
+
self._prop_names = ['children', 'id', 'inViewport', 'loading_state', 'threshold']
|
|
39
|
+
self._valid_wildcard_attributes = []
|
|
40
|
+
self.available_properties = ['children', 'id', 'inViewport', 'loading_state', 'threshold']
|
|
41
|
+
self.available_wildcard_properties = []
|
|
42
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
43
|
+
_locals = locals()
|
|
44
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
45
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
46
|
+
|
|
47
|
+
super(FefferyInViewport, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,50 @@
|
|
|
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}
|
|
44
|
+
|
|
45
|
+
for k in ['keys']:
|
|
46
|
+
if k not in args:
|
|
47
|
+
raise TypeError(
|
|
48
|
+
'Required argument `' + k + '` was not specified.')
|
|
49
|
+
|
|
50
|
+
super(FefferyKeyPress, self).__init__(**args)
|