ant-design/7f480a55-async.6eec6f68.js
2024-11-20 18:30:54 +00:00

1 line
10 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["7f480a55"],{"7f480a55":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 s;}});var d=n("852bbaa9"),r=d._(n("5b220c3d"));n("93695f17");var i=d._(n("a9d1a279")),o=d._(n("e22febe0"));let s={"image-demo-basic":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"987346b8"))))),asset:{type:"BLOCK",id:"image-demo-basic",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("edc21cae").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:"Click the image to zoom in."},context:{react:r,antd: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)}},"image-demo-fallback":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"49eac360"))))),asset:{type:"BLOCK",id:"image-demo-fallback",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("9c599ae5").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Fault tolerant",description:"Load failed to display image placeholder."},context:{react:r,antd: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)}},"image-demo-placeholder":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"70296221"))))),asset:{type:"BLOCK",id:"image-demo-placeholder",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("5162cc39").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Progressive Loading",description:"Progressive when large image loading."},context:{react:r,antd: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)}},"image-demo-preview-group":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"b59332f0"))))),asset:{type:"BLOCK",id:"image-demo-preview-group",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("621c41d3").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Multiple image preview",description:"Click the left and right switch buttons to preview multiple images."},context:{react:r,antd: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)}},"image-demo-preview-group-visible":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"7f285a69"))))),asset:{type:"BLOCK",id:"image-demo-preview-group-visible",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("ced1471f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Preview from one image",description:"Preview a collection from one image."},context:{react:r,antd: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)}},"image-demo-previewsrc":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"d8d9b6e3"))))),asset:{type:"BLOCK",id:"image-demo-previewsrc",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("2e4a829e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Custom preview image",description:"You can set different preview image."},context:{react:r,antd: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)}},"image-demo-controlled-preview":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"9ab6e52d"))))),asset:{type:"BLOCK",id:"image-demo-controlled-preview",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("b085c5f7").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Controlled Preview",description:"You can make preview controlled."},context:{react:r,antd: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)}},"image-demo-toolbarrender":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"171fce64"))))),asset:{type:"BLOCK",id:"image-demo-toolbarrender",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("f1f3f9a5").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 toolbar render",description:"You can customize the toolbar and add a button for downloading the original image or downloading the flipped and rotated image."},context:{react:r,"@ant-design/icons":o,antd: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)}},"image-demo-imagerender":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"489c8a3a"))))),asset:{type:"BLOCK",id:"image-demo-imagerender",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("476bfb5f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Custom preview render",description:"You can customize the preview content."},context:{react:r,antd: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)}},"image-demo-preview-mask":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"91bd92f0"))))),asset:{type:"BLOCK",id:"image-demo-preview-mask",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("3f5ff83e").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 preview mask",description:"Custom preview mask."},context:{react:r,"@ant-design/icons":o,antd: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)}},"image-demo-nested":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"eb49eeaa"))))),asset:{type:"BLOCK",id:"image-demo-nested",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("80a5f034").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"nested",description:"Nested in the modal"},context:{react:r,antd: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)}},"image-demo-preview-group-top-progress":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"e68eb650"))))),asset:{type:"BLOCK",id:"image-demo-preview-group-top-progress",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("2ea91b55").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Top progress customization when previewing multiple images",description:"The progress is displayed at the top of the multi-image preview, and customization is supported"},context:{react:r,antd: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)}},"image-demo-component-token":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"0dc37e42"))))),asset:{type:"BLOCK",id:"image-demo-component-token",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("0d220f5a").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:r,antd: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)}},"image-demo-preview-imginfo":{component:r.default.memo(r.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("908fb85d")]).then(n.dr(a,n.bind(n,"81704993"))))),asset:{type:"BLOCK",id:"image-demo-preview-imginfo",refAtomIds:["image"],dependencies:{"index.tsx":{type:"FILE",value:n("f3ed0c03").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Gets image info in the render function",description:"Gets image info in the render function."},context:{react:r,antd: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)}}};}}]);