@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,1793 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[67],{"9JuZ":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"]["typography-basic"].component),o=n.a.memo(u["default"]["typography-title"].component),E=n.a.memo(u["default"]["typography-text"].component),i=n.a.memo(u["default"]["typography-interactive"].component),s=n.a.memo(u["default"]["typography-ellipsis"].component),p=n.a.memo(u["default"]["typography-ellipsis-middle"].component),h=n.a.memo(u["default"]["typography-suffix"].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:"typography-\u6392\u7248"},n.a.createElement(r["AnchorLink"],{to:"#typography-\u6392\u7248","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Typography \u6392\u7248"),n.a.createElement("p",null,"\u6587\u672c\u7684\u57fa\u672c\u683c\u5f0f\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,"\u5f53\u9700\u8981\u5c55\u793a\u6807\u9898\u3001\u6bb5\u843d\u3001\u5217\u8868\u5185\u5bb9\u65f6\u4f7f\u7528\uff0c\u5982\u6587\u7ae0/\u535a\u5ba2/\u65e5\u5fd7\u7684\u6587\u672c\u6837\u5f0f\u3002"),n.a.createElement("li",null,"\u5f53\u9700\u8981\u4e00\u5217\u57fa\u4e8e\u6587\u672c\u7684\u57fa\u7840\u64cd\u4f5c\u65f6\uff0c\u5982\u62f7\u8d1d/\u7701\u7565/\u53ef\u7f16\u8f91\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\u7528\u6cd5"},n.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c\u7528\u6cd5","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c\u7528\u6cd5")),n.a.createElement(c["default"],u["default"]["typography-basic"].previewerProps,n.a.createElement(d,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6807\u9898\u7ec4\u4ef6"},n.a.createElement(r["AnchorLink"],{to:"#\u6807\u9898\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6807\u9898\u7ec4\u4ef6")),n.a.createElement(c["default"],u["default"]["typography-title"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6"},n.a.createElement(r["AnchorLink"],{to:"#\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6")),n.a.createElement(c["default"],u["default"]["typography-text"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u53ef\u4ea4\u4e92"},n.a.createElement(r["AnchorLink"],{to:"#\u53ef\u4ea4\u4e92","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u53ef\u4ea4\u4e92")),n.a.createElement(c["default"],u["default"]["typography-interactive"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u7701\u7565\u53f7"},n.a.createElement(r["AnchorLink"],{to:"#\u7701\u7565\u53f7","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u7701\u7565\u53f7")),n.a.createElement(c["default"],u["default"]["typography-ellipsis"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u7701\u7565\u4e2d\u95f4"},n.a.createElement(r["AnchorLink"],{to:"#\u7701\u7565\u4e2d\u95f4","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u7701\u7565\u4e2d\u95f4"),n.a.createElement("blockquote",null,n.a.createElement("p",null,"\u4f7f\u7528 ",n.a.createElement("code",null,"ellipsis=","{","{"," suffix: ... ","}","}")," \u53ef\u4ee5\u5c01\u88c5\u4e00\u4e2a\u4ece\u4e2d\u95f4\u7701\u7565\u5185\u5bb9\u7684\u7ec4\u4ef6\uff0c\u9002\u5408\u4e8e\u9700\u8981\u4fdd\u7559\u6587\u672c\u672b\u4f4d\u7279\u5f81\u7684\u5185\u5bb9\u3002"))),n.a.createElement(c["default"],u["default"]["typography-ellipsis-middle"].previewerProps,n.a.createElement(p,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u540e\u7f00"},n.a.createElement(r["AnchorLink"],{to:"#\u540e\u7f00","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u540e\u7f00")),n.a.createElement(c["default"],u["default"]["typography-suffix"].previewerProps,n.a.createElement(h,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:"typographytext"},n.a.createElement(r["AnchorLink"],{to:"#typographytext","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Typography.Text"),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,"code"),n.a.createElement("td",null,"\u6dfb\u52a0\u4ee3\u7801\u6837\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,"copyable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"delete"),n.a.createElement("td",null,"\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\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,"disabled"),n.a.createElement("td",null,"\u7981\u7528\u6587\u672c"),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,"editable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"ellipsis"),n.a.createElement("td",null,"\u81ea\u52a8\u6ea2\u51fa\u7701\u7565"),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,"keyboard"),n.a.createElement("td",null,"\u6dfb\u52a0\u952e\u76d8\u6837\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.3.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"mark"),n.a.createElement("td",null,"\u6dfb\u52a0\u6807\u8bb0\u6837\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,"onClick"),n.a.createElement("td",null,"\u70b9\u51fb Text \u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"(event) => void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"strong"),n.a.createElement("td",null,"\u662f\u5426\u52a0\u7c97"),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,"italic"),n.a.createElement("td",null,"\u662f\u5426\u659c\u4f53"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.16.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"type"),n.a.createElement("td",null,"\u6587\u672c\u7c7b\u578b"),n.a.createElement("td",null,n.a.createElement("code",null,"secondary")," | ",n.a.createElement("code",null,"success")," | ",n.a.createElement("code",null,"warning")," | ",n.a.createElement("code",null,"danger")),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"success: 4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"underline"),n.a.createElement("td",null,"\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"typographytitle"},n.a.createElement(r["AnchorLink"],{to:"#typographytitle","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Typography.Title"),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,"code"),n.a.createElement("td",null,"\u6dfb\u52a0\u4ee3\u7801\u6837\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,"copyable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"delete"),n.a.createElement("td",null,"\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\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,"disabled"),n.a.createElement("td",null,"\u7981\u7528\u6587\u672c"),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,"editable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"ellipsis"),n.a.createElement("td",null,"\u81ea\u52a8\u6ea2\u51fa\u7701\u7565\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8bbe\u7f6e\u7701\u7565\u884c\u6570\u3001\u662f\u5426\u53ef\u5c55\u5f00\u3001\u6dfb\u52a0\u540e\u7f00\u7b49"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#ellipsis"},"ellipsis")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#ellipsis"},"ellipsis"))),n.a.createElement("tr",null,n.a.createElement("td",null,"level"),n.a.createElement("td",null,"\u91cd\u8981\u7a0b\u5ea6\uff0c\u76f8\u5f53\u4e8e ",n.a.createElement("code",null,"h1"),"\u3001",n.a.createElement("code",null,"h2"),"\u3001",n.a.createElement("code",null,"h3"),"\u3001",n.a.createElement("code",null,"h4"),"\u3001",n.a.createElement("code",null,"h5")),n.a.createElement("td",null,"number: 1, 2, 3, 4, 5"),n.a.createElement("td",null,"1"),n.a.createElement("td",null,"5: 4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"mark"),n.a.createElement("td",null,"\u6dfb\u52a0\u6807\u8bb0\u6837\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,"onClick"),n.a.createElement("td",null,"\u70b9\u51fb Title \u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"(event) => void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"italic"),n.a.createElement("td",null,"\u662f\u5426\u659c\u4f53"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.16.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"type"),n.a.createElement("td",null,"\u6587\u672c\u7c7b\u578b"),n.a.createElement("td",null,n.a.createElement("code",null,"secondary")," | ",n.a.createElement("code",null,"success")," | ",n.a.createElement("code",null,"warning")," | ",n.a.createElement("code",null,"danger")),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"success: 4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"underline"),n.a.createElement("td",null,"\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"typographyparagraph"},n.a.createElement(r["AnchorLink"],{to:"#typographyparagraph","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Typography.Paragraph"),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,"code"),n.a.createElement("td",null,"\u6dfb\u52a0\u4ee3\u7801\u6837\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,"copyable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#copyable"},"copyable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"delete"),n.a.createElement("td",null,"\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\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,"disabled"),n.a.createElement("td",null,"\u7981\u7528\u6587\u672c"),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,"editable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#editable"},"editable"))),n.a.createElement("tr",null,n.a.createElement("td",null,"ellipsis"),n.a.createElement("td",null,"\u81ea\u52a8\u6ea2\u51fa\u7701\u7565\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8bbe\u7f6e\u7701\u7565\u884c\u6570\u3001\u662f\u5426\u53ef\u5c55\u5f00\u3001\u6dfb\u52a0\u540e\u7f00\u7b49"),n.a.createElement("td",null,"boolean | ",n.a.createElement(r["AnchorLink"],{to:"#ellipsis"},"ellipsis")),n.a.createElement("td",null,"false"),n.a.createElement("td",null,n.a.createElement(r["AnchorLink"],{to:"#ellipsis"},"ellipsis"))),n.a.createElement("tr",null,n.a.createElement("td",null,"mark"),n.a.createElement("td",null,"\u6dfb\u52a0\u6807\u8bb0\u6837\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,"onClick"),n.a.createElement("td",null,"\u70b9\u51fb Paragraph \u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"(event) => void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"strong"),n.a.createElement("td",null,"\u662f\u5426\u52a0\u7c97"),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,"italic"),n.a.createElement("td",null,"\u662f\u5426\u659c\u4f53"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.16.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"type"),n.a.createElement("td",null,"\u6587\u672c\u7c7b\u578b"),n.a.createElement("td",null,n.a.createElement("code",null,"secondary")," | ",n.a.createElement("code",null,"success")," | ",n.a.createElement("code",null,"warning")," | ",n.a.createElement("code",null,"danger")),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"success: 4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"underline"),n.a.createElement("td",null,"\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"copyable"},n.a.createElement(r["AnchorLink"],{to:"#copyable","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"copyable"),n.a.createElement(m["a"],{code:"{\n text: string,\n onCopy: function,\n icon: ReactNode,\n tooltips: false | [ReactNode, ReactNode],\n}",lang:"unknown"}),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,"icon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u62f7\u8d1d\u56fe\u6807\uff1a[\u9ed8\u8ba4\u56fe\u6807, \u62f7\u8d1d\u540e\u7684\u56fe\u6807]"),n.a.createElement("td",null,"[ReactNode, ReactNode]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"text"),n.a.createElement("td",null,"\u62f7\u8d1d\u5230\u526a\u5207\u677f\u91cc\u7684\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,"tooltips"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u63d0\u793a\u6587\u6848\uff0c\u4e3a false \u65f6\u9690\u85cf\u6587\u6848"),n.a.createElement("td",null,"[ReactNode, ReactNode]"),n.a.createElement("td",null,"[",n.a.createElement("code",null,"\u590d\u5236"),", ",n.a.createElement("code",null,"\u590d\u5236\u6210\u529f"),"]"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onCopy"),n.a.createElement("td",null,"\u62f7\u8d1d\u6210\u529f\u7684\u56de\u8c03\u51fd\u6570"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"editable"},n.a.createElement(r["AnchorLink"],{to:"#editable","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"editable"),n.a.createElement(m["a"],{code:"{\n icon: ReactNode,\n tooltip: boolean | ReactNode,\n editing: boolean,\n maxLength: number,\n autoSize: boolean | { minRows: number, maxRows: number },\n onStart: function,\n onChange: function(string),\n onCancel: function,\n onEnd: function,\n}",lang:"unknown"}),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,"autoSize"),n.a.createElement("td",null,"\u81ea\u52a8 resize \u6587\u672c\u57df"),n.a.createElement("td",null,"boolean | ","{"," minRows: number, maxRows: number ","}"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"editing"),n.a.createElement("td",null,"\u63a7\u5236\u662f\u5426\u662f\u7f16\u8f91\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,"icon"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7f16\u8f91\u56fe\u6807"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,"<EditOutlined />"),n.a.createElement("td",null,"4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"maxLength"),n.a.createElement("td",null,"\u7f16\u8f91\u4e2d\u6587\u672c\u57df\u6700\u5927\u957f\u5ea6"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.4.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"tooltip"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u63d0\u793a\u6587\u672c\uff0c\u4e3a false \u65f6\u5173\u95ed"),n.a.createElement("td",null,"boolean | ReactNode"),n.a.createElement("td",null,n.a.createElement("code",null,"\u7f16\u8f91")),n.a.createElement("td",null,"4.6.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onCancel"),n.a.createElement("td",null,"\u6309 ESC \u9000\u51fa\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1"),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,"\u6587\u672c\u57df\u7f16\u8f91\u65f6\u89e6\u53d1"),n.a.createElement("td",null,"function(event)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onEnd"),n.a.createElement("td",null,"\u6309 ENTER \u7ed3\u675f\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.14.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onStart"),n.a.createElement("td",null,"\u8fdb\u5165\u7f16\u8f91\u4e2d\u72b6\u6001\u65f6\u89e6\u53d1"),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,"onCancel"),n.a.createElement("td",null,"\u6309 ESC \u9000\u51fa\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1"),n.a.createElement("td",null,"function"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"ellipsis"},n.a.createElement(r["AnchorLink"],{to:"#ellipsis","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"ellipsis"),n.a.createElement(m["a"],{code:"{\n rows: number,\n expandable: boolean,\n suffix: string,\n symbol: ReactNode,\n tooltip: boolean | ReactNode,\n onExpand: function(event),\n onEllipsis: function(ellipsis),\n}",lang:"unknown"}),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,"expandable"),n.a.createElement("td",null,"\u662f\u5426\u53ef\u5c55\u5f00"),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,"rows"),n.a.createElement("td",null,"\u6700\u591a\u663e\u793a\u7684\u884c\u6570"),n.a.createElement("td",null,"number"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"suffix"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u7701\u7565\u5185\u5bb9\u540e\u7f00"),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,"symbol"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u5c55\u5f00\u63cf\u8ff0\u6587\u6848"),n.a.createElement("td",null,"ReactNode"),n.a.createElement("td",null,n.a.createElement("code",null,"\u5c55\u5f00")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"tooltip"),n.a.createElement("td",null,"\u7701\u7565\u65f6\uff0c\u5c55\u793a\u63d0\u793a\u4fe1\u606f"),n.a.createElement("td",null,"boolean | ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.11.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onEllipsis"),n.a.createElement("td",null,"\u89e6\u53d1\u7701\u7565\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(ellipsis)"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"4.2.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"onExpand"),n.a.createElement("td",null,"\u70b9\u51fb\u5c55\u5f00\u65f6\u7684\u56de\u8c03"),n.a.createElement("td",null,"function(event)"),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:"typographylink-\u5982\u4f55\u4e0e-react-router-\u5e93\u96c6\u6210"},n.a.createElement(r["AnchorLink"],{to:"#typographylink-\u5982\u4f55\u4e0e-react-router-\u5e93\u96c6\u6210","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Typography.Link \u5982\u4f55\u4e0e react-router \u5e93\u96c6\u6210\uff1f"),n.a.createElement("p",null,n.a.createElement("code",null,"react-router")," \u652f\u6301",n.a.createElement(r["Link"],{to:"https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/api/Link.md#component-reactcomponent"},"\u81ea\u5b9a\u4e49"),"\u6e32\u67d3\u7ec4\u4ef6\uff1a"),n.a.createElement(m["a"],{code:'<Link to="/" component={Typography.Link} />',lang:"bash"})))))},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,y=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(p.identifier),k=1===Object.keys(p.sources).length,g=Object(m["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),v=Object(m["useRiddle"])((null===(l=p.hideActions)||void 0===l?void 0:l.includes("RIDDLE"))?null:p),N=Object(m["useMotions"])(p.motions||[],E.current),x=d(N,2),w=x[0],A=x[1],L=Object(m["useCopy"])(),_=d(L,2),R=_[0],C=_[1],I=Object(a["useState"])("_"),j=d(I,2),O=j[0],S=j[1],T=Object(a["useState"])(h(O,p.sources[O])),P=d(T,2),M=P[0],q=P[1],Z=Object(a["useState"])(Boolean(p.defaultShowCode)),J=d(Z,2),U=J[0],F=J[1],$=Object(a["useState"])(Math.random()),z=d($,2),B=z[0],D=z[1],H=p.sources[O][M]||p.sources[O].content,G=Object(m["useTSPlaygroundUrl"])(s,H),X=Object(a["useRef"])(),K=Object(m["usePrefersColor"])(),Q=d(K,1),V=Q[0];function W(e){S(e),q(h(e,p.sources[e]))}return Object(a["useEffect"])((function(){D(Math.random())}),[V]),n.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",y?"__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:B,src:f,ref:X}):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}),v&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:v}),p.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:A,onClick:function(){return w()}}),p.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return D(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":C,onClick:function(){return R(H)}}),"tsx"===M&&U&&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(U?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return F(!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:O,onChange:W},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:H,lang:M,showCopy:!1}))))};t["default"]=b}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [67],
3
+ {
4
+ '9JuZ': 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']['typography-basic'].component),
14
+ o = n.a.memo(u['default']['typography-title'].component),
15
+ E = n.a.memo(u['default']['typography-text'].component),
16
+ i = n.a.memo(u['default']['typography-interactive'].component),
17
+ s = n.a.memo(u['default']['typography-ellipsis'].component),
18
+ p = n.a.memo(u['default']['typography-ellipsis-middle'].component),
19
+ h = n.a.memo(u['default']['typography-suffix'].component);
20
+ t['default'] = (e) => (
21
+ n.a.useEffect(() => {
22
+ var t;
23
+ null !== e &&
24
+ void 0 !== e &&
25
+ null !== (t = e.location) &&
26
+ void 0 !== t &&
27
+ t.hash &&
28
+ r['AnchorLink'].scrollToAnchor(
29
+ decodeURIComponent(e.location.hash.slice(1)),
30
+ );
31
+ }, []),
32
+ n.a.createElement(
33
+ n.a.Fragment,
34
+ null,
35
+ n.a.createElement(
36
+ n.a.Fragment,
37
+ null,
38
+ n.a.createElement(
39
+ 'div',
40
+ { className: 'markdown' },
41
+ n.a.createElement(
42
+ 'h1',
43
+ { id: 'typography-\u6392\u7248' },
44
+ n.a.createElement(
45
+ r['AnchorLink'],
46
+ {
47
+ to: '#typography-\u6392\u7248',
48
+ 'aria-hidden': 'true',
49
+ tabIndex: -1,
50
+ },
51
+ n.a.createElement('span', { className: 'icon icon-link' }),
52
+ ),
53
+ 'Typography \u6392\u7248',
54
+ ),
55
+ n.a.createElement(
56
+ 'p',
57
+ null,
58
+ '\u6587\u672c\u7684\u57fa\u672c\u683c\u5f0f\u3002',
59
+ ),
60
+ n.a.createElement(
61
+ 'h2',
62
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
63
+ n.a.createElement(
64
+ r['AnchorLink'],
65
+ {
66
+ to: '#\u4f55\u65f6\u4f7f\u7528',
67
+ 'aria-hidden': 'true',
68
+ tabIndex: -1,
69
+ },
70
+ n.a.createElement('span', { className: 'icon icon-link' }),
71
+ ),
72
+ '\u4f55\u65f6\u4f7f\u7528',
73
+ ),
74
+ n.a.createElement(
75
+ 'ul',
76
+ null,
77
+ n.a.createElement(
78
+ 'li',
79
+ null,
80
+ '\u5f53\u9700\u8981\u5c55\u793a\u6807\u9898\u3001\u6bb5\u843d\u3001\u5217\u8868\u5185\u5bb9\u65f6\u4f7f\u7528\uff0c\u5982\u6587\u7ae0/\u535a\u5ba2/\u65e5\u5fd7\u7684\u6587\u672c\u6837\u5f0f\u3002',
81
+ ),
82
+ n.a.createElement(
83
+ 'li',
84
+ null,
85
+ '\u5f53\u9700\u8981\u4e00\u5217\u57fa\u4e8e\u6587\u672c\u7684\u57fa\u7840\u64cd\u4f5c\u65f6\uff0c\u5982\u62f7\u8d1d/\u7701\u7565/\u53ef\u7f16\u8f91\u3002',
86
+ ),
87
+ ),
88
+ n.a.createElement(
89
+ 'h2',
90
+ { id: '\u4ee3\u7801\u6f14\u793a' },
91
+ n.a.createElement(
92
+ r['AnchorLink'],
93
+ {
94
+ to: '#\u4ee3\u7801\u6f14\u793a',
95
+ 'aria-hidden': 'true',
96
+ tabIndex: -1,
97
+ },
98
+ n.a.createElement('span', { className: 'icon icon-link' }),
99
+ ),
100
+ '\u4ee3\u7801\u6f14\u793a',
101
+ ),
102
+ n.a.createElement(
103
+ 'h3',
104
+ { id: '\u57fa\u672c\u7528\u6cd5' },
105
+ n.a.createElement(
106
+ r['AnchorLink'],
107
+ {
108
+ to: '#\u57fa\u672c\u7528\u6cd5',
109
+ 'aria-hidden': 'true',
110
+ tabIndex: -1,
111
+ },
112
+ n.a.createElement('span', { className: 'icon icon-link' }),
113
+ ),
114
+ '\u57fa\u672c\u7528\u6cd5',
115
+ ),
116
+ ),
117
+ n.a.createElement(
118
+ c['default'],
119
+ u['default']['typography-basic'].previewerProps,
120
+ n.a.createElement(d, null),
121
+ ),
122
+ n.a.createElement(
123
+ 'div',
124
+ { className: 'markdown' },
125
+ n.a.createElement(
126
+ 'h3',
127
+ { id: '\u6807\u9898\u7ec4\u4ef6' },
128
+ n.a.createElement(
129
+ r['AnchorLink'],
130
+ {
131
+ to: '#\u6807\u9898\u7ec4\u4ef6',
132
+ 'aria-hidden': 'true',
133
+ tabIndex: -1,
134
+ },
135
+ n.a.createElement('span', { className: 'icon icon-link' }),
136
+ ),
137
+ '\u6807\u9898\u7ec4\u4ef6',
138
+ ),
139
+ ),
140
+ n.a.createElement(
141
+ c['default'],
142
+ u['default']['typography-title'].previewerProps,
143
+ n.a.createElement(o, null),
144
+ ),
145
+ n.a.createElement(
146
+ 'div',
147
+ { className: 'markdown' },
148
+ n.a.createElement(
149
+ 'h3',
150
+ { id: '\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6' },
151
+ n.a.createElement(
152
+ r['AnchorLink'],
153
+ {
154
+ to: '#\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6',
155
+ 'aria-hidden': 'true',
156
+ tabIndex: -1,
157
+ },
158
+ n.a.createElement('span', { className: 'icon icon-link' }),
159
+ ),
160
+ '\u6587\u672c\u4e0e\u8d85\u94fe\u63a5\u7ec4\u4ef6',
161
+ ),
162
+ ),
163
+ n.a.createElement(
164
+ c['default'],
165
+ u['default']['typography-text'].previewerProps,
166
+ n.a.createElement(E, null),
167
+ ),
168
+ n.a.createElement(
169
+ 'div',
170
+ { className: 'markdown' },
171
+ n.a.createElement(
172
+ 'h3',
173
+ { id: '\u53ef\u4ea4\u4e92' },
174
+ n.a.createElement(
175
+ r['AnchorLink'],
176
+ {
177
+ to: '#\u53ef\u4ea4\u4e92',
178
+ 'aria-hidden': 'true',
179
+ tabIndex: -1,
180
+ },
181
+ n.a.createElement('span', { className: 'icon icon-link' }),
182
+ ),
183
+ '\u53ef\u4ea4\u4e92',
184
+ ),
185
+ ),
186
+ n.a.createElement(
187
+ c['default'],
188
+ u['default']['typography-interactive'].previewerProps,
189
+ n.a.createElement(i, null),
190
+ ),
191
+ n.a.createElement(
192
+ 'div',
193
+ { className: 'markdown' },
194
+ n.a.createElement(
195
+ 'h3',
196
+ { id: '\u7701\u7565\u53f7' },
197
+ n.a.createElement(
198
+ r['AnchorLink'],
199
+ {
200
+ to: '#\u7701\u7565\u53f7',
201
+ 'aria-hidden': 'true',
202
+ tabIndex: -1,
203
+ },
204
+ n.a.createElement('span', { className: 'icon icon-link' }),
205
+ ),
206
+ '\u7701\u7565\u53f7',
207
+ ),
208
+ ),
209
+ n.a.createElement(
210
+ c['default'],
211
+ u['default']['typography-ellipsis'].previewerProps,
212
+ n.a.createElement(s, null),
213
+ ),
214
+ n.a.createElement(
215
+ 'div',
216
+ { className: 'markdown' },
217
+ n.a.createElement(
218
+ 'h3',
219
+ { id: '\u7701\u7565\u4e2d\u95f4' },
220
+ n.a.createElement(
221
+ r['AnchorLink'],
222
+ {
223
+ to: '#\u7701\u7565\u4e2d\u95f4',
224
+ 'aria-hidden': 'true',
225
+ tabIndex: -1,
226
+ },
227
+ n.a.createElement('span', { className: 'icon icon-link' }),
228
+ ),
229
+ '\u7701\u7565\u4e2d\u95f4',
230
+ ),
231
+ n.a.createElement(
232
+ 'blockquote',
233
+ null,
234
+ n.a.createElement(
235
+ 'p',
236
+ null,
237
+ '\u4f7f\u7528 ',
238
+ n.a.createElement(
239
+ 'code',
240
+ null,
241
+ 'ellipsis=',
242
+ '{',
243
+ '{',
244
+ ' suffix: ... ',
245
+ '}',
246
+ '}',
247
+ ),
248
+ ' \u53ef\u4ee5\u5c01\u88c5\u4e00\u4e2a\u4ece\u4e2d\u95f4\u7701\u7565\u5185\u5bb9\u7684\u7ec4\u4ef6\uff0c\u9002\u5408\u4e8e\u9700\u8981\u4fdd\u7559\u6587\u672c\u672b\u4f4d\u7279\u5f81\u7684\u5185\u5bb9\u3002',
249
+ ),
250
+ ),
251
+ ),
252
+ n.a.createElement(
253
+ c['default'],
254
+ u['default']['typography-ellipsis-middle'].previewerProps,
255
+ n.a.createElement(p, null),
256
+ ),
257
+ n.a.createElement(
258
+ 'div',
259
+ { className: 'markdown' },
260
+ n.a.createElement(
261
+ 'h3',
262
+ { id: '\u540e\u7f00' },
263
+ n.a.createElement(
264
+ r['AnchorLink'],
265
+ { to: '#\u540e\u7f00', 'aria-hidden': 'true', tabIndex: -1 },
266
+ n.a.createElement('span', { className: 'icon icon-link' }),
267
+ ),
268
+ '\u540e\u7f00',
269
+ ),
270
+ ),
271
+ n.a.createElement(
272
+ c['default'],
273
+ u['default']['typography-suffix'].previewerProps,
274
+ n.a.createElement(h, null),
275
+ ),
276
+ n.a.createElement(
277
+ 'div',
278
+ { className: 'markdown' },
279
+ n.a.createElement(
280
+ 'h2',
281
+ { id: 'api' },
282
+ n.a.createElement(
283
+ r['AnchorLink'],
284
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
285
+ n.a.createElement('span', { className: 'icon icon-link' }),
286
+ ),
287
+ 'API',
288
+ ),
289
+ n.a.createElement(
290
+ 'h3',
291
+ { id: 'typographytext' },
292
+ n.a.createElement(
293
+ r['AnchorLink'],
294
+ {
295
+ to: '#typographytext',
296
+ 'aria-hidden': 'true',
297
+ tabIndex: -1,
298
+ },
299
+ n.a.createElement('span', { className: 'icon icon-link' }),
300
+ ),
301
+ 'Typography.Text',
302
+ ),
303
+ n.a.createElement(
304
+ 'table',
305
+ null,
306
+ n.a.createElement(
307
+ 'thead',
308
+ null,
309
+ n.a.createElement(
310
+ 'tr',
311
+ null,
312
+ n.a.createElement('th', null, '\u53c2\u6570'),
313
+ n.a.createElement('th', null, '\u8bf4\u660e'),
314
+ n.a.createElement('th', null, '\u7c7b\u578b'),
315
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
316
+ n.a.createElement('th', null, '\u7248\u672c'),
317
+ ),
318
+ ),
319
+ n.a.createElement(
320
+ 'tbody',
321
+ null,
322
+ n.a.createElement(
323
+ 'tr',
324
+ null,
325
+ n.a.createElement('td', null, 'code'),
326
+ n.a.createElement(
327
+ 'td',
328
+ null,
329
+ '\u6dfb\u52a0\u4ee3\u7801\u6837\u5f0f',
330
+ ),
331
+ n.a.createElement('td', null, 'boolean'),
332
+ n.a.createElement('td', null, 'false'),
333
+ n.a.createElement('td', null),
334
+ ),
335
+ n.a.createElement(
336
+ 'tr',
337
+ null,
338
+ n.a.createElement('td', null, 'copyable'),
339
+ n.a.createElement(
340
+ 'td',
341
+ null,
342
+ '\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49',
343
+ ),
344
+ n.a.createElement(
345
+ 'td',
346
+ null,
347
+ 'boolean | ',
348
+ n.a.createElement(
349
+ r['AnchorLink'],
350
+ { to: '#copyable' },
351
+ 'copyable',
352
+ ),
353
+ ),
354
+ n.a.createElement('td', null, 'false'),
355
+ n.a.createElement(
356
+ 'td',
357
+ null,
358
+ n.a.createElement(
359
+ r['AnchorLink'],
360
+ { to: '#copyable' },
361
+ 'copyable',
362
+ ),
363
+ ),
364
+ ),
365
+ n.a.createElement(
366
+ 'tr',
367
+ null,
368
+ n.a.createElement('td', null, 'delete'),
369
+ n.a.createElement(
370
+ 'td',
371
+ null,
372
+ '\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\u5f0f',
373
+ ),
374
+ n.a.createElement('td', null, 'boolean'),
375
+ n.a.createElement('td', null, 'false'),
376
+ n.a.createElement('td', null),
377
+ ),
378
+ n.a.createElement(
379
+ 'tr',
380
+ null,
381
+ n.a.createElement('td', null, 'disabled'),
382
+ n.a.createElement('td', null, '\u7981\u7528\u6587\u672c'),
383
+ n.a.createElement('td', null, 'boolean'),
384
+ n.a.createElement('td', null, 'false'),
385
+ n.a.createElement('td', null),
386
+ ),
387
+ n.a.createElement(
388
+ 'tr',
389
+ null,
390
+ n.a.createElement('td', null, 'editable'),
391
+ n.a.createElement(
392
+ 'td',
393
+ null,
394
+ '\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236',
395
+ ),
396
+ n.a.createElement(
397
+ 'td',
398
+ null,
399
+ 'boolean | ',
400
+ n.a.createElement(
401
+ r['AnchorLink'],
402
+ { to: '#editable' },
403
+ 'editable',
404
+ ),
405
+ ),
406
+ n.a.createElement('td', null, 'false'),
407
+ n.a.createElement(
408
+ 'td',
409
+ null,
410
+ n.a.createElement(
411
+ r['AnchorLink'],
412
+ { to: '#editable' },
413
+ 'editable',
414
+ ),
415
+ ),
416
+ ),
417
+ n.a.createElement(
418
+ 'tr',
419
+ null,
420
+ n.a.createElement('td', null, 'ellipsis'),
421
+ n.a.createElement(
422
+ 'td',
423
+ null,
424
+ '\u81ea\u52a8\u6ea2\u51fa\u7701\u7565',
425
+ ),
426
+ n.a.createElement('td', null, 'boolean'),
427
+ n.a.createElement('td', null, 'false'),
428
+ n.a.createElement('td', null),
429
+ ),
430
+ n.a.createElement(
431
+ 'tr',
432
+ null,
433
+ n.a.createElement('td', null, 'keyboard'),
434
+ n.a.createElement(
435
+ 'td',
436
+ null,
437
+ '\u6dfb\u52a0\u952e\u76d8\u6837\u5f0f',
438
+ ),
439
+ n.a.createElement('td', null, 'boolean'),
440
+ n.a.createElement('td', null, 'false'),
441
+ n.a.createElement('td', null, '4.3.0'),
442
+ ),
443
+ n.a.createElement(
444
+ 'tr',
445
+ null,
446
+ n.a.createElement('td', null, 'mark'),
447
+ n.a.createElement(
448
+ 'td',
449
+ null,
450
+ '\u6dfb\u52a0\u6807\u8bb0\u6837\u5f0f',
451
+ ),
452
+ n.a.createElement('td', null, 'boolean'),
453
+ n.a.createElement('td', null, 'false'),
454
+ n.a.createElement('td', null),
455
+ ),
456
+ n.a.createElement(
457
+ 'tr',
458
+ null,
459
+ n.a.createElement('td', null, 'onClick'),
460
+ n.a.createElement(
461
+ 'td',
462
+ null,
463
+ '\u70b9\u51fb Text \u65f6\u7684\u56de\u8c03',
464
+ ),
465
+ n.a.createElement('td', null, '(event) => void'),
466
+ n.a.createElement('td', null, '-'),
467
+ n.a.createElement('td', null),
468
+ ),
469
+ n.a.createElement(
470
+ 'tr',
471
+ null,
472
+ n.a.createElement('td', null, 'strong'),
473
+ n.a.createElement('td', null, '\u662f\u5426\u52a0\u7c97'),
474
+ n.a.createElement('td', null, 'boolean'),
475
+ n.a.createElement('td', null, 'false'),
476
+ n.a.createElement('td', null),
477
+ ),
478
+ n.a.createElement(
479
+ 'tr',
480
+ null,
481
+ n.a.createElement('td', null, 'italic'),
482
+ n.a.createElement('td', null, '\u662f\u5426\u659c\u4f53'),
483
+ n.a.createElement('td', null, 'boolean'),
484
+ n.a.createElement('td', null, 'false'),
485
+ n.a.createElement('td', null, '4.16.0'),
486
+ ),
487
+ n.a.createElement(
488
+ 'tr',
489
+ null,
490
+ n.a.createElement('td', null, 'type'),
491
+ n.a.createElement('td', null, '\u6587\u672c\u7c7b\u578b'),
492
+ n.a.createElement(
493
+ 'td',
494
+ null,
495
+ n.a.createElement('code', null, 'secondary'),
496
+ ' | ',
497
+ n.a.createElement('code', null, 'success'),
498
+ ' | ',
499
+ n.a.createElement('code', null, 'warning'),
500
+ ' | ',
501
+ n.a.createElement('code', null, 'danger'),
502
+ ),
503
+ n.a.createElement('td', null, '-'),
504
+ n.a.createElement('td', null, 'success: 4.6.0'),
505
+ ),
506
+ n.a.createElement(
507
+ 'tr',
508
+ null,
509
+ n.a.createElement('td', null, 'underline'),
510
+ n.a.createElement(
511
+ 'td',
512
+ null,
513
+ '\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f',
514
+ ),
515
+ n.a.createElement('td', null, 'boolean'),
516
+ n.a.createElement('td', null, 'false'),
517
+ n.a.createElement('td', null),
518
+ ),
519
+ ),
520
+ ),
521
+ n.a.createElement(
522
+ 'h3',
523
+ { id: 'typographytitle' },
524
+ n.a.createElement(
525
+ r['AnchorLink'],
526
+ {
527
+ to: '#typographytitle',
528
+ 'aria-hidden': 'true',
529
+ tabIndex: -1,
530
+ },
531
+ n.a.createElement('span', { className: 'icon icon-link' }),
532
+ ),
533
+ 'Typography.Title',
534
+ ),
535
+ n.a.createElement(
536
+ 'table',
537
+ null,
538
+ n.a.createElement(
539
+ 'thead',
540
+ null,
541
+ n.a.createElement(
542
+ 'tr',
543
+ null,
544
+ n.a.createElement('th', null, '\u53c2\u6570'),
545
+ n.a.createElement('th', null, '\u8bf4\u660e'),
546
+ n.a.createElement('th', null, '\u7c7b\u578b'),
547
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
548
+ n.a.createElement('th', null, '\u7248\u672c'),
549
+ ),
550
+ ),
551
+ n.a.createElement(
552
+ 'tbody',
553
+ null,
554
+ n.a.createElement(
555
+ 'tr',
556
+ null,
557
+ n.a.createElement('td', null, 'code'),
558
+ n.a.createElement(
559
+ 'td',
560
+ null,
561
+ '\u6dfb\u52a0\u4ee3\u7801\u6837\u5f0f',
562
+ ),
563
+ n.a.createElement('td', null, 'boolean'),
564
+ n.a.createElement('td', null, 'false'),
565
+ n.a.createElement('td', null),
566
+ ),
567
+ n.a.createElement(
568
+ 'tr',
569
+ null,
570
+ n.a.createElement('td', null, 'copyable'),
571
+ n.a.createElement(
572
+ 'td',
573
+ null,
574
+ '\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49',
575
+ ),
576
+ n.a.createElement(
577
+ 'td',
578
+ null,
579
+ 'boolean | ',
580
+ n.a.createElement(
581
+ r['AnchorLink'],
582
+ { to: '#copyable' },
583
+ 'copyable',
584
+ ),
585
+ ),
586
+ n.a.createElement('td', null, 'false'),
587
+ n.a.createElement(
588
+ 'td',
589
+ null,
590
+ n.a.createElement(
591
+ r['AnchorLink'],
592
+ { to: '#copyable' },
593
+ 'copyable',
594
+ ),
595
+ ),
596
+ ),
597
+ n.a.createElement(
598
+ 'tr',
599
+ null,
600
+ n.a.createElement('td', null, 'delete'),
601
+ n.a.createElement(
602
+ 'td',
603
+ null,
604
+ '\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\u5f0f',
605
+ ),
606
+ n.a.createElement('td', null, 'boolean'),
607
+ n.a.createElement('td', null, 'false'),
608
+ n.a.createElement('td', null),
609
+ ),
610
+ n.a.createElement(
611
+ 'tr',
612
+ null,
613
+ n.a.createElement('td', null, 'disabled'),
614
+ n.a.createElement('td', null, '\u7981\u7528\u6587\u672c'),
615
+ n.a.createElement('td', null, 'boolean'),
616
+ n.a.createElement('td', null, 'false'),
617
+ n.a.createElement('td', null),
618
+ ),
619
+ n.a.createElement(
620
+ 'tr',
621
+ null,
622
+ n.a.createElement('td', null, 'editable'),
623
+ n.a.createElement(
624
+ 'td',
625
+ null,
626
+ '\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236',
627
+ ),
628
+ n.a.createElement(
629
+ 'td',
630
+ null,
631
+ 'boolean | ',
632
+ n.a.createElement(
633
+ r['AnchorLink'],
634
+ { to: '#editable' },
635
+ 'editable',
636
+ ),
637
+ ),
638
+ n.a.createElement('td', null, 'false'),
639
+ n.a.createElement(
640
+ 'td',
641
+ null,
642
+ n.a.createElement(
643
+ r['AnchorLink'],
644
+ { to: '#editable' },
645
+ 'editable',
646
+ ),
647
+ ),
648
+ ),
649
+ n.a.createElement(
650
+ 'tr',
651
+ null,
652
+ n.a.createElement('td', null, 'ellipsis'),
653
+ n.a.createElement(
654
+ 'td',
655
+ null,
656
+ '\u81ea\u52a8\u6ea2\u51fa\u7701\u7565\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8bbe\u7f6e\u7701\u7565\u884c\u6570\u3001\u662f\u5426\u53ef\u5c55\u5f00\u3001\u6dfb\u52a0\u540e\u7f00\u7b49',
657
+ ),
658
+ n.a.createElement(
659
+ 'td',
660
+ null,
661
+ 'boolean | ',
662
+ n.a.createElement(
663
+ r['AnchorLink'],
664
+ { to: '#ellipsis' },
665
+ 'ellipsis',
666
+ ),
667
+ ),
668
+ n.a.createElement('td', null, 'false'),
669
+ n.a.createElement(
670
+ 'td',
671
+ null,
672
+ n.a.createElement(
673
+ r['AnchorLink'],
674
+ { to: '#ellipsis' },
675
+ 'ellipsis',
676
+ ),
677
+ ),
678
+ ),
679
+ n.a.createElement(
680
+ 'tr',
681
+ null,
682
+ n.a.createElement('td', null, 'level'),
683
+ n.a.createElement(
684
+ 'td',
685
+ null,
686
+ '\u91cd\u8981\u7a0b\u5ea6\uff0c\u76f8\u5f53\u4e8e ',
687
+ n.a.createElement('code', null, 'h1'),
688
+ '\u3001',
689
+ n.a.createElement('code', null, 'h2'),
690
+ '\u3001',
691
+ n.a.createElement('code', null, 'h3'),
692
+ '\u3001',
693
+ n.a.createElement('code', null, 'h4'),
694
+ '\u3001',
695
+ n.a.createElement('code', null, 'h5'),
696
+ ),
697
+ n.a.createElement('td', null, 'number: 1, 2, 3, 4, 5'),
698
+ n.a.createElement('td', null, '1'),
699
+ n.a.createElement('td', null, '5: 4.6.0'),
700
+ ),
701
+ n.a.createElement(
702
+ 'tr',
703
+ null,
704
+ n.a.createElement('td', null, 'mark'),
705
+ n.a.createElement(
706
+ 'td',
707
+ null,
708
+ '\u6dfb\u52a0\u6807\u8bb0\u6837\u5f0f',
709
+ ),
710
+ n.a.createElement('td', null, 'boolean'),
711
+ n.a.createElement('td', null, 'false'),
712
+ n.a.createElement('td', null),
713
+ ),
714
+ n.a.createElement(
715
+ 'tr',
716
+ null,
717
+ n.a.createElement('td', null, 'onClick'),
718
+ n.a.createElement(
719
+ 'td',
720
+ null,
721
+ '\u70b9\u51fb Title \u65f6\u7684\u56de\u8c03',
722
+ ),
723
+ n.a.createElement('td', null, '(event) => void'),
724
+ n.a.createElement('td', null, '-'),
725
+ n.a.createElement('td', null),
726
+ ),
727
+ n.a.createElement(
728
+ 'tr',
729
+ null,
730
+ n.a.createElement('td', null, 'italic'),
731
+ n.a.createElement('td', null, '\u662f\u5426\u659c\u4f53'),
732
+ n.a.createElement('td', null, 'boolean'),
733
+ n.a.createElement('td', null, 'false'),
734
+ n.a.createElement('td', null, '4.16.0'),
735
+ ),
736
+ n.a.createElement(
737
+ 'tr',
738
+ null,
739
+ n.a.createElement('td', null, 'type'),
740
+ n.a.createElement('td', null, '\u6587\u672c\u7c7b\u578b'),
741
+ n.a.createElement(
742
+ 'td',
743
+ null,
744
+ n.a.createElement('code', null, 'secondary'),
745
+ ' | ',
746
+ n.a.createElement('code', null, 'success'),
747
+ ' | ',
748
+ n.a.createElement('code', null, 'warning'),
749
+ ' | ',
750
+ n.a.createElement('code', null, 'danger'),
751
+ ),
752
+ n.a.createElement('td', null, '-'),
753
+ n.a.createElement('td', null, 'success: 4.6.0'),
754
+ ),
755
+ n.a.createElement(
756
+ 'tr',
757
+ null,
758
+ n.a.createElement('td', null, 'underline'),
759
+ n.a.createElement(
760
+ 'td',
761
+ null,
762
+ '\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f',
763
+ ),
764
+ n.a.createElement('td', null, 'boolean'),
765
+ n.a.createElement('td', null, 'false'),
766
+ n.a.createElement('td', null),
767
+ ),
768
+ ),
769
+ ),
770
+ n.a.createElement(
771
+ 'h3',
772
+ { id: 'typographyparagraph' },
773
+ n.a.createElement(
774
+ r['AnchorLink'],
775
+ {
776
+ to: '#typographyparagraph',
777
+ 'aria-hidden': 'true',
778
+ tabIndex: -1,
779
+ },
780
+ n.a.createElement('span', { className: 'icon icon-link' }),
781
+ ),
782
+ 'Typography.Paragraph',
783
+ ),
784
+ n.a.createElement(
785
+ 'table',
786
+ null,
787
+ n.a.createElement(
788
+ 'thead',
789
+ null,
790
+ n.a.createElement(
791
+ 'tr',
792
+ null,
793
+ n.a.createElement('th', null, '\u53c2\u6570'),
794
+ n.a.createElement('th', null, '\u8bf4\u660e'),
795
+ n.a.createElement('th', null, '\u7c7b\u578b'),
796
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
797
+ n.a.createElement('th', null, '\u7248\u672c'),
798
+ ),
799
+ ),
800
+ n.a.createElement(
801
+ 'tbody',
802
+ null,
803
+ n.a.createElement(
804
+ 'tr',
805
+ null,
806
+ n.a.createElement('td', null, 'code'),
807
+ n.a.createElement(
808
+ 'td',
809
+ null,
810
+ '\u6dfb\u52a0\u4ee3\u7801\u6837\u5f0f',
811
+ ),
812
+ n.a.createElement('td', null, 'boolean'),
813
+ n.a.createElement('td', null, 'false'),
814
+ n.a.createElement('td', null),
815
+ ),
816
+ n.a.createElement(
817
+ 'tr',
818
+ null,
819
+ n.a.createElement('td', null, 'copyable'),
820
+ n.a.createElement(
821
+ 'td',
822
+ null,
823
+ '\u662f\u5426\u53ef\u62f7\u8d1d\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8fdb\u884c\u5404\u79cd\u81ea\u5b9a\u4e49',
824
+ ),
825
+ n.a.createElement(
826
+ 'td',
827
+ null,
828
+ 'boolean | ',
829
+ n.a.createElement(
830
+ r['AnchorLink'],
831
+ { to: '#copyable' },
832
+ 'copyable',
833
+ ),
834
+ ),
835
+ n.a.createElement('td', null, 'false'),
836
+ n.a.createElement(
837
+ 'td',
838
+ null,
839
+ n.a.createElement(
840
+ r['AnchorLink'],
841
+ { to: '#copyable' },
842
+ 'copyable',
843
+ ),
844
+ ),
845
+ ),
846
+ n.a.createElement(
847
+ 'tr',
848
+ null,
849
+ n.a.createElement('td', null, 'delete'),
850
+ n.a.createElement(
851
+ 'td',
852
+ null,
853
+ '\u6dfb\u52a0\u5220\u9664\u7ebf\u6837\u5f0f',
854
+ ),
855
+ n.a.createElement('td', null, 'boolean'),
856
+ n.a.createElement('td', null, 'false'),
857
+ n.a.createElement('td', null),
858
+ ),
859
+ n.a.createElement(
860
+ 'tr',
861
+ null,
862
+ n.a.createElement('td', null, 'disabled'),
863
+ n.a.createElement('td', null, '\u7981\u7528\u6587\u672c'),
864
+ n.a.createElement('td', null, 'boolean'),
865
+ n.a.createElement('td', null, 'false'),
866
+ n.a.createElement('td', null),
867
+ ),
868
+ n.a.createElement(
869
+ 'tr',
870
+ null,
871
+ n.a.createElement('td', null, 'editable'),
872
+ n.a.createElement(
873
+ 'td',
874
+ null,
875
+ '\u662f\u5426\u53ef\u7f16\u8f91\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u5bf9\u7f16\u8f91\u8fdb\u884c\u63a7\u5236',
876
+ ),
877
+ n.a.createElement(
878
+ 'td',
879
+ null,
880
+ 'boolean | ',
881
+ n.a.createElement(
882
+ r['AnchorLink'],
883
+ { to: '#editable' },
884
+ 'editable',
885
+ ),
886
+ ),
887
+ n.a.createElement('td', null, 'false'),
888
+ n.a.createElement(
889
+ 'td',
890
+ null,
891
+ n.a.createElement(
892
+ r['AnchorLink'],
893
+ { to: '#editable' },
894
+ 'editable',
895
+ ),
896
+ ),
897
+ ),
898
+ n.a.createElement(
899
+ 'tr',
900
+ null,
901
+ n.a.createElement('td', null, 'ellipsis'),
902
+ n.a.createElement(
903
+ 'td',
904
+ null,
905
+ '\u81ea\u52a8\u6ea2\u51fa\u7701\u7565\uff0c\u4e3a\u5bf9\u8c61\u65f6\u53ef\u8bbe\u7f6e\u7701\u7565\u884c\u6570\u3001\u662f\u5426\u53ef\u5c55\u5f00\u3001\u6dfb\u52a0\u540e\u7f00\u7b49',
906
+ ),
907
+ n.a.createElement(
908
+ 'td',
909
+ null,
910
+ 'boolean | ',
911
+ n.a.createElement(
912
+ r['AnchorLink'],
913
+ { to: '#ellipsis' },
914
+ 'ellipsis',
915
+ ),
916
+ ),
917
+ n.a.createElement('td', null, 'false'),
918
+ n.a.createElement(
919
+ 'td',
920
+ null,
921
+ n.a.createElement(
922
+ r['AnchorLink'],
923
+ { to: '#ellipsis' },
924
+ 'ellipsis',
925
+ ),
926
+ ),
927
+ ),
928
+ n.a.createElement(
929
+ 'tr',
930
+ null,
931
+ n.a.createElement('td', null, 'mark'),
932
+ n.a.createElement(
933
+ 'td',
934
+ null,
935
+ '\u6dfb\u52a0\u6807\u8bb0\u6837\u5f0f',
936
+ ),
937
+ n.a.createElement('td', null, 'boolean'),
938
+ n.a.createElement('td', null, 'false'),
939
+ n.a.createElement('td', null),
940
+ ),
941
+ n.a.createElement(
942
+ 'tr',
943
+ null,
944
+ n.a.createElement('td', null, 'onClick'),
945
+ n.a.createElement(
946
+ 'td',
947
+ null,
948
+ '\u70b9\u51fb Paragraph \u65f6\u7684\u56de\u8c03',
949
+ ),
950
+ n.a.createElement('td', null, '(event) => void'),
951
+ n.a.createElement('td', null, '-'),
952
+ n.a.createElement('td', null),
953
+ ),
954
+ n.a.createElement(
955
+ 'tr',
956
+ null,
957
+ n.a.createElement('td', null, 'strong'),
958
+ n.a.createElement('td', null, '\u662f\u5426\u52a0\u7c97'),
959
+ n.a.createElement('td', null, 'boolean'),
960
+ n.a.createElement('td', null, 'false'),
961
+ n.a.createElement('td', null),
962
+ ),
963
+ n.a.createElement(
964
+ 'tr',
965
+ null,
966
+ n.a.createElement('td', null, 'italic'),
967
+ n.a.createElement('td', null, '\u662f\u5426\u659c\u4f53'),
968
+ n.a.createElement('td', null, 'boolean'),
969
+ n.a.createElement('td', null, 'false'),
970
+ n.a.createElement('td', null, '4.16.0'),
971
+ ),
972
+ n.a.createElement(
973
+ 'tr',
974
+ null,
975
+ n.a.createElement('td', null, 'type'),
976
+ n.a.createElement('td', null, '\u6587\u672c\u7c7b\u578b'),
977
+ n.a.createElement(
978
+ 'td',
979
+ null,
980
+ n.a.createElement('code', null, 'secondary'),
981
+ ' | ',
982
+ n.a.createElement('code', null, 'success'),
983
+ ' | ',
984
+ n.a.createElement('code', null, 'warning'),
985
+ ' | ',
986
+ n.a.createElement('code', null, 'danger'),
987
+ ),
988
+ n.a.createElement('td', null, '-'),
989
+ n.a.createElement('td', null, 'success: 4.6.0'),
990
+ ),
991
+ n.a.createElement(
992
+ 'tr',
993
+ null,
994
+ n.a.createElement('td', null, 'underline'),
995
+ n.a.createElement(
996
+ 'td',
997
+ null,
998
+ '\u6dfb\u52a0\u4e0b\u5212\u7ebf\u6837\u5f0f',
999
+ ),
1000
+ n.a.createElement('td', null, 'boolean'),
1001
+ n.a.createElement('td', null, 'false'),
1002
+ n.a.createElement('td', null),
1003
+ ),
1004
+ ),
1005
+ ),
1006
+ n.a.createElement(
1007
+ 'h3',
1008
+ { id: 'copyable' },
1009
+ n.a.createElement(
1010
+ r['AnchorLink'],
1011
+ { to: '#copyable', 'aria-hidden': 'true', tabIndex: -1 },
1012
+ n.a.createElement('span', { className: 'icon icon-link' }),
1013
+ ),
1014
+ 'copyable',
1015
+ ),
1016
+ n.a.createElement(m['a'], {
1017
+ code: '{\n text: string,\n onCopy: function,\n icon: ReactNode,\n tooltips: false | [ReactNode, ReactNode],\n}',
1018
+ lang: 'unknown',
1019
+ }),
1020
+ n.a.createElement(
1021
+ 'table',
1022
+ null,
1023
+ n.a.createElement(
1024
+ 'thead',
1025
+ null,
1026
+ n.a.createElement(
1027
+ 'tr',
1028
+ null,
1029
+ n.a.createElement('th', null, '\u53c2\u6570'),
1030
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1031
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1032
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1033
+ n.a.createElement('th', null, '\u7248\u672c'),
1034
+ ),
1035
+ ),
1036
+ n.a.createElement(
1037
+ 'tbody',
1038
+ null,
1039
+ n.a.createElement(
1040
+ 'tr',
1041
+ null,
1042
+ n.a.createElement('td', null, 'icon'),
1043
+ n.a.createElement(
1044
+ 'td',
1045
+ null,
1046
+ '\u81ea\u5b9a\u4e49\u62f7\u8d1d\u56fe\u6807\uff1a[\u9ed8\u8ba4\u56fe\u6807, \u62f7\u8d1d\u540e\u7684\u56fe\u6807]',
1047
+ ),
1048
+ n.a.createElement('td', null, '[ReactNode, ReactNode]'),
1049
+ n.a.createElement('td', null, '-'),
1050
+ n.a.createElement('td', null, '4.6.0'),
1051
+ ),
1052
+ n.a.createElement(
1053
+ 'tr',
1054
+ null,
1055
+ n.a.createElement('td', null, 'text'),
1056
+ n.a.createElement(
1057
+ 'td',
1058
+ null,
1059
+ '\u62f7\u8d1d\u5230\u526a\u5207\u677f\u91cc\u7684\u6587\u672c',
1060
+ ),
1061
+ n.a.createElement('td', null, 'string'),
1062
+ n.a.createElement('td', null, '-'),
1063
+ n.a.createElement('td', null),
1064
+ ),
1065
+ n.a.createElement(
1066
+ 'tr',
1067
+ null,
1068
+ n.a.createElement('td', null, 'tooltips'),
1069
+ n.a.createElement(
1070
+ 'td',
1071
+ null,
1072
+ '\u81ea\u5b9a\u4e49\u63d0\u793a\u6587\u6848\uff0c\u4e3a false \u65f6\u9690\u85cf\u6587\u6848',
1073
+ ),
1074
+ n.a.createElement('td', null, '[ReactNode, ReactNode]'),
1075
+ n.a.createElement(
1076
+ 'td',
1077
+ null,
1078
+ '[',
1079
+ n.a.createElement('code', null, '\u590d\u5236'),
1080
+ ', ',
1081
+ n.a.createElement(
1082
+ 'code',
1083
+ null,
1084
+ '\u590d\u5236\u6210\u529f',
1085
+ ),
1086
+ ']',
1087
+ ),
1088
+ n.a.createElement('td', null, '4.4.0'),
1089
+ ),
1090
+ n.a.createElement(
1091
+ 'tr',
1092
+ null,
1093
+ n.a.createElement('td', null, 'onCopy'),
1094
+ n.a.createElement(
1095
+ 'td',
1096
+ null,
1097
+ '\u62f7\u8d1d\u6210\u529f\u7684\u56de\u8c03\u51fd\u6570',
1098
+ ),
1099
+ n.a.createElement('td', null, 'function'),
1100
+ n.a.createElement('td', null, '-'),
1101
+ n.a.createElement('td', null),
1102
+ ),
1103
+ ),
1104
+ ),
1105
+ n.a.createElement(
1106
+ 'h3',
1107
+ { id: 'editable' },
1108
+ n.a.createElement(
1109
+ r['AnchorLink'],
1110
+ { to: '#editable', 'aria-hidden': 'true', tabIndex: -1 },
1111
+ n.a.createElement('span', { className: 'icon icon-link' }),
1112
+ ),
1113
+ 'editable',
1114
+ ),
1115
+ n.a.createElement(m['a'], {
1116
+ code: '{\n icon: ReactNode,\n tooltip: boolean | ReactNode,\n editing: boolean,\n maxLength: number,\n autoSize: boolean | { minRows: number, maxRows: number },\n onStart: function,\n onChange: function(string),\n onCancel: function,\n onEnd: function,\n}',
1117
+ lang: 'unknown',
1118
+ }),
1119
+ n.a.createElement(
1120
+ 'table',
1121
+ null,
1122
+ n.a.createElement(
1123
+ 'thead',
1124
+ null,
1125
+ n.a.createElement(
1126
+ 'tr',
1127
+ null,
1128
+ n.a.createElement('th', null, '\u53c2\u6570'),
1129
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1130
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1131
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1132
+ n.a.createElement('th', null, '\u7248\u672c'),
1133
+ ),
1134
+ ),
1135
+ n.a.createElement(
1136
+ 'tbody',
1137
+ null,
1138
+ n.a.createElement(
1139
+ 'tr',
1140
+ null,
1141
+ n.a.createElement('td', null, 'autoSize'),
1142
+ n.a.createElement(
1143
+ 'td',
1144
+ null,
1145
+ '\u81ea\u52a8 resize \u6587\u672c\u57df',
1146
+ ),
1147
+ n.a.createElement(
1148
+ 'td',
1149
+ null,
1150
+ 'boolean | ',
1151
+ '{',
1152
+ ' minRows: number, maxRows: number ',
1153
+ '}',
1154
+ ),
1155
+ n.a.createElement('td', null, '-'),
1156
+ n.a.createElement('td', null, '4.4.0'),
1157
+ ),
1158
+ n.a.createElement(
1159
+ 'tr',
1160
+ null,
1161
+ n.a.createElement('td', null, 'editing'),
1162
+ n.a.createElement(
1163
+ 'td',
1164
+ null,
1165
+ '\u63a7\u5236\u662f\u5426\u662f\u7f16\u8f91\u4e2d\u72b6\u6001',
1166
+ ),
1167
+ n.a.createElement('td', null, 'boolean'),
1168
+ n.a.createElement('td', null, 'false'),
1169
+ n.a.createElement('td', null),
1170
+ ),
1171
+ n.a.createElement(
1172
+ 'tr',
1173
+ null,
1174
+ n.a.createElement('td', null, 'icon'),
1175
+ n.a.createElement(
1176
+ 'td',
1177
+ null,
1178
+ '\u81ea\u5b9a\u4e49\u7f16\u8f91\u56fe\u6807',
1179
+ ),
1180
+ n.a.createElement('td', null, 'ReactNode'),
1181
+ n.a.createElement('td', null, '<EditOutlined />'),
1182
+ n.a.createElement('td', null, '4.6.0'),
1183
+ ),
1184
+ n.a.createElement(
1185
+ 'tr',
1186
+ null,
1187
+ n.a.createElement('td', null, 'maxLength'),
1188
+ n.a.createElement(
1189
+ 'td',
1190
+ null,
1191
+ '\u7f16\u8f91\u4e2d\u6587\u672c\u57df\u6700\u5927\u957f\u5ea6',
1192
+ ),
1193
+ n.a.createElement('td', null, 'number'),
1194
+ n.a.createElement('td', null, '-'),
1195
+ n.a.createElement('td', null, '4.4.0'),
1196
+ ),
1197
+ n.a.createElement(
1198
+ 'tr',
1199
+ null,
1200
+ n.a.createElement('td', null, 'tooltip'),
1201
+ n.a.createElement(
1202
+ 'td',
1203
+ null,
1204
+ '\u81ea\u5b9a\u4e49\u63d0\u793a\u6587\u672c\uff0c\u4e3a false \u65f6\u5173\u95ed',
1205
+ ),
1206
+ n.a.createElement('td', null, 'boolean | ReactNode'),
1207
+ n.a.createElement(
1208
+ 'td',
1209
+ null,
1210
+ n.a.createElement('code', null, '\u7f16\u8f91'),
1211
+ ),
1212
+ n.a.createElement('td', null, '4.6.0'),
1213
+ ),
1214
+ n.a.createElement(
1215
+ 'tr',
1216
+ null,
1217
+ n.a.createElement('td', null, 'onCancel'),
1218
+ n.a.createElement(
1219
+ 'td',
1220
+ null,
1221
+ '\u6309 ESC \u9000\u51fa\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1',
1222
+ ),
1223
+ n.a.createElement('td', null, 'function'),
1224
+ n.a.createElement('td', null, '-'),
1225
+ n.a.createElement('td', null),
1226
+ ),
1227
+ n.a.createElement(
1228
+ 'tr',
1229
+ null,
1230
+ n.a.createElement('td', null, 'onChange'),
1231
+ n.a.createElement(
1232
+ 'td',
1233
+ null,
1234
+ '\u6587\u672c\u57df\u7f16\u8f91\u65f6\u89e6\u53d1',
1235
+ ),
1236
+ n.a.createElement('td', null, 'function(event)'),
1237
+ n.a.createElement('td', null, '-'),
1238
+ n.a.createElement('td', null),
1239
+ ),
1240
+ n.a.createElement(
1241
+ 'tr',
1242
+ null,
1243
+ n.a.createElement('td', null, 'onEnd'),
1244
+ n.a.createElement(
1245
+ 'td',
1246
+ null,
1247
+ '\u6309 ENTER \u7ed3\u675f\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1',
1248
+ ),
1249
+ n.a.createElement('td', null, 'function'),
1250
+ n.a.createElement('td', null, '-'),
1251
+ n.a.createElement('td', null, '4.14.0'),
1252
+ ),
1253
+ n.a.createElement(
1254
+ 'tr',
1255
+ null,
1256
+ n.a.createElement('td', null, 'onStart'),
1257
+ n.a.createElement(
1258
+ 'td',
1259
+ null,
1260
+ '\u8fdb\u5165\u7f16\u8f91\u4e2d\u72b6\u6001\u65f6\u89e6\u53d1',
1261
+ ),
1262
+ n.a.createElement('td', null, 'function'),
1263
+ n.a.createElement('td', null, '-'),
1264
+ n.a.createElement('td', null),
1265
+ ),
1266
+ n.a.createElement(
1267
+ 'tr',
1268
+ null,
1269
+ n.a.createElement('td', null, 'onCancel'),
1270
+ n.a.createElement(
1271
+ 'td',
1272
+ null,
1273
+ '\u6309 ESC \u9000\u51fa\u7f16\u8f91\u72b6\u6001\u65f6\u89e6\u53d1',
1274
+ ),
1275
+ n.a.createElement('td', null, 'function'),
1276
+ n.a.createElement('td', null, '-'),
1277
+ n.a.createElement('td', null),
1278
+ ),
1279
+ ),
1280
+ ),
1281
+ n.a.createElement(
1282
+ 'h3',
1283
+ { id: 'ellipsis' },
1284
+ n.a.createElement(
1285
+ r['AnchorLink'],
1286
+ { to: '#ellipsis', 'aria-hidden': 'true', tabIndex: -1 },
1287
+ n.a.createElement('span', { className: 'icon icon-link' }),
1288
+ ),
1289
+ 'ellipsis',
1290
+ ),
1291
+ n.a.createElement(m['a'], {
1292
+ code: '{\n rows: number,\n expandable: boolean,\n suffix: string,\n symbol: ReactNode,\n tooltip: boolean | ReactNode,\n onExpand: function(event),\n onEllipsis: function(ellipsis),\n}',
1293
+ lang: 'unknown',
1294
+ }),
1295
+ n.a.createElement(
1296
+ 'table',
1297
+ null,
1298
+ n.a.createElement(
1299
+ 'thead',
1300
+ null,
1301
+ n.a.createElement(
1302
+ 'tr',
1303
+ null,
1304
+ n.a.createElement('th', null, '\u53c2\u6570'),
1305
+ n.a.createElement('th', null, '\u8bf4\u660e'),
1306
+ n.a.createElement('th', null, '\u7c7b\u578b'),
1307
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
1308
+ n.a.createElement('th', null, '\u7248\u672c'),
1309
+ ),
1310
+ ),
1311
+ n.a.createElement(
1312
+ 'tbody',
1313
+ null,
1314
+ n.a.createElement(
1315
+ 'tr',
1316
+ null,
1317
+ n.a.createElement('td', null, 'expandable'),
1318
+ n.a.createElement(
1319
+ 'td',
1320
+ null,
1321
+ '\u662f\u5426\u53ef\u5c55\u5f00',
1322
+ ),
1323
+ n.a.createElement('td', null, 'boolean'),
1324
+ n.a.createElement('td', null, '-'),
1325
+ n.a.createElement('td', null),
1326
+ ),
1327
+ n.a.createElement(
1328
+ 'tr',
1329
+ null,
1330
+ n.a.createElement('td', null, 'rows'),
1331
+ n.a.createElement(
1332
+ 'td',
1333
+ null,
1334
+ '\u6700\u591a\u663e\u793a\u7684\u884c\u6570',
1335
+ ),
1336
+ n.a.createElement('td', null, 'number'),
1337
+ n.a.createElement('td', null, '-'),
1338
+ n.a.createElement('td', null),
1339
+ ),
1340
+ n.a.createElement(
1341
+ 'tr',
1342
+ null,
1343
+ n.a.createElement('td', null, 'suffix'),
1344
+ n.a.createElement(
1345
+ 'td',
1346
+ null,
1347
+ '\u81ea\u5b9a\u4e49\u7701\u7565\u5185\u5bb9\u540e\u7f00',
1348
+ ),
1349
+ n.a.createElement('td', null, 'string'),
1350
+ n.a.createElement('td', null, '-'),
1351
+ n.a.createElement('td', null),
1352
+ ),
1353
+ n.a.createElement(
1354
+ 'tr',
1355
+ null,
1356
+ n.a.createElement('td', null, 'symbol'),
1357
+ n.a.createElement(
1358
+ 'td',
1359
+ null,
1360
+ '\u81ea\u5b9a\u4e49\u5c55\u5f00\u63cf\u8ff0\u6587\u6848',
1361
+ ),
1362
+ n.a.createElement('td', null, 'ReactNode'),
1363
+ n.a.createElement(
1364
+ 'td',
1365
+ null,
1366
+ n.a.createElement('code', null, '\u5c55\u5f00'),
1367
+ ),
1368
+ n.a.createElement('td', null),
1369
+ ),
1370
+ n.a.createElement(
1371
+ 'tr',
1372
+ null,
1373
+ n.a.createElement('td', null, 'tooltip'),
1374
+ n.a.createElement(
1375
+ 'td',
1376
+ null,
1377
+ '\u7701\u7565\u65f6\uff0c\u5c55\u793a\u63d0\u793a\u4fe1\u606f',
1378
+ ),
1379
+ n.a.createElement('td', null, 'boolean | ReactNode'),
1380
+ n.a.createElement('td', null, '-'),
1381
+ n.a.createElement('td', null, '4.11.0'),
1382
+ ),
1383
+ n.a.createElement(
1384
+ 'tr',
1385
+ null,
1386
+ n.a.createElement('td', null, 'onEllipsis'),
1387
+ n.a.createElement(
1388
+ 'td',
1389
+ null,
1390
+ '\u89e6\u53d1\u7701\u7565\u65f6\u7684\u56de\u8c03',
1391
+ ),
1392
+ n.a.createElement('td', null, 'function(ellipsis)'),
1393
+ n.a.createElement('td', null, '-'),
1394
+ n.a.createElement('td', null, '4.2.0'),
1395
+ ),
1396
+ n.a.createElement(
1397
+ 'tr',
1398
+ null,
1399
+ n.a.createElement('td', null, 'onExpand'),
1400
+ n.a.createElement(
1401
+ 'td',
1402
+ null,
1403
+ '\u70b9\u51fb\u5c55\u5f00\u65f6\u7684\u56de\u8c03',
1404
+ ),
1405
+ n.a.createElement('td', null, 'function(event)'),
1406
+ n.a.createElement('td', null, '-'),
1407
+ n.a.createElement('td', null),
1408
+ ),
1409
+ ),
1410
+ ),
1411
+ n.a.createElement(
1412
+ 'h2',
1413
+ { id: 'faq' },
1414
+ n.a.createElement(
1415
+ r['AnchorLink'],
1416
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
1417
+ n.a.createElement('span', { className: 'icon icon-link' }),
1418
+ ),
1419
+ 'FAQ',
1420
+ ),
1421
+ n.a.createElement(
1422
+ 'h3',
1423
+ {
1424
+ id: 'typographylink-\u5982\u4f55\u4e0e-react-router-\u5e93\u96c6\u6210',
1425
+ },
1426
+ n.a.createElement(
1427
+ r['AnchorLink'],
1428
+ {
1429
+ to: '#typographylink-\u5982\u4f55\u4e0e-react-router-\u5e93\u96c6\u6210',
1430
+ 'aria-hidden': 'true',
1431
+ tabIndex: -1,
1432
+ },
1433
+ n.a.createElement('span', { className: 'icon icon-link' }),
1434
+ ),
1435
+ 'Typography.Link \u5982\u4f55\u4e0e react-router \u5e93\u96c6\u6210\uff1f',
1436
+ ),
1437
+ n.a.createElement(
1438
+ 'p',
1439
+ null,
1440
+ n.a.createElement('code', null, 'react-router'),
1441
+ ' \u652f\u6301',
1442
+ n.a.createElement(
1443
+ r['Link'],
1444
+ {
1445
+ to: 'https://github.com/ReactTraining/react-router/blob/master/packages/react-router-dom/docs/api/Link.md#component-reactcomponent',
1446
+ },
1447
+ '\u81ea\u5b9a\u4e49',
1448
+ ),
1449
+ '\u6e32\u67d3\u7ec4\u4ef6\uff1a',
1450
+ ),
1451
+ n.a.createElement(m['a'], {
1452
+ code: '<Link to="/" component={Typography.Link} />',
1453
+ lang: 'bash',
1454
+ }),
1455
+ ),
1456
+ ),
1457
+ )
1458
+ );
1459
+ },
1460
+ MZF8: function (e, t, l) {
1461
+ 'use strict';
1462
+ var a = l('ogwx');
1463
+ l.d(t, 'a', function () {
1464
+ return a['b'];
1465
+ });
1466
+ l('VCU9');
1467
+ },
1468
+ RZMt: function (e, t, l) {},
1469
+ Zxc8: function (e, t, l) {
1470
+ 'use strict';
1471
+ l.r(t);
1472
+ var a = l('q1tI'),
1473
+ n = l.n(a),
1474
+ r = l('k3GJ'),
1475
+ c = l('MZF8'),
1476
+ m = l('dEAq'),
1477
+ u = l('H1Ra');
1478
+ l('RZMt');
1479
+ function d(e, t) {
1480
+ return p(e) || s(e, t) || E(e, t) || o();
1481
+ }
1482
+ function o() {
1483
+ throw new TypeError(
1484
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
1485
+ );
1486
+ }
1487
+ function E(e, t) {
1488
+ if (e) {
1489
+ if ('string' === typeof e) return i(e, t);
1490
+ var l = Object.prototype.toString.call(e).slice(8, -1);
1491
+ return (
1492
+ 'Object' === l && e.constructor && (l = e.constructor.name),
1493
+ 'Map' === l || 'Set' === l
1494
+ ? Array.from(e)
1495
+ : 'Arguments' === l ||
1496
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(l)
1497
+ ? i(e, t)
1498
+ : void 0
1499
+ );
1500
+ }
1501
+ }
1502
+ function i(e, t) {
1503
+ (null == t || t > e.length) && (t = e.length);
1504
+ for (var l = 0, a = new Array(t); l < t; l++) a[l] = e[l];
1505
+ return a;
1506
+ }
1507
+ function s(e, t) {
1508
+ var l =
1509
+ null == e
1510
+ ? null
1511
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
1512
+ e['@@iterator'];
1513
+ if (null != l) {
1514
+ var a,
1515
+ n,
1516
+ r = [],
1517
+ c = !0,
1518
+ m = !1;
1519
+ try {
1520
+ for (l = l.call(e); !(c = (a = l.next()).done); c = !0)
1521
+ if ((r.push(a.value), t && r.length === t)) break;
1522
+ } catch (u) {
1523
+ (m = !0), (n = u);
1524
+ } finally {
1525
+ try {
1526
+ c || null == l['return'] || l['return']();
1527
+ } finally {
1528
+ if (m) throw n;
1529
+ }
1530
+ }
1531
+ return r;
1532
+ }
1533
+ }
1534
+ function p(e) {
1535
+ if (Array.isArray(e)) return e;
1536
+ }
1537
+ function h(e, t) {
1538
+ var l,
1539
+ a =
1540
+ null === (l = e.match(/\.(\w+)$/)) || void 0 === l ? void 0 : l[1];
1541
+ return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
1542
+ }
1543
+ var b = function (e) {
1544
+ var t,
1545
+ l,
1546
+ o,
1547
+ E = Object(a['useRef'])(),
1548
+ i = Object(a['useContext'])(m['context']),
1549
+ s = i.locale,
1550
+ p = Object(m['useLocaleProps'])(s, e),
1551
+ b = Object(m['useDemoUrl'])(p.identifier),
1552
+ f = p.demoUrl || b,
1553
+ y =
1554
+ (null === c['a'] || void 0 === c['a']
1555
+ ? void 0
1556
+ : c['a'].location.hash) === '#'.concat(p.identifier),
1557
+ k = 1 === Object.keys(p.sources).length,
1558
+ g = Object(m['useCodeSandbox'])(
1559
+ (
1560
+ null === (t = p.hideActions) || void 0 === t
1561
+ ? void 0
1562
+ : t.includes('CSB')
1563
+ )
1564
+ ? null
1565
+ : p,
1566
+ ),
1567
+ v = Object(m['useRiddle'])(
1568
+ (
1569
+ null === (l = p.hideActions) || void 0 === l
1570
+ ? void 0
1571
+ : l.includes('RIDDLE')
1572
+ )
1573
+ ? null
1574
+ : p,
1575
+ ),
1576
+ N = Object(m['useMotions'])(p.motions || [], E.current),
1577
+ x = d(N, 2),
1578
+ w = x[0],
1579
+ A = x[1],
1580
+ L = Object(m['useCopy'])(),
1581
+ _ = d(L, 2),
1582
+ R = _[0],
1583
+ C = _[1],
1584
+ I = Object(a['useState'])('_'),
1585
+ j = d(I, 2),
1586
+ O = j[0],
1587
+ S = j[1],
1588
+ T = Object(a['useState'])(h(O, p.sources[O])),
1589
+ P = d(T, 2),
1590
+ M = P[0],
1591
+ q = P[1],
1592
+ Z = Object(a['useState'])(Boolean(p.defaultShowCode)),
1593
+ J = d(Z, 2),
1594
+ U = J[0],
1595
+ F = J[1],
1596
+ $ = Object(a['useState'])(Math.random()),
1597
+ z = d($, 2),
1598
+ B = z[0],
1599
+ D = z[1],
1600
+ H = p.sources[O][M] || p.sources[O].content,
1601
+ G = Object(m['useTSPlaygroundUrl'])(s, H),
1602
+ X = Object(a['useRef'])(),
1603
+ K = Object(m['usePrefersColor'])(),
1604
+ Q = d(K, 1),
1605
+ V = Q[0];
1606
+ function W(e) {
1607
+ S(e), q(h(e, p.sources[e]));
1608
+ }
1609
+ return (
1610
+ Object(a['useEffect'])(
1611
+ function () {
1612
+ D(Math.random());
1613
+ },
1614
+ [V],
1615
+ ),
1616
+ n.a.createElement(
1617
+ 'div',
1618
+ {
1619
+ style: p.style,
1620
+ className: [
1621
+ p.className,
1622
+ '__dumi-default-previewer',
1623
+ y ? '__dumi-default-previewer-target' : '',
1624
+ ]
1625
+ .filter(Boolean)
1626
+ .join(' '),
1627
+ id: p.identifier,
1628
+ 'data-debug': p.debug || void 0,
1629
+ 'data-iframe': p.iframe || void 0,
1630
+ },
1631
+ p.iframe &&
1632
+ n.a.createElement('div', {
1633
+ className: '__dumi-default-previewer-browser-nav',
1634
+ }),
1635
+ n.a.createElement(
1636
+ 'div',
1637
+ {
1638
+ ref: E,
1639
+ className: '__dumi-default-previewer-demo',
1640
+ style: {
1641
+ transform: p.transform ? 'translate(0, 0)' : void 0,
1642
+ padding:
1643
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
1644
+ background: p.background,
1645
+ },
1646
+ },
1647
+ p.iframe
1648
+ ? n.a.createElement('iframe', {
1649
+ title: 'dumi-previewer',
1650
+ style: {
1651
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
1652
+ },
1653
+ key: B,
1654
+ src: f,
1655
+ ref: X,
1656
+ })
1657
+ : p.children,
1658
+ ),
1659
+ n.a.createElement(
1660
+ 'div',
1661
+ {
1662
+ className: '__dumi-default-previewer-desc',
1663
+ 'data-title': p.title,
1664
+ },
1665
+ p.title &&
1666
+ n.a.createElement(
1667
+ m['AnchorLink'],
1668
+ { to: '#'.concat(p.identifier) },
1669
+ p.title,
1670
+ ),
1671
+ p.description &&
1672
+ n.a.createElement('div', {
1673
+ dangerouslySetInnerHTML: { __html: p.description },
1674
+ }),
1675
+ ),
1676
+ n.a.createElement(
1677
+ 'div',
1678
+ { className: '__dumi-default-previewer-actions' },
1679
+ g &&
1680
+ n.a.createElement('button', {
1681
+ title: 'Open demo on CodeSandbox.io',
1682
+ className: '__dumi-default-icon',
1683
+ role: 'codesandbox',
1684
+ onClick: g,
1685
+ }),
1686
+ v &&
1687
+ n.a.createElement('button', {
1688
+ title: 'Open demo on Riddle',
1689
+ className: '__dumi-default-icon',
1690
+ role: 'riddle',
1691
+ onClick: v,
1692
+ }),
1693
+ p.motions &&
1694
+ n.a.createElement('button', {
1695
+ title: 'Execute motions',
1696
+ className: '__dumi-default-icon',
1697
+ role: 'motions',
1698
+ disabled: A,
1699
+ onClick: function () {
1700
+ return w();
1701
+ },
1702
+ }),
1703
+ p.iframe &&
1704
+ n.a.createElement('button', {
1705
+ title: 'Reload demo iframe page',
1706
+ className: '__dumi-default-icon',
1707
+ role: 'refresh',
1708
+ onClick: function () {
1709
+ return D(Math.random());
1710
+ },
1711
+ }),
1712
+ !(null === (o = p.hideActions) || void 0 === o
1713
+ ? void 0
1714
+ : o.includes('EXTERNAL')) &&
1715
+ n.a.createElement(
1716
+ m['Link'],
1717
+ { target: '_blank', to: f },
1718
+ n.a.createElement('button', {
1719
+ title: 'Open demo in new tab',
1720
+ className: '__dumi-default-icon',
1721
+ role: 'open-demo',
1722
+ type: 'button',
1723
+ }),
1724
+ ),
1725
+ n.a.createElement('span', null),
1726
+ n.a.createElement('button', {
1727
+ title: 'Copy source code',
1728
+ className: '__dumi-default-icon',
1729
+ role: 'copy',
1730
+ 'data-status': C,
1731
+ onClick: function () {
1732
+ return R(H);
1733
+ },
1734
+ }),
1735
+ 'tsx' === M &&
1736
+ U &&
1737
+ n.a.createElement(
1738
+ m['Link'],
1739
+ { target: '_blank', to: G },
1740
+ n.a.createElement('button', {
1741
+ title: 'Get JSX via TypeScript Playground',
1742
+ className: '__dumi-default-icon',
1743
+ role: 'change-tsx',
1744
+ type: 'button',
1745
+ }),
1746
+ ),
1747
+ n.a.createElement('button', {
1748
+ title: 'Toggle source code panel',
1749
+ className: '__dumi-default-icon'.concat(
1750
+ U ? ' __dumi-default-btn-expand' : '',
1751
+ ),
1752
+ role: 'source',
1753
+ type: 'button',
1754
+ onClick: function () {
1755
+ return F(!U);
1756
+ },
1757
+ }),
1758
+ ),
1759
+ U &&
1760
+ n.a.createElement(
1761
+ 'div',
1762
+ { className: '__dumi-default-previewer-source-wrapper' },
1763
+ !k &&
1764
+ n.a.createElement(
1765
+ r['b'],
1766
+ {
1767
+ className: '__dumi-default-previewer-source-tab',
1768
+ prefixCls: '__dumi-default-tabs',
1769
+ moreIcon: '\xb7\xb7\xb7',
1770
+ defaultActiveKey: O,
1771
+ onChange: W,
1772
+ },
1773
+ Object.keys(p.sources).map(function (e) {
1774
+ return n.a.createElement(r['a'], {
1775
+ tab:
1776
+ '_' === e ? 'index.'.concat(h(e, p.sources[e])) : e,
1777
+ key: e,
1778
+ });
1779
+ }),
1780
+ ),
1781
+ n.a.createElement(
1782
+ 'div',
1783
+ { className: '__dumi-default-previewer-source' },
1784
+ n.a.createElement(u['a'], { code: H, lang: M, showCopy: !1 }),
1785
+ ),
1786
+ ),
1787
+ )
1788
+ );
1789
+ };
1790
+ t['default'] = b;
1791
+ },
1792
+ },
1793
+ ]);