feffery_utils_components 0.0.32 → 0.1.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  Package: fefferyUtilsComponents
2
2
  Title: Build more utility components for Plotly Dash.
3
- Version: 0.0.32
3
+ Version: 0.1.0
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  export(''FefferyBlockColorPicker)
4
4
  export(''FefferyCircleColorPicker)
5
+ export(''FefferyEyeDropper)
5
6
  export(''FefferyGithubColorPicker)
6
7
  export(''FefferyHexColorPicker)
7
8
  export(''FefferyRgbColorPicker)
@@ -15,14 +16,12 @@ export(''FefferyExecuteJs)
15
16
  export(''FefferyExternalCss)
16
17
  export(''FefferyExternalJs)
17
18
  export(''FefferyExtraSpinner)
18
- export(''FefferyEyeDropper)
19
19
  export(''FefferyFancyMessage)
20
20
  export(''FefferyFancyNotification)
21
21
  export(''FefferyGuide)
22
22
  export(''FefferyHighlightWords)
23
23
  export(''FefferyLazyLoad)
24
24
  export(''FefferyLazyLoadImage)
25
- export(''FefferyLocation)
26
25
  export(''FefferyQRCode)
27
26
  export(''FefferyRawHTML)
28
27
  export(''FefferyReload)
@@ -47,3 +46,4 @@ export(''FefferySortableContainer)
47
46
  export(''FefferySortableItem)
48
47
  export(''FefferySplit)
49
48
  export(''FefferySplitPane)
49
+ export(FefferyLocation)
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.32"
5
+ version = "0.1.0"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -80,16 +80,18 @@ Keyword arguments:
80
80
 
81
81
  - index (number; optional)
82
82
 
83
+ - shadow (a value equal to: 'no-shadow', 'hover-shadow', 'always-shadow'; default 'no-shadow')
84
+
83
85
  - style (dict; optional)"""
84
86
  _children_props = ['appendChild', 'insertChild.element', 'replaceChild.element']
85
87
  _base_nodes = ['appendChild', 'children']
86
88
  _namespace = 'feffery_utils_components'
87
89
  _type = 'FefferyDiv'
88
90
  @_explicitize_args
89
- def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, appendChild=Component.UNDEFINED, insertChild=Component.UNDEFINED, replaceChild=Component.UNDEFINED, deleteChildIndex=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCount=Component.UNDEFINED, mouseLeaveCount=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
90
- self._prop_names = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'style']
91
+ def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, appendChild=Component.UNDEFINED, insertChild=Component.UNDEFINED, replaceChild=Component.UNDEFINED, deleteChildIndex=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=Component.UNDEFINED, mouseEnterCount=Component.UNDEFINED, mouseLeaveCount=Component.UNDEFINED, nClicks=Component.UNDEFINED, nDoubleClicks=Component.UNDEFINED, enableListenContextMenu=Component.UNDEFINED, contextMenuEvent=Component.UNDEFINED, isHovering=Component.UNDEFINED, clickAwayCount=Component.UNDEFINED, shadow=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
92
+ self._prop_names = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
91
93
  self._valid_wildcard_attributes = []
92
- self.available_properties = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'style']
94
+ self.available_properties = ['children', 'id', '_height', '_width', 'appendChild', 'className', 'clickAwayCount', 'contextMenuEvent', 'debounceWait', 'deleteChildIndex', 'enableListenContextMenu', 'insertChild', 'isHovering', 'key', 'loading_state', 'mouseEnterCount', 'mouseLeaveCount', 'nClicks', 'nDoubleClicks', 'replaceChild', 'shadow', 'style']
93
95
  self.available_wildcard_properties = []
94
96
  _explicit_args = kwargs.pop('_explicit_args')
95
97
  _locals = locals()
@@ -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 FefferyLazyLoadImage(Component):
7
+ """A FefferyLazyLoadImage component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - alt (string; optional)
15
+
16
+ - height (string | number; optional)
17
+
18
+ - loading_state (dict; optional)
19
+
20
+ `loading_state` is a dict with keys:
21
+
22
+ - component_name (string; optional):
23
+ Holds the name of the component that is loading.
24
+
25
+ - is_loading (boolean; optional):
26
+ Determines if the component is loading or not.
27
+
28
+ - prop_name (string; optional):
29
+ Holds which property is loading.
30
+
31
+ - placeholderSrc (string; optional)
32
+
33
+ - src (string; optional)
34
+
35
+ - threshold (number; default 100)
36
+
37
+ - width (string | number; optional)"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferyLazyLoadImage'
42
+ @_explicitize_args
43
+ def __init__(self, id=Component.UNDEFINED, alt=Component.UNDEFINED, height=Component.UNDEFINED, width=Component.UNDEFINED, src=Component.UNDEFINED, placeholderSrc=Component.UNDEFINED, threshold=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
+ self._prop_names = ['id', 'alt', 'height', 'loading_state', 'placeholderSrc', 'src', 'threshold', 'width']
45
+ self._valid_wildcard_attributes = []
46
+ self.available_properties = ['id', 'alt', 'height', 'loading_state', 'placeholderSrc', 'src', 'threshold', 'width']
47
+ self.available_wildcard_properties = []
48
+ _explicit_args = kwargs.pop('_explicit_args')
49
+ _locals = locals()
50
+ _locals.update(kwargs) # For wildcard attrs and excess named props
51
+ args = {k: _locals[k] for k in _explicit_args}
52
+
53
+ super(FefferyLazyLoadImage, 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 FefferySticky(Component):
7
+ """A FefferySticky component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - children (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - bottomBoundary (number | string; optional)
17
+
18
+ - enabled (boolean; default True)
19
+
20
+ - loading_state (dict; optional)
21
+
22
+ `loading_state` is a dict with keys:
23
+
24
+ - component_name (string; optional):
25
+ Holds the name of the component that is loading.
26
+
27
+ - is_loading (boolean; optional):
28
+ Determines if the component is loading or not.
29
+
30
+ - prop_name (string; optional):
31
+ Holds which property is loading.
32
+
33
+ - top (number | string; optional)
34
+
35
+ - zIndex (number | string; optional)"""
36
+ _children_props = []
37
+ _base_nodes = ['children']
38
+ _namespace = 'feffery_utils_components'
39
+ _type = 'FefferySticky'
40
+ @_explicitize_args
41
+ def __init__(self, children=None, id=Component.UNDEFINED, enabled=Component.UNDEFINED, top=Component.UNDEFINED, bottomBoundary=Component.UNDEFINED, zIndex=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
42
+ self._prop_names = ['children', 'id', 'bottomBoundary', 'enabled', 'loading_state', 'top', 'zIndex']
43
+ self._valid_wildcard_attributes = []
44
+ self.available_properties = ['children', 'id', 'bottomBoundary', 'enabled', 'loading_state', 'top', 'zIndex']
45
+ self.available_wildcard_properties = []
46
+ _explicit_args = kwargs.pop('_explicit_args')
47
+ _locals = locals()
48
+ _locals.update(kwargs) # For wildcard attrs and excess named props
49
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
50
+
51
+ super(FefferySticky, self).__init__(children=children, **args)
@@ -5,15 +5,13 @@ from .FefferyHexColorPicker import FefferyHexColorPicker
5
5
  from .FefferyRgbColorPicker import FefferyRgbColorPicker
6
6
  from .FefferyTwitterColorPicker import FefferyTwitterColorPicker
7
7
  from .FefferyWheelColorPicker import FefferyWheelColorPicker
8
- from .FefferyExternalCss import FefferyExternalCss
9
- from .FefferyExternalJs import FefferyExternalJs
10
- from .FefferyRawHTML import FefferyRawHTML
11
- from .FefferySetTitle import FefferySetTitle
12
8
  from .FefferyCaptcha import FefferyCaptcha
13
9
  from .FefferyCountDown import FefferyCountDown
14
10
  from .FefferyCssVar import FefferyCssVar
15
11
  from .FefferyDiv import FefferyDiv
16
12
  from .FefferyExecuteJs import FefferyExecuteJs
13
+ from .FefferyExternalCss import FefferyExternalCss
14
+ from .FefferyExternalJs import FefferyExternalJs
17
15
  from .FefferyExtraSpinner import FefferyExtraSpinner
18
16
  from .FefferyEyeDropper import FefferyEyeDropper
19
17
  from .FefferyFancyMessage import FefferyFancyMessage
@@ -21,12 +19,16 @@ from .FefferyFancyNotification import FefferyFancyNotification
21
19
  from .FefferyGuide import FefferyGuide
22
20
  from .FefferyHighlightWords import FefferyHighlightWords
23
21
  from .FefferyLazyLoad import FefferyLazyLoad
22
+ from .FefferyLazyLoadImage import FefferyLazyLoadImage
24
23
  from .FefferyLocation import FefferyLocation
25
24
  from .FefferyQRCode import FefferyQRCode
25
+ from .FefferyRawHTML import FefferyRawHTML
26
26
  from .FefferyReload import FefferyReload
27
27
  from .FefferyScroll import FefferyScroll
28
28
  from .FefferyScrollbars import FefferyScrollbars
29
+ from .FefferySetTitle import FefferySetTitle
29
30
  from .FefferyShortcutPanel import FefferyShortcutPanel
31
+ from .FefferySticky import FefferySticky
30
32
  from .FefferyStyle import FefferyStyle
31
33
  from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
32
34
  from .FefferyTimeout import FefferyTimeout
@@ -52,15 +54,13 @@ __all__ = [
52
54
  "FefferyRgbColorPicker",
53
55
  "FefferyTwitterColorPicker",
54
56
  "FefferyWheelColorPicker",
55
- "FefferyExternalCss",
56
- "FefferyExternalJs",
57
- "FefferyRawHTML",
58
- "FefferySetTitle",
59
57
  "FefferyCaptcha",
60
58
  "FefferyCountDown",
61
59
  "FefferyCssVar",
62
60
  "FefferyDiv",
63
61
  "FefferyExecuteJs",
62
+ "FefferyExternalCss",
63
+ "FefferyExternalJs",
64
64
  "FefferyExtraSpinner",
65
65
  "FefferyEyeDropper",
66
66
  "FefferyFancyMessage",
@@ -68,12 +68,16 @@ __all__ = [
68
68
  "FefferyGuide",
69
69
  "FefferyHighlightWords",
70
70
  "FefferyLazyLoad",
71
+ "FefferyLazyLoadImage",
71
72
  "FefferyLocation",
72
73
  "FefferyQRCode",
74
+ "FefferyRawHTML",
73
75
  "FefferyReload",
74
76
  "FefferyScroll",
75
77
  "FefferyScrollbars",
78
+ "FefferySetTitle",
76
79
  "FefferyShortcutPanel",
80
+ "FefferySticky",
77
81
  "FefferyStyle",
78
82
  "FefferySyntaxHighlighter",
79
83
  "FefferyTimeout",