feffery_antd_components 0.1.6 → 0.1.7
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/Project.toml +1 -1
- package/README.md +2 -2
- package/build/lib/feffery_antd_components/AntdAffix.py +54 -0
- package/build/lib/feffery_antd_components/AntdAlert.py +58 -0
- package/build/lib/feffery_antd_components/AntdAnchor.py +60 -0
- package/build/lib/feffery_antd_components/AntdAvatar.py +79 -0
- package/build/lib/feffery_antd_components/AntdBackTop.py +52 -0
- package/build/lib/feffery_antd_components/AntdBadge.py +70 -0
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +74 -0
- package/build/lib/feffery_antd_components/AntdButton.py +68 -0
- package/build/lib/feffery_antd_components/AntdCalendar.py +75 -0
- package/build/lib/feffery_antd_components/AntdCard.py +86 -0
- package/build/lib/feffery_antd_components/AntdCardGrid.py +52 -0
- package/build/lib/feffery_antd_components/AntdCarousel.py +56 -0
- package/build/lib/feffery_antd_components/AntdCascader.py +93 -0
- package/build/lib/feffery_antd_components/AntdCheckbox.py +71 -0
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +79 -0
- package/build/lib/feffery_antd_components/AntdCol.py +146 -0
- package/build/lib/feffery_antd_components/AntdCollapse.py +79 -0
- package/build/lib/feffery_antd_components/AntdComment.py +88 -0
- package/build/lib/feffery_antd_components/AntdContent.py +50 -0
- package/build/lib/feffery_antd_components/AntdCountdown.py +72 -0
- package/build/lib/feffery_antd_components/AntdDatePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +91 -0
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +58 -0
- package/build/lib/feffery_antd_components/AntdDescriptions.py +76 -0
- package/build/lib/feffery_antd_components/AntdDivider.py +62 -0
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +84 -0
- package/build/lib/feffery_antd_components/AntdDrawer.py +72 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +84 -0
- package/build/lib/feffery_antd_components/AntdEmpty.py +54 -0
- package/build/lib/feffery_antd_components/AntdFooter.py +50 -0
- package/build/lib/feffery_antd_components/AntdForm.py +72 -0
- package/build/lib/feffery_antd_components/AntdFormItem.py +84 -0
- package/build/lib/feffery_antd_components/AntdHeader.py +50 -0
- package/build/lib/feffery_antd_components/AntdIcon.py +48 -0
- package/build/lib/feffery_antd_components/AntdImage.py +62 -0
- package/build/lib/feffery_antd_components/AntdInput.py +101 -0
- package/build/lib/feffery_antd_components/AntdInputNumber.py +101 -0
- package/build/lib/feffery_antd_components/AntdLayout.py +50 -0
- package/build/lib/feffery_antd_components/AntdMentions.py +76 -0
- package/build/lib/feffery_antd_components/AntdMenu.py +81 -0
- package/build/lib/feffery_antd_components/AntdMessage.py +56 -0
- package/build/lib/feffery_antd_components/AntdModal.py +88 -0
- package/build/lib/feffery_antd_components/AntdNotification.py +60 -0
- package/build/lib/feffery_antd_components/AntdPageHeader.py +62 -0
- package/build/lib/feffery_antd_components/AntdPagination.py +95 -0
- package/build/lib/feffery_antd_components/AntdParagraph.py +70 -0
- package/build/lib/feffery_antd_components/AntdPasteImage.py +52 -0
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +80 -0
- package/build/lib/feffery_antd_components/AntdPopover.py +74 -0
- package/build/lib/feffery_antd_components/AntdProgress.py +88 -0
- package/build/lib/feffery_antd_components/AntdRadio.py +54 -0
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +89 -0
- package/build/lib/feffery_antd_components/AntdRate.py +60 -0
- package/build/lib/feffery_antd_components/AntdResult.py +52 -0
- package/build/lib/feffery_antd_components/AntdRibbon.py +54 -0
- package/build/lib/feffery_antd_components/AntdRow.py +72 -0
- package/build/lib/feffery_antd_components/AntdSelect.py +121 -0
- package/build/lib/feffery_antd_components/AntdSider.py +68 -0
- package/build/lib/feffery_antd_components/AntdSkeleton.py +86 -0
- package/build/lib/feffery_antd_components/AntdSlider.py +68 -0
- package/build/lib/feffery_antd_components/AntdSpace.py +60 -0
- package/build/lib/feffery_antd_components/AntdSpin.py +68 -0
- package/build/lib/feffery_antd_components/AntdStatistic.py +74 -0
- package/build/lib/feffery_antd_components/AntdSteps.py +72 -0
- package/build/lib/feffery_antd_components/AntdSwitch.py +75 -0
- package/build/lib/feffery_antd_components/AntdTabPane.py +66 -0
- package/build/lib/feffery_antd_components/AntdTable.py +264 -0
- package/build/lib/feffery_antd_components/AntdTabs.py +81 -0
- package/build/lib/feffery_antd_components/AntdTag.py +54 -0
- package/build/lib/feffery_antd_components/AntdTestLink.py +58 -0
- package/build/lib/feffery_antd_components/AntdText.py +72 -0
- package/build/lib/feffery_antd_components/AntdTimePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +95 -0
- package/build/lib/feffery_antd_components/AntdTimeline.py +68 -0
- package/build/lib/feffery_antd_components/AntdTitle.py +74 -0
- package/build/lib/feffery_antd_components/AntdTooltip.py +64 -0
- package/build/lib/feffery_antd_components/AntdTransfer.py +99 -0
- package/build/lib/feffery_antd_components/AntdTree.py +103 -0
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +107 -0
- package/build/lib/feffery_antd_components/AntdTypography.py +50 -0
- package/build/lib/feffery_antd_components/AntdUpload.py +92 -0
- package/build/lib/feffery_antd_components/AntdWatermark.py +64 -0
- package/build/lib/feffery_antd_components/Link.py +58 -0
- package/build/lib/feffery_antd_components/__init__.py +53 -0
- package/build/lib/feffery_antd_components/_imports_.py +161 -0
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +344 -0
- package/build/lib/feffery_antd_components/metadata.json +15596 -0
- package/build/lib/feffery_antd_components/package-info.json +81 -0
- package/feffery_antd_components/AntdDraggerUpload.py +6 -4
- package/feffery_antd_components/AntdImage.py +2 -2
- package/feffery_antd_components/AntdTable.py +8 -2
- package/feffery_antd_components/AntdUpload.py +16 -4
- package/feffery_antd_components/feffery_antd_components.min.js +13 -13
- package/feffery_antd_components/metadata.json +117 -25
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antddraggerupload.jl +2 -1
- package/src/jl/'feffery'_antdimage.jl +2 -2
- package/src/jl/'feffery'_antdtable.jl +6 -2
- package/src/jl/'feffery'_antdupload.jl +9 -2
- package/src/lib/components/AntdDraggerUpload.react.js +41 -11
- package/src/lib/components/AntdImage.react.js +8 -2
- package/src/lib/components/AntdTable.react.js +32 -2
- package/src/lib/components/AntdUpload.react.js +78 -24
- package/usage.py +63 -1203
package/DESCRIPTION
CHANGED
package/Project.toml
CHANGED
package/README.md
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.7`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
pip install feffery-antd-components==0.1.
|
|
23
|
+
pip install feffery-antd-components==0.1.7
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## 2 最新开发版本安装方式
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAffix(Component):
|
|
7
|
+
"""An AntdAffix 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
|
+
- offsetBottom (number; optional)
|
|
32
|
+
|
|
33
|
+
- offsetTop (number; optional)
|
|
34
|
+
|
|
35
|
+
- style (dict; optional)
|
|
36
|
+
|
|
37
|
+
- target (string; optional)"""
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, offsetBottom=Component.UNDEFINED, offsetTop=Component.UNDEFINED, target=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['children', 'id', 'className', 'loading_state', 'offsetBottom', 'offsetTop', 'style', 'target']
|
|
41
|
+
self._type = 'AntdAffix'
|
|
42
|
+
self._namespace = 'feffery_antd_components'
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['children', 'id', 'className', 'loading_state', 'offsetBottom', 'offsetTop', 'style', 'target']
|
|
45
|
+
self.available_wildcard_properties = []
|
|
46
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
|
+
_locals = locals()
|
|
48
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
49
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
|
+
for k in []:
|
|
51
|
+
if k not in args:
|
|
52
|
+
raise TypeError(
|
|
53
|
+
'Required argument `' + k + '` was not specified.')
|
|
54
|
+
super(AntdAffix, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAlert(Component):
|
|
7
|
+
"""An AntdAlert component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- closable (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- description (boolean | number | string | dict | list; optional)
|
|
19
|
+
|
|
20
|
+
- loading_state (dict; optional)
|
|
21
|
+
|
|
22
|
+
`loading_state` is a dict with keys:
|
|
23
|
+
|
|
24
|
+
- component_name (string; optional):
|
|
25
|
+
Holds the name of the component that is loading.
|
|
26
|
+
|
|
27
|
+
- is_loading (boolean; optional):
|
|
28
|
+
Determines if the component is loading or not.
|
|
29
|
+
|
|
30
|
+
- prop_name (string; optional):
|
|
31
|
+
Holds which property is loading.
|
|
32
|
+
|
|
33
|
+
- message (boolean | number | string | dict | list | list of boolean | number | string | dict | lists; optional)
|
|
34
|
+
|
|
35
|
+
- messageRenderMode (a value equal to: 'default', 'loop-text', 'marquee'; default 'default')
|
|
36
|
+
|
|
37
|
+
- showIcon (boolean; optional)
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)
|
|
40
|
+
|
|
41
|
+
- type (a value equal to: 'success', 'info', 'warning', 'error'; optional)"""
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, description=Component.UNDEFINED, message=Component.UNDEFINED, type=Component.UNDEFINED, showIcon=Component.UNDEFINED, closable=Component.UNDEFINED, messageRenderMode=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['id', 'className', 'closable', 'description', 'loading_state', 'message', 'messageRenderMode', 'showIcon', 'style', 'type']
|
|
45
|
+
self._type = 'AntdAlert'
|
|
46
|
+
self._namespace = 'feffery_antd_components'
|
|
47
|
+
self._valid_wildcard_attributes = []
|
|
48
|
+
self.available_properties = ['id', 'className', 'closable', 'description', 'loading_state', 'message', 'messageRenderMode', 'showIcon', 'style', 'type']
|
|
49
|
+
self.available_wildcard_properties = []
|
|
50
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
51
|
+
_locals = locals()
|
|
52
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
53
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
54
|
+
for k in []:
|
|
55
|
+
if k not in args:
|
|
56
|
+
raise TypeError(
|
|
57
|
+
'Required argument `' + k + '` was not specified.')
|
|
58
|
+
super(AntdAlert, self).__init__(**args)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAnchor(Component):
|
|
7
|
+
"""An AntdAnchor component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- affix (boolean; optional)
|
|
15
|
+
|
|
16
|
+
- align (a value equal to: 'left', 'right'; default 'right')
|
|
17
|
+
|
|
18
|
+
- bounds (number; optional)
|
|
19
|
+
|
|
20
|
+
- className (string; optional)
|
|
21
|
+
|
|
22
|
+
- containerId (string; optional)
|
|
23
|
+
|
|
24
|
+
- linkDict (optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- offsetTop (number; optional)
|
|
40
|
+
|
|
41
|
+
- style (dict; optional)
|
|
42
|
+
|
|
43
|
+
- targetOffset (number; optional)"""
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, affix=Component.UNDEFINED, bounds=Component.UNDEFINED, offsetTop=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
47
|
+
self._type = 'AntdAnchor'
|
|
48
|
+
self._namespace = 'feffery_antd_components'
|
|
49
|
+
self._valid_wildcard_attributes = []
|
|
50
|
+
self.available_properties = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
51
|
+
self.available_wildcard_properties = []
|
|
52
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
53
|
+
_locals = locals()
|
|
54
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
55
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
56
|
+
for k in []:
|
|
57
|
+
if k not in args:
|
|
58
|
+
raise TypeError(
|
|
59
|
+
'Required argument `' + k + '` was not specified.')
|
|
60
|
+
super(AntdAnchor, self).__init__(**args)
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAvatar(Component):
|
|
7
|
+
"""An AntdAvatar component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- alt (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- gap (number; optional)
|
|
19
|
+
|
|
20
|
+
- icon (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
|
+
- mode (a value equal to: 'text', 'icon', 'image'; default 'icon')
|
|
36
|
+
|
|
37
|
+
- shape (a value equal to: 'circle', 'square'; optional)
|
|
38
|
+
|
|
39
|
+
- size (dict; optional)
|
|
40
|
+
|
|
41
|
+
`size` is a number | a value equal to: 'large', 'small', 'default'
|
|
42
|
+
| dict with keys:
|
|
43
|
+
|
|
44
|
+
- lg (number; optional)
|
|
45
|
+
|
|
46
|
+
- md (number; optional)
|
|
47
|
+
|
|
48
|
+
- sm (number; optional)
|
|
49
|
+
|
|
50
|
+
- xl (number; optional)
|
|
51
|
+
|
|
52
|
+
- xs (number; optional)
|
|
53
|
+
|
|
54
|
+
- xxl (number; optional)
|
|
55
|
+
|
|
56
|
+
- src (string; optional)
|
|
57
|
+
|
|
58
|
+
- srcSet (string; optional)
|
|
59
|
+
|
|
60
|
+
- style (dict; optional)
|
|
61
|
+
|
|
62
|
+
- text (string; optional)"""
|
|
63
|
+
@_explicitize_args
|
|
64
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, gap=Component.UNDEFINED, mode=Component.UNDEFINED, text=Component.UNDEFINED, icon=Component.UNDEFINED, alt=Component.UNDEFINED, src=Component.UNDEFINED, srcSet=Component.UNDEFINED, size=Component.UNDEFINED, shape=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
65
|
+
self._prop_names = ['id', 'alt', 'className', 'gap', 'icon', 'loading_state', 'mode', 'shape', 'size', 'src', 'srcSet', 'style', 'text']
|
|
66
|
+
self._type = 'AntdAvatar'
|
|
67
|
+
self._namespace = 'feffery_antd_components'
|
|
68
|
+
self._valid_wildcard_attributes = []
|
|
69
|
+
self.available_properties = ['id', 'alt', 'className', 'gap', 'icon', 'loading_state', 'mode', 'shape', 'size', 'src', 'srcSet', 'style', 'text']
|
|
70
|
+
self.available_wildcard_properties = []
|
|
71
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
72
|
+
_locals = locals()
|
|
73
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
74
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
75
|
+
for k in []:
|
|
76
|
+
if k not in args:
|
|
77
|
+
raise TypeError(
|
|
78
|
+
'Required argument `' + k + '` was not specified.')
|
|
79
|
+
super(AntdAvatar, self).__init__(**args)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdBackTop(Component):
|
|
7
|
+
"""An AntdBackTop component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- containerId (string; optional)
|
|
17
|
+
|
|
18
|
+
- duration (number; optional)
|
|
19
|
+
|
|
20
|
+
- loading_state (dict; optional)
|
|
21
|
+
|
|
22
|
+
`loading_state` is a dict with keys:
|
|
23
|
+
|
|
24
|
+
- component_name (string; optional):
|
|
25
|
+
Holds the name of the component that is loading.
|
|
26
|
+
|
|
27
|
+
- is_loading (boolean; optional):
|
|
28
|
+
Determines if the component is loading or not.
|
|
29
|
+
|
|
30
|
+
- prop_name (string; optional):
|
|
31
|
+
Holds which property is loading.
|
|
32
|
+
|
|
33
|
+
- style (dict; optional)
|
|
34
|
+
|
|
35
|
+
- visibilityHeight (number; optional)"""
|
|
36
|
+
@_explicitize_args
|
|
37
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, duration=Component.UNDEFINED, visibilityHeight=Component.UNDEFINED, containerId=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
38
|
+
self._prop_names = ['id', 'className', 'containerId', 'duration', 'loading_state', 'style', 'visibilityHeight']
|
|
39
|
+
self._type = 'AntdBackTop'
|
|
40
|
+
self._namespace = 'feffery_antd_components'
|
|
41
|
+
self._valid_wildcard_attributes = []
|
|
42
|
+
self.available_properties = ['id', 'className', 'containerId', 'duration', 'loading_state', 'style', 'visibilityHeight']
|
|
43
|
+
self.available_wildcard_properties = []
|
|
44
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
45
|
+
_locals = locals()
|
|
46
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
47
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
48
|
+
for k in []:
|
|
49
|
+
if k not in args:
|
|
50
|
+
raise TypeError(
|
|
51
|
+
'Required argument `' + k + '` was not specified.')
|
|
52
|
+
super(AntdBackTop, self).__init__(**args)
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdBadge(Component):
|
|
7
|
+
"""An AntdBadge 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
|
+
- color (string; optional)
|
|
19
|
+
|
|
20
|
+
- count (number; optional)
|
|
21
|
+
|
|
22
|
+
- dot (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- loading_state (dict; optional)
|
|
25
|
+
|
|
26
|
+
`loading_state` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- component_name (string; optional):
|
|
29
|
+
Holds the name of the component that is loading.
|
|
30
|
+
|
|
31
|
+
- is_loading (boolean; optional):
|
|
32
|
+
Determines if the component is loading or not.
|
|
33
|
+
|
|
34
|
+
- prop_name (string; optional):
|
|
35
|
+
Holds which property is loading.
|
|
36
|
+
|
|
37
|
+
- nClicks (number; default 0)
|
|
38
|
+
|
|
39
|
+
- offset (list of numbers; optional)
|
|
40
|
+
|
|
41
|
+
- overflowCount (number; optional)
|
|
42
|
+
|
|
43
|
+
- showZero (boolean; optional)
|
|
44
|
+
|
|
45
|
+
- size (a value equal to: 'default', 'small'; optional)
|
|
46
|
+
|
|
47
|
+
- status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
|
|
48
|
+
|
|
49
|
+
- style (dict; optional)
|
|
50
|
+
|
|
51
|
+
- text (string; optional)
|
|
52
|
+
|
|
53
|
+
- title (string; optional)"""
|
|
54
|
+
@_explicitize_args
|
|
55
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, count=Component.UNDEFINED, dot=Component.UNDEFINED, offset=Component.UNDEFINED, overflowCount=Component.UNDEFINED, showZero=Component.UNDEFINED, status=Component.UNDEFINED, text=Component.UNDEFINED, title=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
56
|
+
self._prop_names = ['children', 'id', 'className', 'color', 'count', 'dot', 'loading_state', 'nClicks', 'offset', 'overflowCount', 'showZero', 'size', 'status', 'style', 'text', 'title']
|
|
57
|
+
self._type = 'AntdBadge'
|
|
58
|
+
self._namespace = 'feffery_antd_components'
|
|
59
|
+
self._valid_wildcard_attributes = []
|
|
60
|
+
self.available_properties = ['children', 'id', 'className', 'color', 'count', 'dot', 'loading_state', 'nClicks', 'offset', 'overflowCount', 'showZero', 'size', 'status', 'style', 'text', 'title']
|
|
61
|
+
self.available_wildcard_properties = []
|
|
62
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
63
|
+
_locals = locals()
|
|
64
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
65
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
66
|
+
for k in []:
|
|
67
|
+
if k not in args:
|
|
68
|
+
raise TypeError(
|
|
69
|
+
'Required argument `' + k + '` was not specified.')
|
|
70
|
+
super(AntdBadge, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdBreadcrumb(Component):
|
|
7
|
+
"""An AntdBreadcrumb component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- items (list of dicts; optional)
|
|
17
|
+
|
|
18
|
+
`items` is a list of dicts with keys:
|
|
19
|
+
|
|
20
|
+
- href (string; optional)
|
|
21
|
+
|
|
22
|
+
- icon (string; optional)
|
|
23
|
+
|
|
24
|
+
- menuItems (list of dicts; optional)
|
|
25
|
+
|
|
26
|
+
`menuItems` is a list of dicts with keys:
|
|
27
|
+
|
|
28
|
+
- disabled (boolean; optional)
|
|
29
|
+
|
|
30
|
+
- href (string; optional)
|
|
31
|
+
|
|
32
|
+
- icon (string; optional)
|
|
33
|
+
|
|
34
|
+
- target (string; optional)
|
|
35
|
+
|
|
36
|
+
- title (string; optional)
|
|
37
|
+
|
|
38
|
+
- target (string; optional)
|
|
39
|
+
|
|
40
|
+
- title (string; optional)
|
|
41
|
+
|
|
42
|
+
- loading_state (dict; optional)
|
|
43
|
+
|
|
44
|
+
`loading_state` is a dict with keys:
|
|
45
|
+
|
|
46
|
+
- component_name (string; optional):
|
|
47
|
+
Holds the name of the component that is loading.
|
|
48
|
+
|
|
49
|
+
- is_loading (boolean; optional):
|
|
50
|
+
Determines if the component is loading or not.
|
|
51
|
+
|
|
52
|
+
- prop_name (string; optional):
|
|
53
|
+
Holds which property is loading.
|
|
54
|
+
|
|
55
|
+
- separator (string; optional)
|
|
56
|
+
|
|
57
|
+
- style (dict; optional)"""
|
|
58
|
+
@_explicitize_args
|
|
59
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, items=Component.UNDEFINED, separator=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
60
|
+
self._prop_names = ['id', 'className', 'items', 'loading_state', 'separator', 'style']
|
|
61
|
+
self._type = 'AntdBreadcrumb'
|
|
62
|
+
self._namespace = 'feffery_antd_components'
|
|
63
|
+
self._valid_wildcard_attributes = []
|
|
64
|
+
self.available_properties = ['id', 'className', 'items', 'loading_state', 'separator', 'style']
|
|
65
|
+
self.available_wildcard_properties = []
|
|
66
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
|
+
_locals = locals()
|
|
68
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
69
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
70
|
+
for k in []:
|
|
71
|
+
if k not in args:
|
|
72
|
+
raise TypeError(
|
|
73
|
+
'Required argument `' + k + '` was not specified.')
|
|
74
|
+
super(AntdBreadcrumb, self).__init__(**args)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdButton(Component):
|
|
7
|
+
"""An AntdButton 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
|
+
- block (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- className (string; optional)
|
|
19
|
+
|
|
20
|
+
- danger (boolean; default False)
|
|
21
|
+
|
|
22
|
+
- disabled (boolean; default False)
|
|
23
|
+
|
|
24
|
+
- href (string; optional)
|
|
25
|
+
|
|
26
|
+
- loading (boolean; optional)
|
|
27
|
+
|
|
28
|
+
- loading_state (dict; optional)
|
|
29
|
+
|
|
30
|
+
`loading_state` is a dict with keys:
|
|
31
|
+
|
|
32
|
+
- component_name (string; optional):
|
|
33
|
+
Holds the name of the component that is loading.
|
|
34
|
+
|
|
35
|
+
- is_loading (boolean; optional):
|
|
36
|
+
Determines if the component is loading or not.
|
|
37
|
+
|
|
38
|
+
- prop_name (string; optional):
|
|
39
|
+
Holds which property is loading.
|
|
40
|
+
|
|
41
|
+
- nClicks (number; default 0)
|
|
42
|
+
|
|
43
|
+
- shape (a value equal to: 'circle', 'round'; optional)
|
|
44
|
+
|
|
45
|
+
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)
|
|
48
|
+
|
|
49
|
+
- target (string; optional)
|
|
50
|
+
|
|
51
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; default 'default')"""
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
55
|
+
self._type = 'AntdButton'
|
|
56
|
+
self._namespace = 'feffery_antd_components'
|
|
57
|
+
self._valid_wildcard_attributes = []
|
|
58
|
+
self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
59
|
+
self.available_wildcard_properties = []
|
|
60
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
61
|
+
_locals = locals()
|
|
62
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
63
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
64
|
+
for k in []:
|
|
65
|
+
if k not in args:
|
|
66
|
+
raise TypeError(
|
|
67
|
+
'Required argument `' + k + '` was not specified.')
|
|
68
|
+
super(AntdButton, self).__init__(children=children, **args)
|
|
@@ -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 AntdCalendar(Component):
|
|
7
|
+
"""An AntdCalendar component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- defaultValue (string; optional)
|
|
17
|
+
|
|
18
|
+
- format (string; default 'YYYY-MM-DD')
|
|
19
|
+
|
|
20
|
+
- loading_state (dict; optional)
|
|
21
|
+
|
|
22
|
+
`loading_state` is a dict with keys:
|
|
23
|
+
|
|
24
|
+
- component_name (string; optional):
|
|
25
|
+
Holds the name of the component that is loading.
|
|
26
|
+
|
|
27
|
+
- is_loading (boolean; optional):
|
|
28
|
+
Determines if the component is loading or not.
|
|
29
|
+
|
|
30
|
+
- prop_name (string; optional):
|
|
31
|
+
Holds which property is loading.
|
|
32
|
+
|
|
33
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
34
|
+
|
|
35
|
+
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
36
|
+
Properties whose user interactions will persist after refreshing
|
|
37
|
+
the component or the page. Since only `value` is allowed this
|
|
38
|
+
prop can normally be ignored.
|
|
39
|
+
|
|
40
|
+
- persistence (boolean | string | number; optional):
|
|
41
|
+
Used to allow user interactions in this component to be persisted
|
|
42
|
+
when the component - or the page - is refreshed. If `persisted`
|
|
43
|
+
is truthy and hasn't changed from its previous value, a `value`
|
|
44
|
+
that the user has changed while using the app will keep that
|
|
45
|
+
change, as long as the new `value` also matches what was given
|
|
46
|
+
originally. Used in conjunction with `persistence_type`.
|
|
47
|
+
|
|
48
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
49
|
+
Where persisted user changes will be stored: memory: only kept in
|
|
50
|
+
memory, reset on page refresh. local: window.localStorage, data
|
|
51
|
+
is kept after the browser quit. session: window.sessionStorage,
|
|
52
|
+
data is cleared once the browser quit.
|
|
53
|
+
|
|
54
|
+
- size (a value equal to: 'default', 'large'; default 'default')
|
|
55
|
+
|
|
56
|
+
- style (dict; optional)
|
|
57
|
+
|
|
58
|
+
- value (string; optional)"""
|
|
59
|
+
@_explicitize_args
|
|
60
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=Component.UNDEFINED, format=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
61
|
+
self._prop_names = ['id', 'className', 'defaultValue', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
62
|
+
self._type = 'AntdCalendar'
|
|
63
|
+
self._namespace = 'feffery_antd_components'
|
|
64
|
+
self._valid_wildcard_attributes = []
|
|
65
|
+
self.available_properties = ['id', 'className', 'defaultValue', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
66
|
+
self.available_wildcard_properties = []
|
|
67
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
68
|
+
_locals = locals()
|
|
69
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
70
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
71
|
+
for k in []:
|
|
72
|
+
if k not in args:
|
|
73
|
+
raise TypeError(
|
|
74
|
+
'Required argument `' + k + '` was not specified.')
|
|
75
|
+
super(AntdCalendar, self).__init__(**args)
|