feffery_utils_components 0.0.7 → 0.0.8
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 +1 -1
- package/NAMESPACE +6 -1
- package/Project.toml +2 -2
- package/build/lib/feffery_utils_components/FefferyShortcutPanel.py +53 -0
- package/build/lib/feffery_utils_components/_imports_.py +2 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +404 -1
- package/build/lib/feffery_utils_components/metadata.json +111 -0
- package/build/lib/feffery_utils_components/package-info.json +2 -1
- package/feffery_utils_components/FefferyDashboard.py +39 -0
- package/feffery_utils_components/FefferyGuide.py +69 -0
- package/feffery_utils_components/FefferyResizable.py +39 -0
- package/feffery_utils_components/FefferyShortcutPanel.py +4 -6
- package/feffery_utils_components/FefferySplit.py +59 -0
- package/feffery_utils_components/FefferySplitPane.py +48 -0
- package/feffery_utils_components/_imports_.py +7 -1
- package/feffery_utils_components/feffery_utils_components.min.js +6 -6
- package/feffery_utils_components/metadata.json +374 -10
- package/feffery_utils_components/package-info.json +6 -2
- package/package.json +6 -2
- package/src/FefferyUtilsComponents.jl +6 -3
- package/src/jl/''_fefferydashboard.jl +23 -0
- package/src/jl/''_fefferyguide.jl +38 -0
- package/src/jl/''_fefferyresizable.jl +23 -0
- package/src/jl/''_fefferyshortcutpanel.jl +1 -2
- package/src/jl/''_fefferysplit.jl +39 -0
- package/src/jl/''_fefferysplitpane.jl +32 -0
- package/src/lib/components/FefferyExecuteJs.react.js +45 -0
- package/src/lib/components/FefferyGuide.react.js +174 -0
- package/src/lib/components/FefferyShortcutPanel.react.js +5 -9
- package/src/lib/components/split/FefferySplit.react.js +199 -0
- package/src/lib/components/split/FefferySplitPane.react.js +75 -0
- package/src/lib/components/styles.css +31 -1
- package/src/lib/index.js +9 -1
- package/usage.py +94 -2
- package/webpack.config.js +2 -0
- package/feffery_utils_components/feffery_utils_components.min.js.LICENSE.txt +0 -102
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
export(''FefferyCaptcha)
|
|
4
|
+
export(''FefferyGuide)
|
|
4
5
|
export(''FefferyPasteImage)
|
|
5
6
|
export(''FefferyShortcutPanel)
|
|
6
7
|
export(''FefferySyntaxHighlighter)
|
|
7
8
|
export(''FefferyTopProgress)
|
|
8
9
|
export(''FefferyWaterMark)
|
|
9
|
-
export(
|
|
10
|
+
export(''FefferySplit)
|
|
11
|
+
export(''FefferySplitPane)
|
|
12
|
+
export(FefferyDashboard)
|
|
13
|
+
export(FefferyKeyboardShortcut)
|
|
14
|
+
export(FefferyResizable)
|
package/Project.toml
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
name = "FefferyUtilsComponents"
|
|
3
3
|
uuid = "1b08a953-4be3-4667-9a23-ea89cd6d0d23"
|
|
4
4
|
authors = ["CNFeffery <fefferypzy@gmail.com>"]
|
|
5
|
-
version = "0.0.
|
|
5
|
+
version = "0.0.8"
|
|
6
6
|
|
|
7
7
|
[deps]
|
|
8
8
|
Dash = "1b08a953-4be3-4667-9a23-3db579824955"
|
|
9
9
|
|
|
10
10
|
[compat]
|
|
11
11
|
julia = "1.2"
|
|
12
|
-
Dash = "0.1.3"
|
|
12
|
+
Dash = "0.1.3, 1.0"
|
|
@@ -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 FefferyShortcutPanel(Component):
|
|
7
|
+
"""A FefferyShortcutPanel component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (optional)
|
|
13
|
+
|
|
14
|
+
- className (optional)
|
|
15
|
+
|
|
16
|
+
- data (optional)
|
|
17
|
+
|
|
18
|
+
- disableHotkeys (optional)
|
|
19
|
+
|
|
20
|
+
- loading_state (optional)
|
|
21
|
+
|
|
22
|
+
- locale (default 'cn')
|
|
23
|
+
|
|
24
|
+
- openHotkey (optional)
|
|
25
|
+
|
|
26
|
+
- placeholder (optional)
|
|
27
|
+
|
|
28
|
+
- setProps (optional):
|
|
29
|
+
Dash-assigned callback that should be called to report property
|
|
30
|
+
changes to Dash, to make them available for callbacks.
|
|
31
|
+
|
|
32
|
+
- style (optional)
|
|
33
|
+
|
|
34
|
+
- theme (default 'light')
|
|
35
|
+
|
|
36
|
+
- triggeredHotkey (optional)"""
|
|
37
|
+
@_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']
|
|
40
|
+
self._type = 'FefferyShortcutPanel'
|
|
41
|
+
self._namespace = 'feffery_utils_components'
|
|
42
|
+
self._valid_wildcard_attributes = []
|
|
43
|
+
self.available_properties = ['id', 'className', 'data', 'disableHotkeys', 'loading_state', 'locale', 'openHotkey', 'placeholder', 'setProps', 'style', 'theme', 'triggeredHotkey']
|
|
44
|
+
self.available_wildcard_properties = []
|
|
45
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
46
|
+
_locals = locals()
|
|
47
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
48
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
49
|
+
for k in []:
|
|
50
|
+
if k not in args:
|
|
51
|
+
raise TypeError(
|
|
52
|
+
'Required argument `' + k + '` was not specified.')
|
|
53
|
+
super(FefferyShortcutPanel, self).__init__(**args)
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
from .FefferyCaptcha import FefferyCaptcha
|
|
2
2
|
from .FefferyPasteImage import FefferyPasteImage
|
|
3
|
+
from .FefferyShortcutPanel import FefferyShortcutPanel
|
|
3
4
|
from .FefferySyntaxHighlighter import FefferySyntaxHighlighter
|
|
4
5
|
from .FefferyTopProgress import FefferyTopProgress
|
|
5
6
|
from .FefferyWaterMark import FefferyWaterMark
|
|
@@ -7,6 +8,7 @@ from .FefferyWaterMark import FefferyWaterMark
|
|
|
7
8
|
__all__ = [
|
|
8
9
|
"FefferyCaptcha",
|
|
9
10
|
"FefferyPasteImage",
|
|
11
|
+
"FefferyShortcutPanel",
|
|
10
12
|
"FefferySyntaxHighlighter",
|
|
11
13
|
"FefferyTopProgress",
|
|
12
14
|
"FefferyWaterMark"
|