@genpact/genome.mfe.solidify-app 1.33.0 → 1.35.0

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.
Files changed (66) hide show
  1. package/dist/index.html +1 -1
  2. package/dist/js/LearnerRereview.js +1 -1
  3. package/dist/js/LearnerRereview.js.map +1 -1
  4. package/dist/js/SolidifyAbout.js +1 -1
  5. package/dist/js/SolidifyAbout.js.map +1 -1
  6. package/dist/js/SolidifyAdministration.js.map +1 -1
  7. package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
  8. package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
  9. package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
  10. package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
  11. package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
  12. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
  13. package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
  14. package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
  15. package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
  16. package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
  17. package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
  18. package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
  19. package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
  20. package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
  21. package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
  22. package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
  23. package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
  24. package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
  25. package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
  26. package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
  27. package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
  28. package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
  29. package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
  30. package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
  31. package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
  32. package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
  33. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
  34. package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
  35. package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
  36. package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
  37. package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
  38. package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
  39. package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
  40. package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
  41. package/dist/js/SolidifyLearner.js +3 -3
  42. package/dist/js/SolidifyLearner.js.map +1 -1
  43. package/dist/js/SolidifyLearnerDone.js +1 -1
  44. package/dist/js/SolidifyLearnerDone.js.map +1 -1
  45. package/dist/js/SolidifyLearnerError.js +1 -1
  46. package/dist/js/SolidifyLearnerError.js.map +1 -1
  47. package/dist/js/SolidifyLearnerGating.js +1 -1
  48. package/dist/js/SolidifyLearnerGating.js.map +1 -1
  49. package/dist/js/SolidifyLearnerPeerReview.js +1 -1
  50. package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
  51. package/dist/js/SolidifyLearnerProxyReview.js +1 -1
  52. package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
  53. package/dist/js/SolidifyLearnerSelectTask.js +1 -1
  54. package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
  55. package/dist/js/SolidifyLearnerStatus.js +1 -1
  56. package/dist/js/SolidifyLearnerStatus.js.map +1 -1
  57. package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
  58. package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
  59. package/dist/js/SystemUnderMaintenance.js.map +1 -1
  60. package/dist/js/app.js +30 -30
  61. package/dist/js/app.js.map +1 -1
  62. package/dist/js/chunk-570a2604.js +2 -0
  63. package/dist/js/chunk-570a2604.js.map +1 -0
  64. package/package.json +1 -1
  65. package/dist/js/chunk-7ac43392.js +0 -2
  66. package/dist/js/chunk-7ac43392.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?edae","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?e0c3","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/learner_events_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?dabd","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?fe4f","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?29da","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?c580"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","_m","_l","eventData","event","key","id","attrs","desc","_v","_s","created_date","sub_event_type","name","renderReady","_e","require","staticRenderFns","getLearnerEvents","async","url","data","res","console","log","$http","post","then","response","eventDeatils","error","defineComponent","props","query","type","Object","default","setup","ref","taskId","learner_task_id","invokeGetLearnerEvent","value","eventRes","sortedArray","sort","a","b","moment","utc","unix","index","length","element","format","onBeforeMount","component","content","__esModule","locals","add"],"mappings":"yMAAA,W,uBCCA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,8HAA+H,KAExJD,EAAOF,QAAU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B,OAHAa,eAAcpC,gBACNsB,MAED,CAAEtC,YAAWW,kBCtCytB,I,wBCQ7uB0C,EAAY,eACd,EACA9D,EACAuB,GACA,EACA,KACA,WACA,MAIa,aAAAuC,E,gCCnBfhE,EAAOF,QAAU,IAA0B,qB,qBCG3C,IAAImE,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQrB,SACnB,kBAAZqB,IAAsBA,EAAU,CAAC,CAACjE,EAAOC,EAAIgE,EAAS,MAC7DA,EAAQE,SAAQnE,EAAOF,QAAUmE,EAAQE,QAE5C,IAAIC,EAAM,EAAQ,QAA4GxB,QACjHwB,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","file":"js/SolidifyAdministrationLearnerEvents.js","sourcesContent":["export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--7-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-8c4babd2]{position:fixed;top:30%;left:42%}.tableScroll[data-v-8c4babd2]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.eventData),function(event){return _c('tr',{key:event.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3 text-left\",attrs:{\"title\":event.desc}},[_vm._v(_vm._s(event.desc))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(event.created_date))]),_c('td',{staticClass:\"p-2 px-3 text-left\"},[_vm._v(_vm._s(event.sub_event_type))])])}),0)])]),_c('div',{staticClass:\"w-full px-3 text-center mt-4\"},[_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: 'SolidifyAdministration' }}},[_vm._v(\" Back \")])],1),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_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()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Learner Events\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"Event Details\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"Event Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"Status\")])])])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../../plugins/axios';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const getLearnerEvents = async (url: string, data: any) => {\n try {\n console.log('parameter data', data);\n let res;\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.eventDeatils;\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { getLearnerEvents } from '@/utils/admin/learner_events_service';\n\nexport default defineComponent({\n name: 'LearnerEvents',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const eventData = ref();\n const taskId = ref(props.query.learner_task_id);\n const renderReady = ref(true);\n const invokeGetLearnerEvent = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const eventRes: any = await getLearnerEvents('/v1/getSolidifyEventByTaskId', { learner_task_id: taskId.value });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sortedArray = eventRes.sort((a: any, b: any) => moment(b.created_date).utc().unix() - moment(a.created_date).utc().unix());\n for (let index = 0; index < sortedArray.length; index += 1) {\n const element = sortedArray[index];\n element.created_date = moment(element.created_date).format('DD-MM-YYYY hh:mm:ss a');\n }\n eventData.value = sortedArray;\n // eventData.value = eventRes.sort((a: any, b: any) => a.created_date < b.created_date);\n // console.log('without Sort', eventData.value);\n // console.log('with Sort By date', eventData.value);\n\n renderReady.value = true;\n };\n onBeforeMount(async () => {\n await invokeGetLearnerEvent();\n });\n return { eventData, renderReady };\n },\n});\n","import mod from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_nwtvwtk5tmh22l2urnqucz7kqu/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_nwtvwtk5tmh22l2urnqucz7kqu/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Events.vue?vue&type=template&id=8c4babd2&scoped=true&\"\nimport script from \"./Learner_Events.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Events.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8c4babd2\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"35901704\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?edae","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?e0c3","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/learner_events_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?dabd","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?70b1","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?29da","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Events.vue?c580"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","_m","_l","eventData","event","key","id","attrs","desc","_v","_s","created_date","sub_event_type","name","renderReady","_e","require","staticRenderFns","getLearnerEvents","async","url","data","res","console","log","$http","post","then","response","eventDeatils","error","defineComponent","props","query","type","Object","default","setup","ref","taskId","learner_task_id","invokeGetLearnerEvent","value","eventRes","sortedArray","sort","a","b","moment","utc","unix","index","length","element","format","onBeforeMount","component","content","__esModule","locals","add"],"mappings":"yMAAA,W,uBCCA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,8HAA+H,KAExJD,EAAOF,QAAUA,G,2CCNjB,IAAII,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIM,GAAG,GAAGJ,EAAG,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AYD,EAAUA,EAAQrB,SACnB,kBAAZqB,IAAsBA,EAAU,CAAC,CAACjE,EAAOC,EAAIgE,EAAS,MAC7DA,EAAQE,SAAQnE,EAAOF,QAAUmE,EAAQE,QAE5C,IAAIC,EAAM,EAAQ,QAA4GxB,QACjHwB,EAAI,WAAYH,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","file":"js/SolidifyAdministrationLearnerEvents.js","sourcesContent":["export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--7-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-8c4babd2]{position:fixed;top:30%;left:42%}.tableScroll[data-v-8c4babd2]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mb-8 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.eventData),function(event){return _c('tr',{key:event.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3 text-left\",attrs:{\"title\":event.desc}},[_vm._v(_vm._s(event.desc))]),_c('td',{staticClass:\"p-2 px-3 text-center\"},[_vm._v(_vm._s(event.created_date))]),_c('td',{staticClass:\"p-2 px-3 text-left\"},[_vm._v(_vm._s(event.sub_event_type))])])}),0)])]),_c('div',{staticClass:\"w-full px-3 text-center mt-4\"},[_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: 'SolidifyAdministration' }}},[_vm._v(\" Back \")])],1),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_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()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Learner Events\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"Event Details\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-center\"},[_vm._v(\"Event Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary text-left\"},[_vm._v(\"Status\")])])])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../../plugins/axios';\n\n// eslint-disable-next-line import/prefer-default-export\nexport const getLearnerEvents = async (url: string, data: any) => {\n try {\n console.log('parameter data', data);\n let res;\n await $http.post(url, data).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.eventDeatils;\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { getLearnerEvents } from '@/utils/admin/learner_events_service';\n\nexport default defineComponent({\n name: 'LearnerEvents',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const eventData = ref();\n const taskId = ref(props.query.learner_task_id);\n const renderReady = ref(true);\n const invokeGetLearnerEvent = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const eventRes: any = await getLearnerEvents('/v1/getSolidifyEventByTaskId', { learner_task_id: taskId.value });\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const sortedArray = eventRes.sort((a: any, b: any) => moment(b.created_date).utc().unix() - moment(a.created_date).utc().unix());\n for (let index = 0; index < sortedArray.length; index += 1) {\n const element = sortedArray[index];\n element.created_date = moment(element.created_date).format('DD-MM-YYYY hh:mm:ss a');\n }\n eventData.value = sortedArray;\n // eventData.value = eventRes.sort((a: any, b: any) => a.created_date < b.created_date);\n // console.log('without Sort', eventData.value);\n // console.log('with Sort By date', eventData.value);\n\n renderReady.value = true;\n };\n onBeforeMount(async () => {\n await invokeGetLearnerEvent();\n });\n return { eventData, renderReady };\n },\n});\n","import mod from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_idmflsbzmivcz6fnnmcaipezqe/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_idmflsbzmivcz6fnnmcaipezqe/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Events.vue?vue&type=template&id=8c4babd2&scoped=true&\"\nimport script from \"./Learner_Events.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Events.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"8c4babd2\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Events.vue?vue&type=style&index=0&id=8c4babd2&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"35901704\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"sourceRoot":""}
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?177a","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?7c40","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?29ea","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?b650","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?0227","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?feae","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/program_administration_service.ts"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","_m","_l","gradeData","grade","key","review_id","directives","name","rawName","value","checkOne","expression","attrs","domProps","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","getQuestion","reviewer_response","reviewer_comment","checkedOne","_v","_s","reviewer_key","is_proxy_reviewer","reviewer_grade","review_start_date","review_end_date","showChecklistPanel","reviewerTask","reviwerRes","index","text","response","comment","_e","renderReady","require","staticRenderFns","defineComponent","props","query","type","Object","default","setup","ref","taskId","learner_task_id","invokeGetLearnerGrades","async","getLearnerGrade","length","res","moment","format","event","reviewerCheckList","reviewerComment","cb","onBeforeMount","component","content","__esModule","locals","add","triggerProxyAssignmentForSpecialProgram","$http","get","programId","invokeGetProgramDetails","url","then","data","AllGrade","getEdcaseURL","programName","console","log","fileLink","document","createElement","href","click","URL","revokeObjectURL","error","uploadBulkParticipants","bulkTaskFile","fetch","method","body","uploadResponse","err","uploadEnvAccessUsers","uploadServiceLineSkillsGFEventID","invokeTriggerReport","updateRes"],"mappings":"yMAAA,W,qBCCA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,8HAA+H,KAExJD,EAAOF,QAAUA,G,yCCNjB,IAAII,EAAS,WAAkB,IAAIC,EAAIC,KAAKC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EFA,GAEIF,EAAkBD,UAC7B,IAAIG,EAMJ,aAJMc,OAAMC,IAAIG,GAAKC,KAAMvC,IACzBoB,EAAMpB,EAASwC,KAAKC,SACbrB,IAEFA,GAqCIsB,EAAezB,MAAOmB,EAAmBO,KACpD,IAEE,IAAIvB,EAgBJ,OAjBAwB,QAAQC,IAAI,eAAeF,SAErBT,OAAMC,IAAI,iBAAiBC,GAAaG,KAAKtB,UAEjDG,EAAMpB,EAASwC,KAEf,MAAMM,EAAWC,SAASC,cAAc,KASxC,OARAF,EAASG,KAAO7B,EAMhB0B,EAASI,QACTC,IAAIC,gBAAgBN,EAASG,MACtB7B,IAEFA,EACP,MAAOiC,GACP,OAAOA,IAIEC,EAAyBrC,MAAOqB,EAAUiB,KACrD,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAIEC,EAAuB5C,MAAOqB,EAAUiB,KACnD,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAGEE,EAAmC7C,MAAOqB,EAAUiB,KAC/D,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAgBEG,EAAsB9C,UACjC,IACE,IAAI+C,EAKJ,aAJM9B,OAAMC,IAAI,mBAAmBC,GAAaG,KAAMvC,IACpDgE,EAAYhE,EAASwC,KACdwB,IAEFA,EACP,MAAOX,GACP,OAAOA","file":"js/SolidifyAdministrationLearnerGrades.js","sourcesContent":["export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--7-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-62962c7b]{position:fixed;top:30%;left:42%}.tableScroll[data-v-62962c7b]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4 mb-4 tableScroll\"},[_c('table',{staticClass:\"text-center w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.gradeData),function(grade){return _c('tr',{key:grade.review_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3 w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkOne),expression:\"checkOne\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"value\":grade.review_id,\"checked\":Array.isArray(_vm.checkOne)?_vm._i(_vm.checkOne,grade.review_id)>-1:(_vm.checkOne)},on:{\"change\":[function($event){var $$a=_vm.checkOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=grade.review_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checkOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checkOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checkOne=$$c}},function($event){return _vm.getQuestion($event, grade.reviewer_response, grade.reviewer_comment)}],\"click\":_vm.checkedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.reviewer_key))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.is_proxy_reviewer))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.reviewer_grade))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.review_start_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.review_end_date))])])}),0)])]),(_vm.showChecklistPanel)?_c('div',{staticClass:\"p-8 w-full border border-gray-300 mb-4\"},[_vm._l((_vm.reviewerTask),function(reviwerRes,index){return _c('div',{key:index,staticClass:\"mb-3\"},[_c('p',[_c('b',[_vm._v(\"Checklist Question \"+_vm._s(index + 1))])]),_c('div',{staticClass:\"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1\"},[_vm._v(_vm._s(reviwerRes.text))]),_c('p',[_vm._v(_vm._s(reviwerRes.response))])])}),_c('div',{staticClass:\"w-full\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\"Reviewer Comments \")]),_c('p',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"disabled\":\"\"},domProps:{\"innerHTML\":_vm._s(_vm.comment)}})])],2):_vm._e(),_c('div',{staticClass:\"w-full px-3 text-center mb-6\"},[_c('router-link',{staticClass:\"inline-block 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: 'SolidifyAdministration' }}},[_vm._v(\" Back \")])],1),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_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()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Learner Grades\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"p-2 px-3 text-background-secondary w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Reviewer OHR\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Is Proxy Reviewer\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Grade\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Review Start Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Review End Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { getLearnerGrade } from '@/utils/admin/program_administration_service';\n\nexport default defineComponent({\n name: 'LearnerGrades',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const gradeData = ref();\n const taskId = ref(props.query.learner_task_id);\n const renderReady = ref(true);\n const showChecklistPanel = ref(false);\n const checkOne = ref([]);\n const reviewerTask = ref();\n const comment = ref();\n const checkedOne = () => {\n checkOne.value = [];\n };\n const invokeGetLearnerGrades = async () => {\n renderReady.value = false;\n gradeData.value = await getLearnerGrade(`/learnerGrades/${taskId.value}`);\n for (let index = 0; index < gradeData.value.length; index += 1) {\n const res = gradeData.value[index];\n res.review_start_date = moment(res.review_start_date).format('MMM Do YYYY, h:mm a');\n res.review_end_date = moment(res.review_end_date).format('MMM Do YYYY, h:mm a');\n }\n // gradeData.value.review_start_date = moment(gradeData.value.review_start_date).format('MMM Do YYYY');\n // console.log('Review Start Date', gradeData.value.review_start_date);\n renderReady.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getQuestion = (event: any, reviewerCheckList: any, reviewerComment: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n showChecklistPanel.value = true;\n reviewerTask.value = reviewerCheckList;\n comment.value = reviewerComment;\n } else {\n showChecklistPanel.value = false;\n }\n };\n onBeforeMount(async () => {\n await invokeGetLearnerGrades();\n });\n return {\n gradeData,\n renderReady,\n checkOne,\n checkedOne,\n getQuestion,\n reviewerTask,\n showChecklistPanel,\n comment,\n };\n },\n});\n","import mod from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_nwtvwtk5tmh22l2urnqucz7kqu/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_nwtvwtk5tmh22l2urnqucz7kqu/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Grades.vue?vue&type=template&id=62962c7b&scoped=true&\"\nimport script from \"./Learner_Grades.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Grades.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62962c7b\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"59a5eed2\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line import/prefer-default-export\n\nexport const triggerProxyAssignmentForSpecialProgram = async (programId: string) => {\n const res = await $http.get(`assignProxyToCohortLearner/${programId}`);\n return res;\n};\n\nexport const invokeGetProgramDetails = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getLearnerGrade = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data.AllGrade;\n return res;\n });\n return res;\n};\n\n// const downloadEdcastUrl = async (urlToDownloadSusbmission: string, programName: string) => {\n// console.log(`programName ${programName}`);\n// const myRequest = new Request(urlToDownloadSusbmission, {\n// method: 'GET',\n// headers: {\n// 'X-Requested-By': 'XMLHttpRequest',\n// 'Content-Type': 'application/json',\n// },\n// mode: 'no-cors',\n// cache: 'default',\n// });\n// // fetch(myRequest).then((response: any) => {\n// // const fileURL = window.URL.createObjectURL(new Blob([response.data]));\n// // const fileLink = document.createElement('a');\n// // fileLink.href = fileURL;\n// // fileLink.setAttribute('download', 'Ed-castUrl.csv');\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// // });\n// fetch(myRequest).then((response: any) => {\n// const fileURL = window.URL.createObjectURL(new Blob([response.data], { type: 'text/csv' }));\n// const fileLink = document.createElement('a');\n// fileLink.href = fileURL;\n// // fileLink.setAttribute('download', learnerSubmission);\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// fileLink.download = 'EdcastUrl.csv';\n// fileLink.click();\n// URL.revokeObjectURL(fileLink.href);\n// });\n// };\n\nexport const getEdcaseURL = async (programId: string, programName: string) => {\n try {\n console.log(`programName ${programName}`);\n let res;\n await $http.get(`/skill/edcast/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n const fileLink = document.createElement('a');\n fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n fileLink.click();\n URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n\nexport const uploadBulkParticipants = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const uploadEnvAccessUsers = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\nexport const uploadServiceLineSkillsGFEventID = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const updateBulkParticipants = async (bulkImportData: any) => {\n try {\n let updateRes;\n await $http.post('/program/proxy', bulkImportData).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\nexport const invokeTriggerReport = async (programId: any) => {\n try {\n let updateRes;\n await $http.get(`/program/report/${programId}`).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\n"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?177a","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?7c40","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?29ea","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?0a6c","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?0227","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Learner_Grades.vue?feae","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/program_administration_service.ts"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_c","_self","_setupProxy","staticClass","_m","_l","gradeData","grade","key","review_id","directives","name","rawName","value","checkOne","expression","attrs","domProps","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","getQuestion","reviewer_response","reviewer_comment","checkedOne","_v","_s","reviewer_key","is_proxy_reviewer","reviewer_grade","review_start_date","review_end_date","showChecklistPanel","reviewerTask","reviwerRes","index","text","response","comment","_e","renderReady","require","staticRenderFns","defineComponent","props","query","type","Object","default","setup","ref","taskId","learner_task_id","invokeGetLearnerGrades","async","getLearnerGrade","length","res","moment","format","event","reviewerCheckList","reviewerComment","cb","onBeforeMount","component","content","__esModule","locals","add","triggerProxyAssignmentForSpecialProgram","$http","get","programId","invokeGetProgramDetails","url","then","data","AllGrade","getEdcaseURL","programName","console","log","fileLink","document","createElement","href","click","URL","revokeObjectURL","error","uploadBulkParticipants","bulkTaskFile","fetch","method","body","uploadResponse","err","uploadEnvAccessUsers","uploadServiceLineSkillsGFEventID","invokeTriggerReport","updateRes"],"mappings":"yMAAA,W,qBCCA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,8HAA+H,KAExJD,EAAOF,QAAUA,G,yCCNjB,IAAII,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACL,EAAIM,GAAG,GAAGJ,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAACH,EAAG,QAAQ,CAACG,YAAY,2DAA2D,CAACL,EAAIM,GAAG,GAAGJ,EAAG,QAAQ,CAACG,YAAY,6BAA6BL,EAAIO,GAAIP,EAAIQ,WAAW,SAASC,GAAO,OAAOP,EAAG,KAAK,CAACQ,IAAID,EAAME,UAAUN,YAAY,8BAA8B,CAACH,EAAG,KAAK,CAACG,YAA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iC,GACP,OAAOA,IAIEC,EAAyBrC,MAAOqB,EAAUiB,KACrD,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAIEC,EAAuB5C,MAAOqB,EAAUiB,KACnD,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAGEE,EAAmC7C,MAAOqB,EAAUiB,KAC/D,IACE,MAAMnC,QAAYoC,MAAM,GAAGlB,EAAO,CAChCmB,OAAQ,MACRC,KAAMH,IAEFI,EAAiBvC,EACvB,OAAOuC,EACP,MAAOC,GAEP,OADAhB,QAAQS,MAAMO,GACPA,IAgBEG,EAAsB9C,UACjC,IACE,IAAI+C,EAKJ,aAJM9B,OAAMC,IAAI,mBAAmBC,GAAaG,KAAMvC,IACpDgE,EAAYhE,EAASwC,KACdwB,IAEFA,EACP,MAAOX,GACP,OAAOA","file":"js/SolidifyAdministrationLearnerGrades.js","sourcesContent":["export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--7-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-62962c7b]{position:fixed;top:30%;left:42%}.tableScroll[data-v-62962c7b]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"admin\"},[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._m(0),_c('div',{staticClass:\"w-full mt-4 mb-4 tableScroll\"},[_c('table',{staticClass:\"text-center w-full text-md bg-white shadow rounded mb-4\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800\"},_vm._l((_vm.gradeData),function(grade){return _c('tr',{key:grade.review_id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"p-2 px-3 w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.checkOne),expression:\"checkOne\"}],attrs:{\"type\":\"checkbox\"},domProps:{\"value\":grade.review_id,\"checked\":Array.isArray(_vm.checkOne)?_vm._i(_vm.checkOne,grade.review_id)>-1:(_vm.checkOne)},on:{\"change\":[function($event){var $$a=_vm.checkOne,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=grade.review_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.checkOne=$$a.concat([$$v]))}else{$$i>-1&&(_vm.checkOne=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.checkOne=$$c}},function($event){return _vm.getQuestion($event, grade.reviewer_response, grade.reviewer_comment)}],\"click\":_vm.checkedOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.reviewer_key))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.is_proxy_reviewer))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.reviewer_grade))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.review_start_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(grade.review_end_date))])])}),0)])]),(_vm.showChecklistPanel)?_c('div',{staticClass:\"p-8 w-full border border-gray-300 mb-4\"},[_vm._l((_vm.reviewerTask),function(reviwerRes,index){return _c('div',{key:index,staticClass:\"mb-3\"},[_c('p',[_c('b',[_vm._v(\"Checklist Question \"+_vm._s(index + 1))])]),_c('div',{staticClass:\"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1\"},[_vm._v(_vm._s(reviwerRes.text))]),_c('p',[_vm._v(_vm._s(reviwerRes.response))])])}),_c('div',{staticClass:\"w-full\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\"Reviewer Comments \")]),_c('p',{staticClass:\"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500\",attrs:{\"disabled\":\"\"},domProps:{\"innerHTML\":_vm._s(_vm.comment)}})])],2):_vm._e(),_c('div',{staticClass:\"w-full px-3 text-center mb-6\"},[_c('router-link',{staticClass:\"inline-block 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: 'SolidifyAdministration' }}},[_vm._v(\" Back \")])],1),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center pageLoader\"},[_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()])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Learner Grades\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"p-2 px-3 text-background-secondary w-6\"}),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Reviewer OHR\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Is Proxy Reviewer\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Grade\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Review Start Date\")]),_c('th',{staticClass:\"p-2 px-3 text-background-secondary\"},[_vm._v(\"Review End Date\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { getLearnerGrade } from '@/utils/admin/program_administration_service';\n\nexport default defineComponent({\n name: 'LearnerGrades',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const gradeData = ref();\n const taskId = ref(props.query.learner_task_id);\n const renderReady = ref(true);\n const showChecklistPanel = ref(false);\n const checkOne = ref([]);\n const reviewerTask = ref();\n const comment = ref();\n const checkedOne = () => {\n checkOne.value = [];\n };\n const invokeGetLearnerGrades = async () => {\n renderReady.value = false;\n gradeData.value = await getLearnerGrade(`/learnerGrades/${taskId.value}`);\n for (let index = 0; index < gradeData.value.length; index += 1) {\n const res = gradeData.value[index];\n res.review_start_date = moment(res.review_start_date).format('MMM Do YYYY, h:mm a');\n res.review_end_date = moment(res.review_end_date).format('MMM Do YYYY, h:mm a');\n }\n // gradeData.value.review_start_date = moment(gradeData.value.review_start_date).format('MMM Do YYYY');\n // console.log('Review Start Date', gradeData.value.review_start_date);\n renderReady.value = true;\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getQuestion = (event: any, reviewerCheckList: any, reviewerComment: any) => {\n const cb = event.target.checked;\n if (cb === true) {\n showChecklistPanel.value = true;\n reviewerTask.value = reviewerCheckList;\n comment.value = reviewerComment;\n } else {\n showChecklistPanel.value = false;\n }\n };\n onBeforeMount(async () => {\n await invokeGetLearnerGrades();\n });\n return {\n gradeData,\n renderReady,\n checkOne,\n checkedOne,\n getQuestion,\n reviewerTask,\n showChecklistPanel,\n comment,\n };\n },\n});\n","import mod from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_idmflsbzmivcz6fnnmcaipezqe/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../../node_modules/.pnpm/babel-loader@8.3.0_idmflsbzmivcz6fnnmcaipezqe/node_modules/babel-loader/lib/index.js!../../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Grades.vue?vue&type=template&id=62962c7b&scoped=true&\"\nimport script from \"./Learner_Grades.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Grades.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"62962c7b\",\n null\n \n)\n\nexport default component.exports","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/.pnpm/vue-loader@15.10.1_sqwtrzbl6s4ypz4dmnoirtpj7i/node_modules/vue-loader/lib/index.js??vue-loader-options!./Learner_Grades.vue?vue&type=style&index=0&id=62962c7b&prod&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"59a5eed2\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n// eslint-disable-next-line import/prefer-default-export\n\nexport const triggerProxyAssignmentForSpecialProgram = async (programId: string) => {\n const res = await $http.get(`assignProxyToCohortLearner/${programId}`);\n return res;\n};\n\nexport const invokeGetProgramDetails = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getLearnerGrade = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n res = response.data.AllGrade;\n return res;\n });\n return res;\n};\n\n// const downloadEdcastUrl = async (urlToDownloadSusbmission: string, programName: string) => {\n// console.log(`programName ${programName}`);\n// const myRequest = new Request(urlToDownloadSusbmission, {\n// method: 'GET',\n// headers: {\n// 'X-Requested-By': 'XMLHttpRequest',\n// 'Content-Type': 'application/json',\n// },\n// mode: 'no-cors',\n// cache: 'default',\n// });\n// // fetch(myRequest).then((response: any) => {\n// // const fileURL = window.URL.createObjectURL(new Blob([response.data]));\n// // const fileLink = document.createElement('a');\n// // fileLink.href = fileURL;\n// // fileLink.setAttribute('download', 'Ed-castUrl.csv');\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// // });\n// fetch(myRequest).then((response: any) => {\n// const fileURL = window.URL.createObjectURL(new Blob([response.data], { type: 'text/csv' }));\n// const fileLink = document.createElement('a');\n// fileLink.href = fileURL;\n// // fileLink.setAttribute('download', learnerSubmission);\n// // document.body.appendChild(fileLink);\n\n// // fileLink.click();\n// fileLink.download = 'EdcastUrl.csv';\n// fileLink.click();\n// URL.revokeObjectURL(fileLink.href);\n// });\n// };\n\nexport const getEdcaseURL = async (programId: string, programName: string) => {\n try {\n console.log(`programName ${programName}`);\n let res;\n await $http.get(`/skill/edcast/${programId}`).then(async (response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n // await downloadEdcastUrl(res, programName);\n const fileLink = document.createElement('a');\n fileLink.href = res;\n // fileLink.setAttribute('download', learnerSubmission);\n // document.body.appendChild(fileLink);\n\n // fileLink.click();\n // fileLink.download = 'EdcastUrl.csv';\n fileLink.click();\n URL.revokeObjectURL(fileLink.href);\n return res;\n });\n return res;\n } catch (error) {\n return error;\n }\n};\n\nexport const uploadBulkParticipants = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const uploadEnvAccessUsers = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\nexport const uploadServiceLineSkillsGFEventID = async (url: any, bulkTaskFile: any) => {\n try {\n const res = await fetch(`${url}`, {\n method: 'put',\n body: bulkTaskFile,\n });\n const uploadResponse = res;\n return uploadResponse;\n } catch (err) {\n console.error(err);\n return err;\n }\n};\n\nexport const updateBulkParticipants = async (bulkImportData: any) => {\n try {\n let updateRes;\n await $http.post('/program/proxy', bulkImportData).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\nexport const invokeTriggerReport = async (programId: any) => {\n try {\n let updateRes;\n await $http.get(`/program/report/${programId}`).then((response: any) => {\n updateRes = response.data;\n return updateRes;\n });\n return updateRes;\n } catch (error) {\n return error;\n }\n};\n"],"sourceRoot":""}