feffery_utils_components 0.1.15 → 0.1.16
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 +2 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_utils_components/FefferyDeviceDetect.py +75 -0
- package/build/lib/feffery_utils_components/FefferyFullscreen.py +50 -0
- package/build/lib/feffery_utils_components/FefferyJsonViewer.py +2 -7
- package/build/lib/feffery_utils_components/_imports_.py +4 -0
- package/build/lib/feffery_utils_components/feffery_utils_components.min.js +13 -13
- package/build/lib/feffery_utils_components/metadata.json +178 -1
- package/build/lib/feffery_utils_components/package-info.json +3 -2
- package/feffery_utils_components/FefferyDeviceDetect.py +75 -0
- package/feffery_utils_components/FefferyFullscreen.py +50 -0
- package/feffery_utils_components/FefferyJsonViewer.py +2 -7
- package/feffery_utils_components/_imports_.py +4 -0
- package/feffery_utils_components/feffery_utils_components.min.js +13 -13
- package/feffery_utils_components/metadata.json +178 -1
- package/feffery_utils_components/package-info.json +3 -2
- package/package.json +3 -2
- package/src/FefferyUtilsComponents.jl +5 -3
- package/src/jl/''_fefferydevicedetect.jl +40 -0
- package/src/jl/''_fefferyfullscreen.jl +25 -0
- package/src/jl/''_fefferyjsonviewer.jl +1 -1
- package/src/lib/components/FefferyFullscreen.react.js +92 -0
- package/src/lib/components/FefferyJsonViewer.react.js +1 -1
- package/src/lib/components/listeners/FefferyDeviceDetect.react.js +127 -0
- package/src/lib/index.js +5 -1
- package/src/lib/utils/gluejar/LICENSE +21 -21
- package/src/lib/utils/gluejar/Readme.md +58 -58
- package/src/lib/utils/gluejar/dist/index.d.ts +32 -32
- package/src/lib/utils/gluejar/dist/index.js +91 -91
- package/src/lib/utils/gluejar/package.json +53 -53
- package/src/lib/utils/gluejar/src/index.tsx +98 -98
- package/src/lib/utils/gluejar/tsconfig.json +21 -21
- package/src/lib/utils/react-json-view/.eslintrc.json +20 -20
- package/src/lib/utils/react-json-view/.prettierrc.json +14 -14
- package/src/lib/utils/react-json-view/LICENSE +21 -21
- package/src/lib/utils/react-json-view/README.md +148 -148
- package/src/lib/utils/react-json-view/index.d.ts +289 -289
- package/src/lib/utils/react-json-view/package.json +105 -105
- package/tests/FullscreenTest/app.py +54 -0
- package/usage.py +15 -11
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -21,6 +21,7 @@ export(''FefferyExtraSpinner)
|
|
|
21
21
|
export(''FefferyFancyButton)
|
|
22
22
|
export(''FefferyFancyMessage)
|
|
23
23
|
export(''FefferyFancyNotification)
|
|
24
|
+
export(''FefferyFullscreen)
|
|
24
25
|
export(''FefferyGuide)
|
|
25
26
|
export(''FefferyHighlightWords)
|
|
26
27
|
export(''FefferyImagePaste)
|
|
@@ -42,6 +43,7 @@ export(''FefferyTimeout)
|
|
|
42
43
|
export(''FefferyTopProgress)
|
|
43
44
|
export(''FefferyVirtualList)
|
|
44
45
|
export(''FefferyWebSocket)
|
|
46
|
+
export(''FefferyDeviceDetect)
|
|
45
47
|
export(''FefferyDocumentVisibility)
|
|
46
48
|
export(''FefferyGeolocation)
|
|
47
49
|
export(''FefferyIdle)
|
package/Project.toml
CHANGED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyDeviceDetect(Component):
|
|
7
|
+
"""A FefferyDeviceDetect component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- deviceInfo (dict; optional)
|
|
15
|
+
|
|
16
|
+
`deviceInfo` is a dict with keys:
|
|
17
|
+
|
|
18
|
+
- browserName (string; optional)
|
|
19
|
+
|
|
20
|
+
- browserVersion (string; optional)
|
|
21
|
+
|
|
22
|
+
- deviceType (string; optional)
|
|
23
|
+
|
|
24
|
+
- fullBrowserVersion (string; optional)
|
|
25
|
+
|
|
26
|
+
- isAndroid (boolean; optional)
|
|
27
|
+
|
|
28
|
+
- isChrome (boolean; optional)
|
|
29
|
+
|
|
30
|
+
- isEdge (boolean; optional)
|
|
31
|
+
|
|
32
|
+
- isFirefox (boolean; optional)
|
|
33
|
+
|
|
34
|
+
- isIE (boolean; optional)
|
|
35
|
+
|
|
36
|
+
- isIOS (boolean; optional)
|
|
37
|
+
|
|
38
|
+
- isMobile (boolean; optional)
|
|
39
|
+
|
|
40
|
+
- isSafari (boolean; optional)
|
|
41
|
+
|
|
42
|
+
- osName (string; optional)
|
|
43
|
+
|
|
44
|
+
- osVersion (string; optional)
|
|
45
|
+
|
|
46
|
+
- ua (string; optional)
|
|
47
|
+
|
|
48
|
+
- loading_state (dict; optional)
|
|
49
|
+
|
|
50
|
+
`loading_state` is a dict with keys:
|
|
51
|
+
|
|
52
|
+
- component_name (string; optional):
|
|
53
|
+
Holds the name of the component that is loading.
|
|
54
|
+
|
|
55
|
+
- is_loading (boolean; optional):
|
|
56
|
+
Determines if the component is loading or not.
|
|
57
|
+
|
|
58
|
+
- prop_name (string; optional):
|
|
59
|
+
Holds which property is loading."""
|
|
60
|
+
_children_props = []
|
|
61
|
+
_base_nodes = ['children']
|
|
62
|
+
_namespace = 'feffery_utils_components'
|
|
63
|
+
_type = 'FefferyDeviceDetect'
|
|
64
|
+
@_explicitize_args
|
|
65
|
+
def __init__(self, id=Component.UNDEFINED, deviceInfo=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
66
|
+
self._prop_names = ['id', 'deviceInfo', 'loading_state']
|
|
67
|
+
self._valid_wildcard_attributes = []
|
|
68
|
+
self.available_properties = ['id', 'deviceInfo', 'loading_state']
|
|
69
|
+
self.available_wildcard_properties = []
|
|
70
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
71
|
+
_locals = locals()
|
|
72
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
73
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
74
|
+
|
|
75
|
+
super(FefferyDeviceDetect, self).__init__(**args)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class FefferyFullscreen(Component):
|
|
7
|
+
"""A FefferyFullscreen component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- isFullscreen (boolean; default False)
|
|
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
|
+
- targetId (string; required)"""
|
|
30
|
+
_children_props = []
|
|
31
|
+
_base_nodes = ['children']
|
|
32
|
+
_namespace = 'feffery_utils_components'
|
|
33
|
+
_type = 'FefferyFullscreen'
|
|
34
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, id=Component.UNDEFINED, targetId=Component.REQUIRED, isFullscreen=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['id', 'isFullscreen', 'loading_state', 'targetId']
|
|
37
|
+
self._valid_wildcard_attributes = []
|
|
38
|
+
self.available_properties = ['id', 'isFullscreen', 'loading_state', 'targetId']
|
|
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
|
+
for k in ['targetId']:
|
|
46
|
+
if k not in args:
|
|
47
|
+
raise TypeError(
|
|
48
|
+
'Required argument `' + k + '` was not specified.')
|
|
49
|
+
|
|
50
|
+
super(FefferyFullscreen, self).__init__(**args)
|
|
@@ -19,7 +19,7 @@ Keyword arguments:
|
|
|
19
19
|
|
|
20
20
|
- collapsed (boolean | number; default False)
|
|
21
21
|
|
|
22
|
-
- data (dict;
|
|
22
|
+
- data (dict; optional)
|
|
23
23
|
|
|
24
24
|
- deletable (boolean; default False)
|
|
25
25
|
|
|
@@ -66,7 +66,7 @@ Keyword arguments:
|
|
|
66
66
|
_namespace = 'feffery_utils_components'
|
|
67
67
|
_type = 'FefferyJsonViewer'
|
|
68
68
|
@_explicitize_args
|
|
69
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, data=Component.
|
|
69
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, data=Component.UNDEFINED, theme=Component.UNDEFINED, indent=Component.UNDEFINED, iconStyle=Component.UNDEFINED, collapsed=Component.UNDEFINED, collapseStringsAfterLength=Component.UNDEFINED, groupArraysAfterLength=Component.UNDEFINED, enableClipboard=Component.UNDEFINED, displayObjectSize=Component.UNDEFINED, displayDataTypes=Component.UNDEFINED, editable=Component.UNDEFINED, addible=Component.UNDEFINED, deletable=Component.UNDEFINED, sortKeys=Component.UNDEFINED, quotesOnKeys=Component.UNDEFINED, displayArrayKey=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
70
|
self._prop_names = ['id', 'addible', 'className', 'collapseStringsAfterLength', 'collapsed', 'data', 'deletable', 'displayArrayKey', 'displayDataTypes', 'displayObjectSize', 'editable', 'enableClipboard', 'groupArraysAfterLength', 'iconStyle', 'indent', 'key', 'loading_state', 'quotesOnKeys', 'sortKeys', 'style', 'theme']
|
|
71
71
|
self._valid_wildcard_attributes = []
|
|
72
72
|
self.available_properties = ['id', 'addible', 'className', 'collapseStringsAfterLength', 'collapsed', 'data', 'deletable', 'displayArrayKey', 'displayDataTypes', 'displayObjectSize', 'editable', 'enableClipboard', 'groupArraysAfterLength', 'iconStyle', 'indent', 'key', 'loading_state', 'quotesOnKeys', 'sortKeys', 'style', 'theme']
|
|
@@ -76,9 +76,4 @@ Keyword arguments:
|
|
|
76
76
|
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
77
77
|
args = {k: _locals[k] for k in _explicit_args}
|
|
78
78
|
|
|
79
|
-
for k in ['data']:
|
|
80
|
-
if k not in args:
|
|
81
|
-
raise TypeError(
|
|
82
|
-
'Required argument `' + k + '` was not specified.')
|
|
83
|
-
|
|
84
79
|
super(FefferyJsonViewer, self).__init__(**args)
|
|
@@ -19,6 +19,7 @@ from .FefferyExtraSpinner import FefferyExtraSpinner
|
|
|
19
19
|
from .FefferyFancyButton import FefferyFancyButton
|
|
20
20
|
from .FefferyFancyMessage import FefferyFancyMessage
|
|
21
21
|
from .FefferyFancyNotification import FefferyFancyNotification
|
|
22
|
+
from .FefferyFullscreen import FefferyFullscreen
|
|
22
23
|
from .FefferyGuide import FefferyGuide
|
|
23
24
|
from .FefferyHighlightWords import FefferyHighlightWords
|
|
24
25
|
from .FefferyImagePaste import FefferyImagePaste
|
|
@@ -40,6 +41,7 @@ from .FefferyTimeout import FefferyTimeout
|
|
|
40
41
|
from .FefferyTopProgress import FefferyTopProgress
|
|
41
42
|
from .FefferyVirtualList import FefferyVirtualList
|
|
42
43
|
from .FefferyWebSocket import FefferyWebSocket
|
|
44
|
+
from .FefferyDeviceDetect import FefferyDeviceDetect
|
|
43
45
|
from .FefferyDocumentVisibility import FefferyDocumentVisibility
|
|
44
46
|
from .FefferyGeolocation import FefferyGeolocation
|
|
45
47
|
from .FefferyIdle import FefferyIdle
|
|
@@ -75,6 +77,7 @@ __all__ = [
|
|
|
75
77
|
"FefferyFancyButton",
|
|
76
78
|
"FefferyFancyMessage",
|
|
77
79
|
"FefferyFancyNotification",
|
|
80
|
+
"FefferyFullscreen",
|
|
78
81
|
"FefferyGuide",
|
|
79
82
|
"FefferyHighlightWords",
|
|
80
83
|
"FefferyImagePaste",
|
|
@@ -96,6 +99,7 @@ __all__ = [
|
|
|
96
99
|
"FefferyTopProgress",
|
|
97
100
|
"FefferyVirtualList",
|
|
98
101
|
"FefferyWebSocket",
|
|
102
|
+
"FefferyDeviceDetect",
|
|
99
103
|
"FefferyDocumentVisibility",
|
|
100
104
|
"FefferyGeolocation",
|
|
101
105
|
"FefferyIdle",
|