@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,774 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[105],{"/G2y":function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("0Owb"),c=n("k1fw"),o=n("PpiC"),l=n("q1tI"),i=n.n(l),s=n("m/eG"),u=()=>{var e=(e,t)=>-1!==e.indexOf(t),t=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.map((t=>{var r=t.children,a=Object(o["a"])(t,["children"]);return Object(c["a"])(Object(c["a"])({},a),{},{disabled:n.includes(a.key),children:e(r,n)})}))},n=n=>{var r=n.dataSource,c=n.targetKeys,l=Object(o["a"])(n,["dataSource","targetKeys"]),u=[];function d(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];e.forEach((e=>{u.push(e),d(e.children)}))}return d(r),i.a.createElement(s["eb"],Object(a["a"])({},l,{targetKeys:c,dataSource:u,className:"tree-transfer",render:e=>e.title,showSelectAll:!1}),(n=>{var a=n.direction,o=n.onItemSelect,l=n.selectedKeys;if("left"===a){var u=[...l,...c];return i.a.createElement(s["fb"],{blockNode:!0,checkable:!0,checkStrictly:!0,defaultExpandAll:!0,checkedKeys:u,treeData:t(r,c),onCheck:(t,n)=>{var r=n.node.key;o(r,!e(u,r))},onSelect:(t,n)=>{var r=n.node.key;o(r,!e(u,r))}})}}))},u=[{key:"0-0",title:"0-0"},{key:"0-1",title:"0-1",children:[{key:"0-1-0",title:"0-1-0"},{key:"0-1-1",title:"0-1-1"}]},{key:"0-2",title:"0-3"}],d=Object(l["useState"])([]),h=Object(r["a"])(d,2),f=h[0],g=h[1],v=e=>{g(e)};return i.a.createElement(n,{dataSource:u,targetKeys:f,onChange:v})};t["default"]=u},"2ajD":function(e,t){function n(e){return e!==e}e.exports=n},"3L66":function(e,t,n){var r=n("MMmD"),a=n("ExA7");function c(e){return a(e)&&r(e)}e.exports=c},"7ZD7":function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("q1tI"),c=n.n(a),o=n("m/eG"),l=()=>{for(var e=[],t=0;t<20;t++)e.push({key:t.toString(),title:"content".concat(t+1),description:"description of content".concat(t+1),disabled:t%3<1});var n=e.filter((e=>+e.key%3>1)).map((e=>e.key)),l=Object(a["useState"])(n),i=Object(r["a"])(l,2),s=i[0],u=i[1],d=Object(a["useState"])([]),h=Object(r["a"])(d,2),f=h[0],g=h[1],v=Object(a["useState"])(!1),b=Object(r["a"])(v,2),p=b[0],m=b[1],y=(e,t,n)=>{u(e),console.log("targetKeys: ",e),console.log("direction: ",t),console.log("moveKeys: ",n)},S=(e,t)=>{g([...e,...t]),console.log("sourceSelectedKeys: ",e),console.log("targetSelectedKeys: ",t)},O=(e,t)=>{console.log("direction:",e),console.log("target:",t.target)},j=e=>{m(e)};return c.a.createElement(c.a.Fragment,null,c.a.createElement(o["eb"],{dataSource:e,titles:["Source","Target"],targetKeys:s,selectedKeys:f,onChange:y,onSelectChange:S,onScroll:O,render:e=>e.title,disabled:p,oneWay:!0,style:{marginBottom:16}}),c.a.createElement(o["X"],{unCheckedChildren:"disabled",checkedChildren:"disabled",checked:p,onChange:j}))};t["default"]=l},"88Gu":function(e,t){var n=800,r=16,a=Date.now;function c(e){var t=0,c=0;return function(){var o=a(),l=r-(o-c);if(c=o,l>0){if(++t>=n)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}e.exports=c},BiGR:function(e,t,n){var r=n("nmnc"),a=n("03A+"),c=n("Z0cm"),o=r?r.isConcatSpreadable:void 0;function l(e){return c(e)||a(e)||!!(o&&e&&e[o])}e.exports=l},CZoQ:function(e,t){function n(e,t,n){var r=n-1,a=e.length;while(++r<a)if(e[r]===t)return r;return-1}e.exports=n},EA7m:function(e,t,n){var r=n("zZ0H"),a=n("Ioao"),c=n("wclG");function o(e,t){return c(a(e,t,r),e+"")}e.exports=o},HAib:function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("q1tI"),c=n.n(a),o=n("m/eG"),l=()=>{for(var e=[],t=0;t<20;t++)e.push({key:t.toString(),title:"content".concat(t+1),description:"description of content".concat(t+1)});var n=e.filter((e=>+e.key>10)).map((e=>e.key)),l=Object(a["useState"])(n),i=Object(r["a"])(l,2),s=i[0],u=i[1],d=Object(a["useState"])([]),h=Object(r["a"])(d,2),f=h[0],g=h[1],v=(e,t,n)=>{console.log("targetKeys:",e),console.log("direction:",t),console.log("moveKeys:",n),u(e)},b=(e,t)=>{console.log("sourceSelectedKeys:",e),console.log("targetSelectedKeys:",t),g([...e,...t])},p=(e,t)=>{console.log("direction:",e),console.log("target:",t.target)};return c.a.createElement(o["eb"],{dataSource:e,titles:["Source","Target"],targetKeys:s,selectedKeys:f,onChange:v,onSelectChange:b,onScroll:p,render:e=>e.title})};t["default"]=l},Ioao:function(e,t,n){var r=n("heNW"),a=Math.max;function c(e,t,n){return t=a(void 0===t?e.length-1:t,0),function(){var c=arguments,o=-1,l=a(c.length-t,0),i=Array(l);while(++o<l)i[o]=c[t+o];o=-1;var s=Array(t+1);while(++o<t)s[o]=c[o];return s[t]=n(i),r(e,this,s)}}e.exports=c},JOjJ:function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("PpiC"),c=n("q1tI"),o=n.n(c),l=n("m/eG"),i=n("zqxM"),s=n.n(i),u=()=>{for(var e=e=>{var t=e.leftColumns,n=e.rightColumns,r=Object(a["a"])(e,["leftColumns","rightColumns"]);return o.a.createElement(l["eb"],r,(e=>{var r=e.direction,a=e.filteredItems,c=e.onItemSelectAll,i=e.onItemSelect,u=e.selectedKeys,d=e.disabled,h="left"===r?t:n,f={getCheckboxProps:e=>({disabled:d||e.disabled}),onSelectAll(e,t){var n=t.filter((e=>!e.disabled)).map((e=>{var t=e.key;return t})),r=e?s()(n,u):s()(u,n);c(r,e)},onSelect(e,t){var n=e.key;i(n,t)},selectedRowKeys:u};return o.a.createElement(l["Y"],{rowSelection:f,columns:h,dataSource:a,size:"small",style:{pointerEvents:d?"none":null},onRow:e=>{var t=e.key,n=e.disabled;return{onClick:()=>{n||d||i(t,!u.includes(t))}}}})}))},t=["cat","dog","bird"],n=[],i=0;i<20;i++)n.push({key:i.toString(),title:"content".concat(i+1),description:"description of content".concat(i+1),disabled:i%4===0,tag:t[i%3]});var u=n.filter((e=>+e.key%3>1)).map((e=>e.key)),d=[{dataIndex:"title",title:"Name"},{dataIndex:"tag",title:"Tag",render:e=>o.a.createElement(l["ab"],null,e)},{dataIndex:"description",title:"Description"}],h=[{dataIndex:"title",title:"Name"}],f=Object(c["useState"])(u),g=Object(r["a"])(f,2),v=g[0],b=g[1],p=Object(c["useState"])(!1),m=Object(r["a"])(p,2),y=m[0],S=m[1],O=Object(c["useState"])(!1),j=Object(r["a"])(O,2),k=j[0],C=j[1],w=e=>{b(e)},x=e=>{S(e)},E=e=>{C(e)};return o.a.createElement(o.a.Fragment,null,o.a.createElement(e,{dataSource:n,targetKeys:v,disabled:y,showSearch:k,onChange:w,filterOption:(e,t)=>-1!==t.title.indexOf(e)||-1!==t.tag.indexOf(e),leftColumns:d,rightColumns:h}),o.a.createElement(l["X"],{unCheckedChildren:"disabled",checkedChildren:"disabled",checked:y,onChange:x,style:{marginTop:16}}),o.a.createElement(l["X"],{unCheckedChildren:"showSearch",checkedChildren:"showSearch",checked:k,onChange:E,style:{marginTop:16}}))};t["default"]=u},KwMD:function(e,t){function n(e,t,n,r){var a=e.length,c=n+(r?1:-1);while(r?c--:++c<a)if(t(e[c],c,e))return c;return-1}e.exports=n},LqpT:function(e,t,n){var r=n("1hJj"),a=n("jbM+"),c=n("Xt/L"),o=n("eUgh"),l=n("sEf8"),i=n("xYSL"),s=200;function u(e,t,n,u){var d=-1,h=a,f=!0,g=e.length,v=[],b=t.length;if(!g)return v;n&&(t=o(t,l(n))),u?(h=c,f=!1):t.length>=s&&(h=i,f=!1,t=new r(t));e:while(++d<g){var p=e[d],m=null==n?p:n(p);if(p=u||0!==p?p:0,f&&m===m){var y=b;while(y--)if(t[y]===m)continue e;v.push(p)}else h(t,m,u)||v.push(p)}return v}e.exports=u},O0oS:function(e,t,n){var r=n("Cwc5"),a=function(){try{var e=r(Object,"defineProperty");return e({},"",{}),e}catch(t){}}();e.exports=a},"R/W3":function(e,t,n){var r=n("KwMD"),a=n("2ajD"),c=n("CZoQ");function o(e,t,n){return t===t?c(e,t,n):r(e,a,n)}e.exports=o},XGnz:function(e,t,n){var r=n("CH3K"),a=n("BiGR");function c(e,t,n,o,l){var i=-1,s=e.length;n||(n=a),l||(l=[]);while(++i<s){var u=e[i];t>0&&n(u)?t>1?c(u,t-1,n,o,l):r(l,u):o||(l[l.length]=u)}return l}e.exports=c},"Xt/L":function(e,t){function n(e,t,n){var r=-1,a=null==e?0:e.length;while(++r<a)if(n(t,e[r]))return!0;return!1}e.exports=n},YS8o:function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("q1tI"),c=n.n(a),o=n("m/eG"),l=()=>{var e=Object(a["useState"])(!1),t=Object(r["a"])(e,2),n=t[0],l=t[1],i=Object(a["useState"])([]),s=Object(r["a"])(i,2),u=s[0],d=s[1],h=Object(a["useState"])([]),f=Object(r["a"])(h,2),g=f[0],v=f[1];Object(a["useEffect"])((()=>{for(var e=[],t=[],n=0;n<2e3;n++){var r={key:n.toString(),title:"content".concat(n+1),description:"description of content".concat(n+1),chosen:2*Math.random()>1};r.chosen&&e.push(r.key),t.push(r)}v(e),d(t)}),[]);var b=(e,t,n)=>{console.log(e,t,n),v(e)};return c.a.createElement(c.a.Fragment,null,c.a.createElement(o["eb"],{dataSource:u,targetKeys:g,onChange:b,render:e=>e.title,oneWay:n,pagination:!0}),c.a.createElement("br",null),c.a.createElement(o["X"],{unCheckedChildren:"one way",checkedChildren:"one way",checked:n,onChange:l}))};t["default"]=l},cvCv:function(e,t){function n(e){return function(){return e}}e.exports=n},heNW:function(e,t){function n(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}e.exports=n},"jbM+":function(e,t,n){var r=n("R/W3");function a(e,t){var n=null==e?0:e.length;return!!n&&r(e,t,0)>-1}e.exports=a},oXLP:function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("q1tI"),c=n.n(a),o=n("m/eG"),l=()=>{var e=Object(a["useState"])([]),t=Object(r["a"])(e,2),n=t[0],l=t[1],i=Object(a["useState"])([]),s=Object(r["a"])(i,2),u=s[0],d=s[1];Object(a["useEffect"])((()=>{h()}),[]);var h=()=>{for(var e=[],t=[],n=0;n<20;n++){var r={key:n.toString(),title:"content".concat(n+1),description:"description of content".concat(n+1),chosen:2*Math.random()>1};r.chosen&&e.push(r.key),t.push(r)}l(t),d(e)},f=(e,t,n)=>{console.log(e,t,n),d(e)},g=e=>{var t=c.a.createElement("span",{className:"custom-item"},e.title," - ",e.description);return{label:t,value:e.title}};return c.a.createElement(o["eb"],{dataSource:n,listStyle:{width:300,height:300},targetKeys:u,onChange:f,render:g})};t["default"]=l},pFRH:function(e,t,n){var r=n("cvCv"),a=n("O0oS"),c=n("zZ0H"),o=a?function(e,t){return a(e,"toString",{configurable:!0,enumerable:!1,value:r(t),writable:!0})}:c;e.exports=o},talx:function(e,t,n){"use strict";n.r(t);var r=n("tJVT"),a=n("q1tI"),c=n.n(a),o=n("m/eG"),l=()=>{var e=Object(a["useState"])([]),t=Object(r["a"])(e,2),n=t[0],l=t[1],i=Object(a["useState"])([]),s=Object(r["a"])(i,2),u=s[0],d=s[1];Object(a["useEffect"])((()=>{h()}),[]);var h=()=>{for(var e=[],t=[],n=0;n<20;n++){var r={key:n.toString(),title:"content".concat(n+1),description:"description of content".concat(n+1),chosen:2*Math.random()>1};r.chosen&&e.push(r.key),t.push(r)}l(t),d(e)},f=(e,t)=>t.description.indexOf(e)>-1,g=e=>{d(e)},v=(e,t)=>{console.log("search:",e,t)};return c.a.createElement(o["eb"],{dataSource:n,showSearch:!0,filterOption:f,targetKeys:u,onChange:g,onSearch:v,render:e=>e.title})};t["default"]=l},wclG:function(e,t,n){var r=n("pFRH"),a=n("88Gu"),c=a(r);e.exports=c},zZ0H:function(e,t){function n(e){return e}e.exports=n},zqxM:function(e,t,n){var r=n("LqpT"),a=n("XGnz"),c=n("EA7m"),o=n("3L66"),l=c((function(e,t){return o(e)?r(e,a(t,1,o,!0)):[]}));e.exports=l}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [105],
3
+ {
4
+ '/G2y': function (e, t, n) {
5
+ 'use strict';
6
+ n.r(t);
7
+ var r = n('tJVT'),
8
+ a = n('0Owb'),
9
+ c = n('k1fw'),
10
+ o = n('PpiC'),
11
+ l = n('q1tI'),
12
+ i = n.n(l),
13
+ s = n('m/eG'),
14
+ u = () => {
15
+ var e = (e, t) => -1 !== e.indexOf(t),
16
+ t = function e() {
17
+ var t =
18
+ arguments.length > 0 && void 0 !== arguments[0]
19
+ ? arguments[0]
20
+ : [],
21
+ n =
22
+ arguments.length > 1 && void 0 !== arguments[1]
23
+ ? arguments[1]
24
+ : [];
25
+ return t.map((t) => {
26
+ var r = t.children,
27
+ a = Object(o['a'])(t, ['children']);
28
+ return Object(c['a'])(
29
+ Object(c['a'])({}, a),
30
+ {},
31
+ { disabled: n.includes(a.key), children: e(r, n) },
32
+ );
33
+ });
34
+ },
35
+ n = (n) => {
36
+ var r = n.dataSource,
37
+ c = n.targetKeys,
38
+ l = Object(o['a'])(n, ['dataSource', 'targetKeys']),
39
+ u = [];
40
+ function d() {
41
+ var e =
42
+ arguments.length > 0 && void 0 !== arguments[0]
43
+ ? arguments[0]
44
+ : [];
45
+ e.forEach((e) => {
46
+ u.push(e), d(e.children);
47
+ });
48
+ }
49
+ return (
50
+ d(r),
51
+ i.a.createElement(
52
+ s['eb'],
53
+ Object(a['a'])({}, l, {
54
+ targetKeys: c,
55
+ dataSource: u,
56
+ className: 'tree-transfer',
57
+ render: (e) => e.title,
58
+ showSelectAll: !1,
59
+ }),
60
+ (n) => {
61
+ var a = n.direction,
62
+ o = n.onItemSelect,
63
+ l = n.selectedKeys;
64
+ if ('left' === a) {
65
+ var u = [...l, ...c];
66
+ return i.a.createElement(s['fb'], {
67
+ blockNode: !0,
68
+ checkable: !0,
69
+ checkStrictly: !0,
70
+ defaultExpandAll: !0,
71
+ checkedKeys: u,
72
+ treeData: t(r, c),
73
+ onCheck: (t, n) => {
74
+ var r = n.node.key;
75
+ o(r, !e(u, r));
76
+ },
77
+ onSelect: (t, n) => {
78
+ var r = n.node.key;
79
+ o(r, !e(u, r));
80
+ },
81
+ });
82
+ }
83
+ },
84
+ )
85
+ );
86
+ },
87
+ u = [
88
+ { key: '0-0', title: '0-0' },
89
+ {
90
+ key: '0-1',
91
+ title: '0-1',
92
+ children: [
93
+ { key: '0-1-0', title: '0-1-0' },
94
+ { key: '0-1-1', title: '0-1-1' },
95
+ ],
96
+ },
97
+ { key: '0-2', title: '0-3' },
98
+ ],
99
+ d = Object(l['useState'])([]),
100
+ h = Object(r['a'])(d, 2),
101
+ f = h[0],
102
+ g = h[1],
103
+ v = (e) => {
104
+ g(e);
105
+ };
106
+ return i.a.createElement(n, {
107
+ dataSource: u,
108
+ targetKeys: f,
109
+ onChange: v,
110
+ });
111
+ };
112
+ t['default'] = u;
113
+ },
114
+ '2ajD': function (e, t) {
115
+ function n(e) {
116
+ return e !== e;
117
+ }
118
+ e.exports = n;
119
+ },
120
+ '3L66': function (e, t, n) {
121
+ var r = n('MMmD'),
122
+ a = n('ExA7');
123
+ function c(e) {
124
+ return a(e) && r(e);
125
+ }
126
+ e.exports = c;
127
+ },
128
+ '7ZD7': function (e, t, n) {
129
+ 'use strict';
130
+ n.r(t);
131
+ var r = n('tJVT'),
132
+ a = n('q1tI'),
133
+ c = n.n(a),
134
+ o = n('m/eG'),
135
+ l = () => {
136
+ for (var e = [], t = 0; t < 20; t++)
137
+ e.push({
138
+ key: t.toString(),
139
+ title: 'content'.concat(t + 1),
140
+ description: 'description of content'.concat(t + 1),
141
+ disabled: t % 3 < 1,
142
+ });
143
+ var n = e.filter((e) => +e.key % 3 > 1).map((e) => e.key),
144
+ l = Object(a['useState'])(n),
145
+ i = Object(r['a'])(l, 2),
146
+ s = i[0],
147
+ u = i[1],
148
+ d = Object(a['useState'])([]),
149
+ h = Object(r['a'])(d, 2),
150
+ f = h[0],
151
+ g = h[1],
152
+ v = Object(a['useState'])(!1),
153
+ b = Object(r['a'])(v, 2),
154
+ p = b[0],
155
+ m = b[1],
156
+ y = (e, t, n) => {
157
+ u(e),
158
+ console.log('targetKeys: ', e),
159
+ console.log('direction: ', t),
160
+ console.log('moveKeys: ', n);
161
+ },
162
+ S = (e, t) => {
163
+ g([...e, ...t]),
164
+ console.log('sourceSelectedKeys: ', e),
165
+ console.log('targetSelectedKeys: ', t);
166
+ },
167
+ O = (e, t) => {
168
+ console.log('direction:', e), console.log('target:', t.target);
169
+ },
170
+ j = (e) => {
171
+ m(e);
172
+ };
173
+ return c.a.createElement(
174
+ c.a.Fragment,
175
+ null,
176
+ c.a.createElement(o['eb'], {
177
+ dataSource: e,
178
+ titles: ['Source', 'Target'],
179
+ targetKeys: s,
180
+ selectedKeys: f,
181
+ onChange: y,
182
+ onSelectChange: S,
183
+ onScroll: O,
184
+ render: (e) => e.title,
185
+ disabled: p,
186
+ oneWay: !0,
187
+ style: { marginBottom: 16 },
188
+ }),
189
+ c.a.createElement(o['X'], {
190
+ unCheckedChildren: 'disabled',
191
+ checkedChildren: 'disabled',
192
+ checked: p,
193
+ onChange: j,
194
+ }),
195
+ );
196
+ };
197
+ t['default'] = l;
198
+ },
199
+ '88Gu': function (e, t) {
200
+ var n = 800,
201
+ r = 16,
202
+ a = Date.now;
203
+ function c(e) {
204
+ var t = 0,
205
+ c = 0;
206
+ return function () {
207
+ var o = a(),
208
+ l = r - (o - c);
209
+ if (((c = o), l > 0)) {
210
+ if (++t >= n) return arguments[0];
211
+ } else t = 0;
212
+ return e.apply(void 0, arguments);
213
+ };
214
+ }
215
+ e.exports = c;
216
+ },
217
+ BiGR: function (e, t, n) {
218
+ var r = n('nmnc'),
219
+ a = n('03A+'),
220
+ c = n('Z0cm'),
221
+ o = r ? r.isConcatSpreadable : void 0;
222
+ function l(e) {
223
+ return c(e) || a(e) || !!(o && e && e[o]);
224
+ }
225
+ e.exports = l;
226
+ },
227
+ CZoQ: function (e, t) {
228
+ function n(e, t, n) {
229
+ var r = n - 1,
230
+ a = e.length;
231
+ while (++r < a) if (e[r] === t) return r;
232
+ return -1;
233
+ }
234
+ e.exports = n;
235
+ },
236
+ EA7m: function (e, t, n) {
237
+ var r = n('zZ0H'),
238
+ a = n('Ioao'),
239
+ c = n('wclG');
240
+ function o(e, t) {
241
+ return c(a(e, t, r), e + '');
242
+ }
243
+ e.exports = o;
244
+ },
245
+ HAib: function (e, t, n) {
246
+ 'use strict';
247
+ n.r(t);
248
+ var r = n('tJVT'),
249
+ a = n('q1tI'),
250
+ c = n.n(a),
251
+ o = n('m/eG'),
252
+ l = () => {
253
+ for (var e = [], t = 0; t < 20; t++)
254
+ e.push({
255
+ key: t.toString(),
256
+ title: 'content'.concat(t + 1),
257
+ description: 'description of content'.concat(t + 1),
258
+ });
259
+ var n = e.filter((e) => +e.key > 10).map((e) => e.key),
260
+ l = Object(a['useState'])(n),
261
+ i = Object(r['a'])(l, 2),
262
+ s = i[0],
263
+ u = i[1],
264
+ d = Object(a['useState'])([]),
265
+ h = Object(r['a'])(d, 2),
266
+ f = h[0],
267
+ g = h[1],
268
+ v = (e, t, n) => {
269
+ console.log('targetKeys:', e),
270
+ console.log('direction:', t),
271
+ console.log('moveKeys:', n),
272
+ u(e);
273
+ },
274
+ b = (e, t) => {
275
+ console.log('sourceSelectedKeys:', e),
276
+ console.log('targetSelectedKeys:', t),
277
+ g([...e, ...t]);
278
+ },
279
+ p = (e, t) => {
280
+ console.log('direction:', e), console.log('target:', t.target);
281
+ };
282
+ return c.a.createElement(o['eb'], {
283
+ dataSource: e,
284
+ titles: ['Source', 'Target'],
285
+ targetKeys: s,
286
+ selectedKeys: f,
287
+ onChange: v,
288
+ onSelectChange: b,
289
+ onScroll: p,
290
+ render: (e) => e.title,
291
+ });
292
+ };
293
+ t['default'] = l;
294
+ },
295
+ Ioao: function (e, t, n) {
296
+ var r = n('heNW'),
297
+ a = Math.max;
298
+ function c(e, t, n) {
299
+ return (
300
+ (t = a(void 0 === t ? e.length - 1 : t, 0)),
301
+ function () {
302
+ var c = arguments,
303
+ o = -1,
304
+ l = a(c.length - t, 0),
305
+ i = Array(l);
306
+ while (++o < l) i[o] = c[t + o];
307
+ o = -1;
308
+ var s = Array(t + 1);
309
+ while (++o < t) s[o] = c[o];
310
+ return (s[t] = n(i)), r(e, this, s);
311
+ }
312
+ );
313
+ }
314
+ e.exports = c;
315
+ },
316
+ JOjJ: function (e, t, n) {
317
+ 'use strict';
318
+ n.r(t);
319
+ var r = n('tJVT'),
320
+ a = n('PpiC'),
321
+ c = n('q1tI'),
322
+ o = n.n(c),
323
+ l = n('m/eG'),
324
+ i = n('zqxM'),
325
+ s = n.n(i),
326
+ u = () => {
327
+ for (
328
+ var e = (e) => {
329
+ var t = e.leftColumns,
330
+ n = e.rightColumns,
331
+ r = Object(a['a'])(e, ['leftColumns', 'rightColumns']);
332
+ return o.a.createElement(l['eb'], r, (e) => {
333
+ var r = e.direction,
334
+ a = e.filteredItems,
335
+ c = e.onItemSelectAll,
336
+ i = e.onItemSelect,
337
+ u = e.selectedKeys,
338
+ d = e.disabled,
339
+ h = 'left' === r ? t : n,
340
+ f = {
341
+ getCheckboxProps: (e) => ({ disabled: d || e.disabled }),
342
+ onSelectAll(e, t) {
343
+ var n = t
344
+ .filter((e) => !e.disabled)
345
+ .map((e) => {
346
+ var t = e.key;
347
+ return t;
348
+ }),
349
+ r = e ? s()(n, u) : s()(u, n);
350
+ c(r, e);
351
+ },
352
+ onSelect(e, t) {
353
+ var n = e.key;
354
+ i(n, t);
355
+ },
356
+ selectedRowKeys: u,
357
+ };
358
+ return o.a.createElement(l['Y'], {
359
+ rowSelection: f,
360
+ columns: h,
361
+ dataSource: a,
362
+ size: 'small',
363
+ style: { pointerEvents: d ? 'none' : null },
364
+ onRow: (e) => {
365
+ var t = e.key,
366
+ n = e.disabled;
367
+ return {
368
+ onClick: () => {
369
+ n || d || i(t, !u.includes(t));
370
+ },
371
+ };
372
+ },
373
+ });
374
+ });
375
+ },
376
+ t = ['cat', 'dog', 'bird'],
377
+ n = [],
378
+ i = 0;
379
+ i < 20;
380
+ i++
381
+ )
382
+ n.push({
383
+ key: i.toString(),
384
+ title: 'content'.concat(i + 1),
385
+ description: 'description of content'.concat(i + 1),
386
+ disabled: i % 4 === 0,
387
+ tag: t[i % 3],
388
+ });
389
+ var u = n.filter((e) => +e.key % 3 > 1).map((e) => e.key),
390
+ d = [
391
+ { dataIndex: 'title', title: 'Name' },
392
+ {
393
+ dataIndex: 'tag',
394
+ title: 'Tag',
395
+ render: (e) => o.a.createElement(l['ab'], null, e),
396
+ },
397
+ { dataIndex: 'description', title: 'Description' },
398
+ ],
399
+ h = [{ dataIndex: 'title', title: 'Name' }],
400
+ f = Object(c['useState'])(u),
401
+ g = Object(r['a'])(f, 2),
402
+ v = g[0],
403
+ b = g[1],
404
+ p = Object(c['useState'])(!1),
405
+ m = Object(r['a'])(p, 2),
406
+ y = m[0],
407
+ S = m[1],
408
+ O = Object(c['useState'])(!1),
409
+ j = Object(r['a'])(O, 2),
410
+ k = j[0],
411
+ C = j[1],
412
+ w = (e) => {
413
+ b(e);
414
+ },
415
+ x = (e) => {
416
+ S(e);
417
+ },
418
+ E = (e) => {
419
+ C(e);
420
+ };
421
+ return o.a.createElement(
422
+ o.a.Fragment,
423
+ null,
424
+ o.a.createElement(e, {
425
+ dataSource: n,
426
+ targetKeys: v,
427
+ disabled: y,
428
+ showSearch: k,
429
+ onChange: w,
430
+ filterOption: (e, t) =>
431
+ -1 !== t.title.indexOf(e) || -1 !== t.tag.indexOf(e),
432
+ leftColumns: d,
433
+ rightColumns: h,
434
+ }),
435
+ o.a.createElement(l['X'], {
436
+ unCheckedChildren: 'disabled',
437
+ checkedChildren: 'disabled',
438
+ checked: y,
439
+ onChange: x,
440
+ style: { marginTop: 16 },
441
+ }),
442
+ o.a.createElement(l['X'], {
443
+ unCheckedChildren: 'showSearch',
444
+ checkedChildren: 'showSearch',
445
+ checked: k,
446
+ onChange: E,
447
+ style: { marginTop: 16 },
448
+ }),
449
+ );
450
+ };
451
+ t['default'] = u;
452
+ },
453
+ KwMD: function (e, t) {
454
+ function n(e, t, n, r) {
455
+ var a = e.length,
456
+ c = n + (r ? 1 : -1);
457
+ while (r ? c-- : ++c < a) if (t(e[c], c, e)) return c;
458
+ return -1;
459
+ }
460
+ e.exports = n;
461
+ },
462
+ LqpT: function (e, t, n) {
463
+ var r = n('1hJj'),
464
+ a = n('jbM+'),
465
+ c = n('Xt/L'),
466
+ o = n('eUgh'),
467
+ l = n('sEf8'),
468
+ i = n('xYSL'),
469
+ s = 200;
470
+ function u(e, t, n, u) {
471
+ var d = -1,
472
+ h = a,
473
+ f = !0,
474
+ g = e.length,
475
+ v = [],
476
+ b = t.length;
477
+ if (!g) return v;
478
+ n && (t = o(t, l(n))),
479
+ u
480
+ ? ((h = c), (f = !1))
481
+ : t.length >= s && ((h = i), (f = !1), (t = new r(t)));
482
+ e: while (++d < g) {
483
+ var p = e[d],
484
+ m = null == n ? p : n(p);
485
+ if (((p = u || 0 !== p ? p : 0), f && m === m)) {
486
+ var y = b;
487
+ while (y--) if (t[y] === m) continue e;
488
+ v.push(p);
489
+ } else h(t, m, u) || v.push(p);
490
+ }
491
+ return v;
492
+ }
493
+ e.exports = u;
494
+ },
495
+ O0oS: function (e, t, n) {
496
+ var r = n('Cwc5'),
497
+ a = (function () {
498
+ try {
499
+ var e = r(Object, 'defineProperty');
500
+ return e({}, '', {}), e;
501
+ } catch (t) {}
502
+ })();
503
+ e.exports = a;
504
+ },
505
+ 'R/W3': function (e, t, n) {
506
+ var r = n('KwMD'),
507
+ a = n('2ajD'),
508
+ c = n('CZoQ');
509
+ function o(e, t, n) {
510
+ return t === t ? c(e, t, n) : r(e, a, n);
511
+ }
512
+ e.exports = o;
513
+ },
514
+ XGnz: function (e, t, n) {
515
+ var r = n('CH3K'),
516
+ a = n('BiGR');
517
+ function c(e, t, n, o, l) {
518
+ var i = -1,
519
+ s = e.length;
520
+ n || (n = a), l || (l = []);
521
+ while (++i < s) {
522
+ var u = e[i];
523
+ t > 0 && n(u)
524
+ ? t > 1
525
+ ? c(u, t - 1, n, o, l)
526
+ : r(l, u)
527
+ : o || (l[l.length] = u);
528
+ }
529
+ return l;
530
+ }
531
+ e.exports = c;
532
+ },
533
+ 'Xt/L': function (e, t) {
534
+ function n(e, t, n) {
535
+ var r = -1,
536
+ a = null == e ? 0 : e.length;
537
+ while (++r < a) if (n(t, e[r])) return !0;
538
+ return !1;
539
+ }
540
+ e.exports = n;
541
+ },
542
+ YS8o: function (e, t, n) {
543
+ 'use strict';
544
+ n.r(t);
545
+ var r = n('tJVT'),
546
+ a = n('q1tI'),
547
+ c = n.n(a),
548
+ o = n('m/eG'),
549
+ l = () => {
550
+ var e = Object(a['useState'])(!1),
551
+ t = Object(r['a'])(e, 2),
552
+ n = t[0],
553
+ l = t[1],
554
+ i = Object(a['useState'])([]),
555
+ s = Object(r['a'])(i, 2),
556
+ u = s[0],
557
+ d = s[1],
558
+ h = Object(a['useState'])([]),
559
+ f = Object(r['a'])(h, 2),
560
+ g = f[0],
561
+ v = f[1];
562
+ Object(a['useEffect'])(() => {
563
+ for (var e = [], t = [], n = 0; n < 2e3; n++) {
564
+ var r = {
565
+ key: n.toString(),
566
+ title: 'content'.concat(n + 1),
567
+ description: 'description of content'.concat(n + 1),
568
+ chosen: 2 * Math.random() > 1,
569
+ };
570
+ r.chosen && e.push(r.key), t.push(r);
571
+ }
572
+ v(e), d(t);
573
+ }, []);
574
+ var b = (e, t, n) => {
575
+ console.log(e, t, n), v(e);
576
+ };
577
+ return c.a.createElement(
578
+ c.a.Fragment,
579
+ null,
580
+ c.a.createElement(o['eb'], {
581
+ dataSource: u,
582
+ targetKeys: g,
583
+ onChange: b,
584
+ render: (e) => e.title,
585
+ oneWay: n,
586
+ pagination: !0,
587
+ }),
588
+ c.a.createElement('br', null),
589
+ c.a.createElement(o['X'], {
590
+ unCheckedChildren: 'one way',
591
+ checkedChildren: 'one way',
592
+ checked: n,
593
+ onChange: l,
594
+ }),
595
+ );
596
+ };
597
+ t['default'] = l;
598
+ },
599
+ cvCv: function (e, t) {
600
+ function n(e) {
601
+ return function () {
602
+ return e;
603
+ };
604
+ }
605
+ e.exports = n;
606
+ },
607
+ heNW: function (e, t) {
608
+ function n(e, t, n) {
609
+ switch (n.length) {
610
+ case 0:
611
+ return e.call(t);
612
+ case 1:
613
+ return e.call(t, n[0]);
614
+ case 2:
615
+ return e.call(t, n[0], n[1]);
616
+ case 3:
617
+ return e.call(t, n[0], n[1], n[2]);
618
+ }
619
+ return e.apply(t, n);
620
+ }
621
+ e.exports = n;
622
+ },
623
+ 'jbM+': function (e, t, n) {
624
+ var r = n('R/W3');
625
+ function a(e, t) {
626
+ var n = null == e ? 0 : e.length;
627
+ return !!n && r(e, t, 0) > -1;
628
+ }
629
+ e.exports = a;
630
+ },
631
+ oXLP: function (e, t, n) {
632
+ 'use strict';
633
+ n.r(t);
634
+ var r = n('tJVT'),
635
+ a = n('q1tI'),
636
+ c = n.n(a),
637
+ o = n('m/eG'),
638
+ l = () => {
639
+ var e = Object(a['useState'])([]),
640
+ t = Object(r['a'])(e, 2),
641
+ n = t[0],
642
+ l = t[1],
643
+ i = Object(a['useState'])([]),
644
+ s = Object(r['a'])(i, 2),
645
+ u = s[0],
646
+ d = s[1];
647
+ Object(a['useEffect'])(() => {
648
+ h();
649
+ }, []);
650
+ var h = () => {
651
+ for (var e = [], t = [], n = 0; n < 20; n++) {
652
+ var r = {
653
+ key: n.toString(),
654
+ title: 'content'.concat(n + 1),
655
+ description: 'description of content'.concat(n + 1),
656
+ chosen: 2 * Math.random() > 1,
657
+ };
658
+ r.chosen && e.push(r.key), t.push(r);
659
+ }
660
+ l(t), d(e);
661
+ },
662
+ f = (e, t, n) => {
663
+ console.log(e, t, n), d(e);
664
+ },
665
+ g = (e) => {
666
+ var t = c.a.createElement(
667
+ 'span',
668
+ { className: 'custom-item' },
669
+ e.title,
670
+ ' - ',
671
+ e.description,
672
+ );
673
+ return { label: t, value: e.title };
674
+ };
675
+ return c.a.createElement(o['eb'], {
676
+ dataSource: n,
677
+ listStyle: { width: 300, height: 300 },
678
+ targetKeys: u,
679
+ onChange: f,
680
+ render: g,
681
+ });
682
+ };
683
+ t['default'] = l;
684
+ },
685
+ pFRH: function (e, t, n) {
686
+ var r = n('cvCv'),
687
+ a = n('O0oS'),
688
+ c = n('zZ0H'),
689
+ o = a
690
+ ? function (e, t) {
691
+ return a(e, 'toString', {
692
+ configurable: !0,
693
+ enumerable: !1,
694
+ value: r(t),
695
+ writable: !0,
696
+ });
697
+ }
698
+ : c;
699
+ e.exports = o;
700
+ },
701
+ talx: function (e, t, n) {
702
+ 'use strict';
703
+ n.r(t);
704
+ var r = n('tJVT'),
705
+ a = n('q1tI'),
706
+ c = n.n(a),
707
+ o = n('m/eG'),
708
+ l = () => {
709
+ var e = Object(a['useState'])([]),
710
+ t = Object(r['a'])(e, 2),
711
+ n = t[0],
712
+ l = t[1],
713
+ i = Object(a['useState'])([]),
714
+ s = Object(r['a'])(i, 2),
715
+ u = s[0],
716
+ d = s[1];
717
+ Object(a['useEffect'])(() => {
718
+ h();
719
+ }, []);
720
+ var h = () => {
721
+ for (var e = [], t = [], n = 0; n < 20; n++) {
722
+ var r = {
723
+ key: n.toString(),
724
+ title: 'content'.concat(n + 1),
725
+ description: 'description of content'.concat(n + 1),
726
+ chosen: 2 * Math.random() > 1,
727
+ };
728
+ r.chosen && e.push(r.key), t.push(r);
729
+ }
730
+ l(t), d(e);
731
+ },
732
+ f = (e, t) => t.description.indexOf(e) > -1,
733
+ g = (e) => {
734
+ d(e);
735
+ },
736
+ v = (e, t) => {
737
+ console.log('search:', e, t);
738
+ };
739
+ return c.a.createElement(o['eb'], {
740
+ dataSource: n,
741
+ showSearch: !0,
742
+ filterOption: f,
743
+ targetKeys: u,
744
+ onChange: g,
745
+ onSearch: v,
746
+ render: (e) => e.title,
747
+ });
748
+ };
749
+ t['default'] = l;
750
+ },
751
+ wclG: function (e, t, n) {
752
+ var r = n('pFRH'),
753
+ a = n('88Gu'),
754
+ c = a(r);
755
+ e.exports = c;
756
+ },
757
+ zZ0H: function (e, t) {
758
+ function n(e) {
759
+ return e;
760
+ }
761
+ e.exports = n;
762
+ },
763
+ zqxM: function (e, t, n) {
764
+ var r = n('LqpT'),
765
+ a = n('XGnz'),
766
+ c = n('EA7m'),
767
+ o = n('3L66'),
768
+ l = c(function (e, t) {
769
+ return o(e) ? r(e, a(t, 1, o, !0)) : [];
770
+ });
771
+ e.exports = l;
772
+ },
773
+ },
774
+ ]);