{"version":3,"sources":["webpack:///./src/mixins/school.mixin.ts","webpack:///./src/components/Application/SchoolAbout.vue","webpack:///./src/components/Application/SchoolAbout.vue?0fce","webpack:///./src/components/Application/SchoolAbout.vue?259c","webpack:///./src/components/Application/SchoolAbout.vue?954e","webpack:///./src/components/Application/SchoolAbout.vue?fc62"],"names":["School","Vue","this","school","overallPerformance","schoolAbout","result","entityType","toLowerCase","entityTypeArray","EntityType","name","SchoolSystem","None","__decorate","Component","computed","mapState","render","_vm","_c","_self","_setupProxy","_l","overview","item","key","id","_v","_s","header","staticClass","dataTiles","index","class","value","link","attrs","label","valueSecond","_e","academicOfferingList","length","_m","academicOfferingsArray","academicOffering","GiftedPrograms","directives","rawName","modifiers","on","$event","showModal","additionalSections","secondId","data","sidebarWidth","scopedSlots","_u","fn","hide","selectedHeaderText","dataList","domProps","BaseModalType","Data","staticRenderFns","SchoolAbout","Mixins","SchoolMixin","constructor","showItemDetail","AcademicOffering","AdvancedPlacement","advancedPlacementList","WorldLanguageImmersion","wliList","SealOfBiliteracy","sealOfBiliteracyList","DualEnrollment","dualEnrollmentList","JumpStartPathways","jumpStartList","ForeignLanguage","foreignLangOfferedList","mobileView","tabletView","items","gradesServed","gradesServedCurrent","principalName","districtName","cmo","schooltype","enrollmentLink","totalEnrollmentFormatted","technologyfocusFormatted","map","filter","y","Boolean","musicArtList","clubsList","sportsList","gradeservedcurrentsy","gradeservedprevioussy","compareGrades","trim","previousSchoolYear","currentSchoolYear","component"],"mappings":"mKAUA,IAAqBA,EAArB,cAAoCC,OAGhC,yBACI,OAAOC,KAAKC,OAAOC,mBAGvB,kBACI,OAAOF,KAAKC,QAAUD,KAAKC,OAAOE,YAOtC,iBACI,IAAIC,EAYJ,OATIA,EADAJ,KAAKG,aAAeH,KAAKG,YAAYE,WAAWC,gBAAkBC,OAAgBC,OAAWV,QAAQW,KAAKH,cACjGE,OAAWV,OAEfE,KAAKG,aAAeH,KAAKG,YAAYE,WAAWC,gBAAkBC,OAAgBC,O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,MAIa,aAAA4C,E,oECnBf","file":"js/schoolAbout.b0f225ad.js","sourcesContent":["import { Vue, Component } from \"vue-property-decorator\";\r\nimport { mapState } from \"vuex\";\r\nimport { K12School } from \"@/models/interface\";\r\nimport {\r\n EntityType,\r\n entityTypeArray,\r\n} from \"@/models/schoolfinder.enums\";\r\n@Component({\r\n computed: { ...mapState(\"app\", [\"school\"]) },\r\n})\r\nexport default class School extends Vue {\r\n school!: K12School;\r\n\r\n get overallPerformance() {\r\n return this.school.overallPerformance;\r\n }\r\n\r\n get schoolAbout() {\r\n return this.school && this.school.schoolAbout;\r\n }\r\n\r\n /* get schoolYear() {\r\n return this.$store.state.app.schoolYear;\r\n } */\r\n\r\n get entityType() {\r\n let result;\r\n \r\n if (this.schoolAbout && this.schoolAbout.entityType.toLowerCase() === entityTypeArray[EntityType.School].name.toLowerCase()) {\r\n result = EntityType.School;\r\n } \r\n else if (this.schoolAbout && this.schoolAbout.entityType.toLowerCase() === entityTypeArray[EntityType.SchoolSystem].name.toLowerCase()) {\r\n result = EntityType.SchoolSystem;\r\n } \r\n else {\r\n result = EntityType.None;\r\n }\r\n \r\n return result;\r\n }\r\n\r\n get schoolSystem() {\r\n return this.entityType === EntityType.SchoolSystem;\r\n }\r\n}","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_vm._l((_vm.overview),function(item){return [_c('section',{key:item.id},[_c('h2',{key:item.id},[_vm._v(_vm._s(item.header))]),_c('div',{key:item.id,staticClass:\"row\"},[_vm._l((item.dataTiles),function(item,index){return [_c('div',{key:item.id,staticClass:\"col-lg-6 col-12 px-0 mb-2\",class:index % 2 ? 'pr-lg-0 pl-lg-2' : 'pl-lg-0 pr-lg-2'},[(item.value || item.link)?_c('base-data-tile',{key:item.id,staticClass:\"shadow-none\",attrs:{\"tile-label\":item.label,\"tile-value\":item.value,\"tile-value-second\":item.valueSecond,\"tile-link\":item.link}}):_vm._e()],1)]})],2)]),_c('hr',{key:item.id,staticClass:\"major bg-doe-secondary m-0 mb-4\"})]}),_c('section',[_c('h2',{staticClass:\"doe-dark-blue\"},[_vm._v(\"Academic Offerings\")]),(_vm.schoolAbout.academicOfferingList.length == 0)?_c('div',{staticClass:\"row no-gutters\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"N/A\")])]):_c('div',{staticClass:\"row\"},[_vm._l((_vm.schoolAbout.academicOfferingList),function(item,index){return [_c('div',{key:index,staticClass:\"col-lg-6 col-12 px-0 mt-2 pl-0\",class:index % 2 ? 'pr-lg-0 pl-lg-2' : 'pl-lg-0 pr-lg-2'},[_c('div',{staticClass:\"d-flex flex-row align-items-center\"},[_vm._m(0,true),_c('div',{},[_c('span',[_vm._v(_vm._s(item))])]),(\n item !==\n _vm.academicOfferingsArray[_vm.academicOffering.GiftedPrograms].name\n )?_c('base-info-button',{directives:[{name:\"b-toggle\",rawName:\"v-b-toggle.sidebar-Info\",modifiers:{\"sidebar-Info\":true}}],staticClass:\"ml-2\",on:{\"info-click\":function($event){return _vm.showModal(item)}}}):_vm._e()],1)])]})],2)]),_vm._l((_vm.additionalSections),function(item){return [_c('hr',{key:item.id,staticClass:\"major doe-secondary\"}),_c('section',{key:item.secondId},[_c('h2',{staticClass:\"doe-dark-blue\"},[_vm._v(_vm._s(item.header))]),_c('div',{staticClass:\"row\"},[(item.data.length == 0)?_c('div',{staticClass:\"col p-0\"},[_vm._v(\"N/A\")]):_vm._l((item.data),function(item,index){return [_c('div',{key:index,staticClass:\"col-6 pl-0\"},[_c('div',{key:index,staticClass:\"d-flex flex-row align-items-center\"},[_c('div',{},[_c('i',{staticClass:\"fas fa-check ml-2 fa-fw\",class:index % 2 ? 'pl-1' : 'pl-0'})]),_c('div',{staticClass:\"p-2\"},[_vm._v(\" \"+_vm._s(item)+\" \")])])])]})],2)])]}),_c('b-sidebar',{attrs:{\"id\":\"sidebar-Info\",\"title\":\"\",\"right\":\"\",\"shadow\":\"\",\"width\":_vm.sidebarWidth,\"no-header\":true},scopedSlots:_vm._u([{key:\"footer\",fn:function({ hide }){return [_c('div',{staticClass:\"text-light px-3 py-2 text-right bg-doe-light-violet\"},[_c('span',{staticClass:\"btn span-doe-close-style\",on:{\"click\":hide}},[_c('i',{staticClass:\"fas fa-times fa-fw\"}),_vm._v(\" Close \")])])]}}])},[_c('div',{staticClass:\"text-light px-3 py-2 bg-doe-light-violet\"},[_c('h5',[_vm._v(_vm._s(_vm.selectedHeaderText))])]),_c('div',{staticClass:\"px-3 py-2\"},[_vm._l((this.dataList),function(item,index){return [_c('div',{key:index,staticClass:\"doe-dark-blue\"},[_c('p',{key:index,domProps:{\"innerHTML\":_vm._s('
  • ' + item + '
  • ')}})])]})],2)]),_c('base-modal',{attrs:{\"id\":\"modal\",\"header-text\":_vm.selectedHeaderText,\"modal-type\":_vm.BaseModalType.Data,\"data-list\":_vm.dataList,\"no-close-on-backdrop\":\"\",\"hide-footer\":\"\"}})],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{},[_c('i',{staticClass:\"fas fa-check mx-2 fa-fw\"})])\n}]\n\nexport { render, staticRenderFns }","\r\nimport { Component, Mixins } from \"vue-property-decorator\";\r\nimport { mapState } from \"vuex\";\r\nimport SchoolMixin from \"@/mixins/school.mixin\";\r\nimport {\r\n AcademicOffering,\r\n academicOfferingsArray,\r\n BaseModalType,\r\n} from \"@/models/schoolfinder.enums\";\r\n@Component({\r\n computed: { ...mapState(\"app\", [\"school\", \"mobileView\", \"tabletView\"]) },\r\n})\r\nexport default class SchoolAbout extends Mixins(SchoolMixin) {\r\n showItemDetail = false;\r\n mobileView!: boolean;\r\n tabletView!: boolean;\r\n dataList = [];\r\n selectedHeaderText = \"\";\r\n academicOfferingsArray = academicOfferingsArray;\r\n academicOffering = AcademicOffering;\r\n\r\n BaseModalType = BaseModalType;\r\n\r\n showModal(academicOffering: string) {\r\n this.selectedHeaderText = academicOffering;\r\n\r\n switch (academicOffering) {\r\n case academicOfferingsArray[AcademicOffering.AdvancedPlacement].name:\r\n this.dataList = this.schoolAbout.advancedPlacementList;\r\n break;\r\n case academicOfferingsArray[AcademicOffering.WorldLanguageImmersion].name:\r\n this.dataList = this.schoolAbout.wliList;\r\n break;\r\n case academicOfferingsArray[AcademicOffering.SealOfBiliteracy].name:\r\n this.dataList = this.schoolAbout.sealOfBiliteracyList;\r\n break;\r\n case academicOfferingsArray[AcademicOffering.DualEnrollment].name:\r\n this.dataList = this.schoolAbout.dualEnrollmentList;\r\n break;\r\n case academicOfferingsArray[AcademicOffering.JumpStartPathways].name:\r\n this.dataList = this.schoolAbout.jumpStartList;\r\n break;\r\n case academicOfferingsArray[AcademicOffering.ForeignLanguage].name:\r\n this.dataList = this.schoolAbout.foreignLangOfferedList;\r\n break;\r\n default:\r\n this.dataList = [];\r\n break;\r\n }\r\n\r\n this.showItemDetail = true;\r\n }\r\n\r\n get sidebarWidth(): string {\r\n let result = \"\";\r\n if (this.mobileView) {\r\n result = \"100%\";\r\n } else if (this.tabletView) result = \"40%\";\r\n return result;\r\n }\r\n\r\n get overview() {\r\n if (!this.schoolAbout) return [];\r\n\r\n const items = [\r\n {\r\n header: \"Overview\",\r\n dataTiles: [\r\n {\r\n id: 1,\r\n label: \"Ages / Grades Served\",\r\n value: this.gradesServed,\r\n valueSecond: this.gradesServedCurrent,\r\n },\r\n {\r\n id: 2,\r\n label: \"Director / Principal\",\r\n value: this.schoolAbout.principalName,\r\n },\r\n {\r\n id: 3,\r\n label: \"District / Parish\",\r\n value: this.schoolAbout.districtName,\r\n },\r\n {\r\n id: 4,\r\n label: \"Charter Management Organization\",\r\n value: this.schoolAbout.cmo,\r\n },\r\n {\r\n id: 5,\r\n label: \"School Type\",\r\n value: this.schoolAbout.schooltype,\r\n },\r\n {\r\n id: 6,\r\n label: \"How to Enroll\",\r\n link: this.schoolAbout.enrollmentLink,\r\n },\r\n ],\r\n },\r\n {\r\n header: \"Additional Information\",\r\n dataTiles: [\r\n {\r\n id: 1,\r\n label: \"Total Student Enrollment\",\r\n value: this.schoolAbout.totalEnrollmentFormatted,\r\n },\r\n {\r\n id: 2,\r\n label: \"Student to Device Ratio\",\r\n value: this.schoolAbout.technologyfocusFormatted,\r\n },\r\n ],\r\n },\r\n ];\r\n return items.map((item) => {\r\n return {\r\n header: item.header,\r\n dataTiles: item.dataTiles.filter((y) => Boolean(y.value)),\r\n };\r\n });\r\n }\r\n\r\n get additionalSections() {\r\n if (!this.schoolAbout) return [];\r\n\r\n return [\r\n {\r\n id: 1,\r\n secondId: 1.1,\r\n header: \"Music / Art\",\r\n data: this.schoolAbout.musicArtList,\r\n },\r\n {\r\n id: 2,\r\n secondId: 2.1,\r\n header: \"After-School Opportunities and Clubs\",\r\n data: this.schoolAbout.clubsList,\r\n },\r\n {\r\n id: 3,\r\n secondId: 3.1,\r\n header: \"Sports\",\r\n data: this.schoolAbout.sportsList,\r\n },\r\n ];\r\n }\r\n\r\n get schoolAbout() {\r\n return this.school && this.school.schoolAbout;\r\n }\r\n\r\n get compareGrades() {\r\n return (\r\n this.schoolAbout &&\r\n this.schoolAbout.gradeservedcurrentsy ===\r\n this.schoolAbout.gradeservedprevioussy\r\n );\r\n }\r\n\r\n get gradesServed() {\r\n let result;\r\n if (this.compareGrades) result = this.schoolAbout.gradeservedprevioussy;\r\n else\r\n result =\r\n this.schoolAbout.gradeservedprevioussy.trim() != \"\"\r\n ? this.schoolAbout.gradeservedprevioussy +\r\n \" (\" +\r\n this.schoolAbout.previousSchoolYear +\r\n \")\"\r\n : \" \";\r\n return result;\r\n }\r\n\r\n get gradesServedCurrent() {\r\n let result;\r\n if (this.compareGrades) result = \"\";\r\n else\r\n result =\r\n this.schoolAbout.gradeservedcurrentsy +\r\n \" (\" +\r\n this.schoolAbout.currentSchoolYear +\r\n \")\";\r\n return result;\r\n }\r\n}\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SchoolAbout.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SchoolAbout.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./SchoolAbout.vue?vue&type=template&id=35606df8&scoped=true\"\nimport script from \"./SchoolAbout.vue?vue&type=script&lang=ts\"\nexport * from \"./SchoolAbout.vue?vue&type=script&lang=ts\"\nimport style0 from \"./SchoolAbout.vue?vue&type=style&index=0&id=35606df8&prod&scoped=true&lang=css\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"35606df8\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SchoolAbout.vue?vue&type=style&index=0&id=35606df8&prod&scoped=true&lang=css\""],"sourceRoot":""}