{"version":3,"sources":["webpack:///./src/views/academics/modals/EditClassModal.vue?7546","webpack:///./src/views/academics/modals/CreateChargeModal.vue?74c5","webpack:///./src/views/academics/modals/CopyClassesModal.vue?1586","webpack:///./src/views/academics/Class.vue?72dd","webpack:///./src/views/academics/modals/CreateClassModal.vue?69c0","webpack:///./src/views/academics/Class.vue","webpack:///./src/views/academics/modals/CreateClassModal.vue","webpack:///./src/views/academics/modals/CreateClassModal.vue?68dd","webpack:///./src/views/academics/modals/CreateClassModal.vue?ff18","webpack:///./src/views/academics/modals/EditClassModal.vue","webpack:///./src/views/academics/modals/EditClassModal.vue?afd3","webpack:///./src/views/academics/modals/EditClassModal.vue?88ba","webpack:///./src/views/academics/modals/CreateChargeModal.vue","webpack:///./src/views/academics/modals/CreateChargeModal.vue?654a","webpack:///./src/views/academics/modals/CreateChargeModal.vue?2a65","webpack:///./src/views/academics/modals/CopyClassesModal.vue","webpack:///./src/views/academics/modals/CopyClassesModal.vue?0204","webpack:///./src/views/academics/modals/CopyClassesModal.vue?16cf","webpack:///./src/views/academics/Class.vue?ca91","webpack:///./src/views/academics/Class.vue?7025","webpack:///./src/views/academics/modals/CreateClassModal.vue?fc6c"],"names":["class","style","id","placeholder","selectedSemesterId","updateSemester","semesters","semester","label","name","code","moment","start_date","format","end_date","value","key","src","title","handleEdit","selectedSemester","classes","values","program","isDeletable","handleClick","$event","handleDelete","levels","level","sessions","session","subjects","subject","linkSubjectPage","start_time","end_time","hours","instructor","first_name","last_name","instructors","daysOfWeek","data","selectedClassData","type","selectedClassType","getClasses","semesterId","semesterName","selectedSemesterName","tabindex","aria-hidden","data-bs-dismiss","ref","data-kt-stepper-element","model","classData","prop","period","range-separator","start-placeholder","end-placeholder","programs","hours_per_week","is-range","timePeriod","step","instructor_id","selectedDays","size","day","skill","addToSkillArea","skillAreas","index","removeFromSkillArea","data-kt-stepper-action","previousStep","currentStepIndex","totalSteps","formSubmit","handleStep","components","props","_stepperObj","createClassRef","semester_id","program_id","level_id","skill_area","class_days","session_id","createInsance","totatStepsNumber","push","splice","goPrev","isValidated","getPrograms","selectedProgramId","getLevels","selectedLevelId","getSessions","selectedSessionId","fire","text","icon","buttonsStyling","confirmButtonText","customClass","confirmButton","goNext","createClass","formData","join","ApiService","setHeader","post","then","window","location","reload","catch","response","console","log","errors","toLocaleTimeString","getSemesters","Promise","resolve","reject","get","sort","a","b","Date","parse","error","Error","render","__scopeId","formdata","deleteSemeter","String","Function","default","cur","prev","startTime","start_hours","start_minutes","start_seconds","split","setHours","setMinutes","setSeconds","endTime","end_hours","end_minutes","end_seconds","map","Number","editClass","update","editCloseButton","document","getElementById","click","confirm","delete","record_date","min","amount","memo","user","store","getters","currentUser","created_by","newSemesterData","createAllClasses","trim","length","copySemesterClasses","CreateClass","EditClass","CreateCharge","CopyClasses","sortedData","currentSemester","filter","today","getSelectedSemesterName","getInstructors","forEach","editButton","classType","undefined","el","target","parentElement","querySelector","classList","toggle","subject_id","router","params"],"mappings":"2OAAA,W,kCCAA,W,kCCAA,W,kCCAA,W,kCCAA,W,yFCCOA,MAAM,oBAAoBC,MAAA,2B,GACxBD,MAAM,yE,GA+DRA,MAAM,uCAAuCE,GAAG,2B,GAC/CA,GAAG,W,SAGGF,MAAM,gD,qCASRA,MAAM,iB,SAGAA,MAAM,iD,qCASRA,MAAM,iB,SAGAA,MAAM,iD,qCASRA,MAAM,iB,2bArGxB,gCA+DM,MA/DN,EA+DM,CA9DJ,gCAoBM,MApBN,EAoBM,CAnBJ,yBAcY,GAbRA,MAAM,0BACNG,YAAY,gB,WACH,EAAAC,mB,qCAAA,EAAkB,sBAC3BH,MAAA,gBACC,SAAQ,EAAAI,gB,8BAGT,IAA6B,E,2BAD/B,gCAMY,2CALS,EAAAC,UAAZC,I,yBADT,yBAMY,GAJTC,MAAOD,EAASE,KAAK,IAAIF,EAASG,KAAK,IAAI,EAAAC,OAAOJ,EAASK,YAAYC,OAAO,cAAc,IAAI,EAAAF,OAAOJ,EAASO,UAAUD,OAAO,c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/B,CACLc,aACAQ,eACAN,UACAD,mBACAd,YACAK,OAAA,KACAc,cACAmB,oBACAE,oBACAC,aACAb,kBACAO,cACAC,aACAtC,qBACAC,iBACA6C,2B,UCxLN,GAAO2F,OAASA,EAChB,GAAOC,UAAY,kBAEJ,iB,kCCRf","file":"js/chunk-51e02b92.92659187.js","sourcesContent":["export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./EditClassModal.vue?vue&type=style&index=0&id=22059f70&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CreateChargeModal.vue?vue&type=style&index=0&id=6f4737ed&lang=scss&scoped=true\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CopyClassesModal.vue?vue&type=style&index=0&id=5101faac&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Class.vue?vue&type=style&index=0&id=314e4364&scoped=true&lang=css\"","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CreateClassModal.vue?vue&type=style&index=1&id=df0d73d0&scoped=true&lang=css\"","\r\n\r\n\r\n\r\n","\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n","\r\nimport { defineComponent, onMounted, ref, computed, onBeforeMount } from \"vue\";\r\nimport { StepperComponent } from \"@/assets/ts/components/_StepperComponent\";\r\nimport Swal from \"sweetalert2/dist/sweetalert2.min.js\";\r\nimport moment from \"moment\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\n\r\nexport default defineComponent({\r\n name: \"create-class-modal\",\r\n components: {\r\n },\r\n props:{\r\n instructors: [] as any,\r\n daysOfWeek: [] as any,\r\n },\r\n setup() {\r\n const _stepperObj = ref(null);\r\n const createClassRef = ref(null);\r\n const currentStepIndex = ref(0);\r\n const selectedDays = ref([]);\r\n const skillAreas = ref([]);\r\n const skill = ref('');\r\n\r\n const classData = ref({\r\n semester : {id: 0, name:'', code:'', period: [], start_date:null, end_date:null},\r\n program : {id:0, name:'', code:'', semester_id : null as any},\r\n level : {id:0, name:'', code:'', program_id : null as any},\r\n session : {id:0, name:'', code:'', level_id : null as any, hours_per_week: 0},\r\n subject : {id:0, name:'', code:'', timePeriod: [] as any, start_time:null, end_time: null, hours:0, instructor: '', skill_area: '', class_days: '', session_id: null as any},\r\n });\r\n\r\n const semesters = ref([] as any);\r\n const programs = ref([] as any);\r\n const levels = ref([] as any);\r\n const sessions = ref([] as any);\r\n\r\n onMounted(() => {\r\n _stepperObj.value = StepperComponent.createInsance(\r\n createClassRef.value as HTMLElement\r\n );\r\n });\r\n\r\n const totalSteps = computed(() => {\r\n if (!_stepperObj.value) {\r\n return;\r\n }\r\n\r\n return _stepperObj.value.totatStepsNumber;\r\n });\r\n\r\n const addToSkillArea = () =>{\r\n if(skill.value && skill.value != ''){\r\n skillAreas.value.push(skill.value);\r\n skill.value = ''\r\n }\r\n }\r\n\r\n const removeFromSkillArea = (index) =>{\r\n skillAreas.value.splice(index, 1);\r\n }\r\n\r\n const previousStep = () => {\r\n if (!_stepperObj.value) {\r\n return;\r\n }\r\n\r\n currentStepIndex.value--;\r\n\r\n _stepperObj.value.goPrev();\r\n };\r\n\r\n const handleStep = () => {\r\n let isValidated = true;\r\n if(currentStepIndex.value == 0)\r\n {\r\n let selectedSemesterId = classData.value.semester.id;\r\n if(selectedSemesterId == 0){\r\n if(!classData.value.semester.code \r\n || !classData.value.semester.name \r\n || !classData.value.semester.period[0]\r\n || !classData.value.semester.period[1]){\r\n isValidated = false;\r\n }\r\n programs.value = [];\r\n }\r\n else{\r\n getPrograms(selectedSemesterId);\r\n classData.value.program.semester_id = selectedSemesterId;\r\n }\r\n }\r\n else if(currentStepIndex.value == 1)\r\n {\r\n let selectedProgramId = classData.value.program.id;\r\n if(selectedProgramId == 0){\r\n if(!classData.value.program.code || !classData.value.program.name){\r\n isValidated = false;\r\n }\r\n levels.value = [];\r\n }\r\n else{\r\n getLevels(selectedProgramId);\r\n classData.value.level.program_id = selectedProgramId;\r\n }\r\n }\r\n else if(currentStepIndex.value == 2)\r\n {\r\n let selectedLevelId = classData.value.level.id;\r\n if(selectedLevelId == 0){\r\n if(!classData.value.level.code || !classData.value.level.name){\r\n isValidated = false;\r\n }\r\n sessions.value = [];\r\n }\r\n else{\r\n getSessions(classData.value.level.id);\r\n classData.value.session.level_id = selectedLevelId;\r\n }\r\n }\r\n else if(currentStepIndex.value == 3)\r\n {\r\n let selectedSessionId = classData.value.session.id;\r\n if(selectedSessionId == 0){\r\n if(!classData.value.session.code || !classData.value.session.name){\r\n isValidated = false;\r\n }\r\n }\r\n else{\r\n classData.value.subject.session_id = selectedSessionId;\r\n }\r\n }\r\n\r\n if(isValidated == false){\r\n Swal.fire({\r\n text: \"Please fill out all required fields\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n return false;\r\n }\r\n\r\n currentStepIndex.value++;\r\n\r\n if (!_stepperObj.value) {\r\n return;\r\n }\r\n\r\n _stepperObj.value.goNext();\r\n };\r\n\r\n const createClass = async (formData) => {\r\n formData.class_days = selectedDays.value.join(\":\");\r\n ApiService.setHeader();\r\n ApiService.post(\"class\", formData)\r\n .then(() => {\r\n Swal.fire({\r\n text: \"New class is created successfully\",\r\n icon: \"success\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n }).then(() => {\r\n window.location.reload();\r\n });\r\n })\r\n .catch(({ response }) => {\r\n console.log('createClass error => '+response.data.errors);\r\n Swal.fire({\r\n text: \"Failed to create the new class\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n });\r\n }\r\n\r\n const formSubmit = () => {\r\n if(!classData.value.subject.code \r\n || !classData.value.subject.name \r\n || !classData.value.subject.timePeriod[0]\r\n || !classData.value.subject.timePeriod[1]\r\n || !classData.value.subject.hours){\r\n Swal.fire({\r\n text: \"Please fill out all required fields\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n return false;\r\n }\r\n\r\n classData.value.semester.start_date = classData.value.semester.period[0];\r\n classData.value.semester.end_date = classData.value.semester.period[1];\r\n classData.value.subject.start_time = classData.value.subject.timePeriod[0].toLocaleTimeString('it-IT');\r\n classData.value.subject.end_time = classData.value.subject.timePeriod[1].toLocaleTimeString('it-IT');\r\n classData.value.subject.skill_area = skillAreas.value.join(';');\r\n classData.value.subject.class_days = selectedDays.value.join(';');\r\n createClass(classData.value);\r\n };\r\n\r\n const getSemesters = async () => {\r\n await new Promise((resolve, reject) => {\r\n ApiService.setHeader(); \r\n ApiService.get(\"class/semesters\")\r\n .then(({ data }) => {\r\n semesters.value = data.data.sort(function(a,b) { \r\n if(a.id == b.id) return 0;\r\n\r\n if (Date.parse(a.start_date!) < Date.parse(b.start_date!))\r\n return 1;\r\n if (Date.parse(a.start_date!) > Date.parse(b.start_date!))\r\n return -1;\r\n return 0;\r\n });\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n console.log('getSemesters error => '+error);\r\n reject(new Error ('getSemesters error => '+error));\r\n });\r\n });\r\n }\r\n\r\n const getPrograms = async (id) => {\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.get(\"class/programs/\"+id)\r\n .then(({ data }) => {\r\n programs.value = data.data;\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n console.log('getPrograms error => '+error);\r\n reject(new Error ('getPrograms error => '+error));\r\n });\r\n });\r\n }\r\n\r\n const getLevels = async (id) => {\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.get(\"class/levels/\"+id)\r\n .then(({ data }) => {\r\n levels.value = data.data;\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n console.log('getLevels error => '+error);\r\n reject(new Error ('getLevels error => '+error));\r\n });\r\n });\r\n }\r\n\r\n const getSessions = async (id) => {\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.get(\"class/sessions/\"+id)\r\n .then(({ data }) => {\r\n sessions.value = data.data;\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n console.log('getSessions error => '+error);\r\n reject(new Error ('getSessions error => '+error));\r\n });\r\n });\r\n }\r\n\r\n onBeforeMount(async() => {\r\n await getSemesters();\r\n })\r\n\r\n return {\r\n handleStep,\r\n formSubmit,\r\n previousStep,\r\n createClassRef,\r\n currentStepIndex,\r\n totalSteps,\r\n classData,\r\n semesters,\r\n programs,\r\n levels,\r\n sessions,\r\n moment,\r\n selectedDays,\r\n skillAreas,\r\n addToSkillArea,\r\n skill,\r\n removeFromSkillArea\r\n };\r\n },\r\n});\r\n","import { render } from \"./CreateClassModal.vue?vue&type=template&id=df0d73d0&scoped=true\"\nimport script from \"./CreateClassModal.vue?vue&type=script&lang=ts\"\nexport * from \"./CreateClassModal.vue?vue&type=script&lang=ts\"\n\nimport \"./CreateClassModal.vue?vue&type=style&index=0&id=df0d73d0&lang=scss&scoped=true\"\nimport \"./CreateClassModal.vue?vue&type=style&index=1&id=df0d73d0&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-df0d73d0\"\n\nexport default script","\r\n\r\n\r\n\r\n\r\n","\r\nimport { defineComponent, ref, watch } from \"vue\";\r\nimport Swal from \"sweetalert2/dist/sweetalert2.min.js\";\r\nimport moment from \"moment\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport { ElMessageBox } from \"element-plus\";\r\n\r\nexport default defineComponent({\r\n name: \"edit-class-modal\",\r\n components: {\r\n },\r\n props:{\r\n data:{} as any,\r\n type:String,\r\n instructors: [] as any,\r\n daysOfWeek: [] as any,\r\n getClasses : {\r\n type:Function,\r\n default: () => ({}),\r\n },\r\n updateSemester : {\r\n type:Function,\r\n default: () => ({}),\r\n },\r\n },\r\n setup(props) {\r\n const createClassRef = ref(null);\r\n const formdata = ref(props.data);\r\n const selectedDays = ref([]);\r\n const skillAreas = ref([]);\r\n const skill = ref('');\r\n \r\n watch(() => props.data, (cur, prev)=>{\r\n skillAreas.value = [];\r\n selectedDays.value = [];\r\n skill.value = '';\r\n if(cur !== prev){\r\n formdata.value = props.data;\r\n if(props.type == 'semester'){\r\n formdata.value.period = [];\r\n formdata.value.period[0] = props.data.start_date;\r\n formdata.value.period[1] = props.data.end_date;\r\n }\r\n else if(props.type == 'subject'){\r\n formdata.value.timePeriod = [];\r\n let startTime = new Date();\r\n\r\n let [start_hours, start_minutes, start_seconds] = props.data.start_time.split(':');\r\n startTime.setHours(start_hours);\r\n startTime.setMinutes(start_minutes);\r\n startTime.setSeconds(start_seconds);\r\n formdata.value.timePeriod[0] = startTime;\r\n\r\n let endTime = new Date();\r\n let [end_hours, end_minutes, end_seconds] = props.data.end_time.split(':');\r\n endTime.setHours(end_hours);\r\n endTime.setMinutes(end_minutes);\r\n endTime.setSeconds(end_seconds);\r\n formdata.value.timePeriod[1] = endTime;\r\n\r\n if(props.data.skill_area){\r\n skillAreas.value = props.data.skill_area.split(';');\r\n }\r\n if(props.data.class_days){\r\n selectedDays.value = props.data.class_days.split(';').map( Number );\r\n } \r\n }\r\n }\r\n })\r\n\r\n const formSubmit = () => {\r\n if(props.type == 'semester'){\r\n formdata.value.start_date = formdata.value.period[0];\r\n formdata.value.end_date = formdata.value.period[1];\r\n }\r\n else if(props.type == 'subject'){\r\n formdata.value.start_time = formdata.value.timePeriod[0].toLocaleTimeString('it-IT');\r\n formdata.value.end_time = formdata.value.timePeriod[1].toLocaleTimeString('it-IT');\r\n formdata.value.skill_area = skillAreas.value.join(';');\r\n formdata.value.class_days = selectedDays.value.join(';');\r\n delete formdata.value.instructor;\r\n }\r\n\r\n editClass(formdata.value);\r\n };\r\n\r\n const editClass = (data) => {\r\n ApiService.setHeader();\r\n ApiService.update(\"class/\"+props.type, data.id, data)\r\n .then(() => {\r\n Swal.fire({\r\n text: \"Updated successfully\",\r\n icon: \"success\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n }).then(() => {\r\n props.getClasses();\r\n let editCloseButton = document.getElementById('edit_class_close_button');\r\n editCloseButton?.click();\r\n });\r\n \r\n })\r\n .catch(({ response }) => {\r\n console.log(response);\r\n Swal.fire({\r\n text: \"Update failed\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n });\r\n };\r\n\r\n const addToSkillArea = () =>{\r\n if(skill.value && skill.value != ''){\r\n skillAreas.value.push(skill.value);\r\n skill.value = ''\r\n }\r\n }\r\n\r\n const removeFromSkillArea = (index) =>{\r\n skillAreas.value.splice(index, 1);\r\n }\r\n\r\n const deleteSemeter = () =>{\r\n ElMessageBox.confirm('Are you sure you want to delete this semester? Once deleted, all of the nested classes will also be deleted.')\r\n .then(() => {\r\n ApiService.setHeader();\r\n ApiService.delete(\"class/semester/\"+formdata.value.id)\r\n .then(() => {\r\n props.updateSemester();\r\n let editCloseButton = document.getElementById('edit_class_close_button');\r\n editCloseButton?.click(); \r\n })\r\n .catch(({ response }) => {\r\n console.log(response);\r\n Swal.fire({\r\n text: \"Delete failed.\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n });\r\n });\r\n }\r\n\r\n return {\r\n formSubmit,\r\n createClassRef,\r\n moment,\r\n formdata,\r\n selectedDays,\r\n skillAreas,\r\n skill,\r\n addToSkillArea,\r\n removeFromSkillArea,\r\n deleteSemeter,\r\n };\r\n },\r\n});\r\n","import { render } from \"./EditClassModal.vue?vue&type=template&id=22059f70&scoped=true\"\nimport script from \"./EditClassModal.vue?vue&type=script&lang=ts\"\nexport * from \"./EditClassModal.vue?vue&type=script&lang=ts\"\n\nimport \"./EditClassModal.vue?vue&type=style&index=0&id=22059f70&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-22059f70\"\n\nexport default script","\r\n\r\n\r\n\r\n\r\n","\r\nimport { defineComponent, onMounted, ref, watch } from \"vue\";\r\nimport Swal from \"sweetalert2/dist/sweetalert2.min.js\";\r\nimport moment from \"moment\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport store from \"@/store\";\r\n\r\nexport default defineComponent({\r\n name: \"create-charge-modal\",\r\n props:{\r\n semesterId: Number,\r\n },\r\n setup(props) {\r\n const formdata = ref({} as any);\r\n const programs = ref([] as any);\r\n const user = store.getters.currentUser;\r\n\r\n const getPrograms = async () => {\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.get(\"class/programs/\"+props.semesterId)\r\n .then(({ data }) => {\r\n programs.value = data.data;\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n console.log('getPrograms error => '+error);\r\n reject(new Error ('getPrograms error => '+error));\r\n });\r\n });\r\n }\r\n\r\n watch(() => props.semesterId, (cur, prev)=>{\r\n getPrograms();\r\n })\r\n\r\n const formSubmit = () => {\r\n formdata.value.created_by = user.id;\r\n ApiService.setHeader();\r\n ApiService.post(\"class/program-charge\", formdata.value)\r\n .then(() => {\r\n Swal.fire({\r\n text: \"Program charges are created for students successfully\",\r\n icon: \"success\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n }).then(() => {\r\n let editCloseButton = document.getElementById('create_charge_close_button');\r\n editCloseButton?.click();\r\n });\r\n \r\n })\r\n .catch(({ response }) => {\r\n Swal.fire({\r\n text: \"Create failed!\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n console.log(response);\r\n });\r\n };\r\n\r\n onMounted(() => {\r\n getPrograms();\r\n });\r\n\r\n return {\r\n formSubmit,\r\n moment,\r\n formdata,\r\n programs\r\n };\r\n },\r\n});\r\n","import { render } from \"./CreateChargeModal.vue?vue&type=template&id=6f4737ed&scoped=true\"\nimport script from \"./CreateChargeModal.vue?vue&type=script&lang=ts\"\nexport * from \"./CreateChargeModal.vue?vue&type=script&lang=ts\"\n\nimport \"./CreateChargeModal.vue?vue&type=style&index=0&id=6f4737ed&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-6f4737ed\"\n\nexport default script","1. Select copy from semester \r\n2. Enter tem info : Name, Code, Period(startDate/endDate)\r\n3. Button to submit the class creation request.\r\n\r\n\r\n \r\n\r\n\r\n","\r\nimport { defineComponent, onMounted, ref, toRefs, watch } from \"vue\";\r\nimport moment from \"moment\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport store from \"@/store\";\r\nimport Swal from \"sweetalert2\";\r\n\r\nexport default defineComponent({\r\n name: \"copy-classes-modal\",\r\n props:{\r\n semesterId: Number,\r\n semesterName : String\r\n },\r\n setup(props) {\r\n const newSemesterData = ref({id: 0, name:'', code:'', period: [], start_date:null, end_date:null});\r\n const { semesterId } = toRefs(props);\r\n\r\n const createAllClasses = () => {\r\n if(newSemesterData.value.period)\r\n {\r\n newSemesterData.value.start_date = newSemesterData.value.period[0];\r\n newSemesterData.value.end_date = newSemesterData.value.period[1];\r\n }\r\n else\r\n {\r\n newSemesterData.value.start_date = null;\r\n newSemesterData.value.end_date = null;\r\n }\r\n\r\n if(!newSemesterData.value.name\r\n || newSemesterData.value.name.trim().length == 0\r\n || !newSemesterData.value.code\r\n || newSemesterData.value.code.trim().length == 0\r\n || !newSemesterData.value.start_date\r\n || !newSemesterData.value.end_date)\r\n {\r\n Swal.fire({\r\n text: \"Please fill out all required fields\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n\r\n return false;\r\n }\r\n\r\n copySemesterClasses(newSemesterData.value);\r\n };\r\n\r\n const copySemesterClasses = async (newSemesterData) => {\r\n ApiService.setHeader();\r\n ApiService.post(\"class/copy-semester-classes/\"+semesterId.value, newSemesterData)\r\n .then(() => {\r\n Swal.fire({\r\n text: \"New classes are created successfully\",\r\n icon: \"success\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n }).then(() => {\r\n window.location.reload();\r\n });\r\n })\r\n .catch(({ response }) => {\r\n console.log('copyClasses error => '+response.data.errors);\r\n Swal.fire({\r\n text: \"Failed to create the new classes\",\r\n icon: \"error\",\r\n buttonsStyling: false,\r\n confirmButtonText: \"Ok, got it!\",\r\n customClass: {\r\n confirmButton: \"btn btn-primary\",\r\n },\r\n });\r\n });\r\n }\r\n\r\n return {\r\n createAllClasses,\r\n moment,\r\n newSemesterData\r\n };\r\n },\r\n});\r\n","import { render } from \"./CopyClassesModal.vue?vue&type=template&id=5101faac&scoped=true\"\nimport script from \"./CopyClassesModal.vue?vue&type=script&lang=ts\"\nexport * from \"./CopyClassesModal.vue?vue&type=script&lang=ts\"\n\nimport \"./CopyClassesModal.vue?vue&type=style&index=0&id=5101faac&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-5101faac\"\n\nexport default script","\r\nimport { defineComponent, onBeforeMount, onMounted, reactive, ref } from \"vue\";\r\nimport { setCurrentPageBreadcrumbs } from \"@/core/helpers/breadcrumb\";\r\nimport CreateClass from \"@/views/academics/modals/CreateClassModal.vue\";\r\nimport EditClass from \"@/views/academics/modals/EditClassModal.vue\";\r\nimport CreateCharge from \"@/views/academics/modals/CreateChargeModal.vue\";\r\nimport CopyClasses from \"@/views/academics/modals/CopyClassesModal.vue\";\r\nimport ApiService from \"@/core/services/ApiService\";\r\nimport moment from \"moment\";\r\nimport { ElMessageBox } from \"element-plus\";\r\nimport router from \"@/router\";\r\n\r\nexport default defineComponent({\r\n name: \"account-overview\",\r\n components: {\r\n CreateClass,\r\n EditClass,\r\n CreateCharge,\r\n CopyClasses\r\n },\r\n setup() {\r\n const semesters = ref([] as any);\r\n const classes = reactive([] as any);\r\n const selectedSemester = ref({} as any);\r\n const selectedClassData = ref({} as any);\r\n const selectedClassType = ref('');\r\n const instructors = ref([]);\r\n const selectedSemesterId = ref(0);\r\n const selectedSemesterName = ref('');\r\n const daysOfWeek = [{label :'Sun', value : 0}, \r\n {label :'Mon', value : 1},\r\n {label :'Tue', value : 2},\r\n {label :'Wed', value : 3},\r\n {label :'Thu', value : 4},\r\n {label :'Fri', value : 5},\r\n {label :'Sat', value : 6}];\r\n\r\n const getSemesters = () : any => {\r\n return new Promise((resolve, reject) => { \r\n ApiService.setHeader();\r\n ApiService.get(\"class/semesters\")\r\n .then(({ data }) => {\r\n let sortedData = data.data.sort(function(a,b) { \r\n if(a.id == b.id) return 0;\r\n\r\n if (Date.parse(a.start_date!) < Date.parse(b.start_date!))\r\n return 1;\r\n if (Date.parse(a.start_date!) > Date.parse(b.start_date!))\r\n return -1;\r\n return 0;\r\n });\r\n semesters.value = sortedData;\r\n resolve(sortedData);\r\n })\r\n .catch((error) => {\r\n reject(new Error ('getSemesters error => '+error));\r\n });\r\n });\r\n }\r\n\r\n const updateSemester = async() => {\r\n getSemesters().then((data) => {\r\n if(data){\r\n let currentSemester = data.filter(semester => semester.id == selectedSemesterId.value)[0];\r\n if(!currentSemester){\r\n let today = new Date();\r\n let currentSemester = data.filter(semester => (semester.start_date <= today && semester.end_date >= today));\r\n\r\n if(currentSemester.length > 0){\r\n selectedSemester.value = currentSemester[0];\r\n }\r\n else{\r\n selectedSemester.value = data[0];\r\n }\r\n \r\n selectedSemesterId.value = selectedSemester.value.id;\r\n }\r\n else{\r\n selectedSemester.value = currentSemester;\r\n }\r\n\r\n selectedSemesterName.value = getSelectedSemesterName(selectedSemester.value);\r\n\r\n getClasses();\r\n getInstructors();\r\n }\r\n });\r\n }\r\n\r\n const getClasses = async() => {\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader(); \r\n ApiService.get(\"class/\"+selectedSemester.value.id)\r\n .then(({ data }) => {\r\n data.data.forEach(program => {\r\n program.isDeletable = program.levels == null || program.levels.length == 0;\r\n program.levels.forEach(level => {\r\n level.isDeletable = level.sessions == null || level.sessions.length == 0;\r\n level.sessions.forEach(session => {\r\n session.isDeletable = session.subjects == null || session.subjects.length == 0;\r\n session.subjects.forEach(subject =>{\r\n subject.isDeletable = true;\r\n })\r\n })\r\n })\r\n });\r\n classes.values= data.data;\r\n resolve(data.data);\r\n })\r\n .catch((error) => {\r\n reject(new Error ('getSemesters error => '+error));\r\n });\r\n });\r\n }\r\n\r\n const handleEdit = (type, data) => {\r\n selectedClassData.value = data;\r\n selectedClassType.value = type;\r\n let editButton = document.getElementById('class_edit_button');\r\n editButton?.click();\r\n };\r\n\r\n const handleDelete = (data) => {\r\n ElMessageBox.confirm('Are you sure to delete this class?')\r\n .then(() => {\r\n let classType = data.semester_id != undefined ? 'program' : data.program_id != undefined ? 'level' : data.level_id != undefined ? 'session' : 'subject'; \r\n ApiService.setHeader();\r\n ApiService.delete(\"class/\"+classType+\"/\"+data.id)\r\n .then(() => {\r\n getClasses(); \r\n })\r\n .catch(({ response }) => {\r\n console.log('handleDelete error => '+response.data.errors);\r\n });\r\n });\r\n };\r\n\r\n const handleClick = (el) =>{\r\n el.target.parentElement?.querySelector(\".nested\")?.classList.toggle(\"active\");\r\n el.target.classList.toggle(\"caret-down\");\r\n }\r\n\r\n const linkSubjectPage = (subject_id) => {\r\n router.push({ name: \"subject\", params: { id: subject_id } });\r\n }\r\n\r\n const getInstructors = async() =>{\r\n await new Promise((resolve, reject) => { \r\n ApiService.setHeader();\r\n ApiService.get(\"staff\")\r\n .then(({ data }) => {\r\n instructors.value = data.data;\r\n resolve(data);\r\n })\r\n .catch(({ response }) => {\r\n console.log('getAdvisors error => '+response.data.errors);\r\n reject(response.data.errors);\r\n });\r\n });\r\n }\r\n\r\n const getSelectedSemesterName = (semester) => {\r\n return semester.name+'/'+semester.code+'/'+moment(semester.start_date).format('YYYY.MM.DD')+'~'+moment(semester.end_date).format('YYYY.MM.DD')\r\n }\r\n\r\n onBeforeMount(async() => {\r\n updateSemester();\r\n })\r\n\r\n onMounted(() => {\r\n setCurrentPageBreadcrumbs(\"Class\", [\"Academics\"]);\r\n });\r\n\r\n return {\r\n handleEdit,\r\n handleDelete,\r\n classes,\r\n selectedSemester,\r\n semesters,\r\n moment,\r\n handleClick,\r\n selectedClassData,\r\n selectedClassType,\r\n getClasses,\r\n linkSubjectPage,\r\n instructors,\r\n daysOfWeek,\r\n selectedSemesterId,\r\n updateSemester,\r\n selectedSemesterName\r\n };\r\n },\r\n});\r\n","import { render } from \"./Class.vue?vue&type=template&id=314e4364&scoped=true\"\nimport script from \"./Class.vue?vue&type=script&lang=ts\"\nexport * from \"./Class.vue?vue&type=script&lang=ts\"\n\nimport \"./Class.vue?vue&type=style&index=0&id=314e4364&scoped=true&lang=css\"\nscript.render = render\nscript.__scopeId = \"data-v-314e4364\"\n\nexport default script","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./CreateClassModal.vue?vue&type=style&index=0&id=df0d73d0&lang=scss&scoped=true\""],"sourceRoot":""}