ant-design/c1940ff3-async.cec9908c.js
2024-11-20 18:30:54 +00:00

1 line
9.5 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["c1940ff3"],{c1940ff3:function(e,t,n){"use strict";var d=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return i;}});var a=n("852bbaa9"),s=a._(n("5b220c3d"));n("85f1c12f");var o=a._(n("a9d1a279")),r=a._(n("e22febe0"));let i={"segmented-demo-basic":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"8e3e937a"))))),asset:{type:"BLOCK",id:"segmented-demo-basic",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("5de965d1").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Basic",description:"The most basic usage."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-vertical":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"b32e9692"))))),asset:{type:"BLOCK",id:"segmented-demo-vertical",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("87c61b8f").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:"Vertical Direction",description:"Make it vertical."},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-block":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"06a24169"))))),asset:{type:"BLOCK",id:"segmented-demo-block",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("c3805e31").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Block Segmented",description:"block property will make the Segmented fit to its parent width."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-disabled":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"740b81a6"))))),asset:{type:"BLOCK",id:"segmented-demo-disabled",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("c972681b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Disabled",description:"Disabled Segmented."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-controlled":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"b7adc962"))))),asset:{type:"BLOCK",id:"segmented-demo-controlled",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("4317b8e2").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Controlled mode",description:"Controlled Segmented."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-custom":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"c2f1c112"))))),asset:{type:"BLOCK",id:"segmented-demo-custom",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("fb0c74b7").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:"Custom Render",description:"Custom each Segmented Item by ReactNode."},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-dynamic":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"5a85b85c"))))),asset:{type:"BLOCK",id:"segmented-demo-dynamic",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("60c82f9e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Dynamic",description:"Load options dynamically."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-size":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"f932672d"))))),asset:{type:"BLOCK",id:"segmented-demo-size",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("0e13f12e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Three sizes of Segmented",description:"There are three sizes of an Segmented: large (40px), default (32px) and small (24px)."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-with-icon":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"48d2ee0c"))))),asset:{type:"BLOCK",id:"segmented-demo-with-icon",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("d874e87f").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:"With Icon",description:"Set icon for Segmented Item."},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-icon-only":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"addc6572"))))),asset:{type:"BLOCK",id:"segmented-demo-icon-only",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("6bd842ad").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:"With Icon only",description:"Set icon without label for Segmented Item."},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-controlled-two":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"1baa0330"))))),asset:{type:"BLOCK",id:"segmented-demo-controlled-two",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("fc3cda34").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Controlled Synced mode",description:"Tests two Segmented synchronized states in controlled mode."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-size-consistent":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"99b6cf10"))))),asset:{type:"BLOCK",id:"segmented-demo-size-consistent",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("002c6f97").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Consistent height",description:"Keep consistent height with other components."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}},"segmented-demo-componenttoken":{component:s.default.memo(s.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("93e39225")]).then(n.dr(d,n.bind(n,"7cf48ae8"))))),asset:{type:"BLOCK",id:"segmented-demo-componenttoken",refAtomIds:["segmented"],dependencies:{"index.tsx":{type:"FILE",value:n("6762884e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Custom component token",description:"Custom component token."},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_1"),n.ensure("vendors_0"),n.ensure("d2b37e0b")]).then(n.dr(d,n.bind(n,"d2b37e0b")))).default(...e)}}};}}]);