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