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
1.8 MiB
2 lines
1.8 MiB
2 years ago
|
/*! For license information please see 22.e9f1cb29.chunk.js.LICENSE.txt */
|
||
|
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[22,5,8],{1027:function(e,t,n){"use strict";var r=n(561),a=n(2),o={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"},i=n(564),s=function(e,t){return a.createElement(i.a,Object(r.a)(Object(r.a)({},e),{},{ref:t,icon:o}))};s.displayName="PlusOutlined";t.a=a.forwardRef(s)},1085:function(e,t,n){"use strict";var r=n(563),a=n(23),o=n(615),i=n(689),s=n(1027),c=n(562),l=n.n(c),u=n(565),f=n(567),d=n(568),h=n(561),p=n(2),m=n(596),v=n(764),g=n(580),b=n(570),y=n(583),w=n(613);function E(e){var t=Object(p.useRef)(),n=Object(p.useRef)(!1);return Object(p.useEffect)((function(){return n.current=!1,function(){n.current=!0,y.a.cancel(t.current)}}),[]),function(){for(var r=arguments.length,a=new Array(r),o=0;o<r;o++)a[o]=arguments[o];n.current||(y.a.cancel(t.current),t.current=Object(y.a)((function(){e.apply(void 0,a)})))}}var C=n(578);function O(e,t){var n,a=e.prefixCls,o=e.id,i=e.active,s=e.tab,c=s.key,u=s.tab,f=s.disabled,d=s.closeIcon,h=e.closable,m=e.renderWrapper,v=e.removeAriaLabel,g=e.editable,b=e.onClick,y=e.onRemove,w=e.onFocus,E=e.style,O="".concat(a,"-tab");p.useEffect((function(){return y}),[]);var S=g&&!1!==h&&!f;function x(e){f||b(e)}var k=p.createElement("div",{key:c,ref:t,className:l()(O,(n={},Object(r.a)(n,"".concat(O,"-with-remove"),S),Object(r.a)(n,"".concat(O,"-active"),i),Object(r.a)(n,"".concat(O,"-disabled"),f),n)),style:E,onClick:x},p.createElement("div",{role:"tab","aria-selected":i,id:o&&"".concat(o,"-tab-").concat(c),className:"".concat(O,"-btn"),"aria-controls":o&&"".concat(o,"-panel-").concat(c),"aria-disabled":f,tabIndex:f?null:0,onClick:function(e){e.stopPropagation(),x(e)},onKeyDown:function(e){[C.a.SPACE,C.a.ENTER].includes(e.which)&&(e.preventDefault(),x(e))},onFocus:w},u),S&&p.createElement("button",{type:"button","aria-label":v||"remove",tabIndex:0,className:"".concat(O,"-remove"),onClick:function(e){var t;e.stopPropagation(),(t=e).preventDefault(),t.stopPropagation(),g.onEdit("remove",{key:c,event:t})}},d||g.removeIcon||"\xd7"));return m?m(k):k}var S=p.forwardRef(O),x={width:0,height:0,left:0,top:0};var k={width:0,height:0,left:0,top:0,right:0};var _=n(611),A=n(762);function T(e,t){var n=e.prefixCls,r=e.editable,a=e.locale,o=e.style;return r&&!1!==r.showAdd?p.createElement("button",{ref:t,type:"button",className:"".concat(n,"-nav-add"),style:o,"aria-label":(null===a||void 0===a?void 0:a.addAriaLabel)||"Add tab",onClick:function(e){r.onEdit("add",{event:e})}},r.addIcon||"+"):null}var N=p.forwardRef(T);function j(e,t){var n=e.prefixCls,a=e.id,o=e.tabs,i=e.locale,s=e.mobile,c=e.moreIcon,f=void 0===c?"More":c,d=e.moreTransitionName,h=e.style,m=e.className,v=e.editable,g=e.tabBarGutter,b=e.rtl,y=e.removeAriaLabel,w=e.onTabClick,E=e.popupClassName,O=Object(p.useState)(!1),S=Object(u.a)(O,2),x=S[0],k=S[1],T=Object(p.useState)(null),j=Object(u.a)(T,2),R=j[0],I=j[1],D="".concat(a,"-more-popup"),P="".concat(n,"-dropdown"),B=null!==R?"".concat(D,"-").concat(R):null,M=null===i||void 0===i?void 0:i.dropdownAriaLabel;var F=p.createElement(_.g,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),k(!1)},prefixCls:"".concat(P,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":B,selectedKeys:[R],"aria-label":void 0!==M?M:"expanded dropdown"},o.map((function(e){var t=v&&!1!==e.closable&&!e.disabled;return p.createElement(_.d,{key:e.key,id:"".concat(D,"-").concat(e.key),role:"option","aria-controls":a&&"".concat(a,"-panel-").concat(e.key),disabled:e.disabled},p.createElement("span",null,e.tab),t&&p.createElement("button",{type:"button","aria-label":y||"remove",tabIndex:0,className:"".concat(P,"-menu-item-remove"),onClick:function(t){var n,r;t.stopPropagation(),n=t,r=e.key,n.preventDefault(),n.stopPropagation(),v.onEdit("remove",{key:r,event:n})}},e.closeIcon||
|