feffery_antd_components 0.3.15 → 0.4.0-rc5
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 +2 -2
- package/Project.toml +1 -1
- package/README-en_US.md +8 -1
- package/README.md +22 -1
- package/feffery_antd_components/AntdAccordion.py +71 -21
- package/feffery_antd_components/AntdAffix.py +38 -21
- package/feffery_antd_components/AntdAlert.py +39 -21
- package/feffery_antd_components/AntdAnchor.py +38 -21
- package/feffery_antd_components/AntdAvatar.py +53 -21
- package/feffery_antd_components/AntdAvatarGroup.py +81 -30
- package/feffery_antd_components/AntdBackTop.py +35 -21
- package/feffery_antd_components/AntdBadge.py +59 -21
- package/feffery_antd_components/AntdBreadcrumb.py +81 -23
- package/feffery_antd_components/AntdButton.py +70 -23
- package/feffery_antd_components/AntdCalendar.py +66 -24
- package/feffery_antd_components/AntdCard.py +134 -29
- package/feffery_antd_components/AntdCardGrid.py +33 -21
- package/feffery_antd_components/AntdCardMeta.py +33 -21
- package/feffery_antd_components/AntdCarousel.py +56 -23
- package/feffery_antd_components/AntdCascader.py +72 -26
- package/feffery_antd_components/AntdCenter.py +33 -21
- package/feffery_antd_components/AntdCheckCard.py +47 -22
- package/feffery_antd_components/AntdCheckCardGroup.py +48 -22
- package/feffery_antd_components/AntdCheckableTag.py +34 -21
- package/feffery_antd_components/AntdCheckbox.py +47 -22
- package/feffery_antd_components/AntdCheckboxGroup.py +53 -22
- package/feffery_antd_components/AntdCol.py +108 -21
- package/feffery_antd_components/AntdCollapse.py +60 -22
- package/feffery_antd_components/AntdColorPicker.py +67 -23
- package/feffery_antd_components/AntdComment.py +67 -7
- package/feffery_antd_components/AntdCompact.py +33 -21
- package/feffery_antd_components/AntdConfigProvider.py +54 -19
- package/feffery_antd_components/AntdContent.py +31 -21
- package/feffery_antd_components/AntdCopyText.py +38 -23
- package/feffery_antd_components/AntdCountdown.py +53 -21
- package/feffery_antd_components/AntdCustomSkeleton.py +39 -21
- package/feffery_antd_components/AntdDatePicker.py +117 -28
- package/feffery_antd_components/AntdDateRangePicker.py +117 -28
- package/feffery_antd_components/AntdDescriptionItem.py +72 -27
- package/feffery_antd_components/AntdDescriptions.py +132 -33
- package/feffery_antd_components/AntdDivider.py +42 -21
- package/feffery_antd_components/AntdDraggerUpload.py +133 -23
- package/feffery_antd_components/AntdDrawer.py +71 -21
- package/feffery_antd_components/AntdDropdown.py +87 -22
- package/feffery_antd_components/AntdEmpty.py +90 -25
- package/feffery_antd_components/AntdFlex.py +37 -21
- package/feffery_antd_components/AntdFloatButton.py +38 -21
- package/feffery_antd_components/AntdFloatButtonGroup.py +44 -20
- package/feffery_antd_components/AntdFooter.py +31 -21
- package/feffery_antd_components/AntdForm.py +58 -21
- package/feffery_antd_components/AntdFormItem.py +61 -21
- package/feffery_antd_components/AntdFormRender.py +266 -6
- package/feffery_antd_components/AntdHeader.py +31 -21
- package/feffery_antd_components/AntdIcon.py +35 -21
- package/feffery_antd_components/AntdImage.py +56 -23
- package/feffery_antd_components/AntdImageGroup.py +54 -23
- package/feffery_antd_components/AntdInput.py +103 -24
- package/feffery_antd_components/AntdInputNumber.py +65 -22
- package/feffery_antd_components/AntdLayout.py +31 -21
- package/feffery_antd_components/AntdMentions.py +69 -23
- package/feffery_antd_components/AntdMenu.py +59 -22
- package/feffery_antd_components/AntdMessage.py +37 -24
- package/feffery_antd_components/AntdModal.py +183 -30
- package/feffery_antd_components/AntdNotification.py +59 -22
- package/feffery_antd_components/AntdOTP.py +49 -24
- package/feffery_antd_components/AntdPageHeader.py +37 -21
- package/feffery_antd_components/AntdPagination.py +56 -24
- package/feffery_antd_components/AntdParagraph.py +53 -23
- package/feffery_antd_components/AntdPictureUpload.py +146 -23
- package/feffery_antd_components/AntdPopconfirm.py +129 -18
- package/feffery_antd_components/AntdPopover.py +83 -30
- package/feffery_antd_components/AntdPopupCard.py +114 -24
- package/feffery_antd_components/AntdProgress.py +95 -26
- package/feffery_antd_components/AntdQRCode.py +53 -23
- package/feffery_antd_components/AntdRadioGroup.py +59 -22
- package/feffery_antd_components/AntdRate.py +47 -20
- package/feffery_antd_components/AntdResult.py +35 -21
- package/feffery_antd_components/AntdRibbon.py +34 -21
- package/feffery_antd_components/AntdRow.py +46 -21
- package/feffery_antd_components/AntdSegmented.py +69 -11
- package/feffery_antd_components/AntdSegmentedColoring.py +62 -23
- package/feffery_antd_components/AntdSelect.py +99 -27
- package/feffery_antd_components/AntdSider.py +39 -21
- package/feffery_antd_components/AntdSkeleton.py +66 -21
- package/feffery_antd_components/AntdSkeletonAvatar.py +33 -21
- package/feffery_antd_components/AntdSkeletonButton.py +34 -21
- package/feffery_antd_components/AntdSkeletonImage.py +30 -21
- package/feffery_antd_components/AntdSkeletonInput.py +32 -21
- package/feffery_antd_components/AntdSlider.py +99 -27
- package/feffery_antd_components/AntdSpace.py +52 -21
- package/feffery_antd_components/AntdSpin.py +45 -22
- package/feffery_antd_components/AntdSplitter.py +59 -21
- package/feffery_antd_components/AntdSpoiler.py +42 -23
- package/feffery_antd_components/AntdStatistic.py +44 -5
- package/feffery_antd_components/AntdSteps.py +52 -21
- package/feffery_antd_components/AntdSwitch.py +58 -9
- package/feffery_antd_components/AntdTable.py +384 -26
- package/feffery_antd_components/AntdTabs.py +98 -22
- package/feffery_antd_components/AntdTag.py +38 -21
- package/feffery_antd_components/AntdText.py +51 -23
- package/feffery_antd_components/AntdTimePicker.py +79 -13
- package/feffery_antd_components/AntdTimeRangePicker.py +70 -28
- package/feffery_antd_components/AntdTimeline.py +45 -21
- package/feffery_antd_components/AntdTitle.py +45 -23
- package/feffery_antd_components/AntdTooltip.py +91 -16
- package/feffery_antd_components/AntdTour.py +101 -23
- package/feffery_antd_components/AntdTransfer.py +85 -11
- package/feffery_antd_components/AntdTree.py +99 -22
- package/feffery_antd_components/AntdTreeSelect.py +95 -14
- package/feffery_antd_components/AntdUpload.py +152 -9
- package/feffery_antd_components/AntdWatermark.py +47 -21
- package/feffery_antd_components/Fragment.py +30 -18
- package/feffery_antd_components/__init__.py +0 -3
- package/feffery_antd_components/_icons.py +12 -0
- package/feffery_antd_components/_imports_.py +1 -5
- package/feffery_antd_components/alias.py +0 -4
- package/feffery_antd_components/async-antd_table.js +2 -2
- package/feffery_antd_components/async-data_display.js +1 -1
- package/feffery_antd_components/async-data_entry.js +4 -4
- package/feffery_antd_components/async-upload.js +2 -2
- package/feffery_antd_components/feffery_antd_components.min.js +10 -14
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +4 -5
- package/images//345/205/254/344/274/227/345/217/267.png +0 -0
- package/images//347/237/245/350/257/206/346/230/237/347/220/203.jpg +0 -0
- package/package.json +4 -5
- package/setup.py +1 -1
- package/src/jl/'feffery'_antdaccordion.jl +1 -6
- package/src/jl/'feffery'_antdaffix.jl +2 -6
- package/src/jl/'feffery'_antdalert.jl +1 -6
- package/src/jl/'feffery'_antdanchor.jl +1 -6
- package/src/jl/'feffery'_antdavatar.jl +1 -6
- package/src/jl/'feffery'_antdavatargroup.jl +8 -9
- package/src/jl/'feffery'_antdbacktop.jl +1 -6
- package/src/jl/'feffery'_antdbadge.jl +1 -6
- package/src/jl/'feffery'_antdbreadcrumb.jl +8 -10
- package/src/jl/'feffery'_antdbutton.jl +2 -7
- package/src/jl/'feffery'_antdcalendar.jl +4 -7
- package/src/jl/'feffery'_antdcard.jl +19 -10
- package/src/jl/'feffery'_antdcardgrid.jl +1 -6
- package/src/jl/'feffery'_antdcardmeta.jl +1 -6
- package/src/jl/'feffery'_antdcarousel.jl +5 -8
- package/src/jl/'feffery'_antdcascader.jl +5 -8
- package/src/jl/'feffery'_antdcenter.jl +1 -6
- package/src/jl/'feffery'_antdcheckabletag.jl +1 -6
- package/src/jl/'feffery'_antdcheckbox.jl +3 -6
- package/src/jl/'feffery'_antdcheckboxgroup.jl +3 -6
- package/src/jl/'feffery'_antdcheckcard.jl +3 -6
- package/src/jl/'feffery'_antdcheckcardgroup.jl +3 -6
- package/src/jl/'feffery'_antdcol.jl +1 -6
- package/src/jl/'feffery'_antdcollapse.jl +1 -6
- package/src/jl/'feffery'_antdcolorpicker.jl +4 -7
- package/src/jl/'feffery'_antdcomment.jl +1 -1
- package/src/jl/'feffery'_antdcompact.jl +1 -6
- package/src/jl/'feffery'_antdconfigprovider.jl +2 -7
- package/src/jl/'feffery'_antdcontent.jl +1 -6
- package/src/jl/'feffery'_antdcopytext.jl +2 -7
- package/src/jl/'feffery'_antdcountdown.jl +4 -6
- package/src/jl/'feffery'_antdcustomskeleton.jl +1 -6
- package/src/jl/'feffery'_antddatepicker.jl +5 -8
- package/src/jl/'feffery'_antddaterangepicker.jl +5 -8
- package/src/jl/'feffery'_antddescriptionitem.jl +9 -8
- package/src/jl/'feffery'_antddescriptions.jl +18 -11
- package/src/jl/'feffery'_antddivider.jl +1 -6
- package/src/jl/'feffery'_antddraggerupload.jl +4 -7
- package/src/jl/'feffery'_antddrawer.jl +1 -6
- package/src/jl/'feffery'_antddropdown.jl +3 -7
- package/src/jl/'feffery'_antdempty.jl +14 -8
- package/src/jl/'feffery'_antdflex.jl +1 -6
- package/src/jl/'feffery'_antdfloatbutton.jl +1 -6
- package/src/jl/'feffery'_antdfloatbuttongroup.jl +4 -7
- package/src/jl/'feffery'_antdfooter.jl +1 -6
- package/src/jl/'feffery'_antdform.jl +1 -6
- package/src/jl/'feffery'_antdformitem.jl +1 -6
- package/src/jl/'feffery'_antdformrender.jl +1 -1
- package/src/jl/'feffery'_antdheader.jl +1 -6
- package/src/jl/'feffery'_antdicon.jl +1 -6
- package/src/jl/'feffery'_antdimage.jl +2 -7
- package/src/jl/'feffery'_antdimagegroup.jl +2 -7
- package/src/jl/'feffery'_antdinput.jl +4 -7
- package/src/jl/'feffery'_antdinputnumber.jl +4 -7
- package/src/jl/'feffery'_antdlayout.jl +1 -6
- package/src/jl/'feffery'_antdmentions.jl +4 -7
- package/src/jl/'feffery'_antdmenu.jl +1 -6
- package/src/jl/'feffery'_antdmessage.jl +1 -7
- package/src/jl/'feffery'_antdmodal.jl +27 -11
- package/src/jl/'feffery'_antdnotification.jl +7 -7
- package/src/jl/'feffery'_antdotp.jl +4 -7
- package/src/jl/'feffery'_antdpageheader.jl +1 -6
- package/src/jl/'feffery'_antdpagination.jl +2 -7
- package/src/jl/'feffery'_antdparagraph.jl +2 -7
- package/src/jl/'feffery'_antdpictureupload.jl +4 -7
- package/src/jl/'feffery'_antdpopconfirm.jl +10 -5
- package/src/jl/'feffery'_antdpopover.jl +9 -9
- package/src/jl/'feffery'_antdpopupcard.jl +17 -7
- package/src/jl/'feffery'_antdprogress.jl +6 -10
- package/src/jl/'feffery'_antdqrcode.jl +2 -7
- package/src/jl/'feffery'_antdradiogroup.jl +3 -6
- package/src/jl/'feffery'_antdrate.jl +3 -6
- package/src/jl/'feffery'_antdresult.jl +1 -6
- package/src/jl/'feffery'_antdribbon.jl +1 -6
- package/src/jl/'feffery'_antdrow.jl +1 -6
- package/src/jl/'feffery'_antdsegmented.jl +4 -2
- package/src/jl/'feffery'_antdsegmentedcoloring.jl +2 -7
- package/src/jl/'feffery'_antdselect.jl +5 -8
- package/src/jl/'feffery'_antdsider.jl +1 -6
- package/src/jl/'feffery'_antdskeleton.jl +1 -6
- package/src/jl/'feffery'_antdskeletonavatar.jl +1 -6
- package/src/jl/'feffery'_antdskeletonbutton.jl +1 -6
- package/src/jl/'feffery'_antdskeletonimage.jl +1 -6
- package/src/jl/'feffery'_antdskeletoninput.jl +1 -6
- package/src/jl/'feffery'_antdslider.jl +13 -11
- package/src/jl/'feffery'_antdspace.jl +1 -6
- package/src/jl/'feffery'_antdspin.jl +2 -7
- package/src/jl/'feffery'_antdsplitter.jl +3 -6
- package/src/jl/'feffery'_antdspoiler.jl +2 -7
- package/src/jl/'feffery'_antdsteps.jl +1 -6
- package/src/jl/'feffery'_antdswitch.jl +3 -1
- package/src/jl/'feffery'_antdtable.jl +5 -8
- package/src/jl/'feffery'_antdtabs.jl +1 -6
- package/src/jl/'feffery'_antdtag.jl +1 -6
- package/src/jl/'feffery'_antdtext.jl +2 -7
- package/src/jl/'feffery'_antdtimeline.jl +1 -6
- package/src/jl/'feffery'_antdtimepicker.jl +5 -3
- package/src/jl/'feffery'_antdtimerangepicker.jl +5 -8
- package/src/jl/'feffery'_antdtitle.jl +2 -7
- package/src/jl/'feffery'_antdtooltip.jl +9 -4
- package/src/jl/'feffery'_antdtour.jl +2 -7
- package/src/jl/'feffery'_antdtransfer.jl +4 -2
- package/src/jl/'feffery'_antdtree.jl +1 -6
- package/src/jl/'feffery'_antdtreeselect.jl +5 -4
- package/src/jl/'feffery'_antdupload.jl +4 -2
- package/src/jl/'feffery'_antdwatermark.jl +3 -6
- package/src/jl/'feffery'_fragment.jl +1 -6
- package/src/lib/components/dataDisplay/AntdAccordion.react.js +42 -28
- package/src/lib/components/dataDisplay/AntdAvatar.react.js +42 -25
- package/src/lib/components/dataDisplay/AntdAvatarGroup.react.js +50 -43
- package/src/lib/components/dataDisplay/AntdBadge.react.js +46 -26
- package/src/lib/components/dataDisplay/AntdCarousel.react.js +54 -35
- package/src/lib/components/dataDisplay/AntdCheckableTag.react.js +26 -22
- package/src/lib/components/dataDisplay/AntdCollapse.react.js +26 -51
- package/src/lib/components/dataDisplay/AntdComment.react.js +58 -18
- package/src/lib/components/dataDisplay/AntdCountdown.react.js +44 -22
- package/src/lib/components/dataDisplay/AntdEmpty.react.js +76 -30
- package/src/lib/components/dataDisplay/AntdImage.react.js +40 -26
- package/src/lib/components/dataDisplay/AntdImageGroup.react.js +38 -26
- package/src/lib/components/dataDisplay/AntdPopover.react.js +78 -48
- package/src/lib/components/dataDisplay/AntdQRCode.react.js +48 -34
- package/src/lib/components/dataDisplay/AntdRibbon.react.js +26 -22
- package/src/lib/components/dataDisplay/AntdSegmented.react.js +81 -37
- package/src/lib/components/dataDisplay/AntdSpoiler.react.js +40 -28
- package/src/lib/components/dataDisplay/AntdStatistic.react.js +19 -26
- package/src/lib/components/dataDisplay/AntdTable.react.js +140 -64
- package/src/lib/components/dataDisplay/AntdTabs.react.js +61 -28
- package/src/lib/components/dataDisplay/AntdTag.react.js +34 -25
- package/src/lib/components/dataDisplay/AntdTimeline.react.js +28 -23
- package/src/lib/components/dataDisplay/AntdTooltip.react.js +76 -33
- package/src/lib/components/dataDisplay/AntdTree.react.js +103 -45
- package/src/lib/components/dataDisplay/card/AntdCard.react.js +105 -38
- package/src/lib/components/dataDisplay/card/AntdCardGrid.react.js +24 -23
- package/src/lib/components/dataDisplay/card/AntdCardMeta.react.js +24 -20
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptionItem.react.js +55 -31
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptions.react.js +98 -43
- package/src/lib/components/dataEntry/AntdCalendar.react.js +50 -25
- package/src/lib/components/dataEntry/AntdCascader.react.js +96 -38
- package/src/lib/components/dataEntry/AntdCheckbox.react.js +50 -26
- package/src/lib/components/dataEntry/AntdCheckboxGroup.react.js +46 -23
- package/src/lib/components/dataEntry/AntdColorPicker.react.js +60 -33
- package/src/lib/components/dataEntry/AntdDatePicker.react.js +98 -40
- package/src/lib/components/dataEntry/AntdDateRangePicker.react.js +98 -39
- package/src/lib/components/dataEntry/AntdInput.react.js +96 -37
- package/src/lib/components/dataEntry/AntdInputNumber.react.js +86 -32
- package/src/lib/components/dataEntry/AntdMentions.react.js +60 -31
- package/src/lib/components/dataEntry/AntdOTP.react.js +53 -26
- package/src/lib/components/dataEntry/AntdRadioGroup.react.js +58 -30
- package/src/lib/components/dataEntry/AntdRate.react.js +54 -27
- package/src/lib/components/dataEntry/AntdSegmentedColoring.react.js +60 -33
- package/src/lib/components/dataEntry/AntdSelect.react.js +110 -44
- package/src/lib/components/dataEntry/AntdSlider.react.js +100 -41
- package/src/lib/components/dataEntry/AntdSwitch.react.js +54 -11
- package/src/lib/components/dataEntry/AntdTimePicker.react.js +92 -25
- package/src/lib/components/dataEntry/AntdTimeRangePicker.react.js +92 -42
- package/src/lib/components/dataEntry/AntdTransfer.react.js +70 -18
- package/src/lib/components/dataEntry/AntdTreeSelect.react.js +122 -31
- package/src/lib/components/dataEntry/check-card/AntdCheckCard.react.js +51 -23
- package/src/lib/components/dataEntry/check-card/AntdCheckCardGroup.react.js +53 -25
- package/src/lib/components/dataEntry/form/AntdForm.react.js +40 -26
- package/src/lib/components/dataEntry/form/AntdFormItem.react.js +46 -24
- package/src/lib/components/dataEntry/upload/AntdDraggerUpload.react.js +92 -39
- package/src/lib/components/dataEntry/upload/AntdPictureUpload.react.js +84 -39
- package/src/lib/components/dataEntry/upload/AntdUpload.react.js +88 -25
- package/src/lib/components/feedback/AntdAlert.react.js +24 -49
- package/src/lib/components/feedback/AntdDrawer.react.js +31 -63
- package/src/lib/components/feedback/AntdMessage.react.js +29 -82
- package/src/lib/components/feedback/AntdModal.react.js +133 -97
- package/src/lib/components/feedback/AntdNotification.react.js +49 -74
- package/src/lib/components/feedback/AntdPopconfirm.react.js +68 -85
- package/src/lib/components/feedback/AntdPopupCard.react.js +89 -62
- package/src/lib/components/feedback/AntdProgress.react.js +36 -61
- package/src/lib/components/feedback/AntdResult.react.js +16 -38
- package/src/lib/components/feedback/AntdSpin.react.js +45 -74
- package/src/lib/components/feedback/skeleton/AntdCustomSkeleton.react.js +36 -61
- package/src/lib/components/feedback/skeleton/AntdSkeleton.react.js +40 -72
- package/src/lib/components/feedback/skeleton/AntdSkeletonAvatar.react.js +14 -38
- package/src/lib/components/feedback/skeleton/AntdSkeletonButton.react.js +15 -40
- package/src/lib/components/feedback/skeleton/AntdSkeletonImage.react.js +11 -32
- package/src/lib/components/feedback/skeleton/AntdSkeletonInput.react.js +13 -36
- package/src/lib/components/formRender/AntdFormRender.react.js +1 -1
- package/src/lib/components/general/AntdButton.react.js +38 -72
- package/src/lib/components/general/AntdFloatButton.react.js +19 -44
- package/src/lib/components/general/AntdFloatButtonGroup.react.js +32 -43
- package/src/lib/components/general/AntdIcon.react.js +18 -44
- package/src/lib/components/general/typography/AntdParagraph.react.js +25 -49
- package/src/lib/components/general/typography/AntdText.react.js +26 -50
- package/src/lib/components/general/typography/AntdTitle.react.js +26 -51
- package/src/lib/components/icons.react.js +25 -1
- package/src/lib/components/layout/AntdCenter.react.js +14 -38
- package/src/lib/components/layout/AntdCompact.react.js +14 -38
- package/src/lib/components/layout/AntdContent.react.js +12 -34
- package/src/lib/components/layout/AntdDivider.react.js +24 -54
- package/src/lib/components/layout/AntdFlex.react.js +18 -45
- package/src/lib/components/layout/AntdFooter.react.js +12 -34
- package/src/lib/components/layout/AntdHeader.react.js +12 -34
- package/src/lib/components/layout/AntdLayout.react.js +12 -34
- package/src/lib/components/layout/AntdSider.react.js +20 -47
- package/src/lib/components/layout/AntdSpace.react.js +24 -54
- package/src/lib/components/layout/AntdSplitter.react.js +21 -34
- package/src/lib/components/layout/grid/AntdCol.react.js +24 -51
- package/src/lib/components/layout/grid/AntdRow.react.js +16 -42
- package/src/lib/components/locales.react.js +43 -2
- package/src/lib/components/navigation/AntdAnchor.react.js +18 -42
- package/src/lib/components/navigation/AntdBreadcrumb.react.js +105 -100
- package/src/lib/components/navigation/AntdDropdown.react.js +40 -70
- package/src/lib/components/navigation/AntdMenu.react.js +32 -59
- package/src/lib/components/navigation/AntdPageHeader.react.js +18 -44
- package/src/lib/components/navigation/AntdPagination.react.js +37 -69
- package/src/lib/components/navigation/AntdSteps.react.js +22 -51
- package/src/lib/components/other/AntdAffix.react.js +21 -38
- package/src/lib/components/other/AntdBackTop.react.js +19 -41
- package/src/lib/components/other/AntdConfigProvider.react.js +21 -51
- package/src/lib/components/other/AntdCopyText.react.js +19 -43
- package/src/lib/components/other/AntdTour.react.js +22 -51
- package/src/lib/components/other/AntdWatermark.react.js +31 -49
- package/src/lib/components/other/Fragment.react.js +0 -20
- package/src/lib/components/styles.css +0 -5
- package/src/lib/components/utils.js +24 -18
- package/src/lib/fragments/AntdTable.react.js +1807 -1801
- package/src/lib/fragments/dataDisplay/AntdAccordion.react.js +5 -6
- package/src/lib/fragments/dataDisplay/AntdAvatar.react.js +9 -14
- package/src/lib/fragments/dataDisplay/AntdAvatarGroup.react.js +7 -14
- package/src/lib/fragments/dataDisplay/AntdBadge.react.js +5 -6
- package/src/lib/fragments/dataDisplay/AntdCarousel.react.js +5 -6
- package/src/lib/fragments/dataDisplay/AntdCheckableTag.react.js +4 -5
- package/src/lib/fragments/dataDisplay/AntdComment.react.js +5 -7
- package/src/lib/fragments/dataDisplay/AntdCountdown.react.js +5 -5
- package/src/lib/fragments/dataDisplay/AntdEmpty.react.js +8 -7
- package/src/lib/fragments/dataDisplay/AntdImage.react.js +5 -4
- package/src/lib/fragments/dataDisplay/AntdImageGroup.react.js +3 -2
- package/src/lib/fragments/dataDisplay/AntdPopover.react.js +8 -16
- package/src/lib/fragments/dataDisplay/AntdQRCode.react.js +12 -7
- package/src/lib/fragments/dataDisplay/AntdRibbon.react.js +5 -6
- package/src/lib/fragments/dataDisplay/AntdSegmented.react.js +29 -25
- package/src/lib/fragments/dataDisplay/AntdSpoiler.react.js +5 -6
- package/src/lib/fragments/dataDisplay/AntdTabs.react.js +4 -5
- package/src/lib/fragments/dataDisplay/AntdTag.react.js +4 -5
- package/src/lib/fragments/dataDisplay/AntdTimeline.react.js +4 -5
- package/src/lib/fragments/dataDisplay/AntdTooltip.react.js +8 -16
- package/src/lib/fragments/dataDisplay/AntdTree.react.js +5 -7
- package/src/lib/fragments/dataDisplay/card/AntdCard.react.js +29 -17
- package/src/lib/fragments/dataDisplay/card/AntdCardGrid.react.js +4 -6
- package/src/lib/fragments/dataDisplay/card/AntdCardMeta.react.js +4 -5
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptionItem.react.js +8 -10
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptions.react.js +16 -22
- package/src/lib/fragments/dataEntry/AntdCalendar.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdCascader.react.js +14 -17
- package/src/lib/fragments/dataEntry/AntdCheckbox.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdCheckboxGroup.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdColorPicker.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdDatePicker.react.js +11 -11
- package/src/lib/fragments/dataEntry/AntdDateRangePicker.react.js +11 -11
- package/src/lib/fragments/dataEntry/AntdInput.react.js +23 -29
- package/src/lib/fragments/dataEntry/AntdInputNumber.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdMentions.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdOTP.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdRadioGroup.react.js +14 -16
- package/src/lib/fragments/dataEntry/AntdRate.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdSegmentedColoring.react.js +5 -6
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +14 -12
- package/src/lib/fragments/dataEntry/AntdSlider.react.js +10 -12
- package/src/lib/fragments/dataEntry/AntdSwitch.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdTimePicker.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdTimeRangePicker.react.js +10 -10
- package/src/lib/fragments/dataEntry/AntdTransfer.react.js +9 -9
- package/src/lib/fragments/dataEntry/AntdTreeSelect.react.js +11 -12
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCard.react.js +8 -8
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCardGroup.react.js +8 -9
- package/src/lib/fragments/dataEntry/form/AntdForm.react.js +4 -5
- package/src/lib/fragments/dataEntry/form/AntdFormItem.react.js +4 -5
- package/src/lib/fragments/upload/AntdDraggerUpload.react.js +22 -18
- package/src/lib/fragments/upload/AntdPictureUpload.react.js +25 -20
- package/src/lib/fragments/upload/AntdUpload.react.js +22 -19
- package/src/lib/index.js +0 -6
- package/tests/dash3.0tests/AntdQRCode/347/273/204/344/273/266loading/347/212/266/346/200/201/351/207/215/346/236/204/test.py +51 -0
- package/tests/dash3.0tests/AntdTable/345/207/275/346/225/260/345/274/217/346/224/271/351/200/240/test.py +62 -0
- package/tests/dash3.0tests/_dashprivate_layout/346/224/271/345/212/250/346/265/213/350/257/225/test.py +50 -0
- package/tests/dash3.0tests/loading_state/346/224/271/345/212/250/346/265/213/350/257/225/test.py +38 -0
- package/tests/dash3.0tests//345/207/275/346/225/260/345/274/217/347/273/204/344/273/266/351/273/230/350/256/244/345/200/274/351/207/215/346/236/204/test.py +30 -0
- package/tests/dash3.0tests//345/212/240/350/275/275/345/212/250/347/224/273/347/261/273/347/273/204/344/273/266/351/207/215/346/236/204/346/265/213/350/257/225/test.py +62 -0
- package/tests/dash3.0tests//347/273/204/344/273/266/345/261/236/346/200/247/345/237/272/347/241/200/346/214/201/344/271/205/345/214/226/351/207/215/346/236/204/346/265/213/350/257/225/test.py +25 -0
- package/tests/dataDisplay/AntdCard/refactor_delete_props.py +83 -0
- package/tests/dataDisplay/AntdCarousel/feat_auto_play_dot_duration.py +34 -0
- package/tests/dataDisplay/AntdCountdown/feat_finish_event.py +41 -0
- package/tests/dataDisplay/AntdSegmented/feat_shape.py +39 -0
- package/tests/dataDisplay/AntdSegmented/feat_simple_options.py +43 -0
- package/tests/dataDisplay/AntdTable/feat_row_class_name_func.py +41 -0
- package/tests/dataDisplay/AntdTable/fix_context_locale.py +37 -0
- package/tests/dataEntry/AntdForm/feat_optional_batch_control.py +62 -0
- package/tests/dataEntry/AntdSelect/feat_locale_ru.py +24 -0
- package/tests/dataEntry/AntdUpload/fix_follow_theme.py +28 -0
- package/tests/feat_variant_underlined.py +100 -0
- package/tests/feedback/AntdMessage/fix_follow_config_provider.py +44 -0
- package/tests/feedback/AntdModal/feat_responsive_width.py +31 -0
- package/tests/feedback/AntdNotification/feat_show_progress.py +40 -0
- package/tests/feedback/AntdNotification/fix_follow_config_provider.py +46 -0
- package/tests/general/AntdButton/feat_preset_color.py +46 -0
- package/tests/layout/AntdSplitter/feat_lazy.py +56 -0
- package/tests/navigation/AntdBreadcrumb/feat_menu_item_event.py +64 -0
- package/tests/navigation/AntdBreadcrumb/refactor_items.py +140 -0
- package/tests/other/AntdAffix/feat_listen_affixed.py +41 -0
- package/tests/other/AntdBackTop/refactor.py +18 -0
- package/usage.py +23 -17
- package/feffery_antd_components/AntdDraggablePanel.py +0 -125
- package/feffery_antd_components/AntdEditorLayout.py +0 -237
- package/src/lib/components/proEditor/AntdDraggablePanel.react.js +0 -181
- package/src/lib/components/proEditor/AntdEditorLayout.react.js +0 -336
- package/src/lib/fragments/proEditor/AntdDraggablePanel.react.js +0 -70
- package/src/lib/fragments/proEditor/AntdEditorLayout.react.js +0 -79
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
3
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
6
|
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
5
20
|
|
|
6
21
|
class AntdCalendar(Component):
|
|
7
22
|
"""An AntdCalendar component.
|
|
@@ -15,17 +30,17 @@ Keyword arguments:
|
|
|
15
30
|
- key (string; optional):
|
|
16
31
|
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
17
32
|
|
|
18
|
-
- style (dict; optional):
|
|
19
|
-
当前组件css样式.
|
|
20
|
-
|
|
21
33
|
- className (string | dict; optional):
|
|
22
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
23
35
|
|
|
24
36
|
- name (string; optional):
|
|
25
37
|
配合`AntdForm`表单批量值搜集/控制功能使用,充当当前表单项的字段名,以`id`作为缺省值.
|
|
26
38
|
|
|
27
|
-
-
|
|
28
|
-
|
|
39
|
+
- enableBatchControl (boolean; default True):
|
|
40
|
+
控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能 默认值:`True`.
|
|
41
|
+
|
|
42
|
+
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
43
|
+
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
29
44
|
默认值:`'zh-cn'`.
|
|
30
45
|
|
|
31
46
|
- format (string; default 'YYYY-MM-DD'):
|
|
@@ -78,37 +93,62 @@ Keyword arguments:
|
|
|
78
93
|
- aria-* (string; optional):
|
|
79
94
|
`aria-*`格式属性通配.
|
|
80
95
|
|
|
81
|
-
- loading_state (dict; optional)
|
|
82
|
-
|
|
83
|
-
`loading_state` is a dict with keys:
|
|
84
|
-
|
|
85
|
-
- is_loading (boolean; optional):
|
|
86
|
-
Determines if the component is loading or not.
|
|
87
|
-
|
|
88
|
-
- prop_name (string; optional):
|
|
89
|
-
Holds which property is loading.
|
|
90
|
-
|
|
91
|
-
- component_name (string; optional):
|
|
92
|
-
Holds the name of the component that is loading.
|
|
93
|
-
|
|
94
96
|
- persistence (boolean | string | number; optional):
|
|
95
97
|
是否开启[属性持久化](/prop-persistence).
|
|
96
98
|
|
|
97
|
-
- persisted_props (list of a value equal to: 'value's;
|
|
99
|
+
- persisted_props (list of a value equal to: 'value's; optional):
|
|
98
100
|
开启属性持久化功能的若干属性名,可选项有`'value'` 默认值:`['value']`.
|
|
99
101
|
|
|
100
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory';
|
|
102
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; optional):
|
|
101
103
|
属性持久化存储类型,可选项有`'local'`(本地持久化),`'session'`(会话持久化),`'memory'`(内存持久化)
|
|
102
104
|
默认值:`'local'`."""
|
|
103
105
|
_children_props = ['customCells[].content']
|
|
104
106
|
_base_nodes = ['children']
|
|
105
107
|
_namespace = 'feffery_antd_components'
|
|
106
108
|
_type = 'AntdCalendar'
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
109
|
+
CustomCells = TypedDict(
|
|
110
|
+
"CustomCells",
|
|
111
|
+
{
|
|
112
|
+
"type": Literal["month", "date"],
|
|
113
|
+
"year": NotRequired[NumberType],
|
|
114
|
+
"month": NotRequired[NumberType],
|
|
115
|
+
"date": NotRequired[NumberType],
|
|
116
|
+
"content": NotRequired[ComponentType]
|
|
117
|
+
}
|
|
118
|
+
)
|
|
119
|
+
|
|
120
|
+
CellClickEvent = TypedDict(
|
|
121
|
+
"CellClickEvent",
|
|
122
|
+
{
|
|
123
|
+
"type": NotRequired[str],
|
|
124
|
+
"timestamp": NotRequired[NumberType]
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
|
|
129
|
+
def __init__(
|
|
130
|
+
self,
|
|
131
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
132
|
+
key: typing.Optional[str] = None,
|
|
133
|
+
style: typing.Optional[typing.Any] = None,
|
|
134
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
135
|
+
name: typing.Optional[str] = None,
|
|
136
|
+
enableBatchControl: typing.Optional[bool] = None,
|
|
137
|
+
locale: typing.Optional[Literal["zh-cn", "en-us", "de-de", "ru-ru"]] = None,
|
|
138
|
+
format: typing.Optional[str] = None,
|
|
139
|
+
size: typing.Optional[Literal["default", "large"]] = None,
|
|
140
|
+
value: typing.Optional[str] = None,
|
|
141
|
+
defaultValue: typing.Optional[str] = None,
|
|
142
|
+
customCells: typing.Optional[typing.Sequence["CustomCells"]] = None,
|
|
143
|
+
cellClickEvent: typing.Optional["CellClickEvent"] = None,
|
|
144
|
+
persistence: typing.Optional[typing.Union[bool, str, NumberType]] = None,
|
|
145
|
+
persisted_props: typing.Optional[typing.Sequence[Literal["value"]]] = None,
|
|
146
|
+
persistence_type: typing.Optional[Literal["local", "session", "memory"]] = None,
|
|
147
|
+
**kwargs
|
|
148
|
+
):
|
|
149
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'locale', 'format', 'size', 'value', 'defaultValue', 'customCells', 'cellClickEvent', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
|
|
110
150
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
111
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'locale', 'format', 'size', 'value', 'defaultValue', 'customCells', 'cellClickEvent', 'data-*', 'aria-*', '
|
|
151
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'locale', 'format', 'size', 'value', 'defaultValue', 'customCells', 'cellClickEvent', 'data-*', 'aria-*', 'persistence', 'persisted_props', 'persistence_type']
|
|
112
152
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
113
153
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
114
154
|
_locals = locals()
|
|
@@ -116,3 +156,5 @@ Keyword arguments:
|
|
|
116
156
|
args = {k: _locals[k] for k in _explicit_args}
|
|
117
157
|
|
|
118
158
|
super(AntdCalendar, self).__init__(**args)
|
|
159
|
+
|
|
160
|
+
setattr(AntdCalendar, "__init__", _explicitize_args(AntdCalendar.__init__))
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
3
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
6
|
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
5
20
|
|
|
6
21
|
class AntdCard(Component):
|
|
7
22
|
"""An AntdCard component.
|
|
@@ -18,12 +33,55 @@ Keyword arguments:
|
|
|
18
33
|
- children (a list of or a singular dash component, string or number; optional):
|
|
19
34
|
组件型,内嵌元素.
|
|
20
35
|
|
|
21
|
-
- style (dict; optional):
|
|
22
|
-
当前组件css样式.
|
|
23
|
-
|
|
24
36
|
- className (string | dict; optional):
|
|
25
37
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
26
38
|
|
|
39
|
+
- styles (dict; optional):
|
|
40
|
+
细分控制子元素css样式.
|
|
41
|
+
|
|
42
|
+
`styles` is a dict with keys:
|
|
43
|
+
|
|
44
|
+
- header (dict; optional):
|
|
45
|
+
设置卡片头部区域css样式.
|
|
46
|
+
|
|
47
|
+
- title (dict; optional):
|
|
48
|
+
设置卡片标题css样式.
|
|
49
|
+
|
|
50
|
+
- extra (dict; optional):
|
|
51
|
+
设置卡片右上角的操作区域css样式.
|
|
52
|
+
|
|
53
|
+
- cover (dict; optional):
|
|
54
|
+
设置标题封面css样式.
|
|
55
|
+
|
|
56
|
+
- body (dict; optional):
|
|
57
|
+
设置卡片内容区域css样式.
|
|
58
|
+
|
|
59
|
+
- actions (dict; optional):
|
|
60
|
+
设置卡片底部操作组css样式.
|
|
61
|
+
|
|
62
|
+
- classNames (dict; optional):
|
|
63
|
+
细分控制子元素css类名.
|
|
64
|
+
|
|
65
|
+
`classNames` is a dict with keys:
|
|
66
|
+
|
|
67
|
+
- header (string; optional):
|
|
68
|
+
设置卡片头部区域css类名.
|
|
69
|
+
|
|
70
|
+
- title (string; optional):
|
|
71
|
+
设置卡片标题css类名.
|
|
72
|
+
|
|
73
|
+
- extra (string; optional):
|
|
74
|
+
设置卡片右上角的操作区域css类名.
|
|
75
|
+
|
|
76
|
+
- cover (string; optional):
|
|
77
|
+
设置标题封面css类名.
|
|
78
|
+
|
|
79
|
+
- body (string; optional):
|
|
80
|
+
设置卡片内容区域css类名.
|
|
81
|
+
|
|
82
|
+
- actions (string; optional):
|
|
83
|
+
设置卡片底部操作组css类名.
|
|
84
|
+
|
|
27
85
|
- actions (a list of or a singular dash component, string or number; optional):
|
|
28
86
|
组件型,底部操作区元素.
|
|
29
87
|
|
|
@@ -70,14 +128,8 @@ Keyword arguments:
|
|
|
70
128
|
- style (dict; optional):
|
|
71
129
|
图片css样式.
|
|
72
130
|
|
|
73
|
-
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
- headStyle (dict; optional):
|
|
77
|
-
标题css样式.
|
|
78
|
-
|
|
79
|
-
- bordered (boolean; default True):
|
|
80
|
-
是否渲染边框 默认值:`True`.
|
|
131
|
+
- variant (a value equal to: 'outlined', 'borderless'; default 'outlined'):
|
|
132
|
+
卡片形态变体,可选项有`'outlined'`、`'borderless'` 默认值:`'outlined'`.
|
|
81
133
|
|
|
82
134
|
- hoverable (boolean; default False):
|
|
83
135
|
是否在鼠标悬停时显示特殊样式 默认值:`False`.
|
|
@@ -92,29 +144,80 @@ Keyword arguments:
|
|
|
92
144
|
`data-*`格式属性通配.
|
|
93
145
|
|
|
94
146
|
- aria-* (string; optional):
|
|
95
|
-
`aria-*`格式属性通配.
|
|
96
|
-
|
|
97
|
-
- loading_state (dict; optional)
|
|
98
|
-
|
|
99
|
-
`loading_state` is a dict with keys:
|
|
100
|
-
|
|
101
|
-
- is_loading (boolean; optional):
|
|
102
|
-
Determines if the component is loading or not.
|
|
103
|
-
|
|
104
|
-
- prop_name (string; optional):
|
|
105
|
-
Holds which property is loading.
|
|
106
|
-
|
|
107
|
-
- component_name (string; optional):
|
|
108
|
-
Holds the name of the component that is loading."""
|
|
147
|
+
`aria-*`格式属性通配."""
|
|
109
148
|
_children_props = ['actions', 'title', 'extra']
|
|
110
149
|
_base_nodes = ['actions', 'title', 'extra', 'children']
|
|
111
150
|
_namespace = 'feffery_antd_components'
|
|
112
151
|
_type = 'AntdCard'
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
152
|
+
Styles = TypedDict(
|
|
153
|
+
"Styles",
|
|
154
|
+
{
|
|
155
|
+
"header": NotRequired[dict],
|
|
156
|
+
"title": NotRequired[dict],
|
|
157
|
+
"extra": NotRequired[dict],
|
|
158
|
+
"cover": NotRequired[dict],
|
|
159
|
+
"body": NotRequired[dict],
|
|
160
|
+
"actions": NotRequired[dict]
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
|
|
164
|
+
ClassNames = TypedDict(
|
|
165
|
+
"ClassNames",
|
|
166
|
+
{
|
|
167
|
+
"header": NotRequired[str],
|
|
168
|
+
"title": NotRequired[str],
|
|
169
|
+
"extra": NotRequired[str],
|
|
170
|
+
"cover": NotRequired[str],
|
|
171
|
+
"body": NotRequired[str],
|
|
172
|
+
"actions": NotRequired[str]
|
|
173
|
+
}
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
ExtraLink = TypedDict(
|
|
177
|
+
"ExtraLink",
|
|
178
|
+
{
|
|
179
|
+
"content": NotRequired[str],
|
|
180
|
+
"href": NotRequired[str],
|
|
181
|
+
"target": NotRequired[str],
|
|
182
|
+
"className": NotRequired[str],
|
|
183
|
+
"style": NotRequired[dict]
|
|
184
|
+
}
|
|
185
|
+
)
|
|
186
|
+
|
|
187
|
+
CoverImg = TypedDict(
|
|
188
|
+
"CoverImg",
|
|
189
|
+
{
|
|
190
|
+
"src": NotRequired[str],
|
|
191
|
+
"alt": NotRequired[str],
|
|
192
|
+
"className": NotRequired[str],
|
|
193
|
+
"style": NotRequired[dict]
|
|
194
|
+
}
|
|
195
|
+
)
|
|
196
|
+
|
|
197
|
+
|
|
198
|
+
def __init__(
|
|
199
|
+
self,
|
|
200
|
+
children: typing.Optional[ComponentType] = None,
|
|
201
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
202
|
+
key: typing.Optional[str] = None,
|
|
203
|
+
style: typing.Optional[typing.Any] = None,
|
|
204
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
205
|
+
styles: typing.Optional["Styles"] = None,
|
|
206
|
+
classNames: typing.Optional["ClassNames"] = None,
|
|
207
|
+
actions: typing.Optional[ComponentType] = None,
|
|
208
|
+
title: typing.Optional[ComponentType] = None,
|
|
209
|
+
extraLink: typing.Optional["ExtraLink"] = None,
|
|
210
|
+
extra: typing.Optional[ComponentType] = None,
|
|
211
|
+
coverImg: typing.Optional["CoverImg"] = None,
|
|
212
|
+
variant: typing.Optional[Literal["outlined", "borderless"]] = None,
|
|
213
|
+
hoverable: typing.Optional[bool] = None,
|
|
214
|
+
size: typing.Optional[Literal["default", "small"]] = None,
|
|
215
|
+
nClicks: typing.Optional[NumberType] = None,
|
|
216
|
+
**kwargs
|
|
217
|
+
):
|
|
218
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'actions', 'title', 'extraLink', 'extra', 'coverImg', 'variant', 'hoverable', 'size', 'nClicks', 'data-*', 'aria-*']
|
|
116
219
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
117
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', '
|
|
220
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'actions', 'title', 'extraLink', 'extra', 'coverImg', 'variant', 'hoverable', 'size', 'nClicks', 'data-*', 'aria-*']
|
|
118
221
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
119
222
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
120
223
|
_locals = locals()
|
|
@@ -122,3 +225,5 @@ Keyword arguments:
|
|
|
122
225
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
123
226
|
|
|
124
227
|
super(AntdCard, self).__init__(children=children, **args)
|
|
228
|
+
|
|
229
|
+
setattr(AntdCard, "__init__", _explicitize_args(AntdCard.__init__))
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
3
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
6
|
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
5
20
|
|
|
6
21
|
class AntdCardGrid(Component):
|
|
7
22
|
"""An AntdCardGrid component.
|
|
@@ -18,9 +33,6 @@ Keyword arguments:
|
|
|
18
33
|
- children (a list of or a singular dash component, string or number; optional):
|
|
19
34
|
组件型,内嵌元素.
|
|
20
35
|
|
|
21
|
-
- style (dict; optional):
|
|
22
|
-
当前组件css样式.
|
|
23
|
-
|
|
24
36
|
- className (string | dict; optional):
|
|
25
37
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
26
38
|
|
|
@@ -34,29 +46,27 @@ Keyword arguments:
|
|
|
34
46
|
`data-*`格式属性通配.
|
|
35
47
|
|
|
36
48
|
- aria-* (string; optional):
|
|
37
|
-
`aria-*`格式属性通配.
|
|
38
|
-
|
|
39
|
-
- loading_state (dict; optional)
|
|
40
|
-
|
|
41
|
-
`loading_state` is a dict with keys:
|
|
42
|
-
|
|
43
|
-
- is_loading (boolean; optional):
|
|
44
|
-
Determines if the component is loading or not.
|
|
45
|
-
|
|
46
|
-
- prop_name (string; optional):
|
|
47
|
-
Holds which property is loading.
|
|
48
|
-
|
|
49
|
-
- component_name (string; optional):
|
|
50
|
-
Holds the name of the component that is loading."""
|
|
49
|
+
`aria-*`格式属性通配."""
|
|
51
50
|
_children_props = []
|
|
52
51
|
_base_nodes = ['children']
|
|
53
52
|
_namespace = 'feffery_antd_components'
|
|
54
53
|
_type = 'AntdCardGrid'
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def __init__(
|
|
57
|
+
self,
|
|
58
|
+
children: typing.Optional[ComponentType] = None,
|
|
59
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
60
|
+
key: typing.Optional[str] = None,
|
|
61
|
+
style: typing.Optional[typing.Any] = None,
|
|
62
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
63
|
+
hoverable: typing.Optional[bool] = None,
|
|
64
|
+
nClicks: typing.Optional[NumberType] = None,
|
|
65
|
+
**kwargs
|
|
66
|
+
):
|
|
67
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'hoverable', 'nClicks', 'data-*', 'aria-*']
|
|
58
68
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
59
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'hoverable', 'nClicks', 'data-*', 'aria-*'
|
|
69
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'hoverable', 'nClicks', 'data-*', 'aria-*']
|
|
60
70
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
61
71
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
62
72
|
_locals = locals()
|
|
@@ -64,3 +74,5 @@ Keyword arguments:
|
|
|
64
74
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
65
75
|
|
|
66
76
|
super(AntdCardGrid, self).__init__(children=children, **args)
|
|
77
|
+
|
|
78
|
+
setattr(AntdCardGrid, "__init__", _explicitize_args(AntdCardGrid.__init__))
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
3
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
6
|
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
5
20
|
|
|
6
21
|
class AntdCardMeta(Component):
|
|
7
22
|
"""An AntdCardMeta component.
|
|
@@ -15,9 +30,6 @@ Keyword arguments:
|
|
|
15
30
|
- key (string; optional):
|
|
16
31
|
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
17
32
|
|
|
18
|
-
- style (dict; optional):
|
|
19
|
-
当前组件css样式.
|
|
20
|
-
|
|
21
33
|
- className (string | dict; optional):
|
|
22
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
23
35
|
|
|
@@ -34,29 +46,27 @@ Keyword arguments:
|
|
|
34
46
|
`data-*`格式属性通配.
|
|
35
47
|
|
|
36
48
|
- aria-* (string; optional):
|
|
37
|
-
`aria-*`格式属性通配.
|
|
38
|
-
|
|
39
|
-
- loading_state (dict; optional)
|
|
40
|
-
|
|
41
|
-
`loading_state` is a dict with keys:
|
|
42
|
-
|
|
43
|
-
- is_loading (boolean; optional):
|
|
44
|
-
Determines if the component is loading or not.
|
|
45
|
-
|
|
46
|
-
- prop_name (string; optional):
|
|
47
|
-
Holds which property is loading.
|
|
48
|
-
|
|
49
|
-
- component_name (string; optional):
|
|
50
|
-
Holds the name of the component that is loading."""
|
|
49
|
+
`aria-*`格式属性通配."""
|
|
51
50
|
_children_props = ['avatar', 'description', 'title']
|
|
52
51
|
_base_nodes = ['avatar', 'description', 'title', 'children']
|
|
53
52
|
_namespace = 'feffery_antd_components'
|
|
54
53
|
_type = 'AntdCardMeta'
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
def __init__(
|
|
57
|
+
self,
|
|
58
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
59
|
+
key: typing.Optional[str] = None,
|
|
60
|
+
style: typing.Optional[typing.Any] = None,
|
|
61
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
62
|
+
avatar: typing.Optional[ComponentType] = None,
|
|
63
|
+
description: typing.Optional[ComponentType] = None,
|
|
64
|
+
title: typing.Optional[ComponentType] = None,
|
|
65
|
+
**kwargs
|
|
66
|
+
):
|
|
67
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'avatar', 'description', 'title', 'data-*', 'aria-*']
|
|
58
68
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
59
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'avatar', 'description', 'title', 'data-*', 'aria-*'
|
|
69
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'avatar', 'description', 'title', 'data-*', 'aria-*']
|
|
60
70
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
61
71
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
62
72
|
_locals = locals()
|
|
@@ -64,3 +74,5 @@ Keyword arguments:
|
|
|
64
74
|
args = {k: _locals[k] for k in _explicit_args}
|
|
65
75
|
|
|
66
76
|
super(AntdCardMeta, self).__init__(**args)
|
|
77
|
+
|
|
78
|
+
setattr(AntdCardMeta, "__init__", _explicitize_args(AntdCardMeta.__init__))
|
|
@@ -1,7 +1,22 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
|
+
import typing # noqa: F401
|
|
4
|
+
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
3
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
4
6
|
|
|
7
|
+
ComponentType = typing.Union[
|
|
8
|
+
str,
|
|
9
|
+
int,
|
|
10
|
+
float,
|
|
11
|
+
Component,
|
|
12
|
+
None,
|
|
13
|
+
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
NumberType = typing.Union[
|
|
17
|
+
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
+
]
|
|
19
|
+
|
|
5
20
|
|
|
6
21
|
class AntdCarousel(Component):
|
|
7
22
|
"""An AntdCarousel component.
|
|
@@ -18,17 +33,19 @@ Keyword arguments:
|
|
|
18
33
|
- children (a list of or a singular dash component, string or number; optional):
|
|
19
34
|
组件型,定义走马灯中需要轮播的若干元素.
|
|
20
35
|
|
|
21
|
-
- style (dict; optional):
|
|
22
|
-
当前组件css样式.
|
|
23
|
-
|
|
24
36
|
- className (string | dict; optional):
|
|
25
37
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
26
38
|
|
|
27
39
|
- arrows (boolean; default False):
|
|
28
40
|
是否显示箭头 默认值:`False`.
|
|
29
41
|
|
|
30
|
-
- autoplay (
|
|
31
|
-
|
|
42
|
+
- autoplay (dict; default False):
|
|
43
|
+
是否自动轮播,可传入字典型进行更多配置 默认值:`False`.
|
|
44
|
+
|
|
45
|
+
`autoplay` is a boolean | dict with keys:
|
|
46
|
+
|
|
47
|
+
- dotDuration (boolean; optional):
|
|
48
|
+
是否展示指示点进度条.
|
|
32
49
|
|
|
33
50
|
- dotPosition (a value equal to: 'top', 'bottom', 'left', 'right'; default 'bottom'):
|
|
34
51
|
面板指示器位置,可选项有`'top'`、`'bottom'`、`'left'`、`'right'` 默认值:`'bottom'`.
|
|
@@ -64,29 +81,43 @@ Keyword arguments:
|
|
|
64
81
|
`data-*`格式属性通配.
|
|
65
82
|
|
|
66
83
|
- aria-* (string; optional):
|
|
67
|
-
`aria-*`格式属性通配.
|
|
68
|
-
|
|
69
|
-
- loading_state (dict; optional)
|
|
70
|
-
|
|
71
|
-
`loading_state` is a dict with keys:
|
|
72
|
-
|
|
73
|
-
- is_loading (boolean; optional):
|
|
74
|
-
Determines if the component is loading or not.
|
|
75
|
-
|
|
76
|
-
- prop_name (string; optional):
|
|
77
|
-
Holds which property is loading.
|
|
78
|
-
|
|
79
|
-
- component_name (string; optional):
|
|
80
|
-
Holds the name of the component that is loading."""
|
|
84
|
+
`aria-*`格式属性通配."""
|
|
81
85
|
_children_props = []
|
|
82
86
|
_base_nodes = ['children']
|
|
83
87
|
_namespace = 'feffery_antd_components'
|
|
84
88
|
_type = 'AntdCarousel'
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
89
|
+
Autoplay = TypedDict(
|
|
90
|
+
"Autoplay",
|
|
91
|
+
{
|
|
92
|
+
"dotDuration": NotRequired[bool]
|
|
93
|
+
}
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
def __init__(
|
|
98
|
+
self,
|
|
99
|
+
children: typing.Optional[ComponentType] = None,
|
|
100
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
101
|
+
key: typing.Optional[str] = None,
|
|
102
|
+
style: typing.Optional[typing.Any] = None,
|
|
103
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
104
|
+
arrows: typing.Optional[bool] = None,
|
|
105
|
+
autoplay: typing.Optional[typing.Union[bool, "Autoplay"]] = None,
|
|
106
|
+
dotPosition: typing.Optional[Literal["top", "bottom", "left", "right"]] = None,
|
|
107
|
+
easing: typing.Optional[str] = None,
|
|
108
|
+
effect: typing.Optional[Literal["scrollx", "fade"]] = None,
|
|
109
|
+
autoplaySpeed: typing.Optional[NumberType] = None,
|
|
110
|
+
speed: typing.Optional[NumberType] = None,
|
|
111
|
+
pauseOnHover: typing.Optional[bool] = None,
|
|
112
|
+
infinite: typing.Optional[bool] = None,
|
|
113
|
+
lazyLoad: typing.Optional[bool] = None,
|
|
114
|
+
slidesToShow: typing.Optional[NumberType] = None,
|
|
115
|
+
slidesToScroll: typing.Optional[NumberType] = None,
|
|
116
|
+
**kwargs
|
|
117
|
+
):
|
|
118
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'arrows', 'autoplay', 'dotPosition', 'easing', 'effect', 'autoplaySpeed', 'speed', 'pauseOnHover', 'infinite', 'lazyLoad', 'slidesToShow', 'slidesToScroll', 'data-*', 'aria-*']
|
|
88
119
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
89
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'arrows', 'autoplay', 'dotPosition', 'easing', 'effect', 'autoplaySpeed', 'speed', 'pauseOnHover', 'infinite', 'lazyLoad', 'slidesToShow', 'slidesToScroll', 'data-*', 'aria-*'
|
|
120
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'arrows', 'autoplay', 'dotPosition', 'easing', 'effect', 'autoplaySpeed', 'speed', 'pauseOnHover', 'infinite', 'lazyLoad', 'slidesToShow', 'slidesToScroll', 'data-*', 'aria-*']
|
|
90
121
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
91
122
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
92
123
|
_locals = locals()
|
|
@@ -94,3 +125,5 @@ Keyword arguments:
|
|
|
94
125
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
95
126
|
|
|
96
127
|
super(AntdCarousel, self).__init__(children=children, **args)
|
|
128
|
+
|
|
129
|
+
setattr(AntdCarousel, "__init__", _explicitize_args(AntdCarousel.__init__))
|