ant-design/563c00eb-async.8977e383.js
2024-11-20 18:30:54 +00:00

1 line
51 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["563c00eb"],{"563c00eb":function(e,t,n){"use strict";var a=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return f;}});var d=n("852bbaa9"),s=d._(n("5b220c3d"));n("e67d83ce");var r=d._(n("a9d1a279")),l=d._(n("e22febe0")),o=d._(n("7b960f61")),i=d._(n("c630c6aa")),c=d._(n("3835a2b7")),u=d._(n("915a4463")),b=d._(n("c0f053f1")),m=d._(n("9944ffaa")),p=d._(n("7f663da5")),y=d._(n("2006bc88"));let f={"table-demo-basic":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"a66723ef"))))),asset:{type:"BLOCK",id:"table-demo-basic",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("11e0ddee").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u57FA\u672C\u7528\u6CD5",description:"\u7B80\u5355\u7684\u8868\u683C\uFF0C\u6700\u540E\u4E00\u5217\u662F\u5404\u79CD\u64CD\u4F5C\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-jsx":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"8907ad50"))))),asset:{type:"BLOCK",id:"table-demo-jsx",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("a8c201c8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"JSX \u98CE\u683C\u7684 API",description:"\u4F7F\u7528 JSX \u98CE\u683C\u7684 API\uFF082.5.0 \u4EE5\u540E\u5F15\u5165\uFF09\n\n> \u8FD9\u4E2A\u53EA\u662F\u4E00\u4E2A\u63CF\u8FF0 columns \u7684\u8BED\u6CD5\u7CD6\uFF0C\u6240\u4EE5\u4F60\u4E0D\u80FD\u7528\u5176\u4ED6\u7EC4\u4EF6\u53BB\u5305\u88F9 Column \u548C ColumnGroup\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-row-selection":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"28222862"))))),asset:{type:"BLOCK",id:"table-demo-row-selection",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("4be62777").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u9009\u62E9",description:"\u7B2C\u4E00\u5217\u662F\u8054\u52A8\u7684\u9009\u62E9\u6846\u3002\u53EF\u4EE5\u901A\u8FC7 rowSelection.type \u5C5E\u6027\u6307\u5B9A\u9009\u62E9\u7C7B\u578B\uFF0C\u9ED8\u8BA4\u4E3A checkbox\u3002\n\n> \u9ED8\u8BA4\u70B9\u51FB checkbox \u89E6\u53D1\u9009\u62E9\u884C\u4E3A\uFF0C\u9700\u8981\u70B9\u51FB\u884C\u89E6\u53D1\u53EF\u4EE5\u53C2\u8003\u4F8B\u5B50\uFF1Ahttps://codesandbox.io/s/000vqw38rl [https://codesandbox.io/s/000vqw38rl]"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-row-selection-and-operation":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"3dc045a2"))))),asset:{type:"BLOCK",id:"table-demo-row-selection-and-operation",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("7a16c562").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u9009\u62E9\u548C\u64CD\u4F5C",description:"\u9009\u62E9\u540E\u8FDB\u884C\u64CD\u4F5C\uFF0C\u5B8C\u6210\u540E\u6E05\u7A7A\u9009\u62E9\uFF0C\u901A\u8FC7 rowSelection.selectedRowKeys \u6765\u63A7\u5236\u9009\u4E2D\u9879\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-row-selection-custom":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"090271b0"))))),asset:{type:"BLOCK",id:"table-demo-row-selection-custom",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("3adb0dd3").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u62E9\u9879",description:"\u901A\u8FC7 rowSelection.selections \u81EA\u5B9A\u4E49\u9009\u62E9\u9879\uFF0C\u9ED8\u8BA4\u4E0D\u663E\u793A\u4E0B\u62C9\u9009\u9879\uFF0C\u8BBE\u4E3A true \u65F6\u663E\u793A\u9ED8\u8BA4\u9009\u62E9\u9879\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-row-selection-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"2e722fa7"))))),asset:{type:"BLOCK",id:"table-demo-row-selection-debug",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("d59dc02e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u9009\u62E9\u6027\u80FD",description:"\u9AD8\u635F\u8017 render \u6027\u80FD\u8C03\u8BD5\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-head":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"940d51dd"))))),asset:{type:"BLOCK",id:"table-demo-head",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("1fd0f328").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7B5B\u9009\u548C\u6392\u5E8F",description:"\u5BF9\u67D0\u4E00\u5217\u6570\u636E\u8FDB\u884C\u7B5B\u9009\uFF0C\u4F7F\u7528\u5217\u7684 filters \u5C5E\u6027\u6765\u6307\u5B9A\u9700\u8981\u7B5B\u9009\u83DC\u5355\u7684\u5217\uFF0ConFilter \u7528\u4E8E\u7B5B\u9009\u5F53\u524D\u6570\u636E\uFF0CfilterMultiple \u7528\u4E8E\u6307\u5B9A\u591A\u9009\u548C\u5355\u9009\uFF0CfilterOnClose \u7528\u4E8E\u6307\u5B9A\u662F\u5426\u5728\u7B5B\u9009\u83DC\u5355\u5173\u95ED\u65F6\u89E6\u53D1\u7B5B\u9009\u3002\n\n\u4F7F\u7528 defaultFilteredValue \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u5217\u7684\u9ED8\u8BA4\u7B5B\u9009\u9879\u3002\n\n\u5BF9\u67D0\u4E00\u5217\u6570\u636E\u8FDB\u884C\u6392\u5E8F\uFF0C\u901A\u8FC7\u6307\u5B9A\u5217\u7684 sorter \u51FD\u6570\u5373\u53EF\u542F\u52A8\u6392\u5E8F\u6309\u94AE\u3002sorter: function(rowA, rowB) { ... }\uFF0C rowA\u3001rowB \u4E3A\u6BD4\u8F83\u7684\u4E24\u4E2A\u884C\u6570\u636E\u3002\n\nsortDirections: ['ascend', 'descend'] \u6539\u53D8\u6BCF\u5217\u53EF\u7528\u7684\u6392\u5E8F\u65B9\u5F0F\uFF0C\u5207\u6362\u6392\u5E8F\u65F6\u6309\u6570\u7EC4\u5185\u5BB9\u4F9D\u6B21\u5207\u6362\uFF0C\u8BBE\u7F6E\u5728 table props \u4E0A\u65F6\u5BF9\u6240\u6709\u5217\u751F\u6548\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E ['ascend', 'descend', 'ascend'] \u7981\u6B62\u6392\u5E8F\u6062\u590D\u5230\u9ED8\u8BA4\u72B6\u6001\u3002\n\n\u4F7F\u7528 defaultSortOrder \u5C5E\u6027\uFF0C\u8BBE\u7F6E\u5217\u7684\u9ED8\u8BA4\u6392\u5E8F\u987A\u5E8F\u3002\n\n\u5982\u679C sortOrder \u6216\u8005 defaultSortOrder \u7684\u503C\u4E3A ascend \u6216\u8005 descend\uFF0C\u5219\u53EF\u4EE5\u901A\u8FC7 sorter \u7684\u51FD\u6570\u7B2C\u4E09\u4E2A\u53C2\u6570\u83B7\u53D6\u5F53\u524D\u6392\u5E8F\u7684\u72B6\u6001\u3002\u8BE5\u51FD\u6570\u53EF\u4EE5\u662F function(a, b, sortOrder) { ... } \u7684\u5F62\u5F0F\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-filter-in-tree":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"02dbda31"))))),asset:{type:"BLOCK",id:"table-demo-filter-in-tree",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("49109685").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6811\u578B\u7B5B\u9009\u83DC\u5355",description:"\u53EF\u4EE5\u4F7F\u7528 filterMode \u6765\u4FEE\u6539\u7B5B\u9009\u83DC\u5355\u7684 UI\uFF0C\u53EF\u9009\u503C\u6709 menu\uFF08\u9ED8\u8BA4\uFF09\u548C tree\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-filter-search":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"cc200338"))))),asset:{type:"BLOCK",id:"table-demo-filter-search",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("51b5036f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u7B5B\u9009\u7684\u641C\u7D22",description:"filterSearch \u7528\u4E8E\u5F00\u542F\u7B5B\u9009\u9879\u7684\u641C\u7D22\uFF0C\u901A\u8FC7 filterSearch:(input, record) => boolean \u8BBE\u7F6E\u81EA\u5B9A\u4E49\u7B5B\u9009\u65B9\u6CD5"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-multiple-sorter":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"38129602"))))),asset:{type:"BLOCK",id:"table-demo-multiple-sorter",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("3bbc2b48").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u591A\u5217\u6392\u5E8F",description:"column.sorter \u652F\u6301 multiple \u5B57\u6BB5\u4EE5\u914D\u7F6E\u591A\u5217\u6392\u5E8F\u4F18\u5148\u7EA7\u3002\u901A\u8FC7 sorter.compare \u914D\u7F6E\u6392\u5E8F\u903B\u8F91\uFF0C\u4F60\u53EF\u4EE5\u901A\u8FC7\u4E0D\u8BBE\u7F6E\u8BE5\u51FD\u6570\u53EA\u542F\u52A8\u591A\u5217\u6392\u5E8F\u7684\u4EA4\u4E92\u5F62\u5F0F\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-reset-filter":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"3fb5fddb"))))),asset:{type:"BLOCK",id:"table-demo-reset-filter",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("4485d53d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u63A7\u7684\u7B5B\u9009\u548C\u6392\u5E8F",description:"\u4F7F\u7528\u53D7\u63A7\u5C5E\u6027\u5BF9\u7B5B\u9009\u548C\u6392\u5E8F\u72B6\u6001\u8FDB\u884C\u63A7\u5236\u3002\n\n> 1. columns \u4E2D\u5B9A\u4E49\u4E86 filteredValue \u548C sortOrder \u5C5E\u6027\u5373\u89C6\u4E3A\u53D7\u63A7\u6A21\u5F0F\u3002\n> 2. \u53EA\u652F\u6301\u540C\u65F6\u5BF9\u4E00\u5217\u8FDB\u884C\u6392\u5E8F\uFF0C\u8BF7\u4FDD\u8BC1\u53EA\u6709\u4E00\u5217\u7684 sortOrder \u5C5E\u6027\u662F\u751F\u6548\u7684\u3002\n> 3. \u52A1\u5FC5\u6307\u5B9A column.key\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-custom-filter-panel":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"a223373c"))))),asset:{type:"BLOCK",id:"table-demo-custom-filter-panel",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("8641b258").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"},"react-highlight-words":{type:"NPM",value:"0.20.0"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u7B5B\u9009\u83DC\u5355",description:"\u901A\u8FC7 filterDropdown \u81EA\u5B9A\u4E49\u7684\u5217\u7B5B\u9009\u529F\u80FD\uFF0C\u5E76\u5B9E\u73B0\u4E00\u4E2A\u641C\u7D22\u5217\u7684\u793A\u4F8B\u3002\n\n\u7ED9\u51FD\u6570 clearFilters \u6DFB\u52A0 boolean \u7C7B\u578B\u53C2\u6570 closeDropdown\uFF0C\u662F\u5426\u5173\u95ED\u7B5B\u9009\u83DC\u5355\uFF0C\u9ED8\u8BA4\u4E3A true\u3002\u6DFB\u52A0 boolean \u7C7B\u578B\u53C2\u6570 confirm\uFF0C\u6E05\u9664\u7B5B\u9009\u65F6\u662F\u5426\u63D0\u4EA4\u5DF2\u9009\u9879\uFF0C\u9ED8\u8BA4 true\u3002"},context:{react:s,"@ant-design/icons":l,antd:r,"react-highlight-words":o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-ajax":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"4c6d6d1f"))))),asset:{type:"BLOCK",id:"table-demo-ajax",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("346901ab").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},qs:{type:"NPM",value:"6.13.1"}},entry:"index.tsx",title:"\u8FDC\u7A0B\u52A0\u8F7D\u6570\u636E",description:"\u8FD9\u4E2A\u4F8B\u5B50\u901A\u8FC7\u7B80\u5355\u7684 ajax \u8BFB\u53D6\u65B9\u5F0F\uFF0C\u6F14\u793A\u4E86\u5982\u4F55\u4ECE\u670D\u52A1\u7AEF\u8BFB\u53D6\u5E76\u5C55\u73B0\u6570\u636E\uFF0C\u5177\u6709\u7B5B\u9009\u3001\u6392\u5E8F\u7B49\u529F\u80FD\u4EE5\u53CA\u9875\u9762 loading \u6548\u679C\u3002\u5F00\u53D1\u8005\u53EF\u4EE5\u81EA\u884C\u63A5\u5165\u5176\u4ED6\u6570\u636E\u5904\u7406\u65B9\u5F0F\u3002\n\n\u53E6\u5916\uFF0C\u672C\u4F8B\u4E5F\u5C55\u793A\u4E86\u7B5B\u9009\u6392\u5E8F\u529F\u80FD\u5982\u4F55\u4EA4\u7ED9\u670D\u52A1\u7AEF\u5B9E\u73B0\uFF0C\u5217\u4E0D\u9700\u8981\u6307\u5B9A\u5177\u4F53\u7684 onFilter \u548C sorter \u51FD\u6570\uFF0C\u800C\u662F\u5728\u628A\u7B5B\u9009\u548C\u6392\u5E8F\u7684\u53C2\u6570\u53D1\u5230\u670D\u52A1\u7AEF\u6765\u5904\u7406\u3002\n\n\u5F53\u4F7F\u7528 rowSelection \u65F6\uFF0C\u8BF7\u8BBE\u7F6E rowSelection.preserveSelectedRowKeys \u5C5E\u6027\u4EE5\u4FDD\u7559 key\u3002\n\n\u6CE8\u610F\uFF0C\u6B64\u793A\u4F8B\u4F7F\u7528 \u6A21\u62DF\u63A5\u53E3 [https://randomuser.me]\uFF0C\u5C55\u793A\u6570\u636E\u53EF\u80FD\u4E0D\u51C6\u786E\uFF0C\u8BF7\u6253\u5F00\u7F51\u7EDC\u9762\u677F\u67E5\u770B\u8BF7\u6C42\u3002\n\n> \u{1F6CE}\uFE0F \u60F3\u8981 3 \u5206\u949F\u5B9E\u73B0\uFF1F\u8BD5\u8BD5 ProTable [https://procomponents.ant.design/components/table]\uFF01"},context:{react:s,antd:r,qs:i},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-size":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"801ac8db"))))),asset:{type:"BLOCK",id:"table-demo-size",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("3633591e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7D27\u51D1\u578B",description:"\u4E24\u79CD\u7D27\u51D1\u578B\u7684\u5217\u8868\uFF0C\u5C0F\u578B\u5217\u8868\u53EA\u7528\u4E8E\u5BF9\u8BDD\u6846\u5185\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-narrow":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"0c33f891"))))),asset:{type:"BLOCK",id:"table-demo-narrow",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("a8ebc918").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7D27\u51D1\u578B",description:"\u4E24\u79CD\u7D27\u51D1\u578B\u7684\u5217\u8868\uFF0C\u5C0F\u578B\u5217\u8868\u53EA\u7528\u4E8E\u5BF9\u8BDD\u6846\u5185\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-bordered":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"576c7917"))))),asset:{type:"BLOCK",id:"table-demo-bordered",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("61017e59").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5E26\u8FB9\u6846",description:"\u6DFB\u52A0\u8868\u683C\u8FB9\u6846\u7EBF\uFF0C\u9875\u5934\u548C\u9875\u811A\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-expand":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"81f79757"))))),asset:{type:"BLOCK",id:"table-demo-expand",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("f2891a69").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u5C55\u5F00",description:"\u5F53\u8868\u683C\u5185\u5BB9\u8F83\u591A\u4E0D\u80FD\u4E00\u6B21\u6027\u5B8C\u5168\u5C55\u793A\u65F6\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-order-column":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"4e7012fd"))))),asset:{type:"BLOCK",id:"table-demo-order-column",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("c7b40131").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7279\u6B8A\u5217\u6392\u5E8F",description:"\u4F60\u53EF\u4EE5\u901A\u8FC7 Table.EXPAND_COLUMN \u548C Table.SELECTION_COLUMN \u6765\u63A7\u5236\u9009\u62E9\u548C\u5C55\u5F00\u5217\u7684\u987A\u5E8F\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-colspan-rowspan":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"bf403938"))))),asset:{type:"BLOCK",id:"table-demo-colspan-rowspan",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("7c766ae2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u8868\u683C\u884C/\u5217\u5408\u5E76",description:"\u8868\u5934\u53EA\u652F\u6301\u5217\u5408\u5E76\uFF0C\u4F7F\u7528 column \u91CC\u7684 colSpan \u8FDB\u884C\u8BBE\u7F6E\u3002\n\n\u8868\u683C\u652F\u6301\u884C/\u5217\u5408\u5E76\uFF0C\u5F53 onCell \u91CC\u7684\u5355\u5143\u683C\u5C5E\u6027 colSpan \u6216\u8005 rowSpan \u8BBE\u503C\u4E3A 0 \u65F6\uFF0C\u8BBE\u7F6E\u7684\u8868\u683C\u4E0D\u4F1A\u6E32\u67D3\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-tree-data":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"3e727205"))))),asset:{type:"BLOCK",id:"table-demo-tree-data",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("7aff61d2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6811\u5F62\u6570\u636E\u5C55\u793A",description:"\u8868\u683C\u652F\u6301\u6811\u5F62\u6570\u636E\u7684\u5C55\u793A\uFF0C\u5F53\u6570\u636E\u4E2D\u6709 children \u5B57\u6BB5\u65F6\u4F1A\u81EA\u52A8\u5C55\u793A\u4E3A\u6811\u5F62\u8868\u683C\uFF0C\u5982\u679C\u4E0D\u9700\u8981\u6216\u914D\u7F6E\u4E3A\u5176\u4ED6\u5B57\u6BB5\u53EF\u4EE5\u7528 childrenColumnName \u8FDB\u884C\u914D\u7F6E\u3002\n\n\u53EF\u4EE5\u901A\u8FC7\u8BBE\u7F6E indentSize \u4EE5\u63A7\u5236\u6BCF\u4E00\u5C42\u7684\u7F29\u8FDB\u5BBD\u5EA6\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-tree-table-ellipsis":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"22ee835d"))))),asset:{type:"BLOCK",id:"table-demo-tree-table-ellipsis",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("cfe8e665").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6811\u5F62\u6570\u636E\u7701\u7565\u60C5\u51B5\u6D4B\u8BD5",description:"https://github.com/ant-design/ant-design/issues/36583 [https://github.com/ant-design/ant-design/issues/36583]"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-tree-table-preserveselectedrowkeys":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"d8e096cc"))))),asset:{type:"BLOCK",id:"table-demo-tree-table-preserveselectedrowkeys",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("abf4057c").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u6811\u5F62\u6570\u636E\u4FDD\u7559key\u6D4B\u8BD5",description:"treeData Table \u4F7F\u7528 CheckStrictly: false & preserveSelectedRowKeys: true \u7684\u793A\u4F8B\n\nhttps://github.com/ant-design/ant-design/issues/50621 [https://github.com/ant-design/ant-design/issues/50621]"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-fixed-header":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"b3df0506"))))),asset:{type:"BLOCK",id:"table-demo-fixed-header",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("2c6ba998").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u56FA\u5B9A\u8868\u5934",description:"\u65B9\u4FBF\u4E00\u9875\u5185\u5C55\u793A\u5927\u91CF\u6570\u636E\u3002\n\n\u9700\u8981\u6307\u5B9A column \u7684 width \u5C5E\u6027\uFF0C\u5426\u5219\u5217\u5934\u548C\u5185\u5BB9\u53EF\u80FD\u4E0D\u5BF9\u9F50\u3002\u5982\u679C\u6307\u5B9A width \u4E0D\u751F\u6548\u6216\u51FA\u73B0\u767D\u8272\u5782\u76F4\u7A7A\u9699\uFF0C\u8BF7\u5C1D\u8BD5\u5EFA\u8BAE\u7559\u4E00\u5217\u4E0D\u8BBE\u5BBD\u5EA6\u4EE5\u9002\u5E94\u5F39\u6027\u5E03\u5C40\uFF0C\u6216\u8005\u68C0\u67E5\u662F\u5426\u6709\u8D85\u957F\u8FDE\u7EED\u5B57\u6BB5\u7834\u574F\u5E03\u5C40 [https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241]\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-fixed-columns":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"e294cdde"))))),asset:{type:"BLOCK",id:"table-demo-fixed-columns",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("3dae44d9").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u56FA\u5B9A\u5217",description:"\u5BF9\u4E8E\u5217\u6570\u5F88\u591A\u7684\u6570\u636E\uFF0C\u53EF\u4EE5\u56FA\u5B9A\u524D\u540E\u7684\u5217\uFF0C\u6A2A\u5411\u6EDA\u52A8\u67E5\u770B\u5176\u5B83\u6570\u636E\uFF0C\u9700\u8981\u548C scroll.x \u914D\u5408\u4F7F\u7528\u3002\n\n> \u82E5\u5217\u5934\u4E0E\u5185\u5BB9\u4E0D\u5BF9\u9F50\u6216\u51FA\u73B0\u5217\u91CD\u590D\uFF0C\u8BF7\u6307\u5B9A\u56FA\u5B9A\u5217\u7684\u5BBD\u5EA6 width\u3002\u5982\u679C\u6307\u5B9A width \u4E0D\u751F\u6548\u6216\u51FA\u73B0\u767D\u8272\u5782\u76F4\u7A7A\u9699\uFF0C\u8BF7\u5C1D\u8BD5\u5EFA\u8BAE\u7559\u4E00\u5217\u4E0D\u8BBE\u5BBD\u5EA6\u4EE5\u9002\u5E94\u5F39\u6027\u5E03\u5C40\uFF0C\u6216\u8005\u68C0\u67E5\u662F\u5426\u6709\u8D85\u957F\u8FDE\u7EED\u5B57\u6BB5\u7834\u574F\u5E03\u5C40 [https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241]\u3002\n> \n> \u5EFA\u8BAE\u6307\u5B9A scroll.x \u4E3A\u5927\u4E8E\u8868\u683C\u5BBD\u5EA6\u7684\u56FA\u5B9A\u503C\u6216\u767E\u5206\u6BD4\u3002\u6CE8\u610F\uFF0C\u4E14\u975E\u56FA\u5B9A\u5217\u5BBD\u5EA6\u4E4B\u548C\u4E0D\u8981\u8D85\u8FC7 scroll.x\u3002\n\n\u6CE8\u610F\uFF1Av4 \u7248\u672C\u56FA\u5B9A\u5217\u901A\u8FC7 sticky \u5B9E\u73B0\uFF0CIE 11 \u4F1A\u964D\u7EA7\u6210\u6A2A\u5411\u6EDA\u52A8\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-fixed-gapped-columns":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"9fbcf7f9"))))),asset:{type:"BLOCK",id:"table-demo-fixed-gapped-columns",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("d0e45f9d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u5806\u53E0\u56FA\u5B9A\u5217",description:"\u6DF7\u5408\u56FA\u5B9A\u5217\uFF0C\u6EDA\u52A8\u5230\u4E00\u5B9A\u8DDD\u79BB\u8FDB\u884C\u5806\u53E0\uFF0C\u63A8\u8350\u914D\u5408 bordered \u4F7F\u7528\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-fixed-columns-header":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"38cac6f8"))))),asset:{type:"BLOCK",id:"table-demo-fixed-columns-header",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("5a53e46a").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u56FA\u5B9A\u5934\u548C\u5217",description:"\u9002\u5408\u540C\u65F6\u5C55\u793A\u6709\u5927\u91CF\u6570\u636E\u548C\u6570\u636E\u5217\u3002\n\n> \u82E5\u5217\u5934\u4E0E\u5185\u5BB9\u4E0D\u5BF9\u9F50\u6216\u51FA\u73B0\u5217\u91CD\u590D\uFF0C\u8BF7\u6307\u5B9A\u56FA\u5B9A\u5217\u7684\u5BBD\u5EA6 width\u3002\u5982\u679C\u6307\u5B9A width \u4E0D\u751F\u6548\u6216\u51FA\u73B0\u767D\u8272\u5782\u76F4\u7A7A\u9699\uFF0C\u8BF7\u5C1D\u8BD5\u5EFA\u8BAE\u7559\u4E00\u5217\u4E0D\u8BBE\u5BBD\u5EA6\u4EE5\u9002\u5E94\u5F39\u6027\u5E03\u5C40\uFF0C\u6216\u8005\u68C0\u67E5\u662F\u5426\u6709\u8D85\u957F\u8FDE\u7EED\u5B57\u6BB5\u7834\u574F\u5E03\u5C40 [https://github.com/ant-design/ant-design/issues/13825#issuecomment-449889241]\u3002\n> \n> \u5EFA\u8BAE\u6307\u5B9A scroll.x \u4E3A\u5927\u4E8E\u8868\u683C\u5BBD\u5EA6\u7684\u56FA\u5B9A\u503C\u6216\u767E\u5206\u6BD4\u3002\u6CE8\u610F\uFF0C\u4E14\u975E\u56FA\u5B9A\u5217\u5BBD\u5EA6\u4E4B\u548C\u4E0D\u8981\u8D85\u8FC7 scroll.x\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-hidden-columns":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"d0a68263"))))),asset:{type:"BLOCK",id:"table-demo-hidden-columns",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("683198ca").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u9690\u85CF\u5217",description:"\u4F7F\u7528 hidden \u9690\u85CF\u5217\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-grouping-columns":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"fbdf1bc8"))))),asset:{type:"BLOCK",id:"table-demo-grouping-columns",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("86a79444").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u8868\u5934\u5206\u7EC4",description:"columns[n] \u53EF\u4EE5\u5185\u5D4C children\uFF0C\u4EE5\u6E32\u67D3\u5206\u7EC4\u8868\u5934\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-edit-cell":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"e59a187b"))))),asset:{type:"BLOCK",id:"table-demo-edit-cell",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("163db498").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u7F16\u8F91\u5355\u5143\u683C",description:"\u5E26\u5355\u5143\u683C\u7F16\u8F91\u529F\u80FD\u7684\u8868\u683C\u3002\u5F53\u914D\u5408 shouldCellUpdate \u4F7F\u7528\u65F6\u8BF7\u6CE8\u610F\u95ED\u5305\u95EE\u9898 [https://github.com/ant-design/ant-design/issues/29243]\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-edit-row":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"cd0037b7"))))),asset:{type:"BLOCK",id:"table-demo-edit-row",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("f2292ffe").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u7F16\u8F91\u884C",description:"\u5E26\u884C\u7F16\u8F91\u529F\u80FD\u7684\u8868\u683C\u3002\n\n> \u{1F6CE}\uFE0F \u60F3\u8981 3 \u5206\u949F\u5B9E\u73B0\uFF1F\u8BD5\u8BD5 ProTable \u7684\u53EF\u7F16\u8F91\u8868\u683C [https://procomponents.ant.design/components/editable-table]\uFF01"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-nested-table":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"73d08b0e"))))),asset:{type:"BLOCK",id:"table-demo-nested-table",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("60674199").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5D4C\u5957\u5B50\u8868\u683C",description:"\u5C55\u793A\u6BCF\u884C\u6570\u636E\u66F4\u8BE6\u7EC6\u7684\u4FE1\u606F\u3002"},context:{react:s,"@ant-design/icons":l,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-drag-sorting":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"f6abde58"))))),asset:{type:"BLOCK",id:"table-demo-drag-sorting",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("26aeeaa5").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@dnd-kit/core":{type:"NPM",value:"6.1.0"},"@dnd-kit/modifiers":{type:"NPM",value:"7.0.0"},"@dnd-kit/sortable":{type:"NPM",value:"8.0.0"},"@dnd-kit/utilities":{type:"NPM",value:"3.2.2"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u62D6\u62FD\u6392\u5E8F",description:"\u4F7F\u7528\u81EA\u5B9A\u4E49\u5143\u7D20\uFF0C\u6211\u4EEC\u53EF\u4EE5\u96C6\u6210 dnd-kit [https://github.com/clauderic/dnd-kit] \u6765\u5B9E\u73B0\u62D6\u62FD\u6392\u5E8F\u3002"},context:{react:s,"@dnd-kit/core":u,"@dnd-kit/modifiers":b,"@dnd-kit/sortable":m,"@dnd-kit/utilities":p,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-drag-column-sorting":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"6a6567ef"))))),asset:{type:"BLOCK",id:"table-demo-drag-column-sorting",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("ea21a441").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@dnd-kit/core":{type:"NPM",value:"6.1.0"},"@dnd-kit/modifiers":{type:"NPM",value:"7.0.0"},"@dnd-kit/sortable":{type:"NPM",value:"8.0.0"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5217\u62D6\u62FD\u6392\u5E8F",description:"\u4F7F\u7528\u81EA\u5B9A\u4E49\u5143\u7D20\uFF0C\u6211\u4EEC\u53EF\u4EE5\u96C6\u6210 dnd-kit [https://github.com/clauderic/dnd-kit] \u6765\u5B9E\u73B0\u5217\u62D6\u62FD\u6392\u5E8F\u3002"},context:{react:s,"@dnd-kit/core":u,"@dnd-kit/modifiers":b,"@dnd-kit/sortable":m,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-drag-sorting-handler":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"70bb67e2"))))),asset:{type:"BLOCK",id:"table-demo-drag-sorting-handler",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("b49a4304").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},"@dnd-kit/core":{type:"NPM",value:"6.1.0"},"@dnd-kit/modifiers":{type:"NPM",value:"7.0.0"},"@dnd-kit/sortable":{type:"NPM",value:"8.0.0"},"@dnd-kit/utilities":{type:"NPM",value:"3.2.2"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u62D6\u62FD\u624B\u67C4\u5217",description:"\u4F7F\u7528 dnd-kit [https://github.com/clauderic/dnd-kit] \u6765\u5B9E\u73B0\u4E00\u4E2A\u62D6\u62FD\u64CD\u4F5C\u5217\u3002"},context:{react:s,"@ant-design/icons":l,"@dnd-kit/core":u,"@dnd-kit/modifiers":b,"@dnd-kit/sortable":m,"@dnd-kit/utilities":p,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-resizable-column":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"3cbfd874"))))),asset:{type:"BLOCK",id:"table-demo-resizable-column",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("e62ffd1d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"react-resizable":{type:"NPM",value:"3.0.5"}},entry:"index.tsx",title:"\u53EF\u4F38\u7F29\u5217",description:"\u96C6\u6210 react-resizable [https://github.com/STRML/react-resizable] \u6765\u5B9E\u73B0\u53EF\u4F38\u7F29\u5217\u3002\u5982\u679C\u6709\u6392\u5E8F\u9700\u8981\uFF0C\u53EF\u4EE5\u901A\u8FC7\u989D\u5916\u6807\u8BB0 [https://codesandbox.io/s/zrj8xvyzxx]\u963B\u6B62\u89E6\u53D1\u6392\u5E8F\u3002"},context:{react:s,antd:r,"react-resizable":y},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-ellipsis":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"f4fba64d"))))),asset:{type:"BLOCK",id:"table-demo-ellipsis",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("e78f2701").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5355\u5143\u683C\u81EA\u52A8\u7701\u7565",description:"\u8BBE\u7F6E column.ellipsis \u53EF\u4EE5\u8BA9\u5355\u5143\u683C\u5185\u5BB9\u6839\u636E\u5BBD\u5EA6\u81EA\u52A8\u7701\u7565\u3002\n\n> \u5217\u5934\u7F29\u7565\u6682\u4E0D\u652F\u6301\u548C\u6392\u5E8F\u7B5B\u9009\u4E00\u8D77\u4F7F\u7528\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-ellipsis-custom-tooltip":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"ae032c61"))))),asset:{type:"BLOCK",id:"table-demo-ellipsis-custom-tooltip",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("dd95699f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u5355\u5143\u683C\u7701\u7565\u63D0\u793A",description:"\u8BBE\u7F6E column.ellipsis.showTitle \u5173\u95ED\u5355\u5143\u683C\u5185\u5BB9\u81EA\u52A8\u7701\u7565\u540E\u9ED8\u8BA4\u7684 title \u63D0\u793A, \u4F7F\u7528 Tooltip \u66FF\u4EE3\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-custom-empty":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"3a0b6a10"))))),asset:{type:"BLOCK",id:"table-demo-custom-empty",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("1cd6b7ed").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u7A7A\u72B6\u6001",description:"\u81EA\u5B9A\u4E49\u7A7A\u72B6\u6001\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-summary":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"9f15a305"))))),asset:{type:"BLOCK",id:"table-demo-summary",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("8951f7bf").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"antd-style":{type:"NPM",value:"3.7.1"}},entry:"index.tsx",title:"\u603B\u7ED3\u680F",description:"\u901A\u8FC7 summary \u8BBE\u7F6E\u603B\u7ED3\u680F\u3002\u4F7F\u7528 Table.Summary.Cell \u540C\u6B65 Column \u7684\u56FA\u5B9A\u72B6\u6001\u3002\u4F60\u53EF\u4EE5\u901A\u8FC7\u914D\u7F6E Table.Summary \u7684 fixed \u5C5E\u6027\u4F7F\u5176\u56FA\u5B9A(4.16.0 \u652F\u6301)\u3002"},context:{react:s,antd:r,"antd-style":c},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-virtual-list":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"17c647e4"))))),asset:{type:"BLOCK",id:"table-demo-virtual-list",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("f1de3e94").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u865A\u62DF\u5217\u8868",description:"\u901A\u8FC7 virtual \u5F00\u542F\u865A\u62DF\u6EDA\u52A8\uFF0C\u6B64\u65F6 scroll.x \u4E0E scroll.y \u5FC5\u987B\u8BBE\u7F6E\u4E14\u4E3A number \u7C7B\u578B\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-responsive":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"28006e36"))))),asset:{type:"BLOCK",id:"table-demo-responsive",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("8bb9a1c8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u54CD\u5E94\u5F0F",description:"\u54CD\u5E94\u5F0F\u914D\u7F6E\u5217\u7684\u5C55\u793A\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-nest-table-border-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"4eb177f1"))))),asset:{type:"BLOCK",id:"table-demo-nest-table-border-debug",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("37f9ba2b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5D4C\u5957\u5E26\u8FB9\u6846\u7684\u8868\u683C Debug",description:"\u770B\u770B\u8FB9\u6846\u7684\u6837\u5F0F\u662F\u4E0D\u662F\u5F71\u54CD\u5230\u522B\u7684\u8868\u683C\u3002"},context:{react:s,"@ant-design/icons":l,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-pagination":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"c3a33fb1"))))),asset:{type:"BLOCK",id:"table-demo-pagination",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("c97f1285").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5206\u9875\u8BBE\u7F6E",description:"\u8868\u683C\u7684\u5206\u9875\u8BBE\u7F6E\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-row-selection-custom-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"1c771630"))))),asset:{type:"BLOCK",id:"table-demo-row-selection-custom-debug",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("36c798c7").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u9009\u62E9\u9879\u7EC4",description:"\u81EA\u5B9A\u4E49\u9009\u9879\u5206\u7EC4\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-sticky":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"a1406e90"))))),asset:{type:"BLOCK",id:"table-demo-sticky",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("7d0b8ee5").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u968F\u9875\u9762\u6EDA\u52A8\u7684\u56FA\u5B9A\u8868\u5934\u548C\u6EDA\u52A8\u6761",description:"\u5BF9\u4E8E\u957F\u8868\u683C\uFF0C\u9700\u8981\u6EDA\u52A8\u624D\u80FD\u67E5\u770B\u8868\u5934\u548C\u6EDA\u52A8\u6761\uFF0C\u90A3\u4E48\u73B0\u5728\u53EF\u4EE5\u8BBE\u7F6E\u8DDF\u968F\u9875\u9762\u56FA\u5B9A\u8868\u5934\u548C\u6EDA\u52A8\u6761\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-dynamic-settings":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"4af71804"))))),asset:{type:"BLOCK",id:"table-demo-dynamic-settings",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("1ed6a721").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u52A8\u6001\u63A7\u5236\u8868\u683C\u5C5E\u6027",description:"\u9009\u62E9\u4E0D\u540C\u914D\u7F6E\u7EC4\u5408\u67E5\u770B\u6548\u679C\u3002"},context:{react:s,"@ant-design/icons":l,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-selections-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"74c030b9"))))),asset:{type:"BLOCK",id:"table-demo-selections-debug",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("d029a475").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5E26\u4E0B\u62C9\u7BAD\u5934\u7684\u8868\u5934",description:"\u8C03\u8BD5\u4F7F\u7528\u3002"},context:{react:s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}},"table-demo-component-token":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("vendors_0"),n.ensure("cb57a806")]).then(n.dr(a,n.bind(n,"af5545a7"))))),asset:{type:"BLOCK",id:"table-demo-component-token",refAtomIds:["table"],dependencies:{"index.tsx":{type:"FILE",value:n("f1b3f858").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},"@ant-design/icons":{type:"NPM",value:"5.5.1"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7EC4\u4EF6 Token",description:"\u7EC4\u4EF6 Token"},context:{react:s,"@ant-design/icons":l,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(a,n.bind(n,"d2b37e0b")))).default(...e)}}};},abf4057c:function(e,t,n){"use strict";n.d(t,"__esModule",{value:!0}),n.d(t,"default",{enumerable:!0,get:function(){return a;}}),n("43b8b82b");var a="import React, { useState } from 'react';\nimport { Space, Switch, Table } from 'antd';\nimport type { TableColumnsType, TableProps } from 'antd';\n\ntype TableRowSelection<T extends object = object> = TableProps<T>['rowSelection'];\n\ninterface DataType {\n key: React.ReactNode;\n name: string;\n age: number;\n address: string;\n children?: DataType[];\n}\n\nconst columns: TableColumnsType<DataType> = [\n {\n title: 'Name',\n dataIndex: 'name',\n key: 'name',\n },\n {\n title: 'Age',\n dataIndex: 'age',\n key: 'age',\n width: '12%',\n },\n {\n title: 'Address',\n dataIndex: 'address',\n width: '30%',\n key: 'address',\n },\n];\n\nconst dataSource = Array.from({ length: 15 }).map<DataType>((_, i) => ({\n key: `key${i}`,\n name: `Edward ${i}`,\n age: 32,\n address: `London Park no. ${i}`,\n children: [\n {\n key: `subKey${i}1`,\n name: 'Brown',\n age: 16,\n address: 'New York No. 3 Lake Park',\n },\n {\n key: `subKey${i}2`,\n name: 'Jimmy',\n age: 16,\n address: 'New York No. 3 Lake Park',\n },\n ],\n}));\n\n// rowSelection objects indicates the need for row selection\nconst rowSelection: TableRowSelection<DataType> = {\n onChange: (selectedRowKeys, selectedRows) => {\n console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);\n },\n onSelect: (record, selected, selectedRows) => {\n console.log(record, selected, selectedRows);\n },\n onSelectAll: (selected, selectedRows, changeRows) => {\n console.log(selected, selectedRows, changeRows);\n },\n};\n\nconst App: React.FC = () => {\n const [checkStrictly, setCheckStrictly] = useState(false);\n const [preserveSelectedRowKeys, setPreserveSelectedRowKeys] = useState(true);\n\n return (\n <>\n <Space align=\"center\" style={{ marginBottom: 16 }}>\n CheckStrictly: <Switch checked={checkStrictly} onChange={setCheckStrictly} />\n preserveSelectedRowKeys:{' '}\n <Switch checked={preserveSelectedRowKeys} onChange={setPreserveSelectedRowKeys} />\n </Space>\n <Table<DataType>\n columns={columns}\n rowSelection={{ ...rowSelection, checkStrictly, preserveSelectedRowKeys }}\n dataSource={dataSource}\n pagination={{ defaultPageSize: 5 }}\n />\n </>\n );\n};\n\nexport default App;\n";}}]);