PageSourceSearch

https://app.pagabo.co.uk/build/assets/ActivityTeam-sQgj3xx4.js

js pagabo.co.uk collected 2026-10-02 17:27:38 UTC 2,738 bytes, 1 lines download raw bytes

1import{_}from"./ListPageLayout.vue_vue_type_script_setup_true_lang-DbABxBpa.js";import P from"./UserRow-4XUy-Aq5.js";import{z as x,A,g as u,d as b,l as U,m as d,c as N,o as c,w as p,b as i,i as I,f as v,a as T}from"./app-CuOBjNiw.js";import{A as k}from"./routes-BjJ6ZlFy.js";import"./AppLayout-Dogy24b6.js";import"./ConstOrganisationTypes-C2mcmQsB.js";import"./AuthenticationCardLogo-CXYZVkob.js";import"./ConstFeatures-CEizhoI4.js";import"./SquidTooltip.vue_vue_type_script_setup_true_lang-P-eUz6ED.js";import"./Constants-B9nEiMo1.js";try{(function(){var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a1b2c86e-bf23-4ef7-b73e-3fa6fab9cbb8",e._sentryDebugIdIdentifier="sentry-dbid-a1b2c86e-bf23-4ef7-b73e-3fa6fab9cbb8")})()}catch{}function C({routeName:e,currentPage:t,extraParams:o,totalPages:l,currentCount:a,perPage:s}){return{nextPage:n=>{t.value=n,x.get(route(e,{page:n,...o}),{},{preserveState:!0})}}}const S={class:"pb-0"},D={key:0},E={key:1},q=A({__name:"ActivityTeam",props:{masterActivity:{},totalUsers:{},users:{}},setup(e){const t=e,o=u(!0),l=u(1),a=u(25),s=b(()=>Math.ceil(t.totalUsers/a.value)),{nextPage:m}=C({routeName:k,perPage:a,currentPage:l,currentCount:U(t,"totalUsers"),totalPages:s,extraParams:{masterActivity:t.masterActivity.uuid}}),n=[{name:"name",label:"Name",alwaysShow:!0},{name:"email",label:"Email",alwaysShow:!0},{name:"organisation_name",label:"Organisation",alwaysShow:!0},{name:"master_activity_role",label:"Role",alwaysShow:!0}],y=b(()=>t.totalUsers===1?"1 user":`${t.totalUsers} users`);return(r,g)=>{const f=d("Typography"),h=d("PaginationNumber");return c(),N(_,{"main-page-title":"Activity team","show-filter-button":!1,"show-sort-button":!1,"show-list-toggle":!1,"show-add-button":!1,"show-export-button":!1,"list-page-active":"","show-pagination":r.totalUsers>a.value,"list-view":o.value,"onUpdate:listView":g[0]||(g[0]=w=>o.value=w)},{"resource-library-count":p(()=>[T("div",S,[i(f,{text:y.value,"header-name":"3",type:"heading"},null,8,["text"])])]),"list-block":p(()=>[r.totalUsers>0?(c(),v("div",D,[i(P,{users:r.users,columns:n},null,8,["users"])])):(c(),v("div",E,[i(f,{text:"No active users found","header-name":"4",type:"heading"})]))]),pagination:p(()=>[i(h,{"with-border":!1,"current-page":l.value,"per-page":a.value,total:r.totalUsers,"total-pages":s.value,"max-visible-buttons":s.value>10?10:s.value,onPagechanged:I(m),fontSize:"text-lg","buttons-font-size":"text-base"},null,8,["current-page","per-page","total","total-pages","max-visible-buttons","onPagechanged"])]),_:1},8,["show-pagination","list-view"])}}});export{q as default};

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.