1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4840],{7577:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/users",function(){return a(57633)}])},57633:(e,s,a)=>{"use strict";a.r(s),a.d(s,{default:()=>o});var t=a(6029),i=a(55729),n=a(91963),r=a(48230),l=a.n(r),d=a(88543);let o=e=>{let{settings:s}=e,a="Users",r="Roles",{can:o}=(0,d.F21)(),[u,h]=(0,i.useState)(),[{pageIndex:c,pageSize:p},x]=(0,i.useState)({pageIndex:0,pageSize:10}),g=(0,i.useMemo)(()=>({pageIndex:c,pageSize:p}),[c,p]),{data:j,isLoading:w,isError:S}=(0,d.kpZ)(g.pageIndex,g.pageSize,u),{isLoading:_,data:b,isError:v}=(0,d.znR)(c,p,u);return(0,t.jsx)(n.Uiw,{generalSettings:s.generalSettings,children:(0,t.jsx)("div",{className:"w-full",children:(0,t.jsxs)(n.tUM,{value:a,children:[(0,t.jsxs)(n.j7C,{className:"w-full",children:[(0,t.jsx)(n.Xib,{value:a,className:"w-full",asChild:!0,children:(0,t.jsx)(l(),{href:"/admin/users",children:a})}),(0,t.jsx)(n.Xib,{value:r,className:"w-full",asChild:!0,children:(0,t.jsx)(l(),{href:"/admin/users/roles",children:r})})]}),(0,t.jsxs)(n.avX,{value:a,children:[(0,t.jsx)(n.Lac,{showButtonAdd:o("AbpIdentity.Users.Create")}),S&&(0,t.jsx)(n.$DH,{}),w&&(0,t.jsx)(n.aHM,{}),void 0!==j&&(0,t.jsx)(n.w2Z,{data:j,searchStr:u,setSearchStr:h,setPagination:x,pageSize:p,pagination:g,showButtonArray:[o("AbpIdentity.Users.ManagePermissions"),o("AbpIdentity.Users.Update"),o("AbpIdentity.Users.Delete")]})]}),(0,t.jsxs)(n.avX,{value:r,children:[v&&(0,t.jsx)(n.$DH,{}),_&&(0,t.jsx)(n.aHM,{}),void 0!==b&&(0,t.jsx)(n.XDd,{data:b,searchStr:u,setSearchStr:h,setPagination:x,pageSize:p,pagination:g,showButtonArray:[o("AbpIdentity.Roles.ManagePermissions"),o("AbpIdentity.Roles.Update"),o("AbpIdentity.Roles.Delete")]})]})]})})})}}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=7577)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.