amis-ui 3.4.2 → 3.5.0
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/esm/components/404.js +1 -1
- package/esm/components/Alert.d.ts +1 -0
- package/esm/components/Alert.js +4 -2
- package/esm/components/Alert2.js +1 -1
- package/esm/components/AnchorNav.js +1 -1
- package/esm/components/ArrayInput.js +1 -1
- package/esm/components/AsideNav.js +1 -1
- package/esm/components/AssociatedSelection.js +1 -1
- package/esm/components/Avatar.js +1 -1
- package/esm/components/Badge.js +1 -1
- package/esm/components/BaiduMapPicker.js +1 -1
- package/esm/components/BarCode.js +1 -1
- package/esm/components/Breadcrumb.js +1 -1
- package/esm/components/Button.js +1 -1
- package/esm/components/CalendarMobile.js +1 -1
- package/esm/components/Card.js +1 -1
- package/esm/components/Cascader.js +1 -1
- package/esm/components/ChainedDropdownSelection.js +1 -1
- package/esm/components/ChainedSelection.js +5 -3
- package/esm/components/Checkbox.js +1 -1
- package/esm/components/CityArea.js +1 -1
- package/esm/components/CityDB.js +1 -1
- package/esm/components/CodeMirror.js +1 -1
- package/esm/components/Collapse.js +2 -2
- package/esm/components/CollapseGroup.js +1 -1
- package/esm/components/ColorPicker.js +1 -1
- package/esm/components/Combo.js +1 -1
- package/esm/components/ConfirmBox.js +1 -1
- package/esm/components/ContextMenu.d.ts +1 -0
- package/esm/components/ContextMenu.js +4 -2
- package/esm/components/DatePicker.js +1 -1
- package/esm/components/DateRangePicker.js +1 -1
- package/esm/components/DndContainer.js +1 -1
- package/esm/components/Drawer.js +1 -1
- package/esm/components/DropDownSelection.js +3 -2
- package/esm/components/Editor.js +1 -1
- package/esm/components/Form.js +1 -1
- package/esm/components/FormField.js +1 -1
- package/esm/components/GaodeMapPicker.js +1 -1
- package/esm/components/GridNav.js +1 -1
- package/esm/components/GroupedSelection.js +7 -4
- package/esm/components/Html.js +1 -1
- package/esm/components/ImageGallery.d.ts +15 -3
- package/esm/components/ImageGallery.js +76 -10
- package/esm/components/Input.js +1 -1
- package/esm/components/InputBox.js +1 -1
- package/esm/components/InputBoxWithSuggestion.js +3 -2
- package/esm/components/InputTable.js +1 -1
- package/esm/components/Layout.js +1 -1
- package/esm/components/Link.js +1 -1
- package/esm/components/ListGroup.d.ts +10 -10
- package/esm/components/ListGroup.js +1 -1
- package/esm/components/ListMenu.js +1 -1
- package/esm/components/LocationPicker.js +1 -1
- package/esm/components/Markdown.js +1 -1
- package/esm/components/Modal.js +6 -11
- package/esm/components/ModalManager.js +1 -1
- package/esm/components/MultilineText.js +1 -1
- package/esm/components/NumberInput.js +1 -1
- package/esm/components/Pagination.d.ts +42 -41
- package/esm/components/Pagination.js +24 -8
- package/esm/components/Picker.js +1 -1
- package/esm/components/PickerColumn.js +1 -1
- package/esm/components/PickerContainer.js +1 -1
- package/esm/components/PopOverContainer.js +1 -1
- package/esm/components/PopUp.js +1 -1
- package/esm/components/Progress.js +1 -1
- package/esm/components/PullRefresh.js +1 -1
- package/esm/components/Radios.js +1 -1
- package/esm/components/Range.js +1 -1
- package/esm/components/Rating.js +1 -1
- package/esm/components/ResultBox.js +15 -13
- package/esm/components/ResultList.d.ts +2 -1
- package/esm/components/ResultList.js +12 -3
- package/esm/components/ResultTableList.js +1 -1
- package/esm/components/ResultTreeList.js +1 -1
- package/esm/components/RichText.js +1 -1
- package/esm/components/SearchBox.js +1 -1
- package/esm/components/Select.js +1 -1
- package/esm/components/SelectMobile.js +7 -4
- package/esm/components/Selection.d.ts +2 -1
- package/esm/components/Selection.js +11 -4
- package/esm/components/SparkLine.js +1 -1
- package/esm/components/Spinner.js +1 -1
- package/esm/components/Steps.js +8 -4
- package/esm/components/Switch.js +1 -1
- package/esm/components/TableSelection.js +1 -1
- package/esm/components/Tabs.js +1 -1
- package/esm/components/TabsTransfer.js +1 -1
- package/esm/components/TabsTransferPicker.js +1 -1
- package/esm/components/Tag.js +1 -1
- package/esm/components/Textarea.js +1 -1
- package/esm/components/Timeline.js +1 -1
- package/esm/components/TimelineItem.js +1 -1
- package/esm/components/Tinymce.js +1 -1
- package/esm/components/TitleBar.js +1 -1
- package/esm/components/Toast.js +1 -1
- package/esm/components/Tooltip.js +1 -1
- package/esm/components/TooltipWrapper.js +1 -1
- package/esm/components/Transfer.js +5 -5
- package/esm/components/TransferDropDown.js +1 -1
- package/esm/components/TransferPicker.js +1 -1
- package/esm/components/TransferSearch.js +1 -1
- package/esm/components/Tree.js +13 -8
- package/esm/components/TreeSelection.js +3 -2
- package/esm/components/UserSelect.js +1 -1
- package/esm/components/UserTabSelect.js +1 -1
- package/esm/components/WithRemoteConfig.js +1 -1
- package/esm/components/WithStore.js +1 -1
- package/esm/components/calendar/Calendar.js +1 -1
- package/esm/components/calendar/CalendarContainer.js +1 -1
- package/esm/components/calendar/DaysView.js +1 -1
- package/esm/components/calendar/MonthsView.js +1 -1
- package/esm/components/calendar/QuartersView.js +1 -1
- package/esm/components/calendar/TimeView.js +1 -1
- package/esm/components/calendar/YearsView.js +1 -1
- package/esm/components/condition-builder/Expression.js +1 -1
- package/esm/components/condition-builder/Field.js +1 -1
- package/esm/components/condition-builder/Func.js +1 -1
- package/esm/components/condition-builder/Group.js +1 -1
- package/esm/components/condition-builder/GroupOrItem.js +1 -1
- package/esm/components/condition-builder/InputSwitch.js +1 -1
- package/esm/components/condition-builder/Item.js +1 -1
- package/esm/components/condition-builder/Value.js +1 -1
- package/esm/components/condition-builder/config.js +1 -1
- package/esm/components/condition-builder/index.js +1 -1
- package/esm/components/formula/Editor.js +1 -1
- package/esm/components/formula/FuncList.js +1 -1
- package/esm/components/formula/Input.js +1 -1
- package/esm/components/formula/Picker.js +1 -1
- package/esm/components/formula/VariableList.js +7 -6
- package/esm/components/formula/plugin.js +1 -1
- package/esm/components/icons.js +17 -17
- package/esm/components/json-schema/Array.js +1 -1
- package/esm/components/json-schema/Item.js +1 -1
- package/esm/components/json-schema/Object.js +1 -1
- package/esm/components/json-schema/index.js +1 -1
- package/esm/components/menu/MenuContext.js +1 -1
- package/esm/components/menu/MenuItem.js +1 -1
- package/esm/components/menu/SubMenu.js +1 -1
- package/esm/components/menu/index.js +1 -1
- package/esm/components/schema-editor/Array.js +1 -1
- package/esm/components/schema-editor/Common.js +1 -1
- package/esm/components/schema-editor/Item.js +1 -1
- package/esm/components/schema-editor/Object.js +1 -1
- package/esm/components/schema-editor/SchemaVariableList.js +1 -1
- package/esm/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/esm/components/schema-editor/index.js +1 -1
- package/esm/components/table/Cell.js +3 -3
- package/esm/components/table/ColGroup.d.ts +19 -0
- package/esm/components/table/ColGroup.js +52 -0
- package/esm/components/table/HeadCellDropDown.js +1 -1
- package/esm/components/table/HeadCellFilter.js +1 -1
- package/esm/components/table/HeadCellSelect.js +1 -1
- package/esm/components/table/HeadCellSort.js +1 -1
- package/esm/components/table/ItemActionsWrapper.js +1 -1
- package/esm/components/table/index.d.ts +56 -3
- package/esm/components/table/index.js +149 -89
- package/esm/components/virtual-list/AutoSizer.js +1 -1
- package/esm/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/esm/components/virtual-list/constants.js +1 -1
- package/esm/components/virtual-list/index.js +1 -1
- package/esm/hooks/use-set-state.js +1 -1
- package/esm/hooks/use-sub-form.js +1 -1
- package/esm/hooks/use-touch.js +1 -1
- package/esm/hooks/use-update-effect.js +1 -1
- package/esm/hooks/use-validation-resolver.js +1 -1
- package/esm/icons/alert-danger.svg.js +1 -1
- package/esm/icons/alert-info.svg.js +1 -1
- package/esm/icons/alert-success.svg.js +1 -1
- package/esm/icons/alert-warning.svg.js +1 -1
- package/esm/icons/back.svg.js +1 -1
- package/esm/icons/calendar.svg.js +1 -1
- package/esm/icons/caret.svg.js +1 -1
- package/esm/icons/check.svg.js +1 -1
- package/esm/icons/clock.svg.js +1 -1
- package/esm/icons/close-small.svg.js +1 -1
- package/esm/icons/close.svg.js +1 -1
- package/esm/icons/cloud-upload.svg.js +1 -1
- package/esm/icons/column-filter.svg.js +1 -1
- package/esm/icons/columns.svg.js +1 -1
- package/esm/icons/compress-alt.svg.js +1 -1
- package/esm/icons/copy.svg.js +1 -1
- package/esm/icons/date.svg.js +1 -1
- package/esm/icons/department.svg.js +1 -1
- package/esm/icons/desk-empty.svg.js +1 -1
- package/esm/icons/dot.svg.js +1 -1
- package/esm/icons/down-arrow-bold.svg.js +1 -1
- package/esm/icons/down.svg.js +1 -1
- package/esm/icons/download.svg.js +1 -1
- package/esm/icons/drag-bar.svg.js +1 -1
- package/esm/icons/drag.svg.js +1 -1
- package/esm/icons/edit.svg.js +1 -1
- package/esm/icons/ellipsis-v.svg.js +1 -1
- package/esm/icons/enter.svg.js +1 -1
- package/esm/icons/exchange.svg.js +1 -1
- package/esm/icons/expand-alt.svg.js +1 -1
- package/esm/icons/fail.svg.js +1 -1
- package/esm/icons/file.svg.js +1 -1
- package/esm/icons/filter.svg.js +1 -1
- package/esm/icons/folder.svg.js +1 -1
- package/esm/icons/function.svg.js +1 -1
- package/esm/icons/home.svg.js +1 -1
- package/esm/icons/if.svg.js +1 -1
- package/esm/icons/image.svg.js +1 -1
- package/esm/icons/info-circle.svg.js +1 -1
- package/esm/icons/info.svg.js +1 -1
- package/esm/icons/input-clear.svg.js +1 -1
- package/esm/icons/invisible.svg.js +1 -1
- package/esm/icons/left-arrow.svg.js +1 -1
- package/esm/icons/loading-outline.svg.js +1 -1
- package/esm/icons/location.svg.js +1 -1
- package/esm/icons/menu.svg.js +1 -1
- package/esm/icons/minus.svg.js +1 -1
- package/esm/icons/move.svg.js +1 -1
- package/esm/icons/mute.svg.js +1 -1
- package/esm/icons/new-edit.svg.js +1 -1
- package/esm/icons/pause.svg.js +1 -1
- package/esm/icons/pencil.svg.js +1 -1
- package/esm/icons/play.svg.js +1 -1
- package/esm/icons/plus-cicle.svg.js +1 -1
- package/esm/icons/plus-fine.svg.js +1 -1
- package/esm/icons/plus.svg.js +1 -1
- package/esm/icons/post.svg.js +1 -1
- package/esm/icons/question-mark.svg.js +1 -1
- package/esm/icons/question.svg.js +1 -1
- package/esm/icons/redo.svg.js +1 -1
- package/esm/icons/refresh.svg.js +1 -1
- package/esm/icons/reload.svg.js +1 -1
- package/esm/icons/remove.svg.js +1 -1
- package/esm/icons/retry.svg.js +1 -1
- package/esm/icons/right-arrow-bold.svg.js +1 -1
- package/esm/icons/right-arrow.svg.js +1 -1
- package/esm/icons/right-double-arrow.svg.js +1 -1
- package/esm/icons/role.svg.js +1 -1
- package/esm/icons/rotate-left.svg.js +1 -1
- package/esm/icons/rotate-right.svg.js +1 -1
- package/esm/icons/scale-origin.svg.js +1 -1
- package/esm/icons/schedule.svg.js +1 -1
- package/esm/icons/search.svg.js +1 -1
- package/esm/icons/setting.svg.js +1 -1
- package/esm/icons/slider-handle-icon.svg.js +1 -1
- package/esm/icons/sort-asc.svg.js +1 -1
- package/esm/icons/sort-default.svg.js +1 -1
- package/esm/icons/sort-desc.svg.js +1 -1
- package/esm/icons/star.svg.js +1 -1
- package/esm/icons/status-close.svg.js +1 -1
- package/esm/icons/steps-finsh.svg.js +1 -1
- package/esm/icons/success.svg.js +1 -1
- package/esm/icons/transparent.svg.js +1 -1
- package/esm/icons/trash.svg.js +1 -1
- package/esm/icons/tree-down.svg.js +1 -1
- package/esm/icons/undo.svg.js +1 -1
- package/esm/icons/upload.svg.js +1 -1
- package/esm/icons/user-remove.svg.js +1 -1
- package/esm/icons/view.svg.js +1 -1
- package/esm/icons/volume.svg.js +1 -1
- package/esm/icons/warning-mark.svg.js +1 -1
- package/esm/icons/warning.svg.js +1 -1
- package/esm/icons/window-restore.svg.js +1 -1
- package/esm/icons/zoom-in.svg.js +1 -1
- package/esm/icons/zoom-out.svg.js +1 -1
- package/esm/index.js +1 -1
- package/esm/locale/de-DE.js +2 -1
- package/esm/locale/en-US.js +2 -1
- package/esm/locale/zh-CN.js +2 -1
- package/esm/themes/ang.js +1 -1
- package/esm/themes/antd.js +1 -1
- package/esm/themes/cxd.js +1 -1
- package/esm/themes/dark.js +1 -1
- package/lib/components/404.js +1 -1
- package/lib/components/Alert.d.ts +121 -120
- package/lib/components/Alert.js +4 -2
- package/lib/components/Alert2.d.ts +20 -20
- package/lib/components/Alert2.js +1 -1
- package/lib/components/AnchorNav.d.ts +20 -20
- package/lib/components/AnchorNav.js +1 -1
- package/lib/components/ArrayInput.d.ts +40 -40
- package/lib/components/ArrayInput.js +1 -1
- package/lib/components/AsideNav.js +1 -1
- package/lib/components/AssociatedSelection.d.ts +80 -80
- package/lib/components/AssociatedSelection.js +1 -1
- package/lib/components/Avatar.d.ts +90 -90
- package/lib/components/Avatar.js +1 -1
- package/lib/components/Badge.js +1 -1
- package/lib/components/BaiduMapPicker.js +1 -1
- package/lib/components/BarCode.js +1 -1
- package/lib/components/Breadcrumb.js +1 -1
- package/lib/components/Button.d.ts +20 -20
- package/lib/components/Button.js +1 -1
- package/lib/components/CalendarMobile.d.ts +40 -40
- package/lib/components/CalendarMobile.js +1 -1
- package/lib/components/Card.d.ts +100 -100
- package/lib/components/Card.js +1 -1
- package/lib/components/Cascader.js +1 -1
- package/lib/components/ChainedDropdownSelection.d.ts +80 -80
- package/lib/components/ChainedDropdownSelection.js +1 -1
- package/lib/components/ChainedSelection.d.ts +80 -80
- package/lib/components/ChainedSelection.js +5 -3
- package/lib/components/Checkbox.d.ts +10 -10
- package/lib/components/Checkbox.js +1 -1
- package/lib/components/CityArea.js +1 -1
- package/lib/components/CityDB.js +1 -1
- package/lib/components/CodeMirror.js +1 -1
- package/lib/components/Collapse.d.ts +130 -130
- package/lib/components/Collapse.js +2 -2
- package/lib/components/CollapseGroup.d.ts +20 -20
- package/lib/components/CollapseGroup.js +1 -1
- package/lib/components/ColorPicker.d.ts +80 -80
- package/lib/components/ColorPicker.js +1 -1
- package/lib/components/Combo.js +1 -1
- package/lib/components/ConfirmBox.d.ts +80 -80
- package/lib/components/ConfirmBox.js +1 -1
- package/lib/components/ContextMenu.d.ts +1 -0
- package/lib/components/ContextMenu.js +4 -2
- package/lib/components/DatePicker.d.ts +81 -81
- package/lib/components/DatePicker.js +1 -1
- package/lib/components/DateRangePicker.d.ts +120 -120
- package/lib/components/DateRangePicker.js +1 -1
- package/lib/components/DndContainer.js +1 -1
- package/lib/components/Drawer.d.ts +40 -40
- package/lib/components/Drawer.js +1 -1
- package/lib/components/DropDownSelection.d.ts +80 -80
- package/lib/components/DropDownSelection.js +3 -2
- package/lib/components/Editor.d.ts +40 -40
- package/lib/components/Editor.js +1 -1
- package/lib/components/Form.js +1 -1
- package/lib/components/FormField.js +1 -1
- package/lib/components/GaodeMapPicker.js +1 -1
- package/lib/components/GridNav.js +1 -1
- package/lib/components/GroupedSelection.d.ts +80 -80
- package/lib/components/GroupedSelection.js +7 -4
- package/lib/components/Html.js +1 -1
- package/lib/components/ImageGallery.d.ts +55 -43
- package/lib/components/ImageGallery.js +76 -10
- package/lib/components/Input.js +1 -1
- package/lib/components/InputBox.d.ts +10 -10
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBoxWithSuggestion.js +3 -2
- package/lib/components/InputTable.js +1 -1
- package/lib/components/Layout.d.ts +10 -10
- package/lib/components/Layout.js +1 -1
- package/lib/components/Link.js +1 -1
- package/lib/components/ListGroup.d.ts +10 -10
- package/lib/components/ListGroup.js +1 -1
- package/lib/components/ListMenu.d.ts +80 -80
- package/lib/components/ListMenu.js +1 -1
- package/lib/components/LocationPicker.d.ts +40 -40
- package/lib/components/LocationPicker.js +1 -1
- package/lib/components/Markdown.js +1 -1
- package/lib/components/Modal.d.ts +80 -80
- package/lib/components/Modal.js +6 -11
- package/lib/components/ModalManager.js +1 -1
- package/lib/components/MonthRangePicker.d.ts +120 -120
- package/lib/components/MultilineText.d.ts +40 -40
- package/lib/components/MultilineText.js +1 -1
- package/lib/components/NumberInput.d.ts +20 -20
- package/lib/components/NumberInput.js +1 -1
- package/lib/components/Pagination.d.ts +42 -41
- package/lib/components/Pagination.js +22 -6
- package/lib/components/Picker.js +1 -1
- package/lib/components/PickerColumn.js +1 -1
- package/lib/components/PickerContainer.js +1 -1
- package/lib/components/PopOverContainer.js +1 -1
- package/lib/components/PopUp.d.ts +80 -80
- package/lib/components/PopUp.js +1 -1
- package/lib/components/Progress.d.ts +50 -50
- package/lib/components/Progress.js +1 -1
- package/lib/components/PullRefresh.js +1 -1
- package/lib/components/Radios.d.ts +20 -20
- package/lib/components/Radios.js +1 -1
- package/lib/components/Range.js +1 -1
- package/lib/components/Rating.d.ts +20 -20
- package/lib/components/Rating.js +1 -1
- package/lib/components/ResultBox.d.ts +80 -80
- package/lib/components/ResultBox.js +15 -13
- package/lib/components/ResultList.d.ts +42 -41
- package/lib/components/ResultList.js +12 -3
- package/lib/components/ResultTableList.d.ts +80 -80
- package/lib/components/ResultTableList.js +1 -1
- package/lib/components/ResultTreeList.d.ts +40 -40
- package/lib/components/ResultTreeList.js +1 -1
- package/lib/components/RichText.js +1 -1
- package/lib/components/SearchBox.d.ts +80 -80
- package/lib/components/SearchBox.js +1 -1
- package/lib/components/Select.d.ts +1551 -1552
- package/lib/components/Select.js +1 -1
- package/lib/components/SelectMobile.js +7 -4
- package/lib/components/Selection.d.ts +82 -81
- package/lib/components/Selection.js +11 -4
- package/lib/components/SparkLine.d.ts +40 -40
- package/lib/components/SparkLine.js +1 -1
- package/lib/components/Spinner.d.ts +60 -60
- package/lib/components/Spinner.js +1 -1
- package/lib/components/Steps.js +8 -4
- package/lib/components/Switch.d.ts +10 -10
- package/lib/components/Switch.js +1 -1
- package/lib/components/TableSelection.d.ts +80 -80
- package/lib/components/TableSelection.js +1 -1
- package/lib/components/Tabs.d.ts +80 -80
- package/lib/components/Tabs.js +1 -1
- package/lib/components/TabsTransfer.d.ts +40 -40
- package/lib/components/TabsTransfer.js +1 -1
- package/lib/components/TabsTransferPicker.js +1 -1
- package/lib/components/Tag.d.ts +60 -60
- package/lib/components/Tag.js +1 -1
- package/lib/components/Textarea.d.ts +40 -40
- package/lib/components/Textarea.js +1 -1
- package/lib/components/Timeline.js +1 -1
- package/lib/components/TimelineItem.js +1 -1
- package/lib/components/Tinymce.js +1 -1
- package/lib/components/TitleBar.d.ts +10 -10
- package/lib/components/TitleBar.js +1 -1
- package/lib/components/Toast.d.ts +120 -120
- package/lib/components/Toast.js +1 -1
- package/lib/components/Tooltip.js +1 -1
- package/lib/components/TooltipWrapper.d.ts +30 -30
- package/lib/components/TooltipWrapper.js +1 -1
- package/lib/components/Transfer.d.ts +169 -169
- package/lib/components/Transfer.js +5 -5
- package/lib/components/TransferDropDown.d.ts +160 -160
- package/lib/components/TransferDropDown.js +1 -1
- package/lib/components/TransferPicker.js +1 -1
- package/lib/components/TransferSearch.js +1 -1
- package/lib/components/Tree.d.ts +200 -200
- package/lib/components/Tree.js +13 -8
- package/lib/components/TreeSelection.d.ts +80 -80
- package/lib/components/TreeSelection.js +3 -2
- package/lib/components/UserSelect.d.ts +40 -40
- package/lib/components/UserSelect.js +1 -1
- package/lib/components/UserTabSelect.d.ts +40 -40
- package/lib/components/UserTabSelect.js +1 -1
- package/lib/components/WithRemoteConfig.d.ts +0 -1
- package/lib/components/WithRemoteConfig.js +1 -1
- package/lib/components/WithStore.js +1 -1
- package/lib/components/calendar/Calendar.js +1 -1
- package/lib/components/calendar/CalendarContainer.js +1 -1
- package/lib/components/calendar/DaysView.js +1 -1
- package/lib/components/calendar/MonthsView.js +1 -1
- package/lib/components/calendar/QuartersView.js +1 -1
- package/lib/components/calendar/TimeView.js +1 -1
- package/lib/components/calendar/YearsView.js +1 -1
- package/lib/components/condition-builder/Expression.js +1 -1
- package/lib/components/condition-builder/Field.js +1 -1
- package/lib/components/condition-builder/Func.js +1 -1
- package/lib/components/condition-builder/Group.js +1 -1
- package/lib/components/condition-builder/GroupOrItem.js +1 -1
- package/lib/components/condition-builder/InputSwitch.js +1 -1
- package/lib/components/condition-builder/Item.js +1 -1
- package/lib/components/condition-builder/Value.js +1 -1
- package/lib/components/condition-builder/config.js +1 -1
- package/lib/components/condition-builder/index.js +1 -1
- package/lib/components/formula/Editor.d.ts +40 -40
- package/lib/components/formula/Editor.js +1 -1
- package/lib/components/formula/FuncList.js +1 -1
- package/lib/components/formula/Input.js +1 -1
- package/lib/components/formula/Picker.d.ts +40 -40
- package/lib/components/formula/Picker.js +1 -1
- package/lib/components/formula/VariableList.js +7 -6
- package/lib/components/formula/plugin.js +1 -1
- package/lib/components/icons.js +17 -17
- package/lib/components/json-schema/Array.js +1 -1
- package/lib/components/json-schema/Item.js +1 -1
- package/lib/components/json-schema/Object.js +1 -1
- package/lib/components/json-schema/index.js +1 -1
- package/lib/components/menu/MenuContext.js +1 -1
- package/lib/components/menu/MenuItem.js +1 -1
- package/lib/components/menu/SubMenu.js +1 -1
- package/lib/components/menu/index.d.ts +50 -50
- package/lib/components/menu/index.js +1 -1
- package/lib/components/schema-editor/Array.js +1 -1
- package/lib/components/schema-editor/Common.js +1 -1
- package/lib/components/schema-editor/Item.js +1 -1
- package/lib/components/schema-editor/Object.js +1 -1
- package/lib/components/schema-editor/SchemaVariableList.js +1 -1
- package/lib/components/schema-editor/SchemaVariableListPicker.js +1 -1
- package/lib/components/schema-editor/index.d.ts +200 -200
- package/lib/components/schema-editor/index.js +1 -1
- package/lib/components/table/Cell.d.ts +40 -40
- package/lib/components/table/Cell.js +3 -3
- package/lib/components/table/ColGroup.d.ts +19 -0
- package/lib/components/table/ColGroup.js +64 -0
- package/lib/components/table/HeadCellDropDown.js +1 -1
- package/lib/components/table/HeadCellFilter.d.ts +80 -80
- package/lib/components/table/HeadCellFilter.js +1 -1
- package/lib/components/table/HeadCellSelect.d.ts +40 -40
- package/lib/components/table/HeadCellSelect.js +1 -1
- package/lib/components/table/HeadCellSort.js +1 -1
- package/lib/components/table/ItemActionsWrapper.js +1 -1
- package/lib/components/table/index.d.ts +136 -83
- package/lib/components/table/index.js +149 -88
- package/lib/components/virtual-list/AutoSizer.js +1 -1
- package/lib/components/virtual-list/SizeAndPositionManager.js +1 -1
- package/lib/components/virtual-list/constants.js +1 -1
- package/lib/components/virtual-list/index.js +1 -1
- package/lib/hooks/use-set-state.js +1 -1
- package/lib/hooks/use-sub-form.js +1 -1
- package/lib/hooks/use-touch.js +1 -1
- package/lib/hooks/use-update-effect.js +1 -1
- package/lib/hooks/use-validation-resolver.js +1 -1
- package/lib/icons/alert-danger.svg.js +1 -1
- package/lib/icons/alert-info.svg.js +1 -1
- package/lib/icons/alert-success.svg.js +1 -1
- package/lib/icons/alert-warning.svg.js +1 -1
- package/lib/icons/back.svg.js +1 -1
- package/lib/icons/calendar.svg.js +1 -1
- package/lib/icons/caret.svg.js +1 -1
- package/lib/icons/check.svg.js +1 -1
- package/lib/icons/clock.svg.js +1 -1
- package/lib/icons/close-small.svg.js +1 -1
- package/lib/icons/close.svg.js +1 -1
- package/lib/icons/cloud-upload.svg.js +1 -1
- package/lib/icons/column-filter.svg.js +1 -1
- package/lib/icons/columns.svg.js +1 -1
- package/lib/icons/compress-alt.svg.js +1 -1
- package/lib/icons/copy.svg.js +1 -1
- package/lib/icons/date.svg.js +1 -1
- package/lib/icons/department.svg.js +1 -1
- package/lib/icons/desk-empty.svg.js +1 -1
- package/lib/icons/dot.svg.js +1 -1
- package/lib/icons/down-arrow-bold.svg.js +1 -1
- package/lib/icons/down.svg.js +1 -1
- package/lib/icons/download.svg.js +1 -1
- package/lib/icons/drag-bar.svg.js +1 -1
- package/lib/icons/drag.svg.js +1 -1
- package/lib/icons/edit.svg.js +1 -1
- package/lib/icons/ellipsis-v.svg.js +1 -1
- package/lib/icons/enter.svg.js +1 -1
- package/lib/icons/exchange.svg.js +1 -1
- package/lib/icons/expand-alt.svg.js +1 -1
- package/lib/icons/fail.svg.js +1 -1
- package/lib/icons/file.svg.js +1 -1
- package/lib/icons/filter.svg.js +1 -1
- package/lib/icons/folder.svg.js +1 -1
- package/lib/icons/function.svg.js +1 -1
- package/lib/icons/home.svg.js +1 -1
- package/lib/icons/if.svg.js +1 -1
- package/lib/icons/image.svg.js +1 -1
- package/lib/icons/info-circle.svg.js +1 -1
- package/lib/icons/info.svg.js +1 -1
- package/lib/icons/input-clear.svg.js +1 -1
- package/lib/icons/invisible.svg.js +1 -1
- package/lib/icons/left-arrow.svg.js +1 -1
- package/lib/icons/loading-outline.svg.js +1 -1
- package/lib/icons/location.svg.js +1 -1
- package/lib/icons/menu.svg.js +1 -1
- package/lib/icons/minus.svg.js +1 -1
- package/lib/icons/move.svg.js +1 -1
- package/lib/icons/mute.svg.js +1 -1
- package/lib/icons/new-edit.svg.js +1 -1
- package/lib/icons/pause.svg.js +1 -1
- package/lib/icons/pencil.svg.js +1 -1
- package/lib/icons/play.svg.js +1 -1
- package/lib/icons/plus-cicle.svg.js +1 -1
- package/lib/icons/plus-fine.svg.js +1 -1
- package/lib/icons/plus.svg.js +1 -1
- package/lib/icons/post.svg.js +1 -1
- package/lib/icons/question-mark.svg.js +1 -1
- package/lib/icons/question.svg.js +1 -1
- package/lib/icons/redo.svg.js +1 -1
- package/lib/icons/refresh.svg.js +1 -1
- package/lib/icons/reload.svg.js +1 -1
- package/lib/icons/remove.svg.js +1 -1
- package/lib/icons/retry.svg.js +1 -1
- package/lib/icons/right-arrow-bold.svg.js +1 -1
- package/lib/icons/right-arrow.svg.js +1 -1
- package/lib/icons/right-double-arrow.svg.js +1 -1
- package/lib/icons/role.svg.js +1 -1
- package/lib/icons/rotate-left.svg.js +1 -1
- package/lib/icons/rotate-right.svg.js +1 -1
- package/lib/icons/scale-origin.svg.js +1 -1
- package/lib/icons/schedule.svg.js +1 -1
- package/lib/icons/search.svg.js +1 -1
- package/lib/icons/setting.svg.js +1 -1
- package/lib/icons/slider-handle-icon.svg.js +1 -1
- package/lib/icons/sort-asc.svg.js +1 -1
- package/lib/icons/sort-default.svg.js +1 -1
- package/lib/icons/sort-desc.svg.js +1 -1
- package/lib/icons/star.svg.js +1 -1
- package/lib/icons/status-close.svg.js +1 -1
- package/lib/icons/steps-finsh.svg.js +1 -1
- package/lib/icons/success.svg.js +1 -1
- package/lib/icons/transparent.svg.js +1 -1
- package/lib/icons/trash.svg.js +1 -1
- package/lib/icons/tree-down.svg.js +1 -1
- package/lib/icons/undo.svg.js +1 -1
- package/lib/icons/upload.svg.js +1 -1
- package/lib/icons/user-remove.svg.js +1 -1
- package/lib/icons/view.svg.js +1 -1
- package/lib/icons/volume.svg.js +1 -1
- package/lib/icons/warning-mark.svg.js +1 -1
- package/lib/icons/warning.svg.js +1 -1
- package/lib/icons/window-restore.svg.js +1 -1
- package/lib/icons/zoom-in.svg.js +1 -1
- package/lib/icons/zoom-out.svg.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/de-DE.js +2 -1
- package/lib/locale/en-US.js +2 -1
- package/lib/locale/zh-CN.js +2 -1
- package/lib/scss/helper.scss.js +1 -1
- package/lib/scss/themes/ang.scss.js +1 -1
- package/lib/scss/themes/antd.scss.js +1 -1
- package/lib/scss/themes/cxd.scss.js +1 -1
- package/lib/scss/themes/dark.scss.js +1 -1
- package/lib/scss/themes/default.scss.js +1 -1
- package/lib/themes/ang.css +264 -139
- package/lib/themes/ang.js +1 -1
- package/lib/themes/antd.css +264 -139
- package/lib/themes/antd.js +1 -1
- package/lib/themes/cxd.css +264 -139
- package/lib/themes/cxd.js +1 -1
- package/lib/themes/dark.css +264 -139
- package/lib/themes/dark.js +1 -1
- package/lib/themes/default.css +264 -139
- package/package.json +4 -4
- package/scss/_components.scss +9 -2
- package/scss/_properties.scss +3 -0
- package/scss/components/_cards.scss +1 -0
- package/scss/components/_collapse.scss +31 -1
- package/scss/components/_divider.scss +37 -2
- package/scss/components/_formula.scss +2 -1
- package/scss/components/_image-gallery.scss +10 -0
- package/scss/components/_list.scss +1 -0
- package/scss/components/_menu.scss +6 -3
- package/scss/components/_modal.scss +5 -5
- package/scss/components/_nav.scss +26 -0
- package/scss/components/_page.scss +13 -0
- package/scss/components/_panel.scss +3 -13
- package/scss/components/_result-box.scss +8 -0
- package/scss/components/_table.scss +20 -1
- package/scss/components/_table2.scss +4 -15
- package/scss/components/form/_combo.scss +9 -2
- package/scss/components/form/_file.scss +2 -0
- package/scss/components/form/_icon-select.scss +0 -1
- package/scss/components/form/_list.scss +15 -0
- package/scss/components/form/_result-list.scss +1 -0
- package/scss/components/form/_selection.scss +7 -0
- package/scss/components/form/_textarea.scss +5 -5
- package/scss/components/form/_tree.scss +1 -1
- package/scss/layout/_layout.scss +2 -0
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
* @file Table
|
|
3
3
|
* @author fex
|
|
4
4
|
*/
|
|
5
|
+
/// <reference types="lodash" />
|
|
5
6
|
/// <reference types="hoist-non-react-statics" />
|
|
6
7
|
import React from 'react';
|
|
7
8
|
import Sortable from 'sortablejs';
|
|
@@ -112,6 +113,7 @@ export interface TableProps extends ThemeProps, LocaleProps, SpinnerExtraProps {
|
|
|
112
113
|
rowClassName?: Function;
|
|
113
114
|
lineHeight?: string;
|
|
114
115
|
showHeader?: boolean;
|
|
116
|
+
tableLayout?: string;
|
|
115
117
|
onSelect?: Function;
|
|
116
118
|
onSelectAll?: Function;
|
|
117
119
|
itemActions?: Function;
|
|
@@ -125,7 +127,14 @@ export interface TableState {
|
|
|
125
127
|
selectedRowKeys: Array<string | number>;
|
|
126
128
|
dataSource: Array<any>;
|
|
127
129
|
expandedRowKeys: Array<string | number>;
|
|
128
|
-
colWidths:
|
|
130
|
+
colWidths: {
|
|
131
|
+
[name: string]: {
|
|
132
|
+
width: number;
|
|
133
|
+
realWidth: number;
|
|
134
|
+
minWidth: number;
|
|
135
|
+
originWidth: number;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
129
138
|
hoverRow: {
|
|
130
139
|
rowIndex?: number;
|
|
131
140
|
record: any;
|
|
@@ -142,6 +151,7 @@ export declare class Table extends React.PureComponent<TableProps, TableState> {
|
|
|
142
151
|
indentSize: number;
|
|
143
152
|
placeholder: string;
|
|
144
153
|
showHeader: boolean;
|
|
154
|
+
tableLayout: string;
|
|
145
155
|
};
|
|
146
156
|
constructor(props: TableProps);
|
|
147
157
|
getPopOverContainer(): HTMLElement;
|
|
@@ -161,6 +171,8 @@ export declare class Table extends React.PureComponent<TableProps, TableState> {
|
|
|
161
171
|
headerDom: React.RefObject<HTMLDivElement>;
|
|
162
172
|
tfootDom: React.RefObject<HTMLTableSectionElement>;
|
|
163
173
|
footDom: React.RefObject<HTMLDivElement>;
|
|
174
|
+
toDispose: Array<() => void>;
|
|
175
|
+
updateTableInfoLazy: import("lodash").DebouncedFunc<any>;
|
|
164
176
|
getSelectedRows(dataSource: Array<any>, selectedRowKeys: Array<string | number>): {
|
|
165
177
|
selectedRows: any[];
|
|
166
178
|
unSelectedRows: any[];
|
|
@@ -180,7 +192,7 @@ export declare class Table extends React.PureComponent<TableProps, TableState> {
|
|
|
180
192
|
updateSummaryFixedRow(children: HTMLCollection | Array<Element>, columns: Array<any>): void;
|
|
181
193
|
updateFootSummaryFixedRow(tfoot: HTMLElement): void;
|
|
182
194
|
updateHeadSummaryFixedRow(tbody: HTMLElement): void;
|
|
183
|
-
renderColGroup(): React.JSX.Element;
|
|
195
|
+
renderColGroup(showReal?: boolean): React.JSX.Element;
|
|
184
196
|
onResizeMouseDown(event: any, index: number): void;
|
|
185
197
|
onResizeMouseMove(event: any): void;
|
|
186
198
|
onResizeMouseUp(event: MouseEvent): void;
|
|
@@ -221,18 +233,20 @@ export declare class Table extends React.PureComponent<TableProps, TableState> {
|
|
|
221
233
|
renderScrollTableFoot(): React.JSX.Element;
|
|
222
234
|
renderScrollTable(): React.JSX.Element;
|
|
223
235
|
syncTableWidth(): void;
|
|
224
|
-
|
|
236
|
+
initTableWidth(): void;
|
|
237
|
+
updateTableInfo(): void;
|
|
225
238
|
render(): React.JSX.Element;
|
|
226
239
|
}
|
|
227
240
|
declare const _default: {
|
|
228
|
-
new (props: Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
241
|
+
new (props: Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
229
242
|
title?: Function | React.ReactNode;
|
|
230
243
|
className?: string | undefined;
|
|
231
|
-
columns?: ColumnProps[] | undefined;
|
|
232
244
|
placeholder?: Function | React.ReactNode;
|
|
245
|
+
columns?: ColumnProps[] | undefined;
|
|
233
246
|
dataSource?: any[] | undefined;
|
|
234
247
|
indentSize?: number | undefined;
|
|
235
248
|
showHeader?: boolean | undefined;
|
|
249
|
+
tableLayout?: string | undefined;
|
|
236
250
|
} & {} & {
|
|
237
251
|
locale?: string | undefined;
|
|
238
252
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -242,27 +256,29 @@ declare const _default: {
|
|
|
242
256
|
getWrappedInstance(): any;
|
|
243
257
|
render(): React.JSX.Element;
|
|
244
258
|
context: unknown;
|
|
245
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
259
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
246
260
|
title?: Function | React.ReactNode;
|
|
247
261
|
className?: string | undefined;
|
|
248
|
-
columns?: ColumnProps[] | undefined;
|
|
249
262
|
placeholder?: Function | React.ReactNode;
|
|
263
|
+
columns?: ColumnProps[] | undefined;
|
|
250
264
|
dataSource?: any[] | undefined;
|
|
251
265
|
indentSize?: number | undefined;
|
|
252
266
|
showHeader?: boolean | undefined;
|
|
267
|
+
tableLayout?: string | undefined;
|
|
253
268
|
} & {} & {
|
|
254
269
|
locale?: string | undefined;
|
|
255
270
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
256
271
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
257
272
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
258
|
-
readonly props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
273
|
+
readonly props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
259
274
|
title?: Function | React.ReactNode;
|
|
260
275
|
className?: string | undefined;
|
|
261
|
-
columns?: ColumnProps[] | undefined;
|
|
262
276
|
placeholder?: Function | React.ReactNode;
|
|
277
|
+
columns?: ColumnProps[] | undefined;
|
|
263
278
|
dataSource?: any[] | undefined;
|
|
264
279
|
indentSize?: number | undefined;
|
|
265
280
|
showHeader?: boolean | undefined;
|
|
281
|
+
tableLayout?: string | undefined;
|
|
266
282
|
} & {} & {
|
|
267
283
|
locale?: string | undefined;
|
|
268
284
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -272,90 +288,97 @@ declare const _default: {
|
|
|
272
288
|
[key: string]: React.ReactInstance;
|
|
273
289
|
};
|
|
274
290
|
componentDidMount?(): void;
|
|
275
|
-
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
291
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
276
292
|
title?: Function | React.ReactNode;
|
|
277
293
|
className?: string | undefined;
|
|
278
|
-
columns?: ColumnProps[] | undefined;
|
|
279
294
|
placeholder?: Function | React.ReactNode;
|
|
295
|
+
columns?: ColumnProps[] | undefined;
|
|
280
296
|
dataSource?: any[] | undefined;
|
|
281
297
|
indentSize?: number | undefined;
|
|
282
298
|
showHeader?: boolean | undefined;
|
|
299
|
+
tableLayout?: string | undefined;
|
|
283
300
|
} & {} & {
|
|
284
301
|
locale?: string | undefined;
|
|
285
302
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
286
303
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
287
304
|
componentWillUnmount?(): void;
|
|
288
305
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
289
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
306
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
290
307
|
title?: Function | React.ReactNode;
|
|
291
308
|
className?: string | undefined;
|
|
292
|
-
columns?: ColumnProps[] | undefined;
|
|
293
309
|
placeholder?: Function | React.ReactNode;
|
|
310
|
+
columns?: ColumnProps[] | undefined;
|
|
294
311
|
dataSource?: any[] | undefined;
|
|
295
312
|
indentSize?: number | undefined;
|
|
296
313
|
showHeader?: boolean | undefined;
|
|
314
|
+
tableLayout?: string | undefined;
|
|
297
315
|
} & {} & {
|
|
298
316
|
locale?: string | undefined;
|
|
299
317
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
300
318
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>): any;
|
|
301
|
-
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
319
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
302
320
|
title?: Function | React.ReactNode;
|
|
303
321
|
className?: string | undefined;
|
|
304
|
-
columns?: ColumnProps[] | undefined;
|
|
305
322
|
placeholder?: Function | React.ReactNode;
|
|
323
|
+
columns?: ColumnProps[] | undefined;
|
|
306
324
|
dataSource?: any[] | undefined;
|
|
307
325
|
indentSize?: number | undefined;
|
|
308
326
|
showHeader?: boolean | undefined;
|
|
327
|
+
tableLayout?: string | undefined;
|
|
309
328
|
} & {} & {
|
|
310
329
|
locale?: string | undefined;
|
|
311
330
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
312
331
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
313
332
|
componentWillMount?(): void;
|
|
314
333
|
UNSAFE_componentWillMount?(): void;
|
|
315
|
-
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
334
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
316
335
|
title?: Function | React.ReactNode;
|
|
317
336
|
className?: string | undefined;
|
|
318
|
-
columns?: ColumnProps[] | undefined;
|
|
319
337
|
placeholder?: Function | React.ReactNode;
|
|
338
|
+
columns?: ColumnProps[] | undefined;
|
|
320
339
|
dataSource?: any[] | undefined;
|
|
321
340
|
indentSize?: number | undefined;
|
|
322
341
|
showHeader?: boolean | undefined;
|
|
342
|
+
tableLayout?: string | undefined;
|
|
323
343
|
} & {} & {
|
|
324
344
|
locale?: string | undefined;
|
|
325
345
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
326
346
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
327
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
347
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
328
348
|
title?: Function | React.ReactNode;
|
|
329
349
|
className?: string | undefined;
|
|
330
|
-
columns?: ColumnProps[] | undefined;
|
|
331
350
|
placeholder?: Function | React.ReactNode;
|
|
351
|
+
columns?: ColumnProps[] | undefined;
|
|
332
352
|
dataSource?: any[] | undefined;
|
|
333
353
|
indentSize?: number | undefined;
|
|
334
354
|
showHeader?: boolean | undefined;
|
|
355
|
+
tableLayout?: string | undefined;
|
|
335
356
|
} & {} & {
|
|
336
357
|
locale?: string | undefined;
|
|
337
358
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
338
359
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextContext: any): void;
|
|
339
|
-
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
360
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
340
361
|
title?: Function | React.ReactNode;
|
|
341
362
|
className?: string | undefined;
|
|
342
|
-
columns?: ColumnProps[] | undefined;
|
|
343
363
|
placeholder?: Function | React.ReactNode;
|
|
364
|
+
columns?: ColumnProps[] | undefined;
|
|
344
365
|
dataSource?: any[] | undefined;
|
|
345
366
|
indentSize?: number | undefined;
|
|
346
367
|
showHeader?: boolean | undefined;
|
|
368
|
+
tableLayout?: string | undefined;
|
|
347
369
|
} & {} & {
|
|
348
370
|
locale?: string | undefined;
|
|
349
371
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
350
372
|
}, keyof ThemeProps> & import("packages/amis-core/lib/theme").ThemeOuterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
351
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
373
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
352
374
|
title?: Function | React.ReactNode;
|
|
353
375
|
className?: string | undefined;
|
|
354
|
-
columns?: ColumnProps[] | undefined;
|
|
355
376
|
placeholder?: Function | React.ReactNode;
|
|
377
|
+
columns?: ColumnProps[] | undefined;
|
|
356
378
|
dataSource?: any[] | undefined;
|
|
357
379
|
indentSize?: number | undefined;
|
|
358
380
|
showHeader?: boolean | undefined;
|
|
381
|
+
tableLayout?: string | undefined;
|
|
359
382
|
} & {} & {
|
|
360
383
|
locale?: string | undefined;
|
|
361
384
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -364,14 +387,15 @@ declare const _default: {
|
|
|
364
387
|
displayName: string;
|
|
365
388
|
contextType: React.Context<string>;
|
|
366
389
|
ComposedComponent: React.ComponentType<{
|
|
367
|
-
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
390
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
368
391
|
title?: Function | React.ReactNode;
|
|
369
392
|
className?: string | undefined;
|
|
370
|
-
columns?: ColumnProps[] | undefined;
|
|
371
393
|
placeholder?: Function | React.ReactNode;
|
|
394
|
+
columns?: ColumnProps[] | undefined;
|
|
372
395
|
dataSource?: any[] | undefined;
|
|
373
396
|
indentSize?: number | undefined;
|
|
374
397
|
showHeader?: boolean | undefined;
|
|
398
|
+
tableLayout?: string | undefined;
|
|
375
399
|
} & {} & {
|
|
376
400
|
locale?: string | undefined;
|
|
377
401
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -381,27 +405,29 @@ declare const _default: {
|
|
|
381
405
|
getWrappedInstance(): any;
|
|
382
406
|
render(): React.JSX.Element;
|
|
383
407
|
context: unknown;
|
|
384
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
408
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
385
409
|
title?: Function | React.ReactNode;
|
|
386
410
|
className?: string | undefined;
|
|
387
|
-
columns?: ColumnProps[] | undefined;
|
|
388
411
|
placeholder?: Function | React.ReactNode;
|
|
412
|
+
columns?: ColumnProps[] | undefined;
|
|
389
413
|
dataSource?: any[] | undefined;
|
|
390
414
|
indentSize?: number | undefined;
|
|
391
415
|
showHeader?: boolean | undefined;
|
|
416
|
+
tableLayout?: string | undefined;
|
|
392
417
|
} & {} & {
|
|
393
418
|
locale?: string | undefined;
|
|
394
419
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
395
420
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
396
421
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
397
|
-
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
422
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
398
423
|
title?: Function | React.ReactNode;
|
|
399
424
|
className?: string | undefined;
|
|
400
|
-
columns?: ColumnProps[] | undefined;
|
|
401
425
|
placeholder?: Function | React.ReactNode;
|
|
426
|
+
columns?: ColumnProps[] | undefined;
|
|
402
427
|
dataSource?: any[] | undefined;
|
|
403
428
|
indentSize?: number | undefined;
|
|
404
429
|
showHeader?: boolean | undefined;
|
|
430
|
+
tableLayout?: string | undefined;
|
|
405
431
|
} & {} & {
|
|
406
432
|
locale?: string | undefined;
|
|
407
433
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -411,90 +437,97 @@ declare const _default: {
|
|
|
411
437
|
[key: string]: React.ReactInstance;
|
|
412
438
|
};
|
|
413
439
|
componentDidMount?(): void;
|
|
414
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
440
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
415
441
|
title?: Function | React.ReactNode;
|
|
416
442
|
className?: string | undefined;
|
|
417
|
-
columns?: ColumnProps[] | undefined;
|
|
418
443
|
placeholder?: Function | React.ReactNode;
|
|
444
|
+
columns?: ColumnProps[] | undefined;
|
|
419
445
|
dataSource?: any[] | undefined;
|
|
420
446
|
indentSize?: number | undefined;
|
|
421
447
|
showHeader?: boolean | undefined;
|
|
448
|
+
tableLayout?: string | undefined;
|
|
422
449
|
} & {} & {
|
|
423
450
|
locale?: string | undefined;
|
|
424
451
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
425
452
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
426
453
|
componentWillUnmount?(): void;
|
|
427
454
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
428
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
455
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
429
456
|
title?: Function | React.ReactNode;
|
|
430
457
|
className?: string | undefined;
|
|
431
|
-
columns?: ColumnProps[] | undefined;
|
|
432
458
|
placeholder?: Function | React.ReactNode;
|
|
459
|
+
columns?: ColumnProps[] | undefined;
|
|
433
460
|
dataSource?: any[] | undefined;
|
|
434
461
|
indentSize?: number | undefined;
|
|
435
462
|
showHeader?: boolean | undefined;
|
|
463
|
+
tableLayout?: string | undefined;
|
|
436
464
|
} & {} & {
|
|
437
465
|
locale?: string | undefined;
|
|
438
466
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
439
467
|
}>, prevState: Readonly<{}>): any;
|
|
440
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
468
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
441
469
|
title?: Function | React.ReactNode;
|
|
442
470
|
className?: string | undefined;
|
|
443
|
-
columns?: ColumnProps[] | undefined;
|
|
444
471
|
placeholder?: Function | React.ReactNode;
|
|
472
|
+
columns?: ColumnProps[] | undefined;
|
|
445
473
|
dataSource?: any[] | undefined;
|
|
446
474
|
indentSize?: number | undefined;
|
|
447
475
|
showHeader?: boolean | undefined;
|
|
476
|
+
tableLayout?: string | undefined;
|
|
448
477
|
} & {} & {
|
|
449
478
|
locale?: string | undefined;
|
|
450
479
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
451
480
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
452
481
|
componentWillMount?(): void;
|
|
453
482
|
UNSAFE_componentWillMount?(): void;
|
|
454
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
483
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
455
484
|
title?: Function | React.ReactNode;
|
|
456
485
|
className?: string | undefined;
|
|
457
|
-
columns?: ColumnProps[] | undefined;
|
|
458
486
|
placeholder?: Function | React.ReactNode;
|
|
487
|
+
columns?: ColumnProps[] | undefined;
|
|
459
488
|
dataSource?: any[] | undefined;
|
|
460
489
|
indentSize?: number | undefined;
|
|
461
490
|
showHeader?: boolean | undefined;
|
|
491
|
+
tableLayout?: string | undefined;
|
|
462
492
|
} & {} & {
|
|
463
493
|
locale?: string | undefined;
|
|
464
494
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
465
495
|
}>, nextContext: any): void;
|
|
466
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
496
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
467
497
|
title?: Function | React.ReactNode;
|
|
468
498
|
className?: string | undefined;
|
|
469
|
-
columns?: ColumnProps[] | undefined;
|
|
470
499
|
placeholder?: Function | React.ReactNode;
|
|
500
|
+
columns?: ColumnProps[] | undefined;
|
|
471
501
|
dataSource?: any[] | undefined;
|
|
472
502
|
indentSize?: number | undefined;
|
|
473
503
|
showHeader?: boolean | undefined;
|
|
504
|
+
tableLayout?: string | undefined;
|
|
474
505
|
} & {} & {
|
|
475
506
|
locale?: string | undefined;
|
|
476
507
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
477
508
|
}>, nextContext: any): void;
|
|
478
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
509
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
479
510
|
title?: Function | React.ReactNode;
|
|
480
511
|
className?: string | undefined;
|
|
481
|
-
columns?: ColumnProps[] | undefined;
|
|
482
512
|
placeholder?: Function | React.ReactNode;
|
|
513
|
+
columns?: ColumnProps[] | undefined;
|
|
483
514
|
dataSource?: any[] | undefined;
|
|
484
515
|
indentSize?: number | undefined;
|
|
485
516
|
showHeader?: boolean | undefined;
|
|
517
|
+
tableLayout?: string | undefined;
|
|
486
518
|
} & {} & {
|
|
487
519
|
locale?: string | undefined;
|
|
488
520
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
489
521
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
490
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
522
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
491
523
|
title?: Function | React.ReactNode;
|
|
492
524
|
className?: string | undefined;
|
|
493
|
-
columns?: ColumnProps[] | undefined;
|
|
494
525
|
placeholder?: Function | React.ReactNode;
|
|
526
|
+
columns?: ColumnProps[] | undefined;
|
|
495
527
|
dataSource?: any[] | undefined;
|
|
496
528
|
indentSize?: number | undefined;
|
|
497
529
|
showHeader?: boolean | undefined;
|
|
530
|
+
tableLayout?: string | undefined;
|
|
498
531
|
} & {} & {
|
|
499
532
|
locale?: string | undefined;
|
|
500
533
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -507,14 +540,15 @@ declare const _default: {
|
|
|
507
540
|
ComposedComponent: typeof Table;
|
|
508
541
|
}>;
|
|
509
542
|
} & import("hoist-non-react-statics").NonReactStatics<{
|
|
510
|
-
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
543
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
511
544
|
title?: Function | React.ReactNode;
|
|
512
545
|
className?: string | undefined;
|
|
513
|
-
columns?: ColumnProps[] | undefined;
|
|
514
546
|
placeholder?: Function | React.ReactNode;
|
|
547
|
+
columns?: ColumnProps[] | undefined;
|
|
515
548
|
dataSource?: any[] | undefined;
|
|
516
549
|
indentSize?: number | undefined;
|
|
517
550
|
showHeader?: boolean | undefined;
|
|
551
|
+
tableLayout?: string | undefined;
|
|
518
552
|
} & {} & {
|
|
519
553
|
locale?: string | undefined;
|
|
520
554
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -524,27 +558,29 @@ declare const _default: {
|
|
|
524
558
|
getWrappedInstance(): any;
|
|
525
559
|
render(): React.JSX.Element;
|
|
526
560
|
context: unknown;
|
|
527
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
561
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
528
562
|
title?: Function | React.ReactNode;
|
|
529
563
|
className?: string | undefined;
|
|
530
|
-
columns?: ColumnProps[] | undefined;
|
|
531
564
|
placeholder?: Function | React.ReactNode;
|
|
565
|
+
columns?: ColumnProps[] | undefined;
|
|
532
566
|
dataSource?: any[] | undefined;
|
|
533
567
|
indentSize?: number | undefined;
|
|
534
568
|
showHeader?: boolean | undefined;
|
|
569
|
+
tableLayout?: string | undefined;
|
|
535
570
|
} & {} & {
|
|
536
571
|
locale?: string | undefined;
|
|
537
572
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
538
573
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
539
574
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
540
|
-
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
575
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
541
576
|
title?: Function | React.ReactNode;
|
|
542
577
|
className?: string | undefined;
|
|
543
|
-
columns?: ColumnProps[] | undefined;
|
|
544
578
|
placeholder?: Function | React.ReactNode;
|
|
579
|
+
columns?: ColumnProps[] | undefined;
|
|
545
580
|
dataSource?: any[] | undefined;
|
|
546
581
|
indentSize?: number | undefined;
|
|
547
582
|
showHeader?: boolean | undefined;
|
|
583
|
+
tableLayout?: string | undefined;
|
|
548
584
|
} & {} & {
|
|
549
585
|
locale?: string | undefined;
|
|
550
586
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -554,90 +590,97 @@ declare const _default: {
|
|
|
554
590
|
[key: string]: React.ReactInstance;
|
|
555
591
|
};
|
|
556
592
|
componentDidMount?(): void;
|
|
557
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
593
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
558
594
|
title?: Function | React.ReactNode;
|
|
559
595
|
className?: string | undefined;
|
|
560
|
-
columns?: ColumnProps[] | undefined;
|
|
561
596
|
placeholder?: Function | React.ReactNode;
|
|
597
|
+
columns?: ColumnProps[] | undefined;
|
|
562
598
|
dataSource?: any[] | undefined;
|
|
563
599
|
indentSize?: number | undefined;
|
|
564
600
|
showHeader?: boolean | undefined;
|
|
601
|
+
tableLayout?: string | undefined;
|
|
565
602
|
} & {} & {
|
|
566
603
|
locale?: string | undefined;
|
|
567
604
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
568
605
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
569
606
|
componentWillUnmount?(): void;
|
|
570
607
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
571
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
608
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
572
609
|
title?: Function | React.ReactNode;
|
|
573
610
|
className?: string | undefined;
|
|
574
|
-
columns?: ColumnProps[] | undefined;
|
|
575
611
|
placeholder?: Function | React.ReactNode;
|
|
612
|
+
columns?: ColumnProps[] | undefined;
|
|
576
613
|
dataSource?: any[] | undefined;
|
|
577
614
|
indentSize?: number | undefined;
|
|
578
615
|
showHeader?: boolean | undefined;
|
|
616
|
+
tableLayout?: string | undefined;
|
|
579
617
|
} & {} & {
|
|
580
618
|
locale?: string | undefined;
|
|
581
619
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
582
620
|
}>, prevState: Readonly<{}>): any;
|
|
583
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
621
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
584
622
|
title?: Function | React.ReactNode;
|
|
585
623
|
className?: string | undefined;
|
|
586
|
-
columns?: ColumnProps[] | undefined;
|
|
587
624
|
placeholder?: Function | React.ReactNode;
|
|
625
|
+
columns?: ColumnProps[] | undefined;
|
|
588
626
|
dataSource?: any[] | undefined;
|
|
589
627
|
indentSize?: number | undefined;
|
|
590
628
|
showHeader?: boolean | undefined;
|
|
629
|
+
tableLayout?: string | undefined;
|
|
591
630
|
} & {} & {
|
|
592
631
|
locale?: string | undefined;
|
|
593
632
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
594
633
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
595
634
|
componentWillMount?(): void;
|
|
596
635
|
UNSAFE_componentWillMount?(): void;
|
|
597
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
636
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
598
637
|
title?: Function | React.ReactNode;
|
|
599
638
|
className?: string | undefined;
|
|
600
|
-
columns?: ColumnProps[] | undefined;
|
|
601
639
|
placeholder?: Function | React.ReactNode;
|
|
640
|
+
columns?: ColumnProps[] | undefined;
|
|
602
641
|
dataSource?: any[] | undefined;
|
|
603
642
|
indentSize?: number | undefined;
|
|
604
643
|
showHeader?: boolean | undefined;
|
|
644
|
+
tableLayout?: string | undefined;
|
|
605
645
|
} & {} & {
|
|
606
646
|
locale?: string | undefined;
|
|
607
647
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
608
648
|
}>, nextContext: any): void;
|
|
609
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
649
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
610
650
|
title?: Function | React.ReactNode;
|
|
611
651
|
className?: string | undefined;
|
|
612
|
-
columns?: ColumnProps[] | undefined;
|
|
613
652
|
placeholder?: Function | React.ReactNode;
|
|
653
|
+
columns?: ColumnProps[] | undefined;
|
|
614
654
|
dataSource?: any[] | undefined;
|
|
615
655
|
indentSize?: number | undefined;
|
|
616
656
|
showHeader?: boolean | undefined;
|
|
657
|
+
tableLayout?: string | undefined;
|
|
617
658
|
} & {} & {
|
|
618
659
|
locale?: string | undefined;
|
|
619
660
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
620
661
|
}>, nextContext: any): void;
|
|
621
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
662
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
622
663
|
title?: Function | React.ReactNode;
|
|
623
664
|
className?: string | undefined;
|
|
624
|
-
columns?: ColumnProps[] | undefined;
|
|
625
665
|
placeholder?: Function | React.ReactNode;
|
|
666
|
+
columns?: ColumnProps[] | undefined;
|
|
626
667
|
dataSource?: any[] | undefined;
|
|
627
668
|
indentSize?: number | undefined;
|
|
628
669
|
showHeader?: boolean | undefined;
|
|
670
|
+
tableLayout?: string | undefined;
|
|
629
671
|
} & {} & {
|
|
630
672
|
locale?: string | undefined;
|
|
631
673
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
632
674
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
633
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
675
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
634
676
|
title?: Function | React.ReactNode;
|
|
635
677
|
className?: string | undefined;
|
|
636
|
-
columns?: ColumnProps[] | undefined;
|
|
637
678
|
placeholder?: Function | React.ReactNode;
|
|
679
|
+
columns?: ColumnProps[] | undefined;
|
|
638
680
|
dataSource?: any[] | undefined;
|
|
639
681
|
indentSize?: number | undefined;
|
|
640
682
|
showHeader?: boolean | undefined;
|
|
683
|
+
tableLayout?: string | undefined;
|
|
641
684
|
} & {} & {
|
|
642
685
|
locale?: string | undefined;
|
|
643
686
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -650,14 +693,15 @@ declare const _default: {
|
|
|
650
693
|
ComposedComponent: typeof Table;
|
|
651
694
|
}, {}> & {
|
|
652
695
|
ComposedComponent: {
|
|
653
|
-
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
696
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
654
697
|
title?: Function | React.ReactNode;
|
|
655
698
|
className?: string | undefined;
|
|
656
|
-
columns?: ColumnProps[] | undefined;
|
|
657
699
|
placeholder?: Function | React.ReactNode;
|
|
700
|
+
columns?: ColumnProps[] | undefined;
|
|
658
701
|
dataSource?: any[] | undefined;
|
|
659
702
|
indentSize?: number | undefined;
|
|
660
703
|
showHeader?: boolean | undefined;
|
|
704
|
+
tableLayout?: string | undefined;
|
|
661
705
|
} & {} & {
|
|
662
706
|
locale?: string | undefined;
|
|
663
707
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -667,27 +711,29 @@ declare const _default: {
|
|
|
667
711
|
getWrappedInstance(): any;
|
|
668
712
|
render(): React.JSX.Element;
|
|
669
713
|
context: unknown;
|
|
670
|
-
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
714
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
671
715
|
title?: Function | React.ReactNode;
|
|
672
716
|
className?: string | undefined;
|
|
673
|
-
columns?: ColumnProps[] | undefined;
|
|
674
717
|
placeholder?: Function | React.ReactNode;
|
|
718
|
+
columns?: ColumnProps[] | undefined;
|
|
675
719
|
dataSource?: any[] | undefined;
|
|
676
720
|
indentSize?: number | undefined;
|
|
677
721
|
showHeader?: boolean | undefined;
|
|
722
|
+
tableLayout?: string | undefined;
|
|
678
723
|
} & {} & {
|
|
679
724
|
locale?: string | undefined;
|
|
680
725
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
681
726
|
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
|
682
727
|
forceUpdate(callback?: (() => void) | undefined): void;
|
|
683
|
-
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
728
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
684
729
|
title?: Function | React.ReactNode;
|
|
685
730
|
className?: string | undefined;
|
|
686
|
-
columns?: ColumnProps[] | undefined;
|
|
687
731
|
placeholder?: Function | React.ReactNode;
|
|
732
|
+
columns?: ColumnProps[] | undefined;
|
|
688
733
|
dataSource?: any[] | undefined;
|
|
689
734
|
indentSize?: number | undefined;
|
|
690
735
|
showHeader?: boolean | undefined;
|
|
736
|
+
tableLayout?: string | undefined;
|
|
691
737
|
} & {} & {
|
|
692
738
|
locale?: string | undefined;
|
|
693
739
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
@@ -697,90 +743,97 @@ declare const _default: {
|
|
|
697
743
|
[key: string]: React.ReactInstance;
|
|
698
744
|
};
|
|
699
745
|
componentDidMount?(): void;
|
|
700
|
-
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
746
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
701
747
|
title?: Function | React.ReactNode;
|
|
702
748
|
className?: string | undefined;
|
|
703
|
-
columns?: ColumnProps[] | undefined;
|
|
704
749
|
placeholder?: Function | React.ReactNode;
|
|
750
|
+
columns?: ColumnProps[] | undefined;
|
|
705
751
|
dataSource?: any[] | undefined;
|
|
706
752
|
indentSize?: number | undefined;
|
|
707
753
|
showHeader?: boolean | undefined;
|
|
754
|
+
tableLayout?: string | undefined;
|
|
708
755
|
} & {} & {
|
|
709
756
|
locale?: string | undefined;
|
|
710
757
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
711
758
|
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
712
759
|
componentWillUnmount?(): void;
|
|
713
760
|
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
714
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
761
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
715
762
|
title?: Function | React.ReactNode;
|
|
716
763
|
className?: string | undefined;
|
|
717
|
-
columns?: ColumnProps[] | undefined;
|
|
718
764
|
placeholder?: Function | React.ReactNode;
|
|
765
|
+
columns?: ColumnProps[] | undefined;
|
|
719
766
|
dataSource?: any[] | undefined;
|
|
720
767
|
indentSize?: number | undefined;
|
|
721
768
|
showHeader?: boolean | undefined;
|
|
769
|
+
tableLayout?: string | undefined;
|
|
722
770
|
} & {} & {
|
|
723
771
|
locale?: string | undefined;
|
|
724
772
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
725
773
|
}>, prevState: Readonly<{}>): any;
|
|
726
|
-
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
774
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
727
775
|
title?: Function | React.ReactNode;
|
|
728
776
|
className?: string | undefined;
|
|
729
|
-
columns?: ColumnProps[] | undefined;
|
|
730
777
|
placeholder?: Function | React.ReactNode;
|
|
778
|
+
columns?: ColumnProps[] | undefined;
|
|
731
779
|
dataSource?: any[] | undefined;
|
|
732
780
|
indentSize?: number | undefined;
|
|
733
781
|
showHeader?: boolean | undefined;
|
|
782
|
+
tableLayout?: string | undefined;
|
|
734
783
|
} & {} & {
|
|
735
784
|
locale?: string | undefined;
|
|
736
785
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
737
786
|
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
738
787
|
componentWillMount?(): void;
|
|
739
788
|
UNSAFE_componentWillMount?(): void;
|
|
740
|
-
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
789
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
741
790
|
title?: Function | React.ReactNode;
|
|
742
791
|
className?: string | undefined;
|
|
743
|
-
columns?: ColumnProps[] | undefined;
|
|
744
792
|
placeholder?: Function | React.ReactNode;
|
|
793
|
+
columns?: ColumnProps[] | undefined;
|
|
745
794
|
dataSource?: any[] | undefined;
|
|
746
795
|
indentSize?: number | undefined;
|
|
747
796
|
showHeader?: boolean | undefined;
|
|
797
|
+
tableLayout?: string | undefined;
|
|
748
798
|
} & {} & {
|
|
749
799
|
locale?: string | undefined;
|
|
750
800
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
751
801
|
}>, nextContext: any): void;
|
|
752
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
802
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
753
803
|
title?: Function | React.ReactNode;
|
|
754
804
|
className?: string | undefined;
|
|
755
|
-
columns?: ColumnProps[] | undefined;
|
|
756
805
|
placeholder?: Function | React.ReactNode;
|
|
806
|
+
columns?: ColumnProps[] | undefined;
|
|
757
807
|
dataSource?: any[] | undefined;
|
|
758
808
|
indentSize?: number | undefined;
|
|
759
809
|
showHeader?: boolean | undefined;
|
|
810
|
+
tableLayout?: string | undefined;
|
|
760
811
|
} & {} & {
|
|
761
812
|
locale?: string | undefined;
|
|
762
813
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
763
814
|
}>, nextContext: any): void;
|
|
764
|
-
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
815
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
765
816
|
title?: Function | React.ReactNode;
|
|
766
817
|
className?: string | undefined;
|
|
767
|
-
columns?: ColumnProps[] | undefined;
|
|
768
818
|
placeholder?: Function | React.ReactNode;
|
|
819
|
+
columns?: ColumnProps[] | undefined;
|
|
769
820
|
dataSource?: any[] | undefined;
|
|
770
821
|
indentSize?: number | undefined;
|
|
771
822
|
showHeader?: boolean | undefined;
|
|
823
|
+
tableLayout?: string | undefined;
|
|
772
824
|
} & {} & {
|
|
773
825
|
locale?: string | undefined;
|
|
774
826
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
|
775
827
|
}>, nextState: Readonly<{}>, nextContext: any): void;
|
|
776
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "
|
|
828
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "sticky" | "footer" | "style" | "scroll" | "size" | "classnames" | "classPrefix" | "theme" | "mobileUI" | "draggable" | "loading" | "onDrag" | "onSelect" | "loadingConfig" | "onRef" | "resizable" | "onSelectAll" | "rowSelection" | "onSort" | "expandable" | "bordered" | "headSummary" | "footSummary" | "onFilter" | "childrenColumnName" | "keyField" | "onRow" | "rowClassName" | "lineHeight" | "itemActions"> & {
|
|
777
829
|
title?: Function | React.ReactNode;
|
|
778
830
|
className?: string | undefined;
|
|
779
|
-
columns?: ColumnProps[] | undefined;
|
|
780
831
|
placeholder?: Function | React.ReactNode;
|
|
832
|
+
columns?: ColumnProps[] | undefined;
|
|
781
833
|
dataSource?: any[] | undefined;
|
|
782
834
|
indentSize?: number | undefined;
|
|
783
835
|
showHeader?: boolean | undefined;
|
|
836
|
+
tableLayout?: string | undefined;
|
|
784
837
|
} & {} & {
|
|
785
838
|
locale?: string | undefined;
|
|
786
839
|
translate?: ((str: string, ...args: any[]) => string) | undefined;
|