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,60 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdRate(Component):
|
|
7
|
+
"""An AntdRate component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- allowClear (boolean; optional)
|
|
15
|
+
|
|
16
|
+
- allowHalf (boolean; optional)
|
|
17
|
+
|
|
18
|
+
- className (string; optional)
|
|
19
|
+
|
|
20
|
+
- count (number; optional)
|
|
21
|
+
|
|
22
|
+
- defaultValue (number; optional)
|
|
23
|
+
|
|
24
|
+
- disabled (boolean; 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
|
+
- style (dict; optional)
|
|
40
|
+
|
|
41
|
+
- tooltips (list of strings; optional)
|
|
42
|
+
|
|
43
|
+
- value (number; optional)"""
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, allowClear=Component.UNDEFINED, allowHalf=Component.UNDEFINED, count=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, tooltips=Component.UNDEFINED, value=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['id', 'allowClear', 'allowHalf', 'className', 'count', 'defaultValue', 'disabled', 'loading_state', 'style', 'tooltips', 'value']
|
|
47
|
+
self._type = 'AntdRate'
|
|
48
|
+
self._namespace = 'feffery_antd_components'
|
|
49
|
+
self._valid_wildcard_attributes = []
|
|
50
|
+
self.available_properties = ['id', 'allowClear', 'allowHalf', 'className', 'count', 'defaultValue', 'disabled', 'loading_state', 'style', 'tooltips', 'value']
|
|
51
|
+
self.available_wildcard_properties = []
|
|
52
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
53
|
+
_locals = locals()
|
|
54
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
55
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
56
|
+
for k in []:
|
|
57
|
+
if k not in args:
|
|
58
|
+
raise TypeError(
|
|
59
|
+
'Required argument `' + k + '` was not specified.')
|
|
60
|
+
super(AntdRate, self).__init__(**args)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdResult(Component):
|
|
7
|
+
"""An AntdResult component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- loading_state (dict; optional)
|
|
17
|
+
|
|
18
|
+
`loading_state` is a dict with keys:
|
|
19
|
+
|
|
20
|
+
- component_name (string; optional):
|
|
21
|
+
Holds the name of the component that is loading.
|
|
22
|
+
|
|
23
|
+
- is_loading (boolean; optional):
|
|
24
|
+
Determines if the component is loading or not.
|
|
25
|
+
|
|
26
|
+
- prop_name (string; optional):
|
|
27
|
+
Holds which property is loading.
|
|
28
|
+
|
|
29
|
+
- status (a value equal to: 'success', 'error', 'info', 'warning', '404', '403', '500'; optional)
|
|
30
|
+
|
|
31
|
+
- style (dict; optional)
|
|
32
|
+
|
|
33
|
+
- subTitle (string; optional)
|
|
34
|
+
|
|
35
|
+
- title (string; optional)"""
|
|
36
|
+
@_explicitize_args
|
|
37
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, status=Component.UNDEFINED, title=Component.UNDEFINED, subTitle=Component.UNDEFINED, **kwargs):
|
|
38
|
+
self._prop_names = ['id', 'className', 'loading_state', 'status', 'style', 'subTitle', 'title']
|
|
39
|
+
self._type = 'AntdResult'
|
|
40
|
+
self._namespace = 'feffery_antd_components'
|
|
41
|
+
self._valid_wildcard_attributes = []
|
|
42
|
+
self.available_properties = ['id', 'className', 'loading_state', 'status', 'style', 'subTitle', 'title']
|
|
43
|
+
self.available_wildcard_properties = []
|
|
44
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
45
|
+
_locals = locals()
|
|
46
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
47
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
48
|
+
for k in []:
|
|
49
|
+
if k not in args:
|
|
50
|
+
raise TypeError(
|
|
51
|
+
'Required argument `' + k + '` was not specified.')
|
|
52
|
+
super(AntdResult, 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 AntdRibbon(Component):
|
|
7
|
+
"""An AntdRibbon component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
13
|
+
|
|
14
|
+
- id (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- color (string; optional)
|
|
19
|
+
|
|
20
|
+
- 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
|
+
- placement (a value equal to: 'start', 'end'; optional)
|
|
34
|
+
|
|
35
|
+
- style (dict; optional)
|
|
36
|
+
|
|
37
|
+
- text (string; optional)"""
|
|
38
|
+
@_explicitize_args
|
|
39
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, color=Component.UNDEFINED, placement=Component.UNDEFINED, text=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
+
self._prop_names = ['children', 'id', 'className', 'color', 'loading_state', 'placement', 'style', 'text']
|
|
41
|
+
self._type = 'AntdRibbon'
|
|
42
|
+
self._namespace = 'feffery_antd_components'
|
|
43
|
+
self._valid_wildcard_attributes = []
|
|
44
|
+
self.available_properties = ['children', 'id', 'className', 'color', 'loading_state', 'placement', 'style', 'text']
|
|
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(AntdRibbon, 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 AntdRow(Component):
|
|
7
|
+
"""An AntdRow 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 (a value equal to: 'top', 'middle', 'bottom'; optional)
|
|
19
|
+
|
|
20
|
+
- className (string; optional)
|
|
21
|
+
|
|
22
|
+
- gutter (dict; optional)
|
|
23
|
+
|
|
24
|
+
`gutter` is a number | list of numbers | dict with keys:
|
|
25
|
+
|
|
26
|
+
- lg (number; optional)
|
|
27
|
+
|
|
28
|
+
- md (number; optional)
|
|
29
|
+
|
|
30
|
+
- sm (number; optional)
|
|
31
|
+
|
|
32
|
+
- xl (number; optional)
|
|
33
|
+
|
|
34
|
+
- xs (number; optional)
|
|
35
|
+
|
|
36
|
+
- xxl (number; optional)
|
|
37
|
+
|
|
38
|
+
- justify (a value equal to: 'start', 'end', 'center', 'space-around', 'space-between'; 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
|
+
- style (dict; optional)
|
|
54
|
+
|
|
55
|
+
- wrap (boolean; optional)"""
|
|
56
|
+
@_explicitize_args
|
|
57
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, align=Component.UNDEFINED, gutter=Component.UNDEFINED, justify=Component.UNDEFINED, wrap=Component.UNDEFINED, **kwargs):
|
|
58
|
+
self._prop_names = ['children', 'id', 'align', 'className', 'gutter', 'justify', 'loading_state', 'style', 'wrap']
|
|
59
|
+
self._type = 'AntdRow'
|
|
60
|
+
self._namespace = 'feffery_antd_components'
|
|
61
|
+
self._valid_wildcard_attributes = []
|
|
62
|
+
self.available_properties = ['children', 'id', 'align', 'className', 'gutter', 'justify', 'loading_state', 'style', 'wrap']
|
|
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(AntdRow, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdSelect(Component):
|
|
7
|
+
"""An AntdSelect component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- allowClear (boolean; default True)
|
|
15
|
+
|
|
16
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- colorsMode (a value equal to: 'sequential', 'diverging'; default 'sequential')
|
|
19
|
+
|
|
20
|
+
- colorsNameWidth (number; default 40)
|
|
21
|
+
|
|
22
|
+
- defaultValue (string | number | list of string | numbers; optional)
|
|
23
|
+
|
|
24
|
+
- disabled (boolean; optional)
|
|
25
|
+
|
|
26
|
+
- listHeight (number; default 256)
|
|
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
|
+
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
42
|
+
|
|
43
|
+
- maxTagCount (number; default 5)
|
|
44
|
+
|
|
45
|
+
- mode (a value equal to: 'multiple', 'tags'; optional)
|
|
46
|
+
|
|
47
|
+
- options (list of dicts; optional)
|
|
48
|
+
|
|
49
|
+
`options` is a list of dicts with keys:
|
|
50
|
+
|
|
51
|
+
- colors (list of strings; optional)
|
|
52
|
+
|
|
53
|
+
- disabled (boolean; optional)
|
|
54
|
+
|
|
55
|
+
- label (string
|
|
56
|
+
|
|
57
|
+
Or number; required)
|
|
58
|
+
|
|
59
|
+
- value (string | number; required) | dict with keys:
|
|
60
|
+
|
|
61
|
+
- group (string; required)
|
|
62
|
+
|
|
63
|
+
- options (list of dicts; optional)
|
|
64
|
+
|
|
65
|
+
`options` is a list of dicts with keys:
|
|
66
|
+
|
|
67
|
+
- colors (list of strings; optional)
|
|
68
|
+
|
|
69
|
+
- disabled (boolean; optional)
|
|
70
|
+
|
|
71
|
+
- label (string | number; required)
|
|
72
|
+
|
|
73
|
+
- value (string | number; required)
|
|
74
|
+
|
|
75
|
+
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
76
|
+
Properties whose user interactions will persist after refreshing
|
|
77
|
+
the component or the page. Since only `value` is allowed this
|
|
78
|
+
prop can normally be ignored.
|
|
79
|
+
|
|
80
|
+
- persistence (boolean | string | number; optional):
|
|
81
|
+
Used to allow user interactions in this component to be persisted
|
|
82
|
+
when the component - or the page - is refreshed. If `persisted`
|
|
83
|
+
is truthy and hasn't changed from its previous value, a `value`
|
|
84
|
+
that the user has changed while using the app will keep that
|
|
85
|
+
change, as long as the new `value` also matches what was given
|
|
86
|
+
originally. Used in conjunction with `persistence_type`.
|
|
87
|
+
|
|
88
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
89
|
+
Where persisted user changes will be stored: memory: only kept in
|
|
90
|
+
memory, reset on page refresh. local: window.localStorage, data
|
|
91
|
+
is kept after the browser quit. session: window.sessionStorage,
|
|
92
|
+
data is cleared once the browser quit.
|
|
93
|
+
|
|
94
|
+
- placeholder (string; optional)
|
|
95
|
+
|
|
96
|
+
- placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
|
|
97
|
+
|
|
98
|
+
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
99
|
+
|
|
100
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
101
|
+
|
|
102
|
+
- style (dict; optional)
|
|
103
|
+
|
|
104
|
+
- value (string | number | list of string | numbers; optional)"""
|
|
105
|
+
@_explicitize_args
|
|
106
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, colorsNameWidth=Component.UNDEFINED, allowClear=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, listHeight=Component.UNDEFINED, colorsMode=Component.UNDEFINED, placement=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
107
|
+
self._prop_names = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
|
|
108
|
+
self._type = 'AntdSelect'
|
|
109
|
+
self._namespace = 'feffery_antd_components'
|
|
110
|
+
self._valid_wildcard_attributes = []
|
|
111
|
+
self.available_properties = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
|
|
112
|
+
self.available_wildcard_properties = []
|
|
113
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
114
|
+
_locals = locals()
|
|
115
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
116
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
117
|
+
for k in []:
|
|
118
|
+
if k not in args:
|
|
119
|
+
raise TypeError(
|
|
120
|
+
'Required argument `' + k + '` was not specified.')
|
|
121
|
+
super(AntdSelect, self).__init__(**args)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdSider(Component):
|
|
7
|
+
"""An AntdSider 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
|
+
- breakpoint (a value equal to: 'xs', 'sm', 'md', 'lg', 'xl', 'xxl'; optional)
|
|
19
|
+
|
|
20
|
+
- className (string; optional)
|
|
21
|
+
|
|
22
|
+
- collapsed (boolean; default False)
|
|
23
|
+
|
|
24
|
+
- collapsedWidth (number; optional)
|
|
25
|
+
|
|
26
|
+
- collapsible (boolean; optional)
|
|
27
|
+
|
|
28
|
+
- defaultCollapsed (boolean; 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
|
+
- reverseArrow (boolean; optional)
|
|
44
|
+
|
|
45
|
+
- style (dict; optional)
|
|
46
|
+
|
|
47
|
+
- theme (a value equal to: 'light', 'dark'; optional)
|
|
48
|
+
|
|
49
|
+
- trigger (a list of or a singular dash component, string or number; optional)
|
|
50
|
+
|
|
51
|
+
- width (number; optional)"""
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, collapsed=Component.UNDEFINED, collapsedWidth=Component.UNDEFINED, collapsible=Component.UNDEFINED, defaultCollapsed=Component.UNDEFINED, reverseArrow=Component.UNDEFINED, theme=Component.UNDEFINED, width=Component.UNDEFINED, trigger=Component.UNDEFINED, breakpoint=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['children', 'id', 'breakpoint', 'className', 'collapsed', 'collapsedWidth', 'collapsible', 'defaultCollapsed', 'loading_state', 'reverseArrow', 'style', 'theme', 'trigger', 'width']
|
|
55
|
+
self._type = 'AntdSider'
|
|
56
|
+
self._namespace = 'feffery_antd_components'
|
|
57
|
+
self._valid_wildcard_attributes = []
|
|
58
|
+
self.available_properties = ['children', 'id', 'breakpoint', 'className', 'collapsed', 'collapsedWidth', 'collapsible', 'defaultCollapsed', 'loading_state', 'reverseArrow', 'style', 'theme', 'trigger', 'width']
|
|
59
|
+
self.available_wildcard_properties = []
|
|
60
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
61
|
+
_locals = locals()
|
|
62
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
63
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
64
|
+
for k in []:
|
|
65
|
+
if k not in args:
|
|
66
|
+
raise TypeError(
|
|
67
|
+
'Required argument `' + k + '` was not specified.')
|
|
68
|
+
super(AntdSider, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdSkeleton(Component):
|
|
7
|
+
"""An AntdSkeleton 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
|
+
- active (boolean; optional)
|
|
17
|
+
|
|
18
|
+
- avatar (dict; optional)
|
|
19
|
+
|
|
20
|
+
`avatar` is a boolean | dict with keys:
|
|
21
|
+
|
|
22
|
+
- active (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- shape (a value equal to: 'circle', 'square'; optional)
|
|
25
|
+
|
|
26
|
+
- size (number | a value equal to: 'large', 'small', 'default'; optional)
|
|
27
|
+
|
|
28
|
+
- className (string; optional)
|
|
29
|
+
|
|
30
|
+
- debug (boolean; default False)
|
|
31
|
+
|
|
32
|
+
- excludeProps (list of strings; optional)
|
|
33
|
+
|
|
34
|
+
- includeProps (list of strings; optional)
|
|
35
|
+
|
|
36
|
+
- listenPropsMode (a value equal to: 'default', 'exclude', 'include'; default 'default')
|
|
37
|
+
|
|
38
|
+
- loading (boolean; default False)
|
|
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
|
+
- paragraph (dict; optional)
|
|
54
|
+
|
|
55
|
+
`paragraph` is a boolean | dict with keys:
|
|
56
|
+
|
|
57
|
+
- rows (number; optional)
|
|
58
|
+
|
|
59
|
+
- width (number | string | list of number | strings; optional)
|
|
60
|
+
|
|
61
|
+
- round (boolean; optional)
|
|
62
|
+
|
|
63
|
+
- style (dict; optional)
|
|
64
|
+
|
|
65
|
+
- title (dict; optional)
|
|
66
|
+
|
|
67
|
+
`title` is a boolean | dict with keys:
|
|
68
|
+
|
|
69
|
+
- width (number | string; optional)"""
|
|
70
|
+
@_explicitize_args
|
|
71
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading=Component.UNDEFINED, active=Component.UNDEFINED, avatar=Component.UNDEFINED, paragraph=Component.UNDEFINED, title=Component.UNDEFINED, round=Component.UNDEFINED, debug=Component.UNDEFINED, listenPropsMode=Component.UNDEFINED, excludeProps=Component.UNDEFINED, includeProps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
72
|
+
self._prop_names = ['children', 'id', 'active', 'avatar', 'className', 'debug', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading', 'loading_state', 'paragraph', 'round', 'style', 'title']
|
|
73
|
+
self._type = 'AntdSkeleton'
|
|
74
|
+
self._namespace = 'feffery_antd_components'
|
|
75
|
+
self._valid_wildcard_attributes = []
|
|
76
|
+
self.available_properties = ['children', 'id', 'active', 'avatar', 'className', 'debug', 'excludeProps', 'includeProps', 'listenPropsMode', 'loading', 'loading_state', 'paragraph', 'round', 'style', 'title']
|
|
77
|
+
self.available_wildcard_properties = []
|
|
78
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
79
|
+
_locals = locals()
|
|
80
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
81
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
82
|
+
for k in []:
|
|
83
|
+
if k not in args:
|
|
84
|
+
raise TypeError(
|
|
85
|
+
'Required argument `' + k + '` was not specified.')
|
|
86
|
+
super(AntdSkeleton, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdSlider(Component):
|
|
7
|
+
"""An AntdSlider component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string; optional)
|
|
15
|
+
|
|
16
|
+
- defaultValue (number | list of numbers; optional)
|
|
17
|
+
|
|
18
|
+
- disabled (boolean; default False)
|
|
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
|
+
- marks (dict; optional)
|
|
34
|
+
|
|
35
|
+
- max (number; default 100)
|
|
36
|
+
|
|
37
|
+
- min (number; default 0)
|
|
38
|
+
|
|
39
|
+
- range (boolean; default False)
|
|
40
|
+
|
|
41
|
+
- step (number; default 1)
|
|
42
|
+
|
|
43
|
+
- style (dict; optional)
|
|
44
|
+
|
|
45
|
+
- tooltipPrefix (string; default '')
|
|
46
|
+
|
|
47
|
+
- tooltipSuffix (string; default '')
|
|
48
|
+
|
|
49
|
+
- tooltipVisible (boolean; optional)
|
|
50
|
+
|
|
51
|
+
- value (number | list of numbers; optional)"""
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, range=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, value=Component.UNDEFINED, marks=Component.UNDEFINED, tooltipVisible=Component.UNDEFINED, tooltipPrefix=Component.UNDEFINED, tooltipSuffix=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['id', 'className', 'defaultValue', 'disabled', 'loading_state', 'marks', 'max', 'min', 'range', 'step', 'style', 'tooltipPrefix', 'tooltipSuffix', 'tooltipVisible', 'value']
|
|
55
|
+
self._type = 'AntdSlider'
|
|
56
|
+
self._namespace = 'feffery_antd_components'
|
|
57
|
+
self._valid_wildcard_attributes = []
|
|
58
|
+
self.available_properties = ['id', 'className', 'defaultValue', 'disabled', 'loading_state', 'marks', 'max', 'min', 'range', 'step', 'style', 'tooltipPrefix', 'tooltipSuffix', 'tooltipVisible', 'value']
|
|
59
|
+
self.available_wildcard_properties = []
|
|
60
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
61
|
+
_locals = locals()
|
|
62
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
63
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
64
|
+
for k in []:
|
|
65
|
+
if k not in args:
|
|
66
|
+
raise TypeError(
|
|
67
|
+
'Required argument `' + k + '` was not specified.')
|
|
68
|
+
super(AntdSlider, self).__init__(**args)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdSpace(Component):
|
|
7
|
+
"""An AntdSpace 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
|
+
- addSplitLine (boolean; default False)
|
|
19
|
+
|
|
20
|
+
- align (a value equal to: 'start', 'end', 'center', 'baseline'; optional)
|
|
21
|
+
|
|
22
|
+
- className (string; optional)
|
|
23
|
+
|
|
24
|
+
- direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
|
|
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
|
+
- size (a value equal to: 'small', 'middle', 'large' | number; optional)
|
|
40
|
+
|
|
41
|
+
- style (dict; optional)
|
|
42
|
+
|
|
43
|
+
- wrap (boolean; optional)"""
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, align=Component.UNDEFINED, direction=Component.UNDEFINED, size=Component.UNDEFINED, addSplitLine=Component.UNDEFINED, wrap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'loading_state', 'size', 'style', 'wrap']
|
|
47
|
+
self._type = 'AntdSpace'
|
|
48
|
+
self._namespace = 'feffery_antd_components'
|
|
49
|
+
self._valid_wildcard_attributes = []
|
|
50
|
+
self.available_properties = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'loading_state', 'size', 'style', 'wrap']
|
|
51
|
+
self.available_wildcard_properties = []
|
|
52
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
53
|
+
_locals = locals()
|
|
54
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
55
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
56
|
+
for k in []:
|
|
57
|
+
if k not in args:
|
|
58
|
+
raise TypeError(
|
|
59
|
+
'Required argument `' + k + '` was not specified.')
|
|
60
|
+
super(AntdSpace, self).__init__(children=children, **args)
|