feffery_utils_components 0.0.8 → 0.0.12

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 (56) hide show
  1. package/DESCRIPTION +1 -1
  2. package/NAMESPACE +5 -5
  3. package/Project.toml +1 -1
  4. package/build/lib/feffery_utils_components/FefferyCircleColorPicker.py +45 -0
  5. package/build/lib/feffery_utils_components/FefferyColorPicker.py +37 -0
  6. package/build/lib/feffery_utils_components/FefferyDashboard.py +39 -0
  7. package/build/lib/feffery_utils_components/FefferyExecuteJs.py +33 -0
  8. package/build/lib/feffery_utils_components/FefferyExtraSpinner.py +47 -0
  9. package/build/lib/feffery_utils_components/FefferyGuide.py +69 -0
  10. package/build/lib/feffery_utils_components/FefferyResizable.py +39 -0
  11. package/build/lib/feffery_utils_components/FefferyScroll.py +55 -0
  12. package/build/lib/feffery_utils_components/FefferyScrollbars.py +49 -0
  13. package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +4 -6
  14. package/build/lib/feffery_utils_components/FefferySplit.py +57 -0
  15. package/build/lib/feffery_utils_components/FefferySplitPane.py +48 -0
  16. package/build/lib/feffery_utils_components/_imports_.py +16 -4
  17. package/build/lib/feffery_utils_components/feffery_utils_components.min.js +31 -27
  18. package/build/lib/feffery_utils_components/metadata.json +669 -90
  19. package/build/lib/feffery_utils_components/package-info.json +10 -6
  20. package/feffery_utils_components/FefferyCircleColorPicker.py +45 -0
  21. package/feffery_utils_components/FefferyColorPicker.py +37 -0
  22. package/feffery_utils_components/FefferyExecuteJs.py +33 -0
  23. package/feffery_utils_components/FefferyExtraSpinner.py +47 -0
  24. package/feffery_utils_components/FefferyScroll.py +55 -0
  25. package/feffery_utils_components/FefferyScrollbars.py +49 -0
  26. package/feffery_utils_components/FefferySplit.py +3 -5
  27. package/feffery_utils_components/_imports_.py +10 -4
  28. package/feffery_utils_components/feffery_utils_components.min.js +31 -27
  29. package/feffery_utils_components/metadata.json +386 -171
  30. package/feffery_utils_components/package-info.json +6 -6
  31. package/package.json +6 -6
  32. package/src/FefferyUtilsComponents.jl +8 -5
  33. package/src/jl/''_fefferycirclecolorpicker.jl +26 -0
  34. package/src/jl/''_fefferycolorpicker.jl +22 -0
  35. package/src/jl/''_fefferyexecutejs.jl +20 -0
  36. package/src/jl/''_fefferyextraspinner.jl +27 -0
  37. package/src/jl/''_fefferyscroll.jl +31 -0
  38. package/src/jl/''_fefferyscrollbars.jl +34 -0
  39. package/src/jl/''_fefferysplit.jl +1 -2
  40. package/src/lib/components/FefferyCaptcha.react.js +6 -2
  41. package/src/lib/components/FefferyExecuteJs.react.js +18 -7
  42. package/src/lib/components/FefferyExtraSpinner.react.js +373 -0
  43. package/src/lib/components/FefferyGuide.react.js +11 -4
  44. package/src/lib/components/FefferyScroll.react.js +170 -0
  45. package/src/lib/components/FefferyScrollbars.react.js +104 -0
  46. package/src/lib/components/FefferyShortcutPanel.react.js +5 -1
  47. package/src/lib/components/FefferySyntaxHighlighter.react.js +6 -2
  48. package/src/lib/components/FefferyTopProgress.react.js +3 -3
  49. package/src/lib/components/colorPickers/FefferyCircleColorPicker.react.js +88 -0
  50. package/src/lib/components/nprogress.css +84 -0
  51. package/src/lib/components/split/FefferySplit.react.js +2 -43
  52. package/src/lib/components/styles.css +32 -8
  53. package/src/lib/index.js +9 -6
  54. package/usage.py +107 -37
  55. package/src/lib/components/FefferyPasteImage.react.js +0 -168
  56. package/src/lib/components/FefferyWaterMark.react.js +0 -112
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "feffery_utils_components",
3
- "version": "0.0.7",
3
+ "version": "0.0.12",
4
4
  "description": "Utility augments components of Dash!",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,19 +22,23 @@
22
22
  "author": "CNFeffery <fefferypzy@gmail.com>",
23
23
  "license": "MIT",
24
24
  "dependencies": {
25
- "@ant-design/pro-layout": "^6.24.0",
26
25
  "@charliewilco/gluejar": "^1.0.0",
27
- "github-markdown-css": "^5.0.0",
26
+ "byte-guide": "^1.0.7",
27
+ "file-loader": "^6.2.0",
28
28
  "less": "^3.13.1",
29
29
  "less-loader": "^5.0.0",
30
30
  "ninja-keys": "^1.1.12",
31
31
  "nprogress": "^0.2.0",
32
32
  "ramda": "^0.26.1",
33
33
  "react-captcha-code": "^1.0.7",
34
- "react-contexify": "^5.0.0",
34
+ "react-color": "^2.19.3",
35
35
  "react-copy-to-clipboard": "^5.0.4",
36
36
  "react-icons": "^4.3.1",
37
- "react-syntax-highlighter": "^15.4.4"
37
+ "react-scroll": "^1.8.6",
38
+ "react-spinners-kit": "^1.9.1",
39
+ "react-split": "^2.0.14",
40
+ "react-syntax-highlighter": "^15.4.4",
41
+ "simplebar-react": "^2.3.7"
38
42
  },
39
43
  "devDependencies": {
40
44
  "@babel/core": "^7.5.4",
@@ -77,4 +81,4 @@
77
81
  "node": ">=8.11.0",
78
82
  "npm": ">=6.1.0"
79
83
  }
80
- }
84
+ }
@@ -0,0 +1,45 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyCircleColorPicker(Component):
7
+ """A FefferyCircleColorPicker component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (optional)
13
+
14
+ - circleSize (optional)
15
+
16
+ - circleSpacing (optional)
17
+
18
+ - className (optional)
19
+
20
+ - color (optional)
21
+
22
+ - colors (optional)
23
+
24
+ - loading_state (optional)
25
+
26
+ - style (optional)
27
+
28
+ - width (optional)"""
29
+ @_explicitize_args
30
+ def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, width=Component.UNDEFINED, colors=Component.UNDEFINED, circleSize=Component.UNDEFINED, circleSpacing=Component.UNDEFINED, color=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
31
+ self._prop_names = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
32
+ self._type = 'FefferyCircleColorPicker'
33
+ self._namespace = 'feffery_utils_components'
34
+ self._valid_wildcard_attributes = []
35
+ self.available_properties = ['id', 'circleSize', 'circleSpacing', 'className', 'color', 'colors', 'loading_state', 'style', 'width']
36
+ self.available_wildcard_properties = []
37
+ _explicit_args = kwargs.pop('_explicit_args')
38
+ _locals = locals()
39
+ _locals.update(kwargs) # For wildcard attrs
40
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
41
+ for k in []:
42
+ if k not in args:
43
+ raise TypeError(
44
+ 'Required argument `' + k + '` was not specified.')
45
+ super(FefferyCircleColorPicker, self).__init__(**args)
@@ -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,33 @@
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
+ @_explicitize_args
18
+ def __init__(self, id=Component.UNDEFINED, jsString=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
19
+ self._prop_names = ['id', 'jsString', 'loading_state']
20
+ self._type = 'FefferyExecuteJs'
21
+ self._namespace = 'feffery_utils_components'
22
+ self._valid_wildcard_attributes = []
23
+ self.available_properties = ['id', 'jsString', 'loading_state']
24
+ self.available_wildcard_properties = []
25
+ _explicit_args = kwargs.pop('_explicit_args')
26
+ _locals = locals()
27
+ _locals.update(kwargs) # For wildcard attrs
28
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
29
+ for k in []:
30
+ if k not in args:
31
+ raise TypeError(
32
+ 'Required argument `' + k + '` was not specified.')
33
+ super(FefferyExecuteJs, 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 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
+ @_explicitize_args
32
+ 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):
33
+ self._prop_names = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
34
+ self._type = 'FefferyExtraSpinner'
35
+ self._namespace = 'feffery_utils_components'
36
+ self._valid_wildcard_attributes = []
37
+ self.available_properties = ['id', 'backColor', 'className', 'color', 'frontColor', 'loading_state', 'size', 'sizeUnit', 'style', 'type']
38
+ self.available_wildcard_properties = []
39
+ _explicit_args = kwargs.pop('_explicit_args')
40
+ _locals = locals()
41
+ _locals.update(kwargs) # For wildcard attrs
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(FefferyExtraSpinner, self).__init__(**args)
@@ -0,0 +1,55 @@
1
+ # AUTO GENERATED FILE - DO NOT EDIT
2
+
3
+ from dash.development.base_component import Component, _explicitize_args
4
+
5
+
6
+ class FefferyScroll(Component):
7
+ """A FefferyScroll component.
8
+
9
+
10
+ Keyword arguments:
11
+
12
+ - id (optional)
13
+
14
+ - containerId (optional)
15
+
16
+ - delay (optional)
17
+
18
+ - duration (optional)
19
+
20
+ - executeScroll (default False)
21
+
22
+ - loading_state (optional)
23
+
24
+ - offset (optional)
25
+
26
+ - scrollMode (default 'to-top')
27
+
28
+ - scrollRelativeOffset (optional)
29
+
30
+ - scrollTargetId (optional)
31
+
32
+ - scrollTopOffset (optional)
33
+
34
+ - setProps (optional):
35
+ Dash-assigned callback that should be called to report property
36
+ changes to Dash, to make them available for callbacks.
37
+
38
+ - smooth (optional)"""
39
+ @_explicitize_args
40
+ def __init__(self, id=Component.UNDEFINED, scrollMode=Component.UNDEFINED, executeScroll=Component.UNDEFINED, scrollTopOffset=Component.UNDEFINED, scrollRelativeOffset=Component.UNDEFINED, scrollTargetId=Component.UNDEFINED, duration=Component.UNDEFINED, smooth=Component.UNDEFINED, delay=Component.UNDEFINED, containerId=Component.UNDEFINED, offset=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
41
+ self._prop_names = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
42
+ self._type = 'FefferyScroll'
43
+ self._namespace = 'feffery_utils_components'
44
+ self._valid_wildcard_attributes = []
45
+ self.available_properties = ['id', 'containerId', 'delay', 'duration', 'executeScroll', 'loading_state', 'offset', 'scrollMode', 'scrollRelativeOffset', 'scrollTargetId', 'scrollTopOffset', 'setProps', 'smooth']
46
+ self.available_wildcard_properties = []
47
+ _explicit_args = kwargs.pop('_explicit_args')
48
+ _locals = locals()
49
+ _locals.update(kwargs) # For wildcard attrs
50
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
51
+ for k in []:
52
+ if k not in args:
53
+ raise TypeError(
54
+ 'Required argument `' + k + '` was not specified.')
55
+ super(FefferyScroll, self).__init__(**args)
@@ -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 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
+ @_explicitize_args
34
+ 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):
35
+ self._prop_names = ['children', 'id', 'autoHide', 'className', 'classNames', 'forceVisible', 'loading_state', 'scrollbarMaxSize', 'scrollbarMinSize', 'style', 'timeout']
36
+ self._type = 'FefferyScrollbars'
37
+ self._namespace = 'feffery_utils_components'
38
+ self._valid_wildcard_attributes = []
39
+ self.available_properties = ['children', 'id', 'autoHide', 'className', 'classNames', 'forceVisible', 'loading_state', 'scrollbarMaxSize', 'scrollbarMinSize', 'style', 'timeout']
40
+ self.available_wildcard_properties = []
41
+ _explicit_args = kwargs.pop('_explicit_args')
42
+ _locals = locals()
43
+ _locals.update(kwargs) # For wildcard attrs
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(FefferyScrollbars, self).__init__(children=children, **args)
@@ -17,8 +17,6 @@ Keyword arguments:
17
17
 
18
18
  - cursor (optional)
19
19
 
20
- - defaultSizes (optional)
21
-
22
20
  - direction (default 'horizontal')
23
21
 
24
22
  - dragInterval (optional)
@@ -41,12 +39,12 @@ Keyword arguments:
41
39
 
42
40
  - style (optional)"""
43
41
  @_explicitize_args
44
- def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultSizes=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):
45
- self._prop_names = ['children', 'id', 'className', 'cursor', 'defaultSizes', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
42
+ 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):
43
+ self._prop_names = ['children', 'id', 'className', 'cursor', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
46
44
  self._type = 'FefferySplit'
47
45
  self._namespace = 'feffery_utils_components'
48
46
  self._valid_wildcard_attributes = []
49
- self.available_properties = ['children', 'id', 'className', 'cursor', 'defaultSizes', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
47
+ self.available_properties = ['children', 'id', 'className', 'cursor', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
50
48
  self.available_wildcard_properties = []
51
49
  _explicit_args = kwargs.pop('_explicit_args')
52
50
  _locals = locals()
@@ -1,21 +1,27 @@
1
+ from .FefferyCircleColorPicker import FefferyCircleColorPicker
1
2
  from .FefferyCaptcha import FefferyCaptcha
3
+ from .FefferyExecuteJs import FefferyExecuteJs
4
+ from .FefferyExtraSpinner import FefferyExtraSpinner
2
5
  from .FefferyGuide import FefferyGuide
3
- from .FefferyPasteImage import FefferyPasteImage
6
+ from .FefferyScroll import FefferyScroll
7
+ from .FefferyScrollbars import FefferyScrollbars
4
8
  from .FefferyShortcutPanel import FefferyShortcutPanel
5
9
  from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
6
10
  from .FefferyTopProgress import FefferyTopProgress
7
- from .FefferyWaterMark import FefferyWaterMark
8
11
  from .FefferySplit import FefferySplit
9
12
  from .FefferySplitPane import FefferySplitPane
10
13
 
11
14
  __all__ = [
15
+ "FefferyCircleColorPicker",
12
16
  "FefferyCaptcha",
17
+ "FefferyExecuteJs",
18
+ "FefferyExtraSpinner",
13
19
  "FefferyGuide",
14
- "FefferyPasteImage",
20
+ "FefferyScroll",
21
+ "FefferyScrollbars",
15
22
  "FefferyShortcutPanel",
16
23
  "FefferySyntaxHighlighter",
17
24
  "FefferyTopProgress",
18
- "FefferyWaterMark",
19
25
  "FefferySplit",
20
26
  "FefferySplitPane"
21
27
  ]