import{j as s,bA as o,b7 as i,bT as u,ck as t}from"./app-BgLa5dit.js";import{B as c}from"./CZah41G2.chunk.js";import{B as a}from"./BXi1HfY0.chunk.js";import{B as l}from"./DpUpv6rY.chunk.js";import{W as m}from"./CZyx6Aii.chunk.js";const n="userManager.bulkUserActionsDeleteConfirmation";function j(e){l.useSetWizardConfirmationCallback(e.onClickConfirm);const r=(e.countsByStatus.Disabled??0)+(e.countsByStatus.Inactive??0);return s.jsxs(o.Provider,{value:n,children:[s.jsxs(m,{children:[s.jsx("p",{className:"fw-semibold",children:s.jsx(i,{namespace:n,phrase:e.userType===u.Learner?"deleteStudents":"deleteStaff",options:{smartCount:r}})}),s.jsxs("ul",{className:"ms-3 ps-1 my-2",children:[s.jsx("li",{children:s.jsx(i,{namespace:n,phrase:"info1"})}),s.jsx("li",{className:"text-danger",children:s.jsx(i,{namespace:n,phrase:"info2"})})]}),s.jsx(a,{userType:e.userType,countsByStatus:e.countsByStatus,changeTo:{[t.Active]:a.Outcomes.NoChange,[t.Disabled]:a.Outcomes.Deleted,[t.Inactive]:a.Outcomes.Deleted},disabled:!0})]}),s.jsx(c,{users:e.users,statuses:[t.Inactive,t.Disabled],imageCdnUrl:e.imageCdnUrl,hasMore:e.hasMoreUsers,isFetching:e.isFetchingUsers,fetchNext:e.fetchNextUserPage,userType:e.userType,userCount:r})]})}export{j as B};
//# sourceMappingURL=C5UFx8cV.chunk.js.map
