ant-design/b5011ded-async.b751ea9f.js
2025-05-31 08:49:44 +00:00

1 line
9.3 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["b5011ded"],{b5011ded:function(e,t,n){"use strict";var o=n("852bbaa9")._;n.d(t,"__esModule",{value:!0}),n.d(t,"demos",{enumerable:!0,get:function(){return f;}});var d=n("852bbaa9"),a=d._(n("5b220c3d"));n("b1318295");var r=d._(n("a9d1a279")),s=d._(n("3835a2b7")),i=d._(n("23546486")),l=d._(n("f4312251")),p=d._(n("9c86e52a")),c=d._(n("e22febe0")),u=d._(n("3ee4759b")),m=d._(n("b9d4f376")),v=d._(n("600aabe0")),b=d._(n("fc273388"));let f={"popover-demo-basic":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"109564fc"))))),asset:{type:"BLOCK",id:"popover-demo-basic",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("78ffa78c").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Basic",description:"The most basic example. The size of the floating layer depends on the contents region."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-triggertype":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"64bcb5cc"))))),asset:{type:"BLOCK",id:"popover-demo-triggertype",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("437530d4").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Three ways to trigger",description:"Mouse to click, focus and move in."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-placement":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"7e0e6475"))))),asset:{type:"BLOCK",id:"popover-demo-placement",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("130f119b").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Placement",description:"There are 12 placement options available."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-arrow":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"14b03d78"))))),asset:{type:"BLOCK",id:"popover-demo-arrow",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("b62d2ca9").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Arrow",description:"Hide arrow by arrow."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-arrow-point-at-center":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"d7ba173b"))))),asset:{type:"BLOCK",id:"popover-demo-arrow-point-at-center",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("ee0a0b19").default},react:{type:"NPM",value:"19.1.0"},"antd-style":{type:"NPM",value:"3.7.1"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Arrow.pointAtCenter",description:"arrow={{ pointAtCenter: true }} property can make the arrow point at the center of the target element."},context:{react:a,"antd-style":s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-shift":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"1c212732"))))),asset:{type:"BLOCK",id:"popover-demo-shift",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("7bfa279c").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Auto Shift",description:"Auto adjust Popup and arrow position when Popover is close to the edge of the screen. Will be out of screen when exceed limitation."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-control":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"88039f9c"))))),asset:{type:"BLOCK",id:"popover-demo-control",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("d9146333").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Controlling the close of the dialog",description:"Use open prop to control the display of the card."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-hover-with-click":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"5af12787"))))),asset:{type:"BLOCK",id:"popover-demo-hover-with-click",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("decc971b").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Hover with click popover",description:"The following example shows how to create a popover which can be hovered and clicked."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-render-panel":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"340e0044"))))),asset:{type:"BLOCK",id:"popover-demo-render-panel",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("a3b7d55e").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"_InternalPanelDoNotUseOrYouWillBeFired",description:"Debug usage. Do not use in your production."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-wireframe":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"218e579f"))))),asset:{type:"BLOCK",id:"popover-demo-wireframe",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("141a8cab").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Wireframe",description:"Wireframe style."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-component-token":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"a4b7cd66"))))),asset:{type:"BLOCK",id:"popover-demo-component-token",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("5d0a12cd").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Component Token",description:"Component Token Debug."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}},"popover-demo-_semantic":{component:a.default.memo(a.default.lazy(()=>Promise.all([n.ensure("common"),n.ensure("acdf21c9")]).then(n.dr(o,n.bind(n,"9abb388e"))))),asset:{type:"BLOCK",id:"popover-demo-_semantic",refAtomIds:["popover"],dependencies:{"index.tsx":{type:"FILE",value:n("08fbead6").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},"../../../.dumi/hooks/useLocale.ts":{type:"FILE",value:n("80fe647a").default},"../../../.dumi/theme/common/SemanticPreview.tsx":{type:"FILE",value:n("1b761474").default},"@ant-design/icons":{type:"NPM",value:"5.6.1"},"rc-util":{type:"NPM",value:"5.44.4"},"antd-style":{type:"NPM",value:"3.7.1"},classnames:{type:"NPM",value:"2.5.1"},prismjs:{type:"NPM",value:"1.30.0"}},entry:"index.tsx"},context:{"../../../.dumi/hooks/useLocale.ts":i,"../../../.dumi/theme/common/SemanticPreview.tsx":l,react:a,antd:r,"/home/runner/work/ant-design/ant-design/.dumi/hooks/useLocale.ts":i,"/home/runner/work/ant-design/ant-design/.dumi/theme/common/SemanticPreview.tsx":l,dumi:p,"@ant-design/icons":c,"rc-util/lib/utils/get":u,"rc-util/lib/utils/set":m,"antd-style":s,classnames:v,prismjs:b},renderOpts:{compile:async(...e)=>(await Promise.all([n.ensure("vendors_0"),n.ensure("vendors_1"),n.ensure("d2b37e0b")]).then(n.dr(o,n.bind(n,"d2b37e0b")))).default(...e)}}};}}]);