Backend for Custom Frontend OSPRO Surveyor Indonesia
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.9 MiB

/*! For license information please see 21.205eff34.chunk.js.LICENSE.txt */
(this["webpackJsonpsimpro-web"]=this["webpackJsonpsimpro-web"]||[]).push([[21,4,7],{1011:function(e,t,n){"use strict";var r=n(559),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(562),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)},1066:function(e,t,n){"use strict";var r=n(561),a=n(23),o=n(612),i=n(684),s=n(1011),c=n(560),l=n.n(c),u=n(563),f=n(566),d=n(567),h=n(559),p=n(2),m=n(589),v=n(750),g=n(577),b=n(565),y=n(581),w=n(615);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(576);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(753);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.getPopupContainer,O=e.popupClassName,S=Object(p.useState)(!1),x=Object(u.a)(S,2),k=x[0],T=x[1],j=Object(p.useState)(null),R=Object(u.a)(j,2),P=R[0],I=R[1],D="".concat(a,"-more-popup"),B="".concat(n,"-dropdown"),M=null!==P?"".concat(D,"-").concat(P):null,F=null===i||void 0===i?void 0:i.dropdownAriaLabel;var L=p.createElement(_.g,{onClick:function(e){var t=e.key,n=e.domEvent;w(t,n),T(!1)},prefixCls:"".concat(B,"-menu"),id:D,tabIndex:-1,role:"listbox","aria-activedescendant":M,selectedKeys:[P],"aria-label":void 0!==F?F:"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(B,"-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,eve