mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-07 17:44:35 +08:00
1 line
8.9 KiB
JavaScript
1 line
8.9 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 y;}});var d=t("852bbaa9"),a=d._(t("5b220c3d"));t("dcfb979a");var r=d._(t("a9d1a279")),s=d._(t("e22febe0")),i=d._(t("23546486")),l=d._(t("f4312251")),c=d._(t("9c86e52a")),p=d._(t("3ee4759b")),m=d._(t("b9d4f376")),u=d._(t("3835a2b7")),f=d._(t("600aabe0")),b=d._(t("fc273388"));let y={"popconfirm-demo-basic":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},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:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-locale":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Locale text",description:"Set okText and cancelText props to customize the button's labels."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-placement":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},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:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-shift":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},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:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-dynamic-trigger":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Conditional trigger",description:"Make it pop up under some conditions."},context:{react:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-icon":{component:a.default.memo(a.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:"19.1.0"},"@ant-design/icons":{type:"NPM",value:"5.6.1"},antd:{type:"NPM",value:"5.25.4"}},entry:"index.tsx",title:"Customize icon",description:"Set icon props to customize the icon."},context:{react:a,"@ant-design/icons":s,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-async":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},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:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-promise":{component:a.default.memo(a.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:"19.1.0"},antd:{type:"NPM",value:"5.25.4"}},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:a,antd:r},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-render-panel":{component:a.default.memo(a.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:"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([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-wireframe":{component:a.default.memo(a.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:"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([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}},"popconfirm-demo-_semantic":{component:a.default.memo(a.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("4ef5149d")]).then(t.dr(o,t.bind(t,"c5c46c5f"))))),asset:{type:"BLOCK",id:"popconfirm-demo-_semantic",refAtomIds:["popconfirm"],dependencies:{"index.tsx":{type:"FILE",value:t("00d22fd4").default},react:{type:"NPM",value:"19.1.0"},antd:{type:"NPM",value:"5.25.4"},"../../../.dumi/hooks/useLocale.ts":{type:"FILE",value:t("80fe647a").default},"../../../.dumi/theme/common/SemanticPreview.tsx":{type:"FILE",value:t("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:c,"@ant-design/icons":s,"rc-util/lib/utils/get":p,"rc-util/lib/utils/set":m,"antd-style":u,classnames:f,prismjs:b},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_0"),t.ensure("vendors_1"),t.ensure("d2b37e0b")]).then(t.dr(o,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]); |