feffery_antd_components 0.1.7 → 0.1.10
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 +5 -0
- package/Project.toml +1 -1
- package/README.md +2 -2
- package/feffery_antd_components/AntdAccordion.py +62 -0
- package/{build/lib/feffery_antd_components/AntdAffix.py → feffery_antd_components/AntdAccordionItem.py} +14 -12
- package/{build/lib/feffery_antd_components/AntdRibbon.py → feffery_antd_components/AntdCheckCard.py} +16 -10
- package/{build/lib/feffery_antd_components/AntdTabPane.py → feffery_antd_components/AntdCheckCardGroup.py} +15 -21
- package/feffery_antd_components/AntdDraggerUpload.py +37 -3
- package/feffery_antd_components/AntdPopconfirm.py +5 -3
- package/feffery_antd_components/AntdRadioGroup.py +3 -3
- package/{build/lib/feffery_antd_components/AntdCheckboxGroup.py → feffery_antd_components/AntdSegmented.py} +17 -11
- package/feffery_antd_components/AntdSwitch.py +5 -3
- package/feffery_antd_components/AntdTable.py +20 -7
- package/feffery_antd_components/AntdUpload.py +27 -3
- package/feffery_antd_components/_imports_.py +10 -0
- package/feffery_antd_components/feffery_antd_components.min.js +143 -158
- package/feffery_antd_components/metadata.json +7125 -6063
- package/feffery_antd_components/package-info.json +8 -7
- package/package.json +8 -7
- package/src/FefferyAntdComponents.jl +8 -3
- package/src/jl/'feffery'_antdaccordion.jl +39 -0
- package/src/jl/'feffery'_antdaccordionitem.jl +36 -0
- package/src/jl/'feffery'_antdcheckcard.jl +38 -0
- package/src/jl/'feffery'_antdcheckcardgroup.jl +38 -0
- package/src/jl/'feffery'_antddraggerupload.jl +21 -2
- package/src/jl/'feffery'_antdpopconfirm.jl +2 -1
- package/src/jl/'feffery'_antdradiogroup.jl +3 -3
- package/src/jl/'feffery'_antdsegmented.jl +48 -0
- package/src/jl/'feffery'_antdswitch.jl +2 -1
- package/src/jl/'feffery'_antdtable.jl +12 -6
- package/src/jl/'feffery'_antdupload.jl +14 -1
- package/src/lib/components/AntdAffix.react.js +1 -7
- package/src/lib/components/AntdCollapse.react.js +1 -7
- package/src/lib/components/AntdComment.react.js +1 -7
- package/src/lib/components/AntdDraggerUpload.react.js +205 -65
- package/src/lib/components/AntdMessage.react.js +2 -0
- package/src/lib/components/AntdPageHeader.react.js +1 -7
- package/src/lib/components/AntdPopconfirm.react.js +8 -9
- package/src/lib/components/AntdPopover.react.js +1 -7
- package/src/lib/components/AntdRadioGroup.react.js +10 -4
- package/src/lib/components/AntdSegmented.react.js +167 -0
- package/src/lib/components/AntdSkeleton.react.js +1 -7
- package/src/lib/components/AntdSpace.react.js +1 -7
- package/src/lib/components/AntdSpin.react.js +1 -7
- package/src/lib/components/AntdSwitch.react.js +9 -1
- package/src/lib/components/AntdTable.react.js +75 -16
- package/src/lib/components/AntdTooltip.react.js +1 -7
- package/src/lib/components/AntdUpload.react.js +168 -54
- package/src/lib/components/AntdWatermark.react.js +1 -7
- package/src/lib/components/accordion/AntdAccordion.react.js +167 -0
- package/src/lib/components/accordion/AntdAccordionItem.react.js +98 -0
- package/src/lib/components/card/AntdCard.react.js +1 -7
- package/src/lib/components/card/AntdCardGrid.react.js +1 -7
- package/src/lib/components/check-card/AntdCheckCard.react.js +113 -0
- package/src/lib/components/check-card/AntdCheckCardGroup.react.js +119 -0
- package/src/lib/components/descriptions/AntdDescriptionItem.react.js +1 -7
- package/src/lib/components/descriptions/AntdDescriptions.react.js +1 -7
- package/src/lib/components/grid/AntdCol.react.js +1 -7
- package/src/lib/components/grid/AntdRow.react.js +1 -7
- package/src/lib/components/layout/AntdContent.react.js +1 -7
- package/src/lib/components/layout/AntdFooter.react.js +1 -7
- package/src/lib/components/layout/AntdHeader.react.js +1 -7
- package/src/lib/components/layout/AntdLayout.react.js +1 -7
- package/src/lib/components/layout/AntdSider.react.js +1 -7
- package/src/lib/components/tabs/AntdTabPane.react.js +1 -7
- package/src/lib/components/tabs/AntdTabs.react.js +2 -27
- package/src/lib/components/typography/AntdParagraph.react.js +1 -7
- package/src/lib/components/typography/AntdText.react.js +1 -7
- package/src/lib/components/typography/AntdTitle.react.js +1 -7
- package/src/lib/components/utils.js +31 -0
- package/src/lib/index.js +11 -1
- package/usage.py +65 -136
- package/build/lib/feffery_antd_components/AntdAlert.py +0 -58
- package/build/lib/feffery_antd_components/AntdAnchor.py +0 -60
- package/build/lib/feffery_antd_components/AntdAvatar.py +0 -79
- package/build/lib/feffery_antd_components/AntdBackTop.py +0 -52
- package/build/lib/feffery_antd_components/AntdBadge.py +0 -70
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +0 -74
- package/build/lib/feffery_antd_components/AntdButton.py +0 -68
- package/build/lib/feffery_antd_components/AntdCalendar.py +0 -75
- package/build/lib/feffery_antd_components/AntdCard.py +0 -86
- package/build/lib/feffery_antd_components/AntdCardGrid.py +0 -52
- package/build/lib/feffery_antd_components/AntdCarousel.py +0 -56
- package/build/lib/feffery_antd_components/AntdCascader.py +0 -93
- package/build/lib/feffery_antd_components/AntdCheckbox.py +0 -71
- package/build/lib/feffery_antd_components/AntdCol.py +0 -146
- package/build/lib/feffery_antd_components/AntdCollapse.py +0 -79
- package/build/lib/feffery_antd_components/AntdComment.py +0 -88
- package/build/lib/feffery_antd_components/AntdContent.py +0 -50
- package/build/lib/feffery_antd_components/AntdCountdown.py +0 -72
- package/build/lib/feffery_antd_components/AntdDatePicker.py +0 -95
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +0 -91
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +0 -58
- package/build/lib/feffery_antd_components/AntdDescriptions.py +0 -76
- package/build/lib/feffery_antd_components/AntdDivider.py +0 -62
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +0 -84
- package/build/lib/feffery_antd_components/AntdDrawer.py +0 -72
- package/build/lib/feffery_antd_components/AntdDropdown.py +0 -84
- package/build/lib/feffery_antd_components/AntdEmpty.py +0 -54
- package/build/lib/feffery_antd_components/AntdFooter.py +0 -50
- package/build/lib/feffery_antd_components/AntdForm.py +0 -72
- package/build/lib/feffery_antd_components/AntdFormItem.py +0 -84
- package/build/lib/feffery_antd_components/AntdHeader.py +0 -50
- package/build/lib/feffery_antd_components/AntdIcon.py +0 -48
- package/build/lib/feffery_antd_components/AntdImage.py +0 -62
- package/build/lib/feffery_antd_components/AntdInput.py +0 -101
- package/build/lib/feffery_antd_components/AntdInputNumber.py +0 -101
- package/build/lib/feffery_antd_components/AntdLayout.py +0 -50
- package/build/lib/feffery_antd_components/AntdMentions.py +0 -76
- package/build/lib/feffery_antd_components/AntdMenu.py +0 -81
- package/build/lib/feffery_antd_components/AntdMessage.py +0 -56
- package/build/lib/feffery_antd_components/AntdModal.py +0 -88
- package/build/lib/feffery_antd_components/AntdNotification.py +0 -60
- package/build/lib/feffery_antd_components/AntdPageHeader.py +0 -62
- package/build/lib/feffery_antd_components/AntdPagination.py +0 -95
- package/build/lib/feffery_antd_components/AntdParagraph.py +0 -70
- package/build/lib/feffery_antd_components/AntdPasteImage.py +0 -52
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +0 -80
- package/build/lib/feffery_antd_components/AntdPopover.py +0 -74
- package/build/lib/feffery_antd_components/AntdProgress.py +0 -88
- package/build/lib/feffery_antd_components/AntdRadio.py +0 -54
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +0 -89
- package/build/lib/feffery_antd_components/AntdRate.py +0 -60
- package/build/lib/feffery_antd_components/AntdResult.py +0 -52
- package/build/lib/feffery_antd_components/AntdRow.py +0 -72
- package/build/lib/feffery_antd_components/AntdSelect.py +0 -121
- package/build/lib/feffery_antd_components/AntdSider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSkeleton.py +0 -86
- package/build/lib/feffery_antd_components/AntdSlider.py +0 -68
- package/build/lib/feffery_antd_components/AntdSpace.py +0 -60
- package/build/lib/feffery_antd_components/AntdSpin.py +0 -68
- package/build/lib/feffery_antd_components/AntdStatistic.py +0 -74
- package/build/lib/feffery_antd_components/AntdSteps.py +0 -72
- package/build/lib/feffery_antd_components/AntdSwitch.py +0 -75
- package/build/lib/feffery_antd_components/AntdTable.py +0 -264
- package/build/lib/feffery_antd_components/AntdTabs.py +0 -81
- package/build/lib/feffery_antd_components/AntdTag.py +0 -54
- package/build/lib/feffery_antd_components/AntdTestLink.py +0 -58
- package/build/lib/feffery_antd_components/AntdText.py +0 -72
- package/build/lib/feffery_antd_components/AntdTimePicker.py +0 -95
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +0 -95
- package/build/lib/feffery_antd_components/AntdTimeline.py +0 -68
- package/build/lib/feffery_antd_components/AntdTitle.py +0 -74
- package/build/lib/feffery_antd_components/AntdTooltip.py +0 -64
- package/build/lib/feffery_antd_components/AntdTransfer.py +0 -99
- package/build/lib/feffery_antd_components/AntdTree.py +0 -103
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +0 -107
- package/build/lib/feffery_antd_components/AntdTypography.py +0 -50
- package/build/lib/feffery_antd_components/AntdUpload.py +0 -92
- package/build/lib/feffery_antd_components/AntdWatermark.py +0 -64
- package/build/lib/feffery_antd_components/Link.py +0 -58
- package/build/lib/feffery_antd_components/__init__.py +0 -53
- package/build/lib/feffery_antd_components/_imports_.py +0 -161
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +0 -344
- package/build/lib/feffery_antd_components/metadata.json +0 -15596
- package/build/lib/feffery_antd_components/package-info.json +0 -81
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
export('feffery'AntdAccordion)
|
|
4
|
+
export('feffery'AntdAccordionItem)
|
|
3
5
|
export('feffery'AntdAffix)
|
|
4
6
|
export('feffery'AntdAlert)
|
|
5
7
|
export('feffery'AntdAnchor)
|
|
@@ -42,6 +44,7 @@ export('feffery'AntdRadioGroup)
|
|
|
42
44
|
export('feffery'AntdRate)
|
|
43
45
|
export('feffery'AntdResult)
|
|
44
46
|
export('feffery'AntdRibbon)
|
|
47
|
+
export('feffery'AntdSegmented)
|
|
45
48
|
export('feffery'AntdSelect)
|
|
46
49
|
export('feffery'AntdSkeleton)
|
|
47
50
|
export('feffery'AntdSlider)
|
|
@@ -63,6 +66,8 @@ export('feffery'AntdUpload)
|
|
|
63
66
|
export('feffery'AntdWatermark)
|
|
64
67
|
export('feffery'AntdCard)
|
|
65
68
|
export('feffery'AntdCardGrid)
|
|
69
|
+
export('feffery'AntdCheckCard)
|
|
70
|
+
export('feffery'AntdCheckCardGroup)
|
|
66
71
|
export('feffery'AntdDescriptionItem)
|
|
67
72
|
export('feffery'AntdDescriptions)
|
|
68
73
|
export('feffery'AntdForm)
|
package/Project.toml
CHANGED
package/README.md
CHANGED
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
</div>
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,将基于`Antd`,将超多具有丰富功能的组件引入`Dash`的世界🥳,最新版本:`0.1.10`
|
|
19
19
|
|
|
20
20
|
## 1 最新版本安装方式
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
pip install feffery-antd-components==0.1.
|
|
23
|
+
pip install feffery-antd-components==0.1.10
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
## 2 最新开发版本安装方式
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAccordion(Component):
|
|
7
|
+
"""An AntdAccordion component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
13
|
+
|
|
14
|
+
- id (string; optional)
|
|
15
|
+
|
|
16
|
+
- accordion (boolean; default True)
|
|
17
|
+
|
|
18
|
+
- activeKey (string | list of strings | number | list of numbers; optional)
|
|
19
|
+
|
|
20
|
+
- bordered (boolean; optional)
|
|
21
|
+
|
|
22
|
+
- className (string; optional)
|
|
23
|
+
|
|
24
|
+
- collapsible (a value equal to: 'header', 'disabled'; optional)
|
|
25
|
+
|
|
26
|
+
- defaultActiveKey (string | list of strings | number | list of numbers; optional)
|
|
27
|
+
|
|
28
|
+
- expandIconPosition (a value equal to: 'left', 'right'; optional)
|
|
29
|
+
|
|
30
|
+
- ghost (boolean; optional)
|
|
31
|
+
|
|
32
|
+
- loading_state (dict; optional)
|
|
33
|
+
|
|
34
|
+
`loading_state` is a dict with keys:
|
|
35
|
+
|
|
36
|
+
- component_name (string; optional):
|
|
37
|
+
Holds the name of the component that is loading.
|
|
38
|
+
|
|
39
|
+
- is_loading (boolean; optional):
|
|
40
|
+
Determines if the component is loading or not.
|
|
41
|
+
|
|
42
|
+
- prop_name (string; optional):
|
|
43
|
+
Holds which property is loading.
|
|
44
|
+
|
|
45
|
+
- style (dict; optional)"""
|
|
46
|
+
@_explicitize_args
|
|
47
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, accordion=Component.UNDEFINED, activeKey=Component.UNDEFINED, defaultActiveKey=Component.UNDEFINED, bordered=Component.UNDEFINED, collapsible=Component.UNDEFINED, expandIconPosition=Component.UNDEFINED, ghost=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
48
|
+
self._prop_names = ['children', 'id', 'accordion', 'activeKey', 'bordered', 'className', 'collapsible', 'defaultActiveKey', 'expandIconPosition', 'ghost', 'loading_state', 'style']
|
|
49
|
+
self._type = 'AntdAccordion'
|
|
50
|
+
self._namespace = 'feffery_antd_components'
|
|
51
|
+
self._valid_wildcard_attributes = []
|
|
52
|
+
self.available_properties = ['children', 'id', 'accordion', 'activeKey', 'bordered', 'className', 'collapsible', 'defaultActiveKey', 'expandIconPosition', 'ghost', 'loading_state', 'style']
|
|
53
|
+
self.available_wildcard_properties = []
|
|
54
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
55
|
+
_locals = locals()
|
|
56
|
+
_locals.update(kwargs) # For wildcard attrs
|
|
57
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
58
|
+
for k in []:
|
|
59
|
+
if k not in args:
|
|
60
|
+
raise TypeError(
|
|
61
|
+
'Required argument `' + k + '` was not specified.')
|
|
62
|
+
super(AntdAccordion, self).__init__(children=children, **args)
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""An
|
|
6
|
+
class AntdAccordionItem(Component):
|
|
7
|
+
"""An AntdAccordionItem component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
@@ -15,6 +15,10 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- className (string; optional)
|
|
17
17
|
|
|
18
|
+
- collapsible (a value equal to: 'header', 'disabled'; optional)
|
|
19
|
+
|
|
20
|
+
- key (string | number; required)
|
|
21
|
+
|
|
18
22
|
- loading_state (dict; optional)
|
|
19
23
|
|
|
20
24
|
`loading_state` is a dict with keys:
|
|
@@ -28,27 +32,25 @@ Keyword arguments:
|
|
|
28
32
|
- prop_name (string; optional):
|
|
29
33
|
Holds which property is loading.
|
|
30
34
|
|
|
31
|
-
-
|
|
32
|
-
|
|
33
|
-
- offsetTop (number; optional)
|
|
35
|
+
- showArrow (boolean; optional)
|
|
34
36
|
|
|
35
37
|
- style (dict; optional)
|
|
36
38
|
|
|
37
|
-
-
|
|
39
|
+
- title (string; default '')"""
|
|
38
40
|
@_explicitize_args
|
|
39
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
40
|
-
self._prop_names = ['children', 'id', 'className', '
|
|
41
|
-
self._type = '
|
|
41
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.REQUIRED, collapsible=Component.UNDEFINED, title=Component.UNDEFINED, showArrow=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
42
|
+
self._prop_names = ['children', 'id', 'className', 'collapsible', 'key', 'loading_state', 'showArrow', 'style', 'title']
|
|
43
|
+
self._type = 'AntdAccordionItem'
|
|
42
44
|
self._namespace = 'feffery_antd_components'
|
|
43
45
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['children', 'id', 'className', '
|
|
46
|
+
self.available_properties = ['children', 'id', 'className', 'collapsible', 'key', 'loading_state', 'showArrow', 'style', 'title']
|
|
45
47
|
self.available_wildcard_properties = []
|
|
46
48
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
49
|
_locals = locals()
|
|
48
50
|
_locals.update(kwargs) # For wildcard attrs
|
|
49
51
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
50
|
-
for k in []:
|
|
52
|
+
for k in ['key']:
|
|
51
53
|
if k not in args:
|
|
52
54
|
raise TypeError(
|
|
53
55
|
'Required argument `' + k + '` was not specified.')
|
|
54
|
-
super(
|
|
56
|
+
super(AntdAccordionItem, self).__init__(children=children, **args)
|
package/{build/lib/feffery_antd_components/AntdRibbon.py → feffery_antd_components/AntdCheckCard.py}
RENAMED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""An
|
|
6
|
+
class AntdCheckCard(Component):
|
|
7
|
+
"""An AntdCheckCard component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
@@ -13,9 +13,15 @@ Keyword arguments:
|
|
|
13
13
|
|
|
14
14
|
- id (string; optional)
|
|
15
15
|
|
|
16
|
+
- bordered (boolean; optional)
|
|
17
|
+
|
|
18
|
+
- checked (boolean; optional)
|
|
19
|
+
|
|
16
20
|
- className (string; optional)
|
|
17
21
|
|
|
18
|
-
-
|
|
22
|
+
- defaultChecked (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- disabled (boolean; optional)
|
|
19
25
|
|
|
20
26
|
- loading_state (dict; optional)
|
|
21
27
|
|
|
@@ -30,18 +36,18 @@ Keyword arguments:
|
|
|
30
36
|
- prop_name (string; optional):
|
|
31
37
|
Holds which property is loading.
|
|
32
38
|
|
|
33
|
-
-
|
|
39
|
+
- size (a value equal to: 'small', 'default', 'large'; optional)
|
|
34
40
|
|
|
35
41
|
- style (dict; optional)
|
|
36
42
|
|
|
37
|
-
-
|
|
43
|
+
- value (string; optional)"""
|
|
38
44
|
@_explicitize_args
|
|
39
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
40
|
-
self._prop_names = ['children', 'id', 'className', '
|
|
41
|
-
self._type = '
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, checked=Component.UNDEFINED, bordered=Component.UNDEFINED, value=Component.UNDEFINED, defaultChecked=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'bordered', 'checked', 'className', 'defaultChecked', 'disabled', 'loading_state', 'size', 'style', 'value']
|
|
47
|
+
self._type = 'AntdCheckCard'
|
|
42
48
|
self._namespace = 'feffery_antd_components'
|
|
43
49
|
self._valid_wildcard_attributes = []
|
|
44
|
-
self.available_properties = ['children', 'id', 'className', '
|
|
50
|
+
self.available_properties = ['children', 'id', 'bordered', 'checked', 'className', 'defaultChecked', 'disabled', 'loading_state', 'size', 'style', 'value']
|
|
45
51
|
self.available_wildcard_properties = []
|
|
46
52
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
47
53
|
_locals = locals()
|
|
@@ -51,4 +57,4 @@ Keyword arguments:
|
|
|
51
57
|
if k not in args:
|
|
52
58
|
raise TypeError(
|
|
53
59
|
'Required argument `' + k + '` was not specified.')
|
|
54
|
-
super(
|
|
60
|
+
super(AntdCheckCard, self).__init__(children=children, **args)
|
|
@@ -3,26 +3,24 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""An
|
|
6
|
+
class AntdCheckCardGroup(Component):
|
|
7
|
+
"""An AntdCheckCardGroup component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
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.
|
|
12
|
+
- children (a list of or a singular dash component, string or number; optional)
|
|
15
13
|
|
|
16
14
|
- id (string; optional)
|
|
17
15
|
|
|
16
|
+
- bordered (boolean; optional)
|
|
17
|
+
|
|
18
18
|
- className (string; optional)
|
|
19
19
|
|
|
20
|
-
-
|
|
20
|
+
- defaultValue (string | list of strings; optional)
|
|
21
21
|
|
|
22
22
|
- disabled (boolean; optional)
|
|
23
23
|
|
|
24
|
-
- key (string; optional)
|
|
25
|
-
|
|
26
24
|
- loading_state (dict; optional)
|
|
27
25
|
|
|
28
26
|
`loading_state` is a dict with keys:
|
|
@@ -36,24 +34,20 @@ Keyword arguments:
|
|
|
36
34
|
- prop_name (string; optional):
|
|
37
35
|
Holds which property is loading.
|
|
38
36
|
|
|
39
|
-
-
|
|
40
|
-
|
|
41
|
-
- tab (string; optional)
|
|
42
|
-
|
|
43
|
-
- titleSideInfoPopover (dict; optional)
|
|
37
|
+
- multiple (boolean; optional)
|
|
44
38
|
|
|
45
|
-
|
|
39
|
+
- size (a value equal to: 'small', 'default', 'large'; optional)
|
|
46
40
|
|
|
47
|
-
|
|
41
|
+
- style (dict; optional)
|
|
48
42
|
|
|
49
|
-
|
|
43
|
+
- value (string | list of strings; optional)"""
|
|
50
44
|
@_explicitize_args
|
|
51
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
52
|
-
self._prop_names = ['children', 'id', 'className', '
|
|
53
|
-
self._type = '
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, multiple=Component.UNDEFINED, bordered=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'multiple', 'size', 'style', 'value']
|
|
47
|
+
self._type = 'AntdCheckCardGroup'
|
|
54
48
|
self._namespace = 'feffery_antd_components'
|
|
55
49
|
self._valid_wildcard_attributes = []
|
|
56
|
-
self.available_properties = ['children', 'id', 'className', '
|
|
50
|
+
self.available_properties = ['children', 'id', 'bordered', 'className', 'defaultValue', 'disabled', 'loading_state', 'multiple', 'size', 'style', 'value']
|
|
57
51
|
self.available_wildcard_properties = []
|
|
58
52
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
59
53
|
_locals = locals()
|
|
@@ -63,4 +57,4 @@ Keyword arguments:
|
|
|
63
57
|
if k not in args:
|
|
64
58
|
raise TypeError(
|
|
65
59
|
'Required argument `' + k + '` was not specified.')
|
|
66
|
-
super(
|
|
60
|
+
super(AntdCheckCardGroup, self).__init__(children=children, **args)
|
|
@@ -39,6 +39,40 @@ Keyword arguments:
|
|
|
39
39
|
|
|
40
40
|
- taskId (string; optional)
|
|
41
41
|
|
|
42
|
+
- taskStatus (string; optional) | list of dicts with keys:
|
|
43
|
+
|
|
44
|
+
- completeTimestamp (number; optional)
|
|
45
|
+
|
|
46
|
+
- fileName (string; optional)
|
|
47
|
+
|
|
48
|
+
- fileSize (number; optional)
|
|
49
|
+
|
|
50
|
+
- taskId (string; optional)
|
|
51
|
+
|
|
52
|
+
- taskStatus (string; optional)
|
|
53
|
+
|
|
54
|
+
- listUploadTaskRecord (dict; optional)
|
|
55
|
+
|
|
56
|
+
`listUploadTaskRecord` is a dict with keys:
|
|
57
|
+
|
|
58
|
+
- completeTimestamp (number; optional)
|
|
59
|
+
|
|
60
|
+
- fileName (string; optional)
|
|
61
|
+
|
|
62
|
+
- fileSize (number; optional)
|
|
63
|
+
|
|
64
|
+
- taskId (string; optional)
|
|
65
|
+
|
|
66
|
+
- taskStatus (string; optional) | list of dicts with keys:
|
|
67
|
+
|
|
68
|
+
- completeTimestamp (number; optional)
|
|
69
|
+
|
|
70
|
+
- fileName (string; optional)
|
|
71
|
+
|
|
72
|
+
- fileSize (number; optional)
|
|
73
|
+
|
|
74
|
+
- taskId (string; optional)
|
|
75
|
+
|
|
42
76
|
- taskStatus (string; optional)
|
|
43
77
|
|
|
44
78
|
- loading_state (dict; optional)
|
|
@@ -66,12 +100,12 @@ Keyword arguments:
|
|
|
66
100
|
|
|
67
101
|
- uploadId (string; optional)"""
|
|
68
102
|
@_explicitize_args
|
|
69
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
70
|
-
self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
103
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, apiUrl=Component.UNDEFINED, text=Component.UNDEFINED, hint=Component.UNDEFINED, fileListMaxLength=Component.UNDEFINED, fileTypes=Component.UNDEFINED, uploadId=Component.UNDEFINED, fileMaxSize=Component.UNDEFINED, multiple=Component.UNDEFINED, directory=Component.UNDEFINED, failedTooltipInfo=Component.UNDEFINED, showUploadList=Component.UNDEFINED, lastUploadTaskRecord=Component.UNDEFINED, listUploadTaskRecord=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
104
|
+
self._prop_names = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
71
105
|
self._type = 'AntdDraggerUpload'
|
|
72
106
|
self._namespace = 'feffery_antd_components'
|
|
73
107
|
self._valid_wildcard_attributes = []
|
|
74
|
-
self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
108
|
+
self.available_properties = ['id', 'apiUrl', 'className', 'directory', 'failedTooltipInfo', 'fileListMaxLength', 'fileMaxSize', 'fileTypes', 'hint', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'loading_state', 'locale', 'multiple', 'showUploadList', 'style', 'text', 'uploadId']
|
|
75
109
|
self.available_wildcard_properties = []
|
|
76
110
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
77
111
|
_locals = locals()
|
|
@@ -25,6 +25,8 @@ Keyword arguments:
|
|
|
25
25
|
|
|
26
26
|
- confirmCounts (number; default 0)
|
|
27
27
|
|
|
28
|
+
- containerStrategy (a value equal to: 'parent', 'body'; default 'parent')
|
|
29
|
+
|
|
28
30
|
- disabled (boolean; optional)
|
|
29
31
|
|
|
30
32
|
- loading_state (dict; optional)
|
|
@@ -62,12 +64,12 @@ Keyword arguments:
|
|
|
62
64
|
|
|
63
65
|
- trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; optional)"""
|
|
64
66
|
@_explicitize_args
|
|
65
|
-
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, confirmCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
66
|
-
self._prop_names = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
67
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, title=Component.UNDEFINED, disabled=Component.UNDEFINED, placement=Component.UNDEFINED, mouseEnterDelay=Component.UNDEFINED, mouseLeaveDelay=Component.UNDEFINED, overlayStyle=Component.UNDEFINED, overlayInnerStyle=Component.UNDEFINED, okText=Component.UNDEFINED, okButtonProps=Component.UNDEFINED, cancelText=Component.UNDEFINED, cancelButtonProps=Component.UNDEFINED, confirmCounts=Component.UNDEFINED, cancelCounts=Component.UNDEFINED, containerStrategy=Component.UNDEFINED, trigger=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
68
|
+
self._prop_names = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'containerStrategy', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
67
69
|
self._type = 'AntdPopconfirm'
|
|
68
70
|
self._namespace = 'feffery_antd_components'
|
|
69
71
|
self._valid_wildcard_attributes = []
|
|
70
|
-
self.available_properties = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
72
|
+
self.available_properties = ['children', 'id', 'cancelButtonProps', 'cancelCounts', 'cancelText', 'className', 'confirmCounts', 'containerStrategy', 'disabled', 'loading_state', 'locale', 'mouseEnterDelay', 'mouseLeaveDelay', 'okButtonProps', 'okText', 'overlayInnerStyle', 'overlayStyle', 'placement', 'style', 'title', 'trigger']
|
|
71
73
|
self.available_wildcard_properties = []
|
|
72
74
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
73
75
|
_locals = locals()
|
|
@@ -15,7 +15,7 @@ Keyword arguments:
|
|
|
15
15
|
|
|
16
16
|
- className (string; optional)
|
|
17
17
|
|
|
18
|
-
- defaultValue (string; optional)
|
|
18
|
+
- defaultValue (string | number; optional)
|
|
19
19
|
|
|
20
20
|
- direction (a value equal to: 'horizontal', 'vertical'; default 'horizontal')
|
|
21
21
|
|
|
@@ -42,9 +42,9 @@ Keyword arguments:
|
|
|
42
42
|
|
|
43
43
|
- disabled (boolean; optional)
|
|
44
44
|
|
|
45
|
-
- label (string;
|
|
45
|
+
- label (string; optional)
|
|
46
46
|
|
|
47
|
-
- value (string;
|
|
47
|
+
- value (string | number; optional)
|
|
48
48
|
|
|
49
49
|
- persisted_props (list of a value equal to: 'value's; default ['value']):
|
|
50
50
|
Properties whose user interactions will persist after refreshing
|
|
@@ -3,16 +3,20 @@
|
|
|
3
3
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
class
|
|
7
|
-
"""An
|
|
6
|
+
class AntdSegmented(Component):
|
|
7
|
+
"""An AntdSegmented component.
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Keyword arguments:
|
|
11
11
|
|
|
12
12
|
- id (string; optional)
|
|
13
13
|
|
|
14
|
+
- block (boolean; optional)
|
|
15
|
+
|
|
14
16
|
- className (string; optional)
|
|
15
17
|
|
|
18
|
+
- defaultValue (string | number; optional)
|
|
19
|
+
|
|
16
20
|
- disabled (boolean; optional)
|
|
17
21
|
|
|
18
22
|
- loading_state (dict; optional)
|
|
@@ -36,9 +40,9 @@ Keyword arguments:
|
|
|
36
40
|
|
|
37
41
|
- label (string; optional)
|
|
38
42
|
|
|
39
|
-
- value (string; optional)
|
|
43
|
+
- value (string | number; optional)
|
|
40
44
|
|
|
41
|
-
- persisted_props (list of a value equal to: 'value's;
|
|
45
|
+
- persisted_props (list of a value equal to: 'value's; optional):
|
|
42
46
|
Properties whose user interactions will persist after refreshing
|
|
43
47
|
the component or the page. Since only `value` is allowed this
|
|
44
48
|
prop can normally be ignored.
|
|
@@ -51,22 +55,24 @@ Keyword arguments:
|
|
|
51
55
|
change, as long as the new `value` also matches what was given
|
|
52
56
|
originally. Used in conjunction with `persistence_type`.
|
|
53
57
|
|
|
54
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory';
|
|
58
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; optional):
|
|
55
59
|
Where persisted user changes will be stored: memory: only kept in
|
|
56
60
|
memory, reset on page refresh. local: window.localStorage, data
|
|
57
61
|
is kept after the browser quit. session: window.sessionStorage,
|
|
58
62
|
data is cleared once the browser quit.
|
|
59
63
|
|
|
64
|
+
- size (a value equal to: 'large', 'middle', 'small'; optional)
|
|
65
|
+
|
|
60
66
|
- style (dict; optional)
|
|
61
67
|
|
|
62
|
-
- value (
|
|
68
|
+
- value (string | number; optional)"""
|
|
63
69
|
@_explicitize_args
|
|
64
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED,
|
|
65
|
-
self._prop_names = ['id', 'className', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'style', 'value']
|
|
66
|
-
self._type = '
|
|
70
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, options=Component.UNDEFINED, value=Component.UNDEFINED, defaultValue=Component.UNDEFINED, block=Component.UNDEFINED, disabled=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
71
|
+
self._prop_names = ['id', 'block', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
72
|
+
self._type = 'AntdSegmented'
|
|
67
73
|
self._namespace = 'feffery_antd_components'
|
|
68
74
|
self._valid_wildcard_attributes = []
|
|
69
|
-
self.available_properties = ['id', 'className', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'style', 'value']
|
|
75
|
+
self.available_properties = ['id', 'block', 'className', 'defaultValue', 'disabled', 'loading_state', 'options', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'value']
|
|
70
76
|
self.available_wildcard_properties = []
|
|
71
77
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
72
78
|
_locals = locals()
|
|
@@ -76,4 +82,4 @@ Keyword arguments:
|
|
|
76
82
|
if k not in args:
|
|
77
83
|
raise TypeError(
|
|
78
84
|
'Required argument `' + k + '` was not specified.')
|
|
79
|
-
super(
|
|
85
|
+
super(AntdSegmented, self).__init__(**args)
|
|
@@ -19,6 +19,8 @@ Keyword arguments:
|
|
|
19
19
|
|
|
20
20
|
- disabled (boolean; optional)
|
|
21
21
|
|
|
22
|
+
- loading (boolean; optional)
|
|
23
|
+
|
|
22
24
|
- loading_state (dict; optional)
|
|
23
25
|
|
|
24
26
|
`loading_state` is a dict with keys:
|
|
@@ -57,12 +59,12 @@ Keyword arguments:
|
|
|
57
59
|
|
|
58
60
|
- unCheckedChildren (string; optional)"""
|
|
59
61
|
@_explicitize_args
|
|
60
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, disabled=Component.UNDEFINED, checked=Component.UNDEFINED, checkedChildren=Component.UNDEFINED, unCheckedChildren=Component.UNDEFINED, size=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
61
|
-
self._prop_names = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
|
|
62
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, disabled=Component.UNDEFINED, checked=Component.UNDEFINED, checkedChildren=Component.UNDEFINED, unCheckedChildren=Component.UNDEFINED, size=Component.UNDEFINED, loading=Component.UNDEFINED, loading_state=Component.UNDEFINED, persistence=Component.UNDEFINED, persisted_props=Component.UNDEFINED, persistence_type=Component.UNDEFINED, **kwargs):
|
|
63
|
+
self._prop_names = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
|
|
62
64
|
self._type = 'AntdSwitch'
|
|
63
65
|
self._namespace = 'feffery_antd_components'
|
|
64
66
|
self._valid_wildcard_attributes = []
|
|
65
|
-
self.available_properties = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
|
|
67
|
+
self.available_properties = ['id', 'checked', 'checkedChildren', 'className', 'disabled', 'loading', 'loading_state', 'persisted_props', 'persistence', 'persistence_type', 'size', 'style', 'unCheckedChildren']
|
|
66
68
|
self.available_wildcard_properties = []
|
|
67
69
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
68
70
|
_locals = locals()
|
|
@@ -23,8 +23,6 @@ Keyword arguments:
|
|
|
23
23
|
|
|
24
24
|
- align (a value equal to: 'left', 'center', 'right'; optional)
|
|
25
25
|
|
|
26
|
-
- conditionStyle (string; optional)
|
|
27
|
-
|
|
28
26
|
- dataIndex (string; required)
|
|
29
27
|
|
|
30
28
|
- editable (boolean; optional)
|
|
@@ -53,7 +51,7 @@ Keyword arguments:
|
|
|
53
51
|
|
|
54
52
|
- renderLinkText (string; optional)
|
|
55
53
|
|
|
56
|
-
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image'; optional)
|
|
54
|
+
- renderType (a value equal to: 'link', 'ellipsis', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'tags', 'button', 'copyable', 'status-badge', 'image', 'custom-format'; optional)
|
|
57
55
|
|
|
58
56
|
- sorter (boolean | number | string | dict | list; optional)
|
|
59
57
|
|
|
@@ -72,10 +70,14 @@ Keyword arguments:
|
|
|
72
70
|
|
|
73
71
|
- rule (string; optional)
|
|
74
72
|
|
|
73
|
+
- conditionalStyleFuncs (dict with strings as keys and values of type string; optional)
|
|
74
|
+
|
|
75
75
|
- containerId (string; optional)
|
|
76
76
|
|
|
77
77
|
- currentData (list; optional)
|
|
78
78
|
|
|
79
|
+
- customFormatFuncs (dict with strings as keys and values of type string; optional)
|
|
80
|
+
|
|
79
81
|
- data (list of dicts; optional)
|
|
80
82
|
|
|
81
83
|
`data` is a list of dicts with strings as keys and values of type
|
|
@@ -129,6 +131,17 @@ Keyword arguments:
|
|
|
129
131
|
|
|
130
132
|
- filterOptions (dict; optional)
|
|
131
133
|
|
|
134
|
+
`filterOptions` is a dict with strings as keys and values of type
|
|
135
|
+
dict with keys:
|
|
136
|
+
|
|
137
|
+
- filterCustomItems (list | boolean | number | string | dict | list; optional)
|
|
138
|
+
|
|
139
|
+
- filterMode (a value equal to: 'checkbox', 'keyword'; optional)
|
|
140
|
+
|
|
141
|
+
- filterMultiple (boolean; optional)
|
|
142
|
+
|
|
143
|
+
- filterSearch (boolean; optional)
|
|
144
|
+
|
|
132
145
|
- loading_state (dict; optional)
|
|
133
146
|
|
|
134
147
|
`loading_state` is a dict with keys:
|
|
@@ -212,7 +225,7 @@ Keyword arguments:
|
|
|
212
225
|
|
|
213
226
|
`sortOptions` is a dict with keys:
|
|
214
227
|
|
|
215
|
-
- multiple (boolean; optional)
|
|
228
|
+
- multiple (boolean | a value equal to: 'auto'; optional)
|
|
216
229
|
|
|
217
230
|
- sortDataIndexes (list of strings; optional)
|
|
218
231
|
|
|
@@ -246,12 +259,12 @@ Keyword arguments:
|
|
|
246
259
|
|
|
247
260
|
- titlePopoverInfo (dict; optional)"""
|
|
248
261
|
@_explicitize_args
|
|
249
|
-
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
250
|
-
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
262
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, locale=Component.UNDEFINED, containerId=Component.UNDEFINED, columns=Component.UNDEFINED, miniChartHeight=Component.UNDEFINED, miniChartAnimation=Component.UNDEFINED, size=Component.UNDEFINED, rowSelectionType=Component.UNDEFINED, selectedRowKeys=Component.UNDEFINED, rowSelectionWidth=Component.UNDEFINED, selectedRows=Component.UNDEFINED, sticky=Component.UNDEFINED, enableHoverListen=Component.UNDEFINED, recentlyMouseEnterColumn=Component.UNDEFINED, recentlyMouseEnterRow=Component.UNDEFINED, titlePopoverInfo=Component.UNDEFINED, columnsFormatConstraint=Component.UNDEFINED, data=Component.UNDEFINED, sortOptions=Component.UNDEFINED, filterOptions=Component.UNDEFINED, pagination=Component.UNDEFINED, bordered=Component.UNDEFINED, maxHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, currentData=Component.UNDEFINED, recentlyChangedRow=Component.UNDEFINED, recentlyButtonClickedRow=Component.UNDEFINED, nClicksButton=Component.UNDEFINED, clickedContent=Component.UNDEFINED, sorter=Component.UNDEFINED, filter=Component.UNDEFINED, mode=Component.UNDEFINED, summaryRowContents=Component.UNDEFINED, summaryRowFixed=Component.UNDEFINED, customFormatFuncs=Component.UNDEFINED, conditionalStyleFuncs=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
263
|
+
self._prop_names = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
251
264
|
self._type = 'AntdTable'
|
|
252
265
|
self._namespace = 'feffery_antd_components'
|
|
253
266
|
self._valid_wildcard_attributes = []
|
|
254
|
-
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'containerId', 'currentData', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
267
|
+
self.available_properties = ['id', 'bordered', 'className', 'clickedContent', 'columns', 'columnsFormatConstraint', 'conditionalStyleFuncs', 'containerId', 'currentData', 'customFormatFuncs', 'data', 'enableHoverListen', 'filter', 'filterOptions', 'loading_state', 'locale', 'maxHeight', 'maxWidth', 'miniChartAnimation', 'miniChartHeight', 'mode', 'nClicksButton', 'pagination', 'recentlyButtonClickedRow', 'recentlyChangedRow', 'recentlyMouseEnterColumn', 'recentlyMouseEnterRow', 'rowSelectionType', 'rowSelectionWidth', 'selectedRowKeys', 'selectedRows', 'size', 'sortOptions', 'sorter', 'sticky', 'style', 'summaryRowContents', 'summaryRowFixed', 'titlePopoverInfo']
|
|
255
268
|
self.available_wildcard_properties = []
|
|
256
269
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
257
270
|
_locals = locals()
|