feffery_antd_components 0.3.14 → 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 +9 -2
- package/README.md +23 -2
- package/feffery_antd_components/AntdAccordion.py +26 -42
- package/feffery_antd_components/AntdAffix.py +29 -40
- package/feffery_antd_components/AntdAlert.py +26 -41
- package/feffery_antd_components/AntdAnchor.py +25 -40
- package/feffery_antd_components/AntdAvatar.py +28 -44
- package/feffery_antd_components/AntdAvatarGroup.py +65 -56
- package/feffery_antd_components/AntdBackTop.py +25 -40
- package/feffery_antd_components/AntdBadge.py +25 -41
- package/feffery_antd_components/AntdBreadcrumb.py +37 -40
- package/feffery_antd_components/AntdButton.py +28 -44
- package/feffery_antd_components/AntdCalendar.py +34 -46
- package/feffery_antd_components/AntdCard.py +100 -52
- package/feffery_antd_components/AntdCardGrid.py +24 -39
- package/feffery_antd_components/AntdCardMeta.py +25 -40
- package/feffery_antd_components/AntdCarousel.py +37 -41
- package/feffery_antd_components/AntdCascader.py +40 -51
- package/feffery_antd_components/AntdCenter.py +23 -38
- package/feffery_antd_components/AntdCheckCard.py +30 -41
- package/feffery_antd_components/AntdCheckCardGroup.py +31 -42
- package/feffery_antd_components/AntdCheckableTag.py +25 -40
- package/feffery_antd_components/AntdCheckbox.py +29 -40
- package/feffery_antd_components/AntdCheckboxGroup.py +30 -42
- package/feffery_antd_components/AntdCol.py +63 -79
- package/feffery_antd_components/AntdCollapse.py +24 -40
- package/feffery_antd_components/AntdColorPicker.py +28 -40
- package/feffery_antd_components/AntdComment.py +27 -20
- package/feffery_antd_components/AntdCompact.py +23 -38
- package/feffery_antd_components/AntdConfigProvider.py +22 -35
- package/feffery_antd_components/AntdContent.py +23 -38
- package/feffery_antd_components/AntdCopyText.py +28 -43
- package/feffery_antd_components/AntdCountdown.py +36 -36
- package/feffery_antd_components/AntdCustomSkeleton.py +25 -40
- package/feffery_antd_components/AntdDatePicker.py +43 -57
- package/feffery_antd_components/AntdDateRangePicker.py +43 -57
- package/feffery_antd_components/AntdDescriptionItem.py +60 -44
- package/feffery_antd_components/AntdDescriptions.py +105 -65
- package/feffery_antd_components/AntdDivider.py +24 -39
- package/feffery_antd_components/AntdDraggerUpload.py +38 -50
- package/feffery_antd_components/AntdDrawer.py +27 -43
- package/feffery_antd_components/AntdDropdown.py +29 -41
- package/feffery_antd_components/AntdEmpty.py +77 -41
- package/feffery_antd_components/AntdFlex.py +24 -39
- package/feffery_antd_components/AntdFloatButton.py +26 -41
- package/feffery_antd_components/AntdFloatButtonGroup.py +31 -40
- package/feffery_antd_components/AntdFooter.py +23 -38
- package/feffery_antd_components/AntdForm.py +28 -44
- package/feffery_antd_components/AntdFormItem.py +31 -47
- package/feffery_antd_components/AntdFormRender.py +41 -34
- package/feffery_antd_components/AntdHeader.py +23 -38
- package/feffery_antd_components/AntdIcon.py +24 -39
- package/feffery_antd_components/AntdImage.py +31 -47
- package/feffery_antd_components/AntdImageGroup.py +30 -46
- package/feffery_antd_components/AntdInput.py +39 -51
- package/feffery_antd_components/AntdInputNumber.py +42 -53
- package/feffery_antd_components/AntdLayout.py +23 -38
- package/feffery_antd_components/AntdMentions.py +30 -42
- package/feffery_antd_components/AntdMenu.py +27 -43
- package/feffery_antd_components/AntdMessage.py +25 -44
- package/feffery_antd_components/AntdModal.py +129 -55
- package/feffery_antd_components/AntdNotification.py +33 -41
- package/feffery_antd_components/AntdOTP.py +32 -43
- package/feffery_antd_components/AntdPageHeader.py +26 -41
- package/feffery_antd_components/AntdPagination.py +33 -48
- package/feffery_antd_components/AntdParagraph.py +26 -42
- package/feffery_antd_components/AntdPictureUpload.py +44 -56
- package/feffery_antd_components/AntdPopconfirm.py +74 -39
- package/feffery_antd_components/AntdPopover.py +63 -51
- package/feffery_antd_components/AntdPopupCard.py +93 -41
- package/feffery_antd_components/AntdProgress.py +46 -49
- package/feffery_antd_components/AntdQRCode.py +29 -45
- package/feffery_antd_components/AntdRadioGroup.py +31 -43
- package/feffery_antd_components/AntdRate.py +29 -40
- package/feffery_antd_components/AntdResult.py +26 -41
- package/feffery_antd_components/AntdRibbon.py +24 -39
- package/feffery_antd_components/AntdRow.py +28 -44
- package/feffery_antd_components/AntdSegmented.py +34 -23
- package/feffery_antd_components/AntdSegmentedColoring.py +30 -46
- package/feffery_antd_components/AntdSelect.py +50 -62
- package/feffery_antd_components/AntdSider.py +26 -41
- package/feffery_antd_components/AntdSkeleton.py +26 -42
- package/feffery_antd_components/AntdSkeletonAvatar.py +23 -38
- package/feffery_antd_components/AntdSkeletonButton.py +22 -37
- package/feffery_antd_components/AntdSkeletonImage.py +21 -36
- package/feffery_antd_components/AntdSkeletonInput.py +22 -37
- package/feffery_antd_components/AntdSlider.py +60 -52
- package/feffery_antd_components/AntdSpace.py +23 -39
- package/feffery_antd_components/AntdSpin.py +27 -42
- package/feffery_antd_components/AntdSplitter.py +29 -41
- package/feffery_antd_components/AntdSpoiler.py +30 -45
- package/feffery_antd_components/AntdStatistic.py +23 -16
- package/feffery_antd_components/AntdSteps.py +26 -42
- package/feffery_antd_components/AntdSwitch.py +29 -18
- package/feffery_antd_components/AntdTable.py +103 -107
- package/feffery_antd_components/AntdTabs.py +34 -50
- package/feffery_antd_components/AntdTag.py +25 -40
- package/feffery_antd_components/AntdText.py +24 -40
- package/feffery_antd_components/AntdTimePicker.py +39 -28
- package/feffery_antd_components/AntdTimeRangePicker.py +40 -53
- package/feffery_antd_components/AntdTimeline.py +25 -41
- package/feffery_antd_components/AntdTitle.py +27 -42
- package/feffery_antd_components/AntdTooltip.py +65 -30
- package/feffery_antd_components/AntdTour.py +30 -46
- package/feffery_antd_components/AntdTransfer.py +39 -28
- package/feffery_antd_components/AntdTree.py +29 -45
- package/feffery_antd_components/AntdTreeSelect.py +46 -36
- package/feffery_antd_components/AntdUpload.py +37 -26
- package/feffery_antd_components/AntdWatermark.py +34 -45
- package/feffery_antd_components/Fragment.py +21 -33
- 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 -190
- package/feffery_antd_components/AntdEditorLayout.py +0 -353
- 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
package/DESCRIPTION
CHANGED
package/NAMESPACE
CHANGED
|
@@ -108,5 +108,5 @@ export('feffery'AntdCopyText)
|
|
|
108
108
|
export('feffery'AntdTour)
|
|
109
109
|
export('feffery'AntdWatermark)
|
|
110
110
|
export('feffery'Fragment)
|
|
111
|
-
export(
|
|
112
|
-
export(
|
|
111
|
+
export(AntdDraggablePanel)
|
|
112
|
+
export(AntdEditorLayout)
|
package/Project.toml
CHANGED
package/README-en_US.md
CHANGED
|
@@ -15,7 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
[简体中文](./README.md) | English
|
|
17
17
|
|
|
18
|
-
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.3.
|
|
18
|
+
Subproject of `feffery-components` projects, third-party components library of `Plotly Dash`, based on the [Antd](https://github.com/ant-design/ant-design), brings many common and powerful components into `Dash`🥳, latest stable version: `0.3.15` (2025-01-30)
|
|
19
|
+
|
|
20
|
+
## Dash Version Compatibility Notes
|
|
21
|
+
|
|
22
|
+
| fac version | Compatible Dash Version |
|
|
23
|
+
| :--------: | :---------------------: |
|
|
24
|
+
| >=0.4.0 | >=3.0.0 |
|
|
25
|
+
| <0.4.0 | <3.0.0 |
|
|
19
26
|
|
|
20
27
|
## 1 Install
|
|
21
28
|
|
|
@@ -26,7 +33,7 @@ pip install feffery-antd-components -U
|
|
|
26
33
|
## 2 Install the latest preview release version
|
|
27
34
|
|
|
28
35
|
> [!NOTE]
|
|
29
|
-
> The latest preview release version (
|
|
36
|
+
> The latest preview release version (2025-04-26): `0.4.0rc4`
|
|
30
37
|
|
|
31
38
|
```bash
|
|
32
39
|
pip install feffery-antd-components --pre -U
|
package/README.md
CHANGED
|
@@ -15,7 +15,14 @@
|
|
|
15
15
|
|
|
16
16
|
简体中文 | [English](./README-en_US.md)
|
|
17
17
|
|
|
18
|
-
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.3.
|
|
18
|
+
`feffery-components`计划子项目,`Plotly Dash`第三方组件库,基于`Antd`,将超多具有丰富功能的通用网页常用交互组件引入`Dash`的生态中 🥳,最新稳定版本:`0.3.15`(2025-01-30)
|
|
19
|
+
|
|
20
|
+
## Dash版本兼容性说明
|
|
21
|
+
|
|
22
|
+
| fac版本 | 适用Dash版本 |
|
|
23
|
+
| :-----: | :----------: |
|
|
24
|
+
| >=0.4.0 | >=3.0.0 |
|
|
25
|
+
| <0.4.0 | <3.0.0 |
|
|
19
26
|
|
|
20
27
|
## 1 最新版本安装方式
|
|
21
28
|
|
|
@@ -26,7 +33,7 @@ pip install feffery-antd-components -U
|
|
|
26
33
|
## 2 最新预发布版本安装方式
|
|
27
34
|
|
|
28
35
|
> [!NOTE]
|
|
29
|
-
> 最新预发布版本(
|
|
36
|
+
> 最新预发布版本(2025-04-26):`0.4.0rc4`
|
|
30
37
|
|
|
31
38
|
```bash
|
|
32
39
|
pip install feffery-antd-components --pre -U
|
|
@@ -65,3 +72,17 @@ fac.AntdDatePicker(locale='de-de')
|
|
|
65
72
|
<a href = "https://github.com/CNFeffery/feffery-antd-components/graphs/contributors">
|
|
66
73
|
<img src = "https://contrib.rocks/image?repo=CNFeffery/feffery-antd-components"/>
|
|
67
74
|
</a>
|
|
75
|
+
|
|
76
|
+
## 7 更多应用开发教程
|
|
77
|
+
|
|
78
|
+
> 微信公众号「玩转 Dash」,欢迎扫码关注 👇
|
|
79
|
+
|
|
80
|
+
<p align="center" >
|
|
81
|
+
<img src="./images/公众号.png" height=220 />
|
|
82
|
+
</p>
|
|
83
|
+
|
|
84
|
+
> 「玩转 Dash」知识星球,海量教程案例模板资源,专业的答疑咨询服务,欢迎扫码加入 👇
|
|
85
|
+
|
|
86
|
+
<p align="center" >
|
|
87
|
+
<img src="./images/知识星球.jpg" height=220 />
|
|
88
|
+
</p>
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
import typing # noqa: F401
|
|
4
|
-
import numbers # noqa: F401
|
|
5
4
|
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
6
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
]
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
class AntdAccordion(Component):
|
|
@@ -22,9 +30,6 @@ Keyword arguments:
|
|
|
22
30
|
- key (string; optional):
|
|
23
31
|
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
24
32
|
|
|
25
|
-
- style (dict; optional):
|
|
26
|
-
当前组件css样式.
|
|
27
|
-
|
|
28
33
|
- className (string | dict; optional):
|
|
29
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
30
35
|
|
|
@@ -110,20 +115,7 @@ Keyword arguments:
|
|
|
110
115
|
`data-*`格式属性通配.
|
|
111
116
|
|
|
112
117
|
- aria-* (string; optional):
|
|
113
|
-
`aria-*`格式属性通配.
|
|
114
|
-
|
|
115
|
-
- loading_state (dict; optional)
|
|
116
|
-
|
|
117
|
-
`loading_state` is a dict with keys:
|
|
118
|
-
|
|
119
|
-
- is_loading (boolean; optional):
|
|
120
|
-
Determines if the component is loading or not.
|
|
121
|
-
|
|
122
|
-
- prop_name (string; optional):
|
|
123
|
-
Holds which property is loading.
|
|
124
|
-
|
|
125
|
-
- component_name (string; optional):
|
|
126
|
-
Holds the name of the component that is loading."""
|
|
118
|
+
`aria-*`格式属性通配."""
|
|
127
119
|
_children_props = ['items[].children', 'items[].title', 'items[].extra']
|
|
128
120
|
_base_nodes = ['children']
|
|
129
121
|
_namespace = 'feffery_antd_components'
|
|
@@ -147,51 +139,41 @@ Keyword arguments:
|
|
|
147
139
|
Items = TypedDict(
|
|
148
140
|
"Items",
|
|
149
141
|
{
|
|
150
|
-
"children": NotRequired[
|
|
142
|
+
"children": NotRequired[ComponentType],
|
|
151
143
|
"className": NotRequired[typing.Union[str, dict]],
|
|
152
144
|
"style": NotRequired[dict],
|
|
153
|
-
"key": typing.Union[str,
|
|
145
|
+
"key": typing.Union[str, NumberType],
|
|
154
146
|
"collapsible": NotRequired[Literal["header", "disabled", "icon"]],
|
|
155
|
-
"title": NotRequired[
|
|
156
|
-
"extra": NotRequired[
|
|
147
|
+
"title": NotRequired[ComponentType],
|
|
148
|
+
"extra": NotRequired[ComponentType],
|
|
157
149
|
"showArrow": NotRequired[bool],
|
|
158
150
|
"forceRender": NotRequired[bool]
|
|
159
151
|
}
|
|
160
152
|
)
|
|
161
153
|
|
|
162
|
-
LoadingState = TypedDict(
|
|
163
|
-
"LoadingState",
|
|
164
|
-
{
|
|
165
|
-
"is_loading": NotRequired[bool],
|
|
166
|
-
"prop_name": NotRequired[str],
|
|
167
|
-
"component_name": NotRequired[str]
|
|
168
|
-
}
|
|
169
|
-
)
|
|
170
154
|
|
|
171
|
-
@_explicitize_args
|
|
172
155
|
def __init__(
|
|
173
156
|
self,
|
|
174
|
-
id: typing.Optional[str] = None,
|
|
157
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
175
158
|
key: typing.Optional[str] = None,
|
|
176
|
-
style: typing.Optional[
|
|
159
|
+
style: typing.Optional[typing.Any] = None,
|
|
177
160
|
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
178
161
|
styles: typing.Optional["Styles"] = None,
|
|
179
162
|
classNames: typing.Optional["ClassNames"] = None,
|
|
180
163
|
items: typing.Optional[typing.Sequence["Items"]] = None,
|
|
181
164
|
accordion: typing.Optional[bool] = None,
|
|
182
|
-
activeKey: typing.Optional[typing.Union[str, typing.Sequence[str],
|
|
183
|
-
defaultActiveKey: typing.Optional[typing.Union[str, typing.Sequence[str],
|
|
165
|
+
activeKey: typing.Optional[typing.Union[str, typing.Sequence[str], NumberType, typing.Sequence[NumberType]]] = None,
|
|
166
|
+
defaultActiveKey: typing.Optional[typing.Union[str, typing.Sequence[str], NumberType, typing.Sequence[NumberType]]] = None,
|
|
184
167
|
bordered: typing.Optional[bool] = None,
|
|
185
168
|
size: typing.Optional[Literal["large", "middle", "small"]] = None,
|
|
186
169
|
collapsible: typing.Optional[Literal["header", "disabled", "icon"]] = None,
|
|
187
170
|
expandIconPosition: typing.Optional[Literal["left", "right"]] = None,
|
|
188
171
|
ghost: typing.Optional[bool] = None,
|
|
189
|
-
loading_state: typing.Optional["LoadingState"] = None,
|
|
190
172
|
**kwargs
|
|
191
173
|
):
|
|
192
|
-
self._prop_names = ['id', 'key', 'style', 'className', 'styles', 'classNames', 'items', 'accordion', 'activeKey', 'defaultActiveKey', 'bordered', 'size', 'collapsible', 'expandIconPosition', 'ghost', 'data-*', 'aria-*'
|
|
174
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'styles', 'classNames', 'items', 'accordion', 'activeKey', 'defaultActiveKey', 'bordered', 'size', 'collapsible', 'expandIconPosition', 'ghost', 'data-*', 'aria-*']
|
|
193
175
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
194
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'styles', 'classNames', 'items', 'accordion', 'activeKey', 'defaultActiveKey', 'bordered', 'size', 'collapsible', 'expandIconPosition', 'ghost', 'data-*', 'aria-*'
|
|
176
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'styles', 'classNames', 'items', 'accordion', 'activeKey', 'defaultActiveKey', 'bordered', 'size', 'collapsible', 'expandIconPosition', 'ghost', 'data-*', 'aria-*']
|
|
195
177
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
196
178
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
197
179
|
_locals = locals()
|
|
@@ -199,3 +181,5 @@ Keyword arguments:
|
|
|
199
181
|
args = {k: _locals[k] for k in _explicit_args}
|
|
200
182
|
|
|
201
183
|
super(AntdAccordion, self).__init__(**args)
|
|
184
|
+
|
|
185
|
+
setattr(AntdAccordion, "__init__", _explicitize_args(AntdAccordion.__init__))
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
import typing # noqa: F401
|
|
4
|
-
import numbers # noqa: F401
|
|
5
4
|
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
6
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
]
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
class AntdAffix(Component):
|
|
@@ -25,9 +33,6 @@ Keyword arguments:
|
|
|
25
33
|
- children (a list of or a singular dash component, string or number; optional):
|
|
26
34
|
组件型,内嵌元素.
|
|
27
35
|
|
|
28
|
-
- style (dict; optional):
|
|
29
|
-
当前组件css样式.
|
|
30
|
-
|
|
31
36
|
- className (string | dict; optional):
|
|
32
37
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
33
38
|
|
|
@@ -40,54 +45,36 @@ Keyword arguments:
|
|
|
40
45
|
- target (string; optional):
|
|
41
46
|
滚动事件监听的特定目标容器id.
|
|
42
47
|
|
|
48
|
+
- affixed (boolean; optional):
|
|
49
|
+
监听当前目标是否已触发固定.
|
|
50
|
+
|
|
43
51
|
- data-* (string; optional):
|
|
44
52
|
`data-*`格式属性通配.
|
|
45
53
|
|
|
46
54
|
- aria-* (string; optional):
|
|
47
|
-
`aria-*`格式属性通配.
|
|
48
|
-
|
|
49
|
-
- loading_state (dict; optional)
|
|
50
|
-
|
|
51
|
-
`loading_state` is a dict with keys:
|
|
52
|
-
|
|
53
|
-
- is_loading (boolean; optional):
|
|
54
|
-
Determines if the component is loading or not.
|
|
55
|
-
|
|
56
|
-
- prop_name (string; optional):
|
|
57
|
-
Holds which property is loading.
|
|
58
|
-
|
|
59
|
-
- component_name (string; optional):
|
|
60
|
-
Holds the name of the component that is loading."""
|
|
55
|
+
`aria-*`格式属性通配."""
|
|
61
56
|
_children_props = []
|
|
62
57
|
_base_nodes = ['children']
|
|
63
58
|
_namespace = 'feffery_antd_components'
|
|
64
59
|
_type = 'AntdAffix'
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
{
|
|
68
|
-
"is_loading": NotRequired[bool],
|
|
69
|
-
"prop_name": NotRequired[str],
|
|
70
|
-
"component_name": NotRequired[str]
|
|
71
|
-
}
|
|
72
|
-
)
|
|
73
|
-
|
|
74
|
-
@_explicitize_args
|
|
60
|
+
|
|
61
|
+
|
|
75
62
|
def __init__(
|
|
76
63
|
self,
|
|
77
|
-
children: typing.Optional[
|
|
78
|
-
id: typing.Optional[str] = None,
|
|
64
|
+
children: typing.Optional[ComponentType] = None,
|
|
65
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
79
66
|
key: typing.Optional[str] = None,
|
|
80
|
-
style: typing.Optional[
|
|
67
|
+
style: typing.Optional[typing.Any] = None,
|
|
81
68
|
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
82
|
-
offsetBottom: typing.Optional[
|
|
83
|
-
offsetTop: typing.Optional[
|
|
69
|
+
offsetBottom: typing.Optional[NumberType] = None,
|
|
70
|
+
offsetTop: typing.Optional[NumberType] = None,
|
|
84
71
|
target: typing.Optional[str] = None,
|
|
85
|
-
|
|
72
|
+
affixed: typing.Optional[bool] = None,
|
|
86
73
|
**kwargs
|
|
87
74
|
):
|
|
88
|
-
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'offsetBottom', 'offsetTop', 'target', '
|
|
75
|
+
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'offsetBottom', 'offsetTop', 'target', 'affixed', 'data-*', 'aria-*']
|
|
89
76
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
90
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'offsetBottom', 'offsetTop', 'target', '
|
|
77
|
+
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'offsetBottom', 'offsetTop', 'target', 'affixed', 'data-*', 'aria-*']
|
|
91
78
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
92
79
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
93
80
|
_locals = locals()
|
|
@@ -95,3 +82,5 @@ Keyword arguments:
|
|
|
95
82
|
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
96
83
|
|
|
97
84
|
super(AntdAffix, self).__init__(children=children, **args)
|
|
85
|
+
|
|
86
|
+
setattr(AntdAffix, "__init__", _explicitize_args(AntdAffix.__init__))
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
import typing # noqa: F401
|
|
4
|
-
import numbers # noqa: F401
|
|
5
4
|
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
6
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
]
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
class AntdAlert(Component):
|
|
@@ -22,9 +30,6 @@ Keyword arguments:
|
|
|
22
30
|
- key (string; optional):
|
|
23
31
|
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
24
32
|
|
|
25
|
-
- style (dict; optional):
|
|
26
|
-
当前组件css样式.
|
|
27
|
-
|
|
28
33
|
- className (string | dict; optional):
|
|
29
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
30
35
|
|
|
@@ -60,55 +65,33 @@ Keyword arguments:
|
|
|
60
65
|
`data-*`格式属性通配.
|
|
61
66
|
|
|
62
67
|
- aria-* (string; optional):
|
|
63
|
-
`aria-*`格式属性通配.
|
|
64
|
-
|
|
65
|
-
- loading_state (dict; optional)
|
|
66
|
-
|
|
67
|
-
`loading_state` is a dict with keys:
|
|
68
|
-
|
|
69
|
-
- is_loading (boolean; optional):
|
|
70
|
-
Determines if the component is loading or not.
|
|
71
|
-
|
|
72
|
-
- prop_name (string; optional):
|
|
73
|
-
Holds which property is loading.
|
|
74
|
-
|
|
75
|
-
- component_name (string; optional):
|
|
76
|
-
Holds the name of the component that is loading."""
|
|
68
|
+
`aria-*`格式属性通配."""
|
|
77
69
|
_children_props = ['message', 'description', 'icon', 'action']
|
|
78
70
|
_base_nodes = ['message', 'description', 'icon', 'action', 'children']
|
|
79
71
|
_namespace = 'feffery_antd_components'
|
|
80
72
|
_type = 'AntdAlert'
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
{
|
|
84
|
-
"is_loading": NotRequired[bool],
|
|
85
|
-
"prop_name": NotRequired[str],
|
|
86
|
-
"component_name": NotRequired[str]
|
|
87
|
-
}
|
|
88
|
-
)
|
|
89
|
-
|
|
90
|
-
@_explicitize_args
|
|
73
|
+
|
|
74
|
+
|
|
91
75
|
def __init__(
|
|
92
76
|
self,
|
|
93
|
-
id: typing.Optional[str] = None,
|
|
77
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
94
78
|
key: typing.Optional[str] = None,
|
|
95
|
-
style: typing.Optional[
|
|
79
|
+
style: typing.Optional[typing.Any] = None,
|
|
96
80
|
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
97
|
-
message: typing.Optional[
|
|
98
|
-
description: typing.Optional[
|
|
81
|
+
message: typing.Optional[ComponentType] = None,
|
|
82
|
+
description: typing.Optional[ComponentType] = None,
|
|
99
83
|
type: typing.Optional[Literal["success", "info", "warning", "error"]] = None,
|
|
100
84
|
showIcon: typing.Optional[bool] = None,
|
|
101
|
-
icon: typing.Optional[
|
|
85
|
+
icon: typing.Optional[ComponentType] = None,
|
|
102
86
|
closable: typing.Optional[bool] = None,
|
|
103
87
|
messageRenderMode: typing.Optional[Literal["default", "loop-text", "marquee"]] = None,
|
|
104
|
-
action: typing.Optional[
|
|
88
|
+
action: typing.Optional[ComponentType] = None,
|
|
105
89
|
banner: typing.Optional[bool] = None,
|
|
106
|
-
loading_state: typing.Optional["LoadingState"] = None,
|
|
107
90
|
**kwargs
|
|
108
91
|
):
|
|
109
|
-
self._prop_names = ['id', 'key', 'style', 'className', 'message', 'description', 'type', 'showIcon', 'icon', 'closable', 'messageRenderMode', 'action', 'banner', 'data-*', 'aria-*'
|
|
92
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'message', 'description', 'type', 'showIcon', 'icon', 'closable', 'messageRenderMode', 'action', 'banner', 'data-*', 'aria-*']
|
|
110
93
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
111
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'message', 'description', 'type', 'showIcon', 'icon', 'closable', 'messageRenderMode', 'action', 'banner', 'data-*', 'aria-*'
|
|
94
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'message', 'description', 'type', 'showIcon', 'icon', 'closable', 'messageRenderMode', 'action', 'banner', 'data-*', 'aria-*']
|
|
112
95
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
113
96
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
114
97
|
_locals = locals()
|
|
@@ -116,3 +99,5 @@ Keyword arguments:
|
|
|
116
99
|
args = {k: _locals[k] for k in _explicit_args}
|
|
117
100
|
|
|
118
101
|
super(AntdAlert, self).__init__(**args)
|
|
102
|
+
|
|
103
|
+
setattr(AntdAlert, "__init__", _explicitize_args(AntdAlert.__init__))
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
import typing # noqa: F401
|
|
4
|
-
import numbers # noqa: F401
|
|
5
4
|
from typing_extensions import TypedDict, NotRequired, Literal # noqa: F401
|
|
6
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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
|
+
]
|
|
11
19
|
|
|
12
20
|
|
|
13
21
|
class AntdAnchor(Component):
|
|
@@ -22,9 +30,6 @@ Keyword arguments:
|
|
|
22
30
|
- key (string; optional):
|
|
23
31
|
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
24
32
|
|
|
25
|
-
- style (dict; optional):
|
|
26
|
-
当前组件css样式.
|
|
27
|
-
|
|
28
33
|
- className (string | dict; optional):
|
|
29
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
30
35
|
|
|
@@ -56,54 +61,32 @@ Keyword arguments:
|
|
|
56
61
|
`data-*`格式属性通配.
|
|
57
62
|
|
|
58
63
|
- aria-* (string; optional):
|
|
59
|
-
`aria-*`格式属性通配.
|
|
60
|
-
|
|
61
|
-
- loading_state (dict; optional)
|
|
62
|
-
|
|
63
|
-
`loading_state` is a dict with keys:
|
|
64
|
-
|
|
65
|
-
- is_loading (boolean; optional):
|
|
66
|
-
Determines if the component is loading or not.
|
|
67
|
-
|
|
68
|
-
- prop_name (string; optional):
|
|
69
|
-
Holds which property is loading.
|
|
70
|
-
|
|
71
|
-
- component_name (string; optional):
|
|
72
|
-
Holds the name of the component that is loading."""
|
|
64
|
+
`aria-*`格式属性通配."""
|
|
73
65
|
_children_props = []
|
|
74
66
|
_base_nodes = ['children']
|
|
75
67
|
_namespace = 'feffery_antd_components'
|
|
76
68
|
_type = 'AntdAnchor'
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
{
|
|
80
|
-
"is_loading": NotRequired[bool],
|
|
81
|
-
"prop_name": NotRequired[str],
|
|
82
|
-
"component_name": NotRequired[str]
|
|
83
|
-
}
|
|
84
|
-
)
|
|
85
|
-
|
|
86
|
-
@_explicitize_args
|
|
69
|
+
|
|
70
|
+
|
|
87
71
|
def __init__(
|
|
88
72
|
self,
|
|
89
|
-
id: typing.Optional[str] = None,
|
|
73
|
+
id: typing.Optional[typing.Union[str, dict]] = None,
|
|
90
74
|
key: typing.Optional[str] = None,
|
|
91
|
-
style: typing.Optional[
|
|
75
|
+
style: typing.Optional[typing.Any] = None,
|
|
92
76
|
className: typing.Optional[typing.Union[str, dict]] = None,
|
|
93
77
|
linkDict: typing.Optional[typing.Any] = None,
|
|
94
78
|
align: typing.Optional[Literal["left", "right"]] = None,
|
|
95
79
|
containerId: typing.Optional[str] = None,
|
|
96
|
-
targetOffset: typing.Optional[
|
|
80
|
+
targetOffset: typing.Optional[NumberType] = None,
|
|
97
81
|
affix: typing.Optional[bool] = None,
|
|
98
|
-
bounds: typing.Optional[
|
|
99
|
-
offsetTop: typing.Optional[
|
|
82
|
+
bounds: typing.Optional[NumberType] = None,
|
|
83
|
+
offsetTop: typing.Optional[NumberType] = None,
|
|
100
84
|
clickedLink: typing.Optional[dict] = None,
|
|
101
|
-
loading_state: typing.Optional["LoadingState"] = None,
|
|
102
85
|
**kwargs
|
|
103
86
|
):
|
|
104
|
-
self._prop_names = ['id', 'key', 'style', 'className', 'linkDict', 'align', 'containerId', 'targetOffset', 'affix', 'bounds', 'offsetTop', 'clickedLink', 'data-*', 'aria-*'
|
|
87
|
+
self._prop_names = ['id', 'key', 'style', 'className', 'linkDict', 'align', 'containerId', 'targetOffset', 'affix', 'bounds', 'offsetTop', 'clickedLink', 'data-*', 'aria-*']
|
|
105
88
|
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
106
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'linkDict', 'align', 'containerId', 'targetOffset', 'affix', 'bounds', 'offsetTop', 'clickedLink', 'data-*', 'aria-*'
|
|
89
|
+
self.available_properties = ['id', 'key', 'style', 'className', 'linkDict', 'align', 'containerId', 'targetOffset', 'affix', 'bounds', 'offsetTop', 'clickedLink', 'data-*', 'aria-*']
|
|
107
90
|
self.available_wildcard_properties = ['data-', 'aria-']
|
|
108
91
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
109
92
|
_locals = locals()
|
|
@@ -111,3 +94,5 @@ Keyword arguments:
|
|
|
111
94
|
args = {k: _locals[k] for k in _explicit_args}
|
|
112
95
|
|
|
113
96
|
super(AntdAnchor, self).__init__(**args)
|
|
97
|
+
|
|
98
|
+
setattr(AntdAnchor, "__init__", _explicitize_args(AntdAnchor.__init__))
|