{"version":3,"sources":["webpack:///./src/components/Application/SchoolAcademicPerformance/ECAbout.vue","webpack:///./src/components/Application/SchoolAcademicPerformance/ECAbout.vue?42da","webpack:///./src/components/Application/SchoolAcademicPerformance/ECAbout.vue?7d75","webpack:///./src/components/Application/SchoolAcademicPerformance/ECAbout.vue?d4eb","webpack:///./src/components/Application/SchoolAcademicPerformance/ECAbout.vue?42b5"],"names":["render","_vm","this","_c","_self","_setupProxy","_l","overview","item","key","id","_v","_s","header","staticClass","dataTiles","index","class","attrs","label","value","valueSecond","link","inputList","linkValue","linkLabel","schoolAbout","earlyEDAcademicOfferingList","length","academicOfferingsArray","academicOffering","GiftedPrograms","name","directives","rawName","modifiers","on","$event","showModal","_e","additionalSections","secondId","data","sidebarWidth","scopedSlots","_u","fn","hide","selectedHeaderText","dataList","domProps","BaseModalType","Data","staticRenderFns","ECAbout","Vue","constructor","showItemDetail","AcademicOffering","IsCareFacility","AdvancedPlacement","advancedPlacementList","WorldLanguageImmersion","wliList","SealOfBiliteracy","sealOfBiliteracyList","DualEnrollment","dualEnrollmentList","JumpStartPathways","jumpStartList","ForeignLanguage","foreignLangOfferedList","showInspection","inspectionUrl","$route","params","schoolId","result","$store","dispatch","mobileView","tabletView","items","gradesServed","gradesServedCurrent","earlyEdDirectorName","earlyEdDirectorNameII","districtName","capitalizeFirstLetter","earlyEdTransportationBinaryFormatted","toLowerCase","earlyEdSchoolTypeList","eceEnrollmentlink","earlyEdCcapAvailableBinary","earlyEdLicenseType","beforeCareBinary","inspectionList","afterCareBinary","seriousInjuriesUrl","totalEnrollmentFormattedNA","publiclyFundedChildrenEnrolledFormattedNA","map","filter","y","word","charAt","toUpperCase","slice","earlyEDMusicArtList","school","gradeservedcurrentsy","gradeservedprevioussy","compareGrades","trim","previousSchoolYear","currentSchoolYear","__decorate","Component","computed","mapState","metaInfo","title","component"],"mappings":"yIAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,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0BACE,IAAIA,EAQJ,OAPwBA,EAApB3E,KAAK8G,cAAwB,GAG7B9G,KAAKwB,YAAYoF,qBACjB,KACA5G,KAAKwB,YAAYyF,kBACjB,IACGtC,IAxPUvB,EAAO8D,eAAA,CAN3BC,eAAU,CACTC,SAAU,IAAKC,eAAS,MAAO,CAAC,SAAU,aAAc,gBACxDC,SAAU,CACRC,MAAO,iBAGUnE,WChBgZ,I,wBCQjaoE,EAAY,eACd,EACA1H,EACAqD,GACA,EACA,KACA,WACA,MAIa,aAAAqE,E,2CCnBf","file":"js/ecAbout.232e1f5b.js","sourcesContent":["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 my-1 px-0\",class:index % 2 ? 'pr-lg-0 pl-lg-2' : 'pl-lg-0 pr-lg-2'},[_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,\"input-list\":item.inputList,\"tile-link-value\":item.linkValue,\"tile-link-label\":item.linkLabel}})],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\")]),(\n _vm.schoolAbout &&\n _vm.schoolAbout.earlyEDAcademicOfferingList &&\n _vm.schoolAbout.earlyEDAcademicOfferingList.length !== 0\n )?_c('div',{staticClass:\"row\"},[_vm._l((_vm.schoolAbout.earlyEDAcademicOfferingList),function(item,index){return [_c('div',{key:index,staticClass:\"col-6 pl-0\"},[_c('i',{staticClass:\"fas fa-check mx-2 text-success fa-fw\"}),_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):_c('div',[_vm._v(\"N/A\")])]),_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))]),(item.data.length !== 0)?_c('div',{staticClass:\"row\"},[_vm._l((item.data),function(item,index){return [(item !== '')?_c('div',{key:index,staticClass:\"col-6 pl-0\"},[_c('span',{key:index},[_c('i',{staticClass:\"fas fa-check ml-2 text-success fa-fw\"}),_vm._v(\" \"+_vm._s(item))])]):_vm._e()]})],2):_c('div',[_vm._v(\" Most early childhood programs offer music and art in the classroom. \")])])]}),_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 = []\n\nexport { render, staticRenderFns }","\r\nimport { Vue, Component } from \"vue-property-decorator\";\r\nimport { mapState } from \"vuex\";\r\nimport { K12School } from \"@/models/interface\";\r\nimport {\r\n AcademicOffering,\r\n academicOfferingsArray,\r\n BaseModalType,\r\n} from \"@/models/schoolfinder.enums\";\r\nimport { startCase } from \"lodash\";\r\n@Component({\r\n computed: { ...mapState(\"app\", [\"school\", \"mobileView\", \"tabletView\"]) },\r\n metaInfo: {\r\n title: \"About Page\",\r\n },\r\n})\r\nexport default class ECAbout extends Vue {\r\n school!: K12School;\r\n infoPanelProps!: Map;\r\n mobileView!: boolean;\r\n tabletView!: boolean;\r\n\r\n showItemDetail = false;\r\n dataList = [];\r\n\r\n selectedHeaderText = \"\";\r\n academicOfferingsArray = academicOfferingsArray;\r\n academicOffering = AcademicOffering;\r\n IsCareFacility=false;\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 async mounted(){\r\n await this.showInspection();\r\n if(this.IsCareFacility)this.schoolAbout.inspectionUrl=`/schools/${this.$route.params.schoolId}/Inspections`;\r\n }\r\n async showInspection() {\r\n const result= await this.$store.dispatch(\"app/getIsCareFacilityApplicable\", \"IsCareFacility\");\r\n this.IsCareFacility = result == \"Y\" ? true : false ;\r\n return this.IsCareFacility;\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.earlyEdDirectorName,\r\n valueSecond: this.schoolAbout.earlyEdDirectorNameII,\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: \"Transportation\",\r\n value: this.capitalizeFirstLetter(\r\n this.schoolAbout.earlyEdTransportationBinaryFormatted.toLowerCase()\r\n ),\r\n },\r\n {\r\n id: 5,\r\n label: \"School Type\",\r\n inputList: this.schoolAbout.earlyEdSchoolTypeList,\r\n },\r\n {\r\n id: 6,\r\n label: \"How to Enroll\",\r\n link: this.schoolAbout.eceEnrollmentlink,\r\n },\r\n {\r\n id: 7,\r\n label: \"Takes Child Care Assistance Program (CCAP)\",\r\n value: this.capitalizeFirstLetter(\r\n this.schoolAbout.earlyEdCcapAvailableBinary.toLowerCase()\r\n ),\r\n },\r\n {\r\n id: 8,\r\n label: \"License Type\",\r\n value: this.schoolAbout.earlyEdLicenseType,\r\n },\r\n {\r\n id: 9,\r\n label: \"Inspection Visit Information\",\r\n linkValue: this.schoolAbout.inspectionUrl,\r\n linkLabel: \"Click here to view inspection visit information\",\r\n },\r\n {\r\n id: 10,\r\n label: \"Before Care\",\r\n value: this.capitalizeFirstLetter(\r\n this.schoolAbout.beforeCareBinary.toLowerCase()\r\n ),\r\n },\r\n {\r\n id: 11,\r\n label: \"Inspection Areas\",\r\n linkValue: this.schoolAbout.inspectionList,\r\n linkLabel: \"Click here to view inspection list information\",\r\n },\r\n {\r\n id: 12,\r\n label: \"After Care\",\r\n value: this.capitalizeFirstLetter(\r\n this.schoolAbout.afterCareBinary.toLowerCase()\r\n ),\r\n },\r\n {\r\n id: 13,\r\n label: \"Serious Injuries\",\r\n linkValue: this.schoolAbout.seriousInjuriesUrl,\r\n linkLabel: \"Click here to view serious injuries information\",\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.totalEnrollmentFormattedNA,\r\n },\r\n {\r\n id: 2,\r\n label: \"Current Early Education Capacity\",\r\n value: this.schoolAbout.publiclyFundedChildrenEnrolledFormattedNA,\r\n },\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(\r\n (y) =>\r\n y.value ||\r\n (y.inputList && y.inputList.length > 0) ||\r\n y.link ||\r\n y.linkValue\r\n ),\r\n };\r\n });\r\n }\r\n\r\n capitalizeFirstLetter(word: string) {\r\n return word.charAt(0).toUpperCase() + word.slice(1);\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.earlyEDMusicArtList,\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 schoolYear() {\r\n return this.$store.state.app.schoolYear;\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!./ECAbout.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!./ECAbout.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ECAbout.vue?vue&type=template&id=3c51239b&scoped=true\"\nimport script from \"./ECAbout.vue?vue&type=script&lang=ts\"\nexport * from \"./ECAbout.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ECAbout.vue?vue&type=style&index=0&id=3c51239b&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 \"3c51239b\",\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!./ECAbout.vue?vue&type=style&index=0&id=3c51239b&prod&scoped=true&lang=css\""],"sourceRoot":""}