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
|
@@ -95,6 +95,10 @@
|
|
|
95
95
|
{
|
|
96
96
|
"value": "'disabled'",
|
|
97
97
|
"computed": false
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"value": "'icon'",
|
|
101
|
+
"computed": false
|
|
98
102
|
}
|
|
99
103
|
],
|
|
100
104
|
"required": false
|
|
@@ -208,6 +212,10 @@
|
|
|
208
212
|
{
|
|
209
213
|
"value": "'disabled'",
|
|
210
214
|
"computed": false
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"value": "'icon'",
|
|
218
|
+
"computed": false
|
|
211
219
|
}
|
|
212
220
|
]
|
|
213
221
|
},
|
|
@@ -3240,6 +3248,10 @@
|
|
|
3240
3248
|
{
|
|
3241
3249
|
"value": "'disabled'",
|
|
3242
3250
|
"computed": false
|
|
3251
|
+
},
|
|
3252
|
+
{
|
|
3253
|
+
"value": "'icon'",
|
|
3254
|
+
"computed": false
|
|
3243
3255
|
}
|
|
3244
3256
|
]
|
|
3245
3257
|
},
|
|
@@ -5571,6 +5583,31 @@
|
|
|
5571
5583
|
"required": false,
|
|
5572
5584
|
"description": ""
|
|
5573
5585
|
},
|
|
5586
|
+
"freePosition": {
|
|
5587
|
+
"type": {
|
|
5588
|
+
"name": "bool"
|
|
5589
|
+
},
|
|
5590
|
+
"required": false,
|
|
5591
|
+
"description": "",
|
|
5592
|
+
"defaultValue": {
|
|
5593
|
+
"value": "false",
|
|
5594
|
+
"computed": false
|
|
5595
|
+
}
|
|
5596
|
+
},
|
|
5597
|
+
"freePositionStyle": {
|
|
5598
|
+
"type": {
|
|
5599
|
+
"name": "object"
|
|
5600
|
+
},
|
|
5601
|
+
"required": false,
|
|
5602
|
+
"description": ""
|
|
5603
|
+
},
|
|
5604
|
+
"freePositionClassName": {
|
|
5605
|
+
"type": {
|
|
5606
|
+
"name": "string"
|
|
5607
|
+
},
|
|
5608
|
+
"required": false,
|
|
5609
|
+
"description": ""
|
|
5610
|
+
},
|
|
5574
5611
|
"clickedKey": {
|
|
5575
5612
|
"type": {
|
|
5576
5613
|
"name": "string"
|
|
@@ -5727,6 +5764,17 @@
|
|
|
5727
5764
|
"computed": false
|
|
5728
5765
|
}
|
|
5729
5766
|
},
|
|
5767
|
+
"autoAdjustOverflow": {
|
|
5768
|
+
"type": {
|
|
5769
|
+
"name": "bool"
|
|
5770
|
+
},
|
|
5771
|
+
"required": false,
|
|
5772
|
+
"description": "",
|
|
5773
|
+
"defaultValue": {
|
|
5774
|
+
"value": "true",
|
|
5775
|
+
"computed": false
|
|
5776
|
+
}
|
|
5777
|
+
},
|
|
5730
5778
|
"visible": {
|
|
5731
5779
|
"type": {
|
|
5732
5780
|
"name": "bool"
|
|
@@ -14023,6 +14071,12 @@
|
|
|
14023
14071
|
"value": {
|
|
14024
14072
|
"name": "union",
|
|
14025
14073
|
"value": [
|
|
14074
|
+
{
|
|
14075
|
+
"name": "arrayOf",
|
|
14076
|
+
"value": {
|
|
14077
|
+
"name": "any"
|
|
14078
|
+
}
|
|
14079
|
+
},
|
|
14026
14080
|
{
|
|
14027
14081
|
"name": "string"
|
|
14028
14082
|
},
|
|
@@ -14593,7 +14647,15 @@
|
|
|
14593
14647
|
"required": false
|
|
14594
14648
|
},
|
|
14595
14649
|
"value": {
|
|
14596
|
-
"name": "
|
|
14650
|
+
"name": "union",
|
|
14651
|
+
"value": [
|
|
14652
|
+
{
|
|
14653
|
+
"name": "string"
|
|
14654
|
+
},
|
|
14655
|
+
{
|
|
14656
|
+
"name": "number"
|
|
14657
|
+
}
|
|
14658
|
+
],
|
|
14597
14659
|
"required": false
|
|
14598
14660
|
}
|
|
14599
14661
|
}
|
|
@@ -15469,6 +15531,31 @@
|
|
|
15469
15531
|
"computed": false
|
|
15470
15532
|
}
|
|
15471
15533
|
},
|
|
15534
|
+
"recentlyCellDoubleClickColumn": {
|
|
15535
|
+
"type": {
|
|
15536
|
+
"name": "string"
|
|
15537
|
+
},
|
|
15538
|
+
"required": false,
|
|
15539
|
+
"description": ""
|
|
15540
|
+
},
|
|
15541
|
+
"recentlyCellDoubleClickRecord": {
|
|
15542
|
+
"type": {
|
|
15543
|
+
"name": "object"
|
|
15544
|
+
},
|
|
15545
|
+
"required": false,
|
|
15546
|
+
"description": ""
|
|
15547
|
+
},
|
|
15548
|
+
"nDoubleClicksCell": {
|
|
15549
|
+
"type": {
|
|
15550
|
+
"name": "number"
|
|
15551
|
+
},
|
|
15552
|
+
"required": false,
|
|
15553
|
+
"description": "",
|
|
15554
|
+
"defaultValue": {
|
|
15555
|
+
"value": "0",
|
|
15556
|
+
"computed": false
|
|
15557
|
+
}
|
|
15558
|
+
},
|
|
15472
15559
|
"emptyContent": {
|
|
15473
15560
|
"type": {
|
|
15474
15561
|
"name": "node"
|
|
@@ -17659,6 +17746,23 @@
|
|
|
17659
17746
|
"required": false,
|
|
17660
17747
|
"description": ""
|
|
17661
17748
|
},
|
|
17749
|
+
"clickedContextMenu": {
|
|
17750
|
+
"type": {
|
|
17751
|
+
"name": "exact",
|
|
17752
|
+
"value": {
|
|
17753
|
+
"nodeKey": {
|
|
17754
|
+
"name": "string",
|
|
17755
|
+
"required": false
|
|
17756
|
+
},
|
|
17757
|
+
"menuKey": {
|
|
17758
|
+
"name": "string",
|
|
17759
|
+
"required": false
|
|
17760
|
+
}
|
|
17761
|
+
}
|
|
17762
|
+
},
|
|
17763
|
+
"required": false,
|
|
17764
|
+
"description": ""
|
|
17765
|
+
},
|
|
17662
17766
|
"loading_state": {
|
|
17663
17767
|
"type": {
|
|
17664
17768
|
"name": "shape",
|
|
@@ -23550,6 +23654,14 @@
|
|
|
23550
23654
|
"url": {
|
|
23551
23655
|
"name": "string",
|
|
23552
23656
|
"required": false
|
|
23657
|
+
},
|
|
23658
|
+
"taskId": {
|
|
23659
|
+
"name": "string",
|
|
23660
|
+
"required": false
|
|
23661
|
+
},
|
|
23662
|
+
"fileSize": {
|
|
23663
|
+
"name": "number",
|
|
23664
|
+
"required": false
|
|
23553
23665
|
}
|
|
23554
23666
|
}
|
|
23555
23667
|
}
|
|
@@ -24096,6 +24208,14 @@
|
|
|
24096
24208
|
"url": {
|
|
24097
24209
|
"name": "string",
|
|
24098
24210
|
"required": false
|
|
24211
|
+
},
|
|
24212
|
+
"taskId": {
|
|
24213
|
+
"name": "string",
|
|
24214
|
+
"required": false
|
|
24215
|
+
},
|
|
24216
|
+
"fileSize": {
|
|
24217
|
+
"name": "number",
|
|
24218
|
+
"required": false
|
|
24099
24219
|
}
|
|
24100
24220
|
}
|
|
24101
24221
|
}
|
|
@@ -24571,6 +24691,14 @@
|
|
|
24571
24691
|
"url": {
|
|
24572
24692
|
"name": "string",
|
|
24573
24693
|
"required": false
|
|
24694
|
+
},
|
|
24695
|
+
"taskId": {
|
|
24696
|
+
"name": "string",
|
|
24697
|
+
"required": false
|
|
24698
|
+
},
|
|
24699
|
+
"fileSize": {
|
|
24700
|
+
"name": "number",
|
|
24701
|
+
"required": false
|
|
24574
24702
|
}
|
|
24575
24703
|
}
|
|
24576
24704
|
}
|
|
@@ -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)
|