@genpact/genome.mfe.solidify-app 1.17.2-alpha.175 → 1.17.2-alpha.177
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/SolidifyAdministrationViewAllProxyRequests.css +1 -1
- package/dist/css/SolidifyLearner.css +1 -1
- package/dist/solidify.css +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js.map +1 -1
- package/dist/solidify.umd.min.js +2 -2
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
.pageLoader[data-v-6f090fc0]{position:fixed;top:30%;left:42%}.tableScroll[data-v-6f090fc0]{max-height:50vh;overflow-y:auto}.pageLoader[data-v-
|
|
1
|
+
.pageLoader[data-v-6f090fc0]{position:fixed;top:30%;left:42%}.tableScroll[data-v-6f090fc0]{max-height:50vh;overflow-y:auto}.pageLoader[data-v-4b80f852]{position:fixed;top:30%;left:42%}.tableScroll[data-v-4b80f852]{max-height:50vh;overflow-y:auto}
|
|
@@ -1 +1 @@
|
|
|
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:200px;width:500px;margin-top:10%;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}.ul-nav ul[data-v-
|
|
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:200px;width:500px;margin-top:10%;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}.ul-nav ul[data-v-6d0184b8]{display:flex;width:100%}.ul-nav ul li.active[data-v-6d0184b8]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-6d0184b8]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6d0184b8]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-6d0184b8]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-6d0184b8]{padding-left:20px!important}.box-overflow1[data-v-6d0184b8]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-6d0184b8]{overflow-x:scroll}.box-overflow1[data-v-6d0184b8]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-9c6ea3fc]{display:flex;width:100%}.ul-nav ul li.active[data-v-9c6ea3fc]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-9c6ea3fc]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-9c6ea3fc]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{padding-left:20px!important}.box-overflow1[data-v-9c6ea3fc]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-9c6ea3fc]{overflow-x:scroll}.box-overflow1[data-v-9c6ea3fc]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-5be3e2d4]{display:flex;width:100%}.ul-nav ul li.active[data-v-5be3e2d4]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-5be3e2d4]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-5be3e2d4]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-5be3e2d4]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-5be3e2d4]{padding-left:20px!important;margin-right:10px!important}.box-overflow1[data-v-5be3e2d4]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-5be3e2d4]{overflow-x:scroll}.box-overflow1[data-v-5be3e2d4]{max-height:none;overflow-y:auto}}
|
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}}.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-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.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-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-12{width:3rem}.w-14{width:3.5rem}.w-2{width:.5rem}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-3\/4{width:75%}.w-3\/5{width:60%}.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-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-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-5{padding-top:1.25rem}.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-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-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-80{opacity:.8}.opacity-90{opacity:.9}.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}}@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%}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}.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}}.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-auto{margin-left:auto}.mr-0{margin-right:0}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-4{margin-right:1rem}.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-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-12{width:3rem}.w-14{width:3.5rem}.w-2{width:.5rem}.w-2\/4{width:50%}.w-2\/5{width:40%}.w-2\/6{width:33.333333%}.w-3\/4{width:75%}.w-3\/5{width:60%}.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-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-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-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-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-80{opacity:.8}.opacity-90{opacity:.9}.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}}@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}.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([[412],{8153:function(e,t,a){a.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],l=a(7203),n=(0,l.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),n=()=>{s.value=e.data,r.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,l.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:r,filterProgramDetails:n,search:t}}}),o=n,i=a(1001),c=(0,i.Z)(o,r,s,!1,null,null,null),u=c.exports},5755:function(e,t,a){a.r(t),a.d(t,{default:function(){return k}});var r=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:"flex w-full mt-6 justify-end items-center gap-2"},[t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeStart,expression:"rangeStart"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.rangeStart},on:{input:function(t){t.target.composing||(e.rangeStart=t.target.value)}}})]),t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeEnd,expression:"rangeEnd"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.rangeEnd},on:{input:function(t){t.target.composing||(e.rangeEnd=t.target.value)}}})]),t("div",{staticClass:"pr-3"},[t("button",{staticClass:"inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[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(" Program ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],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.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?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),e.skillErrorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.skillErrorMessage))]):e._e()]):e._e(),e.showSkillProf?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(" 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),e.proficiencyError?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.proficiencyError))]):e._e()]):e._e(),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(" Ageing ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedAgeing,expression:"selectedAgeing"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 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.selectedAgeing=t.target.multiple?a:a[0]},function(t){return e.performAgeingFilter(t)}]}},[t("option",[e._v("Select Ageing")]),e._l(e.ageingValues,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Proxy OHR ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.enteredProxyOHR,expression:"enteredProxyOHR"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.enteredProxyOHR},on:{input:function(t){t.target.composing||(e.enteredProxyOHR=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Learner Task ID ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.enteredLearnerTaskId,expression:"enteredLearnerTaskId"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.enteredLearnerTaskId},on:{input:function(t){t.target.composing||(e.enteredLearnerTaskId=t.target.value)}}})]),t("div",{staticClass:"w-full mb-4"},[t("button",{staticClass:"mt-8 inline-block py-2 px-3 text-sm text-white shadow-md",class:e.showSearchBtn?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!e.showSearchBtn},on:{click:function(t){return e.getLearnerForProxy()}}},[e._v(" Search Learners ")])])]),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.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("button",{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("View available Proxy")]),e.nudgeButtonVisible?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.sendNudge()}}},[e._v("Send Proxy Nudge")]):e._e()])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[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("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]):e._e(),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredLearnerData,(function(a){return t("tr",{key:a.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.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l},function(t){return e.setProxyBtn(t)}]}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]):e._e(),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]):e._e(),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyList?t("div",{staticClass:"w-full flex mt-6"},[t("SearchBar",{attrs:{data:e.proxyDetailsArray,placeholder:"Search By Proxy Name"},on:{Filtered:e.getFilteredList}})],1):e._e(),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("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[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")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredproxyDetails,(function(a,r){return t("tr",{key:r,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 r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),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))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),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")])])},s=[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("All Proxy Review Request")])])}],l=(a(7658),a(7203)),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=a(9649),p=a(306),v=a(1815),g=a(1232),y=a(2027),f=a(8153),x=(0,l.defineComponent)({name:"ViewAllProgramProxyAssignment",components:{SearchBar:f.Z},setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),f=(0,l.ref)(!1),x=(0,l.ref)(!1),m=(0,l.ref)(),_=(0,l.ref)([]),h=(0,l.ref)(),k=(0,l.ref)(!1),b=(0,l.ref)(),w=(0,l.ref)(!0),C=(0,l.ref)(),P=(0,l.ref)(),S=(0,l.ref)(),A=(0,l.ref)(),Z=(0,l.ref)(!1),O=(0,l.ref)("Select Program"),T=(0,l.ref)(!1),D=(0,l.ref)(),N=(0,l.ref)(!1),$=(0,l.ref)(!1),L=(0,l.ref)(),R=(0,l.ref)(!1),M=(0,l.ref)("Select Ageing"),I=(0,l.ref)(),Y=(0,l.ref)(),B=(0,l.ref)(),E=(0,l.ref)(),V=(0,l.ref)(!1),F=(0,l.ref)(),H=(0,l.ref)(),J=(0,l.ref)(),q=(0,l.ref)(["0-5","5-10","10-15","15-20",">20"]),j=(0,l.ref)(""),G=(0,l.ref)(""),Q=(0,l.ref)(),U=(0,l.ref)(),X=()=>{h.value=[]},z=()=>{if(console.log(M.value),V.value=!1,"Select Ageing"===M.value)return F.value=e.value,B.value=!1,void(E.value=!1);M.value.includes(">")?(B.value=M.value.slice(1),V.value=!0,E.value=!0):[B.value,E.value]=M.value.split("-"),console.log(B.value,E.value)},W=async()=>{const e=[];F.value.filter((t=>{for(let a=0;a<_.value.length;a+=1)_.value[a]===t.learner_task_id&&e.push({learner_task_id:t.learner_task_id,proxyOhr:t.proxy_key})}));const t={nudge_arr:e};console.log(" Proxy OHR ",t);try{r.value=!1;const e=await(0,g.F)("/proxyreview/nudge",t);console.log(e),D.value=e.data.message,r.value=!0,N.value=!0,$.value=!1,window.scroll(0,0),r.value=!0,setTimeout((()=>{N.value=!1}),5e3)}catch(a){if(r.value=!0,p.Z.isAxiosError(a)){const e=a;r.value=!0,D.value=e.response?.data?.message,$.value=!0,N.value=!1,setTimeout((()=>{$.value=!1}),5e3)}}},K=e=>{const t=e.target.checked;!0===t?(console.log("selected Task id",_.value),x.value=!0):0===_.value.length&&(x.value=!1,f.value=!1)},ee=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},te=async()=>{r.value=!1,A.value=await(0,d.dr)("/cache?cache=program"),r.value=!0},ae=async t=>{r.value=!1,localStorage.setItem("program",t.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),O.value=t.target.value,"Select Program"!==O.value?(T.value=!0,"infinity"===O.value?(await ee(),s.value="Select Skill",c.value="Select Proficiency",Z.value=!0):(Z.value=!1,s.value="",c.value="")):(T.value=!1,Z.value=!1),x.value=!1,R.value=!1,e.value=[],f.value=!1,_.value=[],F.value=[],r.value=!0},re=async()=>{try{if("infinity"===O.value){if("Select Skill"===s.value)return Q.value="Please Select Skill",void setTimeout((()=>{Q.value=null}),6e3);if("Select Proficiency"===c.value)return U.value="Please Select Proficiency",void setTimeout((()=>{U.value=null}),6e3)}const l={linked_program_name:O.value,skill:s.value,proficiency:c.value,proxy_key:I.value,learner_task_id:Y.value,selectedLowerBound:B.value,selectedUpperBound:E.value,noUpperBound:V.value};console.log({data:l}),r.value=!1,await X(),_.value=[],x.value=!1,f.value=!1;const n=await(0,o.cQ)(l);e.value=n.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),"infinity"===O.value){if(s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}}const i=await(0,y.uA)(O.value),d="PROXY_NUDGE",p=i.prog_detail.email_templates;R.value=void 0!==p[d],F.value=e.value,e.value=e.value.sort(((e,t)=>t.ageing-e.ageing))}catch(l){console.log(l)}r.value=!0},se=async e=>{s.value=e.target.value,console.log(`selectedSkill.value ${s.value}`)},le=async e=>{c.value=e.target.value,console.log(`selectedProficiency.value ${c.value}`)},ne=async()=>{console.log(`selectedTaskId.value[0] ${_.value[0]}`);let t=`/v2/admin/proxy/program/${O.value}`;const a=e.value.filter((e=>_.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${a}`),"infinity"===O.value&&(C.value=a[0].skill,P.value=a[0].proficiency,t=`/v2/admin/proxy/program/infinity/skill/${C.value}`),f.value=!0,r.value=!1;const s=await(0,v.oA)(t);m.value=s.all_proxies,H.value=m.value.map((e=>e.proxy_name)),J.value=m.value,r.value=!0,console.log("Proxy List",m.value)},oe=e=>{J.value=m.value.filter((t=>e.includes(t.proxy_name))),console.log("filteredproxyDetails",J.value)},ie=async e=>{const t=e.target.checked;k.value=!0===t},ce=async()=>{try{console.log(`selectedProxyOhr.value[0] ${h.value[0]}`),console.log(`selectedSkill.value ${s.value}`),console.log(`selectedProficiency.value ${c.value}`),r.value=!1;const e={proxy_key:h.value[0],learners:_.value,linked_program_name:O.value,skill:C.value,proficiency:P.value},t=await(0,n.kn)("/proxyreview",e);D.value=t?.data.message,N.value=!0,setTimeout((()=>{N.value=!1}),6e3),f.value=!1,await re(),r.value=!0,console.log("data ohr",t)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${L.value}`),$.value=!0,setTimeout((()=>{$.value=!1}),6e3)}}},ue=async()=>{try{if(!j.value||!G.value)return D.value="Start Date or End Date should not be empty",$.value=!0,void setTimeout((()=>{$.value=!1}),6e3);const e={start_date:j.value,end_date:G.value,program_id:O.value,skill:s.value,proficiency:c.value,proxy_ohr:I.value,learner_task_id:Y.value},t=await(0,o.yc)(e);S.value="The report will be emailed to you",setTimeout((()=>{S.value=null}),6e3),console.log(`Report Trigger Response ${t}`)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${L.value}`),$.value=!0,setTimeout((()=>{$.value=!1}),6e3)}}};return(0,l.onBeforeMount)((async()=>{await te();const e=await(0,i.GF)("/getUserRole");b.value=e.user_roles,b.value.length>0&&(b.value.includes("System Admin")||b.value.includes("Community Manager")||b.value.includes("Proxy Admin")?w.value=!0:w.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,selectedSkill:s,selectedProficiency:c,getSelectedSkill:se,getSelectedProficiency:le,isVisible:f,showProxy:ne,getSkillandProf:ee,getLearnerForProxy:re,selectedTaskId:_,proxyButtonVisible:x,setProxyBtn:K,proxyList:m,selectedProxyOhr:h,checkOne:X,showAssignProxyBtn:ie,proxyAssignedBtn:k,assignLearnerToProxy:ce,showScreen:w,triggerProxyReport:ue,reportSuccessMessage:S,programDetails:A,getSelectedProgram:ae,showSearchBtn:T,selectedProgram:O,showSkillProf:Z,resMessage:D,showSuccessMessage:N,showErrorMessage:$,errorMessage:L,performAgeingFilter:z,ageingValues:q,filteredLearnerData:F,selectedAgeing:M,sendNudge:W,nudgeButtonVisible:R,getFilteredList:oe,filteredproxyDetails:J,proxyDetailsArray:H,rangeStart:j,rangeEnd:G,enteredProxyOHR:I,enteredLearnerTaskId:Y,skillErrorMessage:Q,proficiencyError:U}}}),m=x,_=a(1001),h=(0,_.Z)(m,r,s,!1,null,"49bd8332",null),k=h.exports},1055:function(e,t,a){a.r(t),a.d(t,{default:function(){return y}});var r=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:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full text-right"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[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(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(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",{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",{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){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.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[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.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(a){return t("tr",{key:a.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.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{click:function(t){return e.setProxyBtn(t)},change:function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l}}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-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("Re-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(2),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 r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),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("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),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")])])},s=[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("All Proxy Review Request")])])},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("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},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("Role")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],l=a(7203),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=(0,l.defineComponent)({name:"AssignProxy",setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),d=(0,l.ref)(!1),p=(0,l.ref)(!1),v=(0,l.ref)(),g=(0,l.ref)([]),y=(0,l.ref)(),f=(0,l.ref)(!1),x=(0,l.ref)(),m=(0,l.ref)(!0),_=(0,l.ref)(),h=(0,l.ref)(),k=(0,l.ref)(),b=()=>{y.value=[]},w=e=>{g.value=[];const t=e.target.checked;!0===t?p.value=!0:(p.value=!1,d.value=!1)},C={},P=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},S=async()=>{try{console.log(C),r.value=!1,await b(),g.value=[];const s=await(0,o._A)(C);e.value=s.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}e.value=e.value.sort(((e,t)=>t.ageing-e.ageing)),r.value=!0}catch(s){console.log(s)}},A=async e=>{s.value=e.target.value,Object.assign(C,{skill:s.value})},Z=async e=>{c.value=e.target.value,Object.assign(C,{proficiency:c.value})},O=async()=>{console.log(`selectedTaskId.value[0] ${g.value[0]}`);const t=e.value.filter((e=>g.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${t}`),_.value=t[0].skill,h.value=t[0].proficiency,d.value=!0,r.value=!1,v.value=await(0,n.Nl)("/getAllProxyBySkill",_.value),r.value=!0,console.log("Proxy List",v.value)},T=async e=>{const t=e.target.checked;f.value=!0===t},D=async()=>{try{console.log(`selectedProxyOhr.value[0] ${y.value[0]}`),console.log(`selectedSkill.value ${_.value}`),console.log(`selectedProficiency.value ${h.value}`),r.value=!1;const e={proxy_key:y.value[0],learners:g.value,linked_program_name:"infinity",skill:_.value,proficiency:h.value},t=await(0,n.kn)("/proxyreview",e);d.value=!1,await S(),r.value=!0,console.log("data ohr",t)}catch(e){console.log("data ohr",e)}},N=async()=>{const e=await(0,o.yc)("/admin/proxy/export");k.value="The report will be emailed to you",setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${e}`)};return(0,l.onBeforeMount)((async()=>{await P();const e=await(0,i.GF)("/getUserRole");x.value=e.user_roles,x.value.length>0&&(x.value.includes("System Admin")||x.value.includes("Community Manager")||x.value.includes("Proxy Admin")?m.value=!0:m.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,getSelectedSkill:A,getSelectedProficiency:Z,isVisible:d,showProxy:O,getSkillandProf:P,getLearnerForProxy:S,selectedTaskId:g,proxyButtonVisible:p,setProxyBtn:w,proxyList:v,selectedProxyOhr:y,checkOne:b,showAssignProxyBtn:T,proxyAssignedBtn:f,assignLearnerToProxy:D,showScreen:m,triggerProxyReport:N,reportSuccessMessage:k}}}),p=d,v=a(1001),g=(0,v.Z)(p,r,s,!1,null,"6f090fc0",null),y=g.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return l},kn:function(){return o}});var r=a(7129);const s=async(e,t)=>{const a=await r.Z.post(e,t);return a},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await r.Z.post(e,t);return a}},1815:function(e,t,a){a.d(t,{Lo:function(){return n},M0:function(){return o},QZ:function(){return s},Z9:function(){return i},oA:function(){return l}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{const t=await r.Z.get(e);return t.data},n=async(e,t)=>{const a=await r.Z.post(e,t);return a.data},o=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message},i=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return w},Ao:function(){return f},DU:function(){return g},EX:function(){return D},F5:function(){return N},FS:function(){return p},GF:function(){return A},Iu:function(){return n},J1:function(){return b},Jf:function(){return _},Kk:function(){return x},N9:function(){return Z},P8:function(){return u},VP:function(){return m},Vz:function(){return C},WX:function(){return v},X$:function(){return h},XP:function(){return l},Yb:function(){return S},a4:function(){return O},dH:function(){return k},gh:function(){return y},nb:function(){return i},oA:function(){return P},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return T}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},x=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await r.Z.get(e);return t},w=async e=>{const t=await r.Z.get(e);return t},C=async e=>{const t=await r.Z.get(e);return t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},S=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},A=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await r.Z.post("/user/role",e);return t},O=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},T=async()=>{const e=await r.Z.get("role");return e},D=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},N=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},2027:function(e,t,a){a.d(t,{DC:function(){return l},JS:function(){return n},uA:function(){return s}});var r=a(7129);const s=async e=>{try{let t;return await r.Z.get(`/program/${e}`).then((e=>(t=e.data,t))),t}catch(t){return t}},l=async e=>{try{let t;return console.log("inside update Program Service"),await r.Z.put("/program",e).then((e=>(console.log("program Response",e),t=e.data,t))),t}catch(t){return t}},n=async e=>{const t=await r.Z.post("/program/email/event/create",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return v},HX:function(){return o},V$:function(){return i},VA:function(){return l},dr:function(){return s},gs:function(){return g},jz:function(){return p},q$:function(){return u},rP:function(){return n},yW:function(){return c}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},l=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},v=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},g=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},1068:function(e,t,a){a.d(t,{Ho:function(){return s},_A:function(){return l},cQ:function(){return n},yc:function(){return o}});var r=a(7129);const s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async e=>{const t=await r.Z.post("getAllProxyAssignedLearner",e);return t},n=async e=>{const t=await r.Z.post("program/proxies/learners",e);return t},o=async e=>{const t=await r.Z.post("admin/proxy/export",e);return t}}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[412],{8153:function(e,t,a){a.d(t,{Z:function(){return u}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"w-full flex mt-6"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.search,expression:"search"}],staticClass:"appearance-none border rounded py-2 px-14 text-gray-500 leading-tight focus:outline-none focus:shadow-outline",attrs:{type:"text",placeholder:e.placeHolder1},domProps:{value:e.search},on:{keyup:function(t){e.filterProgramDetails(),e.$emit("Filtered",e.filteredProgramDetails)},input:function(t){t.target.composing||(e.search=t.target.value)}}})])},s=[],l=a(7203),n=(0,l.defineComponent)({name:"SearchBar",props:{data:[Array],placeholder:{type:String,default:"Search"}},setup(e){const t=(0,l.ref)(""),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),n=()=>{s.value=e.data,r.value=s.value.filter((e=>e.toLowerCase().includes(t.value.toLowerCase())))};return(0,l.onBeforeMount)((async()=>{a.value=e.placeholder,console.log("props.placeholder",e.placeholder)})),{placeHolder1:a,filteredProgramDetails:r,filterProgramDetails:n,search:t}}}),o=n,i=a(1001),c=(0,i.Z)(o,r,s,!1,null,null,null),u=c.exports},5126:function(e,t,a){a.r(t),a.d(t,{default:function(){return k}});var r=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:"flex w-full mt-6 justify-end items-center gap-2"},[t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeStart,expression:"rangeStart"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.rangeStart},on:{input:function(t){t.target.composing||(e.rangeStart=t.target.value)}}})]),t("div",{staticClass:"w-1/5"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.rangeEnd,expression:"rangeEnd"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"date"},domProps:{value:e.rangeEnd},on:{input:function(t){t.target.composing||(e.rangeEnd=t.target.value)}}})]),t("div",{staticClass:"pr-3"},[t("button",{staticClass:"inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[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(" Program ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedProgram,expression:"selectedProgram"}],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.selectedProgram=t.target.multiple?a:a[0]},function(t){return e.getSelectedProgram(t)}]}},[t("option",[e._v("Select Program")]),e._l(e.programDetails,(function(a){return t("option",{key:a.program_id,domProps:{value:a.program_id}},[e._v(e._s(a.program_display_name?a.program_display_name:a.program_name))])}))],2)]),e.showSkillProf?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),e.skillErrorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.skillErrorMessage))]):e._e()]):e._e(),e.showSkillProf?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(" 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),e.proficiencyError?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.proficiencyError))]):e._e()]):e._e(),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(" Ageing ")]),t("select",{directives:[{name:"model",rawName:"v-model",value:e.selectedAgeing,expression:"selectedAgeing"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 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.selectedAgeing=t.target.multiple?a:a[0]},function(t){return e.performAgeingFilter(t)}]}},[t("option",[e._v("Select Ageing")]),e._l(e.ageingValues,(function(a){return t("option",{key:a,domProps:{value:a}},[e._v(e._s(a))])}))],2)]),t("div",{staticClass:"w-full pr-3 mb-4"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Proxy OHR ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.enteredProxyOHR,expression:"enteredProxyOHR"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.enteredProxyOHR},on:{input:function(t){t.target.composing||(e.enteredProxyOHR=t.target.value)}}})])]),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full pr-3"},[t("label",{staticClass:"block tracking-wide text-background-secondary opacity-80 font-normal mb-2"},[e._v(" Learner Task ID ")]),t("input",{directives:[{name:"model",rawName:"v-model",value:e.enteredLearnerTaskId,expression:"enteredLearnerTaskId"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-3 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:e.enteredLearnerTaskId},on:{input:function(t){t.target.composing||(e.enteredLearnerTaskId=t.target.value)}}})]),t("div",{staticClass:"w-full pr-3"}),t("div",{staticClass:"w-full pr-3"})]),e.defaultErrorMessage?t("div",{staticClass:"text-red-700 flex w-full"},[e._v(e._s(e.defaultErrorMessage))]):e._e(),t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mb-4 mt-4"},[t("button",{staticClass:"mt-2 inline-block py-2 px-6 text-base text-white shadow-md",class:"bg-background-secondary",on:{click:function(t){return e.getLearnerForProxy()}}},[e._v("Search Learners")])])]),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.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-2"},[t("div",{staticClass:"w-1/2 pr-3 mb-4"},[t("button",{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("View available Proxy")]),e.nudgeButtonVisible?t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary",on:{click:function(t){return e.sendNudge()}}},[e._v("Send Proxy Nudge")]):e._e()])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[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("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]):e._e(),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredLearnerData,(function(a){return t("tr",{key:a.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.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{change:[function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l},function(t){return e.setProxyBtn(t)}]}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]):e._e(),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]):e._e(),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-4%"},[t("div",{staticClass:"text-center text-3xl text-background-secondary"},[e._v("Available Proxy")]),e.proxyList?t("div",{staticClass:"w-full flex mt-6"},[t("SearchBar",{attrs:{data:e.proxyDetailsArray,placeholder:"Search By Proxy Name"},on:{Filtered:e.getFilteredList}})],1):e._e(),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("Re-assign Proxy")])]):e._e(),t("div",{staticClass:"w-full mt-4"},[t("table",{staticClass:"w-full text-md bg-white shadow rounded text-over"},[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")]),"infinity"===e.selectedProgram?t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Role")]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])]),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.filteredproxyDetails,(function(a,r){return t("tr",{key:r,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 r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),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))]),"infinity"===e.selectedProgram?t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]):e._e(),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),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")])])},s=[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("All Proxy Review Request")])])}],l=(a(7658),a(7203)),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=a(9649),p=a(306),v=a(1815),f=a(1232),g=a(2027),y=a(8153),x=(0,l.defineComponent)({name:"ViewAllProgramProxyAssignment",components:{SearchBar:y.Z},setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),y=(0,l.ref)(!1),x=(0,l.ref)(!1),m=(0,l.ref)(),_=(0,l.ref)([]),h=(0,l.ref)(),k=(0,l.ref)(!1),b=(0,l.ref)(),w=(0,l.ref)(!0),C=(0,l.ref)(),P=(0,l.ref)(),S=(0,l.ref)(),A=(0,l.ref)(),Z=(0,l.ref)(!1),O=(0,l.ref)("Select Program"),T=(0,l.ref)(!1),D=(0,l.ref)(),L=(0,l.ref)(!1),N=(0,l.ref)(!1),$=(0,l.ref)(),M=(0,l.ref)(!1),R=(0,l.ref)("Select Ageing"),I=(0,l.ref)(),Y=(0,l.ref)(),B=(0,l.ref)(),E=(0,l.ref)(),V=(0,l.ref)(!1),F=(0,l.ref)(),H=(0,l.ref)(),J=(0,l.ref)(),q=(0,l.ref)(["0-5","5-10","10-15","15-20",">20"]),j=(0,l.ref)(""),G=(0,l.ref)(""),Q=(0,l.ref)(),U=(0,l.ref)(),X=(0,l.ref)(),z=()=>{h.value=[]},W=()=>{if(console.log(R.value),V.value=!1,"Select Ageing"===R.value)return F.value=e.value,B.value=!1,void(E.value=!1);R.value.includes(">")?(B.value=R.value.slice(1),V.value=!0,E.value=!0):[B.value,E.value]=R.value.split("-"),console.log(B.value,E.value)},K=async()=>{const e=[];F.value.filter((t=>{for(let a=0;a<_.value.length;a+=1)_.value[a]===t.learner_task_id&&e.push({learner_task_id:t.learner_task_id,proxyOhr:t.proxy_key})}));const t={nudge_arr:e};console.log(" Proxy OHR ",t);try{r.value=!1;const e=await(0,f.F)("/proxyreview/nudge",t);console.log(e),D.value=e.data.message,r.value=!0,L.value=!0,N.value=!1,window.scroll(0,0),r.value=!0,setTimeout((()=>{L.value=!1}),5e3)}catch(a){if(r.value=!0,p.Z.isAxiosError(a)){const e=a;r.value=!0,D.value=e.response?.data?.message,N.value=!0,L.value=!1,setTimeout((()=>{N.value=!1}),5e3)}}},ee=e=>{const t=e.target.checked;!0===t?(console.log("selected Task id",_.value),x.value=!0):0===_.value.length&&(x.value=!1,y.value=!1)},te=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},ae=async()=>{r.value=!1,A.value=await(0,d.dr)("/cache?cache=program"),r.value=!0},re=async t=>{r.value=!1,localStorage.setItem("program",t.target.value),localStorage.removeItem("skill"),localStorage.removeItem("proficiency"),O.value=t.target.value,"Select Program"!==O.value?(T.value=!0,"infinity"===O.value?(await te(),s.value="Select Skill",c.value="Select Proficiency",Z.value=!0):(Z.value=!1,s.value="",c.value="")):(T.value=!1,Z.value=!1),x.value=!1,M.value=!1,e.value=[],y.value=!1,_.value=[],F.value=[],r.value=!0},se=async()=>{try{if("Select Program"===O.value&&!Y.value)return X.value="Please Select Program or Enter Learner Task ID",void setTimeout((()=>{X.value=null}),6e3);if("infinity"===O.value){if("Select Skill"===s.value)return Q.value="Please Select Skill",void setTimeout((()=>{Q.value=null}),6e3);if("Select Proficiency"===c.value)return U.value="Please Select Proficiency",void setTimeout((()=>{U.value=null}),6e3)}const l={linked_program_name:O.value,skill:s.value,proficiency:c.value,proxy_key:I.value,learner_task_id:Y.value,selectedLowerBound:B.value,selectedUpperBound:E.value,noUpperBound:V.value};console.log({data:l}),r.value=!1,await z(),_.value=[],x.value=!1,y.value=!1;const n=await(0,o.cQ)(l);e.value=n.data.allProxyList,console.log(" learnerData.value",e.value),await te();for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),"infinity"===O.value||"infinity"===s.linked_program_name){if(s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}}e.value.length>0&&"infinity"===e.value[0].linked_program_name&&(s.value=e.value[0].skill,c.value=e.value[0].proficiency,Z.value=!0),e.value.length>0&&(O.value=e.value[0].linked_program_name);const i=await(0,g.uA)(O.value),d="PROXY_NUDGE",p=i.prog_detail.email_templates;M.value=void 0!==p[d],F.value=e.value,e.value=e.value.sort(((e,t)=>t.ageing-e.ageing))}catch(l){console.log(l)}r.value=!0},le=async e=>{s.value=e.target.value,console.log(`selectedSkill.value ${s.value}`)},ne=async e=>{c.value=e.target.value,console.log(`selectedProficiency.value ${c.value}`)},oe=async()=>{console.log(`selectedTaskId.value[0] ${_.value[0]}`);let t=`/v2/admin/proxy/program/${O.value}`;const a=e.value.filter((e=>_.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${a}`),"infinity"===O.value&&(C.value=a[0].skill,P.value=a[0].proficiency,t=`/v2/admin/proxy/program/infinity/skill/${C.value}`),y.value=!0,r.value=!1;const s=await(0,v.oA)(t);m.value=s.all_proxies,H.value=m.value.map((e=>e.proxy_name)),J.value=m.value,r.value=!0,console.log("Proxy List",m.value)},ie=e=>{J.value=m.value.filter((t=>e.includes(t.proxy_name))),console.log("filteredproxyDetails",J.value)},ce=async e=>{const t=e.target.checked;k.value=!0===t},ue=async()=>{try{console.log(`selectedProxyOhr.value[0] ${h.value[0]}`),console.log(`selectedSkill.value ${s.value}`),console.log(`selectedProficiency.value ${c.value}`),r.value=!1;const e={proxy_key:h.value[0],learners:_.value,linked_program_name:O.value,skill:C.value,proficiency:P.value},t=await(0,n.kn)("/proxyreview",e);D.value=t?.data.message,L.value=!0,setTimeout((()=>{L.value=!1}),6e3),y.value=!1,await se(),r.value=!0,console.log("data ohr",t)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${$.value}`),N.value=!0,setTimeout((()=>{N.value=!1}),6e3)}}},de=async()=>{try{if(!j.value||!G.value)return D.value="Start Date or End Date should not be empty",N.value=!0,void setTimeout((()=>{N.value=!1}),6e3);const e={start_date:j.value,end_date:G.value,program_id:O.value,skill:s.value,proficiency:c.value,proxy_ohr:I.value,learner_task_id:Y.value},t=await(0,o.yc)(e);S.value="The report will be emailed to you",setTimeout((()=>{S.value=null}),6e3),console.log(`Report Trigger Response ${t}`)}catch(e){if(p.Z.isAxiosError(e)){const t=e;console.log("err.response?.data",t.response?.data),r.value=!0,D.value=t.response?.data?.message,console.log(`errorMessage.value ${$.value}`),N.value=!0,setTimeout((()=>{N.value=!1}),6e3)}}};return(0,l.onBeforeMount)((async()=>{await ae();const e=await(0,i.GF)("/getUserRole");b.value=e.user_roles,b.value.length>0&&(b.value.includes("System Admin")||b.value.includes("Community Manager")||b.value.includes("Proxy Admin")?w.value=!0:w.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,selectedSkill:s,selectedProficiency:c,getSelectedSkill:le,getSelectedProficiency:ne,isVisible:y,showProxy:oe,getSkillandProf:te,getLearnerForProxy:se,selectedTaskId:_,proxyButtonVisible:x,setProxyBtn:ee,proxyList:m,selectedProxyOhr:h,checkOne:z,showAssignProxyBtn:ce,proxyAssignedBtn:k,assignLearnerToProxy:ue,showScreen:w,triggerProxyReport:de,reportSuccessMessage:S,programDetails:A,getSelectedProgram:re,showSearchBtn:T,selectedProgram:O,showSkillProf:Z,resMessage:D,showSuccessMessage:L,showErrorMessage:N,errorMessage:$,performAgeingFilter:W,ageingValues:q,filteredLearnerData:F,selectedAgeing:R,sendNudge:K,nudgeButtonVisible:M,getFilteredList:ie,filteredproxyDetails:J,proxyDetailsArray:H,rangeStart:j,rangeEnd:G,enteredProxyOHR:I,enteredLearnerTaskId:Y,skillErrorMessage:Q,proficiencyError:U,defaultErrorMessage:X}}}),m=x,_=a(1001),h=(0,_.Z)(m,r,s,!1,null,"4b80f852",null),k=h.exports},1055:function(e,t,a){a.r(t),a.d(t,{default:function(){return g}});var r=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:"flex w-full mt-6"},[t("div",{staticClass:"pr-3 mb-4 w-full text-right"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 text-white shadow-md bg-background-secondary text-right",on:{click:function(t){return e.triggerProxyReport()}}},[e._v("Export All Proxy Report")])])]),t("div",{staticClass:"w-full mt-4"},[t("div",{staticClass:"max-w-6xl m-auto shadow text-background-secondary p-4"},[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(" Skill ")]),t("select",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",on:{change:function(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",{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",{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){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.getLearnerForProxy()}}},[e._v("Search Learner")])])]),e.proxyButtonVisible?t("div",{staticClass:"flex w-full mt-6"},[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.showProxy()}}},[e._v("View available Proxy")])])]):e._e(),e.reportSuccessMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.reportSuccessMessage))]):e._e(),e.learnerData?t("div",{staticClass:"flex w-full"},[t("div",{staticClass:"w-full mt-4 tableScroll"},[t("table",{staticClass:"w-full text-md bg-white rounded"},[e._m(1),t("tbody",{staticClass:"opacity-80 -text-blue-800 align-bottom"},e._l(e.learnerData,(function(a){return t("tr",{key:a.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.selectedTaskId,expression:"selectedTaskId"}],attrs:{type:"checkbox",disabled:e.selectedTaskId.length>4,id:a.learner_task_id},domProps:{value:a.learner_task_id,checked:Array.isArray(e.selectedTaskId)?e._i(e.selectedTaskId,a.learner_task_id)>-1:e.selectedTaskId},on:{click:function(t){return e.setProxyBtn(t)},change:function(t){var r=e.selectedTaskId,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.learner_task_id,o=e._i(r,n);s.checked?o<0&&(e.selectedTaskId=r.concat([n])):o>-1&&(e.selectedTaskId=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedTaskId=l}}})]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.learner_task_id))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_key))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.skillName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proficiencyName))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_requested_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.assignment_date))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.isRereview))]),t("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.ageing))])])})),0)])])]):e._e(),e.isVisible?t("div",{staticClass:"w-full mt-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("Re-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(2),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 r=e.selectedProxyOhr,s=t.target,l=!!s.checked;if(Array.isArray(r)){var n=a.proxy_ohr,o=e._i(r,n);s.checked?o<0&&(e.selectedProxyOhr=r.concat([n])):o>-1&&(e.selectedProxyOhr=r.slice(0,o).concat(r.slice(o+1)))}else e.selectedProxyOhr=l},function(t){return e.showAssignProxyBtn(t)}],click:e.checkOne}})]),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("td",{staticClass:"p-2 px-3"},[e._v(e._s(a.proxy_role))]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v(e._s(a.proxy_ohr))])])})),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")])])},s=[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("All Proxy Review Request")])])},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("Learner ID")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy OHR")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Skill")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proficiency")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Requested Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Proxy Assignment Date")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Re-review")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("Ageing")])])])},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("Role")]),t("th",{staticClass:"text-left p-2 px-3 text-background-secondary"},[e._v("OHR")])])])}],l=a(7203),n=a(8709),o=a(1068),i=a(5279),c=a(1602),u=a.n(c),d=(0,l.defineComponent)({name:"AssignProxy",setup(){const e=(0,l.ref)(),t=(0,l.ref)(),a=(0,l.ref)(),r=(0,l.ref)(),s=(0,l.ref)(),c=(0,l.ref)(),d=(0,l.ref)(!1),p=(0,l.ref)(!1),v=(0,l.ref)(),f=(0,l.ref)([]),g=(0,l.ref)(),y=(0,l.ref)(!1),x=(0,l.ref)(),m=(0,l.ref)(!0),_=(0,l.ref)(),h=(0,l.ref)(),k=(0,l.ref)(),b=()=>{g.value=[]},w=e=>{f.value=[];const t=e.target.checked;!0===t?p.value=!0:(p.value=!1,d.value=!1)},C={},P=async()=>{r.value=!1;const e=await(0,n.QZ)("/getAllSkillProf?skill_type=genome");t.value=e.skill,a.value=e.proficiency,r.value=!0},S=async()=>{try{console.log(C),r.value=!1,await b(),f.value=[];const s=await(0,o._A)(C);e.value=s.data.allProxyList;for(let r=0;r<e.value.length;r+=1){const s=e.value[r];console.log(`res ${JSON.stringify(s)}`);const l=u()().utc().format("YYYY-MM-DD");if(s.assignment_date){const e=u()(s.assignment_date).utc().format("YYYY-MM-DD");s.ageing=u()(l).diff(u()(e),"days"),s.assignment_date=u()(s.assignment_date).format("DD-MM-YYYY")}if(s.proxy_requested_date&&(s.proxy_requested_date=u()(s.proxy_requested_date).format("DD-MM-YYYY")),s.skill){const e=t.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.skill_id;return console.log(`skill ${t}`),!!t&&t===s.skill}));console.log(`learnerSkillArr ${JSON.stringify(e)}`),s.skillName=e[0].skill_alias}else s.skillName="";if(s.proficiency){const e=a.value.filter((e=>{console.log(`item ${JSON.stringify(e)}`);const t=e.prof_id;return console.log(`prof ${t}`),!!t&&t===s.proficiency}));console.log(`learnerProfArr ${JSON.stringify(e)}`),s.proficiencyName=e[0].prof_name}else s.proficiencyName=""}e.value=e.value.sort(((e,t)=>t.ageing-e.ageing)),r.value=!0}catch(s){console.log(s)}},A=async e=>{s.value=e.target.value,Object.assign(C,{skill:s.value})},Z=async e=>{c.value=e.target.value,Object.assign(C,{proficiency:c.value})},O=async()=>{console.log(`selectedTaskId.value[0] ${f.value[0]}`);const t=e.value.filter((e=>f.value[0]===e.learner_task_id));console.log(`selectedLearnerArr ${t}`),_.value=t[0].skill,h.value=t[0].proficiency,d.value=!0,r.value=!1,v.value=await(0,n.Nl)("/getAllProxyBySkill",_.value),r.value=!0,console.log("Proxy List",v.value)},T=async e=>{const t=e.target.checked;y.value=!0===t},D=async()=>{try{console.log(`selectedProxyOhr.value[0] ${g.value[0]}`),console.log(`selectedSkill.value ${_.value}`),console.log(`selectedProficiency.value ${h.value}`),r.value=!1;const e={proxy_key:g.value[0],learners:f.value,linked_program_name:"infinity",skill:_.value,proficiency:h.value},t=await(0,n.kn)("/proxyreview",e);d.value=!1,await S(),r.value=!0,console.log("data ohr",t)}catch(e){console.log("data ohr",e)}},L=async()=>{const e=await(0,o.yc)("/admin/proxy/export");k.value="The report will be emailed to you",setTimeout((()=>{k.value=null}),6e3),console.log(`Report Trigger Response ${e}`)};return(0,l.onBeforeMount)((async()=>{await P();const e=await(0,i.GF)("/getUserRole");x.value=e.user_roles,x.value.length>0&&(x.value.includes("System Admin")||x.value.includes("Community Manager")||x.value.includes("Proxy Admin")?m.value=!0:m.value=!1)})),{learnerData:e,skills:t,proficiency:a,renderReady:r,getSelectedSkill:A,getSelectedProficiency:Z,isVisible:d,showProxy:O,getSkillandProf:P,getLearnerForProxy:S,selectedTaskId:f,proxyButtonVisible:p,setProxyBtn:w,proxyList:v,selectedProxyOhr:g,checkOne:b,showAssignProxyBtn:T,proxyAssignedBtn:y,assignLearnerToProxy:D,showScreen:m,triggerProxyReport:L,reportSuccessMessage:k}}}),p=d,v=a(1001),f=(0,v.Z)(p,r,s,!1,null,"6f090fc0",null),g=f.exports},8709:function(e,t,a){a.d(t,{G7:function(){return s},Nl:function(){return n},QZ:function(){return l},kn:function(){return o}});var r=a(7129);const s=async(e,t)=>{const a=await r.Z.post(e,t);return a},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async(e,t)=>{let a;return await r.Z.get(`${e}/${t}`).then((e=>(a=e.data.allProxyList,a))),a},o=async(e,t)=>{const a=await r.Z.post(e,t);return a}},1815:function(e,t,a){a.d(t,{Lo:function(){return n},M0:function(){return o},QZ:function(){return s},Z9:function(){return i},oA:function(){return l}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{const t=await r.Z.get(e);return t.data},n=async(e,t)=>{const a=await r.Z.post(e,t);return a.data},o=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message},i=async(e,t)=>{const a=await r.Z.post(e,t);return a.data.resp_message}},5279:function(e,t,a){a.d(t,{$d:function(){return s},$i:function(){return w},Ao:function(){return y},DU:function(){return f},EX:function(){return D},F5:function(){return L},FS:function(){return p},GF:function(){return A},Iu:function(){return n},J1:function(){return b},Jf:function(){return _},Kk:function(){return x},N9:function(){return Z},P8:function(){return u},VP:function(){return m},Vz:function(){return C},WX:function(){return v},X$:function(){return h},XP:function(){return l},Yb:function(){return S},a4:function(){return O},dH:function(){return k},gh:function(){return g},nb:function(){return i},oA:function(){return P},r4:function(){return d},sd:function(){return c},wp:function(){return o},xJ:function(){return T}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},l=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},n=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},o=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},i=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},c=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},u=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},d=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},p=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},v=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},f=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},g=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},y=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},x=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},m=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},_=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},h=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},k=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},b=async e=>{const t=await r.Z.get(e);return t},w=async e=>{const t=await r.Z.get(e);return t},C=async e=>{const t=await r.Z.get(e);return t},P=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},S=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data,t))),t},A=async e=>{let t;return await r.Z.get(e).then((e=>(t=e.data.userObj,t))),t},Z=async e=>{const t=await r.Z.post("/user/role",e);return t},O=async e=>{const t=await r.Z.post("/user/removeRole",e);return t},T=async()=>{const e=await r.Z.get("role");return e},D=async e=>{const t=await r.Z.post("/user/saveLSS",e);return t},L=async e=>{const t=await r.Z.post("/user/saveEnvAccess",e);return t}},2027:function(e,t,a){a.d(t,{DC:function(){return l},JS:function(){return n},uA:function(){return s}});var r=a(7129);const s=async e=>{try{let t;return await r.Z.get(`/program/${e}`).then((e=>(t=e.data,t))),t}catch(t){return t}},l=async e=>{try{let t;return console.log("inside update Program Service"),await r.Z.put("/program",e).then((e=>(console.log("program Response",e),t=e.data,t))),t}catch(t){return t}},n=async e=>{const t=await r.Z.post("/program/email/event/create",e);return t}},9649:function(e,t,a){a.d(t,{$M:function(){return d},F9:function(){return v},HX:function(){return o},V$:function(){return i},VA:function(){return l},dr:function(){return s},gs:function(){return f},jz:function(){return p},q$:function(){return u},rP:function(){return n},yW:function(){return c}});var r=a(7129);const s=async e=>{let t;return await r.Z.get(e).then((e=>(console.log("Response",e),t=e.data.response.program_name,t))),t},l=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},n=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.learnerDetails,a))),a},o=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},i=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},c=async e=>{let t;try{return await r.Z.get(`/task/${e}`).then((e=>(t=e.data.data,t))),t}catch(a){return a}},u=async(e,t)=>{try{const a=await fetch(`${e}`,{method:"put",body:t}),r=a;return r}catch(a){return console.error(a),a}},d=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},p=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data.tasks,a))),a},v=async e=>{console.log(`inside save task data ${JSON.stringify(e)}`);const t=await r.Z.post("/task/create",e);return t},f=async e=>{try{let t;return await r.Z.get(`/admin/task/taskExport/${e}`).then((async e=>(t=e.data,t))),t}catch(t){return t}}},1068:function(e,t,a){a.d(t,{Ho:function(){return s},_A:function(){return l},cQ:function(){return n},yc:function(){return o}});var r=a(7129);const s=async(e,t)=>{let a;return await r.Z.post(e,t).then((e=>(a=e.data,a))),a},l=async e=>{const t=await r.Z.post("getAllProxyAssignedLearner",e);return t},n=async e=>{const t=await r.Z.post("program/proxies/learners",e);return t},o=async e=>{const t=await r.Z.post("admin/proxy/export",e);return t}}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map
|