@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,487 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[83],{"3/+U":function(e,a,t){"use strict";t.r(a);var l=t("q1tI"),n=t.n(l),r=t("m/eG"),c=t("43SX"),o=t("FoZM"),s=t("nk6Y"),u=t("Gn5n"),m=()=>n.a.createElement(n.a.Fragment,null,n.a.createElement(r["ab"],{icon:n.a.createElement(c["a"],null),color:"#55acee"},"Twitter"),n.a.createElement(r["ab"],{icon:n.a.createElement(o["a"],null),color:"#cd201f"},"Youtube"),n.a.createElement(r["ab"],{icon:n.a.createElement(s["a"],null),color:"#3b5999"},"Facebook"),n.a.createElement(r["ab"],{icon:n.a.createElement(u["a"],null),color:"#55acee"},"LinkedIn"));a["default"]=m},"4hvQ":function(e,a,t){"use strict";t.r(a);var l=t("tJVT"),n=t("q1tI"),r=t.n(n),c=t("m/eG"),o=c["ab"].CheckableTag,s=()=>{var e=Object(n["useState"])(["Books"]),a=Object(l["a"])(e,2),t=a[0],c=a[1],s=["Movies","Books","Music","Sports"],u=(e,a)=>{var l=a?[...t,e]:t.filter((a=>a!==e));console.log("You are interested in: ",l),c(l)};return r.a.createElement(r.a.Fragment,null,r.a.createElement("span",{style:{marginRight:8}},"Categories:"),s.map((e=>r.a.createElement(o,{key:e,checked:t.indexOf(e)>-1,onChange:a=>u(e,a)},e))))};a["default"]=s},"Bz+S":function(e,a,t){"use strict";t.r(a);var l=t("tJVT"),n=t("q1tI"),r=t.n(n),c=t("m/eG"),o=t("xvlK"),s=()=>{var e=Object(n["useState"])(["Unremovable","Tag 2","Tag 3"]),a=Object(l["a"])(e,2),t=a[0],s=a[1],u=Object(n["useState"])(!1),m=Object(l["a"])(u,2),i=m[0],b=m[1],E=Object(n["useState"])(""),g=Object(l["a"])(E,2),f=g[0],v=g[1],d=Object(n["useState"])(-1),p=Object(l["a"])(d,2),O=p[0],j=p[1],k=Object(n["useState"])(""),y=Object(l["a"])(k,2),C=y[0],h=y[1],w=Object(n["useRef"])(),T=Object(n["useRef"])();Object(n["useEffect"])((()=>{i&&(w.current.focus(),console.log(w))}),[i]);var S=e=>{var a=t.filter((a=>a!==e));console.log(t),s(a)},F=()=>{b(!0)},G=e=>{v(e.target.value)},I=()=>{f&&-1===t.indexOf(f)&&(t=[...t,f]),console.log(t),s(t),b(!1),v("")},B=e=>{h(e.target.value)},q=()=>{var e=[...t];e[O]=C,s(e),j(-1),h("")};return r.a.createElement(r.a.Fragment,null,t.map(((e,a)=>{if(O===a)return r.a.createElement(c["A"],{ref:T,key:e,size:"small",className:"tag-input",value:C,onChange:B,onBlur:q,onPressEnter:q});var t=e.length>20,l=r.a.createElement(c["ab"],{className:"edit-tag",key:e,closable:0!==a,onClose:()=>S(e)},r.a.createElement("span",{onDoubleClick:t=>{0!==a&&(j(a),h(e),setTimeout((()=>{T.current.focus()})),t.preventDefault())}},t?"".concat(e.slice(0,20),"..."):e));return t?r.a.createElement(c["db"],{title:e,key:e},l):l})),i&&r.a.createElement(c["A"],{ref:w,type:"text",size:"small",className:"tag-input",value:f,onChange:G,onBlur:I,onPressEnter:I}),!i&&r.a.createElement(c["ab"],{className:"site-tag-plus",onClick:F},r.a.createElement(o["a"],null)," New Tag"))};a["default"]=s},QYCG:function(e,a,t){"use strict";t.r(a);var l=t("q1tI"),n=t.n(l),r=t("m/eG"),c=()=>n.a.createElement(n.a.Fragment,null,n.a.createElement(r["u"],{orientation:"left"},"Presets"),n.a.createElement("div",null,n.a.createElement(r["ab"],{color:"magenta"},"magenta"),n.a.createElement(r["ab"],{color:"red"},"red"),n.a.createElement(r["ab"],{color:"volcano"},"volcano"),n.a.createElement(r["ab"],{color:"orange"},"orange"),n.a.createElement(r["ab"],{color:"gold"},"gold"),n.a.createElement(r["ab"],{color:"lime"},"lime"),n.a.createElement(r["ab"],{color:"green"},"green"),n.a.createElement(r["ab"],{color:"cyan"},"cyan"),n.a.createElement(r["ab"],{color:"blue"},"blue"),n.a.createElement(r["ab"],{color:"geekblue"},"geekblue"),n.a.createElement(r["ab"],{color:"purple"},"purple")),n.a.createElement(r["u"],{orientation:"left"},"Custom"),n.a.createElement("div",null,n.a.createElement(r["ab"],{color:"#f50"},"#f50"),n.a.createElement(r["ab"],{color:"#2db7f5"},"#2db7f5"),n.a.createElement(r["ab"],{color:"#87d068"},"#87d068"),n.a.createElement(r["ab"],{color:"#108ee9"},"#108ee9")));a["default"]=c},Vzub:function(e,a,t){"use strict";t.r(a);var l=t("q1tI"),n=t.n(l),r=t("m/eG"),c=t("Ue1A"),o=t("zsHu"),s=t("2BaD"),u=t("RCxd"),m=t("Icgb"),i=t("wlus"),b=()=>n.a.createElement(n.a.Fragment,null,n.a.createElement(r["u"],{orientation:"left"},"Without icon"),n.a.createElement("div",null,n.a.createElement(r["ab"],{color:"success"},"success"),n.a.createElement(r["ab"],{color:"processing"},"processing"),n.a.createElement(r["ab"],{color:"error"},"error"),n.a.createElement(r["ab"],{color:"warning"},"warning"),n.a.createElement(r["ab"],{color:"default"},"default")),n.a.createElement(r["u"],{orientation:"left"},"With icon"),n.a.createElement("div",null,n.a.createElement(r["ab"],{icon:n.a.createElement(c["a"],null),color:"success"},"success"),n.a.createElement(r["ab"],{icon:n.a.createElement(o["a"],{spin:!0}),color:"processing"},"processing"),n.a.createElement(r["ab"],{icon:n.a.createElement(s["a"],null),color:"error"},"error"),n.a.createElement(r["ab"],{icon:n.a.createElement(u["a"],null),color:"warning"},"warning"),n.a.createElement(r["ab"],{icon:n.a.createElement(m["a"],null),color:"default"},"waiting"),n.a.createElement(r["ab"],{icon:n.a.createElement(i["a"],null),color:"default"},"stop")));a["default"]=b},cbNY:function(e,a,t){"use strict";t.r(a);var l=t("tJVT"),n=t("q1tI"),r=t.n(n),c=t("m/eG"),o=()=>{var e=Object(n["useState"])(!1),a=Object(l["a"])(e,2),t=a[0],o=a[1];return r.a.createElement(r.a.Fragment,null,r.a.createElement(c["ab"],{closable:!0,visible:t,onClose:()=>o(!1)},"Movies"),r.a.createElement("br",null),r.a.createElement(c["i"],{size:"small",onClick:()=>o(!t)},"Toggle"))};a["default"]=o},cyon:function(e,a,t){"use strict";t.r(a);var l=t("q1tI"),n=t.n(l),r=t("m/eG"),c=()=>{var e=e=>{console.log(e)},a=e=>{e.preventDefault(),console.log("Clicked! But prevent default.")};return n.a.createElement(n.a.Fragment,null,n.a.createElement(r["ab"],null,"Tag 1"),n.a.createElement(r["ab"],null,n.a.createElement("a",{href:"https://github.com/ant-design/ant-design/issues/1862"},"Link")),n.a.createElement(r["ab"],{closable:!0,onClose:e},"Tag 2"),n.a.createElement(r["ab"],{closable:!0,onClose:a},"Prevent Default"))};a["default"]=c},vbKZ:function(e,a,t){"use strict";t.r(a);var l=t("tJVT"),n=t("q1tI"),r=t.n(n),c=t("m/eG"),o=t("6y1p"),s=t("xvlK"),u=()=>{var e=Object(n["useState"])(["Tag 1","Tag 2","Tag 3"]),a=Object(l["a"])(e,2),t=a[0],u=a[1],m=Object(n["useState"])(!1),i=Object(l["a"])(m,2),b=i[0],E=i[1],g=Object(n["useState"])(""),f=Object(l["a"])(g,2),v=f[0],d=f[1],p=Object(n["useRef"])();Object(n["useEffect"])((()=>{b&&p.current.focus()}),[b]);var O=e=>{var a=t.filter((a=>a!==e));u(a)},j=()=>{E(!0)},k=e=>{d(e.target.value)},y=()=>{v&&-1===t.indexOf(v)&&(t=[...t,v]),console.log(t),u(t),E(!1),d("")},C=e=>{var a=r.a.createElement(c["ab"],{closable:!0,onClose:a=>{a.preventDefault(),O(e)}},e);return r.a.createElement("span",{key:e,style:{display:"inline-block"}},a)},h=t.map(C);return r.a.createElement(r.a.Fragment,null,r.a.createElement("div",{style:{marginBottom:16}},r.a.createElement(o["a"],{enter:{scale:.8,opacity:0,type:"from",duration:100,onComplete:e=>{e.target.style=""}},leave:{opacity:0,width:0,scale:0,duration:200},appear:!1},h)),b&&r.a.createElement(c["A"],{ref:p,type:"text",size:"small",style:{width:78},value:v,onChange:k,onBlur:y,onPressEnter:y}),!b&&r.a.createElement(c["ab"],{onClick:j,className:"site-tag-plus"},r.a.createElement(s["a"],null)," New Tag"))};a["default"]=u}}]);
1
+ (window['webpackJsonp'] = window['webpackJsonp'] || []).push([
2
+ [83],
3
+ {
4
+ '3/+U': function (e, a, t) {
5
+ 'use strict';
6
+ t.r(a);
7
+ var l = t('q1tI'),
8
+ n = t.n(l),
9
+ r = t('m/eG'),
10
+ c = t('43SX'),
11
+ o = t('FoZM'),
12
+ s = t('nk6Y'),
13
+ u = t('Gn5n'),
14
+ m = () =>
15
+ n.a.createElement(
16
+ n.a.Fragment,
17
+ null,
18
+ n.a.createElement(
19
+ r['ab'],
20
+ { icon: n.a.createElement(c['a'], null), color: '#55acee' },
21
+ 'Twitter',
22
+ ),
23
+ n.a.createElement(
24
+ r['ab'],
25
+ { icon: n.a.createElement(o['a'], null), color: '#cd201f' },
26
+ 'Youtube',
27
+ ),
28
+ n.a.createElement(
29
+ r['ab'],
30
+ { icon: n.a.createElement(s['a'], null), color: '#3b5999' },
31
+ 'Facebook',
32
+ ),
33
+ n.a.createElement(
34
+ r['ab'],
35
+ { icon: n.a.createElement(u['a'], null), color: '#55acee' },
36
+ 'LinkedIn',
37
+ ),
38
+ );
39
+ a['default'] = m;
40
+ },
41
+ '4hvQ': function (e, a, t) {
42
+ 'use strict';
43
+ t.r(a);
44
+ var l = t('tJVT'),
45
+ n = t('q1tI'),
46
+ r = t.n(n),
47
+ c = t('m/eG'),
48
+ o = c['ab'].CheckableTag,
49
+ s = () => {
50
+ var e = Object(n['useState'])(['Books']),
51
+ a = Object(l['a'])(e, 2),
52
+ t = a[0],
53
+ c = a[1],
54
+ s = ['Movies', 'Books', 'Music', 'Sports'],
55
+ u = (e, a) => {
56
+ var l = a ? [...t, e] : t.filter((a) => a !== e);
57
+ console.log('You are interested in: ', l), c(l);
58
+ };
59
+ return r.a.createElement(
60
+ r.a.Fragment,
61
+ null,
62
+ r.a.createElement(
63
+ 'span',
64
+ { style: { marginRight: 8 } },
65
+ 'Categories:',
66
+ ),
67
+ s.map((e) =>
68
+ r.a.createElement(
69
+ o,
70
+ {
71
+ key: e,
72
+ checked: t.indexOf(e) > -1,
73
+ onChange: (a) => u(e, a),
74
+ },
75
+ e,
76
+ ),
77
+ ),
78
+ );
79
+ };
80
+ a['default'] = s;
81
+ },
82
+ 'Bz+S': function (e, a, t) {
83
+ 'use strict';
84
+ t.r(a);
85
+ var l = t('tJVT'),
86
+ n = t('q1tI'),
87
+ r = t.n(n),
88
+ c = t('m/eG'),
89
+ o = t('xvlK'),
90
+ s = () => {
91
+ var e = Object(n['useState'])(['Unremovable', 'Tag 2', 'Tag 3']),
92
+ a = Object(l['a'])(e, 2),
93
+ t = a[0],
94
+ s = a[1],
95
+ u = Object(n['useState'])(!1),
96
+ m = Object(l['a'])(u, 2),
97
+ i = m[0],
98
+ b = m[1],
99
+ E = Object(n['useState'])(''),
100
+ g = Object(l['a'])(E, 2),
101
+ f = g[0],
102
+ v = g[1],
103
+ d = Object(n['useState'])(-1),
104
+ p = Object(l['a'])(d, 2),
105
+ O = p[0],
106
+ j = p[1],
107
+ k = Object(n['useState'])(''),
108
+ y = Object(l['a'])(k, 2),
109
+ C = y[0],
110
+ h = y[1],
111
+ w = Object(n['useRef'])(),
112
+ T = Object(n['useRef'])();
113
+ Object(n['useEffect'])(() => {
114
+ i && (w.current.focus(), console.log(w));
115
+ }, [i]);
116
+ var S = (e) => {
117
+ var a = t.filter((a) => a !== e);
118
+ console.log(t), s(a);
119
+ },
120
+ F = () => {
121
+ b(!0);
122
+ },
123
+ G = (e) => {
124
+ v(e.target.value);
125
+ },
126
+ I = () => {
127
+ f && -1 === t.indexOf(f) && (t = [...t, f]),
128
+ console.log(t),
129
+ s(t),
130
+ b(!1),
131
+ v('');
132
+ },
133
+ B = (e) => {
134
+ h(e.target.value);
135
+ },
136
+ q = () => {
137
+ var e = [...t];
138
+ (e[O] = C), s(e), j(-1), h('');
139
+ };
140
+ return r.a.createElement(
141
+ r.a.Fragment,
142
+ null,
143
+ t.map((e, a) => {
144
+ if (O === a)
145
+ return r.a.createElement(c['A'], {
146
+ ref: T,
147
+ key: e,
148
+ size: 'small',
149
+ className: 'tag-input',
150
+ value: C,
151
+ onChange: B,
152
+ onBlur: q,
153
+ onPressEnter: q,
154
+ });
155
+ var t = e.length > 20,
156
+ l = r.a.createElement(
157
+ c['ab'],
158
+ {
159
+ className: 'edit-tag',
160
+ key: e,
161
+ closable: 0 !== a,
162
+ onClose: () => S(e),
163
+ },
164
+ r.a.createElement(
165
+ 'span',
166
+ {
167
+ onDoubleClick: (t) => {
168
+ 0 !== a &&
169
+ (j(a),
170
+ h(e),
171
+ setTimeout(() => {
172
+ T.current.focus();
173
+ }),
174
+ t.preventDefault());
175
+ },
176
+ },
177
+ t ? ''.concat(e.slice(0, 20), '...') : e,
178
+ ),
179
+ );
180
+ return t
181
+ ? r.a.createElement(c['db'], { title: e, key: e }, l)
182
+ : l;
183
+ }),
184
+ i &&
185
+ r.a.createElement(c['A'], {
186
+ ref: w,
187
+ type: 'text',
188
+ size: 'small',
189
+ className: 'tag-input',
190
+ value: f,
191
+ onChange: G,
192
+ onBlur: I,
193
+ onPressEnter: I,
194
+ }),
195
+ !i &&
196
+ r.a.createElement(
197
+ c['ab'],
198
+ { className: 'site-tag-plus', onClick: F },
199
+ r.a.createElement(o['a'], null),
200
+ ' New Tag',
201
+ ),
202
+ );
203
+ };
204
+ a['default'] = s;
205
+ },
206
+ QYCG: function (e, a, t) {
207
+ 'use strict';
208
+ t.r(a);
209
+ var l = t('q1tI'),
210
+ n = t.n(l),
211
+ r = t('m/eG'),
212
+ c = () =>
213
+ n.a.createElement(
214
+ n.a.Fragment,
215
+ null,
216
+ n.a.createElement(r['u'], { orientation: 'left' }, 'Presets'),
217
+ n.a.createElement(
218
+ 'div',
219
+ null,
220
+ n.a.createElement(r['ab'], { color: 'magenta' }, 'magenta'),
221
+ n.a.createElement(r['ab'], { color: 'red' }, 'red'),
222
+ n.a.createElement(r['ab'], { color: 'volcano' }, 'volcano'),
223
+ n.a.createElement(r['ab'], { color: 'orange' }, 'orange'),
224
+ n.a.createElement(r['ab'], { color: 'gold' }, 'gold'),
225
+ n.a.createElement(r['ab'], { color: 'lime' }, 'lime'),
226
+ n.a.createElement(r['ab'], { color: 'green' }, 'green'),
227
+ n.a.createElement(r['ab'], { color: 'cyan' }, 'cyan'),
228
+ n.a.createElement(r['ab'], { color: 'blue' }, 'blue'),
229
+ n.a.createElement(r['ab'], { color: 'geekblue' }, 'geekblue'),
230
+ n.a.createElement(r['ab'], { color: 'purple' }, 'purple'),
231
+ ),
232
+ n.a.createElement(r['u'], { orientation: 'left' }, 'Custom'),
233
+ n.a.createElement(
234
+ 'div',
235
+ null,
236
+ n.a.createElement(r['ab'], { color: '#f50' }, '#f50'),
237
+ n.a.createElement(r['ab'], { color: '#2db7f5' }, '#2db7f5'),
238
+ n.a.createElement(r['ab'], { color: '#87d068' }, '#87d068'),
239
+ n.a.createElement(r['ab'], { color: '#108ee9' }, '#108ee9'),
240
+ ),
241
+ );
242
+ a['default'] = c;
243
+ },
244
+ Vzub: function (e, a, t) {
245
+ 'use strict';
246
+ t.r(a);
247
+ var l = t('q1tI'),
248
+ n = t.n(l),
249
+ r = t('m/eG'),
250
+ c = t('Ue1A'),
251
+ o = t('zsHu'),
252
+ s = t('2BaD'),
253
+ u = t('RCxd'),
254
+ m = t('Icgb'),
255
+ i = t('wlus'),
256
+ b = () =>
257
+ n.a.createElement(
258
+ n.a.Fragment,
259
+ null,
260
+ n.a.createElement(r['u'], { orientation: 'left' }, 'Without icon'),
261
+ n.a.createElement(
262
+ 'div',
263
+ null,
264
+ n.a.createElement(r['ab'], { color: 'success' }, 'success'),
265
+ n.a.createElement(r['ab'], { color: 'processing' }, 'processing'),
266
+ n.a.createElement(r['ab'], { color: 'error' }, 'error'),
267
+ n.a.createElement(r['ab'], { color: 'warning' }, 'warning'),
268
+ n.a.createElement(r['ab'], { color: 'default' }, 'default'),
269
+ ),
270
+ n.a.createElement(r['u'], { orientation: 'left' }, 'With icon'),
271
+ n.a.createElement(
272
+ 'div',
273
+ null,
274
+ n.a.createElement(
275
+ r['ab'],
276
+ { icon: n.a.createElement(c['a'], null), color: 'success' },
277
+ 'success',
278
+ ),
279
+ n.a.createElement(
280
+ r['ab'],
281
+ {
282
+ icon: n.a.createElement(o['a'], { spin: !0 }),
283
+ color: 'processing',
284
+ },
285
+ 'processing',
286
+ ),
287
+ n.a.createElement(
288
+ r['ab'],
289
+ { icon: n.a.createElement(s['a'], null), color: 'error' },
290
+ 'error',
291
+ ),
292
+ n.a.createElement(
293
+ r['ab'],
294
+ { icon: n.a.createElement(u['a'], null), color: 'warning' },
295
+ 'warning',
296
+ ),
297
+ n.a.createElement(
298
+ r['ab'],
299
+ { icon: n.a.createElement(m['a'], null), color: 'default' },
300
+ 'waiting',
301
+ ),
302
+ n.a.createElement(
303
+ r['ab'],
304
+ { icon: n.a.createElement(i['a'], null), color: 'default' },
305
+ 'stop',
306
+ ),
307
+ ),
308
+ );
309
+ a['default'] = b;
310
+ },
311
+ cbNY: function (e, a, t) {
312
+ 'use strict';
313
+ t.r(a);
314
+ var l = t('tJVT'),
315
+ n = t('q1tI'),
316
+ r = t.n(n),
317
+ c = t('m/eG'),
318
+ o = () => {
319
+ var e = Object(n['useState'])(!1),
320
+ a = Object(l['a'])(e, 2),
321
+ t = a[0],
322
+ o = a[1];
323
+ return r.a.createElement(
324
+ r.a.Fragment,
325
+ null,
326
+ r.a.createElement(
327
+ c['ab'],
328
+ { closable: !0, visible: t, onClose: () => o(!1) },
329
+ 'Movies',
330
+ ),
331
+ r.a.createElement('br', null),
332
+ r.a.createElement(
333
+ c['i'],
334
+ { size: 'small', onClick: () => o(!t) },
335
+ 'Toggle',
336
+ ),
337
+ );
338
+ };
339
+ a['default'] = o;
340
+ },
341
+ cyon: function (e, a, t) {
342
+ 'use strict';
343
+ t.r(a);
344
+ var l = t('q1tI'),
345
+ n = t.n(l),
346
+ r = t('m/eG'),
347
+ c = () => {
348
+ var e = (e) => {
349
+ console.log(e);
350
+ },
351
+ a = (e) => {
352
+ e.preventDefault(), console.log('Clicked! But prevent default.');
353
+ };
354
+ return n.a.createElement(
355
+ n.a.Fragment,
356
+ null,
357
+ n.a.createElement(r['ab'], null, 'Tag 1'),
358
+ n.a.createElement(
359
+ r['ab'],
360
+ null,
361
+ n.a.createElement(
362
+ 'a',
363
+ {
364
+ href: 'https://github.com/ant-design/ant-design/issues/1862',
365
+ },
366
+ 'Link',
367
+ ),
368
+ ),
369
+ n.a.createElement(r['ab'], { closable: !0, onClose: e }, 'Tag 2'),
370
+ n.a.createElement(
371
+ r['ab'],
372
+ { closable: !0, onClose: a },
373
+ 'Prevent Default',
374
+ ),
375
+ );
376
+ };
377
+ a['default'] = c;
378
+ },
379
+ vbKZ: function (e, a, t) {
380
+ 'use strict';
381
+ t.r(a);
382
+ var l = t('tJVT'),
383
+ n = t('q1tI'),
384
+ r = t.n(n),
385
+ c = t('m/eG'),
386
+ o = t('6y1p'),
387
+ s = t('xvlK'),
388
+ u = () => {
389
+ var e = Object(n['useState'])(['Tag 1', 'Tag 2', 'Tag 3']),
390
+ a = Object(l['a'])(e, 2),
391
+ t = a[0],
392
+ u = a[1],
393
+ m = Object(n['useState'])(!1),
394
+ i = Object(l['a'])(m, 2),
395
+ b = i[0],
396
+ E = i[1],
397
+ g = Object(n['useState'])(''),
398
+ f = Object(l['a'])(g, 2),
399
+ v = f[0],
400
+ d = f[1],
401
+ p = Object(n['useRef'])();
402
+ Object(n['useEffect'])(() => {
403
+ b && p.current.focus();
404
+ }, [b]);
405
+ var O = (e) => {
406
+ var a = t.filter((a) => a !== e);
407
+ u(a);
408
+ },
409
+ j = () => {
410
+ E(!0);
411
+ },
412
+ k = (e) => {
413
+ d(e.target.value);
414
+ },
415
+ y = () => {
416
+ v && -1 === t.indexOf(v) && (t = [...t, v]),
417
+ console.log(t),
418
+ u(t),
419
+ E(!1),
420
+ d('');
421
+ },
422
+ C = (e) => {
423
+ var a = r.a.createElement(
424
+ c['ab'],
425
+ {
426
+ closable: !0,
427
+ onClose: (a) => {
428
+ a.preventDefault(), O(e);
429
+ },
430
+ },
431
+ e,
432
+ );
433
+ return r.a.createElement(
434
+ 'span',
435
+ { key: e, style: { display: 'inline-block' } },
436
+ a,
437
+ );
438
+ },
439
+ h = t.map(C);
440
+ return r.a.createElement(
441
+ r.a.Fragment,
442
+ null,
443
+ r.a.createElement(
444
+ 'div',
445
+ { style: { marginBottom: 16 } },
446
+ r.a.createElement(
447
+ o['a'],
448
+ {
449
+ enter: {
450
+ scale: 0.8,
451
+ opacity: 0,
452
+ type: 'from',
453
+ duration: 100,
454
+ onComplete: (e) => {
455
+ e.target.style = '';
456
+ },
457
+ },
458
+ leave: { opacity: 0, width: 0, scale: 0, duration: 200 },
459
+ appear: !1,
460
+ },
461
+ h,
462
+ ),
463
+ ),
464
+ b &&
465
+ r.a.createElement(c['A'], {
466
+ ref: p,
467
+ type: 'text',
468
+ size: 'small',
469
+ style: { width: 78 },
470
+ value: v,
471
+ onChange: k,
472
+ onBlur: y,
473
+ onPressEnter: y,
474
+ }),
475
+ !b &&
476
+ r.a.createElement(
477
+ c['ab'],
478
+ { onClick: j, className: 'site-tag-plus' },
479
+ r.a.createElement(s['a'], null),
480
+ ' New Tag',
481
+ ),
482
+ );
483
+ };
484
+ a['default'] = u;
485
+ },
486
+ },
487
+ ]);