@fle-ui/next 1.0.0-alpha.12 → 1.0.0-alpha.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (164) hide show
  1. package/.history/package_20211011190148.json +141 -0
  2. package/.history/package_20211011193053.json +141 -0
  3. package/dist/@fle-ui/next.css +2 -2
  4. package/dist/@fle-ui/next.css.map +1 -1
  5. package/dist/@fle-ui/next.js +1 -1
  6. package/dist/@fle-ui/next.min.css +2 -2
  7. package/dist/@fle-ui/next.min.css.map +1 -1
  8. package/dist/@fle-ui/next.min.js +1 -1
  9. package/docs-dist/components__affix__affix.md.js +701 -1
  10. package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
  11. package/docs-dist/components__alert__alert.md.js +942 -1
  12. package/docs-dist/components__anchor__anchor.md.js +789 -1
  13. package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
  14. package/docs-dist/components__avatar__avatar.md.js +854 -1
  15. package/docs-dist/components__back-top__backTop.md.js +581 -1
  16. package/docs-dist/components__badge__badge.md.js +972 -1
  17. package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
  18. package/docs-dist/components__button__button.md.js +1037 -1
  19. package/docs-dist/components__calendar__calendar.md.js +897 -1
  20. package/docs-dist/components__card__card.md.js +1106 -1
  21. package/docs-dist/components__carousel__carousel.md.js +770 -1
  22. package/docs-dist/components__cascader__cascader.md.js +1378 -1
  23. package/docs-dist/components__checkbox__checkbox.md.js +876 -1
  24. package/docs-dist/components__collapse__collapse.md.js +959 -1
  25. package/docs-dist/components__comment__comment.md.js +586 -1
  26. package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
  27. package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
  28. package/docs-dist/components__descriptions__descriptions.md.js +863 -1
  29. package/docs-dist/components__divider__divider.md.js +681 -1
  30. package/docs-dist/components__drawer__drawer.md.js +997 -1
  31. package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
  32. package/docs-dist/components__empty__empty.md.js +692 -1
  33. package/docs-dist/components__form__form.md.js +4099 -1
  34. package/docs-dist/components__grid__grid.md.js +999 -1
  35. package/docs-dist/components__icon__icon.md.js +739 -1
  36. package/docs-dist/components__image__image.md.js +745 -1
  37. package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
  38. package/docs-dist/components__input__input.md.js +1579 -1
  39. package/docs-dist/components__layout__layout.md.js +1220 -1
  40. package/docs-dist/components__list__list.md.js +1255 -1
  41. package/docs-dist/components__mentions__mentions.md.js +943 -1
  42. package/docs-dist/components__menu__menu.md.js +1370 -1
  43. package/docs-dist/components__message__message.md.js +1223 -1
  44. package/docs-dist/components__modal__modal.md.js +1808 -1
  45. package/docs-dist/components__notification__notification.md.js +1192 -1
  46. package/docs-dist/components__page-header__page-header.md.js +781 -1
  47. package/docs-dist/components__pagination__pagination.md.js +954 -1
  48. package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
  49. package/docs-dist/components__popover__popover.md.js +665 -1
  50. package/docs-dist/components__progress__progress.md.js +1139 -1
  51. package/docs-dist/components__radio__radio.md.js +999 -1
  52. package/docs-dist/components__rate__rate.md.js +851 -1
  53. package/docs-dist/components__result__result.md.js +681 -1
  54. package/docs-dist/components__select__select.md.js +2081 -1
  55. package/docs-dist/components__slider__slider.md.js +1053 -1
  56. package/docs-dist/components__space__space.md.js +746 -1
  57. package/docs-dist/components__spin__spin.md.js +730 -1
  58. package/docs-dist/components__statistic__statistic.md.js +827 -1
  59. package/docs-dist/components__steps__steps.md.js +1097 -1
  60. package/docs-dist/components__switch__switch.md.js +763 -1
  61. package/docs-dist/components__table__table.md.js +3692 -1
  62. package/docs-dist/components__tabs__tabs.md.js +1213 -1
  63. package/docs-dist/components__tag__tag.md.js +779 -1
  64. package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
  65. package/docs-dist/components__timeline__timeline.md.js +799 -1
  66. package/docs-dist/components__tooltip__tooltip.md.js +888 -1
  67. package/docs-dist/components__transfer__transfer.md.js +1226 -1
  68. package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
  69. package/docs-dist/components__typography__typography.md.js +1793 -1
  70. package/docs-dist/components__upload__upload.md.js +1798 -1
  71. package/docs-dist/demos_bmurcdaerb.js +603 -1
  72. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
  73. package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
  74. package/docs-dist/demos_citsitats.js +549 -1
  75. package/docs-dist/demos_daolpu.chunk.css +1 -1
  76. package/docs-dist/demos_daolpu.js +22680 -1
  77. package/docs-dist/demos_dirg.js +47 -1
  78. package/docs-dist/demos_drac.js +748 -1
  79. package/docs-dist/demos_ecaps.js +529 -1
  80. package/docs-dist/demos_egami.js +153 -1
  81. package/docs-dist/demos_egassem.js +187 -1
  82. package/docs-dist/demos_egdab.js +872 -1
  83. package/docs-dist/demos_elbat.chunk.css +1 -1
  84. package/docs-dist/demos_elbat.js +27626 -1
  85. package/docs-dist/demos_enilemit.js +627 -1
  86. package/docs-dist/demos_espalloc.js +705 -1
  87. package/docs-dist/demos_etar.js +547 -1
  88. package/docs-dist/demos_etelpmoc-otua.js +613 -1
  89. package/docs-dist/demos_gat.js +487 -1
  90. package/docs-dist/demos_hctiws.js +439 -1
  91. package/docs-dist/demos_ladom.js +791 -1
  92. package/docs-dist/demos_lesuorac.js +193 -1
  93. package/docs-dist/demos_mrifnocpop.js +671 -1
  94. package/docs-dist/demos_mrof.js +3082 -1
  95. package/docs-dist/demos_nips.js +461 -1
  96. package/docs-dist/demos_noitacifiton.js +765 -1
  97. package/docs-dist/demos_noitanigap.js +233 -1
  98. package/docs-dist/demos_nottub.js +847 -1
  99. package/docs-dist/demos_nwodpord.js +965 -1
  100. package/docs-dist/demos_oidar.js +340 -1
  101. package/docs-dist/demos_pitloot.js +204 -1
  102. package/docs-dist/demos_pot-kcab.js +62 -1
  103. package/docs-dist/demos_radnelac.js +285 -1
  104. package/docs-dist/demos_ratava.js +647 -1
  105. package/docs-dist/demos_rebmun-tupni.js +209 -1
  106. package/docs-dist/demos_redacsac.js +576 -1
  107. package/docs-dist/demos_redaeh-egap.js +761 -1
  108. package/docs-dist/demos_redils.js +659 -1
  109. package/docs-dist/demos_redivid.js +167 -1
  110. package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
  111. package/docs-dist/demos_refsnart.js +774 -1
  112. package/docs-dist/demos_rekcip-emit.js +183 -1
  113. package/docs-dist/demos_rekcip-etad.js +469 -1
  114. package/docs-dist/demos_revopop.js +335 -1
  115. package/docs-dist/demos_reward.js +484 -1
  116. package/docs-dist/demos_rohcna.js +194 -1
  117. package/docs-dist/demos_sbat.chunk.css +1 -1
  118. package/docs-dist/demos_sbat.js +22358 -1
  119. package/docs-dist/demos_snoitnem.js +202 -1
  120. package/docs-dist/demos_snoitpircsed.js +351 -1
  121. package/docs-dist/demos_spets.js +910 -1
  122. package/docs-dist/demos_ssergorp.js +698 -1
  123. package/docs-dist/demos_tceles.js +1416 -1
  124. package/docs-dist/demos_tluser.js +530 -1
  125. package/docs-dist/demos_tnemmoc.js +560 -1
  126. package/docs-dist/demos_trela.js +341 -1
  127. package/docs-dist/demos_tsil.js +603 -1
  128. package/docs-dist/demos_tuoyal.js +872 -1
  129. package/docs-dist/demos_tupni.js +1245 -1
  130. package/docs-dist/demos_unem.js +1012 -1
  131. package/docs-dist/demos_xiffa.js +93 -1
  132. package/docs-dist/demos_xobkcehc.js +186 -1
  133. package/docs-dist/demos_yhpargopyt.js +798 -1
  134. package/docs-dist/demos_ytpme.js +433 -1
  135. package/docs-dist/docs__document__getting-started.md.js +193 -1
  136. package/docs-dist/docs__document__introduce.md.js +441 -1
  137. package/docs-dist/docs__document__practical-projects.md.js +117 -1
  138. package/docs-dist/docs__index.md.js +27 -1
  139. package/docs-dist/docs__story__index.md.js +89 -1
  140. package/docs-dist/dumi_demos.js +456 -1
  141. package/docs-dist/umi.js +28727 -1
  142. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
  143. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
  144. package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
  145. package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
  146. package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
  147. package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
  148. package/docs-dist/vendors~demos_gat.js +4673 -1
  149. package/docs-dist/vendors~demos_ladom.js +1855 -1
  150. package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
  151. package/docs-dist/vendors~demos_sbat.js +1601 -1
  152. package/docs-dist/vendors~demos_trela.js +1722 -1
  153. package/docs-dist/vendors~demos_tsil.js +4970 -1
  154. package/docs-dist/vendors~demos_tuoyal.js +748 -1
  155. package/docs-dist/vendors~wrappers.js +1360 -1
  156. package/docs-dist/wrappers.js +21 -1
  157. package/es/drawer/style/drawer.less +8 -4
  158. package/es/drawer/style/index.css +1 -1
  159. package/es/style/themes/default.less +57 -29
  160. package/lib/drawer/style/drawer.less +8 -4
  161. package/lib/drawer/style/index.css +1 -1
  162. package/lib/style/themes/default.less +57 -29
  163. package/package.json +1 -1
  164. package/report.html +1 -1
@@ -1 +1,854 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[12],{MZF8:function(e,t,a){"use strict";var l=a("ogwx");a.d(t,"a",(function(){return l["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("k3GJ"),c=a("MZF8"),m=a("dEAq"),u=a("H1Ra");a("RZMt");function o(e,t){return f(e)||E(e,t)||i(e,t)||d()}function d(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function i(e,t){if(e){if("string"===typeof e)return s(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,n,r=[],c=!0,m=!1;try{for(a=a.call(e);!(c=(l=a.next()).done);c=!0)if(r.push(l.value),t&&r.length===t)break}catch(u){m=!0,n=u}finally{try{c||null==a["return"]||a["return"]()}finally{if(m)throw n}}return r}}function f(e){if(Array.isArray(e))return e}function p(e,t){var a,l=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return l||(l=t.tsx?"tsx":"jsx"),l}var v=function(e){var t,a,d,i=Object(l["useRef"])(),s=Object(l["useContext"])(m["context"]),E=s.locale,f=Object(m["useLocaleProps"])(E,e),v=Object(m["useDemoUrl"])(f.identifier),b=f.demoUrl||v,h=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(f.identifier),g=1===Object.keys(f.sources).length,k=Object(m["useCodeSandbox"])((null===(t=f.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:f),_=Object(m["useRiddle"])((null===(a=f.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:f),y=Object(m["useMotions"])(f.motions||[],i.current),w=o(y,2),N=w[0],x=w[1],A=Object(m["useCopy"])(),j=o(A,2),O=j[0],S=j[1],C=Object(l["useState"])("_"),I=o(C,2),L=I[0],P=I[1],R=Object(l["useState"])(p(L,f.sources[L])),M=o(R,2),T=M[0],q=M[1],U=Object(l["useState"])(Boolean(f.defaultShowCode)),Z=o(U,2),J=Z[0],F=Z[1],G=Object(l["useState"])(Math.random()),$=o(G,2),B=$[0],D=$[1],H=f.sources[L][T]||f.sources[L].content,X=Object(m["useTSPlaygroundUrl"])(E,H),z=Object(l["useRef"])(),K=Object(m["usePrefersColor"])(),V=o(K,1),Q=V[0];function W(e){P(e),q(p(e,f.sources[e]))}return Object(l["useEffect"])((function(){D(Math.random())}),[Q]),n.a.createElement("div",{style:f.style,className:[f.className,"__dumi-default-previewer",h?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:f.identifier,"data-debug":f.debug||void 0,"data-iframe":f.iframe||void 0},f.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:i,className:"__dumi-default-previewer-demo",style:{transform:f.transform?"translate(0, 0)":void 0,padding:f.compact||f.iframe&&!1!==f.compact?"0":void 0,background:f.background}},f.iframe?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(f.iframe).replace(/(\d)$/,"$1px")},key:B,src:b,ref:z}):f.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":f.title},f.title&&n.a.createElement(m["AnchorLink"],{to:"#".concat(f.identifier)},f.title),f.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:f.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},k&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:k}),_&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:_}),f.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return N()}}),f.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return D(Math.random())}}),!(null===(d=f.hideActions)||void 0===d?void 0:d.includes("EXTERNAL"))&&n.a.createElement(m["Link"],{target:"_blank",to:b},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":S,onClick:function(){return O(H)}}),"tsx"===T&&J&&n.a.createElement(m["Link"],{target:"_blank",to:X},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(J?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return F(!J)}})),J&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!g&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:L,onChange:W},Object.keys(f.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,f.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(u["a"],{code:H,lang:T,showCopy:!1}))))};t["default"]=v},cnrX:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("dEAq"),c=a("Zxc8"),m=a("JjdP"),u=n.a.memo(m["default"]["avatar-basic"].component),o=n.a.memo(m["default"]["avatar-type"].component),d=n.a.memo(m["default"]["avatar-dynamic"].component),i=n.a.memo(m["default"]["avatar-badge"].component),s=n.a.memo(m["default"]["avatar-responsive"].component),E=n.a.memo(m["default"]["avatar-group"].component);t["default"]=e=>(n.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.a.createElement(n.a.Fragment,null,n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"markdown"},n.a.createElement("h1",{id:"avatar-\u5934\u50cf"},n.a.createElement(r["AnchorLink"],{to:"#avatar-\u5934\u50cf","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Avatar \u5934\u50cf"),n.a.createElement("p",null,"\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002"),n.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),n.a.createElement("h3",{id:"\u57fa\u672c"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c")),n.a.createElement(c["default"],m["default"]["avatar-basic"].previewerProps,n.a.createElement(u,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u7c7b\u578b"},n.a.createElement(r["AnchorLink"],{to:"#\u7c7b\u578b","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u7c7b\u578b")),n.a.createElement(c["default"],m["default"]["avatar-type"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f")),n.a.createElement(c["default"],m["default"]["avatar-dynamic"].previewerProps,n.a.createElement(d,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u5fbd\u6807\u7684\u5934\u50cf"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u5fbd\u6807\u7684\u5934\u50cf","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u5fbd\u6807\u7684\u5934\u50cf")),n.a.createElement(c["default"],m["default"]["avatar-badge"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u54cd\u5e94\u5f0f\u5c3a\u5bf8"},n.a.createElement(r["AnchorLink"],{to:"#\u54cd\u5e94\u5f0f\u5c3a\u5bf8","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u54cd\u5e94\u5f0f\u5c3a\u5bf8")),n.a.createElement(c["default"],m["default"]["avatar-responsive"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"avatargroup"},n.a.createElement(r["AnchorLink"],{to:"#avatargroup","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Avatar.Group")),n.a.createElement(c["default"],m["default"]["avatar-group"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h2",{id:"api"},n.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"API"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"alt"),n.a.createElement("td",null,"\u56fe\u50cf\u65e0\u6cd5\u663e\u793a\u65f6\u7684\u66ff\u4ee3\u6587\u672c"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"gap"),n.a.createElement("td",null,"\u5b57\u7b26\u7c7b\u578b\u8ddd\u79bb\u5de6\u53f3\u4e24\u4fa7\u8fb9\u754c\u5355\u4f4d\u50cf\u7d20"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"4"),n.a.createElement("td",null,"4.3.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"icon"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5934\u50cf\u7684\u81ea\u5b9a\u4e49\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"shape"),n.a.createElement("td",null,"\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6"),n.a.createElement("td",null,n.a.createElement("code",null,"circle")," | ",n.a.createElement("code",null,"square")),n.a.createElement("td",null,n.a.createElement("code",null,"circle")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f"),n.a.createElement("td",null,"number | ",n.a.createElement("code",null,"large")," | ",n.a.createElement("code",null,"small")," | ",n.a.createElement("code",null,"default")," | ","{"," xs: number, sm: number, ...","}"),n.a.createElement("td",null,n.a.createElement("code",null,"default")),n.a.createElement("td",null,"4.7.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"src"),n.a.createElement("td",null,"\u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740\u6216\u8005\u56fe\u7247\u5143\u7d20"),n.a.createElement("td",null,"string | ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"ReactNode: 4.8.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"srcSet"),n.a.createElement("td",null,"\u8bbe\u7f6e\u56fe\u7247\u7c7b\u5934\u50cf\u54cd\u5e94\u5f0f\u8d44\u6e90\u5730\u5740"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"draggable"),n.a.createElement("td",null,"\u56fe\u7247\u662f\u5426\u5141\u8bb8\u62d6\u52a8"),n.a.createElement("td",null,"boolean | ",n.a.createElement("code",null,"'true'")," | ",n.a.createElement("code",null,"'false'")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onError"),n.a.createElement("td",null,"\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a"),n.a.createElement("td",null,"() => boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("blockquote",null,n.a.createElement("p",null,"Tip\uff1a\u4f60\u53ef\u4ee5\u8bbe\u7f6e ",n.a.createElement("code",null,"icon")," \u6216 ",n.a.createElement("code",null,"children")," \u4f5c\u4e3a\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u9ed8\u8ba4 fallback \u884c\u4e3a\uff0c\u4f18\u5148\u7ea7\u4e3a ",n.a.createElement("code",null,"icon")," > ",n.a.createElement("code",null,"children"))),n.a.createElement("h3",{id:"avatargroup-450"},n.a.createElement(r["AnchorLink"],{to:"#avatargroup-450","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Avatar.Group (4.5.0+)"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"maxCount"),n.a.createElement("td",null,"\u663e\u793a\u7684\u6700\u5927\u5934\u50cf\u4e2a\u6570"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"maxPopoverPlacement"),n.a.createElement("td",null,"\u591a\u4f59\u5934\u50cf\u6c14\u6ce1\u5f39\u51fa\u4f4d\u7f6e"),n.a.createElement("td",null,n.a.createElement("code",null,"top")," | ",n.a.createElement("code",null,"bottom")),n.a.createElement("td",null,n.a.createElement("code",null,"top")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"maxStyle"),n.a.createElement("td",null,"\u591a\u4f59\u5934\u50cf\u6837\u5f0f"),n.a.createElement("td",null,"CSSProperties"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f"),n.a.createElement("td",null,"number | ",n.a.createElement("code",null,"large")," | ",n.a.createElement("code",null,"small")," | ",n.a.createElement("code",null,"default")," | ","{"," xs: number, sm: number, ...","}"),n.a.createElement("td",null,n.a.createElement("code",null,"default")),n.a.createElement("td",null,"4.8.0")))),n.a.createElement("style",{dangerouslySetInnerHTML:{__html:'\n[class^="__dumi-default-previewer"] .ant-avatar {\n margin-top: 16px;\n margin-right: 16px;\n}\n.ant-row-rtl [class^="__dumi-default-previewer"] .ant-avatar {\n margin-right: 0;\n margin-left: 16px;\n}\n'}})))))}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [12],
3
+ {
4
+ MZF8: function (e, t, a) {
5
+ 'use strict';
6
+ var l = a('ogwx');
7
+ a.d(t, 'a', function () {
8
+ return l['b'];
9
+ });
10
+ a('VCU9');
11
+ },
12
+ RZMt: function (e, t, a) {},
13
+ Zxc8: function (e, t, a) {
14
+ 'use strict';
15
+ a.r(t);
16
+ var l = a('q1tI'),
17
+ n = a.n(l),
18
+ r = a('k3GJ'),
19
+ c = a('MZF8'),
20
+ m = a('dEAq'),
21
+ u = a('H1Ra');
22
+ a('RZMt');
23
+ function o(e, t) {
24
+ return f(e) || E(e, t) || i(e, t) || d();
25
+ }
26
+ function d() {
27
+ throw new TypeError(
28
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
29
+ );
30
+ }
31
+ function i(e, t) {
32
+ if (e) {
33
+ if ('string' === typeof e) return s(e, t);
34
+ var a = Object.prototype.toString.call(e).slice(8, -1);
35
+ return (
36
+ 'Object' === a && e.constructor && (a = e.constructor.name),
37
+ 'Map' === a || 'Set' === a
38
+ ? Array.from(e)
39
+ : 'Arguments' === a ||
40
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
41
+ ? s(e, t)
42
+ : void 0
43
+ );
44
+ }
45
+ }
46
+ function s(e, t) {
47
+ (null == t || t > e.length) && (t = e.length);
48
+ for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
49
+ return l;
50
+ }
51
+ function E(e, t) {
52
+ var a =
53
+ null == e
54
+ ? null
55
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
56
+ e['@@iterator'];
57
+ if (null != a) {
58
+ var l,
59
+ n,
60
+ r = [],
61
+ c = !0,
62
+ m = !1;
63
+ try {
64
+ for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
65
+ if ((r.push(l.value), t && r.length === t)) break;
66
+ } catch (u) {
67
+ (m = !0), (n = u);
68
+ } finally {
69
+ try {
70
+ c || null == a['return'] || a['return']();
71
+ } finally {
72
+ if (m) throw n;
73
+ }
74
+ }
75
+ return r;
76
+ }
77
+ }
78
+ function f(e) {
79
+ if (Array.isArray(e)) return e;
80
+ }
81
+ function p(e, t) {
82
+ var a,
83
+ l =
84
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
85
+ return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
86
+ }
87
+ var v = function (e) {
88
+ var t,
89
+ a,
90
+ d,
91
+ i = Object(l['useRef'])(),
92
+ s = Object(l['useContext'])(m['context']),
93
+ E = s.locale,
94
+ f = Object(m['useLocaleProps'])(E, e),
95
+ v = Object(m['useDemoUrl'])(f.identifier),
96
+ b = f.demoUrl || v,
97
+ h =
98
+ (null === c['a'] || void 0 === c['a']
99
+ ? void 0
100
+ : c['a'].location.hash) === '#'.concat(f.identifier),
101
+ g = 1 === Object.keys(f.sources).length,
102
+ k = Object(m['useCodeSandbox'])(
103
+ (
104
+ null === (t = f.hideActions) || void 0 === t
105
+ ? void 0
106
+ : t.includes('CSB')
107
+ )
108
+ ? null
109
+ : f,
110
+ ),
111
+ _ = Object(m['useRiddle'])(
112
+ (
113
+ null === (a = f.hideActions) || void 0 === a
114
+ ? void 0
115
+ : a.includes('RIDDLE')
116
+ )
117
+ ? null
118
+ : f,
119
+ ),
120
+ y = Object(m['useMotions'])(f.motions || [], i.current),
121
+ w = o(y, 2),
122
+ N = w[0],
123
+ x = w[1],
124
+ A = Object(m['useCopy'])(),
125
+ j = o(A, 2),
126
+ O = j[0],
127
+ S = j[1],
128
+ C = Object(l['useState'])('_'),
129
+ I = o(C, 2),
130
+ L = I[0],
131
+ P = I[1],
132
+ R = Object(l['useState'])(p(L, f.sources[L])),
133
+ M = o(R, 2),
134
+ T = M[0],
135
+ q = M[1],
136
+ U = Object(l['useState'])(Boolean(f.defaultShowCode)),
137
+ Z = o(U, 2),
138
+ J = Z[0],
139
+ F = Z[1],
140
+ G = Object(l['useState'])(Math.random()),
141
+ $ = o(G, 2),
142
+ B = $[0],
143
+ D = $[1],
144
+ H = f.sources[L][T] || f.sources[L].content,
145
+ X = Object(m['useTSPlaygroundUrl'])(E, H),
146
+ z = Object(l['useRef'])(),
147
+ K = Object(m['usePrefersColor'])(),
148
+ V = o(K, 1),
149
+ Q = V[0];
150
+ function W(e) {
151
+ P(e), q(p(e, f.sources[e]));
152
+ }
153
+ return (
154
+ Object(l['useEffect'])(
155
+ function () {
156
+ D(Math.random());
157
+ },
158
+ [Q],
159
+ ),
160
+ n.a.createElement(
161
+ 'div',
162
+ {
163
+ style: f.style,
164
+ className: [
165
+ f.className,
166
+ '__dumi-default-previewer',
167
+ h ? '__dumi-default-previewer-target' : '',
168
+ ]
169
+ .filter(Boolean)
170
+ .join(' '),
171
+ id: f.identifier,
172
+ 'data-debug': f.debug || void 0,
173
+ 'data-iframe': f.iframe || void 0,
174
+ },
175
+ f.iframe &&
176
+ n.a.createElement('div', {
177
+ className: '__dumi-default-previewer-browser-nav',
178
+ }),
179
+ n.a.createElement(
180
+ 'div',
181
+ {
182
+ ref: i,
183
+ className: '__dumi-default-previewer-demo',
184
+ style: {
185
+ transform: f.transform ? 'translate(0, 0)' : void 0,
186
+ padding:
187
+ f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
188
+ background: f.background,
189
+ },
190
+ },
191
+ f.iframe
192
+ ? n.a.createElement('iframe', {
193
+ title: 'dumi-previewer',
194
+ style: {
195
+ height: String(f.iframe).replace(/(\d)$/, '$1px'),
196
+ },
197
+ key: B,
198
+ src: b,
199
+ ref: z,
200
+ })
201
+ : f.children,
202
+ ),
203
+ n.a.createElement(
204
+ 'div',
205
+ {
206
+ className: '__dumi-default-previewer-desc',
207
+ 'data-title': f.title,
208
+ },
209
+ f.title &&
210
+ n.a.createElement(
211
+ m['AnchorLink'],
212
+ { to: '#'.concat(f.identifier) },
213
+ f.title,
214
+ ),
215
+ f.description &&
216
+ n.a.createElement('div', {
217
+ dangerouslySetInnerHTML: { __html: f.description },
218
+ }),
219
+ ),
220
+ n.a.createElement(
221
+ 'div',
222
+ { className: '__dumi-default-previewer-actions' },
223
+ k &&
224
+ n.a.createElement('button', {
225
+ title: 'Open demo on CodeSandbox.io',
226
+ className: '__dumi-default-icon',
227
+ role: 'codesandbox',
228
+ onClick: k,
229
+ }),
230
+ _ &&
231
+ n.a.createElement('button', {
232
+ title: 'Open demo on Riddle',
233
+ className: '__dumi-default-icon',
234
+ role: 'riddle',
235
+ onClick: _,
236
+ }),
237
+ f.motions &&
238
+ n.a.createElement('button', {
239
+ title: 'Execute motions',
240
+ className: '__dumi-default-icon',
241
+ role: 'motions',
242
+ disabled: x,
243
+ onClick: function () {
244
+ return N();
245
+ },
246
+ }),
247
+ f.iframe &&
248
+ n.a.createElement('button', {
249
+ title: 'Reload demo iframe page',
250
+ className: '__dumi-default-icon',
251
+ role: 'refresh',
252
+ onClick: function () {
253
+ return D(Math.random());
254
+ },
255
+ }),
256
+ !(null === (d = f.hideActions) || void 0 === d
257
+ ? void 0
258
+ : d.includes('EXTERNAL')) &&
259
+ n.a.createElement(
260
+ m['Link'],
261
+ { target: '_blank', to: b },
262
+ n.a.createElement('button', {
263
+ title: 'Open demo in new tab',
264
+ className: '__dumi-default-icon',
265
+ role: 'open-demo',
266
+ type: 'button',
267
+ }),
268
+ ),
269
+ n.a.createElement('span', null),
270
+ n.a.createElement('button', {
271
+ title: 'Copy source code',
272
+ className: '__dumi-default-icon',
273
+ role: 'copy',
274
+ 'data-status': S,
275
+ onClick: function () {
276
+ return O(H);
277
+ },
278
+ }),
279
+ 'tsx' === T &&
280
+ J &&
281
+ n.a.createElement(
282
+ m['Link'],
283
+ { target: '_blank', to: X },
284
+ n.a.createElement('button', {
285
+ title: 'Get JSX via TypeScript Playground',
286
+ className: '__dumi-default-icon',
287
+ role: 'change-tsx',
288
+ type: 'button',
289
+ }),
290
+ ),
291
+ n.a.createElement('button', {
292
+ title: 'Toggle source code panel',
293
+ className: '__dumi-default-icon'.concat(
294
+ J ? ' __dumi-default-btn-expand' : '',
295
+ ),
296
+ role: 'source',
297
+ type: 'button',
298
+ onClick: function () {
299
+ return F(!J);
300
+ },
301
+ }),
302
+ ),
303
+ J &&
304
+ n.a.createElement(
305
+ 'div',
306
+ { className: '__dumi-default-previewer-source-wrapper' },
307
+ !g &&
308
+ n.a.createElement(
309
+ r['b'],
310
+ {
311
+ className: '__dumi-default-previewer-source-tab',
312
+ prefixCls: '__dumi-default-tabs',
313
+ moreIcon: '\xb7\xb7\xb7',
314
+ defaultActiveKey: L,
315
+ onChange: W,
316
+ },
317
+ Object.keys(f.sources).map(function (e) {
318
+ return n.a.createElement(r['a'], {
319
+ tab:
320
+ '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
321
+ key: e,
322
+ });
323
+ }),
324
+ ),
325
+ n.a.createElement(
326
+ 'div',
327
+ { className: '__dumi-default-previewer-source' },
328
+ n.a.createElement(u['a'], { code: H, lang: T, showCopy: !1 }),
329
+ ),
330
+ ),
331
+ )
332
+ );
333
+ };
334
+ t['default'] = v;
335
+ },
336
+ cnrX: function (e, t, a) {
337
+ 'use strict';
338
+ a.r(t);
339
+ var l = a('q1tI'),
340
+ n = a.n(l),
341
+ r = a('dEAq'),
342
+ c = a('Zxc8'),
343
+ m = a('JjdP'),
344
+ u = n.a.memo(m['default']['avatar-basic'].component),
345
+ o = n.a.memo(m['default']['avatar-type'].component),
346
+ d = n.a.memo(m['default']['avatar-dynamic'].component),
347
+ i = n.a.memo(m['default']['avatar-badge'].component),
348
+ s = n.a.memo(m['default']['avatar-responsive'].component),
349
+ E = n.a.memo(m['default']['avatar-group'].component);
350
+ t['default'] = (e) => (
351
+ n.a.useEffect(() => {
352
+ var t;
353
+ null !== e &&
354
+ void 0 !== e &&
355
+ null !== (t = e.location) &&
356
+ void 0 !== t &&
357
+ t.hash &&
358
+ r['AnchorLink'].scrollToAnchor(
359
+ decodeURIComponent(e.location.hash.slice(1)),
360
+ );
361
+ }, []),
362
+ n.a.createElement(
363
+ n.a.Fragment,
364
+ null,
365
+ n.a.createElement(
366
+ n.a.Fragment,
367
+ null,
368
+ n.a.createElement(
369
+ 'div',
370
+ { className: 'markdown' },
371
+ n.a.createElement(
372
+ 'h1',
373
+ { id: 'avatar-\u5934\u50cf' },
374
+ n.a.createElement(
375
+ r['AnchorLink'],
376
+ {
377
+ to: '#avatar-\u5934\u50cf',
378
+ 'aria-hidden': 'true',
379
+ tabIndex: -1,
380
+ },
381
+ n.a.createElement('span', { className: 'icon icon-link' }),
382
+ ),
383
+ 'Avatar \u5934\u50cf',
384
+ ),
385
+ n.a.createElement(
386
+ 'p',
387
+ null,
388
+ '\u7528\u6765\u4ee3\u8868\u7528\u6237\u6216\u4e8b\u7269\uff0c\u652f\u6301\u56fe\u7247\u3001\u56fe\u6807\u6216\u5b57\u7b26\u5c55\u793a\u3002',
389
+ ),
390
+ n.a.createElement(
391
+ 'h2',
392
+ { id: '\u4ee3\u7801\u6f14\u793a' },
393
+ n.a.createElement(
394
+ r['AnchorLink'],
395
+ {
396
+ to: '#\u4ee3\u7801\u6f14\u793a',
397
+ 'aria-hidden': 'true',
398
+ tabIndex: -1,
399
+ },
400
+ n.a.createElement('span', { className: 'icon icon-link' }),
401
+ ),
402
+ '\u4ee3\u7801\u6f14\u793a',
403
+ ),
404
+ n.a.createElement(
405
+ 'h3',
406
+ { id: '\u57fa\u672c' },
407
+ n.a.createElement(
408
+ r['AnchorLink'],
409
+ { to: '#\u57fa\u672c', 'aria-hidden': 'true', tabIndex: -1 },
410
+ n.a.createElement('span', { className: 'icon icon-link' }),
411
+ ),
412
+ '\u57fa\u672c',
413
+ ),
414
+ ),
415
+ n.a.createElement(
416
+ c['default'],
417
+ m['default']['avatar-basic'].previewerProps,
418
+ n.a.createElement(u, null),
419
+ ),
420
+ n.a.createElement(
421
+ 'div',
422
+ { className: 'markdown' },
423
+ n.a.createElement(
424
+ 'h3',
425
+ { id: '\u7c7b\u578b' },
426
+ n.a.createElement(
427
+ r['AnchorLink'],
428
+ { to: '#\u7c7b\u578b', 'aria-hidden': 'true', tabIndex: -1 },
429
+ n.a.createElement('span', { className: 'icon icon-link' }),
430
+ ),
431
+ '\u7c7b\u578b',
432
+ ),
433
+ ),
434
+ n.a.createElement(
435
+ c['default'],
436
+ m['default']['avatar-type'].previewerProps,
437
+ n.a.createElement(o, null),
438
+ ),
439
+ n.a.createElement(
440
+ 'div',
441
+ { className: 'markdown' },
442
+ n.a.createElement(
443
+ 'h3',
444
+ { id: '\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f' },
445
+ n.a.createElement(
446
+ r['AnchorLink'],
447
+ {
448
+ to: '#\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
449
+ 'aria-hidden': 'true',
450
+ tabIndex: -1,
451
+ },
452
+ n.a.createElement('span', { className: 'icon icon-link' }),
453
+ ),
454
+ '\u81ea\u52a8\u8c03\u6574\u5b57\u7b26\u5927\u5c0f',
455
+ ),
456
+ ),
457
+ n.a.createElement(
458
+ c['default'],
459
+ m['default']['avatar-dynamic'].previewerProps,
460
+ n.a.createElement(d, null),
461
+ ),
462
+ n.a.createElement(
463
+ 'div',
464
+ { className: 'markdown' },
465
+ n.a.createElement(
466
+ 'h3',
467
+ { id: '\u5e26\u5fbd\u6807\u7684\u5934\u50cf' },
468
+ n.a.createElement(
469
+ r['AnchorLink'],
470
+ {
471
+ to: '#\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
472
+ 'aria-hidden': 'true',
473
+ tabIndex: -1,
474
+ },
475
+ n.a.createElement('span', { className: 'icon icon-link' }),
476
+ ),
477
+ '\u5e26\u5fbd\u6807\u7684\u5934\u50cf',
478
+ ),
479
+ ),
480
+ n.a.createElement(
481
+ c['default'],
482
+ m['default']['avatar-badge'].previewerProps,
483
+ n.a.createElement(i, null),
484
+ ),
485
+ n.a.createElement(
486
+ 'div',
487
+ { className: 'markdown' },
488
+ n.a.createElement(
489
+ 'h3',
490
+ { id: '\u54cd\u5e94\u5f0f\u5c3a\u5bf8' },
491
+ n.a.createElement(
492
+ r['AnchorLink'],
493
+ {
494
+ to: '#\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
495
+ 'aria-hidden': 'true',
496
+ tabIndex: -1,
497
+ },
498
+ n.a.createElement('span', { className: 'icon icon-link' }),
499
+ ),
500
+ '\u54cd\u5e94\u5f0f\u5c3a\u5bf8',
501
+ ),
502
+ ),
503
+ n.a.createElement(
504
+ c['default'],
505
+ m['default']['avatar-responsive'].previewerProps,
506
+ n.a.createElement(s, null),
507
+ ),
508
+ n.a.createElement(
509
+ 'div',
510
+ { className: 'markdown' },
511
+ n.a.createElement(
512
+ 'h3',
513
+ { id: 'avatargroup' },
514
+ n.a.createElement(
515
+ r['AnchorLink'],
516
+ { to: '#avatargroup', 'aria-hidden': 'true', tabIndex: -1 },
517
+ n.a.createElement('span', { className: 'icon icon-link' }),
518
+ ),
519
+ 'Avatar.Group',
520
+ ),
521
+ ),
522
+ n.a.createElement(
523
+ c['default'],
524
+ m['default']['avatar-group'].previewerProps,
525
+ n.a.createElement(E, null),
526
+ ),
527
+ n.a.createElement(
528
+ 'div',
529
+ { className: 'markdown' },
530
+ n.a.createElement(
531
+ 'h2',
532
+ { id: 'api' },
533
+ n.a.createElement(
534
+ r['AnchorLink'],
535
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
536
+ n.a.createElement('span', { className: 'icon icon-link' }),
537
+ ),
538
+ 'API',
539
+ ),
540
+ n.a.createElement(
541
+ 'table',
542
+ null,
543
+ n.a.createElement(
544
+ 'thead',
545
+ null,
546
+ n.a.createElement(
547
+ 'tr',
548
+ null,
549
+ n.a.createElement('th', null, '\u53c2\u6570'),
550
+ n.a.createElement('th', null, '\u8bf4\u660e'),
551
+ n.a.createElement('th', null, '\u7c7b\u578b'),
552
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
553
+ n.a.createElement('th', null, '\u7248\u672c'),
554
+ ),
555
+ ),
556
+ n.a.createElement(
557
+ 'tbody',
558
+ null,
559
+ n.a.createElement(
560
+ 'tr',
561
+ null,
562
+ n.a.createElement('td', null, 'alt'),
563
+ n.a.createElement(
564
+ 'td',
565
+ null,
566
+ '\u56fe\u50cf\u65e0\u6cd5\u663e\u793a\u65f6\u7684\u66ff\u4ee3\u6587\u672c',
567
+ ),
568
+ n.a.createElement('td', null, 'string'),
569
+ n.a.createElement('td', null, '-'),
570
+ n.a.createElement('td', null),
571
+ ),
572
+ n.a.createElement(
573
+ 'tr',
574
+ null,
575
+ n.a.createElement('td', null, 'gap'),
576
+ n.a.createElement(
577
+ 'td',
578
+ null,
579
+ '\u5b57\u7b26\u7c7b\u578b\u8ddd\u79bb\u5de6\u53f3\u4e24\u4fa7\u8fb9\u754c\u5355\u4f4d\u50cf\u7d20',
580
+ ),
581
+ n.a.createElement('td', null, 'number'),
582
+ n.a.createElement('td', null, '4'),
583
+ n.a.createElement('td', null, '4.3.0'),
584
+ ),
585
+ n.a.createElement(
586
+ 'tr',
587
+ null,
588
+ n.a.createElement('td', null, 'icon'),
589
+ n.a.createElement(
590
+ 'td',
591
+ null,
592
+ '\u8bbe\u7f6e\u5934\u50cf\u7684\u81ea\u5b9a\u4e49\u56fe\u6807',
593
+ ),
594
+ n.a.createElement('td', null, 'ReactNode'),
595
+ n.a.createElement('td', null, '-'),
596
+ n.a.createElement('td', null),
597
+ ),
598
+ n.a.createElement(
599
+ 'tr',
600
+ null,
601
+ n.a.createElement('td', null, 'shape'),
602
+ n.a.createElement(
603
+ 'td',
604
+ null,
605
+ '\u6307\u5b9a\u5934\u50cf\u7684\u5f62\u72b6',
606
+ ),
607
+ n.a.createElement(
608
+ 'td',
609
+ null,
610
+ n.a.createElement('code', null, 'circle'),
611
+ ' | ',
612
+ n.a.createElement('code', null, 'square'),
613
+ ),
614
+ n.a.createElement(
615
+ 'td',
616
+ null,
617
+ n.a.createElement('code', null, 'circle'),
618
+ ),
619
+ n.a.createElement('td', null),
620
+ ),
621
+ n.a.createElement(
622
+ 'tr',
623
+ null,
624
+ n.a.createElement('td', null, 'size'),
625
+ n.a.createElement(
626
+ 'td',
627
+ null,
628
+ '\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f',
629
+ ),
630
+ n.a.createElement(
631
+ 'td',
632
+ null,
633
+ 'number | ',
634
+ n.a.createElement('code', null, 'large'),
635
+ ' | ',
636
+ n.a.createElement('code', null, 'small'),
637
+ ' | ',
638
+ n.a.createElement('code', null, 'default'),
639
+ ' | ',
640
+ '{',
641
+ ' xs: number, sm: number, ...',
642
+ '}',
643
+ ),
644
+ n.a.createElement(
645
+ 'td',
646
+ null,
647
+ n.a.createElement('code', null, 'default'),
648
+ ),
649
+ n.a.createElement('td', null, '4.7.0'),
650
+ ),
651
+ n.a.createElement(
652
+ 'tr',
653
+ null,
654
+ n.a.createElement('td', null, 'src'),
655
+ n.a.createElement(
656
+ 'td',
657
+ null,
658
+ '\u56fe\u7247\u7c7b\u5934\u50cf\u7684\u8d44\u6e90\u5730\u5740\u6216\u8005\u56fe\u7247\u5143\u7d20',
659
+ ),
660
+ n.a.createElement('td', null, 'string | ReactNode'),
661
+ n.a.createElement('td', null, '-'),
662
+ n.a.createElement('td', null, 'ReactNode: 4.8.0'),
663
+ ),
664
+ n.a.createElement(
665
+ 'tr',
666
+ null,
667
+ n.a.createElement('td', null, 'srcSet'),
668
+ n.a.createElement(
669
+ 'td',
670
+ null,
671
+ '\u8bbe\u7f6e\u56fe\u7247\u7c7b\u5934\u50cf\u54cd\u5e94\u5f0f\u8d44\u6e90\u5730\u5740',
672
+ ),
673
+ n.a.createElement('td', null, 'string'),
674
+ n.a.createElement('td', null, '-'),
675
+ n.a.createElement('td', null),
676
+ ),
677
+ n.a.createElement(
678
+ 'tr',
679
+ null,
680
+ n.a.createElement('td', null, 'draggable'),
681
+ n.a.createElement(
682
+ 'td',
683
+ null,
684
+ '\u56fe\u7247\u662f\u5426\u5141\u8bb8\u62d6\u52a8',
685
+ ),
686
+ n.a.createElement(
687
+ 'td',
688
+ null,
689
+ 'boolean | ',
690
+ n.a.createElement('code', null, "'true'"),
691
+ ' | ',
692
+ n.a.createElement('code', null, "'false'"),
693
+ ),
694
+ n.a.createElement('td', null, '-'),
695
+ n.a.createElement('td', null),
696
+ ),
697
+ n.a.createElement(
698
+ 'tr',
699
+ null,
700
+ n.a.createElement('td', null, 'onError'),
701
+ n.a.createElement(
702
+ 'td',
703
+ null,
704
+ '\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u4e8b\u4ef6\uff0c\u8fd4\u56de false \u4f1a\u5173\u95ed\u7ec4\u4ef6\u9ed8\u8ba4\u7684 fallback \u884c\u4e3a',
705
+ ),
706
+ n.a.createElement('td', null, '() => boolean'),
707
+ n.a.createElement('td', null, '-'),
708
+ n.a.createElement('td', null),
709
+ ),
710
+ ),
711
+ ),
712
+ n.a.createElement(
713
+ 'blockquote',
714
+ null,
715
+ n.a.createElement(
716
+ 'p',
717
+ null,
718
+ 'Tip\uff1a\u4f60\u53ef\u4ee5\u8bbe\u7f6e ',
719
+ n.a.createElement('code', null, 'icon'),
720
+ ' \u6216 ',
721
+ n.a.createElement('code', null, 'children'),
722
+ ' \u4f5c\u4e3a\u56fe\u7247\u52a0\u8f7d\u5931\u8d25\u7684\u9ed8\u8ba4 fallback \u884c\u4e3a\uff0c\u4f18\u5148\u7ea7\u4e3a ',
723
+ n.a.createElement('code', null, 'icon'),
724
+ ' > ',
725
+ n.a.createElement('code', null, 'children'),
726
+ ),
727
+ ),
728
+ n.a.createElement(
729
+ 'h3',
730
+ { id: 'avatargroup-450' },
731
+ n.a.createElement(
732
+ r['AnchorLink'],
733
+ {
734
+ to: '#avatargroup-450',
735
+ 'aria-hidden': 'true',
736
+ tabIndex: -1,
737
+ },
738
+ n.a.createElement('span', { className: 'icon icon-link' }),
739
+ ),
740
+ 'Avatar.Group (4.5.0+)',
741
+ ),
742
+ n.a.createElement(
743
+ 'table',
744
+ null,
745
+ n.a.createElement(
746
+ 'thead',
747
+ null,
748
+ n.a.createElement(
749
+ 'tr',
750
+ null,
751
+ n.a.createElement('th', null, '\u53c2\u6570'),
752
+ n.a.createElement('th', null, '\u8bf4\u660e'),
753
+ n.a.createElement('th', null, '\u7c7b\u578b'),
754
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
755
+ n.a.createElement('th', null, '\u7248\u672c'),
756
+ ),
757
+ ),
758
+ n.a.createElement(
759
+ 'tbody',
760
+ null,
761
+ n.a.createElement(
762
+ 'tr',
763
+ null,
764
+ n.a.createElement('td', null, 'maxCount'),
765
+ n.a.createElement(
766
+ 'td',
767
+ null,
768
+ '\u663e\u793a\u7684\u6700\u5927\u5934\u50cf\u4e2a\u6570',
769
+ ),
770
+ n.a.createElement('td', null, 'number'),
771
+ n.a.createElement('td', null, '-'),
772
+ n.a.createElement('td', null),
773
+ ),
774
+ n.a.createElement(
775
+ 'tr',
776
+ null,
777
+ n.a.createElement('td', null, 'maxPopoverPlacement'),
778
+ n.a.createElement(
779
+ 'td',
780
+ null,
781
+ '\u591a\u4f59\u5934\u50cf\u6c14\u6ce1\u5f39\u51fa\u4f4d\u7f6e',
782
+ ),
783
+ n.a.createElement(
784
+ 'td',
785
+ null,
786
+ n.a.createElement('code', null, 'top'),
787
+ ' | ',
788
+ n.a.createElement('code', null, 'bottom'),
789
+ ),
790
+ n.a.createElement(
791
+ 'td',
792
+ null,
793
+ n.a.createElement('code', null, 'top'),
794
+ ),
795
+ n.a.createElement('td', null),
796
+ ),
797
+ n.a.createElement(
798
+ 'tr',
799
+ null,
800
+ n.a.createElement('td', null, 'maxStyle'),
801
+ n.a.createElement(
802
+ 'td',
803
+ null,
804
+ '\u591a\u4f59\u5934\u50cf\u6837\u5f0f',
805
+ ),
806
+ n.a.createElement('td', null, 'CSSProperties'),
807
+ n.a.createElement('td', null, '-'),
808
+ n.a.createElement('td', null),
809
+ ),
810
+ n.a.createElement(
811
+ 'tr',
812
+ null,
813
+ n.a.createElement('td', null, 'size'),
814
+ n.a.createElement(
815
+ 'td',
816
+ null,
817
+ '\u8bbe\u7f6e\u5934\u50cf\u7684\u5927\u5c0f',
818
+ ),
819
+ n.a.createElement(
820
+ 'td',
821
+ null,
822
+ 'number | ',
823
+ n.a.createElement('code', null, 'large'),
824
+ ' | ',
825
+ n.a.createElement('code', null, 'small'),
826
+ ' | ',
827
+ n.a.createElement('code', null, 'default'),
828
+ ' | ',
829
+ '{',
830
+ ' xs: number, sm: number, ...',
831
+ '}',
832
+ ),
833
+ n.a.createElement(
834
+ 'td',
835
+ null,
836
+ n.a.createElement('code', null, 'default'),
837
+ ),
838
+ n.a.createElement('td', null, '4.8.0'),
839
+ ),
840
+ ),
841
+ ),
842
+ n.a.createElement('style', {
843
+ dangerouslySetInnerHTML: {
844
+ __html:
845
+ '\n[class^="__dumi-default-previewer"] .ant-avatar {\n margin-top: 16px;\n margin-right: 16px;\n}\n.ant-row-rtl [class^="__dumi-default-previewer"] .ant-avatar {\n margin-right: 0;\n margin-left: 16px;\n}\n',
846
+ },
847
+ }),
848
+ ),
849
+ ),
850
+ )
851
+ );
852
+ },
853
+ },
854
+ ]);