@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,1226 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[65],{MMUf:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("dEAq"),c=a("Zxc8"),d=a("H1Ra"),m=a("JjdP"),o=n.a.memo(m["default"]["transfer-basic"].component),u=n.a.memo(m["default"]["transfer-oneway"].component),i=n.a.memo(m["default"]["transfer-search"].component),s=n.a.memo(m["default"]["transfer-render"].component),E=n.a.memo(m["default"]["transfer-pages"].component),f=n.a.memo(m["default"]["transfer-table"].component),p=n.a.memo(m["default"]["transfer-tree"].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:"transfer-\u7a7f\u68ad\u6846"},n.a.createElement(r["AnchorLink"],{to:"#transfer-\u7a7f\u68ad\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Transfer \u7a7f\u68ad\u6846"),n.a.createElement("p",null,"\u53cc\u680f\u7a7f\u68ad\u9009\u62e9\u6846\u3002"),n.a.createElement("h2",{id:"\u4f55\u65f6\u4f7f\u7528"},n.a.createElement(r["AnchorLink"],{to:"#\u4f55\u65f6\u4f7f\u7528","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u4f55\u65f6\u4f7f\u7528"),n.a.createElement("ul",null,n.a.createElement("li",null,"\u9700\u8981\u5728\u591a\u4e2a\u53ef\u9009\u9879\u4e2d\u8fdb\u884c\u591a\u9009\u65f6\u3002"),n.a.createElement("li",null,"\u6bd4\u8d77 Select \u548c TreeSelect\uff0c\u7a7f\u68ad\u6846\u5360\u636e\u66f4\u5927\u7684\u7a7a\u95f4\uff0c\u53ef\u4ee5\u5c55\u793a\u53ef\u9009\u9879\u7684\u66f4\u591a\u4fe1\u606f\u3002")),n.a.createElement("p",null,"\u7a7f\u68ad\u9009\u62e9\u6846\u7528\u76f4\u89c2\u7684\u65b9\u5f0f\u5728\u4e24\u680f\u4e2d\u79fb\u52a8\u5143\u7d20\uff0c\u5b8c\u6210\u9009\u62e9\u884c\u4e3a\u3002"),n.a.createElement("p",null,"\u9009\u62e9\u4e00\u4e2a\u6216\u4ee5\u4e0a\u7684\u9009\u9879\u540e\uff0c\u70b9\u51fb\u5bf9\u5e94\u7684\u65b9\u5411\u952e\uff0c\u53ef\u4ee5\u628a\u9009\u4e2d\u7684\u9009\u9879\u79fb\u52a8\u5230\u53e6\u4e00\u680f\u3002\u5176\u4e2d\uff0c\u5de6\u8fb9\u4e00\u680f\u4e3a ",n.a.createElement("code",null,"source"),"\uff0c\u53f3\u8fb9\u4e00\u680f\u4e3a ",n.a.createElement("code",null,"target"),"\uff0cAPI \u7684\u8bbe\u8ba1\u4e5f\u53cd\u6620\u4e86\u8fd9\u4e24\u4e2a\u6982\u5ff5\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"],m["default"]["transfer-basic"].previewerProps,n.a.createElement(o,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5355\u5411\u6837\u5f0f"},n.a.createElement(r["AnchorLink"],{to:"#\u5355\u5411\u6837\u5f0f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5355\u5411\u6837\u5f0f")),n.a.createElement(c["default"],m["default"]["transfer-oneway"].previewerProps,n.a.createElement(u,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5e26\u641c\u7d22\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u5e26\u641c\u7d22\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5e26\u641c\u7d22\u6846")),n.a.createElement(c["default"],m["default"]["transfer-search"].previewerProps,n.a.createElement(i,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e"},n.a.createElement(r["AnchorLink"],{to:"#\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e")),n.a.createElement(c["default"],m["default"]["transfer-render"].previewerProps,n.a.createElement(s,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u5206\u9875"},n.a.createElement(r["AnchorLink"],{to:"#\u5206\u9875","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u5206\u9875")),n.a.createElement(c["default"],m["default"]["transfer-pages"].previewerProps,n.a.createElement(E,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u8868\u683c\u7a7f\u68ad\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u8868\u683c\u7a7f\u68ad\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u8868\u683c\u7a7f\u68ad\u6846")),n.a.createElement(c["default"],m["default"]["transfer-table"].previewerProps,n.a.createElement(f,null)),n.a.createElement("div",{className:"markdown"},n.a.createElement("h3",{id:"\u6811\u7a7f\u68ad\u6846"},n.a.createElement(r["AnchorLink"],{to:"#\u6811\u7a7f\u68ad\u6846","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6811\u7a7f\u68ad\u6846")),n.a.createElement(c["default"],m["default"]["transfer-tree"].previewerProps,n.a.createElement(p,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:"transfer"},n.a.createElement(r["AnchorLink"],{to:"#transfer","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Transfer"),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,"dataSource"),n.a.createElement("td",null,"\u6570\u636e\u6e90\uff0c\u5176\u4e2d\u7684\u6570\u636e\u5c06\u4f1a\u88ab\u6e32\u67d3\u5230\u5de6\u8fb9\u4e00\u680f\u4e2d\uff0c",n.a.createElement("code",null,"targetKeys")," \u4e2d\u6307\u5b9a\u7684\u9664\u5916"),n.a.createElement("td",null,n.a.createElement(r["Link"],{to:"https://git.io/vMM64"},"RecordType extends TransferItem = TransferItem"),"[]"),n.a.createElement("td",null,"[]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"false"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"filterOption"),n.a.createElement("td",null,"\u63a5\u6536 ",n.a.createElement("code",null,"inputValue")," ",n.a.createElement("code",null,"option")," \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ",n.a.createElement("code",null,"option")," \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de true\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de false"),n.a.createElement("td",null,"(inputValue, option): boolean"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"footer"),n.a.createElement("td",null,"\u5e95\u90e8\u6e32\u67d3\u51fd\u6570"),n.a.createElement("td",null,"(props, ","{"," direction ","}",") => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null,"direction: 4.17.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"listStyle"),n.a.createElement("td",null,"\u4e24\u4e2a\u7a7f\u68ad\u6846\u7684\u81ea\u5b9a\u4e49\u6837\u5f0f"),n.a.createElement("td",null,"object|(","{","direction: ",n.a.createElement("code",null,"left")," | ",n.a.createElement("code",null,"right"),"}",") => object"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"locale"),n.a.createElement("td",null,"\u5404\u79cd\u8bed\u8a00"),n.a.createElement("td",null,"{"," itemUnit: string; itemsUnit: string; searchPlaceholder: string; notFoundContent: ReactNode | ReactNode[]; ","}"),n.a.createElement("td",null,"{"," itemUnit: ",n.a.createElement("code",null,"\u9879"),", itemsUnit: ",n.a.createElement("code",null,"\u9879"),", searchPlaceholder: ",n.a.createElement("code",null,"\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9")," ","}"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"oneWay"),n.a.createElement("td",null,"\u5c55\u793a\u4e3a\u5355\u5411\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,"operations"),n.a.createElement("td",null,"\u64cd\u4f5c\u6587\u6848\u96c6\u5408\uff0c\u987a\u5e8f\u4ece\u4e0a\u81f3\u4e0b"),n.a.createElement("td",null,"string[]"),n.a.createElement("td",null,"[",n.a.createElement("code",null,">"),", ",n.a.createElement("code",null,"<"),"]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"pagination"),n.a.createElement("td",null,"\u4f7f\u7528\u5206\u9875\u6837\u5f0f\uff0c\u81ea\u5b9a\u4e49\u6e32\u67d3\u5217\u8868\u4e0b\u65e0\u6548"),n.a.createElement("td",null,"boolean | ","{"," pageSize: number ","}"),n.a.createElement("td",null,"false"),n.a.createElement("td",null,"4.3.0")),n.a.createElement("tr",null,n.a.createElement("td",null,"render"),n.a.createElement("td",null,"\u6bcf\u884c\u6570\u636e\u6e32\u67d3\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u7684\u5165\u53c2\u4e3a ",n.a.createElement("code",null,"dataSource")," \u4e2d\u7684\u9879\uff0c\u8fd4\u56de\u503c\u4e3a ReactElement\u3002\u6216\u8005\u8fd4\u56de\u4e00\u4e2a\u666e\u901a\u5bf9\u8c61\uff0c\u5176\u4e2d ",n.a.createElement("code",null,"label")," \u5b57\u6bb5\u4e3a ReactElement\uff0c",n.a.createElement("code",null,"value")," \u5b57\u6bb5\u4e3a title"),n.a.createElement("td",null,"(record) => ReactNode"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"selectAllLabels"),n.a.createElement("td",null,"\u81ea\u5b9a\u4e49\u9876\u90e8\u591a\u9009\u6846\u6807\u9898\u7684\u96c6\u5408"),n.a.createElement("td",null,"(ReactNode | (info: ","{"," selectedCount: number, totalCount: number ","}",") => ReactNode)[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"selectedKeys"),n.a.createElement("td",null,"\u8bbe\u7f6e\u54ea\u4e9b\u9879\u5e94\u8be5\u88ab\u9009\u4e2d"),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,"showSearch"),n.a.createElement("td",null,"\u662f\u5426\u663e\u793a\u641c\u7d22\u6846"),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,"showSelectAll"),n.a.createElement("td",null,"\u662f\u5426\u5c55\u793a\u5168\u9009\u52fe\u9009\u6846"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null,"true"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"targetKeys"),n.a.createElement("td",null,"\u663e\u793a\u5728\u53f3\u4fa7\u6846\u6570\u636e\u7684 key \u96c6\u5408"),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,"titles"),n.a.createElement("td",null,"\u6807\u9898\u96c6\u5408\uff0c\u987a\u5e8f\u4ece\u5de6\u81f3\u53f3"),n.a.createElement("td",null,"ReactNode[]"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onChange"),n.a.createElement("td",null,"\u9009\u9879\u5728\u4e24\u680f\u4e4b\u95f4\u8f6c\u79fb\u65f6\u7684\u56de\u8c03\u51fd\u6570"),n.a.createElement("td",null,"(targetKeys, direction, moveKeys): void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onScroll"),n.a.createElement("td",null,"\u9009\u9879\u5217\u8868\u6eda\u52a8\u65f6\u7684\u56de\u8c03\u51fd\u6570"),n.a.createElement("td",null,"(direction, event): void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSearch"),n.a.createElement("td",null,"\u641c\u7d22\u6846\u5185\u5bb9\u65f6\u6539\u53d8\u65f6\u7684\u56de\u8c03\u51fd\u6570"),n.a.createElement("td",null,"(direction: ",n.a.createElement("code",null,"left")," | ",n.a.createElement("code",null,"right"),", value: string): void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onSelectChange"),n.a.createElement("td",null,"\u9009\u4e2d\u9879\u53d1\u751f\u6539\u53d8\u65f6\u7684\u56de\u8c03\u51fd\u6570"),n.a.createElement("td",null,"(sourceSelectedKeys, targetSelectedKeys): void"),n.a.createElement("td",null,"-"),n.a.createElement("td",null)))),n.a.createElement("h3",{id:"render-props"},n.a.createElement(r["AnchorLink"],{to:"#render-props","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"Render Props"),n.a.createElement("p",null,"Transfer \u652f\u6301\u63a5\u6536 ",n.a.createElement("code",null,"children")," \u81ea\u5b9a\u4e49\u6e32\u67d3\u5217\u8868\uff0c\u5e76\u8fd4\u56de\u4ee5\u4e0b\u53c2\u6570\uff1a"),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,"\u7248\u672c"))),n.a.createElement("tbody",null,n.a.createElement("tr",null,n.a.createElement("td",null,"direction"),n.a.createElement("td",null,"\u6e32\u67d3\u5217\u8868\u7684\u65b9\u5411"),n.a.createElement("td",null,n.a.createElement("code",null,"left")," | ",n.a.createElement("code",null,"right")),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"disabled"),n.a.createElement("td",null,"\u662f\u5426\u7981\u7528\u5217\u8868"),n.a.createElement("td",null,"boolean"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"filteredItems"),n.a.createElement("td",null,"\u8fc7\u6ee4\u540e\u7684\u6570\u636e"),n.a.createElement("td",null,"RecordType[]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"selectedKeys"),n.a.createElement("td",null,"\u9009\u4e2d\u7684\u6761\u76ee"),n.a.createElement("td",null,"string[]"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onItemSelect"),n.a.createElement("td",null,"\u52fe\u9009\u6761\u76ee"),n.a.createElement("td",null,"(key: string, selected: boolean)"),n.a.createElement("td",null)),n.a.createElement("tr",null,n.a.createElement("td",null,"onItemSelectAll"),n.a.createElement("td",null,"\u52fe\u9009\u4e00\u7ec4\u6761\u76ee"),n.a.createElement("td",null,"(keys: string[], selected: boolean)"),n.a.createElement("td",null)))),n.a.createElement("h4",{id:"\u53c2\u8003\u793a\u4f8b"},n.a.createElement(r["AnchorLink"],{to:"#\u53c2\u8003\u793a\u4f8b","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u53c2\u8003\u793a\u4f8b"),n.a.createElement(d["a"],{code:"<Transfer {...props}>\n {(listProps) => <YourComponent {...listProps} />}\n</Transfer>",lang:"bash"}),n.a.createElement("h2",{id:"\u6ce8\u610f"},n.a.createElement(r["AnchorLink"],{to:"#\u6ce8\u610f","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u6ce8\u610f"),n.a.createElement("p",null,"\u6309\u7167 React \u7684",n.a.createElement(r["Link"],{to:"http://facebook.github.io/react/docs/lists-and-keys.html#keys"},"\u89c4\u8303"),"\uff0c\u6240\u6709\u7684\u7ec4\u4ef6\u6570\u7ec4\u5fc5\u987b\u7ed1\u5b9a key\u3002\u5728 Transfer \u4e2d\uff0c",n.a.createElement("code",null,"dataSource")," \u91cc\u7684\u6570\u636e\u503c\u9700\u8981\u6307\u5b9a ",n.a.createElement("code",null,"key")," \u503c\u3002\u5bf9\u4e8e ",n.a.createElement("code",null,"dataSource")," \u9ed8\u8ba4\u5c06\u6bcf\u5217\u6570\u636e\u7684 ",n.a.createElement("code",null,"key")," \u5c5e\u6027\u4f5c\u4e3a\u552f\u4e00\u7684\u6807\u8bc6\u3002"),n.a.createElement("p",null,"\u5982\u679c\u4f60\u7684\u6570\u636e\u6ca1\u6709\u8fd9\u4e2a\u5c5e\u6027\uff0c\u52a1\u5fc5\u4f7f\u7528 ",n.a.createElement("code",null,"rowKey")," \u6765\u6307\u5b9a\u6570\u636e\u5217\u7684\u4e3b\u952e\u3002"),n.a.createElement(d["a"],{code:"// \u6bd4\u5982\u4f60\u7684\u6570\u636e\u4e3b\u952e\u662f uid\nreturn <Transfer rowKey={(record) => record.uid} />;",lang:"bash"}),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:"\u600e\u6837\u8ba9-transfer-\u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d"},n.a.createElement(r["AnchorLink"],{to:"#\u600e\u6837\u8ba9-transfer-\u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d","aria-hidden":"true",tabIndex:-1},n.a.createElement("span",{className:"icon icon-link"})),"\u600e\u6837\u8ba9 Transfer \u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d"),n.a.createElement("p",null,"\u4e3a\u4e86\u4fdd\u6301\u9875\u7801\u540c\u6b65\uff0c\u5728\u52fe\u9009\u65f6\u53ef\u4ee5\u4e0d\u79fb\u9664\u9009\u9879\u800c\u4ee5\u7981\u7528\u4ee3\u66ff\uff1a",n.a.createElement(r["Link"],{to:"https://codesandbox.io/s/objective-wing-6iqbx"},"https://codesandbox.io/s/objective-wing-6iqbx"))))))},MZF8:function(e,t,a){"use strict";var l=a("ogwx");a.d(t,"a",(function(){return l["b"]}));a("VCU9")},RZMt:function(e,t,a){},Zxc8:function(e,t,a){"use strict";a.r(t);var l=a("q1tI"),n=a.n(l),r=a("k3GJ"),c=a("MZF8"),d=a("dEAq"),m=a("H1Ra");a("RZMt");function o(e,t){return f(e)||E(e,t)||i(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 i(e,t){if(e){if("string"===typeof e)return s(e,t);var a=Object.prototype.toString.call(e).slice(8,-1);return"Object"===a&&e.constructor&&(a=e.constructor.name),"Map"===a||"Set"===a?Array.from(e):"Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)?s(e,t):void 0}}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var a=0,l=new Array(t);a<t;a++)l[a]=e[a];return l}function E(e,t){var a=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=a){var l,n,r=[],c=!0,d=!1;try{for(a=a.call(e);!(c=(l=a.next()).done);c=!0)if(r.push(l.value),t&&r.length===t)break}catch(m){d=!0,n=m}finally{try{c||null==a["return"]||a["return"]()}finally{if(d)throw n}}return r}}function f(e){if(Array.isArray(e))return e}function p(e,t){var a,l=null===(a=e.match(/\.(\w+)$/))||void 0===a?void 0:a[1];return l||(l=t.tsx?"tsx":"jsx"),l}var h=function(e){var t,a,u,i=Object(l["useRef"])(),s=Object(l["useContext"])(d["context"]),E=s.locale,f=Object(d["useLocaleProps"])(E,e),h=Object(d["useDemoUrl"])(f.identifier),b=f.demoUrl||h,v=(null===c["a"]||void 0===c["a"]?void 0:c["a"].location.hash)==="#".concat(f.identifier),k=1===Object.keys(f.sources).length,y=Object(d["useCodeSandbox"])((null===(t=f.hideActions)||void 0===t?void 0:t.includes("CSB"))?null:f),g=Object(d["useRiddle"])((null===(a=f.hideActions)||void 0===a?void 0:a.includes("RIDDLE"))?null:f),w=Object(d["useMotions"])(f.motions||[],i.current),N=o(w,2),_=N[0],x=N[1],A=Object(d["useCopy"])(),S=o(A,2),I=S[0],L=S[1],j=Object(l["useState"])("_"),C=o(j,2),R=C[0],O=C[1],T=Object(l["useState"])(p(R,f.sources[R])),P=o(T,2),M=P[0],K=P[1],U=Object(l["useState"])(Boolean(f.defaultShowCode)),q=o(U,2),F=q[0],Z=q[1],J=Object(l["useState"])(Math.random()),$=o(J,2),B=$[0],D=$[1],H=f.sources[R][M]||f.sources[R].content,V=Object(d["useTSPlaygroundUrl"])(E,H),G=Object(l["useRef"])(),X=Object(d["usePrefersColor"])(),z=o(X,1),Q=z[0];function W(e){O(e),K(p(e,f.sources[e]))}return Object(l["useEffect"])((function(){D(Math.random())}),[Q]),n.a.createElement("div",{style:f.style,className:[f.className,"__dumi-default-previewer",v?"__dumi-default-previewer-target":""].filter(Boolean).join(" "),id:f.identifier,"data-debug":f.debug||void 0,"data-iframe":f.iframe||void 0},f.iframe&&n.a.createElement("div",{className:"__dumi-default-previewer-browser-nav"}),n.a.createElement("div",{ref:i,className:"__dumi-default-previewer-demo",style:{transform:f.transform?"translate(0, 0)":void 0,padding:f.compact||f.iframe&&!1!==f.compact?"0":void 0,background:f.background}},f.iframe?n.a.createElement("iframe",{title:"dumi-previewer",style:{height:String(f.iframe).replace(/(\d)$/,"$1px")},key:B,src:b,ref:G}):f.children),n.a.createElement("div",{className:"__dumi-default-previewer-desc","data-title":f.title},f.title&&n.a.createElement(d["AnchorLink"],{to:"#".concat(f.identifier)},f.title),f.description&&n.a.createElement("div",{dangerouslySetInnerHTML:{__html:f.description}})),n.a.createElement("div",{className:"__dumi-default-previewer-actions"},y&&n.a.createElement("button",{title:"Open demo on CodeSandbox.io",className:"__dumi-default-icon",role:"codesandbox",onClick:y}),g&&n.a.createElement("button",{title:"Open demo on Riddle",className:"__dumi-default-icon",role:"riddle",onClick:g}),f.motions&&n.a.createElement("button",{title:"Execute motions",className:"__dumi-default-icon",role:"motions",disabled:x,onClick:function(){return _()}}),f.iframe&&n.a.createElement("button",{title:"Reload demo iframe page",className:"__dumi-default-icon",role:"refresh",onClick:function(){return D(Math.random())}}),!(null===(u=f.hideActions)||void 0===u?void 0:u.includes("EXTERNAL"))&&n.a.createElement(d["Link"],{target:"_blank",to:b},n.a.createElement("button",{title:"Open demo in new tab",className:"__dumi-default-icon",role:"open-demo",type:"button"})),n.a.createElement("span",null),n.a.createElement("button",{title:"Copy source code",className:"__dumi-default-icon",role:"copy","data-status":L,onClick:function(){return I(H)}}),"tsx"===M&&F&&n.a.createElement(d["Link"],{target:"_blank",to:V},n.a.createElement("button",{title:"Get JSX via TypeScript Playground",className:"__dumi-default-icon",role:"change-tsx",type:"button"})),n.a.createElement("button",{title:"Toggle source code panel",className:"__dumi-default-icon".concat(F?" __dumi-default-btn-expand":""),role:"source",type:"button",onClick:function(){return Z(!F)}})),F&&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:R,onChange:W},Object.keys(f.sources).map((function(e){return n.a.createElement(r["a"],{tab:"_"===e?"index.".concat(p(e,f.sources[e])):e,key:e})}))),n.a.createElement("div",{className:"__dumi-default-previewer-source"},n.a.createElement(m["a"],{code:H,lang:M,showCopy:!1}))))};t["default"]=h}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [65],
3
+ {
4
+ MMUf: function (e, t, a) {
5
+ 'use strict';
6
+ a.r(t);
7
+ var l = a('q1tI'),
8
+ n = a.n(l),
9
+ r = a('dEAq'),
10
+ c = a('Zxc8'),
11
+ d = a('H1Ra'),
12
+ m = a('JjdP'),
13
+ o = n.a.memo(m['default']['transfer-basic'].component),
14
+ u = n.a.memo(m['default']['transfer-oneway'].component),
15
+ i = n.a.memo(m['default']['transfer-search'].component),
16
+ s = n.a.memo(m['default']['transfer-render'].component),
17
+ E = n.a.memo(m['default']['transfer-pages'].component),
18
+ f = n.a.memo(m['default']['transfer-table'].component),
19
+ p = n.a.memo(m['default']['transfer-tree'].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: 'transfer-\u7a7f\u68ad\u6846' },
44
+ n.a.createElement(
45
+ r['AnchorLink'],
46
+ {
47
+ to: '#transfer-\u7a7f\u68ad\u6846',
48
+ 'aria-hidden': 'true',
49
+ tabIndex: -1,
50
+ },
51
+ n.a.createElement('span', { className: 'icon icon-link' }),
52
+ ),
53
+ 'Transfer \u7a7f\u68ad\u6846',
54
+ ),
55
+ n.a.createElement(
56
+ 'p',
57
+ null,
58
+ '\u53cc\u680f\u7a7f\u68ad\u9009\u62e9\u6846\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
+ '\u9700\u8981\u5728\u591a\u4e2a\u53ef\u9009\u9879\u4e2d\u8fdb\u884c\u591a\u9009\u65f6\u3002',
81
+ ),
82
+ n.a.createElement(
83
+ 'li',
84
+ null,
85
+ '\u6bd4\u8d77 Select \u548c TreeSelect\uff0c\u7a7f\u68ad\u6846\u5360\u636e\u66f4\u5927\u7684\u7a7a\u95f4\uff0c\u53ef\u4ee5\u5c55\u793a\u53ef\u9009\u9879\u7684\u66f4\u591a\u4fe1\u606f\u3002',
86
+ ),
87
+ ),
88
+ n.a.createElement(
89
+ 'p',
90
+ null,
91
+ '\u7a7f\u68ad\u9009\u62e9\u6846\u7528\u76f4\u89c2\u7684\u65b9\u5f0f\u5728\u4e24\u680f\u4e2d\u79fb\u52a8\u5143\u7d20\uff0c\u5b8c\u6210\u9009\u62e9\u884c\u4e3a\u3002',
92
+ ),
93
+ n.a.createElement(
94
+ 'p',
95
+ null,
96
+ '\u9009\u62e9\u4e00\u4e2a\u6216\u4ee5\u4e0a\u7684\u9009\u9879\u540e\uff0c\u70b9\u51fb\u5bf9\u5e94\u7684\u65b9\u5411\u952e\uff0c\u53ef\u4ee5\u628a\u9009\u4e2d\u7684\u9009\u9879\u79fb\u52a8\u5230\u53e6\u4e00\u680f\u3002\u5176\u4e2d\uff0c\u5de6\u8fb9\u4e00\u680f\u4e3a ',
97
+ n.a.createElement('code', null, 'source'),
98
+ '\uff0c\u53f3\u8fb9\u4e00\u680f\u4e3a ',
99
+ n.a.createElement('code', null, 'target'),
100
+ '\uff0cAPI \u7684\u8bbe\u8ba1\u4e5f\u53cd\u6620\u4e86\u8fd9\u4e24\u4e2a\u6982\u5ff5\u3002',
101
+ ),
102
+ n.a.createElement(
103
+ 'h2',
104
+ { id: '\u4ee3\u7801\u6f14\u793a' },
105
+ n.a.createElement(
106
+ r['AnchorLink'],
107
+ {
108
+ to: '#\u4ee3\u7801\u6f14\u793a',
109
+ 'aria-hidden': 'true',
110
+ tabIndex: -1,
111
+ },
112
+ n.a.createElement('span', { className: 'icon icon-link' }),
113
+ ),
114
+ '\u4ee3\u7801\u6f14\u793a',
115
+ ),
116
+ n.a.createElement(
117
+ 'h3',
118
+ { id: '\u57fa\u672c\u7528\u6cd5' },
119
+ n.a.createElement(
120
+ r['AnchorLink'],
121
+ {
122
+ to: '#\u57fa\u672c\u7528\u6cd5',
123
+ 'aria-hidden': 'true',
124
+ tabIndex: -1,
125
+ },
126
+ n.a.createElement('span', { className: 'icon icon-link' }),
127
+ ),
128
+ '\u57fa\u672c\u7528\u6cd5',
129
+ ),
130
+ ),
131
+ n.a.createElement(
132
+ c['default'],
133
+ m['default']['transfer-basic'].previewerProps,
134
+ n.a.createElement(o, null),
135
+ ),
136
+ n.a.createElement(
137
+ 'div',
138
+ { className: 'markdown' },
139
+ n.a.createElement(
140
+ 'h3',
141
+ { id: '\u5355\u5411\u6837\u5f0f' },
142
+ n.a.createElement(
143
+ r['AnchorLink'],
144
+ {
145
+ to: '#\u5355\u5411\u6837\u5f0f',
146
+ 'aria-hidden': 'true',
147
+ tabIndex: -1,
148
+ },
149
+ n.a.createElement('span', { className: 'icon icon-link' }),
150
+ ),
151
+ '\u5355\u5411\u6837\u5f0f',
152
+ ),
153
+ ),
154
+ n.a.createElement(
155
+ c['default'],
156
+ m['default']['transfer-oneway'].previewerProps,
157
+ n.a.createElement(u, null),
158
+ ),
159
+ n.a.createElement(
160
+ 'div',
161
+ { className: 'markdown' },
162
+ n.a.createElement(
163
+ 'h3',
164
+ { id: '\u5e26\u641c\u7d22\u6846' },
165
+ n.a.createElement(
166
+ r['AnchorLink'],
167
+ {
168
+ to: '#\u5e26\u641c\u7d22\u6846',
169
+ 'aria-hidden': 'true',
170
+ tabIndex: -1,
171
+ },
172
+ n.a.createElement('span', { className: 'icon icon-link' }),
173
+ ),
174
+ '\u5e26\u641c\u7d22\u6846',
175
+ ),
176
+ ),
177
+ n.a.createElement(
178
+ c['default'],
179
+ m['default']['transfer-search'].previewerProps,
180
+ n.a.createElement(i, null),
181
+ ),
182
+ n.a.createElement(
183
+ 'div',
184
+ { className: 'markdown' },
185
+ n.a.createElement(
186
+ 'h3',
187
+ { id: '\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e' },
188
+ n.a.createElement(
189
+ r['AnchorLink'],
190
+ {
191
+ to: '#\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e',
192
+ 'aria-hidden': 'true',
193
+ tabIndex: -1,
194
+ },
195
+ n.a.createElement('span', { className: 'icon icon-link' }),
196
+ ),
197
+ '\u81ea\u5b9a\u4e49\u6e32\u67d3\u884c\u6570\u636e',
198
+ ),
199
+ ),
200
+ n.a.createElement(
201
+ c['default'],
202
+ m['default']['transfer-render'].previewerProps,
203
+ n.a.createElement(s, null),
204
+ ),
205
+ n.a.createElement(
206
+ 'div',
207
+ { className: 'markdown' },
208
+ n.a.createElement(
209
+ 'h3',
210
+ { id: '\u5206\u9875' },
211
+ n.a.createElement(
212
+ r['AnchorLink'],
213
+ { to: '#\u5206\u9875', 'aria-hidden': 'true', tabIndex: -1 },
214
+ n.a.createElement('span', { className: 'icon icon-link' }),
215
+ ),
216
+ '\u5206\u9875',
217
+ ),
218
+ ),
219
+ n.a.createElement(
220
+ c['default'],
221
+ m['default']['transfer-pages'].previewerProps,
222
+ n.a.createElement(E, null),
223
+ ),
224
+ n.a.createElement(
225
+ 'div',
226
+ { className: 'markdown' },
227
+ n.a.createElement(
228
+ 'h3',
229
+ { id: '\u8868\u683c\u7a7f\u68ad\u6846' },
230
+ n.a.createElement(
231
+ r['AnchorLink'],
232
+ {
233
+ to: '#\u8868\u683c\u7a7f\u68ad\u6846',
234
+ 'aria-hidden': 'true',
235
+ tabIndex: -1,
236
+ },
237
+ n.a.createElement('span', { className: 'icon icon-link' }),
238
+ ),
239
+ '\u8868\u683c\u7a7f\u68ad\u6846',
240
+ ),
241
+ ),
242
+ n.a.createElement(
243
+ c['default'],
244
+ m['default']['transfer-table'].previewerProps,
245
+ n.a.createElement(f, null),
246
+ ),
247
+ n.a.createElement(
248
+ 'div',
249
+ { className: 'markdown' },
250
+ n.a.createElement(
251
+ 'h3',
252
+ { id: '\u6811\u7a7f\u68ad\u6846' },
253
+ n.a.createElement(
254
+ r['AnchorLink'],
255
+ {
256
+ to: '#\u6811\u7a7f\u68ad\u6846',
257
+ 'aria-hidden': 'true',
258
+ tabIndex: -1,
259
+ },
260
+ n.a.createElement('span', { className: 'icon icon-link' }),
261
+ ),
262
+ '\u6811\u7a7f\u68ad\u6846',
263
+ ),
264
+ ),
265
+ n.a.createElement(
266
+ c['default'],
267
+ m['default']['transfer-tree'].previewerProps,
268
+ n.a.createElement(p, null),
269
+ ),
270
+ n.a.createElement(
271
+ 'div',
272
+ { className: 'markdown' },
273
+ n.a.createElement(
274
+ 'h2',
275
+ { id: 'api' },
276
+ n.a.createElement(
277
+ r['AnchorLink'],
278
+ { to: '#api', 'aria-hidden': 'true', tabIndex: -1 },
279
+ n.a.createElement('span', { className: 'icon icon-link' }),
280
+ ),
281
+ 'API',
282
+ ),
283
+ n.a.createElement(
284
+ 'h3',
285
+ { id: 'transfer' },
286
+ n.a.createElement(
287
+ r['AnchorLink'],
288
+ { to: '#transfer', 'aria-hidden': 'true', tabIndex: -1 },
289
+ n.a.createElement('span', { className: 'icon icon-link' }),
290
+ ),
291
+ 'Transfer',
292
+ ),
293
+ n.a.createElement(
294
+ 'table',
295
+ null,
296
+ n.a.createElement(
297
+ 'thead',
298
+ null,
299
+ n.a.createElement(
300
+ 'tr',
301
+ null,
302
+ n.a.createElement('th', null, '\u53c2\u6570'),
303
+ n.a.createElement('th', null, '\u8bf4\u660e'),
304
+ n.a.createElement('th', null, '\u7c7b\u578b'),
305
+ n.a.createElement('th', null, '\u9ed8\u8ba4\u503c'),
306
+ n.a.createElement('th', null, '\u7248\u672c'),
307
+ ),
308
+ ),
309
+ n.a.createElement(
310
+ 'tbody',
311
+ null,
312
+ n.a.createElement(
313
+ 'tr',
314
+ null,
315
+ n.a.createElement('td', null, 'dataSource'),
316
+ n.a.createElement(
317
+ 'td',
318
+ null,
319
+ '\u6570\u636e\u6e90\uff0c\u5176\u4e2d\u7684\u6570\u636e\u5c06\u4f1a\u88ab\u6e32\u67d3\u5230\u5de6\u8fb9\u4e00\u680f\u4e2d\uff0c',
320
+ n.a.createElement('code', null, 'targetKeys'),
321
+ ' \u4e2d\u6307\u5b9a\u7684\u9664\u5916',
322
+ ),
323
+ n.a.createElement(
324
+ 'td',
325
+ null,
326
+ n.a.createElement(
327
+ r['Link'],
328
+ { to: 'https://git.io/vMM64' },
329
+ 'RecordType extends TransferItem = TransferItem',
330
+ ),
331
+ '[]',
332
+ ),
333
+ n.a.createElement('td', null, '[]'),
334
+ n.a.createElement('td', null),
335
+ ),
336
+ n.a.createElement(
337
+ 'tr',
338
+ null,
339
+ n.a.createElement('td', null, 'disabled'),
340
+ n.a.createElement('td', null, '\u662f\u5426\u7981\u7528'),
341
+ n.a.createElement('td', null, 'boolean'),
342
+ n.a.createElement('td', null, 'false'),
343
+ n.a.createElement('td', null),
344
+ ),
345
+ n.a.createElement(
346
+ 'tr',
347
+ null,
348
+ n.a.createElement('td', null, 'filterOption'),
349
+ n.a.createElement(
350
+ 'td',
351
+ null,
352
+ '\u63a5\u6536 ',
353
+ n.a.createElement('code', null, 'inputValue'),
354
+ ' ',
355
+ n.a.createElement('code', null, 'option'),
356
+ ' \u4e24\u4e2a\u53c2\u6570\uff0c\u5f53 ',
357
+ n.a.createElement('code', null, 'option'),
358
+ ' \u7b26\u5408\u7b5b\u9009\u6761\u4ef6\u65f6\uff0c\u5e94\u8fd4\u56de true\uff0c\u53cd\u4e4b\u5219\u8fd4\u56de false',
359
+ ),
360
+ n.a.createElement(
361
+ 'td',
362
+ null,
363
+ '(inputValue, option): boolean',
364
+ ),
365
+ n.a.createElement('td', null, '-'),
366
+ n.a.createElement('td', null),
367
+ ),
368
+ n.a.createElement(
369
+ 'tr',
370
+ null,
371
+ n.a.createElement('td', null, 'footer'),
372
+ n.a.createElement(
373
+ 'td',
374
+ null,
375
+ '\u5e95\u90e8\u6e32\u67d3\u51fd\u6570',
376
+ ),
377
+ n.a.createElement(
378
+ 'td',
379
+ null,
380
+ '(props, ',
381
+ '{',
382
+ ' direction ',
383
+ '}',
384
+ ') => ReactNode',
385
+ ),
386
+ n.a.createElement('td', null, '-'),
387
+ n.a.createElement('td', null, 'direction: 4.17.0'),
388
+ ),
389
+ n.a.createElement(
390
+ 'tr',
391
+ null,
392
+ n.a.createElement('td', null, 'listStyle'),
393
+ n.a.createElement(
394
+ 'td',
395
+ null,
396
+ '\u4e24\u4e2a\u7a7f\u68ad\u6846\u7684\u81ea\u5b9a\u4e49\u6837\u5f0f',
397
+ ),
398
+ n.a.createElement(
399
+ 'td',
400
+ null,
401
+ 'object|(',
402
+ '{',
403
+ 'direction: ',
404
+ n.a.createElement('code', null, 'left'),
405
+ ' | ',
406
+ n.a.createElement('code', null, 'right'),
407
+ '}',
408
+ ') => object',
409
+ ),
410
+ n.a.createElement('td', null, '-'),
411
+ n.a.createElement('td', null),
412
+ ),
413
+ n.a.createElement(
414
+ 'tr',
415
+ null,
416
+ n.a.createElement('td', null, 'locale'),
417
+ n.a.createElement('td', null, '\u5404\u79cd\u8bed\u8a00'),
418
+ n.a.createElement(
419
+ 'td',
420
+ null,
421
+ '{',
422
+ ' itemUnit: string; itemsUnit: string; searchPlaceholder: string; notFoundContent: ReactNode | ReactNode[]; ',
423
+ '}',
424
+ ),
425
+ n.a.createElement(
426
+ 'td',
427
+ null,
428
+ '{',
429
+ ' itemUnit: ',
430
+ n.a.createElement('code', null, '\u9879'),
431
+ ', itemsUnit: ',
432
+ n.a.createElement('code', null, '\u9879'),
433
+ ', searchPlaceholder: ',
434
+ n.a.createElement(
435
+ 'code',
436
+ null,
437
+ '\u8bf7\u8f93\u5165\u641c\u7d22\u5185\u5bb9',
438
+ ),
439
+ ' ',
440
+ '}',
441
+ ),
442
+ n.a.createElement('td', null),
443
+ ),
444
+ n.a.createElement(
445
+ 'tr',
446
+ null,
447
+ n.a.createElement('td', null, 'oneWay'),
448
+ n.a.createElement(
449
+ 'td',
450
+ null,
451
+ '\u5c55\u793a\u4e3a\u5355\u5411\u6837\u5f0f',
452
+ ),
453
+ n.a.createElement('td', null, 'boolean'),
454
+ n.a.createElement('td', null, 'false'),
455
+ n.a.createElement('td', null, '4.3.0'),
456
+ ),
457
+ n.a.createElement(
458
+ 'tr',
459
+ null,
460
+ n.a.createElement('td', null, 'operations'),
461
+ n.a.createElement(
462
+ 'td',
463
+ null,
464
+ '\u64cd\u4f5c\u6587\u6848\u96c6\u5408\uff0c\u987a\u5e8f\u4ece\u4e0a\u81f3\u4e0b',
465
+ ),
466
+ n.a.createElement('td', null, 'string[]'),
467
+ n.a.createElement(
468
+ 'td',
469
+ null,
470
+ '[',
471
+ n.a.createElement('code', null, '>'),
472
+ ', ',
473
+ n.a.createElement('code', null, '<'),
474
+ ']',
475
+ ),
476
+ n.a.createElement('td', null),
477
+ ),
478
+ n.a.createElement(
479
+ 'tr',
480
+ null,
481
+ n.a.createElement('td', null, 'pagination'),
482
+ n.a.createElement(
483
+ 'td',
484
+ null,
485
+ '\u4f7f\u7528\u5206\u9875\u6837\u5f0f\uff0c\u81ea\u5b9a\u4e49\u6e32\u67d3\u5217\u8868\u4e0b\u65e0\u6548',
486
+ ),
487
+ n.a.createElement(
488
+ 'td',
489
+ null,
490
+ 'boolean | ',
491
+ '{',
492
+ ' pageSize: number ',
493
+ '}',
494
+ ),
495
+ n.a.createElement('td', null, 'false'),
496
+ n.a.createElement('td', null, '4.3.0'),
497
+ ),
498
+ n.a.createElement(
499
+ 'tr',
500
+ null,
501
+ n.a.createElement('td', null, 'render'),
502
+ n.a.createElement(
503
+ 'td',
504
+ null,
505
+ '\u6bcf\u884c\u6570\u636e\u6e32\u67d3\u51fd\u6570\uff0c\u8be5\u51fd\u6570\u7684\u5165\u53c2\u4e3a ',
506
+ n.a.createElement('code', null, 'dataSource'),
507
+ ' \u4e2d\u7684\u9879\uff0c\u8fd4\u56de\u503c\u4e3a ReactElement\u3002\u6216\u8005\u8fd4\u56de\u4e00\u4e2a\u666e\u901a\u5bf9\u8c61\uff0c\u5176\u4e2d ',
508
+ n.a.createElement('code', null, 'label'),
509
+ ' \u5b57\u6bb5\u4e3a ReactElement\uff0c',
510
+ n.a.createElement('code', null, 'value'),
511
+ ' \u5b57\u6bb5\u4e3a title',
512
+ ),
513
+ n.a.createElement('td', null, '(record) => ReactNode'),
514
+ n.a.createElement('td', null, '-'),
515
+ n.a.createElement('td', null),
516
+ ),
517
+ n.a.createElement(
518
+ 'tr',
519
+ null,
520
+ n.a.createElement('td', null, 'selectAllLabels'),
521
+ n.a.createElement(
522
+ 'td',
523
+ null,
524
+ '\u81ea\u5b9a\u4e49\u9876\u90e8\u591a\u9009\u6846\u6807\u9898\u7684\u96c6\u5408',
525
+ ),
526
+ n.a.createElement(
527
+ 'td',
528
+ null,
529
+ '(ReactNode | (info: ',
530
+ '{',
531
+ ' selectedCount: number, totalCount: number ',
532
+ '}',
533
+ ') => ReactNode)[]',
534
+ ),
535
+ n.a.createElement('td', null, '-'),
536
+ n.a.createElement('td', null),
537
+ ),
538
+ n.a.createElement(
539
+ 'tr',
540
+ null,
541
+ n.a.createElement('td', null, 'selectedKeys'),
542
+ n.a.createElement(
543
+ 'td',
544
+ null,
545
+ '\u8bbe\u7f6e\u54ea\u4e9b\u9879\u5e94\u8be5\u88ab\u9009\u4e2d',
546
+ ),
547
+ n.a.createElement('td', null, 'string[]'),
548
+ n.a.createElement('td', null, '[]'),
549
+ n.a.createElement('td', null),
550
+ ),
551
+ n.a.createElement(
552
+ 'tr',
553
+ null,
554
+ n.a.createElement('td', null, 'showSearch'),
555
+ n.a.createElement(
556
+ 'td',
557
+ null,
558
+ '\u662f\u5426\u663e\u793a\u641c\u7d22\u6846',
559
+ ),
560
+ n.a.createElement('td', null, 'boolean'),
561
+ n.a.createElement('td', null, 'false'),
562
+ n.a.createElement('td', null),
563
+ ),
564
+ n.a.createElement(
565
+ 'tr',
566
+ null,
567
+ n.a.createElement('td', null, 'showSelectAll'),
568
+ n.a.createElement(
569
+ 'td',
570
+ null,
571
+ '\u662f\u5426\u5c55\u793a\u5168\u9009\u52fe\u9009\u6846',
572
+ ),
573
+ n.a.createElement('td', null, 'boolean'),
574
+ n.a.createElement('td', null, 'true'),
575
+ n.a.createElement('td', null),
576
+ ),
577
+ n.a.createElement(
578
+ 'tr',
579
+ null,
580
+ n.a.createElement('td', null, 'targetKeys'),
581
+ n.a.createElement(
582
+ 'td',
583
+ null,
584
+ '\u663e\u793a\u5728\u53f3\u4fa7\u6846\u6570\u636e\u7684 key \u96c6\u5408',
585
+ ),
586
+ n.a.createElement('td', null, 'string[]'),
587
+ n.a.createElement('td', null, '[]'),
588
+ n.a.createElement('td', null),
589
+ ),
590
+ n.a.createElement(
591
+ 'tr',
592
+ null,
593
+ n.a.createElement('td', null, 'titles'),
594
+ n.a.createElement(
595
+ 'td',
596
+ null,
597
+ '\u6807\u9898\u96c6\u5408\uff0c\u987a\u5e8f\u4ece\u5de6\u81f3\u53f3',
598
+ ),
599
+ n.a.createElement('td', null, 'ReactNode[]'),
600
+ n.a.createElement('td', null, '-'),
601
+ n.a.createElement('td', null),
602
+ ),
603
+ n.a.createElement(
604
+ 'tr',
605
+ null,
606
+ n.a.createElement('td', null, 'onChange'),
607
+ n.a.createElement(
608
+ 'td',
609
+ null,
610
+ '\u9009\u9879\u5728\u4e24\u680f\u4e4b\u95f4\u8f6c\u79fb\u65f6\u7684\u56de\u8c03\u51fd\u6570',
611
+ ),
612
+ n.a.createElement(
613
+ 'td',
614
+ null,
615
+ '(targetKeys, direction, moveKeys): void',
616
+ ),
617
+ n.a.createElement('td', null, '-'),
618
+ n.a.createElement('td', null),
619
+ ),
620
+ n.a.createElement(
621
+ 'tr',
622
+ null,
623
+ n.a.createElement('td', null, 'onScroll'),
624
+ n.a.createElement(
625
+ 'td',
626
+ null,
627
+ '\u9009\u9879\u5217\u8868\u6eda\u52a8\u65f6\u7684\u56de\u8c03\u51fd\u6570',
628
+ ),
629
+ n.a.createElement('td', null, '(direction, event): void'),
630
+ n.a.createElement('td', null, '-'),
631
+ n.a.createElement('td', null),
632
+ ),
633
+ n.a.createElement(
634
+ 'tr',
635
+ null,
636
+ n.a.createElement('td', null, 'onSearch'),
637
+ n.a.createElement(
638
+ 'td',
639
+ null,
640
+ '\u641c\u7d22\u6846\u5185\u5bb9\u65f6\u6539\u53d8\u65f6\u7684\u56de\u8c03\u51fd\u6570',
641
+ ),
642
+ n.a.createElement(
643
+ 'td',
644
+ null,
645
+ '(direction: ',
646
+ n.a.createElement('code', null, 'left'),
647
+ ' | ',
648
+ n.a.createElement('code', null, 'right'),
649
+ ', value: string): void',
650
+ ),
651
+ n.a.createElement('td', null, '-'),
652
+ n.a.createElement('td', null),
653
+ ),
654
+ n.a.createElement(
655
+ 'tr',
656
+ null,
657
+ n.a.createElement('td', null, 'onSelectChange'),
658
+ n.a.createElement(
659
+ 'td',
660
+ null,
661
+ '\u9009\u4e2d\u9879\u53d1\u751f\u6539\u53d8\u65f6\u7684\u56de\u8c03\u51fd\u6570',
662
+ ),
663
+ n.a.createElement(
664
+ 'td',
665
+ null,
666
+ '(sourceSelectedKeys, targetSelectedKeys): void',
667
+ ),
668
+ n.a.createElement('td', null, '-'),
669
+ n.a.createElement('td', null),
670
+ ),
671
+ ),
672
+ ),
673
+ n.a.createElement(
674
+ 'h3',
675
+ { id: 'render-props' },
676
+ n.a.createElement(
677
+ r['AnchorLink'],
678
+ { to: '#render-props', 'aria-hidden': 'true', tabIndex: -1 },
679
+ n.a.createElement('span', { className: 'icon icon-link' }),
680
+ ),
681
+ 'Render Props',
682
+ ),
683
+ n.a.createElement(
684
+ 'p',
685
+ null,
686
+ 'Transfer \u652f\u6301\u63a5\u6536 ',
687
+ n.a.createElement('code', null, 'children'),
688
+ ' \u81ea\u5b9a\u4e49\u6e32\u67d3\u5217\u8868\uff0c\u5e76\u8fd4\u56de\u4ee5\u4e0b\u53c2\u6570\uff1a',
689
+ ),
690
+ n.a.createElement(
691
+ 'table',
692
+ null,
693
+ n.a.createElement(
694
+ 'thead',
695
+ null,
696
+ n.a.createElement(
697
+ 'tr',
698
+ null,
699
+ n.a.createElement('th', null, '\u53c2\u6570'),
700
+ n.a.createElement('th', null, '\u8bf4\u660e'),
701
+ n.a.createElement('th', null, '\u7c7b\u578b'),
702
+ n.a.createElement('th', null, '\u7248\u672c'),
703
+ ),
704
+ ),
705
+ n.a.createElement(
706
+ 'tbody',
707
+ null,
708
+ n.a.createElement(
709
+ 'tr',
710
+ null,
711
+ n.a.createElement('td', null, 'direction'),
712
+ n.a.createElement(
713
+ 'td',
714
+ null,
715
+ '\u6e32\u67d3\u5217\u8868\u7684\u65b9\u5411',
716
+ ),
717
+ n.a.createElement(
718
+ 'td',
719
+ null,
720
+ n.a.createElement('code', null, 'left'),
721
+ ' | ',
722
+ n.a.createElement('code', null, 'right'),
723
+ ),
724
+ n.a.createElement('td', null),
725
+ ),
726
+ n.a.createElement(
727
+ 'tr',
728
+ null,
729
+ n.a.createElement('td', null, 'disabled'),
730
+ n.a.createElement(
731
+ 'td',
732
+ null,
733
+ '\u662f\u5426\u7981\u7528\u5217\u8868',
734
+ ),
735
+ n.a.createElement('td', null, 'boolean'),
736
+ n.a.createElement('td', null),
737
+ ),
738
+ n.a.createElement(
739
+ 'tr',
740
+ null,
741
+ n.a.createElement('td', null, 'filteredItems'),
742
+ n.a.createElement(
743
+ 'td',
744
+ null,
745
+ '\u8fc7\u6ee4\u540e\u7684\u6570\u636e',
746
+ ),
747
+ n.a.createElement('td', null, 'RecordType[]'),
748
+ n.a.createElement('td', null),
749
+ ),
750
+ n.a.createElement(
751
+ 'tr',
752
+ null,
753
+ n.a.createElement('td', null, 'selectedKeys'),
754
+ n.a.createElement(
755
+ 'td',
756
+ null,
757
+ '\u9009\u4e2d\u7684\u6761\u76ee',
758
+ ),
759
+ n.a.createElement('td', null, 'string[]'),
760
+ n.a.createElement('td', null),
761
+ ),
762
+ n.a.createElement(
763
+ 'tr',
764
+ null,
765
+ n.a.createElement('td', null, 'onItemSelect'),
766
+ n.a.createElement('td', null, '\u52fe\u9009\u6761\u76ee'),
767
+ n.a.createElement(
768
+ 'td',
769
+ null,
770
+ '(key: string, selected: boolean)',
771
+ ),
772
+ n.a.createElement('td', null),
773
+ ),
774
+ n.a.createElement(
775
+ 'tr',
776
+ null,
777
+ n.a.createElement('td', null, 'onItemSelectAll'),
778
+ n.a.createElement(
779
+ 'td',
780
+ null,
781
+ '\u52fe\u9009\u4e00\u7ec4\u6761\u76ee',
782
+ ),
783
+ n.a.createElement(
784
+ 'td',
785
+ null,
786
+ '(keys: string[], selected: boolean)',
787
+ ),
788
+ n.a.createElement('td', null),
789
+ ),
790
+ ),
791
+ ),
792
+ n.a.createElement(
793
+ 'h4',
794
+ { id: '\u53c2\u8003\u793a\u4f8b' },
795
+ n.a.createElement(
796
+ r['AnchorLink'],
797
+ {
798
+ to: '#\u53c2\u8003\u793a\u4f8b',
799
+ 'aria-hidden': 'true',
800
+ tabIndex: -1,
801
+ },
802
+ n.a.createElement('span', { className: 'icon icon-link' }),
803
+ ),
804
+ '\u53c2\u8003\u793a\u4f8b',
805
+ ),
806
+ n.a.createElement(d['a'], {
807
+ code: '<Transfer {...props}>\n {(listProps) => <YourComponent {...listProps} />}\n</Transfer>',
808
+ lang: 'bash',
809
+ }),
810
+ n.a.createElement(
811
+ 'h2',
812
+ { id: '\u6ce8\u610f' },
813
+ n.a.createElement(
814
+ r['AnchorLink'],
815
+ { to: '#\u6ce8\u610f', 'aria-hidden': 'true', tabIndex: -1 },
816
+ n.a.createElement('span', { className: 'icon icon-link' }),
817
+ ),
818
+ '\u6ce8\u610f',
819
+ ),
820
+ n.a.createElement(
821
+ 'p',
822
+ null,
823
+ '\u6309\u7167 React \u7684',
824
+ n.a.createElement(
825
+ r['Link'],
826
+ {
827
+ to: 'http://facebook.github.io/react/docs/lists-and-keys.html#keys',
828
+ },
829
+ '\u89c4\u8303',
830
+ ),
831
+ '\uff0c\u6240\u6709\u7684\u7ec4\u4ef6\u6570\u7ec4\u5fc5\u987b\u7ed1\u5b9a key\u3002\u5728 Transfer \u4e2d\uff0c',
832
+ n.a.createElement('code', null, 'dataSource'),
833
+ ' \u91cc\u7684\u6570\u636e\u503c\u9700\u8981\u6307\u5b9a ',
834
+ n.a.createElement('code', null, 'key'),
835
+ ' \u503c\u3002\u5bf9\u4e8e ',
836
+ n.a.createElement('code', null, 'dataSource'),
837
+ ' \u9ed8\u8ba4\u5c06\u6bcf\u5217\u6570\u636e\u7684 ',
838
+ n.a.createElement('code', null, 'key'),
839
+ ' \u5c5e\u6027\u4f5c\u4e3a\u552f\u4e00\u7684\u6807\u8bc6\u3002',
840
+ ),
841
+ n.a.createElement(
842
+ 'p',
843
+ null,
844
+ '\u5982\u679c\u4f60\u7684\u6570\u636e\u6ca1\u6709\u8fd9\u4e2a\u5c5e\u6027\uff0c\u52a1\u5fc5\u4f7f\u7528 ',
845
+ n.a.createElement('code', null, 'rowKey'),
846
+ ' \u6765\u6307\u5b9a\u6570\u636e\u5217\u7684\u4e3b\u952e\u3002',
847
+ ),
848
+ n.a.createElement(d['a'], {
849
+ code: '// \u6bd4\u5982\u4f60\u7684\u6570\u636e\u4e3b\u952e\u662f uid\nreturn <Transfer rowKey={(record) => record.uid} />;',
850
+ lang: 'bash',
851
+ }),
852
+ n.a.createElement(
853
+ 'h2',
854
+ { id: 'faq' },
855
+ n.a.createElement(
856
+ r['AnchorLink'],
857
+ { to: '#faq', 'aria-hidden': 'true', tabIndex: -1 },
858
+ n.a.createElement('span', { className: 'icon icon-link' }),
859
+ ),
860
+ 'FAQ',
861
+ ),
862
+ n.a.createElement(
863
+ 'h3',
864
+ {
865
+ id: '\u600e\u6837\u8ba9-transfer-\u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d',
866
+ },
867
+ n.a.createElement(
868
+ r['AnchorLink'],
869
+ {
870
+ to: '#\u600e\u6837\u8ba9-transfer-\u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d',
871
+ 'aria-hidden': 'true',
872
+ tabIndex: -1,
873
+ },
874
+ n.a.createElement('span', { className: 'icon icon-link' }),
875
+ ),
876
+ '\u600e\u6837\u8ba9 Transfer \u7a7f\u68ad\u6846\u5217\u8868\u652f\u6301\u5f02\u6b65\u6570\u636e\u52a0\u8f7d',
877
+ ),
878
+ n.a.createElement(
879
+ 'p',
880
+ null,
881
+ '\u4e3a\u4e86\u4fdd\u6301\u9875\u7801\u540c\u6b65\uff0c\u5728\u52fe\u9009\u65f6\u53ef\u4ee5\u4e0d\u79fb\u9664\u9009\u9879\u800c\u4ee5\u7981\u7528\u4ee3\u66ff\uff1a',
882
+ n.a.createElement(
883
+ r['Link'],
884
+ { to: 'https://codesandbox.io/s/objective-wing-6iqbx' },
885
+ 'https://codesandbox.io/s/objective-wing-6iqbx',
886
+ ),
887
+ ),
888
+ ),
889
+ ),
890
+ )
891
+ );
892
+ },
893
+ MZF8: function (e, t, a) {
894
+ 'use strict';
895
+ var l = a('ogwx');
896
+ a.d(t, 'a', function () {
897
+ return l['b'];
898
+ });
899
+ a('VCU9');
900
+ },
901
+ RZMt: function (e, t, a) {},
902
+ Zxc8: function (e, t, a) {
903
+ 'use strict';
904
+ a.r(t);
905
+ var l = a('q1tI'),
906
+ n = a.n(l),
907
+ r = a('k3GJ'),
908
+ c = a('MZF8'),
909
+ d = a('dEAq'),
910
+ m = a('H1Ra');
911
+ a('RZMt');
912
+ function o(e, t) {
913
+ return f(e) || E(e, t) || i(e, t) || u();
914
+ }
915
+ function u() {
916
+ throw new TypeError(
917
+ 'Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.',
918
+ );
919
+ }
920
+ function i(e, t) {
921
+ if (e) {
922
+ if ('string' === typeof e) return s(e, t);
923
+ var a = Object.prototype.toString.call(e).slice(8, -1);
924
+ return (
925
+ 'Object' === a && e.constructor && (a = e.constructor.name),
926
+ 'Map' === a || 'Set' === a
927
+ ? Array.from(e)
928
+ : 'Arguments' === a ||
929
+ /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a)
930
+ ? s(e, t)
931
+ : void 0
932
+ );
933
+ }
934
+ }
935
+ function s(e, t) {
936
+ (null == t || t > e.length) && (t = e.length);
937
+ for (var a = 0, l = new Array(t); a < t; a++) l[a] = e[a];
938
+ return l;
939
+ }
940
+ function E(e, t) {
941
+ var a =
942
+ null == e
943
+ ? null
944
+ : ('undefined' !== typeof Symbol && e[Symbol.iterator]) ||
945
+ e['@@iterator'];
946
+ if (null != a) {
947
+ var l,
948
+ n,
949
+ r = [],
950
+ c = !0,
951
+ d = !1;
952
+ try {
953
+ for (a = a.call(e); !(c = (l = a.next()).done); c = !0)
954
+ if ((r.push(l.value), t && r.length === t)) break;
955
+ } catch (m) {
956
+ (d = !0), (n = m);
957
+ } finally {
958
+ try {
959
+ c || null == a['return'] || a['return']();
960
+ } finally {
961
+ if (d) throw n;
962
+ }
963
+ }
964
+ return r;
965
+ }
966
+ }
967
+ function f(e) {
968
+ if (Array.isArray(e)) return e;
969
+ }
970
+ function p(e, t) {
971
+ var a,
972
+ l =
973
+ null === (a = e.match(/\.(\w+)$/)) || void 0 === a ? void 0 : a[1];
974
+ return l || (l = t.tsx ? 'tsx' : 'jsx'), l;
975
+ }
976
+ var h = function (e) {
977
+ var t,
978
+ a,
979
+ u,
980
+ i = Object(l['useRef'])(),
981
+ s = Object(l['useContext'])(d['context']),
982
+ E = s.locale,
983
+ f = Object(d['useLocaleProps'])(E, e),
984
+ h = Object(d['useDemoUrl'])(f.identifier),
985
+ b = f.demoUrl || h,
986
+ v =
987
+ (null === c['a'] || void 0 === c['a']
988
+ ? void 0
989
+ : c['a'].location.hash) === '#'.concat(f.identifier),
990
+ k = 1 === Object.keys(f.sources).length,
991
+ y = Object(d['useCodeSandbox'])(
992
+ (
993
+ null === (t = f.hideActions) || void 0 === t
994
+ ? void 0
995
+ : t.includes('CSB')
996
+ )
997
+ ? null
998
+ : f,
999
+ ),
1000
+ g = Object(d['useRiddle'])(
1001
+ (
1002
+ null === (a = f.hideActions) || void 0 === a
1003
+ ? void 0
1004
+ : a.includes('RIDDLE')
1005
+ )
1006
+ ? null
1007
+ : f,
1008
+ ),
1009
+ w = Object(d['useMotions'])(f.motions || [], i.current),
1010
+ N = o(w, 2),
1011
+ _ = N[0],
1012
+ x = N[1],
1013
+ A = Object(d['useCopy'])(),
1014
+ S = o(A, 2),
1015
+ I = S[0],
1016
+ L = S[1],
1017
+ j = Object(l['useState'])('_'),
1018
+ C = o(j, 2),
1019
+ R = C[0],
1020
+ O = C[1],
1021
+ T = Object(l['useState'])(p(R, f.sources[R])),
1022
+ P = o(T, 2),
1023
+ M = P[0],
1024
+ K = P[1],
1025
+ U = Object(l['useState'])(Boolean(f.defaultShowCode)),
1026
+ q = o(U, 2),
1027
+ F = q[0],
1028
+ Z = q[1],
1029
+ J = Object(l['useState'])(Math.random()),
1030
+ $ = o(J, 2),
1031
+ B = $[0],
1032
+ D = $[1],
1033
+ H = f.sources[R][M] || f.sources[R].content,
1034
+ V = Object(d['useTSPlaygroundUrl'])(E, H),
1035
+ G = Object(l['useRef'])(),
1036
+ X = Object(d['usePrefersColor'])(),
1037
+ z = o(X, 1),
1038
+ Q = z[0];
1039
+ function W(e) {
1040
+ O(e), K(p(e, f.sources[e]));
1041
+ }
1042
+ return (
1043
+ Object(l['useEffect'])(
1044
+ function () {
1045
+ D(Math.random());
1046
+ },
1047
+ [Q],
1048
+ ),
1049
+ n.a.createElement(
1050
+ 'div',
1051
+ {
1052
+ style: f.style,
1053
+ className: [
1054
+ f.className,
1055
+ '__dumi-default-previewer',
1056
+ v ? '__dumi-default-previewer-target' : '',
1057
+ ]
1058
+ .filter(Boolean)
1059
+ .join(' '),
1060
+ id: f.identifier,
1061
+ 'data-debug': f.debug || void 0,
1062
+ 'data-iframe': f.iframe || void 0,
1063
+ },
1064
+ f.iframe &&
1065
+ n.a.createElement('div', {
1066
+ className: '__dumi-default-previewer-browser-nav',
1067
+ }),
1068
+ n.a.createElement(
1069
+ 'div',
1070
+ {
1071
+ ref: i,
1072
+ className: '__dumi-default-previewer-demo',
1073
+ style: {
1074
+ transform: f.transform ? 'translate(0, 0)' : void 0,
1075
+ padding:
1076
+ f.compact || (f.iframe && !1 !== f.compact) ? '0' : void 0,
1077
+ background: f.background,
1078
+ },
1079
+ },
1080
+ f.iframe
1081
+ ? n.a.createElement('iframe', {
1082
+ title: 'dumi-previewer',
1083
+ style: {
1084
+ height: String(f.iframe).replace(/(\d)$/, '$1px'),
1085
+ },
1086
+ key: B,
1087
+ src: b,
1088
+ ref: G,
1089
+ })
1090
+ : f.children,
1091
+ ),
1092
+ n.a.createElement(
1093
+ 'div',
1094
+ {
1095
+ className: '__dumi-default-previewer-desc',
1096
+ 'data-title': f.title,
1097
+ },
1098
+ f.title &&
1099
+ n.a.createElement(
1100
+ d['AnchorLink'],
1101
+ { to: '#'.concat(f.identifier) },
1102
+ f.title,
1103
+ ),
1104
+ f.description &&
1105
+ n.a.createElement('div', {
1106
+ dangerouslySetInnerHTML: { __html: f.description },
1107
+ }),
1108
+ ),
1109
+ n.a.createElement(
1110
+ 'div',
1111
+ { className: '__dumi-default-previewer-actions' },
1112
+ y &&
1113
+ n.a.createElement('button', {
1114
+ title: 'Open demo on CodeSandbox.io',
1115
+ className: '__dumi-default-icon',
1116
+ role: 'codesandbox',
1117
+ onClick: y,
1118
+ }),
1119
+ g &&
1120
+ n.a.createElement('button', {
1121
+ title: 'Open demo on Riddle',
1122
+ className: '__dumi-default-icon',
1123
+ role: 'riddle',
1124
+ onClick: g,
1125
+ }),
1126
+ f.motions &&
1127
+ n.a.createElement('button', {
1128
+ title: 'Execute motions',
1129
+ className: '__dumi-default-icon',
1130
+ role: 'motions',
1131
+ disabled: x,
1132
+ onClick: function () {
1133
+ return _();
1134
+ },
1135
+ }),
1136
+ f.iframe &&
1137
+ n.a.createElement('button', {
1138
+ title: 'Reload demo iframe page',
1139
+ className: '__dumi-default-icon',
1140
+ role: 'refresh',
1141
+ onClick: function () {
1142
+ return D(Math.random());
1143
+ },
1144
+ }),
1145
+ !(null === (u = f.hideActions) || void 0 === u
1146
+ ? void 0
1147
+ : u.includes('EXTERNAL')) &&
1148
+ n.a.createElement(
1149
+ d['Link'],
1150
+ { target: '_blank', to: b },
1151
+ n.a.createElement('button', {
1152
+ title: 'Open demo in new tab',
1153
+ className: '__dumi-default-icon',
1154
+ role: 'open-demo',
1155
+ type: 'button',
1156
+ }),
1157
+ ),
1158
+ n.a.createElement('span', null),
1159
+ n.a.createElement('button', {
1160
+ title: 'Copy source code',
1161
+ className: '__dumi-default-icon',
1162
+ role: 'copy',
1163
+ 'data-status': L,
1164
+ onClick: function () {
1165
+ return I(H);
1166
+ },
1167
+ }),
1168
+ 'tsx' === M &&
1169
+ F &&
1170
+ n.a.createElement(
1171
+ d['Link'],
1172
+ { target: '_blank', to: V },
1173
+ n.a.createElement('button', {
1174
+ title: 'Get JSX via TypeScript Playground',
1175
+ className: '__dumi-default-icon',
1176
+ role: 'change-tsx',
1177
+ type: 'button',
1178
+ }),
1179
+ ),
1180
+ n.a.createElement('button', {
1181
+ title: 'Toggle source code panel',
1182
+ className: '__dumi-default-icon'.concat(
1183
+ F ? ' __dumi-default-btn-expand' : '',
1184
+ ),
1185
+ role: 'source',
1186
+ type: 'button',
1187
+ onClick: function () {
1188
+ return Z(!F);
1189
+ },
1190
+ }),
1191
+ ),
1192
+ F &&
1193
+ n.a.createElement(
1194
+ 'div',
1195
+ { className: '__dumi-default-previewer-source-wrapper' },
1196
+ !k &&
1197
+ n.a.createElement(
1198
+ r['b'],
1199
+ {
1200
+ className: '__dumi-default-previewer-source-tab',
1201
+ prefixCls: '__dumi-default-tabs',
1202
+ moreIcon: '\xb7\xb7\xb7',
1203
+ defaultActiveKey: R,
1204
+ onChange: W,
1205
+ },
1206
+ Object.keys(f.sources).map(function (e) {
1207
+ return n.a.createElement(r['a'], {
1208
+ tab:
1209
+ '_' === e ? 'index.'.concat(p(e, f.sources[e])) : e,
1210
+ key: e,
1211
+ });
1212
+ }),
1213
+ ),
1214
+ n.a.createElement(
1215
+ 'div',
1216
+ { className: '__dumi-default-previewer-source' },
1217
+ n.a.createElement(m['a'], { code: H, lang: M, showCopy: !1 }),
1218
+ ),
1219
+ ),
1220
+ )
1221
+ );
1222
+ };
1223
+ t['default'] = h;
1224
+ },
1225
+ },
1226
+ ]);