uawdijnntqw1x1x1
IP : 216.73.216.55
Hostname : srv913213
Kernel : Linux srv913213 5.15.0-190-generic #200-Ubuntu SMP Fri Aug 7 15:06:04 UTC 2026 x86_64
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
OS : Linux
PATH:
/
var
/
www
/
krbed.in
/
fe432618
/
..
/
.
/
panel618
/
..
/
..
/
school_portal_admin
/
101-es5.f30ea52ae31bb02b7ea1.js
/
/
function _callSuper(t,e,n){return e=_getPrototypeOf(e),_possibleConstructorReturn(t,_isNativeReflectConstruct()?Reflect.construct(e,n||[],_getPrototypeOf(t).constructor):e.apply(t,n))}function _possibleConstructorReturn(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return _assertThisInitialized(t)}function _assertThisInitialized(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _isNativeReflectConstruct(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(_isNativeReflectConstruct=function(){return!!t})()}function _getPrototypeOf(t){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function _inherits(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&_setPrototypeOf(t,e)}function _setPrototypeOf(t,e){return(_setPrototypeOf=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function _classCallCheck(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _defineProperties(t,e){for(var n=0;n<e.length;n++){var c=e[n];c.enumerable=c.enumerable||!1,c.configurable=!0,"value"in c&&(c.writable=!0),Object.defineProperty(t,_toPropertyKey(c.key),c)}}function _createClass(t,e,n){return e&&_defineProperties(t.prototype,e),n&&_defineProperties(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function _toPropertyKey(t){var e=_toPrimitive(t,"string");return"symbol"==typeof e?e:e+""}function _toPrimitive(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var c=n.call(t,e||"default");if("object"!=typeof c)return c;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(window.webpackJsonp=window.webpackJsonp||[]).push([[101],{bc2E:function(t,e,n){"use strict";n.r(e);var c=n("ofXK"),a=n("tyNb"),i=n("YUcS"),o=n("LPYB"),r=n("DKVz"),s=n("YIDO"),d=n("lDzL"),l=n("aYsj"),u=n("K1R0"),h=n("kRoH"),p=n("sQwp"),f=n("R0Ic"),g=n("cclQ"),v=n("WlQZ"),b=n("fXoL"),m=n("XiUz"),y=n("Wp6s");g.e(v.a);var x,C,w={chart:{yaxisname:"Marks",decimals:"1",use3DLighting:"0",theme:"fusion"},colorrange:{minvalue:"0",startlabel:"Low",endlabel:"High",code:"#FF4411",gradient:"1",color:[{maxvalue:"25",code:"#FFDD44",displayValue:"Median"},{maxvalue:"100",code:"#6baa01"}]},data:[{label:"Arun",value:"14",color:"#2f74af"},{label:"Babu",value:"22",color:"#2f74af"},{label:"Rcssi",value:"35",color:"#ffac17"},{label:"Ram",value:"39",color:"#ffac17"},{label:"Guna",value:"52",color:"#00c5bc"},{label:"Peru",value:"59",color:"#00c5bc"},{label:"Ramu",value:"95",color:"#ab2531"},{label:"Alia",value:"75",color:"#ab2531"},{label:"Sundar",value:"35",color:"#ffac17"},{label:"Nigi",value:"35",color:"#ffac17"},{label:"Arun",value:"14",color:"#2f74af"},{label:"Babu",value:"22",color:"#2f74af"},{label:"Rcssi",value:"35",color:"#ffac17"},{label:"Ram",value:"39",color:"#ffac17"},{label:"Guna",value:"52",color:"#00c5bc"},{label:"Peru",value:"59",color:"#00c5bc"},{label:"Ramu",value:"95",color:"#ab2531"},{label:"Alia",value:"75",color:"#ab2531"},{label:"Sundar",value:"35",color:"#ffac17"},{label:"Nigi",value:"35",color:"#ffac17"},{label:"Arun",value:"14",color:"#2f74af"},{label:"Babu",value:"22",color:"#2f74af"},{label:"Rcssi",value:"35",color:"#ffac17"},{label:"Ram",value:"39",color:"#ffac17"},{label:"Guna",value:"52",color:"#00c5bc"},{label:"Peru",value:"59",color:"#00c5bc"},{label:"Ramu",value:"95",color:"#ab2531"},{label:"Alia",value:"75",color:"#ab2531"},{label:"Sundar",value:"35",color:"#ffac17"},{label:"Nigi",value:"35",color:"#ffac17"}]},O={chart:{yaxisname:"Marks",decimals:"1",use3DLighting:"0",theme:"fusion"},data:[{label:"Tamil",value:"53",color:"#00c5bc"},{label:"English",value:"95",color:"#ab2531"},{label:"Maths",value:"53",color:"#ffac17"},{label:"Science",value:"75",color:"#00c5bc"},{label:"Social",value:"25",color:"#2f74af"},{label:"Lab",value:"25",color:"#2f74af"}]},_=((x=function(){return _createClass((function t(e){_classCallCheck(this,t),this.zone=e,this.width="100%",this.height=400,this.type="column3d",this.dataFormat="json",this.dataSource=w,this.dataSource1=O}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(t){return new(t||x)(b.Xb(b.A))},x.\u0275cmp=b.Rb({type:x,selectors:[["app-default-dashboard"]],decls:18,vars:10,consts:[[1,"dashboard-page-content"],["fxLayout","row wrap"],["fxFlex","100","fxFlex.gt-xs","100"],[1,"px-0","result-chart"],[1,"pl-12","mt-8","mb-0","text-center","text-muted"],["fxLayout","row wrap",1,"mt-0"],["fxFlex","100","fxFlex.gt-xs","100",1,""],[3,"width","height","type","dataFormat","dataSource"],["fxFlex","100","fxFlex.gt-xs","50"]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"div",1),b.dc(2,"div",2),b.dc(3,"mat-card",3),b.dc(4,"h5",4),b.dc(5,"strong"),b.cd(6,"LKG - Section 'A' - English"),b.cc(),b.cc(),b.dc(7,"div",5),b.dc(8,"div",6),b.Yb(9,"fusioncharts",7),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(10,"div",8),b.dc(11,"mat-card",3),b.dc(12,"h5",4),b.dc(13,"strong"),b.cd(14,"LKG - Arun- Prelims"),b.cc(),b.cc(),b.dc(15,"div",5),b.dc(16,"div",6),b.Yb(17,"fusioncharts",7),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.cc()),2&t&&(b.Gb(9),b.yc("width",e.width)("height",e.height)("type",e.type)("dataFormat",e.dataFormat)("dataSource",e.dataSource),b.Gb(8),b.yc("width",e.width)("height",e.height)("type",e.type)("dataFormat",e.dataFormat)("dataSource",e.dataSource1))},directives:[m.c,m.a,y.a,p.a],styles:['ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:square;font-size:19px}ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.border-left[_ngcontent-%COMP%]{border-left:2px solid red!important}.view_more[_ngcontent-%COMP%]{font-size:14px}table[_ngcontent-%COMP%]{width:100%}.img[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:50%}.pr[_ngcontent-%COMP%]{position:relative;left:8px;bottom:8px}circle-progress[_ngcontent-%COMP%]{margin-left:40px}.badge[_ngcontent-%COMP%]{background:#e40bab!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.pb-20[_ngcontent-%COMP%]{padding-bottom:20px}.card-block[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;font-size:84px;position:absolute;top:7px;opacity:.3}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.text-right[_ngcontent-%COMP%]{text-align:right!important}.text-center[_ngcontent-%COMP%]{text-align:center!important}.bg-green[_ngcontent-%COMP%]{background:#321152!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.filter-menu[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block!important}.subject-details[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{margin:0 auto}.particular-subject[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{width:232px!important}.pb-18[_ngcontent-%COMP%]{padding-bottom:18px}.date-selected[_ngcontent-%COMP%]{background:#734f96;border-radius:50%;color:#fff;width:39px;height:33px;padding-top:8px;font-size:12px}.date-selected[_ngcontent-%COMP%], .f20[_ngcontent-%COMP%]{line-height:1;text-align:center}.f20[_ngcontent-%COMP%]{font-size:17px}.f11[_ngcontent-%COMP%]{font-size:11px}.float-right[_ngcontent-%COMP%]{float:right;margin-top:2px}.float-right-eye[_ngcontent-%COMP%]{float:right}.border-right-cal[_ngcontent-%COMP%]{border-right:2px solid hsla(0,0%,80%,.6509803921568628)}.event-name[_ngcontent-%COMP%]{color:#fff;padding:10px 6px;border:1px solid;border-radius:5px;font-size:13px;line-height:1.2}.eye-icon[_ngcontent-%COMP%]{background:#734f96;border-radius:50%;color:#fff;min-width:23px;padding:3px 5px!important;margin-right:12px;line-height:18px!important}.eye-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;font-size:15px;height:16px;width:15px}.f11-date[_ngcontent-%COMP%]{font-size:11px;font-weight:700;margin-top:14px;margin-bottom:5px}.timeline-cal[_ngcontent-%COMP%]:after{content:"";position:absolute;width:4px;background-color:#ccc;top:75%;bottom:0;left:32%;height:21%}.circle-dot[_ngcontent-%COMP%]{content:"";position:absolute;width:12px;height:12px;left:103px;background-color:#734f96;border-radius:50%;z-index:1}'],data:{animation:[Object(f.o)("fade",[Object(f.n)("void => *",[Object(f.m)({opacity:0}),Object(f.e)("300ms",Object(f.m)({opacity:1}))]),Object(f.n)("* => void",[Object(f.m)({opacity:1}),Object(f.e)("300ms",Object(f.m)({opacity:0}))])])]}}),x),M=n("tk/3"),k=((C=_createClass((function t(e){_classCallCheck(this,t),this.http=e}))).\u0275fac=function(t){return new(t||C)(b.hc(M.b))},C.\u0275prov=b.Tb({token:C,factory:C.\u0275fac}),C);n("WyAD");var S,P,D,F=n("nPvc"),L=n("xJfa"),E=n("lJxs"),I=n("qc5V"),j=_createClass((function t(){_classCallCheck(this,t),this.academicYearId="",this.batchId="",this.branchId="",this.createdAt="",this.createdBy="",this.message="",this.noticeBoardId="",this.noticeDate="",this.noticeTypeId="",this.noticeTypeName="",this.status="",this.title="",this.updatedAt="",this.updatedBy=""})),G=((D=function(){return _createClass((function t(){_classCallCheck(this,t)}),[{key:"adapt",value:function(t){var e,n,c,a,i,o,r,s,d,l,u,h,p,f;return this.objList=new j,this.objList.academicYearId=null!=(e=t.academic_year_id)?e:"",this.objList.batchId=null!=(n=t.batch_id)?n:"",this.objList.branchId=null!=(c=t.branch_id)?c:"",this.objList.createdAt=null!=(a=t.created_at)?a:"",this.objList.createdBy=null!=(i=t.created_by)?i:"",this.objList.message=null!=(o=t.message)?o:"",this.objList.noticeBoardId=null!=(r=t.notice_board_id)?r:"",this.objList.noticeDate=null!=(s=t.notice_date)?s:"",this.objList.noticeTypeId=null!=(d=t.notice_type_id)?d:"",this.objList.noticeTypeName=null!=(l=t.notice_type_name)?l:"",this.objList.status=null!=(u=t.status)?u:"",this.objList.title=null!=(h=t.title)?h:"",this.objList.updatedAt=null!=(p=t.updated_at)?p:"",this.objList.updatedBy=null!=(f=t.updated_by)?f:"",this.objList}}])}()).\u0275fac=function(t){return new(t||D)},D.\u0275prov=b.Tb({token:D,factory:D.\u0275fac,providedIn:"root"}),D),B=((P=function(){return _createClass((function t(e){_classCallCheck(this,t),this.adapter=e}),[{key:"adapt",value:function(t){var e=this,n=[];return t.data.forEach((function(t){n.push(e.adapter.adapt(t))})),{keyword:t.keyword,message:t.message,noticeBoard:n,totalCount:n.length,pageSize:t.count,page:t.page}}}])}()).\u0275fac=function(t){return new(t||P)(b.hc(G))},P.\u0275prov=b.Tb({token:P,factory:P.\u0275fac,providedIn:"root"}),P),A=((S=function(){return _createClass((function t(e,n){_classCallCheck(this,t),this.adapter=e,this.apiService=n}),[{key:"getList",value:function(t){var e=this,n=new M.e;return n=n.set("student_id",t),this.apiService.get("noticeBoard",n).pipe(Object(E.a)((function(t){return e.adapter.adapt(t)})))}},{key:"getOne",value:function(t){var e=this;return this.apiService.get("noticeBoard/"+t).pipe(Object(E.a)((function(t){return e.adapter.adapt(t)})))}},{key:"attendance",value:function(t){var e=new M.e;for(var n in t)e=e.set(n,t[n]);return this.apiService.deviceget("report/student/get/attendance-count",t)}},{key:"annualAttendance",value:function(t){var e=new M.e;for(var n in t)e=e.set(n,t[n]);return this.apiService.deviceget("report/student/get/attendance-count-for-year",t)}},{key:"getCount",value:function(t){return this.apiService.get("dashboard/getCount/".concat(t))}},{key:"getResults",value:function(t){return this.apiService.get("ExamResultPercentage/"+t)}},{key:"currentAcademic",value:function(){return this.apiService.get("loadCurrentAcademic")}}])}()).\u0275fac=function(t){return new(t||S)(b.hc(B),b.hc(I.a))},S.\u0275prov=b.Tb({token:S,factory:S.\u0275fac,providedIn:"root"}),S),R=n("Olgc"),T=n("et5Z"),Y=n("Gg3P"),z=n("LRne"),N=n("Gh3/"),X=n("wlWp"),U=n("34SS"),V=n("LvDl"),W=n("WIjQ"),q=n("G6Tw"),H=n("sWYD"),$=n("SvPF"),K=n("NFeN"),Q=n("bSwM"),Z=n("bTqV"),J=n("znSr"),tt=n("bv9b"),et=["calendar"],nt=["alert"];function ct(t,e){if(1&t){var n=b.ec();b.dc(0,"mwl-calendar-month-view",74),b.lc("dayClicked",(function(t){return b.Sc(n),b.pc().dayClicked(t.day)}))("eventClicked",(function(t){return b.Sc(n),b.pc().handleEvent("edit",t.event)}))("eventTimesChanged",(function(t){return b.Sc(n),b.pc().eventTimesChanged(t)})),b.cc()}if(2&t){var c=b.pc();b.yc("viewDate",c.viewDate)("events",c.events)("refresh",c.refresh)("weekStartsOn",c.weekStart)}}function at(t,e){1&t&&(b.dc(0,"div",46),b.Yb(1,"div",75),b.cc())}function it(t,e){1&t&&(b.dc(0,"div",76),b.dc(1,"span",26),b.cd(2,"No Data Found.. "),b.cc(),b.cc())}function ot(t,e){if(1&t&&(b.dc(0,"li",50),b.dc(1,"span"),b.cd(2),b.cc(),b.cc()),2&t){var n=e.$implicit;b.Gb(2),b.dd(null==n?null:n.title)}}var rt=function(){return{cursor:"pointer",color:"skyblue"}},st=function(){return{cursor:"pointer",color:"skyblue"}},dt=function(){return{cursor:"pointer",color:"#6FBFE0"}};g.e(v.a);var lt,ut,ht=((ut=function(){return _createClass((function t(e,n,c,a,i,o,r,s,d,l,u,h,p,f,g){_classCallCheck(this,t),this.zone=e,this.router=n,this.modelService=c,this.toaster=a,this.apiserv=i,this.currentUserService=o,this.loader=r,this.route=s,this.serverDatePipe=d,this.serverMonthPipe=l,this.serverYearPipe=u,this.eventService=h,this.calendarService=p,this.reminderService=f,this.themeService=g,this.view="month",this.viewDate=new Date,this.weekStart=1,this.activeDayIsOpen=!0,this.isResult=!0,this.feeCount=0,this.batteryCount="",this.current=0,this.currentMonthly=[],this.cartCount=[],this.annualCount=[],this.monthName=[],this.keys=[],this.presentCount=[],this.absentCount=[],this.leavesCount=[],this.odsCount=[],this.permissionCount=[],this.sharedChartOptions={responsive:!0,legend:{display:!0,position:"bottom"}},this.barChartLabels=["Tamil","English","Maths","Science","Social","Hindi"],this.barChartType="bar",this.barChartLegend=!0,this.barChartPlugins=[],this.barChartData=[{data:[10,17,20,17,20,20],label:"Exam1",borderWidth:0},{data:[15,15,10,10,15,10],label:"Exam2",borderWidth:0},{data:[41,20,15,16,16,17],label:"Exam3",borderWidth:0},{data:[20,10,15,15,16,10],label:"Exam4",borderWidth:0}],this.barChartOptions=Object.assign({scaleShowVerticalLines:!1,scales:{xAxes:[{gridLines:{color:"rgba(0,0,0,0.02)",zeroLineColor:"rgba(0,0,0,0.02)"}}],yAxes:[{gridLines:{color:"rgba(0,0,0,0.02)",zeroLineColor:"rgba(0,0,0,0.02)"},position:"left",ticks:{beginAtZero:!0,suggestedMax:9}}]}},this.sharedChartOptions),this.noticeBoardCount=0,this.monthlyEventList=[],this.events=[],this.getAcademic(),this.getResults(),this.getEventList(),this.getNoticeBoardDetails(),this.monthlyAttendance(),this.feesStudentCount(),this.getFeeDueCount(),this.getBatteryLevel(),this.dataSource={chart:{xaxisname:"Section",yaxisname:"Marks in Percentage",formatnumberscale:"1",showvalues:"0",use3DLighting:"0",legendAllowDrag:"1",plottooltext:"<b>$dataValue</b> <b>$seriesName</b> in $label",theme:"fusion"},categories:[{category:[{label:"Tamil"},{label:"English"},{label:"Maths"},{label:"Science"},{label:"Social"},{label:"Hindi"}]}],dataset:[{seriesname:"Exam5",data:[{value:"1000",color:"#5C4E8E"},{value:"3000",color:"#5C4E8E"},{value:"5000",color:"#5C4E8E"},{value:"7000",color:"#5C4E8E"},{value:"9000",color:"#5C4E8E"},{value:"11000",color:"#5C4E8E"}]},{seriesname:"Exam4",legendIconBgColor:"#3FB65F",data:[{value:"1000",color:"#3FB65F"},{value:"3000",color:"#3FB65F"},{value:"5000",color:"#3FB65F"},{value:"7000",color:"#3FB65F"},{value:"9000",color:"#3FB65F"},{value:"11000",color:"#3FB65F"}]},{seriesname:"Exam1",legend:{legendIconBgColor:"#FFCC32"},data:[{value:"1000",color:"#FFCC32"},{value:"3000",color:"#FFCC32"},{value:"5000",color:"#FFCC32"},{value:"7000",color:"#FFCC32"},{value:"9000",color:"#FFCC32"},{value:"11000",color:"#FFCC32"}]},{seriesname:"Exam2",legendIconBgColor:"#05cdff",data:[{value:"1000",color:"#05cdff"},{value:"3000",color:"#05cdff"},{value:"5000",color:"#05cdff"},{value:"7000",color:"#05cdff"},{value:"9000",color:"#05cdff"},{value:"11000",color:"#05cdff"}]},{seriesname:"Exam3",legendIconBgColor:"#ef568e",data:[{value:"1000",color:"#ef568e"},{value:"3000",color:"#ef568e"},{value:"5000",color:"#ef568e"},{value:"7000",color:"#ef568e"},{value:"5000",color:"#ef568e"},{value:"11000",color:"#ef568e"}]}]}}),[{key:"onChartInit",value:function(t){console.log(t),this.echartsInstance=t,this.echartsInstance.clear(),this.echartsInstance.setOption(this.Attendance,!0),console.log(this.echartsInstance.setOption(this.Attendance,!1))}},{key:"verifyRange",value:function(t){t.length>5&&(this.calendar.selectDate(t[0]),this.dialog.open())}},{key:"ngOnInit",value:function(){this.getStudentId()}},{key:"ngAfterViewInit",value:function(){console.log("6788")}},{key:"getStudentId",value:function(){var t=this;this.studentIdSub=this.currentUserService.currentSub.subscribe((function(e){e&&(t.monthName=[],t.getAcademic(),t.getResults(),t.getEventList(),t.getNoticeBoardDetails(),t.monthlyAttendance(),t.feesStudentCount(),t.getFeeDueCount(),t.getBatteryLevel())}))}},{key:"ngOnDestroy",value:function(){this.studentIdSub.unsubscribe()}},{key:"loadEvents",value:function(){}},{key:"getNoticeBoardDetails",value:function(){var t=this;this.loader.dialogRef&&this.loader.close();var e=this.currentUserService.getCurrentStudent();e&&(this.loader.open(),this.modelService.getList(e).subscribe((function(e){"success"==e.keyword?(t.noticeBoardList=e.noticeBoard,t.noticeBoardAsyncList=Object(z.a)(t.noticeBoardList),t.noticeBoardCount=e.totalCount,t.loader.close()):(t.loader.close(),t.toaster.present(e.message))})))}},{key:"routeToNoticeBoard",value:function(){this.route.navigate(["parent/dashboard/notice-board-list"])}},{key:"changeMonth",value:function(){this.getEventList(),this.activeDayIsOpen=!1}},{key:"getEventList",value:function(){var t=this;this.loader.dialogRef&&this.loader.close(),this.monthlyEventList=[];var e=this.currentUserService.getCurrentStudent();if(e){var n=this.serverMonthPipe.transform(this.viewDate.toString()),c=this.serverYearPipe.transform(this.viewDate.toString());this.loader.open(),this.eventService.getList(e,n,c).subscribe((function(e){"success"==e.keyword?(t.events=e.eventMeetings,t.loader.close()):t.loader.close()}))}}},{key:"routeToEventsPage",value:function(){var t=this.serverDatePipe.transform(this.viewDate.toString());this.route.navigate(["parent/dashboard/events"],{queryParams:{date:t}})}},{key:"dayClicked",value:function(t){var e=t.date,n=t.events;Object(W.a)(e,this.viewDate)&&(Object(q.a)(this.viewDate,e)&&!0===this.activeDayIsOpen||0===n.length?this.activeDayIsOpen=!1:(this.activeDayIsOpen=!0,this.viewDate=e))}},{key:"eventTimesChanged",value:function(t){var e=t.event,n=t.newStart,c=t.newEnd;e.start=n,e.end=c}},{key:"monthlyAttendance",value:function(){var t=this,e=this.currentUserService.getCurrentStudent();new Date;var n=Object(U.b)(),c=Object(V.get)(n,"customer_id"),a=Object(V.get)(n,"branch_id"),i={customerId:String(c),schoolId:String(a),studentId:String(e),month:Object(H.a)(new Date,"MM"),year:Object(H.a)(new Date,"yyyy")};this.modelService.attendance(i).subscribe((function(e){t.currentMonthly=e}))}},{key:"getAcademic",value:function(){var t=this,e=this.currentUserService.getCurrentStudent();this.modelService.currentAcademic().subscribe((function(n){var c,a;"success"==n.keyword&&(c=n.data[0].start_date,a=n.data[0].end_date,t.Attendance={},null!=e&&t.annualAttendance(c,a))}))}},{key:"annualAttendance",value:function(t,e){var n=this,c=this.currentUserService.getCurrentStudent();this.annualCount=[],new Date;var a=Object(U.b)(),i=Object(V.get)(a,"customer_id"),o=Object(V.get)(a,"branch_id"),r={customerId:String(i),schoolId:String(o),studentId:String(c),fromDate:t,toDate:e};this.modelService.annualAttendance(r).subscribe((function(t){console.log(n.annualCount),n.annualCount=t,n.presentCount=[],n.absentCount=[],n.leavesCount=[],n.odsCount=[],n.permissionCount=[],n.keys=[];for(var e=0;e<n.annualCount.length;e++)for(var c in n.annualCount[e].monthlyReport)n.keys.push(c),n.monthName.push(c+"-"+n.annualCount[e].year);0!=n.annualCount.length&&n.getload()}))}},{key:"getload",value:function(){var t=this,e=[];console.log(this.keys);for(var n=function(n){t.keys.forEach((function(c,a){t.annualCount[n].monthlyReport[c]&&(e.splice(t.annualCount[n].monthlyReport[c],1),e.push(t.annualCount[n].monthlyReport[c].admissionNo),t.presentCount.push(t.annualCount[n].monthlyReport[c].presentCount),t.absentCount.push(t.annualCount[n].monthlyReport[c].absentCount),t.leavesCount.push(t.annualCount[n].monthlyReport[c].leaveCount),t.odsCount.push(t.annualCount[n].monthlyReport[c].onDutyCount),t.permissionCount.push(t.annualCount[n].monthlyReport[c].permissionCount))}))},c=0;c<this.annualCount.length;c++)n(c);this.themeService.onThemeChange.subscribe((function(e){t.initMonthVsAttendance(e)})),this.initMonthVsAttendance(this.themeService.activatedTheme),console.log(e,"hkg")}},{key:"feesStudentCount",value:function(){var t=this,e=this.currentUserService.getCurrentStudent()?this.currentUserService.getCurrentStudent():1;this.modelService.getCount(e).subscribe((function(e){t.cartCount=e.data,console.log(e)}))}},{key:"getResults",value:function(){var t=this;this.loader.dialogRef&&this.loader.close();var e=this.currentUserService.getCurrentStudent();this.isResult=!0,e&&(this.loader.open(),this.modelService.getResults(e).subscribe((function(e){var n;if("success"==e.keyword){console.log(e.data,"reuslts"),t.loader.close();var c=[];e.data.forEach((function(t,e){var n,a;c.push({examName:null===(n=t)||void 0===n?void 0:n.term_assesment_name}),null===(a=t)||void 0===a||a.sub_ary.forEach((function(t){var n,a;c[e][null===(n=t)||void 0===n?void 0:n.subject_name]=null===(a=t)||void 0===a?void 0:a.mark}))})),console.log(c,"chartData"),0!=(null===(n=c)||void 0===n?void 0:n.length)&&t.makeResultChart(c)}else t.isResult=!1,t.zone.runOutsideAngular((function(){t.chart&&t.chart.dispose()}))})))}},{key:"makeResultChart",value:function(t){var e=this;this.zone.runOutsideAngular((function(){var n=g.b("chartdiv",L.g);n.depth=80,n.paddingTop=20,n.logo.height=-15,n.legend=new L.c,n.data=t;var c=n.xAxes.push(new L.a);c.dataFields.category="examName",c.title.text="Exams",c.renderer.grid.template.location=0,c.renderer.minGridDistance=20,c.renderer.cellStartLocation=.2,c.renderer.cellEndLocation=.8;var a=n.yAxes.push(new L.f);a.title.text="Total Marks",console.log(a,"valueAxis"),a.renderer.grid.template.location=0,a.renderer.minGridDistance=20;var i=c.renderer.labels.template;i.truncate=!0,i.maxWidth=60,i.tooltipText="{category}",a.renderer.labels.template.adapter.add("text",(function(t){return t}));var o=[];for(var r in n.data[0])o.push(r);var s=[{color:"#2D77B6"},{color:"#FFAC17"},{color:"#00C5BC"},{color:"#AC2733"},{color:"#3FB65F"},{color:"#B67D27"},{color:"#5C4E8E"},{color:"#E40BAB"},{color:"#F68321"},{color:"#C36363"}],d=o.filter((function(t){return"examName"!=t}));console.log(d,"markDTO"),d.forEach((function(t,e){var c=n.series.push(new L.b);c.dataFields.valueY=String(t),c.columns.template.fill=g.a(s[e].color),c.dataFields.categoryX="examName",console.log(c.dataFields," categoryAxis.dataFields"),c.name=c.dataFields.valueY,c.clustered=!1,c.columns.template.tooltipText="Total Marks in ".concat(c.dataFields.valueY,": [bold]{valueY}[/]"),c.columns.template.fillOpacity=.9,c.columns.template.strokeWidth=2,c.columns.template.width=g.d(70),c.dx=n.depth/3*g.c.cos(30)*1,c.dy=-n.depth/3*g.c.sin(30)*1})),e.chart=n}))}},{key:"initMonthVsAttendance",value:function(t){this.Attendance={legend:{orient:"horizontal",x:"center",y:"bottom"},tooltip:{show:!0,trigger:"axis",backgroundColor:"#fff",extraCssText:"box-shadow: 0 0 3px rgba(0, 0, 0, 0.3); color: #444",axisPointer:{type:"line",animation:!0}},grid:{top:"10%",left:"50px",right:"20px",bottom:"60"},xAxis:{type:"category",boundaryGap:!0,data:this.monthName,axisLabel:{show:!0,margin:20,color:"#888"},axisTick:{show:!1},axisLine:{show:!1,lineStyle:{show:!1}},splitLine:{show:!1}},yAxis:{type:"value",boundaryGap:!0,min:0,max:31,scale:!0,interval:3,axisLine:{show:!1},axisLabel:{show:!0,margin:20,color:"#888"},axisTick:{show:!1},splitLine:{show:!0,lineStyle:{type:"dashed"}}},series:[{name:"Present",label:{show:!1,color:"#28912B"},type:"bar",barGap:0,color:"#28912B",smooth:!0},{name:"Absent",label:{show:!1,color:"#d62e3d"},type:"bar",color:"#d62e3d",smooth:!0},{name:"Leave",label:{show:!1,color:"#2f75b1"},type:"bar",color:"#2f75b1",smooth:!0},{name:"On Duty",label:{show:!1,color:"#ffac17"},type:"bar",color:"#ffac17",smooth:!0},{name:"Permission",label:{show:!1,color:"#00c5bc"},type:"bar",color:"#00c5bc",smooth:!0}]},this.monthVsAttendance={series:[{data:this.presentCount},{data:this.absentCount},{data:this.leavesCount},{data:this.odsCount},{data:this.permissionCount}]}}},{key:"getFeeDueCount",value:function(){var t=this;this.loader.dialogRef&&this.loader.close();var e=this.currentUserService.getCurrentStudent();e&&(this.loader.open(),this.reminderService.getFeesList(e,void 0).subscribe((function(e){"success"==e.keyword&&(t.feeCount=e.count)})))}},{key:"getBatteryLevel",value:function(){var t=this;if(this.loader.dialogRef&&this.loader.close(),this.currentUserService.getCurrentStudent()){var e=Object(U.b)(),n=Object(V.get)(e,"customer_id"),c=Object(V.get)(e,"branch_id"),a=this.currentUserService.getCurrentStudent(),i={customerId:String(n),schoolId:String(c),studentId:String(a)};this.reminderService.getBatteryList(i).subscribe((function(e){var n;t.batteryCount=null!=(n=e.batteryLevel)?n:""}))}}}])}()).\u0275fac=function(t){return new(t||ut)(b.Xb(b.A),b.Xb(a.g),b.Xb(A),b.Xb(R.a),b.Xb(I.a),b.Xb(T.a),b.Xb(Y.a),b.Xb(a.g),b.Xb(N.d),b.Xb(N.f),b.Xb(N.g),b.Xb(X.a),b.Xb(k),b.Xb(F.a),b.Xb($.a))},ut.\u0275cmp=b.Rb({type:ut,selectors:[["app-default-dashboard"]],viewQuery:function(t,e){var n;1&t&&(b.Yc(et,!0),b.Yc(nt,!0)),2&t&&(b.Nc(n=b.mc())&&(e.calendar=n.first),b.Nc(n=b.mc())&&(e.dialog=n.first))},features:[b.Fb([N.f,N.g,N.d])],decls:193,vars:59,consts:[[1,"dashboard-page-content"],["fxLayout","row wrap"],["fxFlex","100","fxFlex.gt-xs","74"],["fxLayout","row wrap",1,"card-block"],["fxFlex","100","fxFlex.gt-xs","25"],[1,"py-32","cursor-pointer",2,"background","#859f05de"],[1,"purple-400-fg"],[2,"font-size","13px"],[1,"py-32","cursor-pointer",2,"background","#f9a2cc"],[1,"red-500-fg"],[1,"py-32","cursor-pointer",2,"background","#f3b750"],[1,"teal-500-fg"],[1,"py-32","cursor-pointer",2,"background","#6bd2ea",3,"routerLink"],[1,"teal-500-fg","text-right"],[1,"light-blue-500-fg","pt-22"],["fxFlex","100","fxFlex.gt-xs","100"],[1,"px-0",2,"height","304px"],[1,"pl-8","border-left"],["echarts","",2,"height","288px",3,"options","merge","autoResize","chartInit"],["fxFlex","100","fxFlex.gt-xs","26"],[1,"px-0",2,"height","441px"],[2,"height","426px"],[2,"float","right","margin-right","8px"],["disabled","",1,"mr-12","event"],["fxLayout","row wrap",1,""],["fxFlex","100","fxFlex.gt-xs","10",1,""],[1,"text-center"],["mat-icon-button","","mwlCalendarPreviousView","",3,"view","viewDate","click","viewDateChange"],["fxFlex","100","fxFlex.gt-xs","75",1,"text-center","mt-12"],[1,"m-0"],["fxFlex","100","fxFlex.gt-xs","15",1,""],["mat-icon-button","","mwlCalendarNextView","",3,"view","viewDate","click","viewDateChange"],[1,""],[1,"dashboard-events-view","events-view","p-4",3,"ngSwitch"],[3,"viewDate","events","refresh","weekStartsOn","dayClicked","eventClicked","eventTimesChanged",4,"ngSwitchCase"],[2,"height","15px"],[1,"float-right","mr-16"],[1,"view_more",3,"ngStyle","click"],["fxFlex","100","fxFlex.gt-xs","45"],[1,"px-0","result-chart",2,"height","358px"],["fxFlex","100","fxFlex.gt-xs","40"],[1,"pl-8","mb-12","border-left"],["fxLayout","row wrap",1,"mt-0"],["fxFlex","100","fxFlex.gt-xs","100","class","",4,"ngIf"],["style","margin-top: 17px;","class","text-center",4,"ngIf"],["fxFlex","100","fxFlex.gt-xs","29"],["fxFlex","100","fxFlex.gt-xs","100",1,""],[1,"pt-8","pb-16","px-0",2,"height","100px"],[1,"view_more",3,"ngStyle","routerLink"],[1,"pl-16","reminder","mt-16",2,"list-style","none"],[1,"py-4"],[3,"ngStyle"],[1,"badge"],[1,"px-0","hw-chart",2,"height","218px"],[1,"bg-green","green"],["direction","up"],[1,"list","list-scroll"],["class","py-4",4,"ngFor","ngForOf"],[1,"px-0","pb-16",2,"height","358px"],[1,"px-12"],[1,"mt-4"],[1,"m-0","text-15"],[1,"text-muted","float-right"],["mode","determinate",1,"rounded","present",2,"height","6px","color","#04A60A",3,"value"],["mode","determinate",1,"rounded","absent",2,"height","6px","color","#D62E3D",3,"value"],["mode","determinate",1,"rounded","leave",2,"height","6px","color","#2F75B1",3,"value"],["mode","determinate",1,"rounded","late",2,"height","6px","color","#FFAC17",3,"value"],["mode","determinate",1,"rounded","od",2,"height","6px","color","#FFAC17",3,"value"],["mode","determinate",1,"rounded","permiss",2,"height","6px","color","#FFAC17",3,"value"],["mode","determinate",1,"rounded","permission",2,"height","6px","color","#00C5BC",3,"value"],["mode","determinate",1,"rounded","withoutpermission",2,"height","6px","color","#E57373",3,"value"],["mode","determinate",1,"rounded","latepermission",2,"height","6px","color","#E57373",3,"value"],[1,"p"],["mode","determinate",1,"rounded","latewithoutpermission",2,"height","6px","color","#E57373",3,"value"],[3,"viewDate","events","refresh","weekStartsOn","dayClicked","eventClicked","eventTimesChanged"],["id","chartdiv",2,"width","100%","height","350px"],[1,"text-center",2,"margin-top","17px"]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"div",1),b.dc(2,"div",2),b.dc(3,"div",3),b.dc(4,"div",4),b.dc(5,"mat-card",5),b.dc(6,"h2",6),b.dc(7,"strong"),b.cd(8),b.cc(),b.dc(9,"small",7),b.cd(10,"Current Month"),b.cc(),b.cc(),b.dc(11,"h3",6),b.cd(12,"ATTENDANCE"),b.cc(),b.dc(13,"mat-icon"),b.cd(14,"date_range"),b.cc(),b.cc(),b.cc(),b.dc(15,"div",4),b.dc(16,"mat-card",8),b.dc(17,"h2",9),b.dc(18,"strong"),b.cd(19),b.cc(),b.cc(),b.dc(20,"h3",9),b.cd(21,"FEES DUE"),b.cc(),b.dc(22,"mat-icon"),b.cd(23,"supervisor_account"),b.cc(),b.cc(),b.cc(),b.dc(24,"div",4),b.dc(25,"mat-card",10),b.dc(26,"h2",11),b.dc(27,"strong"),b.cd(28),b.cc(),b.cc(),b.dc(29,"h3",11),b.cd(30,"TOTAL SUBJECT"),b.cc(),b.dc(31,"mat-icon"),b.cd(32,"local_library"),b.cc(),b.cc(),b.cc(),b.dc(33,"div",4),b.dc(34,"mat-card",12),b.dc(35,"h2",13),b.Yb(36,"strong"),b.cc(),b.dc(37,"h3",14),b.cd(38,"TRACKING"),b.cc(),b.dc(39,"mat-icon"),b.cd(40,"location_on"),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(41,"div",1),b.dc(42,"div",15),b.dc(43,"mat-card",16),b.dc(44,"h4",17),b.dc(45,"strong"),b.cd(46,"Annual Attendance Overview"),b.cc(),b.cc(),b.dc(47,"div",18),b.lc("chartInit",(function(t){return e.onChartInit(t)})),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(48,"div",19),b.dc(49,"mat-card",20),b.dc(50,"div",21),b.dc(51,"h4",17),b.dc(52,"strong"),b.cd(53,"Calendar"),b.cc(),b.dc(54,"span",22),b.dc(55,"mat-checkbox",23),b.cd(56,"Event"),b.cc(),b.cc(),b.cc(),b.dc(57,"div",24),b.dc(58,"div",25),b.dc(59,"div",26),b.dc(60,"button",27),b.lc("click",(function(t){return e.changeMonth()}))("viewDateChange",(function(t){return e.viewDate=t})),b.dc(61,"mat-icon"),b.cd(62,"chevron_left"),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(63,"div",28),b.dc(64,"h3",29),b.dc(65,"strong"),b.cd(66),b.qc(67,"calendarDate"),b.cc(),b.cc(),b.cc(),b.dc(68,"div",30),b.dc(69,"div",26),b.dc(70,"button",31),b.lc("click",(function(t){return e.changeMonth()}))("viewDateChange",(function(t){return e.viewDate=t})),b.dc(71,"mat-icon",32),b.cd(72,"chevron_right"),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(73,"div",33),b.ad(74,ct,1,4,"mwl-calendar-month-view",34),b.cc(),b.cc(),b.dc(75,"div",35),b.dc(76,"span",36),b.dc(77,"a",37),b.lc("click",(function(t){return e.routeToEventsPage()})),b.cd(78,"View More"),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(79,"div",1),b.dc(80,"div",38),b.dc(81,"mat-card",39),b.dc(82,"div",1),b.dc(83,"div",40),b.dc(84,"h4",41),b.dc(85,"strong"),b.cd(86,"Result"),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(87,"div",42),b.ad(88,at,2,0,"div",43),b.cc(),b.ad(89,it,3,0,"div",44),b.cc(),b.cc(),b.dc(90,"div",45),b.dc(91,"div",42),b.dc(92,"div",46),b.dc(93,"mat-card",47),b.dc(94,"h4",17),b.dc(95,"strong"),b.cd(96,"Reminder"),b.cc(),b.dc(97,"span",36),b.dc(98,"a",48),b.cd(99,"View More"),b.cc(),b.cc(),b.cc(),b.dc(100,"ul",49),b.dc(101,"li",50),b.dc(102,"span"),b.dc(103,"a",51),b.cd(104,"Fees Due"),b.cc(),b.cc(),b.dc(105,"span",52),b.cd(106),b.cc(),b.cc(),b.dc(107,"li",50),b.dc(108,"span"),b.dc(109,"a",51),b.cd(110,"Battery Level "),b.cc(),b.cc(),b.dc(111,"span",52),b.cd(112),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(113,"div",46),b.dc(114,"mat-card",53),b.dc(115,"h4",17),b.dc(116,"strong"),b.cd(117,"Notice Board"),b.cc(),b.dc(118,"span",54),b.cd(119),b.cc(),b.dc(120,"span",36),b.dc(121,"a",37),b.lc("click",(function(t){return e.routeToNoticeBoard()})),b.cd(122,"View More"),b.cc(),b.cc(),b.cc(),b.dc(123,"marquee",55),b.dc(124,"ul",56),b.ad(125,ot,3,1,"li",57),b.qc(126,"async"),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(127,"div",19),b.dc(128,"mat-card",58),b.dc(129,"h4",17),b.dc(130,"strong"),b.cd(131,"Current Month Attendance Summary"),b.cc(),b.cc(),b.dc(132,"mat-card-content",59),b.dc(133,"div",60),b.dc(134,"p",61),b.cd(135," Present "),b.dc(136,"span",62),b.cd(137),b.cc(),b.cc(),b.Yb(138,"mat-progress-bar",63),b.cc(),b.dc(139,"div",60),b.dc(140,"p",61),b.cd(141," Absent "),b.dc(142,"span",62),b.cd(143),b.cc(),b.cc(),b.Yb(144,"mat-progress-bar",64),b.cc(),b.dc(145,"div",60),b.dc(146,"p",61),b.cd(147," Leave "),b.dc(148,"span",62),b.cd(149),b.cc(),b.cc(),b.Yb(150,"mat-progress-bar",65),b.cc(),b.dc(151,"div",60),b.dc(152,"p",61),b.cd(153," Late Coming "),b.dc(154,"span",62),b.cd(155),b.cc(),b.cc(),b.Yb(156,"mat-progress-bar",66),b.cc(),b.dc(157,"div",60),b.dc(158,"p",61),b.cd(159," OD "),b.dc(160,"span",62),b.cd(161),b.cc(),b.cc(),b.Yb(162,"mat-progress-bar",67),b.cc(),b.dc(163,"div",60),b.dc(164,"p",61),b.cd(165," Permission "),b.dc(166,"span",62),b.cd(167),b.cc(),b.cc(),b.Yb(168,"mat-progress-bar",68),b.cc(),b.dc(169,"div",60),b.dc(170,"p",61),b.cd(171," Left Early with Permission "),b.dc(172,"span",62),b.cd(173),b.cc(),b.cc(),b.Yb(174,"mat-progress-bar",69),b.cc(),b.dc(175,"div",60),b.dc(176,"p",61),b.cd(177," Left Early without Permission "),b.dc(178,"span",62),b.cd(179),b.cc(),b.cc(),b.Yb(180,"mat-progress-bar",70),b.cc(),b.dc(181,"div",60),b.dc(182,"p",61),b.cd(183," Late Coming Left Early with Permission "),b.dc(184,"span",62),b.cd(185),b.cc(),b.cc(),b.Yb(186,"mat-progress-bar",71),b.cc(),b.dc(187,"div",72),b.dc(188,"p",61),b.cd(189," Late Coming Left Early without Permission "),b.dc(190,"span",62),b.cd(191),b.cc(),b.cc(),b.Yb(192,"mat-progress-bar",73),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.cc()),2&t&&(b.Gb(8),b.ed("",e.currentMonthly.presentPercentage?e.currentMonthly.presentPercentage:0,"% - "),b.Gb(11),b.dd(null!=e.cartCount&&e.cartCount.fee_due?null==e.cartCount?null:e.cartCount.fee_due:0),b.Gb(9),b.dd(null!=e.cartCount&&e.cartCount.subject_count?null==e.cartCount?null:e.cartCount.subject_count:0),b.Gb(6),b.yc("routerLink","/parent/tracking"),b.Gb(13),b.yc("options",e.Attendance)("merge",e.monthVsAttendance)("autoResize",!0),b.Gb(13),b.yc("view",e.view)("viewDate",e.viewDate),b.Gb(4),b.Zc("line-height","26px"),b.Gb(2),b.dd(b.tc(67,48,e.viewDate,e.view+"ViewTitle","en")),b.Gb(4),b.yc("view",e.view)("viewDate",e.viewDate),b.Gb(3),b.yc("ngSwitch",e.view),b.Gb(1),b.yc("ngSwitchCase","month"),b.Gb(3),b.yc("ngStyle",b.Ec(54,rt)),b.Gb(11),b.yc("ngIf",1==e.isResult),b.Gb(1),b.yc("ngIf",0==e.isResult),b.Gb(9),b.yc("ngStyle",b.Ec(55,st))("routerLink","/parent/reminder/list"),b.Gb(5),b.yc("ngStyle",b.Ec(56,dt)),b.Gb(3),b.dd(e.feeCount),b.Gb(3),b.yc("ngStyle",b.Ec(57,dt)),b.Gb(3),b.dd(""==e.batteryCount?"0":1),b.Gb(7),b.dd(e.noticeBoardCount),b.Gb(2),b.yc("ngStyle",b.Ec(58,st)),b.Gb(4),b.yc("ngForOf",b.rc(126,52,e.noticeBoardAsyncList)),b.Gb(12),b.ed(" ",e.currentMonthly.presentCount,""),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.presentCount),b.Gb(5),b.dd(e.currentMonthly.absentCount),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.absentCount),b.Gb(5),b.dd(e.currentMonthly.leaveCount),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.leaveCount),b.Gb(5),b.dd(e.currentMonthly.lateComingCount),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.lateComingCount),b.Gb(5),b.dd(e.currentMonthly.onDutyCount),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.onDutyCount),b.Gb(5),b.dd(e.currentMonthly.permissionCount),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.permissionCount),b.Gb(5),b.ed(" ",e.currentMonthly.leWithPermissionCount,""),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.leWithPermissionCount),b.Gb(5),b.ed(" ",e.currentMonthly.leWithoutPermissionCount,""),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.leWithoutPermissionCount),b.Gb(5),b.ed(" ",e.currentMonthly.lateComingAndLeWithPermissionCount,""),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.lateComingAndLeWithPermissionCount),b.Gb(5),b.ed(" ",e.currentMonthly.lateComingAndLeWithOutPermissionCount,""),b.Gb(1),b.yc("value",3.2258*e.currentMonthly.lateComingAndLeWithOutPermissionCount))},directives:[m.c,m.a,y.a,K.a,a.h,r.b,Q.a,Z.a,h.g,h.h,c.q,c.r,c.p,J.b,c.o,a.j,c.n,y.c,tt.a,h.c],pipes:[h.j,c.b],styles:['ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:square;font-size:19px}ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.border-left[_ngcontent-%COMP%]{border-left:2px solid red!important}.view_more[_ngcontent-%COMP%]{font-size:14px}table[_ngcontent-%COMP%]{width:100%}.img[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:50%}.pr[_ngcontent-%COMP%]{position:relative;left:8px;bottom:8px}circle-progress[_ngcontent-%COMP%]{margin-left:40px}.badge[_ngcontent-%COMP%]{background:#e40bab!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.pb-20[_ngcontent-%COMP%]{padding-bottom:20px}.card-block[_ngcontent-%COMP%] mat-card[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;font-size:70px;position:absolute;top:14px;left:150px;opacity:.3}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.text-right[_ngcontent-%COMP%]{text-align:right!important}.text-center[_ngcontent-%COMP%]{text-align:center!important}.bg-green[_ngcontent-%COMP%]{background:#321152!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.filter-menu[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block!important}.subject-details[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{margin:0 auto}.particular-subject[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{width:232px!important}.pb-18[_ngcontent-%COMP%]{padding-bottom:18px}.date-selected[_ngcontent-%COMP%]{background:#734f96;border-radius:50%;color:#fff;width:39px;height:33px;padding-top:8px;font-size:12px}.date-selected[_ngcontent-%COMP%], .f20[_ngcontent-%COMP%]{line-height:1;text-align:center}.f20[_ngcontent-%COMP%]{font-size:17px}.f11[_ngcontent-%COMP%]{font-size:11px}.float-right[_ngcontent-%COMP%]{float:right;margin-top:2px}.float-right-eye[_ngcontent-%COMP%]{float:right}.border-right-cal[_ngcontent-%COMP%]{border-right:2px solid hsla(0,0%,80%,.6509803921568628)}.event-name[_ngcontent-%COMP%]{color:#fff;padding:10px 6px;border:1px solid;border-radius:5px;font-size:13px;line-height:1.2}.eye-icon[_ngcontent-%COMP%]{background:#734f96;border-radius:50%;color:#fff;min-width:23px;padding:3px 5px!important;margin-right:12px;line-height:18px!important}.eye-icon[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;font-size:15px;height:16px;width:15px}.f11-date[_ngcontent-%COMP%]{font-size:11px;font-weight:700;margin-top:14px;margin-bottom:5px}.timeline-cal[_ngcontent-%COMP%]:after{content:"";position:absolute;width:4px;background-color:#ccc;top:75%;bottom:0;left:32%;height:21%}.pt-22[_ngcontent-%COMP%]{padding-top:22px!important}.circle-dot[_ngcontent-%COMP%]{content:"";position:absolute;width:12px;height:12px;left:31%!important;background-color:#734f96;border-radius:50%;z-index:1}@media (max-width:1350px){.circle-dot[_ngcontent-%COMP%]{left:103px!important}}@media (min-width:1536px){.circle-dot[_ngcontent-%COMP%]{left:116px!important}}']}),ut),pt=((lt=function(){return _createClass((function t(){_classCallCheck(this,t)}),[{key:"ngOnInit",value:function(){}}])}()).\u0275fac=function(t){return new(t||lt)},lt.\u0275cmp=b.Rb({type:lt,selectors:[["app-default-dashboard"]],decls:13,vars:1,consts:[[1,"create_btn"],["mat-raised-button","","color","primary",1,"btn-primary-bg",3,"routerLink"],[1,"dashboard-page-content"],["fxLayout","row wrap"],["fxFlex","100","fxFlex.gt-xs","50"],[1,"px-0","hw-chart"],[1,"pl-8","mb-12","border-left"],["fxLayout","row wrap",1,"mt-24"],["fxFlex","100","fxFlex.gt-xs","100",1,"pl-12"]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"button",1),b.cd(2,"Dashboard"),b.cc(),b.cc(),b.dc(3,"div",2),b.dc(4,"div",3),b.dc(5,"div",4),b.dc(6,"mat-card",5),b.dc(7,"h4",6),b.dc(8,"strong"),b.cd(9,"Section - A English"),b.cc(),b.cc(),b.dc(10,"div",7),b.Yb(11,"div",8),b.cc(),b.cc(),b.cc(),b.Yb(12,"div",4),b.cc(),b.cc()),2&t&&(b.Gb(1),b.yc("routerLink","/default-dashboard"))},directives:[Z.a,a.h,m.c,m.a,y.a],styles:["ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{list-style-type:square;font-size:19px}ul.list[_ngcontent-%COMP%] li[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:14px}.border-left[_ngcontent-%COMP%]{border-left:2px solid red!important}.view_more[_ngcontent-%COMP%]{font-size:14px}table[_ngcontent-%COMP%]{width:100%}.img[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:50%}.pr[_ngcontent-%COMP%]{position:relative;left:8px;bottom:8px}circle-progress[_ngcontent-%COMP%]{margin-left:40px}.badge[_ngcontent-%COMP%]{background:#e40bab!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.pb-20[_ngcontent-%COMP%]{padding-bottom:20px}mat-card[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{color:#fff;font-size:100px;position:absolute;top:7px;opacity:.3}.cursor-pointer[_ngcontent-%COMP%]{cursor:pointer}.text-right[_ngcontent-%COMP%]{text-align:right!important}.text-center[_ngcontent-%COMP%]{text-align:center!important}.bg-green[_ngcontent-%COMP%]{background:#321152!important;color:#fff!important;left:5px;font-size:12px;font-weight:700;text-align:center;padding:8px;position:relative;display:inline-flex;justify-content:center;align-items:center;width:.5em;height:.5em;border-radius:20px}.filter-menu[_ngcontent-%COMP%] mat-checkbox[_ngcontent-%COMP%]{display:block!important}.subject-details[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{margin:0 auto}.particular-subject[_ngcontent-%COMP%] canvas[_ngcontent-%COMP%]{width:232px!important}"],data:{animation:[Object(f.o)("fade",[Object(f.n)("void => *",[Object(f.m)({opacity:0}),Object(f.e)("300ms",Object(f.m)({opacity:1}))]),Object(f.n)("* => void",[Object(f.m)({opacity:1}),Object(f.e)("300ms",Object(f.m)({opacity:0}))])])]}}),lt),ft=n("XNiG"),gt=n("tU6i"),vt=n("wd/R"),bt=n("Ufly"),mt=n("jtrZ"),yt=n("0IaG"),xt=n("f0Cb");function Ct(t,e){if(1&t){var n=b.ec();b.dc(0,"mwl-calendar-month-view",22),b.lc("dayClicked",(function(t){return b.Sc(n),b.pc().dayClicked(t.day)}))("eventClicked",(function(t){return b.Sc(n),b.pc().handleEvent("Clicked",t.event)}))("eventTimesChanged",(function(t){return b.Sc(n),b.pc().eventTimesChanged(t)})),b.cc()}if(2&t){var c=b.pc();b.yc("viewDate",c.viewDate)("events",c.events)("refresh",c.refresh)("activeDayIsOpen",c.activeDayIsOpen)}}function wt(t,e){if(1&t&&(b.dc(0,"div"),b.Yb(1,"div",29),b.dc(2,"h6",30),b.cd(3),b.qc(4,"displayTime"),b.qc(5,"displayTime"),b.cc(),b.dc(6,"h6",31),b.cd(7),b.cc(),b.cc()),2&t){var n=e.$implicit;b.Gb(3),b.fd(" ",b.rc(4,3,null==n?null:n.fromTime)," - ",b.rc(5,5,null==n?null:n.toTime)," "),b.Gb(4),b.dd(null==n?null:n.title)}}function Ot(t,e){if(1&t&&(b.dc(0,"div",23),b.dc(1,"div",24),b.dc(2,"p",25),b.cd(3),b.qc(4,"date"),b.cc(),b.cc(),b.dc(5,"div",26),b.dc(6,"div",27),b.ad(7,wt,8,7,"div",28),b.cc(),b.cc(),b.cc()),2&t){var n=e.$implicit;b.Gb(3),b.dd(b.sc(4,2,null==n?null:n.date,"EE, MMMM d, y")),b.Gb(4),b.yc("ngForOf",null==n?null:n.list)}}function _t(t,e){1&t&&(b.dc(0,"div",32),b.cd(1," No Data Found "),b.cc())}var Mt,kt=function(){return{delay:"200ms",y:"40px"}},St=function(t){return{value:"*",params:t}},Pt=((Mt=function(){return _createClass((function t(e,n,c,a,i,o,r,s,d,l,u){_classCallCheck(this,t),this.calendarService=e,this.router=n,this.dialog=c,this.modelService=a,this.currentUserService=i,this.toaster=o,this.serverMonthPipe=r,this.serverYearPipe=s,this.activateRoute=d,this.loader=l,this.config=u,this.viewDate=new Date,this.weekStart=1,this.activeDayIsOpen=!1,this.refresh=new ft.a,this.studentName="",this.events=[],this.view=h.d.Month,this.CalendarView=h.d,this.monthlyEventList=[];var p=this.activateRoute.snapshot.queryParamMap.get("date");p?(this.viewDate=new Date(p),this.getEventList()):(this.viewDate=new Date,this.getEventList()),this.setDateformat()}),[{key:"setDateformat",value:function(){"DD MM YYYY"==this.config.dateRawFormat&&(this.dateFormat="EEE dd MMM yyyy"),"YYYY MM DD"==this.config.dateRawFormat&&(this.dateFormat="EEE yyyy MMM dd"),"MM DD YYYY"==this.config.dateRawFormat&&(this.dateFormat="EEE MMM dd yyyy ")}},{key:"ngOnInit",value:function(){this.getStudentId()}},{key:"getStudentId",value:function(){var t=this;this.studentIdSub=this.currentUserService.currentSub.subscribe((function(e){e&&t.getEventList()}))}},{key:"getEventList",value:function(){var t=this;this.monthlyEventList=[];var e=this.currentUserService.getCurrentStudent();this.studentName=this.currentUserService.getStudentName(e);var n=this.serverMonthPipe.transform(this.viewDate.toString()),c=this.serverYearPipe.transform(this.viewDate.toString());this.loader.open(),this.modelService.getList(e,n,c).subscribe((function(e){"success"==e.keyword?(t.events=e.eventMeetings,t.convertEventsBasedOnDate(e.eventMeetings),t.loader.close()):(t.loader.close(),t.toaster.present(e.message))}))}},{key:"convertEventsBasedOnDate",value:function(t){var e=this,n=[];t.forEach((function(t){var c=e.getDates(t,new Date(t.start),new Date(t.end));n.push(c)}));var c=V.flatten(V.map(n)),a=(c.map((function(t){return t.date})).filter((function(t,e,n){if(n.indexOf(t)!==e){var a=c[e].list[0];c[n.indexOf(t)].list.push(a),c[n.indexOf(t)].list=V.orderBy(c[n.indexOf(t)].list,"fromTime","asc")}})),V.uniqBy(c,"date")),i=V.orderBy(a,["date"],["asc"]);this.monthlyEventList=i}},{key:"getDates",value:function(t,e,n){for(var c=new Array,a=e;a<=n;){var i=vt(a).format("YYYY-MM-DD"),o=[];t.startTime=vt(t.fromTime,"HH:mm").format("h:mm a"),t.endTime=vt(t.toTime,"HH:mm").format("h:mm a"),o.push(t),c.push({date:i,list:o}),a=vt(a).add(1,"days")}return c}},{key:"changeMonth",value:function(){this.getEventList(),this.activeDayIsOpen=!1}},{key:"dayClicked",value:function(t){var e=t.date,n=t.events;Object(W.a)(e,this.viewDate)&&(this.activeDayIsOpen=!(Object(q.a)(this.viewDate,e)&&!0===this.activeDayIsOpen||0===n.length),this.viewDate=e)}},{key:"ngOnDestroy",value:function(){this.studentIdSub.unsubscribe()}},{key:"handleEvent",value:function(t,e){this.dialogRef=this.dialog.open(gt.a,{panelClass:"calendar-form-dialog",disableClose:!0,data:{event:e,action:t,eventId:e._id},width:"470px"}),this.dialogRef.afterClosed().subscribe((function(t){}))}}])}()).\u0275fac=function(t){return new(t||Mt)(b.Xb(k),b.Xb(a.g),b.Xb(yt.b),b.Xb(X.a),b.Xb(T.a),b.Xb(R.a),b.Xb(N.f),b.Xb(N.g),b.Xb(a.a),b.Xb(Y.a),b.Xb(mt.a))},Mt.\u0275cmp=b.Rb({type:Mt,selectors:[["app-view"]],features:[b.Fb([N.f,N.g])],decls:38,vars:20,consts:[[1,"create_btn"],["mat-raised-button","","color","green",1,"btn-primary-bg",3,"routerLink"],[1,"form_bg"],[1,"p-0"],[1,""],[1,"card-title-text"],["fxLayout","row wrap",1,"meeting"],["fxFlex","100","fxFlex.gt-xs","50",1,""],[1,"p-12"],["fxLayout","row wrap",1,"py-8"],["fxFlex","100","fxFlex.gt-xs","10",1,""],[1,"text-center"],["mat-icon-button","","mwlCalendarPreviousView","",3,"view","viewDate","click","viewDateChange"],["fxFlex","100","fxFlex.gt-xs","80",1,"text-center"],[1,"m-0"],["mat-icon-button","","mwlCalendarNextView","",3,"view","viewDate","click","viewDateChange"],[1,"events-view",3,"ngSwitch"],[3,"viewDate","events","refresh","activeDayIsOpen","dayClicked","eventClicked","eventTimesChanged",4,"ngSwitchCase"],["fxFlex","100","fxFlex.gt-xs","50",1,"pt-8","pl-16"],[1,"mb-16"],["fxLayout","row wrap",4,"ngFor","ngForOf"],["fxLayout","row wrap","class","",4,"ngIf"],[3,"viewDate","events","refresh","activeDayIsOpen","dayClicked","eventClicked","eventTimesChanged"],["fxLayout","row wrap"],["fxFlex","100","fxFlex.gt-xs","35",1,"pl-8","pr-4",2,"border-right","4px solid #CCCCCC"],[1,"f11-date"],["fxFlex","100","fxFlex.gt-xs","65",1,"pt-4","pl-16"],[1,"event-list","mt-4"],[4,"ngFor","ngForOf"],[1,"mt-8","circle-dot"],[1,"text-muted","mb-4","pt-8"],[1,"text-muted"],["fxLayout","row wrap",1,""]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"button",1),b.cd(2,"Back"),b.cc(),b.cc(),b.dc(3,"div",2),b.dc(4,"mat-card",3),b.dc(5,"mat-card-title",4),b.dc(6,"div",5),b.cd(7,"View Meeting & Events"),b.cc(),b.Yb(8,"mat-divider"),b.cc(),b.dc(9,"mat-card-content"),b.dc(10,"div",6),b.dc(11,"div",7),b.dc(12,"mat-card",8),b.dc(13,"div",9),b.dc(14,"div",10),b.dc(15,"div",11),b.dc(16,"button",12),b.lc("click",(function(t){return e.changeMonth()}))("viewDateChange",(function(t){return e.viewDate=t})),b.dc(17,"mat-icon"),b.cd(18,"chevron_left"),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(19,"div",13),b.dc(20,"h3",14),b.dc(21,"strong"),b.cd(22),b.qc(23,"calendarDate"),b.cc(),b.cc(),b.cc(),b.dc(24,"div",10),b.dc(25,"div",11),b.dc(26,"button",15),b.lc("click",(function(t){return e.changeMonth()}))("viewDateChange",(function(t){return e.viewDate=t})),b.dc(27,"mat-icon"),b.cd(28,"chevron_right"),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(29,"mat-card-content",3),b.dc(30,"div",16),b.ad(31,Ct,1,4,"mwl-calendar-month-view",17),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(32,"div",18),b.dc(33,"h2",19),b.dc(34,"strong"),b.cd(35,"Meeting & Events"),b.cc(),b.cc(),b.ad(36,Ot,8,5,"div",20),b.ad(37,_t,2,0,"div",21),b.cc(),b.cc(),b.cc(),b.cc(),b.cc()),2&t&&(b.Gb(1),b.yc("routerLink","/parent/dashboard"),b.Gb(11),b.yc("@animate",b.Fc(18,St,b.Ec(17,kt))),b.Gb(4),b.yc("view",e.view)("viewDate",e.viewDate),b.Gb(4),b.Zc("line-height","50px"),b.Gb(2),b.dd(b.tc(23,13,e.viewDate,e.view+"ViewTitle","en")),b.Gb(4),b.yc("view",e.view)("viewDate",e.viewDate),b.Gb(4),b.yc("ngSwitch",e.view),b.Gb(1),b.yc("ngSwitchCase",e.CalendarView.Month),b.Gb(5),b.yc("ngForOf",e.monthlyEventList),b.Gb(1),b.yc("ngIf",0==(null==e.monthlyEventList?null:e.monthlyEventList.length)))},directives:[Z.a,a.h,y.a,y.f,xt.a,y.c,m.c,m.a,h.g,K.a,h.h,c.q,c.r,c.n,c.o,h.c],pipes:[h.j,c.e,N.c],styles:['.f11-date[_ngcontent-%COMP%]{font-size:15px;font-weight:700;margin-top:12px;margin-bottom:5px;text-align:right;padding-right:16px}.circle-dot[_ngcontent-%COMP%]{content:"";position:absolute;width:12px;height:12px;left:67.1%;background-color:#734f96;border-radius:50%}'],data:{animation:bt.a}}),Mt),Dt=n("M9IT"),Ft=n("+0xr"),Lt=n("Dh3D"),Et=n("kmnG"),It=n("qFsG");function jt(t,e){1&t&&(b.dc(0,"th",19),b.dc(1,"b"),b.cd(2,"Notice Date"),b.cc(),b.cc())}function Gt(t,e){if(1&t&&(b.dc(0,"td",20),b.cd(1),b.qc(2,"displayDate"),b.cc()),2&t){var n=e.$implicit;b.Gb(1),b.ed(" ",b.rc(2,1,n.noticeDate)," ")}}function Bt(t,e){1&t&&(b.dc(0,"th",19),b.dc(1,"b"),b.cd(2,"Title"),b.cc(),b.cc())}function At(t,e){if(1&t&&(b.dc(0,"td",20),b.cd(1),b.cc()),2&t){var n=e.$implicit;b.Gb(1),b.ed(" ",n.title," ")}}function Rt(t,e){1&t&&(b.dc(0,"th",19),b.cd(1," Status "),b.cc())}function Tt(t,e){1&t&&(b.dc(0,"label",23),b.cd(1,"Active"),b.cc())}function Yt(t,e){1&t&&(b.dc(0,"label",24),b.cd(1,"Inactive"),b.cc())}function zt(t,e){if(1&t&&(b.dc(0,"td",20),b.ad(1,Tt,2,0,"label",21),b.ad(2,Yt,2,0,"label",22),b.cc()),2&t){var n=e.$implicit;b.Gb(1),b.yc("ngIf",1==n.status),b.Gb(1),b.yc("ngIf",0==n.status)}}function Nt(t,e){1&t&&b.Yb(0,"tr",25)}function Xt(t,e){if(1&t){var n=b.ec();b.dc(0,"tr",26),b.lc("click",(function(t){b.Sc(n);var c=e.$implicit;return b.pc().routeToSingleNoticeBoard(c)})),b.cc()}}function Ut(t,e){1&t&&(b.bc(0),b.dc(1,"p",27),b.dc(2,"b"),b.cd(3,"No Data Found..."),b.cc(),b.cc(),b.ac())}function Vt(t,e){if(1&t&&(b.dc(0,"div"),b.ad(1,Ut,4,0,"ng-container",17),b.cc()),2&t){var n=b.pc();b.Gb(1),b.yc("ngIf",0===n.dataSource.filteredData.length||0===n.dataSource.data.length)}}var Wt,qt,Ht=function(){return[5,10,15,20]},$t=((Wt=function(){return _createClass((function t(e,n,c,a,i,o){_classCallCheck(this,t),this.router=e,this.modelService=n,this.toaster=c,this.apiserv=a,this.currentUserService=i,this.loader=o,this.displayedColumns=["noticeDate","title","status"],this.isDataLoaded=!1,this.getDetails()}),[{key:"getStudentId",value:function(){var t=this;this.studentIdSub=this.currentUserService.currentSub.subscribe((function(e){e&&t.getDetails()}))}},{key:"getDetails",value:function(){var t=this,e=this.currentUserService.getCurrentStudent();this.loader.open(),this.modelService.getList(e).subscribe((function(e){"success"==e.keyword?(t.dataSource=new Ft.o(e.noticeBoard),t.dataSource.paginator=t.paginator,t.dataSource.sort=t.sort,t.isDataLoaded=!0,t.loader.close()):(t.isDataLoaded=!0,t.dataSource=new Ft.o([]),t.dataSource.paginator=t.paginator,t.dataSource.sort=t.sort,t.loader.close(),t.toaster.present(e.message))}))}},{key:"applyFilter",value:function(t){t=(t=t.trim()).toLowerCase(),this.dataSource.filter=t}},{key:"ngOnInit",value:function(){this.getStudentId()}},{key:"ngOnDestroy",value:function(){this.studentIdSub.unsubscribe()}},{key:"routeToSingleNoticeBoard",value:function(t){this.router.navigate(["parent/dashboard/notice-board",t.noticeBoardId])}},{key:"goBack",value:function(){this.router.navigate(["parent/dashboard"])}}])}()).\u0275fac=function(t){return new(t||Wt)(b.Xb(a.g),b.Xb(A),b.Xb(R.a),b.Xb(I.a),b.Xb(T.a),b.Xb(Y.a))},Wt.\u0275cmp=b.Rb({type:Wt,selectors:[["app-list"]],viewQuery:function(t,e){var n;1&t&&(b.Yc(Dt.a,!0),b.Yc(Lt.a,!0)),2&t&&(b.Nc(n=b.mc())&&(e.paginator=n.first),b.Nc(n=b.mc())&&(e.sort=n.first))},decls:26,vars:6,consts:[["fxLayout","row wrap",1,"pagewrap"],["fxFlex","100","fxFlex.gt-xs","50",1,"pr-1"],[1,"example-button-row","mt-10"],["mat-raised-button","","color","primary",1,"btn-primary-bg",3,"click"],[1,"search",2,"width","100%"],["matInput","","placeholder","Search","value","",3,"keyup"],[1,"material-icons","search-icon"],[1,"table_container","pb-1"],[1,""],["mat-table","","matSort","",1,"mat-elevation-z8",3,"dataSource"],["matColumnDef","noticeDate"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","title"],["matColumnDef","status"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","style","cursor: pointer;",3,"click",4,"matRowDef","matRowDefColumns"],[4,"ngIf"],[3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],["class","mat-chip mat-primary mat-standard-chip ng-tns-c12-751 mat-chip-selected ng-star-inserted",4,"ngIf"],["class","mat-chip mat-danger mat-standard-chip ng-tns-c12-751 mat-chip-selected ng-star-inserted ",4,"ngIf"],[1,"mat-chip","mat-primary","mat-standard-chip","ng-tns-c12-751","mat-chip-selected","ng-star-inserted"],[1,"mat-chip","mat-danger","mat-standard-chip","ng-tns-c12-751","mat-chip-selected","ng-star-inserted"],["mat-header-row",""],["mat-row","",2,"cursor","pointer",3,"click"],[1,"text-center"]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"div",1),b.dc(2,"div",2),b.dc(3,"button",3),b.lc("click",(function(t){return e.goBack()})),b.cd(4,"Back"),b.cc(),b.cc(),b.cc(),b.dc(5,"div",1),b.dc(6,"mat-form-field",4),b.dc(7,"input",5),b.lc("keyup",(function(t){return e.applyFilter(t.target.value)})),b.cc(),b.cc(),b.dc(8,"i",6),b.cd(9," search "),b.cc(),b.cc(),b.cc(),b.dc(10,"div",7),b.dc(11,"div",8),b.dc(12,"table",9),b.bc(13,10),b.ad(14,jt,3,0,"th",11),b.ad(15,Gt,3,3,"td",12),b.ac(),b.bc(16,13),b.ad(17,Bt,3,0,"th",11),b.ad(18,At,2,1,"td",12),b.ac(),b.bc(19,14),b.ad(20,Rt,2,0,"th",11),b.ad(21,zt,3,2,"td",12),b.ac(),b.ad(22,Nt,1,0,"tr",15),b.ad(23,Xt,1,0,"tr",16),b.cc(),b.ad(24,Vt,2,1,"div",17),b.Yb(25,"mat-paginator",18),b.cc(),b.cc()),2&t&&(b.Gb(12),b.yc("dataSource",e.dataSource),b.Gb(10),b.yc("matHeaderRowDef",e.displayedColumns),b.Gb(1),b.yc("matRowDefColumns",e.displayedColumns),b.Gb(1),b.yc("ngIf",e.isDataLoaded),b.Gb(1),b.yc("pageSizeOptions",b.Ec(5,Ht)))},directives:[m.c,m.a,Z.a,Et.b,It.b,Ft.n,Lt.a,Ft.c,Ft.i,Ft.b,Ft.k,Ft.m,c.o,Dt.a,Ft.h,Lt.b,Ft.a,Ft.j,Ft.l],pipes:[N.a],styles:[""]}),Wt),Kt=[{path:"",children:[{path:"",component:ht,data:{title:"Default",breadcrumb:"Default"}},{path:"notice-board/:id",component:(qt=function(){return _createClass((function t(e,n,c,a,i,o){_classCallCheck(this,t),this.modalService=e,this.toaster=n,this.loader=c,this.router=a,this.activateRoute=i,this.apiserv=o,this.noticeBoardId=this.activateRoute.snapshot.params.id,this.getSingleNoticeBoard(this.noticeBoardId)}),[{key:"getSingleNoticeBoard",value:function(t){var e=this;this.loader.open(),this.modalService.getOne(t).subscribe((function(t){"success"==t.keyword?(e.noticeBoardDetails=t.noticeBoard[0],e.loader.close()):(e.loader.close(),e.toaster.present(t.message))}))}},{key:"ngOnInit",value:function(){}},{key:"goBack",value:function(){this.router.navigate(["parent/dashboard/notice-board-list"])}}])}(),qt.\u0275fac=function(t){return new(t||qt)(b.Xb(A),b.Xb(R.a),b.Xb(Y.a),b.Xb(a.g),b.Xb(a.a),b.Xb(I.a))},qt.\u0275cmp=b.Rb({type:qt,selectors:[["app-view"]],decls:32,vars:7,consts:[[1,"create_btn"],["mat-raised-button","","color","primary",1,"btn-primary-bg",3,"click"],[1,"p-0"],[1,""],[1,"card-title-text"],["fxLayout","row wrap",1,"mt-24"],["fxFlex","100","fxFlex.gt-xs","70",1,"pr-1"],[1,"pb-1"],[1,"f24"],["fxLayout","row wrap "],["fxFlex","100","fxFlex.gt-xs","9"],["fxFlex","100","fxFlex.gt-xs","35"],["fxLayout","row wrap",1,"row"],["fxFlex","100","fxFlex.gt-xs","60"],[3,"innerHTML"]],template:function(t,e){1&t&&(b.dc(0,"div",0),b.dc(1,"button",1),b.lc("click",(function(t){return e.goBack()})),b.cd(2,"Back"),b.cc(),b.cc(),b.dc(3,"mat-card",2),b.dc(4,"mat-card-title",3),b.dc(5,"div",4),b.cd(6,"View Notice Board"),b.cc(),b.Yb(7,"mat-divider"),b.cc(),b.dc(8,"mat-card-content"),b.dc(9,"div",5),b.dc(10,"div",6),b.dc(11,"div",7),b.dc(12,"label",8),b.dc(13,"strong"),b.cd(14),b.cc(),b.cc(),b.cc(),b.cc(),b.cc(),b.dc(15,"div",9),b.dc(16,"div",10),b.dc(17,"label"),b.dc(18,"strong"),b.cd(19,"Date"),b.cc(),b.cc(),b.cc(),b.dc(20,"div",11),b.dc(21,"label"),b.cd(22),b.qc(23,"displayDate"),b.cc(),b.cc(),b.cc(),b.dc(24,"div",12),b.dc(25,"div",10),b.dc(26,"label"),b.dc(27,"strong"),b.cd(28,"Message"),b.cc(),b.cc(),b.cc(),b.dc(29,"div",13),b.Yb(30,"p",14),b.qc(31,"safeHtml"),b.cc(),b.cc(),b.cc(),b.cc()),2&t&&(b.Gb(14),b.dd(null==e.noticeBoardDetails?null:e.noticeBoardDetails.title),b.Gb(8),b.dd(b.rc(23,3,null==e.noticeBoardDetails?null:e.noticeBoardDetails.noticeDate)),b.Gb(8),b.yc("innerHTML",b.rc(31,5,null==e.noticeBoardDetails?null:e.noticeBoardDetails.message),b.Tc))},directives:[Z.a,y.a,y.f,xt.a,y.c,m.c,m.a],pipes:[N.a,N.h],styles:[".row[_ngcontent-%COMP%]{margin-top:24px}.f24[_ngcontent-%COMP%]{font-size:24px}"]}),qt),data:{title:"Notice board",breadcrumb:"Notice board / View"}},{path:"notice-board-list",component:$t,data:{title:"List of Notice Board",breadcrumb:"Notice Board / List"}},{path:"individual-subject",component:pt,data:{title:"Individual Subject",breadcrumb:"Individual Subject"}},{path:"result",component:_,data:{title:"Result",breadcrumb:"Result"}},{path:"events",component:Pt,data:{title:"Meeting & Events",breadcrumb:"Meeting & Events"}}]}],Qt=n("1BeU"),Zt=n("zMWy"),Jt=n("3Pt+");n.d(e,"DashboardModule",(function(){return ee}));var te,ee=((te=_createClass((function t(){_classCallCheck(this,t)}))).\u0275mod=b.Vb({type:te}),te.\u0275inj=b.Ub({factory:function(t){return new(t||te)},providers:[k],imports:[[c.c,p.b,i.a,Jt.m,o.b,s.b,Zt.a,r.a,d.a,l.a,h.b.forRoot({provide:h.f,useFactory:Qt.adapterFactory}),u.b.forRoot({radius:100,outerStrokeWidth:16,innerStrokeWidth:8,outerStrokeColor:"#78C000",innerStrokeColor:"#C7E596",animationDuration:300}),a.k.forChild(Kt)]]}),te)},live:function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"a",(function(){return d}));var c=n("FKr1"),a=n("sWYD"),i=n("47VO"),o=n("fXoL"),r=function(){var t=function(t){function e(){return _classCallCheck(this,e),_callSuper(this,e,arguments)}return _inherits(e,t),_createClass(e,[{key:"format",value:function(t,e){return"input"===e?Object(a.a)(t,Object(i.b)()):t.toDateString()}}])}(c.w);return t.\u0275fac=function(e){return s(e||t)},t.\u0275prov=o.Tb({token:t,factory:t.\u0275fac,providedIn:"root"}),t}(),s=o.fc(r),d={parse:{dateInput:{month:"short",year:"numeric",day:"numeric"}},display:{dateInput:"input",monthYearLabel:{year:"numeric",month:"numeric"},dateA11yLabel:{year:"numeric",month:"long",day:"numeric"},monthYearA11yLabel:{year:"numeric",month:"long"}}}}}]);
/var/www/krbed.in/fe432618/.././panel618/../../school_portal_admin/101-es5.f30ea52ae31bb02b7ea1.js