feffery_antd_components 0.4.3-rc6 → 0.4.3
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/CONTRIBUTING.md +4 -4
- package/DESCRIPTION +1 -1
- package/LICENSE +21 -21
- package/MANIFEST.in +6 -6
- package/Project.toml +1 -1
- package/README-en_US.md +73 -73
- package/README.md +87 -87
- package/bug_fix.py +21 -36
- package/fac-logo.svg +151 -151
- package/feffery_antd_components/AntdAccordion.py +7 -7
- package/feffery_antd_components/AntdAffix.py +2 -2
- package/feffery_antd_components/AntdAlert.py +5 -5
- package/feffery_antd_components/AntdAnchor.py +5 -5
- package/feffery_antd_components/AntdAvatar.py +4 -4
- package/feffery_antd_components/AntdAvatarGroup.py +1 -1
- package/feffery_antd_components/AntdBackTop.py +4 -4
- package/feffery_antd_components/AntdBadge.py +5 -5
- package/feffery_antd_components/AntdBreadcrumb.py +4 -4
- package/feffery_antd_components/AntdButton.py +14 -14
- package/feffery_antd_components/AntdCalendar.py +4 -4
- package/feffery_antd_components/AntdCard.py +5 -5
- package/feffery_antd_components/AntdCardGrid.py +3 -3
- package/feffery_antd_components/AntdCardMeta.py +1 -1
- package/feffery_antd_components/AntdCarousel.py +13 -13
- package/feffery_antd_components/AntdCascader.py +16 -17
- package/feffery_antd_components/AntdCenter.py +3 -3
- package/feffery_antd_components/AntdCheckCard.py +7 -7
- package/feffery_antd_components/AntdCheckCardGroup.py +9 -9
- package/feffery_antd_components/AntdCheckableTag.py +2 -2
- package/feffery_antd_components/AntdCheckbox.py +8 -8
- package/feffery_antd_components/AntdCheckboxGroup.py +6 -6
- package/feffery_antd_components/AntdCol.py +5 -5
- package/feffery_antd_components/AntdCollapse.py +8 -8
- package/feffery_antd_components/AntdColorPicker.py +13 -13
- package/feffery_antd_components/AntdComment.py +7 -7
- package/feffery_antd_components/AntdCompact.py +3 -3
- package/feffery_antd_components/AntdConfigProvider.py +6 -6
- package/feffery_antd_components/AntdContent.py +1 -1
- package/feffery_antd_components/AntdCopyText.py +2 -2
- package/feffery_antd_components/AntdCountdown.py +1 -1
- package/feffery_antd_components/AntdCountup.py +1 -1
- package/feffery_antd_components/AntdCustomSkeleton.py +5 -5
- package/feffery_antd_components/AntdDatePicker.py +13 -13
- package/feffery_antd_components/AntdDateRangePicker.py +12 -12
- package/feffery_antd_components/AntdDescriptionItem.py +2 -2
- package/feffery_antd_components/AntdDescriptions.py +6 -6
- package/feffery_antd_components/AntdDivider.py +5 -5
- package/feffery_antd_components/AntdDraggerUpload.py +15 -15
- package/feffery_antd_components/AntdDrawer.py +12 -12
- package/feffery_antd_components/AntdDropdown.py +18 -18
- package/feffery_antd_components/AntdEmpty.py +2 -2
- package/feffery_antd_components/AntdFlex.py +6 -6
- package/feffery_antd_components/AntdFloatButton.py +5 -5
- package/feffery_antd_components/AntdFloatButtonGroup.py +3 -3
- package/feffery_antd_components/AntdFooter.py +1 -1
- package/feffery_antd_components/AntdForm.py +10 -6
- package/feffery_antd_components/AntdFormItem.py +4 -4
- package/feffery_antd_components/AntdFormRender.py +2 -2
- package/feffery_antd_components/AntdHappyProvider.py +2 -2
- package/feffery_antd_components/AntdHeader.py +1 -1
- package/feffery_antd_components/AntdIcon.py +3 -3
- package/feffery_antd_components/AntdImage.py +6 -6
- package/feffery_antd_components/AntdImageGroup.py +6 -6
- package/feffery_antd_components/AntdInput.py +17 -17
- package/feffery_antd_components/AntdInputNumber.py +12 -12
- package/feffery_antd_components/AntdLayout.py +1 -1
- package/feffery_antd_components/AntdMentions.py +9 -9
- package/feffery_antd_components/AntdMenu.py +9 -9
- package/feffery_antd_components/AntdMessage.py +3 -3
- package/feffery_antd_components/AntdModal.py +28 -28
- package/feffery_antd_components/AntdNotification.py +9 -9
- package/feffery_antd_components/AntdOTP.py +7 -7
- package/feffery_antd_components/AntdPageHeader.py +5 -5
- package/feffery_antd_components/AntdPagination.py +15 -15
- package/feffery_antd_components/AntdParagraph.py +2 -2
- package/feffery_antd_components/AntdPictureUpload.py +28 -28
- package/feffery_antd_components/AntdPopconfirm.py +21 -21
- package/feffery_antd_components/AntdPopover.py +9 -9
- package/feffery_antd_components/AntdPopupCard.py +9 -9
- package/feffery_antd_components/AntdProgress.py +9 -9
- package/feffery_antd_components/AntdQRCode.py +10 -10
- package/feffery_antd_components/AntdRadioGroup.py +9 -9
- package/feffery_antd_components/AntdRate.py +9 -9
- package/feffery_antd_components/AntdResult.py +1 -1
- package/feffery_antd_components/AntdRibbon.py +2 -2
- package/feffery_antd_components/AntdRow.py +3 -3
- package/feffery_antd_components/AntdSegmented.py +9 -9
- package/feffery_antd_components/AntdSegmentedColoring.py +11 -11
- package/feffery_antd_components/AntdSelect.py +19 -19
- package/feffery_antd_components/AntdSider.py +6 -6
- package/feffery_antd_components/AntdSkeleton.py +11 -11
- package/feffery_antd_components/AntdSkeletonAvatar.py +3 -3
- package/feffery_antd_components/AntdSkeletonButton.py +5 -5
- package/feffery_antd_components/AntdSkeletonImage.py +1 -1
- package/feffery_antd_components/AntdSkeletonInput.py +3 -3
- package/feffery_antd_components/AntdSlider.py +10 -10
- package/feffery_antd_components/AntdSpace.py +4 -4
- package/feffery_antd_components/AntdSpin.py +7 -8
- package/feffery_antd_components/AntdSplitter.py +5 -5
- package/feffery_antd_components/AntdSpoiler.py +5 -5
- package/feffery_antd_components/AntdStatistic.py +2 -2
- package/feffery_antd_components/AntdSteps.py +8 -8
- package/feffery_antd_components/AntdSwitch.py +8 -8
- package/feffery_antd_components/AntdTable.py +64 -63
- package/feffery_antd_components/AntdTabs.py +13 -14
- package/feffery_antd_components/AntdTag.py +4 -4
- package/feffery_antd_components/AntdText.py +2 -2
- package/feffery_antd_components/AntdTimePicker.py +16 -16
- package/feffery_antd_components/AntdTimeRangePicker.py +15 -15
- package/feffery_antd_components/AntdTimeline.py +2 -2
- package/feffery_antd_components/AntdTitle.py +2 -2
- package/feffery_antd_components/AntdTooltip.py +9 -9
- package/feffery_antd_components/AntdTour.py +9 -9
- package/feffery_antd_components/AntdTransfer.py +11 -11
- package/feffery_antd_components/AntdTree.py +17 -17
- package/feffery_antd_components/AntdTreeSelect.py +18 -18
- package/feffery_antd_components/AntdUpload.py +18 -18
- package/feffery_antd_components/AntdWatermark.py +6 -6
- package/feffery_antd_components/Fragment.py +1 -1
- package/feffery_antd_components/__init__.py +88 -88
- package/feffery_antd_components/_icons.py +559 -559
- package/feffery_antd_components/alias.py +222 -222
- 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 +3 -3
- package/feffery_antd_components/async-upload.js +2 -2
- package/feffery_antd_components/feffery_antd_components.min.js +8 -8
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +111 -96
- package/feffery_antd_components/utils.py +262 -262
- package/package.json +111 -96
- package/pytest.ini +5 -5
- package/release-to-test-pypi.sh +1 -1
- package/requirements.txt +2 -2
- package/review_checklist.md +47 -47
- package/ruff.toml +4 -4
- package/setup.py +33 -33
- package/src/jl/'feffery'_antdform.jl +2 -1
- package/src/jl/'feffery'_antdtable.jl +7 -6
- package/src/lib/components/dataDisplay/AntdAccordion.react.js +232 -232
- package/src/lib/components/dataDisplay/AntdAvatar.react.js +177 -177
- package/src/lib/components/dataDisplay/AntdAvatarGroup.react.js +133 -133
- package/src/lib/components/dataDisplay/AntdBadge.react.js +196 -196
- package/src/lib/components/dataDisplay/AntdCarousel.react.js +187 -187
- package/src/lib/components/dataDisplay/AntdCheckableTag.react.js +105 -105
- package/src/lib/components/dataDisplay/AntdCollapse.react.js +239 -239
- package/src/lib/components/dataDisplay/AntdComment.react.js +251 -251
- package/src/lib/components/dataDisplay/AntdCountdown.react.js +143 -143
- package/src/lib/components/dataDisplay/AntdCountup.react.js +133 -133
- package/src/lib/components/dataDisplay/AntdEmpty.react.js +162 -162
- package/src/lib/components/dataDisplay/AntdImage.react.js +202 -202
- package/src/lib/components/dataDisplay/AntdImageGroup.react.js +181 -181
- package/src/lib/components/dataDisplay/AntdPopover.react.js +220 -220
- package/src/lib/components/dataDisplay/AntdQRCode.react.js +191 -191
- package/src/lib/components/dataDisplay/AntdRibbon.react.js +105 -105
- package/src/lib/components/dataDisplay/AntdSegmented.react.js +234 -234
- package/src/lib/components/dataDisplay/AntdSpoiler.react.js +154 -154
- package/src/lib/components/dataDisplay/AntdStatistic.react.js +168 -168
- package/src/lib/components/dataDisplay/AntdTable.react.js +1859 -1858
- package/src/lib/components/dataDisplay/AntdTabs.react.js +352 -352
- package/src/lib/components/dataDisplay/AntdTag.react.js +135 -135
- package/src/lib/components/dataDisplay/AntdTimeline.react.js +136 -136
- package/src/lib/components/dataDisplay/AntdTooltip.react.js +230 -230
- package/src/lib/components/dataDisplay/AntdTree.react.js +641 -641
- package/src/lib/components/dataDisplay/card/AntdCard.react.js +249 -249
- package/src/lib/components/dataDisplay/card/AntdCardGrid.react.js +99 -99
- package/src/lib/components/dataDisplay/card/AntdCardMeta.react.js +97 -97
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptionItem.react.js +130 -130
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptions.react.js +237 -237
- package/src/lib/components/dataEntry/AntdCalendar.react.js +205 -205
- package/src/lib/components/dataEntry/AntdCascader.react.js +435 -435
- package/src/lib/components/dataEntry/AntdCheckbox.react.js +182 -182
- package/src/lib/components/dataEntry/AntdCheckboxGroup.react.js +193 -193
- package/src/lib/components/dataEntry/AntdColorPicker.react.js +240 -240
- package/src/lib/components/dataEntry/AntdDatePicker.react.js +432 -432
- package/src/lib/components/dataEntry/AntdDateRangePicker.react.js +439 -439
- package/src/lib/components/dataEntry/AntdInput.react.js +423 -423
- package/src/lib/components/dataEntry/AntdInputNumber.react.js +329 -329
- package/src/lib/components/dataEntry/AntdMentions.react.js +236 -236
- package/src/lib/components/dataEntry/AntdOTP.react.js +186 -186
- package/src/lib/components/dataEntry/AntdRadioGroup.react.js +241 -241
- package/src/lib/components/dataEntry/AntdRate.react.js +199 -199
- package/src/lib/components/dataEntry/AntdSegmentedColoring.react.js +251 -251
- package/src/lib/components/dataEntry/AntdSelect.react.js +492 -492
- package/src/lib/components/dataEntry/AntdSlider.react.js +325 -325
- package/src/lib/components/dataEntry/AntdSwitch.react.js +210 -210
- package/src/lib/components/dataEntry/AntdTimePicker.react.js +344 -344
- package/src/lib/components/dataEntry/AntdTimeRangePicker.react.js +325 -325
- package/src/lib/components/dataEntry/AntdTransfer.react.js +317 -317
- package/src/lib/components/dataEntry/AntdTreeSelect.react.js +573 -573
- package/src/lib/components/dataEntry/check-card/AntdCheckCard.react.js +186 -186
- package/src/lib/components/dataEntry/check-card/AntdCheckCardGroup.react.js +214 -214
- package/src/lib/components/dataEntry/form/AntdForm.react.js +201 -194
- package/src/lib/components/dataEntry/form/AntdFormItem.react.js +210 -210
- package/src/lib/components/dataEntry/upload/AntdDraggerUpload.react.js +504 -504
- package/src/lib/components/dataEntry/upload/AntdPictureUpload.react.js +530 -530
- package/src/lib/components/dataEntry/upload/AntdUpload.react.js +537 -537
- package/src/lib/components/feedback/AntdAlert.react.js +185 -185
- package/src/lib/components/feedback/AntdDrawer.react.js +306 -306
- package/src/lib/components/feedback/AntdMessage.react.js +143 -143
- package/src/lib/components/feedback/AntdModal.react.js +530 -530
- package/src/lib/components/feedback/AntdNotification.react.js +211 -211
- package/src/lib/components/feedback/AntdPopconfirm.react.js +433 -433
- package/src/lib/components/feedback/AntdPopupCard.react.js +362 -362
- package/src/lib/components/feedback/AntdProgress.react.js +300 -300
- package/src/lib/components/feedback/AntdResult.react.js +125 -125
- package/src/lib/components/feedback/AntdSpin.react.js +273 -273
- package/src/lib/components/feedback/skeleton/AntdCustomSkeleton.react.js +197 -197
- package/src/lib/components/feedback/skeleton/AntdSkeleton.react.js +291 -291
- package/src/lib/components/feedback/skeleton/AntdSkeletonAvatar.react.js +109 -109
- package/src/lib/components/feedback/skeleton/AntdSkeletonButton.react.js +114 -114
- package/src/lib/components/feedback/skeleton/AntdSkeletonImage.react.js +82 -82
- package/src/lib/components/feedback/skeleton/AntdSkeletonInput.react.js +98 -98
- package/src/lib/components/formRender/AntdFormRender.react.js +945 -945
- package/src/lib/components/general/AntdButton.react.js +328 -328
- package/src/lib/components/general/AntdFloatButton.react.js +157 -157
- package/src/lib/components/general/AntdFloatButtonGroup.react.js +162 -162
- package/src/lib/components/general/AntdIcon.react.js +176 -176
- package/src/lib/components/general/typography/AntdParagraph.react.js +202 -202
- package/src/lib/components/general/typography/AntdText.react.js +194 -194
- package/src/lib/components/general/typography/AntdTitle.react.js +186 -186
- package/src/lib/components/icons.react.js +1136 -1136
- package/src/lib/components/layout/AntdCenter.react.js +122 -122
- package/src/lib/components/layout/AntdCompact.react.js +108 -108
- package/src/lib/components/layout/AntdContent.react.js +92 -92
- package/src/lib/components/layout/AntdDivider.react.js +219 -219
- package/src/lib/components/layout/AntdFlex.react.js +143 -143
- package/src/lib/components/layout/AntdFooter.react.js +92 -92
- package/src/lib/components/layout/AntdHeader.react.js +92 -92
- package/src/lib/components/layout/AntdLayout.react.js +90 -90
- package/src/lib/components/layout/AntdSider.react.js +162 -162
- package/src/lib/components/layout/AntdSpace.react.js +213 -213
- package/src/lib/components/layout/AntdSplitter.react.js +173 -173
- package/src/lib/components/layout/grid/AntdCol.react.js +349 -349
- package/src/lib/components/layout/grid/AntdRow.react.js +152 -152
- package/src/lib/components/locales.react.js +197 -197
- package/src/lib/components/navigation/AntdAnchor.react.js +208 -208
- package/src/lib/components/navigation/AntdBreadcrumb.react.js +270 -270
- package/src/lib/components/navigation/AntdDropdown.react.js +469 -469
- package/src/lib/components/navigation/AntdMenu.react.js +573 -649
- package/src/lib/components/navigation/AntdPageHeader.react.js +139 -139
- package/src/lib/components/navigation/AntdPagination.react.js +303 -303
- package/src/lib/components/navigation/AntdSteps.react.js +199 -199
- package/src/lib/components/other/AntdAffix.react.js +120 -120
- package/src/lib/components/other/AntdBackTop.react.js +128 -128
- package/src/lib/components/other/AntdConfigProvider.react.js +246 -246
- package/src/lib/components/other/AntdCopyText.react.js +138 -138
- package/src/lib/components/other/AntdHappyProvider.react.js +50 -50
- package/src/lib/components/other/AntdTour.react.js +277 -277
- package/src/lib/components/other/AntdWatermark.react.js +179 -179
- package/src/lib/components/other/Fragment.react.js +50 -50
- package/src/lib/components/styles.css +513 -513
- package/src/lib/components/utils.js +51 -51
- package/src/lib/contexts/FormContext.js +4 -4
- package/src/lib/contexts/FormItemContext.js +4 -4
- package/src/lib/contexts/PropsContext.js +4 -4
- package/src/lib/fragments/AntdTable.react.js +2215 -2200
- package/src/lib/fragments/dataDisplay/AntdAccordion.react.js +101 -101
- package/src/lib/fragments/dataDisplay/AntdAvatar.react.js +127 -127
- package/src/lib/fragments/dataDisplay/AntdAvatarGroup.react.js +51 -51
- package/src/lib/fragments/dataDisplay/AntdBadge.react.js +73 -73
- package/src/lib/fragments/dataDisplay/AntdCarousel.react.js +71 -71
- package/src/lib/fragments/dataDisplay/AntdCheckableTag.react.js +57 -57
- package/src/lib/fragments/dataDisplay/AntdComment.react.js +178 -178
- package/src/lib/fragments/dataDisplay/AntdCountdown.react.js +83 -83
- package/src/lib/fragments/dataDisplay/AntdCountup.react.js +70 -70
- package/src/lib/fragments/dataDisplay/AntdEmpty.react.js +71 -71
- package/src/lib/fragments/dataDisplay/AntdImage.react.js +206 -206
- package/src/lib/fragments/dataDisplay/AntdImageGroup.react.js +91 -91
- package/src/lib/fragments/dataDisplay/AntdPopover.react.js +106 -106
- package/src/lib/fragments/dataDisplay/AntdQRCode.react.js +93 -93
- package/src/lib/fragments/dataDisplay/AntdRibbon.react.js +53 -53
- package/src/lib/fragments/dataDisplay/AntdSegmented.react.js +129 -129
- package/src/lib/fragments/dataDisplay/AntdSpoiler.react.js +96 -96
- package/src/lib/fragments/dataDisplay/AntdTabs.react.js +211 -211
- package/src/lib/fragments/dataDisplay/AntdTag.react.js +66 -66
- package/src/lib/fragments/dataDisplay/AntdTimeline.react.js +67 -67
- package/src/lib/fragments/dataDisplay/AntdTooltip.react.js +98 -98
- package/src/lib/fragments/dataDisplay/AntdTree.react.js +581 -581
- package/src/lib/fragments/dataDisplay/card/AntdCard.react.js +104 -104
- package/src/lib/fragments/dataDisplay/card/AntdCardGrid.react.js +54 -54
- package/src/lib/fragments/dataDisplay/card/AntdCardMeta.react.js +54 -54
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptionItem.react.js +56 -56
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptions.react.js +139 -139
- package/src/lib/fragments/dataEntry/AntdCalendar.react.js +178 -178
- package/src/lib/fragments/dataEntry/AntdCascader.react.js +319 -319
- package/src/lib/fragments/dataEntry/AntdCheckbox.react.js +119 -119
- package/src/lib/fragments/dataEntry/AntdCheckboxGroup.react.js +122 -122
- package/src/lib/fragments/dataEntry/AntdColorPicker.react.js +244 -244
- package/src/lib/fragments/dataEntry/AntdDatePicker.react.js +586 -586
- package/src/lib/fragments/dataEntry/AntdDateRangePicker.react.js +628 -628
- package/src/lib/fragments/dataEntry/AntdInput.react.js +450 -450
- package/src/lib/fragments/dataEntry/AntdInputNumber.react.js +194 -194
- package/src/lib/fragments/dataEntry/AntdMentions.react.js +180 -180
- package/src/lib/fragments/dataEntry/AntdOTP.react.js +127 -127
- package/src/lib/fragments/dataEntry/AntdRadioGroup.react.js +203 -203
- package/src/lib/fragments/dataEntry/AntdRate.react.js +131 -131
- package/src/lib/fragments/dataEntry/AntdSegmentedColoring.react.js +246 -246
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +373 -373
- package/src/lib/fragments/dataEntry/AntdSlider.react.js +177 -177
- package/src/lib/fragments/dataEntry/AntdSwitch.react.js +132 -132
- package/src/lib/fragments/dataEntry/AntdTimePicker.react.js +191 -191
- package/src/lib/fragments/dataEntry/AntdTimeRangePicker.react.js +213 -213
- package/src/lib/fragments/dataEntry/AntdTransfer.react.js +183 -183
- package/src/lib/fragments/dataEntry/AntdTreeSelect.react.js +355 -355
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCard.react.js +111 -111
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCardGroup.react.js +122 -122
- package/src/lib/fragments/dataEntry/form/AntdForm.react.js +126 -120
- package/src/lib/fragments/dataEntry/form/AntdFormItem.react.js +85 -84
- package/src/lib/fragments/formRender/AntdFormRender.react.js +179 -179
- package/src/lib/fragments/upload/AntdDraggerUpload.react.js +622 -622
- package/src/lib/fragments/upload/AntdPictureUpload.react.js +577 -577
- package/src/lib/fragments/upload/AntdUpload.react.js +613 -613
- package/src/lib/hooks/useCss.js +28 -28
- package/src/lib/hooks/useStickyOffset.js +115 -115
- package/src/lib/index.js +240 -240
- package/src/lib/internal_components/UtilsLink.react.js +82 -0
- package/src/lib/store/formStore.js +54 -47
- 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 -51
- package/tests/dash3.0tests/AntdTable/345/207/275/346/225/260/345/274/217/346/224/271/351/200/240/test.py +62 -62
- package/tests/dash3.0tests/_dashprivate_layout/346/224/271/345/212/250/346/265/213/350/257/225/test.py +50 -50
- package/tests/dash3.0tests/loading_state/346/224/271/345/212/250/346/265/213/350/257/225/test.py +38 -38
- 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 -30
- 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 -62
- 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 -25
- package/tests/dataDisplay/AntdAccordion/feat_size.py +36 -36
- package/tests/dataDisplay/AntdAccordion/feat_styles.py +35 -35
- package/tests/dataDisplay/AntdCard/refactor_delete_props.py +83 -83
- package/tests/dataDisplay/AntdCarousel/feat_auto_play_dot_duration.py +34 -34
- package/tests/dataDisplay/AntdCollapse/feat_size.py +30 -30
- package/tests/dataDisplay/AntdCollapse/feat_styles.py +29 -29
- package/tests/dataDisplay/AntdCountdown/feat_finish_event.py +41 -41
- package/tests/dataDisplay/AntdCountdown/refactor_to_timer.py +57 -57
- package/tests/dataDisplay/AntdCountup/refactor_to_timer.py +57 -57
- package/tests/dataDisplay/AntdDescriptions/feat_span_filled.py +42 -42
- package/tests/dataDisplay/AntdImage/debug_preview_toolbar.py +23 -23
- package/tests/dataDisplay/AntdSegmented/feat_shape.py +39 -39
- package/tests/dataDisplay/AntdSegmented/feat_simple_options.py +43 -43
- package/tests/dataDisplay/AntdSegmented/feat_vertical.py +32 -32
- package/tests/dataDisplay/AntdTable/feat_button_mode_like_dcc_link.py +125 -0
- package/tests/dataDisplay/AntdTable/feat_button_mode_refactor.py +143 -143
- package/tests/dataDisplay/AntdTable/feat_button_mode_tooltip.py +47 -47
- package/tests/dataDisplay/AntdTable/feat_columns_fixed_bool.py +40 -40
- package/tests/dataDisplay/AntdTable/feat_columns_min_width.py +51 -51
- package/tests/dataDisplay/AntdTable/feat_columns_sort_order.py +131 -131
- package/tests/dataDisplay/AntdTable/feat_editable_disabled_keys.py +71 -71
- package/tests/dataDisplay/AntdTable/feat_header_align.py +38 -38
- package/tests/dataDisplay/AntdTable/feat_link_mode_like_dcc_link.py +49 -0
- package/tests/dataDisplay/AntdTable/feat_loading.py +76 -76
- package/tests/dataDisplay/AntdTable/feat_mini_chart_color.py +139 -139
- package/tests/dataDisplay/AntdTable/feat_row_class_name.py +39 -39
- package/tests/dataDisplay/AntdTable/feat_row_class_name_func.py +41 -41
- package/tests/dataDisplay/AntdTable/feat_select_mode_show_search.py +70 -70
- package/tests/dataDisplay/AntdTable/feat_sticky_header.py +81 -81
- package/tests/dataDisplay/AntdTable/feat_table_scroll.py +54 -54
- package/tests/dataDisplay/AntdTable/feat_tag_mode_tooltip.py +88 -88
- package/tests/dataDisplay/AntdTable/feat_title_popover_nodes.py +94 -79
- package/tests/dataDisplay/AntdTable/fix_context_locale.py +37 -37
- package/tests/dataDisplay/AntdTable/fix_field_bool.py +50 -50
- package/tests/dataDisplay/AntdTable/fix_nested_editable.py +115 -115
- package/tests/dataDisplay/AntdTable/fix_select_with_editable.py +84 -84
- package/tests/dataDisplay/AntdTable/fix_server_side_mode_filter_search.py +194 -194
- package/tests/dataDisplay/AntdTable/fix_summary.py +474 -474
- package/tests/dataDisplay/AntdTable/fix_summary_multi_level_header.py +85 -85
- package/tests/dataDisplay/AntdTable/fix_zero_value_filter.py +34 -34
- package/tests/dataDisplay/AntdTable/perf_button_mode_auto_wrap.py +39 -39
- package/tests/dataDisplay/AntdTable/perf_editable_column_format_constrait_message.py +65 -65
- package/tests/dataDisplay/AntdTable/refactor_mini_progress_mode.py +134 -134
- package/tests/dataDisplay/AntdTable/rollback_title_popover_info.py +46 -0
- package/tests/dataDisplay/AntdTabs/feat_item_icon.py +39 -39
- package/tests/dataDisplay/AntdTabs/feat_placeholder.py +124 -124
- package/tests/dataDisplay/AntdTabs/feat_tab_bar_style.py +40 -40
- package/tests/dataDisplay/AntdTree/feat_async_data_load.py +71 -71
- package/tests/dataDisplay/descriptions/AntdDescriptions/feat_extra.py +83 -83
- package/tests/dataEntry/AntdCalendar/feat_custom_cells.py +52 -52
- package/tests/dataEntry/AntdCascader/feat_prefix.py +62 -62
- package/tests/dataEntry/AntdCascader/feat_suffix_icon.py +62 -62
- package/tests/dataEntry/AntdCascader/fix_read_only.py +74 -74
- package/tests/dataEntry/AntdDatePicker/feat_custom_cells.py +79 -79
- package/tests/dataEntry/AntdDatePicker/feat_picker_value.py +38 -38
- package/tests/dataEntry/AntdDatePicker/feat_prefix.py +21 -21
- package/tests/dataEntry/AntdDatePicker/feat_suffix_icon.py +21 -21
- package/tests/dataEntry/AntdDateRangePicker/feat_custom_cells.py +79 -79
- package/tests/dataEntry/AntdDateRangePicker/feat_picker_value.py +38 -38
- package/tests/dataEntry/AntdDateRangePicker/feat_prefix.py +21 -21
- package/tests/dataEntry/AntdDateRangePicker/feat_suffix_icon.py +21 -21
- package/tests/dataEntry/AntdForm/feat_batch_control_tooltips.py +35 -0
- package/tests/dataEntry/AntdForm/feat_optional_batch_control.py +62 -62
- package/tests/dataEntry/AntdForm/fix_checkbox.py +65 -65
- package/tests/dataEntry/AntdRadioGroup/feat_block.py +40 -40
- package/tests/dataEntry/AntdSelect/feat_locale_ru.py +24 -24
- package/tests/dataEntry/AntdSelect/feat_max_count.py +28 -28
- package/tests/dataEntry/AntdSelect/feat_prefix.py +26 -26
- package/tests/dataEntry/AntdSelect/feat_show_search.py +32 -32
- package/tests/dataEntry/AntdSelect/feat_suffix_icon.py +46 -46
- package/tests/dataEntry/AntdSelect/fix_read_only.py +50 -50
- package/tests/dataEntry/AntdSelect/fix_read_only_with_allow_clear.py +29 -29
- package/tests/dataEntry/AntdSlider/feat_range_editable.py +49 -49
- package/tests/dataEntry/AntdTimePicker/feat_prefix.py +21 -21
- package/tests/dataEntry/AntdTimePicker/feat_suffix_icon.py +21 -21
- package/tests/dataEntry/AntdTimeRangePicker/feat_prefix.py +21 -21
- package/tests/dataEntry/AntdTimeRangePicker/feat_suffix_icon.py +21 -21
- package/tests/dataEntry/AntdTreeSelect/feat_async_data_load.py +69 -69
- package/tests/dataEntry/AntdTreeSelect/feat_max_count.py +71 -71
- package/tests/dataEntry/AntdTreeSelect/feat_prefix.py +43 -43
- package/tests/dataEntry/AntdTreeSelect/fix_read_only.py +50 -50
- package/tests/dataEntry/AntdUpload/feat_pastable.py +22 -22
- package/tests/dataEntry/AntdUpload/fix_follow_theme.py +28 -28
- package/tests/feat_variant_underlined.py +100 -100
- package/tests/feedback/AntdAlert/feat_icon.py +35 -35
- package/tests/feedback/AntdMessage/fix_follow_config_provider.py +44 -44
- package/tests/feedback/AntdModal/feat_force_render.py +57 -57
- package/tests/feedback/AntdModal/feat_loading_title.py +92 -92
- package/tests/feedback/AntdModal/feat_prevent_close.py +54 -54
- package/tests/feedback/AntdModal/feat_responsive_width.py +31 -31
- package/tests/feedback/AntdNotification/feat_component_content.py +64 -64
- package/tests/feedback/AntdNotification/feat_number_of_stack.py +40 -40
- package/tests/feedback/AntdNotification/feat_show_progress.py +40 -40
- package/tests/feedback/AntdNotification/fix_follow_config_provider.py +46 -46
- package/tests/feedback/AntdPopupCard/feat_force_render.py +61 -61
- package/tests/feedback/AntdProgress/feat_percent_position.py +39 -39
- package/tests/feedback/AntdProgress/perf_size.py +26 -26
- package/tests/feedback/AntdProgress/perf_steps.py +37 -37
- package/tests/feedback/AntdProgress/perf_stroke_color.py +58 -58
- package/tests/feedback/AntdResult/feat_extra.py +26 -26
- package/tests/feedback/AntdSkeleton/fix_dash3.py +43 -43
- package/tests/general/AntdButton/feat_color_and_variant.py +40 -40
- package/tests/general/AntdButton/feat_preset_color.py +46 -46
- package/tests/general/AntdFloatButtonGroup/feat_placement.py +83 -83
- package/tests/general/AntdFloatButtonGroup/feat_tooltip.py +34 -34
- package/tests/general/AntdIcon/feat_iconfont.py +41 -41
- package/tests/layout/AntdCenter/feat_use_token.py +41 -41
- package/tests/layout/AntdDivider/feat_plain.py +21 -21
- package/tests/layout/AntdDivider/feat_size.py +36 -36
- package/tests/layout/AntdSplitter/feat_AntdSplitter.py +210 -210
- package/tests/layout/AntdSplitter/feat_lazy.py +56 -56
- package/tests/layout/AntdSplitter/refactor.py +303 -303
- package/tests/navigation/AntdAnchor/feat_current_anchor.py +43 -43
- package/tests/navigation/AntdAnchor/feat_direction.py +43 -43
- package/tests/navigation/AntdAnchor/feat_replace.py +43 -43
- package/tests/navigation/AntdBreadcrumb/feat_menu_item_event.py +64 -64
- package/tests/navigation/AntdBreadcrumb/refactor_items.py +140 -140
- package/tests/navigation/AntdDropdown/feat_extra.py +29 -29
- package/tests/navigation/AntdMenu/feat_currentItem.py +85 -85
- package/tests/navigation/AntdMenu/feat_currentItemPath.py +85 -85
- package/tests/navigation/AntdMenu/feat_currentKeyPath.py +85 -85
- package/tests/navigation/AntdMenu/feat_custom_icon.py +57 -57
- package/tests/navigation/AntdMenu/feat_expandIcon.py +70 -70
- package/tests/navigation/AntdMenu/feat_triggerSubMenuAction.py +67 -67
- package/tests/navigation/AntdMenu/fix_onlyExpandCurrentSubMenu.py +57 -57
- package/tests/navigation/AntdMenu/fix_with_sider.py +71 -71
- package/tests/navigation/AntdPagination/feat_align.py +31 -31
- package/tests/other/AntdAffix/feat_listen_affixed.py +41 -41
- package/tests/other/AntdBackTop/refactor.py +18 -18
- package/tests/other/AntdConfigProvider/feat_use_css.py +67 -67
- package/tests/other/AntdCopyText/feat_copy_table.py +67 -67
- package/tests/other/AntdCopyText/feat_tooltips.py +61 -61
- package/tests/other/AntdHappyProvider/feat_component.py +60 -60
- package/tests/other/Fragment/feat_use_token.py +32 -32
- package/usage.py +34 -34
- package/webpack.config.js +181 -181
- package/webpack.serve.config.js +12 -12
|
@@ -38,22 +38,22 @@ Keyword arguments:
|
|
|
38
38
|
默认值:`'zh-cn'`.
|
|
39
39
|
|
|
40
40
|
- align (a value equal to: 'start', 'center', 'end'; default 'start'):
|
|
41
|
-
组件尺寸规格,可选项有`'start'`、`'center'`、`'end'`
|
|
41
|
+
组件尺寸规格,可选项有`'start'`、`'center'`、`'end'` 默认值:`'start'`.
|
|
42
42
|
|
|
43
43
|
- defaultCurrent (number; default 1):
|
|
44
|
-
初始化时的当前页码
|
|
44
|
+
初始化时的当前页码 默认值:`1`.
|
|
45
45
|
|
|
46
46
|
- defaultPageSize (number; default 10):
|
|
47
|
-
初始化时的每页条数
|
|
47
|
+
初始化时的每页条数 默认值:`10`.
|
|
48
48
|
|
|
49
49
|
- current (number; optional):
|
|
50
50
|
监听或设置当前页码.
|
|
51
51
|
|
|
52
52
|
- disabled (boolean; default False):
|
|
53
|
-
是否禁用当前组件功能
|
|
53
|
+
是否禁用当前组件功能 默认值:`False`.
|
|
54
54
|
|
|
55
55
|
- hideOnSinglePage (boolean; default False):
|
|
56
|
-
仅有一页时是否隐藏分页器
|
|
56
|
+
仅有一页时是否隐藏分页器 默认值:`False`.
|
|
57
57
|
|
|
58
58
|
- pageSize (number; optional):
|
|
59
59
|
监听或设置每页条数.
|
|
@@ -62,10 +62,10 @@ Keyword arguments:
|
|
|
62
62
|
每页条数切换可选项.
|
|
63
63
|
|
|
64
64
|
- showSizeChanger (boolean; default False):
|
|
65
|
-
是否渲染每页条数切换器
|
|
65
|
+
是否渲染每页条数切换器 默认值:`False`.
|
|
66
66
|
|
|
67
67
|
- showQuickJumper (boolean; default False):
|
|
68
|
-
是否渲染快捷跳页控件
|
|
68
|
+
是否渲染快捷跳页控件 默认值:`False`.
|
|
69
69
|
|
|
70
70
|
- showTotalPrefix (string; optional):
|
|
71
71
|
总记录数描述前缀内容.
|
|
@@ -74,22 +74,22 @@ Keyword arguments:
|
|
|
74
74
|
总记录数描述后缀内容.
|
|
75
75
|
|
|
76
76
|
- simple (boolean; default False):
|
|
77
|
-
是否启用简洁模式
|
|
77
|
+
是否启用简洁模式 默认值:`False`.
|
|
78
78
|
|
|
79
79
|
- size (a value equal to: 'default', 'small'; default 'default'):
|
|
80
|
-
组件尺寸规格,可选项有`'default'`、`'small'`
|
|
80
|
+
组件尺寸规格,可选项有`'default'`、`'small'` 默认值:`'default'`.
|
|
81
81
|
|
|
82
82
|
- total (number; optional):
|
|
83
83
|
总记录数.
|
|
84
84
|
|
|
85
85
|
- showTotal (boolean; default True):
|
|
86
|
-
是否渲染总记录数描述内容
|
|
86
|
+
是否渲染总记录数描述内容 默认值:`True`.
|
|
87
87
|
|
|
88
88
|
- showLessItems (boolean; default False):
|
|
89
|
-
是否显示较少的跳页按钮
|
|
89
|
+
是否显示较少的跳页按钮 默认值:`False`.
|
|
90
90
|
|
|
91
91
|
- batchPropsNames (list of strings; optional):
|
|
92
|
-
需要纳入批属性监听的属性名
|
|
92
|
+
需要纳入批属性监听的属性名 默认值:`[]`.
|
|
93
93
|
|
|
94
94
|
- batchPropsValues (dict; optional):
|
|
95
95
|
批量监听与当前batchPropsNames对应的属性值.
|
|
@@ -104,12 +104,12 @@ Keyword arguments:
|
|
|
104
104
|
是否为当前组件开启持久化功能.
|
|
105
105
|
|
|
106
106
|
- persisted_props (list of a value equal to: 'current', 'pageSize's; optional):
|
|
107
|
-
当前组件启用持久化的属性值数组,可选项有`'current'`、`'pageSize'`
|
|
107
|
+
当前组件启用持久化的属性值数组,可选项有`'current'`、`'pageSize'` 默认值:`['current',
|
|
108
108
|
'pageSize']`.
|
|
109
109
|
|
|
110
110
|
- persistence_type (a value equal to: 'local', 'session', 'memory'; optional):
|
|
111
|
-
当前组件的属性持久化存储类型
|
|
112
|
-
_children_props = []
|
|
111
|
+
当前组件的属性持久化存储类型 默认值:`'local'`."""
|
|
112
|
+
_children_props: typing.List[str] = []
|
|
113
113
|
_base_nodes = ['children']
|
|
114
114
|
_namespace = 'feffery_antd_components'
|
|
115
115
|
_type = 'AntdPagination'
|
|
@@ -68,7 +68,7 @@ Keyword arguments:
|
|
|
68
68
|
设置内容特殊状态形式,可选项有`'secondary'`、`'success'`、`'warning'`、`'danger'`.
|
|
69
69
|
|
|
70
70
|
- ellipsis (dict; default False):
|
|
71
|
-
配置内容省略相关功能,设置为`False`则不开启
|
|
71
|
+
配置内容省略相关功能,设置为`False`则不开启 默认值:`False`.
|
|
72
72
|
|
|
73
73
|
`ellipsis` is a boolean | dict with keys:
|
|
74
74
|
|
|
@@ -89,7 +89,7 @@ Keyword arguments:
|
|
|
89
89
|
|
|
90
90
|
- aria-* (string; optional):
|
|
91
91
|
`aria-*`格式属性通配."""
|
|
92
|
-
_children_props = ['ellipsis.symbol']
|
|
92
|
+
_children_props: typing.List[str] = ['ellipsis.symbol']
|
|
93
93
|
_base_nodes = ['children']
|
|
94
94
|
_namespace = 'feffery_antd_components'
|
|
95
95
|
_type = 'AntdParagraph'
|
|
@@ -37,7 +37,7 @@ Keyword arguments:
|
|
|
37
37
|
配合`AntdForm`表单批量值搜集/控制功能使用,充当当前表单项的字段名,以`id`作为缺省值.
|
|
38
38
|
|
|
39
39
|
- enableBatchControl (boolean; default True):
|
|
40
|
-
控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能
|
|
40
|
+
控制当前组件是否参与有效的`AntdForm`表单批量值搜集/控制功能 默认值:`True`.
|
|
41
41
|
|
|
42
42
|
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
43
43
|
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'ru-ru'`(俄语)
|
|
@@ -53,7 +53,7 @@ Keyword arguments:
|
|
|
53
53
|
文件上传服务接口额外headers参数.
|
|
54
54
|
|
|
55
55
|
- withCredentials (boolean; default False):
|
|
56
|
-
是否在请求上传服务接口时自动携带cookies等凭据信息
|
|
56
|
+
是否在请求上传服务接口时自动携带cookies等凭据信息 默认值:`False`.
|
|
57
57
|
|
|
58
58
|
- downloadUrl (string; optional):
|
|
59
59
|
对应已上传文件的`GET`类型下载服务接口地址,自带参数`taskId`、`filename`.
|
|
@@ -62,10 +62,10 @@ Keyword arguments:
|
|
|
62
62
|
配合`downloadUrl`参数,设置文件下载服务接口额外参数.
|
|
63
63
|
|
|
64
64
|
- downloadUrlFromBackend (boolean; default False):
|
|
65
|
-
是否将文件上传接口返回信息中的`url`属性作为下载链接地址
|
|
65
|
+
是否将文件上传接口返回信息中的`url`属性作为下载链接地址 默认值:`False`.
|
|
66
66
|
|
|
67
67
|
- editable (boolean; default False):
|
|
68
|
-
是否为图片上传过程添加裁切、旋转等预处理功能
|
|
68
|
+
是否为图片上传过程添加裁切、旋转等预处理功能 默认值:`False`.
|
|
69
69
|
|
|
70
70
|
- editConfig (dict; optional):
|
|
71
71
|
当`editable=True`时,配置图片编辑相关功能.
|
|
@@ -73,46 +73,46 @@ Keyword arguments:
|
|
|
73
73
|
`editConfig` is a dict with keys:
|
|
74
74
|
|
|
75
75
|
- aspect (number; optional):
|
|
76
|
-
裁切区域宽高比
|
|
76
|
+
裁切区域宽高比 默认值:`1`.
|
|
77
77
|
|
|
78
78
|
- shape (a value equal to: 'rect', 'round'; optional):
|
|
79
|
-
裁切区域形状,可选项有`'rect'`、`'round'`
|
|
79
|
+
裁切区域形状,可选项有`'rect'`、`'round'` 默认值:`'rect'`.
|
|
80
80
|
|
|
81
81
|
- grid (boolean; optional):
|
|
82
|
-
是否显示裁切区域辅助网格线
|
|
82
|
+
是否显示裁切区域辅助网格线 默认值:`False`.
|
|
83
83
|
|
|
84
84
|
- quality (number; optional):
|
|
85
|
-
图片质量,取值应在0到1之间
|
|
85
|
+
图片质量,取值应在0到1之间 默认值:`0.4`.
|
|
86
86
|
|
|
87
87
|
- zoom (boolean; optional):
|
|
88
|
-
是否启用图片缩放功能
|
|
88
|
+
是否启用图片缩放功能 默认值:`True`.
|
|
89
89
|
|
|
90
90
|
- rotate (boolean; optional):
|
|
91
|
-
是否启用图片旋转功能
|
|
91
|
+
是否启用图片旋转功能 默认值:`False`.
|
|
92
92
|
|
|
93
93
|
- minZoom (number; optional):
|
|
94
|
-
开启缩放功能时,设置最小缩放倍数
|
|
94
|
+
开启缩放功能时,设置最小缩放倍数 默认值:`1`.
|
|
95
95
|
|
|
96
96
|
- maxZoom (number; optional):
|
|
97
|
-
开启缩放功能时,设置最大缩放倍数
|
|
97
|
+
开启缩放功能时,设置最大缩放倍数 默认值:`3`.
|
|
98
98
|
|
|
99
99
|
- modalTitle (a list of or a singular dash component, string or number; optional):
|
|
100
|
-
组件型,图片编辑模态框的标题
|
|
100
|
+
组件型,图片编辑模态框的标题 默认值:`'编辑图片'`.
|
|
101
101
|
|
|
102
102
|
- modalWidth (number; optional):
|
|
103
|
-
图片编辑模态框像素宽度
|
|
103
|
+
图片编辑模态框像素宽度 默认值:`520`.
|
|
104
104
|
|
|
105
105
|
- modalOk (a list of or a singular dash component, string or number; optional):
|
|
106
|
-
组件型,图片编辑模态框确认按钮内容
|
|
106
|
+
组件型,图片编辑模态框确认按钮内容 默认值:`'确定'`.
|
|
107
107
|
|
|
108
108
|
- modalCancel (a list of or a singular dash component, string or number; optional):
|
|
109
|
-
组件型,图片编辑模态框取消按钮内容
|
|
109
|
+
组件型,图片编辑模态框取消按钮内容 默认值:`'取消'`.
|
|
110
110
|
|
|
111
111
|
- fileListMaxLength (number; optional):
|
|
112
112
|
限制已上传文件列表长度上限.
|
|
113
113
|
|
|
114
114
|
- fileTypes (list of strings; default ['tiff', 'bmp', 'gif', 'png', 'jpeg', 'jpg', 'webp', 'ico', 'tif']):
|
|
115
|
-
允许上传的文件后缀名列表
|
|
115
|
+
允许上传的文件后缀名列表 默认值:`['tiff', 'bmp', 'gif', 'png', 'jpeg', 'jpg',
|
|
116
116
|
'webp', 'ico', 'tif']`.
|
|
117
117
|
|
|
118
118
|
- buttonContent (a list of or a singular dash component, string or number; optional):
|
|
@@ -125,19 +125,19 @@ Keyword arguments:
|
|
|
125
125
|
文件上传尺寸上限,单位:兆.
|
|
126
126
|
|
|
127
127
|
- failedTooltipInfo (string; optional):
|
|
128
|
-
文件上传失败消息提示文字内容
|
|
128
|
+
文件上传失败消息提示文字内容 默认值:`'上传失败'`.
|
|
129
129
|
|
|
130
130
|
- showRemoveIcon (boolean; default True):
|
|
131
|
-
已上传图片是否显示删除按钮
|
|
131
|
+
已上传图片是否显示删除按钮 默认值:`True`.
|
|
132
132
|
|
|
133
133
|
- showPreviewIcon (boolean; default True):
|
|
134
|
-
已上传图片是否显示预览按钮
|
|
134
|
+
已上传图片是否显示预览按钮 默认值:`True`.
|
|
135
135
|
|
|
136
136
|
- confirmBeforeDelete (boolean; default False):
|
|
137
|
-
是否为已上传文件删除操作添加二次确认模态框
|
|
137
|
+
是否为已上传文件删除操作添加二次确认模态框 默认值:`False`.
|
|
138
138
|
|
|
139
139
|
- showPercent (boolean; default False):
|
|
140
|
-
是否显示上传进度条
|
|
140
|
+
是否显示上传进度条 默认值:`False`.
|
|
141
141
|
|
|
142
142
|
- progressProps (dict; optional):
|
|
143
143
|
配置上传进度条相关参数.
|
|
@@ -171,16 +171,16 @@ Keyword arguments:
|
|
|
171
171
|
进度文字前缀内容.
|
|
172
172
|
|
|
173
173
|
- suffix (string; optional):
|
|
174
|
-
进度文字后缀内容
|
|
174
|
+
进度文字后缀内容 默认值:`'%'`.
|
|
175
175
|
|
|
176
176
|
- showSuccessMessage (boolean; default True):
|
|
177
|
-
是否在每个文件上传成功后,分别弹出消息提示
|
|
177
|
+
是否在每个文件上传成功后,分别弹出消息提示 默认值:`True`.
|
|
178
178
|
|
|
179
179
|
- showErrorMessage (boolean; default True):
|
|
180
|
-
是否在每个文件上传失败后,分别弹出消息提示
|
|
180
|
+
是否在每个文件上传失败后,分别弹出消息提示 默认值:`True`.
|
|
181
181
|
|
|
182
182
|
- pastable (boolean; default False):
|
|
183
|
-
是否开启粘贴上传,即本地复制文件后,在页面任意位置粘贴即可完成上传
|
|
183
|
+
是否开启粘贴上传,即本地复制文件后,在页面任意位置粘贴即可完成上传 默认值:`False`.
|
|
184
184
|
|
|
185
185
|
- lastUploadTaskRecord (dict; optional):
|
|
186
186
|
监听最近一次文件上传任务相关信息.
|
|
@@ -282,7 +282,7 @@ Keyword arguments:
|
|
|
282
282
|
当前文件大小.
|
|
283
283
|
|
|
284
284
|
- disabled (boolean; default False):
|
|
285
|
-
是否禁用当前组件
|
|
285
|
+
是否禁用当前组件 默认值:`False`.
|
|
286
286
|
|
|
287
287
|
- status (a value equal to: 'error', 'warning'; optional):
|
|
288
288
|
控制校验状态,可选项有`'error'`、`'warning'`.
|
|
@@ -292,7 +292,7 @@ Keyword arguments:
|
|
|
292
292
|
|
|
293
293
|
- aria-* (string; optional):
|
|
294
294
|
`aria-*`格式属性通配."""
|
|
295
|
-
_children_props = ['editConfig.modalTitle', 'editConfig.modalOk', 'editConfig.modalCancel', 'buttonContent']
|
|
295
|
+
_children_props: typing.List[str] = ['editConfig.modalTitle', 'editConfig.modalOk', 'editConfig.modalCancel', 'buttonContent']
|
|
296
296
|
_base_nodes = ['buttonContent', 'children']
|
|
297
297
|
_namespace = 'feffery_antd_components'
|
|
298
298
|
_type = 'AntdPictureUpload'
|
|
@@ -72,17 +72,17 @@ Keyword arguments:
|
|
|
72
72
|
组件型,描述内容.
|
|
73
73
|
|
|
74
74
|
- disabled (boolean; default False):
|
|
75
|
-
是否禁用当前组件
|
|
75
|
+
是否禁用当前组件 默认值:`False`.
|
|
76
76
|
|
|
77
77
|
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; default 'top'):
|
|
78
78
|
气泡确认框弹出位置,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
79
79
|
默认值:`'top'`.
|
|
80
80
|
|
|
81
81
|
- mouseEnterDelay (number; default 0.1):
|
|
82
|
-
从鼠标移入挂载元素,到气泡确认框显示的延时,单位:秒
|
|
82
|
+
从鼠标移入挂载元素,到气泡确认框显示的延时,单位:秒 默认值:`0.1`.
|
|
83
83
|
|
|
84
84
|
- mouseLeaveDelay (number; default 0.1):
|
|
85
|
-
从鼠标移出挂载元素,到气泡确认框消失的延时,单位:秒
|
|
85
|
+
从鼠标移出挂载元素,到气泡确认框消失的延时,单位:秒 默认值:`0.1`.
|
|
86
86
|
|
|
87
87
|
- okText (a list of or a singular dash component, string or number; optional):
|
|
88
88
|
组件型,确认按钮内容.
|
|
@@ -93,20 +93,20 @@ Keyword arguments:
|
|
|
93
93
|
`okButtonProps` is a dict with keys:
|
|
94
94
|
|
|
95
95
|
- size (a value equal to: 'small', 'middle', 'large'; optional):
|
|
96
|
-
按钮尺寸规格,可选项有`'small'`、`'middle'`、`'large'`
|
|
96
|
+
按钮尺寸规格,可选项有`'small'`、`'middle'`、`'large'` 默认值:`'middle'`.
|
|
97
97
|
|
|
98
98
|
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional):
|
|
99
99
|
按钮类型,可选项有`'default'`、`'primary'`、`'ghost'`、`'dashed'`、`'link'`、`'text'`
|
|
100
100
|
默认值:`'default'`.
|
|
101
101
|
|
|
102
102
|
- danger (boolean; optional):
|
|
103
|
-
按钮是否呈现危险样式
|
|
103
|
+
按钮是否呈现危险样式 默认值:`False`.
|
|
104
104
|
|
|
105
105
|
- disabled (boolean; optional):
|
|
106
|
-
按钮是否呈现禁用状态
|
|
106
|
+
按钮是否呈现禁用状态 默认值:`False`.
|
|
107
107
|
|
|
108
108
|
- shape (a value equal to: 'circle', 'round'; optional):
|
|
109
|
-
按钮形状,可选项有`'default'`、`'circle'`、`'round'`
|
|
109
|
+
按钮形状,可选项有`'default'`、`'circle'`、`'round'` 默认值:`'default'`.
|
|
110
110
|
|
|
111
111
|
- style (dict; optional):
|
|
112
112
|
按钮css样式.
|
|
@@ -123,20 +123,20 @@ Keyword arguments:
|
|
|
123
123
|
`cancelButtonProps` is a dict with keys:
|
|
124
124
|
|
|
125
125
|
- size (a value equal to: 'small', 'middle', 'large'; optional):
|
|
126
|
-
按钮尺寸规格,可选项有`'small'`、`'middle'`、`'large'`
|
|
126
|
+
按钮尺寸规格,可选项有`'small'`、`'middle'`、`'large'` 默认值:`'middle'`.
|
|
127
127
|
|
|
128
128
|
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional):
|
|
129
129
|
按钮类型,可选项有`'default'`、`'primary'`、`'ghost'`、`'dashed'`、`'link'`、`'text'`
|
|
130
130
|
默认值:`'default'`.
|
|
131
131
|
|
|
132
132
|
- danger (boolean; optional):
|
|
133
|
-
按钮是否呈现危险样式
|
|
133
|
+
按钮是否呈现危险样式 默认值:`False`.
|
|
134
134
|
|
|
135
135
|
- disabled (boolean; optional):
|
|
136
|
-
按钮是否呈现禁用状态
|
|
136
|
+
按钮是否呈现禁用状态 默认值:`False`.
|
|
137
137
|
|
|
138
138
|
- shape (a value equal to: 'circle', 'round'; optional):
|
|
139
|
-
按钮形状,可选项有`'default'`、`'circle'`、`'round'`
|
|
139
|
+
按钮形状,可选项有`'default'`、`'circle'`、`'round'` 默认值:`'default'`.
|
|
140
140
|
|
|
141
141
|
- style (dict; optional):
|
|
142
142
|
按钮css样式.
|
|
@@ -145,34 +145,34 @@ Keyword arguments:
|
|
|
145
145
|
按钮css类名.
|
|
146
146
|
|
|
147
147
|
- showCancel (boolean; default True):
|
|
148
|
-
是否显示取消按钮
|
|
148
|
+
是否显示取消按钮 默认值:`True`.
|
|
149
149
|
|
|
150
150
|
- confirmCounts (number; default 0):
|
|
151
|
-
监听确认按钮累计点击次数
|
|
151
|
+
监听确认按钮累计点击次数 默认值:`0`.
|
|
152
152
|
|
|
153
153
|
- cancelCounts (number; default 0):
|
|
154
|
-
监听取消按钮累计点击次数
|
|
154
|
+
监听取消按钮累计点击次数 默认值:`0`.
|
|
155
155
|
|
|
156
156
|
- trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; default 'click'):
|
|
157
|
-
气泡确认框触发行为,可选项有`'hover'`、`'focus'`、`'click'`,可多选组合
|
|
157
|
+
气泡确认框触发行为,可选项有`'hover'`、`'focus'`、`'click'`,可多选组合 默认值:`'click'`.
|
|
158
158
|
|
|
159
159
|
- zIndex (number; optional):
|
|
160
160
|
气泡确认框z-index.
|
|
161
161
|
|
|
162
162
|
- arrow (a value equal to: 'show', 'hide', 'center'; default 'show'):
|
|
163
|
-
指示箭头显示形式,可选项有`'show'`、`'hide'`、`'center'`
|
|
163
|
+
指示箭头显示形式,可选项有`'show'`、`'hide'`、`'center'` 默认值:`'show'`.
|
|
164
164
|
|
|
165
165
|
- fresh (boolean; default False):
|
|
166
|
-
是否保持内容更新
|
|
166
|
+
是否保持内容更新 默认值:`False`.
|
|
167
167
|
|
|
168
168
|
- open (boolean; default False):
|
|
169
|
-
监听或设置气泡确认框的显示状态
|
|
169
|
+
监听或设置气泡确认框的显示状态 默认值:`False`.
|
|
170
170
|
|
|
171
171
|
- permanent (boolean; default False):
|
|
172
|
-
是否保持气泡确认框显示/隐藏
|
|
172
|
+
是否保持气泡确认框显示/隐藏 默认值:`False`.
|
|
173
173
|
|
|
174
174
|
- popupContainer (a value equal to: 'parent', 'body'; default 'body'):
|
|
175
|
-
悬浮层渲染挂载父节点策略,可选项有`'parent'`、`'body'`
|
|
175
|
+
悬浮层渲染挂载父节点策略,可选项有`'parent'`、`'body'` 默认值:`'body'`.
|
|
176
176
|
|
|
177
177
|
- data-* (string; optional):
|
|
178
178
|
`data-*`格式属性通配.
|
|
@@ -192,7 +192,7 @@ Keyword arguments:
|
|
|
192
192
|
|
|
193
193
|
- component_name (string; optional):
|
|
194
194
|
Holds the name of the component that is loading."""
|
|
195
|
-
_children_props = ['icon', 'title', 'description', 'okText', 'cancelText']
|
|
195
|
+
_children_props: typing.List[str] = ['icon', 'title', 'description', 'okText', 'cancelText']
|
|
196
196
|
_base_nodes = ['icon', 'title', 'description', 'okText', 'cancelText', 'children']
|
|
197
197
|
_namespace = 'feffery_antd_components'
|
|
198
198
|
_type = 'AntdPopconfirm'
|
|
@@ -72,38 +72,38 @@ Keyword arguments:
|
|
|
72
72
|
背景颜色.
|
|
73
73
|
|
|
74
74
|
- mouseEnterDelay (number; default 0.1):
|
|
75
|
-
鼠标移入到气泡卡片弹出延时,单位:秒
|
|
75
|
+
鼠标移入到气泡卡片弹出延时,单位:秒 默认值:`0.1`.
|
|
76
76
|
|
|
77
77
|
- mouseLeaveDelay (number; default 0.1):
|
|
78
|
-
鼠标移出到气泡卡片消失延时,单位:秒
|
|
78
|
+
鼠标移出到气泡卡片消失延时,单位:秒 默认值:`0.1`.
|
|
79
79
|
|
|
80
80
|
- trigger (a value equal to: 'hover', 'focus', 'click' | list of a value equal to: 'hover', 'focus', 'click's; default 'hover'):
|
|
81
|
-
触发方式,可选项有`'hover'`、`'focus'`、`'click'`,可多选
|
|
81
|
+
触发方式,可选项有`'hover'`、`'focus'`、`'click'`,可多选 默认值:`'hover'`.
|
|
82
82
|
|
|
83
83
|
- zIndex (number; optional):
|
|
84
84
|
气泡卡片z-index.
|
|
85
85
|
|
|
86
86
|
- arrow (a value equal to: 'show', 'hide', 'center'; default 'show'):
|
|
87
|
-
控制气泡卡片附带箭头显示形式,可选项有`'show'`、`'hide'`、`'center'`
|
|
87
|
+
控制气泡卡片附带箭头显示形式,可选项有`'show'`、`'hide'`、`'center'` 默认值:`'show'`.
|
|
88
88
|
|
|
89
89
|
- fresh (boolean; default False):
|
|
90
|
-
是否始终保持更新内容
|
|
90
|
+
是否始终保持更新内容 默认值:`False`.
|
|
91
91
|
|
|
92
92
|
- open (boolean; default False):
|
|
93
|
-
监听或设置当前气泡卡片的展开状态
|
|
93
|
+
监听或设置当前气泡卡片的展开状态 默认值:`False`.
|
|
94
94
|
|
|
95
95
|
- permanent (boolean; default False):
|
|
96
|
-
是否保持气泡卡片处于`open`对应状态不变
|
|
96
|
+
是否保持气泡卡片处于`open`对应状态不变 默认值:`False`.
|
|
97
97
|
|
|
98
98
|
- popupContainer (a value equal to: 'parent', 'body'; default 'body'):
|
|
99
|
-
气泡卡片展开层锚定策略,可选项有`'parent'`、`'body'`
|
|
99
|
+
气泡卡片展开层锚定策略,可选项有`'parent'`、`'body'` 默认值:`'body'`.
|
|
100
100
|
|
|
101
101
|
- data-* (string; optional):
|
|
102
102
|
`data-*`格式属性通配.
|
|
103
103
|
|
|
104
104
|
- aria-* (string; optional):
|
|
105
105
|
`aria-*`格式属性通配."""
|
|
106
|
-
_children_props = ['title', 'content']
|
|
106
|
+
_children_props: typing.List[str] = ['title', 'content']
|
|
107
107
|
_base_nodes = ['title', 'content', 'children']
|
|
108
108
|
_namespace = 'feffery_antd_components'
|
|
109
109
|
_type = 'AntdPopover'
|
|
@@ -86,7 +86,7 @@ Keyword arguments:
|
|
|
86
86
|
组件型,标题内容.
|
|
87
87
|
|
|
88
88
|
- visible (boolean; default True):
|
|
89
|
-
设置或监听当前弹出式卡片是否显示
|
|
89
|
+
设置或监听当前弹出式卡片是否显示 默认值:`True`.
|
|
90
90
|
|
|
91
91
|
- width (number | string; optional):
|
|
92
92
|
弹出式卡片像素宽度.
|
|
@@ -96,35 +96,35 @@ Keyword arguments:
|
|
|
96
96
|
默认值:`'zoom'`.
|
|
97
97
|
|
|
98
98
|
- forceRender (boolean; default False):
|
|
99
|
-
是否在初始化卡片未显示时,强制渲染卡片内部元素
|
|
99
|
+
是否在初始化卡片未显示时,强制渲染卡片内部元素 默认值:`False`.
|
|
100
100
|
|
|
101
101
|
- destroyOnClose (boolean; default True):
|
|
102
|
-
是否在卡片关闭后自动销毁内部元素
|
|
102
|
+
是否在卡片关闭后自动销毁内部元素 默认值:`True`.
|
|
103
103
|
|
|
104
104
|
- closable (boolean; default True):
|
|
105
|
-
是否显示右上角的关闭按钮
|
|
105
|
+
是否显示右上角的关闭按钮 默认值:`True`.
|
|
106
106
|
|
|
107
107
|
- closeIconType (a value equal to: 'default', 'outlined', 'two-tone'; default 'default'):
|
|
108
|
-
关闭按钮类型,可选项有`'default'`、`'outlined'`、`'two-tone'`
|
|
108
|
+
关闭按钮类型,可选项有`'default'`、`'outlined'`、`'two-tone'` 默认值:`'default'`.
|
|
109
109
|
|
|
110
110
|
- draggable (boolean; default False):
|
|
111
|
-
是否可拖拽
|
|
111
|
+
是否可拖拽 默认值:`False`.
|
|
112
112
|
|
|
113
113
|
- dragClassName (string | dict; optional):
|
|
114
114
|
顶部可拖拽区域css类名.
|
|
115
115
|
|
|
116
116
|
- zIndex (number; default 1000):
|
|
117
|
-
弹出式卡片z-index
|
|
117
|
+
弹出式卡片z-index 默认值:`1000`.
|
|
118
118
|
|
|
119
119
|
- loading (boolean; default False):
|
|
120
|
-
是否整体渲染为加载中状态
|
|
120
|
+
是否整体渲染为加载中状态 默认值:`False`.
|
|
121
121
|
|
|
122
122
|
- data-* (string; optional):
|
|
123
123
|
`data-*`格式属性通配.
|
|
124
124
|
|
|
125
125
|
- aria-* (string; optional):
|
|
126
126
|
`aria-*`格式属性通配."""
|
|
127
|
-
_children_props = ['title']
|
|
127
|
+
_children_props: typing.List[str] = ['title']
|
|
128
128
|
_base_nodes = ['title', 'children']
|
|
129
129
|
_namespace = 'feffery_antd_components'
|
|
130
130
|
_type = 'AntdPopupCard'
|
|
@@ -34,7 +34,7 @@ Keyword arguments:
|
|
|
34
34
|
当前组件css类名,支持[动态css](/advanced-classname).
|
|
35
35
|
|
|
36
36
|
- type (a value equal to: 'line', 'circle', 'dashboard'; default 'line'):
|
|
37
|
-
进度条类型,可选项有`'line'`、`'circle'`、`'dashboard'`
|
|
37
|
+
进度条类型,可选项有`'line'`、`'circle'`、`'dashboard'` 默认值:`'line'`.
|
|
38
38
|
|
|
39
39
|
- size (dict; default 'default'):
|
|
40
40
|
进度条尺寸规格,可选项有`'small'`、`'default'`、`'large'`,传入数值型表示像素尺寸,传入字典型可分别控制宽度和高度
|
|
@@ -50,7 +50,7 @@ Keyword arguments:
|
|
|
50
50
|
像素高度.
|
|
51
51
|
|
|
52
52
|
- percent (number; default 0):
|
|
53
|
-
进度条进度,取值应在`0`到`100`之间,当`100`时默认会渲染为完成状态
|
|
53
|
+
进度条进度,取值应在`0`到`100`之间,当`100`时默认会渲染为完成状态 默认值:`0`.
|
|
54
54
|
|
|
55
55
|
- success (dict; optional):
|
|
56
56
|
配置进度条完成状态相关参数.
|
|
@@ -58,7 +58,7 @@ Keyword arguments:
|
|
|
58
58
|
`success` is a dict with keys:
|
|
59
59
|
|
|
60
60
|
- percent (number; optional):
|
|
61
|
-
达到完成状态对应的进度,取值应在`0`到`100`之间
|
|
61
|
+
达到完成状态对应的进度,取值应在`0`到`100`之间 默认值:`100`.
|
|
62
62
|
|
|
63
63
|
- strokeColor (dict; optional):
|
|
64
64
|
完成状态进度条颜色,支持渐变色.
|
|
@@ -81,10 +81,10 @@ Keyword arguments:
|
|
|
81
81
|
`format` is a dict with keys:
|
|
82
82
|
|
|
83
83
|
- prefix (string; optional):
|
|
84
|
-
进度提示前缀文字
|
|
84
|
+
进度提示前缀文字 默认值:`''`.
|
|
85
85
|
|
|
86
86
|
- suffix (string; optional):
|
|
87
|
-
进度提示后缀文字
|
|
87
|
+
进度提示后缀文字 默认值:`'%'`.
|
|
88
88
|
|
|
89
89
|
- content (a list of or a singular dash component, string or number; optional):
|
|
90
90
|
组件型,强制设置显示内容.
|
|
@@ -94,7 +94,7 @@ Keyword arguments:
|
|
|
94
94
|
默认值:`'normal'`.
|
|
95
95
|
|
|
96
96
|
- showInfo (boolean; default True):
|
|
97
|
-
是否显示进度数值或状态图标
|
|
97
|
+
是否显示进度数值或状态图标 默认值:`True`.
|
|
98
98
|
|
|
99
99
|
- percentPosition (dict; optional):
|
|
100
100
|
适用于`'line'`型进度条,配置进度条附带进度数值信息显示位置.
|
|
@@ -119,7 +119,7 @@ Keyword arguments:
|
|
|
119
119
|
渐变色末端颜色. | dict with strings as keys and values of type string
|
|
120
120
|
|
|
121
121
|
- strokeLinecap (a value equal to: 'round', 'butt', 'square'; optional):
|
|
122
|
-
进度条线型,可选项有`'round'`、`'butt'`、`'square'`
|
|
122
|
+
进度条线型,可选项有`'round'`、`'butt'`、`'square'` 默认值:`'round'`.
|
|
123
123
|
|
|
124
124
|
- strokeWidth (number; optional):
|
|
125
125
|
进度条线的宽度,单位是进度条画布宽度的百分比.
|
|
@@ -128,7 +128,7 @@ Keyword arguments:
|
|
|
128
128
|
未完成分段部分的颜色,默认无颜色.
|
|
129
129
|
|
|
130
130
|
- gapDegree (number; optional):
|
|
131
|
-
进度条缺口角度,取值应在`0`到`295`之间,仅`type='dashboard'`时可用
|
|
131
|
+
进度条缺口角度,取值应在`0`到`295`之间,仅`type='dashboard'`时可用 默认值:`75`.
|
|
132
132
|
|
|
133
133
|
- gapPosition (a value equal to: 'top', 'bottom', 'left', 'right'; default 'bottom'):
|
|
134
134
|
仪表盘缺口方向,可选项有`'top'`、`'bottom'`、`'left'`、`'right'`,仅`type='dashboard'`时可用
|
|
@@ -150,7 +150,7 @@ Keyword arguments:
|
|
|
150
150
|
|
|
151
151
|
- aria-* (string; optional):
|
|
152
152
|
`aria-*`格式属性通配."""
|
|
153
|
-
_children_props = ['format.content']
|
|
153
|
+
_children_props: typing.List[str] = ['format.content']
|
|
154
154
|
_base_nodes = ['children']
|
|
155
155
|
_namespace = 'feffery_antd_components'
|
|
156
156
|
_type = 'AntdProgress'
|
|
@@ -41,16 +41,16 @@ Keyword arguments:
|
|
|
41
41
|
二维码解析结果.
|
|
42
42
|
|
|
43
43
|
- type (a value equal to: 'canvas', 'svg'; default 'canvas'):
|
|
44
|
-
渲染方式,可选项有`'canvas'`、`'svg'`
|
|
44
|
+
渲染方式,可选项有`'canvas'`、`'svg'` 默认值:`'canvas'`.
|
|
45
45
|
|
|
46
46
|
- icon (string; optional):
|
|
47
47
|
二维码内嵌图片地址.
|
|
48
48
|
|
|
49
49
|
- size (number; default 160):
|
|
50
|
-
二维码像素边长
|
|
50
|
+
二维码像素边长 默认值:`160`.
|
|
51
51
|
|
|
52
52
|
- iconSize (dict; default 40):
|
|
53
|
-
二维码内嵌图片像素边长
|
|
53
|
+
二维码内嵌图片像素边长 默认值:`40`.
|
|
54
54
|
|
|
55
55
|
`iconSize` is a number | dict with keys:
|
|
56
56
|
|
|
@@ -59,16 +59,16 @@ Keyword arguments:
|
|
|
59
59
|
- height (number; optional)
|
|
60
60
|
|
|
61
61
|
- color (string; default '#000'):
|
|
62
|
-
二维码颜色
|
|
62
|
+
二维码颜色 默认值:`'#000'`.
|
|
63
63
|
|
|
64
64
|
- bgColor (string; default 'transparent'):
|
|
65
|
-
二维码背景颜色
|
|
65
|
+
二维码背景颜色 默认值:`'transparent'`.
|
|
66
66
|
|
|
67
67
|
- bordered (boolean; default True):
|
|
68
|
-
二维码是否渲染边框
|
|
68
|
+
二维码是否渲染边框 默认值:`True`.
|
|
69
69
|
|
|
70
70
|
- errorLevel (a value equal to: 'L', 'M', 'Q', 'H'; default 'M'):
|
|
71
|
-
二维码纠错级别,可选项有`'L'`、`'M'`、`'Q'`、`'H'`
|
|
71
|
+
二维码纠错级别,可选项有`'L'`、`'M'`、`'Q'`、`'H'` 默认值:`'M'`.
|
|
72
72
|
|
|
73
73
|
- status (a value equal to: 'active', 'expired', 'loading', 'scanned'; default 'active'):
|
|
74
74
|
二维码状态,可选项有`'active'`、`'expired'`、`'loading'`、`'scanned'`
|
|
@@ -78,17 +78,17 @@ Keyword arguments:
|
|
|
78
78
|
当前二维码过期时间,单位:秒,到期后二维码状态将会被强制更新为`'expired'`.
|
|
79
79
|
|
|
80
80
|
- autoSpin (boolean; default False):
|
|
81
|
-
是否在`value`处于回调更新中时,自动切换为`loading`状态
|
|
81
|
+
是否在`value`处于回调更新中时,自动切换为`loading`状态 默认值:`False`.
|
|
82
82
|
|
|
83
83
|
- refreshClicks (number; default 0):
|
|
84
|
-
监听当前\"点击刷新\"按钮累计点击次数,仅在`status`为`'expired'`时有效
|
|
84
|
+
监听当前\"点击刷新\"按钮累计点击次数,仅在`status`为`'expired'`时有效 默认值:`0`.
|
|
85
85
|
|
|
86
86
|
- data-* (string; optional):
|
|
87
87
|
`data-*`格式属性通配.
|
|
88
88
|
|
|
89
89
|
- aria-* (string; optional):
|
|
90
90
|
`aria-*`格式属性通配."""
|
|
91
|
-
_children_props = []
|
|
91
|
+
_children_props: typing.List[str] = []
|
|
92
92
|
_base_nodes = ['children']
|
|
93
93
|
_namespace = 'feffery_antd_components'
|
|
94
94
|
_type = 'AntdQRCode'
|