feffery_antd_components 0.1.4 → 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/NAMESPACE +2 -0
- 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/AntdAnchor.py +9 -3
- package/feffery_antd_components/AntdButton.py +5 -3
- package/feffery_antd_components/AntdCascader.py +5 -3
- package/feffery_antd_components/AntdDatePicker.py +5 -3
- package/feffery_antd_components/AntdDateRangePicker.py +5 -3
- package/feffery_antd_components/AntdDraggerUpload.py +6 -4
- package/feffery_antd_components/AntdImage.py +2 -2
- package/feffery_antd_components/AntdInput.py +5 -3
- package/feffery_antd_components/AntdInputNumber.py +5 -3
- package/feffery_antd_components/AntdMentions.py +5 -3
- package/feffery_antd_components/AntdMessage.py +5 -3
- package/feffery_antd_components/AntdPasteImage.py +52 -0
- package/feffery_antd_components/AntdSelect.py +7 -3
- package/feffery_antd_components/AntdTable.py +27 -3
- package/feffery_antd_components/AntdTimePicker.py +5 -3
- package/feffery_antd_components/AntdTimeRangePicker.py +5 -3
- package/feffery_antd_components/AntdTree.py +6 -10
- package/feffery_antd_components/AntdTreeSelect.py +7 -3
- package/feffery_antd_components/AntdUpload.py +16 -4
- package/feffery_antd_components/AntdWatermark.py +64 -0
- package/feffery_antd_components/_imports_.py +4 -0
- package/feffery_antd_components/feffery_antd_components.min.js +13 -13
- package/feffery_antd_components/metadata.json +680 -43
- package/feffery_antd_components/package-info.json +18 -14
- package/package.json +18 -14
- package/src/FefferyAntdComponents.jl +5 -3
- package/src/jl/'feffery'_antdanchor.jl +4 -1
- package/src/jl/'feffery'_antdbutton.jl +2 -1
- package/src/jl/'feffery'_antdcascader.jl +2 -1
- package/src/jl/'feffery'_antddatepicker.jl +2 -1
- package/src/jl/'feffery'_antddaterangepicker.jl +2 -1
- package/src/jl/'feffery'_antddraggerupload.jl +2 -1
- package/src/jl/'feffery'_antdimage.jl +2 -2
- package/src/jl/'feffery'_antdinput.jl +2 -1
- package/src/jl/'feffery'_antdinputnumber.jl +2 -1
- package/src/jl/'feffery'_antdmentions.jl +2 -1
- package/src/jl/'feffery'_antdmessage.jl +2 -1
- package/src/jl/'feffery'_antdpasteimage.jl +28 -0
- package/src/jl/'feffery'_antdselect.jl +3 -1
- package/src/jl/'feffery'_antdtable.jl +19 -5
- package/src/jl/'feffery'_antdtimepicker.jl +2 -1
- package/src/jl/'feffery'_antdtimerangepicker.jl +2 -1
- package/src/jl/'feffery'_antdtree.jl +3 -5
- package/src/jl/'feffery'_antdtreeselect.jl +3 -1
- package/src/jl/'feffery'_antdupload.jl +9 -2
- package/src/jl/'feffery'_antdwatermark.jl +39 -0
- package/src/lib/components/AntdAnchor.react.js +18 -3
- package/src/lib/components/AntdButton.react.js +5 -1
- package/src/lib/components/AntdCascader.react.js +5 -0
- package/src/lib/components/AntdDatePicker.react.js +5 -0
- package/src/lib/components/AntdDateRangePicker.react.js +5 -0
- package/src/lib/components/AntdDraggerUpload.react.js +41 -11
- package/src/lib/components/AntdImage.react.js +8 -2
- package/src/lib/components/AntdInput.react.js +8 -0
- package/src/lib/components/AntdInputNumber.react.js +5 -0
- package/src/lib/components/AntdMentions.react.js +5 -0
- package/src/lib/components/AntdMessage.react.js +6 -1
- package/src/lib/components/AntdPasteImage.react.js +170 -0
- package/src/lib/components/AntdSelect.react.js +11 -0
- package/src/lib/components/AntdTable.react.js +69 -6
- package/src/lib/components/AntdTimePicker.react.js +5 -0
- package/src/lib/components/AntdTimeRangePicker.react.js +5 -0
- package/src/lib/components/AntdTree.react.js +6 -13
- package/src/lib/components/AntdTreeSelect.react.js +11 -0
- package/src/lib/components/AntdUpload.react.js +78 -24
- package/src/lib/components/AntdWatermark.react.js +115 -0
- package/src/lib/components/styles.css +12 -11
- package/src/lib/components/tabs/AntdTabs.react.js +4 -0
- package/src/lib/index.js +5 -1
- package/usage.py +76 -1033
- package/webpack.config.js +9 -3
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdDraggerUpload(Component):
|
|
7
|
+
"""An AntdDraggerUpload component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- apiUrl (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- directory (boolean; optional)
|
|
19
|
+
|
|
20
|
+
- failedTooltipInfo (string; optional)
|
|
21
|
+
|
|
22
|
+
- fileListMaxLength (number; optional)
|
|
23
|
+
|
|
24
|
+
- fileMaxSize (number; default 500)
|
|
25
|
+
|
|
26
|
+
- fileTypes (list of strings; optional)
|
|
27
|
+
|
|
28
|
+
- hint (string; optional)
|
|
29
|
+
|
|
30
|
+
- lastUploadTaskRecord (dict; optional)
|
|
31
|
+
|
|
32
|
+
`lastUploadTaskRecord` is a dict with keys:
|
|
33
|
+
|
|
34
|
+
- completeTimestamp (number; optional)
|
|
35
|
+
|
|
36
|
+
- fileName (string; optional)
|
|
37
|
+
|
|
38
|
+
- fileSize (number; optional)
|
|
39
|
+
|
|
40
|
+
- taskId (string; optional)
|
|
41
|
+
|
|
42
|
+
- taskStatus (string; optional)
|
|
43
|
+
|
|
44
|
+
- loading_state (dict; optional)
|
|
45
|
+
|
|
46
|
+
`loading_state` is a dict with keys:
|
|
47
|
+
|
|
48
|
+
- component_name (string; optional):
|
|
49
|
+
Holds the name of the component that is loading.
|
|
50
|
+
|
|
51
|
+
- is_loading (boolean; optional):
|
|
52
|
+
Determines if the component is loading or not.
|
|
53
|
+
|
|
54
|
+
- prop_name (string; optional):
|
|
55
|
+
Holds which property is loading.
|
|
56
|
+
|
|
57
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
58
|
+
|
|
59
|
+
- multiple (boolean; optional)
|
|
60
|
+
|
|
61
|
+
- showUploadList (boolean; optional)
|
|
62
|
+
|
|
63
|
+
- style (dict; optional)
|
|
64
|
+
|
|
65
|
+
- text (string; optional)
|
|
66
|
+
|
|
67
|
+
- uploadId (string; optional)"""
|
|
68
|
+
@_explicitize_args
|
|
69
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
|
+
self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
71
|
+
self._type = 'AntdDraggerUpload'
|
|
72
|
+
self._namespace = 'feffery_antd_components'
|
|
73
|
+
self._valid_wildcard_attributes = []
|
|
74
|
+
self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
75
|
+
self.available_wildcard_properties = []
|
|
76
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
77
|
+
_locals = locals()
|
|
78
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
79
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
80
|
+
for k in []:
|
|
81
|
+
if k not in args:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
'Required argument `' + k + '` was not specified.')
|
|
84
|
+
super(AntdDraggerUpload, self).__init__(**args)
|
|
@@ -0,0 +1,72 @@
|
|
|
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
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- closable (boolean; optional)
|
|
19
|
+
|
|
20
|
+
- containerId (string; optional)
|
|
21
|
+
|
|
22
|
+
- destroyOnClose (boolean; default True)
|
|
23
|
+
|
|
24
|
+
- forceRender (boolean; default False)
|
|
25
|
+
|
|
26
|
+
- height (number; 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
|
+
- mask (boolean; optional)
|
|
42
|
+
|
|
43
|
+
- maskClosable (boolean; optional)
|
|
44
|
+
|
|
45
|
+
- placement (a value equal to: 'left', 'right', 'top', 'bottom'; optional)
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)
|
|
48
|
+
|
|
49
|
+
- title (string; optional)
|
|
50
|
+
|
|
51
|
+
- visible (boolean; optional)
|
|
52
|
+
|
|
53
|
+
- width (number; optional)
|
|
54
|
+
|
|
55
|
+
- zIndex (number; optional)"""
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, visible=Component.UNDEFINED, title=Component.UNDEFINED, placement=Component.UNDEFINED, closable=Component.UNDEFINED, forceRender=Component.UNDEFINED, destroyOnClose=Component.UNDEFINED, containerId=Component.UNDEFINED, height=Component.UNDEFINED, mask=Component.UNDEFINED, maskClosable=Component.UNDEFINED, width=Component.UNDEFINED, zIndex=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['children', 'id', 'className', 'closable', 'containerId', 'destroyOnClose', 'forceRender', 'height', 'loading_state', 'mask', 'maskClosable', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
|
|
59
|
+
self._type = 'AntdDrawer'
|
|
60
|
+
self._namespace = 'feffery_antd_components'
|
|
61
|
+
self._valid_wildcard_attributes = []
|
|
62
|
+
self.available_properties = ['children', 'id', 'className', 'closable', 'containerId', 'destroyOnClose', 'forceRender', 'height', 'loading_state', 'mask', 'maskClosable', 'placement', 'style', 'title', 'visible', 'width', 'zIndex']
|
|
63
|
+
self.available_wildcard_properties = []
|
|
64
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
65
|
+
_locals = locals()
|
|
66
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
67
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
68
|
+
for k in []:
|
|
69
|
+
if k not in args:
|
|
70
|
+
raise TypeError(
|
|
71
|
+
'Required argument `' + k + '` was not specified.')
|
|
72
|
+
super(AntdDrawer, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,84 @@
|
|
|
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; optional)
|
|
15
|
+
|
|
16
|
+
- buttonMode (boolean; default False)
|
|
17
|
+
|
|
18
|
+
- className (string; optional)
|
|
19
|
+
|
|
20
|
+
- clickedKey (string; optional)
|
|
21
|
+
|
|
22
|
+
- disabled (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
|
+
- menuItems (list of dicts; optional)
|
|
38
|
+
|
|
39
|
+
`menuItems` is a list of dicts with keys:
|
|
40
|
+
|
|
41
|
+
- disabled (boolean; optional)
|
|
42
|
+
|
|
43
|
+
- href (string; optional)
|
|
44
|
+
|
|
45
|
+
- icon (string; optional)
|
|
46
|
+
|
|
47
|
+
- isDivider (boolean; optional)
|
|
48
|
+
|
|
49
|
+
- key (string; optional)
|
|
50
|
+
|
|
51
|
+
- target (string; optional)
|
|
52
|
+
|
|
53
|
+
- title (string; optional)
|
|
54
|
+
|
|
55
|
+
- overlayClassName (string; optional)
|
|
56
|
+
|
|
57
|
+
- overlayStyle (dict; optional)
|
|
58
|
+
|
|
59
|
+
- placement (a value equal to: 'bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'; optional)
|
|
60
|
+
|
|
61
|
+
- style (dict; optional)
|
|
62
|
+
|
|
63
|
+
- title (string; optional)
|
|
64
|
+
|
|
65
|
+
- trigger (a value equal to: 'click', 'hover'; default 'hover')
|
|
66
|
+
|
|
67
|
+
- visible (boolean; default False)"""
|
|
68
|
+
@_explicitize_args
|
|
69
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, clickedKey=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, visible=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
|
+
self._prop_names = ['id', 'arrow', 'buttonMode', 'className', 'clickedKey', 'disabled', 'loading_state', 'menuItems', 'overlayClassName', 'overlayStyle', 'placement', 'style', 'title', 'trigger', 'visible']
|
|
71
|
+
self._type = 'AntdDropdown'
|
|
72
|
+
self._namespace = 'feffery_antd_components'
|
|
73
|
+
self._valid_wildcard_attributes = []
|
|
74
|
+
self.available_properties = ['id', 'arrow', 'buttonMode', 'className', 'clickedKey', 'disabled', 'loading_state', 'menuItems', 'overlayClassName', 'overlayStyle', 'placement', 'style', 'title', 'trigger', 'visible']
|
|
75
|
+
self.available_wildcard_properties = []
|
|
76
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
77
|
+
_locals = locals()
|
|
78
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
79
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
80
|
+
for k in []:
|
|
81
|
+
if k not in args:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
'Required argument `' + k + '` was not specified.')
|
|
84
|
+
super(AntdDropdown, self).__init__(**args)
|
|
@@ -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 AntdEmpty(Component):
|
|
7
|
+
"""An AntdEmpty component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- description (string; optional)
|
|
17
|
+
|
|
18
|
+
- image (string; optional)
|
|
19
|
+
|
|
20
|
+
- imageStyle (dict; 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
|
+
- style (dict; optional)"""
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, description=Component.UNDEFINED, image=Component.UNDEFINED, imageStyle=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['id', 'className', 'description', 'image', 'imageStyle', 'loading_state', 'locale', 'style']
|
|
41
|
+
self._type = 'AntdEmpty'
|
|
42
|
+
self._namespace = 'feffery_antd_components'
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['id', 'className', 'description', 'image', 'imageStyle', 'loading_state', 'locale', 'style']
|
|
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(AntdEmpty, self).__init__(**args)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class 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; 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
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
|
|
37
|
+
self._type = 'AntdFooter'
|
|
38
|
+
self._namespace = 'feffery_antd_components'
|
|
39
|
+
self._valid_wildcard_attributes = []
|
|
40
|
+
self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
|
|
41
|
+
self.available_wildcard_properties = []
|
|
42
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
43
|
+
_locals = locals()
|
|
44
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
45
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
46
|
+
for k in []:
|
|
47
|
+
if k not in args:
|
|
48
|
+
raise TypeError(
|
|
49
|
+
'Required argument `' + k + '` was not specified.')
|
|
50
|
+
super(AntdFooter, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,72 @@
|
|
|
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; optional)
|
|
19
|
+
|
|
20
|
+
- colon (boolean; optional)
|
|
21
|
+
|
|
22
|
+
- labelAlign (a value equal to: 'left', 'right'; optional)
|
|
23
|
+
|
|
24
|
+
- labelCol (dict; optional)
|
|
25
|
+
|
|
26
|
+
`labelCol` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- offset (number; optional)
|
|
29
|
+
|
|
30
|
+
- span (number; optional)
|
|
31
|
+
|
|
32
|
+
- layout (a value equal to: 'horizontal', 'vertical', 'inline'; 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
|
+
- wrapperCol (dict; optional)
|
|
50
|
+
|
|
51
|
+
`wrapperCol` is a dict with keys:
|
|
52
|
+
|
|
53
|
+
- offset (number; optional)
|
|
54
|
+
|
|
55
|
+
- span (number; optional)"""
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, labelCol=Component.UNDEFINED, wrapperCol=Component.UNDEFINED, colon=Component.UNDEFINED, labelAlign=Component.UNDEFINED, layout=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['children', 'id', 'className', 'colon', 'labelAlign', 'labelCol', 'layout', 'loading_state', 'style', 'wrapperCol']
|
|
59
|
+
self._type = 'AntdForm'
|
|
60
|
+
self._namespace = 'feffery_antd_components'
|
|
61
|
+
self._valid_wildcard_attributes = []
|
|
62
|
+
self.available_properties = ['children', 'id', 'className', 'colon', 'labelAlign', 'labelCol', 'layout', 'loading_state', 'style', 'wrapperCol']
|
|
63
|
+
self.available_wildcard_properties = []
|
|
64
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
65
|
+
_locals = locals()
|
|
66
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
67
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
68
|
+
for k in []:
|
|
69
|
+
if k not in args:
|
|
70
|
+
raise TypeError(
|
|
71
|
+
'Required argument `' + k + '` was not specified.')
|
|
72
|
+
super(AntdForm, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdFormItem(Component):
|
|
7
|
+
"""An AntdFormItem 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; optional)
|
|
19
|
+
|
|
20
|
+
- colon (boolean; optional)
|
|
21
|
+
|
|
22
|
+
- extra (string; optional)
|
|
23
|
+
|
|
24
|
+
- help (string; optional)
|
|
25
|
+
|
|
26
|
+
- hidden (boolean; optional)
|
|
27
|
+
|
|
28
|
+
- label (string; optional)
|
|
29
|
+
|
|
30
|
+
- labelAlign (a value equal to: 'left', 'right'; optional)
|
|
31
|
+
|
|
32
|
+
- labelCol (dict; optional)
|
|
33
|
+
|
|
34
|
+
`labelCol` is a dict with keys:
|
|
35
|
+
|
|
36
|
+
- offset (number; optional)
|
|
37
|
+
|
|
38
|
+
- span (number; optional)
|
|
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
|
+
- required (boolean; optional)
|
|
54
|
+
|
|
55
|
+
- style (dict; optional)
|
|
56
|
+
|
|
57
|
+
- tooltip (string; optional)
|
|
58
|
+
|
|
59
|
+
- validateStatus (a value equal to: 'success', 'warning', 'error', 'validating'; optional)
|
|
60
|
+
|
|
61
|
+
- wrapperCol (dict; optional)
|
|
62
|
+
|
|
63
|
+
`wrapperCol` is a dict with keys:
|
|
64
|
+
|
|
65
|
+
- offset (number; optional)
|
|
66
|
+
|
|
67
|
+
- span (number; optional)"""
|
|
68
|
+
@_explicitize_args
|
|
69
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, required=Component.UNDEFINED, labelCol=Component.UNDEFINED, colon=Component.UNDEFINED, wrapperCol=Component.UNDEFINED, label=Component.UNDEFINED, labelAlign=Component.UNDEFINED, tooltip=Component.UNDEFINED, extra=Component.UNDEFINED, help=Component.UNDEFINED, hidden=Component.UNDEFINED, validateStatus=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
|
+
self._prop_names = ['children', 'id', 'className', 'colon', 'extra', 'help', 'hidden', 'label', 'labelAlign', 'labelCol', 'loading_state', 'required', 'style', 'tooltip', 'validateStatus', 'wrapperCol']
|
|
71
|
+
self._type = 'AntdFormItem'
|
|
72
|
+
self._namespace = 'feffery_antd_components'
|
|
73
|
+
self._valid_wildcard_attributes = []
|
|
74
|
+
self.available_properties = ['children', 'id', 'className', 'colon', 'extra', 'help', 'hidden', 'label', 'labelAlign', 'labelCol', 'loading_state', 'required', 'style', 'tooltip', 'validateStatus', 'wrapperCol']
|
|
75
|
+
self.available_wildcard_properties = []
|
|
76
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
77
|
+
_locals = locals()
|
|
78
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
79
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
80
|
+
for k in []:
|
|
81
|
+
if k not in args:
|
|
82
|
+
raise TypeError(
|
|
83
|
+
'Required argument `' + k + '` was not specified.')
|
|
84
|
+
super(AntdFormItem, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdHeader(Component):
|
|
7
|
+
"""An AntdHeader 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; 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
|
+
@_explicitize_args
|
|
35
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
36
|
+
self._prop_names = ['children', 'id', 'className', 'loading_state', 'style']
|
|
37
|
+
self._type = 'AntdHeader'
|
|
38
|
+
self._namespace = 'feffery_antd_components'
|
|
39
|
+
self._valid_wildcard_attributes = []
|
|
40
|
+
self.available_properties = ['children', 'id', 'className', 'loading_state', 'style']
|
|
41
|
+
self.available_wildcard_properties = []
|
|
42
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
43
|
+
_locals = locals()
|
|
44
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
45
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
46
|
+
for k in []:
|
|
47
|
+
if k not in args:
|
|
48
|
+
raise TypeError(
|
|
49
|
+
'Required argument `' + k + '` was not specified.')
|
|
50
|
+
super(AntdHeader, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdIcon(Component):
|
|
7
|
+
"""An AntdIcon component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- icon (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
|
+
- style (dict; optional)"""
|
|
32
|
+
@_explicitize_args
|
|
33
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, icon=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
34
|
+
self._prop_names = ['id', 'className', 'icon', 'loading_state', 'style']
|
|
35
|
+
self._type = 'AntdIcon'
|
|
36
|
+
self._namespace = 'feffery_antd_components'
|
|
37
|
+
self._valid_wildcard_attributes = []
|
|
38
|
+
self.available_properties = ['id', 'className', 'icon', 'loading_state', 'style']
|
|
39
|
+
self.available_wildcard_properties = []
|
|
40
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
41
|
+
_locals = locals()
|
|
42
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
43
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
44
|
+
for k in []:
|
|
45
|
+
if k not in args:
|
|
46
|
+
raise TypeError(
|
|
47
|
+
'Required argument `' + k + '` was not specified.')
|
|
48
|
+
super(AntdIcon, self).__init__(**args)
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdImage(Component):
|
|
7
|
+
"""An AntdImage component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- alt (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- fallback (string; default `data:image/png;base64,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`)
|
|
19
|
+
|
|
20
|
+
- height (number | 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
|
+
- multiImageMode (a value equal to: 'fold', 'unfold'; default 'fold')
|
|
38
|
+
|
|
39
|
+
- preview (boolean; optional)
|
|
40
|
+
|
|
41
|
+
- src (string | list of strings; optional)
|
|
42
|
+
|
|
43
|
+
- style (dict; optional)
|
|
44
|
+
|
|
45
|
+
- width (number | string; optional)"""
|
|
46
|
+
@_explicitize_args
|
|
47
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, alt=Component.UNDEFINED, width=Component.UNDEFINED, height=Component.UNDEFINED, src=Component.UNDEFINED, fallback=Component.UNDEFINED, multiImageMode=Component.UNDEFINED, preview=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
48
|
+
self._prop_names = ['id', 'alt', 'className', 'fallback', 'height', 'loading_state', 'locale', 'multiImageMode', 'preview', 'src', 'style', 'width']
|
|
49
|
+
self._type = 'AntdImage'
|
|
50
|
+
self._namespace = 'feffery_antd_components'
|
|
51
|
+
self._valid_wildcard_attributes = []
|
|
52
|
+
self.available_properties = ['id', 'alt', 'className', 'fallback', 'height', 'loading_state', 'locale', 'multiImageMode', 'preview', 'src', 'style', 'width']
|
|
53
|
+
self.available_wildcard_properties = []
|
|
54
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
55
|
+
_locals = locals()
|
|
56
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
57
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
58
|
+
for k in []:
|
|
59
|
+
if k not in args:
|
|
60
|
+
raise TypeError(
|
|
61
|
+
'Required argument `' + k + '` was not specified.')
|
|
62
|
+
super(AntdImage, self).__init__(**args)
|