ant-design/8d3ce541-async.d774683e.js

1 line
41 KiB
JavaScript
Raw Normal View History

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["8d3ce541"],{"8d3ce541":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("e8941ba8");var r=d._(n("a9d1a279")),o=d._(n("e22febe0")),l=d._(n("7b960f61")),i=d._(n("c630c6aa")),c=d._(n("3835a2b7")),u=d._(n("915a4463")),m=d._(n("c0f053f1")),b=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:"Basic Usage",description:"Simple table with actions."},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 style API",description:"Using JSX style API (introduced in 2.5.0)\n\n> Since this is just a syntax sugar for the prop columns, you can't compose Column and ColumnGroup with other Components."},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:"selection",description:"Rows can be selectable by making first column as a selectable column. You can use rowSelection.type to set selection type. Default is checkbox.\n\n> selection happens when clicking checkbox by default. You can see https://codesandbox.io/s/000vqw38rl [https://codesandbox.io/s/000vqw38rl] if you need row-click selection behavior."},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:"Selection and operation",description:"To perform operations and clear selections after selecting some rows, use rowSelection.selectedRowKeys to control selected rows."},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,"0902