@genpact/genome.mfe.solidify-app 3.0.0-beta.16 → 3.0.0-beta.17
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/solidify.css +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/dist/solidify.umd.min.js.map +1 -1
- package/package.json +1 -1
package/dist/solidify.css
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/*
|
|
2
2
|
! tailwindcss v3.3.2 | MIT License | https://tailwindcss.com
|
|
3
|
-
*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(1,98,255,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(1,98,255,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.left-0{left:0}.left-1\/2{left:50%}.left-80{left:20rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-2{top:.5rem}.top-28{top:7rem}.top-5{top:1.25rem}.top-9{top:2.25rem}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.m-3{margin:.75rem}.m-auto{margin:auto}.-mx-3{margin-left:-.75rem;margin-right:-.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-1{margin-top:-.25rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-3\%{margin-top:3%}.mt-4{margin-top:1rem}.mt-4\%{margin-top:4%}.mt-5{margin-top:1.25rem}.mt-5\%{margin-top:5%}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-3\/4{height:75%}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.w-0{width:0}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-3\/12{width:25%}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-4{width:1rem}.w-4\/6{width:66.666667%}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-auto{width:auto}.w-full{width:100%}.min-w-40\%{min-width:40%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r-1{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-b{--tw-border-opacity:1;border-color:rgb(95 198 214/var(--tw-border-opacity))}.border-background-secondary{border-color:var(--brand-secondary-color)}.border-blue-900{--tw-border-opacity:1;border-color:rgb(0 29 77/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-t{--tw-border-opacity:1;border-color:rgb(50 84 140/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-background-secondary{background-color:var(--brand-secondary-color)}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(1 59 153/var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity:1;background-color:rgb(0 29 77/var(--tw-bg-opacity))}.bg-genome-blue{--tw-bg-opacity:1;background-color:rgb(42 88 141/var(--tw-bg-opacity))}.bg-genpact-text-grey-light{--tw-bg-opacity:1;background-color:rgb(126 126 126/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-contain{background-size:contain}.bg-clip-padding{background-clip:padding-box}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-32{padding-left:8rem;padding-right:8rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-20{padding-right:5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-1{padding-top:.25rem}.pt-12{padding-top:3rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[14px\]{font-size:14px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-background-secondary{color:var(--brand-secondary-color)}.text-blue-800{--tw-text-opacity:1;color:rgb(0 44 115/var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity:1;color:rgb(0 29 77/var(--tw-text-opacity))}.text-genome-blue{--tw-text-opacity:1;color:rgb(42 88 141/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:border-r-0:last-child{border-right-width:0}.last\:pb-10:last-child{padding-bottom:2.5rem}.hover\:bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(1 59 153/var(--tw-bg-opacity))}.hover\:bg-blue-900:hover{--tw-bg-opacity:1;background-color:rgb(0 29 77/var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.hover\:text-blue-300:hover{--tw-text-opacity:1;color:rgb(153 192 255/var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:border-blue-600:focus{--tw-border-opacity:1;border-color:rgb(1 88 230/var(--tw-border-opacity))}.focus\:border-gray-500:focus{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.focus\:text-gray-700:focus{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-blue-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(77 145 255/var(--tw-ring-opacity))}.focus\:ring-blue-900:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(0 29 77/var(--tw-ring-opacity))}.focus\:ring-opacity-75:focus{--tw-ring-opacity:0.75}@media (min-width:640px){.sm\:w-1\/2{width:50%}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:768px){.md\:order-1{order:1}.md\:order-2{order:2}.md\:mx-24{margin-left:6rem;margin-right:6rem}.md\:mx-3{margin-left:.75rem;margin-right:.75rem}.md\:mr-2{margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:h-10{height:2.5rem}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-10{width:2.5rem}.md\:w-2\/4{width:50%}.md\:w-full{width:100%}.md\:flex-row{flex-direction:row}.md\:justify-center{justify-content:center}.md\:p-0{padding:0}.md\:px-0{padding-left:0;padding-right:0}.md\:px-24{padding-left:6rem;padding-right:6rem}.md\:pb-0{padding-bottom:0}.md\:pl-16{padding-left:4rem}.md\:pr-12{padding-right:3rem}.md\:pr-24{padding-right:6rem}.md\:pt-16{padding-top:4rem}.md\:text-right{text-align:right}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:mx-24{margin-left:6rem;margin-right:6rem}.lg\:mx-3{margin-left:.75rem;margin-right:.75rem}.lg\:mr-2{margin-right:.5rem}.lg\:mr-6{margin-right:1.5rem}.lg\:mt-5{margin-top:1.25rem}.lg\:mt-6{margin-top:1.5rem}.lg\:block{display:block}.lg\:inline{display:inline}.lg\:flex{display:flex}.lg\:h-10{height:2.5rem}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-1\/4{width:25%}.lg\:w-1\/5{width:20%}.lg\:w-10{width:2.5rem}.lg\:w-2\/4{width:50%}.lg\:justify-center{justify-content:center}.lg\:p-0{padding:0}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-24{padding-left:6rem;padding-right:6rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:pl-16{padding-left:4rem}.lg\:pr-12{padding-right:3rem}.lg\:pr-24{padding-right:6rem}.lg\:pt-16{padding-top:4rem}.lg\:text-right{text-align:right}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width:1280px){.xl\:flex{display:flex}.xl\:w-1\/2{width:50%}}@font-face{font-family:Guardian Egyptian Light;src:url(/fonts/GuardianEgyp-Light.otf)}@font-face{font-family:Guardian Egyptian Bold;src:url(/fonts/GuardianTextEgyp-Bold.otf)}body{font-family:Guardian Egyptian Light!important}strong{font-family:Guardian Egyptian Bold!important;color:#073262!important}.text-over td,.text-over th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60px}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.admin{max-width:77%;margin-left:21%}.rich-text-formatter a{color:#00abcc!important;cursor:pointer!important}li,p{color:#707070!important;margin:0!important;font-size:14px!important}.admin table td,.admin table th{margin:0!important;font-size:13px!important}.admin ul{list-style:disc!important}.admin ol,.admin ul{padding-left:20px;line-height:23px!important}.admin ol{list-style:decimal!important}.admin p{line-height:23px!important}.admin h1{font-size:2em!important}.admin h1,.admin h2{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h2{font-size:1.5em!important}.admin h3{font-size:1.17em!important}.admin h3,.admin h4{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h4{font-size:1em!important}.admin h5{font-size:.83em!important}.admin h5,.admin h6{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h6{font-size:.75em!important}.admin p a{color:#00abcc!important;cursor:pointer!important}.rich-text-formatter ul{list-style:disc!important;padding-left:20px;line-height:23px!important}.rich-text-formatter ol{list-style:decimal!important;padding-left:20px}.rich-text-formatter ol,.rich-text-formatter p{line-height:23px!important}.rich-text-formatter h1{font-size:2em!important}.rich-text-formatter h1,.rich-text-formatter h2{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h2{font-size:1.5em!important}.rich-text-formatter h3{font-size:1.17em!important}.rich-text-formatter h3,.rich-text-formatter h4{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h4{font-size:1em!important}.rich-text-formatter h5{font-size:.83em!important}.rich-text-formatter h5,.rich-text-formatter h6{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h6{font-size:.75em!important}.rich-text-formatter p a{color:#00abcc!important;cursor:pointer!important}.radioCheckbox .checkboxStart{display:inline-flex;justify-content:center;align-items:center;padding-right:10px}.radioCheckbox input[type=radio]{display:none}.radioCheckbox input[type=radio]+label{display:inline-block;cursor:pointer;margin-right:4px}.radioCheckbox input[type=radio]+label:before{content:"";display:block;position:absolute;width:20px;top:1px;position:right}.radioCheckbox input[type=radio]:checked+label:before{content:"✓";font-family:lucida grande;font-size:22px;text-align:center}.radioCheckbox label{position:relative}.radioCheckbox label span{border:1px solid gray;display:block;height:20px;padding:0 10px;width:20px}.checkboxNewUi{display:inline-flex;justify-content:center;align-items:center;padding-right:10px}.checkboxNewUi .checkboxUi{margin-right:20px}.checkboxUi input{padding:0;height:auto;width:auto;margin-bottom:0;display:none;cursor:pointer}.checkboxUi label,.checkboxUi label:before{position:relative;cursor:pointer}.checkboxUi label:before{content:"";-webkit-appearance:none;background-color:transparent;border:1px solid gray;box-shadow:0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05);padding:10px;display:inline-block;vertical-align:middle;margin-right:5px}.checkboxUi input:checked+label:after{content:"";display:block;position:absolute;top:2px;left:9px;width:6px;height:14px;border:solid gray;border-width:0 2px 2px 0;transform:rotate(45deg)}.leftSidebar1{position:relative;z-index:10000}.bg-background-secondary{background-color:#083361!important}:root{--brand-primary-color:#ff545e;--brand-secondary-color:#083361;--brand-tertiary-color:#00adcf;--dcl-primary-color:#05538b;--dcl-steel-color:#7a869a;--links-blue-color:#047bf8;--placeholder-color:#d2d2d2;--selection-color:#c3ebe5;--facebook-color:#5d82d2;--twitter-color:#40bff4;--linkedin-color:#248cc9;--jet-black:#000;--animation-cubic:cubic-bezier(0.2,0.3,0.25,0.9);--animation-bezier:cubic-bezier(0.7,0,0.3,1);--animation-natural:cubic-bezier(0.4,0,0.2,1);--bg-background-primary-color:#004c3f;--bg-background-muted-color:rgba(8,72,64,.02);--bg-background-form:#1a202c;--text-copy-primary:#cbd5e0;--text-copy-secondary:#e2e8f0;--text-blue:#0094ff;--transition-cubic:all 0.08s cubic-bezier(0.2,0.3,0.25,0.9);--transition-smooth:all 0.3s;--transition-bezier:all 1s cubic-bezier(0.7,0,0.3,1);--transition-natural:all 0.4s cubic-bezier(0.4,0,0.2,1)}.modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:-moz-fit-content;height:fit-content;//max-width:500px;margin-top:20vh;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.-bg-blue-900{background-color:#073262}.text-head{font-size:1.65rem;line-height:2.25rem;color:#f4f4f4}.head-plan{margin-top:-3px;display:block}.chatbotBtn{box-shadow:0 .2rem 1.1rem #555;background-color:#01152b!important}.tooltipinner{bottom:109px;font-family:GuardianEgyp-Light,sans-serif;font-size:.75rem;line-height:14px}.tooltiparrow{bottom:104px;margin-left:-.3rem;border-width:.3rem .3rem 0;border-top-color:#000}.bg-genome-v6{--tw-bg-opacity:1;background-color:rgb(2 28 66/var(--tw-bg-opacity))}.undermaintancewrapper{width:75%;margin:35px auto;text-align:center}.undertext h1{font-weight:900;font-size:1.5em;line-height:1em;margin-top:25px;color:#073262}
|
|
3
|
+
*/*,:after,:before{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:after,:before{--tw-content:""}html{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-feature-settings:normal;font-variation-settings:normal}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(1,98,255,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(1,98,255,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.pointer-events-none{pointer-events:none}.visible{visibility:visible}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.bottom-0{bottom:0}.bottom-16{bottom:4rem}.bottom-2{bottom:.5rem}.left-0{left:0}.left-1\/2{left:50%}.left-80{left:20rem}.right-0{right:0}.right-2{right:.5rem}.top-0{top:0}.top-1{top:.25rem}.top-2{top:.5rem}.top-28{top:7rem}.top-5{top:1.25rem}.top-9{top:2.25rem}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.order-1{order:1}.order-2{order:2}.float-right{float:right}.float-left{float:left}.m-0{margin:0}.m-3{margin:.75rem}.m-auto{margin:auto}.-mx-3{margin-left:-.75rem;margin-right:-.75rem}.mx-4{margin-left:1rem;margin-right:1rem}.mx-6{margin-left:1.5rem;margin-right:1.5rem}.mx-auto{margin-left:auto;margin-right:auto}.my-2{margin-top:.5rem;margin-bottom:.5rem}.-mt-1{margin-top:-.25rem}.-mt-6{margin-top:-1.5rem}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-10{margin-bottom:2.5rem}.mb-12{margin-bottom:3rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.mr-8{margin-right:2rem}.mt-1{margin-top:.25rem}.mt-10{margin-top:2.5rem}.mt-12{margin-top:3rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-3\%{margin-top:3%}.mt-4{margin-top:1rem}.mt-4\%{margin-top:4%}.mt-5{margin-top:1.25rem}.mt-5\%{margin-top:5%}.mt-6{margin-top:1.5rem}.mt-7{margin-top:1.75rem}.mt-8{margin-top:2rem}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.table{display:table}.hidden{display:none}.h-0{height:0}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-2{height:.5rem}.h-3\/4{height:75%}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-8{height:2rem}.h-80{height:20rem}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-screen{height:100vh}.max-h-screen{max-height:100vh}.w-0{width:0}.w-1\/2{width:50%}.w-1\/4{width:25%}.w-1\/5{width:20%}.w-10{width:2.5rem}.w-11\/12{width:91.666667%}.w-12{width:3rem}.w-14{width:3.5rem}.w-2{width:.5rem}.w-2\/3{width:66.666667%}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-3\/12{width:25%}.w-3\/4{width:75%}.w-3\/5{width:60%}.w-4{width:1rem}.w-4\/6{width:66.666667%}.w-6{width:1.5rem}.w-64{width:16rem}.w-72{width:18rem}.w-8{width:2rem}.w-80{width:20rem}.w-auto{width:auto}.w-full{width:100%}.min-w-40\%{min-width:40%}.max-w-2xl{max-width:42rem}.max-w-4xl{max-width:56rem}.max-w-6xl{max-width:72rem}.max-w-md{max-width:28rem}.flex-1{flex:1 1 0%}.flex-none{flex:none}.table-auto{table-layout:auto}.border-collapse{border-collapse:collapse}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-center{align-items:center}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.border{border-width:1px}.border-2{border-width:2px}.border-b{border-bottom-width:1px}.border-r-1{border-right-width:1px}.border-t{border-top-width:1px}.border-t-0{border-top-width:0}.border-solid{border-style:solid}.border-dotted{border-style:dotted}.border-b{--tw-border-opacity:1;border-color:rgb(95 198 214/var(--tw-border-opacity))}.border-background-secondary{border-color:var(--brand-secondary-color)}.border-blue-900{--tw-border-opacity:1;border-color:rgb(0 29 77/var(--tw-border-opacity))}.border-gray-100{--tw-border-opacity:1;border-color:rgb(243 244 246/var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity:1;border-color:rgb(229 231 235/var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(156 163 175/var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.border-t{--tw-border-opacity:1;border-color:rgb(50 84 140/var(--tw-border-opacity))}.border-transparent{border-color:transparent}.bg-background-secondary{background-color:var(--brand-secondary-color)}.bg-black{--tw-bg-opacity:1;background-color:rgb(0 0 0/var(--tw-bg-opacity))}.bg-blue-700{--tw-bg-opacity:1;background-color:rgb(1 59 153/var(--tw-bg-opacity))}.bg-blue-900{--tw-bg-opacity:1;background-color:rgb(0 29 77/var(--tw-bg-opacity))}.bg-genome-blue{--tw-bg-opacity:1;background-color:rgb(42 88 141/var(--tw-bg-opacity))}.bg-genpact-text-grey-light{--tw-bg-opacity:1;background-color:rgb(126 126 126/var(--tw-bg-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-gray-200{--tw-bg-opacity:1;background-color:rgb(229 231 235/var(--tw-bg-opacity))}.bg-gray-400{--tw-bg-opacity:1;background-color:rgb(156 163 175/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-gray-600{--tw-bg-opacity:1;background-color:rgb(75 85 99/var(--tw-bg-opacity))}.bg-green-600{--tw-bg-opacity:1;background-color:rgb(22 163 74/var(--tw-bg-opacity))}.bg-red-400{--tw-bg-opacity:1;background-color:rgb(248 113 113/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-contain{background-size:contain}.bg-clip-padding{background-clip:padding-box}.bg-center{background-position:50%}.bg-no-repeat{background-repeat:no-repeat}.p-0{padding:0}.p-1{padding:.25rem}.p-2{padding:.5rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-8{padding:2rem}.px-0{padding-left:0;padding-right:0}.px-10{padding-left:2.5rem;padding-right:2.5rem}.px-14{padding-left:3.5rem;padding-right:3.5rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-32{padding-left:8rem;padding-right:8rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.pb-1{padding-bottom:.25rem}.pb-2{padding-bottom:.5rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-1{padding-left:.25rem}.pl-10{padding-left:2.5rem}.pl-2{padding-left:.5rem}.pl-3{padding-left:.75rem}.pl-6{padding-left:1.5rem}.pl-8{padding-left:2rem}.pr-0{padding-right:0}.pr-1{padding-right:.25rem}.pr-2{padding-right:.5rem}.pr-20{padding-right:5rem}.pr-3{padding-right:.75rem}.pr-4{padding-right:1rem}.pr-8{padding-right:2rem}.pt-1{padding-top:.25rem}.pt-12{padding-top:3rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pt-8{padding-top:2rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-middle{vertical-align:middle}.align-bottom{vertical-align:bottom}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-\[14px\]{font-size:14px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-tight{line-height:1.25}.tracking-wide{letter-spacing:.025em}.text-background-secondary{color:var(--brand-secondary-color)}.text-blue-800{--tw-text-opacity:1;color:rgb(0 44 115/var(--tw-text-opacity))}.text-blue-900{--tw-text-opacity:1;color:rgb(0 29 77/var(--tw-text-opacity))}.text-genome-blue{--tw-text-opacity:1;color:rgb(42 88 141/var(--tw-text-opacity))}.text-gray-400{--tw-text-opacity:1;color:rgb(156 163 175/var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity:1;color:rgb(107 114 128/var(--tw-text-opacity))}.text-gray-600{--tw-text-opacity:1;color:rgb(75 85 99/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-gray-900{--tw-text-opacity:1;color:rgb(17 24 39/var(--tw-text-opacity))}.text-green-700{--tw-text-opacity:1;color:rgb(21 128 61/var(--tw-text-opacity))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.text-red-700{--tw-text-opacity:1;color:rgb(185 28 28/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.opacity-90{opacity:.9}.outline-none{outline:2px solid transparent;outline-offset:2px}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.last\:border-r-0:last-child{border-right-width:0}.last\:pb-10:last-child{padding-bottom:2.5rem}.hover\:bg-blue-700:hover{--tw-bg-opacity:1;background-color:rgb(1 59 153/var(--tw-bg-opacity))}.hover\:bg-blue-900:hover{--tw-bg-opacity:1;background-color:rgb(0 29 77/var(--tw-bg-opacity))}.hover\:bg-gray-300:hover{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.hover\:text-blue-300:hover{--tw-text-opacity:1;color:rgb(153 192 255/var(--tw-text-opacity))}.hover\:text-gray-700:hover{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:border-blue-600:focus{--tw-border-opacity:1;border-color:rgb(1 88 230/var(--tw-border-opacity))}.focus\:border-gray-500:focus{--tw-border-opacity:1;border-color:rgb(107 114 128/var(--tw-border-opacity))}.focus\:bg-white:focus{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.focus\:text-gray-700:focus{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-blue-400:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(77 145 255/var(--tw-ring-opacity))}.focus\:ring-blue-900:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(0 29 77/var(--tw-ring-opacity))}.focus\:ring-opacity-75:focus{--tw-ring-opacity:0.75}@media (min-width:640px){.sm\:w-1\/2{width:50%}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width:768px){.md\:order-1{order:1}.md\:order-2{order:2}.md\:mx-24{margin-left:6rem;margin-right:6rem}.md\:mx-3{margin-left:.75rem;margin-right:.75rem}.md\:mr-2{margin-right:.5rem}.md\:mr-6{margin-right:1.5rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:inline{display:inline}.md\:flex{display:flex}.md\:h-10{height:2.5rem}.md\:w-1\/2{width:50%}.md\:w-1\/3{width:33.333333%}.md\:w-1\/4{width:25%}.md\:w-10{width:2.5rem}.md\:w-2\/4{width:50%}.md\:w-full{width:100%}.md\:flex-row{flex-direction:row}.md\:justify-center{justify-content:center}.md\:p-0{padding:0}.md\:px-0{padding-left:0;padding-right:0}.md\:px-24{padding-left:6rem;padding-right:6rem}.md\:pb-0{padding-bottom:0}.md\:pl-16{padding-left:4rem}.md\:pr-12{padding-right:3rem}.md\:pr-24{padding-right:6rem}.md\:pt-16{padding-top:4rem}.md\:text-right{text-align:right}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width:1024px){.lg\:mx-24{margin-left:6rem;margin-right:6rem}.lg\:mx-3{margin-left:.75rem;margin-right:.75rem}.lg\:mr-2{margin-right:.5rem}.lg\:mr-6{margin-right:1.5rem}.lg\:mt-5{margin-top:1.25rem}.lg\:mt-6{margin-top:1.5rem}.lg\:block{display:block}.lg\:inline{display:inline}.lg\:flex{display:flex}.lg\:h-10{height:2.5rem}.lg\:w-1\/2{width:50%}.lg\:w-1\/3{width:33.333333%}.lg\:w-1\/4{width:25%}.lg\:w-1\/5{width:20%}.lg\:w-10{width:2.5rem}.lg\:w-2\/4{width:50%}.lg\:justify-center{justify-content:center}.lg\:p-0{padding:0}.lg\:px-0{padding-left:0;padding-right:0}.lg\:px-24{padding-left:6rem;padding-right:6rem}.lg\:px-8{padding-left:2rem;padding-right:2rem}.lg\:pl-16{padding-left:4rem}.lg\:pr-12{padding-right:3rem}.lg\:pr-24{padding-right:6rem}.lg\:pt-16{padding-top:4rem}.lg\:text-right{text-align:right}.lg\:text-3xl{font-size:1.875rem;line-height:2.25rem}}@media (min-width:1280px){.xl\:flex{display:flex}.xl\:w-1\/2{width:50%}}@font-face{font-family:Guardian Egyptian Light;src:url(/fonts/GuardianEgyp-Light.otf)}@font-face{font-family:Guardian Egyptian Bold;src:url(/fonts/GuardianTextEgyp-Bold.otf)}body{font-family:Guardian Egyptian Light!important}strong{font-family:Guardian Egyptian Bold!important;color:#073262!important}.text-over td,.text-over th{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:60px}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px 0 rgba(0,0,0,.06);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.admin{max-width:77%;margin-left:21%}.rich-text-formatter a{color:#00abcc!important;cursor:pointer!important}li,p{color:#707070!important;margin:0!important;font-size:14px!important}.admin table td,.admin table th{margin:0!important;font-size:13px!important}.admin ul{list-style:disc!important}.admin ol,.admin ul{padding-left:20px;line-height:23px!important}.admin ol{list-style:decimal!important}.admin p{line-height:23px!important}.admin h1{font-size:2em!important}.admin h1,.admin h2{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h2{font-size:1.5em!important}.admin h3{font-size:1.17em!important}.admin h3,.admin h4{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h4{font-size:1em!important}.admin h5{font-size:.83em!important}.admin h5,.admin h6{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.admin h6{font-size:.75em!important}.admin p a{color:#00abcc!important;cursor:pointer!important}.rich-text-formatter ul{list-style:disc!important;padding-left:20px;line-height:23px!important}.rich-text-formatter ol{list-style:decimal!important;padding-left:20px}.rich-text-formatter ol,.rich-text-formatter p{line-height:23px!important}.rich-text-formatter h1{font-size:2em!important}.rich-text-formatter h1,.rich-text-formatter h2{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h2{font-size:1.5em!important}.rich-text-formatter h3{font-size:1.17em!important}.rich-text-formatter h3,.rich-text-formatter h4{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h4{font-size:1em!important}.rich-text-formatter h5{font-size:.83em!important}.rich-text-formatter h5,.rich-text-formatter h6{font-weight:700!important;margin-top:5px!important;margin-bottom:5px!important}.rich-text-formatter h6{font-size:.75em!important}.rich-text-formatter p a{color:#00abcc!important;cursor:pointer!important}.radioCheckbox .checkboxStart{display:inline-flex;justify-content:center;align-items:center;padding-right:10px}.radioCheckbox input[type=radio]{display:none}.radioCheckbox input[type=radio]+label{display:inline-block;cursor:pointer;margin-right:4px}.radioCheckbox input[type=radio]+label:before{content:"";display:block;position:absolute;width:20px;top:1px;position:right}.radioCheckbox input[type=radio]:checked+label:before{content:"✓";font-family:lucida grande;font-size:22px;text-align:center}.radioCheckbox label{position:relative}.radioCheckbox label span{border:1px solid gray;display:block;height:20px;padding:0 10px;width:20px}.checkboxNewUi{display:inline-flex;justify-content:center;align-items:center;padding-right:10px}.checkboxNewUi .checkboxUi{margin-right:20px}.checkboxUi input{padding:0;height:auto;width:auto;margin-bottom:0;display:none;cursor:pointer}.checkboxUi label,.checkboxUi label:before{position:relative;cursor:pointer}.checkboxUi label:before{content:"";-webkit-appearance:none;background-color:transparent;border:1px solid gray;box-shadow:0 1px 2px rgba(0,0,0,.05),inset 0 -15px 10px -12px rgba(0,0,0,.05);padding:10px;display:inline-block;vertical-align:middle;margin-right:5px}.checkboxUi input:checked+label:after{content:"";display:block;position:absolute;top:2px;left:9px;width:6px;height:14px;border:solid gray;border-width:0 2px 2px 0;transform:rotate(45deg)}.leftSidebar1{position:relative;z-index:10000}.bg-background-secondary{background-color:#083361!important}:root{--brand-primary-color:#ff545e;--brand-secondary-color:#083361;--brand-tertiary-color:#00adcf;--dcl-primary-color:#05538b;--dcl-steel-color:#7a869a;--links-blue-color:#047bf8;--placeholder-color:#d2d2d2;--selection-color:#c3ebe5;--facebook-color:#5d82d2;--twitter-color:#40bff4;--linkedin-color:#248cc9;--jet-black:#000;--animation-cubic:cubic-bezier(0.2,0.3,0.25,0.9);--animation-bezier:cubic-bezier(0.7,0,0.3,1);--animation-natural:cubic-bezier(0.4,0,0.2,1);--bg-background-primary-color:#004c3f;--bg-background-muted-color:rgba(8,72,64,.02);--bg-background-form:#1a202c;--text-copy-primary:#cbd5e0;--text-copy-secondary:#e2e8f0;--text-blue:#0094ff;--transition-cubic:all 0.08s cubic-bezier(0.2,0.3,0.25,0.9);--transition-smooth:all 0.3s;--transition-bezier:all 1s cubic-bezier(0.7,0,0.3,1);--transition-natural:all 0.4s cubic-bezier(0.4,0,0.2,1)}.modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:-moz-fit-content;height:fit-content;//max-width:500px;margin-top:20vh;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.-bg-blue-900{background-color:#073262}.text-head{font-size:1.65rem;line-height:2.25rem;color:#f4f4f4}.head-plan{margin-top:-3px;display:block}.chatbotBtn{box-shadow:0 .2rem 1.1rem #555;background-color:#01152b!important}.tooltipinner{bottom:109px;font-family:GuardianEgyp-Light,sans-serif;font-size:.75rem;line-height:14px}.tooltiparrow{bottom:104px;margin-left:-.3rem;border-width:.3rem .3rem 0;border-top-color:#000}.bg-genome-v6{--tw-bg-opacity:1;background-color:rgb(2 28 66/var(--tw-bg-opacity))}.w-80{width:80%}.undermaintancewrapper{width:75%;margin:35px auto;text-align:center}.undertext h1{font-weight:900;font-size:1.5em;line-height:1em;margin-top:25px;color:#073262}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{4735:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r(6540)}})])])])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),r=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:r}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},6629:function(e,t,r){r.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:r(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:r(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("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",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("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 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("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",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("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",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(r(7658),r(4856)),o=r(3087),n={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{o.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=n,u=r(1001),c=(0,u.Z)(l,s,a,!1,null,null,null),d=c.exports},5316:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},6054:function(e,t,r){r.r(t),r.d(t,{default:function(){return y}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:"",proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Submitting a re-review request does not guarantee approval of your task submission; it signifies that your submission will undergo a thorough re-evaluation.")]),t("p",{staticClass:"mt-2"},[e._v("To proceed, upload your task using the 'Choose File' button and submit it.")]),t("p",{staticClass:"mt-2"},[e._v(" You'll receive an email notification once the re-reviews are completed, indicating whether your submission passed or if you need to redo Solidify. This process may take up to two weeks from the time of your request. ")]),e._m(0),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v("By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(1)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(2)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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(9756),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("p",{staticClass:"mt-2"},[t("strong",[e._v(" Note: Re-review requests are processed only once, and during this process, you cannot initiate Solidify for the same skill and proficiency. If the reviewer finds the original assessment to be accurate, no changes will be made to your Solidify results.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=r(7203),o=r(6629),n=r(306),l=r(4735),u=r(5316),c=r(7129);const d=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},p=async(e,t)=>{const r=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return r};var v=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:o.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),r=(0,i.ref)(),s=(0,i.ref)(!1),a=(0,i.ref)(),o=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),v=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(o.value=!1,console.log(o.value)):(o.value=!0,console.log(o.value))},g=async()=>{try{if(l.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return s.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await p(t.value,!1);r.value.request_for_re_review=e.data?.request_for_re_review,r.value.re_review_status=e.data?.re_review_status,l.value=!0,s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await d(t.value);return r.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(r)}`),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."):"Complete"===r.value.re_review_status&&(s.value=!0,a.value="Dear learner,<br>Your re-review has been completed. Please check your registered email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await d(t.value);r.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(r.value)}`),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(s.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:s,modalMessage:a,buttonDisable:o,learnerRereviewDetails:r,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:v}}}),f=v,g=r(1001),m=(0,g.Z)(f,s,a,!1,null,"4a62aeb2",null),y=m.exports},2191:function(e,t,r){e.exports=r.p+"img/plag_warning1.gif"},5861:function(e,t,r){e.exports=r.p+"img/plag_warning2.gif"},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{4735:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:r(6540)}})])])])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),r=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:r}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},6629:function(e,t,r){r.d(t,{Z:function(){return d}});var s=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:r(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:r(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-6 pt-4 bg-white"},[e.reReviewButton?t("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",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("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 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("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",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("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",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(r(7658),r(4856)),o=r(7492),n={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{o.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=n,u=r(1001),c=(0,u.Z)(l,s,a,!1,null,null,null),d=c.exports},5316:function(e,t,r){r.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},a=[],i=r(7203),o=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),n=o,l=r(1001),u=(0,l.Z)(n,s,a,!1,null,null,null),c=u.exports},6054:function(e,t,r){r.r(t),r.d(t,{default:function(){return y}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:"",proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",[e._v("Submitting a re-review request does not guarantee approval of your task submission; it signifies that your submission will undergo a thorough re-evaluation.")]),t("p",{staticClass:"mt-2"},[e._v("To proceed, upload your task using the 'Choose File' button and submit it.")]),t("p",{staticClass:"mt-2"},[e._v(" You'll receive an email notification once the re-reviews are completed, indicating whether your submission passed or if you need to redo Solidify. This process may take up to two weeks from the time of your request. ")]),e._m(0),t("div",{staticClass:"mt-3"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v("By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(1)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"mt-2"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(2)]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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(9756),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("p",{staticClass:"mt-2"},[t("strong",[e._v(" Note: Re-review requests are processed only once, and during this process, you cannot initiate Solidify for the same skill and proficiency. If the reviewer finds the original assessment to be accurate, no changes will be made to your Solidify results.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=r(7203),o=r(6629),n=r(306),l=r(4735),u=r(5316),c=r(7129);const d=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},p=async(e,t)=>{const r=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return r};var v=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:o.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),r=(0,i.ref)(),s=(0,i.ref)(!1),a=(0,i.ref)(),o=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),v=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(o.value=!1,console.log(o.value)):(o.value=!0,console.log(o.value))},g=async()=>{try{if(l.value=!1,r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested)return s.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await p(t.value,!1);r.value.request_for_re_review=e.data?.request_for_re_review,r.value.re_review_status=e.data?.re_review_status,l.value=!0,s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await d(t.value);return r.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(r)}`),void("Re-review Accepted Proxy Assigned"===r.value.re_review_status||"Re-review Accepted Proxy Unavailable"===r.value.re_review_status?(s.value=!0,a.value="Dear learner,<br>Your request for re-review has been accepted and is under progress. You will receive an email once the review has been completed."):"Complete"===r.value.re_review_status&&(s.value=!0,a.value="Dear learner,<br>Your re-review has been completed. Please check your registered email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await d(t.value);r.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(r.value)}`),r.value.is_plagiarised&&r.value.plagiarism_reevaluation_requested&&(s.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,n.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:s,modalMessage:a,buttonDisable:o,learnerRereviewDetails:r,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:v}}}),f=v,g=r(1001),m=(0,g.Z)(f,s,a,!1,null,"4a62aeb2",null),y=m.exports},2191:function(e,t,r){e.exports=r.p+"img/plag_warning1.gif"},5861:function(e,t,r){e.exports=r.p+"img/plag_warning2.gif"},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.LearnerRereview.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[351],{4302:function(e,t,a){a.r(t),a.d(t,{default:function(){return w}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Search by OHR/email ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrEmail,expression:"ohrEmail"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.ohrEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData()},keydown:e.showHideCancel,input:function(t){t.target.composing||(e.ohrEmail=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],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.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showProficiency,expression:"showProficiency"}],staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],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.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchData()}}},[e._v("Search")])])])])]),t("div",{staticClass:"flex w-full mt-2"},[t("div",{staticClass:"mt-10 text-left w-4/6 mb-2"},[e.showdiffAccess?t("label",{staticClass:"block tracking-wide -text-blue-800 font-normal"},[t("span",{staticClass:"opacity-80"},[e._v("Differential access status -")]),e._v(" "),t("span",{staticClass:"capitalize text-background-secondary font-bold"},[e._v(e._s(e.diffAccess))])]):e._e()]),t("div")]),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.journeyBtnShow,expression:"journeyBtnShow"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewLearnerDetails()}}},[e._v("Learner Journey")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showEventBtn,expression:"showEventBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewEvents()}}},[e._v("View Events")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showGradBtn,expression:"showGradBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.viewGrades()}}},[e._v("View Grades")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteBtn,expression:"showDeleteBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.DeleteLearnerDetails()}}},[e._v("Delete")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showUploadBtn,expression:"showUploadBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.uploadLearnerSubmission()}}},[e._v("Upload Learner Submission")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.holdLearnerBtn,expression:"holdLearnerBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showLearnerHoldPanel()}}},[e._v(e._s(e.isLearnerOnHold?"Unhold Learner":"Hold Learner"))]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showPlagiarismBtn,expression:"showPlagiarismBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("Re-evaluate Plagiarism")])])]),e.showSuccessMessage?t("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?t("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.showReEvaluatePanel?t("div",{staticClass:"w-full mt-4% mb-4"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(a){return t("tr",{key:a.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var s=e.selectedProxyOhr,n=t.target,r=!!n.checked;if(Array.isArray(s)){var l=a.proxy_ohr,o=e._i(s,l);n.checked?o<0&&(e.selectedProxyOhr=s.concat([l])):o>-1&&(e.selectedProxyOhr=s.slice(0,o).concat(s.slice(o+1)))}else e.selectedProxyOhr=r},function(t){return e.showAssignProxyBtn(t)}],click:e.proxyCheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))])])})),0)])])]):e._e(),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.submitSubmiision}},[e._v("Upload Learner Submission")])]):e._e(),e.learnerHoldPanel?t("div",{staticClass:"border border-background-secondary mt-6 mb-6 p-8 w-full"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Enter Reason ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerHoldReason,expression:"learnerHoldReason"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",disabled:!0===e.isLearnerOnHold},domProps:{value:e.learnerHoldReason},on:{input:function(t){t.target.composing||(e.learnerHoldReason=t.target.value)}}})]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.callHoldLearner()}}},[e._v(e._s(e.isLearnerOnHold?"Unhold Learner":"Hold Learner"))])])])]):e._e(),e.learnerData?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"text-left w-full text-md bg-white shadow rounded mb-4"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.learnerData,(function(a){return t("tr",{key:a.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:a.learner_task_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,a.learner_task_id)>-1:e.checkOne},on:{change:[function(t){var s=e.checkOne,n=t.target,r=!!n.checked;if(Array.isArray(s)){var l=a.learner_task_id,o=e._i(s,l);n.checked?o<0&&(e.checkOne=s.concat([l])):o>-1&&(e.checkOne=s.slice(0,o).concat(s.slice(o+1)))}else e.checkOne=r},function(t){return e.showJourneyBtn(t,a.learner_task_id,a.linked_task_id,a.learner_status,a.is_plagiarised,a.skill,a.proficiency,a.learner_key,a.technical_hold,a.reason_for_hold)}],click:e.checkedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.fullname}},[e._v(e._s(a.fullname))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.email}},[e._v(e._s(a.email))]),t("td",{staticClass:"p-2 px-3 text-center",attrs:{title:a.learner_key}},[e._v(e._s(a.learner_key))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.proficiencyName}},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.skillName}},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.learner_status}},[e._v(e._s(a.learner_status))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.registration_date}},[e._v(e._s(a.registration_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.submission_date}},[e._v(e._s(a.submission_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.completion_date}},[e._v(e._s(a.completion_date))])])})),0)])]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("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")])])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Operational data")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Full name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("OHR")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Registration Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")])])])}],r=a(7203),l=a(1602),o=a.n(l),i=a(8451),c=a(5279),u=a(3087),d=a(568),v=a(8709),p=a(306),f=(0,r.defineComponent)({name:"OperationalTab",setup(){const e=(0,r.ref)(),t=(0,r.ref)(),a=(0,r.ref)(),s=(0,r.ref)(),n=(0,r.ref)(),l=(0,r.ref)(!0),f=(0,r.ref)(!1),y=(0,r.ref)(!1),h=(0,r.ref)(!1),m=(0,r.ref)([]),w=(0,r.ref)(!1),g=(0,r.ref)(!1),_=(0,r.ref)(!1),x=(0,r.ref)(!1),b=(0,r.ref)(),k=(0,r.ref)(),C=(0,r.ref)(!0),S=(0,r.ref)(),P=(0,r.ref)(!1),Z=(0,r.ref)(!1),O=(0,r.ref)(!1),L=(0,r.ref)(!1),A=(0,r.ref)(),D=(0,r.ref)(),B=(0,r.ref)(),E=(0,r.ref)(),R=(0,r.ref)(),H=(0,r.ref)(),M=(0,r.ref)("Select Skill"),N=(0,r.ref)("Select Proficiency"),T={},U=(0,r.ref)(!1),j=(0,r.ref)(!1),Y=(0,r.ref)(),G=(0,r.ref)(),$=(0,r.ref)(),F=(0,r.ref)(),I=(0,r.ref)([]),V=(0,r.ref)(!1),J=(0,r.ref)(),X=(0,r.ref)(!1),q=(0,r.ref)(),z=(0,r.ref)(!1),Q=(0,r.ref)(!1),W=(0,r.ref)(!1),K=(0,r.ref)(""),ee=()=>{m.value=[]},te=()=>{I.value=[]},ae=()=>{Q.value=!Q.value},se=(e,t,a,s,n,r,l,o,i,c)=>{const u=e.target.checked;!0===u?(O.value=!1,w.value=!0,g.value=!0,_.value=!0,x.value=!0,z.value=!0,b.value=t,Y.value=r,F.value=o,W.value=1===i,K.value=1===i?c:"",G.value=l,q.value=a,console.log(`Learner OHR ${F.value}`),localStorage.setItem("inputValue",S.value),"Registered"===s&&k.value.includes("System Admin")?y.value=!0:y.value=!1,U.value=!0===n):(w.value=!1,z.value=!1,W.value=!1,g.value=!1,y.value=!1,_.value=!1,U.value=!1,O.value=!1)},ne=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationOperationalDetails",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},re=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationUploadSubmission",query:{linked_task_id:q.value,learner_task_id:b.value}});window.open(e.href,"_blank")},le=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationLearnerEvents",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},oe=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationLearnerGrades",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},ie=async()=>{l.value=!1;const e=await(0,i.QZ)("/getAllSkillProf");t.value=e.skill,a.value=e.proficiency,l.value=!0},ce=async()=>{try{O.value=!1,l.value=!1;const t=await(0,i.Lu)("/getAllOperationData",T);if(e.value=t.operationData,A.value=t.diffStatus,console.log("diffAccess.value",A.value),A.value&&(P.value=!0),e.value)for(let a=0;a<e.value.length;a+=1){const t=e.value[a];t.registration_date&&(t.registration_date=o()(t.registration_date).format("DD-MM-YYYY")),t.completion_date&&(t.completion_date=o()(t.completion_date).format("DD-MM-YYYY")),t.submission_date&&(t.submission_date=o()(t.submission_date).format("DD-MM-YYYY"))}localStorage.removeItem("inputValue"),l.value=!0}catch(t){console.log(t)}},ue=async()=>{S.value&&(Object.assign(T,{ohrEmail:S.value}),await ce())},de=async()=>{l.value=!1,await(0,i.O6)(`/deleteRegisteredLearner/${b.value}`),await ce(),l.value=!0},ve=()=>{S.value="",h.value=!1},pe=()=>{S.value?h.value=!0:h.value=!1},fe=async e=>{try{const t=e.target.files[0],a=e.target.files[0].name,s=e.target.files[0].size/1024/1024;s>200?(E.value="fileSize greater than 200 MB",setTimeout((()=>{E.value=null}),6e3)):(D.value=t,B.value=a)}catch(t){console.log(t)}},ye=async()=>{if(B.value){l.value=!1;const e=await(0,d.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:B.value,learner_task_id:b.value}),t=e.data;H.value=t.preSignedUrl;const a=await(0,d.sc)(H.value,D.value);if(console.log("Upload Response",a),200===a.status){const e={learner_submission:B.value,learner_task_id:b.value},t=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",e);console.log(t),R.value="File uploaded Successfully",setTimeout((()=>{R.value=null,Z.value=!1,ce()}),6e3)}else E.value="There is issue in the file upload",setTimeout((()=>{E.value=null}),6e3);l.value=!0}},he=async e=>{N.value=e.target.value,"Select Proficiency"===N.value?(N.value="Select Proficiency",Object.assign(T,{proficiency_id:""})):Object.assign(T,{proficiency_id:N.value})},me=async e=>{M.value=e.target.value,"Select Skill"===M.value?(M.value="Select Skill",L.value=!1,Object.assign(T,{skill_id:"",proficiency_id:""})):(Object.assign(T,{skill_id:M.value}),L.value=!0)},we=async()=>{l.value=!1,O.value=!0,$.value=await(0,v.Nl)("/getAllProxyBySkill",Y.value),l.value=!0,console.log("Proxy List",$.value)},ge=async()=>{console.log("Assign Proxy");try{l.value=!1;const e={learner:b.value,proxy_key:I.value[0],learner_key:F.value,skill:Y.value,proficiency:G.value};console.log("Selected Data",e);const t=await(0,i.X5)("/reevaluatePlagiarism",e);O.value=!1,l.value=!0,console.log("assignProxyRes?.data.message",t?.data.message),J.value=t?.data.message,V.value=!0,setTimeout((()=>{V.value=!1}),6e3),await ce()}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),l.value=!0,J.value=t.response?.data?.message,console.log(`errorMessage.value ${E.value}`),X.value=!0,setTimeout((()=>{X.value=!1}),6e3)}}},_e=async()=>{l.value=!1;const e={learner_task_id:b.value,action:!0===!W.value?"1":"0",reason:K.value};try{const t=await(0,i.R2)("/admin/learner/perform_technical_hold",e);console.log(t),R.value=t,W.value=!W.value,setTimeout((()=>{R.value=null,ce()}),6e3),l.value=!0}catch(t){if(p.Z.isAxiosError(t)){const e=t;console.log("err.response?.data",e.response?.data),l.value=!0,J.value=e.response?.data?.message,console.log(`errorMessage.value ${E.value}`),X.value=!0,setTimeout((()=>{X.value=!1}),6e3)}}Q.value=!1},xe=async e=>{const t=e.target.checked;j.value=!0===t};return(0,r.onBeforeMount)((async()=>{const e=await(0,c.GF)("/getUserRole");k.value=e.user_roles,k.value.length>0&&(k.value.includes("System Admin")||k.value.includes("System Admin View Access")||k.value.includes("Program Admin")?(console.log("inside Role"),C.value=!0,await ie()):C.value=!1),localStorage.getItem("inputValue")&&(S.value=localStorage.getItem("inputValue"),Object.assign(T,{ohrEmail:localStorage.getItem("inputValue")}),await ce())})),{learnerData:e,skills:t,proficiency:a,programme:s,status:n,showOperationTab:f,renderReady:l,checkOne:m,checkedOne:ee,showJourneyBtn:se,journeyBtnShow:w,viewLearnerDetails:ne,ohrEmail:S,searchData:ue,showDeleteBtn:y,DeleteLearnerDetails:de,isShowCancel:h,clearInput:ve,showHideCancel:pe,showEventBtn:g,viewEvents:le,showGradBtn:_,viewGrades:oe,showScreen:C,showdiffAccess:P,diffAccess:A,showUploadBtn:x,submitSubmiision:ye,showTaskImport:Z,selectedFile:fe,preSignedUrl:H,successMessage:R,errorMessage:E,getSkillandProf:ie,getSelectedSkill:me,selectedProficiency:N,selectedSkill:M,getSelectedProficiency:he,showProficiency:L,showPlagiarismBtn:U,showReEvaluatePanel:O,checkedSkill:Y,showProxy:we,proxyList:$,proxyAssignedBtn:j,assignLearnerToProxy:ge,selectedProxyOhr:I,showAssignProxyBtn:xe,showSuccessMessage:V,resMessage:J,showErrorMessage:X,proxyCheckedOne:te,linkedTaskId:q,uploadLearnerSubmission:re,holdLearnerBtn:z,learnerHoldPanel:Q,showLearnerHoldPanel:ae,callHoldLearner:_e,isLearnerOnHold:W,learnerHoldReason:K}}}),y=f,h=a(1001),m=(0,h.Z)(y,s,n,!1,null,"389aa30b",null),w=m.exports},8709:function(e,t,a){a.d(t,{G7:function(){return n},Nl:function(){return l},QZ:function(){return r},kn:function(){return o}});var s=a(7129);const n=async(e,t)=>{const a=await s.Z.post(e,t);return a},r=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},l=async(e,t)=>{let a;return await s.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return n},$i:function(){return k},Ao:function(){return h},DU:function(){return f},EX:function(){return D},F5:function(){return B},FS:function(){return v},GF:function(){return Z},Iu:function(){return l},J1:function(){return b},Jf:function(){return g},Kk:function(){return m},N9:function(){return O},P8:function(){return u},VP:function(){return w},Vz:function(){return C},WX:function(){return p},X$:function(){return _},XP:function(){return r},Yb:function(){return P},a4:function(){return L},dH:function(){return x},gh:function(){return y},nb:function(){return i},oA:function(){return S},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return A}});var s=a(7129);const n=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},r=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},w=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},g=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},x=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await s.Z.get(e);return t},k=async e=>{const t=await s.Z.get(e);return t},C=async e=>{const t=await s.Z.get(e);return t},S=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},P=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},Z=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},O=async e=>{const t=await s.Z.post("/user/role",e);return t},L=async e=>{const t=await s.Z.post("/user/removeRole",e);return t},A=async()=>{const e=await s.Z.get("role");return e},D=async e=>{const t=await s.Z.post("/user/saveLSS",e);return t},B=async e=>{const t=await s.Z.post("/user/saveEnvAccess",e);return t}},8451:function(e,t,a){a.d(t,{Lu:function(){return n},O6:function(){return o},QZ:function(){return c},R2:function(){return i},X5:function(){return l},oE:function(){return r}});var s=a(7129);const n=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},o=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},i=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{ie:function(){return o},rC:function(){return i},sc:function(){return r},ux:function(){return n},yW:function(){return l}});var s=a(7129);const n=async(e,t)=>{const a=await s.Z.post(e,t);return a},r=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},l=async e=>{const t=await s.Z.get(`/task/${e}`);return t},o=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a}}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[351],{4302:function(e,t,a){a.r(t),a.d(t,{default:function(){return w}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[e.showScreen?t("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[e._m(0),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow p-4 text-background-secondary"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Search by OHR/email ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.ohrEmail,expression:"ohrEmail"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text"},domProps:{value:e.ohrEmail},on:{keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.searchData()},keydown:e.showHideCancel,input:function(t){t.target.composing||(e.ohrEmail=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Skill ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedSkill,expression:"selectedSkill"}],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.selectedSkill=t.target.multiple?a:a[0]},function(t){return e.getSelectedSkill(t)}]}},[t("option",[e._v("Select Skill")]),e._l(e.skills,(function(a){return t("option",{key:a.skill_id,domProps:{value:a.skill_id}},[e._v(e._s(a.skill_alias))])}))],2)]),t("div",{directives:[{name:"show",rawName:"v-show",value:e.showProficiency,expression:"showProficiency"}],staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Proficiency ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProficiency,expression:"selectedProficiency"}],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.selectedProficiency=t.target.multiple?a:a[0]},function(t){return e.getSelectedProficiency(t)}]}},[t("option",[e._v("Select Proficiency")]),e._l(e.proficiency,(function(a){return t("option",{key:a.prof_id,domProps:{value:a.prof_id}},[e._v(e._s(a.prof_name))])}))],2)]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.searchData()}}},[e._v("Search")])])])])]),t("div",{staticClass:"flex w-full mt-2"},[t("div",{staticClass:"mt-10 text-left w-4/6 mb-2"},[e.showdiffAccess?t("label",{staticClass:"block tracking-wide -text-blue-800 font-normal"},[t("span",{staticClass:"opacity-80"},[e._v("Differential access status -")]),e._v(" "),t("span",{staticClass:"capitalize text-background-secondary font-bold"},[e._v(e._s(e.diffAccess))])]):e._e()]),t("div")]),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("button",{directives:[{name:"show",rawName:"v-show",value:e.journeyBtnShow,expression:"journeyBtnShow"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewLearnerDetails()}}},[e._v("Learner Journey")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showEventBtn,expression:"showEventBtn"}],staticClass:"mt-2 mr-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.viewEvents()}}},[e._v("View Events")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showGradBtn,expression:"showGradBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.viewGrades()}}},[e._v("View Grades")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showDeleteBtn,expression:"showDeleteBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.DeleteLearnerDetails()}}},[e._v("Delete")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showUploadBtn,expression:"showUploadBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.uploadLearnerSubmission()}}},[e._v("Upload Learner Submission")]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.holdLearnerBtn,expression:"holdLearnerBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showLearnerHoldPanel()}}},[e._v(e._s(e.isLearnerOnHold?"Unhold Learner":"Hold Learner"))]),t("button",{directives:[{name:"show",rawName:"v-show",value:e.showPlagiarismBtn,expression:"showPlagiarismBtn"}],staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary mr-2",on:{click:function(t){return e.showProxy()}}},[e._v("Re-evaluate Plagiarism")])])]),e.showSuccessMessage?t("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?t("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.showReEvaluatePanel?t("div",{staticClass:"w-full mt-4% mb-4"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyAssignedBtn?t("div",{staticClass:"w-1/4 pr-3 mb-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.assignLearnerToProxy()}}},[e._v("Assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.proxyList,(function(a){return t("tr",{key:a.proxy_ohr,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.selectedProxyOhr,expression:"selectedProxyOhr"}],attrs:{type:"checkbox",id:a.proxy_ohr},domProps:{value:a.proxy_ohr,checked:Array.isArray(e.selectedProxyOhr)?e._i(e.selectedProxyOhr,a.proxy_ohr)>-1:e.selectedProxyOhr},on:{change:[function(t){var s=e.selectedProxyOhr,n=t.target,r=!!n.checked;if(Array.isArray(s)){var l=a.proxy_ohr,o=e._i(s,l);n.checked?o<0&&(e.selectedProxyOhr=s.concat([l])):o>-1&&(e.selectedProxyOhr=s.slice(0,o).concat(s.slice(o+1)))}else e.selectedProxyOhr=r},function(t){return e.showAssignProxyBtn(t)}],click:e.proxyCheckedOne}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_name))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_email))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))])])})),0)])])]):e._e(),e.showTaskImport?t("div",{staticClass:"border border-background-secondary mt-6 p-8 w-full"},[t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})]),e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),t("button",{staticClass:"bg-background-secondary inline-block text-white py-2 px-4 mt-4",on:{click:e.submitSubmiision}},[e._v("Upload Learner Submission")])]):e._e(),e.learnerHoldPanel?t("div",{staticClass:"border border-background-secondary mt-6 mb-6 p-8 w-full"},[t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[e._v(" Enter Reason ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.learnerHoldReason,expression:"learnerHoldReason"}],staticClass:"appearance-none border rounded w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",disabled:!0===e.isLearnerOnHold},domProps:{value:e.learnerHoldReason},on:{input:function(t){t.target.composing||(e.learnerHoldReason=t.target.value)}}})]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.callHoldLearner()}}},[e._v(e._s(e.isLearnerOnHold?"Unhold Learner":"Hold Learner"))])])])]):e._e(),e.learnerData?t("div",{staticClass:"w-full mb-8 tableScroll"},[t("table",{staticClass:"text-left w-full text-md bg-white shadow rounded mb-4"},[e._m(2),t("tbody",{staticClass:"opacity-80 -text-blue-800"},e._l(e.learnerData,(function(a){return t("tr",{key:a.learner_task_id,staticClass:"border-b hover:bg-gray-300"},[t("td",{staticClass:"py-2 pl-3 pr-0 text-sm w-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.checkOne,expression:"checkOne"}],attrs:{type:"checkbox"},domProps:{value:a.learner_task_id,checked:Array.isArray(e.checkOne)?e._i(e.checkOne,a.learner_task_id)>-1:e.checkOne},on:{change:[function(t){var s=e.checkOne,n=t.target,r=!!n.checked;if(Array.isArray(s)){var l=a.learner_task_id,o=e._i(s,l);n.checked?o<0&&(e.checkOne=s.concat([l])):o>-1&&(e.checkOne=s.slice(0,o).concat(s.slice(o+1)))}else e.checkOne=r},function(t){return e.showJourneyBtn(t,a.learner_task_id,a.linked_task_id,a.learner_status,a.is_plagiarised,a.skill,a.proficiency,a.learner_key,a.technical_hold,a.reason_for_hold)}],click:e.checkedOne}})]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.fullname}},[e._v(e._s(a.fullname))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.email}},[e._v(e._s(a.email))]),t("td",{staticClass:"p-2 px-3 text-center",attrs:{title:a.learner_key}},[e._v(e._s(a.learner_key))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.proficiencyName}},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.skillName}},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.learner_status}},[e._v(e._s(a.learner_status))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.registration_date}},[e._v(e._s(a.registration_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.submission_date}},[e._v(e._s(a.submission_date))]),t("td",{staticClass:"p-2 px-3",attrs:{title:a.completion_date}},[e._v(e._s(a.completion_date))])])})),0)])]):e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])]):t("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")])])},n=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Operational data")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"text-left py-2 pl-3 pr-0 w-6 text-background-secondary"}),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Name")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("thead",{staticClass:"opacity-90 -text-blue-800"},[t("tr",{staticClass:"border-b"},[t("th",{staticClass:"py-2 pl-3 pr-0 w-6"}),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Full name")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Email")]),t("th",{staticClass:"p-2 px-3 text-background-secondary text-center"},[e._v("OHR")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Status")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Registration Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Submission Date")]),t("th",{staticClass:"p-2 px-3 text-background-secondary"},[e._v("Completion Date")])])])}],r=a(7203),l=a(1602),o=a.n(l),i=a(8451),c=a(5279),u=a(7492),d=a(568),v=a(8709),p=a(306),f=(0,r.defineComponent)({name:"OperationalTab",setup(){const e=(0,r.ref)(),t=(0,r.ref)(),a=(0,r.ref)(),s=(0,r.ref)(),n=(0,r.ref)(),l=(0,r.ref)(!0),f=(0,r.ref)(!1),y=(0,r.ref)(!1),h=(0,r.ref)(!1),m=(0,r.ref)([]),w=(0,r.ref)(!1),g=(0,r.ref)(!1),_=(0,r.ref)(!1),x=(0,r.ref)(!1),b=(0,r.ref)(),k=(0,r.ref)(),C=(0,r.ref)(!0),S=(0,r.ref)(),P=(0,r.ref)(!1),Z=(0,r.ref)(!1),O=(0,r.ref)(!1),L=(0,r.ref)(!1),A=(0,r.ref)(),D=(0,r.ref)(),B=(0,r.ref)(),E=(0,r.ref)(),R=(0,r.ref)(),H=(0,r.ref)(),M=(0,r.ref)("Select Skill"),N=(0,r.ref)("Select Proficiency"),T={},U=(0,r.ref)(!1),j=(0,r.ref)(!1),Y=(0,r.ref)(),G=(0,r.ref)(),$=(0,r.ref)(),F=(0,r.ref)(),I=(0,r.ref)([]),V=(0,r.ref)(!1),J=(0,r.ref)(),X=(0,r.ref)(!1),q=(0,r.ref)(),z=(0,r.ref)(!1),Q=(0,r.ref)(!1),W=(0,r.ref)(!1),K=(0,r.ref)(""),ee=()=>{m.value=[]},te=()=>{I.value=[]},ae=()=>{Q.value=!Q.value},se=(e,t,a,s,n,r,l,o,i,c)=>{const u=e.target.checked;!0===u?(O.value=!1,w.value=!0,g.value=!0,_.value=!0,x.value=!0,z.value=!0,b.value=t,Y.value=r,F.value=o,W.value=1===i,K.value=1===i?c:"",G.value=l,q.value=a,console.log(`Learner OHR ${F.value}`),localStorage.setItem("inputValue",S.value),"Registered"===s&&k.value.includes("System Admin")?y.value=!0:y.value=!1,U.value=!0===n):(w.value=!1,z.value=!1,W.value=!1,g.value=!1,y.value=!1,_.value=!1,U.value=!1,O.value=!1)},ne=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationOperationalDetails",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},re=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationUploadSubmission",query:{linked_task_id:q.value,learner_task_id:b.value}});window.open(e.href,"_blank")},le=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationLearnerEvents",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},oe=()=>{const e=u.Z.resolve({name:"SolidifyAdministrationLearnerGrades",query:{learner_task_id:b.value}});window.open(e.href,"_blank")},ie=async()=>{l.value=!1;const e=await(0,i.QZ)("/getAllSkillProf");t.value=e.skill,a.value=e.proficiency,l.value=!0},ce=async()=>{try{O.value=!1,l.value=!1;const t=await(0,i.Lu)("/getAllOperationData",T);if(e.value=t.operationData,A.value=t.diffStatus,console.log("diffAccess.value",A.value),A.value&&(P.value=!0),e.value)for(let a=0;a<e.value.length;a+=1){const t=e.value[a];t.registration_date&&(t.registration_date=o()(t.registration_date).format("DD-MM-YYYY")),t.completion_date&&(t.completion_date=o()(t.completion_date).format("DD-MM-YYYY")),t.submission_date&&(t.submission_date=o()(t.submission_date).format("DD-MM-YYYY"))}localStorage.removeItem("inputValue"),l.value=!0}catch(t){console.log(t)}},ue=async()=>{S.value&&(Object.assign(T,{ohrEmail:S.value}),await ce())},de=async()=>{l.value=!1,await(0,i.O6)(`/deleteRegisteredLearner/${b.value}`),await ce(),l.value=!0},ve=()=>{S.value="",h.value=!1},pe=()=>{S.value?h.value=!0:h.value=!1},fe=async e=>{try{const t=e.target.files[0],a=e.target.files[0].name,s=e.target.files[0].size/1024/1024;s>200?(E.value="fileSize greater than 200 MB",setTimeout((()=>{E.value=null}),6e3)):(D.value=t,B.value=a)}catch(t){console.log(t)}},ye=async()=>{if(B.value){l.value=!1;const e=await(0,d.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:B.value,learner_task_id:b.value}),t=e.data;H.value=t.preSignedUrl;const a=await(0,d.sc)(H.value,D.value);if(console.log("Upload Response",a),200===a.status){const e={learner_submission:B.value,learner_task_id:b.value},t=await(0,i.oE)("/uploadLearnerSubmissionFromAdmin",e);console.log(t),R.value="File uploaded Successfully",setTimeout((()=>{R.value=null,Z.value=!1,ce()}),6e3)}else E.value="There is issue in the file upload",setTimeout((()=>{E.value=null}),6e3);l.value=!0}},he=async e=>{N.value=e.target.value,"Select Proficiency"===N.value?(N.value="Select Proficiency",Object.assign(T,{proficiency_id:""})):Object.assign(T,{proficiency_id:N.value})},me=async e=>{M.value=e.target.value,"Select Skill"===M.value?(M.value="Select Skill",L.value=!1,Object.assign(T,{skill_id:"",proficiency_id:""})):(Object.assign(T,{skill_id:M.value}),L.value=!0)},we=async()=>{l.value=!1,O.value=!0,$.value=await(0,v.Nl)("/getAllProxyBySkill",Y.value),l.value=!0,console.log("Proxy List",$.value)},ge=async()=>{console.log("Assign Proxy");try{l.value=!1;const e={learner:b.value,proxy_key:I.value[0],learner_key:F.value,skill:Y.value,proficiency:G.value};console.log("Selected Data",e);const t=await(0,i.X5)("/reevaluatePlagiarism",e);O.value=!1,l.value=!0,console.log("assignProxyRes?.data.message",t?.data.message),J.value=t?.data.message,V.value=!0,setTimeout((()=>{V.value=!1}),6e3),await ce()}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),l.value=!0,J.value=t.response?.data?.message,console.log(`errorMessage.value ${E.value}`),X.value=!0,setTimeout((()=>{X.value=!1}),6e3)}}},_e=async()=>{l.value=!1;const e={learner_task_id:b.value,action:!0===!W.value?"1":"0",reason:K.value};try{const t=await(0,i.R2)("/admin/learner/perform_technical_hold",e);console.log(t),R.value=t,W.value=!W.value,setTimeout((()=>{R.value=null,ce()}),6e3),l.value=!0}catch(t){if(p.Z.isAxiosError(t)){const e=t;console.log("err.response?.data",e.response?.data),l.value=!0,J.value=e.response?.data?.message,console.log(`errorMessage.value ${E.value}`),X.value=!0,setTimeout((()=>{X.value=!1}),6e3)}}Q.value=!1},xe=async e=>{const t=e.target.checked;j.value=!0===t};return(0,r.onBeforeMount)((async()=>{const e=await(0,c.GF)("/getUserRole");k.value=e.user_roles,k.value.length>0&&(k.value.includes("System Admin")||k.value.includes("System Admin View Access")||k.value.includes("Program Admin")?(console.log("inside Role"),C.value=!0,await ie()):C.value=!1),localStorage.getItem("inputValue")&&(S.value=localStorage.getItem("inputValue"),Object.assign(T,{ohrEmail:localStorage.getItem("inputValue")}),await ce())})),{learnerData:e,skills:t,proficiency:a,programme:s,status:n,showOperationTab:f,renderReady:l,checkOne:m,checkedOne:ee,showJourneyBtn:se,journeyBtnShow:w,viewLearnerDetails:ne,ohrEmail:S,searchData:ue,showDeleteBtn:y,DeleteLearnerDetails:de,isShowCancel:h,clearInput:ve,showHideCancel:pe,showEventBtn:g,viewEvents:le,showGradBtn:_,viewGrades:oe,showScreen:C,showdiffAccess:P,diffAccess:A,showUploadBtn:x,submitSubmiision:ye,showTaskImport:Z,selectedFile:fe,preSignedUrl:H,successMessage:R,errorMessage:E,getSkillandProf:ie,getSelectedSkill:me,selectedProficiency:N,selectedSkill:M,getSelectedProficiency:he,showProficiency:L,showPlagiarismBtn:U,showReEvaluatePanel:O,checkedSkill:Y,showProxy:we,proxyList:$,proxyAssignedBtn:j,assignLearnerToProxy:ge,selectedProxyOhr:I,showAssignProxyBtn:xe,showSuccessMessage:V,resMessage:J,showErrorMessage:X,proxyCheckedOne:te,linkedTaskId:q,uploadLearnerSubmission:re,holdLearnerBtn:z,learnerHoldPanel:Q,showLearnerHoldPanel:ae,callHoldLearner:_e,isLearnerOnHold:W,learnerHoldReason:K}}}),y=f,h=a(1001),m=(0,h.Z)(y,s,n,!1,null,"389aa30b",null),w=m.exports},8709:function(e,t,a){a.d(t,{G7:function(){return n},Nl:function(){return l},QZ:function(){return r},kn:function(){return o}});var s=a(7129);const n=async(e,t)=>{const a=await s.Z.post(e,t);return a},r=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},l=async(e,t)=>{let a;return await s.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a}},5279:function(e,t,a){a.d(t,{$d:function(){return n},$i:function(){return k},Ao:function(){return h},DU:function(){return f},EX:function(){return D},F5:function(){return B},FS:function(){return v},GF:function(){return Z},Iu:function(){return l},J1:function(){return b},Jf:function(){return g},Kk:function(){return m},N9:function(){return O},P8:function(){return u},VP:function(){return w},Vz:function(){return C},WX:function(){return p},X$:function(){return _},XP:function(){return r},Yb:function(){return P},a4:function(){return L},dH:function(){return x},gh:function(){return y},nb:function(){return i},oA:function(){return S},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return A}});var s=a(7129);const n=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},r=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},w=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},g=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},_=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},x=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await s.Z.get(e);return t},k=async e=>{const t=await s.Z.get(e);return t},C=async e=>{const t=await s.Z.get(e);return t},S=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},P=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},Z=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data.userObj,t))),t},O=async e=>{const t=await s.Z.post("/user/role",e);return t},L=async e=>{const t=await s.Z.post("/user/removeRole",e);return t},A=async()=>{const e=await s.Z.get("role");return e},D=async e=>{const t=await s.Z.post("/user/saveLSS",e);return t},B=async e=>{const t=await s.Z.post("/user/saveEnvAccess",e);return t}},8451:function(e,t,a){a.d(t,{Lu:function(){return n},O6:function(){return o},QZ:function(){return c},R2:function(){return i},X5:function(){return l},oE:function(){return r}});var s=a(7129);const n=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},o=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},i=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{ie:function(){return o},rC:function(){return i},sc:function(){return r},ux:function(){return n},yW:function(){return l}});var s=a(7129);const n=async(e,t)=>{const a=await s.Z.post(e,t);return a},r=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},l=async e=>{const t=await s.Z.get(`/task/${e}`);return t},o=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a}}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministration.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[704],{4735:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],l=a(7203),i=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),n=i,o=a(1001),u=(0,o.Z)(n,s,r,!1,null,null,null),c=u.exports},7413:function(e,t,a){a.r(t),a.d(t,{default:function(){return oe}});var s,r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],i=(a(7658),a(7203)),n=a(4856),o=a(306),u=(a(3767),a(8585),a(8696),new Uint8Array(16));function c(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(u)}var d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function m(e){return"string"===typeof e&&d.test(e)}for(var f=m,v=[],p=0;p<256;++p)v.push((p+256).toString(16).substr(1));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]).toLowerCase();if(!f(a))throw TypeError("Stringified UUID is invalid");return a}var b,y,x=g,h=0,k=0;function w(e,t,a){var s=t&&a||0,r=t||new Array(16);e=e||{};var l=e.node||b,i=void 0!==e.clockseq?e.clockseq:y;if(null==l||null==i){var n=e.random||(e.rng||c)();null==l&&(l=b=[1|n[0],n[1],n[2],n[3],n[4],n[5]]),null==i&&(i=y=16383&(n[6]<<8|n[7]))}var o=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:k+1,d=o-h+(u-k)/1e4;if(d<0&&void 0===e.clockseq&&(i=i+1&16383),(d<0||o>h)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=o,k=u,y=i,o+=122192928e5;var m=(1e4*(268435455&o)+u)%4294967296;r[s++]=m>>>24&255,r[s++]=m>>>16&255,r[s++]=m>>>8&255,r[s++]=255&m;var f=o/4294967296*1e4&268435455;r[s++]=f>>>8&255,r[s++]=255&f,r[s++]=f>>>24&15|16,r[s++]=f>>>16&255,r[s++]=i>>>8|128,r[s++]=255&i;for(var v=0;v<6;++v)r[s+v]=l[v];return t||x(r)}var _=w;function C(e){if(!f(e))throw TypeError("Invalid UUID");var t,a=new Uint8Array(16);return a[0]=(t=parseInt(e.slice(0,8),16))>>>24,a[1]=t>>>16&255,a[2]=t>>>8&255,a[3]=255&t,a[4]=(t=parseInt(e.slice(9,13),16))>>>8,a[5]=255&t,a[6]=(t=parseInt(e.slice(14,18),16))>>>8,a[7]=255&t,a[8]=(t=parseInt(e.slice(19,23),16))>>>8,a[9]=255&t,a[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,a[11]=t/4294967296&255,a[12]=t>>>24&255,a[13]=t>>>16&255,a[14]=t>>>8&255,a[15]=255&t,a}var S=C;function A(e){e=unescape(encodeURIComponent(e));for(var t=[],a=0;a<e.length;++a)t.push(e.charCodeAt(a));return t}var I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",M="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function T(e,t,a){function s(e,s,r,l){if("string"===typeof e&&(e=A(e)),"string"===typeof s&&(s=S(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(s),i.set(e,s.length),i=a(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,r){l=l||0;for(var n=0;n<16;++n)r[l+n]=i[n];return r}return x(i)}try{s.name=e}catch(r){}return s.DNS=I,s.URL=M,s}function U(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var a=0;a<t.length;++a)e[a]=t.charCodeAt(a)}return E(Z(L(e),8*e.length))}function E(e){for(var t=[],a=32*e.length,s="0123456789abcdef",r=0;r<a;r+=8){var l=e[r>>5]>>>r%32&255,i=parseInt(s.charAt(l>>>4&15)+s.charAt(15&l),16);t.push(i)}return t}function R(e){return 14+(e+64>>>9<<4)+1}function Z(e,t){e[t>>5]|=128<<t%32,e[R(t)-1]=t;for(var a=1732584193,s=-271733879,r=-1732584194,l=271733878,i=0;i<e.length;i+=16){var n=a,o=s,u=r,c=l;a=B(a,s,r,l,e[i],7,-680876936),l=B(l,a,s,r,e[i+1],12,-389564586),r=B(r,l,a,s,e[i+2],17,606105819),s=B(s,r,l,a,e[i+3],22,-1044525330),a=B(a,s,r,l,e[i+4],7,-176418897),l=B(l,a,s,r,e[i+5],12,1200080426),r=B(r,l,a,s,e[i+6],17,-1473231341),s=B(s,r,l,a,e[i+7],22,-45705983),a=B(a,s,r,l,e[i+8],7,1770035416),l=B(l,a,s,r,e[i+9],12,-1958414417),r=B(r,l,a,s,e[i+10],17,-42063),s=B(s,r,l,a,e[i+11],22,-1990404162),a=B(a,s,r,l,e[i+12],7,1804603682),l=B(l,a,s,r,e[i+13],12,-40341101),r=B(r,l,a,s,e[i+14],17,-1502002290),s=B(s,r,l,a,e[i+15],22,1236535329),a=F(a,s,r,l,e[i+1],5,-165796510),l=F(l,a,s,r,e[i+6],9,-1069501632),r=F(r,l,a,s,e[i+11],14,643717713),s=F(s,r,l,a,e[i],20,-373897302),a=F(a,s,r,l,e[i+5],5,-701558691),l=F(l,a,s,r,e[i+10],9,38016083),r=F(r,l,a,s,e[i+15],14,-660478335),s=F(s,r,l,a,e[i+4],20,-405537848),a=F(a,s,r,l,e[i+9],5,568446438),l=F(l,a,s,r,e[i+14],9,-1019803690),r=F(r,l,a,s,e[i+3],14,-187363961),s=F(s,r,l,a,e[i+8],20,1163531501),a=F(a,s,r,l,e[i+13],5,-1444681467),l=F(l,a,s,r,e[i+2],9,-51403784),r=F(r,l,a,s,e[i+7],14,1735328473),s=F(s,r,l,a,e[i+12],20,-1926607734),a=N(a,s,r,l,e[i+5],4,-378558),l=N(l,a,s,r,e[i+8],11,-2022574463),r=N(r,l,a,s,e[i+11],16,1839030562),s=N(s,r,l,a,e[i+14],23,-35309556),a=N(a,s,r,l,e[i+1],4,-1530992060),l=N(l,a,s,r,e[i+4],11,1272893353),r=N(r,l,a,s,e[i+7],16,-155497632),s=N(s,r,l,a,e[i+10],23,-1094730640),a=N(a,s,r,l,e[i+13],4,681279174),l=N(l,a,s,r,e[i],11,-358537222),r=N(r,l,a,s,e[i+3],16,-722521979),s=N(s,r,l,a,e[i+6],23,76029189),a=N(a,s,r,l,e[i+9],4,-640364487),l=N(l,a,s,r,e[i+12],11,-421815835),r=N(r,l,a,s,e[i+15],16,530742520),s=N(s,r,l,a,e[i+2],23,-995338651),a=P(a,s,r,l,e[i],6,-198630844),l=P(l,a,s,r,e[i+7],10,1126891415),r=P(r,l,a,s,e[i+14],15,-1416354905),s=P(s,r,l,a,e[i+5],21,-57434055),a=P(a,s,r,l,e[i+12],6,1700485571),l=P(l,a,s,r,e[i+3],10,-1894986606),r=P(r,l,a,s,e[i+10],15,-1051523),s=P(s,r,l,a,e[i+1],21,-2054922799),a=P(a,s,r,l,e[i+8],6,1873313359),l=P(l,a,s,r,e[i+15],10,-30611744),r=P(r,l,a,s,e[i+6],15,-1560198380),s=P(s,r,l,a,e[i+13],21,1309151649),a=P(a,s,r,l,e[i+4],6,-145523070),l=P(l,a,s,r,e[i+11],10,-1120210379),r=P(r,l,a,s,e[i+2],15,718787259),s=P(s,r,l,a,e[i+9],21,-343485551),a=D(a,n),s=D(s,o),r=D(r,u),l=D(l,c)}return[a,s,r,l]}function L(e){if(0===e.length)return[];for(var t=8*e.length,a=new Uint32Array(R(t)),s=0;s<t;s+=8)a[s>>5]|=(255&e[s/8])<<s%32;return a}function D(e,t){var a=(65535&e)+(65535&t),s=(e>>16)+(t>>16)+(a>>16);return s<<16|65535&a}function V(e,t){return e<<t|e>>>32-t}function G(e,t,a,s,r,l){return D(V(D(D(t,e),D(s,l)),r),a)}function B(e,t,a,s,r,l,i){return G(t&a|~t&s,e,t,r,l,i)}function F(e,t,a,s,r,l,i){return G(t&s|a&~s,e,t,r,l,i)}function N(e,t,a,s,r,l,i){return G(t^a^s,e,t,r,l,i)}function P(e,t,a,s,r,l,i){return G(a^(t|~s),e,t,r,l,i)}var j=U,z=T("v3",48,j),W=z;function J(e,t,a){e=e||{};var s=e.random||(e.rng||c)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){a=a||0;for(var r=0;r<16;++r)t[a+r]=s[r];return t}return x(s)}var q=J;function O(e,t,a,s){switch(e){case 0:return t&a^~t&s;case 1:return t^a^s;case 2:return t&a^t&s^a&s;case 3:return t^a^s}}function X(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var s=unescape(encodeURIComponent(e));e=[];for(var r=0;r<s.length;++r)e.push(s.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var l=e.length/4+2,i=Math.ceil(l/16),n=new Array(i),o=0;o<i;++o){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*o+4*c]<<24|e[64*o+4*c+1]<<16|e[64*o+4*c+2]<<8|e[64*o+4*c+3];n[o]=u}n[i-1][14]=8*(e.length-1)/Math.pow(2,32),n[i-1][14]=Math.floor(n[i-1][14]),n[i-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<i;++d){for(var m=new Uint32Array(80),f=0;f<16;++f)m[f]=n[d][f];for(var v=16;v<80;++v)m[v]=X(m[v-3]^m[v-8]^m[v-14]^m[v-16],1);for(var p=a[0],g=a[1],b=a[2],y=a[3],x=a[4],h=0;h<80;++h){var k=Math.floor(h/20),w=X(p,5)+O(k,g,b,y)+x+t[k]+m[h]>>>0;x=y,y=b,b=X(g,30)>>>0,g=p,p=w}a[0]=a[0]+p>>>0,a[1]=a[1]+g>>>0,a[2]=a[2]+b>>>0,a[3]=a[3]+y>>>0,a[4]=a[4]+x>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}var H=Y,K=T("v5",80,H),Q=K,$={v1:_,v3:W,v4:q,v5:Q};var ee=a(3087),te=a(568),ae=a(9955),se=a(4735),re=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:n.b0D,ErrorMessage:se.Z},setup(){const e=(0,i.ref)(localStorage.getItem("linkedTaskId")),t=(0,i.ref)($.v1()),a=(0,i.ref)(localStorage.getItem("programId")),s=(0,i.ref)(localStorage.getItem("programName")),r=(0,i.ref)(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",r);const l=(0,i.ref)(localStorage.getItem("proficiencyId")),n=(0,i.ref)(localStorage.getItem("skillName")),u=(0,i.ref)(localStorage.getItem("proficiencyName")),c=(0,i.ref)(localStorage.getItem("taskName")),d=(0,i.ref)(localStorage.getItem("taskType")),m=(0,i.ref)(null),f=(0,i.ref)(),v=(0,i.ref)(),p=(0,i.ref)(),g=(0,i.ref)(!0),b=(0,i.ref)(),y=(0,i.ref)(0),x=(0,i.ref)(!1),h=(0,i.ref)(),k=(0,i.ref)(!1),w=(0,i.ref)(),_=(0,i.ref)(!1),C=async()=>{y.value+=1,console.log(`before ${v.value}`),v.value=null,console.log(`after ${v.value}`)},S=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},A=async e=>{try{m.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(f.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),x.value=!0,o.Z.isAxiosError(t)){const e=t;h.value=e.response?.data?.message}else h.value="Something went wrong, please contact helpmate.";_.value=!0}},I=async()=>{try{if(x.value=!1,v.value){let s;if("Desktop"===d.value){const i={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission:v.value},n=await(0,te.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),o=n.data;p.value=o.preSignedUrl;const u=await(0,te.sc)(p.value,m.value);200===u.status?s=await(0,ae.sw)("/offcycle/create",i):(x.value=!0,h.value="There is issue in the file upload, please contact with helpmate.",_.value=!0)}else{const i={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission_text:v.value};s=await(0,ae.sw)("/offcycle/create",i)}200===s.status?(x.value=!0,w.value=s.data.message,k.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),null!==r.value&&null!==l.value?ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value,skill_id:r.value,proficiency_id:l.value}}):ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value}})):(x.value=!0,h.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0)}else"Mobile"===d.value?(x.value=!0,v.value||(f.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{f.value=null}),6e3))):"Desktop"===d.value&&(x.value=!0,console.log(`learnerSubmission.value ${v.value}`),v.value||(f.value="please select File",setTimeout((()=>{f.value=null}),6e3)))}catch(s){if(x.value=!0,console.log(`error ${s}`),o.Z.isAxiosError(s)){const e=s;h.value=e.response?.data?.message}else h.value="There is some issue while submitting learner submission, please contact with helpmate.";_.value=!0}};return(0,i.onBeforeMount)((async()=>{x.value=!0})),{learnerSubmissionFile:m,skillId:r,proficiencyId:l,programId:a,taskType:d,taskName:c,submitSubmiision:I,learnerSubmission:v,selectedFile:A,fileValidationMsg:f,learnerTaskId:t,preSignedUrl:p,buttonDisable:g,setButtonEnable:S,validationError:b,clearFile:C,fileInputKey:y,renderReady:x,errorResponse:h,showErrorMessage:_,programName:s,skill:n,profName:u,showSuccessMessage:k,resMessage:w}}}),le=re,ie=a(1001),ne=(0,ie.Z)(le,r,l,!1,null,"5bfafb19",null),oe=ne.exports},9141:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],l=a(7203),i=a(306),n=a(8451),o=a(568),u=a(4735),c=(0,l.defineComponent)({name:"UpdateSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),d=(0,l.ref)(),m=(0,l.ref)(!0),f=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),b=(0,l.ref)(!1),y=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,i.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},k=async()=>{try{if(p.value=!1,u.value){let e;const t={learner_task_id:a.value,learner_submission:u.value,taskType:s.value};if("Desktop"===s.value){const s=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),r=s.data;d.value=r.preSignedUrl;const l=await(0,o.sc)(d.value,c.value);200===l.status?e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",t):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(p.value=!0,y.value=e.data.message,b.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),i.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:b,resMessage:y,fileValidationMsg:r,submitSubmiision:k,learnerSubmission:u,selectedFile:h,preSignedUrl:d,buttonDisable:m,validationError:f,fileInputKey:v}}}),d=c,m=a(1001),f=(0,m.Z)(d,s,r,!1,null,"08c23a5d",null),v=f.exports},840:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],l=a(7203),i=a(306),n=a(8451),o=a(568),u=a(4735),c=(0,l.defineComponent)({name:"UploadSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),d=(0,l.ref)(),m=(0,l.ref)(!0),f=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),b=(0,l.ref)(!1),y=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,i.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},k=async()=>{try{if(p.value=!1,u.value){let e;const r={learner_task_id:a.value,learner_submission:u.value,taskType:s.value,linkedTaskId:t.value};if("Desktop"===s.value){const t=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),s=t.data;d.value=s.preSignedUrl;const l=await(0,o.sc)(d.value,c.value);200===l.status?e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",r):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",r);200===e.status?(p.value=!0,y.value=e.data.message,b.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),i.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:b,resMessage:y,fileValidationMsg:r,submitSubmiision:k,learnerSubmission:u,selectedFile:h,preSignedUrl:d,buttonDisable:m,validationError:f,fileInputKey:v}}}),d=c,m=a(1001),f=(0,m.Z)(d,s,r,!1,null,"7548bb12",null),v=f.exports},9955:function(e,t,a){a.d(t,{Yg:function(){return l},sw:function(){return r}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},8451:function(e,t,a){a.d(t,{Lu:function(){return r},O6:function(){return n},QZ:function(){return u},R2:function(){return o},X5:function(){return i},oE:function(){return l}});var s=a(7129);const r=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a},n=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{ie:function(){return n},rC:function(){return o},sc:function(){return l},ux:function(){return r},yW:function(){return i}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},i=async e=>{const t=await s.Z.get(`/task/${e}`);return t},n=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a}},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[704],{4735:function(e,t,a){a.d(t,{Z:function(){return c}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:a(6540)}})])])])])])},r=[],l=a(7203),i=(0,l.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(localStorage.getItem("helpmateLink"));return(0,l.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:a}}}),n=i,o=a(1001),u=(0,o.Z)(n,s,r,!1,null,null,null),c=u.exports},7413:function(e,t,a){a.r(t),a.d(t,{default:function(){return oe}});var s,r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",["infinity"===e.programId?t("p",[e._v(" Proficiency: "),t("strong",[e._v(e._s(e.profName))])]):e._e(),"infinity"===e.programId?t("p",{staticClass:"pt-2"},[e._v(" Skill: "),t("strong",[e._v(e._s(e.skill))])]):e._e(),"infinity"!==e.programId?t("p",{staticClass:"pt-2"},[e._v(" Program: "),t("strong",[e._v(e._s(e.programName))])]):e._e(),t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Name: ")]),e._v(e._s(e.taskName))])]),"Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[e._m(1),t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{key:e.fileInputKey,attrs:{type:"file"},on:{change:e.selectedFile}}),e._v(" "),e.learnerSubmission?t("x-icon",{attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1)]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[e._m(2),t("div",{staticClass:"mb-4 text-center"},[null!==e.skillId&&null!==e.proficiencyId?t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId,skill_id:e.skillId,proficiency_id:e.proficiencyId}}}},[e._v("Back")]):t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:e.programId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},l=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Create Off-Cycle Task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Upload the file to create off-cycle task")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",{staticClass:"text-xl"},[t("em",[e._v("Please don't click the browser back button")])])])}],i=(a(7658),a(7203)),n=a(4856),o=a(306),u=(a(3767),a(8585),a(8696),new Uint8Array(16));function c(){if(!s&&(s="undefined"!==typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!==typeof msCrypto&&"function"===typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(u)}var d=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function m(e){return"string"===typeof e&&d.test(e)}for(var f=m,v=[],p=0;p<256;++p)v.push((p+256).toString(16).substr(1));function g(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,a=(v[e[t+0]]+v[e[t+1]]+v[e[t+2]]+v[e[t+3]]+"-"+v[e[t+4]]+v[e[t+5]]+"-"+v[e[t+6]]+v[e[t+7]]+"-"+v[e[t+8]]+v[e[t+9]]+"-"+v[e[t+10]]+v[e[t+11]]+v[e[t+12]]+v[e[t+13]]+v[e[t+14]]+v[e[t+15]]).toLowerCase();if(!f(a))throw TypeError("Stringified UUID is invalid");return a}var b,y,x=g,h=0,k=0;function w(e,t,a){var s=t&&a||0,r=t||new Array(16);e=e||{};var l=e.node||b,i=void 0!==e.clockseq?e.clockseq:y;if(null==l||null==i){var n=e.random||(e.rng||c)();null==l&&(l=b=[1|n[0],n[1],n[2],n[3],n[4],n[5]]),null==i&&(i=y=16383&(n[6]<<8|n[7]))}var o=void 0!==e.msecs?e.msecs:Date.now(),u=void 0!==e.nsecs?e.nsecs:k+1,d=o-h+(u-k)/1e4;if(d<0&&void 0===e.clockseq&&(i=i+1&16383),(d<0||o>h)&&void 0===e.nsecs&&(u=0),u>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");h=o,k=u,y=i,o+=122192928e5;var m=(1e4*(268435455&o)+u)%4294967296;r[s++]=m>>>24&255,r[s++]=m>>>16&255,r[s++]=m>>>8&255,r[s++]=255&m;var f=o/4294967296*1e4&268435455;r[s++]=f>>>8&255,r[s++]=255&f,r[s++]=f>>>24&15|16,r[s++]=f>>>16&255,r[s++]=i>>>8|128,r[s++]=255&i;for(var v=0;v<6;++v)r[s+v]=l[v];return t||x(r)}var _=w;function C(e){if(!f(e))throw TypeError("Invalid UUID");var t,a=new Uint8Array(16);return a[0]=(t=parseInt(e.slice(0,8),16))>>>24,a[1]=t>>>16&255,a[2]=t>>>8&255,a[3]=255&t,a[4]=(t=parseInt(e.slice(9,13),16))>>>8,a[5]=255&t,a[6]=(t=parseInt(e.slice(14,18),16))>>>8,a[7]=255&t,a[8]=(t=parseInt(e.slice(19,23),16))>>>8,a[9]=255&t,a[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,a[11]=t/4294967296&255,a[12]=t>>>24&255,a[13]=t>>>16&255,a[14]=t>>>8&255,a[15]=255&t,a}var S=C;function A(e){e=unescape(encodeURIComponent(e));for(var t=[],a=0;a<e.length;++a)t.push(e.charCodeAt(a));return t}var I="6ba7b810-9dad-11d1-80b4-00c04fd430c8",M="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function T(e,t,a){function s(e,s,r,l){if("string"===typeof e&&(e=A(e)),"string"===typeof s&&(s=S(s)),16!==s.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var i=new Uint8Array(16+e.length);if(i.set(s),i.set(e,s.length),i=a(i),i[6]=15&i[6]|t,i[8]=63&i[8]|128,r){l=l||0;for(var n=0;n<16;++n)r[l+n]=i[n];return r}return x(i)}try{s.name=e}catch(r){}return s.DNS=I,s.URL=M,s}function U(e){if("string"===typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var a=0;a<t.length;++a)e[a]=t.charCodeAt(a)}return E(Z(L(e),8*e.length))}function E(e){for(var t=[],a=32*e.length,s="0123456789abcdef",r=0;r<a;r+=8){var l=e[r>>5]>>>r%32&255,i=parseInt(s.charAt(l>>>4&15)+s.charAt(15&l),16);t.push(i)}return t}function R(e){return 14+(e+64>>>9<<4)+1}function Z(e,t){e[t>>5]|=128<<t%32,e[R(t)-1]=t;for(var a=1732584193,s=-271733879,r=-1732584194,l=271733878,i=0;i<e.length;i+=16){var n=a,o=s,u=r,c=l;a=B(a,s,r,l,e[i],7,-680876936),l=B(l,a,s,r,e[i+1],12,-389564586),r=B(r,l,a,s,e[i+2],17,606105819),s=B(s,r,l,a,e[i+3],22,-1044525330),a=B(a,s,r,l,e[i+4],7,-176418897),l=B(l,a,s,r,e[i+5],12,1200080426),r=B(r,l,a,s,e[i+6],17,-1473231341),s=B(s,r,l,a,e[i+7],22,-45705983),a=B(a,s,r,l,e[i+8],7,1770035416),l=B(l,a,s,r,e[i+9],12,-1958414417),r=B(r,l,a,s,e[i+10],17,-42063),s=B(s,r,l,a,e[i+11],22,-1990404162),a=B(a,s,r,l,e[i+12],7,1804603682),l=B(l,a,s,r,e[i+13],12,-40341101),r=B(r,l,a,s,e[i+14],17,-1502002290),s=B(s,r,l,a,e[i+15],22,1236535329),a=F(a,s,r,l,e[i+1],5,-165796510),l=F(l,a,s,r,e[i+6],9,-1069501632),r=F(r,l,a,s,e[i+11],14,643717713),s=F(s,r,l,a,e[i],20,-373897302),a=F(a,s,r,l,e[i+5],5,-701558691),l=F(l,a,s,r,e[i+10],9,38016083),r=F(r,l,a,s,e[i+15],14,-660478335),s=F(s,r,l,a,e[i+4],20,-405537848),a=F(a,s,r,l,e[i+9],5,568446438),l=F(l,a,s,r,e[i+14],9,-1019803690),r=F(r,l,a,s,e[i+3],14,-187363961),s=F(s,r,l,a,e[i+8],20,1163531501),a=F(a,s,r,l,e[i+13],5,-1444681467),l=F(l,a,s,r,e[i+2],9,-51403784),r=F(r,l,a,s,e[i+7],14,1735328473),s=F(s,r,l,a,e[i+12],20,-1926607734),a=N(a,s,r,l,e[i+5],4,-378558),l=N(l,a,s,r,e[i+8],11,-2022574463),r=N(r,l,a,s,e[i+11],16,1839030562),s=N(s,r,l,a,e[i+14],23,-35309556),a=N(a,s,r,l,e[i+1],4,-1530992060),l=N(l,a,s,r,e[i+4],11,1272893353),r=N(r,l,a,s,e[i+7],16,-155497632),s=N(s,r,l,a,e[i+10],23,-1094730640),a=N(a,s,r,l,e[i+13],4,681279174),l=N(l,a,s,r,e[i],11,-358537222),r=N(r,l,a,s,e[i+3],16,-722521979),s=N(s,r,l,a,e[i+6],23,76029189),a=N(a,s,r,l,e[i+9],4,-640364487),l=N(l,a,s,r,e[i+12],11,-421815835),r=N(r,l,a,s,e[i+15],16,530742520),s=N(s,r,l,a,e[i+2],23,-995338651),a=P(a,s,r,l,e[i],6,-198630844),l=P(l,a,s,r,e[i+7],10,1126891415),r=P(r,l,a,s,e[i+14],15,-1416354905),s=P(s,r,l,a,e[i+5],21,-57434055),a=P(a,s,r,l,e[i+12],6,1700485571),l=P(l,a,s,r,e[i+3],10,-1894986606),r=P(r,l,a,s,e[i+10],15,-1051523),s=P(s,r,l,a,e[i+1],21,-2054922799),a=P(a,s,r,l,e[i+8],6,1873313359),l=P(l,a,s,r,e[i+15],10,-30611744),r=P(r,l,a,s,e[i+6],15,-1560198380),s=P(s,r,l,a,e[i+13],21,1309151649),a=P(a,s,r,l,e[i+4],6,-145523070),l=P(l,a,s,r,e[i+11],10,-1120210379),r=P(r,l,a,s,e[i+2],15,718787259),s=P(s,r,l,a,e[i+9],21,-343485551),a=D(a,n),s=D(s,o),r=D(r,u),l=D(l,c)}return[a,s,r,l]}function L(e){if(0===e.length)return[];for(var t=8*e.length,a=new Uint32Array(R(t)),s=0;s<t;s+=8)a[s>>5]|=(255&e[s/8])<<s%32;return a}function D(e,t){var a=(65535&e)+(65535&t),s=(e>>16)+(t>>16)+(a>>16);return s<<16|65535&a}function V(e,t){return e<<t|e>>>32-t}function G(e,t,a,s,r,l){return D(V(D(D(t,e),D(s,l)),r),a)}function B(e,t,a,s,r,l,i){return G(t&a|~t&s,e,t,r,l,i)}function F(e,t,a,s,r,l,i){return G(t&s|a&~s,e,t,r,l,i)}function N(e,t,a,s,r,l,i){return G(t^a^s,e,t,r,l,i)}function P(e,t,a,s,r,l,i){return G(a^(t|~s),e,t,r,l,i)}var j=U,z=T("v3",48,j),W=z;function J(e,t,a){e=e||{};var s=e.random||(e.rng||c)();if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,t){a=a||0;for(var r=0;r<16;++r)t[a+r]=s[r];return t}return x(s)}var q=J;function O(e,t,a,s){switch(e){case 0:return t&a^~t&s;case 1:return t^a^s;case 2:return t&a^t&s^a&s;case 3:return t^a^s}}function X(e,t){return e<<t|e>>>32-t}function Y(e){var t=[1518500249,1859775393,2400959708,3395469782],a=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"===typeof e){var s=unescape(encodeURIComponent(e));e=[];for(var r=0;r<s.length;++r)e.push(s.charCodeAt(r))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var l=e.length/4+2,i=Math.ceil(l/16),n=new Array(i),o=0;o<i;++o){for(var u=new Uint32Array(16),c=0;c<16;++c)u[c]=e[64*o+4*c]<<24|e[64*o+4*c+1]<<16|e[64*o+4*c+2]<<8|e[64*o+4*c+3];n[o]=u}n[i-1][14]=8*(e.length-1)/Math.pow(2,32),n[i-1][14]=Math.floor(n[i-1][14]),n[i-1][15]=8*(e.length-1)&4294967295;for(var d=0;d<i;++d){for(var m=new Uint32Array(80),f=0;f<16;++f)m[f]=n[d][f];for(var v=16;v<80;++v)m[v]=X(m[v-3]^m[v-8]^m[v-14]^m[v-16],1);for(var p=a[0],g=a[1],b=a[2],y=a[3],x=a[4],h=0;h<80;++h){var k=Math.floor(h/20),w=X(p,5)+O(k,g,b,y)+x+t[k]+m[h]>>>0;x=y,y=b,b=X(g,30)>>>0,g=p,p=w}a[0]=a[0]+p>>>0,a[1]=a[1]+g>>>0,a[2]=a[2]+b>>>0,a[3]=a[3]+y>>>0,a[4]=a[4]+x>>>0}return[a[0]>>24&255,a[0]>>16&255,a[0]>>8&255,255&a[0],a[1]>>24&255,a[1]>>16&255,a[1]>>8&255,255&a[1],a[2]>>24&255,a[2]>>16&255,a[2]>>8&255,255&a[2],a[3]>>24&255,a[3]>>16&255,a[3]>>8&255,255&a[3],a[4]>>24&255,a[4]>>16&255,a[4]>>8&255,255&a[4]]}var H=Y,K=T("v5",80,H),Q=K,$={v1:_,v3:W,v4:q,v5:Q};var ee=a(7492),te=a(568),ae=a(9955),se=a(4735),re=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:n.b0D,ErrorMessage:se.Z},setup(){const e=(0,i.ref)(localStorage.getItem("linkedTaskId")),t=(0,i.ref)($.v1()),a=(0,i.ref)(localStorage.getItem("programId")),s=(0,i.ref)(localStorage.getItem("programName")),r=(0,i.ref)(localStorage.getItem("skillId"));console.log("skill Id in createoffcyclle",r);const l=(0,i.ref)(localStorage.getItem("proficiencyId")),n=(0,i.ref)(localStorage.getItem("skillName")),u=(0,i.ref)(localStorage.getItem("proficiencyName")),c=(0,i.ref)(localStorage.getItem("taskName")),d=(0,i.ref)(localStorage.getItem("taskType")),m=(0,i.ref)(null),f=(0,i.ref)(),v=(0,i.ref)(),p=(0,i.ref)(),g=(0,i.ref)(!0),b=(0,i.ref)(),y=(0,i.ref)(0),x=(0,i.ref)(!1),h=(0,i.ref)(),k=(0,i.ref)(!1),w=(0,i.ref)(),_=(0,i.ref)(!1),C=async()=>{y.value+=1,console.log(`before ${v.value}`),v.value=null,console.log(`after ${v.value}`)},S=e=>{const t=e.target.checked;!0===t?(g.value=!1,console.log(g.value)):(g.value=!0,console.log(g.value))},A=async e=>{try{m.value=e.target.files[0],v.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(f.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),x.value=!0,o.Z.isAxiosError(t)){const e=t;h.value=e.response?.data?.message}else h.value="Something went wrong, please contact helpmate.";_.value=!0}},I=async()=>{try{if(x.value=!1,v.value){let s;if("Desktop"===d.value){const i={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission:v.value},n=await(0,te.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:v.value,learner_task_id:t.value}),o=n.data;p.value=o.preSignedUrl;const u=await(0,te.sc)(p.value,m.value);200===u.status?s=await(0,ae.sw)("/offcycle/create",i):(x.value=!0,h.value="There is issue in the file upload, please contact with helpmate.",_.value=!0)}else{const i={linked_program_name:a.value,learner_task_id:t.value,skill:r.value,proficiency:l.value,linked_task_id:e.value,learner_submission_text:v.value};s=await(0,ae.sw)("/offcycle/create",i)}200===s.status?(x.value=!0,w.value=s.data.message,k.value=!0,localStorage.removeItem("programId"),localStorage.removeItem("programName"),localStorage.removeItem("linkedTaskId"),localStorage.removeItem("skillId"),localStorage.removeItem("skillName"),localStorage.removeItem("proficiencyId"),localStorage.removeItem("proficiencyName"),localStorage.removeItem("taskName"),localStorage.removeItem("taskType"),null!==r.value&&null!==l.value?ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value,skill_id:r.value,proficiency_id:l.value}}):ee.Z.push({name:"SolidifyAdministrationCreateOffCycles",query:{Program_id:a.value}})):(x.value=!0,h.value="There is some issue while submitting learner submission, please contact with helpmate.",_.value=!0)}else"Mobile"===d.value?(x.value=!0,v.value||(f.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{f.value=null}),6e3))):"Desktop"===d.value&&(x.value=!0,console.log(`learnerSubmission.value ${v.value}`),v.value||(f.value="please select File",setTimeout((()=>{f.value=null}),6e3)))}catch(s){if(x.value=!0,console.log(`error ${s}`),o.Z.isAxiosError(s)){const e=s;h.value=e.response?.data?.message}else h.value="There is some issue while submitting learner submission, please contact with helpmate.";_.value=!0}};return(0,i.onBeforeMount)((async()=>{x.value=!0})),{learnerSubmissionFile:m,skillId:r,proficiencyId:l,programId:a,taskType:d,taskName:c,submitSubmiision:I,learnerSubmission:v,selectedFile:A,fileValidationMsg:f,learnerTaskId:t,preSignedUrl:p,buttonDisable:g,setButtonEnable:S,validationError:b,clearFile:C,fileInputKey:y,renderReady:x,errorResponse:h,showErrorMessage:_,programName:s,skill:n,profName:u,showSuccessMessage:k,resMessage:w}}}),le=re,ie=a(1001),ne=(0,ie.Z)(le,r,l,!1,null,"5bfafb19",null),oe=ne.exports},9141:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministrationOffCycleDetails",query:{learner_task_id:e.learnerTaskId}}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v(" Update Submission ")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Update Learner Submission")])])}],l=a(7203),i=a(306),n=a(8451),o=a(568),u=a(4735),c=(0,l.defineComponent)({name:"UpdateSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),d=(0,l.ref)(),m=(0,l.ref)(!0),f=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),b=(0,l.ref)(!1),y=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,i.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},k=async()=>{try{if(p.value=!1,u.value){let e;const t={learner_task_id:a.value,learner_submission:u.value,taskType:s.value};if("Desktop"===s.value){const s=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),r=s.data;d.value=r.preSignedUrl;const l=await(0,o.sc)(d.value,c.value);200===l.status?e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",t):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",t);200===e.status?(p.value=!0,y.value=e.data.message,b.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),i.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:b,resMessage:y,fileValidationMsg:r,submitSubmiision:k,learnerSubmission:u,selectedFile:h,preSignedUrl:d,buttonDisable:m,validationError:f,fileInputKey:v}}}),d=c,m=a(1001),f=(0,m.Z)(d,s,r,!1,null,"08c23a5d",null),v=f.exports},840:function(e,t,a){a.r(t),a.d(t,{default:function(){return v}});var s=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"admin"},[t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[e.showSuccessMessage?t("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._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},["Desktop"===e.taskType?t("div",{staticClass:"mt-4"},[t("p",{staticClass:"pt-1"},[e._v("Maximum file size: 200 MB")]),t("div",{staticClass:"flex"},[t("input",{attrs:{type:"file"},on:{change:e.selectedFile}})])]):e._e(),"Mobile"===e.taskType?t("div",{staticClass:"pt-12"},[t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Your message"},domProps:{value:e.learnerSubmission},on:{input:function(t){t.target.composing||(e.learnerSubmission=t.target.value)}}})]):e._e(),e.fileValidationMsg?t("span",{staticClass:"text-red-700"},[e._v(e._s(e.fileValidationMsg))]):e._e()])]),t("div",{staticClass:"block text-center pt-12"},[t("div",{staticClass:"pt-4"}),t("div",{staticClass:"mb-4 text-center"},[t("router-link",{staticClass:"inline-block mt-2 py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{to:{name:"SolidifyAdministration"}}},[e._v("Back")]),t("button",{staticClass:"bg-background-secondary ml-2 mr-2 inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.submitSubmiision}},[e._v("Submit Task")])],1)])])])])],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]: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:a(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)])},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e._v("Submit Learner Submission")])])}],l=a(7203),i=a(306),n=a(8451),o=a(568),u=a(4735),c=(0,l.defineComponent)({name:"UploadSubmission",components:{ErrorMessage:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,l.ref)(e.query.linked_task_id);console.log("Task ID",t.value);const a=(0,l.ref)(e.query.learner_task_id),s=(0,l.ref)(),r=(0,l.ref)(),u=(0,l.ref)(),c=(0,l.ref)(null),d=(0,l.ref)(),m=(0,l.ref)(!0),f=(0,l.ref)(),v=(0,l.ref)(0),p=(0,l.ref)(!1),g=(0,l.ref)(),b=(0,l.ref)(!1),y=(0,l.ref)(),x=(0,l.ref)(!1),h=async e=>{try{c.value=e.target.files[0],u.value=e.target.files[0].name;const t=e.target.files[0].size/1024/1024;t>200&&(r.value="fileSize greater than 200 MB")}catch(t){if(console.log(t),p.value=!0,i.Z.isAxiosError(t)){const e=t;g.value=e.response?.data?.message}else g.value="Something went wrong, please contact helpmate.";x.value=!0}},k=async()=>{try{if(p.value=!1,u.value){let e;const r={learner_task_id:a.value,learner_submission:u.value,taskType:s.value,linkedTaskId:t.value};if("Desktop"===s.value){const t=await(0,o.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:u.value,learner_task_id:a.value}),s=t.data;d.value=s.preSignedUrl;const l=await(0,o.sc)(d.value,c.value);200===l.status?e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",r):(p.value=!0,g.value="There is issue in the file upload, please contact with helpmate.",x.value=!0)}else e=await(0,n.oE)("/uploadLearnerSubmissionFromAdmin",r);200===e.status?(p.value=!0,y.value=e.data.message,b.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3)):(p.value=!0,g.value="There is some issue while submitting learner submission, please contact with helpmate.",x.value=!0,setTimeout((()=>{y.value=null,b.value=!1}),6e3))}else"Mobile"===s.value?(p.value=!0,u.value||(r.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{r.value=null}),6e3))):"Desktop"===s.value&&(p.value=!0,console.log(`learnerSubmission.value ${u.value}`),u.value||(r.value="please select File",setTimeout((()=>{r.value=null}),6e3)))}catch(e){if(p.value=!0,console.log(`error ${e}`),i.Z.isAxiosError(e)){const t=e;g.value=t.response?.data?.message}else g.value="There is some issue while submitting learner submission, please contact with helpmate.";x.value=!0}},w=async()=>{p.value=!1;const e=await(0,o.yW)(t.value);console.log(`task data ${JSON.stringify(e)}`);const a=e.data.data;a?s.value=a.task_type:(g.value="There is an issue to fetch task, please contact helpmate.",x.value=!0),p.value=!0};return(0,l.onBeforeMount)((async()=>{await w()})),{taskType:s,learnerTaskId:a,renderReady:p,errorResponse:g,showErrorMessage:x,showSuccessMessage:b,resMessage:y,fileValidationMsg:r,submitSubmiision:k,learnerSubmission:u,selectedFile:h,preSignedUrl:d,buttonDisable:m,validationError:f,fileInputKey:v}}}),d=c,m=a(1001),f=(0,m.Z)(d,s,r,!1,null,"7548bb12",null),v=f.exports},9955:function(e,t,a){a.d(t,{Yg:function(){return l},sw:function(){return r}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a}},8451:function(e,t,a){a.d(t,{Lu:function(){return r},O6:function(){return n},QZ:function(){return u},R2:function(){return o},X5:function(){return i},oE:function(){return l}});var s=a(7129);const r=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async(e,t)=>{const a=await s.Z.post(e,t);return a},i=async(e,t)=>{const a=await s.Z.post(e,t);return a},n=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t},o=async(e,t)=>{let a;return await s.Z.post(e,t).then((e=>(a=e.data,a))),a},u=async e=>{let t;return await s.Z.get(e).then((e=>(t=e.data,t))),t}},568:function(e,t,a){a.d(t,{ie:function(){return n},rC:function(){return o},sc:function(){return l},ux:function(){return r},yW:function(){return i}});var s=a(7129);const r=async(e,t)=>{const a=await s.Z.post(e,t);return a},l=async(e,t)=>{let a;const s=await fetch(`${e}`,{method:"put",body:t});return a=s,a},i=async e=>{const t=await s.Z.get(`/task/${e}`);return t},n=async(e,t)=>{const a=await s.Z.post(e,{learner_task_id:t});return a},o=async(e,t)=>{const a=await s.Z.post(e,t);return a}},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map
|