1"use strict";(self.webpackChunkvex=self.webpackChunkvex||[]).push([[1243,6300,3919],{84706:(P,v,i)=>{i.d(v,{T:()=>c});var x=i(82087),l=i(54438);const h=["*"];let F=(()=>{class _{static{this.\u0275fac=function(f){return new(f||_)}}static{this.\u0275cmp=l.VBU({type:_,selectors:[["vex-breadcrumb"]],hostAttrs:[1,"vex-breadcrumb","body-2","text-hint","leading-none","hover:text-primary-600","no-underline","transition","duration-400","ease-out-swift"],standalone:!0,features:[l.aNF],ngContentSelectors:h,decls:1,vars:0,template:function(f,C){1&f&&(l.NAR(),l.SdG(0))},encapsulation:2})}}return _})();var u=i(51188),b=i(60177),g=i(99213);const T=()=>[];function o(_,U){if(1&_&&(l.qex(0),l.nrm(1,"div",4),l.j41(2,"vex-breadcrumb")(3,"a",1),l.EFF(4),l.k0s()(),l.bVm()),2&_){const $=U.$implicit;l.R7$(3),l.Y8G("routerLink",l.lJ4(2,T)),l.R7$(),l.JRh($)}}const s=()=>["/"];let c=(()=>{class _{constructor(){this.crumbs=[],this.trackByValue=x.U_}static{this.\u0275fac=function(f){return new(f||_)}}static{this.\u0275cmp=l.VBU({type:_,selectors:[["vex-breadcrumbs"]],inputs:{crumbs:"crumbs"},standalone:!0,features:[l.aNF],decls:5,vars:4,consts:[[1,"flex","items-center","gap-2"],[3,"routerLink"],["svgIcon","mat:home",1,"icon-sm"],[4,"ngFor","ngForOf","ngForTrackBy"],[1,"w-1","h-1","bg-gray-600","rounded-full"]],template:function(f,C){1&f&&(l.j41(0,"div",0)(1,"vex-breadcrumb")(2,"a",1),l.nrm(3,"mat-icon",2),l.k0s()(),l.DNE(4,o,5,3,"ng-container",3),l.k0s()),2&f&&(l.R7$(2),l.Y8G("routerLink",l.lJ4(3,s)),l.R7$(2),l.Y8G("ngForOf",C.crumbs)("ngForTrackBy",C.trackByValue))},dependencies:[F,u.Wk,b.pM,g.m_,g.An],encapsulation:2})}}return _})()},58713:(P,v,i)=>{i.d(v,{h:()=>l});var x=i(54438);let l=(()=>{class h{constructor(){}static{this.\u0275fac=function(b){return new(b||h)}}static{this.\u0275dir=x.FsC({type:h,selectors:[["","vexPageLayoutContent",""],["vex-page-layout-content"]],hostAttrs:[1,"vex-page-layout-content"],standalone:!0})}}return h})()},52209:(P,v,i)=>{i.d(v,{T:()=>b});var x=i(60177),l=i(88834),h=i(34006),F=i(99213),u=i(54438);let b=(()=>{class g{constructor(o,s){this.data=o,this.dialogRef=s}ngOnInit(){}onClick(){this.dialogRef.close(!0)}static{this.\u0275fac=function(s){return new(s||g)(u.rXU(h.Vh),u.rXU(h.CP))}}static{this.\u0275cmp=u.VBU({type:g,selectors:[["vex-confirm-dialog-box"]],standalone:!0,features:[u.aNF],decls:7,vars:1,consts:[["align","end"],["color","warn","mat-button","","mat-dialog-close","","type","button"],["mat-flat-button","","color","primary","type","button","cdkFocusInitial","",3,"click"]],template:function(s,c){1&s&&(u.j41(0,"mat-dialog-content"),u.EFF(1),u.k0s(),u.j41(2,"mat-dialog-actions",0)(3,"button",1),u.EFF(4,"Cancel"),u.k0s(),u.j41(5,"button",2),u.bIt("click",function(){return c.onClick()}),u.EFF(6,"Yes"),u.k0s()()),2&s&&(u.R7$(),u.SpI(" ",c.data.message,"\n"))},dependencies:[x.MD,h.hM,h.tx,h.E7,h.Yi,l.Hl,l.$z,F.m_]})}}return g})()},41243:(P,v,i)=>{i.r(v),i.d(v,{PrcCommentComponent:()=>O});var x=i(31635),l=i(49894),h=i(92771),F=i(70274),u=i(5964),b=i(10444),g=i(42465);class T{constructor(r){this.exam_prc_comments_master_id=r.exam_prc_comments_master_id,this.exam_board_id=r.exam_board_id,this.class_id=r.class_id,this.class=r.class,this.division_id=r.division_id,this.exam_term_id=r.exam_term_id,this.exam_name_id=r.exam_name_id,this.term_name=r.term_name,this.exam_name=r.exam_name,this.school_open_days=r.school_open_days,this.students=r.students}}var o=i(26450),s=i(45024),c=i(89417),_=i(96695),U=i(2042),$=i(95416),f=i(34006),C=i(60177),j=i(88834),V=i(82765),k=i(25084),S=i(32102),G=i(99213),I=i(99631),B=i(59115),A=i(82798),w=i(21410),q=i(18359),X=i(86648),W=i(47677),tt=i(57786),et=i(7673),L=i(33726),ot=i(96354),z=i(15241),J=i(51872),t=i(54438),K=i(46539),H=i(98518),st=i(89169),Q=i(3871),at=i(86600);function nt(n,r){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.Y8G("value",e.class_id),t.R7$(),t.JRh(e.class_name)}}function rt(n,r){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.Y8G("value",e.division_id),t.R7$(),t.JRh(e.division_name)}}function it(n,r){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.Y8G("value",e.exam_term_id),t.R7$(),t.JRh(e.term_name)}}function mt(n,r){if(1&n&&(t.j41(0,"mat-option",28),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.Y8G("value",e.exam_name_id),t.R7$(),t.JRh(e.exam_name)}}function ct(n,r){if(1&n&&(t.j41(0,"mat-form-field")(1,"mat-label"),t.EFF(2,"Exam"),t.k0s(),t.j41(3,"mat-select",29)(4,"mat-option",28),t.EFF(5,"None"),t.k0s(),t.DNE(6,mt,2,2,"mat-option",10),t.k0s()()),2&n){const e=t.XpG();t.R7$(4),t.Y8G("value",0),t.R7$(2),t.Y8G("ngForOf",e.exams)}}function dt(n,r){if(1&n){const e=t.RV6();t.j41(0,"mat-form-field")(1,"mat-label"),t.EFF(2,"Enter a date range"),t.k0s(),t.j41(3,"mat-date-range-input",30),t.nrm(4,"input",31,32),t.j41(6,"input",33,34),t.bIt("dateChange",function(){t.eBV(e);const m=t.XpG();return t.Njj(m.getDays())}),t.k0s()(),t.nrm(8,"mat-datepicker-toggle",35)(9,"mat-date-range-picker",null,36),t.k0s()}if(2&n){const e=t.sdS(10),a=t.XpG();t.R7$(3),t.Y8G("rangePicker",e),t.R7$(),t.Y8G("readonly",0===a.students.c
1ontrols.length),t.R7$(2),t.Y8G("readonly",0===a.students.controls.length),t.R7$(2),t.Y8G("for",e)("disabled",0===a.students.controls.length)}}function lt(n,r){if(1&n){const e=t.RV6();t.j41(0,"button",37),t.bIt("click",function(){t.eBV(e);const m=t.XpG();return t.Njj(m.printReport())}),t.nrm(1,"mat-icon",38),t.k0s()}}function pt(n,r){if(1&n&&(t.j41(0,"th"),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.R7$(),t.JRh(e.field_name)}}function ut(n,r){if(1&n){const e=t.RV6();t.j41(0,"td",42)(1,"input",43),t.bIt("keydown.enter",function(){t.eBV(e);const m=t.XpG().index,d=t.XpG().index,p=t.XpG();return t.Njj(p.focusNext(d+1,m))})("keydown.arrowdown",function(){t.eBV(e);const m=t.XpG().index,d=t.XpG().index,p=t.XpG();return t.Njj(p.focusNext(d+1,m))})("keydown.arrowup",function(){t.eBV(e);const m=t.XpG().index,d=t.XpG().index,p=t.XpG();return t.Njj(p.focusNext(d-1,m))}),t.k0s()()}if(2&n){const e=t.XpG().index,a=t.XpG().index;t.R7$(),t.Y8G("id","input_"+a+"_"+e)}}function ht(n,r){if(1&n&&(t.j41(0,"option",46),t.EFF(1),t.k0s()),2&n){const e=r.$implicit;t.Y8G("value",e.exam_prc_comments_fields_data_id),t.R7$(),t.SpI("",e.option_name," ")}}function _t(n,r){if(1&n&&(t.j41(0,"td",42)(1,"select",44)(2,"option",9),t.EFF(3,"Select"),t.k0s(),t.DNE(4,ht,2,2,"option",45),t.k0s()()),2&n){const e=t.XpG().index,a=t.XpG(2);t.R7$(4),t.Y8G("ngForOf",a.fields[e].options)}}function ft(n,r){if(1&n&&(t.qex(0,39),t.DNE(1,ut,2,1,"td",41)(2,_t,5,1,"td",41),t.bVm()),2&n){const e=r.index,a=t.XpG(2);t.Y8G("formGroupName",e),t.R7$(),t.Y8G("ngIf","input"==a.fields[e].field_type),t.R7$(),t.Y8G("ngIf","select"==a.fields[e].field_type)}}function gt(n,r){if(1&n&&(t.j41(0,"tr",39)(1,"td"),t.EFF(2),t.k0s(),t.j41(3,"td"),t.EFF(4),t.k0s(),t.qex(5,40),t.DNE(6,ft,3,3,"ng-container",24),t.bVm(),t.k0s()),2&n){const e=r.$implicit,a=r.index,m=t.XpG();t.Y8G("@fadeInUp",void 0)("formGroupName",a),t.R7$(2),t.JRh(e.get(m.studentOrderWith).value),t.R7$(2),t.JRh(e.get("student_name").value),t.R7$(2),t.Y8G("ngForOf",m.details[a])}}function bt(n,r){if(1&n&&(t.j41(0,"button",47),t.EFF(1,"Add"),t.k0s()),2&n){const e=t.XpG();t.Y8G("disabled",0==e.students.controls.length||!e.is_add)}}function Ct(n,r){if(1&n&&(t.j41(0,"button",47),t.EFF(1,"Modify"),t.k0s()),2&n){const e=t.XpG();t.Y8G("disabled",0==e.students.controls.length||!e.is_modify)}}let Z=(()=>{class n{constructor(e,a,m,d,p,y,R,E,Y,N){this.defaults=e,this.dialogRef=a,this.dialog=m,this.fb=d,this.snackbar=p,this.examService=y,this._setting=R,this._export=E,this.studentService=Y,this.commonService=N,this.networkStatus=!1,this.networkStatus$=q.yU.EMPTY,this.autoAttendanceDate=0,this.attendances=[],this.mode="create",this.is_delete=!1,this.is_add=!1,this.is_modify=!1,this.permissions=this.commonService.getDecodedToken(),this.classes=JSON.parse(localStorage.getItem("classes")),this.school=JSON.parse(localStorage.getItem("school")),this.divisions=[],this.terms=[],this.exams=[],this.details=[],this.fields=[],this.examNameWisePRCComment=0,this.studentOrderWith="roll_no","1"==this.permissions.is_add&&(this.is_add=!0),"1"==this.permissions.is_modify&&(this.is_modify=!0),this._setting.getSetting().subscribe(D=>{D.exam_name_wise_prc_comment&&(this.examNameWisePRCComment=Number(D.exam_name_wise_prc_comment)),D.auto_atten_date_hide_show&&(this.autoAttendanceDate=Number(D.auto_atten_date_hide_show)),D.student_order_with&&(this.studentOrderWith=D.student_order_with)})}ngOnInit(){this.defaults?this.mode="update":(this.defaults={},this.defaults.exam_board_id=this.school.board),this.form=this.fb.group({update_id:[this.defaults.exam_prc_comments_master_id],exam_board_id:[this.defaults.exam_board_id],class_id:[this.defaults.class_id,c.k0.required],division_id:[this.defaults.division_id,c.k0.required],exam_term_id:[this.defaults.exam_term_id,c.k0.required],exam_name_id:[this.defaults.exam_name_id],from_date:[],to_date:[],school_open_days:[this.defaults.school_open_days,c.k0.required],students:this.fb.array([])}),this.examService.getPRCCommentFields().subscribe(e=>{this.fields=e}),this.isUpdateMode()&&(this.onClassChange(this.defaults.class_id),this.get
1Students()),this.checkNetworkStatus()}onClassChange(e){const a=this.classes.find(d=>d.class_id===e);this.getClass_name=a?a.class_name:"",this.divisions=[],this.terms=[],this.exams=[],this.form.get("division_id").setValue(this.defaults.division_id),this.form.get("exam_term_id").setValue(this.defaults.exam_term_id),this.form.get("exam_name_id").setValue(this.defaults.exam_name_id),e&&((0,X.H)(this.classes).pipe((0,W.I)(d=>d.class_id==e)).subscribe(d=>{this.divisions=d.divisions}),this.setDefaultDivisionName(this.defaults.division_id),this.examService.getExamDataforGroup({class_id:e}).subscribe(d=>{"success"==d.type?(this.terms=d.data,this.setDefaultTermName(this.defaults.exam_term_id),this.isUpdateMode()&&this.getExams(this.defaults.exam_term_id)):(this.terms=[],this.dialog.open(z.D,{data:{message:d.msg,type:"error"}}))}))}setDefaultDivisionName(e){const a=this.divisions.find(d=>d.division_id==e);this.getdivision_name=a?a.division_name:""}setDefaultTermName(e){const a=this.terms.find(d=>d.exam_term_id==e);this.getterm_name=a?a.term_name:""}getExams(e){if(this.exams=[],this.form.get("exam_name_id").setValue(this.defaults.exam_name_id),0==this.examNameWisePRCComment)return this.form.get("exam_name_id").clearValidators(),void this.form.get("exam_name_id").updateValueAndValidity();this.form.get("exam_name_id").addValidators(c.k0.required),this.form.get("exam_name_id").updateValueAndValidity(),e&&(0,X.H)(this.terms).pipe((0,W.I)(a=>a.exam_term_id===e)).subscribe(a=>{this.exams=a.exams})}get students(){return this.form.get("students")}getDays(){const e=this.form.get("class_id").value,a=this.form.get("division_id").value,m=this.form.get("from_date").value,d=this.form.get("to_date").value;this.studentService.getAttendanceReport({from_date:m,to_date:d,class_id:[e],division_id:[a],type:1}).subscribe(y=>{this.attendances=y;const R=y[0]?.total_open_days;R>0&&this.students.controls.length>0&&this.form.patchValue({school_open_days:R}),this.students.value.forEach((E,Y)=>{const N=this.attendances.find(D=>D.student_id===E.student_id);N&&E.details.filter(D=>"1"===D.exam_prc_comments_field_id).forEach((D,Xt)=>this.updateValue(Y,Xt,N.present))})})}updateValue(e,a,m){const d=this.students.controls[e].get("details").controls[a];"1"===d.get("exam_prc_comments_field_id")?.value&&d.get("value")?.setValue(m)}getStudents(){const e=this.form.get("class_id").value,a=this.form.get("division_id").value,m=this.form.get("exam_term_id").value,d=this.form.get("exam_name_id").value;e&&a&&m&&this.examService.getStudentsForPRCComment({class_id:e,division_id:a,exam_term_id:m,exam_name_id:d,examNameWisePRCComment:this.examNameWisePRCComment}).subscribe(p=>{this.students.clear(),null!=p.master.exam_prc_comments_master_id?(this.form.get("update_id").setValue(p.master.exam_prc_comments_master_id),this.form.get("school_open_days").setValue(p.master.school_open_days)):(this.form.get("update_id").setValue("null"),this.form.get("school_open_days").setValue(""));let y=p.students;y=y.sort((R,E)=>R[this.studentOrderWith]-E[this.studentOrderWith]),this.generateStudentForm(p.students)})}generateStudentForm(e){e.forEach((a,m)=>{const d=this.fb.group({student_id:[a.student_id],roll_no:[a.roll_no],sr_no:[a.sr_no],enroll_no:[a.enroll_no],student_name:[a.student_name],fathers_name:[a.fathers_name],details:this.fb.array([])});this.details[m]=[],a.details.forEach((p,y)=>{const R=this.fb.group({exam_prc_comments_detail_id:[p.exam_prc_comments_detail_id],exam_prc_comments_field_id:[p.exam_prc_comments_field_id],value:[p.value]});d.get("details").push(R),this.details[m].push(R)}),this.students.push(d)})}save(){this.networkStatus?this.form.invalid||("create"===this.mode?(this.createPRCComment(),this.snackbar.open("PRC Comment Created ",null,{duration:3e3,panelClass:["bg-green-500"]})):"update"===this.mode&&(this.updatePRCComment(),this.snackbar.open("PRC Comment Updated ",null,{duration:3e3,panelClass:["bg-green-500"]}))):this.snackbar.open("You're Offline !",null,{duration:3e3,panelClass:["bg-red-500"]})}createPRCComment(){const e=this.form.value;e.examNameWisePRCComment=this.examNameWisePRCComment,this.dialogRef.close(e)}updatePRCComment(){const e=this.form.value;e.update_id=this.defaults.exam_prc_comments_master_id,e.examNameWisePRCComment=this.examNameWisePRCComment,this.dialogRef.close(e)}printReport(){let e;e=`\n\n <div class="hidden">\n <div style="font-size: 12px;"><strong>Report: </strong>PRC Comment Report</div>\n <div style="font-size: 12px;"><strong>Class: </strong>${this.getClass_name} - ${this.getdivision_name} | <strong>Term:</strong>${this.getterm_name}</div>\n </div>\n\n <table class="table table-xs table-bordered">\n <thead>\n <tr>\n <th>R.N.</th>\n <th>Sr.N.</th>\n <th>
1Name</th>`,this.fields.forEach(a=>{e+=`<th>${a.field_name}</th>`}),e+="</tr>\n </thead>\n <tbody>",this.students.controls.forEach(a=>{e+=`<tr>\n <td>${(a=a.value).roll_no}</td>\n <td>${a.sr_no}</td>\n <td class="text-left">${a.student_name}</td>`,this.fields.forEach(m=>{a.details.forEach(d=>{m.exam_prc_comments_field_id===d.exam_prc_comments_field_id&&("input"===m.field_type?e+=`<td>${d.value}</td>`:""!=d.value?m.options.forEach(p=>{p.exam_prc_comments_fields_data_id===d.value&&(e+=`<td>${p.option_name}</td>`)}):e+="<td></td>")})}),e+="</tr>"}),e+="</tbody>\n </table>",this._export.print(e)}isCreateMode(){return"create"===this.mode}isUpdateMode(){return"update"===this.mode}checkNetworkStatus(){this.networkStatus=navigator.onLine,this.networkStatus$=(0,tt.h)((0,et.of)(null),(0,L.R)(window,"online"),(0,L.R)(window,"offline")).pipe((0,ot.T)(()=>navigator.onLine)).subscribe(e=>{this.networkStatus=e})}ngOnDestroy(){this.networkStatus$.unsubscribe()}preventEnterSubmit(e){e.preventDefault()}focusNext(e=0,a=0,m=0){if(e>=0&&e<this.students.controls.length){let d=`input_${e}_${a}`;m>0&&(d+=`_${m}`);const p=document.getElementById(d);p&&p.focus()}}static{this.\u0275fac=function(a){return new(a||n)(t.rXU(f.Vh),t.rXU(f.CP),t.rXU(f.bZ),t.rXU(c.ze),t.rXU($.UG),t.rXU(K.R),t.rXU(H.q),t.rXU(J._),t.rXU(st.b),t.rXU(Q.h))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["vex-add-update-prc-comment"]],standalone:!0,features:[t.Jv_([J._,w.x,C.vh]),t.aNF],decls:56,vars:15,consts:[["mat-dialog-title","",1,"flex","items-center","border-b"],[1,"m-0","flex-auto","uppercase"],["mat-dialog-close","","mat-icon-button","","type","button",1,"text-secondary"],["svgIcon","mat:close"],[3,"formGroup","ngSubmit","keydown.enter"],[1,"py-2"],[1,"grid","grid-cols-2","sm:grid-cols-3","md:grid-cols-4","lg:grid-cols-5","gap-x-4"],["formControlName","class_id",3,"selectionChange"],["classId",""],["value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","division_id"],["formControlName","exam_term_id",3,"selectionChange"],[4,"ngIf"],["type","text","formControlName","school_open_days","matInput","",3,"readonly"],[1,"mb-[20.125px]","flex","justify-end","items-center","gap-3","sm:justify-start","md:justify-end",3,"ngClass"],["type","button","mat-flat-button","","color","warn",3,"click"],["type","button","mat-icon-button","","color","warn",3,"click",4,"ngIf"],[1,"overflow-y-auto","h-[60vh]"],[1,"table","border-collapse","w-full","table-xs","table-bordered"],[1,"bg-zinc-400","sticky","top-0","z-10"],[1,"text-center"],[4,"ngFor","ngForOf"],["formArrayName","students"],[3,"formGroupName",4,"ngFor","ngForOf"],["align","end"],["mat-button","","mat-dialog-close","","type","button"],["color","primary","mat-flat-button","","type","submit",3,"disabled",4,"ngIf"],[3,"value"],["formControlName","exam_name_id"],[3,"rangePicker"],["matStartDate","","placeholder","Start date","formControlName","from_date",3,"readonly"],["start_date",""],["matEndDate","","placeholder","End date","formControlName","to_date",3,"readonly","dateChange"],["end_date",""],["matIconSuffix","",3,"for","disabled"],["picker",""],["type","button","mat-icon-button","","color","warn",3,"click"],["svgIcon","mat:print"],[3,"formGroupName"],["formArrayName","details"],["class","field-col ",4,"ngIf"],[1,"field-col"],["type","text","formControlName","value",1,"w-[60px]","focus:outline-none",3,"id","keydown.enter","keydown.arrowdown","keydown.arrowup"],["formControlName","value",1,"w-32"],["class","focus:outline-none",3,"value",4,"ngFor","ngForOf"],[1,"focus:outline-none",3,"value"],["color","primary","mat-flat-button","","type","submit",3,"disabled"]],template:function(a,m){1&a&&(t.j41(0,"div",0)(1,"h2",1),t.EFF(2,"PRC Comment"),t.k0s(),t.j41(3,"button",2),t.nrm(4,"mat-icon",3),t.k0s()(),t.j41(5,"form",4),t.bIt("ngSubmit",function(){return m.save()})("keydown.enter",function(p){return m.preventEnterSubmit(p)}),t.j41(6,"mat-dialog-content",5)(7,"div",6)(8,"mat-form-field")(9,"mat-label"),t.EFF(10,"Class"),t.k0s(),t.j41(11,"mat-select",7,8),t.bIt("selectionChange",function(p){return m.onClassChange(p.value)}),t.j41(13,"mat-option",9),t.EFF(14,"None"),t.k0s(),t.DNE(15,nt,2,2,"mat-option",10),t.k0s()(),t.j41(16,"mat-form-field")(17,"mat-label"),t.EFF(18,"Section"),t.k0s(),t.j41(19,"mat-select",11)(20,"mat-option",9),t.EFF(21,"None"),t.k0s(),t.DNE(22,rt,2,2,"mat-option",10),t.k0s()(),t.j41(23,"mat-form-field")(24,"mat-label"),t.EFF(25,"Term"),t.k0s(),t.j41(26,"mat-select",12),t.bIt("selectionChange",function(p){return m.getExams(p.value)}),t.j41(27,"mat-option",9),t.EFF(28,"None"),t.k0s(),t.DNE(29,it,2,2,"mat-option",10),t.k0s()(),t.DNE(30,ct,7,2,"mat-form-field",13),t.j41(31,"mat-form-field")(32,"mat-label"),t.EFF(33,"School Open Days"),t.k0s(),t.nrm(34,"input",14),t.k0s(),t.DNE(35,dt,11,5,"mat-form-field",13),t.j41(36,"div",15)(37,"button",16),t.bIt("click",function(){return m.getStudents()}),t.EFF(38,"Search"),t.k0s(),t.DNE(39,lt,2,0,"button",17),t.k0s()(),t.j41(40,"div",18)(41,"table",19)(42,"thead",20)(43,"tr")(44,"th",21),t.EFF(45),t.k0s(),t.j41(46,"th"),t.EFF(47,"Name"),t.k0s(),t.DNE(48,pt,2,1,"th",22),t.k0s()(),t.j41(49,"tbody",23),t.DNE(50,gt,7,5,"tr",24),t.k0s()()()(),t.j41(51,"mat-dialog-actions",25)(52,"button",26),t.EFF(53,"Cancel"),t.k0s(),t.DNE(54,bt,2,1,"button",27)(55,Ct,2,1,"button",27),t.k0s()()),2&a&&(t.R
17$(5),t.Y8G("formGroup",m.form),t.R7$(10),t.Y8G("ngForOf",m.classes),t.R7$(7),t.Y8G("ngForOf",m.divisions),t.R7$(7),t.Y8G("ngForOf",m.terms),t.R7$(),t.Y8G("ngIf",1==m.examNameWisePRCComment),t.R7$(4),t.Y8G("readonly",0===m.students.controls.length),t.R7$(),t.Y8G("ngIf",1===m.autoAttendanceDate),t.R7$(),t.Y8G("ngClass",1==m.examNameWisePRCComment?"md:col-span-3 lg:col-span-5":"col-span-2 md:col-span-4 lg:col-span-1"),t.R7$(3),t.Y8G("ngIf",m.isUpdateMode()),t.R7$(2),t.Y8G("@stagger",void 0),t.R7$(4),t.JRh("roll_no"==m.studentOrderWith?"R.No":"sr_no"==m.studentOrderWith?"Sr.No.":"Enroll No."),t.R7$(3),t.Y8G("ngForOf",m.fields),t.R7$(2),t.Y8G("ngForOf",m.students.controls),t.R7$(4),t.Y8G("ngIf",m.isCreateMode()),t.R7$(),t.Y8G("ngIf",m.isUpdateMode()))},dependencies:[C.MD,C.YU,C.Sq,C.bT,c.YN,c.qT,c.xH,c.y7,c.me,c.wz,c.BC,c.cb,S.RG,S.rl,S.nJ,S.yw,c.X1,c.j4,c.JD,c.$R,c.v8,G.m_,G.An,j.Hl,j.$z,j.iY,I.fS,I.fg,V.g7,A.Ve,A.VO,at.wT,k.X6,k.bU,k.el,k.xR,k.IG,k.SG,_.Ou,o.tP,B.Cn,f.hM,f.tx,f.BI,f.E7,f.Yi,w.x],data:{animation:[b.b,g.ac]}})}}return n})();var vt=i(52209),xt=i(69719),Dt=i(58713),yt=i(84706),Ft=i(99955),$t=i(47038);function Rt(n,r){if(1&n&&(t.j41(0,"th",24),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",e.label,"")}}function Tt(n,r){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.k0s()),2&n){const e=r.index,a=t.XpG(2).$implicit;t.Y8G("ngClass",a.cssClasses),t.R7$(),t.JRh(e+1)}}function Ut(n,r){if(1&n&&(t.qex(0,21),t.DNE(1,Rt,2,1,"th",22)(2,Tt,2,2,"td",23),t.bVm()),2&n){const e=t.XpG().$implicit;t.Y8G("matColumnDef",e.property)}}function kt(n,r){if(1&n&&(t.qex(0),t.DNE(1,Ut,3,1,"ng-container",20),t.bVm()),2&n){const e=r.$implicit;t.R7$(),t.Y8G("ngIf","index"===e.type)}}function Et(n,r){if(1&n&&(t.j41(0,"th",24),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",e.label,"")}}function Pt(n,r){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.k0s()),2&n){const e=r.$implicit,a=t.XpG(2).$implicit;t.Y8G("ngClass",a.cssClasses),t.R7$(),t.JRh(e[a.property])}}function jt(n,r){if(1&n&&(t.qex(0,21),t.DNE(1,Et,2,1,"th",22)(2,Pt,2,2,"td",23),t.bVm()),2&n){const e=t.XpG().$implicit;t.Y8G("matColumnDef",e.property)}}function St(n,r){if(1&n&&(t.qex(0),t.DNE(1,jt,3,1,"ng-container",20),t.bVm()),2&n){const e=r.$implicit;t.R7$(),t.Y8G("ngIf","text"===e.type)}}function Gt(n,r){if(1&n&&(t.j41(0,"th",24),t.EFF(1),t.k0s()),2&n){const e=t.XpG(2).$implicit;t.R7$(),t.SpI(" ",e.label,"")}}function Nt(n,r){if(1&n&&(t.j41(0,"td",25),t.EFF(1),t.nI1(2,"slice"),t.k0s()),2&n){const e=r.$implicit,a=t.XpG(2).$implicit;t.Y8G("ngClass",a.cssClasses),t.R7$(),t.SpI("",t.brH(2,2,e[a.property],0,15)," ")}}function It(n,r){if(1&n&&(t.qex(0,21),t.DNE(1,Gt,2,1,"th",22)(2,Nt,3,6,"td",23),t.bVm()),2&n){const e=t.XpG().$implicit;t.Y8G("matColumnDef",e.property)}}function At(n,r){if(1&n&&(t.qex(0),t.DNE(1,It,3,1,"ng-container",20),t.bVm()),2&n){const e=r.$implicit;t.R7$(),t.Y8G("ngIf","any"===e.type)}}function Ot(n,r){1&n&&t.nrm(0,"th",26)}const Yt=n=>({"text-gray-400":n});function Mt(n,r){if(1&n){const e=t.RV6();t.j41(0,"td",27)(1,"button",28),t.bIt("click",function(m){const p=t.eBV(e).$implicit,y=t.XpG();return m.stopPropagation(),t.Njj(y.deletePRCComment(p))}),t.nrm(2,"mat-icon",29),t.k0s()()}if(2&n){const e=t.XpG();t.R7$(),t.Y8G("disabled",!e.is_delete),t.R7$(),t.Y8G("ngClass",t.eq3(2,Yt,!e.is_delete))}}function Vt(n,r){1&n&&t.nrm(0,"tr",30)}function Bt(n,r){if(1&n){const e=t.RV6();t.j41(0,"tr",31),t.bIt("click",function(){const d=t.eBV(e).$implicit,p=t.XpG();return t.Njj(p.updatePRCComment(d))}),t.k0s()}2&n&&t.Y8G("@fadeInUp",void 0)}const wt=()=>["Examination","PRC Comment"];let O=class M{constructor(r,e,a,m,d,p){this.dialog=r,this.snackbar=e,this.examService=a,this._setting=m,this.loader=d,this.commonService=p,this.subject$=new h.m(1),this.data$=this.subject$.asObservable(),this.columns=[{label:"S.No.",property:"id",type:"index",visible:!0,cssClasses:["font-medium"]},{label:"Class Name",property:"class",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"Term",property:"term_name",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"School Open Days",property:"school_open_days",type:"text",visible:!0,cssClasse
1s:["font-medium"]},{label:"Action",property:"actions",type:"button",visible:!0}],this.pageSize=20,this.pageSizeOptions=[5,10,20,50],this.selection=new s.CB(!0,[]),this.searchCtrl=new c.hs,this.is_delete=!1,this.permissions=this.commonService.getDecodedToken(),this.examNameWisePRCComment=0,"1"==this.permissions.is_delete&&(this.is_delete=!0)}get visibleColumns(){return this.columns.filter(r=>r.visible).map(r=>r.property)}ngOnInit(){const r=this.commonService.detectPlatform();this.platformClass="android"===r||"ios"===r?"mobile-platform":"",this.loader.show(),this._setting.getSetting().pipe((0,F.H)(e=>(this.examNameWisePRCComment=Number(e.exam_name_wise_prc_comment),1==this.examNameWisePRCComment&&(this.columns=[{label:"S.No.",property:"id",type:"index",visible:!0,cssClasses:["font-medium"]},{label:"Class Name",property:"class",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"Term",property:"term_name",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"Exam",property:"exam_name",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"School Open Days",property:"school_open_days",type:"text",visible:!0,cssClasses:["font-medium"]},{label:"Action",property:"actions",type:"button",visible:!0}]),this.examService.getPRCComment({examNameWisePRCComment:this.examNameWisePRCComment})))).subscribe(e=>{this.subject$.next(e)}),this.dataSource=new o.I6,this.data$.pipe((0,u.p)(Boolean)).subscribe(e=>{this.PRCCommentMasters=e,this.dataSource.data=e,this.loader.hide()}),this.searchCtrl.valueChanges.pipe((0,l.s)(this)).subscribe(e=>this.onFilterChange(e))}onFilterChange(r){this.dataSource&&(r=(r=r.trim()).toLowerCase(),this.dataSource.filter=r)}ngAfterViewInit(){this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}addPRCComment(){this.dialog.open(Z,{panelClass:["w-full"],disableClose:!0}).afterClosed().subscribe(r=>{r&&this.examService.addUpdatePRCComment(r).subscribe(e=>{"success"==e.type?(this.addUpdatePRCComment(e.data),this.snackbar.open(e.msg,null,{duration:3e3,panelClass:["bg-green-600"]})):this.snackbar.open(e.msg,null,{duration:3e3,panelClass:["bg-red-500"]})})})}updatePRCComment(r){this.dialog.open(Z,{data:r,panelClass:["w-full"],disableClose:!0}).afterClosed().subscribe(e=>{e&&this.examService.addUpdatePRCComment(e).subscribe(a=>{"success"==a.type?(this.addUpdatePRCComment(a.data),this.snackbar.open(a.msg,null,{duration:3e3,panelClass:["bg-green-600"]})):this.snackbar.open(a.msg,null,{duration:3e3,panelClass:["bg-red-500"]})})})}addUpdatePRCComment(r){const e=this.PRCCommentMasters.findIndex(a=>a.exam_prc_comments_master_id===r.exam_prc_comments_master_id);-1!==e?this.PRCCommentMasters[e]=new T(r):this.PRCCommentMasters.unshift(new T(r)),this.subject$.next(this.PRCCommentMasters)}deletePRCComment(r){this.dialog.open(vt.T,{data:{message:"Are you sure, you want to delete !"}}).afterClosed().subscribe(e=>{e&&this.examService.deletePRCComment(r.exam_prc_comments_master_id).subscribe(a=>{"success"==a.type?(this.PRCCommentMasters.splice(this.PRCCommentMasters.findIndex(m=>m.exam_prc_comments_master_id===r.exam_prc_comments_master_id),1),this.selection.deselect(r),this.subject$.next(this.PRCCommentMasters),this.snackbar.open(a.msg,null,{duration:3e3,panelClass:["bg-green-600"]})):"alert"==a.type?this.dialog.open(z.D,{data:{message:a.msg,type:a.alert_type}}):this.snackbar.open(a.msg,null,{duration:3e3,panelClass:["bg-red-500"]})})})}toggleColumnVisibility(r,e){e.stopPropagation(),e.stopImmediatePropagation(),r.visible=!r.visible}trackByProperty(r,e){return e.property}static{this.\u0275fac=function(e){return new(e||M)(t.rXU(f.bZ),t.rXU($.UG),t.rXU(K.R),t.rXU(H.q),t.rXU($t.U),t.rXU(Q.h))}}static{this.\u0275cmp=t.VBU({type:M,selectors:[["vex-prc-comment"]],viewQuery:function(e,a){if(1&e&&(t.GBs(_.iy,7),t.GBs(U.B4,7)),2&e){let m;t.mGM(m=t.lsd())&&(a.paginator=m.first),t.mGM(m=t.lsd())&&(a.sort=m.first)}},inputs:{columns:"columns"},standalone:!0,features:[t.aNF],decls:23,vars:16,consts:[["current","PRC Comment",1,"justify-between"],["dcrumbs","",1,"flex-auto",3,"crumbs"],["vexContainer",""],[1,"card","overflow-auto"],[1,"bg-app-bar","px-6","h-14","border-b","sticky","left-0","flex","items-center"],[1,"bg-foreground","rounded-full","border","px-3","max-w-[400px]","flex-auto","flex","items-center"],["svgIcon","mat:search"],["placeholder","Search...","type","search",1,"px-3","py-2","border-0","outline-none","w-full","bg-transparent",3,"formControl"],[1,"flex-1"],["color","primary","mat-mini-fab","","matTooltip","Add Exam Group","type","button",1,"ml-4","flex-none",3,"click"],["svgIcon","mat:add"],[1,"overflow-auto","md:h-[60vh]","h-[48vh]","custom-table-height",3,"ngClass"],["mat-table","","matSort","",1,"w-full",3,"dataSource"],[4,"ngFor","ngForOf","ngForTrackBy"],["matColumnDef","actions"],["class","uppercase border-b-2 font-bold sticky top-0 z-10 bg-white","mat-header-cell","",4,"matHeaderCellDef"],["class","w-10 text-secondary","mat-cell","",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["class","hover:bg-hover trans-ease-out","mat-row","",3,"click",4,"matRowDef","matRowDefColumns"],[1,"sticky","left-0",3,"pageSizeOptions","pageSize"],[3,"matColumnDef",4,"ngIf"],[3,"matColumnDef"],["class","uppercase border-b-2 font-bold sticky top-0 z-10 bg-white","mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",3,"ngClass",4,"matCellDef"],["mat-header-cell","","mat-sort-header","",1,"uppercase","border-b-2","font-bold","sticky","top-0","z-10","bg-white"],["mat-cell","",3,"ngClass"],["mat-header-cell","",1,"uppercase","border-b-2","font-bold","sticky","top-0","z-10","bg-white"],["mat-cell","",1,"w-10","text-secondary"],["type","button",3,"disabled","click"],["svgIcon","mat:delete",3,"ngClass"],["mat-header-row",""],["mat-row","",1,"hover:bg-hover","trans-ease-out",3,"click"]],template:function(e,a){1&e&&(t.j41(0,"vex-page-layout")(1,"vex-secondary-toolbar",0),t.nrm(2,"vex-breadcrumbs",1),t.k0s(),t.j41(3,"vex-page-layout-content",2)(4,"div",3)(5,"div",4)(6,"div",5),t.nrm(7,"mat-icon",6)(8,"input",7),t.k0s(),t.nrm(9,"span",8),t.j41(10,"button",9),t.bIt("click",function(){return a.addPRCComment()}),t.nrm(11,"mat-icon",10),t.k0s()(),t.j41(12,"div",11)(13,"table",12),t.DNE(14,kt,2,1,"ng-container",13)(15,St,2,1,"ng-container",13)(16,At,2,1,"ng-container",13),t.qex(17,14),t.DNE(18,Ot,1,0,"th",15)(19,Mt,3,4,"td",16),t.bVm(),t.DNE(20,Vt,1,0,"tr",17)(21,Bt,1,1,"tr",18),t.k0s()(),t.nrm(22,"mat-paginator",19),t.k0s()()()),2&e&&(t.R7$(2),t.Y8G("crumbs",t.lJ4(15,wt)),t.R7$(6),t.Y8G("formControl",a.searchCtrl),t.R7$(4),t.Y8G("ngClass",a.platformClass),t.R7$(),t.Y8G("@stagger",void 0)("dataSource",a.dataSource),t.R7$(),t.Y8G("ngForOf",a.columns)("ngForTrackBy",a.trackByProperty),t.R7$(),t.Y8G("ngForOf",a.columns)("ngForTrackBy",a.trackByProperty),t.R7$(),t.Y8G("ngForOf",a.columns)("ngForTrackBy",a.trackByProperty),t.R7$(4),t.Y8G("matHeaderRowDef",a.visibleColumns),t.R7$(),t.Y8G("matRowDefColumns",a.visibleColumns),t.R7$(),t.Y8G("pageSizeOptions",a.pageSizeOptions)("pageSize",a.pageSize))},dependencies:[C.MD,C.YU,C.Sq,C.bT,C.P9,xt.s,Dt.h,yt.T,Ft.K,c.YN,c.me,c.BC,S.RG,c.X1,c.l_,G.m_,G.An,j.Hl,j.$0,I.fS,V.g7,A.Ve,_.Ou,_.iy,o.tP,o.Zl,o.tL,o.ji,o.cC,o.YV,o.iL,o.KS,o.$R,o.YZ,o.NB,B.Cn,f.hM,$._T],data:{animation:[b.b,g.ac]}})}};O=(0,x.Cg)([(0,l.d)()],O)},46539:(P,v,i)=>{i.d(v,{R:()=>b});var x=i(45312),l=i(92771),h=i(54438),F=i(21626),u=i(3871);let b=(()=>{class g{constructor(o,s){this.http=o,this.common=s,this.subjectExamTermMaster$=new l.m(1),this.dataExamTermMaster$=this.subjectExamTermMaster$.asObservable(),this.subjectExamName$=new l.m(1),this.dataExamName$=this.subjectExamName$.asObservable(),this.subjectSubExam$=new l.m(1),this.dataSubExam$=this.subjectSubExam$.asObservable(),this.subjectGroup$=new l.m(1),this.dataGroup$=this.subjectGroup$.asObservable(),this.gradeSubject$=new l.m(1),this.gradeData$=this.gradeSubject$.asObservable(),this.baseUrl=x.c.apiBaseUrl+"examination/"}getSubjectGroup(){return this.http.post(`${this.baseUrl}get-subject-group`,this.common.getTokenAsFormData())}addUpdateSubjectGroup(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-subject-group`,s)}deleteSubjectGroup(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-subject-group`,c)}getSubjectMaster(){return this.http.post(`${this.baseUrl}get-subject-master`,this.common.getTokenAsFormData())}createUpdateSubjectMaster(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}create-update-subject-master`,s)}deleteSubjectMaster(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-subject-master`,c)}createUpdateSubjectLink(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-subject-link`,s)}deleteSubjectLink(o){this.common.convertToFormData({delete_id:o})}get_subject_group_data(o){const c=this.common.convertToFormData({class_id:o});return this.http.post(`${this.baseUrl}get-subject-group-wise`,c)}getSubjectLinkedClass(){return this.http.post(`${this.baseUrl}get-subject-linked-class`,this.common.getTokenAsFormData())}getLinkedSubjects(o){const c=this.common.convertToFormData({class_id:o});return this.http.post(`${this.baseUrl}get-linked-subjects`,c)}addUpdateExamTerm(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-exam-term`,s)}getExamTerm(){return this.http.post(`${this.baseUrl}get-exam-term`,this.common.getTokenAsFormData())}deleteExamTerm(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-exam-term`,c)}addUpdateExamName(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-exam-name`,s)}getExamName(){return this.http.post(`${this.baseUrl}get-exam-name`,this.common.getTokenAsFormData())}deleteExamName(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-exam-name`,c)}addUpdateSubExam(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-sub-exam`,s)}getSubExam(){return this.http.post(`${this.baseUrl}get-sub-exam`,this.common.getTokenAsFormData())}deleteSubExam(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-sub-exam`,c)}getExamDataforGroup(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-exam-data-for-group`,s)}addUpdateExamGroup(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-exam-group`,s)}getExamGroupMaster(o={}){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-exam-group-master`,s)}getExamGroup(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-exam-group`,s)}deleteExamGroup(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-exam-group`,c)}addUpdateGradeMaster(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-grade-master`,s)}getGradeMaster(){return this.http.post(`${this.baseUrl}get-grade-master`,this.common.getTokenAsFormData())}deleteGradeMaster(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}delete-grade-master`,s)}getSubjectList(){return this.http.post(`${this.baseUrl}get-subject-list`,this.common.getTokenAsFormData())}getExamGroupSubjects(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-exam-group-subjects`,s)}getStudentsForLinkSubject(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-student-for-link-subject`,s)}addUpdateStudentSubjectLink(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-student-subject-link`,s)}getLinkedSubject(){return this.http.post(`${this.baseUrl}get-linked-subject`,this.common.getTokenAsFormData())}getGroupSubject(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-group-subject`,s)}getMarksEntryData(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-marks-entry-data`,s)}addUpdateMarksEntry(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-marks-entry`,s)}getMarksEntryUsers(){return this.http.post(`${this.baseUrl}get-mark-entry-users`,this.common.getTokenAsFormData())}getMarksEntryMaster(){return this.http.post(`${this.baseUrl}get-marks-entry-master`,this.common.getTokenAsFormData())}lockMarksEntry(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}lock-marks-entry`,s)}deleteMarksEntryMaster(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-marks-entry-master`,c)}getGroupSubjectStudentWise(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-group-subject-student-wise`,s)}getMarksEntryDataStudentWise(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-marks-entry-data-student-wise`,s)}addUpdateMarksEntryStudentWise(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-marks-entry-student-wise`,s)}getMarksEntryMasterStudentWise(){return this.http.post(`${this.baseUrl}get-marks-entry-master-student-wise`,this.common.getTokenAsFormData())}deleteMarksEntryMasterStudentWise(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-marks-entry-master-student-wise`,c)}getPRCCommentFields(){return this.http.post(`${this.baseUrl}get-prc-comment-fields`,this.common.getTokenAsFormData())}getStudentsForPRCComment(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-students-for-prc-comment`,s)}addUpdatePRCComment(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-prc-comment`,s)}getPRCComment(o={}){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-prc-comment`,s)}deletePRCComment(o){const c=this.common.convertToFormData({delete_id:o});return this.http.post(`${this.baseUrl}delete-prc-comment`,c)}getSubjectsForConsolidatedReport(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-subjects-for-consolidated-report`,s)}getConsolidatedReport(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-consolidated-report`,s)}getProgressReportCard(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-progress-report-card`,s)}getFormatFields(){return this.http.post(`${this.baseUrl}get-format-fields`,this.common.getTokenAsFormData())}getMarksGroupSetting(){return this.http.post(`${this.baseUrl}get-marks-group-setting`,this.common.getTokenAsFormData())}getDefaultPRSchema(){return this.http.post(`${this.baseUrl}get-default-pr-schema`,this.common.getTokenAsFormData())}
1addUpdatePRCFormat(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-prc-format`,s)}getPRCFormat(){return this.http.post(`${this.baseUrl}get-prc-format`,this.common.getTokenAsFormData())}deletePRCFormat(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}delete-prc-format`,s)}getToppersList(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-toppers-list`,s)}getBlankExamFormat(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-blank-exam-format`,s)}deleteBulkExam(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}delete-bulk-exam`,s)}sendMarksSms(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}send-marks-sms`,s)}getPerformanceReport(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-performance-sheet-report`,s)}getPrevYearQuest(){return this.http.post(`${this.baseUrl}get-prev-year-question-paper`,this.common.getTokenAsFormData())}createUpdatePrevYearQuest(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}add-update-prev-year-quest`,s)}deletePrevYearQuest(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}delete-prev-year-quest-paper`,s)}getSubjectWiseStudDetails(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-subject-wise-student-details`,s)}updateTermShowStatus(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}update-term-show-status`,s)}classWiseToppersList(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-toppers-list-class-wise`,s)}updateExamPrcCss(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}update-exam-prc-css`,s)}getBulkMarksEntryStructure(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}get-bulk-marks-entry-structure`,s)}importBulkMarksEntry(o){const s=this.common.convertToFormData(o);return this.http.post(`${this.baseUrl}import-bulk-marks-entry`,s)}static{this.\u0275fac=function(s){return new(s||g)(h.KVO(F.Qq),h.KVO(u.h))}}static{this.\u0275prov=h.jDH({token:g,factory:g.\u0275fac,providedIn:"root"})}}return g})()},47677:(P,v,i)=>{i.d(v,{I:()=>h});var x=i(39974),l=i(54360);function h(u,b){return(0,x.N)(function F(u,b,g){const T="index"===g;return(o,s)=>{let c=0;o.subscribe((0,l._)(s,_=>{const U=c++;u.call(b,_,U,o)&&(s.next(T?U:_),s.complete())},()=>{s.next(T?-1:void 0),s.complete()}))}}(u,b,"value"))}}}]);
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.