1"use strict";(self.webpackChunkbcw1=self.webpackChunkbcw1||[]).push([[5344,6577],{90377:function(he,B,l){l.r(B);var J=l(23487),$=l(2482),w=l(45387),k=l(59652),y=l(71230),s=l(15746),q=l(71577),U=l(95507),W=l(24093),ee=l(94199),d=l(2587),C=l(20550),p=l(67294),o=l(67241),te=l(94151),I=l(75600),le=l(79086),ae=l(19175),ne=l(45890),K=l(80247),_=l(58963),b=l(5946),x=l(60664),Z=l(33482),S=l(7161),re=l(43471),se=l(94088),oe=l(89993),ce=l(7586),e=l(67294),Ee=Object.defineProperty,ie=Object.defineProperties,ue=Object.getOwnPropertyDescriptors,N=Object.getOwnPropertySymbols,me=Object.prototype.hasOwnProperty,de=Object.prototype.propertyIsEnumerable,j=(r,n,a)=>n in r?Ee(r,n,{enumerable:!0,configurable:!0,writable:!0,value:a}):r[n]=a,i=(r,n)=>{for(var a in n||(n={}))me.call(n,a)&&j(r,a,n[a]);if(N)for(var a of N(n))de.call(n,a)&&j(r,a,n[a]);return r},V=(r,n)=>ie(r,ue(n)),_e=(r,n,a)=>new Promise((T,v)=>{var h=c=>{try{f(a.next(c))}catch(O){v(O)}},R=c=>{try{f(a.throw(c))}catch(O){v(O)}},f=c=>c.done?T(c.value):Promise.resolve(c.value).then(h,R);f((a=a.apply(r,n)).next())});const{Text:u,Title:fe}=$.default,Pe=["pdfSalaryStatement","pdfLastYearTds","pdfFacultyApp
1ointmentLetter","pdfSelfAttestedHighestQualification","pdfPanCard","pdfAadhaarCard"],pe=r=>{const{currentUser:n}=r,{ruid:a="overall"}=(0,I.useParams)(),T=(0,p.useRef)(),v=(0,o.vl)(r),h=i({status:"active",sortBy:"modifiedAt",sortOrder:"descend"},v),[R]=w.Z.useForm(),[f,c]=(0,p.useState)(!1),[O,ye]=(0,p.useState)({list:[],count:0}),[D,L]=(0,p.useState)(h),[G,ve]=(0,p.useState)(a=="overall"&&!v.filterType?"overallFilter":"singleFilter"),[z,Oe]=(0,p.useState)({}),{list:A,count:Q}=O,{user:g}=(0,K.s)(a),{title:De,avatar:ge,email:Y,mobile:H}=(0,K.p)({user:g||n,type:"faculties"}),F=(0,S.Z)(["mine"],a)||!(0,S.Z)(["overall"],a),X=t=>_e(void 0,null,function*(){const M=i({},t);c(!0);const{status:m,class:P,message:Te,payload:E}=yield(0,le.yF)(a,"faculties",M);if(c(!1),!m){(0,te.FB)(null,Te,E,P);return}if(m&&(E!=null&&E.redirectUrl))return I.history.push(E.redirectUrl);m&&E&&(E.list&&ye(E),E!=null&&E.file&&Oe(E.file))});(0,p.useEffect)(()=>{X(i({},D))},[a,D]);const Me=t=>{X(V(i({},D),{isDownload:!0,exportConfig:JSON.stringify(t||{})}))};return e.createElement(e.Fragment,null,e.createElement(J.Oc,{title:De,avatar:{src:ge},content:e.createElement(e.Fragment,null,e.createElement(Z.Fj,{filterView:G,setFilter:L,filter:D,user:g,loading:f,ftype:"cleFacultyForm",filterForm:R})),extra:e.createElement(e.Fragment,null,"Filter View:"," ",e.createElement(Z.dv,{setFilterView:ve,filterView:G,isClePage:F})),extraContent:[e.createElement(e.Fragment,null,A&&(A==null?void 0:A.length)>0&&e.createElement(se.Z,{key:"toolsMenu",printProps:{ref:T},exportProps:{handleOnExport:Me},listType:"faculties",loading:f,file:z,isClePage:F}))]},e.createElement("div",{ref:T},e.createElement(k.default,{size:"small",bodyStyle:{paddingTop:0},title:e.createElement(e.Fragment,null,F&&g&&e.createElement(e.Fragment,null,e.createElement("strong",null,g==null?void 0:g.fullName),_.bV),Y&&e.createElement(o.lP,{data:Y}),H&&e.createElement(o.mZ,{data:H}),e.createElement(ce.Z,{filter:D})),extra:[e.createElement(y.Z,{key:"extraTools",align:"middle",gutter:5},e.createElement(s.Z,null,e.createElement(oe.Z,{file:z,alertStyle:{margin:0}})),e.createElement(s.Z,null,"Total Faculties: ",Q," "),e.createElement(s.Z,null,e.createElement(q.Z,{loading:f,type:"link",icon:e.createElement(re.Z,null),onClick:()=>L(t=>i({},t)),title:"Refresh the Faculties list"})))]},e.createElement(U.ZP,{itemLayout:"vertical",size:"large",dataSource:A,loading:f,pagination:V(i(i({onChange:(t,M)=>{const m={current:t,pageSize:M};t||(m.current=1),L(P=>i(i({},P),m))}},h),ne.$i),{total:Q}),renderItem:(t,M)=>{var m;return e.createElement(U.ZP.Item,{key:t._id},e.createElement(U.ZP.Item.Meta,{avatar:e.createElement(s.Z,null,e.createElement(y.Z,null,e.createElement(W.C,{src:t.facultyPhoto.publicUrl||ae.Z,style:{color:"#f56a00",backgroundColor:"#fde3cf",marginRight:10,height:"150px",width:"120px"},shape:"square"},t.cleFacultyName)),e.createElement(y.Z,null,e.createElement(W.C,{src:t.facultySignature.publicUrl,style:{color:"#f56a00",backgroundColor:"#fde3cf",marginRight:10,height:"80px",width:"120px"},shape:"square"},t.cleFacultyName))),title:e.createElement(y.Z,{wrap:!0,align:"bottom",gutter:15},e.createElement(s.Z,null,e.createElement(fe,{level:4,style:{margin:0}},M+1,".",_.sx,t.cleFacultyName)),e.createElement(s.Z,null,e.createElement(ee.Z,{title:"Faculty Id"},e.createElement(u,{copyable:!0},t._id))),e.createElement(s.Z,null,e.createElement(u,{strong:!0},"Aadhaar Number: "),_.sx,e.createElement(u,{copyable:!0},t.facultyAadhaarNumber)),e.createElement(s.Z,null,e.createElement(u,{strong:!0},"PAN: "),_.sx,e.createElement(u,{copyable:!0},t.facultyPanNumber))),description:e.createElement(e.Fragment,null,e.createElement(u,{title:"Gender",type:"secondary"},b.s[t.gender].label),","," ",e.createElement(u,{title:"Nature of Appointment",type:"secondary"},t.natureOfAppointment.label),","," ",e.createElement(o.jr,{dateTime:t.cleAppointmentDate,format:_.Qg,textProps:{title:"Ap
1pointment Date",type:"secondary"}}),t.cleUserData&&_.bV,e.createElement(Z.U8,{userData:t.cleUserData}),e.createElement(d.Z,{bordered:!1,size:"small",column:{xs:1,sm:1,md:2,lg:3,xl:3},layout:(0,o.W7)()?"vertical":"horizontal",style:{marginTop:"10px"}},e.createElement(d.Z.Item,{label:"Subject Type"},e.createElement(x.T,{input:t.subjectType,isTag:!1,copyable:!1})),e.createElement(d.Z.Item,{label:"Faculty Designation"},t.facultyDesignationOther?t.facultyDesignationOther:e.createElement(o.BV,{data:t.facultyDesignation,isTag:!1,copyable:!1})),e.createElement(d.Z.Item,{label:"Subject"},t.facultySubject),e.createElement(d.Z.Item,{label:"Mode of Salary Payment"},e.createElement(x.T,{input:t.modeOfSalaryPayment,isTag:!1,copyable:!1})),e.createElement(d.Z.Item,{label:"Salary"},_.b0,t.facultySalary),e.createElement(d.Z.Item,{label:"Highest Qualification"},t.highestQualificationOther?t.highestQualificationOther:e.createElement(o.BV,{data:t.highestQualification,isTag:!1,copyable:!1})),t.postDoctorialUniversity&&e.createElement(d.Z.Item,{label:e.createElement(u,{style:{width:"180px"},ellipsis:{tooltip:"Post-Doctoral University"}},"Post-Doctoral University")},e.createElement(u,{style:{width:"300px"},ellipsis:{tooltip:t.postDoctorialUniversity.label}},t.postDoctorialUniversity.label))),e.createElement(y.Z,{wrap:!0,gutter:[10,10],style:{marginBottom:"10px"}},Pe.map(P=>t!=null&&t[P]?e.createElement(s.Z,{key:t[P].fid},e.createElement(o.AF,{data:t[P],label:_.Xq[P].label,buttonProps:{size:"small",shape:"round"}})):e.createElement(e.Fragment,null))),e.createElement(y.Z,null,e.createElement(s.Z,null,e.createElement(C.Z,{color:o._X[t.status]},b.s[t.status].label),t.status==="resigned"&&e.createElement(e.Fragment,null,e.createElement(C.Z,{color:"blue",style:{marginLeft:8}},"Academic Year: ",((m=t==null?void 0:t.resignedAcademicYear)==null?void 0:m.label)||"-"),e.createElement(o.AF,{buttonProps:{size:"small",shape:"round"},data:t==null?void 0:t.relievingLetter,label:"Relieving Letter"}))),e.createElement(s.Z,null,e.createElement(C.Z,{color:"warning"},"Updated At: ",e.createElement(o.M0,{input:t.updatedAt})))))}))}})))))};B.default=(0,I.connect)(({user:r})=>({currentUser:r.currentUser}))(pe)}}]);
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.