@genpact/genome.mfe.solidify-app 1.17.2-alpha.201 → 1.17.2-alpha.203
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/SolidifyLearnerPeerReview.css +1 -1
- package/dist/css/SolidifyLearnerProxyReview.css +1 -1
- package/dist/css/SolidifyLearnerSelectTask.css +1 -1
- package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
- package/dist/solidify.css +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js.map +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.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.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.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.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,GAAU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AwBnD,MAAO,CAAE8B,gBAAiBmB,EAAetB,YAAYG,gBAAiBzB,WAAYtE,EAAMiE,MAAMK,qBAGxIuC,EAAYV,E,CAClB,MAAOM,GAEP,GADAlF,EAAYZ,OAAQ,EAChB+F,EAAAA,EAAAA,aAAmBD,GAAQ,CAC7B,MAAME,EAAMF,EAEZ/B,EAAc/D,MAASgG,EAAIC,UAAUT,MAA8BI,O,MAGnE7B,EAAc/D,MAAQ,+DAExBa,EAAiBb,OAAQ,C,KAItB,CACLoB,OAEAJ,YACAD,WACAyC,UACAE,SACA5C,YACAmC,WACAC,WACAtB,aACAuB,QACAE,qBACAQ,gBACAjB,cACAG,WACAe,gBACA9E,eACAqF,gBACAzD,cACAwD,WACAL,gBACAlD,mBACAyD,cACAnD,yBACAF,6BAIJ,IC5OuS,I,UCQrShB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O,sHCXhC,MAAMkG,EAAWpG,MAAO6G,EAAapB,KACnC,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNC,EAAkBvF,MAAO6G,EAAapB,KAC1C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNiB,EAAoBvG,MAAO6G,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),_vm._m(3),_c('li',[_vm._v(\"If you opt for a mobile-friendly task (where available), please type your submission manually and for a desktop task you have the option to upload a Word, PowerPoint, Excel, .txt, or video file.\")]),_vm._m(4)]):_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(5),_vm._m(6)]):_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(7),_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-8\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Please provide your Genpact email address (alternatively, your client or preferred email address) to receive updates about your progress.\")]),_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(\"Choose \"),_c('strong',[_vm._v(\"a task\")]),_vm._v(\" from the list below. If you are operating in a client-restricted environment, kindly opt for a mobile friendly task (if available) from the provided list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description thoroughly and ensure that your task submission is in \"),_c('strong',[_vm._v(\"English exclusively\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Please refrain from including any \"),_c('strong',[_vm._v(\"confidential details, such as client names or logos\")]),_vm._v(\", in your submission.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Kindly adhere to Genpact’s policies on \"),_c('strong',[_vm._v(\"Plagiarism\")]),_vm._v(\" and ensure that the task is submitted in your own words (\"),_c('strong',[_vm._v(\"No Copying-pasting\")]),_vm._v(\" from another sources).\")])\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 = async (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 = await 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 console.log(createRes.message);\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=1c5c5318&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=1c5c5318&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 \"1c5c5318\",\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","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","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,EAAAA,EAAAA,KAAIC,aAAaC,QAAQ,iBAI9C,OAHAC,EAAAA,EAAAA,gBAAcC,UACZjB,E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kBvF,MAAO6G,EAAapB,KAC1C,MAAMH,QAAYwB,EAAAA,EAAAA,KAAWD,EAAKpB,GAClC,OAAOH,CAAG,EAGNiB,EAAoBvG,MAAO6G,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),_vm._m(3),_c('li',[_vm._v(\"If you select a mobile friendly task (if available), please type your submission manually, whereas, for a desktop task you can upload Word, PowerPoint, Excel, .txt, or video file.\")]),_vm._m(4)]):_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(5),_vm._m(6)]):_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(7),_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-8\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Please provide your Genpact email address (alternatively, your client or preferred email address) to receive updates about your progress.\")]),_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(\"Choose \"),_c('strong',[_vm._v(\"a task\")]),_vm._v(\" from the list below. If you are operating in a client-restricted environment, kindly opt for a mobile friendly task (if available) from the provided list.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Read the task description thoroughly and ensure that your task submission is in \"),_c('strong',[_vm._v(\"English exclusively\")]),_vm._v(\".\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Please refrain from including any \"),_c('strong',[_vm._v(\"confidential details, such as client names or logos\")]),_vm._v(\", in your submission.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('li',[_vm._v(\"Kindly adhere to Genpact’s policies on \"),_c('strong',[_vm._v(\"Plagiarism\")]),_vm._v(\" and ensure that the task is submitted in your own words (\"),_c('strong',[_vm._v(\"No Copying-pasting\")]),_vm._v(\" from another sources).\")])\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 = async (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 = await 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 console.log(createRes.message);\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=337da9ff&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=337da9ff&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 \"337da9ff\",\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","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","taskresponse","tasks","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","url","$http"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[612],{4735:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-16 px-32"},[a("div",{staticClass:"md:px-0 lg:px-0 text-center"},[a("div",{staticClass:"text-gray-500"},[a("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),a("div",{staticClass:"pt-8"},[a("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[a("img",{staticClass:"mx-auto",attrs:{src:t(6540)}})])])])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const a=(0,r.ref)(""),t=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{a.value=e.errorMessage})),{errorMsg:a,helpmateLink:t}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5316:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[a("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?a("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),a("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[a("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const a=localStorage.getItem("userName")||"Learner";e.value=a.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},7444:function(e,a,t){t.r(a),t.d(a,{default:function(){return h}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-12"},[a("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?a("li",[e._v("Peer Reviews")]):e._e(),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])]),a("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[a("div",{staticClass:"block mt-4 mb-4"},[e.submissionError?a("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.submissionError)+" ")]):e._e(),a("div",{staticClass:"text-gray-600"},[a("div",["infinity"!==e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, click "),a("strong",[e._v("Submit")]),e._v(". ")]):e._e(),"infinity"===e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. After uploading, click "),a("strong",[e._v("Submit")]),e._v(" to proceed for peer reviews. ")]):e._e(),"Desktop"===e.taskType?a("p",{staticClass:"pt-2"},[e._v(" You can only submit your submission, either in "),a("strong",[e._v("Word, PDF, PPT, Excel, .txt, or video format")]),e._v(", with a maximum file size of "),a("strong",[e._v("200MB")]),e._v("(Large file may take more time to upload, please be patient and avoid refreshing the page. ")]):e._e(),"Mobile"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by typing it into in the text box below, then click on 'Submit'. Also, ensure your task submission is within a 500-word limit, and is over 100 words. If you would like to attach a video, you can do so by sending a link to where the video is hosted. ")]):e._e(),e._m(0),e._m(1)]),a("div",{staticClass:"mt-4"},[a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(2),a("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?a("div",{staticClass:"mt-4"},["infinity"===e.programId?a("p",[e._v("If you prefer not to proceed with this task, you can select a different one by clicking "),a("strong",[e._v("Select Different Task")]),e._v(".")]):e._e(),"infinity"!==e.programId?a("p",{staticClass:"pt-2"},[e._v("Upload the file you created for this then click "),a("strong",[e._v("Submit")]),e._v(" to continue.")]):e._e(),a("div",{staticClass:"flex items-center gap-2 pt-2",staticStyle:{"max-width":"250px"}},[a("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:e.selectedFile}}),e.learnerSubmission?a("x-icon",{attrs:{size:"1.5x"},on:{click:function(a){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?a("div",{staticClass:"pt-12"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{keyup:function(a){return e.checkQuestionLength(e.learnerSubmission)},input:function(a){a.target.composing||(e.learnerSubmission=a.target.value)}}}),a("div",[e.questionWordCount<100?a("div",{staticClass:"text-red-700"},[e._v("(Minimum 100 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])]):e._e(),e.fileValidationMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e(),e._m(3),e.checkForPlagiarismProgramLevel&&e.checkForPlagiarismTaskLevel?a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that the task submission is solely my own work, derived from personal study/research, and any content taken from the internet has been referenced. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check1")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check1",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that the task submission does not incorporate any client/Genpact’s confidential materials. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check2")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check2",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I've checked my submission on popular plagiarism detection sites like "),e._m(4),e._v(" and found no significant plagiarism")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check3")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check3",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I affirm the originality of the submission and confirm that it has not been copied from anyone or anywhere, including the work submitted by my colleagues/team members. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check4",value:"check4"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check4")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check4",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v("I acknowledge that plagiarism constitutes an infringement on others' work and is a violation of the Genpact's code of conduct. Such actions may result in unsuccessful completion of Solidify and/or disciplinary action. ")])])]),a("li",[e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])]),a("div",{staticClass:"mt-4"},[e._m(5),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[e._v("If you prefer to start your Solidify journey afresh, click on "),a("strong",[e._v("Restart Solidify")]),e._v(".")]):e._e()])]):a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])])]),a("div",{staticClass:"block text-center pt-2"},[e._m(6),a("div",{staticClass:"mb-4 text-center"},["infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:e.switchTask}},[e._v(" Select Different Task ")]):e._e(),a("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),"infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:function(a){return e.restart()}}},[e._v(" Restart Solidify ")]):e._e()])])])],1)])],e.showErrorMessage?a("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():a("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[a("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:t(9756),alt:"Loader Gif"}}),a("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[e._v(" Ensure the submission reflects you individual learnings and kindle adhere to Genpact's policies on "),a("strong",[e._v("Plagiarism")]),e._v(" and ensure that the task is submitted in your own words("),a("strong",[e._v(" No Copying-pasting from other sources")]),e._v("). ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Note: ")]),e._v("Ensure your submission is in English")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-2"},[a("p",{staticClass:"pt-2"},[e._v("When submitting a task, certify that your work adheres to the following guidelines:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",[e._v(" Kindly watch this "),a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9df055db-c09e-4e2a-843e-a5b950003d89",target:"blank"}},[e._v("video")])]),e._v(" to understand the importance of originality in your submissions and to gain insights into the concept of plagiarism . ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],r=(t(7658),t(7203)),l=t(4856),n=t(568),o=t(4654),c=t(306),u=t(4735),m=t(5316),d=t(2339),p=(0,r.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:l.b0D,ErrorMessage:u.Z,Greetings:m.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const a=(0,r.ref)(),t=(0,r.ref)(e.query.learner_task_id),s=(0,r.ref)(localStorage.getItem("programId")),i=(0,r.ref)(localStorage.getItem("skillId")),l=(0,r.ref)(localStorage.getItem("profId")),u=(0,r.ref)(localStorage.getItem("skillName")),m=(0,r.ref)(localStorage.getItem("proficiency")),p=(0,r.ref)(localStorage.getItem("helpmateLink")),v=(0,r.ref)(),g=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),y=(0,r.ref)(!1),k=(0,r.ref)(null),_=(0,r.ref)(),x=(0,r.ref)(),w=(0,r.ref)(),A=(0,r.ref)(!0),C=(0,r.ref)([]),S=(0,r.ref)(),I=(0,r.ref)(),L=(0,r.ref)(0),P=(0,r.ref)(),T=(0,r.ref)(!1),Z=(0,r.ref)(),M=(0,r.ref)(!1),R=(0,r.ref)(),D=(0,r.ref)(),E=(0,r.ref)(),U=(0,r.ref)(0),G=(0,r.ref)(""),N=e=>{U.value=e.split(" ").filter((e=>""!==e)).length,A.value=U.value<100},J=async()=>{L.value+=1,console.log(`before ${x.value}`),x.value=null,A.value=!0,console.log(`after ${x.value}`)},W=async e=>{try{if(k.value=e.target.files[0],k.value){x.value=e.target.files[0].name;const a=e.target.files[0].size/1024/1024;k.value&&(A.value=!1),a>200&&(_.value="Uploaded filesize is greater than 200 MB",setTimeout((()=>{_.value=null}),6e3),A.value=!0)}}catch(a){if(console.log(a),T.value=!0,c.Z.isAxiosError(a)){const e=a;Z.value=e.response?.data?.message}else Z.value="Something went wrong, please contact helpmate.";M.value=!0}},j=async()=>{try{if(T.value=!1,console.log("plagiarismcb",C),y.value&&b.value&&5!==C.value.length)return T.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if((!y.value||!b.value)&&1!==C.value.length)return T.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if(x.value){const e={learner_submission:x.value.trim(),learner_task_id:t.value,skill:i.value,proficiency:l.value,linked_program_name:s.value,task_type:f.value,linked_task_id:a.value,assinged_reviewer_count:0};let r;if("Desktop"===f.value){const a=await(0,n.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:x.value,learner_task_id:t.value}),s=a.data;w.value=s.preSignedUrl;const i=await(0,n.sc)(w.value,k.value);200===i.status?r=await(0,n.rC)("/v1/uploadLearnerSubmission",e):(T.value=!0,Z.value="There is issue in the file upload, please contact with helpmate.",M.value=!0)}else r=await(0,n.rC)("/v1/uploadLearnerSubmission",e);200===r.status?(console.log(r),"Please upload non empty file"===r.data.message?(G.value="The submission does not meet the minimum task word limit of 100 words. Please upload a valid submission.",J(),setTimeout((()=>{G.value=""}),6e3),T.value=!0):d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:e.learner_task_id}}),"Learner on hold"===r.data.message&&(console.log("learner on hold submit task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}}))):(T.value=!0,Z.value="There is some issue while submitting learner submission, please contact with helpmate.",M.value=!0)}else"Mobile"===f.value?(T.value=!0,x.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{_.value=null}),6e3))):"Desktop"===f.value&&(T.value=!0,console.log(`learnerSubmission.value ${x.value}`),x.value||(_.value="please select File",setTimeout((()=>{_.value=null}),6e3)))}catch(e){if(T.value=!0,console.log(`error ${e}`),c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is some issue while submitting learner submission, please contact with helpmate.";M.value=!0}},z=async()=>{try{T.value=!1,console.log("Learner Status",P.value),"Registered"!==P.value?(T.value=!0,console.log(`inside if ${P.value}`),Z.value="Learner Status is not registered.",M.value=!0):d.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})}catch(e){if(T.value=!0,c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue with the switching, please contact with helpmate.";M.value=!0}},F=async()=>{try{if(T.value=!1,"Registered"!==P.value)T.value=!0,Z.value="Learner Status is not registered.",M.value=!0;else{const e=await(0,n.ie)("/v1/restartLearnerJourney",t.value);console.log("restartLearnerJourney",e);const a='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/my-plan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';e?(localStorage.setItem("message",a),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(T.value=!0,Z.value="There is an issue in the restart Journey, please contact helpmate.",M.value=!0)}}catch(e){if(T.value=!0,console.log(e),c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue in the restart Journey, please contact with helpmate.";M.value=!0}},q=e=>{T.value=!1,console.log(`task data ${JSON.stringify(e)}`);const t=e;T.value=!0,t?(a.value=t.task_id,f.value=t.task_type,v.value=t.task_name,g.value=t.description,i.value=t.skill,l.value=t.proficiency,h.value=t.linked_task_group,b.value=!0===t.checkForPlagiarism):(Z.value="There is an issue to fetch task, please contact helpmate.",M.value=!0)};return(0,r.onBeforeMount)((async()=>{try{T.value=!1,R.value=localStorage.getItem("programName"),E.value=localStorage.getItem("reviewerAssignmentStrategy"),D.value=localStorage.getItem("taskAssignmentStrategy");const e=await(0,o.zn)("/learner/journey/stat",{skill:i.value,proficiency:l.value,program_id:s.value}),a=e.data;q(a.taskDetails),y.value=!0===a.program_details.plagiarism_enabled,T.value=!0,a.learnerData&&(a.learnerData.technical_hold&&(console.log("learner on hold select task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})),console.log(`learner Data value ${JSON.stringify(a.learnerData)}`),console.log(`learnerStatus value ${a.learnerData.learner_status}`),P.value=a.learnerData.learner_status,t.value=a.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===a.learnerData.learner_status||"Need Reviewee"===a.learnerData.learner_status?d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:a.learnerData.learner_task_id}}):"Need Reviewer"!==a.learnerData.learner_status&&"Passed"!==a.learnerData.learner_status||d.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:t.value}}))}catch(e){if(T.value=!0,c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue to fetch existing record, please contact with helpmate.";M.value=!0}})),{learnerSubmissionFile:k,skillName:u,profName:m,skillId:i,proficiencyId:l,programId:s,taskType:f,taskName:v,taskDesc:g,linkedTask:h,submitSubmiision:j,learnerSubmission:x,selectedFile:W,fileValidationMsg:_,restart:F,switchTask:z,learnerTaskId:t,preSignedUrl:w,buttonDisable:A,validationError:S,clearFile:J,fileInputKey:L,helpmateLink:p,learnerStatus:P,renderReady:T,errorResponse:Z,showErrorMessage:M,plagiarismcb:C,palgiarismErrorMsg:I,programName:R,taskAssignmentStrategy:D,reviewerAssignmentStrategy:E,checkForPlagiarismTaskLevel:b,checkForPlagiarismProgramLevel:y,checkQuestionLength:N,questionWordCount:U,submissionError:G}}}),v=p,g=t(1001),f=(0,g.Z)(v,s,i,!1,null,"4349224a",null),h=f.exports},568:function(e,a,t){t.d(a,{ie:function(){return n},rC:function(){return o},sc:function(){return r},ux:function(){return i},yW:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{let t;const s=await fetch(`${e}`,{method:"put",body:a});return t=s,t},l=async e=>{const a=await s.Z.get(`/task/${e}`);return a},n=async(e,a)=>{const t=await s.Z.post(e,{learner_task_id:a});return t},o=async(e,a)=>{const t=await s.Z.post(e,a);return t}},4654:function(e,a,t){t.d(a,{hZ:function(){return r},n2:function(){return i},zn:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{const t=await s.Z.post(e,a);return t},l=async(e,a)=>{const t=await s.Z.post(e,a);return t}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9rrxFtL/8biz9fy2sbdSF7RxlJpCsnU4wDrLY7n1AlPDgWEEhQWyNaV+zlW3kKHHJ8q9ZUkciUticxOecJMWU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q8Z1th7v+CTCb0tGAKIl96ALt+UV4LXSWjwLbPvaGqa2etAtHWRxWQH7wceY55zL2aY80aRw+7oFDqZbzfu586F8sxwapivDCzi2YqO9MSYwUwI6fR1qtEAdnN6Tdp5HmLERab2fsElUlT9aP+Rlg9wk/6M4Rv3iScjVkZlzjjJMzh3If0jNQzoU1+1gZkk5qjgZ1TghfzNzAmtgy6vsEMMU6fu2uJjU3n9Rribi7nyHggUi2di0XNq3nPZ8sMjR5JMZG4+JzieiWYdpLU1Ee8OJ0Yg7Xs9MI8L2IW1A+dfV5HDl2mLnKdHTyuavzRhC2RxzZJn5wVY1tou0xT1MPLFpAuZiG5BsvQIgG40KigGeLtHYHUkgWUowAppLXjz0BeQZYPw2ZKbh/HUdkspq46Cg8b1bR3Ge8a22aeE6EJRF7TU1Ucjz+buG4JBdSM/CAmK3rmOkQx1X1daJUiURWGUvdQFsF/httmOWcTII6ncj4NBJrjTsTI900VGTgdymO8PgkQpPzKRXpO9SoJSI2AWVSCfe65LfCHTquJF1FGa5Gc9/8c+EUAzNYQFMJxxQbbXjKcVaF5BEpSqHYu1RizrDuG4F9O/Xrc/FatZKPrjWJA4CJRsReVpbCyc/WseZWl/g5WI6mFthENkAczb5xYgY/F2BD9OjvcD1SRfDt+zSYbH+G5qNdV0xKZCwRZQ00P/kLxZTLMoH9Lz+nDJuOmlxg1heYZmtSgT3oG8SpqglPXbNZ/o+4RmWXJe0sk6dJBWaV+bICm2ayAptmsgKbZpoY2PtWYJaoGe9NAOx1AUxbbXzjY5XlaMbcjeMD+9I9nHdXHuLdT77iV59abQme+fEBVth709P35NHLY2At7V3cLKzkWo7Wagtxal45dQ9bGRl58j+Dx8Csmh6yAptWgv8CbZkYUSkpBpcAAAAASUVORK5CYII="}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[612],{4735:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-16 px-32"},[a("div",{staticClass:"md:px-0 lg:px-0 text-center"},[a("div",{staticClass:"text-gray-500"},[a("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),a("div",{staticClass:"pt-8"},[a("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[a("img",{staticClass:"mx-auto",attrs:{src:t(6540)}})])])])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const a=(0,r.ref)(""),t=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{a.value=e.errorMessage})),{errorMsg:a,helpmateLink:t}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5316:function(e,a,t){t.d(a,{Z:function(){return u}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[a("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?a("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),a("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[a("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=t(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const a=localStorage.getItem("userName")||"Learner";e.value=a.split(",").reverse().join(" ")})),{username:e}}}),n=l,o=t(1001),c=(0,o.Z)(n,s,i,!1,null,null,null),u=c.exports},5970:function(e,a,t){t.r(a),t.d(a,{default:function(){return h}});var s=function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[a("div",{staticClass:"flex"},[a("div",{staticClass:"w-full pt-12"},[a("Greetings",{attrs:{program:e.programId,proficiency:e.profName,skill:e.skillName}}),a("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[a("div",{staticClass:"ul-nav w-full"},[a("ul",[a("li",{staticClass:"active"},[e._v("Home")]),a("li",{staticClass:"active"},[e._v("Task")]),a("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?a("li",[e._v("Peer Reviews")]):e._e(),a("li",[e._v("Under Review")]),a("li",[e._v("Done!")])])])]),a("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[a("div",{staticClass:"block mt-4 mb-4"},[e.submissionError?a("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.submissionError)+" ")]):e._e(),a("div",{staticClass:"text-gray-600"},[a("div",["infinity"!==e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. Once the task has been uploaded, click "),a("strong",[e._v("Submit")]),e._v(". ")]):e._e(),"infinity"===e.programName&&"Desktop"===e.taskType?a("p",{staticClass:"pt-3"},[e._v(" Please submit your task by uploading it via the "),a("strong",[e._v("Choose File")]),e._v(" button. After uploading, click "),a("strong",[e._v("Submit")]),e._v(" to proceed for peer reviews. ")]):e._e(),"Desktop"===e.taskType?a("p",{staticClass:"pt-2"},[e._v(" You can submit your submission, either in "),a("strong",[e._v("Word, PDF, PPT, Excel, .txt or video format")]),e._v(", with a maximum file size of "),a("strong",[e._v("200MB")]),e._v("(Large file may take more time to upload, so please be patient and avoid refreshing the page. ")]):e._e(),"Mobile"===e.taskType?a("p",{staticClass:"pt-3"},[e._v('Please submit your task by typing it into the text box provided (Word limit within 150-500 words) and then click "Submit" to proceed for peer reviews.')]):e._e(),e._m(0),e._m(1)]),a("div",{staticClass:"mt-4"},[a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))]),e._m(2),a("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.taskDesc)}})]),"Desktop"===e.taskType?a("div",{staticClass:"mt-4"},["infinity"===e.programId?a("p",[e._v("If you prefer not to proceed with this task, you can select a different one by clicking "),a("strong",[e._v("Select Different Task")]),e._v(".")]):e._e(),"infinity"!==e.programId?a("p",{staticClass:"pt-2"},[e._v("Upload the file you created for this then click "),a("strong",[e._v("Submit")]),e._v(" to continue.")]):e._e(),a("div",{staticClass:"flex items-center gap-2 pt-2",staticStyle:{"max-width":"250px"}},[a("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:e.selectedFile}}),e.learnerSubmission?a("x-icon",{attrs:{size:"1.5x"},on:{click:function(a){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?a("div",{staticClass:"pt-12"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{keyup:function(a){return e.checkQuestionLength(e.learnerSubmission)},input:function(a){a.target.composing||(e.learnerSubmission=a.target.value)}}}),a("div",[e.questionWordCount<100?a("div",{staticClass:"text-red-700"},[e._v("(Minimum 100 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])]):e._e(),e.fileValidationMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e(),e._m(3),e.checkForPlagiarismProgramLevel&&e.checkForPlagiarismTaskLevel?a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that the task submission is solely my own work, derived from personal study/research, and any content taken from the internet has been referenced. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check1")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check1",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that the task submission does not incorporate any client/Genpact’s confidential materials. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check2")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check2",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I've checked my submission on popular plagiarism detection sites like "),e._m(4),e._v(" and found no significant plagiarism")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check3")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check3",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I affirm the originality of the submission and confirm that it has not been copied from anyone or anywhere, including the work submitted by my colleagues/team members. ")])])]),a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check4",value:"check4"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check4")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check4",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v("I acknowledge that plagiarism constitutes an infringement on others' work and is a violation of the Genpact's code of conduct. Such actions may result in unsuccessful completion of Solidify and/or disciplinary action. ")])])]),a("li",[e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])]),a("div",{staticClass:"mt-4"},[e._m(5),"infinity"===e.programId?a("p",{staticClass:"pt-2"},[e._v("If you prefer to start your Solidify journey afresh, click on "),a("strong",[e._v("Restart Solidify")]),e._v(".")]):e._e()])]):a("div",[a("ul",{staticClass:"pt-2 pl-8"},[a("li",[a("div",{staticClass:"mt-3"},[a("label",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(e.plagiarismcb)?e._i(e.plagiarismcb,"check0")>-1:e.plagiarismcb},on:{change:function(a){var t=e.plagiarismcb,s=a.target,i=!!s.checked;if(Array.isArray(t)){var r="check0",l=e._i(t,r);s.checked?l<0&&(e.plagiarismcb=t.concat([r])):l>-1&&(e.plagiarismcb=t.slice(0,l).concat(t.slice(l+1)))}else e.plagiarismcb=i}}}),e._v(" "),a("span",{staticClass:"text-red-700 font-bold ml-1"},[e._v("*")]),e._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),e.palgiarismErrorMsg?a("span",{staticClass:"text-red-700"},[e._v(e._s(e.palgiarismErrorMsg))]):e._e()])])]),a("div",{staticClass:"block text-center pt-2"},[e._m(6),a("div",{staticClass:"mb-4 text-center"},["infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:e.switchTask}},[e._v(" Select Different Task ")]):e._e(),a("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.submitSubmiision}},[e._v(" Submit Task ")]),"infinity"===e.programId?a("button",{staticClass:"inline-block mt-2 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",on:{click:function(a){return e.restart()}}},[e._v(" Restart Solidify ")]):e._e()])])])],1)])],e.showErrorMessage?a("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():a("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[a("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:t(9756),alt:"Loader Gif"}}),a("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},i=[function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[e._v(" Please ensure the submission reflects you individual learnings and kindly adhere to Genpact's policies on "),a("strong",[e._v("Plagiarism")]),e._v(", submitting the task in your own words("),a("strong",[e._v(" No Copying-pasting from other sources")]),e._v("). ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Note: ")]),e._v("The task submission must be in English exclusively.")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",{staticClass:"pt-2"},[a("strong",[e._v("Task Description:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",{staticClass:"pt-2"},[a("p",{staticClass:"pt-2"},[e._v("When submitting a task, certify that your work adheres to the following guidelines:")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),a("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")])])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("p",[e._v(" Kindly watch this "),a("strong",[a("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9df055db-c09e-4e2a-843e-a5b950003d89",target:"blank"}},[e._v("video")])]),e._v(" to understand the importance of originality in your submissions and to gain insights into the concept of plagiarism . ")])},function(){var e=this,a=e._self._c;e._self._setupProxy;return a("div",[a("p",{staticClass:"text-xl"},[a("em",[e._v("Please don't click the browser back button")])])])}],r=(t(7658),t(7203)),l=t(4856),n=t(568),o=t(4654),c=t(306),u=t(4735),m=t(5316),d=t(2339),p=(0,r.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:l.b0D,ErrorMessage:u.Z,Greetings:m.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const a=(0,r.ref)(),t=(0,r.ref)(e.query.learner_task_id),s=(0,r.ref)(localStorage.getItem("programId")),i=(0,r.ref)(localStorage.getItem("skillId")),l=(0,r.ref)(localStorage.getItem("profId")),u=(0,r.ref)(localStorage.getItem("skillName")),m=(0,r.ref)(localStorage.getItem("proficiency")),p=(0,r.ref)(localStorage.getItem("helpmateLink")),v=(0,r.ref)(),g=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),y=(0,r.ref)(!1),k=(0,r.ref)(null),_=(0,r.ref)(),x=(0,r.ref)(),w=(0,r.ref)(),A=(0,r.ref)(!0),C=(0,r.ref)([]),S=(0,r.ref)(),I=(0,r.ref)(),L=(0,r.ref)(0),P=(0,r.ref)(),T=(0,r.ref)(!1),Z=(0,r.ref)(),M=(0,r.ref)(!1),R=(0,r.ref)(),D=(0,r.ref)(),U=(0,r.ref)(),E=(0,r.ref)(0),G=(0,r.ref)(""),N=e=>{E.value=e.split(" ").filter((e=>""!==e)).length,A.value=E.value<100},W=async()=>{L.value+=1,console.log(`before ${x.value}`),x.value=null,A.value=!0,console.log(`after ${x.value}`)},J=async e=>{try{if(k.value=e.target.files[0],k.value){x.value=e.target.files[0].name;const a=e.target.files[0].size/1024/1024;k.value&&(A.value=!1),a>200&&(_.value="Uploaded filesize is greater than 200 MB",setTimeout((()=>{_.value=null}),6e3),A.value=!0)}}catch(a){if(console.log(a),T.value=!0,c.Z.isAxiosError(a)){const e=a;Z.value=e.response?.data?.message}else Z.value="Something went wrong, please contact helpmate.";M.value=!0}},j=async()=>{try{if(T.value=!1,console.log("plagiarismcb",C),y.value&&b.value&&5!==C.value.length)return T.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if((!y.value||!b.value)&&1!==C.value.length)return T.value=!0,I.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{I.value=null}),6e3);if(x.value){const e={learner_submission:x.value.trim(),learner_task_id:t.value,skill:i.value,proficiency:l.value,linked_program_name:s.value,task_type:f.value,linked_task_id:a.value,assinged_reviewer_count:0};let r;if("Desktop"===f.value){const a=await(0,n.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:x.value,learner_task_id:t.value}),s=a.data;w.value=s.preSignedUrl;const i=await(0,n.sc)(w.value,k.value);200===i.status?r=await(0,n.rC)("/v1/uploadLearnerSubmission",e):(T.value=!0,Z.value="There is issue in the file upload, please contact with helpmate.",M.value=!0)}else r=await(0,n.rC)("/v1/uploadLearnerSubmission",e);200===r.status?(console.log(r),"Please upload non empty file"===r.data.message?(G.value="The submission does not meet the minimum task word limit of 100 words. Please upload a valid submission.",W(),setTimeout((()=>{G.value=""}),6e3),T.value=!0):d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:e.learner_task_id}}),"Learner on hold"===r.data.message&&(console.log("learner on hold submit task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}}))):(T.value=!0,Z.value="There is some issue while submitting learner submission, please contact with helpmate.",M.value=!0)}else"Mobile"===f.value?(T.value=!0,x.value||(_.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{_.value=null}),6e3))):"Desktop"===f.value&&(T.value=!0,console.log(`learnerSubmission.value ${x.value}`),x.value||(_.value="please select File",setTimeout((()=>{_.value=null}),6e3)))}catch(e){if(T.value=!0,console.log(`error ${e}`),c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is some issue while submitting learner submission, please contact with helpmate.";M.value=!0}},z=async()=>{try{T.value=!1,console.log("Learner Status",P.value),"Registered"!==P.value?(T.value=!0,console.log(`inside if ${P.value}`),Z.value="Learner Status is not registered.",M.value=!0):d.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})}catch(e){if(T.value=!0,c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue with the switching, please contact with helpmate.";M.value=!0}},F=async()=>{try{if(T.value=!1,"Registered"!==P.value)T.value=!0,Z.value="Learner Status is not registered.",M.value=!0;else{const e=await(0,n.ie)("/v1/restartLearnerJourney",t.value);console.log("restartLearnerJourney",e);const a='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/my-plan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';e?(localStorage.setItem("message",a),d.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(T.value=!0,Z.value="There is an issue in the restart Journey, please contact helpmate.",M.value=!0)}}catch(e){if(T.value=!0,console.log(e),c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue in the restart Journey, please contact with helpmate.";M.value=!0}},q=e=>{T.value=!1,console.log(`task data ${JSON.stringify(e)}`);const t=e;T.value=!0,t?(a.value=t.task_id,f.value=t.task_type,v.value=t.task_name,g.value=t.description,i.value=t.skill,l.value=t.proficiency,h.value=t.linked_task_group,b.value=!0===t.checkForPlagiarism):(Z.value="There is an issue to fetch task, please contact helpmate.",M.value=!0)};return(0,r.onBeforeMount)((async()=>{try{T.value=!1,R.value=localStorage.getItem("programName"),U.value=localStorage.getItem("reviewerAssignmentStrategy"),D.value=localStorage.getItem("taskAssignmentStrategy");const e=await(0,o.zn)("/learner/journey/stat",{skill:i.value,proficiency:l.value,program_id:s.value}),a=e.data;q(a.taskDetails),y.value=!0===a.program_details.plagiarism_enabled,T.value=!0,a.learnerData&&(a.learnerData.technical_hold&&(console.log("learner on hold select task"),d.Z.push({path:"/solidify",query:{skill_id:i.value,proficiency_id:l.value,program_id:s.value}})),console.log(`learner Data value ${JSON.stringify(a.learnerData)}`),console.log(`learnerStatus value ${a.learnerData.learner_status}`),P.value=a.learnerData.learner_status,t.value=a.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===a.learnerData.learner_status||"Need Reviewee"===a.learnerData.learner_status?d.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:a.learnerData.learner_task_id}}):"Need Reviewer"!==a.learnerData.learner_status&&"Passed"!==a.learnerData.learner_status||d.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:t.value}}))}catch(e){if(T.value=!0,c.Z.isAxiosError(e)){const a=e;Z.value=a.response?.data?.message}else Z.value="There is an issue to fetch existing record, please contact with helpmate.";M.value=!0}})),{learnerSubmissionFile:k,skillName:u,profName:m,skillId:i,proficiencyId:l,programId:s,taskType:f,taskName:v,taskDesc:g,linkedTask:h,submitSubmiision:j,learnerSubmission:x,selectedFile:J,fileValidationMsg:_,restart:F,switchTask:z,learnerTaskId:t,preSignedUrl:w,buttonDisable:A,validationError:S,clearFile:W,fileInputKey:L,helpmateLink:p,learnerStatus:P,renderReady:T,errorResponse:Z,showErrorMessage:M,plagiarismcb:C,palgiarismErrorMsg:I,programName:R,taskAssignmentStrategy:D,reviewerAssignmentStrategy:U,checkForPlagiarismTaskLevel:b,checkForPlagiarismProgramLevel:y,checkQuestionLength:N,questionWordCount:E,submissionError:G}}}),v=p,g=t(1001),f=(0,g.Z)(v,s,i,!1,null,"f838cf40",null),h=f.exports},568:function(e,a,t){t.d(a,{ie:function(){return n},rC:function(){return o},sc:function(){return r},ux:function(){return i},yW:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{let t;const s=await fetch(`${e}`,{method:"put",body:a});return t=s,t},l=async e=>{const a=await s.Z.get(`/task/${e}`);return a},n=async(e,a)=>{const t=await s.Z.post(e,{learner_task_id:a});return t},o=async(e,a)=>{const t=await s.Z.post(e,a);return t}},4654:function(e,a,t){t.d(a,{hZ:function(){return r},n2:function(){return i},zn:function(){return l}});var s=t(7129);const i=async(e,a)=>{const t=await s.Z.post(e,a);return t},r=async(e,a)=>{const t=await s.Z.post(e,a);return t},l=async(e,a)=>{const t=await s.Z.post(e,a);return t}},6540:function(e){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGwAAAAjCAYAAABxaO90AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAezSURBVGhD7Zp5UJTnHcffNNOpSfpnM9OZZtJM24nTyaTW2tbGc5rUjJ1p7aQ2JmqilXrhOh5RMXjEeqNsuUEUlEMx3ILLDQKrcsixyLmIwIrAInLIfcOnz7Ivuo6QdrIOLHG/M98/nuf3zLs772d/v+f3vO9KyBoYHKKts4dHHd1WW5D7+gdlQkY9Bub+dQo/XrqLV+fb8toCqy3BMxZsYYfysoA2IFMyAfb6hzvJLdXJI6ssQd19/fxg/mbaOnrkGRNgP/pgG7r6JnlklaVoxrxNVmDTSZMKrHd4GG1nHxVd5lnb2Uvn4LB81RdLkwosq6UL6XIuUrjGPF/OIazukXzVF0uTC6y123jDowufdngeUmg2UlTBs7HxHKYhrL5NvuqLpakHFnUbyScBySEQ6aJajE1iE9kKTB5NBbBIMT7mi/T3dUj7XZFCDJlmEh/PVmDyaLKBXS1CihDlcJ8L35+7mBnLPkVyvIh0RawxxEwhmXpcYD3oq3WU6WrQ1VRzu7CG2t5Bpro1Ge7toL2zg+7n9EWmHphh/9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