feffery_antd_components 0.2.5 → 0.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESCRIPTION +1 -1
- package/NAMESPACE +1 -0
- package/Project.toml +1 -1
- package/README-en_US.md +1 -1
- package/README.md +1 -1
- package/build/lib/feffery_antd_components/AntdCompact.py +55 -0
- package/build/lib/feffery_antd_components/AntdDatePicker.py +7 -1
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +7 -1
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +2 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +13 -3
- package/build/lib/feffery_antd_components/AntdFormItem.py +1 -1
- package/build/lib/feffery_antd_components/AntdInput.py +5 -3
- package/build/lib/feffery_antd_components/AntdPictureUpload.py +2 -0
- package/build/lib/feffery_antd_components/AntdSpace.py +7 -5
- package/build/lib/feffery_antd_components/AntdTable.py +3 -2
- package/build/lib/feffery_antd_components/AntdTree.py +13 -3
- package/build/lib/feffery_antd_components/AntdUpload.py +19 -3
- package/build/lib/feffery_antd_components/_imports_.py +2 -0
- package/build/lib/feffery_antd_components/package-info.json +3 -3
- package/feffery_antd_components/AntdCompact.py +55 -0
- package/feffery_antd_components/AntdDatePicker.py +7 -1
- package/feffery_antd_components/AntdDateRangePicker.py +7 -1
- package/feffery_antd_components/AntdDraggerUpload.py +2 -0
- package/feffery_antd_components/AntdDropdown.py +13 -3
- package/feffery_antd_components/AntdFormItem.py +1 -1
- package/feffery_antd_components/AntdInput.py +5 -3
- package/feffery_antd_components/AntdPictureUpload.py +2 -0
- package/feffery_antd_components/AntdSpace.py +7 -5
- package/feffery_antd_components/AntdTable.py +3 -2
- package/feffery_antd_components/AntdTree.py +13 -3
- package/feffery_antd_components/AntdUpload.py +19 -3
- package/feffery_antd_components/_imports_.py +2 -0
- package/feffery_antd_components/package-info.json +3 -3
- package/package.json +3 -3
- package/src/jl/'feffery'_antdcompact.jl +35 -0
- package/src/jl/'feffery'_antddatepicker.jl +4 -1
- package/src/jl/'feffery'_antddaterangepicker.jl +4 -1
- package/src/jl/'feffery'_antddraggerupload.jl +3 -2
- package/src/jl/'feffery'_antddropdown.jl +7 -2
- package/src/jl/'feffery'_antdinput.jl +2 -1
- package/src/jl/'feffery'_antdpictureupload.jl +3 -2
- package/src/jl/'feffery'_antdspace.jl +2 -1
- package/src/jl/'feffery'_antdtable.jl +2 -2
- package/src/jl/'feffery'_antdtree.jl +6 -1
- package/src/jl/'feffery'_antdupload.jl +11 -3
- package/src/lib/components/AntdCompact.react.js +103 -0
- package/src/lib/components/AntdDatePicker.react.js +18 -3
- package/src/lib/components/AntdDateRangePicker.react.js +21 -3
- package/src/lib/components/AntdDropdown.react.js +58 -16
- package/src/lib/components/AntdInput.react.js +37 -3
- package/src/lib/components/AntdSpace.react.js +5 -2
- package/src/lib/components/AntdStatistic.react.js +3 -4
- package/src/lib/components/AntdTable.react.js +106 -92
- package/src/lib/components/AntdTree.react.js +75 -11
- package/src/lib/components/form/AntdFormItem.react.js +0 -1
- package/src/lib/components/upload/AntdDraggerUpload.react.js +6 -2
- package/src/lib/components/upload/AntdPictureUpload.react.js +6 -2
- package/src/lib/components/upload/AntdUpload.react.js +27 -3
- package/src/lib/index.js +3 -1
- package/usage.py +16 -44
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -1
- package/build/lib/feffery_antd_components/metadata.json +0 -24702
- package/feffery_antd_components/feffery_antd_components.min.js +0 -1
- package/feffery_antd_components/metadata.json +0 -24702
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -17,6 +17,7 @@ export('feffery'AntdCheckbox)
|
|
|
17
17
|
export('feffery'AntdCheckboxGroup)
|
|
18
18
|
export('feffery'AntdCollapse)
|
|
19
19
|
export('feffery'AntdComment)
|
|
20
|
+
export('feffery'AntdCompact)
|
|
20
21
|
export('feffery'AntdConfigProvider)
|
|
21
22
|
export('feffery'AntdCopyText)
|
|
22
23
|
export('feffery'AntdCountdown)
|
package/Project.toml
CHANGED
package/README-en_US.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
[简体中文](./README.md) | English
|
|
17
17
|
|
|
18
|
-
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.2.
|
|
18
|
+
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.2.6`
|
|
19
19
|
|
|
20
20
|
## 1 Install
|
|
21
21
|
|
package/README.md
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
简体中文 | [English](./README-en_US.md)
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.2.6`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdCompact(Component):
|
|
7
|
+
"""An AntdCompact 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
|
+
- block (boolean; default False)
|
|
19
|
+
|
|
20
|
+
- className (string | dict; optional)
|
|
21
|
+
|
|
22
|
+
- direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
|
|
23
|
+
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)"""
|
|
40
|
+
_children_props = []
|
|
41
|
+
_base_nodes = ['children']
|
|
42
|
+
_namespace = 'feffery_antd_components'
|
|
43
|
+
_type = 'AntdCompact'
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, direction=Component.UNDEFINED, block=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
|
|
47
|
+
self._valid_wildcard_attributes = []
|
|
48
|
+
self.available_properties = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
|
|
49
|
+
self.available_wildcard_properties = []
|
|
50
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
51
|
+
_locals = locals()
|
|
52
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
53
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
54
|
+
|
|
55
|
+
super(AntdCompact, self).__init__(children=children, **args)
|
|
@@ -85,7 +85,13 @@ Keyword arguments:
|
|
|
85
85
|
|
|
86
86
|
- readOnly (boolean; optional)
|
|
87
87
|
|
|
88
|
-
- showTime (
|
|
88
|
+
- showTime (dict; default False)
|
|
89
|
+
|
|
90
|
+
`showTime` is a boolean | dict with keys:
|
|
91
|
+
|
|
92
|
+
- defaultValue (string; optional)
|
|
93
|
+
|
|
94
|
+
- format (string; optional)
|
|
89
95
|
|
|
90
96
|
- size (a value equal to: 'small', 'middle', 'large'; default 'middle')
|
|
91
97
|
|
|
@@ -85,7 +85,13 @@ Keyword arguments:
|
|
|
85
85
|
|
|
86
86
|
- readOnly (boolean; optional)
|
|
87
87
|
|
|
88
|
-
- showTime (
|
|
88
|
+
- showTime (dict; default False)
|
|
89
|
+
|
|
90
|
+
`showTime` is a boolean | dict with keys:
|
|
91
|
+
|
|
92
|
+
- defaultValue (list of strings; optional)
|
|
93
|
+
|
|
94
|
+
- format (string; optional)
|
|
89
95
|
|
|
90
96
|
- size (a value equal to: 'small', 'middle', 'large'; default 'middle')
|
|
91
97
|
|
|
@@ -21,10 +21,14 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
`buttonProps` is a dict with keys:
|
|
23
23
|
|
|
24
|
+
- className (string; optional)
|
|
25
|
+
|
|
24
26
|
- danger (boolean; optional)
|
|
25
27
|
|
|
26
28
|
- size (a value equal to: 'default', 'small', 'large'; optional)
|
|
27
29
|
|
|
30
|
+
- style (dict; optional)
|
|
31
|
+
|
|
28
32
|
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
29
33
|
|
|
30
34
|
- className (string | dict; optional)
|
|
@@ -33,6 +37,12 @@ Keyword arguments:
|
|
|
33
37
|
|
|
34
38
|
- disabled (boolean; default False)
|
|
35
39
|
|
|
40
|
+
- freePosition (boolean; default False)
|
|
41
|
+
|
|
42
|
+
- freePositionClassName (string; optional)
|
|
43
|
+
|
|
44
|
+
- freePositionStyle (dict; optional)
|
|
45
|
+
|
|
36
46
|
- key (string; optional)
|
|
37
47
|
|
|
38
48
|
- loading_state (dict; optional)
|
|
@@ -88,10 +98,10 @@ Keyword arguments:
|
|
|
88
98
|
_namespace = 'feffery_antd_components'
|
|
89
99
|
_type = 'AntdDropdown'
|
|
90
100
|
@_explicitize_args
|
|
91
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, buttonProps=Component.UNDEFINED, clickedKey=Component.UNDEFINED, nClicks=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, autoAdjustOverflow=Component.UNDEFINED, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
92
|
-
self._prop_names = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
101
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, buttonProps=Component.UNDEFINED, freePosition=Component.UNDEFINED, freePositionStyle=Component.UNDEFINED, freePositionClassName=Component.UNDEFINED, clickedKey=Component.UNDEFINED, nClicks=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, autoAdjustOverflow=Component.UNDEFINED, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
102
|
+
self._prop_names = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
93
103
|
self._valid_wildcard_attributes = []
|
|
94
|
-
self.available_properties = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
104
|
+
self.available_properties = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
95
105
|
self.available_wildcard_properties = []
|
|
96
106
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
97
107
|
_locals = locals()
|
|
@@ -29,7 +29,7 @@ Keyword arguments:
|
|
|
29
29
|
|
|
30
30
|
- label (a list of or a singular dash component, string or number; optional)
|
|
31
31
|
|
|
32
|
-
- labelAlign (a value equal to: 'left', 'right';
|
|
32
|
+
- labelAlign (a value equal to: 'left', 'right'; optional)
|
|
33
33
|
|
|
34
34
|
- labelCol (dict; optional)
|
|
35
35
|
|
|
@@ -39,6 +39,8 @@ Keyword arguments:
|
|
|
39
39
|
|
|
40
40
|
- disabled (boolean; default False)
|
|
41
41
|
|
|
42
|
+
- emptyAsNone (boolean; default False)
|
|
43
|
+
|
|
42
44
|
- key (string; optional)
|
|
43
45
|
|
|
44
46
|
- loading_state (dict; optional)
|
|
@@ -107,10 +109,10 @@ Keyword arguments:
|
|
|
107
109
|
_namespace = 'feffery_antd_components'
|
|
108
110
|
_type = 'AntdInput'
|
|
109
111
|
@_explicitize_args
|
|
110
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, md5Value=Component.UNDEFINED, debounceValue=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, debounceWait=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, maxLength=Component.UNDEFINED, showCount=Component.UNDEFINED, autoSize=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, readOnly=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
111
|
-
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
112
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, md5Value=Component.UNDEFINED, debounceValue=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, debounceWait=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, maxLength=Component.UNDEFINED, showCount=Component.UNDEFINED, autoSize=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, readOnly=Component.UNDEFINED, emptyAsNone=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
113
|
+
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'emptyAsNone', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
112
114
|
self._valid_wildcard_attributes = []
|
|
113
|
-
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
115
|
+
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'emptyAsNone', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
114
116
|
self.available_wildcard_properties = []
|
|
115
117
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
116
118
|
_locals = locals()
|
|
@@ -21,6 +21,8 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
- className (string | dict; optional)
|
|
23
23
|
|
|
24
|
+
- customSplit (a list of or a singular dash component, string or number; optional)
|
|
25
|
+
|
|
24
26
|
- direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
|
|
25
27
|
|
|
26
28
|
- key (string; optional)
|
|
@@ -43,15 +45,15 @@ Keyword arguments:
|
|
|
43
45
|
- style (dict; optional)
|
|
44
46
|
|
|
45
47
|
- wrap (boolean; default False)"""
|
|
46
|
-
_children_props = []
|
|
47
|
-
_base_nodes = ['children']
|
|
48
|
+
_children_props = ['customSplit']
|
|
49
|
+
_base_nodes = ['customSplit', 'children']
|
|
48
50
|
_namespace = 'feffery_antd_components'
|
|
49
51
|
_type = 'AntdSpace'
|
|
50
52
|
@_explicitize_args
|
|
51
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, align=Component.UNDEFINED, direction=Component.UNDEFINED, size=Component.UNDEFINED, addSplitLine=Component.UNDEFINED, wrap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
52
|
-
self._prop_names = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'key', 'loading_state', 'size', 'style', 'wrap']
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, align=Component.UNDEFINED, direction=Component.UNDEFINED, size=Component.UNDEFINED, addSplitLine=Component.UNDEFINED, customSplit=Component.UNDEFINED, wrap=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
54
|
+
self._prop_names = ['children', 'id', 'addSplitLine', 'align', 'className', 'customSplit', 'direction', 'key', 'loading_state', 'size', 'style', 'wrap']
|
|
53
55
|
self._valid_wildcard_attributes = []
|
|
54
|
-
self.available_properties = ['children', 'id', 'addSplitLine', 'align', 'className', 'direction', 'key', 'loading_state', 'size', 'style', 'wrap']
|
|
56
|
+
self.available_properties = ['children', 'id', 'addSplitLine', 'align', 'className', 'customSplit', 'direction', 'key', 'loading_state', 'size', 'style', 'wrap']
|
|
55
57
|
self.available_wildcard_properties = []
|
|
56
58
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
59
|
_locals = locals()
|
|
@@ -109,7 +109,8 @@ Keyword arguments:
|
|
|
109
109
|
- data (list of dicts; optional)
|
|
110
110
|
|
|
111
111
|
`data` is a list of dicts with strings as keys and values of type
|
|
112
|
-
|
|
112
|
+
list of boolean | number | string | dict | lists | string | number
|
|
113
|
+
| dict with keys:
|
|
113
114
|
|
|
114
115
|
- content (string; optional)
|
|
115
116
|
|
|
@@ -272,7 +273,7 @@ Keyword arguments:
|
|
|
272
273
|
|
|
273
274
|
- label (string; optional)
|
|
274
275
|
|
|
275
|
-
- value (string; optional)
|
|
276
|
+
- value (string | number; optional)
|
|
276
277
|
|
|
277
278
|
- placeholder (string; optional)
|
|
278
279
|
|
|
@@ -19,6 +19,16 @@ Keyword arguments:
|
|
|
19
19
|
|
|
20
20
|
- className (string | number; optional)
|
|
21
21
|
|
|
22
|
+
- clickedContextMenu (dict; optional)
|
|
23
|
+
|
|
24
|
+
`clickedContextMenu` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- menuKey (string; optional)
|
|
27
|
+
|
|
28
|
+
- nodeKey (string; optional)
|
|
29
|
+
|
|
30
|
+
- timestamp (number; optional)
|
|
31
|
+
|
|
22
32
|
- defaultCheckedKeys (list of strings; optional)
|
|
23
33
|
|
|
24
34
|
- defaultExpandAll (boolean; default False)
|
|
@@ -97,10 +107,10 @@ Keyword arguments:
|
|
|
97
107
|
_namespace = 'feffery_antd_components'
|
|
98
108
|
_type = 'AntdTree'
|
|
99
109
|
@_explicitize_args
|
|
100
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, treeDataMode=Component.UNDEFINED, treeData=Component.UNDEFINED, showIcon=Component.UNDEFINED, selectable=Component.UNDEFINED, multiple=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, halfCheckedKeys=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, showLine=Component.UNDEFINED, height=Component.UNDEFINED, draggable=Component.UNDEFINED, draggedNodeKey=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
101
|
-
self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'draggable', 'draggedNodeKey', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
|
|
110
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, treeDataMode=Component.UNDEFINED, treeData=Component.UNDEFINED, showIcon=Component.UNDEFINED, selectable=Component.UNDEFINED, multiple=Component.UNDEFINED, checkable=Component.UNDEFINED, defaultExpandAll=Component.UNDEFINED, expandedKeys=Component.UNDEFINED, defaultExpandedKeys=Component.UNDEFINED, defaultExpandParent=Component.UNDEFINED, selectedKeys=Component.UNDEFINED, defaultSelectedKeys=Component.UNDEFINED, checkedKeys=Component.UNDEFINED, defaultCheckedKeys=Component.UNDEFINED, halfCheckedKeys=Component.UNDEFINED, checkStrictly=Component.UNDEFINED, showLine=Component.UNDEFINED, height=Component.UNDEFINED, draggable=Component.UNDEFINED, draggedNodeKey=Component.UNDEFINED, clickedContextMenu=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
111
|
+
self._prop_names = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'clickedContextMenu', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'draggable', 'draggedNodeKey', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
|
|
102
112
|
self._valid_wildcard_attributes = []
|
|
103
|
-
self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'draggable', 'draggedNodeKey', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
|
|
113
|
+
self.available_properties = ['id', 'checkStrictly', 'checkable', 'checkedKeys', 'className', 'clickedContextMenu', 'defaultCheckedKeys', 'defaultExpandAll', 'defaultExpandParent', 'defaultExpandedKeys', 'defaultSelectedKeys', 'draggable', 'draggedNodeKey', 'expandedKeys', 'halfCheckedKeys', 'height', 'key', 'loading_state', 'multiple', 'persisted_props', 'persistence', 'persistence_type', 'selectable', 'selectedKeys', 'showIcon', 'showLine', 'style', 'treeData', 'treeDataMode']
|
|
104
114
|
self.available_wildcard_properties = []
|
|
105
115
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
106
116
|
_locals = locals()
|
|
@@ -15,6 +15,20 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- buttonContent (a list of or a singular dash component, string or number; optional)
|
|
17
17
|
|
|
18
|
+
- buttonProps (dict; optional)
|
|
19
|
+
|
|
20
|
+
`buttonProps` is a dict with keys:
|
|
21
|
+
|
|
22
|
+
- className (string; optional)
|
|
23
|
+
|
|
24
|
+
- danger (boolean; optional)
|
|
25
|
+
|
|
26
|
+
- size (a value equal to: 'default', 'small', 'large'; optional)
|
|
27
|
+
|
|
28
|
+
- style (dict; optional)
|
|
29
|
+
|
|
30
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
31
|
+
|
|
18
32
|
- className (string | dict; optional)
|
|
19
33
|
|
|
20
34
|
- confirmBeforeDelete (boolean; default False)
|
|
@@ -23,6 +37,8 @@ Keyword arguments:
|
|
|
23
37
|
|
|
24
38
|
`defaultFileList` is a list of dicts with keys:
|
|
25
39
|
|
|
40
|
+
- fileSize (number; optional)
|
|
41
|
+
|
|
26
42
|
- name (string; optional)
|
|
27
43
|
|
|
28
44
|
- status (a value equal to: 'done', 'error', 'removed'; optional)
|
|
@@ -152,10 +168,10 @@ Keyword arguments:
|
|
|
152
168
|
_namespace = 'feffery_antd_components'
|
|
153
169
|
_type = 'AntdUpload'
|
|
154
170
|
@_explicitize_args
|
|
155
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, headers=Component.UNDEFINED, downloadUrl=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, buttonContent=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, confirmBeforeDelete=Component.UNDEFINED, showPercent=Component.UNDEFINED, progressProps=Component.UNDEFINED, showSuccessMessage=Component.UNDEFINED, showErrorMessage=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, listUploadTaskRecord=Component.UNDEFINED, defaultFileList=Component.UNDEFINED, disabled=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
156
|
-
self._prop_names = ['id', 'apiUrl', 'buttonContent', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'uploadId']
|
|
171
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, headers=Component.UNDEFINED, downloadUrl=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, buttonContent=Component.UNDEFINED, buttonProps=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, confirmBeforeDelete=Component.UNDEFINED, showPercent=Component.UNDEFINED, progressProps=Component.UNDEFINED, showSuccessMessage=Component.UNDEFINED, showErrorMessage=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, listUploadTaskRecord=Component.UNDEFINED, defaultFileList=Component.UNDEFINED, disabled=Component.UNDEFINED, status=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
172
|
+
self._prop_names = ['id', 'apiUrl', 'buttonContent', 'buttonProps', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'uploadId']
|
|
157
173
|
self._valid_wildcard_attributes = []
|
|
158
|
-
self.available_properties = ['id', 'apiUrl', 'buttonContent', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'uploadId']
|
|
174
|
+
self.available_properties = ['id', 'apiUrl', 'buttonContent', 'buttonProps', 'className', 'confirmBeforeDelete', 'defaultFileList', 'directory', 'disabled', 'downloadUrl', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'headers', 'key', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'progressProps', 'showErrorMessage', 'showPercent', 'showSuccessMessage', 'showUploadList', 'status', 'style', 'uploadId']
|
|
159
175
|
self.available_wildcard_properties = []
|
|
160
176
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
161
177
|
_locals = locals()
|
|
@@ -15,6 +15,7 @@ from .AntdCheckbox import AntdCheckbox
|
|
|
15
15
|
from .AntdCheckboxGroup import AntdCheckboxGroup
|
|
16
16
|
from .AntdCollapse import AntdCollapse
|
|
17
17
|
from .AntdComment import AntdComment
|
|
18
|
+
from .AntdCompact import AntdCompact
|
|
18
19
|
from .AntdConfigProvider import AntdConfigProvider
|
|
19
20
|
from .AntdCopyText import AntdCopyText
|
|
20
21
|
from .AntdCountdown import AntdCountdown
|
|
@@ -111,6 +112,7 @@ __all__ = [
|
|
|
111
112
|
"AntdCheckboxGroup",
|
|
112
113
|
"AntdCollapse",
|
|
113
114
|
"AntdComment",
|
|
115
|
+
"AntdCompact",
|
|
114
116
|
"AntdConfigProvider",
|
|
115
117
|
"AntdCopyText",
|
|
116
118
|
"AntdCountdown",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "feffery_antd_components",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.7",
|
|
4
4
|
"description": "Best implementation of Antd components in Plotly Dash.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"@ant-design/pro-layout": "^6.34.7",
|
|
30
30
|
"@plotly/webpack-dash-dynamic-import": "^1.3.0",
|
|
31
31
|
"ahooks": "^3.7.0",
|
|
32
|
-
"antd": "^4.24.
|
|
32
|
+
"antd": "^4.24.10",
|
|
33
33
|
"antd-img-crop": "^4.2.3",
|
|
34
34
|
"color": "^4.2.3",
|
|
35
35
|
"is-absolute-url": "4.0.1",
|
|
@@ -89,4 +89,4 @@
|
|
|
89
89
|
"node": ">=8.11.0",
|
|
90
90
|
"npm": ">=6.1.0"
|
|
91
91
|
}
|
|
92
|
-
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdCompact(Component):
|
|
7
|
+
"""An AntdCompact 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
|
+
- block (boolean; default False)
|
|
19
|
+
|
|
20
|
+
- className (string | dict; optional)
|
|
21
|
+
|
|
22
|
+
- direction (a value equal to: 'vertical', 'horizontal'; default 'horizontal')
|
|
23
|
+
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)"""
|
|
40
|
+
_children_props = []
|
|
41
|
+
_base_nodes = ['children']
|
|
42
|
+
_namespace = 'feffery_antd_components'
|
|
43
|
+
_type = 'AntdCompact'
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, direction=Component.UNDEFINED, block=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
|
|
47
|
+
self._valid_wildcard_attributes = []
|
|
48
|
+
self.available_properties = ['children', 'id', 'block', 'className', 'direction', 'key', 'loading_state', 'style']
|
|
49
|
+
self.available_wildcard_properties = []
|
|
50
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
51
|
+
_locals = locals()
|
|
52
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
53
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
54
|
+
|
|
55
|
+
super(AntdCompact, self).__init__(children=children, **args)
|
|
@@ -85,7 +85,13 @@ Keyword arguments:
|
|
|
85
85
|
|
|
86
86
|
- readOnly (boolean; optional)
|
|
87
87
|
|
|
88
|
-
- showTime (
|
|
88
|
+
- showTime (dict; default False)
|
|
89
|
+
|
|
90
|
+
`showTime` is a boolean | dict with keys:
|
|
91
|
+
|
|
92
|
+
- defaultValue (string; optional)
|
|
93
|
+
|
|
94
|
+
- format (string; optional)
|
|
89
95
|
|
|
90
96
|
- size (a value equal to: 'small', 'middle', 'large'; default 'middle')
|
|
91
97
|
|
|
@@ -85,7 +85,13 @@ Keyword arguments:
|
|
|
85
85
|
|
|
86
86
|
- readOnly (boolean; optional)
|
|
87
87
|
|
|
88
|
-
- showTime (
|
|
88
|
+
- showTime (dict; default False)
|
|
89
|
+
|
|
90
|
+
`showTime` is a boolean | dict with keys:
|
|
91
|
+
|
|
92
|
+
- defaultValue (list of strings; optional)
|
|
93
|
+
|
|
94
|
+
- format (string; optional)
|
|
89
95
|
|
|
90
96
|
- size (a value equal to: 'small', 'middle', 'large'; default 'middle')
|
|
91
97
|
|
|
@@ -21,10 +21,14 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
`buttonProps` is a dict with keys:
|
|
23
23
|
|
|
24
|
+
- className (string; optional)
|
|
25
|
+
|
|
24
26
|
- danger (boolean; optional)
|
|
25
27
|
|
|
26
28
|
- size (a value equal to: 'default', 'small', 'large'; optional)
|
|
27
29
|
|
|
30
|
+
- style (dict; optional)
|
|
31
|
+
|
|
28
32
|
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional)
|
|
29
33
|
|
|
30
34
|
- className (string | dict; optional)
|
|
@@ -33,6 +37,12 @@ Keyword arguments:
|
|
|
33
37
|
|
|
34
38
|
- disabled (boolean; default False)
|
|
35
39
|
|
|
40
|
+
- freePosition (boolean; default False)
|
|
41
|
+
|
|
42
|
+
- freePositionClassName (string; optional)
|
|
43
|
+
|
|
44
|
+
- freePositionStyle (dict; optional)
|
|
45
|
+
|
|
36
46
|
- key (string; optional)
|
|
37
47
|
|
|
38
48
|
- loading_state (dict; optional)
|
|
@@ -88,10 +98,10 @@ Keyword arguments:
|
|
|
88
98
|
_namespace = 'feffery_antd_components'
|
|
89
99
|
_type = 'AntdDropdown'
|
|
90
100
|
@_explicitize_args
|
|
91
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, buttonProps=Component.UNDEFINED, clickedKey=Component.UNDEFINED, nClicks=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, autoAdjustOverflow=Component.UNDEFINED, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
92
|
-
self._prop_names = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
101
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, title=Component.UNDEFINED, buttonMode=Component.UNDEFINED, buttonProps=Component.UNDEFINED, freePosition=Component.UNDEFINED, freePositionStyle=Component.UNDEFINED, freePositionClassName=Component.UNDEFINED, clickedKey=Component.UNDEFINED, nClicks=Component.UNDEFINED, menuItems=Component.UNDEFINED, arrow=Component.UNDEFINED, disabled=Component.UNDEFINED, overlayClassName=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, placement=Component.UNDEFINED, trigger=Component.UNDEFINED, autoAdjustOverflow=Component.UNDEFINED, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
102
|
+
self._prop_names = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
93
103
|
self._valid_wildcard_attributes = []
|
|
94
|
-
self.available_properties = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
104
|
+
self.available_properties = ['id', 'arrow', 'autoAdjustOverflow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'freePosition', 'freePositionClassName', 'freePositionStyle', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
95
105
|
self.available_wildcard_properties = []
|
|
96
106
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
97
107
|
_locals = locals()
|
|
@@ -29,7 +29,7 @@ Keyword arguments:
|
|
|
29
29
|
|
|
30
30
|
- label (a list of or a singular dash component, string or number; optional)
|
|
31
31
|
|
|
32
|
-
- labelAlign (a value equal to: 'left', 'right';
|
|
32
|
+
- labelAlign (a value equal to: 'left', 'right'; optional)
|
|
33
33
|
|
|
34
34
|
- labelCol (dict; optional)
|
|
35
35
|
|
|
@@ -39,6 +39,8 @@ Keyword arguments:
|
|
|
39
39
|
|
|
40
40
|
- disabled (boolean; default False)
|
|
41
41
|
|
|
42
|
+
- emptyAsNone (boolean; default False)
|
|
43
|
+
|
|
42
44
|
- key (string; optional)
|
|
43
45
|
|
|
44
46
|
- loading_state (dict; optional)
|
|
@@ -107,10 +109,10 @@ Keyword arguments:
|
|
|
107
109
|
_namespace = 'feffery_antd_components'
|
|
108
110
|
_type = 'AntdInput'
|
|
109
111
|
@_explicitize_args
|
|
110
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, md5Value=Component.UNDEFINED, debounceValue=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, debounceWait=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, maxLength=Component.UNDEFINED, showCount=Component.UNDEFINED, autoSize=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, readOnly=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
111
|
-
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
112
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, mode=Component.UNDEFINED, autoComplete=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, bordered=Component.UNDEFINED, placeholder=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, md5Value=Component.UNDEFINED, debounceValue=Component.UNDEFINED, passwordUseMd5=Component.UNDEFINED, debounceWait=Component.UNDEFINED, addonBefore=Component.UNDEFINED, addonAfter=Component.UNDEFINED, prefix=Component.UNDEFINED, suffix=Component.UNDEFINED, maxLength=Component.UNDEFINED, showCount=Component.UNDEFINED, autoSize=Component.UNDEFINED, nSubmit=Component.UNDEFINED, nClicksSearch=Component.UNDEFINED, status=Component.UNDEFINED, allowClear=Component.UNDEFINED, readOnly=Component.UNDEFINED, emptyAsNone=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
113
|
+
self._prop_names = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'emptyAsNone', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
112
114
|
self._valid_wildcard_attributes = []
|
|
113
|
-
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
115
|
+
self.available_properties = ['id', 'addonAfter', 'addonBefore', 'allowClear', 'autoComplete', 'autoSize', 'bordered', 'className', 'debounceValue', 'debounceWait', 'defaultValue', 'disabled', 'emptyAsNone', 'key', 'loading_state', 'maxLength', 'md5Value', 'mode', 'nClicksSearch', 'nSubmit', 'passwordUseMd5', 'persisted_props', 'persistence', 'persistence_type', 'placeholder', 'prefix', 'readOnly', 'showCount', 'size', 'status', 'style', 'suffix', 'value']
|
|
114
116
|
self.available_wildcard_properties = []
|
|
115
117
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
116
118
|
_locals = locals()
|