feffery_antd_components 0.1.3 → 0.1.6
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/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/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/{build/lib/feffery_antd_components/AntdEmpty.py → feffery_antd_components/AntdPasteImage.py} +11 -13
- package/feffery_antd_components/AntdSelect.py +7 -3
- package/feffery_antd_components/AntdTable.py +80 -5
- 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/{build/lib/feffery_antd_components/AntdDescriptionItem.py → feffery_antd_components/AntdWatermark.py} +18 -12
- package/feffery_antd_components/_imports_.py +4 -0
- package/feffery_antd_components/feffery_antd_components.min.js +9 -9
- package/feffery_antd_components/metadata.json +903 -69
- 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'_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 +46 -6
- 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'_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/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 +226 -37
- 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/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 +298 -25
- package/webpack.config.js +9 -3
- 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/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/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
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -34,6 +34,7 @@ export('feffery'AntdModal)
|
|
|
34
34
|
export('feffery'AntdNotification)
|
|
35
35
|
export('feffery'AntdPageHeader)
|
|
36
36
|
export('feffery'AntdPagination)
|
|
37
|
+
export('feffery'AntdPasteImage)
|
|
37
38
|
export('feffery'AntdPopconfirm)
|
|
38
39
|
export('feffery'AntdPopover)
|
|
39
40
|
export('feffery'AntdProgress)
|
|
@@ -59,6 +60,7 @@ export('feffery'AntdTransfer)
|
|
|
59
60
|
export('feffery'AntdTree)
|
|
60
61
|
export('feffery'AntdTreeSelect)
|
|
61
62
|
export('feffery'AntdUpload)
|
|
63
|
+
export('feffery'AntdWatermark)
|
|
62
64
|
export('feffery'AntdCard)
|
|
63
65
|
export('feffery'AntdCardGrid)
|
|
64
66
|
export('feffery'AntdDescriptionItem)
|
package/Project.toml
CHANGED
package/README.md
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.5`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
pip install feffery-antd-components==0.1.
|
|
23
|
+
pip install feffery-antd-components==0.1.5
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## 2 最新开发版本安装方式
|
|
@@ -11,8 +11,12 @@ Keyword arguments:
|
|
|
11
11
|
|
|
12
12
|
- id (string; optional)
|
|
13
13
|
|
|
14
|
+
- affix (boolean; optional)
|
|
15
|
+
|
|
14
16
|
- align (a value equal to: 'left', 'right'; default 'right')
|
|
15
17
|
|
|
18
|
+
- bounds (number; optional)
|
|
19
|
+
|
|
16
20
|
- className (string; optional)
|
|
17
21
|
|
|
18
22
|
- containerId (string; optional)
|
|
@@ -32,16 +36,18 @@ Keyword arguments:
|
|
|
32
36
|
- prop_name (string; optional):
|
|
33
37
|
Holds which property is loading.
|
|
34
38
|
|
|
39
|
+
- offsetTop (number; optional)
|
|
40
|
+
|
|
35
41
|
- style (dict; optional)
|
|
36
42
|
|
|
37
43
|
- targetOffset (number; optional)"""
|
|
38
44
|
@_explicitize_args
|
|
39
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
40
|
-
self._prop_names = ['id', 'align', 'className', 'containerId', 'linkDict', 'loading_state', 'style', 'targetOffset']
|
|
45
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, affix=Component.UNDEFINED, bounds=Component.UNDEFINED, offsetTop=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
41
47
|
self._type = 'AntdAnchor'
|
|
42
48
|
self._namespace = 'feffery_antd_components'
|
|
43
49
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['id', 'align', 'className', 'containerId', 'linkDict', 'loading_state', 'style', 'targetOffset']
|
|
50
|
+
self.available_properties = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
45
51
|
self.available_wildcard_properties = []
|
|
46
52
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
53
|
_locals = locals()
|
|
@@ -23,6 +23,8 @@ Keyword arguments:
|
|
|
23
23
|
|
|
24
24
|
- href (string; optional)
|
|
25
25
|
|
|
26
|
+
- loading (boolean; optional)
|
|
27
|
+
|
|
26
28
|
- loading_state (dict; optional)
|
|
27
29
|
|
|
28
30
|
`loading_state` is a dict with keys:
|
|
@@ -48,12 +50,12 @@ Keyword arguments:
|
|
|
48
50
|
|
|
49
51
|
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; default 'default')"""
|
|
50
52
|
@_explicitize_args
|
|
51
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
52
|
-
self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, type=Component.UNDEFINED, href=Component.UNDEFINED, target=Component.UNDEFINED, block=Component.UNDEFINED, danger=Component.UNDEFINED, disabled=Component.UNDEFINED, shape=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
53
55
|
self._type = 'AntdButton'
|
|
54
56
|
self._namespace = 'feffery_antd_components'
|
|
55
57
|
self._valid_wildcard_attributes = []
|
|
56
|
-
self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
58
|
+
self.available_properties = ['children', 'id', 'block', 'className', 'danger', 'disabled', 'href', 'loading', 'loading_state', 'nClicks', 'shape', 'size', 'style', 'target', 'type']
|
|
57
59
|
self.available_wildcard_properties = []
|
|
58
60
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
59
61
|
_locals = locals()
|
|
@@ -69,16 +69,18 @@ Keyword arguments:
|
|
|
69
69
|
|
|
70
70
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
71
71
|
|
|
72
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
73
|
+
|
|
72
74
|
- style (dict; optional)
|
|
73
75
|
|
|
74
76
|
- value (list of strings | list of list of stringss; optional)"""
|
|
75
77
|
@_explicitize_args
|
|
76
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, value=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
77
|
-
self._prop_names = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
|
|
78
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, options=Component.UNDEFINED, disabled=Component.UNDEFINED, changeOnSelect=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, placement=Component.UNDEFINED, defaultValue=Component.UNDEFINED, maxTagCount=Component.UNDEFINED, multiple=Component.UNDEFINED, value=Component.UNDEFINED, expandTrigger=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
79
|
+
self._prop_names = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
|
|
78
80
|
self._type = 'AntdCascader'
|
|
79
81
|
self._namespace = 'feffery_antd_components'
|
|
80
82
|
self._valid_wildcard_attributes = []
|
|
81
|
-
self.available_properties = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'style', 'value']
|
|
83
|
+
self.available_properties = ['id', 'bordered', 'changeOnSelect', 'className', 'defaultValue', 'disabled', 'expandTrigger', 'loading_state', 'locale', 'maxTagCount', 'multiple', 'options', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'placement', 'size', 'status', 'style', 'value']
|
|
82
84
|
self.available_wildcard_properties = []
|
|
83
85
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
84
86
|
_locals = locals()
|
|
@@ -71,16 +71,18 @@ Keyword arguments:
|
|
|
71
71
|
|
|
72
72
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
73
73
|
|
|
74
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
75
|
+
|
|
74
76
|
- style (dict; default {
|
|
75
77
|
width: 220
|
|
76
78
|
|
|
77
79
|
- value (string; optional)"""
|
|
78
80
|
@_explicitize_args
|
|
79
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, showTime=Component.UNDEFINED, allowClear=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabledDates=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
80
|
-
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
|
|
81
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, format=Component.UNDEFINED, picker=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, showTime=Component.UNDEFINED, allowClear=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabledDates=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
82
|
+
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
|
|
81
83
|
self._type = 'AntdDatePicker'
|
|
82
84
|
self._namespace = 'feffery_antd_components'
|
|
83
85
|
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
|
|
86
|
+
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'disabledDates', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
|
|
85
87
|
self.available_wildcard_properties = []
|
|
86
88
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
89
|
_locals = locals()
|
|
@@ -67,16 +67,18 @@ Keyword arguments:
|
|
|
67
67
|
|
|
68
68
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
69
69
|
|
|
70
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
71
|
+
|
|
70
72
|
- style (dict; optional)
|
|
71
73
|
|
|
72
74
|
- value (list of strings; optional)"""
|
|
73
75
|
@_explicitize_args
|
|
74
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, picker=Component.UNDEFINED, format=Component.UNDEFINED, showTime=Component.UNDEFINED, placeholder=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
75
|
-
self._prop_names = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
|
|
76
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, picker=Component.UNDEFINED, format=Component.UNDEFINED, showTime=Component.UNDEFINED, placeholder=Component.UNDEFINED, disabled=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, defaultPickerValue=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
77
|
+
self._prop_names = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
|
|
76
78
|
self._type = 'AntdDateRangePicker'
|
|
77
79
|
self._namespace = 'feffery_antd_components'
|
|
78
80
|
self._valid_wildcard_attributes = []
|
|
79
|
-
self.available_properties = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'style', 'value']
|
|
81
|
+
self.available_properties = ['id', 'bordered', 'className', 'defaultPickerValue', 'defaultValue', 'disabled', 'format', 'loading_state', 'locale', 'persisted_props', 'persistence', 'persistence_type', 'picker', 'placeholder', 'showTime', 'size', 'status', 'style', 'value']
|
|
80
82
|
self.available_wildcard_properties = []
|
|
81
83
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
82
84
|
_locals = locals()
|
|
@@ -77,16 +77,18 @@ Keyword arguments:
|
|
|
77
77
|
|
|
78
78
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
79
79
|
|
|
80
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
81
|
+
|
|
80
82
|
- style (dict; optional)
|
|
81
83
|
|
|
82
84
|
- value (string; optional)"""
|
|
83
85
|
@_explicitize_args
|
|
84
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, maxLength=Component.UNDEFINED, value=Component.UNDEFINED, md5Value=Component.UNDEFINED, showCount=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
85
|
-
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'style', 'value']
|
|
86
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, placeholder=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, allowClear=Component.UNDEFINED, bordered=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, maxLength=Component.UNDEFINED, value=Component.UNDEFINED, md5Value=Component.UNDEFINED, showCount=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
87
|
+
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'status', 'style', 'value']
|
|
86
88
|
self._type = 'AntdInput'
|
|
87
89
|
self._namespace = 'feffery_antd_components'
|
|
88
90
|
self._valid_wildcard_attributes = []
|
|
89
|
-
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'style', 'value']
|
|
91
|
+
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'showCount', 'size', 'status', 'style', 'value']
|
|
90
92
|
self.available_wildcard_properties = []
|
|
91
93
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
92
94
|
_locals = locals()
|
|
@@ -73,6 +73,8 @@ Keyword arguments:
|
|
|
73
73
|
|
|
74
74
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
75
75
|
|
|
76
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
77
|
+
|
|
76
78
|
- step (number | string; optional)
|
|
77
79
|
|
|
78
80
|
- stringMode (boolean; optional)
|
|
@@ -81,12 +83,12 @@ Keyword arguments:
|
|
|
81
83
|
|
|
82
84
|
- value (number | string; optional)"""
|
|
83
85
|
@_explicitize_args
|
|
84
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, keyboard=Component.UNDEFINED, placeholder=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, precision=Component.UNDEFINED, readOnly=Component.UNDEFINED, stringMode=Component.UNDEFINED, nSubmit=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
85
|
-
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'stringMode', 'style', 'value']
|
|
86
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, size=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, bordered=Component.UNDEFINED, controls=Component.UNDEFINED, defaultValue=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, keyboard=Component.UNDEFINED, placeholder=Component.UNDEFINED, min=Component.UNDEFINED, max=Component.UNDEFINED, step=Component.UNDEFINED, precision=Component.UNDEFINED, readOnly=Component.UNDEFINED, stringMode=Component.UNDEFINED, nSubmit=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
87
|
+
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'status', 'step', 'stringMode', 'style', 'value']
|
|
86
88
|
self._type = 'AntdInputNumber'
|
|
87
89
|
self._namespace = 'feffery_antd_components'
|
|
88
90
|
self._valid_wildcard_attributes = []
|
|
89
|
-
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'step', 'stringMode', 'style', 'value']
|
|
91
|
+
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'bordered', 'className', 'controls', 'defaultValue', 'disabled', 'keyboard', 'loading_state', 'max', 'min', 'nSubmit', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'precision', 'readOnly', 'size', 'status', 'step', 'stringMode', 'style', 'value']
|
|
90
92
|
self.available_wildcard_properties = []
|
|
91
93
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
92
94
|
_locals = locals()
|
|
@@ -52,16 +52,18 @@ Keyword arguments:
|
|
|
52
52
|
|
|
53
53
|
- selectedOptions (list of strings; optional)
|
|
54
54
|
|
|
55
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
56
|
+
|
|
55
57
|
- style (dict; optional)
|
|
56
58
|
|
|
57
59
|
- value (string; optional)"""
|
|
58
60
|
@_explicitize_args
|
|
59
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placement=Component.UNDEFINED, options=Component.UNDEFINED, selectedOptions=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
60
|
-
self._prop_names = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
|
|
61
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, autoSize=Component.UNDEFINED, prefix=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placement=Component.UNDEFINED, options=Component.UNDEFINED, selectedOptions=Component.UNDEFINED, value=Component.UNDEFINED, disabled=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
62
|
+
self._prop_names = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'status', 'style', 'value']
|
|
61
63
|
self._type = 'AntdMentions'
|
|
62
64
|
self._namespace = 'feffery_antd_components'
|
|
63
65
|
self._valid_wildcard_attributes = []
|
|
64
|
-
self.available_properties = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'style', 'value']
|
|
66
|
+
self.available_properties = ['id', 'autoSize', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'placement', 'prefix', 'selectedOptions', 'status', 'style', 'value']
|
|
65
67
|
self.available_wildcard_properties = []
|
|
66
68
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
69
|
_locals = locals()
|
|
@@ -34,14 +34,16 @@ Keyword arguments:
|
|
|
34
34
|
|
|
35
35
|
- style (dict; optional)
|
|
36
36
|
|
|
37
|
+
- top (number; optional)
|
|
38
|
+
|
|
37
39
|
- type (a value equal to: 'default', 'success', 'error', 'info', 'warning'; default 'default')"""
|
|
38
40
|
@_explicitize_args
|
|
39
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, icon=Component.UNDEFINED, **kwargs):
|
|
40
|
-
self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
|
|
41
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, loading_state=Component.UNDEFINED, content=Component.UNDEFINED, type=Component.UNDEFINED, duration=Component.UNDEFINED, top=Component.UNDEFINED, icon=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'top', 'type']
|
|
41
43
|
self._type = 'AntdMessage'
|
|
42
44
|
self._namespace = 'feffery_antd_components'
|
|
43
45
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'type']
|
|
46
|
+
self.available_properties = ['id', 'className', 'content', 'duration', 'icon', 'loading_state', 'style', 'top', 'type']
|
|
45
47
|
self.available_wildcard_properties = []
|
|
46
48
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
49
|
_locals = locals()
|
package/{build/lib/feffery_antd_components/AntdEmpty.py → feffery_antd_components/AntdPasteImage.py}
RENAMED
|
@@ -3,21 +3,21 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""An
|
|
6
|
+
class AntdPasteImage(Component):
|
|
7
|
+
"""An AntdPasteImage component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
11
|
|
|
12
12
|
- id (string; optional)
|
|
13
13
|
|
|
14
|
-
- className (string;
|
|
14
|
+
- className (string; default 'feffery-paste-image-container')
|
|
15
15
|
|
|
16
|
-
-
|
|
16
|
+
- currentPastedImages (list of boolean | number | string | dict | lists; optional)
|
|
17
17
|
|
|
18
|
-
-
|
|
18
|
+
- deletedIdx (list of numbers; optional)
|
|
19
19
|
|
|
20
|
-
-
|
|
20
|
+
- imageHeight (number; default 200)
|
|
21
21
|
|
|
22
22
|
- loading_state (dict; optional)
|
|
23
23
|
|
|
@@ -32,16 +32,14 @@ Keyword arguments:
|
|
|
32
32
|
- prop_name (string; optional):
|
|
33
33
|
Holds which property is loading.
|
|
34
34
|
|
|
35
|
-
- locale (a value equal to: 'zh-cn', 'en-us'; default 'zh-cn')
|
|
36
|
-
|
|
37
35
|
- style (dict; optional)"""
|
|
38
36
|
@_explicitize_args
|
|
39
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
40
|
-
self._prop_names = ['id', 'className', '
|
|
41
|
-
self._type = '
|
|
37
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, currentPastedImages=Component.UNDEFINED, deletedIdx=Component.UNDEFINED, imageHeight=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
38
|
+
self._prop_names = ['id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
39
|
+
self._type = 'AntdPasteImage'
|
|
42
40
|
self._namespace = 'feffery_antd_components'
|
|
43
41
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['id', 'className', '
|
|
42
|
+
self.available_properties = ['id', 'className', 'currentPastedImages', 'deletedIdx', 'imageHeight', 'loading_state', 'style']
|
|
45
43
|
self.available_wildcard_properties = []
|
|
46
44
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
45
|
_locals = locals()
|
|
@@ -51,4 +49,4 @@ Keyword arguments:
|
|
|
51
49
|
if k not in args:
|
|
52
50
|
raise TypeError(
|
|
53
51
|
'Required argument `' + k + '` was not specified.')
|
|
54
|
-
super(
|
|
52
|
+
super(AntdPasteImage, self).__init__(**args)
|
|
@@ -93,18 +93,22 @@ Keyword arguments:
|
|
|
93
93
|
|
|
94
94
|
- placeholder (string; optional)
|
|
95
95
|
|
|
96
|
+
- placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional)
|
|
97
|
+
|
|
96
98
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
97
99
|
|
|
100
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
101
|
+
|
|
98
102
|
- style (dict; optional)
|
|
99
103
|
|
|
100
104
|
- value (string | number | list of string | numbers; optional)"""
|
|
101
105
|
@_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']
|
|
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']
|
|
104
108
|
self._type = 'AntdSelect'
|
|
105
109
|
self._namespace = 'feffery_antd_components'
|
|
106
110
|
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']
|
|
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']
|
|
108
112
|
self.available_wildcard_properties = []
|
|
109
113
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
110
114
|
_locals = locals()
|
|
@@ -23,6 +23,8 @@ Keyword arguments:
|
|
|
23
23
|
|
|
24
24
|
- align (a value equal to: 'left', 'center', 'right'; optional)
|
|
25
25
|
|
|
26
|
+
- conditionStyle (string; optional)
|
|
27
|
+
|
|
26
28
|
- dataIndex (string; required)
|
|
27
29
|
|
|
28
30
|
- editable (boolean; optional)
|
|
@@ -31,6 +33,8 @@ Keyword arguments:
|
|
|
31
33
|
|
|
32
34
|
- fixed (a value equal to: 'left', 'right'; optional)
|
|
33
35
|
|
|
36
|
+
- onCell (boolean | number | string | dict | list; optional)
|
|
37
|
+
|
|
34
38
|
- render (boolean | number | string | dict | list; optional)
|
|
35
39
|
|
|
36
40
|
- renderOptions (dict; optional)
|
|
@@ -49,7 +53,7 @@ Keyword arguments:
|
|
|
49
53
|
|
|
50
54
|
- renderLinkText (string; optional)
|
|
51
55
|
|
|
52
|
-
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-area', 'tags', 'button', 'copyable'; optional)
|
|
56
|
+
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge'; optional)
|
|
53
57
|
|
|
54
58
|
- sorter (boolean | number | string | dict | list; optional)
|
|
55
59
|
|
|
@@ -74,6 +78,45 @@ Keyword arguments:
|
|
|
74
78
|
|
|
75
79
|
- data (list of dicts; optional)
|
|
76
80
|
|
|
81
|
+
`data` is a list of dicts with strings as keys and values of type
|
|
82
|
+
string | number | dict with keys:
|
|
83
|
+
|
|
84
|
+
- disabled (boolean; optional)
|
|
85
|
+
|
|
86
|
+
- href (string; optional)
|
|
87
|
+
|
|
88
|
+
- target (string; optional)
|
|
89
|
+
|
|
90
|
+
Or list of numbers | list of dicts with keys:
|
|
91
|
+
|
|
92
|
+
- color (string; optional)
|
|
93
|
+
|
|
94
|
+
- tag (string | number; optional) | dict with keys:
|
|
95
|
+
|
|
96
|
+
- content (string | number; optional)
|
|
97
|
+
|
|
98
|
+
- danger (boolean; optional)
|
|
99
|
+
|
|
100
|
+
- disabled (boolean; optional)
|
|
101
|
+
|
|
102
|
+
- style (dict; optional)
|
|
103
|
+
|
|
104
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | list of dicts with keys:
|
|
105
|
+
|
|
106
|
+
- content (string | number; optional)
|
|
107
|
+
|
|
108
|
+
- danger (boolean; optional)
|
|
109
|
+
|
|
110
|
+
- disabled (boolean; optional)
|
|
111
|
+
|
|
112
|
+
- style (dict; optional)
|
|
113
|
+
|
|
114
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional) | dict with keys:
|
|
115
|
+
|
|
116
|
+
- status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
|
|
117
|
+
|
|
118
|
+
- text (string | number; optional)
|
|
119
|
+
|
|
77
120
|
- enableHoverListen (boolean; default False)
|
|
78
121
|
|
|
79
122
|
- filter (dict; optional)
|
|
@@ -97,6 +140,12 @@ Keyword arguments:
|
|
|
97
140
|
|
|
98
141
|
- maxHeight (number; optional)
|
|
99
142
|
|
|
143
|
+
- maxWidth (number; optional)
|
|
144
|
+
|
|
145
|
+
- miniChartAnimation (boolean; default False)
|
|
146
|
+
|
|
147
|
+
- miniChartHeight (number; default 30)
|
|
148
|
+
|
|
100
149
|
- mode (a value equal to: 'client-side', 'server-side'; default 'client-side')
|
|
101
150
|
|
|
102
151
|
- nClicksButton (number; default 0)
|
|
@@ -107,6 +156,8 @@ Keyword arguments:
|
|
|
107
156
|
|
|
108
157
|
- current (number; optional)
|
|
109
158
|
|
|
159
|
+
- disabled (boolean; optional)
|
|
160
|
+
|
|
110
161
|
- hideOnSinglePage (boolean; optional)
|
|
111
162
|
|
|
112
163
|
- pageSize (number; optional)
|
|
@@ -115,14 +166,22 @@ Keyword arguments:
|
|
|
115
166
|
|
|
116
167
|
- position (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional)
|
|
117
168
|
|
|
169
|
+
- responsive (boolean; optional)
|
|
170
|
+
|
|
118
171
|
- showQuickJumper (boolean; optional)
|
|
119
172
|
|
|
173
|
+
- showSizeChanger (boolean; optional)
|
|
174
|
+
|
|
175
|
+
- showTitle (boolean; optional)
|
|
176
|
+
|
|
120
177
|
- showTotalPrefix (string; optional)
|
|
121
178
|
|
|
122
179
|
- showTotalSuffix (string; optional)
|
|
123
180
|
|
|
124
181
|
- simple (boolean; optional)
|
|
125
182
|
|
|
183
|
+
- size (a value equal to: 'default', 'small'; optional)
|
|
184
|
+
|
|
126
185
|
- total (number; optional)
|
|
127
186
|
|
|
128
187
|
- recentlyButtonClickedRow (dict; optional)
|
|
@@ -159,18 +218,34 @@ Keyword arguments:
|
|
|
159
218
|
|
|
160
219
|
- orders (list of a value equal to: 'ascend', 'descend's; optional)
|
|
161
220
|
|
|
162
|
-
- sticky (
|
|
221
|
+
- sticky (dict; optional)
|
|
222
|
+
|
|
223
|
+
`sticky` is a boolean | dict with keys:
|
|
224
|
+
|
|
225
|
+
- offsetHeader (number; optional)
|
|
163
226
|
|
|
164
227
|
- style (dict; optional)
|
|
165
228
|
|
|
229
|
+
- summaryRowContents (list of dicts; optional)
|
|
230
|
+
|
|
231
|
+
`summaryRowContents` is a list of dicts with keys:
|
|
232
|
+
|
|
233
|
+
- align (a value equal to: 'left', 'center', 'right'; optional)
|
|
234
|
+
|
|
235
|
+
- colSpan (number; optional)
|
|
236
|
+
|
|
237
|
+
- content (string | number; optional)
|
|
238
|
+
|
|
239
|
+
- summaryRowFixed (boolean; default False)
|
|
240
|
+
|
|
166
241
|
- titlePopoverInfo (dict; optional)"""
|
|
167
242
|
@_explicitize_args
|
|
168
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
169
|
-
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'titlePopoverInfo']
|
|
243
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
244
|
+
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
170
245
|
self._type = 'AntdTable'
|
|
171
246
|
self._namespace = 'feffery_antd_components'
|
|
172
247
|
self._valid_wildcard_attributes = []
|
|
173
|
-
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'titlePopoverInfo']
|
|
248
|
+
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
174
249
|
self.available_wildcard_properties = []
|
|
175
250
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
176
251
|
_locals = locals()
|
|
@@ -69,18 +69,20 @@ Keyword arguments:
|
|
|
69
69
|
|
|
70
70
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
71
71
|
|
|
72
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
73
|
+
|
|
72
74
|
- style (dict; default {
|
|
73
75
|
width: 220
|
|
74
76
|
|
|
75
77
|
- use12Hours (boolean; optional)
|
|
76
78
|
|
|
77
79
|
- value (string; optional)"""
|
|
78
80
|
@_explicitize_args
|
|
79
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
80
|
-
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
81
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, placeholder=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
82
|
+
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
|
|
81
83
|
self._type = 'AntdTimePicker'
|
|
82
84
|
self._namespace = 'feffery_antd_components'
|
|
83
85
|
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
86
|
+
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
|
|
85
87
|
self.available_wildcard_properties = []
|
|
86
88
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
89
|
_locals = locals()
|
|
@@ -69,18 +69,20 @@ Keyword arguments:
|
|
|
69
69
|
|
|
70
70
|
- size (a value equal to: 'small', 'middle', 'large'; optional)
|
|
71
71
|
|
|
72
|
+
- status (a value equal to: 'error', 'warning'; optional)
|
|
73
|
+
|
|
72
74
|
- style (dict; default {
|
|
73
75
|
width: 220
|
|
74
76
|
|
|
75
77
|
- use12Hours (boolean; optional)
|
|
76
78
|
|
|
77
79
|
- value (list of strings; optional)"""
|
|
78
80
|
@_explicitize_args
|
|
79
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
80
|
-
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
81
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, disabled=Component.UNDEFINED, hourStep=Component.UNDEFINED, minuteStep=Component.UNDEFINED, secondStep=Component.UNDEFINED, format=Component.UNDEFINED, use12Hours=Component.UNDEFINED, allowClear=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, bordered=Component.UNDEFINED, size=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
82
|
+
self._prop_names = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
|
|
81
83
|
self._type = 'AntdTimeRangePicker'
|
|
82
84
|
self._namespace = 'feffery_antd_components'
|
|
83
85
|
self._valid_wildcard_attributes = []
|
|
84
|
-
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'style', 'use12Hours', 'value']
|
|
86
|
+
self.available_properties = ['id', 'allowClear', 'bordered', 'className', 'defaultValue', 'disabled', 'format', 'hourStep', 'loading_state', 'locale', 'minuteStep', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'secondStep', 'size', 'status', 'style', 'use12Hours', 'value']
|
|
85
87
|
self.available_wildcard_properties = []
|
|
86
88
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
87
89
|
_locals = locals()
|