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 AntdTitle(Component):
|
|
7
22
|
"""An AntdTitle component.
|
|
@@ -18,14 +33,11 @@ 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
|
-
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de'; default 'zh-cn'):
|
|
28
|
-
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'
|
|
39
|
+
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
40
|
+
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
29
41
|
默认值:`'zh-cn'`.
|
|
30
42
|
|
|
31
43
|
- level (number; default 1):
|
|
@@ -65,29 +77,37 @@ Keyword arguments:
|
|
|
65
77
|
`data-*`格式属性通配.
|
|
66
78
|
|
|
67
79
|
- aria-* (string; optional):
|
|
68
|
-
`aria-*`格式属性通配.
|
|
69
|
-
|
|
70
|
-
- loading_state (dict; optional)
|
|
71
|
-
|
|
72
|
-
`loading_state` is a dict with keys:
|
|
73
|
-
|
|
74
|
-
- is_loading (boolean; optional):
|
|
75
|
-
Determines if the component is loading or not.
|
|
76
|
-
|
|
77
|
-
- prop_name (string; optional):
|
|
78
|
-
Holds which property is loading.
|
|
79
|
-
|
|
80
|
-
- component_name (string; optional):
|
|
81
|
-
Holds the name of the component that is loading."""
|
|
80
|
+
`aria-*`格式属性通配."""
|
|
82
81
|
_children_props = []
|
|
83
82
|
_base_nodes = ['children']
|
|
84
83
|
_namespace = 'feffery_antd_components'
|
|
85
84
|
_type = 'AntdTitle'
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
85
|
+
|
|
86
|
+
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
children: typing.Optional[ComponentType] = None,
|
|
90
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
91
|
+
key: typing.Optional[str] = None,
|
|
92
|
+
style: typing.Optional[typing.Any] = None,
|
|
93
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
94
|
+
locale: typing.Optional[Literal["zh-cn", "en-us", "de-de", "ru-ru"]] = None,
|
|
95
|
+
level: typing.Optional[NumberType] = None,
|
|
96
|
+
code: typing.Optional[bool] = None,
|
|
97
|
+
copyable: typing.Optional[bool] = None,
|
|
98
|
+
strikethrough: typing.Optional[bool] = None,
|
|
99
|
+
disabled: typing.Optional[bool] = None,
|
|
100
|
+
mark: typing.Optional[bool] = None,
|
|
101
|
+
strong: typing.Optional[bool] = None,
|
|
102
|
+
italic: typing.Optional[bool] = None,
|
|
103
|
+
underline: typing.Optional[bool] = None,
|
|
104
|
+
keyboard: typing.Optional[bool] = None,
|
|
105
|
+
type: typing.Optional[Literal["secondary", "success", "warning", "danger"]] = None,
|
|
106
|
+
**kwargs
|
|
107
|
+
):
|
|
108
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'locale', 'level', 'code', 'copyable', 'strikethrough', 'disabled', 'mark', 'strong', 'italic', 'underline', 'keyboard', 'type', 'data-*', 'aria-*']
|
|
89
109
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
90
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'locale', 'level', 'code', 'copyable', 'strikethrough', 'disabled', 'mark', 'strong', 'italic', 'underline', 'keyboard', 'type', 'data-*', 'aria-*'
|
|
110
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'locale', 'level', 'code', 'copyable', 'strikethrough', 'disabled', 'mark', 'strong', 'italic', 'underline', 'keyboard', 'type', 'data-*', 'aria-*']
|
|
91
111
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
92
112
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
93
113
|
_locals = locals()
|
|
@@ -95,3 +115,5 @@ Keyword arguments:
|
|
|
95
115
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
96
116
|
|
|
97
117
|
super(AntdTitle, self).__init__(children=children, **args)
|
|
118
|
+
|
|
119
|
+
setattr(AntdTitle, "__init__", _explicitize_args(AntdTitle.__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 AntdTooltip(Component):
|
|
7
22
|
"""An AntdTooltip component.
|
|
@@ -18,12 +33,31 @@ 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
|
+
- body (dict; optional):
|
|
48
|
+
内容元素css样式.
|
|
49
|
+
|
|
50
|
+
- classNames (dict; optional):
|
|
51
|
+
细分控制子元素css类名.
|
|
52
|
+
|
|
53
|
+
`classNames` is a dict with keys:
|
|
54
|
+
|
|
55
|
+
- root (string; optional):
|
|
56
|
+
根元素(包含箭头、内容元素)css类名.
|
|
57
|
+
|
|
58
|
+
- body (string; optional):
|
|
59
|
+
内容元素css类名.
|
|
60
|
+
|
|
27
61
|
- title (a list of or a singular dash component, string or number; optional):
|
|
28
62
|
组件型,文字提示内容.
|
|
29
63
|
|
|
@@ -40,15 +74,6 @@ Keyword arguments:
|
|
|
40
74
|
- mouseLeaveDelay (number; default 0.1):
|
|
41
75
|
鼠标移出到文字提示消失延时,单位:秒 默认值:`0.1`.
|
|
42
76
|
|
|
43
|
-
- overlayClassName (string | dict; optional):
|
|
44
|
-
文字提示卡片css类名,支持[动态css](/advanced-classname).
|
|
45
|
-
|
|
46
|
-
- overlayStyle (dict; optional):
|
|
47
|
-
文字提示卡片css样式.
|
|
48
|
-
|
|
49
|
-
- overlayInnerStyle (dict; optional):
|
|
50
|
-
内容区css样式.
|
|
51
|
-
|
|
52
77
|
- trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; default 'hover'):
|
|
53
78
|
触发方式,可选项有`'hover'`、`'focus'`、`'click'`,可多选 默认值:`'hover'`.
|
|
54
79
|
|
|
@@ -92,11 +117,59 @@ Keyword arguments:
|
|
|
92
117
|
_base_nodes = ['title', 'children']
|
|
93
118
|
_namespace = 'feffery_antd_components'
|
|
94
119
|
_type = 'AntdTooltip'
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
120
|
+
Styles = TypedDict(
|
|
121
|
+
"Styles",
|
|
122
|
+
{
|
|
123
|
+
"root": NotRequired[dict],
|
|
124
|
+
"body": NotRequired[dict]
|
|
125
|
+
}
|
|
126
|
+
)
|
|
127
|
+
|
|
128
|
+
ClassNames = TypedDict(
|
|
129
|
+
"ClassNames",
|
|
130
|
+
{
|
|
131
|
+
"root": NotRequired[str],
|
|
132
|
+
"body": NotRequired[str]
|
|
133
|
+
}
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
LoadingState = TypedDict(
|
|
137
|
+
"LoadingState",
|
|
138
|
+
{
|
|
139
|
+
"is_loading": NotRequired[bool],
|
|
140
|
+
"prop_name": NotRequired[str],
|
|
141
|
+
"component_name": NotRequired[str]
|
|
142
|
+
}
|
|
143
|
+
)
|
|
144
|
+
|
|
145
|
+
|
|
146
|
+
def __init__(
|
|
147
|
+
self,
|
|
148
|
+
children: typing.Optional[ComponentType] = None,
|
|
149
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
150
|
+
key: typing.Optional[str] = None,
|
|
151
|
+
style: typing.Optional[typing.Any] = None,
|
|
152
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
153
|
+
styles: typing.Optional["Styles"] = None,
|
|
154
|
+
classNames: typing.Optional["ClassNames"] = None,
|
|
155
|
+
title: typing.Optional[ComponentType] = None,
|
|
156
|
+
placement: typing.Optional[Literal["top", "left", "right", "bottom", "topLeft", "topRight", "bottomLeft", "bottomRight"]] = None,
|
|
157
|
+
color: typing.Optional[str] = None,
|
|
158
|
+
mouseEnterDelay: typing.Optional[NumberType] = None,
|
|
159
|
+
mouseLeaveDelay: typing.Optional[NumberType] = None,
|
|
160
|
+
trigger: typing.Optional[typing.Union[Literal["hover", "focus", "click"], typing.Sequence[Literal["hover", "focus", "click"]]]] = None,
|
|
161
|
+
zIndex: typing.Optional[NumberType] = None,
|
|
162
|
+
arrow: typing.Optional[Literal["show", "hide", "center"]] = None,
|
|
163
|
+
fresh: typing.Optional[bool] = None,
|
|
164
|
+
open: typing.Optional[bool] = None,
|
|
165
|
+
permanent: typing.Optional[bool] = None,
|
|
166
|
+
popupContainer: typing.Optional[Literal["parent", "body"]] = None,
|
|
167
|
+
loading_state: typing.Optional["LoadingState"] = None,
|
|
168
|
+
**kwargs
|
|
169
|
+
):
|
|
170
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'title', 'placement', 'color', 'mouseEnterDelay', 'mouseLeaveDelay', 'trigger', 'zIndex', 'arrow', 'fresh', 'open', 'permanent', 'popupContainer', 'data-*', 'aria-*', 'loading_state']
|
|
98
171
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
99
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', '
|
|
172
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'styles', 'classNames', 'title', 'placement', 'color', 'mouseEnterDelay', 'mouseLeaveDelay', 'trigger', 'zIndex', 'arrow', 'fresh', 'open', 'permanent', 'popupContainer', 'data-*', 'aria-*', 'loading_state']
|
|
100
173
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
101
174
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
102
175
|
_locals = locals()
|
|
@@ -104,3 +177,5 @@ Keyword arguments:
|
|
|
104
177
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
105
178
|
|
|
106
179
|
super(AntdTooltip, self).__init__(children=children, **args)
|
|
180
|
+
|
|
181
|
+
setattr(AntdTooltip, "__init__", _explicitize_args(AntdTooltip.__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 AntdTour(Component):
|
|
7
22
|
"""An AntdTour component.
|
|
@@ -15,14 +30,11 @@ 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
|
-
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de'; default 'zh-cn'):
|
|
25
|
-
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'
|
|
36
|
+
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
37
|
+
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
26
38
|
默认值:`'zh-cn'`.
|
|
27
39
|
|
|
28
40
|
- steps (list of dicts; optional):
|
|
@@ -130,29 +142,93 @@ Keyword arguments:
|
|
|
130
142
|
`data-*`格式属性通配.
|
|
131
143
|
|
|
132
144
|
- aria-* (string; optional):
|
|
133
|
-
`aria-*`格式属性通配.
|
|
134
|
-
|
|
135
|
-
- loading_state (dict; optional)
|
|
136
|
-
|
|
137
|
-
`loading_state` is a dict with keys:
|
|
138
|
-
|
|
139
|
-
- is_loading (boolean; optional):
|
|
140
|
-
Determines if the component is loading or not.
|
|
141
|
-
|
|
142
|
-
- prop_name (string; optional):
|
|
143
|
-
Holds which property is loading.
|
|
144
|
-
|
|
145
|
-
- component_name (string; optional):
|
|
146
|
-
Holds the name of the component that is loading."""
|
|
145
|
+
`aria-*`格式属性通配."""
|
|
147
146
|
_children_props = ['steps[].cover', 'steps[].title', 'steps[].description', 'steps[].nextButtonProps.children', 'steps[].prevButtonProps.children']
|
|
148
147
|
_base_nodes = ['children']
|
|
149
148
|
_namespace = 'feffery_antd_components'
|
|
150
149
|
_type = 'AntdTour'
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
150
|
+
StepsArrow = TypedDict(
|
|
151
|
+
"StepsArrow",
|
|
152
|
+
{
|
|
153
|
+
"pointAtCenter": NotRequired[bool]
|
|
154
|
+
}
|
|
155
|
+
)
|
|
156
|
+
|
|
157
|
+
StepsMask = TypedDict(
|
|
158
|
+
"StepsMask",
|
|
159
|
+
{
|
|
160
|
+
"style": NotRequired[dict],
|
|
161
|
+
"color": NotRequired[str]
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
StepsNextButtonProps = TypedDict(
|
|
166
|
+
"StepsNextButtonProps",
|
|
167
|
+
{
|
|
168
|
+
"children": NotRequired[ComponentType]
|
|
169
|
+
}
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
StepsPrevButtonProps = TypedDict(
|
|
173
|
+
"StepsPrevButtonProps",
|
|
174
|
+
{
|
|
175
|
+
"children": NotRequired[ComponentType]
|
|
176
|
+
}
|
|
177
|
+
)
|
|
178
|
+
|
|
179
|
+
Steps = TypedDict(
|
|
180
|
+
"Steps",
|
|
181
|
+
{
|
|
182
|
+
"targetId": NotRequired[str],
|
|
183
|
+
"targetSelector": NotRequired[str],
|
|
184
|
+
"arrow": NotRequired[typing.Union[bool, "StepsArrow"]],
|
|
185
|
+
"cover": NotRequired[ComponentType],
|
|
186
|
+
"title": NotRequired[ComponentType],
|
|
187
|
+
"description": NotRequired[ComponentType],
|
|
188
|
+
"placement": NotRequired[Literal["center", "left", "leftTop", "leftBottom", "right", "rightTop", "rightBottom", "top", "topLeft", "topRight", "bottom", "bottomLeft", "bottomRight"]],
|
|
189
|
+
"mask": NotRequired[typing.Union[bool, "StepsMask"]],
|
|
190
|
+
"type": NotRequired[Literal["default", "primary"]],
|
|
191
|
+
"nextButtonProps": NotRequired["StepsNextButtonProps"],
|
|
192
|
+
"prevButtonProps": NotRequired["StepsPrevButtonProps"]
|
|
193
|
+
}
|
|
194
|
+
)
|
|
195
|
+
|
|
196
|
+
Arrow = TypedDict(
|
|
197
|
+
"Arrow",
|
|
198
|
+
{
|
|
199
|
+
"pointAtCenter": NotRequired[bool]
|
|
200
|
+
}
|
|
201
|
+
)
|
|
202
|
+
|
|
203
|
+
Mask = TypedDict(
|
|
204
|
+
"Mask",
|
|
205
|
+
{
|
|
206
|
+
"style": NotRequired[dict],
|
|
207
|
+
"color": NotRequired[str]
|
|
208
|
+
}
|
|
209
|
+
)
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
def __init__(
|
|
213
|
+
self,
|
|
214
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
215
|
+
key: typing.Optional[str] = None,
|
|
216
|
+
style: typing.Optional[typing.Any] = None,
|
|
217
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
218
|
+
locale: typing.Optional[Literal["zh-cn", "en-us", "de-de", "ru-ru"]] = None,
|
|
219
|
+
steps: typing.Optional[typing.Sequence["Steps"]] = None,
|
|
220
|
+
arrow: typing.Optional[typing.Union[bool, "Arrow"]] = None,
|
|
221
|
+
placement: typing.Optional[Literal["center", "left", "leftTop", "leftBottom", "right", "rightTop", "rightBottom", "top", "topLeft", "topRight", "bottom", "bottomLeft", "bottomRight"]] = None,
|
|
222
|
+
mask: typing.Optional[typing.Union[bool, "Mask"]] = None,
|
|
223
|
+
type: typing.Optional[Literal["default", "primary"]] = None,
|
|
224
|
+
open: typing.Optional[bool] = None,
|
|
225
|
+
current: typing.Optional[NumberType] = None,
|
|
226
|
+
zIndex: typing.Optional[NumberType] = None,
|
|
227
|
+
**kwargs
|
|
228
|
+
):
|
|
229
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'locale', 'steps', 'arrow', 'placement', 'mask', 'type', 'open', 'current', 'zIndex', 'data-*', 'aria-*']
|
|
154
230
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
155
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'locale', 'steps', 'arrow', 'placement', 'mask', 'type', 'open', 'current', 'zIndex', 'data-*', 'aria-*'
|
|
231
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'locale', 'steps', 'arrow', 'placement', 'mask', 'type', 'open', 'current', 'zIndex', 'data-*', 'aria-*']
|
|
156
232
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
157
233
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
158
234
|
_locals = locals()
|
|
@@ -160,3 +236,5 @@ Keyword arguments:
|
|
|
160
236
|
args = {k: _locals[k] for k in _explicit_args}
|
|
161
237
|
|
|
162
238
|
super(AntdTour, self).__init__(**args)
|
|
239
|
+
|
|
240
|
+
setattr(AntdTour, "__init__", _explicitize_args(AntdTour.__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 AntdTransfer(Component):
|
|
7
22
|
"""An AntdTransfer 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
|
- dataSource (list of dicts; optional):
|
|
@@ -121,21 +136,78 @@ Keyword arguments:
|
|
|
121
136
|
- persistence (boolean | string | number; optional):
|
|
122
137
|
是否开启[属性持久化](/prop-persistence).
|
|
123
138
|
|
|
124
|
-
- persisted_props (list of a value equal to: 'targetKeys's;
|
|
139
|
+
- persisted_props (list of a value equal to: 'targetKeys's; optional):
|
|
125
140
|
开启属性持久化功能的若干属性名,可选项有`'targetKeys'` 默认值:`['targetKeys']`.
|
|
126
141
|
|
|
127
|
-
- persistence_type (a value equal to: 'local', 'session', 'memory';
|
|
142
|
+
- persistence_type (a value equal to: 'local', 'session', 'memory'; optional):
|
|
128
143
|
属性持久化存储类型,可选项有`'local'`(本地持久化),`'session'`(会话持久化),`'memory'`(内存持久化)
|
|
129
144
|
默认值:`'local'`."""
|
|
130
145
|
_children_props = ['dataSource[].title', 'selectionsIcon', 'operations', 'titles']
|
|
131
146
|
_base_nodes = ['selectionsIcon', 'operations', 'titles', 'children']
|
|
132
147
|
_namespace = 'feffery_antd_components'
|
|
133
148
|
_type = 'AntdTransfer'
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
149
|
+
DataSource = TypedDict(
|
|
150
|
+
"DataSource",
|
|
151
|
+
{
|
|
152
|
+
"key": NotRequired[typing.Union[str, NumberType]],
|
|
153
|
+
"title": NotRequired[ComponentType],
|
|
154
|
+
"disabled": NotRequired[bool]
|
|
155
|
+
}
|
|
156
|
+
)
|
|
157
|
+
|
|
158
|
+
Pagination = TypedDict(
|
|
159
|
+
"Pagination",
|
|
160
|
+
{
|
|
161
|
+
"pageSize": NotRequired[NumberType]
|
|
162
|
+
}
|
|
163
|
+
)
|
|
164
|
+
|
|
165
|
+
LoadingState = TypedDict(
|
|
166
|
+
"LoadingState",
|
|
167
|
+
{
|
|
168
|
+
"is_loading": NotRequired[bool],
|
|
169
|
+
"prop_name": NotRequired[str],
|
|
170
|
+
"component_name": NotRequired[str]
|
|
171
|
+
}
|
|
172
|
+
)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
def __init__(
|
|
176
|
+
self,
|
|
177
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
178
|
+
key: typing.Optional[str] = None,
|
|
179
|
+
style: typing.Optional[typing.Any] = None,
|
|
180
|
+
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
181
|
+
name: typing.Optional[str] = None,
|
|
182
|
+
enableBatchControl: typing.Optional[bool] = None,
|
|
183
|
+
locale: typing.Optional[Literal["zh-cn", "en-us", "de-de", "ru-ru"]] = None,
|
|
184
|
+
dataSource: typing.Optional[typing.Sequence["DataSource"]] = None,
|
|
185
|
+
selectionsIcon: typing.Optional[ComponentType] = None,
|
|
186
|
+
height: typing.Optional[typing.Union[str, NumberType]] = None,
|
|
187
|
+
pagination: typing.Optional[typing.Union[bool, "Pagination"]] = None,
|
|
188
|
+
oneWay: typing.Optional[bool] = None,
|
|
189
|
+
operations: typing.Optional[typing.Sequence[ComponentType]] = None,
|
|
190
|
+
showSearch: typing.Optional[bool] = None,
|
|
191
|
+
optionFilterMode: typing.Optional[Literal["case-insensitive", "case-sensitive", "regex"]] = None,
|
|
192
|
+
showSelectAll: typing.Optional[bool] = None,
|
|
193
|
+
titles: typing.Optional[typing.Sequence[ComponentType]] = None,
|
|
194
|
+
targetKeys: typing.Optional[typing.Sequence[typing.Union[NumberType, str]]] = None,
|
|
195
|
+
moveDirection: typing.Optional[Literal["left", "right"]] = None,
|
|
196
|
+
moveKeys: typing.Optional[typing.Sequence[typing.Union[NumberType, str]]] = None,
|
|
197
|
+
disabled: typing.Optional[bool] = None,
|
|
198
|
+
status: typing.Optional[Literal["error", "warning"]] = None,
|
|
199
|
+
readOnly: typing.Optional[bool] = None,
|
|
200
|
+
batchPropsNames: typing.Optional[typing.Sequence[str]] = None,
|
|
201
|
+
batchPropsValues: typing.Optional[dict] = None,
|
|
202
|
+
loading_state: typing.Optional["LoadingState"] = None,
|
|
203
|
+
persistence: typing.Optional[typing.Union[bool, str, NumberType]] = None,
|
|
204
|
+
persisted_props: typing.Optional[typing.Sequence[Literal["targetKeys"]]] = None,
|
|
205
|
+
persistence_type: typing.Optional[Literal["local", "session", "memory"]] = None,
|
|
206
|
+
**kwargs
|
|
207
|
+
):
|
|
208
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'locale', 'dataSource', 'selectionsIcon', 'height', 'pagination', 'oneWay', 'operations', 'showSearch', 'optionFilterMode', 'showSelectAll', 'titles', 'targetKeys', 'moveDirection', 'moveKeys', 'disabled', 'status', 'readOnly', 'batchPropsNames', 'batchPropsValues', 'data-*', 'aria-*', 'loading_state', 'persistence', 'persisted_props', 'persistence_type']
|
|
137
209
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
138
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'locale', 'dataSource', 'selectionsIcon', 'height', 'pagination', 'oneWay', 'operations', 'showSearch', 'optionFilterMode', 'showSelectAll', 'titles', 'targetKeys', 'moveDirection', 'moveKeys', 'disabled', 'status', 'readOnly', 'batchPropsNames', 'batchPropsValues', 'data-*', 'aria-*', 'loading_state', 'persistence', 'persisted_props', 'persistence_type']
|
|
210
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'name', 'enableBatchControl', 'locale', 'dataSource', 'selectionsIcon', 'height', 'pagination', 'oneWay', 'operations', 'showSearch', 'optionFilterMode', 'showSelectAll', 'titles', 'targetKeys', 'moveDirection', 'moveKeys', 'disabled', 'status', 'readOnly', 'batchPropsNames', 'batchPropsValues', 'data-*', 'aria-*', 'loading_state', 'persistence', 'persisted_props', 'persistence_type']
|
|
139
211
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
140
212
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
141
213
|
_locals = locals()
|
|
@@ -143,3 +215,5 @@ Keyword arguments:
|
|
|
143
215
|
args = {k: _locals[k] for k in _explicit_args}
|
|
144
216
|
|
|
145
217
|
super(AntdTransfer, self).__init__(**args)
|
|
218
|
+
|
|
219
|
+
setattr(AntdTransfer, "__init__", _explicitize_args(AntdTransfer.__init__))
|