@genpact/genome.mfe.solidify-app 1.17.2-alpha.180 → 1.17.2-alpha.181
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/SolidifyLearnerDone.css +1 -1
- package/dist/css/SolidifyLearnerSelectTask.css +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,QAAS,KAGbC,MAAML,GACJ,MAAMP,GAAWa,EAAAA,EAAAA,KAAI,IACfX,GAAeW,EAAAA,EAAAA,KAAIC,aAAaC,QAAQ,iB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AO+G,EAAapB,KAC5C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"text-gray-500\"},[_vm._m(0),(_vm.taskAssignmentStrategy === 'Learner to choose task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_vm._m(1),_vm._m(2),_c('li',[_vm._v(\"Remember not to use any client or Genpact confidential materials in your submission.\")]),_c('li',[_vm._v(\"If you select a mobile task (where available), you will need to manually type your submission. If you choose a desktop task you can submit a word, ppt, excel, .txt or video file.\")]),_vm._m(3)]):_vm._e(),(_vm.taskAssignmentStrategy === 'System assigns random task to learner' || _vm.taskAssignmentStrategy === 'System uses task sequence number to assign task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_c('li',[_vm._v(\"Please complete the task below.\")]),_vm._m(4),_vm._m(5)]):_vm._e()]),_c('div',{staticClass:\"lg:flex md:flex block mt-4\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12\"},[_c('table',{staticClass:\"table-auto border-collapse border border-gray-400 w-full\"},[_vm._m(6),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border border-gray-400 text-blue-900\"},[_c('td',{staticClass:\"p-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2\"},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),_c('div',{staticClass:\"pt-6 text-gray-700 lg:w-1/2 md:w-1/2\"},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-2 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('strong',[_vm._v(\"Instructions:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Select \"),_c('strong',[_vm._v(\"one task\")]),_vm._v(\" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task (where available) from the list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task in \"),_c('strong',[_vm._v(\"English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"You must adhere to \"),_c('strong',[_vm._v(\"Genpact's policies around plagiarism\")]),_vm._v(\". You must work on the task by yourself and not copy from anyone or anywhere.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task \"),_c('strong',[_vm._v(\"in English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit \"),_c('strong',[_vm._v(\"must be your own. Do not copy and paste.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border border-gray-400 text-gray-500\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const skillId = ref(props.query.skill_id);\n const profId = ref(props.query.proficiency_id);\n const programId = ref(props.query.program_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = (emailID: string) => {\n const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: props.query.skill_id,\n proficiency_id: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n console.log('inside learner not allowed');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n console.log('learner on hold select task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (props.query.program_id !== 'infinity' && existingRecord.learnerData.learner_status === 'Registered') {\n router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: props.query.program_id } });\n }\n }\n await getTaskData(data);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=818d5cf8&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=818d5cf8&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"818d5cf8\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","taskAssignmentStrategy","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","taskName","taskDesc","email","composing","emailValidationMsg","query","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskname","event","cb","emailValidate","emailID","emailRegexp","isEmailValid","test","console","log","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","router","error","axios","err","response","message","getTaskData","taskData","JSON","stringify","taskresponse","tasks","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","url","$http"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"iNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,QAAS,KAGbC,MAAML,GACJ,MAAMP,GAAWa,EAAAA,EAAAA,KAAI,IACfX,GAAeW,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GAClC,OAAOH,CAAG,EAGNiB,EAAoBzG,MAAO+G,EAAapB,KAC5C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,C","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.png\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=36ac7944&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full\"},[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill)+\" \")]),_c('div',{staticClass:\"my-2 md:order-2 order-1 w-full\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=40792f87&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName}}),_c('div',{staticClass:\"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_c('div',{staticClass:\"text-gray-500\"},[_vm._m(0),(_vm.taskAssignmentStrategy === 'Learner to choose task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_vm._m(1),_vm._m(2),_c('li',[_vm._v(\"Remember not to use any client or Genpact confidential materials in your submission.\")]),_c('li',[_vm._v(\"If you select a mobile task (where available), you will need to manually type your submission. If you choose a desktop task you can submit a word, ppt, excel, .txt or video file.\")]),_vm._m(3)]):_vm._e(),(_vm.taskAssignmentStrategy === 'System assigns random task to learner' || _vm.taskAssignmentStrategy === 'System uses task sequence number to assign task')?_c('ul',{staticClass:\"list-disc pl-8 mt1\"},[_c('li',[_vm._v(\"Please complete the task below.\")]),_vm._m(4),_vm._m(5)]):_vm._e()]),_c('div',{staticClass:\"lg:flex md:flex block mt-4\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"pt-6 lg:w-1/2 md:w-1/2 lg:pr-12 md:pr-12\"},[_c('table',{staticClass:\"table-auto border-collapse border border-gray-400 w-full\"},[_vm._m(6),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border border-gray-400 text-blue-900\"},[_c('td',{staticClass:\"p-2\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name))]),_c('td',{staticClass:\"p-2\"},[_vm._v(_vm._s(task.task_type))])])}),0)])]):_vm._e(),_c('div',{staticClass:\"pt-6 text-gray-700 lg:w-1/2 md:w-1/2\"},[_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('p',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-2\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-2 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter the work email address that we can use to notify you of your progress. If you don't have a Genpact email address, please use the client email or another email that you use.\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border lg:w-2/4 md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-3\"},[_c('strong',[_vm._v(\"Instructions:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Select \"),_c('strong',[_vm._v(\"one task\")]),_vm._v(\" from the list below. If you are working in a client-restricted environment and cannot upload a task, please select a mobile task (where available) from the list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task in \"),_c('strong',[_vm._v(\"English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"You must adhere to \"),_c('strong',[_vm._v(\"Genpact's policies around plagiarism\")]),_vm._v(\". You must work on the task by yourself and not copy from anyone or anywhere.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description and submit your task \"),_c('strong',[_vm._v(\"in English only\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\" Be sure to adhere to Genpact’s Policy around plagiarism. That means do not use any confidential or client materials in your submission. The work you submit \"),_c('strong',[_vm._v(\"must be your own. Do not copy and paste.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border border-gray-400 text-gray-500\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const skillId = ref(props.query.skill_id);\n const profId = ref(props.query.proficiency_id);\n const programId = ref(props.query.program_id);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = (emailID: string) => {\n // const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n // const emailRegexp = /^\\w+([\\.-]?\\w+)*@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n const emailRegexp = /^\\w+([.-]?\\w+)*@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: props.query.skill_id,\n proficiency_id: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n console.log('inside learner not allowed');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n console.log('learner on hold select task');\n router.push({ path: '/solidify', query: { skill_id: skillId.value, proficiency_id: profId.value, program_id: programId.value } });\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (props.query.program_id !== 'infinity' && existingRecord.learnerData.learner_status === 'Registered') {\n router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: props.query.program_id } });\n }\n }\n await getTaskData(data);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=3afed34e&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=3afed34e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3afed34e\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","program","_v","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","taskAssignmentStrategy","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","taskName","taskDesc","email","composing","emailValidationMsg","query","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskname","event","cb","emailValidate","emailID","emailRegexp","isEmailValid","test","console","log","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","router","error","axios","err","response","message","getTaskData","taskData","JSON","stringify","taskresponse","tasks","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","url","$http"],"sourceRoot":""}
|