web-interface.assets.07ba022f-6436.892714e2b183b681b9ba.js Maven / Gradle / Ivy
"use strict";(()=>{(self.webpackChunkgraylog_web_interface=self.webpackChunkgraylog_web_interface||[]).push([["07ba022f-6436"],{"dan3/ZI+":($,T,s)=>{s.d(T,{Z:()=>d,_:()=>e._});var e=s("xfUIbHjs");const d=e.Z},"tJ+zurXu":($,T,s)=>{s.d(T,{Z:()=>S});var e=s("Z7aTuO5B"),d=s("QBkUz07U"),p=s("/GOzvPf6");const S=({role:{name:a,description:h}})=>e.createElement(d.Z,{title:"Profile"},e.createElement(p.mv,{label:"Name",value:a}),e.createElement(p.mv,{label:"Description",value:h}))},QFEPqbjA:($,T,s)=>{s.d(T,{Z:()=>a});var e=s("Z7aTuO5B"),d=s("ty2gyrHp"),p=s("d4kzUuQm"),i=s("uZqmR+ju");const a=({roleId:h})=>e.createElement(i.ButtonToolbar,null,e.createElement(d.J,{to:p.ZP.SYSTEM.AUTHZROLES.show(h)},e.createElement(i.Button,{bsStyle:"success"},"View Details")),e.createElement(d.J,{to:p.ZP.SYSTEM.AUTHZROLES.edit(h)},e.createElement(i.Button,{bsStyle:"success"},"Edit Role")))},Lu0NTOJv:($,T,s)=>{s.d(T,{Z:()=>P});var e=s("KOKBnITH"),d=s("lDGobrly");const p=(0,d.Z)({action:e.p.load,error:(u,c)=>({message:`Loading role with id "${c}" failed with status: ${u}`}),notFoundRedirect:!0}),i=(0,d.Z)({action:e.p.delete,success:(u,c)=>({message:`Role "${c}" was deleted successfully`}),error:(u,c,R)=>({message:`Deleting role "${R}" failed with status: ${u}`})}),S=(0,d.Z)({action:e.p.addMembers,success:(u,c)=>({message:`Users:"${c.join(", ")}" were assigned successfully`}),error:(u,c,R)=>({message:`Assigning users "${R.join(", ")}" failed with status: ${u}`})}),a=(0,d.Z)({action:e.p.removeMember,success:(u,c)=>({message:`User "${c}" was unassigned successfully`}),error:(u,c,R)=>({message:`Unassign user "${R}" failed with status: ${u}`})}),h=(0,d.Z)({action:e.p.loadUsersForRole,error:(u,c,R)=>({message:`Loading users for role "${R}" failed with status: ${u}`})}),E=(0,d.Z)({action:e.p.loadRolesForUser,error:(u,c)=>({message:`Loading roles for user "${c}" failed with status: ${u}`})}),m=(0,d.Z)({action:e.p.loadRolesPaginated,error:u=>({message:`Loading roles failed with status: ${u}`})}),P={load:p,delete:i,addMembers:S,removeMember:a,loadUsersForRole:h,loadRolesForUser:E,loadRolesPaginated:m}},"92lPlKXC":($,T,s)=>{s.d(T,{Z:()=>U});var e=s("cSDA0Pof"),d=s("lDGobrly");const p=(0,d.Z)({action:e.X.create,success:l=>({message:`User "${l==null?void 0:l.first_name} ${l==null?void 0:l.last_name}" was created successfully`}),error:(l,n)=>({message:`Creating user "${n==null?void 0:n.first_name} ${n==null?void 0:n.last_name}" failed with status: ${l}`})}),i=(0,d.Z)({action:e.X.load,error:(l,n)=>({message:`Loading user with id "${n}" failed with status: ${l}`}),notFoundRedirect:!0}),S=(0,d.Z)({action:e.X.loadByUsername,error:(l,n)=>({message:`Loading user with username "${n}" failed with status: ${l}`}),notFoundRedirect:!0}),a=(0,d.Z)({action:e.X.update,success:(l,n,r)=>({message:`User "${r}" was updated successfully`}),error:(l,n,r,t)=>({message:`Updating user "${t}" failed with status: ${l}`})}),h=(0,d.Z)({action:e.X.delete,success:(l,n)=>({message:`User "${n}" was deleted successfully`}),error:(l,n,r)=>({message:`Deleting user "${r}" failed with status: ${l}`})}),E=(0,d.Z)({action:e.X.changePassword,success:()=>({message:"Password was changed successfully "}),error:(l,n)=>({message:`Changing password for user with id "${n}" failed with status: ${l}`})}),m=(0,d.Z)({action:e.X.createToken,success:(l,n)=>({message:`Token "${n}" created successfully`}),error:(l,n,r)=>({message:`Creating token "${r}" for user with id "${n}" failed with status: ${l}`})}),P=(0,d.Z)({action:e.X.loadTokens,error:(l,n)=>({message:`Loading tokens for user with id "${n}" failed with status: ${l}`})}),u=(0,d.Z)({action:e.X.deleteToken,success:(l,n,r)=>({message:`Token "${r}" deleted successfully`}),error:(l,n,r,t)=>({message:`Deleting token "${t}" for user with id "${n}" failed with status: ${l}`})}),c=(0,d.Z)({action:e.X.loadUsers,error:l=>({message:`Loading users failed with status: ${l}`})}),R=(0,d.Z)({action:e.X.loadUsersPaginated,error:l=>({message:`Loading users failed with status: ${l}`})}),O=(0,d.Z)({action:e.X.setStatus,success:(l,n)=>({message:`User "${l}" was set to ${n}`}),error:(l,n,r)=>({message:`Updating user ("${n}") to ${r} failed with status: ${l}`})}),U={create:p,load:i,loadByUsername:S,update:a,delete:h,changePassword:E,createToken:m,loadTokens:P,deleteToken:u,loadUsers:c,loadUsersPaginated:R,setStatus:O}},"nmSm+aR9":($,T,s)=>{s.d(T,{Z:()=>p});var e=s("VPaD/Np4"),d=s.n(e);class p{constructor(a,h,E,m,P,u,c,R,O,U,l,n,r,t,o){this._value={id:a,username:h,fullName:E,email:m,roles:P,readOnly:u,external:c,sessionActive:R,clientAddress:O,lastActivity:U,enabled:l,authServiceId:n,authServiceUid:r,authServiceEnabled:t,accountStatus:o}}get id(){return this._value.id}get username(){return this._value.username}get name(){return this._value.username}get fullName(){return this._value.fullName}get description(){return this._value.fullName}get email(){return this._value.email}get roles(){return this._value.roles}get readOnly(){return this._value.readOnly}get external(){return this._value.external}get sessionActive(){return this._value.sessionActive}get clientAddress(){return this._value.clientAddress}get lastActivity(){return this._value.lastActivity}get enabled(){return this._value.enabled}get authServiceId(){return this._value.authServiceId}get authServiceUid(){return this._value.authServiceUid}get authServiceEnabled(){return this._value.authServiceEnabled}get accountStatus(){return this._value.accountStatus}toBuilder(){const{id:a,username:h,fullName:E,email:m,roles:P,readOnly:u,external:c,sessionActive:R,clientAddress:O,lastActivity:U,enabled:l,authServiceId:n,authServiceUid:r,authServiceEnabled:t,accountStatus:o}=this._value;return new i(e.Map({id:a,username:h,fullName:E,email:m,roles:P,readOnly:u,external:c,sessionActive:R,clientAddress:O,lastActivity:U,enabled:l,authServiceId:n,authServiceUid:r,authServiceEnabled:t,accountStatus:o}))}static create(a,h,E,m,P,u,c,R,O,U,l,n,r,t,o){return new p(a,h,E,m,P,u,c,R,O,U,l,n,r,t,o)}toJSON(){const{id:a,username:h,fullName:E,email:m,roles:P,readOnly:u,external:c,sessionActive:R,clientAddress:O,lastActivity:U,enabled:l,authServiceId:n,authServiceUid:r,authServiceEnabled:t,accountStatus:o}=this._value;return{id:a,username:h,full_name:E,email:m,roles:P.toArray(),read_only:u,external_user:c,session_active:R,client_address:O,last_activity:U,enabled:l,auth_service_id:n,auth_service_uid:r,auth_service_enabled:t,account_status:o}}static fromJSON(a){const{id:h,username:E,full_name:m,email:P,roles:u,read_only:c,external_user:R,session_active:O,client_address:U,last_activity:l,enabled:n,auth_service_id:r,auth_service_uid:t,auth_service_enabled:o,account_status:v}=a;return p.create(h,E,m,P,e.Set(u),c!=null?c:!1,R!=null?R:!1,O!=null?O:!1,U,l,n,r,t,o,v)}static builder(){return new i}}class i{constructor(a=e.Map()){this.value=a}id(a){return new i(this.value.set("id",a))}username(a){return new i(this.value.set("username",a))}fullName(a){return new i(this.value.set("fullName",a))}email(a){return new i(this.value.set("email",a))}roles(a){return new i(this.value.set("roles",a))}readOnly(a){return new i(this.value.set("readOnly",a))}external(a){return new i(this.value.set("external",a))}sessionActive(a){return new i(this.value.set("sessionActive",a))}clientAddress(a){return new i(this.value.set("clientAddress",a))}lastActivity(a){return new i(this.value.set("lastActivity",a))}enabled(a){return new i(this.value.set("enabled",a))}authServiceId(a){return new i(this.value.set("authServiceId",a))}authServiceUid(a){return new i(this.value.set("authServiceUid",a))}authServiceEnabled(a){return new i(this.value.set("authServiceEnabled",a))}accountStatus(a){return new i(this.value.set("accountStatus",a))}build(){const{id:a,username:h,fullName:E,email:m,roles:P,readOnly:u,external:c,sessionActive:R,clientAddress:O,lastActivity:U,enabled:l,authServiceId:n,authServiceUid:r,authServiceEnabled:t,accountStatus:o}=this.value.toObject();return new p(a,h,E,m,P,u,c,R,O,U,l,n,r,t,o)}}},tGaNIta6:($,T,s)=>{s.r(T),s.d(T,{default:()=>re});var e=s("Z7aTuO5B"),d=s("c9JM82dZ"),p=s("ty2gyrHp"),i=s("/GOzvPf6"),S=s("J6y4/h8P"),a=s("Lu0NTOJv"),h=s("dan3/ZI+"),E=s("QBkUz07U"),m=s("MdYBRjRJ"),P=s("8OvTct/Z"),u=s("0t7Ye+61"),c=s("v4GbOr/o"),R=s("UiXZqrDE"),O=s("X8pjX0rJ"),U=s.n(O),l=s("VPaD/Np4"),n=s("KOKBnITH"),r=s("92lPlKXC"),t=s("uZqmR+ju");const o=(0,S.default)(t.Button)`
margin-left: 15px;
`,v=S.default.div`
display: flex;
`,g=S.default.div(({theme:A})=>(0,S.css)`
width: 100%;
margin-top: 3px;
color: ${A.colors.variant.danger};
> * {
margin-right: 5px;
&:last-child {
margin-right: 0;
}
}
`),f=S.default.div`
display: flex;
align-items: center;
`,C=(0,S.default)(i.Ph)`
flex: 1;
`,N=({label:A})=>e.createElement(f,null,A),z=A=>M=>M?void 0:`The ${A} is required`,G=({role:A,onSubmit:M})=>{const[Z,B]=(0,e.useState)(l.List.of()),[K,x]=(0,e.useState)([]),[b,F]=(0,e.useState)(),W=(0,e.useCallback)(()=>{const I={page:1,perPage:0,query:""};r.Z.loadUsersPaginated(I).then(_=>{const w=_.list.filter(y=>!y.roles.includes(A.name)).map(y=>({label:y.name,value:y.name})).toArray();x(w),B(_.list)})},[A]),J=({user:I},{resetForm:_})=>{if(!I)return;const w=I.split(","),y=l.Set(U()(w.map(D=>Z.find(L=>L.username===D))));if(!y){F(`This is an exceptional error! Unable to find user with name ${I} in ${Z.map(D=>D.username).join(", ")}`);return}F(void 0),M(y).then(()=>{_()})};return(0,e.useEffect)(()=>{W();const I=n.p.addMembers.completed.listen(W),_=n.p.removeMember.completed.listen(W);return()=>{_(),I()}},[A,W]),e.createElement("div",null,e.createElement(i.hW,{onClose:F,runtimeError:!0},b),e.createElement(R.Formik,{onSubmit:J,initialValues:{user:void 0}},({isSubmitting:I,isValid:_,errors:w})=>e.createElement(R.Form,null,e.createElement(v,null,e.createElement(R.Field,{name:"user",validate:z("user")},({field:{name:y,value:D,onChange:L}})=>e.createElement(C,{inputProps:{"aria-label":"Search for users"},onChange:oe=>{L({target:{value:oe,name:y}})},optionRenderer:N,multi:!0,options:K,placeholder:"Search for users",value:D})),e.createElement(o,{bsStyle:"success",disabled:I||!_,title:"Assign User",type:"submit"},"Assign User")),w&&e.createElement(g,null,Object.entries(w).map(([y,D])=>e.createElement("span",{key:y},String(D),"."))))))},X=S.default.div`
margin-top: 15px;
margin-bottom: 15px;
`,j=({role:{id:A,name:M},role:Z})=>{const[B,K]=(0,e.useState)(!1),[x,b]=(0,e.useState)(),[F,W]=(0,e.useState)(),{pathname:J}=(0,u.Z)(),I=(0,P.Z)(),_=(0,e.useCallback)(D=>(K(!0),a.Z.loadUsersForRole(A,M,D).then(L=>(K(!1),L))),[A,M]),w=D=>(I(c.A.ROLES.USER_ASSIGNED,{app_pathname:(0,m.av)(J),app_section:"role-edit",app_action_value:"assign-user"}),a.Z.addMembers(A,D.map(L=>L.username).toSet()).then(()=>_(h._).then(L=>(b(L),L)))),y=D=>{if(I(c.A.ROLES.USER_UNASSIGNED,{app_pathname:(0,m.av)(J),app_section:"role-edit",app_action_value:"unassign-user"}),(Z.name==="Reader"||Z.name==="Admin")&&(!D.roles.includes("Reader")||!D.roles.includes("Admin"))){W(`User '${D.name}' needs at least a Reader or Admin role.`),_(h._).then(b);return}W(void 0),a.Z.removeMember(A,D.name).then(()=>{_(h._).then(b)})};return e.createElement(E.Z,{title:"Users",showLoading:B},e.createElement("h3",null,"Assign Users"),e.createElement(X,null,e.createElement(G,{onSubmit:w,role:Z})),e.createElement(i.hW,{onClose:W},F),e.createElement("h3",null,"Selected Users"),e.createElement(X,null,e.createElement(i.BN,{noDataText:"No selected users have been found.",onLoad:_,overrideList:x,onDeleteItem:y})))};var H=s("QL8i6bcz");const Q=({role:A})=>{var M;const Z=H.G.exports("teams"),B=(M=Z==null?void 0:Z[0])==null?void 0:M.RoleTeamsAssignment;return e.createElement(E.Z,{title:"Teams"},B?e.createElement(B,{role:A}):e.createElement(i.VL,{featureName:"teams"}))};var V=s("tJ+zurXu"),Y=s("3yfJIRSb");const k=({role:A})=>A?e.createElement(Y.Z,null,e.createElement("div",null,e.createElement(V.Z,{role:A})),e.createElement("div",null,e.createElement(j,{role:A}),e.createElement(i.AE,{permissions:"teams:edit"},e.createElement(Q,{role:A})))):e.createElement(i.$j,null);var q=s("d4kzUuQm"),ee=s("QFEPqbjA"),te=s("E+CaPsQD");const se=({name:A})=>e.createElement(e.Fragment,null,"Edit Role ",A&&e.createElement(e.Fragment,null,"- ",e.createElement("i",null,A))),ne=({params:A})=>{var M;const[Z,B]=(0,e.useState)(),K=A==null?void 0:A.roleId;return(0,e.useEffect)(()=>{n.p.load(K).then(B)},[K]),e.createElement(i.$4,{title:`Edit Role ${(M=Z==null?void 0:Z.name)!=null?M:""}`},e.createElement(i.mr,{title:e.createElement(se,{name:Z==null?void 0:Z.name}),actions:e.createElement(ee.Z,{roleId:K}),topActions:e.createElement(p.J,{to:q.ZP.SYSTEM.AUTHZROLES.OVERVIEW},e.createElement(t.Button,{bsStyle:"info"},"Roles Overview")),documentationLink:{title:"Permissions documentation",path:te.Z.PAGES.USERS_ROLES}},e.createElement("span",null,"You can assign the role to users.")),e.createElement(k,{role:K===(Z==null?void 0:Z.id)?Z:void 0}))},re=(0,d.Z)(ne)},c9JM82dZ:($,T,s)=>{s.d(T,{Z:()=>i});var e=s("Z7aTuO5B"),d=s("yAXMqwrl");const i=S=>a=>{const h=(0,d.useParams)();return e.createElement(S,{...a,params:h})}},KOKBnITH:($,T,s)=>{s.d(T,{p:()=>c});var e=s("JnTtTRmZ"),d=s.n(e),p=s("VPaD/Np4"),i=s("eFxcQyPT"),S=s("U1Iufsob"),a=s("MdYBRjRJ"),h=s("IA3Ku5lS"),E=s("gyRmhZSW");class m{constructor(t,o,v,g,f){this._value={id:t,name:o,description:v,permissions:g,readOnly:f}}get id(){return this._value.id}get name(){return this._value.name}get description(){return this._value.description}get permissions(){return this._value.permissions}get readOnly(){return this._value.readOnly}toBuilder(){const{id:t,name:o,description:v,permissions:g,readOnly:f}=this._value;return new P(p.Map({id:t,name:o,description:v,permissions:g,readOnly:f}))}static create(t,o,v,g,f){return new m(t,o,v,g,f)}toJSON(){const{id:t,name:o,description:v,permissions:g,readOnly:f}=this._value;return{id:t,name:o,description:v,permissions:g,read_only:f}}static fromJSON(t){const{id:o,name:v,description:g,permissions:f,read_only:C}=t;return m.create(o,v,g,f,C)}static builder(){return new P}}class P{constructor(t=p.Map()){this.value=t}id(t){return new P(this.value.set("id",t))}name(t){return new P(this.value.set("name",t))}description(t){return new P(this.value.set("description",t))}permissions(t){return new P(this.value.set("permissions",t))}readOnly(t){return new P(this.value.set("readOnly",t))}build(){const{id:t,name:o,description:v,permissions:g,readOnly:f}=this.value.toObject();return new m(t,o,v,g,f)}}const c=(0,h.ei)("AuthzRoles",()=>d().createActions({load:{asyncResult:!0},delete:{asyncResult:!0},addMembers:{asyncResult:!0},removeMember:{asyncResult:!0},loadUsersForRole:{asyncResult:!0},loadRolesForUser:{asyncResult:!0},loadRolesPaginated:{asyncResult:!0}}));var R=s("nmSm+aR9");const O=({count:r,total:t,page:o,per_page:v,query:g,roles:f=[],context:C={users:void 0}})=>({list:p.List(f.map(N=>m.fromJSON(N))),pagination:{query:g,page:o,perPage:v,count:r,total:t},context:C}),U=({count:r,total:t,page:o,per_page:v,query:g,users:f})=>({list:p.List(f.map(C=>R.Z.fromJSON(C))),pagination:{page:o,perPage:v,query:g,count:r,total:t}}),l=(r,t=[])=>{const o=t.map(v=>encodeURIComponent(v));return r(...o).url},n=(0,h.dS)("AuthzRoles",()=>d().createStore({listenables:[c],load(r){const t=(0,a.DC)(l(S.Z.AuthzRolesController.load,[r])),o=(0,i.ZP)("GET",t).then(m.fromJSON);return c.load.promise(o),o},delete(r){const t=(0,a.DC)(l(S.Z.AuthzRolesController.delete,[r])),o=(0,i.ZP)("DELETE",t);return c.delete.promise(o),o},addMembers(r,t){const o=l(S.Z.AuthzRolesController.addMembers,[r]),v=(0,i.ZP)("PUT",(0,a.DC)(o),t.toArray());return c.addMembers.promise(v),v},removeMember(r,t){const o=l(S.Z.AuthzRolesController.removeMember,[r,t]),v=(0,i.ZP)("DELETE",(0,a.DC)(o));return c.removeMember.promise(v),v},loadUsersForRole(r,t,{page:o,perPage:v,query:g}){const f=l(S.Z.AuthzRolesController.loadUsersForRole,[r]),C=(0,E.Z)(f,o,v,g),N=(0,i.ZP)("GET",(0,a.DC)(C)).then(U);return c.loadUsersForRole.promise(N),N},loadRolesForUser(r,{page:t,perPage:o,query:v}){const g=l(S.Z.AuthzRolesController.loadRolesForUser,[r]),f=(0,E.Z)(g,t,o,v),C=(0,i.ZP)("GET",(0,a.DC)(f)).then(O);return c.loadRolesForUser.promise(C),C},loadRolesPaginated({page:r,perPage:t,query:o}){const v=l(S.Z.AuthzRolesController.list),g=(0,E.Z)(v,r,t,o),f=(0,i.ZP)("GET",(0,a.DC)(g)).then(O);return c.loadRolesPaginated.promise(f),f}}))},cSDA0Pof:($,T,s)=>{s.d(T,{X:()=>U});var e=s("JnTtTRmZ"),d=s.n(e),p=s("VPaD/Np4"),i=s.n(p),S=s("oCSEoDew"),a=s.n(S),h=s("nmSm+aR9"),E=s("eFxcQyPT"),m=s("U1Iufsob"),P=s("IA3Ku5lS"),u=s("MdYBRjRJ"),c=s("gyRmhZSW"),R=s("vMorKP/N");const O=({url:n="",query:r={}})=>{const t=new(a())(n);return t.query(r),(0,u.DC)(t.resource())},U=(0,P.ei)("core.Users",()=>d().createActions({create:{asyncResult:!0},load:{asyncResult:!0},loadByUsername:{asyncResult:!0},update:{asyncResult:!0},delete:{asyncResult:!0},changePassword:{asyncResult:!0},createToken:{asyncResult:!0},loadTokens:{asyncResult:!0},deleteToken:{asyncResult:!0},loadUsersPaginated:{asyncResult:!0},loadUsers:{asyncResult:!0},setStatus:{asyncResult:!0}})),l=(0,P.dS)("core.Users",()=>d().createStore({listenables:[U],create(n){const r=(0,u.DC)(m.Z.UsersApiController.create().url),t=(0,E.ZP)("POST",r,n);return U.create.promise(t),t},load(n){const r=(0,u.DC)(m.Z.UsersApiController.load(encodeURIComponent(n)).url),t=(0,E.ZP)("GET",r).then(R.Z.fromJSON);return U.load.promise(t),t},loadByUsername(n){const r=(0,u.DC)(m.Z.UsersApiController.loadByUsername(encodeURIComponent(n)).url),t=(0,E.ZP)("GET",r).then(R.Z.fromJSON);return U.loadByUsername.promise(t),t},update(n,r){const t=(0,u.DC)(m.Z.UsersApiController.update(encodeURIComponent(n)).url),o=(0,E.ZP)("PUT",t,r);return U.update.promise(o),o},delete(n){const r=(0,u.DC)(m.Z.UsersApiController.delete(encodeURIComponent(n)).url),t=(0,E.ZP)("DELETE",r);return U.delete.promise(t),t},changePassword(n,r){const t=(0,u.DC)(m.Z.UsersApiController.changePassword(encodeURIComponent(n)).url),o=(0,E.ZP)("PUT",t,r);return U.changePassword.promise(o),o},createToken(n,r){const t=(0,u.DC)(m.Z.UsersApiController.create_token(encodeURIComponent(n),encodeURIComponent(r)).url),o=(0,E.ZP)("POST",t);return U.createToken.promise(o),o},loadTokens(n){const r=(0,u.DC)(m.Z.UsersApiController.list_tokens(encodeURIComponent(n)).url),t=(0,E.ZP)("GET",r).then(o=>o.tokens);return U.loadTokens.promise(t),t},deleteToken(n,r){const t=(0,u.DC)(m.Z.UsersApiController.delete_token(encodeURIComponent(n),encodeURIComponent(r)).url),o=(0,E.ZP)("DELETE",t);return U.deleteToken.promise(o),o},loadUsers(n={}){const r=O({url:m.Z.UsersApiController.list().url,query:n}),t=(0,E.ZP)("GET",r).then(({users:o})=>p.List(o.map(v=>h.Z.fromJSON(v))));return U.loadUsers.promise(t),t},loadUsersPaginated({page:n,perPage:r,query:t}){const o=(0,c.Z)(m.Z.UsersApiController.paginated().url,n,r,t),v=(0,E.ZP)("GET",(0,u.DC)(o)).then(g=>({adminUser:g.context.admin_user?h.Z.fromJSON(g.context.admin_user):void 0,list:p.List(g.users.map(f=>h.Z.fromJSON(f))),pagination:{page:g.page,perPage:g.per_page,query:g.query,count:g.count,total:g.total}}));return U.loadUsersPaginated.promise(v),v},setStatus(n,r){const t=(0,u.DC)(m.Z.UsersApiController.setStatus(n,r).url),o=(0,E.ZP)("PUT",t);return U.setStatus.promise(o),o}}))}}]);})();
//# sourceMappingURL=07ba022f-6436.892714e2b183b681b9ba.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy