feffery_antd_components 0.2.2 → 0.2.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/Project.toml +1 -1
- package/README-en_US.md +1 -1
- package/README.md +1 -1
- package/build/lib/feffery_antd_components/AntdAccordion.py +2 -2
- package/build/lib/feffery_antd_components/AntdCollapse.py +1 -1
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +4 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +11 -3
- package/build/lib/feffery_antd_components/AntdPictureUpload.py +4 -0
- package/build/lib/feffery_antd_components/AntdTable.py +12 -5
- package/build/lib/feffery_antd_components/AntdTree.py +11 -3
- package/build/lib/feffery_antd_components/AntdUpload.py +4 -0
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +1 -1
- package/build/lib/feffery_antd_components/metadata.json +129 -1
- package/build/lib/feffery_antd_components/package-info.json +1 -1
- package/feffery_antd_components/AntdAccordion.py +2 -2
- package/feffery_antd_components/AntdCollapse.py +1 -1
- package/feffery_antd_components/AntdDraggerUpload.py +4 -0
- package/feffery_antd_components/AntdDropdown.py +11 -3
- package/feffery_antd_components/AntdPictureUpload.py +4 -0
- package/feffery_antd_components/AntdTable.py +12 -5
- package/feffery_antd_components/AntdTree.py +11 -3
- package/feffery_antd_components/AntdUpload.py +4 -0
- package/feffery_antd_components/feffery_antd_components.min.js +1 -1
- package/feffery_antd_components/metadata.json +129 -1
- package/feffery_antd_components/package-info.json +1 -1
- package/package.json +1 -1
- package/src/jl/'feffery'_antdaccordion.jl +2 -2
- package/src/jl/'feffery'_antdcollapse.jl +1 -1
- package/src/jl/'feffery'_antddraggerupload.jl +4 -2
- package/src/jl/'feffery'_antddropdown.jl +5 -1
- package/src/jl/'feffery'_antdpictureupload.jl +4 -2
- package/src/jl/'feffery'_antdtable.jl +6 -3
- package/src/jl/'feffery'_antdtree.jl +5 -1
- package/src/jl/'feffery'_antdupload.jl +4 -2
- package/src/lib/components/AntdAccordion.react.js +4 -4
- package/src/lib/components/AntdCollapse.react.js +2 -2
- package/src/lib/components/AntdDropdown.react.js +57 -15
- package/src/lib/components/AntdTable.react.js +126 -92
- package/src/lib/components/AntdTree.react.js +72 -11
- package/src/lib/components/upload/AntdDraggerUpload.react.js +14 -3
- package/src/lib/components/upload/AntdPictureUpload.react.js +14 -3
- package/src/lib/components/upload/AntdUpload.react.js +14 -3
- package/usage.py +131 -48
package/DESCRIPTION
CHANGED
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
|
|
|
@@ -21,7 +21,7 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
- className (string | dict; optional)
|
|
23
23
|
|
|
24
|
-
- collapsible (a value equal to: 'header', 'disabled'; optional)
|
|
24
|
+
- collapsible (a value equal to: 'header', 'disabled', 'icon'; optional)
|
|
25
25
|
|
|
26
26
|
- defaultActiveKey (string | list of strings | number | list of numbers; optional)
|
|
27
27
|
|
|
@@ -37,7 +37,7 @@ Keyword arguments:
|
|
|
37
37
|
|
|
38
38
|
- className (string | dict; optional)
|
|
39
39
|
|
|
40
|
-
- collapsible (a value equal to: 'header', 'disabled'; optional)
|
|
40
|
+
- collapsible (a value equal to: 'header', 'disabled', 'icon'; optional)
|
|
41
41
|
|
|
42
42
|
- extra (a list of or a singular dash component, string or number; optional)
|
|
43
43
|
|
|
@@ -21,10 +21,14 @@ Keyword arguments:
|
|
|
21
21
|
|
|
22
22
|
`defaultFileList` is a list of dicts with keys:
|
|
23
23
|
|
|
24
|
+
- fileSize (number; optional)
|
|
25
|
+
|
|
24
26
|
- name (string; optional)
|
|
25
27
|
|
|
26
28
|
- status (a value equal to: 'done', 'error', 'removed'; optional)
|
|
27
29
|
|
|
30
|
+
- taskId (string; optional)
|
|
31
|
+
|
|
28
32
|
- uid (boolean | number | string | dict | list; optional)
|
|
29
33
|
|
|
30
34
|
- url (string; optional)
|
|
@@ -13,6 +13,8 @@ Keyword arguments:
|
|
|
13
13
|
|
|
14
14
|
- arrow (boolean; default False)
|
|
15
15
|
|
|
16
|
+
- autoAdjustOverflow (boolean; default True)
|
|
17
|
+
|
|
16
18
|
- buttonMode (boolean; default False)
|
|
17
19
|
|
|
18
20
|
- buttonProps (dict; optional)
|
|
@@ -31,6 +33,12 @@ Keyword arguments:
|
|
|
31
33
|
|
|
32
34
|
- disabled (boolean; default False)
|
|
33
35
|
|
|
36
|
+
- freePosition (boolean; default False)
|
|
37
|
+
|
|
38
|
+
- freePositionClassName (string; optional)
|
|
39
|
+
|
|
40
|
+
- freePositionStyle (dict; optional)
|
|
41
|
+
|
|
34
42
|
- key (string; optional)
|
|
35
43
|
|
|
36
44
|
- loading_state (dict; optional)
|
|
@@ -86,10 +94,10 @@ Keyword arguments:
|
|
|
86
94
|
_namespace = 'feffery_antd_components'
|
|
87
95
|
_type = 'AntdDropdown'
|
|
88
96
|
@_explicitize_args
|
|
89
|
-
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, visible=Component.UNDEFINED, popupContainer=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
90
|
-
self._prop_names = ['id', 'arrow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
97
|
+
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):
|
|
98
|
+
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']
|
|
91
99
|
self._valid_wildcard_attributes = []
|
|
92
|
-
self.available_properties = ['id', 'arrow', 'buttonMode', 'buttonProps', 'className', 'clickedKey', 'disabled', 'key', 'loading_state', 'menuItems', 'nClicks', 'overlayClassName', 'overlayStyle', 'placement', 'popupContainer', 'style', 'title', 'trigger', 'visible']
|
|
100
|
+
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']
|
|
93
101
|
self.available_wildcard_properties = []
|
|
94
102
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
95
103
|
_locals = locals()
|
|
@@ -23,10 +23,14 @@ Keyword arguments:
|
|
|
23
23
|
|
|
24
24
|
`defaultFileList` is a list of dicts with keys:
|
|
25
25
|
|
|
26
|
+
- fileSize (number; optional)
|
|
27
|
+
|
|
26
28
|
- name (string; optional)
|
|
27
29
|
|
|
28
30
|
- status (a value equal to: 'done', 'error', 'removed'; optional)
|
|
29
31
|
|
|
32
|
+
- taskId (string; optional)
|
|
33
|
+
|
|
30
34
|
- uid (boolean | number | string | dict | list; optional)
|
|
31
35
|
|
|
32
36
|
- url (string; optional)
|
|
@@ -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
|
|
|
@@ -354,6 +355,8 @@ Keyword arguments:
|
|
|
354
355
|
|
|
355
356
|
- nClicksDropdownItem (number; default 0)
|
|
356
357
|
|
|
358
|
+
- nDoubleClicksCell (number; default 0)
|
|
359
|
+
|
|
357
360
|
- pagination (dict; optional)
|
|
358
361
|
|
|
359
362
|
`pagination` is a dict with keys:
|
|
@@ -394,6 +397,10 @@ Keyword arguments:
|
|
|
394
397
|
|
|
395
398
|
- recentlyCellClickRecord (dict; optional)
|
|
396
399
|
|
|
400
|
+
- recentlyCellDoubleClickColumn (string; optional)
|
|
401
|
+
|
|
402
|
+
- recentlyCellDoubleClickRecord (dict; optional)
|
|
403
|
+
|
|
397
404
|
- recentlyChangedRow (dict; optional)
|
|
398
405
|
|
|
399
406
|
- recentlyCheckedDataIndex (string; optional)
|
|
@@ -491,10 +498,10 @@ Keyword arguments:
|
|
|
491
498
|
_namespace = 'feffery_antd_components'
|
|
492
499
|
_type = 'AntdTable'
|
|
493
500
|
@_explicitize_args
|
|
494
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, data=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumnDataIndex=Component.UNDEFINED, recentlyMouseEnterRowKey=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, conditionalStyleFuncs=Component.UNDEFINED, expandedRowKeyToContent=Component.UNDEFINED, expandedRowWidth=Component.UNDEFINED, expandRowByClick=Component.UNDEFINED, defaultExpandedRowKeys=Component.UNDEFINED, enableCellClickListenColumns=Component.UNDEFINED, recentlyCellClickColumn=Component.UNDEFINED, recentlyCellClickRecord=Component.UNDEFINED, nClicksCell=Component.UNDEFINED, emptyContent=Component.UNDEFINED, cellUpdateOptimize=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, recentlyButtonClickedDataIndex=Component.UNDEFINED, customFormatFuncs=Component.UNDEFINED, recentlyCheckedRow=Component.UNDEFINED, recentlyCheckedLabel=Component.UNDEFINED, recentlyCheckedDataIndex=Component.UNDEFINED, recentlyCheckedStatus=Component.UNDEFINED, recentlySwitchRow=Component.UNDEFINED, recentlySwitchDataIndex=Component.UNDEFINED, recentlySwitchStatus=Component.UNDEFINED, nClicksDropdownItem=Component.UNDEFINED, recentlyClickedDropdownItemTitle=Component.UNDEFINED, recentlyDropdownItemClickedDataIndex=Component.UNDEFINED, recentlyDropdownItemClickedRow=Component.UNDEFINED, recentlySelectRow=Component.UNDEFINED, recentlySelectDataIndex=Component.UNDEFINED, recentlySelectValue=Component.UNDEFINED, hiddenRowKeys=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
495
|
-
self._prop_names = ['id', 'bordered', 'cellUpdateOptimize', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'defaultExpandedRowKeys', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'hiddenRowKeys', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'nClicksDropdownItem', 'pagination', 'recentlyButtonClickedDataIndex', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyChangedRow', 'recentlyCheckedDataIndex', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyClickedDropdownItemTitle', 'recentlyDropdownItemClickedDataIndex', 'recentlyDropdownItemClickedRow', 'recentlyMouseEnterColumnDataIndex', 'recentlyMouseEnterRow', 'recentlyMouseEnterRowKey', 'recentlySelectDataIndex', 'recentlySelectRow', 'recentlySelectValue', 'recentlySwitchDataIndex', 'recentlySwitchRow', 'recentlySwitchStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
501
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, data=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumnDataIndex=Component.UNDEFINED, recentlyMouseEnterRowKey=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, conditionalStyleFuncs=Component.UNDEFINED, expandedRowKeyToContent=Component.UNDEFINED, expandedRowWidth=Component.UNDEFINED, expandRowByClick=Component.UNDEFINED, defaultExpandedRowKeys=Component.UNDEFINED, enableCellClickListenColumns=Component.UNDEFINED, recentlyCellClickColumn=Component.UNDEFINED, recentlyCellClickRecord=Component.UNDEFINED, nClicksCell=Component.UNDEFINED, recentlyCellDoubleClickColumn=Component.UNDEFINED, recentlyCellDoubleClickRecord=Component.UNDEFINED, nDoubleClicksCell=Component.UNDEFINED, emptyContent=Component.UNDEFINED, cellUpdateOptimize=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, recentlyButtonClickedDataIndex=Component.UNDEFINED, customFormatFuncs=Component.UNDEFINED, recentlyCheckedRow=Component.UNDEFINED, recentlyCheckedLabel=Component.UNDEFINED, recentlyCheckedDataIndex=Component.UNDEFINED, recentlyCheckedStatus=Component.UNDEFINED, recentlySwitchRow=Component.UNDEFINED, recentlySwitchDataIndex=Component.UNDEFINED, recentlySwitchStatus=Component.UNDEFINED, nClicksDropdownItem=Component.UNDEFINED, recentlyClickedDropdownItemTitle=Component.UNDEFINED, recentlyDropdownItemClickedDataIndex=Component.UNDEFINED, recentlyDropdownItemClickedRow=Component.UNDEFINED, recentlySelectRow=Component.UNDEFINED, recentlySelectDataIndex=Component.UNDEFINED, recentlySelectValue=Component.UNDEFINED, hiddenRowKeys=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
502
|
+
self._prop_names = ['id', 'bordered', 'cellUpdateOptimize', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'defaultExpandedRowKeys', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'hiddenRowKeys', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'nClicksDropdownItem', 'nDoubleClicksCell', 'pagination', 'recentlyButtonClickedDataIndex', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyCellDoubleClickColumn', 'recentlyCellDoubleClickRecord', 'recentlyChangedRow', 'recentlyCheckedDataIndex', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyClickedDropdownItemTitle', 'recentlyDropdownItemClickedDataIndex', 'recentlyDropdownItemClickedRow', 'recentlyMouseEnterColumnDataIndex', 'recentlyMouseEnterRow', 'recentlyMouseEnterRowKey', 'recentlySelectDataIndex', 'recentlySelectRow', 'recentlySelectValue', 'recentlySwitchDataIndex', 'recentlySwitchRow', 'recentlySwitchStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
496
503
|
self._valid_wildcard_attributes = []
|
|
497
|
-
self.available_properties = ['id', 'bordered', 'cellUpdateOptimize', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'defaultExpandedRowKeys', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'hiddenRowKeys', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'nClicksDropdownItem', 'pagination', 'recentlyButtonClickedDataIndex', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyChangedRow', 'recentlyCheckedDataIndex', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyClickedDropdownItemTitle', 'recentlyDropdownItemClickedDataIndex', 'recentlyDropdownItemClickedRow', 'recentlyMouseEnterColumnDataIndex', 'recentlyMouseEnterRow', 'recentlyMouseEnterRowKey', 'recentlySelectDataIndex', 'recentlySelectRow', 'recentlySelectValue', 'recentlySwitchDataIndex', 'recentlySwitchRow', 'recentlySwitchStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
504
|
+
self.available_properties = ['id', 'bordered', 'cellUpdateOptimize', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'defaultExpandedRowKeys', 'emptyContent', 'enableCellClickListenColumns', 'enableHoverListen', 'expandRowByClick', 'expandedRowKeyToContent', 'expandedRowWidth', 'filter', 'filterOptions', 'hiddenRowKeys', 'key', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'nClicksCell', 'nClicksDropdownItem', 'nDoubleClicksCell', 'pagination', 'recentlyButtonClickedDataIndex', 'recentlyButtonClickedRow', 'recentlyCellClickColumn', 'recentlyCellClickRecord', 'recentlyCellDoubleClickColumn', 'recentlyCellDoubleClickRecord', 'recentlyChangedRow', 'recentlyCheckedDataIndex', 'recentlyCheckedLabel', 'recentlyCheckedRow', 'recentlyCheckedStatus', 'recentlyClickedDropdownItemTitle', 'recentlyDropdownItemClickedDataIndex', 'recentlyDropdownItemClickedRow', 'recentlyMouseEnterColumnDataIndex', 'recentlyMouseEnterRow', 'recentlyMouseEnterRowKey', 'recentlySelectDataIndex', 'recentlySelectRow', 'recentlySelectValue', 'recentlySwitchDataIndex', 'recentlySwitchRow', 'recentlySwitchStatus', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
498
505
|
self.available_wildcard_properties = []
|
|
499
506
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
500
507
|
_locals = locals()
|
|
@@ -19,6 +19,14 @@ 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
|
+
|
|
22
30
|
- defaultCheckedKeys (list of strings; optional)
|
|
23
31
|
|
|
24
32
|
- defaultExpandAll (boolean; default False)
|
|
@@ -97,10 +105,10 @@ Keyword arguments:
|
|
|
97
105
|
_namespace = 'feffery_antd_components'
|
|
98
106
|
_type = 'AntdTree'
|
|
99
107
|
@_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']
|
|
108
|
+
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):
|
|
109
|
+
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
110
|
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']
|
|
111
|
+
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
112
|
self.available_wildcard_properties = []
|
|
105
113
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
106
114
|
_locals = locals()
|
|
@@ -23,10 +23,14 @@ Keyword arguments:
|
|
|
23
23
|
|
|
24
24
|
`defaultFileList` is a list of dicts with keys:
|
|
25
25
|
|
|
26
|
+
- fileSize (number; optional)
|
|
27
|
+
|
|
26
28
|
- name (string; optional)
|
|
27
29
|
|
|
28
30
|
- status (a value equal to: 'done', 'error', 'removed'; optional)
|
|
29
31
|
|
|
32
|
+
- taskId (string; optional)
|
|
33
|
+
|
|
30
34
|
- uid (boolean | number | string | dict | list; optional)
|
|
31
35
|
|
|
32
36
|
- url (string; optional)
|