@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.
- package/.history/package_20211011190148.json +141 -0
- package/.history/package_20211011193053.json +141 -0
- package/dist/@fle-ui/next.css +2 -2
- package/dist/@fle-ui/next.css.map +1 -1
- package/dist/@fle-ui/next.js +1 -1
- package/dist/@fle-ui/next.min.css +2 -2
- package/dist/@fle-ui/next.min.css.map +1 -1
- package/dist/@fle-ui/next.min.js +1 -1
- package/docs-dist/components__affix__affix.md.js +701 -1
- package/docs-dist/components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~components__au~00d1741d.js +22482 -1
- package/docs-dist/components__alert__alert.md.js +942 -1
- package/docs-dist/components__anchor__anchor.md.js +789 -1
- package/docs-dist/components__auto-complete__autoComplete.md.js +1145 -1
- package/docs-dist/components__avatar__avatar.md.js +854 -1
- package/docs-dist/components__back-top__backTop.md.js +581 -1
- package/docs-dist/components__badge__badge.md.js +972 -1
- package/docs-dist/components__breadcrumb__breadcrumb.md.js +914 -1
- package/docs-dist/components__button__button.md.js +1037 -1
- package/docs-dist/components__calendar__calendar.md.js +897 -1
- package/docs-dist/components__card__card.md.js +1106 -1
- package/docs-dist/components__carousel__carousel.md.js +770 -1
- package/docs-dist/components__cascader__cascader.md.js +1378 -1
- package/docs-dist/components__checkbox__checkbox.md.js +876 -1
- package/docs-dist/components__collapse__collapse.md.js +959 -1
- package/docs-dist/components__comment__comment.md.js +586 -1
- package/docs-dist/components__config-provider__configProvider.md.js +1055 -1
- package/docs-dist/components__date-picker__date-picker.md.js +2622 -1
- package/docs-dist/components__descriptions__descriptions.md.js +863 -1
- package/docs-dist/components__divider__divider.md.js +681 -1
- package/docs-dist/components__drawer__drawer.md.js +997 -1
- package/docs-dist/components__dropdown__dropdown.md.js +1170 -1
- package/docs-dist/components__empty__empty.md.js +692 -1
- package/docs-dist/components__form__form.md.js +4099 -1
- package/docs-dist/components__grid__grid.md.js +999 -1
- package/docs-dist/components__icon__icon.md.js +739 -1
- package/docs-dist/components__image__image.md.js +745 -1
- package/docs-dist/components__input-number__inputNumber.md.js +1006 -1
- package/docs-dist/components__input__input.md.js +1579 -1
- package/docs-dist/components__layout__layout.md.js +1220 -1
- package/docs-dist/components__list__list.md.js +1255 -1
- package/docs-dist/components__mentions__mentions.md.js +943 -1
- package/docs-dist/components__menu__menu.md.js +1370 -1
- package/docs-dist/components__message__message.md.js +1223 -1
- package/docs-dist/components__modal__modal.md.js +1808 -1
- package/docs-dist/components__notification__notification.md.js +1192 -1
- package/docs-dist/components__page-header__page-header.md.js +781 -1
- package/docs-dist/components__pagination__pagination.md.js +954 -1
- package/docs-dist/components__popconfirm__popconfirm.md.js +792 -1
- package/docs-dist/components__popover__popover.md.js +665 -1
- package/docs-dist/components__progress__progress.md.js +1139 -1
- package/docs-dist/components__radio__radio.md.js +999 -1
- package/docs-dist/components__rate__rate.md.js +851 -1
- package/docs-dist/components__result__result.md.js +681 -1
- package/docs-dist/components__select__select.md.js +2081 -1
- package/docs-dist/components__slider__slider.md.js +1053 -1
- package/docs-dist/components__space__space.md.js +746 -1
- package/docs-dist/components__spin__spin.md.js +730 -1
- package/docs-dist/components__statistic__statistic.md.js +827 -1
- package/docs-dist/components__steps__steps.md.js +1097 -1
- package/docs-dist/components__switch__switch.md.js +763 -1
- package/docs-dist/components__table__table.md.js +3692 -1
- package/docs-dist/components__tabs__tabs.md.js +1213 -1
- package/docs-dist/components__tag__tag.md.js +779 -1
- package/docs-dist/components__time-picker__time-picker.md.js +1232 -1
- package/docs-dist/components__timeline__timeline.md.js +799 -1
- package/docs-dist/components__tooltip__tooltip.md.js +888 -1
- package/docs-dist/components__transfer__transfer.md.js +1226 -1
- package/docs-dist/components__tree-select__tree-select.md.js +1042 -1
- package/docs-dist/components__typography__typography.md.js +1793 -1
- package/docs-dist/components__upload__upload.md.js +1798 -1
- package/docs-dist/demos_bmurcdaerb.js +603 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.chunk.css +1 -1
- package/docs-dist/demos_bmurcdaerb~demos_citsitats~demos_dirg~demos_drac~demos_ecaps~demos_egami~demos_egassem~demos_e~57973d2f.js +21570 -1
- package/docs-dist/demos_citsitats.js +549 -1
- package/docs-dist/demos_daolpu.chunk.css +1 -1
- package/docs-dist/demos_daolpu.js +22680 -1
- package/docs-dist/demos_dirg.js +47 -1
- package/docs-dist/demos_drac.js +748 -1
- package/docs-dist/demos_ecaps.js +529 -1
- package/docs-dist/demos_egami.js +153 -1
- package/docs-dist/demos_egassem.js +187 -1
- package/docs-dist/demos_egdab.js +872 -1
- package/docs-dist/demos_elbat.chunk.css +1 -1
- package/docs-dist/demos_elbat.js +27626 -1
- package/docs-dist/demos_enilemit.js +627 -1
- package/docs-dist/demos_espalloc.js +705 -1
- package/docs-dist/demos_etar.js +547 -1
- package/docs-dist/demos_etelpmoc-otua.js +613 -1
- package/docs-dist/demos_gat.js +487 -1
- package/docs-dist/demos_hctiws.js +439 -1
- package/docs-dist/demos_ladom.js +791 -1
- package/docs-dist/demos_lesuorac.js +193 -1
- package/docs-dist/demos_mrifnocpop.js +671 -1
- package/docs-dist/demos_mrof.js +3082 -1
- package/docs-dist/demos_nips.js +461 -1
- package/docs-dist/demos_noitacifiton.js +765 -1
- package/docs-dist/demos_noitanigap.js +233 -1
- package/docs-dist/demos_nottub.js +847 -1
- package/docs-dist/demos_nwodpord.js +965 -1
- package/docs-dist/demos_oidar.js +340 -1
- package/docs-dist/demos_pitloot.js +204 -1
- package/docs-dist/demos_pot-kcab.js +62 -1
- package/docs-dist/demos_radnelac.js +285 -1
- package/docs-dist/demos_ratava.js +647 -1
- package/docs-dist/demos_rebmun-tupni.js +209 -1
- package/docs-dist/demos_redacsac.js +576 -1
- package/docs-dist/demos_redaeh-egap.js +761 -1
- package/docs-dist/demos_redils.js +659 -1
- package/docs-dist/demos_redivid.js +167 -1
- package/docs-dist/demos_redivorp-gifnoc.js +2154 -1
- package/docs-dist/demos_refsnart.js +774 -1
- package/docs-dist/demos_rekcip-emit.js +183 -1
- package/docs-dist/demos_rekcip-etad.js +469 -1
- package/docs-dist/demos_revopop.js +335 -1
- package/docs-dist/demos_reward.js +484 -1
- package/docs-dist/demos_rohcna.js +194 -1
- package/docs-dist/demos_sbat.chunk.css +1 -1
- package/docs-dist/demos_sbat.js +22358 -1
- package/docs-dist/demos_snoitnem.js +202 -1
- package/docs-dist/demos_snoitpircsed.js +351 -1
- package/docs-dist/demos_spets.js +910 -1
- package/docs-dist/demos_ssergorp.js +698 -1
- package/docs-dist/demos_tceles.js +1416 -1
- package/docs-dist/demos_tluser.js +530 -1
- package/docs-dist/demos_tnemmoc.js +560 -1
- package/docs-dist/demos_trela.js +341 -1
- package/docs-dist/demos_tsil.js +603 -1
- package/docs-dist/demos_tuoyal.js +872 -1
- package/docs-dist/demos_tupni.js +1245 -1
- package/docs-dist/demos_unem.js +1012 -1
- package/docs-dist/demos_xiffa.js +93 -1
- package/docs-dist/demos_xobkcehc.js +186 -1
- package/docs-dist/demos_yhpargopyt.js +798 -1
- package/docs-dist/demos_ytpme.js +433 -1
- package/docs-dist/docs__document__getting-started.md.js +193 -1
- package/docs-dist/docs__document__introduce.md.js +441 -1
- package/docs-dist/docs__document__practical-projects.md.js +117 -1
- package/docs-dist/docs__index.md.js +27 -1
- package/docs-dist/docs__story__index.md.js +89 -1
- package/docs-dist/dumi_demos.js +456 -1
- package/docs-dist/umi.js +28727 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~3ba4f4a1.js +2590 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~ac3aca9a.js +8970 -1
- package/docs-dist/vendors~components__affix__affix.md~components__alert__alert.md~components__anchor__anchor.md~compon~e29e5a37.js +2619 -1
- package/docs-dist/vendors~demos_bmurcdaerb~demos_citsitats~demos_daolpu~demos_dirg~demos_drac~demos_ecaps~demos_egami~~4cc402e9.js +57323 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat.js +1649 -1
- package/docs-dist/vendors~demos_daolpu~demos_elbat~demos_sbat.js +4169 -1
- package/docs-dist/vendors~demos_gat.js +4673 -1
- package/docs-dist/vendors~demos_ladom.js +1855 -1
- package/docs-dist/vendors~demos_redivorp-gifnoc.js +9666 -1
- package/docs-dist/vendors~demos_sbat.js +1601 -1
- package/docs-dist/vendors~demos_trela.js +1722 -1
- package/docs-dist/vendors~demos_tsil.js +4970 -1
- package/docs-dist/vendors~demos_tuoyal.js +748 -1
- package/docs-dist/vendors~wrappers.js +1360 -1
- package/docs-dist/wrappers.js +21 -1
- package/es/drawer/style/drawer.less +8 -4
- package/es/drawer/style/index.css +1 -1
- package/es/style/themes/default.less +57 -29
- package/lib/drawer/style/drawer.less +8 -4
- package/lib/drawer/style/index.css +1 -1
- package/lib/style/themes/default.less +57 -29
- package/package.json +1 -1
- package/report.html +1 -1
@@ -1 +1,1416 @@
|
|
1
|
-
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([[116],{"2HEe":function(e,t,a){var n,r,l;(function(a,o){r=[t,e],n=o,l="function"===typeof n?n.apply(t,r):n,void 0===l||(e.exports=l)})(0,(function(e,t){"use strict";var a={timeout:5e3,jsonpCallback:"callback",jsonpCallbackFunction:null};function n(){return"jsonp_"+Date.now()+"_"+Math.ceil(1e5*Math.random())}function r(e){try{delete window[e]}catch(t){window[e]=void 0}}function l(e){var t=document.getElementById(e);t&&document.getElementsByTagName("head")[0].removeChild(t)}function o(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],o=e,c=t.timeout||a.timeout,i=t.jsonpCallback||a.jsonpCallback,u=void 0;return new Promise((function(a,s){var d=t.jsonpCallbackFunction||n(),m=i+"_"+d;window[d]=function(e){a({ok:!0,json:function(){return Promise.resolve(e)}}),u&&clearTimeout(u),l(m),r(d)},o+=-1===o.indexOf("?")?"?":"&";var p=document.createElement("script");p.setAttribute("src",""+o+i+"="+d),t.charset&&p.setAttribute("charset",t.charset),t.nonce&&p.setAttribute("nonce",t.nonce),t.referrerPolicy&&p.setAttribute("referrerPolicy",t.referrerPolicy),p.id=m,document.getElementsByTagName("head")[0].appendChild(p),u=setTimeout((function(){s(new Error("JSONP request to "+e+" timed out")),r(d),l(m),window[d]=function(){r(d)}}),c),p.onerror=function(){s(new Error("JSONP request to "+e+" failed")),r(d),l(m),u&&clearTimeout(u)}}))}t.exports=o}))},"4JlD":function(e,t,a){"use strict";var n=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,a,c){return t=t||"&",a=a||"=",null===e&&(e=void 0),"object"===typeof e?l(o(e),(function(o){var c=encodeURIComponent(n(o))+a;return r(e[o])?l(e[o],(function(e){return c+encodeURIComponent(n(e))})).join(t):c+encodeURIComponent(n(e[o]))})).join(t):c?encodeURIComponent(n(c))+a+encodeURIComponent(n(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function l(e,t){if(e.map)return e.map(t);for(var a=[],n=0;n<e.length;n++)a.push(t(e[n],n));return a}var o=Object.keys||function(e){var t=[];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&t.push(a);return t}},"5hpm":function(e,t,a){"use strict";a.r(t);for(var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["hb"].Title,c=[],i=0;i<1e5;i++){var u="".concat(i.toString(36)).concat(i);c.push({value:u,disabled:10===i})}function s(e){console.log("selected ".concat(e))}var d=()=>r.a.createElement(r.a.Fragment,null,r.a.createElement(o,{level:3},"Ant Design 4.0"),r.a.createElement(o,{level:4},c.length," Items"),r.a.createElement(l["Q"],{mode:"multiple",style:{width:"100%"},placeholder:"Please select",defaultValue:["a10","c12"],onChange:s,options:c}),r.a.createElement(l["u"],null),r.a.createElement(o,{level:3},"Ant Design 3.0"),r.a.createElement("iframe",{title:"Ant Design 3.0 Select demo",src:"https://codesandbox.io/embed/solitary-voice-m3vme?fontsize=14&hidenavigation=1&theme=dark&view=preview",style:{width:"100%",height:300}}));t["default"]=d},"6VBw":function(e,t,a){"use strict";var n=a("VTBJ"),r=a("ODXe"),l=a("rePB"),o=a("Ff2n"),c=a("q1tI"),i=a.n(c),u=a("TSYQ"),s=a.n(u),d=Object(c["createContext"])({}),m=d,p=a("U8pU"),f=a("AJpP"),v=a("Kwbf"),h=a("MNnm"),g="rc-util-key";function y(e){if(e.attachTo)return e.attachTo;var t=document.querySelector("head");return t||document.body}function b(e){var t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!Object(h["a"])())return null;var n,r=document.createElement("style");(null===(t=a.csp)||void 0===t?void 0:t.nonce)&&(r.nonce=null===(n=a.csp)||void 0===n?void 0:n.nonce);r.innerHTML=e;var l=y(a),o=l.firstChild;return a.prepend&&l.prepend?l.prepend(r):a.prepend&&o?l.insertBefore(r,o):l.appendChild(r),r}var E=new Map;function C(e,t){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=y(a);if(!E.has(n)){var r=b("",a),l=r.parentNode;E.set(n,l),l.removeChild(r)}var o=Array.from(E.get(n).children).find((function(e){return"STYLE"===e.tagName&&e[g]===t}));if(o){var c,i,u;if((null===(c=a.csp)||void 0===c?void 0:c.nonce)&&o.nonce!==(null===(i=a.csp)||void 0===i?void 0:i.nonce))o.nonce=null===(u=a.csp)||void 0===u?void 0:u.nonce;return o.innerHTML!==e&&(o.innerHTML=e),o}var s=b(e,a);return s[g]=t,s}function w(e,t){Object(v["a"])(e,"[@ant-design/icons] ".concat(t))}function O(e){return"object"===Object(p["a"])(e)&&"string"===typeof e.name&&"string"===typeof e.theme&&("object"===Object(p["a"])(e.icon)||"function"===typeof e.icon)}function j(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Object.keys(e).reduce((function(t,a){var n=e[a];switch(a){case"class":t.className=n,delete t.class;break;default:t[a]=n}return t}),{})}function k(e,t,a){return a?i.a.createElement(e.tag,Object(n["a"])(Object(n["a"])({key:t},j(e.attrs)),a),(e.children||[]).map((function(a,n){return k(a,"".concat(t,"-").concat(e.tag,"-").concat(n))}))):i.a.createElement(e.tag,Object(n["a"])({key:t},j(e.attrs)),(e.children||[]).map((function(a,n){return k(a,"".concat(t,"-").concat(e.tag,"-").concat(n))})))}function S(e){return Object(f["generate"])(e)[0]}function T(e){return e?Array.isArray(e)?e:[e]:[]}var Q="\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n",I=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Q,t=Object(c["useContext"])(m),a=t.csp;Object(c["useEffect"])((function(){C(e,"@ant-design-icons",{prepend:!0,csp:a})}),[])},x=["icon","className","onClick","style","primaryColor","secondaryColor"],q={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function V(e){var t=e.primaryColor,a=e.secondaryColor;q.primaryColor=t,q.secondaryColor=a||S(t),q.calculated=!!a}function N(){return Object(n["a"])({},q)}var A=function(e){var t=e.icon,a=e.className,r=e.onClick,l=e.style,c=e.primaryColor,i=e.secondaryColor,u=Object(o["a"])(e,x),s=q;if(c&&(s={primaryColor:c,secondaryColor:i||S(c)}),I(),w(O(t),"icon should be icon definiton, but got ".concat(t)),!O(t))return null;var d=t;return d&&"function"===typeof d.icon&&(d=Object(n["a"])(Object(n["a"])({},d),{},{icon:d.icon(s.primaryColor,s.secondaryColor)})),k(d.icon,"svg-".concat(d.name),Object(n["a"])({className:a,onClick:r,style:l,"data-icon":d.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},u))};A.displayName="IconReact",A.getTwoToneColors=N,A.setTwoToneColors=V;var J=A;function L(e){var t=T(e),a=Object(r["a"])(t,2),n=a[0],l=a[1];return J.setTwoToneColors({primaryColor:n,secondaryColor:l})}function G(){var e=J.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var P=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];L("#1890ff");var B=c["forwardRef"]((function(e,t){var a,i=e.className,u=e.icon,d=e.spin,p=e.rotate,f=e.tabIndex,v=e.onClick,h=e.twoToneColor,g=Object(o["a"])(e,P),y=c["useContext"](m),b=y.prefixCls,E=void 0===b?"anticon":b,C=s()(E,(a={},Object(l["a"])(a,"".concat(E,"-").concat(u.name),!!u.name),Object(l["a"])(a,"".concat(E,"-spin"),!!d||"loading"===u.name),a),i),w=f;void 0===w&&v&&(w=-1);var O=p?{msTransform:"rotate(".concat(p,"deg)"),transform:"rotate(".concat(p,"deg)")}:void 0,j=T(h),k=Object(r["a"])(j,2),S=k[0],Q=k[1];return c["createElement"]("span",Object(n["a"])(Object(n["a"])({role:"img","aria-label":u.name},g),{},{ref:t,tabIndex:w,onClick:v,className:C}),c["createElement"](J,{icon:u,primaryColor:S,secondaryColor:Q,style:O}))}));B.displayName="AntdIcon",B.getTwoToneColor=G,B.setTwoToneColor=L;t["a"]=B},"E+m9":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=l["Q"].OptGroup,i=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:200},onChange:e},r.a.createElement(c,{label:"Manager"},r.a.createElement(o,{value:"jack"},"Jack"),r.a.createElement(o,{value:"lucy"},"Lucy")),r.a.createElement(c,{label:"Engineer"},r.a.createElement(o,{value:"Yiminghe"},"yiminghe")))};t["default"]=i},IRFC:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),r=a("q1tI"),l=a.n(r),o=a("m/eG"),c=["Apples","Nails","Bananas","Helicopters"],i=()=>{var e=Object(r["useState"])([]),t=Object(n["a"])(e,2),a=t[0],i=t[1],u=e=>{i(e)},s=c.filter((e=>!a.includes(e)));return l.a.createElement(o["Q"],{mode:"multiple",placeholder:"Inserted are removed",value:a,onChange:u,style:{width:"100%"}},s.map((e=>l.a.createElement(o["Q"].Option,{key:e,value:e},e))))};t["default"]=i},KaX5:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>r.a.createElement(r.a.Fragment,null,r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},bordered:!1},r.a.createElement(o,{value:"jack"},"Jack"),r.a.createElement(o,{value:"lucy"},"Lucy"),r.a.createElement(o,{value:"Yiminghe"},"yiminghe")),r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},disabled:!0,bordered:!1},r.a.createElement(o,{value:"lucy"},"Lucy")));t["default"]=c},RrVk:function(e,t,a){"use strict";a.r(t);for(var n=a("tJVT"),r=a("q1tI"),l=a.n(r),o=a("m/eG"),c=o["Q"].Option,i=[],u=10;u<36;u++)i.push(l.a.createElement(c,{value:u.toString(36)+u,key:u.toString(36)+u},u.toString(36)+u));var s=()=>{var e=Object(r["useState"])(void 0),t=Object(n["a"])(e,2),a=t[0],c=t[1],u=e=>{console.log("Selected: ".concat(e))},s=e=>{c(e.target.value)};return l.a.createElement(l.a.Fragment,null,l.a.createElement(o["M"].Group,{value:a,onChange:s},l.a.createElement(o["M"].Button,{value:"large"},"Large"),l.a.createElement(o["M"].Button,{value:"default"},"Default"),l.a.createElement(o["M"].Button,{value:"small"},"Small")),l.a.createElement("br",null),l.a.createElement("br",null),l.a.createElement(o["Q"],{size:a,defaultValue:"a1",onChange:u,style:{width:200}},i),l.a.createElement("br",null),l.a.createElement(o["Q"],{mode:"multiple",size:a,placeholder:"Please select",defaultValue:["a10","c12"],onChange:u,style:{width:"100%"}},i),l.a.createElement("br",null),l.a.createElement(o["Q"],{mode:"tags",size:a,placeholder:"Please select",defaultValue:["a10","c12"],onChange:u,style:{width:"100%"}},i))};t["default"]=s},SGGB:function(e,t,a){"use strict";a.r(t);for(var n=a("0Owb"),r=a("tJVT"),l=a("q1tI"),o=a.n(l),c=a("m/eG"),i=[],u=10;u<36;u++){var s=u.toString(36)+u;i.push({label:"Long Label: ".concat(s),value:s})}var d=()=>{var e=o.a.useState(["a10","c12","h17","j19","k20"]),t=Object(r["a"])(e,2),a=t[0],l=t[1],u={mode:"multiple",style:{width:"100%"},value:a,options:i,onChange:e=>{l(e)},placeholder:"Select Item...",maxTagCount:"responsive"};return o.a.createElement(c["T"],{direction:"vertical",style:{width:"100%"}},o.a.createElement(c["Q"],u),o.a.createElement(c["Q"],Object(n["a"])({},u,{disabled:!0})))};t["default"]=d},WRqG:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>{var e=e=>{console.log(e)};return r.a.createElement(l["Q"],{labelInValue:!0,defaultValue:{value:"lucy"},style:{width:120},onChange:e},r.a.createElement(o,{value:"jack"},"Jack (100)"),r.a.createElement(o,{value:"lucy"},"Lucy (101)"))};t["default"]=c},Z6NO:function(e,t,a){"use strict";a.r(t);for(var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=[],i=10;i<36;i++)c.push(r.a.createElement(o,{value:i.toString(36)+i,key:i.toString(36)+i},i.toString(36)+i));var u=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(l["Q"],{mode:"tags",style:{width:"100%"},onChange:e,tokenSeparators:[","]},c)};t["default"]=u},"biW+":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>r.a.createElement(l["Q"],{showSearch:!0,style:{width:200},placeholder:"Search to Select",optionFilterProp:"children",filterOption:(e,t)=>t.children.toLowerCase().indexOf(e.toLowerCase())>=0,filterSort:(e,t)=>e.children.toLowerCase().localeCompare(t.children.toLowerCase())},r.a.createElement(o,{value:"1"},"Not Identified"),r.a.createElement(o,{value:"2"},"Closed"),r.a.createElement(o,{value:"3"},"Communicated"),r.a.createElement(o,{value:"4"},"Identified"),r.a.createElement(o,{value:"5"},"Resolved"),r.a.createElement(o,{value:"6"},"Cancelled"));t["default"]=c},cBlq:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),r=a("q1tI"),l=a.n(r),o=a("m/eG"),c=a("xvlK"),i=o["Q"].Option,u=0,s=()=>{var e=Object(r["useState"])(["jack","lucy"]),t=Object(n["a"])(e,2),a=t[0],s=t[1],d=Object(r["useState"])(""),m=Object(n["a"])(d,2),p=m[0],f=m[1],v=e=>{f(e.target.value)},h=()=>{s([...a,p||"New item ".concat(u++)]),f("")};return l.a.createElement(o["Q"],{style:{width:240},placeholder:"custom dropdown render",dropdownRender:e=>l.a.createElement("div",null,e,l.a.createElement(o["u"],{style:{margin:"4px 0"}}),l.a.createElement("div",{style:{display:"flex",flexWrap:"nowrap",padding:8}},l.a.createElement(o["A"],{style:{flex:"auto"},value:p,onChange:v}),l.a.createElement("a",{style:{flex:"none",padding:"8px",display:"block",cursor:"pointer"},onClick:h},l.a.createElement(c["a"],null)," Add item")))},a.map((e=>l.a.createElement(i,{value:e,key:e},e))))};t["default"]=s},"cUy+":function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>{var e=e=>{console.log("selected ".concat(e))},t=()=>{console.log("blur")},a=()=>{console.log("focus")},n=e=>{console.log("search:",e)};return r.a.createElement(l["Q"],{showSearch:!0,style:{width:200},placeholder:"Select a person",optionFilterProp:"children",onChange:e,onFocus:a,onBlur:t,onSearch:n,filterOption:(e,t)=>t.children.toLowerCase().indexOf(e.toLowerCase())>=0},r.a.createElement(o,{value:"jack"},"Jack"),r.a.createElement(o,{value:"lucy"},"Lucy"),r.a.createElement(o,{value:"tom"},"Tom"))};t["default"]=c},fBEp:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(l["Q"],{mode:"multiple",style:{width:"100%"},placeholder:"select one country",defaultValue:["china"],onChange:e,optionLabelProp:"label"},r.a.createElement(o,{value:"china",label:"China"},r.a.createElement("div",{className:"demo-option-label-item"},r.a.createElement("span",{role:"img","aria-label":"China"},"\ud83c\udde8\ud83c\uddf3"),"China (\u4e2d\u56fd)")),r.a.createElement(o,{value:"usa",label:"USA"},r.a.createElement("div",{className:"demo-option-label-item"},r.a.createElement("span",{role:"img","aria-label":"USA"},"\ud83c\uddfa\ud83c\uddf8"),"USA (\u7f8e\u56fd)")),r.a.createElement(o,{value:"japan",label:"Japan"},r.a.createElement("div",{className:"demo-option-label-item"},r.a.createElement("span",{role:"img","aria-label":"Japan"},"\ud83c\uddef\ud83c\uddf5"),"Japan (\u65e5\u672c)")),r.a.createElement(o,{value:"korea",label:"Korea"},r.a.createElement("div",{className:"demo-option-label-item"},r.a.createElement("span",{role:"img","aria-label":"Korea"},"\ud83c\uddf0\ud83c\uddf7"),"Korea (\u97e9\u56fd)")))};t["default"]=c},g3oB:function(e,t,a){"use strict";a.r(t);var n=a("9og8"),r=a("0Owb"),l=a("tJVT"),o=a("PpiC"),c=a("WmNS"),i=a.n(c),u=a("q1tI"),s=a.n(u),d=a("m/eG"),m=a("sEfC"),p=a.n(m);function f(e){var t=e.fetchOptions,a=e.debounceTimeout,n=void 0===a?800:a,c=Object(o["a"])(e,["fetchOptions","debounceTimeout"]),i=s.a.useState(!1),u=Object(l["a"])(i,2),m=u[0],f=u[1],v=s.a.useState([]),h=Object(l["a"])(v,2),g=h[0],y=h[1],b=s.a.useRef(0),E=s.a.useMemo((()=>{var e=e=>{b.current+=1;var a=b.current;y([]),f(!0),t(e).then((e=>{a===b.current&&(y(e),f(!1))}))};return p()(e,n)}),[t,n]);return s.a.createElement(d["Q"],Object(r["a"])({labelInValue:!0,filterOption:!1,onSearch:E,notFoundContent:m?s.a.createElement(d["U"],{size:"small"}):null},c,{options:g}))}function v(e){return h.apply(this,arguments)}function h(){return h=Object(n["a"])(i.a.mark((function e(t){return i.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return console.log("fetching user",t),e.abrupt("return",fetch("https://randomuser.me/api/?results=5").then((e=>e.json())).then((e=>e.results.map((e=>({label:"".concat(e.name.first," ").concat(e.name.last),value:e.login.username}))))));case 2:case"end":return e.stop()}}),e)}))),h.apply(this,arguments)}var g=()=>{var e=Object(u["useState"])([]),t=Object(l["a"])(e,2),a=t[0],n=t[1];return s.a.createElement(f,{mode:"multiple",value:a,placeholder:"Select users",fetchOptions:v,onChange:e=>{n(e)},style:{width:"100%"}})};t["default"]=g},gO0H:function(e,t,a){"use strict";a.r(t);var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(r.a.Fragment,null,r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},onChange:e},r.a.createElement(o,{value:"jack"},"Jack"),r.a.createElement(o,{value:"lucy"},"Lucy"),r.a.createElement(o,{value:"disabled",disabled:!0},"Disabled"),r.a.createElement(o,{value:"Yiminghe"},"yiminghe")),r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},disabled:!0},r.a.createElement(o,{value:"lucy"},"Lucy")),r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},loading:!0},r.a.createElement(o,{value:"lucy"},"Lucy")),r.a.createElement(l["Q"],{defaultValue:"lucy",style:{width:120},allowClear:!0},r.a.createElement(o,{value:"lucy"},"Lucy")))};t["default"]=c},gUB6:function(e,t,a){"use strict";a.r(t);var n,r,l=a("tJVT"),o=a("q1tI"),c=a.n(o),i=a("m/eG"),u=a("2HEe"),s=a.n(u),d=a("s4NR"),m=a.n(d),p=i["Q"].Option;function f(e,t){function a(){var a=m.a.encode({code:"utf-8",q:e});s()("https://suggest.taobao.com/sug?".concat(a)).then((e=>e.json())).then((a=>{if(r===e){var n=a.result,l=[];n.forEach((e=>{l.push({value:e[0],text:e[0]})})),t(l)}}))}n&&(clearTimeout(n),n=null),r=e,n=setTimeout(a,300)}var v=()=>{var e=Object(o["useState"])([]),t=Object(l["a"])(e,2),a=t[0],n=t[1],r=Object(o["useState"])(),u=Object(l["a"])(r,2),s=u[0],d=u[1],m=e=>{e?f(e,(e=>n(e))):n([])},v=e=>{d(e)},h=null===a||void 0===a?void 0:a.map((e=>c.a.createElement(p,{value:e.value,key:e.value},e.text)));return c.a.createElement(i["Q"],{showSearch:!0,value:s,placeholder:"input search text",style:{width:200},defaultActiveFirstOption:!1,showArrow:!1,filterOption:!1,onSearch:m,onChange:v,notFoundContent:null},h)};t["default"]=v},kd2E:function(e,t,a){"use strict";function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,a,l){t=t||"&",a=a||"=";var o={};if("string"!==typeof e||0===e.length)return o;var c=/\+/g;e=e.split(t);var i=1e3;l&&"number"===typeof l.maxKeys&&(i=l.maxKeys);var u=e.length;i>0&&u>i&&(u=i);for(var s=0;s<u;++s){var d,m,p,f,v=e[s].replace(c,"%20"),h=v.indexOf(a);h>=0?(d=v.substr(0,h),m=v.substr(h+1)):(d=v,m=""),p=decodeURIComponent(d),f=decodeURIComponent(m),n(o,p)?r(o[p])?o[p].push(f):o[p]=[o[p],f]:o[p]=f}return o};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},kmS0:function(e,t,a){"use strict";a.r(t);for(var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=[],i=10;i<36;i++)c.push(r.a.createElement(o,{value:i.toString(36)+i,key:i.toString(36)+i},i.toString(36)+i));var u=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(r.a.Fragment,null,r.a.createElement(l["Q"],{mode:"multiple",allowClear:!0,style:{width:"100%"},placeholder:"Please select",defaultValue:["a10","c12"],onChange:e},c),r.a.createElement("br",null),r.a.createElement(l["Q"],{mode:"multiple",disabled:!0,style:{width:"100%"},placeholder:"Please select",defaultValue:["a10","c12"],onChange:e},c))};t["default"]=u},pYM3:function(e,t,a){"use strict";a.r(t);var n=a("tJVT"),r=a("q1tI"),l=a.n(r),o=a("m/eG"),c=o["Q"].Option,i=["Zhejiang","Jiangsu"],u={Zhejiang:["Hangzhou","Ningbo","Wenzhou"],Jiangsu:["Nanjing","Suzhou","Zhenjiang"]},s=()=>{var e=l.a.useState(u[i[0]]),t=Object(n["a"])(e,2),a=t[0],r=t[1],s=l.a.useState(u[i[0]][0]),d=Object(n["a"])(s,2),m=d[0],p=d[1],f=e=>{r(u[e]),p(u[e][0])},v=e=>{p(e)};return l.a.createElement(l.a.Fragment,null,l.a.createElement(o["Q"],{defaultValue:i[0],style:{width:120},onChange:f},i.map((e=>l.a.createElement(c,{value:e,key:e},e)))),l.a.createElement(o["Q"],{style:{width:120},value:m,onChange:v},a.map((e=>l.a.createElement(c,{value:e,key:e},e)))))};t["default"]=s},s4NR:function(e,t,a){"use strict";t.decode=t.parse=a("kd2E"),t.encode=t.stringify=a("4JlD")},xvlK:function(e,t,a){"use strict";var n=a("VTBJ"),r=a("q1tI"),l={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},o=l,c=a("6VBw"),i=function(e,t){return r["createElement"](c["a"],Object(n["a"])(Object(n["a"])({},e),{},{ref:t,icon:o}))};i.displayName="PlusOutlined";t["a"]=r["forwardRef"](i)},yWSA:function(e,t,a){"use strict";a.r(t);for(var n=a("q1tI"),r=a.n(n),l=a("m/eG"),o=l["Q"].Option,c=[],i=10;i<36;i++)c.push(r.a.createElement(o,{value:i.toString(36)+i,key:i.toString(36)+i},i.toString(36)+i));var u=()=>{var e=e=>{console.log("selected ".concat(e))};return r.a.createElement(l["Q"],{mode:"tags",style:{width:"100%"},placeholder:"Tags Mode",onChange:e},c)};t["default"]=u}}]);
|
1
|
+
(window['webpackJsonp'] = window['webpackJsonp'] || []).push([
|
2
|
+
[116],
|
3
|
+
{
|
4
|
+
'2HEe': function (e, t, a) {
|
5
|
+
var n, r, l;
|
6
|
+
(function (a, o) {
|
7
|
+
(r = [t, e]),
|
8
|
+
(n = o),
|
9
|
+
(l = 'function' === typeof n ? n.apply(t, r) : n),
|
10
|
+
void 0 === l || (e.exports = l);
|
11
|
+
})(0, function (e, t) {
|
12
|
+
'use strict';
|
13
|
+
var a = {
|
14
|
+
timeout: 5e3,
|
15
|
+
jsonpCallback: 'callback',
|
16
|
+
jsonpCallbackFunction: null,
|
17
|
+
};
|
18
|
+
function n() {
|
19
|
+
return 'jsonp_' + Date.now() + '_' + Math.ceil(1e5 * Math.random());
|
20
|
+
}
|
21
|
+
function r(e) {
|
22
|
+
try {
|
23
|
+
delete window[e];
|
24
|
+
} catch (t) {
|
25
|
+
window[e] = void 0;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
function l(e) {
|
29
|
+
var t = document.getElementById(e);
|
30
|
+
t && document.getElementsByTagName('head')[0].removeChild(t);
|
31
|
+
}
|
32
|
+
function o(e) {
|
33
|
+
var t =
|
34
|
+
arguments.length <= 1 || void 0 === arguments[1]
|
35
|
+
? {}
|
36
|
+
: arguments[1],
|
37
|
+
o = e,
|
38
|
+
c = t.timeout || a.timeout,
|
39
|
+
i = t.jsonpCallback || a.jsonpCallback,
|
40
|
+
u = void 0;
|
41
|
+
return new Promise(function (a, s) {
|
42
|
+
var d = t.jsonpCallbackFunction || n(),
|
43
|
+
m = i + '_' + d;
|
44
|
+
(window[d] = function (e) {
|
45
|
+
a({
|
46
|
+
ok: !0,
|
47
|
+
json: function () {
|
48
|
+
return Promise.resolve(e);
|
49
|
+
},
|
50
|
+
}),
|
51
|
+
u && clearTimeout(u),
|
52
|
+
l(m),
|
53
|
+
r(d);
|
54
|
+
}),
|
55
|
+
(o += -1 === o.indexOf('?') ? '?' : '&');
|
56
|
+
var p = document.createElement('script');
|
57
|
+
p.setAttribute('src', '' + o + i + '=' + d),
|
58
|
+
t.charset && p.setAttribute('charset', t.charset),
|
59
|
+
t.nonce && p.setAttribute('nonce', t.nonce),
|
60
|
+
t.referrerPolicy &&
|
61
|
+
p.setAttribute('referrerPolicy', t.referrerPolicy),
|
62
|
+
(p.id = m),
|
63
|
+
document.getElementsByTagName('head')[0].appendChild(p),
|
64
|
+
(u = setTimeout(function () {
|
65
|
+
s(new Error('JSONP request to ' + e + ' timed out')),
|
66
|
+
r(d),
|
67
|
+
l(m),
|
68
|
+
(window[d] = function () {
|
69
|
+
r(d);
|
70
|
+
});
|
71
|
+
}, c)),
|
72
|
+
(p.onerror = function () {
|
73
|
+
s(new Error('JSONP request to ' + e + ' failed')),
|
74
|
+
r(d),
|
75
|
+
l(m),
|
76
|
+
u && clearTimeout(u);
|
77
|
+
});
|
78
|
+
});
|
79
|
+
}
|
80
|
+
t.exports = o;
|
81
|
+
});
|
82
|
+
},
|
83
|
+
'4JlD': function (e, t, a) {
|
84
|
+
'use strict';
|
85
|
+
var n = function (e) {
|
86
|
+
switch (typeof e) {
|
87
|
+
case 'string':
|
88
|
+
return e;
|
89
|
+
case 'boolean':
|
90
|
+
return e ? 'true' : 'false';
|
91
|
+
case 'number':
|
92
|
+
return isFinite(e) ? e : '';
|
93
|
+
default:
|
94
|
+
return '';
|
95
|
+
}
|
96
|
+
};
|
97
|
+
e.exports = function (e, t, a, c) {
|
98
|
+
return (
|
99
|
+
(t = t || '&'),
|
100
|
+
(a = a || '='),
|
101
|
+
null === e && (e = void 0),
|
102
|
+
'object' === typeof e
|
103
|
+
? l(o(e), function (o) {
|
104
|
+
var c = encodeURIComponent(n(o)) + a;
|
105
|
+
return r(e[o])
|
106
|
+
? l(e[o], function (e) {
|
107
|
+
return c + encodeURIComponent(n(e));
|
108
|
+
}).join(t)
|
109
|
+
: c + encodeURIComponent(n(e[o]));
|
110
|
+
}).join(t)
|
111
|
+
: c
|
112
|
+
? encodeURIComponent(n(c)) + a + encodeURIComponent(n(e))
|
113
|
+
: ''
|
114
|
+
);
|
115
|
+
};
|
116
|
+
var r =
|
117
|
+
Array.isArray ||
|
118
|
+
function (e) {
|
119
|
+
return '[object Array]' === Object.prototype.toString.call(e);
|
120
|
+
};
|
121
|
+
function l(e, t) {
|
122
|
+
if (e.map) return e.map(t);
|
123
|
+
for (var a = [], n = 0; n < e.length; n++) a.push(t(e[n], n));
|
124
|
+
return a;
|
125
|
+
}
|
126
|
+
var o =
|
127
|
+
Object.keys ||
|
128
|
+
function (e) {
|
129
|
+
var t = [];
|
130
|
+
for (var a in e)
|
131
|
+
Object.prototype.hasOwnProperty.call(e, a) && t.push(a);
|
132
|
+
return t;
|
133
|
+
};
|
134
|
+
},
|
135
|
+
'5hpm': function (e, t, a) {
|
136
|
+
'use strict';
|
137
|
+
a.r(t);
|
138
|
+
for (
|
139
|
+
var n = a('q1tI'),
|
140
|
+
r = a.n(n),
|
141
|
+
l = a('m/eG'),
|
142
|
+
o = l['hb'].Title,
|
143
|
+
c = [],
|
144
|
+
i = 0;
|
145
|
+
i < 1e5;
|
146
|
+
i++
|
147
|
+
) {
|
148
|
+
var u = ''.concat(i.toString(36)).concat(i);
|
149
|
+
c.push({ value: u, disabled: 10 === i });
|
150
|
+
}
|
151
|
+
function s(e) {
|
152
|
+
console.log('selected '.concat(e));
|
153
|
+
}
|
154
|
+
var d = () =>
|
155
|
+
r.a.createElement(
|
156
|
+
r.a.Fragment,
|
157
|
+
null,
|
158
|
+
r.a.createElement(o, { level: 3 }, 'Ant Design 4.0'),
|
159
|
+
r.a.createElement(o, { level: 4 }, c.length, ' Items'),
|
160
|
+
r.a.createElement(l['Q'], {
|
161
|
+
mode: 'multiple',
|
162
|
+
style: { width: '100%' },
|
163
|
+
placeholder: 'Please select',
|
164
|
+
defaultValue: ['a10', 'c12'],
|
165
|
+
onChange: s,
|
166
|
+
options: c,
|
167
|
+
}),
|
168
|
+
r.a.createElement(l['u'], null),
|
169
|
+
r.a.createElement(o, { level: 3 }, 'Ant Design 3.0'),
|
170
|
+
r.a.createElement('iframe', {
|
171
|
+
title: 'Ant Design 3.0 Select demo',
|
172
|
+
src: 'https://codesandbox.io/embed/solitary-voice-m3vme?fontsize=14&hidenavigation=1&theme=dark&view=preview',
|
173
|
+
style: { width: '100%', height: 300 },
|
174
|
+
}),
|
175
|
+
);
|
176
|
+
t['default'] = d;
|
177
|
+
},
|
178
|
+
'6VBw': function (e, t, a) {
|
179
|
+
'use strict';
|
180
|
+
var n = a('VTBJ'),
|
181
|
+
r = a('ODXe'),
|
182
|
+
l = a('rePB'),
|
183
|
+
o = a('Ff2n'),
|
184
|
+
c = a('q1tI'),
|
185
|
+
i = a.n(c),
|
186
|
+
u = a('TSYQ'),
|
187
|
+
s = a.n(u),
|
188
|
+
d = Object(c['createContext'])({}),
|
189
|
+
m = d,
|
190
|
+
p = a('U8pU'),
|
191
|
+
f = a('AJpP'),
|
192
|
+
v = a('Kwbf'),
|
193
|
+
h = a('MNnm'),
|
194
|
+
g = 'rc-util-key';
|
195
|
+
function y(e) {
|
196
|
+
if (e.attachTo) return e.attachTo;
|
197
|
+
var t = document.querySelector('head');
|
198
|
+
return t || document.body;
|
199
|
+
}
|
200
|
+
function b(e) {
|
201
|
+
var t,
|
202
|
+
a =
|
203
|
+
arguments.length > 1 && void 0 !== arguments[1] ? arguments[1] : {};
|
204
|
+
if (!Object(h['a'])()) return null;
|
205
|
+
var n,
|
206
|
+
r = document.createElement('style');
|
207
|
+
(null === (t = a.csp) || void 0 === t ? void 0 : t.nonce) &&
|
208
|
+
(r.nonce = null === (n = a.csp) || void 0 === n ? void 0 : n.nonce);
|
209
|
+
r.innerHTML = e;
|
210
|
+
var l = y(a),
|
211
|
+
o = l.firstChild;
|
212
|
+
return (
|
213
|
+
a.prepend && l.prepend
|
214
|
+
? l.prepend(r)
|
215
|
+
: a.prepend && o
|
216
|
+
? l.insertBefore(r, o)
|
217
|
+
: l.appendChild(r),
|
218
|
+
r
|
219
|
+
);
|
220
|
+
}
|
221
|
+
var E = new Map();
|
222
|
+
function C(e, t) {
|
223
|
+
var a =
|
224
|
+
arguments.length > 2 && void 0 !== arguments[2] ? arguments[2] : {},
|
225
|
+
n = y(a);
|
226
|
+
if (!E.has(n)) {
|
227
|
+
var r = b('', a),
|
228
|
+
l = r.parentNode;
|
229
|
+
E.set(n, l), l.removeChild(r);
|
230
|
+
}
|
231
|
+
var o = Array.from(E.get(n).children).find(function (e) {
|
232
|
+
return 'STYLE' === e.tagName && e[g] === t;
|
233
|
+
});
|
234
|
+
if (o) {
|
235
|
+
var c, i, u;
|
236
|
+
if (
|
237
|
+
(null === (c = a.csp) || void 0 === c ? void 0 : c.nonce) &&
|
238
|
+
o.nonce !==
|
239
|
+
(null === (i = a.csp) || void 0 === i ? void 0 : i.nonce)
|
240
|
+
)
|
241
|
+
o.nonce = null === (u = a.csp) || void 0 === u ? void 0 : u.nonce;
|
242
|
+
return o.innerHTML !== e && (o.innerHTML = e), o;
|
243
|
+
}
|
244
|
+
var s = b(e, a);
|
245
|
+
return (s[g] = t), s;
|
246
|
+
}
|
247
|
+
function w(e, t) {
|
248
|
+
Object(v['a'])(e, '[@ant-design/icons] '.concat(t));
|
249
|
+
}
|
250
|
+
function O(e) {
|
251
|
+
return (
|
252
|
+
'object' === Object(p['a'])(e) &&
|
253
|
+
'string' === typeof e.name &&
|
254
|
+
'string' === typeof e.theme &&
|
255
|
+
('object' === Object(p['a'])(e.icon) || 'function' === typeof e.icon)
|
256
|
+
);
|
257
|
+
}
|
258
|
+
function j() {
|
259
|
+
var e =
|
260
|
+
arguments.length > 0 && void 0 !== arguments[0] ? arguments[0] : {};
|
261
|
+
return Object.keys(e).reduce(function (t, a) {
|
262
|
+
var n = e[a];
|
263
|
+
switch (a) {
|
264
|
+
case 'class':
|
265
|
+
(t.className = n), delete t.class;
|
266
|
+
break;
|
267
|
+
default:
|
268
|
+
t[a] = n;
|
269
|
+
}
|
270
|
+
return t;
|
271
|
+
}, {});
|
272
|
+
}
|
273
|
+
function k(e, t, a) {
|
274
|
+
return a
|
275
|
+
? i.a.createElement(
|
276
|
+
e.tag,
|
277
|
+
Object(n['a'])(Object(n['a'])({ key: t }, j(e.attrs)), a),
|
278
|
+
(e.children || []).map(function (a, n) {
|
279
|
+
return k(a, ''.concat(t, '-').concat(e.tag, '-').concat(n));
|
280
|
+
}),
|
281
|
+
)
|
282
|
+
: i.a.createElement(
|
283
|
+
e.tag,
|
284
|
+
Object(n['a'])({ key: t }, j(e.attrs)),
|
285
|
+
(e.children || []).map(function (a, n) {
|
286
|
+
return k(a, ''.concat(t, '-').concat(e.tag, '-').concat(n));
|
287
|
+
}),
|
288
|
+
);
|
289
|
+
}
|
290
|
+
function S(e) {
|
291
|
+
return Object(f['generate'])(e)[0];
|
292
|
+
}
|
293
|
+
function T(e) {
|
294
|
+
return e ? (Array.isArray(e) ? e : [e]) : [];
|
295
|
+
}
|
296
|
+
var Q =
|
297
|
+
'\n.anticon {\n display: inline-block;\n color: inherit;\n font-style: normal;\n line-height: 0;\n text-align: center;\n text-transform: none;\n vertical-align: -0.125em;\n text-rendering: optimizeLegibility;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.anticon > * {\n line-height: 1;\n}\n\n.anticon svg {\n display: inline-block;\n}\n\n.anticon::before {\n display: none;\n}\n\n.anticon .anticon-icon {\n display: block;\n}\n\n.anticon[tabindex] {\n cursor: pointer;\n}\n\n.anticon-spin::before,\n.anticon-spin {\n display: inline-block;\n -webkit-animation: loadingCircle 1s infinite linear;\n animation: loadingCircle 1s infinite linear;\n}\n\n@-webkit-keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n\n@keyframes loadingCircle {\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n}\n',
|
298
|
+
I = function () {
|
299
|
+
var e =
|
300
|
+
arguments.length > 0 && void 0 !== arguments[0]
|
301
|
+
? arguments[0]
|
302
|
+
: Q,
|
303
|
+
t = Object(c['useContext'])(m),
|
304
|
+
a = t.csp;
|
305
|
+
Object(c['useEffect'])(function () {
|
306
|
+
C(e, '@ant-design-icons', { prepend: !0, csp: a });
|
307
|
+
}, []);
|
308
|
+
},
|
309
|
+
x = [
|
310
|
+
'icon',
|
311
|
+
'className',
|
312
|
+
'onClick',
|
313
|
+
'style',
|
314
|
+
'primaryColor',
|
315
|
+
'secondaryColor',
|
316
|
+
],
|
317
|
+
q = { primaryColor: '#333', secondaryColor: '#E6E6E6', calculated: !1 };
|
318
|
+
function V(e) {
|
319
|
+
var t = e.primaryColor,
|
320
|
+
a = e.secondaryColor;
|
321
|
+
(q.primaryColor = t),
|
322
|
+
(q.secondaryColor = a || S(t)),
|
323
|
+
(q.calculated = !!a);
|
324
|
+
}
|
325
|
+
function N() {
|
326
|
+
return Object(n['a'])({}, q);
|
327
|
+
}
|
328
|
+
var A = function (e) {
|
329
|
+
var t = e.icon,
|
330
|
+
a = e.className,
|
331
|
+
r = e.onClick,
|
332
|
+
l = e.style,
|
333
|
+
c = e.primaryColor,
|
334
|
+
i = e.secondaryColor,
|
335
|
+
u = Object(o['a'])(e, x),
|
336
|
+
s = q;
|
337
|
+
if (
|
338
|
+
(c && (s = { primaryColor: c, secondaryColor: i || S(c) }),
|
339
|
+
I(),
|
340
|
+
w(O(t), 'icon should be icon definiton, but got '.concat(t)),
|
341
|
+
!O(t))
|
342
|
+
)
|
343
|
+
return null;
|
344
|
+
var d = t;
|
345
|
+
return (
|
346
|
+
d &&
|
347
|
+
'function' === typeof d.icon &&
|
348
|
+
(d = Object(n['a'])(
|
349
|
+
Object(n['a'])({}, d),
|
350
|
+
{},
|
351
|
+
{ icon: d.icon(s.primaryColor, s.secondaryColor) },
|
352
|
+
)),
|
353
|
+
k(
|
354
|
+
d.icon,
|
355
|
+
'svg-'.concat(d.name),
|
356
|
+
Object(n['a'])(
|
357
|
+
{
|
358
|
+
className: a,
|
359
|
+
onClick: r,
|
360
|
+
style: l,
|
361
|
+
'data-icon': d.name,
|
362
|
+
width: '1em',
|
363
|
+
height: '1em',
|
364
|
+
fill: 'currentColor',
|
365
|
+
'aria-hidden': 'true',
|
366
|
+
},
|
367
|
+
u,
|
368
|
+
),
|
369
|
+
)
|
370
|
+
);
|
371
|
+
};
|
372
|
+
(A.displayName = 'IconReact'),
|
373
|
+
(A.getTwoToneColors = N),
|
374
|
+
(A.setTwoToneColors = V);
|
375
|
+
var J = A;
|
376
|
+
function L(e) {
|
377
|
+
var t = T(e),
|
378
|
+
a = Object(r['a'])(t, 2),
|
379
|
+
n = a[0],
|
380
|
+
l = a[1];
|
381
|
+
return J.setTwoToneColors({ primaryColor: n, secondaryColor: l });
|
382
|
+
}
|
383
|
+
function G() {
|
384
|
+
var e = J.getTwoToneColors();
|
385
|
+
return e.calculated
|
386
|
+
? [e.primaryColor, e.secondaryColor]
|
387
|
+
: e.primaryColor;
|
388
|
+
}
|
389
|
+
var P = [
|
390
|
+
'className',
|
391
|
+
'icon',
|
392
|
+
'spin',
|
393
|
+
'rotate',
|
394
|
+
'tabIndex',
|
395
|
+
'onClick',
|
396
|
+
'twoToneColor',
|
397
|
+
];
|
398
|
+
L('#1890ff');
|
399
|
+
var B = c['forwardRef'](function (e, t) {
|
400
|
+
var a,
|
401
|
+
i = e.className,
|
402
|
+
u = e.icon,
|
403
|
+
d = e.spin,
|
404
|
+
p = e.rotate,
|
405
|
+
f = e.tabIndex,
|
406
|
+
v = e.onClick,
|
407
|
+
h = e.twoToneColor,
|
408
|
+
g = Object(o['a'])(e, P),
|
409
|
+
y = c['useContext'](m),
|
410
|
+
b = y.prefixCls,
|
411
|
+
E = void 0 === b ? 'anticon' : b,
|
412
|
+
C = s()(
|
413
|
+
E,
|
414
|
+
((a = {}),
|
415
|
+
Object(l['a'])(a, ''.concat(E, '-').concat(u.name), !!u.name),
|
416
|
+
Object(l['a'])(
|
417
|
+
a,
|
418
|
+
''.concat(E, '-spin'),
|
419
|
+
!!d || 'loading' === u.name,
|
420
|
+
),
|
421
|
+
a),
|
422
|
+
i,
|
423
|
+
),
|
424
|
+
w = f;
|
425
|
+
void 0 === w && v && (w = -1);
|
426
|
+
var O = p
|
427
|
+
? {
|
428
|
+
msTransform: 'rotate('.concat(p, 'deg)'),
|
429
|
+
transform: 'rotate('.concat(p, 'deg)'),
|
430
|
+
}
|
431
|
+
: void 0,
|
432
|
+
j = T(h),
|
433
|
+
k = Object(r['a'])(j, 2),
|
434
|
+
S = k[0],
|
435
|
+
Q = k[1];
|
436
|
+
return c['createElement'](
|
437
|
+
'span',
|
438
|
+
Object(n['a'])(
|
439
|
+
Object(n['a'])({ role: 'img', 'aria-label': u.name }, g),
|
440
|
+
{},
|
441
|
+
{ ref: t, tabIndex: w, onClick: v, className: C },
|
442
|
+
),
|
443
|
+
c['createElement'](J, {
|
444
|
+
icon: u,
|
445
|
+
primaryColor: S,
|
446
|
+
secondaryColor: Q,
|
447
|
+
style: O,
|
448
|
+
}),
|
449
|
+
);
|
450
|
+
});
|
451
|
+
(B.displayName = 'AntdIcon'),
|
452
|
+
(B.getTwoToneColor = G),
|
453
|
+
(B.setTwoToneColor = L);
|
454
|
+
t['a'] = B;
|
455
|
+
},
|
456
|
+
'E+m9': function (e, t, a) {
|
457
|
+
'use strict';
|
458
|
+
a.r(t);
|
459
|
+
var n = a('q1tI'),
|
460
|
+
r = a.n(n),
|
461
|
+
l = a('m/eG'),
|
462
|
+
o = l['Q'].Option,
|
463
|
+
c = l['Q'].OptGroup,
|
464
|
+
i = () => {
|
465
|
+
var e = (e) => {
|
466
|
+
console.log('selected '.concat(e));
|
467
|
+
};
|
468
|
+
return r.a.createElement(
|
469
|
+
l['Q'],
|
470
|
+
{ defaultValue: 'lucy', style: { width: 200 }, onChange: e },
|
471
|
+
r.a.createElement(
|
472
|
+
c,
|
473
|
+
{ label: 'Manager' },
|
474
|
+
r.a.createElement(o, { value: 'jack' }, 'Jack'),
|
475
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
476
|
+
),
|
477
|
+
r.a.createElement(
|
478
|
+
c,
|
479
|
+
{ label: 'Engineer' },
|
480
|
+
r.a.createElement(o, { value: 'Yiminghe' }, 'yiminghe'),
|
481
|
+
),
|
482
|
+
);
|
483
|
+
};
|
484
|
+
t['default'] = i;
|
485
|
+
},
|
486
|
+
IRFC: function (e, t, a) {
|
487
|
+
'use strict';
|
488
|
+
a.r(t);
|
489
|
+
var n = a('tJVT'),
|
490
|
+
r = a('q1tI'),
|
491
|
+
l = a.n(r),
|
492
|
+
o = a('m/eG'),
|
493
|
+
c = ['Apples', 'Nails', 'Bananas', 'Helicopters'],
|
494
|
+
i = () => {
|
495
|
+
var e = Object(r['useState'])([]),
|
496
|
+
t = Object(n['a'])(e, 2),
|
497
|
+
a = t[0],
|
498
|
+
i = t[1],
|
499
|
+
u = (e) => {
|
500
|
+
i(e);
|
501
|
+
},
|
502
|
+
s = c.filter((e) => !a.includes(e));
|
503
|
+
return l.a.createElement(
|
504
|
+
o['Q'],
|
505
|
+
{
|
506
|
+
mode: 'multiple',
|
507
|
+
placeholder: 'Inserted are removed',
|
508
|
+
value: a,
|
509
|
+
onChange: u,
|
510
|
+
style: { width: '100%' },
|
511
|
+
},
|
512
|
+
s.map((e) =>
|
513
|
+
l.a.createElement(o['Q'].Option, { key: e, value: e }, e),
|
514
|
+
),
|
515
|
+
);
|
516
|
+
};
|
517
|
+
t['default'] = i;
|
518
|
+
},
|
519
|
+
KaX5: function (e, t, a) {
|
520
|
+
'use strict';
|
521
|
+
a.r(t);
|
522
|
+
var n = a('q1tI'),
|
523
|
+
r = a.n(n),
|
524
|
+
l = a('m/eG'),
|
525
|
+
o = l['Q'].Option,
|
526
|
+
c = () =>
|
527
|
+
r.a.createElement(
|
528
|
+
r.a.Fragment,
|
529
|
+
null,
|
530
|
+
r.a.createElement(
|
531
|
+
l['Q'],
|
532
|
+
{ defaultValue: 'lucy', style: { width: 120 }, bordered: !1 },
|
533
|
+
r.a.createElement(o, { value: 'jack' }, 'Jack'),
|
534
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
535
|
+
r.a.createElement(o, { value: 'Yiminghe' }, 'yiminghe'),
|
536
|
+
),
|
537
|
+
r.a.createElement(
|
538
|
+
l['Q'],
|
539
|
+
{
|
540
|
+
defaultValue: 'lucy',
|
541
|
+
style: { width: 120 },
|
542
|
+
disabled: !0,
|
543
|
+
bordered: !1,
|
544
|
+
},
|
545
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
546
|
+
),
|
547
|
+
);
|
548
|
+
t['default'] = c;
|
549
|
+
},
|
550
|
+
RrVk: function (e, t, a) {
|
551
|
+
'use strict';
|
552
|
+
a.r(t);
|
553
|
+
for (
|
554
|
+
var n = a('tJVT'),
|
555
|
+
r = a('q1tI'),
|
556
|
+
l = a.n(r),
|
557
|
+
o = a('m/eG'),
|
558
|
+
c = o['Q'].Option,
|
559
|
+
i = [],
|
560
|
+
u = 10;
|
561
|
+
u < 36;
|
562
|
+
u++
|
563
|
+
)
|
564
|
+
i.push(
|
565
|
+
l.a.createElement(
|
566
|
+
c,
|
567
|
+
{ value: u.toString(36) + u, key: u.toString(36) + u },
|
568
|
+
u.toString(36) + u,
|
569
|
+
),
|
570
|
+
);
|
571
|
+
var s = () => {
|
572
|
+
var e = Object(r['useState'])(void 0),
|
573
|
+
t = Object(n['a'])(e, 2),
|
574
|
+
a = t[0],
|
575
|
+
c = t[1],
|
576
|
+
u = (e) => {
|
577
|
+
console.log('Selected: '.concat(e));
|
578
|
+
},
|
579
|
+
s = (e) => {
|
580
|
+
c(e.target.value);
|
581
|
+
};
|
582
|
+
return l.a.createElement(
|
583
|
+
l.a.Fragment,
|
584
|
+
null,
|
585
|
+
l.a.createElement(
|
586
|
+
o['M'].Group,
|
587
|
+
{ value: a, onChange: s },
|
588
|
+
l.a.createElement(o['M'].Button, { value: 'large' }, 'Large'),
|
589
|
+
l.a.createElement(o['M'].Button, { value: 'default' }, 'Default'),
|
590
|
+
l.a.createElement(o['M'].Button, { value: 'small' }, 'Small'),
|
591
|
+
),
|
592
|
+
l.a.createElement('br', null),
|
593
|
+
l.a.createElement('br', null),
|
594
|
+
l.a.createElement(
|
595
|
+
o['Q'],
|
596
|
+
{ size: a, defaultValue: 'a1', onChange: u, style: { width: 200 } },
|
597
|
+
i,
|
598
|
+
),
|
599
|
+
l.a.createElement('br', null),
|
600
|
+
l.a.createElement(
|
601
|
+
o['Q'],
|
602
|
+
{
|
603
|
+
mode: 'multiple',
|
604
|
+
size: a,
|
605
|
+
placeholder: 'Please select',
|
606
|
+
defaultValue: ['a10', 'c12'],
|
607
|
+
onChange: u,
|
608
|
+
style: { width: '100%' },
|
609
|
+
},
|
610
|
+
i,
|
611
|
+
),
|
612
|
+
l.a.createElement('br', null),
|
613
|
+
l.a.createElement(
|
614
|
+
o['Q'],
|
615
|
+
{
|
616
|
+
mode: 'tags',
|
617
|
+
size: a,
|
618
|
+
placeholder: 'Please select',
|
619
|
+
defaultValue: ['a10', 'c12'],
|
620
|
+
onChange: u,
|
621
|
+
style: { width: '100%' },
|
622
|
+
},
|
623
|
+
i,
|
624
|
+
),
|
625
|
+
);
|
626
|
+
};
|
627
|
+
t['default'] = s;
|
628
|
+
},
|
629
|
+
SGGB: function (e, t, a) {
|
630
|
+
'use strict';
|
631
|
+
a.r(t);
|
632
|
+
for (
|
633
|
+
var n = a('0Owb'),
|
634
|
+
r = a('tJVT'),
|
635
|
+
l = a('q1tI'),
|
636
|
+
o = a.n(l),
|
637
|
+
c = a('m/eG'),
|
638
|
+
i = [],
|
639
|
+
u = 10;
|
640
|
+
u < 36;
|
641
|
+
u++
|
642
|
+
) {
|
643
|
+
var s = u.toString(36) + u;
|
644
|
+
i.push({ label: 'Long Label: '.concat(s), value: s });
|
645
|
+
}
|
646
|
+
var d = () => {
|
647
|
+
var e = o.a.useState(['a10', 'c12', 'h17', 'j19', 'k20']),
|
648
|
+
t = Object(r['a'])(e, 2),
|
649
|
+
a = t[0],
|
650
|
+
l = t[1],
|
651
|
+
u = {
|
652
|
+
mode: 'multiple',
|
653
|
+
style: { width: '100%' },
|
654
|
+
value: a,
|
655
|
+
options: i,
|
656
|
+
onChange: (e) => {
|
657
|
+
l(e);
|
658
|
+
},
|
659
|
+
placeholder: 'Select Item...',
|
660
|
+
maxTagCount: 'responsive',
|
661
|
+
};
|
662
|
+
return o.a.createElement(
|
663
|
+
c['T'],
|
664
|
+
{ direction: 'vertical', style: { width: '100%' } },
|
665
|
+
o.a.createElement(c['Q'], u),
|
666
|
+
o.a.createElement(c['Q'], Object(n['a'])({}, u, { disabled: !0 })),
|
667
|
+
);
|
668
|
+
};
|
669
|
+
t['default'] = d;
|
670
|
+
},
|
671
|
+
WRqG: function (e, t, a) {
|
672
|
+
'use strict';
|
673
|
+
a.r(t);
|
674
|
+
var n = a('q1tI'),
|
675
|
+
r = a.n(n),
|
676
|
+
l = a('m/eG'),
|
677
|
+
o = l['Q'].Option,
|
678
|
+
c = () => {
|
679
|
+
var e = (e) => {
|
680
|
+
console.log(e);
|
681
|
+
};
|
682
|
+
return r.a.createElement(
|
683
|
+
l['Q'],
|
684
|
+
{
|
685
|
+
labelInValue: !0,
|
686
|
+
defaultValue: { value: 'lucy' },
|
687
|
+
style: { width: 120 },
|
688
|
+
onChange: e,
|
689
|
+
},
|
690
|
+
r.a.createElement(o, { value: 'jack' }, 'Jack (100)'),
|
691
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy (101)'),
|
692
|
+
);
|
693
|
+
};
|
694
|
+
t['default'] = c;
|
695
|
+
},
|
696
|
+
Z6NO: function (e, t, a) {
|
697
|
+
'use strict';
|
698
|
+
a.r(t);
|
699
|
+
for (
|
700
|
+
var n = a('q1tI'),
|
701
|
+
r = a.n(n),
|
702
|
+
l = a('m/eG'),
|
703
|
+
o = l['Q'].Option,
|
704
|
+
c = [],
|
705
|
+
i = 10;
|
706
|
+
i < 36;
|
707
|
+
i++
|
708
|
+
)
|
709
|
+
c.push(
|
710
|
+
r.a.createElement(
|
711
|
+
o,
|
712
|
+
{ value: i.toString(36) + i, key: i.toString(36) + i },
|
713
|
+
i.toString(36) + i,
|
714
|
+
),
|
715
|
+
);
|
716
|
+
var u = () => {
|
717
|
+
var e = (e) => {
|
718
|
+
console.log('selected '.concat(e));
|
719
|
+
};
|
720
|
+
return r.a.createElement(
|
721
|
+
l['Q'],
|
722
|
+
{
|
723
|
+
mode: 'tags',
|
724
|
+
style: { width: '100%' },
|
725
|
+
onChange: e,
|
726
|
+
tokenSeparators: [','],
|
727
|
+
},
|
728
|
+
c,
|
729
|
+
);
|
730
|
+
};
|
731
|
+
t['default'] = u;
|
732
|
+
},
|
733
|
+
'biW+': function (e, t, a) {
|
734
|
+
'use strict';
|
735
|
+
a.r(t);
|
736
|
+
var n = a('q1tI'),
|
737
|
+
r = a.n(n),
|
738
|
+
l = a('m/eG'),
|
739
|
+
o = l['Q'].Option,
|
740
|
+
c = () =>
|
741
|
+
r.a.createElement(
|
742
|
+
l['Q'],
|
743
|
+
{
|
744
|
+
showSearch: !0,
|
745
|
+
style: { width: 200 },
|
746
|
+
placeholder: 'Search to Select',
|
747
|
+
optionFilterProp: 'children',
|
748
|
+
filterOption: (e, t) =>
|
749
|
+
t.children.toLowerCase().indexOf(e.toLowerCase()) >= 0,
|
750
|
+
filterSort: (e, t) =>
|
751
|
+
e.children
|
752
|
+
.toLowerCase()
|
753
|
+
.localeCompare(t.children.toLowerCase()),
|
754
|
+
},
|
755
|
+
r.a.createElement(o, { value: '1' }, 'Not Identified'),
|
756
|
+
r.a.createElement(o, { value: '2' }, 'Closed'),
|
757
|
+
r.a.createElement(o, { value: '3' }, 'Communicated'),
|
758
|
+
r.a.createElement(o, { value: '4' }, 'Identified'),
|
759
|
+
r.a.createElement(o, { value: '5' }, 'Resolved'),
|
760
|
+
r.a.createElement(o, { value: '6' }, 'Cancelled'),
|
761
|
+
);
|
762
|
+
t['default'] = c;
|
763
|
+
},
|
764
|
+
cBlq: function (e, t, a) {
|
765
|
+
'use strict';
|
766
|
+
a.r(t);
|
767
|
+
var n = a('tJVT'),
|
768
|
+
r = a('q1tI'),
|
769
|
+
l = a.n(r),
|
770
|
+
o = a('m/eG'),
|
771
|
+
c = a('xvlK'),
|
772
|
+
i = o['Q'].Option,
|
773
|
+
u = 0,
|
774
|
+
s = () => {
|
775
|
+
var e = Object(r['useState'])(['jack', 'lucy']),
|
776
|
+
t = Object(n['a'])(e, 2),
|
777
|
+
a = t[0],
|
778
|
+
s = t[1],
|
779
|
+
d = Object(r['useState'])(''),
|
780
|
+
m = Object(n['a'])(d, 2),
|
781
|
+
p = m[0],
|
782
|
+
f = m[1],
|
783
|
+
v = (e) => {
|
784
|
+
f(e.target.value);
|
785
|
+
},
|
786
|
+
h = () => {
|
787
|
+
s([...a, p || 'New item '.concat(u++)]), f('');
|
788
|
+
};
|
789
|
+
return l.a.createElement(
|
790
|
+
o['Q'],
|
791
|
+
{
|
792
|
+
style: { width: 240 },
|
793
|
+
placeholder: 'custom dropdown render',
|
794
|
+
dropdownRender: (e) =>
|
795
|
+
l.a.createElement(
|
796
|
+
'div',
|
797
|
+
null,
|
798
|
+
e,
|
799
|
+
l.a.createElement(o['u'], { style: { margin: '4px 0' } }),
|
800
|
+
l.a.createElement(
|
801
|
+
'div',
|
802
|
+
{
|
803
|
+
style: {
|
804
|
+
display: 'flex',
|
805
|
+
flexWrap: 'nowrap',
|
806
|
+
padding: 8,
|
807
|
+
},
|
808
|
+
},
|
809
|
+
l.a.createElement(o['A'], {
|
810
|
+
style: { flex: 'auto' },
|
811
|
+
value: p,
|
812
|
+
onChange: v,
|
813
|
+
}),
|
814
|
+
l.a.createElement(
|
815
|
+
'a',
|
816
|
+
{
|
817
|
+
style: {
|
818
|
+
flex: 'none',
|
819
|
+
padding: '8px',
|
820
|
+
display: 'block',
|
821
|
+
cursor: 'pointer',
|
822
|
+
},
|
823
|
+
onClick: h,
|
824
|
+
},
|
825
|
+
l.a.createElement(c['a'], null),
|
826
|
+
' Add item',
|
827
|
+
),
|
828
|
+
),
|
829
|
+
),
|
830
|
+
},
|
831
|
+
a.map((e) => l.a.createElement(i, { value: e, key: e }, e)),
|
832
|
+
);
|
833
|
+
};
|
834
|
+
t['default'] = s;
|
835
|
+
},
|
836
|
+
'cUy+': function (e, t, a) {
|
837
|
+
'use strict';
|
838
|
+
a.r(t);
|
839
|
+
var n = a('q1tI'),
|
840
|
+
r = a.n(n),
|
841
|
+
l = a('m/eG'),
|
842
|
+
o = l['Q'].Option,
|
843
|
+
c = () => {
|
844
|
+
var e = (e) => {
|
845
|
+
console.log('selected '.concat(e));
|
846
|
+
},
|
847
|
+
t = () => {
|
848
|
+
console.log('blur');
|
849
|
+
},
|
850
|
+
a = () => {
|
851
|
+
console.log('focus');
|
852
|
+
},
|
853
|
+
n = (e) => {
|
854
|
+
console.log('search:', e);
|
855
|
+
};
|
856
|
+
return r.a.createElement(
|
857
|
+
l['Q'],
|
858
|
+
{
|
859
|
+
showSearch: !0,
|
860
|
+
style: { width: 200 },
|
861
|
+
placeholder: 'Select a person',
|
862
|
+
optionFilterProp: 'children',
|
863
|
+
onChange: e,
|
864
|
+
onFocus: a,
|
865
|
+
onBlur: t,
|
866
|
+
onSearch: n,
|
867
|
+
filterOption: (e, t) =>
|
868
|
+
t.children.toLowerCase().indexOf(e.toLowerCase()) >= 0,
|
869
|
+
},
|
870
|
+
r.a.createElement(o, { value: 'jack' }, 'Jack'),
|
871
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
872
|
+
r.a.createElement(o, { value: 'tom' }, 'Tom'),
|
873
|
+
);
|
874
|
+
};
|
875
|
+
t['default'] = c;
|
876
|
+
},
|
877
|
+
fBEp: function (e, t, a) {
|
878
|
+
'use strict';
|
879
|
+
a.r(t);
|
880
|
+
var n = a('q1tI'),
|
881
|
+
r = a.n(n),
|
882
|
+
l = a('m/eG'),
|
883
|
+
o = l['Q'].Option,
|
884
|
+
c = () => {
|
885
|
+
var e = (e) => {
|
886
|
+
console.log('selected '.concat(e));
|
887
|
+
};
|
888
|
+
return r.a.createElement(
|
889
|
+
l['Q'],
|
890
|
+
{
|
891
|
+
mode: 'multiple',
|
892
|
+
style: { width: '100%' },
|
893
|
+
placeholder: 'select one country',
|
894
|
+
defaultValue: ['china'],
|
895
|
+
onChange: e,
|
896
|
+
optionLabelProp: 'label',
|
897
|
+
},
|
898
|
+
r.a.createElement(
|
899
|
+
o,
|
900
|
+
{ value: 'china', label: 'China' },
|
901
|
+
r.a.createElement(
|
902
|
+
'div',
|
903
|
+
{ className: 'demo-option-label-item' },
|
904
|
+
r.a.createElement(
|
905
|
+
'span',
|
906
|
+
{ role: 'img', 'aria-label': 'China' },
|
907
|
+
'\ud83c\udde8\ud83c\uddf3',
|
908
|
+
),
|
909
|
+
'China (\u4e2d\u56fd)',
|
910
|
+
),
|
911
|
+
),
|
912
|
+
r.a.createElement(
|
913
|
+
o,
|
914
|
+
{ value: 'usa', label: 'USA' },
|
915
|
+
r.a.createElement(
|
916
|
+
'div',
|
917
|
+
{ className: 'demo-option-label-item' },
|
918
|
+
r.a.createElement(
|
919
|
+
'span',
|
920
|
+
{ role: 'img', 'aria-label': 'USA' },
|
921
|
+
'\ud83c\uddfa\ud83c\uddf8',
|
922
|
+
),
|
923
|
+
'USA (\u7f8e\u56fd)',
|
924
|
+
),
|
925
|
+
),
|
926
|
+
r.a.createElement(
|
927
|
+
o,
|
928
|
+
{ value: 'japan', label: 'Japan' },
|
929
|
+
r.a.createElement(
|
930
|
+
'div',
|
931
|
+
{ className: 'demo-option-label-item' },
|
932
|
+
r.a.createElement(
|
933
|
+
'span',
|
934
|
+
{ role: 'img', 'aria-label': 'Japan' },
|
935
|
+
'\ud83c\uddef\ud83c\uddf5',
|
936
|
+
),
|
937
|
+
'Japan (\u65e5\u672c)',
|
938
|
+
),
|
939
|
+
),
|
940
|
+
r.a.createElement(
|
941
|
+
o,
|
942
|
+
{ value: 'korea', label: 'Korea' },
|
943
|
+
r.a.createElement(
|
944
|
+
'div',
|
945
|
+
{ className: 'demo-option-label-item' },
|
946
|
+
r.a.createElement(
|
947
|
+
'span',
|
948
|
+
{ role: 'img', 'aria-label': 'Korea' },
|
949
|
+
'\ud83c\uddf0\ud83c\uddf7',
|
950
|
+
),
|
951
|
+
'Korea (\u97e9\u56fd)',
|
952
|
+
),
|
953
|
+
),
|
954
|
+
);
|
955
|
+
};
|
956
|
+
t['default'] = c;
|
957
|
+
},
|
958
|
+
g3oB: function (e, t, a) {
|
959
|
+
'use strict';
|
960
|
+
a.r(t);
|
961
|
+
var n = a('9og8'),
|
962
|
+
r = a('0Owb'),
|
963
|
+
l = a('tJVT'),
|
964
|
+
o = a('PpiC'),
|
965
|
+
c = a('WmNS'),
|
966
|
+
i = a.n(c),
|
967
|
+
u = a('q1tI'),
|
968
|
+
s = a.n(u),
|
969
|
+
d = a('m/eG'),
|
970
|
+
m = a('sEfC'),
|
971
|
+
p = a.n(m);
|
972
|
+
function f(e) {
|
973
|
+
var t = e.fetchOptions,
|
974
|
+
a = e.debounceTimeout,
|
975
|
+
n = void 0 === a ? 800 : a,
|
976
|
+
c = Object(o['a'])(e, ['fetchOptions', 'debounceTimeout']),
|
977
|
+
i = s.a.useState(!1),
|
978
|
+
u = Object(l['a'])(i, 2),
|
979
|
+
m = u[0],
|
980
|
+
f = u[1],
|
981
|
+
v = s.a.useState([]),
|
982
|
+
h = Object(l['a'])(v, 2),
|
983
|
+
g = h[0],
|
984
|
+
y = h[1],
|
985
|
+
b = s.a.useRef(0),
|
986
|
+
E = s.a.useMemo(() => {
|
987
|
+
var e = (e) => {
|
988
|
+
b.current += 1;
|
989
|
+
var a = b.current;
|
990
|
+
y([]),
|
991
|
+
f(!0),
|
992
|
+
t(e).then((e) => {
|
993
|
+
a === b.current && (y(e), f(!1));
|
994
|
+
});
|
995
|
+
};
|
996
|
+
return p()(e, n);
|
997
|
+
}, [t, n]);
|
998
|
+
return s.a.createElement(
|
999
|
+
d['Q'],
|
1000
|
+
Object(r['a'])(
|
1001
|
+
{
|
1002
|
+
labelInValue: !0,
|
1003
|
+
filterOption: !1,
|
1004
|
+
onSearch: E,
|
1005
|
+
notFoundContent: m
|
1006
|
+
? s.a.createElement(d['U'], { size: 'small' })
|
1007
|
+
: null,
|
1008
|
+
},
|
1009
|
+
c,
|
1010
|
+
{ options: g },
|
1011
|
+
),
|
1012
|
+
);
|
1013
|
+
}
|
1014
|
+
function v(e) {
|
1015
|
+
return h.apply(this, arguments);
|
1016
|
+
}
|
1017
|
+
function h() {
|
1018
|
+
return (
|
1019
|
+
(h = Object(n['a'])(
|
1020
|
+
i.a.mark(function e(t) {
|
1021
|
+
return i.a.wrap(function (e) {
|
1022
|
+
while (1)
|
1023
|
+
switch ((e.prev = e.next)) {
|
1024
|
+
case 0:
|
1025
|
+
return (
|
1026
|
+
console.log('fetching user', t),
|
1027
|
+
e.abrupt(
|
1028
|
+
'return',
|
1029
|
+
fetch('https://randomuser.me/api/?results=5')
|
1030
|
+
.then((e) => e.json())
|
1031
|
+
.then((e) =>
|
1032
|
+
e.results.map((e) => ({
|
1033
|
+
label: ''
|
1034
|
+
.concat(e.name.first, ' ')
|
1035
|
+
.concat(e.name.last),
|
1036
|
+
value: e.login.username,
|
1037
|
+
})),
|
1038
|
+
),
|
1039
|
+
)
|
1040
|
+
);
|
1041
|
+
case 2:
|
1042
|
+
case 'end':
|
1043
|
+
return e.stop();
|
1044
|
+
}
|
1045
|
+
}, e);
|
1046
|
+
}),
|
1047
|
+
)),
|
1048
|
+
h.apply(this, arguments)
|
1049
|
+
);
|
1050
|
+
}
|
1051
|
+
var g = () => {
|
1052
|
+
var e = Object(u['useState'])([]),
|
1053
|
+
t = Object(l['a'])(e, 2),
|
1054
|
+
a = t[0],
|
1055
|
+
n = t[1];
|
1056
|
+
return s.a.createElement(f, {
|
1057
|
+
mode: 'multiple',
|
1058
|
+
value: a,
|
1059
|
+
placeholder: 'Select users',
|
1060
|
+
fetchOptions: v,
|
1061
|
+
onChange: (e) => {
|
1062
|
+
n(e);
|
1063
|
+
},
|
1064
|
+
style: { width: '100%' },
|
1065
|
+
});
|
1066
|
+
};
|
1067
|
+
t['default'] = g;
|
1068
|
+
},
|
1069
|
+
gO0H: function (e, t, a) {
|
1070
|
+
'use strict';
|
1071
|
+
a.r(t);
|
1072
|
+
var n = a('q1tI'),
|
1073
|
+
r = a.n(n),
|
1074
|
+
l = a('m/eG'),
|
1075
|
+
o = l['Q'].Option,
|
1076
|
+
c = () => {
|
1077
|
+
var e = (e) => {
|
1078
|
+
console.log('selected '.concat(e));
|
1079
|
+
};
|
1080
|
+
return r.a.createElement(
|
1081
|
+
r.a.Fragment,
|
1082
|
+
null,
|
1083
|
+
r.a.createElement(
|
1084
|
+
l['Q'],
|
1085
|
+
{ defaultValue: 'lucy', style: { width: 120 }, onChange: e },
|
1086
|
+
r.a.createElement(o, { value: 'jack' }, 'Jack'),
|
1087
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
1088
|
+
r.a.createElement(
|
1089
|
+
o,
|
1090
|
+
{ value: 'disabled', disabled: !0 },
|
1091
|
+
'Disabled',
|
1092
|
+
),
|
1093
|
+
r.a.createElement(o, { value: 'Yiminghe' }, 'yiminghe'),
|
1094
|
+
),
|
1095
|
+
r.a.createElement(
|
1096
|
+
l['Q'],
|
1097
|
+
{ defaultValue: 'lucy', style: { width: 120 }, disabled: !0 },
|
1098
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
1099
|
+
),
|
1100
|
+
r.a.createElement(
|
1101
|
+
l['Q'],
|
1102
|
+
{ defaultValue: 'lucy', style: { width: 120 }, loading: !0 },
|
1103
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
1104
|
+
),
|
1105
|
+
r.a.createElement(
|
1106
|
+
l['Q'],
|
1107
|
+
{ defaultValue: 'lucy', style: { width: 120 }, allowClear: !0 },
|
1108
|
+
r.a.createElement(o, { value: 'lucy' }, 'Lucy'),
|
1109
|
+
),
|
1110
|
+
);
|
1111
|
+
};
|
1112
|
+
t['default'] = c;
|
1113
|
+
},
|
1114
|
+
gUB6: function (e, t, a) {
|
1115
|
+
'use strict';
|
1116
|
+
a.r(t);
|
1117
|
+
var n,
|
1118
|
+
r,
|
1119
|
+
l = a('tJVT'),
|
1120
|
+
o = a('q1tI'),
|
1121
|
+
c = a.n(o),
|
1122
|
+
i = a('m/eG'),
|
1123
|
+
u = a('2HEe'),
|
1124
|
+
s = a.n(u),
|
1125
|
+
d = a('s4NR'),
|
1126
|
+
m = a.n(d),
|
1127
|
+
p = i['Q'].Option;
|
1128
|
+
function f(e, t) {
|
1129
|
+
function a() {
|
1130
|
+
var a = m.a.encode({ code: 'utf-8', q: e });
|
1131
|
+
s()('https://suggest.taobao.com/sug?'.concat(a))
|
1132
|
+
.then((e) => e.json())
|
1133
|
+
.then((a) => {
|
1134
|
+
if (r === e) {
|
1135
|
+
var n = a.result,
|
1136
|
+
l = [];
|
1137
|
+
n.forEach((e) => {
|
1138
|
+
l.push({ value: e[0], text: e[0] });
|
1139
|
+
}),
|
1140
|
+
t(l);
|
1141
|
+
}
|
1142
|
+
});
|
1143
|
+
}
|
1144
|
+
n && (clearTimeout(n), (n = null)), (r = e), (n = setTimeout(a, 300));
|
1145
|
+
}
|
1146
|
+
var v = () => {
|
1147
|
+
var e = Object(o['useState'])([]),
|
1148
|
+
t = Object(l['a'])(e, 2),
|
1149
|
+
a = t[0],
|
1150
|
+
n = t[1],
|
1151
|
+
r = Object(o['useState'])(),
|
1152
|
+
u = Object(l['a'])(r, 2),
|
1153
|
+
s = u[0],
|
1154
|
+
d = u[1],
|
1155
|
+
m = (e) => {
|
1156
|
+
e ? f(e, (e) => n(e)) : n([]);
|
1157
|
+
},
|
1158
|
+
v = (e) => {
|
1159
|
+
d(e);
|
1160
|
+
},
|
1161
|
+
h =
|
1162
|
+
null === a || void 0 === a
|
1163
|
+
? void 0
|
1164
|
+
: a.map((e) =>
|
1165
|
+
c.a.createElement(
|
1166
|
+
p,
|
1167
|
+
{ value: e.value, key: e.value },
|
1168
|
+
e.text,
|
1169
|
+
),
|
1170
|
+
);
|
1171
|
+
return c.a.createElement(
|
1172
|
+
i['Q'],
|
1173
|
+
{
|
1174
|
+
showSearch: !0,
|
1175
|
+
value: s,
|
1176
|
+
placeholder: 'input search text',
|
1177
|
+
style: { width: 200 },
|
1178
|
+
defaultActiveFirstOption: !1,
|
1179
|
+
showArrow: !1,
|
1180
|
+
filterOption: !1,
|
1181
|
+
onSearch: m,
|
1182
|
+
onChange: v,
|
1183
|
+
notFoundContent: null,
|
1184
|
+
},
|
1185
|
+
h,
|
1186
|
+
);
|
1187
|
+
};
|
1188
|
+
t['default'] = v;
|
1189
|
+
},
|
1190
|
+
kd2E: function (e, t, a) {
|
1191
|
+
'use strict';
|
1192
|
+
function n(e, t) {
|
1193
|
+
return Object.prototype.hasOwnProperty.call(e, t);
|
1194
|
+
}
|
1195
|
+
e.exports = function (e, t, a, l) {
|
1196
|
+
(t = t || '&'), (a = a || '=');
|
1197
|
+
var o = {};
|
1198
|
+
if ('string' !== typeof e || 0 === e.length) return o;
|
1199
|
+
var c = /\+/g;
|
1200
|
+
e = e.split(t);
|
1201
|
+
var i = 1e3;
|
1202
|
+
l && 'number' === typeof l.maxKeys && (i = l.maxKeys);
|
1203
|
+
var u = e.length;
|
1204
|
+
i > 0 && u > i && (u = i);
|
1205
|
+
for (var s = 0; s < u; ++s) {
|
1206
|
+
var d,
|
1207
|
+
m,
|
1208
|
+
p,
|
1209
|
+
f,
|
1210
|
+
v = e[s].replace(c, '%20'),
|
1211
|
+
h = v.indexOf(a);
|
1212
|
+
h >= 0
|
1213
|
+
? ((d = v.substr(0, h)), (m = v.substr(h + 1)))
|
1214
|
+
: ((d = v), (m = '')),
|
1215
|
+
(p = decodeURIComponent(d)),
|
1216
|
+
(f = decodeURIComponent(m)),
|
1217
|
+
n(o, p)
|
1218
|
+
? r(o[p])
|
1219
|
+
? o[p].push(f)
|
1220
|
+
: (o[p] = [o[p], f])
|
1221
|
+
: (o[p] = f);
|
1222
|
+
}
|
1223
|
+
return o;
|
1224
|
+
};
|
1225
|
+
var r =
|
1226
|
+
Array.isArray ||
|
1227
|
+
function (e) {
|
1228
|
+
return '[object Array]' === Object.prototype.toString.call(e);
|
1229
|
+
};
|
1230
|
+
},
|
1231
|
+
kmS0: function (e, t, a) {
|
1232
|
+
'use strict';
|
1233
|
+
a.r(t);
|
1234
|
+
for (
|
1235
|
+
var n = a('q1tI'),
|
1236
|
+
r = a.n(n),
|
1237
|
+
l = a('m/eG'),
|
1238
|
+
o = l['Q'].Option,
|
1239
|
+
c = [],
|
1240
|
+
i = 10;
|
1241
|
+
i < 36;
|
1242
|
+
i++
|
1243
|
+
)
|
1244
|
+
c.push(
|
1245
|
+
r.a.createElement(
|
1246
|
+
o,
|
1247
|
+
{ value: i.toString(36) + i, key: i.toString(36) + i },
|
1248
|
+
i.toString(36) + i,
|
1249
|
+
),
|
1250
|
+
);
|
1251
|
+
var u = () => {
|
1252
|
+
var e = (e) => {
|
1253
|
+
console.log('selected '.concat(e));
|
1254
|
+
};
|
1255
|
+
return r.a.createElement(
|
1256
|
+
r.a.Fragment,
|
1257
|
+
null,
|
1258
|
+
r.a.createElement(
|
1259
|
+
l['Q'],
|
1260
|
+
{
|
1261
|
+
mode: 'multiple',
|
1262
|
+
allowClear: !0,
|
1263
|
+
style: { width: '100%' },
|
1264
|
+
placeholder: 'Please select',
|
1265
|
+
defaultValue: ['a10', 'c12'],
|
1266
|
+
onChange: e,
|
1267
|
+
},
|
1268
|
+
c,
|
1269
|
+
),
|
1270
|
+
r.a.createElement('br', null),
|
1271
|
+
r.a.createElement(
|
1272
|
+
l['Q'],
|
1273
|
+
{
|
1274
|
+
mode: 'multiple',
|
1275
|
+
disabled: !0,
|
1276
|
+
style: { width: '100%' },
|
1277
|
+
placeholder: 'Please select',
|
1278
|
+
defaultValue: ['a10', 'c12'],
|
1279
|
+
onChange: e,
|
1280
|
+
},
|
1281
|
+
c,
|
1282
|
+
),
|
1283
|
+
);
|
1284
|
+
};
|
1285
|
+
t['default'] = u;
|
1286
|
+
},
|
1287
|
+
pYM3: function (e, t, a) {
|
1288
|
+
'use strict';
|
1289
|
+
a.r(t);
|
1290
|
+
var n = a('tJVT'),
|
1291
|
+
r = a('q1tI'),
|
1292
|
+
l = a.n(r),
|
1293
|
+
o = a('m/eG'),
|
1294
|
+
c = o['Q'].Option,
|
1295
|
+
i = ['Zhejiang', 'Jiangsu'],
|
1296
|
+
u = {
|
1297
|
+
Zhejiang: ['Hangzhou', 'Ningbo', 'Wenzhou'],
|
1298
|
+
Jiangsu: ['Nanjing', 'Suzhou', 'Zhenjiang'],
|
1299
|
+
},
|
1300
|
+
s = () => {
|
1301
|
+
var e = l.a.useState(u[i[0]]),
|
1302
|
+
t = Object(n['a'])(e, 2),
|
1303
|
+
a = t[0],
|
1304
|
+
r = t[1],
|
1305
|
+
s = l.a.useState(u[i[0]][0]),
|
1306
|
+
d = Object(n['a'])(s, 2),
|
1307
|
+
m = d[0],
|
1308
|
+
p = d[1],
|
1309
|
+
f = (e) => {
|
1310
|
+
r(u[e]), p(u[e][0]);
|
1311
|
+
},
|
1312
|
+
v = (e) => {
|
1313
|
+
p(e);
|
1314
|
+
};
|
1315
|
+
return l.a.createElement(
|
1316
|
+
l.a.Fragment,
|
1317
|
+
null,
|
1318
|
+
l.a.createElement(
|
1319
|
+
o['Q'],
|
1320
|
+
{ defaultValue: i[0], style: { width: 120 }, onChange: f },
|
1321
|
+
i.map((e) => l.a.createElement(c, { value: e, key: e }, e)),
|
1322
|
+
),
|
1323
|
+
l.a.createElement(
|
1324
|
+
o['Q'],
|
1325
|
+
{ style: { width: 120 }, value: m, onChange: v },
|
1326
|
+
a.map((e) => l.a.createElement(c, { value: e, key: e }, e)),
|
1327
|
+
),
|
1328
|
+
);
|
1329
|
+
};
|
1330
|
+
t['default'] = s;
|
1331
|
+
},
|
1332
|
+
s4NR: function (e, t, a) {
|
1333
|
+
'use strict';
|
1334
|
+
(t.decode = t.parse = a('kd2E')), (t.encode = t.stringify = a('4JlD'));
|
1335
|
+
},
|
1336
|
+
xvlK: function (e, t, a) {
|
1337
|
+
'use strict';
|
1338
|
+
var n = a('VTBJ'),
|
1339
|
+
r = a('q1tI'),
|
1340
|
+
l = {
|
1341
|
+
icon: {
|
1342
|
+
tag: 'svg',
|
1343
|
+
attrs: { viewBox: '64 64 896 896', focusable: 'false' },
|
1344
|
+
children: [
|
1345
|
+
{
|
1346
|
+
tag: 'defs',
|
1347
|
+
attrs: {},
|
1348
|
+
children: [{ tag: 'style', attrs: {} }],
|
1349
|
+
},
|
1350
|
+
{
|
1351
|
+
tag: 'path',
|
1352
|
+
attrs: {
|
1353
|
+
d: 'M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z',
|
1354
|
+
},
|
1355
|
+
},
|
1356
|
+
{
|
1357
|
+
tag: 'path',
|
1358
|
+
attrs: {
|
1359
|
+
d: 'M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z',
|
1360
|
+
},
|
1361
|
+
},
|
1362
|
+
],
|
1363
|
+
},
|
1364
|
+
name: 'plus',
|
1365
|
+
theme: 'outlined',
|
1366
|
+
},
|
1367
|
+
o = l,
|
1368
|
+
c = a('6VBw'),
|
1369
|
+
i = function (e, t) {
|
1370
|
+
return r['createElement'](
|
1371
|
+
c['a'],
|
1372
|
+
Object(n['a'])(Object(n['a'])({}, e), {}, { ref: t, icon: o }),
|
1373
|
+
);
|
1374
|
+
};
|
1375
|
+
i.displayName = 'PlusOutlined';
|
1376
|
+
t['a'] = r['forwardRef'](i);
|
1377
|
+
},
|
1378
|
+
yWSA: function (e, t, a) {
|
1379
|
+
'use strict';
|
1380
|
+
a.r(t);
|
1381
|
+
for (
|
1382
|
+
var n = a('q1tI'),
|
1383
|
+
r = a.n(n),
|
1384
|
+
l = a('m/eG'),
|
1385
|
+
o = l['Q'].Option,
|
1386
|
+
c = [],
|
1387
|
+
i = 10;
|
1388
|
+
i < 36;
|
1389
|
+
i++
|
1390
|
+
)
|
1391
|
+
c.push(
|
1392
|
+
r.a.createElement(
|
1393
|
+
o,
|
1394
|
+
{ value: i.toString(36) + i, key: i.toString(36) + i },
|
1395
|
+
i.toString(36) + i,
|
1396
|
+
),
|
1397
|
+
);
|
1398
|
+
var u = () => {
|
1399
|
+
var e = (e) => {
|
1400
|
+
console.log('selected '.concat(e));
|
1401
|
+
};
|
1402
|
+
return r.a.createElement(
|
1403
|
+
l['Q'],
|
1404
|
+
{
|
1405
|
+
mode: 'tags',
|
1406
|
+
style: { width: '100%' },
|
1407
|
+
placeholder: 'Tags Mode',
|
1408
|
+
onChange: e,
|
1409
|
+
},
|
1410
|
+
c,
|
1411
|
+
);
|
1412
|
+
};
|
1413
|
+
t['default'] = u;
|
1414
|
+
},
|
1415
|
+
},
|
1416
|
+
]);
|