@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,1579 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[36],{"5ot0":function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("dEAq"),c=a("Zxc8"),u=a("JjdP"),m=n.a.memo(u["default"]["input-basic"].component),d=n.a.memo(u["default"]["input-size"].component),i=n.a.memo(u["default"]["input-allowclear"].component),o=n.a.memo(u["default"]["input-presuffix"].component),E=n.a.memo(u["default"]["input-addon"].component),s=n.a.memo(u["default"]["input-search"].component),p=n.a.memo(u["default"]["input-search-input-loading"].component),h=n.a.memo(u["default"]["input-password-input"].component),f=n.a.memo(u["default"]["input-textarea"].component),b=n.a.memo(u["default"]["input-textarea-count"].component),v=n.a.memo(u["default"]["input-autosize-textarea"].component),k=n.a.memo(u["default"]["input-tooltip"].component),x=n.a.memo(u["default"]["input-focus"].component),w=n.a.memo(u["default"]["input-group"].component),N=n.a.memo(u["default"]["input-borderless"].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:"input-\u8f93\u5165\u6846"},n.a.createElement(r["AnchorLink"],{to:"#input-\u8f93\u5165\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input \u8f93\u5165\u6846"),n.a.createElement("p",null,"\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\u8f93\u5165\u5185\u5bb9\uff0c\u662f\u6700\u57fa\u7840\u7684\u8868\u5355\u57df\u7684\u5305\u88c5\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,"\u9700\u8981\u7528\u6237\u8f93\u5165\u8868\u5355\u57df\u5185\u5bb9\u65f6\u3002"),n.a.createElement("li",null,"\u63d0\u4f9b\u7ec4\u5408\u578b\u8f93\u5165\u6846\uff0c\u5e26\u641c\u7d22\u7684\u8f93\u5165\u6846\uff0c\u8fd8\u53ef\u4ee5\u8fdb\u884c\u5927\u5c0f\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"]["input-basic"].previewerProps,n.a.createElement(m,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"]["input-size"].previewerProps,n.a.createElement(d,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u79fb\u9664\u56fe\u6807"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u79fb\u9664\u56fe\u6807","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u79fb\u9664\u56fe\u6807")),n.a.createElement(c["default"],u["default"]["input-allowclear"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u524d\u7f00\u548c\u540e\u7f00"},n.a.createElement(r["AnchorLink"],{to:"#\u524d\u7f00\u548c\u540e\u7f00","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u524d\u7f00\u548c\u540e\u7f00")),n.a.createElement(c["default"],u["default"]["input-presuffix"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u524d\u7f6e\u540e\u7f6e\u6807\u7b7e"},n.a.createElement(r["AnchorLink"],{to:"#\u524d\u7f6e\u540e\u7f6e\u6807\u7b7e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u524d\u7f6e/\u540e\u7f6e\u6807\u7b7e")),n.a.createElement(c["default"],u["default"]["input-addon"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u641c\u7d22\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u641c\u7d22\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u641c\u7d22\u6846")),n.a.createElement(c["default"],u["default"]["input-search"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u641c\u7d22\u6846-loading"},n.a.createElement(r["AnchorLink"],{to:"#\u641c\u7d22\u6846-loading","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u641c\u7d22\u6846 loading")),n.a.createElement(c["default"],u["default"]["input-search-input-loading"].previewerProps,n.a.createElement(p,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5bc6\u7801\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u5bc6\u7801\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5bc6\u7801\u6846")),n.a.createElement(c["default"],u["default"]["input-password-input"].previewerProps,n.a.createElement(h,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6587\u672c\u57df"},n.a.createElement(r["AnchorLink"],{to:"#\u6587\u672c\u57df","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6587\u672c\u57df")),n.a.createElement(c["default"],u["default"]["input-textarea"].previewerProps,n.a.createElement(f,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df")),n.a.createElement(c["default"],u["default"]["input-textarea-count"].previewerProps,n.a.createElement(b,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df"},n.a.createElement(r["AnchorLink"],{to:"#\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df")),n.a.createElement(c["default"],u["default"]["input-autosize-textarea"].previewerProps,n.a.createElement(v,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a"},n.a.createElement(r["AnchorLink"],{to:"#\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a")),n.a.createElement(c["default"],u["default"]["input-tooltip"].previewerProps,n.a.createElement(k,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u805a\u7126"},n.a.createElement(r["AnchorLink"],{to:"#\u805a\u7126","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u805a\u7126")),n.a.createElement(c["default"],u["default"]["input-focus"].previewerProps,n.a.createElement(x,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u8f93\u5165\u6846\u7ec4\u5408"},n.a.createElement(r["AnchorLink"],{to:"#\u8f93\u5165\u6846\u7ec4\u5408","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8f93\u5165\u6846\u7ec4\u5408")),n.a.createElement(c["default"],u["default"]["input-group"].previewerProps,n.a.createElement(w,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"]["input-borderless"].previewerProps,n.a.createElement(N,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("h3",{id:"input"},n.a.createElement(r["AnchorLink"],{to:"#input","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input"),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,"addonAfter"),n.a.createElement("td",null,"\u5e26\u6807\u7b7e\u7684 input\uff0c\u8bbe\u7f6e\u540e\u7f6e\u6807\u7b7e"),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,"addonBefore"),n.a.createElement("td",null,"\u5e26\u6807\u7b7e\u7684 input\uff0c\u8bbe\u7f6e\u524d\u7f6e\u6807\u7b7e"),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,"allowClear"),n.a.createElement("td",null,"\u53ef\u4ee5\u70b9\u51fb\u6e05\u9664\u56fe\u6807\u5220\u9664\u5185\u5bb9"),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,"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,"4.5.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u9ed8\u8ba4\u5185\u5bb9"),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\u72b6\u6001\uff0c\u9ed8\u8ba4\u4e3a false"),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,"id"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u7684 id"),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,"maxLength"),n.a.createElement("td",null,"\u6700\u5927\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,"prefix"),n.a.createElement("td",null,"\u5e26\u6709\u524d\u7f00\u56fe\u6807\u7684 input"),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,"size"),n.a.createElement("td",null,"\u63a7\u4ef6\u5927\u5c0f\u3002\u6ce8\uff1a\u6807\u51c6\u8868\u5355\u5185\u7684\u8f93\u5165\u6846\u5927\u5c0f\u9650\u5236\u4e3a ",n.a.createElement("code",null,"large")),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("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"suffix"),n.a.createElement("td",null,"\u5e26\u6709\u540e\u7f00\u56fe\u6807\u7684 input"),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,"type"),n.a.createElement("td",null,"\u58f0\u660e input \u7c7b\u578b\uff0c\u540c\u539f\u751f input \u6807\u7b7e\u7684 type \u5c5e\u6027\uff0c\u89c1\uff1a",n.a.createElement(r["Link"],{to:"https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#%E5%B1%9E%E6%80%A7"},"MDN"),"(\u8bf7\u76f4\u63a5\u4f7f\u7528 ",n.a.createElement("code",null,"Input.TextArea")," \u4ee3\u66ff ",n.a.createElement("code",null,'type="textarea"'),")"),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"text")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u5185\u5bb9"),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,"onChange"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u5185\u5bb9\u53d8\u5316\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(e)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onPressEnter"),n.a.createElement("td",null,"\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(e)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("blockquote",null,n.a.createElement("p",null,"\u5982\u679c ",n.a.createElement("code",null,"Input")," \u5728 ",n.a.createElement("code",null,"Form.Item")," \u5185\uff0c\u5e76\u4e14 ",n.a.createElement("code",null,"Form.Item")," \u8bbe\u7f6e\u4e86 ",n.a.createElement("code",null,"id")," \u548c ",n.a.createElement("code",null,"options")," \u5c5e\u6027\uff0c\u5219 ",n.a.createElement("code",null,"value")," ",n.a.createElement("code",null,"defaultValue")," \u548c ",n.a.createElement("code",null,"id")," \u5c5e\u6027\u4f1a\u88ab\u81ea\u52a8\u8bbe\u7f6e\u3002")),n.a.createElement("p",null,"Input \u7684\u5176\u4ed6\u5c5e\u6027\u548c React \u81ea\u5e26\u7684 ",n.a.createElement(r["Link"],{to:"https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes"},"input")," \u4e00\u81f4\u3002"),n.a.createElement("h3",{id:"inputtextarea"},n.a.createElement(r["AnchorLink"],{to:"#inputtextarea","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input.TextArea"),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,"\u53ef\u4ee5\u70b9\u51fb\u6e05\u9664\u56fe\u6807\u5220\u9664\u5185\u5bb9"),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,"autoSize"),n.a.createElement("td",null,"\u81ea\u9002\u5e94\u5185\u5bb9\u9ad8\u5ea6\uff0c\u53ef\u8bbe\u7f6e\u4e3a true | false \u6216\u5bf9\u8c61\uff1a","{"," minRows: 2, maxRows: 6 ","}"),n.a.createElement("td",null,"boolean | object"),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,"4.5.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"defaultValue"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u9ed8\u8ba4\u5185\u5bb9"),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,"maxLength"),n.a.createElement("td",null,"\u5185\u5bb9\u6700\u5927\u957f\u5ea6"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.7.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"showCount"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5b57\u6570"),n.a.createElement("td",null,"boolean | ","{"," formatter: (","{"," count: number, maxLength?: number ","}",") => string ","}"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.7.0 (formatter: 4.10.0)")),n.a.createElement("tr",null,n.a.createElement("td",null,"value"),n.a.createElement("td",null,"\u8f93\u5165\u6846\u5185\u5bb9"),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,"onPressEnter"),n.a.createElement("td",null,"\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(e)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onResize"),n.a.createElement("td",null,"resize \u56de\u8c03"),n.a.createElement("td",null,"function(","{"," width, height ","}",")"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("p",null,n.a.createElement("code",null,"Input.TextArea")," \u7684\u5176\u4ed6\u5c5e\u6027\u548c\u6d4f\u89c8\u5668\u81ea\u5e26\u7684 ",n.a.createElement(r["Link"],{to:"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea"},"textarea")," \u4e00\u81f4\u3002"),n.a.createElement("h4",{id:"inputsearch"},n.a.createElement(r["AnchorLink"],{to:"#inputsearch","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input.Search"),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("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"enterButton"),n.a.createElement("td",null,"\u662f\u5426\u6709\u786e\u8ba4\u6309\u94ae\uff0c\u53ef\u8bbe\u4e3a\u6309\u94ae\u6587\u5b57\u3002\u8be5\u5c5e\u6027\u4f1a\u4e0e ",n.a.createElement("code",null,"addonAfter")," \u51b2\u7a81\u3002"),n.a.createElement("td",null,"boolean | ReactNode"),n.a.createElement("td",null,"false")),n.a.createElement("tr",null,n.a.createElement("td",null,"loading"),n.a.createElement("td",null,"\u641c\u7d22 loading"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false")),n.a.createElement("tr",null,n.a.createElement("td",null,"onSearch"),n.a.createElement("td",null,"\u70b9\u51fb\u641c\u7d22\u56fe\u6807\u3001\u6e05\u9664\u56fe\u6807\uff0c\u6216\u6309\u4e0b\u56de\u8f66\u952e\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(value, event)"),n.a.createElement("td",null,"-")))),n.a.createElement("p",null,"\u5176\u4f59\u5c5e\u6027\u548c Input \u4e00\u81f4\u3002"),n.a.createElement("h4",{id:"inputgroup"},n.a.createElement(r["AnchorLink"],{to:"#inputgroup","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input.Group"),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("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"compact"),n.a.createElement("td",null,"\u662f\u5426\u7528\u7d27\u51d1\u6a21\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false")),n.a.createElement("tr",null,n.a.createElement("td",null,"size"),n.a.createElement("td",null,n.a.createElement("code",null,"Input.Group")," \u4e2d\u6240\u6709\u7684 ",n.a.createElement("code",null,"Input")," \u7684\u5927\u5c0f\uff0c\u53ef\u9009 ",n.a.createElement("code",null,"large")," ",n.a.createElement("code",null,"default")," ",n.a.createElement("code",null,"small")),n.a.createElement("td",null,"string"),n.a.createElement("td",null,n.a.createElement("code",null,"default"))))),n.a.createElement("h4",{id:"inputpassword"},n.a.createElement(r["AnchorLink"],{to:"#inputpassword","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input.Password"),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,"iconRender"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u5207\u6362\u6309\u94ae"),n.a.createElement("td",null,"(visible) => ReactNode"),n.a.createElement("td",null,"(visible) => (visible ? <EyeOutlined /> : <EyeInvisibleOutlined />)"),n.a.createElement("td",null,"4.3.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"visibilityToggle"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u5207\u6362\u6309\u94ae"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)))),n.a.createElement("h4",{id:"input-methods"},n.a.createElement(r["AnchorLink"],{to:"#input-methods","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Input 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,"\u53c2\u6570"),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("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,"(option?: ","{"," preventScroll?: boolean, cursor?: 'start' | 'end' | 'all' ","}",")"),n.a.createElement("td",null,"option - 4.10.0")))),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:"\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8-prefixsuffix-\u65f6input-\u4f1a\u5931\u53bb\u7126\u70b9"},n.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8-prefixsuffix-\u65f6input-\u4f1a\u5931\u53bb\u7126\u70b9","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8 ",n.a.createElement("code",null,"prefix/suffix")," \u65f6\uff0cInput \u4f1a\u5931\u53bb\u7126\u70b9\uff1f"),n.a.createElement("p",null,"\u5f53 Input \u52a8\u6001\u6dfb\u52a0\u6216\u8005\u5220\u9664 ",n.a.createElement("code",null,"prefix/suffix")," \u65f6\uff0cReact \u4f1a\u91cd\u65b0\u521b\u5efa DOM \u7ed3\u6784\u800c\u65b0\u7684 input \u662f\u6ca1\u6709\u7126\u70b9\u7684\u3002\u4f60\u53ef\u4ee5\u9884\u8bbe\u4e00\u4e2a\u7a7a\u7684 ",n.a.createElement("code",null,"<span />")," \u6765\u4fdd\u6301 DOM \u7ed3\u6784\u4e0d\u53d8\uff1a"),n.a.createElement("h3",{id:"\u4e3a\u4f55-textarea-\u53d7\u63a7\u65f6value-\u53ef\u4ee5\u8d85\u8fc7-maxlength"},n.a.createElement(r["AnchorLink"],{to:"#\u4e3a\u4f55-textarea-\u53d7\u63a7\u65f6value-\u53ef\u4ee5\u8d85\u8fc7-maxlength","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4e3a\u4f55 TextArea \u53d7\u63a7\u65f6\uff0c",n.a.createElement("code",null,"value")," \u53ef\u4ee5\u8d85\u8fc7 ",n.a.createElement("code",null,"maxLength"),"\uff1f"),n.a.createElement("p",null,"\u53d7\u63a7\u65f6\uff0c\u7ec4\u4ef6\u5e94\u8be5\u6309\u7167\u53d7\u63a7\u5185\u5bb9\u5c55\u793a\u3002\u4ee5\u9632\u6b62\u5728\u8868\u5355\u7ec4\u4ef6\u5185\u4f7f\u7528\u65f6\u663e\u793a\u503c\u548c\u63d0\u4ea4\u503c\u4e0d\u540c\u7684\u95ee\u9898\u3002")))))},MZF8:function(e,t,a){"use strict";var l=a("ogwx");a.d(t,"a",(function(){return l["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("k3GJ"),c=a("MZF8"),u=a("dEAq"),m=a("H1Ra");a("RZMt");function d(e,t){return p(e)||s(e,t)||o(e,t)||i()}function i(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function o(e,t){if(e){if("string"===typeof e)return E(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?E(e,t):void 0}}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function s(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,n,r=[],c=!0,u=!1;try{for(a=a.call(e);!(c=(l=a.next()).done);c=!0)if(r.push(l.value),t&&r.length===t)break}catch(m){u=!0,n=m}finally{try{c||null==a["return"]||a["return"]()}finally{if(u)throw n}}return r}}function p(e){if(Array.isArray(e))return e}function h(e,t){var a,l=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return l||(l=t.tsx?"tsx":"jsx"),l}var f=function(e){var t,a,i,o=Object(l["useRef"])(),E=Object(l["useContext"])(u["context"]),s=E.locale,p=Object(u["useLocaleProps"])(s,e),f=Object(u["useDemoUrl"])(p.identifier),b=p.demoUrl||f,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),k=1===Object.keys(p.sources).length,x=Object(u["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),w=Object(u["useRiddle"])((null===(a=p.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:p),N=Object(u["useMotions"])(p.motions||[],o.current),g=d(N,2),I=g[0],A=g[1],y=Object(u["useCopy"])(),L=d(y,2),_=L[0],O=L[1],j=Object(l["useState"])("_"),C=d(j,2),P=C[0],R=C[1],S=Object(l["useState"])(h(P,p.sources[P])),M=d(S,2),T=M[0],z=M[1],q=Object(l["useState"])(Boolean(p.defaultShowCode)),F=d(q,2),U=F[0],B=F[1],D=Object(l["useState"])(Math.random()),Z=d(D,2),J=Z[0],G=Z[1],H=p.sources[P][T]||p.sources[P].content,V=Object(u["useTSPlaygroundUrl"])(s,H),$=Object(l["useRef"])(),W=Object(u["usePrefersColor"])(),X=d(W,1),K=X[0];function Q(e){R(e),z(h(e,p.sources[e]))}return Object(l["useEffect"])((function(){G(Math.random())}),[K]),n.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:o,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:b,ref:$}):p.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&n.a.createElement(u["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"},x&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:x}),w&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:w}),p.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:A,onClick:function(){return I()}}),p.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return G(Math.random())}}),!(null===(i=p.hideActions)||void 0===i?void 0:i.includes("EXTERNAL"))&&n.a.createElement(u["Link"],{target:"_blank",to:b},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":O,onClick:function(){return _(H)}}),"tsx"===T&&U&&n.a.createElement(u["Link"],{target:"_blank",to:V},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(U?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return B(!U)}})),U&&n.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&n.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:P,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(m["a"],{code:H,lang:T,showCopy:!1}))))};t["default"]=f}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [36],
3
+ {
4
+ '5ot0': function (e, t, a) {
5
+ 'use strict';
6
+ a.r(t);
7
+ var l = a('q1tI'),
8
+ n = a.n(l),
9
+ r = a('dEAq'),
10
+ c = a('Zxc8'),
11
+ u = a('JjdP'),
12
+ m = n.a.memo(u['default']['input-basic'].component),
13
+ d = n.a.memo(u['default']['input-size'].component),
14
+ i = n.a.memo(u['default']['input-allowclear'].component),
15
+ o = n.a.memo(u['default']['input-presuffix'].component),
16
+ E = n.a.memo(u['default']['input-addon'].component),
17
+ s = n.a.memo(u['default']['input-search'].component),
18
+ p = n.a.memo(u['default']['input-search-input-loading'].component),
19
+ h = n.a.memo(u['default']['input-password-input'].component),
20
+ f = n.a.memo(u['default']['input-textarea'].component),
21
+ b = n.a.memo(u['default']['input-textarea-count'].component),
22
+ v = n.a.memo(u['default']['input-autosize-textarea'].component),
23
+ k = n.a.memo(u['default']['input-tooltip'].component),
24
+ x = n.a.memo(u['default']['input-focus'].component),
25
+ w = n.a.memo(u['default']['input-group'].component),
26
+ N = n.a.memo(u['default']['input-borderless'].component);
27
+ t['default'] = (e) => (
28
+ n.a.useEffect(() => {
29
+ var t;
30
+ null !== e &&
31
+ void 0 !== e &&
32
+ null !== (t = e.location) &&
33
+ void 0 !== t &&
34
+ t.hash &&
35
+ r['AnchorLink'].scrollToAnchor(
36
+ decodeURIComponent(e.location.hash.slice(1)),
37
+ );
38
+ }, []),
39
+ n.a.createElement(
40
+ n.a.Fragment,
41
+ null,
42
+ n.a.createElement(
43
+ n.a.Fragment,
44
+ null,
45
+ n.a.createElement(
46
+ 'div',
47
+ { className: 'markdown' },
48
+ n.a.createElement(
49
+ 'h1',
50
+ { id: 'input-\u8f93\u5165\u6846' },
51
+ n.a.createElement(
52
+ r['AnchorLink'],
53
+ {
54
+ to: '#input-\u8f93\u5165\u6846',
55
+ 'aria-hidden': 'true',
56
+ tabIndex: -1,
57
+ },
58
+ n.a.createElement('span', { className: 'icon icon-link' }),
59
+ ),
60
+ 'Input \u8f93\u5165\u6846',
61
+ ),
62
+ n.a.createElement(
63
+ 'p',
64
+ null,
65
+ '\u901a\u8fc7\u9f20\u6807\u6216\u952e\u76d8\u8f93\u5165\u5185\u5bb9\uff0c\u662f\u6700\u57fa\u7840\u7684\u8868\u5355\u57df\u7684\u5305\u88c5\u3002',
66
+ ),
67
+ n.a.createElement(
68
+ 'h2',
69
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
70
+ n.a.createElement(
71
+ r['AnchorLink'],
72
+ {
73
+ to: '#\u4f55\u65f6\u4f7f\u7528',
74
+ 'aria-hidden': 'true',
75
+ tabIndex: -1,
76
+ },
77
+ n.a.createElement('span', { className: 'icon icon-link' }),
78
+ ),
79
+ '\u4f55\u65f6\u4f7f\u7528',
80
+ ),
81
+ n.a.createElement(
82
+ 'ul',
83
+ null,
84
+ n.a.createElement(
85
+ 'li',
86
+ null,
87
+ '\u9700\u8981\u7528\u6237\u8f93\u5165\u8868\u5355\u57df\u5185\u5bb9\u65f6\u3002',
88
+ ),
89
+ n.a.createElement(
90
+ 'li',
91
+ null,
92
+ '\u63d0\u4f9b\u7ec4\u5408\u578b\u8f93\u5165\u6846\uff0c\u5e26\u641c\u7d22\u7684\u8f93\u5165\u6846\uff0c\u8fd8\u53ef\u4ee5\u8fdb\u884c\u5927\u5c0f\u9009\u62e9\u3002',
93
+ ),
94
+ ),
95
+ n.a.createElement(
96
+ 'h2',
97
+ { id: '\u4ee3\u7801\u6f14\u793a' },
98
+ n.a.createElement(
99
+ r['AnchorLink'],
100
+ {
101
+ to: '#\u4ee3\u7801\u6f14\u793a',
102
+ 'aria-hidden': 'true',
103
+ tabIndex: -1,
104
+ },
105
+ n.a.createElement('span', { className: 'icon icon-link' }),
106
+ ),
107
+ '\u4ee3\u7801\u6f14\u793a',
108
+ ),
109
+ n.a.createElement(
110
+ 'h3',
111
+ { id: '\u57fa\u672c\u4f7f\u7528' },
112
+ n.a.createElement(
113
+ r['AnchorLink'],
114
+ {
115
+ to: '#\u57fa\u672c\u4f7f\u7528',
116
+ 'aria-hidden': 'true',
117
+ tabIndex: -1,
118
+ },
119
+ n.a.createElement('span', { className: 'icon icon-link' }),
120
+ ),
121
+ '\u57fa\u672c\u4f7f\u7528',
122
+ ),
123
+ ),
124
+ n.a.createElement(
125
+ c['default'],
126
+ u['default']['input-basic'].previewerProps,
127
+ n.a.createElement(m, null),
128
+ ),
129
+ n.a.createElement(
130
+ 'div',
131
+ { className: 'markdown' },
132
+ n.a.createElement(
133
+ 'h3',
134
+ { id: '\u4e09\u79cd\u5927\u5c0f' },
135
+ n.a.createElement(
136
+ r['AnchorLink'],
137
+ {
138
+ to: '#\u4e09\u79cd\u5927\u5c0f',
139
+ 'aria-hidden': 'true',
140
+ tabIndex: -1,
141
+ },
142
+ n.a.createElement('span', { className: 'icon icon-link' }),
143
+ ),
144
+ '\u4e09\u79cd\u5927\u5c0f',
145
+ ),
146
+ ),
147
+ n.a.createElement(
148
+ c['default'],
149
+ u['default']['input-size'].previewerProps,
150
+ n.a.createElement(d, null),
151
+ ),
152
+ n.a.createElement(
153
+ 'div',
154
+ { className: 'markdown' },
155
+ n.a.createElement(
156
+ 'h3',
157
+ { id: '\u5e26\u79fb\u9664\u56fe\u6807' },
158
+ n.a.createElement(
159
+ r['AnchorLink'],
160
+ {
161
+ to: '#\u5e26\u79fb\u9664\u56fe\u6807',
162
+ 'aria-hidden': 'true',
163
+ tabIndex: -1,
164
+ },
165
+ n.a.createElement('span', { className: 'icon icon-link' }),
166
+ ),
167
+ '\u5e26\u79fb\u9664\u56fe\u6807',
168
+ ),
169
+ ),
170
+ n.a.createElement(
171
+ c['default'],
172
+ u['default']['input-allowclear'].previewerProps,
173
+ n.a.createElement(i, null),
174
+ ),
175
+ n.a.createElement(
176
+ 'div',
177
+ { className: 'markdown' },
178
+ n.a.createElement(
179
+ 'h3',
180
+ { id: '\u524d\u7f00\u548c\u540e\u7f00' },
181
+ n.a.createElement(
182
+ r['AnchorLink'],
183
+ {
184
+ to: '#\u524d\u7f00\u548c\u540e\u7f00',
185
+ 'aria-hidden': 'true',
186
+ tabIndex: -1,
187
+ },
188
+ n.a.createElement('span', { className: 'icon icon-link' }),
189
+ ),
190
+ '\u524d\u7f00\u548c\u540e\u7f00',
191
+ ),
192
+ ),
193
+ n.a.createElement(
194
+ c['default'],
195
+ u['default']['input-presuffix'].previewerProps,
196
+ n.a.createElement(o, null),
197
+ ),
198
+ n.a.createElement(
199
+ 'div',
200
+ { className: 'markdown' },
201
+ n.a.createElement(
202
+ 'h3',
203
+ { id: '\u524d\u7f6e\u540e\u7f6e\u6807\u7b7e' },
204
+ n.a.createElement(
205
+ r['AnchorLink'],
206
+ {
207
+ to: '#\u524d\u7f6e\u540e\u7f6e\u6807\u7b7e',
208
+ 'aria-hidden': 'true',
209
+ tabIndex: -1,
210
+ },
211
+ n.a.createElement('span', { className: 'icon icon-link' }),
212
+ ),
213
+ '\u524d\u7f6e/\u540e\u7f6e\u6807\u7b7e',
214
+ ),
215
+ ),
216
+ n.a.createElement(
217
+ c['default'],
218
+ u['default']['input-addon'].previewerProps,
219
+ n.a.createElement(E, null),
220
+ ),
221
+ n.a.createElement(
222
+ 'div',
223
+ { className: 'markdown' },
224
+ n.a.createElement(
225
+ 'h3',
226
+ { id: '\u641c\u7d22\u6846' },
227
+ n.a.createElement(
228
+ r['AnchorLink'],
229
+ {
230
+ to: '#\u641c\u7d22\u6846',
231
+ 'aria-hidden': 'true',
232
+ tabIndex: -1,
233
+ },
234
+ n.a.createElement('span', { className: 'icon icon-link' }),
235
+ ),
236
+ '\u641c\u7d22\u6846',
237
+ ),
238
+ ),
239
+ n.a.createElement(
240
+ c['default'],
241
+ u['default']['input-search'].previewerProps,
242
+ n.a.createElement(s, null),
243
+ ),
244
+ n.a.createElement(
245
+ 'div',
246
+ { className: 'markdown' },
247
+ n.a.createElement(
248
+ 'h3',
249
+ { id: '\u641c\u7d22\u6846-loading' },
250
+ n.a.createElement(
251
+ r['AnchorLink'],
252
+ {
253
+ to: '#\u641c\u7d22\u6846-loading',
254
+ 'aria-hidden': 'true',
255
+ tabIndex: -1,
256
+ },
257
+ n.a.createElement('span', { className: 'icon icon-link' }),
258
+ ),
259
+ '\u641c\u7d22\u6846 loading',
260
+ ),
261
+ ),
262
+ n.a.createElement(
263
+ c['default'],
264
+ u['default']['input-search-input-loading'].previewerProps,
265
+ n.a.createElement(p, null),
266
+ ),
267
+ n.a.createElement(
268
+ 'div',
269
+ { className: 'markdown' },
270
+ n.a.createElement(
271
+ 'h3',
272
+ { id: '\u5bc6\u7801\u6846' },
273
+ n.a.createElement(
274
+ r['AnchorLink'],
275
+ {
276
+ to: '#\u5bc6\u7801\u6846',
277
+ 'aria-hidden': 'true',
278
+ tabIndex: -1,
279
+ },
280
+ n.a.createElement('span', { className: 'icon icon-link' }),
281
+ ),
282
+ '\u5bc6\u7801\u6846',
283
+ ),
284
+ ),
285
+ n.a.createElement(
286
+ c['default'],
287
+ u['default']['input-password-input'].previewerProps,
288
+ n.a.createElement(h, null),
289
+ ),
290
+ n.a.createElement(
291
+ 'div',
292
+ { className: 'markdown' },
293
+ n.a.createElement(
294
+ 'h3',
295
+ { id: '\u6587\u672c\u57df' },
296
+ n.a.createElement(
297
+ r['AnchorLink'],
298
+ {
299
+ to: '#\u6587\u672c\u57df',
300
+ 'aria-hidden': 'true',
301
+ tabIndex: -1,
302
+ },
303
+ n.a.createElement('span', { className: 'icon icon-link' }),
304
+ ),
305
+ '\u6587\u672c\u57df',
306
+ ),
307
+ ),
308
+ n.a.createElement(
309
+ c['default'],
310
+ u['default']['input-textarea'].previewerProps,
311
+ n.a.createElement(f, null),
312
+ ),
313
+ n.a.createElement(
314
+ 'div',
315
+ { className: 'markdown' },
316
+ n.a.createElement(
317
+ 'h3',
318
+ {
319
+ id: '\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df',
320
+ },
321
+ n.a.createElement(
322
+ r['AnchorLink'],
323
+ {
324
+ to: '#\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df',
325
+ 'aria-hidden': 'true',
326
+ tabIndex: -1,
327
+ },
328
+ n.a.createElement('span', { className: 'icon icon-link' }),
329
+ ),
330
+ '\u5e26\u5b57\u6570\u63d0\u793a\u7684\u6587\u672c\u57df',
331
+ ),
332
+ ),
333
+ n.a.createElement(
334
+ c['default'],
335
+ u['default']['input-textarea-count'].previewerProps,
336
+ n.a.createElement(b, null),
337
+ ),
338
+ n.a.createElement(
339
+ 'div',
340
+ { className: 'markdown' },
341
+ n.a.createElement(
342
+ 'h3',
343
+ {
344
+ id: '\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df',
345
+ },
346
+ n.a.createElement(
347
+ r['AnchorLink'],
348
+ {
349
+ to: '#\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df',
350
+ 'aria-hidden': 'true',
351
+ tabIndex: -1,
352
+ },
353
+ n.a.createElement('span', { className: 'icon icon-link' }),
354
+ ),
355
+ '\u9002\u5e94\u6587\u672c\u9ad8\u5ea6\u7684\u6587\u672c\u57df',
356
+ ),
357
+ ),
358
+ n.a.createElement(
359
+ c['default'],
360
+ u['default']['input-autosize-textarea'].previewerProps,
361
+ n.a.createElement(v, null),
362
+ ),
363
+ n.a.createElement(
364
+ 'div',
365
+ { className: 'markdown' },
366
+ n.a.createElement(
367
+ 'h3',
368
+ { id: '\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a' },
369
+ n.a.createElement(
370
+ r['AnchorLink'],
371
+ {
372
+ to: '#\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a',
373
+ 'aria-hidden': 'true',
374
+ tabIndex: -1,
375
+ },
376
+ n.a.createElement('span', { className: 'icon icon-link' }),
377
+ ),
378
+ '\u8f93\u5165\u65f6\u683c\u5f0f\u5316\u5c55\u793a',
379
+ ),
380
+ ),
381
+ n.a.createElement(
382
+ c['default'],
383
+ u['default']['input-tooltip'].previewerProps,
384
+ n.a.createElement(k, null),
385
+ ),
386
+ n.a.createElement(
387
+ 'div',
388
+ { className: 'markdown' },
389
+ n.a.createElement(
390
+ 'h3',
391
+ { id: '\u805a\u7126' },
392
+ n.a.createElement(
393
+ r['AnchorLink'],
394
+ { to: '#\u805a\u7126', 'aria-hidden': 'true', tabIndex: -1 },
395
+ n.a.createElement('span', { className: 'icon icon-link' }),
396
+ ),
397
+ '\u805a\u7126',
398
+ ),
399
+ ),
400
+ n.a.createElement(
401
+ c['default'],
402
+ u['default']['input-focus'].previewerProps,
403
+ n.a.createElement(x, null),
404
+ ),
405
+ n.a.createElement(
406
+ 'div',
407
+ { className: 'markdown' },
408
+ n.a.createElement(
409
+ 'h3',
410
+ { id: '\u8f93\u5165\u6846\u7ec4\u5408' },
411
+ n.a.createElement(
412
+ r['AnchorLink'],
413
+ {
414
+ to: '#\u8f93\u5165\u6846\u7ec4\u5408',
415
+ 'aria-hidden': 'true',
416
+ tabIndex: -1,
417
+ },
418
+ n.a.createElement('span', { className: 'icon icon-link' }),
419
+ ),
420
+ '\u8f93\u5165\u6846\u7ec4\u5408',
421
+ ),
422
+ ),
423
+ n.a.createElement(
424
+ c['default'],
425
+ u['default']['input-group'].previewerProps,
426
+ n.a.createElement(w, null),
427
+ ),
428
+ n.a.createElement(
429
+ 'div',
430
+ { className: 'markdown' },
431
+ n.a.createElement(
432
+ 'h3',
433
+ { id: '\u65e0\u8fb9\u6846' },
434
+ n.a.createElement(
435
+ r['AnchorLink'],
436
+ {
437
+ to: '#\u65e0\u8fb9\u6846',
438
+ 'aria-hidden': 'true',
439
+ tabIndex: -1,
440
+ },
441
+ n.a.createElement('span', { className: 'icon icon-link' }),
442
+ ),
443
+ '\u65e0\u8fb9\u6846',
444
+ ),
445
+ ),
446
+ n.a.createElement(
447
+ c['default'],
448
+ u['default']['input-borderless'].previewerProps,
449
+ n.a.createElement(N, null),
450
+ ),
451
+ n.a.createElement(
452
+ 'div',
453
+ { className: 'markdown' },
454
+ n.a.createElement(
455
+ 'h2',
456
+ { id: 'api' },
457
+ n.a.createElement(
458
+ r['AnchorLink'],
459
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
460
+ n.a.createElement('span', { className: 'icon icon-link' }),
461
+ ),
462
+ 'API',
463
+ ),
464
+ n.a.createElement(
465
+ 'h3',
466
+ { id: 'input' },
467
+ n.a.createElement(
468
+ r['AnchorLink'],
469
+ { to: '#input', 'aria-hidden': 'true', tabIndex: -1 },
470
+ n.a.createElement('span', { className: 'icon icon-link' }),
471
+ ),
472
+ 'Input',
473
+ ),
474
+ n.a.createElement(
475
+ 'table',
476
+ null,
477
+ n.a.createElement(
478
+ 'thead',
479
+ null,
480
+ n.a.createElement(
481
+ 'tr',
482
+ null,
483
+ n.a.createElement('th', null, '\u53c2\u6570'),
484
+ n.a.createElement('th', null, '\u8bf4\u660e'),
485
+ n.a.createElement('th', null, '\u7c7b\u578b'),
486
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
487
+ n.a.createElement('th', null, '\u7248\u672c'),
488
+ ),
489
+ ),
490
+ n.a.createElement(
491
+ 'tbody',
492
+ null,
493
+ n.a.createElement(
494
+ 'tr',
495
+ null,
496
+ n.a.createElement('td', null, 'addonAfter'),
497
+ n.a.createElement(
498
+ 'td',
499
+ null,
500
+ '\u5e26\u6807\u7b7e\u7684 input\uff0c\u8bbe\u7f6e\u540e\u7f6e\u6807\u7b7e',
501
+ ),
502
+ n.a.createElement('td', null, 'ReactNode'),
503
+ n.a.createElement('td', null, '-'),
504
+ n.a.createElement('td', null),
505
+ ),
506
+ n.a.createElement(
507
+ 'tr',
508
+ null,
509
+ n.a.createElement('td', null, 'addonBefore'),
510
+ n.a.createElement(
511
+ 'td',
512
+ null,
513
+ '\u5e26\u6807\u7b7e\u7684 input\uff0c\u8bbe\u7f6e\u524d\u7f6e\u6807\u7b7e',
514
+ ),
515
+ n.a.createElement('td', null, 'ReactNode'),
516
+ n.a.createElement('td', null, '-'),
517
+ n.a.createElement('td', null),
518
+ ),
519
+ n.a.createElement(
520
+ 'tr',
521
+ null,
522
+ n.a.createElement('td', null, 'allowClear'),
523
+ n.a.createElement(
524
+ 'td',
525
+ null,
526
+ '\u53ef\u4ee5\u70b9\u51fb\u6e05\u9664\u56fe\u6807\u5220\u9664\u5185\u5bb9',
527
+ ),
528
+ n.a.createElement('td', null, 'boolean'),
529
+ n.a.createElement('td', null, '-'),
530
+ n.a.createElement('td', null),
531
+ ),
532
+ n.a.createElement(
533
+ 'tr',
534
+ null,
535
+ n.a.createElement('td', null, 'bordered'),
536
+ n.a.createElement(
537
+ 'td',
538
+ null,
539
+ '\u662f\u5426\u6709\u8fb9\u6846',
540
+ ),
541
+ n.a.createElement('td', null, 'boolean'),
542
+ n.a.createElement('td', null, 'true'),
543
+ n.a.createElement('td', null, '4.5.0'),
544
+ ),
545
+ n.a.createElement(
546
+ 'tr',
547
+ null,
548
+ n.a.createElement('td', null, 'defaultValue'),
549
+ n.a.createElement(
550
+ 'td',
551
+ null,
552
+ '\u8f93\u5165\u6846\u9ed8\u8ba4\u5185\u5bb9',
553
+ ),
554
+ n.a.createElement('td', null, 'string'),
555
+ n.a.createElement('td', null, '-'),
556
+ n.a.createElement('td', null),
557
+ ),
558
+ n.a.createElement(
559
+ 'tr',
560
+ null,
561
+ n.a.createElement('td', null, 'disabled'),
562
+ n.a.createElement(
563
+ 'td',
564
+ null,
565
+ '\u662f\u5426\u7981\u7528\u72b6\u6001\uff0c\u9ed8\u8ba4\u4e3a false',
566
+ ),
567
+ n.a.createElement('td', null, 'boolean'),
568
+ n.a.createElement('td', null, 'false'),
569
+ n.a.createElement('td', null),
570
+ ),
571
+ n.a.createElement(
572
+ 'tr',
573
+ null,
574
+ n.a.createElement('td', null, 'id'),
575
+ n.a.createElement(
576
+ 'td',
577
+ null,
578
+ '\u8f93\u5165\u6846\u7684 id',
579
+ ),
580
+ n.a.createElement('td', null, 'string'),
581
+ n.a.createElement('td', null, '-'),
582
+ n.a.createElement('td', null),
583
+ ),
584
+ n.a.createElement(
585
+ 'tr',
586
+ null,
587
+ n.a.createElement('td', null, 'maxLength'),
588
+ n.a.createElement('td', null, '\u6700\u5927\u957f\u5ea6'),
589
+ n.a.createElement('td', null, 'number'),
590
+ n.a.createElement('td', null, '-'),
591
+ n.a.createElement('td', null),
592
+ ),
593
+ n.a.createElement(
594
+ 'tr',
595
+ null,
596
+ n.a.createElement('td', null, 'prefix'),
597
+ n.a.createElement(
598
+ 'td',
599
+ null,
600
+ '\u5e26\u6709\u524d\u7f00\u56fe\u6807\u7684 input',
601
+ ),
602
+ n.a.createElement('td', null, 'ReactNode'),
603
+ n.a.createElement('td', null, '-'),
604
+ n.a.createElement('td', null),
605
+ ),
606
+ n.a.createElement(
607
+ 'tr',
608
+ null,
609
+ n.a.createElement('td', null, 'size'),
610
+ n.a.createElement(
611
+ 'td',
612
+ null,
613
+ '\u63a7\u4ef6\u5927\u5c0f\u3002\u6ce8\uff1a\u6807\u51c6\u8868\u5355\u5185\u7684\u8f93\u5165\u6846\u5927\u5c0f\u9650\u5236\u4e3a ',
614
+ n.a.createElement('code', null, 'large'),
615
+ ),
616
+ n.a.createElement(
617
+ 'td',
618
+ null,
619
+ n.a.createElement('code', null, 'large'),
620
+ ' | ',
621
+ n.a.createElement('code', null, 'middle'),
622
+ ' | ',
623
+ n.a.createElement('code', null, 'small'),
624
+ ),
625
+ n.a.createElement('td', null, '-'),
626
+ n.a.createElement('td', null),
627
+ ),
628
+ n.a.createElement(
629
+ 'tr',
630
+ null,
631
+ n.a.createElement('td', null, 'suffix'),
632
+ n.a.createElement(
633
+ 'td',
634
+ null,
635
+ '\u5e26\u6709\u540e\u7f00\u56fe\u6807\u7684 input',
636
+ ),
637
+ n.a.createElement('td', null, 'ReactNode'),
638
+ n.a.createElement('td', null, '-'),
639
+ n.a.createElement('td', null),
640
+ ),
641
+ n.a.createElement(
642
+ 'tr',
643
+ null,
644
+ n.a.createElement('td', null, 'type'),
645
+ n.a.createElement(
646
+ 'td',
647
+ null,
648
+ '\u58f0\u660e input \u7c7b\u578b\uff0c\u540c\u539f\u751f input \u6807\u7b7e\u7684 type \u5c5e\u6027\uff0c\u89c1\uff1a',
649
+ n.a.createElement(
650
+ r['Link'],
651
+ {
652
+ to: 'https://developer.mozilla.org/zh-CN/docs/Web/HTML/Element/input#%E5%B1%9E%E6%80%A7',
653
+ },
654
+ 'MDN',
655
+ ),
656
+ '(\u8bf7\u76f4\u63a5\u4f7f\u7528 ',
657
+ n.a.createElement('code', null, 'Input.TextArea'),
658
+ ' \u4ee3\u66ff ',
659
+ n.a.createElement('code', null, 'type="textarea"'),
660
+ ')',
661
+ ),
662
+ n.a.createElement('td', null, 'string'),
663
+ n.a.createElement(
664
+ 'td',
665
+ null,
666
+ n.a.createElement('code', null, 'text'),
667
+ ),
668
+ n.a.createElement('td', null),
669
+ ),
670
+ n.a.createElement(
671
+ 'tr',
672
+ null,
673
+ n.a.createElement('td', null, 'value'),
674
+ n.a.createElement(
675
+ 'td',
676
+ null,
677
+ '\u8f93\u5165\u6846\u5185\u5bb9',
678
+ ),
679
+ n.a.createElement('td', null, 'string'),
680
+ n.a.createElement('td', null, '-'),
681
+ n.a.createElement('td', null),
682
+ ),
683
+ n.a.createElement(
684
+ 'tr',
685
+ null,
686
+ n.a.createElement('td', null, 'onChange'),
687
+ n.a.createElement(
688
+ 'td',
689
+ null,
690
+ '\u8f93\u5165\u6846\u5185\u5bb9\u53d8\u5316\u65f6\u7684\u56de\u8c03',
691
+ ),
692
+ n.a.createElement('td', null, 'function(e)'),
693
+ n.a.createElement('td', null, '-'),
694
+ n.a.createElement('td', null),
695
+ ),
696
+ n.a.createElement(
697
+ 'tr',
698
+ null,
699
+ n.a.createElement('td', null, 'onPressEnter'),
700
+ n.a.createElement(
701
+ 'td',
702
+ null,
703
+ '\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03',
704
+ ),
705
+ n.a.createElement('td', null, 'function(e)'),
706
+ n.a.createElement('td', null, '-'),
707
+ n.a.createElement('td', null),
708
+ ),
709
+ ),
710
+ ),
711
+ n.a.createElement(
712
+ 'blockquote',
713
+ null,
714
+ n.a.createElement(
715
+ 'p',
716
+ null,
717
+ '\u5982\u679c ',
718
+ n.a.createElement('code', null, 'Input'),
719
+ ' \u5728 ',
720
+ n.a.createElement('code', null, 'Form.Item'),
721
+ ' \u5185\uff0c\u5e76\u4e14 ',
722
+ n.a.createElement('code', null, 'Form.Item'),
723
+ ' \u8bbe\u7f6e\u4e86 ',
724
+ n.a.createElement('code', null, 'id'),
725
+ ' \u548c ',
726
+ n.a.createElement('code', null, 'options'),
727
+ ' \u5c5e\u6027\uff0c\u5219 ',
728
+ n.a.createElement('code', null, 'value'),
729
+ ' ',
730
+ n.a.createElement('code', null, 'defaultValue'),
731
+ ' \u548c ',
732
+ n.a.createElement('code', null, 'id'),
733
+ ' \u5c5e\u6027\u4f1a\u88ab\u81ea\u52a8\u8bbe\u7f6e\u3002',
734
+ ),
735
+ ),
736
+ n.a.createElement(
737
+ 'p',
738
+ null,
739
+ 'Input \u7684\u5176\u4ed6\u5c5e\u6027\u548c React \u81ea\u5e26\u7684 ',
740
+ n.a.createElement(
741
+ r['Link'],
742
+ {
743
+ to: 'https://reactjs.org/docs/dom-elements.html#all-supported-html-attributes',
744
+ },
745
+ 'input',
746
+ ),
747
+ ' \u4e00\u81f4\u3002',
748
+ ),
749
+ n.a.createElement(
750
+ 'h3',
751
+ { id: 'inputtextarea' },
752
+ n.a.createElement(
753
+ r['AnchorLink'],
754
+ { to: '#inputtextarea', 'aria-hidden': 'true', tabIndex: -1 },
755
+ n.a.createElement('span', { className: 'icon icon-link' }),
756
+ ),
757
+ 'Input.TextArea',
758
+ ),
759
+ n.a.createElement(
760
+ 'table',
761
+ null,
762
+ n.a.createElement(
763
+ 'thead',
764
+ null,
765
+ n.a.createElement(
766
+ 'tr',
767
+ null,
768
+ n.a.createElement('th', null, '\u53c2\u6570'),
769
+ n.a.createElement('th', null, '\u8bf4\u660e'),
770
+ n.a.createElement('th', null, '\u7c7b\u578b'),
771
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
772
+ n.a.createElement('th', null, '\u7248\u672c'),
773
+ ),
774
+ ),
775
+ n.a.createElement(
776
+ 'tbody',
777
+ null,
778
+ n.a.createElement(
779
+ 'tr',
780
+ null,
781
+ n.a.createElement('td', null, 'allowClear'),
782
+ n.a.createElement(
783
+ 'td',
784
+ null,
785
+ '\u53ef\u4ee5\u70b9\u51fb\u6e05\u9664\u56fe\u6807\u5220\u9664\u5185\u5bb9',
786
+ ),
787
+ n.a.createElement('td', null, 'boolean'),
788
+ n.a.createElement('td', null, 'false'),
789
+ n.a.createElement('td', null),
790
+ ),
791
+ n.a.createElement(
792
+ 'tr',
793
+ null,
794
+ n.a.createElement('td', null, 'autoSize'),
795
+ n.a.createElement(
796
+ 'td',
797
+ null,
798
+ '\u81ea\u9002\u5e94\u5185\u5bb9\u9ad8\u5ea6\uff0c\u53ef\u8bbe\u7f6e\u4e3a true | false \u6216\u5bf9\u8c61\uff1a',
799
+ '{',
800
+ ' minRows: 2, maxRows: 6 ',
801
+ '}',
802
+ ),
803
+ n.a.createElement('td', null, 'boolean | object'),
804
+ n.a.createElement('td', null, 'false'),
805
+ n.a.createElement('td', null),
806
+ ),
807
+ n.a.createElement(
808
+ 'tr',
809
+ null,
810
+ n.a.createElement('td', null, 'bordered'),
811
+ n.a.createElement(
812
+ 'td',
813
+ null,
814
+ '\u662f\u5426\u6709\u8fb9\u6846',
815
+ ),
816
+ n.a.createElement('td', null, 'boolean'),
817
+ n.a.createElement('td', null, 'true'),
818
+ n.a.createElement('td', null, '4.5.0'),
819
+ ),
820
+ n.a.createElement(
821
+ 'tr',
822
+ null,
823
+ n.a.createElement('td', null, 'defaultValue'),
824
+ n.a.createElement(
825
+ 'td',
826
+ null,
827
+ '\u8f93\u5165\u6846\u9ed8\u8ba4\u5185\u5bb9',
828
+ ),
829
+ n.a.createElement('td', null, 'string'),
830
+ n.a.createElement('td', null, '-'),
831
+ n.a.createElement('td', null),
832
+ ),
833
+ n.a.createElement(
834
+ 'tr',
835
+ null,
836
+ n.a.createElement('td', null, 'maxLength'),
837
+ n.a.createElement(
838
+ 'td',
839
+ null,
840
+ '\u5185\u5bb9\u6700\u5927\u957f\u5ea6',
841
+ ),
842
+ n.a.createElement('td', null, 'number'),
843
+ n.a.createElement('td', null, '-'),
844
+ n.a.createElement('td', null, '4.7.0'),
845
+ ),
846
+ n.a.createElement(
847
+ 'tr',
848
+ null,
849
+ n.a.createElement('td', null, 'showCount'),
850
+ n.a.createElement(
851
+ 'td',
852
+ null,
853
+ '\u662f\u5426\u5c55\u793a\u5b57\u6570',
854
+ ),
855
+ n.a.createElement(
856
+ 'td',
857
+ null,
858
+ 'boolean | ',
859
+ '{',
860
+ ' formatter: (',
861
+ '{',
862
+ ' count: number, maxLength?: number ',
863
+ '}',
864
+ ') => string ',
865
+ '}',
866
+ ),
867
+ n.a.createElement('td', null, 'false'),
868
+ n.a.createElement('td', null, '4.7.0 (formatter: 4.10.0)'),
869
+ ),
870
+ n.a.createElement(
871
+ 'tr',
872
+ null,
873
+ n.a.createElement('td', null, 'value'),
874
+ n.a.createElement(
875
+ 'td',
876
+ null,
877
+ '\u8f93\u5165\u6846\u5185\u5bb9',
878
+ ),
879
+ n.a.createElement('td', null, 'string'),
880
+ n.a.createElement('td', null, '-'),
881
+ n.a.createElement('td', null),
882
+ ),
883
+ n.a.createElement(
884
+ 'tr',
885
+ null,
886
+ n.a.createElement('td', null, 'onPressEnter'),
887
+ n.a.createElement(
888
+ 'td',
889
+ null,
890
+ '\u6309\u4e0b\u56de\u8f66\u7684\u56de\u8c03',
891
+ ),
892
+ n.a.createElement('td', null, 'function(e)'),
893
+ n.a.createElement('td', null, '-'),
894
+ n.a.createElement('td', null),
895
+ ),
896
+ n.a.createElement(
897
+ 'tr',
898
+ null,
899
+ n.a.createElement('td', null, 'onResize'),
900
+ n.a.createElement('td', null, 'resize \u56de\u8c03'),
901
+ n.a.createElement(
902
+ 'td',
903
+ null,
904
+ 'function(',
905
+ '{',
906
+ ' width, height ',
907
+ '}',
908
+ ')',
909
+ ),
910
+ n.a.createElement('td', null, '-'),
911
+ n.a.createElement('td', null),
912
+ ),
913
+ ),
914
+ ),
915
+ n.a.createElement(
916
+ 'p',
917
+ null,
918
+ n.a.createElement('code', null, 'Input.TextArea'),
919
+ ' \u7684\u5176\u4ed6\u5c5e\u6027\u548c\u6d4f\u89c8\u5668\u81ea\u5e26\u7684 ',
920
+ n.a.createElement(
921
+ r['Link'],
922
+ {
923
+ to: 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea',
924
+ },
925
+ 'textarea',
926
+ ),
927
+ ' \u4e00\u81f4\u3002',
928
+ ),
929
+ n.a.createElement(
930
+ 'h4',
931
+ { id: 'inputsearch' },
932
+ n.a.createElement(
933
+ r['AnchorLink'],
934
+ { to: '#inputsearch', 'aria-hidden': 'true', tabIndex: -1 },
935
+ n.a.createElement('span', { className: 'icon icon-link' }),
936
+ ),
937
+ 'Input.Search',
938
+ ),
939
+ n.a.createElement(
940
+ 'table',
941
+ null,
942
+ n.a.createElement(
943
+ 'thead',
944
+ null,
945
+ n.a.createElement(
946
+ 'tr',
947
+ null,
948
+ n.a.createElement('th', null, '\u53c2\u6570'),
949
+ n.a.createElement('th', null, '\u8bf4\u660e'),
950
+ n.a.createElement('th', null, '\u7c7b\u578b'),
951
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
952
+ ),
953
+ ),
954
+ n.a.createElement(
955
+ 'tbody',
956
+ null,
957
+ n.a.createElement(
958
+ 'tr',
959
+ null,
960
+ n.a.createElement('td', null, 'enterButton'),
961
+ n.a.createElement(
962
+ 'td',
963
+ null,
964
+ '\u662f\u5426\u6709\u786e\u8ba4\u6309\u94ae\uff0c\u53ef\u8bbe\u4e3a\u6309\u94ae\u6587\u5b57\u3002\u8be5\u5c5e\u6027\u4f1a\u4e0e ',
965
+ n.a.createElement('code', null, 'addonAfter'),
966
+ ' \u51b2\u7a81\u3002',
967
+ ),
968
+ n.a.createElement('td', null, 'boolean | ReactNode'),
969
+ n.a.createElement('td', null, 'false'),
970
+ ),
971
+ n.a.createElement(
972
+ 'tr',
973
+ null,
974
+ n.a.createElement('td', null, 'loading'),
975
+ n.a.createElement('td', null, '\u641c\u7d22 loading'),
976
+ n.a.createElement('td', null, 'boolean'),
977
+ n.a.createElement('td', null, 'false'),
978
+ ),
979
+ n.a.createElement(
980
+ 'tr',
981
+ null,
982
+ n.a.createElement('td', null, 'onSearch'),
983
+ n.a.createElement(
984
+ 'td',
985
+ null,
986
+ '\u70b9\u51fb\u641c\u7d22\u56fe\u6807\u3001\u6e05\u9664\u56fe\u6807\uff0c\u6216\u6309\u4e0b\u56de\u8f66\u952e\u65f6\u7684\u56de\u8c03',
987
+ ),
988
+ n.a.createElement('td', null, 'function(value, event)'),
989
+ n.a.createElement('td', null, '-'),
990
+ ),
991
+ ),
992
+ ),
993
+ n.a.createElement(
994
+ 'p',
995
+ null,
996
+ '\u5176\u4f59\u5c5e\u6027\u548c Input \u4e00\u81f4\u3002',
997
+ ),
998
+ n.a.createElement(
999
+ 'h4',
1000
+ { id: 'inputgroup' },
1001
+ n.a.createElement(
1002
+ r['AnchorLink'],
1003
+ { to: '#inputgroup', 'aria-hidden': 'true', tabIndex: -1 },
1004
+ n.a.createElement('span', { className: 'icon icon-link' }),
1005
+ ),
1006
+ 'Input.Group',
1007
+ ),
1008
+ n.a.createElement(
1009
+ 'table',
1010
+ null,
1011
+ n.a.createElement(
1012
+ 'thead',
1013
+ null,
1014
+ n.a.createElement(
1015
+ 'tr',
1016
+ null,
1017
+ n.a.createElement('th', null, '\u53c2\u6570'),
1018
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1019
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1020
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1021
+ ),
1022
+ ),
1023
+ n.a.createElement(
1024
+ 'tbody',
1025
+ null,
1026
+ n.a.createElement(
1027
+ 'tr',
1028
+ null,
1029
+ n.a.createElement('td', null, 'compact'),
1030
+ n.a.createElement(
1031
+ 'td',
1032
+ null,
1033
+ '\u662f\u5426\u7528\u7d27\u51d1\u6a21\u5f0f',
1034
+ ),
1035
+ n.a.createElement('td', null, 'boolean'),
1036
+ n.a.createElement('td', null, 'false'),
1037
+ ),
1038
+ n.a.createElement(
1039
+ 'tr',
1040
+ null,
1041
+ n.a.createElement('td', null, 'size'),
1042
+ n.a.createElement(
1043
+ 'td',
1044
+ null,
1045
+ n.a.createElement('code', null, 'Input.Group'),
1046
+ ' \u4e2d\u6240\u6709\u7684 ',
1047
+ n.a.createElement('code', null, 'Input'),
1048
+ ' \u7684\u5927\u5c0f\uff0c\u53ef\u9009 ',
1049
+ n.a.createElement('code', null, 'large'),
1050
+ ' ',
1051
+ n.a.createElement('code', null, 'default'),
1052
+ ' ',
1053
+ n.a.createElement('code', null, 'small'),
1054
+ ),
1055
+ n.a.createElement('td', null, 'string'),
1056
+ n.a.createElement(
1057
+ 'td',
1058
+ null,
1059
+ n.a.createElement('code', null, 'default'),
1060
+ ),
1061
+ ),
1062
+ ),
1063
+ ),
1064
+ n.a.createElement(
1065
+ 'h4',
1066
+ { id: 'inputpassword' },
1067
+ n.a.createElement(
1068
+ r['AnchorLink'],
1069
+ { to: '#inputpassword', 'aria-hidden': 'true', tabIndex: -1 },
1070
+ n.a.createElement('span', { className: 'icon icon-link' }),
1071
+ ),
1072
+ 'Input.Password',
1073
+ ),
1074
+ n.a.createElement(
1075
+ 'table',
1076
+ null,
1077
+ n.a.createElement(
1078
+ 'thead',
1079
+ null,
1080
+ n.a.createElement(
1081
+ 'tr',
1082
+ null,
1083
+ n.a.createElement('th', null, '\u53c2\u6570'),
1084
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1085
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1086
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1087
+ n.a.createElement('th', null, '\u7248\u672c'),
1088
+ ),
1089
+ ),
1090
+ n.a.createElement(
1091
+ 'tbody',
1092
+ null,
1093
+ n.a.createElement(
1094
+ 'tr',
1095
+ null,
1096
+ n.a.createElement('td', null, 'iconRender'),
1097
+ n.a.createElement(
1098
+ 'td',
1099
+ null,
1100
+ '\u81ea\u5b9a\u4e49\u5207\u6362\u6309\u94ae',
1101
+ ),
1102
+ n.a.createElement('td', null, '(visible) => ReactNode'),
1103
+ n.a.createElement(
1104
+ 'td',
1105
+ null,
1106
+ '(visible) => (visible ? <EyeOutlined /> : <EyeInvisibleOutlined />)',
1107
+ ),
1108
+ n.a.createElement('td', null, '4.3.0'),
1109
+ ),
1110
+ n.a.createElement(
1111
+ 'tr',
1112
+ null,
1113
+ n.a.createElement('td', null, 'visibilityToggle'),
1114
+ n.a.createElement(
1115
+ 'td',
1116
+ null,
1117
+ '\u662f\u5426\u663e\u793a\u5207\u6362\u6309\u94ae',
1118
+ ),
1119
+ n.a.createElement('td', null, 'boolean'),
1120
+ n.a.createElement('td', null, 'true'),
1121
+ n.a.createElement('td', null),
1122
+ ),
1123
+ ),
1124
+ ),
1125
+ n.a.createElement(
1126
+ 'h4',
1127
+ { id: 'input-methods' },
1128
+ n.a.createElement(
1129
+ r['AnchorLink'],
1130
+ { to: '#input-methods', 'aria-hidden': 'true', tabIndex: -1 },
1131
+ n.a.createElement('span', { className: 'icon icon-link' }),
1132
+ ),
1133
+ 'Input Methods',
1134
+ ),
1135
+ n.a.createElement(
1136
+ 'table',
1137
+ null,
1138
+ n.a.createElement(
1139
+ 'thead',
1140
+ null,
1141
+ n.a.createElement(
1142
+ 'tr',
1143
+ null,
1144
+ n.a.createElement('th', null, '\u540d\u79f0'),
1145
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1146
+ n.a.createElement('th', null, '\u53c2\u6570'),
1147
+ n.a.createElement('th', null, '\u7248\u672c'),
1148
+ ),
1149
+ ),
1150
+ n.a.createElement(
1151
+ 'tbody',
1152
+ null,
1153
+ n.a.createElement(
1154
+ 'tr',
1155
+ null,
1156
+ n.a.createElement('td', null, 'blur'),
1157
+ n.a.createElement('td', null, '\u53d6\u6d88\u7126\u70b9'),
1158
+ n.a.createElement('td', null, '-'),
1159
+ n.a.createElement('td', null),
1160
+ ),
1161
+ n.a.createElement(
1162
+ 'tr',
1163
+ null,
1164
+ n.a.createElement('td', null, 'focus'),
1165
+ n.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
1166
+ n.a.createElement(
1167
+ 'td',
1168
+ null,
1169
+ '(option?: ',
1170
+ '{',
1171
+ " preventScroll?: boolean, cursor?: 'start' | 'end' | 'all' ",
1172
+ '}',
1173
+ ')',
1174
+ ),
1175
+ n.a.createElement('td', null, 'option - 4.10.0'),
1176
+ ),
1177
+ ),
1178
+ ),
1179
+ n.a.createElement(
1180
+ 'h2',
1181
+ { id: 'faq' },
1182
+ n.a.createElement(
1183
+ r['AnchorLink'],
1184
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
1185
+ n.a.createElement('span', { className: 'icon icon-link' }),
1186
+ ),
1187
+ 'FAQ',
1188
+ ),
1189
+ n.a.createElement(
1190
+ 'h3',
1191
+ {
1192
+ id: '\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8-prefixsuffix-\u65f6input-\u4f1a\u5931\u53bb\u7126\u70b9',
1193
+ },
1194
+ n.a.createElement(
1195
+ r['AnchorLink'],
1196
+ {
1197
+ to: '#\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8-prefixsuffix-\u65f6input-\u4f1a\u5931\u53bb\u7126\u70b9',
1198
+ 'aria-hidden': 'true',
1199
+ tabIndex: -1,
1200
+ },
1201
+ n.a.createElement('span', { className: 'icon icon-link' }),
1202
+ ),
1203
+ '\u4e3a\u4ec0\u4e48\u6211\u52a8\u6001\u6539\u53d8 ',
1204
+ n.a.createElement('code', null, 'prefix/suffix'),
1205
+ ' \u65f6\uff0cInput \u4f1a\u5931\u53bb\u7126\u70b9\uff1f',
1206
+ ),
1207
+ n.a.createElement(
1208
+ 'p',
1209
+ null,
1210
+ '\u5f53 Input \u52a8\u6001\u6dfb\u52a0\u6216\u8005\u5220\u9664 ',
1211
+ n.a.createElement('code', null, 'prefix/suffix'),
1212
+ ' \u65f6\uff0cReact \u4f1a\u91cd\u65b0\u521b\u5efa DOM \u7ed3\u6784\u800c\u65b0\u7684 input \u662f\u6ca1\u6709\u7126\u70b9\u7684\u3002\u4f60\u53ef\u4ee5\u9884\u8bbe\u4e00\u4e2a\u7a7a\u7684 ',
1213
+ n.a.createElement('code', null, '<span />'),
1214
+ ' \u6765\u4fdd\u6301 DOM \u7ed3\u6784\u4e0d\u53d8\uff1a',
1215
+ ),
1216
+ n.a.createElement(
1217
+ 'h3',
1218
+ {
1219
+ id: '\u4e3a\u4f55-textarea-\u53d7\u63a7\u65f6value-\u53ef\u4ee5\u8d85\u8fc7-maxlength',
1220
+ },
1221
+ n.a.createElement(
1222
+ r['AnchorLink'],
1223
+ {
1224
+ to: '#\u4e3a\u4f55-textarea-\u53d7\u63a7\u65f6value-\u53ef\u4ee5\u8d85\u8fc7-maxlength',
1225
+ 'aria-hidden': 'true',
1226
+ tabIndex: -1,
1227
+ },
1228
+ n.a.createElement('span', { className: 'icon icon-link' }),
1229
+ ),
1230
+ '\u4e3a\u4f55 TextArea \u53d7\u63a7\u65f6\uff0c',
1231
+ n.a.createElement('code', null, 'value'),
1232
+ ' \u53ef\u4ee5\u8d85\u8fc7 ',
1233
+ n.a.createElement('code', null, 'maxLength'),
1234
+ '\uff1f',
1235
+ ),
1236
+ n.a.createElement(
1237
+ 'p',
1238
+ null,
1239
+ '\u53d7\u63a7\u65f6\uff0c\u7ec4\u4ef6\u5e94\u8be5\u6309\u7167\u53d7\u63a7\u5185\u5bb9\u5c55\u793a\u3002\u4ee5\u9632\u6b62\u5728\u8868\u5355\u7ec4\u4ef6\u5185\u4f7f\u7528\u65f6\u663e\u793a\u503c\u548c\u63d0\u4ea4\u503c\u4e0d\u540c\u7684\u95ee\u9898\u3002',
1240
+ ),
1241
+ ),
1242
+ ),
1243
+ )
1244
+ );
1245
+ },
1246
+ MZF8: function (e, t, a) {
1247
+ 'use strict';
1248
+ var l = a('ogwx');
1249
+ a.d(t, 'a', function () {
1250
+ return l['b'];
1251
+ });
1252
+ a('VCU9');
1253
+ },
1254
+ RZMt: function (e, t, a) {},
1255
+ Zxc8: function (e, t, a) {
1256
+ 'use strict';
1257
+ a.r(t);
1258
+ var l = a('q1tI'),
1259
+ n = a.n(l),
1260
+ r = a('k3GJ'),
1261
+ c = a('MZF8'),
1262
+ u = a('dEAq'),
1263
+ m = a('H1Ra');
1264
+ a('RZMt');
1265
+ function d(e, t) {
1266
+ return p(e) || s(e, t) || o(e, t) || i();
1267
+ }
1268
+ function i() {
1269
+ throw new TypeError(
1270
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1271
+ );
1272
+ }
1273
+ function o(e, t) {
1274
+ if (e) {
1275
+ if ('string' === typeof e) return E(e, t);
1276
+ var a = Object.prototype.toString.call(e).slice(8, -1);
1277
+ return (
1278
+ 'Object' === a && e.constructor && (a = e.constructor.name),
1279
+ 'Map' === a || 'Set' === a
1280
+ ? Array.from(e)
1281
+ : 'Arguments' === a ||
1282
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
1283
+ ? E(e, t)
1284
+ : void 0
1285
+ );
1286
+ }
1287
+ }
1288
+ function E(e, t) {
1289
+ (null == t || t > e.length) && (t = e.length);
1290
+ for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
1291
+ return l;
1292
+ }
1293
+ function s(e, t) {
1294
+ var a =
1295
+ null == e
1296
+ ? null
1297
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
1298
+ e['@@iterator'];
1299
+ if (null != a) {
1300
+ var l,
1301
+ n,
1302
+ r = [],
1303
+ c = !0,
1304
+ u = !1;
1305
+ try {
1306
+ for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
1307
+ if ((r.push(l.value), t && r.length === t)) break;
1308
+ } catch (m) {
1309
+ (u = !0), (n = m);
1310
+ } finally {
1311
+ try {
1312
+ c || null == a['return'] || a['return']();
1313
+ } finally {
1314
+ if (u) throw n;
1315
+ }
1316
+ }
1317
+ return r;
1318
+ }
1319
+ }
1320
+ function p(e) {
1321
+ if (Array.isArray(e)) return e;
1322
+ }
1323
+ function h(e, t) {
1324
+ var a,
1325
+ l =
1326
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
1327
+ return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
1328
+ }
1329
+ var f = function (e) {
1330
+ var t,
1331
+ a,
1332
+ i,
1333
+ o = Object(l['useRef'])(),
1334
+ E = Object(l['useContext'])(u['context']),
1335
+ s = E.locale,
1336
+ p = Object(u['useLocaleProps'])(s, e),
1337
+ f = Object(u['useDemoUrl'])(p.identifier),
1338
+ b = p.demoUrl || f,
1339
+ v =
1340
+ (null === c['a'] || void 0 === c['a']
1341
+ ? void 0
1342
+ : c['a'].location.hash) === '#'.concat(p.identifier),
1343
+ k = 1 === Object.keys(p.sources).length,
1344
+ x = Object(u['useCodeSandbox'])(
1345
+ (
1346
+ null === (t = p.hideActions) || void 0 === t
1347
+ ? void 0
1348
+ : t.includes('CSB')
1349
+ )
1350
+ ? null
1351
+ : p,
1352
+ ),
1353
+ w = Object(u['useRiddle'])(
1354
+ (
1355
+ null === (a = p.hideActions) || void 0 === a
1356
+ ? void 0
1357
+ : a.includes('RIDDLE')
1358
+ )
1359
+ ? null
1360
+ : p,
1361
+ ),
1362
+ N = Object(u['useMotions'])(p.motions || [], o.current),
1363
+ g = d(N, 2),
1364
+ I = g[0],
1365
+ A = g[1],
1366
+ y = Object(u['useCopy'])(),
1367
+ L = d(y, 2),
1368
+ _ = L[0],
1369
+ O = L[1],
1370
+ j = Object(l['useState'])('_'),
1371
+ C = d(j, 2),
1372
+ P = C[0],
1373
+ R = C[1],
1374
+ S = Object(l['useState'])(h(P, p.sources[P])),
1375
+ M = d(S, 2),
1376
+ T = M[0],
1377
+ z = M[1],
1378
+ q = Object(l['useState'])(Boolean(p.defaultShowCode)),
1379
+ F = d(q, 2),
1380
+ U = F[0],
1381
+ B = F[1],
1382
+ D = Object(l['useState'])(Math.random()),
1383
+ Z = d(D, 2),
1384
+ J = Z[0],
1385
+ G = Z[1],
1386
+ H = p.sources[P][T] || p.sources[P].content,
1387
+ V = Object(u['useTSPlaygroundUrl'])(s, H),
1388
+ $ = Object(l['useRef'])(),
1389
+ W = Object(u['usePrefersColor'])(),
1390
+ X = d(W, 1),
1391
+ K = X[0];
1392
+ function Q(e) {
1393
+ R(e), z(h(e, p.sources[e]));
1394
+ }
1395
+ return (
1396
+ Object(l['useEffect'])(
1397
+ function () {
1398
+ G(Math.random());
1399
+ },
1400
+ [K],
1401
+ ),
1402
+ n.a.createElement(
1403
+ 'div',
1404
+ {
1405
+ style: p.style,
1406
+ className: [
1407
+ p.className,
1408
+ '__dumi-default-previewer',
1409
+ v ? '__dumi-default-previewer-target' : '',
1410
+ ]
1411
+ .filter(Boolean)
1412
+ .join(' '),
1413
+ id: p.identifier,
1414
+ 'data-debug': p.debug || void 0,
1415
+ 'data-iframe': p.iframe || void 0,
1416
+ },
1417
+ p.iframe &&
1418
+ n.a.createElement('div', {
1419
+ className: '__dumi-default-previewer-browser-nav',
1420
+ }),
1421
+ n.a.createElement(
1422
+ 'div',
1423
+ {
1424
+ ref: o,
1425
+ className: '__dumi-default-previewer-demo',
1426
+ style: {
1427
+ transform: p.transform ? 'translate(0, 0)' : void 0,
1428
+ padding:
1429
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
1430
+ background: p.background,
1431
+ },
1432
+ },
1433
+ p.iframe
1434
+ ? n.a.createElement('iframe', {
1435
+ title: 'dumi-previewer',
1436
+ style: {
1437
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
1438
+ },
1439
+ key: J,
1440
+ src: b,
1441
+ ref: $,
1442
+ })
1443
+ : p.children,
1444
+ ),
1445
+ n.a.createElement(
1446
+ 'div',
1447
+ {
1448
+ className: '__dumi-default-previewer-desc',
1449
+ 'data-title': p.title,
1450
+ },
1451
+ p.title &&
1452
+ n.a.createElement(
1453
+ u['AnchorLink'],
1454
+ { to: '#'.concat(p.identifier) },
1455
+ p.title,
1456
+ ),
1457
+ p.description &&
1458
+ n.a.createElement('div', {
1459
+ dangerouslySetInnerHTML: { __html: p.description },
1460
+ }),
1461
+ ),
1462
+ n.a.createElement(
1463
+ 'div',
1464
+ { className: '__dumi-default-previewer-actions' },
1465
+ x &&
1466
+ n.a.createElement('button', {
1467
+ title: 'Open demo on CodeSandbox.io',
1468
+ className: '__dumi-default-icon',
1469
+ role: 'codesandbox',
1470
+ onClick: x,
1471
+ }),
1472
+ w &&
1473
+ n.a.createElement('button', {
1474
+ title: 'Open demo on Riddle',
1475
+ className: '__dumi-default-icon',
1476
+ role: 'riddle',
1477
+ onClick: w,
1478
+ }),
1479
+ p.motions &&
1480
+ n.a.createElement('button', {
1481
+ title: 'Execute motions',
1482
+ className: '__dumi-default-icon',
1483
+ role: 'motions',
1484
+ disabled: A,
1485
+ onClick: function () {
1486
+ return I();
1487
+ },
1488
+ }),
1489
+ p.iframe &&
1490
+ n.a.createElement('button', {
1491
+ title: 'Reload demo iframe page',
1492
+ className: '__dumi-default-icon',
1493
+ role: 'refresh',
1494
+ onClick: function () {
1495
+ return G(Math.random());
1496
+ },
1497
+ }),
1498
+ !(null === (i = p.hideActions) || void 0 === i
1499
+ ? void 0
1500
+ : i.includes('EXTERNAL')) &&
1501
+ n.a.createElement(
1502
+ u['Link'],
1503
+ { target: '_blank', to: b },
1504
+ n.a.createElement('button', {
1505
+ title: 'Open demo in new tab',
1506
+ className: '__dumi-default-icon',
1507
+ role: 'open-demo',
1508
+ type: 'button',
1509
+ }),
1510
+ ),
1511
+ n.a.createElement('span', null),
1512
+ n.a.createElement('button', {
1513
+ title: 'Copy source code',
1514
+ className: '__dumi-default-icon',
1515
+ role: 'copy',
1516
+ 'data-status': O,
1517
+ onClick: function () {
1518
+ return _(H);
1519
+ },
1520
+ }),
1521
+ 'tsx' === T &&
1522
+ U &&
1523
+ n.a.createElement(
1524
+ u['Link'],
1525
+ { target: '_blank', to: V },
1526
+ n.a.createElement('button', {
1527
+ title: 'Get JSX via TypeScript Playground',
1528
+ className: '__dumi-default-icon',
1529
+ role: 'change-tsx',
1530
+ type: 'button',
1531
+ }),
1532
+ ),
1533
+ n.a.createElement('button', {
1534
+ title: 'Toggle source code panel',
1535
+ className: '__dumi-default-icon'.concat(
1536
+ U ? ' __dumi-default-btn-expand' : '',
1537
+ ),
1538
+ role: 'source',
1539
+ type: 'button',
1540
+ onClick: function () {
1541
+ return B(!U);
1542
+ },
1543
+ }),
1544
+ ),
1545
+ U &&
1546
+ n.a.createElement(
1547
+ 'div',
1548
+ { className: '__dumi-default-previewer-source-wrapper' },
1549
+ !k &&
1550
+ n.a.createElement(
1551
+ r['b'],
1552
+ {
1553
+ className: '__dumi-default-previewer-source-tab',
1554
+ prefixCls: '__dumi-default-tabs',
1555
+ moreIcon: '\xb7\xb7\xb7',
1556
+ defaultActiveKey: P,
1557
+ onChange: Q,
1558
+ },
1559
+ Object.keys(p.sources).map(function (e) {
1560
+ return n.a.createElement(r['a'], {
1561
+ tab:
1562
+ '_' === e ? 'index.'.concat(h(e, p.sources[e])) : e,
1563
+ key: e,
1564
+ });
1565
+ }),
1566
+ ),
1567
+ n.a.createElement(
1568
+ 'div',
1569
+ { className: '__dumi-default-previewer-source' },
1570
+ n.a.createElement(m['a'], { code: H, lang: T, showCopy: !1 }),
1571
+ ),
1572
+ ),
1573
+ )
1574
+ );
1575
+ };
1576
+ t['default'] = f;
1577
+ },
1578
+ },
1579
+ ]);