feffery_utils_components 0.0.30 → 0.0.32

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 (85) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +8 -4
  3. package/Project.toml +1 -1
  4. package/build/lib/feffery_utils_components/FefferyBlockColorPicker.py +53 -0
  5. package/build/lib/feffery_utils_components/FefferyCaptcha.py +59 -0
  6. package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +55 -0
  7. package/build/lib/feffery_utils_components/FefferyCountDown.py +47 -0
  8. package/build/lib/feffery_utils_components/FefferyCssVar.py +43 -0
  9. package/build/lib/feffery_utils_components/FefferyDiv.py +99 -0
  10. package/build/lib/feffery_utils_components/FefferyDocumentVisibility.py +43 -0
  11. package/build/lib/feffery_utils_components/FefferyExecuteJs.py +43 -0
  12. package/build/lib/feffery_utils_components/FefferyExternalCss.py +45 -0
  13. package/build/lib/feffery_utils_components/FefferyExternalJs.py +45 -0
  14. package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +57 -0
  15. package/build/lib/feffery_utils_components/FefferyEyeDropper.py +45 -0
  16. package/build/lib/feffery_utils_components/FefferyFancyMessage.py +67 -0
  17. package/build/lib/feffery_utils_components/FefferyFancyNotification.py +85 -0
  18. package/build/lib/feffery_utils_components/FefferyGeolocation.py +43 -0
  19. package/build/lib/feffery_utils_components/FefferyGithubColorPicker.py +53 -0
  20. package/build/lib/feffery_utils_components/FefferyGuide.py +110 -0
  21. package/build/lib/feffery_utils_components/FefferyHexColorPicker.py +49 -0
  22. package/build/lib/feffery_utils_components/FefferyHighlightWords.py +61 -0
  23. package/build/lib/feffery_utils_components/FefferyIdle.py +45 -0
  24. package/build/lib/feffery_utils_components/FefferyInViewport.py +47 -0
  25. package/build/lib/feffery_utils_components/FefferyKeyPress.py +50 -0
  26. package/build/lib/feffery_utils_components/FefferyLazyLoad.py +57 -0
  27. package/build/lib/feffery_utils_components/FefferyLocation.py +54 -0
  28. package/build/lib/feffery_utils_components/FefferyQRCode.py +72 -0
  29. package/build/lib/feffery_utils_components/FefferyRawHTML.py +43 -0
  30. package/build/lib/feffery_utils_components/FefferyReload.py +45 -0
  31. package/build/lib/feffery_utils_components/FefferyResponsive.py +43 -0
  32. package/build/lib/feffery_utils_components/FefferyRgbColorPicker.py +49 -0
  33. package/build/lib/feffery_utils_components/FefferyScroll.py +61 -0
  34. package/build/lib/feffery_utils_components/FefferyScrollbars.py +69 -0
  35. package/build/lib/feffery_utils_components/FefferySetTitle.py +43 -0
  36. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +75 -0
  37. package/build/lib/feffery_utils_components/FefferySortableContainer.py +51 -0
  38. package/build/lib/feffery_utils_components/FefferySortableItem.py +47 -0
  39. package/build/lib/feffery_utils_components/FefferySplit.py +63 -0
  40. package/build/lib/feffery_utils_components/FefferySplitPane.py +47 -0
  41. package/build/lib/feffery_utils_components/FefferyStyle.py +43 -0
  42. package/build/lib/feffery_utils_components/FefferySyntaxHighlighter.py +58 -0
  43. package/build/lib/feffery_utils_components/FefferyTimeout.py +45 -0
  44. package/build/lib/feffery_utils_components/FefferyTopProgress.py +67 -0
  45. package/build/lib/feffery_utils_components/FefferyTwitterColorPicker.py +53 -0
  46. package/build/lib/feffery_utils_components/FefferyVirtualList.py +56 -0
  47. package/build/lib/feffery_utils_components/FefferyWheelColorPicker.py +47 -0
  48. package/build/lib/feffery_utils_components/FefferyWindowSize.py +45 -0
  49. package/build/lib/feffery_utils_components/__init__.py +89 -0
  50. package/build/lib/feffery_utils_components/_imports_.py +93 -0
  51. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +599 -0
  52. package/build/lib/feffery_utils_components/metadata.json +4991 -0
  53. package/build/lib/feffery_utils_components/package-info.json +102 -0
  54. package/feffery_utils_components/FefferyCssVar.py +43 -0
  55. package/feffery_utils_components/FefferyDiv.py +5 -3
  56. package/feffery_utils_components/FefferyEyeDropper.py +45 -0
  57. package/feffery_utils_components/FefferyLazyLoadImage.py +53 -0
  58. package/feffery_utils_components/FefferySticky.py +51 -0
  59. package/feffery_utils_components/_imports_.py +16 -8
  60. package/feffery_utils_components/feffery_utils_components.min.js +8 -8
  61. package/feffery_utils_components/metadata.json +650 -295
  62. package/feffery_utils_components/package-info.json +5 -2
  63. package/package.json +5 -2
  64. package/src/FefferyUtilsComponents.jl +11 -7
  65. package/src/jl/''_fefferycssvar.jl +24 -0
  66. package/src/jl/''_fefferydiv.jl +2 -1
  67. package/src/jl/''_fefferyeyedropper.jl +25 -0
  68. package/src/jl/''_fefferylazyloadimage.jl +29 -0
  69. package/src/jl/''_fefferysticky.jl +34 -0
  70. package/src/lib/components/FefferyCssVar.react.js +67 -0
  71. package/src/lib/components/FefferyDiv.react.js +16 -2
  72. package/src/lib/components/FefferyExecuteJs.react.js +7 -5
  73. package/src/lib/components/{dom/FefferyExternalCss.react.js → FefferyExternalCss.react.js} +0 -0
  74. package/src/lib/components/{dom/FefferyExternalJs.react.js → FefferyExternalJs.react.js} +0 -0
  75. package/src/lib/components/FefferyEyeDropper.react.js +93 -0
  76. package/src/lib/components/FefferyLazyLoadImage.react.js +92 -0
  77. package/src/lib/components/{dom/FefferyRawHTML.react.js → FefferyRawHTML.react.js} +0 -0
  78. package/src/lib/components/{dom/FefferySetTitle.react.js → FefferySetTitle.react.js} +0 -0
  79. package/src/lib/components/FefferySticky.react.js +93 -0
  80. package/src/lib/components/FefferyStyle.react.js +1 -0
  81. package/src/lib/components/styles.css +13 -0
  82. package/src/lib/index.js +13 -5
  83. package/tests/FefferyLazyLoadImageTest/app.py +33 -0
  84. package/tests/FefferyStickyTest/app.py +41 -0
  85. package/usage.py +0 -30
@@ -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 FefferySortableItem(Component):
7
+ """A FefferySortableItem 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
+ - className (string; 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
+ - style (dict; optional)"""
32
+ _children_props = []
33
+ _base_nodes = ['children']
34
+ _namespace = 'feffery_utils_components'
35
+ _type = 'FefferySortableItem'
36
+ @_explicitize_args
37
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
+ self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
39
+ self._valid_wildcard_attributes = []
40
+ self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
41
+ self.available_wildcard_properties = []
42
+ _explicit_args = kwargs.pop('_explicit_args')
43
+ _locals = locals()
44
+ _locals.update(kwargs) # For wildcard attrs and excess named props
45
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
46
+
47
+ super(FefferySortableItem, self).__init__(children=children, **args)
@@ -0,0 +1,63 @@
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 (a list of or a singular dash component, string or number; optional)
13
+
14
+ - id (string; optional)
15
+
16
+ - className (string; optional)
17
+
18
+ - cursor (string; optional)
19
+
20
+ - direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
21
+
22
+ - dragInterval (number; optional)
23
+
24
+ - expandToMin (boolean; optional)
25
+
26
+ - gutterSize (number; optional)
27
+
28
+ - loading_state (dict; optional)
29
+
30
+ `loading_state` is a dict with keys:
31
+
32
+ - component_name (string; optional):
33
+ Holds the name of the component that is loading.
34
+
35
+ - is_loading (boolean; optional):
36
+ Determines if the component is loading or not.
37
+
38
+ - prop_name (string; optional):
39
+ Holds which property is loading.
40
+
41
+ - maxSize (number | list of numbers; optional)
42
+
43
+ - minSize (number | list of numbers; optional)
44
+
45
+ - sizes (list of numbers; optional)
46
+
47
+ - style (dict; optional)"""
48
+ _children_props = []
49
+ _base_nodes = ['children']
50
+ _namespace = 'feffery_utils_components'
51
+ _type = 'FefferySplit'
52
+ @_explicitize_args
53
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=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):
54
+ self._prop_names = ['children', 'id', 'className', 'cursor', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'sizes', 'style']
55
+ self._valid_wildcard_attributes = []
56
+ self.available_properties = ['children', 'id', 'className', 'cursor', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'sizes', 'style']
57
+ self.available_wildcard_properties = []
58
+ _explicit_args = kwargs.pop('_explicit_args')
59
+ _locals = locals()
60
+ _locals.update(kwargs) # For wildcard attrs and excess named props
61
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
62
+
63
+ super(FefferySplit, self).__init__(children=children, **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 FefferySplitPane(Component):
7
+ """A FefferySplitPane 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
+ - className (string; 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
+ - style (dict; optional)"""
32
+ _children_props = []
33
+ _base_nodes = ['children']
34
+ _namespace = 'feffery_utils_components'
35
+ _type = 'FefferySplitPane'
36
+ @_explicitize_args
37
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
+ self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
39
+ self._valid_wildcard_attributes = []
40
+ self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
41
+ self.available_wildcard_properties = []
42
+ _explicit_args = kwargs.pop('_explicit_args')
43
+ _locals = locals()
44
+ _locals.update(kwargs) # For wildcard attrs and excess named props
45
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
46
+
47
+ super(FefferySplitPane, self).__init__(children=children, **args)
@@ -0,0 +1,43 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyStyle(Component):
7
+ """A FefferyStyle component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - loading_state (dict; optional)
15
+
16
+ `loading_state` is a dict with keys:
17
+
18
+ - component_name (string; optional):
19
+ Holds the name of the component that is loading.
20
+
21
+ - is_loading (boolean; optional):
22
+ Determines if the component is loading or not.
23
+
24
+ - prop_name (string; optional):
25
+ Holds which property is loading.
26
+
27
+ - rawStyle (string; optional)"""
28
+ _children_props = []
29
+ _base_nodes = ['children']
30
+ _namespace = 'feffery_utils_components'
31
+ _type = 'FefferyStyle'
32
+ @_explicitize_args
33
+ def __init__(self, id=Component.UNDEFINED, rawStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['id', 'loading_state', 'rawStyle']
35
+ self._valid_wildcard_attributes = []
36
+ self.available_properties = ['id', 'loading_state', 'rawStyle']
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}
42
+
43
+ super(FefferyStyle, 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 FefferySyntaxHighlighter(Component):
7
+ """A FefferySyntaxHighlighter component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - codeBlockStyle (dict; optional)
15
+
16
+ - codeString (string; required)
17
+
18
+ - codeStyle (dict; optional)
19
+
20
+ - codeTheme (a value equal to: 'a11y-dark', 'atom-dark', 'coldark-cold', 'coldark-dark', 'coy', 'coy-without-shadows', 'darcula', 'dracula', 'nord', 'okaidia', 'prism', 'solarizedlight', 'twilight', 'duotone-sea', 'duotone-dark', 'duotone-light', 'duotone-space', 'gh-colors', 'gruvbox-dark', 'material-dark', 'night-owl', 'one-light', 'pojoaque', 'solarized-dark-atom', 'synthwave84', 'z-touch'; default 'gh-colors')
21
+
22
+ - language (string; required)
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
+ - showLineNumbers (boolean; default True)"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferySyntaxHighlighter'
42
+ @_explicitize_args
43
+ def __init__(self, id=Component.UNDEFINED, codeString=Component.REQUIRED, language=Component.REQUIRED, codeTheme=Component.UNDEFINED, codeBlockStyle=Component.UNDEFINED, codeStyle=Component.UNDEFINED, showLineNumbers=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
44
+ self._prop_names = ['id', 'codeBlockStyle', 'codeString', 'codeStyle', 'codeTheme', 'language', 'loading_state', 'showLineNumbers']
45
+ self._valid_wildcard_attributes = []
46
+ self.available_properties = ['id', 'codeBlockStyle', 'codeString', 'codeStyle', 'codeTheme', 'language', 'loading_state', 'showLineNumbers']
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
+ for k in ['codeString', 'language']:
54
+ if k not in args:
55
+ raise TypeError(
56
+ 'Required argument `' + k + '` was not specified.')
57
+
58
+ super(FefferySyntaxHighlighter, self).__init__(**args)
@@ -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 FefferyTimeout(Component):
7
+ """A FefferyTimeout component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - delay (number; 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
+
29
+ - timeoutCount (number; default 0)"""
30
+ _children_props = []
31
+ _base_nodes = ['children']
32
+ _namespace = 'feffery_utils_components'
33
+ _type = 'FefferyTimeout'
34
+ @_explicitize_args
35
+ def __init__(self, id=Component.UNDEFINED, timeoutCount=Component.UNDEFINED, delay=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
+ self._prop_names = ['id', 'delay', 'loading_state', 'timeoutCount']
37
+ self._valid_wildcard_attributes = []
38
+ self.available_properties = ['id', 'delay', 'loading_state', 'timeoutCount']
39
+ self.available_wildcard_properties = []
40
+ _explicit_args = kwargs.pop('_explicit_args')
41
+ _locals = locals()
42
+ _locals.update(kwargs) # For wildcard attrs and excess named props
43
+ args = {k: _locals[k] for k in _explicit_args}
44
+
45
+ super(FefferyTimeout, self).__init__(**args)
@@ -0,0 +1,67 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyTopProgress(Component):
7
+ """A FefferyTopProgress 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; optional)
17
+
18
+ - className (string; optional)
19
+
20
+ - debug (boolean; default False)
21
+
22
+ - easing (string; optional)
23
+
24
+ - excludeProps (list of strings; optional)
25
+
26
+ - includeProps (list of strings; optional)
27
+
28
+ - listenPropsMode (a value equal to: 'default', 'exclude', 'include'; default 'default')
29
+
30
+ - loading_state (dict; optional)
31
+
32
+ `loading_state` is a dict with keys:
33
+
34
+ - component_name (string; optional):
35
+ Holds the name of the component that is loading.
36
+
37
+ - is_loading (boolean; optional):
38
+ Determines if the component is loading or not.
39
+
40
+ - prop_name (string; optional):
41
+ Holds which property is loading.
42
+
43
+ - minimum (number; optional)
44
+
45
+ - showSpinner (boolean; optional)
46
+
47
+ - speed (number; optional)
48
+
49
+ - spinning (boolean; default False)
50
+
51
+ - style (dict; optional)"""
52
+ _children_props = []
53
+ _base_nodes = ['children']
54
+ _namespace = 'feffery_utils_components'
55
+ _type = 'FefferyTopProgress'
56
+ @_explicitize_args
57
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, spinning=Component.UNDEFINED, minimum=Component.UNDEFINED, easing=Component.UNDEFINED, speed=Component.UNDEFINED, showSpinner=Component.UNDEFINED, debug=Component.UNDEFINED, listenPropsMode=Component.UNDEFINED, excludeProps=Component.UNDEFINED, includeProps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
58
+ self._prop_names = ['children', 'id', 'className', 'debug', 'easing', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading_state', 'minimum', 'showSpinner', 'speed', 'spinning', 'style']
59
+ self._valid_wildcard_attributes = []
60
+ self.available_properties = ['children', 'id', 'className', 'debug', 'easing', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading_state', 'minimum', 'showSpinner', 'speed', 'spinning', 'style']
61
+ self.available_wildcard_properties = []
62
+ _explicit_args = kwargs.pop('_explicit_args')
63
+ _locals = locals()
64
+ _locals.update(kwargs) # For wildcard attrs and excess named props
65
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
66
+
67
+ super(FefferyTopProgress, self).__init__(children=children, **args)
@@ -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 FefferyTwitterColorPicker(Component):
7
+ """A FefferyTwitterColorPicker 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 ['#FF6900', '#FCB900', '#7BDCB5', '#00D084', '#8ED1FC', '#0693E3', '#ABB8C3', '#EB144C', '#F78DA7', '#9900EF'])
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 '276px')"""
38
+ _children_props = []
39
+ _base_nodes = ['children']
40
+ _namespace = 'feffery_utils_components'
41
+ _type = 'FefferyTwitterColorPicker'
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}
52
+
53
+ super(FefferyTwitterColorPicker, 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 FefferyVirtualList(Component):
7
+ """A FefferyVirtualList 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
+ - className (string; optional)
17
+
18
+ - height (number; required)
19
+
20
+ - itemHeight (number; required)
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
+ - style (dict; optional)"""
36
+ _children_props = []
37
+ _base_nodes = ['children']
38
+ _namespace = 'feffery_utils_components'
39
+ _type = 'FefferyVirtualList'
40
+ @_explicitize_args
41
+ def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, height=Component.REQUIRED, itemHeight=Component.REQUIRED, loading_state=Component.UNDEFINED, **kwargs):
42
+ self._prop_names = ['children', 'id', 'className', 'height', 'itemHeight', 'loading_state', 'style']
43
+ self._valid_wildcard_attributes = []
44
+ self.available_properties = ['children', 'id', 'className', 'height', 'itemHeight', 'loading_state', 'style']
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
+ for k in ['height', 'itemHeight']:
52
+ if k not in args:
53
+ raise TypeError(
54
+ 'Required argument `' + k + '` was not specified.')
55
+
56
+ super(FefferyVirtualList, self).__init__(children=children, **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 FefferyWheelColorPicker(Component):
7
+ """A FefferyWheelColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - className (string; optional)
15
+
16
+ - color (string; default '#fffc51')
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
+ - style (dict; optional)"""
32
+ _children_props = []
33
+ _base_nodes = ['children']
34
+ _namespace = 'feffery_utils_components'
35
+ _type = 'FefferyWheelColorPicker'
36
+ @_explicitize_args
37
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
38
+ self._prop_names = ['id', 'className', 'color', 'loading_state', 'style']
39
+ self._valid_wildcard_attributes = []
40
+ self.available_properties = ['id', 'className', 'color', 'loading_state', 'style']
41
+ self.available_wildcard_properties = []
42
+ _explicit_args = kwargs.pop('_explicit_args')
43
+ _locals = locals()
44
+ _locals.update(kwargs) # For wildcard attrs and excess named props
45
+ args = {k: _locals[k] for k in _explicit_args}
46
+
47
+ super(FefferyWheelColorPicker, self).__init__(**args)
@@ -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 FefferyWindowSize(Component):
7
+ """A FefferyWindowSize component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (string; optional)
13
+
14
+ - _height (number; optional)
15
+
16
+ - _width (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
+ _children_props = []
31
+ _base_nodes = ['children']
32
+ _namespace = 'feffery_utils_components'
33
+ _type = 'FefferyWindowSize'
34
+ @_explicitize_args
35
+ def __init__(self, id=Component.UNDEFINED, _width=Component.UNDEFINED, _height=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
36
+ self._prop_names = ['id', '_height', '_width', 'loading_state']
37
+ self._valid_wildcard_attributes = []
38
+ self.available_properties = ['id', '_height', '_width', 'loading_state']
39
+ self.available_wildcard_properties = []
40
+ _explicit_args = kwargs.pop('_explicit_args')
41
+ _locals = locals()
42
+ _locals.update(kwargs) # For wildcard attrs and excess named props
43
+ args = {k: _locals[k] for k in _explicit_args}
44
+
45
+ super(FefferyWindowSize, self).__init__(**args)
@@ -0,0 +1,89 @@
1
+ from __future__ import print_function as _
2
+
3
+ import os as _os
4
+ import sys as _sys
5
+ import json
6
+
7
+ import dash as _dash
8
+
9
+ # noinspection PyUnresolvedReferences
10
+ from ._imports_ import *
11
+ from ._imports_ import __all__
12
+
13
+ if not hasattr(_dash, '__plotly_dash') and not hasattr(_dash, 'development'):
14
+ print('Dash was not successfully imported. '
15
+ 'Make sure you don\'t have a file '
16
+ 'named \n"dash.py" in your current directory.', file=_sys.stderr)
17
+ _sys.exit(1)
18
+
19
+ _basepath = _os.path.dirname(__file__)
20
+ _filepath = _os.path.abspath(_os.path.join(_basepath, 'package-info.json'))
21
+ with open(_filepath) as f:
22
+ package = json.load(f)
23
+
24
+ package_name = package['name'].replace(' ', '_').replace('-', '_')
25
+ __version__ = package['version']
26
+
27
+ _current_path = _os.path.dirname(_os.path.abspath(__file__))
28
+
29
+ _this_module = _sys.modules[__name__]
30
+
31
+ async_resources = []
32
+
33
+ _js_dist = []
34
+
35
+ _js_dist.extend(
36
+ [
37
+ {
38
+ "relative_package_path": "async-{}.js".format(async_resource),
39
+ "external_url": (
40
+ "https://unpkg.com/{0}@{2}"
41
+ "/{1}/async-{3}.js"
42
+ ).format(package_name, __name__, __version__, async_resource),
43
+ "namespace": package_name,
44
+ "async": True,
45
+ }
46
+ for async_resource in async_resources
47
+ ]
48
+ )
49
+
50
+ # TODO: Figure out if unpkg link works
51
+ _js_dist.extend(
52
+ [
53
+ {
54
+ "relative_package_path": "async-{}.js.map".format(async_resource),
55
+ "external_url": (
56
+ "https://unpkg.com/{0}@{2}"
57
+ "/{1}/async-{3}.js.map"
58
+ ).format(package_name, __name__, __version__, async_resource),
59
+ "namespace": package_name,
60
+ "dynamic": True,
61
+ }
62
+ for async_resource in async_resources
63
+ ]
64
+ )
65
+
66
+ _js_dist.extend(
67
+ [
68
+ {
69
+ 'relative_package_path': 'feffery_utils_components.min.js',
70
+ 'external_url': 'https://unpkg.com/{0}@{2}/{1}/{1}.min.js'.format(
71
+ package_name, __name__, __version__),
72
+ 'namespace': package_name
73
+ },
74
+ {
75
+ 'relative_package_path': 'feffery_utils_components.min.js.map',
76
+ 'external_url': 'https://unpkg.com/{0}@{2}/{1}/{1}.min.js.map'.format(
77
+ package_name, __name__, __version__),
78
+ 'namespace': package_name,
79
+ 'dynamic': True
80
+ }
81
+ ]
82
+ )
83
+
84
+ _css_dist = []
85
+
86
+
87
+ for _component in __all__:
88
+ setattr(locals()[_component], '_js_dist', _js_dist)
89
+ setattr(locals()[_component], '_css_dist', _css_dist)