@genpact/genome.mfe.prework-app 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.html CHANGED
@@ -1,4 +1,4 @@
1
- <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/TransformAdministration.js" rel="prefetch"><link href="/js/chunk-36a09e50.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.prework-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><main><h1>Your Microfrontend is not here</h1><p>The @genpact/genome.mfe.prework-app microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @genpact/genome.mfe.prework-app and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env.standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
1
+ <!DOCTYPE html><html lang=""><head><meta charset="utf-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><link rel="icon" type="image/png" href="/Genpact_logo.png"><title>Solidify</title><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/0.0.0-insiders.4a070ac/base.min.css" integrity="sha512-I6j3gXESIyVAUPwJpFT6N3K93MYXC4dDQT9shwbf+p6zRuk7c3UlE4RH8O6nnae0zTrJpjys6rX1WPxU5MMulg==" crossorigin="anonymous" referrerpolicy="no-referrer"><link href="/js/SolidifyLearner.js" rel="prefetch"><link href="/js/SolidifyLearnerSelectTask.js" rel="prefetch"><link href="/js/TransformAdministration.js" rel="prefetch"><link href="/js/chunk-5eaf935d.js" rel="prefetch"><link href="/js/app.js" rel="preload" as="script"></head><body><noscript><strong>We're sorry but @genpact/genome.mfe.prework-app doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div><main><h1>Your Microfrontend is not here</h1><p>The @genpact/genome.mfe.prework-app microfrontend is running in "integrated" mode, since standalone-single-spa-webpack-plugin is disabled. This means that it does not work as a standalone application without changing configuration.</p><h2>How do I develop this microfrontend?</h2><p>To develop this microfrontend, try the following steps:</p><ol><li>Copy the following URL to your clipboard: <a target="_blank" rel="noopener" id="mf-url"></a></li><li>In a new browser tab, go to the your single-spa web app. This is where your "root config" is running. You do not have to run the root config locally if it is already running on a deployed environment - go to the deployed environment directly.</li><li>In the browser console, run <code>localStorage.setItem('devtools', true);</code> Refresh the page.</li><li>A yellowish rectangle should appear at the bottom right of your screen. Click on it. Find the name @genpact/genome.mfe.prework-app and click on it. If it is not present, click on Add New Module.</li><li>Paste the URL above into the input that appears. Refresh the page.</li><li>Congrats, your local code is now being used!</li></ol><p></p><p>For further information about "integrated" mode, see the following links:</p><ul><li><a target="_blank" rel="noopener" href="https://single-spa.js.org/docs/recommended-setup#local-development">Local Development Overview</a></li><li><a target="_blank" rel="noopener" href="https://github.com/joeldenning/import-map-overrides">Import Map Overrides Documentation</a></li></ul><p></p><h2>If you prefer Standalone mode</h2><p>To run this microfrontend in "standalone" mode, the standalone-single-spa-webpack-plugin must not be disabled. In some cases, this is done by running <code>npm run start:standalone</code>. Alternatively, you can add <code>--env.standalone</code> to your package.json start script if you are using webpack-config-single-spa.</p>If neither of those work for you, see more details about enabling standalone mode at <a target="_blank" rel="noopener" href="https://github.com/single-spa/standalone-single-spa-webpack-plugin">Standalone Plugin Documentation</a>.<p></p><script>const mfLink = document.getElementById('mf-url');
2
2
  const fullSrc = new URL('/js/app.js', window.location.href);
3
3
  mfLink.href = fullSrc;
4
4
  mfLink.textContent = fullSrc;</script></main></body></html>
@@ -1,2 +1,2 @@
1
- (window["webpackJsonp__@genpact/genome.mfe.prework-app"]=window["webpackJsonp__@genpact/genome.mfe.prework-app"]||[]).push([["SolidifyLearner"],{"581e":function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mx-auto mt-10 containers allBoxImg"},[e.renderReady?[t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t("div",{staticClass:"w-full md:w-2/3 mx-auto px-2"},["GC"===e.preWorkType?[t("div",{staticClass:"text-center text-3xl text-blue-900"},[e._v("Guru Connect Pre-Work")]),e._m(0)]:e._e(),"GF"===e.preWorkType?[t("div",{staticClass:"text-center text-3xl text-blue-900"},[e._v("Guru Forum Pre-Work")]),e._m(1)]:e._e(),"GC"===e.preWorkType?t("div",{staticClass:"mt-4 text-center"},[t("router-link",{staticClass:"inline-block bg-blue-900 text-white py-2 px-8 rounded",attrs:{to:{name:"PreWorkDetails",query:{vlit:e.vlitNum,preWorkType:e.preWorkType}}}},[e._v("Continue")])],1):e._e(),"GF"===e.preWorkType?t("div",{staticClass:"mt-4 text-center"},[t("router-link",{staticClass:"inline-block bg-blue-900 text-white py-2 px-8 rounded",attrs:{to:{name:"GFDetails",query:{GFEventID:e.GFEventID,preWorkType:e.preWorkType}}}},[e._v("Continue")])],1):e._e()],2)])]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"text-base text-gray-500 mt-8"},[t("p",[e._v("A Guru Connect is an opportunity to connect with other learners, and Gurus to discuss questions you might still have, especially related to how to apply the new knowledge to your job.")]),t("p",{staticClass:"pt-2"},[e._v(" This is a precious opportunity, and we are investing time and resources in it so please respect these guidelines: register yourself only for the session you can attend, and remember attendance for the entire session is mandatory (else you will need to repeat Transform). ")]),t("p",{staticClass:"pt-2"},[e._v(" In this form, you will confirm you have completed your prerequisites. Before you begin, go to "),t("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[t("strong",[e._v("My Performance")])]),e._v(" to check. You will be required to submit a question to ask the guru. Asking a question will guide the discussion. ")]),t("p",{staticClass:"pt-2"},[e._v("Click on Continue to enter details. You are only able to submit the form once.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"text-base text-gray-500 mt-8"},[t("p",[e._v("A Guru Forum is an opportunity to connect with your colleagues and Gurus to discuss questions you may still have, especially related to how to apply this skill to your job.")]),t("p",{staticClass:"pt-2"},[e._v("Guru Forum allows you to ask questions and get answers from other without a single time commitment. Remember to only register for only one Transform session.")]),t("p",{staticClass:"pt-2"},[e._v(" In this form, you will confirm you have completed your prerequisites. Before you begin, go to "),t("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[t("strong",[t("u",[e._v(" My Performance")])])]),e._v(" to check. For Guru Forums you do not submit questions in pre-work, instead once your registration is complete go directly to the forum to begin actively participating. ")]),t("p",{staticClass:"pt-2"},[e._v("Click on “Continue” to enter details. You are only able to submit the form once.")])])}],s=r("9ed6"),n=r("63de"),i=r("1dba"),l=r.n(i),c=r("afbc"),u=Object(s["b"])({name:"PreworkHome",props:["query"],setup(e){const t=Object(s["e"])(),r=Object(s["e"])(),o=Object(s["e"])(),a=Object(s["e"])(!0),i=async()=>{try{const e=await Object(n["b"])(r.value);e&&e.data&&"suspended"===e.data.diff_access_status&&(localStorage.setItem("preworkMessage",`<p class="pt-2">You cannot submit Pre-work to join the Guru Forum for ${e.data.gfDetails.Proficiency} ${e.data.gfDetails.Skill} because you are at the incorrect proficiency for this skill.</p>\n<p class="pt-2">Band 5 and 4A learners in Operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to the higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary wave to be at the correct proficiency.</p>\n<p class="pt-2">Go to <a href=https://genome.genpact.com target="_blank"><strong>Genome</strong></a> to find what changes you need to make. If you feel this is incorrect please click the “Helpmate” button below to raise a ticket.</p>`),localStorage.setItem("showHelpmate","true"),c["a"].push({path:"/prework/preworkmessage"}))}catch(t){if(l.a.isAxiosError(t)){var e;const r=t;localStorage.setItem("showHelpmate","true"),a.value=!0,localStorage.setItem("preworkMessage",null===(e=r.response)||void 0===e?void 0:e.data.message),c["a"].push({path:"/prework/preworkmessage"})}}};return Object(s["c"])(async()=>{a.value=!1,o.value=e.query.preWorkType,"GC"===o.value?t.value=e.query.vlit:(r.value=e.query.GFEventID,await i()),a.value=!0}),{vlitNum:t,preWorkType:o,GFEventID:r,renderReady:a}}}),p=u,m=r("c87f"),d=Object(m["a"])(p,o,a,!1,null,"1f575620",null);t["default"]=d.exports},"63de":function(e,t,r){"use strict";r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"e",(function(){return n})),r.d(t,"f",(function(){return i})),r.d(t,"b",(function(){return l})),r.d(t,"d",(function(){return c}));var o=r("26fa");const a=async e=>{try{let t;return await o["a"].get(e).then(e=>(t=e.data.userObj,t)),t}catch(t){return console.log(t),t}},s=async e=>{const t=await o["a"].get("transform/GF/"+e);return t},n=async e=>{const t=await o["a"].post("transform/saveGF",e);return t},i=async e=>{const t=await o["a"].post("transform/admin/saveGfPreworkJourney",e);return t},l=async e=>{const t=await o["a"].get("/transform/session/gf/"+e);return t},c=async e=>{let t;return await o["a"].get(e).then(e=>(t=e.data,t)),t}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"}}]);
1
+ (window["webpackJsonp__@genpact/genome.mfe.prework-app"]=window["webpackJsonp__@genpact/genome.mfe.prework-app"]||[]).push([["SolidifyLearner"],{"581e":function(e,t,r){"use strict";r.r(t);var o=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mx-auto mt-10 containers allBoxImg"},[e.renderReady?[t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t("div",{staticClass:"w-full md:w-2/3 mx-auto px-2"},["GC"===e.preWorkType?[t("div",{staticClass:"text-center text-3xl text-blue-900"},[e._v("Guru Connect Pre-Work")]),e._m(0)]:e._e(),"GF"===e.preWorkType?[t("div",{staticClass:"text-center text-3xl text-blue-900"},[e._v("Guru Forum Pre-Work")]),e._m(1)]:e._e(),"GC"===e.preWorkType?t("div",{staticClass:"mt-4 text-center"},[t("router-link",{staticClass:"inline-block bg-blue-900 text-white py-2 px-8 rounded",attrs:{to:{name:"PreWorkDetails",query:{vlit:e.vlitNum,preWorkType:e.preWorkType}}}},[e._v("Continue")])],1):e._e(),"GF"===e.preWorkType?t("div",{staticClass:"mt-4 text-center"},[t("router-link",{staticClass:"inline-block bg-blue-900 text-white py-2 px-8 rounded",attrs:{to:{name:"GFDetails",query:{GFEventID:e.GFEventID,preWorkType:e.preWorkType}}}},[e._v("Continue")])],1):e._e()],2)])]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:r("9d04"),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"text-base text-gray-500 mt-8"},[t("p",[e._v("A Guru Connect is an opportunity to connect with other learners, and Gurus to discuss questions you might still have, especially related to how to apply the new knowledge to your job.")]),t("p",{staticClass:"pt-2"},[e._v(" This is a precious opportunity, and we are investing time and resources in it so please respect these guidelines: register yourself only for the session you can attend, and remember attendance for the entire session is mandatory (else you will need to repeat Transform). ")]),t("p",{staticClass:"pt-2"},[e._v(" In this form, you will confirm you have completed your prerequisites. Before you begin, go to "),t("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[t("strong",[e._v("My Performance")])]),e._v(" to check. You will be required to submit a question to ask the guru. Asking a question will guide the discussion. ")]),t("p",{staticClass:"pt-2"},[e._v("Click on Continue to enter details. You are only able to submit the form once.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"text-base text-gray-500 mt-8"},[t("p",[e._v("A Guru Forum is an opportunity to connect with your colleagues and Gurus to discuss questions you may still have, especially related to how to apply this skill to your job.")]),t("p",{staticClass:"pt-2"},[e._v("Guru Forum allows you to ask questions and get answers from other without a single time commitment. Remember to only register for only one Transform session.")]),t("p",{staticClass:"pt-2"},[e._v(" In this form, you will confirm you have completed your prerequisites. Before you begin, go to "),t("a",{attrs:{href:"https://genome.genpact.com/my-performance",target:"_blank"}},[t("strong",[t("u",[e._v(" My Performance")])])]),e._v(" to check. For Guru Forums you do not submit questions in pre-work, instead once your registration is complete go directly to the forum to begin actively participating. ")]),t("p",{staticClass:"pt-2"},[e._v("Click on “Continue” to enter details. You are only able to submit the form once.")])])}],s=r("d1ce"),n=r("63de"),i=r("1dba"),l=r.n(i),c=r("afbc"),u=Object(s["b"])({name:"PreworkHome",props:["query"],setup(e){const t=Object(s["e"])(),r=Object(s["e"])(),o=Object(s["e"])(),a=Object(s["e"])(!0),i=async()=>{try{const e=await Object(n["b"])(r.value);e&&e.data&&"suspended"===e.data.diff_access_status&&(localStorage.setItem("preworkMessage",`<p class="pt-2">You cannot submit Pre-work to join the Guru Forum for ${e.data.gfDetails.Proficiency} ${e.data.gfDetails.Skill} because you are at the incorrect proficiency for this skill.</p>\n<p class="pt-2">Band 5 and 4A learners in Operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to the higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary wave to be at the correct proficiency.</p>\n<p class="pt-2">Go to <a href=https://genome.genpact.com target="_blank"><strong>Genome</strong></a> to find what changes you need to make. If you feel this is incorrect please click the “Helpmate” button below to raise a ticket.</p>`),localStorage.setItem("showHelpmate","true"),c["a"].push({path:"/prework/preworkmessage"}))}catch(t){if(l.a.isAxiosError(t)){var e;const r=t;localStorage.setItem("showHelpmate","true"),a.value=!0,localStorage.setItem("preworkMessage",null===(e=r.response)||void 0===e?void 0:e.data.message),c["a"].push({path:"/prework/preworkmessage"})}}};return Object(s["c"])(async()=>{a.value=!1,o.value=e.query.preWorkType,"GC"===o.value?t.value=e.query.vlit:(r.value=e.query.GFEventID,await i()),a.value=!0}),{vlitNum:t,preWorkType:o,GFEventID:r,renderReady:a}}}),p=u,m=r("bce8"),d=Object(m["a"])(p,o,a,!1,null,"1f575620",null);t["default"]=d.exports},"63de":function(e,t,r){"use strict";r.d(t,"c",(function(){return a})),r.d(t,"a",(function(){return s})),r.d(t,"e",(function(){return n})),r.d(t,"f",(function(){return i})),r.d(t,"b",(function(){return l})),r.d(t,"d",(function(){return c}));var o=r("26fa");const a=async e=>{try{let t;return await o["a"].get(e).then(e=>(t=e.data.userObj,t)),t}catch(t){return console.log(t),t}},s=async e=>{const t=await o["a"].get("transform/GF/"+e);return t},n=async e=>{const t=await o["a"].post("transform/saveGF",e);return t},i=async e=>{const t=await o["a"].post("transform/admin/saveGfPreworkJourney",e);return t},l=async e=>{const t=await o["a"].get("/transform/session/gf/"+e);return t},c=async e=>{let t;return await o["a"].get(e).then(e=>(t=e.data,t)),t}},"9d04":function(e,t,r){e.exports=r.p+"img/loadernew.gif"}}]);
2
2
  //# sourceMappingURL=SolidifyLearner.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?e723","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?7134","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?3270","webpack://@genpact/genome.mfe.prework-app/./src/utils/gf_service.ts","webpack://@genpact/genome.mfe.prework-app/./src/assets/images/loadernew.gif"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","renderReady","preWorkType","_v","_m","_e","attrs","name","query","vlit","vlitNum","GFEventID","require","staticRenderFns","defineComponent","props","setup","ref","getdiffAccessStatus","async","diffAccessRes","invokeDiffAccess","value","data","diff_access_status","localStorage","setItem","gfDetails","Proficiency","Skill","router","push","path","error","axios","isAxiosError","err","response","message","onBeforeMount","component","invokeGetUserRole","res","$http","get","url","then","userObj","console","log","getGfWorkDetails","eventId","saveGFDeatils","post","saveGFPreworkJourney","id","invokegetSkillProf","module","exports"],"mappings":"4LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAAEL,EAAIM,YAAa,CAACJ,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACH,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAAsB,OAApBL,EAAIO,YAAsB,CAACL,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACL,EAAIQ,GAAG,2BAA2BR,EAAIS,GAAG,IAAIT,EAAIU,KAA0B,OAApBV,EAAIO,YAAsB,CAACL,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACL,EAAIQ,GAAG,yBAAyBR,EAAIS,GAAG,IAAIT,EAAIU,KAA0B,OAApBV,EAAIO,YAAsBL,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,cAAc,CAACG,YAAY,wDAAwDM,MAAM,CAAC,GAAK,CAAEC,KAAM,iBAAkBC,MAAO,CAAEC,KAAMd,EAAIe,QAASR,YAAaP,EAAIO,gBAAkB,CAACP,EAAIQ,GAAG,eAAe,GAAGR,EAAIU,KAA0B,OAApBV,EAAIO,YAAsBL,EAAG,MAAM,CAACG,YAAY,oBAAoB,CAACH,EAAG,cAAc,CAACG,YAAY,wDAAwDM,MAAM,CAAC,GAAK,CAAEC,KAAM,YAAaC,MAAO,CAAEG,UAAWhB,EAAIgB,UAAWT,YAAaP,EAAIO,gBAAkB,CAACP,EAAIQ,GAAG,eAAe,GAAGR,EAAIU,MAAM,MAAMV,EAAIU,KAAOV,EAAIM,YAA8VN,EAAIU,KAArVR,EAAG,MAAM,CAACG,YAAY,yDAAyD,CAACH,EAAG,MAAM,CAACG,YAAY,qCAAqCM,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C9B,GACrE,OAAOmB,GASIrB,EAAmBF,UAC9B,MAAMuB,QAAYC,OAAMC,IAAI,yBAAyBW,GACrD,OAAOb,GAGIc,EAAqBrC,UAChC,IAAIuB,EAOJ,aALMC,OAAMC,IAAIC,GAAKC,KAAMT,IAEzBK,EAAML,EAASd,KACRmB,IAEFA,I,uBCvDTe,EAAOC,QAAU,IAA0B","file":"js/SolidifyLearner.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mx-auto mt-10 containers allBoxImg\"},[(_vm.renderReady)?[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12\"},[_c('div',{staticClass:\"w-full md:w-2/3 mx-auto px-2\"},[(_vm.preWorkType === 'GC')?[_c('div',{staticClass:\"text-center text-3xl text-blue-900\"},[_vm._v(\"Guru Connect Pre-Work\")]),_vm._m(0)]:_vm._e(),(_vm.preWorkType === 'GF')?[_c('div',{staticClass:\"text-center text-3xl text-blue-900\"},[_vm._v(\"Guru Forum Pre-Work\")]),_vm._m(1)]:_vm._e(),(_vm.preWorkType === 'GC')?_c('div',{staticClass:\"mt-4 text-center\"},[_c('router-link',{staticClass:\"inline-block bg-blue-900 text-white py-2 px-8 rounded\",attrs:{\"to\":{ name: 'PreWorkDetails', query: { vlit: _vm.vlitNum, preWorkType: _vm.preWorkType } }}},[_vm._v(\"Continue\")])],1):_vm._e(),(_vm.preWorkType === 'GF')?_c('div',{staticClass:\"mt-4 text-center\"},[_c('router-link',{staticClass:\"inline-block bg-blue-900 text-white py-2 px-8 rounded\",attrs:{\"to\":{ name: 'GFDetails', query: { GFEventID: _vm.GFEventID, preWorkType: _vm.preWorkType } }}},[_vm._v(\"Continue\")])],1):_vm._e()],2)])]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-base text-gray-500 mt-8\"},[_c('p',[_vm._v(\"A Guru Connect is an opportunity to connect with other learners, and Gurus to discuss questions you might still have, especially related to how to apply the new knowledge to your job.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" This is a precious opportunity, and we are investing time and resources in it so please respect these guidelines: register yourself only for the session you can attend, and remember attendance for the entire session is mandatory (else you will need to repeat Transform). \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" In this form, you will confirm you have completed your prerequisites. Before you begin, go to \"),_c('a',{attrs:{\"href\":\"https://genome.genpact.com/my-performance\",\"target\":\"_blank\"}},[_c('strong',[_vm._v(\"My Performance\")])]),_vm._v(\" to check. You will be required to submit a question to ask the guru. Asking a question will guide the discussion. \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click on Continue to enter details. You are only able to submit the form once.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-base text-gray-500 mt-8\"},[_c('p',[_vm._v(\"A Guru Forum is an opportunity to connect with your colleagues and Gurus to discuss questions you may still have, especially related to how to apply this skill to your job.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Guru Forum allows you to ask questions and get answers from other without a single time commitment. Remember to only register for only one Transform session.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" In this form, you will confirm you have completed your prerequisites. Before you begin, go to \"),_c('a',{attrs:{\"href\":\"https://genome.genpact.com/my-performance\",\"target\":\"_blank\"}},[_c('strong',[_c('u',[_vm._v(\" My Performance\")])])]),_vm._v(\" to check. For Guru Forums you do not submit questions in pre-work, instead once your registration is complete go directly to the forum to begin actively participating. \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click on “Continue” to enter details. You are only able to submit the form once.\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport { invokeDiffAccess } from '@/utils/gf_service';\nimport axios, { AxiosError } from 'axios';\n// eslint-disable-next-line import/no-cycle\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'PreworkHome',\n // eslint-disable-next-line vue/require-prop-types\n props: ['query'],\n setup(props) {\n const vlitNum = ref();\n const GFEventID = ref();\n const preWorkType = ref();\n // const diffAccessRes = ref();\n const renderReady = ref(true);\n\n const getdiffAccessStatus = async () => {\n try {\n const diffAccessRes = await invokeDiffAccess(GFEventID.value);\n if (diffAccessRes && diffAccessRes.data) {\n if (diffAccessRes.data.diff_access_status === 'suspended') {\n // console.log('inside suspended');\n localStorage.setItem(\n 'preworkMessage',\n `<p class=\"pt-2\">You cannot submit Pre-work to join the Guru Forum for ${diffAccessRes.data.gfDetails.Proficiency} ${diffAccessRes.data.gfDetails.Skill} because you are at the incorrect proficiency for this skill.</p>\n<p class=\"pt-2\">Band 5 and 4A learners in Operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to the higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary wave to be at the correct proficiency.</p>\n<p class=\"pt-2\">Go to <a href=https://genome.genpact.com target=\"_blank\"><strong>Genome</strong></a> to find what changes you need to make. If you feel this is incorrect please click the “Helpmate” button below to raise a ticket.</p>`,\n );\n localStorage.setItem('showHelpmate', 'true');\n router.push({ path: '/prework/preworkmessage' });\n }\n }\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n localStorage.setItem('showHelpmate', 'true');\n renderReady.value = true;\n localStorage.setItem('preworkMessage', err.response?.data.message);\n router.push({ path: '/prework/preworkmessage' });\n }\n }\n };\n onBeforeMount(async () => {\n // try {\n renderReady.value = false;\n // let diffAccess;\n preWorkType.value = props.query.preWorkType;\n if (preWorkType.value === 'GC') {\n vlitNum.value = props.query.vlit;\n } else {\n GFEventID.value = props.query.GFEventID;\n await getdiffAccessStatus();\n }\n\n renderReady.value = true;\n });\n return {\n vlitNum,\n preWorkType,\n GFEventID,\n renderReady,\n };\n },\n});\n","import mod from \"-!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../node_modules/.pnpm/babel-loader@8.2.5_5ouqwanl7jnotevpn4w6qovjqm/node_modules/babel-loader/lib/index.js!../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.pnpm/vue-loader@15.10.0_gau6jvuvur4iyctrqsvqjhw7vu/node_modules/vue-loader/lib/index.js??vue-loader-options!./PreWorkHome.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../node_modules/.pnpm/babel-loader@8.2.5_5ouqwanl7jnotevpn4w6qovjqm/node_modules/babel-loader/lib/index.js!../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.pnpm/vue-loader@15.10.0_gau6jvuvur4iyctrqsvqjhw7vu/node_modules/vue-loader/lib/index.js??vue-loader-options!./PreWorkHome.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PreWorkHome.vue?vue&type=template&id=1f575620&scoped=true&\"\nimport script from \"./PreWorkHome.vue?vue&type=script&lang=ts&\"\nexport * from \"./PreWorkHome.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/.pnpm/vue-loader@15.10.0_gau6jvuvur4iyctrqsvqjhw7vu/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f575620\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeGetUserRole = async (url: string) => {\n try {\n let res;\n await $http.get(url).then((response: any) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n } catch (error) {\n console.log(error);\n return error;\n }\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const getGfWorkDetails = async (eventId: string) => {\n const res = await $http.get(`transform/GF/${eventId}`);\n return res;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const saveGFDeatils = async (data: any) => {\n const res = await $http.post('transform/saveGF', data);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const saveGFPreworkJourney = async (data: any) => {\n const res = await $http.post('transform/admin/saveGfPreworkJourney', data);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeGcDiffAccess = async (data: any) => {\n const res = await $http.post('/transform/validateDiffAccessGCLearners', data);\n return res;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeDiffAccess = async (id: any) => {\n const res = await $http.get(`/transform/session/gf/${id}`);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\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","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";"],"sourceRoot":""}
1
+ {"version":3,"sources":["webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?943d","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?12ac","webpack://@genpact/genome.mfe.prework-app/./src/views/PreWorkHome.vue?c0cc","webpack://@genpact/genome.mfe.prework-app/./src/utils/gf_service.ts","webpack://@genpact/genome.mfe.prework-app/./src/assets/images/loadernew.gif"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","renderReady","preWorkType","_v","_m","_e","attrs","name","query","vlit","vlitNum","GFEventID","require","staticRenderFns","defineComponent","props","setup","ref","getdiffAccessStatus","async","diffAccessRes","invokeDiffAccess","value","data","diff_access_status","localStorage","setItem","gfDetails","Proficiency","Skill","router","push","path","error","axios","isAxiosError","err","response","message","onBeforeMount","component","invokeGetUserRole","res","$http","get","url","then","userObj","console","log","getGfWorkDetails","eventId","saveGFDeatils","post","saveGFPreworkJourney","id","invokegetSkillProf","module","exports"],"mappings":"4LAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAAEL,EAAIM,YAAa,CAACJ,EAAG,MAAM,CAACG,YAAY,6EAA6E,CAACH,EAAG,MAAM,CAACG,YAAY,gCAAgC,CAAsB,OAApBL,EAAIO,YAAsB,CAACL,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACL,EAAIQ,GAAG,2BAA2BR,EAAIS,GAAG,IAAIT,EAAIU,KAA0B,OAApBV,EAAIO,YAAsB,CAACL,EAAG,MAAM,CAACG,YAAY,sCAAsC,CAACL,EAAIQ,GAAG,yBAAyBR,EAAIS,GAAG,IAAIT,EAAIU,KAA0B,OA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MAAQP,EAAMP,MAAMC,MAE5BE,EAAUW,MAAQP,EAAMP,MAAMG,gBACxBO,KAGRjB,EAAYqB,OAAQ,IAEf,CACLZ,UACAR,cACAS,YACAV,kBC9DstB,I,YCOxtBuC,EAAY,eACd,EACA9C,EACAmB,GACA,EACA,KACA,WACA,MAIa,aAAA2B,E,6CClBf,4NAKO,MAAMC,EAAoBtB,UAC/B,IACE,IAAIuB,EAKJ,aAJMC,OAAMC,IAAIC,GAAKC,KAAMT,IACzBK,EAAML,EAASd,KAAKwB,QACbL,IAEFA,EACP,MAAOT,GAEP,OADAe,QAAQC,IAAIhB,GACLA,IAKEiB,EAAmB/B,UAC9B,MAAMuB,QAAYC,OAAMC,IAAI,gBAAgBO,GAC5C,OAAOT,GAIIU,EAAgBjC,UAC3B,MAAMuB,QAAYC,OAAMU,KAAK,mBAAoB9B,GACjD,OAAOmB,GAGIY,EAAuBnC,UAClC,MAAMuB,QAAYC,OAAMU,KAAK,uCAAwC9B,GACrE,OAAOmB,GASIrB,EAAmBF,UAC9B,MAAMuB,QAAYC,OAAMC,IAAI,yBAAyBW,GACrD,OAAOb,GAGIc,EAAqBrC,UAChC,IAAIuB,EAOJ,aALMC,OAAMC,IAAIC,GAAKC,KAAMT,IAEzBK,EAAML,EAASd,KACRmB,IAEFA,I,uBCvDTe,EAAOC,QAAU,IAA0B","file":"js/SolidifyLearner.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"mx-auto mt-10 containers allBoxImg\"},[(_vm.renderReady)?[_c('div',{staticClass:\"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12\"},[_c('div',{staticClass:\"w-full md:w-2/3 mx-auto px-2\"},[(_vm.preWorkType === 'GC')?[_c('div',{staticClass:\"text-center text-3xl text-blue-900\"},[_vm._v(\"Guru Connect Pre-Work\")]),_vm._m(0)]:_vm._e(),(_vm.preWorkType === 'GF')?[_c('div',{staticClass:\"text-center text-3xl text-blue-900\"},[_vm._v(\"Guru Forum Pre-Work\")]),_vm._m(1)]:_vm._e(),(_vm.preWorkType === 'GC')?_c('div',{staticClass:\"mt-4 text-center\"},[_c('router-link',{staticClass:\"inline-block bg-blue-900 text-white py-2 px-8 rounded\",attrs:{\"to\":{ name: 'PreWorkDetails', query: { vlit: _vm.vlitNum, preWorkType: _vm.preWorkType } }}},[_vm._v(\"Continue\")])],1):_vm._e(),(_vm.preWorkType === 'GF')?_c('div',{staticClass:\"mt-4 text-center\"},[_c('router-link',{staticClass:\"inline-block bg-blue-900 text-white py-2 px-8 rounded\",attrs:{\"to\":{ name: 'GFDetails', query: { GFEventID: _vm.GFEventID, preWorkType: _vm.preWorkType } }}},[_vm._v(\"Continue\")])],1):_vm._e()],2)])]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-base text-gray-500 mt-8\"},[_c('p',[_vm._v(\"A Guru Connect is an opportunity to connect with other learners, and Gurus to discuss questions you might still have, especially related to how to apply the new knowledge to your job.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" This is a precious opportunity, and we are investing time and resources in it so please respect these guidelines: register yourself only for the session you can attend, and remember attendance for the entire session is mandatory (else you will need to repeat Transform). \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" In this form, you will confirm you have completed your prerequisites. Before you begin, go to \"),_c('a',{attrs:{\"href\":\"https://genome.genpact.com/my-performance\",\"target\":\"_blank\"}},[_c('strong',[_vm._v(\"My Performance\")])]),_vm._v(\" to check. You will be required to submit a question to ask the guru. Asking a question will guide the discussion. \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click on Continue to enter details. You are only able to submit the form once.\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-base text-gray-500 mt-8\"},[_c('p',[_vm._v(\"A Guru Forum is an opportunity to connect with your colleagues and Gurus to discuss questions you may still have, especially related to how to apply this skill to your job.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Guru Forum allows you to ask questions and get answers from other without a single time commitment. Remember to only register for only one Transform session.\")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\" In this form, you will confirm you have completed your prerequisites. Before you begin, go to \"),_c('a',{attrs:{\"href\":\"https://genome.genpact.com/my-performance\",\"target\":\"_blank\"}},[_c('strong',[_c('u',[_vm._v(\" My Performance\")])])]),_vm._v(\" to check. For Guru Forums you do not submit questions in pre-work, instead once your registration is complete go directly to the forum to begin actively participating. \")]),_c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click on “Continue” to enter details. You are only able to submit the form once.\")])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from '@vue/composition-api';\nimport { invokeDiffAccess } from '@/utils/gf_service';\nimport axios, { AxiosError } from 'axios';\n// eslint-disable-next-line import/no-cycle\nimport router from '@/router';\n\nexport default defineComponent({\n name: 'PreworkHome',\n // eslint-disable-next-line vue/require-prop-types\n props: ['query'],\n setup(props) {\n const vlitNum = ref();\n const GFEventID = ref();\n const preWorkType = ref();\n // const diffAccessRes = ref();\n const renderReady = ref(true);\n\n const getdiffAccessStatus = async () => {\n try {\n const diffAccessRes = await invokeDiffAccess(GFEventID.value);\n if (diffAccessRes && diffAccessRes.data) {\n if (diffAccessRes.data.diff_access_status === 'suspended') {\n // console.log('inside suspended');\n localStorage.setItem(\n 'preworkMessage',\n `<p class=\"pt-2\">You cannot submit Pre-work to join the Guru Forum for ${diffAccessRes.data.gfDetails.Proficiency} ${diffAccessRes.data.gfDetails.Skill} because you are at the incorrect proficiency for this skill.</p>\n<p class=\"pt-2\">Band 5 and 4A learners in Operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to the higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary wave to be at the correct proficiency.</p>\n<p class=\"pt-2\">Go to <a href=https://genome.genpact.com target=\"_blank\"><strong>Genome</strong></a> to find what changes you need to make. If you feel this is incorrect please click the “Helpmate” button below to raise a ticket.</p>`,\n );\n localStorage.setItem('showHelpmate', 'true');\n router.push({ path: '/prework/preworkmessage' });\n }\n }\n } catch (error) {\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n localStorage.setItem('showHelpmate', 'true');\n renderReady.value = true;\n localStorage.setItem('preworkMessage', err.response?.data.message);\n router.push({ path: '/prework/preworkmessage' });\n }\n }\n };\n onBeforeMount(async () => {\n // try {\n renderReady.value = false;\n // let diffAccess;\n preWorkType.value = props.query.preWorkType;\n if (preWorkType.value === 'GC') {\n vlitNum.value = props.query.vlit;\n } else {\n GFEventID.value = props.query.GFEventID;\n await getdiffAccessStatus();\n }\n\n renderReady.value = true;\n });\n return {\n vlitNum,\n preWorkType,\n GFEventID,\n renderReady,\n };\n },\n});\n","import mod from \"-!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../node_modules/.pnpm/babel-loader@8.2.5_li4tts7salxwv3rbqjnooz7t7e/node_modules/babel-loader/lib/index.js!../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.pnpm/vue-loader@15.10.0_geeguvfn2njjaew5w23blzhalq/node_modules/vue-loader/lib/index.js??vue-loader-options!./PreWorkHome.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--15-0!../../node_modules/.pnpm/thread-loader@2.1.3_webpack@4.46.0/node_modules/thread-loader/dist/cjs.js!../../node_modules/.pnpm/babel-loader@8.2.5_li4tts7salxwv3rbqjnooz7t7e/node_modules/babel-loader/lib/index.js!../../node_modules/.pnpm/ts-loader@6.2.2_typescript@4.3.5/node_modules/ts-loader/index.js??ref--15-3!../../node_modules/.pnpm/cache-loader@4.1.0_webpack@4.46.0/node_modules/cache-loader/dist/cjs.js??ref--1-0!../../node_modules/.pnpm/vue-loader@15.10.0_geeguvfn2njjaew5w23blzhalq/node_modules/vue-loader/lib/index.js??vue-loader-options!./PreWorkHome.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./PreWorkHome.vue?vue&type=template&id=1f575620&scoped=true&\"\nimport script from \"./PreWorkHome.vue?vue&type=script&lang=ts&\"\nexport * from \"./PreWorkHome.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/.pnpm/vue-loader@15.10.0_geeguvfn2njjaew5w23blzhalq/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"1f575620\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/no-explicit-any */\n// import axios from 'axios';\nimport $http from '../plugins/axios';\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeGetUserRole = async (url: string) => {\n try {\n let res;\n await $http.get(url).then((response: any) => {\n res = response.data.userObj;\n return res;\n });\n return res;\n } catch (error) {\n console.log(error);\n return error;\n }\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const getGfWorkDetails = async (eventId: string) => {\n const res = await $http.get(`transform/GF/${eventId}`);\n return res;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const saveGFDeatils = async (data: any) => {\n const res = await $http.post('transform/saveGF', data);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const saveGFPreworkJourney = async (data: any) => {\n const res = await $http.post('transform/admin/saveGfPreworkJourney', data);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeGcDiffAccess = async (data: any) => {\n const res = await $http.post('/transform/validateDiffAccessGCLearners', data);\n return res;\n};\n\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\nexport const invokeDiffAccess = async (id: any) => {\n const res = await $http.get(`/transform/session/gf/${id}`);\n return res;\n};\n// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\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","module.exports = __webpack_public_path__ + \"img/loadernew.gif\";"],"sourceRoot":""}