mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-24 02:59:58 +08:00
1 line
14 KiB
JavaScript
1 line
14 KiB
JavaScript
(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["81567a07"],{"81567a07":function(e,n,t){"use strict";var a=t("852bbaa9")._;t.d(n,"__esModule",{value:!0}),t.d(n,"demos",{enumerable:!0,get:function(){return m;}});var d=t("852bbaa9"),s=d._(t("5b220c3d"));t("50968d5f");var r=d._(t("e22febe0")),o=d._(t("a9d1a279")),l=d._(t("23546486")),i=d._(t("1164364c")),c=d._(t("9c86e52a")),u=d._(t("3835a2b7")),b=d._(t("600aabe0"));let m={"badge-demo-basic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"995c1745"))))),asset:{type:"BLOCK",id:"badge-demo-basic",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("442e37f6").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:"\u57FA\u672C",description:"\u7B80\u5355\u7684\u5FBD\u7AE0\u5C55\u793A\uFF0C\u5F53 count \u4E3A 0 \u65F6\uFF0C\u9ED8\u8BA4\u4E0D\u663E\u793A\uFF0C\u4F46\u662F\u53EF\u4EE5\u4F7F\u7528 showZero \u4FEE\u6539\u4E3A\u663E\u793A\u3002"},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-no-wrapper":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"f7c57507"))))),asset:{type:"BLOCK",id:"badge-demo-no-wrapper",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("3a1b1b85").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:"\u72EC\u7ACB\u4F7F\u7528",description:"\u4E0D\u5305\u88F9\u4EFB\u4F55\u5143\u7D20\u5373\u662F\u72EC\u7ACB\u4F7F\u7528\uFF0C\u53EF\u81EA\u5B9A\u6837\u5F0F\u5C55\u73B0\u3002\n\n> \u5728\u53F3\u4E0A\u89D2\u7684 badge \u5219\u9650\u5B9A\u4E3A\u7EA2\u8272\u3002"},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-overflow":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"bce60f4b"))))),asset:{type:"BLOCK",id:"badge-demo-overflow",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("7c350a51").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5C01\u9876\u6570\u5B57",description:"\u8D85\u8FC7 overflowCount \u7684\u4F1A\u663E\u793A\u4E3A ${overflowCount}+\uFF0C\u9ED8\u8BA4\u7684 overflowCount \u4E3A 99\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-dot":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"643adadd"))))),asset:{type:"BLOCK",id:"badge-demo-dot",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("9afa3ca0").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:"\u8BA8\u5ACC\u7684\u5C0F\u7EA2\u70B9",description:"\u6CA1\u6709\u5177\u4F53\u7684\u6570\u5B57\u3002"},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-change":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"0e6613e9"))))),asset:{type:"BLOCK",id:"badge-demo-change",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("32a0f233").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:"\u52A8\u6001",description:"\u5C55\u793A\u52A8\u6001\u53D8\u5316\u7684\u6548\u679C\u3002"},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-link":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"23a7e102"))))),asset:{type:"BLOCK",id:"badge-demo-link",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("537f5e32").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u53EF\u70B9\u51FB",description:"\u7528 a \u6807\u7B7E\u8FDB\u884C\u5305\u88F9\u5373\u53EF\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-offset":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"01a21bff"))))),asset:{type:"BLOCK",id:"badge-demo-offset",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("998ad620").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u4F4D\u7F6E\u504F\u79FB",description:"\u8BBE\u7F6E\u72B6\u6001\u70B9\u7684\u4F4D\u7F6E\u504F\u79FB\uFF0C\u683C\u5F0F\u4E3A [left, top]\uFF0C\u8868\u793A\u72B6\u6001\u70B9\u8DDD\u9ED8\u8BA4\u4F4D\u7F6E\u5DE6\u4FA7\u3001\u4E0A\u65B9\u7684\u504F\u79FB\u91CF\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-size":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"bdfea811"))))),asset:{type:"BLOCK",id:"badge-demo-size",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("109558d4").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5927\u5C0F",description:"\u53EF\u4EE5\u8BBE\u7F6E\u6709\u6570\u5B57\u5FBD\u6807\u7684\u5927\u5C0F\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-status":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"5ddb14b9"))))),asset:{type:"BLOCK",id:"badge-demo-status",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("8c703eb8").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u72B6\u6001\u70B9",description:"\u7528\u4E8E\u8868\u793A\u72B6\u6001\u7684\u5C0F\u5706\u70B9\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-colorful":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"92954dfb"))))),asset:{type:"BLOCK",id:"badge-demo-colorful",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("ba45390e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u591A\u5F69\u5FBD\u6807",description:"\u6211\u4EEC\u6DFB\u52A0\u4E86\u591A\u79CD\u9884\u8BBE\u8272\u5F69\u7684\u5FBD\u6807\u6837\u5F0F\uFF0C\u7528\u4F5C\u4E0D\u540C\u573A\u666F\u4F7F\u7528\u3002\u5982\u679C\u9884\u8BBE\u503C\u4E0D\u80FD\u6EE1\u8DB3\u4F60\u7684\u9700\u6C42\uFF0C\u53EF\u4EE5\u8BBE\u7F6E\u4E3A\u5177\u4F53\u7684\u8272\u503C\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-ribbon":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"b89cba8a"))))),asset:{type:"BLOCK",id:"badge-demo-ribbon",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("744c418e").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u7F0E\u5E26",description:"\u4F7F\u7528\u7F0E\u5E26\u578B\u7684\u5FBD\u6807\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-ribbon-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"56158cdc"))))),asset:{type:"BLOCK",id:"badge-demo-ribbon-debug",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("5149e5f4").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Ribbon Debug",description:"Buggy!"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-mix":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"e410d597"))))),asset:{type:"BLOCK",id:"badge-demo-mix",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("b1528252").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u5404\u79CD\u6DF7\u7528\u7684\u60C5\u51B5",description:"\u6D4B\u8BD5 count status color dot \u5171\u7528\u7684\u60C5\u51B5\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-title":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"45e92bbf"))))),asset:{type:"BLOCK",id:"badge-demo-title",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("e246be8b").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u81EA\u5B9A\u4E49\u6807\u9898",description:"\u8BBE\u7F6E\u9F20\u6807\u653E\u5728\u72B6\u6001\u70B9\u4E0A\u65F6\u663E\u793A\u7684\u6587\u5B57\u3002"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-colorful-with-count-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"8bace5cc"))))),asset:{type:"BLOCK",id:"badge-demo-colorful-with-count-debug",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("6bfa51a6").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"\u591A\u5F69\u5FBD\u6807\u652F\u6301 count \u663E\u793A Debug",description:"\u5728\u4F7F\u7528\u591A\u5F69\u5FBD\u6807\u7684\u540C\u65F6\uFF0C\u652F\u6301 count \u5C5E\u6027\u663E\u793A"},context:{react:s,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-component-token":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"a69582bb"))))),asset:{type:"BLOCK",id:"badge-demo-component-token",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("9240dee0").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:"\u7EC4\u4EF6 Token",description:"Component Token Debug."},context:{react:s,"@ant-design/icons":r,antd:o},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}},"badge-demo-_semantic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("fc651ead")]).then(t.dr(a,t.bind(t,"d65dbf6b"))))),asset:{type:"BLOCK",id:"badge-demo-_semantic",refAtomIds:["badge"],dependencies:{"index.tsx":{type:"FILE",value:t("3065f103").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":i,react:s,antd:o,"/home/runner/work/ant-design/ant-design/.dumi/hooks/useLocale.ts":l,"/home/runner/work/ant-design/ant-design/.dumi/components/SemanticPreview.tsx":i,dumi:c,"antd-style":u,classnames:b},renderOpts:{compile:async(...e)=>(await Promise.all([t.ensure("vendors_1"),t.ensure("vendors_0"),t.ensure("d2b37e0b")]).then(t.dr(a,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]); |