You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
79 KiB

"use strict";(self.webpackChunkantd=self.webpackChunkantd||[]).push([[5096],{803195:function(Ke,te,l){l.r(te),l.d(te,{default:function(){return gn}});var ce=l(805574),E=l.n(ce),oe=l(634577),ue=l(715778),pe=l(294184),V=l.n(pe),ne=l(727484),Y=l.n(ne),ke=l(533852),i=l(606641),u=l(667294),U=l(302559),re=l(438746),e=l(370917),I=l(352180),Je={1:"#fff",2:"#fafafa",3:"#f5f5f5",4:"#f0f0f0",5:"#d9d9d9",6:"#bfbfbf",7:"#8c8c8c",8:"#595959",9:"#434343",10:"#262626",11:"#1f1f1f",12:"#141414",13:"#000"},Xe=function(){var n=(0,I.Z)(),t=n.token,o=function d(p){var c=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1;return c<=10?`
.palette-`.concat(p,"-").concat(c,` {
background: `).concat(t["".concat(p,"-").concat(c)],`;
}
`).concat(d(p,c+1),`
`):""},r=function d(){var p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:1;return p<=13?`
.palette-gray-`.concat(p,` {
background: `).concat(Je[p],`;
}
`).concat(d(p+1),`
`):""};return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".color-palettes{margin:0 1%;&-dark{margin:0;padding:0 28px;background-color:#141414;.color-title{color:rgba(255, 255, 255, 0.85);}.color-description{color:rgba(255, 255, 255, 0.45);}.color-palette{margin:45px 3.5% 45px 0;&:nth-of-type(3n){margin-right:0;}.main-color-item{margin-right:0;&:hover{margin-right:-8px;}}}}}.color-palette{display:inline-block;width:31%;margin:45px 1%;&-pick{margin:0 0 20px;font-size:20px;text-align:center;}&-picker{margin:24px 0;&-value{position:relative;top:-3px;margin-left:16px;font-size:14px;font-family:Consolas,sans-serif;.ant-row-rtl &{margin-right:16px;margin-left:0;}}&-validation{position:relative;top:-3px;margin-left:16px;color:",t.colorError,";font-size:13px;.ant-row-rtl &{margin-right:16px;margin-left:0;}&-dark{margin-left:0;}}}}.main-color{",o("blue")," ",o("purple")," ",o("cyan")," ",o("green")," ",o("magenta")," ",o("red")," ",o("volcano")," ",o("orange")," ",o("gold")," ",o("yellow")," ",o("lime")," ",o("geekblue")," ",r()," text-align:left;&-item{position:relative;height:44px;margin-right:4px;padding:0 12px;font-size:14px;font-family:Consolas,sans-serif;line-height:44px;cursor:pointer;transition:all 0.2s;&:first-child{border-radius:4px 4px 0 0;}&:last-child{border-radius:0 0 4px 4px;}&:hover{margin-right:-8px;border-radius:0 4px 4px 0;}}&-item &-text{float:left;transition:all 0.3s;}&-item &-value{position:relative;left:3px;float:right;transform:scale(0.85);transform-origin:100% 50%;opacity:0;transition:all 0.3s;}}.color-title{margin:0 0 24px;color:#5c6b77;font-weight:500;font-size:22px;text-align:center;text-transform:capitalize;}.color-description{display:block;color:#777;font-weight:lighter;font-size:14px;}.main-color:hover{.main-color-value{left:0;opacity:0.7;}}.color-palette-horizontal{box-sizing:border-box;width:100%;&-dark{height:303px;padding:32px 28px;background-color:#141414;.color-palette-picker{margin-bottom:0;}.color-palette-pick{color:rgba(255, 255, 255, 0.65);text-align:left;&-hex{color:rgba(255, 255, 255, 0.65);}.ant-row-rtl &{direction:rtl;text-align:right;}}}.main-color{display:flex;&-item{position:relative;flex:1;box-sizing:border-box;height:86px;margin-right:0;padding:37px 0 0;line-height:normal;text-align:center;border-radius:0;.main-color-text{float:none;}&:hover{height:96px;margin-top:-10px;border-radius:4px 4px 0 0;}}&-value{position:absolute;bottom:0;left:0;width:100%;text-align:center;transform-origin:unset;}&:hover{.main-color-item{padding-top:8px;}.main-color-value{bottom:8px;opacity:0.7;}}}}","")})},Qe=Xe;function yn(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var qe={name:"1kp1585",styles:"h1,h2,h3,h4,h5,h6{>a[aria-hidden]:first-child{float:left;width:20px;padding-inline-end:4px;font-size:0;line-height:inherit;text-align:right;padding-inline-end:4px;margin-inline-start:-24px;[data-direction='rtl'] &{float:right;}&:hover{border:0;}>.icon-link::before{font-size:20px;content:'#';}}&:not(:hover)>a[aria-hidden]:first-child>.icon-link{visibility:hidden;}}"},et=function(){return(0,e.tZ)(e.xB,{styles:qe})},tt=function(){var s=(0,I.Z)(),n=s.token;return(0,e.tZ)(e.xB,{styles:(0,e.iv)("@font-face{font-weight:normal;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_6e11e43nfj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_6e11e43nfj.woff') format('woff'),url('//at.alicdn.com/t/webfont_6e11e43nfj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:bold;font-family:AlibabaPuHuiTi;src:url('//at.alicdn.com/t/webfont_exesdog9toj.woff2') format('woff2'),url('//at.alicdn.com/t/webfont_exesdog9toj.woff') format('woff'),url('//at.alicdn.com/t/webfont_exesdog9toj.ttf') format('truetype');font-display:swap;}@font-face{font-weight:900;font-family:'AliPuHui';src:url('//at.alicdn.com/wf/webfont/exMpJIukiCms/Gsw2PSKrftc1yNWMNlXgw.woff2') format('woff2'),url('//at.alicdn.com/wf/webfont/exMpJIukiCms/vtu73by4O2g
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
*/pre code{display:block;padding:16px 32px;color:`,n.colorText,";font-size:",n.fontSize,"px;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:2;white-space:pre;background:white;border:1px solid #e9e9e9;border-radius:",n.borderRadius,"px;}code[class*='language-'],pre[class*='language-']{color:black;font-family:'Lucida Console',Consolas,Monaco,'Andale Mono','Ubuntu Mono',monospace;line-height:1.5;direction:ltr;white-space:pre;text-align:left;word-wrap:normal;word-break:normal;word-spacing:normal;tab-size:4;hyphens:none;background:none;}code[class*='css']{direction:ltr;}pre[class*='language-'] ::selection,code[class*='language-'] ::selection{text-shadow:none;background:#b3d4fc;}@media print{code[class*='language-'],pre[class*='language-']{text-shadow:none;}}pre[class*='language-']{margin:16px 0;padding:12px 20px;overflow:auto;}:not(pre)>code[class*='language-'],pre[class*='language-']{background:#f5f5f5;}:not(pre)>code[class*='language-']{padding:0.1em;white-space:normal;border-radius:0.3em;}.token.comment,.token.prolog,.token.doctype,.token.cdata{color:slategray;}.token.punctuation{color:#999;}.namespace{opacity:0.7;}.markdown{.token.property,.token.tag,.token.boolean,.token.number,.token.constant,.token.symbol,.token.deleted{color:#f81d22;}.token.selector,.token.attr-name,.token.string,.token.char,.token.builtin,.token.inserted{color:#0b8235;}.token.operator,.token.entity,.token.url,.language-css .token.string,.style .token.string{color:#0b8235;}.token.atrule,.token.attr-value,.token.keyword{color:#008dff;}.token.function{color:#f81d22;}.token.regex,.token.important,.token.variable{color:#e90;}.token.important,.token.bold{font-weight:bold;}.token.italic{font-style:italic;}.token.entity{cursor:help;}}")})},lt=function(){var n=(0,I.Z)(),t=n.token,o=t.antCls,r=t.iconCls;return(0,e.tZ)(e.xB,{styles:(0,e.iv)(".code-boxes-col-1-1{width:100%;}.code-boxes-col-2-1{display:inline-block;vertical-align:top;}.code-box{position:relative;display:inline-block;width:100%;margin:0 0 16px;background-color:",t.colorBgContainer,";border:1px solid ",t.colorSplit,";border-radius:",t.borderRadius,"px;transition:all 0.2s;.code-box-title{&,a{color:",t.colorText,"!important;background:",t.colorBgContainer,";}}.code-box-demo{background-color:",t.colorBgContainer,";border-radius:",t.borderRadius,"px ",t.borderRadius,"px 0 0;}.markdown{pre{margin:0.5em 0;padding:6px 12px;}pre code{margin:0;background:#f5f5f5;}}&:target{border:1px solid ",t.colorPrimary,";}&-expand-trigger{position:relative;color:#3b4357;font-size:20px;cursor:pointer;opacity:0.75;transition:all 0.3s;margin-inline-start:12px;&:hover{opacity:1;}}&-title{position:absolute;top:-14px;padding:1px 8px;color:#777;background:",t.colorBgContainer,";border-radius:",t.borderRadius,"px ",t.borderRadius,"px 0 0;transition:background-color 0.4s;margin-inline-start:16px;",o,"-row-rtl &{border-radius:",t.borderRadius,"px 0 0 ",t.borderRadius,"px;}a,a:hover{color:",t.colorText,";font-weight:500;font-size:",t.fontSize,"px;}}&-description{padding:18px 24px 12px;}a.edit-button{position:absolute;top:7px;right:-16px;font-size:12px;text-decoration:none;background:inherit;transform:scale(0.9);padding-inline-end:6px;",r,"{color:",t.colorTextSecondary,";transition:all 0.3s;&:hover{color:",t.colorText,";}}",o,"-row",o,"-row-rtl &{right:auto;left:-22px;}}&-demo{padding:42px 24px 50px;color:",t.colorText,";border-bottom:1px solid ",t.colorSplit,";}iframe{width:100%;border:0;}&-meta{&.markdown{position:relative;width:100%;font-size:",t.fontSize,"px;border-radius:0 0 ",t.borderRadius,"px ",t.borderRadius,"px;transition:background-color 0.4s;}blockquote{line-height:1.5;}h4,section& p{margin:0;}>p{width:100%;margin:0.5em 0;font-size:12px;word-break:break-word;padding-inline-end:25px;}}&.expand &-meta{border-bottom:1px dashed ",t.colorSplit,";border-radius:0;}.code-expand-icon{position:relative;width:16px;height:16px;cursor:pointer;}.code-expand-icon-show,.code-expand-icon-hide{position:absolute;top:0;left:0;width:100%;max-width:100%;margin:0;box-shadow:none;transition:all 0
:where(.`.concat(ae,`) {
content: "__CHECK__";
}
`),ae);var a=getComputedStyle(c),m=a.content;return p(String(m).includes("CHECK")),function(){document.body.removeChild(c),(0,Se.removeCSS)(ae)}},[]),d?null:(0,e.tZ)("div",{style:{position:"fixed",left:0,right:0,top:0,bottom:0,zIndex:99999999,background:"rgba(0,0,0,0.65)",display:"flex",justifyContent:"center",alignItems:"center"}},(0,e.tZ)("div",{style:{border:"1px solid #ffe58f",background:"#fffbe6",color:"rgba(0,0,0,0.88)",padding:"8px 12px",borderRadius:"8px",zIndex:9999999999,lineHeight:"22px",width:520}},t.whereNotSupport," ",(0,e.tZ)("a",{style:{color:"#1677ff",textDecoration:"none"},href:t.whereDocUrl},t.whereDocTitle)))}var At={cn:{owner:"\u8682\u8681\u96C6\u56E2\u548C Ant Design \u5F00\u6E90\u793E\u533A"},en:{owner:"Ant Group and Ant Design Community"}},Dt=function(){var n=(0,I.Z)(),t=n.token,o=(0,u.useContext)(J.Z),r=o.isMobile,d=new K.C((0,Lt.Z)("#f0f3fa","#fff")).onBackground(t.colorBgContainer).toHexString();return{holder:(0,e.iv)("background:",d,";",""),footer:(0,e.iv)("background:",d,";color:",t.colorTextSecondary,";box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);*{box-sizing:border-box;}h2,a{color:",t.colorText,";}.rc-footer-column{margin-bottom:",r?60:0,"px;:last-child{margin-bottom:",r?20:0,"px;}}.rc-footer-item-icon{top:-1.5px;}.rc-footer-container{max-width:1208px;margin-inline:auto;padding-inline:",t.marginXXL,"px;}.rc-footer-bottom{box-shadow:inset 0 106px 36px -116px rgba(0, 0, 0, 0.14);.rc-footer-bottom-container{font-size:",t.fontSize,"px;}}","")}},Bt=function(){var n=(0,re.Z)(),t=(0,U.Z)(At),o=E()(t,2),r=o[0],d=o[1],p=Dt(),c=n.getLink,a=u.useMemo(function(){var m=d==="cn",C={title:(0,e.tZ)(i._H,{id:"app.footer.resources"}),items:[{title:"Ant Design Charts",url:"https://charts.ant.design",openExternal:!0},{title:"Ant Design Pro",url:"https://pro.ant.design",openExternal:!0},{title:"Ant Design Pro Components",url:"https://procomponents.ant.design",openExternal:!0},{title:"Ant Design Mobile",url:"https://mobile.ant.design",openExternal:!0},{title:"Ant Design Mini",url:"https://mini.ant.design",openExternal:!0},{title:"Ant Design Landing",description:(0,e.tZ)(i._H,{id:"app.footer.landing"}),url:"https://landing.ant.design",openExternal:!0},{title:"Scaffolds",description:(0,e.tZ)(i._H,{id:"app.footer.scaffolds"}),url:"https://scaffold.ant.design",openExternal:!0},{title:"Umi",description:(0,e.tZ)(i._H,{id:"app.footer.umi"}),url:"https://umijs.org",openExternal:!0},{title:"dumi",description:(0,e.tZ)(i._H,{id:"app.footer.dumi"}),url:"https://d.umijs.org",openExternal:!0},{title:"qiankun",description:(0,e.tZ)(i._H,{id:"app.footer.qiankun"}),url:"https://qiankun.umijs.org",openExternal:!0},{title:"ahooks",description:(0,e.tZ)(i._H,{id:"app.footer.hooks"}),url:"https://github.com/alibaba/hooks",openExternal:!0},{title:"Ant Motion",description:(0,e.tZ)(i._H,{id:"app.footer.motion"}),url:"https://motion.ant.design",openExternal:!0},{title:(0,e.tZ)(i._H,{id:"app.footer.chinamirror"}),url:"https://ant-design.antgroup.com"}]},S={title:(0,e.tZ)(i._H,{id:"app.footer.community"}),items:[{icon:(0,e.tZ)(wt.Z,null),title:(0,e.tZ)(i._H,{id:"app.footer.awesome"}),url:"https://github.com/websemantics/awesome-ant-design",openExternal:!0},{icon:(0,e.tZ)(kt.Z,null),title:"Medium",url:"http://medium.com/ant-design/",openExternal:!0},{icon:(0,e.tZ)(Zt.Z,{style:{color:"#1DA1F2"}}),title:"Twitter",url:"http://twitter.com/antdesignui",openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/XuVpGqBFxXplzvLjJBZB.svg",alt:"yuque"}),title:(0,e.tZ)(i._H,{id:"app.footer.yuque.repo"}),url:"https://yuque.com/ant-design/ant-design",openExternal:!0},{icon:(0,e.tZ)(ie.Z,{style:{color:"#056de8"}}),title:(0,e.tZ)(i._H,{id:"app.footer.zhihu"}),url:"https://www.zhihu.com/column/c_1564262000561106944",openExternal:!0},{icon:(0,e.tZ)(ie.Z,{style:{color:"#056de8"}}),title:(0,e.tZ)(i._H,{id:"app.footer.zhihu.xtech"}),url:"https://www.zhihu.com/column/c_1543658574504751104",openExternal:!0},{icon:(0,e.tZ)("img",{src:"https://gw.alipayobjects.com/zos/rmsportal/mZBWtboYbnMkTBaRIuWQ.png",alt:"seeconf"}),