feffery_utils_components 0.0.8 → 0.0.9

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: Utility augments components of Dash!
3
- Version: 0.0.8
3
+ Version: 0.0.9
4
4
  Description: Utility augments components of Dash!
5
5
  Depends: R (>= 3.0.2)
6
6
  Imports:
package/NAMESPACE CHANGED
@@ -1,6 +1,7 @@
1
1
  # AUTO GENERATED FILE - DO NOT EDIT
2
2
 
3
3
  export(''FefferyCaptcha)
4
+ export(''FefferyExecuteJs)
4
5
  export(''FefferyGuide)
5
6
  export(''FefferyPasteImage)
6
7
  export(''FefferyShortcutPanel)
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.8"
5
+ version = "0.0.9"
6
6
 
7
7
  [deps]
8
8
  Dash = "1b08a953-4be3-4667-9a23-3db579824955"
@@ -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,69 @@
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
+ @_explicitize_args
54
+ 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):
55
+ self._prop_names = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
56
+ self._type = 'FefferyGuide'
57
+ self._namespace = 'feffery_utils_components'
58
+ self._valid_wildcard_attributes = []
59
+ self.available_properties = ['id', 'arrow', 'className', 'closable', 'hotspot', 'loading_state', 'localKey', 'locale', 'mask', 'maskClassName', 'modalClassName', 'nextText', 'okText', 'prevText', 'setProps', 'showPreviousBtn', 'step', 'stepText', 'steps', 'style']
60
+ self.available_wildcard_properties = []
61
+ _explicit_args = kwargs.pop('_explicit_args')
62
+ _locals = locals()
63
+ _locals.update(kwargs) # For wildcard attrs
64
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
65
+ for k in []:
66
+ if k not in args:
67
+ raise TypeError(
68
+ 'Required argument `' + k + '` was not specified.')
69
+ super(FefferyGuide, 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 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)
@@ -11,15 +11,13 @@ Keyword arguments:
11
11
 
12
12
  - id (optional)
13
13
 
14
- - className (optional)
15
-
16
14
  - data (optional)
17
15
 
18
16
  - disableHotkeys (optional)
19
17
 
20
18
  - loading_state (optional)
21
19
 
22
- - locale (default 'cn')
20
+ - locale (default 'zh')
23
21
 
24
22
  - openHotkey (optional)
25
23
 
@@ -35,12 +33,12 @@ Keyword arguments:
35
33
 
36
34
  - triggeredHotkey (optional)"""
37
35
  @_explicitize_args
38
- def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, data=Component.UNDEFINED, triggeredHotkey=Component.UNDEFINED, placeholder=Component.UNDEFINED, disableHotkeys=Component.UNDEFINED, openHotkey=Component.UNDEFINED, theme=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
39
- self._prop_names = ['id', 'className', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
36
+ def __init__(self, id=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, data=Component.UNDEFINED, triggeredHotkey=Component.UNDEFINED, placeholder=Component.UNDEFINED, disableHotkeys=Component.UNDEFINED, openHotkey=Component.UNDEFINED, theme=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
37
+ self._prop_names = ['id', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
40
38
  self._type = 'FefferyShortcutPanel'
41
39
  self._namespace = 'feffery_utils_components'
42
40
  self._valid_wildcard_attributes = []
43
- self.available_properties = ['id', 'className', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
41
+ self.available_properties = ['id', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
44
42
  self.available_wildcard_properties = []
45
43
  _explicit_args = kwargs.pop('_explicit_args')
46
44
  _locals = locals()
@@ -0,0 +1,59 @@
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 (optional)
13
+
14
+ - id (optional)
15
+
16
+ - className (optional)
17
+
18
+ - cursor (optional)
19
+
20
+ - defaultSizes (optional)
21
+
22
+ - direction (default 'horizontal')
23
+
24
+ - dragInterval (optional)
25
+
26
+ - expandToMin (optional)
27
+
28
+ - gutterSize (optional)
29
+
30
+ - loading_state (optional)
31
+
32
+ - maxSize (optional)
33
+
34
+ - minSize (optional)
35
+
36
+ - setProps (optional):
37
+ Dash-assigned callback that should be called to report property
38
+ changes to Dash, to make them available for callbacks.
39
+
40
+ - sizes (optional)
41
+
42
+ - style (optional)"""
43
+ @_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']
46
+ self._type = 'FefferySplit'
47
+ self._namespace = 'feffery_utils_components'
48
+ self._valid_wildcard_attributes = []
49
+ self.available_properties = ['children', 'id', 'className', 'cursor', 'defaultSizes', 'direction', 'dragInterval', 'expandToMin', 'gutterSize', 'loading_state', 'maxSize', 'minSize', 'setProps', 'sizes', 'style']
50
+ self.available_wildcard_properties = []
51
+ _explicit_args = kwargs.pop('_explicit_args')
52
+ _locals = locals()
53
+ _locals.update(kwargs) # For wildcard attrs
54
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
55
+ for k in []:
56
+ if k not in args:
57
+ raise TypeError(
58
+ 'Required argument `' + k + '` was not specified.')
59
+ super(FefferySplit, self).__init__(children=children, **args)
@@ -0,0 +1,48 @@
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
+ @_explicitize_args
33
+ def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
34
+ self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
35
+ self._type = 'FefferySplitPane'
36
+ self._namespace = 'feffery_utils_components'
37
+ self._valid_wildcard_attributes = []
38
+ self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
39
+ self.available_wildcard_properties = []
40
+ _explicit_args = kwargs.pop('_explicit_args')
41
+ _locals = locals()
42
+ _locals.update(kwargs) # For wildcard attrs
43
+ args = {k: _locals[k] for k in _explicit_args if k != 'children'}
44
+ for k in []:
45
+ if k not in args:
46
+ raise TypeError(
47
+ 'Required argument `' + k + '` was not specified.')
48
+ super(FefferySplitPane, self).__init__(children=children, **args)
@@ -1,15 +1,21 @@
1
1
  from .FefferyCaptcha import FefferyCaptcha
2
+ from .FefferyGuide import FefferyGuide
2
3
  from .FefferyPasteImage import FefferyPasteImage
3
4
  from .FefferyShortcutPanel import FefferyShortcutPanel
4
5
  from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
5
6
  from .FefferyTopProgress import FefferyTopProgress
6
7
  from .FefferyWaterMark import FefferyWaterMark
8
+ from .FefferySplit import FefferySplit
9
+ from .FefferySplitPane import FefferySplitPane
7
10
 
8
11
  __all__ = [
9
12
  "FefferyCaptcha",
13
+ "FefferyGuide",
10
14
  "FefferyPasteImage",
11
15
  "FefferyShortcutPanel",
12
16
  "FefferySyntaxHighlighter",
13
17
  "FefferyTopProgress",
14
- "FefferyWaterMark"
18
+ "FefferyWaterMark",
19
+ "FefferySplit",
20
+ "FefferySplitPane"
15
21
  ]