{"version":3,"sources":["webpack:///./src/store/modules/student-unit-learn/state/index.js","webpack:///./src/store/modules/student-unit-learn/getters/index.js","webpack:///./src/store/modules/student-unit-learn/mutations/index.js","webpack:///./src/store/modules/student-unit-learn/index.js","webpack:///./src/store/modules/student-unittest/actions/index.js","webpack:///./src/store/modules/student-unittest/index.js","webpack:///./src/store/modules/system/system-config/state/index.js","webpack:///./src/store/modules/system/system-config/getters/index.js","webpack:///./src/store/modules/system/system-config/mutations/index.js","webpack:///./src/store/modules/system/system-config/actions/index.js","webpack:///./src/store/modules/system/system-config/index.js","webpack:///./src/store/modules/examination/index.js","webpack:///./src/store/modules/student-assignment/state/index.js","webpack:///./src/store/modules/student-assignment/getters/index.js","webpack:///./src/store/modules/student-assignment/mutations/index.js","webpack:///./src/store/modules/student-assignment/actions/index.js","webpack:///./src/store/modules/student-assignment/index.js","webpack:///./src/store/modules/student-enroll/student-enroll-detail.js","webpack:///./src/store/modules/private-message/state/index.js","webpack:///./src/store/modules/private-message/getters/index.js","webpack:///./src/store/modules/private-message/mutations/index.js","webpack:///./src/store/modules/private-message/actions/index.js","webpack:///./src/store/modules/private-message/index.js","webpack:///./src/store/modules/student/index.js","webpack:///./src/store/modules/student-enroll/index.js","webpack:///./src/store/modules/notification/state/index.js","webpack:///./src/store/modules/notification/getters/index.js","webpack:///./src/store/modules/notification/mutations/index.js","webpack:///./src/store/modules/notification/actions/index.js","webpack:///./src/store/modules/notification/index.js","webpack:///./src/store/modules/student-unit-learn/actions/index.js","webpack:///./src/store/modules/theme.js","webpack:///./src/store/modules/private-message-reply/state/index.js","webpack:///./src/store/modules/private-message-reply/getters/index.js","webpack:///./src/store/modules/private-message-reply/mutations/index.js","webpack:///./src/store/modules/private-message-reply/actions/index.js","webpack:///./src/store/modules/private-message-reply/index.js","webpack:///./src/store/modules/liveclass/state/index.js","webpack:///./src/store/modules/liveclass/getters/index.js","webpack:///./src/store/modules/liveclass/mutations/index.js","webpack:///./src/store/modules/liveclass/actions/index.js","webpack:///./src/store/modules/liveclass/index.js"],"names":["newGetter","state","clearError","payload","generic","setError","setSuccess","setProcessing","namespaced","getters","getField","mutations","updateField","actions","addStudentUnitTest","context","apolloClient","mutate","mutation","ADD_STUDENTUNITTEST","variables","clientName","result","data","status","success","error","message","full","updateStudentUnitTest","UPDATE_STUDENTUNIT_TEST","response","getStudentUnitPretests","query","GET_STUDENT_UNITPRETEST_BYFILTER","getStudentUnitPretestsByFilter","generateStudentUnitPretests","GENERATE_STUDENT_UNITPRETESTS","bulkCreateStudentUnitPretestAnswer","BULKCREATE_STUDENTUNIT_PRETEST_ANSWER","getStudentUnitPosttests","GET_STUDENT_UNITPOSTTEST_BYFILTER","getStudentUnitPosttestsByFilter","generateStudentUnitPosttests","GENERATE_STUDENT_UNITPOSTTESTS","bulkCreateStudentUnitPosttestAnswer","BULKCREATE_STUDENTUNIT_POSTTEST_ANSWER","processing","blankGetters","getSystemConfigWestern","commit","SYSTEM_CONFIG_WESTERN","errors","systemConfigWestern","getSystemConfigNation","SYSTEM_CONFIG_NATION","systemConfigNation","getSystemConfig","SYSTEM_CONFIG","systemConfig","addSystemConfig","ADD_SYSTEM_CONFIG","newItemSuccess","nameLocal","updateSystemConfig","UPDATE_SYSTEM_CONFIG","updateItemSuccess","exams","setExamList","key","purgeExamination","getExamListByFilter","GET_EXAM_LIST_BYFILTER","fetchPolicy","fetch","getExamsByFilter","length","subject","id","teacher","getExamQuestionListByExamId","studentAssignment","classSection","studentEnrollDetail","student","sectionNo","studentCode","remark","studentSendDate","isTeacherReceive","score","dueDate","uploadPath","uploadPathUri","uploadFileName","studentAssignments","setStudentAssignments","setStudentAssignment","purgeStudentAssignment","getStudentAssignments","GET_STUDENTASSIGNMENTS","getStudentAssignmentsByFilter","GET_STUDENTASSIGNMENTS_BY_FILTER","getStudentAssignment","GET_STUDENTASSIGNMENT","addStudentAssignment","ADD_STUDENTASSIGNMENT","updateStudentAssignment","UPDATE_STUDENTASSIGNMENT","index","findIndex","item","slice","code","updateStudentAssignmentTeacherReceive","UPDATE_STUDENTASSIGNMENT_TEACHER_RECEIVE","deleteStudentAssignment","DELETE_STUDENTASSIGNMENT","deleteItemSuccess","uploadStudentAssignment","rsc","JSON","parse","localStorage","getItem","entity","e_code","stage","r_stage","formData","FormData","append","file","fileName","name","substring","lastIndexOf","lastModified","operationName","authorization","app","axios","url","config","uploadFiles","method","headers","getStudentEnrollDetailById","GET_STUDENTENROLLDETAIL_BYID","getStudentEnrollDetail","getStudentEnrollDetailByIdForLearning","GET_STUDENTENROLLDETAIL_BYID_FOR_LEARNING","getStudentEnrollDetailListByStudentEnrollId","GET_STUDENTENROLLDETAIL_LIST_BYSTUDENTENROLLID","getStudentEnrollDetailsByStudentEnrollId","getStudentsInClassSectionByCodeOrName","GET_STUDENT_IN_CLASS_SECTION_BY_CODE_OR_NAME","getTeachersInStudentEnrollByCodeOrNameCurrentUser","GET_TEACHERS_IN_STUDENT_ENROLL_BY_CODE_OR_NAME_CURRENT_USER","getStudentEnrollDetailsByCurrentUser","GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER","getStudentEnrollDetailsByCurrentUserWhileExam","GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER_WHILE_EXAM","privateMessages","privateMessagesSendTo","privateMessagesSendFrom","coursesOfPrivateMessage","setPrivateMessages","setPrivateMessagesSendTo","setPrivateMessagesSendFrom","setCoursesOfPrivateMessage","purgePrivateMessages","getPrivateMessages","GET_PRIVATE_MESSAGES","getPrivateMessage","GET_PRIVATE_MESSAGE","getPrivateMessagesByFilter","GET_PRIVATE_MESSAGES_BY_FILTER","getPrivateMessagesSendToCurrentUser","GET_PRIVATE_MESSAGES_SEND_TO_CURRENT_USER","getPrivateMessagesSendFromCurrentUser","GET_PRIVATE_MESSAGES_SEND_FROM_CURRENT_USER","getCoursesOfPrivateMessageCurrentStudent","GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_STUDENT","getCoursesOfPrivateMessagesCurrentStudent","getCourseOfPrivateMessagesCurrentTeacher","GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_TEACHER","getCoursesOfPrivateMessagesCurrentTeacher","addPrivateMessage","ADD_PRIVATE_MESSAGE","unshift","topic","updatePrivateMessage","UPDATE_PRIVATE_MESSAGE","updatePrivateMessageAlreadyRead","UPDATE_PRIVATE_MESSAGE_ALREADY_READ","deletePrivateMessage","DELETE_PRIVATE_MESSAGE","profile","enroll","enrolldetails","setStudentProfile","setStudentEnroll","log","this","flatmap","setStudentEnrollDetails","studentEnrollDetails","map","removeStudentEnroll","removeStudentEnrollDetails","getStudent","rootState","GET_STUDENT_PROFILE","getStudentByCurrentUser","GET_STUDENT_BY_CURRENT_USER","getStudentById","getStudentEnroll","GET_STUDENT_ENROLL","getStudentEnrollsByStudentId","studentEnroll","GET_STUDENT_ENROLLDETAILS","checkStudentUnitLearn","params","mode","studentUnitLearnCreateSets","Array","bulkCreateStudentUnitLearnSets","studentUnitLearns","courseOutline","courseOutlineRegistration","courseOutlineUnits","vdoSets","vdoSetUnits","createPayload","courseOutlineUnit","Object","prototype","hasOwnProperty","call","seq","courseOutlineUnitId","studentEnrollDetailId","studentEnrollId","unitSeq","totalVdoLength","totalLearnTime","learnPercent","vdoSetUnit","vdoSetUnitId","studentUnitLearn","push","stringify","BULKCREATE_STUDENTUNITLEARN","bulkCreateStudentUnitLearn","updateStudentInformation","UPDATE_STUDENT_INFORMATION","enrollNo","academicPeriodId","periodCode","studentId","enrollDate","totalCredit","totalDropCredit","source","studentEnrolls","setStudentEnrolls","getStudentEnrollsByCurrentUser","GET_STUDENT_ENROLL_BY_CURRENT_USER","getStudentEnrollsById","GET_STUDENT_ENROLL_BYID","getStudentEnrollList","GET_STUDENTENROLL_LIST","getStudentEnrolls","modules","Detail","notifications","setNotifications","purgeNotifications","getNotificationCurrentUser","GET_NOTIFICATION_CURRENT_USER","addStudentTopicLearn","ADD_STUDENT_UNIT_TOPIC_LEARN","addStudentUnitLearnAndTopic","ADD_STUDENT_UNIT_AND_TOPIC_LEARN","updateStudentTopicLearnTime","UPDATE_STUDENT_LEARN_TIME","updateProfile","updateStudentTopicAndUnitLearn","UPDATE_STUDENT_TOPIC_AND_UNIT_LEARN","checkUnsavedLearnTime","localStorageKey","unSavedItems","savedKey","keys","dispatch","removeItem","setItem","updateUnsavedStudentTopicAndUnitLearn","UPDATE_UNSAVED_STUDENT_TOPIC_AND_UNIT_LEARN","updateReviewScore","UPDATE_REVIEW_SOCRE","AppActiveUser","userDefaults","bodyOverlay","isVerticalNavMenuActive","mainLayoutType","themeConfig","navbarSearchAndPinList","reduceButton","sidebarCollapsed","verticalNavMenuWidth","verticalNavMenuItemsMin","scrollY","starredPages","filter","page","is_bookmarked","theme","themePrimaryColor","colors","primary","windowWidth","windowBreakPoint","TOGGLE_IS_VERTICAL_NAV_MENU_ACTIVE","value","TOGGLE_REDUCE_BUTTON","val","UPDATE_MAIN_LAYOUT_TYPE","UPDATE_VERTICAL_NAV_MENU_ITEMS_MIN","UPDATE_VERTICAL_NAV_MENU_WIDTH","width","UPDATE_STARRED_PAGE","splice","ARRANGE_STARRED_PAGES_LIMITED","list","starredPagesMore","concat","ARRANGE_STARRED_PAGES_MORE","downToUp","lastItemInStarredLimited","starredPagesLimited","i","indexOf","TOGGLE_CONTENT_OVERLAY","UPDATE_PRIMARY_COLOR","UPDATE_THEME","UPDATE_WINDOW_WIDTH","UPDATE_WINDOW_SCROLL_Y","UPDATE_USER_INFO","userInfo","property","updateVerticalNavMenuWidth","updateStarredPage","arrangeStarredPagesLimited","arrangeStarredPagesMore","toggleContentOverlay","updateTheme","updateUserInfo","privateMessageReplies","setPrivateMessageReplies","purgePrivateMessageReplies","getPrivateMessageReplies","GET_PRIVATE_MESSAGE_REPLIES","getPrivateMessageReplyReplies","getPrivateMessageReply","GET_PRIVATE_MESSAGE_REPLY","getPrivateMessageRepliesByFilter","GET_PRIVATE_MESSAGE_REPLIES_BY_FILTER","addPrivateMessageReply","ADD_PRIVATE_MESSAGE_REPLY","updatePrivateMessageReply","UPDATE_PRIVATE_MESSAGE_REPLY","webBoardReplies","updatePrivateMessageReplyAlreadyRead","UPDATE_PRIVATE_MESSAGE_REPLY_ALREADY_READ","deletePrivateMessageReply","DELETE_PRIVATE_MESSAGE_REPLY","liveclasses","currentLiveClass","getClassrooms","storeLiveclassSchedules","setLiveClass","purgeLiveClass","getLiveClassSchedules","GET_LIVECLASSSCHEDULES","console","liveclassSchedules","graphQLErrors","serverResponseStatusSet","extensions","getLiveClassSchedulesCurrentUser","GET_LIVECLASSSCHEDULES_CURRENT_USER","viewLiveClass"],"mappings":"6bAAe,KCMR,SAASA,EAAUC,GACxB,OAAOA,E,gBCCF,SAASC,EAAWD,EAAOE,GAChCC,OAAmBH,EAAOE,GAGrB,SAASE,EAASJ,EAAOE,GAC9BC,OAAiBH,EAAOE,GAGnB,SAASG,EAAWL,EAAOE,GAChCC,OAAmBH,EAAOE,GAGrB,SAASI,EAAcN,EAAOE,GACnCC,OAAsBH,EAAOE,G,wmBCfhB,QACbK,YAAY,EACZC,QAAS,EAAF,CACLC,iBACGD,GAELE,UAAW,EAAF,CACPC,oBACGD,GAELE,UACAZ,U,4jBCKWa,EAAkB,yDAAG,WAAOC,EAASZ,GAAhB,oHAGTa,OACpBC,OAAO,CACNC,SAAUC,OACVC,UAAWjB,EACXY,QAAS,CAAEM,WAAY,aAPK,cAGxBC,EAHwB,gBASPA,EATO,uBAStBC,EATsB,EAStBA,KATsB,kBAWvBA,EAAKT,oBAXkB,8DAgBvB,CAAEU,OAAQ,CAAEC,SAAS,EAAOC,OAAO,EAAMC,QAAS,GAAIC,KAAM,EAAF,MAhBnC,0DAAH,wDAoBlBC,EAAqB,yDAAG,WAAOd,EAASZ,GAAhB,oHAIVa,OACtBC,OAAO,CACNC,SAAUY,OACVV,UAAWjB,EACXY,QAAS,CAAEM,WAAY,aARQ,cAI3BU,EAJ2B,gBAUVA,EAVU,uBAUzBR,EAVyB,EAUzBA,KAVyB,kBAa1BA,EAAKM,uBA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port function newGetter(state) {\n return state;\n}\n","/*\n Store module mutations examples\n\n*/\n\n// Boilerplate for generic mutations use in almost any module\nimport * 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\n// Start new mutation here\n// export function newMutation(state, payload) {\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","/* eslint-disable no-unused-vars */\nimport { apolloClient } from \"@/setup/apollo-setup\";\n\nimport {\n ADD_STUDENTUNITTEST,\n GET_STUDENT_UNITPRETEST_BYFILTER,\n GENERATE_STUDENT_UNITPRETESTS,\n BULKCREATE_STUDENTUNIT_PRETEST_ANSWER,\n GET_STUDENT_UNITPOSTTEST_BYFILTER,\n GENERATE_STUDENT_UNITPOSTTESTS,\n BULKCREATE_STUDENTUNIT_POSTTEST_ANSWER,\n UPDATE_STUDENTUNIT_TEST\n} from '@/queries/modules/student-unittest';\n\n/**\n * Action to Add Student Unittest\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport const addStudentUnitTest = async (context, payload) => {\n // context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_STUDENTUNITTEST,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n return data.addStudentUnitTest;\n\n } catch (e) {\n // console.log(e);\n // context.commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n};\n\nexport const updateStudentUnitTest = async (context, payload) => {\n // context.commit('setProcessing', true);\n\n try {\n const response = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENTUNIT_TEST,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await response;\n\n // Result is updated Student Unit Test\n return data.updateStudentUnitTest;\n\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return null;\n }\n};\n\n/**\n * Action to Get Student Unit Pretest (by Student Unit Test ID)\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport const getStudentUnitPretests = async (context, payload) => {\n // context.commit('setProcessing', true);\n try {\n const response = await apolloClient\n .query({\n query: GET_STUDENT_UNITPRETEST_BYFILTER,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await response;\n\n return data.getStudentUnitPretestsByFilter;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return null;\n }\n};\n\nexport const generateStudentUnitPretests = async (context, payload) => {\n // Request for Generating Student Unit Pretests\n try {\n const response = await apolloClient\n .mutate({\n mutation: GENERATE_STUDENT_UNITPRETESTS,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const { data } = await response;\n\n return data.generateStudentUnitPretests;\n\n } catch (e) {\n return null;\n }\n};\n\n/**\n * Action to Bulkly Update Student Unit Pretest Answers (as an array)\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport const bulkCreateStudentUnitPretestAnswer = async (context, payload) => {\n // context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: BULKCREATE_STUDENTUNIT_PRETEST_ANSWER,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n return data.bulkCreateStudentUnitPretestAnswer;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return null\n }\n};\n\n\n/**\n * Action to Get Student Unit Posttest (by Student Unit Test ID)\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport const getStudentUnitPosttests = async (context, payload) => {\n // context.commit('setProcessing', true);\n try {\n const response = await apolloClient\n .query({\n query: GET_STUDENT_UNITPOSTTEST_BYFILTER,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await response;\n\n return data.getStudentUnitPosttestsByFilter;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return null;\n }\n};\n\nexport const generateStudentUnitPosttests = async (context, payload) => {\n // Request for Generating Student Unit Posttests\n try {\n const response = await apolloClient\n .mutate({\n mutation: GENERATE_STUDENT_UNITPOSTTESTS,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const { data } = await response;\n\n return data.generateStudentUnitPosttests;\n } catch (e) {\n return null;\n }\n};\n\n/**\n * Action to Bulkly Update Student Unit Posttest Answers (as an array)\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport const bulkCreateStudentUnitPosttestAnswer = async (context, payload) => {\n // context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: BULKCREATE_STUDENTUNIT_POSTTEST_ANSWER,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n return data.bulkCreateStudentUnitPosttestAnswer;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return null;\n }\n};\n","import * as actions from \"./actions\";\n// import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nconst state = {};\n\nconst getters = {};\n\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n}\n ","export default {\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","import {apolloClient} from '@/setup/apollo-setup';\nimport {error, newItemSuccess, updateItemSuccess} from '@/utils/notification';\nimport {\n SYSTEM_CONFIG_WESTERN,\n SYSTEM_CONFIG_NATION,\n SYSTEM_CONFIG,\n ADD_SYSTEM_CONFIG,\n UPDATE_SYSTEM_CONFIG,\n} from '@/queries/modules/system/system-config';\n\nexport async function getSystemConfigWestern(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: SYSTEM_CONFIG_WESTERN,\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.systemConfigWestern\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getSystemConfigNation(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: SYSTEM_CONFIG_NATION,\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.systemConfigNation\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getSystemConfig(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: SYSTEM_CONFIG,\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.systemConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function addSystemConfig(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_SYSTEM_CONFIG,\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('setSuccess', newItemSuccess(data.addSystemConfig.nameLocal));\n\n return data.addSystemConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateSystemConfig(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_SYSTEM_CONFIG,\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.updateSystemConfig.nameLocal));\n\n return data.updateSystemConfig\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\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","/* eslint-disable no-unused-vars */\nimport { apolloClient } from \"@/setup/apollo-setup\";\n\nimport * as generic from \"@/store/generic/mutations/result-status.js\";\nimport { error } from '@/utils/notification';\n\nimport {\n GET_EXAM_LIST_BYFILTER\n} from '@/queries/modules/examination/exam.js';\n\nconst state = {\n processing: false,\n error: null,\n success: null,\n exams: {}\n};\n\nconst getters = {};\n\nconst mutations = {\n setError: generic.setError,\n setSuccess: (state, payload) => {\n state.error = null;\n state.success = payload;\n state.processing = false;\n },\n setProcessing: generic.setProcessing,\n setExamList: (state, { key, data }) => {\n state.exams[key] = data;\n },\n purgeExamination: (state) => {\n state.processing = false;\n state.error = null;\n state.success = null;\n state.exams = {};\n }\n};\n\nconst actions = {\n\n/**\n * Action to Get Exam List By Filter\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n * @property {Object} payload : //TODO: Write comment\n *\n */\n\n async getExamListByFilter({ commit }, payload) {\n // commit('setProcessing', true);\n try {\n const fetch = await apolloClient\n .query({\n query: GET_EXAM_LIST_BYFILTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const { data } = await fetch;\n // console.log(result);\n\n // TODO: Handle after success;\n const result = { status: { success: true, error: false, message: \"\" }, data: [ ...data.getExamsByFilter ] };\n\n if (result.status.success && result.data.length > 0) {\n commit(\"setExamList\", { data: result.data, key: result.data[0].subject.id + \"--\" + result.data[0].teacher.id });\n }\n return;\n\n } catch (e) {\n commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n\n/**\n * Action to Get Exam List By Filter\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n * @property {Object} payload : //TODO: Write comment\n *\n */\n\n async getExamQuestionListByExamId({ commit }, payload) {\n // commit('setProcessing', true);\n try {\n const fetch = await apolloClient\n .query({\n query: GET_EXAM_LIST_BYFILTER,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const { data } = await fetch;\n\n // TODO: Handle after success;\n const result = { status: { success: true, error: false, message: \"\" }, data: [ ...data.getExamsByFilter ] };\n\n if (result.status.success && result.data.length > 0) {\n commit(\"setExamList\", { data: result.data, key: result.data[0].subject.id + \"--\" + result.data[0].teacher.id });\n }\n return;\n\n } catch (e) {\n commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","export default {\n studentAssignment: {\n id: \"\",\n classSection: null,\n studentAssignment: null,\n studentEnrollDetail: null,\n student: null,\n sectionNo: null,\n studentCode: null,\n remark: null,\n studentSendDate: null,\n isTeacherReceive: null,\n score: null,\n dueDate: null,\n uploadPath: null,\n uploadPathUri: null,\n uploadFileName: null,\n },\n\n studentAssignments: [],\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 setStudentAssignments(state, payload) {\n state.studentAssignments = payload ? payload : [];\n}\n\nexport function setStudentAssignment(state, payload) {\n state.studentAssignment = payload;\n}\n\nexport function purgeStudentAssignment(state) {\n state.studentAssignment.id = \"\";\n state.studentAssignment.classSection = null;\n state.studentAssignment.studentAssignment = null;\n state.studentAssignment.studentEnrollDetail = null;\n state.studentAssignment.student = null;\n state.studentAssignment.sectionNo = null;\n state.studentAssignment.studentCode = null;\n state.studentAssignment.remark = null;\n state.studentAssignment.studentSendDate = null;\n state.studentAssignment.isTeacherReceive = null;\n state.studentAssignment.score = null;\n state.studentAssignment.dueDate = null;\n state.studentAssignment.uploadPath = null;\n state.studentAssignment.uploadPathUri = null;\n state.studentAssignment.uploadFileName = null;\n\n state.studentAssignments = [];\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 axios from \"@/setup/axios-setup\";\nimport {config} from '../../../../utils/upload'\nimport {\n GET_STUDENTASSIGNMENT,\n GET_STUDENTASSIGNMENTS,\n GET_STUDENTASSIGNMENTS_BY_FILTER,\n ADD_STUDENTASSIGNMENT,\n UPDATE_STUDENTASSIGNMENT,\n UPDATE_STUDENTASSIGNMENT_TEACHER_RECEIVE,\n DELETE_STUDENTASSIGNMENT\n} from '../../../../queries/modules/student-assingment/student-assignment.js';\n\nexport async function getStudentAssignments(context) {\n\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTASSIGNMENTS,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n });\n const {data, errors} = await result;\n\n if (errors) {\n context.commit('setError', error(errors));\n return [];\n } else {\n context.commit('setStudentAssignments', data.getStudentAssignments);\n context.commit('setSuccess', null);\n return data.getStudentAssignments\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getStudentAssignmentsByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTASSIGNMENTS_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('setStudentAssignments', data.getStudentAssignmentsByFilter);\n context.commit('setSuccess', null);\n\n return data.getStudentAssignmentsByFilter;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getStudentAssignment(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTASSIGNMENT,\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('setStudentAssignment', data.getStudentAssignment);\n context.commit('setSuccess', null);\n return data.getStudentAssignment\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function addStudentAssignment(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_STUDENTASSIGNMENT,\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 studentAssignments = [...context.state.studentAssignments];\n // studentAssignments.push(data.addStudentAssignment);\n // context.commit('setStudentAssignments', studentAssignments);\n context.commit('setSuccess', newItemSuccess(data.addStudentAssignment.studentCode));\n\n return data.addStudentAssignment;\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateStudentAssignment(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENTASSIGNMENT,\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.studentAssignments.findIndex(item => item.id === data.updateStudentAssignment.id);\n const studentAssignments = [\n ...context.state.studentAssignments.slice(0, index),\n data.updateStudentAssignment,\n ...context.state.studentAssignments.slice(index + 1)\n ];\n context.commit('setStudentAssignments', studentAssignments);\n context.commit('setSuccess', updateItemSuccess(data.updateStudentAssignment.student.code));\n\n return data.updateStudentAssignment\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateStudentAssignmentTeacherReceive(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENTASSIGNMENT_TEACHER_RECEIVE,\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.studentAssignments.findIndex(item => item.id === data.updateStudentAssignmentTeacherReceive.id);\n const studentAssignments = [\n ...context.state.studentAssignments.slice(0, index),\n data.updateStudentAssignment,\n ...context.state.studentAssignments.slice(index + 1)\n ];\n context.commit('setStudentAssignments', studentAssignments);\n context.commit('setSuccess', updateItemSuccess(data.updateStudentAssignmentTeacherReceive.student.code));\n\n return data.updateStudentAssignmentTeacherReceive\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function deleteStudentAssignment(context, payload) {\n context.commit('setProcessing', true);\n\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_STUDENTASSIGNMENT,\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.studentAssignments.findIndex(item => item.id === data.deleteStudentAssignment.id);\n // const studentAssignments = [\n // ...context.state.studentAssignments.slice(0, index),\n // ...context.state.studentAssignments.slice(index + 1)\n // ];\n // context.commit('setStudentAssignments', studentAssignments);\n context.commit('setSuccess', deleteItemSuccess(data.deleteStudentAssignment.studentCode));\n\n return data.deleteStudentAssignment\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function uploadStudentAssignment(context, payload){\n const rsc = JSON.parse(localStorage.getItem(\"rsc\"));\n let entity, stage\n if (rsc) {\n entity = rsc.e_code;\n stage = rsc.r_stage;\n }\n\n\n const formData = new FormData();\n formData.append('file', payload.file);\n formData.append('file1', payload.fileName);\n formData.append('ext', payload.file.name.substring([payload.file.name.lastIndexOf('.') + 1]));\n formData.append('timestamp', payload.file.lastModified);\n formData.append('operationName', payload.operationName);\n // formData.append('stage', payload.stage);\n // formData.append('entity', payload.entity);\n formData.append('stage', stage);\n formData.append('entity', entity);\n formData.append('authorization', payload.authorization);\n formData.append('app', payload.app);\n\n try {\n const result = await axios({\n url: config.url.uploadFiles,\n method: 'post',\n headers: {\n 'content-type': 'multipart/form-data'\n },\n data: formData,\n });\n\n const {data} = await result;\n\n return data;\n } catch (e) {\n // commit('setError', error(e));\n return null;\n }\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","/* eslint-disable no-unused-vars */\nimport { apolloClient } from \"@/setup/apollo-setup\";\n\nimport {\n GET_STUDENTENROLLDETAIL_BYID,\n GET_STUDENTENROLLDETAIL_BYID_FOR_LEARNING,\n GET_STUDENTENROLLDETAIL_LIST_BYSTUDENTENROLLID,\n GET_STUDENT_IN_CLASS_SECTION_BY_CODE_OR_NAME,\n GET_TEACHERS_IN_STUDENT_ENROLL_BY_CODE_OR_NAME_CURRENT_USER,\n GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER,\n GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER_WHILE_EXAM,\n} from '@/queries/modules/student-enroll/student-enroll-detail.js';\nimport {getField, updateField} from \"vuex-map-fields\";\n\nconst state = {\n processing: false,\n error: null,\n success: null,};\n\nconst getters = {\n getField\n};\n\nconst mutations = {\n updateField,\n clearError: (state) => {\n state.error = null;\n },\n setError: (state, payload) => {\n state.error = payload;\n state.success = null;\n state.processing = false;\n },\n setSuccess: (state, payload) => {\n state.error = null;\n state.success = payload;\n state.processing = false;\n },\n setProcessing: (state, payload) => {\n state.processing = payload;\n },\n};\n\nconst actions = {\n\n async getStudentEnrollDetailById({commit}, payload) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTENROLLDETAIL_BYID,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n return data.getStudentEnrollDetail;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n\n async getStudentEnrollDetailByIdForLearning({commit}, payload) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTENROLLDETAIL_BYID_FOR_LEARNING,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n return data.getStudentEnrollDetail;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n\n async getStudentEnrollDetailListByStudentEnrollId({ commit }, payload) {\n // commit('setProcessing', true);\n // console.log(\"id\", payload)\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTENROLLDETAIL_LIST_BYSTUDENTENROLLID,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n //studentEnrollDetailFilterInput\n const { data } = await result;\n\n return { status: { success: true, error: false, message: \"\" }, data: [ ...data.getStudentEnrollDetailsByStudentEnrollId ] };\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async getStudentsInClassSectionByCodeOrName({ commit }, payload) {\n // commit('setProcessing', true);\n // console.log(\"id\", payload)\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_IN_CLASS_SECTION_BY_CODE_OR_NAME,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n return data.getStudentsInClassSectionByCodeOrName;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async getTeachersInStudentEnrollByCodeOrNameCurrentUser({ commit }, payload) {\n // commit('setProcessing', true);\n // console.log(\"id\", payload)\n try {\n const result = await apolloClient\n .query({\n query: GET_TEACHERS_IN_STUDENT_ENROLL_BY_CODE_OR_NAME_CURRENT_USER,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n return data.getTeachersInStudentEnrollByCodeOrNameCurrentUser;\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async getStudentEnrollDetailsByCurrentUser({commit}) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n // commit('setStudentEnrolls', data.getStudentEnrollsByCurrentUser);\n return data.getStudentEnrollDetailsByCurrentUser;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n\n async getStudentEnrollDetailsByCurrentUserWhileExam({commit}) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLL_DETAILS_BY_CURRENT_USER_WHILE_EXAM,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n // commit('setStudentEnrolls', data.getStudentEnrollsByCurrentUser);\n return data.getStudentEnrollDetailsByCurrentUser;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","export default {\n privateMessages: [],\n privateMessagesSendTo: [],\n privateMessagesSendFrom: [],\n coursesOfPrivateMessage: [],\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 setPrivateMessages(state, payload) {\n state.privateMessages = payload;\n}\n\nexport function setPrivateMessagesSendTo(state, payload) {\n state.privateMessagesSendTo = payload;\n}\n\nexport function setPrivateMessagesSendFrom(state, payload) {\n state.privateMessagesSendFrom = payload;\n}\nexport function setCoursesOfPrivateMessage(state, payload) {\n state.coursesOfPrivateMessage = payload;\n}\n\nexport function purgePrivateMessages(state) {\n state.privateMessages = [];\n state.privateMessagesSendTo = [];\n state.privateMessagesSendFrom = [];\n state.coursesOfPrivateMessage = [];\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_PRIVATE_MESSAGE,\n GET_PRIVATE_MESSAGES,\n GET_PRIVATE_MESSAGES_BY_FILTER,\n GET_PRIVATE_MESSAGES_SEND_TO_CURRENT_USER,\n GET_PRIVATE_MESSAGES_SEND_FROM_CURRENT_USER,\n GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_STUDENT,\n GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_TEACHER,\n ADD_PRIVATE_MESSAGE,\n UPDATE_PRIVATE_MESSAGE,\n UPDATE_PRIVATE_MESSAGE_ALREADY_READ,\n DELETE_PRIVATE_MESSAGE,\n} from '../../../../queries/modules/pm/private-message';\n\nexport async function getPrivateMessages(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGES,\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('setPrivateMessages', data.getPrivateMessages);\n context.commit('setSuccess', null);\n return data.getPrivateMessages\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getPrivateMessage(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGE,\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.getPrivateMessage\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getPrivateMessagesByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGES_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('setPrivateMessages', data.getPrivateMessagesByFilter);\n context.commit('setSuccess', null);\n return data.getPrivateMessagesByFilter\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getPrivateMessagesSendToCurrentUser(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGES_SEND_TO_CURRENT_USER,\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('setPrivateMessagesSendTo', data.getPrivateMessagesSendToCurrentUser);\n context.commit('setSuccess', null);\n return data.getPrivateMessagesSendToCurrentUser\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getPrivateMessagesSendFromCurrentUser(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGES_SEND_FROM_CURRENT_USER,\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('setPrivateMessagesSendFrom', data.getPrivateMessagesSendFromCurrentUser);\n context.commit('setSuccess', null);\n return data.getPrivateMessagesSendFromCurrentUser\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getCoursesOfPrivateMessageCurrentStudent(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_STUDENT,\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('setCoursesOfPrivateMessage', data.getCoursesOfPrivateMessagesCurrentStudent);\n context.commit('setSuccess', null);\n return data.getCoursesOfPrivateMessagesCurrentStudent\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getCourseOfPrivateMessagesCurrentTeacher(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_COURSES_OF_PRIVATE_MESSAGES_CURRENT_TEACHER,\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('setCoursesOfPrivateMessage', data.getCoursesOfPrivateMessagesCurrentTeacher);\n context.commit('setSuccess', null);\n return data.getCoursesOfPrivateMessagesCurrentTeacher\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function addPrivateMessage(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_PRIVATE_MESSAGE,\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 privateMessages = [...context.state.privateMessagesSendFrom];\n privateMessages.unshift(data.addPrivateMessage);\n context.commit('setPrivateMessagesSendFrom', privateMessages);\n context.commit('setSuccess', newItemSuccess(data.addPrivateMessage.topic));\n\n return data.addPrivateMessage\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updatePrivateMessage(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_PRIVATE_MESSAGE,\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.privateMessages.findIndex(item => item.id === data.updatePrivateMessage.id);\n const privateMessages = [\n ...context.state.privateMessages.slice(0, index),\n data.updatePrivateMessage,\n ...context.state.privateMessages.slice(index + 1)\n ];\n context.commit('setPrivateMessages', privateMessages);\n context.commit('setSuccess', updateItemSuccess(data.updatePrivateMessage.topic));\n\n return data.updatePrivateMessage\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updatePrivateMessageAlreadyRead(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_PRIVATE_MESSAGE_ALREADY_READ,\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.privateMessages.findIndex(item => item.id === data.updatePrivateMessageAlreadyRead.id);\n const privateMessages = [\n ...context.state.privateMessages.slice(0, index),\n data.updatePrivateMessageAlreadyRead,\n ...context.state.privateMessages.slice(index + 1)\n ];\n context.commit('setPrivateMessages', privateMessages);\n context.commit('setSuccess', updateItemSuccess(data.updatePrivateMessageAlreadyRead.topic));\n\n return data.updatePrivateMessageAlreadyRead\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function deletePrivateMessage(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_PRIVATE_MESSAGE,\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.privateMessages.findIndex(item => item.id === data.deletePrivateMessage.id);\n const privateMessages = [\n ...context.state.privateMessages.slice(0, index),\n ...context.state.privateMessages.slice(index + 1)\n ];\n context.commit('setPrivateMessages', privateMessages);\n context.commit('setSuccess', deleteItemSuccess(data.deletePrivateMessage.topic));\n\n return data.deletePrivateMessage\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","/* eslint-disable no-unused-vars */\nimport { apolloClient } from \"@/setup/apollo-setup\";\n\nimport * as generic from \"@/store/generic/mutations/result-status.js\";\nimport { error } from '@/utils/notification';\nimport { log } from \"@/utils/logs\";\n\nimport {\n GET_STUDENT_PROFILE,\n GET_STUDENT_ENROLL,\n GET_STUDENT_ENROLLDETAILS,\n GET_STUDENT_BY_CURRENT_USER,\n UPDATE_STUDENT_INFORMATION,\n} from '@/queries/modules/student/index.js';\n\nimport {\n BULKCREATE_STUDENTUNITLEARN,\n // ADD_STUDENT_UNIT_TOPIC_LEARN\n} from \"@/queries/modules/student-unit-learn/index.js\";\nimport {getField, updateField} from \"vuex-map-fields\";\n\nconst state = {\n processing: false,\n error: null,\n success: null,\n profile: null,\n enroll: null,\n enrolldetails: [],\n};\n\nconst getters = {\n getField\n};\n\nconst mutations = {\n updateField,\n setError: generic.setError,\n setSuccess: (state, payload) => {\n state.error = null;\n state.success = payload;\n state.processing = false;\n },\n setProcessing: generic.setProcessing,\n setStudentProfile: (state, payload) => {\n state.profile = payload;\n },\n setStudentEnroll: function (state, payload) {\n log(\"MUTATION Student/setStudentEnroll:\", payload);\n\n this.state.flatmap[payload.id] = payload;\n state.enroll = this.state.flatmap[payload.id];\n },\n setStudentEnrollDetails: function (state, studentEnrollDetails) {\n log(\"MUTATION Student/setStudentEnrollDetails:\", studentEnrollDetails);\n\n state.enrolldetails = studentEnrollDetails.map(studentEnrollDetail => {\n this.state.flatmap[studentEnrollDetail.id] = studentEnrollDetail;\n return this.state.flatmap[studentEnrollDetail.id];\n });\n },\n removeStudentEnroll: (state, payload) => {\n state.enroll = null;\n },\n removeStudentEnrollDetails: (state, payload) => {\n state.enrolldetails = [];\n }\n};\n\nconst actions = {\n\n\n async getStudent(context) {\n context.commit('setProcessing', true);\n try {\n const id = context.rootState.profile.id;\n const result = await apolloClient\n .query({\n query: GET_STUDENT_PROFILE,\n variables: {\n id: id\n },\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n // TODO: Handle after success;\n context.commit(\"setStudentProfile\", data.getStudent);\n // return { status: { success: true, error: false, message: \"\" }, data: [ ...data.getExams ] };\n\n } catch (e) {\n context.commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async getStudentByCurrentUser(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_BY_CURRENT_USER,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n // context.commit(\"setStudentProfile\", data.getStudentByCurrentUser);\n\n return data.getStudentByCurrentUser;\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n },\n\n async getStudentById(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_PROFILE,\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.student;\n } else {\n context.commit('setStudent', data.getStudent);\n context.commit('setSuccess', null);\n return data.getStudent\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 async getStudentEnroll(context) {\n context.commit('setProcessing', true);\n\n try {\n\n const id = context.state.profile.student.id;\n\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLL,\n variables: {\n id: id\n },\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n\n context.commit(\"setStudentEnroll\", data.getStudentEnrollsByStudentId[0]);\n\n const studentEnroll = data.getStudentEnrollsByStudentId[0];\n const studentEnrollDetails = studentEnroll.studentEnrollDetails;\n\n context.commit(\"setStudentEnrollDetails\", studentEnrollDetails);\n\n } catch (e) {\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async getStudentEnrollDetailsByStudentEnrollId(context) {\n context.commit('setProcessing', true);\n try {\n const id = context.rootState.profile.id;\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLLDETAILS,\n variables: {\n id: id\n },\n fetchPolicy: \"network-only\",\n context: { clientName: 'Prisma2' }\n })\n const { data } = await result;\n\n // TODO: Handle after success;\n context.commit(\"setStudentEnrollDetails\", data.getStudentEnrollDetailsByStudentEnrollId);\n // return { status: { success: true, error: false, message: \"\" }, data: [ ...data.getExams ] };\n\n } catch (e) {\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n/**\n * Action to Check Student Unit Learn and Create if not exist.\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\n async checkStudentUnitLearn(context, params) {\n const { mode = \"check-only\", studentEnrollDetail } = params;\n // console.log(params);\n\n context.commit('setProcessing', true);\n try {\n let studentUnitLearnCreateSets = new Array();\n let bulkCreateStudentUnitLearnSets = \"[]\";\n\n // if (mode === \"check-only\") {\n // for (let studentEnrollDetail of studentEnrollDetails) {\n // const { studentUnitLearns } = studentEnrollDetail;\n // }\n // }\n\n if (mode === \"check-then-create\") {\n // console.log(\"Check then create\");\n // for (let studentEnrollDetail of studentEnrollDetails) {\n const { studentUnitLearns } = studentEnrollDetail;\n const { courseOutline } = studentEnrollDetail.courseOutlineRegistration;\n const { courseOutlineUnits, vdoSets } = courseOutline;\n const { vdoSetUnits } = vdoSets[0];\n\n if (\n studentUnitLearns.length < courseOutlineUnits.length\n ) {\n // Create Student Unit Learn;\n let createPayload = {\n\n };\n\n // let lackingSequenceList = [];\n // let courseOutlineUnitSequenceList = [];\n\n for (let courseOutlineUnit of courseOutlineUnits) {\n\n if (!Object.prototype.hasOwnProperty.call(createPayload, courseOutlineUnit.seq)) {\n createPayload[courseOutlineUnit.seq] = {};\n }\n\n createPayload[courseOutlineUnit.seq].courseOutlineUnitId = courseOutlineUnit.id;\n\n createPayload[courseOutlineUnit.seq].studentEnrollDetailId = studentEnrollDetail.id;\n\n createPayload[courseOutlineUnit.seq].studentEnrollId = studentEnrollDetail.studentEnroll.id;\n\n createPayload[courseOutlineUnit.seq].unitSeq = courseOutlineUnit.seq;\n\n createPayload[courseOutlineUnit.seq].totalVdoLength = 0;\n\n createPayload[courseOutlineUnit.seq].totalLearnTime = 0;\n\n createPayload[courseOutlineUnit.seq].learnPercent = 0;\n }\n\n for (let vdoSetUnit of vdoSetUnits) {\n if (vdoSetUnit.id) {\n createPayload[vdoSetUnit.unitSeq].vdoSetUnitId = vdoSetUnit.id;\n createPayload[vdoSetUnit.unitSeq].totalVdoLength = vdoSetUnit.totalVdoLength;\n }\n }\n\n // let studentUnitLearnAvailableSequence = [];\n for (let studentUnitLearn of studentUnitLearns) {\n if (Object.prototype.hasOwnProperty.call(createPayload, studentUnitLearn.unitSeq)) {\n if (createPayload[studentUnitLearn.unitSeq].courseOutlineUnitId) {\n // console.log(studentUnitLearn.courseOutlineUnit.id, createPayload[studentUnitLearn.unitSeq].courseOutlineUnit.courseOutlineUnit.id);\n // console.log(studentUnitLearn);\n if (studentUnitLearn.courseOutlineUnit.id === createPayload[studentUnitLearn.unitSeq].courseOutlineUnitId) {\n // console.log(createPayload[studentUnitLearn.unitSeq]);\n delete createPayload[studentUnitLearn.unitSeq];\n }\n }\n }\n // studentUnitLearnAvailableSequence.push(studentUnitLearn.unitSeq);\n // if (!courseOutlineUnitSequenceList.includes(studentUnitLearn.unitSeq)) {\n // lackingSequenceList.push(studentUnitLearn.unitSeq);\n // }\n }\n studentUnitLearnCreateSets.push(createPayload);\n bulkCreateStudentUnitLearnSets = JSON.stringify(studentUnitLearnCreateSets);\n }\n\n // Bulk Creating Student Unit Learn records.\n // console.log(\"ACTION: checkStudentUnitLearn => Bulk Creating Student Unit Learn\")\n\n const result = await apolloClient\n .mutate({\n mutation: BULKCREATE_STUDENTUNITLEARN,\n variables: {\n bulkCreateStudentUnitLearnSets\n },\n context: { clientName: 'Prisma2' }\n });\n\n const { data } = result;\n\n if (data) {\n return data.bulkCreateStudentUnitLearn;\n }\n return [];\n\n // }\n }\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async bulkCreateStudentUnitLearn(context, studentEnrollDetails) {\n // console.log(\"bulkCreateStudentUnitLearn\", studentEnrollDetails.length);\n context.commit('setProcessing', true);\n try {\n let bulkCreateStudentUnitLearnSets = \"[]\";\n\n const result = await apolloClient\n .mutate({\n mutation: BULKCREATE_STUDENTUNITLEARN,\n variables: {\n bulkCreateStudentUnitLearnSets\n },\n context: { clientName: 'Prisma2' }\n })\n\n const { data } = await result;\n // console.log(result);\n return data\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return { status: { success: false, error: true, message: \"\", full: e }};\n }\n },\n\n async updateStudentInformation(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENT_INFORMATION,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n context.commit('false', true);\n if (errors) {\n context.commit('setError', error(errors));\n return null;\n } else {\n return data.updateStudentInformation\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/* eslint-disable no-unused-vars */\nimport {apolloClient} from \"@/setup/apollo-setup\";\n\n// import * as generic from \"@/store/generic/mutations/result-status.js\";\n\nimport Detail from \"./student-enroll-detail.js\";\n\nimport {\n GET_STUDENTENROLL_LIST,\n GET_STUDENT_ENROLL_BY_CURRENT_USER,\n GET_STUDENT_ENROLL_BYID,\n} from '@/queries/modules/student-enroll/student-enroll.js';\nimport {getField, updateField} from \"vuex-map-fields\";\n\nconst state = {\n studentEnroll: {\n id: '',\n enrollNo: '',\n academicPeriodId: '',\n periodCode: '',\n studentId: '',\n studentCode: '',\n enrollDate: '',\n totalCredit: null,\n totalDropCredit: null,\n studentEnrollDetails: [],\n source: '',\n },\n studentEnrolls: [],\n processing: false,\n error: null,\n success: null,\n};\n\nconst getters = {\n getField\n};\n\nconst mutations = {\n updateField,\n clearError: (state) => {\n state.error = null;\n },\n setError: (state, payload) => {\n state.error = payload;\n state.success = null;\n state.processing = false;\n },\n setSuccess: (state, payload) => {\n state.error = null;\n state.success = payload;\n state.processing = false;\n },\n setProcessing: (state, payload) => {\n state.processing = payload;\n },\n setStudentEnroll: (state, payload) => {\n state.studentEnroll = payload;\n },\n setStudentEnrolls: (state, payload) => {\n state.studentEnrolls = payload;\n },\n};\n\nconst actions = {\n\n async getStudentEnrollsByCurrentUser({commit}) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLL_BY_CURRENT_USER,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n // commit('setStudentEnrolls', data.getStudentEnrollsByCurrentUser);\n return data.getStudentEnrollsByCurrentUser;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n async getStudentEnrollsById({commit}, payload) {\n commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENT_ENROLL_BYID,\n variables: payload,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n commit('setProcessing', false);\n // commit('setStudentEnrolls', data.getStudentEnrollsByCurrentUser);\n return data.getStudentEnroll;\n\n } catch (e) {\n commit('setError', e);\n return null;\n }\n },\n async getStudentEnrollList({commit}) {\n // commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_STUDENTENROLL_LIST,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n\n // TODO: Handle after success;\n return {status: {success: true, error: false, message: \"\"}, data: [...data.getStudentEnrolls]};\n\n } catch (e) {\n // console.log(e);\n // commit('setError', error(e));\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations,\n modules: {\n Detail\n }\n}\n","export default {\n notifications: [],\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 setNotifications(state, payload) {\n state.notifications = payload;\n}\n\nexport function purgeNotifications(state) {\n state.notifications = [];\n state.processing = false;\n state.error = null;\n state.success = null;\n}\n","import {apolloClient} from '@/setup/apollo-setup';\nimport {error} from '@/utils/notification';\nimport {\n GET_NOTIFICATION_CURRENT_USER,\n} from '../../../../queries/modules/notification/notification';\n\nexport async function getNotificationCurrentUser(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_NOTIFICATION_CURRENT_USER,\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('setNotifications', data.getNotificationCurrentUser);\n context.commit('setSuccess', null);\n return data.getNotificationCurrentUser\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\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","/*\n Student Unit Test Store module actions\n\n*/\n\n// Import any requires library\nimport { apolloClient } from '@/setup/apollo-setup';\n\n// Import any utility\nimport { error, /* newItemSuccess, */ /* updateItemSuccess, */ /* deleteItemSuccess */ } from '@/utils/notification';\n\n// Import defined GraphQL Query or Mutation\n\nimport {\n ADD_STUDENT_UNIT_TOPIC_LEARN,\n UPDATE_STUDENT_LEARN_TIME,\n ADD_STUDENT_UNIT_AND_TOPIC_LEARN,\n UPDATE_STUDENT_TOPIC_AND_UNIT_LEARN,\n UPDATE_UNSAVED_STUDENT_TOPIC_AND_UNIT_LEARN,\n UPDATE_REVIEW_SOCRE,\n} from '@/queries/modules/student-unit-learn';\n\nexport async function addStudentTopicLearn(context, payload) {\n\n const { commit } = context;\n\n commit('clearError');\n commit('setProcessing', true);\n\n try {\n const response = await apolloClient\n .mutate({\n mutation: ADD_STUDENT_UNIT_TOPIC_LEARN,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n\n const {data} = response;\n\n context.commit('setSuccess', null);\n\n return data.addStudentTopicLearn\n\n } catch (e) {\n\n // console.log(e);\n\n commit('setError', error(e));\n return null;\n\n }\n}\n\nexport async function addStudentUnitLearnAndTopic(context, payload) {\n const { commit } = context;\n\n commit('clearError');\n commit('setProcessing', true);\n try {\n const response = await apolloClient\n .mutate({\n mutation: ADD_STUDENT_UNIT_AND_TOPIC_LEARN,\n variables: payload,\n context: { clientName: 'Prisma2' }\n })\n\n const { data } = response;\n\n context.commit('setSuccess', null);\n\n return data.addStudentUnitLearnAndTopic;\n\n } catch (e) {\n commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateStudentTopicLearnTime(context, payload) {\n const { commit } = context;\n commit('clearError');\n commit('setProcessing', true);\n try {\n const response = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENT_LEARN_TIME,\n variables: payload,\n fetchPolicy: \"no-cache\",\n context: { clientName: 'Prisma2' }\n })\n\n const {data} = response;\n\n context.commit('setSuccess', null);\n\n return data.updateProfile\n\n } catch (e) {\n\n // console.log(e);\n\n commit('setError', error(e));\n return null;\n\n }\n}\n\nexport async function updateStudentTopicAndUnitLearn(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_STUDENT_TOPIC_AND_UNIT_LEARN,\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 return data.updateStudentTopicAndUnitLearn\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function checkUnsavedLearnTime(context) {\n const localStorageKey = 'unsaved_learn_time';\n let unSavedItems = localStorage.getItem(localStorageKey);\n if (unSavedItems) {\n unSavedItems = JSON.parse(unSavedItems);\n let savedKey = [];\n for (let key of Object.keys(unSavedItems)) {\n let payload = unSavedItems[key];\n let result = await context.dispatch('updateUnsavedStudentTopicAndUnitLearn', payload)\n\n if (result) {\n savedKey.push(key);\n delete unSavedItems[key];\n }\n }\n\n //remove saved items from unsaved items\n for (let key of savedKey) {\n delete unSavedItems[key];\n }\n\n //clear or set new unsaved items\n if (Object.keys(unSavedItems).length === 0) {\n localStorage.removeItem(localStorageKey);\n } else {\n localStorage.setItem(localStorageKey, JSON.stringify(unSavedItems));\n }\n\n }\n}\n\nexport async function updateUnsavedStudentTopicAndUnitLearn(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_UNSAVED_STUDENT_TOPIC_AND_UNIT_LEARN,\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 return data.updateUnsavedStudentTopicAndUnitLearn\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updateReviewScore(payload) {\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_REVIEW_SOCRE,\n variables: payload,\n context: { clientName: 'Prisma2' }\n });\n\n const {data, errors} = await result;\n\n if (errors) {\n return null;\n } else {\n\n return data.updateReviewScore\n }\n\n } catch (e) {\n return null;\n }\n}\n\n","import navbarSearchAndPinList from \"@/layouts/components/navbar/navbarSearchAndPinList\";\nimport {userDefaults, themeConfig, colors} from '@/constants/config';\n\nexport default {\n namespaced: true,\n state: {\n AppActiveUser: userDefaults,\n bodyOverlay: false,\n isVerticalNavMenuActive: true,\n mainLayoutType: themeConfig.mainLayoutType || \"vertical\",\n navbarSearchAndPinList: navbarSearchAndPinList,\n reduceButton: themeConfig.sidebarCollapsed,\n verticalNavMenuWidth: \"default\",\n verticalNavMenuItemsMin: false,\n scrollY: 0,\n starredPages: navbarSearchAndPinList[\"pages\"].data.filter((page) => page.is_bookmarked),\n theme: themeConfig.theme || \"light\",\n themePrimaryColor: colors.primary,\n\n // Can be used to get current window with\n // Note: Above breakpoint state is for internal use of sidebar & navbar component\n windowWidth: null,\n },\n getters: {\n // COMPONENT\n // vx-autosuggest\n // starredPages: state => state.navbarSearchAndPinList.data.filter((page) => page.highlightAction),\n windowBreakPoint: state => {\n\n // This should be same as tailwind. So, it stays in sync with tailwind utility classes\n if (state.windowWidth >= 1200) return \"xl\";\n else if (state.windowWidth >= 992) return \"lg\";\n else if (state.windowWidth >= 768) return \"md\";\n else if (state.windowWidth >= 576) return \"sm\";\n else return \"xs\"\n }\n },\n mutations: {\n // /////////////////////////////////////////////\n // COMPONENTS\n // /////////////////////////////////////////////\n\n // Vertical NavMenu\n\n TOGGLE_IS_VERTICAL_NAV_MENU_ACTIVE(state, value) {\n state.isVerticalNavMenuActive = value\n },\n TOGGLE_REDUCE_BUTTON(state, val) {\n state.reduceButton = val\n },\n UPDATE_MAIN_LAYOUT_TYPE(state, val) {\n state.mainLayoutType = val\n },\n UPDATE_VERTICAL_NAV_MENU_ITEMS_MIN(state, val) {\n state.verticalNavMenuItemsMin = val\n },\n UPDATE_VERTICAL_NAV_MENU_WIDTH(state, width) {\n state.verticalNavMenuWidth = width\n },\n\n\n // VxAutoSuggest\n\n UPDATE_STARRED_PAGE(state, payload) {\n\n // find item index in search list state\n const index = state.navbarSearchAndPinList[\"pages\"].data.findIndex((item) => item.url == payload.url);\n\n // update the main list\n state.navbarSearchAndPinList[\"pages\"].data[index].is_bookmarked = payload.val;\n\n // if val is true add it to starred else remove\n if (payload.val) {\n state.starredPages.push(state.navbarSearchAndPinList[\"pages\"].data[index])\n } else {\n // find item index from starred pages\n const index = state.starredPages.findIndex((item) => item.url == payload.url);\n\n // remove item using index\n state.starredPages.splice(index, 1)\n }\n },\n\n // Navbar-Vertical\n\n ARRANGE_STARRED_PAGES_LIMITED(state, list) {\n const starredPagesMore = state.starredPages.slice(10);\n state.starredPages = list.concat(starredPagesMore)\n },\n ARRANGE_STARRED_PAGES_MORE(state, list) {\n let downToUp = false;\n let lastItemInStarredLimited = state.starredPages[10];\n const starredPagesLimited = state.starredPages.slice(0, 10);\n state.starredPages = starredPagesLimited.concat(list);\n\n state.starredPages.slice(0, 10).map((i) => {\n if (list.indexOf(i) > -1) downToUp = true\n });\n\n if (!downToUp) {\n state.starredPages.splice(10, 0, lastItemInStarredLimited)\n }\n },\n\n\n // ////////////////////////////////////////////\n // UI\n // ////////////////////////////////////////////\n\n TOGGLE_CONTENT_OVERLAY(state, val) {\n state.bodyOverlay = val\n },\n UPDATE_PRIMARY_COLOR(state, val) {\n state.themePrimaryColor = val\n },\n UPDATE_THEME(state, val) {\n state.theme = val\n },\n UPDATE_WINDOW_WIDTH(state, width) {\n state.windowWidth = width\n },\n UPDATE_WINDOW_SCROLL_Y(state, val) {\n state.scrollY = val\n },\n\n\n // /////////////////////////////////////////////\n // User/Account\n // /////////////////////////////////////////////\n\n // Updates user info in state and localstorage\n UPDATE_USER_INFO(state, payload) {\n\n // Get Data localStorage\n let userInfo = JSON.parse(localStorage.getItem(\"userInfo\")) || state.AppActiveUser;\n\n for (const property of Object.keys(payload)) {\n\n if (payload[property] != null) {\n // If some of user property is null - user default property defined in state.AppActiveUser\n state.AppActiveUser[property] = payload[property];\n\n // Update key in localStorage\n userInfo[property] = payload[property]\n }\n\n\n }\n // Store data in localStorage\n localStorage.setItem(\"userInfo\", JSON.stringify(userInfo))\n },\n },\n actions: {\n // /////////////////////////////////////////////\n // COMPONENTS\n // /////////////////////////////////////////////\n\n // Vertical NavMenu\n updateVerticalNavMenuWidth({commit}, width) {\n commit('UPDATE_VERTICAL_NAV_MENU_WIDTH', width)\n },\n\n // VxAutoSuggest\n updateStarredPage({commit}, payload) {\n commit('UPDATE_STARRED_PAGE', payload)\n },\n\n // The Navbar\n arrangeStarredPagesLimited({commit}, list) {\n commit('ARRANGE_STARRED_PAGES_LIMITED', list)\n },\n arrangeStarredPagesMore({commit}, list) {\n commit('ARRANGE_STARRED_PAGES_MORE', list)\n },\n\n // /////////////////////////////////////////////\n // UI\n // /////////////////////////////////////////////\n\n toggleContentOverlay({commit}) {\n commit('TOGGLE_CONTENT_OVERLAY')\n },\n updateTheme({commit}, val) {\n commit('UPDATE_THEME', val)\n },\n\n // /////////////////////////////////////////////\n // User/Account\n // /////////////////////////////////////////////\n\n updateUserInfo({commit}, payload) {\n commit('UPDATE_USER_INFO', payload)\n },\n }\n}\n","export default {\n privateMessageReplies: [],\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 setPrivateMessageReplies(state, payload) {\n state.privateMessageReplies = payload;\n}\n\nexport function purgePrivateMessageReplies(state) {\n state.privateMessageReplies = [];\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_PRIVATE_MESSAGE_REPLY,\n GET_PRIVATE_MESSAGE_REPLIES,\n GET_PRIVATE_MESSAGE_REPLIES_BY_FILTER,\n ADD_PRIVATE_MESSAGE_REPLY,\n UPDATE_PRIVATE_MESSAGE_REPLY,\n UPDATE_PRIVATE_MESSAGE_REPLY_ALREADY_READ,\n DELETE_PRIVATE_MESSAGE_REPLY,\n} from '../../../../queries/modules/pm/private-message-reply';\n\nexport async function getPrivateMessageReplies(context) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGE_REPLIES,\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('setPrivateMessageReplies', data.getPrivateMessageReplyReplies);\n context.commit('setSuccess', null);\n return data.getPrivateMessageReplyReplies\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return [];\n }\n}\n\nexport async function getPrivateMessageReply(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGE_REPLY,\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.getPrivateMessageReply\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function getPrivateMessageRepliesByFilter(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .query({\n query: GET_PRIVATE_MESSAGE_REPLIES_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('setPrivateMessageReplies', data.getPrivateMessageRepliesByFilter);\n context.commit('setSuccess', null);\n return data.getPrivateMessageRepliesByFilter\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function addPrivateMessageReply(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: ADD_PRIVATE_MESSAGE_REPLY,\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 webBoardReplies = [...context.state.webBoardReplies];\n // webBoardReplies.unshift(data.addPrivateMessageReply);\n // context.commit('setPrivateMessageReplies', webBoardReplies);\n context.commit('setSuccess', newItemSuccess(data.addPrivateMessageReply.message));\n\n return data.addPrivateMessageReply\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updatePrivateMessageReply(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_PRIVATE_MESSAGE_REPLY,\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.webBoardReplies.findIndex(item => item.id === data.updatePrivateMessageReply.id);\n const webBoardReplies = [\n ...context.state.webBoardReplies.slice(0, index),\n data.updatePrivateMessageReply,\n ...context.state.webBoardReplies.slice(index + 1)\n ];\n context.commit('setPrivateMessageReplies', webBoardReplies);\n context.commit('setSuccess', updateItemSuccess(data.updatePrivateMessageReply.message));\n\n return data.updatePrivateMessageReply\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function updatePrivateMessageReplyAlreadyRead(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: UPDATE_PRIVATE_MESSAGE_REPLY_ALREADY_READ,\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.webBoardReplies.findIndex(item => item.id === data.updatePrivateMessageReplyAlreadyRead.id);\n // const webBoardReplies = [\n // ...context.state.webBoardReplies.slice(0, index),\n // data.updatePrivateMessageReplyAlreadyRead,\n // ...context.state.webBoardReplies.slice(index + 1)\n // ];\n // context.commit('setPrivateMessageReplies', webBoardReplies);\n context.commit('setSuccess', updateItemSuccess(data.updatePrivateMessageReplyAlreadyRead.message));\n\n return data.updatePrivateMessageReplyAlreadyRead\n }\n\n } catch (e) {\n context.commit('setError', error(e));\n return null;\n }\n}\n\nexport async function deletePrivateMessageReply(context, payload) {\n context.commit('setProcessing', true);\n try {\n const result = await apolloClient\n .mutate({\n mutation: DELETE_PRIVATE_MESSAGE_REPLY,\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.webBoardReplies.findIndex(item => item.id === data.deletePrivateMessageReply.id);\n // const webBoardReplies = [\n // ...context.state.webBoardReplies.slice(0, index),\n // ...context.state.webBoardReplies.slice(index + 1)\n // ];\n // context.commit('setPrivateMessageReplies', webBoardReplies);\n context.commit('setSuccess', deleteItemSuccess(data.deletePrivateMessageReply.message));\n\n return data.deletePrivateMessageReply\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 liveclasses: [],\n currentLiveClass: {}\n}\n","export function getClassrooms(state) {\n return state.liveclasses;\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 storeLiveclassSchedules(state, data) {\n state.liveclasses = data;\n}\n\nexport function setLiveClass(state, data) {\n state.currentLiveClass = data;\n}\n\nexport function purgeLiveClass(state) {\n state.liveclasses = [];\n state.currentLiveClass = {};\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_LIVECLASSSCHEDULES,\n GET_LIVECLASSSCHEDULES_CURRENT_USER,\n} from '@/queries/modules/liveclass';\n\n/**\n * Action to Get Live Class Schedules\n *\n * @param {Object} context Vuex context object.\n * @property {Vuex method (Function)} commit : \"To commit a mutation\"\n *\n */\n\nexport async function getLiveClassSchedules(context) {\n const {commit} = context;\n commit('setProcessing', true);\n\n try {\n const result = await apolloClient\n .query({\n query: GET_LIVECLASSSCHEDULES,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data} = await result;\n console.log(result);\n\n const liveclassSchedules = data.getLiveClassSchedules;\n commit(\"storeLiveclassSchedules\", liveclassSchedules);\n\n // TODO: Handle after success;\n return {status: {success: true, error: false, message: \"\"}, data: liveclassSchedules};\n\n } catch (e) {\n if (e.graphQLErrors && e.graphQLErrors.length > 0) {\n commit('setError', serverResponseStatusSet(e.graphQLErrors[0].extensions));\n }\n return {status: {success: false, error: true, message: \"\", full: e}};\n }\n}\n\nexport async function getLiveClassSchedulesCurrentUser(context) {\n const {commit} = context;\n commit('setProcessing', true);\n\n try {\n const result = await apolloClient\n .query({\n query: GET_LIVECLASSSCHEDULES_CURRENT_USER,\n fetchPolicy: 'network-only',\n context: { clientName: 'Prisma2' }\n })\n const {data, error} = await result;\n commit('setProcessing', false);\n\n if (error) {\n commit('setError', error);\n return null;\n }\n\n return data.getLiveClassSchedulesCurrentUser;\n\n } catch (e) {\n commit('setProcessing', false);\n if (e.graphQLErrors && e.graphQLErrors.length > 0) {\n commit('setError', serverResponseStatusSet(e.graphQLErrors[0].extensions));\n }\n return null;\n }\n}\n\nexport async function viewLiveClass(context, payload) {\n const {commit} = context;\n commit(\"setLiveClass\", payload);\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"],"sourceRoot":""}