ant-design/af651449-async.a862d659.js
2024-11-20 18:30:54 +00:00

1 line
7.2 KiB
JavaScript

(("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd=("undefined"!=typeof globalThis?globalThis:self).makoChunk_antd||[]).push([["af651449"],{af651449:function(e,a,t){"use strict";var n=t("852bbaa9")._;t.d(a,"__esModule",{value:!0}),t.d(a,"demos",{enumerable:!0,get:function(){return i;}});var d=t("852bbaa9"),s=d._(t("5b220c3d"));t("acc4e3aa");var r=d._(t("e22febe0")),o=d._(t("a9d1a279"));let i={"avatar-demo-basic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"960ff452"))))),asset:{type:"BLOCK",id:"avatar-demo-basic",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("4b2fdeab").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:"Basic",description:"Three sizes and two shapes are available."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-type":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"be33e26a"))))),asset:{type:"BLOCK",id:"avatar-demo-type",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("0fb44363").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:"Type",description:"Image, Icon and letter are supported, and the latter two kinds of avatar can have custom colors and background colors."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-dynamic":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"0aa93431"))))),asset:{type:"BLOCK",id:"avatar-demo-dynamic",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("6d3dd64a").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Autoset Font Size",description:"For letter type Avatar, when the letters are too long to display, the font size can be automatically adjusted according to the width of the Avatar. You can also use gap to set the unit distance between left and right sides."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-badge":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"a90508ee"))))),asset:{type:"BLOCK",id:"avatar-demo-badge",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("4c357030").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:"With Badge",description:"Usually used for reminders and notifications."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-group":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"966601a8"))))),asset:{type:"BLOCK",id:"avatar-demo-group",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("87706812").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:"Avatar.Group",description:"Avatar group display."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-toggle-debug":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"501922c6"))))),asset:{type:"BLOCK",id:"avatar-demo-toggle-debug",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("135888ac").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Calculate text style when hiding",description:"Text inside Avatar should be set a proper font size when toggle it's visibility."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-responsive":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"b6990518"))))),asset:{type:"BLOCK",id:"avatar-demo-responsive",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("22c4c88a").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:"Responsive Size",description:"Avatar size can be automatically adjusted based on the screen size."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-fallback":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"fa31df7c"))))),asset:{type:"BLOCK",id:"avatar-demo-fallback",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("08db1c79").default},react:{type:"NPM",value:"18.3.0-canary-c3048aab4-20240326"},antd:{type:"NPM",value:"5.22.2"}},entry:"index.tsx",title:"Fallback",description:"When the image does not exist, if src is a ReactElement, it will try to fall back to src, otherwise it will try to fall back to icon, and finally fall back to displaying children."},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(n,t.bind(t,"d2b37e0b")))).default(...e)}},"avatar-demo-component-token":{component:s.default.memo(s.default.lazy(()=>Promise.all([t.ensure("common"),t.ensure("770f4d7e")]).then(t.dr(n,t.bind(t,"065f3443"))))),asset:{type:"BLOCK",id:"avatar-demo-component-token",refAtomIds:["avatar"],dependencies:{"index.tsx":{type:"FILE",value:t("eaafe65b").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:"Component 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(n,t.bind(t,"d2b37e0b")))).default(...e)}}};}}]);