feffery_utils_components 0.0.7 → 0.0.10
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 +6 -3
- package/Project.toml +2 -2
- package/feffery_utils_components/FefferyCircleColorPicker.py +45 -0
- package/feffery_utils_components/FefferyColorPicker.py +37 -0
- package/{build/lib/feffery_utils_components/FefferyCaptcha.py → feffery_utils_components/FefferyDashboard.py} +8 -20
- package/feffery_utils_components/FefferyExecuteJs.py +33 -0
- package/feffery_utils_components/FefferyGuide.py +69 -0
- package/feffery_utils_components/FefferyResizable.py +39 -0
- package/feffery_utils_components/FefferyScroll.py +55 -0
- package/feffery_utils_components/FefferyShortcutPanel.py +4 -6
- package/feffery_utils_components/FefferySplit.py +59 -0
- package/{build/lib/feffery_utils_components/FefferyWaterMark.py → feffery_utils_components/FefferySplitPane.py} +9 -25
- package/feffery_utils_components/_imports_.py +12 -4
- package/feffery_utils_components/feffery_utils_components.min.js +26 -26
- package/feffery_utils_components/metadata.json +446 -77
- package/feffery_utils_components/package-info.json +8 -3
- package/package.json +8 -3
- package/src/FefferyUtilsComponents.jl +9 -5
- package/src/jl/''_fefferycirclecolorpicker.jl +26 -0
- package/src/jl/''_fefferycolorpicker.jl +22 -0
- package/src/jl/''_fefferydashboard.jl +23 -0
- package/src/jl/''_fefferyexecutejs.jl +20 -0
- package/src/jl/''_fefferyguide.jl +38 -0
- package/src/jl/''_fefferyresizable.jl +23 -0
- package/src/jl/''_fefferyscroll.jl +31 -0
- package/src/jl/''_fefferyshortcutpanel.jl +1 -2
- package/src/jl/''_fefferysplit.jl +39 -0
- package/src/jl/''_fefferysplitpane.jl +32 -0
- package/src/lib/components/FefferyCaptcha.react.js +6 -2
- package/src/lib/components/FefferyExecuteJs.react.js +47 -0
- package/src/lib/components/FefferyGuide.react.js +181 -0
- package/src/lib/components/FefferyScroll.react.js +170 -0
- package/src/lib/components/FefferyShortcutPanel.react.js +10 -10
- package/src/lib/components/FefferySyntaxHighlighter.react.js +6 -2
- package/src/lib/components/FefferyTopProgress.react.js +3 -3
- package/src/lib/components/colorPickers/FefferyCircleColorPicker.react.js +88 -0
- package/src/lib/components/nprogress.css +84 -0
- package/src/lib/components/split/FefferySplit.react.js +199 -0
- package/src/lib/components/split/FefferySplitPane.react.js +75 -0
- package/src/lib/components/styles.css +27 -1
- package/src/lib/index.js +13 -5
- package/usage.py +135 -33
- package/webpack.config.js +2 -0
- package/build/lib/feffery_utils_components/FefferyPasteImage.py +0 -56
- package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +0 -52
- package/build/lib/feffery_utils_components/FefferyTopProgress.py +0 -68
- package/build/lib/feffery_utils_components/FefferyUtilsComponents.py +0 -40
- package/build/lib/feffery_utils_components/__init__.py +0 -89
- package/build/lib/feffery_utils_components/_imports_.py +0 -13
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +0 -4
- package/build/lib/feffery_utils_components/metadata.json +0 -578
- package/build/lib/feffery_utils_components/package-info.json +0 -79
- package/feffery_utils_components/feffery_utils_components.min.js.LICENSE.txt +0 -102
- package/src/lib/components/FefferyPasteImage.react.js +0 -168
- package/src/lib/components/FefferyWaterMark.react.js +0 -112
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
export(''FefferyCircleColorPicker)
|
|
3
4
|
export(''FefferyCaptcha)
|
|
4
|
-
export(''
|
|
5
|
+
export(''FefferyExecuteJs)
|
|
6
|
+
export(''FefferyGuide)
|
|
7
|
+
export(''FefferyScroll)
|
|
5
8
|
export(''FefferyShortcutPanel)
|
|
6
9
|
export(''FefferySyntaxHighlighter)
|
|
7
10
|
export(''FefferyTopProgress)
|
|
8
|
-
export(''
|
|
9
|
-
export(
|
|
11
|
+
export(''FefferySplit)
|
|
12
|
+
export(''FefferySplitPane)
|
package/Project.toml
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
name = "FefferyUtilsComponents"
|
|
3
3
|
uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
|
|
4
4
|
authors = ["CNFeffery <fefferypzy@gmail.com>"]
|
|
5
|
-
version = "0.0.
|
|
5
|
+
version = "0.0.10"
|
|
6
6
|
|
|
7
7
|
[deps]
|
|
8
8
|
Dash = "1b08a953-4be3-4667-9a23-3db579824955"
|
|
9
9
|
|
|
10
10
|
[compat]
|
|
11
11
|
julia = "1.2"
|
|
12
|
-
Dash = "0.1.3"
|
|
12
|
+
Dash = "0.1.3, 1.0"
|
|
@@ -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 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
|
+
@_explicitize_args
|
|
30
|
+
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):
|
|
31
|
+
self._prop_names = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
|
|
32
|
+
self._type = 'FefferyCircleColorPicker'
|
|
33
|
+
self._namespace = 'feffery_utils_components'
|
|
34
|
+
self._valid_wildcard_attributes = []
|
|
35
|
+
self.available_properties = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
|
|
36
|
+
self.available_wildcard_properties = []
|
|
37
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
38
|
+
_locals = locals()
|
|
39
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
40
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
41
|
+
for k in []:
|
|
42
|
+
if k not in args:
|
|
43
|
+
raise TypeError(
|
|
44
|
+
'Required argument `' + k + '` was not specified.')
|
|
45
|
+
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)
|
|
@@ -3,42 +3,30 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""A
|
|
6
|
+
class FefferyDashboard(Component):
|
|
7
|
+
"""A FefferyDashboard component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
11
|
|
|
12
12
|
- id (optional)
|
|
13
13
|
|
|
14
|
-
- bgColor (optional)
|
|
15
|
-
|
|
16
|
-
- captcha (optional)
|
|
17
|
-
|
|
18
|
-
- charNum (default 4)
|
|
19
|
-
|
|
20
14
|
- className (optional)
|
|
21
15
|
|
|
22
|
-
- fontSize (optional)
|
|
23
|
-
|
|
24
|
-
- height (optional)
|
|
25
|
-
|
|
26
16
|
- loading_state (optional)
|
|
27
17
|
|
|
28
18
|
- setProps (optional):
|
|
29
19
|
Dash-assigned callback that should be called to report property
|
|
30
20
|
changes to Dash, to make them available for callbacks.
|
|
31
21
|
|
|
32
|
-
- style (optional)
|
|
33
|
-
|
|
34
|
-
- width (optional)"""
|
|
22
|
+
- style (optional)"""
|
|
35
23
|
@_explicitize_args
|
|
36
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
37
|
-
self._prop_names = ['id', '
|
|
38
|
-
self._type = '
|
|
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'
|
|
39
27
|
self._namespace = 'feffery_utils_components'
|
|
40
28
|
self._valid_wildcard_attributes = []
|
|
41
|
-
self.available_properties = ['id', '
|
|
29
|
+
self.available_properties = ['id', 'className', 'loading_state', 'setProps', 'style']
|
|
42
30
|
self.available_wildcard_properties = []
|
|
43
31
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
44
32
|
_locals = locals()
|
|
@@ -48,4 +36,4 @@ Keyword arguments:
|
|
|
48
36
|
if k not in args:
|
|
49
37
|
raise TypeError(
|
|
50
38
|
'Required argument `' + k + '` was not specified.')
|
|
51
|
-
super(
|
|
39
|
+
super(FefferyDashboard, self).__init__(**args)
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
@_explicitize_args
|
|
18
|
+
def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
19
|
+
self._prop_names = ['id', 'jsString', 'loading_state']
|
|
20
|
+
self._type = 'FefferyExecuteJs'
|
|
21
|
+
self._namespace = 'feffery_utils_components'
|
|
22
|
+
self._valid_wildcard_attributes = []
|
|
23
|
+
self.available_properties = ['id', 'jsString', 'loading_state']
|
|
24
|
+
self.available_wildcard_properties = []
|
|
25
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
26
|
+
_locals = locals()
|
|
27
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
28
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
29
|
+
for k in []:
|
|
30
|
+
if k not in args:
|
|
31
|
+
raise TypeError(
|
|
32
|
+
'Required argument `' + k + '` was not specified.')
|
|
33
|
+
super(FefferyExecuteJs, self).__init__(**args)
|
|
@@ -0,0 +1,69 @@
|
|
|
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
|
+
@_explicitize_args
|
|
54
|
+
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):
|
|
55
|
+
self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
56
|
+
self._type = 'FefferyGuide'
|
|
57
|
+
self._namespace = 'feffery_utils_components'
|
|
58
|
+
self._valid_wildcard_attributes = []
|
|
59
|
+
self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
|
|
60
|
+
self.available_wildcard_properties = []
|
|
61
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
62
|
+
_locals = locals()
|
|
63
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
64
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
65
|
+
for k in []:
|
|
66
|
+
if k not in args:
|
|
67
|
+
raise TypeError(
|
|
68
|
+
'Required argument `' + k + '` was not specified.')
|
|
69
|
+
super(FefferyGuide, 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 FefferyResizable(Component):
|
|
7
|
+
"""A FefferyResizable 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 = 'FefferyResizable'
|
|
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(FefferyResizable, self).__init__(**args)
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyScroll(Component):
|
|
7
|
+
"""A FefferyScroll component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- containerId (optional)
|
|
15
|
+
|
|
16
|
+
- delay (optional)
|
|
17
|
+
|
|
18
|
+
- duration (optional)
|
|
19
|
+
|
|
20
|
+
- executeScroll (default False)
|
|
21
|
+
|
|
22
|
+
- loading_state (optional)
|
|
23
|
+
|
|
24
|
+
- offset (optional)
|
|
25
|
+
|
|
26
|
+
- scrollMode (default 'to-top')
|
|
27
|
+
|
|
28
|
+
- scrollRelativeOffset (optional)
|
|
29
|
+
|
|
30
|
+
- scrollTargetId (optional)
|
|
31
|
+
|
|
32
|
+
- scrollTopOffset (optional)
|
|
33
|
+
|
|
34
|
+
- setProps (optional):
|
|
35
|
+
Dash-assigned callback that should be called to report property
|
|
36
|
+
changes to Dash, to make them available for callbacks.
|
|
37
|
+
|
|
38
|
+
- smooth (optional)"""
|
|
39
|
+
@_explicitize_args
|
|
40
|
+
def __init__(self, id=Component.UNDEFINED, scrollMode=Component.UNDEFINED, executeScroll=Component.UNDEFINED, scrollTopOffset=Component.UNDEFINED, scrollRelativeOffset=Component.UNDEFINED, scrollTargetId=Component.UNDEFINED, duration=Component.UNDEFINED, smooth=Component.UNDEFINED, delay=Component.UNDEFINED, containerId=Component.UNDEFINED, offset=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
41
|
+
self._prop_names = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
|
|
42
|
+
self._type = 'FefferyScroll'
|
|
43
|
+
self._namespace = 'feffery_utils_components'
|
|
44
|
+
self._valid_wildcard_attributes = []
|
|
45
|
+
self.available_properties = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
|
|
46
|
+
self.available_wildcard_properties = []
|
|
47
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
48
|
+
_locals = locals()
|
|
49
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
50
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
51
|
+
for k in []:
|
|
52
|
+
if k not in args:
|
|
53
|
+
raise TypeError(
|
|
54
|
+
'Required argument `' + k + '` was not specified.')
|
|
55
|
+
super(FefferyScroll, self).__init__(**args)
|
|
@@ -11,15 +11,13 @@ Keyword arguments:
|
|
|
11
11
|
|
|
12
12
|
- id (optional)
|
|
13
13
|
|
|
14
|
-
- className (optional)
|
|
15
|
-
|
|
16
14
|
- data (optional)
|
|
17
15
|
|
|
18
16
|
- disableHotkeys (optional)
|
|
19
17
|
|
|
20
18
|
- loading_state (optional)
|
|
21
19
|
|
|
22
|
-
- locale (default '
|
|
20
|
+
- locale (default 'zh')
|
|
23
21
|
|
|
24
22
|
- openHotkey (optional)
|
|
25
23
|
|
|
@@ -35,12 +33,12 @@ Keyword arguments:
|
|
|
35
33
|
|
|
36
34
|
- triggeredHotkey (optional)"""
|
|
37
35
|
@_explicitize_args
|
|
38
|
-
def __init__(self, id=Component.UNDEFINED,
|
|
39
|
-
self._prop_names = ['id', '
|
|
36
|
+
def __init__(self, id=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, data=Component.UNDEFINED, triggeredHotkey=Component.UNDEFINED, placeholder=Component.UNDEFINED, disableHotkeys=Component.UNDEFINED, openHotkey=Component.UNDEFINED, theme=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
37
|
+
self._prop_names = ['id', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
|
|
40
38
|
self._type = 'FefferyShortcutPanel'
|
|
41
39
|
self._namespace = 'feffery_utils_components'
|
|
42
40
|
self._valid_wildcard_attributes = []
|
|
43
|
-
self.available_properties = ['id', '
|
|
41
|
+
self.available_properties = ['id', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
|
|
44
42
|
self.available_wildcard_properties = []
|
|
45
43
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
46
44
|
_locals = locals()
|
|
@@ -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 FefferySplit(Component):
|
|
7
|
+
"""A FefferySplit component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (optional)
|
|
13
|
+
|
|
14
|
+
- id (optional)
|
|
15
|
+
|
|
16
|
+
- className (optional)
|
|
17
|
+
|
|
18
|
+
- cursor (optional)
|
|
19
|
+
|
|
20
|
+
- defaultSizes (optional)
|
|
21
|
+
|
|
22
|
+
- direction (default 'horizontal')
|
|
23
|
+
|
|
24
|
+
- dragInterval (optional)
|
|
25
|
+
|
|
26
|
+
- expandToMin (optional)
|
|
27
|
+
|
|
28
|
+
- gutterSize (optional)
|
|
29
|
+
|
|
30
|
+
- loading_state (optional)
|
|
31
|
+
|
|
32
|
+
- maxSize (optional)
|
|
33
|
+
|
|
34
|
+
- minSize (optional)
|
|
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
|
+
- sizes (optional)
|
|
41
|
+
|
|
42
|
+
- style (optional)"""
|
|
43
|
+
@_explicitize_args
|
|
44
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultSizes=Component.UNDEFINED, sizes=Component.UNDEFINED, minSize=Component.UNDEFINED, maxSize=Component.UNDEFINED, expandToMin=Component.UNDEFINED, gutterSize=Component.UNDEFINED, dragInterval=Component.UNDEFINED, direction=Component.UNDEFINED, cursor=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
45
|
+
self._prop_names = ['children', 'id', 'className', 'cursor', 'defaultSizes', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
|
|
46
|
+
self._type = 'FefferySplit'
|
|
47
|
+
self._namespace = 'feffery_utils_components'
|
|
48
|
+
self._valid_wildcard_attributes = []
|
|
49
|
+
self.available_properties = ['children', 'id', 'className', 'cursor', 'defaultSizes', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
|
|
50
|
+
self.available_wildcard_properties = []
|
|
51
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
52
|
+
_locals = locals()
|
|
53
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
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(FefferySplit, self).__init__(children=children, **args)
|
|
@@ -3,30 +3,18 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""A
|
|
6
|
+
class FefferySplitPane(Component):
|
|
7
|
+
"""A FefferySplitPane component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
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.
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
15
13
|
|
|
16
14
|
- id (string; optional)
|
|
17
15
|
|
|
18
16
|
- className (string; optional)
|
|
19
17
|
|
|
20
|
-
- content (string; optional)
|
|
21
|
-
|
|
22
|
-
- fontColor (string; optional)
|
|
23
|
-
|
|
24
|
-
- fontSize (number; optional)
|
|
25
|
-
|
|
26
|
-
- gapX (number; optional)
|
|
27
|
-
|
|
28
|
-
- gapY (number; optional)
|
|
29
|
-
|
|
30
18
|
- loading_state (dict; optional)
|
|
31
19
|
|
|
32
20
|
`loading_state` is a dict with keys:
|
|
@@ -40,18 +28,14 @@ Keyword arguments:
|
|
|
40
28
|
- prop_name (string; optional):
|
|
41
29
|
Holds which property is loading.
|
|
42
30
|
|
|
43
|
-
-
|
|
44
|
-
|
|
45
|
-
- style (dict; optional)
|
|
46
|
-
|
|
47
|
-
- zIndex (number; optional)"""
|
|
31
|
+
- style (dict; optional)"""
|
|
48
32
|
@_explicitize_args
|
|
49
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
50
|
-
self._prop_names = ['children', 'id', 'className', '
|
|
51
|
-
self._type = '
|
|
33
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
|
|
35
|
+
self._type = 'FefferySplitPane'
|
|
52
36
|
self._namespace = 'feffery_utils_components'
|
|
53
37
|
self._valid_wildcard_attributes = []
|
|
54
|
-
self.available_properties = ['children', 'id', 'className', '
|
|
38
|
+
self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
|
|
55
39
|
self.available_wildcard_properties = []
|
|
56
40
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
41
|
_locals = locals()
|
|
@@ -61,4 +45,4 @@ Keyword arguments:
|
|
|
61
45
|
if k not in args:
|
|
62
46
|
raise TypeError(
|
|
63
47
|
'Required argument `' + k + '` was not specified.')
|
|
64
|
-
super(
|
|
48
|
+
super(FefferySplitPane, self).__init__(children=children, **args)
|
|
@@ -1,15 +1,23 @@
|
|
|
1
|
+
from .FefferyCircleColorPicker import FefferyCircleColorPicker
|
|
1
2
|
from .FefferyCaptcha import FefferyCaptcha
|
|
2
|
-
from .
|
|
3
|
+
from .FefferyExecuteJs import FefferyExecuteJs
|
|
4
|
+
from .FefferyGuide import FefferyGuide
|
|
5
|
+
from .FefferyScroll import FefferyScroll
|
|
3
6
|
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
4
7
|
from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
|
|
5
8
|
from .FefferyTopProgress import FefferyTopProgress
|
|
6
|
-
from .
|
|
9
|
+
from .FefferySplit import FefferySplit
|
|
10
|
+
from .FefferySplitPane import FefferySplitPane
|
|
7
11
|
|
|
8
12
|
__all__ = [
|
|
13
|
+
"FefferyCircleColorPicker",
|
|
9
14
|
"FefferyCaptcha",
|
|
10
|
-
"
|
|
15
|
+
"FefferyExecuteJs",
|
|
16
|
+
"FefferyGuide",
|
|
17
|
+
"FefferyScroll",
|
|
11
18
|
"FefferyShortcutPanel",
|
|
12
19
|
"FefferySyntaxHighlighter",
|
|
13
20
|
"FefferyTopProgress",
|
|
14
|
-
"
|
|
21
|
+
"FefferySplit",
|
|
22
|
+
"FefferySplitPane"
|
|
15
23
|
]
|