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,91 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdDrawer(Component):
|
|
7
|
+
"""An AntdDrawer 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
|
+
- bodyStyle (dict; optional)
|
|
17
|
+
|
|
18
|
+
- className (string | dict; optional)
|
|
19
|
+
|
|
20
|
+
- closable (boolean; default True)
|
|
21
|
+
|
|
22
|
+
- containerId (string; optional)
|
|
23
|
+
|
|
24
|
+
- containerSelector (string; optional)
|
|
25
|
+
|
|
26
|
+
- contentWrapperStyle (dict; optional)
|
|
27
|
+
|
|
28
|
+
- destroyOnClose (boolean; default False)
|
|
29
|
+
|
|
30
|
+
- drawerStyle (dict; optional)
|
|
31
|
+
|
|
32
|
+
- extra (a list of or a singular dash component, string or number; optional)
|
|
33
|
+
|
|
34
|
+
- footer (a list of or a singular dash component, string or number; optional)
|
|
35
|
+
|
|
36
|
+
- footerStyle (dict; optional)
|
|
37
|
+
|
|
38
|
+
- forceRender (boolean; default False)
|
|
39
|
+
|
|
40
|
+
- headerStyle (dict; optional)
|
|
41
|
+
|
|
42
|
+
- height (number | string; default 256)
|
|
43
|
+
|
|
44
|
+
- key (string; optional)
|
|
45
|
+
|
|
46
|
+
- loading_state (dict; optional)
|
|
47
|
+
|
|
48
|
+
`loading_state` is a dict with keys:
|
|
49
|
+
|
|
50
|
+
- component_name (string; optional):
|
|
51
|
+
Holds the name of the component that is loading.
|
|
52
|
+
|
|
53
|
+
- is_loading (boolean; optional):
|
|
54
|
+
Determines if the component is loading or not.
|
|
55
|
+
|
|
56
|
+
- prop_name (string; optional):
|
|
57
|
+
Holds which property is loading.
|
|
58
|
+
|
|
59
|
+
- mask (boolean; default True)
|
|
60
|
+
|
|
61
|
+
- maskClosable (boolean; default True)
|
|
62
|
+
|
|
63
|
+
- maskStyle (dict; optional)
|
|
64
|
+
|
|
65
|
+
- placement (a value equal to: 'left', 'right', 'top', 'bottom'; default 'right')
|
|
66
|
+
|
|
67
|
+
- style (dict; optional)
|
|
68
|
+
|
|
69
|
+
- title (a list of or a singular dash component, string or number; optional)
|
|
70
|
+
|
|
71
|
+
- visible (boolean; default False)
|
|
72
|
+
|
|
73
|
+
- width (number | string; default 256)
|
|
74
|
+
|
|
75
|
+
- zIndex (number; default 1000)"""
|
|
76
|
+
_children_props = ['title', 'extra', 'footer']
|
|
77
|
+
_base_nodes = ['title', 'extra', 'footer', 'children']
|
|
78
|
+
_namespace = 'feffery_antd_components'
|
|
79
|
+
_type = 'AntdDrawer'
|
|
80
|
+
@_explicitize_args
|
|
81
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, drawerStyle=Component.UNDEFINED, bodyStyle=Component.UNDEFINED, contentWrapperStyle=Component.UNDEFINED, headerStyle=Component.UNDEFINED, footerStyle=Component.UNDEFINED, maskStyle=Component.UNDEFINED, key=Component.UNDEFINED, visible=Component.UNDEFINED, title=Component.UNDEFINED, placement=Component.UNDEFINED, closable=Component.UNDEFINED, forceRender=Component.UNDEFINED, destroyOnClose=Component.UNDEFINED, width=Component.UNDEFINED, height=Component.UNDEFINED, mask=Component.UNDEFINED, maskClosable=Component.UNDEFINED, zIndex=Component.UNDEFINED, extra=Component.UNDEFINED, footer=Component.UNDEFINED, containerId=Component.UNDEFINED, containerSelector=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
82
|
+
self._prop_names = ['children', 'id', 'bodyStyle', 'className', 'closable', 'containerId', 'containerSelector', 'contentWrapperStyle', 'destroyOnClose', 'drawerStyle', 'extra', 'footer', 'footerStyle', 'forceRender', 'headerStyle', 'height', 'key', 'loading_state', 'mask', 'maskClosable', 'maskStyle', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
|
|
83
|
+
self._valid_wildcard_attributes = []
|
|
84
|
+
self.available_properties = ['children', 'id', 'bodyStyle', 'className', 'closable', 'containerId', 'containerSelector', 'contentWrapperStyle', 'destroyOnClose', 'drawerStyle', 'extra', 'footer', 'footerStyle', 'forceRender', 'headerStyle', 'height', 'key', 'loading_state', 'mask', 'maskClosable', 'maskStyle', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
|
|
85
|
+
self.available_wildcard_properties = []
|
|
86
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
|
+
_locals = locals()
|
|
88
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
89
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
90
|
+
|
|
91
|
+
super(AntdDrawer, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdDropdown(Component):
|
|
7
|
+
"""An AntdDropdown component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- arrow (boolean; default False)
|
|
15
|
+
|
|
16
|
+
- autoAdjustOverflow (boolean; default True)
|
|
17
|
+
|
|
18
|
+
- batchPropsNames (list of strings; optional)
|
|
19
|
+
|
|
20
|
+
- batchPropsValues (dict; optional)
|
|
21
|
+
|
|
22
|
+
- buttonMode (boolean; default False)
|
|
23
|
+
|
|
24
|
+
- buttonProps (dict; optional)
|
|
25
|
+
|
|
26
|
+
`buttonProps` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- className (string; optional)
|
|
29
|
+
|
|
30
|
+
- danger (boolean; optional)
|
|
31
|
+
|
|
32
|
+
- size (a value equal to: 'default', 'small', 'large'; optional)
|
|
33
|
+
|
|
34
|
+
- style (dict; optional)
|
|
35
|
+
|
|
36
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
37
|
+
|
|
38
|
+
- className (string | dict; optional)
|
|
39
|
+
|
|
40
|
+
- clickedKey (string; optional)
|
|
41
|
+
|
|
42
|
+
- disabled (boolean; default False)
|
|
43
|
+
|
|
44
|
+
- freePosition (boolean; default False)
|
|
45
|
+
|
|
46
|
+
- freePositionClassName (string; optional)
|
|
47
|
+
|
|
48
|
+
- freePositionStyle (dict; optional)
|
|
49
|
+
|
|
50
|
+
- key (string; optional)
|
|
51
|
+
|
|
52
|
+
- loading_state (dict; optional)
|
|
53
|
+
|
|
54
|
+
`loading_state` is a dict with keys:
|
|
55
|
+
|
|
56
|
+
- component_name (string; optional):
|
|
57
|
+
Holds the name of the component that is loading.
|
|
58
|
+
|
|
59
|
+
- is_loading (boolean; optional):
|
|
60
|
+
Determines if the component is loading or not.
|
|
61
|
+
|
|
62
|
+
- prop_name (string; optional):
|
|
63
|
+
Holds which property is loading.
|
|
64
|
+
|
|
65
|
+
- menuItems (list of dicts; optional)
|
|
66
|
+
|
|
67
|
+
`menuItems` is a list of dicts with keys:
|
|
68
|
+
|
|
69
|
+
- disabled (boolean; optional)
|
|
70
|
+
|
|
71
|
+
- href (string; optional)
|
|
72
|
+
|
|
73
|
+
- icon (string; optional)
|
|
74
|
+
|
|
75
|
+
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional)
|
|
76
|
+
|
|
77
|
+
- isDivider (boolean; optional)
|
|
78
|
+
|
|
79
|
+
- key (string; optional)
|
|
80
|
+
|
|
81
|
+
- target (string; optional)
|
|
82
|
+
|
|
83
|
+
- title (string; optional)
|
|
84
|
+
|
|
85
|
+
- multiple (boolean; optional):
|
|
86
|
+
设置菜单是否允许多选 默认:False.
|
|
87
|
+
|
|
88
|
+
- nClicks (number; default 0)
|
|
89
|
+
|
|
90
|
+
- overlayClassName (string | dict; optional)
|
|
91
|
+
|
|
92
|
+
- overlayStyle (dict; optional)
|
|
93
|
+
|
|
94
|
+
- placement (a value equal to: 'bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'; optional)
|
|
95
|
+
|
|
96
|
+
- popupContainer (a value equal to: 'parent', 'body'; default 'body')
|
|
97
|
+
|
|
98
|
+
- selectable (boolean; optional):
|
|
99
|
+
设置菜单项是否可选中 默认:False.
|
|
100
|
+
|
|
101
|
+
- selectedKeys (list of strings; optional):
|
|
102
|
+
设置或监听当前已选中菜单项key值数组.
|
|
103
|
+
|
|
104
|
+
- style (dict; optional)
|
|
105
|
+
|
|
106
|
+
- title (string; optional)
|
|
107
|
+
|
|
108
|
+
- trigger (a value equal to: 'click', 'hover'; default 'hover')
|
|
109
|
+
|
|
110
|
+
- visible (boolean; default False)"""
|
|
111
|
+
_children_props = []
|
|
112
|
+
_base_nodes = ['children']
|
|
113
|
+
_namespace = 'feffery_antd_components'
|
|
114
|
+
_type = 'AntdDropdown'
|
|
115
|
+
@_explicitize_args
|
|
116
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, buttonProps=Component.UNDEFINED, freePosition=Component.UNDEFINED, freePositionStyle=Component.UNDEFINED, freePositionClassName=Component.UNDEFINED, clickedKey=Component.UNDEFINED, nClicks=Component.UNDEFINED, menuItems=Component.UNDEFINED, selectable=Component.UNDEFINED, multiple=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, autoAdjustOverflow=Component.UNDEFINED, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, batchPropsNames=Component.UNDEFINED, batchPropsValues=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
117
|
+
self._prop_names = ['id', 'arrow', 'autoAdjustOverflow', 'batchPropsNames', 'batchPropsValues', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'multiple', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'selectable', 'selectedKeys', 'style', 'title', 'trigger', 'visible']
|
|
118
|
+
self._valid_wildcard_attributes = []
|
|
119
|
+
self.available_properties = ['id', 'arrow', 'autoAdjustOverflow', 'batchPropsNames', 'batchPropsValues', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'multiple', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'selectable', 'selectedKeys', 'style', 'title', 'trigger', 'visible']
|
|
120
|
+
self.available_wildcard_properties = []
|
|
121
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
122
|
+
_locals = locals()
|
|
123
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
124
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
125
|
+
|
|
126
|
+
super(AntdDropdown, self).__init__(**args)
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdEmpty(Component):
|
|
7
|
+
"""An AntdEmpty 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 | dict; optional)
|
|
17
|
+
|
|
18
|
+
- description (a list of or a singular dash component, string or number | boolean; optional)
|
|
19
|
+
|
|
20
|
+
- image (string | a value equal to: 'default', 'simple'; default 'default')
|
|
21
|
+
|
|
22
|
+
- imageStyle (dict; optional)
|
|
23
|
+
|
|
24
|
+
- key (string; 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
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
40
|
+
|
|
41
|
+
- style (dict; optional)"""
|
|
42
|
+
_children_props = ['description']
|
|
43
|
+
_base_nodes = ['description', 'children']
|
|
44
|
+
_namespace = 'feffery_antd_components'
|
|
45
|
+
_type = 'AntdEmpty'
|
|
46
|
+
@_explicitize_args
|
|
47
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, description=Component.UNDEFINED, image=Component.UNDEFINED, imageStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
48
|
+
self._prop_names = ['children', 'id', 'className', 'description', 'image', 'imageStyle', 'key', 'loading_state', 'locale', 'style']
|
|
49
|
+
self._valid_wildcard_attributes = []
|
|
50
|
+
self.available_properties = ['children', 'id', 'className', 'description', 'image', 'imageStyle', 'key', 'loading_state', 'locale', 'style']
|
|
51
|
+
self.available_wildcard_properties = []
|
|
52
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
53
|
+
_locals = locals()
|
|
54
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
55
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
56
|
+
|
|
57
|
+
super(AntdEmpty, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdFlex(Component):
|
|
7
|
+
"""An AntdFlex 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
|
+
- align (string; default 'normal'):
|
|
19
|
+
设置元素在交叉轴方向上的对齐方式,同css中的align-items 默认:'normal'.
|
|
20
|
+
|
|
21
|
+
- className (string | dict; optional)
|
|
22
|
+
|
|
23
|
+
- flex (string; default 'normal'):
|
|
24
|
+
设置flex css简写属性 默认:'normal'.
|
|
25
|
+
|
|
26
|
+
- gap (string | number | a value equal to: 'small', 'middle', 'large'; optional):
|
|
27
|
+
设置网格之间的间隙,可选的有'small'、'middle'、'large',也可传入字符型css宽度,或数值型像素宽度.
|
|
28
|
+
|
|
29
|
+
- justify (string; default 'normal'):
|
|
30
|
+
设置元素在主轴方向上的对齐方式,同css中的justify-content 默认:'normal'.
|
|
31
|
+
|
|
32
|
+
- key (string; optional)
|
|
33
|
+
|
|
34
|
+
- loading_state (dict; optional)
|
|
35
|
+
|
|
36
|
+
`loading_state` is a dict with keys:
|
|
37
|
+
|
|
38
|
+
- component_name (string; optional):
|
|
39
|
+
Holds the name of the component that is loading.
|
|
40
|
+
|
|
41
|
+
- is_loading (boolean; optional):
|
|
42
|
+
Determines if the component is loading or not.
|
|
43
|
+
|
|
44
|
+
- prop_name (string; optional):
|
|
45
|
+
Holds which property is loading.
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)
|
|
48
|
+
|
|
49
|
+
- vertical (boolean; default False):
|
|
50
|
+
设置flex主轴是否垂直 默认:False.
|
|
51
|
+
|
|
52
|
+
- wrap (string; default 'nowrap'):
|
|
53
|
+
设置元素的换行显示行为,同css中的flex-wrap 默认:'nowrap'."""
|
|
54
|
+
_children_props = []
|
|
55
|
+
_base_nodes = ['children']
|
|
56
|
+
_namespace = 'feffery_antd_components'
|
|
57
|
+
_type = 'AntdFlex'
|
|
58
|
+
@_explicitize_args
|
|
59
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, vertical=Component.UNDEFINED, wrap=Component.UNDEFINED, justify=Component.UNDEFINED, align=Component.UNDEFINED, flex=Component.UNDEFINED, gap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
60
|
+
self._prop_names = ['children', 'id', 'align', 'className', 'flex', 'gap', 'justify', 'key', 'loading_state', 'style', 'vertical', 'wrap']
|
|
61
|
+
self._valid_wildcard_attributes = []
|
|
62
|
+
self.available_properties = ['children', 'id', 'align', 'className', 'flex', 'gap', 'justify', 'key', 'loading_state', 'style', 'vertical', 'wrap']
|
|
63
|
+
self.available_wildcard_properties = []
|
|
64
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
65
|
+
_locals = locals()
|
|
66
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
67
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
68
|
+
|
|
69
|
+
super(AntdFlex, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdFloatButton(Component):
|
|
7
|
+
"""An AntdFloatButton component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string | dict; optional)
|
|
15
|
+
|
|
16
|
+
- description (a list of or a singular dash component, string or number; optional):
|
|
17
|
+
组件型,用于设置文字及其他内容,仅shape='square'时可用.
|
|
18
|
+
|
|
19
|
+
- href (string; optional):
|
|
20
|
+
为按钮设置点击后跳转的链接地址.
|
|
21
|
+
|
|
22
|
+
- icon (a list of or a singular dash component, string or number; optional):
|
|
23
|
+
组件型,用于设置自定义图标元素.
|
|
24
|
+
|
|
25
|
+
- key (string; optional)
|
|
26
|
+
|
|
27
|
+
- loading_state (dict; optional)
|
|
28
|
+
|
|
29
|
+
`loading_state` is a dict with keys:
|
|
30
|
+
|
|
31
|
+
- component_name (string; optional):
|
|
32
|
+
Holds the name of the component that is loading.
|
|
33
|
+
|
|
34
|
+
- is_loading (boolean; optional):
|
|
35
|
+
Determines if the component is loading or not.
|
|
36
|
+
|
|
37
|
+
- prop_name (string; optional):
|
|
38
|
+
Holds which property is loading.
|
|
39
|
+
|
|
40
|
+
- nClicks (number; default 0):
|
|
41
|
+
监听当前悬浮按钮累计点击次数.
|
|
42
|
+
|
|
43
|
+
- shape (a value equal to: 'circle', 'square'; default 'circle'):
|
|
44
|
+
设置按钮形状,可选的有'circle'、'square' 默认:'circle'.
|
|
45
|
+
|
|
46
|
+
- style (dict; optional)
|
|
47
|
+
|
|
48
|
+
- target (string; default '_blank'):
|
|
49
|
+
设置链接点击跳转行为 默认:'_blank'.
|
|
50
|
+
|
|
51
|
+
- tooltip (a list of or a singular dash component, string or number; optional):
|
|
52
|
+
组件型,用于设置附加气泡卡片的内部元素.
|
|
53
|
+
|
|
54
|
+
- type (a value equal to: 'default', 'primary'; default 'default'):
|
|
55
|
+
设置按钮类型,可选的有'default'、'primary' 默认:'default'."""
|
|
56
|
+
_children_props = ['icon', 'description', 'tooltip']
|
|
57
|
+
_base_nodes = ['icon', 'description', 'tooltip', 'children']
|
|
58
|
+
_namespace = 'feffery_antd_components'
|
|
59
|
+
_type = 'AntdFloatButton'
|
|
60
|
+
@_explicitize_args
|
|
61
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, icon=Component.UNDEFINED, description=Component.UNDEFINED, tooltip=Component.UNDEFINED, type=Component.UNDEFINED, shape=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
62
|
+
self._prop_names = ['id', 'className', 'description', 'href', 'icon', 'key', 'loading_state', 'nClicks', 'shape', 'style', 'target', 'tooltip', 'type']
|
|
63
|
+
self._valid_wildcard_attributes = []
|
|
64
|
+
self.available_properties = ['id', 'className', 'description', 'href', 'icon', 'key', 'loading_state', 'nClicks', 'shape', 'style', 'target', 'tooltip', 'type']
|
|
65
|
+
self.available_wildcard_properties = []
|
|
66
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
|
+
_locals = locals()
|
|
68
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
69
|
+
args = {k: _locals[k] for k in _explicit_args}
|
|
70
|
+
|
|
71
|
+
super(AntdFloatButton, self).__init__(**args)
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdFloatButtonGroup(Component):
|
|
7
|
+
"""An AntdFloatButtonGroup component.
|
|
8
|
+
|
|
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
|
+
|
|
17
|
+
- className (string | dict; optional)
|
|
18
|
+
|
|
19
|
+
- description (a list of or a singular dash component, string or number; optional):
|
|
20
|
+
组件型,用于设置文字及其他内容,仅shape='square'时可用.
|
|
21
|
+
|
|
22
|
+
- icon (a list of or a singular dash component, string or number; optional):
|
|
23
|
+
组件型,用于设置自定义图标元素.
|
|
24
|
+
|
|
25
|
+
- key (string; optional)
|
|
26
|
+
|
|
27
|
+
- loading_state (dict; optional)
|
|
28
|
+
|
|
29
|
+
`loading_state` is a dict with keys:
|
|
30
|
+
|
|
31
|
+
- component_name (string; optional):
|
|
32
|
+
Holds the name of the component that is loading.
|
|
33
|
+
|
|
34
|
+
- is_loading (boolean; optional):
|
|
35
|
+
Determines if the component is loading or not.
|
|
36
|
+
|
|
37
|
+
- prop_name (string; optional):
|
|
38
|
+
Holds which property is loading.
|
|
39
|
+
|
|
40
|
+
- open (boolean; optional):
|
|
41
|
+
用于设置或监听当前悬浮按钮组展开状态.
|
|
42
|
+
|
|
43
|
+
- shape (a value equal to: 'circle', 'square'; default 'circle'):
|
|
44
|
+
设置内部各按钮形状,可选的有'circle'、'square' 默认:'circle'.
|
|
45
|
+
|
|
46
|
+
- style (dict; optional)
|
|
47
|
+
|
|
48
|
+
- tooltip (a list of or a singular dash component, string or number; optional):
|
|
49
|
+
组件型,用于设置附加气泡卡片的内部元素.
|
|
50
|
+
|
|
51
|
+
- trigger (a value equal to: 'click', 'hover'; optional):
|
|
52
|
+
当传入有效值时,用于设置菜单触发模式,可选的有'click'、'hover'.
|
|
53
|
+
|
|
54
|
+
- type (a value equal to: 'default', 'primary'; default 'default'):
|
|
55
|
+
设置按钮类型,可选的有'default'、'primary' 默认:'default'."""
|
|
56
|
+
_children_props = ['icon', 'description', 'tooltip']
|
|
57
|
+
_base_nodes = ['icon', 'description', 'tooltip', 'children']
|
|
58
|
+
_namespace = 'feffery_antd_components'
|
|
59
|
+
_type = 'AntdFloatButtonGroup'
|
|
60
|
+
@_explicitize_args
|
|
61
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, icon=Component.UNDEFINED, description=Component.UNDEFINED, tooltip=Component.UNDEFINED, type=Component.UNDEFINED, shape=Component.UNDEFINED, trigger=Component.UNDEFINED, open=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
62
|
+
self._prop_names = ['children', 'id', 'className', 'description', 'icon', 'key', 'loading_state', 'open', 'shape', 'style', 'tooltip', 'trigger', 'type']
|
|
63
|
+
self._valid_wildcard_attributes = []
|
|
64
|
+
self.available_properties = ['children', 'id', 'className', 'description', 'icon', 'key', 'loading_state', 'open', 'shape', 'style', 'tooltip', 'trigger', 'type']
|
|
65
|
+
self.available_wildcard_properties = []
|
|
66
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
|
+
_locals = locals()
|
|
68
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
69
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
70
|
+
|
|
71
|
+
super(AntdFloatButtonGroup, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdFooter(Component):
|
|
7
|
+
"""An AntdFooter 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
|
+
- 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
|
+
_children_props = []
|
|
37
|
+
_base_nodes = ['children']
|
|
38
|
+
_namespace = 'feffery_antd_components'
|
|
39
|
+
_type = 'AntdFooter'
|
|
40
|
+
@_explicitize_args
|
|
41
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'className', 'key', 'loading_state', 'style']
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['children', 'id', 'className', 'key', 'loading_state', 'style']
|
|
45
|
+
self.available_wildcard_properties = []
|
|
46
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
|
+
_locals = locals()
|
|
48
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
49
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
|
+
|
|
51
|
+
super(AntdFooter, self).__init__(children=children, **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 AntdForm(Component):
|
|
7
|
+
"""An AntdForm 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
|
+
- colon (boolean; default True)
|
|
21
|
+
|
|
22
|
+
- key (string; optional)
|
|
23
|
+
|
|
24
|
+
- labelAlign (a value equal to: 'left', 'right'; default 'right')
|
|
25
|
+
|
|
26
|
+
- labelCol (dict; optional)
|
|
27
|
+
|
|
28
|
+
`labelCol` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- flex (string | number; optional)
|
|
31
|
+
|
|
32
|
+
- offset (number; optional)
|
|
33
|
+
|
|
34
|
+
- span (number; optional)
|
|
35
|
+
|
|
36
|
+
- labelWrap (boolean; default False)
|
|
37
|
+
|
|
38
|
+
- layout (a value equal to: 'horizontal', 'vertical', 'inline'; default 'horizontal')
|
|
39
|
+
|
|
40
|
+
- loading_state (dict; optional)
|
|
41
|
+
|
|
42
|
+
`loading_state` is a dict with keys:
|
|
43
|
+
|
|
44
|
+
- component_name (string; optional):
|
|
45
|
+
Holds the name of the component that is loading.
|
|
46
|
+
|
|
47
|
+
- is_loading (boolean; optional):
|
|
48
|
+
Determines if the component is loading or not.
|
|
49
|
+
|
|
50
|
+
- prop_name (string; optional):
|
|
51
|
+
Holds which property is loading.
|
|
52
|
+
|
|
53
|
+
- style (dict; optional)
|
|
54
|
+
|
|
55
|
+
- wrapperCol (dict; optional)
|
|
56
|
+
|
|
57
|
+
`wrapperCol` is a dict with keys:
|
|
58
|
+
|
|
59
|
+
- flex (string | number; optional)
|
|
60
|
+
|
|
61
|
+
- offset (number; optional)
|
|
62
|
+
|
|
63
|
+
- span (number; optional)"""
|
|
64
|
+
_children_props = []
|
|
65
|
+
_base_nodes = ['children']
|
|
66
|
+
_namespace = 'feffery_antd_components'
|
|
67
|
+
_type = 'AntdForm'
|
|
68
|
+
@_explicitize_args
|
|
69
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, layout=Component.UNDEFINED, labelCol=Component.UNDEFINED, wrapperCol=Component.UNDEFINED, colon=Component.UNDEFINED, labelAlign=Component.UNDEFINED, labelWrap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
|
+
self._prop_names = ['children', 'id', 'className', 'colon', 'key', 'labelAlign', 'labelCol', 'labelWrap', 'layout', 'loading_state', 'style', 'wrapperCol']
|
|
71
|
+
self._valid_wildcard_attributes = []
|
|
72
|
+
self.available_properties = ['children', 'id', 'className', 'colon', 'key', 'labelAlign', 'labelCol', 'labelWrap', 'layout', 'loading_state', 'style', 'wrapperCol']
|
|
73
|
+
self.available_wildcard_properties = []
|
|
74
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
75
|
+
_locals = locals()
|
|
76
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
77
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
78
|
+
|
|
79
|
+
super(AntdForm, self).__init__(children=children, **args)
|