feffery_utils_components 0.0.9 → 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 +2 -5
- package/Project.toml +1 -1
- package/feffery_utils_components/FefferyCircleColorPicker.py +45 -0
- package/{build/lib/feffery_utils_components/FefferyDashboard.py → feffery_utils_components/FefferyColorPicker.py} +9 -11
- package/feffery_utils_components/FefferyScroll.py +55 -0
- package/feffery_utils_components/_imports_.py +4 -4
- package/feffery_utils_components/feffery_utils_components.min.js +26 -26
- package/feffery_utils_components/metadata.json +148 -174
- package/feffery_utils_components/package-info.json +3 -2
- package/package.json +3 -2
- package/src/FefferyUtilsComponents.jl +5 -5
- package/src/jl/''_fefferycirclecolorpicker.jl +26 -0
- package/src/jl/''_fefferycolorpicker.jl +22 -0
- package/src/jl/''_fefferyscroll.jl +31 -0
- package/src/lib/components/FefferyCaptcha.react.js +6 -2
- package/src/lib/components/FefferyGuide.react.js +11 -4
- package/src/lib/components/FefferyScroll.react.js +170 -0
- package/src/lib/components/FefferyShortcutPanel.react.js +5 -1
- 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/styles.css +0 -4
- package/src/lib/index.js +5 -5
- package/usage.py +40 -32
- package/build/lib/feffery_utils_components/FefferyCaptcha.py +0 -51
- package/build/lib/feffery_utils_components/FefferyGuide.py +0 -69
- package/build/lib/feffery_utils_components/FefferyPasteImage.py +0 -56
- package/build/lib/feffery_utils_components/FefferyResizable.py +0 -39
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +0 -51
- package/build/lib/feffery_utils_components/FefferySplit.py +0 -59
- package/build/lib/feffery_utils_components/FefferySplitPane.py +0 -48
- 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/FefferyWaterMark.py +0 -64
- package/build/lib/feffery_utils_components/__init__.py +0 -89
- package/build/lib/feffery_utils_components/_imports_.py +0 -21
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +0 -407
- package/build/lib/feffery_utils_components/metadata.json +0 -1053
- package/build/lib/feffery_utils_components/package-info.json +0 -84
- 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,15 +1,12 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
export(''FefferyCircleColorPicker)
|
|
3
4
|
export(''FefferyCaptcha)
|
|
4
5
|
export(''FefferyExecuteJs)
|
|
5
6
|
export(''FefferyGuide)
|
|
6
|
-
export(''
|
|
7
|
+
export(''FefferyScroll)
|
|
7
8
|
export(''FefferyShortcutPanel)
|
|
8
9
|
export(''FefferySyntaxHighlighter)
|
|
9
10
|
export(''FefferyTopProgress)
|
|
10
|
-
export(''FefferyWaterMark)
|
|
11
11
|
export(''FefferySplit)
|
|
12
12
|
export(''FefferySplitPane)
|
|
13
|
-
export(FefferyDashboard)
|
|
14
|
-
export(FefferyKeyboardShortcut)
|
|
15
|
-
export(FefferyResizable)
|
package/Project.toml
CHANGED
|
@@ -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)
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""A
|
|
6
|
+
class FefferyColorPicker(Component):
|
|
7
|
+
"""A FefferyColorPicker component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
@@ -15,18 +15,16 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- loading_state (optional)
|
|
17
17
|
|
|
18
|
-
-
|
|
19
|
-
Dash-assigned callback that should be called to report property
|
|
20
|
-
changes to Dash, to make them available for callbacks.
|
|
18
|
+
- style (optional)
|
|
21
19
|
|
|
22
|
-
-
|
|
20
|
+
- type (default 'sketch')"""
|
|
23
21
|
@_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', '
|
|
26
|
-
self._type = '
|
|
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'
|
|
27
25
|
self._namespace = 'feffery_utils_components'
|
|
28
26
|
self._valid_wildcard_attributes = []
|
|
29
|
-
self.available_properties = ['id', 'className', 'loading_state', '
|
|
27
|
+
self.available_properties = ['id', 'className', 'loading_state', 'style', 'type']
|
|
30
28
|
self.available_wildcard_properties = []
|
|
31
29
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
32
30
|
_locals = locals()
|
|
@@ -36,4 +34,4 @@ Keyword arguments:
|
|
|
36
34
|
if k not in args:
|
|
37
35
|
raise TypeError(
|
|
38
36
|
'Required argument `' + k + '` was not specified.')
|
|
39
|
-
super(
|
|
37
|
+
super(FefferyColorPicker, 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)
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
+
from .FefferyCircleColorPicker import FefferyCircleColorPicker
|
|
1
2
|
from .FefferyCaptcha import FefferyCaptcha
|
|
2
3
|
from .FefferyExecuteJs import FefferyExecuteJs
|
|
3
4
|
from .FefferyGuide import FefferyGuide
|
|
4
|
-
from .
|
|
5
|
+
from .FefferyScroll import FefferyScroll
|
|
5
6
|
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
6
7
|
from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
|
|
7
8
|
from .FefferyTopProgress import FefferyTopProgress
|
|
8
|
-
from .FefferyWaterMark import FefferyWaterMark
|
|
9
9
|
from .FefferySplit import FefferySplit
|
|
10
10
|
from .FefferySplitPane import FefferySplitPane
|
|
11
11
|
|
|
12
12
|
__all__ = [
|
|
13
|
+
"FefferyCircleColorPicker",
|
|
13
14
|
"FefferyCaptcha",
|
|
14
15
|
"FefferyExecuteJs",
|
|
15
16
|
"FefferyGuide",
|
|
16
|
-
"
|
|
17
|
+
"FefferyScroll",
|
|
17
18
|
"FefferyShortcutPanel",
|
|
18
19
|
"FefferySyntaxHighlighter",
|
|
19
20
|
"FefferyTopProgress",
|
|
20
|
-
"FefferyWaterMark",
|
|
21
21
|
"FefferySplit",
|
|
22
22
|
"FefferySplitPane"
|
|
23
23
|
]
|