💄 更新前端项目

pull/4/head
smallbun 2022-12-20 22:54:47 +08:00
parent 4cb0371576
commit cbac62ea72
56 changed files with 2001 additions and 1929 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.abbf04cc.js"></script>
<script src="/umi.6d1c82a9.js"></script>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,18 @@
/*
* eiam-console - Employee Identity and Access Management Program
* Copyright © 2020-2022 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[8648],{34270:function(p,r,t){t.r(r),t.d(r,{default:function(){return x}});var s=t(97983),o=t.n(s),c=t(11281),e=t.n(c),a=t(40794),m=t.n(a),n=t(25191),P=t(84865),f=t(98971),h=t(78234),E=t(69400),i=t(67038),u=t(85893),C=function(){var v=(0,f.useModel)("@@initialState"),y=v.initialState,l=v.setInitialState,F=(0,f.useLocation)();return(0,h.Z)(m()(o()().mark(function T(){return o()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:E.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var U=m()(o()().mark(function B(){var g,R,d,I,D,S;return o()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,l(e()(e()({},y),{},{currentUser:void 0}));case 2:g=(0,i.parse)(F.search),R=g,d=R.redirect_uri,I={pathname:n.wm},D=d&&d.split("/"),d&&d!==D[0]+"//"+D[2]+"/"&&(I=e()(e()({},I),{},{search:(0,i.stringify)({redirect_uri:d})})),S=P.m.createHref(I),window.location.replace(S);case 9:case"end":return M.stop()}},B)}));function A(){return U.apply(this,arguments)}return A}()});case 1:case"end":return O.stop()}},T)}))),(0,u.jsx)(u.Fragment,{})},x=function(){return(0,u.jsx)(C,{})}},78234:function(p,r,t){var s=t(67294),o=t(92770),c=t(31663);const e=a=>{c.Z&&((0,o.mf)(a)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof a}".`)),(0,s.useEffect)(()=>{a==null||a()},[])};r.Z=e},92770:function(p,r,t){t.d(r,{mf:function(){return o}});const s=n=>n!==null&&typeof n=="object",o=n=>typeof n=="function",c=n=>typeof n=="string",e=n=>typeof n=="boolean",a=n=>typeof n=="number",m=n=>typeof n=="undefined"},31663:function(p,r){r.Z=!1},65223:function(p,r,t){t.d(r,{RV:function(){return n},Rk:function(){return P},Ux:function(){return h},aM:function(){return f},q3:function(){return a},qI:function(){return m}});var s=t(87462),o=t(71990),c=t(98423),e=t(67294),a=e.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),m=e.createContext(null),n=function(i){var u=(0,c.Z)(i,["prefixCls"]);return e.createElement(o.RV,(0,s.Z)({},u))},P=e.createContext({prefixCls:""}),f=e.createContext({}),h=function(i){var u=i.children,C=i.status,x=i.override,v=(0,e.useContext)(f),y=(0,e.useMemo)(function(){var l=(0,s.Z)({},v);return x&&delete l.isFormItemInput,C&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[C,x,v]);return e.createElement(f.Provider,{value:y},u)}}}]);

View File

@ -1,18 +0,0 @@
/*
* eiam-console - Employee Identity and Access Management Program
* Copyright © 2020-2022 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[8648],{34270:function(E,o,t){t.r(o),t.d(o,{default:function(){return M}});var s=t(97983),a=t.n(s),f=t(11281),e=t.n(f),m=t(40794),r=t.n(m),i=t(25191),n=t(84865),d=t(98971),P=t(78234),C=t(69400),u=t(67038),c=t(85893),x=function(){var p=(0,d.useModel)("@@initialState"),h=p.initialState,l=p.setInitialState,F=(0,d.useLocation)();return(0,P.Z)(r()(a()().mark(function T(){return a()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:C.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var U=r()(a()().mark(function j(){var g,R,v,I,D,S;return a()().wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return O.next=2,l(e()(e()({},h),{},{currentUser:void 0}));case 2:g=(0,u.parse)(F.search),R=g,v=R.redirect_uri,I={pathname:i.wm},D=v&&v.split("/"),v&&v!==D[0]+"//"+D[2]+"/"&&(I=e()(e()({},I),{},{search:(0,u.stringify)({redirect_uri:v})})),S=n.m.createHref(I),window.location.replace(S);case 9:case"end":return O.stop()}},j)}));function B(){return U.apply(this,arguments)}return B}()});case 1:case"end":return y.stop()}},T)}))),(0,c.jsx)(c.Fragment,{})},M=function(){return(0,c.jsx)(x,{})}},78234:function(E,o,t){var s=t(67294),a=t(92770),f=t(31663),e=function(r){f.Z&&((0,a.mf)(r)||console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof r,'".'))),(0,s.useEffect)(function(){r==null||r()},[])};o.Z=e},92770:function(E,o,t){t.d(o,{mf:function(){return a}});var s=function(n){return n!==null&&typeof n=="object"},a=function(n){return typeof n=="function"},f=function(n){return typeof n=="string"},e=function(n){return typeof n=="boolean"},m=function(n){return typeof n=="number"},r=function(n){return typeof n=="undefined"}},31663:function(E,o){var t=!1;o.Z=t},65223:function(E,o,t){t.d(o,{RV:function(){return i},Rk:function(){return n},Ux:function(){return P},aM:function(){return d},q3:function(){return m},qI:function(){return r}});var s=t(87462),a=t(71990),f=t(98423),e=t(67294),m=e.createContext({labelAlign:"right",vertical:!1,itemRef:function(){}}),r=e.createContext(null),i=function(u){var c=(0,f.Z)(u,["prefixCls"]);return e.createElement(a.RV,(0,s.Z)({},c))},n=e.createContext({prefixCls:""}),d=e.createContext({}),P=function(u){var c=u.children,x=u.status,M=u.override,p=(0,e.useContext)(d),h=(0,e.useMemo)(function(){var l=(0,s.Z)({},p);return M&&delete l.isFormItemInput,x&&(delete l.status,delete l.hasFeedback,delete l.feedbackIcon),l},[x,M,p]);return e.createElement(d.Provider,{value:h},c)}}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -28,6 +28,6 @@
</head>
<body>
<div id="root"></div>
<script src="/umi.f0f658c3.js"></script>
<script src="/umi.5a15f2ce.js"></script>
</body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,18 +0,0 @@
/*
* eiam-portal - Employee Identity and Access Management Program
* Copyright © 2020-2022 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[26],{24041:function(c,n,_){_.r(n);var i=_(97983),a=_.n(i),u=_(11281),r=_.n(u),d=_(40794),t=_.n(d),s=_(40367),e=_(84865),v=_(78234),j=_(69400),U=_(17673),I=_(67038),y=_(98971),E=_(85893);n.default=function(){var P=(0,y.useModel)("@@initialState"),C=P.initialState,T=P.setInitialState;return(0,v.Z)(t()(a()().mark(function h(){return a()().wrap(function(f){for(;;)switch(f.prev=f.next){case 0:j.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var b=t()(a()().mark(function R(){var M,O,o,l,p,D;return a()().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,T(r()(r()({},C),{},{currentUser:void 0}));case 2:M=(0,I.parse)(e.m.location.search),O=M,o=O.redirect_uri,l={pathname:s.wm},p=o&&o.split("/"),o&&o!==p[0]+"//"+p[2]+"/"&&(l=r()(r()({},l),{},{search:(0,U.stringify)({redirect_uri:o})})),D=e.m.createHref(l),window.location.replace(D);case 9:case"end":return m.stop()}},R)}));function B(){return b.apply(this,arguments)}return B}()});case 1:case"end":return f.stop()}},h)}))),(0,E.jsx)(E.Fragment,{})}},78234:function(c,n,_){var i=_(67294),a=_(92770),u=_(31663),r=function(t){u.Z&&((0,a.mf)(t)||console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof t,'".'))),(0,i.useEffect)(function(){t==null||t()},[])};n.Z=r},92770:function(c,n,_){_.d(n,{mf:function(){return a}});var i=function(e){return e!==null&&typeof e=="object"},a=function(e){return typeof e=="function"},u=function(e){return typeof e=="string"},r=function(e){return typeof e=="boolean"},d=function(e){return typeof e=="number"},t=function(e){return typeof e=="undefined"}},31663:function(c,n){var _=!1;n.Z=_}}]);

View File

@ -0,0 +1,18 @@
/*
* eiam-portal - Employee Identity and Access Management Program
* Copyright © 2020-2022 TopIAM (support@topiam.cn)
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Affero General Public License for more details.
*
* You should have received a copy of the GNU Affero General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
"use strict";(self.webpackChunktopiam_portal=self.webpackChunktopiam_portal||[]).push([[26],{24041:function(m,t,_){_.r(t);var r=_(97983),n=_.n(r),i=_(11281),a=_.n(i),s=_(40794),d=_.n(s),e=_(40367),E=_(84865),v=_(78234),j=_(69400),I=_(17673),U=_(67038),y=_(98971),f=_(85893);t.default=function(){var P=(0,y.useModel)("@@initialState"),C=P.initialState,T=P.setInitialState;return(0,v.Z)(d()(n()().mark(function h(){return n()().wrap(function(c){for(;;)switch(c.prev=c.next){case 0:j.Z.warning({title:"\u4F1A\u8BDD\u8FC7\u671F",content:"\u60A8\u7684\u767B\u5F55\u4FE1\u606F\u5DF2\u8FC7\u671F\uFF0C\u8BF7\u91CD\u65B0\u767B\u5F55\u3002",okText:"\u786E\u8BA4",okType:"danger",centered:!1,maskClosable:!1,okCancel:!1,onOk:function(){var R=d()(n()().mark(function b(){var M,O,o,l,p,D;return n()().wrap(function(u){for(;;)switch(u.prev=u.next){case 0:return u.next=2,T(a()(a()({},C),{},{currentUser:void 0}));case 2:M=(0,U.parse)(E.m.location.search),O=M,o=O.redirect_uri,l={pathname:e.wm},p=o&&o.split("/"),o&&o!==p[0]+"//"+p[2]+"/"&&(l=a()(a()({},l),{},{search:(0,I.stringify)({redirect_uri:o})})),D=E.m.createHref(l),window.location.replace(D);case 9:case"end":return u.stop()}},b)}));function B(){return R.apply(this,arguments)}return B}()});case 1:case"end":return c.stop()}},h)}))),(0,f.jsx)(f.Fragment,{})}},78234:function(m,t,_){var r=_(67294),n=_(92770),i=_(31663);const a=s=>{i.Z&&((0,n.mf)(s)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof s}".`)),(0,r.useEffect)(()=>{s==null||s()},[])};t.Z=a},92770:function(m,t,_){_.d(t,{mf:function(){return n}});const r=e=>e!==null&&typeof e=="object",n=e=>typeof e=="function",i=e=>typeof e=="string",a=e=>typeof e=="boolean",s=e=>typeof e=="number",d=e=>typeof e=="undefined"},31663:function(m,t){t.Z=!1}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long