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 AntdDescriptions(Component):
|
|
7
22
|
"""An AntdDescriptions 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
|
+
- root (dict; optional):
|
|
45
|
+
根元素css样式.
|
|
46
|
+
|
|
47
|
+
- header (dict; optional):
|
|
48
|
+
头部元素css样式.
|
|
49
|
+
|
|
50
|
+
- title (dict; optional):
|
|
51
|
+
标题元素css样式.
|
|
52
|
+
|
|
53
|
+
- extra (dict; optional):
|
|
54
|
+
额外内容css样式.
|
|
55
|
+
|
|
56
|
+
- label (dict; optional):
|
|
57
|
+
标签元素css样式.
|
|
58
|
+
|
|
59
|
+
- content (dict; optional):
|
|
60
|
+
内容元素css样式.
|
|
61
|
+
|
|
62
|
+
- classNames (dict; optional):
|
|
63
|
+
细分控制子元素css类名.
|
|
64
|
+
|
|
65
|
+
`classNames` is a dict with keys:
|
|
66
|
+
|
|
67
|
+
- root (string; optional):
|
|
68
|
+
根元素css类名.
|
|
69
|
+
|
|
70
|
+
- header (string; optional):
|
|
71
|
+
头部元素css类名.
|
|
72
|
+
|
|
73
|
+
- title (string; optional):
|
|
74
|
+
标题元素css类名.
|
|
75
|
+
|
|
76
|
+
- extra (string; optional):
|
|
77
|
+
额外内容css类名.
|
|
78
|
+
|
|
79
|
+
- label (string; optional):
|
|
80
|
+
标签元素css类名.
|
|
81
|
+
|
|
82
|
+
- content (string; optional):
|
|
83
|
+
内容元素css类名.
|
|
84
|
+
|
|
27
85
|
- items (list of dicts; optional):
|
|
28
86
|
配置描述列表子项,优先级高于`children`.
|
|
29
87
|
|
|
@@ -38,12 +96,6 @@ Keyword arguments:
|
|
|
38
96
|
- children (a list of or a singular dash component, string or number; optional):
|
|
39
97
|
组件型,子项内容.
|
|
40
98
|
|
|
41
|
-
- labelStyle (dict; optional):
|
|
42
|
-
子项标签css样式.
|
|
43
|
-
|
|
44
|
-
- contentStyle (dict; optional):
|
|
45
|
-
子项内容css样式.
|
|
46
|
-
|
|
47
99
|
- style (dict; optional):
|
|
48
100
|
子项css样式.
|
|
49
101
|
|
|
@@ -79,12 +131,6 @@ Keyword arguments:
|
|
|
79
131
|
- layout (a value equal to: 'horizontal', 'vertical'; default 'horizontal'):
|
|
80
132
|
布局方式,可选项有`'horizontal'`、`'vertical'` 默认值:`'horizontal'`.
|
|
81
133
|
|
|
82
|
-
- labelStyle (dict; optional):
|
|
83
|
-
统一设置字段标签css样式.
|
|
84
|
-
|
|
85
|
-
- contentStyle (dict; optional):
|
|
86
|
-
统一设置字段内容css样式.
|
|
87
|
-
|
|
88
134
|
- extra (a list of or a singular dash component, string or number; optional):
|
|
89
135
|
组件型,设置操作区域,显示在右上方.
|
|
90
136
|
|
|
@@ -92,29 +138,80 @@ Keyword arguments:
|
|
|
92
138
|
`data-*`格式属性通配.
|
|
93
139
|
|
|
94
140
|
- 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."""
|
|
141
|
+
`aria-*`格式属性通配."""
|
|
109
142
|
_children_props = ['items[].label', 'items[].children', 'title', 'extra']
|
|
110
143
|
_base_nodes = ['title', 'extra', 'children']
|
|
111
144
|
_namespace = 'feffery_antd_components'
|
|
112
145
|
_type = 'AntdDescriptions'
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
146
|
+
Styles = TypedDict(
|
|
147
|
+
"Styles",
|
|
148
|
+
{
|
|
149
|
+
"root": NotRequired[dict],
|
|
150
|
+
"header": NotRequired[dict],
|
|
151
|
+
"title": NotRequired[dict],
|
|
152
|
+
"extra": NotRequired[dict],
|
|
153
|
+
"label": NotRequired[dict],
|
|
154
|
+
"content": NotRequired[dict]
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
ClassNames = TypedDict(
|
|
159
|
+
"ClassNames",
|
|
160
|
+
{
|
|
161
|
+
"root": NotRequired[str],
|
|
162
|
+
"header": NotRequired[str],
|
|
163
|
+
"title": NotRequired[str],
|
|
164
|
+
"extra": NotRequired[str],
|
|
165
|
+
"label": NotRequired[str],
|
|
166
|
+
"content": NotRequired[str]
|
|
167
|
+
}
|
|
168
|
+
)
|
|
169
|
+
|
|
170
|
+
Items = TypedDict(
|
|
171
|
+
"Items",
|
|
172
|
+
{
|
|
173
|
+
"label": NotRequired[ComponentType],
|
|
174
|
+
"span": NotRequired[typing.Union[NumberType, Literal["filled"]]],
|
|
175
|
+
"children": NotRequired[ComponentType],
|
|
176
|
+
"style": NotRequired[dict],
|
|
177
|
+
"className": NotRequired[str]
|
|
178
|
+
}
|
|
179
|
+
)
|
|
180
|
+
|
|
181
|
+
Column = TypedDict(
|
|
182
|
+
"Column",
|
|
183
|
+
{
|
|
184
|
+
"xxl": NotRequired[NumberType],
|
|
185
|
+
"xl": NotRequired[NumberType],
|
|
186
|
+
"lg": NotRequired[NumberType],
|
|
187
|
+
"md": NotRequired[NumberType],
|
|
188
|
+
"sm": NotRequired[NumberType],
|
|
189
|
+
"xs": NotRequired[NumberType]
|
|
190
|
+
}
|
|
191
|
+
)
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
def __init__(
|
|
195
|
+
self,
|
|
196
|
+
children: typing.Optional[ComponentType] = None,
|
|
197
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
198
|
+
key: typing.Optional[str] = None,
|
|
199
|
+
style: typing.Optional[typing.Any] = None,
|
|
200
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
201
|
+
styles: typing.Optional["Styles"] = None,
|
|
202
|
+
classNames: typing.Optional["ClassNames"] = None,
|
|
203
|
+
items: typing.Optional[typing.Sequence["Items"]] = None,
|
|
204
|
+
title: typing.Optional[ComponentType] = None,
|
|
205
|
+
column: typing.Optional[typing.Union[NumberType, "Column"]] = None,
|
|
206
|
+
bordered: typing.Optional[bool] = None,
|
|
207
|
+
size: typing.Optional[Literal["small", "default", "large"]] = None,
|
|
208
|
+
layout: typing.Optional[Literal["horizontal", "vertical"]] = None,
|
|
209
|
+
extra: typing.Optional[ComponentType] = None,
|
|
210
|
+
**kwargs
|
|
211
|
+
):
|
|
212
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'items', 'title', 'column', 'bordered', 'size', 'layout', 'extra', 'data-*', 'aria-*']
|
|
116
213
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
117
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', '
|
|
214
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'items', 'title', 'column', 'bordered', 'size', 'layout', 'extra', 'data-*', 'aria-*']
|
|
118
215
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
119
216
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
120
217
|
_locals = locals()
|
|
@@ -122,3 +219,5 @@ Keyword arguments:
|
|
|
122
219
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
123
220
|
|
|
124
221
|
super(AntdDescriptions, self).__init__(children=children, **args)
|
|
222
|
+
|
|
223
|
+
setattr(AntdDescriptions, "__init__", _explicitize_args(AntdDescriptions.__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 AntdDivider(Component):
|
|
7
22
|
"""An AntdDivider component.
|
|
@@ -21,9 +36,6 @@ Keyword arguments:
|
|
|
21
36
|
- className (string | dict; optional):
|
|
22
37
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
23
38
|
|
|
24
|
-
- style (dict; optional):
|
|
25
|
-
当前组件css样式.
|
|
26
|
-
|
|
27
39
|
- innerTextOrientation (a value equal to: "left", "center", "right"; default 'center'):
|
|
28
40
|
内嵌元素对齐方式,可选项有`'left'`、`'center'`、`'right'` 默认值:`'center'`.
|
|
29
41
|
|
|
@@ -62,29 +74,36 @@ Keyword arguments:
|
|
|
62
74
|
`data-*`格式属性通配.
|
|
63
75
|
|
|
64
76
|
- aria-* (string; optional):
|
|
65
|
-
`aria-*`格式属性通配.
|
|
66
|
-
|
|
67
|
-
- loading_state (dict; optional)
|
|
68
|
-
|
|
69
|
-
`loading_state` is a dict with keys:
|
|
70
|
-
|
|
71
|
-
- is_loading (boolean; optional):
|
|
72
|
-
Determines if the component is loading or not.
|
|
73
|
-
|
|
74
|
-
- prop_name (string; optional):
|
|
75
|
-
Holds which property is loading.
|
|
76
|
-
|
|
77
|
-
- component_name (string; optional):
|
|
78
|
-
Holds the name of the component that is loading."""
|
|
77
|
+
`aria-*`格式属性通配."""
|
|
79
78
|
_children_props = []
|
|
80
79
|
_base_nodes = ['children']
|
|
81
80
|
_namespace = 'feffery_antd_components'
|
|
82
81
|
_type = 'AntdDivider'
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
def __init__(
|
|
85
|
+
self,
|
|
86
|
+
children: typing.Optional[ComponentType] = None,
|
|
87
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
88
|
+
key: typing.Optional[str] = None,
|
|
89
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
90
|
+
style: typing.Optional[typing.Any] = None,
|
|
91
|
+
innerTextOrientation: typing.Optional[Literal["left", "center", "right"]] = None,
|
|
92
|
+
isDashed: typing.Optional[bool] = None,
|
|
93
|
+
direction: typing.Optional[Literal["horizontal", "vertical"]] = None,
|
|
94
|
+
fontSize: typing.Optional[typing.Union[str, NumberType]] = None,
|
|
95
|
+
lineColor: typing.Optional[str] = None,
|
|
96
|
+
fontStyle: typing.Optional[str] = None,
|
|
97
|
+
fontWeight: typing.Optional[str] = None,
|
|
98
|
+
fontFamily: typing.Optional[str] = None,
|
|
99
|
+
fontColor: typing.Optional[str] = None,
|
|
100
|
+
variant: typing.Optional[Literal["dashed", "dotted", "solid"]] = None,
|
|
101
|
+
plain: typing.Optional[bool] = None,
|
|
102
|
+
**kwargs
|
|
103
|
+
):
|
|
104
|
+
self._prop_names = ['id', 'key', 'children', 'className', 'style', 'innerTextOrientation', 'isDashed', 'direction', 'fontSize', 'lineColor', 'fontStyle', 'fontWeight', 'fontFamily', 'fontColor', 'variant', 'plain', 'data-*', 'aria-*']
|
|
86
105
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
87
|
-
self.available_properties = ['id', 'key', 'children', 'className', 'style', 'innerTextOrientation', 'isDashed', 'direction', 'fontSize', 'lineColor', 'fontStyle', 'fontWeight', 'fontFamily', 'fontColor', 'variant', 'plain', 'data-*', 'aria-*'
|
|
106
|
+
self.available_properties = ['id', 'key', 'children', 'className', 'style', 'innerTextOrientation', 'isDashed', 'direction', 'fontSize', 'lineColor', 'fontStyle', 'fontWeight', 'fontFamily', 'fontColor', 'variant', 'plain', 'data-*', 'aria-*']
|
|
88
107
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
89
108
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
90
109
|
_locals = locals()
|
|
@@ -92,3 +111,5 @@ Keyword arguments:
|
|
|
92
111
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
93
112
|
|
|
94
113
|
super(AntdDivider, self).__init__(children=children, **args)
|
|
114
|
+
|
|
115
|
+
setattr(AntdDivider, "__init__", _explicitize_args(AntdDivider.__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 AntdDraggerUpload(Component):
|
|
7
22
|
"""An AntdDraggerUpload component.
|
|
@@ -15,23 +30,23 @@ 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
|
|
|
39
|
+
- enableBatchControl (boolean; default True):
|
|
40
|
+
控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能 默认值:`True`.
|
|
41
|
+
|
|
27
42
|
- draggerClassName (string | dict; optional):
|
|
28
43
|
拖拽区域css类名,支持[动态css](/advanced-classname).
|
|
29
44
|
|
|
30
45
|
- draggerStyle (dict; optional):
|
|
31
46
|
拖拽区域css样式.
|
|
32
47
|
|
|
33
|
-
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de'; default 'zh-cn'):
|
|
34
|
-
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'
|
|
48
|
+
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
49
|
+
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
35
50
|
默认值:`'zh-cn'`.
|
|
36
51
|
|
|
37
52
|
- apiUrl (string; optional):
|
|
@@ -250,29 +265,122 @@ Keyword arguments:
|
|
|
250
265
|
`data-*`格式属性通配.
|
|
251
266
|
|
|
252
267
|
- aria-* (string; optional):
|
|
253
|
-
`aria-*`格式属性通配.
|
|
254
|
-
|
|
255
|
-
- loading_state (dict; optional)
|
|
256
|
-
|
|
257
|
-
`loading_state` is a dict with keys:
|
|
258
|
-
|
|
259
|
-
- is_loading (boolean; optional):
|
|
260
|
-
Determines if the component is loading or not.
|
|
261
|
-
|
|
262
|
-
- prop_name (string; optional):
|
|
263
|
-
Holds which property is loading.
|
|
264
|
-
|
|
265
|
-
- component_name (string; optional):
|
|
266
|
-
Holds the name of the component that is loading."""
|
|
268
|
+
`aria-*`格式属性通配."""
|
|
267
269
|
_children_props = ['icon', 'text', 'hint']
|
|
268
270
|
_base_nodes = ['icon', 'text', 'hint', 'children']
|
|
269
271
|
_namespace = 'feffery_antd_components'
|
|
270
272
|
_type = 'AntdDraggerUpload'
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
273
|
+
ProgressPropsStrokeColor = TypedDict(
|
|
274
|
+
"ProgressPropsStrokeColor",
|
|
275
|
+
{
|
|
276
|
+
"from": NotRequired[str],
|
|
277
|
+
"to": NotRequired[str]
|
|
278
|
+
}
|
|
279
|
+
)
|
|
280
|
+
|
|
281
|
+
ProgressPropsFormat = TypedDict(
|
|
282
|
+
"ProgressPropsFormat",
|
|
283
|
+
{
|
|
284
|
+
"prefix": NotRequired[str],
|
|
285
|
+
"suffix": NotRequired[str]
|
|
286
|
+
}
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
ProgressProps = TypedDict(
|
|
290
|
+
"ProgressProps",
|
|
291
|
+
{
|
|
292
|
+
"strokeColor": NotRequired[typing.Union[str, "ProgressPropsStrokeColor"]],
|
|
293
|
+
"strokeWidth": NotRequired[NumberType],
|
|
294
|
+
"format": NotRequired["ProgressPropsFormat"]
|
|
295
|
+
}
|
|
296
|
+
)
|
|
297
|
+
|
|
298
|
+
LastUploadTaskRecord = TypedDict(
|
|
299
|
+
"LastUploadTaskRecord",
|
|
300
|
+
{
|
|
301
|
+
"fileName": NotRequired[str],
|
|
302
|
+
"fileSize": NotRequired[NumberType],
|
|
303
|
+
"completeTimestamp": NotRequired[NumberType],
|
|
304
|
+
"taskStatus": NotRequired[str],
|
|
305
|
+
"taskId": NotRequired[str],
|
|
306
|
+
"url": NotRequired[str],
|
|
307
|
+
"uploadResponse": NotRequired[typing.Any]
|
|
308
|
+
}
|
|
309
|
+
)
|
|
310
|
+
|
|
311
|
+
ListUploadTaskRecord = TypedDict(
|
|
312
|
+
"ListUploadTaskRecord",
|
|
313
|
+
{
|
|
314
|
+
"fileName": NotRequired[str],
|
|
315
|
+
"fileSize": NotRequired[NumberType],
|
|
316
|
+
"completeTimestamp": NotRequired[NumberType],
|
|
317
|
+
"taskStatus": NotRequired[str],
|
|
318
|
+
"taskId": NotRequired[str],
|
|
319
|
+
"uid": NotRequired[str],
|
|
320
|
+
"url": NotRequired[str],
|
|
321
|
+
"uploadResponse": NotRequired[typing.Any],
|
|
322
|
+
"originFileObj": NotRequired[typing.Any]
|
|
323
|
+
}
|
|
324
|
+
)
|
|
325
|
+
|
|
326
|
+
DefaultFileList = TypedDict(
|
|
327
|
+
"DefaultFileList",
|
|
328
|
+
{
|
|
329
|
+
"name": NotRequired[str],
|
|
330
|
+
"status": NotRequired[Literal["done", "error", "removed"]],
|
|
331
|
+
"uid": NotRequired[typing.Any],
|
|
332
|
+
"url": NotRequired[str],
|
|
333
|
+
"taskId": NotRequired[str],
|
|
334
|
+
"fileSize": NotRequired[NumberType]
|
|
335
|
+
}
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
def __init__(
|
|
340
|
+
self,
|
|
341
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
342
|
+
key: typing.Optional[str] = None,
|
|
343
|
+
style: typing.Optional[typing.Any] = None,
|
|
344
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
345
|
+
name: typing.Optional[str] = None,
|
|
346
|
+
enableBatchControl: typing.Optional[bool] = None,
|
|
347
|
+
draggerClassName: typing.Optional[typing.Union[str, dict]] = None,
|
|
348
|
+
draggerStyle: typing.Optional[dict] = None,
|
|
349
|
+
locale: typing.Optional[Literal["zh-cn", "en-us", "de-de", "ru-ru"]] = None,
|
|
350
|
+
apiUrl: typing.Optional[str] = None,
|
|
351
|
+
apiUrlExtraParams: typing.Optional[dict] = None,
|
|
352
|
+
headers: typing.Optional[dict] = None,
|
|
353
|
+
withCredentials: typing.Optional[bool] = None,
|
|
354
|
+
withOriginFileObj: typing.Optional[bool] = None,
|
|
355
|
+
downloadUrl: typing.Optional[str] = None,
|
|
356
|
+
downloadUrlExtraParams: typing.Optional[dict] = None,
|
|
357
|
+
downloadUrlFromBackend: typing.Optional[bool] = None,
|
|
358
|
+
icon: typing.Optional[ComponentType] = None,
|
|
359
|
+
text: typing.Optional[ComponentType] = None,
|
|
360
|
+
hint: typing.Optional[ComponentType] = None,
|
|
361
|
+
fileListMaxLength: typing.Optional[NumberType] = None,
|
|
362
|
+
fileTypes: typing.Optional[typing.Sequence[str]] = None,
|
|
363
|
+
uploadId: typing.Optional[str] = None,
|
|
364
|
+
fileMaxSize: typing.Optional[NumberType] = None,
|
|
365
|
+
multiple: typing.Optional[bool] = None,
|
|
366
|
+
directory: typing.Optional[bool] = None,
|
|
367
|
+
failedTooltipInfo: typing.Optional[str] = None,
|
|
368
|
+
showUploadList: typing.Optional[bool] = None,
|
|
369
|
+
confirmBeforeDelete: typing.Optional[bool] = None,
|
|
370
|
+
showPercent: typing.Optional[bool] = None,
|
|
371
|
+
progressProps: typing.Optional["ProgressProps"] = None,
|
|
372
|
+
showSuccessMessage: typing.Optional[bool] = None,
|
|
373
|
+
showErrorMessage: typing.Optional[bool] = None,
|
|
374
|
+
lastUploadTaskRecord: typing.Optional[typing.Union["LastUploadTaskRecord", typing.Sequence["LastUploadTaskRecord"]]] = None,
|
|
375
|
+
listUploadTaskRecord: typing.Optional[typing.Sequence["ListUploadTaskRecord"]] = None,
|
|
376
|
+
defaultFileList: typing.Optional[typing.Sequence["DefaultFileList"]] = None,
|
|
377
|
+
disabled: typing.Optional[bool] = None,
|
|
378
|
+
status: typing.Optional[Literal["error", "warning"]] = None,
|
|
379
|
+
**kwargs
|
|
380
|
+
):
|
|
381
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'draggerClassName', 'draggerStyle', 'locale', 'apiUrl', 'apiUrlExtraParams', 'headers', 'withCredentials', 'withOriginFileObj', 'downloadUrl', 'downloadUrlExtraParams', 'downloadUrlFromBackend', 'icon', 'text', 'hint', 'fileListMaxLength', 'fileTypes', 'uploadId', 'fileMaxSize', 'multiple', 'directory', 'failedTooltipInfo', 'showUploadList', 'confirmBeforeDelete', 'showPercent', 'progressProps', 'showSuccessMessage', 'showErrorMessage', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'defaultFileList', 'disabled', 'status', 'data-*', 'aria-*']
|
|
274
382
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
275
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'draggerClassName', 'draggerStyle', 'locale', 'apiUrl', 'apiUrlExtraParams', 'headers', 'withCredentials', 'withOriginFileObj', 'downloadUrl', 'downloadUrlExtraParams', 'downloadUrlFromBackend', 'icon', 'text', 'hint', 'fileListMaxLength', 'fileTypes', 'uploadId', 'fileMaxSize', 'multiple', 'directory', 'failedTooltipInfo', 'showUploadList', 'confirmBeforeDelete', 'showPercent', 'progressProps', 'showSuccessMessage', 'showErrorMessage', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'defaultFileList', 'disabled', 'status', 'data-*', 'aria-*'
|
|
383
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'draggerClassName', 'draggerStyle', 'locale', 'apiUrl', 'apiUrlExtraParams', 'headers', 'withCredentials', 'withOriginFileObj', 'downloadUrl', 'downloadUrlExtraParams', 'downloadUrlFromBackend', 'icon', 'text', 'hint', 'fileListMaxLength', 'fileTypes', 'uploadId', 'fileMaxSize', 'multiple', 'directory', 'failedTooltipInfo', 'showUploadList', 'confirmBeforeDelete', 'showPercent', 'progressProps', 'showSuccessMessage', 'showErrorMessage', 'lastUploadTaskRecord', 'listUploadTaskRecord', 'defaultFileList', 'disabled', 'status', 'data-*', 'aria-*']
|
|
276
384
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
277
385
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
278
386
|
_locals = locals()
|
|
@@ -280,3 +388,5 @@ Keyword arguments:
|
|
|
280
388
|
args = {k: _locals[k] for k in _explicit_args}
|
|
281
389
|
|
|
282
390
|
super(AntdDraggerUpload, self).__init__(**args)
|
|
391
|
+
|
|
392
|
+
setattr(AntdDraggerUpload, "__init__", _explicitize_args(AntdDraggerUpload.__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 AntdDrawer(Component):
|
|
7
22
|
"""An AntdDrawer 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
|
|
|
@@ -119,29 +131,65 @@ Keyword arguments:
|
|
|
119
131
|
`data-*`格式属性通配.
|
|
120
132
|
|
|
121
133
|
- aria-* (string; optional):
|
|
122
|
-
`aria-*`格式属性通配.
|
|
123
|
-
|
|
124
|
-
- loading_state (dict; optional)
|
|
125
|
-
|
|
126
|
-
`loading_state` is a dict with keys:
|
|
127
|
-
|
|
128
|
-
- is_loading (boolean; optional):
|
|
129
|
-
Determines if the component is loading or not.
|
|
130
|
-
|
|
131
|
-
- prop_name (string; optional):
|
|
132
|
-
Holds which property is loading.
|
|
133
|
-
|
|
134
|
-
- component_name (string; optional):
|
|
135
|
-
Holds the name of the component that is loading."""
|
|
134
|
+
`aria-*`格式属性通配."""
|
|
136
135
|
_children_props = ['title', 'extra', 'footer']
|
|
137
136
|
_base_nodes = ['title', 'extra', 'footer', 'children']
|
|
138
137
|
_namespace = 'feffery_antd_components'
|
|
139
138
|
_type = 'AntdDrawer'
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
139
|
+
ClassNames = TypedDict(
|
|
140
|
+
"ClassNames",
|
|
141
|
+
{
|
|
142
|
+
"header": NotRequired[str],
|
|
143
|
+
"body": NotRequired[str],
|
|
144
|
+
"footer": NotRequired[str],
|
|
145
|
+
"mask": NotRequired[str],
|
|
146
|
+
"content": NotRequired[str]
|
|
147
|
+
}
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
Styles = TypedDict(
|
|
151
|
+
"Styles",
|
|
152
|
+
{
|
|
153
|
+
"header": NotRequired[dict],
|
|
154
|
+
"body": NotRequired[dict],
|
|
155
|
+
"footer": NotRequired[dict],
|
|
156
|
+
"mask": NotRequired[dict],
|
|
157
|
+
"content": NotRequired[dict]
|
|
158
|
+
}
|
|
159
|
+
)
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
def __init__(
|
|
163
|
+
self,
|
|
164
|
+
children: typing.Optional[ComponentType] = None,
|
|
165
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
166
|
+
key: typing.Optional[str] = None,
|
|
167
|
+
style: typing.Optional[typing.Any] = None,
|
|
168
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
169
|
+
classNames: typing.Optional["ClassNames"] = None,
|
|
170
|
+
styles: typing.Optional["Styles"] = None,
|
|
171
|
+
rootStyle: typing.Optional[dict] = None,
|
|
172
|
+
visible: typing.Optional[bool] = None,
|
|
173
|
+
title: typing.Optional[ComponentType] = None,
|
|
174
|
+
placement: typing.Optional[Literal["left", "right", "top", "bottom"]] = None,
|
|
175
|
+
closable: typing.Optional[bool] = None,
|
|
176
|
+
forceRender: typing.Optional[bool] = None,
|
|
177
|
+
destroyOnClose: typing.Optional[bool] = None,
|
|
178
|
+
width: typing.Optional[typing.Union[NumberType, str]] = None,
|
|
179
|
+
height: typing.Optional[typing.Union[NumberType, str]] = None,
|
|
180
|
+
mask: typing.Optional[bool] = None,
|
|
181
|
+
maskClosable: typing.Optional[bool] = None,
|
|
182
|
+
zIndex: typing.Optional[NumberType] = None,
|
|
183
|
+
loading: typing.Optional[bool] = None,
|
|
184
|
+
extra: typing.Optional[ComponentType] = None,
|
|
185
|
+
footer: typing.Optional[ComponentType] = None,
|
|
186
|
+
containerId: typing.Optional[str] = None,
|
|
187
|
+
containerSelector: typing.Optional[str] = None,
|
|
188
|
+
**kwargs
|
|
189
|
+
):
|
|
190
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'classNames', 'styles', 'rootStyle', 'visible', 'title', 'placement', 'closable', 'forceRender', 'destroyOnClose', 'width', 'height', 'mask', 'maskClosable', 'zIndex', 'loading', 'extra', 'footer', 'containerId', 'containerSelector', 'data-*', 'aria-*']
|
|
143
191
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
144
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'classNames', 'styles', 'rootStyle', 'visible', 'title', 'placement', 'closable', 'forceRender', 'destroyOnClose', 'width', 'height', 'mask', 'maskClosable', 'zIndex', 'loading', 'extra', 'footer', 'containerId', 'containerSelector', 'data-*', 'aria-*'
|
|
192
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'classNames', 'styles', 'rootStyle', 'visible', 'title', 'placement', 'closable', 'forceRender', 'destroyOnClose', 'width', 'height', 'mask', 'maskClosable', 'zIndex', 'loading', 'extra', 'footer', 'containerId', 'containerSelector', 'data-*', 'aria-*']
|
|
145
193
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
146
194
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
147
195
|
_locals = locals()
|
|
@@ -149,3 +197,5 @@ Keyword arguments:
|
|
|
149
197
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
150
198
|
|
|
151
199
|
super(AntdDrawer, self).__init__(children=children, **args)
|
|
200
|
+
|
|
201
|
+
setattr(AntdDrawer, "__init__", _explicitize_args(AntdDrawer.__init__))
|