@genpact/genome.mfe.solidify-app 1.17.2-alpha.134 → 1.17.2-alpha.136
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/index.html +1 -1
- package/dist/js/LearnerRereview.js +1 -1
- package/dist/js/LearnerRereview.js.map +1 -1
- package/dist/js/SolidifyAbout.js +1 -1
- package/dist/js/SolidifyAbout.js.map +1 -1
- package/dist/js/SolidifyAdministration.js +1 -1
- package/dist/js/SolidifyAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/js/SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js +1 -1
- package/dist/js/SolidifyAdministrationAssignRoleToUser.js.map +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/js/SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/js/SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerEvents.js.map +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js +1 -1
- package/dist/js/SolidifyAdministrationLearnerGrades.js.map +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js +1 -1
- package/dist/js/SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/js/SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/js/SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/js/SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/js/SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js +1 -1
- package/dist/js/SolidifyAdministrationPlagiarsimReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/js/SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js +1 -1
- package/dist/js/SolidifyAdministrationProgramDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js +1 -1
- package/dist/js/SolidifyAdministrationSystemSetting.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskDetails.js +2 -2
- package/dist/js/SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/js/SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewEmailQueue.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js +1 -1
- package/dist/js/SolidifyAdministrationViewProxyRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationViewRereviewRequests.js.map +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js +1 -1
- package/dist/js/SolidifyAdministrationharvestReport.js.map +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js +1 -1
- package/dist/js/SolidifyAdministrationsendEmailToUser.js.map +1 -1
- package/dist/js/SolidifyLearner.js +2 -2
- package/dist/js/SolidifyLearner.js.map +1 -1
- package/dist/js/SolidifyLearnerDone.js +1 -1
- package/dist/js/SolidifyLearnerDone.js.map +1 -1
- package/dist/js/SolidifyLearnerError.js.map +1 -1
- package/dist/js/SolidifyLearnerGating.js +1 -1
- package/dist/js/SolidifyLearnerGating.js.map +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js +1 -1
- package/dist/js/SolidifyLearnerPeerReview.js.map +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js +1 -1
- package/dist/js/SolidifyLearnerProxyReview.js.map +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js +1 -1
- package/dist/js/SolidifyLearnerSelectTask.js.map +1 -1
- package/dist/js/SolidifyLearnerStatus.js +1 -1
- package/dist/js/SolidifyLearnerStatus.js.map +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js +1 -1
- package/dist/js/SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/js/SystemUnderMaintenance.js.map +1 -1
- package/dist/js/app.js +33 -33
- package/dist/js/app.js.map +1 -1
- package/dist/js/chunk-67247812.js +2 -0
- package/dist/js/chunk-67247812.js.map +1 -0
- package/package.json +1 -1
- package/dist/js/chunk-8e14f706.js +0 -2
- package/dist/js/chunk-8e14f706.js.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?3a26","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/task_management_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?f7cc","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/assign_proxy_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?c3d0","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?7016","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?9772","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?c5f0","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/manage_proxy_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/master_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?e528","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?ff88","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?99d4"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","invokegetAllProgram","async","res","$http","get","url","then","response","console","log","data","program_name","invokegetAllTaskByProgram","programId","post","tasks","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","taskData","updateOffcyclestatus","getTaskById","getTaskres","taskId","error","uploadBulkTasks","bulkTaskFile","fetch","method","body","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","JSON","stringify","savedRes","invokeExportTask","invokeLearnerForProxyReviewer","invokegetSkillProf","invokeGetProxyList","skillId","allProxyList","invokeAssignProxyToLearners","content","__esModule","default","locals","add","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_v","on","$event","getSelectedProgram","_l","program","key","program_id","domProps","_s","program_display_name","programErrorMessage","_e","getSelectedSkill","skill","skill_id","skill_alias","skillErrorMessage","getSelectedProficiency","prof","prof_id","prof_name","proficiencyError","getLearnerForProxy","showProxy","id","directives","name","rawName","value","expression","attrs","selectedTaskId","length","learner_task_id","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setProxyBtn","proxy_requested_date","submission_date","ageing","proxyDetailsArray","getFilteredList","assignLearnerToProxy","proxy","proxy_ohr","selectedProxyOhr","showAssignProxyBtn","checkOne","proxy_name","proxy_email","proxy_role","renderReady","staticRenderFns","defineComponent","components","SearchBar","setup","learnerData","ref","skills","proficiency","selectedSkill","selectedProficiency","isVisible","proxyButtonVisible","proxyList","proxyAssignedBtn","userRole","programDetails","showScreen","showSkillProf","selectedProgram","filteredproxyDetails","event","cb","FilterData","getProgram","getSkillandProf","dataRes","setTimeout","resLearnerList","learnerToProxyAssign","index","today","moment","utc","format","requestedDateFormatted","diff","sort","a","b","e","Object","assign","invokegetAllProxies","all_proxies","map","filter","includes","proxyOhr","proxy_key","learners","linked_program_name","assignProxyRes","onBeforeMount","role","invokeGetUserRole","user_roles","component","invokeProxyImport","deleteProxy","resp_message","addProxies","invokeseedMaster","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","placeHolder1","filterProgramDetails","$emit","filteredProgramDetails","composing","search","props","placeholder","type","String","ProgramDetails","toLowerCase"],"mappings":"4LACA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,8HAA+H,KAExJD,EAAOF,QAAUA,G,kCCNjB,sYAMO,MAAMI,EAAsBC,UACjC,IAAIC,EAOJ,aALMC,OAAMC,IAAIC,GAAKC,KAAMC,IACzBC,QAAQC,IAAI,WAAYF,GACxBL,EAAMK,EAASG,KAAKH,SAASI,aACtBT,IAEFA,GAGIU,EAA4BX,MAAOI,EAAaQ,KAC3D,IAAIX,EAMJ,aAJMC,OAAMW,KAAKT,EAAKQ,GAAWP,KAAMC,IACrCL,EAAMK,EAASG,KAAKK,MACbb,IAEFA,GAEIc,EAA4Bf,MAAOI,EAAaQ,KAC3D,IAAIX,EAMJ,aAJMC,OAAMW,KAAKT,EAAKQ,GAAWP,KAAMC,IACrCL,EAAMK,EAASG,KAAKO,eACbf,IAEFA,GAEIgB,EAAqBjB,MAAOI,EAAac,KACpD,IAAIjB,EAMJ,aAJMC,OAAMW,KAAKT,EAAKc,GAAUb,KAAMC,IACpCL,EAAMK,EAASG,KAAKK,MACbb,IAEFA,GA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,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,oBAAoB,CAACF,EAAG,QAAQ,CAAC8B,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOrC,EAAU,OAAEsC,WAAW,WAAWhC,YAAY,gHAAgHiC,MAAM,CAAC,KAAO,OAAO,YAAcvC,EAAIkK,cAAclJ,SAAS,CAAC,MAAShB,EAAU,QAAGS,GAAG,CAAC,MAAQ,SAASC,GAAQV,EAAImK,uBAAyBnK,EAAIoK,MAAM,WAAYpK,EAAIqK,yBAAyB,MAAQ,SAAS3J,GAAWA,EAAOsC,OAAOsH,YAAqBtK,EAAIuK,OAAO7J,EAAOsC,OAAOX,cAC9nBkC,EAAkB,G,YCcPC,iBAAgB,CAC7BrC,KAAM,YAENqI,MAAO,CAAElN,KAAM,CAACqF,OAAQ8H,YAAa,CAAEC,KAAMC,OAAQ/K,QAAS,WAC9D+E,MAAM6F,GACJ,MAAMD,EAAS1F,eAAI,IACbqF,EAAerF,iBACfwF,EAAyBxF,iBACzB+F,EAAiB/F,iBACjBsF,EAAuBA,KAE3BS,EAAevI,MAAQmI,EAAMlN,KAC7B+M,EAAuBhI,MAAQuI,EAAevI,MAAMgF,OAAQxG,GAAYA,EAAQgK,cAAcvD,SAASiD,EAAOlI,MAAMwI,iBAQtH,OALAjD,eAAc/K,UAEZqN,EAAa7H,MAAQmI,EAAMC,YAC3BrN,QAAQC,IAAI,oBAAqBmN,EAAMC,eAElC,CAAEP,eAAcG,yBAAwBF,uBAAsBI,aCnCqvB,I,YCO1zBvC,EAAY,eACd,EACAjI,EACAwE,GACA,EACA,KACA,KACA,MAIa,OAAAyD,E","file":"js/SolidifyAdministrationAssignProxy.js","sourcesContent":["// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.79.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-c65c6044]{position:fixed;top:30%;left:42%}.tableScroll[data-v-c65c6044]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/* 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\nexport const invokegetAllProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n console.log('Response', response);\n res = response.data.response.program_name;\n return res;\n });\n return res;\n};\n\nexport const invokegetAllTaskByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const getAllOffCycleByByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.learnerDetails;\n return res;\n });\n return res;\n};\nexport const invokeArchieveTask = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const updateOffcyclestatus = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getTaskById = async (taskId: any) => {\n let getTaskres: any;\n try {\n await $http.get(`/task/${taskId}`).then((response) => {\n getTaskres = response.data.data;\n return getTaskres;\n });\n return getTaskres;\n } catch (error) {\n return error;\n }\n};\nexport const uploadBulkTasks = 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 importBulkTask = async (url: any, bulkTasData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, bulkTasData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const resetActiveTaskSequence = async (url: any, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const saveTask = async (data: any) => {\n console.log(`inside save task data ${JSON.stringify(data)}`);\n const savedRes = await $http.post('/task/create', data);\n return savedRes;\n};\n\nexport const invokeExportTask = async (programId: string) => {\n try {\n let res;\n await $http.get(`/admin/task/taskExport/${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","export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--6-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.79.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&prod&scoped=true&lang=css&\"","/* 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\nexport const invokeLearnerForProxyReviewer = async (url: string, data: any) => {\n // let res;\n // eslint-disable-next-line camelcase\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n const res = await $http.post(url, data);\n return res;\n};\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeGetProxyList = async (url: string, skillId: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(`${url}/${skillId}`).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.allProxyList;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n\nexport const invokeAssignProxyToLearners = async (url: string, data: any) => {\n // let res;\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n","// 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@5.79.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&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(\"dbc07550\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_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\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Select Program \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedProgram($event)}}},[_c('option',[_vm._v(\"Select Program\")]),_vm._l((_vm.programDetails),function(program){return _c('option',{key:program.program_id,domProps:{\"value\":program.program_id}},[_vm._v(_vm._s(program.program_display_name ? program.program_display_name : program.program_name))])})],2),(_vm.programErrorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.programErrorMessage))]):_vm._e()]),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedSkill($event)}}},[_c('option',[_vm._v(\"Select Skill\")]),_vm._l((_vm.skills),function(skill){return _c('option',{key:skill.skill_id,domProps:{\"value\":skill.skill_id}},[_vm._v(_vm._s(skill.skill_alias))])})],2),(_vm.skillErrorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.skillErrorMessage))]):_vm._e()]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedProficiency($event)}}},[_c('option',[_vm._v(\"Select Proficiency\")]),_vm._l((_vm.proficiency),function(prof){return _c('option',{key:prof.prof_id,domProps:{\"value\":prof.prof_id}},[_vm._v(_vm._s(prof.prof_name))])})],2),(_vm.proficiencyError)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.proficiencyError))]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.getLearnerForProxy()}}},[_vm._v(\"Search Learner\")])])]),(_vm.proxyButtonVisible)?_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.showProxy()}}},[_vm._v(\"View available Proxy\")])])]):_vm._e(),(_vm.learnerData)?_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full mt-4 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white rounded\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.learnerData),function(data){return _c('tr',{key:data.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedTaskId),expression:\"selectedTaskId\"}],attrs:{\"type\":\"checkbox\",\"disabled\":_vm.selectedTaskId.length > 4,\"id\":data.learner_task_id},domProps:{\"value\":data.learner_task_id,\"checked\":Array.isArray(_vm.selectedTaskId)?_vm._i(_vm.selectedTaskId,data.learner_task_id)>-1:(_vm.selectedTaskId)},on:{\"change\":[function($event){var $$a=_vm.selectedTaskId,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=data.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedTaskId=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedTaskId=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedTaskId=$$c}},function($event){return _vm.setProxyBtn($event)}]}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.learner_task_id))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proxy_requested_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.submission_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.ageing))])])}),0)])])]):_vm._e(),(_vm.isVisible)?_c('div',{staticClass:\"w-full mt-4%\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Available Proxy\")]),(_vm.proxyList)?_c('div',{staticClass:\"w-full flex mt-6\"},[_c('SearchBar',{attrs:{\"data\":_vm.proxyDetailsArray,\"placeholder\":\"Search By Proxy Name\"},on:{\"Filtered\":_vm.getFilteredList}})],1):_vm._e(),(_vm.proxyAssignedBtn)?_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.assignLearnerToProxy()}}},[_vm._v(\"Assign Proxy\")])]):_vm._e(),_c('div',{staticClass:\"w-full mt-4\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded text-over\"},[_vm._m(2),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.filteredproxyDetails),function(proxy,id){return _c('tr',{key:id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedProxyOhr),expression:\"selectedProxyOhr\"}],attrs:{\"type\":\"checkbox\",\"id\":proxy.proxy_ohr},domProps:{\"value\":proxy.proxy_ohr,\"checked\":Array.isArray(_vm.selectedProxyOhr)?_vm._i(_vm.selectedProxyOhr,proxy.proxy_ohr)>-1:(_vm.selectedProxyOhr)},on:{\"change\":[function($event){var $$a=_vm.selectedProxyOhr,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=proxy.proxy_ohr,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedProxyOhr=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedProxyOhr=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedProxyOhr=$$c}},function($event){return _vm.showAssignProxyBtn($event)}],\"click\":_vm.checkOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_email))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_role))]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(_vm._s(proxy.proxy_ohr))])])}),0)])])]):_vm._e()])]),(!_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()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Assign Proxy\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"ID - Learner Activities\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Proxy Reviewer Requested Date\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Submission Date\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Ageing\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Role\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"OHR\")])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokeAssignProxyToLearners, invokegetSkillProf, invokeLearnerForProxyReviewer } from '@/utils/admin/assign_proxy_service';\nimport { invokegetAllProgram } from '@/utils/admin/task_management_service';\nimport { invokegetAllProxies } from '@/utils/admin/manage_proxy_service';\nimport SearchBar from '@/components/global/SearchBar.vue';\n\n// eslint-disable-next-line import/no-cycle\n// import router from '@/router';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n name: 'AssignProxy',\n components: { SearchBar },\n setup() {\n const learnerData = ref();\n const skills = ref();\n const proficiency = ref();\n const renderReady = ref();\n const selectedSkill = ref();\n const selectedProficiency = ref();\n const isVisible = ref(false);\n const proxyButtonVisible = ref(false);\n const proxyList = ref();\n const selectedTaskId = ref([]);\n const selectedProxyOhr = ref();\n const proxyAssignedBtn = ref(false);\n const userRole = ref();\n const programDetails = ref();\n const showScreen = ref(true);\n const showSkillProf = ref(false);\n const selectedProgram = ref();\n const programErrorMessage = ref();\n const skillErrorMessage = ref();\n const proficiencyError = ref();\n const proxyDetailsArray = ref();\n const filteredproxyDetails = ref();\n\n const checkOne = () => {\n selectedProxyOhr.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setProxyBtn = (event: any) => {\n const cb = event.target.checked;\n // console.log('length', cb.length);\n if (cb === true) {\n console.log('selected Task id', selectedTaskId.value);\n proxyButtonVisible.value = true;\n // console.log(cb);\n } else if (selectedTaskId.value.length === 0) {\n proxyButtonVisible.value = false;\n isVisible.value = false;\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const FilterData: any = {};\n const getProgram = async () => {\n renderReady.value = false;\n programDetails.value = await invokegetAllProgram('/cache?cache=program');\n // console.log(programDetails.value);\n renderReady.value = true;\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n const getLearnerForProxy = async () => {\n try {\n if (!selectedProgram.value) {\n programErrorMessage.value = 'Please Select Program';\n setTimeout(() => {\n programErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (selectedProgram.value === 'infinity') {\n if (!selectedSkill.value) {\n skillErrorMessage.value = 'Please Select Skill';\n setTimeout(() => {\n skillErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (!selectedProficiency.value) {\n proficiencyError.value = 'Please Select Proficiency';\n setTimeout(() => {\n proficiencyError.value = null;\n }, 6000);\n return;\n }\n }\n\n // if (FilterData.skill && FilterData.proficiency) {\n // console.log(FilterData);\n renderReady.value = false;\n await checkOne();\n selectedTaskId.value = [];\n proxyButtonVisible.value = false;\n // selectedTaskId.value.length == 0;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const resLearnerList: any = await invokeLearnerForProxyReviewer('/learnerTaskToProxyAssign', FilterData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = resLearnerList.data;\n learnerData.value = dataRes.learnerToProxyAssign;\n // const sortedArray = dataRes.sort((a: any, b: any) => moment(b.proxy_requested_date).utc().unix() - moment(a.submission_date).utc().unix());\n if (learnerData.value) {\n for (let index = 0; index < learnerData.value.length; index += 1) {\n const res = learnerData.value[index];\n const today = moment().utc().format('YYYY-MM-DD');\n if (res.proxy_requested_date) {\n const requestedDateFormatted = moment(res.proxy_requested_date).utc().format('YYYY-MM-DD');\n res.ageing = moment(today).diff(moment(requestedDateFormatted), 'days');\n res.proxy_requested_date = moment(res.proxy_requested_date).format('DD-MM-YYYY');\n }\n if (res.submission_date) {\n res.submission_date = moment(res.submission_date).format('DD-MM-YYYY');\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n learnerData.value = learnerData.value.sort((a: any, b: any) => b.ageing - a.ageing);\n }\n\n isVisible.value = false;\n console.log('Learner Data', learnerData.value);\n renderReady.value = true;\n // }\n } catch (error) {\n console.log(error);\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProgram = async (e: any) => {\n selectedProgram.value = e.target.value;\n Object.assign(FilterData, { program_id: selectedProgram.value });\n if (selectedProgram.value !== 'Select Program') {\n if (selectedProgram.value === 'infinity') {\n showSkillProf.value = true;\n } else {\n selectedSkill.value = '';\n showSkillProf.value = false;\n }\n }\n // localStorage.setItem('program', selectedProgram.value);\n // localStorage.removeItem('inputValue');\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedSkill = async (e: any) => {\n // console.log(e.target.removeAttr('selected'));\n selectedSkill.value = e.target.value;\n Object.assign(FilterData, { skill: selectedSkill.value });\n\n // await getLearnerForProxy();\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProficiency = async (e: any) => {\n selectedProficiency.value = e.target.value;\n Object.assign(FilterData, { proficiency: selectedProficiency.value });\n // isVisible.value = false;\n // await getLearnerForProxy();\n };\n const showProxy = async () => {\n isVisible.value = true;\n renderReady.value = false;\n let url = `/v2/admin/proxy/program/${selectedProgram.value}`;\n if (!selectedProgram.value) {\n programErrorMessage.value = 'Please Select Program';\n setTimeout(() => {\n programErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (selectedProgram.value === 'infinity') {\n url = `/v2/admin/proxy/program/infinity/skill/${selectedSkill.value}`;\n if (!selectedSkill.value) {\n skillErrorMessage.value = 'Please Select Skill';\n setTimeout(() => {\n skillErrorMessage.value = null;\n }, 6000);\n return;\n }\n }\n const res = await invokegetAllProxies(url);\n proxyList.value = res.all_proxies;\n proxyDetailsArray.value = proxyList.value.map((proxy) => proxy.proxy_name);\n filteredproxyDetails.value = proxyList.value;\n console.log('Proxy Data', proxyList.value);\n // proxyList.value = await invokeGetProxyList('/getAllProxyBySkill', selectedSkill.value);\n renderReady.value = true;\n console.log('Proxy List', proxyList.value);\n };\n const getFilteredList = (value) => {\n // filteredProgramDetails.value = value;\n // console.log('ProgramDetails.value in final', ProgramDetails.value);\n filteredproxyDetails.value = proxyList.value.filter((proxy) => value.includes(proxy.proxy_name));\n console.log('filteredproxyDetails', filteredproxyDetails.value);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showAssignProxyBtn = async (event: any) => {\n const proxyOhr = event.target.checked;\n if (proxyOhr === true) {\n proxyAssignedBtn.value = true;\n } else {\n proxyAssignedBtn.value = false;\n }\n };\n const assignLearnerToProxy = async () => {\n try {\n renderReady.value = false;\n const data = {\n proxy_key: selectedProxyOhr.value[0],\n learners: selectedTaskId.value,\n linked_program_name: selectedProgram.value,\n skill: selectedSkill.value,\n proficiency: selectedProficiency.value,\n };\n console.log('Selected Data', data);\n const assignProxyRes = await invokeAssignProxyToLearners('/proxyreview', data);\n isVisible.value = false;\n await getLearnerForProxy();\n // router.push({ path: 'assignProxy' });\n // router.go(0);\n renderReady.value = true;\n console.log('data ohr', assignProxyRes);\n } catch (error) {\n console.log('data ohr', error);\n }\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n console.log('inside length');\n if (userRole.value.includes('System Admin') || userRole.value.includes('Proxy Admin') || userRole.value.includes('Community Manager')) {\n showScreen.value = true;\n await getSkillandProf();\n await getProgram();\n } else {\n showScreen.value = false;\n }\n }\n });\n return {\n learnerData,\n skills,\n proficiency,\n renderReady,\n getSelectedSkill,\n getSelectedProficiency,\n isVisible,\n showProxy,\n getSkillandProf,\n getLearnerForProxy,\n selectedTaskId,\n proxyButtonVisible,\n setProxyBtn,\n proxyList,\n selectedProxyOhr,\n checkOne,\n showAssignProxyBtn,\n proxyAssignedBtn,\n assignLearnerToProxy,\n showScreen,\n programDetails,\n showSkillProf,\n getSelectedProgram,\n programErrorMessage,\n skillErrorMessage,\n proficiencyError,\n proxyDetailsArray,\n getFilteredList,\n filteredproxyDetails,\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Assign_Proxy.vue?vue&type=template&id=c65c6044&scoped=true&\"\nimport script from \"./Assign_Proxy.vue?vue&type=script&lang=ts&\"\nexport * from \"./Assign_Proxy.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c65c6044\",\n null\n \n)\n\nexport default component.exports","/* 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 invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string) => {\n const res = await $http.get(url);\n return res.data;\n};\nexport const invokeProxyImport = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data;\n};\n\nexport const deleteProxy = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data.resp_message;\n};\nexport const addProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data.resp_message;\n};\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = 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};\n\nexport const invokeSkillSync = 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 invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = 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 invokeseedDefaultProgram = 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 invokeseedRoles = 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 invokeSeedProxyReviewers = 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 invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = 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// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full flex mt-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"placeholder\":_vm.placeHolder1},domProps:{\"value\":(_vm.search)},on:{\"keyup\":function($event){_vm.filterProgramDetails() & _vm.$emit('Filtered', _vm.filteredProgramDetails)},\"input\":function($event){if($event.target.composing){ return; }_vm.search=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'SearchBar',\n // eslint-disable-next-line vue/require-default-prop\n props: { data: [Array], placeholder: { type: String, default: 'Search' } },\n setup(props) {\n const search = ref('');\n const placeHolder1 = ref();\n const filteredProgramDetails = ref();\n const ProgramDetails = ref();\n const filterProgramDetails = () => {\n // console.log('props.data', props.data);\n ProgramDetails.value = props.data;\n filteredProgramDetails.value = ProgramDetails.value.filter((program) => program.toLowerCase().includes(search.value.toLowerCase()));\n // console.log('filteredProgramDetails', filteredProgramDetails);\n };\n onBeforeMount(async () => {\n // console.log('props.data onbefore mount', props.data);\n placeHolder1.value = props.placeholder;\n console.log('props.placeholder', props.placeholder);\n });\n return { placeHolder1, filteredProgramDetails, filterProgramDetails, search };\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=048accac&\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/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"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/task_management_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?38a6","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?b563","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/assign_proxy_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?7ecc","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?9772","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?c5f0","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/manage_proxy_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/master_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/Assign_Proxy.vue?96d9","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?df17","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?ff88","webpack://@genpact/genome.mfe.solidify-app/./src/components/global/SearchBar.vue?99d4"],"names":["invokegetAllProgram","async","res","$http","get","url","then","response","console","log","data","program_name","invokegetAllTaskByProgram","programId","post","tasks","getAllOffCycleByByProgram","learnerDetails","invokeArchieveTask","taskData","updateOffcyclestatus","getTaskById","getTaskres","taskId","error","uploadBulkTasks","bulkTaskFile","fetch","method","body","uploadResponse","err","importBulkTask","bulkTasData","resetActiveTaskSequence","saveTask","JSON","stringify","savedRes","invokeExportTask","___CSS_LOADER_API_IMPORT___","exports","push","module","i","invokeLearnerForProxyReviewer","invokegetSkillProf","invokeGetProxyList","skillId","allProxyList","invokeAssignProxyToLearners","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_v","on","$event","getSelectedProgram","_l","program","key","program_id","domProps","_s","program_display_name","programErrorMessage","_e","getSelectedSkill","skill","skill_id","skill_alias","skillErrorMessage","getSelectedProficiency","prof","prof_id","prof_name","proficiencyError","getLearnerForProxy","showProxy","id","directives","name","rawName","value","expression","attrs","selectedTaskId","length","learner_task_id","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setProxyBtn","proxy_requested_date","submission_date","ageing","proxyDetailsArray","getFilteredList","assignLearnerToProxy","proxy","proxy_ohr","selectedProxyOhr","showAssignProxyBtn","checkOne","proxy_name","proxy_email","proxy_role","renderReady","staticRenderFns","defineComponent","components","SearchBar","setup","learnerData","ref","skills","proficiency","selectedSkill","selectedProficiency","isVisible","proxyButtonVisible","proxyList","proxyAssignedBtn","userRole","programDetails","showScreen","showSkillProf","selectedProgram","filteredproxyDetails","event","cb","FilterData","getProgram","getSkillandProf","dataRes","setTimeout","resLearnerList","learnerToProxyAssign","index","today","moment","utc","format","requestedDateFormatted","diff","sort","a","b","e","Object","assign","invokegetAllProxies","all_proxies","map","filter","includes","proxyOhr","proxy_key","learners","linked_program_name","assignProxyRes","onBeforeMount","role","invokeGetUserRole","user_roles","component","invokeProxyImport","deleteProxy","resp_message","addProxies","invokeseedMaster","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","assignRoleToUser","removeRoleFromUser","getAllRoles","importLSS","importEnvaccess","content","__esModule","default","locals","add","placeHolder1","filterProgramDetails","$emit","filteredProgramDetails","composing","search","props","placeholder","type","String","ProgramDetails","toLowerCase"],"mappings":"uMAAA,sYAMO,MAAMA,EAAsBC,UACjC,IAAIC,EAOJ,aALMC,OAAMC,IAAIC,GAAKC,KAAMC,IACzBC,QAAQC,IAAI,WAAYF,GACxBL,EAAMK,EAASG,KAAKH,SAASI,aACtBT,IAEFA,GAGIU,EA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G,iBACjB2F,EAAuBA,KAE3BS,EAAe5I,MAAQwI,EAAMvN,KAC7BoN,EAAuBrI,MAAQ4I,EAAe5I,MAAMgF,OAAQxG,GAAYA,EAAQqK,cAAc5D,SAASsD,EAAOvI,MAAM6I,iBAQtH,OALAtD,eAAc/K,UAEZ0N,EAAalI,MAAQwI,EAAMC,YAC3B1N,QAAQC,IAAI,oBAAqBwN,EAAMC,eAElC,CAAEP,eAAcG,yBAAwBF,uBAAsBI,aCnCqvB,I,YCO1zB5C,EAAY,eACd,EACAjI,EACAwE,GACA,EACA,KACA,KACA,MAIa,OAAAyD,E","file":"js/SolidifyAdministrationAssignProxy.js","sourcesContent":["/* 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\nexport const invokegetAllProgram = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n console.log('Response', response);\n res = response.data.response.program_name;\n return res;\n });\n return res;\n};\n\nexport const invokegetAllTaskByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const getAllOffCycleByByProgram = async (url: string, programId: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, programId).then((response) => {\n res = response.data.learnerDetails;\n return res;\n });\n return res;\n};\nexport const invokeArchieveTask = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\nexport const updateOffcyclestatus = async (url: string, taskData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, taskData).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const getTaskById = async (taskId: any) => {\n let getTaskres: any;\n try {\n await $http.get(`/task/${taskId}`).then((response) => {\n getTaskres = response.data.data;\n return getTaskres;\n });\n return getTaskres;\n } catch (error) {\n return error;\n }\n};\nexport const uploadBulkTasks = 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 importBulkTask = async (url: any, bulkTasData: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, bulkTasData).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const resetActiveTaskSequence = async (url: any, data: any) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.post(url, data).then((response) => {\n res = response.data.tasks;\n return res;\n });\n return res;\n};\n\nexport const saveTask = async (data: any) => {\n console.log(`inside save task data ${JSON.stringify(data)}`);\n const savedRes = await $http.post('/task/create', data);\n return savedRes;\n};\n\nexport const invokeExportTask = async (programId: string) => {\n try {\n let res;\n await $http.get(`/admin/task/taskExport/${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","export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--6-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.80.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&prod&scoped=true&lang=css&\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.80.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-c65c6044]{position:fixed;top:30%;left:42%}.tableScroll[data-v-c65c6044]{max-height:50vh;overflow-y:auto}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","/* 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\nexport const invokeLearnerForProxyReviewer = async (url: string, data: any) => {\n // let res;\n // eslint-disable-next-line camelcase\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data;\n // return res;\n // });\n const res = await $http.post(url, data);\n return res;\n};\nexport const invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeGetProxyList = async (url: string, skillId: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(`${url}/${skillId}`).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data.allProxyList;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n\nexport const invokeAssignProxyToLearners = async (url: string, data: any) => {\n // let res;\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_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\"},[_c('div',{staticClass:\"max-w-6xl m-auto shadow p-4 text-background-secondary\"},[_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Select Program \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedProgram($event)}}},[_c('option',[_vm._v(\"Select Program\")]),_vm._l((_vm.programDetails),function(program){return _c('option',{key:program.program_id,domProps:{\"value\":program.program_id}},[_vm._v(_vm._s(program.program_display_name ? program.program_display_name : program.program_name))])})],2),(_vm.programErrorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.programErrorMessage))]):_vm._e()]),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Skill \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedSkill($event)}}},[_c('option',[_vm._v(\"Select Skill\")]),_vm._l((_vm.skills),function(skill){return _c('option',{key:skill.skill_id,domProps:{\"value\":skill.skill_id}},[_vm._v(_vm._s(skill.skill_alias))])})],2),(_vm.skillErrorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.skillErrorMessage))]):_vm._e()]):_vm._e(),(_vm.showSkillProf)?_c('div',{staticClass:\"w-full pr-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Proficiency \")]),_c('select',{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\",on:{\"change\":function($event){return _vm.getSelectedProficiency($event)}}},[_c('option',[_vm._v(\"Select Proficiency\")]),_vm._l((_vm.proficiency),function(prof){return _c('option',{key:prof.prof_id,domProps:{\"value\":prof.prof_id}},[_vm._v(_vm._s(prof.prof_name))])})],2),(_vm.proficiencyError)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.proficiencyError))]):_vm._e()]):_vm._e(),_c('div',{staticClass:\"w-full mb-4\"},[_c('button',{staticClass:\"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.getLearnerForProxy()}}},[_vm._v(\"Search Learner\")])])]),(_vm.proxyButtonVisible)?_c('div',{staticClass:\"flex w-full mt-6\"},[_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.showProxy()}}},[_vm._v(\"View available Proxy\")])])]):_vm._e(),(_vm.learnerData)?_c('div',{staticClass:\"flex w-full\"},[_c('div',{staticClass:\"w-full mt-4 tableScroll\"},[_c('table',{staticClass:\"w-full text-md bg-white rounded\"},[_vm._m(1),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.learnerData),function(data){return _c('tr',{key:data.id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedTaskId),expression:\"selectedTaskId\"}],attrs:{\"type\":\"checkbox\",\"disabled\":_vm.selectedTaskId.length > 4,\"id\":data.learner_task_id},domProps:{\"value\":data.learner_task_id,\"checked\":Array.isArray(_vm.selectedTaskId)?_vm._i(_vm.selectedTaskId,data.learner_task_id)>-1:(_vm.selectedTaskId)},on:{\"change\":[function($event){var $$a=_vm.selectedTaskId,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=data.learner_task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedTaskId=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedTaskId=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedTaskId=$$c}},function($event){return _vm.setProxyBtn($event)}]}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.learner_task_id))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.proxy_requested_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.submission_date))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(data.ageing))])])}),0)])])]):_vm._e(),(_vm.isVisible)?_c('div',{staticClass:\"w-full mt-4%\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Available Proxy\")]),(_vm.proxyList)?_c('div',{staticClass:\"w-full flex mt-6\"},[_c('SearchBar',{attrs:{\"data\":_vm.proxyDetailsArray,\"placeholder\":\"Search By Proxy Name\"},on:{\"Filtered\":_vm.getFilteredList}})],1):_vm._e(),(_vm.proxyAssignedBtn)?_c('div',{staticClass:\"w-1/4 pr-3 mb-4\"},[_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary\",on:{\"click\":function($event){return _vm.assignLearnerToProxy()}}},[_vm._v(\"Assign Proxy\")])]):_vm._e(),_c('div',{staticClass:\"w-full mt-4\"},[_c('table',{staticClass:\"w-full text-md bg-white shadow rounded text-over\"},[_vm._m(2),_c('tbody',{staticClass:\"opacity-80 -text-blue-800 align-bottom\"},_vm._l((_vm.filteredproxyDetails),function(proxy,id){return _c('tr',{key:id,staticClass:\"border-b hover:bg-gray-300\"},[_c('td',{staticClass:\"py-2 pl-3 pr-0 text-sm w-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedProxyOhr),expression:\"selectedProxyOhr\"}],attrs:{\"type\":\"checkbox\",\"id\":proxy.proxy_ohr},domProps:{\"value\":proxy.proxy_ohr,\"checked\":Array.isArray(_vm.selectedProxyOhr)?_vm._i(_vm.selectedProxyOhr,proxy.proxy_ohr)>-1:(_vm.selectedProxyOhr)},on:{\"change\":[function($event){var $$a=_vm.selectedProxyOhr,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=proxy.proxy_ohr,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.selectedProxyOhr=$$a.concat([$$v]))}else{$$i>-1&&(_vm.selectedProxyOhr=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.selectedProxyOhr=$$c}},function($event){return _vm.showAssignProxyBtn($event)}],\"click\":_vm.checkOne}})]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_name))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_email))]),_c('td',{staticClass:\"p-2 px-3\"},[_vm._v(_vm._s(proxy.proxy_role))]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(_vm._s(proxy.proxy_ohr))])])}),0)])])]):_vm._e()])]),(!_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()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl text-background-secondary\"},[_vm._v(\"Assign Proxy\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"ID - Learner Activities\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Proxy Reviewer Requested Date\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Task Submission Date\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Ageing\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('thead',{staticClass:\"opacity-90 -text-blue-800\"},[_c('tr',{staticClass:\"border-b\"},[_c('th',{staticClass:\"text-left py-2 pl-3 pr-0 w-6 text-background-secondary\"}),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Name\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Email\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"Role\")]),_c('th',{staticClass:\"text-left p-2 px-3 text-background-secondary\"},[_vm._v(\"OHR\")])])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport moment from 'moment';\nimport { invokeGetUserRole } from '@/utils/admin/master_service';\nimport { invokeAssignProxyToLearners, invokegetSkillProf, invokeLearnerForProxyReviewer } from '@/utils/admin/assign_proxy_service';\nimport { invokegetAllProgram } from '@/utils/admin/task_management_service';\nimport { invokegetAllProxies } from '@/utils/admin/manage_proxy_service';\nimport SearchBar from '@/components/global/SearchBar.vue';\n\n// eslint-disable-next-line import/no-cycle\n// import router from '@/router';\n// import { XIcon } from 'vue-feather-icons';\n\nexport default defineComponent({\n name: 'AssignProxy',\n components: { SearchBar },\n setup() {\n const learnerData = ref();\n const skills = ref();\n const proficiency = ref();\n const renderReady = ref();\n const selectedSkill = ref();\n const selectedProficiency = ref();\n const isVisible = ref(false);\n const proxyButtonVisible = ref(false);\n const proxyList = ref();\n const selectedTaskId = ref([]);\n const selectedProxyOhr = ref();\n const proxyAssignedBtn = ref(false);\n const userRole = ref();\n const programDetails = ref();\n const showScreen = ref(true);\n const showSkillProf = ref(false);\n const selectedProgram = ref();\n const programErrorMessage = ref();\n const skillErrorMessage = ref();\n const proficiencyError = ref();\n const proxyDetailsArray = ref();\n const filteredproxyDetails = ref();\n\n const checkOne = () => {\n selectedProxyOhr.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setProxyBtn = (event: any) => {\n const cb = event.target.checked;\n // console.log('length', cb.length);\n if (cb === true) {\n console.log('selected Task id', selectedTaskId.value);\n proxyButtonVisible.value = true;\n // console.log(cb);\n } else if (selectedTaskId.value.length === 0) {\n proxyButtonVisible.value = false;\n isVisible.value = false;\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const FilterData: any = {};\n const getProgram = async () => {\n renderReady.value = false;\n programDetails.value = await invokegetAllProgram('/cache?cache=program');\n // console.log(programDetails.value);\n renderReady.value = true;\n };\n const getSkillandProf = async () => {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = await invokegetSkillProf('/getAllSkillProf?skill_type=genome');\n skills.value = dataRes.skill;\n proficiency.value = dataRes.proficiency;\n renderReady.value = true;\n };\n const getLearnerForProxy = async () => {\n try {\n if (!selectedProgram.value) {\n programErrorMessage.value = 'Please Select Program';\n setTimeout(() => {\n programErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (selectedProgram.value === 'infinity') {\n if (!selectedSkill.value) {\n skillErrorMessage.value = 'Please Select Skill';\n setTimeout(() => {\n skillErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (!selectedProficiency.value) {\n proficiencyError.value = 'Please Select Proficiency';\n setTimeout(() => {\n proficiencyError.value = null;\n }, 6000);\n return;\n }\n }\n\n // if (FilterData.skill && FilterData.proficiency) {\n // console.log(FilterData);\n renderReady.value = false;\n await checkOne();\n selectedTaskId.value = [];\n proxyButtonVisible.value = false;\n // selectedTaskId.value.length == 0;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const resLearnerList: any = await invokeLearnerForProxyReviewer('/learnerTaskToProxyAssign', FilterData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const dataRes: any = resLearnerList.data;\n learnerData.value = dataRes.learnerToProxyAssign;\n // const sortedArray = dataRes.sort((a: any, b: any) => moment(b.proxy_requested_date).utc().unix() - moment(a.submission_date).utc().unix());\n if (learnerData.value) {\n for (let index = 0; index < learnerData.value.length; index += 1) {\n const res = learnerData.value[index];\n const today = moment().utc().format('YYYY-MM-DD');\n if (res.proxy_requested_date) {\n const requestedDateFormatted = moment(res.proxy_requested_date).utc().format('YYYY-MM-DD');\n res.ageing = moment(today).diff(moment(requestedDateFormatted), 'days');\n res.proxy_requested_date = moment(res.proxy_requested_date).format('DD-MM-YYYY');\n }\n if (res.submission_date) {\n res.submission_date = moment(res.submission_date).format('DD-MM-YYYY');\n }\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n learnerData.value = learnerData.value.sort((a: any, b: any) => b.ageing - a.ageing);\n }\n\n isVisible.value = false;\n console.log('Learner Data', learnerData.value);\n renderReady.value = true;\n // }\n } catch (error) {\n console.log(error);\n }\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProgram = async (e: any) => {\n selectedProgram.value = e.target.value;\n Object.assign(FilterData, { program_id: selectedProgram.value });\n if (selectedProgram.value !== 'Select Program') {\n if (selectedProgram.value === 'infinity') {\n showSkillProf.value = true;\n } else {\n selectedSkill.value = '';\n showSkillProf.value = false;\n }\n }\n // localStorage.setItem('program', selectedProgram.value);\n // localStorage.removeItem('inputValue');\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedSkill = async (e: any) => {\n // console.log(e.target.removeAttr('selected'));\n selectedSkill.value = e.target.value;\n Object.assign(FilterData, { skill: selectedSkill.value });\n\n // await getLearnerForProxy();\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getSelectedProficiency = async (e: any) => {\n selectedProficiency.value = e.target.value;\n Object.assign(FilterData, { proficiency: selectedProficiency.value });\n // isVisible.value = false;\n // await getLearnerForProxy();\n };\n const showProxy = async () => {\n isVisible.value = true;\n renderReady.value = false;\n let url = `/v2/admin/proxy/program/${selectedProgram.value}`;\n if (!selectedProgram.value) {\n programErrorMessage.value = 'Please Select Program';\n setTimeout(() => {\n programErrorMessage.value = null;\n }, 6000);\n return;\n }\n if (selectedProgram.value === 'infinity') {\n url = `/v2/admin/proxy/program/infinity/skill/${selectedSkill.value}`;\n if (!selectedSkill.value) {\n skillErrorMessage.value = 'Please Select Skill';\n setTimeout(() => {\n skillErrorMessage.value = null;\n }, 6000);\n return;\n }\n }\n const res = await invokegetAllProxies(url);\n proxyList.value = res.all_proxies;\n proxyDetailsArray.value = proxyList.value.map((proxy) => proxy.proxy_name);\n filteredproxyDetails.value = proxyList.value;\n console.log('Proxy Data', proxyList.value);\n // proxyList.value = await invokeGetProxyList('/getAllProxyBySkill', selectedSkill.value);\n renderReady.value = true;\n console.log('Proxy List', proxyList.value);\n };\n const getFilteredList = (value) => {\n // filteredProgramDetails.value = value;\n // console.log('ProgramDetails.value in final', ProgramDetails.value);\n filteredproxyDetails.value = proxyList.value.filter((proxy) => value.includes(proxy.proxy_name));\n console.log('filteredproxyDetails', filteredproxyDetails.value);\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const showAssignProxyBtn = async (event: any) => {\n const proxyOhr = event.target.checked;\n if (proxyOhr === true) {\n proxyAssignedBtn.value = true;\n } else {\n proxyAssignedBtn.value = false;\n }\n };\n const assignLearnerToProxy = async () => {\n try {\n renderReady.value = false;\n const data = {\n proxy_key: selectedProxyOhr.value[0],\n learners: selectedTaskId.value,\n linked_program_name: selectedProgram.value,\n skill: selectedSkill.value,\n proficiency: selectedProficiency.value,\n };\n console.log('Selected Data', data);\n const assignProxyRes = await invokeAssignProxyToLearners('/proxyreview', data);\n isVisible.value = false;\n await getLearnerForProxy();\n // router.push({ path: 'assignProxy' });\n // router.go(0);\n renderReady.value = true;\n console.log('data ohr', assignProxyRes);\n } catch (error) {\n console.log('data ohr', error);\n }\n };\n onBeforeMount(async () => {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n console.log('inside length');\n if (userRole.value.includes('System Admin') || userRole.value.includes('Proxy Admin') || userRole.value.includes('Community Manager')) {\n showScreen.value = true;\n await getSkillandProf();\n await getProgram();\n } else {\n showScreen.value = false;\n }\n }\n });\n return {\n learnerData,\n skills,\n proficiency,\n renderReady,\n getSelectedSkill,\n getSelectedProficiency,\n isVisible,\n showProxy,\n getSkillandProf,\n getLearnerForProxy,\n selectedTaskId,\n proxyButtonVisible,\n setProxyBtn,\n proxyList,\n selectedProxyOhr,\n checkOne,\n showAssignProxyBtn,\n proxyAssignedBtn,\n assignLearnerToProxy,\n showScreen,\n programDetails,\n showSkillProf,\n getSelectedProgram,\n programErrorMessage,\n skillErrorMessage,\n proficiencyError,\n proxyDetailsArray,\n getFilteredList,\n filteredproxyDetails,\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Assign_Proxy.vue?vue&type=template&id=c65c6044&scoped=true&\"\nimport script from \"./Assign_Proxy.vue?vue&type=script&lang=ts&\"\nexport * from \"./Assign_Proxy.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c65c6044\",\n null\n \n)\n\nexport default component.exports","/* 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 invokegetSkillProf = async (url: string) => {\n let res;\n // eslint-disable-next-line camelcase\n await $http.get(url).then((response) => {\n // console.log(response.data.sys_settings);\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeProgramProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n // await $http.post(url, data).then((response) => {\n // // console.log(response.data.sys_settings);\n // res = response.data.allProxyList;\n // return res;\n // });\n return res;\n};\nexport const invokegetAllProxies = async (url: string) => {\n const res = await $http.get(url);\n return res.data;\n};\nexport const invokeProxyImport = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data;\n};\n\nexport const deleteProxy = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data.resp_message;\n};\nexport const addProxies = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res.data.resp_message;\n};\n","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = 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};\n\nexport const invokeSkillSync = 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 invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = 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 invokeseedDefaultProgram = 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 invokeseedRoles = 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 invokeSeedProxyReviewers = 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 invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = 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// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","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@5.80.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./Assign_Proxy.vue?vue&type=style&index=0&id=c65c6044&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(\"4ac6ebfc\", content, true, {\"sourceMap\":false,\"shadowMode\":false});","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full flex mt-6\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.search),expression:\"search\"}],staticClass:\"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\",\"placeholder\":_vm.placeHolder1},domProps:{\"value\":(_vm.search)},on:{\"keyup\":function($event){_vm.filterProgramDetails() & _vm.$emit('Filtered', _vm.filteredProgramDetails)},\"input\":function($event){if($event.target.composing){ return; }_vm.search=$event.target.value}}})])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\n\nexport default defineComponent({\n name: 'SearchBar',\n // eslint-disable-next-line vue/require-default-prop\n props: { data: [Array], placeholder: { type: String, default: 'Search' } },\n setup(props) {\n const search = ref('');\n const placeHolder1 = ref();\n const filteredProgramDetails = ref();\n const ProgramDetails = ref();\n const filterProgramDetails = () => {\n // console.log('props.data', props.data);\n ProgramDetails.value = props.data;\n filteredProgramDetails.value = ProgramDetails.value.filter((program) => program.toLowerCase().includes(search.value.toLowerCase()));\n // console.log('filteredProgramDetails', filteredProgramDetails);\n };\n onBeforeMount(async () => {\n // console.log('props.data onbefore mount', props.data);\n placeHolder1.value = props.placeholder;\n console.log('props.placeholder', props.placeholder);\n });\n return { placeHolder1, filteredProgramDetails, filterProgramDetails, search };\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./SearchBar.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./SearchBar.vue?vue&type=template&id=048accac&\"\nimport script from \"./SearchBar.vue?vue&type=script&lang=ts&\"\nexport * from \"./SearchBar.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/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"],"sourceRoot":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationAssignRoleToUser"],{"
|
|
1
|
+
(window["webpackJsonp__@genpact/genome.mfe.solidify-app"]=window["webpackJsonp__@genpact/genome.mfe.solidify-app"]||[]).push([["SolidifyAdministrationAssignRoleToUser"],{"0522":function(e,t,a){var n=a("5a0f");t=n(!1),t.push([e.i,".pageLoader[data-v-999ded6e]{position:fixed;top:30%;left:42%}",""]),e.exports=t},"60f3":function(e,t,a){"use strict";a.r(t);var n=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin"},[e.showScreen?n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[e._m(0),e.renderReady?n("div",{staticClass:"w-full mt-4"},[n("div",{staticClass:"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900"},[n("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Roles ")]),n("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedRole,expression:"selectedRole"}],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",on:{change:function(t){var a=Array.prototype.filter.call(t.target.options,(function(e){return e.selected})).map((function(e){var t="_value"in e?e._value:e.value;return t}));e.selectedRole=t.target.multiple?a:a[0]}}},e._l(e.roles,(function(t){return n("option",{key:t.roleName,domProps:{value:t.roleName}},[e._v(e._s(t.roleName))])})),0),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full md:w-1/2 px-3 mb-4"},[n("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" OHR ")]),n("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrToAssignRole,expression:"ohrToAssignRole"}],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:{type:"text"},domProps:{value:e.ohrToAssignRole},on:{input:function(t){t.target.composing||(e.ohrToAssignRole=t.target.value)}}}),e.errorMessage?n("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e()]),n("div",{staticClass:"w-full px-3 text-center mt-4"},[n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4",on:{click:function(t){return e.updateRecord()}}},[e._v("Assign Role")]),n("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block",on:{click:function(t){return e.removeRole()}}},[e._v("Remove Role")])]),e.showSuccessMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e(),e.showErrorMessage?n("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[e._v(" "+e._s(e.resMessage)+" ")]):e._e()])])]):e._e(),e.renderReady?e._e():n("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[n("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a("9d04"),alt:"Loader Gif"}}),n("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):n("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._v("You don't have access")])])},s=[function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",{staticClass:"w-full"},[a("div",{staticClass:"text-center text-3xl -text-blue-900"},[e._v("Assign Role")])])}],r=a("c1ec"),o=a("1dba"),l=a.n(o),u=a("8596"),c=Object(r["b"])({name:"AssignRoleToOhr",setup(){const e=Object(r["f"])(""),t=Object(r["f"])(!0),a=Object(r["f"])(),n=Object(r["f"])(),s=Object(r["f"])(),o=Object(r["f"])(!0),c=Object(r["f"])(!1),i=Object(r["f"])(),d=Object(r["f"])(!1),f=Object(r["f"])(),g=async()=>{try{if(void 0===a.value)n.value="Please Select One Role",setTimeout(()=>{n.value=null},6e3);else if(e){t.value=!1,console.log("selectedRole "+a.value);const n=[];n.push(e.value);const s={ohr_list:n,role_name:a.value};console.log("data "+JSON.stringify(s));const r=await Object(u["a"])(s);i.value=r.data,t.value=!0,c.value=!0,setTimeout(()=>{c.value=!1},2e3)}else n.value="Please Enter OHR to Assign Role",setTimeout(()=>{n.value=null},6e3)}catch(r){if(l.a.isAxiosError(r)){var s;const e=r;t.value=!0,i.value=null===(s=e.response)||void 0===s?void 0:s.data.message,d.value=!0,setTimeout(()=>{d.value=!1},2e3)}}},v=async()=>{try{if(void 0===a.value)n.value="Please Select One Role",setTimeout(()=>{n.value=null},6e3);else if(e){t.value=!1,console.log("selectedRole "+a.value);const n={user_ohr:e.value,role_name:a.value};console.log("data "+JSON.stringify(n));const s=await Object(u["B"])(n);i.value=s.data,t.value=!0,c.value=!0,console.log("showSuccessMessage.value "+JSON.stringify(s)),setTimeout(()=>{c.value=!1},2e3)}else n.value="Please Enter OHR to remove Role",setTimeout(()=>{n.value=null},6e3)}catch(o){if(console.log("inside catch"),l.a.isAxiosError(o)){var s,r;const e=o;console.log(null===(s=e.response)||void 0===s?void 0:s.data),t.value=!0,i.value=null===(r=e.response)||void 0===r?void 0:r.data.message,console.log("errorMessage.value "+n.value),d.value=!0,setTimeout(()=>{d.value=!1},2e3)}}};return Object(r["c"])(async()=>{try{t.value=!1;const e=await Object(u["g"])("/getUserRole");if(s.value=e.user_roles,s.value.length>0){s.value.includes("System Admin")?o.value=!0:o.value=!1;const e=await Object(u["b"])();f.value=e.data.roles}t.value=!0}catch(e){console.log(e)}}),{renderReady:t,roles:f,ohrToAssignRole:e,selectedRole:a,updateRecord:g,errorMessage:n,showScreen:o,resMessage:i,showErrorMessage:d,showSuccessMessage:c,removeRole:v}}}),i=c,d=(a("c542"),a("dcde")),f=Object(d["a"])(i,n,s,!1,null,"999ded6e",null);t["default"]=f.exports},8596:function(e,t,a){"use strict";a.d(t,"y",(function(){return s})),a.d(t,"t",(function(){return r})),a.d(t,"u",(function(){return o})),a.d(t,"e",(function(){return l})),a.d(t,"x",(function(){return u})),a.d(t,"z",(function(){return c})),a.d(t,"r",(function(){return i})),a.d(t,"s",(function(){return d})),a.d(t,"f",(function(){return f})),a.d(t,"v",(function(){return g})),a.d(t,"h",(function(){return v})),a.d(t,"j",(function(){return b})),a.d(t,"q",(function(){return p})),a.d(t,"o",(function(){return m})),a.d(t,"p",(function(){return w})),a.d(t,"m",(function(){return y})),a.d(t,"k",(function(){return h})),a.d(t,"l",(function(){return x})),a.d(t,"A",(function(){return _})),a.d(t,"C",(function(){return R})),a.d(t,"w",(function(){return O})),a.d(t,"n",(function(){return C})),a.d(t,"i",(function(){return j})),a.d(t,"g",(function(){return k})),a.d(t,"a",(function(){return A})),a.d(t,"B",(function(){return M})),a.d(t,"b",(function(){return T})),a.d(t,"d",(function(){return S})),a.d(t,"c",(function(){return E}));var n=a("26fa");const s=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},r=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},o=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},l=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},u=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},c=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},i=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},d=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},f=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},g=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},v=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},b=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},p=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},m=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},w=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},y=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},h=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},x=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},_=async e=>{const t=await n["b"].get(e);return t},R=async e=>{const t=await n["b"].get(e);return t},O=async e=>{const t=await n["b"].get(e);return t},C=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},j=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data,t)),t},k=async e=>{let t;return await n["b"].get(e).then(e=>(t=e.data.userObj,t)),t},A=async e=>{const t=await n["b"].post("/user/role",e);return t},M=async e=>{const t=await n["b"].post("/user/removeRole",e);return t},T=async()=>{const e=await n["b"].get("role");return e},S=async e=>{const t=await n["b"].post("/user/saveLSS",e);return t},E=async e=>{const t=await n["b"].post("/user/saveEnvAccess",e);return t}},"9d04":function(e,t,a){e.exports=a.p+"img/loadernew.gif"},c542:function(e,t,a){"use strict";a("e1a8")},e1a8:function(e,t,a){var n=a("0522");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var s=a("c69b").default;s("42b23544",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|
|
2
2
|
//# sourceMappingURL=SolidifyAdministrationAssignRoleToUser.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?dea3","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?35a4","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?a363","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?109a","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/master_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?c4f8","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?09e2"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_v","directives","name","rawName","value","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","selectedRole","multiple","_l","role","key","roleName","domProps","_s","errorMessage","_e","attrs","composing","ohrToAssignRole","updateRecord","removeRole","resMessage","renderReady","staticRenderFns","defineComponent","setup","ref","userRole","showScreen","showSuccessMessage","showErrorMessage","roles","async","undefined","setTimeout","console","log","ohrList","data","ohr_list","role_name","JSON","stringify","res","assignRoleToUser","error","axios","isAxiosError","_err$response","err","response","message","user_ohr","removeRoleFromUser","_err$response2","_err$response3","onBeforeMount","invokeGetUserRole","user_roles","length","includes","roleRes","getAllRoles","component","invokeseedMaster","$http","get","url","then","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","post","importLSS","importEnvaccess","content","__esModule","default","locals","add"],"mappings":"iMACA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,gEAAiE,KAE1FD,EAAOF,QAAUA,G,2CCNjB,IAAII,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAAY,SAAS,CAAEN,EAAc,WAAEI,EAAG,MAAM,CAACE,YAAY,6EAA6E,CAACN,EAAIO,GAAG,GAAIP,EAAe,YAAEI,EAAG,MAAM,CAACE,YAAY,eAAe,CAACF,EAAG,MAAM,CAACE,YAAY,mDAAmD,CAACF,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,MAAM,CAACE,YAAY,6BAA6B,CAACF,EAAG,QAAQ,CAACE,YAAY,kEAAkE,CAACN,EAAIQ,GAAG,aAAaJ,EAAG,SAAS,CAACK,WAAW,CAAC,CAACC,KAAK,QAAQC,QAAQ,UAAUC,MAAOZ,EAAgB,aAAEa,WAAW,iBAAiBP,YAAY,4JAA4JQ,GAAG,CAAC,OAAS,SAASC,GAAQ,IAAIC,EAAgBC,MAAMC,UAAUC,OAAOC,KAAKL,EAAOM,OAAOC,SAAQ,SAASC,GAAG,OAAOA,EAAEC,YAAWC,KAAI,S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AOK,GAGImB,EAAc9B,UACzB,MAAMW,QAAYsB,OAAMC,IAAI,QAC5B,OAAOvB,GAEIkD,EAAY7D,UACvB,MAAMW,QAAYsB,OAAM2B,KAAK,gBAAiBlF,GAC9C,OAAOiC,GAEImD,EAAkB9D,UAC7B,MAAMW,QAAYsB,OAAM2B,KAAK,sBAAuBlF,GACpD,OAAOiC,I,uBCjOTpE,EAAOF,QAAU,IAA0B,qB,kCCA3C,W,qBCGA,IAAI0H,EAAU,EAAQ,QACnBA,EAAQC,aAAYD,EAAUA,EAAQE,SACnB,kBAAZF,IAAsBA,EAAU,CAAC,CAACxH,EAAOC,EAAIuH,EAAS,MAC7DA,EAAQG,SAAQ3H,EAAOF,QAAU0H,EAAQG,QAE5C,IAAIC,EAAM,EAAQ,QAA4GF,QACjHE,EAAI,WAAYJ,GAAS,EAAM,CAAC,WAAY,EAAM,YAAa","file":"js/SolidifyAdministrationAssignRoleToUser.js","sourcesContent":["// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.79.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-999ded6e]{position:fixed;top:30%;left:42%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12\"},[_vm._m(0),(_vm.renderReady)?_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900\"},[_c('div',{staticClass:\"flex flex-wrap -mx-3 mb-6\"},[_c('div',{staticClass:\"w-full md:w-1/2 px-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Roles \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedRole),expression:\"selectedRole\"}],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\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedRole=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.roles),function(role){return _c('option',{key:role.roleName,domProps:{\"value\":role.roleName}},[_vm._v(_vm._s(role.roleName))])}),0),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()]),_c('div',{staticClass:\"w-full md:w-1/2 px-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" OHR \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ohrToAssignRole),expression:\"ohrToAssignRole\"}],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:{\"type\":\"text\"},domProps:{\"value\":(_vm.ohrToAssignRole)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.ohrToAssignRole=$event.target.value}}}),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()]),_c('div',{staticClass:\"w-full px-3 text-center mt-4\"},[_c('button',{staticClass:\"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4\",on:{\"click\":function($event){return _vm.updateRecord()}}},[_vm._v(\"Assign Role\")]),_c('button',{staticClass:\"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block\",on:{\"click\":function($event){return _vm.removeRole()}}},[_vm._v(\"Remove Role\")])]),(_vm.showSuccessMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showErrorMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e()])])]):_vm._e(),(!_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()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl -text-blue-900\"},[_vm._v(\"Assign Role\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport axios, { AxiosError } from 'axios';\nimport { assignRoleToUser, getAllRoles, invokeGetUserRole, removeRoleFromUser } from '@/utils/admin/master_service';\n\nexport default defineComponent({\n name: 'AssignRoleToOhr',\n setup() {\n const ohrToAssignRole = ref('');\n const renderReady = ref(true);\n const selectedRole = ref();\n const errorMessage = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const showSuccessMessage = ref(false);\n const resMessage = ref();\n const showErrorMessage = ref(false);\n const roles = ref();\n // const roles = ['System Admin', 'System Admin View Access', 'Proxy Admin', 'Community Manager', 'Knowledge Manager', 'Guru', 'Master Guru', 'Program Admin', 'Learner'];\n const updateRecord = async () => {\n try {\n if (selectedRole.value === undefined) {\n errorMessage.value = 'Please Select One Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else if (!ohrToAssignRole) {\n errorMessage.value = 'Please Enter OHR to Assign Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n renderReady.value = false;\n console.log(`selectedRole ${selectedRole.value}`);\n const ohrList: string[] = [];\n ohrList.push(ohrToAssignRole.value);\n const data = {\n ohr_list: ohrList,\n role_name: selectedRole.value,\n };\n console.log(`data ${JSON.stringify(data)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await assignRoleToUser(data);\n resMessage.value = res.data;\n renderReady.value = true;\n showSuccessMessage.value = true;\n // console.log(`showSuccessMessage.value ${JSON.stringify(res)}`);\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 2000);\n }\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n renderReady.value = true;\n resMessage.value = err.response?.data.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 2000);\n }\n }\n };\n const removeRole = async () => {\n try {\n if (selectedRole.value === undefined) {\n errorMessage.value = 'Please Select One Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else if (!ohrToAssignRole) {\n errorMessage.value = 'Please Enter OHR to remove Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n renderReady.value = false;\n console.log(`selectedRole ${selectedRole.value}`);\n const data = {\n user_ohr: ohrToAssignRole.value,\n role_name: selectedRole.value,\n };\n console.log(`data ${JSON.stringify(data)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await removeRoleFromUser(data);\n resMessage.value = res.data;\n renderReady.value = true;\n showSuccessMessage.value = true;\n console.log(`showSuccessMessage.value ${JSON.stringify(res)}`);\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 2000);\n }\n } catch (error) {\n console.log('inside catch');\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n renderReady.value = true;\n resMessage.value = err.response?.data.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 2000);\n }\n }\n };\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n const roleRes = await getAllRoles();\n roles.value = roleRes.data.roles;\n }\n // userRole.value = role.user_roles;\n\n renderReady.value = true;\n // userRole.value = localStorage.getItem('user_roles') ? localStorage.getItem('user_roles') : [];\n // if (userRole.value.length > 0) {\n // if (userRole.value.includes('System Admin')) {\n // showScreen.value = true;\n // }\n // }\n } catch (error) {\n console.log(error);\n }\n // userRole.value = localStorage.getItem('user_roles') ? localStorage.getItem('user_roles') : [];\n // if (userRole.value.length > 0) {\n // if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access')) {\n // showScreen.value = true;\n // }\n // }\n });\n return {\n renderReady,\n roles,\n ohrToAssignRole,\n selectedRole,\n updateRecord,\n errorMessage,\n showScreen,\n resMessage,\n showErrorMessage,\n showSuccessMessage,\n removeRole,\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AssignRoleToUser.vue?vue&type=template&id=999ded6e&scoped=true&\"\nimport script from \"./AssignRoleToUser.vue?vue&type=script&lang=ts&\"\nexport * from \"./AssignRoleToUser.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"999ded6e\",\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 */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = 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};\n\nexport const invokeSkillSync = 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 invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = 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 invokeseedDefaultProgram = 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 invokeseedRoles = 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 invokeSeedProxyReviewers = 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 invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = 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// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--6-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.79.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&prod&scoped=true&lang=css&\"","// 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@5.79.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&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(\"10872a98\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"sourceRoot":""}
|
|
1
|
+
{"version":3,"sources":["webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?31d1","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?4863","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?a363","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?109a","webpack://@genpact/genome.mfe.solidify-app/./src/utils/admin/master_service.ts","webpack://@genpact/genome.mfe.solidify-app/./src/assets/images/loadernew.gif","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?68ed","webpack://@genpact/genome.mfe.solidify-app/./src/views/Admin/AssignRoleToUser.vue?5927"],"names":["___CSS_LOADER_API_IMPORT___","exports","push","module","i","render","_vm","this","_h","$createElement","_c","_self","staticClass","_m","_v","directives","name","rawName","value","expression","on","$event","$$selectedVal","Array","prototype","filter","call","target","options","o","selected","map","val","_value","selectedRole","multiple","_l","role","key","roleName","domProps","_s","errorMessage","_e","attrs","composing","ohrToAssignRole","updateRecord","removeRole","resMessage","renderReady","staticRenderFns","defineComponent","setup","ref","userRole","showScreen","showSuccessMessage","showErrorMessage","roles","async","undefined","setTimeout","console","log","ohrList","data","ohr_list","role_name","JSON","stringify","res","assignRoleToUser","error","axios","isAxiosError","_err$response","err","response","message","user_ohr","removeRoleFromUser","_err$response2","_err$response3","onBeforeMount","invokeGetUserRole","user_roles","length","includes","roleRes","getAllRoles","component","invokeseedMaster","$http","get","url","then","invokeSkillSync","invokeTemplateSeed","invokeCacheSync","invokeseedDefaultProgram","invokeseedRoles","invokeSeedProxyReviewers","invokeSeedUser","invokeDiffAccess","invokemigrateCohort","invokeMigrateCohortLA","invokeMigrateCohortReview","invokeS2TasksMigration","userObj","invokeS2LAImport","invokeS2LAMigration","invokeMigrateS3Task","invokeMigrateS3LA","invokeMigrateS3Review","removeDuplicateProxyLearner","updateS3CohortsLearnerModifiedDate","invokeofcon","invokeProxyReviewSeed","invokeMigrateCohortProgram","post","importLSS","importEnvaccess","content","__esModule","default","locals","add"],"mappings":"iMACA,IAAIA,EAA8B,EAAQ,QAC1CC,EAAUD,GAA4B,GAEtCC,EAAQC,KAAK,CAACC,EAAOC,EAAI,gEAAiE,KAE1FD,EAAOF,QAAUA,G,2CCNjB,IAAII,EAAS,WAAa,IAAIC,EAAIC,KAASC,EAAGF,EAAIG,eAAmBC,EAAGJ,EAAIK,MAAMD,IAAIF,EAAG,OAAOE,EAAG,MAAM,CAACE,YAA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_webpack@5.80.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".pageLoader[data-v-999ded6e]{position:fixed;top:30%;left:42%}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"admin\"},[(_vm.showScreen)?_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12\"},[_vm._m(0),(_vm.renderReady)?_c('div',{staticClass:\"w-full mt-4\"},[_c('div',{staticClass:\"max-w-4xl m-auto shadow p-5 mb-4 -text-blue-900\"},[_c('div',{staticClass:\"flex flex-wrap -mx-3 mb-6\"},[_c('div',{staticClass:\"w-full md:w-1/2 px-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" Roles \")]),_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedRole),expression:\"selectedRole\"}],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\",on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedRole=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.roles),function(role){return _c('option',{key:role.roleName,domProps:{\"value\":role.roleName}},[_vm._v(_vm._s(role.roleName))])}),0),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()]),_c('div',{staticClass:\"w-full md:w-1/2 px-3 mb-4\"},[_c('label',{staticClass:\"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2\"},[_vm._v(\" OHR \")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.ohrToAssignRole),expression:\"ohrToAssignRole\"}],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:{\"type\":\"text\"},domProps:{\"value\":(_vm.ohrToAssignRole)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.ohrToAssignRole=$event.target.value}}}),(_vm.errorMessage)?_c('div',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.errorMessage))]):_vm._e()]),_c('div',{staticClass:\"w-full px-3 text-center mt-4\"},[_c('button',{staticClass:\"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block mr-4\",on:{\"click\":function($event){return _vm.updateRecord()}}},[_vm._v(\"Assign Role\")]),_c('button',{staticClass:\"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 inline-block\",on:{\"click\":function($event){return _vm.removeRole()}}},[_vm._v(\"Remove Role\")])]),(_vm.showSuccessMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e(),(_vm.showErrorMessage)?_c('div',{staticClass:\"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white\"},[_vm._v(\" \"+_vm._s(_vm.resMessage)+\" \")]):_vm._e()])])]):_vm._e(),(!_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()]):_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10\"},[_vm._v(\"You don't have access\")])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"w-full\"},[_c('div',{staticClass:\"text-center text-3xl -text-blue-900\"},[_vm._v(\"Assign Role\")])])}]\n\nexport { render, staticRenderFns }","\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport axios, { AxiosError } from 'axios';\nimport { assignRoleToUser, getAllRoles, invokeGetUserRole, removeRoleFromUser } from '@/utils/admin/master_service';\n\nexport default defineComponent({\n name: 'AssignRoleToOhr',\n setup() {\n const ohrToAssignRole = ref('');\n const renderReady = ref(true);\n const selectedRole = ref();\n const errorMessage = ref();\n const userRole = ref();\n const showScreen = ref(true);\n const showSuccessMessage = ref(false);\n const resMessage = ref();\n const showErrorMessage = ref(false);\n const roles = ref();\n // const roles = ['System Admin', 'System Admin View Access', 'Proxy Admin', 'Community Manager', 'Knowledge Manager', 'Guru', 'Master Guru', 'Program Admin', 'Learner'];\n const updateRecord = async () => {\n try {\n if (selectedRole.value === undefined) {\n errorMessage.value = 'Please Select One Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else if (!ohrToAssignRole) {\n errorMessage.value = 'Please Enter OHR to Assign Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n renderReady.value = false;\n console.log(`selectedRole ${selectedRole.value}`);\n const ohrList: string[] = [];\n ohrList.push(ohrToAssignRole.value);\n const data = {\n ohr_list: ohrList,\n role_name: selectedRole.value,\n };\n console.log(`data ${JSON.stringify(data)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await assignRoleToUser(data);\n resMessage.value = res.data;\n renderReady.value = true;\n showSuccessMessage.value = true;\n // console.log(`showSuccessMessage.value ${JSON.stringify(res)}`);\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 2000);\n }\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n renderReady.value = true;\n resMessage.value = err.response?.data.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 2000);\n }\n }\n };\n const removeRole = async () => {\n try {\n if (selectedRole.value === undefined) {\n errorMessage.value = 'Please Select One Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else if (!ohrToAssignRole) {\n errorMessage.value = 'Please Enter OHR to remove Role';\n setTimeout(() => {\n errorMessage.value = null;\n }, 6000);\n } else {\n renderReady.value = false;\n console.log(`selectedRole ${selectedRole.value}`);\n const data = {\n user_ohr: ohrToAssignRole.value,\n role_name: selectedRole.value,\n };\n console.log(`data ${JSON.stringify(data)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await removeRoleFromUser(data);\n resMessage.value = res.data;\n renderReady.value = true;\n showSuccessMessage.value = true;\n console.log(`showSuccessMessage.value ${JSON.stringify(res)}`);\n setTimeout(() => {\n showSuccessMessage.value = false;\n }, 2000);\n }\n } catch (error) {\n console.log('inside catch');\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n renderReady.value = true;\n resMessage.value = err.response?.data.message;\n console.log(`errorMessage.value ${errorMessage.value}`);\n showErrorMessage.value = true;\n setTimeout(() => {\n showErrorMessage.value = false;\n }, 2000);\n }\n }\n };\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const role: any = await invokeGetUserRole('/getUserRole');\n userRole.value = role.user_roles;\n if (userRole.value.length > 0) {\n if (userRole.value.includes('System Admin')) {\n showScreen.value = true;\n } else {\n showScreen.value = false;\n }\n const roleRes = await getAllRoles();\n roles.value = roleRes.data.roles;\n }\n // userRole.value = role.user_roles;\n\n renderReady.value = true;\n // userRole.value = localStorage.getItem('user_roles') ? localStorage.getItem('user_roles') : [];\n // if (userRole.value.length > 0) {\n // if (userRole.value.includes('System Admin')) {\n // showScreen.value = true;\n // }\n // }\n } catch (error) {\n console.log(error);\n }\n // userRole.value = localStorage.getItem('user_roles') ? localStorage.getItem('user_roles') : [];\n // if (userRole.value.length > 0) {\n // if (userRole.value.includes('System Admin') || userRole.value.includes('System Admin View Access')) {\n // showScreen.value = true;\n // }\n // }\n });\n return {\n renderReady,\n roles,\n ohrToAssignRole,\n selectedRole,\n updateRecord,\n errorMessage,\n showScreen,\n resMessage,\n showErrorMessage,\n showSuccessMessage,\n removeRole,\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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.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--14-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_@babel+core@7.21.4_webpack@4.46.0/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--14-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AssignRoleToUser.vue?vue&type=template&id=999ded6e&scoped=true&\"\nimport script from \"./AssignRoleToUser.vue?vue&type=script&lang=ts&\"\nexport * from \"./AssignRoleToUser.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"999ded6e\",\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 */\n// import axios from 'axios';\nimport $http from '../../plugins/axios';\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeseedMaster = 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};\n\nexport const invokeSkillSync = 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 invokeTemplateSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeCacheSync = 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 invokeseedDefaultProgram = 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 invokeseedRoles = 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 invokeSeedProxyReviewers = 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 invokeSeedUser = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeDiffAccess = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokemigrateCohort = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortLA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateCohortReview = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeS2TasksMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAImport = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeS2LAMigration = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Task = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3LA = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const invokeMigrateS3Review = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\nexport const removeDuplicateProxyLearner = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const updateS3CohortsLearnerModifiedDate = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\nexport const invokeofcon = async (url: string) => {\n const res = await $http.get(url);\n return res;\n};\n// export const invokeMasterSeed = 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// };\n\nexport const invokeProxyReviewSeed = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeMigrateCohortProgram = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data;\n return res;\n });\n return res;\n};\n\nexport const invokeGetUserRole = async (url: string) => {\n let res;\n await $http.get(url).then((response) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n};\n\nexport const assignRoleToUser = async (data: any) => {\n const res = await $http.post('/user/role', data);\n return res;\n};\n\nexport const removeRoleFromUser = async (data: any) => {\n const res = await $http.post('/user/removeRole', data);\n return res;\n};\n\nexport const getAllRoles = async () => {\n const res = await $http.get('role');\n return res;\n};\nexport const importLSS = async (key: any) => {\n const res = await $http.post('/user/saveLSS', key);\n return res;\n};\nexport const importEnvaccess = async (key: any) => {\n const res = await $http.post('/user/saveEnvAccess', key);\n return res;\n};\n","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";","export * from \"-!../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js??ref--6-oneOf-1-0!../../../node_modules/.pnpm/css-loader@3.6.0_webpack@5.80.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&prod&scoped=true&lang=css&\"","// 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@5.80.0/node_modules/css-loader/dist/cjs.js??ref--6-oneOf-1-1!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/.pnpm/postcss-loader@3.0.0/node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-3!../../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/.pnpm/vue-loader@15.10.1_babel-core@7.0.0-bridge.0_cache-loader@4.1.0_css-loader@3.6.0_vue-template_xvnsitxcnxj4suq343vv7hdyya/node_modules/vue-loader/lib/index.js??vue-loader-options!./AssignRoleToUser.vue?vue&type=style&index=0&id=999ded6e&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(\"42b23544\", content, true, {\"sourceMap\":false,\"shadowMode\":false});"],"sourceRoot":""}
|