@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,943 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[39],{MZF8:function(e,t,n){"use strict";var a=n("ogwx");n.d(t,"a",(function(){return a["b"]}));n("VCU9")},RZMt:function(e,t,n){},Zxc8:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),r=n("k3GJ"),c=n("MZF8"),o=n("dEAq"),i=n("H1Ra");n("RZMt");function m(e,t){return p(e)||E(e,t)||d(e,t)||u()}function u(){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 d(e,t){if(e){if("string"===typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function E(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,l,r=[],c=!0,o=!1;try{for(n=n.call(e);!(c=(a=n.next()).done);c=!0)if(r.push(a.value),t&&r.length===t)break}catch(i){o=!0,l=i}finally{try{c||null==n["return"]||n["return"]()}finally{if(o)throw l}}return r}}function p(e){if(Array.isArray(e))return e}function f(e,t){var n,a=null===(n=e.match(/\.(\w+)$/))||void 0===n?void 0:n[1];return a||(a=t.tsx?"tsx":"jsx"),a}var h=function(e){var t,n,u,d=Object(a["useRef"])(),s=Object(a["useContext"])(o["context"]),E=s.locale,p=Object(o["useLocaleProps"])(E,e),h=Object(o["useDemoUrl"])(p.identifier),b=p.demoUrl||h,v=(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(o["useCodeSandbox"])((null===(t=p.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:p),_=Object(o["useRiddle"])((null===(n=p.hideActions)||void 0===n?void 0:n.includes("RIDDLE"))?null:p),w=Object(o["useMotions"])(p.motions||[],d.current),y=m(w,2),x=y[0],N=y[1],A=Object(o["useCopy"])(),O=m(A,2),j=O[0],C=O[1],L=Object(a["useState"])("_"),I=m(L,2),S=I[0],M=I[1],R=Object(a["useState"])(f(S,p.sources[S])),P=m(R,2),T=P[0],F=P[1],U=Object(a["useState"])(Boolean(p.defaultShowCode)),Z=m(U,2),z=Z[0],H=Z[1],J=Object(a["useState"])(Math.random()),q=m(J,2),B=q[0],$=q[1],D=p.sources[S][T]||p.sources[S].content,G=Object(o["useTSPlaygroundUrl"])(E,D),V=Object(a["useRef"])(),X=Object(o["usePrefersColor"])(),K=m(X,1),Q=K[0];function W(e){M(e),F(f(e,p.sources[e]))}return Object(a["useEffect"])((function(){$(Math.random())}),[Q]),l.a.createElement("div",{style:p.style,className:[p.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:p.identifier,"data-debug":p.debug||void 0,"data-iframe":p.iframe||void 0},p.iframe&&l.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),l.a.createElement("div",{ref:d,className:"__dumi-default-previewer-demo",style:{transform:p.transform?"translate(0, 0)":void 0,padding:p.compact||p.iframe&&!1!==p.compact?"0":void 0,background:p.background}},p.iframe?l.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(p.iframe).replace(/(\d)$/,"$1px")},key:B,src:b,ref:V}):p.children),l.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":p.title},p.title&&l.a.createElement(o["AnchorLink"],{to:"#".concat(p.identifier)},p.title),p.description&&l.a.createElement("div",{dangerouslySetInnerHTML:{__html:p.description}})),l.a.createElement("div",{className:"__dumi-default-previewer-actions"},g&&l.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:g}),_&&l.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:_}),p.motions&&l.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:N,onClick:function(){return x()}}),p.iframe&&l.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return $(Math.random())}}),!(null===(u=p.hideActions)||void 0===u?void 0:u.includes("EXTERNAL"))&&l.a.createElement(o["Link"],{target:"_blank",to:b},l.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),l.a.createElement("span",null),l.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":C,onClick:function(){return j(D)}}),"tsx"===T&&z&&l.a.createElement(o["Link"],{target:"_blank",to:G},l.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),l.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(z?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return H(!z)}})),z&&l.a.createElement("div",{className:"__dumi-default-previewer-source-wrapper"},!k&&l.a.createElement(r["b"],{className:"__dumi-default-previewer-source-tab",prefixCls:"__dumi-default-tabs",moreIcon:"\xb7\xb7\xb7",defaultActiveKey:S,onChange:W},Object.keys(p.sources).map((function(e){return l.a.createElement(r["a"],{tab:"_"===e?"index.".concat(f(e,p.sources[e])):e,key:e})}))),l.a.createElement("div",{className:"__dumi-default-previewer-source"},l.a.createElement(i["a"],{code:D,lang:T,showCopy:!1}))))};t["default"]=h},g7LQ:function(e,t,n){"use strict";n.r(t);var a=n("q1tI"),l=n.n(a),r=n("dEAq"),c=n("Zxc8"),o=n("H1Ra"),i=n("JjdP"),m=l.a.memo(i["default"]["mentions-basic"].component),u=l.a.memo(i["default"]["mentions-async"].component),d=l.a.memo(i["default"]["mentions-prefix"].component),s=l.a.memo(i["default"]["mentions-disabled"].component),E=l.a.memo(i["default"]["mentions-top"].component),p=l.a.memo(i["default"]["mentions-autosize"].component);t["default"]=e=>(l.a.useEffect((()=>{var t;null!==e&&void 0!==e&&null!==(t=e.location)&&void 0!==t&&t.hash&&r["AnchorLink"].scrollToAnchor(decodeURIComponent(e.location.hash.slice(1)))}),[]),l.a.createElement(l.a.Fragment,null,l.a.createElement(l.a.Fragment,null,l.a.createElement("div",{className:"markdown"},l.a.createElement("h1",{id:"mentions-\u63d0\u53ca"},l.a.createElement(r["AnchorLink"],{to:"#mentions-\u63d0\u53ca","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Mentions \u63d0\u53ca"),l.a.createElement("p",null,"\u63d0\u53ca\u7ec4\u4ef6\u3002"),l.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),l.a.createElement("p",null,"\u7528\u4e8e\u5728\u8f93\u5165\u4e2d\u63d0\u53ca\u67d0\u4eba\u6216\u67d0\u4e8b\uff0c\u5e38\u7528\u4e8e\u53d1\u5e03\u3001\u804a\u5929\u6216\u8bc4\u8bba\u529f\u80fd\u3002"),l.a.createElement("h2",{id:"\u4ee3\u7801\u6f14\u793a"},l.a.createElement(r["AnchorLink"],{to:"#\u4ee3\u7801\u6f14\u793a","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u4ee3\u7801\u6f14\u793a"),l.a.createElement("h3",{id:"\u57fa\u672c\u4f7f\u7528"},l.a.createElement(r["AnchorLink"],{to:"#\u57fa\u672c\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u57fa\u672c\u4f7f\u7528")),l.a.createElement(c["default"],i["default"]["mentions-basic"].previewerProps,l.a.createElement(m,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5f02\u6b65\u52a0\u8f7d"},l.a.createElement(r["AnchorLink"],{to:"#\u5f02\u6b65\u52a0\u8f7d","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5f02\u6b65\u52a0\u8f7d")),l.a.createElement(c["default"],i["default"]["mentions-async"].previewerProps,l.a.createElement(u,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26"},l.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26")),l.a.createElement(c["default"],i["default"]["mentions-prefix"].previewerProps,l.a.createElement(d,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u65e0\u6548\u6216\u53ea\u8bfb"},l.a.createElement(r["AnchorLink"],{to:"#\u65e0\u6548\u6216\u53ea\u8bfb","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u65e0\u6548\u6216\u53ea\u8bfb")),l.a.createElement(c["default"],i["default"]["mentions-disabled"].previewerProps,l.a.createElement(s,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u5411\u4e0a\u5c55\u5f00"},l.a.createElement(r["AnchorLink"],{to:"#\u5411\u4e0a\u5c55\u5f00","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u5411\u4e0a\u5c55\u5f00")),l.a.createElement(c["default"],i["default"]["mentions-top"].previewerProps,l.a.createElement(E,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h3",{id:"\u81ea\u52a8\u5927\u5c0f"},l.a.createElement(r["AnchorLink"],{to:"#\u81ea\u52a8\u5927\u5c0f","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u52a8\u5927\u5c0f")),l.a.createElement(c["default"],i["default"]["mentions-autosize"].previewerProps,l.a.createElement(p,null)),l.a.createElement("div",{className:"markdown"},l.a.createElement("h2",{id:"api"},l.a.createElement(r["AnchorLink"],{to:"#api","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"API"),l.a.createElement(o["a"],{code:'<Mentions onChange={onChange}>\n <Mentions.Option value="sample">Sample</Mentions.Option>\n</Mentions>',lang:"bash"}),l.a.createElement("h3",{id:"mentions"},l.a.createElement(r["AnchorLink"],{to:"#mentions","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Mentions"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"autoFocus"),l.a.createElement("td",null,"\u81ea\u52a8\u83b7\u5f97\u7126\u70b9"),l.a.createElement("td",null,"boolean"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"autoSize"),l.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 ","}"),l.a.createElement("td",null,"boolean | object"),l.a.createElement("td",null,"false")),l.a.createElement("tr",null,l.a.createElement("td",null,"defaultValue"),l.a.createElement("td",null,"\u9ed8\u8ba4\u503c"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"filterOption"),l.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u8fc7\u6ee4\u903b\u8f91"),l.a.createElement("td",null,"false | (input: string, option: OptionProps) => boolean"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"getPopupContainer"),l.a.createElement("td",null,"\u6307\u5b9a\u5efa\u8bae\u6846\u6302\u8f7d\u7684 HTML \u8282\u70b9"),l.a.createElement("td",null,"() => HTMLElement"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"notFoundContent"),l.a.createElement("td",null,"\u5f53\u4e0b\u62c9\u5217\u8868\u4e3a\u7a7a\u65f6\u663e\u793a\u7684\u5185\u5bb9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,l.a.createElement("code",null,"Not Found"))),l.a.createElement("tr",null,l.a.createElement("td",null,"placement"),l.a.createElement("td",null,"\u5f39\u51fa\u5c42\u5c55\u793a\u4f4d\u7f6e"),l.a.createElement("td",null,l.a.createElement("code",null,"top")," | ",l.a.createElement("code",null,"bottom")),l.a.createElement("td",null,l.a.createElement("code",null,"bottom"))),l.a.createElement("tr",null,l.a.createElement("td",null,"prefix"),l.a.createElement("td",null,"\u8bbe\u7f6e\u89e6\u53d1\u5173\u952e\u5b57"),l.a.createElement("td",null,"string | string[]"),l.a.createElement("td",null,l.a.createElement("code",null,"@"))),l.a.createElement("tr",null,l.a.createElement("td",null,"split"),l.a.createElement("td",null,"\u8bbe\u7f6e\u9009\u4e2d\u9879\u524d\u540e\u5206\u9694\u7b26"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,l.a.createElement("code",null," "))),l.a.createElement("tr",null,l.a.createElement("td",null,"validateSearch"),l.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u89e6\u53d1\u9a8c\u8bc1\u903b\u8f91"),l.a.createElement("td",null,"(text: string, props: MentionsProps) => void"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"value"),l.a.createElement("td",null,"\u8bbe\u7f6e\u503c"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onBlur"),l.a.createElement("td",null,"\u5931\u53bb\u7126\u70b9\u65f6\u89e6\u53d1"),l.a.createElement("td",null,"() => void"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onChange"),l.a.createElement("td",null,"\u503c\u6539\u53d8\u65f6\u89e6\u53d1"),l.a.createElement("td",null,"(text: string) => void"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onFocus"),l.a.createElement("td",null,"\u83b7\u5f97\u7126\u70b9\u65f6\u89e6\u53d1"),l.a.createElement("td",null,"() => void"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onResize"),l.a.createElement("td",null,"resize \u56de\u8c03"),l.a.createElement("td",null,"function(","{"," width, height ","}",")"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onSearch"),l.a.createElement("td",null,"\u641c\u7d22\u65f6\u89e6\u53d1"),l.a.createElement("td",null,"(text: string, prefix: string) => void"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"onSelect"),l.a.createElement("td",null,"\u9009\u62e9\u9009\u9879\u65f6\u89e6\u53d1"),l.a.createElement("td",null,"(option: OptionProps, prefix: string) => void"),l.a.createElement("td",null,"-")))),l.a.createElement("h3",{id:"mentions-\u65b9\u6cd5"},l.a.createElement(r["AnchorLink"],{to:"#mentions-\u65b9\u6cd5","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Mentions \u65b9\u6cd5"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u540d\u79f0"),l.a.createElement("th",null,"\u63cf\u8ff0"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"blur()"),l.a.createElement("td",null,"\u79fb\u9664\u7126\u70b9")),l.a.createElement("tr",null,l.a.createElement("td",null,"focus()"),l.a.createElement("td",null,"\u83b7\u53d6\u7126\u70b9")))),l.a.createElement("h3",{id:"option"},l.a.createElement(r["AnchorLink"],{to:"#option","aria-hidden":"true",tabIndex:-1},l.a.createElement("span",{className:"icon icon-link"})),"Option"),l.a.createElement("table",null,l.a.createElement("thead",null,l.a.createElement("tr",null,l.a.createElement("th",null,"\u53c2\u6570"),l.a.createElement("th",null,"\u8bf4\u660e"),l.a.createElement("th",null,"\u7c7b\u578b"),l.a.createElement("th",null,"\u9ed8\u8ba4\u503c"))),l.a.createElement("tbody",null,l.a.createElement("tr",null,l.a.createElement("td",null,"children"),l.a.createElement("td",null,"\u9009\u9879\u5185\u5bb9"),l.a.createElement("td",null,"ReactNode"),l.a.createElement("td",null,"-")),l.a.createElement("tr",null,l.a.createElement("td",null,"value"),l.a.createElement("td",null,"\u9009\u62e9\u65f6\u586b\u5145\u7684\u503c"),l.a.createElement("td",null,"string"),l.a.createElement("td",null,"-"))))))))}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [39],
3
+ {
4
+ MZF8: function (e, t, n) {
5
+ 'use strict';
6
+ var a = n('ogwx');
7
+ n.d(t, 'a', function () {
8
+ return a['b'];
9
+ });
10
+ n('VCU9');
11
+ },
12
+ RZMt: function (e, t, n) {},
13
+ Zxc8: function (e, t, n) {
14
+ 'use strict';
15
+ n.r(t);
16
+ var a = n('q1tI'),
17
+ l = n.n(a),
18
+ r = n('k3GJ'),
19
+ c = n('MZF8'),
20
+ o = n('dEAq'),
21
+ i = n('H1Ra');
22
+ n('RZMt');
23
+ function m(e, t) {
24
+ return p(e) || E(e, t) || d(e, t) || u();
25
+ }
26
+ function u() {
27
+ throw new TypeError(
28
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
29
+ );
30
+ }
31
+ function d(e, t) {
32
+ if (e) {
33
+ if ('string' === typeof e) return s(e, t);
34
+ var n = Object.prototype.toString.call(e).slice(8, -1);
35
+ return (
36
+ 'Object' === n && e.constructor && (n = e.constructor.name),
37
+ 'Map' === n || 'Set' === n
38
+ ? Array.from(e)
39
+ : 'Arguments' === n ||
40
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)
41
+ ? s(e, t)
42
+ : void 0
43
+ );
44
+ }
45
+ }
46
+ function s(e, t) {
47
+ (null == t || t > e.length) && (t = e.length);
48
+ for (var n = 0, a = new Array(t); n < t; n++) a[n] = e[n];
49
+ return a;
50
+ }
51
+ function E(e, t) {
52
+ var n =
53
+ null == e
54
+ ? null
55
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
56
+ e['@@iterator'];
57
+ if (null != n) {
58
+ var a,
59
+ l,
60
+ r = [],
61
+ c = !0,
62
+ o = !1;
63
+ try {
64
+ for (n = n.call(e); !(c = (a = n.next()).done); c = !0)
65
+ if ((r.push(a.value), t && r.length === t)) break;
66
+ } catch (i) {
67
+ (o = !0), (l = i);
68
+ } finally {
69
+ try {
70
+ c || null == n['return'] || n['return']();
71
+ } finally {
72
+ if (o) throw l;
73
+ }
74
+ }
75
+ return r;
76
+ }
77
+ }
78
+ function p(e) {
79
+ if (Array.isArray(e)) return e;
80
+ }
81
+ function f(e, t) {
82
+ var n,
83
+ a =
84
+ null === (n = e.match(/\.(\w+)$/)) || void 0 === n ? void 0 : n[1];
85
+ return a || (a = t.tsx ? 'tsx' : 'jsx'), a;
86
+ }
87
+ var h = function (e) {
88
+ var t,
89
+ n,
90
+ u,
91
+ d = Object(a['useRef'])(),
92
+ s = Object(a['useContext'])(o['context']),
93
+ E = s.locale,
94
+ p = Object(o['useLocaleProps'])(E, e),
95
+ h = Object(o['useDemoUrl'])(p.identifier),
96
+ b = p.demoUrl || h,
97
+ v =
98
+ (null === c['a'] || void 0 === c['a']
99
+ ? void 0
100
+ : c['a'].location.hash) === '#'.concat(p.identifier),
101
+ k = 1 === Object.keys(p.sources).length,
102
+ g = Object(o['useCodeSandbox'])(
103
+ (
104
+ null === (t = p.hideActions) || void 0 === t
105
+ ? void 0
106
+ : t.includes('CSB')
107
+ )
108
+ ? null
109
+ : p,
110
+ ),
111
+ _ = Object(o['useRiddle'])(
112
+ (
113
+ null === (n = p.hideActions) || void 0 === n
114
+ ? void 0
115
+ : n.includes('RIDDLE')
116
+ )
117
+ ? null
118
+ : p,
119
+ ),
120
+ w = Object(o['useMotions'])(p.motions || [], d.current),
121
+ y = m(w, 2),
122
+ x = y[0],
123
+ N = y[1],
124
+ A = Object(o['useCopy'])(),
125
+ O = m(A, 2),
126
+ j = O[0],
127
+ C = O[1],
128
+ L = Object(a['useState'])('_'),
129
+ I = m(L, 2),
130
+ S = I[0],
131
+ M = I[1],
132
+ R = Object(a['useState'])(f(S, p.sources[S])),
133
+ P = m(R, 2),
134
+ T = P[0],
135
+ F = P[1],
136
+ U = Object(a['useState'])(Boolean(p.defaultShowCode)),
137
+ Z = m(U, 2),
138
+ z = Z[0],
139
+ H = Z[1],
140
+ J = Object(a['useState'])(Math.random()),
141
+ q = m(J, 2),
142
+ B = q[0],
143
+ $ = q[1],
144
+ D = p.sources[S][T] || p.sources[S].content,
145
+ G = Object(o['useTSPlaygroundUrl'])(E, D),
146
+ V = Object(a['useRef'])(),
147
+ X = Object(o['usePrefersColor'])(),
148
+ K = m(X, 1),
149
+ Q = K[0];
150
+ function W(e) {
151
+ M(e), F(f(e, p.sources[e]));
152
+ }
153
+ return (
154
+ Object(a['useEffect'])(
155
+ function () {
156
+ $(Math.random());
157
+ },
158
+ [Q],
159
+ ),
160
+ l.a.createElement(
161
+ 'div',
162
+ {
163
+ style: p.style,
164
+ className: [
165
+ p.className,
166
+ '__dumi-default-previewer',
167
+ v ? '__dumi-default-previewer-target' : '',
168
+ ]
169
+ .filter(Boolean)
170
+ .join(' '),
171
+ id: p.identifier,
172
+ 'data-debug': p.debug || void 0,
173
+ 'data-iframe': p.iframe || void 0,
174
+ },
175
+ p.iframe &&
176
+ l.a.createElement('div', {
177
+ className: '__dumi-default-previewer-browser-nav',
178
+ }),
179
+ l.a.createElement(
180
+ 'div',
181
+ {
182
+ ref: d,
183
+ className: '__dumi-default-previewer-demo',
184
+ style: {
185
+ transform: p.transform ? 'translate(0, 0)' : void 0,
186
+ padding:
187
+ p.compact || (p.iframe && !1 !== p.compact) ? '0' : void 0,
188
+ background: p.background,
189
+ },
190
+ },
191
+ p.iframe
192
+ ? l.a.createElement('iframe', {
193
+ title: 'dumi-previewer',
194
+ style: {
195
+ height: String(p.iframe).replace(/(\d)$/, '$1px'),
196
+ },
197
+ key: B,
198
+ src: b,
199
+ ref: V,
200
+ })
201
+ : p.children,
202
+ ),
203
+ l.a.createElement(
204
+ 'div',
205
+ {
206
+ className: '__dumi-default-previewer-desc',
207
+ 'data-title': p.title,
208
+ },
209
+ p.title &&
210
+ l.a.createElement(
211
+ o['AnchorLink'],
212
+ { to: '#'.concat(p.identifier) },
213
+ p.title,
214
+ ),
215
+ p.description &&
216
+ l.a.createElement('div', {
217
+ dangerouslySetInnerHTML: { __html: p.description },
218
+ }),
219
+ ),
220
+ l.a.createElement(
221
+ 'div',
222
+ { className: '__dumi-default-previewer-actions' },
223
+ g &&
224
+ l.a.createElement('button', {
225
+ title: 'Open demo on CodeSandbox.io',
226
+ className: '__dumi-default-icon',
227
+ role: 'codesandbox',
228
+ onClick: g,
229
+ }),
230
+ _ &&
231
+ l.a.createElement('button', {
232
+ title: 'Open demo on Riddle',
233
+ className: '__dumi-default-icon',
234
+ role: 'riddle',
235
+ onClick: _,
236
+ }),
237
+ p.motions &&
238
+ l.a.createElement('button', {
239
+ title: 'Execute motions',
240
+ className: '__dumi-default-icon',
241
+ role: 'motions',
242
+ disabled: N,
243
+ onClick: function () {
244
+ return x();
245
+ },
246
+ }),
247
+ p.iframe &&
248
+ l.a.createElement('button', {
249
+ title: 'Reload demo iframe page',
250
+ className: '__dumi-default-icon',
251
+ role: 'refresh',
252
+ onClick: function () {
253
+ return $(Math.random());
254
+ },
255
+ }),
256
+ !(null === (u = p.hideActions) || void 0 === u
257
+ ? void 0
258
+ : u.includes('EXTERNAL')) &&
259
+ l.a.createElement(
260
+ o['Link'],
261
+ { target: '_blank', to: b },
262
+ l.a.createElement('button', {
263
+ title: 'Open demo in new tab',
264
+ className: '__dumi-default-icon',
265
+ role: 'open-demo',
266
+ type: 'button',
267
+ }),
268
+ ),
269
+ l.a.createElement('span', null),
270
+ l.a.createElement('button', {
271
+ title: 'Copy source code',
272
+ className: '__dumi-default-icon',
273
+ role: 'copy',
274
+ 'data-status': C,
275
+ onClick: function () {
276
+ return j(D);
277
+ },
278
+ }),
279
+ 'tsx' === T &&
280
+ z &&
281
+ l.a.createElement(
282
+ o['Link'],
283
+ { target: '_blank', to: G },
284
+ l.a.createElement('button', {
285
+ title: 'Get JSX via TypeScript Playground',
286
+ className: '__dumi-default-icon',
287
+ role: 'change-tsx',
288
+ type: 'button',
289
+ }),
290
+ ),
291
+ l.a.createElement('button', {
292
+ title: 'Toggle source code panel',
293
+ className: '__dumi-default-icon'.concat(
294
+ z ? ' __dumi-default-btn-expand' : '',
295
+ ),
296
+ role: 'source',
297
+ type: 'button',
298
+ onClick: function () {
299
+ return H(!z);
300
+ },
301
+ }),
302
+ ),
303
+ z &&
304
+ l.a.createElement(
305
+ 'div',
306
+ { className: '__dumi-default-previewer-source-wrapper' },
307
+ !k &&
308
+ l.a.createElement(
309
+ r['b'],
310
+ {
311
+ className: '__dumi-default-previewer-source-tab',
312
+ prefixCls: '__dumi-default-tabs',
313
+ moreIcon: '\xb7\xb7\xb7',
314
+ defaultActiveKey: S,
315
+ onChange: W,
316
+ },
317
+ Object.keys(p.sources).map(function (e) {
318
+ return l.a.createElement(r['a'], {
319
+ tab:
320
+ '_' === e ? 'index.'.concat(f(e, p.sources[e])) : e,
321
+ key: e,
322
+ });
323
+ }),
324
+ ),
325
+ l.a.createElement(
326
+ 'div',
327
+ { className: '__dumi-default-previewer-source' },
328
+ l.a.createElement(i['a'], { code: D, lang: T, showCopy: !1 }),
329
+ ),
330
+ ),
331
+ )
332
+ );
333
+ };
334
+ t['default'] = h;
335
+ },
336
+ g7LQ: function (e, t, n) {
337
+ 'use strict';
338
+ n.r(t);
339
+ var a = n('q1tI'),
340
+ l = n.n(a),
341
+ r = n('dEAq'),
342
+ c = n('Zxc8'),
343
+ o = n('H1Ra'),
344
+ i = n('JjdP'),
345
+ m = l.a.memo(i['default']['mentions-basic'].component),
346
+ u = l.a.memo(i['default']['mentions-async'].component),
347
+ d = l.a.memo(i['default']['mentions-prefix'].component),
348
+ s = l.a.memo(i['default']['mentions-disabled'].component),
349
+ E = l.a.memo(i['default']['mentions-top'].component),
350
+ p = l.a.memo(i['default']['mentions-autosize'].component);
351
+ t['default'] = (e) => (
352
+ l.a.useEffect(() => {
353
+ var t;
354
+ null !== e &&
355
+ void 0 !== e &&
356
+ null !== (t = e.location) &&
357
+ void 0 !== t &&
358
+ t.hash &&
359
+ r['AnchorLink'].scrollToAnchor(
360
+ decodeURIComponent(e.location.hash.slice(1)),
361
+ );
362
+ }, []),
363
+ l.a.createElement(
364
+ l.a.Fragment,
365
+ null,
366
+ l.a.createElement(
367
+ l.a.Fragment,
368
+ null,
369
+ l.a.createElement(
370
+ 'div',
371
+ { className: 'markdown' },
372
+ l.a.createElement(
373
+ 'h1',
374
+ { id: 'mentions-\u63d0\u53ca' },
375
+ l.a.createElement(
376
+ r['AnchorLink'],
377
+ {
378
+ to: '#mentions-\u63d0\u53ca',
379
+ 'aria-hidden': 'true',
380
+ tabIndex: -1,
381
+ },
382
+ l.a.createElement('span', { className: 'icon icon-link' }),
383
+ ),
384
+ 'Mentions \u63d0\u53ca',
385
+ ),
386
+ l.a.createElement('p', null, '\u63d0\u53ca\u7ec4\u4ef6\u3002'),
387
+ l.a.createElement(
388
+ 'h2',
389
+ { id: '\u4f55\u65f6\u4f7f\u7528' },
390
+ l.a.createElement(
391
+ r['AnchorLink'],
392
+ {
393
+ to: '#\u4f55\u65f6\u4f7f\u7528',
394
+ 'aria-hidden': 'true',
395
+ tabIndex: -1,
396
+ },
397
+ l.a.createElement('span', { className: 'icon icon-link' }),
398
+ ),
399
+ '\u4f55\u65f6\u4f7f\u7528',
400
+ ),
401
+ l.a.createElement(
402
+ 'p',
403
+ null,
404
+ '\u7528\u4e8e\u5728\u8f93\u5165\u4e2d\u63d0\u53ca\u67d0\u4eba\u6216\u67d0\u4e8b\uff0c\u5e38\u7528\u4e8e\u53d1\u5e03\u3001\u804a\u5929\u6216\u8bc4\u8bba\u529f\u80fd\u3002',
405
+ ),
406
+ l.a.createElement(
407
+ 'h2',
408
+ { id: '\u4ee3\u7801\u6f14\u793a' },
409
+ l.a.createElement(
410
+ r['AnchorLink'],
411
+ {
412
+ to: '#\u4ee3\u7801\u6f14\u793a',
413
+ 'aria-hidden': 'true',
414
+ tabIndex: -1,
415
+ },
416
+ l.a.createElement('span', { className: 'icon icon-link' }),
417
+ ),
418
+ '\u4ee3\u7801\u6f14\u793a',
419
+ ),
420
+ l.a.createElement(
421
+ 'h3',
422
+ { id: '\u57fa\u672c\u4f7f\u7528' },
423
+ l.a.createElement(
424
+ r['AnchorLink'],
425
+ {
426
+ to: '#\u57fa\u672c\u4f7f\u7528',
427
+ 'aria-hidden': 'true',
428
+ tabIndex: -1,
429
+ },
430
+ l.a.createElement('span', { className: 'icon icon-link' }),
431
+ ),
432
+ '\u57fa\u672c\u4f7f\u7528',
433
+ ),
434
+ ),
435
+ l.a.createElement(
436
+ c['default'],
437
+ i['default']['mentions-basic'].previewerProps,
438
+ l.a.createElement(m, null),
439
+ ),
440
+ l.a.createElement(
441
+ 'div',
442
+ { className: 'markdown' },
443
+ l.a.createElement(
444
+ 'h3',
445
+ { id: '\u5f02\u6b65\u52a0\u8f7d' },
446
+ l.a.createElement(
447
+ r['AnchorLink'],
448
+ {
449
+ to: '#\u5f02\u6b65\u52a0\u8f7d',
450
+ 'aria-hidden': 'true',
451
+ tabIndex: -1,
452
+ },
453
+ l.a.createElement('span', { className: 'icon icon-link' }),
454
+ ),
455
+ '\u5f02\u6b65\u52a0\u8f7d',
456
+ ),
457
+ ),
458
+ l.a.createElement(
459
+ c['default'],
460
+ i['default']['mentions-async'].previewerProps,
461
+ l.a.createElement(u, null),
462
+ ),
463
+ l.a.createElement(
464
+ 'div',
465
+ { className: 'markdown' },
466
+ l.a.createElement(
467
+ 'h3',
468
+ { id: '\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26' },
469
+ l.a.createElement(
470
+ r['AnchorLink'],
471
+ {
472
+ to: '#\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26',
473
+ 'aria-hidden': 'true',
474
+ tabIndex: -1,
475
+ },
476
+ l.a.createElement('span', { className: 'icon icon-link' }),
477
+ ),
478
+ '\u81ea\u5b9a\u4e49\u89e6\u53d1\u5b57\u7b26',
479
+ ),
480
+ ),
481
+ l.a.createElement(
482
+ c['default'],
483
+ i['default']['mentions-prefix'].previewerProps,
484
+ l.a.createElement(d, null),
485
+ ),
486
+ l.a.createElement(
487
+ 'div',
488
+ { className: 'markdown' },
489
+ l.a.createElement(
490
+ 'h3',
491
+ { id: '\u65e0\u6548\u6216\u53ea\u8bfb' },
492
+ l.a.createElement(
493
+ r['AnchorLink'],
494
+ {
495
+ to: '#\u65e0\u6548\u6216\u53ea\u8bfb',
496
+ 'aria-hidden': 'true',
497
+ tabIndex: -1,
498
+ },
499
+ l.a.createElement('span', { className: 'icon icon-link' }),
500
+ ),
501
+ '\u65e0\u6548\u6216\u53ea\u8bfb',
502
+ ),
503
+ ),
504
+ l.a.createElement(
505
+ c['default'],
506
+ i['default']['mentions-disabled'].previewerProps,
507
+ l.a.createElement(s, null),
508
+ ),
509
+ l.a.createElement(
510
+ 'div',
511
+ { className: 'markdown' },
512
+ l.a.createElement(
513
+ 'h3',
514
+ { id: '\u5411\u4e0a\u5c55\u5f00' },
515
+ l.a.createElement(
516
+ r['AnchorLink'],
517
+ {
518
+ to: '#\u5411\u4e0a\u5c55\u5f00',
519
+ 'aria-hidden': 'true',
520
+ tabIndex: -1,
521
+ },
522
+ l.a.createElement('span', { className: 'icon icon-link' }),
523
+ ),
524
+ '\u5411\u4e0a\u5c55\u5f00',
525
+ ),
526
+ ),
527
+ l.a.createElement(
528
+ c['default'],
529
+ i['default']['mentions-top'].previewerProps,
530
+ l.a.createElement(E, null),
531
+ ),
532
+ l.a.createElement(
533
+ 'div',
534
+ { className: 'markdown' },
535
+ l.a.createElement(
536
+ 'h3',
537
+ { id: '\u81ea\u52a8\u5927\u5c0f' },
538
+ l.a.createElement(
539
+ r['AnchorLink'],
540
+ {
541
+ to: '#\u81ea\u52a8\u5927\u5c0f',
542
+ 'aria-hidden': 'true',
543
+ tabIndex: -1,
544
+ },
545
+ l.a.createElement('span', { className: 'icon icon-link' }),
546
+ ),
547
+ '\u81ea\u52a8\u5927\u5c0f',
548
+ ),
549
+ ),
550
+ l.a.createElement(
551
+ c['default'],
552
+ i['default']['mentions-autosize'].previewerProps,
553
+ l.a.createElement(p, null),
554
+ ),
555
+ l.a.createElement(
556
+ 'div',
557
+ { className: 'markdown' },
558
+ l.a.createElement(
559
+ 'h2',
560
+ { id: 'api' },
561
+ l.a.createElement(
562
+ r['AnchorLink'],
563
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
564
+ l.a.createElement('span', { className: 'icon icon-link' }),
565
+ ),
566
+ 'API',
567
+ ),
568
+ l.a.createElement(o['a'], {
569
+ code: '<Mentions onChange={onChange}>\n <Mentions.Option value="sample">Sample</Mentions.Option>\n</Mentions>',
570
+ lang: 'bash',
571
+ }),
572
+ l.a.createElement(
573
+ 'h3',
574
+ { id: 'mentions' },
575
+ l.a.createElement(
576
+ r['AnchorLink'],
577
+ { to: '#mentions', 'aria-hidden': 'true', tabIndex: -1 },
578
+ l.a.createElement('span', { className: 'icon icon-link' }),
579
+ ),
580
+ 'Mentions',
581
+ ),
582
+ l.a.createElement(
583
+ 'table',
584
+ null,
585
+ l.a.createElement(
586
+ 'thead',
587
+ null,
588
+ l.a.createElement(
589
+ 'tr',
590
+ null,
591
+ l.a.createElement('th', null, '\u53c2\u6570'),
592
+ l.a.createElement('th', null, '\u8bf4\u660e'),
593
+ l.a.createElement('th', null, '\u7c7b\u578b'),
594
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
595
+ ),
596
+ ),
597
+ l.a.createElement(
598
+ 'tbody',
599
+ null,
600
+ l.a.createElement(
601
+ 'tr',
602
+ null,
603
+ l.a.createElement('td', null, 'autoFocus'),
604
+ l.a.createElement(
605
+ 'td',
606
+ null,
607
+ '\u81ea\u52a8\u83b7\u5f97\u7126\u70b9',
608
+ ),
609
+ l.a.createElement('td', null, 'boolean'),
610
+ l.a.createElement('td', null, 'false'),
611
+ ),
612
+ l.a.createElement(
613
+ 'tr',
614
+ null,
615
+ l.a.createElement('td', null, 'autoSize'),
616
+ l.a.createElement(
617
+ 'td',
618
+ null,
619
+ '\u81ea\u9002\u5e94\u5185\u5bb9\u9ad8\u5ea6\uff0c\u53ef\u8bbe\u7f6e\u4e3a true | false \u6216\u5bf9\u8c61\uff1a',
620
+ '{',
621
+ ' minRows: 2, maxRows: 6 ',
622
+ '}',
623
+ ),
624
+ l.a.createElement('td', null, 'boolean | object'),
625
+ l.a.createElement('td', null, 'false'),
626
+ ),
627
+ l.a.createElement(
628
+ 'tr',
629
+ null,
630
+ l.a.createElement('td', null, 'defaultValue'),
631
+ l.a.createElement('td', null, '\u9ed8\u8ba4\u503c'),
632
+ l.a.createElement('td', null, 'string'),
633
+ l.a.createElement('td', null, '-'),
634
+ ),
635
+ l.a.createElement(
636
+ 'tr',
637
+ null,
638
+ l.a.createElement('td', null, 'filterOption'),
639
+ l.a.createElement(
640
+ 'td',
641
+ null,
642
+ '\u81ea\u5b9a\u4e49\u8fc7\u6ee4\u903b\u8f91',
643
+ ),
644
+ l.a.createElement(
645
+ 'td',
646
+ null,
647
+ 'false | (input: string, option: OptionProps) => boolean',
648
+ ),
649
+ l.a.createElement('td', null, '-'),
650
+ ),
651
+ l.a.createElement(
652
+ 'tr',
653
+ null,
654
+ l.a.createElement('td', null, 'getPopupContainer'),
655
+ l.a.createElement(
656
+ 'td',
657
+ null,
658
+ '\u6307\u5b9a\u5efa\u8bae\u6846\u6302\u8f7d\u7684 HTML \u8282\u70b9',
659
+ ),
660
+ l.a.createElement('td', null, '() => HTMLElement'),
661
+ l.a.createElement('td', null, '-'),
662
+ ),
663
+ l.a.createElement(
664
+ 'tr',
665
+ null,
666
+ l.a.createElement('td', null, 'notFoundContent'),
667
+ l.a.createElement(
668
+ 'td',
669
+ null,
670
+ '\u5f53\u4e0b\u62c9\u5217\u8868\u4e3a\u7a7a\u65f6\u663e\u793a\u7684\u5185\u5bb9',
671
+ ),
672
+ l.a.createElement('td', null, 'ReactNode'),
673
+ l.a.createElement(
674
+ 'td',
675
+ null,
676
+ l.a.createElement('code', null, 'Not Found'),
677
+ ),
678
+ ),
679
+ l.a.createElement(
680
+ 'tr',
681
+ null,
682
+ l.a.createElement('td', null, 'placement'),
683
+ l.a.createElement(
684
+ 'td',
685
+ null,
686
+ '\u5f39\u51fa\u5c42\u5c55\u793a\u4f4d\u7f6e',
687
+ ),
688
+ l.a.createElement(
689
+ 'td',
690
+ null,
691
+ l.a.createElement('code', null, 'top'),
692
+ ' | ',
693
+ l.a.createElement('code', null, 'bottom'),
694
+ ),
695
+ l.a.createElement(
696
+ 'td',
697
+ null,
698
+ l.a.createElement('code', null, 'bottom'),
699
+ ),
700
+ ),
701
+ l.a.createElement(
702
+ 'tr',
703
+ null,
704
+ l.a.createElement('td', null, 'prefix'),
705
+ l.a.createElement(
706
+ 'td',
707
+ null,
708
+ '\u8bbe\u7f6e\u89e6\u53d1\u5173\u952e\u5b57',
709
+ ),
710
+ l.a.createElement('td', null, 'string | string[]'),
711
+ l.a.createElement(
712
+ 'td',
713
+ null,
714
+ l.a.createElement('code', null, '@'),
715
+ ),
716
+ ),
717
+ l.a.createElement(
718
+ 'tr',
719
+ null,
720
+ l.a.createElement('td', null, 'split'),
721
+ l.a.createElement(
722
+ 'td',
723
+ null,
724
+ '\u8bbe\u7f6e\u9009\u4e2d\u9879\u524d\u540e\u5206\u9694\u7b26',
725
+ ),
726
+ l.a.createElement('td', null, 'string'),
727
+ l.a.createElement(
728
+ 'td',
729
+ null,
730
+ l.a.createElement('code', null, ' '),
731
+ ),
732
+ ),
733
+ l.a.createElement(
734
+ 'tr',
735
+ null,
736
+ l.a.createElement('td', null, 'validateSearch'),
737
+ l.a.createElement(
738
+ 'td',
739
+ null,
740
+ '\u81ea\u5b9a\u4e49\u89e6\u53d1\u9a8c\u8bc1\u903b\u8f91',
741
+ ),
742
+ l.a.createElement(
743
+ 'td',
744
+ null,
745
+ '(text: string, props: MentionsProps) => void',
746
+ ),
747
+ l.a.createElement('td', null, '-'),
748
+ ),
749
+ l.a.createElement(
750
+ 'tr',
751
+ null,
752
+ l.a.createElement('td', null, 'value'),
753
+ l.a.createElement('td', null, '\u8bbe\u7f6e\u503c'),
754
+ l.a.createElement('td', null, 'string'),
755
+ l.a.createElement('td', null, '-'),
756
+ ),
757
+ l.a.createElement(
758
+ 'tr',
759
+ null,
760
+ l.a.createElement('td', null, 'onBlur'),
761
+ l.a.createElement(
762
+ 'td',
763
+ null,
764
+ '\u5931\u53bb\u7126\u70b9\u65f6\u89e6\u53d1',
765
+ ),
766
+ l.a.createElement('td', null, '() => void'),
767
+ l.a.createElement('td', null, '-'),
768
+ ),
769
+ l.a.createElement(
770
+ 'tr',
771
+ null,
772
+ l.a.createElement('td', null, 'onChange'),
773
+ l.a.createElement(
774
+ 'td',
775
+ null,
776
+ '\u503c\u6539\u53d8\u65f6\u89e6\u53d1',
777
+ ),
778
+ l.a.createElement('td', null, '(text: string) => void'),
779
+ l.a.createElement('td', null, '-'),
780
+ ),
781
+ l.a.createElement(
782
+ 'tr',
783
+ null,
784
+ l.a.createElement('td', null, 'onFocus'),
785
+ l.a.createElement(
786
+ 'td',
787
+ null,
788
+ '\u83b7\u5f97\u7126\u70b9\u65f6\u89e6\u53d1',
789
+ ),
790
+ l.a.createElement('td', null, '() => void'),
791
+ l.a.createElement('td', null, '-'),
792
+ ),
793
+ l.a.createElement(
794
+ 'tr',
795
+ null,
796
+ l.a.createElement('td', null, 'onResize'),
797
+ l.a.createElement('td', null, 'resize \u56de\u8c03'),
798
+ l.a.createElement(
799
+ 'td',
800
+ null,
801
+ 'function(',
802
+ '{',
803
+ ' width, height ',
804
+ '}',
805
+ ')',
806
+ ),
807
+ l.a.createElement('td', null, '-'),
808
+ ),
809
+ l.a.createElement(
810
+ 'tr',
811
+ null,
812
+ l.a.createElement('td', null, 'onSearch'),
813
+ l.a.createElement(
814
+ 'td',
815
+ null,
816
+ '\u641c\u7d22\u65f6\u89e6\u53d1',
817
+ ),
818
+ l.a.createElement(
819
+ 'td',
820
+ null,
821
+ '(text: string, prefix: string) => void',
822
+ ),
823
+ l.a.createElement('td', null, '-'),
824
+ ),
825
+ l.a.createElement(
826
+ 'tr',
827
+ null,
828
+ l.a.createElement('td', null, 'onSelect'),
829
+ l.a.createElement(
830
+ 'td',
831
+ null,
832
+ '\u9009\u62e9\u9009\u9879\u65f6\u89e6\u53d1',
833
+ ),
834
+ l.a.createElement(
835
+ 'td',
836
+ null,
837
+ '(option: OptionProps, prefix: string) => void',
838
+ ),
839
+ l.a.createElement('td', null, '-'),
840
+ ),
841
+ ),
842
+ ),
843
+ l.a.createElement(
844
+ 'h3',
845
+ { id: 'mentions-\u65b9\u6cd5' },
846
+ l.a.createElement(
847
+ r['AnchorLink'],
848
+ {
849
+ to: '#mentions-\u65b9\u6cd5',
850
+ 'aria-hidden': 'true',
851
+ tabIndex: -1,
852
+ },
853
+ l.a.createElement('span', { className: 'icon icon-link' }),
854
+ ),
855
+ 'Mentions \u65b9\u6cd5',
856
+ ),
857
+ l.a.createElement(
858
+ 'table',
859
+ null,
860
+ l.a.createElement(
861
+ 'thead',
862
+ null,
863
+ l.a.createElement(
864
+ 'tr',
865
+ null,
866
+ l.a.createElement('th', null, '\u540d\u79f0'),
867
+ l.a.createElement('th', null, '\u63cf\u8ff0'),
868
+ ),
869
+ ),
870
+ l.a.createElement(
871
+ 'tbody',
872
+ null,
873
+ l.a.createElement(
874
+ 'tr',
875
+ null,
876
+ l.a.createElement('td', null, 'blur()'),
877
+ l.a.createElement('td', null, '\u79fb\u9664\u7126\u70b9'),
878
+ ),
879
+ l.a.createElement(
880
+ 'tr',
881
+ null,
882
+ l.a.createElement('td', null, 'focus()'),
883
+ l.a.createElement('td', null, '\u83b7\u53d6\u7126\u70b9'),
884
+ ),
885
+ ),
886
+ ),
887
+ l.a.createElement(
888
+ 'h3',
889
+ { id: 'option' },
890
+ l.a.createElement(
891
+ r['AnchorLink'],
892
+ { to: '#option', 'aria-hidden': 'true', tabIndex: -1 },
893
+ l.a.createElement('span', { className: 'icon icon-link' }),
894
+ ),
895
+ 'Option',
896
+ ),
897
+ l.a.createElement(
898
+ 'table',
899
+ null,
900
+ l.a.createElement(
901
+ 'thead',
902
+ null,
903
+ l.a.createElement(
904
+ 'tr',
905
+ null,
906
+ l.a.createElement('th', null, '\u53c2\u6570'),
907
+ l.a.createElement('th', null, '\u8bf4\u660e'),
908
+ l.a.createElement('th', null, '\u7c7b\u578b'),
909
+ l.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
910
+ ),
911
+ ),
912
+ l.a.createElement(
913
+ 'tbody',
914
+ null,
915
+ l.a.createElement(
916
+ 'tr',
917
+ null,
918
+ l.a.createElement('td', null, 'children'),
919
+ l.a.createElement('td', null, '\u9009\u9879\u5185\u5bb9'),
920
+ l.a.createElement('td', null, 'ReactNode'),
921
+ l.a.createElement('td', null, '-'),
922
+ ),
923
+ l.a.createElement(
924
+ 'tr',
925
+ null,
926
+ l.a.createElement('td', null, 'value'),
927
+ l.a.createElement(
928
+ 'td',
929
+ null,
930
+ '\u9009\u62e9\u65f6\u586b\u5145\u7684\u503c',
931
+ ),
932
+ l.a.createElement('td', null, 'string'),
933
+ l.a.createElement('td', null, '-'),
934
+ ),
935
+ ),
936
+ ),
937
+ ),
938
+ ),
939
+ )
940
+ );
941
+ },
942
+ },
943
+ ]);