@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,2081 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[52],{KiuW:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("dEAq"),c=l("Zxc8"),m=l("H1Ra"),u=l("JjdP"),d=n.a.memo(u["default"]["select-basic"].component),o=n.a.memo(u["default"]["select-search"].component),E=n.a.memo(u["default"]["select-multiple"].component),i=n.a.memo(u["default"]["select-size"].component),s=n.a.memo(u["default"]["select-option-label-prop"].component),p=n.a.memo(u["default"]["select-tags"].component),h=n.a.memo(u["default"]["select-search-sort"].component),b=n.a.memo(u["default"]["select-optgroup"].component),f=n.a.memo(u["default"]["select-coordinate"].component),k=n.a.memo(u["default"]["select-search-box"].component),v=n.a.memo(u["default"]["select-label-in-value"].component),g=n.a.memo(u["default"]["select-automatic-tokenization"].component),N=n.a.memo(u["default"]["select-select-users"].component),w=n.a.memo(u["default"]["select-custom-dropdown-menu"].component),x=n.a.memo(u["default"]["select-hide-selected"].component),y=n.a.memo(u["default"]["select-bordered"].component),A=n.a.memo(u["default"]["select-bordered"].component),L=n.a.memo(u["default"]["select-responsive"].component),I=n.a.memo(u["default"]["select-big-data"].component);t["default"]=e=>(n.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),n.a.createElement(n.a.Fragment,null,n.a.createElement(n.a.Fragment,null,n.a.createElement("div",{className:"markdown"},n.a.createElement("h1",{id:"select-\u9009\u62e9\u5668"},n.a.createElement(r["AnchorLink"],{to:"#select-\u9009\u62e9\u5668","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Select \u9009\u62e9\u5668"),n.a.createElement("p",null,"\u4e0b\u62c9\u9009\u62e9\u5668\u3002"),n.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),n.a.createElement("ul",null,n.a.createElement("li",null,"\u5f39\u51fa\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\u7ed9\u7528\u6237\u9009\u62e9\u64cd\u4f5c\uff0c\u7528\u4e8e\u4ee3\u66ff\u539f\u751f\u7684\u9009\u62e9\u5668\uff0c\u6216\u8005\u9700\u8981\u4e00\u4e2a\u66f4\u4f18\u96c5\u7684\u591a\u9009\u5668\u65f6\u3002"),n.a.createElement("li",null,"\u5f53\u9009\u9879\u5c11\u65f6\uff08\u5c11\u4e8e 5 \u9879\uff09\uff0c\u5efa\u8bae\u76f4\u63a5\u5c06\u9009\u9879\u5e73\u94fa\uff0c\u4f7f\u7528 ",n.a.createElement(r["Link"],{to:"/components/radio/"},"Radio")," \u662f\u66f4\u597d\u7684\u9009\u62e9\u3002")),n.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),n.a.createElement("h3",{id:"\u57fa\u672c\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c\u4f7f\u7528")),n.a.createElement(c["default"],u["default"]["select-basic"].previewerProps,n.a.createElement(d,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u641c\u7d22\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u641c\u7d22\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u641c\u7d22\u6846")),n.a.createElement(c["default"],u["default"]["select-search"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u591a\u9009"},n.a.createElement(r["AnchorLink"],{to:"#\u591a\u9009","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u591a\u9009")),n.a.createElement(c["default"],u["default"]["select-multiple"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u4e09\u79cd\u5927\u5c0f"},n.a.createElement(r["AnchorLink"],{to:"#\u4e09\u79cd\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e09\u79cd\u5927\u5c0f")),n.a.createElement(c["default"],u["default"]["select-size"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6807\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u6807\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6807\u7b7e")),n.a.createElement(c["default"],u["default"]["select-option-label-prop"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5b9a\u5236\u56de\u586b\u5185\u5bb9"},n.a.createElement(r["AnchorLink"],{to:"#\u5b9a\u5236\u56de\u586b\u5185\u5bb9","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5b9a\u5236\u56de\u586b\u5185\u5bb9")),n.a.createElement(c["default"],u["default"]["select-tags"].previewerProps,n.a.createElement(p,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u6392\u5e8f\u7684\u641c\u7d22"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u6392\u5e8f\u7684\u641c\u7d22","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u6392\u5e8f\u7684\u641c\u7d22")),n.a.createElement(c["default"],u["default"]["select-search-sort"].previewerProps,n.a.createElement(h,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5206\u7ec4"},n.a.createElement(r["AnchorLink"],{to:"#\u5206\u7ec4","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5206\u7ec4")),n.a.createElement(c["default"],u["default"]["select-optgroup"].previewerProps,n.a.createElement(b,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u8054\u52a8"},n.a.createElement(r["AnchorLink"],{to:"#\u8054\u52a8","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8054\u52a8")),n.a.createElement(c["default"],u["default"]["select-coordinate"].previewerProps,n.a.createElement(f,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408"},n.a.createElement(r["AnchorLink"],{to:"#\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408\u3002")),n.a.createElement(c["default"],u["default"]["select-search-box"].previewerProps,n.a.createElement(k,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c"},n.a.createElement(r["AnchorLink"],{to:"#\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c")),n.a.createElement(c["default"],u["default"]["select-label-in-value"].previewerProps,n.a.createElement(v,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u52a8\u5206\u8bcd"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u52a8\u5206\u8bcd","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u52a8\u5206\u8bcd")),n.a.createElement(c["default"],u["default"]["select-automatic-tokenization"].previewerProps,n.a.createElement(g,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u641c\u7d22\u7528\u6237"},n.a.createElement(r["AnchorLink"],{to:"#\u641c\u7d22\u7528\u6237","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u641c\u7d22\u7528\u6237")),n.a.createElement(c["default"],u["default"]["select-select-users"].previewerProps,n.a.createElement(N,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6269\u5c55\u83dc\u5355"},n.a.createElement(r["AnchorLink"],{to:"#\u6269\u5c55\u83dc\u5355","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6269\u5c55\u83dc\u5355")),n.a.createElement(c["default"],u["default"]["select-custom-dropdown-menu"].previewerProps,n.a.createElement(w,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879"},n.a.createElement(r["AnchorLink"],{to:"#\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879")),n.a.createElement(c["default"],u["default"]["select-hide-selected"].previewerProps,n.a.createElement(x,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u65e0\u8fb9\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u65e0\u8fb9\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u65e0\u8fb9\u6846")),n.a.createElement(c["default"],u["default"]["select-bordered"].previewerProps,n.a.createElement(y,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e")),n.a.createElement(c["default"],u["default"]["select-bordered"].previewerProps,n.a.createElement(A,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u54cd\u5e94\u5f0f-maxtagcount"},n.a.createElement(r["AnchorLink"],{to:"#\u54cd\u5e94\u5f0f-maxtagcount","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u54cd\u5e94\u5f0f maxTagCount")),n.a.createElement(c["default"],u["default"]["select-responsive"].previewerProps,n.a.createElement(L,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5927\u6570\u636e"},n.a.createElement(r["AnchorLink"],{to:"#\u5927\u6570\u636e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5927\u6570\u636e")),n.a.createElement(c["default"],u["default"]["select-big-data"].previewerProps,n.a.createElement(I,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h2",{id:"api"},n.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"API"),n.a.createElement(m["a"],{code:'<Select>\n <Option value="lucy">lucy</Option>\n</Select>',lang:"bash"}),n.a.createElement("h3",{id:"select-props"},n.a.createElement(r["AnchorLink"],{to:"#select-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Select props"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"allowClear"),n.a.createElement("td",null,"\u652f\u6301\u6e05\u9664"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"autoClearSearchValue"),n.a.createElement("td",null,"\u662f\u5426\u5728\u9009\u4e2d\u9879\u540e\u6e05\u7a7a\u641c\u7d22\u6846\uff0c\u53ea\u5728 ",n.a.createElement("code",null,"mode")," \u4e3a ",n.a.createElement("code",null,"multiple")," \u6216 ",n.a.createElement("code",null,"tags")," \u65f6\u6709\u6548"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"autoFocus"),n.a.createElement("td",null,"\u9ed8\u8ba4\u83b7\u53d6\u7126\u70b9"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"bordered"),n.a.createElement("td",null,"\u662f\u5426\u6709\u8fb9\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"clearIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u591a\u9009\u6846\u6e05\u7a7a\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultActiveFirstOption"),n.a.createElement("td",null,"\u662f\u5426\u9ed8\u8ba4\u9ad8\u4eae\u7b2c\u4e00\u4e2a\u9009\u9879"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultOpen"),n.a.createElement("td",null,"\u662f\u5426\u9ed8\u8ba4\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee"),n.a.createElement("td",null,"string | string[]",n.a.createElement("br",null),"number | number[]",n.a.createElement("br",null),"LabeledValue | LabeledValue[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownClassName"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u7684 className \u5c5e\u6027"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownMatchSelectWidth"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u548c\u9009\u62e9\u5668\u540c\u5bbd\u3002\u9ed8\u8ba4\u5c06\u8bbe\u7f6e ",n.a.createElement("code",null,"min-width"),"\uff0c\u5f53\u503c\u5c0f\u4e8e\u9009\u62e9\u6846\u5bbd\u5ea6\u65f6\u4f1a\u88ab\u5ffd\u7565\u3002false \u65f6\u4f1a\u5173\u95ed\u865a\u62df\u6eda\u52a8"),n.a.createElement("td",null,"boolean | number"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u4e0b\u62c9\u6846\u5185\u5bb9"),n.a.createElement("td",null,"(originNode: ReactNode) => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"dropdownStyle"),n.a.createElement("td",null,"\u4e0b\u62c9\u83dc\u5355\u7684 style \u5c5e\u6027"),n.a.createElement("td",null,"CSSProperties"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"filterOption"),n.a.createElement("td",null,"\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\u3002\u5f53\u5176\u4e3a\u4e00\u4e2a\u51fd\u6570\u65f6\uff0c\u4f1a\u63a5\u6536 ",n.a.createElement("code",null,"inputValue")," ",n.a.createElement("code",null,"option")," \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ",n.a.createElement("code",null,"option")," \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de true\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de false"),n.a.createElement("td",null,"boolean | function(inputValue, option)"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"filterSort"),n.a.createElement("td",null,"\u641c\u7d22\u65f6\u5bf9\u7b5b\u9009\u7ed3\u679c\u9879\u7684\u6392\u5e8f\u51fd\u6570, \u7c7b\u4f3c",n.a.createElement(r["Link"],{to:"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort"},"Array.sort"),"\u91cc\u7684 compareFunction"),n.a.createElement("td",null,"(optionA: Option, optionB: Option) => number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.9.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"getPopupContainer"),n.a.createElement("td",null,"\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002",n.a.createElement(r["Link"],{to:"https://codesandbox.io/s/4j168r7jw0"},"\u793a\u4f8b")),n.a.createElement("td",null,"function(triggerNode)"),n.a.createElement("td",null,"() => document.body"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"labelInValue"),n.a.createElement("td",null,"\u662f\u5426\u628a\u6bcf\u4e2a\u9009\u9879\u7684 label \u5305\u88c5\u5230 value \u4e2d\uff0c\u4f1a\u628a Select \u7684 value \u7c7b\u578b\u4ece ",n.a.createElement("code",null,"string")," \u53d8\u4e3a ","{"," value: string, label: ReactNode ","}"," \u7684\u683c\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"listHeight"),n.a.createElement("td",null,"\u8bbe\u7f6e\u5f39\u7a97\u6eda\u52a8\u9ad8\u5ea6"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"256"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"loading"),n.a.createElement("td",null,"\u52a0\u8f7d\u4e2d\u72b6\u6001"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"maxTagCount"),n.a.createElement("td",null,"\u6700\u591a\u663e\u793a\u591a\u5c11\u4e2a tag\uff0c\u54cd\u5e94\u5f0f\u6a21\u5f0f\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u635f\u8017"),n.a.createElement("td",null,"number | ",n.a.createElement("code",null,"responsive")),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"responsive: 4.10")),n.a.createElement("tr",null,n.a.createElement("td",null,"maxTagPlaceholder"),n.a.createElement("td",null,"\u9690\u85cf tag \u65f6\u663e\u793a\u7684\u5185\u5bb9"),n.a.createElement("td",null,"ReactNode | function(omittedValues)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"maxTagTextLength"),n.a.createElement("td",null,"\u6700\u5927\u663e\u793a\u7684 tag \u6587\u672c\u957f\u5ea6"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"menuItemSelectedIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u591a\u9009\u65f6\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"mode"),n.a.createElement("td",null,"\u8bbe\u7f6e Select \u7684\u6a21\u5f0f\u4e3a\u591a\u9009\u6216\u6807\u7b7e"),n.a.createElement("td",null,n.a.createElement("code",null,"multiple")," | ",n.a.createElement("code",null,"tags")),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"notFoundContent"),n.a.createElement("td",null,"\u5f53\u4e0b\u62c9\u5217\u8868\u4e3a\u7a7a\u65f6\u663e\u793a\u7684\u5185\u5bb9"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,n.a.createElement("code",null,"Not Found")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"open"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"optionFilterProp"),n.a.createElement("td",null,"\u641c\u7d22\u65f6\u8fc7\u6ee4\u5bf9\u5e94\u7684 ",n.a.createElement("code",null,"option")," \u5c5e\u6027\uff0c\u5982\u8bbe\u7f6e\u4e3a ",n.a.createElement("code",null,"children")," \u8868\u793a\u5bf9\u5185\u5d4c\u5185\u5bb9\u8fdb\u884c\u641c\u7d22\u3002\u82e5\u901a\u8fc7 ",n.a.createElement("code",null,"options")," \u5c5e\u6027\u914d\u7f6e\u9009\u9879\u5185\u5bb9\uff0c\u5efa\u8bae\u8bbe\u7f6e ",n.a.createElement("code",null,'optionFilterProp="label"')," \u6765\u5bf9\u5185\u5bb9\u8fdb\u884c\u641c\u7d22\u3002"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"value")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"optionLabelProp"),n.a.createElement("td",null,"\u56de\u586b\u5230\u9009\u62e9\u6846\u7684 Option \u7684\u5c5e\u6027\u503c\uff0c\u9ed8\u8ba4\u662f Option \u7684\u5b50\u5143\u7d20\u3002\u6bd4\u5982\u5728\u5b50\u5143\u7d20\u9700\u8981\u9ad8\u4eae\u6548\u679c\u65f6\uff0c\u6b64\u503c\u53ef\u4ee5\u8bbe\u4e3a ",n.a.createElement("code",null,"value"),"\u3002",n.a.createElement(r["Link"],{to:"https://codesandbox.io/s/antd-reproduction-template-tk678"},"\u793a\u4f8b")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"children")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"options"),n.a.createElement("td",null,"\u6570\u636e\u5316\u914d\u7f6e\u9009\u9879\u5185\u5bb9\uff0c\u76f8\u6bd4 jsx \u5b9a\u4e49\u4f1a\u83b7\u5f97\u66f4\u597d\u7684\u6e32\u67d3\u6027\u80fd"),n.a.createElement("td",null,"{"," label, value ","}","[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"placeholder"),n.a.createElement("td",null,"\u9009\u62e9\u6846\u9ed8\u8ba4\u6587\u672c"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"removeIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u591a\u9009\u6846\u6e05\u9664\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"searchValue"),n.a.createElement("td",null,"\u63a7\u5236\u641c\u7d22\u6587\u672c"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showArrow"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u4e0b\u62c9\u5c0f\u7bad\u5934"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"\u5355\u9009\u4e3a true\uff0c\u591a\u9009\u4e3a false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"showSearch"),n.a.createElement("td",null,"\u4f7f\u5355\u9009\u6a21\u5f0f\u53ef\u641c\u7d22"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,"\u9009\u62e9\u6846\u5927\u5c0f"),n.a.createElement("td",null,n.a.createElement("code",null,"large")," | ",n.a.createElement("code",null,"middle")," | ",n.a.createElement("code",null,"small")),n.a.createElement("td",null,n.a.createElement("code",null,"middle")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"suffixIcon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tagRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49 tag \u5185\u5bb9 render"),n.a.createElement("td",null,"(props) => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tokenSeparators"),n.a.createElement("td",null,"\u5728 ",n.a.createElement("code",null,"tags")," \u548c ",n.a.createElement("code",null,"multiple")," \u6a21\u5f0f\u4e0b\u81ea\u52a8\u5206\u8bcd\u7684\u5206\u9694\u7b26"),n.a.createElement("td",null,"string[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee\uff0c\u591a\u9009\u65f6\u4e3a\u4e00\u4e2a\u6570\u7ec4\u3002\uff08value \u6570\u7ec4\u5f15\u7528\u672a\u53d8\u5316\u65f6\uff0cSelect \u4e0d\u4f1a\u66f4\u65b0\uff09"),n.a.createElement("td",null,"string | string[]",n.a.createElement("br",null),"number | number[]",n.a.createElement("br",null),"LabeledValue | LabeledValue[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"virtual"),n.a.createElement("td",null,"\u8bbe\u7f6e false \u65f6\u5173\u95ed\u865a\u62df\u6eda\u52a8"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null,"4.1.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onBlur"),n.a.createElement("td",null,"\u5931\u53bb\u7126\u70b9\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u9009\u4e2d option\uff0c\u6216 input \u7684 value \u53d8\u5316\u65f6\uff0c\u8c03\u7528\u6b64\u51fd\u6570"),n.a.createElement("td",null,"function(value, option:Option | Array<Option>)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onClear"),n.a.createElement("td",null,"\u6e05\u9664\u5185\u5bb9\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onDeselect"),n.a.createElement("td",null,"\u53d6\u6d88\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value (\u6216 key) \u503c\uff0c\u4ec5\u5728 ",n.a.createElement("code",null,"multiple")," \u6216 ",n.a.createElement("code",null,"tags")," \u6a21\u5f0f\u4e0b\u751f\u6548"),n.a.createElement("td",null,"function(string | number | LabeledValue)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onDropdownVisibleChange"),n.a.createElement("td",null,"\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(open)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onFocus"),n.a.createElement("td",null,"\u83b7\u5f97\u7126\u70b9\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onInputKeyDown"),n.a.createElement("td",null,"\u6309\u952e\u6309\u4e0b\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onMouseEnter"),n.a.createElement("td",null,"\u9f20\u6807\u79fb\u5165\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onMouseLeave"),n.a.createElement("td",null,"\u9f20\u6807\u79fb\u51fa\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onPopupScroll"),n.a.createElement("td",null,"\u4e0b\u62c9\u5217\u8868\u6eda\u52a8\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSearch"),n.a.createElement("td",null,"\u6587\u672c\u6846\u503c\u53d8\u5316\u65f6\u56de\u8c03"),n.a.createElement("td",null,"function(value: string)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSelect"),n.a.createElement("td",null,"\u88ab\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value (\u6216 key) \u503c"),n.a.createElement("td",null,"function(string | number | LabeledValue, option: Option)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("blockquote",null,n.a.createElement("p",null,"\u6ce8\u610f\uff0c\u5982\u679c\u53d1\u73b0\u4e0b\u62c9\u83dc\u5355\u8ddf\u968f\u9875\u9762\u6eda\u52a8\uff0c\u6216\u8005\u9700\u8981\u5728\u5176\u4ed6\u5f39\u5c42\u4e2d\u89e6\u53d1 Select\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528 ",n.a.createElement("code",null,"getPopupContainer=","{","triggerNode => triggerNode.parentElement","}")," \u5c06\u4e0b\u62c9\u5f39\u5c42\u6e32\u67d3\u8282\u70b9\u56fa\u5b9a\u5728\u89e6\u53d1\u5668\u7684\u7236\u5143\u7d20\u4e2d\u3002")),n.a.createElement("h3",{id:"select-methods"},n.a.createElement(r["AnchorLink"],{to:"#select-methods","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Select Methods"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u540d\u79f0"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"blur()"),n.a.createElement("td",null,"\u53d6\u6d88\u7126\u70b9"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"focus()"),n.a.createElement("td",null,"\u83b7\u53d6\u7126\u70b9"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"option-props"},n.a.createElement(r["AnchorLink"],{to:"#option-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Option props"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"className"),n.a.createElement("td",null,"Option \u5668\u7c7b\u540d"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"title"),n.a.createElement("td",null,"\u9009\u4e2d\u8be5 Option \u540e\uff0cSelect \u7684 title"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u9ed8\u8ba4\u6839\u636e\u6b64\u5c5e\u6027\u503c\u8fdb\u884c\u7b5b\u9009"),n.a.createElement("td",null,"string | number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"optgroup-props"},n.a.createElement(r["AnchorLink"],{to:"#optgroup-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"OptGroup props"),n.a.createElement("table",null,n.a.createElement("thead",null,n.a.createElement("tr",null,n.a.createElement("th",null,"\u53c2\u6570"),n.a.createElement("th",null,"\u8bf4\u660e"),n.a.createElement("th",null,"\u7c7b\u578b"),n.a.createElement("th",null,"\u9ed8\u8ba4\u503c"),n.a.createElement("th",null,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"key"),n.a.createElement("td",null,"Key"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"label"),n.a.createElement("td",null,"\u7ec4\u540d"),n.a.createElement("td",null,"string | React.Element"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h2",{id:"faq"},n.a.createElement(r["AnchorLink"],{to:"#faq","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"FAQ"),n.a.createElement("h3",{id:"tag-\u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879"},n.a.createElement(r["AnchorLink"],{to:"#tag-\u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),n.a.createElement("code",null,"tag")," \u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879\uff1f"),n.a.createElement("p",null,"\u8fd9\u4e00\u822c\u662f ",n.a.createElement("code",null,"options")," \u4e2d\u7684 ",n.a.createElement("code",null,"label")," \u548c ",n.a.createElement("code",null,"value")," \u4e0d\u540c\u5bfc\u81f4\u7684\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7 ",n.a.createElement("code",null,'optionFilterProp="label"')," \u5c06\u8fc7\u6ee4\u8bbe\u7f6e\u4e3a\u5c55\u793a\u503c\u4ee5\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\u3002"),n.a.createElement("h3",{id:"\u70b9\u51fb-dropdownrender-\u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e"},n.a.createElement(r["AnchorLink"],{to:"#\u70b9\u51fb-dropdownrender-\u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u70b9\u51fb ",n.a.createElement("code",null,"dropdownRender")," \u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e\uff1f"),n.a.createElement("p",null,"\u770b\u4e0b ",n.a.createElement(r["AnchorLink"],{to:"#components-select-demo-custom-dropdown-menu"},"dropdownRender \u4f8b\u5b50")," \u91cc\u7684\u8bf4\u660e\u3002"),n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49 Option \u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e\uff1f"),n.a.createElement("p",null,"\u8fd9\u662f\u7531\u4e8e\u865a\u62df\u6eda\u52a8\u9ed8\u8ba4\u9009\u9879\u9ad8\u5ea6\u4e3a ",n.a.createElement("code",null,"32px"),"\uff0c\u5982\u679c\u4f60\u7684\u9009\u9879\u9ad8\u5ea6\u5c0f\u4e8e\u8be5\u503c\u5219\u9700\u8981\u901a\u8fc7 ",n.a.createElement("code",null,"listItemHeight")," \u5c5e\u6027\u8c03\u6574\uff0c\u800c ",n.a.createElement("code",null,"listHeight")," \u7528\u4e8e\u8bbe\u7f6e\u6eda\u52a8\u5bb9\u5668\u9ad8\u5ea6\uff1a"),n.a.createElement(m["a"],{code:"<Select listItemHeight={10} listHeight={250} />",lang:"bash"}),n.a.createElement("p",null,"\u6ce8\u610f\uff1a",n.a.createElement("code",null,"listItemHeight")," \u548c ",n.a.createElement("code",null,"listHeight")," \u4e3a\u5185\u90e8\u5c5e\u6027\uff0c\u5982\u65e0\u5fc5\u8981\uff0c\u8bf7\u52ff\u4fee\u6539\u8be5\u503c\u3002"),n.a.createElement("h3",{id:"\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931-aria--\u5c5e\u6027"},n.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931-aria--\u5c5e\u6027","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931 ",n.a.createElement("code",null,"aria-")," \u5c5e\u6027\uff1f"),n.a.createElement("p",null,"Select \u65e0\u969c\u788d\u8f85\u52a9\u5143\u7d20\u4ec5\u5728\u5f39\u7a97\u5c55\u5f00\u65f6\u521b\u5efa\uff0c\u56e0\u800c\u5f53\u4f60\u5728\u8fdb\u884c\u65e0\u969c\u788d\u68c0\u6d4b\u65f6\u8bf7\u5148\u6253\u5f00\u4e0b\u62c9\u540e\u518d\u8fdb\u884c\u6d4b\u8bd5\u3002\u5bf9\u4e8e ",n.a.createElement("code",null,"aria-label")," \u4e0e ",n.a.createElement("code",null,"aria-labelledby")," \u5c5e\u6027\u7f3a\u5931\u8b66\u544a\uff0c\u8bf7\u81ea\u884c\u4e3a Select \u7ec4\u4ef6\u6dfb\u52a0\u76f8\u5e94\u65e0\u969c\u788d\u5c5e\u6027\u3002"),n.a.createElement("style",{dangerouslySetInnerHTML:{__html:"\n.code-box-demo .ant-select {\n margin: 0 8px 10px 0;\n}\n\n.ant-row-rtl .code-box-demo .ant-select {\n margin: 0 0 10px 8px;\n}\n\n#components-select-demo-search-box .code-box-demo .ant-select {\n margin: 0;\n}\n"}})))))},MZF8:function(e,t,l){"use strict";var a=l("ogwx");l.d(t,"a",(function(){return a["b"]}));l("VCU9")},RZMt:function(e,t,l){},Zxc8:function(e,t,l){"use strict";l.r(t);var a=l("q1tI"),n=l.n(a),r=l("k3GJ"),c=l("MZF8"),m=l("dEAq"),u=l("H1Ra");l("RZMt");function d(e,t){return p(e)||s(e,t)||E(e,t)||o()}function o(){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 E(e,t){if(e){if("string"===typeof e)return i(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)?i(e,t):void 0}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var l=0,a=new Array(t);l<t;l++)a[l]=e[l];return a}function s(e,t){var l=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=l){var a,n,r=[],c=!0,m=!1;try{for(l=l.call(e);!(c=(a=l.next()).done);c=!0)if(r.push(a.value),t&&r.length===t)break}catch(u){m=!0,n=u}finally{try{c||null==l["return"]||l["return"]()}finally{if(m)throw n}}return r}}function p(e){if(Array.isArray(e))return e}function h(e,t){var l,a=null===(l=e.match(/\.(\w+)$/))||void 0===l?void 0:l[1];return a||(a=t.tsx?"tsx":"jsx"),a}var b=function(e){var t,l,o,E=Object(a["useRef"])(),i=Object(a["useContext"])(m["context"]),s=i.locale,p=Object(m["useLocaleProps"])(s,e),b=Object(m["useDemoUrl"])(p.identifier),f=p.demoUrl||b,k=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),v=1===Object.keys(p.sources).length,g=Object(m["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),N=Object(m["useRiddle"])((null===(l=p.hideActions)||void 0===l?void 0:l.includes("RIDDLE"))?null:p),w=Object(m["useMotions"])(p.motions||[],E.current),x=d(w,2),y=x[0],A=x[1],L=Object(m["useCopy"])(),I=d(L,2),_=I[0],S=I[1],O=Object(a["useState"])("_"),P=d(O,2),C=P[0],R=P[1],j=Object(a["useState"])(h(C,p.sources[C])),M=d(j,2),V=M[0],F=M[1],T=Object(a["useState"])(Boolean(p.defaultShowCode)),H=d(T,2),q=H[0],U=H[1],z=Object(a["useState"])(Math.random()),D=d(z,2),J=D[0],Z=D[1],B=p.sources[C][V]||p.sources[C].content,G=Object(m["useTSPlaygroundUrl"])(s,B),K=Object(a["useRef"])(),$=Object(m["usePrefersColor"])(),W=d($,1),X=W[0];function Q(e){R(e),F(h(e,p.sources[e]))}return Object(a["useEffect"])((function(){Z(Math.random())}),[X]),n.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",k?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:E,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?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:J,src:f,ref:K}):p.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&n.a.createElement(m["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},g&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:g}),N&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:N}),p.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:A,onClick:function(){return y()}}),p.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return Z(Math.random())}}),!(null===(o=p.hideActions)||void 0===o?void 0:o.includes("EXTERNAL"))&&n.a.createElement(m["Link"],{target:"_blank",to:f},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":S,onClick:function(){return _(B)}}),"tsx"===V&&q&&n.a.createElement(m["Link"],{target:"_blank",to:G},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(q?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return U(!q)}})),q&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!v&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:C,onChange:Q},Object.keys(p.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(h(e,p.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(u["a"],{code:B,lang:V,showCopy:!1}))))};t["default"]=b}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [52],
3
+ {
4
+ KiuW: function (e, t, l) {
5
+ 'use strict';
6
+ l.r(t);
7
+ var a = l('q1tI'),
8
+ n = l.n(a),
9
+ r = l('dEAq'),
10
+ c = l('Zxc8'),
11
+ m = l('H1Ra'),
12
+ u = l('JjdP'),
13
+ d = n.a.memo(u['default']['select-basic'].component),
14
+ o = n.a.memo(u['default']['select-search'].component),
15
+ E = n.a.memo(u['default']['select-multiple'].component),
16
+ i = n.a.memo(u['default']['select-size'].component),
17
+ s = n.a.memo(u['default']['select-option-label-prop'].component),
18
+ p = n.a.memo(u['default']['select-tags'].component),
19
+ h = n.a.memo(u['default']['select-search-sort'].component),
20
+ b = n.a.memo(u['default']['select-optgroup'].component),
21
+ f = n.a.memo(u['default']['select-coordinate'].component),
22
+ k = n.a.memo(u['default']['select-search-box'].component),
23
+ v = n.a.memo(u['default']['select-label-in-value'].component),
24
+ g = n.a.memo(u['default']['select-automatic-tokenization'].component),
25
+ N = n.a.memo(u['default']['select-select-users'].component),
26
+ w = n.a.memo(u['default']['select-custom-dropdown-menu'].component),
27
+ x = n.a.memo(u['default']['select-hide-selected'].component),
28
+ y = n.a.memo(u['default']['select-bordered'].component),
29
+ A = n.a.memo(u['default']['select-bordered'].component),
30
+ L = n.a.memo(u['default']['select-responsive'].component),
31
+ I = n.a.memo(u['default']['select-big-data'].component);
32
+ t['default'] = (e) => (
33
+ n.a.useEffect(() => {
34
+ var t;
35
+ null !== e &&
36
+ void 0 !== e &&
37
+ null !== (t = e.location) &&
38
+ void 0 !== t &&
39
+ t.hash &&
40
+ r['AnchorLink'].scrollToAnchor(
41
+ decodeURIComponent(e.location.hash.slice(1)),
42
+ );
43
+ }, []),
44
+ n.a.createElement(
45
+ n.a.Fragment,
46
+ null,
47
+ n.a.createElement(
48
+ n.a.Fragment,
49
+ null,
50
+ n.a.createElement(
51
+ 'div',
52
+ { className: 'markdown' },
53
+ n.a.createElement(
54
+ 'h1',
55
+ { id: 'select-\u9009\u62e9\u5668' },
56
+ n.a.createElement(
57
+ r['AnchorLink'],
58
+ {
59
+ to: '#select-\u9009\u62e9\u5668',
60
+ 'aria-hidden': 'true',
61
+ tabIndex: -1,
62
+ },
63
+ n.a.createElement('span', { className: 'icon icon-link' }),
64
+ ),
65
+ 'Select \u9009\u62e9\u5668',
66
+ ),
67
+ n.a.createElement(
68
+ 'p',
69
+ null,
70
+ '\u4e0b\u62c9\u9009\u62e9\u5668\u3002',
71
+ ),
72
+ n.a.createElement(
73
+ 'h2',
74
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
75
+ n.a.createElement(
76
+ r['AnchorLink'],
77
+ {
78
+ to: '#\u4f55\u65f6\u4f7f\u7528',
79
+ 'aria-hidden': 'true',
80
+ tabIndex: -1,
81
+ },
82
+ n.a.createElement('span', { className: 'icon icon-link' }),
83
+ ),
84
+ '\u4f55\u65f6\u4f7f\u7528',
85
+ ),
86
+ n.a.createElement(
87
+ 'ul',
88
+ null,
89
+ n.a.createElement(
90
+ 'li',
91
+ null,
92
+ '\u5f39\u51fa\u4e00\u4e2a\u4e0b\u62c9\u83dc\u5355\u7ed9\u7528\u6237\u9009\u62e9\u64cd\u4f5c\uff0c\u7528\u4e8e\u4ee3\u66ff\u539f\u751f\u7684\u9009\u62e9\u5668\uff0c\u6216\u8005\u9700\u8981\u4e00\u4e2a\u66f4\u4f18\u96c5\u7684\u591a\u9009\u5668\u65f6\u3002',
93
+ ),
94
+ n.a.createElement(
95
+ 'li',
96
+ null,
97
+ '\u5f53\u9009\u9879\u5c11\u65f6\uff08\u5c11\u4e8e 5 \u9879\uff09\uff0c\u5efa\u8bae\u76f4\u63a5\u5c06\u9009\u9879\u5e73\u94fa\uff0c\u4f7f\u7528 ',
98
+ n.a.createElement(
99
+ r['Link'],
100
+ { to: '/components/radio/' },
101
+ 'Radio',
102
+ ),
103
+ ' \u662f\u66f4\u597d\u7684\u9009\u62e9\u3002',
104
+ ),
105
+ ),
106
+ n.a.createElement(
107
+ 'h2',
108
+ { id: '\u4ee3\u7801\u6f14\u793a' },
109
+ n.a.createElement(
110
+ r['AnchorLink'],
111
+ {
112
+ to: '#\u4ee3\u7801\u6f14\u793a',
113
+ 'aria-hidden': 'true',
114
+ tabIndex: -1,
115
+ },
116
+ n.a.createElement('span', { className: 'icon icon-link' }),
117
+ ),
118
+ '\u4ee3\u7801\u6f14\u793a',
119
+ ),
120
+ n.a.createElement(
121
+ 'h3',
122
+ { id: '\u57fa\u672c\u4f7f\u7528' },
123
+ n.a.createElement(
124
+ r['AnchorLink'],
125
+ {
126
+ to: '#\u57fa\u672c\u4f7f\u7528',
127
+ 'aria-hidden': 'true',
128
+ tabIndex: -1,
129
+ },
130
+ n.a.createElement('span', { className: 'icon icon-link' }),
131
+ ),
132
+ '\u57fa\u672c\u4f7f\u7528',
133
+ ),
134
+ ),
135
+ n.a.createElement(
136
+ c['default'],
137
+ u['default']['select-basic'].previewerProps,
138
+ n.a.createElement(d, null),
139
+ ),
140
+ n.a.createElement(
141
+ 'div',
142
+ { className: 'markdown' },
143
+ n.a.createElement(
144
+ 'h3',
145
+ { id: '\u5e26\u641c\u7d22\u6846' },
146
+ n.a.createElement(
147
+ r['AnchorLink'],
148
+ {
149
+ to: '#\u5e26\u641c\u7d22\u6846',
150
+ 'aria-hidden': 'true',
151
+ tabIndex: -1,
152
+ },
153
+ n.a.createElement('span', { className: 'icon icon-link' }),
154
+ ),
155
+ '\u5e26\u641c\u7d22\u6846',
156
+ ),
157
+ ),
158
+ n.a.createElement(
159
+ c['default'],
160
+ u['default']['select-search'].previewerProps,
161
+ n.a.createElement(o, null),
162
+ ),
163
+ n.a.createElement(
164
+ 'div',
165
+ { className: 'markdown' },
166
+ n.a.createElement(
167
+ 'h3',
168
+ { id: '\u591a\u9009' },
169
+ n.a.createElement(
170
+ r['AnchorLink'],
171
+ { to: '#\u591a\u9009', 'aria-hidden': 'true', tabIndex: -1 },
172
+ n.a.createElement('span', { className: 'icon icon-link' }),
173
+ ),
174
+ '\u591a\u9009',
175
+ ),
176
+ ),
177
+ n.a.createElement(
178
+ c['default'],
179
+ u['default']['select-multiple'].previewerProps,
180
+ n.a.createElement(E, null),
181
+ ),
182
+ n.a.createElement(
183
+ 'div',
184
+ { className: 'markdown' },
185
+ n.a.createElement(
186
+ 'h3',
187
+ { id: '\u4e09\u79cd\u5927\u5c0f' },
188
+ n.a.createElement(
189
+ r['AnchorLink'],
190
+ {
191
+ to: '#\u4e09\u79cd\u5927\u5c0f',
192
+ 'aria-hidden': 'true',
193
+ tabIndex: -1,
194
+ },
195
+ n.a.createElement('span', { className: 'icon icon-link' }),
196
+ ),
197
+ '\u4e09\u79cd\u5927\u5c0f',
198
+ ),
199
+ ),
200
+ n.a.createElement(
201
+ c['default'],
202
+ u['default']['select-size'].previewerProps,
203
+ n.a.createElement(i, null),
204
+ ),
205
+ n.a.createElement(
206
+ 'div',
207
+ { className: 'markdown' },
208
+ n.a.createElement(
209
+ 'h3',
210
+ { id: '\u6807\u7b7e' },
211
+ n.a.createElement(
212
+ r['AnchorLink'],
213
+ { to: '#\u6807\u7b7e', 'aria-hidden': 'true', tabIndex: -1 },
214
+ n.a.createElement('span', { className: 'icon icon-link' }),
215
+ ),
216
+ '\u6807\u7b7e',
217
+ ),
218
+ ),
219
+ n.a.createElement(
220
+ c['default'],
221
+ u['default']['select-option-label-prop'].previewerProps,
222
+ n.a.createElement(s, null),
223
+ ),
224
+ n.a.createElement(
225
+ 'div',
226
+ { className: 'markdown' },
227
+ n.a.createElement(
228
+ 'h3',
229
+ { id: '\u5b9a\u5236\u56de\u586b\u5185\u5bb9' },
230
+ n.a.createElement(
231
+ r['AnchorLink'],
232
+ {
233
+ to: '#\u5b9a\u5236\u56de\u586b\u5185\u5bb9',
234
+ 'aria-hidden': 'true',
235
+ tabIndex: -1,
236
+ },
237
+ n.a.createElement('span', { className: 'icon icon-link' }),
238
+ ),
239
+ '\u5b9a\u5236\u56de\u586b\u5185\u5bb9',
240
+ ),
241
+ ),
242
+ n.a.createElement(
243
+ c['default'],
244
+ u['default']['select-tags'].previewerProps,
245
+ n.a.createElement(p, null),
246
+ ),
247
+ n.a.createElement(
248
+ 'div',
249
+ { className: 'markdown' },
250
+ n.a.createElement(
251
+ 'h3',
252
+ { id: '\u5e26\u6392\u5e8f\u7684\u641c\u7d22' },
253
+ n.a.createElement(
254
+ r['AnchorLink'],
255
+ {
256
+ to: '#\u5e26\u6392\u5e8f\u7684\u641c\u7d22',
257
+ 'aria-hidden': 'true',
258
+ tabIndex: -1,
259
+ },
260
+ n.a.createElement('span', { className: 'icon icon-link' }),
261
+ ),
262
+ '\u5e26\u6392\u5e8f\u7684\u641c\u7d22',
263
+ ),
264
+ ),
265
+ n.a.createElement(
266
+ c['default'],
267
+ u['default']['select-search-sort'].previewerProps,
268
+ n.a.createElement(h, null),
269
+ ),
270
+ n.a.createElement(
271
+ 'div',
272
+ { className: 'markdown' },
273
+ n.a.createElement(
274
+ 'h3',
275
+ { id: '\u5206\u7ec4' },
276
+ n.a.createElement(
277
+ r['AnchorLink'],
278
+ { to: '#\u5206\u7ec4', 'aria-hidden': 'true', tabIndex: -1 },
279
+ n.a.createElement('span', { className: 'icon icon-link' }),
280
+ ),
281
+ '\u5206\u7ec4',
282
+ ),
283
+ ),
284
+ n.a.createElement(
285
+ c['default'],
286
+ u['default']['select-optgroup'].previewerProps,
287
+ n.a.createElement(b, null),
288
+ ),
289
+ n.a.createElement(
290
+ 'div',
291
+ { className: 'markdown' },
292
+ n.a.createElement(
293
+ 'h3',
294
+ { id: '\u8054\u52a8' },
295
+ n.a.createElement(
296
+ r['AnchorLink'],
297
+ { to: '#\u8054\u52a8', 'aria-hidden': 'true', tabIndex: -1 },
298
+ n.a.createElement('span', { className: 'icon icon-link' }),
299
+ ),
300
+ '\u8054\u52a8',
301
+ ),
302
+ ),
303
+ n.a.createElement(
304
+ c['default'],
305
+ u['default']['select-coordinate'].previewerProps,
306
+ n.a.createElement(f, null),
307
+ ),
308
+ n.a.createElement(
309
+ 'div',
310
+ { className: 'markdown' },
311
+ n.a.createElement(
312
+ 'h3',
313
+ {
314
+ id: '\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408',
315
+ },
316
+ n.a.createElement(
317
+ r['AnchorLink'],
318
+ {
319
+ to: '#\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408',
320
+ 'aria-hidden': 'true',
321
+ tabIndex: -1,
322
+ },
323
+ n.a.createElement('span', { className: 'icon icon-link' }),
324
+ ),
325
+ '\u641c\u7d22\u548c\u8fdc\u7a0b\u6570\u636e\u7ed3\u5408\u3002',
326
+ ),
327
+ ),
328
+ n.a.createElement(
329
+ c['default'],
330
+ u['default']['select-search-box'].previewerProps,
331
+ n.a.createElement(k, null),
332
+ ),
333
+ n.a.createElement(
334
+ 'div',
335
+ { className: 'markdown' },
336
+ n.a.createElement(
337
+ 'h3',
338
+ { id: '\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c' },
339
+ n.a.createElement(
340
+ r['AnchorLink'],
341
+ {
342
+ to: '#\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c',
343
+ 'aria-hidden': 'true',
344
+ tabIndex: -1,
345
+ },
346
+ n.a.createElement('span', { className: 'icon icon-link' }),
347
+ ),
348
+ '\u83b7\u5f97\u9009\u9879\u7684\u6587\u672c',
349
+ ),
350
+ ),
351
+ n.a.createElement(
352
+ c['default'],
353
+ u['default']['select-label-in-value'].previewerProps,
354
+ n.a.createElement(v, null),
355
+ ),
356
+ n.a.createElement(
357
+ 'div',
358
+ { className: 'markdown' },
359
+ n.a.createElement(
360
+ 'h3',
361
+ { id: '\u81ea\u52a8\u5206\u8bcd' },
362
+ n.a.createElement(
363
+ r['AnchorLink'],
364
+ {
365
+ to: '#\u81ea\u52a8\u5206\u8bcd',
366
+ 'aria-hidden': 'true',
367
+ tabIndex: -1,
368
+ },
369
+ n.a.createElement('span', { className: 'icon icon-link' }),
370
+ ),
371
+ '\u81ea\u52a8\u5206\u8bcd',
372
+ ),
373
+ ),
374
+ n.a.createElement(
375
+ c['default'],
376
+ u['default']['select-automatic-tokenization'].previewerProps,
377
+ n.a.createElement(g, null),
378
+ ),
379
+ n.a.createElement(
380
+ 'div',
381
+ { className: 'markdown' },
382
+ n.a.createElement(
383
+ 'h3',
384
+ { id: '\u641c\u7d22\u7528\u6237' },
385
+ n.a.createElement(
386
+ r['AnchorLink'],
387
+ {
388
+ to: '#\u641c\u7d22\u7528\u6237',
389
+ 'aria-hidden': 'true',
390
+ tabIndex: -1,
391
+ },
392
+ n.a.createElement('span', { className: 'icon icon-link' }),
393
+ ),
394
+ '\u641c\u7d22\u7528\u6237',
395
+ ),
396
+ ),
397
+ n.a.createElement(
398
+ c['default'],
399
+ u['default']['select-select-users'].previewerProps,
400
+ n.a.createElement(N, null),
401
+ ),
402
+ n.a.createElement(
403
+ 'div',
404
+ { className: 'markdown' },
405
+ n.a.createElement(
406
+ 'h3',
407
+ { id: '\u6269\u5c55\u83dc\u5355' },
408
+ n.a.createElement(
409
+ r['AnchorLink'],
410
+ {
411
+ to: '#\u6269\u5c55\u83dc\u5355',
412
+ 'aria-hidden': 'true',
413
+ tabIndex: -1,
414
+ },
415
+ n.a.createElement('span', { className: 'icon icon-link' }),
416
+ ),
417
+ '\u6269\u5c55\u83dc\u5355',
418
+ ),
419
+ ),
420
+ n.a.createElement(
421
+ c['default'],
422
+ u['default']['select-custom-dropdown-menu'].previewerProps,
423
+ n.a.createElement(w, null),
424
+ ),
425
+ n.a.createElement(
426
+ 'div',
427
+ { className: 'markdown' },
428
+ n.a.createElement(
429
+ 'h3',
430
+ { id: '\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879' },
431
+ n.a.createElement(
432
+ r['AnchorLink'],
433
+ {
434
+ to: '#\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879',
435
+ 'aria-hidden': 'true',
436
+ tabIndex: -1,
437
+ },
438
+ n.a.createElement('span', { className: 'icon icon-link' }),
439
+ ),
440
+ '\u9690\u85cf\u5df2\u9009\u62e9\u9009\u9879',
441
+ ),
442
+ ),
443
+ n.a.createElement(
444
+ c['default'],
445
+ u['default']['select-hide-selected'].previewerProps,
446
+ n.a.createElement(x, null),
447
+ ),
448
+ n.a.createElement(
449
+ 'div',
450
+ { className: 'markdown' },
451
+ n.a.createElement(
452
+ 'h3',
453
+ { id: '\u65e0\u8fb9\u6846' },
454
+ n.a.createElement(
455
+ r['AnchorLink'],
456
+ {
457
+ to: '#\u65e0\u8fb9\u6846',
458
+ 'aria-hidden': 'true',
459
+ tabIndex: -1,
460
+ },
461
+ n.a.createElement('span', { className: 'icon icon-link' }),
462
+ ),
463
+ '\u65e0\u8fb9\u6846',
464
+ ),
465
+ ),
466
+ n.a.createElement(
467
+ c['default'],
468
+ u['default']['select-bordered'].previewerProps,
469
+ n.a.createElement(y, null),
470
+ ),
471
+ n.a.createElement(
472
+ 'div',
473
+ { className: 'markdown' },
474
+ n.a.createElement(
475
+ 'h3',
476
+ { id: '\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e' },
477
+ n.a.createElement(
478
+ r['AnchorLink'],
479
+ {
480
+ to: '#\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e',
481
+ 'aria-hidden': 'true',
482
+ tabIndex: -1,
483
+ },
484
+ n.a.createElement('span', { className: 'icon icon-link' }),
485
+ ),
486
+ '\u81ea\u5b9a\u4e49\u9009\u62e9\u6807\u7b7e',
487
+ ),
488
+ ),
489
+ n.a.createElement(
490
+ c['default'],
491
+ u['default']['select-bordered'].previewerProps,
492
+ n.a.createElement(A, null),
493
+ ),
494
+ n.a.createElement(
495
+ 'div',
496
+ { className: 'markdown' },
497
+ n.a.createElement(
498
+ 'h3',
499
+ { id: '\u54cd\u5e94\u5f0f-maxtagcount' },
500
+ n.a.createElement(
501
+ r['AnchorLink'],
502
+ {
503
+ to: '#\u54cd\u5e94\u5f0f-maxtagcount',
504
+ 'aria-hidden': 'true',
505
+ tabIndex: -1,
506
+ },
507
+ n.a.createElement('span', { className: 'icon icon-link' }),
508
+ ),
509
+ '\u54cd\u5e94\u5f0f maxTagCount',
510
+ ),
511
+ ),
512
+ n.a.createElement(
513
+ c['default'],
514
+ u['default']['select-responsive'].previewerProps,
515
+ n.a.createElement(L, null),
516
+ ),
517
+ n.a.createElement(
518
+ 'div',
519
+ { className: 'markdown' },
520
+ n.a.createElement(
521
+ 'h3',
522
+ { id: '\u5927\u6570\u636e' },
523
+ n.a.createElement(
524
+ r['AnchorLink'],
525
+ {
526
+ to: '#\u5927\u6570\u636e',
527
+ 'aria-hidden': 'true',
528
+ tabIndex: -1,
529
+ },
530
+ n.a.createElement('span', { className: 'icon icon-link' }),
531
+ ),
532
+ '\u5927\u6570\u636e',
533
+ ),
534
+ ),
535
+ n.a.createElement(
536
+ c['default'],
537
+ u['default']['select-big-data'].previewerProps,
538
+ n.a.createElement(I, null),
539
+ ),
540
+ n.a.createElement(
541
+ 'div',
542
+ { className: 'markdown' },
543
+ n.a.createElement(
544
+ 'h2',
545
+ { id: 'api' },
546
+ n.a.createElement(
547
+ r['AnchorLink'],
548
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
549
+ n.a.createElement('span', { className: 'icon icon-link' }),
550
+ ),
551
+ 'API',
552
+ ),
553
+ n.a.createElement(m['a'], {
554
+ code: '<Select>\n <Option value="lucy">lucy</Option>\n</Select>',
555
+ lang: 'bash',
556
+ }),
557
+ n.a.createElement(
558
+ 'h3',
559
+ { id: 'select-props' },
560
+ n.a.createElement(
561
+ r['AnchorLink'],
562
+ { to: '#select-props', 'aria-hidden': 'true', tabIndex: -1 },
563
+ n.a.createElement('span', { className: 'icon icon-link' }),
564
+ ),
565
+ 'Select props',
566
+ ),
567
+ n.a.createElement(
568
+ 'table',
569
+ null,
570
+ n.a.createElement(
571
+ 'thead',
572
+ null,
573
+ n.a.createElement(
574
+ 'tr',
575
+ null,
576
+ n.a.createElement('th', null, '\u53c2\u6570'),
577
+ n.a.createElement('th', null, '\u8bf4\u660e'),
578
+ n.a.createElement('th', null, '\u7c7b\u578b'),
579
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
580
+ n.a.createElement('th', null, '\u7248\u672c'),
581
+ ),
582
+ ),
583
+ n.a.createElement(
584
+ 'tbody',
585
+ null,
586
+ n.a.createElement(
587
+ 'tr',
588
+ null,
589
+ n.a.createElement('td', null, 'allowClear'),
590
+ n.a.createElement('td', null, '\u652f\u6301\u6e05\u9664'),
591
+ n.a.createElement('td', null, 'boolean'),
592
+ n.a.createElement('td', null, 'false'),
593
+ n.a.createElement('td', null),
594
+ ),
595
+ n.a.createElement(
596
+ 'tr',
597
+ null,
598
+ n.a.createElement('td', null, 'autoClearSearchValue'),
599
+ n.a.createElement(
600
+ 'td',
601
+ null,
602
+ '\u662f\u5426\u5728\u9009\u4e2d\u9879\u540e\u6e05\u7a7a\u641c\u7d22\u6846\uff0c\u53ea\u5728 ',
603
+ n.a.createElement('code', null, 'mode'),
604
+ ' \u4e3a ',
605
+ n.a.createElement('code', null, 'multiple'),
606
+ ' \u6216 ',
607
+ n.a.createElement('code', null, 'tags'),
608
+ ' \u65f6\u6709\u6548',
609
+ ),
610
+ n.a.createElement('td', null, 'boolean'),
611
+ n.a.createElement('td', null, 'true'),
612
+ n.a.createElement('td', null),
613
+ ),
614
+ n.a.createElement(
615
+ 'tr',
616
+ null,
617
+ n.a.createElement('td', null, 'autoFocus'),
618
+ n.a.createElement(
619
+ 'td',
620
+ null,
621
+ '\u9ed8\u8ba4\u83b7\u53d6\u7126\u70b9',
622
+ ),
623
+ n.a.createElement('td', null, 'boolean'),
624
+ n.a.createElement('td', null, 'false'),
625
+ n.a.createElement('td', null),
626
+ ),
627
+ n.a.createElement(
628
+ 'tr',
629
+ null,
630
+ n.a.createElement('td', null, 'bordered'),
631
+ n.a.createElement(
632
+ 'td',
633
+ null,
634
+ '\u662f\u5426\u6709\u8fb9\u6846',
635
+ ),
636
+ n.a.createElement('td', null, 'boolean'),
637
+ n.a.createElement('td', null, 'true'),
638
+ n.a.createElement('td', null),
639
+ ),
640
+ n.a.createElement(
641
+ 'tr',
642
+ null,
643
+ n.a.createElement('td', null, 'clearIcon'),
644
+ n.a.createElement(
645
+ 'td',
646
+ null,
647
+ '\u81ea\u5b9a\u4e49\u7684\u591a\u9009\u6846\u6e05\u7a7a\u56fe\u6807',
648
+ ),
649
+ n.a.createElement('td', null, 'ReactNode'),
650
+ n.a.createElement('td', null, '-'),
651
+ n.a.createElement('td', null),
652
+ ),
653
+ n.a.createElement(
654
+ 'tr',
655
+ null,
656
+ n.a.createElement('td', null, 'defaultActiveFirstOption'),
657
+ n.a.createElement(
658
+ 'td',
659
+ null,
660
+ '\u662f\u5426\u9ed8\u8ba4\u9ad8\u4eae\u7b2c\u4e00\u4e2a\u9009\u9879',
661
+ ),
662
+ n.a.createElement('td', null, 'boolean'),
663
+ n.a.createElement('td', null, 'true'),
664
+ n.a.createElement('td', null),
665
+ ),
666
+ n.a.createElement(
667
+ 'tr',
668
+ null,
669
+ n.a.createElement('td', null, 'defaultOpen'),
670
+ n.a.createElement(
671
+ 'td',
672
+ null,
673
+ '\u662f\u5426\u9ed8\u8ba4\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355',
674
+ ),
675
+ n.a.createElement('td', null, 'boolean'),
676
+ n.a.createElement('td', null, '-'),
677
+ n.a.createElement('td', null),
678
+ ),
679
+ n.a.createElement(
680
+ 'tr',
681
+ null,
682
+ n.a.createElement('td', null, 'defaultValue'),
683
+ n.a.createElement(
684
+ 'td',
685
+ null,
686
+ '\u6307\u5b9a\u9ed8\u8ba4\u9009\u4e2d\u7684\u6761\u76ee',
687
+ ),
688
+ n.a.createElement(
689
+ 'td',
690
+ null,
691
+ 'string | string[]',
692
+ n.a.createElement('br', null),
693
+ 'number | number[]',
694
+ n.a.createElement('br', null),
695
+ 'LabeledValue | LabeledValue[]',
696
+ ),
697
+ n.a.createElement('td', null, '-'),
698
+ n.a.createElement('td', null),
699
+ ),
700
+ n.a.createElement(
701
+ 'tr',
702
+ null,
703
+ n.a.createElement('td', null, 'disabled'),
704
+ n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
705
+ n.a.createElement('td', null, 'boolean'),
706
+ n.a.createElement('td', null, 'false'),
707
+ n.a.createElement('td', null),
708
+ ),
709
+ n.a.createElement(
710
+ 'tr',
711
+ null,
712
+ n.a.createElement('td', null, 'dropdownClassName'),
713
+ n.a.createElement(
714
+ 'td',
715
+ null,
716
+ '\u4e0b\u62c9\u83dc\u5355\u7684 className \u5c5e\u6027',
717
+ ),
718
+ n.a.createElement('td', null, 'string'),
719
+ n.a.createElement('td', null, '-'),
720
+ n.a.createElement('td', null),
721
+ ),
722
+ n.a.createElement(
723
+ 'tr',
724
+ null,
725
+ n.a.createElement('td', null, 'dropdownMatchSelectWidth'),
726
+ n.a.createElement(
727
+ 'td',
728
+ null,
729
+ '\u4e0b\u62c9\u83dc\u5355\u548c\u9009\u62e9\u5668\u540c\u5bbd\u3002\u9ed8\u8ba4\u5c06\u8bbe\u7f6e ',
730
+ n.a.createElement('code', null, 'min-width'),
731
+ '\uff0c\u5f53\u503c\u5c0f\u4e8e\u9009\u62e9\u6846\u5bbd\u5ea6\u65f6\u4f1a\u88ab\u5ffd\u7565\u3002false \u65f6\u4f1a\u5173\u95ed\u865a\u62df\u6eda\u52a8',
732
+ ),
733
+ n.a.createElement('td', null, 'boolean | number'),
734
+ n.a.createElement('td', null, 'true'),
735
+ n.a.createElement('td', null),
736
+ ),
737
+ n.a.createElement(
738
+ 'tr',
739
+ null,
740
+ n.a.createElement('td', null, 'dropdownRender'),
741
+ n.a.createElement(
742
+ 'td',
743
+ null,
744
+ '\u81ea\u5b9a\u4e49\u4e0b\u62c9\u6846\u5185\u5bb9',
745
+ ),
746
+ n.a.createElement(
747
+ 'td',
748
+ null,
749
+ '(originNode: ReactNode) => ReactNode',
750
+ ),
751
+ n.a.createElement('td', null, '-'),
752
+ n.a.createElement('td', null),
753
+ ),
754
+ n.a.createElement(
755
+ 'tr',
756
+ null,
757
+ n.a.createElement('td', null, 'dropdownStyle'),
758
+ n.a.createElement(
759
+ 'td',
760
+ null,
761
+ '\u4e0b\u62c9\u83dc\u5355\u7684 style \u5c5e\u6027',
762
+ ),
763
+ n.a.createElement('td', null, 'CSSProperties'),
764
+ n.a.createElement('td', null, '-'),
765
+ n.a.createElement('td', null),
766
+ ),
767
+ n.a.createElement(
768
+ 'tr',
769
+ null,
770
+ n.a.createElement('td', null, 'filterOption'),
771
+ n.a.createElement(
772
+ 'td',
773
+ null,
774
+ '\u662f\u5426\u6839\u636e\u8f93\u5165\u9879\u8fdb\u884c\u7b5b\u9009\u3002\u5f53\u5176\u4e3a\u4e00\u4e2a\u51fd\u6570\u65f6\uff0c\u4f1a\u63a5\u6536 ',
775
+ n.a.createElement('code', null, 'inputValue'),
776
+ ' ',
777
+ n.a.createElement('code', null, 'option'),
778
+ ' \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ',
779
+ n.a.createElement('code', null, 'option'),
780
+ ' \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de true\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de false',
781
+ ),
782
+ n.a.createElement(
783
+ 'td',
784
+ null,
785
+ 'boolean | function(inputValue, option)',
786
+ ),
787
+ n.a.createElement('td', null, 'true'),
788
+ n.a.createElement('td', null),
789
+ ),
790
+ n.a.createElement(
791
+ 'tr',
792
+ null,
793
+ n.a.createElement('td', null, 'filterSort'),
794
+ n.a.createElement(
795
+ 'td',
796
+ null,
797
+ '\u641c\u7d22\u65f6\u5bf9\u7b5b\u9009\u7ed3\u679c\u9879\u7684\u6392\u5e8f\u51fd\u6570, \u7c7b\u4f3c',
798
+ n.a.createElement(
799
+ r['Link'],
800
+ {
801
+ to: 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort',
802
+ },
803
+ 'Array.sort',
804
+ ),
805
+ '\u91cc\u7684 compareFunction',
806
+ ),
807
+ n.a.createElement(
808
+ 'td',
809
+ null,
810
+ '(optionA: Option, optionB: Option) => number',
811
+ ),
812
+ n.a.createElement('td', null, '-'),
813
+ n.a.createElement('td', null, '4.9.0'),
814
+ ),
815
+ n.a.createElement(
816
+ 'tr',
817
+ null,
818
+ n.a.createElement('td', null, 'getPopupContainer'),
819
+ n.a.createElement(
820
+ 'td',
821
+ null,
822
+ '\u83dc\u5355\u6e32\u67d3\u7236\u8282\u70b9\u3002\u9ed8\u8ba4\u6e32\u67d3\u5230 body \u4e0a\uff0c\u5982\u679c\u4f60\u9047\u5230\u83dc\u5355\u6eda\u52a8\u5b9a\u4f4d\u95ee\u9898\uff0c\u8bd5\u8bd5\u4fee\u6539\u4e3a\u6eda\u52a8\u7684\u533a\u57df\uff0c\u5e76\u76f8\u5bf9\u5176\u5b9a\u4f4d\u3002',
823
+ n.a.createElement(
824
+ r['Link'],
825
+ { to: 'https://codesandbox.io/s/4j168r7jw0' },
826
+ '\u793a\u4f8b',
827
+ ),
828
+ ),
829
+ n.a.createElement('td', null, 'function(triggerNode)'),
830
+ n.a.createElement('td', null, '() => document.body'),
831
+ n.a.createElement('td', null),
832
+ ),
833
+ n.a.createElement(
834
+ 'tr',
835
+ null,
836
+ n.a.createElement('td', null, 'labelInValue'),
837
+ n.a.createElement(
838
+ 'td',
839
+ null,
840
+ '\u662f\u5426\u628a\u6bcf\u4e2a\u9009\u9879\u7684 label \u5305\u88c5\u5230 value \u4e2d\uff0c\u4f1a\u628a Select \u7684 value \u7c7b\u578b\u4ece ',
841
+ n.a.createElement('code', null, 'string'),
842
+ ' \u53d8\u4e3a ',
843
+ '{',
844
+ ' value: string, label: ReactNode ',
845
+ '}',
846
+ ' \u7684\u683c\u5f0f',
847
+ ),
848
+ n.a.createElement('td', null, 'boolean'),
849
+ n.a.createElement('td', null, 'false'),
850
+ n.a.createElement('td', null),
851
+ ),
852
+ n.a.createElement(
853
+ 'tr',
854
+ null,
855
+ n.a.createElement('td', null, 'listHeight'),
856
+ n.a.createElement(
857
+ 'td',
858
+ null,
859
+ '\u8bbe\u7f6e\u5f39\u7a97\u6eda\u52a8\u9ad8\u5ea6',
860
+ ),
861
+ n.a.createElement('td', null, 'number'),
862
+ n.a.createElement('td', null, '256'),
863
+ n.a.createElement('td', null),
864
+ ),
865
+ n.a.createElement(
866
+ 'tr',
867
+ null,
868
+ n.a.createElement('td', null, 'loading'),
869
+ n.a.createElement(
870
+ 'td',
871
+ null,
872
+ '\u52a0\u8f7d\u4e2d\u72b6\u6001',
873
+ ),
874
+ n.a.createElement('td', null, 'boolean'),
875
+ n.a.createElement('td', null, 'false'),
876
+ n.a.createElement('td', null),
877
+ ),
878
+ n.a.createElement(
879
+ 'tr',
880
+ null,
881
+ n.a.createElement('td', null, 'maxTagCount'),
882
+ n.a.createElement(
883
+ 'td',
884
+ null,
885
+ '\u6700\u591a\u663e\u793a\u591a\u5c11\u4e2a tag\uff0c\u54cd\u5e94\u5f0f\u6a21\u5f0f\u4f1a\u5bf9\u6027\u80fd\u4ea7\u751f\u635f\u8017',
886
+ ),
887
+ n.a.createElement(
888
+ 'td',
889
+ null,
890
+ 'number | ',
891
+ n.a.createElement('code', null, 'responsive'),
892
+ ),
893
+ n.a.createElement('td', null, '-'),
894
+ n.a.createElement('td', null, 'responsive: 4.10'),
895
+ ),
896
+ n.a.createElement(
897
+ 'tr',
898
+ null,
899
+ n.a.createElement('td', null, 'maxTagPlaceholder'),
900
+ n.a.createElement(
901
+ 'td',
902
+ null,
903
+ '\u9690\u85cf tag \u65f6\u663e\u793a\u7684\u5185\u5bb9',
904
+ ),
905
+ n.a.createElement(
906
+ 'td',
907
+ null,
908
+ 'ReactNode | function(omittedValues)',
909
+ ),
910
+ n.a.createElement('td', null, '-'),
911
+ n.a.createElement('td', null),
912
+ ),
913
+ n.a.createElement(
914
+ 'tr',
915
+ null,
916
+ n.a.createElement('td', null, 'maxTagTextLength'),
917
+ n.a.createElement(
918
+ 'td',
919
+ null,
920
+ '\u6700\u5927\u663e\u793a\u7684 tag \u6587\u672c\u957f\u5ea6',
921
+ ),
922
+ n.a.createElement('td', null, 'number'),
923
+ n.a.createElement('td', null, '-'),
924
+ n.a.createElement('td', null),
925
+ ),
926
+ n.a.createElement(
927
+ 'tr',
928
+ null,
929
+ n.a.createElement('td', null, 'menuItemSelectedIcon'),
930
+ n.a.createElement(
931
+ 'td',
932
+ null,
933
+ '\u81ea\u5b9a\u4e49\u591a\u9009\u65f6\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee\u56fe\u6807',
934
+ ),
935
+ n.a.createElement('td', null, 'ReactNode'),
936
+ n.a.createElement('td', null, '-'),
937
+ n.a.createElement('td', null),
938
+ ),
939
+ n.a.createElement(
940
+ 'tr',
941
+ null,
942
+ n.a.createElement('td', null, 'mode'),
943
+ n.a.createElement(
944
+ 'td',
945
+ null,
946
+ '\u8bbe\u7f6e Select \u7684\u6a21\u5f0f\u4e3a\u591a\u9009\u6216\u6807\u7b7e',
947
+ ),
948
+ n.a.createElement(
949
+ 'td',
950
+ null,
951
+ n.a.createElement('code', null, 'multiple'),
952
+ ' | ',
953
+ n.a.createElement('code', null, 'tags'),
954
+ ),
955
+ n.a.createElement('td', null, '-'),
956
+ n.a.createElement('td', null),
957
+ ),
958
+ n.a.createElement(
959
+ 'tr',
960
+ null,
961
+ n.a.createElement('td', null, 'notFoundContent'),
962
+ n.a.createElement(
963
+ 'td',
964
+ null,
965
+ '\u5f53\u4e0b\u62c9\u5217\u8868\u4e3a\u7a7a\u65f6\u663e\u793a\u7684\u5185\u5bb9',
966
+ ),
967
+ n.a.createElement('td', null, 'ReactNode'),
968
+ n.a.createElement(
969
+ 'td',
970
+ null,
971
+ n.a.createElement('code', null, 'Not Found'),
972
+ ),
973
+ n.a.createElement('td', null),
974
+ ),
975
+ n.a.createElement(
976
+ 'tr',
977
+ null,
978
+ n.a.createElement('td', null, 'open'),
979
+ n.a.createElement(
980
+ 'td',
981
+ null,
982
+ '\u662f\u5426\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355',
983
+ ),
984
+ n.a.createElement('td', null, 'boolean'),
985
+ n.a.createElement('td', null, '-'),
986
+ n.a.createElement('td', null),
987
+ ),
988
+ n.a.createElement(
989
+ 'tr',
990
+ null,
991
+ n.a.createElement('td', null, 'optionFilterProp'),
992
+ n.a.createElement(
993
+ 'td',
994
+ null,
995
+ '\u641c\u7d22\u65f6\u8fc7\u6ee4\u5bf9\u5e94\u7684 ',
996
+ n.a.createElement('code', null, 'option'),
997
+ ' \u5c5e\u6027\uff0c\u5982\u8bbe\u7f6e\u4e3a ',
998
+ n.a.createElement('code', null, 'children'),
999
+ ' \u8868\u793a\u5bf9\u5185\u5d4c\u5185\u5bb9\u8fdb\u884c\u641c\u7d22\u3002\u82e5\u901a\u8fc7 ',
1000
+ n.a.createElement('code', null, 'options'),
1001
+ ' \u5c5e\u6027\u914d\u7f6e\u9009\u9879\u5185\u5bb9\uff0c\u5efa\u8bae\u8bbe\u7f6e ',
1002
+ n.a.createElement(
1003
+ 'code',
1004
+ null,
1005
+ 'optionFilterProp="label"',
1006
+ ),
1007
+ ' \u6765\u5bf9\u5185\u5bb9\u8fdb\u884c\u641c\u7d22\u3002',
1008
+ ),
1009
+ n.a.createElement('td', null, 'string'),
1010
+ n.a.createElement(
1011
+ 'td',
1012
+ null,
1013
+ n.a.createElement('code', null, 'value'),
1014
+ ),
1015
+ n.a.createElement('td', null),
1016
+ ),
1017
+ n.a.createElement(
1018
+ 'tr',
1019
+ null,
1020
+ n.a.createElement('td', null, 'optionLabelProp'),
1021
+ n.a.createElement(
1022
+ 'td',
1023
+ null,
1024
+ '\u56de\u586b\u5230\u9009\u62e9\u6846\u7684 Option \u7684\u5c5e\u6027\u503c\uff0c\u9ed8\u8ba4\u662f Option \u7684\u5b50\u5143\u7d20\u3002\u6bd4\u5982\u5728\u5b50\u5143\u7d20\u9700\u8981\u9ad8\u4eae\u6548\u679c\u65f6\uff0c\u6b64\u503c\u53ef\u4ee5\u8bbe\u4e3a ',
1025
+ n.a.createElement('code', null, 'value'),
1026
+ '\u3002',
1027
+ n.a.createElement(
1028
+ r['Link'],
1029
+ {
1030
+ to: 'https://codesandbox.io/s/antd-reproduction-template-tk678',
1031
+ },
1032
+ '\u793a\u4f8b',
1033
+ ),
1034
+ ),
1035
+ n.a.createElement('td', null, 'string'),
1036
+ n.a.createElement(
1037
+ 'td',
1038
+ null,
1039
+ n.a.createElement('code', null, 'children'),
1040
+ ),
1041
+ n.a.createElement('td', null),
1042
+ ),
1043
+ n.a.createElement(
1044
+ 'tr',
1045
+ null,
1046
+ n.a.createElement('td', null, 'options'),
1047
+ n.a.createElement(
1048
+ 'td',
1049
+ null,
1050
+ '\u6570\u636e\u5316\u914d\u7f6e\u9009\u9879\u5185\u5bb9\uff0c\u76f8\u6bd4 jsx \u5b9a\u4e49\u4f1a\u83b7\u5f97\u66f4\u597d\u7684\u6e32\u67d3\u6027\u80fd',
1051
+ ),
1052
+ n.a.createElement(
1053
+ 'td',
1054
+ null,
1055
+ '{',
1056
+ ' label, value ',
1057
+ '}',
1058
+ '[]',
1059
+ ),
1060
+ n.a.createElement('td', null, '-'),
1061
+ n.a.createElement('td', null),
1062
+ ),
1063
+ n.a.createElement(
1064
+ 'tr',
1065
+ null,
1066
+ n.a.createElement('td', null, 'placeholder'),
1067
+ n.a.createElement(
1068
+ 'td',
1069
+ null,
1070
+ '\u9009\u62e9\u6846\u9ed8\u8ba4\u6587\u672c',
1071
+ ),
1072
+ n.a.createElement('td', null, 'string'),
1073
+ n.a.createElement('td', null, '-'),
1074
+ n.a.createElement('td', null),
1075
+ ),
1076
+ n.a.createElement(
1077
+ 'tr',
1078
+ null,
1079
+ n.a.createElement('td', null, 'removeIcon'),
1080
+ n.a.createElement(
1081
+ 'td',
1082
+ null,
1083
+ '\u81ea\u5b9a\u4e49\u7684\u591a\u9009\u6846\u6e05\u9664\u56fe\u6807',
1084
+ ),
1085
+ n.a.createElement('td', null, 'ReactNode'),
1086
+ n.a.createElement('td', null, '-'),
1087
+ n.a.createElement('td', null),
1088
+ ),
1089
+ n.a.createElement(
1090
+ 'tr',
1091
+ null,
1092
+ n.a.createElement('td', null, 'searchValue'),
1093
+ n.a.createElement(
1094
+ 'td',
1095
+ null,
1096
+ '\u63a7\u5236\u641c\u7d22\u6587\u672c',
1097
+ ),
1098
+ n.a.createElement('td', null, 'string'),
1099
+ n.a.createElement('td', null, '-'),
1100
+ n.a.createElement('td', null),
1101
+ ),
1102
+ n.a.createElement(
1103
+ 'tr',
1104
+ null,
1105
+ n.a.createElement('td', null, 'showArrow'),
1106
+ n.a.createElement(
1107
+ 'td',
1108
+ null,
1109
+ '\u662f\u5426\u663e\u793a\u4e0b\u62c9\u5c0f\u7bad\u5934',
1110
+ ),
1111
+ n.a.createElement('td', null, 'boolean'),
1112
+ n.a.createElement(
1113
+ 'td',
1114
+ null,
1115
+ '\u5355\u9009\u4e3a true\uff0c\u591a\u9009\u4e3a false',
1116
+ ),
1117
+ n.a.createElement('td', null),
1118
+ ),
1119
+ n.a.createElement(
1120
+ 'tr',
1121
+ null,
1122
+ n.a.createElement('td', null, 'showSearch'),
1123
+ n.a.createElement(
1124
+ 'td',
1125
+ null,
1126
+ '\u4f7f\u5355\u9009\u6a21\u5f0f\u53ef\u641c\u7d22',
1127
+ ),
1128
+ n.a.createElement('td', null, 'boolean'),
1129
+ n.a.createElement('td', null, 'false'),
1130
+ n.a.createElement('td', null),
1131
+ ),
1132
+ n.a.createElement(
1133
+ 'tr',
1134
+ null,
1135
+ n.a.createElement('td', null, 'size'),
1136
+ n.a.createElement(
1137
+ 'td',
1138
+ null,
1139
+ '\u9009\u62e9\u6846\u5927\u5c0f',
1140
+ ),
1141
+ n.a.createElement(
1142
+ 'td',
1143
+ null,
1144
+ n.a.createElement('code', null, 'large'),
1145
+ ' | ',
1146
+ n.a.createElement('code', null, 'middle'),
1147
+ ' | ',
1148
+ n.a.createElement('code', null, 'small'),
1149
+ ),
1150
+ n.a.createElement(
1151
+ 'td',
1152
+ null,
1153
+ n.a.createElement('code', null, 'middle'),
1154
+ ),
1155
+ n.a.createElement('td', null),
1156
+ ),
1157
+ n.a.createElement(
1158
+ 'tr',
1159
+ null,
1160
+ n.a.createElement('td', null, 'suffixIcon'),
1161
+ n.a.createElement(
1162
+ 'td',
1163
+ null,
1164
+ '\u81ea\u5b9a\u4e49\u7684\u9009\u62e9\u6846\u540e\u7f00\u56fe\u6807',
1165
+ ),
1166
+ n.a.createElement('td', null, 'ReactNode'),
1167
+ n.a.createElement('td', null, '-'),
1168
+ n.a.createElement('td', null),
1169
+ ),
1170
+ n.a.createElement(
1171
+ 'tr',
1172
+ null,
1173
+ n.a.createElement('td', null, 'tagRender'),
1174
+ n.a.createElement(
1175
+ 'td',
1176
+ null,
1177
+ '\u81ea\u5b9a\u4e49 tag \u5185\u5bb9 render',
1178
+ ),
1179
+ n.a.createElement('td', null, '(props) => ReactNode'),
1180
+ n.a.createElement('td', null, '-'),
1181
+ n.a.createElement('td', null),
1182
+ ),
1183
+ n.a.createElement(
1184
+ 'tr',
1185
+ null,
1186
+ n.a.createElement('td', null, 'tokenSeparators'),
1187
+ n.a.createElement(
1188
+ 'td',
1189
+ null,
1190
+ '\u5728 ',
1191
+ n.a.createElement('code', null, 'tags'),
1192
+ ' \u548c ',
1193
+ n.a.createElement('code', null, 'multiple'),
1194
+ ' \u6a21\u5f0f\u4e0b\u81ea\u52a8\u5206\u8bcd\u7684\u5206\u9694\u7b26',
1195
+ ),
1196
+ n.a.createElement('td', null, 'string[]'),
1197
+ n.a.createElement('td', null, '-'),
1198
+ n.a.createElement('td', null),
1199
+ ),
1200
+ n.a.createElement(
1201
+ 'tr',
1202
+ null,
1203
+ n.a.createElement('td', null, 'value'),
1204
+ n.a.createElement(
1205
+ 'td',
1206
+ null,
1207
+ '\u6307\u5b9a\u5f53\u524d\u9009\u4e2d\u7684\u6761\u76ee\uff0c\u591a\u9009\u65f6\u4e3a\u4e00\u4e2a\u6570\u7ec4\u3002\uff08value \u6570\u7ec4\u5f15\u7528\u672a\u53d8\u5316\u65f6\uff0cSelect \u4e0d\u4f1a\u66f4\u65b0\uff09',
1208
+ ),
1209
+ n.a.createElement(
1210
+ 'td',
1211
+ null,
1212
+ 'string | string[]',
1213
+ n.a.createElement('br', null),
1214
+ 'number | number[]',
1215
+ n.a.createElement('br', null),
1216
+ 'LabeledValue | LabeledValue[]',
1217
+ ),
1218
+ n.a.createElement('td', null, '-'),
1219
+ n.a.createElement('td', null),
1220
+ ),
1221
+ n.a.createElement(
1222
+ 'tr',
1223
+ null,
1224
+ n.a.createElement('td', null, 'virtual'),
1225
+ n.a.createElement(
1226
+ 'td',
1227
+ null,
1228
+ '\u8bbe\u7f6e false \u65f6\u5173\u95ed\u865a\u62df\u6eda\u52a8',
1229
+ ),
1230
+ n.a.createElement('td', null, 'boolean'),
1231
+ n.a.createElement('td', null, 'true'),
1232
+ n.a.createElement('td', null, '4.1.0'),
1233
+ ),
1234
+ n.a.createElement(
1235
+ 'tr',
1236
+ null,
1237
+ n.a.createElement('td', null, 'onBlur'),
1238
+ n.a.createElement(
1239
+ 'td',
1240
+ null,
1241
+ '\u5931\u53bb\u7126\u70b9\u65f6\u56de\u8c03',
1242
+ ),
1243
+ n.a.createElement('td', null, 'function'),
1244
+ n.a.createElement('td', null, '-'),
1245
+ n.a.createElement('td', null),
1246
+ ),
1247
+ n.a.createElement(
1248
+ 'tr',
1249
+ null,
1250
+ n.a.createElement('td', null, 'onChange'),
1251
+ n.a.createElement(
1252
+ 'td',
1253
+ null,
1254
+ '\u9009\u4e2d option\uff0c\u6216 input \u7684 value \u53d8\u5316\u65f6\uff0c\u8c03\u7528\u6b64\u51fd\u6570',
1255
+ ),
1256
+ n.a.createElement(
1257
+ 'td',
1258
+ null,
1259
+ 'function(value, option:Option | Array<Option>)',
1260
+ ),
1261
+ n.a.createElement('td', null, '-'),
1262
+ n.a.createElement('td', null),
1263
+ ),
1264
+ n.a.createElement(
1265
+ 'tr',
1266
+ null,
1267
+ n.a.createElement('td', null, 'onClear'),
1268
+ n.a.createElement(
1269
+ 'td',
1270
+ null,
1271
+ '\u6e05\u9664\u5185\u5bb9\u65f6\u56de\u8c03',
1272
+ ),
1273
+ n.a.createElement('td', null, 'function'),
1274
+ n.a.createElement('td', null, '-'),
1275
+ n.a.createElement('td', null, '4.6.0'),
1276
+ ),
1277
+ n.a.createElement(
1278
+ 'tr',
1279
+ null,
1280
+ n.a.createElement('td', null, 'onDeselect'),
1281
+ n.a.createElement(
1282
+ 'td',
1283
+ null,
1284
+ '\u53d6\u6d88\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value (\u6216 key) \u503c\uff0c\u4ec5\u5728 ',
1285
+ n.a.createElement('code', null, 'multiple'),
1286
+ ' \u6216 ',
1287
+ n.a.createElement('code', null, 'tags'),
1288
+ ' \u6a21\u5f0f\u4e0b\u751f\u6548',
1289
+ ),
1290
+ n.a.createElement(
1291
+ 'td',
1292
+ null,
1293
+ 'function(string | number | LabeledValue)',
1294
+ ),
1295
+ n.a.createElement('td', null, '-'),
1296
+ n.a.createElement('td', null),
1297
+ ),
1298
+ n.a.createElement(
1299
+ 'tr',
1300
+ null,
1301
+ n.a.createElement('td', null, 'onDropdownVisibleChange'),
1302
+ n.a.createElement(
1303
+ 'td',
1304
+ null,
1305
+ '\u5c55\u5f00\u4e0b\u62c9\u83dc\u5355\u7684\u56de\u8c03',
1306
+ ),
1307
+ n.a.createElement('td', null, 'function(open)'),
1308
+ n.a.createElement('td', null, '-'),
1309
+ n.a.createElement('td', null),
1310
+ ),
1311
+ n.a.createElement(
1312
+ 'tr',
1313
+ null,
1314
+ n.a.createElement('td', null, 'onFocus'),
1315
+ n.a.createElement(
1316
+ 'td',
1317
+ null,
1318
+ '\u83b7\u5f97\u7126\u70b9\u65f6\u56de\u8c03',
1319
+ ),
1320
+ n.a.createElement('td', null, 'function'),
1321
+ n.a.createElement('td', null, '-'),
1322
+ n.a.createElement('td', null),
1323
+ ),
1324
+ n.a.createElement(
1325
+ 'tr',
1326
+ null,
1327
+ n.a.createElement('td', null, 'onInputKeyDown'),
1328
+ n.a.createElement(
1329
+ 'td',
1330
+ null,
1331
+ '\u6309\u952e\u6309\u4e0b\u65f6\u56de\u8c03',
1332
+ ),
1333
+ n.a.createElement('td', null, 'function'),
1334
+ n.a.createElement('td', null, '-'),
1335
+ n.a.createElement('td', null),
1336
+ ),
1337
+ n.a.createElement(
1338
+ 'tr',
1339
+ null,
1340
+ n.a.createElement('td', null, 'onMouseEnter'),
1341
+ n.a.createElement(
1342
+ 'td',
1343
+ null,
1344
+ '\u9f20\u6807\u79fb\u5165\u65f6\u56de\u8c03',
1345
+ ),
1346
+ n.a.createElement('td', null, 'function'),
1347
+ n.a.createElement('td', null, '-'),
1348
+ n.a.createElement('td', null),
1349
+ ),
1350
+ n.a.createElement(
1351
+ 'tr',
1352
+ null,
1353
+ n.a.createElement('td', null, 'onMouseLeave'),
1354
+ n.a.createElement(
1355
+ 'td',
1356
+ null,
1357
+ '\u9f20\u6807\u79fb\u51fa\u65f6\u56de\u8c03',
1358
+ ),
1359
+ n.a.createElement('td', null, 'function'),
1360
+ n.a.createElement('td', null, '-'),
1361
+ n.a.createElement('td', null),
1362
+ ),
1363
+ n.a.createElement(
1364
+ 'tr',
1365
+ null,
1366
+ n.a.createElement('td', null, 'onPopupScroll'),
1367
+ n.a.createElement(
1368
+ 'td',
1369
+ null,
1370
+ '\u4e0b\u62c9\u5217\u8868\u6eda\u52a8\u65f6\u7684\u56de\u8c03',
1371
+ ),
1372
+ n.a.createElement('td', null, 'function'),
1373
+ n.a.createElement('td', null, '-'),
1374
+ n.a.createElement('td', null),
1375
+ ),
1376
+ n.a.createElement(
1377
+ 'tr',
1378
+ null,
1379
+ n.a.createElement('td', null, 'onSearch'),
1380
+ n.a.createElement(
1381
+ 'td',
1382
+ null,
1383
+ '\u6587\u672c\u6846\u503c\u53d8\u5316\u65f6\u56de\u8c03',
1384
+ ),
1385
+ n.a.createElement('td', null, 'function(value: string)'),
1386
+ n.a.createElement('td', null, '-'),
1387
+ n.a.createElement('td', null),
1388
+ ),
1389
+ n.a.createElement(
1390
+ 'tr',
1391
+ null,
1392
+ n.a.createElement('td', null, 'onSelect'),
1393
+ n.a.createElement(
1394
+ 'td',
1395
+ null,
1396
+ '\u88ab\u9009\u4e2d\u65f6\u8c03\u7528\uff0c\u53c2\u6570\u4e3a\u9009\u4e2d\u9879\u7684 value (\u6216 key) \u503c',
1397
+ ),
1398
+ n.a.createElement(
1399
+ 'td',
1400
+ null,
1401
+ 'function(string | number | LabeledValue, option: Option)',
1402
+ ),
1403
+ n.a.createElement('td', null, '-'),
1404
+ n.a.createElement('td', null),
1405
+ ),
1406
+ ),
1407
+ ),
1408
+ n.a.createElement(
1409
+ 'blockquote',
1410
+ null,
1411
+ n.a.createElement(
1412
+ 'p',
1413
+ null,
1414
+ '\u6ce8\u610f\uff0c\u5982\u679c\u53d1\u73b0\u4e0b\u62c9\u83dc\u5355\u8ddf\u968f\u9875\u9762\u6eda\u52a8\uff0c\u6216\u8005\u9700\u8981\u5728\u5176\u4ed6\u5f39\u5c42\u4e2d\u89e6\u53d1 Select\uff0c\u8bf7\u5c1d\u8bd5\u4f7f\u7528 ',
1415
+ n.a.createElement(
1416
+ 'code',
1417
+ null,
1418
+ 'getPopupContainer=',
1419
+ '{',
1420
+ 'triggerNode => triggerNode.parentElement',
1421
+ '}',
1422
+ ),
1423
+ ' \u5c06\u4e0b\u62c9\u5f39\u5c42\u6e32\u67d3\u8282\u70b9\u56fa\u5b9a\u5728\u89e6\u53d1\u5668\u7684\u7236\u5143\u7d20\u4e2d\u3002',
1424
+ ),
1425
+ ),
1426
+ n.a.createElement(
1427
+ 'h3',
1428
+ { id: 'select-methods' },
1429
+ n.a.createElement(
1430
+ r['AnchorLink'],
1431
+ {
1432
+ to: '#select-methods',
1433
+ 'aria-hidden': 'true',
1434
+ tabIndex: -1,
1435
+ },
1436
+ n.a.createElement('span', { className: 'icon icon-link' }),
1437
+ ),
1438
+ 'Select Methods',
1439
+ ),
1440
+ n.a.createElement(
1441
+ 'table',
1442
+ null,
1443
+ n.a.createElement(
1444
+ 'thead',
1445
+ null,
1446
+ n.a.createElement(
1447
+ 'tr',
1448
+ null,
1449
+ n.a.createElement('th', null, '\u540d\u79f0'),
1450
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1451
+ n.a.createElement('th', null, '\u7248\u672c'),
1452
+ ),
1453
+ ),
1454
+ n.a.createElement(
1455
+ 'tbody',
1456
+ null,
1457
+ n.a.createElement(
1458
+ 'tr',
1459
+ null,
1460
+ n.a.createElement('td', null, 'blur()'),
1461
+ n.a.createElement('td', null, '\u53d6\u6d88\u7126\u70b9'),
1462
+ n.a.createElement('td', null),
1463
+ ),
1464
+ n.a.createElement(
1465
+ 'tr',
1466
+ null,
1467
+ n.a.createElement('td', null, 'focus()'),
1468
+ n.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
1469
+ n.a.createElement('td', null),
1470
+ ),
1471
+ ),
1472
+ ),
1473
+ n.a.createElement(
1474
+ 'h3',
1475
+ { id: 'option-props' },
1476
+ n.a.createElement(
1477
+ r['AnchorLink'],
1478
+ { to: '#option-props', 'aria-hidden': 'true', tabIndex: -1 },
1479
+ n.a.createElement('span', { className: 'icon icon-link' }),
1480
+ ),
1481
+ 'Option props',
1482
+ ),
1483
+ n.a.createElement(
1484
+ 'table',
1485
+ null,
1486
+ n.a.createElement(
1487
+ 'thead',
1488
+ null,
1489
+ n.a.createElement(
1490
+ 'tr',
1491
+ null,
1492
+ n.a.createElement('th', null, '\u53c2\u6570'),
1493
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1494
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1495
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1496
+ n.a.createElement('th', null, '\u7248\u672c'),
1497
+ ),
1498
+ ),
1499
+ n.a.createElement(
1500
+ 'tbody',
1501
+ null,
1502
+ n.a.createElement(
1503
+ 'tr',
1504
+ null,
1505
+ n.a.createElement('td', null, 'className'),
1506
+ n.a.createElement('td', null, 'Option \u5668\u7c7b\u540d'),
1507
+ n.a.createElement('td', null, 'string'),
1508
+ n.a.createElement('td', null, '-'),
1509
+ n.a.createElement('td', null),
1510
+ ),
1511
+ n.a.createElement(
1512
+ 'tr',
1513
+ null,
1514
+ n.a.createElement('td', null, 'disabled'),
1515
+ n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
1516
+ n.a.createElement('td', null, 'boolean'),
1517
+ n.a.createElement('td', null, 'false'),
1518
+ n.a.createElement('td', null),
1519
+ ),
1520
+ n.a.createElement(
1521
+ 'tr',
1522
+ null,
1523
+ n.a.createElement('td', null, 'title'),
1524
+ n.a.createElement(
1525
+ 'td',
1526
+ null,
1527
+ '\u9009\u4e2d\u8be5 Option \u540e\uff0cSelect \u7684 title',
1528
+ ),
1529
+ n.a.createElement('td', null, 'string'),
1530
+ n.a.createElement('td', null, '-'),
1531
+ n.a.createElement('td', null),
1532
+ ),
1533
+ n.a.createElement(
1534
+ 'tr',
1535
+ null,
1536
+ n.a.createElement('td', null, 'value'),
1537
+ n.a.createElement(
1538
+ 'td',
1539
+ null,
1540
+ '\u9ed8\u8ba4\u6839\u636e\u6b64\u5c5e\u6027\u503c\u8fdb\u884c\u7b5b\u9009',
1541
+ ),
1542
+ n.a.createElement('td', null, 'string | number'),
1543
+ n.a.createElement('td', null, '-'),
1544
+ n.a.createElement('td', null),
1545
+ ),
1546
+ ),
1547
+ ),
1548
+ n.a.createElement(
1549
+ 'h3',
1550
+ { id: 'optgroup-props' },
1551
+ n.a.createElement(
1552
+ r['AnchorLink'],
1553
+ {
1554
+ to: '#optgroup-props',
1555
+ 'aria-hidden': 'true',
1556
+ tabIndex: -1,
1557
+ },
1558
+ n.a.createElement('span', { className: 'icon icon-link' }),
1559
+ ),
1560
+ 'OptGroup props',
1561
+ ),
1562
+ n.a.createElement(
1563
+ 'table',
1564
+ null,
1565
+ n.a.createElement(
1566
+ 'thead',
1567
+ null,
1568
+ n.a.createElement(
1569
+ 'tr',
1570
+ null,
1571
+ n.a.createElement('th', null, '\u53c2\u6570'),
1572
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1573
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1574
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1575
+ n.a.createElement('th', null, '\u7248\u672c'),
1576
+ ),
1577
+ ),
1578
+ n.a.createElement(
1579
+ 'tbody',
1580
+ null,
1581
+ n.a.createElement(
1582
+ 'tr',
1583
+ null,
1584
+ n.a.createElement('td', null, 'key'),
1585
+ n.a.createElement('td', null, 'Key'),
1586
+ n.a.createElement('td', null, 'string'),
1587
+ n.a.createElement('td', null, '-'),
1588
+ n.a.createElement('td', null),
1589
+ ),
1590
+ n.a.createElement(
1591
+ 'tr',
1592
+ null,
1593
+ n.a.createElement('td', null, 'label'),
1594
+ n.a.createElement('td', null, '\u7ec4\u540d'),
1595
+ n.a.createElement('td', null, 'string | React.Element'),
1596
+ n.a.createElement('td', null, '-'),
1597
+ n.a.createElement('td', null),
1598
+ ),
1599
+ ),
1600
+ ),
1601
+ n.a.createElement(
1602
+ 'h2',
1603
+ { id: 'faq' },
1604
+ n.a.createElement(
1605
+ r['AnchorLink'],
1606
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
1607
+ n.a.createElement('span', { className: 'icon icon-link' }),
1608
+ ),
1609
+ 'FAQ',
1610
+ ),
1611
+ n.a.createElement(
1612
+ 'h3',
1613
+ {
1614
+ id: 'tag-\u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879',
1615
+ },
1616
+ n.a.createElement(
1617
+ r['AnchorLink'],
1618
+ {
1619
+ to: '#tag-\u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879',
1620
+ 'aria-hidden': 'true',
1621
+ tabIndex: -1,
1622
+ },
1623
+ n.a.createElement('span', { className: 'icon icon-link' }),
1624
+ ),
1625
+ n.a.createElement('code', null, 'tag'),
1626
+ ' \u6a21\u5f0f\u4e0b\u4e3a\u4f55\u641c\u7d22\u6709\u65f6\u4f1a\u51fa\u73b0\u4e24\u4e2a\u76f8\u540c\u9009\u9879\uff1f',
1627
+ ),
1628
+ n.a.createElement(
1629
+ 'p',
1630
+ null,
1631
+ '\u8fd9\u4e00\u822c\u662f ',
1632
+ n.a.createElement('code', null, 'options'),
1633
+ ' \u4e2d\u7684 ',
1634
+ n.a.createElement('code', null, 'label'),
1635
+ ' \u548c ',
1636
+ n.a.createElement('code', null, 'value'),
1637
+ ' \u4e0d\u540c\u5bfc\u81f4\u7684\uff0c\u4f60\u53ef\u4ee5\u901a\u8fc7 ',
1638
+ n.a.createElement('code', null, 'optionFilterProp="label"'),
1639
+ ' \u5c06\u8fc7\u6ee4\u8bbe\u7f6e\u4e3a\u5c55\u793a\u503c\u4ee5\u907f\u514d\u8fd9\u79cd\u60c5\u51b5\u3002',
1640
+ ),
1641
+ n.a.createElement(
1642
+ 'h3',
1643
+ {
1644
+ id: '\u70b9\u51fb-dropdownrender-\u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e',
1645
+ },
1646
+ n.a.createElement(
1647
+ r['AnchorLink'],
1648
+ {
1649
+ to: '#\u70b9\u51fb-dropdownrender-\u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e',
1650
+ 'aria-hidden': 'true',
1651
+ tabIndex: -1,
1652
+ },
1653
+ n.a.createElement('span', { className: 'icon icon-link' }),
1654
+ ),
1655
+ '\u70b9\u51fb ',
1656
+ n.a.createElement('code', null, 'dropdownRender'),
1657
+ ' \u91cc\u7684\u5185\u5bb9\u6d6e\u5c42\u5173\u95ed\u600e\u4e48\u529e\uff1f',
1658
+ ),
1659
+ n.a.createElement(
1660
+ 'p',
1661
+ null,
1662
+ '\u770b\u4e0b ',
1663
+ n.a.createElement(
1664
+ r['AnchorLink'],
1665
+ { to: '#components-select-demo-custom-dropdown-menu' },
1666
+ 'dropdownRender \u4f8b\u5b50',
1667
+ ),
1668
+ ' \u91cc\u7684\u8bf4\u660e\u3002',
1669
+ ),
1670
+ n.a.createElement(
1671
+ 'h3',
1672
+ {
1673
+ id: '\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e',
1674
+ },
1675
+ n.a.createElement(
1676
+ r['AnchorLink'],
1677
+ {
1678
+ to: '#\u81ea\u5b9a\u4e49-option-\u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e',
1679
+ 'aria-hidden': 'true',
1680
+ tabIndex: -1,
1681
+ },
1682
+ n.a.createElement('span', { className: 'icon icon-link' }),
1683
+ ),
1684
+ '\u81ea\u5b9a\u4e49 Option \u6837\u5f0f\u5bfc\u81f4\u6eda\u52a8\u5f02\u5e38\u600e\u4e48\u529e\uff1f',
1685
+ ),
1686
+ n.a.createElement(
1687
+ 'p',
1688
+ null,
1689
+ '\u8fd9\u662f\u7531\u4e8e\u865a\u62df\u6eda\u52a8\u9ed8\u8ba4\u9009\u9879\u9ad8\u5ea6\u4e3a ',
1690
+ n.a.createElement('code', null, '32px'),
1691
+ '\uff0c\u5982\u679c\u4f60\u7684\u9009\u9879\u9ad8\u5ea6\u5c0f\u4e8e\u8be5\u503c\u5219\u9700\u8981\u901a\u8fc7 ',
1692
+ n.a.createElement('code', null, 'listItemHeight'),
1693
+ ' \u5c5e\u6027\u8c03\u6574\uff0c\u800c ',
1694
+ n.a.createElement('code', null, 'listHeight'),
1695
+ ' \u7528\u4e8e\u8bbe\u7f6e\u6eda\u52a8\u5bb9\u5668\u9ad8\u5ea6\uff1a',
1696
+ ),
1697
+ n.a.createElement(m['a'], {
1698
+ code: '<Select listItemHeight={10} listHeight={250} />',
1699
+ lang: 'bash',
1700
+ }),
1701
+ n.a.createElement(
1702
+ 'p',
1703
+ null,
1704
+ '\u6ce8\u610f\uff1a',
1705
+ n.a.createElement('code', null, 'listItemHeight'),
1706
+ ' \u548c ',
1707
+ n.a.createElement('code', null, 'listHeight'),
1708
+ ' \u4e3a\u5185\u90e8\u5c5e\u6027\uff0c\u5982\u65e0\u5fc5\u8981\uff0c\u8bf7\u52ff\u4fee\u6539\u8be5\u503c\u3002',
1709
+ ),
1710
+ n.a.createElement(
1711
+ 'h3',
1712
+ {
1713
+ id: '\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931-aria--\u5c5e\u6027',
1714
+ },
1715
+ n.a.createElement(
1716
+ r['AnchorLink'],
1717
+ {
1718
+ to: '#\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931-aria--\u5c5e\u6027',
1719
+ 'aria-hidden': 'true',
1720
+ tabIndex: -1,
1721
+ },
1722
+ n.a.createElement('span', { className: 'icon icon-link' }),
1723
+ ),
1724
+ '\u4e3a\u4f55\u65e0\u969c\u788d\u6d4b\u8bd5\u4f1a\u62a5\u7f3a\u5931 ',
1725
+ n.a.createElement('code', null, 'aria-'),
1726
+ ' \u5c5e\u6027\uff1f',
1727
+ ),
1728
+ n.a.createElement(
1729
+ 'p',
1730
+ null,
1731
+ 'Select \u65e0\u969c\u788d\u8f85\u52a9\u5143\u7d20\u4ec5\u5728\u5f39\u7a97\u5c55\u5f00\u65f6\u521b\u5efa\uff0c\u56e0\u800c\u5f53\u4f60\u5728\u8fdb\u884c\u65e0\u969c\u788d\u68c0\u6d4b\u65f6\u8bf7\u5148\u6253\u5f00\u4e0b\u62c9\u540e\u518d\u8fdb\u884c\u6d4b\u8bd5\u3002\u5bf9\u4e8e ',
1732
+ n.a.createElement('code', null, 'aria-label'),
1733
+ ' \u4e0e ',
1734
+ n.a.createElement('code', null, 'aria-labelledby'),
1735
+ ' \u5c5e\u6027\u7f3a\u5931\u8b66\u544a\uff0c\u8bf7\u81ea\u884c\u4e3a Select \u7ec4\u4ef6\u6dfb\u52a0\u76f8\u5e94\u65e0\u969c\u788d\u5c5e\u6027\u3002',
1736
+ ),
1737
+ n.a.createElement('style', {
1738
+ dangerouslySetInnerHTML: {
1739
+ __html:
1740
+ '\n.code-box-demo .ant-select {\n margin: 0 8px 10px 0;\n}\n\n.ant-row-rtl .code-box-demo .ant-select {\n margin: 0 0 10px 8px;\n}\n\n#components-select-demo-search-box .code-box-demo .ant-select {\n margin: 0;\n}\n',
1741
+ },
1742
+ }),
1743
+ ),
1744
+ ),
1745
+ )
1746
+ );
1747
+ },
1748
+ MZF8: function (e, t, l) {
1749
+ 'use strict';
1750
+ var a = l('ogwx');
1751
+ l.d(t, 'a', function () {
1752
+ return a['b'];
1753
+ });
1754
+ l('VCU9');
1755
+ },
1756
+ RZMt: function (e, t, l) {},
1757
+ Zxc8: function (e, t, l) {
1758
+ 'use strict';
1759
+ l.r(t);
1760
+ var a = l('q1tI'),
1761
+ n = l.n(a),
1762
+ r = l('k3GJ'),
1763
+ c = l('MZF8'),
1764
+ m = l('dEAq'),
1765
+ u = l('H1Ra');
1766
+ l('RZMt');
1767
+ function d(e, t) {
1768
+ return p(e) || s(e, t) || E(e, t) || o();
1769
+ }
1770
+ function o() {
1771
+ throw new TypeError(
1772
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1773
+ );
1774
+ }
1775
+ function E(e, t) {
1776
+ if (e) {
1777
+ if ('string' === typeof e) return i(e, t);
1778
+ var l = Object.prototype.toString.call(e).slice(8, -1);
1779
+ return (
1780
+ 'Object' === l && e.constructor && (l = e.constructor.name),
1781
+ 'Map' === l || 'Set' === l
1782
+ ? Array.from(e)
1783
+ : 'Arguments' === l ||
1784
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
1785
+ ? i(e, t)
1786
+ : void 0
1787
+ );
1788
+ }
1789
+ }
1790
+ function i(e, t) {
1791
+ (null == t || t > e.length) && (t = e.length);
1792
+ for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
1793
+ return a;
1794
+ }
1795
+ function s(e, t) {
1796
+ var l =
1797
+ null == e
1798
+ ? null
1799
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
1800
+ e['@@iterator'];
1801
+ if (null != l) {
1802
+ var a,
1803
+ n,
1804
+ r = [],
1805
+ c = !0,
1806
+ m = !1;
1807
+ try {
1808
+ for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
1809
+ if ((r.push(a.value), t && r.length === t)) break;
1810
+ } catch (u) {
1811
+ (m = !0), (n = u);
1812
+ } finally {
1813
+ try {
1814
+ c || null == l['return'] || l['return']();
1815
+ } finally {
1816
+ if (m) throw n;
1817
+ }
1818
+ }
1819
+ return r;
1820
+ }
1821
+ }
1822
+ function p(e) {
1823
+ if (Array.isArray(e)) return e;
1824
+ }
1825
+ function h(e, t) {
1826
+ var l,
1827
+ a =
1828
+ null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
1829
+ return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
1830
+ }
1831
+ var b = function (e) {
1832
+ var t,
1833
+ l,
1834
+ o,
1835
+ E = Object(a['useRef'])(),
1836
+ i = Object(a['useContext'])(m['context']),
1837
+ s = i.locale,
1838
+ p = Object(m['useLocaleProps'])(s, e),
1839
+ b = Object(m['useDemoUrl'])(p.identifier),
1840
+ f = p.demoUrl || b,
1841
+ k =
1842
+ (null === c['a'] || void 0 === c['a']
1843
+ ? void 0
1844
+ : c['a'].location.hash) === '#'.concat(p.identifier),
1845
+ v = 1 === Object.keys(p.sources).length,
1846
+ g = Object(m['useCodeSandbox'])(
1847
+ (
1848
+ null === (t = p.hideActions) || void 0 === t
1849
+ ? void 0
1850
+ : t.includes('CSB')
1851
+ )
1852
+ ? null
1853
+ : p,
1854
+ ),
1855
+ N = Object(m['useRiddle'])(
1856
+ (
1857
+ null === (l = p.hideActions) || void 0 === l
1858
+ ? void 0
1859
+ : l.includes('RIDDLE')
1860
+ )
1861
+ ? null
1862
+ : p,
1863
+ ),
1864
+ w = Object(m['useMotions'])(p.motions || [], E.current),
1865
+ x = d(w, 2),
1866
+ y = x[0],
1867
+ A = x[1],
1868
+ L = Object(m['useCopy'])(),
1869
+ I = d(L, 2),
1870
+ _ = I[0],
1871
+ S = I[1],
1872
+ O = Object(a['useState'])('_'),
1873
+ P = d(O, 2),
1874
+ C = P[0],
1875
+ R = P[1],
1876
+ j = Object(a['useState'])(h(C, p.sources[C])),
1877
+ M = d(j, 2),
1878
+ V = M[0],
1879
+ F = M[1],
1880
+ T = Object(a['useState'])(Boolean(p.defaultShowCode)),
1881
+ H = d(T, 2),
1882
+ q = H[0],
1883
+ U = H[1],
1884
+ z = Object(a['useState'])(Math.random()),
1885
+ D = d(z, 2),
1886
+ J = D[0],
1887
+ Z = D[1],
1888
+ B = p.sources[C][V] || p.sources[C].content,
1889
+ G = Object(m['useTSPlaygroundUrl'])(s, B),
1890
+ K = Object(a['useRef'])(),
1891
+ $ = Object(m['usePrefersColor'])(),
1892
+ W = d($, 1),
1893
+ X = W[0];
1894
+ function Q(e) {
1895
+ R(e), F(h(e, p.sources[e]));
1896
+ }
1897
+ return (
1898
+ Object(a['useEffect'])(
1899
+ function () {
1900
+ Z(Math.random());
1901
+ },
1902
+ [X],
1903
+ ),
1904
+ n.a.createElement(
1905
+ 'div',
1906
+ {
1907
+ style: p.style,
1908
+ className: [
1909
+ p.className,
1910
+ '__dumi-default-previewer',
1911
+ k ? '__dumi-default-previewer-target' : '',
1912
+ ]
1913
+ .filter(Boolean)
1914
+ .join(' '),
1915
+ id: p.identifier,
1916
+ 'data-debug': p.debug || void 0,
1917
+ 'data-iframe': p.iframe || void 0,
1918
+ },
1919
+ p.iframe &&
1920
+ n.a.createElement('div', {
1921
+ className: '__dumi-default-previewer-browser-nav',
1922
+ }),
1923
+ n.a.createElement(
1924
+ 'div',
1925
+ {
1926
+ ref: E,
1927
+ className: '__dumi-default-previewer-demo',
1928
+ style: {
1929
+ transform: p.transform ? 'translate(0, 0)' : void 0,
1930
+ padding:
1931
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
1932
+ background: p.background,
1933
+ },
1934
+ },
1935
+ p.iframe
1936
+ ? n.a.createElement('iframe', {
1937
+ title: 'dumi-previewer',
1938
+ style: {
1939
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
1940
+ },
1941
+ key: J,
1942
+ src: f,
1943
+ ref: K,
1944
+ })
1945
+ : p.children,
1946
+ ),
1947
+ n.a.createElement(
1948
+ 'div',
1949
+ {
1950
+ className: '__dumi-default-previewer-desc',
1951
+ 'data-title': p.title,
1952
+ },
1953
+ p.title &&
1954
+ n.a.createElement(
1955
+ m['AnchorLink'],
1956
+ { to: '#'.concat(p.identifier) },
1957
+ p.title,
1958
+ ),
1959
+ p.description &&
1960
+ n.a.createElement('div', {
1961
+ dangerouslySetInnerHTML: { __html: p.description },
1962
+ }),
1963
+ ),
1964
+ n.a.createElement(
1965
+ 'div',
1966
+ { className: '__dumi-default-previewer-actions' },
1967
+ g &&
1968
+ n.a.createElement('button', {
1969
+ title: 'Open demo on CodeSandbox.io',
1970
+ className: '__dumi-default-icon',
1971
+ role: 'codesandbox',
1972
+ onClick: g,
1973
+ }),
1974
+ N &&
1975
+ n.a.createElement('button', {
1976
+ title: 'Open demo on Riddle',
1977
+ className: '__dumi-default-icon',
1978
+ role: 'riddle',
1979
+ onClick: N,
1980
+ }),
1981
+ p.motions &&
1982
+ n.a.createElement('button', {
1983
+ title: 'Execute motions',
1984
+ className: '__dumi-default-icon',
1985
+ role: 'motions',
1986
+ disabled: A,
1987
+ onClick: function () {
1988
+ return y();
1989
+ },
1990
+ }),
1991
+ p.iframe &&
1992
+ n.a.createElement('button', {
1993
+ title: 'Reload demo iframe page',
1994
+ className: '__dumi-default-icon',
1995
+ role: 'refresh',
1996
+ onClick: function () {
1997
+ return Z(Math.random());
1998
+ },
1999
+ }),
2000
+ !(null === (o = p.hideActions) || void 0 === o
2001
+ ? void 0
2002
+ : o.includes('EXTERNAL')) &&
2003
+ n.a.createElement(
2004
+ m['Link'],
2005
+ { target: '_blank', to: f },
2006
+ n.a.createElement('button', {
2007
+ title: 'Open demo in new tab',
2008
+ className: '__dumi-default-icon',
2009
+ role: 'open-demo',
2010
+ type: 'button',
2011
+ }),
2012
+ ),
2013
+ n.a.createElement('span', null),
2014
+ n.a.createElement('button', {
2015
+ title: 'Copy source code',
2016
+ className: '__dumi-default-icon',
2017
+ role: 'copy',
2018
+ 'data-status': S,
2019
+ onClick: function () {
2020
+ return _(B);
2021
+ },
2022
+ }),
2023
+ 'tsx' === V &&
2024
+ q &&
2025
+ n.a.createElement(
2026
+ m['Link'],
2027
+ { target: '_blank', to: G },
2028
+ n.a.createElement('button', {
2029
+ title: 'Get JSX via TypeScript Playground',
2030
+ className: '__dumi-default-icon',
2031
+ role: 'change-tsx',
2032
+ type: 'button',
2033
+ }),
2034
+ ),
2035
+ n.a.createElement('button', {
2036
+ title: 'Toggle source code panel',
2037
+ className: '__dumi-default-icon'.concat(
2038
+ q ? ' __dumi-default-btn-expand' : '',
2039
+ ),
2040
+ role: 'source',
2041
+ type: 'button',
2042
+ onClick: function () {
2043
+ return U(!q);
2044
+ },
2045
+ }),
2046
+ ),
2047
+ q &&
2048
+ n.a.createElement(
2049
+ 'div',
2050
+ { className: '__dumi-default-previewer-source-wrapper' },
2051
+ !v &&
2052
+ n.a.createElement(
2053
+ r['b'],
2054
+ {
2055
+ className: '__dumi-default-previewer-source-tab',
2056
+ prefixCls: '__dumi-default-tabs',
2057
+ moreIcon: '\xb7\xb7\xb7',
2058
+ defaultActiveKey: C,
2059
+ onChange: Q,
2060
+ },
2061
+ Object.keys(p.sources).map(function (e) {
2062
+ return n.a.createElement(r['a'], {
2063
+ tab:
2064
+ '_' === e ? 'index.'.concat(h(e, p.sources[e])) : e,
2065
+ key: e,
2066
+ });
2067
+ }),
2068
+ ),
2069
+ n.a.createElement(
2070
+ 'div',
2071
+ { className: '__dumi-default-previewer-source' },
2072
+ n.a.createElement(u['a'], { code: B, lang: V, showCopy: !1 }),
2073
+ ),
2074
+ ),
2075
+ )
2076
+ );
2077
+ };
2078
+ t['default'] = b;
2079
+ },
2080
+ },
2081
+ ]);