amis 1.9.0-beta.12 → 1.9.0-beta.15
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/lib/Schema.d.ts +4 -2
- package/lib/Schema.js.map +1 -1
- package/lib/SchemaRenderer.d.ts +2 -2
- package/lib/SchemaRenderer.js +3 -3
- package/lib/SchemaRenderer.js.map +2 -2
- package/lib/actions/Action.d.ts +8 -6
- package/lib/actions/Action.js.map +2 -2
- package/lib/actions/AjaxAction.d.ts +10 -7
- package/lib/actions/AjaxAction.js +27 -21
- package/lib/actions/AjaxAction.js.map +2 -2
- package/lib/actions/BreakAction.d.ts +2 -2
- package/lib/actions/BreakAction.js.map +1 -1
- package/lib/actions/BroadcastAction.d.ts +3 -3
- package/lib/actions/BroadcastAction.js +3 -2
- package/lib/actions/BroadcastAction.js.map +2 -2
- package/lib/actions/CmptAction.d.ts +2 -2
- package/lib/actions/CmptAction.js +7 -9
- package/lib/actions/CmptAction.js.map +2 -2
- package/lib/actions/ContinueAction.d.ts +2 -2
- package/lib/actions/ContinueAction.js.map +1 -1
- package/lib/actions/CopyAction.d.ts +7 -4
- package/lib/actions/CopyAction.js +8 -6
- package/lib/actions/CopyAction.js.map +2 -2
- package/lib/actions/CustomAction.d.ts +2 -2
- package/lib/actions/CustomAction.js.map +1 -1
- package/lib/actions/DialogAction.d.ts +14 -8
- package/lib/actions/DialogAction.js +6 -6
- package/lib/actions/DialogAction.js.map +2 -2
- package/lib/actions/DrawerAction.d.ts +3 -3
- package/lib/actions/DrawerAction.js.map +1 -1
- package/lib/actions/EmailAction.d.ts +10 -7
- package/lib/actions/EmailAction.js +4 -5
- package/lib/actions/EmailAction.js.map +2 -2
- package/lib/actions/LinkAction.d.ts +19 -11
- package/lib/actions/LinkAction.js +6 -5
- package/lib/actions/LinkAction.js.map +2 -2
- package/lib/actions/LoopAction.d.ts +6 -3
- package/lib/actions/LoopAction.js +22 -20
- package/lib/actions/LoopAction.js.map +2 -2
- package/lib/actions/PageAction.d.ts +8 -5
- package/lib/actions/PageAction.js +3 -2
- package/lib/actions/PageAction.js.map +2 -2
- package/lib/actions/ParallelAction.d.ts +2 -2
- package/lib/actions/ParallelAction.js.map +1 -1
- package/lib/actions/SwitchAction.d.ts +2 -2
- package/lib/actions/SwitchAction.js.map +1 -1
- package/lib/actions/ToastAction.d.ts +2 -2
- package/lib/actions/ToastAction.js +6 -4
- package/lib/actions/ToastAction.js.map +2 -2
- package/lib/components/Editor.d.ts +84 -84
- package/lib/components/InputBox.js +1 -1
- package/lib/components/InputBox.js.map +2 -2
- package/lib/components/Pagination.d.ts +1175 -0
- package/lib/components/Pagination.js +274 -0
- package/lib/components/Pagination.js.map +13 -0
- package/lib/components/PickerContainer.d.ts +1 -0
- package/lib/components/PickerContainer.js +3 -2
- package/lib/components/PickerContainer.js.map +2 -2
- package/lib/components/Rating.js +11 -9
- package/lib/components/Rating.js.map +2 -2
- package/lib/components/Select.js +3 -3
- package/lib/components/Select.js.map +2 -2
- package/lib/components/Tag.d.ts +148 -0
- package/lib/components/Tag.js +96 -0
- package/lib/components/Tag.js.map +13 -0
- package/lib/components/TooltipWrapper.d.ts +25 -21
- package/lib/components/TooltipWrapper.js +11 -1
- package/lib/components/TooltipWrapper.js.map +2 -2
- package/lib/components/TransferDropDown.d.ts +85 -84
- package/lib/components/TransferDropDown.js +2 -2
- package/lib/components/TransferDropDown.js.map +2 -2
- package/lib/components/Tree.d.ts +84 -84
- package/lib/components/formula/VariableList.d.ts +1 -0
- package/lib/components/formula/VariableList.js.map +2 -2
- package/lib/components/icons.js +2 -0
- package/lib/components/icons.js.map +2 -2
- package/lib/components/index.d.ts +4 -1
- package/lib/components/index.js +7 -1
- package/lib/components/index.js.map +2 -2
- package/lib/components/schema-editor/Array.d.ts +11 -0
- package/lib/components/schema-editor/Array.js +66 -0
- package/lib/components/schema-editor/Array.js.map +13 -0
- package/lib/components/schema-editor/Common.d.ts +29 -0
- package/lib/components/schema-editor/Common.js +69 -0
- package/lib/components/schema-editor/Common.js.map +13 -0
- package/lib/components/schema-editor/Item.d.ts +9 -0
- package/lib/components/schema-editor/Item.js +31 -0
- package/lib/components/schema-editor/Item.js.map +13 -0
- package/lib/components/schema-editor/Object.d.ts +44 -0
- package/lib/components/schema-editor/Object.js +191 -0
- package/lib/components/schema-editor/Object.js.map +13 -0
- package/lib/components/schema-editor/SchemaVariableList.d.ts +316 -0
- package/lib/components/schema-editor/SchemaVariableList.js +74 -0
- package/lib/components/schema-editor/SchemaVariableList.js.map +13 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.d.ts +305 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.js +32 -0
- package/lib/components/schema-editor/SchemaVariableListPicker.js.map +13 -0
- package/lib/components/schema-editor/index.d.ts +520 -0
- package/lib/components/schema-editor/index.js +118 -0
- package/lib/components/schema-editor/index.js.map +13 -0
- package/lib/components/table/Cell.d.ts +930 -0
- package/lib/components/table/Cell.js +36 -0
- package/lib/components/table/Cell.js.map +13 -0
- package/lib/components/table/HeadCellDropDown.d.ts +514 -0
- package/lib/components/table/HeadCellDropDown.js +52 -0
- package/lib/components/table/HeadCellDropDown.js.map +13 -0
- package/lib/components/table/HeadCellFilter.d.ts +771 -0
- package/lib/components/table/HeadCellFilter.js +106 -0
- package/lib/components/table/HeadCellFilter.js.map +13 -0
- package/lib/components/table/HeadCellSelect.d.ts +672 -0
- package/lib/components/table/HeadCellSelect.js +46 -0
- package/lib/components/table/HeadCellSelect.js.map +13 -0
- package/lib/components/table/HeadCellSort.d.ts +498 -0
- package/lib/components/table/HeadCellSort.js +67 -0
- package/lib/components/table/HeadCellSort.js.map +13 -0
- package/lib/components/table/index.d.ts +1355 -0
- package/lib/components/table/index.js +1095 -0
- package/lib/components/table/index.js.map +13 -0
- package/lib/env.d.ts +2 -4
- package/lib/env.js.map +2 -2
- package/lib/factory.js +0 -95
- package/lib/factory.js.map +2 -2
- package/lib/icons/dot.js +11 -0
- package/lib/index.d.ts +6 -1
- package/lib/index.js +9 -2
- package/lib/index.js.map +2 -2
- package/lib/locale/de-DE.js +18 -1
- package/lib/locale/de-DE.js.map +2 -2
- package/lib/locale/en-US.js +18 -1
- package/lib/locale/en-US.js.map +2 -2
- package/lib/locale/zh-CN.js +20 -1
- package/lib/locale/zh-CN.js.map +2 -2
- package/lib/renderers/Action.js +0 -2
- package/lib/renderers/Action.js.map +2 -2
- package/lib/renderers/Carousel.d.ts +5 -1
- package/lib/renderers/Carousel.js +18 -5
- package/lib/renderers/Carousel.js.map +2 -2
- package/lib/renderers/Form/ButtonGroupSelect.d.ts +2 -0
- package/lib/renderers/Form/ButtonGroupSelect.js +7 -0
- package/lib/renderers/Form/ButtonGroupSelect.js.map +2 -2
- package/lib/renderers/Form/Checkbox.js +3 -4
- package/lib/renderers/Form/Checkbox.js.map +2 -2
- package/lib/renderers/Form/Checkboxes.d.ts +2 -1
- package/lib/renderers/Form/Checkboxes.js +19 -14
- package/lib/renderers/Form/Checkboxes.js.map +2 -2
- package/lib/renderers/Form/Combo.js +23 -4
- package/lib/renderers/Form/Combo.js.map +2 -2
- package/lib/renderers/Form/DiffEditor.d.ts +126 -18
- package/lib/renderers/Form/Editor.d.ts +412 -112
- package/lib/renderers/Form/Editor.js +10 -1
- package/lib/renderers/Form/Editor.js.map +2 -2
- package/lib/renderers/Form/InputExcel.js +6 -1
- package/lib/renderers/Form/InputExcel.js.map +2 -2
- package/lib/renderers/Form/InputFile.js +1 -2
- package/lib/renderers/Form/InputFile.js.map +2 -2
- package/lib/renderers/Form/InputTree.js +1 -1
- package/lib/renderers/Form/InputTree.js.map +2 -2
- package/lib/renderers/Form/Item.d.ts +0 -6
- package/lib/renderers/Form/JSONSchemaEditor.d.ts +41 -0
- package/lib/renderers/Form/JSONSchemaEditor.js +33 -0
- package/lib/renderers/Form/JSONSchemaEditor.js.map +13 -0
- package/lib/renderers/Form/ListSelect.d.ts +2 -0
- package/lib/renderers/Form/ListSelect.js +7 -0
- package/lib/renderers/Form/ListSelect.js.map +2 -2
- package/lib/renderers/Form/Options.js +1 -0
- package/lib/renderers/Form/Options.js.map +2 -2
- package/lib/renderers/Form/Select.js +12 -1
- package/lib/renderers/Form/Select.js.map +2 -2
- package/lib/renderers/Form/TabsTransfer.d.ts +1 -1
- package/lib/renderers/Form/TabsTransfer.js +2 -2
- package/lib/renderers/Form/TabsTransfer.js.map +2 -2
- package/lib/renderers/Form/TreeSelect.d.ts +4 -0
- package/lib/renderers/Form/TreeSelect.js +2 -2
- package/lib/renderers/Form/TreeSelect.js.map +2 -2
- package/lib/renderers/Form/wrapControl.js +10 -5
- package/lib/renderers/Form/wrapControl.js.map +2 -2
- package/lib/renderers/Pagination.d.ts +49 -30
- package/lib/renderers/Pagination.js +3 -132
- package/lib/renderers/Pagination.js.map +2 -2
- package/lib/renderers/Table/HeadCellSearchDropdown.js +0 -1
- package/lib/renderers/Table/HeadCellSearchDropdown.js.map +2 -2
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.d.ts +29 -0
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.js +158 -0
- package/lib/renderers/Table-v2/HeadCellSearchDropdown.js.map +13 -0
- package/lib/renderers/Table-v2/TableCell.d.ts +6 -0
- package/lib/renderers/Table-v2/TableCell.js +28 -0
- package/lib/renderers/Table-v2/TableCell.js.map +13 -0
- package/lib/renderers/Table-v2/index.d.ts +256 -0
- package/lib/renderers/Table-v2/index.js +548 -0
- package/lib/renderers/Table-v2/index.js.map +13 -0
- package/lib/renderers/Tabs.js +1 -1
- package/lib/renderers/Tabs.js.map +2 -2
- package/lib/renderers/Tag.d.ts +66 -0
- package/lib/renderers/Tag.js +53 -0
- package/lib/renderers/Tag.js.map +13 -0
- package/lib/renderers/Wizard.js +3 -3
- package/lib/renderers/Wizard.js.map +2 -2
- package/lib/schemaExtend.js +24 -30
- package/lib/schemaExtend.js.map +2 -2
- package/lib/store/combo.d.ts +140 -20
- package/lib/store/form.d.ts +56 -8
- package/lib/store/formItem.d.ts +3 -1
- package/lib/store/formItem.js +3 -1
- package/lib/store/formItem.js.map +2 -2
- package/lib/store/index.js +2 -0
- package/lib/store/index.js.map +2 -2
- package/lib/store/table-v2.d.ts +308 -0
- package/lib/store/table-v2.js +452 -0
- package/lib/store/table-v2.js.map +13 -0
- package/lib/store/table.d.ts +112 -16
- package/lib/store/table.js +1 -1
- package/lib/store/table.js.map +2 -2
- package/lib/themes/ang-ie11.css +1686 -120
- package/lib/themes/ang.css +1807 -208
- package/lib/themes/ang.css.map +1 -1
- package/lib/themes/antd-ie11.css +1667 -101
- package/lib/themes/antd.css +1789 -201
- package/lib/themes/antd.css.map +1 -1
- package/lib/themes/cxd-ie11.css +1662 -97
- package/lib/themes/cxd.css +1983 -394
- package/lib/themes/cxd.css.map +1 -1
- package/lib/themes/dark-ie11.css +1667 -101
- package/lib/themes/dark.css +1789 -201
- package/lib/themes/dark.css.map +1 -1
- package/lib/themes/default-ie11.css +1662 -97
- package/lib/themes/default.css +1983 -394
- package/lib/themes/default.css.map +1 -1
- package/lib/utils/DataSchema.d.ts +25 -0
- package/lib/utils/DataSchema.js +104 -0
- package/lib/utils/DataSchema.js.map +13 -0
- package/lib/utils/DataScope.d.ts +23 -0
- package/lib/utils/DataScope.js +140 -0
- package/lib/utils/DataScope.js.map +13 -0
- package/lib/utils/handleAction.js +1 -1
- package/lib/utils/handleAction.js.map +2 -2
- package/lib/utils/renderer-event.d.ts +8 -2
- package/lib/utils/renderer-event.js +102 -1
- package/lib/utils/renderer-event.js.map +2 -2
- package/package.json +3 -2
- package/schema.json +1476 -469
- package/scss/_properties.scss +69 -0
- package/scss/components/_button.scss +37 -39
- package/scss/components/_context-menu.scss +3 -18
- package/scss/components/_json-schema-editor.scss +126 -0
- package/scss/components/_pagination.scss +104 -23
- package/scss/components/_result-box.scss +2 -2
- package/scss/components/_table-v2.scss +912 -0
- package/scss/components/_tag.scss +177 -0
- package/scss/components/form/_selection.scss +1 -14
- package/scss/components/form/_text.scss +1 -1
- package/scss/themes/_antd-variables.scss +0 -13
- package/scss/themes/_common.scss +3 -0
- package/scss/themes/_cxd-variables.scss +7 -17
- package/scss/themes/_dark-variables.scss +0 -13
- package/scss/themes/cxd.scss +1 -1
- package/sdk/ang-ie11.css +2240 -227
- package/sdk/ang.css +2905 -859
- package/sdk/antd-ie11.css +2233 -220
- package/sdk/antd.css +2905 -870
- package/sdk/barcode.js +51 -51
- package/sdk/charts.js +14 -14
- package/sdk/codemirror.js +7 -7
- package/sdk/color-picker.js +65 -65
- package/sdk/cropperjs.js +2 -2
- package/sdk/cxd-ie11.css +2223 -211
- package/sdk/cxd.css +2911 -875
- package/sdk/dark-ie11.css +2233 -220
- package/sdk/dark.css +2905 -870
- package/sdk/exceljs.js +1 -1
- package/sdk/locale/de-DE.js +18 -1
- package/sdk/markdown.js +69 -69
- package/sdk/papaparse.js +1 -1
- package/sdk/renderers/Form/CityDB.js +1 -1
- package/sdk/rest.js +16 -16
- package/sdk/rich-text.js +62 -62
- package/sdk/sdk-ie11.css +2223 -211
- package/sdk/sdk.css +2911 -875
- package/sdk/sdk.js +1326 -1270
- package/sdk/thirds/hls.js/hls.js +1 -1
- package/sdk/thirds/mpegts.js/mpegts.js +1 -1
- package/sdk/tinymce.js +57 -57
- package/src/Schema.ts +7 -0
- package/src/SchemaRenderer.tsx +4 -5
- package/src/actions/Action.ts +7 -6
- package/src/actions/AjaxAction.ts +33 -24
- package/src/actions/BreakAction.ts +2 -2
- package/src/actions/BroadcastAction.ts +6 -5
- package/src/actions/CmptAction.ts +5 -6
- package/src/actions/ContinueAction.ts +2 -2
- package/src/actions/CopyAction.ts +14 -8
- package/src/actions/CustomAction.ts +2 -2
- package/src/actions/DialogAction.ts +16 -10
- package/src/actions/DrawerAction.ts +3 -3
- package/src/actions/EmailAction.ts +12 -12
- package/src/actions/LinkAction.ts +34 -14
- package/src/actions/LoopAction.ts +13 -8
- package/src/actions/PageAction.ts +9 -6
- package/src/actions/ParallelAction.ts +2 -2
- package/src/actions/SwitchAction.ts +2 -2
- package/src/actions/ToastAction.ts +9 -5
- package/src/components/InputBox.tsx +1 -0
- package/src/components/Pagination.tsx +446 -0
- package/src/components/PickerContainer.tsx +8 -5
- package/src/components/Rating.tsx +16 -9
- package/src/components/Select.tsx +3 -3
- package/src/components/Tag.tsx +179 -0
- package/src/components/TooltipWrapper.tsx +14 -1
- package/src/components/TransferDropDown.tsx +3 -0
- package/src/components/formula/VariableList.tsx +1 -0
- package/src/components/icons.tsx +2 -0
- package/src/components/index.tsx +7 -1
- package/src/components/schema-editor/Array.tsx +95 -0
- package/src/components/schema-editor/Common.tsx +138 -0
- package/src/components/schema-editor/Item.tsx +36 -0
- package/src/components/schema-editor/Object.tsx +299 -0
- package/src/components/schema-editor/SchemaVariableList.tsx +97 -0
- package/src/components/schema-editor/SchemaVariableListPicker.tsx +66 -0
- package/src/components/schema-editor/index.tsx +211 -0
- package/src/components/table/Cell.tsx +70 -0
- package/src/components/table/HeadCellDropDown.tsx +115 -0
- package/src/components/table/HeadCellFilter.tsx +193 -0
- package/src/components/table/HeadCellSelect.tsx +86 -0
- package/src/components/table/HeadCellSort.tsx +102 -0
- package/src/components/table/index.tsx +1681 -0
- package/src/env.tsx +7 -14
- package/src/factory.tsx +3 -106
- package/src/icons/dot.svg +11 -0
- package/src/index.tsx +8 -1
- package/src/locale/de-DE.ts +18 -1
- package/src/locale/en-US.ts +18 -1
- package/src/locale/zh-CN.ts +20 -1
- package/src/renderers/Action.tsx +1 -1
- package/src/renderers/Carousel.tsx +21 -6
- package/src/renderers/Form/ButtonGroupSelect.tsx +10 -1
- package/src/renderers/Form/Checkbox.tsx +4 -4
- package/src/renderers/Form/Checkboxes.tsx +31 -25
- package/src/renderers/Form/Combo.tsx +20 -4
- package/src/renderers/Form/Editor.tsx +15 -1
- package/src/renderers/Form/InputExcel.tsx +6 -1
- package/src/renderers/Form/InputFile.tsx +1 -2
- package/src/renderers/Form/InputTree.tsx +1 -1
- package/src/renderers/Form/JSONSchemaEditor.tsx +67 -0
- package/src/renderers/Form/ListSelect.tsx +9 -1
- package/src/renderers/Form/Options.tsx +1 -1
- package/src/renderers/Form/Select.tsx +7 -0
- package/src/renderers/Form/TabsTransfer.tsx +2 -2
- package/src/renderers/Form/TreeSelect.tsx +8 -1
- package/src/renderers/Form/wrapControl.tsx +11 -5
- package/src/renderers/Pagination.tsx +65 -253
- package/src/renderers/Table/HeadCellSearchDropdown.tsx +0 -1
- package/src/renderers/Table-v2/HeadCellSearchDropdown.tsx +244 -0
- package/src/renderers/Table-v2/TableCell.tsx +19 -0
- package/src/renderers/Table-v2/index.tsx +1140 -0
- package/src/renderers/Tabs.tsx +1 -1
- package/src/renderers/Tag.tsx +128 -0
- package/src/renderers/Wizard.tsx +3 -3
- package/src/schemaExtend.ts +24 -28
- package/src/store/formItem.ts +5 -1
- package/src/store/index.ts +2 -0
- package/src/store/table-v2.ts +646 -0
- package/src/store/table.ts +1 -1
- package/src/utils/DataSchema.ts +131 -0
- package/src/utils/DataScope.ts +190 -0
- package/src/utils/handleAction.ts +1 -1
- package/src/utils/renderer-event.ts +113 -2
@@ -0,0 +1,1355 @@
|
|
1
|
+
/**
|
2
|
+
* @file Table
|
3
|
+
* @author fex
|
4
|
+
*/
|
5
|
+
/// <reference types="hoist-non-react-statics" />
|
6
|
+
import React from 'react';
|
7
|
+
import Sortable from 'sortablejs';
|
8
|
+
import { ClassNamesFn, ThemeProps } from '../../theme';
|
9
|
+
import { LocaleProps } from '../../locale';
|
10
|
+
export interface ColumnProps {
|
11
|
+
title: string | React.ReactNode | Function;
|
12
|
+
key: string;
|
13
|
+
className?: string;
|
14
|
+
children?: Array<ColumnProps>;
|
15
|
+
render: Function;
|
16
|
+
fixed?: boolean | string;
|
17
|
+
width?: number | string;
|
18
|
+
sorter?: (a: any, b: any) => number | boolean;
|
19
|
+
sortOrder?: string;
|
20
|
+
filters?: Array<any>;
|
21
|
+
filterMode?: string;
|
22
|
+
filterMultiple?: boolean;
|
23
|
+
filteredValue?: Array<string>;
|
24
|
+
filtered?: boolean;
|
25
|
+
filterDropdown?: Function | React.ReactNode;
|
26
|
+
align?: string;
|
27
|
+
breakpoint?: '*' | 'xs' | 'sm' | 'md' | 'lg';
|
28
|
+
}
|
29
|
+
export interface ThProps extends ColumnProps {
|
30
|
+
rowSpan: number;
|
31
|
+
colSpan: number;
|
32
|
+
groupId: string;
|
33
|
+
depth: number;
|
34
|
+
}
|
35
|
+
export interface TdProps extends ColumnProps {
|
36
|
+
rowSpan: number;
|
37
|
+
colSpan: number;
|
38
|
+
groupId: string;
|
39
|
+
}
|
40
|
+
export interface RowSelectionOptionProps {
|
41
|
+
key: string;
|
42
|
+
text: string;
|
43
|
+
onSelect: Function;
|
44
|
+
}
|
45
|
+
export interface RowSelectionProps {
|
46
|
+
type: string;
|
47
|
+
rowClick: boolean;
|
48
|
+
fixed: boolean;
|
49
|
+
selectedRowKeys: Array<string | number>;
|
50
|
+
keyField?: string;
|
51
|
+
columnWidth?: number;
|
52
|
+
selections?: Array<RowSelectionOptionProps>;
|
53
|
+
onChange?: Function;
|
54
|
+
onSelect?: Function;
|
55
|
+
onSelectAll?: Function;
|
56
|
+
getCheckboxProps: Function;
|
57
|
+
}
|
58
|
+
export interface ExpandableProps {
|
59
|
+
expandedRowKeys?: Array<string | number>;
|
60
|
+
keyField: string;
|
61
|
+
columnWidth?: number;
|
62
|
+
rowExpandable: Function;
|
63
|
+
defaultExpandedRowKeys?: Array<string | number>;
|
64
|
+
onExpand?: Function;
|
65
|
+
onExpandedRowsChange?: Function;
|
66
|
+
expandedRowRender?: Function;
|
67
|
+
expandedRowClassName?: Function;
|
68
|
+
expandIcon?: Function;
|
69
|
+
fixed?: boolean;
|
70
|
+
}
|
71
|
+
export interface SummaryProps {
|
72
|
+
colSpan: number;
|
73
|
+
fixed: string | boolean;
|
74
|
+
render: Function | React.ReactNode;
|
75
|
+
}
|
76
|
+
export interface OnRowProps {
|
77
|
+
onRowMouseEnter?: Function;
|
78
|
+
onRowMouseLeave?: Function;
|
79
|
+
onRowClick?: Function;
|
80
|
+
}
|
81
|
+
export interface TableProps extends ThemeProps, LocaleProps {
|
82
|
+
title: string | React.ReactNode | Function;
|
83
|
+
footer: string | React.ReactNode | Function;
|
84
|
+
className?: string;
|
85
|
+
dataSource: Array<any>;
|
86
|
+
classnames: ClassNamesFn;
|
87
|
+
columns: Array<ColumnProps>;
|
88
|
+
scroll?: ScrollProps;
|
89
|
+
rowSelection?: RowSelectionProps;
|
90
|
+
onSort?: Function;
|
91
|
+
expandable?: ExpandableProps;
|
92
|
+
bordered?: boolean;
|
93
|
+
size?: string;
|
94
|
+
headSummary?: Function | React.ReactNode | Array<SummaryProps | Array<SummaryProps>>;
|
95
|
+
footSummary?: Function | React.ReactNode | Array<SummaryProps | Array<SummaryProps>>;
|
96
|
+
draggable?: boolean;
|
97
|
+
onDrag?: Function;
|
98
|
+
resizable?: boolean;
|
99
|
+
placeholder?: string | React.ReactNode | Function;
|
100
|
+
loading?: boolean | string | React.ReactNode;
|
101
|
+
sticky?: boolean;
|
102
|
+
onFilter?: Function;
|
103
|
+
childrenColumnName?: string;
|
104
|
+
keyField?: string;
|
105
|
+
indentSize: number;
|
106
|
+
onRow?: OnRowProps;
|
107
|
+
rowClassName?: Function;
|
108
|
+
lineHeight?: string;
|
109
|
+
showHeader?: boolean;
|
110
|
+
}
|
111
|
+
export interface ScrollProps {
|
112
|
+
x: number | string | true;
|
113
|
+
y: number | string;
|
114
|
+
}
|
115
|
+
export interface TableState {
|
116
|
+
selectedRowKeys: Array<string | number>;
|
117
|
+
dataSource: Array<any>;
|
118
|
+
expandedRowKeys: Array<string | number>;
|
119
|
+
colWidths: Array<number>;
|
120
|
+
}
|
121
|
+
export declare class Table extends React.PureComponent<TableProps, TableState> {
|
122
|
+
static defaultProps: {
|
123
|
+
title: string;
|
124
|
+
className: string;
|
125
|
+
dataSource: never[];
|
126
|
+
columns: never[];
|
127
|
+
indentSize: number;
|
128
|
+
placeholder: string;
|
129
|
+
showHeader: boolean;
|
130
|
+
};
|
131
|
+
constructor(props: TableProps);
|
132
|
+
getPopOverContainer(): Element | Text | null;
|
133
|
+
thColumns: Array<Array<ThProps>>;
|
134
|
+
tdColumns: Array<TdProps>;
|
135
|
+
selectedRows: Array<any>;
|
136
|
+
sortable: Sortable;
|
137
|
+
resizeStart: number;
|
138
|
+
resizeKey: string;
|
139
|
+
tableDom: React.RefObject<HTMLDivElement>;
|
140
|
+
theadDom: React.RefObject<HTMLTableSectionElement>;
|
141
|
+
tbodyDom: React.RefObject<HTMLTableSectionElement>;
|
142
|
+
contentDom: React.RefObject<HTMLDivElement>;
|
143
|
+
headerDom: React.RefObject<HTMLDivElement>;
|
144
|
+
bodyDom: React.RefObject<HTMLDivElement>;
|
145
|
+
tfootDom: React.RefObject<HTMLTableSectionElement>;
|
146
|
+
footDom: React.RefObject<HTMLDivElement>;
|
147
|
+
getColWidths(): any[];
|
148
|
+
getSelectedRows(dataSource: Array<any>, selectedRowKeys: Array<string | number>): any[];
|
149
|
+
updateTableBodyFixed(): void;
|
150
|
+
updateColWidths(): void;
|
151
|
+
componentDidMount(): void;
|
152
|
+
componentDidUpdate(prevProps: TableProps, prevState: TableState): void;
|
153
|
+
componentWillUnmount(): void;
|
154
|
+
exchange(fromIndex: number, toIndex: number, item: any): void;
|
155
|
+
initDragging(): void;
|
156
|
+
destroyDragging(): void;
|
157
|
+
updateStickyHeader(): void;
|
158
|
+
updateFixedRow(row: HTMLElement, columns: Array<ColumnProps>): void;
|
159
|
+
prependColumns(columns: Array<any>): void;
|
160
|
+
updateTheadFixedRow(thead: HTMLElement, columns: Array<any>): void;
|
161
|
+
updateTbodyFixedRow(tbody: HTMLElement, columns: Array<any>): void;
|
162
|
+
updateSummaryFixedRow(children: HTMLCollection | Array<Element>, columns: Array<any>): void;
|
163
|
+
updateFootSummaryFixedRow(tfoot: HTMLElement): void;
|
164
|
+
updateHeadSummaryFixedRow(tbody: HTMLElement): void;
|
165
|
+
renderColGroup(colWidths?: Array<number>): JSX.Element;
|
166
|
+
onResizeMouseDown(event: React.MouseEvent<any>, key: string): void;
|
167
|
+
onResizeMouseUp(event: React.MouseEvent<any>): void;
|
168
|
+
renderTHead(): JSX.Element;
|
169
|
+
onRowClick(event: React.ChangeEvent<any>, record?: any, rowIndex?: number): void;
|
170
|
+
onRowMouseEnter(event: React.ChangeEvent<any>, record?: any, rowIndex?: number): void;
|
171
|
+
onRowMouseLeave(event: React.ChangeEvent<any>, record?: any, rowIndex?: number): void;
|
172
|
+
onExpandRow(data: any): void;
|
173
|
+
onCollapseRow(data: any): void;
|
174
|
+
getChildrenColumnName(): string;
|
175
|
+
getRowSelectionKeyField(): string;
|
176
|
+
getExpandableKeyField(): string;
|
177
|
+
hasChildrenRow(data: any): any;
|
178
|
+
isExpandableRow(data: any, rowIndex: number): any;
|
179
|
+
getDataChildrenKeys(data: any): string[];
|
180
|
+
hasCheckedRows(data: any): boolean;
|
181
|
+
hasCheckedChildrenRows(data: any): boolean;
|
182
|
+
getExpandedIcons(isExpanded: boolean, record: any): JSX.Element;
|
183
|
+
selectedSingleRow(value: boolean, data: any): void;
|
184
|
+
renderRow(data: any, rowIndex: number, levels: Array<number>): any[];
|
185
|
+
renderTBody(): JSX.Element;
|
186
|
+
isExpandableTable(): boolean;
|
187
|
+
isNestedTable(): boolean;
|
188
|
+
getExtraColumnCount(): number;
|
189
|
+
renderSummaryRow(summary: any): any;
|
190
|
+
renderTFoot(): JSX.Element;
|
191
|
+
updateTableDom(dom: HTMLElement): void;
|
192
|
+
onTableContentScroll(event: React.ChangeEvent<any>): void;
|
193
|
+
onWheel(event: WheelEvent): void;
|
194
|
+
onTableScroll(event: {
|
195
|
+
target: HTMLDivElement;
|
196
|
+
scrollLeft?: number;
|
197
|
+
}): void;
|
198
|
+
renderLoading(): JSX.Element;
|
199
|
+
renderTable(): JSX.Element;
|
200
|
+
renderScrollTableHeader(): JSX.Element;
|
201
|
+
renderScrollTableBody(): JSX.Element;
|
202
|
+
renderScrollTableFoot(): JSX.Element;
|
203
|
+
renderScrollTable(): JSX.Element;
|
204
|
+
render(): JSX.Element;
|
205
|
+
}
|
206
|
+
declare const _default: {
|
207
|
+
new (props: (Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
208
|
+
title: string;
|
209
|
+
className: string;
|
210
|
+
dataSource: never[];
|
211
|
+
columns: never[];
|
212
|
+
indentSize: number;
|
213
|
+
placeholder: string;
|
214
|
+
showHeader: boolean;
|
215
|
+
}, never>> & {
|
216
|
+
locale?: string | undefined;
|
217
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
218
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps) | Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
219
|
+
title: string;
|
220
|
+
className: string;
|
221
|
+
dataSource: never[];
|
222
|
+
columns: never[];
|
223
|
+
indentSize: number;
|
224
|
+
placeholder: string;
|
225
|
+
showHeader: boolean;
|
226
|
+
}, never>> & {
|
227
|
+
locale?: string | undefined;
|
228
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
229
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>): {
|
230
|
+
render(): JSX.Element;
|
231
|
+
context: any;
|
232
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
233
|
+
title: string;
|
234
|
+
className: string;
|
235
|
+
dataSource: never[];
|
236
|
+
columns: never[];
|
237
|
+
indentSize: number;
|
238
|
+
placeholder: string;
|
239
|
+
showHeader: boolean;
|
240
|
+
}, never>> & {
|
241
|
+
locale?: string | undefined;
|
242
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
243
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
244
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
245
|
+
readonly props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
246
|
+
title: string;
|
247
|
+
className: string;
|
248
|
+
dataSource: never[];
|
249
|
+
columns: never[];
|
250
|
+
indentSize: number;
|
251
|
+
placeholder: string;
|
252
|
+
showHeader: boolean;
|
253
|
+
}, never>> & {
|
254
|
+
locale?: string | undefined;
|
255
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
256
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
257
|
+
children?: React.ReactNode;
|
258
|
+
}>;
|
259
|
+
state: Readonly<{}>;
|
260
|
+
refs: {
|
261
|
+
[key: string]: React.ReactInstance;
|
262
|
+
};
|
263
|
+
componentDidMount?(): void;
|
264
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
265
|
+
title: string;
|
266
|
+
className: string;
|
267
|
+
dataSource: never[];
|
268
|
+
columns: never[];
|
269
|
+
indentSize: number;
|
270
|
+
placeholder: string;
|
271
|
+
showHeader: boolean;
|
272
|
+
}, never>> & {
|
273
|
+
locale?: string | undefined;
|
274
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
275
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
276
|
+
componentWillUnmount?(): void;
|
277
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
278
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
279
|
+
title: string;
|
280
|
+
className: string;
|
281
|
+
dataSource: never[];
|
282
|
+
columns: never[];
|
283
|
+
indentSize: number;
|
284
|
+
placeholder: string;
|
285
|
+
showHeader: boolean;
|
286
|
+
}, never>> & {
|
287
|
+
locale?: string | undefined;
|
288
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
289
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
290
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
291
|
+
title: string;
|
292
|
+
className: string;
|
293
|
+
dataSource: never[];
|
294
|
+
columns: never[];
|
295
|
+
indentSize: number;
|
296
|
+
placeholder: string;
|
297
|
+
showHeader: boolean;
|
298
|
+
}, never>> & {
|
299
|
+
locale?: string | undefined;
|
300
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
301
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
302
|
+
componentWillMount?(): void;
|
303
|
+
UNSAFE_componentWillMount?(): void;
|
304
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
305
|
+
title: string;
|
306
|
+
className: string;
|
307
|
+
dataSource: never[];
|
308
|
+
columns: never[];
|
309
|
+
indentSize: number;
|
310
|
+
placeholder: string;
|
311
|
+
showHeader: boolean;
|
312
|
+
}, never>> & {
|
313
|
+
locale?: string | undefined;
|
314
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
315
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
316
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
317
|
+
title: string;
|
318
|
+
className: string;
|
319
|
+
dataSource: never[];
|
320
|
+
columns: never[];
|
321
|
+
indentSize: number;
|
322
|
+
placeholder: string;
|
323
|
+
showHeader: boolean;
|
324
|
+
}, never>> & {
|
325
|
+
locale?: string | undefined;
|
326
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
327
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
328
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
329
|
+
title: string;
|
330
|
+
className: string;
|
331
|
+
dataSource: never[];
|
332
|
+
columns: never[];
|
333
|
+
indentSize: number;
|
334
|
+
placeholder: string;
|
335
|
+
showHeader: boolean;
|
336
|
+
}, never>> & {
|
337
|
+
locale?: string | undefined;
|
338
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
339
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
340
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
341
|
+
title: string;
|
342
|
+
className: string;
|
343
|
+
dataSource: never[];
|
344
|
+
columns: never[];
|
345
|
+
indentSize: number;
|
346
|
+
placeholder: string;
|
347
|
+
showHeader: boolean;
|
348
|
+
}, never>> & {
|
349
|
+
locale?: string | undefined;
|
350
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
351
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
352
|
+
};
|
353
|
+
new (props: Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
354
|
+
title: string;
|
355
|
+
className: string;
|
356
|
+
dataSource: never[];
|
357
|
+
columns: never[];
|
358
|
+
indentSize: number;
|
359
|
+
placeholder: string;
|
360
|
+
showHeader: boolean;
|
361
|
+
}, never>> & {
|
362
|
+
locale?: string | undefined;
|
363
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
364
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps, context: any): {
|
365
|
+
render(): JSX.Element;
|
366
|
+
context: any;
|
367
|
+
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
368
|
+
title: string;
|
369
|
+
className: string;
|
370
|
+
dataSource: never[];
|
371
|
+
columns: never[];
|
372
|
+
indentSize: number;
|
373
|
+
placeholder: string;
|
374
|
+
showHeader: boolean;
|
375
|
+
}, never>> & {
|
376
|
+
locale?: string | undefined;
|
377
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
378
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
379
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
380
|
+
readonly props: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
381
|
+
title: string;
|
382
|
+
className: string;
|
383
|
+
dataSource: never[];
|
384
|
+
columns: never[];
|
385
|
+
indentSize: number;
|
386
|
+
placeholder: string;
|
387
|
+
showHeader: boolean;
|
388
|
+
}, never>> & {
|
389
|
+
locale?: string | undefined;
|
390
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
391
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps> & Readonly<{
|
392
|
+
children?: React.ReactNode;
|
393
|
+
}>;
|
394
|
+
state: Readonly<{}>;
|
395
|
+
refs: {
|
396
|
+
[key: string]: React.ReactInstance;
|
397
|
+
};
|
398
|
+
componentDidMount?(): void;
|
399
|
+
shouldComponentUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
400
|
+
title: string;
|
401
|
+
className: string;
|
402
|
+
dataSource: never[];
|
403
|
+
columns: never[];
|
404
|
+
indentSize: number;
|
405
|
+
placeholder: string;
|
406
|
+
showHeader: boolean;
|
407
|
+
}, never>> & {
|
408
|
+
locale?: string | undefined;
|
409
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
410
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
411
|
+
componentWillUnmount?(): void;
|
412
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
413
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
414
|
+
title: string;
|
415
|
+
className: string;
|
416
|
+
dataSource: never[];
|
417
|
+
columns: never[];
|
418
|
+
indentSize: number;
|
419
|
+
placeholder: string;
|
420
|
+
showHeader: boolean;
|
421
|
+
}, never>> & {
|
422
|
+
locale?: string | undefined;
|
423
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
424
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>): any;
|
425
|
+
componentDidUpdate?(prevProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
426
|
+
title: string;
|
427
|
+
className: string;
|
428
|
+
dataSource: never[];
|
429
|
+
columns: never[];
|
430
|
+
indentSize: number;
|
431
|
+
placeholder: string;
|
432
|
+
showHeader: boolean;
|
433
|
+
}, never>> & {
|
434
|
+
locale?: string | undefined;
|
435
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
436
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
437
|
+
componentWillMount?(): void;
|
438
|
+
UNSAFE_componentWillMount?(): void;
|
439
|
+
componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
440
|
+
title: string;
|
441
|
+
className: string;
|
442
|
+
dataSource: never[];
|
443
|
+
columns: never[];
|
444
|
+
indentSize: number;
|
445
|
+
placeholder: string;
|
446
|
+
showHeader: boolean;
|
447
|
+
}, never>> & {
|
448
|
+
locale?: string | undefined;
|
449
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
450
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
451
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
452
|
+
title: string;
|
453
|
+
className: string;
|
454
|
+
dataSource: never[];
|
455
|
+
columns: never[];
|
456
|
+
indentSize: number;
|
457
|
+
placeholder: string;
|
458
|
+
showHeader: boolean;
|
459
|
+
}, never>> & {
|
460
|
+
locale?: string | undefined;
|
461
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
462
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextContext: any): void;
|
463
|
+
componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
464
|
+
title: string;
|
465
|
+
className: string;
|
466
|
+
dataSource: never[];
|
467
|
+
columns: never[];
|
468
|
+
indentSize: number;
|
469
|
+
placeholder: string;
|
470
|
+
showHeader: boolean;
|
471
|
+
}, never>> & {
|
472
|
+
locale?: string | undefined;
|
473
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
474
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
475
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Omit<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
476
|
+
title: string;
|
477
|
+
className: string;
|
478
|
+
dataSource: never[];
|
479
|
+
columns: never[];
|
480
|
+
indentSize: number;
|
481
|
+
placeholder: string;
|
482
|
+
showHeader: boolean;
|
483
|
+
}, never>> & {
|
484
|
+
locale?: string | undefined;
|
485
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
486
|
+
}, keyof ThemeProps> & import("../../theme").ThemeOutterProps>, nextState: Readonly<{}>, nextContext: any): void;
|
487
|
+
};
|
488
|
+
displayName: string;
|
489
|
+
contextType: React.Context<string>;
|
490
|
+
ComposedComponent: React.ComponentType<{
|
491
|
+
new (props: (Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
492
|
+
title: string;
|
493
|
+
className: string;
|
494
|
+
dataSource: never[];
|
495
|
+
columns: never[];
|
496
|
+
indentSize: number;
|
497
|
+
placeholder: string;
|
498
|
+
showHeader: boolean;
|
499
|
+
}, never>> & {
|
500
|
+
locale?: string | undefined;
|
501
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
502
|
+
}) | Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
503
|
+
title: string;
|
504
|
+
className: string;
|
505
|
+
dataSource: never[];
|
506
|
+
columns: never[];
|
507
|
+
indentSize: number;
|
508
|
+
placeholder: string;
|
509
|
+
showHeader: boolean;
|
510
|
+
}, never>> & {
|
511
|
+
locale?: string | undefined;
|
512
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
513
|
+
}>): {
|
514
|
+
render(): JSX.Element;
|
515
|
+
context: any;
|
516
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
517
|
+
title: string;
|
518
|
+
className: string;
|
519
|
+
dataSource: never[];
|
520
|
+
columns: never[];
|
521
|
+
indentSize: number;
|
522
|
+
placeholder: string;
|
523
|
+
showHeader: boolean;
|
524
|
+
}, never>> & {
|
525
|
+
locale?: string | undefined;
|
526
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
527
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
528
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
529
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
530
|
+
title: string;
|
531
|
+
className: string;
|
532
|
+
dataSource: never[];
|
533
|
+
columns: never[];
|
534
|
+
indentSize: number;
|
535
|
+
placeholder: string;
|
536
|
+
showHeader: boolean;
|
537
|
+
}, never>> & {
|
538
|
+
locale?: string | undefined;
|
539
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
540
|
+
}> & Readonly<{
|
541
|
+
children?: React.ReactNode;
|
542
|
+
}>;
|
543
|
+
state: Readonly<{}>;
|
544
|
+
refs: {
|
545
|
+
[key: string]: React.ReactInstance;
|
546
|
+
};
|
547
|
+
componentDidMount?(): void;
|
548
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
549
|
+
title: string;
|
550
|
+
className: string;
|
551
|
+
dataSource: never[];
|
552
|
+
columns: never[];
|
553
|
+
indentSize: number;
|
554
|
+
placeholder: string;
|
555
|
+
showHeader: boolean;
|
556
|
+
}, never>> & {
|
557
|
+
locale?: string | undefined;
|
558
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
559
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
560
|
+
componentWillUnmount?(): void;
|
561
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
562
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
563
|
+
title: string;
|
564
|
+
className: string;
|
565
|
+
dataSource: never[];
|
566
|
+
columns: never[];
|
567
|
+
indentSize: number;
|
568
|
+
placeholder: string;
|
569
|
+
showHeader: boolean;
|
570
|
+
}, never>> & {
|
571
|
+
locale?: string | undefined;
|
572
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
573
|
+
}>, prevState: Readonly<{}>): any;
|
574
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
575
|
+
title: string;
|
576
|
+
className: string;
|
577
|
+
dataSource: never[];
|
578
|
+
columns: never[];
|
579
|
+
indentSize: number;
|
580
|
+
placeholder: string;
|
581
|
+
showHeader: boolean;
|
582
|
+
}, never>> & {
|
583
|
+
locale?: string | undefined;
|
584
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
585
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
586
|
+
componentWillMount?(): void;
|
587
|
+
UNSAFE_componentWillMount?(): void;
|
588
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
589
|
+
title: string;
|
590
|
+
className: string;
|
591
|
+
dataSource: never[];
|
592
|
+
columns: never[];
|
593
|
+
indentSize: number;
|
594
|
+
placeholder: string;
|
595
|
+
showHeader: boolean;
|
596
|
+
}, never>> & {
|
597
|
+
locale?: string | undefined;
|
598
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
599
|
+
}>, nextContext: any): void;
|
600
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
601
|
+
title: string;
|
602
|
+
className: string;
|
603
|
+
dataSource: never[];
|
604
|
+
columns: never[];
|
605
|
+
indentSize: number;
|
606
|
+
placeholder: string;
|
607
|
+
showHeader: boolean;
|
608
|
+
}, never>> & {
|
609
|
+
locale?: string | undefined;
|
610
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
611
|
+
}>, nextContext: any): void;
|
612
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
613
|
+
title: string;
|
614
|
+
className: string;
|
615
|
+
dataSource: never[];
|
616
|
+
columns: never[];
|
617
|
+
indentSize: number;
|
618
|
+
placeholder: string;
|
619
|
+
showHeader: boolean;
|
620
|
+
}, never>> & {
|
621
|
+
locale?: string | undefined;
|
622
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
623
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
624
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
625
|
+
title: string;
|
626
|
+
className: string;
|
627
|
+
dataSource: never[];
|
628
|
+
columns: never[];
|
629
|
+
indentSize: number;
|
630
|
+
placeholder: string;
|
631
|
+
showHeader: boolean;
|
632
|
+
}, never>> & {
|
633
|
+
locale?: string | undefined;
|
634
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
635
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
636
|
+
};
|
637
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
638
|
+
title: string;
|
639
|
+
className: string;
|
640
|
+
dataSource: never[];
|
641
|
+
columns: never[];
|
642
|
+
indentSize: number;
|
643
|
+
placeholder: string;
|
644
|
+
showHeader: boolean;
|
645
|
+
}, never>> & {
|
646
|
+
locale?: string | undefined;
|
647
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
648
|
+
}, context: any): {
|
649
|
+
render(): JSX.Element;
|
650
|
+
context: any;
|
651
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
652
|
+
title: string;
|
653
|
+
className: string;
|
654
|
+
dataSource: never[];
|
655
|
+
columns: never[];
|
656
|
+
indentSize: number;
|
657
|
+
placeholder: string;
|
658
|
+
showHeader: boolean;
|
659
|
+
}, never>> & {
|
660
|
+
locale?: string | undefined;
|
661
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
662
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
663
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
664
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
665
|
+
title: string;
|
666
|
+
className: string;
|
667
|
+
dataSource: never[];
|
668
|
+
columns: never[];
|
669
|
+
indentSize: number;
|
670
|
+
placeholder: string;
|
671
|
+
showHeader: boolean;
|
672
|
+
}, never>> & {
|
673
|
+
locale?: string | undefined;
|
674
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
675
|
+
}> & Readonly<{
|
676
|
+
children?: React.ReactNode;
|
677
|
+
}>;
|
678
|
+
state: Readonly<{}>;
|
679
|
+
refs: {
|
680
|
+
[key: string]: React.ReactInstance;
|
681
|
+
};
|
682
|
+
componentDidMount?(): void;
|
683
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
684
|
+
title: string;
|
685
|
+
className: string;
|
686
|
+
dataSource: never[];
|
687
|
+
columns: never[];
|
688
|
+
indentSize: number;
|
689
|
+
placeholder: string;
|
690
|
+
showHeader: boolean;
|
691
|
+
}, never>> & {
|
692
|
+
locale?: string | undefined;
|
693
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
694
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
695
|
+
componentWillUnmount?(): void;
|
696
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
697
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
698
|
+
title: string;
|
699
|
+
className: string;
|
700
|
+
dataSource: never[];
|
701
|
+
columns: never[];
|
702
|
+
indentSize: number;
|
703
|
+
placeholder: string;
|
704
|
+
showHeader: boolean;
|
705
|
+
}, never>> & {
|
706
|
+
locale?: string | undefined;
|
707
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
708
|
+
}>, prevState: Readonly<{}>): any;
|
709
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
710
|
+
title: string;
|
711
|
+
className: string;
|
712
|
+
dataSource: never[];
|
713
|
+
columns: never[];
|
714
|
+
indentSize: number;
|
715
|
+
placeholder: string;
|
716
|
+
showHeader: boolean;
|
717
|
+
}, never>> & {
|
718
|
+
locale?: string | undefined;
|
719
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
720
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
721
|
+
componentWillMount?(): void;
|
722
|
+
UNSAFE_componentWillMount?(): void;
|
723
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
724
|
+
title: string;
|
725
|
+
className: string;
|
726
|
+
dataSource: never[];
|
727
|
+
columns: never[];
|
728
|
+
indentSize: number;
|
729
|
+
placeholder: string;
|
730
|
+
showHeader: boolean;
|
731
|
+
}, never>> & {
|
732
|
+
locale?: string | undefined;
|
733
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
734
|
+
}>, nextContext: any): void;
|
735
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
736
|
+
title: string;
|
737
|
+
className: string;
|
738
|
+
dataSource: never[];
|
739
|
+
columns: never[];
|
740
|
+
indentSize: number;
|
741
|
+
placeholder: string;
|
742
|
+
showHeader: boolean;
|
743
|
+
}, never>> & {
|
744
|
+
locale?: string | undefined;
|
745
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
746
|
+
}>, nextContext: any): void;
|
747
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
748
|
+
title: string;
|
749
|
+
className: string;
|
750
|
+
dataSource: never[];
|
751
|
+
columns: never[];
|
752
|
+
indentSize: number;
|
753
|
+
placeholder: string;
|
754
|
+
showHeader: boolean;
|
755
|
+
}, never>> & {
|
756
|
+
locale?: string | undefined;
|
757
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
758
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
759
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
760
|
+
title: string;
|
761
|
+
className: string;
|
762
|
+
dataSource: never[];
|
763
|
+
columns: never[];
|
764
|
+
indentSize: number;
|
765
|
+
placeholder: string;
|
766
|
+
showHeader: boolean;
|
767
|
+
}, never>> & {
|
768
|
+
locale?: string | undefined;
|
769
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
770
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
771
|
+
};
|
772
|
+
displayName: string;
|
773
|
+
contextType: React.Context<string>;
|
774
|
+
ComposedComponent: React.ComponentType<typeof Table>;
|
775
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Table, {}> & {
|
776
|
+
ComposedComponent: typeof Table;
|
777
|
+
}>;
|
778
|
+
} & import("hoist-non-react-statics").NonReactStatics<{
|
779
|
+
new (props: (Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
780
|
+
title: string;
|
781
|
+
className: string;
|
782
|
+
dataSource: never[];
|
783
|
+
columns: never[];
|
784
|
+
indentSize: number;
|
785
|
+
placeholder: string;
|
786
|
+
showHeader: boolean;
|
787
|
+
}, never>> & {
|
788
|
+
locale?: string | undefined;
|
789
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
790
|
+
}) | Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
791
|
+
title: string;
|
792
|
+
className: string;
|
793
|
+
dataSource: never[];
|
794
|
+
columns: never[];
|
795
|
+
indentSize: number;
|
796
|
+
placeholder: string;
|
797
|
+
showHeader: boolean;
|
798
|
+
}, never>> & {
|
799
|
+
locale?: string | undefined;
|
800
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
801
|
+
}>): {
|
802
|
+
render(): JSX.Element;
|
803
|
+
context: any;
|
804
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
805
|
+
title: string;
|
806
|
+
className: string;
|
807
|
+
dataSource: never[];
|
808
|
+
columns: never[];
|
809
|
+
indentSize: number;
|
810
|
+
placeholder: string;
|
811
|
+
showHeader: boolean;
|
812
|
+
}, never>> & {
|
813
|
+
locale?: string | undefined;
|
814
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
815
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
816
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
817
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
818
|
+
title: string;
|
819
|
+
className: string;
|
820
|
+
dataSource: never[];
|
821
|
+
columns: never[];
|
822
|
+
indentSize: number;
|
823
|
+
placeholder: string;
|
824
|
+
showHeader: boolean;
|
825
|
+
}, never>> & {
|
826
|
+
locale?: string | undefined;
|
827
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
828
|
+
}> & Readonly<{
|
829
|
+
children?: React.ReactNode;
|
830
|
+
}>;
|
831
|
+
state: Readonly<{}>;
|
832
|
+
refs: {
|
833
|
+
[key: string]: React.ReactInstance;
|
834
|
+
};
|
835
|
+
componentDidMount?(): void;
|
836
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
837
|
+
title: string;
|
838
|
+
className: string;
|
839
|
+
dataSource: never[];
|
840
|
+
columns: never[];
|
841
|
+
indentSize: number;
|
842
|
+
placeholder: string;
|
843
|
+
showHeader: boolean;
|
844
|
+
}, never>> & {
|
845
|
+
locale?: string | undefined;
|
846
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
847
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
848
|
+
componentWillUnmount?(): void;
|
849
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
850
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
851
|
+
title: string;
|
852
|
+
className: string;
|
853
|
+
dataSource: never[];
|
854
|
+
columns: never[];
|
855
|
+
indentSize: number;
|
856
|
+
placeholder: string;
|
857
|
+
showHeader: boolean;
|
858
|
+
}, never>> & {
|
859
|
+
locale?: string | undefined;
|
860
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
861
|
+
}>, prevState: Readonly<{}>): any;
|
862
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
863
|
+
title: string;
|
864
|
+
className: string;
|
865
|
+
dataSource: never[];
|
866
|
+
columns: never[];
|
867
|
+
indentSize: number;
|
868
|
+
placeholder: string;
|
869
|
+
showHeader: boolean;
|
870
|
+
}, never>> & {
|
871
|
+
locale?: string | undefined;
|
872
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
873
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
874
|
+
componentWillMount?(): void;
|
875
|
+
UNSAFE_componentWillMount?(): void;
|
876
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
877
|
+
title: string;
|
878
|
+
className: string;
|
879
|
+
dataSource: never[];
|
880
|
+
columns: never[];
|
881
|
+
indentSize: number;
|
882
|
+
placeholder: string;
|
883
|
+
showHeader: boolean;
|
884
|
+
}, never>> & {
|
885
|
+
locale?: string | undefined;
|
886
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
887
|
+
}>, nextContext: any): void;
|
888
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
889
|
+
title: string;
|
890
|
+
className: string;
|
891
|
+
dataSource: never[];
|
892
|
+
columns: never[];
|
893
|
+
indentSize: number;
|
894
|
+
placeholder: string;
|
895
|
+
showHeader: boolean;
|
896
|
+
}, never>> & {
|
897
|
+
locale?: string | undefined;
|
898
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
899
|
+
}>, nextContext: any): void;
|
900
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
901
|
+
title: string;
|
902
|
+
className: string;
|
903
|
+
dataSource: never[];
|
904
|
+
columns: never[];
|
905
|
+
indentSize: number;
|
906
|
+
placeholder: string;
|
907
|
+
showHeader: boolean;
|
908
|
+
}, never>> & {
|
909
|
+
locale?: string | undefined;
|
910
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
911
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
912
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
913
|
+
title: string;
|
914
|
+
className: string;
|
915
|
+
dataSource: never[];
|
916
|
+
columns: never[];
|
917
|
+
indentSize: number;
|
918
|
+
placeholder: string;
|
919
|
+
showHeader: boolean;
|
920
|
+
}, never>> & {
|
921
|
+
locale?: string | undefined;
|
922
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
923
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
924
|
+
};
|
925
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
926
|
+
title: string;
|
927
|
+
className: string;
|
928
|
+
dataSource: never[];
|
929
|
+
columns: never[];
|
930
|
+
indentSize: number;
|
931
|
+
placeholder: string;
|
932
|
+
showHeader: boolean;
|
933
|
+
}, never>> & {
|
934
|
+
locale?: string | undefined;
|
935
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
936
|
+
}, context: any): {
|
937
|
+
render(): JSX.Element;
|
938
|
+
context: any;
|
939
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
940
|
+
title: string;
|
941
|
+
className: string;
|
942
|
+
dataSource: never[];
|
943
|
+
columns: never[];
|
944
|
+
indentSize: number;
|
945
|
+
placeholder: string;
|
946
|
+
showHeader: boolean;
|
947
|
+
}, never>> & {
|
948
|
+
locale?: string | undefined;
|
949
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
950
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
951
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
952
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
953
|
+
title: string;
|
954
|
+
className: string;
|
955
|
+
dataSource: never[];
|
956
|
+
columns: never[];
|
957
|
+
indentSize: number;
|
958
|
+
placeholder: string;
|
959
|
+
showHeader: boolean;
|
960
|
+
}, never>> & {
|
961
|
+
locale?: string | undefined;
|
962
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
963
|
+
}> & Readonly<{
|
964
|
+
children?: React.ReactNode;
|
965
|
+
}>;
|
966
|
+
state: Readonly<{}>;
|
967
|
+
refs: {
|
968
|
+
[key: string]: React.ReactInstance;
|
969
|
+
};
|
970
|
+
componentDidMount?(): void;
|
971
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
972
|
+
title: string;
|
973
|
+
className: string;
|
974
|
+
dataSource: never[];
|
975
|
+
columns: never[];
|
976
|
+
indentSize: number;
|
977
|
+
placeholder: string;
|
978
|
+
showHeader: boolean;
|
979
|
+
}, never>> & {
|
980
|
+
locale?: string | undefined;
|
981
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
982
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
983
|
+
componentWillUnmount?(): void;
|
984
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
985
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
986
|
+
title: string;
|
987
|
+
className: string;
|
988
|
+
dataSource: never[];
|
989
|
+
columns: never[];
|
990
|
+
indentSize: number;
|
991
|
+
placeholder: string;
|
992
|
+
showHeader: boolean;
|
993
|
+
}, never>> & {
|
994
|
+
locale?: string | undefined;
|
995
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
996
|
+
}>, prevState: Readonly<{}>): any;
|
997
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
998
|
+
title: string;
|
999
|
+
className: string;
|
1000
|
+
dataSource: never[];
|
1001
|
+
columns: never[];
|
1002
|
+
indentSize: number;
|
1003
|
+
placeholder: string;
|
1004
|
+
showHeader: boolean;
|
1005
|
+
}, never>> & {
|
1006
|
+
locale?: string | undefined;
|
1007
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1008
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
1009
|
+
componentWillMount?(): void;
|
1010
|
+
UNSAFE_componentWillMount?(): void;
|
1011
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1012
|
+
title: string;
|
1013
|
+
className: string;
|
1014
|
+
dataSource: never[];
|
1015
|
+
columns: never[];
|
1016
|
+
indentSize: number;
|
1017
|
+
placeholder: string;
|
1018
|
+
showHeader: boolean;
|
1019
|
+
}, never>> & {
|
1020
|
+
locale?: string | undefined;
|
1021
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1022
|
+
}>, nextContext: any): void;
|
1023
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1024
|
+
title: string;
|
1025
|
+
className: string;
|
1026
|
+
dataSource: never[];
|
1027
|
+
columns: never[];
|
1028
|
+
indentSize: number;
|
1029
|
+
placeholder: string;
|
1030
|
+
showHeader: boolean;
|
1031
|
+
}, never>> & {
|
1032
|
+
locale?: string | undefined;
|
1033
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1034
|
+
}>, nextContext: any): void;
|
1035
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1036
|
+
title: string;
|
1037
|
+
className: string;
|
1038
|
+
dataSource: never[];
|
1039
|
+
columns: never[];
|
1040
|
+
indentSize: number;
|
1041
|
+
placeholder: string;
|
1042
|
+
showHeader: boolean;
|
1043
|
+
}, never>> & {
|
1044
|
+
locale?: string | undefined;
|
1045
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1046
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1047
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1048
|
+
title: string;
|
1049
|
+
className: string;
|
1050
|
+
dataSource: never[];
|
1051
|
+
columns: never[];
|
1052
|
+
indentSize: number;
|
1053
|
+
placeholder: string;
|
1054
|
+
showHeader: boolean;
|
1055
|
+
}, never>> & {
|
1056
|
+
locale?: string | undefined;
|
1057
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1058
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1059
|
+
};
|
1060
|
+
displayName: string;
|
1061
|
+
contextType: React.Context<string>;
|
1062
|
+
ComposedComponent: React.ComponentType<typeof Table>;
|
1063
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Table, {}> & {
|
1064
|
+
ComposedComponent: typeof Table;
|
1065
|
+
}, {}> & {
|
1066
|
+
ComposedComponent: {
|
1067
|
+
new (props: (Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1068
|
+
title: string;
|
1069
|
+
className: string;
|
1070
|
+
dataSource: never[];
|
1071
|
+
columns: never[];
|
1072
|
+
indentSize: number;
|
1073
|
+
placeholder: string;
|
1074
|
+
showHeader: boolean;
|
1075
|
+
}, never>> & {
|
1076
|
+
locale?: string | undefined;
|
1077
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1078
|
+
}) | Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1079
|
+
title: string;
|
1080
|
+
className: string;
|
1081
|
+
dataSource: never[];
|
1082
|
+
columns: never[];
|
1083
|
+
indentSize: number;
|
1084
|
+
placeholder: string;
|
1085
|
+
showHeader: boolean;
|
1086
|
+
}, never>> & {
|
1087
|
+
locale?: string | undefined;
|
1088
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1089
|
+
}>): {
|
1090
|
+
render(): JSX.Element;
|
1091
|
+
context: any;
|
1092
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1093
|
+
title: string;
|
1094
|
+
className: string;
|
1095
|
+
dataSource: never[];
|
1096
|
+
columns: never[];
|
1097
|
+
indentSize: number;
|
1098
|
+
placeholder: string;
|
1099
|
+
showHeader: boolean;
|
1100
|
+
}, never>> & {
|
1101
|
+
locale?: string | undefined;
|
1102
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1103
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
1104
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
1105
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1106
|
+
title: string;
|
1107
|
+
className: string;
|
1108
|
+
dataSource: never[];
|
1109
|
+
columns: never[];
|
1110
|
+
indentSize: number;
|
1111
|
+
placeholder: string;
|
1112
|
+
showHeader: boolean;
|
1113
|
+
}, never>> & {
|
1114
|
+
locale?: string | undefined;
|
1115
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1116
|
+
}> & Readonly<{
|
1117
|
+
children?: React.ReactNode;
|
1118
|
+
}>;
|
1119
|
+
state: Readonly<{}>;
|
1120
|
+
refs: {
|
1121
|
+
[key: string]: React.ReactInstance;
|
1122
|
+
};
|
1123
|
+
componentDidMount?(): void;
|
1124
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1125
|
+
title: string;
|
1126
|
+
className: string;
|
1127
|
+
dataSource: never[];
|
1128
|
+
columns: never[];
|
1129
|
+
indentSize: number;
|
1130
|
+
placeholder: string;
|
1131
|
+
showHeader: boolean;
|
1132
|
+
}, never>> & {
|
1133
|
+
locale?: string | undefined;
|
1134
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1135
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
1136
|
+
componentWillUnmount?(): void;
|
1137
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
1138
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1139
|
+
title: string;
|
1140
|
+
className: string;
|
1141
|
+
dataSource: never[];
|
1142
|
+
columns: never[];
|
1143
|
+
indentSize: number;
|
1144
|
+
placeholder: string;
|
1145
|
+
showHeader: boolean;
|
1146
|
+
}, never>> & {
|
1147
|
+
locale?: string | undefined;
|
1148
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1149
|
+
}>, prevState: Readonly<{}>): any;
|
1150
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1151
|
+
title: string;
|
1152
|
+
className: string;
|
1153
|
+
dataSource: never[];
|
1154
|
+
columns: never[];
|
1155
|
+
indentSize: number;
|
1156
|
+
placeholder: string;
|
1157
|
+
showHeader: boolean;
|
1158
|
+
}, never>> & {
|
1159
|
+
locale?: string | undefined;
|
1160
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1161
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
1162
|
+
componentWillMount?(): void;
|
1163
|
+
UNSAFE_componentWillMount?(): void;
|
1164
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1165
|
+
title: string;
|
1166
|
+
className: string;
|
1167
|
+
dataSource: never[];
|
1168
|
+
columns: never[];
|
1169
|
+
indentSize: number;
|
1170
|
+
placeholder: string;
|
1171
|
+
showHeader: boolean;
|
1172
|
+
}, never>> & {
|
1173
|
+
locale?: string | undefined;
|
1174
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1175
|
+
}>, nextContext: any): void;
|
1176
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1177
|
+
title: string;
|
1178
|
+
className: string;
|
1179
|
+
dataSource: never[];
|
1180
|
+
columns: never[];
|
1181
|
+
indentSize: number;
|
1182
|
+
placeholder: string;
|
1183
|
+
showHeader: boolean;
|
1184
|
+
}, never>> & {
|
1185
|
+
locale?: string | undefined;
|
1186
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1187
|
+
}>, nextContext: any): void;
|
1188
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1189
|
+
title: string;
|
1190
|
+
className: string;
|
1191
|
+
dataSource: never[];
|
1192
|
+
columns: never[];
|
1193
|
+
indentSize: number;
|
1194
|
+
placeholder: string;
|
1195
|
+
showHeader: boolean;
|
1196
|
+
}, never>> & {
|
1197
|
+
locale?: string | undefined;
|
1198
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1199
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1200
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1201
|
+
title: string;
|
1202
|
+
className: string;
|
1203
|
+
dataSource: never[];
|
1204
|
+
columns: never[];
|
1205
|
+
indentSize: number;
|
1206
|
+
placeholder: string;
|
1207
|
+
showHeader: boolean;
|
1208
|
+
}, never>> & {
|
1209
|
+
locale?: string | undefined;
|
1210
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1211
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1212
|
+
};
|
1213
|
+
new (props: Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1214
|
+
title: string;
|
1215
|
+
className: string;
|
1216
|
+
dataSource: never[];
|
1217
|
+
columns: never[];
|
1218
|
+
indentSize: number;
|
1219
|
+
placeholder: string;
|
1220
|
+
showHeader: boolean;
|
1221
|
+
}, never>> & {
|
1222
|
+
locale?: string | undefined;
|
1223
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1224
|
+
}, context: any): {
|
1225
|
+
render(): JSX.Element;
|
1226
|
+
context: any;
|
1227
|
+
setState<K_1 extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1228
|
+
title: string;
|
1229
|
+
className: string;
|
1230
|
+
dataSource: never[];
|
1231
|
+
columns: never[];
|
1232
|
+
indentSize: number;
|
1233
|
+
placeholder: string;
|
1234
|
+
showHeader: boolean;
|
1235
|
+
}, never>> & {
|
1236
|
+
locale?: string | undefined;
|
1237
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1238
|
+
}>) => {} | Pick<{}, K_1> | null) | Pick<{}, K_1> | null, callback?: (() => void) | undefined): void;
|
1239
|
+
forceUpdate(callback?: (() => void) | undefined): void;
|
1240
|
+
readonly props: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1241
|
+
title: string;
|
1242
|
+
className: string;
|
1243
|
+
dataSource: never[];
|
1244
|
+
columns: never[];
|
1245
|
+
indentSize: number;
|
1246
|
+
placeholder: string;
|
1247
|
+
showHeader: boolean;
|
1248
|
+
}, never>> & {
|
1249
|
+
locale?: string | undefined;
|
1250
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1251
|
+
}> & Readonly<{
|
1252
|
+
children?: React.ReactNode;
|
1253
|
+
}>;
|
1254
|
+
state: Readonly<{}>;
|
1255
|
+
refs: {
|
1256
|
+
[key: string]: React.ReactInstance;
|
1257
|
+
};
|
1258
|
+
componentDidMount?(): void;
|
1259
|
+
shouldComponentUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1260
|
+
title: string;
|
1261
|
+
className: string;
|
1262
|
+
dataSource: never[];
|
1263
|
+
columns: never[];
|
1264
|
+
indentSize: number;
|
1265
|
+
placeholder: string;
|
1266
|
+
showHeader: boolean;
|
1267
|
+
}, never>> & {
|
1268
|
+
locale?: string | undefined;
|
1269
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1270
|
+
}>, nextState: Readonly<{}>, nextContext: any): boolean;
|
1271
|
+
componentWillUnmount?(): void;
|
1272
|
+
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
1273
|
+
getSnapshotBeforeUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1274
|
+
title: string;
|
1275
|
+
className: string;
|
1276
|
+
dataSource: never[];
|
1277
|
+
columns: never[];
|
1278
|
+
indentSize: number;
|
1279
|
+
placeholder: string;
|
1280
|
+
showHeader: boolean;
|
1281
|
+
}, never>> & {
|
1282
|
+
locale?: string | undefined;
|
1283
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1284
|
+
}>, prevState: Readonly<{}>): any;
|
1285
|
+
componentDidUpdate?(prevProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1286
|
+
title: string;
|
1287
|
+
className: string;
|
1288
|
+
dataSource: never[];
|
1289
|
+
columns: never[];
|
1290
|
+
indentSize: number;
|
1291
|
+
placeholder: string;
|
1292
|
+
showHeader: boolean;
|
1293
|
+
}, never>> & {
|
1294
|
+
locale?: string | undefined;
|
1295
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1296
|
+
}>, prevState: Readonly<{}>, snapshot?: any): void;
|
1297
|
+
componentWillMount?(): void;
|
1298
|
+
UNSAFE_componentWillMount?(): void;
|
1299
|
+
componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1300
|
+
title: string;
|
1301
|
+
className: string;
|
1302
|
+
dataSource: never[];
|
1303
|
+
columns: never[];
|
1304
|
+
indentSize: number;
|
1305
|
+
placeholder: string;
|
1306
|
+
showHeader: boolean;
|
1307
|
+
}, never>> & {
|
1308
|
+
locale?: string | undefined;
|
1309
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1310
|
+
}>, nextContext: any): void;
|
1311
|
+
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1312
|
+
title: string;
|
1313
|
+
className: string;
|
1314
|
+
dataSource: never[];
|
1315
|
+
columns: never[];
|
1316
|
+
indentSize: number;
|
1317
|
+
placeholder: string;
|
1318
|
+
showHeader: boolean;
|
1319
|
+
}, never>> & {
|
1320
|
+
locale?: string | undefined;
|
1321
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1322
|
+
}>, nextContext: any): void;
|
1323
|
+
componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1324
|
+
title: string;
|
1325
|
+
className: string;
|
1326
|
+
dataSource: never[];
|
1327
|
+
columns: never[];
|
1328
|
+
indentSize: number;
|
1329
|
+
placeholder: string;
|
1330
|
+
showHeader: boolean;
|
1331
|
+
}, never>> & {
|
1332
|
+
locale?: string | undefined;
|
1333
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1334
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1335
|
+
UNSAFE_componentWillUpdate?(nextProps: Readonly<Pick<Omit<TableProps, keyof LocaleProps>, "classPrefix" | "classnames" | "footer" | "theme" | "scroll" | "loading" | "sticky" | "size" | "draggable" | "onDrag" | "lineHeight" | "resizable" | "expandable" | "rowClassName" | "rowSelection" | "keyField" | "childrenColumnName" | "bordered" | "onSort" | "onFilter" | "headSummary" | "footSummary" | "onRow"> & Partial<Pick<Omit<TableProps, keyof LocaleProps>, "title" | "className" | "columns" | "placeholder" | "showHeader" | "indentSize" | "dataSource">> & Partial<Pick<{
|
1336
|
+
title: string;
|
1337
|
+
className: string;
|
1338
|
+
dataSource: never[];
|
1339
|
+
columns: never[];
|
1340
|
+
indentSize: number;
|
1341
|
+
placeholder: string;
|
1342
|
+
showHeader: boolean;
|
1343
|
+
}, never>> & {
|
1344
|
+
locale?: string | undefined;
|
1345
|
+
translate?: ((str: string, ...args: any[]) => string) | undefined;
|
1346
|
+
}>, nextState: Readonly<{}>, nextContext: any): void;
|
1347
|
+
};
|
1348
|
+
displayName: string;
|
1349
|
+
contextType: React.Context<string>;
|
1350
|
+
ComposedComponent: React.ComponentType<typeof Table>;
|
1351
|
+
} & import("hoist-non-react-statics").NonReactStatics<typeof Table, {}> & {
|
1352
|
+
ComposedComponent: typeof Table;
|
1353
|
+
};
|
1354
|
+
};
|
1355
|
+
export default _default;
|