@aastrika_npmjs/comptency
Advanced tools
Comparing version 0.0.47 to 0.0.48
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ɵc"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"SelfAssessmentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵg"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":16,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":17,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵg"}]}]}],"members":{}},"CompetencyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":31,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":32,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":33,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":34,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵd"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵd":{"__symbolic":"class","members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-self-assessment-card","template":"<div class=\"card_box\">\n <ng-container *ngIf=\"cardData?.title\">\n <div class=\"title\">{{ cardData?.title }}</div>\n </ng-container>\n <!-- <ng-container *ngIf=\"cardData?.description\">\n <div class=\"description\">{{ cardData?.description }}</div>\n </ng-container> -->\n <div class=\"flex flex-row gap-3 mt-3\">\n <!-- <button class=\"assess-btn\">Assess</button> -->\n <ng-container *ngFor=\"let btn of btnType\">\n <ng-container *ngIf=\"btn.courseId == cardData.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" i18n (click)=\"viewCourses(cardData)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card_box{margin:7px 2px 15px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:7px}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.startBtn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-style:italic;font-size:14px;line-height:17px;cursor:pointer;margin-top:4px}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 30px;cursor:pointer}"]}]}],"members":{"cardData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"btnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":20},{"__symbolic":"reference","name":"ɵf"}]}],"ngOnInit":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":10,"character":43},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":11,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":11,"character":54}]}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}],"fetchHiearchyDetails":[{"__symbolic":"method"}],"fetchPrgressDetails":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"lib-self-assessment","template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"content\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-template>\n</div>\n","styles":[""]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":28,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":30,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]=\"i === selectedProficiencyIndex\"\n class=\"w-full panel\"\n hideToggle\n >\n <mat-expansion-panel-header\n class=\"flex-between items-center panel-header w-full\"\n >\n <mat-panel-description class=\"panel-header-description\">\n <ng-container\n *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\"\n >\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div\n (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \"\n class=\"level mb-1\"\n [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\"\n [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class=\"level mb-1\"\n (click)=\"$event.stopPropagation(); selectLevel(i, -1)\"\n >\n <mat-icon\n [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container\n *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \"\n >\n <ng-container\n *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \"\n >\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex\">\n <ng-container *ngIf=\"log.header\">\n <span class=\"\"\n i18n>{{'LEVEL' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div\n class=\"mt-2\"\n [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\"\n >\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon\n (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\"\n class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":26,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵk":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div class=\"content\" [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":19,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of role?.activities; let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":36,"character":26},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":38,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<ng-container *ngFor=\"let competency of competencyList; let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</ng-container>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}}},"origins":{"EntryModule":"./entry-module/entry-module","SelfAssessmentModule":"./self-assessment/self-assessment.module","CompetencyModule":"./competency/competency.module","ɵa":"./entry-module/components/slef-assessment-entry/slef-assessment-entry.component","ɵb":"./entry-module/components/competency-entry/competency-entry.component","ɵc":"./entry-module/services/config.service","ɵd":"./entry-module/services/configuration-context","ɵe":"./self-assessment/components/self-assessment-card/self-assessment-card.component","ɵf":"./self-assessment/service/self-assessment.service","ɵg":"./self-assessment/components/self-assessment/self-assessment.component","ɵh":"./competency/components/required-comptency-card/required-comptency-card.component","ɵi":"./competency/components/gained-comptency-card/gained-comptency-card.component","ɵj":"./competency/services/gained.service","ɵk":"./competency/services/active-summary.service","ɵl":"./competency/components/competency-dashboard/competency-dashboard.component","ɵm":"./competency/components/active-summary/active-summary.component","ɵn":"./competency/components/competency-accordion/competency-accordion.component"},"importAs":"@aastrika_npmjs/comptency"} | ||
{"__symbolic":"module","version":4,"metadata":{"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","name":"ɵb"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ɵc"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"SelfAssessmentModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":10,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵg"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":15,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":16,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":17,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵe"},{"__symbolic":"reference","name":"ɵg"}]}]}],"members":{}},"CompetencyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"},{"__symbolic":"reference","name":"ɵn"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":31,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":32,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":33,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":34,"character":4}],"exports":[{"__symbolic":"reference","name":"ɵh"},{"__symbolic":"reference","name":"ɵi"},{"__symbolic":"reference","name":"ɵl"},{"__symbolic":"reference","name":"ɵm"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ɵb":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵd"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵd":{"__symbolic":"class","members":{}},"ɵe":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-self-assessment-card","template":"<div class=\"card_box\">\n <ng-container *ngIf=\"cardData?.title\">\n <div class=\"title\">{{ cardData?.title }}</div>\n </ng-container>\n <!-- <ng-container *ngIf=\"cardData?.description\">\n <div class=\"description\">{{ cardData?.description }}</div>\n </ng-container> -->\n <div class=\"flex flex-row gap-3 mt-3\">\n <!-- <button class=\"assess-btn\">Assess</button> -->\n <ng-container *ngFor=\"let btn of btnType\">\n <ng-container *ngIf=\"btn.courseId == cardData.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(cardData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container>\n </ng-container>\n\n <button class=\"btn-long\" i18n (click)=\"viewCourses(cardData)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card_box{margin:7px 2px 15px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:7px}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.startBtn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-style:italic;font-size:14px;line-height:17px;cursor:pointer;margin-top:4px}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 30px;cursor:pointer}"]}]}],"members":{"cardData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"btnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":15,"character":20},{"__symbolic":"reference","name":"ɵf"}]}],"ngOnInit":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}]}},"ɵf":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":10,"character":43},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":7,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":11,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":11,"character":54}]}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}],"fetchHiearchyDetails":[{"__symbolic":"method"}],"fetchPrgressDetails":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵg":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":10,"character":1},"arguments":[{"selector":"lib-self-assessment","template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"content\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n","styles":[""]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":16,"character":3}}]}],"position":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":17,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common","name":"Location","line":28,"character":22},{"__symbolic":"reference","name":"ɵf"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":30,"character":26}]}],"ngOnInit":[{"__symbolic":"method"}],"getCompetencyFilter":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}]}},"ɵh":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵi":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]=\"i === selectedProficiencyIndex\"\n class=\"w-full panel\"\n hideToggle\n >\n <mat-expansion-panel-header\n class=\"flex-between items-center panel-header w-full\"\n >\n <mat-panel-description class=\"panel-header-description\">\n <ng-container\n *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\"\n >\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div\n (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \"\n class=\"level mb-1\"\n [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\"\n [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class=\"level mb-1\"\n (click)=\"$event.stopPropagation(); selectLevel(i, -1)\"\n >\n <mat-icon\n [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container\n *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \"\n >\n <ng-container\n *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \"\n >\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex\">\n <ng-container *ngIf=\"log.header\">\n <span class=\"\"\n i18n>{{'LEVEL' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div\n class=\"mt-2\"\n [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\"\n >\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon\n (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\"\n class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":26,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"ɵj":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵk":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getRolesMapping":[{"__symbolic":"method"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵl":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" [desigination]=\"role\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":19,"character":26},{"__symbolic":"reference","name":"ɵk"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"ɵm":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of role?.activities; let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"desigination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵk"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":38,"character":26},{"__symbolic":"reference","name":"ɵj"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":40,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getRolesWiseCompetencyData":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵn":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<ng-container *ngFor=\"let competency of competencyList; let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</ng-container>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}}},"origins":{"EntryModule":"./entry-module/entry-module","SelfAssessmentModule":"./self-assessment/self-assessment.module","CompetencyModule":"./competency/competency.module","ɵa":"./entry-module/components/slef-assessment-entry/slef-assessment-entry.component","ɵb":"./entry-module/components/competency-entry/competency-entry.component","ɵc":"./entry-module/services/config.service","ɵd":"./entry-module/services/configuration-context","ɵe":"./self-assessment/components/self-assessment-card/self-assessment-card.component","ɵf":"./self-assessment/service/self-assessment.service","ɵg":"./self-assessment/components/self-assessment/self-assessment.component","ɵh":"./competency/components/required-comptency-card/required-comptency-card.component","ɵi":"./competency/components/gained-comptency-card/gained-comptency-card.component","ɵj":"./competency/services/gained.service","ɵk":"./competency/services/active-summary.service","ɵl":"./competency/components/competency-dashboard/competency-dashboard.component","ɵm":"./competency/components/active-summary/active-summary.component","ɵn":"./competency/components/competency-accordion/competency-accordion.component"},"importAs":"@aastrika_npmjs/comptency"} |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@aastrika_npmjs/comptency/core"),require("@angular/common/http"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("rxjs/operators"),require("@angular/router"),require("@angular/common"),require("@aastrika_npmjs/comptency/self-assessment"),require("@angular/material"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/competency",["exports","@angular/core","rxjs","@aastrika_npmjs/comptency/core","@angular/common/http","@aastrika_npmjs/comptency/entry-module","lodash-es","rxjs/operators","@angular/router","@angular/common","@aastrika_npmjs/comptency/self-assessment","@angular/material","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.competency={}),e.ng.core,e.rxjs,e.aastrika_npmjs.comptency.core,e.ng.common.http,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.rxjs.operators,e.ng.router,e.ng.common,e.aastrika_npmjs.comptency["self-assessment"],e.ng.material,e.core$2)}(this,(function(e,t,n,i,a,o,r,c,s,l,p,d,g){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("rxjs"),require("@aastrika_npmjs/comptency/core"),require("@angular/common/http"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("rxjs/operators"),require("@angular/router"),require("@angular/common"),require("@aastrika_npmjs/comptency/self-assessment"),require("@angular/material"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/competency",["exports","@angular/core","rxjs","@aastrika_npmjs/comptency/core","@angular/common/http","@aastrika_npmjs/comptency/entry-module","lodash-es","rxjs/operators","@angular/router","@angular/common","@aastrika_npmjs/comptency/self-assessment","@angular/material","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.competency={}),e.ng.core,e.rxjs,e.aastrika_npmjs.comptency.core,e.ng.common.http,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.rxjs.operators,e.ng.router,e.ng.common,e.aastrika_npmjs.comptency["self-assessment"],e.ng.material,e.core$2)}(this,(function(e,t,n,i,o,a,r,c,s,l,p,d,g){"use strict"; | ||
/*! ***************************************************************************** | ||
@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation. | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */var m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function u(e,t){function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,i){var a,o=arguments.length,r=o<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(a=e[c])&&(r=(o<3?a(r):o>3?a(t,n,r):a(t,n))||r);return o>3&&r&&Object.defineProperty(t,n,r),r}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,a,o=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(i=o.next()).done;)r.push(i.value)}catch(e){a={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(a)throw a.error}}return r}var v=function(){function e(){}return e.prototype.ngOnInit=function(){this.seletectedLang=this.language,this.position=this.role},e.prototype.ngOnDestroy=function(){},f([t.Input()],e.prototype,"language",void 0),f([t.Input()],e.prototype,"isMobileApp",void 0),f([t.Input()],e.prototype,"role",void 0),e=f([t.Component({selector:"lib-required-comptency-card",template:'<lib-self-assessment [language]="seletectedLang" [position]="position"></lib-self-assessment>',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]})],e)}(),h=function(e){function r(t,i){var a=e.call(this,t,i)||this;return a.configService=i,a.competencyData=new n.BehaviorSubject(void 0),a.competencyData$=a.competencyData.asObservable(),a}return u(r,e),r.prototype.fetchUserPassbook=function(e,t){var n=this.configService.getConfig(),a={url:n.isMobileApp?i.urlConfig.getUserPassbookMobile():i.urlConfig.getUserPassbook(),data:e,header:n.isMobileApp?{"x-authenticated-userid":t}:""};return this.post(a)},r.prototype.fetchAllEntity=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getAllEntityMobile():i.urlConfig.getAllEntity(),data:e};return this.post(t)},r.ctorParameters=function(){return[{type:a.HttpClient},{type:o.ConfigService}]},r.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new r(t.ɵɵinject(a.HttpClient),t.ɵɵinject(o.ConfigService))},token:r,providedIn:"root"}),r=f([t.Injectable({providedIn:"root"})],r)}(i.DataService),b=function(){function e(){var e=this;this.formatedActivities=function(e){if(!r.isEmpty(e))return e},this.formatedActivitityByPostion=function(t,n){if(r.get(t,"result")){var i=r.get(t,"result.response").children;if(i.length>0){var a=r.reduce(i,(function(t,i){return t.push({roles:"hi"==n?e.getHiName(i):r.get(i,"name"),id:r.get(i,"id"),description:r.get(i,"description"),averagePercentage:0,code:r.get(i.additionalProperties,"Code")}),t}),[]);return a=r.sortBy(a,[function(e){return e.code}])}}},this.formatedActivitityByRoleId=function(t,n){if(r.get(t,"result")){var i=r.get(t,"result.response").children;if(i.length>0){var a=r.reduce(i,(function(t,i){return t.push({title:"hi"==n?e.getHiName(i):r.get(i,"name"),cid:r.get(i,"id"),description:r.get(i,"description"),code:r.get(i.additionalProperties,"Code")}),t}),[]);return r.sortBy(a,[function(e){return e.code}])}}},this.formatedCompetency=function(t,n,i,a){var o=[];return r.forEach(t,(function(t){if(r.get(t,"result")){var c=r.get(t,"result.response").children;c.length>0&&r.forEach(c,(function(c){o.push({levels:e.getLevels(r.get(c,"id"),n,i),competency:"hi"==i?e.getHiName(c):r.get(c,"name"),id:r.get(c,"id"),description:r.get(c,"description"),cid:r.get(t,"result.response").id,lastLevel:e.getheighestLevel(r.get(c,"id"),n),completionPercentage:e.getCompeletionPercentage(r.get(c,"id"),n),code:r.get(c.additionalProperties,"Code"),levelDescription:r.get(c.additionalProperties,"competencyLevelDescription")?e.getLevelDescription(r.get(c.additionalProperties,"competencyLevelDescription"),n,r.get(c,"id"),i):"",assessmentData:e.setAssessmentData(r.get(c,"id"),a)})}))}})),o=r.sortBy(o,[function(e){return e.code}]),r.uniqBy(o,"id")}}return e.prototype.getHiName=function(e){return r.get(e.additionalProperties,"lang-hi-name")?r.get(e.additionalProperties,"lang-hi-name"):r.get(e,"name")},e.prototype.getLevelDescription=function(e,t,n,i){var a=[];r.forEach(JSON.parse(e),(function(e){e&&a.push({levelId:r.get(e,"level"),name:"hi"==i?r.get(e,"lang-hi-name"):r.get(e,"name"),description:"hi"==i?r.get(e,"lang-hi-description"):r.get(e,"description"),"description-hi":r.get(e,"lang-hi-description"),achived:!1})}));var o=null;return r.forEach(t,(function(e){r.toNumber(e.competencyId)===n&&(o=r.uniq(e.levelsAchieve))})),r.forEach(a,(function(e){r.forEach(o,(function(t){t==e.levelId&&(e.achived=!0)}))})),a},e.prototype.getLevels=function(e,t,n){var i=[{name:"hi"==n?"स्तर 1":"Level 1",achived:!1,level:"1"},{name:"hi"==n?"स्तर 2":"Level 2",achived:!1,level:"2"},{name:"hi"==n?"स्तर 3":"Level 3",achived:!1,level:"3"},{name:"hi"==n?"स्तर 4":"Level 4",achived:!1,level:"4"},{name:"hi"==n?"स्तर 5":"Level 5",achived:!1,level:"5"}],a=null;return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(a=r.uniq(t.levelsAchieve))})),r.forEach(i,(function(e){r.forEach(a,(function(t){t==e.level&&(e.achived=!0)}))})),i},e.prototype.getheighestLevel=function(e,t){var n="";return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(n=t.levelId.competencyLevelId)})),n},e.prototype.getCompeletionPercentage=function(e,t){var n=0;return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(n=r.toNumber(t.levelId.competencyLevelId))})),n=100*n/5},e.prototype.setAssessmentData=function(e,t){var n;return r.forEach(t,(function(t){e==t.competencyID&&(n=t)})),n},e.prototype.formatedGainedCompetency=function(e,t,n){var i=this,a=[];return r.forEach(e,(function(o){var c=r.get(o,"id");r.forEach(t,(function(t){if(t.competencies.hasOwnProperty(c)){var o=t.competencies[c];console.log(o),a.push({title:"hi"==n?i.getHiTitle(c,e,o):r.get(o,"additionalParams.competencyName"),logs:i.acquiredPassbookLogs(r.get(o,"acquiredDetails"),n),proficiencyLevels:i.acauiredChannelColourCode(r.get(o,"acquiredDetails")),competencyStoreData:i.competencyStoreDataFomat(o),titleHi:i.getHiTitle(c,e,o)})}}))})),a},e.prototype.getHiTitle=function(e,t,n){var i;return r.forEach(t,(function(t){t.id==e&&(i=r.get(t.additionalProperties,"lang-hi-name")?r.get(t.additionalProperties,"lang-hi-name"):r.get(n,"additionalParams.competencyName"))})),i},e.prototype.acquiredPassbookLogs=function(e,t){var n=this,i=[];return e.length>0&&r.forEach(e,(function(e){i.push({header:r.get(e,"courseName")?r.get(e,"courseName"):"hi"==t?n.getHindiName(r.get(e,"acquiredChannel")):r.get(e,"acquiredChannel"),date:r.get(e,"createdDate"),description:r.get(e,"additionalParams.description"),keyboardArrowUp:!0,level:r.toNumber(r.get(e,"competencyLevelId"))})})),i},e.prototype.getHindiName=function(e){var t;switch(e){case"selfAssessment":t="आत्म मूल्यांकन";case"admin":t="व्यवस्थापक"}return t},e.prototype.acauiredChannelColourCode=function(e){var t=[{color:"#FFFBB0",displayLevel:1,selected:!1},{color:"#FFFBB0",displayLevel:2,selected:!1},{color:"#FFFBB0",displayLevel:3,selected:!1},{color:"#FFFBB0",displayLevel:4,selected:!1},{color:"#FFFBB0",displayLevel:5,selected:!1}];return r.forEach(e,(function(e){switch(r.get(e,"acquiredChannel")){case"course":case"Course":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#FFFBB0",t.selected=!0)}));break;case"selfAssessment":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#A4DFCA",t.selected=!0)}));break;case"admin":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#7cb5e6",t.selected=!0)}));break;default:r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#FFFBB0",t.selected=!1)}))}})),t},e.prototype.competencyStoreDataFomat=function(e){var t=[];return e.acquiredDetails&&r.forEach(e.acquiredDetails,(function(e){e.competencyLevelId&&t.push(e.competencyLevelId)})),{competencyId:e.competencyId,competencyName:e.additionalParams.competencyName,levelId:r.maxBy(e.acquiredDetails,"competencyLevelId"),levelsAchieve:t}},e.prototype.formatedCompetencyCourseData=function(e){var t=this,n=[];if(r.get(e,"result")){var i=r.get(e,"result.content");i&&r.forEach(i,(function(e){n.push({title:r.get(e,"name"),contentId:r.get(e,"identifier"),contentType:r.get(e,"contentType"),subTitle:r.get(e,"subTitle"),description:r.get(e,"description"),creator:r.get(e,"creator"),duration:r.get(e,"duration"),batchId:t.getBatchData(e),childContent:r.get(e,"childNodes").length,competencyID:t.getCompetencyData(e.competencies_v1)})}))}return n},e.prototype.getCompetencyData=function(e){if(e)return JSON.parse(e)[0].competencyId},e.prototype.getBatchData=function(e){var t="";return e.batches&&r.forEach(e.batches,(function(e){t=r.get(e,"batchId")})),t},e}(),x=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.configService=n,i}return u(n,e),n.prototype.getActivityById=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getEntityByIdMobile(e.id):i.urlConfig.getEntityById(e.id),data:e};return this.post(t)},n.prototype.getUserdetailsFromRegistry=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getUserdetailsMobile(e.id):i.urlConfig.getUserdetailsFromRegistry(e.id)};return this.get(t).pipe(c.map((function(e){return e.result.response})))},n.prototype.getCompetencyCourseIdentifier=function(e){var t={request:{filters:{primaryCategory:["Course"],contentType:["Course"],status:["Live"],competency:[!0],lang:"hi"==e?"hi":"en"}},sort:[{lastUpdatedOn:"desc"}]},n={url:this.configService.getConfig().isMobileApp?i.urlConfig.getSearchMobile():i.urlConfig.getSearch(),data:t};return this.post(n)},n.ctorParameters=function(){return[{type:a.HttpClient},{type:o.ConfigService}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(a.HttpClient),t.ɵɵinject(o.ConfigService))},token:n,providedIn:"root"}),n=f([t.Injectable({providedIn:"root"})],n)}(i.DataService),I=function(){function e(e,t,n){this.gainedService=e,this.configService=t,this.activeSummaryService=n,this.loading=!1,this.panelOpenState=!1,this.selectedProficiencyIndex=-1,this.selectedDisplayLevel=-1,this.requestUtil=new b}return e.prototype.ngOnInit=function(){var e=this;this.language||this.getUserDetails().subscribe((function(t){e.language=t.profileDetails.preferences?t.profileDetails.preferences.language:"en"})),this.loading=!0;var t=this.getAllEntity(),i=this.getAllUserPassbook();n.forkJoin([t,i]).subscribe((function(t){var n=e.requestUtil.formatedGainedCompetency(t[0].result.response,t[1].result.content,e.language);if(e.gainedproficencyData=n,e.gainedproficencyData){var i=[];r.forEach(e.gainedproficencyData,(function(e){e.competencyStoreData&&i.push(e.competencyStoreData)})),e.gainedService.competencyData.next(i)}e.loading=!1}))},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.getAllUserPassbook=function(){var e=this.configService.getConfig().id;return this.gainedService.fetchUserPassbook({request:{typeName:"competency"}},e)},e.prototype.getAllEntity=function(){return this.gainedService.fetchAllEntity({search:{type:"Competency"}})},e.prototype.selectLevel=function(e,t){e!==this.selectedProficiencyIndex||-1!==t&&t!==this.selectedDisplayLevel?this.selectedProficiencyIndex=e:this.selectedProficiencyIndex=-1,this.selectedDisplayLevel=t},e.ctorParameters=function(){return[{type:h},{type:o.ConfigService},{type:x}]},f([t.Input()],e.prototype,"language",void 0),e=f([t.Component({selector:"lib-gained-comptency-card",template:'<lib-app-loader *ngIf="loading === true"></lib-app-loader>\n<ng-container *ngFor="let proficency of gainedproficencyData; let i = index">\n <div class="card-container example-container container-balanced">\n <ng-container *ngIf="proficency?.title">\n <div class="title">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class="levelsTitle" i18n>{{\'LEVELS\' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]="i === selectedProficiencyIndex"\n class="w-full panel"\n hideToggle\n >\n <mat-expansion-panel-header\n class="flex-between items-center panel-header w-full"\n >\n <mat-panel-description class="panel-header-description">\n <ng-container\n *ngFor="let proficiencyLevel of proficency?.proficiencyLevels"\n >\n <ng-container *ngIf="proficiencyLevel.selected; else addLevel">\n <div\n (click)="\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n "\n class="level mb-1"\n [ngStyle]="{ \'background-color\': proficiencyLevel.color }"\n [ngClass]="{\n \'individual-select\':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)="$event.stopPropagation()" class="level mb-1">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class="level mb-1"\n (click)="$event.stopPropagation(); selectLevel(i, -1)"\n >\n <mat-icon\n [ngClass]="{ arrowReverse: selectedProficiencyIndex === i }"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class="log-header" i18n>{{\'LOG\' | translate}}</span>\n <ng-container\n *ngFor="let log of proficency?.logs; let logIndex = index; let last = last; "\n >\n <ng-container\n *ngIf="\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n "\n >\n <div class="log" [ngClass]="{\'border-bottom-0\': last}">\n <div class="flex">\n <ng-container *ngIf="log.header">\n <span class=""\n i18n>{{\'LEVEL\' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class="log-date mr-2">{{\n log?.date | date : "dd/MM/yyyy"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf="log.description">\n <div\n class="mt-2"\n [ngClass]="{ \'hide-content\': !log.keyboardArrowUp }"\n >\n {{ log.description }}\n </div>\n <div class="justify-end">\n <mat-icon\n (click)="log.keyboardArrowUp = !log.keyboardArrowUp"\n class="mr-3"\n [ngClass]="{ arrowReverse: log.keyboardArrowUp }"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n \x3c!-- <hr> --\x3e\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]})],e)}(),C=function(){function e(e,n,i){this.router=e,this.configService=n,this.activeSummaryService=i,this.stateChange=new t.EventEmitter,this.tabIndex=1}return e.prototype.ngOnInit=function(){var e=this;this.tabIndex=1,this.isMobileApp=this.configService.getConfig().isMobileApp,this.role=this.configService.getConfig().profileData[0].designation,this.language=this.configService.getConfig().language,this.getUserDetails().subscribe((function(t){e.language=e.configService.getConfig().language==t.profileDetails.preferences.language?e.configService.getConfig().language:t.profileDetails.preferences.language,e.role=e.configService.getConfig().profileData[0].designation==t.profileDetails.profileReq.professionalDetails[0].designation?e.configService.getConfig().profileData[0].designation:t.profileDetails.profileReq.professionalDetails[0].designation}))},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.navigateBack=function(){this.router.navigate(["/page/home"])},e.prototype.changeTab=function(e){this.tabIndex=e.index},e.prototype.startSelfAssessment=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:s.Router},{type:o.ConfigService},{type:x}]},f([t.Output()],e.prototype,"stateChange",void 0),e=f([t.Component({selector:"lib-competency-dashboard",template:'<div class="content" [ngClass]="isMobileApp ? \'content-mobile\' : \'content\'">\n <mat-icon (click)="navigateBack()" class="cursor-pointer mb-3"\n >chevron_left</mat-icon\n >\n\n <h1 class="pl-2 mb-0" i18n>{{\'COMPETENCY_DASHBOARD\' | translate}}</h1>\n\n <div class="pl-2 tab-container">\n <mat-tab-group\n [ngClass]="{ \'header-width-icon\': tabIndex === 1 }"\n class="remove-border-bottom"\n animationDuration="0ms"\n [selectedIndex]="tabIndex"\n (selectedTabChange)="changeTab($event)"\n >\n \x3c!-- Active Summary as Job Description --\x3e\n <mat-tab i18n-label label="{{\'JOB_DESCRIPTION\' | translate}}">\n <h4 class="mt-4 mb-1" i18n>{{\'ROLES\' | translate}}</h4>\n <lib-active-summary [language]="language" [isMobileApp]="isMobileApp" *ngIf="tabIndex === 0"></lib-active-summary>\n </mat-tab>\n\n \x3c!-- gained as Passbook --\x3e\n <mat-tab i18n-label label="{{\'PASSBOOK\' | translate}}">\n <div class="legend-container">\n <div class="legend legend-blue"></div>\n <h5 class="mb-0" i18n>{{\'EXTERNAL\' | translate}}</h5>\n <div class="legend legend-green"></div>\n <h5 class="mb-0" i18n>{{\'SELF\' | translate}}</h5>\n <div class="legend legend-yellow"></div>\n <h5 class="mb-0" i18n>{{\'CRS_TRK_FRMELEMNTS_LBL_TRAINING\' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]="language"\n *ngIf="tabIndex === 1"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n \x3c!-- required --\x3e\n <mat-tab i18n-label label="{{\'REQUIRED\' | translate}}">\n <div class="required-comperencies">\n <div class="mt-2 tab-badge" i18n>{{\'SELF_ASSESSMENTS\' | translate}}</div>\n <lib-required-comptency-card\n [language]="language"\n [role]="role"\n *ngIf="tabIndex === 2"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]})],e)}(),D=function(){function e(e,t,n,i){this.activeSummaryService=e,this.configService=t,this.gainedService=n,this.selfAssessmentService=i,this.panelOpenState=!0,this.loading=!1,this.acordianLoading=!1,this.btnType=[],this.requestUtil=new b}return e.prototype.ngOnInit=function(){var e=this;this.getProgress(),this.loading=!0,this.getUserDetails().pipe(c.mergeMap((function(t){if(e.profileData=t.profileDetails.profileReq,e.language||(e.language=t.profileDetails.preferences?t.profileDetails.preferences.language:"en"),e.profileData){var i=e.getActivityByRole(),a=e.getCompetencyCourse();return n.forkJoin([i,a])}}))).subscribe((function(t){e.assessmentData=e.requestUtil.formatedCompetencyCourseData(t[1]),e.getAssessmentBtnType(e.assessmentData);var n=e.requestUtil.formatedActivitityByPostion(t[0],e.language);e.roleactivitySummaries=n,r.forEach(e.roleactivitySummaries,(function(t){t.id&&e.getActivityByRoleId(t.id)}))}))},e.prototype.getProgress=function(){var e=this;this.gainedService.competencyData$.subscribe((function(t){e.competencyProgress=t}))},e.prototype.getAssessmentBtnType=function(e){var t=this;r.forEach(e,(function(e){t.getAssessmentProgress(e).subscribe((function(n){if(n.result&&n.result.contentList.length>0)if(n.result.contentList.length>0&&e.childContent===n.result.contentList.length){var i="";r.forEach(n.result.contentList,(function(e){i=100===e.completionPercentage&&0!==e.completionPercentage?"DONE":"RESUME"})),t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:i})}else t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:"RESUME"});0==n.result.contentList.length&&t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:"START"})}))}))},e.prototype.getAssessmentProgress=function(e){var t={request:{userId:this.configService.getConfig().id,batchId:e.batchId,courseId:e.contentId,contentIds:[],fields:["progressdetails"]}};return this.selfAssessmentService.fetchPrgressDetails(t)},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.getActivityByRole=function(){var e;this.profileData.professionalDetails&&(e=this.profileData.professionalDetails[0].designation);var t={filter:{isDetail:!0},id:this.designationMap(e)};return this.activeSummaryService.getActivityById(t)},e.prototype.designationMap=function(e){var t={AWW:95,ANM:210,GNM:521};return t.hasOwnProperty(e)?t[e]:1},e.prototype.getActivityByRoleId=function(e){var t=this;this.acordianLoading=!0;var i=r.findIndex(this.roleactivitySummaries,{id:e});this.roleactivitySummaries[i].activities=[],this.getEntityById(e).pipe(c.mergeMap((function(e){var a=t.requestUtil.formatedActivitityByRoleId(e,t.language);t.roleactivitySummaries[i].activities=a;var o=r.map(t.roleactivitySummaries[i].activities,"cid"),c=[];return r.forEach(o,(function(e){c.push(t.getEntityById(e))})),t.acordianLoading=!1,n.forkJoin(function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}(c))}))).subscribe((function(e){var n=t.requestUtil.formatedCompetency(e,t.competencyProgress,t.language,t.assessmentData);t.roleactivitySummaries[i].activities=r.values(r.merge(r.keyBy(n,"id"),r.keyBy(t.roleactivitySummaries[i].activities,"cid"))),t.roleactivitySummaries[i].averagePercentage=[];var a=t.getAveragepercentage(n);t.roleactivitySummaries[i].averagePercentage=a,t.loading=!1}))},e.prototype.getEntityById=function(e){var t={filter:{isDetail:!0},id:e};return this.activeSummaryService.getActivityById(t)},e.prototype.getAveragepercentage=function(e){var t=e.length,n=[];return r.forEach(e,(function(e){n.push(e.completionPercentage)})),r.round(r.sum(n)/t)},e.prototype.getCompetencyCourse=function(){return this.activeSummaryService.getCompetencyCourseIdentifier(this.language)},e.prototype.ngOnDestroy=function(){this.unsubscribe&&this.unsubscribe.unsubscribe()},e.ctorParameters=function(){return[{type:x},{type:o.ConfigService},{type:h},{type:p.SelfAssessmentService}]},f([t.Input()],e.prototype,"language",void 0),f([t.Input()],e.prototype,"isMobileApp",void 0),e=f([t.Component({selector:"lib-active-summary",template:'<lib-app-loader *ngIf="loading === true"></lib-app-loader>\n<ng-container *ngFor="let role of roleactivitySummaries">\n <div class="activity-card-container">\n <mat-accordion>\n <mat-expansion-panel\n class=""\n (opened)="panelOpenState = true"\n (closed)="panelOpenState = false"\n >\n <mat-expansion-panel-header\n id="activity-header"\n class="flex-between items-center w-full"\n collapsedHeight="auto"\n expandedHeight="auto"\n >\n\n <mat-panel-description class="panel-header-description">\n <ng-container *ngIf="role?.roles">\n <div class="flex flex-column w-full">\n <div class="role-title">{{ role?.roles }}</div>\n <div class="progress-status-none" *ngIf="role?.averagePercentage == 0"></div>\n <div class="progress-status" *ngIf="role?.averagePercentage < 100 && role?.averagePercentage != 0" i18n>{{\'IN_PROGRESS\' | translate }}</div>\n <div class="progress-status" *ngIf="role?.averagePercentage == 100" i18n>{{\'COMPLETED\' | translate}}</div>\n <ng-container >\n <div [ngClass]="{\'green-bar\': role?.averagePercentage == 100 , \'warn-bar\': role?.averagePercentage < 100 && role?.averagePercentage != 0 }">\n <mat-progress-bar mode="determinate" value={{role?.averagePercentage}} class="mt-1"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf="acordianLoading === true"></lib-app-loader>\n <div class="expand-container" *ngIf="roleactivitySummaries.length>0">\n \x3c!-- list of activity --\x3e\n <div class="activity-badge" i18n>{{\'ACTIVITIES\' | translate}}</div>\n <ng-container\n *ngFor="let activity of role?.activities; let i = index"\n >\n <div class="activity-title" *ngIf="activity.title">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf="role?.activities">\n <lib-competency-accordion [competencyList]="role?.activities" [assessmentData]="assessmentData" [assessBtnType]="btnType"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]})],e)}(),S=function(){function e(e){this.router=e}return e.prototype.ngOnInit=function(){console.log("list",this.competencyList)},e.prototype.viewCourses=function(e){if(e){var t=e.id?e.id:e.assessmentData.competencyID;this.router.navigate(["/app/search"],{queryParams:{q:[t+"-1",t+"-2",t+"-3",t+"-4",t+"-5"],competency:!0,redirect:"app/user/competency"},queryParamsHandling:"merge"})}},e.prototype.startSelfAssesment=function(e){this.router.navigate(["app/user/self-assessment"],{queryParams:e})},e.ctorParameters=function(){return[{type:s.Router}]},f([t.Input()],e.prototype,"competencyList",void 0),f([t.Input()],e.prototype,"assessmentData",void 0),f([t.Input()],e.prototype,"assessBtnType",void 0),e=f([t.Component({selector:"lib-competency-accordion",template:'<div class="competency-badge" i18n>{{\'COMPETENCIES\' | translate}} :</div>\n<ng-container *ngFor="let competency of competencyList; let i = index; let last = last;">\n <ng-container *ngIf="competency.competency">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class="flex-between items-center w-full" collapsedHeight="auto"\n expandedHeight="auto">\n <mat-panel-description class="panel-header-description" (click)="$event.stopPropagation();">\n <ng-container *ngIf="competency.competency">\n <div class="flex flex-col">\n <div class="flex flex-row align-items-center gap-2">\n <div>\n <ng-container *ngIf="competency.completionPercentage == 100">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="competency.completionPercentage < 100">\n <mat-progress-spinner diameter="20" strokeWidth="2" mode="determinate"\n [value]="competency.completionPercentage"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class="competency-title">{{ competency.competency }}</div>\n </div>\n <div class="flex flex-row gap-3 mt-3">\n <ng-container *ngFor="let btn of assessBtnType">\n <ng-container *ngIf="btn.courseId == competency?.assessmentData?.contentId">\n <button\n *ngIf="btn.type === \'START\'"\n mat-button\n class="assess-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'ASSESS\' | translate}}\n </button>\n <button\n *ngIf="btn.type === \'RESUME\'"\n mat-button\n class="reassess-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'RE-ASSESS\' | translate}}\n </button>\n <button\n *ngIf="btn.type === \'DONE\'"\n mat-button\n disabled\n class="done-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'DONE\' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class="btn-long" i18n (click)="viewCourses(competency)">{{\'VIEW_COURSES\' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n \x3c!-- <lib-app-loader *ngIf="acordianLoading === true"></lib-app-loader> --\x3e\n <div class="expand-container">\n \x3c!-- list of levels --\x3e\n <div class="Levels-badge" i18n>{{\'LEVELS\' | translate}}</div>\n <ng-container *ngIf="competency.levelDescription !== \'\'; else manualLevel">\n <ng-container *ngFor="let level of competency.levelDescription; let i = index">\n <div class="flex flex-row gap-2">\n <div>\n <ng-container *ngIf="level.achived">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="!level.achived">\n <mat-icon class="non-progress cursor-pointer">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class="Levels-title"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor="let level of competency.levels; let i = index">\n <div class="flex flex-row align-items-center gap-2">\n <div>\n <ng-container *ngIf="level.achived">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="!level.achived">\n <mat-icon class="non-progress cursor-pointer">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class="Levels-title">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class="mt-3 mb-3" [ngClass]="{\'d-none\' : last}" />\n </ng-container>\n</ng-container>',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]})],e)}(),w=function(){function e(){}return e=f([t.NgModule({declarations:[v,I,C,D,S],imports:[l.CommonModule,d.MatTabsModule,d.MatIconModule,d.MatExpansionModule,d.MatProgressBarModule,d.MatProgressSpinnerModule,a.HttpClientModule,i.CoreModule,p.SelfAssessmentModule,g.TranslateModule],exports:[v,I,C,D]})],e)}();e.CompetencyDashboardComponent=C,e.CompetencyModule=w,e.GainedComptencyCardComponent=I,e.RequestUtil=b,e.RequiredComptencyCardComponent=v,e.ɵa=h,e.ɵb=x,e.ɵc=D,e.ɵd=S,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */var m=function(e,t){return(m=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function u(e,t){function n(){this.constructor=e}m(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function f(e,t,n,i){var o,a=arguments.length,r=a<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,n):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)r=Reflect.decorate(e,t,n,i);else for(var c=e.length-1;c>=0;c--)(o=e[c])&&(r=(a<3?o(r):a>3?o(t,n,r):o(t,n))||r);return a>3&&r&&Object.defineProperty(t,n,r),r}function y(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var i,o,a=n.call(e),r=[];try{for(;(void 0===t||t-- >0)&&!(i=a.next()).done;)r.push(i.value)}catch(e){o={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(o)throw o.error}}return r}function v(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(y(arguments[t]));return e}var h=function(){function e(){}return e.prototype.ngOnInit=function(){this.seletectedLang=this.language,this.position=this.role},e.prototype.ngOnDestroy=function(){},f([t.Input()],e.prototype,"language",void 0),f([t.Input()],e.prototype,"isMobileApp",void 0),f([t.Input()],e.prototype,"role",void 0),e=f([t.Component({selector:"lib-required-comptency-card",template:'<lib-self-assessment [language]="seletectedLang" [position]="position"></lib-self-assessment>',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]})],e)}(),b=function(e){function r(t,i){var o=e.call(this,t,i)||this;return o.configService=i,o.competencyData=new n.BehaviorSubject(void 0),o.competencyData$=o.competencyData.asObservable(),o}return u(r,e),r.prototype.fetchUserPassbook=function(e,t){var n=this.configService.getConfig(),o={url:n.isMobileApp?i.urlConfig.getUserPassbookMobile():i.urlConfig.getUserPassbook(),data:e,header:n.isMobileApp?{"x-authenticated-userid":t}:""};return this.post(o)},r.prototype.fetchAllEntity=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getAllEntityMobile():i.urlConfig.getAllEntity(),data:e};return this.post(t)},r.ctorParameters=function(){return[{type:o.HttpClient},{type:a.ConfigService}]},r.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new r(t.ɵɵinject(o.HttpClient),t.ɵɵinject(a.ConfigService))},token:r,providedIn:"root"}),r=f([t.Injectable({providedIn:"root"})],r)}(i.DataService),x=function(){function e(){var e=this;this.formatedActivities=function(e){if(!r.isEmpty(e))return e},this.formatedActivitityByPostion=function(t,n,i,o){var a=[],c=r.get(t,"activity");if(r.get(t,"roles"))return r.forEach(t.roles,(function(t){var s=r.values(t)[0],l=s.children,p=r.reduce(l,(function(t,a){var s=r.get(a,"id"),l=r.filter(c,(function(e){return r.has(e,s)})),p=r.flatMap(l,(function(t){var c=r.get(t,s+".children");return c.length>0||Object.keys(c).length>0?r.map(c,(function(t){return{title:"hi"==n?e.getHiName(a):r.get(a,"name"),cid:r.get(a,"id"),description:r.get(a,"description"),code:r.get(a.additionalProperties,"Code"),levels:e.getLevels(r.get(t,"id"),o,n),competency:"hi"==n?e.getHiName(a):r.get(t,"name"),id:r.get(t,"id"),lastLevel:e.getheighestLevel(r.get(t,"id"),o),completionPercentage:e.getCompeletionPercentage(r.get(t,"id"),o),levelDescription:r.get(t.additionalProperties,"competencyLevelDescription")?e.getLevelDescription(r.get(t.additionalProperties,"competencyLevelDescription"),o,r.get(t,"id"),n):"",assessmentData:e.setAssessmentData(r.get(t,"id"),i)}})):[{title:"hi"==n?e.getHiName(a):r.get(a,"name"),cid:r.get(a,"id"),description:r.get(a,"description"),code:r.get(a.additionalProperties,"Code")}]}));return r.some(p,"id")?t.concat(r.uniqBy(p,"id")&&r.uniqBy(p,"cid")):t.concat(r.uniqBy(p,"cid"))}),[]);a.push({roles:"hi"==n?e.getHiName(s):r.get(s,"name"),id:r.get(s,"id"),description:r.get(s,"description"),averagePercentage:e.getAveragepercentage(p),code:r.get(s.additionalProperties,"Code"),activities:p})})),a},this.formatedActivitityByRoleId=function(t,n,i,o,a){var c;if(t.length>0){var s=r.reduce(t,(function(t,s){var l=r.filter(i,(function(e){return r.has(e,r.get(s,"id"))}));return console.log("filteredData",l),l.length>0&&r.forEach(l,(function(t){var i=r.get(t,r.get(s,"id")+".children");c=e.formatedCompetency(i,o,n,a,r.get(s,"id"))})),t.push({title:"hi"==n?e.getHiName(s):r.get(s,"name"),cid:r.get(s,"id"),description:r.get(s,"description"),code:r.get(s.additionalProperties,"Code")}),v(t,c)}),[]);return r.sortBy(s,[function(e){return e.code}])}},this.formatedCompetency=function(t,n,i,o,a){var c=[];return t.length>0&&r.forEach(t,(function(t){c.push({levels:e.getLevels(r.get(t,"id"),n,i),competency:"hi"==i?e.getHiName(t):r.get(t,"name"),id:r.get(t,"id"),description:r.get(t,"description"),cid:a,lastLevel:e.getheighestLevel(r.get(t,"id"),n),completionPercentage:e.getCompeletionPercentage(r.get(t,"id"),n),code:r.get(t.additionalProperties,"Code"),levelDescription:r.get(t.additionalProperties,"competencyLevelDescription")?e.getLevelDescription(r.get(t.additionalProperties,"competencyLevelDescription"),n,r.get(t,"id"),i):"",assessmentData:e.setAssessmentData(r.get(t,"id"),o)})})),c=r.sortBy(c,[function(e){return e.code}]),r.uniqBy(c,"id")}}return e.prototype.getAveragepercentage=function(e){var t=e.length,n=[];return r.forEach(e,(function(e){n.push(e.completionPercentage)})),r.round(r.sum(n)/t)||0},e.prototype.getHiName=function(e){return r.get(e.additionalProperties,"lang-hi-name")?r.get(e.additionalProperties,"lang-hi-name"):r.get(e,"name")},e.prototype.getLevelDescription=function(e,t,n,i){var o=[];r.forEach(JSON.parse(e),(function(e){e&&o.push({levelId:r.get(e,"level"),name:"hi"==i?r.get(e,"lang-hi-name"):r.get(e,"name"),description:"hi"==i?r.get(e,"lang-hi-description"):r.get(e,"description"),"description-hi":r.get(e,"lang-hi-description"),achived:!1})}));var a=null;return r.forEach(t,(function(e){r.toNumber(e.competencyId)===n&&(a=r.uniq(e.levelsAchieve))})),r.forEach(o,(function(e){r.forEach(a,(function(t){t==e.levelId&&(e.achived=!0)}))})),o},e.prototype.getLevels=function(e,t,n){var i=[{name:"hi"==n?"स्तर 1":"Level 1",achived:!1,level:"1"},{name:"hi"==n?"स्तर 2":"Level 2",achived:!1,level:"2"},{name:"hi"==n?"स्तर 3":"Level 3",achived:!1,level:"3"},{name:"hi"==n?"स्तर 4":"Level 4",achived:!1,level:"4"},{name:"hi"==n?"स्तर 5":"Level 5",achived:!1,level:"5"}],o=null;return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(o=r.uniq(t.levelsAchieve))})),r.forEach(i,(function(e){r.forEach(o,(function(t){t==e.level&&(e.achived=!0)}))})),i},e.prototype.getheighestLevel=function(e,t){var n="";return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(n=t.levelId.competencyLevelId)})),n},e.prototype.getCompeletionPercentage=function(e,t){var n=0;return r.forEach(t,(function(t){r.toNumber(t.competencyId)===e&&(n=r.toNumber(t.levelId.competencyLevelId))})),n=100*n/5},e.prototype.setAssessmentData=function(e,t){var n;return r.forEach(t,(function(t){e==t.competencyID&&(n=t)})),n},e.prototype.formatedGainedCompetency=function(e,t,n){var i=this,o=[];return r.forEach(e,(function(a){var c=r.get(a,"id");r.forEach(t,(function(t){if(t.competencies.hasOwnProperty(c)){var a=t.competencies[c];o.push({title:"hi"==n?i.getHiTitle(c,e,a):r.get(a,"additionalParams.competencyName"),logs:i.acquiredPassbookLogs(r.get(a,"acquiredDetails"),n),proficiencyLevels:i.acauiredChannelColourCode(r.get(a,"acquiredDetails")),competencyStoreData:i.competencyStoreDataFomat(a),titleHi:i.getHiTitle(c,e,a)})}}))})),o},e.prototype.getHiTitle=function(e,t,n){var i;return r.forEach(t,(function(t){t.id==e&&(i=r.get(t.additionalProperties,"lang-hi-name")?r.get(t.additionalProperties,"lang-hi-name"):r.get(n,"additionalParams.competencyName"))})),i},e.prototype.acquiredPassbookLogs=function(e,t){var n=this,i=[];return e.length>0&&r.forEach(e,(function(e){i.push({header:r.get(e,"courseName")?r.get(e,"courseName"):"hi"==t?n.getHindiName(r.get(e,"acquiredChannel")):r.get(e,"acquiredChannel"),date:r.get(e,"createdDate"),description:r.get(e,"additionalParams.description"),keyboardArrowUp:!0,level:r.toNumber(r.get(e,"competencyLevelId"))})})),i},e.prototype.getHindiName=function(e){var t;switch(e){case"selfAssessment":t="आत्म मूल्यांकन";case"admin":t="व्यवस्थापक"}return t},e.prototype.acauiredChannelColourCode=function(e){var t=[{color:"#FFFBB0",displayLevel:1,selected:!1},{color:"#FFFBB0",displayLevel:2,selected:!1},{color:"#FFFBB0",displayLevel:3,selected:!1},{color:"#FFFBB0",displayLevel:4,selected:!1},{color:"#FFFBB0",displayLevel:5,selected:!1}];return r.forEach(e,(function(e){switch(r.get(e,"acquiredChannel")){case"course":case"Course":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#FFFBB0",t.selected=!0)}));break;case"selfAssessment":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#A4DFCA",t.selected=!0)}));break;case"admin":r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#7cb5e6",t.selected=!0)}));break;default:r.forEach(t,(function(t){t.displayLevel==r.get(e,"competencyLevelId")&&(t.color="#FFFBB0",t.selected=!1)}))}})),t},e.prototype.competencyStoreDataFomat=function(e){var t=[];return e.acquiredDetails&&r.forEach(e.acquiredDetails,(function(e){e.competencyLevelId&&t.push(e.competencyLevelId)})),{competencyId:e.competencyId,competencyName:e.additionalParams.competencyName,levelId:r.maxBy(e.acquiredDetails,"competencyLevelId"),levelsAchieve:t}},e.prototype.formatedCompetencyCourseData=function(e){var t=this,n=[];if(r.get(e,"result")){var i=r.get(e,"result.content");i&&r.forEach(i,(function(e){n.push({title:r.get(e,"name"),contentId:r.get(e,"identifier"),contentType:r.get(e,"contentType"),subTitle:r.get(e,"subTitle"),description:r.get(e,"description"),creator:r.get(e,"creator"),duration:r.get(e,"duration"),batchId:t.getBatchData(e),childContent:r.get(e,"childNodes").length,competencyID:t.getCompetencyData(e.competencies_v1)})}))}return n},e.prototype.getCompetencyData=function(e){if(e)return JSON.parse(e)[0].competencyId},e.prototype.getBatchData=function(e){var t="";return e.batches&&r.forEach(e.batches,(function(e){t=r.get(e,"batchId")})),t},e}(),I=function(e){function n(t,n){var i=e.call(this,t,n)||this;return i.configService=n,i}return u(n,e),n.prototype.getActivityById=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getEntityByIdMobile(e.id):i.urlConfig.getEntityById(e.id),data:e};return this.post(t)},n.prototype.getUserdetailsFromRegistry=function(e){var t={url:this.configService.getConfig().isMobileApp?i.urlConfig.getUserdetailsMobile(e.id):i.urlConfig.getUserdetailsFromRegistry(e.id)};return this.get(t).pipe(c.map((function(e){return e.result.response})))},n.prototype.getRolesMapping=function(){var e={url:i.urlConfig.getRoleMapping()};return this.getwithouTAuthorization(e)},n.prototype.getRolesWiseCompetency=function(){var e={url:i.urlConfig.getRoleWiseCompetency()};return this.getwithouTAuthorization(e)},n.prototype.getCompetencyCourseIdentifier=function(e){var t={request:{filters:{primaryCategory:["Course"],contentType:["Course"],status:["Live"],competency:[!0],lang:"hi"==e?"hi":"en"}},sort:[{lastUpdatedOn:"desc"}]},n={url:this.configService.getConfig().isMobileApp?i.urlConfig.getSearchMobile():i.urlConfig.getSearch(),data:t};return this.post(n)},n.ctorParameters=function(){return[{type:o.HttpClient},{type:a.ConfigService}]},n.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new n(t.ɵɵinject(o.HttpClient),t.ɵɵinject(a.ConfigService))},token:n,providedIn:"root"}),n=f([t.Injectable({providedIn:"root"})],n)}(i.DataService),D=function(){function e(e,t,n){this.gainedService=e,this.configService=t,this.activeSummaryService=n,this.loading=!1,this.panelOpenState=!1,this.selectedProficiencyIndex=-1,this.selectedDisplayLevel=-1,this.requestUtil=new x}return e.prototype.ngOnInit=function(){var e=this;this.language||this.getUserDetails().subscribe((function(t){e.language=t.profileDetails.preferences?t.profileDetails.preferences.language:"en"})),this.loading=!0;var t=this.getAllEntity(),i=this.getAllUserPassbook();n.forkJoin([t,i]).subscribe((function(t){var n=e.requestUtil.formatedGainedCompetency(t[0].result.response,t[1].result.content,e.language);if(e.gainedproficencyData=n,e.gainedproficencyData){var i=[];r.forEach(e.gainedproficencyData,(function(e){e.competencyStoreData&&i.push(e.competencyStoreData)})),e.gainedService.competencyData.next(i)}e.loading=!1}))},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.getAllUserPassbook=function(){var e=this.configService.getConfig().id;return this.gainedService.fetchUserPassbook({request:{typeName:"competency"}},e)},e.prototype.getAllEntity=function(){return this.gainedService.fetchAllEntity({search:{type:"Competency"}})},e.prototype.selectLevel=function(e,t){e!==this.selectedProficiencyIndex||-1!==t&&t!==this.selectedDisplayLevel?this.selectedProficiencyIndex=e:this.selectedProficiencyIndex=-1,this.selectedDisplayLevel=t},e.ctorParameters=function(){return[{type:b},{type:a.ConfigService},{type:I}]},f([t.Input()],e.prototype,"language",void 0),e=f([t.Component({selector:"lib-gained-comptency-card",template:'<lib-app-loader *ngIf="loading === true"></lib-app-loader>\n<ng-container *ngFor="let proficency of gainedproficencyData; let i = index">\n <div class="card-container example-container container-balanced">\n <ng-container *ngIf="proficency?.title">\n <div class="title">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class="levelsTitle" i18n>{{\'LEVELS\' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]="i === selectedProficiencyIndex"\n class="w-full panel"\n hideToggle\n >\n <mat-expansion-panel-header\n class="flex-between items-center panel-header w-full"\n >\n <mat-panel-description class="panel-header-description">\n <ng-container\n *ngFor="let proficiencyLevel of proficency?.proficiencyLevels"\n >\n <ng-container *ngIf="proficiencyLevel.selected; else addLevel">\n <div\n (click)="\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n "\n class="level mb-1"\n [ngStyle]="{ \'background-color\': proficiencyLevel.color }"\n [ngClass]="{\n \'individual-select\':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)="$event.stopPropagation()" class="level mb-1">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class="level mb-1"\n (click)="$event.stopPropagation(); selectLevel(i, -1)"\n >\n <mat-icon\n [ngClass]="{ arrowReverse: selectedProficiencyIndex === i }"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class="log-header" i18n>{{\'LOG\' | translate}}</span>\n <ng-container\n *ngFor="let log of proficency?.logs; let logIndex = index; let last = last; "\n >\n <ng-container\n *ngIf="\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n "\n >\n <div class="log" [ngClass]="{\'border-bottom-0\': last}">\n <div class="flex">\n <ng-container *ngIf="log.header">\n <span class=""\n i18n>{{\'LEVEL\' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class="log-date mr-2">{{\n log?.date | date : "dd/MM/yyyy"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf="log.description">\n <div\n class="mt-2"\n [ngClass]="{ \'hide-content\': !log.keyboardArrowUp }"\n >\n {{ log.description }}\n </div>\n <div class="justify-end">\n <mat-icon\n (click)="log.keyboardArrowUp = !log.keyboardArrowUp"\n class="mr-3"\n [ngClass]="{ arrowReverse: log.keyboardArrowUp }"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n \x3c!-- <hr> --\x3e\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]})],e)}(),C=function(){function e(e,n,i){this.router=e,this.configService=n,this.activeSummaryService=i,this.stateChange=new t.EventEmitter,this.tabIndex=1}return e.prototype.ngOnInit=function(){var e=this;this.tabIndex=1,this.isMobileApp=this.configService.getConfig().isMobileApp,this.role=this.configService.getConfig().profileData[0].designation,this.language=this.configService.getConfig().language,this.getUserDetails().subscribe((function(t){e.language=e.configService.getConfig().language==t.profileDetails.preferences.language?e.configService.getConfig().language:t.profileDetails.preferences.language,e.role=e.configService.getConfig().profileData[0].designation==t.profileDetails.profileReq.professionalDetails[0].designation?e.configService.getConfig().profileData[0].designation:t.profileDetails.profileReq.professionalDetails[0].designation}))},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.navigateBack=function(){this.router.navigate(["/page/home"])},e.prototype.changeTab=function(e){this.tabIndex=e.index},e.prototype.startSelfAssessment=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:s.Router},{type:a.ConfigService},{type:I}]},f([t.Output()],e.prototype,"stateChange",void 0),e=f([t.Component({selector:"lib-competency-dashboard",template:'<div [ngClass]="isMobileApp ? \'content-mobile\' : \'content\'">\n <mat-icon (click)="navigateBack()" class="cursor-pointer mb-3"\n >chevron_left</mat-icon\n >\n\n <h1 class="pl-2 mb-0" i18n>{{\'COMPETENCY_DASHBOARD\' | translate}}</h1>\n\n <div class="pl-2 tab-container">\n <mat-tab-group\n [ngClass]="{ \'header-width-icon\': tabIndex === 1 }"\n class="remove-border-bottom"\n animationDuration="0ms"\n [selectedIndex]="tabIndex"\n (selectedTabChange)="changeTab($event)"\n >\n \x3c!-- Active Summary as Job Description --\x3e\n <mat-tab i18n-label label="{{\'JOB_DESCRIPTION\' | translate}}">\n <h4 class="mt-4 mb-1" i18n>{{\'ROLES\' | translate}}</h4>\n <lib-active-summary [language]="language" [isMobileApp]="isMobileApp" [desigination]="role" *ngIf="tabIndex === 0"></lib-active-summary>\n </mat-tab>\n\n \x3c!-- gained as Passbook --\x3e\n <mat-tab i18n-label label="{{\'PASSBOOK\' | translate}}">\n <div class="legend-container">\n <div class="legend legend-blue"></div>\n <h5 class="mb-0" i18n>{{\'EXTERNAL\' | translate}}</h5>\n <div class="legend legend-green"></div>\n <h5 class="mb-0" i18n>{{\'SELF\' | translate}}</h5>\n <div class="legend legend-yellow"></div>\n <h5 class="mb-0" i18n>{{\'CRS_TRK_FRMELEMNTS_LBL_TRAINING\' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]="language"\n *ngIf="tabIndex === 1"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n \x3c!-- required --\x3e\n <mat-tab i18n-label label="{{\'REQUIRED\' | translate}}">\n <div class="required-comperencies">\n <div class="mt-2 tab-badge" i18n>{{\'SELF_ASSESSMENTS\' | translate}}</div>\n <lib-required-comptency-card\n [language]="language"\n [role]="role"\n *ngIf="tabIndex === 2"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]})],e)}(),S=function(){function e(e,t,n,i){this.activeSummaryService=e,this.configService=t,this.gainedService=n,this.selfAssessmentService=i,this.panelOpenState=!0,this.loading=!1,this.acordianLoading=!1,this.btnType=[],this.requestUtil=new x}return e.prototype.ngOnInit=function(){var e=this;this.designationMap(this.desigination),this.getProgress(),this.loading=!0,this.getUserDetails().pipe(c.mergeMap((function(t){if(e.profileData=t.profileDetails.profileReq,e.language||(e.language=t.profileDetails.preferences?t.profileDetails.preferences.language:"en"),e.desigination||(e.desigination=t.profileDetails.profileReq.professionalDetails[0].designation,e.designationMap(e.desigination)),e.profileData){var i=e.getRolesWiseCompetencyData(),o=e.getCompetencyCourse();return n.forkJoin([i,o])}}))).subscribe((function(t){console.log(t);var n=r.find(t[0].response,{position:e.desigination});console.log(n),e.assessmentData=e.requestUtil.formatedCompetencyCourseData(t[1]),e.getAssessmentBtnType(e.assessmentData);var i=e.requestUtil.formatedActivitityByPostion(n,e.language,e.assessmentData,e.competencyProgress);e.roleactivitySummaries=i,e.loading=!1,console.log("data after the activity",e.roleactivitySummaries)})),console.log("data after the activity",this.roleactivitySummaries)},e.prototype.getProgress=function(){var e=this;this.gainedService.competencyData$.subscribe((function(t){e.competencyProgress=t}))},e.prototype.getAssessmentBtnType=function(e){var t=this;r.forEach(e,(function(e){t.getAssessmentProgress(e).subscribe((function(n){if(n.result&&n.result.contentList.length>0)if(n.result.contentList.length>0&&e.childContent===n.result.contentList.length){var i="";r.forEach(n.result.contentList,(function(e){i=100===e.completionPercentage&&0!==e.completionPercentage?"DONE":"RESUME"})),t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:i})}else t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:"RESUME"});0==n.result.contentList.length&&t.btnType.push({competencyId:e.competencyID,courseId:e.contentId,type:"START"})}))}))},e.prototype.getAssessmentProgress=function(e){var t={request:{userId:this.configService.getConfig().id,batchId:e.batchId,courseId:e.contentId,contentIds:[],fields:["progressdetails"]}};return this.selfAssessmentService.fetchPrgressDetails(t)},e.prototype.getUserDetails=function(){var e={id:this.configService.getConfig().id};return this.activeSummaryService.getUserdetailsFromRegistry(e)},e.prototype.getRolesWiseCompetencyData=function(){return this.profileData.professionalDetails&&this.profileData.professionalDetails[0].designation,this.activeSummaryService.getRolesWiseCompetency()},e.prototype.getActivityByRole=function(e){this.profileData.professionalDetails&&this.profileData.professionalDetails[0].designation;var t={filter:{isDetail:!0},id:e};return this.activeSummaryService.getActivityById(t)},e.prototype.designationMap=function(e){var t,n=this;this.activeSummaryService.getRolesMapping().pipe().subscribe((function(i){return console.log(i),(t=i.response).hasOwnProperty(e)?(n.roleId=t[e],n.roleId):(n.roleId=1,1)}),(function(i){return console.log("error",i),(t=i).hasOwnProperty(e)?(n.roleId=t[e],n.roleId):(n.roleId=1,1)}))},e.prototype.getActivityByRoleId=function(e){var t=this;this.acordianLoading=!0;var i=r.findIndex(this.roleactivitySummaries,{id:e});this.roleactivitySummaries[i].activities=[],this.getEntityById(e).pipe(c.mergeMap((function(e){var o=t.requestUtil.formatedActivitityByRoleId(e,t.language);t.roleactivitySummaries[i].activities=o;var a=r.map(t.roleactivitySummaries[i].activities,"cid"),c=[];return r.forEach(a,(function(e){c.push(t.getEntityById(e))})),t.acordianLoading=!1,n.forkJoin(v(c))}))).subscribe((function(e){var n=t.requestUtil.formatedCompetency(e,t.competencyProgress,t.language,t.assessmentData);t.roleactivitySummaries[i].activities=r.values(r.merge(r.keyBy(n,"id"),r.keyBy(t.roleactivitySummaries[i].activities,"cid"))),t.roleactivitySummaries[i].averagePercentage=[];var o=t.getAveragepercentage(n);t.roleactivitySummaries[i].averagePercentage=o,t.loading=!1}))},e.prototype.getEntityById=function(e){var t={filter:{isDetail:!0},id:e};return this.activeSummaryService.getActivityById(t)},e.prototype.getAveragepercentage=function(e){var t=e.length,n=[];return r.forEach(e,(function(e){n.push(e.completionPercentage)})),r.round(r.sum(n)/t)},e.prototype.getCompetencyCourse=function(){return this.activeSummaryService.getCompetencyCourseIdentifier(this.language)},e.prototype.ngOnDestroy=function(){this.unsubscribe&&this.unsubscribe.unsubscribe()},e.ctorParameters=function(){return[{type:I},{type:a.ConfigService},{type:b},{type:p.SelfAssessmentService}]},f([t.Input()],e.prototype,"language",void 0),f([t.Input()],e.prototype,"isMobileApp",void 0),f([t.Input()],e.prototype,"desigination",void 0),e=f([t.Component({selector:"lib-active-summary",template:'<lib-app-loader *ngIf="loading === true"></lib-app-loader>\n<ng-container *ngFor="let role of roleactivitySummaries">\n <div class="activity-card-container">\n <mat-accordion>\n <mat-expansion-panel\n class=""\n (opened)="panelOpenState = true"\n (closed)="panelOpenState = false"\n >\n <mat-expansion-panel-header\n id="activity-header"\n class="flex-between items-center w-full"\n collapsedHeight="auto"\n expandedHeight="auto"\n >\n\n <mat-panel-description class="panel-header-description">\n <ng-container *ngIf="role?.roles">\n <div class="flex flex-column w-full">\n <div class="role-title">{{ role?.roles }}</div>\n <div class="progress-status-none" *ngIf="role?.averagePercentage == 0"></div>\n <div class="progress-status" *ngIf="role?.averagePercentage < 100 && role?.averagePercentage != 0" i18n>{{\'IN_PROGRESS\' | translate }}</div>\n <div class="progress-status" *ngIf="role?.averagePercentage == 100" i18n>{{\'COMPLETED\' | translate}}</div>\n <ng-container >\n <div [ngClass]="{\'green-bar\': role?.averagePercentage == 100 , \'warn-bar\': role?.averagePercentage < 100 && role?.averagePercentage != 0 }">\n <mat-progress-bar mode="determinate" value={{role?.averagePercentage}} class="mt-1"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf="acordianLoading === true"></lib-app-loader>\n <div class="expand-container" *ngIf="roleactivitySummaries.length>0">\n \x3c!-- list of activity --\x3e\n <div class="activity-badge" i18n>{{\'ACTIVITIES\' | translate}}</div>\n <ng-container\n *ngFor="let activity of role?.activities; let i = index"\n >\n <div class="activity-title" *ngIf="activity.title">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf="role?.activities">\n <lib-competency-accordion [competencyList]="role?.activities" [assessmentData]="assessmentData" [assessBtnType]="btnType"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n',encapsulation:t.ViewEncapsulation.None,styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]})],e)}(),w=function(){function e(e){this.router=e}return e.prototype.ngOnInit=function(){console.log("list",this.competencyList)},e.prototype.viewCourses=function(e){if(e){var t=e.id?e.id:e.assessmentData.competencyID;this.router.navigate(["/app/search"],{queryParams:{q:[t+"-1",t+"-2",t+"-3",t+"-4",t+"-5"],competency:!0,redirect:"app/user/competency"},queryParamsHandling:"merge"})}},e.prototype.startSelfAssesment=function(e){this.router.navigate(["app/user/self-assessment"],{queryParams:e})},e.ctorParameters=function(){return[{type:s.Router}]},f([t.Input()],e.prototype,"competencyList",void 0),f([t.Input()],e.prototype,"assessmentData",void 0),f([t.Input()],e.prototype,"assessBtnType",void 0),e=f([t.Component({selector:"lib-competency-accordion",template:'<div class="competency-badge" i18n>{{\'COMPETENCIES\' | translate}} :</div>\n<ng-container *ngFor="let competency of competencyList; let i = index; let last = last;">\n <ng-container *ngIf="competency.competency">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class="flex-between items-center w-full" collapsedHeight="auto"\n expandedHeight="auto">\n <mat-panel-description class="panel-header-description" (click)="$event.stopPropagation();">\n <ng-container *ngIf="competency.competency">\n <div class="flex flex-col">\n <div class="flex flex-row align-items-center gap-2">\n <div>\n <ng-container *ngIf="competency.completionPercentage == 100">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="competency.completionPercentage < 100">\n <mat-progress-spinner diameter="20" strokeWidth="2" mode="determinate"\n [value]="competency.completionPercentage"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class="competency-title">{{ competency.competency }}</div>\n </div>\n <div class="flex flex-row gap-3 mt-3">\n <ng-container *ngFor="let btn of assessBtnType">\n <ng-container *ngIf="btn.courseId == competency?.assessmentData?.contentId">\n <button\n *ngIf="btn.type === \'START\'"\n mat-button\n class="assess-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'ASSESS\' | translate}}\n </button>\n <button\n *ngIf="btn.type === \'RESUME\'"\n mat-button\n class="reassess-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'RE-ASSESS\' | translate}}\n </button>\n <button\n *ngIf="btn.type === \'DONE\'"\n mat-button\n disabled\n class="done-btn btn-small"\n (click)="startSelfAssesment(competency.assessmentData)"\n i18n\n >\n {{\'DONE\' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class="btn-long" i18n (click)="viewCourses(competency)">{{\'VIEW_COURSES\' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n \x3c!-- <lib-app-loader *ngIf="acordianLoading === true"></lib-app-loader> --\x3e\n <div class="expand-container">\n \x3c!-- list of levels --\x3e\n <div class="Levels-badge" i18n>{{\'LEVELS\' | translate}}</div>\n <ng-container *ngIf="competency.levelDescription !== \'\'; else manualLevel">\n <ng-container *ngFor="let level of competency.levelDescription; let i = index">\n <div class="flex flex-row gap-2">\n <div>\n <ng-container *ngIf="level.achived">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="!level.achived">\n <mat-icon class="non-progress cursor-pointer">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class="Levels-title"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor="let level of competency.levels; let i = index">\n <div class="flex flex-row align-items-center gap-2">\n <div>\n <ng-container *ngIf="level.achived">\n <mat-icon class="circle-tick cursor-pointer">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf="!level.achived">\n <mat-icon class="non-progress cursor-pointer">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class="Levels-title">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class="mt-3 mb-3" [ngClass]="{\'d-none\' : last}" />\n </ng-container>\n</ng-container>',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]})],e)}(),k=function(){function e(){}return e=f([t.NgModule({declarations:[h,D,C,S,w],imports:[l.CommonModule,d.MatTabsModule,d.MatIconModule,d.MatExpansionModule,d.MatProgressBarModule,d.MatProgressSpinnerModule,o.HttpClientModule,i.CoreModule,p.SelfAssessmentModule,g.TranslateModule],exports:[h,D,C,S]})],e)}();e.CompetencyDashboardComponent=C,e.CompetencyModule=k,e.GainedComptencyCardComponent=D,e.RequestUtil=x,e.RequiredComptencyCardComponent=h,e.ɵa=b,e.ɵb=I,e.ɵc=S,e.ɵd=w,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-competency.umd.min.js.map |
@@ -226,3 +226,3 @@ (function (global, factory) { | ||
var ɵ0 = function () { return "" + urlConfig.host + urlConfig.apiSlug; }, ɵ1 = function () { return "" + urlConfig.host + urlConfig.apiProxy; }, ɵ2 = function () { return "" + urlConfig.host + urlConfig.apiPublic; }, ɵ3 = function (id) { return urlConfig.apiBasePath() + "/entityCompetency/getEntityById/" + id; }, ɵ4 = function () { return urlConfig.apiBasePath() + "/entityCompetency/getAllEntity"; }, ɵ5 = function () { return urlConfig.apiBaseProxy() + "/user/v1/passbook"; }, ɵ6 = function () { return urlConfig.apiBasePublic() + "/publicSearch/getCourses"; }, ɵ7 = function (identifier, hierarchyType) { return urlConfig.apiBaseProxy() + "/action/content/v3/hierarchy/" + identifier + "?hierarchyType=" + hierarchyType; }, ɵ8 = function (wid) { return urlConfig.apiBaseProxy() + "/api/user/v2/read/" + wid; }, ɵ9 = function (id) { return urlConfig.apiBaseProxy() + "/read/content-progres/" + id; }, ɵ10 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/mobileApp/getAllEntity"; }, ɵ11 = function () { return urlConfig.mobileHost + "/api/user/v1/passbook"; }, ɵ12 = function (wid) { return urlConfig.mobileHost + "/api/user/v2/read/" + wid; }, ɵ13 = function (id) { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/mobileApp/getEntityById/" + id; }, ɵ14 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/publicSearch/getCourses"; }, ɵ15 = function () { return urlConfig.mobileHost + "/api/course/v1/content/state/read"; }; | ||
var ɵ0 = function () { return "" + urlConfig.host + urlConfig.apiSlug; }, ɵ1 = function () { return "" + urlConfig.host + urlConfig.apiProxy; }, ɵ2 = function () { return "" + urlConfig.host + urlConfig.apiPublic; }, ɵ3 = function (id) { return urlConfig.apiBasePath() + "/entityCompetency/getEntityById/" + id; }, ɵ4 = function () { return urlConfig.apiBasePath() + "/entityCompetency/getAllEntity"; }, ɵ5 = function () { return urlConfig.apiBaseProxy() + "/user/v1/passbook"; }, ɵ6 = function () { return urlConfig.apiBasePublic() + "/publicSearch/getCourses"; }, ɵ7 = function (identifier, hierarchyType) { return urlConfig.apiBaseProxy() + "/action/content/v3/hierarchy/" + identifier + "?hierarchyType=" + hierarchyType; }, ɵ8 = function (wid) { return urlConfig.apiBaseProxy() + "/api/user/v2/read/" + wid; }, ɵ9 = function (id) { return urlConfig.apiBaseProxy() + "/read/content-progres/" + id; }, ɵ10 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/mobileApp/getAllEntity"; }, ɵ11 = function () { return urlConfig.mobileHost + "/api/user/v1/passbook"; }, ɵ12 = function (wid) { return urlConfig.mobileHost + "/api/user/v2/read/" + wid; }, ɵ13 = function (id) { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/mobileApp/getEntityById/" + id; }, ɵ14 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/publicSearch/getCourses"; }, ɵ15 = function () { return urlConfig.mobileHost + "/api/course/v1/content/state/read"; }, ɵ16 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/competencyAssets/rolesMappingData"; }, ɵ17 = function () { return "" + urlConfig.mobileHost + urlConfig.apiPublic + "/competencyAssets/roleWiseCompetencyData"; }; | ||
/** | ||
@@ -255,2 +255,4 @@ * urlConfig to return the api url | ||
getContentProgressMobile: ɵ15, | ||
getRoleMapping: ɵ16, | ||
getRoleWiseCompetency: ɵ17 | ||
}; | ||
@@ -288,2 +290,19 @@ | ||
}; | ||
DataService.prototype.getwithouTAuthorization = function (requestParam) { | ||
var config = this.configService.getConfig(); | ||
var httpOptions = { | ||
headers: this.getHeader(), | ||
params: requestParam.param, | ||
observe: 'response' | ||
}; | ||
return this.http.get(requestParam.url, httpOptions).pipe(operators.mergeMap(function (_a) { | ||
var body = _a.body, headers = _a.headers; | ||
if (body.status === 200) { | ||
return rxjs.of(body); | ||
} | ||
else { | ||
return rxjs.throwError(body); | ||
} | ||
})); | ||
}; | ||
/** | ||
@@ -435,2 +454,4 @@ * for making get api calls | ||
exports.ɵ15 = ɵ15; | ||
exports.ɵ16 = ɵ16; | ||
exports.ɵ17 = ɵ17; | ||
exports.ɵ2 = ɵ2; | ||
@@ -437,0 +458,0 @@ exports.ɵ3 = ɵ3; |
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common/http"),require("rxjs/operators"),require("rxjs"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("@angular/common"),require("lodash")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/core",["exports","@angular/core","@angular/common/http","rxjs/operators","rxjs","@aastrika_npmjs/comptency/entry-module","lodash-es","@angular/common","lodash"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.core={}),e.ng.core,e.ng.common.http,e.rxjs.operators,e.rxjs,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.ng.common,e.lodash)}(this,(function(e,t,r,n,o,a,i,s,p){"use strict"; | ||
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/common/http"),require("rxjs/operators"),require("rxjs"),require("@aastrika_npmjs/comptency/entry-module"),require("lodash-es"),require("@angular/common"),require("lodash")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/core",["exports","@angular/core","@angular/common/http","rxjs/operators","rxjs","@aastrika_npmjs/comptency/entry-module","lodash-es","@angular/common","lodash"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency.core={}),e.ng.core,e.ng.common.http,e.rxjs.operators,e.rxjs,e.aastrika_npmjs.comptency["entry-module"],e.lodashEs,e.ng.common,e.lodash)}(this,(function(e,t,r,o,n,i,a,s,p){"use strict"; | ||
/*! ***************************************************************************** | ||
@@ -15,3 +15,3 @@ Copyright (c) Microsoft Corporation. | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */var c=function(){return(c=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function u(e,t,r,n){var o,a=arguments.length,i=a<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,r,n);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(i=(a<3?o(i):a>3?o(t,r,i):o(t,r))||i);return a>3&&i&&Object.defineProperty(t,r,i),i}var l=function(){return""+I.host+I.apiSlug},d=function(){return""+I.host+I.apiProxy},g=function(){return""+I.host+I.apiPublic},f=function(e){return I.apiBasePath()+"/entityCompetency/getEntityById/"+e},h=function(){return I.apiBasePath()+"/entityCompetency/getAllEntity"},m=function(){return I.apiBaseProxy()+"/user/v1/passbook"},y=function(){return I.apiBasePublic()+"/publicSearch/getCourses"},b=function(e,t){return I.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},v=function(e){return I.apiBaseProxy()+"/api/user/v2/read/"+e},x=function(e){return I.apiBaseProxy()+"/read/content-progres/"+e},j=function(){return""+I.mobileHost+I.apiPublic+"/mobileApp/getAllEntity"},k=function(){return I.mobileHost+"/api/user/v1/passbook"},P=function(e){return I.mobileHost+"/api/user/v2/read/"+e},C=function(e){return""+I.mobileHost+I.apiPublic+"/mobileApp/getEntityById/"+e},M=function(){return""+I.mobileHost+I.apiPublic+"/publicSearch/getCourses"},w=function(){return I.mobileHost+"/api/course/v1/content/state/read"},I={host:window.location.protocol+"//"+window.location.host||"https://sphere.aastrika.org",mobileHost:"https://sphere.aastrika.org",apiSlug:"/apis/protected/v8",apiProxy:"/apis/proxies/v8",apiPublic:"/apis/public/v8",apiBasePath:l,apiBaseProxy:d,apiBasePublic:g,getEntityById:f,getAllEntity:h,getUserPassbook:m,getSearch:y,getHierachyDetails:b,getUserdetailsFromRegistry:v,getContentProgress:x,getAllEntityMobile:j,getUserPassbookMobile:k,getUserdetailsMobile:P,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:w},H=function(){function e(e,t){this.configService=t,this.http=e}return e.prototype.get=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session):e.header?e.header:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,r).pipe(n.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?o.throwError(t):o.of(t)})))},e.prototype.post=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session,e.header?e.header:""):e.header?e.header:this.getHeader(),params:e.param};return this.http.post(e.url,e.data,r).pipe(n.mergeMap((function(e){return 200===e.responseCode||"OK"===e.responseCode?o.of(e):o.throwError(e)})))},e.prototype.getHeader=function(e){var t={Accept:"application/json"};return e?c({},t,e):c({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas","X-authenticated-user-token":e?e.access_token:""};return t?c({},r,t):c({},r)},e.ctorParameters=function(){return[{type:r.HttpClient},{type:a.ConfigService}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.HttpClient),t.ɵɵinject(a.ConfigService))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"})],e)}(),B=function(){function e(){}return e.prototype.ngOnInit=function(){this.headerMessage="Please wait",this.loaderMessage="We are fetching details",this.data&&(this.headerMessage=i.get(this.data,"headerMessage")||this.headerMessage,this.loaderMessage=i.get(this.data,"loaderMessage")||this.loaderMessage)},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-app-loader",template:'<ng-container>\n <div class="loader-content">\n <p class="loader"></p>\n </div>\n</ng-container>\n ',styles:[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]})],e)}(),O=function(){function e(){}return e.prototype.ngOnInit=function(){this.setMessage()},e.prototype.setMessage=function(){this.message=p.get(this.data,"message")?p.get(this.data,"message"):" No result found"},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-no-result",template:'<div class="no-data-container" >\n <ng-container >\n <div class="no-data-text">{{message}}</div>\n </ng-container>\n</div>\n',styles:[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:24px;font-weight:900;color:#848886b3}"]})],e)}(),S=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[B,O],exports:[B,O],providers:[H]})],e)}();e.AppLoaderComponent=B,e.CoreModule=S,e.DataService=H,e.urlConfig=I,e.ɵ0=l,e.ɵ1=d,e.ɵ10=j,e.ɵ11=k,e.ɵ12=P,e.ɵ13=C,e.ɵ14=M,e.ɵ15=w,e.ɵ2=g,e.ɵ3=f,e.ɵ4=h,e.ɵ5=m,e.ɵ6=y,e.ɵ7=b,e.ɵ8=v,e.ɵ9=x,e.ɵa=O,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */var c=function(){return(c=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};function u(e,t,r,o){var n,i=arguments.length,a=i<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,r):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,r,o);else for(var s=e.length-1;s>=0;s--)(n=e[s])&&(a=(i<3?n(a):i>3?n(t,r,a):n(t,r))||a);return i>3&&a&&Object.defineProperty(t,r,a),a}var l=function(){return""+B.host+B.apiSlug},d=function(){return""+B.host+B.apiProxy},g=function(){return""+B.host+B.apiPublic},f=function(e){return B.apiBasePath()+"/entityCompetency/getEntityById/"+e},h=function(){return B.apiBasePath()+"/entityCompetency/getAllEntity"},m=function(){return B.apiBaseProxy()+"/user/v1/passbook"},y=function(){return B.apiBasePublic()+"/publicSearch/getCourses"},b=function(e,t){return B.apiBaseProxy()+"/action/content/v3/hierarchy/"+e+"?hierarchyType="+t},v=function(e){return B.apiBaseProxy()+"/api/user/v2/read/"+e},x=function(e){return B.apiBaseProxy()+"/read/content-progres/"+e},j=function(){return""+B.mobileHost+B.apiPublic+"/mobileApp/getAllEntity"},k=function(){return B.mobileHost+"/api/user/v1/passbook"},P=function(e){return B.mobileHost+"/api/user/v2/read/"+e},C=function(e){return""+B.mobileHost+B.apiPublic+"/mobileApp/getEntityById/"+e},M=function(){return""+B.mobileHost+B.apiPublic+"/publicSearch/getCourses"},w=function(){return B.mobileHost+"/api/course/v1/content/state/read"},H=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/rolesMappingData"},I=function(){return""+B.mobileHost+B.apiPublic+"/competencyAssets/roleWiseCompetencyData"},B={host:window.location.protocol+"//"+window.location.host||"https://sphere.aastrika.org",mobileHost:"https://sphere.aastrika.org",apiSlug:"/apis/protected/v8",apiProxy:"/apis/proxies/v8",apiPublic:"/apis/public/v8",apiBasePath:l,apiBaseProxy:d,apiBasePublic:g,getEntityById:f,getAllEntity:h,getUserPassbook:m,getSearch:y,getHierachyDetails:b,getUserdetailsFromRegistry:v,getContentProgress:x,getAllEntityMobile:j,getUserPassbookMobile:k,getUserdetailsMobile:P,getEntityByIdMobile:C,getSearchMobile:M,getContentProgressMobile:w,getRoleMapping:H,getRoleWiseCompetency:I},O=function(){function e(e,t){this.configService=t,this.http=e}return e.prototype.get=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session):e.header?e.header:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,r).pipe(o.mergeMap((function(e){var t=e.body;e.headers;return"OK"!==t.responseCode?n.throwError(t):n.of(t)})))},e.prototype.getwithouTAuthorization=function(e){this.configService.getConfig();var t={headers:this.getHeader(),params:e.param,observe:"response"};return this.http.get(e.url,t).pipe(o.mergeMap((function(e){var t=e.body;e.headers;return 200===t.status?n.of(t):n.throwError(t)})))},e.prototype.post=function(e){var t=this.configService.getConfig(),r={headers:t.session?this.setHeader(t.session,e.header?e.header:""):e.header?e.header:this.getHeader(),params:e.param};return this.http.post(e.url,e.data,r).pipe(o.mergeMap((function(e){return 200===e.responseCode||"OK"===e.responseCode?n.of(e):n.throwError(e)})))},e.prototype.getHeader=function(e){var t={Accept:"application/json"};return e?c({},t,e):c({},t)},e.prototype.setHeader=function(e,t){var r={Authorization:"Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJTNHNNVFdjZUZqYkxUWGxiczkzUzk4dmFtODBhdkRPUiJ9.nPOCY0-bVX28iNcxxnYbGpihY3ZzfNwx0-SFCnJwjas","X-authenticated-user-token":e?e.access_token:""};return t?c({},r,t):c({},r)},e.ctorParameters=function(){return[{type:r.HttpClient},{type:i.ConfigService}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject(r.HttpClient),t.ɵɵinject(i.ConfigService))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"})],e)}(),S=function(){function e(){}return e.prototype.ngOnInit=function(){this.headerMessage="Please wait",this.loaderMessage="We are fetching details",this.data&&(this.headerMessage=a.get(this.data,"headerMessage")||this.headerMessage,this.loaderMessage=a.get(this.data,"loaderMessage")||this.loaderMessage)},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-app-loader",template:'<ng-container>\n <div class="loader-content">\n <p class="loader"></p>\n </div>\n</ng-container>\n ',styles:[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]})],e)}(),A=function(){function e(){}return e.prototype.ngOnInit=function(){this.setMessage()},e.prototype.setMessage=function(){this.message=p.get(this.data,"message")?p.get(this.data,"message"):" No result found"},u([t.Input()],e.prototype,"data",void 0),e=u([t.Component({selector:"lib-no-result",template:'<div class="no-data-container" >\n <ng-container >\n <div class="no-data-text">{{message}}</div>\n </ng-container>\n</div>\n',styles:[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:24px;font-weight:900;color:#848886b3}"]})],e)}(),E=function(){function e(){}return e=u([t.NgModule({imports:[s.CommonModule,r.HttpClientModule],declarations:[S,A],exports:[S,A],providers:[O]})],e)}();e.AppLoaderComponent=S,e.CoreModule=E,e.DataService=O,e.urlConfig=B,e.ɵ0=l,e.ɵ1=d,e.ɵ10=j,e.ɵ11=k,e.ɵ12=P,e.ɵ13=C,e.ɵ14=M,e.ɵ15=w,e.ɵ16=H,e.ɵ17=I,e.ɵ2=g,e.ɵ3=f,e.ɵ4=h,e.ɵ5=m,e.ɵ6=y,e.ɵ7=b,e.ɵ8=v,e.ɵ9=x,e.ɵa=A,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-core.umd.min.js.map |
@@ -307,2 +307,5 @@ (function (global, factory) { | ||
}; | ||
ConfigService.prototype.clearConfig = function () { | ||
this.config$.next({}); | ||
}; | ||
ConfigService.ctorParameters = function () { return [ | ||
@@ -309,0 +312,0 @@ { type: ConfigurationContext, decorators: [{ type: core.Optional }, { type: core.Inject, args: ['config',] }] } |
@@ -15,3 +15,3 @@ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("@angular/core"),require("@angular/router"),require("rxjs"),require("lodash-es"),require("@angular/common"),require("@angular/material"),require("@ngx-translate/core")):"function"==typeof define&&define.amd?define("@aastrika_npmjs/comptency/entry-module",["exports","@angular/core","@angular/router","rxjs","lodash-es","@angular/common","@angular/material","@ngx-translate/core"],t):t(((e=e||self).aastrika_npmjs=e.aastrika_npmjs||{},e.aastrika_npmjs.comptency=e.aastrika_npmjs.comptency||{},e.aastrika_npmjs.comptency["entry-module"]={}),e.ng.core,e.ng.router,e.rxjs,e.lodashEs,e.ng.common,e.ng.material,e.core$1)}(this,(function(e,t,n,o,r,a,i,c){"use strict"; | ||
PERFORMANCE OF THIS SOFTWARE. | ||
***************************************************************************** */function u(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,o){t(n,o,e)}}var p=function(){function e(e){this.router=e,this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:n.Router}]},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-slef-assessment-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'SELF_ASSESSMENTS\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),l=function(){function e(){this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-competency-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'COMPETENCY_DASHBOARD\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),f=function(){},g=function(){function e(e){this.config=e,this.config$=new o.BehaviorSubject({}),this._config=this.config$.asObservable(),console.log("log in config service ",e),r.isEmpty(e)||(console.log("context log in config service ------ ",e),this.setConfig(e))}return e.prototype.setConfig=function(e){this.config$.next(e)},e.prototype.getConfig=function(){var e;return this._config.subscribe((function(t){if(r.isEmpty(t)){var n=JSON.parse(localStorage.getItem("competency"));e=n}else e=t})),e},e.ctorParameters=function(){return[{type:f,decorators:[{type:t.Optional},{type:t.Inject,args:["config"]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject("config",8))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"}),s(0,t.Optional()),s(0,t.Inject("config"))],e)}(),d=function(){function e(){}var o;return o=e,e.forRoot=function(e){return{ngModule:o,providers:[g,{provide:"config",useValue:e.config}]}},e=o=u([t.NgModule({declarations:[p,l],imports:[a.CommonModule,n.RouterModule,i.MatIconModule,c.TranslateModule],exports:[p,l],providers:[]})],e)}();e.CompetencyEntryComponent=l,e.ConfigService=g,e.EntryModule=d,e.SlefAssessmentEntryComponent=p,e.ɵa=f,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
***************************************************************************** */function u(e,t,n,o){var r,a=arguments.length,i=a<3?t:null===o?o=Object.getOwnPropertyDescriptor(t,n):o;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(e,t,n,o);else for(var c=e.length-1;c>=0;c--)(r=e[c])&&(i=(a<3?r(i):a>3?r(t,n,i):r(t,n))||i);return a>3&&i&&Object.defineProperty(t,n,i),i}function s(e,t){return function(n,o){t(n,o,e)}}var p=function(){function e(e){this.router=e,this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},e.ctorParameters=function(){return[{type:n.Router}]},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-slef-assessment-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'SELF_ASSESSMENTS\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),l=function(){function e(){this.stateChange=new t.EventEmitter}return e.prototype.ngOnInit=function(){},e.prototype.navigateTo=function(){this.stateChange.emit({navigation:!0})},u([t.Output()],e.prototype,"stateChange",void 0),e=u([t.Component({selector:"lib-competency-entry",template:'<button class="mat-primary-background "\n (click)="navigateTo()" i18n> {{\'COMPETENCY_DASHBOARD\' | translate}}\n</button>\n',styles:[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]})],e)}(),f=function(){},g=function(){function e(e){this.config=e,this.config$=new o.BehaviorSubject({}),this._config=this.config$.asObservable(),console.log("log in config service ",e),r.isEmpty(e)||(console.log("context log in config service ------ ",e),this.setConfig(e))}return e.prototype.setConfig=function(e){this.config$.next(e)},e.prototype.getConfig=function(){var e;return this._config.subscribe((function(t){if(r.isEmpty(t)){var n=JSON.parse(localStorage.getItem("competency"));e=n}else e=t})),e},e.prototype.clearConfig=function(){this.config$.next({})},e.ctorParameters=function(){return[{type:f,decorators:[{type:t.Optional},{type:t.Inject,args:["config"]}]}]},e.ngInjectableDef=t.ɵɵdefineInjectable({factory:function(){return new e(t.ɵɵinject("config",8))},token:e,providedIn:"root"}),e=u([t.Injectable({providedIn:"root"}),s(0,t.Optional()),s(0,t.Inject("config"))],e)}(),d=function(){function e(){}var o;return o=e,e.forRoot=function(e){return{ngModule:o,providers:[g,{provide:"config",useValue:e.config}]}},e=o=u([t.NgModule({declarations:[p,l],imports:[a.CommonModule,n.RouterModule,i.MatIconModule,c.TranslateModule],exports:[p,l],providers:[]})],e)}();e.CompetencyEntryComponent=l,e.ConfigService=g,e.EntryModule=d,e.SlefAssessmentEntryComponent=p,e.ɵa=f,Object.defineProperty(e,"__esModule",{value:!0})})); | ||
//# sourceMappingURL=aastrika_npmjs-comptency-entry-module.umd.min.js.map |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"RequiredComptencyCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"GainedComptencyCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]=\"i === selectedProficiencyIndex\"\n class=\"w-full panel\"\n hideToggle\n >\n <mat-expansion-panel-header\n class=\"flex-between items-center panel-header w-full\"\n >\n <mat-panel-description class=\"panel-header-description\">\n <ng-container\n *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\"\n >\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div\n (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \"\n class=\"level mb-1\"\n [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\"\n [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class=\"level mb-1\"\n (click)=\"$event.stopPropagation(); selectLevel(i, -1)\"\n >\n <mat-icon\n [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container\n *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \"\n >\n <ng-container\n *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \"\n >\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex\">\n <ng-container *ngIf=\"log.header\">\n <span class=\"\"\n i18n>{{'LEVEL' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div\n class=\"mt-2\"\n [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\"\n >\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon\n (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\"\n class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":26,"character":26},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"CompetencyDashboardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div class=\"content\" [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":19,"character":26},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"CompetencyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":31,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":32,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":33,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":34,"character":4}],"exports":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"RequestUtil":{"__symbolic":"class","members":{"getHiName":[{"__symbolic":"method"}],"getLevelDescription":[{"__symbolic":"method"}],"getLevels":[{"__symbolic":"method"}],"getheighestLevel":[{"__symbolic":"method"}],"getCompeletionPercentage":[{"__symbolic":"method"}],"setAssessmentData":[{"__symbolic":"method"}],"formatedGainedCompetency":[{"__symbolic":"method"}],"getHiTitle":[{"__symbolic":"method"}],"acquiredPassbookLogs":[{"__symbolic":"method"}],"getHindiName":[{"__symbolic":"method"}],"acauiredChannelColourCode":[{"__symbolic":"method"}],"competencyStoreDataFomat":[{"__symbolic":"method"}],"formatedCompetencyCourseData":[{"__symbolic":"method"}],"getCompetencyData":[{"__symbolic":"method"}],"getBatchData":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of role?.activities; let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":36,"character":26},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":38,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<ng-container *ngFor=\"let competency of competencyList; let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</ng-container>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}}},"origins":{"RequiredComptencyCardComponent":"./components/required-comptency-card/required-comptency-card.component","GainedComptencyCardComponent":"./components/gained-comptency-card/gained-comptency-card.component","CompetencyDashboardComponent":"./components/competency-dashboard/competency-dashboard.component","CompetencyModule":"./competency.module","RequestUtil":"./services/request-util","ɵa":"./services/gained.service","ɵb":"./services/active-summary.service","ɵc":"./components/active-summary/active-summary.component","ɵd":"./components/competency-accordion/competency-accordion.component"},"importAs":"@aastrika_npmjs/comptency/competency"} | ||
{"__symbolic":"module","version":4,"metadata":{"RequiredComptencyCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":6,"character":1},"arguments":[{"selector":"lib-required-comptency-card","template":"<lib-self-assessment [language]=\"seletectedLang\" [position]=\"position\"></lib-self-assessment>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.card-container{margin:15px 2px;padding:16px 10px 20px 14px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;background:#fff}.title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}.description{font-size:14px;line-height:17px;letter-spacing:-.02em}.start-btn{background-color:#1c5d95!important;border-radius:50px;padding:8px 32px;gap:8px;font-size:16px;line-height:19px;color:#fff!important;margin-top:10px;border:none}.proficiency{color:#1c5d96;font-size:20px;cursor:pointer;margin-top:15px}.log-title{font-size:14px;line-height:24px;letter-spacing:-.02em;color:#1c5d95}.log{border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.logs{padding:5px}.log-items{font-size:16px;line-height:19px;letter-spacing:-.02em;color:#000}:host ::ng-deep .mat-expansion-panel-header:hover{background:rgba(255,255,255,.98)!important}:host ::ng-deep .mat-content{display:flex!important}.level{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":13,"character":3}}]}],"role":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"GainedComptencyCardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":7,"character":1},"arguments":[{"selector":"lib-gained-comptency-card","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":11,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let proficency of gainedproficencyData; let i = index\">\n <div class=\"card-container example-container container-balanced\">\n <ng-container *ngIf=\"proficency?.title\">\n <div class=\"title\">{{ proficency?.title }}</div>\n </ng-container>\n\n <div class=\"levelsTitle\" i18n>{{'LEVELS' | translate}}</div>\n <mat-accordion>\n <mat-expansion-panel\n [expanded]=\"i === selectedProficiencyIndex\"\n class=\"w-full panel\"\n hideToggle\n >\n <mat-expansion-panel-header\n class=\"flex-between items-center panel-header w-full\"\n >\n <mat-panel-description class=\"panel-header-description\">\n <ng-container\n *ngFor=\"let proficiencyLevel of proficency?.proficiencyLevels\"\n >\n <ng-container *ngIf=\"proficiencyLevel.selected; else addLevel\">\n <div\n (click)=\"\n $event.stopPropagation();\n selectLevel(i, proficiencyLevel.displayLevel)\n \"\n class=\"level mb-1\"\n [ngStyle]=\"{ 'background-color': proficiencyLevel.color }\"\n [ngClass]=\"{\n 'individual-select':\n selectedProficiencyIndex === i &&\n selectedDisplayLevel === proficiencyLevel?.displayLevel\n }\"\n >\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-container>\n <ng-template #addLevel>\n <div (click)=\"$event.stopPropagation()\" class=\"level mb-1\">\n {{ proficiencyLevel?.displayLevel }}\n </div>\n </ng-template>\n </ng-container>\n <div\n class=\"level mb-1\"\n (click)=\"$event.stopPropagation(); selectLevel(i, -1)\"\n >\n <mat-icon\n [ngClass]=\"{ arrowReverse: selectedProficiencyIndex === i }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <div>\n <span class=\"log-header\" i18n>{{'LOG' | translate}}</span>\n <ng-container\n *ngFor=\"let log of proficency?.logs; let logIndex = index; let last = last; \"\n >\n <ng-container\n *ngIf=\"\n selectedDisplayLevel === -1 ||\n (selectedProficiencyIndex === i &&\n selectedDisplayLevel === log.level)\n \"\n >\n <div class=\"log\" [ngClass]=\"{'border-bottom-0': last}\">\n <div class=\"flex\">\n <ng-container *ngIf=\"log.header\">\n <span class=\"\"\n i18n>{{'LEVEL' | translate}} </span> <span> {{ log.level }}: {{ log.header }}</span\n >\n <span class=\"log-date mr-2\">{{\n log?.date | date : \"dd/MM/yyyy\"\n }}</span>\n </ng-container>\n </div>\n <ng-container *ngIf=\"log.description\">\n <div\n class=\"mt-2\"\n [ngClass]=\"{ 'hide-content': !log.keyboardArrowUp }\"\n >\n {{ log.description }}\n </div>\n <div class=\"justify-end\">\n <mat-icon\n (click)=\"log.keyboardArrowUp = !log.keyboardArrowUp\"\n class=\"mr-3\"\n [ngClass]=\"{ arrowReverse: log.keyboardArrowUp }\"\n >keyboard_arrow_down</mat-icon\n >\n </div>\n </ng-container>\n </div>\n </ng-container>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n </div>\n <!-- <hr> -->\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.date{font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-300)}.justify-end{display:flex;justify-content:flex-end}.card-container{background:var(--white);border-bottom:1px solid #ddd;padding:5px 4px}.title{font-size:24px;line-height:29px;letter-spacing:-.02em;margin-bottom:18px}.levelsTitle{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.panel{box-shadow:0 0!important;padding:1px 3px 1px 0}.panel-header{padding:0!important;background:0 0!important}.panel-header-description{margin:0!important;padding:1px}.arrowReverse{transform:rotateX(180deg)}.level{width:47px;max-width:16.6%;height:36px;display:flex;justify-content:center;align-items:center;box-shadow:0 0 1px #000040}.log-header{font-size:14px;line-height:24px;letter-spacing:-.02em;color:var(--black)}.log{font-style:italic;font-size:14px;line-height:16px;letter-spacing:-.02em;color:var(--gray-400);border-bottom:1px solid #ddd;padding-bottom:9px;margin-top:10px}.log-date{font-style:normal;font-size:12px;line-height:14px;letter-spacing:-.02em;color:var(--gray-400);margin:0 auto}::ng-deep .mat-expansion-panel-body{padding:0!important}::ng-deep .mat-expansion-panel-header{border-bottom:none!important}:host ::ng-deep .mat-content{display:unset!important}.hide-content{display:none}.individual-select{border:2px solid #1c5d95}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":14,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":26,"character":26},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getAllUserPassbook":[{"__symbolic":"method"}],"getAllEntity":[{"__symbolic":"method"}],"selectLevel":[{"__symbolic":"method"}]}},"CompetencyDashboardComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":5,"character":1},"arguments":[{"selector":"lib-competency-dashboard","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":9,"character":17},"member":"None"},"template":"<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" [desigination]=\"role\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":31},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":19,"character":26},{"__symbolic":"reference","name":"ɵb"}]}],"ngOnInit":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"navigateBack":[{"__symbolic":"method"}],"changeTab":[{"__symbolic":"method"}],"startSelfAssessment":[{"__symbolic":"method"}]}},"CompetencyModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":18,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ɵc"},{"__symbolic":"reference","name":"ɵd"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":25,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatTabsModule","line":26,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":27,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatExpansionModule","line":28,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressBarModule","line":29,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatProgressSpinnerModule","line":30,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":31,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"CoreModule","line":32,"character":4},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentModule","line":33,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":34,"character":4}],"exports":[{"__symbolic":"reference","name":"RequiredComptencyCardComponent"},{"__symbolic":"reference","name":"GainedComptencyCardComponent"},{"__symbolic":"reference","name":"CompetencyDashboardComponent"},{"__symbolic":"reference","name":"ɵc"}]}]}],"members":{}},"RequestUtil":{"__symbolic":"class","members":{"getAveragepercentage":[{"__symbolic":"method"}],"getHiName":[{"__symbolic":"method"}],"getLevelDescription":[{"__symbolic":"method"}],"getLevels":[{"__symbolic":"method"}],"getheighestLevel":[{"__symbolic":"method"}],"getCompeletionPercentage":[{"__symbolic":"method"}],"setAssessmentData":[{"__symbolic":"method"}],"formatedGainedCompetency":[{"__symbolic":"method"}],"getHiTitle":[{"__symbolic":"method"}],"acquiredPassbookLogs":[{"__symbolic":"method"}],"getHindiName":[{"__symbolic":"method"}],"acauiredChannelColourCode":[{"__symbolic":"method"}],"competencyStoreDataFomat":[{"__symbolic":"method"}],"formatedCompetencyCourseData":[{"__symbolic":"method"}],"getCompetencyData":[{"__symbolic":"method"}],"getBatchData":[{"__symbolic":"method"}]}},"ɵa":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":15,"character":35},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":21,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":21,"character":53}]}],"fetchUserPassbook":[{"__symbolic":"method"}],"fetchAllEntity":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵb":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/core","name":"DataService","line":14,"character":42},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":11,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":16,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":16,"character":53}]}],"getActivityById":[{"__symbolic":"method"}],"getUserdetailsFromRegistry":[{"__symbolic":"method"}],"getRolesMapping":[{"__symbolic":"method"}],"getRolesWiseCompetency":[{"__symbolic":"method"}],"getCompetencyCourseIdentifier":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"ɵc":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":9,"character":1},"arguments":[{"selector":"lib-active-summary","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":13,"character":17},"member":"None"},"template":"<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<ng-container *ngFor=\"let role of roleactivitySummaries\">\n <div class=\"activity-card-container\">\n <mat-accordion>\n <mat-expansion-panel\n class=\"\"\n (opened)=\"panelOpenState = true\"\n (closed)=\"panelOpenState = false\"\n >\n <mat-expansion-panel-header\n id=\"activity-header\"\n class=\"flex-between items-center w-full\"\n collapsedHeight=\"auto\"\n expandedHeight=\"auto\"\n >\n\n <mat-panel-description class=\"panel-header-description\">\n <ng-container *ngIf=\"role?.roles\">\n <div class=\"flex flex-column w-full\">\n <div class=\"role-title\">{{ role?.roles }}</div>\n <div class=\"progress-status-none\" *ngIf=\"role?.averagePercentage == 0\"></div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage < 100 && role?.averagePercentage != 0\" i18n>{{'IN_PROGRESS' | translate }}</div>\n <div class=\"progress-status\" *ngIf=\"role?.averagePercentage == 100\" i18n>{{'COMPLETED' | translate}}</div>\n <ng-container >\n <div [ngClass]=\"{'green-bar': role?.averagePercentage == 100 , 'warn-bar': role?.averagePercentage < 100 && role?.averagePercentage != 0 }\">\n <mat-progress-bar mode=\"determinate\" value={{role?.averagePercentage}} class=\"mt-1\"></mat-progress-bar>\n </div>\n </ng-container>\n\n </div>\n </ng-container>\n </mat-panel-description>\n </mat-expansion-panel-header>\n <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader>\n <div class=\"expand-container\" *ngIf=\"roleactivitySummaries.length>0\">\n <!-- list of activity -->\n <div class=\"activity-badge\" i18n>{{'ACTIVITIES' | translate}}</div>\n <ng-container\n *ngFor=\"let activity of role?.activities; let i = index\"\n >\n <div class=\"activity-title\" *ngIf=\"activity.title\">\n - {{ activity.title }}\n </div>\n\n\n </ng-container>\n <ng-container *ngIf=\"role?.activities\">\n <lib-competency-accordion [competencyList]=\"role?.activities\" [assessmentData]=\"assessmentData\" [assessBtnType]=\"btnType\"></lib-competency-accordion>\n </ng-container>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n </div>\n</ng-container>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.activity-card-container{margin:15px 2px;box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px}.spinner-loading{display:flex;justify-content:center}.role-title{font-size:20px;line-height:19px;letter-spacing:-.02em;color:var(--blue)}.icon-down{-ms-grid-row-align:flex-end;-ms-grid-column-align:flex-end;place-self:flex-end;color:var(--black)!important}:host ::ng-deep .mat-expansion-panel{height:auto!important}:host ::ng-deep .mat-expansion-panel-header:hover{background:inherit!important}:host ::ng-deep .mat-expansion-panel-body{padding:0 0 16px!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-header{padding:10px 10px 0!important}.activity-card-container .mat-accordion .mat-expansion-panel .mat-expansion-panel-content .mat-expansion-panel-body{padding:0 0 16px!important}#activity-header .mat-expansion-panel-header{border-radius:10px!important;padding:10px 10px 0!important}::ng-deep .mat-expansion-indicator{width:24px;height:24px;color:var(--black)!important}:host ::ng-deep .mat-expansion-indicator::after{color:var(--black)!important}:host ::ng-deep .mat-expansion-panel-header-description{margin-right:0!important}.activity-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black);margin-bottom:10px;padding:0 10px}.competency-container{background:var(--white);box-shadow:0 0 4px rgba(0,0,0,.15);border-radius:10px;padding:10px;margin:18px 0 15px}.competency-container .competency-title{font-size:20px;line-height:25px;letter-spacing:-.02em;color:var(--black);margin-bottom:20px}.competency-container .level{font-size:24px;line-height:24px;letter-spacing:-.02em;color:var(--blue)}.expand-container{padding:15px 0 0}.activity-badge{font-weight:400;font-size:14px;color:#1c5d95;background:#ebf4fb;border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:5px 20px;margin:0 10px 15px}.mat-progress-bar{border-radius:40px;height:10px!important}.value{position:relative;bottom:19px;color:#1c5d95;width:275px;display:flex;justify-content:center}::ng-deep .green-bar .theme-igot.day-mode .mat-progress-bar-fill::after{background:no-repeat padding-box #34d6a4!important;border-radius:40px}::ng-deep.warn-bar .mat-progress-bar-fill::after{background:no-repeat padding-box #f1cf8a!important;border-radius:40px}::ng-deep.theme-igot.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.theme-sphere.day-mode .mat-progress-bar-buffer{background-color:#f5f5f5!important}.progress-status{font-style:italic;font-weight:400;font-size:12px;color:#000;-ms-grid-row-align:end;-ms-grid-column-align:end;place-self:end}.progress-status-none{visibility:hidden}"]}]}],"members":{"language":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"isMobileApp":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":22,"character":3}}]}],"desigination":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":23,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ɵb"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":38,"character":26},{"__symbolic":"reference","name":"ɵa"},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/self-assessment","name":"SelfAssessmentService","line":40,"character":34}]}],"ngOnInit":[{"__symbolic":"method"}],"getProgress":[{"__symbolic":"method"}],"getAssessmentBtnType":[{"__symbolic":"method"}],"getAssessmentProgress":[{"__symbolic":"method"}],"getUserDetails":[{"__symbolic":"method"}],"getRolesWiseCompetencyData":[{"__symbolic":"method"}],"getActivityByRole":[{"__symbolic":"method"}],"designationMap":[{"__symbolic":"method"}],"getActivityByRoleId":[{"__symbolic":"method"}],"getEntityById":[{"__symbolic":"method"}],"getAveragepercentage":[{"__symbolic":"method"}],"getCompetencyCourse":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}]}},"ɵd":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":4,"character":1},"arguments":[{"selector":"lib-competency-accordion","template":"<div class=\"competency-badge\" i18n>{{'COMPETENCIES' | translate}} :</div>\n<ng-container *ngFor=\"let competency of competencyList; let i = index; let last = last;\">\n <ng-container *ngIf=\"competency.competency\">\n <mat-accordion>\n <mat-expansion-panel>\n <mat-expansion-panel-header class=\"flex-between items-center w-full\" collapsedHeight=\"auto\"\n expandedHeight=\"auto\">\n <mat-panel-description class=\"panel-header-description\" (click)=\"$event.stopPropagation();\">\n <ng-container *ngIf=\"competency.competency\">\n <div class=\"flex flex-col\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"competency.completionPercentage == 100\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"competency.completionPercentage < 100\">\n <mat-progress-spinner diameter=\"20\" strokeWidth=\"2\" mode=\"determinate\"\n [value]=\"competency.completionPercentage\"></mat-progress-spinner>\n </ng-container>\n </div>\n <div class=\"competency-title\">{{ competency.competency }}</div>\n </div>\n <div class=\"flex flex-row gap-3 mt-3\">\n <ng-container *ngFor=\"let btn of assessBtnType\">\n <ng-container *ngIf=\"btn.courseId == competency?.assessmentData?.contentId\">\n <button\n *ngIf=\"btn.type === 'START'\"\n mat-button\n class=\"assess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'RESUME'\"\n mat-button\n class=\"reassess-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'RE-ASSESS' | translate}}\n </button>\n <button\n *ngIf=\"btn.type === 'DONE'\"\n mat-button\n disabled\n class=\"done-btn btn-small\"\n (click)=\"startSelfAssesment(competency.assessmentData)\"\n i18n\n >\n {{'DONE' | translate}}\n </button>\n </ng-container> \n </ng-container>\n \n <button class=\"btn-long\" i18n (click)=\"viewCourses(competency)\">{{'VIEW_COURSES' | translate}}</button>\n </div>\n </div>\n \n </ng-container>\n \n </mat-panel-description>\n </mat-expansion-panel-header>\n <!-- <lib-app-loader *ngIf=\"acordianLoading === true\"></lib-app-loader> -->\n <div class=\"expand-container\">\n <!-- list of levels -->\n <div class=\"Levels-badge\" i18n>{{'LEVELS' | translate}}</div>\n <ng-container *ngIf=\"competency.levelDescription !== ''; else manualLevel\">\n <ng-container *ngFor=\"let level of competency.levelDescription; let i = index\">\n <div class=\"flex flex-row gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\"> {{level.levelId}}. {{level.name}}</div>\n </div>\n </ng-container>\n </ng-container>\n <ng-template #manualLevel>\n <ng-container *ngFor=\"let level of competency.levels; let i = index\">\n <div class=\"flex flex-row align-items-center gap-2\">\n <div>\n <ng-container *ngIf=\"level.achived\">\n <mat-icon class=\"circle-tick cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n <ng-container *ngIf=\"!level.achived\">\n <mat-icon class=\"non-progress cursor-pointer\">check_circle</mat-icon>\n </ng-container>\n </div>\n <div class=\"Levels-title\">{{ i + 1 }} : {{ level.name }}</div>\n </div>\n </ng-container>\n </ng-template>\n </div>\n </mat-expansion-panel>\n </mat-accordion>\n\n <hr class=\"mt-3 mb-3\" [ngClass]=\"{'d-none' : last}\" />\n </ng-container>\n</ng-container>","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.competency-badge{font-weight:400;font-size:14px;color:#1c5d95;padding:0 10px;margin-top:20px}.competency-title{font-size:16px;line-height:19px;letter-spacing:-.02em;color:var(--black)}.expand-container{padding:10px 10px 0}.Levels-badge{font-size:14px;color:#1c5d95;margin-bottom:5px}.circle-tick{display:flex;justify-content:center;align-items:center;color:#27ae60;font-size:18px!important}.non-progress{visibility:hidden}::ng-deep .mat-expansion-panel{box-shadow:none!important}.btn-long{border:1px solid #1c5d95;border-radius:50px;color:#1c5d95;background-color:inherit;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 25px;cursor:pointer}.btn-small{border-radius:50px;width:-webkit-fit-content;width:-moz-fit-content;width:fit-content;padding:3px 20px;border:none;cursor:pointer}.assess-btn{background:#1c5d95;color:#fff}.reassess-btn{background:#52ad9d;color:#fff}.done-btn{background-color:#bfbfbf;color:grey}:host ::ng-deep .mat-expansion-indicator{width:10%;display:flex;align-items:center;justify-content:center}"]}]}],"members":{"competencyList":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":10,"character":3}}]}],"assessmentData":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"assessBtnType":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":12,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":14,"character":20}]}],"ngOnInit":[{"__symbolic":"method"}],"viewCourses":[{"__symbolic":"method"}],"startSelfAssesment":[{"__symbolic":"method"}]}}},"origins":{"RequiredComptencyCardComponent":"./components/required-comptency-card/required-comptency-card.component","GainedComptencyCardComponent":"./components/gained-comptency-card/gained-comptency-card.component","CompetencyDashboardComponent":"./components/competency-dashboard/competency-dashboard.component","CompetencyModule":"./competency.module","RequestUtil":"./services/request-util","ɵa":"./services/gained.service","ɵb":"./services/active-summary.service","ɵc":"./components/active-summary/active-summary.component","ɵd":"./components/competency-accordion/competency-accordion.component"},"importAs":"@aastrika_npmjs/comptency/competency"} |
@@ -18,2 +18,3 @@ import { OnInit } from '@angular/core'; | ||
isMobileApp: any; | ||
desigination: any; | ||
panelOpenState: Boolean; | ||
@@ -30,2 +31,3 @@ requestUtil: any; | ||
btnType: any[]; | ||
roleId: any; | ||
constructor(activeSummaryService: ActiveSummaryService, configService: ConfigService, gainedService: GainedService, selfAssessmentService: SelfAssessmentService); | ||
@@ -37,2 +39,3 @@ ngOnInit(): void; | ||
getUserDetails(): import("rxjs").Observable<any>; | ||
getRolesWiseCompetencyData(): import("rxjs").Observable<any>; | ||
private getActivityByRole; | ||
@@ -39,0 +42,0 @@ private designationMap; |
@@ -22,3 +22,5 @@ import { DataService } from '@aastrika_npmjs/comptency/core'; | ||
getUserdetailsFromRegistry(reqBody: any): import("rxjs").Observable<any>; | ||
getRolesMapping(): import("rxjs").Observable<any>; | ||
getRolesWiseCompetency(): import("rxjs").Observable<any>; | ||
getCompetencyCourseIdentifier(data: any): import("rxjs").Observable<any>; | ||
} |
export declare class RequestUtil { | ||
formatedActivities: (data: any) => any; | ||
formatedActivitityByPostion: (data: any, lang: any) => any; | ||
formatedActivitityByPostion: (data: any, lang: any, assessmentData: any, progrssData: any) => any[]; | ||
getAveragepercentage(data: any): number; | ||
getHiName(data: any): any; | ||
formatedActivitityByRoleId: (data: any, lang: any) => any; | ||
formatedCompetency: (data: any, progrssData: any, lang: any, assessmentData: any) => any; | ||
formatedActivitityByRoleId: (data: any, lang: any, activityMasterData: any, prgressData: any, assessData: any) => any; | ||
formatedCompetency: (data: any, progrssData: any, lang: any, assessmentData: any, cid: any) => any; | ||
getLevelDescription(data: any, progrssData: any, competencyId: any, lang: any): any[]; | ||
@@ -8,0 +9,0 @@ getLevels(competencyId: any, progrssData: any, lang: any): { |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"urlConfig":{"__symbolic":"error","message":"Lambda not supported","line":11,"character":15,"module":"./config/url.config"},"DataService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":22,"character":19},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":22,"character":54}]}],"get":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"getHeader":[{"__symbolic":"method"}],"setHeader":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"AppLoaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-app-loader","template":"<ng-container>\n <div class=\"loader-content\">\n <p class=\"loader\"></p>\n </div>\n</ng-container>\n ","styles":[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"CoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":14,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"}],"providers":[{"__symbolic":"reference","name":"DataService"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-no-result","template":"<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n","styles":[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:24px;font-weight:900;color:#848886b3}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}}},"origins":{"urlConfig":"./config/url.config","DataService":"./services/data.service","AppLoaderComponent":"./components/app-loader/app-loader.component","CoreModule":"./core.module","ɵa":"./components/no-result/no-result.component"},"importAs":"@aastrika_npmjs/comptency/core"} | ||
{"__symbolic":"module","version":4,"metadata":{"urlConfig":{"__symbolic":"error","message":"Lambda not supported","line":11,"character":15,"module":"./config/url.config"},"DataService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClient","line":22,"character":20},{"__symbolic":"reference","module":"@aastrika_npmjs/comptency/entry-module","name":"ConfigService","line":22,"character":54}]}],"get":[{"__symbolic":"method"}],"getwithouTAuthorization":[{"__symbolic":"method"}],"post":[{"__symbolic":"method"}],"getHeader":[{"__symbolic":"method"}],"setHeader":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"AppLoaderComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-app-loader","template":"<ng-container>\n <div class=\"loader-content\">\n <p class=\"loader\"></p>\n </div>\n</ng-container>\n ","styles":[".sbt-app-loader-container{background:var(--sbt-compt-bg);width:94%!important;margin:0 auto;border-radius:1.5rem;border:0}.loader-content{display:flex;justify-content:center;align-items:center;margin-top:38px}.message{margin:0;font-size:16px;color:#919191}.loader{width:30px;height:30px;margin:-76px 0 0 -76px;border:4px solid #f3f3f3;border-radius:50%;border-top:4px solid #555;-webkit-animation:2s linear infinite spin;animation:2s linear infinite spin}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0)}100%{-webkit-transform:rotate(360deg)}}@keyframes spin{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":9,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}]}},"CoreModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":11,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/common/http","name":"HttpClientModule","line":14,"character":4}],"declarations":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"}],"exports":[{"__symbolic":"reference","name":"AppLoaderComponent"},{"__symbolic":"reference","name":"ɵa"}],"providers":[{"__symbolic":"reference","name":"DataService"}]}]}],"members":{}},"ɵa":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":3,"character":1},"arguments":[{"selector":"lib-no-result","template":"<div class=\"no-data-container\" >\n <ng-container >\n <div class=\"no-data-text\">{{message}}</div>\n </ng-container>\n</div>\n","styles":[".no-data-container{width:100%;height:200px;text-align:center;justify-content:center;display:flex;background-color:#f8f8f8;align-items:center;border-radius:10px}.no-data-container .no-data-text{font-size:24px;font-weight:900;color:#848886b3}"]}]}],"members":{"data":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":11,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"setMessage":[{"__symbolic":"method"}]}}},"origins":{"urlConfig":"./config/url.config","DataService":"./services/data.service","AppLoaderComponent":"./components/app-loader/app-loader.component","CoreModule":"./core.module","ɵa":"./components/no-result/no-result.component"},"importAs":"@aastrika_npmjs/comptency/core"} |
@@ -28,2 +28,4 @@ /** | ||
getContentProgressMobile: () => string; | ||
getRoleMapping: () => string; | ||
getRoleWiseCompetency: () => string; | ||
}; |
@@ -26,2 +26,3 @@ import { HttpClient } from '@angular/common/http'; | ||
get(requestParam: any): Observable<any>; | ||
getwithouTAuthorization(requestParam: any): Observable<any>; | ||
/** | ||
@@ -28,0 +29,0 @@ * for making get api calls |
@@ -1,1 +0,1 @@ | ||
{"__symbolic":"module","version":4,"metadata":{"SlefAssessmentEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"CompetencyEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ConfigService"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"ɵa":{"__symbolic":"class","members":{}}},"origins":{"SlefAssessmentEntryComponent":"./components/slef-assessment-entry/slef-assessment-entry.component","CompetencyEntryComponent":"./components/competency-entry/competency-entry.component","ConfigService":"./services/config.service","EntryModule":"./entry-module","ɵa":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/entry-module"} | ||
{"__symbolic":"module","version":4,"metadata":{"SlefAssessmentEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-slef-assessment-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'SELF_ASSESSMENTS' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","module":"@angular/router","name":"Router","line":9,"character":28}]}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"CompetencyEntryComponent":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":2,"character":1},"arguments":[{"selector":"lib-competency-entry","template":"<button class=\"mat-primary-background \"\n (click)=\"navigateTo()\" i18n> {{'COMPETENCY_DASHBOARD' | translate}}\n</button>\n","styles":[":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;background:#1c5d95!important;border-radius:50px;color:#fff;border:none;gap:8px;width:310px;cursor:pointer}"]}]}],"members":{"stateChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":8,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor"}],"ngOnInit":[{"__symbolic":"method"}],"navigateTo":[{"__symbolic":"method"}]}},"ConfigService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":4,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":11,"character":15}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":11,"character":27},"arguments":["config"]}]],"parameters":[{"__symbolic":"reference","name":"ɵa"}]}],"setConfig":[{"__symbolic":"method"}],"getConfig":[{"__symbolic":"method"}],"clearConfig":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}},"EntryModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":9,"character":1},"arguments":[{"declarations":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"imports":[{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":12,"character":4},{"__symbolic":"reference","module":"@angular/router","name":"RouterModule","line":13,"character":4},{"__symbolic":"reference","module":"@angular/material","name":"MatIconModule","line":14,"character":4},{"__symbolic":"reference","module":"@ngx-translate/core","name":"TranslateModule","line":15,"character":4}],"exports":[{"__symbolic":"reference","name":"SlefAssessmentEntryComponent"},{"__symbolic":"reference","name":"CompetencyEntryComponent"}],"providers":[]}]}],"members":{},"statics":{"forRoot":{"__symbolic":"function","parameters":["configContext"],"value":{"ngModule":{"__symbolic":"reference","name":"EntryModule"},"providers":[{"__symbolic":"reference","name":"ConfigService"},{"provide":"config","useValue":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"configContext"},"member":"config"}}]}}}},"ɵa":{"__symbolic":"class","members":{}}},"origins":{"SlefAssessmentEntryComponent":"./components/slef-assessment-entry/slef-assessment-entry.component","CompetencyEntryComponent":"./components/competency-entry/competency-entry.component","ConfigService":"./services/config.service","EntryModule":"./entry-module","ɵa":"./services/configuration-context"},"importAs":"@aastrika_npmjs/comptency/entry-module"} |
@@ -10,2 +10,3 @@ import { Subject } from 'rxjs'; | ||
getConfig(): any; | ||
clearConfig(): void; | ||
} |
@@ -24,2 +24,3 @@ import * as tslib_1 from "tslib"; | ||
ngOnInit() { | ||
this.designationMap(this.desigination); | ||
this.getProgress(); | ||
@@ -32,4 +33,8 @@ this.loading = true; | ||
} | ||
if (!this.desigination) { | ||
this.desigination = res.profileDetails.profileReq.professionalDetails[0].designation; | ||
this.designationMap(this.desigination); | ||
} | ||
if (this.profileData) { | ||
const getActivity = this.getActivityByRole(); | ||
const getActivity = this.getRolesWiseCompetencyData(); | ||
const getCourses = this.getCompetencyCourse(); | ||
@@ -39,12 +44,14 @@ return forkJoin([getActivity, getCourses]); | ||
})).subscribe((res) => { | ||
console.log(res); | ||
let rolesCompetencyData = _.find(res[0].response, { 'position': this.desigination }); | ||
console.log(rolesCompetencyData); | ||
this.assessmentData = this.requestUtil.formatedCompetencyCourseData(res[1]); | ||
this.getAssessmentBtnType(this.assessmentData); | ||
const formatedResponse = this.requestUtil.formatedActivitityByPostion(res[0], this.language); | ||
const formatedResponse = this.requestUtil.formatedActivitityByPostion(rolesCompetencyData, this.language, this.assessmentData, this.competencyProgress); | ||
// const formatedResponse = this.requestUtil.formatedActivitityByPostion(rolesCompetencyData, this.language, this.assessmentData, this.competencyProgress) | ||
this.roleactivitySummaries = formatedResponse; | ||
_.forEach(this.roleactivitySummaries, (value) => { | ||
if (value.id) { | ||
this.getActivityByRoleId(value.id); | ||
} | ||
}); | ||
this.loading = false; | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
}); | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
} | ||
@@ -114,3 +121,3 @@ getProgress() { | ||
} | ||
getActivityByRole() { | ||
getRolesWiseCompetencyData() { | ||
let designation; | ||
@@ -120,2 +127,9 @@ if (this.profileData.professionalDetails) { | ||
} | ||
return this.activeSummaryService.getRolesWiseCompetency(); | ||
} | ||
getActivityByRole(id) { | ||
let designation; | ||
if (this.profileData.professionalDetails) { | ||
designation = this.profileData.professionalDetails[0].designation; | ||
} | ||
const reqBody = { | ||
@@ -125,3 +139,3 @@ filter: { | ||
}, | ||
id: this.designationMap(designation) | ||
id: id | ||
}; | ||
@@ -131,12 +145,24 @@ return this.activeSummaryService.getActivityById(reqBody); | ||
designationMap(designation) { | ||
const positionMap = { | ||
"AWW": 95, | ||
"ANM": 210, | ||
"GNM": 521 | ||
}; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
return positionMap[designation]; | ||
} | ||
else | ||
let positionMap; | ||
this.activeSummaryService.getRolesMapping().pipe().subscribe((res) => { | ||
console.log(res); | ||
positionMap = res.response; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
this.roleId = positionMap[designation]; | ||
return this.roleId; | ||
} | ||
else | ||
this.roleId = 1; | ||
return 1; | ||
}, (err) => { | ||
console.log("error", err); | ||
positionMap = err; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
this.roleId = positionMap[designation]; | ||
return this.roleId; | ||
} | ||
else | ||
this.roleId = 1; | ||
return 1; | ||
}); | ||
} | ||
@@ -208,2 +234,5 @@ getActivityByRoleId(id) { | ||
], ActiveSummaryComponent.prototype, "isMobileApp", void 0); | ||
tslib_1.__decorate([ | ||
Input() | ||
], ActiveSummaryComponent.prototype, "desigination", void 0); | ||
ActiveSummaryComponent = tslib_1.__decorate([ | ||
@@ -218,2 +247,2 @@ Component({ | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9hY3RpdmUtc3VtbWFyeS9hY3RpdmUtc3VtbWFyeS5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQVUsaUJBQWlCLEVBQUUsS0FBSyxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzVFLE9BQU8sRUFBRSxXQUFXLEVBQUUsTUFBTSw2QkFBNkIsQ0FBQztBQUMxRCxPQUFPLEVBQUUsb0JBQW9CLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUM3RSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7QUFDMUMsT0FBTyxFQUFFLFFBQVEsRUFBb0IsTUFBTSxNQUFNLENBQUM7Q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NjcmliZSgocmVzKSA9PiB7XG4gICAgICAgICAgICAgIGlmIChyZXMucmVzdWx0KSB7XG4gICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCAmJiB2YWx1ZS5jaGlsZENvbnRlbnQgPT09IHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoKSB7XG4gICAgICAgICAgICAgICAgICAgIGxldCB0eXBlID0gJydcbiAgICAgICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOmFueSk9PntcbiAgICAgICAgICAgICAgICAgICAgICBpZihpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCApe1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdET05FJ1xuICAgICAgICAgICAgICAgICAgICAgIH1lbHNle1xuICAgICAgICAgICAgICAgICAgICAgICAgdHlwZSA9ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgICAgICB0eXBlOiAnUkVTVU1FJ1xuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgfVxuICBcbiAgICAgICAgICAgICAgaWYocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPT0gMCApIHtcbiAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICB0eXBlOiAnU1RBUlQnXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgfSlcbiAgICAgICAgICB9KVxuICB9XG4gIGdldEFzc2Vzc21lbnRQcm9ncmVzcyhkYXRhKSB7XG4gICAgY29uc3QgcmVxYm9keSA9IHtcbiAgICAgIHJlcXVlc3Q6IHtcbiAgICAgICAgdXNlcklkOiB0aGlzLmNvbmZpZ1NlcnZpY2UuZ2V0Q29uZmlnKCkuaWQsXG4gICAgICAgIGJhdGNoSWQ6IGRhdGEuYmF0Y2hJZCxcbiAgICAgICAgY291cnNlSWQ6IGRhdGEuY29udGVudElkLFxuICAgICAgICBjb250ZW50SWRzOiBbXSxcbiAgICAgICAgZmllbGRzOiBbJ3Byb2dyZXNzZGV0YWlscyddLFxuICAgICAgfVxuICAgIH1cblxuICAgIHJldHVybiB0aGlzLnNlbGZBc3Nlc3NtZW50U2VydmljZS5mZXRjaFByZ3Jlc3NEZXRhaWxzKHJlcWJvZHkpXG4gIH1cblxuICBnZXRVc2VyRGV0YWlscygpIHt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ICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICAgICAgfWVsc2V7XG4gICAgICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGVcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH0gZWxzZSB7XG4gICAgICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgICAgICBjb21wZXRlbmN5SWQ6IHZhbHVlLmNvbXBldGVuY3lJRCxcbiAgICAgICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgICAgIHR5cGU6ICdSRVNVTUUnXG4gICAgICAgICAgICAgICAgICAgIH0pXG4gICAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgICAgfVxuICAgICAgICAgICAgICB9XG4gIFxuICAgICAgICAgICAgICBpZihyZXMucmVzdWx0LmNvbnRlbnRMaXN0Lmxlbmd0aCA9PSAwICkge1xuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgICAgIHR5cGU6ICdTVEFSVCdcbiAgICAgICAgICAgICAgICB9K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AgICB9O1xuICAgIHJldHVybiB0aGlzLmFjdGl2ZVN1bW1hcnlTZXJ2aWNlLmdldEFjdGl2aXR5QnlJZChyZXFCb2R5KVxuICB9XG4gIGdldEF2ZXJhZ2VwZXJjZW50YWdlKGRhdGEpIHtcbiAgICBsZXQgdG90YWxMZW5ndGggPSBkYXRhLmxlbmd0aFxuICAgIGxldCBwZXJjZW50YWdlID0gW11cbiAgICBsZXQgdG90YWxQZXJjZW50ID0gMFxuICAgIF8uZm9yRWFjaChkYXRhLCAodmFsdWU6IGFueSkgPT4ge1xuICAgICAgcGVyY2VudGFnZS5wdXNoKHZhbHVlLmNvbXBsZXRpb25QZXJjZW50YWdlKVxuICAgIH0pXG4gICAgdG90YWxQZXJjZW50ID0gXy5yb3VuZChfLnN1bShwZXJjZW50YWdlKSAvIHRvdGFsTGVuZ3RoKVxuICAgIHJldHVybiB0b3RhbFBlcmNlbnRcbiAgfVxuXG4gIGdldENvbXBldGVuY3lDb3Vyc2UoKSB7XG4gICAgbGV0IGFzc2Vzc0RhdGE7XG4gICAgYXNzZXNzRGF0YSA9IHRoaXMuYWN0aXZlU3VtbWFyeVNlcnZpY2UuZ2V0Q29tcGV0ZW5jeUNvdXJzZUlkZW50aWZpZXIodGhpcy5sYW5ndWFnZSlcbiAgICByZXR1cm4gYXNzZXNzRGF0YTtcbiAgfVxuICBcbiAgbmdPbkRlc3Ryb3koKSB7XG4gICAgaWYgKHRoaXMudW5zdWJzY3JpYmUpIHtcbiAgICAgIHRoaXMudW5zdWJzY3JpYmUudW5zdWJzY3JpYmUoKVxuICAgIH1cblxuICB9XG59XG4iXX0= |
@@ -53,3 +53,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-competency-dashboard', | ||
template: "<div class=\"content\" [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n", | ||
template: "<div [ngClass]=\"isMobileApp ? 'content-mobile' : 'content'\">\n <mat-icon (click)=\"navigateBack()\" class=\"cursor-pointer mb-3\"\n >chevron_left</mat-icon\n >\n\n <h1 class=\"pl-2 mb-0\" i18n>{{'COMPETENCY_DASHBOARD' | translate}}</h1>\n\n <div class=\"pl-2 tab-container\">\n <mat-tab-group\n [ngClass]=\"{ 'header-width-icon': tabIndex === 1 }\"\n class=\"remove-border-bottom\"\n animationDuration=\"0ms\"\n [selectedIndex]=\"tabIndex\"\n (selectedTabChange)=\"changeTab($event)\"\n >\n <!-- Active Summary as Job Description -->\n <mat-tab i18n-label label=\"{{'JOB_DESCRIPTION' | translate}}\">\n <h4 class=\"mt-4 mb-1\" i18n>{{'ROLES' | translate}}</h4>\n <lib-active-summary [language]=\"language\" [isMobileApp]=\"isMobileApp\" [desigination]=\"role\" *ngIf=\"tabIndex === 0\"></lib-active-summary>\n </mat-tab>\n\n <!-- gained as Passbook -->\n <mat-tab i18n-label label=\"{{'PASSBOOK' | translate}}\">\n <div class=\"legend-container\">\n <div class=\"legend legend-blue\"></div>\n <h5 class=\"mb-0\" i18n>{{'EXTERNAL' | translate}}</h5>\n <div class=\"legend legend-green\"></div>\n <h5 class=\"mb-0\" i18n>{{'SELF' | translate}}</h5>\n <div class=\"legend legend-yellow\"></div>\n <h5 class=\"mb-0\" i18n>{{'CRS_TRK_FRMELEMNTS_LBL_TRAINING' | translate}}</h5>\n </div>\n <lib-gained-comptency-card\n [language]=\"language\"\n *ngIf=\"tabIndex === 1\"\n ></lib-gained-comptency-card>\n </mat-tab>\n\n <!-- required -->\n <mat-tab i18n-label label=\"{{'REQUIRED' | translate}}\">\n <div class=\"required-comperencies\">\n <div class=\"mt-2 tab-badge\" i18n>{{'SELF_ASSESSMENTS' | translate}}</div>\n <lib-required-comptency-card\n [language]=\"language\"\n [role]=\"role\"\n *ngIf=\"tabIndex === 2\"\n ></lib-required-comptency-card>\n </div>\n </mat-tab>\n </mat-tab-group>\n </div>\n</div>\n", | ||
encapsulation: ViewEncapsulation.None, | ||
@@ -60,2 +60,2 @@ styles: [":root{font-size:16px;--blue:#1C5D95;--yellow:#FFF4DF;--teal:#A4DFCA;--black:#000000;--white:#ffffff;--light-gray:#eff6fc;--grey-100:#DFEDF9;--gray-200:#8E8E8E;--gray-300:#989898;--gray-400:#808080;--grey-500:#919191;--yellow-500:#FFFBB0;--blue-500:#7CB5E6}.button-primary{background-color:var(--blue)!important;border-radius:50px;gap:8px;color:var(--white)!important;border:none}.mat-primary-background{padding:9px 40px;width:310px;cursor:pointer}.content{padding:60px 0 50px;margin:auto}@media only screen and (min-width:960px){.content{max-width:30%;padding:20px 20px 0}}@media only screen and (min-width:1280px){.content{max-width:35%}}@media only screen and (min-width:1920px){.content{max-width:30%}}@media only screen and (min-width:600px) and (max-width:959px){.content{max-width:50%}}@media only screen and (max-width:599px){.content{max-width:90%}}.content-mobile{padding:10px 0 20px;max-width:100%;margin:0 10px}.remove-border-bottom .mat-tab-header{border-bottom:none!important}:host ::ng-deep .remove-border-bottom .mat-tab-header{border-bottom:none!important}::ng-deep .mat-tab-label{padding:0!important;min-width:65px!important;color:var(--gray-200)!important;opacity:1.6!important;font-size:16px!important;margin-right:10px}.theme-sphere.day-mode .mat-tab-label ::ng-deep .mat-tab-label-active{color:var(--blue)!important}.theme-sphere.day-mode .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}:host ::ng-deep .mat-ink-bar{height:3px!important;background:var(--blue)!important;border-radius:5px!important}::ng-deep .theme-igot.day-mode .mat-ink-bar{background-color:var(--blue)!important}::ng-deep .theme-sphere.day-mode .mat-ink-bar{background-color:var(--blue)!important}.legend-container{display:flex;gap:10px;margin-top:20px;align-items:center;margin-bottom:20px}.legend-container h5{margin:0;font-weight:400;font-size:16px}@media only screen and (max-width:599px){.legend-container{gap:5px}.legend-container h5{font-size:12px}}.legend-container .legend{min-width:15px;height:15px;background:#dfedf9;border-radius:50%;border:.5px solid #959595}.legend-container .legend-green{background:var(--teal);margin-left:18px}.legend-container .legend-blue{background:#7cb5e6}.legend-container .legend-yellow{background:#fffbb0;margin-left:18px}.btn-start{width:311px;height:35px;background:var(--blue);border-radius:50px;border:none;color:var(--white)}.tab-container{display:flex;flex-direction:column;gap:10px;position:relative}.tab-container .btn-container{display:flex;justify-content:center}.tab-container .sortIcon{position:absolute;right:0;top:13px;width:20px}.header-width-icon ::ng-deep .mat-tab-header{width:calc(100% - 25px)}.tab-badge{font-weight:400;font-size:16px;color:#000}"] | ||
export { CompetencyDashboardComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGV0ZW5jeS1kYXNoYm9hcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsiY29tcG9uZW50cy9jb21wZXRlbmN5LWRhc2hib2FyZC9jb21wZXRlbmN5LWRhc2hib2FyZC5jb21wb25lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQztBQUN2RSxPQUFPLEVBQUUsU0FBUyxFQUFFLFlBQVksRUFBVSxNQUFNLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0YsT0FBTyxFQUFFLE1BQU0sRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQ3pDLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBUTdFLElBQWEsNEJBQTRCLEdBQXpDLE1BQWEsNEJBQTRCO0lBT3ZDLFlBQXFCLE1BQWMsRUFDMUIsYUFBNEIsRUFDNUIsb0JBQTBDO1FBRjlCLFdBQU0sR0FBTixNQUFNLENBQVE7UUFDMUIsa0JBQWEsR0FBYixhQUFhLENBQWU7UUFDNUIseUJBQW9CLEdBQXBCLG9CQUFvQixDQUFzQjtRQVJ6QyxnQkFBVyxHQUFzQixJQUFJLFlBQVksRUFBRSxDQUFDO1FBQzlELGFBQVEsR0FBRyxDQUFDLENBQUM7SUFTWixDQU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gIH1cblxufVxuIl19 |
@@ -46,2 +46,14 @@ import * as tslib_1 from "tslib"; | ||
} | ||
getRolesMapping() { | ||
const httpOtions = { | ||
url: urlConfig.getRoleMapping() | ||
}; | ||
return this.getwithouTAuthorization(httpOtions); | ||
} | ||
getRolesWiseCompetency() { | ||
const httpOtions = { | ||
url: urlConfig.getRoleWiseCompetency() | ||
}; | ||
return this.getwithouTAuthorization(httpOtions); | ||
} | ||
getCompetencyCourseIdentifier(data) { | ||
@@ -89,2 +101,2 @@ const reqBody = { | ||
export { ActiveSummaryService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0aXZlLXN1bW1hcnkuc2VydmljZS5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29tcGV0ZW5jeS8iLCJzb3VyY2VzIjpbInNlcnZpY2VzL2FjdGl2ZS1zdW1tYXJ5LnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDM0MsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLGdDQUFnQyxDQUFDO0FBQzdELE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRCxPQUFPLEVBQUUsU0FBUyxFQUFHLE1BQU0sZ0NBQWdDLENBQUM7QUFDNUQsT0FBTyxFQUFFLEdBQUcsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBQ3JDLE9BQU8sRUFBRSxhQUFhLEVBQUUsTUFBTSx3Q0FBd0MsQ0FBQzs7OztBQUN2RTs7OztHQUlHO0FBSUgsSUFBYSxvQkFBb0IsR0FBakMsTUFBYSxvQkFBcUIsU0FBUSxXQUFXO0lBRW5ELFlBQVksSUFBZSxFQUFTLGFBQTRCO1FBQzlELEtBQUssQ0FBQyxJQUF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AgfVxuXG4gICAgcHVibGljIGdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKGRhdGE6YW55KXsgXG4gICAgICBjb25zdCByZXFCb2R5ID0ge1xuICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgIFwiZmlsdGVyc1wiOiB7XG4gICAgICAgICAgICBcInByaW1hcnlDYXRlZ29yeVwiOiBbXG4gICAgICAgICAgICAgIFwiQ291cnNlXCJcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBcImNvbnRlbnRUeXBlXCI6IFtcbiAgICAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIFwic3RhdHVzXCI6IFtcbiAgICAgICAgICAgICAgXCJMaXZlXCJcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBcImNvbXBldGVuY3lcIjogW3RydWVdLFxuICAgICAgICAgICAgXCJsYW5nXCI6IGRhdGEgPT0gJ2hpJyA/ICdoaScgOiAnZW4nXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcInNvcnRcIjogW1xuICAgICAgICAgIHtcbiAgICAgICAgICAgIFwibGFzdFVwZGF0ZWRPblwiOiBcImRlc2NcIlxuICAgICAgICAgIH1cbiAgICAgICAgXVxuICAgICAgfVxuICAgICAgbGV0IGNvbmZpZyA9IHRoaXMuY29uZmlnU2VydmljZS5nZXRDb25maWcoKVxuICAgICAgY29uc3QgaHR0cE9wdGlvbnM6IGFueSA9IHtcbiAgICAgICAgdXJsOiAgIGNvbmZpZyEuaXNNb2JpbGVBcHA/ICAgdXJsQ29uZmlnLmdldFNlYXJjaE1vYmlsZSgpIDogdXJsQ29uZmlnLmdldFNlYXJjaCgpLFxuICAgICAgICBkYXRhOiByZXFCb2R5XG4gICAgICB9O1xuICAgICAgXG4gICAgICByZXR1cm4gdGhpcy5wb3N0KGh0dHBPcHRpb25zKVxuICAgIH1cbiAgXG59XG4iXX0= | ||
//# sourceMappingURL=data:application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pLnBpcGUobWFwKChyZXM6IGFueSkgPT4gcmVzLnJlc3VsdC5yZXNwb25zZSkpXG4gICAgfVxuXG4gICAgcHVibGljIGdldFJvbGVzTWFwcGluZygpe1xuICAgICBjb25zdCBodHRwT3Rpb25zOiBhbnkgPSB7XG4gICAgICB1cmw6IHVybENvbmZpZy5nZXRSb2xlTWFwcGluZygpXG4gICAgIH07XG5cbiAgICAgcmV0dXJuIHRoaXMuZ2V0d2l0aG91VEF1dGhvcml6YXRpb24oaHR0cE90aW9ucylcbiAgICB9XG5cbiAgICBwdWJsaWMgZ2V0Um9sZXNXaXNlQ29tcGV0ZW5jeSgpe1xuICAgICAgY29uc3QgaHR0cE90aW9uczogYW55ID0ge1xuICAgICAgIHVybDogdXJsQ29uZmlnLmdldFJvbGVXaXNlQ29tcGV0ZW5jeSgpXG4gICAgICB9O1xuIFxuICAgICAgcmV0dXJuIHRoaXMuZ2V0d2l0aG91VEF1dGhvcml6YXRpb24oaHR0cE90aW9ucylcbiAgICAgfVxuXG4gICAgcHVibGljIGdldENvbXBldGVuY3lDb3Vyc2VJZGVudGlmaWVyKGRhdGE6YW55KXsgXG4gICAgICBjb25zdCByZXFCb2R5ID0ge1xuICAgICAgICBcInJlcXVlc3RcIjoge1xuICAgICAgICAgIFwiZmlsdGVyc1wiOiB7XG4gICAgICAgICAgICBcInByaW1hcnlDYXRlZ29yeVwiOiBbXG4gICAgICAgICAgICAgIFwiQ291cnNlXCJcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBcImNvbnRlbnRUeXBlXCI6IFtcbiAgICAgICAgICAgICAgXCJDb3Vyc2VcIlxuICAgICAgICAgICAgXSxcbiAgICAgICAgICAgIFwic3RhdHVzXCI6IFtcbiAgICAgICAgICAgICAgXCJMaXZlXCJcbiAgICAgICAgICAgIF0sXG4gICAgICAgICAgICBcImNvbXBldGVuY3lcIjogW3RydWVdLFxuICAgICAgICAgICAgXCJsYW5nXCI6IGRhdGEgPT0gJ2hpJyA/ICdoaScgOiAnZW4nXG4gICAgICAgICAgfVxuICAgICAgICB9LFxuICAgICAgICBcInNvcnRcIjogW1xuICAgICAgICAgIHtcbiAgICAgICAgICAgIFwibGFzdFVwZGF0ZWRPblwiOiBcImRlc2NcIlxuICAgICAgICAgIH1cbiAgICAgICAgXVxuICAgICAgfVxuICAgICAgbGV0IGNvbmZpZyA9IHRoaXMuY29uZmlnU2VydmljZS5nZXRDb25maWcoKVxuICAgICAgY29uc3QgaHR0cE9wdGlvbnM6IGFueSA9IHtcbiAgICAgICAgdXJsOiAgIGNvbmZpZyEuaXNNb2JpbGVBcHA/ICAgdXJsQ29uZmlnLmdldFNlYXJjaE1vYmlsZSgpIDogdXJsQ29uZmlnLmdldFNlYXJjaCgpLFxuICAgICAgICBkYXRhOiByZXFCb2R5XG4gICAgICB9O1xuICAgICAgXG4gICAgICByZXR1cm4gdGhpcy5wb3N0KGh0dHBPcHRpb25zKVxuICAgIH1cbiAgXG59XG4iXX0= |
@@ -9,66 +9,127 @@ import * as _ from 'lodash-es'; | ||
}; | ||
this.formatedActivitityByPostion = (data, lang) => { | ||
if (_.get(data, 'result')) { | ||
const children = _.get(data, 'result.response').children; | ||
if (children.length > 0) { | ||
let result = _.reduce(children, (result, value) => { | ||
result.push({ | ||
'roles': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'id': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'averagePercentage': 0, | ||
'code': _.get(value.additionalProperties, 'Code') | ||
this.formatedActivitityByPostion = (data, lang, assessmentData, progrssData) => { | ||
let result = []; | ||
let activityMasterData = _.get(data, 'activity'); | ||
//console.log(activityMasterData); | ||
if (_.get(data, 'roles')) { | ||
_.forEach(data.roles, (role) => { | ||
const roleObject = _.values(role)[0]; | ||
const children = roleObject.children; | ||
let activities = _.reduce(children, (activitiesResult, value) => { | ||
const cid = _.get(value, 'id'); | ||
const filteredData = _.filter(activityMasterData, (obj) => _.has(obj, cid)); | ||
//console.log(filteredData); | ||
const childrenActivities = _.flatMap(filteredData, obj => { | ||
const filterDatachildren = _.get(obj, cid + '.children'); | ||
// console.log(filterDatachildren.length > 0) | ||
if (filterDatachildren.length > 0 || Object.keys(filterDatachildren).length > 0) { | ||
return _.map(filterDatachildren, child => ({ | ||
'title': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'cid': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'code': _.get(value.additionalProperties, 'Code'), | ||
'levels': this.getLevels(_.get(child, 'id'), progrssData, lang), | ||
'competency': lang == 'hi' ? this.getHiName(value) : _.get(child, 'name'), | ||
'id': _.get(child, 'id'), | ||
'lastLevel': this.getheighestLevel(_.get(child, 'id'), progrssData), | ||
'completionPercentage': this.getCompeletionPercentage(_.get(child, 'id'), progrssData), | ||
'levelDescription': _.get(child.additionalProperties, 'competencyLevelDescription') ? this.getLevelDescription(_.get(child.additionalProperties, 'competencyLevelDescription'), progrssData, _.get(child, 'id'), lang) : '', | ||
'assessmentData': this.setAssessmentData(_.get(child, 'id'), assessmentData) | ||
})); | ||
} | ||
else { | ||
return [{ | ||
'title': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'cid': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'code': _.get(value.additionalProperties, 'Code'), | ||
}]; | ||
} | ||
}); | ||
return result; | ||
if (_.some(childrenActivities, 'id')) { | ||
return activitiesResult.concat(_.uniqBy(childrenActivities, 'id') && _.uniqBy(childrenActivities, 'cid')); | ||
} | ||
else { | ||
return activitiesResult.concat(_.uniqBy(childrenActivities, 'cid')); | ||
} | ||
}, []); | ||
result = _.sortBy(result, [function (o) { return o.code; }]); | ||
// console.log("sort result", result); | ||
return result; | ||
} | ||
//console.log(activities); | ||
result.push({ | ||
'roles': lang == 'hi' ? this.getHiName(roleObject) : _.get(roleObject, 'name'), | ||
'id': _.get(roleObject, 'id'), | ||
'description': _.get(roleObject, 'description'), | ||
'averagePercentage': this.getAveragepercentage(activities), | ||
'code': _.get(roleObject.additionalProperties, 'Code'), | ||
'activities': activities | ||
}); | ||
}); | ||
//console.log(result); | ||
return result; | ||
} | ||
}; | ||
this.formatedActivitityByRoleId = (data, lang) => { | ||
if (_.get(data, 'result')) { | ||
const children = _.get(data, 'result.response').children; | ||
if (children.length > 0) { | ||
const result = _.reduce(children, (result, value) => { | ||
result.push({ | ||
'title': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'cid': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'code': _.get(value.additionalProperties, 'Code') | ||
this.formatedActivitityByRoleId = (data, lang, activityMasterData, prgressData, assessData) => { | ||
// if (_.get(data, 'result')) { | ||
// const children = _.get(data, 'result.response').children | ||
let competencydata; | ||
if (data.length > 0) { | ||
const result = _.reduce(data, (result, value) => { | ||
const filteredData = _.filter(activityMasterData, (obj) => _.has(obj, _.get(value, 'id'))); | ||
console.log('filteredData', filteredData); | ||
if (filteredData.length > 0) { | ||
_.forEach(filteredData, obj => { | ||
const childrenFilterData = _.get(obj, _.get(value, 'id') + '.children'); | ||
competencydata = this.formatedCompetency(childrenFilterData, prgressData, lang, assessData, _.get(value, 'id')); | ||
}); | ||
return result; | ||
}, []); | ||
return _.sortBy(result, [function (o) { return o.code; }]); | ||
} | ||
} | ||
result.push({ | ||
'title': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'cid': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'code': _.get(value.additionalProperties, 'Code') | ||
}); | ||
//console.log(competencydata) | ||
return [...result, ...competencydata]; | ||
}, []); | ||
// console.log(result) | ||
return _.sortBy(result, [function (o) { return o.code; }]); | ||
} | ||
}; | ||
this.formatedCompetency = (data, progrssData, lang, assessmentData) => { | ||
this.formatedCompetency = (data, progrssData, lang, assessmentData, cid) => { | ||
let result = []; | ||
_.forEach(data, (data) => { | ||
if (_.get(data, 'result')) { | ||
const children = _.get(data, 'result.response').children; | ||
if (children.length > 0) { | ||
_.forEach(children, (value) => { | ||
result.push({ | ||
'levels': this.getLevels(_.get(value, 'id'), progrssData, lang), | ||
'competency': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'id': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'cid': _.get(data, 'result.response').id, | ||
'lastLevel': this.getheighestLevel(_.get(value, 'id'), progrssData), | ||
'completionPercentage': this.getCompeletionPercentage(_.get(value, 'id'), progrssData), | ||
'code': _.get(value.additionalProperties, 'Code'), | ||
'levelDescription': _.get(value.additionalProperties, 'competencyLevelDescription') ? this.getLevelDescription(_.get(value.additionalProperties, 'competencyLevelDescription'), progrssData, _.get(value, 'id'), lang) : '', | ||
'assessmentData': this.setAssessmentData(_.get(value, 'id'), assessmentData) | ||
}); | ||
}); | ||
} | ||
} | ||
}); | ||
// _.forEach(data, (data: any) => { | ||
// if (_.get(data, 'result')) { | ||
// const children = _.get(data, 'result.response').children | ||
if (data.length > 0) { | ||
_.forEach(data, (value) => { | ||
result.push({ | ||
'levels': this.getLevels(_.get(value, 'id'), progrssData, lang), | ||
'competency': lang == 'hi' ? this.getHiName(value) : _.get(value, 'name'), | ||
'id': _.get(value, 'id'), | ||
'description': _.get(value, 'description'), | ||
'cid': cid, | ||
'lastLevel': this.getheighestLevel(_.get(value, 'id'), progrssData), | ||
'completionPercentage': this.getCompeletionPercentage(_.get(value, 'id'), progrssData), | ||
'code': _.get(value.additionalProperties, 'Code'), | ||
'levelDescription': _.get(value.additionalProperties, 'competencyLevelDescription') ? this.getLevelDescription(_.get(value.additionalProperties, 'competencyLevelDescription'), progrssData, _.get(value, 'id'), lang) : '', | ||
'assessmentData': this.setAssessmentData(_.get(value, 'id'), assessmentData) | ||
}); | ||
}); | ||
} | ||
// } | ||
// }) | ||
result = _.sortBy(result, [function (o) { return o.code; }]); | ||
//console.log("competency", result) | ||
return _.uniqBy(result, 'id'); | ||
}; | ||
} | ||
getAveragepercentage(data) { | ||
let totalLength = data.length; | ||
let percentage = []; | ||
let totalPercent = 0; | ||
_.forEach(data, (value) => { | ||
percentage.push(value.completionPercentage); | ||
}); | ||
totalPercent = _.round(_.sum(percentage) / totalLength); | ||
return totalPercent ? totalPercent : 0; | ||
} | ||
getHiName(data) { | ||
@@ -174,3 +235,3 @@ let res; | ||
const competency = passbookValue.competencies[cid]; | ||
console.log(competency); | ||
//console.log(competency) | ||
response.push({ | ||
@@ -362,2 +423,2 @@ 'title': lang == 'hi' ? this.getHiTitle(cid, entity, competency) : _.get(competency, 'additionalParams.competencyName'), | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVxdWVzdC11dGlsLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb21wZXRlbmN5LyIsInNvdXJjZXMiOlsic2VydmljZXMvcmVxdWVzdC11dGlsLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sS0FBSyxDQUFDLE1BQU0sV0FBVyxDQUFDO0FBQy9CLE1BQU0sT0FBTyxXQUFXO0lBQXhCO1FBQ0UsdUJBQWtCLEdBQUcsQ0FBQyxJQUFTLEVBQUUsRUFBRTtZQUNqQyxJQUFJLENBQUMsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxJQUFJLENBQUMsRUFBRTtnQkFDcEIsT0FBTyxJQUFJLENBQUE7YUFDWjtRQUVILENBQUMsQ0FBQTtRQUNELGdDQUEyQixHQUFHLENBQUMsSUFBUyxFQUFFLElBQVMsRUFBRSxFQUFFO1lBQ3JELElBQUksQ0FBQyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEVBQUUsUUFBUSxDQUFDLEVBQUU7Z0JBQ3pCLE1BQU0sUUFBUSxHQUFHLENBQUMsQ0FBQyxHQUFHLENBQUMsSUFBSSxFQUFFLGlCQUFpQixDQUFDLENBQUMsUUFBUSxDQUFBO2dCQUN4RCxJQUFJLFFBQVEsQ0FBQyxNQUFNLEd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dXJzZSc6IHtcbiAgICAgICAgICBfLmZvckVhY2gocmVzcG9uc2UsIChsZXZlbDogYW55KSA9PiB7XG4gICAgICAgICAgICBpZiAobGV2ZWwuZGlzcGxheUxldmVsID09IF8uZ2V0KHZhbHVlLCAnY29tcGV0ZW5jeUxldmVsSWQnKSkge1xuICAgICAgICAgICAgICBsZXZlbC5jb2xvciA9ICcjRkZGQkIwJztcbiAgICAgICAgICAgICAgbGV2ZWwuc2VsZWN0ZWQgPSB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSlcblxuICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGNhc2UgJ0NvdXJzZSc6IHtcbiAgICAgICAgICBfLmZvckVhY2gocmVzcG9uc2UsIChsZXZlbDogYW55KSA9PiB7XG4gICAgICAgICAgICBpZiAobGV2ZWwuZGlzcGxheUxldmVsID09IF8uZ2V0KHZhbHVlLCAnY29tcGV0ZW5jeUxldmVsSWQnKSkge1xuICAgICAgICAgICAgICBsZXZlbC5jb2xvciA9ICcjRkZGQkIwJztcbiAgICAgICAgICAgICAgbGV2ZWwuc2VsZWN0ZWQgPSB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSlcblxuICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGNhc2UgJ3NlbGZBc3Nlc3NtZW50Jzoge1xuICAgICAgICAgIF8uZm9yRWFjaChyZXNwb25zZSwgKGxldmVsOiBhbnkpID0+IHtcbiAgICAgICAgICAgIGlmIChsZXZlbC5kaXNwbGF5TGV2ZWwgPT0gXy5nZXQodmFsdWUsICdjb21wZXRlbmN5TGV2ZWxJZCcpKSB7XG4gICAgICAgICAgICAgIGxldmVsLmNvbG9yID0gJyNBNERGQ0EnO1xuICAgICAgICAgICAgICBsZXZlbC5zZWxlY3RlZCA9IHRydWVcblxuICAgICAgICAgICAgfVxuICAgICAgICAgIH0pXG5cbiAgICAgICAgICBicmVhaztcbiAgICAgICAgfVxuICAgICAgICBjYXNlICdhZG1pbic6IHtcbiAgICAgICAgICBfLmZvckVhY2gocmVzcG9uc2UsIChsZXZlbDogYW55KSA9PiB7XG4gICAgICAgICAgICBpZiAobGV2ZWwuZGlzcGxheUxldmVsID09IF8uZ2V0KHZhbHVlLCAnY29tcGV0ZW5jeUxldmVsSWQnKSkge1xuICAgICAgICAgICAgICBsZXZlbC5jb2xvciA9ICcjN2NiNWU2JztcbiAgICAgICAgICAgICAgbGV2ZWwuc2VsZWN0ZWQgPSB0cnVlXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSlcblxuICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGRlZmF1bHQ6IHtcbiAgICAgICAgICBfLmZvckVhY2gocmVzcG9uc2UsIChsZXZlbDogYW55KSA9PiB7XG4gICAgICAgICAgICBpZiAobGV2ZWwuZGlzcGxheUxldmVsID09IF8uZ2V0KHZhbHVlLCAnY29tcGV0ZW5jeUxldmVsSWQnKSkge1xuICAgICAgICAgICAgICBsZXZlbC5jb2xvciA9ICcjRkZGQkIwJztcbiAgICAgICAgICAgICAgbGV2ZWwuc2VsZWN0ZWQgPSBmYWxzZTtcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KVxuXG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9KVxuICAgIHJldHVybiByZXNwb25zZVxuICB9XG4gIGNvbXBldGVuY3lTdG9yZURhdGFGb21hdChkYXRhKSB7XG4gICAgbGV0IHJlc3BvbnNlID0ge31cbiAgICBsZXQgbGV2ZWxzID0gW11cbiAgICBpZiAoZGF0YS5hY3F1aXJlZERldGFpbHMpIHtcbiAgICAgIF8uZm9yRWFjaChkYXRhLmFjcXVpcmVkRGV0YWlscywgKHZhbHVlOiBhbnkpID0+IHtcbiAgICAgICAgaWYgKHZhbHVlLmNvbXBldGVuY3lMZXZlbElkKSB7XG4gICAgICAgICAgbGV2ZWxzLnB1c2godmFsdWUuY29tcG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21wZXRlbmN5TGV2ZWxJZCcpKSB7XG4gICAgICAgICAgICAgIGxldmVsLmNvbG9yID0gJyNGRkZCQjAnO1xuICAgICAgICAgICAgICBsZXZlbC5zZWxlY3RlZCA9IHRydWVcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KVxuXG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgY2FzZSAnQ291cnNlJzoge1xuICAgICAgICAgIF8uZm9yRWFjaChyZXNwb25zZSwgKGxldmVsOiBhbnkpID0+IHtcbiAgICAgICAgICAgIGlmIChsZXZlbC5kaXNwbGF5TGV2ZWwgPT0gXy5nZXQodmFsdWUsICdjb21wZXRlbmN5TGV2ZWxJZCcpKSB7XG4gICAgICAgICAgICAgIGxldmVsLmNvbG9yID0gJyNGRkZCQjAnO1xuICAgICAgICAgICAgICBsZXZlbC5zZWxlY3RlZCA9IHRydWVcbiAgICAgICAgICAgIH1cbiAgICAgICAgICB9KVxuXG4gICAgICAgICAgYnJlYWs7XG4gICAgICAgIH1cbiAgICAgICAgY2FzZSAnc2VsZkFzc2Vzc21lbnQnOiB7XG4gICAgICAgICAgXy5mb3JFYWNoKHJlc3BvbnNlLCAobGV2ZWw6IGFueSkgPT4ge1xuICAgICAgICAgICAgaWYgKGxldmVsLmRpc3BsYXlMZXZlbCA9PSBfLmdldCh2YWx1ZSwgJ2NvbXBldGVuY3lMZXZlbElkJykpIHtcbiAgICAgICAgICAgICAgbGV2ZWwuY29sb3IgPSAnI0E0REZDQSc7XG4gICAgICAgICAgICAgIGxldmVsLnNlbGVjdGVkID0gdHJ1ZVxuXG4gICAgICAgICAgICB9XG4gICAgICAgICAgfSlcblxuICAgICAgICAgIGJyZWFrO1xuICAgICAgICB9XG4gICAgICAgIGNhc2UgJ2FkbWluJzoge1xuICAgICAgICAgIF8uZm9yRWFjaChyZXNwb25zZSwgKGxldmVsOiBhbnkpID0+IHtcbiAgICAgICAgICAgIGlmIChsZXZlbC5kaXNwbGF5TGV2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AgICAgICAgICAgICdiYXRjaElkJzogdGhpcy5nZXRCYXRjaERhdGEodmFsdWUpLFxuICAgICAgICAgICAgJ2NoaWxkQ29udGVudCc6IF8uZ2V0KHZhbHVlLCAnY2hpbGROb2RlcycpLmxlbmd0aCxcbiAgICAgICAgICAgICdjb21wZXRlbmN5SUQnOiB0aGlzLmdldENvbXBldGVuY3lEYXRhKHZhbHVlLmNvbXBldGVuY2llc192MSlcblxuICAgICAgICAgIH0pXG4gICAgICAgIH0pXG5cbiAgICAgIH1cblxuXG4gICAgfVxuXG4gICAgcmV0dXJuIHJlc3VsdDtcbiAgfVxuXG4gIGdldENvbXBldGVuY3lEYXRhKGNvbXBldGVuY3k6IGFueSkge1xuICAgIGlmIChjb21wZXRlbmN5KSB7XG4gICAgICBsZXQgZGF0YSA9IEpTT04ucGFyc2UoY29tcGV0ZW5jeSlcbiAgICAgIHJldHVybiBkYXRhWzBdLmNvbXBldGVuY3lJZFxuICAgIH1cbiAgfVxuXG4gIGdldEJhdGNoRGF0YShkYXRhKSB7XG4gICAgbGV0IGJhdGNoSWQgPSAnJ1xuICAgIGlmIChkYXRhLmJhdGNoZXMpIHtcbiAgICAgIF8uZm9yRWFjaChkYXRhLmJhdGNoZXMsICh2YWx1ZTogYW55KSA9PiB7XG4gICAgICAgIGJhdGNoSWQgPSBfLmdldCh2YWx1ZSwgJ2JhdGNoSWQnKVxuICAgICAgfSlcbiAgICB9XG5cbiAgICByZXR1cm4gYmF0Y2hJZDtcbiAgfVxufVxuXG5cblxuIl19 |
@@ -1,2 +0,2 @@ | ||
const ɵ0 = () => `${urlConfig.host}${urlConfig.apiSlug}`, ɵ1 = () => `${urlConfig.host}${urlConfig.apiProxy}`, ɵ2 = () => `${urlConfig.host}${urlConfig.apiPublic}`, ɵ3 = (id) => `${urlConfig.apiBasePath()}/entityCompetency/getEntityById/${id}`, ɵ4 = () => `${urlConfig.apiBasePath()}/entityCompetency/getAllEntity`, ɵ5 = () => `${urlConfig.apiBaseProxy()}/user/v1/passbook`, ɵ6 = () => `${urlConfig.apiBasePublic()}/publicSearch/getCourses`, ɵ7 = (identifier, hierarchyType) => `${urlConfig.apiBaseProxy()}/action/content/v3/hierarchy/${identifier}?hierarchyType=${hierarchyType}`, ɵ8 = (wid) => `${urlConfig.apiBaseProxy()}/api/user/v2/read/${wid}`, ɵ9 = (id) => `${urlConfig.apiBaseProxy()}/read/content-progres/${id}`, ɵ10 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/mobileApp/getAllEntity`, ɵ11 = () => `${urlConfig.mobileHost}/api/user/v1/passbook`, ɵ12 = (wid) => `${urlConfig.mobileHost}/api/user/v2/read/${wid}`, ɵ13 = (id) => `${urlConfig.mobileHost}${urlConfig.apiPublic}/mobileApp/getEntityById/${id}`, ɵ14 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/publicSearch/getCourses`, ɵ15 = () => `${urlConfig.mobileHost}/api/course/v1/content/state/read`; | ||
const ɵ0 = () => `${urlConfig.host}${urlConfig.apiSlug}`, ɵ1 = () => `${urlConfig.host}${urlConfig.apiProxy}`, ɵ2 = () => `${urlConfig.host}${urlConfig.apiPublic}`, ɵ3 = (id) => `${urlConfig.apiBasePath()}/entityCompetency/getEntityById/${id}`, ɵ4 = () => `${urlConfig.apiBasePath()}/entityCompetency/getAllEntity`, ɵ5 = () => `${urlConfig.apiBaseProxy()}/user/v1/passbook`, ɵ6 = () => `${urlConfig.apiBasePublic()}/publicSearch/getCourses`, ɵ7 = (identifier, hierarchyType) => `${urlConfig.apiBaseProxy()}/action/content/v3/hierarchy/${identifier}?hierarchyType=${hierarchyType}`, ɵ8 = (wid) => `${urlConfig.apiBaseProxy()}/api/user/v2/read/${wid}`, ɵ9 = (id) => `${urlConfig.apiBaseProxy()}/read/content-progres/${id}`, ɵ10 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/mobileApp/getAllEntity`, ɵ11 = () => `${urlConfig.mobileHost}/api/user/v1/passbook`, ɵ12 = (wid) => `${urlConfig.mobileHost}/api/user/v2/read/${wid}`, ɵ13 = (id) => `${urlConfig.mobileHost}${urlConfig.apiPublic}/mobileApp/getEntityById/${id}`, ɵ14 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/publicSearch/getCourses`, ɵ15 = () => `${urlConfig.mobileHost}/api/course/v1/content/state/read`, ɵ16 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/competencyAssets/rolesMappingData`, ɵ17 = () => `${urlConfig.mobileHost}${urlConfig.apiPublic}/competencyAssets/roleWiseCompetencyData`; | ||
/** | ||
@@ -29,4 +29,6 @@ * urlConfig to return the api url | ||
getContentProgressMobile: ɵ15, | ||
getRoleMapping: ɵ16, | ||
getRoleWiseCompetency: ɵ17 | ||
}; | ||
export { ɵ0, ɵ1, ɵ2, ɵ3, ɵ4, ɵ5, ɵ6, ɵ7, ɵ8, ɵ9, ɵ10, ɵ11, ɵ12, ɵ13, ɵ14, ɵ15 }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXJsLmNvbmZpZy5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvY29yZS8iLCJzb3VyY2VzIjpbImNvbmZpZy91cmwuY29uZmlnLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJXQVdlLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsT0FBTyxFQUFFLE9BQzdDLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsUUFBUSxFQUFFLE9BQzdDLEdBQUcsRUFBRSxDQUFDLEdBQUcsU0FBUyxDQUFDLElBQUksR0FBRyxTQUFTLENBQUMsU0FBUyxFQUFFLE9BRTlDLENBQUMsRUFBUyxFQUFFLEVBQUUsQ0FBQyxHQUFHLFNBQVMsQ0FBQyxXQUFXLEVBQUU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aWxlSG9zdH0ke3VybENvbmZpZy5hcGlQdWJsaWN9L2NvbXBldGVuY3lBc3NldHMvcm9sZXNNYXBwaW5nRGF0YWAsXG4gIGdldFJvbGVXaXNlQ29tcGV0ZW5jeTooKSA9PiBgJHt1cmxDb25maWcubW9iaWxlSG9zdH0ke3VybENvbmZpZy5hcGlQdWJsaWN9L2NvbXBldGVuY3lBc3NldHMvcm9sZVdpc2VDb21wZXRlbmN5RGF0YWBcblxufVxuIl19 |
@@ -39,2 +39,18 @@ import * as tslib_1 from "tslib"; | ||
} | ||
getwithouTAuthorization(requestParam) { | ||
let config = this.configService.getConfig(); | ||
let httpOptions = { | ||
headers: this.getHeader(), | ||
params: requestParam.param, | ||
observe: 'response' | ||
}; | ||
return this.http.get(requestParam.url, httpOptions).pipe(mergeMap(({ body, headers }) => { | ||
if (body.status === 200) { | ||
return observableOf(body); | ||
} | ||
else { | ||
return observableThrowError(body); | ||
} | ||
})); | ||
} | ||
/** | ||
@@ -99,2 +115,2 @@ * for making get api calls | ||
export { DataService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGF0YS5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6Im5nOi8vQGFhc3RyaWthX25wbWpzL2NvbXB0ZW5jeS9jb3JlLyIsInNvdXJjZXMiOlsic2VydmljZXMvZGF0YS5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQzNDLE9BQU8sRUFBRSxVQUFVLEVBQUUsTUFBTSxzQkFBc0IsQ0FBQztBQUNsRCxPQUFPLEVBQUMsUUFBUSxFQUFDLE1BQU0sZ0JBQWdCLENBQUE7QUFDdkMsT0FBTyxFQUFFLEVBQUUsSUFBSSxZQUFZLEVBQUUsVUFBVSxJQUFJLG9CQUFvQixFQUFjLE1BQU0sTUFBTSxDQUFDO0FB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kge1xuICAgIGNvbnN0IGRlZmF1bHRfaGVhZGVycyA9IHtcbiAgICAgICdBdXRob3JpemF0aW9uJzogYEJlYXJlciBleUpoYkdjaU9pSklVekkxTmlJc0luUjVjQ0k2SWtwWFZDSjkuZXlKcGMzTWlPaUpUTkhOTlZGZGpaVVpxWWt4VVdHeGljemt6VXprNGRtRnRPREJoZGtSUFVpSjkublBPQ1kwLWJWWDI4aU5jeHhuWWJHcGloWTNaemZOd3gwLVNGQ25Kd2phc2AsXG4gICAgICAnWC1hdXRoZW50aWNhdGVkLXVzZXItdG9rZW4nOiBzZXNzaW9uID8gc2Vzc2lvbi5hY2Nlc3NfdG9rZW4gOiAnJyxcbiAgICB9XG4gICAgaWYgKGhlYWRlcikge1xuICAgICAgcmV0dXJuIHsgLi4uZGVmYXVsdF9oZWFkZXJzLCAuLi5oZWFkZXIgfVxuICAgIH0gZWxzZSB7XG5cbiAgICAgIHJldHVybiB7IC4uLmRlZmF1bHRfaGVhZGVycyB9XG4gICAgfVxuICB9XG59XG4iXX0= |
@@ -34,2 +34,5 @@ import * as tslib_1 from "tslib"; | ||
} | ||
clearConfig() { | ||
this.config$.next({}); | ||
} | ||
}; | ||
@@ -47,2 +50,2 @@ ConfigService.ctorParameters = () => [ | ||
export { ConfigService }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5LyIsInNvdXJjZXMiOlsiZW50cnktbW9kdWxlL3NlcnZpY2VzL2NvbmZpZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDN0QsT0FBTyxFQUFVLGVBQWUsRUFBRSxNQUFNLE1BQU0sQ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KSBwdWJsaWMgY29uZmlnOkNvbmZpZ3VyYXRpb25Db250ZXh0ICkgeyBcbiAgICBjb25zb2xlLmxvZygnbG9nIGluIGNvbmZpZyBzZXJ2aWNlICcsIGNvbmZpZylcbiAgICBpZighXy5pc0VtcHR5KGNvbmZpZykpe1xuICAgICAgY29uc29sZS5sb2coJ2NvbnRleHQgbG9nIGluIGNvbmZpZyBzZXJ2aWNlIC0tLS0tLSAnLCBjb25maWcpXG4gICAgICB0aGlzLnNldENvbmZpZyhjb25maWcpXG4gICAgfVxuICB9XG4gIHB1YmxpYyBzZXRDb25maWcoY29udGV4dCkge1xuICAgIHRoaXMuY29uZmlnJC5uZXh0KGNvbnRleHQpXG4gIH1cbiAgcHVibGljIGdldENvbmZpZygpe1xuICAgIGxldCBjb25maWcgOmFueSBcbiAgICB0aGlzLl9jb25maWcuc3Vic2NyaWJlKChyZXM6YW55KT0+e1xuICAgICAgaWYoIV8uaXNFbXB0eShyZXMpKXtcbiAgICAgICAgY29uZmlnID0gIHJlc1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgY29uc3QgY19jb2ZpZyA9IEpTT04ucGFyc2UobG9jYWxTdG9yYWdlLmdldEl0ZW0oJ2NvbXBldGVuY3knKSlcbiAgICAgICAgY29uZmlnID0gY19jb2ZpZ1xuICAgICAgfVxuICAgICBcbiAgICB9KVxuICAgIHJldHVybiBjb25maWdcbiAgfVxuIFxufVxuIl19 | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29uZmlnLnNlcnZpY2UuanMiLCJzb3VyY2VSb290Ijoibmc6Ly9AYWFzdHJpa2FfbnBtanMvY29tcHRlbmN5LyIsInNvdXJjZXMiOlsiZW50cnktbW9kdWxlL3NlcnZpY2VzL2NvbmZpZy5zZXJ2aWNlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxPQUFPLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxRQUFRL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mplY3Q8YW55PiA9IG5ldyBCZWhhdmlvclN1YmplY3Q8YW55Pih7fSk7XG4gIHByaXZhdGUgX2NvbmZpZyA9IHRoaXMuY29uZmlnJC5hc09ic2VydmFibGUoKVxuIFxuICBjb25zdHJ1Y3RvcihAT3B0aW9uYWwoKSBASW5qZWN0KCdjb25maWcnKSBwdWJsaWMgY29uZmlnOkNvbmZpZ3VyYXRpb25Db250ZXh0ICkgeyBcbiAgICBjb25zb2xlLmxvZygnbG9nIGluIGNvbmZpZyBzZXJ2aWNlICcsIGNvbmZpZylcbiAgICBpZighXy5pc0VtcHR5KGNvbmZpZykpe1xuICAgICAgY29uc29sZS5sb2coJ2NvbnRleHQgbG9nIGluIGNvbmZpZyBzZXJ2aWNlIC0tLS0tLSAnLCBjb25maWcpXG4gICAgICB0aGlzLnNldENvbmZpZyhjb25maWcpXG4gICAgfVxuICB9XG4gIHB1YmxpYyBzZXRDb25maWcoY29udGV4dCkge1xuICAgIHRoaXMuY29uZmlnJC5uZXh0KGNvbnRleHQpXG4gIH1cbiAgcHVibGljIGdldENvbmZpZygpe1xuICAgIGxldCBjb25maWcgOmFueSBcbiAgICB0aGlzLl9jb25maWcuc3Vic2NyaWJlKChyZXM6YW55KT0+e1xuICAgICAgaWYoIV8uaXNFbXB0eShyZXMpKXtcbiAgICAgICAgY29uZmlnID0gIHJlc1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgY29uc3QgY19jb2ZpZyA9IEpTT04ucGFyc2UobG9jYWxTdG9yYWdlLmdldEl0ZW0oJ2NvbXBldGVuY3knKSlcbiAgICAgICAgY29uZmlnID0gY19jb2ZpZ1xuICAgICAgfVxuICAgICBcbiAgICB9KVxuICAgIHJldHVybiBjb25maWdcbiAgfVxuICBwdWJsaWMgY2xlYXJDb25maWcoKSB7XG4gICAgdGhpcy5jb25maWckLm5leHQoe30pO1xuICB9XG59XG4iXX0= |
@@ -185,3 +185,3 @@ import * as tslib_1 from "tslib"; | ||
selector: 'lib-self-assessment', | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"content\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-template>\n</div>\n", | ||
template: "<lib-app-loader *ngIf=\"loading === true\"></lib-app-loader>\n<div class=\"content\" *ngIf=\"selfAssessmentData\">\n <ng-container *ngIf=\"selfAssessmentData.length > 0; else noData \">\n <ng-container *ngFor=\"let cardData of selfAssessmentData\">\n <ng-container *ngIf=\"cardData\">\n <lib-self-assessment-card [cardData]=\"cardData\" [btnType]=\"btnType\"></lib-self-assessment-card>\n </ng-container>\n </ng-container>\n </ng-container>\n <ng-template #noData>\n <ng-container *ngIf=\"!loading\">\n <lib-no-result [data]=\"noResultData\"></lib-no-result>\n </ng-container>\n </ng-template>\n</div>\n", | ||
styles: [""] | ||
@@ -191,2 +191,2 @@ }) | ||
export { SelfAssessmentComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BhYXN0cmlrYV9ucG1qcy9jb21wdGVuY3kvIiwic291cmNlcyI6WyJzZWxmLWFzc2Vzc21lbnQvY29tcG9uZW50cy9zZWxmLWFzc2Vzc21lbnQvc2VsZi1hc3Nlc3NtZW50LmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLFFBQVEs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gICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID4gMCkge1xuICAgICAgICAgICAgICBpZiAocmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGggPiAwICYmIHZhbHVlLmNoaWxkQ29udGVudCA9PT0gcmVzLnJlc3VsdC5jb250ZW50TGlzdC5sZW5ndGgpIHtcbiAgICAgICAgICAgICAgICBsZXQgdHlwZSA9ICcnXG4gICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICB0eXBlXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDApIHtc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IHtcbiAgLy8gICAgICAgICAgICAgICBsZXQgdHlwZSA9ICcnXG4gIC8vICAgICAgICAgICAgICAgXy5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgLy8gICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAvLyAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gIC8vICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAvLyAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgLy8gICAgICAgICAgICAgICAgIH1cbiAgLy8gICAgICAgICAgICAgICB9KVxuICAvLyAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgLy8gICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gIC8vICAgICAgICAgICAgICAgICB0eXBlXG4gIC8vICAgICAgICAgICAgICAgfSlcbiAgLy8gICAgICAgICAgICAgfSBlbHNlIHtcbiAgLy8gICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gIC8vICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAvLyAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgLy8gICAgICAgICAgICAgICB9KVxuICAvLyAgICAgICAgICAgICB9XG4gIC8vICAgICAgICAgICB9XG4gIC8vICAgICAgICAgfVxuXG4gIC8vICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDApIHtcbiAgLy8gICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgLy8gICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgLy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y5mb3JFYWNoKHJlcy5yZXN1bHQuY29udGVudExpc3QsIChpdGVtOiBhbnkpID0+IHtcbiAgICAgICAgICAgICAgICAgIGlmIChpdGVtLmNvbXBsZXRpb25QZXJjZW50YWdlID09PSAxMDAgJiYgaXRlbS5jb21wbGV0aW9uUGVyY2VudGFnZSAhPT0gMCkge1xuICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICB0eXBlXG4gICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgICAgfVxuXG4gICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDApIHtcbiAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJ1xuICAgICAgICAgICAgfSlcbiAgICAgICAgICB9XG4gICAgICAgIH0pXG4gICAgICB9KVxuICAgICAgdGhpcy5sb2FkaW5nID0gZmFsc2VcbiAgICB9KVxuXG4gICAgY29uc29sZS5sb2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vLyAgICAgICAgICAgICAgICAgICB0eXBlID0gJ0RPTkUnXG4gIC8vICAgICAgICAgICAgICAgICB9IGVsc2Uge1xuICAvLyAgICAgICAgICAgICAgICAgICB0eXBlID0gJ1JFU1VNRSdcbiAgLy8gICAgICAgICAgICAgICAgIH1cbiAgLy8gICAgICAgICAgICAgICB9KVxuICAvLyAgICAgICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgLy8gICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gIC8vICAgICAgICAgICAgICAgICB0eXBlXG4gIC8vICAgICAgICAgICAgICAgfSlcbiAgLy8gICAgICAgICAgICAgfSBlbHNlIHtcbiAgLy8gICAgICAgICAgICAgICB0aGlzLmJ0blR5cGUucHVzaCh7XG4gIC8vICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAvLyAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgLy8gICAgICAgICAgICAgICB9KVxuICAvLyAgICAgICAgICAgICB9XG4gIC8vICAgICAgICAgICB9XG4gIC8vICAgICAgICAgfVxuXG4gIC8vICAgICAgICAgaWYgKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDApIHtcbiAgLy8gICAgICAgICAgIHRoaXMuYnRuVHlwZS5wdXNoKHtcbiAgLy8gICAgICAgICAgICAgY291cnNlSWQ6IHZhbHVlLmNvbnRlbnRJZCxcbiAgLy8gICAgICAgICAgICAgdHlwZTogJ1NUQVJUJ1xuICAvLyAgICAgICAgICAgfSlcbiAgLy8gICAgICAgICB9XG4gIC8vICAgICAgIH0pXG4gIC8vICAgICB9KVxuXG4gIC8vICAgICB0aGlzLmxvYWRpbmcgPSBmYWxzZVxuICAvLyAgIH0pXG4gIC8vIH1cblxuICBnZXRDb21wZXRlbmN5RmlsdGVyKGRhdGEpe1xuICAgIGxldCByZXN1bHQgPSBbXVxuICAgIF8uZm9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Fzc2Vzc21lbnRTZXJ2aWNlLmZldGNoUHJncmVzc0RldGFpbHMocmVxYm9keSlcbiAgfVxuXG5cbiAgbmF2aWdhdGVCYWNrKCkge1xuICAgIHRoaXMubG9jYXRpb24uYmFjaygpXG4gIH1cblxufVxuIl19 |
@@ -25,2 +25,3 @@ import * as tslib_1 from "tslib"; | ||
var _this = this; | ||
this.designationMap(this.desigination); | ||
this.getProgress(); | ||
@@ -33,4 +34,8 @@ this.loading = true; | ||
} | ||
if (!_this.desigination) { | ||
_this.desigination = res.profileDetails.profileReq.professionalDetails[0].designation; | ||
_this.designationMap(_this.desigination); | ||
} | ||
if (_this.profileData) { | ||
var getActivity = _this.getActivityByRole(); | ||
var getActivity = _this.getRolesWiseCompetencyData(); | ||
var getCourses = _this.getCompetencyCourse(); | ||
@@ -40,12 +45,14 @@ return forkJoin([getActivity, getCourses]); | ||
})).subscribe(function (res) { | ||
console.log(res); | ||
var rolesCompetencyData = _.find(res[0].response, { 'position': _this.desigination }); | ||
console.log(rolesCompetencyData); | ||
_this.assessmentData = _this.requestUtil.formatedCompetencyCourseData(res[1]); | ||
_this.getAssessmentBtnType(_this.assessmentData); | ||
var formatedResponse = _this.requestUtil.formatedActivitityByPostion(res[0], _this.language); | ||
var formatedResponse = _this.requestUtil.formatedActivitityByPostion(rolesCompetencyData, _this.language, _this.assessmentData, _this.competencyProgress); | ||
// const formatedResponse = this.requestUtil.formatedActivitityByPostion(rolesCompetencyData, this.language, this.assessmentData, this.competencyProgress) | ||
_this.roleactivitySummaries = formatedResponse; | ||
_.forEach(_this.roleactivitySummaries, function (value) { | ||
if (value.id) { | ||
_this.getActivityByRoleId(value.id); | ||
} | ||
}); | ||
_this.loading = false; | ||
console.log("data after the activity", _this.roleactivitySummaries); | ||
}); | ||
console.log("data after the activity", this.roleactivitySummaries); | ||
}; | ||
@@ -117,3 +124,3 @@ ActiveSummaryComponent.prototype.getProgress = function () { | ||
}; | ||
ActiveSummaryComponent.prototype.getActivityByRole = function () { | ||
ActiveSummaryComponent.prototype.getRolesWiseCompetencyData = function () { | ||
var designation; | ||
@@ -123,2 +130,9 @@ if (this.profileData.professionalDetails) { | ||
} | ||
return this.activeSummaryService.getRolesWiseCompetency(); | ||
}; | ||
ActiveSummaryComponent.prototype.getActivityByRole = function (id) { | ||
var designation; | ||
if (this.profileData.professionalDetails) { | ||
designation = this.profileData.professionalDetails[0].designation; | ||
} | ||
var reqBody = { | ||
@@ -128,3 +142,3 @@ filter: { | ||
}, | ||
id: this.designationMap(designation) | ||
id: id | ||
}; | ||
@@ -134,12 +148,25 @@ return this.activeSummaryService.getActivityById(reqBody); | ||
ActiveSummaryComponent.prototype.designationMap = function (designation) { | ||
var positionMap = { | ||
"AWW": 95, | ||
"ANM": 210, | ||
"GNM": 521 | ||
}; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
return positionMap[designation]; | ||
} | ||
else | ||
var _this = this; | ||
var positionMap; | ||
this.activeSummaryService.getRolesMapping().pipe().subscribe(function (res) { | ||
console.log(res); | ||
positionMap = res.response; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
_this.roleId = positionMap[designation]; | ||
return _this.roleId; | ||
} | ||
else | ||
_this.roleId = 1; | ||
return 1; | ||
}, function (err) { | ||
console.log("error", err); | ||
positionMap = err; | ||
if (positionMap.hasOwnProperty(designation)) { | ||
_this.roleId = positionMap[designation]; | ||
return _this.roleId; | ||
} | ||
else | ||
_this.roleId = 1; | ||
return 1; | ||
}); | ||
}; | ||
@@ -211,2 +238,5 @@ ActiveSummaryComponent.prototype.getActivityByRoleId = function (id) { | ||
], ActiveSummaryComponent.prototype, "isMobileApp", void 0); | ||
tslib_1.__decorate([ | ||
Input() | ||
], ActiveSummaryComponent.prototype, "desigination", void 0); | ||
ActiveSummaryComponent = tslib_1.__decorate([ | ||
@@ -223,2 +253,2 @@ Component({ | ||
export { ActiveSummaryComponent }; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWN0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AgKXtcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnRE9ORSdcbiAgICAgICAgICAgICAgICAgICAgICB9ZWxzZXtcbiAgICAgICAgICAgICAgICAgICAgICAgIHR5cGUgPSAnUkVTVU1FJ1xuICAgICAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZVxuICAgICAgICAgICAgICAgICAgICB9KVxuICAgICAgICAgICAgICAgICAgfSBlbHNlIHtcbiAgICAgICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgICAgIGNvbXBldGVuY3lJZDogdmFsdWUuY29tcGV0ZW5jeUlELFxuICAgICAgICAgICAgICAgICAgICAgIGNvdXJzZUlkOiB2YWx1ZS5jb250ZW50SWQsXG4gICAgICAgICAgICAgICAgICAgICAgdHlwZTogJ1JFU1VNRSdcbiAgICAgICAgICAgICAgICAgICAgfSlcbiAgICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgICAgICB9XG4gICAgICAgICAgICAgIH1cbiAgXG4gICAgICAgICAgICAgIGlmKHJlcy5yZXN1bHQuY29udGVudExpc3QubGVuZ3RoID09IDAgKSB7XG4gICAgICAgICAgICAgICAgdGhpcy5idG5UeXBlLnB1c2goe1xuICAgICAgICAgICAgICAgICAgY29tcGV0ZW5jeUlkOiB2YWx1ZS5jb21wZXRlbmN5SUQsXG4gICAgICAgICAgICAgICAgICBjb3Vyc2VJZDogdmFsdWUuY29udGVudElkLFxuICAgICAgICAgICAgICAgICAgdHlwZTogJ1NUQVJUJ1xuICAgICAgIC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