feffery_utils_components 0.0.13 → 0.0.14

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.
Files changed (48) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +3 -0
  3. package/Project.toml +1 -1
  4. package/build/lib/feffery_utils_components/FefferyCaptcha.py +53 -0
  5. package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +47 -0
  6. package/build/lib/feffery_utils_components/FefferyColorPicker.py +37 -0
  7. package/build/lib/feffery_utils_components/FefferyDashboard.py +39 -0
  8. package/build/lib/feffery_utils_components/FefferyDiv.py +47 -0
  9. package/build/lib/feffery_utils_components/FefferyExecuteJs.py +35 -0
  10. package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +49 -0
  11. package/build/lib/feffery_utils_components/FefferyGuide.py +71 -0
  12. package/build/lib/feffery_utils_components/FefferyPasteImage.py +56 -0
  13. package/build/lib/feffery_utils_components/FefferyResizable.py +39 -0
  14. package/build/lib/feffery_utils_components/FefferyScroll.py +57 -0
  15. package/build/lib/feffery_utils_components/FefferyScrollbars.py +51 -0
  16. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +53 -0
  17. package/build/lib/feffery_utils_components/FefferySplit.py +59 -0
  18. package/build/lib/feffery_utils_components/FefferySplitPane.py +50 -0
  19. package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +54 -0
  20. package/build/lib/feffery_utils_components/FefferyTopProgress.py +70 -0
  21. package/build/lib/feffery_utils_components/FefferyUtilsComponents.py +40 -0
  22. package/build/lib/feffery_utils_components/FefferyWaterMark.py +64 -0
  23. package/build/lib/feffery_utils_components/__init__.py +89 -0
  24. package/build/lib/feffery_utils_components/_imports_.py +29 -0
  25. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +429 -0
  26. package/build/lib/feffery_utils_components/metadata.json +1339 -0
  27. package/build/lib/feffery_utils_components/package-info.json +85 -0
  28. package/demo.py +117 -0
  29. package/feffery_utils_components/FefferyDiv.py +15 -3
  30. package/feffery_utils_components/FefferyLazyLoad.py +53 -0
  31. package/feffery_utils_components/FefferyLocation.py +52 -0
  32. package/feffery_utils_components/FefferyVirtualList.py +47 -0
  33. package/feffery_utils_components/_imports_.py +6 -0
  34. package/feffery_utils_components/feffery_utils_components.min.js +8 -8
  35. package/feffery_utils_components/metadata.json +328 -0
  36. package/feffery_utils_components/package-info.json +4 -2
  37. package/package.json +4 -2
  38. package/src/FefferyUtilsComponents.jl +6 -3
  39. package/src/jl/''_fefferydiv.jl +7 -1
  40. package/src/jl/''_fefferylazyload.jl +35 -0
  41. package/src/jl/''_fefferylocation.jl +26 -0
  42. package/src/jl/''_fefferyvirtuallist.jl +32 -0
  43. package/src/lib/components/FefferyDiv.react.js +52 -0
  44. package/src/lib/components/FefferyLazyLoad.react.js +100 -0
  45. package/src/lib/components/FefferyLocation.react.js +161 -0
  46. package/src/lib/components/FefferyVirtualList.react.js +84 -0
  47. package/src/lib/index.js +7 -1
  48. package/usage.py +10 -0
package/DESCRIPTION CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyUtilsComponents
2
2
  Title: Utility augments components of Dash!
3
- Version: 0.0.13
3
+ Version: 0.0.14
4
4
  Description: Utility augments components of Dash!
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -6,10 +6,13 @@ export(''FefferyDiv)
6
6
  export(''FefferyExecuteJs)
7
7
  export(''FefferyExtraSpinner)
8
8
  export(''FefferyGuide)
9
+ export(''FefferyLazyLoad)
10
+ export(''FefferyLocation)
9
11
  export(''FefferyScroll)
10
12
  export(''FefferyScrollbars)
11
13
  export(''FefferyShortcutPanel)
12
14
  export(''FefferySyntaxHighlighter)
13
15
  export(''FefferyTopProgress)
16
+ export(''FefferyVirtualList)
14
17
  export(''FefferySplit)
15
18
  export(''FefferySplitPane)
package/Project.toml CHANGED
@@ -2,7 +2,7 @@
2
2
  name = "FefferyUtilsComponents"
3
3
  uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
4
4
  authors = ["CNFeffery <fefferypzy@gmail.com>"]
5
- version = "0.0.13"
5
+ version = "0.0.14"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -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,47 @@
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
+ - loading_state (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
+ _children_props = []
30
+ _base_nodes = ['children']
31
+ _namespace = 'feffery_utils_components'
32
+ _type = 'FefferyDiv'
33
+ @_explicitize_args
34
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
35
+ self._prop_names = ['children', 'id', '_height', '_width', 'className', 'loading_state', 'setProps', 'style']
36
+ self._valid_wildcard_attributes = []
37
+ self.available_properties = ['children', 'id', '_height', '_width', 'className', 'loading_state', 'setProps', 'style']
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(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,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)
@@ -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,57 @@
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
+ _children_props = []
40
+ _base_nodes = ['children']
41
+ _namespace = 'feffery_utils_components'
42
+ _type = 'FefferyScroll'
43
+ @_explicitize_args
44
+ 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):
45
+ self._prop_names = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
46
+ self._valid_wildcard_attributes = []
47
+ self.available_properties = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
48
+ self.available_wildcard_properties = []
49
+ _explicit_args = kwargs.pop('_explicit_args')
50
+ _locals = locals()
51
+ _locals.update(kwargs) # For wildcard attrs and excess named props
52
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
53
+ for k in []:
54
+ if k not in args:
55
+ raise TypeError(
56
+ 'Required argument `' + k + '` was not specified.')
57
+ super(FefferyScroll, self).__init__(**args)
@@ -0,0 +1,51 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyScrollbars(Component):
7
+ """A FefferyScrollbars component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (optional)
13
+
14
+ - id (optional)
15
+
16
+ - autoHide (default True)
17
+
18
+ - className (optional)
19
+
20
+ - classNames (optional)
21
+
22
+ - forceVisible (default False)
23
+
24
+ - loading_state (optional)
25
+
26
+ - scrollbarMaxSize (optional)
27
+
28
+ - scrollbarMinSize (default 25)
29
+
30
+ - style (optional)
31
+
32
+ - timeout (default 1000)"""
33
+ _children_props = []
34
+ _base_nodes = ['children']
35
+ _namespace = 'feffery_utils_components'
36
+ _type = 'FefferyScrollbars'
37
+ @_explicitize_args
38
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, autoHide=Component.UNDEFINED, classNames=Component.UNDEFINED, forceVisible=Component.UNDEFINED, timeout=Component.UNDEFINED, scrollbarMinSize=Component.UNDEFINED, scrollbarMaxSize=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
39
+ self._prop_names = ['children', 'id', 'autoHide', 'className', 'classNames', 'forceVisible', 'loading_state', 'scrollbarMaxSize', 'scrollbarMinSize', 'style', 'timeout']
40
+ self._valid_wildcard_attributes = []
41
+ self.available_properties = ['children', 'id', 'autoHide', 'className', 'classNames', 'forceVisible', 'loading_state', 'scrollbarMaxSize', 'scrollbarMinSize', 'style', 'timeout']
42
+ self.available_wildcard_properties = []
43
+ _explicit_args = kwargs.pop('_explicit_args')
44
+ _locals = locals()
45
+ _locals.update(kwargs) # For wildcard attrs and excess named props
46
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
47
+ for k in []:
48
+ if k not in args:
49
+ raise TypeError(
50
+ 'Required argument `' + k + '` was not specified.')
51
+ super(FefferyScrollbars, self).__init__(children=children, **args)