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
|
@@ -6,10 +6,54 @@ const LazyAntdRate = React.lazy(() => import(/* webpackChunkName: "data_entry" *
|
|
|
6
6
|
/**
|
|
7
7
|
* 评分组件AntdRate
|
|
8
8
|
*/
|
|
9
|
-
const AntdRate = (
|
|
9
|
+
const AntdRate = ({
|
|
10
|
+
id,
|
|
11
|
+
className,
|
|
12
|
+
style,
|
|
13
|
+
key,
|
|
14
|
+
name,
|
|
15
|
+
enableBatchControl = true,
|
|
16
|
+
allowClear = true,
|
|
17
|
+
allowHalf = false,
|
|
18
|
+
count = 5,
|
|
19
|
+
disabled = false,
|
|
20
|
+
autoFocus = false,
|
|
21
|
+
tooltips,
|
|
22
|
+
defaultValue = 0,
|
|
23
|
+
value,
|
|
24
|
+
setProps,
|
|
25
|
+
persistence,
|
|
26
|
+
persisted_props = ['value'],
|
|
27
|
+
persistence_type = 'local',
|
|
28
|
+
batchPropsNames = [],
|
|
29
|
+
...others
|
|
30
|
+
}) => {
|
|
10
31
|
return (
|
|
11
32
|
<Suspense fallback={null}>
|
|
12
|
-
<LazyAntdRate {
|
|
33
|
+
<LazyAntdRate {
|
|
34
|
+
...{
|
|
35
|
+
id,
|
|
36
|
+
className,
|
|
37
|
+
style,
|
|
38
|
+
key,
|
|
39
|
+
name,
|
|
40
|
+
enableBatchControl,
|
|
41
|
+
allowClear,
|
|
42
|
+
allowHalf,
|
|
43
|
+
count,
|
|
44
|
+
disabled,
|
|
45
|
+
autoFocus,
|
|
46
|
+
tooltips,
|
|
47
|
+
defaultValue,
|
|
48
|
+
value,
|
|
49
|
+
setProps,
|
|
50
|
+
persistence,
|
|
51
|
+
persisted_props,
|
|
52
|
+
persistence_type,
|
|
53
|
+
batchPropsNames,
|
|
54
|
+
...others
|
|
55
|
+
}
|
|
56
|
+
} />
|
|
13
57
|
</Suspense>
|
|
14
58
|
);
|
|
15
59
|
}
|
|
@@ -43,6 +87,12 @@ AntdRate.propTypes = {
|
|
|
43
87
|
*/
|
|
44
88
|
name: PropTypes.string,
|
|
45
89
|
|
|
90
|
+
/**
|
|
91
|
+
* 控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能
|
|
92
|
+
* 默认值:`true`
|
|
93
|
+
*/
|
|
94
|
+
enableBatchControl: PropTypes.bool,
|
|
95
|
+
|
|
46
96
|
/**
|
|
47
97
|
* 是否允许通过再次点击清除已选分值
|
|
48
98
|
* 默认值:`true`
|
|
@@ -111,21 +161,6 @@ AntdRate.propTypes = {
|
|
|
111
161
|
*/
|
|
112
162
|
'aria-*': PropTypes.string,
|
|
113
163
|
|
|
114
|
-
loading_state: PropTypes.shape({
|
|
115
|
-
/**
|
|
116
|
-
* Determines if the component is loading or not
|
|
117
|
-
*/
|
|
118
|
-
is_loading: PropTypes.bool,
|
|
119
|
-
/**
|
|
120
|
-
* Holds which property is loading
|
|
121
|
-
*/
|
|
122
|
-
prop_name: PropTypes.string,
|
|
123
|
-
/**
|
|
124
|
-
* Holds the name of the component that is loading
|
|
125
|
-
*/
|
|
126
|
-
component_name: PropTypes.string
|
|
127
|
-
}),
|
|
128
|
-
|
|
129
164
|
/**
|
|
130
165
|
* Dash-assigned callback that should be called to report property changes
|
|
131
166
|
* to Dash, to make them available for callbacks.
|
|
@@ -154,17 +189,9 @@ AntdRate.propTypes = {
|
|
|
154
189
|
persistence_type: PropTypes.oneOf(['local', 'session', 'memory'])
|
|
155
190
|
};
|
|
156
191
|
|
|
157
|
-
|
|
158
|
-
AntdRate.defaultProps = {
|
|
159
|
-
allowClear: true,
|
|
160
|
-
allowHalf: false,
|
|
161
|
-
count: 5,
|
|
162
|
-
defaultValue: 0,
|
|
163
|
-
disabled: false,
|
|
164
|
-
autoFocus: false,
|
|
192
|
+
AntdRate.dashPersistence = {
|
|
165
193
|
persisted_props: ['value'],
|
|
166
|
-
persistence_type: 'local'
|
|
167
|
-
batchPropsNames: []
|
|
194
|
+
persistence_type: 'local'
|
|
168
195
|
}
|
|
169
196
|
|
|
170
197
|
export default AntdRate;
|
|
@@ -8,10 +8,66 @@ const LazyAntdSegmentedColoring = React.lazy(() => import(/* webpackChunkName: "
|
|
|
8
8
|
/**
|
|
9
9
|
* 分段着色组件AntdSegmentedColoring
|
|
10
10
|
*/
|
|
11
|
-
const AntdSegmentedColoring = (
|
|
11
|
+
const AntdSegmentedColoring = ({
|
|
12
|
+
id,
|
|
13
|
+
key,
|
|
14
|
+
className,
|
|
15
|
+
style,
|
|
16
|
+
size = 'middle',
|
|
17
|
+
bordered = true,
|
|
18
|
+
variant,
|
|
19
|
+
controls = true,
|
|
20
|
+
disabled = false,
|
|
21
|
+
keyboard = true,
|
|
22
|
+
placeholder,
|
|
23
|
+
min,
|
|
24
|
+
max,
|
|
25
|
+
step = 0.01,
|
|
26
|
+
precision = 2,
|
|
27
|
+
readOnly,
|
|
28
|
+
pureLegend = false,
|
|
29
|
+
breakpoints,
|
|
30
|
+
colors,
|
|
31
|
+
inputNumberStyle,
|
|
32
|
+
colorBlockPosition = 'right',
|
|
33
|
+
colorBlockStyle,
|
|
34
|
+
pureLegendLabelStyle,
|
|
35
|
+
setProps,
|
|
36
|
+
batchPropsNames = [],
|
|
37
|
+
...others
|
|
38
|
+
}) => {
|
|
12
39
|
return (
|
|
13
40
|
<Suspense fallback={null}>
|
|
14
|
-
<LazyAntdSegmentedColoring {
|
|
41
|
+
<LazyAntdSegmentedColoring {
|
|
42
|
+
...{
|
|
43
|
+
id,
|
|
44
|
+
key,
|
|
45
|
+
className,
|
|
46
|
+
style,
|
|
47
|
+
size,
|
|
48
|
+
bordered,
|
|
49
|
+
variant,
|
|
50
|
+
controls,
|
|
51
|
+
disabled,
|
|
52
|
+
keyboard,
|
|
53
|
+
placeholder,
|
|
54
|
+
min,
|
|
55
|
+
max,
|
|
56
|
+
step,
|
|
57
|
+
precision,
|
|
58
|
+
readOnly,
|
|
59
|
+
pureLegend,
|
|
60
|
+
breakpoints,
|
|
61
|
+
colors,
|
|
62
|
+
inputNumberStyle,
|
|
63
|
+
colorBlockPosition,
|
|
64
|
+
colorBlockStyle,
|
|
65
|
+
pureLegendLabelStyle,
|
|
66
|
+
setProps,
|
|
67
|
+
batchPropsNames,
|
|
68
|
+
...others
|
|
69
|
+
}
|
|
70
|
+
} />
|
|
15
71
|
</Suspense>
|
|
16
72
|
);
|
|
17
73
|
}
|
|
@@ -103,9 +159,9 @@ AntdSegmentedColoring.propTypes = {
|
|
|
103
159
|
bordered: PropTypes.bool,
|
|
104
160
|
|
|
105
161
|
/**
|
|
106
|
-
* 形态变体类型,可选项有`'outlined'`、`'borderless'`、`'filled'`,其中`'outlined'`等价于`bordered=True`,但优先级更高
|
|
162
|
+
* 形态变体类型,可选项有`'outlined'`、`'borderless'`、`'filled'`、`'underlined'`,其中`'outlined'`等价于`bordered=True`,但优先级更高
|
|
107
163
|
*/
|
|
108
|
-
variant: PropTypes.oneOf(['outlined', 'borderless', 'filled']),
|
|
164
|
+
variant: PropTypes.oneOf(['outlined', 'borderless', 'filled', 'underlined']),
|
|
109
165
|
|
|
110
166
|
/**
|
|
111
167
|
* 各分段数值输入框占位文字内容
|
|
@@ -183,21 +239,6 @@ AntdSegmentedColoring.propTypes = {
|
|
|
183
239
|
*/
|
|
184
240
|
'aria-*': PropTypes.string,
|
|
185
241
|
|
|
186
|
-
loading_state: PropTypes.shape({
|
|
187
|
-
/**
|
|
188
|
-
* Determines if the component is loading or not
|
|
189
|
-
*/
|
|
190
|
-
is_loading: PropTypes.bool,
|
|
191
|
-
/**
|
|
192
|
-
* Holds which property is loading
|
|
193
|
-
*/
|
|
194
|
-
prop_name: PropTypes.string,
|
|
195
|
-
/**
|
|
196
|
-
* Holds the name of the component that is loading
|
|
197
|
-
*/
|
|
198
|
-
component_name: PropTypes.string
|
|
199
|
-
}),
|
|
200
|
-
|
|
201
242
|
/**
|
|
202
243
|
* Dash-assigned callback that should be called to report property changes
|
|
203
244
|
* to Dash, to make them available for callbacks.
|
|
@@ -205,20 +246,6 @@ AntdSegmentedColoring.propTypes = {
|
|
|
205
246
|
setProps: PropTypes.func
|
|
206
247
|
};
|
|
207
248
|
|
|
208
|
-
// 设置默认参数
|
|
209
|
-
AntdSegmentedColoring.defaultProps = {
|
|
210
|
-
size: 'middle',
|
|
211
|
-
bordered: true,
|
|
212
|
-
controls: true,
|
|
213
|
-
disabled: false,
|
|
214
|
-
keyboard: true,
|
|
215
|
-
step: 0.01,
|
|
216
|
-
precision: 2,
|
|
217
|
-
colorBlockPosition: 'right',
|
|
218
|
-
pureLegend: false,
|
|
219
|
-
batchPropsNames: []
|
|
220
|
-
}
|
|
221
|
-
|
|
222
249
|
export default AntdSegmentedColoring;
|
|
223
250
|
|
|
224
251
|
export const propTypes = AntdSegmentedColoring.propTypes;
|
|
@@ -6,10 +6,106 @@ const LazyAntdSelect = React.lazy(() => import(/* webpackChunkName: "data_entry"
|
|
|
6
6
|
/**
|
|
7
7
|
* 下拉选择组件AntdSelect
|
|
8
8
|
*/
|
|
9
|
-
const AntdSelect = (
|
|
9
|
+
const AntdSelect = ({
|
|
10
|
+
id,
|
|
11
|
+
style,
|
|
12
|
+
className,
|
|
13
|
+
popupClassName,
|
|
14
|
+
key,
|
|
15
|
+
name,
|
|
16
|
+
enableBatchControl = true,
|
|
17
|
+
locale = 'zh-cn',
|
|
18
|
+
setProps,
|
|
19
|
+
placeholder,
|
|
20
|
+
size = 'middle',
|
|
21
|
+
bordered = true,
|
|
22
|
+
variant,
|
|
23
|
+
options = [],
|
|
24
|
+
colorsNameWidth = 40,
|
|
25
|
+
allowClear = true,
|
|
26
|
+
autoFocus = false,
|
|
27
|
+
disabled,
|
|
28
|
+
value,
|
|
29
|
+
mode,
|
|
30
|
+
defaultValue,
|
|
31
|
+
maxTagCount = 5,
|
|
32
|
+
listHeight = 256,
|
|
33
|
+
colorsMode = 'sequential',
|
|
34
|
+
placement = 'bottomLeft',
|
|
35
|
+
status,
|
|
36
|
+
optionFilterProp = 'value',
|
|
37
|
+
optionFilterMode = 'case-insensitive',
|
|
38
|
+
autoSpin = false,
|
|
39
|
+
debounceWait = 0,
|
|
40
|
+
autoClearSearchValue = true,
|
|
41
|
+
emptyContent,
|
|
42
|
+
loadingEmptyContent,
|
|
43
|
+
dropdownBefore,
|
|
44
|
+
dropdownAfter,
|
|
45
|
+
prefix,
|
|
46
|
+
suffixIcon,
|
|
47
|
+
popupContainer = 'body',
|
|
48
|
+
readOnly,
|
|
49
|
+
maxCount,
|
|
50
|
+
popupMatchSelectWidth = true,
|
|
51
|
+
persistence,
|
|
52
|
+
persisted_props,
|
|
53
|
+
persistence_type,
|
|
54
|
+
batchPropsNames = [],
|
|
55
|
+
...others
|
|
56
|
+
}) => {
|
|
10
57
|
return (
|
|
11
58
|
<Suspense fallback={null}>
|
|
12
|
-
<LazyAntdSelect {
|
|
59
|
+
<LazyAntdSelect {
|
|
60
|
+
...{
|
|
61
|
+
id,
|
|
62
|
+
style,
|
|
63
|
+
className,
|
|
64
|
+
popupClassName,
|
|
65
|
+
key,
|
|
66
|
+
name,
|
|
67
|
+
enableBatchControl,
|
|
68
|
+
locale,
|
|
69
|
+
setProps,
|
|
70
|
+
placeholder,
|
|
71
|
+
size,
|
|
72
|
+
bordered,
|
|
73
|
+
variant,
|
|
74
|
+
options,
|
|
75
|
+
colorsNameWidth,
|
|
76
|
+
allowClear,
|
|
77
|
+
autoFocus,
|
|
78
|
+
disabled,
|
|
79
|
+
value,
|
|
80
|
+
mode,
|
|
81
|
+
defaultValue,
|
|
82
|
+
maxTagCount,
|
|
83
|
+
listHeight,
|
|
84
|
+
colorsMode,
|
|
85
|
+
placement,
|
|
86
|
+
status,
|
|
87
|
+
optionFilterProp,
|
|
88
|
+
optionFilterMode,
|
|
89
|
+
autoSpin,
|
|
90
|
+
debounceWait,
|
|
91
|
+
autoClearSearchValue,
|
|
92
|
+
emptyContent,
|
|
93
|
+
loadingEmptyContent,
|
|
94
|
+
dropdownBefore,
|
|
95
|
+
dropdownAfter,
|
|
96
|
+
prefix,
|
|
97
|
+
suffixIcon,
|
|
98
|
+
popupContainer,
|
|
99
|
+
readOnly,
|
|
100
|
+
maxCount,
|
|
101
|
+
popupMatchSelectWidth,
|
|
102
|
+
persistence,
|
|
103
|
+
persisted_props,
|
|
104
|
+
persistence_type,
|
|
105
|
+
batchPropsNames,
|
|
106
|
+
...others
|
|
107
|
+
}
|
|
108
|
+
} />
|
|
13
109
|
</Suspense>
|
|
14
110
|
);
|
|
15
111
|
}
|
|
@@ -49,10 +145,16 @@ AntdSelect.propTypes = {
|
|
|
49
145
|
name: PropTypes.string,
|
|
50
146
|
|
|
51
147
|
/**
|
|
52
|
-
*
|
|
148
|
+
* 控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能
|
|
149
|
+
* 默认值:`true`
|
|
150
|
+
*/
|
|
151
|
+
enableBatchControl: PropTypes.bool,
|
|
152
|
+
|
|
153
|
+
/**
|
|
154
|
+
* 组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
53
155
|
* 默认值:`'zh-cn'`
|
|
54
156
|
*/
|
|
55
|
-
locale: PropTypes.oneOf(['zh-cn', 'en-us', 'de-de']),
|
|
157
|
+
locale: PropTypes.oneOf(['zh-cn', 'en-us', 'de-de', 'ru-ru']),
|
|
56
158
|
|
|
57
159
|
/**
|
|
58
160
|
* 配置下拉选项
|
|
@@ -159,9 +261,9 @@ AntdSelect.propTypes = {
|
|
|
159
261
|
bordered: PropTypes.bool,
|
|
160
262
|
|
|
161
263
|
/**
|
|
162
|
-
* 形态变体类型,可选项有`'outlined'`、`'borderless'`、`'filled'`,其中`'outlined'`等价于`bordered=True`,但优先级更高
|
|
264
|
+
* 形态变体类型,可选项有`'outlined'`、`'borderless'`、`'filled'`、`'underlined'`,其中`'outlined'`等价于`bordered=True`,但优先级更高
|
|
163
265
|
*/
|
|
164
|
-
variant: PropTypes.oneOf(['outlined', 'borderless', 'filled']),
|
|
266
|
+
variant: PropTypes.oneOf(['outlined', 'borderless', 'filled', 'underlined']),
|
|
165
267
|
|
|
166
268
|
/**
|
|
167
269
|
* 输入框占位文字内容
|
|
@@ -345,21 +447,6 @@ AntdSelect.propTypes = {
|
|
|
345
447
|
*/
|
|
346
448
|
'aria-*': PropTypes.string,
|
|
347
449
|
|
|
348
|
-
loading_state: PropTypes.shape({
|
|
349
|
-
/**
|
|
350
|
-
* Determines if the component is loading or not
|
|
351
|
-
*/
|
|
352
|
-
is_loading: PropTypes.bool,
|
|
353
|
-
/**
|
|
354
|
-
* Holds which property is loading
|
|
355
|
-
*/
|
|
356
|
-
prop_name: PropTypes.string,
|
|
357
|
-
/**
|
|
358
|
-
* Holds the name of the component that is loading
|
|
359
|
-
*/
|
|
360
|
-
component_name: PropTypes.string
|
|
361
|
-
}),
|
|
362
|
-
|
|
363
450
|
/**
|
|
364
451
|
* Dash-assigned callback that should be called to report property changes
|
|
365
452
|
* to Dash, to make them available for callbacks.
|
|
@@ -388,30 +475,9 @@ AntdSelect.propTypes = {
|
|
|
388
475
|
persistence_type: PropTypes.oneOf(['local', 'session', 'memory'])
|
|
389
476
|
};
|
|
390
477
|
|
|
391
|
-
|
|
392
|
-
AntdSelect.defaultProps = {
|
|
393
|
-
allowClear: true,
|
|
394
|
-
autoFocus: false,
|
|
395
|
-
disabled: false,
|
|
396
|
-
size: 'middle',
|
|
397
|
-
bordered: true,
|
|
398
|
-
maxTagCount: 5,
|
|
399
|
-
listHeight: 256,
|
|
400
|
-
placement: 'bottomLeft',
|
|
401
|
-
options: [],
|
|
402
|
-
colorsNameWidth: 40,
|
|
403
|
-
colorsMode: 'sequential',
|
|
404
|
-
autoClearSearchValue: true,
|
|
478
|
+
AntdSelect.dashPersistence = {
|
|
405
479
|
persisted_props: ['value'],
|
|
406
|
-
persistence_type: 'local'
|
|
407
|
-
locale: 'zh-cn',
|
|
408
|
-
optionFilterProp: 'value',
|
|
409
|
-
optionFilterMode: 'case-insensitive',
|
|
410
|
-
autoSpin: false,
|
|
411
|
-
debounceWait: 0,
|
|
412
|
-
popupMatchSelectWidth: true,
|
|
413
|
-
popupContainer: 'body',
|
|
414
|
-
batchPropsNames: []
|
|
480
|
+
persistence_type: 'local'
|
|
415
481
|
}
|
|
416
482
|
|
|
417
483
|
export default AntdSelect;
|
|
@@ -6,10 +6,72 @@ const LazyAntdSlider = React.lazy(() => import(/* webpackChunkName: "data_entry"
|
|
|
6
6
|
/**
|
|
7
7
|
* 滑动输入条组件AntdSlider
|
|
8
8
|
*/
|
|
9
|
-
const AntdSlider = (
|
|
9
|
+
const AntdSlider = ({
|
|
10
|
+
id,
|
|
11
|
+
className,
|
|
12
|
+
style,
|
|
13
|
+
styles,
|
|
14
|
+
classNames,
|
|
15
|
+
key,
|
|
16
|
+
name,
|
|
17
|
+
enableBatchControl = true,
|
|
18
|
+
value,
|
|
19
|
+
defaultValue,
|
|
20
|
+
disabled = false,
|
|
21
|
+
autoFocus = false,
|
|
22
|
+
vertical = false,
|
|
23
|
+
range = false,
|
|
24
|
+
min = 0,
|
|
25
|
+
max = 100,
|
|
26
|
+
step = 1,
|
|
27
|
+
marks,
|
|
28
|
+
tooltipVisible,
|
|
29
|
+
tooltipPrefix = '',
|
|
30
|
+
tooltipSuffix = '',
|
|
31
|
+
popupContainer = 'body',
|
|
32
|
+
readOnly = false,
|
|
33
|
+
setProps,
|
|
34
|
+
persistence,
|
|
35
|
+
persisted_props,
|
|
36
|
+
persistence_type,
|
|
37
|
+
batchPropsNames = [],
|
|
38
|
+
...others
|
|
39
|
+
}) => {
|
|
10
40
|
return (
|
|
11
41
|
<Suspense fallback={null}>
|
|
12
|
-
<LazyAntdSlider {
|
|
42
|
+
<LazyAntdSlider {
|
|
43
|
+
...{
|
|
44
|
+
id,
|
|
45
|
+
className,
|
|
46
|
+
style,
|
|
47
|
+
styles,
|
|
48
|
+
classNames,
|
|
49
|
+
key,
|
|
50
|
+
name,
|
|
51
|
+
enableBatchControl,
|
|
52
|
+
value,
|
|
53
|
+
defaultValue,
|
|
54
|
+
disabled,
|
|
55
|
+
autoFocus,
|
|
56
|
+
vertical,
|
|
57
|
+
range,
|
|
58
|
+
min,
|
|
59
|
+
max,
|
|
60
|
+
step,
|
|
61
|
+
marks,
|
|
62
|
+
tooltipVisible,
|
|
63
|
+
tooltipPrefix,
|
|
64
|
+
tooltipSuffix,
|
|
65
|
+
popupContainer,
|
|
66
|
+
readOnly,
|
|
67
|
+
setProps,
|
|
68
|
+
persistence,
|
|
69
|
+
persisted_props,
|
|
70
|
+
persistence_type,
|
|
71
|
+
batchPropsNames,
|
|
72
|
+
...others
|
|
73
|
+
}
|
|
74
|
+
} />
|
|
13
75
|
</Suspense>
|
|
14
76
|
);
|
|
15
77
|
}
|
|
@@ -38,23 +100,30 @@ AntdSlider.propTypes = {
|
|
|
38
100
|
PropTypes.object
|
|
39
101
|
]),
|
|
40
102
|
|
|
41
|
-
/**
|
|
42
|
-
* 滑轨部分css样式
|
|
43
|
-
*/
|
|
44
|
-
railStyle: PropTypes.object,
|
|
45
|
-
|
|
46
103
|
/**
|
|
47
104
|
* 细分控制子元素css样式
|
|
48
105
|
*/
|
|
49
106
|
styles: PropTypes.exact({
|
|
50
107
|
/**
|
|
51
|
-
*
|
|
108
|
+
* 根元素css样式
|
|
109
|
+
*/
|
|
110
|
+
root: PropTypes.object,
|
|
111
|
+
/**
|
|
112
|
+
* 范围选择下,点和点之间单个选取条css样式
|
|
52
113
|
*/
|
|
53
114
|
track: PropTypes.object,
|
|
115
|
+
/**
|
|
116
|
+
* 范围选择下,整个范围选取条css样式
|
|
117
|
+
*/
|
|
118
|
+
tracks: PropTypes.object,
|
|
54
119
|
/**
|
|
55
120
|
* 背景条css样式
|
|
56
121
|
*/
|
|
57
|
-
rail: PropTypes.object
|
|
122
|
+
rail: PropTypes.object,
|
|
123
|
+
/**
|
|
124
|
+
* 抓取点元素css样式
|
|
125
|
+
*/
|
|
126
|
+
handle: PropTypes.object
|
|
58
127
|
}),
|
|
59
128
|
|
|
60
129
|
/**
|
|
@@ -62,13 +131,25 @@ AntdSlider.propTypes = {
|
|
|
62
131
|
*/
|
|
63
132
|
classNames: PropTypes.exact({
|
|
64
133
|
/**
|
|
65
|
-
*
|
|
134
|
+
* 根元素css类名
|
|
135
|
+
*/
|
|
136
|
+
root: PropTypes.string,
|
|
137
|
+
/**
|
|
138
|
+
* 范围选择下,点和点之间单个选取条css类名
|
|
66
139
|
*/
|
|
67
140
|
track: PropTypes.string,
|
|
141
|
+
/**
|
|
142
|
+
* 范围选择下,整个范围选取条css类名
|
|
143
|
+
*/
|
|
144
|
+
tracks: PropTypes.string,
|
|
68
145
|
/**
|
|
69
146
|
* 背景条css类名
|
|
70
147
|
*/
|
|
71
|
-
rail: PropTypes.string
|
|
148
|
+
rail: PropTypes.string,
|
|
149
|
+
/**
|
|
150
|
+
* 抓取点元素css类名
|
|
151
|
+
*/
|
|
152
|
+
handle: PropTypes.string
|
|
72
153
|
}),
|
|
73
154
|
|
|
74
155
|
/**
|
|
@@ -76,6 +157,12 @@ AntdSlider.propTypes = {
|
|
|
76
157
|
*/
|
|
77
158
|
name: PropTypes.string,
|
|
78
159
|
|
|
160
|
+
/**
|
|
161
|
+
* 控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能
|
|
162
|
+
* 默认值:`true`
|
|
163
|
+
*/
|
|
164
|
+
enableBatchControl: PropTypes.bool,
|
|
165
|
+
|
|
79
166
|
/**
|
|
80
167
|
* 是否以垂直模式显示
|
|
81
168
|
* 默认值:`false`
|
|
@@ -182,21 +269,6 @@ AntdSlider.propTypes = {
|
|
|
182
269
|
*/
|
|
183
270
|
'aria-*': PropTypes.string,
|
|
184
271
|
|
|
185
|
-
loading_state: PropTypes.shape({
|
|
186
|
-
/**
|
|
187
|
-
* Determines if the component is loading or not
|
|
188
|
-
*/
|
|
189
|
-
is_loading: PropTypes.bool,
|
|
190
|
-
/**
|
|
191
|
-
* Holds which property is loading
|
|
192
|
-
*/
|
|
193
|
-
prop_name: PropTypes.string,
|
|
194
|
-
/**
|
|
195
|
-
* Holds the name of the component that is loading
|
|
196
|
-
*/
|
|
197
|
-
component_name: PropTypes.string
|
|
198
|
-
}),
|
|
199
|
-
|
|
200
272
|
/**
|
|
201
273
|
* Dash-assigned callback that should be called to report property changes
|
|
202
274
|
* to Dash, to make them available for callbacks.
|
|
@@ -225,22 +297,9 @@ AntdSlider.propTypes = {
|
|
|
225
297
|
persistence_type: PropTypes.oneOf(['local', 'session', 'memory'])
|
|
226
298
|
};
|
|
227
299
|
|
|
228
|
-
|
|
229
|
-
AntdSlider.defaultProps = {
|
|
230
|
-
vertical: false,
|
|
231
|
-
range: false,
|
|
232
|
-
min: 0,
|
|
233
|
-
max: 100,
|
|
234
|
-
step: 1,
|
|
235
|
-
tooltipPrefix: '',
|
|
236
|
-
tooltipSuffix: '',
|
|
237
|
-
disabled: false,
|
|
238
|
-
popupContainer: 'body',
|
|
239
|
-
readOnly: false,
|
|
240
|
-
autoFocus: false,
|
|
300
|
+
AntdSlider.dashPersistence = {
|
|
241
301
|
persisted_props: ['value'],
|
|
242
|
-
persistence_type: 'local'
|
|
243
|
-
batchPropsNames: []
|
|
302
|
+
persistence_type: 'local'
|
|
244
303
|
}
|
|
245
304
|
|
|
246
305
|
export default AntdSlider;
|
|
@@ -6,10 +6,54 @@ const LazyAntdSwitch = React.lazy(() => import(/* webpackChunkName: "data_entry"
|
|
|
6
6
|
/**
|
|
7
7
|
* 开关组件AntdSwitch
|
|
8
8
|
*/
|
|
9
|
-
const AntdSwitch = (
|
|
9
|
+
const AntdSwitch = ({
|
|
10
|
+
id,
|
|
11
|
+
style,
|
|
12
|
+
className,
|
|
13
|
+
key,
|
|
14
|
+
name,
|
|
15
|
+
enableBatchControl = true,
|
|
16
|
+
disabled = false,
|
|
17
|
+
autoFocus = false,
|
|
18
|
+
checked,
|
|
19
|
+
checkedChildren,
|
|
20
|
+
unCheckedChildren,
|
|
21
|
+
size = 'default',
|
|
22
|
+
loading = false,
|
|
23
|
+
readOnly = false,
|
|
24
|
+
setProps,
|
|
25
|
+
persistence,
|
|
26
|
+
persisted_props,
|
|
27
|
+
persistence_type,
|
|
28
|
+
batchPropsNames = [],
|
|
29
|
+
...others
|
|
30
|
+
}) => {
|
|
10
31
|
return (
|
|
11
32
|
<Suspense fallback={null}>
|
|
12
|
-
<LazyAntdSwitch {
|
|
33
|
+
<LazyAntdSwitch {
|
|
34
|
+
...{
|
|
35
|
+
id,
|
|
36
|
+
style,
|
|
37
|
+
className,
|
|
38
|
+
key,
|
|
39
|
+
name,
|
|
40
|
+
enableBatchControl,
|
|
41
|
+
disabled,
|
|
42
|
+
autoFocus,
|
|
43
|
+
checked,
|
|
44
|
+
checkedChildren,
|
|
45
|
+
unCheckedChildren,
|
|
46
|
+
size,
|
|
47
|
+
loading,
|
|
48
|
+
readOnly,
|
|
49
|
+
setProps,
|
|
50
|
+
persistence,
|
|
51
|
+
persisted_props,
|
|
52
|
+
persistence_type,
|
|
53
|
+
batchPropsNames,
|
|
54
|
+
...others
|
|
55
|
+
}
|
|
56
|
+
} />
|
|
13
57
|
</Suspense>
|
|
14
58
|
);
|
|
15
59
|
}
|
|
@@ -43,6 +87,12 @@ AntdSwitch.propTypes = {
|
|
|
43
87
|
*/
|
|
44
88
|
name: PropTypes.string,
|
|
45
89
|
|
|
90
|
+
/**
|
|
91
|
+
* 控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能
|
|
92
|
+
* 默认值:`true`
|
|
93
|
+
*/
|
|
94
|
+
enableBatchControl: PropTypes.bool,
|
|
95
|
+
|
|
46
96
|
/**
|
|
47
97
|
* 是否禁用当前组件
|
|
48
98
|
* 默认值:`false`
|
|
@@ -150,16 +200,9 @@ AntdSwitch.propTypes = {
|
|
|
150
200
|
persistence_type: PropTypes.oneOf(['local', 'session', 'memory'])
|
|
151
201
|
};
|
|
152
202
|
|
|
153
|
-
|
|
154
|
-
AntdSwitch.defaultProps = {
|
|
155
|
-
disabled: false,
|
|
156
|
-
autoFocus: false,
|
|
157
|
-
size: 'default',
|
|
158
|
-
loading: false,
|
|
159
|
-
readOnly: false,
|
|
203
|
+
AntdSwitch.dashPersistence = {
|
|
160
204
|
persisted_props: ['checked'],
|
|
161
|
-
persistence_type: 'local'
|
|
162
|
-
batchPropsNames: []
|
|
205
|
+
persistence_type: 'local'
|
|
163
206
|
}
|
|
164
207
|
|
|
165
208
|
export default AntdSwitch;
|