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.
1 line
31 KiB
1 line
31 KiB
2 years ago
|
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[7],{578:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return a}));var r=n(2),o=r.isValidElement;function i(e,t,n){return o(e)?r.cloneElement(e,"function"===typeof n?n(e.props||{}):n):t}function a(e,t){return i(e,e,t)}},599:function(e,t){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!==typeof e||!e||"object"!==typeof t||!t)return!1;var i=Object.keys(e),a=Object.keys(t);if(i.length!==a.length)return!1;for(var c=Object.prototype.hasOwnProperty.bind(t),l=0;l<i.length;l++){var u=i[l];if(!c(u))return!1;var s=e[u],f=t[u];if(!1===(o=n?n.call(r,s,f,u):void 0)||void 0===o&&s!==f)return!1}return!0}},611:function(e,t,n){"use strict";n.d(t,"f",(function(){return he})),n.d(t,"b",(function(){return G})),n.d(t,"d",(function(){return G})),n.d(t,"e",(function(){return Fe})),n.d(t,"c",(function(){return Fe})),n.d(t,"a",(function(){return We})),n.d(t,"h",(function(){return He}));var r=n(23),o=n(561),i=n(559),a=n(565),c=n(563),l=n(567),u=n(2),s=n(560),f=n.n(s),d=n(599),v=n.n(d),p=n(577),b=n(568),m=n(639),h=n(570),O=n(571),y=n(572),g=n(573),j=n(576),C=n(575),E=n(620),w=["children","locked"],x=u.createContext(null);function k(e){var t=e.children,n=e.locked,r=Object(l.a)(e,w),o=u.useContext(x),a=Object(E.a)((function(){return function(e,t){var n=Object(i.a)({},e);return Object.keys(t).forEach((function(e){var r=t[e];void 0!==r&&(n[e]=r)})),n}(o,r)}),[o,r],(function(e,t){return!n&&(e[0]!==t[0]||!v()(e[1],t[1]))}));return u.createElement(x.Provider,{value:a},t)}function N(e,t,n,r){var o=u.useContext(x),i=o.activeKey,a=o.onActive,c=o.onInactive,l={active:i===e};return t||(l.onMouseEnter=function(t){null===n||void 0===n||n({key:e,domEvent:t}),a(e)},l.onMouseLeave=function(t){null===r||void 0===r||r({key:e,domEvent:t}),c(e)}),l}var M=["item"];function S(e){var t=e.item,n=Object(l.a)(e,M);return Object.defineProperty(n,"item",{get:function(){return Object(b.a)(!1,"`info.item` is deprecated since we will move to function component that not provides React Node instance in future."),t}}),n}function P(e){var t=e.icon,n=e.props,r=e.children;return("function"===typeof t?u.createElement(t,Object(i.a)({},n)):t)||r||null}function I(e){var t=u.useContext(x),n=t.mode,r=t.rtl,o=t.inlineIndent;if("inline"!==n)return null;return r?{paddingRight:e*o}:{paddingLeft:e*o}}var R=[],K=u.createContext(null);function T(){return u.useContext(K)}var A=u.createContext(R);function L(e){var t=u.useContext(A);return u.useMemo((function(){return void 0!==e?[].concat(Object(a.a)(t),[e]):t}),[t,e])}var D=u.createContext(null),V=u.createContext(null);function _(e,t){return void 0===e?null:"".concat(e,"-").concat(t)}function z(e){return _(u.useContext(V),e)}var F=u.createContext({}),W=["title","attribute","elementRef"],H=["style","className","eventKey","warnKey","disabled","itemIcon","children","role","onMouseEnter","onMouseLeave","onClick","onKeyDown","onFocus"],q=["active"],U=function(e){Object(y.a)(n,e);var t=Object(g.a)(n);function n(){return Object(h.a)(this,n),t.apply(this,arguments)}return Object(O.a)(n,[{key:"render",value:function(){var e=this.props,t=e.title,n=e.attribute,o=e.elementRef,i=Object(l.a)(e,W),a=Object(C.a)(i,["eventKey"]);return Object(b.a)(!n,"`attribute` of Menu.Item is deprecated. Please pass attribute directly."),u.createElement(m.a.Item,Object(r.a)({},n,{title:"string"===typeof t?t:void 0},a,{ref:o}))}}]),n}(u.Component),B=function(e){var t,n=e.style,c=e.className,s=e.eventKey,d=(e.warnKey,e.disabled),v=e.itemIcon,p=e.children,b=e.role,m=e.onMouseEnter,h=e.onMouseLeave,O=e.onClick,y=e.onKeyDown,g=e.onFocus,C=Object(l.a)(e,H),E=z(s),w=u.useContext(x),k=w.prefixCls,M=w.onItemClick,R=w.disabled,K=w.overflowDisabled,T=w.itemIcon,A=w.selectedKeys,D=w.onActive,V=u.useContext(F)._internalRenderMenuItem,_="".concat(k,"-item"),W=u.useRef(),B=u.useRef(),G=R||d,J=L(s);var X=function(e){return{key:s,keyPath:Object(a.a)(J).reverse(),item:W.current,domEvent:e}}
|