feffery_antd_components 0.4.3 → 0.4.5
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/.eslintignore +2 -0
- package/.eslintrc +121 -0
- package/.github/FUNDING.yml +1 -0
- package/.github/workflows/test.yml +86 -0
- package/.prettierrc +6 -0
- package/.pylintrc +556 -0
- package/.pytest_cache/README.md +8 -0
- package/DESCRIPTION +4 -4
- package/LICENSE +1 -1
- package/NAMESPACE +110 -110
- package/Project.toml +1 -1
- package/README-en_US.md +4 -4
- package/README.md +6 -6
- package/feffery_antd_components/AntdAccordion.py +139 -114
- package/feffery_antd_components/AntdAffix.py +60 -39
- package/feffery_antd_components/AntdAlert.py +79 -50
- package/feffery_antd_components/AntdAnchor.py +87 -54
- package/feffery_antd_components/AntdAvatar.py +113 -76
- package/feffery_antd_components/AntdAvatarGroup.py +99 -80
- package/feffery_antd_components/AntdBackTop.py +60 -39
- package/feffery_antd_components/AntdBadge.py +114 -85
- package/feffery_antd_components/AntdBreadcrumb.py +123 -106
- package/feffery_antd_components/AntdButton.py +179 -107
- package/feffery_antd_components/AntdCalendar.py +122 -91
- package/feffery_antd_components/AntdCard.py +172 -137
- package/feffery_antd_components/AntdCardGrid.py +52 -35
- package/feffery_antd_components/AntdCardMeta.py +52 -35
- package/feffery_antd_components/AntdCarousel.py +99 -67
- package/feffery_antd_components/AntdCascader.py +210 -118
- package/feffery_antd_components/AntdCenter.py +52 -35
- package/feffery_antd_components/AntdCheckCard.py +96 -59
- package/feffery_antd_components/AntdCheckCardGroup.py +110 -63
- package/feffery_antd_components/AntdCheckableTag.py +56 -37
- package/feffery_antd_components/AntdCheckbox.py +95 -58
- package/feffery_antd_components/AntdCheckboxGroup.py +101 -68
- package/feffery_antd_components/AntdCol.py +212 -175
- package/feffery_antd_components/AntdCollapse.py +115 -88
- package/feffery_antd_components/AntdColorPicker.py +142 -96
- package/feffery_antd_components/AntdComment.py +155 -107
- package/feffery_antd_components/AntdCompact.py +53 -36
- package/feffery_antd_components/AntdConfigProvider.py +108 -88
- package/feffery_antd_components/AntdContent.py +35 -30
- package/feffery_antd_components/AntdCopyText.py +67 -44
- package/feffery_antd_components/AntdCountdown.py +82 -58
- package/feffery_antd_components/AntdCountup.py +73 -46
- package/feffery_antd_components/AntdCustomSkeleton.py +79 -50
- package/feffery_antd_components/AntdDatePicker.py +279 -190
- package/feffery_antd_components/AntdDateRangePicker.py +279 -186
- package/feffery_antd_components/AntdDescriptionItem.py +74 -65
- package/feffery_antd_components/AntdDescriptions.py +165 -134
- package/feffery_antd_components/AntdDivider.py +97 -60
- package/feffery_antd_components/AntdDraggerUpload.py +308 -233
- package/feffery_antd_components/AntdDrawer.py +161 -110
- package/feffery_antd_components/AntdDropdown.py +218 -143
- package/feffery_antd_components/AntdEmpty.py +101 -78
- package/feffery_antd_components/AntdFlex.py +71 -44
- package/feffery_antd_components/AntdFloatButton.py +104 -62
- package/feffery_antd_components/AntdFloatButtonGroup.py +110 -66
- package/feffery_antd_components/AntdFooter.py +35 -30
- package/feffery_antd_components/AntdForm.py +124 -85
- package/feffery_antd_components/AntdFormItem.py +130 -89
- package/feffery_antd_components/AntdFormRender.py +621 -549
- package/feffery_antd_components/AntdHappyProvider.py +22 -25
- package/feffery_antd_components/AntdHeader.py +35 -30
- package/feffery_antd_components/AntdIcon.py +62 -41
- package/feffery_antd_components/AntdImage.py +116 -83
- package/feffery_antd_components/AntdImageGroup.py +107 -78
- package/feffery_antd_components/AntdInput.py +249 -166
- package/feffery_antd_components/AntdInputNumber.py +171 -98
- package/feffery_antd_components/AntdLayout.py +35 -30
- package/feffery_antd_components/AntdMentions.py +135 -97
- package/feffery_antd_components/AntdMenu.py +156 -95
- package/feffery_antd_components/AntdMessage.py +63 -42
- package/feffery_antd_components/AntdModal.py +314 -219
- package/feffery_antd_components/AntdNotification.py +111 -83
- package/feffery_antd_components/AntdOTP.py +98 -61
- package/feffery_antd_components/AntdPageHeader.py +68 -43
- package/feffery_antd_components/AntdPagination.py +139 -82
- package/feffery_antd_components/AntdParagraph.py +108 -73
- package/feffery_antd_components/AntdPictureUpload.py +336 -264
- package/feffery_antd_components/AntdPopconfirm.py +252 -181
- package/feffery_antd_components/AntdPopover.py +143 -92
- package/feffery_antd_components/AntdPopupCard.py +165 -108
- package/feffery_antd_components/AntdProgress.py +186 -153
- package/feffery_antd_components/AntdQRCode.py +107 -72
- package/feffery_antd_components/AntdRadioGroup.py +131 -86
- package/feffery_antd_components/AntdRate.py +103 -62
- package/feffery_antd_components/AntdResult.py +64 -41
- package/feffery_antd_components/AntdRibbon.py +57 -38
- package/feffery_antd_components/AntdRow.py +90 -65
- package/feffery_antd_components/AntdSegmented.py +134 -95
- package/feffery_antd_components/AntdSegmentedColoring.py +146 -92
- package/feffery_antd_components/AntdSelect.py +303 -174
- package/feffery_antd_components/AntdSider.py +78 -49
- package/feffery_antd_components/AntdSkeleton.py +128 -94
- package/feffery_antd_components/AntdSkeletonAvatar.py +57 -38
- package/feffery_antd_components/AntdSkeletonButton.py +58 -39
- package/feffery_antd_components/AntdSkeletonImage.py +24 -27
- package/feffery_antd_components/AntdSkeletonInput.py +39 -33
- package/feffery_antd_components/AntdSlider.py +194 -135
- package/feffery_antd_components/AntdSpace.py +90 -71
- package/feffery_antd_components/AntdSpin.py +101 -62
- package/feffery_antd_components/AntdSplitter.py +94 -82
- package/feffery_antd_components/AntdSpoiler.py +83 -52
- package/feffery_antd_components/AntdStatistic.py +89 -60
- package/feffery_antd_components/AntdSteps.py +120 -83
- package/feffery_antd_components/AntdSwitch.py +121 -78
- package/feffery_antd_components/AntdTable.py +1218 -944
- package/feffery_antd_components/AntdTabs.py +228 -162
- package/feffery_antd_components/AntdTag.py +72 -45
- package/feffery_antd_components/AntdText.py +100 -68
- package/feffery_antd_components/AntdTimePicker.py +201 -122
- package/feffery_antd_components/AntdTimeRangePicker.py +182 -105
- package/feffery_antd_components/AntdTimeline.py +89 -63
- package/feffery_antd_components/AntdTitle.py +95 -58
- package/feffery_antd_components/AntdTooltip.py +145 -105
- package/feffery_antd_components/AntdTour.py +189 -150
- package/feffery_antd_components/AntdTransfer.py +189 -126
- package/feffery_antd_components/AntdTree.py +270 -165
- package/feffery_antd_components/AntdTreeSelect.py +304 -168
- package/feffery_antd_components/AntdUpload.py +341 -268
- package/feffery_antd_components/AntdWatermark.py +96 -57
- package/feffery_antd_components/Fragment.py +22 -25
- package/feffery_antd_components/__init__.py +22 -17
- package/feffery_antd_components/_imports_.py +187 -187
- package/feffery_antd_components/alias.py +187 -187
- 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 +8 -8
- package/feffery_antd_components/metadata.json +1 -1
- package/feffery_antd_components/package-info.json +15 -9
- package/{tests → legacy_tests}/dash3.0tests/AntdQRCode/347/273/204/344/273/266loading/347/212/266/346/200/201/351/207/215/346/236/204/test.py +3 -1
- package/{tests → legacy_tests}/dash3.0tests/AntdTable/345/207/275/346/225/260/345/274/217/346/224/271/351/200/240/test.py +5 -5
- package/{tests → legacy_tests}/dash3.0tests/_dashprivate_layout/346/224/271/345/212/250/346/265/213/350/257/225/test.py +3 -4
- package/{tests → legacy_tests}/dash3.0tests/loading_state/346/224/271/345/212/250/346/265/213/350/257/225/test.py +3 -1
- package/{tests → legacy_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 +2 -1
- package/{tests → legacy_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 +3 -1
- package/{tests → legacy_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 +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdAccordion/feat_size.py +3 -4
- package/{tests → legacy_tests}/dataDisplay/AntdAccordion/feat_styles.py +3 -4
- package/{tests → legacy_tests}/dataDisplay/AntdCard/refactor_delete_props.py +7 -24
- package/{tests → legacy_tests}/dataDisplay/AntdCarousel/feat_auto_play_dot_duration.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdCollapse/feat_size.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdCollapse/feat_styles.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdCountdown/feat_finish_event.py +6 -7
- package/{tests → legacy_tests}/dataDisplay/AntdCountdown/refactor_to_timer.py +8 -14
- package/{tests → legacy_tests}/dataDisplay/AntdCountup/refactor_to_timer.py +8 -14
- package/{tests → legacy_tests}/dataDisplay/AntdDescriptions/feat_span_filled.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdImage/debug_preview_toolbar.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdSegmented/feat_shape.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdSegmented/feat_simple_options.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdSegmented/feat_vertical.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_button_mode_like_dcc_link.py +6 -10
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_button_mode_refactor.py +10 -20
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_button_mode_tooltip.py +2 -3
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_columns_fixed_bool.py +3 -8
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_columns_min_width.py +6 -8
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_columns_sort_order.py +8 -14
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_editable_disabled_keys.py +4 -4
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_header_align.py +2 -7
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_link_mode_like_dcc_link.py +1 -0
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_loading.py +7 -17
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_mini_chart_color.py +8 -25
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_row_class_name.py +4 -8
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_row_class_name_func.py +5 -11
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_select_mode_show_search.py +4 -7
- package/legacy_tests/dataDisplay/AntdTable/feat_sticky_header.py +75 -0
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_table_scroll.py +3 -1
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_tag_mode_tooltip.py +3 -6
- package/{tests → legacy_tests}/dataDisplay/AntdTable/feat_title_popover_nodes.py +4 -9
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_context_locale.py +3 -6
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_field_bool.py +3 -1
- package/legacy_tests/dataDisplay/AntdTable/fix_max_width_height_ghost_row.py +47 -0
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_nested_editable.py +5 -5
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_select_with_editable.py +6 -10
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_server_side_mode_filter_search.py +18 -50
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_summary.py +5 -12
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_summary_multi_level_header.py +2 -7
- package/{tests → legacy_tests}/dataDisplay/AntdTable/fix_zero_value_filter.py +2 -3
- package/{tests → legacy_tests}/dataDisplay/AntdTable/perf_button_mode_auto_wrap.py +3 -11
- package/{tests → legacy_tests}/dataDisplay/AntdTable/perf_editable_column_format_constrait_message.py +2 -1
- package/{tests → legacy_tests}/dataDisplay/AntdTable/refactor_mini_progress_mode.py +3 -5
- package/{tests → legacy_tests}/dataDisplay/AntdTable/rollback_title_popover_info.py +2 -4
- package/{tests → legacy_tests}/dataDisplay/AntdTabs/feat_item_icon.py +3 -4
- package/{tests → legacy_tests}/dataDisplay/AntdTabs/feat_placeholder.py +10 -21
- package/{tests → legacy_tests}/dataDisplay/AntdTabs/feat_tab_bar_style.py +3 -4
- package/{tests → legacy_tests}/dataDisplay/AntdTree/feat_async_data_load.py +4 -2
- package/{tests → legacy_tests}/dataDisplay/descriptions/AntdDescriptions/feat_extra.py +3 -4
- package/{tests → legacy_tests}/dataEntry/AntdCalendar/feat_custom_cells.py +5 -12
- package/{tests → legacy_tests}/dataEntry/AntdCascader/feat_prefix.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdCascader/feat_suffix_icon.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdCascader/fix_read_only.py +2 -1
- package/{tests → legacy_tests}/dataEntry/AntdDatePicker/feat_custom_cells.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdDatePicker/feat_picker_value.py +2 -1
- package/{tests/dataEntry/AntdTimePicker → legacy_tests/dataEntry/AntdDatePicker}/feat_prefix.py +2 -5
- package/{tests/dataEntry/AntdTimePicker → legacy_tests/dataEntry/AntdDatePicker}/feat_suffix_icon.py +2 -5
- package/{tests → legacy_tests}/dataEntry/AntdDateRangePicker/feat_custom_cells.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdDateRangePicker/feat_picker_value.py +2 -1
- package/{tests/dataEntry/AntdDatePicker → legacy_tests/dataEntry/AntdDateRangePicker}/feat_prefix.py +2 -5
- package/{tests/dataEntry/AntdDatePicker → legacy_tests/dataEntry/AntdDateRangePicker}/feat_suffix_icon.py +2 -5
- package/{tests → legacy_tests}/dataEntry/AntdForm/feat_batch_control_tooltips.py +2 -5
- package/{tests → legacy_tests}/dataEntry/AntdForm/feat_optional_batch_control.py +7 -12
- package/{tests → legacy_tests}/dataEntry/AntdForm/fix_checkbox.py +3 -4
- package/{tests → legacy_tests}/dataEntry/AntdRadioGroup/feat_block.py +2 -1
- package/{tests → legacy_tests}/dataEntry/AntdSelect/feat_locale_ru.py +2 -1
- package/{tests → legacy_tests}/dataEntry/AntdSelect/feat_max_count.py +2 -4
- package/{tests → legacy_tests}/dataEntry/AntdSelect/feat_prefix.py +2 -4
- package/{tests → legacy_tests}/dataEntry/AntdSelect/feat_show_search.py +2 -1
- package/{tests → legacy_tests}/dataEntry/AntdSelect/feat_suffix_icon.py +2 -3
- package/{tests → legacy_tests}/dataEntry/AntdSelect/fix_read_only.py +4 -9
- package/{tests → legacy_tests}/dataEntry/AntdSelect/fix_read_only_with_allow_clear.py +3 -5
- package/{tests → legacy_tests}/dataEntry/AntdSlider/feat_range_editable.py +3 -1
- package/legacy_tests/dataEntry/AntdTimePicker/feat_prefix.py +18 -0
- package/legacy_tests/dataEntry/AntdTimePicker/feat_suffix_icon.py +18 -0
- package/legacy_tests/dataEntry/AntdTimeRangePicker/feat_prefix.py +18 -0
- package/legacy_tests/dataEntry/AntdTimeRangePicker/feat_suffix_icon.py +18 -0
- package/{tests → legacy_tests}/dataEntry/AntdTreeSelect/feat_async_data_load.py +4 -2
- package/{tests → legacy_tests}/dataEntry/AntdTreeSelect/feat_max_count.py +2 -4
- package/{tests → legacy_tests}/dataEntry/AntdTreeSelect/feat_prefix.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdTreeSelect/fix_read_only.py +1 -0
- package/{tests → legacy_tests}/dataEntry/AntdUpload/feat_pastable.py +3 -6
- package/{tests → legacy_tests}/dataEntry/AntdUpload/fix_follow_theme.py +2 -1
- package/{tests → legacy_tests}/feat_variant_underlined.py +3 -4
- package/{tests → legacy_tests}/feedback/AntdAlert/feat_icon.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdMessage/fix_follow_config_provider.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdModal/feat_force_render.py +5 -8
- package/{tests → legacy_tests}/feedback/AntdModal/feat_loading_title.py +2 -7
- package/{tests → legacy_tests}/feedback/AntdModal/feat_prevent_close.py +3 -2
- package/{tests → legacy_tests}/feedback/AntdModal/feat_responsive_width.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdNotification/feat_component_content.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdNotification/feat_number_of_stack.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdNotification/feat_show_progress.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdNotification/fix_follow_config_provider.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdPopupCard/feat_force_render.py +3 -2
- package/{tests → legacy_tests}/feedback/AntdProgress/feat_percent_position.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdProgress/perf_size.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdProgress/perf_steps.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdProgress/perf_stroke_color.py +2 -1
- package/{tests → legacy_tests}/feedback/AntdResult/feat_extra.py +3 -4
- package/{tests → legacy_tests}/feedback/AntdSkeleton/fix_dash3.py +4 -6
- package/{tests → legacy_tests}/general/AntdButton/feat_color_and_variant.py +2 -1
- package/{tests → legacy_tests}/general/AntdButton/feat_preset_color.py +2 -1
- package/legacy_tests/general/AntdFloatButtonGroup/feat_placement.py +60 -0
- package/{tests → legacy_tests}/general/AntdFloatButtonGroup/feat_tooltip.py +3 -4
- package/{tests → legacy_tests}/general/AntdIcon/feat_iconfont.py +2 -1
- package/{tests → legacy_tests}/layout/AntdCenter/feat_use_token.py +2 -1
- package/{tests → legacy_tests}/layout/AntdDivider/feat_plain.py +2 -1
- package/{tests → legacy_tests}/layout/AntdDivider/feat_size.py +2 -1
- package/{tests → legacy_tests}/layout/AntdSplitter/feat_AntdSplitter.py +4 -4
- package/{tests → legacy_tests}/layout/AntdSplitter/feat_lazy.py +2 -1
- package/{tests → legacy_tests}/layout/AntdSplitter/refactor.py +18 -49
- package/{tests → legacy_tests}/navigation/AntdAnchor/feat_current_anchor.py +2 -1
- package/{tests → legacy_tests}/navigation/AntdAnchor/feat_direction.py +2 -1
- package/{tests → legacy_tests}/navigation/AntdAnchor/feat_replace.py +2 -1
- package/{tests → legacy_tests}/navigation/AntdBreadcrumb/feat_menu_item_event.py +3 -1
- package/{tests → legacy_tests}/navigation/AntdBreadcrumb/refactor_items.py +3 -1
- package/{tests → legacy_tests}/navigation/AntdDropdown/feat_extra.py +2 -1
- package/legacy_tests/navigation/AntdDropdown/test_cascading_dropdown.py +107 -0
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_currentItem.py +3 -1
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_currentItemPath.py +3 -1
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_currentKeyPath.py +3 -1
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_custom_icon.py +1 -0
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_expandIcon.py +5 -8
- package/{tests → legacy_tests}/navigation/AntdMenu/feat_triggerSubMenuAction.py +4 -7
- package/{tests → legacy_tests}/navigation/AntdMenu/fix_onlyExpandCurrentSubMenu.py +2 -1
- package/{tests → legacy_tests}/navigation/AntdMenu/fix_with_sider.py +1 -0
- package/{tests → legacy_tests}/navigation/AntdPagination/feat_align.py +5 -10
- package/{tests → legacy_tests}/other/AntdAffix/feat_listen_affixed.py +2 -1
- package/{tests → legacy_tests}/other/AntdBackTop/refactor.py +2 -1
- package/legacy_tests/other/AntdConfigProvider/feat_use_css.py +67 -0
- package/{tests → legacy_tests}/other/AntdCopyText/feat_copy_table.py +7 -17
- package/{tests → legacy_tests}/other/AntdCopyText/feat_tooltips.py +5 -10
- package/{tests → legacy_tests}/other/AntdHappyProvider/feat_component.py +6 -13
- package/{tests → legacy_tests}/other/Fragment/feat_use_token.py +2 -1
- package/package.json +15 -9
- package/requirements.txt +7 -1
- package/ruff.toml +17 -1
- package/setup.py +12 -13
- package/src/lib/components/dataDisplay/AntdAccordion.react.js +22 -22
- package/src/lib/components/dataDisplay/AntdAvatar.react.js +18 -16
- package/src/lib/components/dataDisplay/AntdAvatarGroup.react.js +18 -16
- package/src/lib/components/dataDisplay/AntdBadge.react.js +24 -16
- package/src/lib/components/dataDisplay/AntdCarousel.react.js +17 -15
- package/src/lib/components/dataDisplay/AntdCheckableTag.react.js +15 -13
- package/src/lib/components/dataDisplay/AntdCollapse.react.js +40 -40
- package/src/lib/components/dataDisplay/AntdComment.react.js +19 -17
- package/src/lib/components/dataDisplay/AntdCountdown.react.js +15 -13
- package/src/lib/components/dataDisplay/AntdCountup.react.js +15 -13
- package/src/lib/components/dataDisplay/AntdEmpty.react.js +21 -24
- package/src/lib/components/dataDisplay/AntdImage.react.js +22 -26
- package/src/lib/components/dataDisplay/AntdImageGroup.react.js +19 -17
- package/src/lib/components/dataDisplay/AntdPopover.react.js +30 -17
- package/src/lib/components/dataDisplay/AntdQRCode.react.js +19 -17
- package/src/lib/components/dataDisplay/AntdRibbon.react.js +15 -13
- package/src/lib/components/dataDisplay/AntdSegmented.react.js +24 -30
- package/src/lib/components/dataDisplay/AntdSpoiler.react.js +19 -20
- package/src/lib/components/dataDisplay/AntdStatistic.react.js +28 -23
- package/src/lib/components/dataDisplay/AntdTable.react.js +241 -142
- package/src/lib/components/dataDisplay/AntdTabs.react.js +22 -23
- package/src/lib/components/dataDisplay/AntdTag.react.js +15 -13
- package/src/lib/components/dataDisplay/AntdTimeline.react.js +16 -14
- package/src/lib/components/dataDisplay/AntdTooltip.react.js +30 -23
- package/src/lib/components/dataDisplay/AntdTree.react.js +60 -32
- package/src/lib/components/dataDisplay/card/AntdCard.react.js +19 -17
- package/src/lib/components/dataDisplay/card/AntdCardGrid.react.js +15 -13
- package/src/lib/components/dataDisplay/card/AntdCardMeta.react.js +15 -13
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptionItem.react.js +17 -15
- package/src/lib/components/dataDisplay/descriptions/AntdDescriptions.react.js +21 -19
- package/src/lib/components/dataEntry/AntdCalendar.react.js +22 -20
- package/src/lib/components/dataEntry/AntdCascader.react.js +44 -50
- package/src/lib/components/dataEntry/AntdCheckbox.react.js +18 -16
- package/src/lib/components/dataEntry/AntdCheckboxGroup.react.js +22 -23
- package/src/lib/components/dataEntry/AntdColorPicker.react.js +27 -22
- package/src/lib/components/dataEntry/AntdDatePicker.react.js +61 -33
- package/src/lib/components/dataEntry/AntdDateRangePicker.react.js +61 -38
- package/src/lib/components/dataEntry/AntdInput.react.js +28 -21
- package/src/lib/components/dataEntry/AntdInputNumber.react.js +30 -41
- package/src/lib/components/dataEntry/AntdMentions.react.js +24 -17
- package/src/lib/components/dataEntry/AntdOTP.react.js +25 -21
- package/src/lib/components/dataEntry/AntdRadioGroup.react.js +23 -27
- package/src/lib/components/dataEntry/AntdRate.react.js +19 -19
- package/src/lib/components/dataEntry/AntdSegmentedColoring.react.js +22 -15
- package/src/lib/components/dataEntry/AntdSelect.react.js +50 -47
- package/src/lib/components/dataEntry/AntdSlider.react.js +24 -22
- package/src/lib/components/dataEntry/AntdSwitch.react.js +19 -17
- package/src/lib/components/dataEntry/AntdTimePicker.react.js +35 -23
- package/src/lib/components/dataEntry/AntdTimeRangePicker.react.js +32 -20
- package/src/lib/components/dataEntry/AntdTransfer.react.js +46 -54
- package/src/lib/components/dataEntry/AntdTreeSelect.react.js +51 -43
- package/src/lib/components/dataEntry/check-card/AntdCheckCard.react.js +19 -20
- package/src/lib/components/dataEntry/check-card/AntdCheckCardGroup.react.js +24 -34
- package/src/lib/components/dataEntry/form/AntdForm.react.js +17 -21
- package/src/lib/components/dataEntry/form/AntdFormItem.react.js +23 -22
- package/src/lib/components/dataEntry/upload/AntdDraggerUpload.react.js +27 -28
- package/src/lib/components/dataEntry/upload/AntdPictureUpload.react.js +38 -26
- package/src/lib/components/dataEntry/upload/AntdUpload.react.js +36 -27
- package/src/lib/components/feedback/AntdAlert.react.js +34 -22
- package/src/lib/components/feedback/AntdDrawer.react.js +41 -44
- package/src/lib/components/feedback/AntdMessage.react.js +27 -34
- package/src/lib/components/feedback/AntdModal.react.js +71 -58
- package/src/lib/components/feedback/AntdNotification.react.js +51 -41
- package/src/lib/components/feedback/AntdPopconfirm.react.js +66 -42
- package/src/lib/components/feedback/AntdPopupCard.react.js +102 -87
- package/src/lib/components/feedback/AntdProgress.react.js +44 -41
- package/src/lib/components/feedback/AntdResult.react.js +28 -19
- package/src/lib/components/feedback/AntdSpin.react.js +77 -38
- package/src/lib/components/feedback/skeleton/AntdCustomSkeleton.react.js +44 -20
- package/src/lib/components/feedback/skeleton/AntdSkeleton.react.js +52 -34
- package/src/lib/components/feedback/skeleton/AntdSkeletonAvatar.react.js +14 -13
- package/src/lib/components/feedback/skeleton/AntdSkeletonButton.react.js +13 -12
- package/src/lib/components/feedback/skeleton/AntdSkeletonImage.react.js +13 -12
- package/src/lib/components/feedback/skeleton/AntdSkeletonInput.react.js +13 -12
- package/src/lib/components/formRender/AntdFormRender.react.js +585 -518
- package/src/lib/components/general/AntdButton.react.js +56 -35
- package/src/lib/components/general/AntdFloatButton.react.js +28 -14
- package/src/lib/components/general/AntdFloatButtonGroup.react.js +31 -15
- package/src/lib/components/general/AntdIcon.react.js +48 -36
- package/src/lib/components/general/typography/AntdParagraph.react.js +23 -21
- package/src/lib/components/general/typography/AntdText.react.js +22 -20
- package/src/lib/components/general/typography/AntdTitle.react.js +22 -20
- package/src/lib/components/icons.react.js +18 -22
- package/src/lib/components/layout/AntdCenter.react.js +24 -24
- package/src/lib/components/layout/AntdCompact.react.js +16 -14
- package/src/lib/components/layout/AntdContent.react.js +16 -14
- package/src/lib/components/layout/AntdDivider.react.js +26 -27
- package/src/lib/components/layout/AntdFlex.react.js +18 -19
- package/src/lib/components/layout/AntdFooter.react.js +16 -14
- package/src/lib/components/layout/AntdHeader.react.js +16 -14
- package/src/lib/components/layout/AntdLayout.react.js +16 -14
- package/src/lib/components/layout/AntdSider.react.js +18 -19
- package/src/lib/components/layout/AntdSpace.react.js +42 -27
- package/src/lib/components/layout/AntdSplitter.react.js +24 -35
- package/src/lib/components/layout/grid/AntdCol.react.js +29 -30
- package/src/lib/components/layout/grid/AntdRow.react.js +23 -17
- package/src/lib/components/locales.react.js +96 -35
- package/src/lib/components/navigation/AntdAnchor.react.js +24 -23
- package/src/lib/components/navigation/AntdBreadcrumb.react.js +93 -100
- package/src/lib/components/navigation/AntdDropdown.react.js +132 -124
- package/src/lib/components/navigation/AntdMenu.react.js +248 -201
- package/src/lib/components/navigation/AntdPageHeader.react.js +19 -17
- package/src/lib/components/navigation/AntdPagination.react.js +38 -35
- package/src/lib/components/navigation/AntdSteps.react.js +21 -16
- package/src/lib/components/other/AntdAffix.react.js +15 -14
- package/src/lib/components/other/AntdBackTop.react.js +20 -20
- package/src/lib/components/other/AntdConfigProvider.react.js +80 -85
- package/src/lib/components/other/AntdCopyText.react.js +21 -19
- package/src/lib/components/other/AntdHappyProvider.react.js +5 -8
- package/src/lib/components/other/AntdTour.react.js +63 -47
- package/src/lib/components/other/AntdWatermark.react.js +11 -8
- package/src/lib/components/other/Fragment.react.js +4 -5
- package/src/lib/components/styles.css +5 -0
- package/src/lib/components/utils.js +23 -13
- package/src/lib/contexts/FormContext.js +2 -2
- package/src/lib/contexts/FormItemContext.js +2 -2
- package/src/lib/contexts/PropsContext.js +2 -2
- package/src/lib/fragments/AntdTable.react.js +1965 -1197
- package/src/lib/fragments/dataDisplay/AntdAccordion.react.js +41 -37
- package/src/lib/fragments/dataDisplay/AntdAvatar.react.js +64 -51
- package/src/lib/fragments/dataDisplay/AntdAvatarGroup.react.js +19 -9
- package/src/lib/fragments/dataDisplay/AntdBadge.react.js +20 -10
- package/src/lib/fragments/dataDisplay/AntdCarousel.react.js +25 -9
- package/src/lib/fragments/dataDisplay/AntdCheckableTag.react.js +19 -12
- package/src/lib/fragments/dataDisplay/AntdComment.react.js +105 -52
- package/src/lib/fragments/dataDisplay/AntdCountdown.react.js +43 -28
- package/src/lib/fragments/dataDisplay/AntdCountup.react.js +29 -17
- package/src/lib/fragments/dataDisplay/AntdEmpty.react.js +21 -13
- package/src/lib/fragments/dataDisplay/AntdImage.react.js +142 -113
- package/src/lib/fragments/dataDisplay/AntdImageGroup.react.js +28 -20
- package/src/lib/fragments/dataDisplay/AntdPopover.react.js +38 -21
- package/src/lib/fragments/dataDisplay/AntdQRCode.react.js +30 -20
- package/src/lib/fragments/dataDisplay/AntdRibbon.react.js +19 -9
- package/src/lib/fragments/dataDisplay/AntdSegmented.react.js +50 -47
- package/src/lib/fragments/dataDisplay/AntdSpoiler.react.js +49 -36
- package/src/lib/fragments/dataDisplay/AntdTabs.react.js +82 -71
- package/src/lib/fragments/dataDisplay/AntdTag.react.js +27 -12
- package/src/lib/fragments/dataDisplay/AntdTimeline.react.js +24 -21
- package/src/lib/fragments/dataDisplay/AntdTooltip.react.js +24 -17
- package/src/lib/fragments/dataDisplay/AntdTree.react.js +355 -271
- package/src/lib/fragments/dataDisplay/card/AntdCard.react.js +44 -31
- package/src/lib/fragments/dataDisplay/card/AntdCardGrid.react.js +18 -9
- package/src/lib/fragments/dataDisplay/card/AntdCardMeta.react.js +18 -10
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptionItem.react.js +18 -9
- package/src/lib/fragments/dataDisplay/descriptions/AntdDescriptions.react.js +75 -54
- package/src/lib/fragments/dataEntry/AntdCalendar.react.js +104 -75
- package/src/lib/fragments/dataEntry/AntdCascader.react.js +137 -98
- package/src/lib/fragments/dataEntry/AntdCheckbox.react.js +43 -31
- package/src/lib/fragments/dataEntry/AntdCheckboxGroup.react.js +45 -35
- package/src/lib/fragments/dataEntry/AntdColorPicker.react.js +95 -86
- package/src/lib/fragments/dataEntry/AntdDatePicker.react.js +171 -135
- package/src/lib/fragments/dataEntry/AntdDateRangePicker.react.js +242 -173
- package/src/lib/fragments/dataEntry/AntdInput.react.js +176 -168
- package/src/lib/fragments/dataEntry/AntdInputNumber.react.js +63 -54
- package/src/lib/fragments/dataEntry/AntdMentions.react.js +65 -63
- package/src/lib/fragments/dataEntry/AntdOTP.react.js +45 -34
- package/src/lib/fragments/dataEntry/AntdRadioGroup.react.js +92 -68
- package/src/lib/fragments/dataEntry/AntdRate.react.js +44 -33
- package/src/lib/fragments/dataEntry/AntdSegmentedColoring.react.js +194 -151
- package/src/lib/fragments/dataEntry/AntdSelect.react.js +232 -169
- package/src/lib/fragments/dataEntry/AntdSlider.react.js +58 -45
- package/src/lib/fragments/dataEntry/AntdSwitch.react.js +43 -33
- package/src/lib/fragments/dataEntry/AntdTimePicker.react.js +68 -47
- package/src/lib/fragments/dataEntry/AntdTimeRangePicker.react.js +105 -64
- package/src/lib/fragments/dataEntry/AntdTransfer.react.js +75 -59
- package/src/lib/fragments/dataEntry/AntdTreeSelect.react.js +154 -135
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCard.react.js +34 -25
- package/src/lib/fragments/dataEntry/check-card/AntdCheckCardGroup.react.js +35 -26
- package/src/lib/fragments/dataEntry/form/AntdForm.react.js +45 -31
- package/src/lib/fragments/dataEntry/form/AntdFormItem.react.js +21 -10
- package/src/lib/fragments/formRender/AntdFormRender.react.js +45 -49
- package/src/lib/fragments/upload/AntdDraggerUpload.react.js +548 -339
- package/src/lib/fragments/upload/AntdPictureUpload.react.js +417 -282
- package/src/lib/fragments/upload/AntdUpload.react.js +554 -336
- package/src/lib/hooks/useCss.js +1 -1
- package/src/lib/hooks/useStickyOffset.js +103 -84
- package/src/lib/index.js +3 -5
- package/src/lib/internal_components/UtilsLink.react.js +10 -5
- package/src/lib/store/formStore.js +52 -45
- package/tests/__init__.py +0 -0
- package/tests/requirements.txt +5 -0
- package/tests/test_basic_usage.py +19 -0
- package/tests/test_locale_french.py +33 -0
- package/usage.py +3 -4
- package/webpack.config.js +6 -15
- package/bug_fix.py +0 -21
- package/feffery_antd_components/utils.py +0 -262
- package/release-to-test-pypi.sh +0 -1
- package/review_checklist.md +0 -47
- package/src/jl/'feffery'_antdaccordion.jl +0 -56
- package/src/jl/'feffery'_antdaffix.jl +0 -35
- package/src/jl/'feffery'_antdalert.jl +0 -37
- package/src/jl/'feffery'_antdanchor.jl +0 -39
- package/src/jl/'feffery'_antdavatar.jl +0 -45
- package/src/jl/'feffery'_antdavatargroup.jl +0 -49
- package/src/jl/'feffery'_antdbacktop.jl +0 -31
- package/src/jl/'feffery'_antdbadge.jl +0 -53
- package/src/jl/'feffery'_antdbreadcrumb.jl +0 -51
- package/src/jl/'feffery'_antdbutton.jl +0 -72
- package/src/jl/'feffery'_antdcalendar.jl +0 -50
- package/src/jl/'feffery'_antdcard.jl +0 -70
- package/src/jl/'feffery'_antdcardgrid.jl +0 -34
- package/src/jl/'feffery'_antdcardmeta.jl +0 -26
- package/src/jl/'feffery'_antdcarousel.jl +0 -56
- package/src/jl/'feffery'_antdcascader.jl +0 -75
- package/src/jl/'feffery'_antdcenter.jl +0 -34
- package/src/jl/'feffery'_antdcheckabletag.jl +0 -28
- package/src/jl/'feffery'_antdcheckbox.jl +0 -44
- package/src/jl/'feffery'_antdcheckboxgroup.jl +0 -44
- package/src/jl/'feffery'_antdcheckcard.jl +0 -49
- package/src/jl/'feffery'_antdcheckcardgroup.jl +0 -52
- package/src/jl/'feffery'_antdcol.jl +0 -82
- package/src/jl/'feffery'_antdcollapse.jl +0 -57
- package/src/jl/'feffery'_antdcolorpicker.jl +0 -61
- package/src/jl/'feffery'_antdcomment.jl +0 -66
- package/src/jl/'feffery'_antdcompact.jl +0 -34
- package/src/jl/'feffery'_antdconfigprovider.jl +0 -52
- package/src/jl/'feffery'_antdcontent.jl +0 -30
- package/src/jl/'feffery'_antdcopytext.jl +0 -31
- package/src/jl/'feffery'_antdcountdown.jl +0 -35
- package/src/jl/'feffery'_antdcountup.jl +0 -32
- package/src/jl/'feffery'_antdcustomskeleton.jl +0 -42
- package/src/jl/'feffery'_antddatepicker.jl +0 -99
- package/src/jl/'feffery'_antddaterangepicker.jl +0 -98
- package/src/jl/'feffery'_antddescriptionitem.jl +0 -41
- package/src/jl/'feffery'_antddescriptions.jl +0 -71
- package/src/jl/'feffery'_antddivider.jl +0 -47
- package/src/jl/'feffery'_antddraggerupload.jl +0 -117
- package/src/jl/'feffery'_antddrawer.jl +0 -72
- package/src/jl/'feffery'_antddropdown.jl +0 -91
- package/src/jl/'feffery'_antdempty.jl +0 -47
- package/src/jl/'feffery'_antdflex.jl +0 -41
- package/src/jl/'feffery'_antdfloatbutton.jl +0 -39
- package/src/jl/'feffery'_antdfloatbuttongroup.jl +0 -44
- package/src/jl/'feffery'_antdfooter.jl +0 -30
- package/src/jl/'feffery'_antdform.jl +0 -53
- package/src/jl/'feffery'_antdformitem.jl +0 -55
- package/src/jl/'feffery'_antdformrender.jl +0 -229
- package/src/jl/'feffery'_antdhappyprovider.jl +0 -28
- package/src/jl/'feffery'_antdheader.jl +0 -30
- package/src/jl/'feffery'_antdicon.jl +0 -31
- package/src/jl/'feffery'_antdimage.jl +0 -49
- package/src/jl/'feffery'_antdimagegroup.jl +0 -53
- package/src/jl/'feffery'_antdinput.jl +0 -94
- package/src/jl/'feffery'_antdinputnumber.jl +0 -67
- package/src/jl/'feffery'_antdlayout.jl +0 -30
- package/src/jl/'feffery'_antdmentions.jl +0 -56
- package/src/jl/'feffery'_antdmenu.jl +0 -58
- package/src/jl/'feffery'_antdmessage.jl +0 -31
- package/src/jl/'feffery'_antdmodal.jl +0 -128
- package/src/jl/'feffery'_antdnotification.jl +0 -52
- package/src/jl/'feffery'_antdotp.jl +0 -43
- package/src/jl/'feffery'_antdpageheader.jl +0 -40
- package/src/jl/'feffery'_antdpagination.jl +0 -61
- package/src/jl/'feffery'_antdparagraph.jl +0 -48
- package/src/jl/'feffery'_antdpictureupload.jl +0 -137
- package/src/jl/'feffery'_antdpopconfirm.jl +0 -105
- package/src/jl/'feffery'_antdpopover.jl +0 -60
- package/src/jl/'feffery'_antdpopupcard.jl +0 -67
- package/src/jl/'feffery'_antdprogress.jl +0 -71
- package/src/jl/'feffery'_antdqrcode.jl +0 -51
- package/src/jl/'feffery'_antdradiogroup.jl +0 -55
- package/src/jl/'feffery'_antdrate.jl +0 -47
- package/src/jl/'feffery'_antdresult.jl +0 -29
- package/src/jl/'feffery'_antdribbon.jl +0 -34
- package/src/jl/'feffery'_antdrow.jl +0 -44
- package/src/jl/'feffery'_antdsegmented.jl +0 -56
- package/src/jl/'feffery'_antdsegmentedcoloring.jl +0 -59
- package/src/jl/'feffery'_antdselect.jl +0 -102
- package/src/jl/'feffery'_antdsider.jl +0 -43
- package/src/jl/'feffery'_antdskeleton.jl +0 -62
- package/src/jl/'feffery'_antdskeletonavatar.jl +0 -29
- package/src/jl/'feffery'_antdskeletonbutton.jl +0 -31
- package/src/jl/'feffery'_antdskeletonimage.jl +0 -23
- package/src/jl/'feffery'_antdskeletoninput.jl +0 -27
- package/src/jl/'feffery'_antdslider.jl +0 -73
- package/src/jl/'feffery'_antdspace.jl +0 -46
- package/src/jl/'feffery'_antdspin.jl +0 -49
- package/src/jl/'feffery'_antdsplitter.jl +0 -44
- package/src/jl/'feffery'_antdspoiler.jl +0 -44
- package/src/jl/'feffery'_antdstatistic.jl +0 -37
- package/src/jl/'feffery'_antdsteps.jl +0 -49
- package/src/jl/'feffery'_antdswitch.jl +0 -51
- package/src/jl/'feffery'_antdtable.jl +0 -447
- package/src/jl/'feffery'_antdtabs.jl +0 -84
- package/src/jl/'feffery'_antdtag.jl +0 -34
- package/src/jl/'feffery'_antdtext.jl +0 -46
- package/src/jl/'feffery'_antdtimeline.jl +0 -35
- package/src/jl/'feffery'_antdtimepicker.jl +0 -79
- package/src/jl/'feffery'_antdtimerangepicker.jl +0 -73
- package/src/jl/'feffery'_antdtitle.jl +0 -44
- package/src/jl/'feffery'_antdtooltip.jl +0 -64
- package/src/jl/'feffery'_antdtour.jl +0 -68
- package/src/jl/'feffery'_antdtransfer.jl +0 -71
- package/src/jl/'feffery'_antdtree.jl +0 -96
- package/src/jl/'feffery'_antdtreeselect.jl +0 -101
- package/src/jl/'feffery'_antdupload.jl +0 -131
- package/src/jl/'feffery'_antdwatermark.jl +0 -48
- package/src/jl/'feffery'_fragment.jl +0 -27
- package/tests/dataDisplay/AntdTable/feat_sticky_header.py +0 -81
- package/tests/dataEntry/AntdDateRangePicker/feat_prefix.py +0 -21
- package/tests/dataEntry/AntdDateRangePicker/feat_suffix_icon.py +0 -21
- package/tests/dataEntry/AntdTimeRangePicker/feat_prefix.py +0 -21
- package/tests/dataEntry/AntdTimeRangePicker/feat_suffix_icon.py +0 -21
- package/tests/general/AntdFloatButtonGroup/feat_placement.py +0 -83
- package/tests/other/AntdConfigProvider/feat_use_css.py +0 -67
- /package/{fac-logo.svg → imgs/fac-logo.svg} +0 -0
- /package/{images → imgs}//345/205/254/344/274/227/345/217/267.png" +0 -0
- /package/{images → imgs}//345/233/275/351/231/205/345/214/226/347/244/272/344/276/213_de-de.png" +0 -0
- /package/{images → imgs}//345/233/275/351/231/205/345/214/226/347/244/272/344/276/213_en-us.png" +0 -0
- /package/{images → imgs}//347/237/245/350/257/206/346/230/237/347/220/203.jpg" +0 -0
|
@@ -1,1351 +1,1394 @@
|
|
|
1
1
|
# AUTO GENERATED FILE - DO NOT EDIT
|
|
2
2
|
|
|
3
3
|
import typing # noqa: F401
|
|
4
|
-
|
|
4
|
+
|
|
5
5
|
from dash.development.base_component import Component, _explicitize_args
|
|
6
|
+
from typing_extensions import Literal, NotRequired, TypedDict # noqa: F401
|
|
6
7
|
|
|
8
|
+
ComponentSingleType = typing.Union[str, int, float, Component, None]
|
|
7
9
|
ComponentType = typing.Union[
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
float,
|
|
11
|
-
Component,
|
|
12
|
-
None,
|
|
13
|
-
typing.Sequence[typing.Union[str, int, float, Component, None]],
|
|
10
|
+
ComponentSingleType,
|
|
11
|
+
typing.Sequence[ComponentSingleType],
|
|
14
12
|
]
|
|
15
13
|
|
|
16
|
-
NumberType = typing.Union[
|
|
17
|
-
typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex
|
|
18
|
-
]
|
|
14
|
+
NumberType = typing.Union[typing.SupportsFloat, typing.SupportsInt, typing.SupportsComplex]
|
|
19
15
|
|
|
20
16
|
|
|
21
17
|
class AntdTable(Component):
|
|
22
18
|
"""An AntdTable component.
|
|
23
|
-
表格组件AntdTable
|
|
19
|
+
表格组件AntdTable
|
|
24
20
|
|
|
25
|
-
Keyword arguments:
|
|
21
|
+
Keyword arguments:
|
|
26
22
|
|
|
27
|
-
- id (string; optional):
|
|
28
|
-
|
|
23
|
+
- id (string; optional):
|
|
24
|
+
组件唯一id.
|
|
29
25
|
|
|
30
|
-
- key (string; optional):
|
|
31
|
-
|
|
26
|
+
- key (string; optional):
|
|
27
|
+
对当前组件的`key`值进行更新,可实现强制重绘当前组件的效果.
|
|
32
28
|
|
|
33
|
-
- className (string; optional):
|
|
34
|
-
|
|
29
|
+
- className (string; optional):
|
|
30
|
+
当前组件css类名.
|
|
35
31
|
|
|
36
|
-
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru'; default 'zh-cn'):
|
|
37
|
-
|
|
38
|
-
|
|
32
|
+
- locale (a value equal to: 'zh-cn', 'en-us', 'de-de', 'ru-ru', 'fr-fr'; default 'zh-cn'):
|
|
33
|
+
组件文案语种,可选项有`'zh-cn'`(简体中文)、`'en-us'`(英语)、`'de-de'`(德语)、`'fr-fr'`(法语)、`'ru-ru'`(俄语)
|
|
34
|
+
默认值:`'zh-cn'`.
|
|
39
35
|
|
|
40
|
-
- containerId (string; optional):
|
|
41
|
-
|
|
36
|
+
- containerId (string; optional):
|
|
37
|
+
当表格渲染在具有滚动条的局部容器中时,指定该容器id,可避免出现部分表格内部展开层随滚动条滚动显示异常的问题.
|
|
42
38
|
|
|
43
|
-
- columns (list of dicts; optional):
|
|
44
|
-
|
|
39
|
+
- columns (list of dicts; optional):
|
|
40
|
+
配置字段定义相关参数.
|
|
45
41
|
|
|
46
|
-
|
|
42
|
+
`columns` is a list of dicts with keys:
|
|
47
43
|
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
- title (a list of or a singular dash component, string or number; required):
|
|
45
|
+
必填,当前字段标题.
|
|
50
46
|
|
|
51
|
-
|
|
52
|
-
|
|
47
|
+
- dataIndex (string; required):
|
|
48
|
+
必填,当前字段唯一识别id.
|
|
53
49
|
|
|
54
|
-
|
|
55
|
-
|
|
50
|
+
- group (string | list of strings; optional):
|
|
51
|
+
当前字段所属分组信息,用于渲染多级表头.
|
|
56
52
|
|
|
57
|
-
|
|
58
|
-
|
|
53
|
+
- renderOptions (dict; optional):
|
|
54
|
+
配置字段[再渲染模式](/AntdTable-rerender)相关参数.
|
|
59
55
|
|
|
60
|
-
|
|
56
|
+
`renderOptions` is a dict with keys:
|
|
61
57
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
58
|
+
- renderType (a value equal to: 'link', 'ellipsis', 'copyable', 'ellipsis-copyable', 'tags', 'status-badge', 'image', 'custom-format', 'corner-mark', 'row-merge', 'dropdown', 'dropdown-links', 'image-avatar', 'mini-line', 'mini-bar', 'mini-progress', 'mini-ring-progress', 'mini-area', 'button', 'checkbox', 'switch', 'select'; optional):
|
|
59
|
+
再渲染类型,可选项有`'link'`、`'ellipsis'`、`'copyable'`、`'ellipsis-copyable'`、`'tags'`、`'status-badge'`、`'image'`
|
|
60
|
+
、`'custom-format'`、`'corner-mark'`、`'row-merge'`、`'dropdown'`、`'dropdown-links'`、`'image-avatar'`
|
|
61
|
+
、`'mini-line'`、`'mini-bar'`、`'mini-progress'`、`'mini-ring-progress'`、`'mini-area'`
|
|
62
|
+
、`'button'`、`'checkbox'`、`'switch'`、`'select'`.
|
|
67
63
|
|
|
68
|
-
|
|
69
|
-
|
|
64
|
+
- renderLinkText (string; optional):
|
|
65
|
+
当`renderType='link'`时,统一设置渲染链接文本内容.
|
|
70
66
|
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
- likeDccLink (boolean; optional):
|
|
68
|
+
当`renderType`为`'link'`、`'button'`时,统一设置链接跳转行为是否采用`dcc.Link`模式
|
|
69
|
+
默认值:`False`.
|
|
74
70
|
|
|
75
|
-
|
|
76
|
-
|
|
71
|
+
- renderButtonSplit (boolean; optional):
|
|
72
|
+
当`renderType='button'`时,控制多个按钮之间是否添加分割线.
|
|
77
73
|
|
|
78
|
-
|
|
79
|
-
|
|
74
|
+
- renderButtonPopConfirmProps (dict; optional):
|
|
75
|
+
当`renderType='button'`时,配置气泡确认框相关参数.
|
|
80
76
|
|
|
81
|
-
|
|
77
|
+
`renderButtonPopConfirmProps` is a dict with keys:
|
|
82
78
|
|
|
83
|
-
|
|
84
|
-
|
|
79
|
+
- title (string; optional):
|
|
80
|
+
气泡确认框标题.
|
|
85
81
|
|
|
86
|
-
|
|
87
|
-
|
|
82
|
+
- okText (string; optional):
|
|
83
|
+
气泡确认框确认按钮文案.
|
|
88
84
|
|
|
89
|
-
|
|
90
|
-
|
|
85
|
+
- cancelText (string; optional):
|
|
86
|
+
气泡确认框取消按钮文案.
|
|
91
87
|
|
|
92
|
-
|
|
93
|
-
|
|
88
|
+
- miniChartColor (string; optional):
|
|
89
|
+
当`renderType`为`'mini-line'`、`'mini-area'`、`'mini-bar'`时,设置图表颜色.
|
|
94
90
|
|
|
95
|
-
|
|
96
|
-
|
|
91
|
+
- tooltipCustomContent (string; optional):
|
|
92
|
+
当`renderType`为`'mini-line'`、`'mini-area'`、`'mini-bar'`时,设置用于渲染信息卡片的`javascript`函数字符串.
|
|
97
93
|
|
|
98
|
-
|
|
99
|
-
|
|
94
|
+
- progressOneHundredPercentColor (string; optional):
|
|
95
|
+
当`renderType`为`'mini-progress'`、`'mini-ring-progress'`时,设置进度完成状态下的填充色.
|
|
100
96
|
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
97
|
+
- progressShowPercent (boolean; optional):
|
|
98
|
+
当`renderType`为`'mini-progress'`时,设置进度条是否附带进度数值信息
|
|
99
|
+
默认值:`False`.
|
|
104
100
|
|
|
105
|
-
|
|
106
|
-
|
|
101
|
+
- progressPercentPrecision (number; optional):
|
|
102
|
+
当`renderType`为`'mini-progress'`时,设置进度条附带进度数值信息的小数位数,默认保持原始数值的精度.
|
|
107
103
|
|
|
108
|
-
|
|
109
|
-
|
|
104
|
+
- progressPercentPosition (dict; optional):
|
|
105
|
+
当`renderType`为`'mini-progress'`时,设置进度条附带进度数值信息显示的位置.
|
|
110
106
|
|
|
111
|
-
|
|
107
|
+
`progressPercentPosition` is a dict with keys:
|
|
112
108
|
|
|
113
|
-
|
|
114
|
-
|
|
109
|
+
- align (a value equal to: 'start', 'center', 'end'; optional):
|
|
110
|
+
对齐方式,可选项有`'start'`、`'center'`、`'end'`.
|
|
115
111
|
|
|
116
|
-
|
|
117
|
-
|
|
112
|
+
- type (a value equal to: 'inner', 'outer'; optional):
|
|
113
|
+
内外位置,可选项有`'inner'`、`'outer'`.
|
|
118
114
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
115
|
+
- progressStrokeLinecap (a value equal to: 'square', 'round'; optional):
|
|
116
|
+
当`renderType`为`'mini-progress'`时,设置进度条形状类型,可选项有`'square'`、`'round'`
|
|
117
|
+
默认值:`'square'`.
|
|
122
118
|
|
|
123
|
-
|
|
124
|
-
|
|
119
|
+
- progressSize (number; optional):
|
|
120
|
+
当`renderType`为`'mini-progress'`时,设置进度条像素尺寸.
|
|
125
121
|
|
|
126
|
-
|
|
127
|
-
|
|
122
|
+
- progressColor (dict; optional):
|
|
123
|
+
当`renderType`为`'mini-progress'`时,设置进度条主体部分颜色,支持通过字段`'from'`、`'to'`配置渐变色.
|
|
128
124
|
|
|
129
|
-
|
|
125
|
+
`progressColor` is a string
|
|
130
126
|
|
|
131
|
-
|
|
127
|
+
Or dict with keys:
|
|
132
128
|
|
|
133
|
-
|
|
134
|
-
|
|
129
|
+
- from (string; optional):
|
|
130
|
+
渐变色起始颜色.
|
|
135
131
|
|
|
136
|
-
|
|
137
|
-
|
|
132
|
+
- to (string; optional):
|
|
133
|
+
渐变色结束颜色.
|
|
138
134
|
|
|
139
|
-
|
|
140
|
-
|
|
135
|
+
- ringProgressFontSize (number; optional):
|
|
136
|
+
当`renderType='mini-ring-progress'`时,设置进度数值像素大小.
|
|
141
137
|
|
|
142
|
-
|
|
143
|
-
|
|
138
|
+
- dropdownProps (dict; optional):
|
|
139
|
+
当`renderType`为`'dropdown'`、`'dropdown-links'`时,配置下拉菜单相关参数.
|
|
144
140
|
|
|
145
|
-
|
|
141
|
+
`dropdownProps` is a dict with keys:
|
|
146
142
|
|
|
147
|
-
|
|
148
|
-
|
|
143
|
+
- title (string; optional):
|
|
144
|
+
下拉菜单锚点标题内容.
|
|
149
145
|
|
|
150
|
-
|
|
151
|
-
|
|
146
|
+
- arrow (boolean; optional):
|
|
147
|
+
下拉菜单是否显示指示箭头 默认值:`False`.
|
|
152
148
|
|
|
153
|
-
|
|
154
|
-
|
|
149
|
+
- disabled (boolean; optional):
|
|
150
|
+
是否整体禁用下拉菜单功能,优先级低于各记录值内部参数.
|
|
155
151
|
|
|
156
|
-
|
|
157
|
-
|
|
152
|
+
- overlayClassName (string; optional):
|
|
153
|
+
下拉菜单容器css类名.
|
|
158
154
|
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
- overlayStyle (dict; optional):
|
|
156
|
+
下拉菜单容器css样式.
|
|
161
157
|
|
|
162
|
-
|
|
163
|
-
|
|
158
|
+
- placement (a value equal to: 'bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'; optional):
|
|
159
|
+
下拉菜单展开方向,可选项有`'bottomLeft'`、`'bottomCenter'`、`'bottomRight'`、`'topLeft'`、`'topCenter'`、`'topRight'`.
|
|
164
160
|
|
|
165
|
-
|
|
166
|
-
|
|
161
|
+
- fixed (a value equal to: 'left', 'right' | boolean; optional):
|
|
162
|
+
当前字段冻结方向,可选项有`'left'`、`'right'`,设置为`True`时等价于`'left'`.
|
|
167
163
|
|
|
168
|
-
|
|
169
|
-
|
|
164
|
+
- editable (boolean; optional):
|
|
165
|
+
当前字段是否可编辑 默认值:`False`.
|
|
170
166
|
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
- editOptions (dict; optional):
|
|
168
|
+
配置可编辑模式下输入框相关参数.
|
|
173
169
|
|
|
174
|
-
|
|
170
|
+
`editOptions` is a dict with keys:
|
|
175
171
|
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
- mode (a value equal to: 'default', 'text-area'; optional):
|
|
173
|
+
编辑框模式,可选项有`'default'`、`'text-area'` 默认值:`'default'`.
|
|
178
174
|
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
175
|
+
- autoSize (dict; optional):
|
|
176
|
+
当`mode='textarea'`时,配置文本框自适应高度相关功能,同`AntdInput`
|
|
177
|
+
默认值:`False`.
|
|
182
178
|
|
|
183
|
-
|
|
179
|
+
`autoSize` is a boolean
|
|
184
180
|
|
|
185
|
-
|
|
181
|
+
Or dict with keys:
|
|
186
182
|
|
|
187
|
-
|
|
183
|
+
- minRows (number; optional)
|
|
188
184
|
|
|
189
|
-
|
|
185
|
+
- maxRows (number; optional)
|
|
190
186
|
|
|
191
|
-
|
|
192
|
-
|
|
187
|
+
- maxLength (number; optional):
|
|
188
|
+
限制当前字段可编辑模式下,输入框内最多可输入的字符数量,默认无限制.
|
|
193
189
|
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
- placeholder (string; optional):
|
|
191
|
+
输入框无输入值时的占位提示信息.
|
|
196
192
|
|
|
197
|
-
|
|
198
|
-
|
|
193
|
+
- disabledKeys (list of strings; optional):
|
|
194
|
+
当前字段下需进行输入框禁用的行记录`key`值列表.
|
|
199
195
|
|
|
200
|
-
|
|
201
|
-
|
|
196
|
+
- align (a value equal to: 'left', 'center', 'right'; optional):
|
|
197
|
+
当前字段对齐方式,可选项有`'left'`、`'center'`、`'right'` 默认值:`'center'`.
|
|
202
198
|
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
199
|
+
- headerAlign (a value equal to: 'left', 'center', 'right'; optional):
|
|
200
|
+
当前表头对齐方式,默认跟随当前字段对齐方式,可选项有`'left'`、`'center'`、`'right'`
|
|
201
|
+
默认值:`'center'`.
|
|
206
202
|
|
|
207
|
-
|
|
208
|
-
|
|
203
|
+
- width (number | string; optional):
|
|
204
|
+
当前字段宽度.
|
|
209
205
|
|
|
210
|
-
|
|
211
|
-
|
|
206
|
+
- minWidth (number | string; optional):
|
|
207
|
+
控制当前字段最小宽度,仅当`tableLayout=\"auto\"`时有效.
|
|
212
208
|
|
|
213
|
-
|
|
214
|
-
|
|
209
|
+
- hidden (boolean; optional):
|
|
210
|
+
是否隐藏当前字段 默认值:`False`.
|
|
215
211
|
|
|
216
|
-
|
|
217
|
-
|
|
212
|
+
- className (string; optional):
|
|
213
|
+
当前字段css类名.
|
|
218
214
|
|
|
219
|
-
|
|
220
|
-
|
|
215
|
+
- defaultSortOrder (a value equal to: 'ascend', 'descend'; optional):
|
|
216
|
+
当前字段初始化时的默认排序状态,可选项有`'ascend'`、`'descend'`.
|
|
221
217
|
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
218
|
+
- filterResetToDefaultFilteredValue (boolean; optional):
|
|
219
|
+
若当前字段通过参数`defaultFilteredValues`设置了初始化默认选中的筛选值,用于设置是否在用户点击重置按钮后恢复默认选中筛选项
|
|
220
|
+
默认值:`False`.
|
|
225
221
|
|
|
226
|
-
- showHeader (boolean; default True):
|
|
227
|
-
|
|
222
|
+
- showHeader (boolean; default True):
|
|
223
|
+
是否显示表头 默认值:`True`.
|
|
228
224
|
|
|
229
|
-
- rowHoverable (boolean; default True):
|
|
230
|
-
|
|
225
|
+
- rowHoverable (boolean; default True):
|
|
226
|
+
表格行是否开启鼠标悬停样式效果 默认值:`True`.
|
|
231
227
|
|
|
232
|
-
- tableLayout (a value equal to: 'auto', 'fixed'; optional):
|
|
233
|
-
|
|
228
|
+
- tableLayout (a value equal to: 'auto', 'fixed'; optional):
|
|
229
|
+
当`columns`中各字段未设置`width`时,用于控制整体字段宽度分配方式,可选项有`'auto'`、`'fixed'`.
|
|
234
230
|
|
|
235
|
-
- data (list of dicts; optional):
|
|
236
|
-
|
|
231
|
+
- data (list of dicts; optional):
|
|
232
|
+
定义表格数据源,与`columns`对应.
|
|
237
233
|
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
234
|
+
`data` is a list of dicts with strings as keys and values of type
|
|
235
|
+
list of boolean | number | string | dict | lists | a list of or a
|
|
236
|
+
singular dash component, string or number | string | number |
|
|
237
|
+
boolean | dict with keys:
|
|
242
238
|
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
- content (string; optional):
|
|
240
|
+
适用于`'link'`模式,链接显示的文字内容,优先级高于字段配置信息中的`renderLinkText`参数.
|
|
245
241
|
|
|
246
|
-
|
|
247
|
-
|
|
242
|
+
- href (string; optional):
|
|
243
|
+
适用于`'link'`模式,链接地址.
|
|
248
244
|
|
|
249
|
-
|
|
250
|
-
|
|
245
|
+
- target (string; optional):
|
|
246
|
+
适用于`'link'`模式,链接跳转行为 默认值:`'_blank'`.
|
|
251
247
|
|
|
252
|
-
|
|
253
|
-
|
|
248
|
+
- disabled (boolean; optional):
|
|
249
|
+
适用于`'link'`模式,是否禁用当前链接 默认值:`False`.
|
|
254
250
|
|
|
255
|
-
|
|
251
|
+
Or list of numbers | dict with keys:
|
|
256
252
|
|
|
257
|
-
|
|
258
|
-
|
|
253
|
+
- color (string; optional):
|
|
254
|
+
适用于`'tags'`模式,标签颜色.
|
|
259
255
|
|
|
260
|
-
|
|
261
|
-
|
|
256
|
+
- tag (string | number; optional):
|
|
257
|
+
适用于`'tags'`模式,标签内容.
|
|
262
258
|
|
|
263
|
-
|
|
264
|
-
|
|
259
|
+
- tooltip (dict; optional):
|
|
260
|
+
适用于`'tags'`模式,为当前标签添加额外的文字提示功能.
|
|
265
261
|
|
|
266
|
-
|
|
262
|
+
`tooltip` is a dict with keys:
|
|
267
263
|
|
|
268
|
-
|
|
269
|
-
|
|
264
|
+
- title (string; optional):
|
|
265
|
+
文字提示内容.
|
|
270
266
|
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
267
|
+
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional):
|
|
268
|
+
文字提示弹出方向,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
269
|
+
默认值:`'top'`. | list of dicts with keys:
|
|
274
270
|
|
|
275
|
-
|
|
276
|
-
|
|
271
|
+
- color (string; optional):
|
|
272
|
+
适用于`'tags'`模式,当前标签颜色.
|
|
277
273
|
|
|
278
|
-
|
|
279
|
-
|
|
274
|
+
- tag (string | number; optional):
|
|
275
|
+
适用于`'tags'`模式,当前标签内容.
|
|
280
276
|
|
|
281
|
-
|
|
282
|
-
|
|
277
|
+
- tooltip (dict; optional):
|
|
278
|
+
适用于`'tags'`模式,为当前标签添加额外的文字提示功能.
|
|
283
279
|
|
|
284
|
-
|
|
280
|
+
`tooltip` is a dict with keys:
|
|
285
281
|
|
|
286
|
-
|
|
287
|
-
|
|
282
|
+
- title (string; optional):
|
|
283
|
+
文字提示内容.
|
|
288
284
|
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
285
|
+
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional):
|
|
286
|
+
文字提示弹出方向,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
287
|
+
默认值:`'top'`. | dict with keys:
|
|
292
288
|
|
|
293
|
-
|
|
294
|
-
|
|
289
|
+
- disabled (boolean; optional):
|
|
290
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
295
291
|
|
|
296
|
-
|
|
297
|
-
|
|
292
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional):
|
|
293
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
298
294
|
|
|
299
|
-
|
|
300
|
-
|
|
295
|
+
- color (a value equal to: 'default', 'primary', 'danger', 'blue', 'purple', 'cyan', 'green', 'magenta', 'pink', 'red', 'orange', 'yellow', 'volcano', 'geekblue', 'lime', 'gold'; optional):
|
|
296
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
301
297
|
|
|
302
|
-
|
|
303
|
-
|
|
298
|
+
- variant (a value equal to: 'outlined', 'dashed', 'solid', 'filled', 'text', 'link'; optional):
|
|
299
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
304
300
|
|
|
305
|
-
|
|
306
|
-
|
|
301
|
+
- danger (boolean; optional):
|
|
302
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
307
303
|
|
|
308
|
-
|
|
309
|
-
|
|
304
|
+
- style (dict; optional):
|
|
305
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
310
306
|
|
|
311
|
-
|
|
312
|
-
|
|
307
|
+
- content (string; optional):
|
|
308
|
+
适用于`'button'`模式,按钮内容.
|
|
313
309
|
|
|
314
|
-
|
|
315
|
-
|
|
310
|
+
- href (string; optional):
|
|
311
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
316
312
|
|
|
317
|
-
|
|
318
|
-
|
|
313
|
+
- target (string; optional):
|
|
314
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
319
315
|
|
|
320
|
-
|
|
321
|
-
|
|
316
|
+
- popConfirmProps (dict; optional):
|
|
317
|
+
适用于`'button'`模式,用于为当前按钮配置气泡确认框相关参数,优先级更高.
|
|
322
318
|
|
|
323
|
-
|
|
319
|
+
`popConfirmProps` is a dict with keys:
|
|
324
320
|
|
|
325
|
-
|
|
326
|
-
|
|
321
|
+
- title (string; optional):
|
|
322
|
+
气泡确认框标题.
|
|
327
323
|
|
|
328
|
-
|
|
329
|
-
|
|
324
|
+
- okText (string; optional):
|
|
325
|
+
气泡确认框确认按钮文案.
|
|
330
326
|
|
|
331
|
-
|
|
332
|
-
|
|
327
|
+
- cancelText (string; optional):
|
|
328
|
+
气泡确认框取消按钮文案.
|
|
333
329
|
|
|
334
|
-
|
|
335
|
-
|
|
330
|
+
- icon (string; optional):
|
|
331
|
+
适用于`'button'`模式,按钮前缀图标类型,`iconRenderer`为`'AntdIcon'`时同`AntdIcon`同名参数,`iconRenderer`为`'fontawesome'`时为css类名.
|
|
336
332
|
|
|
337
|
-
|
|
338
|
-
|
|
333
|
+
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
|
|
334
|
+
适用于`'button'`模式,按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
|
|
339
335
|
|
|
340
|
-
|
|
341
|
-
|
|
336
|
+
- tooltip (dict; optional):
|
|
337
|
+
适用于`'button'`模式,为当前按钮添加额外的文字提示功能.
|
|
342
338
|
|
|
343
|
-
|
|
339
|
+
`tooltip` is a dict with keys:
|
|
344
340
|
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
- title (string; optional):
|
|
342
|
+
文字提示内容.
|
|
347
343
|
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
344
|
+
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight'; optional):
|
|
345
|
+
文字提示弹出方向,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
346
|
+
默认值:`'top'`.
|
|
351
347
|
|
|
352
|
-
|
|
353
|
-
|
|
348
|
+
- custom (boolean | number | string | dict | list; optional):
|
|
349
|
+
适用于`'button'`模式,额外补充信息. | list of dicts with keys:
|
|
354
350
|
|
|
355
|
-
|
|
356
|
-
|
|
351
|
+
- disabled (boolean; optional):
|
|
352
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
357
353
|
|
|
358
|
-
|
|
359
|
-
|
|
354
|
+
- type (a value equal to: 'primary', 'ghost', 'dashed', 'link', 'text', 'default'; optional):
|
|
355
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
360
356
|
|
|
361
|
-
|
|
362
|
-
|
|
357
|
+
- danger (boolean; optional):
|
|
358
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
363
359
|
|
|
364
|
-
|
|
365
|
-
|
|
360
|
+
- style (dict; optional):
|
|
361
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
366
362
|
|
|
367
|
-
|
|
368
|
-
|
|
363
|
+
- content (string; optional):
|
|
364
|
+
适用于`'button'`模式,按钮内容.
|
|
369
365
|
|
|
370
|
-
|
|
371
|
-
|
|
366
|
+
- href (string; optional):
|
|
367
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
372
368
|
|
|
373
|
-
|
|
374
|
-
|
|
369
|
+
- target (string; optional):
|
|
370
|
+
适用于`'button'`模式,同`AntdButton`中的同名参数.
|
|
375
371
|
|
|
376
|
-
|
|
377
|
-
|
|
372
|
+
- icon (string; optional):
|
|
373
|
+
适用于`'button'`模式,当前按钮前缀图标类型,`iconRenderer`为`'AntdIcon'`时同`AntdIcon`同名参数,`iconRenderer`为`'fontawesome'`时为css类名.
|
|
378
374
|
|
|
379
|
-
|
|
380
|
-
|
|
375
|
+
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
|
|
376
|
+
适用于`'button'`模式,当前按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
|
|
381
377
|
|
|
382
|
-
|
|
383
|
-
|
|
378
|
+
- custom (boolean | number | string | dict | list; optional):
|
|
379
|
+
适用于`'button'`模式,额外补充信息. | dict with keys:
|
|
384
380
|
|
|
385
|
-
|
|
386
|
-
|
|
381
|
+
- status (a value equal to: 'success', 'processing', 'default', 'error', 'warning'; optional):
|
|
382
|
+
适用于`'status-badge'`模式,状态徽标状态,可选项有`'success'`、`'processing'`、`'default'`、`'error'`、`'warning'`.
|
|
387
383
|
|
|
388
|
-
|
|
389
|
-
|
|
384
|
+
- text (string | number; optional):
|
|
385
|
+
适用于`'status-badge'`模式,状态徽标标签内容. | dict with keys:
|
|
390
386
|
|
|
391
|
-
|
|
392
|
-
|
|
387
|
+
- src (string; optional):
|
|
388
|
+
适用于`'image'`模式,图片资源地址.
|
|
393
389
|
|
|
394
|
-
|
|
395
|
-
|
|
390
|
+
- height (string | number; optional):
|
|
391
|
+
适用于`'image'`模式,图片高度.
|
|
396
392
|
|
|
397
|
-
|
|
398
|
-
|
|
393
|
+
- preview (boolean; optional):
|
|
394
|
+
适用于`'image'`模式,图片是否可交互预览 默认值:`True`. | dict with keys:
|
|
399
395
|
|
|
400
|
-
|
|
401
|
-
|
|
396
|
+
- placement (a value equal to: 'top-left', 'top-right', 'bottom-left', 'bottom-right'; optional):
|
|
397
|
+
适用于`'corner-mark'`模式,角标显示方位,可选项有`'top-left'`、`'top-right'`、`'bottom-left'`、`'bottom-right'`.
|
|
402
398
|
|
|
403
|
-
|
|
404
|
-
|
|
399
|
+
- color (string; optional):
|
|
400
|
+
适用于`'corner-mark'`模式,角标颜色 默认值:`'#1890ff'`.
|
|
405
401
|
|
|
406
|
-
|
|
407
|
-
|
|
402
|
+
- content (number | string; optional):
|
|
403
|
+
适用于`'corner-mark'`模式,单元格数值内容.
|
|
408
404
|
|
|
409
|
-
|
|
410
|
-
|
|
405
|
+
- offsetX (number; optional):
|
|
406
|
+
适用于`'corner-mark'`模式,角标水平方向像素偏移量.
|
|
411
407
|
|
|
412
|
-
|
|
413
|
-
|
|
408
|
+
- offsetY (number; optional):
|
|
409
|
+
适用于`'corner-mark'`模式,角标竖直方向像素偏移量.
|
|
414
410
|
|
|
415
|
-
|
|
416
|
-
|
|
411
|
+
- hide (boolean; optional):
|
|
412
|
+
适用于`'corner-mark'`模式,是否隐藏当前角标 默认值:`False`. | dict with keys:
|
|
417
413
|
|
|
418
|
-
|
|
419
|
-
|
|
414
|
+
- checked (boolean; optional):
|
|
415
|
+
适用于`'checkbox'`模式,当前勾选框状态.
|
|
420
416
|
|
|
421
|
-
|
|
422
|
-
|
|
417
|
+
- disabled (boolean; optional):
|
|
418
|
+
适用于`'checkbox'`模式,是否禁用当前勾选框.
|
|
423
419
|
|
|
424
|
-
|
|
425
|
-
|
|
420
|
+
- label (string; optional):
|
|
421
|
+
适用于`'checkbox'`模式,当前勾选框标签内容.
|
|
426
422
|
|
|
427
|
-
|
|
428
|
-
|
|
423
|
+
- custom (boolean | number | string | dict | list; optional):
|
|
424
|
+
适用于`'checkbox'`模式,额外补充信息. | dict with keys:
|
|
429
425
|
|
|
430
|
-
|
|
431
|
-
|
|
426
|
+
- checked (boolean; optional):
|
|
427
|
+
适用于`'switch'`模式,当前开关状态.
|
|
432
428
|
|
|
433
|
-
|
|
434
|
-
|
|
429
|
+
- disabled (boolean; optional):
|
|
430
|
+
适用于`'switch'`模式,是否禁用当前开关.
|
|
435
431
|
|
|
436
|
-
|
|
437
|
-
|
|
432
|
+
- checkedChildren (string; optional):
|
|
433
|
+
适用于`'switch'`模式,“开”状态标签内容.
|
|
438
434
|
|
|
439
|
-
|
|
440
|
-
|
|
435
|
+
- unCheckedChildren (string; optional):
|
|
436
|
+
适用于`'switch'`模式,“关”状态标签内容.
|
|
441
437
|
|
|
442
|
-
|
|
443
|
-
|
|
438
|
+
- custom (boolean | number | string | dict | list; optional):
|
|
439
|
+
适用于`'switch'`模式,额外补充信息. | dict with keys:
|
|
444
440
|
|
|
445
|
-
|
|
446
|
-
|
|
441
|
+
- content (number | string; optional):
|
|
442
|
+
适用于`'row-merge'`模式,单元格数值内容.
|
|
447
443
|
|
|
448
|
-
|
|
449
|
-
|
|
444
|
+
- rowSpan (number; optional):
|
|
445
|
+
适用于`'row-merge'`模式,从当前单元格开始,向后合并的其他单元格数量. | list of dicts with keys:
|
|
450
446
|
|
|
451
|
-
|
|
452
|
-
|
|
447
|
+
- title (string; optional):
|
|
448
|
+
适用于`'dropdown'`模式,当前下拉菜单项锚点内容.
|
|
453
449
|
|
|
454
|
-
|
|
455
|
-
|
|
450
|
+
- disabled (boolean; optional):
|
|
451
|
+
适用于`'dropdown'`模式,是否禁用当前下拉菜单项.
|
|
456
452
|
|
|
457
|
-
|
|
458
|
-
|
|
453
|
+
- icon (string; optional):
|
|
454
|
+
适用于`'dropdown'`模式,当前按钮前缀图标类型,`iconRenderer`为`'AntdIcon'`时同`AntdIcon`同名参数,`iconRenderer`为`'fontawesome'`时为css类名.
|
|
459
455
|
|
|
460
|
-
|
|
461
|
-
|
|
456
|
+
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
|
|
457
|
+
适用于`'dropdown'`模式,当前按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
|
|
462
458
|
|
|
463
|
-
|
|
464
|
-
|
|
459
|
+
- custom (boolean | number | string | dict | list; optional):
|
|
460
|
+
适用于`'dropdown'`模式,额外补充信息.
|
|
465
461
|
|
|
466
|
-
|
|
467
|
-
|
|
462
|
+
- isDivider (boolean; optional):
|
|
463
|
+
适用于`'dropdown'`模式,当前项是否渲染为分割线 默认值:`False`. | list of dicts with keys:
|
|
468
464
|
|
|
469
|
-
|
|
470
|
-
|
|
465
|
+
- title (string; optional):
|
|
466
|
+
适用于`'dropdown-links'`模式,当前下拉菜单项锚点内容.
|
|
471
467
|
|
|
472
|
-
|
|
473
|
-
|
|
468
|
+
- href (string; optional):
|
|
469
|
+
适用于`'dropdown-links'`模式,当前下拉菜单项链接地址.
|
|
474
470
|
|
|
475
|
-
|
|
476
|
-
|
|
471
|
+
- disabled (boolean; optional):
|
|
472
|
+
适用于`'dropdown-links'`模式,是否禁用当前下拉菜单项.
|
|
477
473
|
|
|
478
|
-
|
|
479
|
-
|
|
474
|
+
- icon (string; optional):
|
|
475
|
+
适用于`'dropdown-links'`模式,当前按钮前缀图标类型,`iconRenderer`为`'AntdIcon'`时同`AntdIcon`同名参数,`iconRenderer`为`'fontawesome'`时为css类名.
|
|
480
476
|
|
|
481
|
-
|
|
482
|
-
|
|
477
|
+
- iconRenderer (a value equal to: 'AntdIcon', 'fontawesome'; optional):
|
|
478
|
+
适用于`'dropdown-links'`模式,当前按钮前缀图标渲染方式,可选项有`'AntdIcon'`、`'fontawesome'`.
|
|
483
479
|
|
|
484
|
-
|
|
485
|
-
|
|
480
|
+
- isDivider (boolean; optional):
|
|
481
|
+
适用于`'dropdown-links'`模式,当前项是否渲染为分割线 默认值:`False`. | dict with keys:
|
|
486
482
|
|
|
487
|
-
|
|
488
|
-
|
|
483
|
+
- src (string; optional):
|
|
484
|
+
适用于`'image-avatar'`模式,头像图片资源链接.
|
|
489
485
|
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
486
|
+
- size (dict; optional):
|
|
487
|
+
适用于`'image-avatar'`模式,头像尺寸规格,传入数值型时表示像素大小,传入字符型时可使用内置尺寸规格,可选项有`'small'`、`'default'`、`'large'`,支持响应式
|
|
488
|
+
默认值:`'default'`.
|
|
493
489
|
|
|
494
|
-
|
|
495
|
-
|
|
490
|
+
`size` is a number | a value equal to: 'large', 'small',
|
|
491
|
+
'default' | dict with keys:
|
|
496
492
|
|
|
497
|
-
|
|
493
|
+
- xs (number; optional)
|
|
498
494
|
|
|
499
|
-
|
|
495
|
+
- sm (number; optional)
|
|
500
496
|
|
|
501
|
-
|
|
497
|
+
- md (number; optional)
|
|
502
498
|
|
|
503
|
-
|
|
499
|
+
- lg (number; optional)
|
|
504
500
|
|
|
505
|
-
|
|
501
|
+
- xl (number; optional)
|
|
506
502
|
|
|
507
|
-
|
|
503
|
+
- xxl (number; optional)
|
|
508
504
|
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
505
|
+
- shape (a value equal to: 'circle', 'square'; optional):
|
|
506
|
+
适用于`'image-avatar'`模式,头像形状,可选项有`'circle'`、`'square'`
|
|
507
|
+
默认值:`'circle'`. | dict with keys:
|
|
512
508
|
|
|
513
|
-
|
|
514
|
-
|
|
509
|
+
- className (string; optional):
|
|
510
|
+
适用于`'select'`模式,下拉选择css类名.
|
|
515
511
|
|
|
516
|
-
|
|
517
|
-
|
|
512
|
+
- style (dict; optional):
|
|
513
|
+
适用于`'select'`模式,下拉选择css样式,其中`width`默认为`'100%'`.
|
|
518
514
|
|
|
519
|
-
|
|
520
|
-
|
|
515
|
+
- options (list of dicts; optional):
|
|
516
|
+
适用于`'select'`模式,定义下拉选择选项.
|
|
521
517
|
|
|
522
|
-
|
|
518
|
+
`options` is a list of dicts with keys:
|
|
523
519
|
|
|
524
|
-
|
|
520
|
+
- label (string; optional):
|
|
525
521
|
|
|
526
|
-
|
|
522
|
+
当前选项标题.
|
|
527
523
|
|
|
528
|
-
|
|
524
|
+
- value (string | number; optional):
|
|
529
525
|
|
|
530
|
-
|
|
526
|
+
当前选项值.
|
|
531
527
|
|
|
532
|
-
|
|
533
|
-
|
|
528
|
+
- listHeight (number; optional):
|
|
529
|
+
适用于`'select'`模式,下拉选择菜单像素高度 默认值:`256`.
|
|
534
530
|
|
|
535
|
-
|
|
536
|
-
|
|
531
|
+
- mode (a value equal to: 'multiple', 'tags'; optional):
|
|
532
|
+
适用于`'select'`模式,选择模式,可选项有`'multiple'`、`'tags'`,默认为单选模式.
|
|
537
533
|
|
|
538
|
-
|
|
539
|
-
|
|
534
|
+
- disabled (boolean; optional):
|
|
535
|
+
适用于`'select'`模式,是否禁用当前下拉选择.
|
|
540
536
|
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
537
|
+
- size (a value equal to: 'small', 'middle', 'large'; optional):
|
|
538
|
+
适用于`'select'`模式,下拉选择尺寸规格,可选项有`'small'`、`'middle'`、`'large'`
|
|
539
|
+
默认值:`'middle'`.
|
|
544
540
|
|
|
545
|
-
|
|
546
|
-
|
|
541
|
+
- bordered (boolean; optional):
|
|
542
|
+
适用于`'select'`模式,是否渲染边框 默认值:`True`.
|
|
543
|
+
|
|
544
|
+
- placeholder (string; optional):
|
|
545
|
+
适用于`'select'`模式,选择框占位内容.
|
|
547
546
|
|
|
548
|
-
|
|
549
|
-
|
|
547
|
+
- placement (a value equal to: 'bottomLeft', 'bottomRight', 'topLeft', 'topRight'; optional):
|
|
548
|
+
适用于`'select'`模式,下拉菜单展开方向,可选项有`'bottomLeft'`、`'bottomRight'`、`'topLeft'`、`'topRight'`
|
|
549
|
+
默认值:`'bottomLeft'`.
|
|
550
550
|
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
默认值:`'bottomLeft'`.
|
|
551
|
+
- value (string | number | list of string | numbers; optional):
|
|
552
|
+
适用于`'select'`模式,下拉选择已选中值.
|
|
554
553
|
|
|
555
|
-
|
|
556
|
-
|
|
554
|
+
- maxTagCount (number | a value equal to: 'responsive'; optional):
|
|
555
|
+
适用于`'select'`模式,最多显示的已选中选项数量,超出部分将会自动省略 默认值:`5`.
|
|
557
556
|
|
|
558
|
-
|
|
559
|
-
|
|
557
|
+
- optionFilterProp (a value equal to: 'value', 'label'; optional):
|
|
558
|
+
适用于`'select'`模式,选择框内搜索对应的目标字段,可选项有`'value'`、`'label'`
|
|
559
|
+
默认值:`'value'`.
|
|
560
560
|
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
默认值:`'value'`.
|
|
561
|
+
- allowClear (boolean; optional):
|
|
562
|
+
适用于`'select'`模式,是否允许快捷清空已选项 默认值:`True`.
|
|
564
563
|
|
|
565
|
-
|
|
566
|
-
|
|
564
|
+
- showSearch (boolean; optional):
|
|
565
|
+
适用于`'select'`模式,是否开启输入框可搜索功能. | dict
|
|
567
566
|
|
|
568
|
-
-
|
|
569
|
-
|
|
567
|
+
- bordered (boolean; default False):
|
|
568
|
+
是否渲染框线 默认值:`False`.
|
|
570
569
|
|
|
571
|
-
-
|
|
572
|
-
|
|
570
|
+
- maxHeight (number | string; optional):
|
|
571
|
+
表格最大像素高度,当实际表格高度超出限制时,会自动渲染竖直滚动条.
|
|
573
572
|
|
|
574
|
-
-
|
|
575
|
-
|
|
573
|
+
- maxWidth (number | string | boolean; optional):
|
|
574
|
+
表格最大宽度,当实际表格宽度超出限制时,会自动渲染水平滚动条.
|
|
576
575
|
|
|
577
|
-
-
|
|
578
|
-
|
|
576
|
+
- scrollToFirstRowOnChange (boolean; default True):
|
|
577
|
+
当分页、排序、筛选操作触发表格变化后,是否滚动到表格顶部 默认值:`True`.
|
|
579
578
|
|
|
580
|
-
-
|
|
581
|
-
|
|
579
|
+
- size (a value equal to: 'small', 'middle', 'large'; default 'middle'):
|
|
580
|
+
表格单元格尺寸规格,可选项有`'small'`、`'middle'`、`'large'`.
|
|
582
581
|
|
|
583
|
-
-
|
|
584
|
-
|
|
582
|
+
- rowSelectionType (a value equal to: 'checkbox', 'radio'; optional):
|
|
583
|
+
行选择模式,可选项有`'checkbox'`(多选)、`'radio'`(单选),默认不开启行选择功能.
|
|
585
584
|
|
|
586
|
-
-
|
|
587
|
-
|
|
585
|
+
- selectedRowKeys (list of string | numbers; optional):
|
|
586
|
+
监听已选行对应`key`值.
|
|
588
587
|
|
|
589
|
-
-
|
|
590
|
-
|
|
588
|
+
- selectedRows (list; optional):
|
|
589
|
+
监听已选行记录.
|
|
591
590
|
|
|
592
|
-
-
|
|
593
|
-
|
|
591
|
+
- rowSelectionWidth (string | number; default 32):
|
|
592
|
+
行选择控件所在列宽度 默认值:`32`.
|
|
594
593
|
|
|
595
|
-
-
|
|
596
|
-
|
|
594
|
+
- rowSelectionCheckStrictly (boolean; optional):
|
|
595
|
+
针对嵌套行,各行与其所嵌套的内部行之间的行选择行为是否互相独立 默认值:`True`.
|
|
597
596
|
|
|
598
|
-
-
|
|
599
|
-
|
|
597
|
+
- rowSelectionIgnoreRowKeys (list of string | numbers; optional):
|
|
598
|
+
指定不可被选中的行对应`key`值.
|
|
600
599
|
|
|
601
|
-
-
|
|
602
|
-
|
|
600
|
+
- selectedRowsSyncWithData (boolean; default False):
|
|
601
|
+
当表格数据源`data`更新时,是否根据当前有效的`selectedRowKeys`参数对`selectedRows`中的数据进行同步更新
|
|
602
|
+
默认值:`False`.
|
|
603
603
|
|
|
604
|
-
-
|
|
605
|
-
|
|
606
|
-
默认值:`False`.
|
|
604
|
+
- sticky (dict; default False):
|
|
605
|
+
配置粘性表头相关功能 默认值:`False`.
|
|
607
606
|
|
|
608
|
-
|
|
609
|
-
配置粘性表头相关功能 默认值:`False`.
|
|
607
|
+
`sticky` is a boolean | dict with keys:
|
|
610
608
|
|
|
611
|
-
|
|
609
|
+
- belowSelector (string | list of strings; optional):
|
|
610
|
+
粘性表头附着目标元素对应的选择器规则字符串,设置后,粘性表头激活后将附着在目标元素下方.
|
|
612
611
|
|
|
613
|
-
|
|
614
|
-
|
|
612
|
+
- offsetHeader (number; optional):
|
|
613
|
+
粘性表头竖直方向上的像素偏移量.
|
|
615
614
|
|
|
616
|
-
|
|
617
|
-
|
|
615
|
+
- offsetScroll (number; optional):
|
|
616
|
+
粘性表头底部横向滚动条竖直方向上的像素偏移量.
|
|
618
617
|
|
|
619
|
-
-
|
|
620
|
-
|
|
618
|
+
- enableHoverListen (boolean; default False):
|
|
619
|
+
是否启用行鼠标移入/移出事件监听,开启后可能会影响到部分其他功能,请根据实际情况进行使用 默认值:`False`.
|
|
621
620
|
|
|
622
|
-
-
|
|
623
|
-
|
|
621
|
+
- recentlyMouseEnterColumnDataIndex (string; optional):
|
|
622
|
+
当`enableHoverListen=True`时,监听最近一次鼠标移入的字段对应`dataIndex`信息.
|
|
624
623
|
|
|
625
|
-
-
|
|
626
|
-
|
|
624
|
+
- recentlyMouseEnterRowKey (string | number; optional):
|
|
625
|
+
当`enableHoverListen=True`时,监听最近一次鼠标移入的行对应`key`信息.
|
|
627
626
|
|
|
628
|
-
-
|
|
629
|
-
|
|
627
|
+
- recentlyMouseEnterRow (dict; optional):
|
|
628
|
+
当`enableHoverListen=True`时,监听最近一次鼠标移入的行数据信息.
|
|
630
629
|
|
|
631
|
-
-
|
|
632
|
-
|
|
630
|
+
- titlePopoverInfo (dict; optional):
|
|
631
|
+
配置各字段标题额外气泡说明卡片信息相关参数.
|
|
633
632
|
|
|
634
|
-
|
|
635
|
-
|
|
633
|
+
`titlePopoverInfo` is a dict with strings as keys and values of
|
|
634
|
+
type dict with keys:
|
|
636
635
|
|
|
637
|
-
|
|
638
|
-
|
|
636
|
+
- title (string; optional):
|
|
637
|
+
气泡卡片标题,支持字符串或组件型.
|
|
639
638
|
|
|
640
|
-
|
|
641
|
-
|
|
639
|
+
- content (string; optional):
|
|
640
|
+
气泡卡片内容,支持字符串或组件型.
|
|
642
641
|
|
|
643
|
-
|
|
644
|
-
|
|
642
|
+
- placement (a value equal to: 'top', 'left', 'right', 'bottom', 'topLeft', 'topRight', 'bottomLeft', 'bottomRight', 'leftTop', 'leftBottom', 'rightTop', 'rightBottom'; optional):
|
|
643
|
+
气泡卡片弹出方位,可选项有`'top'`、`'left'`、`'right'`、`'bottom'`、`'topLeft'`、`'topRight'`、`'bottomLeft'`、`'bottomRight'`、`'leftTop'`、`'leftBottom'`、`'rightTop'`、`'rightBottom'`
|
|
644
|
+
默认值:`'bottom'`.
|
|
645
645
|
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
默认值:`'bottom'`.
|
|
646
|
+
- overlayStyle (dict; optional):
|
|
647
|
+
气泡卡片展开层css样式.
|
|
649
648
|
|
|
650
|
-
-
|
|
651
|
-
|
|
649
|
+
- columnsFormatConstraint (dict; optional):
|
|
650
|
+
针对开启了可编辑模式的字段,配置基于正则表达式的输入内容格式校验约束规则.
|
|
652
651
|
|
|
653
|
-
|
|
654
|
-
|
|
652
|
+
`columnsFormatConstraint` is a dict with strings as keys and
|
|
653
|
+
values of type dict with keys:
|
|
655
654
|
|
|
656
|
-
|
|
657
|
-
|
|
655
|
+
- rule (string; optional):
|
|
656
|
+
正则表达式,用于校验输入内容是否符合格式要求.
|
|
658
657
|
|
|
659
|
-
|
|
660
|
-
|
|
658
|
+
- content (string; optional):
|
|
659
|
+
用户输入内容校验失败时的提示说明信息.
|
|
661
660
|
|
|
662
|
-
-
|
|
663
|
-
|
|
661
|
+
- sortOptions (dict; optional):
|
|
662
|
+
配置表格字段排序相关功能.
|
|
664
663
|
|
|
665
|
-
|
|
666
|
-
配置表格字段排序相关功能.
|
|
664
|
+
`sortOptions` is a dict with keys:
|
|
667
665
|
|
|
668
|
-
|
|
666
|
+
- sortDataIndexes (list of strings; optional):
|
|
667
|
+
参与排序的若干字段`dataIndex`数组,多字段组合排序时,数组顺序即为组合排序优先级顺序,由高到低.
|
|
669
668
|
|
|
670
|
-
|
|
671
|
-
|
|
669
|
+
- multiple (boolean | a value equal to: 'auto'; optional):
|
|
670
|
+
是否启用多字段组合排序,当设置为`'auto'`时表示自动组合排序,此时组合排序的字段优先级顺序与用户依次点击排序字段的顺序对应
|
|
671
|
+
默认值:`False``.
|
|
672
672
|
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
默认值:`False``.
|
|
673
|
+
- forceCompareModes (dict with strings as keys and values of type a value equal to: 'number', 'custom'; optional):
|
|
674
|
+
为各字段指定排序比较模式,可选项有`'number'`(强制数值型排序)、`'custom'`(自定义排序).
|
|
676
675
|
|
|
677
|
-
|
|
678
|
-
|
|
676
|
+
- customOrders (dict with strings as keys and values of type list; optional):
|
|
677
|
+
当`forceCompareModes`为`'custom'`时,用于为相应字段设置自定义排序对应的元素顺序.
|
|
679
678
|
|
|
680
|
-
-
|
|
681
|
-
|
|
679
|
+
- showSorterTooltip (boolean; default True):
|
|
680
|
+
针对可排序字段是否在鼠标移入表头后展示额外信息提示 默认值:`True`.
|
|
682
681
|
|
|
683
|
-
-
|
|
684
|
-
|
|
682
|
+
- showSorterTooltipTarget (a value equal to: 'full-header', 'sorter-icon'; default 'full-header'):
|
|
683
|
+
控制可排序字段表头额外信息提示的鼠标移入触发目标,可选项有`'full-header'`、`'sorter-icon'`
|
|
684
|
+
默认值:`'full-header'`.
|
|
685
685
|
|
|
686
|
-
-
|
|
687
|
-
|
|
688
|
-
默认值:`'full-header'`.
|
|
686
|
+
- filterOptions (dict; optional):
|
|
687
|
+
配置表格字段筛选相关功能.
|
|
689
688
|
|
|
690
|
-
|
|
691
|
-
|
|
689
|
+
`filterOptions` is a dict with strings as keys and values of type
|
|
690
|
+
dict with keys:
|
|
692
691
|
|
|
693
|
-
|
|
694
|
-
|
|
692
|
+
- filterMode (a value equal to: 'checkbox', 'keyword', 'tree'; optional):
|
|
693
|
+
筛选模式,可选项有`'checkbox'`、`'keyword'`、`'tree'`,其中`'tree'`模式需要依赖相应的`'filterCustomTreeItems'`参数进行自定义树形菜单结构的构造
|
|
694
|
+
默认值:`'checkbox'`.
|
|
695
695
|
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
默认值:`'checkbox'`.
|
|
696
|
+
- filterCustomItems (list | boolean | number | string | dict | list; optional):
|
|
697
|
+
`filterMode`为`'checkbox'`时,用于自定义筛选菜单项.
|
|
699
698
|
|
|
700
|
-
|
|
701
|
-
|
|
699
|
+
- filterCustomTreeItems (list of dicts; optional):
|
|
700
|
+
`filterMode`为`'tree'`时,用于构造自定义树形菜单结构.
|
|
702
701
|
|
|
703
|
-
|
|
704
|
-
|
|
702
|
+
- filterMultiple (boolean; optional):
|
|
703
|
+
`filterMode`为`'checkbox'`时,是否开启多选模式 默认值:`True`.
|
|
705
704
|
|
|
706
|
-
|
|
707
|
-
|
|
705
|
+
- filterSearch (boolean; optional):
|
|
706
|
+
`filterMode`为`'checkbox'`时,是否开启搜索框 默认值:`False`.
|
|
708
707
|
|
|
709
|
-
-
|
|
710
|
-
|
|
708
|
+
- defaultFilteredValues (dict with strings as keys and values of type list; optional):
|
|
709
|
+
字段筛选相关字段默认选中的筛选值.
|
|
711
710
|
|
|
712
|
-
-
|
|
713
|
-
|
|
711
|
+
- pagination (dict; optional):
|
|
712
|
+
配置表格翻页相关功能,设置为`False`时将关闭分页相关功能.
|
|
714
713
|
|
|
715
|
-
|
|
716
|
-
配置表格翻页相关功能,设置为`False`时将关闭分页相关功能.
|
|
714
|
+
`pagination` is a dict with keys:
|
|
717
715
|
|
|
718
|
-
|
|
716
|
+
- position (a value equal to: 'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'; optional):
|
|
717
|
+
分页组件渲染方位,可选项有`'topLeft'`、`'topCenter'`、`'topRight'`、`'bottomLeft'`、`'bottomCenter'`、`'bottomRight'`
|
|
718
|
+
默认值:`'bottomRight'`.
|
|
719
719
|
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
默认值:`'bottomRight'`.
|
|
720
|
+
- pageSize (number; optional):
|
|
721
|
+
监听或设置每页允许显示的最大行记录数量.
|
|
723
722
|
|
|
724
|
-
|
|
725
|
-
|
|
723
|
+
- current (number; optional):
|
|
724
|
+
监听或设置当前页码.
|
|
726
725
|
|
|
727
|
-
|
|
728
|
-
|
|
726
|
+
- showSizeChanger (boolean; optional):
|
|
727
|
+
是否显示`pageSize`切换控件,当表格总记录数量大于50时默认为`True`.
|
|
729
728
|
|
|
730
|
-
|
|
731
|
-
|
|
729
|
+
- pageSizeOptions (list of numbers; optional):
|
|
730
|
+
`pageSize`切换控件的可选项.
|
|
732
731
|
|
|
733
|
-
|
|
734
|
-
|
|
732
|
+
- showTitle (boolean; optional):
|
|
733
|
+
各页码在鼠标移入时,是否显示浏览器原生提示信息 默认值:`True`.
|
|
735
734
|
|
|
736
|
-
|
|
737
|
-
|
|
735
|
+
- showQuickJumper (boolean; optional):
|
|
736
|
+
是否渲染快捷跳页控件 默认值:`False`.
|
|
738
737
|
|
|
739
|
-
|
|
740
|
-
|
|
738
|
+
- showTotalPrefix (string; optional):
|
|
739
|
+
总记录描述文案前缀文字.
|
|
741
740
|
|
|
742
|
-
|
|
743
|
-
|
|
741
|
+
- showTotalSuffix (string; optional):
|
|
742
|
+
总记录描述文案后缀文字.
|
|
744
743
|
|
|
745
|
-
|
|
746
|
-
|
|
744
|
+
- hideOnSinglePage (boolean; optional):
|
|
745
|
+
是否在数据行数量不足一页时,自动隐藏分页相关控件 默认值:`False`.
|
|
747
746
|
|
|
748
|
-
|
|
749
|
-
|
|
747
|
+
- simple (boolean; optional):
|
|
748
|
+
是否开启简洁模式 默认值:`False`.
|
|
750
749
|
|
|
751
|
-
|
|
752
|
-
|
|
750
|
+
- disabled (boolean; optional):
|
|
751
|
+
是否禁用分页相关控件 默认值:`False`.
|
|
753
752
|
|
|
754
|
-
|
|
755
|
-
|
|
753
|
+
- size (a value equal to: 'default', 'small'; optional):
|
|
754
|
+
分页控件尺寸规格,可选项有`'small'`、`'default'` 默认值:`'default'`.
|
|
756
755
|
|
|
757
|
-
|
|
758
|
-
|
|
756
|
+
- total (number; optional):
|
|
757
|
+
手动设置总记录数量,通常配合[服务端数据加载模式](/AntdTable-server-side-mode)使用.
|
|
759
758
|
|
|
760
|
-
|
|
761
|
-
|
|
759
|
+
- showLessItems (boolean; optional):
|
|
760
|
+
是否优先展示较少的跳页项 默认值:`False`. | boolean
|
|
762
761
|
|
|
763
|
-
-
|
|
764
|
-
|
|
762
|
+
- currentData (list; optional):
|
|
763
|
+
监听经过编辑修改操作后,最新状态下的表格数据源.
|
|
765
764
|
|
|
766
|
-
-
|
|
767
|
-
|
|
765
|
+
- recentlyChangedRow (dict; optional):
|
|
766
|
+
监听最近一次编辑修改操作,对应的被修改行记录数据.
|
|
768
767
|
|
|
769
|
-
-
|
|
770
|
-
|
|
768
|
+
- recentlyChangedColumn (string; optional):
|
|
769
|
+
监听最近一次编辑修改操作,对应的被修改字段`dataIndex`信息.
|
|
771
770
|
|
|
772
|
-
-
|
|
773
|
-
|
|
771
|
+
- sorter (dict; optional):
|
|
772
|
+
监听排序操作相关行为参数.
|
|
774
773
|
|
|
775
|
-
|
|
776
|
-
监听排序操作相关行为参数.
|
|
774
|
+
`sorter` is a dict with keys:
|
|
777
775
|
|
|
778
|
-
|
|
776
|
+
- columns (list of strings; optional):
|
|
777
|
+
监听排序涉及的字段`dataIndex`信息.
|
|
779
778
|
|
|
780
|
-
|
|
781
|
-
|
|
779
|
+
- orders (list of a value equal to: 'ascend', 'descend's; optional):
|
|
780
|
+
监听排序涉及的字段对应排序方式,其中`'ascend'`表示升序,`'descend'`表示降序.
|
|
782
781
|
|
|
783
|
-
-
|
|
784
|
-
|
|
782
|
+
- filter (dict; optional):
|
|
783
|
+
监听筛选操作相关行为参数.
|
|
785
784
|
|
|
786
|
-
-
|
|
787
|
-
|
|
785
|
+
- mode (a value equal to: 'client-side', 'server-side'; default 'client-side'):
|
|
786
|
+
表格数据加载控制方式,可选项有`'client-side'`(客户端加载)、`'server-side'`(服务端),其中服务端模式适用于大量数据展示需求,具体请参考[服务端数据加载模式](/AntdTable-server-side-mode)
|
|
787
|
+
默认值:`'client-side'`.
|
|
788
788
|
|
|
789
|
-
-
|
|
790
|
-
|
|
791
|
-
默认值:`'client-side'`.
|
|
789
|
+
- summaryRowContents (list of dicts; optional):
|
|
790
|
+
配置总结栏内容,按数组顺序渲染.
|
|
792
791
|
|
|
793
|
-
|
|
794
|
-
配置总结栏内容,按数组顺序渲染.
|
|
792
|
+
`summaryRowContents` is a list of dicts with keys:
|
|
795
793
|
|
|
796
|
-
|
|
794
|
+
- content (a list of or a singular dash component, string or number; optional):
|
|
795
|
+
组件型,当前总结栏单元格内容.
|
|
797
796
|
|
|
798
|
-
|
|
799
|
-
|
|
797
|
+
- colSpan (number; optional):
|
|
798
|
+
当前总结栏单元格横跨占据的字段数量 默认值:`1`.
|
|
800
799
|
|
|
801
|
-
|
|
802
|
-
|
|
800
|
+
- align (a value equal to: 'left', 'center', 'right'; optional):
|
|
801
|
+
当前总结栏列对齐方式,可选项有`'left'`、`'center'`、`'right'`.
|
|
803
802
|
|
|
804
|
-
-
|
|
805
|
-
|
|
803
|
+
- summaryRowBlankColumns (number; default 0):
|
|
804
|
+
总结栏每行用于占位的列数,适用于同时使用行选择等功能的场景 默认值:`0`.
|
|
806
805
|
|
|
807
|
-
-
|
|
808
|
-
|
|
806
|
+
- summaryRowFixed (boolean | a value equal to: 'top', 'bottom'; default False):
|
|
807
|
+
总结栏是否启用固定布局功能,也可设置为`'top'`、`'bottom'`控制总结栏固定在顶部或底部 默认值:`False`.
|
|
809
808
|
|
|
810
|
-
-
|
|
811
|
-
|
|
809
|
+
- conditionalStyleFuncs (dict with strings as keys and values of type string; optional):
|
|
810
|
+
配置各字段条件格式化渲染对应的`javascript`函数字符串.
|
|
812
811
|
|
|
813
|
-
-
|
|
814
|
-
|
|
812
|
+
- expandedRowKeyToContent (list of dicts; optional):
|
|
813
|
+
配置各数据行的行展开内容,键为数据行`key`值,值为对应行的展开内容.
|
|
815
814
|
|
|
816
|
-
|
|
817
|
-
配置各数据行的行展开内容,键为数据行`key`值,值为对应行的展开内容.
|
|
815
|
+
`expandedRowKeyToContent` is a list of dicts with keys:
|
|
818
816
|
|
|
819
|
-
|
|
817
|
+
- key (string | number; required)
|
|
820
818
|
|
|
821
|
-
|
|
819
|
+
- content (a list of or a singular dash component, string or number; optional)
|
|
822
820
|
|
|
823
|
-
-
|
|
821
|
+
- expandedRowWidth (string | number; optional):
|
|
822
|
+
行展开控件所在列宽度.
|
|
824
823
|
|
|
825
|
-
-
|
|
826
|
-
|
|
824
|
+
- expandRowByClick (boolean; default False):
|
|
825
|
+
是否允许通过直接点击行的方式展开对应行 默认值:`False`.
|
|
827
826
|
|
|
828
|
-
-
|
|
829
|
-
|
|
827
|
+
- defaultExpandedRowKeys (list of strings; optional):
|
|
828
|
+
初始化处于展开状态的行对应`key`值.
|
|
830
829
|
|
|
831
|
-
-
|
|
832
|
-
|
|
830
|
+
- expandedRowKeys (list of strings; optional):
|
|
831
|
+
监听或设置处于展开状态的行对应`key`值.
|
|
833
832
|
|
|
834
|
-
-
|
|
835
|
-
|
|
833
|
+
- enableCellClickListenColumns (list of strings; optional):
|
|
834
|
+
是否启用单元格单击、双击、右键相关事件的监听,开启后可能会影响到部分其他功能,请根据实际情况进行使用 默认值:`False`.
|
|
836
835
|
|
|
837
|
-
-
|
|
838
|
-
|
|
836
|
+
- recentlyCellClickColumn (string; optional):
|
|
837
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格单击事件对应的字段`dataIndex`.
|
|
839
838
|
|
|
840
|
-
-
|
|
841
|
-
|
|
839
|
+
- recentlyCellClickRecord (dict; optional):
|
|
840
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格单击事件对应的行记录信息.
|
|
842
841
|
|
|
843
|
-
-
|
|
844
|
-
|
|
842
|
+
- nClicksCell (number; default 0):
|
|
843
|
+
当`enableCellClickListenColumns=True`时,监听表格单元格单击事件累计发生次数 默认值:`0`.
|
|
845
844
|
|
|
846
|
-
-
|
|
847
|
-
|
|
845
|
+
- cellClickEvent (dict; optional):
|
|
846
|
+
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格单击事件详细参数.
|
|
848
847
|
|
|
849
|
-
|
|
850
|
-
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格单击事件详细参数.
|
|
848
|
+
`cellClickEvent` is a dict with keys:
|
|
851
849
|
|
|
852
|
-
|
|
850
|
+
- pageX (number; optional):
|
|
851
|
+
以页面整体左上角为原点,记录x坐标.
|
|
853
852
|
|
|
854
|
-
|
|
855
|
-
|
|
853
|
+
- pageY (number; optional):
|
|
854
|
+
以页面整体左上角为原点,记录y坐标.
|
|
856
855
|
|
|
857
|
-
|
|
858
|
-
|
|
856
|
+
- clientX (number; optional):
|
|
857
|
+
以浏览器窗口左上角为原点,记录x坐标.
|
|
859
858
|
|
|
860
|
-
|
|
861
|
-
|
|
859
|
+
- clientY (number; optional):
|
|
860
|
+
以浏览器窗口左上角为原点,记录y坐标.
|
|
862
861
|
|
|
863
|
-
|
|
864
|
-
|
|
862
|
+
- screenX (number; optional):
|
|
863
|
+
以屏幕左上角为原点,记录x坐标.
|
|
865
864
|
|
|
866
|
-
|
|
867
|
-
|
|
865
|
+
- screenY (number; optional):
|
|
866
|
+
以屏幕左上角为原点,记录y坐标.
|
|
868
867
|
|
|
869
|
-
|
|
870
|
-
|
|
868
|
+
- timestamp (number; optional):
|
|
869
|
+
事件对应的时间戳.
|
|
871
870
|
|
|
872
|
-
-
|
|
873
|
-
|
|
871
|
+
- recentlyCellDoubleClickColumn (string; optional):
|
|
872
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格双击事件对应的字段`dataIndex`.
|
|
874
873
|
|
|
875
|
-
-
|
|
876
|
-
|
|
874
|
+
- recentlyCellDoubleClickRecord (dict; optional):
|
|
875
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格双击事件对应的行记录信息.
|
|
877
876
|
|
|
878
|
-
-
|
|
879
|
-
|
|
877
|
+
- nDoubleClicksCell (number; default 0):
|
|
878
|
+
当`enableCellClickListenColumns=True`时,监听表格单元格双击事件累计发生次数 默认值:`0`.
|
|
880
879
|
|
|
881
|
-
-
|
|
882
|
-
|
|
880
|
+
- cellDoubleClickEvent (dict; optional):
|
|
881
|
+
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格双击事件详细参数.
|
|
883
882
|
|
|
884
|
-
|
|
885
|
-
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格双击事件详细参数.
|
|
883
|
+
`cellDoubleClickEvent` is a dict with keys:
|
|
886
884
|
|
|
887
|
-
|
|
885
|
+
- pageX (number; optional):
|
|
886
|
+
以页面整体左上角为原点,记录x坐标.
|
|
888
887
|
|
|
889
|
-
|
|
890
|
-
|
|
888
|
+
- pageY (number; optional):
|
|
889
|
+
以页面整体左上角为原点,记录y坐标.
|
|
891
890
|
|
|
892
|
-
|
|
893
|
-
|
|
891
|
+
- clientX (number; optional):
|
|
892
|
+
以浏览器窗口左上角为原点,记录x坐标.
|
|
894
893
|
|
|
895
|
-
|
|
896
|
-
|
|
894
|
+
- clientY (number; optional):
|
|
895
|
+
以浏览器窗口左上角为原点,记录y坐标.
|
|
897
896
|
|
|
898
|
-
|
|
899
|
-
|
|
897
|
+
- screenX (number; optional):
|
|
898
|
+
以屏幕左上角为原点,记录x坐标.
|
|
900
899
|
|
|
901
|
-
|
|
902
|
-
|
|
900
|
+
- screenY (number; optional):
|
|
901
|
+
以屏幕左上角为原点,记录y坐标.
|
|
903
902
|
|
|
904
|
-
|
|
905
|
-
|
|
903
|
+
- timestamp (number; optional):
|
|
904
|
+
事件对应的时间戳.
|
|
906
905
|
|
|
907
|
-
-
|
|
908
|
-
|
|
906
|
+
- recentlyContextMenuClickColumn (string; optional):
|
|
907
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格右键事件对应的字段`dataIndex`.
|
|
909
908
|
|
|
910
|
-
-
|
|
911
|
-
|
|
909
|
+
- recentlyContextMenuClickRecord (dict; optional):
|
|
910
|
+
当`enableCellClickListenColumns=True`时,监听最近一次单元格右键事件对应的行记录信息.
|
|
912
911
|
|
|
913
|
-
-
|
|
914
|
-
|
|
912
|
+
- nContextMenuClicksCell (number; default 0):
|
|
913
|
+
当`enableCellClickListenColumns=True`时,监听表格单元格右键事件累计发生次数 默认值:`0`.
|
|
915
914
|
|
|
916
|
-
-
|
|
917
|
-
|
|
915
|
+
- cellContextMenuClickEvent (dict; optional):
|
|
916
|
+
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格右键事件详细参数.
|
|
918
917
|
|
|
919
|
-
|
|
920
|
-
当`enableCellClickListenColumns=True`时,监听最近一次表格单元格右键事件详细参数.
|
|
918
|
+
`cellContextMenuClickEvent` is a dict with keys:
|
|
921
919
|
|
|
922
|
-
|
|
920
|
+
- pageX (number; optional):
|
|
921
|
+
以页面整体左上角为原点,记录x坐标.
|
|
923
922
|
|
|
924
|
-
|
|
925
|
-
|
|
923
|
+
- pageY (number; optional):
|
|
924
|
+
以页面整体左上角为原点,记录y坐标.
|
|
926
925
|
|
|
927
|
-
|
|
928
|
-
|
|
926
|
+
- clientX (number; optional):
|
|
927
|
+
以浏览器窗口左上角为原点,记录x坐标.
|
|
929
928
|
|
|
930
|
-
|
|
931
|
-
|
|
929
|
+
- clientY (number; optional):
|
|
930
|
+
以浏览器窗口左上角为原点,记录y坐标.
|
|
932
931
|
|
|
933
|
-
|
|
934
|
-
|
|
932
|
+
- screenX (number; optional):
|
|
933
|
+
以屏幕左上角为原点,记录x坐标.
|
|
935
934
|
|
|
936
|
-
|
|
937
|
-
|
|
935
|
+
- screenY (number; optional):
|
|
936
|
+
以屏幕左上角为原点,记录y坐标.
|
|
938
937
|
|
|
939
|
-
|
|
940
|
-
|
|
938
|
+
- timestamp (number; optional):
|
|
939
|
+
事件对应的时间戳.
|
|
941
940
|
|
|
942
|
-
-
|
|
943
|
-
|
|
941
|
+
- emptyContent (a list of or a singular dash component, string or number; optional):
|
|
942
|
+
组件型,自定义空数据状态下,表格内的显示内容.
|
|
944
943
|
|
|
945
|
-
-
|
|
946
|
-
|
|
944
|
+
- cellUpdateOptimize (boolean; default False):
|
|
945
|
+
是否严格启用单元格内容渲染优化,开启后,会基于单元格数据对单元格内容进行渲染优化,减少渲染次数 默认值:`False`.
|
|
947
946
|
|
|
948
|
-
-
|
|
949
|
-
|
|
947
|
+
- miniChartHeight (number; default 30):
|
|
948
|
+
针对再渲染模式中的各迷你图模式,统一设置相关单元格像素高度 默认值:`30`.
|
|
950
949
|
|
|
951
|
-
-
|
|
952
|
-
|
|
950
|
+
- miniChartAnimation (boolean; default False):
|
|
951
|
+
针对再渲染模式中的各迷你图模式,是否启用出场动画 默认值:`False`.
|
|
953
952
|
|
|
954
|
-
-
|
|
955
|
-
|
|
953
|
+
- recentlyButtonClickedRow (dict; optional):
|
|
954
|
+
针对再渲染模式中的`'button'`模式,监听最近一次按钮点击对应的行记录信息.
|
|
956
955
|
|
|
957
|
-
-
|
|
958
|
-
|
|
956
|
+
- nClicksButton (number; default 0):
|
|
957
|
+
针对再渲染模式中的`'button'`模式,监听表格中按钮点击累计次数 默认值:`0`.
|
|
959
958
|
|
|
960
|
-
-
|
|
961
|
-
|
|
959
|
+
- clickedContent (string; optional):
|
|
960
|
+
针对再渲染模式中的`'button'`模式,监听最近一次按钮点击对应的按钮文字内容.
|
|
962
961
|
|
|
963
|
-
-
|
|
964
|
-
|
|
962
|
+
- clickedCustom (boolean | number | string | dict | list; optional):
|
|
963
|
+
针对再渲染模式中的`'button'`模式,监听最近一次按钮点击对应的按钮数据项对应`'custom'`字段内容.
|
|
965
964
|
|
|
966
|
-
-
|
|
967
|
-
|
|
965
|
+
- recentlyButtonClickedDataIndex (string; optional):
|
|
966
|
+
针对再渲染模式中的`'button'`模式,监听最近一次按钮点击对应的字段`dataIndex`.
|
|
968
967
|
|
|
969
|
-
-
|
|
970
|
-
|
|
968
|
+
- customFormatFuncs (dict with strings as keys and values of type string; optional):
|
|
969
|
+
针对再渲染模式中的`'custom-format'`模式,键为对应字段`dataIndex`信息,值为对应的预处理`javascript`函数字符串.
|
|
971
970
|
|
|
972
|
-
-
|
|
973
|
-
|
|
971
|
+
- recentlyCheckedRow (dict; optional):
|
|
972
|
+
针对再渲染模式中的`'checkbox'`模式,监听最近发生勾选事件的记录行.
|
|
974
973
|
|
|
975
|
-
-
|
|
976
|
-
|
|
974
|
+
- recentlyCheckedLabel (string; optional):
|
|
975
|
+
针对再渲染模式中的`'checkbox'`模式,监听最近发生勾选事件的勾选框标签内容.
|
|
977
976
|
|
|
978
|
-
-
|
|
979
|
-
|
|
977
|
+
- recentlyCheckedDataIndex (string; optional):
|
|
978
|
+
针对再渲染模式中的`'checkbox'`模式,监听最近发生勾选事件的字段`dataIndex`信息.
|
|
980
979
|
|
|
981
|
-
-
|
|
982
|
-
|
|
980
|
+
- recentlyCheckedStatus (boolean; optional):
|
|
981
|
+
针对再渲染模式中的`'checkbox'`模式,监听最近发生勾选事件对应的勾选状态.
|
|
983
982
|
|
|
984
|
-
-
|
|
985
|
-
|
|
983
|
+
- recentlySwitchRow (dict; optional):
|
|
984
|
+
针对再渲染模式中的`'switch'`模式,监听最近发生开关切换事件的记录行.
|
|
986
985
|
|
|
987
|
-
-
|
|
988
|
-
|
|
986
|
+
- recentlySwitchDataIndex (string; optional):
|
|
987
|
+
针对再渲染模式中的`'switch'`模式,监听最近发生开关切换事件对应的开关状态.
|
|
989
988
|
|
|
990
|
-
-
|
|
991
|
-
|
|
989
|
+
- recentlySwitchStatus (boolean; optional):
|
|
990
|
+
针对再渲染模式中的`'switch'`模式,监听最近发生开关切换事件对应的开关状态.
|
|
992
991
|
|
|
993
|
-
-
|
|
994
|
-
|
|
992
|
+
- nClicksDropdownItem (number; default 0):
|
|
993
|
+
针对再渲染模式中的`'dropdown'`模式,监听表格中各下拉菜单项累计点击次数.
|
|
995
994
|
|
|
996
|
-
-
|
|
997
|
-
|
|
995
|
+
- recentlyClickedDropdownItemTitle (string; optional):
|
|
996
|
+
针对再渲染模式中的`'dropdown'`模式,监听最近一次被点击的下拉菜单项`title`值.
|
|
998
997
|
|
|
999
|
-
-
|
|
1000
|
-
|
|
998
|
+
- recentlyDropdownItemClickedDataIndex (string; optional):
|
|
999
|
+
针对再渲染模式中的`'dropdown'`模式,监听最近一次被点击的下拉菜单项对应的字段dataIndex.
|
|
1001
1000
|
|
|
1002
|
-
-
|
|
1003
|
-
|
|
1001
|
+
- recentlyDropdownItemClickedRow (dict; optional):
|
|
1002
|
+
针对再渲染模式中的`'dropdown'`模式,监听最近一次被点击的下拉菜单项对应的行记录.
|
|
1004
1003
|
|
|
1005
|
-
-
|
|
1006
|
-
|
|
1004
|
+
- recentlySelectRow (dict; optional):
|
|
1005
|
+
针对再渲染模式中的`'select'`模式,监听最近发生下拉选项值更新的记录行.
|
|
1007
1006
|
|
|
1008
|
-
-
|
|
1009
|
-
|
|
1007
|
+
- recentlySelectDataIndex (string; optional):
|
|
1008
|
+
针对再渲染模式中的`'select'`模式,监听最近发生下拉选项值更新对应的字段`dataIndex`.
|
|
1010
1009
|
|
|
1011
|
-
-
|
|
1012
|
-
|
|
1010
|
+
- recentlySelectValue (number | string | list of number | strings; optional):
|
|
1011
|
+
针对再渲染模式中的`'select'`模式,监听最近发生下拉选项值更新对应的选项值.
|
|
1013
1012
|
|
|
1014
|
-
-
|
|
1015
|
-
|
|
1013
|
+
- hiddenRowKeys (list of strings; optional):
|
|
1014
|
+
需要进行隐藏的行记录`key`值数组 默认值:`[]`.
|
|
1016
1015
|
|
|
1017
|
-
-
|
|
1018
|
-
|
|
1016
|
+
- dataDeepCompare (boolean; optional):
|
|
1017
|
+
是否在表格底层进行重绘时,通过深度比较数据源`data`变化情况,来进行表格重绘优化,适用于中小数据量表格 默认值:`False`.
|
|
1019
1018
|
|
|
1020
|
-
-
|
|
1021
|
-
|
|
1019
|
+
- virtual (boolean; default False):
|
|
1020
|
+
是否开启虚拟滚动模式 默认值:`False`.
|
|
1022
1021
|
|
|
1023
|
-
-
|
|
1024
|
-
|
|
1022
|
+
- title (a list of or a singular dash component, string or number; optional):
|
|
1023
|
+
组件型,表格整体标题内容.
|
|
1025
1024
|
|
|
1026
|
-
-
|
|
1027
|
-
|
|
1025
|
+
- footer (a list of or a singular dash component, string or number; optional):
|
|
1026
|
+
组件型,表格整体页脚内容.
|
|
1028
1027
|
|
|
1029
|
-
-
|
|
1030
|
-
|
|
1028
|
+
- loading (boolean; default False):
|
|
1029
|
+
是否启用表格自带加载中状态 默认值:`False`.
|
|
1031
1030
|
|
|
1032
|
-
-
|
|
1033
|
-
|
|
1031
|
+
- rowClassName (dict; optional):
|
|
1032
|
+
表格行css类名,支持通过`func`字段定义`javascript`函数动态计算.
|
|
1034
1033
|
|
|
1035
|
-
|
|
1036
|
-
表格行css类名,支持通过`func`字段定义`javascript`函数动态计算.
|
|
1034
|
+
`rowClassName` is a string | dict with keys:
|
|
1037
1035
|
|
|
1038
|
-
|
|
1036
|
+
- func (string; optional):
|
|
1037
|
+
字符串形式的`javascript`函数.
|
|
1039
1038
|
|
|
1040
|
-
-
|
|
1041
|
-
|
|
1039
|
+
- data-* (string; optional):
|
|
1040
|
+
`data-*`格式属性通配.
|
|
1042
1041
|
|
|
1043
|
-
-
|
|
1044
|
-
|
|
1042
|
+
- aria-* (string; optional):
|
|
1043
|
+
`aria-*`格式属性通配."""
|
|
1045
1044
|
|
|
1046
|
-
|
|
1047
|
-
|
|
1048
|
-
|
|
1045
|
+
_children_props: typing.List[str] = [
|
|
1046
|
+
'columns[].title',
|
|
1047
|
+
'data[]{}',
|
|
1048
|
+
'summaryRowContents[].content',
|
|
1049
|
+
'expandedRowKeyToContent[].content',
|
|
1050
|
+
'emptyContent',
|
|
1051
|
+
'title',
|
|
1052
|
+
'footer',
|
|
1053
|
+
]
|
|
1049
1054
|
_base_nodes = ['emptyContent', 'title', 'footer', 'children']
|
|
1050
1055
|
_namespace = 'feffery_antd_components'
|
|
1051
1056
|
_type = 'AntdTable'
|
|
1052
1057
|
ColumnsRenderOptionsRenderButtonPopConfirmProps = TypedDict(
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
"title": NotRequired[str],
|
|
1056
|
-
"okText": NotRequired[str],
|
|
1057
|
-
"cancelText": NotRequired[str]
|
|
1058
|
-
}
|
|
1058
|
+
'ColumnsRenderOptionsRenderButtonPopConfirmProps',
|
|
1059
|
+
{'title': NotRequired[str], 'okText': NotRequired[str], 'cancelText': NotRequired[str]},
|
|
1059
1060
|
)
|
|
1060
1061
|
|
|
1061
1062
|
ColumnsRenderOptionsProgressPercentPosition = TypedDict(
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
}
|
|
1063
|
+
'ColumnsRenderOptionsProgressPercentPosition',
|
|
1064
|
+
{
|
|
1065
|
+
'align': NotRequired[Literal['start', 'center', 'end']],
|
|
1066
|
+
'type': NotRequired[Literal['inner', 'outer']],
|
|
1067
|
+
},
|
|
1067
1068
|
)
|
|
1068
1069
|
|
|
1069
1070
|
ColumnsRenderOptionsProgressColor = TypedDict(
|
|
1070
|
-
|
|
1071
|
-
{
|
|
1072
|
-
"from": NotRequired[str],
|
|
1073
|
-
"to": NotRequired[str]
|
|
1074
|
-
}
|
|
1071
|
+
'ColumnsRenderOptionsProgressColor', {'from': NotRequired[str], 'to': NotRequired[str]}
|
|
1075
1072
|
)
|
|
1076
1073
|
|
|
1077
1074
|
ColumnsRenderOptionsDropdownProps = TypedDict(
|
|
1078
|
-
|
|
1079
|
-
|
|
1080
|
-
|
|
1081
|
-
|
|
1082
|
-
|
|
1083
|
-
|
|
1084
|
-
|
|
1085
|
-
|
|
1086
|
-
|
|
1075
|
+
'ColumnsRenderOptionsDropdownProps',
|
|
1076
|
+
{
|
|
1077
|
+
'title': NotRequired[str],
|
|
1078
|
+
'arrow': NotRequired[bool],
|
|
1079
|
+
'disabled': NotRequired[bool],
|
|
1080
|
+
'overlayClassName': NotRequired[str],
|
|
1081
|
+
'overlayStyle': NotRequired[dict],
|
|
1082
|
+
'placement': NotRequired[
|
|
1083
|
+
Literal[
|
|
1084
|
+
'bottomLeft', 'bottomCenter', 'bottomRight', 'topLeft', 'topCenter', 'topRight'
|
|
1085
|
+
]
|
|
1086
|
+
],
|
|
1087
|
+
},
|
|
1087
1088
|
)
|
|
1088
1089
|
|
|
1089
1090
|
ColumnsRenderOptions = TypedDict(
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1091
|
+
'ColumnsRenderOptions',
|
|
1092
|
+
{
|
|
1093
|
+
'renderType': NotRequired[
|
|
1094
|
+
Literal[
|
|
1095
|
+
'link',
|
|
1096
|
+
'ellipsis',
|
|
1097
|
+
'copyable',
|
|
1098
|
+
'ellipsis-copyable',
|
|
1099
|
+
'tags',
|
|
1100
|
+
'status-badge',
|
|
1101
|
+
'image',
|
|
1102
|
+
'custom-format',
|
|
1103
|
+
'corner-mark',
|
|
1104
|
+
'row-merge',
|
|
1105
|
+
'dropdown',
|
|
1106
|
+
'dropdown-links',
|
|
1107
|
+
'image-avatar',
|
|
1108
|
+
'mini-line',
|
|
1109
|
+
'mini-bar',
|
|
1110
|
+
'mini-progress',
|
|
1111
|
+
'mini-ring-progress',
|
|
1112
|
+
'mini-area',
|
|
1113
|
+
'button',
|
|
1114
|
+
'checkbox',
|
|
1115
|
+
'switch',
|
|
1116
|
+
'select',
|
|
1117
|
+
]
|
|
1118
|
+
],
|
|
1119
|
+
'renderLinkText': NotRequired[str],
|
|
1120
|
+
'likeDccLink': NotRequired[bool],
|
|
1121
|
+
'renderButtonSplit': NotRequired[bool],
|
|
1122
|
+
'renderButtonPopConfirmProps': NotRequired[
|
|
1123
|
+
'ColumnsRenderOptionsRenderButtonPopConfirmProps'
|
|
1124
|
+
],
|
|
1125
|
+
'miniChartColor': NotRequired[str],
|
|
1126
|
+
'tooltipCustomContent': NotRequired[str],
|
|
1127
|
+
'progressOneHundredPercentColor': NotRequired[str],
|
|
1128
|
+
'progressShowPercent': NotRequired[bool],
|
|
1129
|
+
'progressPercentPrecision': NotRequired[NumberType],
|
|
1130
|
+
'progressPercentPosition': NotRequired['ColumnsRenderOptionsProgressPercentPosition'],
|
|
1131
|
+
'progressStrokeLinecap': NotRequired[Literal['square', 'round']],
|
|
1132
|
+
'progressSize': NotRequired[NumberType],
|
|
1133
|
+
'progressColor': NotRequired[typing.Union[str, 'ColumnsRenderOptionsProgressColor']],
|
|
1134
|
+
'ringProgressFontSize': NotRequired[NumberType],
|
|
1135
|
+
'dropdownProps': NotRequired['ColumnsRenderOptionsDropdownProps'],
|
|
1136
|
+
},
|
|
1109
1137
|
)
|
|
1110
1138
|
|
|
1111
1139
|
ColumnsEditOptionsAutoSize = TypedDict(
|
|
1112
|
-
|
|
1113
|
-
|
|
1114
|
-
"minRows": NotRequired[NumberType],
|
|
1115
|
-
"maxRows": NotRequired[NumberType]
|
|
1116
|
-
}
|
|
1140
|
+
'ColumnsEditOptionsAutoSize',
|
|
1141
|
+
{'minRows': NotRequired[NumberType], 'maxRows': NotRequired[NumberType]},
|
|
1117
1142
|
)
|
|
1118
1143
|
|
|
1119
1144
|
ColumnsEditOptions = TypedDict(
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
}
|
|
1145
|
+
'ColumnsEditOptions',
|
|
1146
|
+
{
|
|
1147
|
+
'mode': NotRequired[Literal['default', 'text-area']],
|
|
1148
|
+
'autoSize': NotRequired[typing.Union[bool, 'ColumnsEditOptionsAutoSize']],
|
|
1149
|
+
'maxLength': NotRequired[NumberType],
|
|
1150
|
+
'placeholder': NotRequired[str],
|
|
1151
|
+
'disabledKeys': NotRequired[typing.Sequence[str]],
|
|
1152
|
+
},
|
|
1128
1153
|
)
|
|
1129
1154
|
|
|
1130
1155
|
Columns = TypedDict(
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
}
|
|
1156
|
+
'Columns',
|
|
1157
|
+
{
|
|
1158
|
+
'title': typing.Union[typing.Any, ComponentType],
|
|
1159
|
+
'dataIndex': str,
|
|
1160
|
+
'group': NotRequired[typing.Union[str, typing.Sequence[str]]],
|
|
1161
|
+
'renderOptions': NotRequired['ColumnsRenderOptions'],
|
|
1162
|
+
'fixed': NotRequired[typing.Union[Literal['left', 'right'], bool]],
|
|
1163
|
+
'editable': NotRequired[bool],
|
|
1164
|
+
'editOptions': NotRequired['ColumnsEditOptions'],
|
|
1165
|
+
'align': NotRequired[Literal['left', 'center', 'right']],
|
|
1166
|
+
'headerAlign': NotRequired[Literal['left', 'center', 'right']],
|
|
1167
|
+
'width': NotRequired[typing.Union[NumberType, str]],
|
|
1168
|
+
'minWidth': NotRequired[typing.Union[NumberType, str]],
|
|
1169
|
+
'hidden': NotRequired[bool],
|
|
1170
|
+
'className': NotRequired[str],
|
|
1171
|
+
'defaultSortOrder': NotRequired[Literal['ascend', 'descend']],
|
|
1172
|
+
'filterResetToDefaultFilteredValue': NotRequired[bool],
|
|
1173
|
+
},
|
|
1149
1174
|
)
|
|
1150
1175
|
|
|
1151
1176
|
Data = TypedDict(
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1168
|
-
|
|
1169
|
-
|
|
1177
|
+
'Data',
|
|
1178
|
+
{
|
|
1179
|
+
'className': NotRequired[str],
|
|
1180
|
+
'style': NotRequired[dict],
|
|
1181
|
+
'options': NotRequired[typing.Sequence['DataOptions']],
|
|
1182
|
+
'listHeight': NotRequired[NumberType],
|
|
1183
|
+
'mode': NotRequired[Literal['multiple', 'tags']],
|
|
1184
|
+
'disabled': NotRequired[bool],
|
|
1185
|
+
'size': NotRequired[Literal['small', 'middle', 'large']],
|
|
1186
|
+
'bordered': NotRequired[bool],
|
|
1187
|
+
'placeholder': NotRequired[str],
|
|
1188
|
+
'placement': NotRequired[Literal['bottomLeft', 'bottomRight', 'topLeft', 'topRight']],
|
|
1189
|
+
'value': NotRequired[
|
|
1190
|
+
typing.Union[
|
|
1191
|
+
typing.Union[str, NumberType], typing.Sequence[typing.Union[str, NumberType]]
|
|
1192
|
+
]
|
|
1193
|
+
],
|
|
1194
|
+
'maxTagCount': NotRequired[typing.Union[NumberType, Literal['responsive']]],
|
|
1195
|
+
'optionFilterProp': NotRequired[Literal['value', 'label']],
|
|
1196
|
+
'allowClear': NotRequired[bool],
|
|
1197
|
+
'showSearch': NotRequired[bool],
|
|
1198
|
+
},
|
|
1170
1199
|
)
|
|
1171
1200
|
|
|
1172
1201
|
DataTooltip = TypedDict(
|
|
1173
|
-
|
|
1174
|
-
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1202
|
+
'DataTooltip',
|
|
1203
|
+
{
|
|
1204
|
+
'title': NotRequired[str],
|
|
1205
|
+
'placement': NotRequired[
|
|
1206
|
+
Literal[
|
|
1207
|
+
'top',
|
|
1208
|
+
'left',
|
|
1209
|
+
'right',
|
|
1210
|
+
'bottom',
|
|
1211
|
+
'topLeft',
|
|
1212
|
+
'topRight',
|
|
1213
|
+
'bottomLeft',
|
|
1214
|
+
'bottomRight',
|
|
1215
|
+
]
|
|
1216
|
+
],
|
|
1217
|
+
},
|
|
1178
1218
|
)
|
|
1179
1219
|
|
|
1180
1220
|
DataPopConfirmProps = TypedDict(
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
"title": NotRequired[str],
|
|
1184
|
-
"okText": NotRequired[str],
|
|
1185
|
-
"cancelText": NotRequired[str]
|
|
1186
|
-
}
|
|
1221
|
+
'DataPopConfirmProps',
|
|
1222
|
+
{'title': NotRequired[str], 'okText': NotRequired[str], 'cancelText': NotRequired[str]},
|
|
1187
1223
|
)
|
|
1188
1224
|
|
|
1189
1225
|
DataSize = TypedDict(
|
|
1190
|
-
|
|
1191
|
-
|
|
1192
|
-
|
|
1193
|
-
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
1197
|
-
|
|
1198
|
-
}
|
|
1226
|
+
'DataSize',
|
|
1227
|
+
{
|
|
1228
|
+
'xs': NotRequired[NumberType],
|
|
1229
|
+
'sm': NotRequired[NumberType],
|
|
1230
|
+
'md': NotRequired[NumberType],
|
|
1231
|
+
'lg': NotRequired[NumberType],
|
|
1232
|
+
'xl': NotRequired[NumberType],
|
|
1233
|
+
'xxl': NotRequired[NumberType],
|
|
1234
|
+
},
|
|
1199
1235
|
)
|
|
1200
1236
|
|
|
1201
1237
|
DataOptions = TypedDict(
|
|
1202
|
-
|
|
1203
|
-
|
|
1204
|
-
"label": NotRequired[str],
|
|
1205
|
-
"value": NotRequired[typing.Union[str, NumberType]]
|
|
1206
|
-
}
|
|
1238
|
+
'DataOptions',
|
|
1239
|
+
{'label': NotRequired[str], 'value': NotRequired[typing.Union[str, NumberType]]},
|
|
1207
1240
|
)
|
|
1208
1241
|
|
|
1209
1242
|
Sticky = TypedDict(
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1215
|
-
}
|
|
1243
|
+
'Sticky',
|
|
1244
|
+
{
|
|
1245
|
+
'belowSelector': NotRequired[typing.Union[str, typing.Sequence[str]]],
|
|
1246
|
+
'offsetHeader': NotRequired[NumberType],
|
|
1247
|
+
'offsetScroll': NotRequired[NumberType],
|
|
1248
|
+
},
|
|
1216
1249
|
)
|
|
1217
1250
|
|
|
1218
1251
|
TitlePopoverInfo = TypedDict(
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
|
-
|
|
1222
|
-
|
|
1223
|
-
|
|
1224
|
-
|
|
1225
|
-
|
|
1252
|
+
'TitlePopoverInfo',
|
|
1253
|
+
{
|
|
1254
|
+
'title': NotRequired[str],
|
|
1255
|
+
'content': NotRequired[str],
|
|
1256
|
+
'placement': NotRequired[
|
|
1257
|
+
Literal[
|
|
1258
|
+
'top',
|
|
1259
|
+
'left',
|
|
1260
|
+
'right',
|
|
1261
|
+
'bottom',
|
|
1262
|
+
'topLeft',
|
|
1263
|
+
'topRight',
|
|
1264
|
+
'bottomLeft',
|
|
1265
|
+
'bottomRight',
|
|
1266
|
+
'leftTop',
|
|
1267
|
+
'leftBottom',
|
|
1268
|
+
'rightTop',
|
|
1269
|
+
'rightBottom',
|
|
1270
|
+
]
|
|
1271
|
+
],
|
|
1272
|
+
'overlayStyle': NotRequired[dict],
|
|
1273
|
+
},
|
|
1226
1274
|
)
|
|
1227
1275
|
|
|
1228
1276
|
ColumnsFormatConstraint = TypedDict(
|
|
1229
|
-
|
|
1230
|
-
{
|
|
1231
|
-
"rule": NotRequired[str],
|
|
1232
|
-
"content": NotRequired[str]
|
|
1233
|
-
}
|
|
1277
|
+
'ColumnsFormatConstraint', {'rule': NotRequired[str], 'content': NotRequired[str]}
|
|
1234
1278
|
)
|
|
1235
1279
|
|
|
1236
1280
|
SortOptions = TypedDict(
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1281
|
+
'SortOptions',
|
|
1282
|
+
{
|
|
1283
|
+
'sortDataIndexes': NotRequired[typing.Sequence[str]],
|
|
1284
|
+
'multiple': NotRequired[typing.Union[bool, Literal['auto']]],
|
|
1285
|
+
'forceCompareModes': NotRequired[
|
|
1286
|
+
typing.Dict[typing.Union[str, float, int], Literal['number', 'custom']]
|
|
1287
|
+
],
|
|
1288
|
+
'customOrders': NotRequired[
|
|
1289
|
+
typing.Dict[typing.Union[str, float, int], typing.Sequence]
|
|
1290
|
+
],
|
|
1291
|
+
},
|
|
1244
1292
|
)
|
|
1245
1293
|
|
|
1246
1294
|
FilterOptions = TypedDict(
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
}
|
|
1295
|
+
'FilterOptions',
|
|
1296
|
+
{
|
|
1297
|
+
'filterMode': NotRequired[Literal['checkbox', 'keyword', 'tree']],
|
|
1298
|
+
'filterCustomItems': NotRequired[typing.Union[typing.Sequence[typing.Any], typing.Any]],
|
|
1299
|
+
'filterCustomTreeItems': NotRequired[typing.Sequence[dict]],
|
|
1300
|
+
'filterMultiple': NotRequired[bool],
|
|
1301
|
+
'filterSearch': NotRequired[bool],
|
|
1302
|
+
},
|
|
1255
1303
|
)
|
|
1256
1304
|
|
|
1257
1305
|
Pagination = TypedDict(
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1306
|
+
'Pagination',
|
|
1307
|
+
{
|
|
1308
|
+
'position': NotRequired[
|
|
1309
|
+
Literal[
|
|
1310
|
+
'topLeft', 'topCenter', 'topRight', 'bottomLeft', 'bottomCenter', 'bottomRight'
|
|
1311
|
+
]
|
|
1312
|
+
],
|
|
1313
|
+
'pageSize': NotRequired[NumberType],
|
|
1314
|
+
'current': NotRequired[NumberType],
|
|
1315
|
+
'showSizeChanger': NotRequired[bool],
|
|
1316
|
+
'pageSizeOptions': NotRequired[typing.Sequence[NumberType]],
|
|
1317
|
+
'showTitle': NotRequired[bool],
|
|
1318
|
+
'showQuickJumper': NotRequired[bool],
|
|
1319
|
+
'showTotalPrefix': NotRequired[str],
|
|
1320
|
+
'showTotalSuffix': NotRequired[str],
|
|
1321
|
+
'hideOnSinglePage': NotRequired[bool],
|
|
1322
|
+
'simple': NotRequired[bool],
|
|
1323
|
+
'disabled': NotRequired[bool],
|
|
1324
|
+
'size': NotRequired[Literal['default', 'small']],
|
|
1325
|
+
'total': NotRequired[NumberType],
|
|
1326
|
+
'showLessItems': NotRequired[bool],
|
|
1327
|
+
},
|
|
1276
1328
|
)
|
|
1277
1329
|
|
|
1278
1330
|
Sorter = TypedDict(
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
}
|
|
1331
|
+
'Sorter',
|
|
1332
|
+
{
|
|
1333
|
+
'columns': NotRequired[typing.Sequence[str]],
|
|
1334
|
+
'orders': NotRequired[typing.Sequence[Literal['ascend', 'descend']]],
|
|
1335
|
+
},
|
|
1284
1336
|
)
|
|
1285
1337
|
|
|
1286
1338
|
SummaryRowContents = TypedDict(
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
|
|
1292
|
-
}
|
|
1339
|
+
'SummaryRowContents',
|
|
1340
|
+
{
|
|
1341
|
+
'content': NotRequired[ComponentType],
|
|
1342
|
+
'colSpan': NotRequired[NumberType],
|
|
1343
|
+
'align': NotRequired[Literal['left', 'center', 'right']],
|
|
1344
|
+
},
|
|
1293
1345
|
)
|
|
1294
1346
|
|
|
1295
1347
|
ExpandedRowKeyToContent = TypedDict(
|
|
1296
|
-
|
|
1297
|
-
|
|
1298
|
-
"key": typing.Union[str, NumberType],
|
|
1299
|
-
"content": NotRequired[ComponentType]
|
|
1300
|
-
}
|
|
1348
|
+
'ExpandedRowKeyToContent',
|
|
1349
|
+
{'key': typing.Union[str, NumberType], 'content': NotRequired[ComponentType]},
|
|
1301
1350
|
)
|
|
1302
1351
|
|
|
1303
1352
|
CellClickEvent = TypedDict(
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
}
|
|
1353
|
+
'CellClickEvent',
|
|
1354
|
+
{
|
|
1355
|
+
'pageX': NotRequired[NumberType],
|
|
1356
|
+
'pageY': NotRequired[NumberType],
|
|
1357
|
+
'clientX': NotRequired[NumberType],
|
|
1358
|
+
'clientY': NotRequired[NumberType],
|
|
1359
|
+
'screenX': NotRequired[NumberType],
|
|
1360
|
+
'screenY': NotRequired[NumberType],
|
|
1361
|
+
'timestamp': NotRequired[NumberType],
|
|
1362
|
+
},
|
|
1314
1363
|
)
|
|
1315
1364
|
|
|
1316
1365
|
CellDoubleClickEvent = TypedDict(
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
}
|
|
1366
|
+
'CellDoubleClickEvent',
|
|
1367
|
+
{
|
|
1368
|
+
'pageX': NotRequired[NumberType],
|
|
1369
|
+
'pageY': NotRequired[NumberType],
|
|
1370
|
+
'clientX': NotRequired[NumberType],
|
|
1371
|
+
'clientY': NotRequired[NumberType],
|
|
1372
|
+
'screenX': NotRequired[NumberType],
|
|
1373
|
+
'screenY': NotRequired[NumberType],
|
|
1374
|
+
'timestamp': NotRequired[NumberType],
|
|
1375
|
+
},
|
|
1327
1376
|
)
|
|
1328
1377
|
|
|
1329
1378
|
CellContextMenuClickEvent = TypedDict(
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
}
|
|
1340
|
-
)
|
|
1341
|
-
|
|
1342
|
-
RowClassName = TypedDict(
|
|
1343
|
-
"RowClassName",
|
|
1344
|
-
{
|
|
1345
|
-
"func": NotRequired[str]
|
|
1346
|
-
}
|
|
1379
|
+
'CellContextMenuClickEvent',
|
|
1380
|
+
{
|
|
1381
|
+
'pageX': NotRequired[NumberType],
|
|
1382
|
+
'pageY': NotRequired[NumberType],
|
|
1383
|
+
'clientX': NotRequired[NumberType],
|
|
1384
|
+
'clientY': NotRequired[NumberType],
|
|
1385
|
+
'screenX': NotRequired[NumberType],
|
|
1386
|
+
'screenY': NotRequired[NumberType],
|
|
1387
|
+
'timestamp': NotRequired[NumberType],
|
|
1388
|
+
},
|
|
1347
1389
|
)
|
|
1348
1390
|
|
|
1391
|
+
RowClassName = TypedDict('RowClassName', {'func': NotRequired[str]})
|
|
1349
1392
|
|
|
1350
1393
|
def __init__(
|
|
1351
1394
|
self,
|
|
@@ -1353,49 +1396,79 @@ Keyword arguments:
|
|
|
1353
1396
|
key: typing.Optional[str] = None,
|
|
1354
1397
|
style: typing.Optional[typing.Any] = None,
|
|
1355
1398
|
className: typing.Optional[str] = None,
|
|
1356
|
-
locale: typing.Optional[Literal[
|
|
1399
|
+
locale: typing.Optional[Literal['zh-cn', 'en-us', 'de-de', 'ru-ru', 'fr-fr']] = None,
|
|
1357
1400
|
containerId: typing.Optional[str] = None,
|
|
1358
|
-
columns: typing.Optional[typing.Sequence[
|
|
1401
|
+
columns: typing.Optional[typing.Sequence['Columns']] = None,
|
|
1359
1402
|
showHeader: typing.Optional[bool] = None,
|
|
1360
1403
|
rowHoverable: typing.Optional[bool] = None,
|
|
1361
|
-
tableLayout: typing.Optional[Literal[
|
|
1362
|
-
data: typing.Optional[
|
|
1404
|
+
tableLayout: typing.Optional[Literal['auto', 'fixed']] = None,
|
|
1405
|
+
data: typing.Optional[
|
|
1406
|
+
typing.Sequence[
|
|
1407
|
+
typing.Dict[
|
|
1408
|
+
typing.Union[str, float, int],
|
|
1409
|
+
typing.Union[
|
|
1410
|
+
typing.Sequence[typing.Any],
|
|
1411
|
+
ComponentType,
|
|
1412
|
+
str,
|
|
1413
|
+
NumberType,
|
|
1414
|
+
bool,
|
|
1415
|
+
'Data',
|
|
1416
|
+
typing.Sequence[NumberType],
|
|
1417
|
+
typing.Union['Data', typing.Sequence['Data']],
|
|
1418
|
+
typing.Sequence['Data'],
|
|
1419
|
+
dict,
|
|
1420
|
+
],
|
|
1421
|
+
]
|
|
1422
|
+
]
|
|
1423
|
+
] = None,
|
|
1363
1424
|
bordered: typing.Optional[bool] = None,
|
|
1364
1425
|
maxHeight: typing.Optional[typing.Union[NumberType, str]] = None,
|
|
1365
1426
|
maxWidth: typing.Optional[typing.Union[NumberType, str, bool]] = None,
|
|
1366
1427
|
scrollToFirstRowOnChange: typing.Optional[bool] = None,
|
|
1367
|
-
size: typing.Optional[Literal[
|
|
1368
|
-
rowSelectionType: typing.Optional[Literal[
|
|
1428
|
+
size: typing.Optional[Literal['small', 'middle', 'large']] = None,
|
|
1429
|
+
rowSelectionType: typing.Optional[Literal['checkbox', 'radio']] = None,
|
|
1369
1430
|
selectedRowKeys: typing.Optional[typing.Sequence[typing.Union[str, NumberType]]] = None,
|
|
1370
1431
|
selectedRows: typing.Optional[typing.Sequence] = None,
|
|
1371
1432
|
rowSelectionWidth: typing.Optional[typing.Union[str, NumberType]] = None,
|
|
1372
1433
|
rowSelectionCheckStrictly: typing.Optional[bool] = None,
|
|
1373
|
-
rowSelectionIgnoreRowKeys: typing.Optional[
|
|
1434
|
+
rowSelectionIgnoreRowKeys: typing.Optional[
|
|
1435
|
+
typing.Sequence[typing.Union[str, NumberType]]
|
|
1436
|
+
] = None,
|
|
1374
1437
|
selectedRowsSyncWithData: typing.Optional[bool] = None,
|
|
1375
|
-
sticky: typing.Optional[typing.Union[bool,
|
|
1438
|
+
sticky: typing.Optional[typing.Union[bool, 'Sticky']] = None,
|
|
1376
1439
|
enableHoverListen: typing.Optional[bool] = None,
|
|
1377
1440
|
recentlyMouseEnterColumnDataIndex: typing.Optional[str] = None,
|
|
1378
1441
|
recentlyMouseEnterRowKey: typing.Optional[typing.Union[str, NumberType]] = None,
|
|
1379
1442
|
recentlyMouseEnterRow: typing.Optional[dict] = None,
|
|
1380
|
-
titlePopoverInfo: typing.Optional[
|
|
1381
|
-
|
|
1382
|
-
|
|
1443
|
+
titlePopoverInfo: typing.Optional[
|
|
1444
|
+
typing.Dict[typing.Union[str, float, int], 'TitlePopoverInfo']
|
|
1445
|
+
] = None,
|
|
1446
|
+
columnsFormatConstraint: typing.Optional[
|
|
1447
|
+
typing.Dict[typing.Union[str, float, int], 'ColumnsFormatConstraint']
|
|
1448
|
+
] = None,
|
|
1449
|
+
sortOptions: typing.Optional['SortOptions'] = None,
|
|
1383
1450
|
showSorterTooltip: typing.Optional[bool] = None,
|
|
1384
|
-
showSorterTooltipTarget: typing.Optional[Literal[
|
|
1385
|
-
filterOptions: typing.Optional[
|
|
1386
|
-
|
|
1387
|
-
|
|
1451
|
+
showSorterTooltipTarget: typing.Optional[Literal['full-header', 'sorter-icon']] = None,
|
|
1452
|
+
filterOptions: typing.Optional[
|
|
1453
|
+
typing.Dict[typing.Union[str, float, int], 'FilterOptions']
|
|
1454
|
+
] = None,
|
|
1455
|
+
defaultFilteredValues: typing.Optional[
|
|
1456
|
+
typing.Dict[typing.Union[str, float, int], typing.Sequence]
|
|
1457
|
+
] = None,
|
|
1458
|
+
pagination: typing.Optional[typing.Union['Pagination', bool]] = None,
|
|
1388
1459
|
currentData: typing.Optional[typing.Sequence] = None,
|
|
1389
1460
|
recentlyChangedRow: typing.Optional[dict] = None,
|
|
1390
1461
|
recentlyChangedColumn: typing.Optional[str] = None,
|
|
1391
|
-
sorter: typing.Optional[
|
|
1462
|
+
sorter: typing.Optional['Sorter'] = None,
|
|
1392
1463
|
filter: typing.Optional[dict] = None,
|
|
1393
|
-
mode: typing.Optional[Literal[
|
|
1394
|
-
summaryRowContents: typing.Optional[typing.Sequence[
|
|
1464
|
+
mode: typing.Optional[Literal['client-side', 'server-side']] = None,
|
|
1465
|
+
summaryRowContents: typing.Optional[typing.Sequence['SummaryRowContents']] = None,
|
|
1395
1466
|
summaryRowBlankColumns: typing.Optional[NumberType] = None,
|
|
1396
|
-
summaryRowFixed: typing.Optional[typing.Union[bool, Literal[
|
|
1397
|
-
conditionalStyleFuncs: typing.Optional[
|
|
1398
|
-
|
|
1467
|
+
summaryRowFixed: typing.Optional[typing.Union[bool, Literal['top', 'bottom']]] = None,
|
|
1468
|
+
conditionalStyleFuncs: typing.Optional[
|
|
1469
|
+
typing.Dict[typing.Union[str, float, int], str]
|
|
1470
|
+
] = None,
|
|
1471
|
+
expandedRowKeyToContent: typing.Optional[typing.Sequence['ExpandedRowKeyToContent']] = None,
|
|
1399
1472
|
expandedRowWidth: typing.Optional[typing.Union[str, NumberType]] = None,
|
|
1400
1473
|
expandRowByClick: typing.Optional[bool] = None,
|
|
1401
1474
|
defaultExpandedRowKeys: typing.Optional[typing.Sequence[str]] = None,
|
|
@@ -1404,15 +1477,15 @@ Keyword arguments:
|
|
|
1404
1477
|
recentlyCellClickColumn: typing.Optional[str] = None,
|
|
1405
1478
|
recentlyCellClickRecord: typing.Optional[dict] = None,
|
|
1406
1479
|
nClicksCell: typing.Optional[NumberType] = None,
|
|
1407
|
-
cellClickEvent: typing.Optional[
|
|
1480
|
+
cellClickEvent: typing.Optional['CellClickEvent'] = None,
|
|
1408
1481
|
recentlyCellDoubleClickColumn: typing.Optional[str] = None,
|
|
1409
1482
|
recentlyCellDoubleClickRecord: typing.Optional[dict] = None,
|
|
1410
1483
|
nDoubleClicksCell: typing.Optional[NumberType] = None,
|
|
1411
|
-
cellDoubleClickEvent: typing.Optional[
|
|
1484
|
+
cellDoubleClickEvent: typing.Optional['CellDoubleClickEvent'] = None,
|
|
1412
1485
|
recentlyContextMenuClickColumn: typing.Optional[str] = None,
|
|
1413
1486
|
recentlyContextMenuClickRecord: typing.Optional[dict] = None,
|
|
1414
1487
|
nContextMenuClicksCell: typing.Optional[NumberType] = None,
|
|
1415
|
-
cellContextMenuClickEvent: typing.Optional[
|
|
1488
|
+
cellContextMenuClickEvent: typing.Optional['CellContextMenuClickEvent'] = None,
|
|
1416
1489
|
emptyContent: typing.Optional[ComponentType] = None,
|
|
1417
1490
|
cellUpdateOptimize: typing.Optional[bool] = None,
|
|
1418
1491
|
miniChartHeight: typing.Optional[NumberType] = None,
|
|
@@ -1436,20 +1509,220 @@ Keyword arguments:
|
|
|
1436
1509
|
recentlyDropdownItemClickedRow: typing.Optional[dict] = None,
|
|
1437
1510
|
recentlySelectRow: typing.Optional[dict] = None,
|
|
1438
1511
|
recentlySelectDataIndex: typing.Optional[str] = None,
|
|
1439
|
-
recentlySelectValue: typing.Optional[
|
|
1512
|
+
recentlySelectValue: typing.Optional[
|
|
1513
|
+
typing.Union[
|
|
1514
|
+
typing.Union[NumberType, str], typing.Sequence[typing.Union[NumberType, str]]
|
|
1515
|
+
]
|
|
1516
|
+
] = None,
|
|
1440
1517
|
hiddenRowKeys: typing.Optional[typing.Sequence[str]] = None,
|
|
1441
1518
|
dataDeepCompare: typing.Optional[bool] = None,
|
|
1442
1519
|
virtual: typing.Optional[bool] = None,
|
|
1443
1520
|
title: typing.Optional[ComponentType] = None,
|
|
1444
1521
|
footer: typing.Optional[ComponentType] = None,
|
|
1445
1522
|
loading: typing.Optional[bool] = None,
|
|
1446
|
-
rowClassName: typing.Optional[typing.Union[str,
|
|
1447
|
-
**kwargs
|
|
1523
|
+
rowClassName: typing.Optional[typing.Union[str, 'RowClassName']] = None,
|
|
1524
|
+
**kwargs,
|
|
1448
1525
|
):
|
|
1449
|
-
self._prop_names = [
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1526
|
+
self._prop_names = [
|
|
1527
|
+
'id',
|
|
1528
|
+
'key',
|
|
1529
|
+
'style',
|
|
1530
|
+
'className',
|
|
1531
|
+
'locale',
|
|
1532
|
+
'containerId',
|
|
1533
|
+
'columns',
|
|
1534
|
+
'showHeader',
|
|
1535
|
+
'rowHoverable',
|
|
1536
|
+
'tableLayout',
|
|
1537
|
+
'data',
|
|
1538
|
+
'bordered',
|
|
1539
|
+
'maxHeight',
|
|
1540
|
+
'maxWidth',
|
|
1541
|
+
'scrollToFirstRowOnChange',
|
|
1542
|
+
'size',
|
|
1543
|
+
'rowSelectionType',
|
|
1544
|
+
'selectedRowKeys',
|
|
1545
|
+
'selectedRows',
|
|
1546
|
+
'rowSelectionWidth',
|
|
1547
|
+
'rowSelectionCheckStrictly',
|
|
1548
|
+
'rowSelectionIgnoreRowKeys',
|
|
1549
|
+
'selectedRowsSyncWithData',
|
|
1550
|
+
'sticky',
|
|
1551
|
+
'enableHoverListen',
|
|
1552
|
+
'recentlyMouseEnterColumnDataIndex',
|
|
1553
|
+
'recentlyMouseEnterRowKey',
|
|
1554
|
+
'recentlyMouseEnterRow',
|
|
1555
|
+
'titlePopoverInfo',
|
|
1556
|
+
'columnsFormatConstraint',
|
|
1557
|
+
'sortOptions',
|
|
1558
|
+
'showSorterTooltip',
|
|
1559
|
+
'showSorterTooltipTarget',
|
|
1560
|
+
'filterOptions',
|
|
1561
|
+
'defaultFilteredValues',
|
|
1562
|
+
'pagination',
|
|
1563
|
+
'currentData',
|
|
1564
|
+
'recentlyChangedRow',
|
|
1565
|
+
'recentlyChangedColumn',
|
|
1566
|
+
'sorter',
|
|
1567
|
+
'filter',
|
|
1568
|
+
'mode',
|
|
1569
|
+
'summaryRowContents',
|
|
1570
|
+
'summaryRowBlankColumns',
|
|
1571
|
+
'summaryRowFixed',
|
|
1572
|
+
'conditionalStyleFuncs',
|
|
1573
|
+
'expandedRowKeyToContent',
|
|
1574
|
+
'expandedRowWidth',
|
|
1575
|
+
'expandRowByClick',
|
|
1576
|
+
'defaultExpandedRowKeys',
|
|
1577
|
+
'expandedRowKeys',
|
|
1578
|
+
'enableCellClickListenColumns',
|
|
1579
|
+
'recentlyCellClickColumn',
|
|
1580
|
+
'recentlyCellClickRecord',
|
|
1581
|
+
'nClicksCell',
|
|
1582
|
+
'cellClickEvent',
|
|
1583
|
+
'recentlyCellDoubleClickColumn',
|
|
1584
|
+
'recentlyCellDoubleClickRecord',
|
|
1585
|
+
'nDoubleClicksCell',
|
|
1586
|
+
'cellDoubleClickEvent',
|
|
1587
|
+
'recentlyContextMenuClickColumn',
|
|
1588
|
+
'recentlyContextMenuClickRecord',
|
|
1589
|
+
'nContextMenuClicksCell',
|
|
1590
|
+
'cellContextMenuClickEvent',
|
|
1591
|
+
'emptyContent',
|
|
1592
|
+
'cellUpdateOptimize',
|
|
1593
|
+
'miniChartHeight',
|
|
1594
|
+
'miniChartAnimation',
|
|
1595
|
+
'recentlyButtonClickedRow',
|
|
1596
|
+
'nClicksButton',
|
|
1597
|
+
'clickedContent',
|
|
1598
|
+
'clickedCustom',
|
|
1599
|
+
'recentlyButtonClickedDataIndex',
|
|
1600
|
+
'customFormatFuncs',
|
|
1601
|
+
'recentlyCheckedRow',
|
|
1602
|
+
'recentlyCheckedLabel',
|
|
1603
|
+
'recentlyCheckedDataIndex',
|
|
1604
|
+
'recentlyCheckedStatus',
|
|
1605
|
+
'recentlySwitchRow',
|
|
1606
|
+
'recentlySwitchDataIndex',
|
|
1607
|
+
'recentlySwitchStatus',
|
|
1608
|
+
'nClicksDropdownItem',
|
|
1609
|
+
'recentlyClickedDropdownItemTitle',
|
|
1610
|
+
'recentlyDropdownItemClickedDataIndex',
|
|
1611
|
+
'recentlyDropdownItemClickedRow',
|
|
1612
|
+
'recentlySelectRow',
|
|
1613
|
+
'recentlySelectDataIndex',
|
|
1614
|
+
'recentlySelectValue',
|
|
1615
|
+
'hiddenRowKeys',
|
|
1616
|
+
'dataDeepCompare',
|
|
1617
|
+
'virtual',
|
|
1618
|
+
'title',
|
|
1619
|
+
'footer',
|
|
1620
|
+
'loading',
|
|
1621
|
+
'rowClassName',
|
|
1622
|
+
'data-*',
|
|
1623
|
+
'aria-*',
|
|
1624
|
+
]
|
|
1625
|
+
self._valid_wildcard_attributes = ['data-', 'aria-']
|
|
1626
|
+
self.available_properties = [
|
|
1627
|
+
'id',
|
|
1628
|
+
'key',
|
|
1629
|
+
'style',
|
|
1630
|
+
'className',
|
|
1631
|
+
'locale',
|
|
1632
|
+
'containerId',
|
|
1633
|
+
'columns',
|
|
1634
|
+
'showHeader',
|
|
1635
|
+
'rowHoverable',
|
|
1636
|
+
'tableLayout',
|
|
1637
|
+
'data',
|
|
1638
|
+
'bordered',
|
|
1639
|
+
'maxHeight',
|
|
1640
|
+
'maxWidth',
|
|
1641
|
+
'scrollToFirstRowOnChange',
|
|
1642
|
+
'size',
|
|
1643
|
+
'rowSelectionType',
|
|
1644
|
+
'selectedRowKeys',
|
|
1645
|
+
'selectedRows',
|
|
1646
|
+
'rowSelectionWidth',
|
|
1647
|
+
'rowSelectionCheckStrictly',
|
|
1648
|
+
'rowSelectionIgnoreRowKeys',
|
|
1649
|
+
'selectedRowsSyncWithData',
|
|
1650
|
+
'sticky',
|
|
1651
|
+
'enableHoverListen',
|
|
1652
|
+
'recentlyMouseEnterColumnDataIndex',
|
|
1653
|
+
'recentlyMouseEnterRowKey',
|
|
1654
|
+
'recentlyMouseEnterRow',
|
|
1655
|
+
'titlePopoverInfo',
|
|
1656
|
+
'columnsFormatConstraint',
|
|
1657
|
+
'sortOptions',
|
|
1658
|
+
'showSorterTooltip',
|
|
1659
|
+
'showSorterTooltipTarget',
|
|
1660
|
+
'filterOptions',
|
|
1661
|
+
'defaultFilteredValues',
|
|
1662
|
+
'pagination',
|
|
1663
|
+
'currentData',
|
|
1664
|
+
'recentlyChangedRow',
|
|
1665
|
+
'recentlyChangedColumn',
|
|
1666
|
+
'sorter',
|
|
1667
|
+
'filter',
|
|
1668
|
+
'mode',
|
|
1669
|
+
'summaryRowContents',
|
|
1670
|
+
'summaryRowBlankColumns',
|
|
1671
|
+
'summaryRowFixed',
|
|
1672
|
+
'conditionalStyleFuncs',
|
|
1673
|
+
'expandedRowKeyToContent',
|
|
1674
|
+
'expandedRowWidth',
|
|
1675
|
+
'expandRowByClick',
|
|
1676
|
+
'defaultExpandedRowKeys',
|
|
1677
|
+
'expandedRowKeys',
|
|
1678
|
+
'enableCellClickListenColumns',
|
|
1679
|
+
'recentlyCellClickColumn',
|
|
1680
|
+
'recentlyCellClickRecord',
|
|
1681
|
+
'nClicksCell',
|
|
1682
|
+
'cellClickEvent',
|
|
1683
|
+
'recentlyCellDoubleClickColumn',
|
|
1684
|
+
'recentlyCellDoubleClickRecord',
|
|
1685
|
+
'nDoubleClicksCell',
|
|
1686
|
+
'cellDoubleClickEvent',
|
|
1687
|
+
'recentlyContextMenuClickColumn',
|
|
1688
|
+
'recentlyContextMenuClickRecord',
|
|
1689
|
+
'nContextMenuClicksCell',
|
|
1690
|
+
'cellContextMenuClickEvent',
|
|
1691
|
+
'emptyContent',
|
|
1692
|
+
'cellUpdateOptimize',
|
|
1693
|
+
'miniChartHeight',
|
|
1694
|
+
'miniChartAnimation',
|
|
1695
|
+
'recentlyButtonClickedRow',
|
|
1696
|
+
'nClicksButton',
|
|
1697
|
+
'clickedContent',
|
|
1698
|
+
'clickedCustom',
|
|
1699
|
+
'recentlyButtonClickedDataIndex',
|
|
1700
|
+
'customFormatFuncs',
|
|
1701
|
+
'recentlyCheckedRow',
|
|
1702
|
+
'recentlyCheckedLabel',
|
|
1703
|
+
'recentlyCheckedDataIndex',
|
|
1704
|
+
'recentlyCheckedStatus',
|
|
1705
|
+
'recentlySwitchRow',
|
|
1706
|
+
'recentlySwitchDataIndex',
|
|
1707
|
+
'recentlySwitchStatus',
|
|
1708
|
+
'nClicksDropdownItem',
|
|
1709
|
+
'recentlyClickedDropdownItemTitle',
|
|
1710
|
+
'recentlyDropdownItemClickedDataIndex',
|
|
1711
|
+
'recentlyDropdownItemClickedRow',
|
|
1712
|
+
'recentlySelectRow',
|
|
1713
|
+
'recentlySelectDataIndex',
|
|
1714
|
+
'recentlySelectValue',
|
|
1715
|
+
'hiddenRowKeys',
|
|
1716
|
+
'dataDeepCompare',
|
|
1717
|
+
'virtual',
|
|
1718
|
+
'title',
|
|
1719
|
+
'footer',
|
|
1720
|
+
'loading',
|
|
1721
|
+
'rowClassName',
|
|
1722
|
+
'data-*',
|
|
1723
|
+
'aria-*',
|
|
1724
|
+
]
|
|
1725
|
+
self.available_wildcard_properties = ['data-', 'aria-']
|
|
1453
1726
|
_explicit_args = kwargs.pop('_explicit_args')
|
|
1454
1727
|
_locals = locals()
|
|
1455
1728
|
_locals.update(kwargs) # For wildcard attrs and excess named props
|
|
@@ -1457,4 +1730,5 @@ Keyword arguments:
|
|
|
1457
1730
|
|
|
1458
1731
|
super(AntdTable, self).__init__(**args)
|
|
1459
1732
|
|
|
1460
|
-
|
|
1733
|
+
|
|
1734
|
+
setattr(AntdTable, '__init__', _explicitize_args(AntdTable.__init__))
|