feffery_antd_components 0.1.16 → 0.2.0-rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/DESCRIPTION +1 -1
- package/NAMESPACE +1 -0
- package/Project.toml +1 -1
- package/README-en_US.md +51 -0
- package/README.md +14 -5
- package/build/lib/feffery_antd_components/AntdAccordion.py +66 -0
- package/build/lib/feffery_antd_components/AntdAccordionItem.py +60 -0
- package/build/lib/feffery_antd_components/AntdAffix.py +58 -0
- package/build/lib/feffery_antd_components/AntdAlert.py +64 -0
- package/build/lib/feffery_antd_components/AntdAnchor.py +64 -0
- package/build/lib/feffery_antd_components/AntdAvatar.py +83 -0
- package/build/lib/feffery_antd_components/AntdBackTop.py +56 -0
- package/build/lib/feffery_antd_components/AntdBadge.py +74 -0
- package/build/lib/feffery_antd_components/AntdBreadcrumb.py +78 -0
- package/build/lib/feffery_antd_components/AntdButton.py +76 -0
- package/build/lib/feffery_antd_components/AntdCalendar.py +79 -0
- package/build/lib/feffery_antd_components/AntdCard.py +90 -0
- package/build/lib/feffery_antd_components/AntdCardGrid.py +56 -0
- package/build/lib/feffery_antd_components/AntdCarousel.py +60 -0
- package/build/lib/feffery_antd_components/AntdCascader.py +103 -0
- package/build/lib/feffery_antd_components/AntdCheckCard.py +64 -0
- package/build/lib/feffery_antd_components/AntdCheckCardGroup.py +64 -0
- package/build/lib/feffery_antd_components/AntdCheckbox.py +75 -0
- package/build/lib/feffery_antd_components/AntdCheckboxGroup.py +83 -0
- package/build/lib/feffery_antd_components/AntdCol.py +150 -0
- package/build/lib/feffery_antd_components/AntdCollapse.py +85 -0
- package/build/lib/feffery_antd_components/AntdComment.py +90 -0
- package/build/lib/feffery_antd_components/AntdContent.py +54 -0
- package/build/lib/feffery_antd_components/AntdCopyText.py +58 -0
- package/build/lib/feffery_antd_components/AntdCountdown.py +76 -0
- package/build/lib/feffery_antd_components/AntdCustomSkeleton.py +64 -0
- package/build/lib/feffery_antd_components/AntdDatePicker.py +107 -0
- package/build/lib/feffery_antd_components/AntdDateRangePicker.py +109 -0
- package/build/lib/feffery_antd_components/AntdDescriptionItem.py +62 -0
- package/build/lib/feffery_antd_components/AntdDescriptions.py +80 -0
- package/build/lib/feffery_antd_components/AntdDivider.py +66 -0
- package/build/lib/feffery_antd_components/AntdDraggerUpload.py +126 -0
- package/build/lib/feffery_antd_components/AntdDrawer.py +78 -0
- package/build/lib/feffery_antd_components/AntdDropdown.py +90 -0
- package/build/lib/feffery_antd_components/AntdEmpty.py +60 -0
- package/build/lib/feffery_antd_components/AntdFooter.py +54 -0
- package/build/lib/feffery_antd_components/AntdForm.py +76 -0
- package/build/lib/feffery_antd_components/AntdFormItem.py +88 -0
- package/build/lib/feffery_antd_components/AntdHeader.py +54 -0
- package/build/lib/feffery_antd_components/AntdIcon.py +56 -0
- package/build/lib/feffery_antd_components/AntdImage.py +66 -0
- package/build/lib/feffery_antd_components/AntdInput.py +121 -0
- package/build/lib/feffery_antd_components/AntdInputNumber.py +109 -0
- package/build/lib/feffery_antd_components/AntdLayout.py +54 -0
- package/build/lib/feffery_antd_components/AntdMentions.py +80 -0
- package/build/lib/feffery_antd_components/AntdMenu.py +85 -0
- package/build/lib/feffery_antd_components/AntdMessage.py +60 -0
- package/build/lib/feffery_antd_components/AntdModal.py +94 -0
- package/build/lib/feffery_antd_components/AntdNotification.py +64 -0
- package/build/lib/feffery_antd_components/AntdPageHeader.py +66 -0
- package/build/lib/feffery_antd_components/AntdPagination.py +99 -0
- package/build/lib/feffery_antd_components/AntdParagraph.py +74 -0
- package/build/lib/feffery_antd_components/AntdPasteImage.py +56 -0
- package/build/lib/feffery_antd_components/AntdPictureUpload.py +148 -0
- package/build/lib/feffery_antd_components/AntdPopconfirm.py +86 -0
- package/build/lib/feffery_antd_components/AntdPopover.py +78 -0
- package/build/lib/feffery_antd_components/AntdPopupCard.py +72 -0
- package/build/lib/feffery_antd_components/AntdProgress.py +92 -0
- package/{feffery_antd_components → build/lib/feffery_antd_components}/AntdRadio.py +0 -0
- package/build/lib/feffery_antd_components/AntdRadioGroup.py +93 -0
- package/build/lib/feffery_antd_components/AntdRate.py +64 -0
- package/build/lib/feffery_antd_components/AntdResult.py +58 -0
- package/build/lib/feffery_antd_components/AntdRibbon.py +58 -0
- package/build/lib/feffery_antd_components/AntdRow.py +76 -0
- package/build/lib/feffery_antd_components/AntdSegmented.py +91 -0
- package/build/lib/feffery_antd_components/AntdSegmentedColoring.py +86 -0
- package/build/lib/feffery_antd_components/AntdSelect.py +127 -0
- package/build/lib/feffery_antd_components/AntdSider.py +72 -0
- package/build/lib/feffery_antd_components/AntdSkeleton.py +90 -0
- package/build/lib/feffery_antd_components/AntdSkeletonAvatar.py +50 -0
- package/build/lib/feffery_antd_components/AntdSkeletonButton.py +52 -0
- package/build/lib/feffery_antd_components/AntdSkeletonImage.py +44 -0
- package/build/lib/feffery_antd_components/AntdSkeletonInput.py +48 -0
- package/build/lib/feffery_antd_components/AntdSlider.py +74 -0
- package/build/lib/feffery_antd_components/AntdSpace.py +64 -0
- package/build/lib/feffery_antd_components/AntdSpin.py +72 -0
- package/build/lib/feffery_antd_components/AntdStatistic.py +78 -0
- package/build/lib/feffery_antd_components/AntdSteps.py +76 -0
- package/build/lib/feffery_antd_components/AntdSwitch.py +81 -0
- package/build/lib/feffery_antd_components/AntdTabPane.py +68 -0
- package/build/lib/feffery_antd_components/AntdTable.py +361 -0
- package/build/lib/feffery_antd_components/AntdTabs.py +97 -0
- package/build/lib/feffery_antd_components/AntdTag.py +58 -0
- package/{feffery_antd_components → build/lib/feffery_antd_components}/AntdTestLink.py +0 -0
- package/build/lib/feffery_antd_components/AntdText.py +76 -0
- package/build/lib/feffery_antd_components/AntdTimePicker.py +99 -0
- package/build/lib/feffery_antd_components/AntdTimeRangePicker.py +99 -0
- package/build/lib/feffery_antd_components/AntdTimeline.py +72 -0
- package/build/lib/feffery_antd_components/AntdTitle.py +78 -0
- package/build/lib/feffery_antd_components/AntdTooltip.py +68 -0
- package/build/lib/feffery_antd_components/AntdTransfer.py +103 -0
- package/build/lib/feffery_antd_components/AntdTree.py +109 -0
- package/build/lib/feffery_antd_components/AntdTreeSelect.py +115 -0
- package/{feffery_antd_components → build/lib/feffery_antd_components}/AntdTypography.py +0 -0
- package/build/lib/feffery_antd_components/AntdUpload.py +124 -0
- package/build/lib/feffery_antd_components/AntdWatermark.py +68 -0
- package/{feffery_antd_components → build/lib/feffery_antd_components}/Link.py +0 -0
- package/build/lib/feffery_antd_components/__init__.py +53 -0
- package/build/lib/feffery_antd_components/_imports_.py +189 -0
- package/build/lib/feffery_antd_components/feffery_antd_components.min.js +1 -0
- package/build/lib/feffery_antd_components/metadata.json +19958 -0
- package/build/lib/feffery_antd_components/package-info.json +89 -0
- package/feffery_antd_components/AntdAlert.py +1 -1
- package/feffery_antd_components/AntdAnchor.py +1 -1
- package/feffery_antd_components/AntdAvatar.py +1 -1
- package/feffery_antd_components/AntdBackTop.py +1 -1
- package/feffery_antd_components/AntdButton.py +10 -6
- package/feffery_antd_components/AntdCarousel.py +1 -1
- package/feffery_antd_components/AntdCascader.py +9 -5
- package/feffery_antd_components/AntdCol.py +1 -1
- package/feffery_antd_components/AntdContent.py +1 -1
- package/feffery_antd_components/AntdCustomSkeleton.py +1 -1
- package/feffery_antd_components/AntdDraggerUpload.py +1 -1
- package/feffery_antd_components/AntdDrawer.py +1 -1
- package/feffery_antd_components/AntdFooter.py +1 -1
- package/feffery_antd_components/AntdHeader.py +1 -1
- package/feffery_antd_components/AntdIcon.py +8 -4
- package/feffery_antd_components/AntdImage.py +1 -1
- package/feffery_antd_components/AntdInput.py +16 -8
- package/feffery_antd_components/AntdInputNumber.py +11 -7
- package/feffery_antd_components/AntdLayout.py +1 -1
- package/feffery_antd_components/AntdModal.py +10 -4
- package/feffery_antd_components/AntdParagraph.py +1 -1
- package/feffery_antd_components/AntdPasteImage.py +1 -1
- package/feffery_antd_components/AntdPopupCard.py +72 -0
- package/feffery_antd_components/AntdRibbon.py +3 -3
- package/feffery_antd_components/AntdRow.py +1 -1
- package/feffery_antd_components/AntdSegmented.py +5 -3
- package/feffery_antd_components/AntdSegmentedColoring.py +7 -3
- package/feffery_antd_components/AntdSider.py +1 -1
- package/feffery_antd_components/AntdSkeleton.py +1 -1
- package/feffery_antd_components/AntdSpace.py +1 -1
- package/feffery_antd_components/AntdSpin.py +2 -2
- package/feffery_antd_components/AntdStatistic.py +1 -1
- package/feffery_antd_components/AntdTabPane.py +1 -1
- package/feffery_antd_components/AntdTable.py +55 -7
- package/feffery_antd_components/AntdTag.py +1 -1
- package/feffery_antd_components/AntdText.py +1 -1
- package/feffery_antd_components/AntdTitle.py +1 -1
- package/feffery_antd_components/AntdTree.py +6 -4
- package/feffery_antd_components/AntdTreeSelect.py +8 -6
- package/feffery_antd_components/_imports_.py +2 -0
- package/feffery_antd_components/feffery_antd_components.min.js +1 -1
- package/feffery_antd_components/metadata.json +1042 -93
- package/feffery_antd_components/package-info.json +6 -2
- package/git-operations.md +0 -1
- package/images//345/233/275/351/231/205/345/214/226/347/244/272/344/276/213.png +0 -0
- package/package.json +6 -2
- package/setup.py +0 -1
- package/src/FefferyAntdComponents.jl +4 -3
- package/src/jl/'feffery'_antdalert.jl +1 -1
- package/src/jl/'feffery'_antdanchor.jl +1 -1
- package/src/jl/'feffery'_antdavatar.jl +1 -1
- package/src/jl/'feffery'_antdbacktop.jl +1 -1
- package/src/jl/'feffery'_antdbutton.jl +4 -2
- package/src/jl/'feffery'_antdcarousel.jl +1 -1
- package/src/jl/'feffery'_antdcascader.jl +4 -2
- package/src/jl/'feffery'_antdcol.jl +1 -1
- package/src/jl/'feffery'_antdcontent.jl +1 -1
- package/src/jl/'feffery'_antdcustomskeleton.jl +1 -1
- package/src/jl/'feffery'_antddraggerupload.jl +1 -1
- package/src/jl/'feffery'_antddrawer.jl +1 -1
- package/src/jl/'feffery'_antdfooter.jl +1 -1
- package/src/jl/'feffery'_antdheader.jl +1 -1
- package/src/jl/'feffery'_antdicon.jl +4 -2
- package/src/jl/'feffery'_antdimage.jl +1 -1
- package/src/jl/'feffery'_antdinput.jl +8 -4
- package/src/jl/'feffery'_antdinputnumber.jl +5 -3
- package/src/jl/'feffery'_antdlayout.jl +1 -1
- package/src/jl/'feffery'_antdmodal.jl +5 -2
- package/src/jl/'feffery'_antdparagraph.jl +1 -1
- package/src/jl/'feffery'_antdpasteimage.jl +1 -1
- package/src/jl/'feffery'_antdpopupcard.jl +43 -0
- package/src/jl/'feffery'_antdribbon.jl +1 -1
- package/src/jl/'feffery'_antdrow.jl +1 -1
- package/src/jl/'feffery'_antdsegmented.jl +5 -4
- package/src/jl/'feffery'_antdsegmentedcoloring.jl +3 -1
- package/src/jl/'feffery'_antdsider.jl +1 -1
- package/src/jl/'feffery'_antdskeleton.jl +1 -1
- package/src/jl/'feffery'_antdspace.jl +1 -1
- package/src/jl/'feffery'_antdspin.jl +2 -2
- package/src/jl/'feffery'_antdstatistic.jl +1 -1
- package/src/jl/'feffery'_antdtable.jl +31 -4
- package/src/jl/'feffery'_antdtabpane.jl +1 -1
- package/src/jl/'feffery'_antdtag.jl +1 -1
- package/src/jl/'feffery'_antdtext.jl +1 -1
- package/src/jl/'feffery'_antdtitle.jl +1 -1
- package/src/jl/'feffery'_antdtree.jl +3 -2
- package/src/jl/'feffery'_antdtreeselect.jl +3 -2
- package/src/lib/components/AntdAlert.react.js +64 -50
- package/src/lib/components/AntdAnchor.react.js +79 -70
- package/src/lib/components/AntdAvatar.react.js +92 -76
- package/src/lib/components/AntdBackTop.react.js +37 -28
- package/src/lib/components/AntdButton.react.js +82 -54
- package/src/lib/components/AntdCarousel.react.js +43 -34
- package/src/lib/components/AntdCascader.react.js +128 -82
- package/src/lib/components/AntdCheckboxGroup.react.js +2 -0
- package/src/lib/components/AntdDrawer.react.js +68 -59
- package/src/lib/components/AntdIcon.react.js +70 -37
- package/src/lib/components/AntdImage.react.js +16 -3
- package/src/lib/components/AntdInput.react.js +212 -175
- package/src/lib/components/AntdInputNumber.react.js +12 -2
- package/src/lib/components/AntdModal.react.js +22 -1
- package/src/lib/components/AntdPasteImage.react.js +11 -2
- package/src/lib/components/AntdPopupCard.react.js +241 -0
- package/src/lib/components/AntdRibbon.react.js +1 -1
- package/src/lib/components/AntdSegmented.react.js +19 -4
- package/src/lib/components/AntdSegmentedColoring.react.js +107 -82
- package/src/lib/components/AntdSelect.react.js +5 -0
- package/src/lib/components/AntdSpace.react.js +63 -46
- package/src/lib/components/AntdSpin.react.js +21 -6
- package/src/lib/components/AntdStatistic.react.js +68 -59
- package/src/lib/components/AntdTable.react.js +252 -18
- package/src/lib/components/AntdTag.react.js +38 -28
- package/src/lib/components/AntdTree.react.js +182 -136
- package/src/lib/components/AntdTreeSelect.react.js +144 -101
- package/src/lib/components/grid/AntdCol.react.js +61 -52
- package/src/lib/components/grid/AntdRow.react.js +46 -37
- package/src/lib/components/layout/AntdContent.react.js +35 -26
- package/src/lib/components/layout/AntdFooter.react.js +36 -27
- package/src/lib/components/layout/AntdHeader.react.js +35 -26
- package/src/lib/components/layout/AntdLayout.react.js +35 -26
- package/src/lib/components/layout/AntdSider.react.js +61 -52
- package/src/lib/components/skeleton/AntdCustomSkeleton.react.js +11 -3
- package/src/lib/components/skeleton/AntdSkeleton.react.js +11 -2
- package/src/lib/components/styles.css +4 -0
- package/src/lib/components/tabs/AntdTabPane.react.js +46 -37
- package/src/lib/components/typography/AntdParagraph.react.js +59 -50
- package/src/lib/components/typography/AntdText.react.js +61 -52
- package/src/lib/components/typography/AntdTitle.react.js +63 -54
- package/src/lib/components/upload/AntdDraggerUpload.react.js +11 -2
- package/src/lib/components/utils.js +17 -2
- package/src/lib/index.js +24 -1
- package/tests/DebounceTest/app.py +89 -0
- package/tests/SegmentedColoringTest/app.py +106 -0
- package/tests/TableCellClickTest/app.py +67 -0
- package/tests/TableCellRowMergeTest/app.py +88 -0
- package/tests/TableEmptyContentTest/app.py +37 -0
- package/tests/TableMiniChartAdvanceTest/app.py +85 -0
- package/tests/TreeNodeStyleTest/app.py +73 -0
- package/tests/TreeTest/app.py +96 -0
- package/tests/VirtualClassNameTest/app.py +49 -0
- package/usage.py +11 -82
- package/webpack.config.js +45 -11
- package/tests/UploadTest/app.py +0 -70
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -39,6 +39,7 @@ export('feffery'AntdPagination)
|
|
|
39
39
|
export('feffery'AntdPasteImage)
|
|
40
40
|
export('feffery'AntdPopconfirm)
|
|
41
41
|
export('feffery'AntdPopover)
|
|
42
|
+
export('feffery'AntdPopupCard)
|
|
42
43
|
export('feffery'AntdProgress)
|
|
43
44
|
export('feffery'AntdRadioGroup)
|
|
44
45
|
export('feffery'AntdRate)
|
package/Project.toml
CHANGED
package/README-en_US.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img src="./fac-logo.svg" height=300></img>
|
|
3
|
+
</p>
|
|
4
|
+
<h1 align="center">feffery-antd-components</h1>
|
|
5
|
+
<div align="center">
|
|
6
|
+
|
|
7
|
+
[](https://github.com/plotly/dash/blob/master/LICENSE)
|
|
8
|
+
[](https://pypi.org/project/feffery-antd-components/)
|
|
9
|
+
[](https://pepy.tech/project/feffery-antd-components)
|
|
10
|
+
[](https://pepy.tech/project/feffery-antd-components)
|
|
11
|
+
[](https://pepy.tech/project/feffery-antd-components)
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
[简体中文](./README.md) | English
|
|
16
|
+
|
|
17
|
+
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 version: `0.1.16`
|
|
18
|
+
|
|
19
|
+
## 1 Install
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
pip install feffery-antd-components -U
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 2 Install from GitHub
|
|
26
|
+
|
|
27
|
+
```bash
|
|
28
|
+
|
|
29
|
+
pip install git+https://github.com/CNFeffery/feffery-antd-components.git
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## 3 Use CDN
|
|
33
|
+
|
|
34
|
+
```Python
|
|
35
|
+
# just set serve_locally=False in dash.Dash()
|
|
36
|
+
app = dash.Dash(serve_locally=False)
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## 4 Documentation
|
|
40
|
+
|
|
41
|
+
<a href='http://fac.feffery.tech/' target='_blank'>fac.feffery.tech</a>
|
|
42
|
+
|
|
43
|
+
## 5 Internationalization
|
|
44
|
+
|
|
45
|
+
The default language of `fac` is currently simplified Chinese. If you wish to use English, just set `locale='en-us'`, for example:
|
|
46
|
+
|
|
47
|
+
```Python
|
|
48
|
+
fac.AntdDatePicker(locale='en-us')
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
<img src="./images/国际化示例.png" height=350></img>
|
package/README.md
CHANGED
|
@@ -4,9 +4,6 @@
|
|
|
4
4
|
<h1 align="center">feffery-antd-components</h1>
|
|
5
5
|
<div align="center">
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
7
|
[](https://github.com/plotly/dash/blob/master/LICENSE)
|
|
11
8
|
[](https://pypi.org/project/feffery-antd-components/)
|
|
12
9
|
[](https://pepy.tech/project/feffery-antd-components)
|
|
@@ -15,7 +12,9 @@
|
|
|
15
12
|
|
|
16
13
|
</div>
|
|
17
14
|
|
|
18
|
-
|
|
15
|
+
简体中文 | [English](./README-en_US.md)
|
|
16
|
+
|
|
17
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新版本:`0.1.16`
|
|
19
18
|
|
|
20
19
|
## 1 最新版本安装方式
|
|
21
20
|
|
|
@@ -35,7 +34,7 @@ pip install git+https://github.com/CNFeffery/feffery-antd-components.git
|
|
|
35
34
|
pip install git+https://github.91chi.fun/https://github.com/CNFeffery/feffery-antd-components.git
|
|
36
35
|
```
|
|
37
36
|
|
|
38
|
-
## 3 静态资源CDN加速方法
|
|
37
|
+
## 3 静态资源 CDN 加速方法
|
|
39
38
|
|
|
40
39
|
```Python
|
|
41
40
|
# 非debug模式下对Dash()传入参数serve_locally=False会强制浏览器端从unpkg cdn加载各个依赖的
|
|
@@ -46,3 +45,13 @@ app = dash.Dash(serve_locally=False)
|
|
|
46
45
|
## 4 在线文档
|
|
47
46
|
|
|
48
47
|
<a href='http://fac.feffery.tech/' target='_blank'>文档地址</a>
|
|
48
|
+
|
|
49
|
+
## 5 国际化
|
|
50
|
+
|
|
51
|
+
`fac`中的部分组件具有自带的文案信息,通过参数`locale`可以进行国际化设置,默认为`'zh-cn'`即简体中文,你可以设置为`'en-us'`来使用英文文案,譬如:
|
|
52
|
+
|
|
53
|
+
```Python
|
|
54
|
+
fac.AntdDatePicker(locale='en-us')
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
<img src="./images/国际化示例.png" height=350></img>
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
- key (string; optional)
|
|
33
|
+
|
|
34
|
+
- loading_state (dict; optional)
|
|
35
|
+
|
|
36
|
+
`loading_state` is a dict with keys:
|
|
37
|
+
|
|
38
|
+
- component_name (string; optional):
|
|
39
|
+
Holds the name of the component that is loading.
|
|
40
|
+
|
|
41
|
+
- is_loading (boolean; optional):
|
|
42
|
+
Determines if the component is loading or not.
|
|
43
|
+
|
|
44
|
+
- prop_name (string; optional):
|
|
45
|
+
Holds which property is loading.
|
|
46
|
+
|
|
47
|
+
- style (dict; optional)"""
|
|
48
|
+
_children_props = []
|
|
49
|
+
_base_nodes = ['children']
|
|
50
|
+
_namespace = 'feffery_antd_components'
|
|
51
|
+
_type = 'AntdAccordion'
|
|
52
|
+
@_explicitize_args
|
|
53
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=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):
|
|
54
|
+
self._prop_names = ['children', 'id', 'accordion', 'activeKey', 'bordered', 'className', 'collapsible', 'defaultActiveKey', 'expandIconPosition', 'ghost', 'key', 'loading_state', 'style']
|
|
55
|
+
self._valid_wildcard_attributes = []
|
|
56
|
+
self.available_properties = ['children', 'id', 'accordion', 'activeKey', 'bordered', 'className', 'collapsible', 'defaultActiveKey', 'expandIconPosition', 'ghost', 'key', 'loading_state', 'style']
|
|
57
|
+
self.available_wildcard_properties = []
|
|
58
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
59
|
+
_locals = locals()
|
|
60
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
61
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
62
|
+
for k in []:
|
|
63
|
+
if k not in args:
|
|
64
|
+
raise TypeError(
|
|
65
|
+
'Required argument `' + k + '` was not specified.')
|
|
66
|
+
super(AntdAccordion, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAccordionItem(Component):
|
|
7
|
+
"""An AntdAccordionItem 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
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- collapsible (a value equal to: 'header', 'disabled'; optional)
|
|
19
|
+
|
|
20
|
+
- forceRender (boolean; optional)
|
|
21
|
+
|
|
22
|
+
- key (string | number; required)
|
|
23
|
+
|
|
24
|
+
- loading_state (dict; optional)
|
|
25
|
+
|
|
26
|
+
`loading_state` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- component_name (string; optional):
|
|
29
|
+
Holds the name of the component that is loading.
|
|
30
|
+
|
|
31
|
+
- is_loading (boolean; optional):
|
|
32
|
+
Determines if the component is loading or not.
|
|
33
|
+
|
|
34
|
+
- prop_name (string; optional):
|
|
35
|
+
Holds which property is loading.
|
|
36
|
+
|
|
37
|
+
- showArrow (boolean; optional)
|
|
38
|
+
|
|
39
|
+
- style (dict; optional)
|
|
40
|
+
|
|
41
|
+
- title (string; default '')"""
|
|
42
|
+
_children_props = []
|
|
43
|
+
_base_nodes = ['children']
|
|
44
|
+
_namespace = 'feffery_antd_components'
|
|
45
|
+
_type = 'AntdAccordionItem'
|
|
46
|
+
@_explicitize_args
|
|
47
|
+
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, forceRender=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
48
|
+
self._prop_names = ['children', 'id', 'className', 'collapsible', 'forceRender', 'key', 'loading_state', 'showArrow', 'style', 'title']
|
|
49
|
+
self._valid_wildcard_attributes = []
|
|
50
|
+
self.available_properties = ['children', 'id', 'className', 'collapsible', 'forceRender', 'key', 'loading_state', 'showArrow', 'style', 'title']
|
|
51
|
+
self.available_wildcard_properties = []
|
|
52
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
53
|
+
_locals = locals()
|
|
54
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
55
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
56
|
+
for k in ['key']:
|
|
57
|
+
if k not in args:
|
|
58
|
+
raise TypeError(
|
|
59
|
+
'Required argument `' + k + '` was not specified.')
|
|
60
|
+
super(AntdAccordionItem, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAffix(Component):
|
|
7
|
+
"""An AntdAffix 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
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- key (string; optional)
|
|
19
|
+
|
|
20
|
+
- loading_state (dict; optional)
|
|
21
|
+
|
|
22
|
+
`loading_state` is a dict with keys:
|
|
23
|
+
|
|
24
|
+
- component_name (string; optional):
|
|
25
|
+
Holds the name of the component that is loading.
|
|
26
|
+
|
|
27
|
+
- is_loading (boolean; optional):
|
|
28
|
+
Determines if the component is loading or not.
|
|
29
|
+
|
|
30
|
+
- prop_name (string; optional):
|
|
31
|
+
Holds which property is loading.
|
|
32
|
+
|
|
33
|
+
- offsetBottom (number; optional)
|
|
34
|
+
|
|
35
|
+
- offsetTop (number; optional)
|
|
36
|
+
|
|
37
|
+
- style (dict; optional)
|
|
38
|
+
|
|
39
|
+
- target (string; optional)"""
|
|
40
|
+
_children_props = []
|
|
41
|
+
_base_nodes = ['children']
|
|
42
|
+
_namespace = 'feffery_antd_components'
|
|
43
|
+
_type = 'AntdAffix'
|
|
44
|
+
@_explicitize_args
|
|
45
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, offsetBottom=Component.UNDEFINED, offsetTop=Component.UNDEFINED, target=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
46
|
+
self._prop_names = ['children', 'id', 'className', 'key', 'loading_state', 'offsetBottom', 'offsetTop', 'style', 'target']
|
|
47
|
+
self._valid_wildcard_attributes = []
|
|
48
|
+
self.available_properties = ['children', 'id', 'className', 'key', 'loading_state', 'offsetBottom', 'offsetTop', 'style', 'target']
|
|
49
|
+
self.available_wildcard_properties = []
|
|
50
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
51
|
+
_locals = locals()
|
|
52
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
53
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
54
|
+
for k in []:
|
|
55
|
+
if k not in args:
|
|
56
|
+
raise TypeError(
|
|
57
|
+
'Required argument `' + k + '` was not specified.')
|
|
58
|
+
super(AntdAffix, self).__init__(children=children, **args)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAlert(Component):
|
|
7
|
+
"""An AntdAlert component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- action (a list of or a singular dash component, string or number; optional)
|
|
15
|
+
|
|
16
|
+
- className (string | dict; optional)
|
|
17
|
+
|
|
18
|
+
- closable (boolean; default False)
|
|
19
|
+
|
|
20
|
+
- description (a list of or a singular dash component, string or number; optional)
|
|
21
|
+
|
|
22
|
+
- key (string; optional)
|
|
23
|
+
|
|
24
|
+
- loading_state (dict; optional)
|
|
25
|
+
|
|
26
|
+
`loading_state` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- component_name (string; optional):
|
|
29
|
+
Holds the name of the component that is loading.
|
|
30
|
+
|
|
31
|
+
- is_loading (boolean; optional):
|
|
32
|
+
Determines if the component is loading or not.
|
|
33
|
+
|
|
34
|
+
- prop_name (string; optional):
|
|
35
|
+
Holds which property is loading.
|
|
36
|
+
|
|
37
|
+
- message (a list of or a singular dash component, string or number; optional)
|
|
38
|
+
|
|
39
|
+
- messageRenderMode (a value equal to: 'default', 'loop-text', 'marquee'; default 'default')
|
|
40
|
+
|
|
41
|
+
- showIcon (boolean; optional)
|
|
42
|
+
|
|
43
|
+
- style (dict; optional)
|
|
44
|
+
|
|
45
|
+
- type (a value equal to: 'success', 'info', 'warning', 'error'; optional)"""
|
|
46
|
+
_children_props = ['description', 'message', 'action']
|
|
47
|
+
_base_nodes = ['description', 'message', 'action', 'children']
|
|
48
|
+
_namespace = 'feffery_antd_components'
|
|
49
|
+
_type = 'AntdAlert'
|
|
50
|
+
@_explicitize_args
|
|
51
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, description=Component.UNDEFINED, message=Component.UNDEFINED, type=Component.UNDEFINED, showIcon=Component.UNDEFINED, closable=Component.UNDEFINED, messageRenderMode=Component.UNDEFINED, action=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
52
|
+
self._prop_names = ['id', 'action', 'className', 'closable', 'description', 'key', 'loading_state', 'message', 'messageRenderMode', 'showIcon', 'style', 'type']
|
|
53
|
+
self._valid_wildcard_attributes = []
|
|
54
|
+
self.available_properties = ['id', 'action', 'className', 'closable', 'description', 'key', 'loading_state', 'message', 'messageRenderMode', 'showIcon', 'style', 'type']
|
|
55
|
+
self.available_wildcard_properties = []
|
|
56
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
|
+
_locals = locals()
|
|
58
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
59
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
60
|
+
for k in []:
|
|
61
|
+
if k not in args:
|
|
62
|
+
raise TypeError(
|
|
63
|
+
'Required argument `' + k + '` was not specified.')
|
|
64
|
+
super(AntdAlert, self).__init__(**args)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAnchor(Component):
|
|
7
|
+
"""An AntdAnchor component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- affix (boolean; optional)
|
|
15
|
+
|
|
16
|
+
- align (a value equal to: 'left', 'right'; default 'right')
|
|
17
|
+
|
|
18
|
+
- bounds (number; optional)
|
|
19
|
+
|
|
20
|
+
- className (string | dict; optional)
|
|
21
|
+
|
|
22
|
+
- containerId (string; optional)
|
|
23
|
+
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
26
|
+
- linkDict (optional)
|
|
27
|
+
|
|
28
|
+
- loading_state (dict; optional)
|
|
29
|
+
|
|
30
|
+
`loading_state` is a dict with keys:
|
|
31
|
+
|
|
32
|
+
- component_name (string; optional):
|
|
33
|
+
Holds the name of the component that is loading.
|
|
34
|
+
|
|
35
|
+
- is_loading (boolean; optional):
|
|
36
|
+
Determines if the component is loading or not.
|
|
37
|
+
|
|
38
|
+
- prop_name (string; optional):
|
|
39
|
+
Holds which property is loading.
|
|
40
|
+
|
|
41
|
+
- offsetTop (number; optional)
|
|
42
|
+
|
|
43
|
+
- style (dict; optional)
|
|
44
|
+
|
|
45
|
+
- targetOffset (number; optional)"""
|
|
46
|
+
_children_props = []
|
|
47
|
+
_base_nodes = ['children']
|
|
48
|
+
_namespace = 'feffery_antd_components'
|
|
49
|
+
_type = 'AntdAnchor'
|
|
50
|
+
@_explicitize_args
|
|
51
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, linkDict=Component.UNDEFINED, align=Component.UNDEFINED, containerId=Component.UNDEFINED, targetOffset=Component.UNDEFINED, affix=Component.UNDEFINED, bounds=Component.UNDEFINED, offsetTop=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
52
|
+
self._prop_names = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'key', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
53
|
+
self._valid_wildcard_attributes = []
|
|
54
|
+
self.available_properties = ['id', 'affix', 'align', 'bounds', 'className', 'containerId', 'key', 'linkDict', 'loading_state', 'offsetTop', 'style', 'targetOffset']
|
|
55
|
+
self.available_wildcard_properties = []
|
|
56
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
57
|
+
_locals = locals()
|
|
58
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
59
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
60
|
+
for k in []:
|
|
61
|
+
if k not in args:
|
|
62
|
+
raise TypeError(
|
|
63
|
+
'Required argument `' + k + '` was not specified.')
|
|
64
|
+
super(AntdAnchor, self).__init__(**args)
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdAvatar(Component):
|
|
7
|
+
"""An AntdAvatar component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- alt (string; optional)
|
|
15
|
+
|
|
16
|
+
- className (string | dict; optional)
|
|
17
|
+
|
|
18
|
+
- gap (number; optional)
|
|
19
|
+
|
|
20
|
+
- icon (string; optional)
|
|
21
|
+
|
|
22
|
+
- key (string; optional)
|
|
23
|
+
|
|
24
|
+
- loading_state (dict; optional)
|
|
25
|
+
|
|
26
|
+
`loading_state` is a dict with keys:
|
|
27
|
+
|
|
28
|
+
- component_name (string; optional):
|
|
29
|
+
Holds the name of the component that is loading.
|
|
30
|
+
|
|
31
|
+
- is_loading (boolean; optional):
|
|
32
|
+
Determines if the component is loading or not.
|
|
33
|
+
|
|
34
|
+
- prop_name (string; optional):
|
|
35
|
+
Holds which property is loading.
|
|
36
|
+
|
|
37
|
+
- mode (a value equal to: 'text', 'icon', 'image'; default 'icon')
|
|
38
|
+
|
|
39
|
+
- shape (a value equal to: 'circle', 'square'; optional)
|
|
40
|
+
|
|
41
|
+
- size (dict; optional)
|
|
42
|
+
|
|
43
|
+
`size` is a number | a value equal to: 'large', 'small', 'default'
|
|
44
|
+
| dict with keys:
|
|
45
|
+
|
|
46
|
+
- lg (number; optional)
|
|
47
|
+
|
|
48
|
+
- md (number; optional)
|
|
49
|
+
|
|
50
|
+
- sm (number; optional)
|
|
51
|
+
|
|
52
|
+
- xl (number; optional)
|
|
53
|
+
|
|
54
|
+
- xs (number; optional)
|
|
55
|
+
|
|
56
|
+
- xxl (number; optional)
|
|
57
|
+
|
|
58
|
+
- src (string; optional)
|
|
59
|
+
|
|
60
|
+
- srcSet (string; optional)
|
|
61
|
+
|
|
62
|
+
- style (dict; optional)
|
|
63
|
+
|
|
64
|
+
- text (string; optional)"""
|
|
65
|
+
_children_props = []
|
|
66
|
+
_base_nodes = ['children']
|
|
67
|
+
_namespace = 'feffery_antd_components'
|
|
68
|
+
_type = 'AntdAvatar'
|
|
69
|
+
@_explicitize_args
|
|
70
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, gap=Component.UNDEFINED, mode=Component.UNDEFINED, text=Component.UNDEFINED, icon=Component.UNDEFINED, alt=Component.UNDEFINED, src=Component.UNDEFINED, srcSet=Component.UNDEFINED, size=Component.UNDEFINED, shape=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
71
|
+
self._prop_names = ['id', 'alt', 'className', 'gap', 'icon', 'key', 'loading_state', 'mode', 'shape', 'size', 'src', 'srcSet', 'style', 'text']
|
|
72
|
+
self._valid_wildcard_attributes = []
|
|
73
|
+
self.available_properties = ['id', 'alt', 'className', 'gap', 'icon', 'key', 'loading_state', 'mode', 'shape', 'size', 'src', 'srcSet', 'style', 'text']
|
|
74
|
+
self.available_wildcard_properties = []
|
|
75
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
76
|
+
_locals = locals()
|
|
77
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
78
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
79
|
+
for k in []:
|
|
80
|
+
if k not in args:
|
|
81
|
+
raise TypeError(
|
|
82
|
+
'Required argument `' + k + '` was not specified.')
|
|
83
|
+
super(AntdAvatar, self).__init__(**args)
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdBackTop(Component):
|
|
7
|
+
"""An AntdBackTop component.
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Keyword arguments:
|
|
11
|
+
|
|
12
|
+
- id (string; optional)
|
|
13
|
+
|
|
14
|
+
- className (string | dict; optional)
|
|
15
|
+
|
|
16
|
+
- containerId (string; optional)
|
|
17
|
+
|
|
18
|
+
- duration (number; optional)
|
|
19
|
+
|
|
20
|
+
- key (string; optional)
|
|
21
|
+
|
|
22
|
+
- loading_state (dict; optional)
|
|
23
|
+
|
|
24
|
+
`loading_state` is a dict with keys:
|
|
25
|
+
|
|
26
|
+
- component_name (string; optional):
|
|
27
|
+
Holds the name of the component that is loading.
|
|
28
|
+
|
|
29
|
+
- is_loading (boolean; optional):
|
|
30
|
+
Determines if the component is loading or not.
|
|
31
|
+
|
|
32
|
+
- prop_name (string; optional):
|
|
33
|
+
Holds which property is loading.
|
|
34
|
+
|
|
35
|
+
- style (dict; optional)
|
|
36
|
+
|
|
37
|
+
- visibilityHeight (number; optional)"""
|
|
38
|
+
_children_props = []
|
|
39
|
+
_base_nodes = ['children']
|
|
40
|
+
_namespace = 'feffery_antd_components'
|
|
41
|
+
_type = 'AntdBackTop'
|
|
42
|
+
@_explicitize_args
|
|
43
|
+
def __init__(self, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, duration=Component.UNDEFINED, visibilityHeight=Component.UNDEFINED, containerId=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
44
|
+
self._prop_names = ['id', 'className', 'containerId', 'duration', 'key', 'loading_state', 'style', 'visibilityHeight']
|
|
45
|
+
self._valid_wildcard_attributes = []
|
|
46
|
+
self.available_properties = ['id', 'className', 'containerId', 'duration', 'key', 'loading_state', 'style', 'visibilityHeight']
|
|
47
|
+
self.available_wildcard_properties = []
|
|
48
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
49
|
+
_locals = locals()
|
|
50
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
51
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
52
|
+
for k in []:
|
|
53
|
+
if k not in args:
|
|
54
|
+
raise TypeError(
|
|
55
|
+
'Required argument `' + k + '` was not specified.')
|
|
56
|
+
super(AntdBackTop, self).__init__(**args)
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
+
|
|
3
|
+
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
class AntdBadge(Component):
|
|
7
|
+
"""An AntdBadge 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
|
+
- className (string; optional)
|
|
17
|
+
|
|
18
|
+
- color (string; optional)
|
|
19
|
+
|
|
20
|
+
- count (number; optional)
|
|
21
|
+
|
|
22
|
+
- dot (boolean; optional)
|
|
23
|
+
|
|
24
|
+
- key (string; optional)
|
|
25
|
+
|
|
26
|
+
- loading_state (dict; optional)
|
|
27
|
+
|
|
28
|
+
`loading_state` is a dict with keys:
|
|
29
|
+
|
|
30
|
+
- component_name (string; optional):
|
|
31
|
+
Holds the name of the component that is loading.
|
|
32
|
+
|
|
33
|
+
- is_loading (boolean; optional):
|
|
34
|
+
Determines if the component is loading or not.
|
|
35
|
+
|
|
36
|
+
- prop_name (string; optional):
|
|
37
|
+
Holds which property is loading.
|
|
38
|
+
|
|
39
|
+
- nClicks (number; default 0)
|
|
40
|
+
|
|
41
|
+
- offset (list of numbers; optional)
|
|
42
|
+
|
|
43
|
+
- overflowCount (number; optional)
|
|
44
|
+
|
|
45
|
+
- showZero (boolean; optional)
|
|
46
|
+
|
|
47
|
+
- size (a value equal to: 'default', 'small'; optional)
|
|
48
|
+
|
|
49
|
+
- status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional)
|
|
50
|
+
|
|
51
|
+
- style (dict; optional)
|
|
52
|
+
|
|
53
|
+
- text (string; optional)
|
|
54
|
+
|
|
55
|
+
- title (string; optional)"""
|
|
56
|
+
_children_props = []
|
|
57
|
+
_base_nodes = ['children']
|
|
58
|
+
_namespace = 'feffery_antd_components'
|
|
59
|
+
_type = 'AntdBadge'
|
|
60
|
+
@_explicitize_args
|
|
61
|
+
def __init__(self, children=None, id=Component.UNDEFINED, className=Component.UNDEFINED, style=Component.UNDEFINED, key=Component.UNDEFINED, color=Component.UNDEFINED, count=Component.UNDEFINED, dot=Component.UNDEFINED, offset=Component.UNDEFINED, overflowCount=Component.UNDEFINED, showZero=Component.UNDEFINED, status=Component.UNDEFINED, text=Component.UNDEFINED, title=Component.UNDEFINED, size=Component.UNDEFINED, nClicks=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
62
|
+
self._prop_names = ['children', 'id', 'className', 'color', 'count', 'dot', 'key', 'loading_state', 'nClicks', 'offset', 'overflowCount', 'showZero', 'size', 'status', 'style', 'text', 'title']
|
|
63
|
+
self._valid_wildcard_attributes = []
|
|
64
|
+
self.available_properties = ['children', 'id', 'className', 'color', 'count', 'dot', 'key', 'loading_state', 'nClicks', 'offset', 'overflowCount', 'showZero', 'size', 'status', 'style', 'text', 'title']
|
|
65
|
+
self.available_wildcard_properties = []
|
|
66
|
+
_explicit_args = kwargs.pop('_explicit_args')
|
|
67
|
+
_locals = locals()
|
|
68
|
+
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
69
|
+
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
70
|
+
for k in []:
|
|
71
|
+
if k not in args:
|
|
72
|
+
raise TypeError(
|
|
73
|
+
'Required argument `' + k + '` was not specified.')
|
|
74
|
+
super(AntdBadge, self).__init__(children=children, **args)
|