{"version":3,"sources":["webpack:///./src/store/modules/common-data/academic-period-config/state/index.js","webpack:///./src/store/modules/common-data/academic-period-config/getters/index.js","webpack:///./src/store/modules/common-data/academic-period-config/mutations/index.js","webpack:///./src/store/modules/common-data/academic-period-config/actions/index.js","webpack:///./src/store/modules/common-data/academic-period-config/index.js","webpack:///./src/store/modules/chat/state/index.js","webpack:///./src/store/modules/chat/mutations/index.js","webpack:///./src/store/modules/chat/index.js","webpack:///./src/store/modules/classroom/state/index.js","webpack:///./src/store/modules/classroom/getters/index.js","webpack:///./src/store/modules/classroom/mutations/index.js","webpack:///./src/store/modules/classroom/actions/index.js","webpack:///./src/store/modules/classroom/index.js","webpack:///./src/store/modules/course/course-outline-registration/state/index.js","webpack:///./src/store/modules/course/course-outline-registration/getters/index.js","webpack:///./src/store/modules/course/course-outline-registration/mutations/index.js","webpack:///./src/store/modules/course/course-outline-registration/actions/index.js","webpack:///./src/store/modules/course/course-outline-registration/index.js","webpack:///./src/store/modules/course-faq/state/index.js","webpack:///./src/store/modules/course-faq/getters/index.js","webpack:///./src/store/modules/course-faq/mutations/index.js","webpack:///./src/store/modules/course-faq/actions/index.js","webpack:///./src/store/modules/course-faq/index.js","webpack:///./src/store/modules/course/class-section/state/index.js","webpack:///./src/store/modules/course/class-section/getters/index.js","webpack:///./src/store/modules/course/class-section/mutations/index.js","webpack:///./src/store/modules/course/class-section/actions/index.js","webpack:///./src/store/modules/course/class-section/index.js"],"names":["academicPeriodConfig","id","applyPeriod","applyPeriodCode","learnPeriod","learnPeriodCode","enrollPeriod","enrollPeriodCode","academicPeriodConfigs","processing","error","blankGetters","clearError","state","payload","generic","setError","setSuccess","setProcessing","setAcademicPeriodConfigs","setAcademicPeriodConfig","getAcademicPeriodConfigs","context","commit","apolloClient","query","GET_ACADEMICPERIODCONFIGS","fetchPolicy","clientName","result","data","errors","getAcademicPeriodConfig","GET_ACADEMICPERIODCONFIG","variables","getCurrentAcademicPeriodConfig","GET_ACADEMICPERIODCONFIGS_CURRENT","updateAcademicPeriodConfig","mutate","mutation","UPDATE_ACADEMICPERIODCONFIG","index","findIndex","item","slice","updateItemSuccess","namespaced","getters","getField","mutations","updateField","actions","chatrooms","storeChatrooms","purgeClassroom","classrooms","getClassrooms","storeClassrooms","GET_CLASSROOMS","getClassRooms","status","success","message","console","log","full","courseOutlineRegistration","academicPeriodId","periodCode","courseOutlineId","degreeId","subjectGroupId","subjectId","subjectCode","subjectName","teacherId","teacherCode","classSections","courseOutlineRegistrations","setCourseOutlineRegistrations","setCourseOutlineRegistration","purgeCourseOutlineRegistration","getCourseOutlineRegistrations","GET_COURSEOUTLINEREGISTRATIONS","getCourseOutlineRegistrationsByFilter","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER","getCourseOutlineRegistrationsByFilterForTable","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_FOR_TABLE","getCourseOutlineRegistrationsByFilterOnlyCourseOutline","GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_ONLY_COURSEOUTLINE","getCourseOutlineRegistration","GET_COURSEOUTLINEREGISTRATION","addCourseOutlineRegistration","ADD_COURSEOUTLINEREGISTRATION","push","newItemSuccess","enrollNo","updateCourseOutlineRegistration","UPDATE_COURSEOUTLINEREGISTRATION","updateTeacherCourseOutlineRegistration","UPDATE_TEACHER_COURSEOUTLINEREGISTRATION","deleteCourseOutlineRegistration","DELETE_COURSEOUTLINEREGISTRATION","deleteItemSuccess","courseFaqs","setCourseFaqs","purgeCourseFaqs","getCourseFaqs","GET_COURSE_FAQS","getCourseFAQs","getCourseFaq","GET_COURSE_FAQ","getCourseFAQ","getCourseFaqsByFilter","GET_COURSE_FAQS_BY_FILTER","getCourseFAQsByFilter","getCourseFaqsByFilterCurrentTeacher","GET_COURSE_FAQS_BY_FILTER_CURRENT_TEACHER","getCourseFAQsByFilterCurrentTeacher","addCourseFaq","ADD_COURSE_FAQ","unshift","addCourseFAQ","question","updateCourseFaq","UPDATE_COURSE_FAQ","updateCourseFAQ","updateCourseFaqHitCount","UPDATE_COURSE_FAQ_HIT_COUNT","updateCourseFAQHitCount","deleteCourseFaq","DELETE_COURSE_FAQ","deleteCourseFAQ","classSection","courseOutline","sectionNo","descriptionLocal","descriptionEng","studentRegisterQty","studentQty","vdoSet","vdoSetCode","startClassDate","learnSpanNo","examSpanNo","classMaterials","classAssignments","classRoom","setClassSections","setClassSection","purgeClassSection","getClassSections","GET_CLASSSECTIONS","getClassSectionsByFilter","GET_CLASSSECTIONS_BY_FILTER","getClassSectionsByStudentNotRegister","GET_CLASSSECTIONS_BY_STUDENT_NOT_REGISTER","getClassSection","GET_CLASSSECTION","addClassSection","ADD_CLASSSECTION","updateClassSection","UPDATE_CLASSSECTION","deleteClassSection","DELETE_CLASSSECTION"],"mappings":"4yBAAe,GACbA,qBAAsB,CACpBC,GAAI,GACJC,YAAa,GACbC,gBAAiB,GACjBC,YAAa,GACbC,gBAAiB,GACjBC,aAAc,GACdC,iBAAkB,IAEpBC,sBAAuB,GACvBC,YAAY,EACZC,MAAO,MCZF,SAASC,K,gBCET,SAASC,EAAWC,EAAOC,GAChCC,OAAmBF,EAAOC,GAGrB,SAASE,EAASH,EAAOC,GAC9BC,OAAiBF,EAAOC,GAGnB,SAASG,EAAWJ,EAAOC,GAChCC,OAAmBF,EAAOC,GAGrB,SAASI,EAAcL,EAAOC,GACnCC,OAAsBF,EAAOC,GAGxB,SAASK,EAAyBN,EAAOC,GAC9CD,EAAML,sBAAwBM,GAAoB,GAG7C,SAASM,EAAwBP,EAAOC,GAC7CD,EAAMb,qBAAuBc,E,0GCdxB,SAAeO,EAAtB,kC,8DAAO,WAAwCC,GAAxC,oGACLA,EAAQC,OAAO,iBAAiB,GAD3B,kBAGkBC,OAClBC,MAAM,CACLA,MAAOC,OACPC,YAAa,eACbL,QAAS,CAAEM,WAAY,aAPxB,cAGGC,EAHH,gBAU0BA,EAV1B,mBAUIC,EAVJ,EAUIA,KAAMC,EAVV,EAUUA,QAETA,EAZD,wBAaDT,EAAQC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A/BJ,0D,wBA6CA,SAAeyJ,EAAtB,oC,8DAAO,WAAkC7I,EAASR,GAA3C,wGACLQ,EAAQC,OAAO,iBAAiB,GAD3B,kBAGkBC,OAClBc,OAAO,CACNC,SAAU6H,OACVlI,UAAWpB,EACXQ,QAAS,CAAEM,WAAY,aAPxB,cAGGC,EAHH,gBAU0BA,EAV1B,mBAUIC,EAVJ,EAUIA,KAAMC,EAVV,EAUUA,QAETA,EAZD,wBAaDT,EAAQC,OAAO,WAAYb,eAAMqB,IAbhC,kBAcM,MAdN,eAgBKU,EAAQnB,EAAQT,MAAMgE,cAAcnC,WAAU,SAAAC,GAAI,OAAIA,EAAK1C,KAAO6B,EAAKqI,mBAAmBlK,MAC1F4E,EAjBL,yBAkBIvD,EAAQT,MAAMgE,cAAcjC,MAAM,EAAGH,IAlBzC,eAmBInB,EAAQT,MAAMgE,cAAcjC,MAAMH,EAAQ,KAE/CnB,EAAQC,OAAO,mBAAoBsD,GACnCvD,EAAQC,OAAO,aAAcgF,eAAkB,WAAazE,EAAKqI,mBAAmB5B,YAtBnF,kBAwBMzG,EAAKqI,oBAxBX,oEA4BH7I,EAAQC,OAAO,WAAYb,eAAM,EAAD,KA5B7B,kBA6BI,MA7BJ,0D,onBCvNQ,QACboC,YAAY,EACZC,QAAS,EAAF,CACLC,iBACGD,GAELE,UAAW,EAAF,CACPC,oBACGD,GAELE,UACAtC","file":"js/app~bc7a3c61.608391d5.js","sourcesContent":["export default {\n academicPeriodConfig: {\n id: '',\n applyPeriod: '',\n applyPeriodCode: '',\n learnPeriod: '',\n learnPeriodCode: '',\n enrollPeriod: '',\n enrollPeriodCode: '',\n },\n academicPeriodConfigs: [],\n processing: false,\n error: null,\n}\n\n\n\n","export function blankGetters() {\n return;\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport function clearError(state, payload) {\n generic.clearError(state, payload);\n}\n\nexport function setError(state, payload) {\n generic.setError(state, payload);\n}\n\nexport function setSuccess(state, payload) {\n generic.setSuccess(state, payload);\n}\n\nexport function setProcessing(state, payload) {\n generic.setProcessing(state, payload);\n}\n\nexport function setAcademicPeriodConfigs(state, payload) {\n state.academicPeriodConfigs = payload ? payload : [];\n}\n\nexport function setAcademicPeriodConfig(state, payload) {\n state.academicPeriodConfig = payload;\n}\n","import {apolloClient} from '@/setup/apollo-setup';\nimport {error, updateItemSuccess } from '@/utils/notification';\nimport {\n GET_ACADEMICPERIODCONFIGS,\n GET_ACADEMICPERIODCONFIGS_CURRENT,\n GET_ACADEMICPERIODCONFIG,\n UPDATE_ACADEMICPERIODCONFIG,\n} from '../../../../../queries/modules/common_data/academicPeriodConfig';\n\nexport async function getAcademicPeriodConfigs(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_ACADEMICPERIODCONFIGS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setAcademicPeriodConfigs', data.getAcademicPeriodConfigs);\n context.commit('setSuccess', null);\n return data.getAcademicPeriodConfigs\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getAcademicPeriodConfig(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_ACADEMICPERIODCONFIG,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n context.commit('setAcademicPeriodConfig', data.getAcademicPeriodConfig);\n context.commit('setSuccess', null);\n return data.getAcademicPeriodConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getCurrentAcademicPeriodConfig(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_ACADEMICPERIODCONFIGS_CURRENT,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n if (errors) {\n context.commit('setError', error(errors));\n return null\n } else {\n context.commit('setAcademicPeriodConfig', data.getCurrentAcademicPeriodConfig);\n context.commit('setSuccess', null);\n return data.getCurrentAcademicPeriodConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null\n }\n}\n\nexport async function updateAcademicPeriodConfig(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_ACADEMICPERIODCONFIG,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n const index = context.state.academicPeriodConfigs.findIndex(item => item.id === data.updateAcademicPeriodConfig.id);\n const academicPeriodConfigs = [\n ...context.state.academicPeriodConfigs.slice(0, index),\n data.updateAcademicPeriodConfig,\n ...context.state.academicPeriodConfigs.slice(index + 1)\n ];\n context.commit('setAcademicPeriodConfigs', academicPeriodConfigs);\n context.commit('setSuccess', updateItemSuccess(data.updateAcademicPeriodConfig.learnPeriodCode));\n\n return data.updateAcademicPeriodConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nimport {getField, updateField} from \"vuex-map-fields\";\n\nexport default {\n namespaced: true,\n getters: {\n getField,\n ...getters,\n },\n mutations: {\n updateField,\n ...mutations,\n },\n actions,\n state\n};\n\n","export default {\n chatrooms: {}\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport const setError = generic.setError;\nexport const setSuccess = generic.setSuccess;\nexport const setProcessing = generic.setProcessing;\n\nexport function storeChatrooms(state, data) {\n state.chatrooms[data.id] = data;\n}\n\nexport function purgeClassroom(state) {\n state.chatrooms = {};\n}\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state\n};\n","export default {\n classrooms: []\n}","export function getClassrooms(state) {\n return state.classrooms;\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport const setError = generic.setError;\nexport const setSuccess = generic.setSuccess;\nexport const setProcessing = generic.setProcessing;\n\nexport function storeClassrooms(state, data) {\n state.classrooms = data;\n}\n\nexport function purgeClassroom(state) {\n state.classrooms = [];\n}\n","/* eslint-disable no-console, no-case-declarations, no-unused-vars */\n// import axios from \"axios\";\nimport { apolloClient } from \"@/setup/apollo-setup\";\nimport { serverResponseStatusSet, error } from '@/utils/notification';\n\nimport {\n GET_CLASSROOMS,\n} from '@/queries/modules/classroom/classroom.js';\n\n/**\n * Action to Get Classroom List\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport async function getClassrooms(context) {\n const { commit } = context;\n commit('setProcessing', true);\n\n try {\n const result = await apolloClient\n .query({\n query: GET_CLASSROOMS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n\n const { data } = await result;\n\n const classrooms = data.getClassRooms;\n commit(\"storeClassrooms\", classrooms)\n\n return { status: { success: true, error: false, message: \"\" }, data: classrooms };\n\n } catch (e) {\n console.log(e);\n // commit('setError', serverResponseStatusSet(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n}\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\n\nexport default {\n namespaced: true,\n getters,\n mutations,\n actions,\n state\n};\n","export default {\n courseOutlineRegistration: {\n id: '',\n academicPeriodId: '',\n periodCode: '',\n courseOutlineId: '',\n degreeId: '',\n subjectGroupId: '',\n subjectId: '',\n subjectCode: '',\n subjectName: '',\n teacherId: '',\n teacherCode: '',\n classSections: [],\n },\n courseOutlineRegistrations: [],\n processing: false,\n error: null,\n success: null,\n}\n\n\n\n","export function blankGetters() {\n return;\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport function clearError(state, payload) {\n generic.clearError(state, payload);\n}\n\nexport function setError(state, payload) {\n generic.setError(state, payload);\n}\n\nexport function setSuccess(state, payload) {\n generic.setSuccess(state, payload);\n}\n\nexport function setProcessing(state, payload) {\n generic.setProcessing(state, payload);\n}\n\nexport function setCourseOutlineRegistrations(state, payload) {\n state.courseOutlineRegistrations = payload ? payload : [];\n}\n\nexport function setCourseOutlineRegistration(state, payload) {\n state.courseOutlineRegistration = payload;\n}\n\nexport function purgeCourseOutlineRegistration (state) {\n state.courseOutlineRegistration.id = \"\";\n state.courseOutlineRegistration.academicPeriodId = \"\";\n state.courseOutlineRegistration.periodCode = \"\";\n state.courseOutlineRegistration.courseOutlineId = \"\";\n state.courseOutlineRegistration.degreeId = \"\";\n state.courseOutlineRegistration.subjectGroupId = \"\";\n state.courseOutlineRegistration.subjectId = \"\";\n state.courseOutlineRegistration.subjectCode = \"\";\n state.courseOutlineRegistration.subjectName = \"\";\n state.courseOutlineRegistration.teacherId = \"\";\n state.courseOutlineRegistration.teacherCode = \"\";\n state.courseOutlineRegistration.classSections = [];\n state.courseOutlineRegistrations = [];\n state.processing = false;\n state.error = null;\n state.success = null;\n}\n","import {apolloClient} from '@/setup/apollo-setup';\nimport {error, newItemSuccess, updateItemSuccess, deleteItemSuccess} from '@/utils/notification';\nimport {\n GET_COURSEOUTLINEREGISTRATION,\n GET_COURSEOUTLINEREGISTRATIONS,\n GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER,\n GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_FOR_TABLE,\n GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_ONLY_COURSEOUTLINE,\n ADD_COURSEOUTLINEREGISTRATION,\n UPDATE_COURSEOUTLINEREGISTRATION,\n UPDATE_TEACHER_COURSEOUTLINEREGISTRATION,\n DELETE_COURSEOUTLINEREGISTRATION\n} from '../../../../../queries/modules/courses/course-outline-registration.js';\n\nexport async function getCourseOutlineRegistrations(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSEOUTLINEREGISTRATIONS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return context.state.courseOutlineRegistration;\n } else {\n context.commit('setCourseOutlineRegistrations', data.getCourseOutlineRegistrations);\n context.commit('setSuccess', null);\n return data.getCourseOutlineRegistrations\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n}\n\nexport async function getCourseOutlineRegistrationsByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setCourseOutlineRegistrations', data.getCourseOutlineRegistrationsByFilter);\n context.commit('setSuccess', null);\n\n return data.getCourseOutlineRegistrationsByFilter;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getCourseOutlineRegistrationsByFilterForTable(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_FOR_TABLE,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setCourseOutlineRegistrations', data.getCourseOutlineRegistrationsByFilter);\n context.commit('setSuccess', null);\n\n return data.getCourseOutlineRegistrationsByFilter;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getCourseOutlineRegistrationsByFilterOnlyCourseOutline(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSEOUTLINEREGISTRATIONS_BY_FILTER_ONLY_COURSEOUTLINE,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setCourseOutlineRegistrations', data.getCourseOutlineRegistrationsByFilter);\n context.commit('setSuccess', null);\n\n return data.getCourseOutlineRegistrationsByFilter;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getCourseOutlineRegistration(context, payload) {\n context.commit('setProcessing', true);\n\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSEOUTLINEREGISTRATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return context.state.courseOutlineRegistration;\n } else {\n context.commit('setCourseOutlineRegistration', data.getCourseOutlineRegistration);\n context.commit('setSuccess', null);\n return data.getCourseOutlineRegistration\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n}\n\n/**\n * Action to Add Course Outline Registration\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n * @param {Object} payload Contain requires inputs for adding data\n * @property {CourseOutlineRegistrationInput (Array), required} courseOutlineRegistrationInput : [{\n academicPeriodId: \"\", // {String} Get it from filter selection.\n periodCode: \"\", // {String} Get it from filter selection.\n degreeId: \"\", // {String} Get it from filter selection.\n subjectGroupId: \"\", // {String} Get it from filter selection.\n subjectId: \"\", // {String} Get it from Course Outline Selection.\n subjectCode: \"\", // {String} \"----------------------------------\"\n subjectName: \"\", // {String} \"----------------------------------\"\n courseOutlineId: \"\", // {String} \"----------------------------------\"\n teacherId: \"\", // {String} \"----------------------------------\"\n teacherCode: \"\", // {String} \"----------------------------------\"\n }]\n * @param {Boolean} useState boolean if true method will set state will return data, Default: true\n *\n */\nexport async function addCourseOutlineRegistration(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_COURSEOUTLINEREGISTRATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const courseOutlineRegistrations = [...context.state.courseOutlineRegistrations];\n courseOutlineRegistrations.push(data.addCourseOutlineRegistration);\n context.commit('setCourseOutlineRegistrations', courseOutlineRegistrations);\n context.commit('setSuccess', newItemSuccess(data.addCourseOutlineRegistration.enrollNo));\n\n return data.addCourseOutlineRegistration\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateCourseOutlineRegistration(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_COURSEOUTLINEREGISTRATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n const index = context.state.courseOutlineRegistrations.findIndex(item => item.id === data.updateCourseOutlineRegistration.id);\n const courseOutlineRegistrations = [\n ...context.state.courseOutlineRegistrations.slice(0, index),\n data.updateCourseOutlineRegistration,\n ...context.state.courseOutlineRegistrations.slice(index + 1)\n ];\n context.commit('setCourseOutlineRegistrations', courseOutlineRegistrations);\n context.commit('setSuccess', updateItemSuccess(data.updateCourseOutlineRegistration.enrollNo));\n\n return data.updateCourseOutlineRegistration\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateTeacherCourseOutlineRegistration(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_TEACHER_COURSEOUTLINEREGISTRATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n const index = context.state.courseOutlineRegistrations.findIndex(item => item.id === data.updateTeacherCourseOutlineRegistration.id);\n const courseOutlineRegistrations = [\n ...context.state.courseOutlineRegistrations.slice(0, index),\n data.updateTeacherCourseOutlineRegistration,\n ...context.state.courseOutlineRegistrations.slice(index + 1)\n ];\n context.commit('setCourseOutlineRegistrations', courseOutlineRegistrations);\n context.commit('setSuccess', updateItemSuccess(data.updateTeacherCourseOutlineRegistration.enrollNo));\n\n return data.updateTeacherCourseOutlineRegistration\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\n/**\n * Action to Delete Course Outline Registration\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n * @param {Object} payload Contain requires inputs for adding data\n * @property {ID (String), required} id : \"ID of a Course Outline Registration\"\n *\n */\nexport async function deleteCourseOutlineRegistration(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_COURSEOUTLINEREGISTRATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const index = context.state.courseOutlineRegistrations.findIndex(item => item.id === data.deleteCourseOutlineRegistration.id);\n const courseOutlineRegistrations = [\n ...context.state.courseOutlineRegistrations.slice(0, index),\n ...context.state.courseOutlineRegistrations.slice(index + 1)\n ];\n context.commit('setCourseOutlineRegistrations', courseOutlineRegistrations);\n context.commit('setSuccess', deleteItemSuccess(data.deleteCourseOutlineRegistration.enrollNo));\n\n return data.deleteCourseOutlineRegistration\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nimport {getField, updateField} from \"vuex-map-fields\";\n\nexport default {\n namespaced: true,\n getters: {\n getField,\n ...getters,\n },\n mutations: {\n updateField,\n ...mutations,\n },\n actions,\n state\n};\n\n","export default {\n courseFaqs: [],\n processing: false,\n error: null,\n success: null,\n}\n\n\n\n","export function blankGetters() {\n return;\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport function clearError(state, payload) {\n generic.clearError(state, payload);\n}\n\nexport function setError(state, payload) {\n generic.setError(state, payload);\n}\n\nexport function setSuccess(state, payload) {\n generic.setSuccess(state, payload);\n}\n\nexport function setProcessing(state, payload) {\n generic.setProcessing(state, payload);\n}\n\nexport function setCourseFaqs(state, payload) {\n state.courseFaqs = payload;\n}\n\nexport function purgeCourseFaqs(state) {\n state.courseFaqs = [];\n state.processing = false;\n state.error = null;\n state.success = null;\n}\n","import {apolloClient} from '@/setup/apollo-setup';\nimport {error, newItemSuccess, updateItemSuccess, deleteItemSuccess} from '@/utils/notification';\nimport {\n GET_COURSE_FAQ,\n GET_COURSE_FAQS,\n GET_COURSE_FAQS_BY_FILTER,\n GET_COURSE_FAQS_BY_FILTER_CURRENT_TEACHER,\n ADD_COURSE_FAQ,\n UPDATE_COURSE_FAQ,\n UPDATE_COURSE_FAQ_HIT_COUNT,\n DELETE_COURSE_FAQ,\n} from '../../../../queries/modules/classroom/course-faq';\n\nexport async function getCourseFaqs(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSE_FAQS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setCourseFaqs', data.getCourseFaqs);\n context.commit('setSuccess', null);\n return data.getCourseFAQs\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getCourseFaq(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSE_FAQ,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n context.commit('setSuccess', null);\n return data.getCourseFAQ\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getCourseFaqsByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSE_FAQS_BY_FILTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n context.commit('setCourseFaqs', data.getCourseFAQsByFilter);\n context.commit('setSuccess', null);\n return data.getCourseFAQsByFilter\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getCourseFaqsByFilterCurrentTeacher(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSE_FAQS_BY_FILTER_CURRENT_TEACHER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n context.commit('setCourseFaqs', data.getCourseFAQsByFilterCurrentTeacher);\n context.commit('setSuccess', null);\n return data.getCourseFAQsByFilterCurrentTeacher\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function addCourseFaq(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_COURSE_FAQ,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const courseFaqs = [...context.state.courseFaqs];\n courseFaqs.unshift(data.addCourseFAQ);\n context.commit('setCourseFaqs', courseFaqs);\n context.commit('setSuccess', newItemSuccess(data.addCourseFAQ.question));\n\n return data.addCourseFAQ\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateCourseFaq(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_COURSE_FAQ,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n const index = context.state.courseFaqs.findIndex(item => item.id === data.updateCourseFAQ.id);\n const courseFaqs = [\n ...context.state.courseFaqs.slice(0, index),\n data.updateCourseFAQ,\n ...context.state.courseFaqs.slice(index + 1)\n ];\n context.commit('setCourseFaqs', courseFaqs);\n context.commit('setSuccess', updateItemSuccess(data.updateCourseFAQ.question));\n\n return data.updateCourseFAQ\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateCourseFaqHitCount(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_COURSE_FAQ_HIT_COUNT,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n context.commit('setSuccess', updateItemSuccess(data.updateCourseFAQ.question));\n\n return data.updateCourseFAQHitCount\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function deleteCourseFaq(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_COURSE_FAQ,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const index = context.state.courseFaqs.findIndex(item => item.id === data.deleteCourseFAQ.id);\n const courseFaqs = [\n ...context.state.courseFaqs.slice(0, index),\n ...context.state.courseFaqs.slice(index + 1)\n ];\n context.commit('setCourseFaqs', courseFaqs);\n context.commit('setSuccess', deleteItemSuccess(data.deleteCourseFAQ.question));\n\n return data.deleteCourseFAQ\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nimport {getField, updateField} from \"vuex-map-fields\";\n\nexport default {\n namespaced: true,\n getters: {\n getField,\n ...getters,\n },\n mutations: {\n updateField,\n ...mutations,\n },\n actions,\n state\n};\n\n","export default {\n classSection: {\n id: '',\n courseOutline: null,\n courseOutlineRegistration: null,\n sectionNo: null,\n descriptionLocal: '',\n descriptionEng: '',\n studentRegisterQty: null,\n studentQty: null,\n vdoSet: null,\n vdoSetCode: '',\n startClassDate: null,\n learnSpanNo: null,\n examSpanNo: null,\n classMaterials: [],\n classAssignments: [],\n classRoom: null\n },\n classSections: [],\n processing: false,\n error: null,\n success: null,\n}\n\n\n\n","export function blankGetters() {\n return;\n}\n","import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nexport function clearError(state, payload) {\n generic.clearError(state, payload);\n}\n\nexport function setError(state, payload) {\n generic.setError(state, payload);\n}\n\nexport function setSuccess(state, payload) {\n generic.setSuccess(state, payload);\n}\n\nexport function setProcessing(state, payload) {\n generic.setProcessing(state, payload);\n}\n\nexport function setClassSections(state, payload) {\n state.classSections = payload ? payload : [];\n}\n\nexport function setClassSection(state, payload) {\n state.classSection = payload;\n}\n\nexport function purgeClassSection(state) {\n\n state.classSection.id = \"\";\n state.classSection.courseOutline = null;\n state.classSection.courseOutlineRegistration = null;\n state.classSection.sectionNo = null;\n state.classSection.descriptionLocal = \"\";\n state.classSection.descriptionEng = \"\";\n state.classSection.studentRegisterQty = null;\n state.classSection.studentQty = null;\n state.classSection.vdoSet = null;\n state.classSection.vdoSetCode = \"\";\n state.classSection.startClassDate = null;\n state.classSection.learnSpanNo = null;\n state.classSection.examSpanNo = null;\n state.classSection.classMaterials = [];\n state.classSection.classAssignments = [];\n state.classSection.classRoom = null;\n state.classSections = [];\n}\n","import {apolloClient} from '@/setup/apollo-setup';\nimport {error, newItemSuccess, updateItemSuccess, deleteItemSuccess} from '@/utils/notification';\nimport {\n GET_CLASSSECTION,\n GET_CLASSSECTIONS,\n GET_CLASSSECTIONS_BY_FILTER,\n GET_CLASSSECTIONS_BY_STUDENT_NOT_REGISTER,\n ADD_CLASSSECTION,\n UPDATE_CLASSSECTION,\n DELETE_CLASSSECTION\n} from '../../../../../queries/modules/courses/class-section.js';\n\nexport async function getClassSections(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_CLASSSECTIONS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return context.state.classSection;\n } else {\n context.commit('setClassSections', data.getClassSections);\n context.commit('setSuccess', null);\n return data.getClassSections\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n}\n\nexport async function getClassSectionsByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_CLASSSECTIONS_BY_FILTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setClassSections', data.getClassSectionsByFilter);\n context.commit('setSuccess', null);\n\n return data.getClassSectionsByFilter;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getClassSectionsByStudentNotRegister(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_CLASSSECTIONS_BY_STUDENT_NOT_REGISTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setClassSections', data.getClassSectionsByStudentNotRegister);\n context.commit('setSuccess', null);\n\n return data.getClassSectionsByStudentNotRegister;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getClassSection(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_CLASSSECTION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return context.state.classSection;\n } else {\n context.commit('setClassSection', data.getClassSection);\n context.commit('setSuccess', null);\n return data.getClassSection\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n}\n\n/**\n * Action to Add Course Outline Registration\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n * @param {Object} payload Contain requires inputs for adding data\n * @property {ClassSectionInput (Array), required} classSectionInput : [{\n academicPeriodId: \"\", // {String} Get it from filter selection.\n periodCode: \"\", // {String} Get it from filter selection.\n degreeId: \"\", // {String} Get it from filter selection.\n subjectGroupId: \"\", // {String} Get it from filter selection.\n subjectId: \"\", // {String} Get it from Course Outline Selection.\n subjectCode: \"\", // {String} \"----------------------------------\"\n subjectName: \"\", // {String} \"----------------------------------\"\n courseOutlineId: \"\", // {String} \"----------------------------------\"\n teacherId: \"\", // {String} \"----------------------------------\"\n teacherCode: \"\", // {String} \"----------------------------------\"\n }]\n * @param {Boolean} useState boolean if true method will set state will return data, Default: true\n *\n */\nexport async function addClassSection(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_CLASSSECTION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const classSections = [...context.state.classSections];\n classSections.push(data.addClassSection);\n context.commit('setClassSections', classSections);\n context.commit('setSuccess', newItemSuccess('Section ' + data.addClassSection.sectionNo));\n\n return data.addClassSection\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateClassSection(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_CLASSSECTION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n\n const index = context.state.classSections.findIndex(item => item.id === data.updateClassSection.id);\n const classSections = [\n ...context.state.classSections.slice(0, index),\n data.updateClassSection,\n ...context.state.classSections.slice(index + 1)\n ];\n context.commit('setClassSections', classSections);\n context.commit('setSuccess', updateItemSuccess('Section ' + data.updateClassSection.sectionNo));\n\n return data.updateClassSection\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\n/**\n * Action to Delete Course Outline Registration\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n * @param {Object} payload Contain requires inputs for adding data\n * @property {ID (String), required} id : \"ID of a Course Outline Registration\"\n *\n */\nexport async function deleteClassSection(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_CLASSSECTION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n const index = context.state.classSections.findIndex(item => item.id === data.deleteClassSection.id);\n const classSections = [\n ...context.state.classSections.slice(0, index),\n ...context.state.classSections.slice(index + 1)\n ];\n context.commit('setClassSections', classSections);\n context.commit('setSuccess', deleteItemSuccess('Section ' + data.deleteClassSection.sectionNo));\n\n return data.deleteClassSection\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\n","import state from \"./state\";\nimport * as getters from \"./getters\";\nimport * as mutations from \"./mutations\";\nimport * as actions from \"./actions\";\nimport {getField, updateField} from \"vuex-map-fields\";\n\nexport default {\n namespaced: true,\n getters: {\n getField,\n ...getters,\n },\n mutations: {\n updateField,\n ...mutations,\n },\n actions,\n state\n};\n\n"],"sourceRoot":""}