feffery_antd_components 0.3.0-a1 → 0.3.0-a2
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/build/lib/feffery_antd_components/AntdAccordion.py +85 -0
- package/build/lib/feffery_antd_components/AntdAffix.py +55 -0
- package/build/lib/feffery_antd_components/AntdAlert.py +63 -0
- package/build/lib/feffery_antd_components/AntdAnchor.py +63 -0
- package/build/lib/feffery_antd_components/AntdAvatar.py +86 -0
- package/build/lib/feffery_antd_components/AntdAvatarGroup.py +74 -0
- package/build/lib/feffery_antd_components/AntdBackTop.py +55 -0
- package/build/lib/feffery_antd_components/AntdBadge.py +93 -0
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +87 -0
- package/build/lib/feffery_antd_components/AntdButton.py +119 -0
- package/build/lib/feffery_antd_components/AntdCalendar.py +76 -0
- package/build/lib/feffery_antd_components/AntdCard.py +94 -0
- package/build/lib/feffery_antd_components/AntdCardGrid.py +53 -0
- package/build/lib/feffery_antd_components/AntdCardMeta.py +53 -0
- package/build/lib/feffery_antd_components/AntdCarousel.py +63 -0
- package/build/lib/feffery_antd_components/AntdCascader.py +118 -0
- package/build/lib/feffery_antd_components/AntdCenter.py +53 -0
- package/build/lib/feffery_antd_components/AntdCheckCard.py +82 -0
- package/build/lib/feffery_antd_components/AntdCheckCardGroup.py +84 -0
- package/build/lib/feffery_antd_components/AntdCheckbox.py +82 -0
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +86 -0
- package/build/lib/feffery_antd_components/AntdCol.py +147 -0
- package/build/lib/feffery_antd_components/AntdCollapse.py +82 -0
- package/build/lib/feffery_antd_components/AntdColorPicker.py +100 -0
- package/build/lib/feffery_antd_components/AntdComment.py +98 -0
- package/build/lib/feffery_antd_components/AntdCompact.py +55 -0
- package/build/lib/feffery_antd_components/AntdConfigProvider.py +80 -0
- package/build/lib/feffery_antd_components/AntdContent.py +51 -0
- package/build/lib/feffery_antd_components/AntdCopyText.py +55 -0
- package/build/lib/feffery_antd_components/AntdCountdown.py +63 -0
- package/build/lib/feffery_antd_components/AntdCustomSkeleton.py +61 -0
- package/build/lib/feffery_antd_components/AntdDatePicker.py +153 -0
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +153 -0
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +59 -0
- package/build/lib/feffery_antd_components/AntdDescriptions.py +95 -0
- package/build/lib/feffery_antd_components/AntdDivider.py +85 -0
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +207 -0
- package/build/lib/feffery_antd_components/AntdDrawer.py +91 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +126 -0
- package/build/lib/feffery_antd_components/AntdEmpty.py +57 -0
- package/build/lib/feffery_antd_components/AntdFlex.py +69 -0
- package/build/lib/feffery_antd_components/AntdFloatButton.py +71 -0
- package/build/lib/feffery_antd_components/AntdFloatButtonGroup.py +71 -0
- package/build/lib/feffery_antd_components/AntdFooter.py +51 -0
- package/build/lib/feffery_antd_components/AntdForm.py +79 -0
- package/build/lib/feffery_antd_components/AntdFormItem.py +89 -0
- package/build/lib/feffery_antd_components/AntdHeader.py +51 -0
- package/build/lib/feffery_antd_components/AntdIcon.py +62 -0
- package/build/lib/feffery_antd_components/AntdImage.py +63 -0
- package/build/lib/feffery_antd_components/AntdInput.py +168 -0
- package/build/lib/feffery_antd_components/AntdInputNumber.py +114 -0
- package/build/lib/feffery_antd_components/AntdLayout.py +51 -0
- package/build/lib/feffery_antd_components/AntdMentions.py +91 -0
- package/build/lib/feffery_antd_components/AntdMenu.py +90 -0
- package/build/lib/feffery_antd_components/AntdMessage.py +61 -0
- package/build/lib/feffery_antd_components/AntdModal.py +133 -0
- package/build/lib/feffery_antd_components/AntdNotification.py +63 -0
- package/build/lib/feffery_antd_components/AntdPageHeader.py +63 -0
- package/build/lib/feffery_antd_components/AntdPagination.py +104 -0
- package/build/lib/feffery_antd_components/AntdParagraph.py +99 -0
- package/build/lib/feffery_antd_components/AntdPictureUpload.py +213 -0
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +117 -0
- package/build/lib/feffery_antd_components/AntdPopover.py +81 -0
- package/build/lib/feffery_antd_components/AntdPopupCard.py +69 -0
- package/build/lib/feffery_antd_components/AntdProgress.py +105 -0
- package/build/lib/feffery_antd_components/AntdQRCode.py +88 -0
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +96 -0
- package/build/lib/feffery_antd_components/AntdRate.py +84 -0
- package/build/lib/feffery_antd_components/AntdResult.py +55 -0
- package/build/lib/feffery_antd_components/AntdRibbon.py +55 -0
- package/build/lib/feffery_antd_components/AntdRow.py +73 -0
- package/build/lib/feffery_antd_components/AntdSegmented.py +94 -0
- package/build/lib/feffery_antd_components/AntdSegmentedColoring.py +92 -0
- package/build/lib/feffery_antd_components/AntdSelect.py +159 -0
- package/build/lib/feffery_antd_components/AntdSider.py +69 -0
- package/build/lib/feffery_antd_components/AntdSkeleton.py +87 -0
- package/build/lib/feffery_antd_components/AntdSkeletonAvatar.py +53 -0
- package/build/lib/feffery_antd_components/AntdSkeletonButton.py +55 -0
- package/build/lib/feffery_antd_components/AntdSkeletonImage.py +47 -0
- package/build/lib/feffery_antd_components/AntdSkeletonInput.py +51 -0
- package/build/lib/feffery_antd_components/AntdSlider.py +122 -0
- package/build/lib/feffery_antd_components/AntdSpace.py +79 -0
- package/build/lib/feffery_antd_components/AntdSpin.py +71 -0
- package/build/lib/feffery_antd_components/AntdSpoiler.py +67 -0
- package/build/lib/feffery_antd_components/AntdStatistic.py +63 -0
- package/build/lib/feffery_antd_components/AntdSteps.py +81 -0
- package/build/lib/feffery_antd_components/AntdSwitch.py +86 -0
- package/build/lib/feffery_antd_components/AntdTabPane.py +65 -0
- package/build/lib/feffery_antd_components/AntdTable.py +562 -0
- package/build/lib/feffery_antd_components/AntdTabs.py +141 -0
- package/build/lib/feffery_antd_components/AntdTag.py +55 -0
- package/build/lib/feffery_antd_components/AntdText.py +96 -0
- package/build/lib/feffery_antd_components/AntdTimePicker.py +115 -0
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +115 -0
- package/build/lib/feffery_antd_components/AntdTimeline.py +72 -0
- package/build/lib/feffery_antd_components/AntdTitle.py +94 -0
- package/build/lib/feffery_antd_components/AntdTooltip.py +77 -0
- package/build/lib/feffery_antd_components/AntdTour.py +154 -0
- package/build/lib/feffery_antd_components/AntdTransfer.py +112 -0
- package/build/lib/feffery_antd_components/AntdTree.py +152 -0
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +138 -0
- package/build/lib/feffery_antd_components/AntdUpload.py +201 -0
- package/build/lib/feffery_antd_components/AntdWatermark.py +75 -0
- package/build/lib/feffery_antd_components/__init__.py +85 -0
- package/build/lib/feffery_antd_components/_imports_.py +209 -0
- package/build/lib/feffery_antd_components/alias.py +195 -0
- package/build/lib/feffery_antd_components/async-antd_table.js +53 -0
- package/build/lib/feffery_antd_components/async-data_display.js +20 -0
- package/build/lib/feffery_antd_components/async-data_entry.js +87 -0
- package/build/lib/feffery_antd_components/async-upload.js +17 -0
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +153 -0
- package/build/lib/feffery_antd_components/metadata.json +29311 -0
- package/build/lib/feffery_antd_components/package-info.json +93 -0
- package/build/lib/feffery_antd_components/utils.py +211 -0
- package/feffery_antd_components/feffery_antd_components.min.js +4 -4
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/lib/components/navigation/AntdDropdown.react.js +49 -54
- package/usage.py +9 -3
|
@@ -0,0 +1,119 @@
|
|
|
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
|
+
按钮组件AntdButton,api参数参考https://ant.design/components/button-cn/
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
当前按钮内嵌元素.
|
|
14
|
+
|
|
15
|
+
- id (string; optional):
|
|
16
|
+
当前组件唯一id.
|
|
17
|
+
|
|
18
|
+
- autoSpin (boolean; default False):
|
|
19
|
+
当前按钮在每次点击后是否自动进入加载中状态 默认:False.
|
|
20
|
+
|
|
21
|
+
- block (boolean; default False):
|
|
22
|
+
当前按钮是否撑满父元素 默认:False.
|
|
23
|
+
|
|
24
|
+
- className (string | dict; optional):
|
|
25
|
+
当前按钮css类,支持动态css类特性.
|
|
26
|
+
|
|
27
|
+
- classNames (dict; optional):
|
|
28
|
+
细分控制子元素css类.
|
|
29
|
+
|
|
30
|
+
`classNames` is a dict with keys:
|
|
31
|
+
|
|
32
|
+
- icon (string; optional):
|
|
33
|
+
控制图标部分元素css类.
|
|
34
|
+
|
|
35
|
+
- danger (boolean; default False):
|
|
36
|
+
当前按钮是否呈现危险状态 默认:False.
|
|
37
|
+
|
|
38
|
+
- debounceWait (number; default 200):
|
|
39
|
+
当前按钮点击事件监听防抖延时,单位:毫秒 默认:200.
|
|
40
|
+
|
|
41
|
+
- disabled (boolean; default False):
|
|
42
|
+
当前按钮是否呈现禁用状态 默认:False.
|
|
43
|
+
|
|
44
|
+
- ghost (boolean; default False):
|
|
45
|
+
幽灵属性,使当前按钮背景透明 默认:False.
|
|
46
|
+
|
|
47
|
+
- href (string; optional):
|
|
48
|
+
当前按钮点击跳转链接地址.
|
|
49
|
+
|
|
50
|
+
- icon (a list of or a singular dash component, string or number; optional):
|
|
51
|
+
当前按钮内嵌元素前缀图标.
|
|
52
|
+
|
|
53
|
+
- key (string; optional):
|
|
54
|
+
当前组件辅助用唯一id,可通过更新key值实现强制重绘.
|
|
55
|
+
|
|
56
|
+
- loading (boolean; optional):
|
|
57
|
+
当前按钮是否呈现加载中状态 默认:False.
|
|
58
|
+
|
|
59
|
+
- loadingChildren (a list of or a singular dash component, string or number; optional):
|
|
60
|
+
当前按钮加载状态下内嵌元素.
|
|
61
|
+
|
|
62
|
+
- loading_state (dict; optional)
|
|
63
|
+
|
|
64
|
+
`loading_state` is a dict with keys:
|
|
65
|
+
|
|
66
|
+
- component_name (string; optional):
|
|
67
|
+
Holds the name of the component that is loading.
|
|
68
|
+
|
|
69
|
+
- is_loading (boolean; optional):
|
|
70
|
+
Determines if the component is loading or not.
|
|
71
|
+
|
|
72
|
+
- prop_name (string; optional):
|
|
73
|
+
Holds which property is loading.
|
|
74
|
+
|
|
75
|
+
- motionType (a value equal to: 'happy-work'; optional):
|
|
76
|
+
为当前按钮设置特殊的点击动效,可选的有'happy-work'.
|
|
77
|
+
|
|
78
|
+
- nClicks (number; default 0):
|
|
79
|
+
当前按钮累计被点击次数 默认:0.
|
|
80
|
+
|
|
81
|
+
- shape (a value equal to: 'default', 'circle', 'round'; default 'default'):
|
|
82
|
+
当前按钮形状,可选的有'default'、'circle'、'round' 默认:'default'.
|
|
83
|
+
|
|
84
|
+
- size (a value equal to: 'small', 'middle', 'large'; default 'middle'):
|
|
85
|
+
当前按钮尺寸规格,可选的有'small'、'middle'、'large' 默认:'middle'.
|
|
86
|
+
|
|
87
|
+
- style (dict; optional):
|
|
88
|
+
当前按钮css样式.
|
|
89
|
+
|
|
90
|
+
- styles (dict; optional):
|
|
91
|
+
细分控制子元素css样式.
|
|
92
|
+
|
|
93
|
+
`styles` is a dict with keys:
|
|
94
|
+
|
|
95
|
+
- icon (dict; optional):
|
|
96
|
+
控制图标部分元素css样式.
|
|
97
|
+
|
|
98
|
+
- target (string; optional):
|
|
99
|
+
当前按钮点击跳转链接行为类型.
|
|
100
|
+
|
|
101
|
+
- type (a value equal to: 'default', 'primary', 'ghost', 'dashed', 'link', 'text'; default 'default'):
|
|
102
|
+
当前按钮类型,可选的有'default'、'primary'、'ghost'、'dashed'、'link'、'text'
|
|
103
|
+
默认:'primary'."""
|
|
104
|
+
_children_props = ['loadingChildren', 'icon']
|
|
105
|
+
_base_nodes = ['loadingChildren', 'icon', 'children']
|
|
106
|
+
_namespace = 'feffery_antd_components'
|
|
107
|
+
_type = 'AntdButton'
|
|
108
|
+
@_explicitize_args
|
|
109
|
+
def __init__(self, children=None, id=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, styles=Component.UNDEFINED, classNames=Component.UNDEFINED, key=Component.UNDEFINED, loadingChildren=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, ghost=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, debounceWait=Component.UNDEFINED, icon=Component.UNDEFINED, loading=Component.UNDEFINED, autoSpin=Component.UNDEFINED, motionType=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
110
|
+
self._prop_names = ['children', 'id', 'autoSpin', 'block', 'className', 'classNames', 'danger', 'debounceWait', 'disabled', 'ghost', 'href', 'icon', 'key', 'loading', 'loadingChildren', 'loading_state', 'motionType', 'nClicks', 'shape', 'size', 'style', 'styles', 'target', 'type']
|
|
111
|
+
self._valid_wildcard_attributes = []
|
|
112
|
+
self.available_properties = ['children', 'id', 'autoSpin', 'block', 'className', 'classNames', 'danger', 'debounceWait', 'disabled', 'ghost', 'href', 'icon', 'key', 'loading', 'loadingChildren', 'loading_state', 'motionType', 'nClicks', 'shape', 'size', 'style', 'styles', 'target', 'type']
|
|
113
|
+
self.available_wildcard_properties = []
|
|
114
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
115
|
+
_locals = locals()
|
|
116
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
117
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
118
|
+
|
|
119
|
+
super(AntdButton, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,76 @@
|
|
|
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 | dict; optional)
|
|
15
|
+
|
|
16
|
+
- defaultValue (string; optional)
|
|
17
|
+
|
|
18
|
+
- format (string; default 'YYYY-MM-DD')
|
|
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
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
36
|
+
|
|
37
|
+
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
38
|
+
Properties whose user interactions will persist after refreshing
|
|
39
|
+
the component or the page. Since only `value` is allowed this
|
|
40
|
+
prop can normally be ignored.
|
|
41
|
+
|
|
42
|
+
- persistence (boolean | string | number; optional):
|
|
43
|
+
Used to allow user interactions in this component to be persisted
|
|
44
|
+
when the component - or the page - is refreshed. If `persisted`
|
|
45
|
+
is truthy and hasn't changed from its previous value, a `value`
|
|
46
|
+
that the user has changed while using the app will keep that
|
|
47
|
+
change, as long as the new `value` also matches what was given
|
|
48
|
+
originally. Used in conjunction with `persistence_type`.
|
|
49
|
+
|
|
50
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
51
|
+
Where persisted user changes will be stored: memory: only kept in
|
|
52
|
+
memory, reset on page refresh. local: window.localStorage, data
|
|
53
|
+
is kept after the browser quit. session: window.sessionStorage,
|
|
54
|
+
data is cleared once the browser quit.
|
|
55
|
+
|
|
56
|
+
- size (a value equal to: 'default', 'large'; default 'default')
|
|
57
|
+
|
|
58
|
+
- style (dict; optional)
|
|
59
|
+
|
|
60
|
+
- value (string; optional)"""
|
|
61
|
+
_children_props = []
|
|
62
|
+
_base_nodes = ['children']
|
|
63
|
+
_namespace = 'feffery_antd_components'
|
|
64
|
+
_type = 'AntdCalendar'
|
|
65
|
+
@_explicitize_args
|
|
66
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, size=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
67
|
+
self._prop_names = ['id', 'className', 'defaultValue', 'format', 'key', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
68
|
+
self._valid_wildcard_attributes = []
|
|
69
|
+
self.available_properties = ['id', 'className', 'defaultValue', 'format', 'key', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
70
|
+
self.available_wildcard_properties = []
|
|
71
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
72
|
+
_locals = locals()
|
|
73
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
74
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
75
|
+
|
|
76
|
+
super(AntdCalendar, self).__init__(**args)
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdCard(Component):
|
|
7
|
+
"""An AntdCard component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
The content of the tab - will only be displayed if this tab is
|
|
14
|
+
selected.
|
|
15
|
+
|
|
16
|
+
- id (string; optional)
|
|
17
|
+
|
|
18
|
+
- actions (list of a list of or a singular dash component, string or numbers; optional)
|
|
19
|
+
|
|
20
|
+
- bodyStyle (dict; optional)
|
|
21
|
+
|
|
22
|
+
- bordered (boolean; default True)
|
|
23
|
+
|
|
24
|
+
- className (string | dict; optional)
|
|
25
|
+
|
|
26
|
+
- coverImg (dict; optional)
|
|
27
|
+
|
|
28
|
+
`coverImg` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- alt (string; optional)
|
|
31
|
+
|
|
32
|
+
- className (string; optional)
|
|
33
|
+
|
|
34
|
+
- src (string; optional)
|
|
35
|
+
|
|
36
|
+
- style (dict; optional)
|
|
37
|
+
|
|
38
|
+
- extra (a list of or a singular dash component, string or number; optional):
|
|
39
|
+
设置卡片右上角额外元素,优先级高于extraLink.
|
|
40
|
+
|
|
41
|
+
- extraLink (dict; optional)
|
|
42
|
+
|
|
43
|
+
`extraLink` is a dict with keys:
|
|
44
|
+
|
|
45
|
+
- className (string; optional)
|
|
46
|
+
|
|
47
|
+
- content (string; optional)
|
|
48
|
+
|
|
49
|
+
- href (string; optional)
|
|
50
|
+
|
|
51
|
+
- style (dict; optional)
|
|
52
|
+
|
|
53
|
+
- target (string; optional)
|
|
54
|
+
|
|
55
|
+
- headStyle (dict; optional)
|
|
56
|
+
|
|
57
|
+
- hoverable (boolean; default False)
|
|
58
|
+
|
|
59
|
+
- key (string; optional)
|
|
60
|
+
|
|
61
|
+
- loading_state (dict; optional)
|
|
62
|
+
|
|
63
|
+
`loading_state` is a dict with keys:
|
|
64
|
+
|
|
65
|
+
- component_name (string; optional):
|
|
66
|
+
Holds the name of the component that is loading.
|
|
67
|
+
|
|
68
|
+
- is_loading (boolean; optional):
|
|
69
|
+
Determines if the component is loading or not.
|
|
70
|
+
|
|
71
|
+
- prop_name (string; optional):
|
|
72
|
+
Holds which property is loading.
|
|
73
|
+
|
|
74
|
+
- size (a value equal to: 'default', 'small'; default 'default')
|
|
75
|
+
|
|
76
|
+
- style (dict; optional)
|
|
77
|
+
|
|
78
|
+
- title (a list of or a singular dash component, string or number; optional)"""
|
|
79
|
+
_children_props = ['actions', 'title', 'extra']
|
|
80
|
+
_base_nodes = ['actions', 'title', 'extra', 'children']
|
|
81
|
+
_namespace = 'feffery_antd_components'
|
|
82
|
+
_type = 'AntdCard'
|
|
83
|
+
@_explicitize_args
|
|
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']
|
|
86
|
+
self._valid_wildcard_attributes = []
|
|
87
|
+
self.available_properties = ['children', 'id', 'actions', 'bodyStyle', 'bordered', 'className', 'coverImg', 'extra', 'extraLink', 'headStyle', 'hoverable', 'key', 'loading_state', 'size', 'style', 'title']
|
|
88
|
+
self.available_wildcard_properties = []
|
|
89
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
90
|
+
_locals = locals()
|
|
91
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
92
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
93
|
+
|
|
94
|
+
super(AntdCard, self).__init__(children=children, **args)
|
|
@@ -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 AntdCardGrid(Component):
|
|
7
|
+
"""An AntdCardGrid component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
The content of the tab - will only be displayed if this tab is
|
|
14
|
+
selected.
|
|
15
|
+
|
|
16
|
+
- id (string; optional)
|
|
17
|
+
|
|
18
|
+
- className (string | dict; optional)
|
|
19
|
+
|
|
20
|
+
- hoverable (boolean; default True)
|
|
21
|
+
|
|
22
|
+
- key (string; 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
|
+
- style (dict; optional)"""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_antd_components'
|
|
41
|
+
_type = 'AntdCardGrid'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, hoverable=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['children', 'id', 'className', 'hoverable', 'key', 'loading_state', 'style']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['children', 'id', 'className', 'hoverable', 'key', 'loading_state', 'style']
|
|
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 if k != 'children'}
|
|
52
|
+
|
|
53
|
+
super(AntdCardGrid, self).__init__(children=children, **args)
|
|
@@ -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)
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdCarousel(Component):
|
|
7
|
+
"""An AntdCarousel 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
|
+
- autoplay (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- autoplaySpeed (number; default 3000)
|
|
19
|
+
|
|
20
|
+
- className (string | dict; optional)
|
|
21
|
+
|
|
22
|
+
- dotPosition (a value equal to: 'top', 'bottom', 'left', 'right'; default 'bottom')
|
|
23
|
+
|
|
24
|
+
- easing (string; default 'linear')
|
|
25
|
+
|
|
26
|
+
- effect (a value equal to: 'scrollx', 'fade'; default 'scrollx')
|
|
27
|
+
|
|
28
|
+
- key (string; optional)
|
|
29
|
+
|
|
30
|
+
- loading_state (dict; optional)
|
|
31
|
+
|
|
32
|
+
`loading_state` is a dict with keys:
|
|
33
|
+
|
|
34
|
+
- component_name (string; optional):
|
|
35
|
+
Holds the name of the component that is loading.
|
|
36
|
+
|
|
37
|
+
- is_loading (boolean; optional):
|
|
38
|
+
Determines if the component is loading or not.
|
|
39
|
+
|
|
40
|
+
- prop_name (string; optional):
|
|
41
|
+
Holds which property is loading.
|
|
42
|
+
|
|
43
|
+
- pauseOnHover (boolean; default False)
|
|
44
|
+
|
|
45
|
+
- speed (number; default 500)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)"""
|
|
48
|
+
_children_props = []
|
|
49
|
+
_base_nodes = ['children']
|
|
50
|
+
_namespace = 'feffery_antd_components'
|
|
51
|
+
_type = 'AntdCarousel'
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, autoplay=Component.UNDEFINED, dotPosition=Component.UNDEFINED, easing=Component.UNDEFINED, effect=Component.UNDEFINED, autoplaySpeed=Component.UNDEFINED, speed=Component.UNDEFINED, pauseOnHover=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['children', 'id', 'autoplay', 'autoplaySpeed', 'className', 'dotPosition', 'easing', 'effect', 'key', 'loading_state', 'pauseOnHover', 'speed', 'style']
|
|
55
|
+
self._valid_wildcard_attributes = []
|
|
56
|
+
self.available_properties = ['children', 'id', 'autoplay', 'autoplaySpeed', 'className', 'dotPosition', 'easing', 'effect', 'key', 'loading_state', 'pauseOnHover', 'speed', 'style']
|
|
57
|
+
self.available_wildcard_properties = []
|
|
58
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
59
|
+
_locals = locals()
|
|
60
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
61
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
62
|
+
|
|
63
|
+
super(AntdCarousel, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdCascader(Component):
|
|
7
|
+
"""An AntdCascader component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- allowClear (boolean; default True)
|
|
15
|
+
|
|
16
|
+
- autoFocus (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- batchPropsNames (list of strings; optional)
|
|
19
|
+
|
|
20
|
+
- batchPropsValues (dict; optional)
|
|
21
|
+
|
|
22
|
+
- bordered (boolean; default True)
|
|
23
|
+
|
|
24
|
+
- changeOnSelect (boolean; default False)
|
|
25
|
+
|
|
26
|
+
- className (string | dict; optional)
|
|
27
|
+
|
|
28
|
+
- defaultValue (list of string | numbers | list of list of string | numberss; optional)
|
|
29
|
+
|
|
30
|
+
- disabled (boolean; default False)
|
|
31
|
+
|
|
32
|
+
- expandTrigger (a value equal to: 'click', 'hover'; default 'click')
|
|
33
|
+
|
|
34
|
+
- key (string; optional)
|
|
35
|
+
|
|
36
|
+
- loading_state (dict; optional)
|
|
37
|
+
|
|
38
|
+
`loading_state` is a dict with keys:
|
|
39
|
+
|
|
40
|
+
- component_name (string; optional):
|
|
41
|
+
Holds the name of the component that is loading.
|
|
42
|
+
|
|
43
|
+
- is_loading (boolean; optional):
|
|
44
|
+
Determines if the component is loading or not.
|
|
45
|
+
|
|
46
|
+
- prop_name (string; optional):
|
|
47
|
+
Holds which property is loading.
|
|
48
|
+
|
|
49
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
50
|
+
|
|
51
|
+
- maxTagCount (number | a value equal to: 'responsive'; optional)
|
|
52
|
+
|
|
53
|
+
- multiple (boolean; default False)
|
|
54
|
+
|
|
55
|
+
- options (list; required)
|
|
56
|
+
|
|
57
|
+
- optionsMode (a value equal to: 'tree', 'flat'; default 'tree')
|
|
58
|
+
|
|
59
|
+
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
60
|
+
Properties whose user interactions will persist after refreshing
|
|
61
|
+
the component or the page. Since only `value` is allowed this
|
|
62
|
+
prop can normally be ignored.
|
|
63
|
+
|
|
64
|
+
- persistence (boolean | string | number; optional):
|
|
65
|
+
Used to allow user interactions in this component to be persisted
|
|
66
|
+
when the component - or the page - is refreshed. If `persisted`
|
|
67
|
+
is truthy and hasn't changed from its previous value, a `value`
|
|
68
|
+
that the user has changed while using the app will keep that
|
|
69
|
+
change, as long as the new `value` also matches what was given
|
|
70
|
+
originally. Used in conjunction with `persistence_type`.
|
|
71
|
+
|
|
72
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
73
|
+
Where persisted user changes will be stored: memory: only kept in
|
|
74
|
+
memory, reset on page refresh. local: window.localStorage, data
|
|
75
|
+
is kept after the browser quit. session: window.sessionStorage,
|
|
76
|
+
data is cleared once the browser quit.
|
|
77
|
+
|
|
78
|
+
- placeholder (string; optional)
|
|
79
|
+
|
|
80
|
+
- placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; default 'bottomLeft')
|
|
81
|
+
|
|
82
|
+
- popupClassName (string; optional):
|
|
83
|
+
设置弹框菜单css类名.
|
|
84
|
+
|
|
85
|
+
- popupContainer (a value equal to: 'parent', 'body'; default 'body')
|
|
86
|
+
|
|
87
|
+
- readOnly (boolean; optional)
|
|
88
|
+
|
|
89
|
+
- showCheckedStrategy (a value equal to: 'show-parent', 'show-child'; default 'show-parent')
|
|
90
|
+
|
|
91
|
+
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
92
|
+
|
|
93
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
94
|
+
|
|
95
|
+
- style (dict; optional)
|
|
96
|
+
|
|
97
|
+
- value (list of string | numbers | list of list of string | numberss; optional)"""
|
|
98
|
+
_children_props = []
|
|
99
|
+
_base_nodes = ['children']
|
|
100
|
+
_namespace = 'feffery_antd_components'
|
|
101
|
+
_type = 'AntdCascader'
|
|
102
|
+
@_explicitize_args
|
|
103
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, popupClassName=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, optionsMode=Component.UNDEFINED, options=Component.REQUIRED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, autoFocus=Component.UNDEFINED, showCheckedStrategy=Component.UNDEFINED, readOnly=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
104
|
+
self._prop_names = ['id', 'allowClear', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'key', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'optionsMode', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'readOnly', 'showCheckedStrategy', 'size', 'status', 'style', 'value']
|
|
105
|
+
self._valid_wildcard_attributes = []
|
|
106
|
+
self.available_properties = ['id', 'allowClear', 'autoFocus', 'batchPropsNames', 'batchPropsValues', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'key', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'optionsMode', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'popupClassName', 'popupContainer', 'readOnly', 'showCheckedStrategy', 'size', 'status', 'style', 'value']
|
|
107
|
+
self.available_wildcard_properties = []
|
|
108
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
109
|
+
_locals = locals()
|
|
110
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
111
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
112
|
+
|
|
113
|
+
for k in ['options']:
|
|
114
|
+
if k not in args:
|
|
115
|
+
raise TypeError(
|
|
116
|
+
'Required argument `' + k + '` was not specified.')
|
|
117
|
+
|
|
118
|
+
super(AntdCascader, self).__init__(**args)
|
|
@@ -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 AntdCenter(Component):
|
|
7
|
+
"""An AntdCenter component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional):
|
|
13
|
+
The content of the tab - will only be displayed if this tab is
|
|
14
|
+
selected.
|
|
15
|
+
|
|
16
|
+
- id (string; optional)
|
|
17
|
+
|
|
18
|
+
- className (string | dict; optional)
|
|
19
|
+
|
|
20
|
+
- inline (boolean; default False)
|
|
21
|
+
|
|
22
|
+
- key (string; 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
|
+
- style (dict; optional)"""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_antd_components'
|
|
41
|
+
_type = 'AntdCenter'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, inline=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['children', 'id', 'className', 'inline', 'key', 'loading_state', 'style']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['children', 'id', 'className', 'inline', 'key', 'loading_state', 'style']
|
|
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 if k != 'children'}
|
|
52
|
+
|
|
53
|
+
super(AntdCenter, self).__init__(children=children, **args)
|