You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
2 lines
2.0 MiB
2 lines
2.0 MiB
2 years ago
|
/*! For license information please see 15.52a934db.chunk.js.LICENSE.txt */
|
||
|
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[15,4,7],{1055:function(e,t,n){"use strict";var r=n(19),a=n(2),o=n(774),i=n(639),c=n(1269),s=n(596),l=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},u=a.forwardRef((function(e,t){var n=e.prefixCls,u=e.title,f=e.content,d=e._overlay,h=l(e,["prefixCls","title","content","_overlay"]),p=a.useContext(o.b).getPrefixCls,m=p("popover",n),v=p();return a.createElement(i.default,Object(r.a)({},h,{prefixCls:m,ref:t,overlay:d||function(e){if(u||f)return a.createElement(a.Fragment,null,u&&a.createElement("div",{className:"".concat(e,"-title")},Object(c.a)(u)),a.createElement("div",{className:"".concat(e,"-inner-content")},Object(c.a)(f)))}(m),transitionName:Object(s.c)(v,"zoom-big",h.transitionName)}))}));u.defaultProps={placement:"top",trigger:"hover",mouseEnterDelay:.1,mouseLeaveDelay:.1,overlayStyle:{}},t.a=u},1116:function(e,t,n){"use strict";var r=n(561),a=n(564),o=n(19),i=n(569),c=n(570),s=n(571),l=n(572),u=n(559),f=n.n(u),d=n(2),h=n(774),p=n(628),m=n(581),v=n(593),g=n(614),b=n(592),y=n(629),w=n(574),E=n(678),O=n(713),C=n(715),x=n(577),S=n(565),k=n(714),_=n(584),j=n(923),A=n(920),N=function(e){var t,n,a=e.renderedText,i=e.renderedEl,c=e.item,s=e.checked,l=e.disabled,u=e.prefixCls,h=e.onClick,p=e.onRemove,m=e.showRemove,b=f()((t={},Object(r.a)(t,"".concat(u,"-content-item"),!0),Object(r.a)(t,"".concat(u,"-content-item-disabled"),l||c.disabled),Object(r.a)(t,"".concat(u,"-content-item-checked"),s),t));return"string"!==typeof a&&"number"!==typeof a||(n=String(a)),d.createElement(v.a,{componentName:"Transfer",defaultLocale:g.a.Transfer},(function(e){var t={className:b,title:n},r=d.createElement("span",{className:"".concat(u,"-content-item-text")},i);return m?d.createElement("li",Object(o.a)({},t),r,d.createElement(A.a,{disabled:l||c.disabled,className:"".concat(u,"-content-item-remove"),"aria-label":e.remove,onClick:function(){null===p||void 0===p||p(c)}},d.createElement(j.a,null))):(t.onClick=l||c.disabled?void 0:function(){return h(c)},d.createElement("li",Object(o.a)({},t),d.createElement(E.default,{className:"".concat(u,"-checkbox"),checked:s,disabled:l||c.disabled}),r))}))},T=d.memo(N),P=Object(_.a)("handleFilter","handleClear","checkedKeys");function I(e){if(!e)return null;var t={pageSize:10,simple:!0,showSizeChanger:!1,showLessItems:!1};return"object"===Object(S.a)(e)?Object(o.a)(Object(o.a)({},t),e):t}var D=function(e){Object(s.a)(n,e);var t=Object(l.a)(n);function n(){var e;return Object(i.a)(this,n),(e=t.apply(this,arguments)).state={current:1},e.onItemSelect=function(t){var n=e.props,r=n.onItemSelect,a=n.selectedKeys.indexOf(t.key)>=0;r(t.key,!a)},e.onItemRemove=function(t){var n=e.props.onItemRemove;null===n||void 0===n||n([t.key])},e.onPageChange=function(t){e.setState({current:t})},e.getItems=function(){var t=e.state.current,n=e.props,r=n.pagination,a=n.filteredRenderItems,o=I(r),i=a;return o&&(i=a.slice((t-1)*o.pageSize,t*o.pageSize)),i},e}return Object(c.a)(n,[{key:"render",value:function(){var e=this,t=this.state.current,n=this.props,a=n.prefixCls,o=n.onScroll,i=n.filteredRenderItems,c=n.selectedKeys,s=n.disabled,l=n.showRemove,u=I(n.pagination),h=null;return u&&(h=d.createElement(k.a,{simple:u.simple,showSizeChanger:u.showSizeChanger,showLessItems:u.showLessItems,size:"small",disabled:s,className:"".concat(a,"-pagination"),total:i.length,pageSize:u.pageSize,current:t,onChange:this.onPageChange})),d.createElement(d.Fragment,null,d.createElement("ul",{className:f()("".concat(a,"-content"),Object(r.a)({},"".concat(a,"-content-show-remove"),l)),onScroll:o},this.getItems().map((function(t){var n=t.renderedEl,r=t.renderedText,o=t.item,i=o.disabled,u=c.indexOf(o.key)>=0;return d.createElement(T,{disabled:s||i,key:o.key,item:o,renderedText:r,renderedEl:n,checked:u,prefix
|