"use strict";(self.webpackChunkportal_ui=self.webpackChunkportal_ui||[]).push([[4255],{14255:function(e,n,r){r.r(n);var t=r(77439),s=(r(57223),r(537)),c=r(12795),i=r(64519),o=r(90055),u=r(28939),a=r(70783),l=r(18054),f={setErrorSnackMessage:i.Ih},d=(0,s.$j)(null,f);n.default=d((function(e){var n=e.closeDeleteModalAndRefresh,r=e.deleteOpen,s=e.selectedUser,i=e.setErrorSnackMessage,f=(0,o.Z)((function(){return n(!0)}),(function(e){return i(e)})),d=(0,t.Z)(f,2),p=d[0],h=d[1];if(!s)return null;return(0,l.jsx)(u.Z,{title:"\u5220\u9664\u7528\u6237",confirmText:"\u5220\u9664",isOpen:r,titleIcon:(0,l.jsx)(a.Nv,{}),isLoading:p,onConfirm:function(){h("DELETE","/api/v1/user?name=".concat(encodeURI(s.accessKey)),{id:s.id})},onClose:function(){return n(!1)},confirmationContent:(0,l.jsxs)(c.Z,{children:["\u4f60\u662f\u5426\u786e\u8ba4\u5220\u9664\u7528\u6237\uff1a ",(0,l.jsx)("br",{}),(0,l.jsx)("b",{children:s.accessKey}),"?"]})})}))}}]);
//# sourceMappingURL=4255.f4d4144a.chunk.js.map