feffery_antd_components 0.2.11-rc0 → 0.2.11
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 +1 -0
- package/Project.toml +1 -1
- package/build/lib/feffery_antd_components/AntdCard.py +7 -5
- package/build/lib/feffery_antd_components/AntdCardMeta.py +53 -0
- package/build/lib/feffery_antd_components/_imports_.py +2 -0
- package/build/lib/feffery_antd_components/async-antd_table.js +1 -1
- package/build/lib/feffery_antd_components/async-data_display.js +1 -1
- package/build/lib/feffery_antd_components/async-data_entry.js +1 -1
- package/build/lib/feffery_antd_components/async-upload.js +1 -1
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +1 -1
- package/build/lib/feffery_antd_components/metadata.json +105 -0
- package/build/lib/feffery_antd_components/package-info.json +1 -1
- package/feffery_antd_components/AntdCard.py +7 -5
- package/feffery_antd_components/AntdCardMeta.py +53 -0
- package/feffery_antd_components/_imports_.py +2 -0
- package/feffery_antd_components/async-antd_table.js +1 -1
- package/feffery_antd_components/async-data_display.js +1 -1
- package/feffery_antd_components/async-data_entry.js +1 -1
- package/feffery_antd_components/async-upload.js +1 -1
- package/feffery_antd_components/feffery_antd_components.min.js +1 -1
- package/feffery_antd_components/metadata.json +105 -0
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/jl/'feffery'_antdcard.jl +2 -1
- package/src/jl/'feffery'_antdcardmeta.jl +29 -0
- package/src/lib/components/dataDisplay/card/AntdCard.react.js +3 -0
- package/src/lib/components/dataDisplay/card/AntdCardMeta.react.js +68 -0
- package/src/lib/fragments/dataDisplay/card/AntdCard.react.js +2 -0
- package/src/lib/fragments/dataDisplay/card/AntdCardMeta.react.js +45 -0
- package/src/lib/index.js +2 -0
- package/usage.py +46 -1
- package/build/lib/feffery_antd_components/async-antd_upload.js +0 -1
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
package/Project.toml
CHANGED
|
@@ -15,6 +15,8 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- id (string; optional)
|
|
17
17
|
|
|
18
|
+
- actions (list of a list of or a singular dash component, string or numbers; optional)
|
|
19
|
+
|
|
18
20
|
- bodyStyle (dict; optional)
|
|
19
21
|
|
|
20
22
|
- bordered (boolean; default True)
|
|
@@ -74,15 +76,15 @@ Keyword arguments:
|
|
|
74
76
|
- style (dict; optional)
|
|
75
77
|
|
|
76
78
|
- title (a list of or a singular dash component, string or number; optional)"""
|
|
77
|
-
_children_props = ['title', 'extra']
|
|
78
|
-
_base_nodes = ['title', 'extra', 'children']
|
|
79
|
+
_children_props = ['actions', 'title', 'extra']
|
|
80
|
+
_base_nodes = ['actions', 'title', 'extra', 'children']
|
|
79
81
|
_namespace = 'feffery_antd_components'
|
|
80
82
|
_type = 'AntdCard'
|
|
81
83
|
@_explicitize_args
|
|
82
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, extraLink=Component.UNDEFINED, extra=Component.UNDEFINED, coverImg=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, headStyle=Component.UNDEFINED, bordered=Component.UNDEFINED, hoverable=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
83
|
-
self._prop_names = ['children', 'id', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extra', 'extraLink', 'headStyle', 'hoverable', 'key', 'loading_state', 'size', 'style', 'title']
|
|
84
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, actions=Component.UNDEFINED, title=Component.UNDEFINED, extraLink=Component.UNDEFINED, extra=Component.UNDEFINED, coverImg=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, headStyle=Component.UNDEFINED, bordered=Component.UNDEFINED, hoverable=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
85
|
+
self._prop_names = ['children', 'id', 'actions', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extra', 'extraLink', 'headStyle', 'hoverable', 'key', 'loading_state', 'size', 'style', 'title']
|
|
84
86
|
self._valid_wildcard_attributes = []
|
|
85
|
-
self.available_properties = ['children', 'id', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extra', 'extraLink', 'headStyle', 'hoverable', 'key', 'loading_state', 'size', 'style', 'title']
|
|
87
|
+
self.available_properties = ['children', 'id', 'actions', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extra', 'extraLink', 'headStyle', 'hoverable', 'key', 'loading_state', 'size', 'style', 'title']
|
|
86
88
|
self.available_wildcard_properties = []
|
|
87
89
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
88
90
|
_locals = locals()
|
|
@@ -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 AntdCardMeta(Component):
|
|
7
|
+
"""An AntdCardMeta component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- avatar (a list of or a singular dash component, string or number; optional)
|
|
15
|
+
|
|
16
|
+
- className (string | dict; optional)
|
|
17
|
+
|
|
18
|
+
- description (a list of or a singular dash component, string or number; optional)
|
|
19
|
+
|
|
20
|
+
- key (string; optional)
|
|
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
|
+
|
|
37
|
+
- title (a list of or a singular dash component, string or number; optional)"""
|
|
38
|
+
_children_props = ['avatar', 'description', 'title']
|
|
39
|
+
_base_nodes = ['avatar', 'description', 'title', 'children']
|
|
40
|
+
_namespace = 'feffery_antd_components'
|
|
41
|
+
_type = 'AntdCardMeta'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, avatar=Component.UNDEFINED, description=Component.UNDEFINED, title=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['id', 'avatar', 'className', 'description', 'key', 'loading_state', 'style', 'title']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['id', 'avatar', 'className', 'description', 'key', 'loading_state', 'style', 'title']
|
|
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(AntdCardMeta, self).__init__(**args)
|
|
@@ -20,6 +20,7 @@ from .AntdTooltip import AntdTooltip
|
|
|
20
20
|
from .AntdTree import AntdTree
|
|
21
21
|
from .AntdCard import AntdCard
|
|
22
22
|
from .AntdCardGrid import AntdCardGrid
|
|
23
|
+
from .AntdCardMeta import AntdCardMeta
|
|
23
24
|
from .AntdDescriptionItem import AntdDescriptionItem
|
|
24
25
|
from .AntdDescriptions import AntdDescriptions
|
|
25
26
|
from .AntdTabPane import AntdTabPane
|
|
@@ -118,6 +119,7 @@ __all__ = [
|
|
|
118
119
|
"AntdTree",
|
|
119
120
|
"AntdCard",
|
|
120
121
|
"AntdCardGrid",
|
|
122
|
+
"AntdCardMeta",
|
|
121
123
|
"AntdDescriptionItem",
|
|
122
124
|
"AntdDescriptions",
|
|
123
125
|
"AntdTabPane",
|