PageSourceSearch

https://boardowl.com/assets/MemberMaintenance-838645bc.js

js boardowl.com collected 2026-10-04 06:50:57 UTC 13,587 bytes, 1 lines download raw bytes

1import{d as q,h as f,a6 as ee,n as H,m as y,N as le,o,c as I,w as te,u as l,b as r,e,x as i,G as c,a as m,t as s,aE as W,H as d,I as b,f as x,q as p,ay as D,Q as R,aj as se}from"./index-58382804.js";import{D as ae}from"./DataTable-14eccf43.js";import{I as ne}from"./Input-79fd3556.js";import{u as Q,_ as oe}from"./members-15a15749.js";import{_ as Z}from"./ArrowRightToggleIcon.vue_vue_type_script_setup_true_lang-ce61219e.js";const re=e("div",{class:"dialog-header"},"Member Details",-1),ie={key:0,class:"mt-30 mb-30 ml-30 mr-20",style:{"max-height":"55vh","overflow-y":"auto"}},ce={class:"mb-10 ml-30 mr-20"},ue={class:"mb-10 ml-30 mr-20"},me={class:"mb-10 ml-30 mr-20"},de={class:"mb-10 ml-30 mr-20"},ve={class:"mb-10 ml-30 mr-20"},be={class:"mb-10 ml-30 mr-20"},pe={class:"mb-10 ml-30 mr-20"},ye={class:"mb-10 ml-30 mr-20"},he={class:"mb-10 ml-30 mr-20"},fe={class:"mb-10 ml-30 mr-20"},_e={class:"mb-10 ml-30 mr-20"},De={class:"mb-10 ml-30 mr-20"},Me={class:"mb-10 ml-30 mr-20"},Ce={class:"mb-10 ml-30 mr-20"},ge={class:"mb-10 ml-30 mr-20"},ke={class:"mb-10 ml-30 mr-20"},we={class:"mb-10 ml-30 mr-20"},$e={class:"mb-10 ml-30 mr-20"},Ne={class:"mb-10 ml-30 mr-20"},Te={class:"mb-10 ml-30 mr-20"},xe=["onClick"],Ee={class:"mt-3"},Se={key:0,class:"ml-35 mt-5"},Oe={class:"font-weight-bold"},Fe={class:"mb-10 ml-30 mr-20"},Pe=["onClick"],Ie={class:"mt-3"},Re={key:0,class:"ml-35 mt-5"},Le={class:"mb-10 ml-30 mr-20"},Ge={class:"mb-10 ml-30 mr-20"},je={class:"mb-10 ml-30 mr-20"},Ye={class:"mb-10 ml-30 mr-20"},Ve={class:"font-weight-bold"},Ue={key:0,class:"mb-10 ml-30 mr-20"},Ae={key:0,class:"mt-5 ml-30"},Be={key:1,class:"mt-5 ml-30"},ze={key:2,class:"mt-5 ml-30"},Je={key:1,class:"mb-10 ml-30 mr-20"},We={key:2,class:"mb-10 ml-30 mr-20"},Ze={key:3,class:"mb-10 ml-30 mr-20"},qe={class:"d-flex justify-end mt-15"},He=q({__name:"MemberDetailsDialog",emits:["close"],setup(K,{emit:E}){const M=f(!1),h=f([]),a=ee(),C=Q();H(async()=>{await a.getFullMemberDetails(C.activeMemberId)});const S=E,k=n=>{h.value.includes(n)?h.value.splice(h.value.indexOf(h),1):h.value.push(n)},w=n=>a.fullMemberDetails.sectorAndFunctionalExperience[n],$=n=>a.fullMemberDetails.geographicalExpertise[n],j=y(()=>{var n;return(n=a.fullMemberDetails)!=null&&n.country?le.find(_=>_.id===a.fullMemberDetails.country).name:""}),Y=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.sectors)??[]}),V=y(()=>{var n;return(n=a.fullMemberDetails)!=null&&n.sectorAndFunctionalExperience?Object.keys(a.fullMemberDetails.sectorAndFunctionalExperience):[]}),U=y(()=>{var n;return(n=a.fullMemberDetails)!=null&&n.geographicalExpertise?Object.keys(a.fullMemberDetails.geographicalExpertise).filter(_=>a.fullMemberDetails.geographicalExpertise[_].length>0):[]}),A=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.languages)??[]}),g=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.companyExperience)??[]}),B=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.boardExperience)??[]}),z=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.personalTraits)??[]}),L=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.workExperience)??[]}),O=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.education)??[]}),G=y(()=>{var n;return((n=a.fullMemberDetails)==null?void 0:n.furtherEducation)??[]}),J=()=>{S("close")},u=async()=>{M.value=!0},N=async()=>{await C.updateMemberStatus(a.fullMemberDetails.id,!a.fullMemberDetails.isActive)&&a.getCandidateDetails(C.activeMemberId),M.value=!1},F=async()=>{const n=await a.getCandidateCV(C.activeMemberId);n&&X(n)},X=n=>{const _=atob(n);let T=_.length;const P=new Uint8Array(T);for(;T--;)P[T]=_.charCodeAt(T);const t=window.URL.createObjectURL(new Blob([P],{type:"application/pdf"})),v=document.createElement("a");v.href=t,v.setAttribute("download",a.fullMemberDetails.cvFileName),document.body.appendChild(v),v.click(),document.body.removeChild(v),URL.revokeObjectURL(t)};return(n,_)=>(o(),I(l(se),{width:1e3},{default:te(()=>{var T,P;return[re,l(a).fullMemberDetails?(o(),r("div",ie,[e("div",ce,[e("span",{style:i(`color: ${l(c)}`)},"First Name:",4),m(" "+s(l(a).fullMemberDetails.firstName),1)]),e("div",ue,[e("span",{style:i(`color: ${l(c)}`)},"Last Name:",4),m(" "+s(l(a).fullMemberDetails.lastName),1)]),e("div",me,[e("span",{style:i(`color: ${l(c)}`)},"Email:",4),m(" "+s(l(a).fullMemberDetails.email),1)]),e("div",de,[e("span",{style:i(`color: ${l(c)}`)},"Joined Date:",4),m(" "+s(l(W)(l(a).fullMemberDetails.joinedDate)),1)]),e("div",ve,[e("span",{style:i(`color: ${l(c)}`)},"Subscription Start Date:",4),m(" "+s(l(W)(l(a).fullMemberDetails.subscriptionStartDate)),1)]),e("div",be,[e("span",{style:i(`color: ${l(c)}`)}
1,"Subscription End Date:",4),m(" "+s(l(W)(l(a).fullMemberDetails.subscriptionEndDate)),1)]),e("div",pe,[e("span",{style:i(`color: ${l(c)}`)},"Is Active:",4),m(" "+s(l(a).fullMemberDetails.isActive),1)]),e("div",ye,[e("span",{style:i(`color: ${l(c)}`)},"City:",4),m(" "+s(l(a).fullMemberDetails.city),1)]),e("div",he,[e("span",{style:i(`color: ${l(c)}`)},"Country:",4),m(" "+s(j.value),1)]),e("div",fe,[e("span",{style:i(`color: ${l(c)}`)},"Phone Country Code:",4),m(" "+s(l(a).fullMemberDetails.phoneCountryCode),1)]),e("div",_e,[e("span",{style:i(`color: ${l(c)}`)},"Phone Number:",4),m(" "+s(l(a).fullMemberDetails.phoneNumber),1)]),e("div",De,[e("span",{style:i(`color: ${l(c)}`)}," Elevator Pitch:",4),m(" "+s(l(a).fullMemberDetails.elevatorPitch),1)]),e("div",Me,[e("span",{style:i(`color: ${l(c)}`)},"LinkedIn URL:",4),m(" "+s(l(a).fullMemberDetails.linkedInLink),1)]),e("div",Ce,[e("span",{style:i(`color: ${l(c)}`)},"Company Name:",4),m(" "+s(l(a).fullMemberDetails.companyName),1)]),e("div",ge,[e("span",{style:i(`color: ${l(c)}`)},"Current Position:",4),m(" "+s(l(a).fullMemberDetails.currentPosition),1)]),e("div",ke,[e("span",{style:i(`color: ${l(c)}`)},"Sectors:",4),(o(!0),r(d,null,b(Y.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5"},s(t),1))),128))]),e("div",we,[e("span",{style:i(`color: ${l(c)}`)}," Company Type:",4),m(" "+s(l(a).fullMemberDetails.companyType),1)]),e("div",$e,[e("span",{style:i(`color: ${l(c)}`)},"Second Company:",4),m(" "+s(l(a).fullMemberDetails.secondCompany),1)]),e("div",Ne,[e("span",{style:i(`color: ${l(c)}`)},"Second Job Title:",4),m(" "+s(l(a).fullMemberDetails.secondJobTitle),1)]),e("div",Te,[e("span",{style:i(`color: ${l(c)}`)},"Sector and Functional Experience:",4),(o(!0),r(d,null,b(V.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5 cursor-pointer"},[e("div",{onClick:v=>k(t),class:"d-flex"},[x(Z,{style:i(h.value.includes(t)?"transform: rotateZ(90deg)":""),size:24},null,8,["style"]),e("div",Ee,s(t),1)],8,xe),h.value.includes(t)?(o(),r("div",Se,[(o(!0),r(d,null,b(w(t),v=>(o(),r("div",{key:v.name,class:"mb-5"},[m(s(v.name)+": ",1),e("span",Oe,"Rating "+s(v.rate),1)]))),128))])):p("",!0)]))),128))]),e("div",Fe,[e("span",{style:i(`color: ${l(c)}`)},"Geographical Expertise:",4),(o(!0),r(d,null,b(U.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5 cursor-pointer"},[e("div",{onClick:v=>k(t),class:"d-flex"},[x(Z,{style:i(h.value.includes(t)?"transform: rotateZ(90deg)":""),size:24},null,8,["style"]),e("div",Ie,s(t),1)],8,Pe),h.value.includes(t)?(o(),r("div",Re,[(o(!0),r(d,null,b($(t),v=>(o(),r("div",{key:v,class:"mb-5"},s(v),1))),128))])):p("",!0)]))),128))]),e("div",Le,[e("span",{style:i(`color: ${l(c)}`)},"Languages:",4),(o(!0),r(d,null,b(A.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5"},s(t),1))),128))]),e("div",Ge,[e("span",{style:i(`color: ${l(c)}`)},"Company Experience:",4),(o(!0),r(d,null,b(g.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5"},s(t),1))),128))]),e("div",je,[e("span",{style:i(`color: ${l(c)}`)},"Board Experience:",4),(o(!0),r(d,null,b(B.value,t=>(o(),r("div",{key:t,class:"ml-20 mt-5"},s(t),1))),128))]),e("div",Ye,[e("span",{style:i(`color: ${l(c)}`)},"Personal Traits:",4),(o(!0),r(d,null,b(z.value,t=>(o(),r("div",{key:t.name,class:"ml-20 mt-5"},[m(s(t.name)+": ",1),e("span",Ve,"Rating "+s(t.rate),1)]))),128))]),l(a).fullMemberDetails.interest?(o(),r("div",Ue,[e("span",{style:i(`color: ${l(c)}`)},"Interests:",4),l(a).fullMemberDetails.interest[l(D).areYouOpenToInvestInCompanies]?(o(),r("div",Ae,s(l(D).areYouOpenToInvestInCompanies)+" "+s(l(a).fullMemberDetails.interest[l(D).areYouOpenToInvestInCompanies][0]),1)):p("",!0),l(a).fullMemberDetails.interest[l(D).typesOfOrganisations]?(o(),r("div",Be,[m(s(l(D).typesOfOrganisations)+": ",1),(o(!0),r(d,null,b(l(a).fullMemberDetails.interest[l(D).typesOfOrganisations],t=>(o(),r("div",{key:t,class:"mt-3 ml-15"},s(t),1))),128))])):p("",!0),l(a).fullMemberDetails.interest[l(D).typesOfMandates]?(o(),r("div",ze,[m(s(l(D).typesOfMandates)+": ",1),(o(!0),r(d,null,b(l(a).fullMemberDetails.interest[l(D).typesOfMandates],t=>(o(),r("div",{key:t,class:"mt-3 ml-15"},s(t),1))),128))])):p("",!0)])):p("",!0),L.value.length>0?(o(),r("div",Je,[e("span",{style:i(`color: ${l(c)}`)},"Work Experiences:",4),(o(!0),r(d,null,b(L.value,t=>(o(),r("div",{key:t.title,class:"ml-20 mt-5"}
1,[e("div",null,"Title: "+s(t.title),1),e("div",null,"Company Name: "+s(t.companyName),1),e("div",null,"Company Type: "+s(t.companyType),1),e("div",null,"Description: "+s(t.description),1),e("div",null,"Employment Type: "+s(t.employmentType),1),e("div",null,"Place: "+s(t.place),1),e("div",null,"Duration: "+s(t.duration),1),e("div",null,"Start Date: "+s(t.startDate),1),e("div",null,"End Date: "+s(t.endDate),1)]))),128))])):p("",!0),O.value.length>0?(o(),r("div",We,[e("span",{style:i(`color: ${l(c)}`)},"Education:",4),(o(!0),r(d,null,b(O.value,t=>(o(),r("div",{key:t.id,class:"ml-20 mt-5"},[e("div",null,"Institution Name: "+s(t.institutionName),1),e("div",null,"Degree: "+s(t.degree),1),e("div",null,"Subject: "+s(t.subject),1),e("div",null,"Final Grade: "+s(t.finalGrade),1),e("div",null,"Graduation Year: "+s(t.graduationYear),1),e("div",null,"Note: "+s(t.note),1),e("div",null,"Start Date: "+s(t.startDate),1),e("div",null,"Graduation Year: "+s(t.graduationYear),1)]))),128))])):p("",!0),G.value.length>0?(o(),r("div",Ze,[e("span",{style:i(`color: ${l(c)}`)},"Further Education:",4),(o(!0),r(d,null,b(G.value,t=>(o(),r("div",{key:t.id,class:"ml-20 mt-5"},[e("div",null,"Institution Name: "+s(t.institutionName),1),e("div",null,"Degree: "+s(t.degree),1),e("div",null,"Subject: "+s(t.subject),1),e("div",null,"Final Grade: "+s(t.finalGrade),1),e("div",null,"Graduation Year: "+s(t.graduationYear),1),e("div",null,"Note: "+s(t.note),1),e("div",null,"Start Date: "+s(t.startDate),1),e("div",null,"Graduation Year: "+s(t.graduationYear),1)]))),128))])):p("",!0)])):p("",!0),e("div",qe,[(T=l(a).fullMemberDetails)!=null&&T.isActive?(o(),I(l(R),{key:0,label:"Deactivate Member",class:"mr-10 mb-10",fillColour:"#F5F5F5",width:100,height:45,onClick:u})):p("",!0),(P=l(a).fullMemberDetails)!=null&&P.cvFileName?(o(),I(l(R),{key:1,label:"Download CV",class:"mr-10 mb-10",fillColour:"#F5F5F5",width:100,height:45,onClick:F})):p("",!0),x(l(R),{label:"Close",class:"mr-10 mb-10",fillColour:"#F5F5F5",width:100,height:45,onClick:J})]),M.value?(o(),I(l(oe),{key:1,dialog:M.value,title:"Confirm Deactivation",subtitle:"Are you sure you want to deactivate this member?",onCancel:_[0]||(_[0]=t=>M.value=!1),onConfirm:N},null,8,["dialog"])):p("",!0)]}),_:1}))}}),Qe=e("div",{class:"mt-10 d-flex justify-center fs-30px"}," Welcome to Members Maintenance ",-1),Ke={class:"d-flex mt-10 ml-20 mr-20"},Xe=e("div",{class:"fs-20px mr-10"}," Search for Member: ",-1),el=e("div",{style:{"flex-grow":"1"}},null,-1),ll={class:"ml-25 mr-25 mt-20"},rl=q({__name:"MemberMaintenance",setup(K){const E=f(""),M=f(""),h=f(null),a=f(!1),C=f(1),S=f(25),k=f("lastName"),w=f(!0),$=Q();H(()=>{g()});const j=[{id:"viewDetails",name:"View Member Details"}],Y=u=>{S.value=u,g()},V=()=>{g()},U=u=>{k.value===u?w.value=!w.value:(k.value=u,w.value=!0),g()},A=u=>{C.value=u,g()},g=()=>{$.getPagedMembers(E.value,C.value,S.value,k.value,w.value)},B=(u,N)=>{switch(M.value=N,u){case"viewDetails":h.value={...O.value.find(F=>F.id===M.value)},a.value=!0,$.activeMemberId=N;break}},z=()=>{a.value=!1,g()},L=y(()=>{const u=[];return u.push({name:"firstName",displayName:"First Name",showOnTable:!0}),u.push({name:"lastName",displayName:"Last Name",showOnTable:!0}),u.push({name:"email",displayName:"Email Address",showOnTable:!0}),u.push({name:"city",displayName:"City",showOnTable:!0}),u.push({name:"country",displayName:"Country",showOnTable:!0}),u.push({name:"userType",displayName:"User Type",showOnTable:!0}),u.push({name:"oldPlatformMemberType",displayName:"Old Platform Member Type",showOnTable:!0}),u.push({name:"selectedPlan",displayName:"Selected Plan",showOnTable:!0}),u.push({name:"isActive",displayName:"Active",showOnTable:!0}),u.push({name:"menu",showOnTable:!0}),u}),O=y(()=>G.value),G=y(()=>$.members),J=()=>{$.exportToExcel(E.value,k.value,w.value)};return(u,N)=>(o(),r(d,null,[Qe,e("div",Ke,[Xe,x(l(ne),{modelValue:E.value,"onUpdate:modelValue":N[0]||(N[0]=F=>E.value=F),label:"",adminMode:!0,type:"Text",class:"mr-10"},null,8,["modelValue"]),x(l(R),{label:"Search",class:"mr-10",fillColour:"#F5F5F5",width:100,height:45,onClick:V}),el,x(l(R),{label:"Export to Excel",class:"ml-20",fillColour:"#F5F5F5",width:150,height:45,onClick:J})]),e("div",ll,[x(l(ae),{headers:L.value,rows:O.value,menus:j,showPagination:!0,currentPage:C.value,rowsPerPage:S.value,totalRecordCount:l($).totalMembersCount,onMenuItemClicked:B,onRowsPerPageChanged:Y,onSortColumnChanged:U,onPageNumberChanged:A},null,8,["headers","rows","currentPage","rowsPerPage","totalRecordCount"]),a.value?(o(),I(He,{key:0,onClose:z})):p("",!0)])],64))}});
1export{rl 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.