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
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
if True:
|
|
2
|
+
import sys
|
|
3
|
+
|
|
4
|
+
sys.path.append('../../../')
|
|
5
|
+
import json
|
|
6
|
+
from dash import Dash, html
|
|
7
|
+
import feffery_antd_components as fac
|
|
8
|
+
from dash.dependencies import Input, Output
|
|
9
|
+
from feffery_dash_utils.style_utils import style
|
|
10
|
+
|
|
11
|
+
app = Dash(__name__)
|
|
12
|
+
|
|
13
|
+
app.layout = html.Div(
|
|
14
|
+
[
|
|
15
|
+
fac.AntdSpace(
|
|
16
|
+
[
|
|
17
|
+
fac.AntdBreadcrumb(
|
|
18
|
+
id='breadcrumnb-demo',
|
|
19
|
+
items=[
|
|
20
|
+
{'title': '首页', 'key': '首页'},
|
|
21
|
+
{
|
|
22
|
+
'title': '下属页面1',
|
|
23
|
+
'key': '下属页面1',
|
|
24
|
+
'menuItems': [
|
|
25
|
+
{
|
|
26
|
+
'key': f'子节点{i}',
|
|
27
|
+
'title': f'子节点{i}',
|
|
28
|
+
'icon': 'antd-smile',
|
|
29
|
+
}
|
|
30
|
+
for i in range(1, 4)
|
|
31
|
+
],
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
'title': '下属页面1-1',
|
|
35
|
+
'key': '下属页面1-1',
|
|
36
|
+
},
|
|
37
|
+
],
|
|
38
|
+
),
|
|
39
|
+
html.Pre(id='breadcrumnb-demo-output'),
|
|
40
|
+
],
|
|
41
|
+
size=50,
|
|
42
|
+
direction='vertical',
|
|
43
|
+
style=style(width='100%'),
|
|
44
|
+
)
|
|
45
|
+
],
|
|
46
|
+
style=style(padding=50),
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
@app.callback(
|
|
51
|
+
Output('breadcrumnb-demo-output', 'children'),
|
|
52
|
+
Input('breadcrumnb-demo', 'clickedItem'),
|
|
53
|
+
prevent_initial_call=True,
|
|
54
|
+
)
|
|
55
|
+
def breadcrumb_callback_demo(clickedItem):
|
|
56
|
+
return json.dumps(
|
|
57
|
+
dict(clickedItem=clickedItem),
|
|
58
|
+
indent=4,
|
|
59
|
+
ensure_ascii=False,
|
|
60
|
+
)
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
if __name__ == '__main__':
|
|
64
|
+
app.run(debug=True)
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
if True:
|
|
2
|
+
import sys
|
|
3
|
+
|
|
4
|
+
sys.path.append('../../../')
|
|
5
|
+
import json
|
|
6
|
+
from dash import Dash, html
|
|
7
|
+
import feffery_antd_components as fac
|
|
8
|
+
from dash.dependencies import Input, Output
|
|
9
|
+
from feffery_dash_utils.style_utils import style
|
|
10
|
+
|
|
11
|
+
app = Dash(__name__)
|
|
12
|
+
|
|
13
|
+
app.layout = html.Div(
|
|
14
|
+
[
|
|
15
|
+
fac.AntdSpace(
|
|
16
|
+
[
|
|
17
|
+
fac.AntdBreadcrumb(
|
|
18
|
+
items=[
|
|
19
|
+
{'title': '首页'},
|
|
20
|
+
{'title': '下属页面1'},
|
|
21
|
+
{'title': '下属页面1-1'},
|
|
22
|
+
]
|
|
23
|
+
),
|
|
24
|
+
fac.AntdBreadcrumb(
|
|
25
|
+
items=[
|
|
26
|
+
{
|
|
27
|
+
'title': 'awesome-feffery-dash仓库主页',
|
|
28
|
+
'href': 'https://github.com/CNFeffery/awesome-feffery-dash',
|
|
29
|
+
'target': '_blank',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
'title': 'feffery-antd-components文档首页',
|
|
33
|
+
'href': '/',
|
|
34
|
+
'target': '_blank',
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
'title': 'AntdBreadcrumb文档页',
|
|
38
|
+
'href': '/AntdBreadcrumb',
|
|
39
|
+
'target': '_blank',
|
|
40
|
+
},
|
|
41
|
+
]
|
|
42
|
+
),
|
|
43
|
+
fac.AntdBreadcrumb(
|
|
44
|
+
items=[
|
|
45
|
+
{
|
|
46
|
+
'title': 'awesome-feffery-dash仓库主页',
|
|
47
|
+
'href': 'https://github.com/CNFeffery/awesome-feffery-dash',
|
|
48
|
+
'target': '_blank',
|
|
49
|
+
'icon': 'antd-github',
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
'title': 'feffery-antd-components文档首页',
|
|
53
|
+
'href': '/',
|
|
54
|
+
'target': '_blank',
|
|
55
|
+
'icon': 'antd-home',
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
'title': 'AntdBreadcrumb文档页',
|
|
59
|
+
'href': '/AntdBreadcrumb',
|
|
60
|
+
'target': '_blank',
|
|
61
|
+
'icon': 'fc-approval',
|
|
62
|
+
},
|
|
63
|
+
]
|
|
64
|
+
),
|
|
65
|
+
fac.AntdBreadcrumb(
|
|
66
|
+
items=[
|
|
67
|
+
{
|
|
68
|
+
'title': 'awesome-feffery-dash仓库主页',
|
|
69
|
+
'href': 'https://github.com/CNFeffery/awesome-feffery-dash',
|
|
70
|
+
'target': '_blank',
|
|
71
|
+
'menuItems': [
|
|
72
|
+
{
|
|
73
|
+
'title': 'feffery-utils-components',
|
|
74
|
+
'href': 'https://github.com/CNFeffery/feffery-utils-components',
|
|
75
|
+
'target': '_blank',
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
'title': 'feffery-antd-charts',
|
|
79
|
+
'href': 'https://github.com/CNFeffery/feffery-antd-charts',
|
|
80
|
+
'target': '_blank',
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
'title': 'feffery-markdown-components',
|
|
84
|
+
'href': 'https://github.com/CNFeffery/feffery-markdown-components',
|
|
85
|
+
'target': '_blank',
|
|
86
|
+
},
|
|
87
|
+
],
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
'title': 'feffery-antd-components文档首页',
|
|
91
|
+
'href': '/',
|
|
92
|
+
'target': '_blank',
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
'title': 'AntdBreadcrumb文档页',
|
|
96
|
+
'href': '/AntdBreadcrumb',
|
|
97
|
+
'target': '_blank',
|
|
98
|
+
},
|
|
99
|
+
]
|
|
100
|
+
),
|
|
101
|
+
fac.AntdBreadcrumb(
|
|
102
|
+
id='breadcrumnb-demo',
|
|
103
|
+
items=[
|
|
104
|
+
{'title': '首页', 'key': '首页'},
|
|
105
|
+
{
|
|
106
|
+
'title': '下属页面1',
|
|
107
|
+
'key': '下属页面1',
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
'title': '下属页面1-1',
|
|
111
|
+
'key': '下属页面1-1',
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
),
|
|
115
|
+
html.Pre(id='breadcrumnb-demo-output'),
|
|
116
|
+
],
|
|
117
|
+
size=50,
|
|
118
|
+
direction='vertical',
|
|
119
|
+
style=style(width='100%'),
|
|
120
|
+
)
|
|
121
|
+
],
|
|
122
|
+
style=style(padding=50),
|
|
123
|
+
)
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
@app.callback(
|
|
127
|
+
Output('breadcrumnb-demo-output', 'children'),
|
|
128
|
+
Input('breadcrumnb-demo', 'clickedItem'),
|
|
129
|
+
prevent_initial_call=True,
|
|
130
|
+
)
|
|
131
|
+
def breadcrumb_callback_demo(clickedItem):
|
|
132
|
+
return json.dumps(
|
|
133
|
+
dict(clickedItem=clickedItem),
|
|
134
|
+
indent=4,
|
|
135
|
+
ensure_ascii=False,
|
|
136
|
+
)
|
|
137
|
+
|
|
138
|
+
|
|
139
|
+
if __name__ == '__main__':
|
|
140
|
+
app.run(debug=True)
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
if True:
|
|
2
|
+
import sys
|
|
3
|
+
|
|
4
|
+
sys.path.append('../../../')
|
|
5
|
+
import dash
|
|
6
|
+
from dash import html
|
|
7
|
+
import feffery_antd_components as fac
|
|
8
|
+
from dash.dependencies import Input, Output
|
|
9
|
+
from feffery_dash_utils.style_utils import style
|
|
10
|
+
|
|
11
|
+
app = dash.Dash(__name__)
|
|
12
|
+
|
|
13
|
+
app.layout = html.Div(
|
|
14
|
+
[
|
|
15
|
+
html.Div(
|
|
16
|
+
fac.AntdAffix(
|
|
17
|
+
fac.AntdButton(
|
|
18
|
+
'affixed: False',
|
|
19
|
+
id='output',
|
|
20
|
+
type='primary',
|
|
21
|
+
),
|
|
22
|
+
id='affix-demo',
|
|
23
|
+
offsetTop=24,
|
|
24
|
+
),
|
|
25
|
+
style={'marginBottom': '1000px'},
|
|
26
|
+
)
|
|
27
|
+
],
|
|
28
|
+
style=style(padding=100, height='1000vh'),
|
|
29
|
+
)
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
@app.callback(
|
|
33
|
+
Output('output', 'children'),
|
|
34
|
+
Input('affix-demo', 'affixed'),
|
|
35
|
+
)
|
|
36
|
+
def listen_affixed(affixed):
|
|
37
|
+
return 'affixed: True' if affixed else 'affixed: False'
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
if __name__ == '__main__':
|
|
41
|
+
app.run(debug=True)
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
if True:
|
|
2
|
+
import sys
|
|
3
|
+
|
|
4
|
+
sys.path.append('../../../')
|
|
5
|
+
import dash
|
|
6
|
+
from dash import html
|
|
7
|
+
import feffery_antd_components as fac
|
|
8
|
+
from feffery_dash_utils.style_utils import style
|
|
9
|
+
|
|
10
|
+
app = dash.Dash(__name__)
|
|
11
|
+
|
|
12
|
+
app.layout = html.Div(
|
|
13
|
+
[fac.AntdBackTop()],
|
|
14
|
+
style=style(height=9999),
|
|
15
|
+
)
|
|
16
|
+
|
|
17
|
+
if __name__ == '__main__':
|
|
18
|
+
app.run(debug=True)
|
package/usage.py
CHANGED
|
@@ -3,25 +3,31 @@ from dash import html
|
|
|
3
3
|
import feffery_antd_components as fac
|
|
4
4
|
from feffery_dash_utils.style_utils import style
|
|
5
5
|
|
|
6
|
-
app = dash.Dash(
|
|
6
|
+
app = dash.Dash(
|
|
7
|
+
__name__,
|
|
8
|
+
# 静态资源全量加载测试
|
|
9
|
+
eager_loading=True,
|
|
10
|
+
)
|
|
7
11
|
|
|
8
|
-
app.layout =
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
12
|
+
app.layout = fac.AntdConfigProvider(
|
|
13
|
+
html.Div(
|
|
14
|
+
fac.AntdSpace(
|
|
15
|
+
[
|
|
16
|
+
fac.AntdButton(
|
|
17
|
+
'按钮示例', type='primary', size=size
|
|
18
|
+
)
|
|
19
|
+
for size in ['large', 'middle', 'small']
|
|
20
|
+
],
|
|
21
|
+
align='center',
|
|
22
|
+
style=style(
|
|
23
|
+
position='fixed',
|
|
24
|
+
left='50%',
|
|
25
|
+
top='50%',
|
|
26
|
+
transform='translate(-50%, -50%)',
|
|
27
|
+
),
|
|
22
28
|
),
|
|
23
|
-
|
|
24
|
-
|
|
29
|
+
style=style(padding=50),
|
|
30
|
+
)
|
|
25
31
|
)
|
|
26
32
|
|
|
27
33
|
if __name__ == '__main__':
|
|
@@ -1,125 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdDraggablePanel(Component):
|
|
7
|
-
"""An AntdDraggablePanel component.
|
|
8
|
-
可拖拽面板组件AntdDraggablePanel
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional):
|
|
13
|
-
组件唯一id.
|
|
14
|
-
|
|
15
|
-
- key (string; optional):
|
|
16
|
-
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
17
|
-
|
|
18
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
19
|
-
组件型,内嵌元素.
|
|
20
|
-
|
|
21
|
-
- style (dict; optional):
|
|
22
|
-
当前组件css样式.
|
|
23
|
-
|
|
24
|
-
- className (string | dict; optional):
|
|
25
|
-
当前组件css类名,支持[动态css](/advanced-classname).
|
|
26
|
-
|
|
27
|
-
- mode (a value equal to: 'fixed', 'float'; default 'fixed'):
|
|
28
|
-
设置面板模式,可选项有`'fixed'`(固定模式)、`'float'`(浮动窗口模式) 默认值:`'fixed'`.
|
|
29
|
-
|
|
30
|
-
- defaultSize (dict; optional):
|
|
31
|
-
设置当前面板默认尺寸.
|
|
32
|
-
|
|
33
|
-
`defaultSize` is a dict with keys:
|
|
34
|
-
|
|
35
|
-
- width (number | string; optional):
|
|
36
|
-
设置像素宽度数值,或css宽度字符串.
|
|
37
|
-
|
|
38
|
-
- height (number | string; optional):
|
|
39
|
-
设置像素高度数值,或css高度字符串.
|
|
40
|
-
|
|
41
|
-
- defaultPosition (dict; optional):
|
|
42
|
-
设置当前面板默认位置.
|
|
43
|
-
|
|
44
|
-
`defaultPosition` is a dict with keys:
|
|
45
|
-
|
|
46
|
-
- x (number; optional):
|
|
47
|
-
设置距离文档左端像素距离.
|
|
48
|
-
|
|
49
|
-
- y (number; optional):
|
|
50
|
-
设置距离文档顶端像素距离.
|
|
51
|
-
|
|
52
|
-
- placement (a value equal to: 'right', 'left', 'top', 'bottom'; default 'right'):
|
|
53
|
-
固定模式下,用于设置面板朝向,可选项有`'right'`、`'left'`、`'top'`、`'bottom'`
|
|
54
|
-
默认值:`'right'`.
|
|
55
|
-
|
|
56
|
-
- minWidth (number; optional):
|
|
57
|
-
面板最小像素宽度.
|
|
58
|
-
|
|
59
|
-
- minHeight (number; optional):
|
|
60
|
-
面板最小像素高度.
|
|
61
|
-
|
|
62
|
-
- maxWidth (number; optional):
|
|
63
|
-
面板最大像素宽度.
|
|
64
|
-
|
|
65
|
-
- maxHeight (number; optional):
|
|
66
|
-
面板最大像素高度.
|
|
67
|
-
|
|
68
|
-
- resize (dict; optional):
|
|
69
|
-
配置尺寸可调整性,可独立控制各个方向,也可直接控制所有方向是否可调整尺寸.
|
|
70
|
-
|
|
71
|
-
`resize` is a boolean | dict with keys:
|
|
72
|
-
|
|
73
|
-
- bottom (boolean; optional)
|
|
74
|
-
|
|
75
|
-
- bottomLeft (boolean; optional)
|
|
76
|
-
|
|
77
|
-
- bottomRight (boolean; optional)
|
|
78
|
-
|
|
79
|
-
- left (boolean; optional)
|
|
80
|
-
|
|
81
|
-
- right (boolean; optional)
|
|
82
|
-
|
|
83
|
-
- top (boolean; optional)
|
|
84
|
-
|
|
85
|
-
- topLeft (boolean; optional)
|
|
86
|
-
|
|
87
|
-
- topRight (boolean; optional)
|
|
88
|
-
|
|
89
|
-
- expandable (boolean; default True):
|
|
90
|
-
面板是否可展开 默认值:`True`.
|
|
91
|
-
|
|
92
|
-
- data-* (string; optional):
|
|
93
|
-
`data-*`格式属性通配.
|
|
94
|
-
|
|
95
|
-
- aria-* (string; optional):
|
|
96
|
-
`aria-*`格式属性通配.
|
|
97
|
-
|
|
98
|
-
- loading_state (dict; optional)
|
|
99
|
-
|
|
100
|
-
`loading_state` is a dict with keys:
|
|
101
|
-
|
|
102
|
-
- is_loading (boolean; optional):
|
|
103
|
-
Determines if the component is loading or not.
|
|
104
|
-
|
|
105
|
-
- prop_name (string; optional):
|
|
106
|
-
Holds which property is loading.
|
|
107
|
-
|
|
108
|
-
- component_name (string; optional):
|
|
109
|
-
Holds the name of the component that is loading."""
|
|
110
|
-
_children_props = []
|
|
111
|
-
_base_nodes = ['children']
|
|
112
|
-
_namespace = 'feffery_antd_components'
|
|
113
|
-
_type = 'AntdDraggablePanel'
|
|
114
|
-
@_explicitize_args
|
|
115
|
-
def __init__(self, children=None, id=Component.UNDEFINED, key=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, mode=Component.UNDEFINED, defaultSize=Component.UNDEFINED, defaultPosition=Component.UNDEFINED, placement=Component.UNDEFINED, minWidth=Component.UNDEFINED, minHeight=Component.UNDEFINED, maxWidth=Component.UNDEFINED, maxHeight=Component.UNDEFINED, resize=Component.UNDEFINED, expandable=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
116
|
-
self._prop_names = ['id', 'key', 'children', 'style', 'className', 'mode', 'defaultSize', 'defaultPosition', 'placement', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'resize', 'expandable', 'data-*', 'aria-*', 'loading_state']
|
|
117
|
-
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
118
|
-
self.available_properties = ['id', 'key', 'children', 'style', 'className', 'mode', 'defaultSize', 'defaultPosition', 'placement', 'minWidth', 'minHeight', 'maxWidth', 'maxHeight', 'resize', 'expandable', 'data-*', 'aria-*', 'loading_state']
|
|
119
|
-
self.available_wildcard_properties = ['data-', 'aria-']
|
|
120
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
121
|
-
_locals = locals()
|
|
122
|
-
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
123
|
-
args = {k: _locals[k] for k in _explicit_args if k != 'children'}
|
|
124
|
-
|
|
125
|
-
super(AntdDraggablePanel, self).__init__(children=children, **args)
|
|
@@ -1,237 +0,0 @@
|
|
|
1
|
-
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
|
-
|
|
3
|
-
from dash.development.base_component import Component, _explicitize_args
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
class AntdEditorLayout(Component):
|
|
7
|
-
"""An AntdEditorLayout component.
|
|
8
|
-
编辑器布局组件AntdEditorLayout
|
|
9
|
-
|
|
10
|
-
Keyword arguments:
|
|
11
|
-
|
|
12
|
-
- id (string; optional):
|
|
13
|
-
组件唯一id.
|
|
14
|
-
|
|
15
|
-
- key (string; optional):
|
|
16
|
-
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
17
|
-
|
|
18
|
-
- style (dict; optional):
|
|
19
|
-
当前组件css样式.
|
|
20
|
-
|
|
21
|
-
- className (string | dict; optional):
|
|
22
|
-
当前组件css类名,支持[动态css](/advanced-classname).
|
|
23
|
-
|
|
24
|
-
- header (dict; optional):
|
|
25
|
-
配置页首布局内容,设置为`False`时不显示.
|
|
26
|
-
|
|
27
|
-
`header` is a dict with keys:
|
|
28
|
-
|
|
29
|
-
- title (a list of or a singular dash component, string or number; optional):
|
|
30
|
-
页首标题元素.
|
|
31
|
-
|
|
32
|
-
- extra (a list of or a singular dash component, string or number; optional):
|
|
33
|
-
页首额外操作区元素.
|
|
34
|
-
|
|
35
|
-
- style (dict; optional):
|
|
36
|
-
页首css样式.
|
|
37
|
-
|
|
38
|
-
- className (string; optional):
|
|
39
|
-
页首css类名.
|
|
40
|
-
|
|
41
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
42
|
-
页首主要区域子元素.
|
|
43
|
-
|
|
44
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
45
|
-
页首主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
46
|
-
|
|
47
|
-
- footer (dict; optional):
|
|
48
|
-
配置页脚布局内容,设置为`False`时不显示.
|
|
49
|
-
|
|
50
|
-
`footer` is a dict with keys:
|
|
51
|
-
|
|
52
|
-
- title (a list of or a singular dash component, string or number; optional):
|
|
53
|
-
页脚标题元素.
|
|
54
|
-
|
|
55
|
-
- extra (a list of or a singular dash component, string or number; optional):
|
|
56
|
-
页脚额外操作区元素.
|
|
57
|
-
|
|
58
|
-
- style (dict; optional):
|
|
59
|
-
页脚css样式.
|
|
60
|
-
|
|
61
|
-
- className (string; optional):
|
|
62
|
-
页脚css类名.
|
|
63
|
-
|
|
64
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
65
|
-
页脚主要区域子元素.
|
|
66
|
-
|
|
67
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
68
|
-
页脚主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
69
|
-
|
|
70
|
-
- leftPannel (dict; optional):
|
|
71
|
-
配置左侧面板布局内容,设置为`False`时不显示.
|
|
72
|
-
|
|
73
|
-
`leftPannel` is a dict with keys:
|
|
74
|
-
|
|
75
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
76
|
-
面板子元素内容.
|
|
77
|
-
|
|
78
|
-
- direction (a value equal to: 'horizontal', 'vertical'; optional):
|
|
79
|
-
面板方向,可选的有`'horizontal'`、`'vertical'`.
|
|
80
|
-
|
|
81
|
-
- minWidth (number; optional):
|
|
82
|
-
面板最小像素宽度.
|
|
83
|
-
|
|
84
|
-
- minHeight (number; optional):
|
|
85
|
-
面板最小像素高度.
|
|
86
|
-
|
|
87
|
-
- maxWidth (number; optional):
|
|
88
|
-
面板最大像素宽度.
|
|
89
|
-
|
|
90
|
-
- maxHeight (number; optional):
|
|
91
|
-
面板最大像素高度.
|
|
92
|
-
|
|
93
|
-
- style (dict; optional):
|
|
94
|
-
面板css样式.
|
|
95
|
-
|
|
96
|
-
- className (string; optional):
|
|
97
|
-
面板css类名.
|
|
98
|
-
|
|
99
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
100
|
-
面板主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
101
|
-
|
|
102
|
-
- rightPannel (dict; optional):
|
|
103
|
-
配置右侧面板布局内容,设置为`False`时不显示.
|
|
104
|
-
|
|
105
|
-
`rightPannel` is a dict with keys:
|
|
106
|
-
|
|
107
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
108
|
-
面板子元素内容.
|
|
109
|
-
|
|
110
|
-
- direction (a value equal to: 'horizontal', 'vertical'; optional):
|
|
111
|
-
面板方向,可选的有`'horizontal'`、`'vertical'`.
|
|
112
|
-
|
|
113
|
-
- minWidth (number; optional):
|
|
114
|
-
面板最小像素宽度.
|
|
115
|
-
|
|
116
|
-
- minHeight (number; optional):
|
|
117
|
-
面板最小像素高度.
|
|
118
|
-
|
|
119
|
-
- maxWidth (number; optional):
|
|
120
|
-
面板最大像素宽度.
|
|
121
|
-
|
|
122
|
-
- maxHeight (number; optional):
|
|
123
|
-
面板最大像素高度.
|
|
124
|
-
|
|
125
|
-
- style (dict; optional):
|
|
126
|
-
面板css样式.
|
|
127
|
-
|
|
128
|
-
- className (string; optional):
|
|
129
|
-
面板css类名.
|
|
130
|
-
|
|
131
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
132
|
-
面板主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
133
|
-
|
|
134
|
-
- bottomPannel (dict; optional):
|
|
135
|
-
配置底部面板布局内容,设置为`False`时不显示.
|
|
136
|
-
|
|
137
|
-
`bottomPannel` is a dict with keys:
|
|
138
|
-
|
|
139
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
140
|
-
面板子元素内容.
|
|
141
|
-
|
|
142
|
-
- direction (a value equal to: 'horizontal', 'vertical'; optional):
|
|
143
|
-
面板方向,可选的有`'horizontal'`、`'vertical'`.
|
|
144
|
-
|
|
145
|
-
- minWidth (number; optional):
|
|
146
|
-
面板最小像素宽度.
|
|
147
|
-
|
|
148
|
-
- minHeight (number; optional):
|
|
149
|
-
面板最小像素高度.
|
|
150
|
-
|
|
151
|
-
- maxWidth (number; optional):
|
|
152
|
-
面板最大像素宽度.
|
|
153
|
-
|
|
154
|
-
- maxHeight (number; optional):
|
|
155
|
-
面板最大像素高度.
|
|
156
|
-
|
|
157
|
-
- style (dict; optional):
|
|
158
|
-
面板css样式.
|
|
159
|
-
|
|
160
|
-
- className (string; optional):
|
|
161
|
-
面板css类名.
|
|
162
|
-
|
|
163
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
164
|
-
面板主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
165
|
-
|
|
166
|
-
- centerPannel (dict; optional):
|
|
167
|
-
配置中心面板布局内容,设置为`False`时不显示.
|
|
168
|
-
|
|
169
|
-
`centerPannel` is a dict with keys:
|
|
170
|
-
|
|
171
|
-
- children (a list of or a singular dash component, string or number; optional):
|
|
172
|
-
面板子元素内容.
|
|
173
|
-
|
|
174
|
-
- direction (a value equal to: 'horizontal', 'vertical'; optional):
|
|
175
|
-
面板方向,可选的有`'horizontal'`、`'vertical'`.
|
|
176
|
-
|
|
177
|
-
- minWidth (number; optional):
|
|
178
|
-
面板最小像素宽度.
|
|
179
|
-
|
|
180
|
-
- minHeight (number; optional):
|
|
181
|
-
面板最小像素高度.
|
|
182
|
-
|
|
183
|
-
- maxWidth (number; optional):
|
|
184
|
-
面板最大像素宽度.
|
|
185
|
-
|
|
186
|
-
- maxHeight (number; optional):
|
|
187
|
-
面板最大像素高度.
|
|
188
|
-
|
|
189
|
-
- style (dict; optional):
|
|
190
|
-
面板css样式.
|
|
191
|
-
|
|
192
|
-
- className (string; optional):
|
|
193
|
-
面板css类名.
|
|
194
|
-
|
|
195
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
196
|
-
面板主题类型,可选的有`'ghost'`、`'block'`、`'pure'`. | boolean
|
|
197
|
-
|
|
198
|
-
- type (a value equal to: 'Left&Right', 'LeftFull', 'RightFull', 'Bottom'; optional):
|
|
199
|
-
布局类型,可选的有`'Left&Right'`、`'LeftFull'`、`'RightFull'`、`'Bottom'`.
|
|
200
|
-
|
|
201
|
-
- themeType (a value equal to: 'ghost', 'block', 'pure'; optional):
|
|
202
|
-
整体主题类型,可选的有`'ghost'`、`'block'`、`'pure'`.
|
|
203
|
-
|
|
204
|
-
- data-* (string; optional):
|
|
205
|
-
`data-*`格式属性通配.
|
|
206
|
-
|
|
207
|
-
- aria-* (string; optional):
|
|
208
|
-
`aria-*`格式属性通配.
|
|
209
|
-
|
|
210
|
-
- loading_state (dict; optional)
|
|
211
|
-
|
|
212
|
-
`loading_state` is a dict with keys:
|
|
213
|
-
|
|
214
|
-
- is_loading (boolean; optional):
|
|
215
|
-
Determines if the component is loading or not.
|
|
216
|
-
|
|
217
|
-
- prop_name (string; optional):
|
|
218
|
-
Holds which property is loading.
|
|
219
|
-
|
|
220
|
-
- component_name (string; optional):
|
|
221
|
-
Holds the name of the component that is loading."""
|
|
222
|
-
_children_props = ['header.title', 'header.extra', 'header.children', 'footer.title', 'footer.extra', 'footer.children', 'leftPannel.children', 'rightPannel.children', 'bottomPannel.children', 'centerPannel.children']
|
|
223
|
-
_base_nodes = ['children']
|
|
224
|
-
_namespace = 'feffery_antd_components'
|
|
225
|
-
_type = 'AntdEditorLayout'
|
|
226
|
-
@_explicitize_args
|
|
227
|
-
def __init__(self, id=Component.UNDEFINED, key=Component.UNDEFINED, style=Component.UNDEFINED, className=Component.UNDEFINED, header=Component.UNDEFINED, footer=Component.UNDEFINED, leftPannel=Component.UNDEFINED, rightPannel=Component.UNDEFINED, bottomPannel=Component.UNDEFINED, centerPannel=Component.UNDEFINED, type=Component.UNDEFINED, themeType=Component.UNDEFINED, loading_state=Component.UNDEFINED, **kwargs):
|
|
228
|
-
self._prop_names = ['id', 'key', 'style', 'className', 'header', 'footer', 'leftPannel', 'rightPannel', 'bottomPannel', 'centerPannel', 'type', 'themeType', 'data-*', 'aria-*', 'loading_state']
|
|
229
|
-
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
230
|
-
self.available_properties = ['id', 'key', 'style', 'className', 'header', 'footer', 'leftPannel', 'rightPannel', 'bottomPannel', 'centerPannel', 'type', 'themeType', 'data-*', 'aria-*', 'loading_state']
|
|
231
|
-
self.available_wildcard_properties = ['data-', 'aria-']
|
|
232
|
-
_explicit_args = kwargs.pop('_explicit_args')
|
|
233
|
-
_locals = locals()
|
|
234
|
-
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
235
|
-
args = {k: _locals[k] for k in _explicit_args}
|
|
236
|
-
|
|
237
|
-
super(AntdEditorLayout, self).__init__(**args)
|