feffery_antd_components 0.1.3 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESCRIPTION +1 -1
- package/Project.toml +1 -1
- package/README.md +2 -2
- package/feffery_antd_components/AntdTable.py +61 -4
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +290 -1
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/src/FefferyAntdComponents.jl +3 -3
- package/src/jl/'feffery'_antdtable.jl +34 -4
- package/src/lib/components/AntdTable.react.js +190 -34
- package/usage.py +95 -5
- package/build/lib/feffery_antd_components/AntdAffix.py +0 -54
- package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
- package/build/lib/feffery_antd_components/AntdAnchor.py +0 -54
- package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
- package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
- package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
- package/build/lib/feffery_antd_components/AntdButton.py +0 -66
- package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
- package/build/lib/feffery_antd_components/AntdCard.py +0 -86
- package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
- package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
- package/build/lib/feffery_antd_components/AntdCascader.py +0 -91
- package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +0 -79
- package/build/lib/feffery_antd_components/AntdCol.py +0 -146
- package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
- package/build/lib/feffery_antd_components/AntdComment.py +0 -88
- package/build/lib/feffery_antd_components/AntdContent.py +0 -50
- package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
- package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -89
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
- package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
- package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -82
- package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
- package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
- package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
- package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
- package/build/lib/feffery_antd_components/AntdForm.py +0 -72
- package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
- package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
- package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
- package/build/lib/feffery_antd_components/AntdImage.py +0 -62
- package/build/lib/feffery_antd_components/AntdInput.py +0 -99
- package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -99
- package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
- package/build/lib/feffery_antd_components/AntdMentions.py +0 -74
- package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
- package/build/lib/feffery_antd_components/AntdMessage.py +0 -54
- package/build/lib/feffery_antd_components/AntdModal.py +0 -88
- package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
- package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
- package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
- package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
- package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
- package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
- package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
- package/build/lib/feffery_antd_components/AntdRate.py +0 -60
- package/build/lib/feffery_antd_components/AntdResult.py +0 -52
- package/build/lib/feffery_antd_components/AntdRibbon.py +0 -54
- package/build/lib/feffery_antd_components/AntdRow.py +0 -72
- package/build/lib/feffery_antd_components/AntdSelect.py +0 -117
- package/build/lib/feffery_antd_components/AntdSider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
- package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
- package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
- package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
- package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
- package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
- package/build/lib/feffery_antd_components/AntdTabPane.py +0 -66
- package/build/lib/feffery_antd_components/AntdTable.py +0 -179
- package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
- package/build/lib/feffery_antd_components/AntdTag.py +0 -54
- package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
- package/build/lib/feffery_antd_components/AntdText.py +0 -72
- package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -93
- package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
- package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
- package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
- package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
- package/build/lib/feffery_antd_components/AntdTree.py +0 -107
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -103
- package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
- package/build/lib/feffery_antd_components/AntdUpload.py +0 -80
- package/build/lib/feffery_antd_components/Link.py +0 -58
- package/build/lib/feffery_antd_components/__init__.py +0 -53
- package/build/lib/feffery_antd_components/_imports_.py +0 -157
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
- package/build/lib/feffery_antd_components/metadata.json +0 -14640
- package/build/lib/feffery_antd_components/package-info.json +0 -77
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdPopover(Component):
|
|
7
|
-
"""An AntdPopover 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
|
-
- color (string; optional)
|
|
21
|
-
|
|
22
|
-
- content (list; 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
|
-
- mouseEnterDelay (number; optional)
|
|
38
|
-
|
|
39
|
-
- mouseLeaveDelay (number; optional)
|
|
40
|
-
|
|
41
|
-
- overlayInnerStyle (dict; optional)
|
|
42
|
-
|
|
43
|
-
- overlayStyle (dict; optional)
|
|
44
|
-
|
|
45
|
-
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional)
|
|
46
|
-
|
|
47
|
-
- style (dict; optional)
|
|
48
|
-
|
|
49
|
-
- title (dict; optional)
|
|
50
|
-
|
|
51
|
-
`title` is a string | dict with keys:
|
|
52
|
-
|
|
53
|
-
- content (string; optional)
|
|
54
|
-
|
|
55
|
-
- prefixIcon (string; optional)
|
|
56
|
-
|
|
57
|
-
- trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
|
|
58
|
-
@_explicitize_args
|
|
59
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, title=Component.UNDEFINED, content=Component.UNDEFINED, placement=Component.UNDEFINED, color=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
60
|
-
self._prop_names = ['children', 'id', 'className', 'color', 'content', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
61
|
-
self._type = 'AntdPopover'
|
|
62
|
-
self._namespace = 'feffery_antd_components'
|
|
63
|
-
self._valid_wildcard_attributes = []
|
|
64
|
-
self.available_properties = ['children', 'id', 'className', 'color', 'content', 'loading_state', 'mouseEnterDelay', 'mouseLeaveDelay', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
65
|
-
self.available_wildcard_properties = []
|
|
66
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
|
-
_locals = locals()
|
|
68
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
69
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
70
|
-
for k in []:
|
|
71
|
-
if k not in args:
|
|
72
|
-
raise TypeError(
|
|
73
|
-
'Required argument `' + k + '` was not specified.')
|
|
74
|
-
super(AntdPopover, self).__init__(children=children, **args)
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdProgress(Component):
|
|
7
|
-
"""An AntdProgress component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- className (string; optional)
|
|
15
|
-
|
|
16
|
-
- format (dict; optional)
|
|
17
|
-
|
|
18
|
-
`format` is a dict with keys:
|
|
19
|
-
|
|
20
|
-
- content (string; optional)
|
|
21
|
-
|
|
22
|
-
- prefix (string; optional)
|
|
23
|
-
|
|
24
|
-
- suffix (string; optional)
|
|
25
|
-
|
|
26
|
-
- gapDegree (number; optional)
|
|
27
|
-
|
|
28
|
-
- gapPosition (a value equal to: 'top', 'bottom', 'left', 'right'; 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
|
-
- percent (number; optional)
|
|
44
|
-
|
|
45
|
-
- showInfo (boolean; optional)
|
|
46
|
-
|
|
47
|
-
- size (a value equal to: 'default', 'small'; optional)
|
|
48
|
-
|
|
49
|
-
- status (a value equal to: 'success', 'exception', 'normal', 'active'; optional)
|
|
50
|
-
|
|
51
|
-
- steps (number; optional)
|
|
52
|
-
|
|
53
|
-
- strokeColor (dict; optional)
|
|
54
|
-
|
|
55
|
-
`strokeColor` is a string | dict with keys:
|
|
56
|
-
|
|
57
|
-
- from (string; optional)
|
|
58
|
-
|
|
59
|
-
- to (string; optional)
|
|
60
|
-
|
|
61
|
-
- strokeLinecap (a value equal to: 'round', 'square'; optional)
|
|
62
|
-
|
|
63
|
-
- strokeWidth (number; optional)
|
|
64
|
-
|
|
65
|
-
- style (dict; optional)
|
|
66
|
-
|
|
67
|
-
- trailColor (string; optional)
|
|
68
|
-
|
|
69
|
-
- type (a value equal to: 'line', 'circle', 'dashboard'; optional)
|
|
70
|
-
|
|
71
|
-
- width (number; optional)"""
|
|
72
|
-
@_explicitize_args
|
|
73
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, size=Component.UNDEFINED, percent=Component.UNDEFINED, format=Component.UNDEFINED, status=Component.UNDEFINED, showInfo=Component.UNDEFINED, strokeColor=Component.UNDEFINED, strokeLinecap=Component.UNDEFINED, strokeWidth=Component.UNDEFINED, trailColor=Component.UNDEFINED, width=Component.UNDEFINED, gapDegree=Component.UNDEFINED, gapPosition=Component.UNDEFINED, steps=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
74
|
-
self._prop_names = ['id', 'className', 'format', 'gapDegree', 'gapPosition', 'loading_state', 'percent', 'showInfo', 'size', 'status', 'steps', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'style', 'trailColor', 'type', 'width']
|
|
75
|
-
self._type = 'AntdProgress'
|
|
76
|
-
self._namespace = 'feffery_antd_components'
|
|
77
|
-
self._valid_wildcard_attributes = []
|
|
78
|
-
self.available_properties = ['id', 'className', 'format', 'gapDegree', 'gapPosition', 'loading_state', 'percent', 'showInfo', 'size', 'status', 'steps', 'strokeColor', 'strokeLinecap', 'strokeWidth', 'style', 'trailColor', 'type', 'width']
|
|
79
|
-
self.available_wildcard_properties = []
|
|
80
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
81
|
-
_locals = locals()
|
|
82
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
83
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
84
|
-
for k in []:
|
|
85
|
-
if k not in args:
|
|
86
|
-
raise TypeError(
|
|
87
|
-
'Required argument `' + k + '` was not specified.')
|
|
88
|
-
super(AntdProgress, self).__init__(**args)
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdRadio(Component):
|
|
7
|
-
"""An AntdRadio component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- checked (boolean; optional)
|
|
15
|
-
|
|
16
|
-
- className (string; optional)
|
|
17
|
-
|
|
18
|
-
- disabled (boolean; optional)
|
|
19
|
-
|
|
20
|
-
- label (string; optional)
|
|
21
|
-
|
|
22
|
-
- loading_state (dict; optional)
|
|
23
|
-
|
|
24
|
-
`loading_state` is a dict with keys:
|
|
25
|
-
|
|
26
|
-
- component_name (string; optional):
|
|
27
|
-
Holds the name of the component that is loading.
|
|
28
|
-
|
|
29
|
-
- is_loading (boolean; optional):
|
|
30
|
-
Determines if the component is loading or not.
|
|
31
|
-
|
|
32
|
-
- prop_name (string; optional):
|
|
33
|
-
Holds which property is loading.
|
|
34
|
-
|
|
35
|
-
- mode (string; optional)
|
|
36
|
-
|
|
37
|
-
- style (dict; optional)"""
|
|
38
|
-
@_explicitize_args
|
|
39
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, mode=Component.UNDEFINED, disabled=Component.UNDEFINED, label=Component.UNDEFINED, checked=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
-
self._prop_names = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'mode', 'style']
|
|
41
|
-
self._type = 'AntdRadio'
|
|
42
|
-
self._namespace = 'feffery_antd_components'
|
|
43
|
-
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['id', 'checked', 'className', 'disabled', 'label', 'loading_state', 'mode', '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(AntdRadio, self).__init__(**args)
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdRadioGroup(Component):
|
|
7
|
-
"""An AntdRadioGroup component.
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional)
|
|
13
|
-
|
|
14
|
-
- buttonStyle (a value equal to: 'outline', 'solid'; optional)
|
|
15
|
-
|
|
16
|
-
- className (string; optional)
|
|
17
|
-
|
|
18
|
-
- defaultValue (string; optional)
|
|
19
|
-
|
|
20
|
-
- direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
|
|
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
|
-
- optionType (a value equal to: 'default', 'button'; optional)
|
|
38
|
-
|
|
39
|
-
- options (list of dicts; optional)
|
|
40
|
-
|
|
41
|
-
`options` is a list of dicts with keys:
|
|
42
|
-
|
|
43
|
-
- disabled (boolean; optional)
|
|
44
|
-
|
|
45
|
-
- label (string; required)
|
|
46
|
-
|
|
47
|
-
- value (string; required)
|
|
48
|
-
|
|
49
|
-
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
50
|
-
Properties whose user interactions will persist after refreshing
|
|
51
|
-
the component or the page. Since only `value` is allowed this
|
|
52
|
-
prop can normally be ignored.
|
|
53
|
-
|
|
54
|
-
- persistence (boolean | string | number; optional):
|
|
55
|
-
Used to allow user interactions in this component to be persisted
|
|
56
|
-
when the component - or the page - is refreshed. If `persisted`
|
|
57
|
-
is truthy and hasn't changed from its previous value, a `value`
|
|
58
|
-
that the user has changed while using the app will keep that
|
|
59
|
-
change, as long as the new `value` also matches what was given
|
|
60
|
-
originally. Used in conjunction with `persistence_type`.
|
|
61
|
-
|
|
62
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory'; default 'local'):
|
|
63
|
-
Where persisted user changes will be stored: memory: only kept in
|
|
64
|
-
memory, reset on page refresh. local: window.localStorage, data
|
|
65
|
-
is kept after the browser quit. session: window.sessionStorage,
|
|
66
|
-
data is cleared once the browser quit.
|
|
67
|
-
|
|
68
|
-
- size (a value equal to: 'large', 'middle', 'small'; optional)
|
|
69
|
-
|
|
70
|
-
- style (dict; optional)
|
|
71
|
-
|
|
72
|
-
- value (string | number; optional)"""
|
|
73
|
-
@_explicitize_args
|
|
74
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, direction=Component.UNDEFINED, options=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, optionType=Component.UNDEFINED, buttonStyle=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
75
|
-
self._prop_names = ['id', 'buttonStyle', 'className', 'defaultValue', 'direction', 'disabled', 'loading_state', 'optionType', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
76
|
-
self._type = 'AntdRadioGroup'
|
|
77
|
-
self._namespace = 'feffery_antd_components'
|
|
78
|
-
self._valid_wildcard_attributes = []
|
|
79
|
-
self.available_properties = ['id', 'buttonStyle', 'className', 'defaultValue', 'direction', 'disabled', 'loading_state', 'optionType', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
80
|
-
self.available_wildcard_properties = []
|
|
81
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
82
|
-
_locals = locals()
|
|
83
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
84
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
85
|
-
for k in []:
|
|
86
|
-
if k not in args:
|
|
87
|
-
raise TypeError(
|
|
88
|
-
'Required argument `' + k + '` was not specified.')
|
|
89
|
-
super(AntdRadioGroup, self).__init__(**args)
|
|
@@ -1,60 +0,0 @@
|
|
|
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)
|
|
@@ -1,52 +0,0 @@
|
|
|
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)
|
|
@@ -1,54 +0,0 @@
|
|
|
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)
|
|
@@ -1,72 +0,0 @@
|
|
|
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)
|
|
@@ -1,117 +0,0 @@
|
|
|
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
|
-
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
97
|
-
|
|
98
|
-
- style (dict; optional)
|
|
99
|
-
|
|
100
|
-
- value (string | number | list of string | numbers; optional)"""
|
|
101
|
-
@_explicitize_args
|
|
102
|
-
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, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
103
|
-
self._prop_names = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'value']
|
|
104
|
-
self._type = 'AntdSelect'
|
|
105
|
-
self._namespace = 'feffery_antd_components'
|
|
106
|
-
self._valid_wildcard_attributes = []
|
|
107
|
-
self.available_properties = ['id', 'allowClear', 'className', 'colorsMode', 'colorsNameWidth', 'defaultValue', 'disabled', 'listHeight', 'loading_state', 'locale', 'maxTagCount', 'mode', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'size', 'style', 'value']
|
|
108
|
-
self.available_wildcard_properties = []
|
|
109
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
110
|
-
_locals = locals()
|
|
111
|
-
_locals.update(kwargs) # For wildcard attrs
|
|
112
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
113
|
-
for k in []:
|
|
114
|
-
if k not in args:
|
|
115
|
-
raise TypeError(
|
|
116
|
-
'Required argument `' + k + '` was not specified.')
|
|
117
|
-
super(AntdSelect, self).__init__(**args)
|