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.4 MiB
2 lines
2.4 MiB
2 years ago
|
/*! For license information please see 15.5c955130.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),s=n(1269),c=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),g=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(s.a)(u)),a.createElement("div",{className:"".concat(e,"-inner-content")},Object(s.a)(f)))}(m),transitionName:Object(c.c)(g,"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),s=n(570),c=n(571),l=n(572),u=n(559),f=n.n(u),d=n(2),h=n(774),p=n(628),m=n(581),g=n(593),v=n(614),b=n(592),y=n(629),w=n(574),E=n(678),x=n(713),O=n(715),C=n(577),S=n(565),_=n(714),k=n(584),A=n(923),N=n(920),j=function(e){var t,n,a=e.renderedText,i=e.renderedEl,s=e.item,c=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||s.disabled),Object(r.a)(t,"".concat(u,"-content-item-checked"),c),t));return"string"!==typeof a&&"number"!==typeof a||(n=String(a)),d.createElement(g.a,{componentName:"Transfer",defaultLocale:v.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(N.a,{disabled:l||s.disabled,className:"".concat(u,"-content-item-remove"),"aria-label":e.remove,onClick:function(){null===p||void 0===p||p(s)}},d.createElement(A.a,null))):(t.onClick=l||s.disabled?void 0:function(){return h(s)},d.createElement("li",Object(o.a)({},t),d.createElement(E.default,{className:"".concat(u,"-checkbox"),checked:c,disabled:l||s.disabled}),r))}))},T=d.memo(j),P=Object(k.a)("handleFilter","handleClear","checkedKeys");function L(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 I=function(e){Object(c.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=L(r),i=a;return o&&(i=a.slice((t-1)*o.pageSize,t*o.pageSize)),i},e}return Object(s.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,s=n.selectedKeys,c=n.disabled,l=n.showRemove,u=L(n.pagination),h=null;return u&&(h=d.createElement(_.a,{simple:u.simple,showSizeChanger:u.showSizeChanger,showLessItems:u.showLessItems,size:"small",disabled:c,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=s.indexOf(o.key)>=0;return d.createElement(T,{disabled:c||i,key:o.key,item:o,renderedText:r,renderedEl:n,checked:u,prefix
|