ant-design/a33e23cb-async.5920d2d1.js
2024-11-20 18:30:54 +00:00

1 line
7.7 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["a33e23cb"],{a33e23cb:function(e,n,t){"use strict";var o=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return i;}});var a=t("852bbaa9"),r=a._(t("5b220c3d"));t("dcfb979a");var d=a._(t("a9d1a279")),s=a._(t("e22febe0"));let i={"popconfirm-demo-basic":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"56757bb9"))))),asset:{type:"BLOCK",id:"popconfirm-demo-basic",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("21d447bf").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 basic example supports the title and description props of confirmation.\n\n> description is supported in version 5.1.0."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-locale":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"8a7090cb"))))),asset:{type:"BLOCK",id:"popconfirm-demo-locale",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("9bbe7d50").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Locale text",description:"Set okText and cancelText props to customize the button's labels."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-placement":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"64fd04c0"))))),asset:{type:"BLOCK",id:"popconfirm-demo-placement",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("29e2696f").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Placement",description:"There are 12 placement options available. Use arrow: { pointAtCenter: true } if you want the arrow to point at the center of target."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-shift":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"af112ede"))))),asset:{type:"BLOCK",id:"popconfirm-demo-shift",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("8ba669a8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Auto Shift",description:"Auto adjust Popup and arrow position when Popconfirm is close to the edge of the screen. Will be out of screen when exceed limitation."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-dynamic-trigger":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"ebf568ca"))))),asset:{type:"BLOCK",id:"popconfirm-demo-dynamic-trigger",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("626a3b02").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Conditional trigger",description:"Make it pop up under some conditions."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-icon":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"9bf093c3"))))),asset:{type:"BLOCK",id:"popconfirm-demo-icon",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("82da89f2").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:"Customize icon",description:"Set icon props to customize the icon."},context:{react:r,"@ant-design/icons":s,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-async":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"74e8b75c"))))),asset:{type:"BLOCK",id:"popconfirm-demo-async",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("7b2ce810").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Asynchronously close",description:"Asynchronously close a popconfirm when a the OK button is pressed. For example, you can use this pattern when you submit a form."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-promise":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"f1ba3367"))))),asset:{type:"BLOCK",id:"popconfirm-demo-promise",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("faa01364").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Asynchronously close on Promise",description:"Asynchronously close a popconfirm when the OK button is pressed. For example, you can use this pattern when you submit a form."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-render-panel":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"b9fc596c"))))),asset:{type:"BLOCK",id:"popconfirm-demo-render-panel",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("69ea6a1c").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:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-wireframe":{component:r.default.memo(r.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"0ab9ec37"))))),asset:{type:"BLOCK",id:"popconfirm-demo-wireframe",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("896c27f0").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Wireframe",description:"Wireframe style."},context:{react:r,antd:d},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]);