ant-design/824b9c7e-async.887d00df.js
2024-11-20 18:30:54 +00:00

1 line
12 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["824b9c7e"],{"824b9c7e":function(e,a,t){"use strict";var n=t("852bbaa9")._;t.d(a,"__esModule",{value:!0}),t.d(a,"demos",{enumerable:!0,get:function(){return p;}});var d=t("852bbaa9"),r=d._(t("5b220c3d"));t("36aa6d53");var s=d._(t("a9d1a279")),o=d._(t("e22febe0")),i=d._(t("3835a2b7")),l=d._(t("23546486")),u=d._(t("1164364c")),c=d._(t("9c86e52a")),m=d._(t("600aabe0"));let p={"drawer-demo-basic-right":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"af5f7645"))))),asset:{type:"BLOCK",id:"drawer-demo-basic-right",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("a0159d79").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Basic",description:"Basic drawer."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-placement":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"03db826f"))))),asset:{type:"BLOCK",id:"drawer-demo-placement",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("32bea601").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Custom Placement",description:"The Drawer can appear from any edge of the screen."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-loading":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"a71d1aea"))))),asset:{type:"BLOCK",id:"drawer-demo-loading",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("785302aa").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Loading",description:"Set the loading status of Drawer."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-extra":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"16dbfae4"))))),asset:{type:"BLOCK",id:"drawer-demo-extra",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("a21960ed").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Extra Actions",description:"Extra actions should be placed at corner of drawer in Ant Design, you can use extra prop for that."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-render-in-current":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"0e8b61ae"))))),asset:{type:"BLOCK",id:"drawer-demo-render-in-current",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("d0fb868b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Render in current dom",description:"Render in current dom. custom container, check getContainer.\n\n> Note: style and className props are moved to Drawer panel in v5 which is aligned with Modal component. Original style and className props are replaced by rootStyle and rootClassName.\n\n> When getContainer returns a DOM node, you need to manually set rootStyle to { position: 'absolute' }, see #41951 [https://github.com/ant-design/ant-design/issues/41951#issuecomment-1521099152]."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-form-in-drawer":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"aae23a20"))))),asset:{type:"BLOCK",id:"drawer-demo-form-in-drawer",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("54fadc4b").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:"Submit form in drawer",description:"Use a form in Drawer with a submit button."},context:{react:r,"@ant-design/icons":o,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-user-profile":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"82b07988"))))),asset:{type:"BLOCK",id:"drawer-demo-user-profile",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("185f2ef8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Preview drawer",description:"Use Drawer to quickly preview details of an object, such as those in a list."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-multi-level-drawer":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"fed5a0a8"))))),asset:{type:"BLOCK",id:"drawer-demo-multi-level-drawer",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("1d7d898d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Multi-level drawer",description:"Open a new drawer on top of an existing drawer to handle multi branch tasks."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-size":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"b70a9d00"))))),asset:{type:"BLOCK",id:"drawer-demo-size",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("b68b9580").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Preset size",description:"The default width (or height) of Drawer is 378px, and there is a preset large size 736px."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-classnames":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"244ec22b"))))),asset:{type:"BLOCK",id:"drawer-demo-classnames",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("9d411d6f").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:"Customize className for build-in module",description:"Set the className of the build-in module (header, body, footer, mask, wrapper) of the drawer through the classNames."},context:{react:r,antd:s,"antd-style":i},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-config-provider":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"05a0d079"))))),asset:{type:"BLOCK",id:"drawer-demo-config-provider",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("6ca024e7").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"ConfigProvider",description:"config by ConfigProvider."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-no-mask":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"3644acb2"))))),asset:{type:"BLOCK",id:"drawer-demo-no-mask",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("07976629").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"No mask",description:"Remove mask."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-render-panel":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"324720c0"))))),asset:{type:"BLOCK",id:"drawer-demo-render-panel",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("cf982296").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"_InternalPanelDoNotUseOrYouWillBeFired",description:"Debug usage. Do not use in your production."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-scroll-debug":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"b844df36"))))),asset:{type:"BLOCK",id:"drawer-demo-scroll-debug",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("c55fff7d").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Scroll Debug",description:"Scroll lock debug with Modal & Drawer."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-component-token":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"24c9c1d5"))))),asset:{type:"BLOCK",id:"drawer-demo-component-token",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("8fd29451").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Component Token",description:"Component Token Debug."},context:{react:r,antd:s},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}},"drawer-demo-_semantic":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("e25a0bd7")]).then(t.dr(n,t.bind(t,"90b79cc5"))))),asset:{type:"BLOCK",id:"drawer-demo-_semantic",refAtomIds:["drawer"],dependencies:{"index.tsx":{type:"FILE",value:t("eed6039a").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"},"../../../.dumi/hooks/useLocale.ts":{type:"FILE",value:t("80fe647a").default},"../../../.dumi/components/SemanticPreview.tsx":{type:"FILE",value:t("57938cf4").default},"antd-style":{type:"NPM",value:"3.7.1"},classnames:{type:"NPM",value:"2.5.1"}},entry:"index.tsx"},context:{"../../../.dumi/hooks/useLocale.ts":l,"../../../.dumi/components/SemanticPreview.tsx":u,react:r,antd:s,"/home/runner/work/ant-design/ant-design/.dumi/hooks/useLocale.ts":l,"/home/runner/work/ant-design/ant-design/.dumi/components/SemanticPreview.tsx":u,dumi:c,"antd-style":i,classnames:m},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(n,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]);