PageSourceSearch

https://cdn.levelupreader.com/web/static/app/0.98.0-1/app/js/reports-md.1a330a76.js

js levelupreader.com collected 2026-10-09 03:08:38 UTC 6,990 bytes, 2 lines download raw bytes

1"use strict";(self["webpackChunklevelup"]=self["webpackChunklevelup"]||[]).push([[8870],{75271:function(t,e,r){r.r(e),r.d(e,{default:function(){return L}});var s=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{directives:[{name:"scrolltop",rawName:"v-scrolltop"}],staticClass:"reports"},[e("ReportHeader",{attrs:{"header-title":t.title,"students-number":t.countStudents,"report-type":t.reportType},on:{"roster:synced":t.navigateToReports}}),e("ReportFilter",{attrs:{groups:t.groups,type:t.reportType},on:{fetch:t.fetchReport,"group-input":t.fetchGroupRelatedData},model:{value:t.selectedFilters,callback:function(e){t.selectedFilters=e},expression:"selectedFilters"}}),e("div",{staticClass:"reports__container"},[e("b-row",[e("b-col",{attrs:{cols:"6"}},[e("LexileDistribution",{attrs:{date:t.selectedFilters.dateRange.end,levels:t.lexileLevels,"empty-message":t.lexileDistributionEmptyMessage}})],1),e("b-col",{attrs:{cols:"6"}},[e("SkillsTable",{attrs:{"date-range":t.selectedFilters.dateRange,"report-type":t.reportType,filters:t.selectedFilters,skills:t.skills,"breakdown-route":{name:"report.multi-district.activity"}}})],1)],1),e("ActivityReport",{attrs:{label:"District",title:"District Activity","date-range":t.selectedFilters.dateRange,grade:t.selectedFilters.grade,language:t.selectedFilters.language,"selected-group-ids":t.selectedGroupIds,activity:t.districtsActivity,"report-type":t.reportType,studentsIds:t.studentsIds,"duplicated-students":t.duplicatedStudents,avgScore:t.avgScore,"total-report-data":t.totalData}})],1)],1)},i=[],a=r(95082),n=r(50124),l=r(48534),o=r(89584),u=r(13087),c=r(62833),d=r(39110),p=r(68951),h=r(70655),g=r(98730),f=r(20629),v=r(96486),k=r(36625),y=r(23590),D=r(18376),m=r(38093),R=r(17036),Z=r(35616),b=r(6643),S=r(8797),x=r(44742),T=function(t){(0,d.Z)(r,t);var e=(0,p.Z)(r);function r(){var t;return(0,u.Z)(this,r),t=e.apply(this,arguments),t.auth=(0,x.aC)(),t}return(0,c.Z)(r,[{key:"title",get:function(){return this.reportModel.name}},{key:"districts",get:function(){return this.reportModel.districts}},{key:"countStudents",get:function(){return this.totalData.countStudents}},{key:"duplicatedStudents",get:function(){return this.reportModel.duplicatedStudents}},{key:"avgScore",get:function(){var t,e=(t=[]).concat.apply(t,(0,o.Z)(this.filteredDistricts.map((function(t){return t.avgQuizScore}))));return y.Z.removeDuplicatedFromLexile(e,this.studentsIds,this.duplicatedStudents)}},{key:"lexileDistributionEmptyMessage",get:function(){return this.filteredDistricts.length>0&&this.filteredDistricts.every((function(t){return t.assessmentsDisabled}))?"No Lexile data for the selected date because Lexile assessments are disabled for students.":"No Lexile data for the selected date."}},{key:"districtsActivity",get:function(){return this.filteredDistricts.map((function(t){var e=t.id,r=t.name,s=t.lexileAverageGrowth,i=t.booksRead,a=t.booksListenedTo,n=t.quizzesTaken,l=t.timeSpentReading,o=t.pagesRead,u=t.correct,c=t.attempted,d=t.avgQuizPercent,p=t.avgGrowth;return{id:e,name:r,lexile:s,booksRead:i,booksListenedTo:a,pagesRead:o,quizzesTaken:n,timeSpentReading:l,avgQuizPercent:d,correct:u,attempted:c,avgGrowth:p}}))}},{key:"groups",get:function(){var t=this.districts.map((function(t){return{value:t.id,title:t.name}}));return(0,v.orderBy)(t,(function(t){return t.title.toLocaleLowerCase()}))}},{key:"lexileLevels",get:function(){return this.totalData.progress.map((function(t){return t.lexileLevel}))}},{key:"studentsIds",get:function(){var t;return(t=[]).concat.apply(t,(0,o.Z)(this.filteredDistricts.map((function(t){return t.studentsIds}))))}},{key:"filteredDistricts",get:function(){var t=this;return this.selectedGroupIds.length?this.districts.filter((function(e){return t.selectedGroupIds.includes(e.id)}
1)):this.districts}},{key:"selectedGroupIds",get:function(){return this.selectedFilters.groupIds}},{key:"navigateToReports",value:function(){var t=(0,l.Z)((0,n.Z)().mark((function t(){return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,this.auth.fetchProfile();case 3:this.fetchReport(),t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](0),console.error("Error while fetch user details",t.t0);case 9:return t.prev=9,this.$router.push("/reports").catch((function(){})),t.finish(9);case 12:case"end":return t.stop()}}),t,this,[[0,6,9,12]])})));function e(){return t.apply(this,arguments)}return e}()},{key:"updateDistrictReport",value:function(){var t=(0,l.Z)((0,n.Z)().mark((function t(){var e,r,s,i;return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.selectedFilters,r=e.dateRange,s=e.language,i=e.grade,t.prev=1,t.next=4,this.getMultiDistrictReport({startDate:r.start,endDate:r.end,language:s,grade:i});case 4:t.next=9;break;case 6:t.prev=6,t.t0=t["catch"](1),console.error("Error loading report",t.t0);case 9:case"end":return t.stop()}}),t,this,[[1,6]])})));function e(){return t.apply(this,arguments)}return e}()},{key:"updateTotalData",value:function(){var t=(0,l.Z)((0,n.Z)().mark((function t(){var e,r,s,i;return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.selectedFilters,r=e.dateRange,s=e.language,i=e.grade,t.next=3,this.getTotalReportData((0,a.Z)({startDate:r.start,endDate:r.end,language:s,grade:i},this.selectedGroupIds.length&&{groupIds:this.selectedGroupIds}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"updateTotalSkills",value:function(){var t=(0,l.Z)((0,n.Z)().mark((function t(){var e,r,s,i;return(0,n.Z)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=this.selectedFilters,r=e.dateRange,s=e.language,i=e.grade,t.next=3,this.getTotalSkills((0,a.Z)({startDate:r.start,endDate:r.end,language:s,grade:i},this.selectedGroupIds.length&&{groupIds:this.selectedGroupIds}));case 3:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}()},{key:"skills",get:function(){return this.totalSkills&&y.Z.getSkillsFromDistrict(this.totalSkills)}},{key:"fetchReport",value:function(){this.updateDistrictReport(),this.updateTotalData(),this.updateTotalSkills()}},{key:"fetchGroupRelatedData",value:function(){this.updateTotalData(),this.updateTotalSkills()}},{key:"mounted",value:function(){this.checkPrevPage(),this.fetchReport()}}]),r}((0,g.Wr)(k.Z));(0,h.gn)([(0,g.fI)()],T.prototype,"reportType",void 0),T=(0,h.gn)([(0,g.wA)({components:{ActivityReport:b.Z,LexileDistribution:R.Z,ReportHeader:D.Z,ReportFilter:m.Z,SkillsTable:Z.Z},computed:(0,a.Z)({},(0,f.Se)(S.EB,{reportModel:S.Wb.reportModel,totalData:S.Wb.totalReportData,totalSkills:S.Wb.totalSkills})),methods:(0,a.Z)({},(0,f.nv)(S.EB,{getMultiDistrictReport:S.CJ.getMultiDistrictReport,getTotalReportData:S.CJ.getTotalReportData,getTotalSkills:S.CJ.getMultiDistrictTotalSkills}))})],T);var w=T,F=w,I=r(1001),G=(0,I.Z)(F,s,i,!1,null,"67d9eaaf",null),L=G.exports}}]);
2//# sourceMappingURL=reports-md.1a330a76.js.map

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.