feffery_utils_components 0.0.13 → 0.0.16
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 +5 -1
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyCaptcha.py +53 -0
- package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +47 -0
- package/build/lib/feffery_utils_components/FefferyColorPicker.py +37 -0
- package/build/lib/feffery_utils_components/FefferyDashboard.py +39 -0
- package/build/lib/feffery_utils_components/FefferyDiv.py +59 -0
- package/build/lib/feffery_utils_components/FefferyExecuteJs.py +35 -0
- package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +49 -0
- package/build/lib/feffery_utils_components/FefferyGuide.py +71 -0
- package/build/lib/feffery_utils_components/FefferyInViewport.py +43 -0
- package/build/lib/feffery_utils_components/FefferyLazyLoad.py +53 -0
- package/build/lib/feffery_utils_components/FefferyLocation.py +52 -0
- package/build/lib/feffery_utils_components/FefferyPasteImage.py +56 -0
- package/build/lib/feffery_utils_components/FefferyResizable.py +39 -0
- package/build/lib/feffery_utils_components/FefferyScroll.py +57 -0
- package/build/lib/feffery_utils_components/FefferyScrollbars.py +51 -0
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +53 -0
- package/build/lib/feffery_utils_components/FefferySplit.py +59 -0
- package/build/lib/feffery_utils_components/FefferySplitPane.py +50 -0
- package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +54 -0
- package/build/lib/feffery_utils_components/FefferyTopProgress.py +70 -0
- package/build/lib/feffery_utils_components/FefferyUtilsComponents.py +40 -0
- package/build/lib/feffery_utils_components/FefferyVirtualList.py +47 -0
- package/build/lib/feffery_utils_components/FefferyWaterMark.py +64 -0
- package/build/lib/feffery_utils_components/__init__.py +89 -0
- package/build/lib/feffery_utils_components/_imports_.py +37 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +429 -0
- package/build/lib/feffery_utils_components/metadata.json +1722 -0
- package/build/lib/feffery_utils_components/package-info.json +88 -0
- package/demo.py +117 -0
- package/feffery_utils_components/FefferyDiv.py +15 -3
- package/feffery_utils_components/FefferyExecuteJs.py +7 -3
- package/feffery_utils_components/FefferyInViewport.py +43 -0
- package/feffery_utils_components/FefferyLazyLoad.py +53 -0
- package/feffery_utils_components/FefferyLocation.py +52 -0
- package/feffery_utils_components/FefferySyntaxHighlighter.py +9 -7
- package/feffery_utils_components/FefferyVirtualList.py +47 -0
- package/feffery_utils_components/_imports_.py +10 -2
- package/feffery_utils_components/feffery_utils_components.min.js +8 -8
- package/feffery_utils_components/metadata.json +609 -101
- package/feffery_utils_components/package-info.json +7 -3
- package/package.json +7 -3
- package/src/FefferyUtilsComponents.jl +8 -4
- package/src/jl/''_fefferydiv.jl +7 -1
- package/src/jl/''_fefferyexecutejs.jl +2 -0
- package/src/jl/''_fefferyinviewport.jl +30 -0
- package/src/jl/''_fefferylazyload.jl +35 -0
- package/src/jl/''_fefferylocation.jl +26 -0
- package/src/jl/''_fefferysyntaxhighlighter.jl +4 -3
- package/src/jl/''_fefferyvirtuallist.jl +32 -0
- package/src/lib/components/FefferyExecuteJs.react.js +14 -3
- package/src/lib/components/FefferyLazyLoad.react.js +100 -0
- package/src/lib/components/FefferyLocation.react.js +161 -0
- package/src/lib/components/FefferySyntaxHighlighter.react.js +113 -45
- package/src/lib/components/{FefferyDiv.react.js → FefferyVirtualList.react.js} +29 -30
- package/src/lib/components/listeners/FefferyDiv.react.js +135 -0
- package/src/lib/components/listeners/FefferyInViewport.react.js +98 -0
- package/src/lib/components/styles.css +54 -70
- package/src/lib/index.js +10 -2
- package/tests/FefferyInViewportTest/app.py +50 -0
- package/usage.py +24 -309
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -2,14 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
export(''FefferyCircleColorPicker)
|
|
4
4
|
export(''FefferyCaptcha)
|
|
5
|
-
export(''FefferyDiv)
|
|
6
5
|
export(''FefferyExecuteJs)
|
|
7
6
|
export(''FefferyExtraSpinner)
|
|
8
7
|
export(''FefferyGuide)
|
|
8
|
+
export(''FefferyLazyLoad)
|
|
9
|
+
export(''FefferyLocation)
|
|
9
10
|
export(''FefferyScroll)
|
|
10
11
|
export(''FefferyScrollbars)
|
|
11
12
|
export(''FefferyShortcutPanel)
|
|
12
13
|
export(''FefferySyntaxHighlighter)
|
|
13
14
|
export(''FefferyTopProgress)
|
|
15
|
+
export(''FefferyVirtualList)
|
|
16
|
+
export(''FefferyDiv)
|
|
17
|
+
export(''FefferyInViewport)
|
|
14
18
|
export(''FefferySplit)
|
|
15
19
|
export(''FefferySplitPane)
|
package/Project.toml
CHANGED
|
@@ -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 FefferyCaptcha(Component):
|
|
7
|
+
"""A FefferyCaptcha component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- bgColor (optional)
|
|
15
|
+
|
|
16
|
+
- captcha (optional)
|
|
17
|
+
|
|
18
|
+
- charNum (default 4)
|
|
19
|
+
|
|
20
|
+
- className (optional)
|
|
21
|
+
|
|
22
|
+
- fontSize (optional)
|
|
23
|
+
|
|
24
|
+
- height (optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (optional)
|
|
27
|
+
|
|
28
|
+
- setProps (optional):
|
|
29
|
+
Dash-assigned callback that should be called to report property
|
|
30
|
+
changes to Dash, to make them available for callbacks.
|
|
31
|
+
|
|
32
|
+
- style (optional)
|
|
33
|
+
|
|
34
|
+
- width (optional)"""
|
|
35
|
+
_children_props = []
|
|
36
|
+
_base_nodes = ['children']
|
|
37
|
+
_namespace = 'feffery_utils_components'
|
|
38
|
+
_type = 'FefferyCaptcha'
|
|
39
|
+
@_explicitize_args
|
|
40
|
+
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):
|
|
41
|
+
self._prop_names = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'setProps', 'style', 'width']
|
|
42
|
+
self._valid_wildcard_attributes = []
|
|
43
|
+
self.available_properties = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'setProps', 'style', 'width']
|
|
44
|
+
self.available_wildcard_properties = []
|
|
45
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
46
|
+
_locals = locals()
|
|
47
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
48
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
49
|
+
for k in []:
|
|
50
|
+
if k not in args:
|
|
51
|
+
raise TypeError(
|
|
52
|
+
'Required argument `' + k + '` was not specified.')
|
|
53
|
+
super(FefferyCaptcha, 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 FefferyCircleColorPicker(Component):
|
|
7
|
+
"""A FefferyCircleColorPicker component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- circleSize (optional)
|
|
15
|
+
|
|
16
|
+
- circleSpacing (optional)
|
|
17
|
+
|
|
18
|
+
- className (optional)
|
|
19
|
+
|
|
20
|
+
- color (optional)
|
|
21
|
+
|
|
22
|
+
- colors (optional)
|
|
23
|
+
|
|
24
|
+
- loading_state (optional)
|
|
25
|
+
|
|
26
|
+
- style (optional)
|
|
27
|
+
|
|
28
|
+
- width (optional)"""
|
|
29
|
+
_children_props = []
|
|
30
|
+
_base_nodes = ['children']
|
|
31
|
+
_namespace = 'feffery_utils_components'
|
|
32
|
+
_type = 'FefferyCircleColorPicker'
|
|
33
|
+
@_explicitize_args
|
|
34
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, colors=Component.UNDEFINED, circleSize=Component.UNDEFINED, circleSpacing=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
35
|
+
self._prop_names = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
|
|
36
|
+
self._valid_wildcard_attributes = []
|
|
37
|
+
self.available_properties = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
|
|
38
|
+
self.available_wildcard_properties = []
|
|
39
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
40
|
+
_locals = locals()
|
|
41
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
42
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
43
|
+
for k in []:
|
|
44
|
+
if k not in args:
|
|
45
|
+
raise TypeError(
|
|
46
|
+
'Required argument `' + k + '` was not specified.')
|
|
47
|
+
super(FefferyCircleColorPicker, self).__init__(**args)
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyColorPicker(Component):
|
|
7
|
+
"""A FefferyColorPicker component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- className (optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (optional)
|
|
17
|
+
|
|
18
|
+
- style (optional)
|
|
19
|
+
|
|
20
|
+
- type (default 'sketch')"""
|
|
21
|
+
@_explicitize_args
|
|
22
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
23
|
+
self._prop_names = ['id', 'className', 'loading_state', 'style', 'type']
|
|
24
|
+
self._type = 'FefferyColorPicker'
|
|
25
|
+
self._namespace = 'feffery_utils_components'
|
|
26
|
+
self._valid_wildcard_attributes = []
|
|
27
|
+
self.available_properties = ['id', 'className', 'loading_state', 'style', 'type']
|
|
28
|
+
self.available_wildcard_properties = []
|
|
29
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
30
|
+
_locals = locals()
|
|
31
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
32
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
33
|
+
for k in []:
|
|
34
|
+
if k not in args:
|
|
35
|
+
raise TypeError(
|
|
36
|
+
'Required argument `' + k + '` was not specified.')
|
|
37
|
+
super(FefferyColorPicker, self).__init__(**args)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyDashboard(Component):
|
|
7
|
+
"""A FefferyDashboard component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- className (optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (optional)
|
|
17
|
+
|
|
18
|
+
- setProps (optional):
|
|
19
|
+
Dash-assigned callback that should be called to report property
|
|
20
|
+
changes to Dash, to make them available for callbacks.
|
|
21
|
+
|
|
22
|
+
- style (optional)"""
|
|
23
|
+
@_explicitize_args
|
|
24
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
25
|
+
self._prop_names = ['id', 'className', 'loading_state', 'setProps', 'style']
|
|
26
|
+
self._type = 'FefferyDashboard'
|
|
27
|
+
self._namespace = 'feffery_utils_components'
|
|
28
|
+
self._valid_wildcard_attributes = []
|
|
29
|
+
self.available_properties = ['id', 'className', 'loading_state', 'setProps', 'style']
|
|
30
|
+
self.available_wildcard_properties = []
|
|
31
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
32
|
+
_locals = locals()
|
|
33
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
34
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
35
|
+
for k in []:
|
|
36
|
+
if k not in args:
|
|
37
|
+
raise TypeError(
|
|
38
|
+
'Required argument `' + k + '` was not specified.')
|
|
39
|
+
super(FefferyDashboard, self).__init__(**args)
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyDiv(Component):
|
|
7
|
+
"""A FefferyDiv component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (optional)
|
|
13
|
+
|
|
14
|
+
- id (optional)
|
|
15
|
+
|
|
16
|
+
- _height (optional)
|
|
17
|
+
|
|
18
|
+
- _width (optional)
|
|
19
|
+
|
|
20
|
+
- className (optional)
|
|
21
|
+
|
|
22
|
+
- contextMenuEvent (optional)
|
|
23
|
+
|
|
24
|
+
- enableListenContextMenu (default False)
|
|
25
|
+
|
|
26
|
+
- loading_state (optional)
|
|
27
|
+
|
|
28
|
+
- mouseEnterCounts (default 0)
|
|
29
|
+
|
|
30
|
+
- mouseLeaveCounts (default 0)
|
|
31
|
+
|
|
32
|
+
- nClicks (default 0)
|
|
33
|
+
|
|
34
|
+
- nDoubleClicks (default 0)
|
|
35
|
+
|
|
36
|
+
- setProps (optional):
|
|
37
|
+
Dash-assigned callback that should be called to report property
|
|
38
|
+
changes to Dash, to make them available for callbacks.
|
|
39
|
+
|
|
40
|
+
- style (optional)"""
|
|
41
|
+
_children_props = []
|
|
42
|
+
_base_nodes = ['children']
|
|
43
|
+
_namespace = 'feffery_utils_components'
|
|
44
|
+
_type = 'FefferyDiv'
|
|
45
|
+
@_explicitize_args
|
|
46
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, mouseEnterCounts=Component.UNDEFINED, mouseLeaveCounts=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
47
|
+
self._prop_names = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'enableListenContextMenu', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'setProps', 'style']
|
|
48
|
+
self._valid_wildcard_attributes = []
|
|
49
|
+
self.available_properties = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'enableListenContextMenu', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'setProps', 'style']
|
|
50
|
+
self.available_wildcard_properties = []
|
|
51
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
52
|
+
_locals = locals()
|
|
53
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
54
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
55
|
+
for k in []:
|
|
56
|
+
if k not in args:
|
|
57
|
+
raise TypeError(
|
|
58
|
+
'Required argument `' + k + '` was not specified.')
|
|
59
|
+
super(FefferyDiv, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyExecuteJs(Component):
|
|
7
|
+
"""A FefferyExecuteJs component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- jsString (optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (optional)"""
|
|
17
|
+
_children_props = []
|
|
18
|
+
_base_nodes = ['children']
|
|
19
|
+
_namespace = 'feffery_utils_components'
|
|
20
|
+
_type = 'FefferyExecuteJs'
|
|
21
|
+
@_explicitize_args
|
|
22
|
+
def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
23
|
+
self._prop_names = ['id', 'jsString', 'loading_state']
|
|
24
|
+
self._valid_wildcard_attributes = []
|
|
25
|
+
self.available_properties = ['id', 'jsString', 'loading_state']
|
|
26
|
+
self.available_wildcard_properties = []
|
|
27
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
28
|
+
_locals = locals()
|
|
29
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
30
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
31
|
+
for k in []:
|
|
32
|
+
if k not in args:
|
|
33
|
+
raise TypeError(
|
|
34
|
+
'Required argument `' + k + '` was not specified.')
|
|
35
|
+
super(FefferyExecuteJs, 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 FefferyExtraSpinner(Component):
|
|
7
|
+
"""A FefferyExtraSpinner component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- backColor (default '#1890ff')
|
|
15
|
+
|
|
16
|
+
- className (optional)
|
|
17
|
+
|
|
18
|
+
- color (default '#1890ff')
|
|
19
|
+
|
|
20
|
+
- frontColor (default '#def6ff')
|
|
21
|
+
|
|
22
|
+
- loading_state (optional)
|
|
23
|
+
|
|
24
|
+
- size (optional)
|
|
25
|
+
|
|
26
|
+
- sizeUnit (default 'px')
|
|
27
|
+
|
|
28
|
+
- style (optional)
|
|
29
|
+
|
|
30
|
+
- type (default 'ball')"""
|
|
31
|
+
_children_props = []
|
|
32
|
+
_base_nodes = ['children']
|
|
33
|
+
_namespace = 'feffery_utils_components'
|
|
34
|
+
_type = 'FefferyExtraSpinner'
|
|
35
|
+
@_explicitize_args
|
|
36
|
+
def __init__(self, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, type=Component.UNDEFINED, size=Component.UNDEFINED, sizeUnit=Component.UNDEFINED, color=Component.UNDEFINED, frontColor=Component.UNDEFINED, backColor=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
37
|
+
self._prop_names = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
|
|
38
|
+
self._valid_wildcard_attributes = []
|
|
39
|
+
self.available_properties = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
|
|
40
|
+
self.available_wildcard_properties = []
|
|
41
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
42
|
+
_locals = locals()
|
|
43
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
44
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
45
|
+
for k in []:
|
|
46
|
+
if k not in args:
|
|
47
|
+
raise TypeError(
|
|
48
|
+
'Required argument `' + k + '` was not specified.')
|
|
49
|
+
super(FefferyExtraSpinner, self).__init__(**args)
|
|
@@ -0,0 +1,71 @@
|
|
|
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 (optional)
|
|
13
|
+
|
|
14
|
+
- arrow (optional)
|
|
15
|
+
|
|
16
|
+
- className (optional)
|
|
17
|
+
|
|
18
|
+
- closable (optional)
|
|
19
|
+
|
|
20
|
+
- hotspot (optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (optional)
|
|
23
|
+
|
|
24
|
+
- localKey (optional)
|
|
25
|
+
|
|
26
|
+
- locale (default 'zh')
|
|
27
|
+
|
|
28
|
+
- mask (optional)
|
|
29
|
+
|
|
30
|
+
- maskClassName (optional)
|
|
31
|
+
|
|
32
|
+
- modalClassName (optional)
|
|
33
|
+
|
|
34
|
+
- nextText (optional)
|
|
35
|
+
|
|
36
|
+
- okText (optional)
|
|
37
|
+
|
|
38
|
+
- prevText (optional)
|
|
39
|
+
|
|
40
|
+
- setProps (optional):
|
|
41
|
+
Dash-assigned callback that should be called to report property
|
|
42
|
+
changes to Dash, to make them available for callbacks.
|
|
43
|
+
|
|
44
|
+
- showPreviousBtn (default True)
|
|
45
|
+
|
|
46
|
+
- step (optional)
|
|
47
|
+
|
|
48
|
+
- stepText (optional)
|
|
49
|
+
|
|
50
|
+
- steps (optional)
|
|
51
|
+
|
|
52
|
+
- style (optional)"""
|
|
53
|
+
_children_props = []
|
|
54
|
+
_base_nodes = ['children']
|
|
55
|
+
_namespace = 'feffery_utils_components'
|
|
56
|
+
_type = 'FefferyGuide'
|
|
57
|
+
@_explicitize_args
|
|
58
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, steps=Component.UNDEFINED, localKey=Component.UNDEFINED, 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):
|
|
59
|
+
self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
60
|
+
self._valid_wildcard_attributes = []
|
|
61
|
+
self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
62
|
+
self.available_wildcard_properties = []
|
|
63
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
64
|
+
_locals = locals()
|
|
65
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
66
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
67
|
+
for k in []:
|
|
68
|
+
if k not in args:
|
|
69
|
+
raise TypeError(
|
|
70
|
+
'Required argument `' + k + '` was not specified.')
|
|
71
|
+
super(FefferyGuide, self).__init__(**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 FefferyInViewport(Component):
|
|
7
|
+
"""A FefferyInViewport component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (optional)
|
|
13
|
+
|
|
14
|
+
- id (optional)
|
|
15
|
+
|
|
16
|
+
- inViewport (optional)
|
|
17
|
+
|
|
18
|
+
- loading_state (optional)
|
|
19
|
+
|
|
20
|
+
- setProps (optional):
|
|
21
|
+
Dash-assigned callback that should be called to report property
|
|
22
|
+
changes to Dash, to make them available for callbacks.
|
|
23
|
+
|
|
24
|
+
- threshold (optional)"""
|
|
25
|
+
_children_props = []
|
|
26
|
+
_base_nodes = ['children']
|
|
27
|
+
_namespace = 'feffery_utils_components'
|
|
28
|
+
_type = 'FefferyInViewport'
|
|
29
|
+
@_explicitize_args
|
|
30
|
+
def __init__(self, children=None, id=Component.UNDEFINED, inViewport=Component.UNDEFINED, threshold=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
31
|
+
self._prop_names = ['children', 'id', 'inViewport', 'loading_state', 'setProps', 'threshold']
|
|
32
|
+
self._valid_wildcard_attributes = []
|
|
33
|
+
self.available_properties = ['children', 'id', 'inViewport', 'loading_state', 'setProps', 'threshold']
|
|
34
|
+
self.available_wildcard_properties = []
|
|
35
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
36
|
+
_locals = locals()
|
|
37
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
38
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
39
|
+
for k in []:
|
|
40
|
+
if k not in args:
|
|
41
|
+
raise TypeError(
|
|
42
|
+
'Required argument `' + k + '` was not specified.')
|
|
43
|
+
super(FefferyInViewport, self).__init__(children=children, **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 FefferyLazyLoad(Component):
|
|
7
|
+
"""A FefferyLazyLoad component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (optional)
|
|
13
|
+
|
|
14
|
+
- id (optional)
|
|
15
|
+
|
|
16
|
+
- className (optional)
|
|
17
|
+
|
|
18
|
+
- height (optional)
|
|
19
|
+
|
|
20
|
+
- loading_state (optional)
|
|
21
|
+
|
|
22
|
+
- offset (optional)
|
|
23
|
+
|
|
24
|
+
- setProps (optional):
|
|
25
|
+
Dash-assigned callback that should be called to report property
|
|
26
|
+
changes to Dash, to make them available for callbacks.
|
|
27
|
+
|
|
28
|
+
- style (optional)
|
|
29
|
+
|
|
30
|
+
- throttle (optional)
|
|
31
|
+
|
|
32
|
+
- visible (default False)
|
|
33
|
+
|
|
34
|
+
- width (optional)"""
|
|
35
|
+
_children_props = []
|
|
36
|
+
_base_nodes = ['children']
|
|
37
|
+
_namespace = 'feffery_utils_components'
|
|
38
|
+
_type = 'FefferyLazyLoad'
|
|
39
|
+
@_explicitize_args
|
|
40
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, offset=Component.UNDEFINED, visible=Component.UNDEFINED, throttle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
41
|
+
self._prop_names = ['children', 'id', 'className', 'height', 'loading_state', 'offset', 'setProps', 'style', 'throttle', 'visible', 'width']
|
|
42
|
+
self._valid_wildcard_attributes = []
|
|
43
|
+
self.available_properties = ['children', 'id', 'className', 'height', 'loading_state', 'offset', 'setProps', 'style', 'throttle', 'visible', 'width']
|
|
44
|
+
self.available_wildcard_properties = []
|
|
45
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
46
|
+
_locals = locals()
|
|
47
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
48
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
49
|
+
for k in []:
|
|
50
|
+
if k not in args:
|
|
51
|
+
raise TypeError(
|
|
52
|
+
'Required argument `' + k + '` was not specified.')
|
|
53
|
+
super(FefferyLazyLoad, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyLocation(Component):
|
|
7
|
+
"""A FefferyLocation component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; required):
|
|
13
|
+
The ID of this component, used to identify dash components in
|
|
14
|
+
callbacks. The ID needs to be unique across all of the components
|
|
15
|
+
in an app.
|
|
16
|
+
|
|
17
|
+
- hash (string; optional):
|
|
18
|
+
hash in window.location - e.g., \"#myhash\".
|
|
19
|
+
|
|
20
|
+
- href (string; optional):
|
|
21
|
+
href in window.location - e.g.,
|
|
22
|
+
\"/my/full/pathname?myargument=1#myhash\".
|
|
23
|
+
|
|
24
|
+
- includePathnames (list of strings; optional)
|
|
25
|
+
|
|
26
|
+
- pathname (string; optional):
|
|
27
|
+
pathname in window.location - e.g., \"/my/full/pathname\".
|
|
28
|
+
|
|
29
|
+
- refresh (boolean; default True):
|
|
30
|
+
Refresh the page when the location is updated?.
|
|
31
|
+
|
|
32
|
+
- search (string; optional):
|
|
33
|
+
search in window.location - e.g., \"?myargument=1\"."""
|
|
34
|
+
_children_props = []
|
|
35
|
+
_base_nodes = ['children']
|
|
36
|
+
_namespace = 'feffery_utils_components'
|
|
37
|
+
_type = 'FefferyLocation'
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, id=Component.REQUIRED, pathname=Component.UNDEFINED, search=Component.UNDEFINED, hash=Component.UNDEFINED, href=Component.UNDEFINED, refresh=Component.UNDEFINED, includePathnames=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['id', 'hash', 'href', 'includePathnames', 'pathname', 'refresh', 'search']
|
|
41
|
+
self._valid_wildcard_attributes = []
|
|
42
|
+
self.available_properties = ['id', 'hash', 'href', 'includePathnames', 'pathname', 'refresh', 'search']
|
|
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 if k != 'children'}
|
|
48
|
+
for k in ['id']:
|
|
49
|
+
if k not in args:
|
|
50
|
+
raise TypeError(
|
|
51
|
+
'Required argument `' + k + '` was not specified.')
|
|
52
|
+
super(FefferyLocation, self).__init__(**args)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyPasteImage(Component):
|
|
7
|
+
"""A FefferyPasteImage component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
The content of the tab - will only be displayed if this tab is
|
|
14
|
+
selected.
|
|
15
|
+
|
|
16
|
+
- id (string; required)
|
|
17
|
+
|
|
18
|
+
- className (string; default 'feffery-paste-image-container')
|
|
19
|
+
|
|
20
|
+
- currentPastedImages (list of boolean | number | string | dict | lists; optional)
|
|
21
|
+
|
|
22
|
+
- deletedIdx (list of numbers; optional)
|
|
23
|
+
|
|
24
|
+
- imageHeight (number; default 200)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)"""
|
|
40
|
+
@_explicitize_args
|
|
41
|
+
def __init__(self, children=None, id=Component.REQUIRED, className=Component.UNDEFINED, style=Component.UNDEFINED, currentPastedImages=Component.UNDEFINED, deletedIdx=Component.UNDEFINED, imageHeight=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
43
|
+
self._type = 'FefferyPasteImage'
|
|
44
|
+
self._namespace = 'feffery_utils_components'
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['children', 'id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
47
|
+
self.available_wildcard_properties = []
|
|
48
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
49
|
+
_locals = locals()
|
|
50
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
51
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
52
|
+
for k in ['id']:
|
|
53
|
+
if k not in args:
|
|
54
|
+
raise TypeError(
|
|
55
|
+
'Required argument `' + k + '` was not specified.')
|
|
56
|
+
super(FefferyPasteImage, self).__init__(children=children, **args)
|