mirror of https://gitee.com/topiam/eiam
⚡ 优化
parent
7d9d4321f1
commit
6c52445dbc
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
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
|
@ -15,4 +15,4 @@
|
|||
* 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([[4097],{34097:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var c=t(79685),u=t(22590),o=t(63342);function s(){var E=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:E})}}}]);
|
||||
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[60],{34097:function(e,n,t){t.r(n),t.d(n,{default:function(){return s}});var c=t(79685),u=t(46022),o=t(63342);function s(){var E=(0,u.useOutletContext)();return(0,o.jsx)(u.Outlet,{context:E})}}}]);
|
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
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -25,9 +25,10 @@
|
|||
<link rel="shortcut icon" href="/favicon.ico">
|
||||
<title>企业数字身份管控平台</title>
|
||||
<link rel="stylesheet" href="/umi.d85528d9.css">
|
||||
<script src="/framework.040542cd.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script src="/umi.252b8ffb.js"></script>
|
||||
<script src="/umi.01cfb637.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
|
@ -15,4 +15,4 @@
|
|||
* 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([[2571],{98546:function(i,n,t){t.r(n);var s=t(38916),a=t(9101),u=t(22590),o=t(63342),e=function(){return(0,o.jsx)(s.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,o.jsx)(a.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=e}}]);
|
||||
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[571],{98546:function(i,n,t){t.r(n);var s=t(38916),a=t(9101),u=t(46022),o=t(63342),e=function(){return(0,o.jsx)(s.ZP,{status:"404",title:"404",subTitle:"Sorry, the page you visited does not exist.",extra:(0,o.jsx)(a.ZP,{type:"primary",onClick:function(){return u.history.push("/")},children:"Back Home"})})};n.default=e}}]);
|
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
|
@ -15,5 +15,5 @@
|
|||
* 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([[4815],{70695:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=["fieldProps","proFieldProps"],p="text",v=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,h);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:p,fieldProps:U,filedConfig:{valueType:p},proFieldProps:B},S))},R=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,O);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:"password",fieldProps:U,proFieldProps:B,filedConfig:{valueType:p}},S))},F=v;F.Password=R,F.displayName="ProFormComponent",y.Z=F},4647:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=function(v,R){var F=v.fieldProps,M=v.proFieldProps,o=(0,u.Z)(v,h);return(0,j.jsx)(f.Z,(0,T.Z)({ref:R,valueType:"textarea",fieldProps:F,proFieldProps:M},o))};y.Z=W.forwardRef(O)},39068:function(K,y,r){r.r(y),r.d(y,{default:function(){return or}});var T=r(84019),u=r.n(T),W=r(32061),f=r.n(W),j=r(76091),h=r.n(j),O=r(7863),p=r.n(O),v=r(9715),R=r(75109),F=r(43637),M=r(80591),o=r(55222),U=r(21722),B=r(95926),S=r(9101),$=r(41653),b=r(44659),V=r(98346),G=r(46673),L=r(79685),Q=r(7206),X=r(69072),z=r(70695),Y=r(4647),H=r(82769),J=r(98815),e=r(63342),k={labelCol:{span:4},wrapperCol:{span:19}},w=function(i){var E=(0,J.Z)(),l=p()(E,1),A=l[0],m=i.visible,s=i.onFinish,I=i.onCancel,d=(0,L.useState)(!1),t=p()(d,2),a=t[0],c=t[1];return(0,L.useEffect)(function(){m&&A.setFieldsValue({code:(0,Q.MX)(9)})}),(0,e.jsx)(X.Y,h()(h()({title:"\u65B0\u5EFA\u7528\u6237\u7EC4",form:A,scrollToFirstError:!0},k),{},{layout:"horizontal",labelAlign:"right",preserve:!1,width:"500px",open:m,modalProps:{maskClosable:!0,destroyOnClose:!0,onCancel:I},onFinish:function(){var g=f()(u()().mark(function P(D){var n;return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return c(!0),Z.next=3,s(D);case 3:return n=Z.sent,c(!1),Z.abrupt("return",!!n);case 6:case"end":return Z.stop()}},P)}));return function(P){return g.apply(this,arguments)}}(),children:(0,e.jsxs)(H.Z,{spinning:a,children:[(0,e.jsx)(z.Z,{name:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u540D\u79F0",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(z.Z,{name:"code",label:"\u7F16\u7801",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u7F16\u7801",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u7F16\u7801\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(Y.Z,{name:"remark",fieldProps:{rows:2,maxLength:20,showCount:!0},placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8\u4FE1\u606F",label:"\u5907\u6CE8"})]})}))},q=r(39620),x=r.n(q),_=r(69567),rr=r(53010),er=_.ZP.ConfigContext;function ar(){var i=(0,L.useContext)(er),E=i.getPrefixCls,l=".".concat(E()),A=(0,rr.l)(function(m){var s,I=m.token;return s={},x()(s,".user-group-remark",{boxSizing:"border-box",width:"100%",margin:"0 !important",color:"#00000073",fontSize:"14px"}),x()(s,"".concat(l,"-pro-card-title"),{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",alignItems:"center",display:"inline-flex"}),x()(s,"".concat(l,"-pro-card-extra"),{flex:"none"}),x()(s,"".concat(l,"-pro-card-actions"),x()({},`> li,
|
||||
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[815],{70695:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=["fieldProps","proFieldProps"],p="text",v=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,h);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:p,fieldProps:U,filedConfig:{valueType:p},proFieldProps:B},S))},R=function(o){var U=o.fieldProps,B=o.proFieldProps,S=(0,u.Z)(o,O);return(0,j.jsx)(f.Z,(0,T.Z)({valueType:"password",fieldProps:U,proFieldProps:B,filedConfig:{valueType:p}},S))},F=v;F.Password=R,F.displayName="ProFormComponent",y.Z=F},4647:function(K,y,r){var T=r(5543),u=r(66105),W=r(79685),f=r(44709),j=r(63342),h=["fieldProps","proFieldProps"],O=function(v,R){var F=v.fieldProps,M=v.proFieldProps,o=(0,u.Z)(v,h);return(0,j.jsx)(f.Z,(0,T.Z)({ref:R,valueType:"textarea",fieldProps:F,proFieldProps:M},o))};y.Z=W.forwardRef(O)},39068:function(K,y,r){r.r(y),r.d(y,{default:function(){return or}});var T=r(84019),u=r.n(T),W=r(32061),f=r.n(W),j=r(76091),h=r.n(j),O=r(7863),p=r.n(O),v=r(9715),R=r(75109),F=r(43637),M=r(80591),o=r(55222),U=r(21722),B=r(95926),S=r(9101),$=r(41653),b=r(44659),V=r(98346),G=r(46673),L=r(79685),Q=r(7206),X=r(69072),z=r(70695),Y=r(4647),H=r(82769),J=r(63929),e=r(63342),k={labelCol:{span:4},wrapperCol:{span:19}},w=function(i){var E=(0,J.Z)(),l=p()(E,1),A=l[0],m=i.visible,s=i.onFinish,I=i.onCancel,d=(0,L.useState)(!1),t=p()(d,2),a=t[0],c=t[1];return(0,L.useEffect)(function(){m&&A.setFieldsValue({code:(0,Q.MX)(9)})}),(0,e.jsx)(X.Y,h()(h()({title:"\u65B0\u5EFA\u7528\u6237\u7EC4",form:A,scrollToFirstError:!0},k),{},{layout:"horizontal",labelAlign:"right",preserve:!1,width:"500px",open:m,modalProps:{maskClosable:!0,destroyOnClose:!0,onCancel:I},onFinish:function(){var g=f()(u()().mark(function P(D){var n;return u()().wrap(function(Z){for(;;)switch(Z.prev=Z.next){case 0:return c(!0),Z.next=3,s(D);case 3:return n=Z.sent,c(!1),Z.abrupt("return",!!n);case 6:case"end":return Z.stop()}},P)}));return function(P){return g.apply(this,arguments)}}(),children:(0,e.jsxs)(H.Z,{spinning:a,children:[(0,e.jsx)(z.Z,{name:"name",label:"\u540D\u79F0",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u540D\u79F0",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u540D\u79F0\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(z.Z,{name:"code",label:"\u7F16\u7801",placeholder:"\u8BF7\u8F93\u5165\u7528\u6237\u7EC4\u7F16\u7801",rules:[{required:!0,message:"\u7528\u6237\u7EC4\u7F16\u7801\u4E3A\u5FC5\u586B\u9879"}]}),(0,e.jsx)(Y.Z,{name:"remark",fieldProps:{rows:2,maxLength:20,showCount:!0},placeholder:"\u8BF7\u8F93\u5165\u5907\u6CE8\u4FE1\u606F",label:"\u5907\u6CE8"})]})}))},q=r(39620),x=r.n(q),_=r(69567),rr=r(53010),er=_.ZP.ConfigContext;function ar(){var i=(0,L.useContext)(er),E=i.getPrefixCls,l=".".concat(E()),A=(0,rr.l)(function(m){var s,I=m.token;return s={},x()(s,".user-group-remark",{boxSizing:"border-box",width:"100%",margin:"0 !important",color:"#00000073",fontSize:"14px"}),x()(s,"".concat(l,"-pro-card-title"),{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",alignItems:"center",display:"inline-flex"}),x()(s,"".concat(l,"-pro-card-extra"),{flex:"none"}),x()(s,"".concat(l,"-pro-card-actions"),x()({},`> li,
|
||||
`.concat(l,"-space-item"),{margin:"5px 0"})),x()(s,"".concat(l,"-avatar"),{width:"32px !important",height:"32px !important",marginRight:"10px"}),x()(s,"".concat(l,"-avatar-circle"),{verticalAlign:"middle",backgroundColor:I.colorPrimary}),s});return{className:A}}var nr=r(68591),tr=r.n(nr),sr=B.Z.Paragraph,N=function(E){R.m.push("/account/user-group/detail?id=".concat(E,"&tab=member"))},ur=function(){var i=(0,L.useRef)(),E=(0,L.useState)(!1),l=p()(E,2),A=l[0],m=l[1],s=ar(),I=s.className;return(0,e.jsx)("div",{className:tr()(I),children:(0,e.jsxs)(o._z,{content:"\u7528\u6237\u7EC4\u662F\u7528\u6237\u7684\u96C6\u5408\uFF0C\u5C06\u5177\u6709\u76F8\u540C\u804C\u80FD\u7684\u7528\u6237\u6DFB\u52A0\u5230\u4E00\u8D77\uFF0C\u5373\u5F62\u6210\u7528\u6237\u7EC4\u3002\u5C06\u6743\u9650\u6388\u6743\u5230\u7528\u6237\u7EC4\u540E\uFF0C\u7528\u6237\u7EC4\u5185\u7684\u7528\u6237\u90FD\u5C06\u7EE7\u627F\u8BE5\u6743\u9650\uFF0C\u56E0\u6B64\uFF0C\u7528\u6237\u7EC4\u5341\u5206\u9002\u5408\u7528\u4E8E\u6279\u91CF\u6388\u6743\u3002",children:[(0,e.jsx)(U.Rs,{actionRef:i,showActions:"always",search:{},pagination:{size:"small",defaultPageSize:10,showSizeChanger:!1},rowKey:"id",toolBarRender:function(){return[(0,e.jsxs)(S.ZP,{type:"primary",onClick:function(){m(!0)},children:[(0,e.jsx)(F.Z,{}),"\u65B0\u589E\u7528\u6237\u7EC4"]},"add")]},grid:{gutter:8,xs:1,sm:1,md:3,lg:3,xl:4,xxl:5},headerTitle:"\u7528\u6237\u7EC4\u5217\u8868",form:{syncToUrl:function(t,a){return a==="get"?h()({},t):t}},metas:{title:{dataIndex:"name",title:"\u7528\u6237\u7EC4\u540D\u79F0",render:function(t,a){return(0,e.jsx)($.Z,{placement:"topLeft",title:a.name,children:(0,e.jsx)("a",{onClick:function(){N(a.id)},children:t})})}},avatar:{search:!1,render:function(t,a){return(0,e.jsx)(b.C,{children:a.name.substring(0,1).toLocaleUpperCase()})}},content:{search:!1,dataIndex:"remark",render:function(t,a){return(0,e.jsx)(sr,{className:"user-group-remark",ellipsis:{tooltip:a.remark},title:a.remark,children:a.remark?a.remark:(0,e.jsx)(e.Fragment,{children:"\xA0"})})}},actions:{cardActionProps:"actions",render:function(t,a){return[(0,e.jsx)("a",{onClick:function(){N(a.id)},children:"\u8BE6\u60C5"},"member"),(0,e.jsx)(V.Z,{title:"\u60A8\u786E\u5B9A\u8981\u5220\u9664\u7528\u6237\u7EC4\u5417\uFF1F",placement:"bottomRight",icon:(0,e.jsx)(M.Z,{style:{color:"red"}}),onConfirm:f()(u()().mark(function c(){var g,P,D;return u()().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,(0,v.AG)(a.id);case 2:if(g=C.sent,P=g.success,!P){C.next=8;break}return G.ZP.success("\u64CD\u4F5C\u6210\u529F"),(D=i.current)===null||D===void 0||D.reload(),C.abrupt("return");case 8:case"end":return C.stop()}},c)})),okText:"\u662F",cancelText:"\u5426",children:(0,e.jsx)("a",{target:"_blank",style:{color:"red"},children:"\u5220\u9664"},"remove")},"delete")]}}},request:v.S4}),(0,e.jsx)(w,{visible:A,onFinish:function(){var d=f()(u()().mark(function t(a){var c,g,P;return u()().wrap(function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,(0,v.wZ)(a);case 3:if(g=n.sent,P=g.success,(c=i.current)===null||c===void 0||c.reload(),!P){n.next=10;break}return G.ZP.success("\u64CD\u4F5C\u6210\u529F"),m(!1),n.abrupt("return",!0);case 10:return n.abrupt("return",!1);case 13:return n.prev=13,n.t0=n.catch(0),n.abrupt("return",!1);case 16:case"end":return n.stop()}},t,null,[[0,13]])}));return function(t){return d.apply(this,arguments)}}(),onCancel:function(){m(!1)}})]})})},or=ur}}]);
|
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
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
|
@ -1,18 +0,0 @@
|
|||
/*
|
||||
* eiam-console - Employee Identity and Access Management Program
|
||||
* Copyright © 2020-2023 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],{27755:function(C,o,t){t.r(o),t.d(o,{default:function(){return O}});var u=t(84019),r=t.n(u),n=t(76091),a=t.n(n),s=t(32061),f=t.n(s),e=t(7206),d=t(75109),E=t(22590),m=t(78035),v=t(51391),p=t(30708),c=t(63342),x=function(){var i=(0,E.useModel)("@@initialState"),R=i.initialState,S=i.setInitialState,F=(0,E.useLocation)();return(0,m.Z)(f()(r()().mark(function T(){return r()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:v.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 j=f()(r()().mark(function Z(){var h,P,l,I,g,D;return r()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,S(a()(a()({},R),{},{currentUser:void 0}));case 2:h=p.Z.parse(F.search),P=h,l=P.redirect_uri,I={pathname:e.wm},g=l&&l.split("/"),l&&l!==g[0]+"//"+g[2]+"/"&&(I=a()(a()({},I),{},{search:p.Z.stringify({redirect_uri:l})})),D=d.m.createHref(I),window.location.replace(D);case 9:case"end":return M.stop()}},Z)}));function U(){return j.apply(this,arguments)}return U}()});case 1:case"end":return y.stop()}},T)}))),(0,c.jsx)(c.Fragment,{})},O=function(){return(0,c.jsx)(x,{})}},78035:function(C,o,t){var u=t(79685),r=t(43865),n=t(15035);const a=s=>{n.Z&&((0,r.mf)(s)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof s}".`)),(0,u.useEffect)(()=>{s==null||s()},[])};o.Z=a},43865:function(C,o,t){t.d(o,{mf:function(){return r}});const u=e=>e!==null&&typeof e=="object",r=e=>typeof e=="function",n=e=>typeof e=="string",a=e=>typeof e=="boolean",s=e=>typeof e=="number",f=e=>typeof e=="undefined"},15035:function(C,o){o.Z=!1},19498:function(C,o,t){t.d(o,{RV:function(){return f},Rk:function(){return e},Ux:function(){return E},aM:function(){return d},q3:function(){return a},qI:function(){return s}});var u=t(59067),r=t(8779),n=t(79685);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),f=m=>{const v=(0,r.Z)(m,["prefixCls"]);return n.createElement(u.RV,Object.assign({},v))},e=n.createContext({prefixCls:""}),d=n.createContext({}),E=m=>{let{children:v,status:p,override:c}=m;const x=(0,n.useContext)(d),O=(0,n.useMemo)(()=>{const i=Object.assign({},x);return c&&delete i.isFormItemInput,p&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[p,c,x]);return n.createElement(d.Provider,{value:O},v)}}}]);
|
|
@ -0,0 +1,18 @@
|
|||
/*
|
||||
* eiam-console - Employee Identity and Access Management Program
|
||||
* Copyright © 2020-2023 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([[648],{27755:function(C,o,t){t.r(o),t.d(o,{default:function(){return O}});var u=t(84019),r=t.n(u),n=t(76091),a=t.n(n),s=t(32061),f=t.n(s),e=t(7206),d=t(75109),E=t(46022),m=t(78035),v=t(51391),p=t(30708),c=t(63342),x=function(){var i=(0,E.useModel)("@@initialState"),R=i.initialState,S=i.setInitialState,F=(0,E.useLocation)();return(0,m.Z)(f()(r()().mark(function T(){return r()().wrap(function(y){for(;;)switch(y.prev=y.next){case 0:v.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 j=f()(r()().mark(function Z(){var h,P,l,I,g,D;return r()().wrap(function(M){for(;;)switch(M.prev=M.next){case 0:return M.next=2,S(a()(a()({},R),{},{currentUser:void 0}));case 2:h=p.Z.parse(F.search),P=h,l=P.redirect_uri,I={pathname:e.wm},g=l&&l.split("/"),l&&l!==g[0]+"//"+g[2]+"/"&&(I=a()(a()({},I),{},{search:p.Z.stringify({redirect_uri:l})})),D=d.m.createHref(I),window.location.replace(D);case 9:case"end":return M.stop()}},Z)}));function U(){return j.apply(this,arguments)}return U}()});case 1:case"end":return y.stop()}},T)}))),(0,c.jsx)(c.Fragment,{})},O=function(){return(0,c.jsx)(x,{})}},78035:function(C,o,t){var u=t(79685),r=t(43865),n=t(15035);const a=s=>{n.Z&&((0,r.mf)(s)||console.error(`useMount: parameter \`fn\` expected to be a function, but got "${typeof s}".`)),(0,u.useEffect)(()=>{s==null||s()},[])};o.Z=a},43865:function(C,o,t){t.d(o,{mf:function(){return r}});const u=e=>e!==null&&typeof e=="object",r=e=>typeof e=="function",n=e=>typeof e=="string",a=e=>typeof e=="boolean",s=e=>typeof e=="number",f=e=>typeof e=="undefined"},15035:function(C,o){o.Z=!1},19498:function(C,o,t){t.d(o,{RV:function(){return f},Rk:function(){return e},Ux:function(){return E},aM:function(){return d},q3:function(){return a},qI:function(){return s}});var u=t(59067),r=t(8779),n=t(79685);const a=n.createContext({labelAlign:"right",vertical:!1,itemRef:()=>{}}),s=n.createContext(null),f=m=>{const v=(0,r.Z)(m,["prefixCls"]);return n.createElement(u.RV,Object.assign({},v))},e=n.createContext({prefixCls:""}),d=n.createContext({}),E=m=>{let{children:v,status:p,override:c}=m;const x=(0,n.useContext)(d),O=(0,n.useMemo)(()=>{const i=Object.assign({},x);return c&&delete i.isFormItemInput,p&&(delete i.status,delete i.hasFeedback,delete i.feedbackIcon),i},[p,c,x]);return n.createElement(d.Provider,{value:O},v)}}}]);
|
File diff suppressed because one or more lines are too long
|
@ -15,7 +15,7 @@
|
|||
* 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([[2673],{18876:function(k,w,r){r.d(w,{Z:function(){return me}});var f=r(88222),s=r(79685),o=r(50374),M=r(36345),S=r(13782),l=s.createContext(null),v=l,g=r(23570),h=r(67846),p=[];function P($,b){var z=s.useState(function(){if(!(0,M.Z)())return null;var m=document.createElement("div");return m}),J=(0,f.Z)(z,1),E=J[0],G=s.useRef(!1),H=s.useContext(v),n=s.useState(p),i=(0,f.Z)(n,2),a=i[0],c=i[1],C=H||(G.current?void 0:function(m){c(function(I){var x=[m].concat((0,g.Z)(I));return x})});function u(){E.parentElement||document.body.appendChild(E),G.current=!0}function y(){var m;(m=E.parentElement)===null||m===void 0||m.removeChild(E),G.current=!1}return(0,h.Z)(function(){return $?H?H(u):u():y(),y},[$]),(0,h.Z)(function(){a.length&&(a.forEach(function(m){return m()}),c(p))},[a]),[E,C]}var e=r(31936),t=r(57749);function d(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var T="rc-util-locker-".concat(Date.now()),B=0;function se($){var b=!!$,z=s.useState(function(){return B+=1,"".concat(T,"_").concat(B)}),J=(0,f.Z)(z,1),E=J[0];(0,h.Z)(function(){if(b){var G=(0,t.Z)(),H=d();(0,e.hq)(`
|
||||
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[179],{18876:function(k,w,r){r.d(w,{Z:function(){return me}});var f=r(88222),s=r(79685),o=r(50374),M=r(36345),S=r(13782),l=s.createContext(null),v=l,g=r(23570),h=r(67846),p=[];function P($,b){var z=s.useState(function(){if(!(0,M.Z)())return null;var m=document.createElement("div");return m}),J=(0,f.Z)(z,1),E=J[0],G=s.useRef(!1),H=s.useContext(v),n=s.useState(p),i=(0,f.Z)(n,2),a=i[0],c=i[1],C=H||(G.current?void 0:function(m){c(function(I){var x=[m].concat((0,g.Z)(I));return x})});function u(){E.parentElement||document.body.appendChild(E),G.current=!0}function y(){var m;(m=E.parentElement)===null||m===void 0||m.removeChild(E),G.current=!1}return(0,h.Z)(function(){return $?H?H(u):u():y(),y},[$]),(0,h.Z)(function(){a.length&&(a.forEach(function(m){return m()}),c(p))},[a]),[E,C]}var e=r(31936),t=r(57749);function d(){return document.body.scrollHeight>(window.innerHeight||document.documentElement.clientHeight)&&window.innerWidth>document.body.offsetWidth}var T="rc-util-locker-".concat(Date.now()),B=0;function se($){var b=!!$,z=s.useState(function(){return B+=1,"".concat(T,"_").concat(B)}),J=(0,f.Z)(z,1),E=J[0];(0,h.Z)(function(){if(b){var G=(0,t.Z)(),H=d();(0,e.hq)(`
|
||||
html body {
|
||||
overflow-y: hidden;
|
||||
`.concat(H?"width: calc(100% - ".concat(G,"px);"):"",`
|
|
@ -15,7 +15,7 @@
|
|||
* 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([[869],{869:function(ve,G,p){p.d(G,{Z:function(){return be}});var W=p(68591),m=p.n(W),o=p(79685),b=p(86787),y=p(8779),x=e=>{const{prefixCls:t,className:n,style:l,size:a,shape:i}=e,c=m()({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),r=m()({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),s=o.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return o.createElement("span",{className:m()(t,c,r,n),style:Object.assign(Object.assign({},s),l)})},X=p(25646),F=p(83763),q=p(92232);const V=new X.E4("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),j=e=>({height:e,lineHeight:`${e}px`}),f=e=>Object.assign({width:e},j(e)),J=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:V,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),w=e=>Object.assign({width:e*5,minWidth:e*5},j(e)),K=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:l,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},f(l)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},f(a)),[`${t}${t}-sm`]:Object.assign({},f(i))}},Q=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:l,controlHeightLG:a,controlHeightSM:i,color:c}=e;return{[`${l}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:n},w(t)),[`${l}-lg`]:Object.assign({},w(a)),[`${l}-sm`]:Object.assign({},w(i))}},A=e=>Object.assign({width:e},j(e)),U=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:l,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:l,borderRadius:a},A(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},A(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},P=(e,t,n)=>{const{skeletonButtonCls:l}=e;return{[`${n}${l}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${l}-round`]:{borderRadius:t}}},I=e=>Object.assign({width:e*2,minWidth:e*2},j(e)),Y=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:l,controlHeightLG:a,controlHeightSM:i,color:c}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:t,width:l*2,minWidth:l*2},I(l))},P(e,l,n)),{[`${n}-lg`]:Object.assign({},I(a))}),P(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},I(i))}),P(e,i,`${n}-sm`))},_=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:l,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:c,skeletonImageCls:r,controlHeight:s,controlHeightLG:g,controlHeightSM:d,color:u,padding:$,marginSM:R,borderRadius:h,skeletonTitleHeight:z,skeletonBlockRadius:E,skeletonParagraphLineHeight:k,controlHeightXS:S,skeletonParagraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:$,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:u},f(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},f(g)),[`${n}-sm`]:Object.assign({},f(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${l}`]:{width:"100%",height:z,background:u,borderRadius:E,[`+ ${a}`]:{marginBlockStart:d}},[`${a}`]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:u,borderRadius:E,"+ li":{marginBlockStart:S}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${l}, ${a} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[`${l}`]:{marginBlockStart:R,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Y(e)),K(e)),Q(e)),U(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${c}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
|
||||
"use strict";(self.webpackChunktopiam_console=self.webpackChunktopiam_console||[]).push([[925],{869:function(ve,G,p){p.d(G,{Z:function(){return be}});var W=p(68591),m=p.n(W),o=p(79685),b=p(86787),y=p(8779),x=e=>{const{prefixCls:t,className:n,style:l,size:a,shape:i}=e,c=m()({[`${t}-lg`]:a==="large",[`${t}-sm`]:a==="small"}),r=m()({[`${t}-circle`]:i==="circle",[`${t}-square`]:i==="square",[`${t}-round`]:i==="round"}),s=o.useMemo(()=>typeof a=="number"?{width:a,height:a,lineHeight:`${a}px`}:{},[a]);return o.createElement("span",{className:m()(t,c,r,n),style:Object.assign(Object.assign({},s),l)})},X=p(25646),F=p(83763),q=p(92232);const V=new X.E4("ant-skeleton-loading",{"0%":{transform:"translateX(-37.5%)"},"100%":{transform:"translateX(37.5%)"}}),j=e=>({height:e,lineHeight:`${e}px`}),f=e=>Object.assign({width:e},j(e)),J=e=>({position:"relative",zIndex:0,overflow:"hidden",background:"transparent","&::after":{position:"absolute",top:0,insetInlineEnd:"-150%",bottom:0,insetInlineStart:"-150%",background:e.skeletonLoadingBackground,animationName:V,animationDuration:e.skeletonLoadingMotionDuration,animationTimingFunction:"ease",animationIterationCount:"infinite",content:'""'}}),w=e=>Object.assign({width:e*5,minWidth:e*5},j(e)),K=e=>{const{skeletonAvatarCls:t,color:n,controlHeight:l,controlHeightLG:a,controlHeightSM:i}=e;return{[`${t}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:n},f(l)),[`${t}${t}-circle`]:{borderRadius:"50%"},[`${t}${t}-lg`]:Object.assign({},f(a)),[`${t}${t}-sm`]:Object.assign({},f(i))}},Q=e=>{const{controlHeight:t,borderRadiusSM:n,skeletonInputCls:l,controlHeightLG:a,controlHeightSM:i,color:c}=e;return{[`${l}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:n},w(t)),[`${l}-lg`]:Object.assign({},w(a)),[`${l}-sm`]:Object.assign({},w(i))}},A=e=>Object.assign({width:e},j(e)),U=e=>{const{skeletonImageCls:t,imageSizeBase:n,color:l,borderRadiusSM:a}=e;return{[`${t}`]:Object.assign(Object.assign({display:"flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",background:l,borderRadius:a},A(n*2)),{[`${t}-path`]:{fill:"#bfbfbf"},[`${t}-svg`]:Object.assign(Object.assign({},A(n)),{maxWidth:n*4,maxHeight:n*4}),[`${t}-svg${t}-svg-circle`]:{borderRadius:"50%"}}),[`${t}${t}-circle`]:{borderRadius:"50%"}}},P=(e,t,n)=>{const{skeletonButtonCls:l}=e;return{[`${n}${l}-circle`]:{width:t,minWidth:t,borderRadius:"50%"},[`${n}${l}-round`]:{borderRadius:t}}},I=e=>Object.assign({width:e*2,minWidth:e*2},j(e)),Y=e=>{const{borderRadiusSM:t,skeletonButtonCls:n,controlHeight:l,controlHeightLG:a,controlHeightSM:i,color:c}=e;return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:c,borderRadius:t,width:l*2,minWidth:l*2},I(l))},P(e,l,n)),{[`${n}-lg`]:Object.assign({},I(a))}),P(e,a,`${n}-lg`)),{[`${n}-sm`]:Object.assign({},I(i))}),P(e,i,`${n}-sm`))},_=e=>{const{componentCls:t,skeletonAvatarCls:n,skeletonTitleCls:l,skeletonParagraphCls:a,skeletonButtonCls:i,skeletonInputCls:c,skeletonImageCls:r,controlHeight:s,controlHeightLG:g,controlHeightSM:d,color:u,padding:$,marginSM:R,borderRadius:h,skeletonTitleHeight:z,skeletonBlockRadius:E,skeletonParagraphLineHeight:k,controlHeightXS:S,skeletonParagraphMarginTop:O}=e;return{[`${t}`]:{display:"table",width:"100%",[`${t}-header`]:{display:"table-cell",paddingInlineEnd:$,verticalAlign:"top",[`${n}`]:Object.assign({display:"inline-block",verticalAlign:"top",background:u},f(s)),[`${n}-circle`]:{borderRadius:"50%"},[`${n}-lg`]:Object.assign({},f(g)),[`${n}-sm`]:Object.assign({},f(d))},[`${t}-content`]:{display:"table-cell",width:"100%",verticalAlign:"top",[`${l}`]:{width:"100%",height:z,background:u,borderRadius:E,[`+ ${a}`]:{marginBlockStart:d}},[`${a}`]:{padding:0,"> li":{width:"100%",height:k,listStyle:"none",background:u,borderRadius:E,"+ li":{marginBlockStart:S}}},[`${a}> li:last-child:not(:first-child):not(:nth-child(2))`]:{width:"61%"}},[`&-round ${t}-content`]:{[`${l}, ${a} > li`]:{borderRadius:h}}},[`${t}-with-avatar ${t}-content`]:{[`${l}`]:{marginBlockStart:R,[`+ ${a}`]:{marginBlockStart:O}}},[`${t}${t}-element`]:Object.assign(Object.assign(Object.assign(Object.assign({display:"inline-block",width:"auto"},Y(e)),K(e)),Q(e)),U(e)),[`${t}${t}-block`]:{width:"100%",[`${i}`]:{width:"100%"},[`${c}`]:{width:"100%"}},[`${t}${t}-active`]:{[`
|
||||
${l},
|
||||
${a} > li,
|
||||
${n},
|
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
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
Loading…
Reference in New Issue