@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,745 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[34],{MZF8:function(e,t,a){"use strict";var n=a("ogwx");a.d(t,"a",(function(){return n["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("k3GJ"),c=a("MZF8"),i=a("dEAq"),o=a("H1Ra");a("RZMt");function m(e,t){return p(e)||E(e,t)||u(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 u(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,n=new Array(t);a<t;a++)n[a]=e[a];return n}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var n,l,r=[],c=!0,i=!1;try{for(a=a.call(e);!(c=(n=a.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(o){i=!0,l=o}finally{try{c||null==a["return"]||a["return"]()}finally{if(i)throw l}}return r}}function p(e){if(Array.isArray(e))return e}function f(e,t){var a,n=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return n||(n=t.tsx?"tsx":"jsx"),n}var b=function(e){var t,a,d,u=Object(n["useRef"])(),s=Object(n["useContext"])(i["context"]),E=s.locale,p=Object(i["useLocaleProps"])(E,e),b=Object(i["useDemoUrl"])(p.identifier),h=p.demoUrl||b,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),g=1===Object.keys(p.sources).length,k=Object(i["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),w=Object(i["useRiddle"])((null===(a=p.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:p),y=Object(i["useMotions"])(p.motions||[],u.current),_=m(y,2),N=_[0],A=_[1],x=Object(i["useCopy"])(),L=m(x,2),j=L[0],C=L[1],O=Object(n["useState"])("_"),I=m(O,2),S=I[0],T=I[1],R=Object(n["useState"])(f(S,p.sources[S])),M=m(R,2),P=M[0],V=M[1],U=Object(n["useState"])(Boolean(p.defaultShowCode)),H=m(U,2),Z=H[0],J=H[1],q=Object(n["useState"])(Math.random()),F=m(q,2),$=F[0],B=F[1],D=p.sources[S][P]||p.sources[S].content,G=Object(i["useTSPlaygroundUrl"])(E,D),X=Object(n["useRef"])(),z=Object(i["usePrefersColor"])(),K=m(z,1),W=K[0];function Q(e){T(e),V(f(e,p.sources[e]))}return Object(n["useEffect"])((function(){B(Math.random())}),[W]),l.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:u,className:"__dumi-default-previewer-demo",style:{transform:p.transform?"translate(0, 0)":void 0,padding:p.compact||p.iframe&&!1!==p.compact?"0":void 0,background:p.background}},p.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:$,src:h,ref:X}):p.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&l.a.createElement(i["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},k&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:k}),w&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:w}),p.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:A,onClick:function(){return N()}}),p.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return B(Math.random())}}),!(null===(d=p.hideActions)||void 0===d?void 0:d.includes("EXTERNAL"))&&l.a.createElement(i["Link"],{target:"_blank",to:h},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":C,onClick:function(){return j(D)}}),"tsx"===P&&Z&&l.a.createElement(i["Link"],{target:"_blank",to:G},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(Z?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return J(!Z)}})),Z&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!g&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:S,onChange:Q},Object.keys(p.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(f(e,p.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(o["a"],{code:D,lang:P,showCopy:!1}))))};t["default"]=b},cakp:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),l=a.n(n),r=a("dEAq"),c=a("Zxc8"),i=a("H1Ra"),o=a("JjdP"),m=l.a.memo(o["default"]["image-basic"].component),d=l.a.memo(o["default"]["image-error"].component),u=l.a.memo(o["default"]["image-load"].component),s=l.a.memo(o["default"]["image-many"].component),E=l.a.memo(o["default"]["image-photo"].component),p=l.a.memo(o["default"]["image-custom"].component);t["default"]=e=>(l.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)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"image-\u56fe\u7247"},l.a.createElement(r["AnchorLink"],{to:"#image-\u56fe\u7247","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Image \u56fe\u7247"),l.a.createElement("p",null,"\u53ef\u9884\u89c8\u7684\u56fe\u7247\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("ul",null,l.a.createElement("li",null,"\u9700\u8981\u5c55\u793a\u56fe\u7247\u65f6\u4f7f\u7528\u3002"),l.a.createElement("li",null,"\u52a0\u8f7d\u5927\u56fe\u65f6\u663e\u793a loading \u6216\u52a0\u8f7d\u5931\u8d25\u65f6\u5bb9\u9519\u5904\u7406\u3002")),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u57fa\u672c\u7528\u6cd5"},l.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c\u7528\u6cd5","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c\u7528\u6cd5")),l.a.createElement(c["default"],o["default"]["image-basic"].previewerProps,l.a.createElement(m,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5bb9\u9519\u5904\u7406"},l.a.createElement(r["AnchorLink"],{to:"#\u5bb9\u9519\u5904\u7406","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5bb9\u9519\u5904\u7406")),l.a.createElement(c["default"],o["default"]["image-error"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u6e10\u8fdb\u52a0\u8f7d"},l.a.createElement(r["AnchorLink"],{to:"#\u6e10\u8fdb\u52a0\u8f7d","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u6e10\u8fdb\u52a0\u8f7d")),l.a.createElement(c["default"],o["default"]["image-load"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u591a\u5f20\u56fe\u7247\u9884\u89c8"},l.a.createElement(r["AnchorLink"],{to:"#\u591a\u5f20\u56fe\u7247\u9884\u89c8","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u591a\u5f20\u56fe\u7247\u9884\u89c8")),l.a.createElement(c["default"],o["default"]["image-many"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u76f8\u518c\u6a21\u5f0f"},l.a.createElement(r["AnchorLink"],{to:"#\u76f8\u518c\u6a21\u5f0f","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u76f8\u518c\u6a21\u5f0f")),l.a.createElement(c["default"],o["default"]["image-photo"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247"},l.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247")),l.a.createElement(c["default"],o["default"]["image-custom"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),l.a.createElement("th",null,"\u7248\u672c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"alt"),l.a.createElement("td",null,"\u56fe\u50cf\u63cf\u8ff0"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"fallback"),l.a.createElement("td",null,"\u52a0\u8f7d\u5931\u8d25\u5bb9\u9519\u5730\u5740"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"height"),l.a.createElement("td",null,"\u56fe\u50cf\u9ad8\u5ea6"),l.a.createElement("td",null,"string | number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"placeholder"),l.a.createElement("td",null,"\u52a0\u8f7d\u5360\u4f4d, \u4e3a ",l.a.createElement("code",null,"true")," \u65f6\u4f7f\u7528\u9ed8\u8ba4\u5360\u4f4d"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"preview"),l.a.createElement("td",null,"\u9884\u89c8\u53c2\u6570\uff0c\u4e3a ",l.a.createElement("code",null,"false")," \u65f6\u7981\u7528"),l.a.createElement("td",null,"boolean | ",l.a.createElement(r["AnchorLink"],{to:"#previewType"},"previewType")),l.a.createElement("td",null,"true"),l.a.createElement("td",null,"4.6.0 ",l.a.createElement(r["AnchorLink"],{to:"#previewType"},"previewType"),":4.7.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"src"),l.a.createElement("td",null,"\u56fe\u7247\u5730\u5740"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"width"),l.a.createElement("td",null,"\u56fe\u50cf\u5bbd\u5ea6"),l.a.createElement("td",null,"string | number"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.6.0")),l.a.createElement("tr",null,l.a.createElement("td",null,"onError"),l.a.createElement("td",null,"\u52a0\u8f7d\u9519\u8bef\u56de\u8c03"),l.a.createElement("td",null,"(event: Event) => void"),l.a.createElement("td",null,"-"),l.a.createElement("td",null,"4.12.0")))),l.a.createElement("h3",{id:"previewtype"},l.a.createElement(r["AnchorLink"],{to:"#previewtype","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"previewType"),l.a.createElement(i["a"],{code:"{\n visible?: boolean;\n onVisibleChange?: (visible, prevVisible) => void;\n getContainer?: string | HTMLElement | (() => HTMLElement); // V4.8.0\n src?: string; // V4.10.0\n mask?: ReactNode; // V4.9.0\n maskClassName?: string; // V4.11.0\n current?: number; // V4.12.0 \u4ec5\u652f\u6301 PreviewGroup\u3002\n}",lang:"bash"}),l.a.createElement("p",null,"\u5176\u4ed6\u5c5e\u6027\u89c1 ",l.a.createElement(r["Link"],{to:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Attributes"},"<img>"))))))}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [34],
3
+ {
4
+ MZF8: function (e, t, a) {
5
+ 'use strict';
6
+ var n = a('ogwx');
7
+ a.d(t, 'a', function () {
8
+ return n['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 n = a('q1tI'),
17
+ l = a.n(n),
18
+ r = a('k3GJ'),
19
+ c = a('MZF8'),
20
+ i = a('dEAq'),
21
+ o = a('H1Ra');
22
+ a('RZMt');
23
+ function m(e, t) {
24
+ return p(e) || E(e, t) || u(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 u(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, n = new Array(t); a < t; a++) n[a] = e[a];
49
+ return n;
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 n,
59
+ l,
60
+ r = [],
61
+ c = !0,
62
+ i = !1;
63
+ try {
64
+ for (a = a.call(e); !(c = (n = a.next()).done); c = !0)
65
+ if ((r.push(n.value), t && r.length === t)) break;
66
+ } catch (o) {
67
+ (i = !0), (l = o);
68
+ } finally {
69
+ try {
70
+ c || null == a['return'] || a['return']();
71
+ } finally {
72
+ if (i) throw l;
73
+ }
74
+ }
75
+ return r;
76
+ }
77
+ }
78
+ function p(e) {
79
+ if (Array.isArray(e)) return e;
80
+ }
81
+ function f(e, t) {
82
+ var a,
83
+ n =
84
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
85
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
86
+ }
87
+ var b = function (e) {
88
+ var t,
89
+ a,
90
+ d,
91
+ u = Object(n['useRef'])(),
92
+ s = Object(n['useContext'])(i['context']),
93
+ E = s.locale,
94
+ p = Object(i['useLocaleProps'])(E, e),
95
+ b = Object(i['useDemoUrl'])(p.identifier),
96
+ h = p.demoUrl || b,
97
+ v =
98
+ (null === c['a'] || void 0 === c['a']
99
+ ? void 0
100
+ : c['a'].location.hash) === '#'.concat(p.identifier),
101
+ g = 1 === Object.keys(p.sources).length,
102
+ k = Object(i['useCodeSandbox'])(
103
+ (
104
+ null === (t = p.hideActions) || void 0 === t
105
+ ? void 0
106
+ : t.includes('CSB')
107
+ )
108
+ ? null
109
+ : p,
110
+ ),
111
+ w = Object(i['useRiddle'])(
112
+ (
113
+ null === (a = p.hideActions) || void 0 === a
114
+ ? void 0
115
+ : a.includes('RIDDLE')
116
+ )
117
+ ? null
118
+ : p,
119
+ ),
120
+ y = Object(i['useMotions'])(p.motions || [], u.current),
121
+ _ = m(y, 2),
122
+ N = _[0],
123
+ A = _[1],
124
+ x = Object(i['useCopy'])(),
125
+ L = m(x, 2),
126
+ j = L[0],
127
+ C = L[1],
128
+ O = Object(n['useState'])('_'),
129
+ I = m(O, 2),
130
+ S = I[0],
131
+ T = I[1],
132
+ R = Object(n['useState'])(f(S, p.sources[S])),
133
+ M = m(R, 2),
134
+ P = M[0],
135
+ V = M[1],
136
+ U = Object(n['useState'])(Boolean(p.defaultShowCode)),
137
+ H = m(U, 2),
138
+ Z = H[0],
139
+ J = H[1],
140
+ q = Object(n['useState'])(Math.random()),
141
+ F = m(q, 2),
142
+ $ = F[0],
143
+ B = F[1],
144
+ D = p.sources[S][P] || p.sources[S].content,
145
+ G = Object(i['useTSPlaygroundUrl'])(E, D),
146
+ X = Object(n['useRef'])(),
147
+ z = Object(i['usePrefersColor'])(),
148
+ K = m(z, 1),
149
+ W = K[0];
150
+ function Q(e) {
151
+ T(e), V(f(e, p.sources[e]));
152
+ }
153
+ return (
154
+ Object(n['useEffect'])(
155
+ function () {
156
+ B(Math.random());
157
+ },
158
+ [W],
159
+ ),
160
+ l.a.createElement(
161
+ 'div',
162
+ {
163
+ style: p.style,
164
+ className: [
165
+ p.className,
166
+ '__dumi-default-previewer',
167
+ v ? '__dumi-default-previewer-target' : '',
168
+ ]
169
+ .filter(Boolean)
170
+ .join(' '),
171
+ id: p.identifier,
172
+ 'data-debug': p.debug || void 0,
173
+ 'data-iframe': p.iframe || void 0,
174
+ },
175
+ p.iframe &&
176
+ l.a.createElement('div', {
177
+ className: '__dumi-default-previewer-browser-nav',
178
+ }),
179
+ l.a.createElement(
180
+ 'div',
181
+ {
182
+ ref: u,
183
+ className: '__dumi-default-previewer-demo',
184
+ style: {
185
+ transform: p.transform ? 'translate(0, 0)' : void 0,
186
+ padding:
187
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
188
+ background: p.background,
189
+ },
190
+ },
191
+ p.iframe
192
+ ? l.a.createElement('iframe', {
193
+ title: 'dumi-previewer',
194
+ style: {
195
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
196
+ },
197
+ key: $,
198
+ src: h,
199
+ ref: X,
200
+ })
201
+ : p.children,
202
+ ),
203
+ l.a.createElement(
204
+ 'div',
205
+ {
206
+ className: '__dumi-default-previewer-desc',
207
+ 'data-title': p.title,
208
+ },
209
+ p.title &&
210
+ l.a.createElement(
211
+ i['AnchorLink'],
212
+ { to: '#'.concat(p.identifier) },
213
+ p.title,
214
+ ),
215
+ p.description &&
216
+ l.a.createElement('div', {
217
+ dangerouslySetInnerHTML: { __html: p.description },
218
+ }),
219
+ ),
220
+ l.a.createElement(
221
+ 'div',
222
+ { className: '__dumi-default-previewer-actions' },
223
+ k &&
224
+ l.a.createElement('button', {
225
+ title: 'Open demo on CodeSandbox.io',
226
+ className: '__dumi-default-icon',
227
+ role: 'codesandbox',
228
+ onClick: k,
229
+ }),
230
+ w &&
231
+ l.a.createElement('button', {
232
+ title: 'Open demo on Riddle',
233
+ className: '__dumi-default-icon',
234
+ role: 'riddle',
235
+ onClick: w,
236
+ }),
237
+ p.motions &&
238
+ l.a.createElement('button', {
239
+ title: 'Execute motions',
240
+ className: '__dumi-default-icon',
241
+ role: 'motions',
242
+ disabled: A,
243
+ onClick: function () {
244
+ return N();
245
+ },
246
+ }),
247
+ p.iframe &&
248
+ l.a.createElement('button', {
249
+ title: 'Reload demo iframe page',
250
+ className: '__dumi-default-icon',
251
+ role: 'refresh',
252
+ onClick: function () {
253
+ return B(Math.random());
254
+ },
255
+ }),
256
+ !(null === (d = p.hideActions) || void 0 === d
257
+ ? void 0
258
+ : d.includes('EXTERNAL')) &&
259
+ l.a.createElement(
260
+ i['Link'],
261
+ { target: '_blank', to: h },
262
+ l.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
+ l.a.createElement('span', null),
270
+ l.a.createElement('button', {
271
+ title: 'Copy source code',
272
+ className: '__dumi-default-icon',
273
+ role: 'copy',
274
+ 'data-status': C,
275
+ onClick: function () {
276
+ return j(D);
277
+ },
278
+ }),
279
+ 'tsx' === P &&
280
+ Z &&
281
+ l.a.createElement(
282
+ i['Link'],
283
+ { target: '_blank', to: G },
284
+ l.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
+ l.a.createElement('button', {
292
+ title: 'Toggle source code panel',
293
+ className: '__dumi-default-icon'.concat(
294
+ Z ? ' __dumi-default-btn-expand' : '',
295
+ ),
296
+ role: 'source',
297
+ type: 'button',
298
+ onClick: function () {
299
+ return J(!Z);
300
+ },
301
+ }),
302
+ ),
303
+ Z &&
304
+ l.a.createElement(
305
+ 'div',
306
+ { className: '__dumi-default-previewer-source-wrapper' },
307
+ !g &&
308
+ l.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: S,
315
+ onChange: Q,
316
+ },
317
+ Object.keys(p.sources).map(function (e) {
318
+ return l.a.createElement(r['a'], {
319
+ tab:
320
+ '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
321
+ key: e,
322
+ });
323
+ }),
324
+ ),
325
+ l.a.createElement(
326
+ 'div',
327
+ { className: '__dumi-default-previewer-source' },
328
+ l.a.createElement(o['a'], { code: D, lang: P, showCopy: !1 }),
329
+ ),
330
+ ),
331
+ )
332
+ );
333
+ };
334
+ t['default'] = b;
335
+ },
336
+ cakp: function (e, t, a) {
337
+ 'use strict';
338
+ a.r(t);
339
+ var n = a('q1tI'),
340
+ l = a.n(n),
341
+ r = a('dEAq'),
342
+ c = a('Zxc8'),
343
+ i = a('H1Ra'),
344
+ o = a('JjdP'),
345
+ m = l.a.memo(o['default']['image-basic'].component),
346
+ d = l.a.memo(o['default']['image-error'].component),
347
+ u = l.a.memo(o['default']['image-load'].component),
348
+ s = l.a.memo(o['default']['image-many'].component),
349
+ E = l.a.memo(o['default']['image-photo'].component),
350
+ p = l.a.memo(o['default']['image-custom'].component);
351
+ t['default'] = (e) => (
352
+ l.a.useEffect(() => {
353
+ var t;
354
+ null !== e &&
355
+ void 0 !== e &&
356
+ null !== (t = e.location) &&
357
+ void 0 !== t &&
358
+ t.hash &&
359
+ r['AnchorLink'].scrollToAnchor(
360
+ decodeURIComponent(e.location.hash.slice(1)),
361
+ );
362
+ }, []),
363
+ l.a.createElement(
364
+ l.a.Fragment,
365
+ null,
366
+ l.a.createElement(
367
+ l.a.Fragment,
368
+ null,
369
+ l.a.createElement(
370
+ 'div',
371
+ { className: 'markdown' },
372
+ l.a.createElement(
373
+ 'h1',
374
+ { id: 'image-\u56fe\u7247' },
375
+ l.a.createElement(
376
+ r['AnchorLink'],
377
+ {
378
+ to: '#image-\u56fe\u7247',
379
+ 'aria-hidden': 'true',
380
+ tabIndex: -1,
381
+ },
382
+ l.a.createElement('span', { className: 'icon icon-link' }),
383
+ ),
384
+ 'Image \u56fe\u7247',
385
+ ),
386
+ l.a.createElement(
387
+ 'p',
388
+ null,
389
+ '\u53ef\u9884\u89c8\u7684\u56fe\u7247\u3002',
390
+ ),
391
+ l.a.createElement(
392
+ 'h2',
393
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
394
+ l.a.createElement(
395
+ r['AnchorLink'],
396
+ {
397
+ to: '#\u4f55\u65f6\u4f7f\u7528',
398
+ 'aria-hidden': 'true',
399
+ tabIndex: -1,
400
+ },
401
+ l.a.createElement('span', { className: 'icon icon-link' }),
402
+ ),
403
+ '\u4f55\u65f6\u4f7f\u7528',
404
+ ),
405
+ l.a.createElement(
406
+ 'ul',
407
+ null,
408
+ l.a.createElement(
409
+ 'li',
410
+ null,
411
+ '\u9700\u8981\u5c55\u793a\u56fe\u7247\u65f6\u4f7f\u7528\u3002',
412
+ ),
413
+ l.a.createElement(
414
+ 'li',
415
+ null,
416
+ '\u52a0\u8f7d\u5927\u56fe\u65f6\u663e\u793a loading \u6216\u52a0\u8f7d\u5931\u8d25\u65f6\u5bb9\u9519\u5904\u7406\u3002',
417
+ ),
418
+ ),
419
+ l.a.createElement(
420
+ 'h2',
421
+ { id: '\u4ee3\u7801\u6f14\u793a' },
422
+ l.a.createElement(
423
+ r['AnchorLink'],
424
+ {
425
+ to: '#\u4ee3\u7801\u6f14\u793a',
426
+ 'aria-hidden': 'true',
427
+ tabIndex: -1,
428
+ },
429
+ l.a.createElement('span', { className: 'icon icon-link' }),
430
+ ),
431
+ '\u4ee3\u7801\u6f14\u793a',
432
+ ),
433
+ l.a.createElement(
434
+ 'h3',
435
+ { id: '\u57fa\u672c\u7528\u6cd5' },
436
+ l.a.createElement(
437
+ r['AnchorLink'],
438
+ {
439
+ to: '#\u57fa\u672c\u7528\u6cd5',
440
+ 'aria-hidden': 'true',
441
+ tabIndex: -1,
442
+ },
443
+ l.a.createElement('span', { className: 'icon icon-link' }),
444
+ ),
445
+ '\u57fa\u672c\u7528\u6cd5',
446
+ ),
447
+ ),
448
+ l.a.createElement(
449
+ c['default'],
450
+ o['default']['image-basic'].previewerProps,
451
+ l.a.createElement(m, null),
452
+ ),
453
+ l.a.createElement(
454
+ 'div',
455
+ { className: 'markdown' },
456
+ l.a.createElement(
457
+ 'h3',
458
+ { id: '\u5bb9\u9519\u5904\u7406' },
459
+ l.a.createElement(
460
+ r['AnchorLink'],
461
+ {
462
+ to: '#\u5bb9\u9519\u5904\u7406',
463
+ 'aria-hidden': 'true',
464
+ tabIndex: -1,
465
+ },
466
+ l.a.createElement('span', { className: 'icon icon-link' }),
467
+ ),
468
+ '\u5bb9\u9519\u5904\u7406',
469
+ ),
470
+ ),
471
+ l.a.createElement(
472
+ c['default'],
473
+ o['default']['image-error'].previewerProps,
474
+ l.a.createElement(d, null),
475
+ ),
476
+ l.a.createElement(
477
+ 'div',
478
+ { className: 'markdown' },
479
+ l.a.createElement(
480
+ 'h3',
481
+ { id: '\u6e10\u8fdb\u52a0\u8f7d' },
482
+ l.a.createElement(
483
+ r['AnchorLink'],
484
+ {
485
+ to: '#\u6e10\u8fdb\u52a0\u8f7d',
486
+ 'aria-hidden': 'true',
487
+ tabIndex: -1,
488
+ },
489
+ l.a.createElement('span', { className: 'icon icon-link' }),
490
+ ),
491
+ '\u6e10\u8fdb\u52a0\u8f7d',
492
+ ),
493
+ ),
494
+ l.a.createElement(
495
+ c['default'],
496
+ o['default']['image-load'].previewerProps,
497
+ l.a.createElement(u, null),
498
+ ),
499
+ l.a.createElement(
500
+ 'div',
501
+ { className: 'markdown' },
502
+ l.a.createElement(
503
+ 'h3',
504
+ { id: '\u591a\u5f20\u56fe\u7247\u9884\u89c8' },
505
+ l.a.createElement(
506
+ r['AnchorLink'],
507
+ {
508
+ to: '#\u591a\u5f20\u56fe\u7247\u9884\u89c8',
509
+ 'aria-hidden': 'true',
510
+ tabIndex: -1,
511
+ },
512
+ l.a.createElement('span', { className: 'icon icon-link' }),
513
+ ),
514
+ '\u591a\u5f20\u56fe\u7247\u9884\u89c8',
515
+ ),
516
+ ),
517
+ l.a.createElement(
518
+ c['default'],
519
+ o['default']['image-many'].previewerProps,
520
+ l.a.createElement(s, null),
521
+ ),
522
+ l.a.createElement(
523
+ 'div',
524
+ { className: 'markdown' },
525
+ l.a.createElement(
526
+ 'h3',
527
+ { id: '\u76f8\u518c\u6a21\u5f0f' },
528
+ l.a.createElement(
529
+ r['AnchorLink'],
530
+ {
531
+ to: '#\u76f8\u518c\u6a21\u5f0f',
532
+ 'aria-hidden': 'true',
533
+ tabIndex: -1,
534
+ },
535
+ l.a.createElement('span', { className: 'icon icon-link' }),
536
+ ),
537
+ '\u76f8\u518c\u6a21\u5f0f',
538
+ ),
539
+ ),
540
+ l.a.createElement(
541
+ c['default'],
542
+ o['default']['image-photo'].previewerProps,
543
+ l.a.createElement(E, null),
544
+ ),
545
+ l.a.createElement(
546
+ 'div',
547
+ { className: 'markdown' },
548
+ l.a.createElement(
549
+ 'h3',
550
+ { id: '\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247' },
551
+ l.a.createElement(
552
+ r['AnchorLink'],
553
+ {
554
+ to: '#\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247',
555
+ 'aria-hidden': 'true',
556
+ tabIndex: -1,
557
+ },
558
+ l.a.createElement('span', { className: 'icon icon-link' }),
559
+ ),
560
+ '\u81ea\u5b9a\u4e49\u9884\u89c8\u56fe\u7247',
561
+ ),
562
+ ),
563
+ l.a.createElement(
564
+ c['default'],
565
+ o['default']['image-custom'].previewerProps,
566
+ l.a.createElement(p, null),
567
+ ),
568
+ l.a.createElement(
569
+ 'div',
570
+ { className: 'markdown' },
571
+ l.a.createElement(
572
+ 'h2',
573
+ { id: 'api' },
574
+ l.a.createElement(
575
+ r['AnchorLink'],
576
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
577
+ l.a.createElement('span', { className: 'icon icon-link' }),
578
+ ),
579
+ 'API',
580
+ ),
581
+ l.a.createElement(
582
+ 'table',
583
+ null,
584
+ l.a.createElement(
585
+ 'thead',
586
+ null,
587
+ l.a.createElement(
588
+ 'tr',
589
+ null,
590
+ l.a.createElement('th', null, '\u53c2\u6570'),
591
+ l.a.createElement('th', null, '\u8bf4\u660e'),
592
+ l.a.createElement('th', null, '\u7c7b\u578b'),
593
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
594
+ l.a.createElement('th', null, '\u7248\u672c'),
595
+ ),
596
+ ),
597
+ l.a.createElement(
598
+ 'tbody',
599
+ null,
600
+ l.a.createElement(
601
+ 'tr',
602
+ null,
603
+ l.a.createElement('td', null, 'alt'),
604
+ l.a.createElement('td', null, '\u56fe\u50cf\u63cf\u8ff0'),
605
+ l.a.createElement('td', null, 'string'),
606
+ l.a.createElement('td', null, '-'),
607
+ l.a.createElement('td', null, '4.6.0'),
608
+ ),
609
+ l.a.createElement(
610
+ 'tr',
611
+ null,
612
+ l.a.createElement('td', null, 'fallback'),
613
+ l.a.createElement(
614
+ 'td',
615
+ null,
616
+ '\u52a0\u8f7d\u5931\u8d25\u5bb9\u9519\u5730\u5740',
617
+ ),
618
+ l.a.createElement('td', null, 'string'),
619
+ l.a.createElement('td', null, '-'),
620
+ l.a.createElement('td', null, '4.6.0'),
621
+ ),
622
+ l.a.createElement(
623
+ 'tr',
624
+ null,
625
+ l.a.createElement('td', null, 'height'),
626
+ l.a.createElement('td', null, '\u56fe\u50cf\u9ad8\u5ea6'),
627
+ l.a.createElement('td', null, 'string | number'),
628
+ l.a.createElement('td', null, '-'),
629
+ l.a.createElement('td', null, '4.6.0'),
630
+ ),
631
+ l.a.createElement(
632
+ 'tr',
633
+ null,
634
+ l.a.createElement('td', null, 'placeholder'),
635
+ l.a.createElement(
636
+ 'td',
637
+ null,
638
+ '\u52a0\u8f7d\u5360\u4f4d, \u4e3a ',
639
+ l.a.createElement('code', null, 'true'),
640
+ ' \u65f6\u4f7f\u7528\u9ed8\u8ba4\u5360\u4f4d',
641
+ ),
642
+ l.a.createElement('td', null, 'ReactNode'),
643
+ l.a.createElement('td', null, '-'),
644
+ l.a.createElement('td', null, '4.6.0'),
645
+ ),
646
+ l.a.createElement(
647
+ 'tr',
648
+ null,
649
+ l.a.createElement('td', null, 'preview'),
650
+ l.a.createElement(
651
+ 'td',
652
+ null,
653
+ '\u9884\u89c8\u53c2\u6570\uff0c\u4e3a ',
654
+ l.a.createElement('code', null, 'false'),
655
+ ' \u65f6\u7981\u7528',
656
+ ),
657
+ l.a.createElement(
658
+ 'td',
659
+ null,
660
+ 'boolean | ',
661
+ l.a.createElement(
662
+ r['AnchorLink'],
663
+ { to: '#previewType' },
664
+ 'previewType',
665
+ ),
666
+ ),
667
+ l.a.createElement('td', null, 'true'),
668
+ l.a.createElement(
669
+ 'td',
670
+ null,
671
+ '4.6.0 ',
672
+ l.a.createElement(
673
+ r['AnchorLink'],
674
+ { to: '#previewType' },
675
+ 'previewType',
676
+ ),
677
+ ':4.7.0',
678
+ ),
679
+ ),
680
+ l.a.createElement(
681
+ 'tr',
682
+ null,
683
+ l.a.createElement('td', null, 'src'),
684
+ l.a.createElement('td', null, '\u56fe\u7247\u5730\u5740'),
685
+ l.a.createElement('td', null, 'string'),
686
+ l.a.createElement('td', null, '-'),
687
+ l.a.createElement('td', null, '4.6.0'),
688
+ ),
689
+ l.a.createElement(
690
+ 'tr',
691
+ null,
692
+ l.a.createElement('td', null, 'width'),
693
+ l.a.createElement('td', null, '\u56fe\u50cf\u5bbd\u5ea6'),
694
+ l.a.createElement('td', null, 'string | number'),
695
+ l.a.createElement('td', null, '-'),
696
+ l.a.createElement('td', null, '4.6.0'),
697
+ ),
698
+ l.a.createElement(
699
+ 'tr',
700
+ null,
701
+ l.a.createElement('td', null, 'onError'),
702
+ l.a.createElement(
703
+ 'td',
704
+ null,
705
+ '\u52a0\u8f7d\u9519\u8bef\u56de\u8c03',
706
+ ),
707
+ l.a.createElement('td', null, '(event: Event) => void'),
708
+ l.a.createElement('td', null, '-'),
709
+ l.a.createElement('td', null, '4.12.0'),
710
+ ),
711
+ ),
712
+ ),
713
+ l.a.createElement(
714
+ 'h3',
715
+ { id: 'previewtype' },
716
+ l.a.createElement(
717
+ r['AnchorLink'],
718
+ { to: '#previewtype', 'aria-hidden': 'true', tabIndex: -1 },
719
+ l.a.createElement('span', { className: 'icon icon-link' }),
720
+ ),
721
+ 'previewType',
722
+ ),
723
+ l.a.createElement(i['a'], {
724
+ code: '{\n visible?: boolean;\n onVisibleChange?: (visible, prevVisible) => void;\n getContainer?: string | HTMLElement | (() => HTMLElement); // V4.8.0\n src?: string; // V4.10.0\n mask?: ReactNode; // V4.9.0\n maskClassName?: string; // V4.11.0\n current?: number; // V4.12.0 \u4ec5\u652f\u6301 PreviewGroup\u3002\n}',
725
+ lang: 'bash',
726
+ }),
727
+ l.a.createElement(
728
+ 'p',
729
+ null,
730
+ '\u5176\u4ed6\u5c5e\u6027\u89c1 ',
731
+ l.a.createElement(
732
+ r['Link'],
733
+ {
734
+ to: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Attributes',
735
+ },
736
+ '<img>',
737
+ ),
738
+ ),
739
+ ),
740
+ ),
741
+ )
742
+ );
743
+ },
744
+ },
745
+ ]);