feffery_utils_components 0.0.18 → 0.0.20

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 (78) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +8 -0
  3. package/Project.toml +1 -1
  4. package/build/lib/feffery_utils_components/FefferyBlockColorPicker.py +56 -0
  5. package/build/lib/feffery_utils_components/FefferyCaptcha.py +60 -0
  6. package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +58 -0
  7. package/build/lib/feffery_utils_components/FefferyDiv.py +76 -0
  8. package/build/lib/feffery_utils_components/FefferyExecuteJs.py +46 -0
  9. package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +60 -0
  10. package/build/lib/feffery_utils_components/FefferyGithubColorPicker.py +56 -0
  11. package/build/lib/feffery_utils_components/FefferyGuide.py +108 -0
  12. package/build/lib/feffery_utils_components/FefferyHexColorPicker.py +52 -0
  13. package/build/lib/feffery_utils_components/FefferyHighlightWords.py +64 -0
  14. package/build/lib/feffery_utils_components/FefferyInViewport.py +50 -0
  15. package/build/lib/feffery_utils_components/FefferyLazyLoad.py +60 -0
  16. package/build/lib/feffery_utils_components/FefferyLocation.py +52 -0
  17. package/build/lib/feffery_utils_components/FefferyRgbColorPicker.py +52 -0
  18. package/build/lib/feffery_utils_components/FefferyScroll.py +64 -0
  19. package/build/lib/feffery_utils_components/FefferyScrollbars.py +72 -0
  20. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +78 -0
  21. package/build/lib/feffery_utils_components/FefferySliderColorPicker.py +50 -0
  22. package/build/lib/feffery_utils_components/FefferySplit.py +66 -0
  23. package/build/lib/feffery_utils_components/FefferySplitPane.py +50 -0
  24. package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +56 -0
  25. package/build/lib/feffery_utils_components/FefferyTopProgress.py +70 -0
  26. package/build/lib/feffery_utils_components/FefferyTwitterColorPicker.py +56 -0
  27. package/build/lib/feffery_utils_components/FefferyVirtualList.py +54 -0
  28. package/build/lib/feffery_utils_components/FefferyWheelColorPicker.py +50 -0
  29. package/build/lib/feffery_utils_components/__init__.py +89 -0
  30. package/build/lib/feffery_utils_components/_imports_.py +51 -0
  31. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +429 -0
  32. package/build/lib/feffery_utils_components/metadata.json +3118 -0
  33. package/build/lib/feffery_utils_components/package-info.json +91 -0
  34. package/feffery_utils_components/FefferyDiv.py +5 -3
  35. package/feffery_utils_components/FefferyDocumentVisibility.py +46 -0
  36. package/feffery_utils_components/FefferyExternalCss.py +48 -0
  37. package/feffery_utils_components/FefferyGeolocation.py +46 -0
  38. package/feffery_utils_components/FefferyHighlightWords.py +64 -0
  39. package/feffery_utils_components/FefferyIdle.py +48 -0
  40. package/feffery_utils_components/FefferyResponsive.py +46 -0
  41. package/feffery_utils_components/FefferySetTitle.py +46 -0
  42. package/feffery_utils_components/FefferyWindowSize.py +48 -0
  43. package/feffery_utils_components/_imports_.py +16 -0
  44. package/feffery_utils_components/feffery_utils_components.min.js +1 -1
  45. package/feffery_utils_components/metadata.json +551 -0
  46. package/feffery_utils_components/package-info.json +3 -1
  47. package/package.json +3 -1
  48. package/src/FefferyUtilsComponents.jl +11 -3
  49. package/src/jl/''_fefferydiv.jl +2 -1
  50. package/src/jl/''_fefferydocumentvisibility.jl +24 -0
  51. package/src/jl/''_fefferyexternalcss.jl +25 -0
  52. package/src/jl/''_fefferygeolocation.jl +24 -0
  53. package/src/jl/''_fefferyhighlightwords.jl +33 -0
  54. package/src/jl/''_fefferyidle.jl +25 -0
  55. package/src/jl/''_fefferyresponsive.jl +24 -0
  56. package/src/jl/''_fefferysettitle.jl +24 -0
  57. package/src/jl/''_fefferywindowsize.jl +25 -0
  58. package/src/lib/components/FefferyHighlightWords.react.js +102 -0
  59. package/src/lib/components/dom/FefferyExternalCss.react.js +75 -0
  60. package/src/lib/components/dom/FefferySetTitle.react.js +61 -0
  61. package/src/lib/components/listeners/FefferyDiv.react.js +12 -1
  62. package/src/lib/components/listeners/FefferyDocumentVisibility.react.js +61 -0
  63. package/src/lib/components/listeners/FefferyGeolocation.react.js +61 -0
  64. package/src/lib/components/listeners/FefferyIdle.react.js +67 -0
  65. package/src/lib/components/listeners/FefferyResponsive.react.js +61 -0
  66. package/src/lib/components/listeners/FefferyWindowSize.react.js +67 -0
  67. package/src/lib/components/styles.css +5 -6
  68. package/src/lib/index.js +37 -15
  69. package/tests/FefferyDivHoverTest/app.py +41 -0
  70. package/tests/FefferyDocumentVisibilityTest/app.py +47 -0
  71. package/tests/FefferyExternalCssTest/app.py +69 -0
  72. package/tests/FefferyExternalCssTest/assets/demo.css +3 -0
  73. package/tests/FefferyGeolocationTest/app.py +40 -0
  74. package/tests/FefferyHighlightWordsTest/app.py +64 -0
  75. package/tests/FefferyIdleTest/app.py +35 -0
  76. package/tests/FefferyResponsiveTest/app.py +40 -0
  77. package/tests/FefferySetTitleTest/app.py +43 -0
  78. package/tests/FefferyWindowSizeTest/app.py +36 -0
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.18
3
+ Version: 0.0.20
4
4
  Description: Build more utility components for Plotly Dash.
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -7,10 +7,13 @@ export(''FefferyHexColorPicker)
7
7
  export(''FefferyRgbColorPicker)
8
8
  export(''FefferyTwitterColorPicker)
9
9
  export(''FefferyWheelColorPicker)
10
+ export(''FefferyExternalCss)
11
+ export(''FefferySetTitle)
10
12
  export(''FefferyCaptcha)
11
13
  export(''FefferyExecuteJs)
12
14
  export(''FefferyExtraSpinner)
13
15
  export(''FefferyGuide)
16
+ export(''FefferyHighlightWords)
14
17
  export(''FefferyLazyLoad)
15
18
  export(''FefferyLocation)
16
19
  export(''FefferyScroll)
@@ -20,6 +23,11 @@ export(''FefferySyntaxHighlighter)
20
23
  export(''FefferyTopProgress)
21
24
  export(''FefferyVirtualList)
22
25
  export(''FefferyDiv)
26
+ export(''FefferyDocumentVisibility)
27
+ export(''FefferyGeolocation)
28
+ export(''FefferyIdle)
23
29
  export(''FefferyInViewport)
30
+ export(''FefferyResponsive)
31
+ export(''FefferyWindowSize)
24
32
  export(''FefferySplit)
25
33
  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.18"
5
+ version = "0.0.20"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -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 FefferyBlockColorPicker(Component):
7
+ """A FefferyBlockColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - color (string; optional)
17
+
18
+ - colors (list of strings; default ['#D9E3F0', '#F47373', '#697689', '#37D67A', '#2CCCE4', '#555555', '#dce775', '#ff8a65', '#ba68c8'])
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
+ - style (dict; optional)
34
+
35
+ - triangle (a value equal to: 'hide', 'top'; default 'top')
36
+
37
+ - width (string; default '170px')"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferyBlockColorPicker'
42
+ @_explicitize_args
43
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, triangle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
+ self._prop_names = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
45
+ self._valid_wildcard_attributes = []
46
+ self.available_properties = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', '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 if k != 'children'}
52
+ for k in []:
53
+ if k not in args:
54
+ raise TypeError(
55
+ 'Required argument `' + k + '` was not specified.')
56
+ super(FefferyBlockColorPicker, self).__init__(**args)
@@ -0,0 +1,60 @@
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 (string; optional)
13
+
14
+ - bgColor (string; optional)
15
+
16
+ - captcha (string; optional)
17
+
18
+ - charNum (number; default 4)
19
+
20
+ - className (string; optional)
21
+
22
+ - fontSize (number; optional)
23
+
24
+ - height (number; optional)
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
+
41
+ - width (number; optional)"""
42
+ _children_props = []
43
+ _base_nodes = ['children']
44
+ _namespace = 'feffery_utils_components'
45
+ _type = 'FefferyCaptcha'
46
+ @_explicitize_args
47
+ 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):
48
+ self._prop_names = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'style', 'width']
49
+ self._valid_wildcard_attributes = []
50
+ self.available_properties = ['id', 'bgColor', 'captcha', 'charNum', 'className', 'fontSize', 'height', 'loading_state', 'style', 'width']
51
+ self.available_wildcard_properties = []
52
+ _explicit_args = kwargs.pop('_explicit_args')
53
+ _locals = locals()
54
+ _locals.update(kwargs) # For wildcard attrs and excess named props
55
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
56
+ for k in []:
57
+ if k not in args:
58
+ raise TypeError(
59
+ 'Required argument `' + k + '` was not specified.')
60
+ super(FefferyCaptcha, self).__init__(**args)
@@ -0,0 +1,58 @@
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 (string; optional)
13
+
14
+ - circleSize (number; default 28)
15
+
16
+ - circleSpacing (number; default 14)
17
+
18
+ - className (string; optional)
19
+
20
+ - color (string; optional)
21
+
22
+ - colors (list of strings; default ["#f44336", "#e91e63", "#9c27b0", "#673ab7", "#3f51b5", "#2196f3", "#03a9f4", "#00bcd4", "#009688", "#4caf50", "#8bc34a", "#cddc39", "#ffeb3b", "#ffc107", "#ff9800", "#ff5722", "#795548", "#607d8b"])
23
+
24
+ - loading_state (dict; optional)
25
+
26
+ `loading_state` is a dict with keys:
27
+
28
+ - component_name (string; optional):
29
+ Holds the name of the component that is loading.
30
+
31
+ - is_loading (boolean; optional):
32
+ Determines if the component is loading or not.
33
+
34
+ - prop_name (string; optional):
35
+ Holds which property is loading.
36
+
37
+ - style (dict; optional)
38
+
39
+ - width (string; default '252px')"""
40
+ _children_props = []
41
+ _base_nodes = ['children']
42
+ _namespace = 'feffery_utils_components'
43
+ _type = 'FefferyCircleColorPicker'
44
+ @_explicitize_args
45
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, circleSize=Component.UNDEFINED, circleSpacing=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
46
+ self._prop_names = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
47
+ self._valid_wildcard_attributes = []
48
+ self.available_properties = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
49
+ self.available_wildcard_properties = []
50
+ _explicit_args = kwargs.pop('_explicit_args')
51
+ _locals = locals()
52
+ _locals.update(kwargs) # For wildcard attrs and excess named props
53
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
54
+ for k in []:
55
+ if k not in args:
56
+ raise TypeError(
57
+ 'Required argument `' + k + '` was not specified.')
58
+ super(FefferyCircleColorPicker, self).__init__(**args)
@@ -0,0 +1,76 @@
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 (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - _height (number; optional)
17
+
18
+ - _width (number; optional)
19
+
20
+ - className (string; optional)
21
+
22
+ - contextMenuEvent (dict; optional)
23
+
24
+ `contextMenuEvent` is a dict with keys:
25
+
26
+ - pageX (number; optional)
27
+
28
+ - pageY (number; optional)
29
+
30
+ - timestamp (number; optional)
31
+
32
+ - debounceWait (number; default 150)
33
+
34
+ - enableListenContextMenu (boolean; default False)
35
+
36
+ - loading_state (dict; optional)
37
+
38
+ `loading_state` is a dict with keys:
39
+
40
+ - component_name (string; optional):
41
+ Holds the name of the component that is loading.
42
+
43
+ - is_loading (boolean; optional):
44
+ Determines if the component is loading or not.
45
+
46
+ - prop_name (string; optional):
47
+ Holds which property is loading.
48
+
49
+ - mouseEnterCounts (number; default 0)
50
+
51
+ - mouseLeaveCounts (number; default 0)
52
+
53
+ - nClicks (number; default 0)
54
+
55
+ - nDoubleClicks (number; default 0)
56
+
57
+ - style (dict; optional)"""
58
+ _children_props = []
59
+ _base_nodes = ['children']
60
+ _namespace = 'feffery_utils_components'
61
+ _type = 'FefferyDiv'
62
+ @_explicitize_args
63
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, debounceWait=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):
64
+ self._prop_names = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'style']
65
+ self._valid_wildcard_attributes = []
66
+ self.available_properties = ['children', 'id', '_height', '_width', 'className', 'contextMenuEvent', 'debounceWait', 'enableListenContextMenu', 'loading_state', 'mouseEnterCounts', 'mouseLeaveCounts', 'nClicks', 'nDoubleClicks', 'style']
67
+ self.available_wildcard_properties = []
68
+ _explicit_args = kwargs.pop('_explicit_args')
69
+ _locals = locals()
70
+ _locals.update(kwargs) # For wildcard attrs and excess named props
71
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
72
+ for k in []:
73
+ if k not in args:
74
+ raise TypeError(
75
+ 'Required argument `' + k + '` was not specified.')
76
+ super(FefferyDiv, self).__init__(children=children, **args)
@@ -0,0 +1,46 @@
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 (string; optional)
13
+
14
+ - jsString (string; optional)
15
+
16
+ - loading_state (dict; optional)
17
+
18
+ `loading_state` is a dict with keys:
19
+
20
+ - component_name (string; optional):
21
+ Holds the name of the component that is loading.
22
+
23
+ - is_loading (boolean; optional):
24
+ Determines if the component is loading or not.
25
+
26
+ - prop_name (string; optional):
27
+ Holds which property is loading."""
28
+ _children_props = []
29
+ _base_nodes = ['children']
30
+ _namespace = 'feffery_utils_components'
31
+ _type = 'FefferyExecuteJs'
32
+ @_explicitize_args
33
+ def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['id', 'jsString', 'loading_state']
35
+ self._valid_wildcard_attributes = []
36
+ self.available_properties = ['id', 'jsString', 'loading_state']
37
+ self.available_wildcard_properties = []
38
+ _explicit_args = kwargs.pop('_explicit_args')
39
+ _locals = locals()
40
+ _locals.update(kwargs) # For wildcard attrs and excess named props
41
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
42
+ for k in []:
43
+ if k not in args:
44
+ raise TypeError(
45
+ 'Required argument `' + k + '` was not specified.')
46
+ super(FefferyExecuteJs, self).__init__(**args)
@@ -0,0 +1,60 @@
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 (string; optional)
13
+
14
+ - backColor (string; default '#1890ff')
15
+
16
+ - className (string; optional)
17
+
18
+ - color (string; default '#1890ff')
19
+
20
+ - frontColor (string; default '#def6ff')
21
+
22
+ - loading_state (dict; optional)
23
+
24
+ `loading_state` is a dict with keys:
25
+
26
+ - component_name (string; optional):
27
+ Holds the name of the component that is loading.
28
+
29
+ - is_loading (boolean; optional):
30
+ Determines if the component is loading or not.
31
+
32
+ - prop_name (string; optional):
33
+ Holds which property is loading.
34
+
35
+ - size (number; optional)
36
+
37
+ - sizeUnit (string; default 'px')
38
+
39
+ - style (dict; optional)
40
+
41
+ - type (a value equal to: "ball", "swap", "bars", "grid", "wave", "push", "firework", "stage", "ring", "heart", "guard", "rotate", "spiral", "pulse", "swish", "sequence", "impulse", "cube", "magic", "flag", "fill", "sphere", "domino", "goo", "comb", "pong", "rainbow", "hoop", "flapper", "jellyfish", "trace", "classic", "whisper", "metro"; default 'ball')"""
42
+ _children_props = []
43
+ _base_nodes = ['children']
44
+ _namespace = 'feffery_utils_components'
45
+ _type = 'FefferyExtraSpinner'
46
+ @_explicitize_args
47
+ 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):
48
+ self._prop_names = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
49
+ self._valid_wildcard_attributes = []
50
+ self.available_properties = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
51
+ self.available_wildcard_properties = []
52
+ _explicit_args = kwargs.pop('_explicit_args')
53
+ _locals = locals()
54
+ _locals.update(kwargs) # For wildcard attrs and excess named props
55
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
56
+ for k in []:
57
+ if k not in args:
58
+ raise TypeError(
59
+ 'Required argument `' + k + '` was not specified.')
60
+ super(FefferyExtraSpinner, 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 FefferyGithubColorPicker(Component):
7
+ """A FefferyGithubColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - color (string; optional)
17
+
18
+ - colors (list of strings; default ['#B80000', '#DB3E00', '#FCCB00', '#008B02', '#006B76', '#1273DE', '#004DCF', '#5300EB', '#EB9694', '#FAD0C3', '#FEF3BD', '#C1E1C5', '#BEDADC', '#C4DEF6', '#BED3F3', '#D4C4FB'])
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
+ - style (dict; optional)
34
+
35
+ - triangle (a value equal to: 'hide', 'top-left', 'top-right'; default 'top-left')
36
+
37
+ - width (string; default '200px')"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferyGithubColorPicker'
42
+ @_explicitize_args
43
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, color=Component.UNDEFINED, colors=Component.UNDEFINED, triangle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
+ self._prop_names = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', 'width']
45
+ self._valid_wildcard_attributes = []
46
+ self.available_properties = ['id', 'className', 'color', 'colors', 'loading_state', 'style', 'triangle', '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 if k != 'children'}
52
+ for k in []:
53
+ if k not in args:
54
+ raise TypeError(
55
+ 'Required argument `' + k + '` was not specified.')
56
+ super(FefferyGithubColorPicker, self).__init__(**args)
@@ -0,0 +1,108 @@
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 (string; optional)
13
+
14
+ - arrow (boolean; optional)
15
+
16
+ - className (string; optional)
17
+
18
+ - closable (boolean; optional)
19
+
20
+ - hotspot (boolean; optional)
21
+
22
+ - loading_state (dict; optional)
23
+
24
+ `loading_state` is a dict with keys:
25
+
26
+ - component_name (string; optional):
27
+ Holds the name of the component that is loading.
28
+
29
+ - is_loading (boolean; optional):
30
+ Determines if the component is loading or not.
31
+
32
+ - prop_name (string; optional):
33
+ Holds which property is loading.
34
+
35
+ - localKey (string; required)
36
+
37
+ - locale (a value equal to: 'zh', 'en'; default 'zh')
38
+
39
+ - mask (boolean; optional)
40
+
41
+ - maskClassName (string; optional)
42
+
43
+ - modalClassName (string; optional)
44
+
45
+ - nextText (string; optional)
46
+
47
+ - okText (string; optional)
48
+
49
+ - prevText (string; optional)
50
+
51
+ - showPreviousBtn (boolean; default True)
52
+
53
+ - step (number; optional)
54
+
55
+ - stepText (string; optional)
56
+
57
+ - steps (list of dicts; required)
58
+
59
+ `steps` is a list of dicts with keys:
60
+
61
+ - content (string; optional)
62
+
63
+ - offset (dict; optional)
64
+
65
+ `offset` is a dict with keys:
66
+
67
+ - x (number; optional)
68
+
69
+ - y (number; optional)
70
+
71
+ - placement (a value equal to: 'top', 'bottom', 'left', 'right', 'top-left', 'top-right', 'bottom-left', 'bottom-right', 'left-top', 'left-bottom', 'right-top', 'right-bottom'; optional)
72
+
73
+ - selector (string; optional)
74
+
75
+ - targetPos (dict; optional)
76
+
77
+ `targetPos` is a dict with keys:
78
+
79
+ - height (number; optional)
80
+
81
+ - left (number; optional)
82
+
83
+ - top (number; optional)
84
+
85
+ - width (number; optional)
86
+
87
+ - title (string; optional)
88
+
89
+ - style (dict; optional)"""
90
+ _children_props = []
91
+ _base_nodes = ['children']
92
+ _namespace = 'feffery_utils_components'
93
+ _type = 'FefferyGuide'
94
+ @_explicitize_args
95
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, steps=Component.REQUIRED, localKey=Component.REQUIRED, 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):
96
+ self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
97
+ self._valid_wildcard_attributes = []
98
+ self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
99
+ self.available_wildcard_properties = []
100
+ _explicit_args = kwargs.pop('_explicit_args')
101
+ _locals = locals()
102
+ _locals.update(kwargs) # For wildcard attrs and excess named props
103
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
104
+ for k in ['localKey', 'steps']:
105
+ if k not in args:
106
+ raise TypeError(
107
+ 'Required argument `' + k + '` was not specified.')
108
+ super(FefferyGuide, self).__init__(**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 FefferyHexColorPicker(Component):
7
+ """A FefferyHexColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - color (string; default '#44cef6')
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
+ - showAlpha (boolean; default False)
32
+
33
+ - style (dict; optional)"""
34
+ _children_props = []
35
+ _base_nodes = ['children']
36
+ _namespace = 'feffery_utils_components'
37
+ _type = 'FefferyHexColorPicker'
38
+ @_explicitize_args
39
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, showAlpha=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
40
+ self._prop_names = ['id', 'className', 'color', 'loading_state', 'showAlpha', 'style']
41
+ self._valid_wildcard_attributes = []
42
+ self.available_properties = ['id', 'className', 'color', 'loading_state', 'showAlpha', 'style']
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 []:
49
+ if k not in args:
50
+ raise TypeError(
51
+ 'Required argument `' + k + '` was not specified.')
52
+ super(FefferyHexColorPicker, self).__init__(**args)