@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,1370 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[40],{MUDK:function(e,t,l){"use strict";l.r(t);var n=l("q1tI"),a=l.n(n),r=l("dEAq"),c=l("Zxc8"),u=l("H1Ra"),m=l("JjdP"),d=a.a.memo(m["default"]["menu-horizontal"].component),i=a.a.memo(m["default"]["menu-inline"].component),o=a.a.memo(m["default"]["menu-inline-collapsed"].component),E=a.a.memo(m["default"]["menu-sider-current"].component),s=a.a.memo(m["default"]["menu-vertical"].component),h=a.a.memo(m["default"]["menu-theme"].component);t["default"]=e=>(a.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)))}),[]),a.a.createElement(a.a.Fragment,null,a.a.createElement(a.a.Fragment,null,a.a.createElement("div",{className:"markdown"},a.a.createElement("h1",{id:"menu-\u5bfc\u822a"},a.a.createElement(r["AnchorLink"],{to:"#menu-\u5bfc\u822a","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu \u5bfc\u822a"),a.a.createElement("p",null,"\u4e3a\u9875\u9762\u548c\u529f\u80fd\u63d0\u4f9b\u5bfc\u822a\u7684\u83dc\u5355\u5217\u8868\u3002"),a.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},a.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),a.a.createElement("p",null,"\u5bfc\u822a\u83dc\u5355\u662f\u4e00\u4e2a\u7f51\u7ad9\u7684\u7075\u9b42\uff0c\u7528\u6237\u4f9d\u8d56\u5bfc\u822a\u5728\u5404\u4e2a\u9875\u9762\u4e2d\u8fdb\u884c\u8df3\u8f6c\u3002\u4e00\u822c\u5206\u4e3a\u9876\u90e8\u5bfc\u822a\u548c\u4fa7\u8fb9\u5bfc\u822a\uff0c\u9876\u90e8\u5bfc\u822a\u63d0\u4f9b\u5168\u5c40\u6027\u7684\u7c7b\u76ee\u548c\u529f\u80fd\uff0c\u4fa7\u8fb9\u5bfc\u822a\u63d0\u4f9b\u591a\u7ea7\u7ed3\u6784\u6765\u6536\u7eb3\u548c\u6392\u5217\u7f51\u7ad9\u67b6\u6784\u3002"),a.a.createElement("p",null,"\u66f4\u591a\u5e03\u5c40\u548c\u5bfc\u822a\u7684\u4f7f\u7528\u53ef\u4ee5\u53c2\u8003\uff1a",a.a.createElement(r["Link"],{to:"/components/layout"},"\u901a\u7528\u5e03\u5c40"),"\u3002"),a.a.createElement("h2",{id:"\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879"},a.a.createElement(r["AnchorLink"],{to:"#\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879"),a.a.createElement("ul",null,a.a.createElement("li",null,"Menu \u5143\u7d20\u4e3a ",a.a.createElement("code",null,"ul"),"\uff0c\u56e0\u800c\u4ec5\u652f\u6301 ",a.a.createElement(r["Link"],{to:"https://html.spec.whatwg.org/multipage/grouping-content.html#the-ul-element"},a.a.createElement("code",null,"li")," \u4ee5\u53ca ",a.a.createElement("code",null,"script-supporting")," \u5b50\u5143\u7d20"),"\u3002\u56e0\u800c\u4f60\u7684\u5b50\u8282\u70b9\u5143\u7d20\u5e94\u8be5\u90fd\u5728 ",a.a.createElement("code",null,"Menu.Item")," \u5185\u4f7f\u7528\u3002"),a.a.createElement("li",null,"Menu \u9700\u8981\u8ba1\u7b97\u8282\u70b9\u7ed3\u6784\uff0c\u56e0\u800c\u5176\u5b50\u5143\u7d20\u4ec5\u652f\u6301 ",a.a.createElement("code",null,"Menu.*")," \u4ee5\u53ca\u5bf9\u6b64\u8fdb\u884c\u5c01\u88c5\u7684 HOC \u7ec4\u4ef6\u3002")),a.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},a.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),a.a.createElement("h3",{id:"\u9876\u90e8\u5bfc\u822a"},a.a.createElement(r["AnchorLink"],{to:"#\u9876\u90e8\u5bfc\u822a","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u9876\u90e8\u5bfc\u822a")),a.a.createElement(c["default"],m["default"]["menu-horizontal"].previewerProps,a.a.createElement(d,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u5185\u5d4c\u83dc\u5355"},a.a.createElement(r["AnchorLink"],{to:"#\u5185\u5d4c\u83dc\u5355","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u5185\u5d4c\u83dc\u5355")),a.a.createElement(c["default"],m["default"]["menu-inline"].previewerProps,a.a.createElement(i,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u7f29\u8d77\u5185\u5d4c\u83dc\u5355"},a.a.createElement(r["AnchorLink"],{to:"#\u7f29\u8d77\u5185\u5d4c\u83dc\u5355","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u7f29\u8d77\u5185\u5d4c\u83dc\u5355")),a.a.createElement(c["default"],m["default"]["menu-inline-collapsed"].previewerProps,a.a.createElement(o,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355"},a.a.createElement(r["AnchorLink"],{to:"#\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355")),a.a.createElement(c["default"],m["default"]["menu-sider-current"].previewerProps,a.a.createElement(E,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u5782\u76f4\u83dc\u5355"},a.a.createElement(r["AnchorLink"],{to:"#\u5782\u76f4\u83dc\u5355","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u5782\u76f4\u83dc\u5355")),a.a.createElement(c["default"],m["default"]["menu-vertical"].previewerProps,a.a.createElement(s,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h3",{id:"\u4e3b\u9898"},a.a.createElement(r["AnchorLink"],{to:"#\u4e3b\u9898","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4e3b\u9898")),a.a.createElement(c["default"],m["default"]["menu-theme"].previewerProps,a.a.createElement(h,null)),a.a.createElement("div",{className:"markdown"},a.a.createElement("h2",{id:"api"},a.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"API"),a.a.createElement(u["a"],{code:'<Menu>\n <Menu.Item>\u83dc\u5355\u9879</Menu.Item>\n <SubMenu title="\u5b50\u83dc\u5355">\n <Menu.Item>\u5b50\u83dc\u5355\u9879</Menu.Item>\n </SubMenu>\n</Menu>',lang:"bash"}),a.a.createElement("h3",{id:"menu"},a.a.createElement(r["AnchorLink"],{to:"#menu","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu"),a.a.createElement("table",null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),a.a.createElement("th",null,"\u7248\u672c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"defaultOpenKeys"),a.a.createElement("td",null,"\u521d\u59cb\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4"),a.a.createElement("td",null,"string[]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"defaultSelectedKeys"),a.a.createElement("td",null,"\u521d\u59cb\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4"),a.a.createElement("td",null,"string[]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"expandIcon"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u5c55\u5f00\u56fe\u6807"),a.a.createElement("td",null,"ReactNode | ",a.a.createElement("code",null,"(props: SubMenuProps & ","{"," isSubMenu: boolean ","}",") => ReactNode")),a.a.createElement("td",null,"-"),a.a.createElement("td",null,"4.9.0")),a.a.createElement("tr",null,a.a.createElement("td",null,"forceSubMenuRender"),a.a.createElement("td",null,"\u5728\u5b50\u83dc\u5355\u5c55\u793a\u4e4b\u524d\u5c31\u6e32\u67d3\u8fdb DOM"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"false"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"inlineCollapsed"),a.a.createElement("td",null,"inline \u65f6\u83dc\u5355\u662f\u5426\u6536\u8d77\u72b6\u6001"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"inlineIndent"),a.a.createElement("td",null,"inline \u6a21\u5f0f\u7684\u83dc\u5355\u7f29\u8fdb\u5bbd\u5ea6"),a.a.createElement("td",null,"number"),a.a.createElement("td",null,"24"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"mode"),a.a.createElement("td",null,"\u83dc\u5355\u7c7b\u578b\uff0c\u73b0\u5728\u652f\u6301\u5782\u76f4\u3001\u6c34\u5e73\u3001\u548c\u5185\u5d4c\u6a21\u5f0f\u4e09\u79cd"),a.a.createElement("td",null,a.a.createElement("code",null,"vertical")," | ",a.a.createElement("code",null,"horizontal")," | ",a.a.createElement("code",null,"inline")),a.a.createElement("td",null,a.a.createElement("code",null,"vertical")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"multiple"),a.a.createElement("td",null,"\u662f\u5426\u5141\u8bb8\u591a\u9009"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"false"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"openKeys"),a.a.createElement("td",null,"\u5f53\u524d\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4"),a.a.createElement("td",null,"string[]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"overflowedIndicator"),a.a.createElement("td",null,"\u81ea\u5b9a\u4e49 Menu \u6298\u53e0\u65f6\u7684\u56fe\u6807"),a.a.createElement("td",null,"ReactNode"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"selectable"),a.a.createElement("td",null,"\u662f\u5426\u5141\u8bb8\u9009\u4e2d"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"true"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"selectedKeys"),a.a.createElement("td",null,"\u5f53\u524d\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4"),a.a.createElement("td",null,"string[]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"style"),a.a.createElement("td",null,"\u6839\u8282\u70b9\u6837\u5f0f"),a.a.createElement("td",null,"CSSProperties"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"subMenuCloseDelay"),a.a.createElement("td",null,"\u7528\u6237\u9f20\u6807\u79bb\u5f00\u5b50\u83dc\u5355\u540e\u5173\u95ed\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2"),a.a.createElement("td",null,"number"),a.a.createElement("td",null,"0.1"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"subMenuOpenDelay"),a.a.createElement("td",null,"\u7528\u6237\u9f20\u6807\u8fdb\u5165\u5b50\u83dc\u5355\u540e\u5f00\u542f\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2"),a.a.createElement("td",null,"number"),a.a.createElement("td",null,"0"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"theme"),a.a.createElement("td",null,"\u4e3b\u9898\u989c\u8272"),a.a.createElement("td",null,a.a.createElement("code",null,"light")," | ",a.a.createElement("code",null,"dark")),a.a.createElement("td",null,a.a.createElement("code",null,"light")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"triggerSubMenuAction"),a.a.createElement("td",null,"SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u89e6\u53d1\u884c\u4e3a"),a.a.createElement("td",null,a.a.createElement("code",null,"hover")," | ",a.a.createElement("code",null,"click")),a.a.createElement("td",null,a.a.createElement("code",null,"hover")),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onClick"),a.a.createElement("td",null,"\u70b9\u51fb MenuItem \u8c03\u7528\u6b64\u51fd\u6570"),a.a.createElement("td",null,"function(","{"," item, key, keyPath, domEvent ","}",")"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onDeselect"),a.a.createElement("td",null,"\u53d6\u6d88\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u4ec5\u5728 multiple \u751f\u6548"),a.a.createElement("td",null,"function(","{"," item, key, keyPath, selectedKeys, domEvent ","}",")"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onOpenChange"),a.a.createElement("td",null,"SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u56de\u8c03"),a.a.createElement("td",null,"function(openKeys: string[])"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onSelect"),a.a.createElement("td",null,"\u88ab\u9009\u4e2d\u65f6\u8c03\u7528"),a.a.createElement("td",null,"function(","{"," item, key, keyPath, selectedKeys, domEvent ","}",")"),a.a.createElement("td",null,"- \xa0"),a.a.createElement("td",null)))),a.a.createElement("blockquote",null,a.a.createElement("p",null,"\u66f4\u591a\u5c5e\u6027\u67e5\u770b ",a.a.createElement(r["Link"],{to:"https://github.com/react-component/menu#api"},"rc-menu"))),a.a.createElement("h3",{id:"menuitem"},a.a.createElement(r["AnchorLink"],{to:"#menuitem","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu.Item"),a.a.createElement("table",null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),a.a.createElement("th",null,"\u7248\u672c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"danger"),a.a.createElement("td",null,"\u5c55\u793a\u9519\u8bef\u72b6\u6001\u6837\u5f0f"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"false"),a.a.createElement("td",null,"4.3.0")),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"false"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"icon"),a.a.createElement("td",null,"\u83dc\u5355\u56fe\u6807"),a.a.createElement("td",null,"ReactNode"),a.a.createElement("td",null,"-"),a.a.createElement("td",null,"4.2.0")),a.a.createElement("tr",null,a.a.createElement("td",null,"key"),a.a.createElement("td",null,"item \u7684\u552f\u4e00\u6807\u5fd7"),a.a.createElement("td",null,"string"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"title"),a.a.createElement("td",null,"\u8bbe\u7f6e\u6536\u7f29\u65f6\u5c55\u793a\u7684\u60ac\u6d6e\u6807\u9898"),a.a.createElement("td",null,"string"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)))),a.a.createElement("blockquote",null,a.a.createElement("p",null,"\u6ce8\u610f\uff1a",a.a.createElement("code",null,"icon")," \u662f ",a.a.createElement("code",null,"4.2.0")," \u65b0\u589e\u7684\u5c5e\u6027\uff0c\u4e4b\u524d\u7684\u7248\u672c\u8bf7\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u5f0f\u5b9a\u4e49\u56fe\u6807\u3002"),a.a.createElement(u["a"],{code:"<Menu.Item>\n <PieChartOutlined />\n <span>Option 1</span>\n</Menu.Item>\n<Menu.SubMenu\n title={\n <>\n <PieChartOutlined />\n <span>Option 2</span>\n </>\n }\n>\n ...\n</Menu.SubMenu>",lang:"bash"})),a.a.createElement("h3",{id:"menusubmenu"},a.a.createElement(r["AnchorLink"],{to:"#menusubmenu","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu.SubMenu"),a.a.createElement("table",null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),a.a.createElement("th",null,"\u7248\u672c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"children"),a.a.createElement("td",null,"\u5b50\u83dc\u5355\u7684\u83dc\u5355\u9879"),a.a.createElement("td",null,"Array<MenuItem | SubMenu>"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"disabled"),a.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),a.a.createElement("td",null,"boolean"),a.a.createElement("td",null,"false"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"icon"),a.a.createElement("td",null,"\u83dc\u5355\u56fe\u6807"),a.a.createElement("td",null,"ReactNode"),a.a.createElement("td",null,"-"),a.a.createElement("td",null,"4.2.0")),a.a.createElement("tr",null,a.a.createElement("td",null,"key"),a.a.createElement("td",null,"\u552f\u4e00\u6807\u5fd7"),a.a.createElement("td",null,"string"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"popupClassName"),a.a.createElement("td",null,"\u5b50\u83dc\u5355\u6837\u5f0f\uff0c",a.a.createElement("code",null,'mode="inline"')," \u65f6\u65e0\u6548"),a.a.createElement("td",null,"string"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"popupOffset"),a.a.createElement("td",null,"\u5b50\u83dc\u5355\u504f\u79fb\u91cf\uff0c",a.a.createElement("code",null,'mode="inline"')," \u65f6\u65e0\u6548"),a.a.createElement("td",null,"[number, number]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"title"),a.a.createElement("td",null,"\u5b50\u83dc\u5355\u9879\u503c"),a.a.createElement("td",null,"ReactNode"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"onTitleClick"),a.a.createElement("td",null,"\u70b9\u51fb\u5b50\u83dc\u5355\u6807\u9898"),a.a.createElement("td",null,"function(","{"," key, domEvent ","}",")"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)))),a.a.createElement("h3",{id:"menuitemgroup"},a.a.createElement(r["AnchorLink"],{to:"#menuitemgroup","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu.ItemGroup"),a.a.createElement("table",null,a.a.createElement("thead",null,a.a.createElement("tr",null,a.a.createElement("th",null,"\u53c2\u6570"),a.a.createElement("th",null,"\u8bf4\u660e"),a.a.createElement("th",null,"\u7c7b\u578b"),a.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),a.a.createElement("th",null,"\u7248\u672c"))),a.a.createElement("tbody",null,a.a.createElement("tr",null,a.a.createElement("td",null,"children"),a.a.createElement("td",null,"\u5206\u7ec4\u7684\u83dc\u5355\u9879"),a.a.createElement("td",null,"MenuItem[]"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)),a.a.createElement("tr",null,a.a.createElement("td",null,"title"),a.a.createElement("td",null,"\u5206\u7ec4\u6807\u9898"),a.a.createElement("td",null,"ReactNode"),a.a.createElement("td",null,"-"),a.a.createElement("td",null)))),a.a.createElement("h3",{id:"menudivider"},a.a.createElement(r["AnchorLink"],{to:"#menudivider","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"Menu.Divider"),a.a.createElement("p",null,"\u83dc\u5355\u9879\u5206\u5272\u7ebf\uff0c\u53ea\u7528\u5728\u5f39\u51fa\u83dc\u5355\u5185\u3002"),a.a.createElement("h2",{id:"faq"},a.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"FAQ"),a.a.createElement("h3",{id:"\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21"},a.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21","aria-hidden":"true",tabIndex:-1},a.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55 Menu \u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21\uff1f"),a.a.createElement("p",null,"Menu \u901a\u8fc7",a.a.createElement(r["Link"],{to:"https://github.com/react-component/menu/blob/f4684514096d6b7123339cbe72e7b0f68db0bce2/src/Menu.tsx#L543"},"\u4e8c\u6b21\u6e32\u67d3"),"\u6536\u96c6\u5d4c\u5957\u7ed3\u6784\u4fe1\u606f\u4ee5\u652f\u6301 HOC \u7684\u7ed3\u6784\u3002\u5408\u5e76\u6210\u4e00\u4e2a\u63a8\u5bfc\u7ed3\u6784\u4f1a\u4f7f\u5f97\u903b\u8f91\u53d8\u5f97\u5341\u5206\u590d\u6742\uff0c\u6b22\u8fce PR \u4ee5\u534f\u52a9\u6539\u8fdb\u8be5\u8bbe\u8ba1\u3002")))))},MZF8:function(e,t,l){"use strict";var n=l("ogwx");l.d(t,"a",(function(){return n["b"]}));l("VCU9")},RZMt:function(e,t,l){},Zxc8:function(e,t,l){"use strict";l.r(t);var n=l("q1tI"),a=l.n(n),r=l("k3GJ"),c=l("MZF8"),u=l("dEAq"),m=l("H1Ra");l("RZMt");function d(e,t){return h(e)||s(e,t)||o(e,t)||i()}function i(){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 o(e,t){if(e){if("string"===typeof e)return E(e,t);var l=Object.prototype.toString.call(e).slice(8,-1);return"Object"===l&&e.constructor&&(l=e.constructor.name),"Map"===l||"Set"===l?Array.from(e):"Arguments"===l||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,n=new Array(t);l<t;l++)n[l]=e[l];return n}function s(e,t){var l=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var n,a,r=[],c=!0,u=!1;try{for(l=l.call(e);!(c=(n=l.next()).done);c=!0)if(r.push(n.value),t&&r.length===t)break}catch(m){u=!0,a=m}finally{try{c||null==l["return"]||l["return"]()}finally{if(u)throw a}}return r}}function h(e){if(Array.isArray(e))return e}function p(e,t){var l,n=null===(l=e.match(/\.(\w+)$/))||void 0===l?void 0:l[1];return n||(n=t.tsx?"tsx":"jsx"),n}var b=function(e){var t,l,i,o=Object(n["useRef"])(),E=Object(n["useContext"])(u["context"]),s=E.locale,h=Object(u["useLocaleProps"])(s,e),b=Object(u["useDemoUrl"])(h.identifier),f=h.demoUrl||b,k=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(h.identifier),v=1===Object.keys(h.sources).length,y=Object(u["useCodeSandbox"])((null===(t=h.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:h),g=Object(u["useRiddle"])((null===(l=h.hideActions)||void 0===l?void 0:l.includes("RIDDLE"))?null:h),M=Object(u["useMotions"])(h.motions||[],o.current),N=d(M,2),_=N[0],w=N[1],I=Object(u["useCopy"])(),x=d(I,2),A=x[0],S=x[1],O=Object(n["useState"])("_"),C=d(O,2),L=C[0],j=C[1],R=Object(n["useState"])(p(L,h.sources[L])),P=d(R,2),D=P[0],K=P[1],q=Object(n["useState"])(Boolean(h.defaultShowCode)),T=d(q,2),U=T[0],Z=T[1],F=Object(n["useState"])(Math.random()),H=d(F,2),J=H[0],$=H[1],z=h.sources[L][D]||h.sources[L].content,B=Object(u["useTSPlaygroundUrl"])(s,z),G=Object(n["useRef"])(),X=Object(u["usePrefersColor"])(),Q=d(X,1),V=Q[0];function W(e){j(e),K(p(e,h.sources[e]))}return Object(n["useEffect"])((function(){$(Math.random())}),[V]),a.a.createElement("div",{style:h.style,className:[h.className,"__dumi-default-previewer",k?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:h.identifier,"data-debug":h.debug||void 0,"data-iframe":h.iframe||void 0},h.iframe&&a.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),a.a.createElement("div",{ref:o,className:"__dumi-default-previewer-demo",style:{transform:h.transform?"translate(0, 0)":void 0,padding:h.compact||h.iframe&&!1!==h.compact?"0":void 0,background:h.background}},h.iframe?a.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(h.iframe).replace(/(\d)$/,"$1px")},key:J,src:f,ref:G}):h.children),a.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":h.title},h.title&&a.a.createElement(u["AnchorLink"],{to:"#".concat(h.identifier)},h.title),h.description&&a.a.createElement("div",{dangerouslySetInnerHTML:{__html:h.description}})),a.a.createElement("div",{className:"__dumi-default-previewer-actions"},y&&a.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:y}),g&&a.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:g}),h.motions&&a.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:w,onClick:function(){return _()}}),h.iframe&&a.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return $(Math.random())}}),!(null===(i=h.hideActions)||void 0===i?void 0:i.includes("EXTERNAL"))&&a.a.createElement(u["Link"],{target:"_blank",to:f},a.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),a.a.createElement("span",null),a.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":S,onClick:function(){return A(z)}}),"tsx"===D&&U&&a.a.createElement(u["Link"],{target:"_blank",to:B},a.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),a.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(U?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return Z(!U)}})),U&&a.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!v&&a.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:L,onChange:W},Object.keys(h.sources).map((function(e){return a.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,h.sources[e])):e,key:e})}))),a.a.createElement("div",{className:"__dumi-default-previewer-source"},a.a.createElement(m["a"],{code:z,lang:D,showCopy:!1}))))};t["default"]=b}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [40],
3
+ {
4
+ MUDK: function (e, t, l) {
5
+ 'use strict';
6
+ l.r(t);
7
+ var n = l('q1tI'),
8
+ a = l.n(n),
9
+ r = l('dEAq'),
10
+ c = l('Zxc8'),
11
+ u = l('H1Ra'),
12
+ m = l('JjdP'),
13
+ d = a.a.memo(m['default']['menu-horizontal'].component),
14
+ i = a.a.memo(m['default']['menu-inline'].component),
15
+ o = a.a.memo(m['default']['menu-inline-collapsed'].component),
16
+ E = a.a.memo(m['default']['menu-sider-current'].component),
17
+ s = a.a.memo(m['default']['menu-vertical'].component),
18
+ h = a.a.memo(m['default']['menu-theme'].component);
19
+ t['default'] = (e) => (
20
+ a.a.useEffect(() => {
21
+ var t;
22
+ null !== e &&
23
+ void 0 !== e &&
24
+ null !== (t = e.location) &&
25
+ void 0 !== t &&
26
+ t.hash &&
27
+ r['AnchorLink'].scrollToAnchor(
28
+ decodeURIComponent(e.location.hash.slice(1)),
29
+ );
30
+ }, []),
31
+ a.a.createElement(
32
+ a.a.Fragment,
33
+ null,
34
+ a.a.createElement(
35
+ a.a.Fragment,
36
+ null,
37
+ a.a.createElement(
38
+ 'div',
39
+ { className: 'markdown' },
40
+ a.a.createElement(
41
+ 'h1',
42
+ { id: 'menu-\u5bfc\u822a' },
43
+ a.a.createElement(
44
+ r['AnchorLink'],
45
+ {
46
+ to: '#menu-\u5bfc\u822a',
47
+ 'aria-hidden': 'true',
48
+ tabIndex: -1,
49
+ },
50
+ a.a.createElement('span', { className: 'icon icon-link' }),
51
+ ),
52
+ 'Menu \u5bfc\u822a',
53
+ ),
54
+ a.a.createElement(
55
+ 'p',
56
+ null,
57
+ '\u4e3a\u9875\u9762\u548c\u529f\u80fd\u63d0\u4f9b\u5bfc\u822a\u7684\u83dc\u5355\u5217\u8868\u3002',
58
+ ),
59
+ a.a.createElement(
60
+ 'h2',
61
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
62
+ a.a.createElement(
63
+ r['AnchorLink'],
64
+ {
65
+ to: '#\u4f55\u65f6\u4f7f\u7528',
66
+ 'aria-hidden': 'true',
67
+ tabIndex: -1,
68
+ },
69
+ a.a.createElement('span', { className: 'icon icon-link' }),
70
+ ),
71
+ '\u4f55\u65f6\u4f7f\u7528',
72
+ ),
73
+ a.a.createElement(
74
+ 'p',
75
+ null,
76
+ '\u5bfc\u822a\u83dc\u5355\u662f\u4e00\u4e2a\u7f51\u7ad9\u7684\u7075\u9b42\uff0c\u7528\u6237\u4f9d\u8d56\u5bfc\u822a\u5728\u5404\u4e2a\u9875\u9762\u4e2d\u8fdb\u884c\u8df3\u8f6c\u3002\u4e00\u822c\u5206\u4e3a\u9876\u90e8\u5bfc\u822a\u548c\u4fa7\u8fb9\u5bfc\u822a\uff0c\u9876\u90e8\u5bfc\u822a\u63d0\u4f9b\u5168\u5c40\u6027\u7684\u7c7b\u76ee\u548c\u529f\u80fd\uff0c\u4fa7\u8fb9\u5bfc\u822a\u63d0\u4f9b\u591a\u7ea7\u7ed3\u6784\u6765\u6536\u7eb3\u548c\u6392\u5217\u7f51\u7ad9\u67b6\u6784\u3002',
77
+ ),
78
+ a.a.createElement(
79
+ 'p',
80
+ null,
81
+ '\u66f4\u591a\u5e03\u5c40\u548c\u5bfc\u822a\u7684\u4f7f\u7528\u53ef\u4ee5\u53c2\u8003\uff1a',
82
+ a.a.createElement(
83
+ r['Link'],
84
+ { to: '/components/layout' },
85
+ '\u901a\u7528\u5e03\u5c40',
86
+ ),
87
+ '\u3002',
88
+ ),
89
+ a.a.createElement(
90
+ 'h2',
91
+ { id: '\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879' },
92
+ a.a.createElement(
93
+ r['AnchorLink'],
94
+ {
95
+ to: '#\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879',
96
+ 'aria-hidden': 'true',
97
+ tabIndex: -1,
98
+ },
99
+ a.a.createElement('span', { className: 'icon icon-link' }),
100
+ ),
101
+ '\u5f00\u53d1\u8005\u6ce8\u610f\u4e8b\u9879',
102
+ ),
103
+ a.a.createElement(
104
+ 'ul',
105
+ null,
106
+ a.a.createElement(
107
+ 'li',
108
+ null,
109
+ 'Menu \u5143\u7d20\u4e3a ',
110
+ a.a.createElement('code', null, 'ul'),
111
+ '\uff0c\u56e0\u800c\u4ec5\u652f\u6301 ',
112
+ a.a.createElement(
113
+ r['Link'],
114
+ {
115
+ to: 'https://html.spec.whatwg.org/multipage/grouping-content.html#the-ul-element',
116
+ },
117
+ a.a.createElement('code', null, 'li'),
118
+ ' \u4ee5\u53ca ',
119
+ a.a.createElement('code', null, 'script-supporting'),
120
+ ' \u5b50\u5143\u7d20',
121
+ ),
122
+ '\u3002\u56e0\u800c\u4f60\u7684\u5b50\u8282\u70b9\u5143\u7d20\u5e94\u8be5\u90fd\u5728 ',
123
+ a.a.createElement('code', null, 'Menu.Item'),
124
+ ' \u5185\u4f7f\u7528\u3002',
125
+ ),
126
+ a.a.createElement(
127
+ 'li',
128
+ null,
129
+ 'Menu \u9700\u8981\u8ba1\u7b97\u8282\u70b9\u7ed3\u6784\uff0c\u56e0\u800c\u5176\u5b50\u5143\u7d20\u4ec5\u652f\u6301 ',
130
+ a.a.createElement('code', null, 'Menu.*'),
131
+ ' \u4ee5\u53ca\u5bf9\u6b64\u8fdb\u884c\u5c01\u88c5\u7684 HOC \u7ec4\u4ef6\u3002',
132
+ ),
133
+ ),
134
+ a.a.createElement(
135
+ 'h2',
136
+ { id: '\u4ee3\u7801\u6f14\u793a' },
137
+ a.a.createElement(
138
+ r['AnchorLink'],
139
+ {
140
+ to: '#\u4ee3\u7801\u6f14\u793a',
141
+ 'aria-hidden': 'true',
142
+ tabIndex: -1,
143
+ },
144
+ a.a.createElement('span', { className: 'icon icon-link' }),
145
+ ),
146
+ '\u4ee3\u7801\u6f14\u793a',
147
+ ),
148
+ a.a.createElement(
149
+ 'h3',
150
+ { id: '\u9876\u90e8\u5bfc\u822a' },
151
+ a.a.createElement(
152
+ r['AnchorLink'],
153
+ {
154
+ to: '#\u9876\u90e8\u5bfc\u822a',
155
+ 'aria-hidden': 'true',
156
+ tabIndex: -1,
157
+ },
158
+ a.a.createElement('span', { className: 'icon icon-link' }),
159
+ ),
160
+ '\u9876\u90e8\u5bfc\u822a',
161
+ ),
162
+ ),
163
+ a.a.createElement(
164
+ c['default'],
165
+ m['default']['menu-horizontal'].previewerProps,
166
+ a.a.createElement(d, null),
167
+ ),
168
+ a.a.createElement(
169
+ 'div',
170
+ { className: 'markdown' },
171
+ a.a.createElement(
172
+ 'h3',
173
+ { id: '\u5185\u5d4c\u83dc\u5355' },
174
+ a.a.createElement(
175
+ r['AnchorLink'],
176
+ {
177
+ to: '#\u5185\u5d4c\u83dc\u5355',
178
+ 'aria-hidden': 'true',
179
+ tabIndex: -1,
180
+ },
181
+ a.a.createElement('span', { className: 'icon icon-link' }),
182
+ ),
183
+ '\u5185\u5d4c\u83dc\u5355',
184
+ ),
185
+ ),
186
+ a.a.createElement(
187
+ c['default'],
188
+ m['default']['menu-inline'].previewerProps,
189
+ a.a.createElement(i, null),
190
+ ),
191
+ a.a.createElement(
192
+ 'div',
193
+ { className: 'markdown' },
194
+ a.a.createElement(
195
+ 'h3',
196
+ { id: '\u7f29\u8d77\u5185\u5d4c\u83dc\u5355' },
197
+ a.a.createElement(
198
+ r['AnchorLink'],
199
+ {
200
+ to: '#\u7f29\u8d77\u5185\u5d4c\u83dc\u5355',
201
+ 'aria-hidden': 'true',
202
+ tabIndex: -1,
203
+ },
204
+ a.a.createElement('span', { className: 'icon icon-link' }),
205
+ ),
206
+ '\u7f29\u8d77\u5185\u5d4c\u83dc\u5355',
207
+ ),
208
+ ),
209
+ a.a.createElement(
210
+ c['default'],
211
+ m['default']['menu-inline-collapsed'].previewerProps,
212
+ a.a.createElement(o, null),
213
+ ),
214
+ a.a.createElement(
215
+ 'div',
216
+ { className: 'markdown' },
217
+ a.a.createElement(
218
+ 'h3',
219
+ {
220
+ id: '\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
221
+ },
222
+ a.a.createElement(
223
+ r['AnchorLink'],
224
+ {
225
+ to: '#\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
226
+ 'aria-hidden': 'true',
227
+ tabIndex: -1,
228
+ },
229
+ a.a.createElement('span', { className: 'icon icon-link' }),
230
+ ),
231
+ '\u53ea\u5c55\u5f00\u5f53\u524d\u7236\u7ea7\u83dc\u5355',
232
+ ),
233
+ ),
234
+ a.a.createElement(
235
+ c['default'],
236
+ m['default']['menu-sider-current'].previewerProps,
237
+ a.a.createElement(E, null),
238
+ ),
239
+ a.a.createElement(
240
+ 'div',
241
+ { className: 'markdown' },
242
+ a.a.createElement(
243
+ 'h3',
244
+ { id: '\u5782\u76f4\u83dc\u5355' },
245
+ a.a.createElement(
246
+ r['AnchorLink'],
247
+ {
248
+ to: '#\u5782\u76f4\u83dc\u5355',
249
+ 'aria-hidden': 'true',
250
+ tabIndex: -1,
251
+ },
252
+ a.a.createElement('span', { className: 'icon icon-link' }),
253
+ ),
254
+ '\u5782\u76f4\u83dc\u5355',
255
+ ),
256
+ ),
257
+ a.a.createElement(
258
+ c['default'],
259
+ m['default']['menu-vertical'].previewerProps,
260
+ a.a.createElement(s, null),
261
+ ),
262
+ a.a.createElement(
263
+ 'div',
264
+ { className: 'markdown' },
265
+ a.a.createElement(
266
+ 'h3',
267
+ { id: '\u4e3b\u9898' },
268
+ a.a.createElement(
269
+ r['AnchorLink'],
270
+ { to: '#\u4e3b\u9898', 'aria-hidden': 'true', tabIndex: -1 },
271
+ a.a.createElement('span', { className: 'icon icon-link' }),
272
+ ),
273
+ '\u4e3b\u9898',
274
+ ),
275
+ ),
276
+ a.a.createElement(
277
+ c['default'],
278
+ m['default']['menu-theme'].previewerProps,
279
+ a.a.createElement(h, null),
280
+ ),
281
+ a.a.createElement(
282
+ 'div',
283
+ { className: 'markdown' },
284
+ a.a.createElement(
285
+ 'h2',
286
+ { id: 'api' },
287
+ a.a.createElement(
288
+ r['AnchorLink'],
289
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
290
+ a.a.createElement('span', { className: 'icon icon-link' }),
291
+ ),
292
+ 'API',
293
+ ),
294
+ a.a.createElement(u['a'], {
295
+ code: '<Menu>\n <Menu.Item>\u83dc\u5355\u9879</Menu.Item>\n <SubMenu title="\u5b50\u83dc\u5355">\n <Menu.Item>\u5b50\u83dc\u5355\u9879</Menu.Item>\n </SubMenu>\n</Menu>',
296
+ lang: 'bash',
297
+ }),
298
+ a.a.createElement(
299
+ 'h3',
300
+ { id: 'menu' },
301
+ a.a.createElement(
302
+ r['AnchorLink'],
303
+ { to: '#menu', 'aria-hidden': 'true', tabIndex: -1 },
304
+ a.a.createElement('span', { className: 'icon icon-link' }),
305
+ ),
306
+ 'Menu',
307
+ ),
308
+ a.a.createElement(
309
+ 'table',
310
+ null,
311
+ a.a.createElement(
312
+ 'thead',
313
+ null,
314
+ a.a.createElement(
315
+ 'tr',
316
+ null,
317
+ a.a.createElement('th', null, '\u53c2\u6570'),
318
+ a.a.createElement('th', null, '\u8bf4\u660e'),
319
+ a.a.createElement('th', null, '\u7c7b\u578b'),
320
+ a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
321
+ a.a.createElement('th', null, '\u7248\u672c'),
322
+ ),
323
+ ),
324
+ a.a.createElement(
325
+ 'tbody',
326
+ null,
327
+ a.a.createElement(
328
+ 'tr',
329
+ null,
330
+ a.a.createElement('td', null, 'defaultOpenKeys'),
331
+ a.a.createElement(
332
+ 'td',
333
+ null,
334
+ '\u521d\u59cb\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4',
335
+ ),
336
+ a.a.createElement('td', null, 'string[]'),
337
+ a.a.createElement('td', null, '-'),
338
+ a.a.createElement('td', null),
339
+ ),
340
+ a.a.createElement(
341
+ 'tr',
342
+ null,
343
+ a.a.createElement('td', null, 'defaultSelectedKeys'),
344
+ a.a.createElement(
345
+ 'td',
346
+ null,
347
+ '\u521d\u59cb\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4',
348
+ ),
349
+ a.a.createElement('td', null, 'string[]'),
350
+ a.a.createElement('td', null, '-'),
351
+ a.a.createElement('td', null),
352
+ ),
353
+ a.a.createElement(
354
+ 'tr',
355
+ null,
356
+ a.a.createElement('td', null, 'expandIcon'),
357
+ a.a.createElement(
358
+ 'td',
359
+ null,
360
+ '\u81ea\u5b9a\u4e49\u5c55\u5f00\u56fe\u6807',
361
+ ),
362
+ a.a.createElement(
363
+ 'td',
364
+ null,
365
+ 'ReactNode | ',
366
+ a.a.createElement(
367
+ 'code',
368
+ null,
369
+ '(props: SubMenuProps & ',
370
+ '{',
371
+ ' isSubMenu: boolean ',
372
+ '}',
373
+ ') => ReactNode',
374
+ ),
375
+ ),
376
+ a.a.createElement('td', null, '-'),
377
+ a.a.createElement('td', null, '4.9.0'),
378
+ ),
379
+ a.a.createElement(
380
+ 'tr',
381
+ null,
382
+ a.a.createElement('td', null, 'forceSubMenuRender'),
383
+ a.a.createElement(
384
+ 'td',
385
+ null,
386
+ '\u5728\u5b50\u83dc\u5355\u5c55\u793a\u4e4b\u524d\u5c31\u6e32\u67d3\u8fdb DOM',
387
+ ),
388
+ a.a.createElement('td', null, 'boolean'),
389
+ a.a.createElement('td', null, 'false'),
390
+ a.a.createElement('td', null),
391
+ ),
392
+ a.a.createElement(
393
+ 'tr',
394
+ null,
395
+ a.a.createElement('td', null, 'inlineCollapsed'),
396
+ a.a.createElement(
397
+ 'td',
398
+ null,
399
+ 'inline \u65f6\u83dc\u5355\u662f\u5426\u6536\u8d77\u72b6\u6001',
400
+ ),
401
+ a.a.createElement('td', null, 'boolean'),
402
+ a.a.createElement('td', null, '-'),
403
+ a.a.createElement('td', null),
404
+ ),
405
+ a.a.createElement(
406
+ 'tr',
407
+ null,
408
+ a.a.createElement('td', null, 'inlineIndent'),
409
+ a.a.createElement(
410
+ 'td',
411
+ null,
412
+ 'inline \u6a21\u5f0f\u7684\u83dc\u5355\u7f29\u8fdb\u5bbd\u5ea6',
413
+ ),
414
+ a.a.createElement('td', null, 'number'),
415
+ a.a.createElement('td', null, '24'),
416
+ a.a.createElement('td', null),
417
+ ),
418
+ a.a.createElement(
419
+ 'tr',
420
+ null,
421
+ a.a.createElement('td', null, 'mode'),
422
+ a.a.createElement(
423
+ 'td',
424
+ null,
425
+ '\u83dc\u5355\u7c7b\u578b\uff0c\u73b0\u5728\u652f\u6301\u5782\u76f4\u3001\u6c34\u5e73\u3001\u548c\u5185\u5d4c\u6a21\u5f0f\u4e09\u79cd',
426
+ ),
427
+ a.a.createElement(
428
+ 'td',
429
+ null,
430
+ a.a.createElement('code', null, 'vertical'),
431
+ ' | ',
432
+ a.a.createElement('code', null, 'horizontal'),
433
+ ' | ',
434
+ a.a.createElement('code', null, 'inline'),
435
+ ),
436
+ a.a.createElement(
437
+ 'td',
438
+ null,
439
+ a.a.createElement('code', null, 'vertical'),
440
+ ),
441
+ a.a.createElement('td', null),
442
+ ),
443
+ a.a.createElement(
444
+ 'tr',
445
+ null,
446
+ a.a.createElement('td', null, 'multiple'),
447
+ a.a.createElement(
448
+ 'td',
449
+ null,
450
+ '\u662f\u5426\u5141\u8bb8\u591a\u9009',
451
+ ),
452
+ a.a.createElement('td', null, 'boolean'),
453
+ a.a.createElement('td', null, 'false'),
454
+ a.a.createElement('td', null),
455
+ ),
456
+ a.a.createElement(
457
+ 'tr',
458
+ null,
459
+ a.a.createElement('td', null, 'openKeys'),
460
+ a.a.createElement(
461
+ 'td',
462
+ null,
463
+ '\u5f53\u524d\u5c55\u5f00\u7684 SubMenu \u83dc\u5355\u9879 key \u6570\u7ec4',
464
+ ),
465
+ a.a.createElement('td', null, 'string[]'),
466
+ a.a.createElement('td', null, '-'),
467
+ a.a.createElement('td', null),
468
+ ),
469
+ a.a.createElement(
470
+ 'tr',
471
+ null,
472
+ a.a.createElement('td', null, 'overflowedIndicator'),
473
+ a.a.createElement(
474
+ 'td',
475
+ null,
476
+ '\u81ea\u5b9a\u4e49 Menu \u6298\u53e0\u65f6\u7684\u56fe\u6807',
477
+ ),
478
+ a.a.createElement('td', null, 'ReactNode'),
479
+ a.a.createElement('td', null, '-'),
480
+ a.a.createElement('td', null),
481
+ ),
482
+ a.a.createElement(
483
+ 'tr',
484
+ null,
485
+ a.a.createElement('td', null, 'selectable'),
486
+ a.a.createElement(
487
+ 'td',
488
+ null,
489
+ '\u662f\u5426\u5141\u8bb8\u9009\u4e2d',
490
+ ),
491
+ a.a.createElement('td', null, 'boolean'),
492
+ a.a.createElement('td', null, 'true'),
493
+ a.a.createElement('td', null),
494
+ ),
495
+ a.a.createElement(
496
+ 'tr',
497
+ null,
498
+ a.a.createElement('td', null, 'selectedKeys'),
499
+ a.a.createElement(
500
+ 'td',
501
+ null,
502
+ '\u5f53\u524d\u9009\u4e2d\u7684\u83dc\u5355\u9879 key \u6570\u7ec4',
503
+ ),
504
+ a.a.createElement('td', null, 'string[]'),
505
+ a.a.createElement('td', null, '-'),
506
+ a.a.createElement('td', null),
507
+ ),
508
+ a.a.createElement(
509
+ 'tr',
510
+ null,
511
+ a.a.createElement('td', null, 'style'),
512
+ a.a.createElement(
513
+ 'td',
514
+ null,
515
+ '\u6839\u8282\u70b9\u6837\u5f0f',
516
+ ),
517
+ a.a.createElement('td', null, 'CSSProperties'),
518
+ a.a.createElement('td', null, '-'),
519
+ a.a.createElement('td', null),
520
+ ),
521
+ a.a.createElement(
522
+ 'tr',
523
+ null,
524
+ a.a.createElement('td', null, 'subMenuCloseDelay'),
525
+ a.a.createElement(
526
+ 'td',
527
+ null,
528
+ '\u7528\u6237\u9f20\u6807\u79bb\u5f00\u5b50\u83dc\u5355\u540e\u5173\u95ed\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2',
529
+ ),
530
+ a.a.createElement('td', null, 'number'),
531
+ a.a.createElement('td', null, '0.1'),
532
+ a.a.createElement('td', null),
533
+ ),
534
+ a.a.createElement(
535
+ 'tr',
536
+ null,
537
+ a.a.createElement('td', null, 'subMenuOpenDelay'),
538
+ a.a.createElement(
539
+ 'td',
540
+ null,
541
+ '\u7528\u6237\u9f20\u6807\u8fdb\u5165\u5b50\u83dc\u5355\u540e\u5f00\u542f\u5ef6\u65f6\uff0c\u5355\u4f4d\uff1a\u79d2',
542
+ ),
543
+ a.a.createElement('td', null, 'number'),
544
+ a.a.createElement('td', null, '0'),
545
+ a.a.createElement('td', null),
546
+ ),
547
+ a.a.createElement(
548
+ 'tr',
549
+ null,
550
+ a.a.createElement('td', null, 'theme'),
551
+ a.a.createElement('td', null, '\u4e3b\u9898\u989c\u8272'),
552
+ a.a.createElement(
553
+ 'td',
554
+ null,
555
+ a.a.createElement('code', null, 'light'),
556
+ ' | ',
557
+ a.a.createElement('code', null, 'dark'),
558
+ ),
559
+ a.a.createElement(
560
+ 'td',
561
+ null,
562
+ a.a.createElement('code', null, 'light'),
563
+ ),
564
+ a.a.createElement('td', null),
565
+ ),
566
+ a.a.createElement(
567
+ 'tr',
568
+ null,
569
+ a.a.createElement('td', null, 'triggerSubMenuAction'),
570
+ a.a.createElement(
571
+ 'td',
572
+ null,
573
+ 'SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u89e6\u53d1\u884c\u4e3a',
574
+ ),
575
+ a.a.createElement(
576
+ 'td',
577
+ null,
578
+ a.a.createElement('code', null, 'hover'),
579
+ ' | ',
580
+ a.a.createElement('code', null, 'click'),
581
+ ),
582
+ a.a.createElement(
583
+ 'td',
584
+ null,
585
+ a.a.createElement('code', null, 'hover'),
586
+ ),
587
+ a.a.createElement('td', null),
588
+ ),
589
+ a.a.createElement(
590
+ 'tr',
591
+ null,
592
+ a.a.createElement('td', null, 'onClick'),
593
+ a.a.createElement(
594
+ 'td',
595
+ null,
596
+ '\u70b9\u51fb MenuItem \u8c03\u7528\u6b64\u51fd\u6570',
597
+ ),
598
+ a.a.createElement(
599
+ 'td',
600
+ null,
601
+ 'function(',
602
+ '{',
603
+ ' item, key, keyPath, domEvent ',
604
+ '}',
605
+ ')',
606
+ ),
607
+ a.a.createElement('td', null, '-'),
608
+ a.a.createElement('td', null),
609
+ ),
610
+ a.a.createElement(
611
+ 'tr',
612
+ null,
613
+ a.a.createElement('td', null, 'onDeselect'),
614
+ a.a.createElement(
615
+ 'td',
616
+ null,
617
+ '\u53d6\u6d88\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u4ec5\u5728 multiple \u751f\u6548',
618
+ ),
619
+ a.a.createElement(
620
+ 'td',
621
+ null,
622
+ 'function(',
623
+ '{',
624
+ ' item, key, keyPath, selectedKeys, domEvent ',
625
+ '}',
626
+ ')',
627
+ ),
628
+ a.a.createElement('td', null, '-'),
629
+ a.a.createElement('td', null),
630
+ ),
631
+ a.a.createElement(
632
+ 'tr',
633
+ null,
634
+ a.a.createElement('td', null, 'onOpenChange'),
635
+ a.a.createElement(
636
+ 'td',
637
+ null,
638
+ 'SubMenu \u5c55\u5f00/\u5173\u95ed\u7684\u56de\u8c03',
639
+ ),
640
+ a.a.createElement(
641
+ 'td',
642
+ null,
643
+ 'function(openKeys: string[])',
644
+ ),
645
+ a.a.createElement('td', null, '-'),
646
+ a.a.createElement('td', null),
647
+ ),
648
+ a.a.createElement(
649
+ 'tr',
650
+ null,
651
+ a.a.createElement('td', null, 'onSelect'),
652
+ a.a.createElement(
653
+ 'td',
654
+ null,
655
+ '\u88ab\u9009\u4e2d\u65f6\u8c03\u7528',
656
+ ),
657
+ a.a.createElement(
658
+ 'td',
659
+ null,
660
+ 'function(',
661
+ '{',
662
+ ' item, key, keyPath, selectedKeys, domEvent ',
663
+ '}',
664
+ ')',
665
+ ),
666
+ a.a.createElement('td', null, '- \xa0'),
667
+ a.a.createElement('td', null),
668
+ ),
669
+ ),
670
+ ),
671
+ a.a.createElement(
672
+ 'blockquote',
673
+ null,
674
+ a.a.createElement(
675
+ 'p',
676
+ null,
677
+ '\u66f4\u591a\u5c5e\u6027\u67e5\u770b ',
678
+ a.a.createElement(
679
+ r['Link'],
680
+ { to: 'https://github.com/react-component/menu#api' },
681
+ 'rc-menu',
682
+ ),
683
+ ),
684
+ ),
685
+ a.a.createElement(
686
+ 'h3',
687
+ { id: 'menuitem' },
688
+ a.a.createElement(
689
+ r['AnchorLink'],
690
+ { to: '#menuitem', 'aria-hidden': 'true', tabIndex: -1 },
691
+ a.a.createElement('span', { className: 'icon icon-link' }),
692
+ ),
693
+ 'Menu.Item',
694
+ ),
695
+ a.a.createElement(
696
+ 'table',
697
+ null,
698
+ a.a.createElement(
699
+ 'thead',
700
+ null,
701
+ a.a.createElement(
702
+ 'tr',
703
+ null,
704
+ a.a.createElement('th', null, '\u53c2\u6570'),
705
+ a.a.createElement('th', null, '\u8bf4\u660e'),
706
+ a.a.createElement('th', null, '\u7c7b\u578b'),
707
+ a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
708
+ a.a.createElement('th', null, '\u7248\u672c'),
709
+ ),
710
+ ),
711
+ a.a.createElement(
712
+ 'tbody',
713
+ null,
714
+ a.a.createElement(
715
+ 'tr',
716
+ null,
717
+ a.a.createElement('td', null, 'danger'),
718
+ a.a.createElement(
719
+ 'td',
720
+ null,
721
+ '\u5c55\u793a\u9519\u8bef\u72b6\u6001\u6837\u5f0f',
722
+ ),
723
+ a.a.createElement('td', null, 'boolean'),
724
+ a.a.createElement('td', null, 'false'),
725
+ a.a.createElement('td', null, '4.3.0'),
726
+ ),
727
+ a.a.createElement(
728
+ 'tr',
729
+ null,
730
+ a.a.createElement('td', null, 'disabled'),
731
+ a.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
732
+ a.a.createElement('td', null, 'boolean'),
733
+ a.a.createElement('td', null, 'false'),
734
+ a.a.createElement('td', null),
735
+ ),
736
+ a.a.createElement(
737
+ 'tr',
738
+ null,
739
+ a.a.createElement('td', null, 'icon'),
740
+ a.a.createElement('td', null, '\u83dc\u5355\u56fe\u6807'),
741
+ a.a.createElement('td', null, 'ReactNode'),
742
+ a.a.createElement('td', null, '-'),
743
+ a.a.createElement('td', null, '4.2.0'),
744
+ ),
745
+ a.a.createElement(
746
+ 'tr',
747
+ null,
748
+ a.a.createElement('td', null, 'key'),
749
+ a.a.createElement(
750
+ 'td',
751
+ null,
752
+ 'item \u7684\u552f\u4e00\u6807\u5fd7',
753
+ ),
754
+ a.a.createElement('td', null, 'string'),
755
+ a.a.createElement('td', null, '-'),
756
+ a.a.createElement('td', null),
757
+ ),
758
+ a.a.createElement(
759
+ 'tr',
760
+ null,
761
+ a.a.createElement('td', null, 'title'),
762
+ a.a.createElement(
763
+ 'td',
764
+ null,
765
+ '\u8bbe\u7f6e\u6536\u7f29\u65f6\u5c55\u793a\u7684\u60ac\u6d6e\u6807\u9898',
766
+ ),
767
+ a.a.createElement('td', null, 'string'),
768
+ a.a.createElement('td', null, '-'),
769
+ a.a.createElement('td', null),
770
+ ),
771
+ ),
772
+ ),
773
+ a.a.createElement(
774
+ 'blockquote',
775
+ null,
776
+ a.a.createElement(
777
+ 'p',
778
+ null,
779
+ '\u6ce8\u610f\uff1a',
780
+ a.a.createElement('code', null, 'icon'),
781
+ ' \u662f ',
782
+ a.a.createElement('code', null, '4.2.0'),
783
+ ' \u65b0\u589e\u7684\u5c5e\u6027\uff0c\u4e4b\u524d\u7684\u7248\u672c\u8bf7\u4f7f\u7528\u4e0b\u9762\u7684\u65b9\u5f0f\u5b9a\u4e49\u56fe\u6807\u3002',
784
+ ),
785
+ a.a.createElement(u['a'], {
786
+ code: '<Menu.Item>\n <PieChartOutlined />\n <span>Option 1</span>\n</Menu.Item>\n<Menu.SubMenu\n title={\n <>\n <PieChartOutlined />\n <span>Option 2</span>\n </>\n }\n>\n ...\n</Menu.SubMenu>',
787
+ lang: 'bash',
788
+ }),
789
+ ),
790
+ a.a.createElement(
791
+ 'h3',
792
+ { id: 'menusubmenu' },
793
+ a.a.createElement(
794
+ r['AnchorLink'],
795
+ { to: '#menusubmenu', 'aria-hidden': 'true', tabIndex: -1 },
796
+ a.a.createElement('span', { className: 'icon icon-link' }),
797
+ ),
798
+ 'Menu.SubMenu',
799
+ ),
800
+ a.a.createElement(
801
+ 'table',
802
+ null,
803
+ a.a.createElement(
804
+ 'thead',
805
+ null,
806
+ a.a.createElement(
807
+ 'tr',
808
+ null,
809
+ a.a.createElement('th', null, '\u53c2\u6570'),
810
+ a.a.createElement('th', null, '\u8bf4\u660e'),
811
+ a.a.createElement('th', null, '\u7c7b\u578b'),
812
+ a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
813
+ a.a.createElement('th', null, '\u7248\u672c'),
814
+ ),
815
+ ),
816
+ a.a.createElement(
817
+ 'tbody',
818
+ null,
819
+ a.a.createElement(
820
+ 'tr',
821
+ null,
822
+ a.a.createElement('td', null, 'children'),
823
+ a.a.createElement(
824
+ 'td',
825
+ null,
826
+ '\u5b50\u83dc\u5355\u7684\u83dc\u5355\u9879',
827
+ ),
828
+ a.a.createElement('td', null, 'Array<MenuItem | SubMenu>'),
829
+ a.a.createElement('td', null, '-'),
830
+ a.a.createElement('td', null),
831
+ ),
832
+ a.a.createElement(
833
+ 'tr',
834
+ null,
835
+ a.a.createElement('td', null, 'disabled'),
836
+ a.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
837
+ a.a.createElement('td', null, 'boolean'),
838
+ a.a.createElement('td', null, 'false'),
839
+ a.a.createElement('td', null),
840
+ ),
841
+ a.a.createElement(
842
+ 'tr',
843
+ null,
844
+ a.a.createElement('td', null, 'icon'),
845
+ a.a.createElement('td', null, '\u83dc\u5355\u56fe\u6807'),
846
+ a.a.createElement('td', null, 'ReactNode'),
847
+ a.a.createElement('td', null, '-'),
848
+ a.a.createElement('td', null, '4.2.0'),
849
+ ),
850
+ a.a.createElement(
851
+ 'tr',
852
+ null,
853
+ a.a.createElement('td', null, 'key'),
854
+ a.a.createElement('td', null, '\u552f\u4e00\u6807\u5fd7'),
855
+ a.a.createElement('td', null, 'string'),
856
+ a.a.createElement('td', null, '-'),
857
+ a.a.createElement('td', null),
858
+ ),
859
+ a.a.createElement(
860
+ 'tr',
861
+ null,
862
+ a.a.createElement('td', null, 'popupClassName'),
863
+ a.a.createElement(
864
+ 'td',
865
+ null,
866
+ '\u5b50\u83dc\u5355\u6837\u5f0f\uff0c',
867
+ a.a.createElement('code', null, 'mode="inline"'),
868
+ ' \u65f6\u65e0\u6548',
869
+ ),
870
+ a.a.createElement('td', null, 'string'),
871
+ a.a.createElement('td', null, '-'),
872
+ a.a.createElement('td', null),
873
+ ),
874
+ a.a.createElement(
875
+ 'tr',
876
+ null,
877
+ a.a.createElement('td', null, 'popupOffset'),
878
+ a.a.createElement(
879
+ 'td',
880
+ null,
881
+ '\u5b50\u83dc\u5355\u504f\u79fb\u91cf\uff0c',
882
+ a.a.createElement('code', null, 'mode="inline"'),
883
+ ' \u65f6\u65e0\u6548',
884
+ ),
885
+ a.a.createElement('td', null, '[number, number]'),
886
+ a.a.createElement('td', null, '-'),
887
+ a.a.createElement('td', null),
888
+ ),
889
+ a.a.createElement(
890
+ 'tr',
891
+ null,
892
+ a.a.createElement('td', null, 'title'),
893
+ a.a.createElement(
894
+ 'td',
895
+ null,
896
+ '\u5b50\u83dc\u5355\u9879\u503c',
897
+ ),
898
+ a.a.createElement('td', null, 'ReactNode'),
899
+ a.a.createElement('td', null, '-'),
900
+ a.a.createElement('td', null),
901
+ ),
902
+ a.a.createElement(
903
+ 'tr',
904
+ null,
905
+ a.a.createElement('td', null, 'onTitleClick'),
906
+ a.a.createElement(
907
+ 'td',
908
+ null,
909
+ '\u70b9\u51fb\u5b50\u83dc\u5355\u6807\u9898',
910
+ ),
911
+ a.a.createElement(
912
+ 'td',
913
+ null,
914
+ 'function(',
915
+ '{',
916
+ ' key, domEvent ',
917
+ '}',
918
+ ')',
919
+ ),
920
+ a.a.createElement('td', null, '-'),
921
+ a.a.createElement('td', null),
922
+ ),
923
+ ),
924
+ ),
925
+ a.a.createElement(
926
+ 'h3',
927
+ { id: 'menuitemgroup' },
928
+ a.a.createElement(
929
+ r['AnchorLink'],
930
+ { to: '#menuitemgroup', 'aria-hidden': 'true', tabIndex: -1 },
931
+ a.a.createElement('span', { className: 'icon icon-link' }),
932
+ ),
933
+ 'Menu.ItemGroup',
934
+ ),
935
+ a.a.createElement(
936
+ 'table',
937
+ null,
938
+ a.a.createElement(
939
+ 'thead',
940
+ null,
941
+ a.a.createElement(
942
+ 'tr',
943
+ null,
944
+ a.a.createElement('th', null, '\u53c2\u6570'),
945
+ a.a.createElement('th', null, '\u8bf4\u660e'),
946
+ a.a.createElement('th', null, '\u7c7b\u578b'),
947
+ a.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
948
+ a.a.createElement('th', null, '\u7248\u672c'),
949
+ ),
950
+ ),
951
+ a.a.createElement(
952
+ 'tbody',
953
+ null,
954
+ a.a.createElement(
955
+ 'tr',
956
+ null,
957
+ a.a.createElement('td', null, 'children'),
958
+ a.a.createElement(
959
+ 'td',
960
+ null,
961
+ '\u5206\u7ec4\u7684\u83dc\u5355\u9879',
962
+ ),
963
+ a.a.createElement('td', null, 'MenuItem[]'),
964
+ a.a.createElement('td', null, '-'),
965
+ a.a.createElement('td', null),
966
+ ),
967
+ a.a.createElement(
968
+ 'tr',
969
+ null,
970
+ a.a.createElement('td', null, 'title'),
971
+ a.a.createElement('td', null, '\u5206\u7ec4\u6807\u9898'),
972
+ a.a.createElement('td', null, 'ReactNode'),
973
+ a.a.createElement('td', null, '-'),
974
+ a.a.createElement('td', null),
975
+ ),
976
+ ),
977
+ ),
978
+ a.a.createElement(
979
+ 'h3',
980
+ { id: 'menudivider' },
981
+ a.a.createElement(
982
+ r['AnchorLink'],
983
+ { to: '#menudivider', 'aria-hidden': 'true', tabIndex: -1 },
984
+ a.a.createElement('span', { className: 'icon icon-link' }),
985
+ ),
986
+ 'Menu.Divider',
987
+ ),
988
+ a.a.createElement(
989
+ 'p',
990
+ null,
991
+ '\u83dc\u5355\u9879\u5206\u5272\u7ebf\uff0c\u53ea\u7528\u5728\u5f39\u51fa\u83dc\u5355\u5185\u3002',
992
+ ),
993
+ a.a.createElement(
994
+ 'h2',
995
+ { id: 'faq' },
996
+ a.a.createElement(
997
+ r['AnchorLink'],
998
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
999
+ a.a.createElement('span', { className: 'icon icon-link' }),
1000
+ ),
1001
+ 'FAQ',
1002
+ ),
1003
+ a.a.createElement(
1004
+ 'h3',
1005
+ {
1006
+ id: '\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21',
1007
+ },
1008
+ a.a.createElement(
1009
+ r['AnchorLink'],
1010
+ {
1011
+ to: '#\u4e3a\u4f55-menu-\u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21',
1012
+ 'aria-hidden': 'true',
1013
+ tabIndex: -1,
1014
+ },
1015
+ a.a.createElement('span', { className: 'icon icon-link' }),
1016
+ ),
1017
+ '\u4e3a\u4f55 Menu \u7684\u5b50\u5143\u7d20\u4f1a\u6e32\u67d3\u4e24\u6b21\uff1f',
1018
+ ),
1019
+ a.a.createElement(
1020
+ 'p',
1021
+ null,
1022
+ 'Menu \u901a\u8fc7',
1023
+ a.a.createElement(
1024
+ r['Link'],
1025
+ {
1026
+ to: 'https://github.com/react-component/menu/blob/f4684514096d6b7123339cbe72e7b0f68db0bce2/src/Menu.tsx#L543',
1027
+ },
1028
+ '\u4e8c\u6b21\u6e32\u67d3',
1029
+ ),
1030
+ '\u6536\u96c6\u5d4c\u5957\u7ed3\u6784\u4fe1\u606f\u4ee5\u652f\u6301 HOC \u7684\u7ed3\u6784\u3002\u5408\u5e76\u6210\u4e00\u4e2a\u63a8\u5bfc\u7ed3\u6784\u4f1a\u4f7f\u5f97\u903b\u8f91\u53d8\u5f97\u5341\u5206\u590d\u6742\uff0c\u6b22\u8fce PR \u4ee5\u534f\u52a9\u6539\u8fdb\u8be5\u8bbe\u8ba1\u3002',
1031
+ ),
1032
+ ),
1033
+ ),
1034
+ )
1035
+ );
1036
+ },
1037
+ MZF8: function (e, t, l) {
1038
+ 'use strict';
1039
+ var n = l('ogwx');
1040
+ l.d(t, 'a', function () {
1041
+ return n['b'];
1042
+ });
1043
+ l('VCU9');
1044
+ },
1045
+ RZMt: function (e, t, l) {},
1046
+ Zxc8: function (e, t, l) {
1047
+ 'use strict';
1048
+ l.r(t);
1049
+ var n = l('q1tI'),
1050
+ a = l.n(n),
1051
+ r = l('k3GJ'),
1052
+ c = l('MZF8'),
1053
+ u = l('dEAq'),
1054
+ m = l('H1Ra');
1055
+ l('RZMt');
1056
+ function d(e, t) {
1057
+ return h(e) || s(e, t) || o(e, t) || i();
1058
+ }
1059
+ function i() {
1060
+ throw new TypeError(
1061
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1062
+ );
1063
+ }
1064
+ function o(e, t) {
1065
+ if (e) {
1066
+ if ('string' === typeof e) return E(e, t);
1067
+ var l = Object.prototype.toString.call(e).slice(8, -1);
1068
+ return (
1069
+ 'Object' === l && e.constructor && (l = e.constructor.name),
1070
+ 'Map' === l || 'Set' === l
1071
+ ? Array.from(e)
1072
+ : 'Arguments' === l ||
1073
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
1074
+ ? E(e, t)
1075
+ : void 0
1076
+ );
1077
+ }
1078
+ }
1079
+ function E(e, t) {
1080
+ (null == t || t > e.length) && (t = e.length);
1081
+ for (var l = 0, n = new Array(t); l < t; l++) n[l] = e[l];
1082
+ return n;
1083
+ }
1084
+ function s(e, t) {
1085
+ var l =
1086
+ null == e
1087
+ ? null
1088
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
1089
+ e['@@iterator'];
1090
+ if (null != l) {
1091
+ var n,
1092
+ a,
1093
+ r = [],
1094
+ c = !0,
1095
+ u = !1;
1096
+ try {
1097
+ for (l = l.call(e); !(c = (n = l.next()).done); c = !0)
1098
+ if ((r.push(n.value), t && r.length === t)) break;
1099
+ } catch (m) {
1100
+ (u = !0), (a = m);
1101
+ } finally {
1102
+ try {
1103
+ c || null == l['return'] || l['return']();
1104
+ } finally {
1105
+ if (u) throw a;
1106
+ }
1107
+ }
1108
+ return r;
1109
+ }
1110
+ }
1111
+ function h(e) {
1112
+ if (Array.isArray(e)) return e;
1113
+ }
1114
+ function p(e, t) {
1115
+ var l,
1116
+ n =
1117
+ null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
1118
+ return n || (n = t.tsx ? 'tsx' : 'jsx'), n;
1119
+ }
1120
+ var b = function (e) {
1121
+ var t,
1122
+ l,
1123
+ i,
1124
+ o = Object(n['useRef'])(),
1125
+ E = Object(n['useContext'])(u['context']),
1126
+ s = E.locale,
1127
+ h = Object(u['useLocaleProps'])(s, e),
1128
+ b = Object(u['useDemoUrl'])(h.identifier),
1129
+ f = h.demoUrl || b,
1130
+ k =
1131
+ (null === c['a'] || void 0 === c['a']
1132
+ ? void 0
1133
+ : c['a'].location.hash) === '#'.concat(h.identifier),
1134
+ v = 1 === Object.keys(h.sources).length,
1135
+ y = Object(u['useCodeSandbox'])(
1136
+ (
1137
+ null === (t = h.hideActions) || void 0 === t
1138
+ ? void 0
1139
+ : t.includes('CSB')
1140
+ )
1141
+ ? null
1142
+ : h,
1143
+ ),
1144
+ g = Object(u['useRiddle'])(
1145
+ (
1146
+ null === (l = h.hideActions) || void 0 === l
1147
+ ? void 0
1148
+ : l.includes('RIDDLE')
1149
+ )
1150
+ ? null
1151
+ : h,
1152
+ ),
1153
+ M = Object(u['useMotions'])(h.motions || [], o.current),
1154
+ N = d(M, 2),
1155
+ _ = N[0],
1156
+ w = N[1],
1157
+ I = Object(u['useCopy'])(),
1158
+ x = d(I, 2),
1159
+ A = x[0],
1160
+ S = x[1],
1161
+ O = Object(n['useState'])('_'),
1162
+ C = d(O, 2),
1163
+ L = C[0],
1164
+ j = C[1],
1165
+ R = Object(n['useState'])(p(L, h.sources[L])),
1166
+ P = d(R, 2),
1167
+ D = P[0],
1168
+ K = P[1],
1169
+ q = Object(n['useState'])(Boolean(h.defaultShowCode)),
1170
+ T = d(q, 2),
1171
+ U = T[0],
1172
+ Z = T[1],
1173
+ F = Object(n['useState'])(Math.random()),
1174
+ H = d(F, 2),
1175
+ J = H[0],
1176
+ $ = H[1],
1177
+ z = h.sources[L][D] || h.sources[L].content,
1178
+ B = Object(u['useTSPlaygroundUrl'])(s, z),
1179
+ G = Object(n['useRef'])(),
1180
+ X = Object(u['usePrefersColor'])(),
1181
+ Q = d(X, 1),
1182
+ V = Q[0];
1183
+ function W(e) {
1184
+ j(e), K(p(e, h.sources[e]));
1185
+ }
1186
+ return (
1187
+ Object(n['useEffect'])(
1188
+ function () {
1189
+ $(Math.random());
1190
+ },
1191
+ [V],
1192
+ ),
1193
+ a.a.createElement(
1194
+ 'div',
1195
+ {
1196
+ style: h.style,
1197
+ className: [
1198
+ h.className,
1199
+ '__dumi-default-previewer',
1200
+ k ? '__dumi-default-previewer-target' : '',
1201
+ ]
1202
+ .filter(Boolean)
1203
+ .join(' '),
1204
+ id: h.identifier,
1205
+ 'data-debug': h.debug || void 0,
1206
+ 'data-iframe': h.iframe || void 0,
1207
+ },
1208
+ h.iframe &&
1209
+ a.a.createElement('div', {
1210
+ className: '__dumi-default-previewer-browser-nav',
1211
+ }),
1212
+ a.a.createElement(
1213
+ 'div',
1214
+ {
1215
+ ref: o,
1216
+ className: '__dumi-default-previewer-demo',
1217
+ style: {
1218
+ transform: h.transform ? 'translate(0, 0)' : void 0,
1219
+ padding:
1220
+ h.compact || (h.iframe && !1 !== h.compact) ? '0' : void 0,
1221
+ background: h.background,
1222
+ },
1223
+ },
1224
+ h.iframe
1225
+ ? a.a.createElement('iframe', {
1226
+ title: 'dumi-previewer',
1227
+ style: {
1228
+ height: String(h.iframe).replace(/(\d)$/, '$1px'),
1229
+ },
1230
+ key: J,
1231
+ src: f,
1232
+ ref: G,
1233
+ })
1234
+ : h.children,
1235
+ ),
1236
+ a.a.createElement(
1237
+ 'div',
1238
+ {
1239
+ className: '__dumi-default-previewer-desc',
1240
+ 'data-title': h.title,
1241
+ },
1242
+ h.title &&
1243
+ a.a.createElement(
1244
+ u['AnchorLink'],
1245
+ { to: '#'.concat(h.identifier) },
1246
+ h.title,
1247
+ ),
1248
+ h.description &&
1249
+ a.a.createElement('div', {
1250
+ dangerouslySetInnerHTML: { __html: h.description },
1251
+ }),
1252
+ ),
1253
+ a.a.createElement(
1254
+ 'div',
1255
+ { className: '__dumi-default-previewer-actions' },
1256
+ y &&
1257
+ a.a.createElement('button', {
1258
+ title: 'Open demo on CodeSandbox.io',
1259
+ className: '__dumi-default-icon',
1260
+ role: 'codesandbox',
1261
+ onClick: y,
1262
+ }),
1263
+ g &&
1264
+ a.a.createElement('button', {
1265
+ title: 'Open demo on Riddle',
1266
+ className: '__dumi-default-icon',
1267
+ role: 'riddle',
1268
+ onClick: g,
1269
+ }),
1270
+ h.motions &&
1271
+ a.a.createElement('button', {
1272
+ title: 'Execute motions',
1273
+ className: '__dumi-default-icon',
1274
+ role: 'motions',
1275
+ disabled: w,
1276
+ onClick: function () {
1277
+ return _();
1278
+ },
1279
+ }),
1280
+ h.iframe &&
1281
+ a.a.createElement('button', {
1282
+ title: 'Reload demo iframe page',
1283
+ className: '__dumi-default-icon',
1284
+ role: 'refresh',
1285
+ onClick: function () {
1286
+ return $(Math.random());
1287
+ },
1288
+ }),
1289
+ !(null === (i = h.hideActions) || void 0 === i
1290
+ ? void 0
1291
+ : i.includes('EXTERNAL')) &&
1292
+ a.a.createElement(
1293
+ u['Link'],
1294
+ { target: '_blank', to: f },
1295
+ a.a.createElement('button', {
1296
+ title: 'Open demo in new tab',
1297
+ className: '__dumi-default-icon',
1298
+ role: 'open-demo',
1299
+ type: 'button',
1300
+ }),
1301
+ ),
1302
+ a.a.createElement('span', null),
1303
+ a.a.createElement('button', {
1304
+ title: 'Copy source code',
1305
+ className: '__dumi-default-icon',
1306
+ role: 'copy',
1307
+ 'data-status': S,
1308
+ onClick: function () {
1309
+ return A(z);
1310
+ },
1311
+ }),
1312
+ 'tsx' === D &&
1313
+ U &&
1314
+ a.a.createElement(
1315
+ u['Link'],
1316
+ { target: '_blank', to: B },
1317
+ a.a.createElement('button', {
1318
+ title: 'Get JSX via TypeScript Playground',
1319
+ className: '__dumi-default-icon',
1320
+ role: 'change-tsx',
1321
+ type: 'button',
1322
+ }),
1323
+ ),
1324
+ a.a.createElement('button', {
1325
+ title: 'Toggle source code panel',
1326
+ className: '__dumi-default-icon'.concat(
1327
+ U ? ' __dumi-default-btn-expand' : '',
1328
+ ),
1329
+ role: 'source',
1330
+ type: 'button',
1331
+ onClick: function () {
1332
+ return Z(!U);
1333
+ },
1334
+ }),
1335
+ ),
1336
+ U &&
1337
+ a.a.createElement(
1338
+ 'div',
1339
+ { className: '__dumi-default-previewer-source-wrapper' },
1340
+ !v &&
1341
+ a.a.createElement(
1342
+ r['b'],
1343
+ {
1344
+ className: '__dumi-default-previewer-source-tab',
1345
+ prefixCls: '__dumi-default-tabs',
1346
+ moreIcon: '\xb7\xb7\xb7',
1347
+ defaultActiveKey: L,
1348
+ onChange: W,
1349
+ },
1350
+ Object.keys(h.sources).map(function (e) {
1351
+ return a.a.createElement(r['a'], {
1352
+ tab:
1353
+ '_' === e ? 'index.'.concat(p(e, h.sources[e])) : e,
1354
+ key: e,
1355
+ });
1356
+ }),
1357
+ ),
1358
+ a.a.createElement(
1359
+ 'div',
1360
+ { className: '__dumi-default-previewer-source' },
1361
+ a.a.createElement(m['a'], { code: z, lang: D, showCopy: !1 }),
1362
+ ),
1363
+ ),
1364
+ )
1365
+ );
1366
+ };
1367
+ t['default'] = b;
1368
+ },
1369
+ },
1370
+ ]);